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.10acc9285453a51d.js

2 lines
3.7 MiB

(self.webpackChunkRTLApp=self.webpackChunkRTLApp||[]).push([["main"],{429:(Ge,X,f)=>{"use strict";f.d(X,{$A:()=>Pe,$W:()=>le,BL:()=>U,CN:()=>p,CX:()=>L,EG:()=>I,EK:()=>T,El:()=>_e,HI:()=>o,HJ:()=>E,I8:()=>z,JK:()=>Be,Lu:()=>V,Ly:()=>de,Ni:()=>_,Nr:()=>et,OG:()=>N,QJ:()=>Ve,RX:()=>k,Rd:()=>je,SN:()=>M,Sf:()=>Q,TM:()=>h,UH:()=>Me,UR:()=>R,VD:()=>G,WM:()=>be,WO:()=>y,Wi:()=>Ee,X3:()=>ae,YP:()=>ye,YX:()=>C,Z8:()=>re,ZH:()=>oe,Zu:()=>ze,_9:()=>rt,_E:()=>te,aL:()=>Te,as:()=>v,cQ:()=>i,d7:()=>$t,dh:()=>Ue,e9:()=>gt,eF:()=>P,eM:()=>ie,en:()=>Re,g3:()=>Z,g6:()=>He,i9:()=>bt,kL:()=>A,n7:()=>Le,oV:()=>m,oo:()=>l,pW:()=>a,pd:()=>d,u0:()=>$e,uT:()=>nt,v_:()=>Ye,wD:()=>D,xH:()=>S,xS:()=>q,yl:()=>$,z:()=>ve});var e=f(9263),t=f(7731);const _=(0,e.PH)(t.AB.UPDATE_API_CALL_STATUS_CLN,(0,e.Ky)()),S=(0,e.PH)(t.AB.RESET_CLN_STORE,(0,e.Ky)()),l=(0,e.PH)(t.AB.SET_CHILD_NODE_SETTINGS_CLN,(0,e.Ky)()),D=(0,e.PH)(t.AB.FETCH_PAGE_SETTINGS_CLN),d=(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)()),p=(0,e.PH)(t.AB.FETCH_INFO_CLN,(0,e.Ky)()),L=(0,e.PH)(t.AB.SET_INFO_CLN,(0,e.Ky)()),M=(0,e.PH)(t.AB.FETCH_FEES_CLN),k=(0,e.PH)(t.AB.SET_FEES_CLN,(0,e.Ky)()),E=(0,e.PH)(t.AB.FETCH_FEE_RATES_CLN,(0,e.Ky)()),z=(0,e.PH)(t.AB.SET_FEE_RATES_CLN,(0,e.Ky)()),I=(0,e.PH)(t.AB.FETCH_BALANCE_CLN),V=(0,e.PH)(t.AB.SET_BALANCE_CLN,(0,e.Ky)()),Z=(0,e.PH)(t.AB.FETCH_LOCAL_REMOTE_BALANCE_CLN),q=(0,e.PH)(t.AB.SET_LOCAL_REMOTE_BALANCE_CLN,(0,e.Ky)()),te=(0,e.PH)(t.AB.GET_NEW_ADDRESS_CLN,(0,e.Ky)()),le=((0,e.PH)(t.AB.SET_NEW_ADDRESS_CLN,(0,e.Ky)()),(0,e.PH)(t.AB.FETCH_PEERS_CLN)),re=(0,e.PH)(t.AB.SET_PEERS_CLN,(0,e.Ky)()),_e=(0,e.PH)(t.AB.SAVE_NEW_PEER_CLN,(0,e.Ky)()),ae=((0,e.PH)(t.AB.NEWLY_ADDED_PEER_CLN,(0,e.Ky)()),(0,e.PH)(t.AB.ADD_PEER_CLN,(0,e.Ky)())),ve=(0,e.PH)(t.AB.DETACH_PEER_CLN,(0,e.Ky)()),T=(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)()),h=(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)()),A=(0,e.PH)(t.AB.SET_QUERY_ROUTES_CLN,(0,e.Ky)()),R=(0,e.PH)(t.AB.FETCH_CHANNELS_CLN),v=(0,e.PH)(t.AB.SET_CHANNELS_CLN,(0,e.Ky)()),a=(0,e.PH)(t.AB.UPDATE_CHANNEL_CLN,(0,e.Ky)()),C=(0,e.PH)(t.AB.SAVE_NEW_CHANNEL_CLN,(0,e.Ky)()),U=(0,e.PH)(t.AB.CLOSE_CHANNEL_CLN,(0,e.Ky)()),N=(0,e.PH)(t.AB.REMOVE_CHANNEL_CLN,(0,e.Ky)()),Q=(0,e.PH)(t.AB.PEER_LOOKUP_CLN,(0,e.Ky)()),Pe=(0,e.PH)(t.AB.CHANNEL_LOOKUP_CLN,(0,e.Ky)()),Le=(0,e.PH)(t.AB.INVOICE_LOOKUP_CLN,(0,e.Ky)()),Ye=(0,e.PH)(t.AB.SET_LOOKUP_CLN,(0,e.Ky)()),$e=(0,e.PH)(t.AB.GET_FORWARDING_HISTORY_CLN,(0,e.Ky)()),Ve=(0,e.PH)(t.AB.SET_FORWARDING_HISTORY_CLN,(0,e.Ky)()),be=(0,e.PH)(t.AB.FETCH_INVOICES_CLN,(0,e.Ky)()),et=(0,e.PH)(t.AB.SET_INVOICES_CLN,(0,e.Ky)()),je=(0,e.PH)(t.AB.SAVE_NEW_INVOICE_CLN,(0,e.Ky)()),ye=(0,e.PH)(t.AB.ADD_INVOICE_CLN,(0,e.Ky)()),Te=(0,e.PH)(t.AB.UPDATE_INVOICE_CLN,(0,e.Ky)()),He=(0,e.PH)(t.AB.DELETE_EXPIRED_INVOICE_CLN,(0,e.Ky)()),Ee=(0,e.PH)(t.AB.SET_CHANNEL_TRANSACTION_CLN,(0,e.Ky)()),de=((0,e.PH)(t.AB.SET_CHANNEL_TRANSACTION_RES_CLN,(0,e.Ky)()),(0,e.PH)(t.AB.FETCH_UTXOS_CLN)),Me=(0,e.PH)(t.AB.SET_UTXOS_CLN,(0,e.Ky)()),ie=(0,e.PH)(t.AB.FETCH_OFFER_INVOICE_CLN,(0,e.Ky)()),G=(0,e.PH)(t.AB.SET_OFFER_INVOICE_CLN,(0,e.Ky)()),$=(0,e.PH)(t.AB.FETCH_OFFERS_CLN),ze=(0,e.PH)(t.AB.SET_OFFERS_CLN,(0,e.Ky)()),Ue=(0,e.PH)(t.AB.SAVE_NEW_OFFER_CLN,(0,e.Ky)()),oe=(0,e.PH)(t.AB.ADD_OFFER_CLN,(0,e.Ky)()),bt=(0,e.PH)(t.AB.DISABLE_OFFER_CLN,(0,e.Ky)()),Be=(0,e.PH)(t.AB.UPDATE_OFFER_CLN,(0,e.Ky)()),nt=(0,e.PH)(t.AB.FETCH_OFFER_BOOKMARKS_CLN),$t=(0,e.PH)(t.AB.SET_OFFER_BOOKMARKS_CLN,(0,e.Ky)()),gt=(0,e.PH)(t.AB.ADD_UPDATE_OFFER_BOOKMARK_CLN,(0,e.Ky)()),rt=(0,e.PH)(t.AB.DELETE_OFFER_BOOKMARK_CLN,(0,e.Ky)()),Re=(0,e.PH)(t.AB.REMOVE_OFFER_BOOKMARK_CLN,(0,e.Ky)())},4947:(Ge,X,f)=>{"use strict";f.d(X,{J:()=>ae});var e=f(3599),t=f(253),_=f(745),S=f(9525),l=f(8951),D=f(635),d=f(3158),P=f(2340),p=f(1786),L=f(5566),M=f(7731),k=f(7861),E=f(429),z=f(9828),I=f(1462),V=f(2560),Z=f(8987),q=f(9263),te=f(5986),ne=f(62),le=f(5043),re=f(3547),_e=f(3512),he=f(4666);class ae{constructor(T,i,o,m,h,y,A,R,v){this.actions=T,this.httpClient=i,this.store=o,this.sessionService=m,this.commonService=h,this.logger=y,this.router=A,this.wsService=R,this.location=v,this.CHILD_API_URL=P.T5+"/cln",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)(M.AB.FETCH_INFO_CLN),(0,S.z)(a=>(this.flgInitialized=!1,this.store.dispatch((0,k.lC)({payload:this.CHILD_API_URL})),this.store.dispatch((0,E.Ni)({payload:{action:"FetchInfo",status:M.Bn.INITIATED}})),this.store.dispatch((0,k.ac)({payload:M.m6.GET_NODE_INFO})),this.httpClient.get(this.CHILD_API_URL+P.NZ.GETINFO_API).pipe((0,l.R)(this.actions.pipe((0,e.l4)(M.pg.SET_SELECTED_NODE))),(0,D.U)(C=>(this.logger.info(C),C.chains&&C.chains.length&&C.chains[0]&&"object"==typeof C.chains[0]&&C.chains[0].hasOwnProperty("chain")&&C?.chains[0].chain&&C?.chains[0].chain.toLowerCase().indexOf("bitcoin")<0&&C?.chains[0].chain.toLowerCase().indexOf("liquid")<0?(this.store.dispatch((0,E.Ni)({payload:{action:"FetchInfo",status:M.Bn.COMPLETED}})),this.store.dispatch((0,k.uO)({payload:M.m6.GET_NODE_INFO})),this.store.dispatch((0,k.ts)()),setTimeout(()=>{this.store.dispatch((0,k.qR)({payload:{data:{type:M.n_.ERROR,alertTitle:"Shitcoin Found",titleMessage:"Sorry Not Sorry, RTL is Bitcoin Only!"}}}))},500),{type:M.pg.LOGOUT}):(this.initializeRemainingData(C,a.payload.loadPage),this.store.dispatch((0,E.Ni)({payload:{action:"FetchInfo",status:M.Bn.COMPLETED}})),this.store.dispatch((0,k.uO)({payload:M.m6.GET_NODE_INFO})),{type:M.AB.SET_INFO_CLN,payload:C||{}}))),(0,d.K)(C=>{const U=this.commonService.extractErrorCode(C),N="ETIMEDOUT"===U?"Unable to Connect to Core Lightning Server.":this.commonService.extractErrorMessage(C);return this.router.navigate(["/error"],{state:{errorCode:U,errorMessage:N}}),this.handleErrorWithoutAlert("FetchInfo",M.m6.GET_NODE_INFO,"Fetching Node Info Failed.",{status:U,error:N}),(0,_.of)({type:M.pg.VOID})})))))),this.fetchFeesCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.AB.FETCH_FEES_CLN),(0,S.z)(()=>(this.store.dispatch((0,E.Ni)({payload:{action:"FetchFees",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.FEES_API))),(0,D.U)(a=>(this.logger.info(a),this.store.dispatch((0,E.Ni)({payload:{action:"FetchFees",status:M.Bn.COMPLETED}})),{type:M.AB.SET_FEES_CLN,payload:a||{}})),(0,d.K)(a=>(this.handleErrorWithoutAlert("FetchFees",M.m6.NO_SPINNER,"Fetching Fees Failed.",a),(0,_.of)({type:M.pg.VOID}))))),this.fetchFeeRatesCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.AB.FETCH_FEE_RATES_CLN),(0,S.z)(a=>(this.store.dispatch((0,E.Ni)({payload:{action:"FetchFeeRates"+a.payload,status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.NETWORK_API+"/feeRates/"+a.payload).pipe((0,D.U)(C=>(this.logger.info(C),this.store.dispatch((0,E.Ni)({payload:{action:"FetchFeeRates"+a.payload,status:M.Bn.COMPLETED}})),{type:M.AB.SET_FEE_RATES_CLN,payload:C||{}})),(0,d.K)(C=>(this.handleErrorWithoutAlert("FetchFeeRates"+a.payload,M.m6.NO_SPINNER,"Fetching Fee Rates Failed.",C),(0,_.of)({type:M.pg.VOID})))))))),this.fetchBalanceCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.AB.FETCH_BALANCE_CLN),(0,S.z)(()=>(this.store.dispatch((0,E.Ni)({payload:{action:"FetchBalance",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.BALANCE_API))),(0,D.U)(a=>(this.logger.info(a),this.store.dispatch((0,E.Ni)({payload:{action:"FetchBalance",status:M.Bn.COMPLETED}})),{type:M.AB.SET_BALANCE_CLN,payload:a||{}})),(0,d.K)(a=>(this.handleErrorWithoutAlert("FetchBalance",M.m6.NO_SPINNER,"Fetching Balances Failed.",a),(0,_.of)({type:M.pg.VOID}))))),this.fetchLocalRemoteBalanceCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.AB.FETCH_LOCAL_REMOTE_BALANCE_CLN),(0,S.z)(()=>(this.store.dispatch((0,E.Ni)({payload:{action:"FetchLocalRemoteBalance",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.CHANNELS_API+"/localRemoteBalance"))),(0,D.U)(a=>(this.logger.info(a),this.store.dispatch((0,E.Ni)({payload:{action:"FetchLocalRemoteBalance",status:M.Bn.COMPLETED}})),{type:M.AB.SET_LOCAL_REMOTE_BALANCE_CLN,payload:a||{}})),(0,d.K)(a=>(this.handleErrorWithoutAlert("FetchLocalRemoteBalance",M.m6.NO_SPINNER,"Fetching Balances Failed.",a),(0,_.of)({type:M.pg.VOID}))))),this.getNewAddressCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.AB.GET_NEW_ADDRESS_CLN),(0,S.z)(a=>(this.store.dispatch((0,k.ac)({payload:M.m6.GENERATE_NEW_ADDRESS})),this.httpClient.get(this.CHILD_API_URL+P.NZ.ON_CHAIN_API+"?type="+a.payload.addressCode).pipe((0,D.U)(C=>(this.logger.info(C),this.store.dispatch((0,k.uO)({payload:M.m6.GENERATE_NEW_ADDRESS})),{type:M.AB.SET_NEW_ADDRESS_CLN,payload:C&&C.address?C.address:{}})),(0,d.K)(C=>(this.handleErrorWithAlert("GenerateNewAddress",M.m6.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+P.NZ.ON_CHAIN_API+"?type="+a.payload.addressId,C),(0,_.of)({type:M.pg.VOID})))))))),this.setNewAddressCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.AB.SET_NEW_ADDRESS_CLN),(0,D.U)(a=>(this.logger.info(a.payload),a.payload))),{dispatch:!1}),this.peersFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.AB.FETCH_PEERS_CLN),(0,S.z)(()=>(this.store.dispatch((0,E.Ni)({payload:{action:"FetchPeers",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.PEERS_API).pipe((0,D.U)(a=>(this.logger.info(a),this.store.dispatch((0,E.Ni)({payload:{action:"FetchPeers",status:M.Bn.COMPLETED}})),{type:M.AB.SET_PEERS_CLN,payload:a||[]})),(0,d.K)(a=>(this.handleErrorWithoutAlert("FetchPeers",M.m6.NO_SPINNER,"Fetching Peers Failed.",a),(0,_.of)({type:M.pg.VOID})))))))),this.saveNewPeerCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.AB.SAVE_NEW_PEER_CLN),(0,S.z)(a=>(this.store.dispatch((0,k.ac)({payload:M.m6.CONNECT_PEER})),this.store.dispatch((0,E.Ni)({payload:{action:"SaveNewPeer",status:M.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+P.NZ.PEERS_API,{id:a.payload.id}).pipe((0,D.U)(C=>(this.logger.info(C),this.store.dispatch((0,E.Ni)({payload:{action:"SaveNewPeer",status:M.Bn.COMPLETED}})),this.store.dispatch((0,k.uO)({payload:M.m6.CONNECT_PEER})),this.store.dispatch((0,E.Z8)({payload:C||[]})),{type:M.AB.NEWLY_ADDED_PEER_CLN,payload:{peer:C.find(U=>0===a.payload.id.indexOf(U.id?U.id:""))}})),(0,d.K)(C=>(this.handleErrorWithoutAlert("SaveNewPeer",M.m6.CONNECT_PEER,"Peer Connection Failed.",C),(0,_.of)({type:M.pg.VOID})))))))),this.detachPeerCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.AB.DETACH_PEER_CLN),(0,S.z)(a=>(this.store.dispatch((0,k.ac)({payload:M.m6.DISCONNECT_PEER})),this.httpClient.delete(this.CHILD_API_URL+P.NZ.PEERS_API+"/"+a.payload.id+"?force="+a.payload.force).pipe((0,D.U)(C=>(this.logger.info(C),this.store.dispatch((0,k.uO)({payload:M.m6.DISCONNECT_PEER})),this.store.dispatch((0,k.jW)({payload:"Peer Disconnected Successfully!"})),{type:M.AB.REMOVE_PEER_CLN,payload:{id:a.payload.id}})),(0,d.K)(C=>(this.handleErrorWithAlert("PeerDisconnect",M.m6.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+P.NZ.PEERS_API+"/"+a.payload.id,C),(0,_.of)({type:M.pg.VOID})))))))),this.channelsFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.AB.FETCH_CHANNELS_CLN),(0,S.z)(()=>(this.store.dispatch((0,E.Ni)({payload:{action:"FetchChannels",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.CHANNELS_API+"/listChannels"))),(0,D.U)(a=>{this.logger.info(a),this.store.dispatch((0,E.Ni)({payload:{action:"FetchChannels",status:M.Bn.COMPLETED}}));const C={activeChannels:[],pendingChannels:[],inactiveChannels:[]};return a.forEach(U=>{"CHANNELD_NORMAL"===U.state?U.connected?C.activeChannels.push(U):C.inactiveChannels.push(U):C.pendingChannels.push(U)}),{type:M.AB.SET_CHANNELS_CLN,payload:C}}),(0,d.K)(a=>(this.handleErrorWithoutAlert("FetchChannels",M.m6.NO_SPINNER,"Fetching Channels Failed.",a),(0,_.of)({type:M.pg.VOID}))))),this.openNewChannelCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.AB.SAVE_NEW_CHANNEL_CLN),(0,S.z)(a=>{this.store.dispatch((0,k.ac)({payload:M.m6.OPEN_CHANNEL})),this.store.dispatch((0,E.Ni)({payload:{action:"SaveNewChannel",status:M.Bn.INITIATED}}));const C={id:a.payload.peerId,satoshis:a.payload.satoshis,feeRate:a.payload.feeRate,announce:a.payload.announce};return a.payload.minconf&&(C.minconf=a.payload.minconf),a.payload.utxos&&(C.utxos=a.payload.utxos),a.payload.requestAmount&&(C.request_amt=a.payload.requestAmount),a.payload.compactLease&&(C.compact_lease=a.payload.compactLease),this.httpClient.post(this.CHILD_API_URL+P.NZ.CHANNELS_API,C).pipe((0,D.U)(U=>(this.logger.info(U),this.store.dispatch((0,E.Ni)({payload:{action:"SaveNewChannel",status:M.Bn.COMPLETED}})),this.store.dispatch((0,k.uO)({payload:M.m6.OPEN_CHANNEL})),this.store.dispatch((0,k.jW)({payload:"Channel Added Successfully!"})),this.store.dispatch((0,E.EG)()),this.store.dispatch((0,E.Ly)()),{type:M.AB.FETCH_CHANNELS_CLN})),(0,d.K)(U=>(this.handleErrorWithoutAlert("SaveNewChannel",M.m6.OPEN_CHANNEL,"Opening Channel Failed.",U),(0,_.of)({type:M.pg.VOID}))))}))),this.updateChannelCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.AB.UPDATE_CHANNEL_CLN),(0,S.z)(a=>(this.store.dispatch((0,k.ac)({payload:M.m6.UPDATE_CHAN_POLICY})),this.httpClient.post(this.CHILD_API_URL+P.NZ.CHANNELS_API+"/setChannelFee",{id:a.payload.channelId,base:a.payload.baseFeeMsat,ppm:a.payload.feeRate}).pipe((0,D.U)(C=>(this.logger.info(C),this.store.dispatch((0,k.uO)({payload:M.m6.UPDATE_CHAN_POLICY})),"all"===a.payload.channelId?this.store.dispatch((0,k.jW)({payload:{message:"All Channels Updated Successfully. Fee policy updates may take some time to reflect on the channel.",duration:5e3}})):this.store.dispatch((0,k.jW)({payload:{message:"Channel Updated Successfully. Fee policy updates may take some time to reflect on the channel.",duration:5e3}})),{type:M.AB.FETCH_CHANNELS_CLN})),(0,d.K)(C=>(this.handleErrorWithAlert("UpdateChannel",M.m6.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+P.NZ.CHANNELS_API,C),(0,_.of)({type:M.pg.VOID})))))))),this.closeChannelCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.AB.CLOSE_CHANNEL_CLN),(0,S.z)(a=>{this.store.dispatch((0,k.ac)({payload:a.payload.force?M.m6.FORCE_CLOSE_CHANNEL:M.m6.CLOSE_CHANNEL}));const C=a.payload.force?"?force="+a.payload.force:"";return this.httpClient.delete(this.CHILD_API_URL+P.NZ.CHANNELS_API+"/"+a.payload.channelId+C).pipe((0,D.U)(U=>(this.logger.info(U),this.store.dispatch((0,k.uO)({payload:a.payload.force?M.m6.FORCE_CLOSE_CHANNEL:M.m6.CLOSE_CHANNEL})),this.store.dispatch((0,E.UR)()),this.store.dispatch((0,E.g3)()),this.store.dispatch((0,k.jW)({payload:"Channel Closed Successfully!"})),{type:M.AB.REMOVE_CHANNEL_CLN,payload:a.payload})),(0,d.K)(U=>(this.handleErrorWithAlert("CloseChannel",a.payload.force?M.m6.FORCE_CLOSE_CHANNEL:M.m6.CLOSE_CHANNEL,"Unable to Close Channel. Try again later.",this.CHILD_API_URL+P.NZ.CHANNELS_API,U),(0,_.of)({type:M.pg.VOID}))))}))),this.paymentsFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.AB.FETCH_PAYMENTS_CLN),(0,S.z)(()=>(this.store.dispatch((0,E.Ni)({payload:{action:"FetchPayments",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.PAYMENTS_API))),(0,D.U)(a=>(this.logger.info(a),this.store.dispatch((0,E.Ni)({payload:{action:"FetchPayments",status:M.Bn.COMPLETED}})),{type:M.AB.SET_PAYMENTS_CLN,payload:a||[]})),(0,d.K)(a=>(this.handleErrorWithoutAlert("FetchPayments",M.m6.NO_SPINNER,"Fetching Payments Failed.",a),(0,_.of)({type:M.pg.VOID}))))),this.fetchOfferInvoiceCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.AB.FETCH_OFFER_INVOICE_CLN),(0,S.z)(a=>(this.store.dispatch((0,k.ac)({payload:M.m6.FETCH_INVOICE})),this.store.dispatch((0,E.Ni)({payload:{action:"FetchOfferInvoice",status:M.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+P.NZ.OFFERS_API+"/fetchOfferInvoice",a.payload).pipe((0,D.U)(C=>{this.logger.info(C),setTimeout(()=>{this.store.dispatch((0,E.Ni)({payload:{action:"FetchOfferInvoice",status:M.Bn.COMPLETED}})),this.store.dispatch((0,k.uO)({payload:M.m6.FETCH_INVOICE})),this.store.dispatch((0,E.VD)({payload:C||{}}))},500)}),(0,d.K)(C=>(this.handleErrorWithoutAlert("FetchOfferInvoice",M.m6.FETCH_INVOICE,"Offer Invoice Fetch Failed",C),(0,_.of)({type:M.pg.VOID}))))))),{dispatch:!1}),this.setOfferInvoiceCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.AB.SET_OFFER_INVOICE_CLN),(0,D.U)(a=>(this.logger.info(a.payload),a.payload))),{dispatch:!1}),this.sendPaymentCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.AB.SEND_PAYMENT_CLN),(0,S.z)(a=>(this.store.dispatch((0,k.ac)({payload:a.payload.uiMessage})),this.store.dispatch((0,E.Ni)({payload:{action:"SendPayment",status:M.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+P.NZ.PAYMENTS_API,a.payload).pipe((0,D.U)(C=>{this.logger.info(C),this.store.dispatch((0,E.Ni)({payload:{action:"SendPayment",status:M.Bn.COMPLETED}}));let U="Payment Sent Successfully!";C.saveToDBError&&(U="Payment Sent Successfully but Offer Saving to Database Failed."),C.saveToDBResponse&&"NA"!==C.saveToDBResponse&&(this.store.dispatch((0,E.e9)({payload:C.saveToDBResponse})),U="Payment Sent Successfully and Offer Saved to Database."),setTimeout(()=>{this.store.dispatch((0,E.UR)()),this.store.dispatch((0,E.EG)()),this.store.dispatch((0,E.cQ)()),this.store.dispatch((0,k.uO)({payload:a.payload.uiMessage})),this.store.dispatch((0,k.jW)({payload:U})),this.store.dispatch((0,E.TM)({payload:C.paymentResponse}))},1e3)}),(0,d.K)(C=>(this.logger.error("Error: "+JSON.stringify(C)),a.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",a.payload.uiMessage,"Send Payment Failed.",C):this.handleErrorWithAlert("SendPayment",a.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+P.NZ.PAYMENTS_API,C),(0,_.of)({type:M.pg.VOID}))))))),{dispatch:!1}),this.queryRoutesFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.AB.GET_QUERY_ROUTES_CLN),(0,S.z)(a=>(this.store.dispatch((0,E.Ni)({payload:{action:"GetQueryRoutes",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.NETWORK_API+"/getRoute/"+a.payload.destPubkey+"/"+a.payload.amount).pipe((0,D.U)(C=>(this.logger.info(C),this.store.dispatch((0,E.Ni)({payload:{action:"GetQueryRoutes",status:M.Bn.COMPLETED}})),{type:M.AB.SET_QUERY_ROUTES_CLN,payload:C})),(0,d.K)(C=>(this.store.dispatch((0,E.kL)({payload:{routes:[]}})),this.handleErrorWithAlert("GetQueryRoutes",M.m6.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+P.NZ.NETWORK_API+"/getRoute/"+a.payload.destPubkey+"/"+a.payload.amount,C),(0,_.of)({type:M.pg.VOID})))))))),this.setQueryRoutesCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.AB.SET_QUERY_ROUTES_CLN),(0,D.U)(a=>a.payload)),{dispatch:!1}),this.peerLookupCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.AB.PEER_LOOKUP_CLN),(0,S.z)(a=>(this.store.dispatch((0,k.ac)({payload:M.m6.SEARCHING_NODE})),this.store.dispatch((0,E.Ni)({payload:{action:"Lookup",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.NETWORK_API+"/listNode/"+a.payload).pipe((0,D.U)(C=>(this.logger.info(C),this.store.dispatch((0,E.Ni)({payload:{action:"Lookup",status:M.Bn.COMPLETED}})),this.store.dispatch((0,k.uO)({payload:M.m6.SEARCHING_NODE})),{type:M.AB.SET_LOOKUP_CLN,payload:C})),(0,d.K)(C=>(this.handleErrorWithAlert("Lookup",M.m6.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+P.NZ.NETWORK_API+"/listNode/"+a.payload,C),(0,_.of)({type:M.pg.VOID})))))))),this.channelLookupCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.AB.CHANNEL_LOOKUP_CLN),(0,S.z)(a=>(this.store.dispatch((0,k.ac)({payload:a.payload.uiMessage})),this.store.dispatch((0,E.Ni)({payload:{action:"Lookup",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.NETWORK_API+"/listChannel/"+a.payload.shortChannelID).pipe((0,D.U)(C=>(this.logger.info(C),this.store.dispatch((0,E.Ni)({payload:{action:"Lookup",status:M.Bn.COMPLETED}})),this.store.dispatch((0,k.uO)({payload:a.payload.uiMessage})),{type:M.AB.SET_LOOKUP_CLN,payload:C})),(0,d.K)(C=>(a.payload.showError?this.handleErrorWithAlert("Lookup",a.payload.uiMessage,"Channel Lookup Failed",this.CHILD_API_URL+P.NZ.NETWORK_API+"/listChannel/"+a.payload.shortChannelID,C):this.store.dispatch((0,k.uO)({payload:a.payload.uiMessage})),this.store.dispatch((0,E.v_)({payload:[]})),(0,_.of)({type:M.pg.VOID})))))))),this.invoiceLookupCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.AB.INVOICE_LOOKUP_CLN),(0,S.z)(a=>(this.store.dispatch((0,k.ac)({payload:M.m6.SEARCHING_INVOICE})),this.store.dispatch((0,E.Ni)({payload:{action:"Lookup",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.INVOICES_API+"?label="+a.payload).pipe((0,D.U)(C=>(this.logger.info(C),this.store.dispatch((0,E.Ni)({payload:{action:"Lookup",status:M.Bn.COMPLETED}})),this.store.dispatch((0,k.uO)({payload:M.m6.SEARCHING_INVOICE})),C.invoices&&C.invoices.length&&C.invoices.length>0&&this.store.dispatch((0,E.aL)({payload:C.invoices[0]})),{type:M.AB.SET_LOOKUP_CLN,payload:C.invoices&&C.invoices.length&&C.invoices.length>0?C.invoices[0]:C})),(0,d.K)(C=>(this.handleErrorWithoutAlert("Lookup",M.m6.SEARCHING_INVOICE,"Invoice Lookup Failed",C),this.store.dispatch((0,k.jW)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,_.of)({type:M.pg.VOID})))))))),this.setLookupCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.AB.SET_LOOKUP_CLN),(0,D.U)(a=>(this.logger.info(a.payload),a.payload))),{dispatch:!1}),this.fetchForwardingHistoryCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.AB.GET_FORWARDING_HISTORY_CLN),(0,S.z)(a=>{const C=a.payload.status.charAt(0).toUpperCase();return this.store.dispatch((0,E.Ni)({payload:{action:"FetchForwardingHistory"+C,status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.CHANNELS_API+"/listForwards?status="+a.payload.status).pipe((0,D.U)(U=>(this.logger.info(U),this.store.dispatch((0,E.Ni)({payload:{action:"FetchForwardingHistory"+C,status:M.Bn.COMPLETED}})),a.payload.status===M.OO.FAILED?this.store.dispatch((0,E.QJ)({payload:{status:M.OO.FAILED,totalForwards:U.length,listForwards:U}})):a.payload.status===M.OO.LOCAL_FAILED?this.store.dispatch((0,E.QJ)({payload:{status:M.OO.LOCAL_FAILED,totalForwards:U.length,listForwards:U}})):a.payload.status===M.OO.SETTLED&&this.store.dispatch((0,E.QJ)({payload:{status:M.OO.SETTLED,totalForwards:U.length,listForwards:U}})),{type:M.pg.VOID})),(0,d.K)(U=>(this.handleErrorWithAlert("FetchForwardingHistory"+C,M.m6.NO_SPINNER,"Get "+a.payload.status+" Forwarding History Failed",this.CHILD_API_URL+P.NZ.CHANNELS_API+"/listForwards?status="+a.payload.status,U),(0,_.of)({type:M.pg.VOID}))))}))),this.deleteExpiredInvoiceCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.AB.DELETE_EXPIRED_INVOICE_CLN),(0,S.z)(a=>{this.store.dispatch((0,k.ac)({payload:M.m6.DELETE_INVOICE}));const C=a.payload?"?maxexpiry="+a.payload:"";return this.httpClient.delete(this.CHILD_API_URL+P.NZ.INVOICES_API+C).pipe((0,D.U)(U=>(this.logger.info(U),this.store.dispatch((0,k.uO)({payload:M.m6.DELETE_INVOICE})),this.store.dispatch((0,k.jW)({payload:"Invoices Deleted Successfully!"})),{type:M.AB.FETCH_INVOICES_CLN,payload:{num_max_invoices:1e6,reversed:!0}})),(0,d.K)(U=>(this.handleErrorWithAlert("DeleteInvoices",M.m6.DELETE_INVOICE,"Delete Invoice Failed",this.CHILD_API_URL+P.NZ.INVOICES_API,U),(0,_.of)({type:M.pg.VOID}))))}))),this.saveNewInvoiceCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.AB.SAVE_NEW_INVOICE_CLN),(0,S.z)(a=>(this.store.dispatch((0,k.ac)({payload:M.m6.ADD_INVOICE})),this.store.dispatch((0,E.Ni)({payload:{action:"SaveNewInvoice",status:M.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+P.NZ.INVOICES_API,{label:a.payload.label,amount:a.payload.amount,description:a.payload.description,expiry:a.payload.expiry,private:a.payload.private}).pipe((0,D.U)(C=>(this.logger.info(C),this.store.dispatch((0,E.Ni)({payload:{action:"SaveNewInvoice",status:M.Bn.COMPLETED}})),this.store.dispatch((0,k.uO)({payload:M.m6.ADD_INVOICE})),C.msatoshi=a.payload.amount,C.label=a.payload.label,C.expires_at=Math.round((new Date).getTime()/1e3+a.payload.expiry),C.description=a.payload.description,C.status="unpaid",setTimeout(()=>{this.store.dispatch((0,k.qR)({payload:{data:{invoice:C,newlyAdded:!0,component:L.y}}}))},200),{type:M.AB.ADD_INVOICE_CLN,payload:C})),(0,d.K)(C=>(this.handleErrorWithoutAlert("SaveNewInvoice",M.m6.ADD_INVOICE,"Add Invoice Failed.",C),(0,_.of)({type:M.pg.VOID})))))))),this.saveNewOfferCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.AB.SAVE_NEW_OFFER_CLN),(0,S.z)(a=>(this.store.dispatch((0,k.ac)({payload:M.m6.CREATE_OFFER})),this.store.dispatch((0,E.Ni)({payload:{action:"SaveNewOffer",status:M.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+P.NZ.OFFERS_API,{amount:a.payload.amount,description:a.payload.description,vendor:a.payload.vendor}).pipe((0,D.U)(C=>(this.logger.info(C),this.store.dispatch((0,E.Ni)({payload:{action:"SaveNewOffer",status:M.Bn.COMPLETED}})),this.store.dispatch((0,k.uO)({payload:M.m6.CREATE_OFFER})),setTimeout(()=>{this.store.dispatch((0,k.qR)({payload:{data:{offer:C,newlyAdded:!0,component:I.k}}}))},100),{type:M.AB.ADD_OFFER_CLN,payload:C})),(0,d.K)(C=>(this.handleErrorWithoutAlert("SaveNewOffer",M.m6.CREATE_OFFER,"Create Offer Failed.",C),(0,_.of)({type:M.pg.VOID})))))))),this.invoicesFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.AB.FETCH_INVOICES_CLN),(0,S.z)(a=>{this.store.dispatch((0,E.Ni)({payload:{action:"FetchInvoices",status:M.Bn.INITIATED}}));const C=a.payload.num_max_invoices?a.payload.num_max_invoices:1e6,U=a.payload.index_offset?a.payload.index_offset:0,N=!a.payload.reversed||a.payload.reversed;return this.httpClient.get(this.CHILD_API_URL+P.NZ.INVOICES_API+"?num_max_invoices="+C+"&index_offset="+U+"&reversed="+N).pipe((0,D.U)(Q=>(this.logger.info(Q),this.store.dispatch((0,E.Ni)({payload:{action:"FetchInvoices",status:M.Bn.COMPLETED}})),{type:M.AB.SET_INVOICES_CLN,payload:Q})),(0,d.K)(Q=>(this.handleErrorWithoutAlert("FetchInvoices",M.m6.NO_SPINNER,"Fetching Invoices Failed.",Q),(0,_.of)({type:M.pg.VOID}))))}))),this.offersFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.AB.FETCH_OFFERS_CLN),(0,S.z)(a=>(this.store.dispatch((0,E.Ni)({payload:{action:"FetchOffers",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.OFFERS_API).pipe((0,D.U)(C=>(this.logger.info(C),this.store.dispatch((0,E.Ni)({payload:{action:"FetchOffers",status:M.Bn.COMPLETED}})),{type:M.AB.SET_OFFERS_CLN,payload:C.offers?C.offers:[]})),(0,d.K)(C=>(this.handleErrorWithoutAlert("FetchOffers",M.m6.NO_SPINNER,"Fetching Offers Failed.",C),(0,_.of)({type:M.pg.VOID})))))))),this.offersDisableCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.AB.DISABLE_OFFER_CLN),(0,S.z)(a=>(this.store.dispatch((0,k.ac)({payload:M.m6.DISABLE_OFFER})),this.store.dispatch((0,E.Ni)({payload:{action:"DisableOffer",status:M.Bn.INITIATED}})),this.httpClient.delete(this.CHILD_API_URL+P.NZ.OFFERS_API+"/"+a.payload.offer_id).pipe((0,D.U)(C=>(this.logger.info(C),this.store.dispatch((0,E.Ni)({payload:{action:"DisableOffer",status:M.Bn.COMPLETED}})),this.store.dispatch((0,k.uO)({payload:M.m6.DISABLE_OFFER})),this.store.dispatch((0,k.jW)({payload:"Offer Disabled Successfully!"})),{type:M.AB.UPDATE_OFFER_CLN,payload:{offer:C}})),(0,d.K)(C=>(this.handleErrorWithoutAlert("DisableOffer",M.m6.DISABLE_OFFER,"Disabling Offer Failed.",C),(0,_.of)({type:M.pg.VOID})))))))),this.offerBookmarksFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.AB.FETCH_OFFER_BOOKMARKS_CLN),(0,S.z)(a=>(this.store.dispatch((0,E.Ni)({payload:{action:"FetchOfferBookmarks",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.OFFERS_API+"/offerbookmarks").pipe((0,D.U)(C=>(this.logger.info(C),this.store.dispatch((0,E.Ni)({payload:{action:"FetchOfferBookmarks",status:M.Bn.COMPLETED}})),{type:M.AB.SET_OFFER_BOOKMARKS_CLN,payload:C||[]})),(0,d.K)(C=>(this.handleErrorWithoutAlert("FetchOfferBookmarks",M.m6.NO_SPINNER,"Fetching Offer Bookmarks Failed.",C),(0,_.of)({type:M.pg.VOID})))))))),this.peidOffersDeleteCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.AB.DELETE_OFFER_BOOKMARK_CLN),(0,S.z)(a=>(this.store.dispatch((0,k.ac)({payload:M.m6.DELETE_OFFER_BOOKMARK})),this.store.dispatch((0,E.Ni)({payload:{action:"DeleteOfferBookmark",status:M.Bn.INITIATED}})),this.httpClient.delete(this.CHILD_API_URL+P.NZ.OFFERS_API+"/offerbookmark/"+a.payload.bolt12).pipe((0,D.U)(C=>(this.logger.info(C),this.store.dispatch((0,E.Ni)({payload:{action:"DeleteOfferBookmark",status:M.Bn.COMPLETED}})),this.store.dispatch((0,k.uO)({payload:M.m6.DELETE_OFFER_BOOKMARK})),this.store.dispatch((0,k.jW)({payload:"Offer Bookmark Deleted Successfully!"})),{type:M.AB.REMOVE_OFFER_BOOKMARK_CLN,payload:{bolt12:a.payload.bolt12}})),(0,d.K)(C=>(this.handleErrorWithAlert("DeleteOfferBookmark",M.m6.DELETE_OFFER_BOOKMARK,"Deleting Offer Bookmark Failed.",this.CHILD_API_URL+P.NZ.OFFERS_API+"/offerbookmark/"+a.payload.bolt12,C),(0,_.of)({type:M.pg.VOID})))))))),this.SetChannelTransactionCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.AB.SET_CHANNEL_TRANSACTION_CLN),(0,S.z)(a=>(this.store.dispatch((0,k.ac)({payload:M.m6.SEND_FUNDS})),this.store.dispatch((0,E.Ni)({payload:{action:"SetChannelTransaction",status:M.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+P.NZ.ON_CHAIN_API,a.payload).pipe((0,D.U)(C=>(this.logger.info(C),this.store.dispatch((0,E.Ni)({payload:{action:"SetChannelTransaction",status:M.Bn.COMPLETED}})),this.store.dispatch((0,k.uO)({payload:M.m6.SEND_FUNDS})),this.store.dispatch((0,E.EG)()),this.store.dispatch((0,E.Ly)()),{type:M.AB.SET_CHANNEL_TRANSACTION_RES_CLN,payload:C})),(0,d.K)(C=>(this.handleErrorWithoutAlert("SetChannelTransaction",M.m6.SEND_FUNDS,"Sending Fund Failed.",C),(0,_.of)({type:M.pg.VOID})))))))),this.utxosFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.AB.FETCH_UTXOS_CLN),(0,S.z)(()=>(this.store.dispatch((0,E.Ni)({payload:{action:"FetchUTXOs",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.ON_CHAIN_API+"/utxos"))),(0,D.U)(a=>(this.logger.info(a),this.store.dispatch((0,E.Ni)({payload:{action:"FetchUTXOs",status:M.Bn.COMPLETED}})),{type:M.AB.SET_UTXOS_CLN,payload:a.outputs||[]})),(0,d.K)(a=>(this.handleErrorWithoutAlert("FetchUTXOs",M.m6.NO_SPINNER,"Fetching UTXOs Failed.",a),(0,_.of)({type:M.pg.VOID}))))),this.pageSettingsFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.AB.FETCH_PAGE_SETTINGS_CLN),(0,S.z)(()=>(this.store.dispatch((0,E.Ni)({payload:{action:"FetchPageSettings",status:M.Bn.INITIATED}})),this.httpClient.get(P.NZ.PAGE_SETTINGS_API).pipe((0,D.U)(a=>(this.logger.info(a),this.store.dispatch((0,E.Ni)({payload:{action:"FetchPageSettings",status:M.Bn.COMPLETED}})),{type:M.AB.SET_PAGE_SETTINGS_CLN,payload:a||[]})),(0,d.K)(a=>(this.handleErrorWithoutAlert("FetchPageSettings",M.m6.NO_SPINNER,"Fetching Page Settings Failed.",a),(0,_.of)({type:M.pg.VOID})))))))),this.savePageSettingsCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.AB.SAVE_PAGE_SETTINGS_CLN),(0,S.z)(a=>(this.store.dispatch((0,k.ac)({payload:M.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,E.Ni)({payload:{action:"SavePageSettings",status:M.Bn.INITIATED}})),this.httpClient.post(P.NZ.PAGE_SETTINGS_API,a.payload).pipe((0,D.U)(C=>(this.logger.info(C),this.store.dispatch((0,E.Ni)({payload:{action:"SavePageSettings",status:M.Bn.COMPLETED}})),this.store.dispatch((0,k.uO)({payload:M.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,k.jW)({payload:"Page Layout Updated Successfully!"})),{type:M.AB.SET_PAGE_SETTINGS_CLN,payload:C||[]})),(0,d.K)(C=>(this.handleErrorWithAlert("SavePageSettings",M.m6.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",P.NZ.PAGE_SETTINGS_API,C),(0,_.of)({type:M.pg.VOID})))))))),this.store.select(z.yA).pipe((0,l.R)(this.unSubs[0])).subscribe(a=>{a.FetchInfo.status!==M.Bn.COMPLETED&&a.FetchInfo.status!==M.Bn.ERROR||a.FetchFees.status!==M.Bn.COMPLETED&&a.FetchFees.status!==M.Bn.ERROR||a.FetchChannels.status!==M.Bn.COMPLETED&&a.FetchChannels.status!==M.Bn.ERROR||a.FetchBalance.status!==M.Bn.COMPLETED&&a.FetchBalance.status!==M.Bn.ERROR||a.FetchLocalRemoteBalance.status!==M.Bn.COMPLETED&&a.FetchLocalRemoteBalance.status!==M.Bn.ERROR||this.flgInitialized||(this.store.dispatch((0,k.uO)({payload:M.m6.INITALIZE_NODE_DATA})),this.flgInitialized=!0)}),this.wsService.clWSMessages.pipe((0,l.R)(this.unSubs[1])).subscribe(a=>{if(this.logger.info("Received new message from the service: "+JSON.stringify(a)),a)switch(a.event){case M.nM.INVOICE:this.logger.info(a),a&&a.data&&a.data.label&&this.store.dispatch((0,E.aL)({payload:a.data}));break;case M.nM.SEND_PAYMENT:case M.nM.BLOCK_HEIGHT:this.logger.info(a);break;default:this.logger.info("Received Event from WS: "+JSON.stringify(a))}})}initializeRemainingData(T,i){this.sessionService.setItem("clUnlocked","true");const o={identity_pubkey:T.id,alias:T.alias,testnet:"testnet"===T.network.toLowerCase(),chains:T.chains,uris:T.uris,version:T.version,api_version:T.api_version,numberOfPendingChannels:T.num_pending_channels};this.store.dispatch((0,k.ac)({payload:M.m6.INITALIZE_NODE_DATA})),this.store.dispatch((0,k._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,E.wD)()),this.store.dispatch((0,E.WM)({payload:{num_max_invoices:1e6,index_offset:0,reversed:!0}})),this.store.dispatch((0,E.SN)()),this.store.dispatch((0,E.UR)()),this.store.dispatch((0,E.EG)()),this.store.dispatch((0,E.g3)()),this.store.dispatch((0,E.HJ)({payload:"perkw"})),this.store.dispatch((0,E.HJ)({payload:"perkb"})),this.store.dispatch((0,E.$W)()),this.store.dispatch((0,E.Ly)()),this.store.dispatch((0,E.cQ)())}handleErrorWithoutAlert(T,i,o,m){if(this.logger.error("ERROR IN: "+T+"\n"+JSON.stringify(m)),401===m.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,k.ts)()),this.store.dispatch((0,k.kS)()),this.store.dispatch((0,k.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,k.uO)({payload:i}));const h=this.commonService.extractErrorMessage(m,o);this.store.dispatch((0,E.Ni)({payload:{action:T,status:M.Bn.ERROR,statusCode:m.status.toString(),message:h}}))}}handleErrorWithAlert(T,i,o,m,h){if(this.logger.error(h),401===h.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,k.ts)()),this.store.dispatch((0,k.kS)()),this.store.dispatch((0,k.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,k.uO)({payload:i}));const y=this.commonService.extractErrorMessage(h);this.store.dispatch((0,k.qR)({payload:{data:{type:"ERROR",alertTitle:o,message:{code:h.status,message:y,URL:m},component:p.H}}})),this.store.dispatch((0,E.Ni)({payload:{action:T,status:M.Bn.ERROR,statusCode:h.status.toString(),message:y,URL:m}}))}}ngOnDestroy(){this.unSubs.forEach(T=>{T.next(null),T.complete()})}static#e=this.\u0275fac=function(i){return new(i||ae)(V.LFG(e.eX),V.LFG(Z.eN),V.LFG(q.yh),V.LFG(te.m),V.LFG(ne.v),V.LFG(le.mQ),V.LFG(re.F0),V.LFG(_e.d),V.LFG(he.Ye))};static#t=this.\u0275prov=V.Yz7({token:ae,factory:ae.\u0275fac})}},9828:(Ge,X,f)=>{"use strict";f.d(X,{AS:()=>S,Ao:()=>_e,Bo:()=>q,EQ:()=>ve,Hz:()=>he,JG:()=>L,OL:()=>le,PP:()=>P,Rn:()=>V,T4:()=>z,Wi:()=>p,Wj:()=>Z,Y_:()=>ae,ZW:()=>I,ey:()=>l,gc:()=>E,hx:()=>k,jK:()=>re,lK:()=>ne,lw:()=>_,xQ:()=>te,yA:()=>d,zm:()=>M});var e=f(9263);const t=(0,e.ZF)("cln"),_=(0,e.P1)(t,i=>i.nodeSettings),S=(0,e.P1)(t,i=>({pageSettings:i.pageSettings,apiCallStatus:i.apisCallStatus.FetchPageSettings})),l=(0,e.P1)(t,i=>i.information),d=((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})),p=(0,e.P1)(t,i=>({peers:i.peers,apiCallStatus:i.apisCallStatus.FetchPeers})),L=(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})),k=(0,e.P1)(t,i=>({feeRatesPerKW:i.feeRatesPerKW,apiCallStatus:i.apisCallStatus.FetchFeeRatesperkw})),E=(0,e.P1)(t,i=>({listInvoices:i.invoices,apiCallStatus:i.apisCallStatus.FetchInvoices})),z=(0,e.P1)(t,i=>({utxos:i.utxos,apiCallStatus:i.apisCallStatus.FetchUTXOs})),I=(0,e.P1)(t,i=>({activeChannels:i.activeChannels,pendingChannels:i.pendingChannels,inactiveChannels:i.inactiveChannels,apiCallStatus:i.apisCallStatus.FetchChannels})),V=(0,e.P1)(t,i=>({balance:i.balance,apiCallStatus:i.apisCallStatus.FetchBalance})),Z=(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})),te=(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})),le=(0,e.P1)(t,i=>({information:i.information,nodeSettings:i.nodeSettings,balance:i.balance})),re=(0,e.P1)(t,i=>({information:i.information,balance:i.balance,numPeers:i.peers.length})),_e=(0,e.P1)(t,i=>({information:i.information,balance:i.balance})),he=(0,e.P1)(t,i=>({information:i.information,nodeSettings:i.nodeSettings,apisCallStatus:[i.apisCallStatus.FetchInfo,i.apisCallStatus.FetchForwardingHistoryS]})),ae=(0,e.P1)(t,i=>({offers:i.offers,apiCallStatus:i.apisCallStatus.FetchOffers})),ve=(0,e.P1)(t,i=>({offersBookmarks:i.offersBookmarks,apiCallStatus:i.apisCallStatus.FetchOfferBookmarks}))},5566:(Ge,X,f)=>{"use strict";f.d(X,{y:()=>He});var e=f(4481),t=f(9306),_=f(253),S=f(8951),l=f(7731),D=f(9828),d=f(2560),P=f(5043),p=f(62),L=f(930),M=f(9263),k=f(4666),E=f(3505),z=f(6722),I=f(3704),V=f(4522),Z=f(2156),q=f(1528),te=f(1708),ne=f(6896),le=f(6021),re=f(6895),_e=f(3390);function he(Ee,we){if(1&Ee&&d._UZ(0,"qr-code",33),2&Ee){const de=d.oxw();d.Q6J("value",(null==de.invoice?null:de.invoice.bolt11)||(null==de.invoice?null:de.invoice.bolt12))("size",de.qrWidth)("errorCorrectionLevel","L")}}function ae(Ee,we){1&Ee&&(d.TgZ(0,"span",34),d._uU(1,"N/A"),d.qZA())}const ve=function(Ee){return{"mr-0":Ee}};function T(Ee,we){if(1&Ee&&d._UZ(0,"span",35),2&Ee){const de=d.oxw();d.Q6J("ngClass",d.VKq(1,ve,de.screenSize===de.screenSizeEnum.XS))}}function i(Ee,we){if(1&Ee&&d._UZ(0,"span",36),2&Ee){const de=d.oxw();d.Q6J("ngClass",d.VKq(1,ve,de.screenSize===de.screenSizeEnum.XS))}}function o(Ee,we){if(1&Ee&&d._UZ(0,"span",37),2&Ee){const de=d.oxw();d.Q6J("ngClass",d.VKq(1,ve,de.screenSize===de.screenSizeEnum.XS))}}function m(Ee,we){if(1&Ee&&d._UZ(0,"qr-code",33),2&Ee){const de=d.oxw();d.Q6J("value",(null==de.invoice?null:de.invoice.bolt11)||(null==de.invoice?null:de.invoice.bolt12))("size",de.qrWidth)("errorCorrectionLevel","L")}}function h(Ee,we){1&Ee&&(d.TgZ(0,"span",38),d._uU(1,"QR Code Not Applicable"),d.qZA())}function y(Ee,we){1&Ee&&d._UZ(0,"mat-divider",39),2&Ee&&d.Q6J("inset",!0)}function A(Ee,we){if(1&Ee&&(d.TgZ(0,"div",19)(1,"div",40),d._UZ(2,"fa-icon",41),d.TgZ(3,"span"),d._uU(4),d.qZA()()()),2&Ee){const de=d.oxw();d.xp6(2),d.Q6J("icon",de.faExclamationTriangle),d.xp6(2),d.Oqu(null==de.invoice?null:de.invoice.warning_capacity)}}function R(Ee,we){1&Ee&&(d.ynx(0),d._uU(1," (zero amount) "),d.BQk())}function v(Ee,we){1&Ee&&d._UZ(0,"span",47)}const a=function(){return[]};function C(Ee,we){if(1&Ee&&(d.TgZ(0,"div",43)(1,"div",44)(2,"span",45),d._uU(3),d.ALo(4,"number"),d.qZA(),d.YNc(5,v,1,0,"span",46),d.qZA()()),2&Ee){const de=d.oxw(2);d.xp6(3),d.hij("",d.lcZ(4,2,(null==de.invoice?null:de.invoice.msatoshi_received)/1e3)," Sats"),d.xp6(2),d.Q6J("ngForOf",d.DdM(4,a).constructor(35))}}function U(Ee,we){if(1&Ee&&(d.TgZ(0,"div"),d._uU(1),d.ALo(2,"number"),d.qZA()),2&Ee){const de=d.oxw(2);d.xp6(1),d.hij("",d.lcZ(2,1,(null==de.invoice?null:de.invoice.msatoshi_received)/1e3)," Sats")}}function N(Ee,we){if(1&Ee&&(d.ynx(0),d.YNc(1,C,6,5,"div",42),d.YNc(2,U,3,3,"div",23),d.BQk()),2&Ee){const de=d.oxw();d.xp6(1),d.Q6J("ngIf",de.flgInvoicePaid),d.xp6(1),d.Q6J("ngIf",!de.flgInvoicePaid)}}function Q(Ee,we){1&Ee&&(d.TgZ(0,"span"),d._uU(1,"-"),d.qZA())}function Pe(Ee,we){1&Ee&&d._UZ(0,"mat-spinner",49),2&Ee&&d.Q6J("diameter",20)}function Le(Ee,we){if(1&Ee&&(d.ynx(0),d.YNc(1,Q,2,0,"span",23),d.YNc(2,Pe,1,1,"mat-spinner",48),d.BQk()),2&Ee){const de=d.oxw();d.xp6(1),d.Q6J("ngIf","unpaid"!==(null==de.invoice?null:de.invoice.status)||!de.flgVersionCompatible),d.xp6(1),d.Q6J("ngIf","unpaid"===(null==de.invoice?null:de.invoice.status)&&de.flgVersionCompatible)}}function Ye(Ee,we){if(1&Ee&&(d.TgZ(0,"div"),d._UZ(1,"mat-divider",25),d.TgZ(2,"div",19)(3,"div",26)(4,"h4",21),d._uU(5,"Payment Hash"),d.qZA(),d.TgZ(6,"span",24),d._uU(7),d.qZA()()(),d._UZ(8,"mat-divider",25),d.TgZ(9,"div",19)(10,"div",26)(11,"h4",21),d._uU(12,"Label"),d.qZA(),d.TgZ(13,"span",24),d._uU(14),d.qZA()()(),d._UZ(15,"mat-divider",25),d.qZA()),2&Ee){const de=d.oxw();d.xp6(7),d.Oqu(null==de.invoice?null:de.invoice.payment_hash),d.xp6(7),d.Oqu(null==de.invoice?null:de.invoice.label)}}function $e(Ee,we){1&Ee&&(d.TgZ(0,"p"),d._uU(1,"Show Advanced"),d.qZA())}function Ve(Ee,we){1&Ee&&(d.TgZ(0,"p"),d._uU(1,"Hide Advanced"),d.qZA())}function be(Ee,we){if(1&Ee){const de=d.EpF();d.TgZ(0,"button",50),d.NdJ("copied",function(ie){d.CHM(de);const G=d.oxw();return d.KtG(G.onCopyPayment(ie))}),d._uU(1,"Copy Invoice"),d.qZA()}if(2&Ee){const de=d.oxw();d.Q6J("payload",(null==de.invoice?null:de.invoice.bolt11)||(null==de.invoice?null:de.invoice.bolt12))}}function et(Ee,we){if(1&Ee){const de=d.EpF();d.TgZ(0,"button",51),d.NdJ("click",function(){d.CHM(de);const ie=d.oxw();return d.KtG(ie.onClose())}),d._uU(1,"OK"),d.qZA()}}const je=function(Ee){return{"display-none":Ee}},ye=function(Ee){return{"xs-scroll-y":Ee}},Te=function(Ee,we){return{"mt-2":Ee,"mt-1":we}};class He{constructor(we,de,Me,ie,G,$){this.dialogRef=we,this.data=de,this.logger=Me,this.commonService=ie,this.snackBar=G,this.store=$,this.faReceipt=t.dLy,this.faExclamationTriangle=t.eHv,this.showAdvanced=!1,this.newlyAdded=!1,this.qrWidth=240,this.screenSize="",this.screenSizeEnum=l.cu,this.flgInvoicePaid=!1,this.flgVersionCompatible=!0,this.unSubs=[new _.x,new _.x,new _.x,new _.x,new _.x]}ngOnInit(){this.invoice=this.data.invoice,this.newlyAdded=!!this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===l.cu.XS&&(this.qrWidth=220),this.store.select(D.ey).pipe((0,S.R)(this.unSubs[0])).subscribe(we=>{this.flgVersionCompatible=this.commonService.isVersionCompatible(we.api_version,"0.6.0")}),this.store.select(D.gc).pipe((0,S.R)(this.unSubs[1])).subscribe(we=>{const de=this.invoice.status,ie=(we.listInvoices.invoices||[])?.find(G=>G.payment_hash===this.invoice.payment_hash)||null;ie&&(this.invoice=ie),de!==this.invoice.status&&"paid"===this.invoice.status&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info(we)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyPayment(we){this.snackBar.open("Invoice copied."),this.logger.info("Copied Text: "+we)}ngOnDestroy(){this.unSubs.forEach(we=>{we.next(null),we.complete()})}static#e=this.\u0275fac=function(de){return new(de||He)(d.Y36(e.so),d.Y36(e.WI),d.Y36(P.mQ),d.Y36(p.v),d.Y36(L.ux),d.Y36(M.yh))};static#t=this.\u0275cmp=d.Xpm({type:He,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","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",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",3,"inset"],["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(de,Me){if(1&de&&(d.TgZ(0,"div",0)(1,"div",1),d.YNc(2,he,1,3,"qr-code",2),d.YNc(3,ae,2,0,"span",3),d.qZA(),d.TgZ(4,"div",4)(5,"mat-card-header",5)(6,"div",6),d._UZ(7,"fa-icon",7),d.TgZ(8,"span",8),d._uU(9),d.YNc(10,T,1,3,"span",9),d.YNc(11,i,1,3,"span",10),d.YNc(12,o,1,3,"span",11),d.qZA()(),d.TgZ(13,"button",12),d.NdJ("click",function(){return Me.onClose()}),d._uU(14,"X"),d.qZA()(),d.TgZ(15,"mat-card-content",13)(16,"div",14)(17,"div",15),d.YNc(18,m,1,3,"qr-code",2),d.YNc(19,h,2,0,"span",16),d.qZA(),d.YNc(20,y,1,1,"mat-divider",17),d.YNc(21,A,5,2,"div",18),d.TgZ(22,"div",19)(23,"div",20)(24,"h4",21),d._uU(25),d.qZA(),d.TgZ(26,"span",22),d._uU(27),d.ALo(28,"number"),d.YNc(29,R,2,0,"ng-container",23),d.qZA()(),d.TgZ(30,"div",20)(31,"h4",21),d._uU(32,"Amount Received"),d.qZA(),d.TgZ(33,"span",24),d.YNc(34,N,3,2,"ng-container",23),d.YNc(35,Le,3,2,"ng-container",23),d.qZA()()(),d._UZ(36,"mat-divider",25),d.TgZ(37,"div",19)(38,"div",20)(39,"h4",21),d._uU(40,"Date Expiry"),d.qZA(),d.TgZ(41,"span",22),d._uU(42),d.ALo(43,"date"),d.qZA()(),d.TgZ(44,"div",20)(45,"h4",21),d._uU(46,"Date Settled"),d.qZA(),d.TgZ(47,"span",22),d._uU(48),d.ALo(49,"date"),d.qZA()()(),d._UZ(50,"mat-divider",25),d.TgZ(51,"div",19)(52,"div",26)(53,"h4",21),d._uU(54,"Description"),d.qZA(),d.TgZ(55,"span",22),d._uU(56),d.qZA()()(),d._UZ(57,"mat-divider",25),d.TgZ(58,"div",19)(59,"div",26)(60,"h4",21),d._uU(61),d.qZA(),d.TgZ(62,"span",24),d._uU(63),d.qZA()()(),d.YNc(64,Ye,16,2,"div",23),d.TgZ(65,"div",27)(66,"button",28),d.NdJ("click",function(){return Me.onShowAdvanced()}),d.YNc(67,$e,2,0,"p",29),d.YNc(68,Ve,2,0,"ng-template",null,30,d.W1O),d.qZA(),d.YNc(70,be,2,1,"button",31),d.YNc(71,et,2,0,"button",32),d.qZA()()()()()),2&de){const ie=d.MAs(69);d.xp6(1),d.Q6J("fxLayoutAlign",null!=Me.invoice&&Me.invoice.bolt11&&""!==(null==Me.invoice?null:Me.invoice.bolt11)||null!=Me.invoice&&Me.invoice.bolt12&&""!==(null==Me.invoice?null:Me.invoice.bolt12)?"center start":"center center")("ngClass",d.VKq(40,je,Me.screenSize===Me.screenSizeEnum.XS||Me.screenSize===Me.screenSizeEnum.SM)),d.xp6(1),d.Q6J("ngIf",(null==Me.invoice?null:Me.invoice.bolt11)&&""!==(null==Me.invoice?null:Me.invoice.bolt11)||(null==Me.invoice?null:Me.invoice.bolt12)&&""!==(null==Me.invoice?null:Me.invoice.bolt12)),d.xp6(1),d.Q6J("ngIf",!(null!=Me.invoice&&Me.invoice.bolt11||null!=Me.invoice&&Me.invoice.bolt12)),d.xp6(4),d.Q6J("icon",Me.faReceipt),d.xp6(2),d.hij(" ",Me.screenSize===Me.screenSizeEnum.XS?Me.newlyAdded?"Created":"Invoice":Me.newlyAdded?"Invoice Created":"Invoice Information"," "),d.xp6(1),d.Q6J("ngIf","paid"===(null==Me.invoice?null:Me.invoice.status)),d.xp6(1),d.Q6J("ngIf","unpaid"===(null==Me.invoice?null:Me.invoice.status)),d.xp6(1),d.Q6J("ngIf","expired"===(null==Me.invoice?null:Me.invoice.status)),d.xp6(3),d.Q6J("ngClass",d.VKq(42,ye,Me.screenSize===Me.screenSizeEnum.XS)),d.xp6(2),d.Q6J("fxLayoutAlign",null!=Me.invoice&&Me.invoice.bolt11&&""!==(null==Me.invoice?null:Me.invoice.bolt11)||null!=Me.invoice&&Me.invoice.bolt12&&""!==(null==Me.invoice?null:Me.invoice.bolt12)?"center start":"center center")("ngClass",d.VKq(44,je,Me.screenSize!==Me.screenSizeEnum.XS&&Me.screenSize!==Me.screenSizeEnum.SM)),d.xp6(1),d.Q6J("ngIf",(null==Me.invoice?null:Me.invoice.bolt11)&&""!==(null==Me.invoice?null:Me.invoice.bolt11)||(null==Me.invoice?null:Me.invoice.bolt12)&&""!==(null==Me.invoice?null:Me.invoice.bolt12)),d.xp6(1),d.Q6J("ngIf",!(null!=Me.invoice&&Me.invoice.bolt11||null!=Me.invoice&&Me.invoice.bolt12)),d.xp6(1),d.Q6J("ngIf",Me.screenSize===Me.screenSizeEnum.XS||Me.screenSize===Me.screenSizeEnum.SM),d.xp6(1),d.Q6J("ngIf",null==Me.invoice?null:Me.invoice.warning_capacity),d.xp6(4),d.Oqu(Me.screenSize===Me.screenSizeEnum.XS?"Amount":"Amount Requested"),d.xp6(2),d.hij(" ",d.lcZ(28,32,(null==Me.invoice?null:Me.invoice.msatoshi)/1e3||0)," Sats"),d.xp6(2),d.Q6J("ngIf",!(null!=Me.invoice&&Me.invoice.msatoshi)||"0"===(null==Me.invoice?null:Me.invoice.msatoshi)),d.xp6(5),d.Q6J("ngIf","paid"===(null==Me.invoice?null:Me.invoice.status)),d.xp6(1),d.Q6J("ngIf","paid"!==(null==Me.invoice?null:Me.invoice.status)),d.xp6(7),d.Oqu(d.xi3(43,34,1e3*(null==Me.invoice?null:Me.invoice.expires_at),"dd/MMM/y HH:mm")),d.xp6(6),d.Oqu(d.xi3(49,37,1e3*(null==Me.invoice?null:Me.invoice.paid_at),"dd/MMM/y HH:mm")||"-"),d.xp6(8),d.Oqu((null==Me.invoice?null:Me.invoice.description)||"-"),d.xp6(5),d.hij("",null!=Me.invoice&&Me.invoice.bolt12?"Bolt12":null!=Me.invoice&&Me.invoice.bolt11&&!Me.invoice.label.includes("keysend-")?"Bolt11":"Keysend"," Invoice"),d.xp6(2),d.Oqu((null==Me.invoice?null:Me.invoice.bolt11)||(null==Me.invoice?null:Me.invoice.bolt12)),d.xp6(1),d.Q6J("ngIf",Me.showAdvanced),d.xp6(1),d.Q6J("ngClass",d.WLB(46,Te,!Me.showAdvanced,Me.showAdvanced)),d.xp6(2),d.Q6J("ngIf",!Me.showAdvanced)("ngIfElse",ie),d.xp6(3),d.Q6J("ngIf",(null==Me.invoice?null:Me.invoice.bolt11)&&""!==(null==Me.invoice?null:Me.invoice.bolt11)||(null==Me.invoice?null:Me.invoice.bolt12)&&""!==(null==Me.invoice?null:Me.invoice.bolt12)),d.xp6(1),d.Q6J("ngIf",!(null!=Me.invoice&&Me.invoice.bolt11||null!=Me.invoice&&Me.invoice.bolt12))}},dependencies:[k.mk,k.sg,k.O5,E.BN,z.xw,z.Wh,z.yH,I.oO,V.lW,Z.dn,Z.dk,q.d,te.Ou,ne.gM,le.uU,re.y,_e.h,k.JJ,k.uU]})}},1462:(Ge,X,f)=>{"use strict";f.d(X,{k:()=>Q});var e=f(4481),t=f(9306),_=f(253),S=f(8951),l=f(7731),D=f(9828),d=f(2560),P=f(5043),p=f(62),L=f(930),M=f(9263),k=f(8104),E=f(4666),z=f(3505),I=f(6722),V=f(3704),Z=f(4522),q=f(2156),te=f(1528),ne=f(6021),le=f(6895),re=f(3390);function _e(Pe,Le){if(1&Pe&&d._UZ(0,"qr-code",28),2&Pe){const Ye=d.oxw();d.Q6J("value",null==Ye.offer?null:Ye.offer.bolt12)("size",Ye.qrWidth)("errorCorrectionLevel","L")}}function he(Pe,Le){1&Pe&&(d.TgZ(0,"span",29),d._uU(1,"N/A"),d.qZA())}function ae(Pe,Le){if(1&Pe&&d._UZ(0,"qr-code",28),2&Pe){const Ye=d.oxw();d.Q6J("value",null==Ye.offer?null:Ye.offer.bolt12)("size",Ye.qrWidth)("errorCorrectionLevel","L")}}function ve(Pe,Le){1&Pe&&(d.TgZ(0,"span",30),d._uU(1,"QR Code Not Applicable"),d.qZA())}function T(Pe,Le){1&Pe&&d._UZ(0,"mat-divider",31),2&Pe&&d.Q6J("inset",!0)}function i(Pe,Le){1&Pe&&d._UZ(0,"mat-divider",19)}function o(Pe,Le){if(1&Pe&&(d.TgZ(0,"div",15)(1,"div",16)(2,"h4",17),d._uU(3,"Used"),d.qZA(),d.TgZ(4,"span",18),d._uU(5),d.qZA()(),d.TgZ(6,"div",16)(7,"h4",17),d._uU(8,"Single Use"),d.qZA(),d.TgZ(9,"span",18),d._uU(10),d.qZA()()()),2&Pe){const Ye=d.oxw(2);d.xp6(5),d.hij(" ",null!=Ye.offer&&Ye.offer.used?null!=Ye.offer&&Ye.offer.used?"Yes":"No":"N/K"," "),d.xp6(5),d.hij(" ",null!=Ye.offer&&Ye.offer.single_use?null!=Ye.offer&&Ye.offer.single_use?"Yes":"No":"N/K"," ")}}function m(Pe,Le){1&Pe&&d._UZ(0,"mat-divider",19)}function h(Pe,Le){if(1&Pe&&(d.TgZ(0,"div",15)(1,"div",20)(2,"h4",17),d._uU(3,"Vendor"),d.qZA(),d.TgZ(4,"span",34),d._uU(5),d.qZA()()()),2&Pe){const Ye=d.oxw(2);d.xp6(5),d.Oqu((null==Ye.offerDecoded?null:Ye.offerDecoded.vendor)||(null==Ye.offerDecoded?null:Ye.offerDecoded.issuer))}}function y(Pe,Le){if(1&Pe&&(d.TgZ(0,"div"),d.YNc(1,i,1,0,"mat-divider",32),d.YNc(2,o,11,2,"div",33),d.YNc(3,m,1,0,"mat-divider",32),d.YNc(4,h,6,1,"div",33),d._UZ(5,"mat-divider",19),d.TgZ(6,"div",15)(7,"div",20)(8,"h4",17),d._uU(9,"Offer ID"),d.qZA(),d.TgZ(10,"span",18),d._uU(11),d.qZA()()(),d._UZ(12,"mat-divider",19),d.qZA()),2&Pe){const Ye=d.oxw();d.xp6(1),d.Q6J("ngIf",(null==Ye.offer?null:Ye.offer.used)||(null==Ye.offer?null:Ye.offer.single_use)),d.xp6(1),d.Q6J("ngIf",(null==Ye.offer?null:Ye.offer.used)||(null==Ye.offer?null:Ye.offer.single_use)),d.xp6(1),d.Q6J("ngIf",(null==Ye.offerDecoded?null:Ye.offerDecoded.vendor)||(null==Ye.offerDecoded?null:Ye.offerDecoded.issuer)),d.xp6(1),d.Q6J("ngIf",(null==Ye.offerDecoded?null:Ye.offerDecoded.vendor)||(null==Ye.offerDecoded?null:Ye.offerDecoded.issuer)),d.xp6(7),d.Oqu(Ye.offerDecoded.offer_id)}}function A(Pe,Le){1&Pe&&(d.TgZ(0,"p"),d._uU(1,"Show Advanced"),d.qZA())}function R(Pe,Le){1&Pe&&(d.TgZ(0,"p"),d._uU(1,"Hide Advanced"),d.qZA())}function v(Pe,Le){if(1&Pe){const Ye=d.EpF();d.TgZ(0,"button",35),d.NdJ("copied",function(Ve){d.CHM(Ye);const be=d.oxw();return d.KtG(be.onCopyOffer(Ve))}),d._uU(1,"Copy Offer"),d.qZA()}if(2&Pe){const Ye=d.oxw();d.Q6J("payload",null==Ye.offer?null:Ye.offer.bolt12)}}function a(Pe,Le){if(1&Pe){const Ye=d.EpF();d.TgZ(0,"button",36),d.NdJ("click",function(){d.CHM(Ye);const Ve=d.oxw();return d.KtG(Ve.onClose())}),d._uU(1,"OK"),d.qZA()}}const C=function(Pe){return{"display-none":Pe}},U=function(Pe){return{"xs-scroll-y":Pe}},N=function(Pe,Le){return{"mt-2":Pe,"mt-1":Le}};class Q{constructor(Le,Ye,$e,Ve,be,et,je){this.dialogRef=Le,this.data=Ye,this.logger=$e,this.commonService=Ve,this.snackBar=be,this.store=et,this.dataService=je,this.faReceipt=t.dLy,this.faExclamationTriangle=t.eHv,this.showAdvanced=!1,this.newlyAdded=!1,this.offerDecoded={},this.qrWidth=240,this.screenSize="",this.screenSizeEnum=l.cu,this.flgOfferPaid=!1,this.flgVersionCompatible=!0,this.unSubs=[new _.x,new _.x,new _.x,new _.x,new _.x]}ngOnInit(){this.offer=this.data.offer,this.newlyAdded=!!this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===l.cu.XS&&(this.qrWidth=220),this.store.select(D.ey).pipe((0,S.R)(this.unSubs[0])).subscribe(Le=>{this.flgVersionCompatible=this.commonService.isVersionCompatible(Le.api_version,"0.6.0")}),this.dataService.decodePayment(this.offer.bolt12,!0).pipe((0,S.R)(this.unSubs[1])).subscribe(Le=>{this.offerDecoded=Le,this.offerDecoded.offer_id&&!this.offerDecoded.amount_msat?(this.offerDecoded.amount_msat="0msat",this.offerDecoded.amount=0):this.offerDecoded.amount=this.offerDecoded.amount?+this.offerDecoded.amount:this.offerDecoded.amount_msat?+this.offerDecoded.amount_msat?.slice(0,-4):null})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyOffer(Le){this.snackBar.open("Offer copied."),this.logger.info("Copied Text: "+Le)}ngOnDestroy(){this.unSubs.forEach(Le=>{Le.next(null),Le.complete()})}static#e=this.\u0275fac=function(Ye){return new(Ye||Q)(d.Y36(e.so),d.Y36(e.WI),d.Y36(P.mQ),d.Y36(p.v),d.Y36(L.ux),d.Y36(M.yh),d.Y36(k.D))};static#t=this.\u0275cmp=d.Xpm({type:Q,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","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(Ye,$e){if(1&Ye&&(d.TgZ(0,"div",0)(1,"div",1),d.YNc(2,_e,1,3,"qr-code",2),d.YNc(3,he,2,0,"span",3),d.qZA(),d.TgZ(4,"div",4)(5,"mat-card-header",5)(6,"div",6),d._UZ(7,"fa-icon",7),d.TgZ(8,"span",8),d._uU(9),d.qZA()(),d.TgZ(10,"button",9),d.NdJ("click",function(){return $e.onClose()}),d._uU(11,"X"),d.qZA()(),d.TgZ(12,"mat-card-content",10)(13,"div",11)(14,"div",12),d.YNc(15,ae,1,3,"qr-code",2),d.YNc(16,ve,2,0,"span",13),d.qZA(),d.YNc(17,T,1,1,"mat-divider",14),d.TgZ(18,"div",15)(19,"div",16)(20,"h4",17),d._uU(21,"Amount Requested (Sats)"),d.qZA(),d.TgZ(22,"span",18),d._uU(23),d.ALo(24,"number"),d.qZA()(),d.TgZ(25,"div",16)(26,"h4",17),d._uU(27,"Active"),d.qZA(),d.TgZ(28,"span",18),d._uU(29),d.qZA()()(),d._UZ(30,"mat-divider",19),d.TgZ(31,"div",15)(32,"div",20)(33,"h4",17),d._uU(34,"Description"),d.qZA(),d.TgZ(35,"span",18),d._uU(36),d.qZA()()(),d._UZ(37,"mat-divider",19),d.TgZ(38,"div",15)(39,"div",20)(40,"h4",17),d._uU(41,"Offer Request"),d.qZA(),d.TgZ(42,"span",18),d._uU(43),d.qZA()()(),d.YNc(44,y,13,5,"div",21),d.TgZ(45,"div",22)(46,"button",23),d.NdJ("click",function(){return $e.onShowAdvanced()}),d.YNc(47,A,2,0,"p",24),d.YNc(48,R,2,0,"ng-template",null,25,d.W1O),d.qZA(),d.YNc(50,v,2,1,"button",26),d.YNc(51,a,2,0,"button",27),d.qZA()()()()()),2&Ye){const Ve=d.MAs(49);d.xp6(1),d.Q6J("fxLayoutAlign",null!=$e.offer&&$e.offer.bolt12&&""!==(null==$e.offer?null:$e.offer.bolt12)?"center start":"center center")("ngClass",d.VKq(24,C,$e.screenSize===$e.screenSizeEnum.XS||$e.screenSize===$e.screenSizeEnum.SM)),d.xp6(1),d.Q6J("ngIf",(null==$e.offer?null:$e.offer.bolt12)&&""!==(null==$e.offer?null:$e.offer.bolt12)),d.xp6(1),d.Q6J("ngIf",!(null!=$e.offer&&$e.offer.bolt12)||""===(null==$e.offer?null:$e.offer.bolt12)),d.xp6(4),d.Q6J("icon",$e.faReceipt),d.xp6(2),d.Oqu($e.screenSize===$e.screenSizeEnum.XS?$e.newlyAdded?"Created":"Offer":$e.newlyAdded?"Offer Created":"Offer Information"),d.xp6(3),d.Q6J("ngClass",d.VKq(26,U,$e.screenSize===$e.screenSizeEnum.XS)),d.xp6(2),d.Q6J("fxLayoutAlign",null!=$e.offer&&$e.offer.bolt12&&""!==(null==$e.offer?null:$e.offer.bolt12)?"center start":"center center")("ngClass",d.VKq(28,C,$e.screenSize!==$e.screenSizeEnum.XS&&$e.screenSize!==$e.screenSizeEnum.SM)),d.xp6(1),d.Q6J("ngIf",(null==$e.offer?null:$e.offer.bolt12)&&""!==(null==$e.offer?null:$e.offer.bolt12)),d.xp6(1),d.Q6J("ngIf",!(null!=$e.offer&&$e.offer.bolt12)||""===(null==$e.offer?null:$e.offer.bolt12)),d.xp6(1),d.Q6J("ngIf",$e.screenSize===$e.screenSizeEnum.XS||$e.screenSize===$e.screenSizeEnum.SM),d.xp6(6),d.hij(" ",null!=$e.offerDecoded&&$e.offerDecoded.amount_msat&&0!==(null==$e.offerDecoded?null:$e.offerDecoded.amount)?d.lcZ(24,22,(null==$e.offerDecoded?null:$e.offerDecoded.amount)/1e3):"Open Offer"," "),d.xp6(6),d.hij(" ",null!=$e.offer&&$e.offer.active?null!=$e.offer&&$e.offer.active?"Active":"Inactive":"N/K"," "),d.xp6(7),d.hij(" ",null==$e.offerDecoded?null:$e.offerDecoded.description," "),d.xp6(7),d.Oqu(null==$e.offer?null:$e.offer.bolt12),d.xp6(1),d.Q6J("ngIf",$e.showAdvanced),d.xp6(1),d.Q6J("ngClass",d.WLB(30,N,!$e.showAdvanced,$e.showAdvanced)),d.xp6(2),d.Q6J("ngIf",!$e.showAdvanced)("ngIfElse",Ve),d.xp6(3),d.Q6J("ngIf",(null==$e.offer?null:$e.offer.bolt12)&&""!==(null==$e.offer?null:$e.offer.bolt12)),d.xp6(1),d.Q6J("ngIf",!(null!=$e.offer&&$e.offer.bolt12)||""===(null==$e.offer?null:$e.offer.bolt12))}},dependencies:[E.mk,E.O5,z.BN,I.xw,I.Wh,I.yH,V.oO,Z.lW,q.dn,q.dk,te.d,ne.uU,le.y,re.h,E.JJ]})}},2994:(Ge,X,f)=>{"use strict";f.d(X,{$W:()=>le,BL:()=>y,Bw:()=>q,CX:()=>L,DJ:()=>Ee,EK:()=>T,El:()=>_e,Fd:()=>S,GD:()=>ve,HG:()=>ne,HI:()=>v,Iy:()=>Le,Lf:()=>Pe,Nr:()=>Ve,OG:()=>A,On:()=>te,QZ:()=>_,RX:()=>k,SN:()=>M,Sf:()=>ye,TM:()=>N,TW:()=>I,UR:()=>E,WM:()=>$e,WO:()=>a,YP:()=>et,YX:()=>m,Z$:()=>be,Z8:()=>re,Zr:()=>l,_E:()=>i,aL:()=>je,cQ:()=>R,eF:()=>P,eN:()=>z,i:()=>V,iL:()=>Z,iz:()=>p,kL:()=>C,mC:()=>Q,n7:()=>Te,oV:()=>U,pW:()=>h,pd:()=>d,ti:()=>we,wD:()=>D});var e=f(9263),t=f(7731);const _=(0,e.PH)(t.lr.UPDATE_API_CALL_STATUS_ECL,(0,e.Ky)()),S=(0,e.PH)(t.lr.RESET_ECL_STORE,(0,e.Ky)()),l=(0,e.PH)(t.lr.SET_CHILD_NODE_SETTINGS_ECL,(0,e.Ky)()),D=(0,e.PH)(t.lr.FETCH_PAGE_SETTINGS_ECL),d=(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)()),p=(0,e.PH)(t.lr.FETCH_INFO_ECL,(0,e.Ky)()),L=(0,e.PH)(t.lr.SET_INFO_ECL,(0,e.Ky)()),M=(0,e.PH)(t.lr.FETCH_FEES_ECL),k=(0,e.PH)(t.lr.SET_FEES_ECL,(0,e.Ky)()),E=(0,e.PH)(t.lr.FETCH_CHANNELS_ECL,(0,e.Ky)()),z=(0,e.PH)(t.lr.SET_ACTIVE_CHANNELS_ECL,(0,e.Ky)()),I=(0,e.PH)(t.lr.SET_PENDING_CHANNELS_ECL,(0,e.Ky)()),V=(0,e.PH)(t.lr.SET_INACTIVE_CHANNELS_ECL,(0,e.Ky)()),Z=(0,e.PH)(t.lr.FETCH_ONCHAIN_BALANCE_ECL),q=(0,e.PH)(t.lr.SET_ONCHAIN_BALANCE_ECL,(0,e.Ky)()),te=(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)()),le=(0,e.PH)(t.lr.FETCH_PEERS_ECL),re=(0,e.PH)(t.lr.SET_PEERS_ECL,(0,e.Ky)()),_e=(0,e.PH)(t.lr.SAVE_NEW_PEER_ECL,(0,e.Ky)()),ve=((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)())),T=(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)())),h=(0,e.PH)(t.lr.UPDATE_CHANNEL_ECL,(0,e.Ky)()),y=(0,e.PH)(t.lr.CLOSE_CHANNEL_ECL,(0,e.Ky)()),A=(0,e.PH)(t.lr.REMOVE_CHANNEL_ECL,(0,e.Ky)()),R=(0,e.PH)(t.lr.FETCH_PAYMENTS_ECL),v=(0,e.PH)(t.lr.SET_PAYMENTS_ECL,(0,e.Ky)()),a=(0,e.PH)(t.lr.GET_QUERY_ROUTES_ECL,(0,e.Ky)()),C=(0,e.PH)(t.lr.SET_QUERY_ROUTES_ECL,(0,e.Ky)()),U=(0,e.PH)(t.lr.SEND_PAYMENT_ECL,(0,e.Ky)()),N=(0,e.PH)(t.lr.SEND_PAYMENT_STATUS_ECL,(0,e.Ky)()),Q=(0,e.PH)(t.lr.FETCH_TRANSACTIONS_ECL),Pe=(0,e.PH)(t.lr.SET_TRANSACTIONS_ECL,(0,e.Ky)()),Le=(0,e.PH)(t.lr.SEND_ONCHAIN_FUNDS_ECL,(0,e.Ky)()),$e=((0,e.PH)(t.lr.SEND_ONCHAIN_FUNDS_RES_ECL,(0,e.Ky)()),(0,e.PH)(t.lr.FETCH_INVOICES_ECL)),Ve=(0,e.PH)(t.lr.SET_INVOICES_ECL,(0,e.Ky)()),be=(0,e.PH)(t.lr.CREATE_INVOICE_ECL,(0,e.Ky)()),et=(0,e.PH)(t.lr.ADD_INVOICE_ECL,(0,e.Ky)()),je=(0,e.PH)(t.lr.UPDATE_INVOICE_ECL,(0,e.Ky)()),ye=(0,e.PH)(t.lr.PEER_LOOKUP_ECL,(0,e.Ky)()),Te=(0,e.PH)(t.lr.INVOICE_LOOKUP_ECL,(0,e.Ky)()),Ee=((0,e.PH)(t.lr.SET_LOOKUP_ECL,(0,e.Ky)()),(0,e.PH)(t.lr.UPDATE_CHANNEL_STATE_ECL,(0,e.Ky)())),we=(0,e.PH)(t.lr.UPDATE_RELAYED_PAYMENT_ECL,(0,e.Ky)())},3289:(Ge,X,f)=>{"use strict";f.d(X,{o:()=>he});var e=f(3599),t=f(253),_=f(745),S=f(9525),l=f(8951),D=f(635),d=f(3158),P=f(2340),p=f(1786),L=f(7731),M=f(7861),k=f(7766),E=f(2994),z=f(2501),I=f(2560),V=f(8987),Z=f(9263),q=f(5986),te=f(62),ne=f(5043),le=f(3547),re=f(3512),_e=f(4666);class he{constructor(ve,T,i,o,m,h,y,A,R){this.actions=ve,this.httpClient=T,this.store=i,this.sessionService=o,this.commonService=m,this.logger=h,this.router=y,this.wsService=A,this.location=R,this.CHILD_API_URL=P.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)(L.lr.FETCH_INFO_ECL),(0,S.z)(v=>(this.flgInitialized=!1,this.store.dispatch((0,M.lC)({payload:this.CHILD_API_URL})),this.store.dispatch((0,M.ac)({payload:L.m6.GET_NODE_INFO})),this.store.dispatch((0,E.QZ)({payload:{action:"FetchInfo",status:L.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.GETINFO_API).pipe((0,l.R)(this.actions.pipe((0,e.l4)(L.pg.SET_SELECTED_NODE))),(0,D.U)(a=>(this.logger.info(a),this.initializeRemainingData(a,v.payload.loadPage),this.store.dispatch((0,E.QZ)({payload:{action:"FetchInfo",status:L.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:L.m6.GET_NODE_INFO})),{type:L.lr.SET_INFO_ECL,payload:a||{}})),(0,d.K)(a=>{const C=this.commonService.extractErrorCode(a),U=503===C?"Unable to Connect to Eclair Server.":this.commonService.extractErrorMessage(a);return this.router.navigate(["/error"],{state:{errorCode:C,errorMessage:U}}),this.handleErrorWithoutAlert("FetchInfo",L.m6.GET_NODE_INFO,"Fetching Node Info Failed.",{status:C,error:U}),(0,_.of)({type:L.pg.VOID})})))))),this.fetchFees=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.FETCH_FEES_ECL),(0,S.z)(()=>(this.store.dispatch((0,E.QZ)({payload:{action:"FetchFees",status:L.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.FEES_API+"/fees").pipe((0,D.U)(v=>(this.logger.info(v),this.store.dispatch((0,E.QZ)({payload:{action:"FetchFees",status:L.Bn.COMPLETED}})),{type:L.lr.SET_FEES_ECL,payload:v||{}})),(0,d.K)(v=>(this.handleErrorWithoutAlert("FetchFees",L.m6.NO_SPINNER,"Fetching Fees Failed.",v),(0,_.of)({type:L.pg.VOID})))))))),this.fetchPayments=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.FETCH_PAYMENTS_ECL),(0,S.z)(()=>(this.store.dispatch((0,E.QZ)({payload:{action:"FetchPayments",status:L.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.FEES_API+"/payments").pipe((0,D.U)(v=>(this.logger.info(v),this.store.dispatch((0,E.QZ)({payload:{action:"FetchPayments",status:L.Bn.COMPLETED}})),{type:L.lr.SET_PAYMENTS_ECL,payload:v||{}})),(0,d.K)(v=>(this.handleErrorWithoutAlert("FetchPayments",L.m6.NO_SPINNER,"Fetching Payments Failed.",v),(0,_.of)({type:L.pg.VOID})))))))),this.channelsFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.FETCH_CHANNELS_ECL),(0,S.z)(v=>(this.store.dispatch((0,E.QZ)({payload:{action:"FetchChannels",status:L.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.CHANNELS_API).pipe((0,D.U)(a=>(this.logger.info(a),this.rawChannelsList=a,this.setChannelsAndStatusAndBalances(),this.store.dispatch((0,E.QZ)({payload:{action:"FetchChannels",status:L.Bn.COMPLETED}})),v.payload&&v.payload.fetchPayments&&this.store.dispatch((0,E.cQ)()),{type:L.pg.VOID})),(0,d.K)(a=>(this.handleErrorWithoutAlert("FetchChannels",L.m6.NO_SPINNER,"Fetching Channels Failed.",a),(0,_.of)({type:L.pg.VOID})))))))),this.fetchOnchainBalance=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.FETCH_ONCHAIN_BALANCE_ECL),(0,S.z)(()=>(this.store.dispatch((0,E.QZ)({payload:{action:"FetchOnchainBalance",status:L.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.ON_CHAIN_API+"/balance"))),(0,D.U)(v=>(this.logger.info(v),this.store.dispatch((0,E.QZ)({payload:{action:"FetchOnchainBalance",status:L.Bn.COMPLETED}})),{type:L.lr.SET_ONCHAIN_BALANCE_ECL,payload:v||{}})),(0,d.K)(v=>(this.handleErrorWithoutAlert("FetchOnchainBalance",L.m6.NO_SPINNER,"Fetching Onchain Balances Failed.",v),(0,_.of)({type:L.pg.VOID}))))),this.peersFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.FETCH_PEERS_ECL),(0,S.z)(()=>(this.store.dispatch((0,E.QZ)({payload:{action:"FetchPeers",status:L.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.PEERS_API).pipe((0,D.U)(v=>(this.logger.info(v),this.store.dispatch((0,E.QZ)({payload:{action:"FetchPeers",status:L.Bn.COMPLETED}})),{type:L.lr.SET_PEERS_ECL,payload:v||[]})),(0,d.K)(v=>(this.handleErrorWithoutAlert("FetchPeers",L.m6.NO_SPINNER,"Fetching Peers Failed.",v),(0,_.of)({type:L.pg.VOID})))))))),this.getNewAddress=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.GET_NEW_ADDRESS_ECL),(0,S.z)(()=>(this.store.dispatch((0,M.ac)({payload:L.m6.GENERATE_NEW_ADDRESS})),this.httpClient.get(this.CHILD_API_URL+P.NZ.ON_CHAIN_API).pipe((0,D.U)(v=>(this.logger.info(v),this.store.dispatch((0,M.uO)({payload:L.m6.GENERATE_NEW_ADDRESS})),{type:L.lr.SET_NEW_ADDRESS_ECL,payload:v})),(0,d.K)(v=>(this.handleErrorWithAlert("GetNewAddress",L.m6.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+P.NZ.ON_CHAIN_API,v),(0,_.of)({type:L.pg.VOID})))))))),this.setNewAddress=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.SET_NEW_ADDRESS_ECL),(0,D.U)(v=>(this.logger.info(v.payload),v.payload))),{dispatch:!1}),this.saveNewPeer=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.SAVE_NEW_PEER_ECL),(0,S.z)(v=>(this.store.dispatch((0,M.ac)({payload:L.m6.CONNECT_PEER})),this.store.dispatch((0,E.QZ)({payload:{action:"SaveNewPeer",status:L.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+P.NZ.PEERS_API+(v.payload.id.includes("@")?"?uri=":"?nodeId=")+v.payload.id,{}).pipe((0,D.U)(a=>(this.logger.info(a),this.store.dispatch((0,E.QZ)({payload:{action:"SaveNewPeer",status:L.Bn.COMPLETED}})),a=a||[],this.store.dispatch((0,M.uO)({payload:L.m6.CONNECT_PEER})),this.store.dispatch((0,E.Z8)({payload:a})),{type:L.lr.NEWLY_ADDED_PEER_ECL,payload:{peer:a.find(C=>C.nodeId===(v.payload.id.includes("@")?v.payload.id.substring(0,v.payload.id.indexOf("@")):v.payload.id))}})),(0,d.K)(a=>(this.handleErrorWithoutAlert("SaveNewPeer",L.m6.CONNECT_PEER,"Peer Connection Failed.",a),(0,_.of)({type:L.pg.VOID})))))))),this.detachPeer=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.DETACH_PEER_ECL),(0,S.z)(v=>(this.store.dispatch((0,M.ac)({payload:L.m6.DISCONNECT_PEER})),this.httpClient.delete(this.CHILD_API_URL+P.NZ.PEERS_API+"/"+v.payload.nodeId).pipe((0,D.U)(a=>(this.logger.info(a),this.store.dispatch((0,M.uO)({payload:L.m6.DISCONNECT_PEER})),this.store.dispatch((0,M.jW)({payload:"Disconnecting Peer!"})),{type:L.lr.REMOVE_PEER_ECL,payload:{nodeId:v.payload.nodeId}})),(0,d.K)(a=>(this.handleErrorWithAlert("DisconnectPeer",L.m6.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+P.NZ.PEERS_API+"/"+v.payload.nodeId,a),(0,_.of)({type:L.pg.VOID})))))))),this.openNewChannel=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.SAVE_NEW_CHANNEL_ECL),(0,S.z)(v=>{this.store.dispatch((0,M.ac)({payload:L.m6.OPEN_CHANNEL})),this.store.dispatch((0,E.QZ)({payload:{action:"SaveNewChannel",status:L.Bn.INITIATED}}));const a={nodeId:v.payload.nodeId,fundingSatoshis:v.payload.amount,announceChannel:!v.payload.private};return v.payload.feeRate&&v.payload.feeRate>0&&(a.fundingFeerateSatByte=v.payload.feeRate),this.httpClient.post(this.CHILD_API_URL+P.NZ.CHANNELS_API,a).pipe((0,D.U)(C=>(this.logger.info(C),this.store.dispatch((0,E.QZ)({payload:{action:"SaveNewChannel",status:L.Bn.COMPLETED}})),this.store.dispatch((0,E.$W)()),this.store.dispatch((0,E.iL)()),this.store.dispatch((0,M.uO)({payload:L.m6.OPEN_CHANNEL})),this.store.dispatch((0,M.jW)({payload:"Channel Added Successfully!"})),{type:L.lr.FETCH_CHANNELS_ECL,payload:{fetchPayments:!1}})),(0,d.K)(C=>(this.handleErrorWithoutAlert("SaveNewChannel",L.m6.OPEN_CHANNEL,"Opening Channel Failed.",C),(0,_.of)({type:L.pg.VOID}))))}))),this.updateChannel=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.UPDATE_CHANNEL_ECL),(0,S.z)(v=>{this.store.dispatch((0,M.ac)({payload:L.m6.UPDATE_CHAN_POLICY}));let a="?feeBaseMsat="+v.payload.baseFeeMsat+"&feeProportionalMillionths="+v.payload.feeRate;return a=v.payload.nodeIds?a+"&nodeIds="+v.payload.nodeIds:v.payload.nodeId?a+"&nodeId="+v.payload.nodeId:v.payload.channelIds?a+"&channelIds="+v.payload.channelIds:a+"&channelId="+v.payload.channelId,this.httpClient.post(this.CHILD_API_URL+P.NZ.CHANNELS_API+"/updateRelayFee"+a,{}).pipe((0,D.U)(C=>(this.logger.info(C),this.store.dispatch((0,M.uO)({payload:L.m6.UPDATE_CHAN_POLICY})),v.payload.nodeIds||v.payload.channelIds?this.store.dispatch((0,M.jW)({payload:"Channels Updated Successfully."})):this.store.dispatch((0,M.jW)({payload:"Channel Updated Successfully!"})),{type:L.lr.FETCH_CHANNELS_ECL,payload:{fetchPayments:!1}})),(0,d.K)(C=>(this.handleErrorWithAlert("UpdateChannels",L.m6.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+P.NZ.CHANNELS_API,C),(0,_.of)({type:L.pg.VOID}))))}))),this.closeChannel=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.CLOSE_CHANNEL_ECL),(0,S.z)(v=>(this.store.dispatch((0,M.ac)({payload:v.payload.force?L.m6.FORCE_CLOSE_CHANNEL:L.m6.CLOSE_CHANNEL})),this.httpClient.delete(this.CHILD_API_URL+P.NZ.CHANNELS_API+"?channelId="+v.payload.channelId+"&force="+v.payload.force).pipe((0,D.U)(a=>(this.logger.info(a),setTimeout(()=>{this.store.dispatch((0,M.uO)({payload:v.payload.force?L.m6.FORCE_CLOSE_CHANNEL:L.m6.CLOSE_CHANNEL})),this.store.dispatch((0,E.UR)({payload:{fetchPayments:!1}})),this.store.dispatch((0,M.jW)({payload:v.payload.force?"Channel Force Closed Successfully!":"Channel Closed Successfully!"}))},2e3),{type:L.pg.VOID})),(0,d.K)(a=>(this.handleErrorWithAlert("CloseChannel",v.payload.force?L.m6.FORCE_CLOSE_CHANNEL:L.m6.CLOSE_CHANNEL,"Unable to Close Channel. Try again later.",this.CHILD_API_URL+P.NZ.CHANNELS_API,a),(0,_.of)({type:L.pg.VOID})))))))),this.queryRoutesFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.GET_QUERY_ROUTES_ECL),(0,S.z)(v=>this.httpClient.get(this.CHILD_API_URL+P.NZ.PAYMENTS_API+"/route?nodeId="+v.payload.nodeId+"&amountMsat="+v.payload.amount).pipe((0,D.U)(a=>(this.logger.info(a),{type:L.lr.SET_QUERY_ROUTES_ECL,payload:a})),(0,d.K)(a=>(this.store.dispatch((0,E.kL)({payload:[]})),this.handleErrorWithAlert("GetQueryRoutes",L.m6.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+P.NZ.PAYMENTS_API+"/route?nodeId="+v.payload.nodeId+"&amountMsat="+v.payload.amount,a),(0,_.of)({type:L.pg.VOID}))))))),this.setQueryRoutes=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.SET_QUERY_ROUTES_ECL),(0,D.U)(v=>v.payload)),{dispatch:!1}),this.sendPayment=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.SEND_PAYMENT_ECL),(0,S.z)(v=>(this.flgReceivedPaymentUpdateFromWS=!1,this.latestPaymentRes="",this.store.dispatch((0,M.ac)({payload:L.m6.SEND_PAYMENT})),this.store.dispatch((0,E.QZ)({payload:{action:"SendPayment",status:L.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+P.NZ.PAYMENTS_API,v.payload).pipe((0,D.U)(a=>(this.logger.info(a),this.latestPaymentRes=a,setTimeout(()=>{this.flgReceivedPaymentUpdateFromWS||this.handleSendPaymentStatus("Payment Submitted!")},3e3),{type:L.pg.VOID})),(0,d.K)(a=>(this.logger.error("Error: "+JSON.stringify(a)),v.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",L.m6.SEND_PAYMENT,"Send Payment Failed.",a):this.handleErrorWithAlert("SendPayment",L.m6.SEND_PAYMENT,"Send Payment Failed",this.CHILD_API_URL+P.NZ.PAYMENTS_API,a),(0,_.of)({type:L.pg.VOID})))))))),this.transactionsFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.FETCH_TRANSACTIONS_ECL),(0,S.z)(()=>(this.store.dispatch((0,E.QZ)({payload:{action:"FetchTransactions",status:L.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.ON_CHAIN_API+"/transactions?count=1000&skip=0"))),(0,D.U)(v=>(this.logger.info(v),this.store.dispatch((0,E.QZ)({payload:{action:"FetchTransactions",status:L.Bn.COMPLETED}})),{type:L.lr.SET_TRANSACTIONS_ECL,payload:v||[]})),(0,d.K)(v=>(this.handleErrorWithoutAlert("FetchTransactions",L.m6.NO_SPINNER,"Fetching Transactions Failed.",v),(0,_.of)({type:L.pg.VOID}))))),this.SendOnchainFunds=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.SEND_ONCHAIN_FUNDS_ECL),(0,S.z)(v=>(this.store.dispatch((0,M.ac)({payload:L.m6.SEND_FUNDS})),this.store.dispatch((0,E.QZ)({payload:{action:"SendOnchainFunds",status:L.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+P.NZ.ON_CHAIN_API,v.payload).pipe((0,D.U)(a=>(this.logger.info(a),this.store.dispatch((0,E.QZ)({payload:{action:"SendOnchainFunds",status:L.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:L.m6.SEND_FUNDS})),this.store.dispatch((0,E.iL)()),{type:L.lr.SEND_ONCHAIN_FUNDS_RES_ECL,payload:a})),(0,d.K)(a=>(this.handleErrorWithoutAlert("SendOnchainFunds",L.m6.SEND_FUNDS,"Sending Fund Failed.",a),(0,_.of)({type:L.pg.VOID})))))))),this.createInvoice=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.CREATE_INVOICE_ECL),(0,S.z)(v=>(this.store.dispatch((0,M.ac)({payload:L.m6.CREATE_INVOICE})),this.store.dispatch((0,E.QZ)({payload:{action:"CreateInvoice",status:L.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+P.NZ.INVOICES_API,v.payload).pipe((0,D.U)(a=>(this.logger.info(a),this.store.dispatch((0,E.QZ)({payload:{action:"CreateInvoice",status:L.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:L.m6.CREATE_INVOICE})),a.timestamp=Math.round((new Date).getTime()/1e3),a.expiresAt=Math.round(a.timestamp+v.payload.expireIn),a.description=v.payload.description,a.status="unpaid",setTimeout(()=>{this.store.dispatch((0,M.qR)({payload:{data:{invoice:a,newlyAdded:!0,component:k.R}}}))},200),{type:L.lr.ADD_INVOICE_ECL,payload:a})),(0,d.K)(a=>(this.handleErrorWithoutAlert("CreateInvoice",L.m6.CREATE_INVOICE,"Create Invoice Failed.",a),(0,_.of)({type:L.pg.VOID})))))))),this.invoicesFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.FETCH_INVOICES_ECL),(0,S.z)(()=>(this.store.dispatch((0,E.QZ)({payload:{action:"FetchInvoices",status:L.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.INVOICES_API).pipe((0,D.U)(v=>(this.logger.info(v),this.store.dispatch((0,E.QZ)({payload:{action:"FetchInvoices",status:L.Bn.COMPLETED}})),{type:L.lr.SET_INVOICES_ECL,payload:v})),(0,d.K)(v=>(this.handleErrorWithoutAlert("FetchInvoices",L.m6.NO_SPINNER,"Fetching Invoices Failed.",v),(0,_.of)({type:L.pg.VOID})))))))),this.peerLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.PEER_LOOKUP_ECL),(0,S.z)(v=>(this.store.dispatch((0,M.ac)({payload:L.m6.SEARCHING_NODE})),this.store.dispatch((0,E.QZ)({payload:{action:"Lookup",status:L.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.NETWORK_API+"/nodes/"+v.payload).pipe((0,D.U)(a=>(this.logger.info(a),this.store.dispatch((0,E.QZ)({payload:{action:"Lookup",status:L.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:L.m6.SEARCHING_NODE})),{type:L.lr.SET_LOOKUP_ECL,payload:a})),(0,d.K)(a=>(this.handleErrorWithAlert("Lookup",L.m6.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+P.NZ.NETWORK_API+"/nodes/"+v.payload,a),(0,_.of)({type:L.pg.VOID})))))))),this.invoiceLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.INVOICE_LOOKUP_ECL),(0,S.z)(v=>(this.store.dispatch((0,M.ac)({payload:L.m6.SEARCHING_INVOICE})),this.store.dispatch((0,E.QZ)({payload:{action:"Lookup",status:L.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.INVOICES_API+"/"+v.payload).pipe((0,D.U)(a=>(this.logger.info(a),this.store.dispatch((0,E.QZ)({payload:{action:"Lookup",status:L.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:L.m6.SEARCHING_INVOICE})),this.store.dispatch((0,E.aL)({payload:a})),{type:L.lr.SET_LOOKUP_ECL,payload:a})),(0,d.K)(a=>(this.handleErrorWithoutAlert("Lookup",L.m6.SEARCHING_INVOICE,"Invoice Lookup Failed",a),this.store.dispatch((0,M.jW)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,_.of)({type:L.pg.VOID})))))))),this.setLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.SET_LOOKUP_ECL),(0,D.U)(v=>(this.logger.info(v.payload),v.payload))),{dispatch:!1}),this.pageSettingsFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.FETCH_PAGE_SETTINGS_ECL),(0,S.z)(()=>(this.store.dispatch((0,E.QZ)({payload:{action:"FetchPageSettings",status:L.Bn.INITIATED}})),this.httpClient.get(P.NZ.PAGE_SETTINGS_API).pipe((0,D.U)(v=>(this.logger.info(v),this.store.dispatch((0,E.QZ)({payload:{action:"FetchPageSettings",status:L.Bn.COMPLETED}})),{type:L.lr.SET_PAGE_SETTINGS_ECL,payload:v||[]})),(0,d.K)(v=>(this.handleErrorWithoutAlert("FetchPageSettings",L.m6.NO_SPINNER,"Fetching Page Settings Failed.",v),(0,_.of)({type:L.pg.VOID})))))))),this.savePageSettingsCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.SAVE_PAGE_SETTINGS_ECL),(0,S.z)(v=>(this.store.dispatch((0,M.ac)({payload:L.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,E.QZ)({payload:{action:"SavePageSettings",status:L.Bn.INITIATED}})),this.httpClient.post(P.NZ.PAGE_SETTINGS_API,v.payload).pipe((0,D.U)(a=>(this.logger.info(a),this.store.dispatch((0,E.QZ)({payload:{action:"SavePageSettings",status:L.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:L.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,M.jW)({payload:"Page Layout Updated Successfully!"})),{type:L.lr.SET_PAGE_SETTINGS_ECL,payload:a||[]})),(0,d.K)(a=>(this.handleErrorWithAlert("SavePageSettings",L.m6.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",P.NZ.PAGE_SETTINGS_API,a),(0,_.of)({type:L.pg.VOID})))))))),this.handleSendPaymentStatus=v=>{this.store.dispatch((0,E.QZ)({payload:{action:"SendPayment",status:L.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:L.m6.SEND_PAYMENT})),this.store.dispatch((0,E.TM)({payload:this.latestPaymentRes})),this.store.dispatch((0,E.UR)({payload:{fetchPayments:!0}})),this.store.dispatch((0,M.jW)({payload:v}))},this.store.select(z.yA).pipe((0,l.R)(this.unSubs[0])).subscribe(v=>{v.FetchInfo.status!==L.Bn.COMPLETED&&v.FetchInfo.status!==L.Bn.ERROR||v.FetchFees.status!==L.Bn.COMPLETED&&v.FetchFees.status!==L.Bn.ERROR||v.FetchOnchainBalance.status!==L.Bn.COMPLETED&&v.FetchOnchainBalance.status!==L.Bn.ERROR||v.FetchChannels.status!==L.Bn.COMPLETED&&v.FetchChannels.status!==L.Bn.ERROR||this.flgInitialized||(this.store.dispatch((0,M.uO)({payload:L.m6.INITALIZE_NODE_DATA})),this.flgInitialized=!0)}),this.wsService.eclWSMessages.pipe((0,l.R)(this.unSubs[1])).subscribe(v=>{this.logger.info("Received new message from the service: "+JSON.stringify(v));let a="";if(v)switch(v.type){case L.$v.PAYMENT_SENT:v&&v.id&&this.latestPaymentRes===v.id&&(this.flgReceivedPaymentUpdateFromWS=!0,a="Payment Sent: "+(v.paymentHash?"with payment hash "+v.paymentHash:JSON.stringify(v)),this.handleSendPaymentStatus(a));break;case L.$v.PAYMENT_FAILED:v&&v.id&&this.latestPaymentRes===v.id&&(this.flgReceivedPaymentUpdateFromWS=!0,a="Payment Failed: "+(v.failures&&v.failures.length&&v.failures.length>0&&v.failures[0].t?v.failures[0].t:v.failures&&v.failures.length&&v.failures.length>0&&v.failures[0].e&&v.failures[0].e.failureMessage?v.failures[0].e.failureMessage:JSON.stringify(v)),this.handleSendPaymentStatus(a));break;case L.$v.PAYMENT_RECEIVED:this.store.dispatch((0,E.aL)({payload:v}));break;case L.$v.PAYMENT_RELAYED:delete v.source,this.store.dispatch((0,E.ti)({payload:v}));break;case L.$v.CHANNEL_STATE_CHANGED:"NORMAL"===v.currentState||"CLOSED"===v.currentState?(this.rawChannelsList=this.rawChannelsList?.map(C=>(C.channelId===v.channelId&&C.nodeId===v.remoteNodeId&&(C.state=v.currentState),C)),this.setChannelsAndStatusAndBalances()):this.store.dispatch((0,E.DJ)({payload:v}));break;default:this.logger.info("Received Event from WS: "+JSON.stringify(v))}})}setChannelsAndStatusAndBalances(){let ve=0,T=0,i=0,o={localBalance:0,remoteBalance:0},m=[];const h=[],y=[],A={active:{channels:0,capacity:0},inactive:{channels:0,capacity:0},pending:{channels:0,capacity:0}};this.rawChannelsList.forEach((R,v)=>{R&&("NORMAL"===R.state?(ve=(R.toLocal||0)+(R.toRemote||0),T+=R.toLocal||0,i+=R.toRemote||0,R.balancedness=0===ve?1:+(1-Math.abs(((R.toLocal||0)-(R.toRemote||0))/ve)).toFixed(3),m.push(R),A.active.channels=A.active.channels+1,A.active.capacity=A.active.capacity+(R.toLocal||0)):R.state?.includes("WAIT")||R.state?.includes("CLOSING")||R.state?.includes("SYNCING")?(R.state=R.state?.replace(/_/g," "),h.push(R),A.pending.channels=A.pending.channels+1,A.pending.capacity=A.pending.capacity+(R.toLocal||0)):(R.state=R.state?.replace(/_/g," "),y.push(R),A.inactive.channels=A.inactive.channels+1,A.inactive.capacity=A.inactive.capacity+(R.toLocal||0)))}),o={localBalance:T,remoteBalance:i},m=this.commonService.sortDescByKey(m,"balancedness"),this.logger.info("Active Channels: "+JSON.stringify(m)),this.logger.info("Pending Channels: "+JSON.stringify(h)),this.logger.info("Inactive Channels: "+JSON.stringify(y)),this.logger.info("Lightning Balances: "+JSON.stringify(o)),this.logger.info("Channels Status: "+JSON.stringify(A)),this.logger.info("Channel, status and balances: "+JSON.stringify({active:m,pending:h,inactive:y,balances:o,status:A})),this.store.dispatch((0,E.eN)({payload:m})),this.store.dispatch((0,E.TW)({payload:h})),this.store.dispatch((0,E.i)({payload:y})),this.store.dispatch((0,E.On)({payload:o})),this.store.dispatch((0,E.HG)({payload:A}))}initializeRemainingData(ve,T){this.sessionService.setItem("eclUnlocked","true");const i={identity_pubkey:ve.nodeId,alias:ve.alias,testnet:"testnet"===ve.network,chains:ve.publicAddresses,uris:ve.uris,version:ve.version,numberOfPendingChannels:0};this.store.dispatch((0,M.ac)({payload:L.m6.INITALIZE_NODE_DATA})),this.store.dispatch((0,M._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"===T||o.includes("?access-key="))&&(o="/ecl/home"),this.router.navigate([o]),this.store.dispatch((0,E.wD)()),this.store.dispatch((0,E.WM)()),this.store.dispatch((0,E.UR)({payload:{fetchPayments:!0}})),this.store.dispatch((0,E.SN)()),this.store.dispatch((0,E.iL)()),this.store.dispatch((0,E.$W)())}handleErrorWithoutAlert(ve,T,i,o){this.logger.error("ERROR IN: "+ve+"\n"+JSON.stringify(o)),401===o.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."}))):(this.store.dispatch((0,M.uO)({payload:T})),this.store.dispatch((0,E.QZ)({payload:{action:ve,status:L.Bn.ERROR,statusCode:o.status.toString(),message:this.commonService.extractErrorMessage(o,i)}})))}handleErrorWithAlert(ve,T,i,o,m){if(this.logger.error(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:T}));const h=this.commonService.extractErrorMessage(m);this.store.dispatch((0,M.qR)({payload:{data:{type:"ERROR",alertTitle:i,message:{code:m.status,message:h,URL:o},component:p.H}}})),this.store.dispatch((0,E.QZ)({payload:{action:ve,status:L.Bn.ERROR,statusCode:m.status.toString(),message:h,URL:o}}))}}ngOnDestroy(){this.unSubs.forEach(ve=>{ve.next(null),ve.complete()})}static#e=this.\u0275fac=function(T){return new(T||he)(I.LFG(e.eX),I.LFG(V.eN),I.LFG(Z.yh),I.LFG(q.m),I.LFG(te.v),I.LFG(ne.mQ),I.LFG(le.F0),I.LFG(re.d),I.LFG(_e.Ye))};static#t=this.\u0275prov=I.Yz7({token:he,factory:he.\u0275fac})}},2501:(Ge,X,f)=>{"use strict";f.d(X,{Bo:()=>z,Ef:()=>E,JG:()=>L,LR:()=>_,PP:()=>p,T$:()=>D,Xz:()=>M,dx:()=>k,kY:()=>I,nF:()=>S,yA:()=>P,yD:()=>l});var e=f(9263);const t=(0,e.ZF)("ecl"),_=(0,e.P1)(t,V=>V.nodeSettings),S=(0,e.P1)(t,V=>({pageSettings:V.pageSettings,apiCallStatus:V.apisCallStatus.FetchPageSettings})),l=(0,e.P1)(t,V=>V.information),D=(0,e.P1)(t,V=>({information:V.information,apiCallStatus:V.apisCallStatus.FetchInfo})),P=((0,e.P1)(t,V=>V.apisCallStatus.FetchInfo),(0,e.P1)(t,V=>V.apisCallStatus)),p=(0,e.P1)(t,V=>({payments:V.payments,apiCallStatus:V.apisCallStatus.FetchPayments})),L=(0,e.P1)(t,V=>({fees:V.fees,apiCallStatus:V.apisCallStatus.FetchFees})),M=(0,e.P1)(t,V=>({activeChannels:V.activeChannels,pendingChannels:V.pendingChannels,inactiveChannels:V.inactiveChannels,lightningBalance:V.lightningBalance,channelsStatus:V.channelsStatus,apiCallStatus:V.apisCallStatus.FetchChannels})),k=(0,e.P1)(t,V=>({transactions:V.transactions,apiCallStatus:V.apisCallStatus.FetchTransactions})),E=(0,e.P1)(t,V=>({invoices:V.invoices,apiCallStatus:V.apisCallStatus.FetchInvoices})),z=(0,e.P1)(t,V=>({peers:V.peers,apiCallStatus:V.apisCallStatus.FetchPeers})),I=(0,e.P1)(t,V=>({onchainBalance:V.onchainBalance,apiCallStatus:V.apisCallStatus.FetchOnchainBalance}))},7766:(Ge,X,f)=>{"use strict";f.d(X,{R:()=>Ve});var e=f(4481),t=f(9306),_=f(253),S=f(8951),l=f(7731),D=f(2501),d=f(2560),P=f(5043),p=f(62),L=f(930),M=f(9263),k=f(4666),E=f(3505),z=f(6722),I=f(3704),V=f(4522),Z=f(2156),q=f(1528),te=f(1708),ne=f(6021),le=f(6895),re=f(3390);function _e(be,et){if(1&be&&d._UZ(0,"qr-code",29),2&be){const je=d.oxw();d.Q6J("value",null==je.invoice?null:je.invoice.serialized)("size",je.qrWidth)("errorCorrectionLevel","L")}}function he(be,et){1&be&&(d.TgZ(0,"span",30),d._uU(1,"N/A"),d.qZA())}function ae(be,et){if(1&be&&d._UZ(0,"qr-code",29),2&be){const je=d.oxw();d.Q6J("value",null==je.invoice?null:je.invoice.serialized)("size",je.qrWidth)("errorCorrectionLevel","L")}}function ve(be,et){1&be&&(d.TgZ(0,"span",31),d._uU(1,"QR Code Not Applicable"),d.qZA())}function T(be,et){1&be&&d._UZ(0,"mat-divider",32),2&be&&d.Q6J("inset",!0)}function i(be,et){1&be&&(d.ynx(0),d._uU(1," (zero amount) "),d.BQk())}function o(be,et){1&be&&d._UZ(0,"span",38)}const m=function(){return[]};function h(be,et){if(1&be&&(d.TgZ(0,"div",34)(1,"div",35)(2,"span",36),d._uU(3),d.ALo(4,"number"),d.qZA(),d.YNc(5,o,1,0,"span",37),d.qZA()()),2&be){const je=d.oxw(2);d.xp6(3),d.hij("",d.lcZ(4,2,null==je.invoice?null:je.invoice.amountSettled)," Sats"),d.xp6(2),d.Q6J("ngForOf",d.DdM(4,m).constructor(35))}}function y(be,et){if(1&be&&(d.TgZ(0,"div"),d._uU(1),d.ALo(2,"number"),d.qZA()),2&be){const je=d.oxw(2);d.xp6(1),d.hij("",d.lcZ(2,1,null==je.invoice?null:je.invoice.amountSettled)," Sats")}}function A(be,et){if(1&be&&(d.ynx(0),d.YNc(1,h,6,5,"div",33),d.YNc(2,y,3,3,"div",19),d.BQk()),2&be){const je=d.oxw();d.xp6(1),d.Q6J("ngIf",je.flgInvoicePaid),d.xp6(1),d.Q6J("ngIf",!je.flgInvoicePaid)}}function R(be,et){1&be&&(d.TgZ(0,"span"),d._uU(1,"-"),d.qZA())}function v(be,et){1&be&&d._UZ(0,"mat-spinner",40),2&be&&d.Q6J("diameter",20)}function a(be,et){if(1&be&&(d.ynx(0),d.YNc(1,R,2,0,"span",19),d.YNc(2,v,1,1,"mat-spinner",39),d.BQk()),2&be){const je=d.oxw();d.xp6(1),d.Q6J("ngIf","unpaid"!==(null==je.invoice?null:je.invoice.status)||!je.flgVersionCompatible),d.xp6(1),d.Q6J("ngIf","unpaid"===(null==je.invoice?null:je.invoice.status)&&je.flgVersionCompatible)}}function C(be,et){if(1&be&&(d.TgZ(0,"div"),d._UZ(1,"mat-divider",20),d.TgZ(2,"div",15)(3,"div",41)(4,"h4",17),d._uU(5,"Date Expiry"),d.qZA(),d.TgZ(6,"span",18),d._uU(7),d.ALo(8,"date"),d.qZA()(),d.TgZ(9,"div",42)(10,"h4",17),d._uU(11,"Date Settled"),d.qZA(),d.TgZ(12,"span",21),d._uU(13),d.ALo(14,"date"),d.qZA()()(),d._UZ(15,"mat-divider",20),d.TgZ(16,"div",15)(17,"div",22)(18,"h4",17),d._uU(19,"Payment Hash"),d.qZA(),d.TgZ(20,"span",21),d._uU(21),d.qZA()()(),d._UZ(22,"mat-divider",20),d.TgZ(23,"div",15)(24,"div",22)(25,"h4",17),d._uU(26,"Node ID"),d.qZA(),d.TgZ(27,"span",21),d._uU(28),d.qZA()()(),d._UZ(29,"mat-divider",20),d.qZA()),2&be){const je=d.oxw();d.xp6(7),d.Oqu(d.xi3(8,4,1e3*(null==je.invoice?null:je.invoice.expiresAt),"dd/MMM/y HH:mm")),d.xp6(6),d.Oqu(d.xi3(14,7,1e3*(null==je.invoice?null:je.invoice.receivedAt),"dd/MMM/y HH:mm")),d.xp6(8),d.Oqu(null==je.invoice?null:je.invoice.paymentHash),d.xp6(7),d.Oqu(null==je.invoice?null:je.invoice.nodeId)}}function U(be,et){1&be&&(d.TgZ(0,"p"),d._uU(1,"Show Advanced"),d.qZA())}function N(be,et){1&be&&(d.TgZ(0,"p"),d._uU(1,"Hide Advanced"),d.qZA())}function Q(be,et){if(1&be){const je=d.EpF();d.TgZ(0,"button",43),d.NdJ("copied",function(Te){d.CHM(je);const He=d.oxw();return d.KtG(He.onCopyPayment(Te))}),d._uU(1,"Copy Invoice"),d.qZA()}if(2&be){const je=d.oxw();d.Q6J("payload",null==je.invoice?null:je.invoice.serialized)}}function Pe(be,et){if(1&be){const je=d.EpF();d.TgZ(0,"button",44),d.NdJ("click",function(){d.CHM(je);const Te=d.oxw();return d.KtG(Te.onClose())}),d._uU(1,"OK"),d.qZA()}}const Le=function(be){return{"display-none":be}},Ye=function(be){return{"xs-scroll-y":be}},$e=function(be,et){return{"mt-2":be,"mt-1":et}};class Ve{constructor(et,je,ye,Te,He,Ee){this.dialogRef=et,this.data=je,this.logger=ye,this.commonService=Te,this.snackBar=He,this.store=Ee,this.faReceipt=t.dLy,this.faExclamationTriangle=t.eHv,this.showAdvanced=!1,this.newlyAdded=!1,this.qrWidth=240,this.screenSize="",this.screenSizeEnum=l.cu,this.flgInvoicePaid=!1,this.flgVersionCompatible=!0,this.unSubs=[new _.x,new _.x,new _.x,new _.x,new _.x]}ngOnInit(){this.invoice=this.data.invoice,this.newlyAdded=!!this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===l.cu.XS&&(this.qrWidth=220),this.store.select(D.yD).pipe((0,S.R)(this.unSubs[0])).subscribe(et=>{this.flgVersionCompatible=this.commonService.isVersionCompatible(et.version,"0.5.0")}),this.store.select(D.Ef).pipe((0,S.R)(this.unSubs[1])).subscribe(et=>{const je=this.invoice.status,Te=(et.invoices&&et.invoices.length>0?et.invoices:[])?.find(He=>He.paymentHash===this.invoice.paymentHash)||null;Te&&(this.invoice=Te),je!==this.invoice.status&&"received"===this.invoice.status&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info(et)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyPayment(et){this.snackBar.open("Invoice copied."),this.logger.info("Copied Text: "+et)}ngOnDestroy(){this.unSubs.forEach(et=>{et.next(null),et.complete()})}static#e=this.\u0275fac=function(je){return new(je||Ve)(d.Y36(e.so),d.Y36(e.WI),d.Y36(P.mQ),d.Y36(p.v),d.Y36(L.ux),d.Y36(M.yh))};static#t=this.\u0275cmp=d.Xpm({type:Ve,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","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(je,ye){if(1&je&&(d.TgZ(0,"div",0)(1,"div",1),d.YNc(2,_e,1,3,"qr-code",2),d.YNc(3,he,2,0,"span",3),d.qZA(),d.TgZ(4,"div",4)(5,"mat-card-header",5)(6,"div",6),d._UZ(7,"fa-icon",7),d.TgZ(8,"span",8),d._uU(9),d.qZA()(),d.TgZ(10,"button",9),d.NdJ("click",function(){return ye.onClose()}),d._uU(11,"X"),d.qZA()(),d.TgZ(12,"mat-card-content",10)(13,"div",11)(14,"div",12),d.YNc(15,ae,1,3,"qr-code",2),d.YNc(16,ve,2,0,"span",13),d.qZA(),d.YNc(17,T,1,1,"mat-divider",14),d.TgZ(18,"div",15)(19,"div",16)(20,"h4",17),d._uU(21,"Amount Requested"),d.qZA(),d.TgZ(22,"span",18),d._uU(23),d.ALo(24,"number"),d.YNc(25,i,2,0,"ng-container",19),d.qZA()(),d.TgZ(26,"div",16)(27,"h4",17),d._uU(28,"Amount Settled"),d.qZA(),d.TgZ(29,"span",18),d.YNc(30,A,3,2,"ng-container",19),d.YNc(31,a,3,2,"ng-container",19),d.qZA()()(),d._UZ(32,"mat-divider",20),d.TgZ(33,"div",15)(34,"div",16)(35,"h4",17),d._uU(36,"Date Created"),d.qZA(),d.TgZ(37,"span",21),d._uU(38),d.ALo(39,"date"),d.qZA()(),d.TgZ(40,"div",16)(41,"h4",17),d._uU(42,"Status"),d.qZA(),d.TgZ(43,"span",21),d._uU(44),d.ALo(45,"titlecase"),d.qZA()()(),d._UZ(46,"mat-divider",20),d.TgZ(47,"div",15)(48,"div",22)(49,"h4",17),d._uU(50,"Description"),d.qZA(),d.TgZ(51,"span",18),d._uU(52),d.qZA()()(),d._UZ(53,"mat-divider",20),d.TgZ(54,"div",15)(55,"div",22)(56,"h4",17),d._uU(57,"Invoice"),d.qZA(),d.TgZ(58,"span",21),d._uU(59),d.qZA()()(),d.YNc(60,C,30,10,"div",19),d.TgZ(61,"div",23)(62,"button",24),d.NdJ("click",function(){return ye.onShowAdvanced()}),d.YNc(63,U,2,0,"p",25),d.YNc(64,N,2,0,"ng-template",null,26,d.W1O),d.qZA(),d.YNc(66,Q,2,1,"button",27),d.YNc(67,Pe,2,0,"button",28),d.qZA()()()()()),2&je){const Te=d.MAs(65);d.xp6(1),d.Q6J("fxLayoutAlign",null!=ye.invoice&&ye.invoice.serialized&&""!==(null==ye.invoice?null:ye.invoice.serialized)?"center start":"center center")("ngClass",d.VKq(33,Le,ye.screenSize===ye.screenSizeEnum.XS||ye.screenSize===ye.screenSizeEnum.SM)),d.xp6(1),d.Q6J("ngIf",(null==ye.invoice?null:ye.invoice.serialized)&&""!==(null==ye.invoice?null:ye.invoice.serialized)),d.xp6(1),d.Q6J("ngIf",!(null!=ye.invoice&&ye.invoice.serialized)||""===(null==ye.invoice?null:ye.invoice.serialized)),d.xp6(4),d.Q6J("icon",ye.faReceipt),d.xp6(2),d.Oqu(ye.screenSize===ye.screenSizeEnum.XS?ye.newlyAdded?"Created":"Invoice":ye.newlyAdded?"Invoice Created":"Invoice Information"),d.xp6(3),d.Q6J("ngClass",d.VKq(35,Ye,ye.screenSize===ye.screenSizeEnum.XS)),d.xp6(2),d.Q6J("fxLayoutAlign",null!=ye.invoice&&ye.invoice.serialized&&""!==(null==ye.invoice?null:ye.invoice.serialized)?"center start":"center center")("ngClass",d.VKq(37,Le,ye.screenSize!==ye.screenSizeEnum.XS&&ye.screenSize!==ye.screenSizeEnum.SM)),d.xp6(1),d.Q6J("ngIf",(null==ye.invoice?null:ye.invoice.serialized)&&""!==(null==ye.invoice?null:ye.invoice.serialized)),d.xp6(1),d.Q6J("ngIf",!(null!=ye.invoice&&ye.invoice.serialized)||""===(null==ye.invoice?null:ye.invoice.serialized)),d.xp6(1),d.Q6J("ngIf",ye.screenSize===ye.screenSizeEnum.XS||ye.screenSize===ye.screenSizeEnum.SM),d.xp6(6),d.hij("",d.lcZ(24,26,(null==ye.invoice?null:ye.invoice.amount)||0)," Sats"),d.xp6(2),d.Q6J("ngIf",!(null!=ye.invoice&&ye.invoice.amount)||"0"===(null==ye.invoice?null:ye.invoice.amount)),d.xp6(5),d.Q6J("ngIf",null==ye.invoice?null:ye.invoice.amountSettled),d.xp6(1),d.Q6J("ngIf",!(null!=ye.invoice&&ye.invoice.amountSettled)),d.xp6(7),d.Oqu(d.xi3(39,28,1e3*(null==ye.invoice?null:ye.invoice.timestamp),"dd/MMM/y HH:mm")),d.xp6(6),d.Oqu(d.lcZ(45,31,null==ye.invoice?null:ye.invoice.status)),d.xp6(8),d.Oqu((null==ye.invoice?null:ye.invoice.description)||"-"),d.xp6(7),d.Oqu((null==ye.invoice?null:ye.invoice.serialized)||"N/A"),d.xp6(1),d.Q6J("ngIf",ye.showAdvanced),d.xp6(1),d.Q6J("ngClass",d.WLB(39,$e,!ye.showAdvanced,ye.showAdvanced)),d.xp6(2),d.Q6J("ngIf",!ye.showAdvanced)("ngIfElse",Te),d.xp6(3),d.Q6J("ngIf",(null==ye.invoice?null:ye.invoice.serialized)&&""!==(null==ye.invoice?null:ye.invoice.serialized)),d.xp6(1),d.Q6J("ngIf",!(null!=ye.invoice&&ye.invoice.serialized)||""===(null==ye.invoice?null:ye.invoice.serialized))}},dependencies:[k.mk,k.sg,k.O5,E.BN,z.xw,z.Wh,z.yH,I.oO,V.lW,Z.dn,Z.dk,q.d,te.Ou,ne.uU,le.y,re.h,k.JJ,k.rS,k.uU]})}},6523:(Ge,X,f)=>{"use strict";f.d(X,{$A:()=>Re,$W:()=>M,BL:()=>R,B_:()=>Pe,Bl:()=>re,CX:()=>L,Cp:()=>C,EK:()=>V,El:()=>E,Fr:()=>Je,HI:()=>we,JT:()=>l,Jl:()=>_e,Jo:()=>Bt,Lf:()=>ye,Ll:()=>S,Ly:()=>Te,Nr:()=>Ve,OG:()=>v,PC:()=>_,QJ:()=>ei,RX:()=>le,Rd:()=>Z,Rv:()=>he,SN:()=>ne,Sf:()=>rt,TW:()=>o,UH:()=>He,UR:()=>ve,Vv:()=>a,WM:()=>$e,WO:()=>Zi,Wi:()=>Ue,YP:()=>te,YX:()=>A,Z7:()=>i,Z8:()=>k,Zh:()=>m,_E:()=>$,_L:()=>h,aL:()=>be,as:()=>T,cQ:()=>Ee,dV:()=>ie,eF:()=>P,fu:()=>bt,kL:()=>si,ks:()=>ae,mC:()=>je,n7:()=>ot,oV:()=>de,pW:()=>y,pd:()=>d,qY:()=>et,sQ:()=>p,tb:()=>Q,u0:()=>oi,vV:()=>Le,wD:()=>D,xG:()=>gt,y2:()=>nt,yZ:()=>St,z:()=>I});var e=f(9263),t=f(7731);const _=(0,e.PH)(t.uR.UPDATE_API_CALL_STATUS_LND,(0,e.Ky)()),S=(0,e.PH)(t.uR.RESET_LND_STORE,(0,e.Ky)()),l=(0,e.PH)(t.uR.SET_CHILD_NODE_SETTINGS_LND,(0,e.Ky)()),D=(0,e.PH)(t.uR.FETCH_PAGE_SETTINGS_LND),d=(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)()),p=(0,e.PH)(t.uR.FETCH_INFO_LND,(0,e.Ky)()),L=(0,e.PH)(t.uR.SET_INFO_LND,(0,e.Ky)()),M=(0,e.PH)(t.uR.FETCH_PEERS_LND),k=(0,e.PH)(t.uR.SET_PEERS_LND,(0,e.Ky)()),E=(0,e.PH)(t.uR.SAVE_NEW_PEER_LND,(0,e.Ky)()),I=((0,e.PH)(t.uR.NEWLY_ADDED_PEER_LND,(0,e.Ky)()),(0,e.PH)(t.uR.DETACH_PEER_LND,(0,e.Ky)())),V=(0,e.PH)(t.uR.REMOVE_PEER_LND,(0,e.Ky)()),Z=(0,e.PH)(t.uR.SAVE_NEW_INVOICE_LND,(0,e.Ky)()),te=((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),le=(0,e.PH)(t.uR.SET_FEES_LND,(0,e.Ky)()),re=(0,e.PH)(t.uR.FETCH_BLOCKCHAIN_BALANCE_LND),_e=(0,e.PH)(t.uR.SET_BLOCKCHAIN_BALANCE_LND,(0,e.Ky)()),he=(0,e.PH)(t.uR.FETCH_NETWORK_LND),ae=(0,e.PH)(t.uR.SET_NETWORK_LND,(0,e.Ky)()),ve=(0,e.PH)(t.uR.FETCH_CHANNELS_LND),T=(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),h=(0,e.PH)(t.uR.SET_CLOSED_CHANNELS_LND,(0,e.Ky)()),y=(0,e.PH)(t.uR.UPDATE_CHANNEL_LND,(0,e.Ky)()),A=(0,e.PH)(t.uR.SAVE_NEW_CHANNEL_LND,(0,e.Ky)()),R=(0,e.PH)(t.uR.CLOSE_CHANNEL_LND,(0,e.Ky)()),v=(0,e.PH)(t.uR.REMOVE_CHANNEL_LND,(0,e.Ky)()),a=(0,e.PH)(t.uR.BACKUP_CHANNELS_LND,(0,e.Ky)()),C=(0,e.PH)(t.uR.VERIFY_CHANNEL_LND,(0,e.Ky)()),Q=((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)),Pe=(0,e.PH)(t.uR.SET_RESTORE_CHANNELS_LIST_LND,(0,e.Ky)()),Le=(0,e.PH)(t.uR.RESTORE_CHANNELS_LND,(0,e.Ky)()),$e=((0,e.PH)(t.uR.RESTORE_CHANNELS_RES_LND,(0,e.Ky)()),(0,e.PH)(t.uR.FETCH_INVOICES_LND,(0,e.Ky)())),Ve=(0,e.PH)(t.uR.SET_INVOICES_LND,(0,e.Ky)()),be=(0,e.PH)(t.uR.UPDATE_INVOICE_LND,(0,e.Ky)()),et=(0,e.PH)(t.uR.UPDATE_PAYMENT_LND,(0,e.Ky)()),je=(0,e.PH)(t.uR.FETCH_TRANSACTIONS_LND),ye=(0,e.PH)(t.uR.SET_TRANSACTIONS_LND,(0,e.Ky)()),Te=(0,e.PH)(t.uR.FETCH_UTXOS_LND),He=(0,e.PH)(t.uR.SET_UTXOS_LND,(0,e.Ky)()),Ee=(0,e.PH)(t.uR.FETCH_PAYMENTS_LND,(0,e.Ky)()),we=(0,e.PH)(t.uR.SET_PAYMENTS_LND,(0,e.Ky)()),de=(0,e.PH)(t.uR.SEND_PAYMENT_LND,(0,e.Ky)()),ie=((0,e.PH)(t.uR.SEND_PAYMENT_STATUS_LND,(0,e.Ky)()),(0,e.PH)(t.uR.FETCH_GRAPH_NODE_LND,(0,e.Ky)())),$=((0,e.PH)(t.uR.SET_GRAPH_NODE_LND,(0,e.Ky)()),(0,e.PH)(t.uR.GET_NEW_ADDRESS_LND,(0,e.Ky)())),Ue=((0,e.PH)(t.uR.SET_NEW_ADDRESS_LND,(0,e.Ky)()),(0,e.PH)(t.uR.SET_CHANNEL_TRANSACTION_LND,(0,e.Ky)())),bt=((0,e.PH)(t.uR.SET_CHANNEL_TRANSACTION_RES_LND,(0,e.Ky)()),(0,e.PH)(t.uR.GEN_SEED_LND,(0,e.Ky)())),nt=((0,e.PH)(t.uR.GEN_SEED_RESPONSE_LND,(0,e.Ky)()),(0,e.PH)(t.uR.INIT_WALLET_LND,(0,e.Ky)())),gt=((0,e.PH)(t.uR.INIT_WALLET_RESPONSE_LND,(0,e.Ky)()),(0,e.PH)(t.uR.UNLOCK_WALLET_LND,(0,e.Ky)())),rt=(0,e.PH)(t.uR.PEER_LOOKUP_LND,(0,e.Ky)()),Re=(0,e.PH)(t.uR.CHANNEL_LOOKUP_LND,(0,e.Ky)()),ot=(0,e.PH)(t.uR.INVOICE_LOOKUP_LND,(0,e.Ky)()),St=(0,e.PH)(t.uR.PAYMENT_LOOKUP_LND,(0,e.Ky)()),oi=((0,e.PH)(t.uR.SET_LOOKUP_LND,(0,e.Ky)()),(0,e.PH)(t.uR.GET_FORWARDING_HISTORY_LND,(0,e.Ky)())),ei=(0,e.PH)(t.uR.SET_FORWARDING_HISTORY_LND,(0,e.Ky)()),Zi=(0,e.PH)(t.uR.GET_QUERY_ROUTES_LND,(0,e.Ky)()),si=(0,e.PH)(t.uR.SET_QUERY_ROUTES_LND,(0,e.Ky)()),Bt=(0,e.PH)(t.uR.GET_ALL_LIGHTNING_TRANSATIONS_LND),Je=(0,e.PH)(t.uR.SET_ALL_LIGHTNING_TRANSATIONS_LND,(0,e.Ky)())},3172:(Ge,X,f)=>{"use strict";f.d(X,{l:()=>ve});var e=f(3599),t=f(253),_=f(745),S=f(9525),l=f(8951),D=f(635),d=f(3158),P=f(538),p=f(2340),L=f(8627),M=f(1786),k=f(7731),E=f(7861),z=f(6523),I=f(6529),V=f(2560),Z=f(8987),q=f(9263),te=f(5043),ne=f(62),le=f(5986),re=f(4481),_e=f(3547),he=f(3512),ae=f(4666);class ve{constructor(i,o,m,h,y,A,R,v,a,C){this.actions=i,this.httpClient=o,this.store=m,this.logger=h,this.commonService=y,this.sessionService=A,this.dialog=R,this.router=v,this.wsService=a,this.location=C,this.CHILD_API_URL=p.T5+"/lnd",this.invoicesPageSize=k.IV,this.paymentsPageSize=k.IV,this.flgInitialized=!1,this.unSubs=[new t.x,new t.x],this.infoFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.FETCH_INFO_LND),(0,S.z)(U=>(this.flgInitialized=!1,this.store.dispatch((0,E.lC)({payload:this.CHILD_API_URL})),this.store.dispatch((0,E.ts)()),this.store.dispatch((0,E.ac)({payload:k.m6.GET_NODE_INFO})),this.store.dispatch((0,z.PC)({payload:{action:"FetchInfo",status:k.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+p.NZ.GETINFO_API).pipe((0,l.R)(this.actions.pipe((0,e.l4)(k.pg.SET_SELECTED_NODE))),(0,D.U)(N=>(this.logger.info(N),N.chains&&N.chains.length&&N.chains[0]&&("string"==typeof N.chains[0]&&N.chains[0].toLowerCase().indexOf("bitcoin")<0||"object"==typeof N.chains[0]&&N.chains[0].hasOwnProperty("chain")&&N.chains[0].chain&&N.chains[0].chain.toLowerCase().indexOf("bitcoin")<0)?(this.store.dispatch((0,z.PC)({payload:{action:"FetchInfo",status:k.Bn.COMPLETED}})),this.store.dispatch((0,E.ts)()),this.store.dispatch((0,E.qR)({payload:{data:{type:k.n_.ERROR,alertTitle:"Shitcoin Found",titleMessage:"Sorry Not Sorry, RTL is Bitcoin Only!"}}})),{type:k.pg.LOGOUT}):N.identity_pubkey?(N.lnImplementation="LND",this.initializeRemainingData(N,U.payload.loadPage),this.store.dispatch((0,z.PC)({payload:{action:"FetchInfo",status:k.Bn.COMPLETED}})),this.store.dispatch((0,E.ts)()),{type:k.uR.SET_INFO_LND,payload:N||{}}):(this.store.dispatch((0,z.PC)({payload:{action:"FetchInfo",status:k.Bn.COMPLETED}})),this.store.dispatch((0,E.ts)()),this.sessionService.removeItem("lndUnlocked"),this.logger.info("Redirecting to Unlock"),this.router.navigate(["/lnd/wallet"]),{type:k.uR.SET_INFO_LND,payload:{}}))),(0,d.K)(N=>{if("string"==typeof N.error.error&&N.error.error.includes("Not Found")||"string"==typeof N.error.error&&N.error.error.includes("wallet locked")||502===N.status&&!N.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",k.m6.GET_NODE_INFO,"Fetching Node Info Failed.",N);else if("string"==typeof N.error.error&&N.error.error.includes("starting up")&&500===N.status)setTimeout(()=>{this.store.dispatch((0,z.sQ)({payload:{loadPage:"HOME"}}))},2e3);else{const Q=this.commonService.extractErrorCode(N),Pe=503===Q?"Unable to Connect to LND Server.":this.commonService.extractErrorMessage(N);this.router.navigate(["/error"],{state:{errorCode:Q,errorMessage:Pe}}),this.handleErrorWithoutAlert("FetchInfo",k.m6.GET_NODE_INFO,"Fetching Node Info Failed.",{status:Q,error:Pe})}return(0,_.of)({type:k.pg.VOID})})))))),this.peersFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.FETCH_PEERS_LND),(0,S.z)(()=>(this.store.dispatch((0,z.PC)({payload:{action:"FetchPeers",status:k.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+p.NZ.PEERS_API).pipe((0,D.U)(U=>(this.logger.info(U),this.store.dispatch((0,z.PC)({payload:{action:"FetchPeers",status:k.Bn.COMPLETED}})),{type:k.uR.SET_PEERS_LND,payload:U||[]})),(0,d.K)(U=>(this.handleErrorWithoutAlert("FetchPeers",k.m6.NO_SPINNER,"Fetching Peers Failed.",U),(0,_.of)({type:k.pg.VOID})))))))),this.saveNewPeer=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.SAVE_NEW_PEER_LND),(0,S.z)(U=>(this.store.dispatch((0,E.ac)({payload:k.m6.CONNECT_PEER})),this.store.dispatch((0,z.PC)({payload:{action:"SaveNewPeer",status:k.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+p.NZ.PEERS_API,{pubkey:U.payload.pubkey,host:U.payload.host,perm:U.payload.perm}).pipe((0,D.U)(N=>(this.logger.info(N),this.store.dispatch((0,z.PC)({payload:{action:"SaveNewPeer",status:k.Bn.COMPLETED}})),this.store.dispatch((0,E.uO)({payload:k.m6.CONNECT_PEER})),this.store.dispatch((0,z.Z8)({payload:N||[]})),{type:k.uR.NEWLY_ADDED_PEER_LND,payload:{peer:N[0]}})),(0,d.K)(N=>(this.handleErrorWithoutAlert("SaveNewPeer",k.m6.CONNECT_PEER,"Peer Connection Failed.",N),(0,_.of)({type:k.pg.VOID})))))))),this.detachPeer=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.DETACH_PEER_LND),(0,S.z)(U=>(this.store.dispatch((0,E.ac)({payload:k.m6.DISCONNECT_PEER})),this.httpClient.delete(this.CHILD_API_URL+p.NZ.PEERS_API+"/"+U.payload.pubkey).pipe((0,D.U)(N=>(this.logger.info(N),this.store.dispatch((0,E.uO)({payload:k.m6.DISCONNECT_PEER})),this.store.dispatch((0,E.jW)({payload:"Peer Disconnected Successfully."})),{type:k.uR.REMOVE_PEER_LND,payload:{pubkey:U.payload.pubkey}})),(0,d.K)(N=>(this.handleErrorWithAlert("DetachPeer",k.m6.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+p.NZ.PEERS_API+"/"+U.payload.pubkey,N),(0,_.of)({type:k.pg.VOID})))))))),this.saveNewInvoice=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.SAVE_NEW_INVOICE_LND),(0,S.z)(U=>(this.store.dispatch((0,E.ac)({payload:U.payload.uiMessage})),this.store.dispatch((0,z.PC)({payload:{action:"SaveNewInvoice",status:k.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+p.NZ.INVOICES_API,{memo:U.payload.memo,value:U.payload.value,private:U.payload.private,expiry:U.payload.expiry,is_amp:U.payload.is_amp}).pipe((0,D.U)(N=>(this.logger.info(N),this.store.dispatch((0,z.PC)({payload:{action:"SaveNewInvoice",status:k.Bn.COMPLETED}})),this.store.dispatch((0,z.WM)({payload:{num_max_invoices:U.payload.pageSize,reversed:!0}})),U.payload.openModal?(N.memo=U.payload.memo,N.value=U.payload.value,N.expiry=U.payload.expiry,N.private=U.payload.private,N.is_amp=U.payload.is_amp,N.cltv_expiry="144",N.creation_date=Math.round((new Date).getTime()/1e3).toString(),setTimeout(()=>{this.store.dispatch((0,E.qR)({payload:{data:{invoice:N,newlyAdded:!0,component:L.v}}}))},200),{type:k.pg.CLOSE_SPINNER,payload:U.payload.uiMessage}):{type:k.uR.NEWLY_SAVED_INVOICE_LND,payload:{paymentRequest:N.payment_request}})),(0,d.K)(N=>(this.handleErrorWithoutAlert("SaveNewInvoice",U.payload.uiMessage,"Add Invoice Failed.",N),(0,_.of)({type:k.pg.VOID})))))))),this.openNewChannel=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.SAVE_NEW_CHANNEL_LND),(0,S.z)(U=>(this.store.dispatch((0,E.ac)({payload:k.m6.OPEN_CHANNEL})),this.store.dispatch((0,z.PC)({payload:{action:"SaveNewChannel",status:k.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+p.NZ.CHANNELS_API,{node_pubkey:U.payload.selectedPeerPubkey,local_funding_amount:U.payload.fundingAmount,private:U.payload.private,trans_type:U.payload.transType,trans_type_value:U.payload.transTypeValue,spend_unconfirmed:U.payload.spendUnconfirmed}).pipe((0,D.U)(N=>(this.logger.info(N),this.store.dispatch((0,z.PC)({payload:{action:"SaveNewChannel",status:k.Bn.COMPLETED}})),this.store.dispatch((0,E.uO)({payload:k.m6.OPEN_CHANNEL})),this.store.dispatch((0,z.Bl)()),this.store.dispatch((0,z.UR)()),this.store.dispatch((0,z.Vv)({payload:{uiMessage:k.m6.NO_SPINNER,channelPoint:"ALL",showMessage:"Channel Added Successfully!"}})),{type:k.uR.FETCH_PENDING_CHANNELS_LND})),(0,d.K)(N=>(this.handleErrorWithoutAlert("SaveNewChannel",k.m6.OPEN_CHANNEL,"Opening Channel Failed.",N),(0,_.of)({type:k.pg.VOID})))))))),this.updateChannel=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.UPDATE_CHANNEL_LND),(0,S.z)(U=>(this.store.dispatch((0,E.ac)({payload:k.m6.UPDATE_CHAN_POLICY})),this.httpClient.post(this.CHILD_API_URL+p.NZ.CHANNELS_API+"/chanPolicy",{baseFeeMsat:U.payload.baseFeeMsat,feeRate:U.payload.feeRate,timeLockDelta:U.payload.timeLockDelta,max_htlc_msat:U.payload.maxHtlcMsat,min_htlc_msat:U.payload.minHtlcMsat,chanPoint:U.payload.chanPoint}).pipe((0,D.U)(N=>(this.logger.info(N),this.store.dispatch((0,E.uO)({payload:k.m6.UPDATE_CHAN_POLICY})),"all"===U.payload.chanPoint?this.store.dispatch((0,E.jW)({payload:"All Channels Updated Successfully."})):this.store.dispatch((0,E.jW)({payload:"Channel Updated Successfully!"})),{type:k.uR.FETCH_CHANNELS_LND})),(0,d.K)(N=>(this.handleErrorWithAlert("UpdateChannels",k.m6.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+p.NZ.CHANNELS_API+"/chanPolicy",N),(0,_.of)({type:k.pg.VOID})))))))),this.closeChannel=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.CLOSE_CHANNEL_LND),(0,S.z)(U=>{this.store.dispatch((0,E.ac)({payload:U.payload.forcibly?k.m6.FORCE_CLOSE_CHANNEL:k.m6.CLOSE_CHANNEL}));let N=this.CHILD_API_URL+p.NZ.CHANNELS_API+"/"+U.payload.channelPoint+"?force="+U.payload.forcibly;return U.payload.targetConf&&(N=N+"&target_conf="+U.payload.targetConf),U.payload.satPerByte&&(N=N+"&sat_per_byte="+U.payload.satPerByte),this.httpClient.delete(N).pipe((0,D.U)(Q=>(this.logger.info(Q),this.store.dispatch((0,E.uO)({payload:U.payload.forcibly?k.m6.FORCE_CLOSE_CHANNEL:k.m6.CLOSE_CHANNEL})),this.store.dispatch((0,z.UR)()),this.store.dispatch((0,z.Z7)()),this.store.dispatch((0,z.Vv)({payload:{uiMessage:k.m6.NO_SPINNER,channelPoint:"ALL",showMessage:Q.message}})),{type:k.pg.VOID})),(0,d.K)(Q=>(this.handleErrorWithAlert("CloseChannel",U.payload.forcibly?k.m6.FORCE_CLOSE_CHANNEL:k.m6.CLOSE_CHANNEL,"Unable to Close Channel. Try again later.",this.CHILD_API_URL+p.NZ.CHANNELS_API+"/"+U.payload.channelPoint+"?force="+U.payload.forcibly,Q),(0,_.of)({type:k.pg.VOID}))))}))),this.backupChannels=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.BACKUP_CHANNELS_LND),(0,S.z)(U=>(this.store.dispatch((0,E.ac)({payload:U.payload.uiMessage})),this.store.dispatch((0,z.PC)({payload:{action:"BackupChannels",status:k.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+p.NZ.CHANNELS_BACKUP_API+"/"+U.payload.channelPoint).pipe((0,D.U)(N=>(this.logger.info(N),this.store.dispatch((0,z.PC)({payload:{action:"BackupChannels",status:k.Bn.COMPLETED}})),this.store.dispatch((0,E.uO)({payload:U.payload.uiMessage})),this.store.dispatch((0,E.jW)({payload:U.payload.showMessage+" "+N.message})),{type:k.uR.BACKUP_CHANNELS_RES_LND,payload:N.message})),(0,d.K)(N=>(this.handleErrorWithAlert("BackupChannels",U.payload.uiMessage,U.payload.showMessage+" Unable to Backup Channel. Try again later.",this.CHILD_API_URL+p.NZ.CHANNELS_BACKUP_API+"/"+U.payload.channelPoint,N),(0,_.of)({type:k.pg.VOID})))))))),this.verifyChannel=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.VERIFY_CHANNEL_LND),(0,S.z)(U=>(this.store.dispatch((0,E.ac)({payload:k.m6.VERIFY_CHANNEL})),this.store.dispatch((0,z.PC)({payload:{action:"VerifyChannel",status:k.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+p.NZ.CHANNELS_BACKUP_API+"/verify/"+U.payload.channelPoint,{}).pipe((0,D.U)(N=>(this.logger.info(N),this.store.dispatch((0,z.PC)({payload:{action:"VerifyChannel",status:k.Bn.COMPLETED}})),this.store.dispatch((0,E.uO)({payload:k.m6.VERIFY_CHANNEL})),this.store.dispatch((0,E.jW)({payload:N.message})),{type:k.uR.VERIFY_CHANNEL_RES_LND,payload:N.message})),(0,d.K)(N=>(this.handleErrorWithAlert("VerifyChannel",k.m6.VERIFY_CHANNEL,"Unable to Verify Channel. Try again later.",this.CHILD_API_URL+p.NZ.CHANNELS_BACKUP_API+"/verify/"+U.payload.channelPoint,N),(0,_.of)({type:k.pg.VOID})))))))),this.restoreChannels=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.RESTORE_CHANNELS_LND),(0,S.z)(U=>(this.store.dispatch((0,E.ac)({payload:k.m6.RESTORE_CHANNEL})),this.store.dispatch((0,z.PC)({payload:{action:"RestoreChannels",status:k.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+p.NZ.CHANNELS_BACKUP_API+"/restore/"+U.payload.channelPoint,{}).pipe((0,D.U)(N=>(this.logger.info(N),this.store.dispatch((0,z.PC)({payload:{action:"RestoreChannels",status:k.Bn.COMPLETED}})),this.store.dispatch((0,E.uO)({payload:k.m6.RESTORE_CHANNEL})),this.store.dispatch((0,E.jW)({payload:N.message})),this.store.dispatch((0,z.B_)({payload:N.list})),{type:k.uR.RESTORE_CHANNELS_RES_LND,payload:N.message})),(0,d.K)(N=>(this.handleErrorWithAlert("RestoreChannels",k.m6.RESTORE_CHANNEL,"Unable to Restore Channel. Try again later.",this.CHILD_API_URL+p.NZ.CHANNELS_BACKUP_API+"/restore/"+U.payload.channelPoint,N),(0,_.of)({type:k.pg.VOID})))))))),this.fetchFees=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.FETCH_FEES_LND),(0,S.z)(()=>(this.store.dispatch((0,z.PC)({payload:{action:"FetchFees",status:k.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+p.NZ.FEES_API))),(0,D.U)(U=>(this.logger.info(U),this.store.dispatch((0,z.PC)({payload:{action:"FetchFees",status:k.Bn.COMPLETED}})),U.forwarding_events_history&&(this.store.dispatch((0,z.QJ)({payload:U.forwarding_events_history})),delete U.forwarding_events_history),{type:k.uR.SET_FEES_LND,payload:U||{}})),(0,d.K)(U=>(this.handleErrorWithoutAlert("FetchFees",k.m6.NO_SPINNER,"Fetching Fees Failed.",U),(0,_.of)({type:k.pg.VOID}))))),this.balanceBlockchainFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.FETCH_BLOCKCHAIN_BALANCE_LND),(0,S.z)(()=>(this.store.dispatch((0,z.PC)({payload:{action:"FetchBalance",status:k.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+p.NZ.BALANCE_API))),(0,D.U)(U=>(this.store.dispatch((0,z.PC)({payload:{action:"FetchBalance",status:k.Bn.COMPLETED}})),this.logger.info(U),{type:k.uR.SET_BLOCKCHAIN_BALANCE_LND,payload:U||{total_balance:""}})),(0,d.K)(U=>(this.handleErrorWithoutAlert("FetchBalance",k.m6.NO_SPINNER,"Fetching Blockchain Balance Failed.",U),(0,_.of)({type:k.pg.VOID}))))),this.networkInfoFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.FETCH_NETWORK_LND),(0,S.z)(()=>(this.store.dispatch((0,z.PC)({payload:{action:"FetchNetwork",status:k.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+p.NZ.NETWORK_API+"/info"))),(0,D.U)(U=>(this.logger.info(U),this.store.dispatch((0,z.PC)({payload:{action:"FetchNetwork",status:k.Bn.COMPLETED}})),{type:k.uR.SET_NETWORK_LND,payload:U||{}})),(0,d.K)(U=>(this.handleErrorWithoutAlert("FetchNetwork",k.m6.NO_SPINNER,"Fetching Network Failed.",U),(0,_.of)({type:k.pg.VOID}))))),this.channelsFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.FETCH_CHANNELS_LND),(0,S.z)(()=>(this.store.dispatch((0,z.PC)({payload:{action:"FetchChannels",status:k.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+p.NZ.CHANNELS_API).pipe((0,D.U)(U=>(this.logger.info(U),this.store.dispatch((0,z.PC)({payload:{action:"FetchChannels",status:k.Bn.COMPLETED}})),{type:k.uR.SET_CHANNELS_LND,payload:U.channels||[]})),(0,d.K)(U=>(this.handleErrorWithoutAlert("FetchChannels",k.m6.NO_SPINNER,"Fetching Channels Failed.",U),(0,_.of)({type:k.pg.VOID})))))))),this.channelsPendingFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.FETCH_PENDING_CHANNELS_LND),(0,S.z)(()=>(this.store.dispatch((0,z.PC)({payload:{action:"FetchPendingChannels",status:k.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+p.NZ.CHANNELS_API+"/pending").pipe((0,D.U)(U=>{this.logger.info(U),this.store.dispatch((0,z.PC)({payload:{action:"FetchPendingChannels",status:k.Bn.COMPLETED}}));const N={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 U&&(N.total_limbo_balance=U.total_limbo_balance,U.pending_closing_channels&&(N.closing.num_channels=U.pending_closing_channels.length,N.total_channels=N.total_channels+U.pending_closing_channels.length,U.pending_closing_channels.forEach(Q=>{N.closing.limbo_balance=+N.closing.limbo_balance+(Q.channel.local_balance?+Q.channel.local_balance:0)})),U.pending_force_closing_channels&&(N.force_closing.num_channels=U.pending_force_closing_channels.length,N.total_channels=N.total_channels+U.pending_force_closing_channels.length,U.pending_force_closing_channels.forEach(Q=>{N.force_closing.limbo_balance=+N.force_closing.limbo_balance+(Q.channel.local_balance?+Q.channel.local_balance:0)})),U.pending_open_channels&&(N.open.num_channels=U.pending_open_channels.length,N.total_channels=N.total_channels+U.pending_open_channels.length,U.pending_open_channels.forEach(Q=>{N.open.limbo_balance=+N.open.limbo_balance+(Q.channel.local_balance?+Q.channel.local_balance:0)})),U.waiting_close_channels&&(N.waiting_close.num_channels=U.waiting_close_channels.length,N.total_channels=N.total_channels+U.waiting_close_channels.length,U.waiting_close_channels.forEach(Q=>{N.waiting_close.limbo_balance=+N.waiting_close.limbo_balance+(Q.channel.local_balance?+Q.channel.local_balance:0)}))),{type:k.uR.SET_PENDING_CHANNELS_LND,payload:U?{pendingChannels:U,pendingChannelsSummary:N}:{pendingChannels:{},pendingChannelsSummary:N}}}),(0,d.K)(U=>(this.handleErrorWithoutAlert("FetchPendingChannels",k.m6.NO_SPINNER,"Fetching Pending Channels Failed.",U),(0,_.of)({type:k.pg.VOID})))))))),this.channelsClosedFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.FETCH_CLOSED_CHANNELS_LND),(0,S.z)(()=>(this.store.dispatch((0,z.PC)({payload:{action:"FetchClosedChannels",status:k.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+p.NZ.CHANNELS_API+"/closed").pipe((0,D.U)(U=>(this.logger.info(U),this.store.dispatch((0,z.PC)({payload:{action:"FetchClosedChannels",status:k.Bn.COMPLETED}})),{type:k.uR.SET_CLOSED_CHANNELS_LND,payload:U.channels||[]})),(0,d.K)(U=>(this.handleErrorWithoutAlert("FetchClosedChannels",k.m6.NO_SPINNER,"Fetching Closed Channels Failed.",U),(0,_.of)({type:k.pg.VOID})))))))),this.invoicesFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.FETCH_INVOICES_LND),(0,S.z)(U=>{this.store.dispatch((0,z.PC)({payload:{action:"FetchInvoices",status:k.Bn.INITIATED}}));const N=U.payload.num_max_invoices?U.payload.num_max_invoices:100,Q=U.payload.index_offset?U.payload.index_offset:0,Pe=!!U.payload.reversed&&U.payload.reversed;return this.httpClient.get(this.CHILD_API_URL+p.NZ.INVOICES_API+"?num_max_invoices="+N+"&index_offset="+Q+"&reversed="+Pe).pipe((0,D.U)(Le=>(this.logger.info(Le),this.store.dispatch((0,z.PC)({payload:{action:"FetchInvoices",status:k.Bn.COMPLETED}})),U.payload.reversed&&!U.payload.index_offset&&(Le.total_invoices=+(Le.last_index_offset||0)),{type:k.uR.SET_INVOICES_LND,payload:Le})),(0,d.K)(Le=>(this.handleErrorWithoutAlert("FetchInvoices",k.m6.NO_SPINNER,"Fetching Invoices Failed.",Le),(0,_.of)({type:k.pg.VOID}))))}))),this.transactionsFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.FETCH_TRANSACTIONS_LND),(0,S.z)(()=>(this.store.dispatch((0,z.PC)({payload:{action:"FetchTransactions",status:k.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+p.NZ.TRANSACTIONS_API))),(0,D.U)(U=>(this.logger.info(U),this.store.dispatch((0,z.PC)({payload:{action:"FetchTransactions",status:k.Bn.COMPLETED}})),{type:k.uR.SET_TRANSACTIONS_LND,payload:U||[]})),(0,d.K)(U=>(this.handleErrorWithoutAlert("FetchTransactions",k.m6.NO_SPINNER,"Fetching Transactions Failed.",U),(0,_.of)({type:k.pg.VOID}))))),this.utxosFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.FETCH_UTXOS_LND),(0,P.M)(this.store.select(I.Q5)),(0,S.z)(([U,N])=>(this.store.dispatch((0,z.PC)({payload:{action:"FetchUTXOs",status:k.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+p.NZ.WALLET_API+"/getUTXOs?max_confs="+(N&&N.block_height?N.block_height:1e9)))),(0,D.U)(U=>(this.logger.info(U),this.store.dispatch((0,z.PC)({payload:{action:"FetchUTXOs",status:k.Bn.COMPLETED}})),{type:k.uR.SET_UTXOS_LND,payload:U||[]})),(0,d.K)(U=>(this.handleErrorWithoutAlert("FetchUTXOs",k.m6.NO_SPINNER,"Fetching UTXOs Failed.",U),(0,_.of)({type:k.pg.VOID}))))),this.paymentsFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.FETCH_PAYMENTS_LND),(0,S.z)(U=>{this.store.dispatch((0,z.PC)({payload:{action:"FetchPayments",status:k.Bn.INITIATED}}));const N=U.payload.max_payments?U.payload.max_payments:100,Q=U.payload.index_offset?U.payload.index_offset:0,Pe=!!U.payload.reversed&&U.payload.reversed;return this.httpClient.get(this.CHILD_API_URL+p.NZ.PAYMENTS_API+"?max_payments="+N+"&index_offset="+Q+"&reversed="+Pe).pipe((0,D.U)(Le=>(this.logger.info(Le),this.store.dispatch((0,z.PC)({payload:{action:"FetchPayments",status:k.Bn.COMPLETED}})),{type:k.uR.SET_PAYMENTS_LND,payload:Le})),(0,d.K)(Le=>(this.handleErrorWithoutAlert("FetchPayments",k.m6.NO_SPINNER,"Fetching Payments Failed.",Le),(0,_.of)({type:k.uR.SET_PAYMENTS_LND,payload:{payments:[]}}))))}))),this.sendPayment=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.SEND_PAYMENT_LND),(0,S.z)(U=>{this.store.dispatch((0,E.ac)({payload:U.payload.uiMessage})),this.store.dispatch((0,z.PC)({payload:{action:"SendPayment",status:k.Bn.INITIATED}}));const N={};return N.paymentReq=U.payload.paymentReq,U.payload.paymentAmount&&(N.paymentAmount=U.payload.paymentAmount),U.payload.outgoingChannel&&(N.outgoingChannel=U.payload.outgoingChannel.chan_id),U.payload.allowSelfPayment&&(N.allowSelfPayment=U.payload.allowSelfPayment),U.payload.lastHopPubkey&&(N.lastHopPubkey=U.payload.lastHopPubkey),U.payload.feeLimitType&&U.payload.feeLimitType!==k.Vc[0].id&&(N.feeLimit={},N.feeLimit[U.payload.feeLimitType]=U.payload.feeLimit),this.httpClient.post(this.CHILD_API_URL+p.NZ.CHANNELS_API+"/transactions",N).pipe((0,D.U)(Q=>{if(this.logger.info(Q),this.store.dispatch((0,E.uO)({payload:U.payload.uiMessage})),this.store.dispatch((0,z.PC)({payload:{action:"SendPayment",status:k.Bn.COMPLETED}})),Q.payment_error)return U.payload.allowSelfPayment?(this.store.dispatch((0,z.WM)({payload:{num_max_invoices:this.invoicesPageSize,reversed:!0}})),{type:k.uR.SEND_PAYMENT_STATUS_LND,payload:Q}):(U.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",U.payload.uiMessage,"Send Payment Failed.",Q.payment_error):this.handleErrorWithAlert("SendPayment",U.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+p.NZ.CHANNELS_API+"/transactions",Q.payment_error),{type:k.pg.VOID});if(this.store.dispatch((0,E.uO)({payload:U.payload.uiMessage})),this.store.dispatch((0,z.PC)({payload:{action:"SendPayment",status:k.Bn.COMPLETED}})),this.store.dispatch((0,z.UR)()),this.store.dispatch((0,z.cQ)({payload:{max_payments:this.paymentsPageSize,reversed:!0}})),U.payload.allowSelfPayment)this.store.dispatch((0,z.WM)({payload:{num_max_invoices:this.invoicesPageSize,reversed:!0}}));else{let Pe="Payment Sent Successfully.";Q.payment_route&&Q.payment_route.total_fees_msat&&(Pe="Payment sent successfully with the total fee "+Q.payment_route.total_fees_msat+" (mSats)."),this.store.dispatch((0,E.jW)({payload:Pe}))}return{type:k.uR.SEND_PAYMENT_STATUS_LND,payload:Q}}),(0,d.K)(Q=>(this.logger.error("Error: "+JSON.stringify(Q)),U.payload.allowSelfPayment?(this.handleErrorWithoutAlert("SendPayment",U.payload.uiMessage,"Send Payment Failed.",Q),this.store.dispatch((0,z.WM)({payload:{num_max_invoices:this.invoicesPageSize,reversed:!0}})),(0,_.of)({type:k.uR.SEND_PAYMENT_STATUS_LND,payload:{error:this.commonService.extractErrorMessage(Q)}})):(U.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",U.payload.uiMessage,"Send Payment Failed.",Q):this.handleErrorWithAlert("SendPayment",U.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+p.NZ.CHANNELS_API+"/transactions",Q),(0,_.of)({type:k.pg.VOID})))))}))),this.graphNodeFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.FETCH_GRAPH_NODE_LND),(0,S.z)(U=>(this.store.dispatch((0,E.ac)({payload:k.m6.GET_NODE_ADDRESS})),this.store.dispatch((0,z.PC)({payload:{action:"FetchGraphNode",status:k.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+p.NZ.NETWORK_API+"/node/"+U.payload.pubkey).pipe((0,D.U)(N=>(this.logger.info(N),this.store.dispatch((0,E.uO)({payload:k.m6.GET_NODE_ADDRESS})),this.store.dispatch((0,z.PC)({payload:{action:"FetchGraphNode",status:k.Bn.COMPLETED}})),{type:k.uR.SET_GRAPH_NODE_LND,payload:N&&N.node?{node:N.node}:{node:null}})),(0,d.K)(N=>(this.handleErrorWithoutAlert("FetchGraphNode",k.m6.GET_NODE_ADDRESS,"Fetching Graph Node Failed.",N),(0,_.of)({type:k.pg.VOID})))))))),this.setGraphNode=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.SET_GRAPH_NODE_LND),(0,D.U)(U=>(this.logger.info(U.payload),U.payload))),{dispatch:!1}),this.getNewAddress=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.GET_NEW_ADDRESS_LND),(0,S.z)(U=>(this.store.dispatch((0,E.ac)({payload:k.m6.GENERATE_NEW_ADDRESS})),this.httpClient.get(this.CHILD_API_URL+p.NZ.NEW_ADDRESS_API+"?type="+U.payload.addressId).pipe((0,D.U)(N=>(this.logger.info(N),this.store.dispatch((0,E.uO)({payload:k.m6.GENERATE_NEW_ADDRESS})),{type:k.uR.SET_NEW_ADDRESS_LND,payload:N&&N.address?N.address:{}})),(0,d.K)(N=>(this.handleErrorWithAlert("GetNewAddress",k.m6.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+p.NZ.NEW_ADDRESS_API+"?type="+U.payload.addressId,N),(0,_.of)({type:k.pg.VOID})))))))),this.setNewAddress=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.SET_NEW_ADDRESS_LND),(0,D.U)(U=>(this.logger.info(U.payload),U.payload))),{dispatch:!1}),this.SetChannelTransaction=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.SET_CHANNEL_TRANSACTION_LND),(0,S.z)(U=>(this.store.dispatch((0,E.ac)({payload:k.m6.SEND_FUNDS})),this.store.dispatch((0,z.PC)({payload:{action:"SetChannelTransaction",status:k.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+p.NZ.TRANSACTIONS_API,{amount:U.payload.amount,address:U.payload.address,sendAll:U.payload.sendAll,fees:U.payload.fees,blocks:U.payload.blocks}).pipe((0,D.U)(N=>(this.logger.info(N),this.store.dispatch((0,z.PC)({payload:{action:"SetChannelTransaction",status:k.Bn.COMPLETED}})),this.store.dispatch((0,E.uO)({payload:k.m6.SEND_FUNDS})),this.store.dispatch((0,z.mC)()),this.store.dispatch((0,z.Bl)()),this.store.dispatch((0,z.UR)()),{type:k.uR.SET_CHANNEL_TRANSACTION_RES_LND,payload:N})),(0,d.K)(N=>(this.handleErrorWithoutAlert("SetChannelTransaction",k.m6.SEND_FUNDS,"Sending Fund Failed.",N),(0,_.of)({type:k.pg.VOID})))))))),this.fetchForwardingHistory=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.GET_FORWARDING_HISTORY_LND),(0,S.z)(U=>{this.store.dispatch((0,z.PC)({payload:{action:"FetchForwardingHistory",status:k.Bn.INITIATED}}));const N={num_max_events:U.payload.num_max_events,index_offset:U.payload.index_offset,end_time:U.payload.end_time,start_time:U.payload.start_time};return this.httpClient.post(this.CHILD_API_URL+p.NZ.SWITCH_API,N).pipe((0,D.U)(Q=>(this.logger.info(Q),this.store.dispatch((0,z.PC)({payload:{action:"FetchForwardingHistory",status:k.Bn.COMPLETED}})),{type:k.uR.SET_FORWARDING_HISTORY_LND,payload:Q})),(0,d.K)(Q=>(this.handleErrorWithAlert("FetchForwardingHistory",k.m6.NO_SPINNER,"Get Forwarding History Failed",this.CHILD_API_URL+p.NZ.SWITCH_API,Q),(0,_.of)({type:k.pg.VOID}))))}))),this.queryRoutesFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.GET_QUERY_ROUTES_LND),(0,S.z)(U=>{let N=this.CHILD_API_URL+p.NZ.NETWORK_API+"/routes/"+U.payload.destPubkey+"/"+U.payload.amount;return U.payload.outgoingChanId&&(N=N+"?outgoing_chan_id="+U.payload.outgoingChanId),this.httpClient.get(N).pipe((0,D.U)(Q=>(this.logger.info(Q),{type:k.uR.SET_QUERY_ROUTES_LND,payload:Q})),(0,d.K)(Q=>(this.store.dispatch((0,z.kL)({payload:{routes:[]}})),this.handleErrorWithAlert("GetQueryRoutes",k.m6.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+p.NZ.NETWORK_API,Q),(0,_.of)({type:k.pg.VOID}))))}))),this.setQueryRoutes=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.SET_QUERY_ROUTES_LND),(0,D.U)(U=>U.payload)),{dispatch:!1}),this.genSeed=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.GEN_SEED_LND),(0,S.z)(U=>(this.store.dispatch((0,E.ac)({payload:k.m6.GEN_SEED})),this.httpClient.get(this.CHILD_API_URL+p.NZ.WALLET_API+"/genseed/"+U.payload).pipe((0,D.U)(N=>(this.logger.info("Generated GenSeed!"),this.logger.info(N),this.store.dispatch((0,E.uO)({payload:k.m6.GEN_SEED})),{type:k.uR.GEN_SEED_RESPONSE_LND,payload:N.cipher_seed_mnemonic})),(0,d.K)(N=>(this.handleErrorWithAlert("GenSeed",k.m6.GEN_SEED,"Genseed Generation Failed",this.CHILD_API_URL+p.NZ.WALLET_API+"/genseed/"+U.payload,N),(0,_.of)({type:k.pg.VOID})))))))),this.updateSelNodeOptions=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.pg.UPDATE_SELECTED_NODE_OPTIONS),(0,S.z)(()=>this.httpClient.get(this.CHILD_API_URL+p.NZ.WALLET_API+"/updateSelNodeOptions").pipe((0,D.U)(U=>(this.logger.info("Update Sel Node Successfull"),this.logger.info(U),{type:k.pg.VOID})),(0,d.K)(U=>(this.handleErrorWithAlert("UpdateSelectedNodeOptions",k.m6.NO_SPINNER,"Update macaroon for newly initialized node failed! Please check the macaroon path and restart the server!","Update Macaroon",U),(0,_.of)({type:k.pg.VOID}))))))),this.genSeedResponse=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.GEN_SEED_RESPONSE_LND),(0,D.U)(U=>U.payload)),{dispatch:!1}),this.initWalletRes=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.INIT_WALLET_RESPONSE_LND),(0,D.U)(U=>U.payload)),{dispatch:!1}),this.initWallet=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.INIT_WALLET_LND),(0,S.z)(U=>(this.store.dispatch((0,E.ac)({payload:k.m6.INITIALIZE_WALLET})),this.httpClient.post(this.CHILD_API_URL+p.NZ.WALLET_API+"/wallet/initwallet",{wallet_password:U.payload.pwd,cipher_seed_mnemonic:U.payload.cipher?U.payload.cipher:"",aezeed_passphrase:U.payload.passphrase?U.payload.passphrase:""}).pipe((0,D.U)(N=>(this.logger.info(N),this.store.dispatch((0,E.uO)({payload:k.m6.INITIALIZE_WALLET})),{type:k.uR.INIT_WALLET_RESPONSE_LND,payload:N})),(0,d.K)(N=>(this.handleErrorWithAlert("InitWallet",k.m6.INITIALIZE_WALLET,"Wallet Initialization Failed",this.CHILD_API_URL+p.NZ.WALLET_API+"/initwallet",N),(0,_.of)({type:k.pg.VOID})))))))),this.unlockWallet=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.UNLOCK_WALLET_LND),(0,S.z)(U=>(this.store.dispatch((0,E.ac)({payload:k.m6.UNLOCK_WALLET})),this.httpClient.post(this.CHILD_API_URL+p.NZ.WALLET_API+"/wallet/unlockwallet",{wallet_password:U.payload.pwd}).pipe((0,D.U)(N=>(this.logger.info(N),this.logger.info("Successfully Unlocked!"),this.sessionService.setItem("lndUnlocked","true"),this.store.dispatch((0,E.uO)({payload:k.m6.UNLOCK_WALLET})),this.store.dispatch((0,E.ac)({payload:k.m6.WAIT_SYNC_NODE})),setTimeout(()=>{this.store.dispatch((0,E.uO)({payload:k.m6.WAIT_SYNC_NODE})),this.store.dispatch((0,z.sQ)({payload:{loadPage:"HOME"}}))},5e3),{type:k.pg.VOID})),(0,d.K)(N=>(this.handleErrorWithAlert("UnlockWallet",k.m6.UNLOCK_WALLET,"Unlock Wallet Failed",this.CHILD_API_URL+p.NZ.WALLET_API+"/unlockwallet",N),(0,_.of)({type:k.pg.VOID}))))))),{dispatch:!1}),this.peerLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.PEER_LOOKUP_LND),(0,S.z)(U=>(this.store.dispatch((0,E.ac)({payload:k.m6.SEARCHING_NODE})),this.store.dispatch((0,z.PC)({payload:{action:"Lookup",status:k.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+p.NZ.NETWORK_API+"/node/"+U.payload).pipe((0,D.U)(N=>(this.logger.info(N),this.store.dispatch((0,E.uO)({payload:k.m6.SEARCHING_NODE})),this.store.dispatch((0,z.PC)({payload:{action:"Lookup",status:k.Bn.COMPLETED}})),{type:k.uR.SET_LOOKUP_LND,payload:N})),(0,d.K)(N=>(this.handleErrorWithAlert("Lookup",k.m6.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+p.NZ.NETWORK_API+"/node/"+U.payload,N),(0,_.of)({type:k.pg.VOID})))))))),this.channelLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.CHANNEL_LOOKUP_LND),(0,S.z)(U=>(this.store.dispatch((0,E.ac)({payload:U.payload.uiMessage})),this.store.dispatch((0,z.PC)({payload:{action:"Lookup",status:k.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+p.NZ.NETWORK_API+"/edge/"+U.payload.channelID).pipe((0,D.U)(N=>(this.logger.info(N),this.store.dispatch((0,E.uO)({payload:U.payload.uiMessage})),this.store.dispatch((0,z.PC)({payload:{action:"Lookup",status:k.Bn.COMPLETED}})),{type:k.uR.SET_LOOKUP_LND,payload:N})),(0,d.K)(N=>(this.handleErrorWithAlert("Lookup",U.payload.uiMessage,"Channel Lookup Failed",this.CHILD_API_URL+p.NZ.NETWORK_API+"/edge/"+U.payload.channelID,N),(0,_.of)({type:k.pg.VOID})))))))),this.invoiceLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.INVOICE_LOOKUP_LND),(0,S.z)(U=>{this.store.dispatch((0,E.ac)({payload:k.m6.SEARCHING_INVOICE})),this.store.dispatch((0,z.PC)({payload:{action:"Lookup",status:k.Bn.INITIATED}}));let N=this.CHILD_API_URL+p.NZ.INVOICES_API+"/lookup";return N=U.payload.paymentAddress&&""!==U.payload.paymentAddress?N+"?payment_addr="+U.payload.paymentAddress:N+"?payment_hash="+U.payload.paymentHash,this.httpClient.get(N).pipe((0,D.U)(Q=>(this.logger.info(Q),this.store.dispatch((0,E.uO)({payload:k.m6.SEARCHING_INVOICE})),this.store.dispatch((0,z.PC)({payload:{action:"Lookup",status:k.Bn.COMPLETED}})),this.store.dispatch((0,z.aL)({payload:Q})),{type:k.uR.SET_LOOKUP_LND,payload:Q})),(0,d.K)(Q=>(this.store.dispatch((0,z.PC)({payload:{action:"Lookup",status:k.Bn.ERROR}})),this.handleErrorWithoutAlert("Lookup",k.m6.SEARCHING_INVOICE,"Invoice Lookup Failed",Q),U.payload.openSnackBar&&this.store.dispatch((0,E.jW)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,_.of)({type:k.uR.SET_LOOKUP_LND,payload:{error:Q}}))))}))),this.paymentLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.PAYMENT_LOOKUP_LND),(0,S.z)(U=>(this.store.dispatch((0,E.ac)({payload:k.m6.SEARCHING_PAYMENT})),this.store.dispatch((0,z.PC)({payload:{action:"Lookup",status:k.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+p.NZ.PAYMENTS_API+"/lookup/"+U.payload).pipe((0,D.U)(N=>(this.logger.info(N),this.store.dispatch((0,E.uO)({payload:k.m6.SEARCHING_PAYMENT})),this.store.dispatch((0,z.PC)({payload:{action:"Lookup",status:k.Bn.COMPLETED}})),this.store.dispatch((0,z.qY)({payload:N})),{type:k.uR.SET_LOOKUP_LND,payload:N})),(0,d.K)(N=>(this.store.dispatch((0,z.PC)({payload:{action:"Lookup",status:k.Bn.ERROR}})),this.handleErrorWithoutAlert("Lookup",k.m6.SEARCHING_PAYMENT,"Payment Lookup Failed",N),(0,_.of)({type:k.uR.SET_LOOKUP_LND,payload:{error:N}})))))))),this.setLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.SET_LOOKUP_LND),(0,D.U)(U=>(this.logger.info(U.payload),U.payload))),{dispatch:!1}),this.getRestoreChannelList=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.RESTORE_CHANNELS_LIST_LND),(0,S.z)(()=>(this.store.dispatch((0,z.PC)({payload:{action:"RestoreChannelsList",status:k.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+p.NZ.CHANNELS_BACKUP_API+"/restore/list").pipe((0,D.U)(U=>(this.logger.info(U),this.store.dispatch((0,z.PC)({payload:{action:"RestoreChannelsList",status:k.Bn.COMPLETED}})),{type:k.uR.SET_RESTORE_CHANNELS_LIST_LND,payload:U||{all_restore_exists:!1,files:[]}})),(0,d.K)(U=>(this.handleErrorWithAlert("RestoreChannelsList",k.m6.NO_SPINNER,"Restore Channels List Failed",this.CHILD_API_URL+p.NZ.CHANNELS_BACKUP_API,U),(0,_.of)({type:k.pg.VOID})))))))),this.setRestoreChannelList=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.SET_RESTORE_CHANNELS_LIST_LND),(0,D.U)(U=>(this.logger.info(U.payload),U.payload))),{dispatch:!1}),this.allLightningTransactionsFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.GET_ALL_LIGHTNING_TRANSATIONS_LND),(0,S.z)(()=>(this.store.dispatch((0,z.PC)({payload:{action:"FetchLightningTransactions",status:k.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+p.NZ.PAYMENTS_API+"/alltransactions").pipe((0,D.U)(U=>(this.logger.info(U),this.store.dispatch((0,z.PC)({payload:{action:"FetchLightningTransactions",status:k.Bn.COMPLETED}})),{type:k.uR.SET_ALL_LIGHTNING_TRANSATIONS_LND,payload:U})),(0,d.K)(U=>(this.handleErrorWithoutAlert("FetchLightningTransactions",k.m6.NO_SPINNER,"Fetching All Lightning Transaction Failed.",U),(0,_.of)({type:k.pg.VOID})))))))),this.pageSettingsFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.FETCH_PAGE_SETTINGS_LND),(0,S.z)(()=>(this.store.dispatch((0,z.PC)({payload:{action:"FetchPageSettings",status:k.Bn.INITIATED}})),this.httpClient.get(p.NZ.PAGE_SETTINGS_API).pipe((0,D.U)(U=>(this.logger.info(U),this.store.dispatch((0,z.PC)({payload:{action:"FetchPageSettings",status:k.Bn.COMPLETED}})),this.invoicesPageSize=(U&&Object.keys(U).length>0?U.find(N=>"transactions"===N.pageId)?.tables.find(N=>"invoices"===N.tableId):k.gK.find(N=>"transactions"===N.pageId)?.tables.find(N=>"invoices"===N.tableId)).recordsPerPage,this.paymentsPageSize=(U&&Object.keys(U).length>0?U.find(N=>"transactions"===N.pageId)?.tables.find(N=>"payments"===N.tableId):k.gK.find(N=>"transactions"===N.pageId)?.tables.find(N=>"payments"===N.tableId)).recordsPerPage,this.store.dispatch((0,z.WM)({payload:{num_max_invoices:this.invoicesPageSize,reversed:!0}})),{type:k.uR.SET_PAGE_SETTINGS_LND,payload:U||[]})),(0,d.K)(U=>(this.handleErrorWithoutAlert("FetchPageSettings",k.m6.NO_SPINNER,"Fetching Page Settings Failed.",U),(0,_.of)({type:k.pg.VOID})))))))),this.savePageSettings=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.SAVE_PAGE_SETTINGS_LND),(0,S.z)(U=>(this.store.dispatch((0,E.ac)({payload:k.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,z.PC)({payload:{action:"SavePageSettings",status:k.Bn.INITIATED}})),this.httpClient.post(p.NZ.PAGE_SETTINGS_API,U.payload).pipe((0,D.U)(N=>{this.logger.info(N),this.store.dispatch((0,z.PC)({payload:{action:"SavePageSettings",status:k.Bn.COMPLETED}})),this.store.dispatch((0,E.uO)({payload:k.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,E.jW)({payload:"Page Layout Updated Successfully!"}));const Q=(N.find(Le=>"transactions"===Le.pageId)?.tables.find(Le=>"invoices"===Le.tableId)||k.gK.find(Le=>"transactions"===Le.pageId)?.tables.find(Le=>"invoices"===Le.tableId)).recordsPerPage,Pe=(N.find(Le=>"transactions"===Le.pageId)?.tables.find(Le=>"payments"===Le.tableId)||k.gK.find(Le=>"transactions"===Le.pageId)?.tables.find(Le=>"payments"===Le.tableId)).recordsPerPage;return Q!==this.invoicesPageSize&&(this.invoicesPageSize=Q,this.store.dispatch((0,z.WM)({payload:{num_max_invoices:this.invoicesPageSize,reversed:!0}}))),Pe!==this.paymentsPageSize&&(this.paymentsPageSize=Pe),{type:k.uR.SET_PAGE_SETTINGS_LND,payload:N||[]}}),(0,d.K)(N=>(this.handleErrorWithAlert("SavePageSettings",k.m6.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",p.NZ.PAGE_SETTINGS_API,N),(0,_.of)({type:k.pg.VOID})))))))),this.store.select(I.yA).pipe((0,l.R)(this.unSubs[0])).subscribe(U=>{U.FetchInfo.status!==k.Bn.COMPLETED&&U.FetchInfo.status!==k.Bn.ERROR||U.FetchFees.status!==k.Bn.COMPLETED&&U.FetchFees.status!==k.Bn.ERROR||U.FetchBalanceBlockchain.status!==k.Bn.COMPLETED&&U.FetchBalanceBlockchain.status!==k.Bn.ERROR||U.FetchAllChannels.status!==k.Bn.COMPLETED&&U.FetchAllChannels.status!==k.Bn.ERROR||U.FetchPendingChannels.status!==k.Bn.COMPLETED&&U.FetchPendingChannels.status!==k.Bn.ERROR||this.flgInitialized||(this.store.dispatch((0,E.uO)({payload:k.m6.INITALIZE_NODE_DATA})),this.flgInitialized=!0)}),this.wsService.lndWSMessages.pipe((0,l.R)(this.unSubs[1])).subscribe(U=>{if(this.logger.info("Received new message from the service: "+JSON.stringify(U)),U)if(U.type===k.g8.INVOICE)this.logger.info(U),U&&U.result&&U.result.payment_request&&this.store.dispatch((0,z.aL)({payload:U.result}));else this.logger.info("Received Event from WS: "+JSON.stringify(U))})}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,E.ac)({payload:k.m6.INITALIZE_NODE_DATA})),this.store.dispatch((0,E._V)({payload:m}));let h=this.location.path();h.includes("/cln/")?h=h?.replace("/cln/","/lnd/"):h.includes("/ecl/")&&(h=h?.replace("/ecl/","/lnd/")),(h.includes("/unlock")||h.includes("/login")||h.includes("/error")||""===h||"HOME"===o||h.includes("?access-key="))&&(h="/lnd/home"),this.router.navigate([h]),this.store.dispatch((0,z.wD)()),this.store.dispatch((0,z.Bl)()),this.store.dispatch((0,z.UR)()),this.store.dispatch((0,z.Z7)()),this.store.dispatch((0,z.Zh)()),this.store.dispatch((0,z.$W)()),this.store.dispatch((0,z.Rv)()),this.store.dispatch((0,z.SN)()),this.store.dispatch((0,z.cQ)({payload:{max_payments:1e5,reversed:!0}}))}handleErrorWithoutAlert(i,o,m,h){this.logger.error("ERROR IN: "+i+"\n"+JSON.stringify(h)),401===h.status?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,E.ts)()),this.store.dispatch((0,E.kS)()),this.store.dispatch((0,E.jW)({payload:"Authentication Failed. Redirecting to Login."}))):(this.store.dispatch((0,E.uO)({payload:o})),this.store.dispatch((0,z.PC)({payload:{action:i,status:k.Bn.ERROR,statusCode:h.status.toString(),message:this.commonService.extractErrorMessage(h,m)}})))}handleErrorWithAlert(i,o,m,h,y){if(this.logger.error(y),401===y.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,E.ts)()),this.store.dispatch((0,E.kS)()),this.store.dispatch((0,E.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,E.uO)({payload:o}));const A=this.commonService.extractErrorMessage(y);this.store.dispatch((0,E.qR)({payload:{data:{type:"ERROR",alertTitle:m,message:{code:y.status,message:A,URL:h},component:M.H}}})),this.store.dispatch((0,z.PC)({payload:{action:i,status:k.Bn.ERROR,statusCode:y.status.toString(),message:A,URL:h}}))}}ngOnDestroy(){this.unSubs.forEach(i=>{i.next(null),i.complete()})}static#e=this.\u0275fac=function(o){return new(o||ve)(V.LFG(e.eX),V.LFG(Z.eN),V.LFG(q.yh),V.LFG(te.mQ),V.LFG(ne.v),V.LFG(le.m),V.LFG(re.uw),V.LFG(_e.F0),V.LFG(he.d),V.LFG(ae.Ye))};static#t=this.\u0275prov=V.Yz7({token:ve,factory:ve.\u0275fac})}},6529:(Ge,X,f)=>{"use strict";f.d(X,{$k:()=>_,Bo:()=>P,Ef:()=>E,JG:()=>L,N7:()=>le,P2:()=>Z,PP:()=>p,Pr:()=>S,Q5:()=>l,T4:()=>ne,Wi:()=>M,ZW:()=>z,_f:()=>_e,bx:()=>he,dx:()=>k,l5:()=>re,ni:()=>V,qU:()=>q,yA:()=>d});var e=f(9263);const t=(0,e.ZF)("lnd"),_=(0,e.P1)(t,ae=>ae.nodeSettings),S=(0,e.P1)(t,ae=>({pageSettings:ae.pageSettings,apiCallStatus:ae.apisCallStatus.FetchPageSettings})),l=(0,e.P1)(t,ae=>ae.information),d=((0,e.P1)(t,ae=>({information:ae.information,apiCallStatus:ae.apisCallStatus.FetchInfo})),(0,e.P1)(t,ae=>ae.apisCallStatus)),P=(0,e.P1)(t,ae=>({forwardingHistory:ae.forwardingHistory,apiCallStatus:ae.apisCallStatus.FetchForwardingHistory})),p=(0,e.P1)(t,ae=>({listPayments:ae.listPayments,apiCallStatus:ae.apisCallStatus.FetchPayments})),L=(0,e.P1)(t,ae=>({fees:ae.fees,apiCallStatus:ae.apisCallStatus.FetchFees})),M=(0,e.P1)(t,ae=>({peers:ae.peers,apiCallStatus:ae.apisCallStatus.FetchPeers})),k=(0,e.P1)(t,ae=>({transactions:ae.transactions,apiCallStatus:ae.apisCallStatus.FetchTransactions})),E=(0,e.P1)(t,ae=>({listInvoices:ae.listInvoices,apiCallStatus:ae.apisCallStatus.FetchInvoices})),z=(0,e.P1)(t,ae=>({channels:ae.channels,channelsSummary:ae.channelsSummary,lightningBalance:ae.lightningBalance,apiCallStatus:ae.apisCallStatus.FetchAllChannels})),V=((0,e.P1)(t,ae=>({channelsSummary:ae.channelsSummary,pendingChannels:ae.pendingChannels,closedChannels:ae.closedChannels,apiCallStatus:ae.apisCallStatus.FetchAllChannels})),(0,e.P1)(t,ae=>({pendingChannels:ae.pendingChannels,pendingChannelsSummary:ae.pendingChannelsSummary,apiCallStatus:ae.apisCallStatus.FetchPendingChannels}))),Z=(0,e.P1)(t,ae=>({closedChannels:ae.closedChannels,apiCallStatus:ae.apisCallStatus.FetchClosedChannels})),q=(0,e.P1)(t,ae=>({blockchainBalance:ae.blockchainBalance,apiCallStatus:ae.apisCallStatus.FetchBalanceBlockchain})),ne=((0,e.P1)(t,ae=>({lightningBalance:ae.lightningBalance,apiCallStatus:ae.apisCallStatus.FetchAllChannels})),(0,e.P1)(t,ae=>({utxos:ae.utxos,apiCallStatus:ae.apisCallStatus.FetchUTXOs}))),le=(0,e.P1)(t,ae=>({networkInfo:ae.networkInfo,apiCallStatus:ae.apisCallStatus.FetchNetwork})),re=(0,e.P1)(t,ae=>({allLightningTransactions:ae.allLightningTransactions,apiCallStatus:ae.apisCallStatus.FetchLightningTransactions})),_e=(0,e.P1)(t,ae=>({channels:ae.channels,pendingChannels:ae.pendingChannels,closedChannels:ae.closedChannels})),he=(0,e.P1)(t,ae=>({information:ae.information,nodeSettings:ae.nodeSettings,apiCallStatus:ae.apisCallStatus.FetchInfo}))},8627:(Ge,X,f)=>{"use strict";f.d(X,{v:()=>ze});var e=f(4481),t=f(9306),_=f(253),S=f(8951),l=f(7731),D=f(6529),d=f(2560),P=f(5043),p=f(62),L=f(930),M=f(9263),k=f(4666),E=f(3505),z=f(6722),I=f(3704),V=f(4522),Z=f(2156),q=f(3012),te=f(7822),ne=f(1528),le=f(1708),re=f(6896),_e=f(6021),he=f(6895),ae=f(3390);const ve=["scrollContainer"];function T(Ue,oe){if(1&Ue&&d._UZ(0,"qr-code",33),2&Ue){const bt=d.oxw();d.Q6J("value",null==bt.invoice?null:bt.invoice.payment_request)("size",bt.qrWidth)("errorCorrectionLevel","L")}}function i(Ue,oe){1&Ue&&(d.TgZ(0,"span",34),d._uU(1,"N/A"),d.qZA())}function o(Ue,oe){if(1&Ue&&d._UZ(0,"qr-code",33),2&Ue){const bt=d.oxw();d.Q6J("value",null==bt.invoice?null:bt.invoice.payment_request)("size",bt.qrWidth)("errorCorrectionLevel","L")}}function m(Ue,oe){1&Ue&&(d.TgZ(0,"span",35),d._uU(1,"QR Code Not Applicable"),d.qZA())}function h(Ue,oe){1&Ue&&d._UZ(0,"mat-divider",22),2&Ue&&d.Q6J("inset",!0)}function y(Ue,oe){1&Ue&&(d.ynx(0),d._uU(1," (zero amount) "),d.BQk())}function A(Ue,oe){1&Ue&&d._UZ(0,"span",41)}const R=function(){return[]};function v(Ue,oe){if(1&Ue&&(d.TgZ(0,"div",37)(1,"div",38)(2,"span",39),d._uU(3),d.ALo(4,"number"),d.qZA(),d.YNc(5,A,1,0,"span",40),d.qZA()()),2&Ue){const bt=d.oxw(2);d.xp6(3),d.hij("",d.lcZ(4,2,null==bt.invoice?null:bt.invoice.amt_paid_sat)," Sats"),d.xp6(2),d.Q6J("ngForOf",d.DdM(4,R).constructor(35))}}function a(Ue,oe){if(1&Ue&&(d.TgZ(0,"div"),d._uU(1),d.ALo(2,"number"),d.qZA()),2&Ue){const bt=d.oxw(2);d.xp6(1),d.hij("",d.lcZ(2,1,null==bt.invoice?null:bt.invoice.amt_paid_sat)," Sats")}}function C(Ue,oe){if(1&Ue&&(d.ynx(0),d.YNc(1,v,6,5,"div",36),d.YNc(2,a,3,3,"div",21),d.BQk()),2&Ue){const bt=d.oxw();d.xp6(1),d.Q6J("ngIf",bt.flgInvoicePaid),d.xp6(1),d.Q6J("ngIf",!bt.flgInvoicePaid)}}function U(Ue,oe){1&Ue&&(d.TgZ(0,"span"),d._uU(1,"-"),d.qZA())}function N(Ue,oe){1&Ue&&d._UZ(0,"mat-spinner",43),2&Ue&&d.Q6J("diameter",20)}function Q(Ue,oe){if(1&Ue&&(d.ynx(0),d.YNc(1,U,2,0,"span",21),d.YNc(2,N,1,1,"mat-spinner",42),d.BQk()),2&Ue){const bt=d.oxw();d.xp6(1),d.Q6J("ngIf","OPEN"!==(null==bt.invoice?null:bt.invoice.state)||!bt.flgVersionCompatible),d.xp6(1),d.Q6J("ngIf","OPEN"===(null==bt.invoice?null:bt.invoice.state)&&bt.flgVersionCompatible)}}function Pe(Ue,oe){1&Ue&&d.GkF(0)}function Le(Ue,oe){if(1&Ue&&(d.TgZ(0,"div"),d.YNc(1,Pe,1,0,"ng-container",44),d.qZA()),2&Ue){d.oxw();const bt=d.MAs(79);d.xp6(1),d.Q6J("ngTemplateOutlet",bt)}}function Ye(Ue,oe){if(1&Ue){const bt=d.EpF();d.TgZ(0,"div",45)(1,"button",46),d.NdJ("click",function(){d.CHM(bt);const nt=d.oxw();return d.KtG(nt.onScrollDown())}),d.TgZ(2,"mat-icon",47),d._uU(3,"arrow_downward"),d.qZA()()()}}function $e(Ue,oe){1&Ue&&(d.TgZ(0,"p"),d._uU(1,"Show Advanced"),d.qZA())}function Ve(Ue,oe){1&Ue&&(d.TgZ(0,"p"),d._uU(1,"Hide Advanced"),d.qZA())}function be(Ue,oe){if(1&Ue){const bt=d.EpF();d.TgZ(0,"button",48),d.NdJ("copied",function(nt){d.CHM(bt);const $t=d.oxw();return d.KtG($t.onCopyPayment(nt))}),d._uU(1),d.qZA()}if(2&Ue){const bt=d.oxw();d.Q6J("payload",null==bt.invoice?null:bt.invoice.payment_request),d.xp6(1),d.Oqu(bt.screenSize===bt.screenSizeEnum.XS?"Copy Payment":"Copy Payment Request")}}function et(Ue,oe){if(1&Ue){const bt=d.EpF();d.TgZ(0,"button",49),d.NdJ("click",function(){d.CHM(bt);const nt=d.oxw();return d.KtG(nt.onClose())}),d._uU(1,"OK"),d.qZA()}}const je=function(Ue){return{"mr-0":Ue}};function ye(Ue,oe){if(1&Ue&&d._UZ(0,"span",64),2&Ue){const bt=d.oxw(4);d.Q6J("ngClass",d.VKq(1,je,bt.screenSize===bt.screenSizeEnum.XS))}}function Te(Ue,oe){if(1&Ue&&d._UZ(0,"span",65),2&Ue){const bt=d.oxw(4);d.Q6J("ngClass",d.VKq(1,je,bt.screenSize===bt.screenSizeEnum.XS))}}function He(Ue,oe){if(1&Ue&&d._UZ(0,"span",66),2&Ue){const bt=d.oxw(4);d.Q6J("ngClass",d.VKq(1,je,bt.screenSize===bt.screenSizeEnum.XS))}}function Ee(Ue,oe){if(1&Ue&&(d.TgZ(0,"div",53)(1,"div",58)(2,"span",59),d.YNc(3,ye,1,3,"span",60),d.YNc(4,Te,1,3,"span",61),d.YNc(5,He,1,3,"span",62),d._uU(6),d.qZA(),d.TgZ(7,"span",63),d._uU(8),d.ALo(9,"number"),d.qZA()(),d._UZ(10,"mat-divider",22),d.qZA()),2&Ue){const bt=oe.$implicit,Be=d.oxw(3);d.xp6(3),d.Q6J("ngIf","SETTLED"===bt.state),d.xp6(1),d.Q6J("ngIf","ACCEPTED"===bt.state),d.xp6(1),d.Q6J("ngIf","CANCELED"===bt.state),d.xp6(1),d.hij(" ",bt.chan_id," "),d.xp6(2),d.Oqu(d.xi3(9,6,+bt.amt_msat/1e3||0,Be.getDecimalFormat(bt))),d.xp6(2),d.Q6J("inset",!0)}}function we(Ue,oe){if(1&Ue){const bt=d.EpF();d.TgZ(0,"div",17)(1,"mat-expansion-panel",51),d.NdJ("opened",function(){d.CHM(bt);const nt=d.oxw(2);return d.KtG(nt.flgOpened=!0)})("closed",function(){d.CHM(bt);const nt=d.oxw(2);return d.KtG(nt.onExpansionClosed())}),d.TgZ(2,"mat-expansion-panel-header")(3,"mat-panel-title")(4,"h4",52),d._uU(5,"HTLCs"),d.qZA()()(),d.TgZ(6,"div",53)(7,"div",54)(8,"span",55),d._uU(9,"Channel ID"),d.qZA(),d.TgZ(10,"span",56),d._uU(11,"Amount (Sats)"),d.qZA()(),d._UZ(12,"mat-divider",22),d.YNc(13,Ee,11,9,"div",57),d.qZA()()()}if(2&Ue){const bt=d.oxw(2);d.xp6(12),d.Q6J("inset",!0),d.xp6(1),d.Q6J("ngForOf",null==bt.invoice?null:bt.invoice.htlcs)}}function de(Ue,oe){1&Ue&&d._UZ(0,"mat-divider",22),2&Ue&&d.Q6J("inset",!0)}function Me(Ue,oe){if(1&Ue&&(d._UZ(0,"mat-divider",22),d.TgZ(1,"div",17)(2,"div",23)(3,"h4",19),d._uU(4,"Preimage"),d.qZA(),d.TgZ(5,"span",24),d._uU(6),d.qZA()()(),d._UZ(7,"mat-divider",22),d.TgZ(8,"div",17)(9,"div",18)(10,"h4",19),d._uU(11,"State"),d.qZA(),d.TgZ(12,"span",24),d._uU(13),d.qZA()(),d.TgZ(14,"div",18)(15,"h4",19),d._uU(16,"Expiry"),d.qZA(),d.TgZ(17,"span",24),d._uU(18),d.ALo(19,"date"),d.qZA()()(),d._UZ(20,"mat-divider",22),d.TgZ(21,"div",17)(22,"div",18)(23,"h4",19),d._uU(24,"Private Routing Hints"),d.qZA(),d.TgZ(25,"span",24),d._uU(26),d.qZA()(),d.TgZ(27,"div",18)(28,"h4",19),d._uU(29,"AMP Invoice"),d.qZA(),d.TgZ(30,"span",24),d._uU(31),d.qZA()()(),d._UZ(32,"mat-divider",22),d.YNc(33,we,14,2,"div",50),d.YNc(34,de,1,1,"mat-divider",14)),2&Ue){const bt=d.oxw();d.Q6J("inset",!0),d.xp6(6),d.Oqu((null==bt.invoice?null:bt.invoice.r_preimage)||"-"),d.xp6(1),d.Q6J("inset",!0),d.xp6(6),d.Oqu(null==bt.invoice?null:bt.invoice.state),d.xp6(5),d.Oqu(d.xi3(19,11,1e3*(+(null==bt.invoice?null:bt.invoice.creation_date)+ +(null==bt.invoice?null:bt.invoice.expiry)),"dd/MMM/y HH:mm")),d.xp6(2),d.Q6J("inset",!0),d.xp6(6),d.Oqu(null!=bt.invoice&&bt.invoice.private?"Yes":"No"),d.xp6(5),d.Oqu(null!=bt.invoice&&bt.invoice.is_amp?"Yes":"No"),d.xp6(1),d.Q6J("inset",!0),d.xp6(1),d.Q6J("ngIf",(null==bt.invoice?null:bt.invoice.htlcs)&&(null==bt.invoice?null:bt.invoice.htlcs.length)>0),d.xp6(1),d.Q6J("ngIf",(null==bt.invoice?null:bt.invoice.htlcs)&&(null==bt.invoice?null:bt.invoice.htlcs.length)>0)}}const ie=function(Ue){return{"display-none":Ue}},G=function(Ue){return{"xs-scroll-y":Ue}},$=function(Ue){return{"h-50":Ue}};class ze{constructor(oe,bt,Be,nt,$t,gt){this.dialogRef=oe,this.data=bt,this.logger=Be,this.commonService=nt,this.snackBar=$t,this.store=gt,this.faReceipt=t.dLy,this.showAdvanced=!1,this.newlyAdded=!1,this.invoice=null,this.qrWidth=240,this.screenSize="",this.screenSizeEnum=l.cu,this.flgOpened=!1,this.flgInvoicePaid=!1,this.flgVersionCompatible=!0,this.unSubs=[new _.x,new _.x,new _.x,new _.x,new _.x]}set container(oe){oe&&(this.scrollContainer=oe)}ngOnInit(){this.invoice=JSON.parse(JSON.stringify(this.data.invoice)),this.newlyAdded=!!this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===l.cu.XS&&(this.qrWidth=220),this.store.select(D.Q5).pipe((0,S.R)(this.unSubs[0])).subscribe(bt=>{this.flgVersionCompatible=this.commonService.isVersionCompatible(bt.version,"0.11.0")});const oe=JSON.parse(JSON.stringify(this.invoice));this.store.select(D.Ef).pipe((0,S.R)(this.unSubs[1])).subscribe(bt=>{const Be=this.invoice?.state,$t=(bt.listInvoices.invoices||[]).find(gt=>gt.r_hash===oe.r_hash)||null;$t&&(this.invoice=$t),Be!==this.invoice?.state&&"SETTLED"===this.invoice?.state&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info(bt)})}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(oe){this.snackBar.open("Payment request copied."),this.logger.info("Copied Text: "+oe)}getDecimalFormat(oe){return oe.amt_msat<1e3?"1.0-4":"1.0-0"}ngOnDestroy(){this.unSubs.forEach(oe=>{oe.next(null),oe.complete()})}static#e=this.\u0275fac=function(bt){return new(bt||ze)(d.Y36(e.so),d.Y36(e.WI),d.Y36(P.mQ),d.Y36(p.v),d.Y36(L.ux),d.Y36(M.yh))};static#t=this.\u0275cmp=d.Xpm({type:ze,selectors:[["rtl-invoice-information"]],viewQuery:function(bt,Be){if(1&bt&&d.Gf(ve,5),2&bt){let nt;d.iGM(nt=d.CRH())&&(Be.container=nt.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","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(bt,Be){if(1&bt&&(d.TgZ(0,"div",0)(1,"div",1),d.YNc(2,T,1,3,"qr-code",2),d.YNc(3,i,2,0,"span",3),d.qZA(),d.TgZ(4,"div",4)(5,"mat-card-header",5)(6,"div",6),d._UZ(7,"fa-icon",7),d.TgZ(8,"span",8),d._uU(9),d.qZA()(),d.TgZ(10,"button",9),d.NdJ("click",function(){return Be.onClose()}),d._uU(11,"X"),d.qZA()(),d.TgZ(12,"mat-card-content",10)(13,"div",11)(14,"div",12),d.YNc(15,o,1,3,"qr-code",2),d.YNc(16,m,2,0,"span",13),d.qZA(),d.YNc(17,h,1,1,"mat-divider",14),d.TgZ(18,"div",15,16)(20,"div",17)(21,"div",18)(22,"h4",19),d._uU(23),d.qZA(),d.TgZ(24,"span",20),d._uU(25),d.ALo(26,"number"),d.YNc(27,y,2,0,"ng-container",21),d.qZA()(),d.TgZ(28,"div",18)(29,"h4",19),d._uU(30,"Amount Settled"),d.qZA(),d.TgZ(31,"span",20),d.YNc(32,C,3,2,"ng-container",21),d.YNc(33,Q,3,2,"ng-container",21),d.qZA()()(),d._UZ(34,"mat-divider",22),d.TgZ(35,"div",17)(36,"div",18)(37,"h4",19),d._uU(38,"Date Created"),d.qZA(),d.TgZ(39,"span",20),d._uU(40),d.ALo(41,"date"),d.qZA()(),d.TgZ(42,"div",18)(43,"h4",19),d._uU(44,"Date Settled"),d.qZA(),d.TgZ(45,"span",20),d._uU(46),d.ALo(47,"date"),d.qZA()()(),d._UZ(48,"mat-divider",22),d.TgZ(49,"div",17)(50,"div",23)(51,"h4",19),d._uU(52,"Memo"),d.qZA(),d.TgZ(53,"span",20),d._uU(54),d.qZA()()(),d._UZ(55,"mat-divider",22),d.TgZ(56,"div",17)(57,"div",23)(58,"h4",19),d._uU(59,"Payment Request"),d.qZA(),d.TgZ(60,"span",24),d._uU(61),d.qZA()()(),d._UZ(62,"mat-divider",22),d.TgZ(63,"div",17)(64,"div",23)(65,"h4",19),d._uU(66,"Payment Hash"),d.qZA(),d.TgZ(67,"span",24),d._uU(68),d.qZA()()(),d.YNc(69,Le,2,1,"div",21),d.qZA()()(),d.YNc(70,Ye,4,0,"div",25),d.TgZ(71,"div",26)(72,"button",27),d.NdJ("click",function(){return Be.onShowAdvanced()}),d.YNc(73,$e,2,0,"p",28),d.YNc(74,Ve,2,0,"ng-template",null,29,d.W1O),d.qZA(),d.YNc(76,be,2,2,"button",30),d.YNc(77,et,2,0,"button",31),d.qZA()()(),d.YNc(78,Me,35,14,"ng-template",null,32,d.W1O)),2&bt){const nt=d.MAs(75);d.xp6(1),d.Q6J("fxLayoutAlign",null!=Be.invoice&&Be.invoice.payment_request&&""!==(null==Be.invoice?null:Be.invoice.payment_request)?"center start":"center center")("ngClass",d.VKq(41,ie,Be.screenSize===Be.screenSizeEnum.XS||Be.screenSize===Be.screenSizeEnum.SM)),d.xp6(1),d.Q6J("ngIf",(null==Be.invoice?null:Be.invoice.payment_request)&&""!==(null==Be.invoice?null:Be.invoice.payment_request)),d.xp6(1),d.Q6J("ngIf",!(null!=Be.invoice&&Be.invoice.payment_request)||""===(null==Be.invoice?null:Be.invoice.payment_request)),d.xp6(4),d.Q6J("icon",Be.faReceipt),d.xp6(2),d.Oqu(Be.screenSize===Be.screenSizeEnum.XS?Be.newlyAdded?"Created":"Invoice":Be.newlyAdded?"Invoice Created":"Invoice Information"),d.xp6(3),d.Q6J("ngClass",d.VKq(43,G,Be.screenSize===Be.screenSizeEnum.XS)),d.xp6(2),d.Q6J("fxLayoutAlign",null!=Be.invoice&&Be.invoice.payment_request&&""!==(null==Be.invoice?null:Be.invoice.payment_request)?"center start":"center center")("ngClass",d.VKq(45,ie,Be.screenSize!==Be.screenSizeEnum.XS&&Be.screenSize!==Be.screenSizeEnum.SM)),d.xp6(1),d.Q6J("ngIf",(null==Be.invoice?null:Be.invoice.payment_request)&&""!==(null==Be.invoice?null:Be.invoice.payment_request)),d.xp6(1),d.Q6J("ngIf",!(null!=Be.invoice&&Be.invoice.payment_request)||""===(null==Be.invoice?null:Be.invoice.payment_request)),d.xp6(1),d.Q6J("ngIf",Be.screenSize===Be.screenSizeEnum.XS||Be.screenSize===Be.screenSizeEnum.SM),d.xp6(1),d.Q6J("ngClass",d.VKq(47,$,(null==Be.invoice?null:Be.invoice.htlcs)&&(null==Be.invoice?null:Be.invoice.htlcs.length)>0&&Be.showAdvanced)),d.xp6(5),d.Oqu(Be.screenSize===Be.screenSizeEnum.XS?"Amount":"Amount Requested"),d.xp6(2),d.hij("",d.lcZ(26,33,(null==Be.invoice?null:Be.invoice.value)||0)," Sats"),d.xp6(2),d.Q6J("ngIf",!(null!=Be.invoice&&Be.invoice.value)||"0"===(null==Be.invoice?null:Be.invoice.value)),d.xp6(5),d.Q6J("ngIf",(null==Be.invoice?null:Be.invoice.amt_paid_sat)&&"OPEN"!==(null==Be.invoice?null:Be.invoice.state)),d.xp6(1),d.Q6J("ngIf",!(null!=Be.invoice&&Be.invoice.amt_paid_sat)||"0"===(null==Be.invoice?null:Be.invoice.amt_paid_sat)),d.xp6(1),d.Q6J("inset",!0),d.xp6(6),d.Oqu(d.xi3(41,35,1e3*(null==Be.invoice?null:Be.invoice.creation_date),"dd/MMM/y HH:mm")),d.xp6(6),d.Oqu(0!=+(null==Be.invoice?null:Be.invoice.settle_date)?d.xi3(47,38,1e3*+(null==Be.invoice?null:Be.invoice.settle_date),"dd/MMM/y HH:mm"):"-"),d.xp6(2),d.Q6J("inset",!0),d.xp6(6),d.Oqu(null==Be.invoice?null:Be.invoice.memo),d.xp6(1),d.Q6J("inset",!0),d.xp6(6),d.Oqu((null==Be.invoice?null:Be.invoice.payment_request)||"N/A"),d.xp6(1),d.Q6J("inset",!0),d.xp6(6),d.Oqu((null==Be.invoice?null:Be.invoice.r_hash)||""),d.xp6(1),d.Q6J("ngIf",Be.showAdvanced),d.xp6(1),d.Q6J("ngIf",(null==Be.invoice?null:Be.invoice.htlcs)&&(null==Be.invoice?null:Be.invoice.htlcs.length)>0&&Be.showAdvanced&&Be.flgOpened),d.xp6(3),d.Q6J("ngIf",!Be.showAdvanced)("ngIfElse",nt),d.xp6(3),d.Q6J("ngIf",(null==Be.invoice?null:Be.invoice.payment_request)&&""!==(null==Be.invoice?null:Be.invoice.payment_request)),d.xp6(1),d.Q6J("ngIf",!(null!=Be.invoice&&Be.invoice.payment_request)||""===(null==Be.invoice?null:Be.invoice.payment_request))}},dependencies:[k.mk,k.sg,k.O5,k.tP,E.BN,z.xw,z.Wh,z.yH,I.oO,V.lW,V.nh,Z.dn,Z.dk,q.ib,q.yz,q.yK,te.Hw,ne.d,le.Ou,re.gM,_e.uU,he.y,ae.h,k.JJ,k.uU]})}},7772:(Ge,X,f)=>{"use strict";f.d(X,{J:()=>_,_:()=>t});var e=f(4851);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}))])])],_=[(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%)"})]))])])]},8878:(Ge,X,f)=>{"use strict";f.d(X,{g:()=>t});var e=f(4851);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})])])])},113:(Ge,X,f)=>{"use strict";f.d(X,{l:()=>t});var e=f(4851);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%)"}))])])]},1786:(Ge,X,f)=>{"use strict";f.d(X,{H:()=>M});var e=f(4481),t=f(2560),_=f(5043),S=f(4666),l=f(6722),D=f(4522),d=f(2156),P=f(1528),p=f(3390);function L(k,E){if(1&k&&(t.TgZ(0,"p",14),t._uU(1),t.qZA()),2&k){const z=t.oxw();t.xp6(1),t.Oqu(z.data.titleMessage)}}class M{constructor(E,z,I){this.dialogRef=E,this.data=z,this.logger=I,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(z){return new(z||M)(t.Y36(e.so),t.Y36(e.WI),t.Y36(_.mQ))};static#t=this.\u0275cmp=t.Xpm({type:M,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","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(z,I){1&z&&(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 I.onClose()}),t._uU(7,"X"),t.qZA()(),t.TgZ(8,"mat-card-content",6)(9,"div",7),t.YNc(10,L,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&z&&(t.xp6(5),t.Oqu(I.data.alertTitle||"ERROR"),t.xp6(5),t.Q6J("ngIf",I.data.titleMessage),t.xp6(4),t.Oqu(I.data.message.code),t.xp6(5),t.Oqu(I.errorMessage),t.xp6(5),t.Oqu(I.data.message.URL),t.xp6(3),t.Q6J("mat-dialog-close",!1))},dependencies:[S.O5,l.xw,l.Wh,l.yH,e.ZT,D.lW,d.dn,d.dk,P.d,p.h],styles:[".display-block[_ngcontent-%COMP%]{display:block}"]})}},2615:(Ge,X,f)=>{"use strict";f.d(X,{a:()=>Wi});var e=f(2508),t=f(253),_=f(8951),S=f(4481),l=f(9306),D=f(7772),d=f(7731),P=f(6529),p=f(2560),L=f(9263),M=f(1419),k=f(4666),E=f(5043),z=f(3547),I=f(62),V=f(6722),Z=f(3704),q=f(4522),te=f(2156),ne=f(3012),le=f(7822),re=f(1267),_e=f(5074),he=f(1294),ae=f(2922),ve=f(4714),T=f(6896),i=f(4193),o=f(3390),m=f(1528);function h(wt,qe){1&wt&&p.GkF(0)}function y(wt,qe){1&wt&&p.GkF(0)}const A=function(wt){return{"h-5":wt}};function R(wt,qe){if(1&wt&&(p.TgZ(0,"mat-expansion-panel",3)(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"span",4),p._uU(4),p.ALo(5,"number"),p.qZA()()(),p.YNc(6,y,1,0,"ng-container",0),p.qZA()),2&wt){const Ne=p.oxw(),Vt=p.MAs(4);p.Q6J("expanded",Ne.panelExpanded)("ngClass",p.VKq(7,A,!Ne.flgShowPanel)),p.xp6(4),p.AsE("Quote for ",Ne.termCaption," amount (",p.lcZ(5,5,Ne.quote.amount)," Sats)"),p.xp6(2),p.Q6J("ngTemplateOutlet",Vt)}}function v(wt,qe){if(1&wt&&(p.TgZ(0,"div",19)(1,"h4",8),p._uU(2," Prepay Amount (Sats) "),p.TgZ(3,"mat-icon",20),p._uU(4,"info_outline"),p.qZA()(),p.TgZ(5,"span",10),p._uU(6),p.ALo(7,"number"),p.qZA()()),2&wt){const Ne=p.oxw(2);p.xp6(6),p.Oqu(p.lcZ(7,1,null==Ne.quote?null:Ne.quote.prepay_amt_sat))}}function a(wt,qe){1&wt&&p._UZ(0,"mat-divider",13)}function C(wt,qe){if(1&wt&&(p.TgZ(0,"div",6)(1,"div",21)(2,"h4",8),p._uU(3," Swap Server Node Pubkey "),p.TgZ(4,"mat-icon",22),p._uU(5,"info_outline"),p.qZA()(),p.TgZ(6,"span",10),p._uU(7),p.qZA()()()),2&wt){const Ne=p.oxw(2);p.xp6(7),p.Oqu(null==Ne.quote?null:Ne.quote.swap_payment_dest)}}function U(wt,qe){if(1&wt&&(p.TgZ(0,"div",5)(1,"div",6)(2,"div",7)(3,"h4",8),p._uU(4," Swap Fee (Sats) "),p.TgZ(5,"mat-icon",9),p._uU(6,"info_outline"),p.qZA()(),p.TgZ(7,"span",10),p._uU(8),p.ALo(9,"number"),p.qZA()(),p.TgZ(10,"div",7)(11,"h4",8),p._uU(12),p.TgZ(13,"mat-icon",11),p._uU(14,"info_outline"),p.qZA()(),p.TgZ(15,"span",10),p._uU(16),p.ALo(17,"number"),p.qZA()(),p.YNc(18,v,8,3,"div",12),p.qZA(),p._UZ(19,"mat-divider",13),p.TgZ(20,"div",6)(21,"div",14)(22,"h4",8),p._uU(23," Max Off-chain Swap Routing Fee (Sats) "),p.TgZ(24,"mat-icon",15),p._uU(25,"info_outline"),p.qZA()(),p.TgZ(26,"span",10),p._uU(27),p.ALo(28,"number"),p.qZA()(),p.TgZ(29,"div",14)(30,"h4",8),p._uU(31," Max Off-chain Prepay Routing Fee (Sats) "),p.TgZ(32,"mat-icon",16),p._uU(33,"info_outline"),p.qZA()(),p.TgZ(34,"span",10),p._uU(35,"36"),p.qZA()()(),p.YNc(36,a,1,0,"mat-divider",17),p.YNc(37,C,8,1,"div",18),p.qZA()),2&wt){const Ne=p.oxw();p.xp6(2),p.Q6J("fxFlex",null!=Ne.quote&&Ne.quote.prepay_amt_sat?"30":"50"),p.xp6(6),p.Oqu(p.lcZ(9,9,null==Ne.quote?null:Ne.quote.swap_fee_sat)),p.xp6(2),p.Q6J("fxFlex",null!=Ne.quote&&Ne.quote.prepay_amt_sat?"35":"50"),p.xp6(2),p.hij(" ",null!=Ne.quote&&Ne.quote.htlc_sweep_fee_sat?"HTLC Sweep Fee (Sats)":null!=Ne.quote&&Ne.quote.htlc_publish_fee_sat?"HTLC Publish Fee (Sats)":""," "),p.xp6(4),p.Oqu(p.lcZ(17,11,null!=Ne.quote&&Ne.quote.htlc_sweep_fee_sat?Ne.quote.htlc_sweep_fee_sat:null!=Ne.quote&&Ne.quote.htlc_publish_fee_sat?Ne.quote.htlc_publish_fee_sat:0)),p.xp6(2),p.Q6J("ngIf",null==Ne.quote?null:Ne.quote.prepay_amt_sat),p.xp6(9),p.Oqu(p.lcZ(28,13,(null==Ne.quote?null:Ne.quote.amount)*((null!=Ne.quote&&Ne.quote.off_chain_swap_routing_fee_percentage?null==Ne.quote?null:Ne.quote.off_chain_swap_routing_fee_percentage:2)/100))),p.xp6(9),p.Q6J("ngIf",""!==(null==Ne.quote?null:Ne.quote.swap_payment_dest)),p.xp6(1),p.Q6J("ngIf",""!==(null==Ne.quote?null:Ne.quote.swap_payment_dest))}}class N{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(Ne){return new(Ne||N)};static#t=this.\u0275cmp=p.Xpm({type:N,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(Ne,Vt){if(1&Ne&&(p.YNc(0,h,1,0,"ng-container",0),p.YNc(1,R,7,9,"ng-template",null,1,p.W1O),p.YNc(3,U,38,15,"ng-template",null,2,p.W1O)),2&Ne){const jt=p.MAs(2),fi=p.MAs(4);p.Q6J("ngTemplateOutlet",Vt.showPanel?jt:fi)}},dependencies:[k.mk,k.O5,k.tP,V.xw,V.Wh,V.yH,Z.oO,ne.ib,ne.yz,ne.yK,le.Hw,m.d,T.gM,k.JJ]})}function Q(wt,qe){1&wt&&p.GkF(0)}function Pe(wt,qe){if(1&wt&&(p.TgZ(0,"div",3)(1,"span",4),p._uU(2),p.qZA()()),2&wt){const Ne=p.oxw();p.xp6(2),p.Oqu(null!=Ne.loopStatus&&Ne.loopStatus.error?null==Ne.loopStatus?null:Ne.loopStatus.error:"Unknown Error.")}}function Le(wt,qe){if(1&wt&&(p.TgZ(0,"div",3)(1,"div",5)(2,"div",6)(3,"h4",7),p._uU(4,"ID"),p.qZA(),p.TgZ(5,"span",4),p._uU(6),p.qZA()()(),p._UZ(7,"mat-divider",8),p.TgZ(8,"div",5)(9,"div",6)(10,"h4",7),p._uU(11,"HTLC Address"),p.qZA(),p.TgZ(12,"span",4),p._uU(13),p.qZA()()()()),2&wt){const Ne=p.oxw();p.xp6(6),p.Oqu(null==Ne.loopStatus?null:Ne.loopStatus.id_bytes),p.xp6(7),p.Oqu(null==Ne.loopStatus?null:Ne.loopStatus.htlc_address)}}class Ye{constructor(){}static#e=this.\u0275fac=function(Ne){return new(Ne||Ye)};static#t=this.\u0275cmp=p.Xpm({type:Ye,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(Ne,Vt){if(1&Ne&&(p.YNc(0,Q,1,0,"ng-container",0),p.YNc(1,Pe,3,1,"ng-template",null,1,p.W1O),p.YNc(3,Le,14,2,"ng-template",null,2,p.W1O)),2&Ne){const jt=p.MAs(2),fi=p.MAs(4);p.Q6J("ngTemplateOutlet",null!=Vt.loopStatus&&Vt.loopStatus.error?jt:fi)}},dependencies:[k.tP,V.xw,V.Wh,V.yH,m.d]})}var $e=f(113);function Ve(wt,qe){1&wt&&p.GkF(0)}const be=function(wt,qe){return{"small-svg":wt,"large-svg":qe}};function et(wt,qe){if(1&wt){const Ne=p.EpF();p.TgZ(0,"div",6),p.NdJ("swipe",function(jt){p.CHM(Ne);const fi=p.oxw();return p.KtG(fi.onSwipe(jt))}),p.O4$(),p.TgZ(1,"svg",7)(2,"desc"),p._uU(3,"Created with Sketch."),p.qZA(),p.TgZ(4,"g",8)(5,"g",9)(6,"g",10)(7,"g",11),p._UZ(8,"circle",12)(9,"path",13),p.qZA(),p.TgZ(10,"g",14),p._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),p.qZA()()()()(),p.kcU(),p.TgZ(26,"div",30)(27,"mat-card-title"),p._uU(28,"Loop In explained."),p.qZA()(),p.TgZ(29,"div",31)(30,"mat-card-subtitle",32),p._uU(31," Lightning Loop is a non custodial service offered by Lightning Labs to bridge on-chain and off-chain Bitcoin using Submarine swaps. "),p.qZA()()()}if(2&wt){const Ne=p.oxw();p.Q6J("@sliderAnimation",Ne.animationDirection),p.xp6(1),p.Q6J("ngClass",p.WLB(2,be,Ne.screenSize===Ne.screenSizeEnum.XS,Ne.screenSize!==Ne.screenSizeEnum.XS))}}function je(wt,qe){if(1&wt){const Ne=p.EpF();p.TgZ(0,"div",6),p.NdJ("swipe",function(jt){p.CHM(Ne);const fi=p.oxw();return p.KtG(fi.onSwipe(jt))}),p.O4$(),p.TgZ(1,"svg",33)(2,"desc"),p._uU(3,"Created with Sketch."),p.qZA(),p.TgZ(4,"defs")(5,"linearGradient",34),p._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),p.qZA()(),p.TgZ(9,"g",8)(10,"g",38)(11,"g",39)(12,"g",40),p._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),p.qZA(),p.TgZ(28,"g",56)(29,"g",57)(30,"g",58),p._UZ(31,"path",59)(32,"rect",60)(33,"polygon",61),p.TgZ(34,"g",62),p._UZ(35,"path",63),p.qZA(),p._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),p.qZA(),p.TgZ(45,"g",73),p._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),p.qZA(),p._UZ(59,"path",87),p.qZA()()()()()(),p.kcU(),p.TgZ(60,"div",30)(61,"mat-card-title"),p._uU(62,"Step 1: Deciding to Loop In"),p.qZA()(),p.TgZ(63,"div",31)(64,"mat-card-subtitle",32),p._uU(65," Your outgoing capacity is depleted and you want to regain it without opening new channels. "),p.qZA()()()}if(2&wt){const Ne=p.oxw();p.Q6J("@sliderAnimation",Ne.animationDirection),p.xp6(1),p.Q6J("ngClass",p.WLB(2,be,Ne.screenSize===Ne.screenSizeEnum.XS,Ne.screenSize!==Ne.screenSizeEnum.XS))}}function ye(wt,qe){if(1&wt){const Ne=p.EpF();p.TgZ(0,"div",6),p.NdJ("swipe",function(jt){p.CHM(Ne);const fi=p.oxw();return p.KtG(fi.onSwipe(jt))}),p.O4$(),p.TgZ(1,"svg",88)(2,"desc"),p._uU(3,"Created with Sketch."),p.qZA(),p.TgZ(4,"defs")(5,"linearGradient",89),p._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),p.qZA()(),p.TgZ(9,"g",90)(10,"g",91)(11,"g",92)(12,"g",93)(13,"g",94),p._UZ(14,"circle",95)(15,"path",96),p.TgZ(16,"g",97),p._UZ(17,"polygon",98)(18,"polygon",99)(19,"path",100),p.qZA(),p.TgZ(20,"g",101),p._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),p.TgZ(31,"g",112)(32,"g",113),p._UZ(33,"g",114),p.qZA(),p._UZ(34,"g",115),p.qZA()()(),p.TgZ(35,"g",116)(36,"g",40),p._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),p.qZA(),p.TgZ(53,"g",56)(54,"g",57)(55,"g",58),p._UZ(56,"path",59)(57,"rect",60)(58,"polygon",61),p.TgZ(59,"g",122),p._UZ(60,"path",63),p.qZA(),p._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),p.qZA(),p.TgZ(70,"g",73),p._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),p.qZA(),p._UZ(84,"path",139),p.qZA()()()(),p._UZ(85,"path",140)(86,"path",141),p.qZA()()()(),p.kcU(),p.TgZ(87,"div",30)(88,"mat-card-title"),p._uU(89,"Step 2: Send payment out"),p.qZA()(),p.TgZ(90,"div",31)(91,"mat-card-subtitle",32),p._uU(92," Your node sends funds on-chain to loop server to be swapped with off-chain liquidity. "),p.qZA()()()}if(2&wt){const Ne=p.oxw();p.Q6J("@sliderAnimation",Ne.animationDirection),p.xp6(1),p.Q6J("ngClass",p.WLB(2,be,Ne.screenSize===Ne.screenSizeEnum.XS,Ne.screenSize!==Ne.screenSizeEnum.XS))}}function Te(wt,qe){if(1&wt){const Ne=p.EpF();p.TgZ(0,"div",6),p.NdJ("swipe",function(jt){p.CHM(Ne);const fi=p.oxw();return p.KtG(fi.onSwipe(jt))}),p.O4$(),p.TgZ(1,"svg",142)(2,"desc"),p._uU(3,"Created with Sketch."),p.qZA(),p.TgZ(4,"g",90)(5,"g",143)(6,"g",144)(7,"g")(8,"g",145)(9,"g",146),p._UZ(10,"circle",12)(11,"path",147),p.qZA(),p.TgZ(12,"g",14),p._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),p.qZA()(),p.TgZ(28,"g",149),p._UZ(29,"polygon",150)(30,"polygon",99)(31,"path",151),p.qZA(),p.TgZ(32,"g",152),p._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),p.TgZ(43,"g",112)(44,"g",113),p._UZ(45,"g",114),p.qZA(),p._UZ(46,"g",115),p.qZA()()(),p._UZ(47,"path",153),p.qZA()()()(),p.kcU(),p.TgZ(48,"div",30)(49,"mat-card-title"),p._uU(50,"Step 3: Recieve Funds Off-chain"),p.qZA()(),p.TgZ(51,"div",31)(52,"mat-card-subtitle",32),p._uU(53," Loop server sends equivalent funds off-chain to your node by making a lightning payment to you. "),p.qZA()()()}if(2&wt){const Ne=p.oxw();p.Q6J("@sliderAnimation",Ne.animationDirection),p.xp6(1),p.Q6J("ngClass",p.WLB(2,be,Ne.screenSize===Ne.screenSizeEnum.XS,Ne.screenSize!==Ne.screenSizeEnum.XS))}}function He(wt,qe){if(1&wt){const Ne=p.EpF();p.TgZ(0,"div",6),p.NdJ("swipe",function(jt){p.CHM(Ne);const fi=p.oxw();return p.KtG(fi.onSwipe(jt))}),p.O4$(),p.TgZ(1,"svg",154)(2,"desc"),p._uU(3,"Created with Sketch."),p.qZA(),p.TgZ(4,"defs")(5,"linearGradient",34),p._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),p.qZA()(),p.TgZ(9,"g",90)(10,"g",155)(11,"g",156)(12,"g",157)(13,"g",158)(14,"g",40),p._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),p.qZA(),p.TgZ(28,"g",172),p._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),p.qZA(),p._UZ(43,"path",187),p.qZA()(),p._UZ(44,"circle",188),p.qZA()()()(),p.kcU(),p.TgZ(45,"div",30)(46,"mat-card-title"),p._uU(47,"Done!"),p.qZA()(),p.TgZ(48,"div",31)(49,"mat-card-subtitle",32),p._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. "),p.qZA()()()}if(2&wt){const Ne=p.oxw();p.Q6J("@sliderAnimation",Ne.animationDirection),p.xp6(1),p.Q6J("ngClass",p.WLB(2,be,Ne.screenSize===Ne.screenSizeEnum.XS,Ne.screenSize!==Ne.screenSizeEnum.XS))}}class Ee{constructor(qe){this.commonService=qe,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new p.vpe,this.screenSize="",this.screenSizeEnum=d.cu}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(qe){2===qe.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===qe.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}static#e=this.\u0275fac=function(Ne){return new(Ne||Ee)(p.Y36(I.v))};static#t=this.\u0275cmp=p.Xpm({type:Ee,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(Ne,Vt){if(1&Ne&&(p.YNc(0,Ve,1,0,"ng-container",0),p.YNc(1,et,32,5,"ng-template",null,1,p.W1O),p.YNc(3,je,66,5,"ng-template",null,2,p.W1O),p.YNc(5,ye,93,5,"ng-template",null,3,p.W1O),p.YNc(7,Te,54,5,"ng-template",null,4,p.W1O),p.YNc(9,He,51,5,"ng-template",null,5,p.W1O)),2&Ne){const jt=p.MAs(2),fi=p.MAs(4),Si=p.MAs(6),ki=p.MAs(8),Gi=p.MAs(10);p.Q6J("ngTemplateOutlet",1===Vt.stepNumber?jt:2===Vt.stepNumber?fi:3===Vt.stepNumber?Si:4===Vt.stepNumber?ki:Gi)}},dependencies:[k.mk,k.tP,V.xw,V.Wh,V.yH,Z.oO,te.$j,te.n5],styles:["svg.small-svg[_ngcontent-%COMP%]{height:50%;min-height:50%;max-width:100%}svg.large-svg[_ngcontent-%COMP%]{height:60%;min-height:60%;max-width:100%}"],data:{animation:[$e.l]}})}function we(wt,qe){1&wt&&p.GkF(0)}const de=function(wt,qe){return{"small-svg":wt,"large-svg":qe}};function Me(wt,qe){if(1&wt){const Ne=p.EpF();p.TgZ(0,"div",6),p.NdJ("swipe",function(jt){p.CHM(Ne);const fi=p.oxw();return p.KtG(fi.onSwipe(jt))}),p.O4$(),p.TgZ(1,"svg",7)(2,"desc"),p._uU(3,"Created with Sketch."),p.qZA(),p.TgZ(4,"g",8)(5,"g",9)(6,"g",10)(7,"g",11),p._UZ(8,"circle",12)(9,"path",13),p.qZA(),p.TgZ(10,"g",14),p._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),p.qZA()()()()(),p.kcU(),p.TgZ(26,"div",30)(27,"mat-card-title"),p._uU(28,"Loop Out explained."),p.qZA()(),p.TgZ(29,"div",31)(30,"mat-card-subtitle",32),p._uU(31," Lightning Loop is a non custodial service offered by Lightning Labs to bridge on-chain and off-chain Bitcoin using Submarine swaps. "),p.qZA()()()}if(2&wt){const Ne=p.oxw();p.Q6J("@sliderAnimation",Ne.animationDirection),p.xp6(1),p.Q6J("ngClass",p.WLB(2,de,Ne.screenSize===Ne.screenSizeEnum.XS,Ne.screenSize!==Ne.screenSizeEnum.XS))}}function ie(wt,qe){if(1&wt){const Ne=p.EpF();p.TgZ(0,"div",6),p.NdJ("swipe",function(jt){p.CHM(Ne);const fi=p.oxw();return p.KtG(fi.onSwipe(jt))}),p.O4$(),p.TgZ(1,"svg",33)(2,"desc"),p._uU(3,"Created with Sketch."),p.qZA(),p.TgZ(4,"defs")(5,"linearGradient",34),p._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),p.qZA()(),p.TgZ(9,"g",8)(10,"g",38)(11,"g",39)(12,"g",40)(13,"g",41)(14,"g",42),p._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),p.qZA(),p.TgZ(28,"g",56),p._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),p.qZA(),p._UZ(43,"path",71),p.qZA()(),p._UZ(44,"circle",72),p.qZA()()()(),p.kcU(),p.TgZ(45,"div",30)(46,"mat-card-title"),p._uU(47,"Step 1: Deciding to Loop Out"),p.qZA()(),p.TgZ(48,"div",31)(49,"mat-card-subtitle",32),p._uU(50," You have a channel with a local balance amount and you want to gain inbound liquidity. "),p.qZA()()()}if(2&wt){const Ne=p.oxw();p.Q6J("@sliderAnimation",Ne.animationDirection),p.xp6(1),p.Q6J("ngClass",p.WLB(2,de,Ne.screenSize===Ne.screenSizeEnum.XS,Ne.screenSize!==Ne.screenSizeEnum.XS))}}function G(wt,qe){if(1&wt){const Ne=p.EpF();p.TgZ(0,"div",6),p.NdJ("swipe",function(jt){p.CHM(Ne);const fi=p.oxw();return p.KtG(fi.onSwipe(jt))}),p.O4$(),p.TgZ(1,"svg",73)(2,"desc"),p._uU(3,"Created with Sketch."),p.qZA(),p.TgZ(4,"defs")(5,"linearGradient",74),p._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),p.qZA()(),p.TgZ(9,"g",8)(10,"g",75)(11,"g",76),p._UZ(12,"circle",77)(13,"path",78),p.TgZ(14,"g",79),p._UZ(15,"polygon",80)(16,"polygon",81)(17,"path",82),p.qZA(),p.TgZ(18,"g",83),p._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),p.TgZ(29,"g",94)(30,"g",95),p._UZ(31,"g",96),p.qZA(),p._UZ(32,"g",97),p.qZA(),p._UZ(33,"path",98),p.qZA(),p.TgZ(34,"g",99)(35,"g",41)(36,"g",42),p._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),p.qZA(),p.TgZ(52,"g",56),p._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),p.qZA(),p._UZ(67,"path",111),p.qZA()()()()()(),p.kcU(),p.TgZ(68,"div",30)(69,"mat-card-title"),p._uU(70,"Step 2: Send lightning payment"),p.qZA()(),p.TgZ(71,"div",31)(72,"mat-card-subtitle",32),p._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. "),p.qZA()()()}if(2&wt){const Ne=p.oxw();p.Q6J("@sliderAnimation",Ne.animationDirection),p.xp6(1),p.Q6J("ngClass",p.WLB(2,de,Ne.screenSize===Ne.screenSizeEnum.XS,Ne.screenSize!==Ne.screenSizeEnum.XS))}}function $(wt,qe){if(1&wt){const Ne=p.EpF();p.TgZ(0,"div",6),p.NdJ("swipe",function(jt){p.CHM(Ne);const fi=p.oxw();return p.KtG(fi.onSwipe(jt))}),p.O4$(),p.TgZ(1,"svg",112)(2,"desc"),p._uU(3,"Created with Sketch."),p.qZA(),p.TgZ(4,"g",8)(5,"g",113)(6,"g",114)(7,"g",115)(8,"g",116),p._UZ(9,"circle",12)(10,"path",117),p.qZA(),p.TgZ(11,"g",14),p._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),p.qZA()(),p.TgZ(27,"g",119),p._UZ(28,"polygon",80)(29,"polygon",120)(30,"path",82),p.qZA(),p.TgZ(31,"g",121),p._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),p.TgZ(42,"g",94)(43,"g",95),p._UZ(44,"g",96),p.qZA(),p._UZ(45,"g",97),p.qZA(),p._UZ(46,"path",123),p.qZA()()()()(),p.kcU(),p.TgZ(47,"div",30)(48,"mat-card-title"),p._uU(49,"Step 3: Receive funds back"),p.qZA()(),p.TgZ(50,"div",31)(51,"mat-card-subtitle",32),p._uU(52," Loop service then sends you a payment on-chain for the amount same as the lightning payment minus the fee. "),p.qZA()()()}if(2&wt){const Ne=p.oxw();p.Q6J("@sliderAnimation",Ne.animationDirection),p.xp6(1),p.Q6J("ngClass",p.WLB(2,de,Ne.screenSize===Ne.screenSizeEnum.XS,Ne.screenSize!==Ne.screenSizeEnum.XS))}}function ze(wt,qe){if(1&wt){const Ne=p.EpF();p.TgZ(0,"div",6),p.NdJ("swipe",function(jt){p.CHM(Ne);const fi=p.oxw();return p.KtG(fi.onSwipe(jt))}),p.O4$(),p.TgZ(1,"svg",124)(2,"desc"),p._uU(3,"Created with Sketch."),p.qZA(),p.TgZ(4,"defs")(5,"linearGradient",34),p._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),p.qZA()(),p.TgZ(9,"g",8)(10,"g",125)(11,"g",126)(12,"g",42),p._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),p.qZA(),p.TgZ(28,"g",142)(29,"g",143)(30,"g",144),p._UZ(31,"path",145)(32,"rect",146)(33,"polygon",147),p.TgZ(34,"g",148),p._UZ(35,"path",149),p.qZA(),p._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),p.qZA(),p.TgZ(45,"g",159),p._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),p.qZA(),p._UZ(59,"path",173),p.qZA()()()()()(),p.kcU(),p.TgZ(60,"div",30)(61,"mat-card-title"),p._uU(62,"Done!"),p.qZA()(),p.TgZ(63,"div",31)(64,"mat-card-subtitle",32),p._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. "),p.qZA()()()}if(2&wt){const Ne=p.oxw();p.Q6J("@sliderAnimation",Ne.animationDirection),p.xp6(1),p.Q6J("ngClass",p.WLB(2,de,Ne.screenSize===Ne.screenSizeEnum.XS,Ne.screenSize!==Ne.screenSizeEnum.XS))}}class Ue{constructor(qe){this.commonService=qe,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new p.vpe,this.screenSize="",this.screenSizeEnum=d.cu}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(qe){2===qe.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===qe.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}static#e=this.\u0275fac=function(Ne){return new(Ne||Ue)(p.Y36(I.v))};static#t=this.\u0275cmp=p.Xpm({type:Ue,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(Ne,Vt){if(1&Ne&&(p.YNc(0,we,1,0,"ng-container",0),p.YNc(1,Me,32,5,"ng-template",null,1,p.W1O),p.YNc(3,ie,51,5,"ng-template",null,2,p.W1O),p.YNc(5,G,74,5,"ng-template",null,3,p.W1O),p.YNc(7,$,53,5,"ng-template",null,4,p.W1O),p.YNc(9,ze,66,5,"ng-template",null,5,p.W1O)),2&Ne){const jt=p.MAs(2),fi=p.MAs(4),Si=p.MAs(6),ki=p.MAs(8),Gi=p.MAs(10);p.Q6J("ngTemplateOutlet",1===Vt.stepNumber?jt:2===Vt.stepNumber?fi:3===Vt.stepNumber?Si:4===Vt.stepNumber?ki:Gi)}},dependencies:[k.mk,k.tP,V.xw,V.Wh,V.yH,Z.oO,te.$j,te.n5],styles:["svg.small-svg[_ngcontent-%COMP%]{height:50%;min-height:50%;max-width:100%}svg.large-svg[_ngcontent-%COMP%]{height:60%;min-height:60%;max-width:100%}"],data:{animation:[$e.l]}})}const oe=["stepper"];function bt(wt,qe){if(1&wt&&(p.TgZ(0,"div",48)(1,"p",49)(2,"strong"),p._uU(3,"Channel Peer:\xa0"),p.qZA(),p._uU(4),p.ALo(5,"titlecase"),p.qZA(),p.TgZ(6,"p",50)(7,"strong"),p._uU(8,"Channel ID:\xa0"),p.qZA(),p._uU(9),p.qZA(),p._UZ(10,"p",50),p.qZA()),2&wt){const Ne=p.oxw(2);p.xp6(4),p.Oqu(p.lcZ(5,2,Ne.channel.remote_alias)),p.xp6(5),p.Oqu(Ne.channel.chan_id)}}function Be(wt,qe){if(1&wt&&p._uU(0),2&wt){const Ne=p.oxw(2);p.Oqu(Ne.inputFormLabel)}}function nt(wt,qe){1&wt&&(p.TgZ(0,"mat-error"),p._uU(1,"Amount is required."),p.qZA())}function $t(wt,qe){if(1&wt&&(p.TgZ(0,"mat-error"),p._uU(1),p.ALo(2,"number"),p.qZA()),2&wt){const Ne=p.oxw(2);p.xp6(1),p.hij("Amount must be greater than or equal to ",p.lcZ(2,1,Ne.minQuote.amount),".")}}function gt(wt,qe){if(1&wt&&(p.TgZ(0,"mat-error"),p._uU(1),p.ALo(2,"number"),p.qZA()),2&wt){const Ne=p.oxw(2);p.xp6(1),p.hij("Amount must be less than or equal to ",p.lcZ(2,1,Ne.maxQuote.amount),".")}}function rt(wt,qe){1&wt&&(p.TgZ(0,"mat-error"),p._uU(1,"Confirmation target is required."),p.qZA())}function Re(wt,qe){1&wt&&(p.TgZ(0,"mat-error"),p._uU(1,"Confirmation target must be a positive number."),p.qZA())}function ot(wt,qe){1&wt&&(p.TgZ(0,"mat-error"),p._uU(1,"Percentage is required."),p.qZA())}function St(wt,qe){1&wt&&(p.TgZ(0,"mat-error"),p._uU(1,"Percentage must be a positive number."),p.qZA())}function gi(wt,qe){if(1&wt&&(p.TgZ(0,"mat-form-field",50),p._UZ(1,"input",51),p.YNc(2,ot,2,0,"mat-error",25),p.YNc(3,St,2,0,"mat-error",25),p.qZA()),2&wt){const Ne=p.oxw(2);p.xp6(1),p.Q6J("step",1),p.xp6(1),p.Q6J("ngIf",null==Ne.inputFormGroup.controls.routingFeePercent.errors?null:Ne.inputFormGroup.controls.routingFeePercent.errors.required),p.xp6(1),p.Q6J("ngIf",null==Ne.inputFormGroup.controls.routingFeePercent.errors?null:Ne.inputFormGroup.controls.routingFeePercent.errors.min)}}function oi(wt,qe){1&wt&&(p.TgZ(0,"div",52)(1,"mat-slide-toggle",53),p._uU(2,"Fast"),p.qZA(),p.TgZ(3,"mat-icon",54),p._uU(4,"info_outline"),p.qZA()())}function ei(wt,qe){if(1&wt&&p._uU(0),2&wt){const Ne=p.oxw(2);p.Oqu(Ne.quoteFormLabel)}}function Zi(wt,qe){1&wt&&(p.TgZ(0,"p",55)(1,"mat-icon",56),p._uU(2,"close"),p.qZA(),p._uU(3,"Local balance amount is insufficient for swap."),p.qZA())}function si(wt,qe){if(1&wt){const Ne=p.EpF();p.TgZ(0,"button",57),p.NdJ("click",function(){p.CHM(Ne);const jt=p.oxw(2);return p.KtG(jt.onValidateAmount())}),p._uU(1,"Next"),p.qZA()}}function Bt(wt,qe){if(1&wt){const Ne=p.EpF();p.TgZ(0,"button",58),p.NdJ("click",function(){p.CHM(Ne);const jt=p.oxw(2);return p.KtG(jt.onLoop())}),p._uU(1),p.qZA()}if(2&wt){const Ne=p.oxw(2);p.xp6(1),p.hij("Initiate ",Ne.loopDirectionCaption,"")}}function Je(wt,qe){if(1&wt&&p._uU(0),2&wt){const Ne=p.oxw(3);p.Oqu(Ne.addressFormLabel)}}function me(wt,qe){1&wt&&(p.TgZ(0,"mat-error"),p._uU(1,"Address is required."),p.qZA())}function K(wt,qe){if(1&wt){const Ne=p.EpF();p.TgZ(0,"mat-step",16)(1,"form",17),p.YNc(2,Je,1,1,"ng-template",18),p.TgZ(3,"div",59)(4,"mat-radio-group",60),p.NdJ("change",function(jt){p.CHM(Ne);const fi=p.oxw(2);return p.KtG(fi.onAddressTypeChange(jt))}),p.TgZ(5,"mat-radio-button",61),p._uU(6,"Node Local Address"),p.qZA(),p.TgZ(7,"mat-radio-button",62),p._uU(8,"External Address"),p.qZA()(),p.TgZ(9,"mat-form-field",63),p._UZ(10,"input",64),p.YNc(11,me,2,0,"mat-error",25),p.qZA()(),p.TgZ(12,"div",29)(13,"button",65),p.NdJ("click",function(){p.CHM(Ne);const jt=p.oxw(2);return p.KtG(jt.onLoop())}),p._uU(14),p.qZA()()()()}if(2&wt){const Ne=p.oxw(2);p.Q6J("stepControl",Ne.addressFormGroup)("editable",Ne.flgEditable),p.xp6(1),p.Q6J("formGroup",Ne.addressFormGroup),p.xp6(9),p.Q6J("required","external"===Ne.addressFormGroup.controls.addressType.value),p.xp6(1),p.Q6J("ngIf",null==Ne.addressFormGroup.controls.address.errors?null:Ne.addressFormGroup.controls.address.errors.required),p.xp6(3),p.hij("Initiate ",Ne.loopDirectionCaption,"")}}function J(wt,qe){if(1&wt&&p._uU(0),2&wt){const Ne=p.oxw(2);p.hij("",Ne.loopDirectionCaption," Status")}}function Ce(wt,qe){if(1&wt&&(p.TgZ(0,"mat-icon",66),p._uU(1),p.qZA()),2&wt){const Ne=p.oxw(2);p.xp6(1),p.Oqu(Ne.loopStatus&&null!=Ne.loopStatus&&Ne.loopStatus.id_bytes?"check":"close")}}function We(wt,qe){1&wt&&p._UZ(0,"div")}function Mt(wt,qe){1&wt&&p._UZ(0,"mat-progress-bar",67)}function Tt(wt,qe){if(1&wt&&(p.TgZ(0,"h4",68),p._uU(1),p.qZA()),2&wt){const Ne=p.oxw(2);p.xp6(1),p.Oqu(Ne.loopStatus&&Ne.loopStatus.error?Ne.loopDirectionCaption+" failed.":Ne.loopStatus&&Ne.loopStatus.id_bytes&&Ne.channel?Ne.loopDirectionCaption+" request placed successfully. You can check the status of the request on the 'Loop' menu.":Ne.loopDirectionCaption+" request placed successfully.")}}function Nt(wt,qe){if(1&wt){const Ne=p.EpF();p.TgZ(0,"button",69),p.NdJ("click",function(){p.CHM(Ne);const jt=p.oxw(2);return p.KtG(jt.goToLoop())}),p._uU(1,"Check Status"),p.qZA()}}function at(wt,qe){if(1&wt){const Ne=p.EpF();p.TgZ(0,"button",70),p.NdJ("click",function(){p.CHM(Ne);const jt=p.oxw(2);return p.KtG(jt.onRestart())}),p._uU(1,"Start Again"),p.qZA()}}function Ke(wt,qe){if(1&wt){const Ne=p.EpF();p.TgZ(0,"div",3)(1,"div",4)(2,"mat-card-header",5)(3,"div",6)(4,"span",7),p._uU(5),p.qZA()(),p.TgZ(6,"div",8)(7,"button",9),p.NdJ("click",function(){p.CHM(Ne);const jt=p.oxw();return p.KtG(jt.showInfo())}),p._uU(8,"?"),p.qZA(),p.TgZ(9,"button",10),p.NdJ("click",function(){p.CHM(Ne);const jt=p.oxw();return p.KtG(jt.onClose())}),p._uU(10,"X"),p.qZA()()(),p.TgZ(11,"mat-card-content",11)(12,"div",12),p.YNc(13,bt,11,4,"div",13),p.TgZ(14,"mat-vertical-stepper",14,15),p.NdJ("selectionChange",function(jt){p.CHM(Ne);const fi=p.oxw();return p.KtG(fi.stepSelectionChanged(jt))}),p.TgZ(16,"mat-step",16)(17,"form",17),p.YNc(18,Be,1,1,"ng-template",18),p.TgZ(19,"div",19),p._UZ(20,"rtl-loop-quote",20)(21,"rtl-loop-quote",20),p.qZA(),p.TgZ(22,"div",21)(23,"mat-form-field",22),p._UZ(24,"input",23),p.TgZ(25,"mat-hint"),p._uU(26),p.ALo(27,"number"),p.ALo(28,"number"),p.qZA(),p.TgZ(29,"span",24),p._uU(30,"Sats"),p.qZA(),p.YNc(31,nt,2,0,"mat-error",25),p.YNc(32,$t,3,3,"mat-error",25),p.YNc(33,gt,3,3,"mat-error",25),p.qZA(),p.TgZ(34,"mat-form-field",22),p._UZ(35,"input",26),p.YNc(36,rt,2,0,"mat-error",25),p.YNc(37,Re,2,0,"mat-error",25),p.qZA(),p.YNc(38,gi,4,3,"mat-form-field",27),p.qZA(),p.YNc(39,oi,5,0,"div",28),p.TgZ(40,"div",29)(41,"button",30),p.NdJ("click",function(){p.CHM(Ne);const jt=p.oxw();return p.KtG(jt.onEstimateQuote())}),p._uU(42,"Estimate Quote"),p.qZA()()()(),p.TgZ(43,"mat-step",16)(44,"form",17),p.YNc(45,ei,1,1,"ng-template",18),p._UZ(46,"rtl-loop-quote",31),p.YNc(47,Zi,4,0,"p",32),p.TgZ(48,"div",29),p.YNc(49,si,2,0,"button",33),p.YNc(50,Bt,2,1,"button",34),p.qZA()()(),p.YNc(51,K,15,6,"mat-step",35),p.TgZ(52,"mat-step",36)(53,"form",17),p.YNc(54,J,1,1,"ng-template",18),p.TgZ(55,"div",37)(56,"mat-expansion-panel",38)(57,"mat-expansion-panel-header")(58,"mat-panel-title")(59,"span",39),p._uU(60),p.YNc(61,Ce,2,1,"mat-icon",40),p.qZA()()(),p.YNc(62,We,1,0,"div",41),p.qZA(),p.YNc(63,Mt,1,0,"mat-progress-bar",42),p.qZA(),p.YNc(64,Tt,2,1,"h4",43),p.TgZ(65,"div",29),p.YNc(66,Nt,2,0,"button",44),p.YNc(67,at,2,0,"button",45),p.qZA()()()(),p.TgZ(68,"div",46)(69,"button",47),p._uU(70,"Close"),p.qZA()()()()()()}if(2&wt){const Ne=p.oxw(),Vt=p.MAs(2);p.Q6J("@opacityAnimation",void 0),p.xp6(3),p.Q6J("fxFlex",Ne.screenSize===Ne.screenSizeEnum.XS||Ne.screenSize===Ne.screenSizeEnum.SM?"83":"91"),p.xp6(2),p.Oqu(Ne.channel?"Channel "+Ne.loopDirectionCaption:Ne.loopDirectionCaption),p.xp6(1),p.Q6J("fxFlex",Ne.screenSize===Ne.screenSizeEnum.XS||Ne.screenSize===Ne.screenSizeEnum.SM?"17":"9"),p.xp6(7),p.Q6J("ngIf",Ne.channel),p.xp6(1),p.Q6J("linear",!0),p.xp6(2),p.Q6J("stepControl",Ne.inputFormGroup)("editable",Ne.flgEditable),p.xp6(1),p.Q6J("formGroup",Ne.inputFormGroup),p.xp6(3),p.Q6J("quote",Ne.minQuote)("termCaption","min")("panelExpanded",!1)("showPanel",!0),p.xp6(1),p.Q6J("quote",Ne.maxQuote)("termCaption","max")("panelExpanded",!1)("showPanel",!0),p.xp6(2),p.Q6J("fxFlex",Ne.direction===Ne.LoopTypeEnum.LOOP_OUT?"35":"48"),p.xp6(1),p.Q6J("step",1e3),p.xp6(2),p.AsE("Range: ",p.lcZ(27,51,Ne.minQuote.amount),"-",p.lcZ(28,53,Ne.maxQuote.amount),""),p.xp6(5),p.Q6J("ngIf",null==Ne.inputFormGroup.controls.amount.errors?null:Ne.inputFormGroup.controls.amount.errors.required),p.xp6(1),p.Q6J("ngIf",null==Ne.inputFormGroup.controls.amount.errors?null:Ne.inputFormGroup.controls.amount.errors.min),p.xp6(1),p.Q6J("ngIf",null==Ne.inputFormGroup.controls.amount.errors?null:Ne.inputFormGroup.controls.amount.errors.max),p.xp6(1),p.Q6J("fxFlex",Ne.direction===Ne.LoopTypeEnum.LOOP_OUT?"30":"48"),p.xp6(1),p.Q6J("step",1),p.xp6(1),p.Q6J("ngIf",null==Ne.inputFormGroup.controls.sweepConfTarget.errors?null:Ne.inputFormGroup.controls.sweepConfTarget.errors.required),p.xp6(1),p.Q6J("ngIf",null==Ne.inputFormGroup.controls.sweepConfTarget.errors?null:Ne.inputFormGroup.controls.sweepConfTarget.errors.min),p.xp6(1),p.Q6J("ngIf",Ne.direction===Ne.LoopTypeEnum.LOOP_OUT),p.xp6(1),p.Q6J("ngIf",Ne.direction===Ne.LoopTypeEnum.LOOP_OUT),p.xp6(4),p.Q6J("stepControl",Ne.quoteFormGroup)("editable",Ne.flgEditable),p.xp6(1),p.Q6J("formGroup",Ne.quoteFormGroup),p.xp6(2),p.Q6J("quote",Ne.quote)("showPanel",!1),p.xp6(1),p.Q6J("ngIf",Ne.inputFormGroup.controls.amount.value>Ne.localBalanceToCompare),p.xp6(2),p.Q6J("ngIf",Ne.direction===Ne.LoopTypeEnum.LOOP_OUT),p.xp6(1),p.Q6J("ngIf",Ne.direction===Ne.LoopTypeEnum.LOOP_IN),p.xp6(1),p.Q6J("ngIf",Ne.direction===Ne.LoopTypeEnum.LOOP_OUT),p.xp6(1),p.Q6J("stepControl",Ne.statusFormGroup),p.xp6(1),p.Q6J("formGroup",Ne.statusFormGroup),p.xp6(3),p.Q6J("expanded",!!Ne.loopStatus),p.xp6(4),p.Oqu(Ne.loopStatus?Ne.loopStatus.id_bytes?Ne.loopDirectionCaption+" request details":Ne.loopDirectionCaption+" error details":"Waiting for "+Ne.loopDirectionCaption+" request..."),p.xp6(1),p.Q6J("ngIf",Ne.loopStatus),p.xp6(1),p.Q6J("ngIf",!Ne.loopStatus)("ngIfElse",Vt),p.xp6(1),p.Q6J("ngIf",!Ne.loopStatus),p.xp6(1),p.Q6J("ngIf",Ne.loopStatus),p.xp6(2),p.Q6J("ngIf",Ne.loopStatus&&Ne.loopStatus.id_bytes&&Ne.channel),p.xp6(1),p.Q6J("ngIf",Ne.loopStatus&&(Ne.loopStatus.error||!Ne.loopStatus.id_bytes)),p.xp6(2),p.Q6J("mat-dialog-close",!1)}}function vt(wt,qe){if(1&wt&&p._UZ(0,"rtl-loop-status",71),2&wt){const Ne=p.oxw();p.Q6J("loopStatus",Ne.loopStatus)}}function ri(wt,qe){if(1&wt){const Ne=p.EpF();p.TgZ(0,"rtl-loop-out-info-graphics",88),p.NdJ("stepNumberChange",function(jt){p.CHM(Ne);const fi=p.oxw(2);return p.KtG(fi.stepNumber=jt)}),p.qZA()}if(2&wt){const Ne=p.oxw(2);p.Q6J("animationDirection",Ne.animationDirection)("stepNumber",Ne.stepNumber)}}function Pt(wt,qe){if(1&wt){const Ne=p.EpF();p.TgZ(0,"rtl-loop-in-info-graphics",88),p.NdJ("stepNumberChange",function(jt){p.CHM(Ne);const fi=p.oxw(2);return p.KtG(fi.stepNumber=jt)}),p.qZA()}if(2&wt){const Ne=p.oxw(2);p.Q6J("animationDirection",Ne.animationDirection)("stepNumber",Ne.stepNumber)}}const Lt=function(wt,qe){return{"dot-primary":wt,"dot-primary-lighter":qe}};function Kt(wt,qe){if(1&wt){const Ne=p.EpF();p.TgZ(0,"span",89),p.NdJ("click",function(){const fi=p.CHM(Ne).$implicit,Si=p.oxw(2);return p.KtG(Si.onStepChanged(fi))}),p._UZ(1,"p",90),p.qZA()}if(2&wt){const Ne=qe.$implicit,Vt=p.oxw(2);p.xp6(1),p.Q6J("ngClass",p.WLB(1,Lt,Vt.stepNumber===Ne,Vt.stepNumber!==Ne))}}function Ae(wt,qe){if(1&wt){const Ne=p.EpF();p.TgZ(0,"button",91),p.NdJ("click",function(){p.CHM(Ne);const jt=p.oxw(2);return p.KtG(jt.onReadMore())}),p._uU(1,"Read More"),p.qZA()}}function fe(wt,qe){if(1&wt){const Ne=p.EpF();p.TgZ(0,"button",92),p.NdJ("click",function(){p.CHM(Ne);const jt=p.oxw(2);return p.KtG(jt.onStepChanged(4))}),p._uU(1,"Back"),p.qZA()}}function st(wt,qe){if(1&wt){const Ne=p.EpF();p.TgZ(0,"button",93),p.NdJ("click",function(){p.CHM(Ne);const jt=p.oxw(2);return jt.flgShowInfo=!1,p.KtG(jt.stepNumber=1)}),p._uU(1,"Close"),p.qZA()}}function _t(wt,qe){if(1&wt){const Ne=p.EpF();p.TgZ(0,"button",94),p.NdJ("click",function(){p.CHM(Ne);const jt=p.oxw(2);return jt.flgShowInfo=!1,p.KtG(jt.stepNumber=1)}),p._uU(1,"Close"),p.qZA()}}function kt(wt,qe){if(1&wt){const Ne=p.EpF();p.TgZ(0,"button",95),p.NdJ("click",function(){p.CHM(Ne);const jt=p.oxw(2);return p.KtG(jt.onStepChanged(jt.stepNumber-1))}),p._uU(1,"Back"),p.qZA()}}function Oi(wt,qe){if(1&wt){const Ne=p.EpF();p.TgZ(0,"button",96),p.NdJ("click",function(){p.CHM(Ne);const jt=p.oxw(2);return p.KtG(jt.onStepChanged(jt.stepNumber+1))}),p._uU(1,"Next"),p.qZA()}}const Li=function(){return[1,2,3,4,5]};function Ei(wt,qe){if(1&wt){const Ne=p.EpF();p.TgZ(0,"div",72)(1,"div",19)(2,"mat-card-header",73)(3,"div",74),p._UZ(4,"span",7),p.qZA(),p.TgZ(5,"div",75)(6,"button",76),p.NdJ("click",function(){p.CHM(Ne);const jt=p.oxw();return jt.flgShowInfo=!1,p.KtG(jt.stepNumber=1)}),p._uU(7,"X"),p.qZA()()(),p.TgZ(8,"mat-card-content",77),p.YNc(9,ri,1,2,"rtl-loop-out-info-graphics",78),p.YNc(10,Pt,1,2,"rtl-loop-in-info-graphics",78),p.qZA(),p.TgZ(11,"div",79),p.YNc(12,Kt,2,4,"span",80),p.qZA(),p.TgZ(13,"div",81),p.YNc(14,Ae,2,0,"button",82),p.YNc(15,fe,2,0,"button",83),p.YNc(16,st,2,0,"button",84),p.YNc(17,_t,2,0,"button",85),p.YNc(18,kt,2,0,"button",86),p.YNc(19,Oi,2,0,"button",87),p.qZA()()()}if(2&wt){const Ne=p.oxw();p.Q6J("@opacityAnimation",void 0),p.xp6(9),p.Q6J("ngIf",Ne.direction===Ne.LoopTypeEnum.LOOP_OUT),p.xp6(1),p.Q6J("ngIf",Ne.direction===Ne.LoopTypeEnum.LOOP_IN),p.xp6(2),p.Q6J("ngForOf",p.DdM(10,Li)),p.xp6(2),p.Q6J("ngIf",5===Ne.stepNumber),p.xp6(1),p.Q6J("ngIf",5===Ne.stepNumber),p.xp6(1),p.Q6J("ngIf",5===Ne.stepNumber),p.xp6(1),p.Q6J("ngIf",Ne.stepNumber<5),p.xp6(1),p.Q6J("ngIf",Ne.stepNumber>1&&Ne.stepNumber<5),p.xp6(1),p.Q6J("ngIf",Ne.stepNumber<5)}}class Wi{constructor(qe,Ne,Vt,jt,fi,Si,ki,Gi,Qt){this.dialogRef=qe,this.data=Ne,this.store=Vt,this.loopService=jt,this.formBuilder=fi,this.decimalPipe=Si,this.logger=ki,this.router=Gi,this.commonService=Qt,this.faInfoCircle=l.sqG,this.LoopTypeEnum=d.$I,this.direction=d.$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=d.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||d.$I.LOOP_OUT,this.loopDirectionCaption=this.direction===d.$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===d.$I.LOOP_OUT&&this.addressFormGroup.setErrors({Invalid:!0}),this.statusFormGroup=this.formBuilder.group({}),this.onFormValueChanges(),this.store.select(P.ZW).pipe((0,_.R)(this.unSubs[6])).subscribe(qe=>{this.localBalanceToCompare=this.channel&&this.channel.local_balance?+this.channel.local_balance:qe.lightningBalance&&qe.lightningBalance.local?+qe.lightningBalance.local:null})}onFormValueChanges(){this.inputFormGroup.valueChanges.pipe((0,_.R)(this.unSubs[4])).subscribe(qe=>{this.inputFormGroup.setErrors({Invalid:!0})}),this.direction===d.$I.LOOP_OUT&&this.addressFormGroup.valueChanges.pipe((0,_.R)(this.unSubs[5])).subscribe(qe=>{this.addressFormGroup.setErrors({Invalid:!0})})}onAddressTypeChange(qe){"external"===qe.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===d.$I.LOOP_OUT&&(!this.inputFormGroup.controls.routingFeePercent.value||this.inputFormGroup.controls.routingFeePercent.value<0)||this.direction===d.$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===d.$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,_.R)(this.unSubs[0])).subscribe({next:qe=>{this.loopStatus=qe,this.loopService.listSwaps(),this.flgEditable=!0},error:qe=>{this.loopStatus={error:qe},this.flgEditable=!0,this.logger.error(qe)}});else{const qe=Math.ceil(this.inputFormGroup.controls.amount.value*(this.inputFormGroup.controls.routingFeePercent.value/100)),Ne="external"===this.addressFormGroup.controls.addressType.value?this.addressFormGroup.controls.address.value:"",Vt=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,qe,+(this.quote.htlc_sweep_fee_sat||0),this.prepayRoutingFee,+(this.quote.prepay_amt_sat||0),+(this.quote.swap_fee_sat||0),Vt,Ne).pipe((0,_.R)(this.unSubs[1])).subscribe({next:jt=>{this.loopStatus=jt,this.loopService.listSwaps(),this.flgEditable=!0},error:jt=>{this.loopStatus={error:jt},this.flgEditable=!0,this.logger.error(jt)}})}}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 qe=this.inputFormGroup.controls.fast.value?0:(new Date).getTime()+18e5;this.direction===d.$I.LOOP_IN?this.loopService.getLoopInQuote(this.inputFormGroup.controls.amount.value,this.inputFormGroup.controls.sweepConfTarget.value,qe).pipe((0,_.R)(this.unSubs[2])).subscribe(Ne=>{this.quote=Ne,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,qe).pipe((0,_.R)(this.unSubs[3])).subscribe(Ne=>{this.quote=Ne,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(qe){switch(qe.selectedIndex){case 0:default:this.inputFormLabel="Amount to "+this.loopDirectionCaption,this.quoteFormLabel="Confirm Quote",this.addressFormLabel="Withdrawal Address";break;case 1:this.inputFormGroup.controls.amount.value||this.inputFormGroup.controls.sweepConfTarget.value?this.direction===d.$I.LOOP_IN?this.inputFormLabel=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.inputFormLabel=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"):this.inputFormLabel="Amount to "+this.loopDirectionCaption,this.quoteFormLabel="Confirm Quote",this.addressFormLabel="Withdrawal Address";break;case 2:this.inputFormGroup.controls.amount.value||this.inputFormGroup.controls.sweepConfTarget.value?this.direction===d.$I.LOOP_IN?this.inputFormLabel=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.inputFormLabel=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"):this.inputFormLabel="Amount to "+this.loopDirectionCaption,this.quote&&this.quote.swap_fee_sat&&(this.quote.htlc_sweep_fee_sat||this.quote.htlc_publish_fee_sat)&&this.quote.prepay_amt_sat?this.quoteFormLabel="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":this.quoteFormLabel="Quote confirmed",this.addressFormGroup.controls.addressType.value?this.addressFormLabel="Withdrawal Address | Type: "+this.addressFormGroup.controls.addressType.value:this.addressFormLabel="Withdrawal Address"}(this.direction===d.$I.LOOP_OUT&&1!==qe.selectedIndex&&qe.selectedIndex<qe.previouslySelectedIndex||this.direction===d.$I.LOOP_IN&&qe.selectedIndex<qe.previouslySelectedIndex)&&qe.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===d.$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(qe){this.animationDirection=qe<this.stepNumber?"backward":"forward",this.stepNumber=qe}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(qe=>{qe.next(null),qe.complete()})}static#e=this.\u0275fac=function(Ne){return new(Ne||Wi)(p.Y36(S.so),p.Y36(S.WI),p.Y36(L.yh),p.Y36(M.W),p.Y36(e.QS),p.Y36(k.JJ),p.Y36(E.mQ),p.Y36(z.F0),p.Y36(I.v))};static#t=this.\u0275cmp=p.Xpm({type:Wi,selectors:[["rtl-loop-modal"]],viewQuery:function(Ne,Vt){if(1&Ne&&p.Gf(oe,5),2&Ne){let jt;p.iGM(jt=p.CRH())&&(Vt.stepper=jt.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","","placeholder","Amount","type","number","tabindex","1","formControlName","amount","required","",3,"step"],["matSuffix",""],[4,"ngIf"],["matInput","","placeholder","Sweep Confirmation Target","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","","placeholder","Max Off-chain Routing Fee (%)","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"],["fxFlex","100",1,"mt-1"],["matInput","","placeholder","Address","tabindex","10","formControlName","address",3,"required"],["mat-button","","color","primary","tabindex","11","type","button",3,"click"],[1,"ml-1","icon-small"],["fxFlex","100","color","primary","mode","indeterminate"],["fxLayoutAlign","start",1,"font-bold-500","mt-2"],["mat-button","","color","primary","tabindex","12","type","button",3,"click"],["mat-button","","color","primary","tabindex","13","type","button",3,"click"],["fxLayout","column",3,"loopStatus"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"info-graphics-container"],["fxLayout","row","fxFlex","8","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],["fxFlex","5","fxLayoutAlign","end center"],["tabindex","19","mat-button","",1,"btn-close-x","p-0",3,"click"],["fxLayout","column","fxFlex","70","fxLayoutAlign","space-between center",1,"padding-gap-x-large"],["fxFlex","100",3,"animationDirection","stepNumber","stepNumberChange",4,"ngIf"],["fxLayout","row","fxFlex","10","fxLayoutAlign","center end",1,"padding-gap-x-large","padding-gap-bottom-large"],["fxLayoutAlign","center center","class","dots-stepper-block",3,"click",4,"ngFor","ngForOf"],["fxLayout","row","fxFlex","10","fxLayoutAlign","end end",1,"padding-gap-x-large","padding-gap-bottom-large"],["mat-button","","class","mr-1","color","primary","tabindex","15","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","16","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","17","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","18","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","19","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","20","type","button",3,"click",4,"ngIf"],["fxFlex","100",3,"animationDirection","stepNumber","stepNumberChange"],["fxLayoutAlign","center center",1,"dots-stepper-block",3,"click"],[1,"dot","tiny-dot","mr-0",3,"ngClass"],["mat-button","","color","primary","tabindex","15","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","16","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","17","type","button",3,"click"],["mat-button","","color","primary","tabindex","18","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","19","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","20","type","button",3,"click"]],template:function(Ne,Vt){1&Ne&&(p.YNc(0,Ke,71,55,"div",0),p.YNc(1,vt,1,1,"ng-template",null,1,p.W1O),p.YNc(3,Ei,20,11,"div",2)),2&Ne&&(p.Q6J("ngIf",!Vt.flgShowInfo),p.xp6(3),p.Q6J("ngIf",Vt.flgShowInfo))},dependencies:[k.mk,k.sg,k.O5,e._Y,e.Fj,e.wV,e.JJ,e.JL,e.Q7,e.sg,e.u,V.xw,V.Wh,V.yH,Z.oO,S.ZT,q.lW,te.dn,te.dk,ne.ib,ne.yz,ne.yK,le.Hw,re.Nt,_e.KE,_e.bx,_e.TO,_e.R9,he.pW,ae.VQ,ae.U0,ve.Rr,T.gM,i.C0,i.VY,i.Vq,o.h,N,Ye,Ee,Ue,k.JJ,k.rS],styles:[".dots-stepper-block[_ngcontent-%COMP%]{width:3rem}.info-graphics-container[_ngcontent-%COMP%]{max-height:60rem;min-height:60rem}"],data:{animation:[D._]}})}},9442:(Ge,X,f)=>{"use strict";f.d(X,{w:()=>P});var e=f(9306),t=f(2560),_=f(3547),S=f(3505),l=f(6722),D=f(4522),d=f(2156);class P{constructor(L){this.router=L,this.faTimes=e.NBC}goToHelp(){this.router.navigate(["/help"])}static#e=this.\u0275fac=function(M){return new(M||P)(t.Y36(_.F0))};static#t=this.\u0275cmp=t.Xpm({type:P,selectors:[["rtl-not-found"]],decls:13,vars:1,consts:[["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column",1,"padding-gap-x"],["fxLayout","column",1,"padding-gap-large"],["fxLayout","column","fxLayoutAlign","start start"],[1,"box-text"],["fxLayout","row","fxLayoutAlign","center","fxFlex","80"],["mat-flat-button","","color","primary","type","button",1,"mt-2",3,"click"]],template:function(M,k){1&M&&(t.TgZ(0,"div",0),t._UZ(1,"fa-icon",1),t.TgZ(2,"span",2),t._uU(3,"Page Not Found"),t.qZA()(),t.TgZ(4,"div",3)(5,"mat-card")(6,"mat-card-content",4)(7,"div",5)(8,"div",6),t._uU(9,"This page does not exist!"),t.qZA(),t.TgZ(10,"span",7)(11,"button",8),t.NdJ("click",function(){return k.goToHelp()}),t._uU(12,"Go To Help"),t.qZA()()()()()()),2&M&&(t.xp6(1),t.Q6J("icon",k.faTimes))},dependencies:[S.BN,l.xw,l.Wh,l.yH,D.lW,d.a8,d.dn],encapsulation:2})}},3390:(Ge,X,f)=>{"use strict";f.d(X,{h:()=>t});var e=f(2560);class t{constructor(S){this.el=S}ngAfterContentInit(){setTimeout(()=>{this.el.nativeElement.focus()},500)}static#e=this.\u0275fac=function(l){return new(l||t)(e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:t,selectors:[["","autoFocus",""]],inputs:{appAutoFocus:"appAutoFocus"}})}},6895:(Ge,X,f)=>{"use strict";f.d(X,{y:()=>t});var e=f(2560);class t{constructor(){this.copied=new e.vpe}onClick(S){S.preventDefault(),this.payload&&navigator.clipboard&&navigator.clipboard.writeText(this.payload.toString()).then(()=>{this.copied.emit(this.payload.toString())},l=>{this.copied.emit("Error could not copy text: "+JSON.stringify(l))})}static#e=this.\u0275fac=function(l){return new(l||t)};static#t=this.\u0275dir=e.lG2({type:t,selectors:[["","rtlClipboard",""]],hostBindings:function(l,D){1&l&&e.NdJ("click",function(P){return D.onClick(P)})},inputs:{payload:"payload"},outputs:{copied:"copied"}})}},9843:(Ge,X,f)=>{"use strict";f.d(X,{F:()=>_});var e=f(2508),t=f(2560);class _{validate(l){return this.max?e.kI.max(+this.max)(l):null}static#e=this.\u0275fac=function(D){return new(D||_)};static#t=this.\u0275dir=t.lG2({type:_,selectors:[["input","max",""]],inputs:{max:"max"},features:[t._Bn([{provide:e.Cf,useExisting:_,multi:!0}])]})}},6534:(Ge,X,f)=>{"use strict";f.d(X,{q:()=>_});var e=f(2508),t=f(2560);class _{validate(l){return this.min?e.kI.min(+this.min)(l):null}static#e=this.\u0275fac=function(D){return new(D||_)};static#t=this.\u0275dir=t.lG2({type:_,selectors:[["input","min",""]],inputs:{min:"min"},features:[t._Bn([{provide:e.Cf,useExisting:_,multi:!0}])]})}},9445:(Ge,X,f)=>{"use strict";f.d(X,{D3:()=>l,al:()=>t,h9:()=>_,i1:()=>S});var e=f(2560);class t{transform(d,P){return d?.replace(/^[0]+/g,"")}static#e=this.\u0275fac=function(P){return new(P||t)};static#t=this.\u0275pipe=e.Yjl({name:"removeleadingzeros",type:t,pure:!0})}class _{transform(d,P){return d?.replace(/(?:^\w|[A-Z]|\b\w)/g,(p,L)=>p.toUpperCase())?.replace(/\s+/g,"")?.replace(/-/g," ")}static#e=this.\u0275fac=function(P){return new(P||_)};static#t=this.\u0275pipe=e.Yjl({name:"camelcase",type:_,pure:!0})}class S{transform(d,P,p){return d.replace(/(?:^\w|[A-Z]|\b\w)/g,(L,M)=>" "+L.toUpperCase())}static#e=this.\u0275fac=function(P){return new(P||S)};static#t=this.\u0275pipe=e.Yjl({name:"camelCaseWithSpaces",type:S,pure:!0})}class l{transform(d,P,p){return d=d?.toLowerCase().replace(/\s+/g,"")?.replace(/-/g," "),P&&(d=d.replace(new RegExp(P,"g")," ")),p&&(d=d.replace(new RegExp(p,"g")," ")),d.replace(/(?:^\w|[A-Z]|\b\w)/g,(L,M)=>L.toUpperCase())}static#e=this.\u0275fac=function(P){return new(P||l)};static#t=this.\u0275pipe=e.Yjl({name:"camelcaseWithReplace",type:l,pure:!0})}},1643:(Ge,X,f)=>{"use strict";f.d(X,{QM:()=>D,a1:()=>l,eQ:()=>d,fY:()=>P});var e=f(635),t=f(2560),_=f(3547),S=f(5986);class l{constructor(L,M){this.router=L,this.sessionService=M}canActivate(L){return!!this.sessionService.getItem("token")&&("settings"===L.url[0].path||"auth"===L.url[0].path||"true"!==this.sessionService.getItem("defaultPassword")||(this.router.navigate(["/settings/auth"]),!1))}static#e=this.\u0275fac=function(M){return new(M||l)(t.LFG(_.F0),t.LFG(S.m))};static#t=this.\u0275prov=t.Yz7({token:l,factory:l.\u0275fac})}class D{constructor(L){this.sessionService=L}canActivate(){return!!this.sessionService.watchSession().pipe((0,e.U)(L=>L.lndUnlocked))}static#e=this.\u0275fac=function(M){return new(M||D)(t.LFG(S.m))};static#t=this.\u0275prov=t.Yz7({token:D,factory:D.\u0275fac})}class d{constructor(L){this.sessionService=L}canActivate(){return!!this.sessionService.watchSession().pipe((0,e.U)(L=>L.clUnlocked))}static#e=this.\u0275fac=function(M){return new(M||d)(t.LFG(S.m))};static#t=this.\u0275prov=t.Yz7({token:d,factory:d.\u0275fac})}class P{constructor(L){this.sessionService=L}canActivate(){return!!this.sessionService.watchSession().pipe((0,e.U)(L=>L.eclUnlocked))}static#e=this.\u0275fac=function(M){return new(M||P)(t.LFG(S.m))};static#t=this.\u0275prov=t.Yz7({token:P,factory:P.\u0275fac})}},62:(Ge,X,f)=>{"use strict";f.d(X,{v:()=>M});var e=f(6317),t=f(745),_=f(5474),S=f(9295),l=f(635),D=f(3158),d=f(7731),P=f(2560),p=f(8104),L=f(5043);class M{constructor(E,z){this.dataService=E,this.logger=z,this.currencyUnits=[],this.CurrencyUnitEnum=d.NT,this.conversionData={data:null,last_fetched:null},this.ratesAPIStatus=d.Bn.UN_INITIATED,this.screenSize=d.cu.MD,this.containerSize={width:0,height:0},this.containerSizeUpdated=new e.X(this.containerSize)}getScreenSize(){return this.screenSize}setScreenSize(E){this.screenSize=E}getContainerSize(){return this.containerSize}setContainerSize(E,z){this.containerSize={width:E,height:z},this.logger.info("Container Size: "+JSON.stringify(this.containerSize)),this.containerSizeUpdated.next(this.containerSize)}sortByKey(E,z,I,V="asc"){return"number"===I?"desc"===V?E.sort((Z,q)=>+Z[z]>+q[z]?-1:1):E.sort((Z,q)=>+Z[z]>+q[z]?1:-1):"desc"===V?E.sort((Z,q)=>Z[z]>q[z]?-1:1):E.sort((Z,q)=>Z[z]>q[z]?1:-1)}sortDescByKey(E,z){return E.sort((I,V)=>{const Z=+I[z],q=+V[z];return Z>q?-1:Z<q?1:0})}sortAscByKey(E,z){return E.sort((I,V)=>{const Z=+I[z],q=+V[z];return Z<q?-1:Z>q?1:0})}camelCase(E){return E?.replace(/(?:^\w|[A-Z]|\b\w)/g,(z,I)=>z.toUpperCase())?.replace(/\s+/g,"")?.replace(/-/g," ")}titleCase(E,z,I){return z&&I&&""!==z&&""!==I&&(E=E?.replace(new RegExp(z,"g"),I)),E.indexOf("!\n")>0||E.indexOf(".\n")>0?E.split("\n")?.reduce((V,Z)=>V+Z.charAt(0).toUpperCase()+Z.substring(1).toLowerCase()+"\n",""):E.indexOf(" ")>0?E.split(" ")?.reduce((V,Z)=>V+Z.charAt(0).toUpperCase()+Z.substring(1).toLowerCase()+" ",""):E.charAt(0).toUpperCase()+E.substring(1).toLowerCase()}convertCurrency(E,z,I,V,Z){const q=(new Date).valueOf();return Z&&V&&this.ratesAPIStatus!==d.Bn.INITIATED&&(z===d.NT.OTHER||I===d.NT.OTHER)?this.conversionData.data&&this.conversionData.last_fetched&&q<this.conversionData.last_fetched+3e5?(0,t.of)(this.convertWithFiat(E,z,V)):(this.ratesAPIStatus=d.Bn.INITIATED,this.dataService.getFiatRates().pipe((0,S.q)(1),(0,l.U)(te=>(this.ratesAPIStatus=d.Bn.COMPLETED,this.conversionData.data=te&&"object"==typeof te?te:te&&"string"==typeof te?JSON.parse(te):{},this.conversionData.last_fetched=q,this.convertWithFiat(E,z,V))),(0,D.K)(te=>(this.ratesAPIStatus=d.Bn.ERROR,(0,_._)(()=>this.extractErrorMessage(te,"Currency Conversion Error.")))))):(0,t.of)(this.convertWithoutFiat(E,z))}convertWithoutFiat(E,z){const I={};switch(I[d.NT.SATS]=0,I[d.NT.BTC]=0,z){case d.NT.SATS:I[d.NT.SATS]=E,I[d.NT.BTC]=1e-8*E;break;case d.NT.BTC:I[d.NT.SATS]=1e8*E,I[d.NT.BTC]=E}return I}convertWithFiat(E,z,I){const V={unit:I,symbol:this.conversionData.data[I].symbol};switch(V[d.NT.SATS]=0,V[d.NT.BTC]=0,V[d.NT.OTHER]=0,z){case d.NT.SATS:V[d.NT.SATS]=E,V[d.NT.BTC]=1e-8*E,V[d.NT.OTHER]=1e-8*E*this.conversionData.data[I].last;break;case d.NT.BTC:V[d.NT.SATS]=1e8*E,V[d.NT.BTC]=E,V[d.NT.OTHER]=E*this.conversionData.data[I].last;break;case d.NT.OTHER:V[d.NT.SATS]=E/this.conversionData.data[I].last*1e8,V[d.NT.BTC]=E/this.conversionData.data[I].last,V[d.NT.OTHER]=E}return V}convertTime(E,z,I){switch(z){case d.Qk.SECS:switch(I){case d.Qk.MINS:E/=60;break;case d.Qk.HOURS:E/=3600;break;case d.Qk.DAYS:E/=86400}break;case d.Qk.MINS:switch(I){case d.Qk.SECS:E*=60;break;case d.Qk.HOURS:E/=60;break;case d.Qk.DAYS:E/=1440}break;case d.Qk.HOURS:switch(I){case d.Qk.SECS:E*=3600;break;case d.Qk.MINS:E*=60;break;case d.Qk.DAYS:E/=24}break;case d.Qk.DAYS:switch(I){case d.Qk.SECS:E=3600*E*24;break;case d.Qk.MINS:E=60*E*24;break;case d.Qk.HOURS:E*=24}}return E}downloadFile(E,z,I=".json",V=".csv"){let Z=new Blob;Z=".json"===I?new Blob(["\ufeff"+this.convertToCSV(E)],{type:"text/csv;charset=utf-8;"}):new Blob([E.toString()],{type:"text/plain;charset=utf-8"});const q=document.createElement("a"),te=URL.createObjectURL(Z);-1!==navigator.userAgent.indexOf("Safari")&&-1===navigator.userAgent.indexOf("Chrome")&&q.setAttribute("target","_blank"),q.setAttribute("href",te),q.setAttribute("download",z+V),q.style.visibility="hidden",document.body.appendChild(q),q.click(),document.body.removeChild(q)}convertToCSV(E){const z=[];let I="",V="",Z="";return"object"!=typeof E&&(E=JSON.parse(E)),E.forEach((te,ne)=>{for(const le in te)z.findIndex(re=>re===le)<0&&z.push(le)}),Z=z.join(",")+"\r\n",E.forEach(te=>{I="",z.forEach(ne=>{te.hasOwnProperty(ne)?Array.isArray(te[ne])?(V="",te[ne].forEach((le,re)=>{V+="object"==typeof le?"("+JSON.stringify(le)?.replace(/\,/g,";")+")":"("+le+")"}),I+=V+","):"object"==typeof te[ne]?I+=JSON.stringify(te[ne])?.replace(/\,/g,";")+",":I+=te[ne]+",":I+=","}),Z+=I.slice(0,-1)+"\r\n"}),Z}isVersionCompatible(E,z){if(E){const I=E.trim()?.replace("v","").split("-")[0].split(".")||[],V=z.split(".");return+I[0]>+V[0]||+I[0]==+V[0]&&+I[1]>+V[1]||+I[0]==+V[0]&&+I[1]==+V[1]&&+I[2]>=+V[2]}return!1}extractErrorMessage(E,z="Unknown Error."){const I=this.titleCase(E.error&&E.error.text&&"string"==typeof E.error.text&&E.error.text.includes('<!DOCTYPE html><html lang="en">')?"API Route Does Not Exist.":E.error&&E.error.error&&E.error.error.error&&E.error.error.error.error&&E.error.error.error.error.error&&"string"==typeof E.error.error.error.error.error?E.error.error.error.error.error:E.error&&E.error.error&&E.error.error.error&&E.error.error.error.error&&"string"==typeof E.error.error.error.error?E.error.error.error.error:E.error&&E.error.error&&E.error.error.error&&"string"==typeof E.error.error.error?E.error.error.error:E.error&&E.error.error&&"string"==typeof E.error.error?E.error.error:E.error&&"string"==typeof E.error?E.error:E.error&&E.error.error&&E.error.error.error&&E.error.error.error.error&&E.error.error.error.error.message&&"string"==typeof E.error.error.error.error.message?E.error.error.error.error.message:E.error&&E.error.error&&E.error.error.error&&E.error.error.error.message&&"string"==typeof E.error.error.error.message?E.error.error.error.message:E.error&&E.error.error&&E.error.error.message&&"string"==typeof E.error.error.message?E.error.error.message:E.error&&E.error.message&&"string"==typeof E.error.message?E.error.message:E.message&&"string"==typeof E.message?E.message:z);return this.logger.info("Error Message: "+I),I}extractErrorCode(E,z=500){const I=E.error&&E.error.error&&E.error.error.message&&E.error.error.message.code?E.error.error.message.code:E.error&&E.error.error&&E.error.error.code?E.error.error.code:E.error&&E.error.code?E.error.code:E.code?E.code:E.status?E.status:z;return this.logger.info("Error Code: "+I),I}extractErrorNumber(E,z=500){const I=E.error&&E.error.error&&E.error.error.errno?E.error.error.errno:E.error&&E.error.errno?E.error.errno:E.errno?E.errno:E.status?E.status:z;return this.logger.info("Error Number: "+I),I}ngOnDestroy(){this.containerSizeUpdated.next(null),this.containerSizeUpdated.complete()}static#e=this.\u0275fac=function(z){return new(z||M)(P.LFG(p.D),P.LFG(L.mQ))};static#t=this.\u0275prov=P.Yz7({token:M,factory:M.\u0275fac})}},7731:(Ge,X,f)=>{"use strict";f.d(X,{$I:()=>o,$v:()=>z,AB:()=>Le,At:()=>ie,Bn:()=>a,Df:()=>$e,Dr:()=>L,Er:()=>l,Fq:()=>i,Gi:()=>re,HW:()=>he,H_:()=>Ve,IV:()=>d,IX:()=>U,JX:()=>R,LO:()=>D,NT:()=>le,OJ:()=>te,OO:()=>je,Pi:()=>we,Qk:()=>ne,Qw:()=>h,TJ:()=>P,Vc:()=>M,Xk:()=>Ue,Xr:()=>N,Xz:()=>S,Zs:()=>T,_t:()=>p,c3:()=>ze,cu:()=>_e,g8:()=>V,gB:()=>et,gG:()=>Me,gK:()=>G,gg:()=>y,hG:()=>$,hZ:()=>be,hc:()=>m,kO:()=>v,lr:()=>Ye,m6:()=>C,nM:()=>I,n_:()=>q,ol:()=>Z,op:()=>A,p7:()=>ve,pg:()=>Q,pt:()=>t,uA:()=>_,uR:()=>Pe,vn:()=>k,wZ:()=>E,x$:()=>ae,zZ:()=>de});var e=f(6060);function t(oe){const bt=new e.ye;return bt.itemsPerPageLabel=oe+" per page:",bt}const _=["Sats","BTC"],S={Sats:"1.0-0",BTC:"1.6-6",OTHER:"1.2-2"},l=[{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"}],D=["SECS","MINS","HOURS","DAYS"],d=10,P=[5,10,25,100],p=[{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"}],L=[{id:"0",name:"Priority (Default)"},{id:"1",name:"Target Confirmation Blocks"},{id:"2",name:"Fee"}],M=[{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"}],k=[{feeRateId:"urgent",feeRateType:"Urgent"},{feeRateId:"normal",feeRateType:"Normal"},{feeRateId:"slow",feeRateType:"Slow"},{feeRateId:"customperkb",feeRateType:"Custom (Sats/vByte)"}],E={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 z,oe,I,V,Z,q,te,ne,le,re,_e;(oe=z||(z={})).PAYMENT_RECEIVED="payment-received",oe.PAYMENT_RELAYED="payment-relayed",oe.PAYMENT_SENT="payment-sent",oe.PAYMENT_SETTLING_ONCHAIN="payment-settling-onchain",oe.PAYMENT_FAILED="payment-failed",oe.CHANNEL_OPENED="channel-opened",oe.CHANNEL_STATE_CHANGED="channel-state-changed",oe.CHANNEL_CLOSED="channel-closed",function(oe){oe.INVOICE="invoice",oe.BLOCK_HEIGHT="block-height",oe.SEND_PAYMENT="send-payment"}(I||(I={})),function(oe){oe.INVOICE="invoice"}(V||(V={})),function(oe){oe.OPERATOR="OPERATOR",oe.MERCHANT="MERCHANT",oe.ALL="ALL"}(Z||(Z={})),function(oe){oe.INFORMATION="Information",oe.WARNING="Warning",oe.ERROR="Error",oe.SUCCESS="Success",oe.CONFIRM="Confirm"}(q||(q={})),function(oe){oe.JWT="JWT",oe.PASSWORD="PASSWORD"}(te||(te={})),function(oe){oe.SECS="SECS",oe.MINS="MINS",oe.HOURS="HOURS",oe.DAYS="DAYS"}(ne||(ne={})),function(oe){oe.SATS="Sats",oe.BTC="BTC",oe.OTHER="OTHER"}(le||(le={})),function(oe){oe.ARRAY="ARRAY",oe.NUMBER="NUMBER",oe.STRING="STRING",oe.BOOLEAN="BOOLEAN",oe.PASSWORD="PASSWORD",oe.DATE="DATE",oe.DATE_TIME="DATE_TIME"}(re||(re={})),function(oe){oe.XS="XS",oe.SM="SM",oe.MD="MD",oe.LG="LG",oe.XL="XL"}(_e||(_e={}));const he={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"}},ae={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 ve,T,i,o,m,h;!function(oe){oe.WIRE_INVALID_ONION_VERSION="Invalid Onion Version",oe.WIRE_INVALID_ONION_HMAC="Invalid Onion HMAC",oe.WIRE_INVALID_ONION_KEY="Invalid Onion Key",oe.WIRE_TEMPORARY_CHANNEL_FAILURE="Temporary Channel Failure",oe.WIRE_PERMANENT_CHANNEL_FAILURE="Permanent Channel Failure",oe.WIRE_REQUIRED_CHANNEL_FEATURE_MISSING="Missing Required Channel Feature",oe.WIRE_UNKNOWN_NEXT_PEER="Unknown Next Peer",oe.WIRE_AMOUNT_BELOW_MINIMUM="Amount Below Minimum",oe.WIRE_FEE_INSUFFICIENT="Insufficient Fee",oe.WIRE_INCORRECT_CLTV_EXPIRY="Incorrect CLTV Expiry",oe.WIRE_EXPIRY_TOO_FAR="Expiry Too Far",oe.WIRE_EXPIRY_TOO_SOON="Expiry Too Soon",oe.WIRE_CHANNEL_DISABLED="Channel Disabled",oe.WIRE_INVALID_ONION_PAYLOAD="Invalid Onion Payload",oe.WIRE_INVALID_REALM="Invalid Realm",oe.WIRE_PERMANENT_NODE_FAILURE="Permanent Node Failure",oe.WIRE_TEMPORARY_NODE_FAILURE="Temporary Node Failure",oe.WIRE_REQUIRED_NODE_FEATURE_MISSING="Missing Required Node Feature",oe.WIRE_INVALID_ONION_BLINDING="Invalid Onion Binding",oe.WIRE_INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS="Incorrect or Unknow Payment Details",oe.WIRE_MPP_TIMEOUT="MPP Timeout",oe.WIRE_FINAL_INCORRECT_CLTV_EXPIRY="Incorrect CLTV Expiry",oe.WIRE_FINAL_INCORRECT_HTLC_AMOUNT="Incorrect HTLC Amount"}(ve||(ve={})),function(oe){oe.CHANNELD_NORMAL="Active",oe.OPENINGD="Opening",oe.CHANNELD_AWAITING_LOCKIN="Pending Open",oe.CHANNELD_SHUTTING_DOWN="Shutting Down",oe.CLOSINGD_SIGEXCHANGE="Closing: Sig Exchange",oe.CLOSINGD_COMPLETE="Closed",oe.AWAITING_UNILATERAL="Awaiting Unilateral Close",oe.FUNDING_SPEND_SEEN="Funding Spend Seen",oe.ONCHAIN="Onchain",oe.DUALOPEND_OPEN_INIT="Dual Open Initialized",oe.DUALOPEND_AWAITING_LOCKIN="Dual Pending Open"}(T||(T={})),function(oe){oe.INITIATED="Initiated",oe.PREIMAGE_REVEALED="Preimage Revealed",oe.HTLC_PUBLISHED="HTLC Published",oe.SUCCESS="Successful",oe.FAILED="Failed",oe.INVOICE_SETTLED="Invoice Settled"}(i||(i={})),function(oe){oe.LOOP_OUT="LOOP_OUT",oe.LOOP_IN="LOOP_IN"}(o||(o={})),function(oe){oe.SWAP_OUT="SWAP_OUT",oe.SWAP_IN="SWAP_IN"}(m||(m={})),function(oe){oe["swap.created"]="Swap Created",oe["swap.expired"]="Swap Expired",oe["invoice.set"]="Invoice Set",oe["invoice.paid"]="Invoice Paid",oe["invoice.pending"]="Invoice Pending",oe["invoice.settled"]="Invoice Settled",oe["invoice.failedToPay"]="Invoice Failed To Pay",oe["channel.created"]="Channel Created",oe["transaction.failed"]="Transaction Failed",oe["transaction.mempool"]="Transaction Mempool",oe["transaction.claimed"]="Transaction Claimed",oe["transaction.refunded"]="Transaction Refunded",oe["transaction.confirmed"]="Transaction Confirmed",oe["swap.refunded"]="Swap Refunded",oe["swap.abandoned"]="Swap Abandoned"}(h||(h={}));const y=[{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}],A=["MONTHLY","YEARLY"];var R;!function(oe){oe.LOOP="LOOP",oe.BOLTZ="BOLTZ",oe.OFFERS="OFFERS",oe.PEERSWAP="PEERSWAP"}(R||(R={}));const v=["password","changeme","moneyprintergobrrr"];var a;!function(oe){oe.UN_INITIATED="UN_INITIATED",oe.INITIATED="INITIATED",oe.COMPLETED="COMPLETED",oe.ERROR="ERROR"}(a||(a={}));const C={NO_SPINNER:"No Spinner...",GET_NODE_INFO:"Getting Node Information...",INITALIZE_NODE_DATA:"Initializing Node Data...",GENERATE_NEW_ADDRESS:"Getting New Address...",SEND_FUNDS:"Sending Funds...",UPDATE_CHAN_POLICY:"Updating Channel Policy...",GET_CHAN_POLICY:"Fetching Channel Policy...",GET_REMOTE_POLICY:"Fetching Remote Policy...",CLOSE_CHANNEL:"Closing Channel...",FORCE_CLOSE_CHANNEL:"Force Closing Channel...",OPEN_CHANNEL:"Opening Channel...",CONNECT_PEER:"Connecting Peer...",DISCONNECT_PEER:"Disconnecting Peer...",ADD_INVOICE:"Adding Invoice...",CREATE_INVOICE:"Creating Invoice...",DELETE_INVOICE:"Deleting Invoices...",DECODE_PAYMENT:"Decoding Payment...",DECODE_OFFER:"Decoding Offer...",DECODE_PAYMENTS:"Decoding Payments...",FETCH_INVOICE:"Fetching Invoice...",GET_SENT_PAYMENTS:"Getting Sent Payments...",SEND_PAYMENT:"Sending Payment...",SEND_KEYSEND:"Sending Keysend Payment...",SEARCHING_NODE:"Searching Node...",SEARCHING_CHANNEL:"Searching Channel...",SEARCHING_INVOICE:"Searching Invoice...",SEARCHING_PAYMENT:"Searching Payment...",BACKUP_CHANNEL:"Backup Channels...",VERIFY_CHANNEL:"Verify Channel...",DOWNLOAD_BACKUP_FILE:"Downloading Backup File...",RESTORE_CHANNEL:"Restoring Channels...",GET_TERMS_QUOTES:"Getting Terms and Quotes...",LABEL_UTXO:"Labelling UTXO...",GET_NODE_ADDRESS:"Getting Node Address...",GEN_SEED:"Generating Seed...",INITIALIZE_WALLET:"Initializing Wallet...",UNLOCK_WALLET:"Unlocking Wallet...",WAIT_SYNC_NODE:"Waiting for Node Sync...",UPDATE_BOLTZ_SETTINGS:"Updating Boltz Service Settings...",UPDATE_LOOP_SETTINGS:"Updating Loop Service Settings...",UPDATE_PEERSWAP_SETTINGS:"Updating Peerswap Service Settings...",UPDATE_SETTING:"Updating Setting...",UPDATE_UI_SETTINGS:"Updating Settings...",UPDATE_NODE_SETTINGS:"Updating Node Settings...",UPDATE_SELECTED_NODE:"Updating Selected Node...",OPEN_CONFIG_FILE:"Opening Config File...",GET_SERVICE_INFO:"Getting Service Info...",GET_QUOTE:"Getting Quotes...",UPDATE_DEFAULT_NODE_SETTING:"Updating Defaule Node Settings...",GET_BOLTZ_SWAPS:"Getting Boltz Swaps...",SIGN_MESSAGE:"Signing Message...",VERIFY_MESSAGE:"Verifying Message...",BUMP_FEE:"Bumping Fee...",LEASE_UTXO:"Leasing UTXO...",GET_LOOP_SWAPS:"Getting List Swaps...",GET_FORWARDING_HISTORY:"Getting Forwarding History...",GET_LOOKUP_DETAILS:"Getting Lookup Details...",GET_RTL_CONFIG:"Getting RTL Config...",VERIFY_TOKEN:"Verify Token...",DISABLE_OFFER:"Disabling Offer...",CREATE_OFFER:"Creating Offer...",DELETE_OFFER_BOOKMARK:"Deleting Bookmark...",GET_FUNDER_POLICY:"Getting Or Updating Funder Policy...",GET_LIST_CONFIGS:"Getting Configurations List...",LIST_NETWORK_NODES:"Getting Network Nodes List...",GET_PAGE_SETTINGS:"Getting Page Settings...",SET_PAGE_SETTINGS:"Setting Page Settings...",UPDATE_PAGE_SETTINGS:"Updating Page Layout...",LOG_OUT:"Logging Out..."};var U,N,Q,Pe,Le,Ye;!function(oe){oe.INVOICE="INVOICE",oe.OFFER="OFFER",oe.KEYSEND="KEYSEND"}(U||(U={})),function(oe){oe.FEES="FEES",oe.EVENTS="EVENTS"}(N||(N={})),function(oe){oe.VOID="VOID",oe.SET_API_URL_ECL="SET_API_URL_ECL",oe.UPDATE_SELECTED_NODE_OPTIONS="UPDATE_SELECTED_NODE_OPTIONS",oe.UPDATE_API_CALL_STATUS_ROOT="UPDATE_API_CALL_STATUS_ROOT",oe.RESET_ROOT_STORE="RESET_ROOT_STORE",oe.CLOSE_ALL_DIALOGS="CLOSE_ALL_DIALOGS",oe.OPEN_SNACK_BAR="OPEN_SNACKBAR",oe.OPEN_SPINNER="OPEN_SPINNER",oe.CLOSE_SPINNER="CLOSE_SPINNER",oe.OPEN_ALERT="OPEN_ALERT",oe.CLOSE_ALERT="CLOSE_ALERT",oe.OPEN_CONFIRMATION="OPEN_CONFIRMATION",oe.CLOSE_CONFIRMATION="CLOSE_CONFIRMATION",oe.SHOW_PUBKEY="SHOW_PUBKEY",oe.FETCH_CONFIG="FETCH_CONFIG",oe.SHOW_CONFIG="SHOW_CONFIG",oe.FETCH_STORE="FETCH_STORE",oe.SET_STORE="SET_STORE",oe.FETCH_RTL_CONFIG="FETCH_RTL_CONFIG",oe.SET_RTL_CONFIG="SET_RTL_CONFIG",oe.SAVE_SSO="SAVE_SSO",oe.SAVE_SETTINGS="SAVE_SETTINGS",oe.TWO_FA_SAVE_SETTINGS="TWO_FA_SAVE_SETTINGS",oe.SET_SELECTED_NODE="SET_SELECTED_NODE",oe.UPDATE_ROOT_NODE_SETTINGS="UPDATE_ROOT_NODE_SETTINGS",oe.UPDATE_SERVICE_SETTINGS="UPDATE_SERVICE_SETTINGS",oe.SET_NODE_DATA="SET_NODE_DATA",oe.IS_AUTHORIZED="IS_AUTHORIZED",oe.IS_AUTHORIZED_RES="IS_AUTHORIZED_RES",oe.LOGIN="LOGIN",oe.VERIFY_TWO_FA="VERIFY_TWO_FA",oe.LOGOUT="LOGOUT",oe.RESET_PASSWORD="RESET_PASSWORD",oe.RESET_PASSWORD_RES="RESET_PASSWORD_RES",oe.FETCH_FILE="FETCH_FILE",oe.SHOW_FILE="SHOW_FILE"}(Q||(Q={})),function(oe){oe.RESET_LND_STORE="RESET_LND_STORE",oe.UPDATE_API_CALL_STATUS_LND="UPDATE_API_CALL_STATUS_LND",oe.SET_CHILD_NODE_SETTINGS_LND="SET_CHILD_NODE_SETTINGS_LND",oe.FETCH_PAGE_SETTINGS_LND="FETCH_PAGE_SETTINGS_LND",oe.SET_PAGE_SETTINGS_LND="SET_PAGE_SETTINGS_LND",oe.SAVE_PAGE_SETTINGS_LND="SAVE_PAGE_SETTINGS_LND",oe.FETCH_INFO_LND="FETCH_INFO_LND",oe.SET_INFO_LND="SET_INFO_LND",oe.FETCH_PEERS_LND="FETCH_PEERS_LND",oe.SET_PEERS_LND="SET_PEERS_LND",oe.SAVE_NEW_PEER_LND="SAVE_NEW_PEER_LND",oe.NEWLY_ADDED_PEER_LND="NEWLY_ADDED_PEER_LND",oe.DETACH_PEER_LND="DETACH_PEER_LND",oe.REMOVE_PEER_LND="REMOVE_PEER_LND",oe.SAVE_NEW_INVOICE_LND="SAVE_NEW_INVOICE_LND",oe.NEWLY_SAVED_INVOICE_LND="NEWLY_SAVED_INVOICE_LND",oe.ADD_INVOICE_LND="ADD_INVOICE_LND",oe.FETCH_FEES_LND="FETCH_FEES_LND",oe.SET_FEES_LND="SET_FEES_LND",oe.FETCH_BLOCKCHAIN_BALANCE_LND="FETCH_BLOCKCHAIN_BALANCE_LND",oe.SET_BLOCKCHAIN_BALANCE_LND="SET_BLOCKCHAIN_BALANCE_LND",oe.FETCH_NETWORK_LND="FETCH_NETWORK_LND",oe.SET_NETWORK_LND="SET_NETWORK_LND",oe.FETCH_CHANNELS_LND="FETCH_CHANNELS_LND",oe.FETCH_PENDING_CHANNELS_LND="FETCH_PENDING_CHANNELS_LND",oe.FETCH_CLOSED_CHANNELS_LND="FETCH_CLOSED_CHANNELS_LND",oe.SET_CHANNELS_LND="SET_CHANNELS_LND",oe.SET_PENDING_CHANNELS_LND="SET_PENDING_CHANNELS_LND",oe.SET_CLOSED_CHANNELS_LND="SET_CLOSED_CHANNELS_LND",oe.UPDATE_CHANNEL_LND="UPDATE_CHANNEL_LND",oe.SAVE_NEW_CHANNEL_LND="SAVE_NEW_CHANNEL_LND",oe.CLOSE_CHANNEL_LND="CLOSE_CHANNEL_LND",oe.REMOVE_CHANNEL_LND="REMOVE_CHANNEL_LND",oe.BACKUP_CHANNELS_LND="BACKUP_CHANNELS_LND",oe.VERIFY_CHANNEL_LND="VERIFY_CHANNEL_LND",oe.BACKUP_CHANNELS_RES_LND="BACKUP_CHANNELS_RES_LND",oe.VERIFY_CHANNEL_RES_LND="VERIFY_CHANNEL_RES_LND",oe.RESTORE_CHANNELS_LIST_LND="RESTORE_CHANNELS_LIST_LND",oe.SET_RESTORE_CHANNELS_LIST_LND="SET_RESTORE_CHANNELS_LIST_LND",oe.RESTORE_CHANNELS_LND="RESTORE_CHANNELS_LND",oe.RESTORE_CHANNELS_RES_LND="RESTORE_CHANNELS_RES_LND",oe.FETCH_INVOICES_LND="FETCH_INVOICES_LND",oe.SET_INVOICES_LND="SET_INVOICES_LND",oe.UPDATE_INVOICE_LND="UPDATE_INVOICE_LND",oe.UPDATE_PAYMENT_LND="UPDATE_PAYMENT_LND",oe.SET_TOTAL_INVOICES_LND="SET_TOTAL_INVOICES_LND",oe.FETCH_TRANSACTIONS_LND="FETCH_TRANSACTIONS_LND",oe.SET_TRANSACTIONS_LND="SET_TRANSACTIONS_LND",oe.FETCH_UTXOS_LND="FETCH_UTXOS_LND",oe.SET_UTXOS_LND="SET_UTXOS_LND",oe.FETCH_PAYMENTS_LND="FETCH_PAYMENTS_LND",oe.SET_PAYMENTS_LND="SET_PAYMENTS_LND",oe.SEND_PAYMENT_LND="SEND_PAYMENT_LND",oe.SEND_PAYMENT_STATUS_LND="SEND_PAYMENT_STATUS_LND",oe.FETCH_GRAPH_NODE_LND="FETCH_GRAPH_NODE_LND",oe.SET_GRAPH_NODE_LND="SET_GRAPH_NODE_LND",oe.GET_NEW_ADDRESS_LND="GET_NEW_ADDRESS_LND",oe.SET_NEW_ADDRESS_LND="SET_NEW_ADDRESS_LND",oe.SET_CHANNEL_TRANSACTION_LND="SET_CHANNEL_TRANSACTION_LND",oe.SET_CHANNEL_TRANSACTION_RES_LND="SET_CHANNEL_TRANSACTION_RES_LND",oe.GEN_SEED_LND="GEN_SEED_LND",oe.GEN_SEED_RESPONSE_LND="GEN_SEED_RESPONSE_LND",oe.INIT_WALLET_LND="INIT_WALLET_LND",oe.INIT_WALLET_RESPONSE_LND="INIT_WALLET_RESPONSE_LND",oe.UNLOCK_WALLET_LND="UNLOCK_WALLET_LND",oe.PEER_LOOKUP_LND="PEER_LOOKUP_LND",oe.CHANNEL_LOOKUP_LND="CHANNEL_LOOKUP_LND",oe.INVOICE_LOOKUP_LND="INVOICE_LOOKUP_LND",oe.PAYMENT_LOOKUP_LND="PAYMENT_LOOKUP_LND",oe.SET_LOOKUP_LND="SET_LOOKUP_LND",oe.GET_FORWARDING_HISTORY_LND="GET_FORWARDING_HISTORY_LND",oe.SET_FORWARDING_HISTORY_LND="SET_FORWARDING_HISTORY_LND",oe.GET_QUERY_ROUTES_LND="GET_QUERY_ROUTES_LND",oe.SET_QUERY_ROUTES_LND="SET_QUERY_ROUTES_LND",oe.GET_ALL_LIGHTNING_TRANSATIONS_LND="GET_ALL_LIGHTNING_TRANSATIONS_LND",oe.SET_ALL_LIGHTNING_TRANSATIONS_LND="SET_ALL_LIGHTNING_TRANSATIONS_LND"}(Pe||(Pe={})),function(oe){oe.RESET_CLN_STORE="RESET_CLN_STORE",oe.UPDATE_API_CALL_STATUS_CLN="UPDATE_API_CALL_STATUS_CLN",oe.SET_CHILD_NODE_SETTINGS_CLN="SET_CHILD_NODE_SETTINGS_CLN",oe.FETCH_PAGE_SETTINGS_CLN="FETCH_PAGE_SETTINGS_CLN",oe.SET_PAGE_SETTINGS_CLN="SET_PAGE_SETTINGS_CLN",oe.SAVE_PAGE_SETTINGS_CLN="SAVE_PAGE_SETTINGS_CLN",oe.FETCH_INFO_CLN="FETCH_INFO_CL_CLN",oe.SET_INFO_CLN="SET_INFO_CLN",oe.FETCH_FEES_CLN="FETCH_FEES_CLN",oe.SET_FEES_CLN="SET_FEES_CLN",oe.FETCH_FEE_RATES_CLN="FETCH_FEE_RATES_CLN",oe.SET_FEE_RATES_CLN="SET_FEE_RATES_CLN",oe.FETCH_BALANCE_CLN="FETCH_BALANCE_CLN",oe.SET_BALANCE_CLN="SET_BALANCE_CLN",oe.FETCH_LOCAL_REMOTE_BALANCE_CLN="FETCH_LOCAL_REMOTE_BALANCE_CLN",oe.SET_LOCAL_REMOTE_BALANCE_CLN="SET_LOCAL_REMOTE_BALANCE_CLN",oe.GET_NEW_ADDRESS_CLN="GET_NEW_ADDRESS_CLN",oe.SET_NEW_ADDRESS_CLN="SET_NEW_ADDRESS_CLN",oe.FETCH_UTXOS_CLN="FETCH_UTXOS_CLN",oe.SET_UTXOS_CLN="SET_UTXOS_CLN",oe.FETCH_PEERS_CLN="FETCH_PEERS_CLN",oe.SET_PEERS_CLN="SET_PEERS_CLN",oe.SAVE_NEW_PEER_CLN="SAVE_NEW_PEER_CLN",oe.NEWLY_ADDED_PEER_CLN="NEWLY_ADDED_PEER_CLN",oe.ADD_PEER_CLN="ADD_PEER_CLN",oe.DETACH_PEER_CLN="DETACH_PEER_CLN",oe.REMOVE_PEER_CLN="REMOVE_PEER_CLN",oe.FETCH_CHANNELS_CLN="FETCH_CHANNELS_CLN",oe.SET_CHANNELS_CLN="SET_CHANNELS_CLN",oe.UPDATE_CHANNEL_CLN="UPDATE_CHANNEL_CLN",oe.SAVE_NEW_CHANNEL_CLN="SAVE_NEW_CHANNEL_CLN",oe.CLOSE_CHANNEL_CLN="CLOSE_CHANNEL_CLN",oe.REMOVE_CHANNEL_CLN="REMOVE_CHANNEL_CLN",oe.FETCH_PAYMENTS_CLN="FETCH_PAYMENTS_CLN",oe.SET_PAYMENTS_CLN="SET_PAYMENTS_CLN",oe.SEND_PAYMENT_CLN="SEND_PAYMENT_CLN",oe.SEND_PAYMENT_STATUS_CLN="SEND_PAYMENT_STATUS_CLN",oe.GET_QUERY_ROUTES_CLN="GET_QUERY_ROUTES_CLN",oe.SET_QUERY_ROUTES_CLN="SET_QUERY_ROUTES_CLN",oe.PEER_LOOKUP_CLN="PEER_LOOKUP_CLN",oe.CHANNEL_LOOKUP_CLN="CHANNEL_LOOKUP_CLN",oe.INVOICE_LOOKUP_CLN="INVOICE_LOOKUP_CLN",oe.SET_LOOKUP_CLN="SET_LOOKUP_CLN",oe.GET_FORWARDING_HISTORY_CLN="GET_FORWARDING_HISTORY_CLN",oe.SET_FORWARDING_HISTORY_CLN="SET_FORWARDING_HISTORY_CLN",oe.GET_FAILED_FORWARDING_HISTORY_CLN="GET_FAILED_FORWARDING_HISTORY_CLN",oe.SET_FAILED_FORWARDING_HISTORY_CLN="SET_FAILED_FORWARDING_HISTORY_CLN",oe.GET_LOCAL_FAILED_FORWARDING_HISTORY_CLN="GET_LOCAL_FAILED_FORWARDING_HISTORY_CLN",oe.SET_LOCAL_FAILED_FORWARDING_HISTORY_CLN="SET_LOCAL_FAILED_FORWARDING_HISTORY_CLN",oe.FETCH_INVOICES_CLN="FETCH_INVOICES_CLN",oe.SET_INVOICES_CLN="SET_INVOICES_CLN",oe.SAVE_NEW_INVOICE_CLN="SAVE_NEW_INVOICE_CLN",oe.ADD_INVOICE_CLN="ADD_INVOICE_CLN",oe.UPDATE_INVOICE_CLN="UPDATE_INVOICE_CLN",oe.DELETE_EXPIRED_INVOICE_CLN="DELETE_EXPIRED_INVOICE_CLN",oe.SET_CHANNEL_TRANSACTION_CLN="SET_CHANNEL_TRANSACTION_CLN",oe.SET_CHANNEL_TRANSACTION_RES_CLN="SET_CHANNEL_TRANSACTION_RES_CLN",oe.FETCH_OFFER_INVOICE_CLN="FETCH_OFFER_INVOICE_CLN",oe.SET_OFFER_INVOICE_CLN="SET_OFFER_INVOICE_CLN",oe.FETCH_OFFERS_CLN="FETCH_OFFERS_CLN",oe.SET_OFFERS_CLN="SET_OFFERS_CLN",oe.SAVE_NEW_OFFER_CLN="SAVE_NEW_OFFER_CLN",oe.ADD_OFFER_CLN="ADD_OFFER_CLN",oe.DISABLE_OFFER_CLN="DISABLE_OFFER_CLN",oe.UPDATE_OFFER_CLN="UPDATE_OFFER_CLN",oe.FETCH_OFFER_BOOKMARKS_CLN="FETCH_OFFER_BOOKMARKS_CLN",oe.SET_OFFER_BOOKMARKS_CLN="SET_OFFER_BOOKMARKS_CLN",oe.ADD_UPDATE_OFFER_BOOKMARK_CLN="ADD_UPDATE_OFFER_BOOKMARK_CLN",oe.DELETE_OFFER_BOOKMARK_CLN="DELETE_OFFER_BOOKMARK_CLN",oe.REMOVE_OFFER_BOOKMARK_CLN="REMOVE_OFFER_BOOKMARK_CL"}(Le||(Le={})),function(oe){oe.RESET_ECL_STORE="RESET_ECL_STORE",oe.UPDATE_API_CALL_STATUS_ECL="UPDATE_API_CALL_STATUS_ECL",oe.SET_CHILD_NODE_SETTINGS_ECL="SET_CHILD_NODE_SETTINGS_ECL",oe.FETCH_PAGE_SETTINGS_ECL="FETCH_PAGE_SETTINGS_ECL",oe.SET_PAGE_SETTINGS_ECL="SET_PAGE_SETTINGS_ECL",oe.SAVE_PAGE_SETTINGS_ECL="SAVE_PAGE_SETTINGS_ECL",oe.FETCH_INFO_ECL="FETCH_INFO_ECL",oe.SET_INFO_ECL="SET_INFO_ECL",oe.FETCH_FEES_ECL="FETCH_FEES_ECL",oe.SET_FEES_ECL="SET_FEES_ECL",oe.FETCH_CHANNELS_ECL="FETCH_CHANNELS_ECL",oe.SET_ACTIVE_CHANNELS_ECL="SET_ACTIVE_CHANNELS_ECL",oe.SET_PENDING_CHANNELS_ECL="SET_PENDING_CHANNELS_ECL",oe.SET_INACTIVE_CHANNELS_ECL="SET_INACTIVE_CHANNELS_ECL",oe.FETCH_ONCHAIN_BALANCE_ECL="FETCH_ONCHAIN_BALANCE_ECL",oe.SET_ONCHAIN_BALANCE_ECL="SET_ONCHAIN_BALANCE_ECL",oe.FETCH_LIGHTNING_BALANCE_ECL="FETCH_LIGHTNING_BALANCE_ECL",oe.SET_LIGHTNING_BALANCE_ECL="SET_LIGHTNING_BALANCE_ECL",oe.SET_CHANNELS_STATUS_ECL="SET_CHANNELS_STATUS_ECL",oe.FETCH_PEERS_ECL="FETCH_PEERS_ECL",oe.SET_PEERS_ECL="SET_PEERS_ECL",oe.SAVE_NEW_PEER_ECL="SAVE_NEW_PEER_ECL",oe.NEWLY_ADDED_PEER_ECL="NEWLY_ADDED_PEER_ECL",oe.ADD_PEER_ECL="ADD_PEER_ECL",oe.DETACH_PEER_ECL="DETACH_PEER_ECL",oe.REMOVE_PEER_ECL="REMOVE_PEER_ECL",oe.GET_NEW_ADDRESS_ECL="GET_NEW_ADDRESS_ECL",oe.SET_NEW_ADDRESS_ECL="SET_NEW_ADDRESS_ECL",oe.SAVE_NEW_CHANNEL_ECL="SAVE_NEW_CHANNEL_ECL",oe.UPDATE_CHANNEL_ECL="UPDATE_CHANNEL_ECL",oe.CLOSE_CHANNEL_ECL="CLOSE_CHANNEL_ECL",oe.REMOVE_CHANNEL_ECL="REMOVE_CHANNEL_ECL",oe.FETCH_PAYMENTS_ECL="FETCH_PAYMENTS_ECL",oe.SET_PAYMENTS_ECL="SET_PAYMENTS_ECL",oe.GET_QUERY_ROUTES_ECL="GET_QUERY_ROUTES_ECL",oe.SET_QUERY_ROUTES_ECL="SET_QUERY_ROUTES_ECL",oe.SEND_PAYMENT_ECL="SEND_PAYMENT_ECL",oe.SEND_PAYMENT_STATUS_ECL="SEND_PAYMENT_STATUS_ECL",oe.FETCH_TRANSACTIONS_ECL="FETCH_TRANSACTIONS_ECL",oe.SET_TRANSACTIONS_ECL="SET_TRANSACTIONS_ECL",oe.SEND_ONCHAIN_FUNDS_ECL="SEND_ONCHAIN_FUNDS_ECL",oe.SEND_ONCHAIN_FUNDS_RES_ECL="SEND_ONCHAIN_FUNDS_RES_ECL",oe.FETCH_INVOICES_ECL="FETCH_INVOICES_ECL",oe.SET_INVOICES_ECL="SET_INVOICES_ECL",oe.SET_TOTAL_INVOICES_ECL="SET_TOTAL_INVOICES_ECL",oe.CREATE_INVOICE_ECL="CREATE_INVOICE_ECL",oe.ADD_INVOICE_ECL="ADD_INVOICE_ECL",oe.UPDATE_INVOICE_ECL="UPDATE_INVOICE_ECL",oe.PEER_LOOKUP_ECL="PEER_LOOKUP_ECL",oe.INVOICE_LOOKUP_ECL="INVOICE_LOOKUP_ECL",oe.SET_LOOKUP_ECL="SET_LOOKUP_ECL",oe.UPDATE_CHANNEL_STATE_ECL="UPDATE_CHANNEL_STATE_ECL",oe.UPDATE_RELAYED_PAYMENT_ECL="UPDATE_RELAYED_PAYMENT_ECL"}(Ye||(Ye={}));const $e=[{range:{min:0,max:1},description:"Requires or supports extra channel re-establish fields"},{range:{min:4,max:5},description:"Commits to a shutdown script pubkey when opening channel"},{range:{min:6,max:7},description:"More sophisticated gossip control"},{range:{min:8,max:9},description:"Requires/supports variable-length routing onion payloads"},{range:{min:10,max:11},description:"Gossip queries can include additional information"},{range:{min:12,max:13},description:"Static key for remote output"},{range:{min:14,max:15},description:"Node supports payment secret field"},{range:{min:16,max:17},description:"Node can receive basic multi-part payments"},{range:{min:18,max:19},description:"Node can create large channels"},{range:{min:20,max:21},description:"Anchor outputs"},{range:{min:22,max:23},description:"Anchor commitment type with zero fee HTLC transactions"},{range:{min:26,max:27},description:"Future segwit versions allowed in shutdown"}];var Ve,be;!function(oe){oe.gossip_queries_ex="Gossip queries including additional information",oe.option_anchor_outputs="Anchor outputs",oe.option_data_loss_protect="Extra channel re-establish fields",oe.var_onion_optin="Variable-length routing onion payloads",oe.option_static_remotekey="Static key for remote output",oe.option_support_large_channel="Create large channels",oe.option_anchors_zero_fee_htlc_tx="Anchor commitment type with zero fee HTLC transactions",oe.payment_secret="Payment secret field",oe.option_shutdown_anysegwit="Future segwit versions allowed in shutdown",oe.basic_mpp="Basic multi-part payments",oe.gossip_queries="More sophisticated gossip control",oe.option_upfront_shutdown_script="Shutdown script pubkey when opening channel",oe.anchors_zero_fee_htlc_tx="Anchor commitment type with zero fee HTLC transactions",oe.amp="AMP"}(Ve||(Ve={})),function(oe){oe["data-loss-protect"]="Extra channel re-establish fields",oe["upfront-shutdown-script"]="Shutdown script pubkey when opening channel",oe["gossip-queries"]="More sophisticated gossip control",oe["tlv-onion"]="Variable-length routing onion payloads",oe["ext-gossip-queries"]="Gossip queries can include additional information",oe["static-remote-key"]="Static key for remote output",oe["payment-addr"]="Payment secret field",oe["multi-path-payments"]="Basic multi-part payments",oe["wumbo-channels"]="Wumbo Channels",oe.anchors="Anchor outputs",oe["anchors-zero-fee-htlc-tx"]="Anchor commitment type with zero fee HTLC transactions",oe.amp="AMP"}(be||(be={}));const et=[{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 je,ye,Te,He,Ee,we;!function(oe){oe.OFFERED="offered",oe.SETTLED="settled",oe.FAILED="failed",oe.LOCAL_FAILED="local_failed"}(je||(je={})),function(oe){oe.SWAP_OUT="swap-out",oe.SWAP_IN="swap-in"}(ye||(ye={})),function(oe){oe.SENDER="sender",oe.RECEIVER="receiver"}(Te||(Te={})),function(oe){oe.SWAP_CANCELED="State_SwapCanceled"}(He||(He={})),function(oe){oe.ALLOWED="allowed",oe.SUSPICIOUS="suspicious"}(Ee||(Ee={})),function(oe){oe.ASCENDING="asc",oe.DESCENDING="desc"}(we||(we={}));const de=["asc","desc"],Me=[{pageId:"on_chain",tables:[{tableId:"utxos",recordsPerPage:d,sortBy:"blockheight",sortOrder:we.DESCENDING,columnSelectionSM:["txid","value"],columnSelection:["txid","output","value","blockheight"]},{tableId:"dust_utxos",recordsPerPage:d,sortBy:"blockheight",sortOrder:we.DESCENDING,columnSelectionSM:["txid","value"],columnSelection:["txid","output","value","blockheight"]}]},{pageId:"peers_channels",tables:[{tableId:"open_channels",recordsPerPage:d,sortBy:"msatoshi_to_us",sortOrder:we.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:d,sortBy:"state",sortOrder:we.DESCENDING,columnSelectionSM:["alias","state"],columnSelection:["alias","connected","state","msatoshi_total"]},{tableId:"peers",recordsPerPage:d,sortBy:"alias",sortOrder:we.ASCENDING,columnSelectionSM:["alias","id"],columnSelection:["alias","id","netaddr"]}]},{pageId:"liquidity_ads",tables:[{tableId:"liquidity_ads",recordsPerPage:d,sortBy:"channel_opening_fee",sortOrder:we.ASCENDING,columnSelectionSM:["alias","channel_opening_fee"],columnSelection:["alias","last_timestamp","lease_fee","routing_fee","channel_opening_fee"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:d,sortBy:"created_at",sortOrder:we.DESCENDING,columnSelectionSM:["created_at","msatoshi"],columnSelection:["created_at","type","payment_hash","msatoshi_sent","msatoshi"]},{tableId:"invoices",recordsPerPage:d,sortBy:"expires_at",sortOrder:we.DESCENDING,columnSelectionSM:["expires_at","msatoshi"],columnSelection:["expires_at","paid_at","type","description","msatoshi","msatoshi_received"]},{tableId:"offers",recordsPerPage:d,sortBy:"offer_id",sortOrder:we.DESCENDING,columnSelectionSM:["offer_id","single_use"],columnSelection:["offer_id","single_use","used"]},{tableId:"offer_bookmarks",recordsPerPage:d,sortBy:"lastUpdatedAt",sortOrder:we.DESCENDING,columnSelectionSM:["lastUpdatedAt","amountMSat"],columnSelection:["lastUpdatedAt","title","description","amountMSat"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:d,sortBy:"received_time",sortOrder:we.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:d,sortBy:"total_fee",sortOrder:we.DESCENDING,columnSelectionSM:["alias","events","total_fee"],columnSelection:["channel_id","alias","events","total_amount","total_fee"]},{tableId:"failed",recordsPerPage:d,sortBy:"received_time",sortOrder:we.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:d,sortBy:"received_time",sortOrder:we.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:d,sortBy:"received_time",sortOrder:we.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:d,sortBy:"date",sortOrder:we.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:d,sortBy:"msatoshi",sortOrder:we.DESCENDING,columnSelectionSM:["alias","direction","msatoshi"],columnSelection:["alias","channel","direction","delay","msatoshi"]}]},{pageId:"peerswap",tables:[{tableId:"swaps",recordsPerPage:d,sortBy:"created_at",sortOrder:we.DESCENDING,columnSelectionSM:["id","state","amount"],columnSelection:["id","alias","short_channel_id","created_at","state","amount"]}]}],ie={on_chain:{utxos:{maxColumns:7,allowedColumns:[{column:"txid",label:"Transaction ID"},{column:"address"},{column:"scriptpubkey",label:"Script Pubkey"},{column:"output"},{column:"value"},{column:"blockheight"},{column:"reserved"}]},dust_utxos:{maxColumns:7,allowedColumns:[{column:"txid",label:"Transaction ID"},{column:"address"},{column:"scriptpubkey",label:"Script Pubkey"},{column:"output"},{column:"value"},{column:"blockheight"},{column:"reserved"}]}},peers_channels:{open_channels:{maxColumns:8,allowedColumns:[{column:"short_channel_id"},{column:"alias"},{column:"id"},{column:"channel_id"},{column:"funding_txid",label:"Funding Transaction ID"},{column:"connected"},{column:"our_channel_reserve_satoshis",label:"Local Reserve"},{column:"their_channel_reserve_satoshis",label:"Remote Reserve"},{column:"msatoshi_total",label:"Total"},{column:"spendable_msatoshi",label:"Spendable"},{column:"msatoshi_to_us",label:"Local Balance"},{column:"msatoshi_to_them",label:"Remote Balance"},{column:"balancedness",label:"Balance Score"}]},pending_inactive_channels:{maxColumns:8,allowedColumns:[{column:"alias"},{column:"id"},{column:"channel_id"},{column:"funding_txid",label:"Funding Transaction ID"},{column:"connected"},{column:"state"},{column:"our_channel_reserve_satoshis",label:"Local Reserve"},{column:"their_channel_reserve_satoshis",label:"Remote Reserve"},{column:"msatoshi_total",label:"Total"},{column:"spendable_msatoshi",label:"Spendable"},{column:"msatoshi_to_us",label:"Local Balance"},{column:"msatoshi_to_them",label:"Remote Balance"}]},peers:{maxColumns:3,allowedColumns:[{column:"alias"},{column:"id"},{column:"netaddr",label:"Network Address"}]}},liquidity_ads:{liquidity_ads:{maxColumns:8,allowedColumns:[{column:"alias"},{column:"nodeid",label:"Node ID"},{column:"last_timestamp",label:"Last Announcement At"},{column:"compact_lease"},{column:"lease_fee"},{column:"routing_fee"},{column:"channel_opening_fee"},{column:"funding_weight"}]}},transactions:{payments:{maxColumns:7,allowedColumns:[{column:"created_at",label:"Created At"},{column:"type"},{column:"payment_hash"},{column:"bolt11",label:"Invoice"},{column:"destination"},{column:"memo"},{column:"label"},{column:"msatoshi_sent",label:"Sats Sent"},{column:"msatoshi",label:"Sats Received"}]},invoices:{maxColumns:7,allowedColumns:[{column:"expires_at",label:"Expiry Date"},{column:"paid_at",label:"Date Settled"},{column:"type"},{column:"description"},{column:"label"},{column:"payment_hash"},{column:"bolt11",label:"Invoice"},{column:"msatoshi",label:"Amount"},{column:"msatoshi_received",label:"Amount Settled"}]},offers:{maxColumns:4,allowedColumns:[{column:"offer_id",label:"Offer ID"},{column:"single_use"},{column:"used"},{column:"bolt12",label:"Invoice"}]},offer_bookmarks:{maxColumns:6,allowedColumns:[{column:"lastUpdatedAt",label:"Updated At"},{column:"title"},{column:"description"},{column:"vendor"},{column:"bolt12",label:"Invoice"},{column:"amountMSat",label:"Amount"}]}},routing:{forwarding_history:{maxColumns:8,allowedColumns:[{column:"received_time"},{column:"resolved_time"},{column:"in_channel",label:"In Channel ID"},{column:"in_channel_alias",label:"In Channel"},{column:"out_channel",label:"Out Channel ID"},{column:"out_channel_alias",label:"Out Channel"},{column:"payment_hash"},{column:"in_msatoshi",label:"Amount In"},{column:"out_msatoshi",label:"Amount Out"},{column:"fee"}]},routing_peers:{maxColumns:5,allowedColumns:[{column:"channel_id"},{column:"alias",label:"Peer Alias"},{column:"events"},{column:"total_amount",label:"Amount"},{column:"total_fee",label:"Fee"}]},failed:{maxColumns:7,allowedColumns:[{column:"received_time"},{column:"resolved_time"},{column:"in_channel",label:"In Channel ID"},{column:"in_channel_alias",label:"In Channel"},{column:"out_channel",label:"Out Channel ID"},{column:"out_channel_alias",label:"Out Channel"},{column:"in_msatoshi",label:"Amount In"},{column:"out_msatoshi",label:"Amount Out"},{column:"fee"}]},local_failed:{maxColumns:6,allowedColumns:[{column:"received_time"},{column:"in_channel",label:"In Channel ID"},{column:"in_channel_alias",label:"In Channel"},{column:"out_channel",label:"Out Channel ID"},{column:"out_channel_alias",label:"Out Channel"},{column:"in_msatoshi",label:"Amount In"},{column:"style"},{column:"failreason",label:"Fail Reason"}]}},reports:{routing:{maxColumns:8,allowedColumns:[{column:"received_time"},{column:"resolved_time"},{column:"in_channel",label:"In Channel ID"},{column:"in_channel_alias",label:"In Channel"},{column:"out_channel",label:"Out Channel ID"},{column:"out_channel_alias",label:"Out Channel"},{column:"payment_hash"},{column:"in_msatoshi",label:"Amount In"},{column:"out_msatoshi",label:"Amount Out"},{column:"fee"}]},transactions:{maxColumns:5,allowedColumns:[{column:"date"},{column:"amount_paid"},{column:"num_payments",label:"# Payments"},{column:"amount_received"},{column:"num_invoices",label:"# Invoices"}]}},graph_lookup:{query_routes:{maxColumns:6,allowedColumns:[{column:"id"},{column:"alias"},{column:"channel"},{column:"direction"},{column:"delay"},{column:"msatoshi",label:"Amount"}]}},peerswap:{swaps:{maxColumns:6,allowedColumns:[{column:"id"},{column:"alias"},{column:"short_channel_id"},{column:"created_at"},{column:"state"},{column:"amount"}]}}},G=[{pageId:"on_chain",tables:[{tableId:"utxos",recordsPerPage:d,sortBy:"tx_id",sortOrder:we.DESCENDING,columnSelectionSM:["output","amount_sat","confirmations"],columnSelection:["tx_id","output","label","amount_sat","confirmations"]},{tableId:"transactions",recordsPerPage:d,sortBy:"time_stamp",sortOrder:we.DESCENDING,columnSelectionSM:["time_stamp","amount","num_confirmations"],columnSelection:["time_stamp","label","amount","total_fees","block_height","num_confirmations"]},{tableId:"dust_utxos",recordsPerPage:d,sortBy:"tx_id",sortOrder:we.DESCENDING,columnSelectionSM:["output","amount_sat","confirmations"],columnSelection:["tx_id","output","label","amount_sat","confirmations"]}]},{pageId:"peers_channels",tables:[{tableId:"open",recordsPerPage:d,sortBy:"balancedness",sortOrder:we.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:we.DESCENDING,columnSelectionSM:["remote_alias","capacity"],columnSelection:["remote_alias","commit_fee","commit_weight","capacity"]},{tableId:"pending_force_closing",sortBy:"limbo_balance",sortOrder:we.DESCENDING,columnSelectionSM:["remote_alias","limbo_balance"],columnSelection:["remote_alias","recovered_balance","limbo_balance","capacity"]},{tableId:"pending_closing",sortBy:"capacity",sortOrder:we.DESCENDING,columnSelectionSM:["remote_alias","capacity"],columnSelection:["remote_alias","local_balance","remote_balance","capacity"]},{tableId:"pending_waiting_close",sortBy:"limbo_balance",sortOrder:we.DESCENDING,columnSelectionSM:["remote_alias","limbo_balance"],columnSelection:["remote_alias","limbo_balance","local_balance","remote_balance"]},{tableId:"closed",recordsPerPage:d,sortBy:"close_type",sortOrder:we.DESCENDING,columnSelectionSM:["remote_alias","settled_balance"],columnSelection:["close_type","remote_alias","capacity","close_height","settled_balance"]},{tableId:"active_HTLCs",recordsPerPage:d,sortBy:"expiration_height",sortOrder:we.DESCENDING,columnSelectionSM:["amount","incoming","expiration_height"],columnSelection:["amount","incoming","expiration_height","hash_lock"]},{tableId:"peers",recordsPerPage:d,sortBy:"alias",sortOrder:we.DESCENDING,columnSelectionSM:["alias","sat_sent","sat_recv"],columnSelection:["alias","pub_key","sat_sent","sat_recv","ping_time"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:d,sortBy:"creation_date",sortOrder:we.DESCENDING,columnSelectionSM:["creation_date","fee","value"],columnSelection:["creation_date","payment_hash","fee","value","hops"]},{tableId:"invoices",recordsPerPage:d,sortBy:"creation_date",sortOrder:we.DESCENDING,columnSelectionSM:["creation_date","settle_date","value"],columnSelection:["creation_date","settle_date","memo","value","amt_paid_sat"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:d,sortBy:"timestamp",sortOrder:we.DESCENDING,columnSelectionSM:["timestamp","amt_in","amt_out"],columnSelection:["timestamp","alias_in","alias_out","amt_in","amt_out","fee_msat"]},{tableId:"routing_peers",recordsPerPage:d,sortBy:"total_amount",sortOrder:we.DESCENDING,columnSelectionSM:["alias","events","total_amount"],columnSelection:["chan_id","alias","events","total_amount"]},{tableId:"non_routing_peers",recordsPerPage:d,sortBy:"remote_alias",sortOrder:we.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:d,sortBy:"timestamp",sortOrder:we.DESCENDING,columnSelectionSM:["timestamp","amt_in","amt_out"],columnSelection:["timestamp","alias_in","alias_out","amt_in","amt_out","fee_msat"]},{tableId:"transactions",recordsPerPage:d,sortBy:"date",sortOrder:we.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:d,sortBy:"hop_sequence",sortOrder:we.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:d,sortBy:"initiation_time",sortOrder:we.DESCENDING,columnSelectionSM:["state","amt"],columnSelection:["state","initiation_time","amt","cost_server","cost_offchain","cost_onchain"]}]},{pageId:"boltz",tables:[{tableId:"swap_out",recordsPerPage:d,sortBy:"status",sortOrder:we.DESCENDING,columnSelectionSM:["status","id","onchainAmount"],columnSelection:["status","id","claimAddress","onchainAmount","timeoutBlockHeight"]},{tableId:"swap_in",recordsPerPage:d,sortBy:"status",sortOrder:we.DESCENDING,columnSelectionSM:["status","id","expectedAmount"],columnSelection:["status","id","lockupAddress","expectedAmount","timeoutBlockHeight"]}]}],$={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"}]}}},ze=[{pageId:"on_chain",tables:[{tableId:"transaction",recordsPerPage:d,sortBy:"timestamp",sortOrder:we.DESCENDING,columnSelectionSM:["timestamp","amount"],columnSelection:["timestamp","address","amount","fees","confirmations"]}]},{pageId:"peers_channels",tables:[{tableId:"open_channels",recordsPerPage:d,sortBy:"alias",sortOrder:we.DESCENDING,columnSelectionSM:["alias","toLocal","toRemote"],columnSelection:["shortChannelId","alias","feeBaseMsat","feeProportionalMillionths","toLocal","toRemote","balancedness"]},{tableId:"pending_channels",recordsPerPage:d,sortBy:"alias",sortOrder:we.DESCENDING,columnSelectionSM:["state","alias","toLocal"],columnSelection:["state","alias","toLocal","toRemote"]},{tableId:"inactive_channels",recordsPerPage:d,sortBy:"alias",sortOrder:we.DESCENDING,columnSelectionSM:["state","alias","toLocal"],columnSelection:["state","shortChannelId","alias","toLocal","toRemote","balancedness"]},{tableId:"peers",recordsPerPage:d,sortBy:"alias",sortOrder:we.ASCENDING,columnSelectionSM:["alias","nodeId"],columnSelection:["alias","nodeId","address","channels"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:d,sortBy:"firstPartTimestamp",sortOrder:we.DESCENDING,columnSelectionSM:["firstPartTimestamp","recipientAmount"],columnSelection:["firstPartTimestamp","id","recipientNodeAlias","recipientAmount"]},{tableId:"invoices",recordsPerPage:d,sortBy:"receivedAt",sortOrder:we.DESCENDING,columnSelectionSM:["timestamp","amount","amountSettled"],columnSelection:["timestamp","receivedAt","description","amount","amountSettled"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:d,sortBy:"timestamp",sortOrder:we.DESCENDING,columnSelectionSM:["timestamp","amountIn","fee"],columnSelection:["timestamp","fromChannelAlias","toChannelAlias","amountIn","amountOut","fee"]},{tableId:"routing_peers",recordsPerPage:d,sortBy:"totalFee",sortOrder:we.DESCENDING,columnSelectionSM:["alias","events","totalFee"],columnSelection:["channelId","alias","events","totalAmount","totalFee"]}]},{pageId:"reports",tables:[{tableId:"routing",recordsPerPage:d,sortBy:"timestamp",sortOrder:we.DESCENDING,columnSelectionSM:["timestamp","amountIn","fee"],columnSelection:["timestamp","fromChannelAlias","toChannelAlias","amountIn","amountOut","fee"]},{tableId:"transactions",recordsPerPage:d,sortBy:"date",sortOrder:we.DESCENDING,columnSelectionSM:["date","amount_paid","amount_received"],columnSelection:["date","amount_paid","num_payments","amount_received","num_invoices"]}]}],Ue={on_chain:{transaction:{maxColumns:6,allowedColumns:[{column:"timestamp",label:"Date/Time"},{column:"address"},{column:"blockHash"},{column:"txid",label:"Transaction ID"},{column:"amount"},{column:"fees"},{column:"confirmations"}]}},peers_channels:{open_channels:{maxColumns:8,allowedColumns:[{column:"shortChannelId"},{column:"channelId"},{column:"alias"},{column:"nodeId"},{column:"isFunder",label:"Funder"},{column:"buried"},{column:"feeBaseMsat",label:"Base Fee"},{column:"feeProportionalMillionths",label:"Fee Rate"},{column:"toLocal",label:"Local Balance"},{column:"toRemote",label:"Remote Balance"},{column:"feeRatePerKw",label:"Fee/KW"},{column:"balancedness",label:"Balance Score"}]},pending_channels:{maxColumns:7,allowedColumns:[{column:"state"},{column:"channelId"},{column:"alias"},{column:"nodeId"},{column:"isFunder",label:"Funder"},{column:"buried"},{column:"toLocal",label:"Local Balance"},{column:"toRemote",label:"Remote Balance"},{column:"feeRatePerKw",label:"Fee/KW"}]},inactive_channels:{maxColumns:8,allowedColumns:[{column:"state"},{column:"shortChannelId"},{column:"channelId"},{column:"alias"},{column:"nodeId"},{column:"isFunder",label:"Funder"},{column:"buried"},{column:"toLocal",label:"Local Balance"},{column:"toRemote",label:"Remote Balance"},{column:"feeRatePerKw",label:"Fee/KW"},{column:"balancedness",label:"Balance Score"}]},peers:{maxColumns:4,allowedColumns:[{column:"alias"},{column:"nodeId"},{column:"address",label:"Netwrok Address"},{column:"channels"}]}},transactions:{payments:{maxColumns:7,allowedColumns:[{column:"firstPartTimestamp",label:"Date/Time"},{column:"id"},{column:"recipientNodeId",label:"Destination Node ID"},{column:"recipientNodeAlias",label:"Destination"},{column:"description"},{column:"paymentHash"},{column:"paymentPreimage",label:"Preimage"},{column:"recipientAmount",label:"Amount"}]},invoices:{maxColumns:7,allowedColumns:[{column:"timestamp",label:"Date Created"},{column:"expiresAt",label:"Date Expiry"},{column:"receivedAt",label:"Date Settled"},{column:"nodeId",label:"Node ID"},{column:"description"},{column:"paymentHash"},{column:"amount"},{column:"amountSettled",label:"Amount Settled"}]}},routing:{forwarding_history:{maxColumns:7,allowedColumns:[{column:"timestamp",label:"Date/Time"},{column:"fromChannelId",label:"In Channel ID"},{column:"fromShortChannelId",label:"In Channel Short ID"},{column:"fromChannelAlias",label:"In Channel"},{column:"toChannelId",label:"Out Channel ID"},{column:"toShortChannelId",label:"Out Channel Short ID"},{column:"toChannelAlias",label:"Out Channel"},{column:"paymentHash"},{column:"amountIn"},{column:"amountOut"},{column:"fee",label:"Fee Earned"}]},routing_peers:{maxColumns:5,allowedColumns:[{column:"channelId"},{column:"alias",label:"Peer Alias"},{column:"events"},{column:"totalAmount",label:"Amount"},{column:"totalFee",label:"Fee"}]}},reports:{routing:{maxColumns:7,allowedColumns:[{column:"timestamp",label:"Date/Time"},{column:"fromChannelId",label:"In Channel ID"},{column:"fromShortChannelId",label:"In Channel Short ID"},{column:"fromChannelAlias",label:"In Channel"},{column:"toChannelId",label:"Out Channel ID"},{column:"toShortChannelId",label:"Out Channel Short ID"},{column:"toChannelAlias",label:"Out Channel"},{column:"paymentHash"},{column:"amountIn"},{column:"amountOut"},{column:"fee",label:"Fee Earned"}]},transactions:{maxColumns:5,allowedColumns:[{column:"date"},{column:"amount_paid"},{column:"num_payments",label:"# Payments"},{column:"amount_received"},{column:"num_invoices",label:"# Invoices"}]}}}},8104:(Ge,X,f)=>{"use strict";f.d(X,{D:()=>he});var e=f(8987),t=f(6317),_=f(253),S=f(5474),l=f(745),D=f(155),d=f(9525),P=f(8951),p=f(635),L=f(3158),M=f(538),k=f(2340),E=f(7731),z=f(1786),I=f(7861),V=f(6523),Z=f(6529),q=f(9828),te=f(2560),ne=f(9263),le=f(5043),re=f(930),_e=f(4666);class he{constructor(ve,T,i,o,m){this.httpClient=ve,this.store=T,this.logger=i,this.snackBar=o,this.titleCasePipe=m,this.APIUrl=k.T5,this.lnImplementation="",this.lnImplementationUpdated=new t.X(null),this.unSubs=[new _.x,new _.x,new _.x,new _.x,new _.x,new _.x,new _.x,new _.x,new _.x,new _.x,new _.x,new _.x,new _.x],this.mapAliases=(h,y)=>(h&&h.length>0?h.forEach((A,R)=>{if(y&&y.length>0)for(let v=0;v<y.length;v++){if(y[v].short_channel_id&&y[v].short_channel_id===A.in_channel&&(A.in_channel_alias=y[v].alias?y[v].alias:A.in_channel,A.out_channel_alias)||y[v].short_channel_id&&y[v].short_channel_id?.toString()===A.out_channel&&(A.out_channel_alias=y[v].alias?y[v].alias:A.out_channel,A.in_channel_alias))return;v===y.length-1&&(A.in_channel_alias||(A.in_channel_alias=A.in_channel?A.in_channel:"-"),A.out_channel_alias||(A.out_channel_alias=A.out_channel?A.out_channel:"-"))}else A.in_channel_alias=A.in_channel?A.in_channel:"-",A.out_channel_alias=A.out_channel?A.out_channel:"-"}):h=[],h)}setLnImplementation(ve){this.lnImplementation=ve.toLowerCase(),this.lnImplementationUpdated.next(this.lnImplementation)}getFiatRates(){return this.httpClient.get(k.NZ.CONF_API+"/rates")}decodePayment(ve,T){return this.lnImplementationUpdated.pipe((0,D.P)(i=>null!==i),(0,d.z)(i=>{let o=this.APIUrl+"/"+i+k.NZ.PAYMENTS_API+"/decode/"+ve;return"cln"===i&&(o=this.APIUrl+"/"+i+k.NZ.UTILITY_API+"/decode/"+ve),this.store.dispatch((0,I.ac)({payload:E.m6.DECODE_PAYMENT})),this.httpClient.get(o).pipe((0,P.R)(this.unSubs[0]),(0,p.U)(m=>(this.store.dispatch((0,I.uO)({payload:E.m6.DECODE_PAYMENT})),m)),(0,L.K)(m=>(T?this.handleErrorWithoutAlert("Decode Payment",E.m6.DECODE_PAYMENT,m):this.handleErrorWithAlert("decodePaymentData",E.m6.DECODE_PAYMENT,"Decode Payment Failed",o,m),(0,S._)(()=>new Error(this.extractErrorMessage(m))))))}))}decodePayments(ve){return this.lnImplementationUpdated.pipe((0,D.P)(T=>null!==T),(0,d.z)(T=>{let i="",o="";return"ecl"===T?(i=this.APIUrl+"/"+T+k.NZ.PAYMENTS_API+"/getsentinfos",o=E.m6.GET_SENT_PAYMENTS):"cln"===T?(i=this.APIUrl+"/"+T+k.NZ.UTILITY_API,o=E.m6.DECODE_PAYMENTS):(i=this.APIUrl+"/"+T+k.NZ.PAYMENTS_API,o=E.m6.DECODE_PAYMENTS),this.store.dispatch((0,I.ac)({payload:o})),this.httpClient.post(i,{payments:ve}).pipe((0,P.R)(this.unSubs[1]),(0,p.U)(m=>(this.store.dispatch((0,I.uO)({payload:o})),m)),(0,L.K)(m=>(this.handleErrorWithAlert("decodePaymentsData",o,o+" Failed",i,m),(0,S._)(()=>new Error(this.extractErrorMessage(m))))))}))}getAliasesFromPubkeys(ve,T){return this.lnImplementationUpdated.pipe((0,D.P)(i=>null!==i),(0,d.z)(i=>{if(T){const o=(new e.LE).set("pubkeys",ve);return this.httpClient.get(this.APIUrl+"/"+i+k.NZ.NETWORK_API+"/nodes",{params:o})}return this.httpClient.get(this.APIUrl+"/"+i+k.NZ.NETWORK_API+"/node/"+ve)}))}signMessage(ve){return this.lnImplementationUpdated.pipe((0,D.P)(T=>null!==T),(0,d.z)(T=>{let i=this.APIUrl+"/"+T+k.NZ.MESSAGE_API+"/sign";return"cln"===T&&(i=this.APIUrl+"/"+T+k.NZ.UTILITY_API+"/sign"),this.store.dispatch((0,I.ac)({payload:E.m6.SIGN_MESSAGE})),this.httpClient.post(i,{message:ve}).pipe((0,P.R)(this.unSubs[2]),(0,p.U)(o=>(this.store.dispatch((0,I.uO)({payload:E.m6.SIGN_MESSAGE})),o)),(0,L.K)(o=>(this.handleErrorWithAlert("signMessageData",E.m6.SIGN_MESSAGE,"Sign Message Failed",i,o),(0,S._)(()=>new Error(this.extractErrorMessage(o))))))}))}verifyMessage(ve,T){return this.lnImplementationUpdated.pipe((0,D.P)(i=>null!==i),(0,d.z)(i=>{let o=this.APIUrl+"/"+i+k.NZ.MESSAGE_API+"/verify";return"cln"===i&&(o=this.APIUrl+"/"+i+k.NZ.UTILITY_API+"/verify"),this.store.dispatch((0,I.ac)({payload:E.m6.VERIFY_MESSAGE})),this.httpClient.post(o,{message:ve,signature:T}).pipe((0,P.R)(this.unSubs[3]),(0,p.U)(m=>(this.store.dispatch((0,I.uO)({payload:E.m6.VERIFY_MESSAGE})),m)),(0,L.K)(m=>(this.handleErrorWithAlert("verifyMessageData",E.m6.VERIFY_MESSAGE,"Verify Message Failed",o,m),(0,S._)(()=>new Error(this.extractErrorMessage(m))))))}))}bumpFee(ve,T,i,o){return this.lnImplementationUpdated.pipe((0,D.P)(m=>null!==m),(0,d.z)(m=>{const h={txid:ve,outputIndex:T};return i&&(h.targetConf=i),o&&(h.satPerByte=o),this.store.dispatch((0,I.ac)({payload:E.m6.BUMP_FEE})),this.httpClient.post(this.APIUrl+"/"+m+k.NZ.WALLET_API+"/bumpfee",h).pipe((0,P.R)(this.unSubs[4]),(0,p.U)(y=>(this.store.dispatch((0,I.uO)({payload:E.m6.BUMP_FEE})),this.snackBar.open("Successfully bumped the fee. Use the block explorer to verify transaction."),y)),(0,L.K)(y=>(this.handleErrorWithoutAlert("Bump Fee",E.m6.BUMP_FEE,y),(0,S._)(()=>new Error(this.extractErrorMessage(y))))))}))}labelUTXO(ve,T,i=!0){return this.lnImplementationUpdated.pipe((0,D.P)(o=>null!==o),(0,d.z)(o=>{const m={txid:ve,label:T,overwrite:i};return this.store.dispatch((0,I.ac)({payload:E.m6.LABEL_UTXO})),this.httpClient.post(this.APIUrl+"/"+o+k.NZ.WALLET_API+"/label",m).pipe((0,P.R)(this.unSubs[5]),(0,p.U)(h=>(this.store.dispatch((0,I.uO)({payload:E.m6.LABEL_UTXO})),h)),(0,L.K)(h=>(this.handleErrorWithoutAlert("Lease UTXO",E.m6.LABEL_UTXO,h),(0,S._)(()=>new Error(this.extractErrorMessage(h))))))}))}leaseUTXO(ve,T){return this.lnImplementationUpdated.pipe((0,D.P)(i=>null!==i),(0,d.z)(i=>{const o={txid:ve,outputIndex:T};return this.store.dispatch((0,I.ac)({payload:E.m6.LEASE_UTXO})),this.httpClient.post(this.APIUrl+"/"+i+k.NZ.WALLET_API+"/lease",o).pipe((0,P.R)(this.unSubs[6]),(0,p.U)(m=>{this.store.dispatch((0,I.uO)({payload:E.m6.LEASE_UTXO})),this.store.dispatch((0,V.mC)()),this.store.dispatch((0,V.Ly)());const h=new Date(1e3*m.expiration),y=Math.round(h.getTime())-60*h.getTimezoneOffset();this.snackBar.open("The UTXO has been leased till "+new Date(y).toString().substring(4,21).replace(" ","/").replace(" ","/").toUpperCase()+".")}),(0,L.K)(m=>(this.handleErrorWithoutAlert("Lease UTXO",E.m6.LEASE_UTXO,m),(0,S._)(()=>new Error(this.extractErrorMessage(m))))))}))}getForwardingHistory(ve,T,i,o){if("LND"===ve){const m={end_time:i,start_time:T};return this.store.dispatch((0,I.ac)({payload:E.m6.GET_FORWARDING_HISTORY})),this.httpClient.post(this.APIUrl+"/lnd"+k.NZ.SWITCH_API,m).pipe((0,P.R)(this.unSubs[7]),(0,M.M)(this.store.select(Z._f)),(0,d.z)(([h,y])=>{if(h.forwarding_events){const A=[...y.channels,...y.closedChannels];h.forwarding_events.forEach(R=>{if(A&&A.length>0)for(let v=0;v<A.length;v++){if(A[v].chan_id?.toString()===R.chan_id_in&&(R.alias_in=A[v].remote_alias?A[v].remote_alias:R.chan_id_in,R.alias_out)||A[v].chan_id?.toString()===R.chan_id_out&&(R.alias_out=A[v].remote_alias?A[v].remote_alias:R.chan_id_out,R.alias_in))return;v===A.length-1&&(R.alias_in||(R.alias_in=R.chan_id_in),R.alias_out||(R.alias_out=R.chan_id_out))}else R.alias_in=R.chan_id_in,R.alias_out=R.chan_id_out})}else h={};return this.store.dispatch((0,I.uO)({payload:E.m6.GET_FORWARDING_HISTORY})),(0,l.of)(h)}),(0,L.K)(h=>(this.handleErrorWithAlert("getForwardingHistoryData",E.m6.GET_FORWARDING_HISTORY,"Forwarding History Failed",this.APIUrl+"/lnd"+k.NZ.SWITCH_API,h),(0,S._)(()=>new Error(this.extractErrorMessage(h))))))}return"CLN"===ve?(this.store.dispatch((0,I.ac)({payload:E.m6.GET_FORWARDING_HISTORY})),this.httpClient.get(this.APIUrl+"/cln"+k.NZ.CHANNELS_API+"/listForwards?status="+o).pipe((0,P.R)(this.unSubs[8]),(0,M.M)(this.store.select(q.ZW)),(0,d.z)(([m,h])=>{const y=this.mapAliases(m,[...h.activeChannels,...h.pendingChannels,...h.inactiveChannels]);return this.store.dispatch((0,I.uO)({payload:E.m6.GET_FORWARDING_HISTORY})),(0,l.of)(y)}),(0,L.K)(m=>(this.handleErrorWithAlert("getForwardingHistoryData",E.m6.GET_FORWARDING_HISTORY,"Forwarding History Failed",this.APIUrl+"/cln"+k.NZ.CHANNELS_API+"/listForwards?status="+o+"&start="+T+"&end="+i,m),(0,S._)(()=>new Error(this.extractErrorMessage(m))))))):(0,l.of)({})}listNetworkNodes(ve=""){return this.lnImplementationUpdated.pipe((0,D.P)(T=>null!==T),(0,d.z)(T=>(this.store.dispatch((0,I.ac)({payload:E.m6.LIST_NETWORK_NODES})),this.httpClient.get(this.APIUrl+"/"+T+k.NZ.NETWORK_API+"/listNodes"+ve).pipe((0,P.R)(this.unSubs[9]),(0,d.z)(i=>(this.store.dispatch((0,I.uO)({payload:E.m6.LIST_NETWORK_NODES})),(0,l.of)(i))),(0,L.K)(i=>(this.handleErrorWithoutAlert("List Network Nodes",E.m6.LIST_NETWORK_NODES,i),(0,S._)(()=>this.extractErrorMessage(i))))))))}listConfigs(){return this.lnImplementationUpdated.pipe((0,D.P)(ve=>null!==ve),(0,d.z)(ve=>(this.store.dispatch((0,I.ac)({payload:E.m6.GET_LIST_CONFIGS})),this.httpClient.get(this.APIUrl+"/"+ve+k.NZ.UTILITY_API+"/listConfigs").pipe((0,P.R)(this.unSubs[10]),(0,d.z)(T=>(this.store.dispatch((0,I.uO)({payload:E.m6.GET_LIST_CONFIGS})),(0,l.of)(T))),(0,L.K)(T=>(this.handleErrorWithoutAlert("List Configurations",E.m6.GET_LIST_CONFIGS,T),(0,S._)(()=>this.extractErrorMessage(T))))))))}getOrUpdateFunderPolicy(ve,T,i,o,m,h){return this.lnImplementationUpdated.pipe((0,D.P)(y=>null!==y),(0,d.z)(y=>{const A=ve?{policy:ve,policy_mod:T,lease_fee_base_msat:i,lease_fee_basis:o,channel_fee_max_base_msat:m,channel_fee_max_proportional_thousandths:h}:null;return this.store.dispatch((0,I.ac)({payload:E.m6.GET_FUNDER_POLICY})),this.httpClient.post(this.APIUrl+"/"+y+k.NZ.CHANNELS_API+"/funderUpdate",A).pipe((0,P.R)(this.unSubs[11]),(0,p.U)(R=>(this.store.dispatch((0,I.uO)({payload:E.m6.GET_FUNDER_POLICY})),A&&this.store.dispatch((0,I.jW)({payload:"Funder Policy Updated Successfully with Compact Lease: "+R.compact_lease+"!"})),R)),(0,L.K)(R=>(this.handleErrorWithoutAlert("Funder Policy",E.m6.GET_FUNDER_POLICY,R),(0,S._)(()=>new Error(this.extractErrorMessage(R))))))}))}extractErrorMessage(ve,T="Unknown Error."){return this.titleCasePipe.transform(ve.error.text&&"string"==typeof ve.error.text&&ve.error.text.includes('<!DOCTYPE html><html lang="en">')?"API Route Does Not Exist.":ve.error&&ve.error.error&&ve.error.error.error&&ve.error.error.error.error&&ve.error.error.error.error.error&&"string"==typeof ve.error.error.error.error.error?ve.error.error.error.error.error:ve.error&&ve.error.error&&ve.error.error.error&&ve.error.error.error.error&&"string"==typeof ve.error.error.error.error?ve.error.error.error.error:ve.error&&ve.error.error&&ve.error.error.error&&"string"==typeof ve.error.error.error?ve.error.error.error:ve.error&&ve.error.error&&"string"==typeof ve.error.error?ve.error.error:ve.error&&"string"==typeof ve.error?ve.error:ve.error&&ve.error.error&&ve.error.error.error&&ve.error.error.error.error&&ve.error.error.error.error.message&&"string"==typeof ve.error.error.error.error.message?ve.error.error.error.error.message:ve.error&&ve.error.error&&ve.error.error.error&&ve.error.error.error.message&&"string"==typeof ve.error.error.error.message?ve.error.error.error.message:ve.error&&ve.error.error&&ve.error.error.message&&"string"==typeof ve.error.error.message?ve.error.error.message:ve.error&&ve.error.message&&"string"==typeof ve.error.message?ve.error.message:ve.message&&"string"==typeof ve.message?ve.message:T)}handleErrorWithoutAlert(ve,T,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: "+ve+"\n"+JSON.stringify(i)),401===i.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:T})),this.store.dispatch((0,I.qi)({payload:{action:ve,status:E.Bn.ERROR,statusCode:i.status.toString(),message:this.extractErrorMessage(i)}})))}handleErrorWithAlert(ve,T,i,o,m){if(this.logger.error(m),401===m.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:T}));const h=this.extractErrorMessage(m);this.store.dispatch((0,I.qR)({payload:{data:{type:"ERROR",alertTitle:i,message:{code:m.status?m.status:"Unknown Error",message:h,URL:o},component:z.H}}})),this.store.dispatch((0,I.qi)({payload:{action:ve,status:E.Bn.ERROR,statusCode:m.status.toString(),message:h,URL:o}}))}}ngOnDestroy(){this.unSubs.forEach(ve=>{ve.next(null),ve.complete()})}static#e=this.\u0275fac=function(T){return new(T||he)(te.LFG(e.eN),te.LFG(ne.yh),te.LFG(le.mQ),te.LFG(re.ux),te.LFG(_e.rS))};static#t=this.\u0275prov=te.Yz7({token:he,factory:he.\u0275fac})}},5043:(Ge,X,f)=>{"use strict";f.d(X,{LG:()=>d,mQ:()=>D});var e=f(2340),t=f(2560);const{isDebugMode:_}=e.NZ,S=()=>null;class D{invokeConsoleMethod(p,L){}static#e=this.\u0275fac=function(L){return new(L||D)};static#t=this.\u0275prov=t.Yz7({token:D,factory:D.\u0275fac})}class d{get info(){return _?console.log.bind(console):S}get warn(){return _?console.warn.bind(console):S}get error(){return _?console.error.bind(console):S}invokeConsoleMethod(p,L){(console[p]||console.log||S).apply(console,[L])}static#e=this.\u0275fac=function(L){return new(L||d)};static#t=this.\u0275prov=t.Yz7({token:d,factory:d.\u0275fac})}},1419:(Ge,X,f)=>{"use strict";f.d(X,{W:()=>Z});var e=f(8987),t=f(6317),_=f(253),S=f(745),l=f(5474),D=f(8951),d=f(3158),P=f(635),p=f(2340),L=f(7731),M=f(1786),k=f(7861),E=f(2560),z=f(5043),I=f(9263),V=f(62);class Z{constructor(te,ne,le,re){this.httpClient=te,this.logger=ne,this.store=le,this.commonService=re,this.loopUrl="",this.swaps=[],this.swapsChanged=new t.X([]),this.unSubs=[new _.x,new _.x,new _.x,new _.x,new _.x]}getSwapsList(){return this.swaps}listSwaps(){this.store.dispatch((0,k.ac)({payload:L.m6.GET_LOOP_SWAPS})),this.loopUrl=p.T5+p.NZ.LOOP_API+"/swaps",this.httpClient.get(this.loopUrl).pipe((0,D.R)(this.unSubs[0])).subscribe({next:te=>{this.store.dispatch((0,k.uO)({payload:L.m6.GET_LOOP_SWAPS})),this.swaps=te,this.swapsChanged.next(this.swaps)},error:te=>this.swapsChanged.error(this.handleErrorWithAlert(L.m6.GET_LOOP_SWAPS,this.loopUrl,te))})}loopOut(te,ne,le,re,_e,he,ae,ve,T,i){const o={amount:te,targetConf:le,swapRoutingFee:re,minerFee:_e,prepayRoutingFee:he,prepayAmt:ae,swapFee:ve,swapPublicationDeadline:T,destAddress:i};return""!==ne&&(o.chanId=ne),this.loopUrl=p.T5+p.NZ.LOOP_API+"/out",this.httpClient.post(this.loopUrl,o).pipe((0,d.K)(m=>this.handleErrorWithoutAlert("Loop Out for Channel: "+ne,L.m6.NO_SPINNER,m)))}getLoopOutTerms(){return this.loopUrl=p.T5+p.NZ.LOOP_API+"/out/terms",this.httpClient.get(this.loopUrl).pipe((0,d.K)(te=>this.handleErrorWithoutAlert("Loop Out Terms",L.m6.NO_SPINNER,te)))}getLoopOutQuote(te,ne,le){let re=new e.LE;return re=re.append("targetConf",ne.toString()),re=re.append("swapPublicationDeadline",le.toString()),this.loopUrl=p.T5+p.NZ.LOOP_API+"/out/quote/"+te,this.store.dispatch((0,k.ac)({payload:L.m6.GET_QUOTE})),this.httpClient.get(this.loopUrl,{params:re}).pipe((0,D.R)(this.unSubs[1]),(0,P.U)(_e=>(this.store.dispatch((0,k.uO)({payload:L.m6.GET_QUOTE})),_e)),(0,d.K)(_e=>this.handleErrorWithoutAlert("Loop Out Quote",L.m6.GET_QUOTE,_e)))}getLoopOutTermsAndQuotes(te){let ne=new e.LE;return ne=ne.append("targetConf",te.toString()),ne=ne.append("swapPublicationDeadline",((new Date).getTime()+18e5).toString()),this.loopUrl=p.T5+p.NZ.LOOP_API+"/out/termsAndQuotes",this.store.dispatch((0,k.ac)({payload:L.m6.GET_TERMS_QUOTES})),this.httpClient.get(this.loopUrl,{params:ne}).pipe((0,D.R)(this.unSubs[2]),(0,P.U)(le=>(this.store.dispatch((0,k.uO)({payload:L.m6.GET_TERMS_QUOTES})),le)),(0,d.K)(le=>(0,S.of)(this.handleErrorWithAlert(L.m6.GET_TERMS_QUOTES,this.loopUrl,le))))}loopIn(te,ne,le,re,_e){const he={amount:te,swapFee:ne,minerFee:le,lastHop:re,externalHtlc:_e};return this.loopUrl=p.T5+p.NZ.LOOP_API+"/in",this.httpClient.post(this.loopUrl,he).pipe((0,d.K)(ae=>this.handleErrorWithoutAlert("Loop In",L.m6.NO_SPINNER,ae)))}getLoopInTerms(){return this.loopUrl=p.T5+p.NZ.LOOP_API+"/in/terms",this.httpClient.get(this.loopUrl).pipe((0,d.K)(te=>this.handleErrorWithoutAlert("Loop In Terms",L.m6.NO_SPINNER,te)))}getLoopInQuote(te,ne,le){let re=new e.LE;return re=re.append("targetConf",ne.toString()),re=re.append("swapPublicationDeadline",le.toString()),this.loopUrl=p.T5+p.NZ.LOOP_API+"/in/quote/"+te,this.store.dispatch((0,k.ac)({payload:L.m6.GET_QUOTE})),this.httpClient.get(this.loopUrl,{params:re}).pipe((0,D.R)(this.unSubs[3]),(0,P.U)(_e=>(this.store.dispatch((0,k.uO)({payload:L.m6.GET_QUOTE})),_e)),(0,d.K)(_e=>this.handleErrorWithoutAlert("Loop In Qoute",L.m6.GET_QUOTE,_e)))}getLoopInTermsAndQuotes(te){let ne=new e.LE;return ne=ne.append("targetConf",te.toString()),ne=ne.append("swapPublicationDeadline",((new Date).getTime()+18e5).toString()),this.loopUrl=p.T5+p.NZ.LOOP_API+"/in/termsAndQuotes",this.store.dispatch((0,k.ac)({payload:L.m6.GET_TERMS_QUOTES})),this.httpClient.get(this.loopUrl,{params:ne}).pipe((0,D.R)(this.unSubs[4]),(0,P.U)(le=>(this.store.dispatch((0,k.uO)({payload:L.m6.GET_TERMS_QUOTES})),le)),(0,d.K)(le=>(0,S.of)(this.handleErrorWithAlert(L.m6.GET_TERMS_QUOTES,this.loopUrl,le))))}getSwap(te){return this.loopUrl=p.T5+p.NZ.LOOP_API+"/swap/"+te,this.httpClient.get(this.loopUrl).pipe((0,d.K)(ne=>this.handleErrorWithoutAlert("Loop Get Swap for ID: "+te,L.m6.NO_SPINNER,ne)))}handleErrorWithoutAlert(te,ne,le){let re="";return this.logger.error("ERROR IN: "+te+"\n"+JSON.stringify(le)),this.store.dispatch((0,k.uO)({payload:ne})),401===le.status?(re="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,k.kS)())):503===le.status?(re="Unable to Connect to Loop Server.",this.store.dispatch((0,k.qR)({payload:{data:{type:"ERROR",alertTitle:"Loop Not Connected",message:{code:le.status,message:"Unable to Connect to Loop Server",URL:te},component:M.H}}}))):re=this.commonService.extractErrorMessage(le),(0,l._)(()=>new Error(re))}handleErrorWithAlert(te,ne,le){let re="";if(this.logger.error(le),this.store.dispatch((0,k.uO)({payload:te})),401===le.status)re="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,k.kS)());else if(503===le.status)re="Unable to Connect to Loop Server.",setTimeout(()=>{this.store.dispatch((0,k.qR)({payload:{data:{type:"ERROR",alertTitle:"Loop Not Connected",message:{code:le.status,message:"Unable to Connect to Loop Server",URL:ne},component:M.H}}}))},100);else{re=this.commonService.extractErrorMessage(le);const _e=le.error&&le.error.error&&le.error.error.code?le.error.error.code:le.error&&le.error.code?le.error.code:le.code?le.code:le.status;setTimeout(()=>{this.store.dispatch((0,k.qR)({payload:{data:{type:L.n_.ERROR,alertTitle:"ERROR",message:{code:_e,message:re,URL:ne},component:M.H}}}))},100)}return{message:re}}ngOnDestroy(){this.unSubs.forEach(te=>{te.next(null),te.complete()})}static#e=this.\u0275fac=function(ne){return new(ne||Z)(E.LFG(e.eN),E.LFG(z.mQ),E.LFG(I.yh),E.LFG(V.v))};static#t=this.\u0275prov=E.Yz7({token:Z,factory:Z.\u0275fac})}},5986:(Ge,X,f)=>{"use strict";f.d(X,{m:()=>_});var e=f(253),t=f(2560);class _{constructor(){this.sessionSub=new e.x}watchSession(){return this.sessionSub.asObservable()}getItem(l){return sessionStorage.getItem(l)}getAllItems(){return sessionStorage}setItem(l,D){sessionStorage.setItem(l,D),this.sessionSub.next(sessionStorage)}removeItem(l){sessionStorage.removeItem(l),this.sessionSub.next(sessionStorage)}clearAll(){sessionStorage.clear(),this.sessionSub.next(sessionStorage)}static#e=this.\u0275fac=function(D){return new(D||_)};static#t=this.\u0275prov=t.Yz7({token:_,factory:_.\u0275fac})}},3512:(Ge,X,f)=>{"use strict";f.d(X,{d:()=>z});var e=f(6317),t=f(253),_=f(8951),S=f(5463),l=f(833),D=f(7714),d=f(6067);const P={url:"",deserializer:I=>JSON.parse(I.data),serializer:I=>JSON.stringify(I)};class L extends t.u{constructor(V,Z){if(super(),this._socket=null,V instanceof l.y)this.destination=Z,this.source=V;else{const q=this._config=Object.assign({},P);if(this._output=new t.x,"string"==typeof V)q.url=V;else for(const te in V)V.hasOwnProperty(te)&&(q[te]=V[te]);if(!q.WebSocketCtor&&WebSocket)q.WebSocketCtor=WebSocket;else if(!q.WebSocketCtor)throw new Error("no WebSocket constructor can be found");this.destination=new d.t}}lift(V){const Z=new L(this._config,this.destination);return Z.operator=V,Z.source=this,Z}_resetState(){this._socket=null,this.source||(this.destination=new d.t),this._output=new t.x}multiplex(V,Z,q){const te=this;return new l.y(ne=>{try{te.next(V())}catch(re){ne.error(re)}const le=te.subscribe({next:re=>{try{q(re)&&ne.next(re)}catch(_e){ne.error(_e)}},error:re=>ne.error(re),complete:()=>ne.complete()});return()=>{try{te.next(Z())}catch(re){ne.error(re)}le.unsubscribe()}})}_connectSocket(){const{WebSocketCtor:V,protocol:Z,url:q,binaryType:te}=this._config,ne=this._output;let le=null;try{le=Z?new V(q,Z):new V(q),this._socket=le,te&&(this._socket.binaryType=te)}catch(_e){return void ne.error(_e)}const re=new D.w0(()=>{this._socket=null,le&&1===le.readyState&&le.close()});le.onopen=_e=>{const{_socket:he}=this;if(!he)return le.close(),void this._resetState();const{openObserver:ae}=this._config;ae&&ae.next(_e);const ve=this.destination;this.destination=S.Lv.create(T=>{if(1===le.readyState)try{const{serializer:i}=this._config;le.send(i(T))}catch(i){this.destination.error(i)}},T=>{const{closingObserver:i}=this._config;i&&i.next(void 0),T&&T.code?le.close(T.code,T.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:T}=this._config;T&&T.next(void 0),le.close(),this._resetState()}),ve&&ve instanceof d.t&&re.add(ve.subscribe(this.destination))},le.onerror=_e=>{this._resetState(),ne.error(_e)},le.onclose=_e=>{le===this._socket&&this._resetState();const{closeObserver:he}=this._config;he&&he.next(_e),_e.wasClean?ne.complete():ne.error(_e)},le.onmessage=_e=>{try{const{deserializer:he}=this._config;ne.next(he(_e))}catch(he){ne.error(he)}}}_subscribe(V){const{source:Z}=this;return Z?Z.subscribe(V):(this._socket||this._connectSocket(),this._output.subscribe(V),V.add(()=>{const{_socket:q}=this;0===this._output.observers.length&&(q&&(1===q.readyState||0===q.readyState)&&q.close(),this._resetState())}),V)}unsubscribe(){const{_socket:V}=this;V&&(1===V.readyState||0===V.readyState)&&V.close(),this._resetState(),super.unsubscribe()}}var M=f(2560),k=f(5043),E=f(5986);class z{constructor(V,Z){this.logger=V,this.sessionService=Z,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(V,Z){(!this.socket||this.socket.closed)&&(this.wsUrl=V,this.nodeIndex=Z,this.logger.info("Websocket Url: "+this.wsUrl),this.socket=new L({url:V,protocol:[this.sessionService.getItem("token")||"",Z]}),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,_.R)(this.unSubs[1])).subscribe({next:V=>{if((V="string"==typeof V?JSON.parse(V):V).error)this.handleError(V.error);else switch(this.logger.info("Next Message from WS:"+JSON.stringify(V)),V.source){case"LND":this.lndWSMessages.next(V);break;case"CLN":this.clWSMessages.next(V);break;case"ECL":this.eclWSMessages.next(V)}},error:V=>this.handleError(V),complete:()=>{this.logger.info("Web Socket Closed")}})}handleError(V){this.logger.error(V),this.clWSMessages.error(V),this.eclWSMessages.error(V),this.lndWSMessages.error(V),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(Z){return new(Z||z)(M.LFG(k.mQ),M.LFG(E.m))};static#t=this.\u0275prov=M.Yz7({token:z,factory:z.\u0275fac})}},6165:(Ge,X,f)=>{"use strict";f.d(X,{m:()=>Ta});var e=f(4666),t=f(3547),_=f(2508),S=f(8987),l=f(3505),D=f(2560),d=f(4658),P=f(3704),p=f(6722),L=f(8971);const M="stretch",k="stretch";class E extends d.QI{buildStyles(Qe){return function te(mi=""){const Qe={},[Dt,xi]=mi.split(" ");switch(Dt){case"end":Qe["justify-self"]="end";break;case"center":Qe["justify-self"]="center";break;case"stretch":Qe["justify-self"]="stretch";break;case"start":Qe["justify-self"]="start";break;default:Qe["justify-self"]=M}switch(xi){case"end":Qe["align-self"]="end";break;case"center":Qe["align-self"]="center";break;case"stretch":Qe["align-self"]="stretch";break;case"start":Qe["align-self"]="start";break;default:Qe["align-self"]=k}return Qe}(Qe||M)}}E.\u0275fac=function(){let mi;return function(Dt){return(mi||(mi=D.n5z(E)))(Dt||E)}}(),E.\u0275prov=D.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"});class z extends d.iR{constructor(Qe,Dt,xi,Ki){super(Qe,Dt,xi,Ki),this.DIRECTIVE_KEY="grid-align",this.styleCache=I,this.init()}}z.\u0275fac=function(Qe){return new(Qe||z)(D.Y36(D.SBq),D.Y36(E),D.Y36(d.RK),D.Y36(d.yB))},z.\u0275dir=D.lG2({type:z,features:[D.qOj]});const I=new Map,V=["gdGridAlign","gdGridAlign.xs","gdGridAlign.sm","gdGridAlign.md","gdGridAlign.lg","gdGridAlign.xl","gdGridAlign.lt-sm","gdGridAlign.lt-md","gdGridAlign.lt-lg","gdGridAlign.lt-xl","gdGridAlign.gt-xs","gdGridAlign.gt-sm","gdGridAlign.gt-md","gdGridAlign.gt-lg"];class q extends z{constructor(){super(...arguments),this.inputs=V}}q.\u0275fac=function(){let mi;return function(Dt){return(mi||(mi=D.n5z(q)))(Dt||q)}}(),q.\u0275dir=D.lG2({type:q,selectors:[["","gdGridAlign",""],["","gdGridAlign.xs",""],["","gdGridAlign.sm",""],["","gdGridAlign.md",""],["","gdGridAlign.lg",""],["","gdGridAlign.xl",""],["","gdGridAlign.lt-sm",""],["","gdGridAlign.lt-md",""],["","gdGridAlign.lt-lg",""],["","gdGridAlign.lt-xl",""],["","gdGridAlign.gt-xs",""],["","gdGridAlign.gt-sm",""],["","gdGridAlign.gt-md",""],["","gdGridAlign.gt-lg",""]],inputs:{gdGridAlign:"gdGridAlign","gdGridAlign.xs":"gdGridAlign.xs","gdGridAlign.sm":"gdGridAlign.sm","gdGridAlign.md":"gdGridAlign.md","gdGridAlign.lg":"gdGridAlign.lg","gdGridAlign.xl":"gdGridAlign.xl","gdGridAlign.lt-sm":"gdGridAlign.lt-sm","gdGridAlign.lt-md":"gdGridAlign.lt-md","gdGridAlign.lt-lg":"gdGridAlign.lt-lg","gdGridAlign.lt-xl":"gdGridAlign.lt-xl","gdGridAlign.gt-xs":"gdGridAlign.gt-xs","gdGridAlign.gt-sm":"gdGridAlign.gt-sm","gdGridAlign.gt-md":"gdGridAlign.gt-md","gdGridAlign.gt-lg":"gdGridAlign.gt-lg"},features:[D.qOj]});const ne="start",le="stretch";class re extends d.QI{buildStyles(Qe,Dt){return function o(mi,Qe){const Dt={},[xi,Ki]=mi.split(" ");switch(xi){case"center":Dt["align-content"]="center";break;case"space-around":Dt["align-content"]="space-around";break;case"space-between":Dt["align-content"]="space-between";break;case"space-evenly":Dt["align-content"]="space-evenly";break;case"end":Dt["align-content"]="end";break;case"start":Dt["align-content"]="start";break;case"stretch":Dt["align-content"]="stretch";break;default:Dt["align-content"]=ne}switch(Ki){case"start":Dt["align-items"]="start";break;case"center":Dt["align-items"]="center";break;case"end":Dt["align-items"]="end";break;case"stretch":Dt["align-items"]="stretch";break;default:Dt["align-items"]=le}return Dt.display=Qe?"inline-grid":"grid",Dt}(Qe||`start ${le}`,Dt.inline)}}re.\u0275fac=function(){let mi;return function(Dt){return(mi||(mi=D.n5z(re)))(Dt||re)}}(),re.\u0275prov=D.Yz7({token:re,factory:re.\u0275fac,providedIn:"root"});class _e extends d.iR{constructor(Qe,Dt,xi,Ki){super(Qe,Dt,xi,Ki),this.DIRECTIVE_KEY="grid-align-columns",this._inline=!1,this.init()}get inline(){return this._inline}set inline(Qe){this._inline=(0,L.Ig)(Qe)}updateWithValue(Qe){this.styleCache=this.inline?ae:he,this.addStyles(Qe,{inline:this.inline})}}_e.\u0275fac=function(Qe){return new(Qe||_e)(D.Y36(D.SBq),D.Y36(re),D.Y36(d.RK),D.Y36(d.yB))},_e.\u0275dir=D.lG2({type:_e,inputs:{inline:["gdInline","inline"]},features:[D.qOj]});const he=new Map,ae=new Map,ve=["gdAlignColumns","gdAlignColumns.xs","gdAlignColumns.sm","gdAlignColumns.md","gdAlignColumns.lg","gdAlignColumns.xl","gdAlignColumns.lt-sm","gdAlignColumns.lt-md","gdAlignColumns.lt-lg","gdAlignColumns.lt-xl","gdAlignColumns.gt-xs","gdAlignColumns.gt-sm","gdAlignColumns.gt-md","gdAlignColumns.gt-lg"];class i extends _e{constructor(){super(...arguments),this.inputs=ve}}i.\u0275fac=function(){let mi;return function(Dt){return(mi||(mi=D.n5z(i)))(Dt||i)}}(),i.\u0275dir=D.lG2({type:i,selectors:[["","gdAlignColumns",""],["","gdAlignColumns.xs",""],["","gdAlignColumns.sm",""],["","gdAlignColumns.md",""],["","gdAlignColumns.lg",""],["","gdAlignColumns.xl",""],["","gdAlignColumns.lt-sm",""],["","gdAlignColumns.lt-md",""],["","gdAlignColumns.lt-lg",""],["","gdAlignColumns.lt-xl",""],["","gdAlignColumns.gt-xs",""],["","gdAlignColumns.gt-sm",""],["","gdAlignColumns.gt-md",""],["","gdAlignColumns.gt-lg",""]],inputs:{gdAlignColumns:"gdAlignColumns","gdAlignColumns.xs":"gdAlignColumns.xs","gdAlignColumns.sm":"gdAlignColumns.sm","gdAlignColumns.md":"gdAlignColumns.md","gdAlignColumns.lg":"gdAlignColumns.lg","gdAlignColumns.xl":"gdAlignColumns.xl","gdAlignColumns.lt-sm":"gdAlignColumns.lt-sm","gdAlignColumns.lt-md":"gdAlignColumns.lt-md","gdAlignColumns.lt-lg":"gdAlignColumns.lt-lg","gdAlignColumns.lt-xl":"gdAlignColumns.lt-xl","gdAlignColumns.gt-xs":"gdAlignColumns.gt-xs","gdAlignColumns.gt-sm":"gdAlignColumns.gt-sm","gdAlignColumns.gt-md":"gdAlignColumns.gt-md","gdAlignColumns.gt-lg":"gdAlignColumns.gt-lg"},features:[D.qOj]});const m="start",h="stretch";class y extends d.QI{buildStyles(Qe,Dt){return function N(mi,Qe){const Dt={},[xi,Ki]=mi.split(" ");switch(xi){case"center":case"space-around":case"space-between":case"space-evenly":case"end":case"start":case"stretch":Dt["justify-content"]=xi;break;default:Dt["justify-content"]=m}switch(Ki){case"start":case"center":case"end":case"stretch":Dt["justify-items"]=Ki;break;default:Dt["justify-items"]=h}return Dt.display=Qe?"inline-grid":"grid",Dt}(Qe||`${m} ${h}`,Dt.inline)}}y.\u0275fac=function(){let mi;return function(Dt){return(mi||(mi=D.n5z(y)))(Dt||y)}}(),y.\u0275prov=D.Yz7({token:y,factory:y.\u0275fac,providedIn:"root"});class A extends d.iR{constructor(Qe,Dt,xi,Ki){super(Qe,Dt,xi,Ki),this.DIRECTIVE_KEY="grid-align-rows",this._inline=!1,this.init()}get inline(){return this._inline}set inline(Qe){this._inline=(0,L.Ig)(Qe)}updateWithValue(Qe){this.styleCache=this.inline?v:R,this.addStyles(Qe,{inline:this.inline})}}A.\u0275fac=function(Qe){return new(Qe||A)(D.Y36(D.SBq),D.Y36(y),D.Y36(d.RK),D.Y36(d.yB))},A.\u0275dir=D.lG2({type:A,inputs:{inline:["gdInline","inline"]},features:[D.qOj]});const R=new Map,v=new Map,a=["gdAlignRows","gdAlignRows.xs","gdAlignRows.sm","gdAlignRows.md","gdAlignRows.lg","gdAlignRows.xl","gdAlignRows.lt-sm","gdAlignRows.lt-md","gdAlignRows.lt-lg","gdAlignRows.lt-xl","gdAlignRows.gt-xs","gdAlignRows.gt-sm","gdAlignRows.gt-md","gdAlignRows.gt-lg"];class U extends A{constructor(){super(...arguments),this.inputs=a}}U.\u0275fac=function(){let mi;return function(Dt){return(mi||(mi=D.n5z(U)))(Dt||U)}}(),U.\u0275dir=D.lG2({type:U,selectors:[["","gdAlignRows",""],["","gdAlignRows.xs",""],["","gdAlignRows.sm",""],["","gdAlignRows.md",""],["","gdAlignRows.lg",""],["","gdAlignRows.xl",""],["","gdAlignRows.lt-sm",""],["","gdAlignRows.lt-md",""],["","gdAlignRows.lt-lg",""],["","gdAlignRows.lt-xl",""],["","gdAlignRows.gt-xs",""],["","gdAlignRows.gt-sm",""],["","gdAlignRows.gt-md",""],["","gdAlignRows.gt-lg",""]],inputs:{gdAlignRows:"gdAlignRows","gdAlignRows.xs":"gdAlignRows.xs","gdAlignRows.sm":"gdAlignRows.sm","gdAlignRows.md":"gdAlignRows.md","gdAlignRows.lg":"gdAlignRows.lg","gdAlignRows.xl":"gdAlignRows.xl","gdAlignRows.lt-sm":"gdAlignRows.lt-sm","gdAlignRows.lt-md":"gdAlignRows.lt-md","gdAlignRows.lt-lg":"gdAlignRows.lt-lg","gdAlignRows.lt-xl":"gdAlignRows.lt-xl","gdAlignRows.gt-xs":"gdAlignRows.gt-xs","gdAlignRows.gt-sm":"gdAlignRows.gt-sm","gdAlignRows.gt-md":"gdAlignRows.gt-md","gdAlignRows.gt-lg":"gdAlignRows.gt-lg"},features:[D.qOj]});class Pe extends d.QI{buildStyles(Qe){return{"grid-area":Qe||"auto"}}}Pe.\u0275fac=function(){let mi;return function(Dt){return(mi||(mi=D.n5z(Pe)))(Dt||Pe)}}(),Pe.\u0275prov=D.Yz7({token:Pe,factory:Pe.\u0275fac,providedIn:"root"});class Le extends d.iR{constructor(Qe,Dt,xi,Ki){super(Qe,xi,Dt,Ki),this.DIRECTIVE_KEY="grid-area",this.styleCache=Ye,this.init()}}Le.\u0275fac=function(Qe){return new(Qe||Le)(D.Y36(D.SBq),D.Y36(d.RK),D.Y36(Pe),D.Y36(d.yB))},Le.\u0275dir=D.lG2({type:Le,features:[D.qOj]});const Ye=new Map,$e=["gdArea","gdArea.xs","gdArea.sm","gdArea.md","gdArea.lg","gdArea.xl","gdArea.lt-sm","gdArea.lt-md","gdArea.lt-lg","gdArea.lt-xl","gdArea.gt-xs","gdArea.gt-sm","gdArea.gt-md","gdArea.gt-lg"];class be extends Le{constructor(){super(...arguments),this.inputs=$e}}be.\u0275fac=function(){let mi;return function(Dt){return(mi||(mi=D.n5z(be)))(Dt||be)}}(),be.\u0275dir=D.lG2({type:be,selectors:[["","gdArea",""],["","gdArea.xs",""],["","gdArea.sm",""],["","gdArea.md",""],["","gdArea.lg",""],["","gdArea.xl",""],["","gdArea.lt-sm",""],["","gdArea.lt-md",""],["","gdArea.lt-lg",""],["","gdArea.lt-xl",""],["","gdArea.gt-xs",""],["","gdArea.gt-sm",""],["","gdArea.gt-md",""],["","gdArea.gt-lg",""]],inputs:{gdArea:"gdArea","gdArea.xs":"gdArea.xs","gdArea.sm":"gdArea.sm","gdArea.md":"gdArea.md","gdArea.lg":"gdArea.lg","gdArea.xl":"gdArea.xl","gdArea.lt-sm":"gdArea.lt-sm","gdArea.lt-md":"gdArea.lt-md","gdArea.lt-lg":"gdArea.lt-lg","gdArea.lt-xl":"gdArea.lt-xl","gdArea.gt-xs":"gdArea.gt-xs","gdArea.gt-sm":"gdArea.gt-sm","gdArea.gt-md":"gdArea.gt-md","gdArea.gt-lg":"gdArea.gt-lg"},features:[D.qOj]});class ye extends d.QI{buildStyles(Qe,Dt){const xi=(Qe||"none").split("|").map(Ki=>`"${Ki.trim()}"`);return{display:Dt.inline?"inline-grid":"grid","grid-template-areas":xi.join(" ")}}}ye.\u0275fac=function(){let mi;return function(Dt){return(mi||(mi=D.n5z(ye)))(Dt||ye)}}(),ye.\u0275prov=D.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"});class Te extends d.iR{constructor(Qe,Dt,xi,Ki){super(Qe,xi,Dt,Ki),this.DIRECTIVE_KEY="grid-areas",this._inline=!1,this.init()}get inline(){return this._inline}set inline(Qe){this._inline=(0,L.Ig)(Qe)}updateWithValue(Qe){this.styleCache=this.inline?Ee:He,this.addStyles(Qe,{inline:this.inline})}}Te.\u0275fac=function(Qe){return new(Qe||Te)(D.Y36(D.SBq),D.Y36(d.RK),D.Y36(ye),D.Y36(d.yB))},Te.\u0275dir=D.lG2({type:Te,inputs:{inline:["gdInline","inline"]},features:[D.qOj]});const He=new Map,Ee=new Map,we=["gdAreas","gdAreas.xs","gdAreas.sm","gdAreas.md","gdAreas.lg","gdAreas.xl","gdAreas.lt-sm","gdAreas.lt-md","gdAreas.lt-lg","gdAreas.lt-xl","gdAreas.gt-xs","gdAreas.gt-sm","gdAreas.gt-md","gdAreas.gt-lg"];class Me extends Te{constructor(){super(...arguments),this.inputs=we}}Me.\u0275fac=function(){let mi;return function(Dt){return(mi||(mi=D.n5z(Me)))(Dt||Me)}}(),Me.\u0275dir=D.lG2({type:Me,selectors:[["","gdAreas",""],["","gdAreas.xs",""],["","gdAreas.sm",""],["","gdAreas.md",""],["","gdAreas.lg",""],["","gdAreas.xl",""],["","gdAreas.lt-sm",""],["","gdAreas.lt-md",""],["","gdAreas.lt-lg",""],["","gdAreas.lt-xl",""],["","gdAreas.gt-xs",""],["","gdAreas.gt-sm",""],["","gdAreas.gt-md",""],["","gdAreas.gt-lg",""]],inputs:{gdAreas:"gdAreas","gdAreas.xs":"gdAreas.xs","gdAreas.sm":"gdAreas.sm","gdAreas.md":"gdAreas.md","gdAreas.lg":"gdAreas.lg","gdAreas.xl":"gdAreas.xl","gdAreas.lt-sm":"gdAreas.lt-sm","gdAreas.lt-md":"gdAreas.lt-md","gdAreas.lt-lg":"gdAreas.lt-lg","gdAreas.lt-xl":"gdAreas.lt-xl","gdAreas.gt-xs":"gdAreas.gt-xs","gdAreas.gt-sm":"gdAreas.gt-sm","gdAreas.gt-md":"gdAreas.gt-md","gdAreas.gt-lg":"gdAreas.gt-lg"},features:[D.qOj]});class G extends d.QI{buildStyles(Qe,Dt){let[xi,Ki]=(Qe||"initial").split(" ");return"column"!==xi&&"row"!==xi&&"dense"!==xi&&(xi="row"),Ki="dense"===Ki&&"dense"!==xi?" dense":"",{display:Dt.inline?"inline-grid":"grid","grid-auto-flow":xi+Ki}}}G.\u0275fac=function(){let mi;return function(Dt){return(mi||(mi=D.n5z(G)))(Dt||G)}}(),G.\u0275prov=D.Yz7({token:G,factory:G.\u0275fac,providedIn:"root"});class $ extends d.iR{constructor(Qe,Dt,xi,Ki){super(Qe,Dt,xi,Ki),this._inline=!1,this.DIRECTIVE_KEY="grid-auto",this.init()}get inline(){return this._inline}set inline(Qe){this._inline=(0,L.Ig)(Qe)}updateWithValue(Qe){this.styleCache=this.inline?Ue:ze,this.addStyles(Qe,{inline:this.inline})}}$.\u0275fac=function(Qe){return new(Qe||$)(D.Y36(D.SBq),D.Y36(G),D.Y36(d.RK),D.Y36(d.yB))},$.\u0275dir=D.lG2({type:$,inputs:{inline:["gdInline","inline"]},features:[D.qOj]});const ze=new Map,Ue=new Map,oe=["gdAuto","gdAuto.xs","gdAuto.sm","gdAuto.md","gdAuto.lg","gdAuto.xl","gdAuto.lt-sm","gdAuto.lt-md","gdAuto.lt-lg","gdAuto.lt-xl","gdAuto.gt-xs","gdAuto.gt-sm","gdAuto.gt-md","gdAuto.gt-lg"];class Be extends ${constructor(){super(...arguments),this.inputs=oe}}Be.\u0275fac=function(){let mi;return function(Dt){return(mi||(mi=D.n5z(Be)))(Dt||Be)}}(),Be.\u0275dir=D.lG2({type:Be,selectors:[["","gdAuto",""],["","gdAuto.xs",""],["","gdAuto.sm",""],["","gdAuto.md",""],["","gdAuto.lg",""],["","gdAuto.xl",""],["","gdAuto.lt-sm",""],["","gdAuto.lt-md",""],["","gdAuto.lt-lg",""],["","gdAuto.lt-xl",""],["","gdAuto.gt-xs",""],["","gdAuto.gt-sm",""],["","gdAuto.gt-md",""],["","gdAuto.gt-lg",""]],inputs:{gdAuto:"gdAuto","gdAuto.xs":"gdAuto.xs","gdAuto.sm":"gdAuto.sm","gdAuto.md":"gdAuto.md","gdAuto.lg":"gdAuto.lg","gdAuto.xl":"gdAuto.xl","gdAuto.lt-sm":"gdAuto.lt-sm","gdAuto.lt-md":"gdAuto.lt-md","gdAuto.lt-lg":"gdAuto.lt-lg","gdAuto.lt-xl":"gdAuto.lt-xl","gdAuto.gt-xs":"gdAuto.gt-xs","gdAuto.gt-sm":"gdAuto.gt-sm","gdAuto.gt-md":"gdAuto.gt-md","gdAuto.gt-lg":"gdAuto.gt-lg"},features:[D.qOj]});class $t extends d.QI{buildStyles(Qe){return{"grid-column":Qe||"auto"}}}$t.\u0275fac=function(){let mi;return function(Dt){return(mi||(mi=D.n5z($t)))(Dt||$t)}}(),$t.\u0275prov=D.Yz7({token:$t,factory:$t.\u0275fac,providedIn:"root"});class gt extends d.iR{constructor(Qe,Dt,xi,Ki){super(Qe,Dt,xi,Ki),this.DIRECTIVE_KEY="grid-column",this.styleCache=rt,this.init()}}gt.\u0275fac=function(Qe){return new(Qe||gt)(D.Y36(D.SBq),D.Y36($t),D.Y36(d.RK),D.Y36(d.yB))},gt.\u0275dir=D.lG2({type:gt,features:[D.qOj]});const rt=new Map,Re=["gdColumn","gdColumn.xs","gdColumn.sm","gdColumn.md","gdColumn.lg","gdColumn.xl","gdColumn.lt-sm","gdColumn.lt-md","gdColumn.lt-lg","gdColumn.lt-xl","gdColumn.gt-xs","gdColumn.gt-sm","gdColumn.gt-md","gdColumn.gt-lg"];class St extends gt{constructor(){super(...arguments),this.inputs=Re}}St.\u0275fac=function(){let mi;return function(Dt){return(mi||(mi=D.n5z(St)))(Dt||St)}}(),St.\u0275dir=D.lG2({type:St,selectors:[["","gdColumn",""],["","gdColumn.xs",""],["","gdColumn.sm",""],["","gdColumn.md",""],["","gdColumn.lg",""],["","gdColumn.xl",""],["","gdColumn.lt-sm",""],["","gdColumn.lt-md",""],["","gdColumn.lt-lg",""],["","gdColumn.lt-xl",""],["","gdColumn.gt-xs",""],["","gdColumn.gt-sm",""],["","gdColumn.gt-md",""],["","gdColumn.gt-lg",""]],inputs:{gdColumn:"gdColumn","gdColumn.xs":"gdColumn.xs","gdColumn.sm":"gdColumn.sm","gdColumn.md":"gdColumn.md","gdColumn.lg":"gdColumn.lg","gdColumn.xl":"gdColumn.xl","gdColumn.lt-sm":"gdColumn.lt-sm","gdColumn.lt-md":"gdColumn.lt-md","gdColumn.lt-lg":"gdColumn.lt-lg","gdColumn.lt-xl":"gdColumn.lt-xl","gdColumn.gt-xs":"gdColumn.gt-xs","gdColumn.gt-sm":"gdColumn.gt-sm","gdColumn.gt-md":"gdColumn.gt-md","gdColumn.gt-lg":"gdColumn.gt-lg"},features:[D.qOj]});class ei extends d.QI{buildStyles(Qe,Dt){let xi=!1;(Qe=Qe||"none").endsWith("!")&&(Qe=Qe.substring(0,Qe.indexOf("!")),xi=!0);const Ki={display:Dt.inline?"inline-grid":"grid","grid-auto-columns":"","grid-template-columns":""};return Ki[xi?"grid-auto-columns":"grid-template-columns"]=Qe,Ki}}ei.\u0275fac=function(){let mi;return function(Dt){return(mi||(mi=D.n5z(ei)))(Dt||ei)}}(),ei.\u0275prov=D.Yz7({token:ei,factory:ei.\u0275fac,providedIn:"root"});class Zi extends d.iR{constructor(Qe,Dt,xi,Ki){super(Qe,Dt,xi,Ki),this.DIRECTIVE_KEY="grid-columns",this._inline=!1,this.init()}get inline(){return this._inline}set inline(Qe){this._inline=(0,L.Ig)(Qe)}updateWithValue(Qe){this.styleCache=this.inline?Bt:si,this.addStyles(Qe,{inline:this.inline})}}Zi.\u0275fac=function(Qe){return new(Qe||Zi)(D.Y36(D.SBq),D.Y36(ei),D.Y36(d.RK),D.Y36(d.yB))},Zi.\u0275dir=D.lG2({type:Zi,inputs:{inline:["gdInline","inline"]},features:[D.qOj]});const si=new Map,Bt=new Map,Je=["gdColumns","gdColumns.xs","gdColumns.sm","gdColumns.md","gdColumns.lg","gdColumns.xl","gdColumns.lt-sm","gdColumns.lt-md","gdColumns.lt-lg","gdColumns.lt-xl","gdColumns.gt-xs","gdColumns.gt-sm","gdColumns.gt-md","gdColumns.gt-lg"];class K extends Zi{constructor(){super(...arguments),this.inputs=Je}}K.\u0275fac=function(){let mi;return function(Dt){return(mi||(mi=D.n5z(K)))(Dt||K)}}(),K.\u0275dir=D.lG2({type:K,selectors:[["","gdColumns",""],["","gdColumns.xs",""],["","gdColumns.sm",""],["","gdColumns.md",""],["","gdColumns.lg",""],["","gdColumns.xl",""],["","gdColumns.lt-sm",""],["","gdColumns.lt-md",""],["","gdColumns.lt-lg",""],["","gdColumns.lt-xl",""],["","gdColumns.gt-xs",""],["","gdColumns.gt-sm",""],["","gdColumns.gt-md",""],["","gdColumns.gt-lg",""]],inputs:{gdColumns:"gdColumns","gdColumns.xs":"gdColumns.xs","gdColumns.sm":"gdColumns.sm","gdColumns.md":"gdColumns.md","gdColumns.lg":"gdColumns.lg","gdColumns.xl":"gdColumns.xl","gdColumns.lt-sm":"gdColumns.lt-sm","gdColumns.lt-md":"gdColumns.lt-md","gdColumns.lt-lg":"gdColumns.lt-lg","gdColumns.lt-xl":"gdColumns.lt-xl","gdColumns.gt-xs":"gdColumns.gt-xs","gdColumns.gt-sm":"gdColumns.gt-sm","gdColumns.gt-md":"gdColumns.gt-md","gdColumns.gt-lg":"gdColumns.gt-lg"},features:[D.qOj]});class Ce extends d.QI{buildStyles(Qe,Dt){return{display:Dt.inline?"inline-grid":"grid","grid-gap":Qe||"0"}}}Ce.\u0275fac=function(){let mi;return function(Dt){return(mi||(mi=D.n5z(Ce)))(Dt||Ce)}}(),Ce.\u0275prov=D.Yz7({token:Ce,factory:Ce.\u0275fac,providedIn:"root"});class We extends d.iR{constructor(Qe,Dt,xi,Ki){super(Qe,xi,Dt,Ki),this.DIRECTIVE_KEY="grid-gap",this._inline=!1,this.init()}get inline(){return this._inline}set inline(Qe){this._inline=(0,L.Ig)(Qe)}updateWithValue(Qe){this.styleCache=this.inline?Tt:Mt,this.addStyles(Qe,{inline:this.inline})}}We.\u0275fac=function(Qe){return new(Qe||We)(D.Y36(D.SBq),D.Y36(d.RK),D.Y36(Ce),D.Y36(d.yB))},We.\u0275dir=D.lG2({type:We,inputs:{inline:["gdInline","inline"]},features:[D.qOj]});const Mt=new Map,Tt=new Map,Nt=["gdGap","gdGap.xs","gdGap.sm","gdGap.md","gdGap.lg","gdGap.xl","gdGap.lt-sm","gdGap.lt-md","gdGap.lt-lg","gdGap.lt-xl","gdGap.gt-xs","gdGap.gt-sm","gdGap.gt-md","gdGap.gt-lg"];class Ke extends We{constructor(){super(...arguments),this.inputs=Nt}}Ke.\u0275fac=function(){let mi;return function(Dt){return(mi||(mi=D.n5z(Ke)))(Dt||Ke)}}(),Ke.\u0275dir=D.lG2({type:Ke,selectors:[["","gdGap",""],["","gdGap.xs",""],["","gdGap.sm",""],["","gdGap.md",""],["","gdGap.lg",""],["","gdGap.xl",""],["","gdGap.lt-sm",""],["","gdGap.lt-md",""],["","gdGap.lt-lg",""],["","gdGap.lt-xl",""],["","gdGap.gt-xs",""],["","gdGap.gt-sm",""],["","gdGap.gt-md",""],["","gdGap.gt-lg",""]],inputs:{gdGap:"gdGap","gdGap.xs":"gdGap.xs","gdGap.sm":"gdGap.sm","gdGap.md":"gdGap.md","gdGap.lg":"gdGap.lg","gdGap.xl":"gdGap.xl","gdGap.lt-sm":"gdGap.lt-sm","gdGap.lt-md":"gdGap.lt-md","gdGap.lt-lg":"gdGap.lt-lg","gdGap.lt-xl":"gdGap.lt-xl","gdGap.gt-xs":"gdGap.gt-xs","gdGap.gt-sm":"gdGap.gt-sm","gdGap.gt-md":"gdGap.gt-md","gdGap.gt-lg":"gdGap.gt-lg"},features:[D.qOj]});class ri extends d.QI{buildStyles(Qe){return{"grid-row":Qe||"auto"}}}ri.\u0275fac=function(){let mi;return function(Dt){return(mi||(mi=D.n5z(ri)))(Dt||ri)}}(),ri.\u0275prov=D.Yz7({token:ri,factory:ri.\u0275fac,providedIn:"root"});class Pt extends d.iR{constructor(Qe,Dt,xi,Ki){super(Qe,Dt,xi,Ki),this.DIRECTIVE_KEY="grid-row",this.styleCache=Lt,this.init()}}Pt.\u0275fac=function(Qe){return new(Qe||Pt)(D.Y36(D.SBq),D.Y36(ri),D.Y36(d.RK),D.Y36(d.yB))},Pt.\u0275dir=D.lG2({type:Pt,features:[D.qOj]});const Lt=new Map,Kt=["gdRow","gdRow.xs","gdRow.sm","gdRow.md","gdRow.lg","gdRow.xl","gdRow.lt-sm","gdRow.lt-md","gdRow.lt-lg","gdRow.lt-xl","gdRow.gt-xs","gdRow.gt-sm","gdRow.gt-md","gdRow.gt-lg"];class fe extends Pt{constructor(){super(...arguments),this.inputs=Kt}}fe.\u0275fac=function(){let mi;return function(Dt){return(mi||(mi=D.n5z(fe)))(Dt||fe)}}(),fe.\u0275dir=D.lG2({type:fe,selectors:[["","gdRow",""],["","gdRow.xs",""],["","gdRow.sm",""],["","gdRow.md",""],["","gdRow.lg",""],["","gdRow.xl",""],["","gdRow.lt-sm",""],["","gdRow.lt-md",""],["","gdRow.lt-lg",""],["","gdRow.lt-xl",""],["","gdRow.gt-xs",""],["","gdRow.gt-sm",""],["","gdRow.gt-md",""],["","gdRow.gt-lg",""]],inputs:{gdRow:"gdRow","gdRow.xs":"gdRow.xs","gdRow.sm":"gdRow.sm","gdRow.md":"gdRow.md","gdRow.lg":"gdRow.lg","gdRow.xl":"gdRow.xl","gdRow.lt-sm":"gdRow.lt-sm","gdRow.lt-md":"gdRow.lt-md","gdRow.lt-lg":"gdRow.lt-lg","gdRow.lt-xl":"gdRow.lt-xl","gdRow.gt-xs":"gdRow.gt-xs","gdRow.gt-sm":"gdRow.gt-sm","gdRow.gt-md":"gdRow.gt-md","gdRow.gt-lg":"gdRow.gt-lg"},features:[D.qOj]});class kt extends d.QI{buildStyles(Qe,Dt){let xi=!1;(Qe=Qe||"none").endsWith("!")&&(Qe=Qe.substring(0,Qe.indexOf("!")),xi=!0);const Ki={display:Dt.inline?"inline-grid":"grid","grid-auto-rows":"","grid-template-rows":""};return Ki[xi?"grid-auto-rows":"grid-template-rows"]=Qe,Ki}}kt.\u0275fac=function(){let mi;return function(Dt){return(mi||(mi=D.n5z(kt)))(Dt||kt)}}(),kt.\u0275prov=D.Yz7({token:kt,factory:kt.\u0275fac,providedIn:"root"});class Oi extends d.iR{constructor(Qe,Dt,xi,Ki){super(Qe,Dt,xi,Ki),this.DIRECTIVE_KEY="grid-rows",this._inline=!1,this.init()}get inline(){return this._inline}set inline(Qe){this._inline=(0,L.Ig)(Qe)}updateWithValue(Qe){this.styleCache=this.inline?Ei:Li,this.addStyles(Qe,{inline:this.inline})}}Oi.\u0275fac=function(Qe){return new(Qe||Oi)(D.Y36(D.SBq),D.Y36(kt),D.Y36(d.RK),D.Y36(d.yB))},Oi.\u0275dir=D.lG2({type:Oi,inputs:{inline:["gdInline","inline"]},features:[D.qOj]});const Li=new Map,Ei=new Map,Wi=["gdRows","gdRows.xs","gdRows.sm","gdRows.md","gdRows.lg","gdRows.xl","gdRows.lt-sm","gdRows.lt-md","gdRows.lt-lg","gdRows.lt-xl","gdRows.gt-xs","gdRows.gt-sm","gdRows.gt-md","gdRows.gt-lg"];class qe extends Oi{constructor(){super(...arguments),this.inputs=Wi}}qe.\u0275fac=function(){let mi;return function(Dt){return(mi||(mi=D.n5z(qe)))(Dt||qe)}}(),qe.\u0275dir=D.lG2({type:qe,selectors:[["","gdRows",""],["","gdRows.xs",""],["","gdRows.sm",""],["","gdRows.md",""],["","gdRows.lg",""],["","gdRows.xl",""],["","gdRows.lt-sm",""],["","gdRows.lt-md",""],["","gdRows.lt-lg",""],["","gdRows.lt-xl",""],["","gdRows.gt-xs",""],["","gdRows.gt-sm",""],["","gdRows.gt-md",""],["","gdRows.gt-lg",""]],inputs:{gdRows:"gdRows","gdRows.xs":"gdRows.xs","gdRows.sm":"gdRows.sm","gdRows.md":"gdRows.md","gdRows.lg":"gdRows.lg","gdRows.xl":"gdRows.xl","gdRows.lt-sm":"gdRows.lt-sm","gdRows.lt-md":"gdRows.lt-md","gdRows.lt-lg":"gdRows.lt-lg","gdRows.lt-xl":"gdRows.lt-xl","gdRows.gt-xs":"gdRows.gt-xs","gdRows.gt-sm":"gdRows.gt-sm","gdRows.gt-md":"gdRows.gt-md","gdRows.gt-lg":"gdRows.gt-lg"},features:[D.qOj]});class Vt{}Vt.\u0275fac=function(Qe){return new(Qe||Vt)},Vt.\u0275mod=D.oAB({type:Vt}),Vt.\u0275inj=D.cJS({imports:[d.IR]});new D.GfV("14.0.0-beta.41");class fi{constructor(Qe,Dt){(0,e.PM)(Dt)&&!Qe&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(Qe,Dt=[]){return{ngModule:fi,providers:Qe.serverLoaded?[{provide:d.WU,useValue:{...d.g5,...Qe}},{provide:d.Bs,useValue:Dt,multi:!0},{provide:d.wY,useValue:!0}]:[{provide:d.WU,useValue:{...d.g5,...Qe}},{provide:d.Bs,useValue:Dt,multi:!0}]}}}fi.\u0275fac=function(Qe){return new(Qe||fi)(D.LFG(d.wY),D.LFG(D.Lbi))},fi.\u0275mod=D.oAB({type:fi}),fi.\u0275inj=D.cJS({imports:[p.ae,P.aT,Vt,p.ae,P.aT,Vt]});var Si=f(3278),ki=f(207),Gi=f(4481),Qt=f(8550),xe=f(3335),ke=f(4522),ft=f(4218),Rt=f(1755);const di=["button"],ci=new D.OlP("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS"),ii=new D.OlP("MatButtonToggleGroup"),bi={provide:_.JU,useExisting:(0,D.Gpc)(()=>ha),multi:!0};let Yi=0;class _n{constructor(Qe,Dt){this.source=Qe,this.value=Dt}}class ha{constructor(Qe,Dt){this._changeDetector=Qe,this._vertical=!1,this._multiple=!1,this._disabled=!1,this._controlValueAccessorChangeFn=()=>{},this._onTouched=()=>{},this._name="mat-button-toggle-group-"+Yi++,this.valueChange=new D.vpe,this.change=new D.vpe,this.appearance=Dt&&Dt.appearance?Dt.appearance:"standard"}get name(){return this._name}set name(Qe){this._name=Qe,this._markButtonsForCheck()}get vertical(){return this._vertical}set vertical(Qe){this._vertical=(0,L.Ig)(Qe)}get value(){const Qe=this._selectionModel?this._selectionModel.selected:[];return this.multiple?Qe.map(Dt=>Dt.value):Qe[0]?Qe[0].value:void 0}set value(Qe){this._setSelectionByValue(Qe),this.valueChange.emit(this.value)}get selected(){const Qe=this._selectionModel?this._selectionModel.selected:[];return this.multiple?Qe:Qe[0]||null}get multiple(){return this._multiple}set multiple(Qe){this._multiple=(0,L.Ig)(Qe),this._markButtonsForCheck()}get disabled(){return this._disabled}set disabled(Qe){this._disabled=(0,L.Ig)(Qe),this._markButtonsForCheck()}ngOnInit(){this._selectionModel=new Rt.Ov(this.multiple,void 0,!1)}ngAfterContentInit(){this._selectionModel.select(...this._buttonToggles.filter(Qe=>Qe.checked))}writeValue(Qe){this.value=Qe,this._changeDetector.markForCheck()}registerOnChange(Qe){this._controlValueAccessorChangeFn=Qe}registerOnTouched(Qe){this._onTouched=Qe}setDisabledState(Qe){this.disabled=Qe}_emitChangeEvent(Qe){const Dt=new _n(Qe,this.value);this._controlValueAccessorChangeFn(Dt.value),this.change.emit(Dt)}_syncButtonToggle(Qe,Dt,xi=!1,Ki=!1){!this.multiple&&this.selected&&!Qe.checked&&(this.selected.checked=!1),this._selectionModel?Dt?this._selectionModel.select(Qe):this._selectionModel.deselect(Qe):Ki=!0,Ki?Promise.resolve().then(()=>this._updateModelValue(Qe,xi)):this._updateModelValue(Qe,xi)}_isSelected(Qe){return this._selectionModel&&this._selectionModel.isSelected(Qe)}_isPrechecked(Qe){return!(typeof this._rawValue>"u")&&(this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(Dt=>null!=Qe.value&&Dt===Qe.value):Qe.value===this._rawValue)}_setSelectionByValue(Qe){this._rawValue=Qe,this._buttonToggles&&(this.multiple&&Qe?(Array.isArray(Qe),this._clearSelection(),Qe.forEach(Dt=>this._selectValue(Dt))):(this._clearSelection(),this._selectValue(Qe)))}_clearSelection(){this._selectionModel.clear(),this._buttonToggles.forEach(Qe=>Qe.checked=!1)}_selectValue(Qe){const Dt=this._buttonToggles.find(xi=>null!=xi.value&&xi.value===Qe);Dt&&(Dt.checked=!0,this._selectionModel.select(Dt))}_updateModelValue(Qe,Dt){Dt&&this._emitChangeEvent(Qe),this.valueChange.emit(this.value)}_markButtonsForCheck(){this._buttonToggles?.forEach(Qe=>Qe._markForCheck())}}ha.\u0275fac=function(Qe){return new(Qe||ha)(D.Y36(D.sBO),D.Y36(ci,8))},ha.\u0275dir=D.lG2({type:ha,selectors:[["mat-button-toggle-group"]],contentQueries:function(Qe,Dt,xi){if(1&Qe&&D.Suo(xi,Zn,5),2&Qe){let Ki;D.iGM(Ki=D.CRH())&&(Dt._buttonToggles=Ki)}},hostAttrs:["role","group",1,"mat-button-toggle-group"],hostVars:5,hostBindings:function(Qe,Dt){2&Qe&&(D.uIk("aria-disabled",Dt.disabled),D.ekj("mat-button-toggle-vertical",Dt.vertical)("mat-button-toggle-group-appearance-standard","standard"===Dt.appearance))},inputs:{appearance:"appearance",name:"name",vertical:"vertical",value:"value",multiple:"multiple",disabled:"disabled"},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],features:[D._Bn([bi,{provide:ii,useExisting:ha}])]});const gn=(0,ki.Kr)(class{});class Zn extends gn{constructor(Qe,Dt,xi,Ki,wn,Qi){super(),this._changeDetectorRef=Dt,this._elementRef=xi,this._focusMonitor=Ki,this._checked=!1,this.ariaLabelledby=null,this._disabled=!1,this.change=new D.vpe;const sa=Number(wn);this.tabIndex=sa||0===sa?sa:null,this.buttonToggleGroup=Qe,this.appearance=Qi&&Qi.appearance?Qi.appearance:"standard"}get buttonId(){return`${this.id}-button`}get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(Qe){this._appearance=Qe}get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(Qe){const Dt=(0,L.Ig)(Qe);Dt!==this._checked&&(this._checked=Dt,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(Qe){this._disabled=(0,L.Ig)(Qe)}ngOnInit(){const Qe=this.buttonToggleGroup;this.id=this.id||"mat-button-toggle-"+Yi++,Qe&&(Qe._isPrechecked(this)?this.checked=!0:Qe._isSelected(this)!==this._checked&&Qe._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){const Qe=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),Qe&&Qe._isSelected(this)&&Qe._syncButtonToggle(this,!1,!1,!0)}focus(Qe){this._buttonElement.nativeElement.focus(Qe)}_onButtonClick(){const Qe=!!this._isSingleSelector()||!this._checked;Qe!==this._checked&&(this._checked=Qe,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.change.emit(new _n(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}_getButtonName(){return this._isSingleSelector()?this.buttonToggleGroup.name:this.name||null}_isSingleSelector(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple}}Zn.\u0275fac=function(Qe){return new(Qe||Zn)(D.Y36(ii,8),D.Y36(D.sBO),D.Y36(D.SBq),D.Y36(ft.tE),D.$8M("tabindex"),D.Y36(ci,8))},Zn.\u0275cmp=D.Xpm({type:Zn,selectors:[["mat-button-toggle"]],viewQuery:function(Qe,Dt){if(1&Qe&&D.Gf(di,5),2&Qe){let xi;D.iGM(xi=D.CRH())&&(Dt._buttonElement=xi.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:12,hostBindings:function(Qe,Dt){1&Qe&&D.NdJ("focus",function(){return Dt.focus()}),2&Qe&&(D.uIk("aria-label",null)("aria-labelledby",null)("id",Dt.id)("name",null),D.ekj("mat-button-toggle-standalone",!Dt.buttonToggleGroup)("mat-button-toggle-checked",Dt.checked)("mat-button-toggle-disabled",Dt.disabled)("mat-button-toggle-appearance-standard","standard"===Dt.appearance))},inputs:{disableRipple:"disableRipple",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",appearance:"appearance",checked:"checked",disabled:"disabled"},outputs:{change:"change"},exportAs:["matButtonToggle"],features:[D.qOj],ngContentSelectors:["*"],decls:6,vars:9,consts:[["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"id","disabled","click"],["button",""],[1,"mat-button-toggle-label-content"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(Qe,Dt){if(1&Qe&&(D.F$t(),D.TgZ(0,"button",0,1),D.NdJ("click",function(){return Dt._onButtonClick()}),D.TgZ(2,"span",2),D.Hsn(3),D.qZA()(),D._UZ(4,"span",3)(5,"span",4)),2&Qe){const xi=D.MAs(1);D.Q6J("id",Dt.buttonId)("disabled",Dt.disabled||null),D.uIk("tabindex",Dt.disabled?-1:Dt.tabIndex)("aria-pressed",Dt.checked)("name",Dt._getButtonName())("aria-label",Dt.ariaLabel)("aria-labelledby",Dt.ariaLabelledby),D.xp6(5),D.Q6J("matRippleTrigger",xi)("matRippleDisabled",Dt.disableRipple||Dt.disabled)}},dependencies:[ki.wG],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;border-radius:2px;-webkit-tap-highlight-color:rgba(0,0,0,0);transform:translateZ(0)}.cdk-high-contrast-active .mat-button-toggle-standalone,.cdk-high-contrast-active .mat-button-toggle-group{outline:solid 1px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:4px}.cdk-high-contrast-active .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.cdk-high-contrast-active .mat-button-toggle-group-appearance-standard{outline:0}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:1}.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{opacity:.04}.mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:.12}@media(hover: none){.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;line-height:36px;padding:0 16px;position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0}.cdk-high-contrast-active .mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 36px;opacity:.5;height:0}.cdk-high-contrast-active .mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.cdk-high-contrast-active .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}"],encapsulation:2,changeDetection:0});class Kn{}Kn.\u0275fac=function(Qe){return new(Qe||Kn)},Kn.\u0275mod=D.oAB({type:Kn}),Kn.\u0275inj=D.cJS({imports:[ki.BQ,ki.si,ki.BQ]});var Ua=f(2156),br=f(4792),Ot=f(2298),Wt=f(3012),ui=f(2642),Ti=f(7822),$i=f(1267),Hi=f(6517),cn=f(8589),aa=f(6060),Ln=f(1294),ea=f(1708),Dn=f(2922),Jn=f(7371),Ia=f(6643),Gn=f(4714),Pa=f(2867),qn=f(9107),Ra=f(9295),yr=f(253);const wa=["knob"],hr=["valueIndicatorContainer"];function Vn(mi,Qe){if(1&mi&&(D.TgZ(0,"div",4,5)(2,"div",6)(3,"span",7),D._uU(4),D.qZA()()()),2&mi){const Dt=D.oxw();D.xp6(4),D.Oqu(Dt.valueIndicatorText)}}const va=["trackActive"];function ra(mi,Qe){if(1&mi&&D._UZ(0,"div"),2&mi){const Dt=Qe.$implicit,xi=Qe.index,Ki=D.oxw(3);D.Tol(0===Dt?"mdc-slider__tick-mark--active":"mdc-slider__tick-mark--inactive"),D.Udp("transform",Ki._calcTickMarkTransform(xi))}}function us(mi,Qe){if(1&mi&&(D.ynx(0),D.YNc(1,ra,1,4,"div",11),D.BQk()),2&mi){const Dt=D.oxw(2);D.xp6(1),D.Q6J("ngForOf",Dt._tickMarks)}}function Ba(mi,Qe){if(1&mi&&(D.TgZ(0,"div",8,9),D.YNc(2,us,2,1,"ng-container",10),D.qZA()),2&mi){const Dt=D.oxw();D.xp6(2),D.Q6J("ngIf",Dt._cachedWidth)}}function Jo(mi,Qe){if(1&mi&&D._UZ(0,"mat-slider-visual-thumb",7),2&mi){const Dt=D.oxw();D.Q6J("discrete",Dt.discrete)("thumbPosition",1)("valueIndicatorText",Dt.startValueIndicatorText)}}const jn=new D.OlP("_MatSlider"),jr=new D.OlP("_MatSliderThumb"),Na=new D.OlP("_MatSliderRangeThumb"),Oo=new D.OlP("_MatSliderVisualThumb");class Sr{constructor(Qe,Dt,xi,Ki){this._cdr=Qe,this._ngZone=Dt,this._slider=Ki,this._isHovered=!1,this._isActive=!1,this._isValueIndicatorVisible=!1,this._onPointerMove=wn=>{if(this._sliderInput._isFocused)return;const Qi=this._hostElement.getBoundingClientRect(),sa=this._isSliderThumbHovered(wn,Qi);this._isHovered=sa,sa?this._showHoverRipple():this._hideRipple(this._hoverRippleRef)},this._onMouseLeave=()=>{this._isHovered=!1,this._hideRipple(this._hoverRippleRef)},this._onFocus=()=>{this._hideRipple(this._hoverRippleRef),this._showFocusRipple(),this._hostElement.classList.add("mdc-slider__thumb--focused")},this._onBlur=()=>{this._isActive||this._hideRipple(this._focusRippleRef),this._isHovered&&this._showHoverRipple(),this._hostElement.classList.remove("mdc-slider__thumb--focused")},this._onDragStart=()=>{this._isActive=!0,this._showActiveRipple()},this._onDragEnd=()=>{this._isActive=!1,this._hideRipple(this._activeRippleRef),this._sliderInput._isFocused||this._hideRipple(this._focusRippleRef)},this._hostElement=xi.nativeElement}ngAfterViewInit(){this._ripple.radius=24,this._sliderInput=this._slider._getInput(this.thumbPosition),this._sliderInputEl=this._sliderInput._hostElement;const Qe=this._sliderInputEl;this._ngZone.runOutsideAngular(()=>{Qe.addEventListener("pointermove",this._onPointerMove),Qe.addEventListener("pointerdown",this._onDragStart),Qe.addEventListener("pointerup",this._onDragEnd),Qe.addEventListener("pointerleave",this._onMouseLeave),Qe.addEventListener("focus",this._onFocus),Qe.addEventListener("blur",this._onBlur)})}ngOnDestroy(){const Qe=this._sliderInputEl;Qe.removeEventListener("pointermove",this._onPointerMove),Qe.removeEventListener("pointerdown",this._onDragStart),Qe.removeEventListener("pointerup",this._onDragEnd),Qe.removeEventListener("pointerleave",this._onMouseLeave),Qe.removeEventListener("focus",this._onFocus),Qe.removeEventListener("blur",this._onBlur)}_showHoverRipple(){this._isShowingRipple(this._hoverRippleRef)||(this._hoverRippleRef=this._showRipple({enterDuration:0,exitDuration:0}),this._hoverRippleRef?.element.classList.add("mat-mdc-slider-hover-ripple"))}_showFocusRipple(){this._isShowingRipple(this._focusRippleRef)||(this._focusRippleRef=this._showRipple({enterDuration:0,exitDuration:0},!0),this._focusRippleRef?.element.classList.add("mat-mdc-slider-focus-ripple"))}_showActiveRipple(){this._isShowingRipple(this._activeRippleRef)||(this._activeRippleRef=this._showRipple({enterDuration:225,exitDuration:400}),this._activeRippleRef?.element.classList.add("mat-mdc-slider-active-ripple"))}_isShowingRipple(Qe){return 0===Qe?.state||1===Qe?.state}_showRipple(Qe,Dt){if(!this._slider.disabled&&(this._showValueIndicator(),this._slider._isRange&&this._slider._getThumb(1===this.thumbPosition?2:1)._showValueIndicator(),!this._slider._globalRippleOptions?.disabled||Dt))return this._ripple.launch({animation:this._slider._noopAnimations?{enterDuration:0,exitDuration:0}:Qe,centered:!0,persistent:!0})}_hideRipple(Qe){if(Qe?.fadeOut(),this._isShowingAnyRipple())return;this._slider._isRange||this._hideValueIndicator();const Dt=this._getSibling();Dt._isShowingAnyRipple()||(this._hideValueIndicator(),Dt._hideValueIndicator())}_showValueIndicator(){this._hostElement.classList.add("mdc-slider__thumb--with-indicator")}_hideValueIndicator(){this._hostElement.classList.remove("mdc-slider__thumb--with-indicator")}_getSibling(){return this._slider._getThumb(1===this.thumbPosition?2:1)}_getValueIndicatorContainer(){return this._valueIndicatorContainer?.nativeElement}_getKnob(){return this._knob.nativeElement}_isShowingAnyRipple(){return this._isShowingRipple(this._hoverRippleRef)||this._isShowingRipple(this._focusRippleRef)||this._isShowingRipple(this._activeRippleRef)}_isSliderThumbHovered(Qe,Dt){const xi=Dt.width/2,Ki=Dt.x+xi,wn=Dt.y+xi,Qi=Qe.clientX-Ki,sa=Qe.clientY-wn;return Math.pow(Qi,2)+Math.pow(sa,2)<Math.pow(xi,2)}}Sr.\u0275fac=function(Qe){return new(Qe||Sr)(D.Y36(D.sBO),D.Y36(D.R0b),D.Y36(D.SBq),D.Y36(jn))},Sr.\u0275cmp=D.Xpm({type:Sr,selectors:[["mat-slider-visual-thumb"]],viewQuery:function(Qe,Dt){if(1&Qe&&(D.Gf(ki.wG,5),D.Gf(wa,5),D.Gf(hr,5)),2&Qe){let xi;D.iGM(xi=D.CRH())&&(Dt._ripple=xi.first),D.iGM(xi=D.CRH())&&(Dt._knob=xi.first),D.iGM(xi=D.CRH())&&(Dt._valueIndicatorContainer=xi.first)}},hostAttrs:[1,"mdc-slider__thumb","mat-mdc-slider-visual-thumb"],inputs:{discrete:"discrete",thumbPosition:"thumbPosition",valueIndicatorText:"valueIndicatorText"},features:[D._Bn([{provide:Oo,useExisting:Sr}])],decls:4,vars:2,consts:[["class","mdc-slider__value-indicator-container",4,"ngIf"],[1,"mdc-slider__thumb-knob"],["knob",""],["matRipple","",1,"mat-mdc-focus-indicator",3,"matRippleDisabled"],[1,"mdc-slider__value-indicator-container"],["valueIndicatorContainer",""],[1,"mdc-slider__value-indicator"],[1,"mdc-slider__value-indicator-text"]],template:function(Qe,Dt){1&Qe&&(D.YNc(0,Vn,5,1,"div",0),D._UZ(1,"div",1,2)(3,"div",3)),2&Qe&&(D.Q6J("ngIf",Dt.discrete),D.xp6(3),D.Q6J("matRippleDisabled",!0))},dependencies:[e.O5,ki.wG],styles:[".mat-mdc-slider-visual-thumb .mat-ripple{height:100%;width:100%}.mat-mdc-slider .mdc-slider__tick-marks{justify-content:start}.mat-mdc-slider .mdc-slider__tick-marks .mdc-slider__tick-mark--active,.mat-mdc-slider .mdc-slider__tick-marks .mdc-slider__tick-mark--inactive{position:absolute;left:2px}"],encapsulation:2,changeDetection:0});const Za=(0,ki.pj)((0,ki.Kr)(class{constructor(mi){this._elementRef=mi}}),"primary");class ir extends Za{constructor(Qe,Dt,xi,Ki,wn,Qi,sa){super(Ki),this._ngZone=Qe,this._cdr=Dt,this._platform=xi,this._dir=wn,this._globalRippleOptions=Qi,this._disabled=!1,this._discrete=!1,this._showTickMarks=!1,this._min=0,this._max=100,this._step=0,this.displayWith=Fr=>`${Fr}`,this._rippleRadius=24,this.startValueIndicatorText="",this.endValueIndicatorText="",this._isRange=!1,this._isRtl=!1,this._hasViewInitialized=!1,this._tickMarkTrackWidth=0,this._hasAnimation=!1,this._resizeTimer=null,this._knobRadius=8,this._thumbsOverlap=!1,this._noopAnimations="NoopAnimations"===sa,this._dirChangeSubscription=this._dir.change.subscribe(()=>this._onDirChange()),this._isRtl="rtl"===this._dir.value}get disabled(){return this._disabled}set disabled(Qe){this._disabled=(0,L.Ig)(Qe);const Dt=this._getInput(2),xi=this._getInput(1);Dt&&(Dt.disabled=this._disabled),xi&&(xi.disabled=this._disabled)}get discrete(){return this._discrete}set discrete(Qe){this._discrete=(0,L.Ig)(Qe),this._updateValueIndicatorUIs()}get showTickMarks(){return this._showTickMarks}set showTickMarks(Qe){this._showTickMarks=(0,L.Ig)(Qe)}get min(){return this._min}set min(Qe){const Dt=(0,L.su)(Qe,this._min);this._min!==Dt&&this._updateMin(Dt)}_updateMin(Qe){const Dt=this._min;this._min=Qe,this._isRange?this._updateMinRange({old:Dt,new:Qe}):this._updateMinNonRange(Qe),this._onMinMaxOrStepChange()}_updateMinRange(Qe){const Dt=this._getInput(2),xi=this._getInput(1),Ki=Dt.value,wn=xi.value;xi.min=Qe.new,Dt.min=Math.max(Qe.new,xi.value),xi.max=Math.min(Dt.max,Dt.value),xi._updateWidthInactive(),Dt._updateWidthInactive(),Qe.new<Qe.old?this._onTranslateXChangeBySideEffect(Dt,xi):this._onTranslateXChangeBySideEffect(xi,Dt),Ki!==Dt.value&&this._onValueChange(Dt),wn!==xi.value&&this._onValueChange(xi)}_updateMinNonRange(Qe){const Dt=this._getInput(2);if(Dt){const xi=Dt.value;Dt.min=Qe,Dt._updateThumbUIByValue(),this._updateTrackUI(Dt),xi!==Dt.value&&this._onValueChange(Dt)}}get max(){return this._max}set max(Qe){const Dt=(0,L.su)(Qe,this._max);this._max!==Dt&&this._updateMax(Dt)}_updateMax(Qe){const Dt=this._max;this._max=Qe,this._isRange?this._updateMaxRange({old:Dt,new:Qe}):this._updateMaxNonRange(Qe),this._onMinMaxOrStepChange()}_updateMaxRange(Qe){const Dt=this._getInput(2),xi=this._getInput(1),Ki=Dt.value,wn=xi.value;Dt.max=Qe.new,xi.max=Math.min(Qe.new,Dt.value),Dt.min=xi.value,Dt._updateWidthInactive(),xi._updateWidthInactive(),Qe.new>Qe.old?this._onTranslateXChangeBySideEffect(xi,Dt):this._onTranslateXChangeBySideEffect(Dt,xi),Ki!==Dt.value&&this._onValueChange(Dt),wn!==xi.value&&this._onValueChange(xi)}_updateMaxNonRange(Qe){const Dt=this._getInput(2);if(Dt){const xi=Dt.value;Dt.max=Qe,Dt._updateThumbUIByValue(),this._updateTrackUI(Dt),xi!==Dt.value&&this._onValueChange(Dt)}}get step(){return this._step}set step(Qe){const Dt=(0,L.su)(Qe,this._step);this._step!==Dt&&this._updateStep(Dt)}_updateStep(Qe){this._step=Qe,this._isRange?this._updateStepRange():this._updateStepNonRange(),this._onMinMaxOrStepChange()}_updateStepRange(){const Qe=this._getInput(2),Dt=this._getInput(1),xi=Qe.value,Ki=Dt.value,wn=Dt.value;Qe.min=this._min,Dt.max=this._max,Qe.step=this._step,Dt.step=this._step,this._platform.SAFARI&&(Qe.value=Qe.value,Dt.value=Dt.value),Qe.min=Math.max(this._min,Dt.value),Dt.max=Math.min(this._max,Qe.value),Dt._updateWidthInactive(),Qe._updateWidthInactive(),Qe.value<wn?this._onTranslateXChangeBySideEffect(Dt,Qe):this._onTranslateXChangeBySideEffect(Qe,Dt),xi!==Qe.value&&this._onValueChange(Qe),Ki!==Dt.value&&this._onValueChange(Dt)}_updateStepNonRange(){const Qe=this._getInput(2);if(Qe){const Dt=Qe.value;Qe.step=this._step,this._platform.SAFARI&&(Qe.value=Qe.value),Qe._updateThumbUIByValue(),Dt!==Qe.value&&this._onValueChange(Qe)}}ngAfterViewInit(){this._platform.isBrowser&&this._updateDimensions();const Qe=this._getInput(2),Dt=this._getInput(1);this._isRange=!!Qe&&!!Dt,this._cdr.detectChanges();const xi=this._getThumb(2);this._rippleRadius=xi._ripple.radius,this._inputPadding=this._rippleRadius-this._knobRadius,this._inputOffset=this._knobRadius,this._isRange?this._initUIRange(Qe,Dt):this._initUINonRange(Qe),this._updateTrackUI(Qe),this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._observeHostResize(),this._cdr.detectChanges()}_initUINonRange(Qe){Qe.initProps(),Qe.initUI(),this._updateValueIndicatorUI(Qe),this._hasViewInitialized=!0,Qe._updateThumbUIByValue()}_initUIRange(Qe,Dt){Qe.initProps(),Qe.initUI(),Dt.initProps(),Dt.initUI(),Qe._updateMinMax(),Dt._updateMinMax(),Qe._updateStaticStyles(),Dt._updateStaticStyles(),this._updateValueIndicatorUIs(),this._hasViewInitialized=!0,Qe._updateThumbUIByValue(),Dt._updateThumbUIByValue()}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._resizeObserver?.disconnect(),this._resizeObserver=null}_onDirChange(){this._isRtl="rtl"===this._dir.value,this._isRange?this._onDirChangeRange():this._onDirChangeNonRange(),this._updateTickMarkUI()}_onDirChangeRange(){const Qe=this._getInput(2),Dt=this._getInput(1);Qe._setIsLeftThumb(),Dt._setIsLeftThumb(),Qe.translateX=Qe._calcTranslateXByValue(),Dt.translateX=Dt._calcTranslateXByValue(),Qe._updateStaticStyles(),Dt._updateStaticStyles(),Qe._updateWidthInactive(),Dt._updateWidthInactive(),Qe._updateThumbUIByValue(),Dt._updateThumbUIByValue()}_onDirChangeNonRange(){this._getInput(2)._updateThumbUIByValue()}_observeHostResize(){typeof ResizeObserver>"u"||!ResizeObserver||this._ngZone.runOutsideAngular(()=>{this._resizeObserver=new ResizeObserver(()=>{this._isActive()||(this._resizeTimer&&clearTimeout(this._resizeTimer),this._onResize())}),this._resizeObserver.observe(this._elementRef.nativeElement)})}_isActive(){return this._getThumb(1)._isActive||this._getThumb(2)._isActive}_getValue(Qe=2){const Dt=this._getInput(Qe);return Dt?Dt.value:this.min}_skipUpdate(){return!(!this._getInput(1)?._skipUIUpdate&&!this._getInput(2)?._skipUIUpdate)}_updateDimensions(){this._cachedWidth=this._elementRef.nativeElement.offsetWidth,this._cachedLeft=this._elementRef.nativeElement.getBoundingClientRect().left}_setTrackActiveStyles(Qe){const Dt=this._trackActive.nativeElement.style,xi=Qe.left!==Dt.left&&Qe.right!==Dt.right;Dt.left=Qe.left,Dt.right=Qe.right,Dt.transformOrigin=Qe.transformOrigin,xi?(this._elementRef.nativeElement.classList.add("mat-mdc-slider-disable-track-animation"),this._ngZone.onStable.pipe((0,Ra.q)(1)).subscribe(()=>{this._elementRef.nativeElement.classList.remove("mat-mdc-slider-disable-track-animation"),Dt.transform=Qe.transform})):Dt.transform=Qe.transform}_calcTickMarkTransform(Qe){return`translateX(${Qe*(this._tickMarkTrackWidth/(this._tickMarks.length-1))}px`}_onTranslateXChange(Qe){!this._hasViewInitialized||(this._updateThumbUI(Qe),this._updateTrackUI(Qe),this._updateOverlappingThumbUI(Qe))}_onTranslateXChangeBySideEffect(Qe,Dt){!this._hasViewInitialized||(Qe._updateThumbUIByValue(),Dt._updateThumbUIByValue())}_onValueChange(Qe){!this._hasViewInitialized||(this._updateValueIndicatorUI(Qe),this._updateTickMarkUI(),this._cdr.detectChanges())}_onMinMaxOrStepChange(){!this._hasViewInitialized||(this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._cdr.markForCheck())}_onResize(){if(this._hasViewInitialized){if(this._updateDimensions(),this._isRange){const Qe=this._getInput(2),Dt=this._getInput(1);Qe._updateThumbUIByValue(),Dt._updateThumbUIByValue(),Qe._updateStaticStyles(),Dt._updateStaticStyles(),Qe._updateMinMax(),Dt._updateMinMax(),Qe._updateWidthInactive(),Dt._updateWidthInactive()}else{const Qe=this._getInput(2);Qe&&Qe._updateThumbUIByValue()}this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._cdr.detectChanges()}}_areThumbsOverlapping(){const Qe=this._getInput(1),Dt=this._getInput(2);return!(!Qe||!Dt)&&Dt.translateX-Qe.translateX<20}_updateOverlappingThumbClassNames(Qe){const Dt=Qe.getSibling(),xi=this._getThumb(Qe.thumbPosition);this._getThumb(Dt.thumbPosition)._hostElement.classList.remove("mdc-slider__thumb--top"),xi._hostElement.classList.toggle("mdc-slider__thumb--top",this._thumbsOverlap)}_updateOverlappingThumbUI(Qe){!this._isRange||this._skipUpdate()||this._thumbsOverlap!==this._areThumbsOverlapping()&&(this._thumbsOverlap=!this._thumbsOverlap,this._updateOverlappingThumbClassNames(Qe))}_updateThumbUI(Qe){if(this._skipUpdate())return;this._getThumb(2===Qe.thumbPosition?2:1)._hostElement.style.transform=`translateX(${Qe.translateX}px)`}_updateValueIndicatorUI(Qe){if(this._skipUpdate())return;const Dt=this.displayWith(Qe.value);if(this._hasViewInitialized?Qe._valuetext=Dt:Qe._hostElement.setAttribute("aria-valuetext",Dt),this.discrete){1===Qe.thumbPosition?this.startValueIndicatorText=Dt:this.endValueIndicatorText=Dt;const xi=this._getThumb(Qe.thumbPosition);Dt.length<3?xi._hostElement.classList.add("mdc-slider__thumb--short-value"):xi._hostElement.classList.remove("mdc-slider__thumb--short-value")}}_updateValueIndicatorUIs(){const Qe=this._getInput(2),Dt=this._getInput(1);Qe&&this._updateValueIndicatorUI(Qe),Dt&&this._updateValueIndicatorUI(Dt)}_updateTickMarkTrackUI(){if(this._skipUpdate())return;const Qe=this._step&&this._step>0?this._step:1,xi=(Math.floor(this.max/Qe)*Qe-this.min)/(this.max-this.min);this._tickMarkTrackWidth=this._cachedWidth*xi-6}_updateTrackUI(Qe){this._skipUpdate()||(this._isRange?this._updateTrackUIRange(Qe):this._updateTrackUINonRange(Qe))}_updateTrackUIRange(Qe){const Dt=Qe.getSibling();if(!Dt||!this._cachedWidth)return;const xi=Math.abs(Dt.translateX-Qe.translateX)/this._cachedWidth;Qe._isLeftThumb&&this._cachedWidth?this._setTrackActiveStyles({left:"auto",right:this._cachedWidth-Dt.translateX+"px",transformOrigin:"right",transform:`scaleX(${xi})`}):this._setTrackActiveStyles({left:`${Dt.translateX}px`,right:"auto",transformOrigin:"left",transform:`scaleX(${xi})`})}_updateTrackUINonRange(Qe){this._isRtl?this._setTrackActiveStyles({left:"auto",right:"0px",transformOrigin:"right",transform:`scaleX(${1-Qe.fillPercentage})`}):this._setTrackActiveStyles({left:"0px",right:"auto",transformOrigin:"left",transform:`scaleX(${Qe.fillPercentage})`})}_updateTickMarkUI(){if(void 0===this.step||void 0===this.min||void 0===this.max)return;const Qe=this.step>0?this.step:1;this._isRange?this._updateTickMarkUIRange(Qe):this._updateTickMarkUINonRange(Qe),this._isRtl&&this._tickMarks.reverse()}_updateTickMarkUINonRange(Qe){const Dt=this._getValue();let xi=Math.max(Math.round((Dt-this.min)/Qe),0),Ki=Math.max(Math.round((this.max-Dt)/Qe),0);this._isRtl?xi++:Ki++,this._tickMarks=Array(xi).fill(0).concat(Array(Ki).fill(1))}_updateTickMarkUIRange(Qe){const Dt=this._getValue(),xi=this._getValue(1),Ki=Math.max(Math.floor((xi-this.min)/Qe),0),wn=Math.max(Math.floor((Dt-xi)/Qe)+1,0),Qi=Math.max(Math.floor((this.max-Dt)/Qe),0);this._tickMarks=Array(Ki).fill(1).concat(Array(wn).fill(0),Array(Qi).fill(1))}_getInput(Qe){return 2===Qe&&this._input?this._input:this._inputs?.length?1===Qe?this._inputs.first:this._inputs.last:void 0}_getThumb(Qe){return 2===Qe?this._thumbs?.last:this._thumbs?.first}_setTransition(Qe){this._hasAnimation=Qe&&!this._noopAnimations,this._elementRef.nativeElement.classList.toggle("mat-mdc-slider-with-animation",this._hasAnimation)}}ir.\u0275fac=function(Qe){return new(Qe||ir)(D.Y36(D.R0b),D.Y36(D.sBO),D.Y36(qn.t4),D.Y36(D.SBq),D.Y36(Pa.Is,8),D.Y36(ki.Y2,8),D.Y36(D.QbO,8))},ir.\u0275cmp=D.Xpm({type:ir,selectors:[["mat-slider"]],contentQueries:function(Qe,Dt,xi){if(1&Qe&&(D.Suo(xi,jr,5),D.Suo(xi,Na,4)),2&Qe){let Ki;D.iGM(Ki=D.CRH())&&(Dt._input=Ki.first),D.iGM(Ki=D.CRH())&&(Dt._inputs=Ki)}},viewQuery:function(Qe,Dt){if(1&Qe&&(D.Gf(va,5),D.Gf(Oo,5)),2&Qe){let xi;D.iGM(xi=D.CRH())&&(Dt._trackActive=xi.first),D.iGM(xi=D.CRH())&&(Dt._thumbs=xi)}},hostAttrs:[1,"mat-mdc-slider","mdc-slider"],hostVars:10,hostBindings:function(Qe,Dt){2&Qe&&D.ekj("mdc-slider--range",Dt._isRange)("mdc-slider--disabled",Dt.disabled)("mdc-slider--discrete",Dt.discrete)("mdc-slider--tick-marks",Dt.showTickMarks)("_mat-animation-noopable",Dt._noopAnimations)},inputs:{color:"color",disableRipple:"disableRipple",disabled:"disabled",discrete:"discrete",showTickMarks:"showTickMarks",min:"min",max:"max",step:"step",displayWith:"displayWith"},exportAs:["matSlider"],features:[D._Bn([{provide:jn,useExisting:ir}]),D.qOj],ngContentSelectors:["*"],decls:9,vars:5,consts:[[1,"mdc-slider__track"],[1,"mdc-slider__track--inactive"],[1,"mdc-slider__track--active"],[1,"mdc-slider__track--active_fill"],["trackActive",""],["class","mdc-slider__tick-marks",4,"ngIf"],[3,"discrete","thumbPosition","valueIndicatorText",4,"ngIf"],[3,"discrete","thumbPosition","valueIndicatorText"],[1,"mdc-slider__tick-marks"],["tickMarkContainer",""],[4,"ngIf"],[3,"class","transform",4,"ngFor","ngForOf"]],template:function(Qe,Dt){1&Qe&&(D.F$t(),D.Hsn(0),D.TgZ(1,"div",0),D._UZ(2,"div",1),D.TgZ(3,"div",2),D._UZ(4,"div",3,4),D.qZA(),D.YNc(6,Ba,3,1,"div",5),D.qZA(),D.YNc(7,Jo,1,3,"mat-slider-visual-thumb",6),D._UZ(8,"mat-slider-visual-thumb",7)),2&Qe&&(D.xp6(6),D.Q6J("ngIf",Dt.showTickMarks),D.xp6(1),D.Q6J("ngIf",Dt._isRange),D.xp6(1),D.Q6J("discrete",Dt.discrete)("thumbPosition",2)("valueIndicatorText",Dt.endValueIndicatorText))},dependencies:[e.sg,e.O5,Sr],styles:['.mdc-slider{cursor:pointer;height:48px;margin:0 24px;position:relative;touch-action:pan-y}.mdc-slider .mdc-slider__track{position:absolute;top:50%;transform:translateY(-50%);width:100%}.mdc-slider .mdc-slider__track--active,.mdc-slider .mdc-slider__track--inactive{display:flex;height:100%;position:absolute;width:100%}.mdc-slider .mdc-slider__track--active{overflow:hidden;top:-1px}.mdc-slider .mdc-slider__track--active_fill{border-top:6px solid;box-sizing:border-box;height:100%;width:100%;position:relative;-webkit-transform-origin:left;transform-origin:left}[dir=rtl] .mdc-slider .mdc-slider__track--active_fill,.mdc-slider .mdc-slider__track--active_fill[dir=rtl]{-webkit-transform-origin:right;transform-origin:right}.mdc-slider .mdc-slider__track--inactive{left:0;top:0}.mdc-slider .mdc-slider__track--inactive::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-slider .mdc-slider__track--inactive::before{border-color:CanvasText}}.mdc-slider .mdc-slider__value-indicator-container{bottom:44px;left:var(--slider-value-indicator-container-left, 50%);pointer-events:none;position:absolute;right:var(--slider-value-indicator-container-right);transform:var(--slider-value-indicator-container-transform, translateX(-50%))}.mdc-slider .mdc-slider__value-indicator{transition:transform 100ms 0ms cubic-bezier(0.4, 0, 1, 1);align-items:center;border-radius:4px;display:flex;height:32px;padding:0 12px;transform:scale(0);transform-origin:bottom}.mdc-slider .mdc-slider__value-indicator::before{border-left:6px solid rgba(0,0,0,0);border-right:6px solid rgba(0,0,0,0);border-top:6px solid;bottom:-5px;content:"";height:0;left:var(--slider-value-indicator-caret-left, 50%);position:absolute;right:var(--slider-value-indicator-caret-right);transform:var(--slider-value-indicator-caret-transform, translateX(-50%));width:0}.mdc-slider .mdc-slider__value-indicator::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}@media screen and (forced-colors: active){.mdc-slider .mdc-slider__value-indicator::after{border-color:CanvasText}}.mdc-slider .mdc-slider__thumb--with-indicator .mdc-slider__value-indicator-container{pointer-events:auto}.mdc-slider .mdc-slider__thumb--with-indicator .mdc-slider__value-indicator{transition:transform 100ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale(1)}@media(prefers-reduced-motion){.mdc-slider .mdc-slider__value-indicator,.mdc-slider .mdc-slider__thumb--with-indicator .mdc-slider__value-indicator{transition:none}}.mdc-slider .mdc-slider__thumb{display:flex;left:-24px;outline:none;position:absolute;user-select:none;height:48px;width:48px}.mdc-slider .mdc-slider__thumb--top{z-index:1}.mdc-slider .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-style:solid;border-width:1px;box-sizing:content-box}.mdc-slider .mdc-slider__thumb-knob{box-sizing:border-box;left:50%;position:absolute;top:50%;transform:translate(-50%, -50%)}.mdc-slider .mdc-slider__tick-marks{align-items:center;box-sizing:border-box;display:flex;height:100%;justify-content:space-between;padding:0 1px;position:absolute;width:100%}.mdc-slider--discrete .mdc-slider__thumb,.mdc-slider--discrete .mdc-slider__track--active_fill{transition:transform 80ms ease}@media(prefers-reduced-motion){.mdc-slider--discrete .mdc-slider__thumb,.mdc-slider--discrete .mdc-slider__track--active_fill{transition:none}}.mdc-slider--disabled{cursor:auto}.mdc-slider--disabled .mdc-slider__thumb{pointer-events:none}.mdc-slider__input{cursor:pointer;left:0;margin:0;height:100%;opacity:0;pointer-events:none;position:absolute;top:0;width:100%}.mat-mdc-slider{display:inline-block;box-sizing:border-box;outline:none;vertical-align:middle;margin-left:8px;margin-right:8px;width:auto;min-width:112px;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-slider .mdc-slider__thumb-knob{background-color:var(--mdc-slider-handle-color, var(--mdc-theme-primary, #6200ee));border-color:var(--mdc-slider-handle-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slider .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-color:#fff}.mat-mdc-slider.mdc-slider--disabled .mdc-slider__thumb-knob{background-color:var(--mdc-slider-disabled-handle-color, var(--mdc-theme-on-surface, #000));border-color:var(--mdc-slider-disabled-handle-color, var(--mdc-theme-on-surface, #000))}.mat-mdc-slider.mdc-slider--disabled .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mat-mdc-slider.mdc-slider--disabled .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mat-mdc-slider.mdc-slider--disabled .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-color:#fff}.mat-mdc-slider .mdc-slider__thumb::before,.mat-mdc-slider .mdc-slider__thumb::after{background-color:var(--mdc-slider-handle-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slider .mdc-slider__thumb:hover::before,.mat-mdc-slider .mdc-slider__thumb.mdc-ripple-surface--hover::before{opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mat-mdc-slider .mdc-slider__thumb.mdc-ripple-upgraded--background-focused::before,.mat-mdc-slider .mdc-slider__thumb:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mat-mdc-slider .mdc-slider__thumb:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mat-mdc-slider .mdc-slider__thumb:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mat-mdc-slider .mdc-slider__thumb.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mat-mdc-slider .mdc-slider__track--active_fill{border-color:var(--mdc-slider-active-track-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slider.mdc-slider--disabled .mdc-slider__track--active_fill{border-color:var(--mdc-slider-disabled-active-track-color, var(--mdc-theme-on-surface, #000))}.mat-mdc-slider .mdc-slider__track--inactive{background-color:var(--mdc-slider-inactive-track-color, var(--mdc-theme-primary, #6200ee));opacity:.24}.mat-mdc-slider.mdc-slider--disabled .mdc-slider__track--inactive{background-color:var(--mdc-slider-disabled-inactive-track-color, var(--mdc-theme-on-surface, #000));opacity:.24}.mat-mdc-slider .mdc-slider__tick-mark--active{background-color:var(--mdc-slider-with-tick-marks-active-container-color, var(--mdc-theme-on-primary, #fff));opacity:var(--mdc-slider-with-tick-marks-active-container-opacity, 0.6)}.mat-mdc-slider.mdc-slider--disabled .mdc-slider__tick-mark--active{background-color:var(--mdc-slider-with-tick-marks-active-container-color, var(--mdc-theme-on-primary, #fff));opacity:var(--mdc-slider-with-tick-marks-active-container-opacity, 0.6)}.mat-mdc-slider .mdc-slider__tick-mark--inactive{background-color:var(--mdc-slider-with-tick-marks-inactive-container-color, var(--mdc-theme-primary, #6200ee));opacity:var(--mdc-slider-with-tick-marks-inactive-container-opacity, 0.6)}.mat-mdc-slider.mdc-slider--disabled .mdc-slider__tick-mark--inactive{background-color:var(--mdc-slider-with-tick-marks-disabled-container-color, var(--mdc-theme-on-surface, #000));opacity:var(--mdc-slider-with-tick-marks-inactive-container-opacity, 0.6)}.mat-mdc-slider .mdc-slider__value-indicator{background-color:var(--mdc-slider-label-container-color, #666666);opacity:1}.mat-mdc-slider .mdc-slider__value-indicator::before{border-top-color:var(--mdc-slider-label-container-color, #666666)}.mat-mdc-slider .mdc-slider__value-indicator{color:var(--mdc-slider-label-label-text-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slider .mdc-slider__track{height:var(--mdc-slider-inactive-track-height, 4px)}.mat-mdc-slider .mdc-slider__track--active{height:var(--mdc-slider-active-track-height, 6px)}.mat-mdc-slider .mdc-slider__track--inactive{height:var(--mdc-slider-inactive-track-height, 4px)}.mat-mdc-slider .mdc-slider__tick-mark--active,.mat-mdc-slider .mdc-slider__tick-mark--inactive{height:var(--mdc-slider-with-tick-marks-container-size, 2px);width:var(--mdc-slider-with-tick-marks-container-size, 2px)}.mat-mdc-slider.mdc-slider--disabled{opacity:0.38}.mat-mdc-slider .mdc-slider__value-indicator-text{letter-spacing:var(--mdc-slider-label-label-text-tracking, 0.0071428571em);font-size:var(--mdc-slider-label-label-text-font-size, 0.875rem);font-family:var(--mdc-slider-label-label-text-font, Roboto, sans-serif);font-weight:var(--mdc-slider-label-label-text-weight, 500);line-height:var(--mdc-slider-label-label-text-line-height, 1.375rem)}.mat-mdc-slider .mdc-slider__track--active{border-radius:var(--mdc-slider-active-track-shape, 9999px)}.mat-mdc-slider .mdc-slider__track--inactive{border-radius:var(--mdc-slider-inactive-track-shape, 9999px)}.mat-mdc-slider .mdc-slider__thumb-knob{border-radius:var(--mdc-slider-handle-shape, 50%);width:var(--mdc-slider-handle-width, 20px);height:var(--mdc-slider-handle-height, 20px);border-style:solid;border-width:calc(var(--mdc-slider-handle-height, 20px) / 2) calc(var(--mdc-slider-handle-width, 20px) / 2)}.mat-mdc-slider .mdc-slider__tick-mark--active,.mat-mdc-slider .mdc-slider__tick-mark--inactive{border-radius:var(--mdc-slider-with-tick-marks-container-shape, 50%)}.mat-mdc-slider .mdc-slider__thumb-knob{box-shadow:var(--mdc-slider-handle-elevation, 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-slider .mdc-slider__thumb:hover .mdc-slider__thumb-knob{background-color:var(--mdc-slider-hover-handle-color, var(--mdc-theme-primary, #6200ee));border-color:var(--mdc-slider-hover-handle-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slider .mdc-slider__thumb:hover .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb:hover .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb:hover .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-color:#fff}.mat-mdc-slider .mdc-slider__thumb--focused .mdc-slider__thumb-knob{background-color:var(--mdc-slider-focus-handle-color, var(--mdc-theme-primary, #6200ee));border-color:var(--mdc-slider-focus-handle-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slider .mdc-slider__thumb--focused .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb--focused .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb--focused .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-color:#fff}.mat-mdc-slider .mdc-slider__thumb:not(:disabled):active .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb:not(:disabled):active .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb:not(:disabled):active .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-color:#fff}.mat-mdc-slider .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-color:var(--mdc-slider-with-overlap-handle-outline-color, #fff);border-width:var(--mdc-slider-with-overlap-handle-outline-width, 1px)}.mat-mdc-slider .mdc-slider__input{pointer-events:auto}.mat-mdc-slider .mdc-slider__input.mat-mdc-slider-input-no-pointer-events{pointer-events:none}.mat-mdc-slider .mdc-slider__input.mat-slider__right-input{left:auto;right:0}.mat-mdc-slider .mdc-slider__thumb,.mat-mdc-slider .mdc-slider__track--active_fill{transition-duration:0ms}.mat-mdc-slider.mat-mdc-slider-with-animation .mdc-slider__thumb,.mat-mdc-slider.mat-mdc-slider-with-animation .mdc-slider__track--active_fill{transition-duration:80ms}.mat-mdc-slider.mat-mdc-slider-with-animation.mat-mdc-slider-disable-track-animation .mdc-slider__track--active_fill{transition-duration:0ms}.mat-mdc-slider.mdc-slider--discrete .mdc-slider__thumb,.mat-mdc-slider.mdc-slider--discrete .mdc-slider__track--active_fill{transition-duration:0ms}.mat-mdc-slider.mat-mdc-slider-with-animation .mdc-slider__thumb,.mat-mdc-slider.mat-mdc-slider-with-animation .mdc-slider__track--active_fill{transition-duration:80ms}.mat-mdc-slider.mat-mdc-slider-with-animation.mat-mdc-slider-disable-track-animation .mdc-slider__track--active_fill{transition-duration:0ms}.mat-mdc-slider .mdc-slider__track,.mat-mdc-slider .mdc-slider__thumb{pointer-events:none}.mat-mdc-slider .mdc-slider__value-indicator{opacity:var(--mat-mdc-slider-value-indicator-opacity, 1)}.mat-mdc-slider .mat-ripple .mat-ripple-element{background-color:var(--mat-mdc-slider-ripple-color, transparent)}.mat-mdc-slider .mat-ripple .mat-mdc-slider-hover-ripple{background-color:var(--mat-mdc-slider-hover-ripple-color, transparent)}.mat-mdc-slider .mat-ripple .mat-mdc-slider-focus-ripple,.mat-mdc-slider .mat-ripple .mat-mdc-slider-active-ripple{background-color:var(--mat-mdc-slider-focus-ripple-color, transparent)}.mat-mdc-slider._mat-animation-noopable.mdc-slider--discrete .mdc-slider__thumb,.mat-mdc-slider._mat-animation-noopable.mdc-slider--discrete .mdc-slider__track--active_fill,.mat-mdc-slider._mat-animation-noopable .mdc-slider__value-indicator{transition:none}.mat-mdc-slider .mat-mdc-focus-indicator::before{border-radius:50%}.mdc-slider__thumb--focused .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});const So={provide:_.JU,useExisting:(0,D.Gpc)(()=>$a),multi:!0},ur={provide:_.JU,useExisting:(0,D.Gpc)(()=>so),multi:!0};class $a{constructor(Qe,Dt,xi,Ki){this._ngZone=Qe,this._elementRef=Dt,this._cdr=xi,this._slider=Ki,this.valueChange=new D.vpe,this.dragStart=new D.vpe,this.dragEnd=new D.vpe,this.thumbPosition=2,this._knobRadius=8,this._isActive=!1,this._isFocused=!1,this._hasSetInitialValue=!1,this._destroyed=new yr.x,this._skipUIUpdate=!1,this._onChangeFn=()=>{},this._onTouchedFn=()=>{},this._hostElement=Dt.nativeElement,this._ngZone.runOutsideAngular(()=>{this._hostElement.addEventListener("pointerdown",this._onPointerDown.bind(this)),this._hostElement.addEventListener("pointermove",this._onPointerMove.bind(this)),this._hostElement.addEventListener("pointerup",this._onPointerUp.bind(this))})}get value(){return(0,L.su)(this._hostElement.value)}set value(Qe){const Dt=(0,L.su)(Qe).toString();this._hasSetInitialValue?this._isActive||(this._hostElement.value=Dt,this._updateThumbUIByValue(),this._slider._onValueChange(this),this._cdr.detectChanges()):this._initialValue=Dt}get translateX(){return this._slider.min>=this._slider.max?(this._translateX=0,this._translateX):(void 0===this._translateX&&(this._translateX=this._calcTranslateXByValue()),this._translateX)}set translateX(Qe){this._translateX=Qe}get min(){return(0,L.su)(this._hostElement.min)}set min(Qe){this._hostElement.min=(0,L.su)(Qe).toString(),this._cdr.detectChanges()}get max(){return(0,L.su)(this._hostElement.max)}set max(Qe){this._hostElement.max=(0,L.su)(Qe).toString(),this._cdr.detectChanges()}get step(){return(0,L.su)(this._hostElement.step)}set step(Qe){this._hostElement.step=(0,L.su)(Qe).toString(),this._cdr.detectChanges()}get disabled(){return(0,L.Ig)(this._hostElement.disabled)}set disabled(Qe){this._hostElement.disabled=(0,L.Ig)(Qe),this._cdr.detectChanges(),this._slider.disabled!==this.disabled&&(this._slider.disabled=this.disabled)}get percentage(){return this._slider.min>=this._slider.max?this._slider._isRtl?1:0:(this.value-this._slider.min)/(this._slider.max-this._slider.min)}get fillPercentage(){return this._slider._cachedWidth?0===this._translateX?0:this.translateX/this._slider._cachedWidth:this._slider._isRtl?1:0}_setIsFocused(Qe){this._isFocused=Qe}ngOnDestroy(){this._hostElement.removeEventListener("pointerdown",this._onPointerDown),this._hostElement.removeEventListener("pointermove",this._onPointerMove),this._hostElement.removeEventListener("pointerup",this._onPointerUp),this._destroyed.next(),this._destroyed.complete(),this.dragStart.complete(),this.dragEnd.complete()}initProps(){this._updateWidthInactive(),this.disabled!==this._slider.disabled&&(this._slider.disabled=!0),this.step=this._slider.step,this.min=this._slider.min,this.max=this._slider.max,this._initValue()}initUI(){this._updateThumbUIByValue()}_initValue(){this._hasSetInitialValue=!0,void 0===this._initialValue?this.value=this._getDefaultValue():(this._hostElement.value=this._initialValue,this._updateThumbUIByValue(),this._slider._onValueChange(this),this._cdr.detectChanges())}_getDefaultValue(){return this.min}_onBlur(){this._setIsFocused(!1),this._onTouchedFn()}_onFocus(){this._setIsFocused(!0)}_onChange(){this._isActive&&this._updateThumbUIByValue({withAnimation:!0})}_onInput(){this.valueChange.emit(this.value),this._onChangeFn(this.value),(this._slider.step||!this._isActive)&&this._updateThumbUIByValue({withAnimation:!0}),this._slider._onValueChange(this)}_onNgControlValueChange(){(!this._isActive||!this._isFocused)&&(this._slider._onValueChange(this),this._updateThumbUIByValue()),this._slider.disabled=this._formControl.disabled}_onPointerDown(Qe){this.disabled||0!==Qe.button||(this._isActive=!0,this._setIsFocused(!0),this._updateWidthActive(),this._slider._updateDimensions(),this._slider.step||this._updateThumbUIByPointerEvent(Qe,{withAnimation:!0}),this.disabled||this._handleValueCorrection(Qe))}_handleValueCorrection(Qe){this._skipUIUpdate=!0,setTimeout(()=>{this._skipUIUpdate=!1,this._fixValue(Qe)},0)}_fixValue(Qe){const Dt=Qe.clientX-this._slider._cachedLeft,xi=this._slider._cachedWidth,Ki=0===this._slider.step?1:this._slider.step,wn=Math.floor((this._slider.max-this._slider.min)/Ki),Qi=this._slider._isRtl?1-Dt/xi:Dt/xi,Fr=Math.round(Qi*wn)/wn*(this._slider.max-this._slider.min)+this._slider.min,Et=Math.round(Fr/Ki)*Ki,ge=this.value,pt={source:this,parent:this._slider,value:Et};if(this._isActive?this.dragStart.emit(pt):this.dragEnd.emit(pt),Et===ge)return this._slider._onValueChange(this),void(this._slider.step>0?this._updateThumbUIByValue():this._updateThumbUIByPointerEvent(Qe,{withAnimation:this._slider._hasAnimation}));this.value=Et,this.valueChange.emit(this.value),this._onChangeFn(this.value),this._slider._onValueChange(this),this._slider.step>0?this._updateThumbUIByValue():this._updateThumbUIByPointerEvent(Qe,{withAnimation:this._slider._hasAnimation})}_onPointerMove(Qe){!this._slider.step&&this._isActive&&this._updateThumbUIByPointerEvent(Qe)}_onPointerUp(Qe){this._isActive=!1,this._updateWidthInactive(),this.disabled||this._handleValueCorrection(Qe)}_clamp(Qe){return Math.max(Math.min(Qe,this._slider._cachedWidth),0)}_calcTranslateXByValue(){return this._slider._isRtl?(1-this.percentage)*this._slider._cachedWidth:this.percentage*this._slider._cachedWidth}_calcTranslateXByPointerEvent(Qe){return Qe.clientX-this._slider._cachedLeft}_updateWidthActive(){this._hostElement.style.padding=`0 ${this._slider._inputPadding}px`,this._hostElement.style.width=`calc(100% + ${this._slider._inputPadding}px)`}_updateWidthInactive(){this._hostElement.style.padding="0px",this._hostElement.style.width="calc(100% + 48px)",this._hostElement.style.left="-24px"}_updateThumbUIByValue(Qe){this.translateX=this._clamp(this._calcTranslateXByValue()),this._updateThumbUI(Qe)}_updateThumbUIByPointerEvent(Qe,Dt){this.translateX=this._clamp(this._calcTranslateXByPointerEvent(Qe)),this._updateThumbUI(Dt)}_updateThumbUI(Qe){this._slider._setTransition(!!Qe?.withAnimation),this._slider._onTranslateXChange(this)}writeValue(Qe){this.value=Qe}registerOnChange(Qe){this._onChangeFn=Qe}registerOnTouched(Qe){this._onTouchedFn=Qe}setDisabledState(Qe){this.disabled=Qe}focus(){this._hostElement.focus()}blur(){this._hostElement.blur()}}$a.\u0275fac=function(Qe){return new(Qe||$a)(D.Y36(D.R0b),D.Y36(D.SBq),D.Y36(D.sBO),D.Y36(jn))},$a.\u0275dir=D.lG2({type:$a,selectors:[["input","matSliderThumb",""]],hostAttrs:["type","range",1,"mdc-slider__input"],hostVars:1,hostBindings:function(Qe,Dt){1&Qe&&D.NdJ("change",function(){return Dt._onChange()})("input",function(){return Dt._onInput()})("blur",function(){return Dt._onBlur()})("focus",function(){return Dt._onFocus()}),2&Qe&&D.uIk("aria-valuetext",Dt._valuetext)},inputs:{value:"value"},outputs:{valueChange:"valueChange",dragStart:"dragStart",dragEnd:"dragEnd"},exportAs:["matSliderThumb"],features:[D._Bn([So,{provide:jr,useExisting:$a}])]});class so extends $a{constructor(Qe,Dt,xi,Ki){super(Qe,xi,Ki,Dt),this._cdr=Ki,this._isEndThumb=this._hostElement.hasAttribute("matSliderEndThumb"),this._setIsLeftThumb(),this.thumbPosition=this._isEndThumb?2:1}getSibling(){return this._sibling||(this._sibling=this._slider._getInput(this._isEndThumb?1:2)),this._sibling}getMinPos(){const Qe=this.getSibling();return!this._isLeftThumb&&Qe?Qe.translateX:0}getMaxPos(){const Qe=this.getSibling();return this._isLeftThumb&&Qe?Qe.translateX:this._slider._cachedWidth}_setIsLeftThumb(){this._isLeftThumb=this._isEndThumb&&this._slider._isRtl||!this._isEndThumb&&!this._slider._isRtl}_getDefaultValue(){return this._isEndThumb&&this._slider._isRange?this.max:this.min}_onInput(){super._onInput(),this._updateSibling(),this._isActive||this._updateWidthInactive()}_onNgControlValueChange(){super._onNgControlValueChange(),this.getSibling()?._updateMinMax()}_onPointerDown(Qe){this.disabled||(this._sibling&&(this._sibling._updateWidthActive(),this._sibling._hostElement.classList.add("mat-mdc-slider-input-no-pointer-events")),super._onPointerDown(Qe))}_onPointerUp(Qe){super._onPointerUp(Qe),this._sibling&&(this._sibling._updateWidthInactive(),this._sibling._hostElement.classList.remove("mat-mdc-slider-input-no-pointer-events"))}_onPointerMove(Qe){super._onPointerMove(Qe),!this._slider.step&&this._isActive&&this._updateSibling()}_fixValue(Qe){super._fixValue(Qe),this._sibling?._updateMinMax()}_clamp(Qe){return Math.max(Math.min(Qe,this.getMaxPos()),this.getMinPos())}_updateMinMax(){const Qe=this.getSibling();!Qe||(this._isEndThumb?(this.min=Math.max(this._slider.min,Qe.value),this.max=this._slider.max):(this.min=this._slider.min,this.max=Math.min(this._slider.max,Qe.value)))}_updateWidthActive(){const Qe=2*this._slider._rippleRadius-2*this._slider._inputPadding,Ki=(this._slider._cachedWidth+this._slider._inputPadding-Qe)*(this._slider.min<this._slider.max?(this.max-this.min)/(this._slider.max-this._slider.min):1)+Qe;this._hostElement.style.width=`${Ki}px`,this._hostElement.style.padding=`0 ${this._slider._inputPadding}px`}_updateWidthInactive(){const Qe=this.getSibling();if(!Qe)return;const Dt=this._slider._cachedWidth,xi=this._isEndThumb?this.value-(this.value-Qe.value)/2:this.value+(Qe.value-this.value)/2,Ki=this._isEndThumb?(this.max-xi)/(this._slider.max-this._slider.min):(xi-this.min)/(this._slider.max-this._slider.min),Qi=Dt*(this._slider.min<this._slider.max?Ki:1)+24;this._hostElement.style.width=`${Qi}px`,this._hostElement.style.padding="0px",this._isLeftThumb?(this._hostElement.style.left="-24px",this._hostElement.style.right="auto"):(this._hostElement.style.left="auto",this._hostElement.style.right="-24px")}_updateStaticStyles(){this._hostElement.classList.toggle("mat-slider__right-input",!this._isLeftThumb)}_updateSibling(){const Qe=this.getSibling();!Qe||(Qe._updateMinMax(),this._isActive?Qe._updateWidthActive():Qe._updateWidthInactive())}writeValue(Qe){this.value=Qe,this._updateWidthInactive(),this._updateSibling()}}so.\u0275fac=function(Qe){return new(Qe||so)(D.Y36(D.R0b),D.Y36(jn),D.Y36(D.SBq),D.Y36(D.sBO))},so.\u0275dir=D.lG2({type:so,selectors:[["input","matSliderStartThumb",""],["input","matSliderEndThumb",""]],exportAs:["matSliderRangeThumb"],features:[D._Bn([ur,{provide:Na,useExisting:so}]),D.qOj]});class Xn{}Xn.\u0275fac=function(Qe){return new(Qe||Xn)},Xn.\u0275mod=D.oAB({type:Xn}),Xn.\u0275inj=D.cJS({imports:[ki.BQ,e.ez,ki.si]});var Ho=f(930),Da=f(2197),ko=f(4193),er=f(8711),Po=f(5892),nr=f(2543),xr=f(6896),oa=f(3453),Cr=f(1169),mr=f(8182),Uo=f(6021),Er=f(8822),ja=f(5895);class Qn extends ja.Xj{constructor(Qe,Dt){super(Qe,Dt)}_createContainer(){super._createContainer(),this._containerElement&&(document.querySelector("#rtl-container")||document.body).appendChild(this._containerElement)}ngOnDestroy(){super.ngOnDestroy()}static#e=this.\u0275fac=function(Dt){return new(Dt||Qn)(D.Y36(e.K0),D.Y36(qn.t4))};static#t=this.\u0275dir=D.lG2({type:Qn,features:[D.qOj]})}var Qa=f(5043),ar=f(7731),Mr=f(9445);const Nr={suppressScrollX:!1,suppressScrollY:!1};class ca extends ki.LF{constructor(Qe,Dt){super(Qe,Dt)}format(Qe,Dt){if("input"===Dt){let xi=Qe.getDate().toString();return xi=+xi<10?"0"+xi:xi,xi+"/"+ar.gg[Qe.getMonth()].name.toUpperCase()+"/"+Qe.getFullYear()}return ar.gg[Qe.getMonth()].name.toUpperCase()+" "+Qe.getFullYear()}static#e=this.\u0275fac=function(Dt){return new(Dt||ca)(D.LFG(ki.Ad,8),D.LFG(qn.t4))};static#t=this.\u0275prov=D.Yz7({token:ca,factory:ca.\u0275fac})}const tr={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"}}};class Ta{static#e=this.\u0275fac=function(Dt){return new(Dt||Ta)};static#t=this.\u0275mod=D.oAB({type:Ta});static#i=this.\u0275inj=D.cJS({providers:[{provide:Qa.mQ,useClass:Qa.LG},{provide:Er.op,useValue:Nr},{provide:Ho.Ve,useValue:{duration:2e3,verticalPosition:"bottom",panelClass:"rtl-snack-bar"}},{provide:Gi.Bq,useValue:{hasBackdrop:!0,autoFocus:!0,disableClose:!0,role:"dialog",width:"45%"}},{provide:ki._A,useClass:ca},{provide:ki.sG,useValue:tr},{provide:ja.Xj,useClass:Qn},e.JJ,e.rS,e.uU,Mr.al,Mr.h9,Mr.D3,Mr.i1],imports:[e.ez,_.u5,_.UX,l.uH,fi,Si.xu,Gi.Is,ke.ot,Kn,Ua.QW,br.p9,Wt.To,ui.N6,Ot.FA,ki.XK,Ti.Ps,$i.c,Hi.ie,cn.Tx,Ln.Cv,ea.Cq,Dn.Fk,oa.dp,Cr.Hi,Jn.LD,Ia.SJ,Gn.rP,Da.JX,er.p0,nr.g0,xr.AV,xe.g,aa.TU,ko.T5,Xn,Po.Nh,Ho.ZX,Qt.Bb,mr.a4,Uo.OF,t.Bz,S.JF,Er.Xd,_.u5,_.UX,l.uH,fi,Si.xu,Gi.Is,ke.ot,Kn,Ua.QW,br.p9,Wt.To,ui.N6,Ot.FA,ki.XK,Ti.Ps,$i.c,Hi.ie,cn.Tx,Ln.Cv,ea.Cq,Dn.Fk,oa.dp,Cr.Hi,Jn.LD,Ia.SJ,Gn.rP,Da.JX,er.p0,nr.g0,xr.AV,xe.g,aa.TU,ko.T5,Xn,Po.Nh,Ho.ZX,Qt.Bb,mr.a4,Uo.OF,Er.Xd]})}},7861:(Ge,X,f)=>{"use strict";f.d(X,{M6:()=>M,Q2:()=>I,QO:()=>h,Tm:()=>he,Uy:()=>re,XT:()=>ne,_V:()=>ve,ac:()=>P,c0:()=>o,c1:()=>k,dc:()=>v,ey:()=>te,fk:()=>_e,jS:()=>ae,jW:()=>d,kS:()=>i,lC:()=>S,qR:()=>L,qi:()=>l,tj:()=>z,ts:()=>D,tw:()=>Z,uO:()=>p,vI:()=>q,x4:()=>A,yb:()=>E,zQ:()=>le});var e=f(9263),t=f(7731);(0,e.PH)(t.pg.VOID);const S=(0,e.PH)(t.pg.SET_API_URL_ECL,(0,e.Ky)()),l=(0,e.PH)(t.pg.UPDATE_API_CALL_STATUS_ROOT,(0,e.Ky)()),D=(0,e.PH)(t.pg.CLOSE_ALL_DIALOGS),d=(0,e.PH)(t.pg.OPEN_SNACK_BAR,(0,e.Ky)()),P=(0,e.PH)(t.pg.OPEN_SPINNER,(0,e.Ky)()),p=(0,e.PH)(t.pg.CLOSE_SPINNER,(0,e.Ky)()),L=(0,e.PH)(t.pg.OPEN_ALERT,(0,e.Ky)()),M=(0,e.PH)(t.pg.CLOSE_ALERT,(0,e.Ky)()),k=(0,e.PH)(t.pg.OPEN_CONFIRMATION,(0,e.Ky)()),E=(0,e.PH)(t.pg.CLOSE_CONFIRMATION,(0,e.Ky)()),z=(0,e.PH)(t.pg.SHOW_PUBKEY),I=(0,e.PH)(t.pg.FETCH_CONFIG,(0,e.Ky)()),Z=((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)()),te=(0,e.PH)(t.pg.FETCH_RTL_CONFIG),ne=(0,e.PH)(t.pg.SET_RTL_CONFIG,(0,e.Ky)()),le=(0,e.PH)(t.pg.SAVE_SETTINGS,(0,e.Ky)()),re=(0,e.PH)(t.pg.TWO_FA_SAVE_SETTINGS,(0,e.Ky)()),_e=(0,e.PH)(t.pg.SET_SELECTED_NODE,(0,e.Ky)()),he=(0,e.PH)(t.pg.UPDATE_ROOT_NODE_SETTINGS,(0,e.Ky)()),ae=(0,e.PH)(t.pg.UPDATE_SERVICE_SETTINGS,(0,e.Ky)()),ve=(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)()),h=((0,e.PH)(t.pg.RESET_PASSWORD_RES,(0,e.Ky)()),(0,e.PH)(t.pg.IS_AUTHORIZED,(0,e.Ky)())),A=((0,e.PH)(t.pg.IS_AUTHORIZED_RES,(0,e.Ky)()),(0,e.PH)(t.pg.LOGIN,(0,e.Ky)())),v=((0,e.PH)(t.pg.VERIFY_TWO_FA,(0,e.Ky)()),(0,e.PH)(t.pg.FETCH_FILE,(0,e.Ky)()));(0,e.PH)(t.pg.SHOW_FILE,(0,e.Ky)())},3093:(Ge,X,f)=>{"use strict";f.d(X,{V:()=>di});var e=f(3599),t=f(253),_=f(745),S=f(833),l=f(1640),D=f(635),d=f(9295),P=f(538),p=f(9525),L=f(3158),M=f(8951),k=f(2340),E=f(7731),z=f(4481),I=f(2560),V=f(6722),Z=f(1708);class q{constructor(ci,ii){this.dialogRef=ci,this.data=ii}static#e=this.\u0275fac=function(ii){return new(ii||q)(I.Y36(z.so),I.Y36(z.WI))};static#t=this.\u0275cmp=I.Xpm({type:q,selectors:[["rtl-spinner-dialog"]],decls:4,vars:1,consts:[["fxLayout","column","fxLayoutAlign","center center",1,"spinner-container"],["color","primary","mode","indeterminate",1,"modal-spinner-message"]],template:function(ii,bi){1&ii&&(I.TgZ(0,"div",0),I._UZ(1,"mat-progress-spinner",1),I.TgZ(2,"h2"),I._uU(3),I.qZA()()),2&ii&&(I.xp6(3),I.Oqu(bi.data.titleMessage))},dependencies:[V.xw,V.Wh,Z.Ou]})}var te=f(5043),ne=f(930),le=f(62),re=f(4666),_e=f(3704),he=f(4522),ae=f(2156),ve=f(7822),T=f(1528),i=f(6021),o=f(8822),m=f(6895),h=f(3390);const y=["scrollContainer"];function A(ai,ci){if(1&ai&&I._UZ(0,"qr-code",15),2&ai){const ii=I.oxw();I.Q6J("value",ii.showQRField)("size",200)("errorCorrectionLevel","L")}}function R(ai,ci){1&ai&&I.GkF(0)}const v=function(ai){return{"h-40":ai}};function a(ai,ci){if(1&ai&&(I.ynx(0),I.TgZ(1,"mat-card-content",16,17),I.YNc(3,R,1,0,"ng-container",18),I.qZA(),I.BQk()),2&ai){const ii=I.oxw(),bi=I.MAs(20);I.xp6(1),I.Q6J("ngClass",I.VKq(2,v,ii.data.scrollable)),I.xp6(2),I.Q6J("ngTemplateOutlet",bi)}}function C(ai,ci){1&ai&&I.GkF(0)}function U(ai,ci){if(1&ai&&(I.ynx(0),I.TgZ(1,"mat-card-content",19),I.YNc(2,C,1,0,"ng-container",18),I.qZA(),I.BQk()),2&ai){I.oxw();const ii=I.MAs(20);I.xp6(2),I.Q6J("ngTemplateOutlet",ii)}}function N(ai,ci){1&ai&&(I.TgZ(0,"mat-icon",23),I._uU(1,"arrow_downward"),I.qZA())}function Q(ai,ci){1&ai&&(I.TgZ(0,"mat-icon",23),I._uU(1,"arrow_upward"),I.qZA())}function Pe(ai,ci){if(1&ai){const ii=I.EpF();I.TgZ(0,"div",20)(1,"button",21),I.NdJ("click",function(){I.CHM(ii);const Yi=I.oxw();return I.KtG(Yi.onScroll())}),I.YNc(2,N,2,0,"mat-icon",22),I.YNc(3,Q,2,0,"mat-icon",22),I.qZA()()}if(2&ai){const ii=I.oxw();I.xp6(2),I.Q6J("ngIf","DOWN"===ii.scrollDirection),I.xp6(1),I.Q6J("ngIf","UP"===ii.scrollDirection)}}function Le(ai,ci){1&ai&&(I.TgZ(0,"button",24),I._uU(1,"OK"),I.qZA()),2&ai&&I.Q6J("mat-dialog-close",!1)}function Ye(ai,ci){1&ai&&(I.TgZ(0,"button",25),I._uU(1,"Close"),I.qZA()),2&ai&&I.Q6J("mat-dialog-close",!1)}function $e(ai,ci){if(1&ai){const ii=I.EpF();I.TgZ(0,"button",26),I.NdJ("copied",function(Yi){I.CHM(ii);const _n=I.oxw();return I.KtG(_n.onCopyField(Yi))}),I._uU(1),I.qZA()}if(2&ai){const ii=I.oxw();I.Q6J("payload",ii.showCopyField),I.xp6(1),I.hij("Copy ",ii.showCopyName,"")}}function Ve(ai,ci){1&ai&&(I.TgZ(0,"button",25),I._uU(1,"Close"),I.qZA()),2&ai&&I.Q6J("mat-dialog-close",!1)}function be(ai,ci){if(1&ai){const ii=I.EpF();I.TgZ(0,"button",26),I.NdJ("copied",function(Yi){I.CHM(ii);const _n=I.oxw();return I.KtG(_n.onCopyField(Yi))}),I._uU(1),I.qZA()}if(2&ai){const ii=I.oxw();I.Q6J("payload",ii.showQRField),I.xp6(1),I.hij("Copy ",ii.showQRName,"")}}function et(ai,ci){if(1&ai&&I._UZ(0,"qr-code",15),2&ai){const ii=I.oxw(2);I.Q6J("value",ii.showQRField)("size",200)("errorCorrectionLevel","L")}}function je(ai,ci){if(1&ai&&(I.TgZ(0,"p",32),I._uU(1),I.qZA()),2&ai){const ii=I.oxw(2);I.xp6(1),I.Oqu(ii.data.titleMessage)}}function ye(ai,ci){if(1&ai&&I._UZ(0,"span",46),2&ai){const ii=ci.$implicit;I.Q6J("innerHTML",ii,I.oJD)}}function Te(ai,ci){if(1&ai&&(I.ynx(0),I.YNc(1,ye,1,1,"span",45),I.BQk()),2&ai){const ii=I.oxw(2).$implicit;I.xp6(1),I.Q6J("ngForOf",ii.value)}}function He(ai,ci){if(1&ai&&(I.ynx(0),I._uU(1),I.ALo(2,"date"),I.BQk()),2&ai){const ii=I.oxw(2).$implicit;I.xp6(1),I.Oqu(I.xi3(2,1,1e3*ii.value,"dd/MMM/y HH:mm"))}}function Ee(ai,ci){if(1&ai&&(I.ynx(0),I._uU(1),I.ALo(2,"number"),I.BQk()),2&ai){const ii=I.oxw(2).$implicit;I.xp6(1),I.Oqu(I.xi3(2,1,ii.value,ii.digitsInfo?ii.digitsInfo:"1.0-3"))}}function we(ai,ci){if(1&ai&&(I.ynx(0),I._uU(1),I.BQk()),2&ai){const ii=I.oxw(2).$implicit;I.xp6(1),I.Oqu(ii.value?"True":"False")}}function de(ai,ci){1&ai&&(I.TgZ(0,"mat-icon",51),I._uU(1,"info"),I.qZA())}const Me=function(ai){return{"failed-status":ai}};function ie(ai,ci){if(1&ai&&(I.TgZ(0,"p",49),I._uU(1),I.YNc(2,de,2,0,"mat-icon",50),I.qZA()),2&ai){const ii=I.oxw(3).$implicit,bi=I.oxw(4);I.Q6J("ngClass",I.VKq(3,Me,ii.value===bi.LoopStateEnum.FAILED)),I.xp6(1),I.hij(" ",ii.value," "),I.xp6(1),I.Q6J("ngIf",ii.value===bi.LoopStateEnum.FAILED)}}function G(ai,ci){if(1&ai&&I._uU(0),2&ai){const ii=I.oxw(3).$implicit;I.Oqu(ii.value)}}function $(ai,ci){if(1&ai&&(I.ynx(0),I.YNc(1,ie,3,5,"p",47),I.YNc(2,G,1,1,"ng-template",null,48,I.W1O),I.BQk()),2&ai){const ii=I.MAs(3),bi=I.oxw(2).$implicit,Yi=I.oxw(4);I.xp6(1),I.Q6J("ngIf","SWAP"===Yi.data.openedBy&&"state"===bi.key)("ngIfElse",ii)}}function ze(ai,ci){if(1&ai&&(I.TgZ(0,"span")(1,"span",42),I.YNc(2,Te,2,1,"ng-container",43),I.YNc(3,He,3,4,"ng-container",43),I.YNc(4,Ee,3,4,"ng-container",43),I.YNc(5,we,2,1,"ng-container",43),I.YNc(6,$,4,2,"ng-container",44),I.qZA()()),2&ai){const ii=I.oxw().$implicit,bi=I.oxw(4);I.xp6(1),I.Q6J("ngSwitch",ii.type),I.xp6(1),I.Q6J("ngSwitchCase",bi.dataTypeEnum.ARRAY),I.xp6(1),I.Q6J("ngSwitchCase",bi.dataTypeEnum.DATE_TIME),I.xp6(1),I.Q6J("ngSwitchCase",bi.dataTypeEnum.NUMBER),I.xp6(1),I.Q6J("ngSwitchCase",bi.dataTypeEnum.BOOLEAN)}}function Ue(ai,ci){1&ai&&(I.TgZ(0,"span",52),I._uU(1,"\xa0"),I.qZA())}function oe(ai,ci){if(1&ai&&(I.TgZ(0,"div",37)(1,"h4",38),I._uU(2),I.qZA(),I.YNc(3,ze,7,5,"span",39),I.YNc(4,Ue,2,0,"ng-template",null,40,I.W1O),I._UZ(6,"mat-divider",41),I.qZA()),2&ai){const ii=ci.$implicit,bi=I.MAs(5);I.s9C("fxFlex.gt-md",ii.width),I.xp6(2),I.Oqu(ii.title),I.xp6(1),I.Q6J("ngIf",ii&&(!!ii.value||0===ii.value))("ngIfElse",bi)}}function bt(ai,ci){if(1&ai&&(I.TgZ(0,"div")(1,"div",35),I.YNc(2,oe,7,4,"div",36),I.qZA()()),2&ai){const ii=ci.$implicit;I.xp6(2),I.Q6J("ngForOf",ii)}}function Be(ai,ci){if(1&ai&&(I.TgZ(0,"div",33),I.YNc(1,bt,3,1,"div",34),I.qZA()),2&ai){const ii=I.oxw(2);I.xp6(1),I.Q6J("ngForOf",ii.messageObjs)}}const nt=function(ai){return{"display-none":ai}};function $t(ai,ci){if(1&ai&&(I.TgZ(0,"div",27)(1,"div",28),I.YNc(2,et,1,3,"qr-code",2),I.qZA(),I.TgZ(3,"div",29),I.YNc(4,je,2,1,"p",30),I.YNc(5,Be,2,1,"div",31),I.qZA()()),2&ai){const ii=I.oxw();I.xp6(1),I.Q6J("ngClass",I.VKq(4,nt,""===ii.showQRField||ii.screenSize!==ii.screenSizeEnum.XS&&ii.screenSize!==ii.screenSizeEnum.SM)),I.xp6(1),I.Q6J("ngIf",""!==ii.showQRField),I.xp6(2),I.Q6J("ngIf",ii.data.titleMessage),I.xp6(1),I.Q6J("ngIf",(null==ii.messageObjs?null:ii.messageObjs.length)>0)}}class gt{constructor(ci,ii,bi,Yi,_n,ha){this.dialogRef=ci,this.data=ii,this.logger=bi,this.snackBar=Yi,this.commonService=_n,this.renderer=ha,this.LoopStateEnum=E.Fq,this.showQRField="",this.showQRName="",this.showCopyName="",this.showCopyField="",this.errorMessage="",this.messageObjs=[],this.alertTypeEnum=E.n_,this.dataTypeEnum=E.Gi,this.screenSize="",this.screenSizeEnum=E.cu,this.scrollDirection="DOWN",this.shouldScroll=!0}set container(ci){ci&&(this.scrollContainer=ci,this.scrollContainer&&this.scrollContainer.nativeElement&&(this.unlistenEnd=this.renderer.listen(this.scrollContainer.nativeElement,"ps-y-reach-end",ii=>{this.scrollDirection="UP"}),this.unlistenStart=this.renderer.listen(this.scrollContainer.nativeElement,"ps-y-reach-start",ii=>{this.scrollDirection="DOWN"})))}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),this.messageObjs=this.data.message||[],this.showQRField=this.data.showQRField?this.data.showQRField:"",this.showQRName=this.data.showQRName?this.data.showQRName:"",this.showCopyName=this.data.showCopyName?this.data.showCopyName:"",this.showCopyField=this.data.showCopyField?this.data.showCopyField:"",this.data.type===E.n_.ERROR&&!this.data.message&&!this.data.titleMessage&&this.messageObjs.length<=0&&(this.data.titleMessage="Please Check Server Connection"),this.logger.info(this.messageObjs)}ngAfterViewChecked(){setTimeout(()=>{this.shouldScroll=this.scrollContainer&&this.scrollContainer.nativeElement&&this.scrollContainer.nativeElement.classList.value.includes("ps--active-y")},500)}onScroll(){"DOWN"===this.scrollDirection?this.scrollContainer.nativeElement.scrollTop=this.scrollContainer.nativeElement.scrollTop+62.6:this.scrollContainer.nativeElement.scrollTop=this.scrollContainer.nativeElement.scrollTop-62.6}onCopyField(ci){this.snackBar.open((this.showQRName?this.showQRName:this.showCopyName)+" copied."),this.logger.info("Copied Text: "+ci)}onClose(){this.dialogRef.close(!1)}ngOnDestroy(){this.unlistenStart&&this.unlistenStart(),this.unlistenEnd&&this.unlistenEnd()}static#e=this.\u0275fac=function(ii){return new(ii||gt)(I.Y36(z.so),I.Y36(z.WI),I.Y36(te.mQ),I.Y36(ne.ux),I.Y36(le.v),I.Y36(I.Qsj))};static#t=this.\u0275cmp=I.Xpm({type:gt,selectors:[["rtl-alert-message"]],viewQuery:function(ii,bi){if(1&ii&&I.Gf(y,5),2&ii){let Yi;I.iGM(Yi=I.CRH())&&(bi.container=Yi.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","mat-button","",1,"btn-close-x","p-0",3,"click"],[4,"ngIf"],["fxLayout","row","fxLayoutAlign","start end","class","btn-sticky-container padding-gap-x-large",4,"ngIf"],["fxLayout","row","fxLayoutAlign","end center",1,"padding-gap-x-large","padding-gap-bottom-large"],["tabindex","1","autoFocus","","mat-button","","color","primary","type","submit","default","",3,"mat-dialog-close",4,"ngIf"],["class","mr-1","fxLayoutAlign","center center","tabindex","1","mat-button","","color","primary","type","button","default","",3,"mat-dialog-close",4,"ngIf"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied",4,"ngIf"],["contentBlock",""],[3,"value","size","errorCorrectionLevel"],[1,"padding-gap-x-large",3,"perfectScrollbar","ngClass"],["scrollContainer",""],[4,"ngTemplateOutlet"],[1,"padding-gap-x-large"],["fxLayout","row","fxLayoutAlign","start end",1,"btn-sticky-container","padding-gap-x-large"],["mat-mini-fab","","aria-label","Scroll","fxLayoutAlign","center center",3,"click"],["fxLayoutAlign","center center",4,"ngIf"],["fxLayoutAlign","center center"],["tabindex","1","autoFocus","","mat-button","","color","primary","type","submit","default","",3,"mat-dialog-close"],["fxLayoutAlign","center center","tabindex","1","mat-button","","color","primary","type","button","default","",1,"mr-1",3,"mat-dialog-close"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied"],["fxLayout","column"],["fxFlex","50","fxLayoutAlign","center start",1,"modal-qr-code-container","padding-gap-large","mb-1",3,"ngClass"],["fxLayout","column","fxFlex","100"],["fxLayoutAlign","start center","class","pb-2",4,"ngIf"],["fxFlex","100",4,"ngIf"],["fxLayoutAlign","start center",1,"pb-2"],["fxFlex","100"],[4,"ngFor","ngForOf"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","start center","fxLayoutAlign.gt-md","space-between start"],["fxLayout","column","fxFlex","100",3,"fxFlex.gt-md",4,"ngFor","ngForOf"],["fxLayout","column","fxFlex","100",3,"fxFlex.gt-md"],["fxLayoutAlign","start",1,"font-bold-500"],[4,"ngIf","ngIfElse"],["emptyField",""],[1,"w-100","my-1"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"foreground-secondary-text",3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["class","display-block w-100",3,"innerHTML",4,"ngFor","ngForOf"],[1,"display-block","w-100",3,"innerHTML"],["fxLayout","row",3,"ngClass",4,"ngIf","ngIfElse"],["noStyleBlock",""],["fxLayout","row",3,"ngClass"],["fxLayoutAlign","end end","class","icon-failed-status",4,"ngIf"],["fxLayoutAlign","end end",1,"icon-failed-status"],["fxFlex","100",1,"foreground-secondary-text"]],template:function(ii,bi){1&ii&&(I.TgZ(0,"div",0)(1,"div",1),I.YNc(2,A,1,3,"qr-code",2),I.qZA(),I.TgZ(3,"div",3)(4,"mat-card-header",4)(5,"div",5)(6,"span",6),I._uU(7),I.qZA()(),I.TgZ(8,"button",7),I.NdJ("click",function(){return bi.onClose()}),I._uU(9,"X"),I.qZA()(),I.YNc(10,a,4,4,"ng-container",8),I.YNc(11,U,3,1,"ng-container",8),I.YNc(12,Pe,4,2,"div",9),I.TgZ(13,"div",10),I.YNc(14,Le,2,1,"button",11),I.YNc(15,Ye,2,1,"button",12),I.YNc(16,$e,2,2,"button",13),I.YNc(17,Ve,2,1,"button",12),I.YNc(18,be,2,2,"button",13),I.qZA()()(),I.YNc(19,$t,6,6,"ng-template",null,14,I.W1O)),2&ii&&(I.xp6(1),I.Q6J("ngClass",I.VKq(12,nt,""===bi.showQRField||bi.screenSize===bi.screenSizeEnum.XS||bi.screenSize===bi.screenSizeEnum.SM)),I.xp6(1),I.Q6J("ngIf",""!==bi.showQRField),I.xp6(1),I.Q6J("fxFlex",""===bi.showQRField||bi.screenSize===bi.screenSizeEnum.XS||bi.screenSize===bi.screenSizeEnum.SM?"100":"70"),I.xp6(4),I.Oqu(bi.data.alertTitle||bi.alertTypeEnum[bi.data.type]),I.xp6(3),I.Q6J("ngIf",bi.data.scrollable),I.xp6(1),I.Q6J("ngIf",!bi.data.scrollable),I.xp6(1),I.Q6J("ngIf",bi.data.scrollable&&bi.shouldScroll),I.xp6(2),I.Q6J("ngIf",(!bi.showQRField||""===bi.showQRField)&&""===bi.showCopyName),I.xp6(1),I.Q6J("ngIf",""!==bi.showCopyName),I.xp6(1),I.Q6J("ngIf",""!==bi.showCopyName),I.xp6(1),I.Q6J("ngIf",""!==bi.showQRField),I.xp6(1),I.Q6J("ngIf",""!==bi.showQRField))},dependencies:[re.mk,re.sg,re.O5,re.tP,re.RF,re.n9,re.ED,V.xw,V.Wh,V.yH,_e.oO,z.ZT,he.lW,he.nh,ae.dn,ae.dk,ve.Hw,T.d,i.uU,o.$V,m.y,h.h,re.JJ,re.uU],styles:[".display-block[_ngcontent-%COMP%]{display:block}"]})}var rt=f(9306),Re=f(7861),ot=f(9263),St=f(2508),gi=f(3505),oi=f(1267),ei=f(5074),Zi=f(6534);function si(ai,ci){if(1&ai&&(I.TgZ(0,"div",18),I._UZ(1,"fa-icon",19),I.TgZ(2,"span"),I._uU(3),I.qZA()()),2&ai){const ii=I.oxw();I.xp6(1),I.Q6J("icon",ii.faExclamationTriangle),I.xp6(2),I.Oqu(ii.warningMessage)}}function Bt(ai,ci){if(1&ai&&(I.TgZ(0,"div",20),I._UZ(1,"fa-icon",19),I.TgZ(2,"span"),I._uU(3),I.qZA()()),2&ai){const ii=I.oxw();I.xp6(1),I.Q6J("icon",ii.faInfoCircle),I.xp6(2),I.Oqu(ii.informationMessage)}}function Je(ai,ci){if(1&ai&&(I.TgZ(0,"p",21),I._uU(1),I.qZA()),2&ai){const ii=I.oxw();I.xp6(1),I.Oqu(ii.data.titleMessage)}}function me(ai,ci){if(1&ai&&I._UZ(0,"div",36),2&ai){const ii=ci.$implicit;I.Q6J("innerHTML",ii,I.oJD)}}function K(ai,ci){if(1&ai&&(I.ynx(0,34),I.YNc(1,me,1,1,"div",35),I.BQk()),2&ai){const ii=I.oxw(2).$implicit;I.xp6(1),I.Q6J("ngForOf",ii.value)}}function J(ai,ci){if(1&ai&&(I.ynx(0),I._uU(1),I.ALo(2,"date"),I.BQk()),2&ai){const ii=I.oxw(2).$implicit;I.xp6(1),I.Oqu(I.xi3(2,1,1e3*ii.value,"dd/MMM/y HH:mm"))}}function Ce(ai,ci){if(1&ai&&(I.ynx(0),I._uU(1),I.ALo(2,"number"),I.BQk()),2&ai){const ii=I.oxw(2).$implicit;I.xp6(1),I.Oqu(I.xi3(2,1,ii.value,"1.0-3"))}}function We(ai,ci){if(1&ai&&(I.ynx(0),I._uU(1),I.BQk()),2&ai){const ii=I.oxw(2).$implicit;I.xp6(1),I.Oqu(!0===ii.value?"True":"False")}}function Mt(ai,ci){if(1&ai&&(I.ynx(0),I._uU(1),I.BQk()),2&ai){const ii=I.oxw(2).$implicit;I.xp6(1),I.Oqu(ii.value)}}function Tt(ai,ci){if(1&ai&&(I.TgZ(0,"span")(1,"span",30),I.YNc(2,K,2,1,"ng-container",31),I.YNc(3,J,3,4,"ng-container",32),I.YNc(4,Ce,3,4,"ng-container",32),I.YNc(5,We,2,1,"ng-container",32),I.YNc(6,Mt,2,1,"ng-container",33),I.qZA()()),2&ai){const ii=I.oxw().$implicit,bi=I.oxw(3);I.xp6(1),I.Q6J("ngSwitch",ii.type),I.xp6(1),I.Q6J("ngSwitchCase",bi.dataTypeEnum.ARRAY),I.xp6(1),I.Q6J("ngSwitchCase",bi.dataTypeEnum.DATE_TIME),I.xp6(1),I.Q6J("ngSwitchCase",bi.dataTypeEnum.NUMBER),I.xp6(1),I.Q6J("ngSwitchCase",bi.dataTypeEnum.BOOLEAN)}}function Nt(ai,ci){1&ai&&(I.TgZ(0,"span",37),I._uU(1,"\xa0"),I.qZA())}function at(ai,ci){if(1&ai&&(I.TgZ(0,"div",25)(1,"h4",26),I._uU(2),I.qZA(),I.YNc(3,Tt,7,5,"span",27),I.YNc(4,Nt,2,0,"ng-template",null,28,I.W1O),I._UZ(6,"mat-divider",29),I.qZA()),2&ai){const ii=ci.$implicit,bi=I.MAs(5);I.s9C("fxFlex.gt-md",ii.width),I.xp6(2),I.Oqu(ii.title),I.xp6(1),I.Q6J("ngIf",ii&&(!!ii.value||0===ii.value))("ngIfElse",bi)}}function Ke(ai,ci){if(1&ai&&(I.TgZ(0,"div")(1,"div",23),I.YNc(2,at,7,4,"div",24),I.qZA()()),2&ai){const ii=ci.$implicit;I.xp6(2),I.Q6J("ngForOf",ii)}}function vt(ai,ci){if(1&ai&&(I.TgZ(0,"div"),I.YNc(1,Ke,3,1,"div",22),I.qZA()),2&ai){const ii=I.oxw();I.xp6(1),I.Q6J("ngForOf",ii.messageObjs)}}function ri(ai,ci){if(1&ai&&(I.TgZ(0,"p",21),I._uU(1),I.qZA()),2&ai){const ii=I.oxw(2);I.xp6(1),I.Oqu(ii.data.titleMessage)}}function Pt(ai,ci){if(1&ai&&(I.TgZ(0,"mat-error"),I._uU(1),I.qZA()),2&ai){const ii=I.oxw(2).$implicit;I.xp6(1),I.hij("",ii.placeholder," is required.")}}function Lt(ai,ci){if(1&ai){const ii=I.EpF();I.TgZ(0,"mat-form-field",41)(1,"input",42),I.NdJ("ngModelChange",function(Yi){I.CHM(ii);const _n=I.oxw().$implicit;return I.KtG(_n.inputValue=Yi)}),I.ALo(2,"lowercase"),I.qZA(),I.YNc(3,Pt,2,1,"mat-error",11),I.TgZ(4,"mat-hint"),I._uU(5),I.qZA()()}if(2&ai){const ii=I.oxw(),bi=ii.$implicit,Yi=ii.index;I.Q6J("fxFlex",bi.width),I.xp6(1),I.MGl("name","input",Yi,""),I.Q6J("autoFocus",0===Yi)("placeholder",bi.placeholder)("min",bi.min)("step",bi.step)("type",I.lcZ(2,11,bi.inputType))("tabindex",Yi+1)("ngModel",bi.inputValue),I.xp6(2),I.Q6J("ngIf",!bi.inputValue),I.xp6(2),I.Oqu(bi.hintFunction?bi.hintFunction(bi.inputValue):bi.hintText)}}function Kt(ai,ci){if(1&ai&&(I.ynx(0),I.YNc(1,Lt,6,13,"mat-form-field",40),I.BQk()),2&ai){const ii=ci.$implicit,bi=I.oxw(2);I.xp6(1),I.Q6J("ngIf",!ii.advancedField||bi.showAdvanced)}}function Ae(ai,ci){if(1&ai&&(I.TgZ(0,"div",38),I.YNc(1,ri,2,1,"p",10),I.TgZ(2,"div",39),I.YNc(3,Kt,2,1,"ng-container",22),I.qZA()()),2&ai){const ii=I.oxw();I.xp6(1),I.Q6J("ngIf",ii.data.titleMessage),I.xp6(2),I.Q6J("ngForOf",ii.getInputs)}}function fe(ai,ci){1&ai&&(I.TgZ(0,"p"),I._uU(1,"Show Advanced"),I.qZA())}function st(ai,ci){1&ai&&(I.TgZ(0,"p"),I._uU(1,"Hide Advanced"),I.qZA())}function _t(ai,ci){if(1&ai){const ii=I.EpF();I.TgZ(0,"button",43),I.NdJ("click",function(){I.CHM(ii);const Yi=I.oxw();return I.KtG(Yi.onShowAdvanced())}),I.YNc(1,fe,2,0,"p",27),I.YNc(2,st,2,0,"ng-template",null,44,I.W1O),I.qZA()}if(2&ai){const ii=I.MAs(3),bi=I.oxw();I.xp6(1),I.Q6J("ngIf",!bi.showAdvanced)("ngIfElse",ii)}}function kt(ai,ci){if(1&ai){const ii=I.EpF();I.TgZ(0,"button",45),I.NdJ("click",function(){I.CHM(ii);const Yi=I.oxw();return I.KtG(Yi.onClose(Yi.getInputs))}),I._uU(1),I.qZA()}if(2&ai){const ii=I.oxw();I.xp6(1),I.Oqu(ii.yesBtnText)}}function Oi(ai,ci){if(1&ai){const ii=I.EpF();I.TgZ(0,"button",46),I.NdJ("click",function(){I.CHM(ii);const Yi=I.oxw();return I.KtG(Yi.onClose(!0))}),I._uU(1),I.qZA()}if(2&ai){const ii=I.oxw();I.xp6(1),I.Oqu(ii.yesBtnText)}}class Li{constructor(ci,ii,bi,Yi){this.dialogRef=ci,this.data=ii,this.logger=bi,this.store=Yi,this.faInfoCircle=rt.sqG,this.faExclamationTriangle=rt.eHv,this.informationMessage="",this.warningMessage="",this.noBtnText="No",this.yesBtnText="Yes",this.messageObjs=[],this.flgShowInput=!1,this.hasAdvanced=!1,this.alertTypeEnum=E.n_,this.dataTypeEnum=E.Gi,this.getInputs=[{placeholder:"",inputType:E.Gi.STRING,inputValue:"",hintText:"",hintFunction:null,advancedField:!1}],this.showAdvanced=!1}ngOnInit(){this.informationMessage=this.data.informationMessage||"",this.warningMessage=this.data.warningMessage||"",this.flgShowInput=!!this.data.flgShowInput,this.getInputs=this.data.getInputs||[],this.noBtnText=this.data.noBtnText?this.data.noBtnText:"No",this.yesBtnText=this.data.yesBtnText?this.data.yesBtnText:"Yes",this.hasAdvanced=!!this.data.hasAdvanced&&this.data.hasAdvanced,this.messageObjs=this.data.message,this.data.type===E.n_.ERROR&&!this.data.message&&!this.data.titleMessage&&this.messageObjs.length<=0&&(this.data.titleMessage="Please Check Server Connection")}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onClose(ci){if(ci&&this.getInputs&&this.getInputs.some(ii=>typeof ii.inputValue>"u"))return!0;!this.showAdvanced&&ci.length&&(ci=ci?.reduce((ii,bi)=>(bi.advancedField||ii.push(bi),ii),[])),this.store.dispatch((0,Re.yb)({payload:ci}))}static#e=this.\u0275fac=function(ii){return new(ii||Li)(I.Y36(z.so),I.Y36(z.WI),I.Y36(te.mQ),I.Y36(ot.yh))};static#t=this.\u0275cmp=I.Xpm({type:Li,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","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","placeholder","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(ii,bi){1&ii&&(I.TgZ(0,"div",0)(1,"div",1)(2,"mat-card-header",2)(3,"div",3)(4,"span",4),I._uU(5),I.qZA()(),I.TgZ(6,"button",5),I.NdJ("click",function(){return bi.onClose(!1)}),I._uU(7,"X"),I.qZA()(),I.TgZ(8,"mat-card-content",6)(9,"form",7),I.YNc(10,si,4,2,"div",8),I.YNc(11,Bt,4,2,"div",9),I.YNc(12,Je,2,1,"p",10),I.YNc(13,vt,2,1,"div",11),I.YNc(14,Ae,4,2,"div",12),I.TgZ(15,"div",13)(16,"button",14),I.NdJ("click",function(){return bi.onClose(!1)}),I._uU(17),I.qZA(),I.YNc(18,_t,4,2,"button",15),I.YNc(19,kt,2,1,"button",16),I.YNc(20,Oi,2,1,"button",17),I.qZA()()()()()),2&ii&&(I.xp6(5),I.Oqu(bi.data.alertTitle||bi.alertTypeEnum[bi.data.type]),I.xp6(5),I.Q6J("ngIf",bi.warningMessage&&""!==bi.warningMessage),I.xp6(1),I.Q6J("ngIf",bi.informationMessage&&""!==bi.informationMessage),I.xp6(1),I.Q6J("ngIf",bi.data.titleMessage&&!bi.flgShowInput),I.xp6(1),I.Q6J("ngIf",(null==bi.messageObjs?null:bi.messageObjs.length)>0),I.xp6(1),I.Q6J("ngIf",bi.flgShowInput),I.xp6(3),I.Oqu(bi.noBtnText),I.xp6(1),I.Q6J("ngIf",bi.hasAdvanced),I.xp6(1),I.Q6J("ngIf",bi.flgShowInput),I.xp6(1),I.Q6J("ngIf",!bi.flgShowInput))},dependencies:[re.sg,re.O5,re.RF,re.n9,re.ED,St._Y,St.Fj,St.JJ,St.JL,St.Q7,St.On,St.F,gi.BN,V.xw,V.Wh,V.yH,he.lW,ae.dn,ae.dk,oi.Nt,ei.KE,ei.bx,ei.TO,T.d,h.h,Zi.q,re.i8,re.JJ,re.uU]})}var Ei=f(1786),Wi=f(7371),wt=f(207);function qe(ai,ci){if(1&ai&&(I.TgZ(0,"mat-option",23),I._uU(1),I.qZA()),2&ai){const ii=ci.$implicit;I.Q6J("value",ii),I.xp6(1),I.hij(" ",ii.infoName," ")}}function Ne(ai,ci){if(1&ai){const ii=I.EpF();I.TgZ(0,"div",13)(1,"mat-form-field",20)(2,"mat-select",21),I.NdJ("valueChange",function(Yi){I.CHM(ii);const _n=I.oxw();return I.KtG(_n.selInfoType=Yi)}),I.YNc(3,qe,2,2,"mat-option",22),I.qZA()()()}if(2&ai){const ii=I.oxw();I.xp6(2),I.Q6J("value",ii.selInfoType),I.xp6(1),I.Q6J("ngForOf",ii.infoTypes)}}const Vt=function(ai){return{"display-none":ai}};class jt{constructor(ci,ii,bi,Yi,_n){this.dialogRef=ci,this.data=ii,this.logger=bi,this.snackBar=Yi,this.commonService=_n,this.faReceipt=rt.dLy,this.infoTypes=[{infoID:0,infoKey:"node pubkey",infoName:"Node pubkey"}],this.selInfoType=this.infoTypes[0],this.qrWidth=210,this.screenSize="",this.screenSizeEnum=E.cu}ngOnInit(){this.information=this.data.information,this.information.uris&&(1===this.information.uris.length?this.infoTypes.push({infoID:1,infoKey:"node URI",infoName:"Node URI"}):this.information.uris.length>1&&this.information.uris.forEach((ci,ii)=>{this.infoTypes.push({infoID:ii+1,infoKey:"node URI "+(ii+1),infoName:"Node URI "+(ii+1)})})),this.screenSize=this.commonService.getScreenSize()}onClose(){this.dialogRef.close(!1)}onCopyPubkey(ci){this.snackBar.open(this.selInfoType.infoName+" copied."),this.logger.info("Copied Text: "+ci)}static#e=this.\u0275fac=function(ii){return new(ii||jt)(I.Y36(z.so),I.Y36(z.WI),I.Y36(te.mQ),I.Y36(ne.ux),I.Y36(le.v))};static#t=this.\u0275cmp=I.Xpm({type:jt,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","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"],["fxFlex","100","fxFlex.gt-sm","40","fxLayoutAlign","start end"],["tabindex","1",3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(ii,bi){1&ii&&(I.TgZ(0,"div",0)(1,"div",1),I._UZ(2,"qr-code",2),I.qZA(),I.TgZ(3,"div",3)(4,"mat-card-header",4)(5,"div",5),I._UZ(6,"fa-icon",6),I.TgZ(7,"span",7),I._uU(8),I.qZA()(),I.TgZ(9,"button",8),I.NdJ("click",function(){return bi.onClose()}),I._uU(10,"X"),I.qZA()(),I.TgZ(11,"mat-card-content",9)(12,"div",10)(13,"div",11),I._UZ(14,"qr-code",2),I.qZA(),I.YNc(15,Ne,4,2,"div",12),I.TgZ(16,"div",13)(17,"div",14)(18,"h4",15),I._uU(19),I.qZA(),I.TgZ(20,"span",16),I._uU(21),I.qZA()()(),I._UZ(22,"mat-divider",17),I.TgZ(23,"div",18)(24,"button",19),I.NdJ("copied",function(_n){return bi.onCopyPubkey(_n)}),I._uU(25),I.qZA()()()()()()),2&ii&&(I.xp6(1),I.Q6J("ngClass",I.VKq(15,Vt,bi.screenSize===bi.screenSizeEnum.XS||bi.screenSize===bi.screenSizeEnum.SM)),I.xp6(1),I.s9C("value",0===bi.selInfoType.infoID?bi.information.identity_pubkey:bi.information.uris[bi.selInfoType.infoID-1]),I.Q6J("size",bi.qrWidth)("errorCorrectionLevel","L"),I.xp6(4),I.Q6J("icon",bi.faReceipt),I.xp6(2),I.Oqu(bi.selInfoType.infoName),I.xp6(5),I.Q6J("ngClass",I.VKq(17,Vt,bi.screenSize!==bi.screenSizeEnum.XS&&bi.screenSize!==bi.screenSizeEnum.SM)),I.xp6(1),I.s9C("value",0===bi.selInfoType.infoID?bi.information.identity_pubkey:bi.information.uris[bi.selInfoType.infoID-1]),I.Q6J("size",bi.qrWidth)("errorCorrectionLevel","L"),I.xp6(1),I.Q6J("ngIf",bi.information.uris&&bi.information.uris.length>0),I.xp6(4),I.Oqu(bi.selInfoType.infoName),I.xp6(2),I.Oqu(0===bi.selInfoType.infoID?bi.information.identity_pubkey:bi.information.uris[bi.selInfoType.infoID-1]),I.xp6(3),I.s9C("payload",0===bi.selInfoType.infoID?bi.information.identity_pubkey:bi.information.uris[bi.selInfoType.infoID-1]),I.xp6(1),I.hij("Copy ",bi.selInfoType.infoKey,""))},dependencies:[re.mk,re.sg,re.O5,gi.BN,V.xw,V.Wh,V.yH,_e.oO,he.lW,ae.dn,ae.dk,ei.KE,T.d,Wi.gD,wt.ey,i.uU,m.y,h.h]})}var fi=f(6523),Si=f(429),ki=f(2994),Gi=f(8377),Qt=f(8987),xe=f(3512),ke=f(5986),ft=f(8104),Rt=f(3547);class di{constructor(ci,ii,bi,Yi,_n,ha,gn,Zn,Kn,Ua,br){this.actions=ci,this.httpClient=ii,this.store=bi,this.logger=Yi,this.wsService=_n,this.sessionService=ha,this.commonService=gn,this.dataService=Zn,this.dialog=Kn,this.snackBar=Ua,this.router=br,this.screenSize="",this.alertWidth="55%",this.confirmWidth="70%",this.unSubs=[new t.x,new t.x],this.closeAllDialogs=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.CLOSE_ALL_DIALOGS),(0,D.U)(()=>{this.dialog.closeAll()})),{dispatch:!1}),this.openSnackBar=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.OPEN_SNACK_BAR),(0,D.U)(Ot=>{"string"==typeof Ot.payload?this.snackBar.open(Ot.payload):"ERROR"===Ot.payload.type?this.snackBar.open(Ot.payload.message,"",{duration:Ot.payload.duration?Ot.payload.duration:2e3,panelClass:"rtl-warn-snack-bar"}):"WARN"===Ot.payload.type?this.snackBar.open(Ot.payload.message,"",{duration:Ot.payload.duration?Ot.payload.duration:2e3,panelClass:"rtl-accent-snack-bar"}):this.snackBar.open(Ot.payload.message,"",{duration:Ot.payload.duration?Ot.payload.duration:2e3,panelClass:"rtl-snack-bar"})})),{dispatch:!1}),this.openSpinner=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.OPEN_SPINNER),(0,D.U)(Ot=>{Ot.payload!==E.m6.NO_SPINNER&&(this.dialogRef=this.dialog.open(q,{panelClass:"spinner-dialog-panel",data:{titleMessage:Ot.payload}}))})),{dispatch:!1}),this.closeSpinner=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.CLOSE_SPINNER),(0,D.U)(Ot=>{if(Ot.payload!==E.m6.NO_SPINNER)try{this.dialogRef&&this.dialogRef.componentInstance&&this.dialogRef.componentInstance.data&&this.dialogRef.componentInstance.data.titleMessage&&this.dialogRef.componentInstance.data.titleMessage===Ot.payload?this.dialogRef.close():this.dialog.openDialogs.forEach(Wt=>{Wt.componentInstance&&Wt.componentInstance.data&&Wt.componentInstance.data.titleMessage&&Wt.componentInstance.data.titleMessage===Ot.payload&&Wt.close()})}catch(Wt){this.logger.error(Wt)}})),{dispatch:!1}),this.openAlert=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.OPEN_ALERT),(0,D.U)(Ot=>{const Wt=JSON.parse(JSON.stringify(Ot.payload));Wt.width||(Wt.width=this.alertWidth),Ot.payload.data.component?this.dialogRef=this.dialog.open(Ot.payload.data.component,Wt):this.dialogRef=this.dialog.open(gt,Wt)})),{dispatch:!1}),this.closeAlert=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.CLOSE_ALERT),(0,D.U)(Ot=>(this.dialogRef&&this.dialogRef.close(),this.logger.info(Ot.payload),Ot.payload))),{dispatch:!1}),this.openConfirm=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.OPEN_CONFIRMATION),(0,D.U)(Ot=>{const Wt=JSON.parse(JSON.stringify(Ot.payload));Wt.width||(Wt.width=this.confirmWidth),this.dialogRef=this.dialog.open(Li,Wt)})),{dispatch:!1}),this.closeConfirm=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.CLOSE_CONFIRMATION),(0,d.q)(1),(0,D.U)(Ot=>(this.dialogRef&&this.dialogRef.close(),this.logger.info(Ot.payload),Ot.payload))),{dispatch:!1}),this.showNodePubkey=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.SHOW_PUBKEY),(0,P.M)(this.store.select(Gi.R4)),(0,p.z)(([Ot,Wt])=>(this.sessionService.getItem("token")&&Wt.identity_pubkey?this.store.dispatch((0,Re.qR)({payload:{data:{information:Wt,component:jt}}})):this.snackBar.open("Node Pubkey does not exist."),(0,_.of)({type:E.pg.VOID}))))),this.appConfigFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.FETCH_RTL_CONFIG),(0,p.z)(()=>(this.screenSize=this.commonService.getScreenSize(),this.screenSize===E.cu.XS||this.screenSize===E.cu.SM?(this.alertWidth="95%",this.confirmWidth="95%"):this.screenSize===E.cu.MD?(this.alertWidth="80%",this.confirmWidth="80%"):(this.alertWidth="45%",this.confirmWidth="50%"),this.store.dispatch((0,Re.ac)({payload:E.m6.GET_RTL_CONFIG})),this.store.dispatch((0,Re.qi)({payload:{action:"FetchRTLConfig",status:E.Bn.INITIATED}})),this.sessionService.getItem("token")?this.httpClient.get(k.NZ.CONF_API+"/rtlconf"):this.httpClient.get(k.NZ.CONF_API+"/rtlconfinit"))),(0,D.U)(Ot=>{this.logger.info(Ot),this.store.dispatch((0,Re.uO)({payload:E.m6.GET_RTL_CONFIG})),this.store.dispatch((0,Re.qi)({payload:{action:"FetchRTLConfig",status:E.Bn.COMPLETED}}));let Wt=null;return Ot.nodes.forEach(ui=>{ui.settings.currencyUnits=[...E.uA,ui.settings?.currencyUnit?ui.settings?.currencyUnit:""],+(ui.index||-1)===Ot.selectedNodeIndex&&(Wt=ui)}),Wt?(this.store.dispatch((0,Re.fk)({payload:{uiMessage:E.m6.NO_SPINNER,prevLnNodeIndex:-1,currentLnNode:Wt,isInitialSetup:!0}})),{type:E.pg.SET_RTL_CONFIG,payload:Ot}):{type:E.pg.VOID}}),(0,L.K)(Ot=>(this.handleErrorWithAlert("FetchRTLConfig",E.m6.GET_RTL_CONFIG,"Fetch RTL Config Failed!",k.NZ.CONF_API,Ot),(0,_.of)({type:E.pg.VOID}))))),this.settingSave=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.SAVE_SETTINGS),(0,p.z)(Ot=>{this.store.dispatch((0,Re.ac)({payload:Ot.payload.uiMessage})),this.store.dispatch((0,Re.qi)({payload:{action:"UpdateSettings",status:E.Bn.INITIATED}}));let Wt=new S.y;if(Ot.payload.settings&&Ot.payload.defaultNodeIndex){const ui=this.httpClient.post(k.NZ.CONF_API,{updatedSettings:Ot.payload.settings}),Ti=this.httpClient.post(k.NZ.CONF_API+"/updateDefaultNode",{defaultNodeIndex:Ot.payload.defaultNodeIndex});Wt=(0,l.D)([ui,Ti])}else Ot.payload.settings&&!Ot.payload.defaultNodeIndex?Wt=this.httpClient.post(k.NZ.CONF_API,{updatedSettings:Ot.payload.settings}):!Ot.payload.settings&&Ot.payload.defaultNodeIndex&&(Wt=this.httpClient.post(k.NZ.CONF_API+"/updateDefaultNode",{defaultNodeIndex:Ot.payload.defaultNodeIndex}));return Wt.pipe((0,D.U)(ui=>(this.logger.info(ui),this.store.dispatch((0,Re.qi)({payload:{action:"UpdateSettings",status:E.Bn.COMPLETED}})),this.store.dispatch((0,Re.uO)({payload:Ot.payload.uiMessage})),{type:E.pg.OPEN_SNACK_BAR,payload:ui.length?ui[0].message+".":ui.message+"."})),(0,L.K)(ui=>(this.handleErrorWithAlert("UpdateSettings",Ot.payload.uiMessage,"Update Settings Failed!",k.NZ.CONF_API,ui.length?ui[0]:ui),(0,_.of)({type:E.pg.VOID}))))}))),this.updateServicesettings=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.UPDATE_SERVICE_SETTINGS),(0,p.z)(Ot=>(this.store.dispatch((0,Re.ac)({payload:Ot.payload.uiMessage})),this.store.dispatch((0,Re.qi)({payload:{action:"UpdateServiceSettings",status:E.Bn.INITIATED}})),this.httpClient.post(k.NZ.CONF_API+"/updateServiceSettings",Ot.payload).pipe((0,D.U)(Wt=>(this.logger.info(Wt),this.store.dispatch((0,Re.qi)({payload:{action:"UpdateServiceSettings",status:E.Bn.COMPLETED}})),this.store.dispatch((0,Re.uO)({payload:Ot.payload.uiMessage})),this.store.dispatch((0,Re.Tm)({payload:Ot.payload})),{type:E.pg.OPEN_SNACK_BAR,payload:Wt.message+"."})),(0,L.K)(Wt=>(this.handleErrorWithAlert("UpdateServiceSettings",Ot.payload.uiMessage,"Update Service Settings Failed!",k.NZ.CONF_API,Wt),(0,_.of)({type:E.pg.VOID})))))))),this.twoFASettingSave=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.TWO_FA_SAVE_SETTINGS),(0,p.z)(Ot=>(this.store.dispatch((0,Re.ac)({payload:E.m6.UPDATE_UI_SETTINGS})),this.store.dispatch((0,Re.qi)({payload:{action:"Update2FASettings",status:E.Bn.INITIATED}})),this.httpClient.post(k.NZ.CONF_API+"/update2FA",{secret2fa:Ot.payload.secret2fa}))),(0,P.M)(this.store.select(Gi.Yj)),(0,D.U)(([Ot,Wt])=>{this.logger.info(Ot),Wt.enable2FA=!Wt.enable2FA,this.store.dispatch((0,Re.qi)({payload:{action:"Update2FASettings",status:E.Bn.COMPLETED}})),this.store.dispatch((0,Re.uO)({payload:E.m6.UPDATE_UI_SETTINGS})),this.store.dispatch((0,Re.XT)({payload:Wt}))}),(0,L.K)(Ot=>(this.handleErrorWithAlert("Update2FASettings",E.m6.UPDATE_UI_SETTINGS,"Update 2FA Settings Failed!",k.NZ.CONF_API,Ot),(0,_.of)({type:E.pg.VOID})))),{dispatch:!1}),this.configFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.FETCH_CONFIG),(0,p.z)(Ot=>(this.store.dispatch((0,Re.ac)({payload:E.m6.OPEN_CONFIG_FILE})),this.store.dispatch((0,Re.qi)({payload:{action:"fetchConfig",status:E.Bn.INITIATED}})),this.httpClient.get(k.NZ.CONF_API+"/config/"+Ot.payload).pipe((0,D.U)(Wt=>(this.store.dispatch((0,Re.qi)({payload:{action:"fetchConfig",status:E.Bn.COMPLETED}})),this.store.dispatch((0,Re.uO)({payload:E.m6.OPEN_CONFIG_FILE})),{type:E.pg.SHOW_CONFIG,payload:Wt})),(0,L.K)(Wt=>(this.handleErrorWithAlert("fetchConfig",E.m6.OPEN_CONFIG_FILE,"Fetch Config Failed!",k.NZ.CONF_API+"/config/"+Ot.payload,Wt),(0,_.of)({type:E.pg.VOID})))))))),this.showLnConfig=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.SHOW_CONFIG),(0,D.U)(Ot=>Ot.payload)),{dispatch:!1}),this.isAuthorized=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.IS_AUTHORIZED),(0,p.z)(Ot=>(this.store.dispatch((0,Re.qi)({payload:{action:"IsAuthorized",status:E.Bn.INITIATED}})),this.httpClient.post(k.NZ.AUTHENTICATE_API,{authenticateWith:Ot.payload&&""!==Ot.payload.trim()?E.OJ.PASSWORD:E.OJ.JWT,authenticationValue:Ot.payload&&""!==Ot.payload.trim()?Ot.payload:this.sessionService.getItem("token")?this.sessionService.getItem("token"):""}).pipe((0,D.U)(Wt=>(this.logger.info(Wt),this.store.dispatch((0,Re.qi)({payload:{action:"IsAuthorized",status:E.Bn.COMPLETED}})),this.logger.info("Successfully Authorized!"),{type:E.pg.IS_AUTHORIZED_RES,payload:Wt})),(0,L.K)(Wt=>(this.handleErrorWithAlert("IsAuthorized",E.m6.NO_SPINNER,"Authorization Failed",k.NZ.AUTHENTICATE_API,Wt),(0,_.of)({type:E.pg.IS_AUTHORIZED_RES,payload:"ERROR"})))))))),this.isAuthorizedRes=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.IS_AUTHORIZED_RES),(0,D.U)(Ot=>Ot.payload)),{dispatch:!1}),this.authLogin=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.LOGIN),(0,P.M)(this.store.select(Gi.Yj)),(0,p.z)(([Ot,Wt])=>(this.store.dispatch((0,fi.Ll)({payload:null})),this.store.dispatch((0,Si.xH)({payload:null})),this.store.dispatch((0,ki.Fd)({payload:null})),this.store.dispatch((0,Re.qi)({payload:{action:"Login",status:E.Bn.INITIATED}})),this.httpClient.post(k.NZ.AUTHENTICATE_API,{authenticateWith:Ot.payload.password?E.OJ.PASSWORD:E.OJ.JWT,authenticationValue:Ot.payload.password?Ot.payload.password:this.sessionService.getItem("token")?this.sessionService.getItem("token"):"",twoFAToken:Ot.payload.twoFAToken?Ot.payload.twoFAToken:""}).pipe((0,D.U)(ui=>{this.logger.info(ui),this.store.dispatch((0,Re.qi)({payload:{action:"Login",status:E.Bn.COMPLETED}})),this.setLoggedInDetails(Ot.payload.defaultPassword,ui)}),(0,L.K)(ui=>(this.logger.info("Redirecting to Login Error Page"),this.handleErrorWithoutAlert("Login",E.m6.NO_SPINNER,ui),+Wt.sso.rtlSSO?this.router.navigate(["/error"],{state:{errorCode:"406",errorMessage:ui.error&&ui.error.error?ui.error.error:"Single Sign On Failed!"}}):this.router.navigate(["./login"]),(0,_.of)({type:E.pg.VOID}))))))),{dispatch:!1}),this.tokenVerify=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.VERIFY_TWO_FA),(0,p.z)(Ot=>(this.store.dispatch((0,Re.ac)({payload:E.m6.VERIFY_TOKEN})),this.store.dispatch((0,Re.qi)({payload:{action:"VerifyToken",status:E.Bn.INITIATED}})),this.httpClient.post(k.NZ.AUTHENTICATE_API+"/token",{authentication2FA:Ot.payload.token}).pipe((0,D.U)(Wt=>{this.logger.info(Wt),this.store.dispatch((0,Re.uO)({payload:E.m6.VERIFY_TOKEN})),this.store.dispatch((0,Re.qi)({payload:{action:"VerifyToken",status:E.Bn.COMPLETED}})),this.logger.info("Token Successfully Verified!"),this.setLoggedInDetails(!1,Ot.payload.authResponse)}),(0,L.K)(Wt=>(this.handleErrorWithAlert("VerifyToken",E.m6.VERIFY_TOKEN,"Authorization Failed!",k.NZ.AUTHENTICATE_API+"/token",Wt),(0,_.of)({type:E.pg.VOID}))))))),{dispatch:!1}),this.logOut=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.LOGOUT),(0,p.z)(Ot=>(this.store.dispatch((0,Re.ac)({payload:E.m6.LOG_OUT})),Ot.sso&&+Ot.sso.rtlSSO?window.location.href=Ot.sso.logoutRedirectLink:this.router.navigate(["./login"]),this.sessionService.clearAll(),this.store.dispatch((0,Re._V)({payload:{}})),this.store.dispatch((0,Re.uO)({payload:E.m6.LOG_OUT})),this.logger.info("Logged out from browser"),this.httpClient.get(k.NZ.AUTHENTICATE_API+"/logout").pipe((0,D.U)(Wt=>{this.logger.info(Wt),this.store.dispatch((0,Re.uO)({payload:E.m6.LOG_OUT})),this.logger.info("Logged out from server")}))))),{dispatch:!1}),this.resetPassword=(0,e.GW)(()=>this.actions.pipe((0,M.R)(this.unSubs[1]),(0,e.l4)(E.pg.RESET_PASSWORD),(0,p.z)(Ot=>(this.store.dispatch((0,Re.qi)({payload:{action:"ResetPassword",status:E.Bn.INITIATED}})),this.httpClient.post(k.NZ.AUTHENTICATE_API+"/reset",{currPassword:Ot.payload.currPassword,newPassword:Ot.payload.newPassword}).pipe((0,M.R)(this.unSubs[0]),(0,D.U)(Wt=>(this.logger.info(Wt),this.store.dispatch((0,Re.qi)({payload:{action:"ResetPassword",status:E.Bn.COMPLETED}})),this.sessionService.setItem("defaultPassword",!1),this.logger.info("Password Reset Successful!"),this.store.dispatch((0,Re.jW)({payload:"Password Reset Successful!"})),this.SetToken(Wt.token),{type:E.pg.RESET_PASSWORD_RES,payload:Wt.token})),(0,L.K)(Wt=>(this.handleErrorWithAlert("ResetPassword",E.m6.NO_SPINNER,"Password Reset Failed!",k.NZ.AUTHENTICATE_API+"/reset",Wt),(0,_.of)({type:E.pg.VOID})))))))),this.setSelectedNode=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.SET_SELECTED_NODE),(0,p.z)(Ot=>(this.store.dispatch((0,Re.ac)({payload:Ot.payload.uiMessage})),this.store.dispatch((0,Re.qi)({payload:{action:"UpdateSelNode",status:E.Bn.INITIATED}})),this.httpClient.get(k.NZ.CONF_API+"/updateSelNode/"+Ot.payload.currentLnNode?.index+"/"+Ot.payload.prevLnNodeIndex).pipe((0,D.U)(Wt=>(this.logger.info(Wt),this.store.dispatch((0,Re.qi)({payload:{action:"UpdateSelNode",status:E.Bn.COMPLETED}})),this.store.dispatch((0,Re.uO)({payload:Ot.payload.uiMessage})),this.initializeNode(Ot.payload.currentLnNode,Ot.payload.isInitialSetup),{type:E.pg.VOID})),(0,L.K)(Wt=>(this.handleErrorWithAlert("UpdateSelNode",Ot.payload.uiMessage,"Update Selected Node Failed!",k.NZ.CONF_API+"/updateSelNode",Wt),(0,_.of)({type:E.pg.VOID})))))))),this.fetchFile=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.FETCH_FILE),(0,p.z)(Ot=>{this.store.dispatch((0,Re.ac)({payload:E.m6.DOWNLOAD_BACKUP_FILE})),this.store.dispatch((0,Re.qi)({payload:{action:"FetchFile",status:E.Bn.INITIATED}}));const Wt="?channel="+Ot.payload.channelPoint+(Ot.payload.path?"&path="+Ot.payload.path:"");return this.httpClient.get(k.NZ.CONF_API+"/file"+Wt).pipe((0,D.U)(ui=>(this.store.dispatch((0,Re.qi)({payload:{action:"FetchFile",status:E.Bn.COMPLETED}})),this.store.dispatch((0,Re.uO)({payload:E.m6.DOWNLOAD_BACKUP_FILE})),{type:E.pg.SHOW_FILE,payload:ui})),(0,L.K)(ui=>(this.handleErrorWithAlert("fetchFile",E.m6.DOWNLOAD_BACKUP_FILE,"Download Backup File Failed!",k.NZ.CONF_API+"/file"+Wt,{status:this.commonService.extractErrorNumber(ui),error:{error:this.commonService.extractErrorCode(ui)}}),(0,_.of)({type:E.pg.VOID}))))}))),this.showFile=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.SHOW_FILE),(0,D.U)(Ot=>Ot.payload)),{dispatch:!1})}initializeNode(ci,ii){this.logger.info("Initializing node from RTL Effects.");const bi=ii?"":"HOME",Yi={userPersona:ci.settings.userPersona,channelBackupPath:ci.settings.channelBackupPath,unannouncedChannels:!!ci.settings.unannouncedChannels,selCurrencyUnit:ci.settings.currencyUnit,currencyUnits:E.uA,fiatConversion:ci.settings.fiatConversion,lnImplementation:ci.lnImplementation,swapServerUrl:ci.settings.swapServerUrl,boltzServerUrl:ci.settings.boltzServerUrl,enableOffers:ci.settings.enableOffers,enablePeerswap:ci.settings.enablePeerswap};if(ci.settings.fiatConversion&&ci.settings.currencyUnit&&(Yi.currencyUnits=[...E.uA,ci.settings.currencyUnit]),this.sessionService.removeItem("lndUnlocked"),this.sessionService.removeItem("clUnlocked"),this.sessionService.removeItem("eclUnlocked"),this.store.dispatch((0,Re.vI)({payload:ci})),this.store.dispatch((0,fi.Ll)({payload:Yi})),this.store.dispatch((0,Si.xH)({payload:Yi})),this.store.dispatch((0,ki.Fd)({payload:Yi})),this.sessionService.getItem("token")){const _n=ci.lnImplementation?ci.lnImplementation.toUpperCase():"LND";this.dataService.setLnImplementation(_n);const ha=k.NZ.production&&window.location.origin?window.location.origin+"/rtl/api":k.T5;switch(this.wsService.connectWebSocket(ha?.replace(/^http/,"ws")+k.NZ.Web_SOCKET_API,ci.index?ci.index.toString():"-1"),_n){case"CLN":this.store.dispatch((0,Si.CN)({payload:{loadPage:bi}}));break;case"ECL":this.store.dispatch((0,ki.iz)({payload:{loadPage:bi}}));break;default:this.store.dispatch((0,fi.sQ)({payload:{loadPage:bi}}))}}}SetToken(ci){ci?(this.sessionService.setItem("lndUnlocked","true"),this.sessionService.setItem("token",ci)):(this.sessionService.removeItem("lndUnlocked"),this.sessionService.removeItem("token"))}setLoggedInDetails(ci,ii){this.logger.info("Successfully Authorized!"),this.SetToken(ii.token),this.sessionService.setItem("defaultPassword",ci),ci?(this.store.dispatch((0,Re.jW)({payload:"Reset your password."})),this.router.navigate(["/settings/auth"])):this.store.dispatch((0,Re.ey)())}handleErrorWithoutAlert(ci,ii,bi){this.logger.error("ERROR IN: "+ci+"\n"+JSON.stringify(bi)),401===bi.status&&"Login"!==ci?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,Re.ts)()),this.store.dispatch((0,Re.kS)()),this.store.dispatch((0,Re.jW)({payload:"Authentication Failed. Redirecting to Login."}))):(this.store.dispatch((0,Re.uO)({payload:ii})),this.store.dispatch((0,Re.qi)({payload:{action:ci,status:E.Bn.ERROR,statusCode:bi.status?bi.status.toString():"",message:this.commonService.extractErrorMessage(bi)}})))}handleErrorWithAlert(ci,ii,bi,Yi,_n){if(this.logger.error(_n),0===_n.status&&_n.statusText&&"Unknown Error"===_n.statusText&&(_n={status:400,error:{message:"Unknown Error / CORS Origin Not Allowed"}}),401===_n.status&&"Login"!==ci)this.logger.info("Redirecting to Login"),this.store.dispatch((0,Re.ts)()),this.store.dispatch((0,Re.kS)()),this.store.dispatch((0,Re.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,Re.uO)({payload:ii}));const ha=this.commonService.extractErrorMessage(_n);this.store.dispatch((0,Re.qR)({payload:{data:{type:"ERROR",alertTitle:bi,message:{code:_n.status?_n.status:"Unknown Error",message:ha,URL:Yi},component:Ei.H}}})),this.store.dispatch((0,Re.qi)({payload:{action:ci,status:E.Bn.ERROR,statusCode:_n.status?_n.status.toString():"",message:ha,URL:Yi}}))}}ngOnDestroy(){this.unSubs.forEach(ci=>{ci.next(null),ci.complete()})}static#e=this.\u0275fac=function(ii){return new(ii||di)(I.LFG(e.eX),I.LFG(Qt.eN),I.LFG(ot.yh),I.LFG(te.mQ),I.LFG(xe.d),I.LFG(ke.m),I.LFG(le.v),I.LFG(ft.D),I.LFG(z.uw),I.LFG(ne.ux),I.LFG(Rt.F0))};static#t=this.\u0275prov=I.Yz7({token:di,factory:di.\u0275fac})}},8377:(Ge,X,f)=>{"use strict";f.d(X,{R4:()=>D,Sr:()=>P,Yj:()=>l,dT:()=>S,gW:()=>p,ul:()=>d});var e=f(9263);const t=(0,e.ZF)("root"),S=((0,e.P1)(t,L=>L.apiURL),(0,e.P1)(t,L=>L.selNode)),l=(0,e.P1)(t,L=>L.appConfig),D=(0,e.P1)(t,L=>L.nodeData),d=(0,e.P1)(t,L=>L.apisCallStatus.Login),P=(0,e.P1)(t,L=>L.apisCallStatus.IsAuthorized),p=(0,e.P1)(t,L=>({nodeDate:L.nodeData,selNode:L.selNode}))},2340:(Ge,X,f)=>{"use strict";f.d(X,{NZ:()=>t,T5:()=>e,q4:()=>_});const e="./api",t={production:!0,isDebugMode:!1,AUTHENTICATE_API:e+"/authenticate",CONF_API:e+"/conf",PAGE_SETTINGS_API:e+"/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"},_="0.13.3-beta"},2693:(Ge,X,f)=>{"use strict";var e=f(4497),t=f(2560),_=f(4851);function l(W){return new t.vHH(3e3,!1)}function Ye(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function $e(W){switch(W.length){case 0:return new _.ZN;case 1:return W[0];default:return new _.ZE(W)}}function Ve(W,w,x,H,pe=new Map,ct=new Map){const Ut=[],ti=[];let hi=-1,wi=null;if(H.forEach(mn=>{const en=mn.get("offset"),kn=en==hi,Bn=kn&&wi||new Map;mn.forEach((En,Sn)=>{let ia=Sn,Ma=En;if("offset"!==Sn)switch(ia=w.normalizePropertyName(ia,Ut),Ma){case _.k1:Ma=pe.get(Sn);break;case _.l3:Ma=ct.get(Sn);break;default:Ma=w.normalizeStyleValue(Sn,ia,Ma,Ut)}Bn.set(ia,Ma)}),kn||ti.push(Bn),wi=Bn,hi=en}),Ut.length)throw function o(W){return new t.vHH(3502,!1)}();return ti}function be(W,w,x,H){switch(w){case"start":W.onStart(()=>H(x&&et(x,"start",W)));break;case"done":W.onDone(()=>H(x&&et(x,"done",W)));break;case"destroy":W.onDestroy(()=>H(x&&et(x,"destroy",W)))}}function et(W,w,x){const H=x.totalTime,pe=!!x.disabled,ct=je(W.element,W.triggerName,W.fromState,W.toState,w||W.phaseName,H??W.totalTime,pe),Ut=W._data;return null!=Ut&&(ct._data=Ut),ct}function je(W,w,x,H,pe="",ct=0,Ut){return{element:W,triggerName:w,fromState:x,toState:H,phaseName:pe,totalTime:ct,disabled:!!Ut}}function ye(W,w,x){let H=W.get(w);return H||W.set(w,H=x),H}function Te(W){const w=W.indexOf(":");return[W.substring(1,w),W.slice(w+1)]}let He=(W,w)=>!1,Ee=(W,w,x)=>[],we=null;function de(W){const w=W.parentNode||W.host;return w===we?null:w}(Ye()||typeof Element<"u")&&(function Le(){return typeof window<"u"&&typeof window.document<"u"}()?(we=(()=>document.documentElement)(),He=(W,w)=>{for(;w;){if(w===W)return!0;w=de(w)}return!1}):He=(W,w)=>W.contains(w),Ee=(W,w,x)=>{if(x)return Array.from(W.querySelectorAll(w));const H=W.querySelector(w);return H?[H]:[]});let G=null,$=!1;function ze(W){G||(G=function oe(){return typeof document<"u"?document.body:null}()||{},$=!!G.style&&"WebkitAppearance"in G.style);let w=!0;return G.style&&!function ie(W){return"ebkit"==W.substring(1,6)}(W)&&(w=W in G.style,!w&&$&&(w="Webkit"+W.charAt(0).toUpperCase()+W.slice(1)in G.style)),w}const bt=He,Be=Ee;class $t{validateStyleProperty(w){return ze(w)}matchesElement(w,x){return!1}containsElement(w,x){return bt(w,x)}getParentElement(w){return de(w)}query(w,x,H){return Be(w,x,H)}computeStyle(w,x,H){return H||""}animate(w,x,H,pe,ct,Ut=[],ti){return new _.ZN(H,pe)}}$t.\u0275fac=function(w){return new(w||$t)},$t.\u0275prov=t.Yz7({token:$t,factory:$t.\u0275fac});class gt{}gt.NOOP=new $t;const St="ng-enter",gi="ng-leave",oi="ng-trigger",ei=".ng-trigger",Zi="ng-animating",si=".ng-animating";function Bt(W){if("number"==typeof W)return W;const w=W.match(/^(-?[\.\d]+)(m?s)/);return!w||w.length<2?0:Je(parseFloat(w[1]),w[2])}function Je(W,w){return"s"===w?1e3*W:W}function me(W,w,x){return W.hasOwnProperty("duration")?W:function K(W,w,x){const H=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;let pe,ct=0,Ut="";if("string"==typeof W){const ti=W.match(H);if(null===ti)return w.push(l()),{duration:0,delay:0,easing:""};pe=Je(parseFloat(ti[1]),ti[2]);const hi=ti[3];null!=hi&&(ct=Je(parseFloat(hi),ti[4]));const wi=ti[5];wi&&(Ut=wi)}else pe=W;if(!x){let ti=!1,hi=w.length;pe<0&&(w.push(function D(){return new t.vHH(3100,!1)}()),ti=!0),ct<0&&(w.push(function d(){return new t.vHH(3101,!1)}()),ti=!0),ti&&w.splice(hi,0,l())}return{duration:pe,delay:ct,easing:Ut}}(W,w,x)}function J(W,w={}){return Object.keys(W).forEach(x=>{w[x]=W[x]}),w}function Ce(W){const w=new Map;return Object.keys(W).forEach(x=>{const H=W[x];w.set(x,H)}),w}function Tt(W,w=new Map,x){if(x)for(let[H,pe]of x)w.set(H,pe);for(let[H,pe]of W)w.set(H,pe);return w}function Nt(W,w,x){return x?w+":"+x+";":""}function at(W){let w="";for(let x=0;x<W.style.length;x++){const H=W.style.item(x);w+=Nt(0,H,W.style.getPropertyValue(H))}for(const x in W.style){if(!W.style.hasOwnProperty(x)||x.startsWith("_"))continue;w+=Nt(0,kt(x),W.style[x])}W.setAttribute("style",w)}function Ke(W,w,x){W.style&&(w.forEach((H,pe)=>{const ct=_t(pe);x&&!x.has(pe)&&x.set(pe,W.style[ct]),W.style[ct]=H}),Ye()&&at(W))}function vt(W,w){W.style&&(w.forEach((x,H)=>{const pe=_t(H);W.style[pe]=""}),Ye()&&at(W))}function ri(W){return Array.isArray(W)?1==W.length?W[0]:(0,_.vP)(W):W}function Pt(W,w,x){const H=w.params||{},pe=Kt(W);pe.length&&pe.forEach(ct=>{H.hasOwnProperty(ct)||x.push(function P(W){return new t.vHH(3001,!1)}())})}const Lt=new RegExp("{{\\s*(.+?)\\s*}}","g");function Kt(W){let w=[];if("string"==typeof W){let x;for(;x=Lt.exec(W);)w.push(x[1]);Lt.lastIndex=0}return w}function Ae(W,w,x){const H=W.toString(),pe=H.replace(Lt,(ct,Ut)=>{let ti=w[Ut];return null==ti&&(x.push(function p(W){return new t.vHH(3003,!1)}()),ti=""),ti.toString()});return pe==H?W:pe}function fe(W){const w=[];let x=W.next();for(;!x.done;)w.push(x.value),x=W.next();return w}const st=/-+([a-z0-9])/g;function _t(W){return W.replace(st,(...w)=>w[1].toUpperCase())}function kt(W){return W.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Ei(W,w,x){switch(w.type){case 7:return W.visitTrigger(w,x);case 0:return W.visitState(w,x);case 1:return W.visitTransition(w,x);case 2:return W.visitSequence(w,x);case 3:return W.visitGroup(w,x);case 4:return W.visitAnimate(w,x);case 5:return W.visitKeyframes(w,x);case 6:return W.visitStyle(w,x);case 8:return W.visitReference(w,x);case 9:return W.visitAnimateChild(w,x);case 10:return W.visitAnimateRef(w,x);case 11:return W.visitQuery(w,x);case 12:return W.visitStagger(w,x);default:throw function L(W){return new t.vHH(3004,!1)}(w.type)}}function Wi(W,w){return window.getComputedStyle(W)[w]}function Gi(W,w){const x=[];return"string"==typeof W?W.split(/\s*,\s*/).forEach(H=>function Qt(W,w,x){if(":"==W[0]){const hi=function xe(W,w){switch(W){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(x,H)=>parseFloat(H)>parseFloat(x);case":decrement":return(x,H)=>parseFloat(H)<parseFloat(x);default:return w.push(function ae(W){return new t.vHH(3016,!1)}()),"* => *"}}(W,x);if("function"==typeof hi)return void w.push(hi);W=hi}const H=W.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==H||H.length<4)return x.push(function he(W){return new t.vHH(3015,!1)}()),w;const pe=H[1],ct=H[2],Ut=H[3];w.push(Rt(pe,Ut));const ti="*"==pe&&"*"==Ut;"<"==ct[0]&&!ti&&w.push(Rt(Ut,pe))}(H,x,w)):x.push(W),x}const ke=new Set(["true","1"]),ft=new Set(["false","0"]);function Rt(W,w){const x=ke.has(W)||ft.has(W),H=ke.has(w)||ft.has(w);return(pe,ct)=>{let Ut="*"==W||W==pe,ti="*"==w||w==ct;return!Ut&&x&&"boolean"==typeof pe&&(Ut=pe?ke.has(W):ft.has(W)),!ti&&H&&"boolean"==typeof ct&&(ti=ct?ke.has(w):ft.has(w)),Ut&&ti}}const di=":self",ai=new RegExp("s*:selfs*,?","g");function ci(W,w,x,H){return new bi(W).build(w,x,H)}class bi{constructor(w){this._driver=w}build(w,x,H){const pe=new ha(x);return this._resetContextStyleTimingState(pe),Ei(this,ri(w),pe)}_resetContextStyleTimingState(w){w.currentQuerySelector="",w.collectedStyles=new Map,w.collectedStyles.set("",new Map),w.currentTime=0}visitTrigger(w,x){let H=x.queryCount=0,pe=x.depCount=0;const ct=[],Ut=[];return"@"==w.name.charAt(0)&&x.errors.push(function k(){return new t.vHH(3006,!1)}()),w.definitions.forEach(ti=>{if(this._resetContextStyleTimingState(x),0==ti.type){const hi=ti,wi=hi.name;wi.toString().split(/\s*,\s*/).forEach(mn=>{hi.name=mn,ct.push(this.visitState(hi,x))}),hi.name=wi}else if(1==ti.type){const hi=this.visitTransition(ti,x);H+=hi.queryCount,pe+=hi.depCount,Ut.push(hi)}else x.errors.push(function E(){return new t.vHH(3007,!1)}())}),{type:7,name:w.name,states:ct,transitions:Ut,queryCount:H,depCount:pe,options:null}}visitState(w,x){const H=this.visitStyle(w.styles,x),pe=w.options&&w.options.params||null;if(H.containsDynamicStyles){const ct=new Set,Ut=pe||{};if(H.styles.forEach(ti=>{ti instanceof Map&&ti.forEach(hi=>{Kt(hi).forEach(wi=>{Ut.hasOwnProperty(wi)||ct.add(wi)})})}),ct.size){fe(ct.values());x.errors.push(function z(W,w){return new t.vHH(3008,!1)}(w.name))}}return{type:0,name:w.name,style:H,options:pe?{params:pe}:null}}visitTransition(w,x){x.queryCount=0,x.depCount=0;const H=Ei(this,ri(w.animation),x);return{type:1,matchers:Gi(w.expr,x.errors),animation:H,queryCount:x.queryCount,depCount:x.depCount,options:Kn(w.options)}}visitSequence(w,x){return{type:2,steps:w.steps.map(H=>Ei(this,H,x)),options:Kn(w.options)}}visitGroup(w,x){const H=x.currentTime;let pe=0;const ct=w.steps.map(Ut=>{x.currentTime=H;const ti=Ei(this,Ut,x);return pe=Math.max(pe,x.currentTime),ti});return x.currentTime=pe,{type:3,steps:ct,options:Kn(w.options)}}visitAnimate(w,x){const H=function Zn(W,w){if(W.hasOwnProperty("duration"))return W;if("number"==typeof W){return Ua(me(W,w).duration,0,"")}const x=W;if(x.split(/\s+/).some(ct=>"{"==ct.charAt(0)&&"{"==ct.charAt(1))){const ct=Ua(0,0,"");return ct.dynamic=!0,ct.strValue=x,ct}const pe=me(x,w);return Ua(pe.duration,pe.delay,pe.easing)}(w.timings,x.errors);x.currentAnimateTimings=H;let pe,ct=w.styles?w.styles:(0,_.oB)({});if(5==ct.type)pe=this.visitKeyframes(ct,x);else{let Ut=w.styles,ti=!1;if(!Ut){ti=!0;const wi={};H.easing&&(wi.easing=H.easing),Ut=(0,_.oB)(wi)}x.currentTime+=H.duration+H.delay;const hi=this.visitStyle(Ut,x);hi.isEmptyStep=ti,pe=hi}return x.currentAnimateTimings=null,{type:4,timings:H,style:pe,options:null}}visitStyle(w,x){const H=this._makeStyleAst(w,x);return this._validateStyleAst(H,x),H}_makeStyleAst(w,x){const H=[],pe=Array.isArray(w.styles)?w.styles:[w.styles];for(let ti of pe)"string"==typeof ti?ti===_.l3?H.push(ti):x.errors.push(new t.vHH(3002,!1)):H.push(Ce(ti));let ct=!1,Ut=null;return H.forEach(ti=>{if(ti instanceof Map&&(ti.has("easing")&&(Ut=ti.get("easing"),ti.delete("easing")),!ct))for(let hi of ti.values())if(hi.toString().indexOf("{{")>=0){ct=!0;break}}),{type:6,styles:H,easing:Ut,offset:w.offset,containsDynamicStyles:ct,options:null}}_validateStyleAst(w,x){const H=x.currentAnimateTimings;let pe=x.currentTime,ct=x.currentTime;H&&ct>0&&(ct-=H.duration+H.delay),w.styles.forEach(Ut=>{"string"!=typeof Ut&&Ut.forEach((ti,hi)=>{const wi=x.collectedStyles.get(x.currentQuerySelector),mn=wi.get(hi);let en=!0;mn&&(ct!=pe&&ct>=mn.startTime&&pe<=mn.endTime&&(x.errors.push(function Z(W,w,x,H,pe){return new t.vHH(3010,!1)}(0,mn.startTime,mn.endTime)),en=!1),ct=mn.startTime),en&&wi.set(hi,{startTime:ct,endTime:pe}),x.options&&Pt(ti,x.options,x.errors)})})}visitKeyframes(w,x){const H={type:5,styles:[],options:null};if(!x.currentAnimateTimings)return x.errors.push(function q(){return new t.vHH(3011,!1)}()),H;let ct=0;const Ut=[];let ti=!1,hi=!1,wi=0;const mn=w.steps.map(Ma=>{const eo=this._makeStyleAst(Ma,x);let Fo=null!=eo.offset?eo.offset:function gn(W){if("string"==typeof W)return null;let w=null;if(Array.isArray(W))W.forEach(x=>{if(x instanceof Map&&x.has("offset")){const H=x;w=parseFloat(H.get("offset")),H.delete("offset")}});else if(W instanceof Map&&W.has("offset")){const x=W;w=parseFloat(x.get("offset")),x.delete("offset")}return w}(eo.styles),fo=0;return null!=Fo&&(ct++,fo=eo.offset=Fo),hi=hi||fo<0||fo>1,ti=ti||fo<wi,wi=fo,Ut.push(fo),eo});hi&&x.errors.push(function te(){return new t.vHH(3012,!1)}()),ti&&x.errors.push(function ne(){return new t.vHH(3200,!1)}());const en=w.steps.length;let kn=0;ct>0&&ct<en?x.errors.push(function le(){return new t.vHH(3202,!1)}()):0==ct&&(kn=1/(en-1));const Bn=en-1,En=x.currentTime,Sn=x.currentAnimateTimings,ia=Sn.duration;return mn.forEach((Ma,eo)=>{const Fo=kn>0?eo==Bn?1:kn*eo:Ut[eo],fo=Fo*ia;x.currentTime=En+Sn.delay+fo,Sn.duration=fo,this._validateStyleAst(Ma,x),Ma.offset=Fo,H.styles.push(Ma)}),H}visitReference(w,x){return{type:8,animation:Ei(this,ri(w.animation),x),options:Kn(w.options)}}visitAnimateChild(w,x){return x.depCount++,{type:9,options:Kn(w.options)}}visitAnimateRef(w,x){return{type:10,animation:this.visitReference(w.animation,x),options:Kn(w.options)}}visitQuery(w,x){const H=x.currentQuerySelector,pe=w.options||{};x.queryCount++,x.currentQuery=w;const[ct,Ut]=function Yi(W){const w=!!W.split(/\s*,\s*/).find(x=>x==di);return w&&(W=W.replace(ai,"")),W=W.replace(/@\*/g,ei).replace(/@\w+/g,x=>ei+"-"+x.slice(1)).replace(/:animating/g,si),[W,w]}(w.selector);x.currentQuerySelector=H.length?H+" "+ct:ct,ye(x.collectedStyles,x.currentQuerySelector,new Map);const ti=Ei(this,ri(w.animation),x);return x.currentQuery=null,x.currentQuerySelector=H,{type:11,selector:ct,limit:pe.limit||0,optional:!!pe.optional,includeSelf:Ut,animation:ti,originalSelector:w.selector,options:Kn(w.options)}}visitStagger(w,x){x.currentQuery||x.errors.push(function re(){return new t.vHH(3013,!1)}());const H="full"===w.timings?{duration:0,delay:0,easing:"full"}:me(w.timings,x.errors,!0);return{type:12,animation:Ei(this,ri(w.animation),x),timings:H,options:null}}}class ha{constructor(w){this.errors=w,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 Kn(W){return W?(W=J(W)).params&&(W.params=function _n(W){return W?J(W):null}(W.params)):W={},W}function Ua(W,w,x){return{duration:W,delay:w,easing:x}}function br(W,w,x,H,pe,ct,Ut=null,ti=!1){return{type:1,element:W,keyframes:w,preStyleProps:x,postStyleProps:H,duration:pe,delay:ct,totalTime:pe+ct,easing:Ut,subTimeline:ti}}class Ot{constructor(){this._map=new Map}get(w){return this._map.get(w)||[]}append(w,x){let H=this._map.get(w);H||this._map.set(w,H=[]),H.push(...x)}has(w){return this._map.has(w)}clear(){this._map.clear()}}const Ti=new RegExp(":enter","g"),Hi=new RegExp(":leave","g");function cn(W,w,x,H,pe,ct=new Map,Ut=new Map,ti,hi,wi=[]){return(new aa).buildKeyframes(W,w,x,H,pe,ct,Ut,ti,hi,wi)}class aa{buildKeyframes(w,x,H,pe,ct,Ut,ti,hi,wi,mn=[]){wi=wi||new Ot;const en=new ea(w,x,wi,pe,ct,mn,[]);en.options=hi;const kn=hi.delay?Bt(hi.delay):0;en.currentTimeline.delayNextStep(kn),en.currentTimeline.setStyles([Ut],null,en.errors,hi),Ei(this,H,en);const Bn=en.timelines.filter(En=>En.containsAnimation());if(Bn.length&&ti.size){let En;for(let Sn=Bn.length-1;Sn>=0;Sn--){const ia=Bn[Sn];if(ia.element===x){En=ia;break}}En&&!En.allowOnlyTimelineStyles()&&En.setStyles([ti],null,en.errors,hi)}return Bn.length?Bn.map(En=>En.buildKeyframes()):[br(x,[],[],[],0,kn,"",!1)]}visitTrigger(w,x){}visitState(w,x){}visitTransition(w,x){}visitAnimateChild(w,x){const H=x.subInstructions.get(x.element);if(H){const pe=x.createSubContext(w.options),ct=x.currentTimeline.currentTime,Ut=this._visitSubInstructions(H,pe,pe.options);ct!=Ut&&x.transformIntoNewTimeline(Ut)}x.previousNode=w}visitAnimateRef(w,x){const H=x.createSubContext(w.options);H.transformIntoNewTimeline(),this._applyAnimationRefDelays([w.options,w.animation.options],x,H),this.visitReference(w.animation,H),x.transformIntoNewTimeline(H.currentTimeline.currentTime),x.previousNode=w}_applyAnimationRefDelays(w,x,H){for(const pe of w){const ct=pe?.delay;if(ct){const Ut="number"==typeof ct?ct:Bt(Ae(ct,pe?.params??{},x.errors));H.delayNextStep(Ut)}}}_visitSubInstructions(w,x,H){let ct=x.currentTimeline.currentTime;const Ut=null!=H.duration?Bt(H.duration):null,ti=null!=H.delay?Bt(H.delay):null;return 0!==Ut&&w.forEach(hi=>{const wi=x.appendInstructionToTimeline(hi,Ut,ti);ct=Math.max(ct,wi.duration+wi.delay)}),ct}visitReference(w,x){x.updateOptions(w.options,!0),Ei(this,w.animation,x),x.previousNode=w}visitSequence(w,x){const H=x.subContextCount;let pe=x;const ct=w.options;if(ct&&(ct.params||ct.delay)&&(pe=x.createSubContext(ct),pe.transformIntoNewTimeline(),null!=ct.delay)){6==pe.previousNode.type&&(pe.currentTimeline.snapshotCurrentStyles(),pe.previousNode=Ln);const Ut=Bt(ct.delay);pe.delayNextStep(Ut)}w.steps.length&&(w.steps.forEach(Ut=>Ei(this,Ut,pe)),pe.currentTimeline.applyStylesToKeyframe(),pe.subContextCount>H&&pe.transformIntoNewTimeline()),x.previousNode=w}visitGroup(w,x){const H=[];let pe=x.currentTimeline.currentTime;const ct=w.options&&w.options.delay?Bt(w.options.delay):0;w.steps.forEach(Ut=>{const ti=x.createSubContext(w.options);ct&&ti.delayNextStep(ct),Ei(this,Ut,ti),pe=Math.max(pe,ti.currentTimeline.currentTime),H.push(ti.currentTimeline)}),H.forEach(Ut=>x.currentTimeline.mergeTimelineCollectedStyles(Ut)),x.transformIntoNewTimeline(pe),x.previousNode=w}_visitTiming(w,x){if(w.dynamic){const H=w.strValue;return me(x.params?Ae(H,x.params,x.errors):H,x.errors)}return{duration:w.duration,delay:w.delay,easing:w.easing}}visitAnimate(w,x){const H=x.currentAnimateTimings=this._visitTiming(w.timings,x),pe=x.currentTimeline;H.delay&&(x.incrementTime(H.delay),pe.snapshotCurrentStyles());const ct=w.style;5==ct.type?this.visitKeyframes(ct,x):(x.incrementTime(H.duration),this.visitStyle(ct,x),pe.applyStylesToKeyframe()),x.currentAnimateTimings=null,x.previousNode=w}visitStyle(w,x){const H=x.currentTimeline,pe=x.currentAnimateTimings;!pe&&H.hasCurrentStyleProperties()&&H.forwardFrame();const ct=pe&&pe.easing||w.easing;w.isEmptyStep?H.applyEmptyStep(ct):H.setStyles(w.styles,ct,x.errors,x.options),x.previousNode=w}visitKeyframes(w,x){const H=x.currentAnimateTimings,pe=x.currentTimeline.duration,ct=H.duration,ti=x.createSubContext().currentTimeline;ti.easing=H.easing,w.styles.forEach(hi=>{const wi=hi.offset||0;ti.forwardTime(wi*ct),ti.setStyles(hi.styles,hi.easing,x.errors,x.options),ti.applyStylesToKeyframe()}),x.currentTimeline.mergeTimelineCollectedStyles(ti),x.transformIntoNewTimeline(pe+ct),x.previousNode=w}visitQuery(w,x){const H=x.currentTimeline.currentTime,pe=w.options||{},ct=pe.delay?Bt(pe.delay):0;ct&&(6===x.previousNode.type||0==H&&x.currentTimeline.hasCurrentStyleProperties())&&(x.currentTimeline.snapshotCurrentStyles(),x.previousNode=Ln);let Ut=H;const ti=x.invokeQuery(w.selector,w.originalSelector,w.limit,w.includeSelf,!!pe.optional,x.errors);x.currentQueryTotal=ti.length;let hi=null;ti.forEach((wi,mn)=>{x.currentQueryIndex=mn;const en=x.createSubContext(w.options,wi);ct&&en.delayNextStep(ct),wi===x.element&&(hi=en.currentTimeline),Ei(this,w.animation,en),en.currentTimeline.applyStylesToKeyframe();const kn=en.currentTimeline.currentTime;Ut=Math.max(Ut,kn)}),x.currentQueryIndex=0,x.currentQueryTotal=0,x.transformIntoNewTimeline(Ut),hi&&(x.currentTimeline.mergeTimelineCollectedStyles(hi),x.currentTimeline.snapshotCurrentStyles()),x.previousNode=w}visitStagger(w,x){const H=x.parentContext,pe=x.currentTimeline,ct=w.timings,Ut=Math.abs(ct.duration),ti=Ut*(x.currentQueryTotal-1);let hi=Ut*x.currentQueryIndex;switch(ct.duration<0?"reverse":ct.easing){case"reverse":hi=ti-hi;break;case"full":hi=H.currentStaggerTime}const mn=x.currentTimeline;hi&&mn.delayNextStep(hi);const en=mn.currentTime;Ei(this,w.animation,x),x.previousNode=w,H.currentStaggerTime=pe.currentTime-en+(pe.startTime-H.currentTimeline.startTime)}}const Ln={};class ea{constructor(w,x,H,pe,ct,Ut,ti,hi){this._driver=w,this.element=x,this.subInstructions=H,this._enterClassName=pe,this._leaveClassName=ct,this.errors=Ut,this.timelines=ti,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Ln,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=hi||new Dn(this._driver,x,0),ti.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(w,x){if(!w)return;const H=w;let pe=this.options;null!=H.duration&&(pe.duration=Bt(H.duration)),null!=H.delay&&(pe.delay=Bt(H.delay));const ct=H.params;if(ct){let Ut=pe.params;Ut||(Ut=this.options.params={}),Object.keys(ct).forEach(ti=>{(!x||!Ut.hasOwnProperty(ti))&&(Ut[ti]=Ae(ct[ti],Ut,this.errors))})}}_copyOptions(){const w={};if(this.options){const x=this.options.params;if(x){const H=w.params={};Object.keys(x).forEach(pe=>{H[pe]=x[pe]})}}return w}createSubContext(w=null,x,H){const pe=x||this.element,ct=new ea(this._driver,pe,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(pe,H||0));return ct.previousNode=this.previousNode,ct.currentAnimateTimings=this.currentAnimateTimings,ct.options=this._copyOptions(),ct.updateOptions(w),ct.currentQueryIndex=this.currentQueryIndex,ct.currentQueryTotal=this.currentQueryTotal,ct.parentContext=this,this.subContextCount++,ct}transformIntoNewTimeline(w){return this.previousNode=Ln,this.currentTimeline=this.currentTimeline.fork(this.element,w),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(w,x,H){const pe={duration:x??w.duration,delay:this.currentTimeline.currentTime+(H??0)+w.delay,easing:""},ct=new Jn(this._driver,w.element,w.keyframes,w.preStyleProps,w.postStyleProps,pe,w.stretchStartingKeyframe);return this.timelines.push(ct),pe}incrementTime(w){this.currentTimeline.forwardTime(this.currentTimeline.duration+w)}delayNextStep(w){w>0&&this.currentTimeline.delayNextStep(w)}invokeQuery(w,x,H,pe,ct,Ut){let ti=[];if(pe&&ti.push(this.element),w.length>0){w=(w=w.replace(Ti,"."+this._enterClassName)).replace(Hi,"."+this._leaveClassName);const hi=1!=H;let wi=this._driver.query(this.element,w,hi);0!==H&&(wi=H<0?wi.slice(wi.length+H,wi.length):wi.slice(0,H)),ti.push(...wi)}return!ct&&0==ti.length&&Ut.push(function _e(W){return new t.vHH(3014,!1)}()),ti}}class Dn{constructor(w,x,H,pe){this._driver=w,this.element=x,this.startTime=H,this._elementTimelineStylesLookup=pe,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(x),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(x,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(w){const x=1===this._keyframes.size&&this._pendingStyles.size;this.duration||x?(this.forwardTime(this.currentTime+w),x&&this.snapshotCurrentStyles()):this.startTime+=w}fork(w,x){return this.applyStylesToKeyframe(),new Dn(this._driver,w,x||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(w){this.applyStylesToKeyframe(),this.duration=w,this._loadKeyframe()}_updateStyle(w,x){this._localTimelineStyles.set(w,x),this._globalTimelineStyles.set(w,x),this._styleSummary.set(w,{time:this.currentTime,value:x})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(w){w&&this._previousKeyframe.set("easing",w);for(let[x,H]of this._globalTimelineStyles)this._backFill.set(x,H||_.l3),this._currentKeyframe.set(x,_.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(w,x,H,pe){x&&this._previousKeyframe.set("easing",x);const ct=pe&&pe.params||{},Ut=function Gn(W,w){const x=new Map;let H;return W.forEach(pe=>{if("*"===pe){H=H||w.keys();for(let ct of H)x.set(ct,_.l3)}else Tt(pe,x)}),x}(w,this._globalTimelineStyles);for(let[ti,hi]of Ut){const wi=Ae(hi,ct,H);this._pendingStyles.set(ti,wi),this._localTimelineStyles.has(ti)||this._backFill.set(ti,this._globalTimelineStyles.get(ti)??_.l3),this._updateStyle(ti,wi)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((w,x)=>{this._currentKeyframe.set(x,w)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((w,x)=>{this._currentKeyframe.has(x)||this._currentKeyframe.set(x,w)}))}snapshotCurrentStyles(){for(let[w,x]of this._localTimelineStyles)this._pendingStyles.set(w,x),this._updateStyle(w,x)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const w=[];for(let x in this._currentKeyframe)w.push(x);return w}mergeTimelineCollectedStyles(w){w._styleSummary.forEach((x,H)=>{const pe=this._styleSummary.get(H);(!pe||x.time>pe.time)&&this._updateStyle(H,x.value)})}buildKeyframes(){this.applyStylesToKeyframe();const w=new Set,x=new Set,H=1===this._keyframes.size&&0===this.duration;let pe=[];this._keyframes.forEach((ti,hi)=>{const wi=Tt(ti,new Map,this._backFill);wi.forEach((mn,en)=>{mn===_.k1?w.add(en):mn===_.l3&&x.add(en)}),H||wi.set("offset",hi/this.duration),pe.push(wi)});const ct=w.size?fe(w.values()):[],Ut=x.size?fe(x.values()):[];if(H){const ti=pe[0],hi=new Map(ti);ti.set("offset",0),hi.set("offset",1),pe=[ti,hi]}return br(this.element,pe,ct,Ut,this.duration,this.startTime,this.easing,!1)}}class Jn extends Dn{constructor(w,x,H,pe,ct,Ut,ti=!1){super(w,x,Ut.delay),this.keyframes=H,this.preStyleProps=pe,this.postStyleProps=ct,this._stretchStartingKeyframe=ti,this.timings={duration:Ut.duration,delay:Ut.delay,easing:Ut.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let w=this.keyframes,{delay:x,duration:H,easing:pe}=this.timings;if(this._stretchStartingKeyframe&&x){const ct=[],Ut=H+x,ti=x/Ut,hi=Tt(w[0]);hi.set("offset",0),ct.push(hi);const wi=Tt(w[0]);wi.set("offset",Ia(ti)),ct.push(wi);const mn=w.length-1;for(let en=1;en<=mn;en++){let kn=Tt(w[en]);const En=x+kn.get("offset")*H;kn.set("offset",Ia(En/Ut)),ct.push(kn)}H=Ut,x=0,pe="",w=ct}return br(this.element,w,this.preStyleProps,this.postStyleProps,H,x,pe,!0)}}function Ia(W,w=3){const x=Math.pow(10,w-1);return Math.round(W*x)/x}class qn{}const yr=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 wa extends qn{normalizePropertyName(w,x){return _t(w)}normalizeStyleValue(w,x,H,pe){let ct="";const Ut=H.toString().trim();if(yr.has(x)&&0!==H&&"0"!==H)if("number"==typeof H)ct="px";else{const ti=H.match(/^[+-]?[\d\.]+([a-z]*)$/);ti&&0==ti[1].length&&pe.push(function M(W,w){return new t.vHH(3005,!1)}())}return Ut+ct}}function hr(W,w,x,H,pe,ct,Ut,ti,hi,wi,mn,en,kn){return{type:0,element:W,triggerName:w,isRemovalTransition:pe,fromState:x,fromStyles:ct,toState:H,toStyles:Ut,timelines:ti,queriedElements:hi,preStyleProps:wi,postStyleProps:mn,totalTime:en,errors:kn}}const Vn={};class va{constructor(w,x,H){this._triggerName=w,this.ast=x,this._stateStyles=H}match(w,x,H,pe){return function us(W,w,x,H,pe){return W.some(ct=>ct(w,x,H,pe))}(this.ast.matchers,w,x,H,pe)}buildStyles(w,x,H){let pe=this._stateStyles.get("*");return void 0!==w&&(pe=this._stateStyles.get(w?.toString())||pe),pe?pe.buildStyles(x,H):new Map}build(w,x,H,pe,ct,Ut,ti,hi,wi,mn){const en=[],kn=this.ast.options&&this.ast.options.params||Vn,Bn=ti&&ti.params||Vn,En=this.buildStyles(H,Bn,en),Sn=hi&&hi.params||Vn,ia=this.buildStyles(pe,Sn,en),Ma=new Set,eo=new Map,Fo=new Map,fo="void"===pe,cs={params:Ba(Sn,kn),delay:this.ast.options?.delay},nc=mn?[]:cn(w,x,this.ast.animation,ct,Ut,En,ia,cs,wi,en);let wo=0;if(nc.forEach(ac=>{wo=Math.max(ac.duration+ac.delay,wo)}),en.length)return hr(x,this._triggerName,H,pe,fo,En,ia,[],[],eo,Fo,wo,en);nc.forEach(ac=>{const Hs=ac.element,D0=ye(eo,Hs,new Set);ac.preStyleProps.forEach(Tl=>D0.add(Tl));const ud=ye(Fo,Hs,new Set);ac.postStyleProps.forEach(Tl=>ud.add(Tl)),Hs!==x&&Ma.add(Hs)});const Ts=fe(Ma.values());return hr(x,this._triggerName,H,pe,fo,En,ia,nc,Ts,eo,Fo,wo)}}function Ba(W,w){const x=J(w);for(const H in W)W.hasOwnProperty(H)&&null!=W[H]&&(x[H]=W[H]);return x}class Jo{constructor(w,x,H){this.styles=w,this.defaultParams=x,this.normalizer=H}buildStyles(w,x){const H=new Map,pe=J(this.defaultParams);return Object.keys(w).forEach(ct=>{const Ut=w[ct];null!==Ut&&(pe[ct]=Ut)}),this.styles.styles.forEach(ct=>{"string"!=typeof ct&&ct.forEach((Ut,ti)=>{Ut&&(Ut=Ae(Ut,pe,x));const hi=this.normalizer.normalizePropertyName(ti,x);Ut=this.normalizer.normalizeStyleValue(ti,hi,Ut,x),H.set(hi,Ut)})}),H}}class jn{constructor(w,x,H){this.name=w,this.ast=x,this._normalizer=H,this.transitionFactories=[],this.states=new Map,x.states.forEach(pe=>{const ct=pe.options&&pe.options.params||{};this.states.set(pe.name,new Jo(pe.style,ct,H))}),Na(this.states,"true","1"),Na(this.states,"false","0"),x.transitions.forEach(pe=>{this.transitionFactories.push(new va(w,pe,this.states))}),this.fallbackTransition=function jr(W,w,x){return new va(W,{type:1,animation:{type:2,steps:[],options:null},matchers:[(Ut,ti)=>!0],options:null,queryCount:0,depCount:0},w)}(w,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(w,x,H,pe){return this.transitionFactories.find(Ut=>Ut.match(w,x,H,pe))||null}matchStyles(w,x,H){return this.fallbackTransition.buildStyles(w,x,H)}}function Na(W,w,x){W.has(w)?W.has(x)||W.set(x,W.get(w)):W.has(x)&&W.set(w,W.get(x))}const Oo=new Ot;class Ja{constructor(w,x,H){this.bodyNode=w,this._driver=x,this._normalizer=H,this._animations=new Map,this._playersById=new Map,this.players=[]}register(w,x){const H=[],pe=[],ct=ci(this._driver,x,H,pe);if(H.length)throw function m(W){return new t.vHH(3503,!1)}();pe.length,this._animations.set(w,ct)}_buildPlayer(w,x,H){const pe=w.element,ct=Ve(this._driver,this._normalizer,0,w.keyframes,x,H);return this._driver.animate(pe,ct,w.duration,w.delay,w.easing,[],!0)}create(w,x,H={}){const pe=[],ct=this._animations.get(w);let Ut;const ti=new Map;if(ct?(Ut=cn(this._driver,x,ct,St,gi,new Map,new Map,H,Oo,pe),Ut.forEach(mn=>{const en=ye(ti,mn.element,new Map);mn.postStyleProps.forEach(kn=>en.set(kn,null))})):(pe.push(function h(){return new t.vHH(3300,!1)}()),Ut=[]),pe.length)throw function y(W){return new t.vHH(3504,!1)}();ti.forEach((mn,en)=>{mn.forEach((kn,Bn)=>{mn.set(Bn,this._driver.computeStyle(en,Bn,_.l3))})});const wi=$e(Ut.map(mn=>{const en=ti.get(mn.element);return this._buildPlayer(mn,new Map,en)}));return this._playersById.set(w,wi),wi.onDestroy(()=>this.destroy(w)),this.players.push(wi),wi}destroy(w){const x=this._getPlayer(w);x.destroy(),this._playersById.delete(w);const H=this.players.indexOf(x);H>=0&&this.players.splice(H,1)}_getPlayer(w){const x=this._playersById.get(w);if(!x)throw function A(W){return new t.vHH(3301,!1)}();return x}listen(w,x,H,pe){const ct=je(x,"","","");return be(this._getPlayer(w),H,ct,pe),()=>{}}command(w,x,H,pe){if("register"==H)return void this.register(w,pe[0]);if("create"==H){const Ut=pe[0]||{};return void this.create(w,x,Ut)}const ct=this._getPlayer(w);switch(H){case"play":ct.play();break;case"pause":ct.pause();break;case"reset":ct.reset();break;case"restart":ct.restart();break;case"finish":ct.finish();break;case"init":ct.init();break;case"setPosition":ct.setPosition(parseFloat(pe[0]));break;case"destroy":this.destroy(w)}}}const Sr="ng-animate-queued",ir="ng-animate-disabled",ur=[],$a={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},so={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Xn="__ng_removed";class Ho{constructor(w,x=""){this.namespaceId=x;const H=w&&w.hasOwnProperty("value"),pe=H?w.value:w;if(this.value=function oa(W){return W??null}(pe),H){const ct=J(w);delete ct.value,this.options=ct}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(w){const x=w.params;if(x){const H=this.options.params;Object.keys(x).forEach(pe=>{null==H[pe]&&(H[pe]=x[pe])})}}}const Da="void",ko=new Ho(Da);class er{constructor(w,x,H){this.id=w,this.hostElement=x,this._engine=H,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+w,Qn(x,this._hostClassName)}listen(w,x,H,pe){if(!this._triggers.has(x))throw function R(W,w){return new t.vHH(3302,!1)}();if(null==H||0==H.length)throw function v(W){return new t.vHH(3303,!1)}();if(!function mr(W){return"start"==W||"done"==W}(H))throw function a(W,w){return new t.vHH(3400,!1)}();const ct=ye(this._elementListeners,w,[]),Ut={name:x,phase:H,callback:pe};ct.push(Ut);const ti=ye(this._engine.statesByElement,w,new Map);return ti.has(x)||(Qn(w,oi),Qn(w,oi+"-"+x),ti.set(x,ko)),()=>{this._engine.afterFlush(()=>{const hi=ct.indexOf(Ut);hi>=0&&ct.splice(hi,1),this._triggers.has(x)||ti.delete(x)})}}register(w,x){return!this._triggers.has(w)&&(this._triggers.set(w,x),!0)}_getTrigger(w){const x=this._triggers.get(w);if(!x)throw function C(W){return new t.vHH(3401,!1)}();return x}trigger(w,x,H,pe=!0){const ct=this._getTrigger(x),Ut=new nr(this.id,x,w);let ti=this._engine.statesByElement.get(w);ti||(Qn(w,oi),Qn(w,oi+"-"+x),this._engine.statesByElement.set(w,ti=new Map));let hi=ti.get(x);const wi=new Ho(H,this.id);if(!(H&&H.hasOwnProperty("value"))&&hi&&wi.absorbOptions(hi.options),ti.set(x,wi),hi||(hi=ko),wi.value!==Da&&hi.value===wi.value){if(!function ca(W,w){const x=Object.keys(W),H=Object.keys(w);if(x.length!=H.length)return!1;for(let pe=0;pe<x.length;pe++){const ct=x[pe];if(!w.hasOwnProperty(ct)||W[ct]!==w[ct])return!1}return!0}(hi.params,wi.params)){const Sn=[],ia=ct.matchStyles(hi.value,hi.params,Sn),Ma=ct.matchStyles(wi.value,wi.params,Sn);Sn.length?this._engine.reportError(Sn):this._engine.afterFlush(()=>{vt(w,ia),Ke(w,Ma)})}return}const kn=ye(this._engine.playersByElement,w,[]);kn.forEach(Sn=>{Sn.namespaceId==this.id&&Sn.triggerName==x&&Sn.queued&&Sn.destroy()});let Bn=ct.matchTransition(hi.value,wi.value,w,wi.params),En=!1;if(!Bn){if(!pe)return;Bn=ct.fallbackTransition,En=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:w,triggerName:x,transition:Bn,fromState:hi,toState:wi,player:Ut,isFallbackTransition:En}),En||(Qn(w,Sr),Ut.onStart(()=>{Qa(w,Sr)})),Ut.onDone(()=>{let Sn=this.players.indexOf(Ut);Sn>=0&&this.players.splice(Sn,1);const ia=this._engine.playersByElement.get(w);if(ia){let Ma=ia.indexOf(Ut);Ma>=0&&ia.splice(Ma,1)}}),this.players.push(Ut),kn.push(Ut),Ut}deregister(w){this._triggers.delete(w),this._engine.statesByElement.forEach(x=>x.delete(w)),this._elementListeners.forEach((x,H)=>{this._elementListeners.set(H,x.filter(pe=>pe.name!=w))})}clearElementCache(w){this._engine.statesByElement.delete(w),this._elementListeners.delete(w);const x=this._engine.playersByElement.get(w);x&&(x.forEach(H=>H.destroy()),this._engine.playersByElement.delete(w))}_signalRemovalForInnerTriggers(w,x){const H=this._engine.driver.query(w,ei,!0);H.forEach(pe=>{if(pe[Xn])return;const ct=this._engine.fetchNamespacesByElement(pe);ct.size?ct.forEach(Ut=>Ut.triggerLeaveAnimation(pe,x,!1,!0)):this.clearElementCache(pe)}),this._engine.afterFlushAnimationsDone(()=>H.forEach(pe=>this.clearElementCache(pe)))}triggerLeaveAnimation(w,x,H,pe){const ct=this._engine.statesByElement.get(w),Ut=new Map;if(ct){const ti=[];if(ct.forEach((hi,wi)=>{if(Ut.set(wi,hi.value),this._triggers.has(wi)){const mn=this.trigger(w,wi,Da,pe);mn&&ti.push(mn)}}),ti.length)return this._engine.markElementAsRemoved(this.id,w,!0,x,Ut),H&&$e(ti).onDone(()=>this._engine.processLeaveNode(w)),!0}return!1}prepareLeaveAnimationListeners(w){const x=this._elementListeners.get(w),H=this._engine.statesByElement.get(w);if(x&&H){const pe=new Set;x.forEach(ct=>{const Ut=ct.name;if(pe.has(Ut))return;pe.add(Ut);const hi=this._triggers.get(Ut).fallbackTransition,wi=H.get(Ut)||ko,mn=new Ho(Da),en=new nr(this.id,Ut,w);this._engine.totalQueuedPlayers++,this._queue.push({element:w,triggerName:Ut,transition:hi,fromState:wi,toState:mn,player:en,isFallbackTransition:!0})})}}removeNode(w,x){const H=this._engine;if(w.childElementCount&&this._signalRemovalForInnerTriggers(w,x),this.triggerLeaveAnimation(w,x,!0))return;let pe=!1;if(H.totalAnimations){const ct=H.players.length?H.playersByQueriedElement.get(w):[];if(ct&&ct.length)pe=!0;else{let Ut=w;for(;Ut=Ut.parentNode;)if(H.statesByElement.get(Ut)){pe=!0;break}}}if(this.prepareLeaveAnimationListeners(w),pe)H.markElementAsRemoved(this.id,w,!1,x);else{const ct=w[Xn];(!ct||ct===$a)&&(H.afterFlush(()=>this.clearElementCache(w)),H.destroyInnerAnimations(w),H._onRemovalComplete(w,x))}}insertNode(w,x){Qn(w,this._hostClassName)}drainQueuedTransitions(w){const x=[];return this._queue.forEach(H=>{const pe=H.player;if(pe.destroyed)return;const ct=H.element,Ut=this._elementListeners.get(ct);Ut&&Ut.forEach(ti=>{if(ti.name==H.triggerName){const hi=je(ct,H.triggerName,H.fromState.value,H.toState.value);hi._data=w,be(H.player,ti.phase,hi,ti.callback)}}),pe.markedForDestroy?this._engine.afterFlush(()=>{pe.destroy()}):x.push(H)}),this._queue=[],x.sort((H,pe)=>{const ct=H.transition.ast.depCount,Ut=pe.transition.ast.depCount;return 0==ct||0==Ut?ct-Ut:this._engine.driver.containsElement(H.element,pe.element)?1:-1})}destroy(w){this.players.forEach(x=>x.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,w)}elementContainsData(w){let x=!1;return this._elementListeners.has(w)&&(x=!0),x=!!this._queue.find(H=>H.element===w)||x,x}}class Po{constructor(w,x,H){this.bodyNode=w,this.driver=x,this._normalizer=H,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(pe,ct)=>{}}_onRemovalComplete(w,x){this.onRemovalComplete(w,x)}get queuedPlayers(){const w=[];return this._namespaceList.forEach(x=>{x.players.forEach(H=>{H.queued&&w.push(H)})}),w}createNamespace(w,x){const H=new er(w,x,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,x)?this._balanceNamespaceList(H,x):(this.newHostElements.set(x,H),this.collectEnterElement(x)),this._namespaceLookup[w]=H}_balanceNamespaceList(w,x){const H=this._namespaceList,pe=this.namespacesByHostElement;if(H.length-1>=0){let Ut=!1,ti=this.driver.getParentElement(x);for(;ti;){const hi=pe.get(ti);if(hi){const wi=H.indexOf(hi);H.splice(wi+1,0,w),Ut=!0;break}ti=this.driver.getParentElement(ti)}Ut||H.unshift(w)}else H.push(w);return pe.set(x,w),w}register(w,x){let H=this._namespaceLookup[w];return H||(H=this.createNamespace(w,x)),H}registerTrigger(w,x,H){let pe=this._namespaceLookup[w];pe&&pe.register(x,H)&&this.totalAnimations++}destroy(w,x){if(!w)return;const H=this._fetchNamespace(w);this.afterFlush(()=>{this.namespacesByHostElement.delete(H.hostElement),delete this._namespaceLookup[w];const pe=this._namespaceList.indexOf(H);pe>=0&&this._namespaceList.splice(pe,1)}),this.afterFlushAnimationsDone(()=>H.destroy(x))}_fetchNamespace(w){return this._namespaceLookup[w]}fetchNamespacesByElement(w){const x=new Set,H=this.statesByElement.get(w);if(H)for(let pe of H.values())if(pe.namespaceId){const ct=this._fetchNamespace(pe.namespaceId);ct&&x.add(ct)}return x}trigger(w,x,H,pe){if(Cr(x)){const ct=this._fetchNamespace(w);if(ct)return ct.trigger(x,H,pe),!0}return!1}insertNode(w,x,H,pe){if(!Cr(x))return;const ct=x[Xn];if(ct&&ct.setForRemoval){ct.setForRemoval=!1,ct.setForMove=!0;const Ut=this.collectedLeaveElements.indexOf(x);Ut>=0&&this.collectedLeaveElements.splice(Ut,1)}if(w){const Ut=this._fetchNamespace(w);Ut&&Ut.insertNode(x,H)}pe&&this.collectEnterElement(x)}collectEnterElement(w){this.collectedEnterElements.push(w)}markElementAsDisabled(w,x){x?this.disabledNodes.has(w)||(this.disabledNodes.add(w),Qn(w,ir)):this.disabledNodes.has(w)&&(this.disabledNodes.delete(w),Qa(w,ir))}removeNode(w,x,H,pe){if(Cr(x)){const ct=w?this._fetchNamespace(w):null;if(ct?ct.removeNode(x,pe):this.markElementAsRemoved(w,x,!1,pe),H){const Ut=this.namespacesByHostElement.get(x);Ut&&Ut.id!==w&&Ut.removeNode(x,pe)}}else this._onRemovalComplete(x,pe)}markElementAsRemoved(w,x,H,pe,ct){this.collectedLeaveElements.push(x),x[Xn]={namespaceId:w,setForRemoval:pe,hasAnimation:H,removedBeforeQueried:!1,previousTriggersValues:ct}}listen(w,x,H,pe,ct){return Cr(x)?this._fetchNamespace(w).listen(x,H,pe,ct):()=>{}}_buildInstruction(w,x,H,pe,ct){return w.transition.build(this.driver,w.element,w.fromState.value,w.toState.value,H,pe,w.fromState.options,w.toState.options,x,ct)}destroyInnerAnimations(w){let x=this.driver.query(w,ei,!0);x.forEach(H=>this.destroyActiveAnimationsForElement(H)),0!=this.playersByQueriedElement.size&&(x=this.driver.query(w,si,!0),x.forEach(H=>this.finishActiveQueriedAnimationOnElement(H)))}destroyActiveAnimationsForElement(w){const x=this.playersByElement.get(w);x&&x.forEach(H=>{H.queued?H.markedForDestroy=!0:H.destroy()})}finishActiveQueriedAnimationOnElement(w){const x=this.playersByQueriedElement.get(w);x&&x.forEach(H=>H.finish())}whenRenderingDone(){return new Promise(w=>{if(this.players.length)return $e(this.players).onDone(()=>w());w()})}processLeaveNode(w){const x=w[Xn];if(x&&x.setForRemoval){if(w[Xn]=$a,x.namespaceId){this.destroyInnerAnimations(w);const H=this._fetchNamespace(x.namespaceId);H&&H.clearElementCache(w)}this._onRemovalComplete(w,x.setForRemoval)}w.classList?.contains(ir)&&this.markElementAsDisabled(w,!1),this.driver.query(w,".ng-animate-disabled",!0).forEach(H=>{this.markElementAsDisabled(H,!1)})}flush(w=-1){let x=[];if(this.newHostElements.size&&(this.newHostElements.forEach((H,pe)=>this._balanceNamespaceList(H,pe)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let H=0;H<this.collectedEnterElements.length;H++){Qn(this.collectedEnterElements[H],"ng-star-inserted")}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const H=[];try{x=this._flushAnimations(H,w)}finally{for(let pe=0;pe<H.length;pe++)H[pe]()}}else for(let H=0;H<this.collectedLeaveElements.length;H++){const pe=this.collectedLeaveElements[H];this.processLeaveNode(pe)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(H=>H()),this._flushFns=[],this._whenQuietFns.length){const H=this._whenQuietFns;this._whenQuietFns=[],x.length?$e(x).onDone(()=>{H.forEach(pe=>pe())}):H.forEach(pe=>pe())}}reportError(w){throw function U(W){return new t.vHH(3402,!1)}()}_flushAnimations(w,x){const H=new Ot,pe=[],ct=new Map,Ut=[],ti=new Map,hi=new Map,wi=new Map,mn=new Set;this.disabledNodes.forEach(bn=>{mn.add(bn);const In=this.driver.query(bn,".ng-animate-queued",!0);for(let Pn=0;Pn<In.length;Pn++)mn.add(In[Pn])});const en=this.bodyNode,kn=Array.from(this.statesByElement.keys()),Bn=ja(kn,this.collectedEnterElements),En=new Map;let Sn=0;Bn.forEach((bn,In)=>{const Pn=St+Sn++;En.set(In,Pn),bn.forEach(ua=>Qn(ua,Pn))});const ia=[],Ma=new Set,eo=new Set;for(let bn=0;bn<this.collectedLeaveElements.length;bn++){const In=this.collectedLeaveElements[bn],Pn=In[Xn];Pn&&Pn.setForRemoval&&(ia.push(In),Ma.add(In),Pn.hasAnimation?this.driver.query(In,".ng-star-inserted",!0).forEach(ua=>Ma.add(ua)):eo.add(In))}const Fo=new Map,fo=ja(kn,Array.from(Ma));fo.forEach((bn,In)=>{const Pn=gi+Sn++;Fo.set(In,Pn),bn.forEach(ua=>Qn(ua,Pn))}),w.push(()=>{Bn.forEach((bn,In)=>{const Pn=En.get(In);bn.forEach(ua=>Qa(ua,Pn))}),fo.forEach((bn,In)=>{const Pn=Fo.get(In);bn.forEach(ua=>Qa(ua,Pn))}),ia.forEach(bn=>{this.processLeaveNode(bn)})});const cs=[],nc=[];for(let bn=this._namespaceList.length-1;bn>=0;bn--)this._namespaceList[bn].drainQueuedTransitions(x).forEach(Pn=>{const ua=Pn.player,Or=Pn.element;if(cs.push(ua),this.collectedEnterElements.length){const zo=Or[Xn];if(zo&&zo.setForMove){if(zo.previousTriggersValues&&zo.previousTriggersValues.has(Pn.triggerName)){const Dc=zo.previousTriggersValues.get(Pn.triggerName),As=this.statesByElement.get(Pn.element);if(As&&As.has(Pn.triggerName)){const n1=As.get(Pn.triggerName);n1.value=Dc,As.set(Pn.triggerName,n1)}}return void ua.destroy()}}const ls=!en||!this.driver.containsElement(en,Or),Do=Fo.get(Or),Cs=En.get(Or),lr=this._buildInstruction(Pn,H,Cs,Do,ls);if(lr.errors&&lr.errors.length)return void nc.push(lr);if(ls)return ua.onStart(()=>vt(Or,lr.fromStyles)),ua.onDestroy(()=>Ke(Or,lr.toStyles)),void pe.push(ua);if(Pn.isFallbackTransition)return ua.onStart(()=>vt(Or,lr.fromStyles)),ua.onDestroy(()=>Ke(Or,lr.toStyles)),void pe.push(ua);const Al=[];lr.timelines.forEach(zo=>{zo.stretchStartingKeyframe=!0,this.disabledNodes.has(zo.element)||Al.push(zo)}),lr.timelines=Al,H.append(Or,lr.timelines);const I0={instruction:lr,player:ua,element:Or};Ut.push(I0),lr.queriedElements.forEach(zo=>ye(ti,zo,[]).push(ua)),lr.preStyleProps.forEach((zo,Dc)=>{if(zo.size){let As=hi.get(Dc);As||hi.set(Dc,As=new Set),zo.forEach((n1,md)=>As.add(md))}}),lr.postStyleProps.forEach((zo,Dc)=>{let As=wi.get(Dc);As||wi.set(Dc,As=new Set),zo.forEach((n1,md)=>As.add(md))})});if(nc.length){const bn=[];nc.forEach(In=>{bn.push(function Q(W,w){return new t.vHH(3505,!1)}(In.triggerName,In.errors))}),cs.forEach(In=>In.destroy()),this.reportError(bn)}const wo=new Map,Ts=new Map;Ut.forEach(bn=>{const In=bn.element;H.has(In)&&(Ts.set(In,In),this._beforeAnimationBuild(bn.player.namespaceId,bn.instruction,wo))}),pe.forEach(bn=>{const In=bn.element;this._getPreviousPlayers(In,!1,bn.namespaceId,bn.triggerName,null).forEach(ua=>{ye(wo,In,[]).push(ua),ua.destroy()})});const ac=ia.filter(bn=>tr(bn,hi,wi)),Hs=new Map;Er(Hs,this.driver,eo,wi,_.l3).forEach(bn=>{tr(bn,hi,wi)&&ac.push(bn)});const ud=new Map;Bn.forEach((bn,In)=>{Er(ud,this.driver,new Set(bn),hi,_.k1)}),ac.forEach(bn=>{const In=Hs.get(bn),Pn=ud.get(bn);Hs.set(bn,new Map([...Array.from(In?.entries()??[]),...Array.from(Pn?.entries()??[])]))});const Tl=[],T0=[],A0={};Ut.forEach(bn=>{const{element:In,player:Pn,instruction:ua}=bn;if(H.has(In)){if(mn.has(In))return Pn.onDestroy(()=>Ke(In,ua.toStyles)),Pn.disabled=!0,Pn.overrideTotalTime(ua.totalTime),void pe.push(Pn);let Or=A0;if(Ts.size>1){let Do=In;const Cs=[];for(;Do=Do.parentNode;){const lr=Ts.get(Do);if(lr){Or=lr;break}Cs.push(Do)}Cs.forEach(lr=>Ts.set(lr,Or))}const ls=this._buildAnimation(Pn.namespaceId,ua,wo,ct,ud,Hs);if(Pn.setRealPlayer(ls),Or===A0)Tl.push(Pn);else{const Do=this.playersByElement.get(Or);Do&&Do.length&&(Pn.parentPlayer=$e(Do)),pe.push(Pn)}}else vt(In,ua.fromStyles),Pn.onDestroy(()=>Ke(In,ua.toStyles)),T0.push(Pn),mn.has(In)&&pe.push(Pn)}),T0.forEach(bn=>{const In=ct.get(bn.element);if(In&&In.length){const Pn=$e(In);bn.setRealPlayer(Pn)}}),pe.forEach(bn=>{bn.parentPlayer?bn.syncPlayerEvents(bn.parentPlayer):bn.destroy()});for(let bn=0;bn<ia.length;bn++){const In=ia[bn],Pn=In[Xn];if(Qa(In,gi),Pn&&Pn.hasAnimation)continue;let ua=[];if(ti.size){let ls=ti.get(In);ls&&ls.length&&ua.push(...ls);let Do=this.driver.query(In,si,!0);for(let Cs=0;Cs<Do.length;Cs++){let lr=ti.get(Do[Cs]);lr&&lr.length&&ua.push(...lr)}}const Or=ua.filter(ls=>!ls.destroyed);Or.length?ar(this,In,Or):this.processLeaveNode(In)}return ia.length=0,Tl.forEach(bn=>{this.players.push(bn),bn.onDone(()=>{bn.destroy();const In=this.players.indexOf(bn);this.players.splice(In,1)}),bn.play()}),Tl}elementContainsData(w,x){let H=!1;const pe=x[Xn];return pe&&pe.setForRemoval&&(H=!0),this.playersByElement.has(x)&&(H=!0),this.playersByQueriedElement.has(x)&&(H=!0),this.statesByElement.has(x)&&(H=!0),this._fetchNamespace(w).elementContainsData(x)||H}afterFlush(w){this._flushFns.push(w)}afterFlushAnimationsDone(w){this._whenQuietFns.push(w)}_getPreviousPlayers(w,x,H,pe,ct){let Ut=[];if(x){const ti=this.playersByQueriedElement.get(w);ti&&(Ut=ti)}else{const ti=this.playersByElement.get(w);if(ti){const hi=!ct||ct==Da;ti.forEach(wi=>{wi.queued||!hi&&wi.triggerName!=pe||Ut.push(wi)})}}return(H||pe)&&(Ut=Ut.filter(ti=>!(H&&H!=ti.namespaceId||pe&&pe!=ti.triggerName))),Ut}_beforeAnimationBuild(w,x,H){const pe=x.triggerName,ct=x.element,Ut=x.isRemovalTransition?void 0:w,ti=x.isRemovalTransition?void 0:pe;for(const hi of x.timelines){const wi=hi.element,mn=wi!==ct,en=ye(H,wi,[]);this._getPreviousPlayers(wi,mn,Ut,ti,x.toState).forEach(Bn=>{const En=Bn.getRealPlayer();En.beforeDestroy&&En.beforeDestroy(),Bn.destroy(),en.push(Bn)})}vt(ct,x.fromStyles)}_buildAnimation(w,x,H,pe,ct,Ut){const ti=x.triggerName,hi=x.element,wi=[],mn=new Set,en=new Set,kn=x.timelines.map(En=>{const Sn=En.element;mn.add(Sn);const ia=Sn[Xn];if(ia&&ia.removedBeforeQueried)return new _.ZN(En.duration,En.delay);const Ma=Sn!==hi,eo=function Mr(W){const w=[];return Nr(W,w),w}((H.get(Sn)||ur).map(wo=>wo.getRealPlayer())).filter(wo=>{const Ts=wo;return!!Ts.element&&Ts.element===Sn}),Fo=ct.get(Sn),fo=Ut.get(Sn),cs=Ve(this.driver,this._normalizer,0,En.keyframes,Fo,fo),nc=this._buildPlayer(En,cs,eo);if(En.subTimeline&&pe&&en.add(Sn),Ma){const wo=new nr(w,ti,Sn);wo.setRealPlayer(nc),wi.push(wo)}return nc});wi.forEach(En=>{ye(this.playersByQueriedElement,En.element,[]).push(En),En.onDone(()=>function xr(W,w,x){let H=W.get(w);if(H){if(H.length){const pe=H.indexOf(x);H.splice(pe,1)}0==H.length&&W.delete(w)}return H}(this.playersByQueriedElement,En.element,En))}),mn.forEach(En=>Qn(En,Zi));const Bn=$e(kn);return Bn.onDestroy(()=>{mn.forEach(En=>Qa(En,Zi)),Ke(hi,x.toStyles)}),en.forEach(En=>{ye(pe,En,[]).push(Bn)}),Bn}_buildPlayer(w,x,H){return x.length>0?this.driver.animate(w.element,x,w.duration,w.delay,w.easing,H):new _.ZN(w.duration,w.delay)}}class nr{constructor(w,x,H){this.namespaceId=w,this.triggerName=x,this.element=H,this._player=new _.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(w){this._containsRealPlayer||(this._player=w,this._queuedCallbacks.forEach((x,H)=>{x.forEach(pe=>be(w,H,void 0,pe))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(w.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(w){this.totalTime=w}syncPlayerEvents(w){const x=this._player;x.triggerCallback&&w.onStart(()=>x.triggerCallback("start")),w.onDone(()=>this.finish()),w.onDestroy(()=>this.destroy())}_queueEvent(w,x){ye(this._queuedCallbacks,w,[]).push(x)}onDone(w){this.queued&&this._queueEvent("done",w),this._player.onDone(w)}onStart(w){this.queued&&this._queueEvent("start",w),this._player.onStart(w)}onDestroy(w){this.queued&&this._queueEvent("destroy",w),this._player.onDestroy(w)}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(w){this.queued||this._player.setPosition(w)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(w){const x=this._player;x.triggerCallback&&x.triggerCallback(w)}}function Cr(W){return W&&1===W.nodeType}function Uo(W,w){const x=W.style.display;return W.style.display=w??"none",x}function Er(W,w,x,H,pe){const ct=[];x.forEach(hi=>ct.push(Uo(hi)));const Ut=[];H.forEach((hi,wi)=>{const mn=new Map;hi.forEach(en=>{const kn=w.computeStyle(wi,en,pe);mn.set(en,kn),(!kn||0==kn.length)&&(wi[Xn]=so,Ut.push(wi))}),W.set(wi,mn)});let ti=0;return x.forEach(hi=>Uo(hi,ct[ti++])),Ut}function ja(W,w){const x=new Map;if(W.forEach(ti=>x.set(ti,[])),0==w.length)return x;const pe=new Set(w),ct=new Map;function Ut(ti){if(!ti)return 1;let hi=ct.get(ti);if(hi)return hi;const wi=ti.parentNode;return hi=x.has(wi)?wi:pe.has(wi)?1:Ut(wi),ct.set(ti,hi),hi}return w.forEach(ti=>{const hi=Ut(ti);1!==hi&&x.get(hi).push(ti)}),x}function Qn(W,w){W.classList?.add(w)}function Qa(W,w){W.classList?.remove(w)}function ar(W,w,x){$e(x).onDone(()=>W.processLeaveNode(w))}function Nr(W,w){for(let x=0;x<W.length;x++){const H=W[x];H instanceof _.ZE?Nr(H.players,w):w.push(H)}}function tr(W,w,x){const H=x.get(W);if(!H)return!1;let pe=w.get(W);return pe?H.forEach(ct=>pe.add(ct)):w.set(W,H),x.delete(W),!0}class Ta{constructor(w,x,H){this.bodyNode=w,this._driver=x,this._normalizer=H,this._triggerCache={},this.onRemovalComplete=(pe,ct)=>{},this._transitionEngine=new Po(w,x,H),this._timelineEngine=new Ja(w,x,H),this._transitionEngine.onRemovalComplete=(pe,ct)=>this.onRemovalComplete(pe,ct)}registerTrigger(w,x,H,pe,ct){const Ut=w+"-"+pe;let ti=this._triggerCache[Ut];if(!ti){const hi=[],wi=[],mn=ci(this._driver,ct,hi,wi);if(hi.length)throw function i(W,w){return new t.vHH(3404,!1)}();wi.length,ti=function ro(W,w,x){return new jn(W,w,x)}(pe,mn,this._normalizer),this._triggerCache[Ut]=ti}this._transitionEngine.registerTrigger(x,pe,ti)}register(w,x){this._transitionEngine.register(w,x)}destroy(w,x){this._transitionEngine.destroy(w,x)}onInsert(w,x,H,pe){this._transitionEngine.insertNode(w,x,H,pe)}onRemove(w,x,H,pe){this._transitionEngine.removeNode(w,x,pe||!1,H)}disableAnimations(w,x){this._transitionEngine.markElementAsDisabled(w,x)}process(w,x,H,pe){if("@"==H.charAt(0)){const[ct,Ut]=Te(H),ti=pe;this._timelineEngine.command(ct,x,Ut,ti)}else this._transitionEngine.trigger(w,x,H,pe)}listen(w,x,H,pe,ct){if("@"==H.charAt(0)){const[Ut,ti]=Te(H);return this._timelineEngine.listen(Ut,x,ti,ct)}return this._transitionEngine.listen(w,x,H,pe,ct)}flush(w=-1){this._transitionEngine.flush(w)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}class Qe{constructor(w,x,H){this._element=w,this._startStyles=x,this._endStyles=H,this._state=0;let pe=Qe.initialStylesByElement.get(w);pe||Qe.initialStylesByElement.set(w,pe=new Map),this._initialStyles=pe}start(){this._state<1&&(this._startStyles&&Ke(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Ke(this._element,this._initialStyles),this._endStyles&&(Ke(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Qe.initialStylesByElement.delete(this._element),this._startStyles&&(vt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(vt(this._element,this._endStyles),this._endStyles=null),Ke(this._element,this._initialStyles),this._state=3)}}function Dt(W){let w=null;return W.forEach((x,H)=>{(function xi(W){return"display"===W||"position"===W})(H)&&(w=w||new Map,w.set(H,x))}),w}Qe.initialStylesByElement=new WeakMap;class Ki{constructor(w,x,H,pe){this.element=w,this.keyframes=x,this.options=H,this._specialStyles=pe,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=H.duration,this._delay=H.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(w=>w()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const w=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,w,this.options),this._finalKeyframe=w.length?w[w.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(w){const x=[];return w.forEach(H=>{x.push(Object.fromEntries(H))}),x}_triggerWebAnimation(w,x,H){return w.animate(this._convertKeyframesToObject(x),H)}onStart(w){this._originalOnStartFns.push(w),this._onStartFns.push(w)}onDone(w){this._originalOnDoneFns.push(w),this._onDoneFns.push(w)}onDestroy(w){this._onDestroyFns.push(w)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(w=>w()),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(w=>w()),this._onDestroyFns=[])}setPosition(w){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=w*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const w=new Map;this.hasStarted()&&this._finalKeyframe.forEach((H,pe)=>{"offset"!==pe&&w.set(pe,this._finished?H:Wi(this.element,pe))}),this.currentSnapshot=w}triggerCallback(w){const x="start"===w?this._onStartFns:this._onDoneFns;x.forEach(H=>H()),x.length=0}}class wn{validateStyleProperty(w){return!0}validateAnimatableStyleProperty(w){return!0}matchesElement(w,x){return!1}containsElement(w,x){return bt(w,x)}getParentElement(w){return de(w)}query(w,x,H){return Be(w,x,H)}computeStyle(w,x,H){return window.getComputedStyle(w)[x]}animate(w,x,H,pe,ct,Ut=[]){const hi={duration:H,delay:pe,fill:0==pe?"both":"forwards"};ct&&(hi.easing=ct);const wi=new Map,mn=Ut.filter(Bn=>Bn instanceof Ki);(function Oi(W,w){return 0===W||0===w})(H,pe)&&mn.forEach(Bn=>{Bn.currentSnapshot.forEach((En,Sn)=>wi.set(Sn,En))});let en=function We(W){return W.length?W[0]instanceof Map?W:W.map(w=>Ce(w)):[]}(x).map(Bn=>Tt(Bn));en=function Li(W,w,x){if(x.size&&w.length){let H=w[0],pe=[];if(x.forEach((ct,Ut)=>{H.has(Ut)||pe.push(Ut),H.set(Ut,ct)}),pe.length)for(let ct=1;ct<w.length;ct++){let Ut=w[ct];pe.forEach(ti=>Ut.set(ti,Wi(W,ti)))}}return w}(w,en,wi);const kn=function mi(W,w){let x=null,H=null;return Array.isArray(w)&&w.length?(x=Dt(w[0]),w.length>1&&(H=Dt(w[w.length-1]))):w instanceof Map&&(x=Dt(w)),x||H?new Qe(W,x,H):null}(w,en);return new Ki(w,en,hi,kn)}}var Qi=f(4666);class sa extends _._j{constructor(w,x){super(),this._nextAnimationId=0;const H={id:"0",encapsulation:t.ifc.None,styles:[],data:{animation:[]}};this._renderer=w.createRenderer(x.body,H)}build(w){const x=this._nextAnimationId.toString();this._nextAnimationId++;const H=Array.isArray(w)?(0,_.vP)(w):w;return ge(this._renderer,null,x,"register",[H]),new Fr(x,this._renderer)}}sa.\u0275fac=function(w){return new(w||sa)(t.LFG(t.FYo),t.LFG(Qi.K0))},sa.\u0275prov=t.Yz7({token:sa,factory:sa.\u0275fac});class Fr extends _.LC{constructor(w,x){super(),this._id=w,this._renderer=x}create(w,x){return new Et(this._id,w,x||{},this._renderer)}}class Et{constructor(w,x,H,pe){this.id=w,this.element=x,this._renderer=pe,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",H)}_listen(w,x){return this._renderer.listen(this.element,`@@${this.id}:${w}`,x)}_command(w,...x){return ge(this._renderer,this.element,this.id,w,x)}onDone(w){this._listen("done",w)}onStart(w){this._listen("start",w)}onDestroy(w){this._listen("destroy",w)}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(w){this._command("setPosition",w)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function ge(W,w,x,H,pe){return W.setProperty(w,`@@${x}:${H}`,pe)}const Xt="@.disabled";class Ni{constructor(w,x,H){this.delegate=w,this.engine=x,this._zone=H,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),x.onRemovalComplete=(pe,ct)=>{const Ut=ct?.parentNode(pe);Ut&&ct.removeChild(Ut,pe)}}createRenderer(w,x){const pe=this.delegate.createRenderer(w,x);if(!(w&&x&&x.data&&x.data.animation)){let wi=this._rendererCache.get(pe);if(!wi){const mn=()=>this._rendererCache.delete(pe);wi=new An("",pe,this.engine,mn),this._rendererCache.set(pe,wi)}return wi}const ct=x.id,Ut=x.id+"-"+this._currentId;this._currentId++,this.engine.register(Ut,w);const ti=wi=>{Array.isArray(wi)?wi.forEach(ti):this.engine.registerTrigger(ct,Ut,w,wi.name,wi)};return x.data.animation.forEach(ti),new rr(this,Ut,pe,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(w,x,H){w>=0&&w<this._microtaskId?this._zone.run(()=>x(H)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(pe=>{const[ct,Ut]=pe;ct(Ut)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([x,H]))}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()}}Ni.\u0275fac=function(w){return new(w||Ni)(t.LFG(t.FYo),t.LFG(Ta),t.LFG(t.R0b))},Ni.\u0275prov=t.Yz7({token:Ni,factory:Ni.\u0275fac});class An{constructor(w,x,H,pe){this.namespaceId=w,this.delegate=x,this.engine=H,this._onDestroy=pe,this.destroyNode=this.delegate.destroyNode?ct=>x.destroyNode(ct):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(w,x){return this.delegate.createElement(w,x)}createComment(w){return this.delegate.createComment(w)}createText(w){return this.delegate.createText(w)}appendChild(w,x){this.delegate.appendChild(w,x),this.engine.onInsert(this.namespaceId,x,w,!1)}insertBefore(w,x,H,pe=!0){this.delegate.insertBefore(w,x,H),this.engine.onInsert(this.namespaceId,x,w,pe)}removeChild(w,x,H){this.engine.onRemove(this.namespaceId,x,this.delegate,H)}selectRootElement(w,x){return this.delegate.selectRootElement(w,x)}parentNode(w){return this.delegate.parentNode(w)}nextSibling(w){return this.delegate.nextSibling(w)}setAttribute(w,x,H,pe){this.delegate.setAttribute(w,x,H,pe)}removeAttribute(w,x,H){this.delegate.removeAttribute(w,x,H)}addClass(w,x){this.delegate.addClass(w,x)}removeClass(w,x){this.delegate.removeClass(w,x)}setStyle(w,x,H,pe){this.delegate.setStyle(w,x,H,pe)}removeStyle(w,x,H){this.delegate.removeStyle(w,x,H)}setProperty(w,x,H){"@"==x.charAt(0)&&x==Xt?this.disableAnimations(w,!!H):this.delegate.setProperty(w,x,H)}setValue(w,x){this.delegate.setValue(w,x)}listen(w,x,H){return this.delegate.listen(w,x,H)}disableAnimations(w,x){this.engine.disableAnimations(w,x)}}class rr extends An{constructor(w,x,H,pe,ct){super(x,H,pe,ct),this.factory=w,this.namespaceId=x}setProperty(w,x,H){"@"==x.charAt(0)?"."==x.charAt(1)&&x==Xt?(H=void 0===H||!!H,this.disableAnimations(w,H)):this.engine.process(this.namespaceId,w,x.slice(1),H):this.delegate.setProperty(w,x,H)}listen(w,x,H){if("@"==x.charAt(0)){const pe=function bo(W){switch(W){case"body":return document.body;case"document":return document;case"window":return window;default:return W}}(w);let ct=x.slice(1),Ut="";return"@"!=ct.charAt(0)&&([ct,Ut]=function Ss(W){const w=W.indexOf("."),x=W.substring(0,w),H=W.slice(w+1);return[x,H]}(ct)),this.engine.listen(this.namespaceId,pe,ct,Ut,ti=>{const hi=ti._data||-1;this.factory.scheduleListenerCallback(hi,H,ti)})}return this.delegate.listen(w,x,H)}}class $o extends Ta{constructor(w,x,H,pe){super(w.body,x,H)}ngOnDestroy(){this.flush()}}$o.\u0275fac=function(w){return new(w||$o)(t.LFG(Qi.K0),t.LFG(gt),t.LFG(qn),t.LFG(t.z2F))},$o.\u0275prov=t.Yz7({token:$o,factory:$o.\u0275fac});const Fi=[{provide:_._j,useClass:sa},{provide:qn,useFactory:function Pc(){return new wa}},{provide:Ta,useClass:$o},{provide:t.FYo,useFactory:function ps(W,w,x){return new Ni(W,w,x)},deps:[e.se,Ta,t.R0b]}],zn=[{provide:gt,useFactory:()=>new wn},{provide:t.QbO,useValue:"BrowserAnimations"},...Fi],es=[{provide:gt,useClass:$t},{provide:t.QbO,useValue:"NoopAnimations"},...Fi];class or{static withConfig(w){return{ngModule:or,providers:w.disableAnimations?es:zn}}}or.\u0275fac=function(w){return new(w||or)},or.\u0275mod=t.oAB({type:or}),or.\u0275inj=t.cJS({providers:zn,imports:[e.b2]});class zr{}zr.\u0275fac=function(w){return new(w||zr)},zr.\u0275mod=t.oAB({type:zr}),zr.\u0275inj=t.cJS({providers:es,imports:[e.b2]});var Oa=f(8987),$n=f(3278),Ui=f(9263),yo=f(3599),dc=f(5242),qi=f(253),Vo=f(6646),Fa=f(3280),co=f(7400),Wo=f(6936),ts=f(8947);function Qr(W=0,w=Wo.z){return W<0&&(W=0),(0,ts.H)(W,W,w)}var ks=f(745),Vl=f(7714),Wl=f(1944),Kl=f(3945),Rc=f(9663),Gs=f(420),Ys=f(1817);var wr=f(116),Rs=f(9337),Zs=f(2673),hn=f(8951),hc=f(2313),sl=f(8977),xo=f(635);class Ro{}class is{constructor(w,x){this._ngZone=x,this.timerStart$=new qi.x,this.idleDetected$=new qi.x,this.timeout$=new qi.x,this.idleMillisec=6e5,this.idleSensitivityMillisec=1e3,this.timeout=300,this.pingMillisec=12e4,this.isTimeout=!1,this.isInactivityTimer=!1,this.isIdleDetected=!1,w&&this.setConfig(w)}startWatching(){this.activityEvents$||(this.activityEvents$=(0,Vo.T)((0,Fa.R)(window,"mousemove"),(0,Fa.R)(window,"resize"),(0,Fa.R)(document,"keydown"))),this.idle$=(0,co.D)(this.activityEvents$),this.idleSubscription&&this.idleSubscription.unsubscribe(),this.idleSubscription=this.idle$.pipe(function Ps(W,...w){var x,H;const pe=null!==(x=(0,Gs.yG)(w))&&void 0!==x?x:Wo.z,ct=null!==(H=w[0])&&void 0!==H?H:null,Ut=w[1]||1/0;return(0,Wl.e)((ti,hi)=>{let wi=[],mn=!1;const en=En=>{const{buffer:Sn,subs:ia}=En;ia.unsubscribe(),(0,Rc.P)(wi,En),hi.next(Sn),mn&&kn()},kn=()=>{if(wi){const En=new Vl.w0;hi.add(En);const ia={buffer:[],subs:En};wi.push(ia),(0,Ys.f)(En,pe,()=>en(ia),W)}};null!==ct&&ct>=0?(0,Ys.f)(hi,pe,kn,ct,!0):mn=!0,kn();const Bn=(0,Kl.x)(hi,En=>{const Sn=wi.slice();for(const ia of Sn){const{buffer:Ma}=ia;Ma.push(En),Ut<=Ma.length&&en(ia)}},()=>{for(;wi?.length;)hi.next(wi.shift().buffer);Bn?.unsubscribe(),hi.complete(),hi.unsubscribe()},void 0,()=>wi=null);ti.subscribe(Bn)})}(this.idleSensitivityMillisec),(0,wr.h)(w=>!w.length&&!this.isIdleDetected&&!this.isInactivityTimer),(0,Rs.b)(()=>{this.isIdleDetected=!0,this.idleDetected$.next(!0)}),(0,Zs.w)(()=>this._ngZone.runOutsideAngular(()=>Qr(1e3).pipe((0,hn.R)((0,Vo.T)(this.activityEvents$,(0,ts.H)(this.idleMillisec).pipe((0,Rs.b)(()=>{this.isInactivityTimer=!0,this.timerStart$.next(!0)})))),(0,hc.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,sl.x)(),(0,Zs.w)(w=>w?this.timer$:(0,ks.of)(null)))}onIdleStatusChanged(){return this.idleDetected$.asObservable()}onTimeout(){return this.timeout$.pipe((0,wr.h)(w=>!!w),(0,Rs.b)(()=>this.isTimeout=!0),(0,xo.U)(()=>!0))}getConfigValue(){return{idle:this.idleMillisec/1e3,idleSensitivity:this.idleSensitivityMillisec/1e3,timeout:this.timeout,ping:this.pingMillisec/1e3}}setConfigValues(w){!this.idleSubscription||this.idleSubscription.closed?this.setConfig(w):console.error("Call stopWatching() before set config values")}setConfig(w){w.idle&&(this.idleMillisec=1e3*w.idle),w.ping&&(this.pingMillisec=1e3*w.ping),w.idleSensitivity&&(this.idleSensitivityMillisec=1e3*w.idleSensitivity),w.timeout&&(this.timeout=w.timeout)}setCustomActivityEvents(w){!this.idleSubscription||this.idleSubscription.closed?this.activityEvents$=w:console.error("Call stopWatching() before set custom activity events")}setupTimer(w){this._ngZone.runOutsideAngular(()=>{this.timer$=(0,ks.of)(()=>new Date).pipe((0,xo.U)(x=>x()),(0,Zs.w)(x=>Qr(1e3).pipe((0,xo.U)(()=>Math.round(((new Date).valueOf()-x.valueOf())/1e3)),(0,Rs.b)(H=>{H>=w&&this.timeout$.next(!0)}))))})}setupPing(w){this.ping$=Qr(w).pipe((0,wr.h)(()=>!this.isTimeout))}}is.\u0275fac=function(w){return new(w||is)(t.LFG(Ro,8),t.LFG(t.R0b))},is.\u0275prov=t.Yz7({token:is,factory:is.\u0275fac,providedIn:"root"});class lo{static forRoot(w){return{ngModule:lo,providers:[{provide:Ro,useValue:w}]}}}lo.\u0275fac=function(w){return new(w||lo)},lo.\u0275mod=t.oAB({type:lo}),lo.\u0275inj=t.cJS({imports:[[]]});var Fe=f(3547),ce=f(9306),ht=f(8377),zt=f(3505),Gt=f(6722),_i=f(2156),Vi=f(5892);const it=function(){return{initial:!1}};function dt(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"div",11),t.NdJ("click",function(){t.CHM(x);const pe=t.oxw();return t.KtG(pe.activeLink=pe.links[1].link)}),t._uU(1),t.qZA()}if(2&W){const x=t.oxw();t.s9C("routerLink",x.links[1].link),t.Q6J("active",x.activeLink===x.links[1].link)("state",t.DdM(4,it)),t.xp6(1),t.Oqu(x.links[1].name)}}function Ct(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"div",6),t.NdJ("click",function(){t.CHM(x);const pe=t.oxw();return t.KtG(pe.activeLink=pe.links[2].link)}),t._uU(1),t.qZA()}if(2&W){const x=t.oxw();t.s9C("routerLink",x.links[2].link),t.Q6J("active",x.activeLink===x.links[2].link),t.xp6(1),t.Oqu(x.links[2].name)}}class Ht{constructor(w,x){this.store=w,this.router=x,this.faUserCog=ce.gNZ,this.showBitcoind=!1,this.links=[{link:"app",name:"Application"},{link:"auth",name:"Authentication"},{link:"bconfig",name:"BitcoinD Config"}],this.activeLink="",this.unSubs=[new qi.x,new qi.x,new qi.x]}ngOnInit(){const w=this.links.find(x=>this.router.url.includes(x.link));this.activeLink=w?w.link:this.links[0].link,this.router.events.pipe((0,hn.R)(this.unSubs[0]),(0,wr.h)(x=>x instanceof Fe.Av)).subscribe({next:x=>{const H=this.links.find(pe=>x.urlAfterRedirects.includes(pe.link));this.activeLink=H?H.link:this.links[0].link}}),this.store.select(ht.Yj).pipe((0,hn.R)(this.unSubs[1])).subscribe(x=>{this.appConfig=x}),this.store.select(ht.dT).pipe((0,hn.R)(this.unSubs[2])).subscribe(x=>{this.showBitcoind=!1,this.selNode=x,this.selNode.settings&&this.selNode.settings.bitcoindConfigPath&&""!==this.selNode.settings.bitcoindConfigPath.trim()&&(this.showBitcoind=!0)})}ngOnDestroy(){this.unSubs.forEach(w=>{w.next(null),w.complete()})}static#e=this.\u0275fac=function(x){return new(x||Ht)(t.Y36(Ui.yh),t.Y36(Fe.F0))};static#t=this.\u0275cmp=t.Xpm({type:Ht,selectors:[["rtl-settings"]],decls:16,vars:7,consts:[["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column",1,"padding-gap-x"],["fxLayout","column"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"],["role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","state","click",4,"ngIf"],["role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngIf"],["tabPanel",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch",1,"mat-tab-body-wrapper"],["role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","state","click"]],template:function(x,H){if(1&x&&(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 H.activeLink=H.links[0].link}),t._uU(9),t.qZA(),t.YNc(10,dt,2,5,"div",7),t.YNc(11,Ct,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&x){const pe=t.MAs(13);t.xp6(1),t.Q6J("icon",H.faUserCog),t.xp6(6),t.Q6J("tabPanel",pe),t.xp6(1),t.s9C("routerLink",H.links[0].link),t.Q6J("active",H.activeLink===H.links[0].link),t.xp6(1),t.Oqu(H.links[0].name),t.xp6(1),t.Q6J("ngIf",!+H.appConfig.sso.rtlSSO),t.xp6(1),t.Q6J("ngIf",H.showBitcoind)}},dependencies:[Qi.O5,zt.BN,Gt.xw,Gt.Wh,Gt.yH,_i.a8,_i.dn,Vi.BU,Vi.sW,Vi.Nj,Fe.lC,Fe.rH]})}var Xe=f(7731),Jt=f(7861),li=f(5043),ni=f(2508),Ai=f(4522),Ri=f(5074),tn=f(7371),sn=f(207),Cn=f(8822),On=f(3390);function pr(W,w){if(1&W&&(t.TgZ(0,"mat-option",16),t._uU(1),t.qZA()),2&W){const x=w.$implicit;t.Q6J("value",x.index),t.xp6(1),t.AsE(" ",x.lnNode," (",x.lnImplementation,") ")}}function Dr(W,w){if(1&W){const x=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",10)(13,"mat-select",11),t.NdJ("ngModelChange",function(pe){t.CHM(x);const ct=t.oxw();return t.KtG(ct.appConfig.defaultNodeIndex=pe)}),t.YNc(14,pr,2,3,"mat-option",12),t.qZA()()(),t.TgZ(15,"div",13)(16,"div",10)(17,"button",14),t.NdJ("click",function(){t.CHM(x);const pe=t.oxw();return t.KtG(pe.onResetSettings())}),t._uU(18,"Reset"),t.qZA(),t.TgZ(19,"button",15),t.NdJ("click",function(){t.CHM(x);const pe=t.oxw();return t.KtG(pe.onUpdateSettings())}),t._uU(20,"Update"),t.qZA()()()()()}if(2&W){const x=t.oxw();t.xp6(3),t.Q6J("icon",x.faWindowRestore),t.xp6(5),t.Q6J("icon",x.faInfoCircle),t.xp6(5),t.Q6J("ngModel",x.appConfig.defaultNodeIndex),t.xp6(1),t.Q6J("ngForOf",x.appConfig.nodes)}}class qr{constructor(w,x){this.logger=w,this.store=x,this.faInfoCircle=ce.sqG,this.faWindowRestore=ce.wyP,this.faPlus=ce.r8p,this.previousDefaultNode=0,this.unSubs=[new qi.x,new qi.x]}ngOnInit(){this.store.select(ht.Yj).pipe((0,hn.R)(this.unSubs[0])).subscribe(w=>{this.appConfig=w,this.previousDefaultNode=this.appConfig.defaultNodeIndex,this.logger.info(w)})}onAddNewNode(){this.logger.warn("ADD NEW NODE")}onUpdateSettings(){const w=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;this.store.dispatch((0,Jt.zQ)({payload:{uiMessage:Xe.m6.UPDATE_DEFAULT_NODE_SETTING,defaultNodeIndex:w}}))}onResetSettings(){this.appConfig.defaultNodeIndex=this.previousDefaultNode}ngOnDestroy(){this.unSubs.forEach(w=>{w.next(),w.complete()})}static#e=this.\u0275fac=function(x){return new(x||qr)(t.Y36(li.mQ),t.Y36(Ui.yh))};static#t=this.\u0275cmp=t.Xpm({type:qr,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"],["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(x,H){1&x&&(t.TgZ(0,"div",0),t.YNc(1,Dr,21,4,"form",1),t.qZA()),2&x&&(t.xp6(1),t.Q6J("ngIf",H.appConfig.nodes&&H.appConfig.nodes.length&&H.appConfig.nodes.length>0))},dependencies:[Qi.sg,Qi.O5,ni._Y,ni.JJ,ni.JL,ni.On,ni.F,zt.BN,Gt.xw,Gt.Wh,Gt.yH,Ai.lW,Ri.KE,tn.gD,sn.ey,Cn.$V,On.h]})}var Tr=f(9591),za=f(9295),ba=f(4481),ho=f(74),Sa=f(3093),_s=f(930),Ar=f(1267),Co=f(4193),gs=f(6021),uc=f(6895);const Ir=["stepper"];function cl(W,w){if(1&W&&t._uU(0),2&W){const x=t.oxw();t.Oqu(x.passwordFormLabel)}}function mc(W,w){1&W&&(t.TgZ(0,"mat-error"),t._uU(1,"Password is required."),t.qZA())}function pc(W,w){if(1&W&&t._uU(0),2&W){const x=t.oxw(2);t.Oqu(x.secretFormLabel)}}function O1(W,w){if(1&W&&t._UZ(0,"qr-code",32),2&W){const x=t.oxw(2);t.Q6J("value",x.otpauth)("size",180)("errorCorrectionLevel","L")}}function Od(W,w){1&W&&(t.TgZ(0,"mat-error"),t._uU(1,"Secret Code is required."),t.qZA())}function sr(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"mat-step",10)(1,"form",21),t.YNc(2,pc,1,1,"ng-template",22),t.TgZ(3,"div",23),t.YNc(4,O1,1,3,"qr-code",24),t.qZA(),t.TgZ(5,"div",25),t._UZ(6,"fa-icon",26),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",27)(10,"mat-form-field",1),t._UZ(11,"input",28),t.TgZ(12,"fa-icon",29),t.NdJ("copied",function(pe){t.CHM(x);const ct=t.oxw();return t.KtG(ct.onCopySecret(pe))}),t.qZA(),t.YNc(13,Od,2,0,"mat-error",14),t.qZA()(),t.TgZ(14,"div",30)(15,"button",31),t._uU(16,"Next"),t.qZA()()()()}if(2&W){const x=t.oxw();t.Q6J("stepControl",x.secretFormGroup)("editable",x.flgEditable),t.xp6(1),t.Q6J("formGroup",x.secretFormGroup),t.xp6(3),t.Q6J("ngIf",x.otpauth),t.xp6(2),t.Q6J("icon",x.faInfoCircle),t.xp6(6),t.Q6J("icon",x.faCopy)("payload",null==x.secretFormGroup||null==x.secretFormGroup.controls||null==x.secretFormGroup.controls.secret?null:x.secretFormGroup.controls.secret.value),t.xp6(1),t.Q6J("ngIf",null==x.secretFormGroup||null==x.secretFormGroup.controls||null==x.secretFormGroup.controls.secret||null==x.secretFormGroup.controls.secret.errors?null:x.secretFormGroup.controls.secret.errors.required)}}function fc(W,w){if(1&W&&t._uU(0),2&W){const x=t.oxw(2);t.Oqu(x.tokenFormLabel)}}function Es(W,w){1&W&&(t.TgZ(0,"mat-error"),t._uU(1,"Token is required."),t.qZA())}function vs(W,w){1&W&&(t.TgZ(0,"mat-error"),t._uU(1,"Token is invalid."),t.qZA())}function Bc(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"div",7)(1,"div",27)(2,"mat-form-field",1),t._UZ(3,"input",36),t.YNc(4,Es,2,0,"mat-error",14),t.YNc(5,vs,2,0,"mat-error",14),t.qZA()(),t.TgZ(6,"div",30)(7,"button",37),t.NdJ("click",function(){t.CHM(x);const pe=t.oxw(2);return t.KtG(pe.onVerifyToken())}),t._uU(8),t.qZA()()()}if(2&W){const x=t.oxw(2);t.xp6(4),t.Q6J("ngIf",null==x.tokenFormGroup||null==x.tokenFormGroup.controls||null==x.tokenFormGroup.controls.token||null==x.tokenFormGroup.controls.token.errors?null:x.tokenFormGroup.controls.token.errors.required),t.xp6(1),t.Q6J("ngIf",null==x.tokenFormGroup||null==x.tokenFormGroup.controls||null==x.tokenFormGroup.controls.token||null==x.tokenFormGroup.controls.token.errors?null:x.tokenFormGroup.controls.token.errors.notValid),t.xp6(3),t.Oqu(null!=x.tokenFormGroup&&null!=x.tokenFormGroup.controls&&null!=x.tokenFormGroup.controls.token&&null!=x.tokenFormGroup.controls.token.errors&&x.tokenFormGroup.controls.token.errors.notValid?"Retry":"Verify")}}function _c(W,w){1&W&&(t.TgZ(0,"div")(1,"strong"),t._uU(2,"Success! You are all set."),t.qZA()())}function Sd(W,w){if(1&W&&(t.TgZ(0,"mat-step",33)(1,"form",34),t.YNc(2,fc,1,1,"ng-template",12),t.YNc(3,Bc,9,3,"div",35),t.YNc(4,_c,3,0,"div",14),t.qZA()()),2&W){const x=t.oxw();t.Q6J("stepControl",x.tokenFormGroup),t.xp6(1),t.Q6J("formGroup",x.tokenFormGroup),t.xp6(2),t.Q6J("ngIf",!x.flgValidated||!x.isTokenValid),t.xp6(1),t.Q6J("ngIf",x.flgValidated&&x.isTokenValid)}}function kd(W,w){if(1&W&&t._uU(0),2&W){const x=t.oxw(2);t.Oqu(x.disableFormLabel)}}function gc(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"div",7)(1,"div",38),t._UZ(2,"fa-icon",26),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",30)(6,"button",37),t.NdJ("click",function(){t.CHM(x);const pe=t.oxw(2);return t.KtG(pe.onVerifyToken())}),t._uU(7,"Disable"),t.qZA()()()}if(2&W){const x=t.oxw(2);t.xp6(2),t.Q6J("icon",x.faExclamationTriangle)}}function ll(W,w){1&W&&(t.TgZ(0,"div")(1,"strong"),t._uU(2,"Two factor authentication removed from RTL."),t.qZA()())}function S1(W,w){if(1&W&&(t.TgZ(0,"mat-step",33)(1,"form",34),t.YNc(2,kd,1,1,"ng-template",12),t.YNc(3,gc,8,1,"div",35),t.YNc(4,ll,3,0,"div",14),t.qZA()()),2&W){const x=t.oxw();t.Q6J("stepControl",x.disableFormGroup),t.xp6(1),t.Q6J("formGroup",x.disableFormGroup),t.xp6(2),t.Q6J("ngIf",!x.flgValidated||!x.isTokenValid),t.xp6(1),t.Q6J("ngIf",x.flgValidated&&x.isTokenValid)}}class Pd{constructor(w,x,H,pe,ct,Ut){this.dialogRef=w,this.data=x,this.store=H,this.formBuilder=pe,this.rtlEffects=ct,this.snackBar=Ut,this.faExclamationTriangle=ce.eHv,this.faCopy=ce.kZ_,this.faInfoCircle=ce.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:["",[ni.kI.required]],password:["",[ni.kI.required]]}),this.secretFormGroup=this.formBuilder.group({secret:[{value:"",disabled:!0},ni.kI.required]}),this.tokenFormGroup=this.formBuilder.group({token:["",ni.kI.required]}),this.disableFormGroup=this.formBuilder.group({}),this.unSubs=[new qi.x,new qi.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},ni.kI.required]})}generateSecret(){const w=ho.authenticator.generateSecret();return this.otpauth=ho.authenticator.keyuri("","Ride The Lightning (RTL)",w),w}onAuthenticate(){if(!this.passwordFormGroup.controls.password.value)return!0;this.flgValidated=!1,this.store.dispatch((0,Jt.QO)({payload:Tr(this.passwordFormGroup.controls.password.value).toString()})),this.rtlEffects.isAuthorizedRes.pipe((0,za.q)(1)).subscribe(w=>{"ERROR"!==w?(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(w){this.snackBar.open("Secret code "+this.secretFormGroup.controls.secret.value+" copied.")}onVerifyToken(){if(this.appConfig?.enable2FA)this.store.dispatch((0,Jt.Uy)({payload:{secret2fa:""}})),this.generateSecret(),this.isTokenValid=!0;else{if(!this.tokenFormGroup.controls.token.value)return!0;if(this.isTokenValid=ho.authenticator.check(this.tokenFormGroup.controls.token.value,this.secretFormGroup.controls.secret.value),!this.isTokenValid)return this.tokenFormGroup.controls.token.setErrors({notValid:!0}),!0;this.store.dispatch((0,Jt.Uy)({payload:{secret2fa:this.secretFormGroup.controls.secret.value}})),this.tokenFormGroup.controls.token.setValue("")}this.flgValidated=!0,this.appConfig&&(this.appConfig.enable2FA=!this.appConfig?.enable2FA)}stepSelectionChanged(w){switch(w.selectedIndex){case 0:default:this.passwordFormLabel="Authenticate with your RTL password";break;case 1:case 2:this.passwordFormLabel="User authenticated successfully"}w.selectedIndex<w.previouslySelectedIndex&&0===w.selectedIndex&&this.passwordFormGroup.controls.hiddenPassword.setValue("")}ngOnDestroy(){this.unSubs.forEach(w=>{w.next(),w.complete()})}static#e=this.\u0275fac=function(x){return new(x||Pd)(t.Y36(ba.so),t.Y36(ba.WI),t.Y36(Ui.yh),t.Y36(ni.QS),t.Y36(Sa.V),t.Y36(_s.ux))};static#t=this.\u0275cmp=t.Xpm({type:Pd,selectors:[["rtl-two-factor-auth"]],viewQuery:function(x,H){if(1&x&&t.Gf(Ir,5),2&x){let pe;t.iGM(pe=t.CRH())&&(H.stepper=pe.first)}},decls:28,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","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",""],["autoFocus","","matInput","","placeholder","Password","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","","placeholder","Secret Code","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","","placeholder","Token","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(x,H){1&x&&(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(ct){return H.stepSelectionChanged(ct)}),t.TgZ(12,"mat-step",10)(13,"form",11),t.YNc(14,cl,1,1,"ng-template",12),t.TgZ(15,"div",0)(16,"mat-form-field",1),t._UZ(17,"input",13),t.YNc(18,mc,2,0,"mat-error",14),t.qZA()(),t.TgZ(19,"div",15)(20,"button",16),t.NdJ("click",function(){return H.onAuthenticate()}),t._uU(21,"Confirm"),t.qZA()()()(),t.YNc(22,sr,17,8,"mat-step",17),t.YNc(23,Sd,5,4,"mat-step",18),t.YNc(24,S1,5,4,"mat-step",18),t.qZA(),t.TgZ(25,"div",19)(26,"button",20),t._uU(27),t.qZA()()()()()()),2&x&&(t.xp6(6),t.Q6J("mat-dialog-close",!1),t.xp6(4),t.Q6J("linear",!0),t.xp6(2),t.Q6J("stepControl",H.passwordFormGroup)("editable",H.flgEditable),t.xp6(1),t.Q6J("formGroup",H.passwordFormGroup),t.xp6(5),t.Q6J("ngIf",null==H.passwordFormGroup||null==H.passwordFormGroup.controls||null==H.passwordFormGroup.controls.password||null==H.passwordFormGroup.controls.password.errors?null:H.passwordFormGroup.controls.password.errors.required),t.xp6(4),t.Q6J("ngIf",!H.showDisableStepper),t.xp6(1),t.Q6J("ngIf",!H.showDisableStepper),t.xp6(1),t.Q6J("ngIf",H.showDisableStepper),t.xp6(2),t.Q6J("mat-dialog-close",!1),t.xp6(1),t.Oqu(H.flgValidated&&H.isTokenValid?"Close":"Cancel"))},dependencies:[Qi.O5,ni._Y,ni.Fj,ni.JJ,ni.JL,ni.Q7,ni.sg,ni.u,zt.BN,Gt.xw,Gt.Wh,Gt.yH,ba.ZT,Ai.lW,_i.dn,_i.dk,Ar.Nt,Ri.KE,Ri.TO,Ri.R9,Co.C0,Co.VY,Co.Vq,Co.Ic,gs.uU,uc.y,On.h]})}var js=f(5986),ns=f(1528);const vc=["authForm"];function dl(W,w){1&W&&(t.TgZ(0,"mat-error"),t._uU(1,"Current password is required."),t.qZA())}function Rd(W,w){if(1&W&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&W){const x=t.oxw(2);t.xp6(1),t.Oqu(x.errorMsg)}}function Gl(W,w){if(1&W&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&W){const x=t.oxw(2);t.xp6(1),t.Oqu(x.errorConfirmMsg)}}function as(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"form",10,11)(2,"div",12),t._UZ(3,"fa-icon",4),t.TgZ(4,"span",5),t._uU(5,"Password"),t.qZA()(),t.TgZ(6,"mat-form-field")(7,"input",13),t.NdJ("ngModelChange",function(pe){t.CHM(x);const ct=t.oxw();return t.KtG(ct.currPassword=pe)}),t.qZA(),t.YNc(8,dl,2,0,"mat-error",14),t.qZA(),t.TgZ(9,"mat-form-field")(10,"input",15),t.NdJ("ngModelChange",function(pe){t.CHM(x);const ct=t.oxw();return t.KtG(ct.newPassword=pe)}),t.qZA(),t.YNc(11,Rd,2,1,"mat-error",14),t.qZA(),t.TgZ(12,"mat-form-field")(13,"input",16),t.NdJ("ngModelChange",function(pe){t.CHM(x);const ct=t.oxw();return t.KtG(ct.confirmPassword=pe)}),t.qZA(),t.YNc(14,Gl,2,1,"mat-error",14),t.qZA(),t.TgZ(15,"div",17)(16,"button",18),t.NdJ("click",function(){t.CHM(x);const pe=t.oxw();return t.KtG(pe.onResetPassword())}),t._uU(17,"Reset"),t.qZA(),t.TgZ(18,"button",19),t.NdJ("click",function(){t.CHM(x);const pe=t.oxw();return t.KtG(pe.onChangePassword())}),t._uU(19,"Change Password"),t.qZA()(),t.TgZ(20,"div",20),t._UZ(21,"mat-divider",21),t.qZA()()}if(2&W){const x=t.oxw();t.xp6(3),t.Q6J("icon",x.faLock),t.xp6(4),t.Q6J("ngModel",x.currPassword),t.xp6(1),t.Q6J("ngIf",!x.currPassword),t.xp6(2),t.Q6J("ngModel",x.newPassword),t.xp6(1),t.Q6J("ngIf",x.matchOldAndNewPasswords()),t.xp6(2),t.Q6J("ngModel",x.confirmPassword),t.xp6(1),t.Q6J("ngIf",x.matchNewPasswords()),t.xp6(7),t.Q6J("inset",!0)}}class Ms{constructor(w,x,H,pe,ct){this.logger=w,this.store=x,this.actions=H,this.router=pe,this.sessionService=ct,this.faInfoCircle=ce.sqG,this.faUserLock=ce.FJU,this.faUserClock=ce.hnx,this.faLock=ce.byT,this.currPassword="",this.newPassword="",this.confirmPassword="",this.errorMsg="",this.errorConfirmMsg="",this.initializeNodeData=!1,this.unSubs=[new qi.x,new qi.x,new qi.x]}ngOnInit(){this.initializeNodeData="true"===this.sessionService.getItem("defaultPassword"),this.store.select(ht.Yj).pipe((0,hn.R)(this.unSubs[0])).subscribe(w=>{this.appConfig=w,this.logger.info(this.appConfig)}),this.store.select(ht.dT).pipe((0,hn.R)(this.unSubs[1])).subscribe(w=>{this.selNode=w}),this.actions.pipe((0,hn.R)(this.unSubs[2]),(0,wr.h)(w=>w.type===Xe.pg.RESET_PASSWORD_RES)).subscribe(w=>{if(Xe.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||Xe.kO.includes(this.newPassword.toLowerCase()))return!0;this.store.dispatch((0,Jt.c0)({payload:{currPassword:Tr(this.currPassword).toString(),newPassword:Tr(this.newPassword).toString()}}))}matchOldAndNewPasswords(){let w=!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.",w=!0):Xe.kO.includes(this.newPassword.toLowerCase())?(this.form.controls.newpassword.setErrors({invalid:!0}),this.errorMsg=Xe.kO?.reduce((x,H,pe)=>pe<Xe.kO.length-1?x+H+'" / "':x+H+'".','Password cannot be "'),w=!0):(this.form.controls.newpassword.setErrors(null),this.errorMsg="",w=!1):(this.form.controls.newpassword.setErrors({invalid:!0}),this.errorMsg="New password is required.",w=!0)),w}matchNewPasswords(){let w=!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.",w=!0):(this.form.controls.confirmpassword.setErrors(null),this.errorConfirmMsg="",w=!1):(this.form.controls.confirmpassword.setErrors({invalid:!0}),this.errorConfirmMsg="Confirm password is required.",w=!0)),w}on2FAuth(){this.store.dispatch((0,Jt.qR)({payload:{data:{appConfig:this.appConfig,component:Pd}}}))}onResetPassword(){this.form.resetForm()}ngOnDestroy(){this.initializeNodeData&&this.store.dispatch((0,Jt.fk)({payload:{uiMessage:Xe.m6.NO_SPINNER,prevLnNodeIndex:-1,currentLnNode:this.selNode,isInitialSetup:!0}})),this.unSubs.forEach(w=>{w.next(),w.complete()})}static#e=this.\u0275fac=function(x){return new(x||Ms)(t.Y36(li.mQ),t.Y36(Ui.yh),t.Y36(yo.eX),t.Y36(Fe.F0),t.Y36(js.m))};static#t=this.\u0275cmp=t.Xpm({type:Ms,selectors:[["rtl-auth-settings"]],viewQuery:function(x,H){if(1&x&&t.Gf(vc,5),2&x){let pe;t.iGM(pe=t.CRH())&&(H.form=pe.first)}},decls:14,vars:4,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"padding-gap-x-large"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch","class","page-sub-title-container mt-1",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch"],[1,"mb-1","settings-container","page-sub-title-container","mt-1"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],[1,"alert","alert-info"],[1,"mt-1","mr-1","alert-icon",3,"icon"],[1,"mt-1"],["mat-flat-button","","color","primary","tabindex","6",1,"mb-2",3,"click"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"page-sub-title-container","mt-1"],["authForm","ngForm"],["fxLayout","row","fxLayoutAlign","start start",1,"mb-2"],["autoFocus","","matInput","","placeholder","Current Password","type","password","id","currpassword","name","currpassword","tabindex","1","required","",3,"ngModel","ngModelChange"],[4,"ngIf"],["matInput","","placeholder","New Password","type","password","id","newpassword","name","newpassword","tabindex","2","required","",3,"ngModel","ngModelChange"],["matInput","","placeholder","Confirm New Password","type","password","id","confirmpassword","name","confirmpassword","tabindex","3","required","",3,"ngModel","ngModelChange"],["fxLayout","row","fxLayoutAlign","start start",1,"mt-1"],["mat-stroked-button","","color","primary","type","reset","tabindex","4",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","tabindex","5","type","submit",3,"click"],["fxLayout","column","fxFlex","100","fxLayoutAlign","end stretch",1,"my-2"],[3,"inset"]],template:function(x,H){1&x&&(t.TgZ(0,"div",0),t.YNc(1,as,22,8,"form",1),t.TgZ(2,"div",2)(3,"div",3),t._UZ(4,"fa-icon",4),t.TgZ(5,"span",5),t._uU(6,"Two Factor Authentication"),t.qZA()(),t.TgZ(7,"div",6),t._UZ(8,"fa-icon",7),t.TgZ(9,"span"),t._uU(10,"Protect your account from unauthorized access by requiring a second authentication method in addition to your password."),t.qZA()(),t.TgZ(11,"div",8)(12,"button",9),t.NdJ("click",function(){return H.on2FAuth()}),t._uU(13),t.qZA()()()()),2&x&&(t.xp6(1),t.Q6J("ngIf",null==H.appConfig?null:H.appConfig.allowPasswordUpdate),t.xp6(3),t.Q6J("icon",H.faUserClock),t.xp6(4),t.Q6J("icon",H.faInfoCircle),t.xp6(5),t.Oqu(H.appConfig.enable2FA?"Disable 2FA":"Enable 2FA"))},dependencies:[Qi.O5,ni._Y,ni.Fj,ni.JJ,ni.JL,ni.Q7,ni.On,ni.F,zt.BN,Gt.xw,Gt.Wh,Gt.yH,Ai.lW,Ar.Nt,Ri.KE,Ri.TO,ns.d,On.h]})}var Qs=f(6517);function Hr(W,w){1&W&&t._UZ(0,"mat-divider",7)}function Lr(W,w){if(1&W&&(t.TgZ(0,"div",4)(1,"pre",5),t._uU(2),t.ALo(3,"json"),t.qZA(),t.YNc(4,Hr,1,0,"mat-divider",6),t.qZA()),2&W){const x=t.oxw();t.xp6(2),t.Oqu(t.lcZ(3,2,x.configData)),t.xp6(2),t.Q6J("ngIf",""!==x.configData)}}function k1(W,w){if(1&W&&(t.TgZ(0,"h2"),t._uU(1),t.qZA()),2&W){const x=t.oxw().$implicit;t.xp6(1),t.Oqu(x)}}function bc(W,w){if(1&W&&(t.TgZ(0,"h4",14),t._uU(1),t.qZA()),2&W){const x=t.oxw().$implicit;t.xp6(1),t.Oqu(x)}}function Bs(W,w){1&W&&t._UZ(0,"mat-divider",15),2&W&&t.Q6J("inset",!0)}function rs(W,w){if(1&W&&(t.TgZ(0,"mat-list-item")(1,"mat-card-subtitle",7),t.YNc(2,k1,2,1,"h2",10),t.qZA(),t.TgZ(3,"mat-card-subtitle",11),t.YNc(4,bc,2,1,"h4",12),t.qZA(),t.YNc(5,Bs,1,1,"mat-divider",13),t.qZA()),2&W){const x=w.$implicit;t.xp6(2),t.Q6J("ngIf",x.indexOf("[")>=0),t.xp6(2),t.Q6J("ngIf",x.indexOf("[")<0),t.xp6(1),t.Q6J("ngIf",x.indexOf("[")<0)}}function Bo(W,w){if(1&W&&(t.TgZ(0,"div",8)(1,"mat-list"),t.YNc(2,rs,6,3,"mat-list-item",9),t.qZA()()),2&W){const x=t.oxw();t.xp6(2),t.Q6J("ngForOf",x.configData)}}class uo{constructor(w,x,H){this.store=w,this.rtlEffects=x,this.router=H,this.configData="",this.fileFormat="INI",this.faCog=ce.b7W,this.unSubs=[new qi.x,new qi.x]}ngOnInit(){this.store.dispatch((0,Jt.Q2)({payload:"bitcoind"})),this.rtlEffects.showLnConfig.pipe((0,hn.R)(this.unSubs[1])).subscribe(w=>{const x=w.data;this.fileFormat=w.format,""===x||!x||"INI"!==this.fileFormat&&"HOCON"!==this.fileFormat?""!==x&&x&&"JSON"===this.fileFormat?this.configData=x:this.configData="":this.configData=x.split("\n")})}ngOnDestroy(){this.unSubs.forEach(w=>{w.next(null),w.complete()})}static#e=this.\u0275fac=function(x){return new(x||uo)(t.Y36(Ui.yh),t.Y36(Sa.V),t.Y36(Fe.F0))};static#t=this.\u0275cmp=t.Xpm({type:uo,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(x,H){1&x&&(t.TgZ(0,"div",0)(1,"div",1),t.YNc(2,Lr,5,4,"div",2),t.YNc(3,Bo,3,1,"div",3),t.qZA()()),2&x&&(t.xp6(2),t.Q6J("ngIf",""!==H.configData&&"JSON"===H.fileFormat),t.xp6(1),t.Q6J("ngIf",""!==H.configData&&("INI"===H.fileFormat||"HOCON"===H.fileFormat)))},dependencies:[Qi.sg,Qi.O5,Gt.xw,Gt.Wh,Gt.yH,_i.$j,Qs.i$,Qs.Tg,ns.d,Qi.Ts],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]})}function Yl(W,w){1&W&&(t.TgZ(0,"mat-error"),t._uU(1,"Password is required."),t.qZA())}class ws{constructor(w,x,H){this.dialogRef=w,this.store=x,this.rtlEffects=H,this.password="",this.isAuthenticated=!1,this.unSubs=[new qi.x,new qi.x]}ngOnInit(){this.rtlEffects.isAuthorizedRes.pipe((0,za.q)(1)).subscribe(w=>{"ERROR"!==w?(this.isAuthenticated=!0,this.store.dispatch((0,Jt.M6)({payload:this.isAuthenticated}))):this.isAuthenticated=!1})}onAuthenticate(){if(!this.password)return!0;this.store.dispatch((0,Jt.QO)({payload:Tr(this.password)}))}onClose(){this.store.dispatch((0,Jt.M6)({payload:this.isAuthenticated}))}ngOnDestroy(){this.unSubs.forEach(w=>{w.next(null),w.complete()})}static#e=this.\u0275fac=function(x){return new(x||ws)(t.Y36(ba.so),t.Y36(Ui.yh),t.Y36(Sa.V))};static#t=this.\u0275cmp=t.Xpm({type:ws,selectors:[["rtl-is-authorized"]],decls:16,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","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","","placeholder","Password","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(x,H){1&x&&(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 H.onClose()}),t._uU(7,"X"),t.qZA()(),t.TgZ(8,"mat-card-content",6)(9,"form",7)(10,"mat-form-field")(11,"input",8),t.NdJ("ngModelChange",function(ct){return H.password=ct}),t.qZA(),t.YNc(12,Yl,2,0,"mat-error",9),t.qZA(),t.TgZ(13,"div",10)(14,"button",11),t.NdJ("click",function(){return H.onAuthenticate()}),t._uU(15,"Confirm"),t.qZA()()()()()()),2&x&&(t.xp6(11),t.Q6J("ngModel",H.password),t.xp6(1),t.Q6J("ngIf",!H.password))},dependencies:[Qi.O5,ni._Y,ni.Fj,ni.JJ,ni.JL,ni.Q7,ni.On,ni.F,Gt.xw,Gt.Wh,Gt.yH,Ai.lW,_i.dn,_i.dk,Ar.Nt,Ri.KE,Ri.TO,On.h]})}const qs=function(){return{initial:!1}};function Bd(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"div",12),t.NdJ("click",function(){t.CHM(x);const pe=t.oxw();return t.KtG(pe.activeLink=pe.links[2].link)}),t._uU(1),t.qZA()}if(2&W){const x=t.oxw();t.s9C("routerLink",x.links[2].link),t.Q6J("active",x.activeLink===x.links[2].link)("state",t.DdM(4,qs)),t.xp6(1),t.Oqu(x.links[2].name)}}function fa(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"div",6),t.NdJ("click",function(){t.CHM(x);const pe=t.oxw();return t.KtG(pe.activeLink=pe.links[3].link)}),t._uU(1),t.qZA()}if(2&W){const x=t.oxw();t.s9C("routerLink",x.links[3].link),t.Q6J("active",x.activeLink===x.links[3].link),t.xp6(1),t.Oqu(x.links[3].name)}}function vu(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"div",13),t.NdJ("click",function(){t.CHM(x);const pe=t.oxw();return t.KtG(pe.showLnConfigClicked())}),t._uU(1),t.qZA()}if(2&W){const x=t.oxw();t.Q6J("active",x.activeLink===x.links[4].link),t.xp6(1),t.Oqu(x.links[4].name)}}class Zl{constructor(w,x,H,pe){this.store=w,this.router=x,this.rtlEffects=H,this.activatedRoute=pe,this.faTools=ce.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 qi.x,new qi.x,new qi.x]}ngOnInit(){const w=this.links.find(x=>this.router.url.includes(x.link));this.activeLink=w?w.link:this.links[0].link,this.router.events.pipe((0,hn.R)(this.unSubs[0]),(0,wr.h)(x=>x instanceof Fe.Av)).subscribe({next:x=>{const H=this.links.find(pe=>x.urlAfterRedirects.includes(pe.link));this.activeLink=H?H.link:this.links[0].link}}),this.store.select(ht.dT).pipe((0,hn.R)(this.unSubs[1])).subscribe(x=>{switch(this.showLnConfig=!1,this.selNode=x,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.store.dispatch((0,Jt.qR)({payload:{maxWidth:"50rem",data:{component:ws}}})),this.rtlEffects.closeAlert.pipe((0,hn.R)(this.unSubs[1])).subscribe(w=>{w&&(this.activeLink=this.links[4].link,this.router.navigate(["./"+this.activeLink],{relativeTo:this.activatedRoute}))})}ngOnDestroy(){this.unSubs.forEach(w=>{w.next(null),w.complete()})}static#e=this.\u0275fac=function(x){return new(x||Zl)(t.Y36(Ui.yh),t.Y36(Fe.F0),t.Y36(Sa.V),t.Y36(Fe.gz))};static#t=this.\u0275cmp=t.Xpm({type:Zl,selectors:[["rtl-node-config"]],decls:19,vars:11,consts:[["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column",1,"padding-gap-x"],["fxLayout","column"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"],["role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","state","click",4,"ngIf"],["role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngIf"],["role","tab","mat-tab-link","","class","mat-tab-label",3,"active","click",4,"ngIf"],["tabPanel",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch",1,"mat-tab-body-wrapper","mb-2"],["role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","state","click"],["role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","click"]],template:function(x,H){if(1&x&&(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 H.activeLink=H.links[0].link}),t._uU(9),t.qZA(),t.TgZ(10,"div",6),t.NdJ("click",function(){return H.activeLink=H.links[1].link}),t._uU(11),t.qZA(),t.YNc(12,Bd,2,5,"div",7),t.YNc(13,fa,2,3,"div",8),t.YNc(14,vu,2,2,"div",9),t.qZA(),t._UZ(15,"mat-tab-nav-panel",null,10),t.TgZ(17,"div",11),t._UZ(18,"router-outlet"),t.qZA()()()()),2&x){const pe=t.MAs(16);t.xp6(1),t.Q6J("icon",H.faTools),t.xp6(6),t.Q6J("tabPanel",pe),t.xp6(1),t.s9C("routerLink",H.links[0].link),t.Q6J("active",H.activeLink===H.links[0].link),t.xp6(1),t.Oqu(H.links[0].name),t.xp6(1),t.s9C("routerLink",H.links[1].link),t.Q6J("active",H.activeLink===H.links[1].link),t.xp6(1),t.Oqu(H.links[1].name),t.xp6(1),t.Q6J("ngIf","LND"===(null==H.selNode||null==H.selNode.lnImplementation?null:H.selNode.lnImplementation.toUpperCase())),t.xp6(1),t.Q6J("ngIf","CLN"===(null==H.selNode||null==H.selNode.lnImplementation?null:H.selNode.lnImplementation.toUpperCase())),t.xp6(1),t.Q6J("ngIf",H.showLnConfig)}},dependencies:[Qi.O5,zt.BN,Gt.xw,Gt.Wh,Gt.yH,_i.a8,_i.dn,Vi.BU,Vi.sW,Vi.Nj,Fe.lC,Fe.rH]})}function Ie(W,w){1&W&&t._UZ(0,"mat-divider",7)}function ee(W,w){if(1&W&&(t.TgZ(0,"div",4)(1,"pre",5),t._uU(2),t.ALo(3,"json"),t.qZA(),t.YNc(4,Ie,1,0,"mat-divider",6),t.qZA()),2&W){const x=t.oxw();t.xp6(2),t.Oqu(t.lcZ(3,2,x.configData)),t.xp6(2),t.Q6J("ngIf",""!==x.configData)}}function De(W,w){if(1&W&&(t.TgZ(0,"h2"),t._uU(1),t.qZA()),2&W){const x=t.oxw().$implicit;t.xp6(1),t.Oqu(x)}}function tt(W,w){if(1&W&&(t.TgZ(0,"h4",14),t._uU(1),t.qZA()),2&W){const x=t.oxw().$implicit;t.xp6(1),t.Oqu(x)}}function lt(W,w){1&W&&t._UZ(0,"mat-divider",15),2&W&&t.Q6J("inset",!0)}function yt(W,w){if(1&W&&(t.TgZ(0,"mat-list-item")(1,"mat-card-subtitle",7),t.YNc(2,De,2,1,"h2",10),t.qZA(),t.TgZ(3,"mat-card-subtitle",11),t.YNc(4,tt,2,1,"h4",12),t.qZA(),t.YNc(5,lt,1,1,"mat-divider",13),t.qZA()),2&W){const x=w.$implicit;t.xp6(2),t.Q6J("ngIf",x.indexOf("[")>=0),t.xp6(2),t.Q6J("ngIf",x.indexOf("[")<0),t.xp6(1),t.Q6J("ngIf",x.indexOf("[")<0)}}function Yt(W,w){if(1&W&&(t.TgZ(0,"div",8)(1,"mat-list"),t.YNc(2,yt,6,3,"mat-list-item",9),t.qZA()()),2&W){const x=t.oxw();t.xp6(2),t.Q6J("ngForOf",x.configData)}}class yi{constructor(w,x,H){this.store=w,this.rtlEffects=x,this.router=H,this.configData="",this.fileFormat="INI",this.faCog=ce.b7W,this.unSubs=[new qi.x,new qi.x]}ngOnInit(){this.store.dispatch((0,Jt.Q2)({payload:"ln"})),this.rtlEffects.showLnConfig.pipe((0,hn.R)(this.unSubs[1])).subscribe(w=>{const x=w.data;this.fileFormat=w.format,""===x||!x||"INI"!==this.fileFormat&&"HOCON"!==this.fileFormat?""!==x&&x&&"JSON"===this.fileFormat?this.configData=x:this.configData="":this.configData=x.split("\n")})}ngOnDestroy(){this.unSubs.forEach(w=>{w.next(null),w.complete()})}static#e=this.\u0275fac=function(x){return new(x||yi)(t.Y36(Ui.yh),t.Y36(Sa.V),t.Y36(Fe.F0))};static#t=this.\u0275cmp=t.Xpm({type:yi,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(x,H){1&x&&(t.TgZ(0,"div",0)(1,"div",1),t.YNc(2,ee,5,4,"div",2),t.YNc(3,Yt,3,1,"div",3),t.qZA()()),2&x&&(t.xp6(2),t.Q6J("ngIf",""!==H.configData&&"JSON"===H.fileFormat),t.xp6(1),t.Q6J("ngIf",""!==H.configData&&("INI"===H.fileFormat||"HOCON"===H.fileFormat)))},dependencies:[Qi.sg,Qi.O5,Gt.xw,Gt.Wh,Gt.yH,_i.$j,Qs.i$,Qs.Tg,ns.d,Qi.Ts],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]})}var Ii=f(2994),zi=f(429),dn=f(6523),ta=f(62),ya=f(3704),Fn=f(3012),Ur=f(2922),os=f(4714);function mo(W,w){if(1&W&&(t.TgZ(0,"mat-option",35),t._uU(1),t.qZA()),2&W){const x=w.$implicit;t.Q6J("value",x.id),t.xp6(1),t.hij(" ",x.id," ")}}function Ko(W,w){1&W&&(t.TgZ(0,"mat-error"),t._uU(1,"Currency unit is required."),t.qZA())}function Eo(W,w){if(1&W&&(t.TgZ(0,"mat-radio-button",36),t._uU(1),t.ALo(2,"titlecase"),t.qZA()),2&W){const x=w.$implicit,H=t.oxw();t.Q6J("value",x)("checked",H.selNode.settings.userPersona===x),t.xp6(1),t.hij(" ",t.lcZ(2,3,x)," ")}}function Ns(W,w){if(1&W&&(t.TgZ(0,"mat-radio-button",37),t._uU(1),t.qZA()),2&W){const x=w.$implicit;t.Q6J("value",x),t.xp6(1),t.hij("",x.name," ")}}const hl=function(W){return{skin:!0,"selected-color":W}};function bu(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"span",38)(1,"div",39),t.NdJ("click",function(){const ct=t.CHM(x).$implicit,Ut=t.oxw();return t.KtG(Ut.changeThemeColor(ct.id))}),t.ALo(2,"lowercase"),t.qZA(),t._uU(3),t.qZA()}if(2&W){const x=w.$implicit,H=t.oxw();t.xp6(1),t.Tol(t.lcZ(2,4,x.id)),t.Q6J("ngClass",t.VKq(6,hl,H.selectedThemeColor===x.id)),t.xp6(2),t.hij(" ",x.name," ")}}class P1{constructor(w,x,H){this.logger=w,this.commonService=x,this.store=H,this.faExclamationTriangle=ce.eHv,this.faMoneyBillAlt=ce.co4,this.faPaintBrush=ce.XsY,this.faInfoCircle=ce.sqG,this.faEyeSlash=ce.Aq,this.userPersonas=[Xe.ol.OPERATOR,Xe.ol.MERCHANT],this.currencyUnits=Xe.Er,this.themeModes=Xe.wZ.modes,this.themeColors=Xe.wZ.themes,this.selectedThemeMode=Xe.wZ.modes[0],this.selectedThemeColor=Xe.wZ.themes[0].id,this.currencyUnit="BTC",this.smallerCurrencyUnit="Sats",this.showSettingOption=!0,this.screenSize="",this.screenSizeEnum=Xe.cu,this.unSubs=[new qi.x,new qi.x],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.store.select(ht.dT).pipe((0,hn.R)(this.unSubs[0])).subscribe(w=>{this.selNode=w,this.selectedThemeMode=this.themeModes.find(x=>this.selNode.settings.themeMode===x.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(w)})}onCurrencyChange(w){this.selNode.settings.currencyUnits=[...Xe.uA,w.value],this.store.dispatch((0,dn.JT)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:w.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,zi.oo)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:w.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,Ii.Zr)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:w.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(w,x){this.selNode.settings[w]=!this.selNode.settings[w]}changeThemeColor(w){this.selectedThemeColor=w,this.selNode.settings.themeColor=w}chooseThemeMode(){this.selNode.settings.themeMode=this.selectedThemeMode.id}onUpdateSettings(){if(this.selNode.settings.fiatConversion&&!this.selNode.settings.currencyUnit)return!0;this.logger.info(this.selNode.settings),this.store.dispatch((0,Jt.zQ)({payload:{uiMessage:Xe.m6.UPDATE_NODE_SETTINGS,settings:this.selNode.settings}})),this.store.dispatch((0,dn.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,zi.oo)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:this.selNode.settings.currencyUnit,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,unannouncedChannels:this.selNode.settings.unannouncedChannels,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.selNode.settings.boltzServerUrl}})),this.store.dispatch((0,Ii.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 w=this.selNode.index||-1;this.selNode.settings=this.previousSettings,this.selectedThemeMode=this.themeModes.find(x=>x.id===this.previousSettings.themeMode)||this.themeModes[0],this.selectedThemeColor=this.previousSettings.themeColor,this.store.dispatch((0,Jt.fk)({payload:{uiMessage:Xe.m6.NO_SPINNER,prevLnNodeIndex:+w,currentLnNode:this.selNode,isInitialSetup:!0}}))}ngOnDestroy(){this.unSubs.forEach(w=>{w.next(),w.complete()})}static#e=this.\u0275fac=function(x){return new(x||P1)(t.Y36(li.mQ),t.Y36(ta.v),t.Y36(Ui.yh))};static#t=this.\u0275cmp=t.Xpm({type:P1,selectors:[["rtl-node-settings"]],decls:76,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",3,"ngModel","ngModelChange","change"],["autoFocus","","placeholder","Fiat Currency","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","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","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,"mr-4",3,"value","checked"],["tabindex","5",1,"mr-4",3,"value"],["fxLayout","row",1,"theme-name"],["tabindex","9",3,"ngClass","click"]],template:function(x,H){1&x&&(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(ct){return H.selNode.settings.unannouncedChannels=ct})("change",function(ct){return H.selNode.settings.unannouncedChannels=ct.checked?H.selNode.settings.unannouncedChannels:null}),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(ct){return H.selNode.settings.fiatConversion=ct})("change",function(ct){return H.selNode.settings.currencyUnit=ct.checked?H.selNode.settings.currencyUnit:null}),t._uU(35,"Enable Fiat Conversion"),t.qZA(),t.TgZ(36,"mat-form-field")(37,"mat-select",15,16),t.NdJ("ngModelChange",function(ct){return H.selNode.settings.currencyUnit=ct})("selectionChange",function(ct){return H.onCurrencyChange(ct)}),t.YNc(39,mo,2,2,"mat-option",17),t.qZA(),t.YNc(40,Ko,2,0,"mat-error",18),t.qZA()()()(),t.TgZ(41,"mat-expansion-panel",4)(42,"mat-expansion-panel-header")(43,"mat-panel-title"),t._UZ(44,"fa-icon",5),t.TgZ(45,"span",6),t._uU(46,"Customization"),t.qZA()()(),t.TgZ(47,"div",7)(48,"div",19),t._UZ(49,"fa-icon",9),t.TgZ(50,"span"),t._uU(51,"Dashboard layout will be tailored based on the role selected to better serve its needs."),t.qZA()(),t.TgZ(52,"div",20)(53,"h4"),t._uU(54,"Dashboard Layout"),t.qZA(),t.TgZ(55,"mat-radio-group",21),t.NdJ("ngModelChange",function(ct){return H.selNode.settings.userPersona=ct}),t.YNc(56,Eo,3,5,"mat-radio-button",22),t.qZA()(),t._UZ(57,"mat-divider",23),t.TgZ(58,"div",24)(59,"h4"),t._uU(60,"Mode"),t.qZA(),t.TgZ(61,"mat-radio-group",25),t.NdJ("ngModelChange",function(ct){return H.selectedThemeMode=ct})("change",function(){return H.chooseThemeMode()}),t.YNc(62,Ns,2,2,"mat-radio-button",26),t.qZA()(),t._UZ(63,"mat-divider",23),t.TgZ(64,"div",27)(65,"div",28)(66,"h4"),t._uU(67,"Themes"),t.qZA(),t.TgZ(68,"div",29),t.YNc(69,bu,4,8,"span",30),t.qZA()()()()()()(),t.TgZ(70,"div",31)(71,"div",32)(72,"button",33),t.NdJ("click",function(){return H.onResetSettings()}),t._uU(73,"Reset"),t.qZA(),t.TgZ(74,"button",34),t.NdJ("click",function(){return H.onUpdateSettings()}),t._uU(75,"Update"),t.qZA()()()()),2&x&&(t.xp6(7),t.Q6J("icon",H.faEyeSlash),t.xp6(5),t.Q6J("icon",H.faInfoCircle),t.xp6(4),t.Q6J("ngModel",H.selNode.settings.unannouncedChannels),t.xp6(5),t.Q6J("icon",H.faMoneyBillAlt),t.xp6(5),t.Q6J("icon",H.faExclamationTriangle),t.xp6(8),t.Q6J("ngModel",H.selNode.settings.fiatConversion),t.xp6(3),t.Q6J("disabled",!H.selNode.settings.fiatConversion)("required",H.selNode.settings.fiatConversion)("ngModel",H.selNode.settings.currencyUnit),t.xp6(2),t.Q6J("ngForOf",H.currencyUnits),t.xp6(1),t.Q6J("ngIf",H.selNode.settings.fiatConversion&&!H.selNode.settings.currencyUnit),t.xp6(4),t.Q6J("icon",H.faPaintBrush),t.xp6(5),t.Q6J("icon",H.faInfoCircle),t.xp6(6),t.Q6J("ngModel",H.selNode.settings.userPersona),t.xp6(1),t.Q6J("ngForOf",H.userPersonas),t.xp6(5),t.Q6J("ngModel",H.selectedThemeMode),t.xp6(1),t.Q6J("ngForOf",H.themeModes),t.xp6(7),t.Q6J("ngForOf",H.themeColors))},dependencies:[Qi.mk,Qi.sg,Qi.O5,ni._Y,ni.JJ,ni.JL,ni.Q7,ni.On,ni.F,zt.BN,Gt.xw,Gt.Wh,Gt.yH,ya.oO,Ai.lW,Fn.pp,Fn.ib,Fn.yz,Fn.yK,Ri.KE,Ri.TO,ns.d,Ur.VQ,Ur.U0,tn.gD,sn.ey,os.Rr,Cn.$V,On.h,Qi.i8,Qi.rS],styles:["h4[_ngcontent-%COMP%]{margin:.75rem 0 .5rem}.theme-name[_ngcontent-%COMP%]{min-width:10rem}.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}.mdc-form-field[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{min-width:110px}.mat-slide-toggle[_ngcontent-%COMP%]{padding:0 1rem 0 .25rem}.mat-flat-button[_ngcontent-%COMP%]{width:100%;max-height:36px}"]})}var jl=f(538),Mo=f(9828),Nc=f(6529),cr=f(2501),Fc=f(7822),R1=f(6896),$2=f(9445);const eh=function(W){return{error:W}};function zc(W,w){if(1&W&&t.GkF(0,14),2&W){const x=t.oxw(),H=t.MAs(18);t.Q6J("ngTemplateOutlet",H)("ngTemplateOutletContext",t.VKq(2,eh,x.errorMessage))}}function Kp(W,w){if(1&W&&(t.TgZ(0,"mat-option",30),t._uU(1),t.qZA()),2&W){const x=w.$implicit;t.Q6J("value",x),t.xp6(1),t.hij(" ",x," ")}}function yu(W,w){if(1&W&&(t.TgZ(0,"mat-option",30),t._uU(1),t.ALo(2,"camelCaseWithSpaces"),t.ALo(3,"camelcaseWithReplace"),t.qZA()),2&W){const x=w.$implicit,H=t.oxw(3);t.Q6J("value",x),t.xp6(1),t.hij(" ","ECL"===H.selNode.lnImplementation?t.lcZ(2,2,x):t.xi3(3,4,x,"_")," ")}}function xu(W,w){if(1&W&&(t.TgZ(0,"mat-option",30),t._uU(1),t.qZA()),2&W){const x=w.$implicit;t.Q6J("value",x),t.xp6(1),t.hij(" ","desc"===x?"Descending":"Ascending"," ")}}function Cu(W,w){if(1&W&&(t.TgZ(0,"mat-option",33),t._uU(1),t.ALo(2,"camelCaseWithSpaces"),t.ALo(3,"camelcaseWithReplace"),t.qZA()),2&W){const x=w.$implicit,H=t.oxw(2).$implicit,pe=t.oxw(2);t.Q6J("value",x.column)("disabled",H.columnSelection.length<=2&&H.columnSelection.includes(x.column)),t.xp6(1),t.hij(" ",x.label?x.label:"ECL"===pe.selNode.lnImplementation?t.lcZ(2,3,x.column):t.xi3(3,5,x.column,"_")," ")}}function Nd(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"mat-form-field",31)(1,"mat-select",32),t.NdJ("ngModelChange",function(pe){t.CHM(x);const ct=t.oxw().$implicit;return t.KtG(ct.columnSelection=pe)})("selectionChange",function(){t.CHM(x);const pe=t.oxw().$implicit,ct=t.oxw(2);return t.KtG(ct.oncolumnSelectionChange(pe))}),t.YNc(2,Cu,4,8,"mat-option",27),t.qZA()()}if(2&W){const x=t.oxw().$implicit,H=t.oxw().$implicit,pe=t.oxw();t.xp6(1),t.hYB("name","",H.pageId,"",x.tableId,"-columns-selection"),t.Q6J("ngModel",x.columnSelection),t.xp6(1),t.Q6J("ngForOf",pe.nodePageDefs[H.pageId][x.tableId].allowedColumns)}}function Ql(W,w){if(1&W&&(t.TgZ(0,"mat-option",33),t._uU(1),t.ALo(2,"camelCaseWithSpaces"),t.ALo(3,"camelcaseWithReplace"),t.qZA()),2&W){const x=w.$implicit,H=t.oxw().$implicit,pe=t.oxw(2);t.Q6J("value",x.column)("disabled",H.columnSelectionSM.length<=1&&H.columnSelectionSM.includes(x.column)||H.columnSelectionSM.length>=3&&!H.columnSelectionSM.includes(x.column)),t.xp6(1),t.hij(" ",x.label?x.label:"ECL"===pe.selNode.lnImplementation?t.lcZ(2,3,x.column):t.xi3(3,5,x.column,"_")," ")}}const B1=function(W){return{"ml-minus-1":W}};function ql(W,w){if(1&W){const x=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",19)(6,"mat-select",20),t.NdJ("ngModelChange",function(pe){const Ut=t.CHM(x).$implicit;return t.KtG(Ut.recordsPerPage=pe)}),t.YNc(7,Kp,2,2,"mat-option",21),t.qZA()(),t.TgZ(8,"mat-form-field",19)(9,"mat-select",22),t.NdJ("ngModelChange",function(pe){const Ut=t.CHM(x).$implicit;return t.KtG(Ut.sortBy=pe)}),t.YNc(10,yu,4,7,"mat-option",21),t.qZA()(),t.TgZ(11,"mat-form-field",19)(12,"mat-select",23),t.NdJ("ngModelChange",function(pe){const Ut=t.CHM(x).$implicit;return t.KtG(Ut.sortOrder=pe)}),t.YNc(13,xu,2,2,"mat-option",21),t.qZA()(),t.YNc(14,Nd,3,4,"mat-form-field",24),t.TgZ(15,"mat-form-field",25)(16,"mat-select",26),t.NdJ("ngModelChange",function(pe){const Ut=t.CHM(x).$implicit;return t.KtG(Ut.columnSelectionSM=pe)}),t.YNc(17,Ql,4,8,"mat-option",27),t.qZA()(),t.TgZ(18,"button",28),t.NdJ("click",function(){const ct=t.CHM(x).$implicit,Ut=t.oxw().$implicit,ti=t.oxw();return t.KtG(ti.onTableReset(Ut.pageId,ct))}),t.TgZ(19,"mat-icon",29),t._uU(20,"restore"),t.qZA()()()()}if(2&W){const x=w.$implicit,H=t.oxw().$implicit,pe=t.oxw();t.xp6(3),t.hij("",t.xi3(4,20,x.tableId,"_"),":"),t.xp6(3),t.hYB("name","",H.pageId,"",x.tableId,"-page-size-options"),t.Q6J("disabled",pe.nodePageDefs[H.pageId][x.tableId].disablePageSize)("ngModel",x.recordsPerPage),t.xp6(1),t.Q6J("ngForOf",pe.pageSizeOptions),t.xp6(2),t.hYB("name","",H.pageId,"",x.tableId,"-sort-by"),t.Q6J("ngModel",x.sortBy),t.xp6(1),t.Q6J("ngForOf",x.columnSelection),t.xp6(2),t.hYB("name","",H.pageId,"",x.tableId,"-sort-order"),t.Q6J("ngModel",x.sortOrder),t.xp6(1),t.Q6J("ngForOf",pe.sortOrders),t.xp6(1),t.Q6J("ngIf",pe.screenSize!==pe.screenSizeEnum.XS),t.xp6(2),t.hYB("name","",H.pageId,"",x.tableId,"-columns-selection-sm"),t.Q6J("ngModel",x.columnSelectionSM),t.xp6(1),t.Q6J("ngForOf",pe.nodePageDefs[H.pageId][x.tableId].allowedColumns),t.xp6(2),t.Q6J("ngClass",t.VKq(23,B1,pe.screenSize===pe.screenSizeEnum.XS||pe.screenSize===pe.screenSizeEnum.SM))}}function yc(W,w){if(1&W&&t.GkF(0,14),2&W){const x=t.oxw(2),H=t.MAs(18);t.Q6J("ngTemplateOutlet",H)("ngTemplateOutletContext",t.VKq(2,eh,x.errorMessage))}}const dm=function(W){return{"error-border":W}};function Hc(W,w){if(1&W&&(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,21,25,"div",16),t.YNc(6,yc,1,4,"ng-container",6),t.qZA()),2&W){const x=w.$implicit,H=t.oxw();t.Q6J("ngClass",t.VKq(7,dm,(null==H.errorMessage?null:H.errorMessage.page)===x.pageId)),t.xp6(3),t.Oqu(t.xi3(4,4,x.pageId,"_")),t.xp6(2),t.Q6J("ngForOf",x.tables),t.xp6(1),t.Q6J("ngIf",H.errorMessage&&(null==H.errorMessage?null:H.errorMessage.page)===x.pageId)}}function Uc(W,w){if(1&W&&(t.TgZ(0,"mat-panel-title"),t._uU(1),t.ALo(2,"titlecase"),t.qZA()),2&W){const x=t.oxw().error;t.xp6(1),t.hij("Page ",t.lcZ(2,1,x.page),"")}}function ul(W,w){if(1&W&&(t.TgZ(0,"mat-list-item")(1,"mat-icon",38),t._uU(2,"close"),t.qZA(),t.TgZ(3,"span"),t._uU(4),t.qZA()()),2&W){const x=t.oxw().error;t.xp6(4),t.Oqu(x.message)}}function Eu(W,w){if(1&W&&(t.TgZ(0,"mat-list-item")(1,"mat-icon",38),t._uU(2,"close"),t.qZA(),t.TgZ(3,"span"),t._uU(4),t.ALo(5,"titlecase"),t.qZA()()),2&W){const x=w.$implicit;t.xp6(4),t.AsE("Table ",t.lcZ(5,2,x.table)," ",x.message,"")}}const hm=function(W){return{"error-border p-2":W}};function Xl(W,w){if(1&W&&(t.TgZ(0,"div",34),t.YNc(1,Uc,3,3,"mat-panel-title",35),t.TgZ(2,"mat-list",36),t.YNc(3,ul,5,1,"mat-list-item",35),t.YNc(4,Eu,6,4,"mat-list-item",37),t.qZA()()),2&W){const x=w.error,H=t.oxw();t.Q6J("ngClass",t.VKq(4,hm,"unknown"===H.errorMessage.page)),t.xp6(1),t.Q6J("ngIf","unknown"===H.errorMessage.page),t.xp6(2),t.Q6J("ngIf",x.message),t.xp6(1),t.Q6J("ngForOf",x.tables)}}class xc{constructor(w,x,H,pe){this.logger=w,this.commonService=x,this.store=H,this.actions=pe,this.faPenRuler=ce.SoD,this.faExclamationTriangle=ce.eHv,this.screenSize="",this.screenSizeEnum=Xe.cu,this.pageSizeOptions=Xe.TJ,this.pageSettings=[],this.initialPageSettings=[],this.defaultSettings=[],this.nodePageDefs={},this.sortOrders=Xe.zZ,this.apiCallStatus=null,this.apiCallStatusEnum=Xe.Bn,this.errorMessage=null,this.unSubs=[new qi.x,new qi.x,new qi.x,new qi.x],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.store.select(ht.dT).pipe((0,hn.R)(this.unSubs[0])).subscribe(w=>{switch(this.selNode=w,this.logger.info(this.selNode),this.selNode.lnImplementation){case"CLN":this.initialPageSettings=Object.assign([],Xe.gG),this.defaultSettings=Object.assign([],Xe.gG),this.nodePageDefs=Xe.At,this.store.select(Mo.AS).pipe((0,hn.R)(this.unSubs[1]),(0,jl.M)(this.store.select(Mo.lw))).subscribe(([x,H])=>{const pe=JSON.parse(JSON.stringify(x.pageSettings));if(this.errorMessage=null,this.apiCallStatus=x.apiCallStatus,this.apiCallStatus.status===Xe.Bn.ERROR)this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=pe,this.initialPageSettings=pe;else{if(!H?.enableOffers){const ct=pe.find(hi=>"transactions"===hi.pageId),Ut=ct?.tables.findIndex(hi=>"offers"===hi.tableId),ti=ct?.tables.findIndex(hi=>"offer_bookmarks"===hi.tableId);Ut>-1&&ct?.tables.splice(Ut,1),ti>-1&&ct?.tables.splice(ti,1)}if(!H?.enablePeerswap){const ct=pe.findIndex(Ut=>"peerswap"===Ut.pageId);ct>-1&&pe.splice(ct,1)}this.pageSettings=pe,this.initialPageSettings=pe}this.logger.info(pe)}),this.actions.pipe((0,hn.R)(this.unSubs[2]),(0,wr.h)(x=>x.type===Xe.AB.UPDATE_API_CALL_STATUS_CLN||x.type===Xe.AB.SAVE_PAGE_SETTINGS_CLN)).subscribe(x=>{x.type===Xe.AB.UPDATE_API_CALL_STATUS_CLN&&x.payload.status===Xe.Bn.ERROR&&"SavePageSettings"===x.payload.action&&(this.errorMessage=JSON.parse(x.payload.message))});break;case"ECL":this.initialPageSettings=Object.assign([],Xe.c3),this.defaultSettings=Object.assign([],Xe.c3),this.nodePageDefs=Xe.Xk,this.store.select(cr.nF).pipe((0,hn.R)(this.unSubs[1]),(0,jl.M)(this.store.select(cr.LR))).subscribe(([x,H])=>{const pe=JSON.parse(JSON.stringify(x.pageSettings));this.errorMessage=null,this.apiCallStatus=x.apiCallStatus,this.apiCallStatus.status===Xe.Bn.ERROR?(this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=pe,this.initialPageSettings=pe):(this.pageSettings=pe,this.initialPageSettings=pe),this.logger.info(pe)}),this.actions.pipe((0,hn.R)(this.unSubs[2]),(0,wr.h)(x=>x.type===Xe.lr.UPDATE_API_CALL_STATUS_ECL||x.type===Xe.lr.SAVE_PAGE_SETTINGS_ECL)).subscribe(x=>{x.type===Xe.lr.UPDATE_API_CALL_STATUS_ECL&&x.payload.status===Xe.Bn.ERROR&&"SavePageSettings"===x.payload.action&&(this.errorMessage=JSON.parse(x.payload.message))});break;default:this.initialPageSettings=Object.assign([],Xe.gK),this.defaultSettings=Object.assign([],Xe.gK),this.nodePageDefs=Xe.hG,this.store.select(Nc.Pr).pipe((0,hn.R)(this.unSubs[1]),(0,jl.M)(this.store.select(Nc.$k))).subscribe(([x,H])=>{const pe=JSON.parse(JSON.stringify(x.pageSettings));if(this.errorMessage=null,this.apiCallStatus=x.apiCallStatus,this.apiCallStatus.status===Xe.Bn.ERROR)this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=pe,this.initialPageSettings=pe;else{if(!H?.swapServerUrl||""===H.swapServerUrl.trim()){const ct=pe.findIndex(Ut=>"loop"===Ut.pageId);ct>-1&&pe.splice(ct,1)}if(!H?.boltzServerUrl||""===H.boltzServerUrl.trim()){const ct=pe.findIndex(Ut=>"boltz"===Ut.pageId);ct>-1&&pe.splice(ct,1)}if(!H?.enablePeerswap){const ct=pe.findIndex(Ut=>"peerswap"===Ut.pageId);ct>-1&&pe.splice(ct,1)}this.pageSettings=pe,this.initialPageSettings=pe}this.logger.info(pe)}),this.actions.pipe((0,hn.R)(this.unSubs[2]),(0,wr.h)(x=>x.type===Xe.uR.UPDATE_API_CALL_STATUS_LND||x.type===Xe.uR.SAVE_PAGE_SETTINGS_LND)).subscribe(x=>{x.type===Xe.uR.UPDATE_API_CALL_STATUS_LND&&x.payload.status===Xe.Bn.ERROR&&"SavePageSettings"===x.payload.action&&(this.errorMessage=JSON.parse(x.payload.message))})}})}oncolumnSelectionChange(w){w.columnSelection&&(!w.sortBy||!w.columnSelection.includes(w.sortBy))&&(w.sortBy=w.columnSelection[0])}onUpdatePageSettings(){if(this.pageSettings.reduce((w,x)=>w||x.tables.reduce((H,pe)=>!(pe.recordsPerPage&&pe.sortBy&&pe.sortOrder&&pe.columnSelection&&pe.columnSelection.length>=2),!1),!1))return!0;switch(this.errorMessage="",this.selNode.lnImplementation){case"CLN":this.store.dispatch((0,zi.eF)({payload:this.pageSettings}));break;case"ECL":this.store.dispatch((0,Ii.eF)({payload:this.pageSettings}));break;default:this.store.dispatch((0,dn.eF)({payload:this.pageSettings}))}}onTableReset(w,x){const H=this.pageSettings.findIndex(Ut=>Ut.pageId===w),pe=this.pageSettings[H].tables.findIndex(Ut=>Ut.tableId===x.tableId),ct=this.defaultSettings.find(Ut=>Ut.pageId===w)?.tables.find(Ut=>Ut.tableId===x.tableId)||this.pageSettings.find(Ut=>Ut.pageId===w)?.tables.find(Ut=>Ut.tableId===x.tableId);this.pageSettings[H].tables.splice(pe,1,ct)}onResetPageSettings(w){"current"===w?(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(w=>{w.next(),w.complete()})}static#e=this.\u0275fac=function(x){return new(x||xc)(t.Y36(li.mQ),t.Y36(ta.v),t.Y36(Ui.yh),t.Y36(yo.eX))};static#t=this.\u0275cmp=t.Xpm({type:xc,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"],["placeholder","Records/Page","tabindex","2","required","",3,"disabled","name","ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["placeholder","Sort By","tabindex","3","required","",3,"name","ngModel","ngModelChange"],["placeholder","Sort Order","tabindex","4","required","",3,"name","ngModel","ngModelChange"],["fxFlex","35","matTooltip","Select a minimum of 2 columns",4,"ngIf"],["fxFlex","15","matTooltip","Select between 1 and 3 columns"],["placeholder","Column Selection (Mobile Resolution)","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",3,"click"],["color","primary",3,"ngClass"],[3,"value"],["fxFlex","35","matTooltip","Select a minimum of 2 columns"],["placeholder","Column selection (Desktop Resolution)","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(x,H){1&x&&(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,zc,1,4,"ng-container",6),t.TgZ(8,"mat-accordion",7),t.YNc(9,Hc,7,9,"mat-expansion-panel",8),t.qZA()(),t.TgZ(10,"div",9)(11,"button",10),t.NdJ("click",function(){return H.onResetPageSettings("current")}),t._uU(12,"Reset"),t.qZA(),t.TgZ(13,"button",11),t.NdJ("click",function(){return H.onResetPageSettings("default")}),t._uU(14,"Reset to Default"),t.qZA(),t.TgZ(15,"button",12),t.NdJ("click",function(){return H.onUpdatePageSettings()}),t._uU(16,"Save"),t.qZA()()(),t.YNc(17,Xl,5,6,"ng-template",null,13,t.W1O)),2&x&&(t.xp6(4),t.Q6J("icon",H.faPenRuler),t.xp6(3),t.Q6J("ngIf",H.errorMessage&&"unknown"===H.errorMessage.page),t.xp6(2),t.Q6J("ngForOf",H.pageSettings))},dependencies:[Qi.mk,Qi.sg,Qi.O5,Qi.tP,ni._Y,ni.JJ,ni.JL,ni.Q7,ni.On,ni.F,zt.BN,Gt.xw,Gt.Wh,Gt.yH,ya.oO,Ai.lW,Ai.RK,Fn.pp,Fn.ib,Fn.yz,Fn.yK,Fc.Hw,Ri.KE,Qs.i$,Qs.Tg,tn.gD,sn.ey,R1.gM,Cn.$V,Qi.rS,$2.D3,$2.i1],styles:[".table-setting-row[_ngcontent-%COMP%]:last-child{margin-bottom:3rem}.table-setting-row[_ngcontent-%COMP%]:not(:first-child){margin:.5rem 0}"]})}function Fd(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"div",10),t.NdJ("click",function(){t.CHM(x);const pe=t.oxw();return t.KtG(pe.activeLink=pe.links[0].link)}),t._uU(1),t.qZA()}if(2&W){const x=t.oxw();t.s9C("routerLink",x.links[0].link),t.Q6J("active",x.activeLink===x.links[0].link),t.xp6(1),t.Oqu(x.links[0].name)}}const Gp=function(){return{initial:!1}};function Yp(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"div",11),t.NdJ("click",function(){t.CHM(x);const pe=t.oxw();return t.KtG(pe.activeLink=pe.links[1].link)}),t._uU(1),t.qZA()}if(2&W){const x=t.oxw();t.s9C("routerLink",x.links[1].link),t.Q6J("active",x.activeLink===x.links[1].link)("state",t.DdM(4,Gp)),t.xp6(1),t.Oqu(x.links[1].name)}}function um(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"div",10),t.NdJ("click",function(){t.CHM(x);const pe=t.oxw();return t.KtG(pe.activeLink=pe.links[2].link)}),t._uU(1),t.qZA()}if(2&W){const x=t.oxw();t.s9C("routerLink",x.links[2].link),t.Q6J("active",x.activeLink===x.links[2].link),t.xp6(1),t.Oqu(x.links[2].name)}}class N1{constructor(w,x,H){this.store=w,this.router=x,this.activatedRoute=H,this.faLayerGroup=ce.Krp,this.links=[{link:"loop",name:"Loop"},{link:"boltz",name:"Boltz"},{link:"peerswap",name:"Peerswap"}],this.activeLink="",this.unSubs=[new qi.x,new qi.x,new qi.x]}ngOnInit(){const w=this.links.find(x=>this.router.url.includes(x.link));this.activeLink=w?w.link:this.links[0].link,this.router.events.pipe((0,hn.R)(this.unSubs[0]),(0,wr.h)(x=>x instanceof Fe.Av)).subscribe({next:x=>{const H=this.links.find(pe=>x.urlAfterRedirects.includes(pe.link));"CLN"===this.selNode.lnImplementation.toUpperCase()?this.activeLink=this.links[2].link:this.activeLink=H?H.link:this.links[0].link}}),this.store.select(ht.dT).pipe((0,hn.R)(this.unSubs[1])).subscribe(x=>{this.selNode=x,"CLN"===this.selNode.lnImplementation.toUpperCase()&&(this.activeLink=this.links[2].link,this.router.navigate(["./"+this.activeLink],{relativeTo:this.activatedRoute}))})}ngOnDestroy(){this.unSubs.forEach(w=>{w.next(null),w.complete()})}static#e=this.\u0275fac=function(x){return new(x||N1)(t.Y36(Ui.yh),t.Y36(Fe.F0),t.Y36(Fe.gz))};static#t=this.\u0275cmp=t.Xpm({type:N1,selectors:[["rtl-services-settings"]],decls:16,vars:5,consts:[["fxLayout","row","fxLayoutAlign","start center",1,"page-sub-title-container","my-1"],["fxLayout","row"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngIf"],["role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","state","click",4,"ngIf"],["tabPanel",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch",1,"mat-tab-body-wrapper"],["role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"],["role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","state","click"]],template:function(x,H){if(1&x&&(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,Fd,2,3,"div",6),t.YNc(10,Yp,2,5,"div",7),t.YNc(11,um,2,3,"div",6),t.qZA(),t._UZ(12,"mat-tab-nav-panel",null,8),t.TgZ(14,"div",9),t._UZ(15,"router-outlet"),t.qZA()()()()),2&x){const pe=t.MAs(13);t.xp6(2),t.Q6J("icon",H.faLayerGroup),t.xp6(6),t.Q6J("tabPanel",pe),t.xp6(1),t.Q6J("ngIf","LND"===(null==H.selNode||null==H.selNode.lnImplementation?null:H.selNode.lnImplementation.toUpperCase())),t.xp6(1),t.Q6J("ngIf","LND"===(null==H.selNode||null==H.selNode.lnImplementation?null:H.selNode.lnImplementation.toUpperCase())),t.xp6(1),t.Q6J("ngIf","CLN"===(null==H.selNode||null==H.selNode.lnImplementation?null:H.selNode.lnImplementation.toUpperCase()))}},dependencies:[Qi.O5,zt.BN,Gt.xw,Gt.Wh,Gt.yH,_i.a8,_i.dn,Vi.BU,Vi.sW,Vi.Nj,Fe.lC,Fe.rH]})}const R3=["form"];function Zp(W,w){1&W&&(t.TgZ(0,"mat-error"),t._uU(1,"Loop server URL is required."),t.qZA())}function jp(W,w){1&W&&(t.TgZ(0,"mat-error"),t._uU(1,"Specify the loop server url with 'https://'."),t.qZA())}function Mu(W,w){1&W&&(t.TgZ(0,"mat-error"),t._uU(1,"Loop macaroon path is required."),t.qZA())}class Vc{constructor(w,x){this.logger=w,this.store=x,this.faInfoCircle=ce.sqG,this.enableLoop=!1,this.unSubs=[new qi.x,new qi.x]}ngOnInit(){this.store.select(ht.dT).pipe((0,hn.R)(this.unSubs[0])).subscribe(w=>{this.selNode=w,this.enableLoop=!(!w.settings.swapServerUrl||""===w.settings.swapServerUrl.trim()),this.previousSelNode=JSON.parse(JSON.stringify(this.selNode)),this.logger.info(w)})}onEnableServiceChanged(w){this.enableLoop=w.checked,this.enableLoop||(this.selNode.authentication.swapMacaroonPath="",this.selNode.settings.swapServerUrl="")}onUpdateService(){if(this.selNode.settings.swapServerUrl&&""!==this.selNode.settings.swapServerUrl.trim()&&!this.form.controls.srvrUrl.value.includes("https://")&&this.form.controls.srvrUrl.setErrors({invalid:!0}),this.enableLoop&&(!this.selNode.settings.swapServerUrl||""===this.selNode.settings.swapServerUrl.trim()||!this.selNode.authentication.swapMacaroonPath||""===this.selNode.authentication.swapMacaroonPath.trim()))return!0;this.logger.info(this.selNode),this.store.dispatch((0,Jt.jS)({payload:{uiMessage:Xe.m6.UPDATE_LOOP_SETTINGS,service:Xe.JX.LOOP,settings:{enable:this.enableLoop,serverUrl:this.selNode.settings.swapServerUrl,macaroonPath:this.selNode.authentication.swapMacaroonPath}}})),this.store.dispatch((0,dn.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,zi.oo)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:this.selNode.settings.currencyUnit,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,unannouncedChannels:this.selNode.unannouncedChannels,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.selNode.settings.boltzServerUrl,enableOffers:this.selNode.settings.enableOffers}})),this.store.dispatch((0,Ii.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(w=>{w.next(),w.complete()})}static#e=this.\u0275fac=function(x){return new(x||Vc)(t.Y36(li.mQ),t.Y36(Ui.yh))};static#t=this.\u0275cmp=t.Xpm({type:Vc,selectors:[["rtl-loop-service-settings"]],viewQuery:function(x,H){if(1&x&&t.Gf(R3,7),2&x){let pe;t.iGM(pe=t.CRH())&&(H.form=pe.first)}},decls:34,vars:11,consts:[["fxLayout","column","fxFlex","100",3,"perfectScrollbar"],["fxFlex","100",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,"mb-1",3,"ngModel","ngModelChange","change"],[1,"mb-2"],["matInput","","placeholder","Loop Server URL","type","text","id","swapServerUrl","name","srvrUrl","tabindex","2",3,"required","disabled","ngModel","ngModelChange"],["srvrUrl","ngModel"],[4,"ngIf"],["matInput","","placeholder","Loop Macaroon Path","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(x,H){if(1&x&&(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(ct){return H.enableLoop=ct})("change",function(ct){return H.onEnableServiceChanged(ct)}),t._uU(16,"Enable Loop Service"),t.qZA(),t.TgZ(17,"mat-form-field",8)(18,"input",9,10),t.NdJ("ngModelChange",function(ct){return H.selNode.settings.swapServerUrl=ct}),t.qZA(),t.TgZ(20,"mat-hint"),t._uU(21,"Service url for loop server REST APIs, eg. https://localhost:8081"),t.qZA(),t.YNc(22,Zp,2,0,"mat-error",11),t.YNc(23,jp,2,0,"mat-error",11),t.qZA(),t.TgZ(24,"mat-form-field")(25,"input",12),t.NdJ("ngModelChange",function(ct){return H.selNode.authentication.swapMacaroonPath=ct}),t.qZA(),t.TgZ(26,"mat-hint"),t._uU(27,"Path for the folder containing service 'loop.macaroon', eg. D:\\\\xyz\\\\AppData\\\\Local\\\\Loop\\\\testnet"),t.qZA(),t.YNc(28,Mu,2,0,"mat-error",11),t.qZA()()(),t.TgZ(29,"div",13)(30,"button",14),t.NdJ("click",function(){return H.onReset()}),t._uU(31,"Reset"),t.qZA(),t.TgZ(32,"button",15),t.NdJ("click",function(){return H.onUpdateService()}),t._uU(33,"Update"),t.qZA()()()),2&x){const pe=t.MAs(19);t.xp6(2),t.Q6J("icon",H.faInfoCircle),t.xp6(13),t.Q6J("ngModel",H.enableLoop),t.xp6(3),t.Q6J("required",H.enableLoop)("disabled",!H.enableLoop)("ngModel",H.selNode.settings.swapServerUrl),t.xp6(4),t.Q6J("ngIf",!H.selNode.settings.swapServerUrl&&H.enableLoop),t.xp6(1),t.Q6J("ngIf",(null==pe||null==pe.errors?null:pe.errors.invalid)&&H.enableLoop),t.xp6(2),t.Q6J("required",H.enableLoop)("disabled",!H.enableLoop)("ngModel",H.selNode.authentication.swapMacaroonPath),t.xp6(3),t.Q6J("ngIf",!H.selNode.authentication.swapMacaroonPath&&H.enableLoop)}},dependencies:[Qi.O5,ni._Y,ni.Fj,ni.JJ,ni.JL,ni.Q7,ni.On,ni.F,zt.BN,Gt.xw,Gt.Wh,Gt.yH,Ai.lW,Ar.Nt,Ri.KE,Ri.bx,Ri.TO,os.Rr,Cn.$V,On.h],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]})}const F1=["form"];function th(W,w){1&W&&(t.TgZ(0,"mat-error"),t._uU(1,"Boltz server URL is required."),t.qZA())}function Wc(W,w){1&W&&(t.TgZ(0,"mat-error"),t._uU(1,"Specify the boltz server url with 'https://'."),t.qZA())}function B3(W,w){1&W&&(t.TgZ(0,"mat-error"),t._uU(1,"Boltz macaroon path is required."),t.qZA())}class ml{constructor(w,x){this.logger=w,this.store=x,this.faInfoCircle=ce.sqG,this.enableBoltz=!1,this.serverUrl="",this.macaroonPath="",this.unSubs=[new qi.x,new qi.x]}ngOnInit(){this.store.select(ht.dT).pipe((0,hn.R)(this.unSubs[0])).subscribe(w=>{this.selNode=w,this.enableBoltz=!(!w.settings.boltzServerUrl||""===w.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(w)})}onEnableServiceChanged(w){this.enableBoltz=w.checked,this.enableBoltz||(this.macaroonPath="",this.serverUrl="")}onUpdateService(){if(this.serverUrl&&""!==this.serverUrl.trim()&&!this.form.controls.srvrUrl.value.includes("https://")&&this.form.controls.srvrUrl.setErrors({invalid:!0}),this.enableBoltz&&(!this.serverUrl||""===this.serverUrl.trim()||!this.serverUrl.includes("https://")||!this.macaroonPath||""===this.macaroonPath.trim()))return!0;this.logger.info(this.selNode),this.selNode.settings.boltzServerUrl=this.serverUrl,this.selNode.authentication.boltzMacaroonPath=this.macaroonPath,this.store.dispatch((0,Jt.jS)({payload:{uiMessage:Xe.m6.UPDATE_BOLTZ_SETTINGS,service:Xe.JX.BOLTZ,settings:{enable:this.enableBoltz,serverUrl:this.serverUrl,macaroonPath:this.macaroonPath}}})),this.store.dispatch((0,dn.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,zi.oo)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:this.selNode.settings.currencyUnit,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,unannouncedChannels:this.selNode.unannouncedChannels,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.serverUrl,enableOffers:this.selNode.settings.enableOffers}})),this.store.dispatch((0,Ii.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(w=>{w.next(),w.complete()})}static#e=this.\u0275fac=function(x){return new(x||ml)(t.Y36(li.mQ),t.Y36(Ui.yh))};static#t=this.\u0275cmp=t.Xpm({type:ml,selectors:[["rtl-boltz-service-settings"]],viewQuery:function(x,H){if(1&x&&t.Gf(F1,7),2&x){let pe;t.iGM(pe=t.CRH())&&(H.form=pe.first)}},decls:34,vars:11,consts:[["fxLayout","column","fxFlex","100",3,"perfectScrollbar"],["fxFlex","100",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,"mb-1",3,"ngModel","ngModelChange","change"],[1,"mb-2"],["matInput","","placeholder","Boltz Server URL","type","text","id","boltzServerUrl","name","srvrUrl","tabindex","2",3,"required","disabled","ngModel","ngModelChange"],["srvrUrl","ngModel"],[4,"ngIf"],["matInput","","placeholder","Boltz Macaroon Path","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(x,H){if(1&x&&(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(ct){return H.enableBoltz=ct})("change",function(ct){return H.onEnableServiceChanged(ct)}),t._uU(16,"Enable Boltz Service"),t.qZA(),t.TgZ(17,"mat-form-field",8)(18,"input",9,10),t.NdJ("ngModelChange",function(ct){return H.serverUrl=ct}),t.qZA(),t.TgZ(20,"mat-hint"),t._uU(21,"Service url for boltz server REST APIs, eg. https://localhost:9003"),t.qZA(),t.YNc(22,th,2,0,"mat-error",11),t.YNc(23,Wc,2,0,"mat-error",11),t.qZA(),t.TgZ(24,"mat-form-field")(25,"input",12),t.NdJ("ngModelChange",function(ct){return H.macaroonPath=ct}),t.qZA(),t.TgZ(26,"mat-hint"),t._uU(27,"Path for the folder containing boltz 'admin.macaroon', eg. D:\\\\xyz\\\\AppData\\\\Boltz\\\\testnet"),t.qZA(),t.YNc(28,B3,2,0,"mat-error",11),t.qZA()()(),t.TgZ(29,"div",13)(30,"button",14),t.NdJ("click",function(){return H.onReset()}),t._uU(31,"Reset"),t.qZA(),t.TgZ(32,"button",15),t.NdJ("click",function(){return H.onUpdateService()}),t._uU(33,"Update"),t.qZA()()()),2&x){const pe=t.MAs(19);t.xp6(2),t.Q6J("icon",H.faInfoCircle),t.xp6(13),t.Q6J("ngModel",H.enableBoltz),t.xp6(3),t.Q6J("required",H.enableBoltz)("disabled",!H.enableBoltz)("ngModel",H.serverUrl),t.xp6(4),t.Q6J("ngIf",(!H.serverUrl||""===H.serverUrl.trim())&&H.enableBoltz),t.xp6(1),t.Q6J("ngIf",(null==pe||null==pe.errors?null:pe.errors.invalid)&&H.enableBoltz),t.xp6(2),t.Q6J("required",H.enableBoltz)("disabled",!H.enableBoltz)("ngModel",H.macaroonPath),t.xp6(3),t.Q6J("ngIf",!H.macaroonPath&&H.enableBoltz)}},dependencies:[Qi.O5,ni._Y,ni.Fj,ni.JJ,ni.JL,ni.Q7,ni.On,ni.F,zt.BN,Gt.xw,Gt.Wh,Gt.yH,Ai.lW,Ar.Nt,Ri.KE,Ri.bx,Ri.TO,os.Rr,Cn.$V,On.h],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]})}class ih{constructor(){}static#e=this.\u0275fac=function(x){return new(x||ih)};static#t=this.\u0275cmp=t.Xpm({type:ih,selectors:[["rtl-ln-services"]],decls:1,vars:0,template:function(x,H){1&x&&t._UZ(0,"router-outlet")},dependencies:[Fe.lC]})}var mm=f(2615),zd=f(1419),Kc=f(6060),z1=f(2197),Ea=f(8711),pl=f(1294);function N3(W,w){if(1&W&&(t.TgZ(0,"mat-option",37),t._uU(1),t.qZA()),2&W){const x=w.$implicit,H=t.oxw();t.Q6J("value",x),t.xp6(1),t.Oqu(H.getLabel(x))}}function fl(W,w){1&W&&t._UZ(0,"mat-progress-bar",38)}function wu(W,w){1&W&&(t.TgZ(0,"th",39),t._uU(1,"State"),t.qZA())}function nh(W,w){if(1&W&&(t.TgZ(0,"td",40),t._uU(1),t.qZA()),2&W){const x=w.$implicit,H=t.oxw();t.xp6(1),t.Oqu(H.LoopStateEnum[null==x?null:x.state])}}function pm(W,w){1&W&&(t.TgZ(0,"th",39),t._uU(1,"Initiation Time"),t.qZA())}function fm(W,w){if(1&W&&(t.TgZ(0,"td",40),t._uU(1),t.ALo(2,"date"),t.qZA()),2&W){const x=w.$implicit;t.xp6(1),t.Oqu(t.xi3(2,1,(null==x?null:x.initiation_time)/1e6,"dd/MMM/y HH:mm"))}}function _l(W,w){1&W&&(t.TgZ(0,"th",39),t._uU(1,"Last Update Time"),t.qZA())}function ah(W,w){if(1&W&&(t.TgZ(0,"td",40),t._uU(1),t.ALo(2,"date"),t.qZA()),2&W){const x=w.$implicit;t.xp6(1),t.Oqu(t.xi3(2,1,(null==x?null:x.last_update_time)/1e6,"dd/MMM/y HH:mm"))}}function rh(W,w){1&W&&(t.TgZ(0,"th",41),t._uU(1,"Amount (Sats)"),t.qZA())}function _m(W,w){if(1&W&&(t.TgZ(0,"td",40)(1,"span",42),t._uU(2),t.ALo(3,"number"),t.qZA()()),2&W){const x=w.$implicit;t.xp6(2),t.Oqu(t.lcZ(3,1,null==x?null:x.amt))}}function gm(W,w){1&W&&(t.TgZ(0,"th",41),t._uU(1,"Cost Server (Sats)"),t.qZA())}function H1(W,w){if(1&W&&(t.TgZ(0,"td",40)(1,"span",42),t._uU(2),t.ALo(3,"number"),t.qZA()()),2&W){const x=w.$implicit;t.xp6(2),t.Oqu(t.lcZ(3,1,null==x?null:x.cost_server))}}function Qp(W,w){1&W&&(t.TgZ(0,"th",41),t._uU(1,"Cost Offchain (Sats)"),t.qZA())}function qp(W,w){if(1&W&&(t.TgZ(0,"td",40)(1,"span",42),t._uU(2),t.ALo(3,"number"),t.qZA()()),2&W){const x=w.$implicit;t.xp6(2),t.Oqu(t.lcZ(3,1,null==x?null:x.cost_offchain))}}function Xp(W,w){1&W&&(t.TgZ(0,"th",41),t._uU(1,"Cost Onchain (Sats)"),t.qZA())}function vm(W,w){if(1&W&&(t.TgZ(0,"td",40)(1,"span",42),t._uU(2),t.ALo(3,"number"),t.qZA()()),2&W){const x=w.$implicit;t.xp6(2),t.hij(" ",t.lcZ(3,1,null==x?null:x.cost_onchain)," ")}}function U1(W,w){1&W&&(t.TgZ(0,"th",39),t._uU(1,"HTLC Address"),t.qZA())}const oh=function(W){return{width:W}};function bm(W,w){if(1&W&&(t.TgZ(0,"td",40)(1,"span",43)(2,"span",44),t._uU(3),t.qZA()()()),2&W){const x=w.$implicit,H=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,oh,H.screenSize===H.screenSizeEnum.XS?"10rem":H.colWidth)),t.xp6(2),t.Oqu(null==x?null:x.htlc_address)}}function V1(W,w){1&W&&(t.TgZ(0,"th",39),t._uU(1,"ID"),t.qZA())}function gl(W,w){if(1&W&&(t.TgZ(0,"td",40)(1,"span",43)(2,"span",44),t._uU(3),t.qZA()()()),2&W){const x=w.$implicit,H=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,oh,H.screenSize===H.screenSizeEnum.XS?"10rem":H.colWidth)),t.xp6(2),t.Oqu(null==x?null:x.id)}}function Jp(W,w){1&W&&(t.TgZ(0,"th",39),t._uU(1,"ID (Bytes)"),t.qZA())}function Du(W,w){if(1&W&&(t.TgZ(0,"td",40)(1,"span",43)(2,"span",44),t._uU(3),t.qZA()()()),2&W){const x=w.$implicit,H=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,oh,H.screenSize===H.screenSizeEnum.XS?"10rem":H.colWidth)),t.xp6(2),t.Oqu(null==x?null:x.id_bytes)}}function ss(W,w){if(1&W){const x=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(x);const pe=t.oxw();return t.KtG(pe.onDownloadCSV())}),t._uU(5,"Download CSV"),t.qZA()()()()}}function Tu(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"td",49)(1,"button",50),t.NdJ("click",function(pe){const Ut=t.CHM(x).$implicit,ti=t.oxw();return t.KtG(ti.onSwapClick(Ut,pe))}),t._uU(2,"View Info"),t.qZA()()}}function Au(W,w){if(1&W&&(t.TgZ(0,"p"),t._uU(1),t.qZA()),2&W){const x=t.oxw(2);t.xp6(1),t.Oqu(x.emptyTableMessage)}}function W1(W,w){if(1&W&&(t.TgZ(0,"td",51),t.YNc(1,Au,2,1,"p",52),t.qZA()),2&W){const x=t.oxw();t.xp6(1),t.Q6J("ngIf",!(null!=x.listSwaps&&x.listSwaps.data)||(null==x.listSwaps||null==x.listSwaps.data?null:x.listSwaps.data.length)<1)}}const po=function(W){return{"display-none":W}};function vl(W,w){if(1&W&&t._UZ(0,"tr",53),2&W){const x=t.oxw();t.Q6J("ngClass",t.VKq(1,po,(null==x.listSwaps?null:x.listSwaps.data)&&(null==x.listSwaps||null==x.listSwaps.data?null:x.listSwaps.data.length)>0))}}function Jl(W,w){1&W&&t._UZ(0,"tr",54)}function Iu(W,w){1&W&&t._UZ(0,"tr",55)}const Lu=function(){return["all"]},Xr=function(W){return{"overflow-auto error-border":W,"overflow-auto":!0}},Ou=function(){return["no_swap"]};class Hd{constructor(w,x,H,pe,ct,Ut){this.logger=w,this.commonService=x,this.store=H,this.loopService=pe,this.datePipe=ct,this.camelCaseWithReplace=Ut,this.selectedSwapType=Xe.$I.LOOP_OUT,this.swapsData=[],this.flgLoading=[!0],this.emptyTableMessage="No swaps available.",this.nodePageDefs=Xe.hG,this.selFilterBy="all",this.colWidth="20rem",this.PAGE_ID="loop",this.tableSetting={tableId:"loop",recordsPerPage:Xe.IV,sortBy:"initiation_time",sortOrder:Xe.Pi.DESCENDING},this.LoopStateEnum=Xe.Fq,this.faHistory=ce.qO$,this.swapCaption="Loop Out",this.displayedColumns=[],this.listSwaps=new Ea.by([]),this.selFilter="",this.pageSize=Xe.IV,this.pageSizeOptions=Xe.TJ,this.screenSize="",this.screenSizeEnum=Xe.cu,this.unSubs=[new qi.x,new qi.x,new qi.x],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.store.select(Nc.Pr).pipe((0,hn.R)(this.unSubs[0])).subscribe(w=>{this.tableSetting=w.pageSettings.find(x=>x.pageId===this.PAGE_ID)?.tables.find(x=>x.tableId===this.tableSetting.tableId)||Xe.gK.find(x=>x.pageId===this.PAGE_ID)?.tables.find(x=>x.tableId===this.tableSetting.tableId),this.screenSize===Xe.cu.XS||this.screenSize===Xe.cu.SM?this.displayedColumns=JSON.parse(JSON.stringify(this.tableSetting.columnSelectionSM)):this.displayedColumns=JSON.parse(JSON.stringify(this.tableSetting.columnSelection)),this.displayedColumns.push("actions"),this.pageSize=this.tableSetting.recordsPerPage?+this.tableSetting.recordsPerPage:Xe.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/10+"rem":"20rem",this.logger.info(this.displayedColumns)})}ngAfterViewInit(){this.swapsData&&this.swapsData.length>0&&this.loadSwapsTable(this.swapsData)}ngOnChanges(w){this.swapCaption=this.selectedSwapType===Xe.$I.LOOP_IN?"Loop In":"Loop Out",this.loadSwapsTable(this.swapsData)}applyFilter(){this.listSwaps.filter=this.selFilter.trim().toLowerCase()}getLabel(w){const x=this.nodePageDefs[this.PAGE_ID][this.tableSetting.tableId].allowedColumns.find(H=>H.column===w);return x?x.label?x.label:this.camelCaseWithReplace.transform(x.column,"_"):this.commonService.titleCase(w)}setFilterPredicate(){this.listSwaps.filterPredicate=(w,x)=>{let H="";switch(this.selFilterBy){case"all":H=JSON.stringify(w).toLowerCase();break;case"state":H=w?.state?this.LoopStateEnum[w?.state]:"";break;case"initiation_time":case"last_update_time":H=this.datePipe.transform(new Date((w[this.selFilterBy]||0)/1e6),"dd/MMM/y HH:mm")?.toLowerCase()||"";break;default:H=typeof w[this.selFilterBy]>"u"?"":"string"==typeof w[this.selFilterBy]?w[this.selFilterBy].toLowerCase():"boolean"==typeof w[this.selFilterBy]?w[this.selFilterBy]?"yes":"no":w[this.selFilterBy].toString()}return"state"===this.selFilterBy?0===H.indexOf(x):H.includes(x)}}onSwapClick(w,x){this.loopService.getSwap(w.id_bytes?.replace(/\//g,"_")?.replace(/\+/g,"-")||"").pipe((0,hn.R)(this.unSubs[1])).subscribe(H=>{const pe=[[{key:"state",value:Xe.Fq[H.state||""],title:"Status",width:50,type:Xe.Gi.STRING},{key:"amt",value:H.amt,title:"Amount (Sats)",width:50,type:Xe.Gi.NUMBER}],[{key:"initiation_time",value:(H.initiation_time||0)/1e9,title:"Initiation Time",width:50,type:Xe.Gi.DATE_TIME},{key:"last_update_time",value:(H.last_update_time||0)/1e9,title:"Last Update Time",width:50,type:Xe.Gi.DATE_TIME}],[{key:"cost_server",value:H.cost_server,title:"Server Cost (Sats)",width:33,type:Xe.Gi.NUMBER},{key:"cost_offchain",value:H.cost_offchain,title:"Offchain Cost (Sats)",width:33,type:Xe.Gi.NUMBER},{key:"cost_onchain",value:H.cost_onchain,title:"Onchain Cost (Sats)",width:34,type:Xe.Gi.NUMBER}],[{key:"id_bytes",value:H.id_bytes,title:"ID",width:100,type:Xe.Gi.STRING}],[{key:"htlc_address",value:H.htlc_address,title:"HTLC Address",width:100,type:Xe.Gi.STRING}]];this.store.dispatch((0,Jt.qR)({payload:{data:{type:Xe.n_.INFORMATION,alertTitle:this.swapCaption+" Status",message:pe,openedBy:"SWAP"}}}))})}loadSwapsTable(w){this.listSwaps=new Ea.by([...w]),this.listSwaps.sort=this.sort,this.listSwaps.sortingDataAccessor=(x,H)=>x[H]&&isNaN(x[H])?x[H].toLocaleLowerCase():x[H]?+x[H]:null,this.listSwaps.sort?.sort({id:this.tableSetting.sortBy,start:this.tableSetting.sortOrder,disableClear:!0}),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===Xe.$I.LOOP_IN?"Loop in":"Loop out")}ngOnDestroy(){this.unSubs.forEach(w=>{w.next(null),w.complete()})}static#e=this.\u0275fac=function(x){return new(x||Hd)(t.Y36(li.mQ),t.Y36(ta.v),t.Y36(Ui.yh),t.Y36(zd.W),t.Y36(Qi.uU),t.Y36($2.D3))};static#t=this.\u0275cmp=t.Xpm({type:Hd,selectors:[["rtl-swaps"]],viewQuery:function(x,H){if(1&x&&(t.Gf(z1.YE,5),t.Gf(Kc.NW,5)),2&x){let pe;t.iGM(pe=t.CRH())&&(H.sort=pe.first),t.iGM(pe=t.CRH())&&(H.paginator=pe.first)}},inputs:{selectedSwapType:"selectedSwapType",swapsData:"swapsData",flgLoading:"flgLoading",emptyTableMessage:"emptyTableMessage"},features:[t._Bn([{provide:Kc.ye,useValue:(0,Xe.pt)("Swaps")}]),t.TTD],decls:56,vars:18,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"],["fxFlex","49"],["placeholder","Filter By","tabindex","1","name","filterBy",3,"ngModel","ngModelChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],["matInput","","name","filter","placeholder","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,"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-cellcolspan","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","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-cellcolspan","4"],[4,"ngIf"],["mat-footer-row","",3,"ngClass"],["mat-header-row",""],["mat-row",""]],template:function(x,H){1&x&&(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-select",7),t.NdJ("ngModelChange",function(ct){return H.selFilterBy=ct})("selectionChange",function(){return H.selFilter="",H.applyFilter()}),t.YNc(9,N3,2,2,"mat-option",8),t.qZA()(),t.TgZ(10,"mat-form-field",6)(11,"input",9),t.NdJ("ngModelChange",function(ct){return H.selFilter=ct})("input",function(){return H.applyFilter()})("keyup",function(){return H.applyFilter()}),t.qZA()()()(),t.TgZ(12,"div",10)(13,"div",11),t.YNc(14,fl,1,0,"mat-progress-bar",12),t.TgZ(15,"table",13,14),t.ynx(17,15),t.YNc(18,wu,2,0,"th",16),t.YNc(19,nh,2,1,"td",17),t.BQk(),t.ynx(20,18),t.YNc(21,pm,2,0,"th",16),t.YNc(22,fm,3,4,"td",17),t.BQk(),t.ynx(23,19),t.YNc(24,_l,2,0,"th",16),t.YNc(25,ah,3,4,"td",17),t.BQk(),t.ynx(26,20),t.YNc(27,rh,2,0,"th",21),t.YNc(28,_m,4,3,"td",17),t.BQk(),t.ynx(29,22),t.YNc(30,gm,2,0,"th",21),t.YNc(31,H1,4,3,"td",17),t.BQk(),t.ynx(32,23),t.YNc(33,Qp,2,0,"th",21),t.YNc(34,qp,4,3,"td",17),t.BQk(),t.ynx(35,24),t.YNc(36,Xp,2,0,"th",21),t.YNc(37,vm,4,3,"td",17),t.BQk(),t.ynx(38,25),t.YNc(39,U1,2,0,"th",16),t.YNc(40,bm,4,4,"td",17),t.BQk(),t.ynx(41,26),t.YNc(42,V1,2,0,"th",16),t.YNc(43,gl,4,4,"td",17),t.BQk(),t.ynx(44,27),t.YNc(45,Jp,2,0,"th",16),t.YNc(46,Du,4,4,"td",17),t.BQk(),t.ynx(47,28),t.YNc(48,ss,6,0,"th",29),t.YNc(49,Tu,3,0,"td",30),t.BQk(),t.ynx(50,31),t.YNc(51,W1,2,1,"td",32),t.BQk(),t.YNc(52,vl,1,3,"tr",33),t.YNc(53,Jl,1,0,"tr",34),t.YNc(54,Iu,1,0,"tr",35),t.qZA(),t._UZ(55,"mat-paginator",36),t.qZA()()()),2&x&&(t.xp6(3),t.Q6J("icon",H.faHistory),t.xp6(2),t.hij("",H.swapCaption," History"),t.xp6(3),t.Q6J("ngModel",H.selFilterBy),t.xp6(1),t.Q6J("ngForOf",t.DdM(14,Lu).concat(H.displayedColumns.slice(0,-1))),t.xp6(2),t.Q6J("ngModel",H.selFilter),t.xp6(3),t.Q6J("ngIf",!0===H.flgLoading[0]),t.xp6(1),t.Q6J("dataSource",H.listSwaps)("ngClass",t.VKq(15,Xr,"error"===H.flgLoading[0])),t.xp6(37),t.Q6J("matFooterRowDef",t.DdM(17,Ou)),t.xp6(1),t.Q6J("matHeaderRowDef",H.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",H.displayedColumns),t.xp6(1),t.Q6J("pageSize",H.pageSize)("pageSizeOptions",H.pageSizeOptions)("showFirstLastButtons",H.screenSize!==H.screenSizeEnum.XS))},dependencies:[Qi.mk,Qi.sg,Qi.O5,Qi.PC,ni.Fj,ni.JJ,ni.On,zt.BN,Gt.xw,Gt.Wh,Gt.yH,ya.oO,ya.Zl,Ai.lW,Ar.Nt,Ri.KE,pl.pW,tn.gD,tn.$L,sn.ey,z1.YE,z1.nU,Ea.BZ,Ea.fO,Ea.as,Ea.w1,Ea.Dz,Ea.nj,Ea.mD,Ea.Ke,Ea.ge,Ea.ev,Ea.XQ,Ea.Gk,Ea.Q2,Kc.NW,Cn.$V,Qi.JJ,Qi.uU]})}const _a=function(W){return["../",W]};function Su(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"div",11),t.NdJ("click",function(){const ct=t.CHM(x).$implicit,Ut=t.oxw();return t.KtG(Ut.onSelectedIndexChange(ct))}),t._uU(1),t.qZA()}if(2&W){const x=w.$implicit,H=t.oxw();t.Q6J("active",H.activeTab.link===x.link)("routerLink",t.VKq(3,_a,x.link)),t.xp6(1),t.Oqu(x.name)}}class Gc{constructor(w,x,H){this.router=w,this.loopService=x,this.store=H,this.faInfinity=ce.vqe,this.targetConf=2,this.inAmount=25e4,this.quotes=[],this.LoopTypeEnum=Xe.$I,this.selectedSwapType=Xe.$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 qi.x,new qi.x,new qi.x,new qi.x]}ngOnInit(){this.loopService.listSwaps();const w=this.links.find(x=>this.router.url.includes(x.link));this.activeTab=w||this.links[0],this.selectedSwapType=w&&"loopin"===w.link?Xe.$I.LOOP_IN:Xe.$I.LOOP_OUT,this.router.events.pipe((0,hn.R)(this.unSubs[0]),(0,wr.h)(x=>x instanceof Fe.Av)).subscribe({next:x=>{const H=this.links.find(pe=>x.urlAfterRedirects.includes(pe.link));this.activeTab=H||this.links[0],this.selectedSwapType=H&&"loopin"===H.link?Xe.$I.LOOP_IN:Xe.$I.LOOP_OUT}}),this.loopService.swapsChanged.pipe((0,hn.R)(this.unSubs[1])).subscribe({next:x=>{this.flgLoading[0]=!1,this.storedSwaps=x,this.filteredSwaps=this.storedSwaps?.filter(H=>H.type===this.selectedSwapType)},error:x=>{this.flgLoading[0]="error",this.emptyTableMessage=x.message?x.message:"No loop "+(this.selectedSwapType===Xe.$I.LOOP_IN?"in":"out")+" available."}})}onSelectedIndexChange(w){this.selectedSwapType="loopin"===w.link?Xe.$I.LOOP_IN:Xe.$I.LOOP_OUT,this.filteredSwaps=this.storedSwaps?.filter(x=>x.type===this.selectedSwapType)}onLoop(w){w===Xe.$I.LOOP_IN?this.loopService.getLoopInTermsAndQuotes(this.targetConf).pipe((0,hn.R)(this.unSubs[2])).subscribe({next:x=>{this.store.dispatch((0,Jt.qR)({payload:{data:{minQuote:x[0],maxQuote:x[1],direction:w,component:mm.a}}}))}}):this.loopService.getLoopOutTermsAndQuotes(this.targetConf).pipe((0,hn.R)(this.unSubs[3])).subscribe({next:x=>{this.store.dispatch((0,Jt.qR)({payload:{data:{minQuote:x[0],maxQuote:x[1],direction:w,component:mm.a}}}))}})}ngOnDestroy(){this.unSubs.forEach(w=>{w.next(null),w.complete()})}static#e=this.\u0275fac=function(x){return new(x||Gc)(t.Y36(Fe.F0),t.Y36(zd.W),t.Y36(Ui.yh))};static#t=this.\u0275cmp=t.Xpm({type:Gc,selectors:[["rtl-loop"]],decls:15,vars:8,consts:[["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column",1,"padding-gap-x"],["fxLayout","column"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngFor","ngForOf"],["tabPanel",""],["fxLayout","row","fxLayoutAlign","start start",1,"padding-gap-x-large","mt-1"],["mat-flat-button","","color","primary","type","button","tabindex","1",3,"click"],["fxLayout","row","fxFlex","100",3,"selectedSwapType","swapsData","flgLoading","emptyTableMessage"],["mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"]],template:function(x,H){if(1&x&&(t.TgZ(0,"div",0),t._UZ(1,"fa-icon",1),t.TgZ(2,"span",2),t._uU(3,"Loop"),t.qZA()(),t.TgZ(4,"div",3)(5,"mat-card")(6,"mat-card-content",4)(7,"nav",5),t.YNc(8,Su,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 H.onLoop(H.selectedSwapType)}),t._uU(13),t.qZA()(),t._UZ(14,"rtl-swaps",10),t.qZA()()()),2&x){const pe=t.MAs(10);t.xp6(1),t.Q6J("icon",H.faInfinity),t.xp6(6),t.Q6J("tabPanel",pe),t.xp6(1),t.Q6J("ngForOf",H.links),t.xp6(5),t.hij("Start ",H.activeTab.name,""),t.xp6(1),t.Q6J("selectedSwapType",H.selectedSwapType)("swapsData",H.filteredSwaps)("flgLoading",H.flgLoading)("emptyTableMessage",H.emptyTableMessage)}},dependencies:[Qi.sg,zt.BN,Gt.xw,Gt.Wh,Gt.yH,Ai.lW,_i.a8,_i.dn,Vi.BU,Vi.sW,Vi.Nj,Fe.rH,Hd]})}var $l=f(7772),sh=f(6317),K1=f(5474),G1=f(3158),No=f(2340),ch=f(1786);class bs{constructor(w,x,H,pe){this.httpClient=w,this.logger=x,this.store=H,this.commonService=pe,this.swapUrl="",this.swaps={},this.swapsChanged=new sh.X({}),this.unSubs=[new qi.x,new qi.x,new qi.x]}getSwapsList(){return this.swaps}listSwaps(){this.store.dispatch((0,Jt.ac)({payload:Xe.m6.GET_BOLTZ_SWAPS})),this.swapUrl=No.T5+No.NZ.BOLTZ_API+"/listSwaps",this.httpClient.get(this.swapUrl).pipe((0,hn.R)(this.unSubs[0])).subscribe({next:w=>{this.store.dispatch((0,Jt.uO)({payload:Xe.m6.GET_BOLTZ_SWAPS})),this.swaps=w,this.swapsChanged.next(this.swaps)},error:w=>this.swapsChanged.error(this.handleErrorWithAlert(Xe.m6.GET_BOLTZ_SWAPS,this.swapUrl,w))})}swapInfo(w){return this.swapUrl=No.T5+No.NZ.BOLTZ_API+"/swapInfo/"+w,this.httpClient.get(this.swapUrl).pipe((0,G1.K)(x=>(0,ks.of)(this.handleErrorWithAlert(Xe.m6.NO_SPINNER,this.swapUrl,x))))}serviceInfo(){return this.store.dispatch((0,Jt.ac)({payload:Xe.m6.GET_SERVICE_INFO})),this.swapUrl=No.T5+No.NZ.BOLTZ_API+"/serviceInfo",this.httpClient.get(this.swapUrl).pipe((0,hn.R)(this.unSubs[1]),(0,xo.U)(w=>(this.store.dispatch((0,Jt.uO)({payload:Xe.m6.GET_SERVICE_INFO})),w)),(0,G1.K)(w=>(0,ks.of)(this.handleErrorWithAlert(Xe.m6.GET_SERVICE_INFO,this.swapUrl,w))))}swapOut(w,x){const H={amount:w,address:x};return this.swapUrl=No.T5+No.NZ.BOLTZ_API+"/createreverseswap",this.httpClient.post(this.swapUrl,H).pipe((0,G1.K)(pe=>this.handleErrorWithoutAlert("Swap Out for Address: "+x,Xe.m6.NO_SPINNER,pe)))}swapIn(w){const x={amount:w};return this.swapUrl=No.T5+No.NZ.BOLTZ_API+"/createswap",this.httpClient.post(this.swapUrl,x).pipe((0,G1.K)(H=>this.handleErrorWithoutAlert("Swap In for Amount: "+w,Xe.m6.NO_SPINNER,H)))}handleErrorWithoutAlert(w,x,H){let pe="";return this.logger.error("ERROR IN: "+w+"\n"+JSON.stringify(H)),this.store.dispatch((0,Jt.uO)({payload:x})),401===H.status?(pe="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,Jt.kS)())):503===H.status?(pe="Unable to Connect to Boltz Server.",this.store.dispatch((0,Jt.qR)({payload:{data:{type:"ERROR",alertTitle:"Boltz Not Connected",message:{code:H.status,message:"Unable to Connect to Boltz Server",URL:w},component:ch.H}}}))):pe=this.commonService.extractErrorMessage(H),(0,K1._)(()=>new Error(pe))}handleErrorWithAlert(w,x,H){let pe="";if(401===H.status&&(this.logger.info("Redirecting to Login"),this.store.dispatch((0,Jt.kS)())),this.logger.error(H),this.store.dispatch((0,Jt.uO)({payload:w})),401===H.status)pe="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,Jt.kS)());else if(503===H.status)pe="Unable to Connect to Boltz Server.",setTimeout(()=>{this.store.dispatch((0,Jt.qR)({payload:{data:{type:"ERROR",alertTitle:"Boltz Not Connected",message:{code:H.status,message:"Unable to Connect to Boltz Server",URL:x},component:ch.H}}}))},100);else{pe=this.commonService.extractErrorMessage(H);const ct=H.error&&H.error.error&&H.error.error.code?H.error.error.code:H.error&&H.error.code?H.error.code:H.code?H.code:H.status;setTimeout(()=>{this.store.dispatch((0,Jt.qR)({payload:{data:{type:Xe.n_.ERROR,alertTitle:"ERROR",message:{code:ct,message:pe,URL:x},component:ch.H}}}))},100)}return{message:pe}}ngOnDestroy(){this.unSubs.forEach(w=>{w.next(null),w.complete()})}static#e=this.\u0275fac=function(x){return new(x||bs)(t.LFG(Oa.eN),t.LFG(li.mQ),t.LFG(Ui.yh),t.LFG(ta.v))};static#t=this.\u0275prov=t.Yz7({token:bs,factory:bs.\u0275fac})}function ku(W,w){1&W&&t.GkF(0)}function ym(W,w){if(1&W&&(t.TgZ(0,"div",4)(1,"span",5),t._uU(2),t.qZA()()),2&W){const x=t.oxw();t.xp6(2),t.Oqu(null!=x.swapStatus&&x.swapStatus.error?null==x.swapStatus?null:x.swapStatus.error:"Unknown Error.")}}function lh(W,w){if(1&W&&(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&W){const x=t.oxw();t.xp6(6),t.Oqu(null==x.swapStatus?null:x.swapStatus.id),t.xp6(5),t.Oqu(t.lcZ(12,4,null==x.swapStatus?null:x.swapStatus.routingFeeMilliSat)),t.xp6(8),t.Oqu(null==x.swapStatus?null:x.swapStatus.claimTransactionId),t.xp6(5),t.Oqu(null==x.swapStatus?null:x.swapStatus.lockupAddress)}}function dh(W,w){if(1&W&&(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&W){const x=t.oxw();t.xp6(6),t.Oqu(null==x.swapStatus?null:x.swapStatus.id),t.xp6(5),t.Oqu(t.lcZ(12,4,null==x.swapStatus?null:x.swapStatus.expectedAmount)),t.xp6(8),t.Oqu(null==x.swapStatus?null:x.swapStatus.address),t.xp6(7),t.Oqu(null==x.swapStatus?null:x.swapStatus.bip21)}}class ed{constructor(){this.swapStatus=null,this.direction=Xe.hc.SWAP_OUT,this.swapTypeEnum=Xe.hc}static#e=this.\u0275fac=function(x){return new(x||ed)};static#t=this.\u0275cmp=t.Xpm({type:ed,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(x,H){if(1&x&&(t.YNc(0,ku,1,0,"ng-container",0),t.YNc(1,ym,3,1,"ng-template",null,1,t.W1O),t.YNc(3,lh,25,6,"ng-template",null,2,t.W1O),t.YNc(5,dh,27,6,"ng-template",null,3,t.W1O)),2&x){const pe=t.MAs(2),ct=t.MAs(4),Ut=t.MAs(6);t.Q6J("ngTemplateOutlet",null!=H.swapStatus&&H.swapStatus.error?pe:H.direction===H.swapTypeEnum.SWAP_OUT?ct:Ut)}},dependencies:[Qi.tP,Gt.xw,Gt.Wh,Gt.yH,ns.d,Qi.JJ]})}class hh{constructor(){this.serviceInfo={},this.direction=Xe.hc.SWAP_OUT,this.swapTypeEnum=Xe.hc}static#e=this.\u0275fac=function(x){return new(x||hh)};static#t=this.\u0275cmp=t.Xpm({type:hh,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(x,H){1&x&&(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&x&&(t.Q6J("expanded",!0),t.xp6(11),t.Oqu(t.lcZ(12,5,null==H.serviceInfo||null==H.serviceInfo.limits?null:H.serviceInfo.limits.minimal)),t.xp6(6),t.Oqu(t.lcZ(18,7,null==H.serviceInfo||null==H.serviceInfo.limits?null:H.serviceInfo.limits.maximal)),t.xp6(8),t.Oqu(t.lcZ(26,9,null==H.serviceInfo||null==H.serviceInfo.fees?null:H.serviceInfo.fees.percentage)),t.xp6(6),t.Oqu(t.lcZ(32,11,H.direction===H.swapTypeEnum.SWAP_OUT?null==H.serviceInfo||null==H.serviceInfo.fees||null==H.serviceInfo.fees.miner?null:H.serviceInfo.fees.miner.reverse:null==H.serviceInfo||null==H.serviceInfo.fees||null==H.serviceInfo.fees.miner?null:H.serviceInfo.fees.miner.normal)))},dependencies:[Gt.xw,Gt.Wh,Gt.yH,Fn.ib,Fn.yz,Fn.yK,ns.d,Qi.JJ]})}var Yc=f(113);function uh(W,w){1&W&&t.GkF(0)}const bl=function(W,w){return{"small-svg":W,"large-svg":w}};function xm(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(pe){t.CHM(x);const ct=t.oxw();return t.KtG(ct.onSwipe(pe))}),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&W){const x=t.oxw();t.Q6J("@sliderAnimation",x.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,bl,x.screenSize===x.screenSizeEnum.XS,x.screenSize!==x.screenSizeEnum.XS))}}function Y1(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(pe){t.CHM(x);const ct=t.oxw();return t.KtG(ct.onSwipe(pe))}),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&W){const x=t.oxw();t.Q6J("@sliderAnimation",x.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,bl,x.screenSize===x.screenSizeEnum.XS,x.screenSize!==x.screenSizeEnum.XS))}}function Cm(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(pe){t.CHM(x);const ct=t.oxw();return t.KtG(ct.onSwipe(pe))}),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&W){const x=t.oxw();t.Q6J("@sliderAnimation",x.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,bl,x.screenSize===x.screenSizeEnum.XS,x.screenSize!==x.screenSizeEnum.XS))}}function Pu(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(pe){t.CHM(x);const ct=t.oxw();return t.KtG(ct.onSwipe(pe))}),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&W){const x=t.oxw();t.Q6J("@sliderAnimation",x.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,bl,x.screenSize===x.screenSizeEnum.XS,x.screenSize!==x.screenSizeEnum.XS))}}function Em(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(pe){t.CHM(x);const ct=t.oxw();return t.KtG(ct.onSwipe(pe))}),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&W){const x=t.oxw();t.Q6J("@sliderAnimation",x.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,bl,x.screenSize===x.screenSizeEnum.XS,x.screenSize!==x.screenSizeEnum.XS))}}class td{constructor(w){this.commonService=w,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new t.vpe,this.screenSize="",this.screenSizeEnum=Xe.cu}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(w){2===w.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===w.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}static#e=this.\u0275fac=function(x){return new(x||td)(t.Y36(ta.v))};static#t=this.\u0275cmp=t.Xpm({type:td,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(x,H){if(1&x&&(t.YNc(0,uh,1,0,"ng-container",0),t.YNc(1,xm,18,5,"ng-template",null,1,t.W1O),t.YNc(3,Y1,15,5,"ng-template",null,2,t.W1O),t.YNc(5,Cm,19,5,"ng-template",null,3,t.W1O),t.YNc(7,Pu,17,5,"ng-template",null,4,t.W1O),t.YNc(9,Em,13,5,"ng-template",null,5,t.W1O)),2&x){const pe=t.MAs(2),ct=t.MAs(4),Ut=t.MAs(6),ti=t.MAs(8),hi=t.MAs(10);t.Q6J("ngTemplateOutlet",1===H.stepNumber?pe:2===H.stepNumber?ct:3===H.stepNumber?Ut:4===H.stepNumber?ti:hi)}},dependencies:[Qi.mk,Qi.tP,Gt.xw,Gt.Wh,Gt.yH,ya.oO,_i.$j,_i.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:[Yc.l]}})}function Mm(W,w){1&W&&t.GkF(0)}const Ud=function(W,w){return{"small-svg":W,"large-svg":w}};function mh(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(pe){t.CHM(x);const ct=t.oxw();return t.KtG(ct.onSwipe(pe))}),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&W){const x=t.oxw();t.Q6J("@sliderAnimation",x.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,Ud,x.screenSize===x.screenSizeEnum.XS,x.screenSize!==x.screenSizeEnum.XS))}}function Z1(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(pe){t.CHM(x);const ct=t.oxw();return t.KtG(ct.onSwipe(pe))}),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&W){const x=t.oxw();t.Q6J("@sliderAnimation",x.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,Ud,x.screenSize===x.screenSizeEnum.XS,x.screenSize!==x.screenSizeEnum.XS))}}function Ru(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(pe){t.CHM(x);const ct=t.oxw();return t.KtG(ct.onSwipe(pe))}),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&W){const x=t.oxw();t.Q6J("@sliderAnimation",x.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,Ud,x.screenSize===x.screenSizeEnum.XS,x.screenSize!==x.screenSizeEnum.XS))}}function ph(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(pe){t.CHM(x);const ct=t.oxw();return t.KtG(ct.onSwipe(pe))}),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&W){const x=t.oxw();t.Q6J("@sliderAnimation",x.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,Ud,x.screenSize===x.screenSizeEnum.XS,x.screenSize!==x.screenSizeEnum.XS))}}function wm(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(pe){t.CHM(x);const ct=t.oxw();return t.KtG(ct.onSwipe(pe))}),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&W){const x=t.oxw();t.Q6J("@sliderAnimation",x.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,Ud,x.screenSize===x.screenSizeEnum.XS,x.screenSize!==x.screenSizeEnum.XS))}}class Vd{constructor(w){this.commonService=w,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new t.vpe,this.screenSize="",this.screenSizeEnum=Xe.cu}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(w){2===w.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===w.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}static#e=this.\u0275fac=function(x){return new(x||Vd)(t.Y36(ta.v))};static#t=this.\u0275cmp=t.Xpm({type:Vd,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(x,H){if(1&x&&(t.YNc(0,Mm,1,0,"ng-container",0),t.YNc(1,mh,18,5,"ng-template",null,1,t.W1O),t.YNc(3,Z1,19,5,"ng-template",null,2,t.W1O),t.YNc(5,Ru,19,5,"ng-template",null,3,t.W1O),t.YNc(7,ph,17,5,"ng-template",null,4,t.W1O),t.YNc(9,wm,13,5,"ng-template",null,5,t.W1O)),2&x){const pe=t.MAs(2),ct=t.MAs(4),Ut=t.MAs(6),ti=t.MAs(8),hi=t.MAs(10);t.Q6J("ngTemplateOutlet",1===H.stepNumber?pe:2===H.stepNumber?ct:3===H.stepNumber?Ut:4===H.stepNumber?ti:hi)}},dependencies:[Qi.mk,Qi.tP,Gt.xw,Gt.Wh,Gt.yH,ya.oO,_i.$j,_i.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:[Yc.l]}})}const Bu=["stepper"];function Nu(W,w){if(1&W&&t._uU(0),2&W){const x=t.oxw(2);t.Oqu(x.inputFormLabel)}}function Zc(W,w){1&W&&(t.TgZ(0,"mat-error"),t._uU(1,"Amount is required."),t.qZA())}function fh(W,w){if(1&W&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"number"),t.qZA()),2&W){const x=t.oxw(2);t.xp6(1),t.hij("Amount must be greater than or equal to ",t.lcZ(2,1,null==x.serviceInfo||null==x.serviceInfo.limits?null:x.serviceInfo.limits.minimal),".")}}function Fu(W,w){if(1&W&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"number"),t.qZA()),2&W){const x=t.oxw(2);t.xp6(1),t.hij("Amount must be less than or equal to ",t.lcZ(2,1,null==x.serviceInfo||null==x.serviceInfo.limits?null:x.serviceInfo.limits.maximal),".")}}function zu(W,w){1&W&&(t.TgZ(0,"button",40),t._uU(1,"Next"),t.qZA())}function $p(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"button",41),t.NdJ("click",function(){t.CHM(x);const pe=t.oxw(2);return t.KtG(pe.onSwap())}),t._uU(1),t.qZA()}if(2&W){const x=t.oxw(2);t.xp6(1),t.hij("Initiate ",x.swapDirectionCaption,"")}}function j1(W,w){if(1&W&&t._uU(0),2&W){const x=t.oxw(3);t.Oqu(x.addressFormLabel)}}function Dm(W,w){1&W&&(t.TgZ(0,"mat-error"),t._uU(1,"Address is required."),t.qZA())}function Hu(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"mat-step",15)(1,"form",16),t.YNc(2,j1,1,1,"ng-template",17),t.TgZ(3,"div",42)(4,"mat-radio-group",43),t.NdJ("change",function(pe){t.CHM(x);const ct=t.oxw(2);return t.KtG(ct.onAddressTypeChange(pe))}),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),t._UZ(10,"input",47),t.YNc(11,Dm,2,0,"mat-error",24),t.qZA()(),t.TgZ(12,"div",25)(13,"button",48),t.NdJ("click",function(){t.CHM(x);const pe=t.oxw(2);return t.KtG(pe.onSwap())}),t._uU(14),t.qZA()()()()}if(2&W){const x=t.oxw(2);t.Q6J("stepControl",x.addressFormGroup)("editable",x.flgEditable),t.xp6(1),t.Q6J("formGroup",x.addressFormGroup),t.xp6(9),t.Q6J("required","external"===x.addressFormGroup.controls.addressType.value),t.xp6(1),t.Q6J("ngIf",null==x.addressFormGroup.controls.address.errors?null:x.addressFormGroup.controls.address.errors.required),t.xp6(3),t.hij("Initiate ",x.swapDirectionCaption,"")}}function Uu(W,w){if(1&W&&t._uU(0),2&W){const x=t.oxw(2);t.hij("",x.swapDirectionCaption," Status")}}function _h(W,w){if(1&W&&(t.TgZ(0,"mat-icon",49),t._uU(1),t.qZA()),2&W){const x=t.oxw(2);t.xp6(1),t.Oqu(x.swapStatus&&null!=x.swapStatus&&x.swapStatus.id?"check":"close")}}function gh(W,w){1&W&&t._UZ(0,"div")}function vh(W,w){1&W&&t._UZ(0,"mat-progress-bar",50)}function Q1(W,w){if(1&W&&(t.TgZ(0,"h4",51),t._uU(1),t.qZA()),2&W){const x=t.oxw(2);t.xp6(1),t.Oqu(x.swapStatus&&x.swapStatus.error?x.swapDirectionCaption+" failed.":x.swapStatus&&x.swapStatus.id?x.swapDirectionCaption+" request placed successfully. You can check the status of the request on the 'Boltz' menu.":x.swapDirectionCaption+" request placed successfully.")}}function id(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"button",52),t.NdJ("click",function(){t.CHM(x);const pe=t.oxw(2);return t.KtG(pe.onRestart())}),t._uU(1,"Start Again"),t.qZA()}}function Vu(W,w){if(1&W){const x=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(x);const pe=t.oxw();return t.KtG(pe.showInfo())}),t._uU(8,"?"),t.qZA(),t.TgZ(9,"button",10),t.NdJ("click",function(){t.CHM(x);const pe=t.oxw();return t.KtG(pe.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(pe){t.CHM(x);const ct=t.oxw();return t.KtG(ct.stepSelectionChanged(pe))}),t.TgZ(15,"mat-step",15)(16,"form",16),t.YNc(17,Nu,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),t._UZ(22,"input",22),t.TgZ(23,"mat-hint"),t._uU(24),t.ALo(25,"number"),t.ALo(26,"number"),t.qZA(),t.TgZ(27,"span",23),t._uU(28,"Sats"),t.qZA(),t.YNc(29,Zc,2,0,"mat-error",24),t.YNc(30,fh,3,3,"mat-error",24),t.YNc(31,Fu,3,3,"mat-error",24),t.qZA()(),t.TgZ(32,"div",25),t.YNc(33,zu,2,0,"button",26),t.YNc(34,$p,2,1,"button",27),t.qZA()()(),t.YNc(35,Hu,15,6,"mat-step",28),t.TgZ(36,"mat-step",29)(37,"form",16),t.YNc(38,Uu,1,1,"ng-template",17),t.TgZ(39,"div",30)(40,"mat-expansion-panel",31)(41,"mat-expansion-panel-header")(42,"mat-panel-title")(43,"span",32),t._uU(44),t.YNc(45,_h,2,1,"mat-icon",33),t.qZA()()(),t.YNc(46,gh,1,0,"div",34),t.qZA(),t.YNc(47,vh,1,0,"mat-progress-bar",35),t.qZA(),t.YNc(48,Q1,2,1,"h4",36),t.TgZ(49,"div",25),t.YNc(50,id,2,0,"button",37),t.qZA()()()(),t.TgZ(51,"div",38)(52,"button",39),t._uU(53,"Close"),t.qZA()()()()()()}if(2&W){const x=t.oxw(),H=t.MAs(2);t.Q6J("@opacityAnimation",void 0),t.xp6(3),t.Q6J("fxFlex",x.screenSize===x.screenSizeEnum.XS||x.screenSize===x.screenSizeEnum.SM?"83":"91"),t.xp6(2),t.Oqu(x.swapDirectionCaption),t.xp6(1),t.Q6J("fxFlex",x.screenSize===x.screenSizeEnum.XS||x.screenSize===x.screenSizeEnum.SM?"17":"9"),t.xp6(7),t.Q6J("linear",!0),t.xp6(2),t.Q6J("stepControl",x.inputFormGroup)("editable",x.flgEditable),t.xp6(1),t.Q6J("formGroup",x.inputFormGroup),t.xp6(3),t.Q6J("serviceInfo",x.serviceInfo)("direction",x.direction),t.xp6(3),t.Q6J("step",1e3),t.xp6(2),t.AsE("Range: ",t.lcZ(25,30,null==x.serviceInfo||null==x.serviceInfo.limits?null:x.serviceInfo.limits.minimal),"-",t.lcZ(26,32,null==x.serviceInfo||null==x.serviceInfo.limits?null:x.serviceInfo.limits.maximal),""),t.xp6(5),t.Q6J("ngIf",null==x.inputFormGroup||null==x.inputFormGroup.controls||null==x.inputFormGroup.controls.amount||null==x.inputFormGroup.controls.amount.errors?null:x.inputFormGroup.controls.amount.errors.required),t.xp6(1),t.Q6J("ngIf",null==x.inputFormGroup||null==x.inputFormGroup.controls||null==x.inputFormGroup.controls.amount||null==x.inputFormGroup.controls.amount.errors?null:x.inputFormGroup.controls.amount.errors.min),t.xp6(1),t.Q6J("ngIf",null==x.inputFormGroup||null==x.inputFormGroup.controls||null==x.inputFormGroup.controls.amount||null==x.inputFormGroup.controls.amount.errors?null:x.inputFormGroup.controls.amount.errors.max),t.xp6(2),t.Q6J("ngIf",x.direction===x.swapTypeEnum.SWAP_OUT),t.xp6(1),t.Q6J("ngIf",x.direction===x.swapTypeEnum.SWAP_IN),t.xp6(1),t.Q6J("ngIf",x.direction===x.swapTypeEnum.SWAP_OUT),t.xp6(1),t.Q6J("stepControl",x.statusFormGroup),t.xp6(1),t.Q6J("formGroup",x.statusFormGroup),t.xp6(3),t.Q6J("expanded",!!x.swapStatus),t.xp6(4),t.Oqu(x.swapStatus?x.swapStatus.id?x.swapDirectionCaption+" request details":x.swapDirectionCaption+" error details":"Waiting for "+x.swapDirectionCaption+" request..."),t.xp6(1),t.Q6J("ngIf",x.swapStatus),t.xp6(1),t.Q6J("ngIf",!x.swapStatus)("ngIfElse",H),t.xp6(1),t.Q6J("ngIf",!x.swapStatus),t.xp6(1),t.Q6J("ngIf",x.swapStatus),t.xp6(2),t.Q6J("ngIf",x.swapStatus&&(x.swapStatus.error||!x.swapStatus.id)),t.xp6(2),t.Q6J("mat-dialog-close",!1)}}function q1(W,w){if(1&W&&t._UZ(0,"rtl-boltz-swap-status",53),2&W){const x=t.oxw();t.Q6J("swapStatus",x.swapStatus)("direction",x.direction)}}function bh(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"rtl-boltz-swapout-info-graphics",70),t.NdJ("stepNumberChange",function(pe){t.CHM(x);const ct=t.oxw(2);return t.KtG(ct.stepNumber=pe)}),t.qZA()}if(2&W){const x=t.oxw(2);t.Q6J("animationDirection",x.animationDirection)("stepNumber",x.stepNumber)}}function yh(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"rtl-boltz-swapin-info-graphics",70),t.NdJ("stepNumberChange",function(pe){t.CHM(x);const ct=t.oxw(2);return t.KtG(ct.stepNumber=pe)}),t.qZA()}if(2&W){const x=t.oxw(2);t.Q6J("animationDirection",x.animationDirection)("stepNumber",x.stepNumber)}}const nd=function(W,w){return{"dot-primary":W,"dot-primary-lighter":w}};function Tm(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"span",71),t.NdJ("click",function(){const ct=t.CHM(x).$implicit,Ut=t.oxw(2);return t.KtG(Ut.onStepChanged(ct))}),t._UZ(1,"p",72),t.qZA()}if(2&W){const x=w.$implicit,H=t.oxw(2);t.xp6(1),t.Q6J("ngClass",t.WLB(1,nd,H.stepNumber===x,H.stepNumber!==x))}}function xh(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"button",73),t.NdJ("click",function(){t.CHM(x);const pe=t.oxw(2);return t.KtG(pe.onReadMore())}),t._uU(1,"Read More"),t.qZA()}}function Wu(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"button",74),t.NdJ("click",function(){t.CHM(x);const pe=t.oxw(2);return t.KtG(pe.onStepChanged(4))}),t._uU(1,"Back"),t.qZA()}}function Am(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"button",75),t.NdJ("click",function(){t.CHM(x);const pe=t.oxw(2);return pe.flgShowInfo=!1,t.KtG(pe.stepNumber=1)}),t._uU(1,"Close"),t.qZA()}}function Im(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"button",76),t.NdJ("click",function(){t.CHM(x);const pe=t.oxw(2);return pe.flgShowInfo=!1,t.KtG(pe.stepNumber=1)}),t._uU(1,"Close"),t.qZA()}}function Ch(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"button",77),t.NdJ("click",function(){t.CHM(x);const pe=t.oxw(2);return t.KtG(pe.onStepChanged(pe.stepNumber-1))}),t._uU(1,"Back"),t.qZA()}}function Ku(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"button",78),t.NdJ("click",function(){t.CHM(x);const pe=t.oxw(2);return t.KtG(pe.onStepChanged(pe.stepNumber+1))}),t._uU(1,"Next"),t.qZA()}}const X1=function(){return[1,2,3,4,5]};function Eh(W,w){if(1&W){const x=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",58),t.NdJ("click",function(){t.CHM(x);const pe=t.oxw();return pe.flgShowInfo=!1,t.KtG(pe.stepNumber=1)}),t._uU(7,"X"),t.qZA()()(),t.TgZ(8,"mat-card-content",59),t.YNc(9,bh,1,2,"rtl-boltz-swapout-info-graphics",60),t.YNc(10,yh,1,2,"rtl-boltz-swapin-info-graphics",60),t.qZA(),t.TgZ(11,"div",61),t.YNc(12,Tm,2,4,"span",62),t.qZA(),t.TgZ(13,"div",63),t.YNc(14,xh,2,0,"button",64),t.YNc(15,Wu,2,0,"button",65),t.YNc(16,Am,2,0,"button",66),t.YNc(17,Im,2,0,"button",67),t.YNc(18,Ch,2,0,"button",68),t.YNc(19,Ku,2,0,"button",69),t.qZA()()()}if(2&W){const x=t.oxw();t.Q6J("@opacityAnimation",void 0),t.xp6(9),t.Q6J("ngIf",x.direction===x.swapTypeEnum.SWAP_OUT),t.xp6(1),t.Q6J("ngIf",x.direction===x.swapTypeEnum.SWAP_IN),t.xp6(2),t.Q6J("ngForOf",t.DdM(10,X1)),t.xp6(2),t.Q6J("ngIf",5===x.stepNumber),t.xp6(1),t.Q6J("ngIf",5===x.stepNumber),t.xp6(1),t.Q6J("ngIf",5===x.stepNumber),t.xp6(1),t.Q6J("ngIf",x.stepNumber<5),t.xp6(1),t.Q6J("ngIf",x.stepNumber>1&&x.stepNumber<5),t.xp6(1),t.Q6J("ngIf",x.stepNumber<5)}}class Fs{constructor(w,x,H,pe,ct,Ut,ti){this.dialogRef=w,this.data=x,this.boltzService=H,this.formBuilder=pe,this.decimalPipe=ct,this.logger=Ut,this.commonService=ti,this.faInfoCircle=ce.sqG,this.serviceInfo={fees:{percentage:null,miner:{normal:null,reverse:null}},limits:{minimal:1e4,maximal:5e7}},this.swapTypeEnum=Xe.hc,this.direction=Xe.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=Xe.cu,this.animationDirection="forward",this.flgEditable=!0,this.unSubs=[new qi.x,new qi.x,new qi.x,new qi.x,new qi.x,new qi.x]}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),this.serviceInfo=this.data.serviceInfo,this.direction=this.data.direction||Xe.hc.SWAP_OUT,this.swapDirectionCaption=this.direction===Xe.hc.SWAP_OUT?"Swap Out":"Swap in",this.inputFormLabel="Amount to "+this.swapDirectionCaption,this.inputFormGroup=this.formBuilder.group({amount:[this.serviceInfo.limits?.minimal,[ni.kI.required,ni.kI.min(this.serviceInfo.limits?.minimal||0),ni.kI.max(this.serviceInfo.limits?.maximal||0)]]}),this.addressFormGroup=this.formBuilder.group({addressType:["local",[ni.kI.required]],address:[{value:"",disabled:!0}]}),this.statusFormGroup=this.formBuilder.group({}),this.onFormValueChanges()}ngAfterViewInit(){this.direction===Xe.hc.SWAP_OUT&&this.addressFormGroup.setErrors({Invalid:!0})}onFormValueChanges(){this.direction===Xe.hc.SWAP_OUT&&this.addressFormGroup.valueChanges.pipe((0,hn.R)(this.unSubs[2])).subscribe(w=>{this.addressFormGroup.setErrors({Invalid:!0})})}onAddressTypeChange(w){"external"===w.value?(this.addressFormGroup.controls.address.setValidators([ni.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===Xe.hc.SWAP_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===Xe.hc.SWAP_IN)this.boltzService.swapIn(this.inputFormGroup.controls.amount.value).pipe((0,hn.R)(this.unSubs[3])).subscribe({next:w=>{this.swapStatus=w,this.boltzService.listSwaps(),this.flgEditable=!0},error:w=>{this.swapStatus={error:w},this.flgEditable=!0,this.logger.error(w)}});else{const w="external"===this.addressFormGroup.controls.addressType.value?this.addressFormGroup.controls.address.value:"";this.boltzService.swapOut(this.inputFormGroup.controls.amount.value,w).pipe((0,hn.R)(this.unSubs[4])).subscribe({next:x=>{this.swapStatus=x,this.boltzService.listSwaps(),this.flgEditable=!0},error:x=>{this.swapStatus={error:x},this.flgEditable=!0,this.logger.error(x)}})}}stepSelectionChanged(w){switch(w.selectedIndex){case 0:default:this.inputFormLabel="Amount to "+this.swapDirectionCaption,this.addressFormLabel="Withdrawal Address";break;case 1:this.inputFormGroup.controls.amount.value?(this.direction,Xe.hc.SWAP_IN,this.inputFormLabel=this.swapDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats"):this.inputFormLabel="Amount to "+this.swapDirectionCaption,this.addressFormLabel="Withdrawal Address"}w.selectedIndex<w.previouslySelectedIndex&&w.selectedStep.stepControl.setErrors({Invalid:!0})}onClose(){this.dialogRef.close(!0)}showInfo(){this.flgShowInfo=!0}onReadMore(){this.direction===Xe.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(w){this.animationDirection=w<this.stepNumber?"backward":"forward",this.stepNumber=w}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(w=>{w.next(null),w.complete()})}static#e=this.\u0275fac=function(x){return new(x||Fs)(t.Y36(ba.so),t.Y36(ba.WI),t.Y36(bs),t.Y36(ni.QS),t.Y36(Qi.JJ),t.Y36(li.mQ),t.Y36(ta.v))};static#t=this.\u0275cmp=t.Xpm({type:Fs,selectors:[["rtl-boltz-swap-modal"]],viewQuery:function(x,H){if(1&x&&t.Gf(Bu,5),2&x){let pe;t.iGM(pe=t.CRH())&&(H.stepper=pe.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"],["fxFlex","48"],["autoFocus","","matInput","","placeholder","Amount","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"],["fxFlex","100",1,"mt-1"],["matInput","","placeholder","Address","tabindex","10","formControlName","address",3,"required"],["mat-button","","color","primary","tabindex","11","type","button",3,"click"],[1,"ml-1","icon-small"],["fxFlex","100","color","primary","mode","indeterminate"],["fxLayoutAlign","start",1,"font-bold-500","mt-2"],["mat-button","","color","primary","tabindex","13","type","button",3,"click"],["fxLayout","column",3,"swapStatus","direction"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"info-graphics-container"],["fxLayout","row","fxFlex","8","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],["fxFlex","5","fxLayoutAlign","end center"],["tabindex","19","mat-button","",1,"btn-close-x","p-0",3,"click"],["fxLayout","column","fxFlex","70","fxLayoutAlign","space-between center",1,"padding-gap-x-large"],["fxFlex","100",3,"animationDirection","stepNumber","stepNumberChange",4,"ngIf"],["fxLayout","row","fxFlex","10","fxLayoutAlign","center end",1,"padding-gap-x-large","padding-gap-bottom-large"],["fxLayoutAlign","center center","class","dots-stepper-block",3,"click",4,"ngFor","ngForOf"],["fxLayout","row","fxFlex","10","fxLayoutAlign","end end",1,"padding-gap-x-large","padding-gap-bottom-large"],["mat-button","","class","mr-1","color","primary","tabindex","15","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","16","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","17","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","18","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","19","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","20","type","button",3,"click",4,"ngIf"],["fxFlex","100",3,"animationDirection","stepNumber","stepNumberChange"],["fxLayoutAlign","center center",1,"dots-stepper-block",3,"click"],[1,"dot","tiny-dot","mr-0",3,"ngClass"],["mat-button","","color","primary","tabindex","15","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","16","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","17","type","button",3,"click"],["mat-button","","color","primary","tabindex","18","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","19","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","20","type","button",3,"click"]],template:function(x,H){1&x&&(t.YNc(0,Vu,54,34,"div",0),t.YNc(1,q1,1,2,"ng-template",null,1,t.W1O),t.YNc(3,Eh,20,11,"div",2)),2&x&&(t.Q6J("ngIf",!H.flgShowInfo),t.xp6(3),t.Q6J("ngIf",H.flgShowInfo))},dependencies:[Qi.mk,Qi.sg,Qi.O5,ni._Y,ni.Fj,ni.wV,ni.JJ,ni.JL,ni.Q7,ni.sg,ni.u,Gt.xw,Gt.Wh,Gt.yH,ya.oO,ba.ZT,Ai.lW,_i.dn,_i.dk,Fn.ib,Fn.yz,Fn.yK,Fc.Hw,Ar.Nt,Ri.KE,Ri.bx,Ri.TO,Ri.R9,pl.pW,Ur.VQ,Ur.U0,Co.C0,Co.VY,Co.Vq,Co.Ic,On.h,ed,hh,td,Vd,Qi.JJ],styles:[".dots-stepper-block[_ngcontent-%COMP%]{width:3rem}.info-graphics-container[_ngcontent-%COMP%]{max-height:60rem;min-height:60rem}"],data:{animation:[$l._]}})}function Gu(W,w){if(1&W&&(t.TgZ(0,"mat-option",42),t._uU(1),t.qZA()),2&W){const x=w.$implicit,H=t.oxw();t.Q6J("value",x),t.xp6(1),t.Oqu(H.getLabel(x))}}function Mh(W,w){1&W&&t._UZ(0,"mat-progress-bar",43)}function Lm(W,w){1&W&&(t.TgZ(0,"th",44),t._uU(1,"Status"),t.qZA())}function yl(W,w){if(1&W&&(t.TgZ(0,"td",45),t._uU(1),t.qZA()),2&W){const x=w.$implicit,H=t.oxw();t.xp6(1),t.Oqu(H.swapStateEnum[null==x?null:x.status])}}function J1(W,w){1&W&&(t.TgZ(0,"th",44),t._uU(1,"Swap ID"),t.qZA())}function Om(W,w){if(1&W&&(t.TgZ(0,"td",45),t._uU(1),t.qZA()),2&W){const x=w.$implicit;t.xp6(1),t.Oqu(null==x?null:x.id)}}function Yu(W,w){1&W&&(t.TgZ(0,"th",44),t._uU(1,"Claim Address"),t.qZA())}const Xs=function(W){return{width:W}};function wh(W,w){if(1&W&&(t.TgZ(0,"td",45)(1,"span",46)(2,"span",47),t._uU(3),t.qZA()()()),2&W){const x=w.$implicit,H=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,Xs,H.screenSize===H.screenSizeEnum.XS?"10rem":H.colWidth)),t.xp6(2),t.Oqu(null==x?null:x.claimAddress)}}function $1(W,w){1&W&&(t.TgZ(0,"th",44),t._uU(1,"Lockup Address"),t.qZA())}function Zu(W,w){if(1&W&&(t.TgZ(0,"td",45)(1,"span",46)(2,"span",47),t._uU(3),t.qZA()()()),2&W){const x=w.$implicit,H=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,Xs,H.screenSize===H.screenSizeEnum.XS?"10rem":H.colWidth)),t.xp6(2),t.Oqu(null==x?null:x.lockupAddress)}}function Dh(W,w){1&W&&(t.TgZ(0,"th",48),t._uU(1,"Onchain Amount (Sats)"),t.qZA())}function xl(W,w){if(1&W&&(t.TgZ(0,"td",45)(1,"span",49),t._uU(2),t.ALo(3,"number"),t.qZA()()),2&W){const x=w.$implicit;t.xp6(2),t.Oqu(t.lcZ(3,1,null==x?null:x.onchainAmount))}}function ef(W,w){1&W&&(t.TgZ(0,"th",48),t._uU(1,"Expected Amount (Sats)"),t.qZA())}function tf(W,w){if(1&W&&(t.TgZ(0,"td",45)(1,"span",49),t._uU(2),t.ALo(3,"number"),t.qZA()()),2&W){const x=w.$implicit;t.xp6(2),t.Oqu(t.lcZ(3,1,null==x?null:x.expectedAmount))}}function ju(W,w){1&W&&(t.TgZ(0,"th",44),t._uU(1,"Error"),t.qZA())}function Sm(W,w){if(1&W&&(t.TgZ(0,"td",45)(1,"span",46)(2,"span",47),t._uU(3),t.qZA()()()),2&W){const x=w.$implicit,H=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,Xs,H.screenSize===H.screenSizeEnum.XS?"10rem":H.colWidth)),t.xp6(2),t.Oqu(null==x?null:x.error)}}function km(W,w){1&W&&(t.TgZ(0,"th",44),t._uU(1,"Private Key"),t.qZA())}function Js(W,w){if(1&W&&(t.TgZ(0,"td",45)(1,"span",46)(2,"span",47),t._uU(3),t.qZA()()()),2&W){const x=w.$implicit,H=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,Xs,H.screenSize===H.screenSizeEnum.XS?"10rem":H.colWidth)),t.xp6(2),t.Oqu(null==x?null:x.privateKey)}}function Cl(W,w){1&W&&(t.TgZ(0,"th",44),t._uU(1,"Preimage"),t.qZA())}function El(W,w){if(1&W&&(t.TgZ(0,"td",45)(1,"span",46)(2,"span",47),t._uU(3),t.qZA()()()),2&W){const x=w.$implicit,H=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,Xs,H.screenSize===H.screenSizeEnum.XS?"10rem":H.colWidth)),t.xp6(2),t.Oqu(null==x?null:x.preimage)}}function Th(W,w){1&W&&(t.TgZ(0,"th",44),t._uU(1,"Redeem Script"),t.qZA())}function Pm(W,w){if(1&W&&(t.TgZ(0,"td",45)(1,"span",46)(2,"span",47),t._uU(3),t.qZA()()()),2&W){const x=w.$implicit,H=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,Xs,H.screenSize===H.screenSizeEnum.XS?"10rem":H.colWidth)),t.xp6(2),t.Oqu(null==x?null:x.redeemScript)}}function Rm(W,w){1&W&&(t.TgZ(0,"th",44),t._uU(1,"Invoice"),t.qZA())}function Qu(W,w){if(1&W&&(t.TgZ(0,"td",45)(1,"span",46)(2,"span",47),t._uU(3),t.qZA()()()),2&W){const x=w.$implicit,H=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,Xs,H.screenSize===H.screenSizeEnum.XS?"10rem":H.colWidth)),t.xp6(2),t.Oqu(null==x?null:x.invoice)}}function qu(W,w){1&W&&(t.TgZ(0,"th",48),t._uU(1,"Timeout Block Height"),t.qZA())}function e2(W,w){if(1&W&&(t.TgZ(0,"td",45)(1,"span",49),t._uU(2),t.ALo(3,"number"),t.qZA()()),2&W){const x=w.$implicit;t.xp6(2),t.Oqu(t.lcZ(3,1,null==x?null:x.timeoutBlockHeight))}}function Xu(W,w){1&W&&(t.TgZ(0,"th",44),t._uU(1,"Lockup Tx ID"),t.qZA())}function Wd(W,w){if(1&W&&(t.TgZ(0,"td",45),t._uU(1),t.qZA()),2&W){const x=w.$implicit;t.xp6(1),t.Oqu(null==x?null:x.lockupTransactionId)}}function Bm(W,w){1&W&&(t.TgZ(0,"th",44),t._uU(1,"Claim Tx ID"),t.qZA())}function Nm(W,w){if(1&W&&(t.TgZ(0,"td",45),t._uU(1),t.qZA()),2&W){const x=w.$implicit;t.xp6(1),t.Oqu(null==x?null:x.claimTransactionId)}}function t2(W,w){1&W&&(t.TgZ(0,"th",44),t._uU(1,"Refund Tx ID"),t.qZA())}function $s(W,w){if(1&W&&(t.TgZ(0,"td",45),t._uU(1),t.qZA()),2&W){const x=w.$implicit;t.xp6(1),t.Oqu(null==x?null:x.refundTransactionId)}}function ad(W,w){if(1&W){const x=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(x);const pe=t.oxw();return t.KtG(pe.onDownloadCSV())}),t._uU(5,"Download CSV"),t.qZA()()()()}}function jc(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"td",54)(1,"button",55),t.NdJ("click",function(pe){const Ut=t.CHM(x).$implicit,ti=t.oxw();return t.KtG(ti.onSwapClick(Ut,pe))}),t._uU(2,"View Info"),t.qZA()()}}function Ju(W,w){if(1&W&&(t.TgZ(0,"p"),t._uU(1),t.qZA()),2&W){const x=t.oxw(2);t.xp6(1),t.Oqu(x.emptyTableMessage)}}function Kd(W,w){if(1&W&&(t.TgZ(0,"td",56),t.YNc(1,Ju,2,1,"p",57),t.qZA()),2&W){const x=t.oxw();t.xp6(1),t.Q6J("ngIf",!(null!=x.listSwaps&&x.listSwaps.data)||(null==x.listSwaps||null==x.listSwaps.data?null:x.listSwaps.data.length)<1)}}const Ah=function(W){return{"display-none":W}};function Fm(W,w){if(1&W&&t._UZ(0,"tr",58),2&W){const x=t.oxw();t.Q6J("ngClass",t.VKq(1,Ah,(null==x.listSwaps?null:x.listSwaps.data)&&(null==x.listSwaps||null==x.listSwaps.data?null:x.listSwaps.data.length)>0))}}function i2(W,w){1&W&&t._UZ(0,"tr",59)}function Qc(W,w){1&W&&t._UZ(0,"tr",60)}const n2=function(){return["all"]},zm=function(W){return{"overflow-auto error-border":W,"overflow-auto":!0}},$u=function(){return["no_swap"]};class Gd{constructor(w,x,H,pe,ct){this.logger=w,this.commonService=x,this.store=H,this.boltzService=pe,this.camelCaseWithReplace=ct,this.selectedSwapType=Xe.hc.SWAP_OUT,this.swapsData=[],this.flgLoading=[!0],this.emptyTableMessage="No swaps available.",this.nodePageDefs=Xe.hG,this.selFilterBy="all",this.colWidth="20rem",this.PAGE_ID="boltz",this.tableSettingSwapOut={tableId:"swap_out",recordsPerPage:Xe.IV,sortBy:"status",sortOrder:Xe.Pi.DESCENDING},this.tableSettingSwapIn={tableId:"swap_in",recordsPerPage:Xe.IV,sortBy:"status",sortOrder:Xe.Pi.DESCENDING},this.swapStateEnum=Xe.Qw,this.faHistory=ce.qO$,this.swapCaption="Swap Out",this.displayedColumns=[],this.listSwaps=new Ea.by([]),this.selFilter="",this.pageSize=Xe.IV,this.pageSizeOptions=Xe.TJ,this.screenSize="",this.screenSizeEnum=Xe.cu,this.unSubs=[new qi.x,new qi.x,new qi.x],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.store.select(Nc.Pr).pipe((0,hn.R)(this.unSubs[0])).subscribe(w=>{this.tableSettingSwapOut=w.pageSettings.find(x=>x.pageId===this.PAGE_ID)?.tables.find(x=>x.tableId===this.tableSettingSwapOut.tableId)||Xe.gK.find(x=>x.pageId===this.PAGE_ID)?.tables.find(x=>x.tableId===this.tableSettingSwapOut.tableId),this.tableSettingSwapIn=w.pageSettings.find(x=>x.pageId===this.PAGE_ID)?.tables.find(x=>x.tableId===this.tableSettingSwapIn.tableId)||Xe.gK.find(x=>x.pageId===this.PAGE_ID)?.tables.find(x=>x.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/10+"rem":"20rem",this.logger.info(this.displayedColumns)})}ngAfterViewInit(){this.swapsData&&this.swapsData.length>0&&this.loadSwapsTable(this.swapsData)}ngOnChanges(w){w.selectedSwapType&&!w.selectedSwapType.firstChange&&this.setTableColumns(),this.swapCaption=this.selectedSwapType===Xe.hc.SWAP_IN?"Swap In":"Swap Out",this.loadSwapsTable(this.swapsData)}setTableColumns(){this.selectedSwapType===Xe.hc.SWAP_IN?(this.screenSize===Xe.cu.XS||this.screenSize===Xe.cu.SM?this.displayedColumns=JSON.parse(JSON.stringify(this.tableSettingSwapIn.columnSelectionSM)):this.displayedColumns=JSON.parse(JSON.stringify(this.tableSettingSwapIn.columnSelection)),this.displayedColumns.push("actions"),this.pageSize=this.tableSettingSwapIn.recordsPerPage?+this.tableSettingSwapIn.recordsPerPage:Xe.IV):(this.screenSize===Xe.cu.XS||this.screenSize===Xe.cu.SM?this.displayedColumns=JSON.parse(JSON.stringify(this.tableSettingSwapOut.columnSelectionSM)):this.displayedColumns=JSON.parse(JSON.stringify(this.tableSettingSwapOut.columnSelection)),this.displayedColumns.push("actions"),this.pageSize=this.tableSettingSwapOut.recordsPerPage?+this.tableSettingSwapOut.recordsPerPage:Xe.IV)}applyFilter(){this.listSwaps&&""!==this.selFilter&&(this.listSwaps.filter=this.selFilter.trim().toLowerCase())}getLabel(w){const x=this.selectedSwapType===Xe.hc.SWAP_IN?this.tableSettingSwapIn.tableId:this.tableSettingSwapOut.tableId,H=this.nodePageDefs[this.PAGE_ID][x].allowedColumns.find(pe=>pe.column===w);return H?H.label?H.label:this.camelCaseWithReplace.transform(H.column,"_"):this.commonService.titleCase(w)}setFilterPredicate(){this.listSwaps.filterPredicate=(w,x)=>{let H="";switch(this.selFilterBy){case"all":H=JSON.stringify(w).toLowerCase();break;case"status":H=w?.status?this.swapStateEnum[w?.status]:"";break;default:H=typeof w[this.selFilterBy]>"u"?"":"string"==typeof w[this.selFilterBy]?w[this.selFilterBy].toLowerCase():"boolean"==typeof w[this.selFilterBy]?w[this.selFilterBy]?"yes":"no":w[this.selFilterBy].toString()}return"status"===this.selFilterBy?0===H.indexOf(x):H.includes(x)}}onSwapClick(w,x){this.boltzService.swapInfo(w.id||"").pipe((0,hn.R)(this.unSubs[1])).subscribe(H=>{H=this.selectedSwapType===Xe.hc.SWAP_IN?H.swap:H.reverseSwap;const pe=[[{key:"status",value:Xe.Qw[H.status],title:"Status",width:50,type:Xe.Gi.STRING},{key:"id",value:H.id,title:"ID",width:50,type:Xe.Gi.STRING}],[{key:"amount",value:H.onchainAmount?H.onchainAmount:H.expectedAmount?H.expectedAmount:0,title:H.onchainAmount?"Onchain Amount (Sats)":H.expectedAmount?"Expected Amount (Sats)":"Amount (Sats)",width:50,type:Xe.Gi.NUMBER},{key:"timeoutBlockHeight",value:H.timeoutBlockHeight,title:"Timeout Block Height",width:50,type:Xe.Gi.NUMBER}],[{key:"address",value:H.claimAddress?H.claimAddress:H.lockupAddress?H.lockupAddress:"",title:H.claimAddress?"Claim Address":H.lockupAddress?"Lockup Address":"Address",width:100,type:Xe.Gi.STRING}],[{key:"invoice",value:H.invoice,title:"Invoice",width:100,type:Xe.Gi.STRING}],[{key:"privateKey",value:H.privateKey,title:"Private Key",width:100,type:Xe.Gi.STRING}],[{key:"preimage",value:H.preimage,title:"Preimage",width:100,type:Xe.Gi.STRING}],[{key:"redeemScript",value:H.redeemScript,title:"Redeem Script",width:100,type:Xe.Gi.STRING}],[{key:"lockupTransactionId",value:H.lockupTransactionId,title:"Lockup Transaction ID",width:50,type:Xe.Gi.STRING},{key:"transactionId",value:H.claimTransactionId?H.claimTransactionId:H.refundTransactionId?H.refundTransactionId:"",title:H.claimTransactionId?"Claim Transaction ID":H.refundTransactionId?"Refund Transaction ID":"Transaction ID",width:50,type:Xe.Gi.STRING}]];this.store.dispatch((0,Jt.qR)({payload:{data:{type:Xe.n_.INFORMATION,alertTitle:this.swapCaption+" Status",message:pe,openedBy:"SWAP"}}}))})}loadSwapsTable(w){this.listSwaps=w?new Ea.by([...w]):new Ea.by([]),this.listSwaps.sort=this.sort,this.listSwaps.sortingDataAccessor=(x,H)=>x[H]&&isNaN(x[H])?x[H].toLocaleLowerCase():x[H]?+x[H]:null,this.selectedSwapType===Xe.hc.SWAP_IN?this.listSwaps.sort?.sort({id:this.tableSettingSwapIn.sortBy,start:this.tableSettingSwapIn.sortOrder,disableClear:!0}):this.listSwaps.sort?.sort({id:this.tableSettingSwapOut.sortBy,start:this.tableSettingSwapOut.sortOrder,disableClear:!0}),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===Xe.hc.SWAP_IN?"Swap in":"Swap out")}ngOnDestroy(){this.unSubs.forEach(w=>{w.next(null),w.complete()})}static#e=this.\u0275fac=function(x){return new(x||Gd)(t.Y36(li.mQ),t.Y36(ta.v),t.Y36(Ui.yh),t.Y36(bs),t.Y36($2.D3))};static#t=this.\u0275cmp=t.Xpm({type:Gd,selectors:[["rtl-boltz-swaps"]],viewQuery:function(x,H){if(1&x&&(t.Gf(z1.YE,5),t.Gf(Kc.NW,5)),2&x){let pe;t.iGM(pe=t.CRH())&&(H.sort=pe.first),t.iGM(pe=t.CRH())&&(H.paginator=pe.first)}},inputs:{selectedSwapType:"selectedSwapType",swapsData:"swapsData",flgLoading:"flgLoading",emptyTableMessage:"emptyTableMessage"},features:[t._Bn([{provide:Kc.ye,useValue:(0,Xe.pt)("Swaps")}]),t.TTD],decls:71,vars:18,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"],["fxFlex","49"],["placeholder","Filter By","tabindex","1","name","filterBy",3,"ngModel","ngModelChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],["matInput","","name","filter","placeholder","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,"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-cellcolspan","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","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-cellcolspan","4"],[4,"ngIf"],["mat-footer-row","",3,"ngClass"],["mat-header-row",""],["mat-row",""]],template:function(x,H){1&x&&(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-select",7),t.NdJ("ngModelChange",function(ct){return H.selFilterBy=ct})("selectionChange",function(){return H.selFilter="",H.applyFilter()}),t.YNc(9,Gu,2,2,"mat-option",8),t.qZA()(),t.TgZ(10,"mat-form-field",6)(11,"input",9),t.NdJ("ngModelChange",function(ct){return H.selFilter=ct})("input",function(){return H.applyFilter()})("keyup",function(){return H.applyFilter()}),t.qZA()()()(),t.TgZ(12,"div",10)(13,"div",11),t.YNc(14,Mh,1,0,"mat-progress-bar",12),t.TgZ(15,"table",13,14),t.ynx(17,15),t.YNc(18,Lm,2,0,"th",16),t.YNc(19,yl,2,1,"td",17),t.BQk(),t.ynx(20,18),t.YNc(21,J1,2,0,"th",16),t.YNc(22,Om,2,1,"td",17),t.BQk(),t.ynx(23,19),t.YNc(24,Yu,2,0,"th",16),t.YNc(25,wh,4,4,"td",17),t.BQk(),t.ynx(26,20),t.YNc(27,$1,2,0,"th",16),t.YNc(28,Zu,4,4,"td",17),t.BQk(),t.ynx(29,21),t.YNc(30,Dh,2,0,"th",22),t.YNc(31,xl,4,3,"td",17),t.BQk(),t.ynx(32,23),t.YNc(33,ef,2,0,"th",22),t.YNc(34,tf,4,3,"td",17),t.BQk(),t.ynx(35,24),t.YNc(36,ju,2,0,"th",16),t.YNc(37,Sm,4,4,"td",17),t.BQk(),t.ynx(38,25),t.YNc(39,km,2,0,"th",16),t.YNc(40,Js,4,4,"td",17),t.BQk(),t.ynx(41,26),t.YNc(42,Cl,2,0,"th",16),t.YNc(43,El,4,4,"td",17),t.BQk(),t.ynx(44,27),t.YNc(45,Th,2,0,"th",16),t.YNc(46,Pm,4,4,"td",17),t.BQk(),t.ynx(47,28),t.YNc(48,Rm,2,0,"th",16),t.YNc(49,Qu,4,4,"td",17),t.BQk(),t.ynx(50,29),t.YNc(51,qu,2,0,"th",22),t.YNc(52,e2,4,3,"td",17),t.BQk(),t.ynx(53,30),t.YNc(54,Xu,2,0,"th",16),t.YNc(55,Wd,2,1,"td",17),t.BQk(),t.ynx(56,31),t.YNc(57,Bm,2,0,"th",16),t.YNc(58,Nm,2,1,"td",17),t.BQk(),t.ynx(59,32),t.YNc(60,t2,2,0,"th",16),t.YNc(61,$s,2,1,"td",17),t.BQk(),t.ynx(62,33),t.YNc(63,ad,6,0,"th",34),t.YNc(64,jc,3,0,"td",35),t.BQk(),t.ynx(65,36),t.YNc(66,Kd,2,1,"td",37),t.BQk(),t.YNc(67,Fm,1,3,"tr",38),t.YNc(68,i2,1,0,"tr",39),t.YNc(69,Qc,1,0,"tr",40),t.qZA(),t._UZ(70,"mat-paginator",41),t.qZA()()()),2&x&&(t.xp6(3),t.Q6J("icon",H.faHistory),t.xp6(2),t.hij("",H.swapCaption," History"),t.xp6(3),t.Q6J("ngModel",H.selFilterBy),t.xp6(1),t.Q6J("ngForOf",t.DdM(14,n2).concat(H.displayedColumns.slice(0,-1))),t.xp6(2),t.Q6J("ngModel",H.selFilter),t.xp6(3),t.Q6J("ngIf",!0===H.flgLoading[0]),t.xp6(1),t.Q6J("dataSource",H.listSwaps)("ngClass",t.VKq(15,zm,"error"===H.flgLoading[0])),t.xp6(52),t.Q6J("matFooterRowDef",t.DdM(17,$u)),t.xp6(1),t.Q6J("matHeaderRowDef",H.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",H.displayedColumns),t.xp6(1),t.Q6J("pageSize",H.pageSize)("pageSizeOptions",H.pageSizeOptions)("showFirstLastButtons",H.screenSize!==H.screenSizeEnum.XS))},dependencies:[Qi.mk,Qi.sg,Qi.O5,Qi.PC,ni.Fj,ni.JJ,ni.On,zt.BN,Gt.xw,Gt.Wh,Gt.yH,ya.oO,ya.Zl,Ai.lW,Ar.Nt,Ri.KE,pl.pW,tn.gD,tn.$L,sn.ey,z1.YE,z1.nU,Ea.BZ,Ea.fO,Ea.as,Ea.w1,Ea.Dz,Ea.nj,Ea.mD,Ea.Ke,Ea.ge,Ea.ev,Ea.XQ,Ea.Gk,Ea.Q2,Kc.NW,Cn.$V,Qi.JJ]})}const e0=function(W){return["../",W]};function t0(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"div",16),t.NdJ("click",function(){const ct=t.CHM(x).$implicit,Ut=t.oxw();return t.KtG(Ut.onSelectedIndexChange(ct))}),t._uU(1),t.qZA()}if(2&W){const x=w.$implicit,H=t.oxw();t.Q6J("active",H.activeTab.link===x.link)("routerLink",t.VKq(3,e0,x.link)),t.xp6(1),t.Oqu(x.name)}}class Yd{constructor(w,x,H){this.router=w,this.store=x,this.boltzService=H,this.swapTypeEnum=Xe.hc,this.selectedSwapType=Xe.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 qi.x,new qi.x,new qi.x,new qi.x]}ngOnInit(){this.boltzService.listSwaps();const w=this.links.find(x=>this.router.url.includes(x.link));this.activeTab=w||this.links[0],this.selectedSwapType=w&&"swapin"===w.link?Xe.hc.SWAP_IN:Xe.hc.SWAP_OUT,this.router.events.pipe((0,hn.R)(this.unSubs[0]),(0,wr.h)(x=>x instanceof Fe.Av)).subscribe({next:x=>{const H=this.links.find(pe=>x.urlAfterRedirects.includes(pe.link));this.activeTab=H||this.links[0],this.selectedSwapType=H&&"swapin"===H.link?Xe.hc.SWAP_IN:Xe.hc.SWAP_OUT}}),this.boltzService.swapsChanged.pipe((0,hn.R)(this.unSubs[1])).subscribe({next:x=>{this.swaps=x,this.swapsData=this.selectedSwapType===Xe.hc.SWAP_IN&&x.swaps?x.swaps:this.selectedSwapType===Xe.hc.SWAP_OUT&&x.reverseSwaps?x.reverseSwaps:[],this.flgLoading[0]=!1},error:x=>{this.flgLoading[0]="error",this.emptyTableMessage=x.message?x.message:"No swap "+(this.selectedSwapType===Xe.hc.SWAP_IN?"in":"out")+" available."}})}onSelectedIndexChange(w){"swapin"===w.link?(this.selectedSwapType=Xe.hc.SWAP_IN,this.swapsData=this.swaps.swaps||[]):(this.selectedSwapType=Xe.hc.SWAP_OUT,this.swapsData=this.swaps.reverseSwaps||[])}onSwap(w){this.boltzService.serviceInfo().pipe((0,hn.R)(this.unSubs[2])).subscribe({next:x=>{this.store.dispatch((0,Jt.qR)({payload:{data:{serviceInfo:x,direction:w,component:Fs}}}))}})}ngOnDestroy(){this.unSubs.forEach(w=>{w.next(null),w.complete()})}static#e=this.\u0275fac=function(x){return new(x||Yd)(t.Y36(Fe.F0),t.Y36(Ui.yh),t.Y36(bs))};static#t=this.\u0275cmp=t.Xpm({type:Yd,selectors:[["rtl-boltz-root"]],decls:20,vars:7,consts:[["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],["viewBox","0 0 78 78","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",1,"botlz-icon-sm","mr-1"],["id","Logo","stroke","none","stroke-width","1","fill","none","fill-rule","evenodd"],["id","Group"],["id","Oval","cx","39","cy","39","r","37.5",1,"boltz-icon"],["d","M36.4583326,43.7755404 L40.53965,35.2316544 L39.4324865,35.2316544 L46.0754873,17.6071752 C46.292579,17.0204094 46.3287609,16.5159331 46.1840331,16.0937464 C46.0393053,15.671561 45.7860319,15.3674444 45.4242131,15.1813966 C45.0623942,14.9953487 44.6535376,14.9524146 44.1976433,15.0525945 C43.7417511,15.1527743 43.3256596,15.4461573 42.9493689,15.9327433 L22.6078557,40.7701025 C22.2026186,41.2710003 22,41.7575877 22,42.2298646 C22,42.6735173 22.1592003,43.0420366 22.477601,43.3354226 C22.7960017,43.6288058 23.1940025,43.7755404 23.6716036,43.7755404 L36.4583326,43.7755404 Z","id","Path",1,"boltz-icon-fill"],["d","M44.4883879,63.7755404 L48.8604707,55.165009 L47.6744296,55.165009 L54.7906978,37.4030526 C55.0232558,36.8117097 55.0620155,36.3032983 54.9069768,35.8778185 C54.7519381,35.4523399 54.4806208,35.1458511 54.0930248,34.958352 C53.7054289,34.7708528 53.2674441,34.7275839 52.7790706,34.8285452 C52.2906992,34.9295065 51.8449641,35.2251779 51.4418653,35.7155595 L29.6511611,60.746659 C29.2170537,61.251464 29,61.7418469 29,62.2178078 C29,62.6649211 29.1705423,63.036315 29.5116268,63.3319895 C29.8527113,63.6276613 30.2790669,63.7755404 30.7906936,63.7755404 L44.4883879,63.7755404 Z","id","Path-Copy","transform","translate(42.000000, 49.275540) rotate(-180.000000) translate(-42.000000, -49.275540) ",1,"boltz-icon-fill"],[1,"page-title"],["fxLayout","column",1,"padding-gap-x"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngFor","ngForOf"],["tabPanel",""],["fxLayout","row","fxLayoutAlign","start start",1,"padding-gap-x-large","mt-1"],["mat-flat-button","","color","primary","type","button","tabindex","1",3,"click"],["fxLayout","row","fxFlex","100",3,"selectedSwapType","swapsData","flgLoading","emptyTableMessage"],["mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"]],template:function(x,H){if(1&x&&(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,t0,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 H.onSwap(H.selectedSwapType)}),t._uU(18),t.qZA()(),t._UZ(19,"rtl-boltz-swaps",15),t.qZA()()()),2&x){const pe=t.MAs(15);t.xp6(12),t.Q6J("tabPanel",pe),t.xp6(1),t.Q6J("ngForOf",H.links),t.xp6(5),t.hij("Start ",H.activeTab.name,""),t.xp6(1),t.Q6J("selectedSwapType",H.selectedSwapType)("swapsData",H.swapsData)("flgLoading",H.flgLoading)("emptyTableMessage",H.emptyTableMessage)}},dependencies:[Qi.sg,Gt.xw,Gt.Wh,Gt.yH,Ai.lW,_i.a8,_i.dn,Vi.BU,Vi.sW,Vi.Nj,Fe.rH,Gd]})}class kr{constructor(w){this.help=w}}function ec(W,w){if(1&W&&(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&W){const x=t.oxw().$implicit,H=t.oxw();t.xp6(3),t.Oqu(x.help.question),t.xp6(2),t.Q6J("innerHTML",x.help.answer,t.oJD),t.xp6(1),t.Q6J("routerLink",H.flgLoggedIn?x.help.link:"/login"),t.xp6(1),t.Oqu(H.flgLoggedIn?x.help.linkCaption:"Login to go to the page")}}function Lh(W,w){if(1&W&&(t.TgZ(0,"div",6),t.YNc(1,ec,8,4,"mat-expansion-panel",7),t.qZA()),2&W){const x=w.$implicit,H=t.oxw();t.xp6(1),t.Q6J("ngIf","ALL"===x.help.lnImplementation||x.help.lnImplementation===H.selNode.lnImplementation)}}class r2{constructor(w,x){this.store=w,this.sessionService=x,this.helpTopics=[],this.faQuestion=ce.Psp,this.LNPLink="/lnd/",this.flgLoggedIn=!1,this.unSubs=[new qi.x,new qi.x,new qi.x,new qi.x]}ngOnInit(){this.store.select(ht.dT).pipe((0,hn.R)(this.unSubs[0])).subscribe(w=>{this.selNode=w,this.selNode.lnImplementation&&""!==this.selNode.lnImplementation.trim()&&(this.LNPLink="/"+this.selNode.lnImplementation.toLowerCase()+"/",this.addHelpTopics())}),this.sessionService.watchSession().pipe((0,hn.R)(this.unSubs[1])).subscribe(w=>{this.flgLoggedIn=!!w.token}),this.sessionService.getItem("token")&&(this.flgLoggedIn=!0)}addHelpTopics(){this.helpTopics=[],this.helpTopics.push(new kr({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 kr({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 kr({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 kr({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 kr({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 kr({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 kr({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 kr({question:"Offers",answer:'Send offer payments, create offer invoices and bookmark paid offers on your node.\nGo to the "Transactions" page under the "Lightning" menu :\nPayment for bolt12 offer invoice can be done on "Payments" tab:\n 1. Click on "Send Payment" button.\n 2. Select "Offer" option on the modal.\n 2. Offer Request - Input offer request (Bolt12 format) in the input box.\n 3. Bookmark - Select the checkbox to bookmark this offer for future use.\nOffers tab is for creating bolt12 offer invoice on your node:\n 1. Click on "Create Offer" button.\n 2. Description - Description you want to provide on the offer invoice.\n 3. Amount - Amount for the offer invoice.\n 4. Vendor - Vendor of the offer.\nPaid offer bookmarks shows the list of paid offers saved for future payments.\n',link:this.LNPLink+"transactions/offers",linkCaption:"Offers",lnImplementation:"CLN"})),this.helpTopics.push(new kr({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 kr({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 kr({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 kr({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 kr({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 kr({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 kr({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 kr({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 kr({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 kr({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(w=>{w.next(null),w.complete()})}static#e=this.\u0275fac=function(x){return new(x||r2)(t.Y36(Ui.yh),t.Y36(js.m))};static#t=this.\u0275cmp=t.Xpm({type:r2,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(x,H){1&x&&(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,Lh,2,1,"div",5),t.qZA()()()),2&x&&(t.xp6(2),t.Q6J("icon",H.faQuestion),t.xp6(5),t.Q6J("ngForOf",H.helpTopics))},dependencies:[Qi.sg,Qi.O5,zt.BN,Gt.xw,Gt.Wh,Gt.yH,Fn.ib,Fn.yz,Fn.yK,Fn.u4,Fe.rH],styles:[".mat-mdc-card-content[_ngcontent-%COMP%]{margin-bottom:4px}"]})}var a0=f(6562);function Oh(W,w){1&W&&(t.TgZ(0,"mat-error"),t._uU(1,"Token is required."),t.qZA())}class o2{constructor(w,x){this.dialogRef=w,this.store=x,this.token=""}onClose(){this.dialogRef.close(null)}onVerifyToken(){if(!this.token)return!0;this.dialogRef.close(),this.store.dispatch((0,Jt.M6)({payload:{twoFAToken:this.token}}))}static#e=this.\u0275fac=function(x){return new(x||o2)(t.Y36(ba.so),t.Y36(Ui.yh))};static#t=this.\u0275cmp=t.Xpm({type:o2,selectors:[["rtl-login-token"]],decls:17,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","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","","placeholder","Token","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(x,H){1&x&&(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 H.onClose()}),t._uU(7,"X"),t.qZA()(),t.TgZ(8,"mat-card-content",6)(9,"form",7,8),t.NdJ("ngSubmit",function(){return H.onVerifyToken()}),t.TgZ(11,"mat-form-field")(12,"input",9),t.NdJ("ngModelChange",function(ct){return H.token=ct}),t.qZA(),t.YNc(13,Oh,2,0,"mat-error",10),t.qZA(),t.TgZ(14,"div",11)(15,"button",12),t._uU(16,"Verify Token"),t.qZA()()()()()()),2&x&&(t.xp6(12),t.Q6J("ngModel",H.token),t.xp6(1),t.Q6J("ngIf",!H.token))},dependencies:[Qi.O5,ni._Y,ni.Fj,ni.JJ,ni.JL,ni.Q7,ni.On,ni.F,Gt.xw,Gt.Wh,Gt.yH,Ai.lW,_i.dn,_i.dk,Ar.Nt,Ri.KE,Ri.TO,On.h]})}function r0(W,w){1&W&&(t.TgZ(0,"mat-error"),t._uU(1,"Password is required."),t.qZA())}function Ha(W,w){if(1&W&&(t.TgZ(0,"p",20)(1,"mat-icon",21),t._uU(2,"close"),t.qZA(),t._uU(3),t.qZA()),2&W){const x=t.oxw();t.xp6(3),t.hij(" ",x.loginErrorMessage," ")}}const Sh=function(W){return{"padding-gap-large":W}},kh=function(W,w){return{"font-size-200":W,"font-size-300":w}};class Zd{constructor(w,x,H,pe){this.logger=w,this.store=x,this.rtlEffects=H,this.commonService=pe,this.faUnlockAlt=ce.B$L,this.password="",this.rtlSSO=0,this.rtlCookiePath="",this.accessKey="",this.flgShow=!1,this.screenSize="",this.screenSizeEnum=Xe.cu,this.loginErrorMessage="",this.apiCallStatusEnum=Xe.Bn,this.unSubs=[new qi.x,new qi.x,new qi.x]}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),(0,a0.a)([this.store.select(ht.ul),this.store.select(ht.Sr)]).pipe((0,hn.R)(this.unSubs[0])).subscribe(([w,x])=>{this.loginErrorMessage="",w.status===Xe.Bn.ERROR&&(this.loginErrorMessage=this.loginErrorMessage+("object"==typeof w.message?JSON.stringify(w.message):w.message),this.logger.error(w.message)),x.status===Xe.Bn.ERROR&&(this.loginErrorMessage=this.loginErrorMessage+("object"==typeof x.message?JSON.stringify(x.message):x.message),this.logger.error(x.message))}),this.store.select(ht.Yj).pipe((0,hn.R)(this.unSubs[1])).subscribe(w=>{this.appConfig=w,this.logger.info(w)})}onLogin(){if(!this.password)return!0;this.loginErrorMessage="",this.appConfig.enable2FA?(this.store.dispatch((0,Jt.qR)({payload:{maxWidth:"35rem",data:{component:o2}}})),this.rtlEffects.closeAlert.pipe((0,za.q)(1)).subscribe(w=>{w&&this.store.dispatch((0,Jt.x4)({payload:{password:Tr(this.password),defaultPassword:Xe.kO.includes(this.password.toLowerCase()),twoFAToken:w.twoFAToken}}))})):this.store.dispatch((0,Jt.x4)({payload:{password:Tr(this.password),defaultPassword:Xe.kO.includes(this.password.toLowerCase())}}))}resetData(){this.password="",this.loginErrorMessage="",this.flgShow=!1}ngOnDestroy(){this.unSubs.forEach(w=>{w.next(null),w.complete()})}static#e=this.\u0275fac=function(x){return new(x||Zd)(t.Y36(li.mQ),t.Y36(Ui.yh),t.Y36(Sa.V),t.Y36(ta.v))};static#t=this.\u0275cmp=t.Xpm({type:Zd,selectors:[["rtl-login"]],decls:26,vars:14,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"login-container"],["fxLayout","row","fxFlex","35","fxLayoutAlign","center center"],["fxLayout","row","fxFlex","45","fxLayoutAlign","center stretch"],["fxLayout","column","fxLayout.gt-sm","row","fxFlex","100","fxLayoutAlign","stretch stretch"],["fxFlex","35","fxLayoutAlign","center center",1,"bg-primary"],["src","assets/images/RTL-Horse-BY.svg","alt","RTL Logo",1,"rtl-logo-svg"],["fxFlex","65","fxLayout","column","fxLayoutAlign","center stretch",3,"ngClass"],["fxLayout","row","fxLayoutAlign","center center",1,"page-title-container","mt-2","p-0"],[1,"font-bold-500",3,"ngClass"],[1,"page-title"],[1,"pb-2"],["fxLayout","column","fxLayoutAlign","start space-between"],["loginForm","ngForm"],["autoFocus","","matInput","","placeholder","Password","id","password","name","password","tabindex","1","required","",3,"type","ngModel","ngModelChange"],["mat-icon-button","","matSuffix","","tabindex","2",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",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(x,H){1&x&&(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,"input",13),t.NdJ("ngModelChange",function(ct){return H.password=ct}),t.qZA(),t.TgZ(16,"button",14),t.NdJ("click",function(){return H.flgShow=!H.flgShow}),t.TgZ(17,"mat-icon"),t._uU(18),t.qZA()(),t.YNc(19,r0,2,0,"mat-error",15),t.qZA(),t.YNc(20,Ha,4,1,"p",16),t.TgZ(21,"div",17)(22,"button",18),t.NdJ("click",function(){return H.resetData()}),t._uU(23,"Clear"),t.qZA(),t.TgZ(24,"button",19),t.NdJ("click",function(){return H.onLogin()}),t._uU(25,"Login"),t.qZA()()()()()()()()()),2&x&&(t.xp6(6),t.Q6J("ngClass",t.VKq(9,Sh,H.screenSize===H.screenSizeEnum.XS)),t.xp6(2),t.Q6J("ngClass",t.WLB(11,kh,H.screenSize===H.screenSizeEnum.XS,H.screenSize!==H.screenSizeEnum.XS)),t.xp6(7),t.Q6J("type",H.flgShow?"text":"password")("ngModel",H.password),t.xp6(1),t.uIk("aria-label","Hide password")("aria-pressed",H.flgShow),t.xp6(2),t.Oqu(H.flgShow?"visibility_off":"visibility"),t.xp6(1),t.Q6J("ngIf",!H.password),t.xp6(1),t.Q6J("ngIf",""!==H.loginErrorMessage))},dependencies:[Qi.mk,Qi.O5,ni._Y,ni.Fj,ni.JJ,ni.JL,ni.Q7,ni.On,ni.F,Gt.xw,Gt.Wh,Gt.yH,ya.oO,Ai.lW,Ai.RK,_i.a8,_i.dn,_i.dk,_i.n5,Fc.Hw,Ar.Nt,Ri.KE,Ri.TO,Ri.R9,On.h],styles:[".login-container[_ngcontent-%COMP%]{height:60vh;margin-top:15%}.login-container[_ngcontent-%COMP%] .mat-mdc-card[_ngcontent-%COMP%]{height:30rem}.login-container[_ngcontent-%COMP%] .rtl-logo-svg[_ngcontent-%COMP%]{width:100%}@media only screen and (max-width: 56.25em){.login-container[_ngcontent-%COMP%] .rtl-logo-svg[_ngcontent-%COMP%]{width:37%}}@media only screen and (max-width: 37.5em){.login-container[_ngcontent-%COMP%] .rtl-logo-svg[_ngcontent-%COMP%]{width:70%}}.login-container[_ngcontent-%COMP%] .material-icons.mat-icon[_ngcontent-%COMP%]{font-size:90%;cursor:pointer}"]})}var Jr=f(9442);class Cc{constructor(w,x){this.activatedRoute=w,this.router=x,this.error={errorCode:"",errorMessage:""},this.faTimes=ce.NBC,this.unsubs=[new qi.x,new qi.x]}ngOnInit(){this.router.routeReuseStrategy.shouldReuseRoute=()=>!1,this.router.onSameUrlNavigation="reload",this.activatedRoute.paramMap.pipe((0,hn.R)(this.unsubs[0])).subscribe(w=>{this.error=window.history.state})}goToHelp(){this.router.navigate(["/help"])}static#e=this.\u0275fac=function(x){return new(x||Cc)(t.Y36(Fe.gz),t.Y36(Fe.F0))};static#t=this.\u0275cmp=t.Xpm({type:Cc,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(x,H){1&x&&(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 H.goToHelp()}),t._uU(12,"Go To Help"),t.qZA()()()()()),2&x&&(t.xp6(4),t.Q6J("icon",H.faTimes),t.xp6(2),t.hij("Error ",H.error.errorCode,""),t.xp6(3),t.Oqu(H.error.errorMessage))},dependencies:[zt.BN,Gt.xw,Gt.Wh,Gt.yH,Ai.lW,_i.a8,_i.dn,_i.dk,_i.n5],encapsulation:2})}var qa=f(1643),rd=f(8104),jd=f(9843),Ph=f(6534);function od(W,w){1&W&&t._UZ(0,"span",16)}function Rh(W,w){1&W&&t._UZ(0,"span",17)}function o0(W,w){if(1&W){const x=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(pe){t.CHM(x);const ct=t.oxw(2);return t.KtG(ct.enableOffers=pe)})("change",function(){t.CHM(x);const pe=t.oxw(2);return t.KtG(pe.onUpdateFeature())}),t._uU(28),t.qZA()()}if(2&W){const x=t.oxw(2);t.xp6(3),t.Q6J("icon",x.faInfoCircle),t.xp6(19),t.Q6J("inset",!0),t.xp6(2),t.Q6J("icon",x.faExclamationTriangle),t.xp6(3),t.Q6J("ngModel",x.enableOffers),t.xp6(1),t.hij("Enable Offers ",x.enableOffers?"(You can find Offers under Lightning -> Transactions -> Offers)":"","")}}function Bh(W,w){if(1&W&&(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&W){const x=t.oxw(3);t.xp6(2),t.Q6J("icon",x.faExclamationTriangle)}}function sd(W,w){if(1&W&&(t.TgZ(0,"mat-option",47),t._uU(1),t.ALo(2,"titlecase"),t.qZA()),2&W){const x=w.$implicit;t.Q6J("value",x),t.xp6(1),t.hij(" ",t.lcZ(2,2,x.id)," ")}}function Nh(W,w){if(1&W&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&W){const x=t.oxw(4);t.xp6(1),t.hij("",x.selPolicyType.placeholder," is required.")}}function Ec(W,w){if(1&W&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&W){const x=t.oxw(4);t.xp6(1),t.AsE("",x.selPolicyType.placeholder," must be greater than or equal to ",x.selPolicyType.min,".")}}function Um(W,w){if(1&W&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&W){const x=t.oxw(4);t.xp6(1),t.AsE("",x.selPolicyType.placeholder," must be less than or equal to ",x.selPolicyType.max,".")}}function Qd(W,w){1&W&&(t.TgZ(0,"mat-error"),t._uU(1,"Lease base fee is required."),t.qZA())}function Fh(W,w){1&W&&(t.TgZ(0,"mat-error"),t._uU(1,"Lease base basis is required."),t.qZA())}function s2(W,w){1&W&&(t.TgZ(0,"mat-error"),t._uU(1,"Max channel routing base fee is required."),t.qZA())}function cd(W,w){1&W&&(t.TgZ(0,"mat-error"),t._uU(1,"Max channel routing fee rate is required."),t.qZA())}const zh=function(W,w){return{"alert-danger":W,"alert-info":w}};function la(W,w){if(1&W&&(t.TgZ(0,"h4",48)(1,"span",49),t._uU(2),t.qZA()()),2&W){const x=t.oxw(4);t.xp6(1),t.Q6J("ngClass",t.WLB(2,zh,!!x.updateMsg.error,!!x.updateMsg.data)),t.xp6(1),t.hij(" ",x.updateMsg.error&&""!==x.updateMsg.error?"Error: "+x.updateMsg.error||0:x.updateMsg.data&&""!==x.updateMsg.data?x.updateMsg.data:"Successfully Updated the Funding Policy!"," ")}}function qd(W,w){if(1&W){const x=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-select",34),t.NdJ("ngModelChange",function(pe){t.CHM(x);const ct=t.oxw(3);return t.KtG(ct.selPolicyType=pe)})("selectionChange",function(){t.CHM(x);const pe=t.oxw(3);return t.KtG(pe.policyMod=null)}),t.YNc(8,sd,3,4,"mat-option",35),t.qZA()(),t.TgZ(9,"mat-form-field",36)(10,"input",37,38),t.NdJ("ngModelChange",function(pe){t.CHM(x);const ct=t.oxw(3);return t.KtG(ct.policyMod=pe)}),t.qZA(),t.TgZ(12,"mat-hint"),t._uU(13),t.qZA(),t.YNc(14,Nh,2,1,"mat-error",26),t.YNc(15,Ec,2,2,"mat-error",26),t.YNc(16,Um,2,2,"mat-error",26),t.qZA()(),t.TgZ(17,"div",32)(18,"mat-form-field",36)(19,"input",39),t.NdJ("ngModelChange",function(pe){t.CHM(x);const ct=t.oxw(3);return t.KtG(ct.lease_fee_base_sat=pe)}),t.qZA(),t.YNc(20,Qd,2,0,"mat-error",26),t.qZA(),t.TgZ(21,"mat-form-field",36)(22,"input",40),t.NdJ("ngModelChange",function(pe){t.CHM(x);const ct=t.oxw(3);return t.KtG(ct.lease_fee_basis=pe)}),t.qZA(),t.YNc(23,Fh,2,0,"mat-error",26),t.qZA()(),t.TgZ(24,"div",32)(25,"mat-form-field",36)(26,"input",41),t.NdJ("ngModelChange",function(pe){t.CHM(x);const ct=t.oxw(3);return t.KtG(ct.channelFeeMaxBaseSat=pe)}),t.qZA(),t.YNc(27,s2,2,0,"mat-error",26),t.qZA(),t.TgZ(28,"mat-form-field",36)(29,"input",42),t.NdJ("ngModelChange",function(pe){t.CHM(x);const ct=t.oxw(3);return t.KtG(ct.channelFeeMaxProportional=pe)}),t.qZA(),t.YNc(30,cd,2,0,"mat-error",26),t.qZA()(),t.YNc(31,la,3,5,"h4",43),t.TgZ(32,"div",44)(33,"button",45),t.NdJ("click",function(){t.CHM(x);const pe=t.oxw(3);return t.KtG(pe.onResetPolicy())}),t._uU(34,"Reset"),t.qZA(),t.TgZ(35,"button",46),t.NdJ("click",function(){t.CHM(x);const pe=t.oxw(3);return t.KtG(pe.onUpdateFundingPolicy())}),t._uU(36,"Update"),t.qZA()()()}if(2&W){const x=t.oxw(3);t.xp6(2),t.Q6J("icon",x.faExclamationTriangle),t.xp6(5),t.Q6J("ngModel",x.selPolicyType),t.xp6(1),t.Q6J("ngForOf",x.policyTypes),t.xp6(2),t.Q6J("placeholder",x.selPolicyType.placeholder)("step","fixed"===x.selPolicyType.id?1e3:10)("min",x.selPolicyType.min)("max",x.selPolicyType.max)("ngModel",x.policyMod),t.xp6(3),t.lnq("",x.selPolicyType.placeholder," should be between ",x.selPolicyType.min," and ",x.selPolicyType.max,""),t.xp6(1),t.Q6J("ngIf",!x.policyMod),t.xp6(1),t.Q6J("ngIf",x.policyMod<x.selPolicyType.min),t.xp6(1),t.Q6J("ngIf",x.policyMod>x.selPolicyType.max),t.xp6(3),t.Q6J("ngModel",x.lease_fee_base_sat),t.xp6(1),t.Q6J("ngIf",!x.lease_fee_base_sat),t.xp6(2),t.Q6J("ngModel",x.lease_fee_basis),t.xp6(1),t.Q6J("ngIf",!x.lease_fee_basis),t.xp6(3),t.Q6J("ngModel",x.channelFeeMaxBaseSat),t.xp6(1),t.Q6J("ngIf",!x.channelFeeMaxBaseSat),t.xp6(2),t.Q6J("ngModel",x.channelFeeMaxProportional),t.xp6(1),t.Q6J("ngIf",!x.channelFeeMaxProportional),t.xp6(1),t.Q6J("ngIf",x.flgUpdateCalled)}}function Ml(W,w){if(1&W&&(t.TgZ(0,"form",18,4),t.YNc(2,Bh,12,1,"div",26),t.YNc(3,qd,37,23,"div",27),t.qZA()),2&W){const x=t.oxw(2);t.xp6(2),t.Q6J("ngIf",!x.features[1].enabled),t.xp6(1),t.Q6J("ngIf",x.features[1].enabled)}}function c2(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"mat-expansion-panel",9),t.NdJ("opened",function(){const ct=t.CHM(x).index,Ut=t.oxw();return t.KtG(Ut.onPanelExpanded(ct))}),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,od,1,0,"span",12),t.YNc(7,Rh,1,0,"span",13),t._uU(8),t.qZA()()(),t.TgZ(9,"div",14),t.YNc(10,o0,29,5,"form",15),t.YNc(11,Ml,4,2,"form",15),t.qZA()()}if(2&W){const x=w.$implicit,H=w.index;t.Q6J("expanded",!1),t.xp6(4),t.Oqu(x.name),t.xp6(2),t.Q6J("ngIf",x.enabled),t.xp6(1),t.Q6J("ngIf",!x.enabled),t.xp6(1),t.hij(" ",x.enabled?"Enabled":"Disabled"," "),t.xp6(2),t.Q6J("ngIf",0===H),t.xp6(1),t.Q6J("ngIf",1===H)}}class qc{constructor(w,x,H,pe){this.logger=w,this.store=x,this.dataService=H,this.commonService=pe,this.faInfoCircle=ce.sqG,this.faExclamationTriangle=ce.eHv,this.faCode=ce.dT$,this.features=[{name:"Offers",enabled:!1},{name:"Channel Funding Policy",enabled:!1}],this.enableOffers=!1,this.fundingPolicy={},this.policyTypes=Xe.gB,this.selPolicyType=Xe.gB[0],this.flgUpdateCalled=!1,this.updateMsg={},this.unSubs=[new qi.x,new qi.x,new qi.x,new qi.x,new qi.x]}ngOnInit(){this.dataService.listConfigs().pipe((0,hn.R)(this.unSubs[0])).subscribe({next:w=>{this.logger.info("Received List Configs: "+JSON.stringify(w)),this.features[1].enabled=!!w["experimental-dual-fund"]},error:w=>{this.logger.error("List Configs Error: "+JSON.stringify(w)),this.features[1].enabled=!1}}),this.store.select(ht.dT).pipe((0,hn.R)(this.unSubs[1])).subscribe(w=>{this.selNode=w,this.enableOffers=this.selNode.settings.enableOffers||!1,this.features[0].enabled=this.enableOffers,this.logger.info(this.selNode)}),this.store.select(Mo.Rn).pipe((0,hn.R)(this.unSubs[2])).subscribe(w=>{this.policyTypes[2].max=w.balance.totalBalance||1e3})}onPanelExpanded(w){1===w&&!this.fundingPolicy.policy&&this.dataService.getOrUpdateFunderPolicy().pipe((0,hn.R)(this.unSubs[3])).subscribe(x=>{this.logger.info("Received Funder Update Policy: "+JSON.stringify(x)),this.fundingPolicy=x,this.fundingPolicy.policy&&(this.selPolicyType=Xe.gB.find(H=>H.id===this.fundingPolicy.policy)||this.policyTypes[0]),this.policyMod=this.fundingPolicy.policy_mod||0===this.fundingPolicy.policy_mod?this.fundingPolicy.policy_mod:null,this.lease_fee_base_sat=this.fundingPolicy.lease_fee_base_msat?this.fundingPolicy.lease_fee_base_msat/1e3:0===this.fundingPolicy.lease_fee_base_msat?0:null,this.lease_fee_basis=this.fundingPolicy.lease_fee_basis||0===this.fundingPolicy.lease_fee_basis?this.fundingPolicy.lease_fee_basis:null,this.channelFeeMaxBaseSat=this.fundingPolicy.channel_fee_max_base_msat?this.fundingPolicy.channel_fee_max_base_msat/1e3:0===this.fundingPolicy.channel_fee_max_base_msat?0:null,this.channelFeeMaxProportional=this.fundingPolicy.channel_fee_max_proportional_thousandths||0===this.fundingPolicy.channel_fee_max_proportional_thousandths?1e3*this.fundingPolicy.channel_fee_max_proportional_thousandths:null})}onUpdateFeature(){this.logger.info(this.selNode),this.selNode.settings.enableOffers=this.enableOffers,this.features[0].enabled=this.enableOffers,this.store.dispatch((0,Jt.jS)({payload:{uiMessage:Xe.m6.UPDATE_SETTING,service:Xe.JX.OFFERS,settings:{enableOffers:this.enableOffers}}})),this.store.dispatch((0,dn.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,zi.oo)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:this.selNode.settings.currencyUnit,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,unannouncedChannels:this.selNode.settings.unannouncedChannels,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.selNode.settings.boltzServerUrl,enableOffers:this.enableOffers}})),this.store.dispatch((0,Ii.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,hn.R)(this.unSubs[4])).subscribe({next:w=>{this.logger.info(w),this.fundingPolicy=w,this.updateMsg={data:"Compact Lease: "+w.compact_lease},setTimeout(()=>{this.flgUpdateCalled=!1},5e3)},error:w=>{this.logger.error(w),this.updateMsg={error:this.commonService.extractErrorMessage(w,"Error in updating funder policy")},setTimeout(()=>{this.flgUpdateCalled=!1},5e3)}})}onResetPolicy(){this.flgUpdateCalled=!1,this.updateMsg={},this.fundingPolicy.policy?this.selPolicyType=Xe.gB.find(w=>w.id===this.fundingPolicy.policy)||this.policyTypes[0]:this.selPolicyType=Xe.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(w=>{w.next(null),w.complete()})}static#e=this.\u0275fac=function(x){return new(x||qc)(t.Y36(li.mQ),t.Y36(Ui.yh),t.Y36(rd.D),t.Y36(ta.v))};static#t=this.\u0275cmp=t.Xpm({type:qc,selectors:[["rtl-experimental-settings"]],decls:13,vars:3,consts:[["fxLayout","column","fxFlex","100",3,"perfectScrollbar"],["fxFlex","100",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"],["fxFlex","49","fxLayoutAlign","start end"],["autofocus","","tabindex","1","placeholder","Policy","name","policy",3,"ngModel","ngModelChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],["fxFlex","49"],["matInput","","type","number","tabindex","2","required","","name","plcMod",3,"placeholder","step","min","max","ngModel","ngModelChange"],["plcMod","ngModel"],["matInput","","placeholder","Lease Base Fee (Sats)","type","number","step","100","min","0","tabindex","3","required","","name","lease_fee_base_sat",3,"ngModel","ngModelChange"],["matInput","","placeholder","Lease Base Basis (bps)","type","number","step","1","min","0","tabindex","4","required","","name","lease_fee_basis",3,"ngModel","ngModelChange"],["matInput","","placeholder","Max Channel Routing Base Fee (Sats)","type","number","step","100","min","0","tabindex","5","required","","name","channelFeeMaxBaseSat",3,"ngModel","ngModelChange"],["matInput","","placeholder","Max Channel Routing Fee Rate (ppm)","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(x,H){1&x&&(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,c2,12,7,"mat-expansion-panel",8),t.qZA()()()),2&x&&(t.xp6(2),t.Q6J("icon",H.faInfoCircle),t.xp6(6),t.Q6J("icon",H.faCode),t.xp6(4),t.Q6J("ngForOf",H.features))},dependencies:[Qi.mk,Qi.sg,Qi.O5,ni._Y,ni.Fj,ni.wV,ni.JJ,ni.JL,ni.Q7,ni.qQ,ni.Fd,ni.On,ni.F,zt.BN,Gt.xw,Gt.Wh,Gt.yH,ya.oO,Ai.lW,Fn.pp,Fn.ib,Fn.yz,Fn.yK,Ar.Nt,Ri.KE,Ri.bx,Ri.TO,ns.d,tn.gD,sn.ey,os.Rr,Cn.$V,On.h,jd.F,Ph.q,Qi.rS],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]})}const tc=[{path:"",pathMatch:"full",redirectTo:"login"},{path:"lnd",loadChildren:()=>Promise.all([f.e("default-src_app_shared_components_currency-unit-converter_currency-unit-converter_component_t-449cdf"),f.e("src_app_lnd_lnd_module_ts")]).then(f.bind(f,1636)).then(W=>W.LNDModule),canActivate:[qa.a1]},{path:"cln",loadChildren:()=>Promise.all([f.e("default-src_app_shared_components_currency-unit-converter_currency-unit-converter_component_t-449cdf"),f.e("src_app_cln_cln_module_ts")]).then(f.bind(f,9564)).then(W=>W.CLNModule),canActivate:[qa.a1]},{path:"ecl",loadChildren:()=>Promise.all([f.e("default-src_app_shared_components_currency-unit-converter_currency-unit-converter_component_t-449cdf"),f.e("src_app_eclair_ecl_module_ts")]).then(f.bind(f,7258)).then(W=>W.ECLModule),canActivate:[qa.a1]},{path:"settings",component:Ht,canActivate:[qa.a1],children:[{path:"",pathMatch:"full",redirectTo:"app"},{path:"app",component:qr,canActivate:[qa.a1]},{path:"auth",component:Ms,canActivate:[qa.a1]},{path:"bconfig",component:uo,canActivate:[qa.a1]}]},{path:"config",component:Zl,canActivate:[qa.a1],children:[{path:"",pathMatch:"full",redirectTo:"nodesettings"},{path:"nodesettings",component:P1,canActivate:[qa.a1]},{path:"pglayout",component:xc,canActivate:[qa.a1]},{path:"services",component:N1,canActivate:[qa.a1],children:[{path:"",pathMatch:"full",redirectTo:"loop"},{path:"loop",component:Vc,canActivate:[qa.a1]},{path:"boltz",component:ml,canActivate:[qa.a1]}]},{path:"experimental",component:qc,canActivate:[qa.a1]},{path:"lnconfig",component:yi,canActivate:[qa.a1]}]},{path:"services",component:ih,canActivate:[qa.a1],children:[{path:"",pathMatch:"full",redirectTo:"loop"},{path:"loop",pathMatch:"full",redirectTo:"loop/loopout"},{path:"loop/:selTab",component:Gc},{path:"boltz",pathMatch:"full",redirectTo:"boltz/swapout"},{path:"boltz/:selTab",component:Yd}]},{path:"help",component:r2},{path:"login",component:Zd},{path:"error",component:Cc},{path:"**",component:Jr.w}],Xc=Fe.Bz.forRoot(tc,{scrollPositionRestoration:"enabled"});var l2=f(6165),$r=f(8878),wl=f(1708),d2=f(6643),Jc=f(2543),ys=f(5183),Go=f(3453);const zs={LNDChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:ce.HLz,link:"/lnd/home",userPersona:Xe.ol.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:ce.nNP,link:"/lnd/onchain",userPersona:Xe.ol.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:ce.BDt,link:"/lnd/connections",userPersona:Xe.ol.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:ce.FVb,link:"/lnd/connections",userPersona:Xe.ol.ALL},{id:32,parentId:3,name:"Transactions",iconType:"FA",icon:ce.Ssp,link:"/lnd/transactions",userPersona:Xe.ol.ALL},{id:33,parentId:3,name:"Routing",iconType:"FA",icon:ce.SuH,link:"/lnd/routing",userPersona:Xe.ol.ALL},{id:34,parentId:3,name:"Reports",iconType:"FA",icon:ce.koM,link:"/lnd/reports",userPersona:Xe.ol.ALL},{id:35,parentId:3,name:"Graph Lookup",iconType:"FA",icon:ce.wn1,link:"/lnd/graph",userPersona:Xe.ol.ALL},{id:36,parentId:3,name:"Sign/Verify",iconType:"FA",icon:ce.hkK,link:"/lnd/messages",userPersona:Xe.ol.ALL},{id:37,parentId:3,name:"Backup",iconType:"FA",icon:ce.q7m,link:"/lnd/channelbackup",userPersona:Xe.ol.ALL},{id:38,parentId:3,name:"Network",iconType:"FA",icon:ce.TmZ,link:"/lnd/network",userPersona:Xe.ol.OPERATOR},{id:39,parentId:3,name:"Node/Network",iconType:"FA",icon:ce.xf3,link:"/lnd/network",userPersona:Xe.ol.MERCHANT}]},{id:4,parentId:0,name:"Services",iconType:"FA",icon:ce.Krp,link:"/services/loop",userPersona:Xe.ol.ALL,children:[{id:41,parentId:4,name:"Loop",iconType:"FA",icon:ce.vqe,link:"/services/loop",userPersona:Xe.ol.ALL},{id:42,parentId:4,name:"Boltz",iconType:"SVG",icon:"boltzIconBlock",link:"/services/boltz",userPersona:Xe.ol.ALL}]},{id:5,parentId:0,name:"Node Config",iconType:"FA",icon:ce.CgH,link:"/config",userPersona:Xe.ol.ALL},{id:6,parentId:0,name:"Help",iconType:"FA",icon:ce.Psp,link:"/help",userPersona:Xe.ol.ALL}],CLNChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:ce.HLz,link:"/cln/home",userPersona:Xe.ol.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:ce.nNP,link:"/cln/onchain",userPersona:Xe.ol.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:ce.BDt,link:"/cln/connections",userPersona:Xe.ol.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:ce.FVb,link:"/cln/connections",userPersona:Xe.ol.ALL},{id:32,parentId:3,name:"Liquidity Ads",iconType:"FA",icon:ce.Acd,link:"/cln/liquidityads",userPersona:Xe.ol.ALL},{id:33,parentId:3,name:"Transactions",iconType:"FA",icon:ce.Ssp,link:"/cln/transactions",userPersona:Xe.ol.ALL},{id:34,parentId:3,name:"Routing",iconType:"FA",icon:ce.SuH,link:"/cln/routing",userPersona:Xe.ol.ALL},{id:35,parentId:3,name:"Reports",iconType:"FA",icon:ce.koM,link:"/cln/reports",userPersona:Xe.ol.ALL},{id:36,parentId:3,name:"Graph Lookup",iconType:"FA",icon:ce.wn1,link:"/cln/graph",userPersona:Xe.ol.ALL},{id:37,parentId:3,name:"Sign/Verify",iconType:"FA",icon:ce.hkK,link:"/cln/messages",userPersona:Xe.ol.ALL},{id:38,parentId:3,name:"Fee Rates",iconType:"FA",icon:ce.USL,link:"/cln/rates",userPersona:Xe.ol.OPERATOR},{id:39,parentId:3,name:"Node/Fee Rates",iconType:"FA",icon:ce.xf3,link:"/cln/rates",userPersona:Xe.ol.MERCHANT}]},{id:5,parentId:0,name:"Node Config",iconType:"FA",icon:ce.CgH,link:"/config",userPersona:Xe.ol.ALL},{id:6,parentId:0,name:"Help",iconType:"FA",icon:ce.Psp,link:"/help",userPersona:Xe.ol.ALL}],ECLChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:ce.HLz,link:"/ecl/home",userPersona:Xe.ol.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:ce.nNP,link:"/ecl/onchain",userPersona:Xe.ol.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:ce.BDt,link:"/ecl/connections",userPersona:Xe.ol.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:ce.FVb,link:"/ecl/connections",userPersona:Xe.ol.ALL},{id:32,parentId:3,name:"Transactions",iconType:"FA",icon:ce.Ssp,link:"/ecl/transactions",userPersona:Xe.ol.ALL},{id:33,parentId:3,name:"Routing",iconType:"FA",icon:ce.SuH,link:"/ecl/routing",userPersona:Xe.ol.ALL},{id:34,parentId:3,name:"Reports",iconType:"FA",icon:ce.koM,link:"/ecl/reports",userPersona:Xe.ol.ALL},{id:35,parentId:3,name:"Graph Lookup",iconType:"FA",icon:ce.wn1,link:"/ecl/graph",userPersona:Xe.ol.ALL}]},{id:4,parentId:0,name:"Node Config",iconType:"FA",icon:ce.CgH,link:"/config",userPersona:Xe.ol.ALL},{id:5,parentId:0,name:"Help",iconType:"FA",icon:ce.Psp,link:"/help",userPersona:Xe.ol.ALL}]};function Xd(W,w){if(1&W&&(t.TgZ(0,"mat-option",11),t._uU(1),t.qZA()),2&W){const x=w.$implicit;t.Q6J("value",x.index),t.xp6(1),t.AsE(" ",x.lnNode," (",x.lnImplementation,") ")}}function s0(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"mat-select",9),t.NdJ("selectionChange",function(pe){t.CHM(x);const ct=t.oxw();return t.KtG(ct.onNodeSelectionChange(pe.value))}),t.YNc(1,Xd,2,3,"mat-option",10),t.qZA()}if(2&W){const x=t.oxw();t.Q6J("value",x.selConfigNodeIndex),t.xp6(1),t.Q6J("ngForOf",x.appConfig.nodes)}}function Hh(W,w){if(1&W&&(t.TgZ(0,"span",21),t.GkF(1,22),t.qZA()),2&W){const x=t.oxw().$implicit;t.oxw(2);const H=t.MAs(11);t.xp6(1),t.Q6J("ngTemplateOutlet","boltzIconBlock"===x.icon?H:null)}}function nf(W,w){if(1&W&&t._UZ(0,"fa-icon",23),2&W){const x=t.oxw().$implicit;t.Q6J("icon",x.icon)}}function c0(W,w){if(1&W&&(t.TgZ(0,"mat-icon",24),t._uU(1),t.qZA()),2&W){const x=t.oxw().$implicit;t.xp6(1),t.Oqu(x.icon)}}function dd(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"mat-tree-node",15)(1,"div",16),t.NdJ("click",function(){const ct=t.CHM(x).$implicit,Ut=t.oxw(2);return t.KtG(Ut.onChildNavClicked(ct))}),t.TgZ(2,"div",17),t.YNc(3,Hh,2,1,"span",18),t.YNc(4,nf,1,1,"fa-icon",19),t.YNc(5,c0,2,1,"mat-icon",20),t.TgZ(6,"span"),t._uU(7),t.qZA()()()()}if(2&W){const x=w.$implicit;t.s9C("routerLink",x.link),t.xp6(3),t.Q6J("ngIf","SVG"===x.iconType),t.xp6(1),t.Q6J("ngIf","FA"===x.iconType),t.xp6(1),t.Q6J("ngIf",!x.iconType),t.xp6(2),t.Oqu(x.name)}}function Vm(W,w){if(1&W&&(t.TgZ(0,"span",32),t.GkF(1,22),t.qZA()),2&W){const x=t.oxw().$implicit;t.xp6(1),t.Q6J("ngTemplateOutlet",x.icon)}}function hd(W,w){if(1&W&&t._UZ(0,"fa-icon",23),2&W){const x=t.oxw().$implicit;t.Q6J("icon",x.icon)}}function Dl(W,w){if(1&W&&(t.TgZ(0,"mat-icon",24),t._uU(1),t.qZA()),2&W){const x=t.oxw().$implicit;t.xp6(1),t.Oqu(x.icon)}}function h2(W,w){if(1&W&&(t.TgZ(0,"mat-nested-tree-node",25)(1,"div",26)(2,"div",27),t.YNc(3,Vm,2,1,"span",28),t.YNc(4,hd,1,1,"fa-icon",19),t.YNc(5,Dl,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&W){const x=w.$implicit,H=t.oxw(2);t.xp6(3),t.Q6J("ngIf","SVG"===x.iconType),t.xp6(1),t.Q6J("ngIf","FA"===x.iconType),t.xp6(1),t.Q6J("ngIf",!x.iconType),t.xp6(2),t.Oqu(x.name),t.xp6(1),t.uIk("aria-label","toggle "+x.name),t.xp6(2),t.Oqu(H.treeControlNested.isExpanded(x)?"arrow_drop_up":"arrow_drop_down"),t.xp6(1),t.ekj("tree-children-invisible",!H.treeControlNested.isExpanded(x))}}function u2(W,w){if(1&W&&(t.TgZ(0,"mat-tree",5,12),t.YNc(2,dd,8,5,"mat-tree-node",13),t.YNc(3,h2,13,8,"mat-nested-tree-node",14),t.qZA()),2&W){const x=t.oxw();t.Q6J("dataSource",x.navMenus)("treeControl",x.treeControlNested),t.xp6(3),t.Q6J("matTreeNodeDefWhen",x.hasChild)}}function Uh(W,w){if(1&W&&(t.TgZ(0,"span",21),t.GkF(1,22),t.qZA()),2&W){const x=t.oxw().$implicit;t.xp6(1),t.Q6J("ngTemplateOutlet",x.icon)}}function l0(W,w){if(1&W&&t._UZ(0,"fa-icon",35),2&W){const x=t.oxw().$implicit;t.s9C("matTooltip",x.name),t.Q6J("icon",x.icon)}}function m2(W,w){if(1&W&&(t.TgZ(0,"mat-icon",36),t._uU(1),t.qZA()),2&W){const x=t.oxw().$implicit;t.s9C("matTooltip",x.name),t.xp6(1),t.Oqu(x.icon)}}function d0(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"mat-tree-node",16),t.NdJ("click",function(){const ct=t.CHM(x).$implicit,Ut=t.oxw();return t.KtG(Ut.onShowData(ct))}),t.YNc(1,Uh,2,1,"span",18),t.YNc(2,l0,1,2,"fa-icon",33),t.YNc(3,m2,2,2,"mat-icon",34),t.TgZ(4,"span"),t._uU(5),t.qZA()()}if(2&W){const x=w.$implicit;t.xp6(1),t.Q6J("ngIf","SVG"===x.iconType),t.xp6(1),t.Q6J("ngIf","FA"===x.iconType),t.xp6(1),t.Q6J("ngIf",!x.iconType),t.xp6(2),t.Oqu(x.name)}}function Vh(W,w){if(1&W&&(t.TgZ(0,"span",32),t.GkF(1,22),t.qZA()),2&W){const x=t.oxw().$implicit;t.xp6(1),t.Q6J("ngTemplateOutlet",x.icon)}}function p2(W,w){if(1&W&&t._UZ(0,"fa-icon",35),2&W){const x=t.oxw().$implicit;t.s9C("matTooltip",x.name),t.Q6J("icon",x.icon)}}function Jd(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"mat-tree-node",16),t.NdJ("click",function(){const ct=t.CHM(x).$implicit,Ut=t.oxw(2);return t.KtG(Ut.onClick(ct))}),t.YNc(1,Vh,2,1,"span",28),t.YNc(2,p2,1,2,"fa-icon",33),t.TgZ(3,"span"),t._uU(4),t.qZA()()}if(2&W){const x=w.$implicit;t.xp6(1),t.Q6J("ngIf","SVG"===x.iconType),t.xp6(1),t.Q6J("ngIf","FA"===x.iconType),t.xp6(2),t.Oqu(x.name)}}function h0(W,w){if(1&W&&(t.TgZ(0,"mat-tree",5),t.YNc(1,Jd,5,3,"mat-tree-node",6),t.qZA()),2&W){const x=t.oxw();t.Q6J("dataSource",x.navMenusLogout)("treeControl",x.treeControlLogout)}}function Wh(W,w){1&W&&(t.O4$(),t.TgZ(0,"svg",37)(1,"g",38)(2,"g",39),t._UZ(3,"circle",40)(4,"path",41)(5,"path",42),t.qZA()()())}class Mc{constructor(w,x,H,pe,ct,Ut){this.logger=w,this.commonService=x,this.sessionService=H,this.store=pe,this.actions=ct,this.rtlEffects=Ut,this.ChildNavClicked=new t.vpe,this.faEject=ce.KOR,this.faEye=ce.Mdf,this.version="",this.information={},this.informationChain={},this.flgLoading=!0,this.logoutNode=[{id:200,parentId:0,name:"Logout",iconType:"FA",icon:ce.KOR}],this.showDataNodes=[{id:1e3,parentId:0,name:"Public Key",iconType:"FA",icon:ce.Mdf}],this.showLogout=!1,this.numPendingChannels=0,this.smallScreen=!1,this.childRootRoute="",this.userPersonaEnum=Xe.ol,this.unSubs=[new qi.x,new qi.x,new qi.x,new qi.x,new qi.x,new qi.x],this.treeControlNested=new ys.VY(ti=>ti.children),this.treeControlLogout=new ys.VY(ti=>ti.children),this.treeControlShowData=new ys.VY(ti=>ti.children),this.navMenus=new Go.WX,this.navMenusLogout=new Go.WX,this.navMenusShowData=new Go.WX,this.hasChild=(ti,hi)=>!!hi.children&&hi.children.length>0,this.version=No.q4,zs.LNDChildren&&200===zs.LNDChildren[zs.LNDChildren.length-1].id&&zs.LNDChildren.pop(),this.navMenus.data=zs.LNDChildren||[],this.navMenusLogout.data=this.logoutNode,this.navMenusShowData.data=this.showDataNodes}ngOnInit(){const w=this.sessionService.getItem("token");this.showLogout=!!w,this.flgLoading=!!w,this.store.select(ht.Yj).pipe((0,hn.R)(this.unSubs[0])).subscribe(x=>{this.appConfig=x}),this.store.select(ht.gW).pipe((0,hn.R)(this.unSubs[1])).subscribe(x=>{if(this.information=x.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 H=this.information.chains[0];this.informationChain.chain=H.chain,this.informationChain.network=H.network}}else this.informationChain.chain="",this.informationChain.network="";this.flgLoading=!this.information.identity_pubkey,window.innerWidth<=414&&(this.smallScreen=!0),this.selNode=x.selNode,this.settings=this.selNode?.settings||null,this.selConfigNodeIndex=+(x.selNode?.index||0),this.selNode&&this.selNode.lnImplementation&&this.filterSideMenuNodes(),this.logger.info(x)}),this.sessionService.watchSession().pipe((0,hn.R)(this.unSubs[2])).subscribe(x=>{this.showLogout=!!x.token,this.flgLoading=!!x.token}),this.actions.pipe((0,hn.R)(this.unSubs[3]),(0,wr.h)(x=>x.type===Xe.pg.LOGOUT)).subscribe(x=>{this.showLogout=!1})}onClick(w){"Logout"===w.name&&(this.store.dispatch((0,Jt.c1)({payload:{data:{type:Xe.n_.CONFIRM,alertTitle:"Logout",titleMessage:"Logout from this device?",noBtnText:"Cancel",yesBtnText:"Logout"}}})),this.rtlEffects.closeConfirm.pipe((0,hn.R)(this.unSubs[4])).subscribe(x=>{x&&(this.showLogout=!1,this.store.dispatch((0,Jt.kS)()))})),this.ChildNavClicked.emit(w)}onChildNavClicked(w){this.ChildNavClicked.emit(w)}filterSideMenuNodes(){switch(this.selNode?.lnImplementation?.toUpperCase()){case"CLN":this.loadCLNMenu();break;case"ECL":this.loadECLMenu();break;default:this.loadLNDMenu()}}loadLNDMenu(){let w=[];w=JSON.parse(JSON.stringify(zs.LNDChildren)),this.navMenus.data=w?.filter(x=>x.children&&x.children.length?(x.children=x.children?.filter(H=>(H.userPersona===Xe.ol.ALL||H.userPersona===this.settings?.userPersona)&&"/services/loop"!==H.link&&"/services/boltz"!==H.link||"/services/loop"===H.link&&this.settings?.swapServerUrl&&""!==this.settings.swapServerUrl.trim()||"/services/boltz"===H.link&&this.settings?.boltzServerUrl&&""!==this.settings.boltzServerUrl.trim()),x.children.length>0):x.userPersona===Xe.ol.ALL||x.userPersona===this.settings?.userPersona)}loadCLNMenu(){let w=[];w=JSON.parse(JSON.stringify(zs.CLNChildren)),this.navMenus.data=w?.filter(x=>x.children&&x.children.length?(x.children=x.children?.filter(H=>(H.userPersona===Xe.ol.ALL||H.userPersona===this.settings?.userPersona)&&"/services/peerswap"!==H.link||"/services/peerswap"===H.link&&this.settings?.enablePeerswap),x.children.length>0):x.userPersona===Xe.ol.ALL||x.userPersona===this.settings?.userPersona)}loadECLMenu(){this.navMenus.data=JSON.parse(JSON.stringify(zs.ECLChildren))}onShowData(w){this.store.dispatch((0,Jt.tj)()),this.ChildNavClicked.emit("showData")}onNodeSelectionChange(w){const x=this.selConfigNodeIndex;this.selConfigNodeIndex=w;const H=this.appConfig.nodes.find(pe=>+pe.index===w);this.store.dispatch((0,Jt.fk)({payload:{uiMessage:Xe.m6.UPDATE_SELECTED_NODE,prevLnNodeIndex:+x,currentLnNode:H||null,isInitialSetup:!1}})),this.ChildNavClicked.emit("selectNode")}ngOnDestroy(){this.unSubs.forEach(w=>{w.next(null),w.complete()})}static#e=this.\u0275fac=function(x){return new(x||Mc)(t.Y36(li.mQ),t.Y36(ta.v),t.Y36(js.m),t.Y36(Ui.yh),t.Y36(yo.eX),t.Y36(Sa.V))};static#t=this.\u0275cmp=t.Xpm({type:Mc,selectors:[["rtl-side-navigation"]],viewQuery:function(x,H){if(1&x&&t.Gf(Go.gi,5),2&x){let pe;t.iGM(pe=t.CRH())&&(H.tree=pe.first)}},outputs:{ChildNavClicked:"ChildNavClicked"},decls:12,vars:5,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between start",3,"perfectScrollbar"],["fxLayout","column","fxFlex","90","fxLayoutAlign","start stretch",1,"w-100"],["class","m-2 multi-node-select",3,"value","selectionChange",4,"ngIf"],[1,"w-100"],[3,"dataSource","treeControl",4,"ngIf"],[3,"dataSource","treeControl"],[3,"click",4,"matTreeNodeDef"],["fxLayout","column","fxLayoutAlign","end stretch",1,"w-100"],["boltzIconBlock",""],[1,"m-2","multi-node-select",3,"value","selectionChange"],["tabindex","1",3,"value",4,"ngFor","ngForOf"],["tabindex","1",3,"value"],["tree",""],["matTreeNodeToggle","","routerLinkActive","active-link",3,"routerLink",4,"matTreeNodeDef"],["fxLayout","column","matTreeNodeToggle","",4,"matTreeNodeDef","matTreeNodeDefWhen"],["matTreeNodeToggle","","routerLinkActive","active-link",3,"routerLink"],[3,"click"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start center"],["class","fa-icon-small mr-2",4,"ngIf"],["class","fa-icon-small mr-2",3,"icon",4,"ngIf"],["class","mat-icon-36",4,"ngIf"],[1,"fa-icon-small","mr-2"],[3,"ngTemplateOutlet"],[1,"fa-icon-small","mr-2",3,"icon"],[1,"mat-icon-36"],["fxLayout","column","matTreeNodeToggle",""],["fxLayout","row","fxLayoutAlign","start center",1,"mat-nested-tree-node-parent"],["fxFlex","80","fxLayoutAlign","start center"],["class","mr-2",4,"ngIf"],["fxFlex","20","mat-icon-button","","fxLayoutAlign","end center",1,"btn-icon-small"],[1,"mat-nested-tree-node-child"],["matTreeNodeOutlet",""],[1,"mr-2"],["class","fa-icon-small mr-2","matTooltipPosition","right",3,"icon","matTooltip",4,"ngIf"],["class","mat-icon-36","matTooltipPosition","right",3,"matTooltip",4,"ngIf"],["matTooltipPosition","right",1,"fa-icon-small","mr-2",3,"icon","matTooltip"],["matTooltipPosition","right",1,"mat-icon-36",3,"matTooltip"],["viewBox","0 0 78 78","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink"],["id","Logo","stroke","none","stroke-width","1","fill","none","fill-rule","evenodd"],["id","Group"],["id","Oval","cx","39","cy","39","r","37.5",1,"boltz-icon"],["d","M36.4583326,43.7755404 L40.53965,35.2316544 L39.4324865,35.2316544 L46.0754873,17.6071752 C46.292579,17.0204094 46.3287609,16.5159331 46.1840331,16.0937464 C46.0393053,15.671561 45.7860319,15.3674444 45.4242131,15.1813966 C45.0623942,14.9953487 44.6535376,14.9524146 44.1976433,15.0525945 C43.7417511,15.1527743 43.3256596,15.4461573 42.9493689,15.9327433 L22.6078557,40.7701025 C22.2026186,41.2710003 22,41.7575877 22,42.2298646 C22,42.6735173 22.1592003,43.0420366 22.477601,43.3354226 C22.7960017,43.6288058 23.1940025,43.7755404 23.6716036,43.7755404 L36.4583326,43.7755404 Z","id","Path",1,"boltz-icon-fill"],["d","M44.4883879,63.7755404 L48.8604707,55.165009 L47.6744296,55.165009 L54.7906978,37.4030526 C55.0232558,36.8117097 55.0620155,36.3032983 54.9069768,35.8778185 C54.7519381,35.4523399 54.4806208,35.1458511 54.0930248,34.958352 C53.7054289,34.7708528 53.2674441,34.7275839 52.7790706,34.8285452 C52.2906992,34.9295065 51.8449641,35.2251779 51.4418653,35.7155595 L29.6511611,60.746659 C29.2170537,61.251464 29,61.7418469 29,62.2178078 C29,62.6649211 29.1705423,63.036315 29.5116268,63.3319895 C29.8527113,63.6276613 30.2790669,63.7755404 30.7906936,63.7755404 L44.4883879,63.7755404 Z","id","Path-Copy","transform","translate(42.000000, 49.275540) rotate(-180.000000) translate(-42.000000, -49.275540) ",1,"boltz-icon-fill"]],template:function(x,H){1&x&&(t.TgZ(0,"div",0)(1,"div",1),t.YNc(2,s0,2,2,"mat-select",2),t._UZ(3,"mat-divider",3),t.YNc(4,u2,4,3,"mat-tree",4),t._UZ(5,"mat-divider",3),t.TgZ(6,"mat-tree",5),t.YNc(7,d0,6,4,"mat-tree-node",6),t.qZA()(),t.TgZ(8,"div",7),t.YNc(9,h0,2,2,"mat-tree",4),t.qZA()(),t.YNc(10,Wh,6,0,"ng-template",null,8,t.W1O)),2&x&&(t.xp6(2),t.Q6J("ngIf",H.appConfig.nodes.length>1),t.xp6(2),t.Q6J("ngIf",null==H.settings?null:H.settings.lnServerUrl),t.xp6(2),t.Q6J("dataSource",H.navMenusShowData)("treeControl",H.treeControlShowData),t.xp6(3),t.Q6J("ngIf",H.showLogout))},dependencies:[Qi.sg,Qi.O5,Qi.tP,zt.BN,Gt.xw,Gt.Wh,Gt.yH,Ai.RK,Fc.Hw,ns.d,Go.GZ,Go.fQ,Go.eu,Go.gi,Go.uo,Go.Ar,tn.gD,sn.ey,R1.gM,Fe.rH,Fe.Od,Cn.$V],styles:[".tree-children-invisible[_ngcontent-%COMP%]{display:none}"]})}var f2=f(8589);function Wm(W,w){if(1&W&&(t.TgZ(0,"p",2),t._UZ(1,"fa-icon",3),t.TgZ(2,"span"),t._uU(3),t.qZA()()),2&W){const x=t.oxw();t.xp6(1),t.Q6J("icon",x.faCode),t.xp6(2),t.hij("API Version: ",null==x.information?null:x.information.api_version,"")}}function u0(W,w){if(1&W&&(t.TgZ(0,"p",11),t._UZ(1,"fa-icon",3),t.TgZ(2,"span",12),t._uU(3,"Settings"),t.qZA()()),2&W){const x=t.oxw();t.xp6(1),t.Q6J("icon",x.faUserCog)}}function m0(W,w){if(1&W&&(t.TgZ(0,"p",13),t._UZ(1,"fa-icon",3),t.TgZ(2,"span",14),t._uU(3,"Help"),t.qZA()()),2&W){const x=t.oxw();t.xp6(1),t.Q6J("icon",x.faQuestion)}}function Kh(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"p",15),t.NdJ("click",function(){t.CHM(x);const pe=t.oxw();return t.KtG(pe.onClick())}),t._UZ(1,"fa-icon",3),t.TgZ(2,"span"),t._uU(3,"Logout"),t.qZA()()}if(2&W){const x=t.oxw();t.xp6(1),t.Q6J("icon",x.faEject)}}class $d{constructor(w,x,H,pe,ct){this.logger=w,this.sessionService=x,this.store=H,this.rtlEffects=pe,this.actions=ct,this.faUserCog=ce.gNZ,this.faCodeBranch=ce.mh3,this.faCode=ce.dT$,this.faCog=ce.b7W,this.faQuestion=ce.Psp,this.faEject=ce.KOR,this.version="",this.information={},this.informationChain={},this.flgLoading=!0,this.showLogout=!1,this.unSubs=[new qi.x,new qi.x,new qi.x,new qi.x],this.version=No.q4}ngOnInit(){this.store.select(ht.R4).pipe((0,hn.R)(this.unSubs[0])).subscribe(w=>{if(this.information=w,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 x=this.information.chains[0];this.informationChain.chain=x.chain,this.informationChain.network=x.network}}else this.informationChain.chain="",this.informationChain.network="";this.logger.info(w)}),this.sessionService.watchSession().pipe((0,hn.R)(this.unSubs[1])).subscribe(w=>{this.showLogout=!!w.token,this.flgLoading=!!w.token}),this.actions.pipe((0,hn.R)(this.unSubs[2]),(0,wr.h)(w=>w.type===Xe.pg.LOGOUT)).subscribe(()=>{this.showLogout=!1})}onClick(){this.store.dispatch((0,Jt.c1)({payload:{data:{type:Xe.n_.CONFIRM,alertTitle:"Logout",titleMessage:"Logout from this device?",noBtnText:"Cancel",yesBtnText:"Logout"}}})),this.rtlEffects.closeConfirm.pipe((0,hn.R)(this.unSubs[3])).subscribe(w=>{w&&(this.showLogout=!1,this.store.dispatch((0,Jt.kS)()))})}ngOnDestroy(){this.unSubs.forEach(w=>{w.next(null),w.complete()})}static#e=this.\u0275fac=function(x){return new(x||$d)(t.Y36(li.mQ),t.Y36(js.m),t.Y36(Ui.yh),t.Y36(Sa.V),t.Y36(yo.eX))};static#t=this.\u0275cmp=t.Xpm({type:$d,selectors:[["rtl-top-menu"]],decls:14,vars:8,consts:[[1,"top-menu",3,"overlapTrigger"],["topMenu","matMenu"],["mat-menu-item","",1,"cursor-default"],[1,"fa-icon-small","mr-1",3,"icon"],["mat-menu-item","","class","cursor-default",4,"ngIf"],["mat-menu-item","","routerLink","/settings",4,"ngIf"],["mat-menu-item","","routerLink","/help",4,"ngIf"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-icon-button","",3,"matMenuTriggerFor"],["src","assets/images/RTL-Horse-BY.svg","alt","RTL Logo",1,"rtl-log-top"],[1,"rtl-logo-dropdown","color-white"],["mat-menu-item","","routerLink","/settings"],["routerLink","/settings"],["mat-menu-item","","routerLink","/help"],["routerLink","/help"],["mat-menu-item","",3,"click"]],template:function(x,H){if(1&x&&(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,Wm,4,2,"p",4),t.YNc(7,u0,4,1,"p",5),t.YNc(8,m0,4,1,"p",6),t.YNc(9,Kh,4,1,"p",7),t.qZA(),t.TgZ(10,"button",8),t._UZ(11,"img",9),t.TgZ(12,"mat-icon",10),t._uU(13,"arrow_drop_down"),t.qZA()()),2&x){const pe=t.MAs(1);t.Q6J("overlapTrigger",!1),t.xp6(3),t.Q6J("icon",H.faCodeBranch),t.xp6(2),t.hij("Version: ",H.version,""),t.xp6(1),t.Q6J("ngIf",null==H.information?null:H.information.api_version),t.xp6(1),t.Q6J("ngIf",H.showLogout),t.xp6(1),t.Q6J("ngIf",H.showLogout),t.xp6(1),t.Q6J("ngIf",H.showLogout),t.xp6(1),t.Q6J("matMenuTriggerFor",pe)}},dependencies:[Qi.O5,zt.BN,Ai.RK,Fc.Hw,f2.VK,f2.OP,f2.p6,Fe.rH],styles:[".mat-mdc-icon-button img.rtl-log-top{width:2rem;height:2rem}.mat-icon.material-icons.mat-icon-no-color.rtl-logo-dropdown{height:2rem}\n"],encapsulation:2})}const af=["sideNavigation"],e1=["sideNavContent"];function ic(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"button",13),t.NdJ("click",function(){t.CHM(x);const pe=t.oxw();return t.KtG(pe.sideNavToggle())}),t.TgZ(1,"mat-icon",14),t._uU(2,"menu"),t.qZA()()}if(2&W){const x=t.oxw();t.Q6J("matTooltip",x.flgSideNavOpened?"Hide Navigation Menu":"Show Navigation Menu")("matTooltipDisabled",x.smallScreen)}}function Km(W,w){1&W&&(t.O4$(),t._UZ(0,"path",19))}function p0(W,w){1&W&&(t.O4$(),t._UZ(0,"path",20))}function rf(W,w){if(1&W){const x=t.EpF();t.TgZ(0,"button",15),t.NdJ("click",function(){t.CHM(x);const pe=t.oxw();return t.KtG(pe.flgSidenavPinned=!pe.flgSidenavPinned)}),t.O4$(),t.TgZ(1,"svg",16),t.YNc(2,Km,1,0,"path",17),t.YNc(3,p0,1,0,"path",18),t.qZA()()}if(2&W){const x=t.oxw();t.Q6J("matTooltip",x.flgSidenavPinned?"Unpin Navigation Menu":"Pin Navigation Menu"),t.xp6(2),t.Q6J("ngIf",!x.flgSidenavPinned),t.xp6(1),t.Q6J("ngIf",x.flgSidenavPinned)}}function sf(W,w){if(1&W&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&W){const x=t.oxw();t.xp6(1),t.Oqu(x.information.alias?"RTL - "+x.information.alias:"RTL")}}function f0(W,w){if(1&W&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&W){const x=t.oxw();t.xp6(1),t.Oqu(x.information.alias?"Ride The Lightning - "+x.information.alias:"Ride The Lightning")}}function Gm(W,w){1&W&&(t.TgZ(0,"div",21),t._UZ(1,"mat-spinner",22),t.TgZ(2,"h4"),t._uU(3,"Loading RTL..."),t.qZA()())}const _0=function(W,w){return[W,w]};class g0{constructor(w,x,H,pe,ct,Ut,ti,hi,wi){this.logger=w,this.commonService=x,this.store=H,this.actions=pe,this.userIdle=ct,this.router=Ut,this.sessionService=ti,this.breakpointObserver=hi,this.renderer=wi,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 qi.x,new qi.x,new qi.x,new qi.x,new qi.x,new qi.x,new qi.x,new qi.x]}ngOnInit(){this.router.events.subscribe(w=>{w instanceof Fe.m2&&document.getElementsByTagName("mat-sidenav-content")[0].scrollTo(0,0)}),this.breakpointObserver.observe([$n.u3.XSmall,$n.u3.TabletPortrait,$n.u3.Small,$n.u3.Medium,$n.u3.Large,$n.u3.XLarge]).pipe((0,hn.R)(this.unSubs[0])).subscribe(w=>{w.breakpoints[$n.u3.XSmall]?(this.commonService.setScreenSize(Xe.cu.XS),this.smallScreen=!0):w.breakpoints[$n.u3.TabletPortrait]?(this.commonService.setScreenSize(Xe.cu.SM),this.smallScreen=!0):w.breakpoints[$n.u3.Small]||w.breakpoints[$n.u3.Medium]?(this.commonService.setScreenSize(Xe.cu.MD),this.smallScreen=!1):w.breakpoints[$n.u3.Large]?(this.commonService.setScreenSize(Xe.cu.LG),this.smallScreen=!1):(this.commonService.setScreenSize(Xe.cu.XL),this.smallScreen=!1)}),this.store.dispatch((0,Jt.ey)()),this.accessKey=this.readAccessKey()||"",this.store.select(ht.dT).pipe((0,hn.R)(this.unSubs[1])).subscribe(w=>{this.settings=w.settings,this.sessionService.getItem("token")?(this.flgLoggedIn=!0,this.userIdle.startWatching()):(this.flgLoggedIn=!1,this.flgLoading[0]=!1)}),this.store.select(ht.Yj).pipe((0,hn.R)(this.unSubs[2])).subscribe(w=>{this.appConfig=w}),this.store.select(ht.R4).pipe((0,hn.R)(this.unSubs[3])).subscribe(w=>{this.information=w,this.flgLoading[0]=!this.information.identity_pubkey,this.logger.info(this.information)}),"true"===this.sessionService.getItem("defaultPassword")&&(this.flgSideNavOpened=!1),this.actions.pipe((0,hn.R)(this.unSubs[4]),(0,wr.h)(w=>w.type===Xe.pg.SET_RTL_CONFIG||w.type===Xe.pg.LOGIN||w.type===Xe.pg.LOGOUT)).subscribe(w=>{w.type===Xe.pg.SET_RTL_CONFIG&&(this.sessionService.getItem("token")||(+w.payload.sso.rtlSSO?!this.accessKey||this.accessKey.trim().length<32?this.router.navigate(["./error"],{state:{errorCode:"406",errorMessage:"Access key too short. It should be at least 32 characters long."}}):this.store.dispatch((0,Jt.x4)({payload:{password:Tr(this.accessKey).toString(),defaultPassword:!1}})):this.router.navigate(["./login"]))),w.type===Xe.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)),w.type===Xe.pg.LOGOUT&&(this.flgLoggedIn=!1,this.userIdle.stopWatching(),this.userIdle.stopTimer())}),this.userIdle.onTimerStart().pipe((0,hn.R)(this.unSubs[5])).subscribe(w=>{this.logger.info("Counting Down: "+(11-w))}),this.userIdle.onTimeout().pipe((0,hn.R)(this.unSubs[6])).subscribe(()=>{this.logger.info("Time Out!"),this.sessionService.getItem("token")&&(this.flgLoggedIn=!1,this.logger.warn("Time limit exceeded for session inactivity."),this.store.dispatch((0,Jt.ts)()),this.store.dispatch((0,Jt.qR)({payload:{data:{type:Xe.n_.WARNING,alertTitle:"Logging out",titleMessage:"Time limit exceeded for session inactivity."}}})),this.store.dispatch((0,Jt.kS)()))}),"true"===this.sessionService.getItem("defaultPassword")&&(this.flgSideNavOpened=!1)}readAccessKey(){const w=window.location.href;return w.includes("access-key=")?w.substring(w.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(w){this.smallScreen&&this.sideNavigation.close()}copiedText(w){this.flgCopied=!0,setTimeout(()=>{this.flgCopied=!1},5e3),this.logger.info("Copied Text: "+w)}ngOnDestroy(){this.unSubs.forEach(w=>{w.next(),w.complete()})}static#e=this.\u0275fac=function(x){return new(x||g0)(t.Y36(li.mQ),t.Y36(ta.v),t.Y36(Ui.yh),t.Y36(yo.eX),t.Y36(is),t.Y36(Fe.F0),t.Y36(js.m),t.Y36($n.Yg),t.Y36(t.Qsj))};static#t=this.\u0275cmp=t.Xpm({type:g0,selectors:[["rtl-app"]],viewQuery:function(x,H){if(1&x&&(t.Gf(af,5),t.Gf(e1,5)),2&x){let pe;t.iGM(pe=t.CRH())&&(H.sideNavigation=pe.first),t.iGM(pe=t.CRH())&&(H.sideNavContent=pe.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"],[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,"rtl-spinner"],["color","accent"]],template:function(x,H){1&x&&(t.TgZ(0,"div",0),t.ALo(1,"lowercase"),t.ALo(2,"lowercase"),t.TgZ(3,"mat-toolbar",1)(4,"div"),t.YNc(5,ic,3,2,"button",2),t.YNc(6,rf,4,3,"button",3),t.qZA(),t.TgZ(7,"div"),t.YNc(8,sf,2,1,"span",4),t.YNc(9,f0,2,1,"span",4),t.qZA(),t.TgZ(10,"div"),t._UZ(11,"rtl-top-menu"),t.qZA()(),t.TgZ(12,"mat-sidenav-container")(13,"mat-sidenav",5,6)(15,"rtl-side-navigation",7),t.NdJ("ChildNavClicked",function(ct){return H.onNavigationClicked(ct)}),t.qZA()(),t.TgZ(16,"mat-sidenav-content",8,9)(18,"div",10),t._UZ(19,"router-outlet",null,11),t.qZA()(),t._uU(21,"> "),t.qZA(),t.YNc(22,Gm,4,0,"div",12),t.qZA()),2&x&&(t.Q6J("ngClass",t.WLB(12,_0,t.lcZ(1,8,H.settings.themeColor),t.lcZ(2,10,H.settings.themeMode))),t.xp6(5),t.Q6J("ngIf",H.flgLoggedIn),t.xp6(1),t.Q6J("ngIf",!H.smallScreen&&H.flgLoggedIn),t.xp6(2),t.Q6J("ngIf",H.smallScreen),t.xp6(1),t.Q6J("ngIf",!H.smallScreen),t.xp6(4),t.Q6J("opened",H.flgSideNavOpened&&H.flgLoggedIn)("mode",H.flgSidenavPinned&&!H.smallScreen?"side":"over"),t.xp6(9),t.Q6J("ngIf",!H.settings.themeColor))},dependencies:[Qi.mk,Qi.O5,Gt.xw,Gt.Wh,Gt.yH,ya.oO,Ai.RK,Fc.Hw,wl.Ou,d2.JX,d2.TM,d2.Rh,Jc.Ye,R1.gM,Cn.$V,Mc,$d,Fe.lC,Qi.i8],styles:[".inline-spinner[_ngcontent-%COMP%]{display:inline-flex!important;top:0!important}"],data:{animation:[$r.g]}})}class wc{constructor(w){this.sessionService=w}intercept(w,x){if(this.sessionService.getItem("token")){const H=w.clone({headers:w.headers.set("Authorization","Bearer "+this.sessionService.getItem("token")),withCredentials:!0});return x.handle(H)}return x.handle(w)}static#e=this.\u0275fac=function(x){return new(x||wc)(t.LFG(js.m))};static#t=this.\u0275prov=t.Yz7({token:wc,factory:wc.\u0275fac})}var t1=f(3512),$c=f(3172),Ym=f(4947),Zm=f(3289);const Ds={userPersona:"OPERATOR",themeMode:"DAY",themeColor:"PURPLE",channelBackupPath:"",selCurrencyUnit:"USD",unannouncedChannels:!1,fiatConversion:!1,currencyUnits:["Sats","BTC","USD"],bitcoindConfigPath:"",enableOffers:!1,enablePeerswap:!1},v0={configPath:"",swapMacaroonPath:"",boltzMacaroonPath:""},Gh={apiURL:"",apisCallStatus:{Login:{status:Xe.Bn.UN_INITIATED},IsAuthorized:{status:Xe.Bn.UN_INITIATED}},selNode:{index:1,lnNode:"Node 1",settings:Ds,authentication:v0,lnImplementation:"LND"},appConfig:{defaultNodeIndex:-1,selectedNodeIndex:-1,sso:{rtlSSO:0,logoutRedirectLink:""},enable2FA:!1,allowPasswordUpdate:!0,nodes:[{settings:Ds,authentication:v0}]},nodeData:{}},b0=(0,Ui.Lq)(Gh,(0,Ui.on)(Jt.qi,(W,{payload:w})=>{const x=JSON.parse(JSON.stringify(W.apisCallStatus));return w.action&&(x[w.action]={status:w.status,statusCode:w.statusCode,message:w.message,URL:w.URL,filePath:w.filePath}),{...W,apisCallStatus:x}}),(0,Ui.on)(Jt.vI,(W,{payload:w})=>({...Gh,apisCallStatus:W.apisCallStatus,appConfig:W.appConfig,selNode:w})),(0,Ui.on)(Jt.fk,(W,{payload:w})=>({...W,selNode:w.currentLnNode})),(0,Ui.on)(Jt.Tm,(W,{payload:w})=>{const x=JSON.parse(JSON.stringify(W.selNode));switch(w.service){case Xe.JX.BOLTZ:x.settings.boltzServerUrl=w.settings.boltzServerUrl;break;case Xe.JX.LOOP:x.settings.swapServerUrl=w.settings.swapServerUrl;break;case Xe.JX.OFFERS:x.settings.enableOffers=w.settings.enableOffers;break;case Xe.JX.PEERSWAP:x.settings.enablePeerswap=w.settings.enablePeerswap}return{...W,selNode:x}}),(0,Ui.on)(Jt._V,(W,{payload:w})=>({...W,nodeData:w})),(0,Ui.on)(Jt.XT,(W,{payload:w})=>({...W,appConfig:w}))),y0={apisCallStatus:{FetchPageSettings:{status:Xe.Bn.UN_INITIATED},FetchInfo:{status:Xe.Bn.UN_INITIATED},FetchFees:{status:Xe.Bn.UN_INITIATED},FetchPeers:{status:Xe.Bn.UN_INITIATED},FetchClosedChannels:{status:Xe.Bn.UN_INITIATED},FetchPendingChannels:{status:Xe.Bn.UN_INITIATED},FetchAllChannels:{status:Xe.Bn.UN_INITIATED},FetchBalanceBlockchain:{status:Xe.Bn.UN_INITIATED},FetchInvoices:{status:Xe.Bn.UN_INITIATED},FetchPayments:{status:Xe.Bn.UN_INITIATED},FetchForwardingHistory:{status:Xe.Bn.UN_INITIATED},FetchUTXOs:{status:Xe.Bn.UN_INITIATED},FetchTransactions:{status:Xe.Bn.UN_INITIATED},FetchLightningTransactions:{status:Xe.Bn.UN_INITIATED},FetchNetwork:{status:Xe.Bn.UN_INITIATED}},nodeSettings:{userPersona:Xe.ol.OPERATOR,unannouncedChannels:!1,fiatConversion:!1,channelBackupPath:"",currencyUnits:[],selCurrencyUnit:"",lnImplementation:"",swapServerUrl:""},pageSettings:Xe.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 x0=!1,C0=!1;const Yh=(0,Ui.Lq)(y0,(0,Ui.on)(dn.PC,(W,{payload:w})=>{const x=JSON.parse(JSON.stringify(W.apisCallStatus));return w.action&&(x[w.action]={status:w.status,statusCode:w.statusCode,message:w.message,URL:w.URL,filePath:w.filePath}),{...W,apisCallStatus:x}}),(0,Ui.on)(dn.JT,(W,{payload:w})=>({...W,nodeSettings:w})),(0,Ui.on)(dn.Ll,(W,{payload:w})=>({...y0,nodeSettings:w})),(0,Ui.on)(dn.CX,(W,{payload:w})=>({...W,information:w})),(0,Ui.on)(dn.Z8,(W,{payload:w})=>({...W,peers:w})),(0,Ui.on)(dn.EK,(W,{payload:w})=>{const x=[...W.peers],H=W.peers.findIndex(pe=>pe.pub_key===w.pubkey);return H>-1&&x.splice(H,1),{...W,peers:x}}),(0,Ui.on)(dn.YP,(W,{payload:w})=>{const x=W.listInvoices;return x.invoices?.unshift(w),{...W,listInvoices:x}}),(0,Ui.on)(dn.aL,(W,{payload:w})=>{const x=W.listInvoices;return x.invoices=x.invoices?.map(H=>H.payment_request===w.payment_request?w:H),{...W,listInvoices:x}}),(0,Ui.on)(dn.qY,(W,{payload:w})=>{const x=W.listPayments;return x.payments=x.payments?.map(H=>H.payment_hash===w.payment_hash?w:H),{...W,listPayments:x}}),(0,Ui.on)(dn.RX,(W,{payload:w})=>({...W,fees:w})),(0,Ui.on)(dn._L,(W,{payload:w})=>({...W,closedChannels:w})),(0,Ui.on)(dn.TW,(W,{payload:w})=>({...W,pendingChannels:w.pendingChannels,pendingChannelsSummary:w.pendingChannelsSummary})),(0,Ui.on)(dn.as,(W,{payload:w})=>{let x=0,H=0,pe=0,ct=0,Ut=0,ti=0;return w&&w.forEach(hi=>{hi.local_balance||(hi.local_balance=0),!0===hi.active?(Ut+=+hi.local_balance,pe+=1,hi.local_balance?x=+x+ +hi.local_balance:hi.local_balance=0,hi.remote_balance?H=+H+ +hi.remote_balance:hi.remote_balance=0):(ti+=+hi.local_balance,ct+=1)}),{...W,channels:w,channelsSummary:{active:{num_channels:pe,capacity:Ut},inactive:{num_channels:ct,capacity:ti}},lightningBalance:{local:x,remote:H}}}),(0,Ui.on)(dn.OG,(W,{payload:w})=>{const x=[...W.channels],H=W.channels.findIndex(pe=>pe.channel_point===w.channelPoint);return H>-1&&x.splice(H,1),{...W,channels:x}}),(0,Ui.on)(dn.Jl,(W,{payload:w})=>({...W,blockchainBalance:w})),(0,Ui.on)(dn.ks,(W,{payload:w})=>({...W,networkInfo:w})),(0,Ui.on)(dn.Nr,(W,{payload:w})=>(w.total_invoices||(w.total_invoices=W.listInvoices.total_invoices),{...W,listInvoices:w})),(0,Ui.on)(dn.Lf,(W,{payload:w})=>{if(x0=!0,w.length&&C0){const x=[...W.utxos];return x.forEach(H=>{const pe=w.find(ct=>ct.tx_hash===H.outpoint?.txid_str);H.label=pe&&pe.label?pe.label:""}),{...W,utxos:x,transactions:w}}return{...W,transactions:w}}),(0,Ui.on)(dn.UH,(W,{payload:w})=>{if(C0=!0,w.length&&x0){const x=[...W.transactions];w.forEach(H=>{const pe=x.find(ct=>ct.tx_hash===H.outpoint?.txid_str);H.label=pe&&pe.label?pe.label:""})}return{...W,utxos:w}}),(0,Ui.on)(dn.HI,(W,{payload:w})=>{const x={listInvoicesAll:W.allLightningTransactions.listInvoicesAll,listPaymentsAll:w};return{...W,listPayments:w,allLightningTransactions:x}}),(0,Ui.on)(dn.Fr,(W,{payload:w})=>{const x={listInvoicesAll:w.listInvoicesAll,listPaymentsAll:W.listPayments};return{...W,allLightningTransactions:x}}),(0,Ui.on)(dn.QJ,(W,{payload:w})=>{const x=[...W.channels,...W.closedChannels];let H=w.forwarding_events?JSON.parse(JSON.stringify(w)):{};return H.forwarding_events&&(H=jm(H,x)),{...W,forwardingHistory:H}}),(0,Ui.on)(dn.pd,(W,{payload:w})=>{const x=[];return Xe.gK.forEach(H=>{const pe=w&&w.length&&w.length>0?w.find(ct=>ct.pageId===H.pageId):null;if(pe){const ct=JSON.parse(JSON.stringify(pe.tables));pe.tables=[],H.tables.forEach(Ut=>{const ti=ct.find(hi=>hi.tableId===Ut.tableId)||null;ti?pe.tables.push(ti):pe.tables.push(JSON.parse(JSON.stringify(Ut)))}),x.push(pe)}else x.push(JSON.parse(JSON.stringify(H)))}),{...W,pageSettings:x}})),jm=(W,w)=>(W.forwarding_events.forEach(x=>{if(w&&w.length>0)for(let H=0;H<w.length;H++){if(w[H].chan_id?.toString()===x.chan_id_in&&(x.alias_in=w[H].remote_alias?w[H].remote_alias:x.chan_id_in,x.alias_out)||w[H].chan_id?.toString()===x.chan_id_out&&(x.alias_out=w[H].remote_alias?w[H].remote_alias:x.chan_id_out,x.alias_in))return;H===w.length-1&&(x.alias_in||(x.alias_in=x.chan_id_in),x.alias_out||(x.alias_out=x.chan_id_out))}else x.alias_in=x.chan_id_in,x.alias_out=x.chan_id_out}),W),E0={apisCallStatus:{FetchPageSettings:{status:Xe.Bn.UN_INITIATED},FetchInfo:{status:Xe.Bn.UN_INITIATED},FetchInvoices:{status:Xe.Bn.UN_INITIATED},FetchFees:{status:Xe.Bn.UN_INITIATED},FetchChannels:{status:Xe.Bn.UN_INITIATED},FetchBalance:{status:Xe.Bn.UN_INITIATED},FetchLocalRemoteBalance:{status:Xe.Bn.UN_INITIATED},FetchFeeRatesperkb:{status:Xe.Bn.UN_INITIATED},FetchFeeRatesperkw:{status:Xe.Bn.UN_INITIATED},FetchPeers:{status:Xe.Bn.UN_INITIATED},FetchUTXOs:{status:Xe.Bn.UN_INITIATED},FetchPayments:{status:Xe.Bn.UN_INITIATED},FetchForwardingHistoryS:{status:Xe.Bn.UN_INITIATED},FetchForwardingHistoryF:{status:Xe.Bn.UN_INITIATED},FetchForwardingHistoryL:{status:Xe.Bn.UN_INITIATED},FetchOffers:{status:Xe.Bn.UN_INITIATED},FetchOfferBookmarks:{status:Xe.Bn.UN_INITIATED}},nodeSettings:{userPersona:Xe.ol.OPERATOR,unannouncedChannels:!1,selCurrencyUnit:"USD",fiatConversion:!1,channelBackupPath:"",currencyUnits:[],enableOffers:!1,enablePeerswap:!1},pageSettings:Xe.gG,information:{},fees:{},feeRatesPerKB:{},feeRatesPerKW:{},balance:{},localRemoteBalance:{localBalance:-1,remoteBalance:-1},peers:[],activeChannels:[],pendingChannels:[],inactiveChannels:[],payments:[],forwardingHistory:{},failedForwardingHistory:{},localFailedForwardingHistory:{},invoices:{invoices:[]},utxos:[],offers:[],offersBookmarks:[]},M0=(0,Ui.Lq)(E0,(0,Ui.on)(zi.Ni,(W,{payload:w})=>{const x=JSON.parse(JSON.stringify(W.apisCallStatus));return w.action&&(x[w.action]={status:w.status,statusCode:w.statusCode,message:w.message,URL:w.URL,filePath:w.filePath}),{...W,apisCallStatus:x}}),(0,Ui.on)(zi.oo,(W,{payload:w})=>({...W,nodeSettings:w})),(0,Ui.on)(zi.xH,(W,{payload:w})=>({...E0,nodeSettings:w})),(0,Ui.on)(zi.CX,(W,{payload:w})=>({...W,information:w})),(0,Ui.on)(zi.RX,(W,{payload:w})=>({...W,fees:w})),(0,Ui.on)(zi.I8,(W,{payload:w})=>w.perkb?{...W,feeRatesPerKB:w}:w.perkw?{...W,feeRatesPerKW:w}:{...W}),(0,Ui.on)(zi.Lu,(W,{payload:w})=>({...W,balance:w})),(0,Ui.on)(zi.xS,(W,{payload:w})=>({...W,localRemoteBalance:w})),(0,Ui.on)(zi.Z8,(W,{payload:w})=>({...W,peers:w})),(0,Ui.on)(zi.X3,(W,{payload:w})=>({...W,peers:[...W.peers,w]})),(0,Ui.on)(zi.EK,(W,{payload:w})=>{const x=[...W.peers],H=W.peers.findIndex(pe=>pe.id===w.id);return H>-1&&x.splice(H,1),{...W,peers:x}}),(0,Ui.on)(zi.as,(W,{payload:w})=>({...W,activeChannels:w.activeChannels,pendingChannels:w.pendingChannels,inactiveChannels:w.inactiveChannels})),(0,Ui.on)(zi.OG,(W,{payload:w})=>{const x=[...W.peers];return x.forEach(H=>{H.id===w.id&&(H.connected=!1,delete H.netaddr)}),{...W,peers:x}}),(0,Ui.on)(zi.HI,(W,{payload:w})=>({...W,payments:w})),(0,Ui.on)(zi.QJ,(W,{payload:w})=>{const x=[...W.activeChannels,...W.pendingChannels,...W.inactiveChannels],H=Hn(w.listForwards,x);switch(w.listForwards=H,w.status){case Xe.OO.SETTLED:const pe=W.fees;return pe.totalTxCount=w.totalForwards||0,{...W,fees:pe,forwardingHistory:w};case Xe.OO.FAILED:return{...W,failedForwardingHistory:w};case Xe.OO.LOCAL_FAILED:return{...W,localFailedForwardingHistory:w};default:return{...W}}}),(0,Ui.on)(zi.YP,(W,{payload:w})=>{const x=W.invoices;return x.invoices?.unshift(w),{...W,invoices:x}}),(0,Ui.on)(zi.Nr,(W,{payload:w})=>({...W,invoices:w})),(0,Ui.on)(zi.aL,(W,{payload:w})=>{const x=W.invoices;return x.invoices=x.invoices?.map(H=>H.label===w.label?w:H),{...W,invoices:x}}),(0,Ui.on)(zi.UH,(W,{payload:w})=>({...W,utxos:w})),(0,Ui.on)(zi.Zu,(W,{payload:w})=>({...W,offers:w})),(0,Ui.on)(zi.ZH,(W,{payload:w})=>{const x=W.offers;return x?.unshift(w),{...W,offers:x}}),(0,Ui.on)(zi.JK,(W,{payload:w})=>{const x=[...W.offers],H=W.offers.findIndex(pe=>pe.offer_id===w.offer.offer_id);return H>-1&&x.splice(H,1,w.offer),{...W,offers:x}}),(0,Ui.on)(zi.d7,(W,{payload:w})=>({...W,offersBookmarks:w})),(0,Ui.on)(zi.e9,(W,{payload:w})=>{const x=[...W.offersBookmarks],H=x.findIndex(pe=>pe.bolt12===w.bolt12);if(H<0)x?.unshift(w);else{const pe={...x[H]};pe.title=w.title,pe.amountMSat=w.amountMSat,pe.lastUpdatedAt=w.lastUpdatedAt,pe.description=w.description,pe.vendor=w.vendor,x.splice(H,1,pe)}return{...W,offersBookmarks:x}}),(0,Ui.on)(zi.en,(W,{payload:w})=>{const x=[...W.offersBookmarks],H=W.offersBookmarks.findIndex(pe=>pe.bolt12===w.bolt12);return H>-1&&x.splice(H,1),{...W,offersBookmarks:x}}),(0,Ui.on)(zi.pd,(W,{payload:w})=>{const x=[];return Xe.gG.forEach(H=>{const pe=w&&w.length&&w.length>0?w.find(ct=>ct.pageId===H.pageId):null;if(pe){const ct=JSON.parse(JSON.stringify(pe.tables));pe.tables=[],H.tables.forEach(Ut=>{const ti=ct.find(hi=>hi.tableId===Ut.tableId)||null;ti?pe.tables.push(ti):pe.tables.push(JSON.parse(JSON.stringify(Ut)))}),x.push(pe)}else x.push(JSON.parse(JSON.stringify(H)))}),{...W,pageSettings:x}})),Hn=(W,w)=>(W&&W.length>0?W.forEach((x,H)=>{if(w&&w.length>0)for(let pe=0;pe<w.length;pe++){if(w[pe].short_channel_id&&w[pe].short_channel_id===x.in_channel&&(x.in_channel_alias=w[pe].alias?w[pe].alias:x.in_channel,x.out_channel_alias)||w[pe].short_channel_id&&w[pe].short_channel_id?.toString()===x.out_channel&&(x.out_channel_alias=w[pe].alias?w[pe].alias:x.out_channel,x.in_channel_alias))return;pe===w.length-1&&(x.in_channel_alias||(x.in_channel_alias=x.in_channel?x.in_channel:"-"),x.out_channel_alias||(x.out_channel_alias=x.out_channel?x.out_channel:"-"))}else x.in_channel_alias=x.in_channel?x.in_channel:"-",x.out_channel_alias=x.out_channel?x.out_channel:"-"}):W=[],W),_2={apisCallStatus:{FetchPageSettings:{status:Xe.Bn.UN_INITIATED},FetchInfo:{status:Xe.Bn.UN_INITIATED},FetchFees:{status:Xe.Bn.UN_INITIATED},FetchChannels:{status:Xe.Bn.UN_INITIATED},FetchOnchainBalance:{status:Xe.Bn.UN_INITIATED},FetchPeers:{status:Xe.Bn.UN_INITIATED},FetchPayments:{status:Xe.Bn.UN_INITIATED},FetchInvoices:{status:Xe.Bn.UN_INITIATED},FetchTransactions:{status:Xe.Bn.UN_INITIATED}},nodeSettings:{userPersona:Xe.ol.OPERATOR,unannouncedChannels:!1,selCurrencyUnit:"USD",fiatConversion:!1,channelBackupPath:"",currencyUnits:[]},pageSettings:Xe.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:[]},w0=(0,Ui.Lq)(_2,(0,Ui.on)(Ii.QZ,(W,{payload:w})=>{const x=JSON.parse(JSON.stringify(W.apisCallStatus));return w.action&&(x[w.action]={status:w.status,statusCode:w.statusCode,message:w.message,URL:w.URL,filePath:w.filePath}),{...W,apisCallStatus:x}}),(0,Ui.on)(Ii.Zr,(W,{payload:w})=>({...W,nodeSettings:w})),(0,Ui.on)(Ii.Fd,(W,{payload:w})=>({..._2,nodeSettings:w})),(0,Ui.on)(Ii.CX,(W,{payload:w})=>({...W,information:w})),(0,Ui.on)(Ii.RX,(W,{payload:w})=>({...W,fees:w})),(0,Ui.on)(Ii.eN,(W,{payload:w})=>({...W,activeChannels:w})),(0,Ui.on)(Ii.TW,(W,{payload:w})=>({...W,pendingChannels:w})),(0,Ui.on)(Ii.i,(W,{payload:w})=>({...W,inactiveChannels:w})),(0,Ui.on)(Ii.HG,(W,{payload:w})=>({...W,channelsStatus:w})),(0,Ui.on)(Ii.Bw,(W,{payload:w})=>({...W,onchainBalance:w})),(0,Ui.on)(Ii.On,(W,{payload:w})=>({...W,lightningBalance:w})),(0,Ui.on)(Ii.Z8,(W,{payload:w})=>({...W,peers:w})),(0,Ui.on)(Ii.EK,(W,{payload:w})=>{const x=[...W.peers],H=W.peers.findIndex(pe=>pe.nodeId===w.nodeId);return H>-1&&x.splice(H,1),{...W,peers:x}}),(0,Ui.on)(Ii.OG,(W,{payload:w})=>{const x=[...W.activeChannels],H=W.activeChannels.findIndex(pe=>pe.channelId===w.channelId);return H>-1&&x.splice(H,1),{...W,activeChannels:x}}),(0,Ui.on)(Ii.HI,(W,{payload:w})=>{if(w&&w.sent){const x=[...W.activeChannels,...W.pendingChannels,...W.inactiveChannels];w.sent?.map(H=>{const pe=W.peers.find(ct=>ct.nodeId===H.recipientNodeId);return H.recipientNodeAlias=pe?pe.alias:H.recipientNodeId,H.parts&&H.parts?.map(ct=>{const Ut=x.find(ti=>ti.channelId===ct.toChannelId);return ct.toChannelAlias=Ut?Ut.alias:ct.toChannelId,H.parts}),w.sent})}if(w&&w.relayed){const x=[...W.activeChannels,...W.pendingChannels,...W.inactiveChannels];w.relayed.forEach(H=>{H=g2(H,x)})}return{...W,payments:w}}),(0,Ui.on)(Ii.Lf,(W,{payload:w})=>({...W,transactions:w})),(0,Ui.on)(Ii.YP,(W,{payload:w})=>{const x=W.invoices;return x?.unshift(w),{...W,invoices:x}}),(0,Ui.on)(Ii.Nr,(W,{payload:w})=>({...W,invoices:w})),(0,Ui.on)(Ii.aL,(W,{payload:w})=>{let x=W.invoices;return x=x?.map(H=>{if(H.paymentHash===w.paymentHash){if(w.hasOwnProperty("type")){const pe=JSON.parse(JSON.stringify(H));return pe.amountSettled=w.parts&&w.parts.length&&w.parts.length>0&&w.parts[0].amount?(w.parts[0].amount||0)/1e3:0,pe.receivedAt=w.parts&&w.parts.length&&w.parts.length>0&&w.parts[0].timestamp?Math.round((w.parts[0].timestamp||0)/1e3):0,pe.status="received",pe}return w}return H}),{...W,invoices:x}}),(0,Ui.on)(Ii.DJ,(W,{payload:w})=>{let x=W.pendingChannels;return x=x?.map(H=>(H.channelId===w.channelId&&H.nodeId===w.remoteNodeId&&(w.currentState=w.currentState?.replace(/_/g," "),H.state=w.currentState),H)),{...W,pendingChannels:x}}),(0,Ui.on)(Ii.ti,(W,{payload:w})=>{const x=W.payments,H=g2(w,[...W.activeChannels,...W.pendingChannels,...W.inactiveChannels]);H.amountIn=Math.round((w.amountIn||0)/1e3),H.amountOut=Math.round((w.amountOut||0)/1e3),x.relayed?.unshift(H);const pe=(w.amountIn||0)-(w.amountOut||0),ct={localBalance:W.lightningBalance.localBalance+pe,remoteBalance:W.lightningBalance.remoteBalance-pe},Ut=W.channelsStatus;Ut.active&&(Ut.active.capacity=(W.channelsStatus?.active?.capacity||0)+pe);const ti={daily_fee:(W.fees.daily_fee||0)+pe,daily_txs:(W.fees.daily_txs||0)+1,weekly_fee:(W.fees.weekly_fee||0)+pe,weekly_txs:(W.fees.weekly_txs||0)+1,monthly_fee:(W.fees.monthly_fee||0)+pe,monthly_txs:(W.fees.monthly_txs||0)+1},hi=W.activeChannels;let wi=!1,mn=!1;for(const en of hi){if(en.channelId===w.fromChannelId){wi=!0;const kn=(en.toLocal||0)+(en.toRemote||0);en.toLocal=(en.toLocal||0)+H.amountIn,en.toRemote=(en.toRemote||0)-H.amountIn,en.balancedness=0===kn?1:+(1-Math.abs((en.toLocal-en.toRemote)/kn)).toFixed(3)}if(en.channelId===w.toChannelId){mn=!0;const kn=(en.toLocal||0)+(en.toRemote||0);en.toLocal=(en.toLocal||0)-H.amountOut,en.toRemote=(en.toRemote||0)+H.amountOut,en.balancedness=0===kn?1:+(1-Math.abs((en.toLocal-en.toRemote)/kn)).toFixed(3)}if(mn&&wi)break}return{...W,payments:x,lightningBalance:ct,channelStatus:Ut,fees:ti,activeChannels:hi}}),(0,Ui.on)(Ii.pd,(W,{payload:w})=>{const x=[];return Xe.c3.forEach(H=>{const pe=w&&w.length&&w.length>0?w.find(ct=>ct.pageId===H.pageId):null;if(pe){const ct=JSON.parse(JSON.stringify(pe.tables));pe.tables=[],H.tables.forEach(Ut=>{const ti=ct.find(hi=>hi.tableId===Ut.tableId)||null;ti?pe.tables.push(ti):pe.tables.push(JSON.parse(JSON.stringify(Ut)))}),x.push(pe)}else x.push(JSON.parse(JSON.stringify(H)))}),{...W,pageSettings:x}})),g2=(W,w)=>{if("payment-relayed"===W.type)if(w&&w.length>0)for(let x=0;x<w.length;x++){if(w[x].channelId?.toString()===W.fromChannelId&&(W.fromChannelAlias=w[x].alias?w[x].alias:W.fromChannelId,W.fromShortChannelId=w[x].shortChannelId?w[x].shortChannelId:"",W.toChannelAlias)||w[x].channelId?.toString()===W.toChannelId&&(W.toChannelAlias=w[x].alias?w[x].alias:W.toChannelId,W.toShortChannelId=w[x].shortChannelId?w[x].shortChannelId:"",W.fromChannelAlias))return W;x===w.length-1&&(W.fromChannelAlias||(W.fromChannelAlias=W.fromChannelId?.substring(0,17)+"...",W.fromShortChannelId=""),W.toChannelAlias||(W.toChannelAlias=W.toChannelId?.substring(0,17)+"...",W.toShortChannelId=""))}else W.fromChannelAlias=W.fromChannelId?.substring(0,17)+"...",W.fromShortChannelId="",W.toChannelAlias=W.toChannelId?.substring(0,17)+"...",W.toShortChannelId="";else if(W.type="trampoline-payment-relayed"){if(w&&w.length>0)for(let x=0;x<w.length;x++)W.incoming?.forEach(H=>{w[x].channelId?.toString()===H.channelId&&(H.channelAlias=w[x].alias?w[x].alias:H.channelId,H.shortChannelId=w[x].shortChannelId?w[x].shortChannelId:"")}),W.outgoing?.forEach(H=>{w[x].channelId?.toString()===H.channelId&&(H.channelAlias=w[x].alias?w[x].alias:H.channelId,H.shortChannelId=w[x].shortChannelId?w[x].shortChannelId:"")}),x===w.length-1&&(W.incoming&&W.incoming.length&&W.incoming.length>0&&!W.incoming[0].channelAlias&&W.incoming?.forEach(H=>{H.channelAlias=H.channelId?.substring(0,17)+"...",H.shortChannelId=""}),W.outgoing&&W.outgoing.length&&W.outgoing.length>0&&!W.outgoing[0].channelAlias&&W.outgoing?.forEach(H=>{H.channelAlias=H.channelId?.substring(0,17)+"...",H.shortChannelId=""}));else W.incoming?.forEach(x=>{x.channelAlias=x.channelId?.substring(0,17)+"...",x.shortChannelId=""}),W.outgoing?.forEach(x=>{x.channelAlias=x.channelId?.substring(0,17)+"...",x.shortChannelId=""});W.amountIn=W.incoming?.reduce((x,H)=>x+H.amount,0)||0,W.fromChannelId=W.incoming&&W.incoming.length?W.incoming[0].channelId:"",W.fromChannelAlias=W.incoming&&W.incoming.length?W.incoming[0].channelAlias:"",W.fromShortChannelId=W.incoming&&W.incoming.length?W.incoming[0].shortChannelId:"",W.amountOut=W.outgoing?.reduce((x,H)=>x+H.amount,0)||0,W.toChannelId=W.outgoing&&W.outgoing.length?W.outgoing[0].channelId:"",W.toChannelAlias=W.outgoing&&W.outgoing.length?W.outgoing[0].channelAlias:"",W.toShortChannelId=W.outgoing&&W.outgoing.length?W.outgoing[0].shortChannelId:""}return W};class i1{static#e=this.\u0275fac=function(x){return new(x||i1)};static#t=this.\u0275mod=t.oAB({type:i1,bootstrap:[g0]});static#i=this.\u0275inj=t.cJS({providers:[{provide:Oa.TP,useClass:wc,multi:!0},qa.a1,js.m,rd.D,t1.d,zd.W,ta.v,bs],imports:[or,l2.m,Xc,$n.xu,e.t6,lo.forRoot({idle:3590,timeout:10,ping:12e3}),Ui.Aw.forRoot({root:b0,lnd:Yh,cln:M0,ecl:w0},{runtimeChecks:{strictStateImmutability:!1,strictActionImmutability:!1}}),yo.sQ.forRoot([Sa.V,$c.l,Ym.J,Zm.o]),No.NZ.production?[]:dc.FT.instrument()]})}No.NZ.production&&(0,t.G48)(),e.q6().bootstrapModule(i1).catch(W=>console.log(W))},8996:(Ge,X)=>{"use strict";function f(be){return Object.keys(be).map(et=>be[et])}var be;Object.defineProperty(X,"__esModule",{value:!0}),(be=X.HashAlgorithms||(X.HashAlgorithms={})).SHA1="sha1",be.SHA256="sha256",be.SHA512="sha512";const e=f(X.HashAlgorithms);!function(be){be.ASCII="ascii",be.BASE64="base64",be.HEX="hex",be.LATIN1="latin1",be.UTF8="utf8"}(X.KeyEncodings||(X.KeyEncodings={}));const t=f(X.KeyEncodings);!function(be){be.HOTP="hotp",be.TOTP="totp"}(X.Strategy||(X.Strategy={}));const _=f(X.Strategy),S=()=>{throw new Error("Please provide an options.createDigest implementation.")};function l(be){return/^(\d+)$/.test(be)}function D(be,et,je){return be.length>=et?be:`${Array(et+1).join(je)}${be}`.slice(-1*et)}function d(be){const et=`otpauth://${be.type}/{labelPrefix}:{accountName}?secret={secret}{query}`,je=[];if(_.indexOf(be.type)<0)throw new Error(`Expecting options.type to be one of ${_.join(", ")}. Received ${be.type}.`);if("hotp"===be.type){if(null==be.counter||"number"!=typeof be.counter)throw new Error('Expecting options.counter to be a number when options.type is "hotp".');je.push(`&counter=${be.counter}`)}return"totp"===be.type&&be.step&&je.push(`&period=${be.step}`),be.digits&&je.push(`&digits=${be.digits}`),be.algorithm&&je.push(`&algorithm=${be.algorithm.toUpperCase()}`),be.issuer&&je.push(`&issuer=${encodeURIComponent(be.issuer)}`),et.replace("{labelPrefix}",encodeURIComponent(be.issuer||be.accountName)).replace("{accountName}",encodeURIComponent(be.accountName)).replace("{secret}",be.secret).replace("{query}",je.join(""))}class P{constructor(et={}){this._defaultOptions=Object.freeze({...et}),this._options=Object.freeze({})}create(et={}){return new P(et)}clone(et={}){const je=this.create({...this._defaultOptions,...et});return je.options=this._options,je}get options(){return Object.freeze({...this._defaultOptions,...this._options})}set options(et){this._options=Object.freeze({...this._options,...et})}allOptions(){return this.options}resetOptions(){this._options=Object.freeze({})}}function p(be){if("function"!=typeof be.createDigest)throw new Error("Expecting options.createDigest to be a function.");if("function"!=typeof be.createHmacKey)throw new Error("Expecting options.createHmacKey to be a function.");if("number"!=typeof be.digits)throw new Error("Expecting options.digits to be a number.");if(!be.algorithm||e.indexOf(be.algorithm)<0)throw new Error(`Expecting options.algorithm to be one of ${e.join(", ")}. Received ${be.algorithm}.`);if(!be.encoding||t.indexOf(be.encoding)<0)throw new Error(`Expecting options.encoding to be one of ${t.join(", ")}. Received ${be.encoding}.`)}const L=(be,et,je)=>Buffer.from(et,je).toString("hex");function M(){return{algorithm:X.HashAlgorithms.SHA1,createHmacKey:L,createDigest:S,digits:6,encoding:X.KeyEncodings.ASCII}}function k(be){const et={...M(),...be};return p(et),Object.freeze(et)}function E(be){return D(be.toString(16),16,"0")}function z(be,et){const je=Buffer.from(be,"hex"),ye=15&je[je.length-1],He=((127&je[ye])<<24|(255&je[ye+1])<<16|(255&je[ye+2])<<8|255&je[ye+3])%Math.pow(10,et);return D(String(He),et,"0")}function V(be,et,je){const ye=je.digest||function I(be,et,je){const ye=E(et),Te=je.createHmacKey(je.algorithm,be,je.encoding);return je.createDigest(je.algorithm,Te,ye)}(be,et,je);return z(ye,je.digits)}function Z(be,et,je,ye){if(!l(be))return!1;return be===V(et,je,ye)}function q(be,et,je,ye,Te){return d({algorithm:Te.algorithm,digits:Te.digits,type:X.Strategy.HOTP,accountName:be,counter:ye,issuer:et,secret:je})}class te extends P{create(et={}){return new te(et)}allOptions(){return k(this.options)}generate(et,je){return V(et,je,this.allOptions())}check(et,je,ye){return Z(et,je,ye,this.allOptions())}verify(et){if("object"!=typeof et)throw new Error("Expecting argument 0 of verify to be an object");return this.check(et.token,et.secret,et.counter)}keyuri(et,je,ye,Te){return q(et,je,ye,Te,this.allOptions())}}function ne(be){if("number"==typeof be)return[Math.abs(be),Math.abs(be)];if(Array.isArray(be)){const[et,je]=be;if("number"==typeof et&&"number"==typeof je)return[Math.abs(et),Math.abs(je)]}throw new Error("Expecting options.window to be an number or [number, number].")}function le(be){if(p(be),ne(be.window),"number"!=typeof be.epoch)throw new Error("Expecting options.epoch to be a number.");if("number"!=typeof be.step)throw new Error("Expecting options.step to be a number.")}const re=(be,et,je)=>{const ye=be.length,Te=Buffer.from(be,et).toString("hex");if(ye<je){const He=new Array(je-ye+1).join(Te);return Buffer.from(He,"hex").slice(0,je).toString("hex")}return Te},_e=(be,et,je)=>{switch(be){case X.HashAlgorithms.SHA1:return re(et,je,20);case X.HashAlgorithms.SHA256:return re(et,je,32);case X.HashAlgorithms.SHA512:return re(et,je,64);default:throw new Error(`Expecting algorithm to be one of ${e.join(", ")}. Received ${be}.`)}};function he(){return{algorithm:X.HashAlgorithms.SHA1,createDigest:S,createHmacKey:_e,digits:6,encoding:X.KeyEncodings.ASCII,epoch:Date.now(),step:30,window:0}}function ae(be){const et={...he(),...be};return le(et),Object.freeze(et)}function ve(be,et){return Math.floor(be/et/1e3)}function T(be,et){return V(be,ve(et.epoch,et.step),et)}function i(be,et,je,ye){const Te=[];if(0===ye)return Te;for(let He=1;He<=ye;He++){const Ee=et*He*je;Te.push(be+Ee)}return Te}function o(be,et,je){const ye=ne(je),Te=1e3*et;return{current:be,past:i(be,-1,Te,ye[0]),future:i(be,1,Te,ye[1])}}function m(be,et,je){if(!l(be))return!1;return be===T(et,je)}function h(be,et,je,ye){let Te=null;return be.some((He,Ee)=>!!m(et,je,{...ye,epoch:He})&&(Te=Ee+1,!0)),Te}function y(be,et,je){if(m(be,et,je))return 0;const ye=o(je.epoch,je.step,je.window),Te=h(ye.past,be,et,je);return null!==Te?-1*Te:h(ye.future,be,et,je)}function A(be,et){return Math.floor(be/1e3)%et}function R(be,et){return et-A(be,et)}function v(be,et,je,ye){return d({algorithm:ye.algorithm,digits:ye.digits,step:ye.step,type:X.Strategy.TOTP,accountName:be,issuer:et,secret:je})}class a extends te{create(et={}){return new a(et)}allOptions(){return ae(this.options)}generate(et){return T(et,this.allOptions())}checkDelta(et,je){return y(et,je,this.allOptions())}check(et,je){return"number"==typeof this.checkDelta(et,je)}verify(et){if("object"!=typeof et)throw new Error("Expecting argument 0 of verify to be an object");return this.check(et.token,et.secret)}timeRemaining(){const et=this.allOptions();return R(et.epoch,et.step)}timeUsed(){const et=this.allOptions();return A(et.epoch,et.step)}keyuri(et,je,ye){return v(et,je,ye,this.allOptions())}}function C(be){if(le(be),"function"!=typeof be.keyDecoder)throw new Error("Expecting options.keyDecoder to be a function.");if(be.keyEncoder&&"function"!=typeof be.keyEncoder)throw new Error("Expecting options.keyEncoder to be a function.")}function U(){return{algorithm:X.HashAlgorithms.SHA1,createDigest:S,createHmacKey:_e,digits:6,encoding:X.KeyEncodings.HEX,epoch:Date.now(),step:30,window:0}}function N(be){const et={...U(),...be};return C(et),Object.freeze(et)}function Q(be,et){return et.keyEncoder(be,et.encoding)}function Pe(be,et){return et.keyDecoder(be,et.encoding)}function Le(be,et){return Q(et.createRandomBytes(be,et.encoding),et)}function Ye(be,et){return T(Pe(be,et),et)}function $e(be,et,je){return y(be,Pe(et,je),je)}class Ve extends a{create(et={}){return new Ve(et)}allOptions(){return N(this.options)}generate(et){return Ye(et,this.allOptions())}checkDelta(et,je){return $e(et,je,this.allOptions())}encode(et){return Q(et,this.allOptions())}decode(et){return Pe(et,this.allOptions())}generateSecret(et=10){return Le(et,this.allOptions())}}X.Authenticator=Ve,X.HASH_ALGORITHMS=e,X.HOTP=te,X.KEY_ENCODINGS=t,X.OTP=P,X.STRATEGY=_,X.TOTP=a,X.authenticatorCheckWithWindow=$e,X.authenticatorDecoder=Pe,X.authenticatorDefaultOptions=U,X.authenticatorEncoder=Q,X.authenticatorGenerateSecret=Le,X.authenticatorOptionValidator=C,X.authenticatorOptions=N,X.authenticatorToken=Ye,X.createDigestPlaceholder=S,X.hotpCheck=Z,X.hotpCounter=E,X.hotpCreateHmacKey=L,X.hotpDefaultOptions=M,X.hotpDigestToToken=z,X.hotpKeyuri=q,X.hotpOptions=k,X.hotpOptionsValidator=p,X.hotpToken=V,X.isTokenValid=l,X.keyuri=d,X.objectValues=f,X.padStart=D,X.totpCheck=m,X.totpCheckByEpoch=h,X.totpCheckWithWindow=y,X.totpCounter=ve,X.totpCreateHmacKey=_e,X.totpDefaultOptions=he,X.totpEpochAvailable=o,X.totpKeyuri=v,X.totpOptions=ae,X.totpOptionsValidator=le,X.totpPadSecret=re,X.totpTimeRemaining=R,X.totpTimeUsed=A,X.totpToken=T},6042:(Ge,X,f)=>{"use strict";Object.defineProperty(X,"__esModule",{value:!0});var t=function e(l){return l&&"object"==typeof l&&"default"in l?l.default:l}(f(9501));X.createDigest=(l,D,d)=>t.createHmac(l,Buffer.from(D,"hex")).update(Buffer.from(d,"hex")).digest().toString("hex"),X.createRandomBytes=(l,D)=>t.randomBytes(l).toString(D)},8364:(Ge,X,f)=>{"use strict";Object.defineProperty(X,"__esModule",{value:!0});var t=function e(l){return l&&"object"==typeof l&&"default"in l?l.default:l}(f(917));X.keyDecoder=(l,D)=>t.decode(l).toString(D),X.keyEncoder=(l,D)=>t.encode(Buffer.from(l,D).toString("ascii")).toString().replace(/=/g,"")},9614:(Ge,X,f)=>{"use strict";Object.defineProperty(X,"__esModule",{value:!0});var e=f(6042),t=f(8364),_=f(8996);const S=new _.HOTP({createDigest:e.createDigest}),l=new _.TOTP({createDigest:e.createDigest}),D=new _.Authenticator({createDigest:e.createDigest,createRandomBytes:e.createRandomBytes,keyDecoder:t.keyDecoder,keyEncoder:t.keyEncoder});X.authenticator=D,X.hotp=S,X.totp=l},7183:(Ge,X,f)=>{"use strict";const e=X;e.bignum=f(3439),e.define=f(1535).define,e.base=f(6977),e.constants=f(5407),e.decoders=f(8643),e.encoders=f(6337)},1535:(Ge,X,f)=>{"use strict";const e=f(6337),t=f(8643),_=f(5035);function l(D,d){this.name=D,this.body=d,this.decoders={},this.encoders={}}X.define=function(d,P){return new l(d,P)},l.prototype._createNamed=function(d){const P=this.name;function p(L){this._initNamed(L,P)}return _(p,d),p.prototype._initNamed=function(M,k){d.call(this,M,k)},new p(this)},l.prototype._getDecoder=function(d){return d=d||"der",this.decoders.hasOwnProperty(d)||(this.decoders[d]=this._createNamed(t[d])),this.decoders[d]},l.prototype.decode=function(d,P,p){return this._getDecoder(P).decode(d,p)},l.prototype._getEncoder=function(d){return d=d||"der",this.encoders.hasOwnProperty(d)||(this.encoders[d]=this._createNamed(e[d])),this.encoders[d]},l.prototype.encode=function(d,P,p){return this._getEncoder(P).encode(d,p)}},2314:(Ge,X,f)=>{"use strict";const e=f(5035),t=f(794).b,_=f(4421).Buffer;function S(D,d){t.call(this,d),_.isBuffer(D)?(this.base=D,this.offset=0,this.length=D.length):this.error("Input not Buffer")}function l(D,d){if(Array.isArray(D))this.length=0,this.value=D.map(function(P){return l.isEncoderBuffer(P)||(P=new l(P,d)),this.length+=P.length,P},this);else if("number"==typeof D){if(!(0<=D&&D<=255))return d.error("non-byte EncoderBuffer value");this.value=D,this.length=1}else if("string"==typeof D)this.value=D,this.length=_.byteLength(D);else{if(!_.isBuffer(D))return d.error("Unsupported type: "+typeof D);this.value=D,this.length=D.length}}e(S,t),X.C=S,S.isDecoderBuffer=function(d){return d instanceof S||"object"==typeof d&&_.isBuffer(d.base)&&"DecoderBuffer"===d.constructor.name&&"number"==typeof d.offset&&"number"==typeof d.length&&"function"==typeof d.save&&"function"==typeof d.restore&&"function"==typeof d.isEmpty&&"function"==typeof d.readUInt8&&"function"==typeof d.skip&&"function"==typeof d.raw},S.prototype.save=function(){return{offset:this.offset,reporter:t.prototype.save.call(this)}},S.prototype.restore=function(d){const P=new S(this.base);return P.offset=d.offset,P.length=this.offset,this.offset=d.offset,t.prototype.restore.call(this,d.reporter),P},S.prototype.isEmpty=function(){return this.offset===this.length},S.prototype.readUInt8=function(d){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(d||"DecoderBuffer overrun")},S.prototype.skip=function(d,P){if(!(this.offset+d<=this.length))return this.error(P||"DecoderBuffer overrun");const p=new S(this.base);return p._reporterState=this._reporterState,p.offset=this.offset,p.length=this.offset+d,this.offset+=d,p},S.prototype.raw=function(d){return this.base.slice(d?d.offset:this.offset,this.length)},X.R=l,l.isEncoderBuffer=function(d){return d instanceof l||"object"==typeof d&&"EncoderBuffer"===d.constructor.name&&"number"==typeof d.length&&"function"==typeof d.join},l.prototype.join=function(d,P){return d||(d=_.alloc(this.length)),P||(P=0),0===this.length||(Array.isArray(this.value)?this.value.forEach(function(p){p.join(d,P),P+=p.length}):("number"==typeof this.value?d[P]=this.value:"string"==typeof this.value?d.write(this.value,P):_.isBuffer(this.value)&&this.value.copy(d,P),P+=this.length)),d}},6977:(Ge,X,f)=>{"use strict";const e=X;e.Reporter=f(794).b,e.DecoderBuffer=f(2314).C,e.EncoderBuffer=f(2314).R,e.Node=f(1598)},1598:(Ge,X,f)=>{"use strict";const e=f(794).b,t=f(2314).R,_=f(2314).C,S=f(3999),l=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],D=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(l);function P(L,M,k){const E={};this._baseState=E,E.name=k,E.enc=L,E.parent=M||null,E.children=null,E.tag=null,E.args=null,E.reverseArgs=null,E.choice=null,E.optional=!1,E.any=!1,E.obj=!1,E.use=null,E.useDecoder=null,E.key=null,E.default=null,E.explicit=null,E.implicit=null,E.contains=null,E.parent||(E.children=[],this._wrap())}Ge.exports=P;const p=["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,k={};p.forEach(function(z){k[z]=M[z]});const E=new this.constructor(k.parent);return E._baseState=k,E},P.prototype._wrap=function(){const M=this._baseState;D.forEach(function(k){this[k]=function(){const z=new this.constructor(this);return M.children.push(z),z[k].apply(z,arguments)}},this)},P.prototype._init=function(M){const k=this._baseState;S(null===k.parent),M.call(this),k.children=k.children.filter(function(E){return E._baseState.parent===this},this),S.equal(k.children.length,1,"Root node can have only one child")},P.prototype._useArgs=function(M){const k=this._baseState,E=M.filter(function(z){return z instanceof this.constructor},this);M=M.filter(function(z){return!(z instanceof this.constructor)},this),0!==E.length&&(S(null===k.children),k.children=E,E.forEach(function(z){z._baseState.parent=this},this)),0!==M.length&&(S(null===k.args),k.args=M,k.reverseArgs=M.map(function(z){if("object"!=typeof z||z.constructor!==Object)return z;const I={};return Object.keys(z).forEach(function(V){V==(0|V)&&(V|=0);const Z=z[V];I[Z]=V}),I}))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach(function(L){P.prototype[L]=function(){const k=this._baseState;throw new Error(L+" not implemented for encoding: "+k.enc)}}),l.forEach(function(L){P.prototype[L]=function(){const k=this._baseState,E=Array.prototype.slice.call(arguments);return S(null===k.tag),k.tag=L,this._useArgs(E),this}}),P.prototype.use=function(M){S(M);const k=this._baseState;return S(null===k.use),k.use=M,this},P.prototype.optional=function(){return this._baseState.optional=!0,this},P.prototype.def=function(M){const k=this._baseState;return S(null===k.default),k.default=M,k.optional=!0,this},P.prototype.explicit=function(M){const k=this._baseState;return S(null===k.explicit&&null===k.implicit),k.explicit=M,this},P.prototype.implicit=function(M){const k=this._baseState;return S(null===k.explicit&&null===k.implicit),k.implicit=M,this},P.prototype.obj=function(){const M=this._baseState,k=Array.prototype.slice.call(arguments);return M.obj=!0,0!==k.length&&this._useArgs(k),this},P.prototype.key=function(M){const k=this._baseState;return S(null===k.key),k.key=M,this},P.prototype.any=function(){return this._baseState.any=!0,this},P.prototype.choice=function(M){const k=this._baseState;return S(null===k.choice),k.choice=M,this._useArgs(Object.keys(M).map(function(E){return M[E]})),this},P.prototype.contains=function(M){const k=this._baseState;return S(null===k.use),k.contains=M,this},P.prototype._decode=function(M,k){const E=this._baseState;if(null===E.parent)return M.wrapResult(E.children[0]._decode(M,k));let Z,z=E.default,I=!0,V=null;if(null!==E.key&&(V=M.enterKey(E.key)),E.optional){let q=null;if(null!==E.explicit?q=E.explicit:null!==E.implicit?q=E.implicit:null!==E.tag&&(q=E.tag),null!==q||E.any){if(I=this._peekTag(M,q,E.any),M.isError(I))return I}else{const te=M.save();try{null===E.choice?this._decodeGeneric(E.tag,M,k):this._decodeChoice(M,k),I=!0}catch{I=!1}M.restore(te)}}if(E.obj&&I&&(Z=M.enterObject()),I){if(null!==E.explicit){const te=this._decodeTag(M,E.explicit);if(M.isError(te))return te;M=te}const q=M.offset;if(null===E.use&&null===E.choice){let te;E.any&&(te=M.save());const ne=this._decodeTag(M,null!==E.implicit?E.implicit:E.tag,E.any);if(M.isError(ne))return ne;E.any?z=M.raw(te):M=ne}if(k&&k.track&&null!==E.tag&&k.track(M.path(),q,M.length,"tagged"),k&&k.track&&null!==E.tag&&k.track(M.path(),M.offset,M.length,"content"),E.any||(z=null===E.choice?this._decodeGeneric(E.tag,M,k):this._decodeChoice(M,k)),M.isError(z))return z;if(!E.any&&null===E.choice&&null!==E.children&&E.children.forEach(function(ne){ne._decode(M,k)}),E.contains&&("octstr"===E.tag||"bitstr"===E.tag)){const te=new _(z);z=this._getUse(E.contains,M._reporterState.obj)._decode(te,k)}}return E.obj&&I&&(z=M.leaveObject(Z)),null===E.key||null===z&&!0!==I?null!==V&&M.exitKey(V):M.leaveKey(V,E.key,z),z},P.prototype._decodeGeneric=function(M,k,E){const z=this._baseState;return"seq"===M||"set"===M?null:"seqof"===M||"setof"===M?this._decodeList(k,M,z.args[0],E):/str$/.test(M)?this._decodeStr(k,M,E):"objid"===M&&z.args?this._decodeObjid(k,z.args[0],z.args[1],E):"objid"===M?this._decodeObjid(k,null,null,E):"gentime"===M||"utctime"===M?this._decodeTime(k,M,E):"null_"===M?this._decodeNull(k,E):"bool"===M?this._decodeBool(k,E):"objDesc"===M?this._decodeStr(k,M,E):"int"===M||"enum"===M?this._decodeInt(k,z.args&&z.args[0],E):null!==z.use?this._getUse(z.use,k._reporterState.obj)._decode(k,E):k.error("unknown tag: "+M)},P.prototype._getUse=function(M,k){const E=this._baseState;return E.useDecoder=this._use(M,k),S(null===E.useDecoder._baseState.parent),E.useDecoder=E.useDecoder._baseState.children[0],E.implicit!==E.useDecoder._baseState.implicit&&(E.useDecoder=E.useDecoder.clone(),E.useDecoder._baseState.implicit=E.implicit),E.useDecoder},P.prototype._decodeChoice=function(M,k){const E=this._baseState;let z=null,I=!1;return Object.keys(E.choice).some(function(V){const Z=M.save(),q=E.choice[V];try{const te=q._decode(M,k);if(M.isError(te))return!1;z={type:V,value:te},I=!0}catch{return M.restore(Z),!1}return!0},this),I?z:M.error("Choice not matched")},P.prototype._createEncoderBuffer=function(M){return new t(M,this.reporter)},P.prototype._encode=function(M,k,E){const z=this._baseState;if(null!==z.default&&z.default===M)return;const I=this._encodeValue(M,k,E);return void 0===I||this._skipDefault(I,k,E)?void 0:I},P.prototype._encodeValue=function(M,k,E){const z=this._baseState;if(null===z.parent)return z.children[0]._encode(M,k||new e);let I=null;if(this.reporter=k,z.optional&&void 0===M){if(null===z.default)return;M=z.default}let V=null,Z=!1;if(z.any)I=this._createEncoderBuffer(M);else if(z.choice)I=this._encodeChoice(M,k);else if(z.contains)V=this._getUse(z.contains,E)._encode(M,k),Z=!0;else if(z.children)V=z.children.map(function(q){if("null_"===q._baseState.tag)return q._encode(null,k,M);if(null===q._baseState.key)return k.error("Child should have a key");const te=k.enterKey(q._baseState.key);if("object"!=typeof M)return k.error("Child expected, but input is not object");const ne=q._encode(M[q._baseState.key],k,M);return k.leaveKey(te),ne},this).filter(function(q){return q}),V=this._createEncoderBuffer(V);else if("seqof"===z.tag||"setof"===z.tag){if(!z.args||1!==z.args.length)return k.error("Too many args for : "+z.tag);if(!Array.isArray(M))return k.error("seqof/setof, but data is not Array");const q=this.clone();q._baseState.implicit=null,V=this._createEncoderBuffer(M.map(function(te){const ne=this._baseState;return this._getUse(ne.args[0],M)._encode(te,k)},q))}else null!==z.use?I=this._getUse(z.use,E)._encode(M,k):(V=this._encodePrimitive(z.tag,M),Z=!0);if(!z.any&&null===z.choice){const q=null!==z.implicit?z.implicit:z.tag,te=null===z.implicit?"universal":"context";null===q?null===z.use&&k.error("Tag could be omitted only for .use()"):null===z.use&&(I=this._encodeComposite(q,Z,te,V))}return null!==z.explicit&&(I=this._encodeComposite(z.explicit,!1,"context",I)),I},P.prototype._encodeChoice=function(M,k){const E=this._baseState,z=E.choice[M.type];return z||S(!1,M.type+" not found in "+JSON.stringify(Object.keys(E.choice))),z._encode(M.value,k)},P.prototype._encodePrimitive=function(M,k){const E=this._baseState;if(/str$/.test(M))return this._encodeStr(k,M);if("objid"===M&&E.args)return this._encodeObjid(k,E.reverseArgs[0],E.args[1]);if("objid"===M)return this._encodeObjid(k,null,null);if("gentime"===M||"utctime"===M)return this._encodeTime(k,M);if("null_"===M)return this._encodeNull();if("int"===M||"enum"===M)return this._encodeInt(k,E.args&&E.reverseArgs[0]);if("bool"===M)return this._encodeBool(k);if("objDesc"===M)return this._encodeStr(k,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)}},794:(Ge,X,f)=>{"use strict";const e=f(5035);function t(S){this._reporterState={obj:null,path:[],options:S||{},errors:[]}}function _(S,l){this.path=S,this.rethrow(l)}X.b=t,t.prototype.isError=function(l){return l instanceof _},t.prototype.save=function(){const l=this._reporterState;return{obj:l.obj,pathLen:l.path.length}},t.prototype.restore=function(l){const D=this._reporterState;D.obj=l.obj,D.path=D.path.slice(0,l.pathLen)},t.prototype.enterKey=function(l){return this._reporterState.path.push(l)},t.prototype.exitKey=function(l){const D=this._reporterState;D.path=D.path.slice(0,l-1)},t.prototype.leaveKey=function(l,D,d){const P=this._reporterState;this.exitKey(l),null!==P.obj&&(P.obj[D]=d)},t.prototype.path=function(){return this._reporterState.path.join("/")},t.prototype.enterObject=function(){const l=this._reporterState,D=l.obj;return l.obj={},D},t.prototype.leaveObject=function(l){const D=this._reporterState,d=D.obj;return D.obj=l,d},t.prototype.error=function(l){let D;const d=this._reporterState,P=l instanceof _;if(D=P?l:new _(d.path.map(function(p){return"["+JSON.stringify(p)+"]"}).join(""),l.message||l,l.stack),!d.options.partial)throw D;return P||d.errors.push(D),D},t.prototype.wrapResult=function(l){const D=this._reporterState;return D.options.partial?{result:this.isError(l)?null:l,errors:D.errors}:l},e(_,Error),_.prototype.rethrow=function(l){if(this.message=l+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,_),!this.stack)try{throw new Error(this.message)}catch(D){this.stack=D.stack}return this}},6434:(Ge,X)=>{"use strict";function f(e){const t={};return Object.keys(e).forEach(function(_){(0|_)==_&&(_|=0);const S=e[_];t[S]=_}),t}X.tagClass={0:"universal",1:"application",2:"context",3:"private"},X.tagClassByName=f(X.tagClass),X.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"},X.tagByName=f(X.tag)},5407:(Ge,X,f)=>{"use strict";const e=X;e._reverse=function(_){const S={};return Object.keys(_).forEach(function(l){(0|l)==l&&(l|=0);const D=_[l];S[D]=l}),S},e.der=f(6434)},110:(Ge,X,f)=>{"use strict";const e=f(5035),t=f(3439),_=f(2314).C,S=f(1598),l=f(6434);function D(L){this.enc="der",this.name=L.name,this.entity=L,this.tree=new d,this.tree._init(L.body)}function d(L){S.call(this,"der",L)}function P(L,M){let k=L.readUInt8(M);if(L.isError(k))return k;const E=l.tagClass[k>>6],z=0==(32&k);if(31==(31&k)){let V=k;for(k=0;128==(128&V);){if(V=L.readUInt8(M),L.isError(V))return V;k<<=7,k|=127&V}}else k&=31;return{cls:E,primitive:z,tag:k,tagStr:l.tag[k]}}function p(L,M,k){let E=L.readUInt8(k);if(L.isError(E))return E;if(!M&&128===E)return null;if(0==(128&E))return E;const z=127&E;if(z>4)return L.error("length octect is too long");E=0;for(let I=0;I<z;I++){E<<=8;const V=L.readUInt8(k);if(L.isError(V))return V;E|=V}return E}Ge.exports=D,D.prototype.decode=function(M,k){return _.isDecoderBuffer(M)||(M=new _(M,k)),this.tree._decode(M,k)},e(d,S),d.prototype._peekTag=function(M,k,E){if(M.isEmpty())return!1;const z=M.save(),I=P(M,'Failed to peek tag: "'+k+'"');return M.isError(I)?I:(M.restore(z),I.tag===k||I.tagStr===k||I.tagStr+"of"===k||E)},d.prototype._decodeTag=function(M,k,E){const z=P(M,'Failed to decode tag of "'+k+'"');if(M.isError(z))return z;let I=p(M,z.primitive,'Failed to get length of "'+k+'"');if(M.isError(I))return I;if(!E&&z.tag!==k&&z.tagStr!==k&&z.tagStr+"of"!==k)return M.error('Failed to match tag: "'+k+'"');if(z.primitive||null!==I)return M.skip(I,'Failed to match body of: "'+k+'"');const V=M.save(),Z=this._skipUntilEnd(M,'Failed to skip indefinite length body: "'+this.tag+'"');return M.isError(Z)?Z:(I=M.offset-V.offset,M.restore(V),M.skip(I,'Failed to match body of: "'+k+'"'))},d.prototype._skipUntilEnd=function(M,k){for(;;){const E=P(M,k);if(M.isError(E))return E;const z=p(M,E.primitive,k);if(M.isError(z))return z;let I;if(I=E.primitive||null!==z?M.skip(z):this._skipUntilEnd(M,k),M.isError(I))return I;if("end"===E.tagStr)break}},d.prototype._decodeList=function(M,k,E,z){const I=[];for(;!M.isEmpty();){const V=this._peekTag(M,"end");if(M.isError(V))return V;const Z=E.decode(M,"der",z);if(M.isError(Z)&&V)break;I.push(Z)}return I},d.prototype._decodeStr=function(M,k){if("bitstr"===k){const E=M.readUInt8();return M.isError(E)?E:{unused:E,data:M.raw()}}if("bmpstr"===k){const E=M.raw();if(E.length%2==1)return M.error("Decoding of string type: bmpstr length mismatch");let z="";for(let I=0;I<E.length/2;I++)z+=String.fromCharCode(E.readUInt16BE(2*I));return z}if("numstr"===k){const E=M.raw().toString("ascii");return this._isNumstr(E)?E:M.error("Decoding of string type: numstr unsupported characters")}if("octstr"===k)return M.raw();if("objDesc"===k)return M.raw();if("printstr"===k){const E=M.raw().toString("ascii");return this._isPrintstr(E)?E:M.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(k)?M.raw().toString():M.error("Decoding of string type: "+k+" unsupported")},d.prototype._decodeObjid=function(M,k,E){let z;const I=[];let V=0,Z=0;for(;!M.isEmpty();)Z=M.readUInt8(),V<<=7,V|=127&Z,0==(128&Z)&&(I.push(V),V=0);128&Z&&I.push(V);const q=I[0]/40|0,te=I[0]%40;if(z=E?I:[q,te].concat(I.slice(1)),k){let ne=k[z.join(" ")];void 0===ne&&(ne=k[z.join(".")]),void 0!==ne&&(z=ne)}return z},d.prototype._decodeTime=function(M,k){const E=M.raw().toString();let z,I,V,Z,q,te;if("gentime"===k)z=0|E.slice(0,4),I=0|E.slice(4,6),V=0|E.slice(6,8),Z=0|E.slice(8,10),q=0|E.slice(10,12),te=0|E.slice(12,14);else{if("utctime"!==k)return M.error("Decoding "+k+" time is not supported yet");z=0|E.slice(0,2),I=0|E.slice(2,4),V=0|E.slice(4,6),Z=0|E.slice(6,8),q=0|E.slice(8,10),te=0|E.slice(10,12),z=z<70?2e3+z:1900+z}return Date.UTC(z,I-1,V,Z,q,te,0)},d.prototype._decodeNull=function(){return null},d.prototype._decodeBool=function(M){const k=M.readUInt8();return M.isError(k)?k:0!==k},d.prototype._decodeInt=function(M,k){const E=M.raw();let z=new t(E);return k&&(z=k[z.toString(10)]||z),z},d.prototype._use=function(M,k){return"function"==typeof M&&(M=M(k)),M._getDecoder("der").tree}},8643:(Ge,X,f)=>{"use strict";const e=X;e.der=f(110),e.pem=f(7441)},7441:(Ge,X,f)=>{"use strict";const e=f(5035),t=f(4421).Buffer,_=f(110);function S(l){_.call(this,l),this.enc="pem"}e(S,_),Ge.exports=S,S.prototype.decode=function(D,d){const P=D.toString().split(/[\r\n]+/g),p=d.label.toUpperCase(),L=/^-----(BEGIN|END) ([^-]+)-----$/;let M=-1,k=-1;for(let I=0;I<P.length;I++){const V=P[I].match(L);if(null!==V&&V[2]===p){if(-1!==M){if("END"!==V[1])break;k=I;break}if("BEGIN"!==V[1])break;M=I}}if(-1===M||-1===k)throw new Error("PEM section not found for: "+p);const E=P.slice(M+1,k).join("");E.replace(/[^a-z0-9+/=]+/gi,"");const z=t.from(E,"base64");return _.prototype.decode.call(this,z,d)}},2035:(Ge,X,f)=>{"use strict";const e=f(5035),t=f(4421).Buffer,_=f(1598),S=f(6434);function l(p){this.enc="der",this.name=p.name,this.entity=p,this.tree=new D,this.tree._init(p.body)}function D(p){_.call(this,"der",p)}function d(p){return p<10?"0"+p:p}Ge.exports=l,l.prototype.encode=function(L,M){return this.tree._encode(L,M).join()},e(D,_),D.prototype._encodeComposite=function(L,M,k,E){const z=function P(p,L,M,k){let E;if("seqof"===p?p="seq":"setof"===p&&(p="set"),S.tagByName.hasOwnProperty(p))E=S.tagByName[p];else{if("number"!=typeof p||(0|p)!==p)return k.error("Unknown tag: "+p);E=p}return E>=31?k.error("Multi-octet tag encoding unsupported"):(L||(E|=32),E|=S.tagClassByName[M||"universal"]<<6,E)}(L,M,k,this.reporter);if(E.length<128){const Z=t.alloc(2);return Z[0]=z,Z[1]=E.length,this._createEncoderBuffer([Z,E])}let I=1;for(let Z=E.length;Z>=256;Z>>=8)I++;const V=t.alloc(2+I);V[0]=z,V[1]=128|I;for(let Z=1+I,q=E.length;q>0;Z--,q>>=8)V[Z]=255&q;return this._createEncoderBuffer([V,E])},D.prototype._encodeStr=function(L,M){if("bitstr"===M)return this._createEncoderBuffer([0|L.unused,L.data]);if("bmpstr"===M){const k=t.alloc(2*L.length);for(let E=0;E<L.length;E++)k.writeUInt16BE(L.charCodeAt(E),2*E);return this._createEncoderBuffer(k)}return"numstr"===M?this._isNumstr(L)?this._createEncoderBuffer(L):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===M?this._isPrintstr(L)?this._createEncoderBuffer(L):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(L):this.reporter.error("Encoding of string type: "+M+" unsupported")},D.prototype._encodeObjid=function(L,M,k){if("string"==typeof L){if(!M)return this.reporter.error("string objid given, but no values map found");if(!M.hasOwnProperty(L))return this.reporter.error("objid not found in values map");L=M[L].split(/[\s.]+/g);for(let V=0;V<L.length;V++)L[V]|=0}else if(Array.isArray(L)){L=L.slice();for(let V=0;V<L.length;V++)L[V]|=0}if(!Array.isArray(L))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(L));if(!k){if(L[1]>=40)return this.reporter.error("Second objid identifier OOB");L.splice(0,2,40*L[0]+L[1])}let E=0;for(let V=0;V<L.length;V++){let Z=L[V];for(E++;Z>=128;Z>>=7)E++}const z=t.alloc(E);let I=z.length-1;for(let V=L.length-1;V>=0;V--){let Z=L[V];for(z[I--]=127&Z;(Z>>=7)>0;)z[I--]=128|127&Z}return this._createEncoderBuffer(z)},D.prototype._encodeTime=function(L,M){let k;const E=new Date(L);return"gentime"===M?k=[d(E.getUTCFullYear()),d(E.getUTCMonth()+1),d(E.getUTCDate()),d(E.getUTCHours()),d(E.getUTCMinutes()),d(E.getUTCSeconds()),"Z"].join(""):"utctime"===M?k=[d(E.getUTCFullYear()%100),d(E.getUTCMonth()+1),d(E.getUTCDate()),d(E.getUTCHours()),d(E.getUTCMinutes()),d(E.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+M+" time is not supported yet"),this._encodeStr(k,"octstr")},D.prototype._encodeNull=function(){return this._createEncoderBuffer("")},D.prototype._encodeInt=function(L,M){if("string"==typeof L){if(!M)return this.reporter.error("String int or enum given, but no values map");if(!M.hasOwnProperty(L))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(L));L=M[L]}if("number"!=typeof L&&!t.isBuffer(L)){const z=L.toArray();!L.sign&&128&z[0]&&z.unshift(0),L=t.from(z)}if(t.isBuffer(L)){let z=L.length;0===L.length&&z++;const I=t.alloc(z);return L.copy(I),0===L.length&&(I[0]=0),this._createEncoderBuffer(I)}if(L<128)return this._createEncoderBuffer(L);if(L<256)return this._createEncoderBuffer([0,L]);let k=1;for(let z=L;z>=256;z>>=8)k++;const E=new Array(k);for(let z=E.length-1;z>=0;z--)E[z]=255&L,L>>=8;return 128&E[0]&&E.unshift(0),this._createEncoderBuffer(t.from(E))},D.prototype._encodeBool=function(L){return this._createEncoderBuffer(L?255:0)},D.prototype._use=function(L,M){return"function"==typeof L&&(L=L(M)),L._getEncoder("der").tree},D.prototype._skipDefault=function(L,M,k){const E=this._baseState;let z;if(null===E.default)return!1;const I=L.join();if(void 0===E.defaultBuffer&&(E.defaultBuffer=this._encodeValue(E.default,M,k).join()),I.length!==E.defaultBuffer.length)return!1;for(z=0;z<I.length;z++)if(I[z]!==E.defaultBuffer[z])return!1;return!0}},6337:(Ge,X,f)=>{"use strict";const e=X;e.der=f(2035),e.pem=f(7294)},7294:(Ge,X,f)=>{"use strict";const e=f(5035),t=f(2035);function _(S){t.call(this,S),this.enc="pem"}e(_,t),Ge.exports=_,_.prototype.encode=function(l,D){const P=t.prototype.encode.call(this,l).toString("base64"),p=["-----BEGIN "+D.label+"-----"];for(let L=0;L<P.length;L+=64)p.push(P.slice(L,L+64));return p.push("-----END "+D.label+"-----"),p.join("\n")}},3439:function(Ge,X,f){(function(e,t){"use strict";function _(T,i){if(!T)throw new Error(i||"Assertion failed")}function S(T,i){T.super_=i;var o=function(){};o.prototype=i.prototype,T.prototype=new o,T.prototype.constructor=T}function l(T,i,o){if(l.isBN(T))return T;this.negative=0,this.words=null,this.length=0,this.red=null,null!==T&&(("le"===i||"be"===i)&&(o=i,i=10),this._init(T||0,i||10,o||"be"))}var D;"object"==typeof e?e.exports=l:t.BN=l,l.BN=l,l.wordSize=26;try{D=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:f(950).Buffer}catch{}function d(T,i){var o=T.charCodeAt(i);return o>=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function P(T,i,o){var m=d(T,o);return o-1>=i&&(m|=d(T,o-1)<<4),m}function p(T,i,o,m){for(var h=0,y=Math.min(T.length,o),A=i;A<y;A++){var R=T.charCodeAt(A)-48;h*=m,h+=R>=49?R-49+10:R>=17?R-17+10:R}return h}l.isBN=function(i){return i instanceof l||null!==i&&"object"==typeof i&&i.constructor.wordSize===l.wordSize&&Array.isArray(i.words)},l.max=function(i,o){return i.cmp(o)>0?i:o},l.min=function(i,o){return i.cmp(o)<0?i:o},l.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),_(o===(0|o)&&o>=2&&o<=36);var h=0;"-"===(i=i.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h<i.length&&(16===o?this._parseHex(i,h,m):(this._parseBase(i,o,h),"le"===m&&this._initArray(this.toArray(),o,m)))},l.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):(_(i<9007199254740992),this.words=[67108863&i,i/67108864&67108863,1],this.length=3),"le"===m&&this._initArray(this.toArray(),o,m)},l.prototype._initArray=function(i,o,m){if(_("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 h=0;h<this.length;h++)this.words[h]=0;var y,A,R=0;if("be"===m)for(h=i.length-1,y=0;h>=0;h-=3)A=i[h]|i[h-1]<<8|i[h-2]<<16,this.words[y]|=A<<R&67108863,this.words[y+1]=A>>>26-R&67108863,(R+=24)>=26&&(R-=26,y++);else if("le"===m)for(h=0,y=0;h<i.length;h+=3)A=i[h]|i[h+1]<<8|i[h+2]<<16,this.words[y]|=A<<R&67108863,this.words[y+1]=A>>>26-R&67108863,(R+=24)>=26&&(R-=26,y++);return this.strip()},l.prototype._parseHex=function(i,o,m){this.length=Math.ceil((i.length-o)/6),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var R,y=0,A=0;if("be"===m)for(h=i.length-1;h>=o;h-=2)R=P(i,o,h)<<y,this.words[A]|=67108863&R,y>=18?(y-=18,A+=1,this.words[A]|=R>>>26):y+=8;else for(h=(i.length-o)%2==0?o+1:o;h<i.length;h+=2)R=P(i,o,h)<<y,this.words[A]|=67108863&R,y>=18?(y-=18,A+=1,this.words[A]|=R>>>26):y+=8;this.strip()},l.prototype._parseBase=function(i,o,m){this.words=[0],this.length=1;for(var h=0,y=1;y<=67108863;y*=o)h++;h--,y=y/o|0;for(var A=i.length-m,R=A%h,v=Math.min(A,A-R)+m,a=0,C=m;C<v;C+=h)a=p(i,C,C+h,o),this.imuln(y),this.words[0]+a<67108864?this.words[0]+=a:this._iaddn(a);if(0!==R){var U=1;for(a=p(i,C,i.length,o),C=0;C<R;C++)U*=o;this.imuln(U),this.words[0]+a<67108864?this.words[0]+=a:this._iaddn(a)}this.strip()},l.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},l.prototype.clone=function(){var i=new l(null);return this.copy(i),i},l.prototype._expand=function(i){for(;this.length<i;)this.words[this.length++]=0;return this},l.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},l.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},l.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var L=["","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],k=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function z(T,i,o){o.negative=i.negative^T.negative;var m=T.length+i.length|0;o.length=m,m=m-1|0;var h=0|T.words[0],y=0|i.words[0],A=h*y,R=67108863&A,v=A/67108864|0;o.words[0]=R;for(var a=1;a<m;a++){for(var C=v>>>26,U=67108863&v,N=Math.min(a,i.length-1),Q=Math.max(0,a-T.length+1);Q<=N;Q++){var Pe=a-Q|0;C+=(A=(h=0|T.words[Pe])*(y=0|i.words[Q])+U)/67108864|0,U=67108863&A}o.words[a]=0|U,v=0|C}return 0!==v?o.words[a]=0|v:o.length--,o.strip()}l.prototype.toString=function(i,o){var m;if(o=0|o||1,16===(i=i||10)||"hex"===i){m="";for(var h=0,y=0,A=0;A<this.length;A++){var R=this.words[A],v=(16777215&(R<<h|y)).toString(16);m=0!==(y=R>>>24-h&16777215)||A!==this.length-1?L[6-v.length]+v+m:v+m,(h+=2)>=26&&(h-=26,A--)}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 a=M[i],C=k[i];m="";var U=this.clone();for(U.negative=0;!U.isZero();){var N=U.modn(C).toString(i);m=(U=U.idivn(C)).isZero()?N+m:L[a-N.length]+N+m}for(this.isZero()&&(m="0"+m);m.length%o!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}_(!1,"Base should be between 2 and 36")},l.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&&_(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-i:i},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(i,o){return _(typeof D<"u"),this.toArrayLike(D,i,o)},l.prototype.toArray=function(i,o){return this.toArrayLike(Array,i,o)},l.prototype.toArrayLike=function(i,o,m){var h=this.byteLength(),y=m||Math.max(1,h);_(h<=y,"byte array longer than desired length"),_(y>0,"Requested array length <= 0"),this.strip();var v,a,A="le"===o,R=new i(y),C=this.clone();if(A){for(a=0;!C.isZero();a++)v=C.andln(255),C.iushrn(8),R[a]=v;for(;a<y;a++)R[a]=0}else{for(a=0;a<y-h;a++)R[a]=0;for(a=0;!C.isZero();a++)v=C.andln(255),C.iushrn(8),R[y-a-1]=v}return R},Math.clz32?l.prototype._countBits=function(i){return 32-Math.clz32(i)}:l.prototype._countBits=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},l.prototype._zeroBits=function(i){if(0===i)return 26;var o=i,m=0;return 0==(8191&o)&&(m+=13,o>>>=13),0==(127&o)&&(m+=7,o>>>=7),0==(15&o)&&(m+=4,o>>>=4),0==(3&o)&&(m+=2,o>>>=2),0==(1&o)&&m++,m},l.prototype.bitLength=function(){var i=this.words[this.length-1],o=this._countBits(i);return 26*(this.length-1)+o},l.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},l.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},l.prototype.toTwos=function(i){return 0!==this.negative?this.abs().inotn(i).iaddn(1):this.clone()},l.prototype.fromTwos=function(i){return this.testn(i-1)?this.notn(i).iaddn(1).ineg():this.clone()},l.prototype.isNeg=function(){return 0!==this.negative},l.prototype.neg=function(){return this.clone().ineg()},l.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},l.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()},l.prototype.ior=function(i){return _(0==(this.negative|i.negative)),this.iuor(i)},l.prototype.or=function(i){return this.length>i.length?this.clone().ior(i):i.clone().ior(this)},l.prototype.uor=function(i){return this.length>i.length?this.clone().iuor(i):i.clone().iuor(this)},l.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()},l.prototype.iand=function(i){return _(0==(this.negative|i.negative)),this.iuand(i)},l.prototype.and=function(i){return this.length>i.length?this.clone().iand(i):i.clone().iand(this)},l.prototype.uand=function(i){return this.length>i.length?this.clone().iuand(i):i.clone().iuand(this)},l.prototype.iuxor=function(i){var o,m;this.length>i.length?(o=this,m=i):(o=i,m=this);for(var h=0;h<m.length;h++)this.words[h]=o.words[h]^m.words[h];if(this!==o)for(;h<o.length;h++)this.words[h]=o.words[h];return this.length=o.length,this.strip()},l.prototype.ixor=function(i){return _(0==(this.negative|i.negative)),this.iuxor(i)},l.prototype.xor=function(i){return this.length>i.length?this.clone().ixor(i):i.clone().ixor(this)},l.prototype.uxor=function(i){return this.length>i.length?this.clone().iuxor(i):i.clone().iuxor(this)},l.prototype.inotn=function(i){_("number"==typeof i&&i>=0);var o=0|Math.ceil(i/26),m=i%26;this._expand(o),m>0&&o--;for(var h=0;h<o;h++)this.words[h]=67108863&~this.words[h];return m>0&&(this.words[h]=~this.words[h]&67108863>>26-m),this.strip()},l.prototype.notn=function(i){return this.clone().inotn(i)},l.prototype.setn=function(i,o){_("number"==typeof i&&i>=0);var m=i/26|0,h=i%26;return this._expand(m+1),this.words[m]=o?this.words[m]|1<<h:this.words[m]&~(1<<h),this.strip()},l.prototype.iadd=function(i){var o,m,h;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,h=i):(m=i,h=this);for(var y=0,A=0;A<h.length;A++)o=(0|m.words[A])+(0|h.words[A])+y,this.words[A]=67108863&o,y=o>>>26;for(;0!==y&&A<m.length;A++)o=(0|m.words[A])+y,this.words[A]=67108863&o,y=o>>>26;if(this.length=m.length,0!==y)this.words[this.length]=y,this.length++;else if(m!==this)for(;A<m.length;A++)this.words[A]=m.words[A];return this},l.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)},l.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 h,y,m=this.cmp(i);if(0===m)return this.negative=0,this.length=1,this.words[0]=0,this;m>0?(h=this,y=i):(h=i,y=this);for(var A=0,R=0;R<y.length;R++)A=(o=(0|h.words[R])-(0|y.words[R])+A)>>26,this.words[R]=67108863&o;for(;0!==A&&R<h.length;R++)A=(o=(0|h.words[R])+A)>>26,this.words[R]=67108863&o;if(0===A&&R<h.length&&h!==this)for(;R<h.length;R++)this.words[R]=h.words[R];return this.length=Math.max(this.length,R),h!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(i){return this.clone().isub(i)};var I=function(i,o,m){var v,a,C,h=i.words,y=o.words,A=m.words,R=0,U=0|h[0],N=8191&U,Q=U>>>13,Pe=0|h[1],Le=8191&Pe,Ye=Pe>>>13,$e=0|h[2],Ve=8191&$e,be=$e>>>13,et=0|h[3],je=8191&et,ye=et>>>13,Te=0|h[4],He=8191&Te,Ee=Te>>>13,we=0|h[5],de=8191&we,Me=we>>>13,ie=0|h[6],G=8191&ie,$=ie>>>13,ze=0|h[7],Ue=8191&ze,oe=ze>>>13,bt=0|h[8],Be=8191&bt,nt=bt>>>13,$t=0|h[9],gt=8191&$t,rt=$t>>>13,Re=0|y[0],ot=8191&Re,St=Re>>>13,gi=0|y[1],oi=8191&gi,ei=gi>>>13,Zi=0|y[2],si=8191&Zi,Bt=Zi>>>13,Je=0|y[3],me=8191&Je,K=Je>>>13,J=0|y[4],Ce=8191&J,We=J>>>13,Mt=0|y[5],Tt=8191&Mt,Nt=Mt>>>13,at=0|y[6],Ke=8191&at,vt=at>>>13,ri=0|y[7],Pt=8191&ri,Lt=ri>>>13,Kt=0|y[8],Ae=8191&Kt,fe=Kt>>>13,st=0|y[9],_t=8191&st,kt=st>>>13;m.negative=i.negative^o.negative,m.length=19;var Oi=(R+(v=Math.imul(N,ot))|0)+((8191&(a=(a=Math.imul(N,St))+Math.imul(Q,ot)|0))<<13)|0;R=((C=Math.imul(Q,St))+(a>>>13)|0)+(Oi>>>26)|0,Oi&=67108863,v=Math.imul(Le,ot),a=(a=Math.imul(Le,St))+Math.imul(Ye,ot)|0,C=Math.imul(Ye,St);var Li=(R+(v=v+Math.imul(N,oi)|0)|0)+((8191&(a=(a=a+Math.imul(N,ei)|0)+Math.imul(Q,oi)|0))<<13)|0;R=((C=C+Math.imul(Q,ei)|0)+(a>>>13)|0)+(Li>>>26)|0,Li&=67108863,v=Math.imul(Ve,ot),a=(a=Math.imul(Ve,St))+Math.imul(be,ot)|0,C=Math.imul(be,St),v=v+Math.imul(Le,oi)|0,a=(a=a+Math.imul(Le,ei)|0)+Math.imul(Ye,oi)|0,C=C+Math.imul(Ye,ei)|0;var Ei=(R+(v=v+Math.imul(N,si)|0)|0)+((8191&(a=(a=a+Math.imul(N,Bt)|0)+Math.imul(Q,si)|0))<<13)|0;R=((C=C+Math.imul(Q,Bt)|0)+(a>>>13)|0)+(Ei>>>26)|0,Ei&=67108863,v=Math.imul(je,ot),a=(a=Math.imul(je,St))+Math.imul(ye,ot)|0,C=Math.imul(ye,St),v=v+Math.imul(Ve,oi)|0,a=(a=a+Math.imul(Ve,ei)|0)+Math.imul(be,oi)|0,C=C+Math.imul(be,ei)|0,v=v+Math.imul(Le,si)|0,a=(a=a+Math.imul(Le,Bt)|0)+Math.imul(Ye,si)|0,C=C+Math.imul(Ye,Bt)|0;var Wi=(R+(v=v+Math.imul(N,me)|0)|0)+((8191&(a=(a=a+Math.imul(N,K)|0)+Math.imul(Q,me)|0))<<13)|0;R=((C=C+Math.imul(Q,K)|0)+(a>>>13)|0)+(Wi>>>26)|0,Wi&=67108863,v=Math.imul(He,ot),a=(a=Math.imul(He,St))+Math.imul(Ee,ot)|0,C=Math.imul(Ee,St),v=v+Math.imul(je,oi)|0,a=(a=a+Math.imul(je,ei)|0)+Math.imul(ye,oi)|0,C=C+Math.imul(ye,ei)|0,v=v+Math.imul(Ve,si)|0,a=(a=a+Math.imul(Ve,Bt)|0)+Math.imul(be,si)|0,C=C+Math.imul(be,Bt)|0,v=v+Math.imul(Le,me)|0,a=(a=a+Math.imul(Le,K)|0)+Math.imul(Ye,me)|0,C=C+Math.imul(Ye,K)|0;var wt=(R+(v=v+Math.imul(N,Ce)|0)|0)+((8191&(a=(a=a+Math.imul(N,We)|0)+Math.imul(Q,Ce)|0))<<13)|0;R=((C=C+Math.imul(Q,We)|0)+(a>>>13)|0)+(wt>>>26)|0,wt&=67108863,v=Math.imul(de,ot),a=(a=Math.imul(de,St))+Math.imul(Me,ot)|0,C=Math.imul(Me,St),v=v+Math.imul(He,oi)|0,a=(a=a+Math.imul(He,ei)|0)+Math.imul(Ee,oi)|0,C=C+Math.imul(Ee,ei)|0,v=v+Math.imul(je,si)|0,a=(a=a+Math.imul(je,Bt)|0)+Math.imul(ye,si)|0,C=C+Math.imul(ye,Bt)|0,v=v+Math.imul(Ve,me)|0,a=(a=a+Math.imul(Ve,K)|0)+Math.imul(be,me)|0,C=C+Math.imul(be,K)|0,v=v+Math.imul(Le,Ce)|0,a=(a=a+Math.imul(Le,We)|0)+Math.imul(Ye,Ce)|0,C=C+Math.imul(Ye,We)|0;var qe=(R+(v=v+Math.imul(N,Tt)|0)|0)+((8191&(a=(a=a+Math.imul(N,Nt)|0)+Math.imul(Q,Tt)|0))<<13)|0;R=((C=C+Math.imul(Q,Nt)|0)+(a>>>13)|0)+(qe>>>26)|0,qe&=67108863,v=Math.imul(G,ot),a=(a=Math.imul(G,St))+Math.imul($,ot)|0,C=Math.imul($,St),v=v+Math.imul(de,oi)|0,a=(a=a+Math.imul(de,ei)|0)+Math.imul(Me,oi)|0,C=C+Math.imul(Me,ei)|0,v=v+Math.imul(He,si)|0,a=(a=a+Math.imul(He,Bt)|0)+Math.imul(Ee,si)|0,C=C+Math.imul(Ee,Bt)|0,v=v+Math.imul(je,me)|0,a=(a=a+Math.imul(je,K)|0)+Math.imul(ye,me)|0,C=C+Math.imul(ye,K)|0,v=v+Math.imul(Ve,Ce)|0,a=(a=a+Math.imul(Ve,We)|0)+Math.imul(be,Ce)|0,C=C+Math.imul(be,We)|0,v=v+Math.imul(Le,Tt)|0,a=(a=a+Math.imul(Le,Nt)|0)+Math.imul(Ye,Tt)|0,C=C+Math.imul(Ye,Nt)|0;var Ne=(R+(v=v+Math.imul(N,Ke)|0)|0)+((8191&(a=(a=a+Math.imul(N,vt)|0)+Math.imul(Q,Ke)|0))<<13)|0;R=((C=C+Math.imul(Q,vt)|0)+(a>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,v=Math.imul(Ue,ot),a=(a=Math.imul(Ue,St))+Math.imul(oe,ot)|0,C=Math.imul(oe,St),v=v+Math.imul(G,oi)|0,a=(a=a+Math.imul(G,ei)|0)+Math.imul($,oi)|0,C=C+Math.imul($,ei)|0,v=v+Math.imul(de,si)|0,a=(a=a+Math.imul(de,Bt)|0)+Math.imul(Me,si)|0,C=C+Math.imul(Me,Bt)|0,v=v+Math.imul(He,me)|0,a=(a=a+Math.imul(He,K)|0)+Math.imul(Ee,me)|0,C=C+Math.imul(Ee,K)|0,v=v+Math.imul(je,Ce)|0,a=(a=a+Math.imul(je,We)|0)+Math.imul(ye,Ce)|0,C=C+Math.imul(ye,We)|0,v=v+Math.imul(Ve,Tt)|0,a=(a=a+Math.imul(Ve,Nt)|0)+Math.imul(be,Tt)|0,C=C+Math.imul(be,Nt)|0,v=v+Math.imul(Le,Ke)|0,a=(a=a+Math.imul(Le,vt)|0)+Math.imul(Ye,Ke)|0,C=C+Math.imul(Ye,vt)|0;var Vt=(R+(v=v+Math.imul(N,Pt)|0)|0)+((8191&(a=(a=a+Math.imul(N,Lt)|0)+Math.imul(Q,Pt)|0))<<13)|0;R=((C=C+Math.imul(Q,Lt)|0)+(a>>>13)|0)+(Vt>>>26)|0,Vt&=67108863,v=Math.imul(Be,ot),a=(a=Math.imul(Be,St))+Math.imul(nt,ot)|0,C=Math.imul(nt,St),v=v+Math.imul(Ue,oi)|0,a=(a=a+Math.imul(Ue,ei)|0)+Math.imul(oe,oi)|0,C=C+Math.imul(oe,ei)|0,v=v+Math.imul(G,si)|0,a=(a=a+Math.imul(G,Bt)|0)+Math.imul($,si)|0,C=C+Math.imul($,Bt)|0,v=v+Math.imul(de,me)|0,a=(a=a+Math.imul(de,K)|0)+Math.imul(Me,me)|0,C=C+Math.imul(Me,K)|0,v=v+Math.imul(He,Ce)|0,a=(a=a+Math.imul(He,We)|0)+Math.imul(Ee,Ce)|0,C=C+Math.imul(Ee,We)|0,v=v+Math.imul(je,Tt)|0,a=(a=a+Math.imul(je,Nt)|0)+Math.imul(ye,Tt)|0,C=C+Math.imul(ye,Nt)|0,v=v+Math.imul(Ve,Ke)|0,a=(a=a+Math.imul(Ve,vt)|0)+Math.imul(be,Ke)|0,C=C+Math.imul(be,vt)|0,v=v+Math.imul(Le,Pt)|0,a=(a=a+Math.imul(Le,Lt)|0)+Math.imul(Ye,Pt)|0,C=C+Math.imul(Ye,Lt)|0;var jt=(R+(v=v+Math.imul(N,Ae)|0)|0)+((8191&(a=(a=a+Math.imul(N,fe)|0)+Math.imul(Q,Ae)|0))<<13)|0;R=((C=C+Math.imul(Q,fe)|0)+(a>>>13)|0)+(jt>>>26)|0,jt&=67108863,v=Math.imul(gt,ot),a=(a=Math.imul(gt,St))+Math.imul(rt,ot)|0,C=Math.imul(rt,St),v=v+Math.imul(Be,oi)|0,a=(a=a+Math.imul(Be,ei)|0)+Math.imul(nt,oi)|0,C=C+Math.imul(nt,ei)|0,v=v+Math.imul(Ue,si)|0,a=(a=a+Math.imul(Ue,Bt)|0)+Math.imul(oe,si)|0,C=C+Math.imul(oe,Bt)|0,v=v+Math.imul(G,me)|0,a=(a=a+Math.imul(G,K)|0)+Math.imul($,me)|0,C=C+Math.imul($,K)|0,v=v+Math.imul(de,Ce)|0,a=(a=a+Math.imul(de,We)|0)+Math.imul(Me,Ce)|0,C=C+Math.imul(Me,We)|0,v=v+Math.imul(He,Tt)|0,a=(a=a+Math.imul(He,Nt)|0)+Math.imul(Ee,Tt)|0,C=C+Math.imul(Ee,Nt)|0,v=v+Math.imul(je,Ke)|0,a=(a=a+Math.imul(je,vt)|0)+Math.imul(ye,Ke)|0,C=C+Math.imul(ye,vt)|0,v=v+Math.imul(Ve,Pt)|0,a=(a=a+Math.imul(Ve,Lt)|0)+Math.imul(be,Pt)|0,C=C+Math.imul(be,Lt)|0,v=v+Math.imul(Le,Ae)|0,a=(a=a+Math.imul(Le,fe)|0)+Math.imul(Ye,Ae)|0,C=C+Math.imul(Ye,fe)|0;var fi=(R+(v=v+Math.imul(N,_t)|0)|0)+((8191&(a=(a=a+Math.imul(N,kt)|0)+Math.imul(Q,_t)|0))<<13)|0;R=((C=C+Math.imul(Q,kt)|0)+(a>>>13)|0)+(fi>>>26)|0,fi&=67108863,v=Math.imul(gt,oi),a=(a=Math.imul(gt,ei))+Math.imul(rt,oi)|0,C=Math.imul(rt,ei),v=v+Math.imul(Be,si)|0,a=(a=a+Math.imul(Be,Bt)|0)+Math.imul(nt,si)|0,C=C+Math.imul(nt,Bt)|0,v=v+Math.imul(Ue,me)|0,a=(a=a+Math.imul(Ue,K)|0)+Math.imul(oe,me)|0,C=C+Math.imul(oe,K)|0,v=v+Math.imul(G,Ce)|0,a=(a=a+Math.imul(G,We)|0)+Math.imul($,Ce)|0,C=C+Math.imul($,We)|0,v=v+Math.imul(de,Tt)|0,a=(a=a+Math.imul(de,Nt)|0)+Math.imul(Me,Tt)|0,C=C+Math.imul(Me,Nt)|0,v=v+Math.imul(He,Ke)|0,a=(a=a+Math.imul(He,vt)|0)+Math.imul(Ee,Ke)|0,C=C+Math.imul(Ee,vt)|0,v=v+Math.imul(je,Pt)|0,a=(a=a+Math.imul(je,Lt)|0)+Math.imul(ye,Pt)|0,C=C+Math.imul(ye,Lt)|0,v=v+Math.imul(Ve,Ae)|0,a=(a=a+Math.imul(Ve,fe)|0)+Math.imul(be,Ae)|0,C=C+Math.imul(be,fe)|0;var Si=(R+(v=v+Math.imul(Le,_t)|0)|0)+((8191&(a=(a=a+Math.imul(Le,kt)|0)+Math.imul(Ye,_t)|0))<<13)|0;R=((C=C+Math.imul(Ye,kt)|0)+(a>>>13)|0)+(Si>>>26)|0,Si&=67108863,v=Math.imul(gt,si),a=(a=Math.imul(gt,Bt))+Math.imul(rt,si)|0,C=Math.imul(rt,Bt),v=v+Math.imul(Be,me)|0,a=(a=a+Math.imul(Be,K)|0)+Math.imul(nt,me)|0,C=C+Math.imul(nt,K)|0,v=v+Math.imul(Ue,Ce)|0,a=(a=a+Math.imul(Ue,We)|0)+Math.imul(oe,Ce)|0,C=C+Math.imul(oe,We)|0,v=v+Math.imul(G,Tt)|0,a=(a=a+Math.imul(G,Nt)|0)+Math.imul($,Tt)|0,C=C+Math.imul($,Nt)|0,v=v+Math.imul(de,Ke)|0,a=(a=a+Math.imul(de,vt)|0)+Math.imul(Me,Ke)|0,C=C+Math.imul(Me,vt)|0,v=v+Math.imul(He,Pt)|0,a=(a=a+Math.imul(He,Lt)|0)+Math.imul(Ee,Pt)|0,C=C+Math.imul(Ee,Lt)|0,v=v+Math.imul(je,Ae)|0,a=(a=a+Math.imul(je,fe)|0)+Math.imul(ye,Ae)|0,C=C+Math.imul(ye,fe)|0;var ki=(R+(v=v+Math.imul(Ve,_t)|0)|0)+((8191&(a=(a=a+Math.imul(Ve,kt)|0)+Math.imul(be,_t)|0))<<13)|0;R=((C=C+Math.imul(be,kt)|0)+(a>>>13)|0)+(ki>>>26)|0,ki&=67108863,v=Math.imul(gt,me),a=(a=Math.imul(gt,K))+Math.imul(rt,me)|0,C=Math.imul(rt,K),v=v+Math.imul(Be,Ce)|0,a=(a=a+Math.imul(Be,We)|0)+Math.imul(nt,Ce)|0,C=C+Math.imul(nt,We)|0,v=v+Math.imul(Ue,Tt)|0,a=(a=a+Math.imul(Ue,Nt)|0)+Math.imul(oe,Tt)|0,C=C+Math.imul(oe,Nt)|0,v=v+Math.imul(G,Ke)|0,a=(a=a+Math.imul(G,vt)|0)+Math.imul($,Ke)|0,C=C+Math.imul($,vt)|0,v=v+Math.imul(de,Pt)|0,a=(a=a+Math.imul(de,Lt)|0)+Math.imul(Me,Pt)|0,C=C+Math.imul(Me,Lt)|0,v=v+Math.imul(He,Ae)|0,a=(a=a+Math.imul(He,fe)|0)+Math.imul(Ee,Ae)|0,C=C+Math.imul(Ee,fe)|0;var Gi=(R+(v=v+Math.imul(je,_t)|0)|0)+((8191&(a=(a=a+Math.imul(je,kt)|0)+Math.imul(ye,_t)|0))<<13)|0;R=((C=C+Math.imul(ye,kt)|0)+(a>>>13)|0)+(Gi>>>26)|0,Gi&=67108863,v=Math.imul(gt,Ce),a=(a=Math.imul(gt,We))+Math.imul(rt,Ce)|0,C=Math.imul(rt,We),v=v+Math.imul(Be,Tt)|0,a=(a=a+Math.imul(Be,Nt)|0)+Math.imul(nt,Tt)|0,C=C+Math.imul(nt,Nt)|0,v=v+Math.imul(Ue,Ke)|0,a=(a=a+Math.imul(Ue,vt)|0)+Math.imul(oe,Ke)|0,C=C+Math.imul(oe,vt)|0,v=v+Math.imul(G,Pt)|0,a=(a=a+Math.imul(G,Lt)|0)+Math.imul($,Pt)|0,C=C+Math.imul($,Lt)|0,v=v+Math.imul(de,Ae)|0,a=(a=a+Math.imul(de,fe)|0)+Math.imul(Me,Ae)|0,C=C+Math.imul(Me,fe)|0;var Qt=(R+(v=v+Math.imul(He,_t)|0)|0)+((8191&(a=(a=a+Math.imul(He,kt)|0)+Math.imul(Ee,_t)|0))<<13)|0;R=((C=C+Math.imul(Ee,kt)|0)+(a>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,v=Math.imul(gt,Tt),a=(a=Math.imul(gt,Nt))+Math.imul(rt,Tt)|0,C=Math.imul(rt,Nt),v=v+Math.imul(Be,Ke)|0,a=(a=a+Math.imul(Be,vt)|0)+Math.imul(nt,Ke)|0,C=C+Math.imul(nt,vt)|0,v=v+Math.imul(Ue,Pt)|0,a=(a=a+Math.imul(Ue,Lt)|0)+Math.imul(oe,Pt)|0,C=C+Math.imul(oe,Lt)|0,v=v+Math.imul(G,Ae)|0,a=(a=a+Math.imul(G,fe)|0)+Math.imul($,Ae)|0,C=C+Math.imul($,fe)|0;var xe=(R+(v=v+Math.imul(de,_t)|0)|0)+((8191&(a=(a=a+Math.imul(de,kt)|0)+Math.imul(Me,_t)|0))<<13)|0;R=((C=C+Math.imul(Me,kt)|0)+(a>>>13)|0)+(xe>>>26)|0,xe&=67108863,v=Math.imul(gt,Ke),a=(a=Math.imul(gt,vt))+Math.imul(rt,Ke)|0,C=Math.imul(rt,vt),v=v+Math.imul(Be,Pt)|0,a=(a=a+Math.imul(Be,Lt)|0)+Math.imul(nt,Pt)|0,C=C+Math.imul(nt,Lt)|0,v=v+Math.imul(Ue,Ae)|0,a=(a=a+Math.imul(Ue,fe)|0)+Math.imul(oe,Ae)|0,C=C+Math.imul(oe,fe)|0;var ke=(R+(v=v+Math.imul(G,_t)|0)|0)+((8191&(a=(a=a+Math.imul(G,kt)|0)+Math.imul($,_t)|0))<<13)|0;R=((C=C+Math.imul($,kt)|0)+(a>>>13)|0)+(ke>>>26)|0,ke&=67108863,v=Math.imul(gt,Pt),a=(a=Math.imul(gt,Lt))+Math.imul(rt,Pt)|0,C=Math.imul(rt,Lt),v=v+Math.imul(Be,Ae)|0,a=(a=a+Math.imul(Be,fe)|0)+Math.imul(nt,Ae)|0,C=C+Math.imul(nt,fe)|0;var ft=(R+(v=v+Math.imul(Ue,_t)|0)|0)+((8191&(a=(a=a+Math.imul(Ue,kt)|0)+Math.imul(oe,_t)|0))<<13)|0;R=((C=C+Math.imul(oe,kt)|0)+(a>>>13)|0)+(ft>>>26)|0,ft&=67108863,v=Math.imul(gt,Ae),a=(a=Math.imul(gt,fe))+Math.imul(rt,Ae)|0,C=Math.imul(rt,fe);var Rt=(R+(v=v+Math.imul(Be,_t)|0)|0)+((8191&(a=(a=a+Math.imul(Be,kt)|0)+Math.imul(nt,_t)|0))<<13)|0;R=((C=C+Math.imul(nt,kt)|0)+(a>>>13)|0)+(Rt>>>26)|0,Rt&=67108863;var di=(R+(v=Math.imul(gt,_t))|0)+((8191&(a=(a=Math.imul(gt,kt))+Math.imul(rt,_t)|0))<<13)|0;return R=((C=Math.imul(rt,kt))+(a>>>13)|0)+(di>>>26)|0,di&=67108863,A[0]=Oi,A[1]=Li,A[2]=Ei,A[3]=Wi,A[4]=wt,A[5]=qe,A[6]=Ne,A[7]=Vt,A[8]=jt,A[9]=fi,A[10]=Si,A[11]=ki,A[12]=Gi,A[13]=Qt,A[14]=xe,A[15]=ke,A[16]=ft,A[17]=Rt,A[18]=di,0!==R&&(A[19]=R,m.length++),m};function Z(T,i,o){return(new q).mulp(T,i,o)}function q(T,i){this.x=T,this.y=i}Math.imul||(I=z),l.prototype.mulTo=function(i,o){var m,h=this.length+i.length;return m=10===this.length&&10===i.length?I(this,i,o):h<63?z(this,i,o):h<1024?function V(T,i,o){o.negative=i.negative^T.negative,o.length=T.length+i.length;for(var m=0,h=0,y=0;y<o.length-1;y++){var A=h;h=0;for(var R=67108863&m,v=Math.min(y,i.length-1),a=Math.max(0,y-T.length+1);a<=v;a++){var C=y-a,Q=(0|T.words[C])*(0|i.words[a]),Pe=67108863&Q;R=67108863&(Pe=Pe+R|0),h+=(A=(A=A+(Q/67108864|0)|0)+(Pe>>>26)|0)>>>26,A&=67108863}o.words[y]=R,m=A,A=h}return 0!==m?o.words[y]=m:o.length--,o.strip()}(this,i,o):Z(this,i,o),m},q.prototype.makeRBT=function(i){for(var o=new Array(i),m=l.prototype._countBits(i)-1,h=0;h<i;h++)o[h]=this.revBin(h,m,i);return o},q.prototype.revBin=function(i,o,m){if(0===i||i===m-1)return i;for(var h=0,y=0;y<o;y++)h|=(1&i)<<o-y-1,i>>=1;return h},q.prototype.permute=function(i,o,m,h,y,A){for(var R=0;R<A;R++)h[R]=o[i[R]],y[R]=m[i[R]]},q.prototype.transform=function(i,o,m,h,y,A){this.permute(A,i,o,m,h,y);for(var R=1;R<y;R<<=1)for(var v=R<<1,a=Math.cos(2*Math.PI/v),C=Math.sin(2*Math.PI/v),U=0;U<y;U+=v)for(var N=a,Q=C,Pe=0;Pe<R;Pe++){var Le=m[U+Pe],Ye=h[U+Pe],$e=m[U+Pe+R],Ve=h[U+Pe+R],be=N*$e-Q*Ve;Ve=N*Ve+Q*$e,$e=be,m[U+Pe]=Le+$e,h[U+Pe]=Ye+Ve,m[U+Pe+R]=Le-$e,h[U+Pe+R]=Ye-Ve,Pe!==v&&(be=a*N-C*Q,Q=a*Q+C*N,N=be)}},q.prototype.guessLen13b=function(i,o){var m=1|Math.max(o,i),h=1&m,y=0;for(m=m/2|0;m;m>>>=1)y++;return 1<<y+1+h},q.prototype.conjugate=function(i,o,m){if(!(m<=1))for(var h=0;h<m/2;h++){var y=i[h];i[h]=i[m-h-1],i[m-h-1]=y,y=o[h],o[h]=-o[m-h-1],o[m-h-1]=-y}},q.prototype.normalize13b=function(i,o){for(var m=0,h=0;h<o/2;h++){var y=8192*Math.round(i[2*h+1]/o)+Math.round(i[2*h]/o)+m;i[h]=67108863&y,m=y<67108864?0:y/67108864|0}return i},q.prototype.convert13b=function(i,o,m,h){for(var y=0,A=0;A<o;A++)y+=0|i[A],m[2*A]=8191&y,y>>>=13,m[2*A+1]=8191&y,y>>>=13;for(A=2*o;A<h;++A)m[A]=0;_(0===y),_(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 h=2*this.guessLen13b(i.length,o.length),y=this.makeRBT(h),A=this.stub(h),R=new Array(h),v=new Array(h),a=new Array(h),C=new Array(h),U=new Array(h),N=new Array(h),Q=m.words;Q.length=h,this.convert13b(i.words,i.length,R,h),this.convert13b(o.words,o.length,C,h),this.transform(R,A,v,a,h,y),this.transform(C,A,U,N,h,y);for(var Pe=0;Pe<h;Pe++){var Le=v[Pe]*U[Pe]-a[Pe]*N[Pe];a[Pe]=v[Pe]*N[Pe]+a[Pe]*U[Pe],v[Pe]=Le}return this.conjugate(v,a,h),this.transform(v,a,Q,A,h,y),this.conjugate(Q,A,h),this.normalize13b(Q,h),m.negative=i.negative^o.negative,m.length=i.length+o.length,m.strip()},l.prototype.mul=function(i){var o=new l(null);return o.words=new Array(this.length+i.length),this.mulTo(i,o)},l.prototype.mulf=function(i){var o=new l(null);return o.words=new Array(this.length+i.length),Z(this,i,o)},l.prototype.imul=function(i){return this.clone().mulTo(i,this)},l.prototype.imuln=function(i){_("number"==typeof i),_(i<67108864);for(var o=0,m=0;m<this.length;m++){var h=(0|this.words[m])*i,y=(67108863&h)+(67108863&o);o>>=26,o+=h/67108864|0,o+=y>>>26,this.words[m]=67108863&y}return 0!==o&&(this.words[m]=o,this.length++),this},l.prototype.muln=function(i){return this.clone().imuln(i)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(i){var o=function E(T){for(var i=new Array(T.bitLength()),o=0;o<i.length;o++){var m=o/26|0,h=o%26;i[o]=(T.words[m]&1<<h)>>>h}return i}(i);if(0===o.length)return new l(1);for(var m=this,h=0;h<o.length&&0===o[h];h++,m=m.sqr());if(++h<o.length)for(var y=m.sqr();h<o.length;h++,y=y.sqr())0!==o[h]&&(m=m.mul(y));return m},l.prototype.iushln=function(i){_("number"==typeof i&&i>=0);var y,o=i%26,m=(i-o)/26,h=67108863>>>26-o<<26-o;if(0!==o){var A=0;for(y=0;y<this.length;y++){var R=this.words[y]&h,v=(0|this.words[y])-R<<o;this.words[y]=v|A,A=R>>>26-o}A&&(this.words[y]=A,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()},l.prototype.ishln=function(i){return _(0===this.negative),this.iushln(i)},l.prototype.iushrn=function(i,o,m){var h;_("number"==typeof i&&i>=0),h=o?(o-o%26)/26:0;var y=i%26,A=Math.min((i-y)/26,this.length),R=67108863^67108863>>>y<<y,v=m;if(h-=A,h=Math.max(0,h),v){for(var a=0;a<A;a++)v.words[a]=this.words[a];v.length=A}if(0!==A)if(this.length>A)for(this.length-=A,a=0;a<this.length;a++)this.words[a]=this.words[a+A];else this.words[0]=0,this.length=1;var C=0;for(a=this.length-1;a>=0&&(0!==C||a>=h);a--){var U=0|this.words[a];this.words[a]=C<<26-y|U>>>y,C=U&R}return v&&0!==C&&(v.words[v.length++]=C),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(i,o,m){return _(0===this.negative),this.iushrn(i,o,m)},l.prototype.shln=function(i){return this.clone().ishln(i)},l.prototype.ushln=function(i){return this.clone().iushln(i)},l.prototype.shrn=function(i){return this.clone().ishrn(i)},l.prototype.ushrn=function(i){return this.clone().iushrn(i)},l.prototype.testn=function(i){_("number"==typeof i&&i>=0);var o=i%26,m=(i-o)/26,h=1<<o;return!(this.length<=m)&&!!(this.words[m]&h)},l.prototype.imaskn=function(i){_("number"==typeof i&&i>=0);var o=i%26,m=(i-o)/26;if(_(0===this.negative,"imaskn works only with positive numbers"),this.length<=m)return this;if(0!==o&&m++,this.length=Math.min(m,this.length),0!==o){var h=67108863^67108863>>>o<<o;this.words[this.length-1]&=h}return this.strip()},l.prototype.maskn=function(i){return this.clone().imaskn(i)},l.prototype.iaddn=function(i){return _("number"==typeof i),_(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)},l.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},l.prototype.isubn=function(i){if(_("number"==typeof i),_(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()},l.prototype.addn=function(i){return this.clone().iaddn(i)},l.prototype.subn=function(i){return this.clone().isubn(i)},l.prototype.iabs=function(){return this.negative=0,this},l.prototype.abs=function(){return this.clone().iabs()},l.prototype._ishlnsubmul=function(i,o,m){var y,h=i.length+m;this._expand(h);var A,R=0;for(y=0;y<i.length;y++){A=(0|this.words[y+m])+R;var v=(0|i.words[y])*o;R=((A-=67108863&v)>>26)-(v/67108864|0),this.words[y+m]=67108863&A}for(;y<this.length-m;y++)R=(A=(0|this.words[y+m])+R)>>26,this.words[y+m]=67108863&A;if(0===R)return this.strip();for(_(-1===R),R=0,y=0;y<this.length;y++)R=(A=-(0|this.words[y])+R)>>26,this.words[y]=67108863&A;return this.negative=1,this.strip()},l.prototype._wordDiv=function(i,o){var m=(this.length,i.length),h=this.clone(),y=i,A=0|y.words[y.length-1];0!==(m=26-this._countBits(A))&&(y=y.ushln(m),h.iushln(m),A=0|y.words[y.length-1]);var a,v=h.length-y.length;if("mod"!==o){(a=new l(null)).length=v+1,a.words=new Array(a.length);for(var C=0;C<a.length;C++)a.words[C]=0}var U=h.clone()._ishlnsubmul(y,1,v);0===U.negative&&(h=U,a&&(a.words[v]=1));for(var N=v-1;N>=0;N--){var Q=67108864*(0|h.words[y.length+N])+(0|h.words[y.length+N-1]);for(Q=Math.min(Q/A|0,67108863),h._ishlnsubmul(y,Q,N);0!==h.negative;)Q--,h.negative=0,h._ishlnsubmul(y,1,N),h.isZero()||(h.negative^=1);a&&(a.words[N]=Q)}return a&&a.strip(),h.strip(),"div"!==o&&0!==m&&h.iushrn(m),{div:a||null,mod:h}},l.prototype.divmod=function(i,o,m){return _(!i.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===i.negative?(A=this.neg().divmod(i,o),"mod"!==o&&(h=A.div.neg()),"div"!==o&&(y=A.mod.neg(),m&&0!==y.negative&&y.iadd(i)),{div:h,mod:y}):0===this.negative&&0!==i.negative?(A=this.divmod(i.neg(),o),"mod"!==o&&(h=A.div.neg()),{div:h,mod:A.mod}):0!=(this.negative&i.negative)?(A=this.neg().divmod(i.neg(),o),"div"!==o&&(y=A.mod.neg(),m&&0!==y.negative&&y.isub(i)),{div:A.div,mod:y}):i.length>this.length||this.cmp(i)<0?{div:new l(0),mod:this}:1===i.length?"div"===o?{div:this.divn(i.words[0]),mod:null}:"mod"===o?{div:null,mod:new l(this.modn(i.words[0]))}:{div:this.divn(i.words[0]),mod:new l(this.modn(i.words[0]))}:this._wordDiv(i,o);var h,y,A},l.prototype.div=function(i){return this.divmod(i,"div",!1).div},l.prototype.mod=function(i){return this.divmod(i,"mod",!1).mod},l.prototype.umod=function(i){return this.divmod(i,"mod",!0).mod},l.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,h=i.ushrn(1),y=i.andln(1),A=m.cmp(h);return A<0||1===y&&0===A?o.div:0!==o.div.negative?o.div.isubn(1):o.div.iaddn(1)},l.prototype.modn=function(i){_(i<=67108863);for(var o=(1<<26)%i,m=0,h=this.length-1;h>=0;h--)m=(o*m+(0|this.words[h]))%i;return m},l.prototype.idivn=function(i){_(i<=67108863);for(var o=0,m=this.length-1;m>=0;m--){var h=(0|this.words[m])+67108864*o;this.words[m]=h/i|0,o=h%i}return this.strip()},l.prototype.divn=function(i){return this.clone().idivn(i)},l.prototype.egcd=function(i){_(0===i.negative),_(!i.isZero());var o=this,m=i.clone();o=0!==o.negative?o.umod(i):o.clone();for(var h=new l(1),y=new l(0),A=new l(0),R=new l(1),v=0;o.isEven()&&m.isEven();)o.iushrn(1),m.iushrn(1),++v;for(var a=m.clone(),C=o.clone();!o.isZero();){for(var U=0,N=1;0==(o.words[0]&N)&&U<26;++U,N<<=1);if(U>0)for(o.iushrn(U);U-- >0;)(h.isOdd()||y.isOdd())&&(h.iadd(a),y.isub(C)),h.iushrn(1),y.iushrn(1);for(var Q=0,Pe=1;0==(m.words[0]&Pe)&&Q<26;++Q,Pe<<=1);if(Q>0)for(m.iushrn(Q);Q-- >0;)(A.isOdd()||R.isOdd())&&(A.iadd(a),R.isub(C)),A.iushrn(1),R.iushrn(1);o.cmp(m)>=0?(o.isub(m),h.isub(A),y.isub(R)):(m.isub(o),A.isub(h),R.isub(y))}return{a:A,b:R,gcd:m.iushln(v)}},l.prototype._invmp=function(i){_(0===i.negative),_(!i.isZero());var U,o=this,m=i.clone();o=0!==o.negative?o.umod(i):o.clone();for(var h=new l(1),y=new l(0),A=m.clone();o.cmpn(1)>0&&m.cmpn(1)>0;){for(var R=0,v=1;0==(o.words[0]&v)&&R<26;++R,v<<=1);if(R>0)for(o.iushrn(R);R-- >0;)h.isOdd()&&h.iadd(A),h.iushrn(1);for(var a=0,C=1;0==(m.words[0]&C)&&a<26;++a,C<<=1);if(a>0)for(m.iushrn(a);a-- >0;)y.isOdd()&&y.iadd(A),y.iushrn(1);o.cmp(m)>=0?(o.isub(m),h.isub(y)):(m.isub(o),y.isub(h))}return(U=0===o.cmpn(1)?h:y).cmpn(0)<0&&U.iadd(i),U},l.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 h=0;o.isEven()&&m.isEven();h++)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 A=o;o=m,m=A}else if(0===y||0===m.cmpn(1))break;o.isub(m)}return m.iushln(h)},l.prototype.invm=function(i){return this.egcd(i).a.umod(i)},l.prototype.isEven=function(){return 0==(1&this.words[0])},l.prototype.isOdd=function(){return 1==(1&this.words[0])},l.prototype.andln=function(i){return this.words[0]&i},l.prototype.bincn=function(i){_("number"==typeof i);var o=i%26,m=(i-o)/26,h=1<<o;if(this.length<=m)return this._expand(m+1),this.words[m]|=h,this;for(var y=h,A=m;0!==y&&A<this.length;A++){var R=0|this.words[A];y=(R+=y)>>>26,R&=67108863,this.words[A]=R}return 0!==y&&(this.words[A]=y,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.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),_(i<=67108863,"Number is too big");var h=0|this.words[0];m=h===i?0:h<i?-1:1}return 0!==this.negative?0|-m:m},l.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},l.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 h=0|this.words[m],y=0|i.words[m];if(h!==y){h<y?o=-1:h>y&&(o=1);break}}return o},l.prototype.gtn=function(i){return 1===this.cmpn(i)},l.prototype.gt=function(i){return 1===this.cmp(i)},l.prototype.gten=function(i){return this.cmpn(i)>=0},l.prototype.gte=function(i){return this.cmp(i)>=0},l.prototype.ltn=function(i){return-1===this.cmpn(i)},l.prototype.lt=function(i){return-1===this.cmp(i)},l.prototype.lten=function(i){return this.cmpn(i)<=0},l.prototype.lte=function(i){return this.cmp(i)<=0},l.prototype.eqn=function(i){return 0===this.cmpn(i)},l.prototype.eq=function(i){return 0===this.cmp(i)},l.red=function(i){return new ae(i)},l.prototype.toRed=function(i){return _(!this.red,"Already a number in reduction context"),_(0===this.negative,"red works only with positives"),i.convertTo(this)._forceRed(i)},l.prototype.fromRed=function(){return _(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(i){return this.red=i,this},l.prototype.forceRed=function(i){return _(!this.red,"Already a number in reduction context"),this._forceRed(i)},l.prototype.redAdd=function(i){return _(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},l.prototype.redIAdd=function(i){return _(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},l.prototype.redSub=function(i){return _(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},l.prototype.redISub=function(i){return _(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},l.prototype.redShl=function(i){return _(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},l.prototype.redMul=function(i){return _(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},l.prototype.redIMul=function(i){return _(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},l.prototype.redSqr=function(){return _(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return _(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return _(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return _(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return _(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(i){return _(this.red&&!i.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,i)};var te={k256:null,p224:null,p192:null,p25519:null};function ne(T,i){this.name=T,this.p=new l(i,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function le(){ne.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function re(){ne.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function _e(){ne.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function he(){ne.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function ae(T){if("string"==typeof T){var i=l._prime(T);this.m=i.p,this.prime=i}else _(T.gtn(1),"modulus must be greater than 1"),this.m=T,this.prime=null}function ve(T){ae.call(this,T),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}ne.prototype._tmp=function(){var i=new l(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 h=m<this.n?-1:o.ucmp(this.p);return 0===h?(o.words[0]=0,o.length=1):h>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)},S(le,ne),le.prototype.split=function(i,o){for(var m=4194303,h=Math.min(i.length,9),y=0;y<h;y++)o.words[y]=i.words[y];if(o.length=h,i.length<=9)return i.words[0]=0,void(i.length=1);var A=i.words[9];for(o.words[o.length++]=A&m,y=10;y<i.length;y++){var R=0|i.words[y];i.words[y-10]=(R&m)<<4|A>>>22,A=R}A>>>=22,i.words[y-10]=A,0===A&&i.length>10?i.length-=10:i.length-=9},le.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 h=0|i.words[m];o+=977*h,i.words[m]=67108863&o,o=64*h+(o/67108864|0)}return 0===i.words[i.length-1]&&(i.length--,0===i.words[i.length-1]&&i.length--),i},S(re,ne),S(_e,ne),S(he,ne),he.prototype.imulK=function(i){for(var o=0,m=0;m<i.length;m++){var h=19*(0|i.words[m])+o,y=67108863&h;h>>>=26,i.words[m]=y,o=h}return 0!==o&&(i.words[i.length++]=o),i},l._prime=function(i){if(te[i])return te[i];var o;if("k256"===i)o=new le;else if("p224"===i)o=new re;else if("p192"===i)o=new _e;else{if("p25519"!==i)throw new Error("Unknown prime "+i);o=new he}return te[i]=o,o},ae.prototype._verify1=function(i){_(0===i.negative,"red works only with positives"),_(i.red,"red works only with red numbers")},ae.prototype._verify2=function(i,o){_(0==(i.negative|o.negative),"red works only with positives"),_(i.red&&i.red===o.red,"red works only with red numbers")},ae.prototype.imod=function(i){return this.prime?this.prime.ireduce(i)._forceRed(this):i.umod(this.m)._forceRed(this)},ae.prototype.neg=function(i){return i.isZero()?i.clone():this.m.sub(i)._forceRed(this)},ae.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)},ae.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},ae.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)},ae.prototype.isub=function(i,o){this._verify2(i,o);var m=i.isub(o);return m.cmpn(0)<0&&m.iadd(this.m),m},ae.prototype.shl=function(i,o){return this._verify1(i),this.imod(i.ushln(o))},ae.prototype.imul=function(i,o){return this._verify2(i,o),this.imod(i.imul(o))},ae.prototype.mul=function(i,o){return this._verify2(i,o),this.imod(i.mul(o))},ae.prototype.isqr=function(i){return this.imul(i,i.clone())},ae.prototype.sqr=function(i){return this.mul(i,i)},ae.prototype.sqrt=function(i){if(i.isZero())return i.clone();var o=this.m.andln(3);if(_(o%2==1),3===o){var m=this.m.add(new l(1)).iushrn(2);return this.pow(i,m)}for(var h=this.m.subn(1),y=0;!h.isZero()&&0===h.andln(1);)y++,h.iushrn(1);_(!h.isZero());var A=new l(1).toRed(this),R=A.redNeg(),v=this.m.subn(1).iushrn(1),a=this.m.bitLength();for(a=new l(2*a*a).toRed(this);0!==this.pow(a,v).cmp(R);)a.redIAdd(R);for(var C=this.pow(a,h),U=this.pow(i,h.addn(1).iushrn(1)),N=this.pow(i,h),Q=y;0!==N.cmp(A);){for(var Pe=N,Le=0;0!==Pe.cmp(A);Le++)Pe=Pe.redSqr();_(Le<Q);var Ye=this.pow(C,new l(1).iushln(Q-Le-1));U=U.redMul(Ye),C=Ye.redSqr(),N=N.redMul(C),Q=Le}return U},ae.prototype.invm=function(i){var o=i._invmp(this.m);return 0!==o.negative?(o.negative=0,this.imod(o).redNeg()):this.imod(o)},ae.prototype.pow=function(i,o){if(o.isZero())return new l(1).toRed(this);if(0===o.cmpn(1))return i.clone();var h=new Array(16);h[0]=new l(1).toRed(this),h[1]=i;for(var y=2;y<h.length;y++)h[y]=this.mul(h[y-1],i);var A=h[0],R=0,v=0,a=o.bitLength()%26;for(0===a&&(a=26),y=o.length-1;y>=0;y--){for(var C=o.words[y],U=a-1;U>=0;U--){var N=C>>U&1;(A!==h[0]&&(A=this.sqr(A)),0!==N||0!==R)?(R<<=1,R|=N,(4===++v||0===y&&0===U)&&(A=this.mul(A,h[R]),v=0,R=0)):v=0}a=26}return A},ae.prototype.convertTo=function(i){var o=i.umod(this.m);return o===i?o.clone():o},ae.prototype.convertFrom=function(i){var o=i.clone();return o.red=null,o},l.mont=function(i){return new ve(i)},S(ve,ae),ve.prototype.convertTo=function(i){return this.imod(i.ushln(this.shift))},ve.prototype.convertFrom=function(i){var o=this.imod(i.mul(this.rinv));return o.red=null,o},ve.prototype.imul=function(i,o){if(i.isZero()||o.isZero())return i.words[0]=0,i.length=1,i;var m=i.imul(o),h=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=m.isub(h).iushrn(this.shift),A=y;return y.cmp(this.m)>=0?A=y.isub(this.m):y.cmpn(0)<0&&(A=y.iadd(this.m)),A._forceRed(this)},ve.prototype.mul=function(i,o){if(i.isZero()||o.isZero())return new l(0)._forceRed(this);var m=i.mul(o),h=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=m.isub(h).iushrn(this.shift),A=y;return y.cmp(this.m)>=0?A=y.isub(this.m):y.cmpn(0)<0&&(A=y.iadd(this.m)),A._forceRed(this)},ve.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}})(Ge=f.nmd(Ge),this)},2173:(Ge,X)=>{"use strict";X.byteLength=function d(E){var z=D(E),I=z[0],V=z[1];return 3*(I+V)/4-V},X.toByteArray=function p(E){var z,le,I=D(E),V=I[0],Z=I[1],q=new t(function P(E,z,I){return 3*(z+I)/4-I}(0,V,Z)),te=0,ne=Z>0?V-4:V;for(le=0;le<ne;le+=4)z=e[E.charCodeAt(le)]<<18|e[E.charCodeAt(le+1)]<<12|e[E.charCodeAt(le+2)]<<6|e[E.charCodeAt(le+3)],q[te++]=z>>16&255,q[te++]=z>>8&255,q[te++]=255&z;return 2===Z&&(z=e[E.charCodeAt(le)]<<2|e[E.charCodeAt(le+1)]>>4,q[te++]=255&z),1===Z&&(z=e[E.charCodeAt(le)]<<10|e[E.charCodeAt(le+1)]<<4|e[E.charCodeAt(le+2)]>>2,q[te++]=z>>8&255,q[te++]=255&z),q},X.fromByteArray=function k(E){for(var z,I=E.length,V=I%3,Z=[],q=16383,te=0,ne=I-V;te<ne;te+=q)Z.push(M(E,te,te+q>ne?ne:te+q));return 1===V?(z=E[I-1],Z.push(f[z>>2]+f[z<<4&63]+"==")):2===V&&(z=(E[I-2]<<8)+E[I-1],Z.push(f[z>>10]+f[z>>4&63]+f[z<<2&63]+"=")),Z.join("")};for(var f=[],e=[],t=typeof Uint8Array<"u"?Uint8Array:Array,_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",S=0,l=_.length;S<l;++S)f[S]=_[S],e[_.charCodeAt(S)]=S;function D(E){var z=E.length;if(z%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var I=E.indexOf("=");return-1===I&&(I=z),[I,I===z?0:4-I%4]}function L(E){return f[E>>18&63]+f[E>>12&63]+f[E>>6&63]+f[63&E]}function M(E,z,I){for(var V,Z=[],q=z;q<I;q+=3)V=(E[q]<<16&16711680)+(E[q+1]<<8&65280)+(255&E[q+2]),Z.push(L(V));return Z.join("")}e["-".charCodeAt(0)]=62,e["_".charCodeAt(0)]=63},6585:function(Ge,X,f){(function(e,t){"use strict";function _(m,h){if(!m)throw new Error(h||"Assertion failed")}function S(m,h){m.super_=h;var y=function(){};y.prototype=h.prototype,m.prototype=new y,m.prototype.constructor=m}function l(m,h,y){if(l.isBN(m))return m;this.negative=0,this.words=null,this.length=0,this.red=null,null!==m&&(("le"===h||"be"===h)&&(y=h,h=10),this._init(m||0,h||10,y||"be"))}var D;"object"==typeof e?e.exports=l:t.BN=l,l.BN=l,l.wordSize=26;try{D=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:f(6601).Buffer}catch{}function d(m,h){var y=m.charCodeAt(h);return y>=48&&y<=57?y-48:y>=65&&y<=70?y-55:y>=97&&y<=102?y-87:void _(!1,"Invalid character in "+m)}function P(m,h,y){var A=d(m,y);return y-1>=h&&(A|=d(m,y-1)<<4),A}function p(m,h,y,A){for(var R=0,v=0,a=Math.min(m.length,y),C=h;C<a;C++){var U=m.charCodeAt(C)-48;R*=A,v=U>=49?U-49+10:U>=17?U-17+10:U,_(U>=0&&v<A,"Invalid character"),R+=v}return R}function L(m,h){m.words=h.words,m.length=h.length,m.negative=h.negative,m.red=h.red}if(l.isBN=function(h){return h instanceof l||null!==h&&"object"==typeof h&&h.constructor.wordSize===l.wordSize&&Array.isArray(h.words)},l.max=function(h,y){return h.cmp(y)>0?h:y},l.min=function(h,y){return h.cmp(y)<0?h:y},l.prototype._init=function(h,y,A){if("number"==typeof h)return this._initNumber(h,y,A);if("object"==typeof h)return this._initArray(h,y,A);"hex"===y&&(y=16),_(y===(0|y)&&y>=2&&y<=36);var R=0;"-"===(h=h.toString().replace(/\s+/g,""))[0]&&(R++,this.negative=1),R<h.length&&(16===y?this._parseHex(h,R,A):(this._parseBase(h,y,R),"le"===A&&this._initArray(this.toArray(),y,A)))},l.prototype._initNumber=function(h,y,A){h<0&&(this.negative=1,h=-h),h<67108864?(this.words=[67108863&h],this.length=1):h<4503599627370496?(this.words=[67108863&h,h/67108864&67108863],this.length=2):(_(h<9007199254740992),this.words=[67108863&h,h/67108864&67108863,1],this.length=3),"le"===A&&this._initArray(this.toArray(),y,A)},l.prototype._initArray=function(h,y,A){if(_("number"==typeof h.length),h.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(h.length/3),this.words=new Array(this.length);for(var R=0;R<this.length;R++)this.words[R]=0;var v,a,C=0;if("be"===A)for(R=h.length-1,v=0;R>=0;R-=3)a=h[R]|h[R-1]<<8|h[R-2]<<16,this.words[v]|=a<<C&67108863,this.words[v+1]=a>>>26-C&67108863,(C+=24)>=26&&(C-=26,v++);else if("le"===A)for(R=0,v=0;R<h.length;R+=3)a=h[R]|h[R+1]<<8|h[R+2]<<16,this.words[v]|=a<<C&67108863,this.words[v+1]=a>>>26-C&67108863,(C+=24)>=26&&(C-=26,v++);return this._strip()},l.prototype._parseHex=function(h,y,A){this.length=Math.ceil((h.length-y)/6),this.words=new Array(this.length);for(var R=0;R<this.length;R++)this.words[R]=0;var C,v=0,a=0;if("be"===A)for(R=h.length-1;R>=y;R-=2)C=P(h,y,R)<<v,this.words[a]|=67108863&C,v>=18?(v-=18,a+=1,this.words[a]|=C>>>26):v+=8;else for(R=(h.length-y)%2==0?y+1:y;R<h.length;R+=2)C=P(h,y,R)<<v,this.words[a]|=67108863&C,v>=18?(v-=18,a+=1,this.words[a]|=C>>>26):v+=8;this._strip()},l.prototype._parseBase=function(h,y,A){this.words=[0],this.length=1;for(var R=0,v=1;v<=67108863;v*=y)R++;R--,v=v/y|0;for(var a=h.length-A,C=a%R,U=Math.min(a,a-C)+A,N=0,Q=A;Q<U;Q+=R)N=p(h,Q,Q+R,y),this.imuln(v),this.words[0]+N<67108864?this.words[0]+=N:this._iaddn(N);if(0!==C){var Pe=1;for(N=p(h,Q,h.length,y),Q=0;Q<C;Q++)Pe*=y;this.imuln(Pe),this.words[0]+N<67108864?this.words[0]+=N:this._iaddn(N)}this._strip()},l.prototype.copy=function(h){h.words=new Array(this.length);for(var y=0;y<this.length;y++)h.words[y]=this.words[y];h.length=this.length,h.negative=this.negative,h.red=this.red},l.prototype._move=function(h){L(h,this)},l.prototype.clone=function(){var h=new l(null);return this.copy(h),h},l.prototype._expand=function(h){for(;this.length<h;)this.words[this.length++]=0;return this},l.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},l.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},typeof Symbol<"u"&&"function"==typeof Symbol.for)try{l.prototype[Symbol.for("nodejs.util.inspect.custom")]=M}catch{l.prototype.inspect=M}else l.prototype.inspect=M;function M(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var k=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],E=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],z=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];l.prototype.toString=function(h,y){var A;if(y=0|y||1,16===(h=h||10)||"hex"===h){A="";for(var R=0,v=0,a=0;a<this.length;a++){var C=this.words[a],U=(16777215&(C<<R|v)).toString(16);v=C>>>24-R&16777215,(R+=2)>=26&&(R-=26,a--),A=0!==v||a!==this.length-1?k[6-U.length]+U+A:U+A}for(0!==v&&(A=v.toString(16)+A);A.length%y!=0;)A="0"+A;return 0!==this.negative&&(A="-"+A),A}if(h===(0|h)&&h>=2&&h<=36){var N=E[h],Q=z[h];A="";var Pe=this.clone();for(Pe.negative=0;!Pe.isZero();){var Le=Pe.modrn(Q).toString(h);A=(Pe=Pe.idivn(Q)).isZero()?Le+A:k[N-Le.length]+Le+A}for(this.isZero()&&(A="0"+A);A.length%y!=0;)A="0"+A;return 0!==this.negative&&(A="-"+A),A}_(!1,"Base should be between 2 and 36")},l.prototype.toNumber=function(){var h=this.words[0];return 2===this.length?h+=67108864*this.words[1]:3===this.length&&1===this.words[2]?h+=4503599627370496+67108864*this.words[1]:this.length>2&&_(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-h:h},l.prototype.toJSON=function(){return this.toString(16,2)},D&&(l.prototype.toBuffer=function(h,y){return this.toArrayLike(D,h,y)}),l.prototype.toArray=function(h,y){return this.toArrayLike(Array,h,y)};function Z(m,h,y){y.negative=h.negative^m.negative;var A=m.length+h.length|0;y.length=A,A=A-1|0;var R=0|m.words[0],v=0|h.words[0],a=R*v,C=67108863&a,U=a/67108864|0;y.words[0]=C;for(var N=1;N<A;N++){for(var Q=U>>>26,Pe=67108863&U,Le=Math.min(N,h.length-1),Ye=Math.max(0,N-m.length+1);Ye<=Le;Ye++){var $e=N-Ye|0;Q+=(a=(R=0|m.words[$e])*(v=0|h.words[Ye])+Pe)/67108864|0,Pe=67108863&a}y.words[N]=0|Pe,U=0|Q}return 0!==U?y.words[N]=0|U:y.length--,y._strip()}l.prototype.toArrayLike=function(h,y,A){this._strip();var R=this.byteLength(),v=A||Math.max(1,R);_(R<=v,"byte array longer than desired length"),_(v>0,"Requested array length <= 0");var a=function(h,y){return h.allocUnsafe?h.allocUnsafe(y):new h(y)}(h,v);return this["_toArrayLike"+("le"===y?"LE":"BE")](a,R),a},l.prototype._toArrayLikeLE=function(h,y){for(var A=0,R=0,v=0,a=0;v<this.length;v++){var C=this.words[v]<<a|R;h[A++]=255&C,A<h.length&&(h[A++]=C>>8&255),A<h.length&&(h[A++]=C>>16&255),6===a?(A<h.length&&(h[A++]=C>>24&255),R=0,a=0):(R=C>>>24,a+=2)}if(A<h.length)for(h[A++]=R;A<h.length;)h[A++]=0},l.prototype._toArrayLikeBE=function(h,y){for(var A=h.length-1,R=0,v=0,a=0;v<this.length;v++){var C=this.words[v]<<a|R;h[A--]=255&C,A>=0&&(h[A--]=C>>8&255),A>=0&&(h[A--]=C>>16&255),6===a?(A>=0&&(h[A--]=C>>24&255),R=0,a=0):(R=C>>>24,a+=2)}if(A>=0)for(h[A--]=R;A>=0;)h[A--]=0},Math.clz32?l.prototype._countBits=function(h){return 32-Math.clz32(h)}:l.prototype._countBits=function(h){var y=h,A=0;return y>=4096&&(A+=13,y>>>=13),y>=64&&(A+=7,y>>>=7),y>=8&&(A+=4,y>>>=4),y>=2&&(A+=2,y>>>=2),A+y},l.prototype._zeroBits=function(h){if(0===h)return 26;var y=h,A=0;return 0==(8191&y)&&(A+=13,y>>>=13),0==(127&y)&&(A+=7,y>>>=7),0==(15&y)&&(A+=4,y>>>=4),0==(3&y)&&(A+=2,y>>>=2),0==(1&y)&&A++,A},l.prototype.bitLength=function(){var h=this.words[this.length-1],y=this._countBits(h);return 26*(this.length-1)+y},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var h=0,y=0;y<this.length;y++){var A=this._zeroBits(this.words[y]);if(h+=A,26!==A)break}return h},l.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},l.prototype.toTwos=function(h){return 0!==this.negative?this.abs().inotn(h).iaddn(1):this.clone()},l.prototype.fromTwos=function(h){return this.testn(h-1)?this.notn(h).iaddn(1).ineg():this.clone()},l.prototype.isNeg=function(){return 0!==this.negative},l.prototype.neg=function(){return this.clone().ineg()},l.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},l.prototype.iuor=function(h){for(;this.length<h.length;)this.words[this.length++]=0;for(var y=0;y<h.length;y++)this.words[y]=this.words[y]|h.words[y];return this._strip()},l.prototype.ior=function(h){return _(0==(this.negative|h.negative)),this.iuor(h)},l.prototype.or=function(h){return this.length>h.length?this.clone().ior(h):h.clone().ior(this)},l.prototype.uor=function(h){return this.length>h.length?this.clone().iuor(h):h.clone().iuor(this)},l.prototype.iuand=function(h){var y;y=this.length>h.length?h:this;for(var A=0;A<y.length;A++)this.words[A]=this.words[A]&h.words[A];return this.length=y.length,this._strip()},l.prototype.iand=function(h){return _(0==(this.negative|h.negative)),this.iuand(h)},l.prototype.and=function(h){return this.length>h.length?this.clone().iand(h):h.clone().iand(this)},l.prototype.uand=function(h){return this.length>h.length?this.clone().iuand(h):h.clone().iuand(this)},l.prototype.iuxor=function(h){var y,A;this.length>h.length?(y=this,A=h):(y=h,A=this);for(var R=0;R<A.length;R++)this.words[R]=y.words[R]^A.words[R];if(this!==y)for(;R<y.length;R++)this.words[R]=y.words[R];return this.length=y.length,this._strip()},l.prototype.ixor=function(h){return _(0==(this.negative|h.negative)),this.iuxor(h)},l.prototype.xor=function(h){return this.length>h.length?this.clone().ixor(h):h.clone().ixor(this)},l.prototype.uxor=function(h){return this.length>h.length?this.clone().iuxor(h):h.clone().iuxor(this)},l.prototype.inotn=function(h){_("number"==typeof h&&h>=0);var y=0|Math.ceil(h/26),A=h%26;this._expand(y),A>0&&y--;for(var R=0;R<y;R++)this.words[R]=67108863&~this.words[R];return A>0&&(this.words[R]=~this.words[R]&67108863>>26-A),this._strip()},l.prototype.notn=function(h){return this.clone().inotn(h)},l.prototype.setn=function(h,y){_("number"==typeof h&&h>=0);var A=h/26|0,R=h%26;return this._expand(A+1),this.words[A]=y?this.words[A]|1<<R:this.words[A]&~(1<<R),this._strip()},l.prototype.iadd=function(h){var y,A,R;if(0!==this.negative&&0===h.negative)return this.negative=0,y=this.isub(h),this.negative^=1,this._normSign();if(0===this.negative&&0!==h.negative)return h.negative=0,y=this.isub(h),h.negative=1,y._normSign();this.length>h.length?(A=this,R=h):(A=h,R=this);for(var v=0,a=0;a<R.length;a++)y=(0|A.words[a])+(0|R.words[a])+v,this.words[a]=67108863&y,v=y>>>26;for(;0!==v&&a<A.length;a++)y=(0|A.words[a])+v,this.words[a]=67108863&y,v=y>>>26;if(this.length=A.length,0!==v)this.words[this.length]=v,this.length++;else if(A!==this)for(;a<A.length;a++)this.words[a]=A.words[a];return this},l.prototype.add=function(h){var y;return 0!==h.negative&&0===this.negative?(h.negative=0,y=this.sub(h),h.negative^=1,y):0===h.negative&&0!==this.negative?(this.negative=0,y=h.sub(this),this.negative=1,y):this.length>h.length?this.clone().iadd(h):h.clone().iadd(this)},l.prototype.isub=function(h){if(0!==h.negative){h.negative=0;var y=this.iadd(h);return h.negative=1,y._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(h),this.negative=1,this._normSign();var R,v,A=this.cmp(h);if(0===A)return this.negative=0,this.length=1,this.words[0]=0,this;A>0?(R=this,v=h):(R=h,v=this);for(var a=0,C=0;C<v.length;C++)a=(y=(0|R.words[C])-(0|v.words[C])+a)>>26,this.words[C]=67108863&y;for(;0!==a&&C<R.length;C++)a=(y=(0|R.words[C])+a)>>26,this.words[C]=67108863&y;if(0===a&&C<R.length&&R!==this)for(;C<R.length;C++)this.words[C]=R.words[C];return this.length=Math.max(this.length,C),R!==this&&(this.negative=1),this._strip()},l.prototype.sub=function(h){return this.clone().isub(h)};var q=function(h,y,A){var U,N,Q,R=h.words,v=y.words,a=A.words,C=0,Pe=0|R[0],Le=8191&Pe,Ye=Pe>>>13,$e=0|R[1],Ve=8191&$e,be=$e>>>13,et=0|R[2],je=8191&et,ye=et>>>13,Te=0|R[3],He=8191&Te,Ee=Te>>>13,we=0|R[4],de=8191&we,Me=we>>>13,ie=0|R[5],G=8191&ie,$=ie>>>13,ze=0|R[6],Ue=8191&ze,oe=ze>>>13,bt=0|R[7],Be=8191&bt,nt=bt>>>13,$t=0|R[8],gt=8191&$t,rt=$t>>>13,Re=0|R[9],ot=8191&Re,St=Re>>>13,gi=0|v[0],oi=8191&gi,ei=gi>>>13,Zi=0|v[1],si=8191&Zi,Bt=Zi>>>13,Je=0|v[2],me=8191&Je,K=Je>>>13,J=0|v[3],Ce=8191&J,We=J>>>13,Mt=0|v[4],Tt=8191&Mt,Nt=Mt>>>13,at=0|v[5],Ke=8191&at,vt=at>>>13,ri=0|v[6],Pt=8191&ri,Lt=ri>>>13,Kt=0|v[7],Ae=8191&Kt,fe=Kt>>>13,st=0|v[8],_t=8191&st,kt=st>>>13,Oi=0|v[9],Li=8191&Oi,Ei=Oi>>>13;A.negative=h.negative^y.negative,A.length=19;var Wi=(C+(U=Math.imul(Le,oi))|0)+((8191&(N=(N=Math.imul(Le,ei))+Math.imul(Ye,oi)|0))<<13)|0;C=((Q=Math.imul(Ye,ei))+(N>>>13)|0)+(Wi>>>26)|0,Wi&=67108863,U=Math.imul(Ve,oi),N=(N=Math.imul(Ve,ei))+Math.imul(be,oi)|0,Q=Math.imul(be,ei);var wt=(C+(U=U+Math.imul(Le,si)|0)|0)+((8191&(N=(N=N+Math.imul(Le,Bt)|0)+Math.imul(Ye,si)|0))<<13)|0;C=((Q=Q+Math.imul(Ye,Bt)|0)+(N>>>13)|0)+(wt>>>26)|0,wt&=67108863,U=Math.imul(je,oi),N=(N=Math.imul(je,ei))+Math.imul(ye,oi)|0,Q=Math.imul(ye,ei),U=U+Math.imul(Ve,si)|0,N=(N=N+Math.imul(Ve,Bt)|0)+Math.imul(be,si)|0,Q=Q+Math.imul(be,Bt)|0;var qe=(C+(U=U+Math.imul(Le,me)|0)|0)+((8191&(N=(N=N+Math.imul(Le,K)|0)+Math.imul(Ye,me)|0))<<13)|0;C=((Q=Q+Math.imul(Ye,K)|0)+(N>>>13)|0)+(qe>>>26)|0,qe&=67108863,U=Math.imul(He,oi),N=(N=Math.imul(He,ei))+Math.imul(Ee,oi)|0,Q=Math.imul(Ee,ei),U=U+Math.imul(je,si)|0,N=(N=N+Math.imul(je,Bt)|0)+Math.imul(ye,si)|0,Q=Q+Math.imul(ye,Bt)|0,U=U+Math.imul(Ve,me)|0,N=(N=N+Math.imul(Ve,K)|0)+Math.imul(be,me)|0,Q=Q+Math.imul(be,K)|0;var Ne=(C+(U=U+Math.imul(Le,Ce)|0)|0)+((8191&(N=(N=N+Math.imul(Le,We)|0)+Math.imul(Ye,Ce)|0))<<13)|0;C=((Q=Q+Math.imul(Ye,We)|0)+(N>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,U=Math.imul(de,oi),N=(N=Math.imul(de,ei))+Math.imul(Me,oi)|0,Q=Math.imul(Me,ei),U=U+Math.imul(He,si)|0,N=(N=N+Math.imul(He,Bt)|0)+Math.imul(Ee,si)|0,Q=Q+Math.imul(Ee,Bt)|0,U=U+Math.imul(je,me)|0,N=(N=N+Math.imul(je,K)|0)+Math.imul(ye,me)|0,Q=Q+Math.imul(ye,K)|0,U=U+Math.imul(Ve,Ce)|0,N=(N=N+Math.imul(Ve,We)|0)+Math.imul(be,Ce)|0,Q=Q+Math.imul(be,We)|0;var Vt=(C+(U=U+Math.imul(Le,Tt)|0)|0)+((8191&(N=(N=N+Math.imul(Le,Nt)|0)+Math.imul(Ye,Tt)|0))<<13)|0;C=((Q=Q+Math.imul(Ye,Nt)|0)+(N>>>13)|0)+(Vt>>>26)|0,Vt&=67108863,U=Math.imul(G,oi),N=(N=Math.imul(G,ei))+Math.imul($,oi)|0,Q=Math.imul($,ei),U=U+Math.imul(de,si)|0,N=(N=N+Math.imul(de,Bt)|0)+Math.imul(Me,si)|0,Q=Q+Math.imul(Me,Bt)|0,U=U+Math.imul(He,me)|0,N=(N=N+Math.imul(He,K)|0)+Math.imul(Ee,me)|0,Q=Q+Math.imul(Ee,K)|0,U=U+Math.imul(je,Ce)|0,N=(N=N+Math.imul(je,We)|0)+Math.imul(ye,Ce)|0,Q=Q+Math.imul(ye,We)|0,U=U+Math.imul(Ve,Tt)|0,N=(N=N+Math.imul(Ve,Nt)|0)+Math.imul(be,Tt)|0,Q=Q+Math.imul(be,Nt)|0;var jt=(C+(U=U+Math.imul(Le,Ke)|0)|0)+((8191&(N=(N=N+Math.imul(Le,vt)|0)+Math.imul(Ye,Ke)|0))<<13)|0;C=((Q=Q+Math.imul(Ye,vt)|0)+(N>>>13)|0)+(jt>>>26)|0,jt&=67108863,U=Math.imul(Ue,oi),N=(N=Math.imul(Ue,ei))+Math.imul(oe,oi)|0,Q=Math.imul(oe,ei),U=U+Math.imul(G,si)|0,N=(N=N+Math.imul(G,Bt)|0)+Math.imul($,si)|0,Q=Q+Math.imul($,Bt)|0,U=U+Math.imul(de,me)|0,N=(N=N+Math.imul(de,K)|0)+Math.imul(Me,me)|0,Q=Q+Math.imul(Me,K)|0,U=U+Math.imul(He,Ce)|0,N=(N=N+Math.imul(He,We)|0)+Math.imul(Ee,Ce)|0,Q=Q+Math.imul(Ee,We)|0,U=U+Math.imul(je,Tt)|0,N=(N=N+Math.imul(je,Nt)|0)+Math.imul(ye,Tt)|0,Q=Q+Math.imul(ye,Nt)|0,U=U+Math.imul(Ve,Ke)|0,N=(N=N+Math.imul(Ve,vt)|0)+Math.imul(be,Ke)|0,Q=Q+Math.imul(be,vt)|0;var fi=(C+(U=U+Math.imul(Le,Pt)|0)|0)+((8191&(N=(N=N+Math.imul(Le,Lt)|0)+Math.imul(Ye,Pt)|0))<<13)|0;C=((Q=Q+Math.imul(Ye,Lt)|0)+(N>>>13)|0)+(fi>>>26)|0,fi&=67108863,U=Math.imul(Be,oi),N=(N=Math.imul(Be,ei))+Math.imul(nt,oi)|0,Q=Math.imul(nt,ei),U=U+Math.imul(Ue,si)|0,N=(N=N+Math.imul(Ue,Bt)|0)+Math.imul(oe,si)|0,Q=Q+Math.imul(oe,Bt)|0,U=U+Math.imul(G,me)|0,N=(N=N+Math.imul(G,K)|0)+Math.imul($,me)|0,Q=Q+Math.imul($,K)|0,U=U+Math.imul(de,Ce)|0,N=(N=N+Math.imul(de,We)|0)+Math.imul(Me,Ce)|0,Q=Q+Math.imul(Me,We)|0,U=U+Math.imul(He,Tt)|0,N=(N=N+Math.imul(He,Nt)|0)+Math.imul(Ee,Tt)|0,Q=Q+Math.imul(Ee,Nt)|0,U=U+Math.imul(je,Ke)|0,N=(N=N+Math.imul(je,vt)|0)+Math.imul(ye,Ke)|0,Q=Q+Math.imul(ye,vt)|0,U=U+Math.imul(Ve,Pt)|0,N=(N=N+Math.imul(Ve,Lt)|0)+Math.imul(be,Pt)|0,Q=Q+Math.imul(be,Lt)|0;var Si=(C+(U=U+Math.imul(Le,Ae)|0)|0)+((8191&(N=(N=N+Math.imul(Le,fe)|0)+Math.imul(Ye,Ae)|0))<<13)|0;C=((Q=Q+Math.imul(Ye,fe)|0)+(N>>>13)|0)+(Si>>>26)|0,Si&=67108863,U=Math.imul(gt,oi),N=(N=Math.imul(gt,ei))+Math.imul(rt,oi)|0,Q=Math.imul(rt,ei),U=U+Math.imul(Be,si)|0,N=(N=N+Math.imul(Be,Bt)|0)+Math.imul(nt,si)|0,Q=Q+Math.imul(nt,Bt)|0,U=U+Math.imul(Ue,me)|0,N=(N=N+Math.imul(Ue,K)|0)+Math.imul(oe,me)|0,Q=Q+Math.imul(oe,K)|0,U=U+Math.imul(G,Ce)|0,N=(N=N+Math.imul(G,We)|0)+Math.imul($,Ce)|0,Q=Q+Math.imul($,We)|0,U=U+Math.imul(de,Tt)|0,N=(N=N+Math.imul(de,Nt)|0)+Math.imul(Me,Tt)|0,Q=Q+Math.imul(Me,Nt)|0,U=U+Math.imul(He,Ke)|0,N=(N=N+Math.imul(He,vt)|0)+Math.imul(Ee,Ke)|0,Q=Q+Math.imul(Ee,vt)|0,U=U+Math.imul(je,Pt)|0,N=(N=N+Math.imul(je,Lt)|0)+Math.imul(ye,Pt)|0,Q=Q+Math.imul(ye,Lt)|0,U=U+Math.imul(Ve,Ae)|0,N=(N=N+Math.imul(Ve,fe)|0)+Math.imul(be,Ae)|0,Q=Q+Math.imul(be,fe)|0;var ki=(C+(U=U+Math.imul(Le,_t)|0)|0)+((8191&(N=(N=N+Math.imul(Le,kt)|0)+Math.imul(Ye,_t)|0))<<13)|0;C=((Q=Q+Math.imul(Ye,kt)|0)+(N>>>13)|0)+(ki>>>26)|0,ki&=67108863,U=Math.imul(ot,oi),N=(N=Math.imul(ot,ei))+Math.imul(St,oi)|0,Q=Math.imul(St,ei),U=U+Math.imul(gt,si)|0,N=(N=N+Math.imul(gt,Bt)|0)+Math.imul(rt,si)|0,Q=Q+Math.imul(rt,Bt)|0,U=U+Math.imul(Be,me)|0,N=(N=N+Math.imul(Be,K)|0)+Math.imul(nt,me)|0,Q=Q+Math.imul(nt,K)|0,U=U+Math.imul(Ue,Ce)|0,N=(N=N+Math.imul(Ue,We)|0)+Math.imul(oe,Ce)|0,Q=Q+Math.imul(oe,We)|0,U=U+Math.imul(G,Tt)|0,N=(N=N+Math.imul(G,Nt)|0)+Math.imul($,Tt)|0,Q=Q+Math.imul($,Nt)|0,U=U+Math.imul(de,Ke)|0,N=(N=N+Math.imul(de,vt)|0)+Math.imul(Me,Ke)|0,Q=Q+Math.imul(Me,vt)|0,U=U+Math.imul(He,Pt)|0,N=(N=N+Math.imul(He,Lt)|0)+Math.imul(Ee,Pt)|0,Q=Q+Math.imul(Ee,Lt)|0,U=U+Math.imul(je,Ae)|0,N=(N=N+Math.imul(je,fe)|0)+Math.imul(ye,Ae)|0,Q=Q+Math.imul(ye,fe)|0,U=U+Math.imul(Ve,_t)|0,N=(N=N+Math.imul(Ve,kt)|0)+Math.imul(be,_t)|0,Q=Q+Math.imul(be,kt)|0;var Gi=(C+(U=U+Math.imul(Le,Li)|0)|0)+((8191&(N=(N=N+Math.imul(Le,Ei)|0)+Math.imul(Ye,Li)|0))<<13)|0;C=((Q=Q+Math.imul(Ye,Ei)|0)+(N>>>13)|0)+(Gi>>>26)|0,Gi&=67108863,U=Math.imul(ot,si),N=(N=Math.imul(ot,Bt))+Math.imul(St,si)|0,Q=Math.imul(St,Bt),U=U+Math.imul(gt,me)|0,N=(N=N+Math.imul(gt,K)|0)+Math.imul(rt,me)|0,Q=Q+Math.imul(rt,K)|0,U=U+Math.imul(Be,Ce)|0,N=(N=N+Math.imul(Be,We)|0)+Math.imul(nt,Ce)|0,Q=Q+Math.imul(nt,We)|0,U=U+Math.imul(Ue,Tt)|0,N=(N=N+Math.imul(Ue,Nt)|0)+Math.imul(oe,Tt)|0,Q=Q+Math.imul(oe,Nt)|0,U=U+Math.imul(G,Ke)|0,N=(N=N+Math.imul(G,vt)|0)+Math.imul($,Ke)|0,Q=Q+Math.imul($,vt)|0,U=U+Math.imul(de,Pt)|0,N=(N=N+Math.imul(de,Lt)|0)+Math.imul(Me,Pt)|0,Q=Q+Math.imul(Me,Lt)|0,U=U+Math.imul(He,Ae)|0,N=(N=N+Math.imul(He,fe)|0)+Math.imul(Ee,Ae)|0,Q=Q+Math.imul(Ee,fe)|0,U=U+Math.imul(je,_t)|0,N=(N=N+Math.imul(je,kt)|0)+Math.imul(ye,_t)|0,Q=Q+Math.imul(ye,kt)|0;var Qt=(C+(U=U+Math.imul(Ve,Li)|0)|0)+((8191&(N=(N=N+Math.imul(Ve,Ei)|0)+Math.imul(be,Li)|0))<<13)|0;C=((Q=Q+Math.imul(be,Ei)|0)+(N>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,U=Math.imul(ot,me),N=(N=Math.imul(ot,K))+Math.imul(St,me)|0,Q=Math.imul(St,K),U=U+Math.imul(gt,Ce)|0,N=(N=N+Math.imul(gt,We)|0)+Math.imul(rt,Ce)|0,Q=Q+Math.imul(rt,We)|0,U=U+Math.imul(Be,Tt)|0,N=(N=N+Math.imul(Be,Nt)|0)+Math.imul(nt,Tt)|0,Q=Q+Math.imul(nt,Nt)|0,U=U+Math.imul(Ue,Ke)|0,N=(N=N+Math.imul(Ue,vt)|0)+Math.imul(oe,Ke)|0,Q=Q+Math.imul(oe,vt)|0,U=U+Math.imul(G,Pt)|0,N=(N=N+Math.imul(G,Lt)|0)+Math.imul($,Pt)|0,Q=Q+Math.imul($,Lt)|0,U=U+Math.imul(de,Ae)|0,N=(N=N+Math.imul(de,fe)|0)+Math.imul(Me,Ae)|0,Q=Q+Math.imul(Me,fe)|0,U=U+Math.imul(He,_t)|0,N=(N=N+Math.imul(He,kt)|0)+Math.imul(Ee,_t)|0,Q=Q+Math.imul(Ee,kt)|0;var xe=(C+(U=U+Math.imul(je,Li)|0)|0)+((8191&(N=(N=N+Math.imul(je,Ei)|0)+Math.imul(ye,Li)|0))<<13)|0;C=((Q=Q+Math.imul(ye,Ei)|0)+(N>>>13)|0)+(xe>>>26)|0,xe&=67108863,U=Math.imul(ot,Ce),N=(N=Math.imul(ot,We))+Math.imul(St,Ce)|0,Q=Math.imul(St,We),U=U+Math.imul(gt,Tt)|0,N=(N=N+Math.imul(gt,Nt)|0)+Math.imul(rt,Tt)|0,Q=Q+Math.imul(rt,Nt)|0,U=U+Math.imul(Be,Ke)|0,N=(N=N+Math.imul(Be,vt)|0)+Math.imul(nt,Ke)|0,Q=Q+Math.imul(nt,vt)|0,U=U+Math.imul(Ue,Pt)|0,N=(N=N+Math.imul(Ue,Lt)|0)+Math.imul(oe,Pt)|0,Q=Q+Math.imul(oe,Lt)|0,U=U+Math.imul(G,Ae)|0,N=(N=N+Math.imul(G,fe)|0)+Math.imul($,Ae)|0,Q=Q+Math.imul($,fe)|0,U=U+Math.imul(de,_t)|0,N=(N=N+Math.imul(de,kt)|0)+Math.imul(Me,_t)|0,Q=Q+Math.imul(Me,kt)|0;var ke=(C+(U=U+Math.imul(He,Li)|0)|0)+((8191&(N=(N=N+Math.imul(He,Ei)|0)+Math.imul(Ee,Li)|0))<<13)|0;C=((Q=Q+Math.imul(Ee,Ei)|0)+(N>>>13)|0)+(ke>>>26)|0,ke&=67108863,U=Math.imul(ot,Tt),N=(N=Math.imul(ot,Nt))+Math.imul(St,Tt)|0,Q=Math.imul(St,Nt),U=U+Math.imul(gt,Ke)|0,N=(N=N+Math.imul(gt,vt)|0)+Math.imul(rt,Ke)|0,Q=Q+Math.imul(rt,vt)|0,U=U+Math.imul(Be,Pt)|0,N=(N=N+Math.imul(Be,Lt)|0)+Math.imul(nt,Pt)|0,Q=Q+Math.imul(nt,Lt)|0,U=U+Math.imul(Ue,Ae)|0,N=(N=N+Math.imul(Ue,fe)|0)+Math.imul(oe,Ae)|0,Q=Q+Math.imul(oe,fe)|0,U=U+Math.imul(G,_t)|0,N=(N=N+Math.imul(G,kt)|0)+Math.imul($,_t)|0,Q=Q+Math.imul($,kt)|0;var ft=(C+(U=U+Math.imul(de,Li)|0)|0)+((8191&(N=(N=N+Math.imul(de,Ei)|0)+Math.imul(Me,Li)|0))<<13)|0;C=((Q=Q+Math.imul(Me,Ei)|0)+(N>>>13)|0)+(ft>>>26)|0,ft&=67108863,U=Math.imul(ot,Ke),N=(N=Math.imul(ot,vt))+Math.imul(St,Ke)|0,Q=Math.imul(St,vt),U=U+Math.imul(gt,Pt)|0,N=(N=N+Math.imul(gt,Lt)|0)+Math.imul(rt,Pt)|0,Q=Q+Math.imul(rt,Lt)|0,U=U+Math.imul(Be,Ae)|0,N=(N=N+Math.imul(Be,fe)|0)+Math.imul(nt,Ae)|0,Q=Q+Math.imul(nt,fe)|0,U=U+Math.imul(Ue,_t)|0,N=(N=N+Math.imul(Ue,kt)|0)+Math.imul(oe,_t)|0,Q=Q+Math.imul(oe,kt)|0;var Rt=(C+(U=U+Math.imul(G,Li)|0)|0)+((8191&(N=(N=N+Math.imul(G,Ei)|0)+Math.imul($,Li)|0))<<13)|0;C=((Q=Q+Math.imul($,Ei)|0)+(N>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,U=Math.imul(ot,Pt),N=(N=Math.imul(ot,Lt))+Math.imul(St,Pt)|0,Q=Math.imul(St,Lt),U=U+Math.imul(gt,Ae)|0,N=(N=N+Math.imul(gt,fe)|0)+Math.imul(rt,Ae)|0,Q=Q+Math.imul(rt,fe)|0,U=U+Math.imul(Be,_t)|0,N=(N=N+Math.imul(Be,kt)|0)+Math.imul(nt,_t)|0,Q=Q+Math.imul(nt,kt)|0;var di=(C+(U=U+Math.imul(Ue,Li)|0)|0)+((8191&(N=(N=N+Math.imul(Ue,Ei)|0)+Math.imul(oe,Li)|0))<<13)|0;C=((Q=Q+Math.imul(oe,Ei)|0)+(N>>>13)|0)+(di>>>26)|0,di&=67108863,U=Math.imul(ot,Ae),N=(N=Math.imul(ot,fe))+Math.imul(St,Ae)|0,Q=Math.imul(St,fe),U=U+Math.imul(gt,_t)|0,N=(N=N+Math.imul(gt,kt)|0)+Math.imul(rt,_t)|0,Q=Q+Math.imul(rt,kt)|0;var ai=(C+(U=U+Math.imul(Be,Li)|0)|0)+((8191&(N=(N=N+Math.imul(Be,Ei)|0)+Math.imul(nt,Li)|0))<<13)|0;C=((Q=Q+Math.imul(nt,Ei)|0)+(N>>>13)|0)+(ai>>>26)|0,ai&=67108863,U=Math.imul(ot,_t),N=(N=Math.imul(ot,kt))+Math.imul(St,_t)|0,Q=Math.imul(St,kt);var ci=(C+(U=U+Math.imul(gt,Li)|0)|0)+((8191&(N=(N=N+Math.imul(gt,Ei)|0)+Math.imul(rt,Li)|0))<<13)|0;C=((Q=Q+Math.imul(rt,Ei)|0)+(N>>>13)|0)+(ci>>>26)|0,ci&=67108863;var ii=(C+(U=Math.imul(ot,Li))|0)+((8191&(N=(N=Math.imul(ot,Ei))+Math.imul(St,Li)|0))<<13)|0;return C=((Q=Math.imul(St,Ei))+(N>>>13)|0)+(ii>>>26)|0,ii&=67108863,a[0]=Wi,a[1]=wt,a[2]=qe,a[3]=Ne,a[4]=Vt,a[5]=jt,a[6]=fi,a[7]=Si,a[8]=ki,a[9]=Gi,a[10]=Qt,a[11]=xe,a[12]=ke,a[13]=ft,a[14]=Rt,a[15]=di,a[16]=ai,a[17]=ci,a[18]=ii,0!==C&&(a[19]=C,A.length++),A};function te(m,h,y){y.negative=h.negative^m.negative,y.length=m.length+h.length;for(var A=0,R=0,v=0;v<y.length-1;v++){var a=R;R=0;for(var C=67108863&A,U=Math.min(v,h.length-1),N=Math.max(0,v-m.length+1);N<=U;N++){var Q=v-N,Ye=(0|m.words[Q])*(0|h.words[N]),$e=67108863&Ye;C=67108863&($e=$e+C|0),R+=(a=(a=a+(Ye/67108864|0)|0)+($e>>>26)|0)>>>26,a&=67108863}y.words[v]=C,A=a,a=R}return 0!==A?y.words[v]=A:y.length--,y._strip()}function ne(m,h,y){return te(m,h,y)}function le(m,h){this.x=m,this.y=h}Math.imul||(q=Z),l.prototype.mulTo=function(h,y){var R=this.length+h.length;return 10===this.length&&10===h.length?q(this,h,y):R<63?Z(this,h,y):R<1024?te(this,h,y):ne(this,h,y)},le.prototype.makeRBT=function(h){for(var y=new Array(h),A=l.prototype._countBits(h)-1,R=0;R<h;R++)y[R]=this.revBin(R,A,h);return y},le.prototype.revBin=function(h,y,A){if(0===h||h===A-1)return h;for(var R=0,v=0;v<y;v++)R|=(1&h)<<y-v-1,h>>=1;return R},le.prototype.permute=function(h,y,A,R,v,a){for(var C=0;C<a;C++)R[C]=y[h[C]],v[C]=A[h[C]]},le.prototype.transform=function(h,y,A,R,v,a){this.permute(a,h,y,A,R,v);for(var C=1;C<v;C<<=1)for(var U=C<<1,N=Math.cos(2*Math.PI/U),Q=Math.sin(2*Math.PI/U),Pe=0;Pe<v;Pe+=U)for(var Le=N,Ye=Q,$e=0;$e<C;$e++){var Ve=A[Pe+$e],be=R[Pe+$e],et=A[Pe+$e+C],je=R[Pe+$e+C],ye=Le*et-Ye*je;je=Le*je+Ye*et,et=ye,A[Pe+$e]=Ve+et,R[Pe+$e]=be+je,A[Pe+$e+C]=Ve-et,R[Pe+$e+C]=be-je,$e!==U&&(ye=N*Le-Q*Ye,Ye=N*Ye+Q*Le,Le=ye)}},le.prototype.guessLen13b=function(h,y){var A=1|Math.max(y,h),R=1&A,v=0;for(A=A/2|0;A;A>>>=1)v++;return 1<<v+1+R},le.prototype.conjugate=function(h,y,A){if(!(A<=1))for(var R=0;R<A/2;R++){var v=h[R];h[R]=h[A-R-1],h[A-R-1]=v,v=y[R],y[R]=-y[A-R-1],y[A-R-1]=-v}},le.prototype.normalize13b=function(h,y){for(var A=0,R=0;R<y/2;R++){var v=8192*Math.round(h[2*R+1]/y)+Math.round(h[2*R]/y)+A;h[R]=67108863&v,A=v<67108864?0:v/67108864|0}return h},le.prototype.convert13b=function(h,y,A,R){for(var v=0,a=0;a<y;a++)v+=0|h[a],A[2*a]=8191&v,v>>>=13,A[2*a+1]=8191&v,v>>>=13;for(a=2*y;a<R;++a)A[a]=0;_(0===v),_(0==(-8192&v))},le.prototype.stub=function(h){for(var y=new Array(h),A=0;A<h;A++)y[A]=0;return y},le.prototype.mulp=function(h,y,A){var R=2*this.guessLen13b(h.length,y.length),v=this.makeRBT(R),a=this.stub(R),C=new Array(R),U=new Array(R),N=new Array(R),Q=new Array(R),Pe=new Array(R),Le=new Array(R),Ye=A.words;Ye.length=R,this.convert13b(h.words,h.length,C,R),this.convert13b(y.words,y.length,Q,R),this.transform(C,a,U,N,R,v),this.transform(Q,a,Pe,Le,R,v);for(var $e=0;$e<R;$e++){var Ve=U[$e]*Pe[$e]-N[$e]*Le[$e];N[$e]=U[$e]*Le[$e]+N[$e]*Pe[$e],U[$e]=Ve}return this.conjugate(U,N,R),this.transform(U,N,Ye,a,R,v),this.conjugate(Ye,a,R),this.normalize13b(Ye,R),A.negative=h.negative^y.negative,A.length=h.length+y.length,A._strip()},l.prototype.mul=function(h){var y=new l(null);return y.words=new Array(this.length+h.length),this.mulTo(h,y)},l.prototype.mulf=function(h){var y=new l(null);return y.words=new Array(this.length+h.length),ne(this,h,y)},l.prototype.imul=function(h){return this.clone().mulTo(h,this)},l.prototype.imuln=function(h){var y=h<0;y&&(h=-h),_("number"==typeof h),_(h<67108864);for(var A=0,R=0;R<this.length;R++){var v=(0|this.words[R])*h,a=(67108863&v)+(67108863&A);A>>=26,A+=v/67108864|0,A+=a>>>26,this.words[R]=67108863&a}return 0!==A&&(this.words[R]=A,this.length++),y?this.ineg():this},l.prototype.muln=function(h){return this.clone().imuln(h)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(h){var y=function V(m){for(var h=new Array(m.bitLength()),y=0;y<h.length;y++){var A=y/26|0,R=y%26;h[y]=m.words[A]>>>R&1}return h}(h);if(0===y.length)return new l(1);for(var A=this,R=0;R<y.length&&0===y[R];R++,A=A.sqr());if(++R<y.length)for(var v=A.sqr();R<y.length;R++,v=v.sqr())0!==y[R]&&(A=A.mul(v));return A},l.prototype.iushln=function(h){_("number"==typeof h&&h>=0);var v,y=h%26,A=(h-y)/26,R=67108863>>>26-y<<26-y;if(0!==y){var a=0;for(v=0;v<this.length;v++){var C=this.words[v]&R,U=(0|this.words[v])-C<<y;this.words[v]=U|a,a=C>>>26-y}a&&(this.words[v]=a,this.length++)}if(0!==A){for(v=this.length-1;v>=0;v--)this.words[v+A]=this.words[v];for(v=0;v<A;v++)this.words[v]=0;this.length+=A}return this._strip()},l.prototype.ishln=function(h){return _(0===this.negative),this.iushln(h)},l.prototype.iushrn=function(h,y,A){var R;_("number"==typeof h&&h>=0),R=y?(y-y%26)/26:0;var v=h%26,a=Math.min((h-v)/26,this.length),C=67108863^67108863>>>v<<v,U=A;if(R-=a,R=Math.max(0,R),U){for(var N=0;N<a;N++)U.words[N]=this.words[N];U.length=a}if(0!==a)if(this.length>a)for(this.length-=a,N=0;N<this.length;N++)this.words[N]=this.words[N+a];else this.words[0]=0,this.length=1;var Q=0;for(N=this.length-1;N>=0&&(0!==Q||N>=R);N--){var Pe=0|this.words[N];this.words[N]=Q<<26-v|Pe>>>v,Q=Pe&C}return U&&0!==Q&&(U.words[U.length++]=Q),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},l.prototype.ishrn=function(h,y,A){return _(0===this.negative),this.iushrn(h,y,A)},l.prototype.shln=function(h){return this.clone().ishln(h)},l.prototype.ushln=function(h){return this.clone().iushln(h)},l.prototype.shrn=function(h){return this.clone().ishrn(h)},l.prototype.ushrn=function(h){return this.clone().iushrn(h)},l.prototype.testn=function(h){_("number"==typeof h&&h>=0);var y=h%26,A=(h-y)/26,R=1<<y;return!(this.length<=A)&&!!(this.words[A]&R)},l.prototype.imaskn=function(h){_("number"==typeof h&&h>=0);var y=h%26,A=(h-y)/26;if(_(0===this.negative,"imaskn works only with positive numbers"),this.length<=A)return this;if(0!==y&&A++,this.length=Math.min(A,this.length),0!==y){var R=67108863^67108863>>>y<<y;this.words[this.length-1]&=R}return this._strip()},l.prototype.maskn=function(h){return this.clone().imaskn(h)},l.prototype.iaddn=function(h){return _("number"==typeof h),_(h<67108864),h<0?this.isubn(-h):0!==this.negative?1===this.length&&(0|this.words[0])<=h?(this.words[0]=h-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(h),this.negative=1,this):this._iaddn(h)},l.prototype._iaddn=function(h){this.words[0]+=h;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},l.prototype.isubn=function(h){if(_("number"==typeof h),_(h<67108864),h<0)return this.iaddn(-h);if(0!==this.negative)return this.negative=0,this.iaddn(h),this.negative=1,this;if(this.words[0]-=h,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var y=0;y<this.length&&this.words[y]<0;y++)this.words[y]+=67108864,this.words[y+1]-=1;return this._strip()},l.prototype.addn=function(h){return this.clone().iaddn(h)},l.prototype.subn=function(h){return this.clone().isubn(h)},l.prototype.iabs=function(){return this.negative=0,this},l.prototype.abs=function(){return this.clone().iabs()},l.prototype._ishlnsubmul=function(h,y,A){var v,R=h.length+A;this._expand(R);var a,C=0;for(v=0;v<h.length;v++){a=(0|this.words[v+A])+C;var U=(0|h.words[v])*y;C=((a-=67108863&U)>>26)-(U/67108864|0),this.words[v+A]=67108863&a}for(;v<this.length-A;v++)C=(a=(0|this.words[v+A])+C)>>26,this.words[v+A]=67108863&a;if(0===C)return this._strip();for(_(-1===C),C=0,v=0;v<this.length;v++)C=(a=-(0|this.words[v])+C)>>26,this.words[v]=67108863&a;return this.negative=1,this._strip()},l.prototype._wordDiv=function(h,y){var A=(this.length,h.length),R=this.clone(),v=h,a=0|v.words[v.length-1];0!==(A=26-this._countBits(a))&&(v=v.ushln(A),R.iushln(A),a=0|v.words[v.length-1]);var N,U=R.length-v.length;if("mod"!==y){(N=new l(null)).length=U+1,N.words=new Array(N.length);for(var Q=0;Q<N.length;Q++)N.words[Q]=0}var Pe=R.clone()._ishlnsubmul(v,1,U);0===Pe.negative&&(R=Pe,N&&(N.words[U]=1));for(var Le=U-1;Le>=0;Le--){var Ye=67108864*(0|R.words[v.length+Le])+(0|R.words[v.length+Le-1]);for(Ye=Math.min(Ye/a|0,67108863),R._ishlnsubmul(v,Ye,Le);0!==R.negative;)Ye--,R.negative=0,R._ishlnsubmul(v,1,Le),R.isZero()||(R.negative^=1);N&&(N.words[Le]=Ye)}return N&&N._strip(),R._strip(),"div"!==y&&0!==A&&R.iushrn(A),{div:N||null,mod:R}},l.prototype.divmod=function(h,y,A){return _(!h.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===h.negative?(a=this.neg().divmod(h,y),"mod"!==y&&(R=a.div.neg()),"div"!==y&&(v=a.mod.neg(),A&&0!==v.negative&&v.iadd(h)),{div:R,mod:v}):0===this.negative&&0!==h.negative?(a=this.divmod(h.neg(),y),"mod"!==y&&(R=a.div.neg()),{div:R,mod:a.mod}):0!=(this.negative&h.negative)?(a=this.neg().divmod(h.neg(),y),"div"!==y&&(v=a.mod.neg(),A&&0!==v.negative&&v.isub(h)),{div:a.div,mod:v}):h.length>this.length||this.cmp(h)<0?{div:new l(0),mod:this}:1===h.length?"div"===y?{div:this.divn(h.words[0]),mod:null}:"mod"===y?{div:null,mod:new l(this.modrn(h.words[0]))}:{div:this.divn(h.words[0]),mod:new l(this.modrn(h.words[0]))}:this._wordDiv(h,y);var R,v,a},l.prototype.div=function(h){return this.divmod(h,"div",!1).div},l.prototype.mod=function(h){return this.divmod(h,"mod",!1).mod},l.prototype.umod=function(h){return this.divmod(h,"mod",!0).mod},l.prototype.divRound=function(h){var y=this.divmod(h);if(y.mod.isZero())return y.div;var A=0!==y.div.negative?y.mod.isub(h):y.mod,R=h.ushrn(1),v=h.andln(1),a=A.cmp(R);return a<0||1===v&&0===a?y.div:0!==y.div.negative?y.div.isubn(1):y.div.iaddn(1)},l.prototype.modrn=function(h){var y=h<0;y&&(h=-h),_(h<=67108863);for(var A=(1<<26)%h,R=0,v=this.length-1;v>=0;v--)R=(A*R+(0|this.words[v]))%h;return y?-R:R},l.prototype.modn=function(h){return this.modrn(h)},l.prototype.idivn=function(h){var y=h<0;y&&(h=-h),_(h<=67108863);for(var A=0,R=this.length-1;R>=0;R--){var v=(0|this.words[R])+67108864*A;this.words[R]=v/h|0,A=v%h}return this._strip(),y?this.ineg():this},l.prototype.divn=function(h){return this.clone().idivn(h)},l.prototype.egcd=function(h){_(0===h.negative),_(!h.isZero());var y=this,A=h.clone();y=0!==y.negative?y.umod(h):y.clone();for(var R=new l(1),v=new l(0),a=new l(0),C=new l(1),U=0;y.isEven()&&A.isEven();)y.iushrn(1),A.iushrn(1),++U;for(var N=A.clone(),Q=y.clone();!y.isZero();){for(var Pe=0,Le=1;0==(y.words[0]&Le)&&Pe<26;++Pe,Le<<=1);if(Pe>0)for(y.iushrn(Pe);Pe-- >0;)(R.isOdd()||v.isOdd())&&(R.iadd(N),v.isub(Q)),R.iushrn(1),v.iushrn(1);for(var Ye=0,$e=1;0==(A.words[0]&$e)&&Ye<26;++Ye,$e<<=1);if(Ye>0)for(A.iushrn(Ye);Ye-- >0;)(a.isOdd()||C.isOdd())&&(a.iadd(N),C.isub(Q)),a.iushrn(1),C.iushrn(1);y.cmp(A)>=0?(y.isub(A),R.isub(a),v.isub(C)):(A.isub(y),a.isub(R),C.isub(v))}return{a,b:C,gcd:A.iushln(U)}},l.prototype._invmp=function(h){_(0===h.negative),_(!h.isZero());var Pe,y=this,A=h.clone();y=0!==y.negative?y.umod(h):y.clone();for(var R=new l(1),v=new l(0),a=A.clone();y.cmpn(1)>0&&A.cmpn(1)>0;){for(var C=0,U=1;0==(y.words[0]&U)&&C<26;++C,U<<=1);if(C>0)for(y.iushrn(C);C-- >0;)R.isOdd()&&R.iadd(a),R.iushrn(1);for(var N=0,Q=1;0==(A.words[0]&Q)&&N<26;++N,Q<<=1);if(N>0)for(A.iushrn(N);N-- >0;)v.isOdd()&&v.iadd(a),v.iushrn(1);y.cmp(A)>=0?(y.isub(A),R.isub(v)):(A.isub(y),v.isub(R))}return(Pe=0===y.cmpn(1)?R:v).cmpn(0)<0&&Pe.iadd(h),Pe},l.prototype.gcd=function(h){if(this.isZero())return h.abs();if(h.isZero())return this.abs();var y=this.clone(),A=h.clone();y.negative=0,A.negative=0;for(var R=0;y.isEven()&&A.isEven();R++)y.iushrn(1),A.iushrn(1);for(;;){for(;y.isEven();)y.iushrn(1);for(;A.isEven();)A.iushrn(1);var v=y.cmp(A);if(v<0){var a=y;y=A,A=a}else if(0===v||0===A.cmpn(1))break;y.isub(A)}return A.iushln(R)},l.prototype.invm=function(h){return this.egcd(h).a.umod(h)},l.prototype.isEven=function(){return 0==(1&this.words[0])},l.prototype.isOdd=function(){return 1==(1&this.words[0])},l.prototype.andln=function(h){return this.words[0]&h},l.prototype.bincn=function(h){_("number"==typeof h);var y=h%26,A=(h-y)/26,R=1<<y;if(this.length<=A)return this._expand(A+1),this.words[A]|=R,this;for(var v=R,a=A;0!==v&&a<this.length;a++){var C=0|this.words[a];v=(C+=v)>>>26,C&=67108863,this.words[a]=C}return 0!==v&&(this.words[a]=v,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(h){var A,y=h<0;if(0!==this.negative&&!y)return-1;if(0===this.negative&&y)return 1;if(this._strip(),this.length>1)A=1;else{y&&(h=-h),_(h<=67108863,"Number is too big");var R=0|this.words[0];A=R===h?0:R<h?-1:1}return 0!==this.negative?0|-A:A},l.prototype.cmp=function(h){if(0!==this.negative&&0===h.negative)return-1;if(0===this.negative&&0!==h.negative)return 1;var y=this.ucmp(h);return 0!==this.negative?0|-y:y},l.prototype.ucmp=function(h){if(this.length>h.length)return 1;if(this.length<h.length)return-1;for(var y=0,A=this.length-1;A>=0;A--){var R=0|this.words[A],v=0|h.words[A];if(R!==v){R<v?y=-1:R>v&&(y=1);break}}return y},l.prototype.gtn=function(h){return 1===this.cmpn(h)},l.prototype.gt=function(h){return 1===this.cmp(h)},l.prototype.gten=function(h){return this.cmpn(h)>=0},l.prototype.gte=function(h){return this.cmp(h)>=0},l.prototype.ltn=function(h){return-1===this.cmpn(h)},l.prototype.lt=function(h){return-1===this.cmp(h)},l.prototype.lten=function(h){return this.cmpn(h)<=0},l.prototype.lte=function(h){return this.cmp(h)<=0},l.prototype.eqn=function(h){return 0===this.cmpn(h)},l.prototype.eq=function(h){return 0===this.cmp(h)},l.red=function(h){return new i(h)},l.prototype.toRed=function(h){return _(!this.red,"Already a number in reduction context"),_(0===this.negative,"red works only with positives"),h.convertTo(this)._forceRed(h)},l.prototype.fromRed=function(){return _(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(h){return this.red=h,this},l.prototype.forceRed=function(h){return _(!this.red,"Already a number in reduction context"),this._forceRed(h)},l.prototype.redAdd=function(h){return _(this.red,"redAdd works only with red numbers"),this.red.add(this,h)},l.prototype.redIAdd=function(h){return _(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,h)},l.prototype.redSub=function(h){return _(this.red,"redSub works only with red numbers"),this.red.sub(this,h)},l.prototype.redISub=function(h){return _(this.red,"redISub works only with red numbers"),this.red.isub(this,h)},l.prototype.redShl=function(h){return _(this.red,"redShl works only with red numbers"),this.red.shl(this,h)},l.prototype.redMul=function(h){return _(this.red,"redMul works only with red numbers"),this.red._verify2(this,h),this.red.mul(this,h)},l.prototype.redIMul=function(h){return _(this.red,"redMul works only with red numbers"),this.red._verify2(this,h),this.red.imul(this,h)},l.prototype.redSqr=function(){return _(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return _(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return _(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return _(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return _(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(h){return _(this.red&&!h.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,h)};var re={k256:null,p224:null,p192:null,p25519:null};function _e(m,h){this.name=m,this.p=new l(h,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function he(){_e.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function ae(){_e.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ve(){_e.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function T(){_e.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function i(m){if("string"==typeof m){var h=l._prime(m);this.m=h.p,this.prime=h}else _(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 l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}_e.prototype._tmp=function(){var h=new l(null);return h.words=new Array(Math.ceil(this.n/13)),h},_e.prototype.ireduce=function(h){var A,y=h;do{this.split(y,this.tmp),A=(y=(y=this.imulK(y)).iadd(this.tmp)).bitLength()}while(A>this.n);var R=A<this.n?-1:y.ucmp(this.p);return 0===R?(y.words[0]=0,y.length=1):R>0?y.isub(this.p):void 0!==y.strip?y.strip():y._strip(),y},_e.prototype.split=function(h,y){h.iushrn(this.n,0,y)},_e.prototype.imulK=function(h){return h.imul(this.k)},S(he,_e),he.prototype.split=function(h,y){for(var A=4194303,R=Math.min(h.length,9),v=0;v<R;v++)y.words[v]=h.words[v];if(y.length=R,h.length<=9)return h.words[0]=0,void(h.length=1);var a=h.words[9];for(y.words[y.length++]=a&A,v=10;v<h.length;v++){var C=0|h.words[v];h.words[v-10]=(C&A)<<4|a>>>22,a=C}a>>>=22,h.words[v-10]=a,0===a&&h.length>10?h.length-=10:h.length-=9},he.prototype.imulK=function(h){h.words[h.length]=0,h.words[h.length+1]=0,h.length+=2;for(var y=0,A=0;A<h.length;A++){var R=0|h.words[A];y+=977*R,h.words[A]=67108863&y,y=64*R+(y/67108864|0)}return 0===h.words[h.length-1]&&(h.length--,0===h.words[h.length-1]&&h.length--),h},S(ae,_e),S(ve,_e),S(T,_e),T.prototype.imulK=function(h){for(var y=0,A=0;A<h.length;A++){var R=19*(0|h.words[A])+y,v=67108863&R;R>>>=26,h.words[A]=v,y=R}return 0!==y&&(h.words[h.length++]=y),h},l._prime=function(h){if(re[h])return re[h];var y;if("k256"===h)y=new he;else if("p224"===h)y=new ae;else if("p192"===h)y=new ve;else{if("p25519"!==h)throw new Error("Unknown prime "+h);y=new T}return re[h]=y,y},i.prototype._verify1=function(h){_(0===h.negative,"red works only with positives"),_(h.red,"red works only with red numbers")},i.prototype._verify2=function(h,y){_(0==(h.negative|y.negative),"red works only with positives"),_(h.red&&h.red===y.red,"red works only with red numbers")},i.prototype.imod=function(h){return this.prime?this.prime.ireduce(h)._forceRed(this):(L(h,h.umod(this.m)._forceRed(this)),h)},i.prototype.neg=function(h){return h.isZero()?h.clone():this.m.sub(h)._forceRed(this)},i.prototype.add=function(h,y){this._verify2(h,y);var A=h.add(y);return A.cmp(this.m)>=0&&A.isub(this.m),A._forceRed(this)},i.prototype.iadd=function(h,y){this._verify2(h,y);var A=h.iadd(y);return A.cmp(this.m)>=0&&A.isub(this.m),A},i.prototype.sub=function(h,y){this._verify2(h,y);var A=h.sub(y);return A.cmpn(0)<0&&A.iadd(this.m),A._forceRed(this)},i.prototype.isub=function(h,y){this._verify2(h,y);var A=h.isub(y);return A.cmpn(0)<0&&A.iadd(this.m),A},i.prototype.shl=function(h,y){return this._verify1(h),this.imod(h.ushln(y))},i.prototype.imul=function(h,y){return this._verify2(h,y),this.imod(h.imul(y))},i.prototype.mul=function(h,y){return this._verify2(h,y),this.imod(h.mul(y))},i.prototype.isqr=function(h){return this.imul(h,h.clone())},i.prototype.sqr=function(h){return this.mul(h,h)},i.prototype.sqrt=function(h){if(h.isZero())return h.clone();var y=this.m.andln(3);if(_(y%2==1),3===y){var A=this.m.add(new l(1)).iushrn(2);return this.pow(h,A)}for(var R=this.m.subn(1),v=0;!R.isZero()&&0===R.andln(1);)v++,R.iushrn(1);_(!R.isZero());var a=new l(1).toRed(this),C=a.redNeg(),U=this.m.subn(1).iushrn(1),N=this.m.bitLength();for(N=new l(2*N*N).toRed(this);0!==this.pow(N,U).cmp(C);)N.redIAdd(C);for(var Q=this.pow(N,R),Pe=this.pow(h,R.addn(1).iushrn(1)),Le=this.pow(h,R),Ye=v;0!==Le.cmp(a);){for(var $e=Le,Ve=0;0!==$e.cmp(a);Ve++)$e=$e.redSqr();_(Ve<Ye);var be=this.pow(Q,new l(1).iushln(Ye-Ve-1));Pe=Pe.redMul(be),Q=be.redSqr(),Le=Le.redMul(Q),Ye=Ve}return Pe},i.prototype.invm=function(h){var y=h._invmp(this.m);return 0!==y.negative?(y.negative=0,this.imod(y).redNeg()):this.imod(y)},i.prototype.pow=function(h,y){if(y.isZero())return new l(1).toRed(this);if(0===y.cmpn(1))return h.clone();var R=new Array(16);R[0]=new l(1).toRed(this),R[1]=h;for(var v=2;v<R.length;v++)R[v]=this.mul(R[v-1],h);var a=R[0],C=0,U=0,N=y.bitLength()%26;for(0===N&&(N=26),v=y.length-1;v>=0;v--){for(var Q=y.words[v],Pe=N-1;Pe>=0;Pe--){var Le=Q>>Pe&1;(a!==R[0]&&(a=this.sqr(a)),0!==Le||0!==C)?(C<<=1,C|=Le,(4===++U||0===v&&0===Pe)&&(a=this.mul(a,R[C]),U=0,C=0)):U=0}N=26}return a},i.prototype.convertTo=function(h){var y=h.umod(this.m);return y===h?y.clone():y},i.prototype.convertFrom=function(h){var y=h.clone();return y.red=null,y},l.mont=function(h){return new o(h)},S(o,i),o.prototype.convertTo=function(h){return this.imod(h.ushln(this.shift))},o.prototype.convertFrom=function(h){var y=this.imod(h.mul(this.rinv));return y.red=null,y},o.prototype.imul=function(h,y){if(h.isZero()||y.isZero())return h.words[0]=0,h.length=1,h;var A=h.imul(y),R=A.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),v=A.isub(R).iushrn(this.shift),a=v;return v.cmp(this.m)>=0?a=v.isub(this.m):v.cmpn(0)<0&&(a=v.iadd(this.m)),a._forceRed(this)},o.prototype.mul=function(h,y){if(h.isZero()||y.isZero())return new l(0)._forceRed(this);var A=h.mul(y),R=A.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),v=A.isub(R).iushrn(this.shift),a=v;return v.cmp(this.m)>=0?a=v.isub(this.m):v.cmpn(0)<0&&(a=v.iadd(this.m)),a._forceRed(this)},o.prototype.invm=function(h){return this.imod(h._invmp(this.m).mul(this.r2))._forceRed(this)}})(Ge=f.nmd(Ge),this)},340:(Ge,X,f)=>{var e;function t(S){this.rand=S}if(Ge.exports=function(l){return e||(e=new t(null)),e.generate(l)},Ge.exports.Rand=t,t.prototype.generate=function(l){return this._rand(l)},t.prototype._rand=function(l){if(this.rand.getBytes)return this.rand.getBytes(l);for(var D=new Uint8Array(l),d=0;d<D.length;d++)D[d]=this.rand.getByte();return D},"object"==typeof self)self.crypto&&self.crypto.getRandomValues?t.prototype._rand=function(l){var D=new Uint8Array(l);return self.crypto.getRandomValues(D),D}:self.msCrypto&&self.msCrypto.getRandomValues?t.prototype._rand=function(l){var D=new Uint8Array(l);return self.msCrypto.getRandomValues(D),D}:"object"==typeof window&&(t.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var _=f(9501);if("function"!=typeof _.randomBytes)throw new Error("Not supported");t.prototype._rand=function(l){return _.randomBytes(l)}}catch{}},7560:(Ge,X,f)=>{var e=f(9708).Buffer;function t(P){e.isBuffer(P)||(P=e.from(P));for(var p=P.length/4|0,L=new Array(p),M=0;M<p;M++)L[M]=P.readUInt32BE(4*M);return L}function _(P){for(;0<P.length;P++)P[0]=0}function S(P,p,L,M,k){for(var le,re,_e,he,E=L[0],z=L[1],I=L[2],V=L[3],Z=P[0]^p[0],q=P[1]^p[1],te=P[2]^p[2],ne=P[3]^p[3],ae=4,ve=1;ve<k;ve++)le=E[Z>>>24]^z[q>>>16&255]^I[te>>>8&255]^V[255&ne]^p[ae++],re=E[q>>>24]^z[te>>>16&255]^I[ne>>>8&255]^V[255&Z]^p[ae++],_e=E[te>>>24]^z[ne>>>16&255]^I[Z>>>8&255]^V[255&q]^p[ae++],he=E[ne>>>24]^z[Z>>>16&255]^I[q>>>8&255]^V[255&te]^p[ae++],Z=le,q=re,te=_e,ne=he;return le=(M[Z>>>24]<<24|M[q>>>16&255]<<16|M[te>>>8&255]<<8|M[255&ne])^p[ae++],re=(M[q>>>24]<<24|M[te>>>16&255]<<16|M[ne>>>8&255]<<8|M[255&Z])^p[ae++],_e=(M[te>>>24]<<24|M[ne>>>16&255]<<16|M[Z>>>8&255]<<8|M[255&q])^p[ae++],he=(M[ne>>>24]<<24|M[Z>>>16&255]<<16|M[q>>>8&255]<<8|M[255&te])^p[ae++],[le>>>=0,re>>>=0,_e>>>=0,he>>>=0]}var l=[0,1,2,4,8,16,32,64,128,27,54],D=function(){for(var P=new Array(256),p=0;p<256;p++)P[p]=p<128?p<<1:p<<1^283;for(var L=[],M=[],k=[[],[],[],[]],E=[[],[],[],[]],z=0,I=0,V=0;V<256;++V){var Z=I^I<<1^I<<2^I<<3^I<<4;Z=Z>>>8^255&Z^99,L[z]=Z,M[Z]=z;var q=P[z],te=P[q],ne=P[te],le=257*P[Z]^16843008*Z;k[0][z]=le<<24|le>>>8,k[1][z]=le<<16|le>>>16,k[2][z]=le<<8|le>>>24,k[3][z]=le,le=16843009*ne^65537*te^257*q^16843008*z,E[0][Z]=le<<24|le>>>8,E[1][Z]=le<<16|le>>>16,E[2][Z]=le<<8|le>>>24,E[3][Z]=le,0===z?z=I=1:(z=q^P[P[P[ne^q]]],I^=P[P[I]])}return{SBOX:L,INV_SBOX:M,SUB_MIX:k,INV_SUB_MIX:E}}();function d(P){this._key=t(P),this._reset()}d.blockSize=16,d.keySize=32,d.prototype.blockSize=d.blockSize,d.prototype.keySize=d.keySize,d.prototype._reset=function(){for(var P=this._key,p=P.length,L=p+6,M=4*(L+1),k=[],E=0;E<p;E++)k[E]=P[E];for(E=p;E<M;E++){var z=k[E-1];E%p==0?(z=z<<8|z>>>24,z=D.SBOX[z>>>24]<<24|D.SBOX[z>>>16&255]<<16|D.SBOX[z>>>8&255]<<8|D.SBOX[255&z],z^=l[E/p|0]<<24):p>6&&E%p==4&&(z=D.SBOX[z>>>24]<<24|D.SBOX[z>>>16&255]<<16|D.SBOX[z>>>8&255]<<8|D.SBOX[255&z]),k[E]=k[E-p]^z}for(var I=[],V=0;V<M;V++){var Z=M-V,q=k[Z-(V%4?0:4)];I[V]=V<4||Z<=4?q:D.INV_SUB_MIX[0][D.SBOX[q>>>24]]^D.INV_SUB_MIX[1][D.SBOX[q>>>16&255]]^D.INV_SUB_MIX[2][D.SBOX[q>>>8&255]]^D.INV_SUB_MIX[3][D.SBOX[255&q]]}this._nRounds=L,this._keySchedule=k,this._invKeySchedule=I},d.prototype.encryptBlockRaw=function(P){return S(P=t(P),this._keySchedule,D.SUB_MIX,D.SBOX,this._nRounds)},d.prototype.encryptBlock=function(P){var p=this.encryptBlockRaw(P),L=e.allocUnsafe(16);return L.writeUInt32BE(p[0],0),L.writeUInt32BE(p[1],4),L.writeUInt32BE(p[2],8),L.writeUInt32BE(p[3],12),L},d.prototype.decryptBlock=function(P){var p=(P=t(P))[1];P[1]=P[3],P[3]=p;var L=S(P,this._invKeySchedule,D.INV_SUB_MIX,D.INV_SBOX,this._nRounds),M=e.allocUnsafe(16);return M.writeUInt32BE(L[0],0),M.writeUInt32BE(L[3],4),M.writeUInt32BE(L[2],8),M.writeUInt32BE(L[1],12),M},d.prototype.scrub=function(){_(this._keySchedule),_(this._invKeySchedule),_(this._key)},Ge.exports.AES=d},7105:(Ge,X,f)=>{var e=f(7560),t=f(9708).Buffer,_=f(3735),S=f(5035),l=f(5045),D=f(7702),d=f(9305);function L(M,k,E,z){_.call(this);var I=t.alloc(4,0);this._cipher=new e.AES(k);var V=this._cipher.encryptBlock(I);this._ghash=new l(V),E=function p(M,k,E){if(12===k.length)return M._finID=t.concat([k,t.from([0,0,0,1])]),t.concat([k,t.from([0,0,0,2])]);var z=new l(E),I=k.length,V=I%16;z.update(k),V&&(V=16-V,z.update(t.alloc(V,0))),z.update(t.alloc(8,0));var Z=8*I,q=t.alloc(8);q.writeUIntBE(Z,0,8),z.update(q),M._finID=z.state;var te=t.from(M._finID);return d(te),te}(this,E,V),this._prev=t.from(E),this._cache=t.allocUnsafe(0),this._secCache=t.allocUnsafe(0),this._decrypt=z,this._alen=0,this._len=0,this._mode=M,this._authTag=null,this._called=!1}S(L,_),L.prototype._update=function(M){if(!this._called&&this._alen){var k=16-this._alen%16;k<16&&(k=t.alloc(k,0),this._ghash.update(k))}this._called=!0;var E=this._mode.encrypt(this,M);return this._decrypt?this._ghash.update(M):this._ghash.update(E),this._len+=M.length,E},L.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var M=D(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function P(M,k){var E=0;M.length!==k.length&&E++;for(var z=Math.min(M.length,k.length),I=0;I<z;++I)E+=M[I]^k[I];return E}(M,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=M,this._cipher.scrub()},L.prototype.getAuthTag=function(){if(this._decrypt||!t.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},L.prototype.setAuthTag=function(k){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=k},L.prototype.setAAD=function(k){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(k),this._alen+=k.length},Ge.exports=L},3170:(Ge,X,f)=>{var e=f(9185),t=f(8991),_=f(4946);X.createCipher=X.Cipher=e.createCipher,X.createCipheriv=X.Cipheriv=e.createCipheriv,X.createDecipher=X.Decipher=t.createDecipher,X.createDecipheriv=X.Decipheriv=t.createDecipheriv,X.listCiphers=X.getCiphers=function S(){return Object.keys(_)}},8991:(Ge,X,f)=>{var e=f(7105),t=f(9708).Buffer,_=f(7129),S=f(3217),l=f(3735),D=f(7560),d=f(153);function p(z,I,V){l.call(this),this._cache=new L,this._last=void 0,this._cipher=new D.AES(I),this._prev=t.from(V),this._mode=z,this._autopadding=!0}function L(){this.cache=t.allocUnsafe(0)}function k(z,I,V){var Z=_[z.toLowerCase()];if(!Z)throw new TypeError("invalid suite type");if("string"==typeof V&&(V=t.from(V)),"GCM"!==Z.mode&&V.length!==Z.iv)throw new TypeError("invalid iv length "+V.length);if("string"==typeof I&&(I=t.from(I)),I.length!==Z.key/8)throw new TypeError("invalid key length "+I.length);return"stream"===Z.type?new S(Z.module,I,V,!0):"auth"===Z.type?new e(Z.module,I,V,!0):new p(Z.module,I,V)}f(5035)(p,l),p.prototype._update=function(z){this._cache.add(z);for(var I,V,Z=[];I=this._cache.get(this._autopadding);)V=this._mode.decrypt(this,I),Z.push(V);return t.concat(Z)},p.prototype._final=function(){var z=this._cache.flush();if(this._autopadding)return function M(z){var I=z[15];if(I<1||I>16)throw new Error("unable to decrypt data");for(var V=-1;++V<I;)if(z[V+(16-I)]!==I)throw new Error("unable to decrypt data");if(16!==I)return z.slice(0,16-I)}(this._mode.decrypt(this,z));if(z)throw new Error("data not multiple of block length")},p.prototype.setAutoPadding=function(z){return this._autopadding=!!z,this},L.prototype.add=function(z){this.cache=t.concat([this.cache,z])},L.prototype.get=function(z){var I;if(z){if(this.cache.length>16)return I=this.cache.slice(0,16),this.cache=this.cache.slice(16),I}else if(this.cache.length>=16)return I=this.cache.slice(0,16),this.cache=this.cache.slice(16),I;return null},L.prototype.flush=function(){if(this.cache.length)return this.cache},X.createDecipher=function E(z,I){var V=_[z.toLowerCase()];if(!V)throw new TypeError("invalid suite type");var Z=d(I,!1,V.key,V.iv);return k(z,Z.key,Z.iv)},X.createDecipheriv=k},9185:(Ge,X,f)=>{var e=f(7129),t=f(7105),_=f(9708).Buffer,S=f(3217),l=f(3735),D=f(7560),d=f(153);function p(z,I,V){l.call(this),this._cache=new M,this._cipher=new D.AES(I),this._prev=_.from(V),this._mode=z,this._autopadding=!0}f(5035)(p,l),p.prototype._update=function(z){this._cache.add(z);for(var I,V,Z=[];I=this._cache.get();)V=this._mode.encrypt(this,I),Z.push(V);return _.concat(Z)};var L=_.alloc(16,16);function M(){this.cache=_.allocUnsafe(0)}function k(z,I,V){var Z=e[z.toLowerCase()];if(!Z)throw new TypeError("invalid suite type");if("string"==typeof I&&(I=_.from(I)),I.length!==Z.key/8)throw new TypeError("invalid key length "+I.length);if("string"==typeof V&&(V=_.from(V)),"GCM"!==Z.mode&&V.length!==Z.iv)throw new TypeError("invalid iv length "+V.length);return"stream"===Z.type?new S(Z.module,I,V):"auth"===Z.type?new t(Z.module,I,V):new p(Z.module,I,V)}p.prototype._final=function(){var z=this._cache.flush();if(this._autopadding)return z=this._mode.encrypt(this,z),this._cipher.scrub(),z;if(!z.equals(L))throw this._cipher.scrub(),new Error("data not multiple of block length")},p.prototype.setAutoPadding=function(z){return this._autopadding=!!z,this},M.prototype.add=function(z){this.cache=_.concat([this.cache,z])},M.prototype.get=function(){if(this.cache.length>15){var z=this.cache.slice(0,16);return this.cache=this.cache.slice(16),z}return null},M.prototype.flush=function(){for(var z=16-this.cache.length,I=_.allocUnsafe(z),V=-1;++V<z;)I.writeUInt8(z,V);return _.concat([this.cache,I])},X.createCipheriv=k,X.createCipher=function E(z,I){var V=e[z.toLowerCase()];if(!V)throw new TypeError("invalid suite type");var Z=d(I,!1,V.key,V.iv);return k(z,Z.key,Z.iv)}},5045:(Ge,X,f)=>{var e=f(9708).Buffer,t=e.alloc(16,0);function S(D){var d=e.allocUnsafe(16);return d.writeUInt32BE(D[0]>>>0,0),d.writeUInt32BE(D[1]>>>0,4),d.writeUInt32BE(D[2]>>>0,8),d.writeUInt32BE(D[3]>>>0,12),d}function l(D){this.h=D,this.state=e.alloc(16,0),this.cache=e.allocUnsafe(0)}l.prototype.ghash=function(D){for(var d=-1;++d<D.length;)this.state[d]^=D[d];this._multiply()},l.prototype._multiply=function(){for(var P,L,D=function _(D){return[D.readUInt32BE(0),D.readUInt32BE(4),D.readUInt32BE(8),D.readUInt32BE(12)]}(this.h),d=[0,0,0,0],M=-1;++M<128;){for(0!=(this.state[~~(M/8)]&1<<7-M%8)&&(d[0]^=D[0],d[1]^=D[1],d[2]^=D[2],d[3]^=D[3]),L=0!=(1&D[3]),P=3;P>0;P--)D[P]=D[P]>>>1|(1&D[P-1])<<31;D[0]=D[0]>>>1,L&&(D[0]=D[0]^225<<24)}this.state=S(d)},l.prototype.update=function(D){this.cache=e.concat([this.cache,D]);for(var d;this.cache.length>=16;)d=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(d)},l.prototype.final=function(D,d){return this.cache.length&&this.ghash(e.concat([this.cache,t],16)),this.ghash(S([0,D,0,d])),this.state},Ge.exports=l},9305:Ge=>{Ge.exports=function X(f){for(var t,e=f.length;e--;){if(255!==(t=f.readUInt8(e))){t++,f.writeUInt8(t,e);break}f.writeUInt8(0,e)}}},237:(Ge,X,f)=>{var e=f(7702);X.encrypt=function(t,_){var S=e(_,t._prev);return t._prev=t._cipher.encryptBlock(S),t._prev},X.decrypt=function(t,_){var S=t._prev;t._prev=_;var l=t._cipher.decryptBlock(_);return e(l,S)}},9572:(Ge,X,f)=>{var e=f(9708).Buffer,t=f(7702);function _(S,l,D){var d=l.length,P=t(l,S._cache);return S._cache=S._cache.slice(d),S._prev=e.concat([S._prev,D?l:P]),P}X.encrypt=function(S,l,D){for(var P,d=e.allocUnsafe(0);l.length;){if(0===S._cache.length&&(S._cache=S._cipher.encryptBlock(S._prev),S._prev=e.allocUnsafe(0)),!(S._cache.length<=l.length)){d=e.concat([d,_(S,l,D)]);break}P=S._cache.length,d=e.concat([d,_(S,l.slice(0,P),D)]),l=l.slice(P)}return d}},3989:(Ge,X,f)=>{var e=f(9708).Buffer;function t(S,l,D){for(var M,k,P=-1,L=0;++P<8;)M=l&1<<7-P?128:0,L+=(128&(k=S._cipher.encryptBlock(S._prev)[0]^M))>>P%8,S._prev=_(S._prev,D?M:k);return L}function _(S,l){var D=S.length,d=-1,P=e.allocUnsafe(S.length);for(S=e.concat([S,e.from([l])]);++d<D;)P[d]=S[d]<<1|S[d+1]>>7;return P}X.encrypt=function(S,l,D){for(var d=l.length,P=e.allocUnsafe(d),p=-1;++p<d;)P[p]=t(S,l[p],D);return P}},4164:(Ge,X,f)=>{var e=f(9708).Buffer;function t(_,S,l){var d=_._cipher.encryptBlock(_._prev)[0]^S;return _._prev=e.concat([_._prev.slice(1),e.from([l?S:d])]),d}X.encrypt=function(_,S,l){for(var D=S.length,d=e.allocUnsafe(D),P=-1;++P<D;)d[P]=t(_,S[P],l);return d}},5924:(Ge,X,f)=>{var e=f(7702),t=f(9708).Buffer,_=f(9305);function S(D){var d=D._cipher.encryptBlockRaw(D._prev);return _(D._prev),d}X.encrypt=function(D,d){var P=Math.ceil(d.length/16),p=D._cache.length;D._cache=t.concat([D._cache,t.allocUnsafe(16*P)]);for(var L=0;L<P;L++){var M=S(D),k=p+16*L;D._cache.writeUInt32BE(M[0],k+0),D._cache.writeUInt32BE(M[1],k+4),D._cache.writeUInt32BE(M[2],k+8),D._cache.writeUInt32BE(M[3],k+12)}var E=D._cache.slice(0,d.length);return D._cache=D._cache.slice(d.length),e(d,E)}},323:(Ge,X)=>{X.encrypt=function(f,e){return f._cipher.encryptBlock(e)},X.decrypt=function(f,e){return f._cipher.decryptBlock(e)}},7129:(Ge,X,f)=>{var e={ECB:f(323),CBC:f(237),CFB:f(9572),CFB8:f(4164),CFB1:f(3989),OFB:f(6701),CTR:f(5924),GCM:f(5924)},t=f(4946);for(var _ in t)t[_].module=e[t[_].mode];Ge.exports=t},6701:(Ge,X,f)=>{var e=f(7702);function t(_){return _._prev=_._cipher.encryptBlock(_._prev),_._prev}X.encrypt=function(_,S){for(;_._cache.length<S.length;)_._cache=Buffer.concat([_._cache,t(_)]);var l=_._cache.slice(0,S.length);return _._cache=_._cache.slice(S.length),e(S,l)}},3217:(Ge,X,f)=>{var e=f(7560),t=f(9708).Buffer,_=f(3735);function l(D,d,P,p){_.call(this),this._cipher=new e.AES(d),this._prev=t.from(P),this._cache=t.allocUnsafe(0),this._secCache=t.allocUnsafe(0),this._decrypt=p,this._mode=D}f(5035)(l,_),l.prototype._update=function(D){return this._mode.encrypt(this,D,this._decrypt)},l.prototype._final=function(){this._cipher.scrub()},Ge.exports=l},4791:(Ge,X,f)=>{var e=f(7765),t=f(3170),_=f(7129),S=f(2427),l=f(153);function P(M,k,E){if(M=M.toLowerCase(),_[M])return t.createCipheriv(M,k,E);if(S[M])return new e({key:k,iv:E,mode:M});throw new TypeError("invalid suite type")}function p(M,k,E){if(M=M.toLowerCase(),_[M])return t.createDecipheriv(M,k,E);if(S[M])return new e({key:k,iv:E,mode:M,decrypt:!0});throw new TypeError("invalid suite type")}X.createCipher=X.Cipher=function D(M,k){var E,z;if(M=M.toLowerCase(),_[M])E=_[M].key,z=_[M].iv;else{if(!S[M])throw new TypeError("invalid suite type");E=8*S[M].key,z=S[M].iv}var I=l(k,!1,E,z);return P(M,I.key,I.iv)},X.createCipheriv=X.Cipheriv=P,X.createDecipher=X.Decipher=function d(M,k){var E,z;if(M=M.toLowerCase(),_[M])E=_[M].key,z=_[M].iv;else{if(!S[M])throw new TypeError("invalid suite type");E=8*S[M].key,z=S[M].iv}var I=l(k,!1,E,z);return p(M,I.key,I.iv)},X.createDecipheriv=X.Decipheriv=p,X.listCiphers=X.getCiphers=function L(){return Object.keys(S).concat(t.getCiphers())}},7765:(Ge,X,f)=>{var e=f(3735),t=f(6222),_=f(5035),S=f(9708).Buffer,l={"des-ede3-cbc":t.CBC.instantiate(t.EDE),"des-ede3":t.EDE,"des-ede-cbc":t.CBC.instantiate(t.EDE),"des-ede":t.EDE,"des-cbc":t.CBC.instantiate(t.DES),"des-ecb":t.DES};function D(d){e.call(this);var L,P=d.mode.toLowerCase(),p=l[P];L=d.decrypt?"decrypt":"encrypt";var M=d.key;S.isBuffer(M)||(M=S.from(M)),("des-ede"===P||"des-ede-cbc"===P)&&(M=S.concat([M,M.slice(0,8)]));var k=d.iv;S.isBuffer(k)||(k=S.from(k)),this._des=p.create({key:M,iv:k,type:L})}l.des=l["des-cbc"],l.des3=l["des-ede3-cbc"],Ge.exports=D,_(D,e),D.prototype._update=function(d){return S.from(this._des.update(d))},D.prototype._final=function(){return S.from(this._des.final())}},2427:(Ge,X)=>{X["des-ecb"]={key:8,iv:0},X["des-cbc"]=X.des={key:8,iv:8},X["des-ede3-cbc"]=X.des3={key:24,iv:8},X["des-ede3"]={key:24,iv:0},X["des-ede-cbc"]={key:16,iv:8},X["des-ede"]={key:16,iv:0}},6661:(Ge,X,f)=>{var e=f(6585),t=f(1186);function S(D){var P,d=D.modulus.byteLength();do{P=new e(t(d))}while(P.cmp(D.modulus)>=0||!P.umod(D.prime1)||!P.umod(D.prime2));return P}function l(D,d){var P=function _(D){var d=S(D);return{blinder:d.toRed(e.mont(D.modulus)).redPow(new e(D.publicExponent)).fromRed(),unblinder:d.invm(D.modulus)}}(d),p=d.modulus.byteLength(),L=new e(D).mul(P.blinder).umod(d.modulus),M=L.toRed(e.mont(d.prime1)),k=L.toRed(e.mont(d.prime2)),E=d.coefficient,z=d.prime1,I=d.prime2,V=M.redPow(d.exponent1).fromRed(),Z=k.redPow(d.exponent2).fromRed(),q=V.isub(Z).imul(E).umod(z).imul(I);return Z.iadd(q).imul(P.unblinder).umod(d.modulus).toArrayLike(Buffer,"be",p)}l.getr=S,Ge.exports=l},8043:(Ge,X,f)=>{Ge.exports=f(5207)},2124:(Ge,X,f)=>{var e=f(9708).Buffer,t=f(145),_=f(9697),S=f(5035),l=f(5127),D=f(4596),d=f(5207);function P(k){_.Writable.call(this);var E=d[k];if(!E)throw new Error("Unknown message digest");this._hashType=E.hash,this._hash=t(E.hash),this._tag=E.id,this._signType=E.sign}function p(k){_.Writable.call(this);var E=d[k];if(!E)throw new Error("Unknown message digest");this._hash=t(E.hash),this._tag=E.id,this._signType=E.sign}function L(k){return new P(k)}function M(k){return new p(k)}Object.keys(d).forEach(function(k){d[k].id=e.from(d[k].id,"hex"),d[k.toLowerCase()]=d[k]}),S(P,_.Writable),P.prototype._write=function(E,z,I){this._hash.update(E),I()},P.prototype.update=function(E,z){return"string"==typeof E&&(E=e.from(E,z)),this._hash.update(E),this},P.prototype.sign=function(E,z){this.end();var I=this._hash.digest(),V=l(I,E,this._hashType,this._signType,this._tag);return z?V.toString(z):V},S(p,_.Writable),p.prototype._write=function(E,z,I){this._hash.update(E),I()},p.prototype.update=function(E,z){return"string"==typeof E&&(E=e.from(E,z)),this._hash.update(E),this},p.prototype.verify=function(E,z,I){"string"==typeof z&&(z=e.from(z,I)),this.end();var V=this._hash.digest();return D(z,V,E,this._signType,this._tag)},Ge.exports={Sign:L,Verify:M,createSign:L,createVerify:M}},5127:(Ge,X,f)=>{var e=f(9708).Buffer,t=f(3640),_=f(6661),S=f(2142).ec,l=f(6585),D=f(5752),d=f(7036);function k(Z,q,te,ne){if((Z=e.from(Z.toArray())).length<q.byteLength()){var le=e.alloc(q.byteLength()-Z.length);Z=e.concat([le,Z])}var re=te.length,_e=function z(Z,q){Z=(Z=E(Z,q)).mod(q);var te=e.from(Z.toArray());if(te.length<q.byteLength()){var ne=e.alloc(q.byteLength()-te.length);te=e.concat([ne,te])}return te}(te,q),he=e.alloc(re);he.fill(1);var ae=e.alloc(re);return ae=t(ne,ae).update(he).update(e.from([0])).update(Z).update(_e).digest(),he=t(ne,ae).update(he).digest(),{k:ae=t(ne,ae).update(he).update(e.from([1])).update(Z).update(_e).digest(),v:he=t(ne,ae).update(he).digest()}}function E(Z,q){var te=new l(Z),ne=(Z.length<<3)-q.bitLength();return ne>0&&te.ishrn(ne),te}function I(Z,q,te){var ne,le;do{for(ne=e.alloc(0);8*ne.length<Z.bitLength();)q.v=t(te,q.k).update(q.v).digest(),ne=e.concat([ne,q.v]);le=E(ne,Z),q.k=t(te,q.k).update(q.v).update(e.from([0])).digest(),q.v=t(te,q.k).update(q.v).digest()}while(-1!==le.cmp(Z));return le}function V(Z,q,te,ne){return Z.toRed(l.mont(te)).redPow(q).fromRed().mod(ne)}Ge.exports=function P(Z,q,te,ne,le){var re=D(q);if(re.curve){if("ecdsa"!==ne&&"ecdsa/rsa"!==ne)throw new Error("wrong private key type");return function p(Z,q){var te=d[q.curve.join(".")];if(!te)throw new Error("unknown curve "+q.curve.join("."));var re=new S(te).keyFromPrivate(q.privateKey).sign(Z);return e.from(re.toDER())}(Z,re)}if("dsa"===re.type){if("dsa"!==ne)throw new Error("wrong private key type");return function L(Z,q,te){for(var ae,ne=q.params.priv_key,le=q.params.p,re=q.params.q,_e=q.params.g,he=new l(0),ve=E(Z,re).mod(re),T=!1,i=k(ne,re,Z,te);!1===T;)ae=I(re,i,te),he=V(_e,ae,le,re),0===(T=ae.invm(re).imul(ve.add(ne.mul(he))).mod(re)).cmpn(0)&&(T=!1,he=new l(0));return function M(Z,q){Z=Z.toArray(),q=q.toArray(),128&Z[0]&&(Z=[0].concat(Z)),128&q[0]&&(q=[0].concat(q));var ne=[48,Z.length+q.length+4,2,Z.length];return ne=ne.concat(Z,[2,q.length],q),e.from(ne)}(he,T)}(Z,re,te)}if("rsa"!==ne&&"ecdsa/rsa"!==ne)throw new Error("wrong private key type");Z=e.concat([le,Z]);for(var _e=re.modulus.byteLength(),he=[0,1];Z.length+he.length+1<_e;)he.push(255);he.push(0);for(var ae=-1;++ae<Z.length;)he.push(Z[ae]);return _(he,re)},Ge.exports.getKey=k,Ge.exports.makeKey=I},4596:(Ge,X,f)=>{var e=f(9708).Buffer,t=f(6585),_=f(2142).ec,S=f(5752),l=f(7036);function p(L,M){if(L.cmpn(0)<=0)throw new Error("invalid sig");if(L.cmp(M)>=M)throw new Error("invalid sig")}Ge.exports=function D(L,M,k,E,z){var I=S(k);if("ec"===I.type){if("ecdsa"!==E&&"ecdsa/rsa"!==E)throw new Error("wrong public key type");return function d(L,M,k){var E=l[k.data.algorithm.curve.join(".")];if(!E)throw new Error("unknown curve "+k.data.algorithm.curve.join("."));var z=new _(E),I=k.data.subjectPrivateKey.data;return z.verify(M,L,I)}(L,M,I)}if("dsa"===I.type){if("dsa"!==E)throw new Error("wrong public key type");return function P(L,M,k){var E=k.data.p,z=k.data.q,I=k.data.g,V=k.data.pub_key,Z=S.signature.decode(L,"der"),q=Z.s,te=Z.r;p(q,z),p(te,z);var ne=t.mont(E),le=q.invm(z);return 0===I.toRed(ne).redPow(new t(M).mul(le).mod(z)).fromRed().mul(V.toRed(ne).redPow(te.mul(le).mod(z)).fromRed()).mod(E).mod(z).cmp(te)}(L,M,I)}if("rsa"!==E&&"ecdsa/rsa"!==E)throw new Error("wrong public key type");M=e.concat([z,M]);for(var V=I.modulus.byteLength(),Z=[1],q=0;M.length+Z.length+2<V;)Z.push(255),q++;Z.push(0);for(var te=-1;++te<M.length;)Z.push(M[te]);Z=e.from(Z);var ne=t.mont(I.modulus);L=(L=new t(L).toRed(ne)).redPow(new t(I.publicExponent)),L=e.from(L.fromRed().toArray());var le=q<8?1:0;for(V=Math.min(L.length,Z.length),L.length!==Z.length&&(le=1),te=-1;++te<V;)le|=L[te]^Z[te];return 0===le}},7702:Ge=>{Ge.exports=function(f,e){for(var t=Math.min(f.length,e.length),_=new Buffer(t),S=0;S<t;++S)_[S]=f[S]^e[S];return _}},3195:(Ge,X,f)=>{"use strict";var e=f(2173),t=f(4920),_="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;X.Buffer=d,X.SlowBuffer=function q(Ee){return+Ee!=Ee&&(Ee=0),d.alloc(+Ee)},X.INSPECT_MAX_BYTES=50;var S=2147483647;function D(Ee){if(Ee>S)throw new RangeError('The value "'+Ee+'" is invalid for option "size"');var we=new Uint8Array(Ee);return Object.setPrototypeOf(we,d.prototype),we}function d(Ee,we,de){if("number"==typeof Ee){if("string"==typeof we)throw new TypeError('The "string" argument must be of type string. Received type number');return M(Ee)}return P(Ee,we,de)}function P(Ee,we,de){if("string"==typeof Ee)return function k(Ee,we){if(("string"!=typeof we||""===we)&&(we="utf8"),!d.isEncoding(we))throw new TypeError("Unknown encoding: "+we);var de=0|te(Ee,we),Me=D(de),ie=Me.write(Ee,we);return ie!==de&&(Me=Me.slice(0,ie)),Me}(Ee,we);if(ArrayBuffer.isView(Ee))return function z(Ee){if(ye(Ee,Uint8Array)){var we=new Uint8Array(Ee);return I(we.buffer,we.byteOffset,we.byteLength)}return E(Ee)}(Ee);if(null==Ee)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Ee);if(ye(Ee,ArrayBuffer)||Ee&&ye(Ee.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(ye(Ee,SharedArrayBuffer)||Ee&&ye(Ee.buffer,SharedArrayBuffer)))return I(Ee,we,de);if("number"==typeof Ee)throw new TypeError('The "value" argument must not be of type number. Received type number');var Me=Ee.valueOf&&Ee.valueOf();if(null!=Me&&Me!==Ee)return d.from(Me,we,de);var ie=function V(Ee){if(d.isBuffer(Ee)){var we=0|Z(Ee.length),de=D(we);return 0===de.length||Ee.copy(de,0,0,we),de}if(void 0!==Ee.length)return"number"!=typeof Ee.length||Te(Ee.length)?D(0):E(Ee);if("Buffer"===Ee.type&&Array.isArray(Ee.data))return E(Ee.data)}(Ee);if(ie)return ie;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof Ee[Symbol.toPrimitive])return d.from(Ee[Symbol.toPrimitive]("string"),we,de);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Ee)}function p(Ee){if("number"!=typeof Ee)throw new TypeError('"size" argument must be of type number');if(Ee<0)throw new RangeError('The value "'+Ee+'" is invalid for option "size"')}function M(Ee){return p(Ee),D(Ee<0?0:0|Z(Ee))}function E(Ee){for(var we=Ee.length<0?0:0|Z(Ee.length),de=D(we),Me=0;Me<we;Me+=1)de[Me]=255&Ee[Me];return de}function I(Ee,we,de){if(we<0||Ee.byteLength<we)throw new RangeError('"offset" is outside of buffer bounds');if(Ee.byteLength<we+(de||0))throw new RangeError('"length" is outside of buffer bounds');var Me;return Me=void 0===we&&void 0===de?new Uint8Array(Ee):void 0===de?new Uint8Array(Ee,we):new Uint8Array(Ee,we,de),Object.setPrototypeOf(Me,d.prototype),Me}function Z(Ee){if(Ee>=S)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+S.toString(16)+" bytes");return 0|Ee}function te(Ee,we){if(d.isBuffer(Ee))return Ee.length;if(ArrayBuffer.isView(Ee)||ye(Ee,ArrayBuffer))return Ee.byteLength;if("string"!=typeof Ee)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Ee);var de=Ee.length,Me=arguments.length>2&&!0===arguments[2];if(!Me&&0===de)return 0;for(var ie=!1;;)switch(we){case"ascii":case"latin1":case"binary":return de;case"utf8":case"utf-8":return $e(Ee).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*de;case"hex":return de>>>1;case"base64":return et(Ee).length;default:if(ie)return Me?-1:$e(Ee).length;we=(""+we).toLowerCase(),ie=!0}}function ne(Ee,we,de){var Me=!1;if((void 0===we||we<0)&&(we=0),we>this.length||((void 0===de||de>this.length)&&(de=this.length),de<=0)||(de>>>=0)<=(we>>>=0))return"";for(Ee||(Ee="utf8");;)switch(Ee){case"hex":return v(this,we,de);case"utf8":case"utf-8":return m(this,we,de);case"ascii":return A(this,we,de);case"latin1":case"binary":return R(this,we,de);case"base64":return o(this,we,de);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return a(this,we,de);default:if(Me)throw new TypeError("Unknown encoding: "+Ee);Ee=(Ee+"").toLowerCase(),Me=!0}}function le(Ee,we,de){var Me=Ee[we];Ee[we]=Ee[de],Ee[de]=Me}function re(Ee,we,de,Me,ie){if(0===Ee.length)return-1;if("string"==typeof de?(Me=de,de=0):de>2147483647?de=2147483647:de<-2147483648&&(de=-2147483648),Te(de=+de)&&(de=ie?0:Ee.length-1),de<0&&(de=Ee.length+de),de>=Ee.length){if(ie)return-1;de=Ee.length-1}else if(de<0){if(!ie)return-1;de=0}if("string"==typeof we&&(we=d.from(we,Me)),d.isBuffer(we))return 0===we.length?-1:_e(Ee,we,de,Me,ie);if("number"==typeof we)return we&=255,"function"==typeof Uint8Array.prototype.indexOf?ie?Uint8Array.prototype.indexOf.call(Ee,we,de):Uint8Array.prototype.lastIndexOf.call(Ee,we,de):_e(Ee,[we],de,Me,ie);throw new TypeError("val must be string, number or Buffer")}function _e(Ee,we,de,Me,ie){var oe,G=1,$=Ee.length,ze=we.length;if(void 0!==Me&&("ucs2"===(Me=String(Me).toLowerCase())||"ucs-2"===Me||"utf16le"===Me||"utf-16le"===Me)){if(Ee.length<2||we.length<2)return-1;G=2,$/=2,ze/=2,de/=2}function Ue($t,gt){return 1===G?$t[gt]:$t.readUInt16BE(gt*G)}if(ie){var bt=-1;for(oe=de;oe<$;oe++)if(Ue(Ee,oe)===Ue(we,-1===bt?0:oe-bt)){if(-1===bt&&(bt=oe),oe-bt+1===ze)return bt*G}else-1!==bt&&(oe-=oe-bt),bt=-1}else for(de+ze>$&&(de=$-ze),oe=de;oe>=0;oe--){for(var Be=!0,nt=0;nt<ze;nt++)if(Ue(Ee,oe+nt)!==Ue(we,nt)){Be=!1;break}if(Be)return oe}return-1}function he(Ee,we,de,Me){de=Number(de)||0;var ie=Ee.length-de;Me?(Me=Number(Me))>ie&&(Me=ie):Me=ie;var G=we.length;Me>G/2&&(Me=G/2);for(var $=0;$<Me;++$){var ze=parseInt(we.substr(2*$,2),16);if(Te(ze))return $;Ee[de+$]=ze}return $}function ae(Ee,we,de,Me){return je($e(we,Ee.length-de),Ee,de,Me)}function ve(Ee,we,de,Me){return je(function Ve(Ee){for(var we=[],de=0;de<Ee.length;++de)we.push(255&Ee.charCodeAt(de));return we}(we),Ee,de,Me)}function T(Ee,we,de,Me){return je(et(we),Ee,de,Me)}function i(Ee,we,de,Me){return je(function be(Ee,we){for(var de,Me,ie,G=[],$=0;$<Ee.length&&!((we-=2)<0);++$)de=Ee.charCodeAt($),Me=de>>8,ie=de%256,G.push(ie),G.push(Me);return G}(we,Ee.length-de),Ee,de,Me)}function o(Ee,we,de){return 0===we&&de===Ee.length?e.fromByteArray(Ee):e.fromByteArray(Ee.slice(we,de))}function m(Ee,we,de){de=Math.min(Ee.length,de);for(var Me=[],ie=we;ie<de;){var Ue,oe,bt,Be,G=Ee[ie],$=null,ze=G>239?4:G>223?3:G>191?2:1;if(ie+ze<=de)switch(ze){case 1:G<128&&($=G);break;case 2:128==(192&(Ue=Ee[ie+1]))&&((Be=(31&G)<<6|63&Ue)>127&&($=Be));break;case 3:Ue=Ee[ie+1],oe=Ee[ie+2],128==(192&Ue)&&128==(192&oe)&&((Be=(15&G)<<12|(63&Ue)<<6|63&oe)>2047&&(Be<55296||Be>57343)&&($=Be));break;case 4:Ue=Ee[ie+1],oe=Ee[ie+2],bt=Ee[ie+3],128==(192&Ue)&&128==(192&oe)&&128==(192&bt)&&((Be=(15&G)<<18|(63&Ue)<<12|(63&oe)<<6|63&bt)>65535&&Be<1114112&&($=Be))}null===$?($=65533,ze=1):$>65535&&($-=65536,Me.push($>>>10&1023|55296),$=56320|1023&$),Me.push($),ie+=ze}return function y(Ee){var we=Ee.length;if(we<=h)return String.fromCharCode.apply(String,Ee);for(var de="",Me=0;Me<we;)de+=String.fromCharCode.apply(String,Ee.slice(Me,Me+=h));return de}(Me)}X.kMaxLength=S,d.TYPED_ARRAY_SUPPORT=function l(){try{var Ee=new Uint8Array(1),we={foo:function(){return 42}};return Object.setPrototypeOf(we,Uint8Array.prototype),Object.setPrototypeOf(Ee,we),42===Ee.foo()}catch{return!1}}(),!d.TYPED_ARRAY_SUPPORT&&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(d.prototype,"parent",{enumerable:!0,get:function(){if(d.isBuffer(this))return this.buffer}}),Object.defineProperty(d.prototype,"offset",{enumerable:!0,get:function(){if(d.isBuffer(this))return this.byteOffset}}),d.poolSize=8192,d.from=function(Ee,we,de){return P(Ee,we,de)},Object.setPrototypeOf(d.prototype,Uint8Array.prototype),Object.setPrototypeOf(d,Uint8Array),d.alloc=function(Ee,we,de){return function L(Ee,we,de){return p(Ee),Ee<=0?D(Ee):void 0!==we?"string"==typeof de?D(Ee).fill(we,de):D(Ee).fill(we):D(Ee)}(Ee,we,de)},d.allocUnsafe=function(Ee){return M(Ee)},d.allocUnsafeSlow=function(Ee){return M(Ee)},d.isBuffer=function(we){return null!=we&&!0===we._isBuffer&&we!==d.prototype},d.compare=function(we,de){if(ye(we,Uint8Array)&&(we=d.from(we,we.offset,we.byteLength)),ye(de,Uint8Array)&&(de=d.from(de,de.offset,de.byteLength)),!d.isBuffer(we)||!d.isBuffer(de))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(we===de)return 0;for(var Me=we.length,ie=de.length,G=0,$=Math.min(Me,ie);G<$;++G)if(we[G]!==de[G]){Me=we[G],ie=de[G];break}return Me<ie?-1:ie<Me?1:0},d.isEncoding=function(we){switch(String(we).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}},d.concat=function(we,de){if(!Array.isArray(we))throw new TypeError('"list" argument must be an Array of Buffers');if(0===we.length)return d.alloc(0);var Me;if(void 0===de)for(de=0,Me=0;Me<we.length;++Me)de+=we[Me].length;var ie=d.allocUnsafe(de),G=0;for(Me=0;Me<we.length;++Me){var $=we[Me];if(ye($,Uint8Array))G+$.length>ie.length?d.from($).copy(ie,G):Uint8Array.prototype.set.call(ie,$,G);else{if(!d.isBuffer($))throw new TypeError('"list" argument must be an Array of Buffers');$.copy(ie,G)}G+=$.length}return ie},d.byteLength=te,d.prototype._isBuffer=!0,d.prototype.swap16=function(){var we=this.length;if(we%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var de=0;de<we;de+=2)le(this,de,de+1);return this},d.prototype.swap32=function(){var we=this.length;if(we%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var de=0;de<we;de+=4)le(this,de,de+3),le(this,de+1,de+2);return this},d.prototype.swap64=function(){var we=this.length;if(we%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var de=0;de<we;de+=8)le(this,de,de+7),le(this,de+1,de+6),le(this,de+2,de+5),le(this,de+3,de+4);return this},d.prototype.toString=function(){var we=this.length;return 0===we?"":0===arguments.length?m(this,0,we):ne.apply(this,arguments)},d.prototype.toLocaleString=d.prototype.toString,d.prototype.equals=function(we){if(!d.isBuffer(we))throw new TypeError("Argument must be a Buffer");return this===we||0===d.compare(this,we)},d.prototype.inspect=function(){var we="",de=X.INSPECT_MAX_BYTES;return we=this.toString("hex",0,de).replace(/(.{2})/g,"$1 ").trim(),this.length>de&&(we+=" ... "),"<Buffer "+we+">"},_&&(d.prototype[_]=d.prototype.inspect),d.prototype.compare=function(we,de,Me,ie,G){if(ye(we,Uint8Array)&&(we=d.from(we,we.offset,we.byteLength)),!d.isBuffer(we))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof we);if(void 0===de&&(de=0),void 0===Me&&(Me=we?we.length:0),void 0===ie&&(ie=0),void 0===G&&(G=this.length),de<0||Me>we.length||ie<0||G>this.length)throw new RangeError("out of range index");if(ie>=G&&de>=Me)return 0;if(ie>=G)return-1;if(de>=Me)return 1;if(this===we)return 0;for(var $=(G>>>=0)-(ie>>>=0),ze=(Me>>>=0)-(de>>>=0),Ue=Math.min($,ze),oe=this.slice(ie,G),bt=we.slice(de,Me),Be=0;Be<Ue;++Be)if(oe[Be]!==bt[Be]){$=oe[Be],ze=bt[Be];break}return $<ze?-1:ze<$?1:0},d.prototype.includes=function(we,de,Me){return-1!==this.indexOf(we,de,Me)},d.prototype.indexOf=function(we,de,Me){return re(this,we,de,Me,!0)},d.prototype.lastIndexOf=function(we,de,Me){return re(this,we,de,Me,!1)},d.prototype.write=function(we,de,Me,ie){if(void 0===de)ie="utf8",Me=this.length,de=0;else if(void 0===Me&&"string"==typeof de)ie=de,Me=this.length,de=0;else{if(!isFinite(de))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");de>>>=0,isFinite(Me)?(Me>>>=0,void 0===ie&&(ie="utf8")):(ie=Me,Me=void 0)}var G=this.length-de;if((void 0===Me||Me>G)&&(Me=G),we.length>0&&(Me<0||de<0)||de>this.length)throw new RangeError("Attempt to write outside buffer bounds");ie||(ie="utf8");for(var $=!1;;)switch(ie){case"hex":return he(this,we,de,Me);case"utf8":case"utf-8":return ae(this,we,de,Me);case"ascii":case"latin1":case"binary":return ve(this,we,de,Me);case"base64":return T(this,we,de,Me);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return i(this,we,de,Me);default:if($)throw new TypeError("Unknown encoding: "+ie);ie=(""+ie).toLowerCase(),$=!0}},d.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var h=4096;function A(Ee,we,de){var Me="";de=Math.min(Ee.length,de);for(var ie=we;ie<de;++ie)Me+=String.fromCharCode(127&Ee[ie]);return Me}function R(Ee,we,de){var Me="";de=Math.min(Ee.length,de);for(var ie=we;ie<de;++ie)Me+=String.fromCharCode(Ee[ie]);return Me}function v(Ee,we,de){var Me=Ee.length;(!we||we<0)&&(we=0),(!de||de<0||de>Me)&&(de=Me);for(var ie="",G=we;G<de;++G)ie+=He[Ee[G]];return ie}function a(Ee,we,de){for(var Me=Ee.slice(we,de),ie="",G=0;G<Me.length-1;G+=2)ie+=String.fromCharCode(Me[G]+256*Me[G+1]);return ie}function C(Ee,we,de){if(Ee%1!=0||Ee<0)throw new RangeError("offset is not uint");if(Ee+we>de)throw new RangeError("Trying to access beyond buffer length")}function U(Ee,we,de,Me,ie,G){if(!d.isBuffer(Ee))throw new TypeError('"buffer" argument must be a Buffer instance');if(we>ie||we<G)throw new RangeError('"value" argument is out of bounds');if(de+Me>Ee.length)throw new RangeError("Index out of range")}function N(Ee,we,de,Me,ie,G){if(de+Me>Ee.length)throw new RangeError("Index out of range");if(de<0)throw new RangeError("Index out of range")}function Q(Ee,we,de,Me,ie){return we=+we,de>>>=0,ie||N(Ee,0,de,4),t.write(Ee,we,de,Me,23,4),de+4}function Pe(Ee,we,de,Me,ie){return we=+we,de>>>=0,ie||N(Ee,0,de,8),t.write(Ee,we,de,Me,52,8),de+8}d.prototype.slice=function(we,de){var Me=this.length;(we=~~we)<0?(we+=Me)<0&&(we=0):we>Me&&(we=Me),(de=void 0===de?Me:~~de)<0?(de+=Me)<0&&(de=0):de>Me&&(de=Me),de<we&&(de=we);var ie=this.subarray(we,de);return Object.setPrototypeOf(ie,d.prototype),ie},d.prototype.readUintLE=d.prototype.readUIntLE=function(we,de,Me){we>>>=0,de>>>=0,Me||C(we,de,this.length);for(var ie=this[we],G=1,$=0;++$<de&&(G*=256);)ie+=this[we+$]*G;return ie},d.prototype.readUintBE=d.prototype.readUIntBE=function(we,de,Me){we>>>=0,de>>>=0,Me||C(we,de,this.length);for(var ie=this[we+--de],G=1;de>0&&(G*=256);)ie+=this[we+--de]*G;return ie},d.prototype.readUint8=d.prototype.readUInt8=function(we,de){return we>>>=0,de||C(we,1,this.length),this[we]},d.prototype.readUint16LE=d.prototype.readUInt16LE=function(we,de){return we>>>=0,de||C(we,2,this.length),this[we]|this[we+1]<<8},d.prototype.readUint16BE=d.prototype.readUInt16BE=function(we,de){return we>>>=0,de||C(we,2,this.length),this[we]<<8|this[we+1]},d.prototype.readUint32LE=d.prototype.readUInt32LE=function(we,de){return we>>>=0,de||C(we,4,this.length),(this[we]|this[we+1]<<8|this[we+2]<<16)+16777216*this[we+3]},d.prototype.readUint32BE=d.prototype.readUInt32BE=function(we,de){return we>>>=0,de||C(we,4,this.length),16777216*this[we]+(this[we+1]<<16|this[we+2]<<8|this[we+3])},d.prototype.readIntLE=function(we,de,Me){we>>>=0,de>>>=0,Me||C(we,de,this.length);for(var ie=this[we],G=1,$=0;++$<de&&(G*=256);)ie+=this[we+$]*G;return ie>=(G*=128)&&(ie-=Math.pow(2,8*de)),ie},d.prototype.readIntBE=function(we,de,Me){we>>>=0,de>>>=0,Me||C(we,de,this.length);for(var ie=de,G=1,$=this[we+--ie];ie>0&&(G*=256);)$+=this[we+--ie]*G;return $>=(G*=128)&&($-=Math.pow(2,8*de)),$},d.prototype.readInt8=function(we,de){return we>>>=0,de||C(we,1,this.length),128&this[we]?-1*(255-this[we]+1):this[we]},d.prototype.readInt16LE=function(we,de){we>>>=0,de||C(we,2,this.length);var Me=this[we]|this[we+1]<<8;return 32768&Me?4294901760|Me:Me},d.prototype.readInt16BE=function(we,de){we>>>=0,de||C(we,2,this.length);var Me=this[we+1]|this[we]<<8;return 32768&Me?4294901760|Me:Me},d.prototype.readInt32LE=function(we,de){return we>>>=0,de||C(we,4,this.length),this[we]|this[we+1]<<8|this[we+2]<<16|this[we+3]<<24},d.prototype.readInt32BE=function(we,de){return we>>>=0,de||C(we,4,this.length),this[we]<<24|this[we+1]<<16|this[we+2]<<8|this[we+3]},d.prototype.readFloatLE=function(we,de){return we>>>=0,de||C(we,4,this.length),t.read(this,we,!0,23,4)},d.prototype.readFloatBE=function(we,de){return we>>>=0,de||C(we,4,this.length),t.read(this,we,!1,23,4)},d.prototype.readDoubleLE=function(we,de){return we>>>=0,de||C(we,8,this.length),t.read(this,we,!0,52,8)},d.prototype.readDoubleBE=function(we,de){return we>>>=0,de||C(we,8,this.length),t.read(this,we,!1,52,8)},d.prototype.writeUintLE=d.prototype.writeUIntLE=function(we,de,Me,ie){(we=+we,de>>>=0,Me>>>=0,ie)||U(this,we,de,Me,Math.pow(2,8*Me)-1,0);var $=1,ze=0;for(this[de]=255&we;++ze<Me&&($*=256);)this[de+ze]=we/$&255;return de+Me},d.prototype.writeUintBE=d.prototype.writeUIntBE=function(we,de,Me,ie){(we=+we,de>>>=0,Me>>>=0,ie)||U(this,we,de,Me,Math.pow(2,8*Me)-1,0);var $=Me-1,ze=1;for(this[de+$]=255&we;--$>=0&&(ze*=256);)this[de+$]=we/ze&255;return de+Me},d.prototype.writeUint8=d.prototype.writeUInt8=function(we,de,Me){return we=+we,de>>>=0,Me||U(this,we,de,1,255,0),this[de]=255&we,de+1},d.prototype.writeUint16LE=d.prototype.writeUInt16LE=function(we,de,Me){return we=+we,de>>>=0,Me||U(this,we,de,2,65535,0),this[de]=255&we,this[de+1]=we>>>8,de+2},d.prototype.writeUint16BE=d.prototype.writeUInt16BE=function(we,de,Me){return we=+we,de>>>=0,Me||U(this,we,de,2,65535,0),this[de]=we>>>8,this[de+1]=255&we,de+2},d.prototype.writeUint32LE=d.prototype.writeUInt32LE=function(we,de,Me){return we=+we,de>>>=0,Me||U(this,we,de,4,4294967295,0),this[de+3]=we>>>24,this[de+2]=we>>>16,this[de+1]=we>>>8,this[de]=255&we,de+4},d.prototype.writeUint32BE=d.prototype.writeUInt32BE=function(we,de,Me){return we=+we,de>>>=0,Me||U(this,we,de,4,4294967295,0),this[de]=we>>>24,this[de+1]=we>>>16,this[de+2]=we>>>8,this[de+3]=255&we,de+4},d.prototype.writeIntLE=function(we,de,Me,ie){if(we=+we,de>>>=0,!ie){var G=Math.pow(2,8*Me-1);U(this,we,de,Me,G-1,-G)}var $=0,ze=1,Ue=0;for(this[de]=255&we;++$<Me&&(ze*=256);)we<0&&0===Ue&&0!==this[de+$-1]&&(Ue=1),this[de+$]=(we/ze>>0)-Ue&255;return de+Me},d.prototype.writeIntBE=function(we,de,Me,ie){if(we=+we,de>>>=0,!ie){var G=Math.pow(2,8*Me-1);U(this,we,de,Me,G-1,-G)}var $=Me-1,ze=1,Ue=0;for(this[de+$]=255&we;--$>=0&&(ze*=256);)we<0&&0===Ue&&0!==this[de+$+1]&&(Ue=1),this[de+$]=(we/ze>>0)-Ue&255;return de+Me},d.prototype.writeInt8=function(we,de,Me){return we=+we,de>>>=0,Me||U(this,we,de,1,127,-128),we<0&&(we=255+we+1),this[de]=255&we,de+1},d.prototype.writeInt16LE=function(we,de,Me){return we=+we,de>>>=0,Me||U(this,we,de,2,32767,-32768),this[de]=255&we,this[de+1]=we>>>8,de+2},d.prototype.writeInt16BE=function(we,de,Me){return we=+we,de>>>=0,Me||U(this,we,de,2,32767,-32768),this[de]=we>>>8,this[de+1]=255&we,de+2},d.prototype.writeInt32LE=function(we,de,Me){return we=+we,de>>>=0,Me||U(this,we,de,4,2147483647,-2147483648),this[de]=255&we,this[de+1]=we>>>8,this[de+2]=we>>>16,this[de+3]=we>>>24,de+4},d.prototype.writeInt32BE=function(we,de,Me){return we=+we,de>>>=0,Me||U(this,we,de,4,2147483647,-2147483648),we<0&&(we=4294967295+we+1),this[de]=we>>>24,this[de+1]=we>>>16,this[de+2]=we>>>8,this[de+3]=255&we,de+4},d.prototype.writeFloatLE=function(we,de,Me){return Q(this,we,de,!0,Me)},d.prototype.writeFloatBE=function(we,de,Me){return Q(this,we,de,!1,Me)},d.prototype.writeDoubleLE=function(we,de,Me){return Pe(this,we,de,!0,Me)},d.prototype.writeDoubleBE=function(we,de,Me){return Pe(this,we,de,!1,Me)},d.prototype.copy=function(we,de,Me,ie){if(!d.isBuffer(we))throw new TypeError("argument should be a Buffer");if(Me||(Me=0),!ie&&0!==ie&&(ie=this.length),de>=we.length&&(de=we.length),de||(de=0),ie>0&&ie<Me&&(ie=Me),ie===Me||0===we.length||0===this.length)return 0;if(de<0)throw new RangeError("targetStart out of bounds");if(Me<0||Me>=this.length)throw new RangeError("Index out of range");if(ie<0)throw new RangeError("sourceEnd out of bounds");ie>this.length&&(ie=this.length),we.length-de<ie-Me&&(ie=we.length-de+Me);var G=ie-Me;return this===we&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(de,Me,ie):Uint8Array.prototype.set.call(we,this.subarray(Me,ie),de),G},d.prototype.fill=function(we,de,Me,ie){if("string"==typeof we){if("string"==typeof de?(ie=de,de=0,Me=this.length):"string"==typeof Me&&(ie=Me,Me=this.length),void 0!==ie&&"string"!=typeof ie)throw new TypeError("encoding must be a string");if("string"==typeof ie&&!d.isEncoding(ie))throw new TypeError("Unknown encoding: "+ie);if(1===we.length){var G=we.charCodeAt(0);("utf8"===ie&&G<128||"latin1"===ie)&&(we=G)}}else"number"==typeof we?we&=255:"boolean"==typeof we&&(we=Number(we));if(de<0||this.length<de||this.length<Me)throw new RangeError("Out of range index");if(Me<=de)return this;var $;if(de>>>=0,Me=void 0===Me?this.length:Me>>>0,we||(we=0),"number"==typeof we)for($=de;$<Me;++$)this[$]=we;else{var ze=d.isBuffer(we)?we:d.from(we,ie),Ue=ze.length;if(0===Ue)throw new TypeError('The value "'+we+'" is invalid for argument "value"');for($=0;$<Me-de;++$)this[$+de]=ze[$%Ue]}return this};var Le=/[^+/0-9A-Za-z-_]/g;function $e(Ee,we){we=we||1/0;for(var de,Me=Ee.length,ie=null,G=[],$=0;$<Me;++$){if((de=Ee.charCodeAt($))>55295&&de<57344){if(!ie){if(de>56319){(we-=3)>-1&&G.push(239,191,189);continue}if($+1===Me){(we-=3)>-1&&G.push(239,191,189);continue}ie=de;continue}if(de<56320){(we-=3)>-1&&G.push(239,191,189),ie=de;continue}de=65536+(ie-55296<<10|de-56320)}else ie&&(we-=3)>-1&&G.push(239,191,189);if(ie=null,de<128){if((we-=1)<0)break;G.push(de)}else if(de<2048){if((we-=2)<0)break;G.push(de>>6|192,63&de|128)}else if(de<65536){if((we-=3)<0)break;G.push(de>>12|224,de>>6&63|128,63&de|128)}else{if(!(de<1114112))throw new Error("Invalid code point");if((we-=4)<0)break;G.push(de>>18|240,de>>12&63|128,de>>6&63|128,63&de|128)}}return G}function et(Ee){return e.toByteArray(function Ye(Ee){if((Ee=(Ee=Ee.split("=")[0]).trim().replace(Le,"")).length<2)return"";for(;Ee.length%4!=0;)Ee+="=";return Ee}(Ee))}function je(Ee,we,de,Me){for(var ie=0;ie<Me&&!(ie+de>=we.length||ie>=Ee.length);++ie)we[ie+de]=Ee[ie];return ie}function ye(Ee,we){return Ee instanceof we||null!=Ee&&null!=Ee.constructor&&null!=Ee.constructor.name&&Ee.constructor.name===we.name}function Te(Ee){return Ee!=Ee}var He=function(){for(var Ee="0123456789abcdef",we=new Array(256),de=0;de<16;++de)for(var Me=16*de,ie=0;ie<16;++ie)we[Me+ie]=Ee[de]+Ee[ie];return we}()},3735:(Ge,X,f)=>{var e=f(9708).Buffer,t=f(574).Transform,_=f(4547).s;function l(D){t.call(this),this.hashMode="string"==typeof D,this.hashMode?this[D]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}f(5035)(l,t),l.prototype.update=function(D,d,P){"string"==typeof D&&(D=e.from(D,d));var p=this._update(D);return this.hashMode?this:(P&&(p=this._toString(p,P)),p)},l.prototype.setAutoPadding=function(){},l.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},l.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},l.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},l.prototype._transform=function(D,d,P){var p;try{this.hashMode?this._update(D):this.push(this._update(D))}catch(L){p=L}finally{P(p)}},l.prototype._flush=function(D){var d;try{this.push(this.__final())}catch(P){d=P}D(d)},l.prototype._finalOrDigest=function(D){var d=this.__final()||e.alloc(0);return D&&(d=this._toString(d,D,!0)),d},l.prototype._toString=function(D,d,P){if(this._decoder||(this._decoder=new _(d),this._encoding=d),this._encoding!==d)throw new Error("can't switch encodings");var p=this._decoder.write(D);return P&&(p+=this._decoder.end()),p},Ge.exports=l},1381:(Ge,X,f)=>{"use strict";const e=f(9046),t=f(8220),_=f(3858);function S(d,P){switch(t(d)){case"object":return function l(d,P){if("function"==typeof P)return P(d);if(P||_(d)){const p=new d.constructor;for(let L in d)p[L]=S(d[L],P);return p}return d}(d,P);case"array":return function D(d,P){const p=new d.constructor(d.length);for(let L=0;L<d.length;L++)p[L]=S(d[L],P);return p}(d,P);default:return e(d)}}Ge.exports=S},4123:function(Ge){!function(X){"use strict";var f={bytesToHex:function(_){return function e(_){return _.map(function(S){return function t(_,S){return _.length>S?_:Array(S-_.length+1).join("0")+_}(S.toString(16),2)}).join("")}(_)},hexToBytes:function(_){if(_.length%2==1)throw new Error("hexToBytes can't have a string with an odd number of characters.");return 0===_.indexOf("0x")&&(_=_.slice(2)),_.match(/../g).map(function(S){return parseInt(S,16)})}};Ge.exports?Ge.exports=f:X.convertHex=f}(this)},4056:function(Ge){!function(X){"use strict";var f={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)})}};f.UTF8={bytesToString:function(e){return decodeURIComponent(escape(f.bytesToString(e)))},stringToBytes:function(e){return f.stringToBytes(unescape(encodeURIComponent(e)))}},Ge.exports?Ge.exports=f:X.convertString=f}(this)},9821:(Ge,X,f)=>{var e=f(2142),t=f(854);Ge.exports=function(d){return new S(d)};var _={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 S(D){this.curveType=_[D],this.curveType||(this.curveType={name:D}),this.curve=new e.ec(this.curveType.name),this.keys=void 0}function l(D,d,P){Array.isArray(D)||(D=D.toArray());var p=new Buffer(D);if(P&&p.length<P){var L=new Buffer(P-p.length);L.fill(0),p=Buffer.concat([L,p])}return d?p.toString(d):p}_.p224=_.secp224r1,_.p256=_.secp256r1=_.prime256v1,_.p192=_.secp192r1=_.prime192v1,_.p384=_.secp384r1,_.p521=_.secp521r1,S.prototype.generateKeys=function(D,d){return this.keys=this.curve.genKeyPair(),this.getPublicKey(D,d)},S.prototype.computeSecret=function(D,d,P){return d=d||"utf8",Buffer.isBuffer(D)||(D=new Buffer(D,d)),l(this.curve.keyFromPublic(D).getPublic().mul(this.keys.getPrivate()).getX(),P,this.curveType.byteLength)},S.prototype.getPublicKey=function(D,d){var P=this.keys.getPublic("compressed"===d,!0);return"hybrid"===d&&(P[P.length-1]%2?P[0]=7:P[0]=6),l(P,D)},S.prototype.getPrivateKey=function(D){return l(this.keys.getPrivate(),D)},S.prototype.setPublicKey=function(D,d){return d=d||"utf8",Buffer.isBuffer(D)||(D=new Buffer(D,d)),this.keys._importPublic(D),this},S.prototype.setPrivateKey=function(D,d){d=d||"utf8",Buffer.isBuffer(D)||(D=new Buffer(D,d));var P=new t(D);return P=P.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(P),this}},854:function(Ge,X,f){(function(e,t){"use strict";function _(T,i){if(!T)throw new Error(i||"Assertion failed")}function S(T,i){T.super_=i;var o=function(){};o.prototype=i.prototype,T.prototype=new o,T.prototype.constructor=T}function l(T,i,o){if(l.isBN(T))return T;this.negative=0,this.words=null,this.length=0,this.red=null,null!==T&&(("le"===i||"be"===i)&&(o=i,i=10),this._init(T||0,i||10,o||"be"))}var D;"object"==typeof e?e.exports=l:t.BN=l,l.BN=l,l.wordSize=26;try{D=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:f(8623).Buffer}catch{}function d(T,i){var o=T.charCodeAt(i);return o>=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function P(T,i,o){var m=d(T,o);return o-1>=i&&(m|=d(T,o-1)<<4),m}function p(T,i,o,m){for(var h=0,y=Math.min(T.length,o),A=i;A<y;A++){var R=T.charCodeAt(A)-48;h*=m,h+=R>=49?R-49+10:R>=17?R-17+10:R}return h}l.isBN=function(i){return i instanceof l||null!==i&&"object"==typeof i&&i.constructor.wordSize===l.wordSize&&Array.isArray(i.words)},l.max=function(i,o){return i.cmp(o)>0?i:o},l.min=function(i,o){return i.cmp(o)<0?i:o},l.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),_(o===(0|o)&&o>=2&&o<=36);var h=0;"-"===(i=i.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h<i.length&&(16===o?this._parseHex(i,h,m):(this._parseBase(i,o,h),"le"===m&&this._initArray(this.toArray(),o,m)))},l.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):(_(i<9007199254740992),this.words=[67108863&i,i/67108864&67108863,1],this.length=3),"le"===m&&this._initArray(this.toArray(),o,m)},l.prototype._initArray=function(i,o,m){if(_("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 h=0;h<this.length;h++)this.words[h]=0;var y,A,R=0;if("be"===m)for(h=i.length-1,y=0;h>=0;h-=3)A=i[h]|i[h-1]<<8|i[h-2]<<16,this.words[y]|=A<<R&67108863,this.words[y+1]=A>>>26-R&67108863,(R+=24)>=26&&(R-=26,y++);else if("le"===m)for(h=0,y=0;h<i.length;h+=3)A=i[h]|i[h+1]<<8|i[h+2]<<16,this.words[y]|=A<<R&67108863,this.words[y+1]=A>>>26-R&67108863,(R+=24)>=26&&(R-=26,y++);return this.strip()},l.prototype._parseHex=function(i,o,m){this.length=Math.ceil((i.length-o)/6),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var R,y=0,A=0;if("be"===m)for(h=i.length-1;h>=o;h-=2)R=P(i,o,h)<<y,this.words[A]|=67108863&R,y>=18?(y-=18,A+=1,this.words[A]|=R>>>26):y+=8;else for(h=(i.length-o)%2==0?o+1:o;h<i.length;h+=2)R=P(i,o,h)<<y,this.words[A]|=67108863&R,y>=18?(y-=18,A+=1,this.words[A]|=R>>>26):y+=8;this.strip()},l.prototype._parseBase=function(i,o,m){this.words=[0],this.length=1;for(var h=0,y=1;y<=67108863;y*=o)h++;h--,y=y/o|0;for(var A=i.length-m,R=A%h,v=Math.min(A,A-R)+m,a=0,C=m;C<v;C+=h)a=p(i,C,C+h,o),this.imuln(y),this.words[0]+a<67108864?this.words[0]+=a:this._iaddn(a);if(0!==R){var U=1;for(a=p(i,C,i.length,o),C=0;C<R;C++)U*=o;this.imuln(U),this.words[0]+a<67108864?this.words[0]+=a:this._iaddn(a)}this.strip()},l.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},l.prototype.clone=function(){var i=new l(null);return this.copy(i),i},l.prototype._expand=function(i){for(;this.length<i;)this.words[this.length++]=0;return this},l.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},l.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},l.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var L=["","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],k=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function z(T,i,o){o.negative=i.negative^T.negative;var m=T.length+i.length|0;o.length=m,m=m-1|0;var h=0|T.words[0],y=0|i.words[0],A=h*y,R=67108863&A,v=A/67108864|0;o.words[0]=R;for(var a=1;a<m;a++){for(var C=v>>>26,U=67108863&v,N=Math.min(a,i.length-1),Q=Math.max(0,a-T.length+1);Q<=N;Q++){var Pe=a-Q|0;C+=(A=(h=0|T.words[Pe])*(y=0|i.words[Q])+U)/67108864|0,U=67108863&A}o.words[a]=0|U,v=0|C}return 0!==v?o.words[a]=0|v:o.length--,o.strip()}l.prototype.toString=function(i,o){var m;if(o=0|o||1,16===(i=i||10)||"hex"===i){m="";for(var h=0,y=0,A=0;A<this.length;A++){var R=this.words[A],v=(16777215&(R<<h|y)).toString(16);m=0!==(y=R>>>24-h&16777215)||A!==this.length-1?L[6-v.length]+v+m:v+m,(h+=2)>=26&&(h-=26,A--)}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 a=M[i],C=k[i];m="";var U=this.clone();for(U.negative=0;!U.isZero();){var N=U.modn(C).toString(i);m=(U=U.idivn(C)).isZero()?N+m:L[a-N.length]+N+m}for(this.isZero()&&(m="0"+m);m.length%o!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}_(!1,"Base should be between 2 and 36")},l.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&&_(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-i:i},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(i,o){return _(typeof D<"u"),this.toArrayLike(D,i,o)},l.prototype.toArray=function(i,o){return this.toArrayLike(Array,i,o)},l.prototype.toArrayLike=function(i,o,m){var h=this.byteLength(),y=m||Math.max(1,h);_(h<=y,"byte array longer than desired length"),_(y>0,"Requested array length <= 0"),this.strip();var v,a,A="le"===o,R=new i(y),C=this.clone();if(A){for(a=0;!C.isZero();a++)v=C.andln(255),C.iushrn(8),R[a]=v;for(;a<y;a++)R[a]=0}else{for(a=0;a<y-h;a++)R[a]=0;for(a=0;!C.isZero();a++)v=C.andln(255),C.iushrn(8),R[y-a-1]=v}return R},Math.clz32?l.prototype._countBits=function(i){return 32-Math.clz32(i)}:l.prototype._countBits=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},l.prototype._zeroBits=function(i){if(0===i)return 26;var o=i,m=0;return 0==(8191&o)&&(m+=13,o>>>=13),0==(127&o)&&(m+=7,o>>>=7),0==(15&o)&&(m+=4,o>>>=4),0==(3&o)&&(m+=2,o>>>=2),0==(1&o)&&m++,m},l.prototype.bitLength=function(){var i=this.words[this.length-1],o=this._countBits(i);return 26*(this.length-1)+o},l.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},l.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},l.prototype.toTwos=function(i){return 0!==this.negative?this.abs().inotn(i).iaddn(1):this.clone()},l.prototype.fromTwos=function(i){return this.testn(i-1)?this.notn(i).iaddn(1).ineg():this.clone()},l.prototype.isNeg=function(){return 0!==this.negative},l.prototype.neg=function(){return this.clone().ineg()},l.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},l.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()},l.prototype.ior=function(i){return _(0==(this.negative|i.negative)),this.iuor(i)},l.prototype.or=function(i){return this.length>i.length?this.clone().ior(i):i.clone().ior(this)},l.prototype.uor=function(i){return this.length>i.length?this.clone().iuor(i):i.clone().iuor(this)},l.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()},l.prototype.iand=function(i){return _(0==(this.negative|i.negative)),this.iuand(i)},l.prototype.and=function(i){return this.length>i.length?this.clone().iand(i):i.clone().iand(this)},l.prototype.uand=function(i){return this.length>i.length?this.clone().iuand(i):i.clone().iuand(this)},l.prototype.iuxor=function(i){var o,m;this.length>i.length?(o=this,m=i):(o=i,m=this);for(var h=0;h<m.length;h++)this.words[h]=o.words[h]^m.words[h];if(this!==o)for(;h<o.length;h++)this.words[h]=o.words[h];return this.length=o.length,this.strip()},l.prototype.ixor=function(i){return _(0==(this.negative|i.negative)),this.iuxor(i)},l.prototype.xor=function(i){return this.length>i.length?this.clone().ixor(i):i.clone().ixor(this)},l.prototype.uxor=function(i){return this.length>i.length?this.clone().iuxor(i):i.clone().iuxor(this)},l.prototype.inotn=function(i){_("number"==typeof i&&i>=0);var o=0|Math.ceil(i/26),m=i%26;this._expand(o),m>0&&o--;for(var h=0;h<o;h++)this.words[h]=67108863&~this.words[h];return m>0&&(this.words[h]=~this.words[h]&67108863>>26-m),this.strip()},l.prototype.notn=function(i){return this.clone().inotn(i)},l.prototype.setn=function(i,o){_("number"==typeof i&&i>=0);var m=i/26|0,h=i%26;return this._expand(m+1),this.words[m]=o?this.words[m]|1<<h:this.words[m]&~(1<<h),this.strip()},l.prototype.iadd=function(i){var o,m,h;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,h=i):(m=i,h=this);for(var y=0,A=0;A<h.length;A++)o=(0|m.words[A])+(0|h.words[A])+y,this.words[A]=67108863&o,y=o>>>26;for(;0!==y&&A<m.length;A++)o=(0|m.words[A])+y,this.words[A]=67108863&o,y=o>>>26;if(this.length=m.length,0!==y)this.words[this.length]=y,this.length++;else if(m!==this)for(;A<m.length;A++)this.words[A]=m.words[A];return this},l.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)},l.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 h,y,m=this.cmp(i);if(0===m)return this.negative=0,this.length=1,this.words[0]=0,this;m>0?(h=this,y=i):(h=i,y=this);for(var A=0,R=0;R<y.length;R++)A=(o=(0|h.words[R])-(0|y.words[R])+A)>>26,this.words[R]=67108863&o;for(;0!==A&&R<h.length;R++)A=(o=(0|h.words[R])+A)>>26,this.words[R]=67108863&o;if(0===A&&R<h.length&&h!==this)for(;R<h.length;R++)this.words[R]=h.words[R];return this.length=Math.max(this.length,R),h!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(i){return this.clone().isub(i)};var I=function(i,o,m){var v,a,C,h=i.words,y=o.words,A=m.words,R=0,U=0|h[0],N=8191&U,Q=U>>>13,Pe=0|h[1],Le=8191&Pe,Ye=Pe>>>13,$e=0|h[2],Ve=8191&$e,be=$e>>>13,et=0|h[3],je=8191&et,ye=et>>>13,Te=0|h[4],He=8191&Te,Ee=Te>>>13,we=0|h[5],de=8191&we,Me=we>>>13,ie=0|h[6],G=8191&ie,$=ie>>>13,ze=0|h[7],Ue=8191&ze,oe=ze>>>13,bt=0|h[8],Be=8191&bt,nt=bt>>>13,$t=0|h[9],gt=8191&$t,rt=$t>>>13,Re=0|y[0],ot=8191&Re,St=Re>>>13,gi=0|y[1],oi=8191&gi,ei=gi>>>13,Zi=0|y[2],si=8191&Zi,Bt=Zi>>>13,Je=0|y[3],me=8191&Je,K=Je>>>13,J=0|y[4],Ce=8191&J,We=J>>>13,Mt=0|y[5],Tt=8191&Mt,Nt=Mt>>>13,at=0|y[6],Ke=8191&at,vt=at>>>13,ri=0|y[7],Pt=8191&ri,Lt=ri>>>13,Kt=0|y[8],Ae=8191&Kt,fe=Kt>>>13,st=0|y[9],_t=8191&st,kt=st>>>13;m.negative=i.negative^o.negative,m.length=19;var Oi=(R+(v=Math.imul(N,ot))|0)+((8191&(a=(a=Math.imul(N,St))+Math.imul(Q,ot)|0))<<13)|0;R=((C=Math.imul(Q,St))+(a>>>13)|0)+(Oi>>>26)|0,Oi&=67108863,v=Math.imul(Le,ot),a=(a=Math.imul(Le,St))+Math.imul(Ye,ot)|0,C=Math.imul(Ye,St);var Li=(R+(v=v+Math.imul(N,oi)|0)|0)+((8191&(a=(a=a+Math.imul(N,ei)|0)+Math.imul(Q,oi)|0))<<13)|0;R=((C=C+Math.imul(Q,ei)|0)+(a>>>13)|0)+(Li>>>26)|0,Li&=67108863,v=Math.imul(Ve,ot),a=(a=Math.imul(Ve,St))+Math.imul(be,ot)|0,C=Math.imul(be,St),v=v+Math.imul(Le,oi)|0,a=(a=a+Math.imul(Le,ei)|0)+Math.imul(Ye,oi)|0,C=C+Math.imul(Ye,ei)|0;var Ei=(R+(v=v+Math.imul(N,si)|0)|0)+((8191&(a=(a=a+Math.imul(N,Bt)|0)+Math.imul(Q,si)|0))<<13)|0;R=((C=C+Math.imul(Q,Bt)|0)+(a>>>13)|0)+(Ei>>>26)|0,Ei&=67108863,v=Math.imul(je,ot),a=(a=Math.imul(je,St))+Math.imul(ye,ot)|0,C=Math.imul(ye,St),v=v+Math.imul(Ve,oi)|0,a=(a=a+Math.imul(Ve,ei)|0)+Math.imul(be,oi)|0,C=C+Math.imul(be,ei)|0,v=v+Math.imul(Le,si)|0,a=(a=a+Math.imul(Le,Bt)|0)+Math.imul(Ye,si)|0,C=C+Math.imul(Ye,Bt)|0;var Wi=(R+(v=v+Math.imul(N,me)|0)|0)+((8191&(a=(a=a+Math.imul(N,K)|0)+Math.imul(Q,me)|0))<<13)|0;R=((C=C+Math.imul(Q,K)|0)+(a>>>13)|0)+(Wi>>>26)|0,Wi&=67108863,v=Math.imul(He,ot),a=(a=Math.imul(He,St))+Math.imul(Ee,ot)|0,C=Math.imul(Ee,St),v=v+Math.imul(je,oi)|0,a=(a=a+Math.imul(je,ei)|0)+Math.imul(ye,oi)|0,C=C+Math.imul(ye,ei)|0,v=v+Math.imul(Ve,si)|0,a=(a=a+Math.imul(Ve,Bt)|0)+Math.imul(be,si)|0,C=C+Math.imul(be,Bt)|0,v=v+Math.imul(Le,me)|0,a=(a=a+Math.imul(Le,K)|0)+Math.imul(Ye,me)|0,C=C+Math.imul(Ye,K)|0;var wt=(R+(v=v+Math.imul(N,Ce)|0)|0)+((8191&(a=(a=a+Math.imul(N,We)|0)+Math.imul(Q,Ce)|0))<<13)|0;R=((C=C+Math.imul(Q,We)|0)+(a>>>13)|0)+(wt>>>26)|0,wt&=67108863,v=Math.imul(de,ot),a=(a=Math.imul(de,St))+Math.imul(Me,ot)|0,C=Math.imul(Me,St),v=v+Math.imul(He,oi)|0,a=(a=a+Math.imul(He,ei)|0)+Math.imul(Ee,oi)|0,C=C+Math.imul(Ee,ei)|0,v=v+Math.imul(je,si)|0,a=(a=a+Math.imul(je,Bt)|0)+Math.imul(ye,si)|0,C=C+Math.imul(ye,Bt)|0,v=v+Math.imul(Ve,me)|0,a=(a=a+Math.imul(Ve,K)|0)+Math.imul(be,me)|0,C=C+Math.imul(be,K)|0,v=v+Math.imul(Le,Ce)|0,a=(a=a+Math.imul(Le,We)|0)+Math.imul(Ye,Ce)|0,C=C+Math.imul(Ye,We)|0;var qe=(R+(v=v+Math.imul(N,Tt)|0)|0)+((8191&(a=(a=a+Math.imul(N,Nt)|0)+Math.imul(Q,Tt)|0))<<13)|0;R=((C=C+Math.imul(Q,Nt)|0)+(a>>>13)|0)+(qe>>>26)|0,qe&=67108863,v=Math.imul(G,ot),a=(a=Math.imul(G,St))+Math.imul($,ot)|0,C=Math.imul($,St),v=v+Math.imul(de,oi)|0,a=(a=a+Math.imul(de,ei)|0)+Math.imul(Me,oi)|0,C=C+Math.imul(Me,ei)|0,v=v+Math.imul(He,si)|0,a=(a=a+Math.imul(He,Bt)|0)+Math.imul(Ee,si)|0,C=C+Math.imul(Ee,Bt)|0,v=v+Math.imul(je,me)|0,a=(a=a+Math.imul(je,K)|0)+Math.imul(ye,me)|0,C=C+Math.imul(ye,K)|0,v=v+Math.imul(Ve,Ce)|0,a=(a=a+Math.imul(Ve,We)|0)+Math.imul(be,Ce)|0,C=C+Math.imul(be,We)|0,v=v+Math.imul(Le,Tt)|0,a=(a=a+Math.imul(Le,Nt)|0)+Math.imul(Ye,Tt)|0,C=C+Math.imul(Ye,Nt)|0;var Ne=(R+(v=v+Math.imul(N,Ke)|0)|0)+((8191&(a=(a=a+Math.imul(N,vt)|0)+Math.imul(Q,Ke)|0))<<13)|0;R=((C=C+Math.imul(Q,vt)|0)+(a>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,v=Math.imul(Ue,ot),a=(a=Math.imul(Ue,St))+Math.imul(oe,ot)|0,C=Math.imul(oe,St),v=v+Math.imul(G,oi)|0,a=(a=a+Math.imul(G,ei)|0)+Math.imul($,oi)|0,C=C+Math.imul($,ei)|0,v=v+Math.imul(de,si)|0,a=(a=a+Math.imul(de,Bt)|0)+Math.imul(Me,si)|0,C=C+Math.imul(Me,Bt)|0,v=v+Math.imul(He,me)|0,a=(a=a+Math.imul(He,K)|0)+Math.imul(Ee,me)|0,C=C+Math.imul(Ee,K)|0,v=v+Math.imul(je,Ce)|0,a=(a=a+Math.imul(je,We)|0)+Math.imul(ye,Ce)|0,C=C+Math.imul(ye,We)|0,v=v+Math.imul(Ve,Tt)|0,a=(a=a+Math.imul(Ve,Nt)|0)+Math.imul(be,Tt)|0,C=C+Math.imul(be,Nt)|0,v=v+Math.imul(Le,Ke)|0,a=(a=a+Math.imul(Le,vt)|0)+Math.imul(Ye,Ke)|0,C=C+Math.imul(Ye,vt)|0;var Vt=(R+(v=v+Math.imul(N,Pt)|0)|0)+((8191&(a=(a=a+Math.imul(N,Lt)|0)+Math.imul(Q,Pt)|0))<<13)|0;R=((C=C+Math.imul(Q,Lt)|0)+(a>>>13)|0)+(Vt>>>26)|0,Vt&=67108863,v=Math.imul(Be,ot),a=(a=Math.imul(Be,St))+Math.imul(nt,ot)|0,C=Math.imul(nt,St),v=v+Math.imul(Ue,oi)|0,a=(a=a+Math.imul(Ue,ei)|0)+Math.imul(oe,oi)|0,C=C+Math.imul(oe,ei)|0,v=v+Math.imul(G,si)|0,a=(a=a+Math.imul(G,Bt)|0)+Math.imul($,si)|0,C=C+Math.imul($,Bt)|0,v=v+Math.imul(de,me)|0,a=(a=a+Math.imul(de,K)|0)+Math.imul(Me,me)|0,C=C+Math.imul(Me,K)|0,v=v+Math.imul(He,Ce)|0,a=(a=a+Math.imul(He,We)|0)+Math.imul(Ee,Ce)|0,C=C+Math.imul(Ee,We)|0,v=v+Math.imul(je,Tt)|0,a=(a=a+Math.imul(je,Nt)|0)+Math.imul(ye,Tt)|0,C=C+Math.imul(ye,Nt)|0,v=v+Math.imul(Ve,Ke)|0,a=(a=a+Math.imul(Ve,vt)|0)+Math.imul(be,Ke)|0,C=C+Math.imul(be,vt)|0,v=v+Math.imul(Le,Pt)|0,a=(a=a+Math.imul(Le,Lt)|0)+Math.imul(Ye,Pt)|0,C=C+Math.imul(Ye,Lt)|0;var jt=(R+(v=v+Math.imul(N,Ae)|0)|0)+((8191&(a=(a=a+Math.imul(N,fe)|0)+Math.imul(Q,Ae)|0))<<13)|0;R=((C=C+Math.imul(Q,fe)|0)+(a>>>13)|0)+(jt>>>26)|0,jt&=67108863,v=Math.imul(gt,ot),a=(a=Math.imul(gt,St))+Math.imul(rt,ot)|0,C=Math.imul(rt,St),v=v+Math.imul(Be,oi)|0,a=(a=a+Math.imul(Be,ei)|0)+Math.imul(nt,oi)|0,C=C+Math.imul(nt,ei)|0,v=v+Math.imul(Ue,si)|0,a=(a=a+Math.imul(Ue,Bt)|0)+Math.imul(oe,si)|0,C=C+Math.imul(oe,Bt)|0,v=v+Math.imul(G,me)|0,a=(a=a+Math.imul(G,K)|0)+Math.imul($,me)|0,C=C+Math.imul($,K)|0,v=v+Math.imul(de,Ce)|0,a=(a=a+Math.imul(de,We)|0)+Math.imul(Me,Ce)|0,C=C+Math.imul(Me,We)|0,v=v+Math.imul(He,Tt)|0,a=(a=a+Math.imul(He,Nt)|0)+Math.imul(Ee,Tt)|0,C=C+Math.imul(Ee,Nt)|0,v=v+Math.imul(je,Ke)|0,a=(a=a+Math.imul(je,vt)|0)+Math.imul(ye,Ke)|0,C=C+Math.imul(ye,vt)|0,v=v+Math.imul(Ve,Pt)|0,a=(a=a+Math.imul(Ve,Lt)|0)+Math.imul(be,Pt)|0,C=C+Math.imul(be,Lt)|0,v=v+Math.imul(Le,Ae)|0,a=(a=a+Math.imul(Le,fe)|0)+Math.imul(Ye,Ae)|0,C=C+Math.imul(Ye,fe)|0;var fi=(R+(v=v+Math.imul(N,_t)|0)|0)+((8191&(a=(a=a+Math.imul(N,kt)|0)+Math.imul(Q,_t)|0))<<13)|0;R=((C=C+Math.imul(Q,kt)|0)+(a>>>13)|0)+(fi>>>26)|0,fi&=67108863,v=Math.imul(gt,oi),a=(a=Math.imul(gt,ei))+Math.imul(rt,oi)|0,C=Math.imul(rt,ei),v=v+Math.imul(Be,si)|0,a=(a=a+Math.imul(Be,Bt)|0)+Math.imul(nt,si)|0,C=C+Math.imul(nt,Bt)|0,v=v+Math.imul(Ue,me)|0,a=(a=a+Math.imul(Ue,K)|0)+Math.imul(oe,me)|0,C=C+Math.imul(oe,K)|0,v=v+Math.imul(G,Ce)|0,a=(a=a+Math.imul(G,We)|0)+Math.imul($,Ce)|0,C=C+Math.imul($,We)|0,v=v+Math.imul(de,Tt)|0,a=(a=a+Math.imul(de,Nt)|0)+Math.imul(Me,Tt)|0,C=C+Math.imul(Me,Nt)|0,v=v+Math.imul(He,Ke)|0,a=(a=a+Math.imul(He,vt)|0)+Math.imul(Ee,Ke)|0,C=C+Math.imul(Ee,vt)|0,v=v+Math.imul(je,Pt)|0,a=(a=a+Math.imul(je,Lt)|0)+Math.imul(ye,Pt)|0,C=C+Math.imul(ye,Lt)|0,v=v+Math.imul(Ve,Ae)|0,a=(a=a+Math.imul(Ve,fe)|0)+Math.imul(be,Ae)|0,C=C+Math.imul(be,fe)|0;var Si=(R+(v=v+Math.imul(Le,_t)|0)|0)+((8191&(a=(a=a+Math.imul(Le,kt)|0)+Math.imul(Ye,_t)|0))<<13)|0;R=((C=C+Math.imul(Ye,kt)|0)+(a>>>13)|0)+(Si>>>26)|0,Si&=67108863,v=Math.imul(gt,si),a=(a=Math.imul(gt,Bt))+Math.imul(rt,si)|0,C=Math.imul(rt,Bt),v=v+Math.imul(Be,me)|0,a=(a=a+Math.imul(Be,K)|0)+Math.imul(nt,me)|0,C=C+Math.imul(nt,K)|0,v=v+Math.imul(Ue,Ce)|0,a=(a=a+Math.imul(Ue,We)|0)+Math.imul(oe,Ce)|0,C=C+Math.imul(oe,We)|0,v=v+Math.imul(G,Tt)|0,a=(a=a+Math.imul(G,Nt)|0)+Math.imul($,Tt)|0,C=C+Math.imul($,Nt)|0,v=v+Math.imul(de,Ke)|0,a=(a=a+Math.imul(de,vt)|0)+Math.imul(Me,Ke)|0,C=C+Math.imul(Me,vt)|0,v=v+Math.imul(He,Pt)|0,a=(a=a+Math.imul(He,Lt)|0)+Math.imul(Ee,Pt)|0,C=C+Math.imul(Ee,Lt)|0,v=v+Math.imul(je,Ae)|0,a=(a=a+Math.imul(je,fe)|0)+Math.imul(ye,Ae)|0,C=C+Math.imul(ye,fe)|0;var ki=(R+(v=v+Math.imul(Ve,_t)|0)|0)+((8191&(a=(a=a+Math.imul(Ve,kt)|0)+Math.imul(be,_t)|0))<<13)|0;R=((C=C+Math.imul(be,kt)|0)+(a>>>13)|0)+(ki>>>26)|0,ki&=67108863,v=Math.imul(gt,me),a=(a=Math.imul(gt,K))+Math.imul(rt,me)|0,C=Math.imul(rt,K),v=v+Math.imul(Be,Ce)|0,a=(a=a+Math.imul(Be,We)|0)+Math.imul(nt,Ce)|0,C=C+Math.imul(nt,We)|0,v=v+Math.imul(Ue,Tt)|0,a=(a=a+Math.imul(Ue,Nt)|0)+Math.imul(oe,Tt)|0,C=C+Math.imul(oe,Nt)|0,v=v+Math.imul(G,Ke)|0,a=(a=a+Math.imul(G,vt)|0)+Math.imul($,Ke)|0,C=C+Math.imul($,vt)|0,v=v+Math.imul(de,Pt)|0,a=(a=a+Math.imul(de,Lt)|0)+Math.imul(Me,Pt)|0,C=C+Math.imul(Me,Lt)|0,v=v+Math.imul(He,Ae)|0,a=(a=a+Math.imul(He,fe)|0)+Math.imul(Ee,Ae)|0,C=C+Math.imul(Ee,fe)|0;var Gi=(R+(v=v+Math.imul(je,_t)|0)|0)+((8191&(a=(a=a+Math.imul(je,kt)|0)+Math.imul(ye,_t)|0))<<13)|0;R=((C=C+Math.imul(ye,kt)|0)+(a>>>13)|0)+(Gi>>>26)|0,Gi&=67108863,v=Math.imul(gt,Ce),a=(a=Math.imul(gt,We))+Math.imul(rt,Ce)|0,C=Math.imul(rt,We),v=v+Math.imul(Be,Tt)|0,a=(a=a+Math.imul(Be,Nt)|0)+Math.imul(nt,Tt)|0,C=C+Math.imul(nt,Nt)|0,v=v+Math.imul(Ue,Ke)|0,a=(a=a+Math.imul(Ue,vt)|0)+Math.imul(oe,Ke)|0,C=C+Math.imul(oe,vt)|0,v=v+Math.imul(G,Pt)|0,a=(a=a+Math.imul(G,Lt)|0)+Math.imul($,Pt)|0,C=C+Math.imul($,Lt)|0,v=v+Math.imul(de,Ae)|0,a=(a=a+Math.imul(de,fe)|0)+Math.imul(Me,Ae)|0,C=C+Math.imul(Me,fe)|0;var Qt=(R+(v=v+Math.imul(He,_t)|0)|0)+((8191&(a=(a=a+Math.imul(He,kt)|0)+Math.imul(Ee,_t)|0))<<13)|0;R=((C=C+Math.imul(Ee,kt)|0)+(a>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,v=Math.imul(gt,Tt),a=(a=Math.imul(gt,Nt))+Math.imul(rt,Tt)|0,C=Math.imul(rt,Nt),v=v+Math.imul(Be,Ke)|0,a=(a=a+Math.imul(Be,vt)|0)+Math.imul(nt,Ke)|0,C=C+Math.imul(nt,vt)|0,v=v+Math.imul(Ue,Pt)|0,a=(a=a+Math.imul(Ue,Lt)|0)+Math.imul(oe,Pt)|0,C=C+Math.imul(oe,Lt)|0,v=v+Math.imul(G,Ae)|0,a=(a=a+Math.imul(G,fe)|0)+Math.imul($,Ae)|0,C=C+Math.imul($,fe)|0;var xe=(R+(v=v+Math.imul(de,_t)|0)|0)+((8191&(a=(a=a+Math.imul(de,kt)|0)+Math.imul(Me,_t)|0))<<13)|0;R=((C=C+Math.imul(Me,kt)|0)+(a>>>13)|0)+(xe>>>26)|0,xe&=67108863,v=Math.imul(gt,Ke),a=(a=Math.imul(gt,vt))+Math.imul(rt,Ke)|0,C=Math.imul(rt,vt),v=v+Math.imul(Be,Pt)|0,a=(a=a+Math.imul(Be,Lt)|0)+Math.imul(nt,Pt)|0,C=C+Math.imul(nt,Lt)|0,v=v+Math.imul(Ue,Ae)|0,a=(a=a+Math.imul(Ue,fe)|0)+Math.imul(oe,Ae)|0,C=C+Math.imul(oe,fe)|0;var ke=(R+(v=v+Math.imul(G,_t)|0)|0)+((8191&(a=(a=a+Math.imul(G,kt)|0)+Math.imul($,_t)|0))<<13)|0;R=((C=C+Math.imul($,kt)|0)+(a>>>13)|0)+(ke>>>26)|0,ke&=67108863,v=Math.imul(gt,Pt),a=(a=Math.imul(gt,Lt))+Math.imul(rt,Pt)|0,C=Math.imul(rt,Lt),v=v+Math.imul(Be,Ae)|0,a=(a=a+Math.imul(Be,fe)|0)+Math.imul(nt,Ae)|0,C=C+Math.imul(nt,fe)|0;var ft=(R+(v=v+Math.imul(Ue,_t)|0)|0)+((8191&(a=(a=a+Math.imul(Ue,kt)|0)+Math.imul(oe,_t)|0))<<13)|0;R=((C=C+Math.imul(oe,kt)|0)+(a>>>13)|0)+(ft>>>26)|0,ft&=67108863,v=Math.imul(gt,Ae),a=(a=Math.imul(gt,fe))+Math.imul(rt,Ae)|0,C=Math.imul(rt,fe);var Rt=(R+(v=v+Math.imul(Be,_t)|0)|0)+((8191&(a=(a=a+Math.imul(Be,kt)|0)+Math.imul(nt,_t)|0))<<13)|0;R=((C=C+Math.imul(nt,kt)|0)+(a>>>13)|0)+(Rt>>>26)|0,Rt&=67108863;var di=(R+(v=Math.imul(gt,_t))|0)+((8191&(a=(a=Math.imul(gt,kt))+Math.imul(rt,_t)|0))<<13)|0;return R=((C=Math.imul(rt,kt))+(a>>>13)|0)+(di>>>26)|0,di&=67108863,A[0]=Oi,A[1]=Li,A[2]=Ei,A[3]=Wi,A[4]=wt,A[5]=qe,A[6]=Ne,A[7]=Vt,A[8]=jt,A[9]=fi,A[10]=Si,A[11]=ki,A[12]=Gi,A[13]=Qt,A[14]=xe,A[15]=ke,A[16]=ft,A[17]=Rt,A[18]=di,0!==R&&(A[19]=R,m.length++),m};function Z(T,i,o){return(new q).mulp(T,i,o)}function q(T,i){this.x=T,this.y=i}Math.imul||(I=z),l.prototype.mulTo=function(i,o){var m,h=this.length+i.length;return m=10===this.length&&10===i.length?I(this,i,o):h<63?z(this,i,o):h<1024?function V(T,i,o){o.negative=i.negative^T.negative,o.length=T.length+i.length;for(var m=0,h=0,y=0;y<o.length-1;y++){var A=h;h=0;for(var R=67108863&m,v=Math.min(y,i.length-1),a=Math.max(0,y-T.length+1);a<=v;a++){var C=y-a,Q=(0|T.words[C])*(0|i.words[a]),Pe=67108863&Q;R=67108863&(Pe=Pe+R|0),h+=(A=(A=A+(Q/67108864|0)|0)+(Pe>>>26)|0)>>>26,A&=67108863}o.words[y]=R,m=A,A=h}return 0!==m?o.words[y]=m:o.length--,o.strip()}(this,i,o):Z(this,i,o),m},q.prototype.makeRBT=function(i){for(var o=new Array(i),m=l.prototype._countBits(i)-1,h=0;h<i;h++)o[h]=this.revBin(h,m,i);return o},q.prototype.revBin=function(i,o,m){if(0===i||i===m-1)return i;for(var h=0,y=0;y<o;y++)h|=(1&i)<<o-y-1,i>>=1;return h},q.prototype.permute=function(i,o,m,h,y,A){for(var R=0;R<A;R++)h[R]=o[i[R]],y[R]=m[i[R]]},q.prototype.transform=function(i,o,m,h,y,A){this.permute(A,i,o,m,h,y);for(var R=1;R<y;R<<=1)for(var v=R<<1,a=Math.cos(2*Math.PI/v),C=Math.sin(2*Math.PI/v),U=0;U<y;U+=v)for(var N=a,Q=C,Pe=0;Pe<R;Pe++){var Le=m[U+Pe],Ye=h[U+Pe],$e=m[U+Pe+R],Ve=h[U+Pe+R],be=N*$e-Q*Ve;Ve=N*Ve+Q*$e,$e=be,m[U+Pe]=Le+$e,h[U+Pe]=Ye+Ve,m[U+Pe+R]=Le-$e,h[U+Pe+R]=Ye-Ve,Pe!==v&&(be=a*N-C*Q,Q=a*Q+C*N,N=be)}},q.prototype.guessLen13b=function(i,o){var m=1|Math.max(o,i),h=1&m,y=0;for(m=m/2|0;m;m>>>=1)y++;return 1<<y+1+h},q.prototype.conjugate=function(i,o,m){if(!(m<=1))for(var h=0;h<m/2;h++){var y=i[h];i[h]=i[m-h-1],i[m-h-1]=y,y=o[h],o[h]=-o[m-h-1],o[m-h-1]=-y}},q.prototype.normalize13b=function(i,o){for(var m=0,h=0;h<o/2;h++){var y=8192*Math.round(i[2*h+1]/o)+Math.round(i[2*h]/o)+m;i[h]=67108863&y,m=y<67108864?0:y/67108864|0}return i},q.prototype.convert13b=function(i,o,m,h){for(var y=0,A=0;A<o;A++)y+=0|i[A],m[2*A]=8191&y,y>>>=13,m[2*A+1]=8191&y,y>>>=13;for(A=2*o;A<h;++A)m[A]=0;_(0===y),_(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 h=2*this.guessLen13b(i.length,o.length),y=this.makeRBT(h),A=this.stub(h),R=new Array(h),v=new Array(h),a=new Array(h),C=new Array(h),U=new Array(h),N=new Array(h),Q=m.words;Q.length=h,this.convert13b(i.words,i.length,R,h),this.convert13b(o.words,o.length,C,h),this.transform(R,A,v,a,h,y),this.transform(C,A,U,N,h,y);for(var Pe=0;Pe<h;Pe++){var Le=v[Pe]*U[Pe]-a[Pe]*N[Pe];a[Pe]=v[Pe]*N[Pe]+a[Pe]*U[Pe],v[Pe]=Le}return this.conjugate(v,a,h),this.transform(v,a,Q,A,h,y),this.conjugate(Q,A,h),this.normalize13b(Q,h),m.negative=i.negative^o.negative,m.length=i.length+o.length,m.strip()},l.prototype.mul=function(i){var o=new l(null);return o.words=new Array(this.length+i.length),this.mulTo(i,o)},l.prototype.mulf=function(i){var o=new l(null);return o.words=new Array(this.length+i.length),Z(this,i,o)},l.prototype.imul=function(i){return this.clone().mulTo(i,this)},l.prototype.imuln=function(i){_("number"==typeof i),_(i<67108864);for(var o=0,m=0;m<this.length;m++){var h=(0|this.words[m])*i,y=(67108863&h)+(67108863&o);o>>=26,o+=h/67108864|0,o+=y>>>26,this.words[m]=67108863&y}return 0!==o&&(this.words[m]=o,this.length++),this},l.prototype.muln=function(i){return this.clone().imuln(i)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(i){var o=function E(T){for(var i=new Array(T.bitLength()),o=0;o<i.length;o++){var m=o/26|0,h=o%26;i[o]=(T.words[m]&1<<h)>>>h}return i}(i);if(0===o.length)return new l(1);for(var m=this,h=0;h<o.length&&0===o[h];h++,m=m.sqr());if(++h<o.length)for(var y=m.sqr();h<o.length;h++,y=y.sqr())0!==o[h]&&(m=m.mul(y));return m},l.prototype.iushln=function(i){_("number"==typeof i&&i>=0);var y,o=i%26,m=(i-o)/26,h=67108863>>>26-o<<26-o;if(0!==o){var A=0;for(y=0;y<this.length;y++){var R=this.words[y]&h,v=(0|this.words[y])-R<<o;this.words[y]=v|A,A=R>>>26-o}A&&(this.words[y]=A,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()},l.prototype.ishln=function(i){return _(0===this.negative),this.iushln(i)},l.prototype.iushrn=function(i,o,m){var h;_("number"==typeof i&&i>=0),h=o?(o-o%26)/26:0;var y=i%26,A=Math.min((i-y)/26,this.length),R=67108863^67108863>>>y<<y,v=m;if(h-=A,h=Math.max(0,h),v){for(var a=0;a<A;a++)v.words[a]=this.words[a];v.length=A}if(0!==A)if(this.length>A)for(this.length-=A,a=0;a<this.length;a++)this.words[a]=this.words[a+A];else this.words[0]=0,this.length=1;var C=0;for(a=this.length-1;a>=0&&(0!==C||a>=h);a--){var U=0|this.words[a];this.words[a]=C<<26-y|U>>>y,C=U&R}return v&&0!==C&&(v.words[v.length++]=C),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(i,o,m){return _(0===this.negative),this.iushrn(i,o,m)},l.prototype.shln=function(i){return this.clone().ishln(i)},l.prototype.ushln=function(i){return this.clone().iushln(i)},l.prototype.shrn=function(i){return this.clone().ishrn(i)},l.prototype.ushrn=function(i){return this.clone().iushrn(i)},l.prototype.testn=function(i){_("number"==typeof i&&i>=0);var o=i%26,m=(i-o)/26,h=1<<o;return!(this.length<=m)&&!!(this.words[m]&h)},l.prototype.imaskn=function(i){_("number"==typeof i&&i>=0);var o=i%26,m=(i-o)/26;if(_(0===this.negative,"imaskn works only with positive numbers"),this.length<=m)return this;if(0!==o&&m++,this.length=Math.min(m,this.length),0!==o){var h=67108863^67108863>>>o<<o;this.words[this.length-1]&=h}return this.strip()},l.prototype.maskn=function(i){return this.clone().imaskn(i)},l.prototype.iaddn=function(i){return _("number"==typeof i),_(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)},l.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},l.prototype.isubn=function(i){if(_("number"==typeof i),_(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()},l.prototype.addn=function(i){return this.clone().iaddn(i)},l.prototype.subn=function(i){return this.clone().isubn(i)},l.prototype.iabs=function(){return this.negative=0,this},l.prototype.abs=function(){return this.clone().iabs()},l.prototype._ishlnsubmul=function(i,o,m){var y,h=i.length+m;this._expand(h);var A,R=0;for(y=0;y<i.length;y++){A=(0|this.words[y+m])+R;var v=(0|i.words[y])*o;R=((A-=67108863&v)>>26)-(v/67108864|0),this.words[y+m]=67108863&A}for(;y<this.length-m;y++)R=(A=(0|this.words[y+m])+R)>>26,this.words[y+m]=67108863&A;if(0===R)return this.strip();for(_(-1===R),R=0,y=0;y<this.length;y++)R=(A=-(0|this.words[y])+R)>>26,this.words[y]=67108863&A;return this.negative=1,this.strip()},l.prototype._wordDiv=function(i,o){var m=(this.length,i.length),h=this.clone(),y=i,A=0|y.words[y.length-1];0!==(m=26-this._countBits(A))&&(y=y.ushln(m),h.iushln(m),A=0|y.words[y.length-1]);var a,v=h.length-y.length;if("mod"!==o){(a=new l(null)).length=v+1,a.words=new Array(a.length);for(var C=0;C<a.length;C++)a.words[C]=0}var U=h.clone()._ishlnsubmul(y,1,v);0===U.negative&&(h=U,a&&(a.words[v]=1));for(var N=v-1;N>=0;N--){var Q=67108864*(0|h.words[y.length+N])+(0|h.words[y.length+N-1]);for(Q=Math.min(Q/A|0,67108863),h._ishlnsubmul(y,Q,N);0!==h.negative;)Q--,h.negative=0,h._ishlnsubmul(y,1,N),h.isZero()||(h.negative^=1);a&&(a.words[N]=Q)}return a&&a.strip(),h.strip(),"div"!==o&&0!==m&&h.iushrn(m),{div:a||null,mod:h}},l.prototype.divmod=function(i,o,m){return _(!i.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===i.negative?(A=this.neg().divmod(i,o),"mod"!==o&&(h=A.div.neg()),"div"!==o&&(y=A.mod.neg(),m&&0!==y.negative&&y.iadd(i)),{div:h,mod:y}):0===this.negative&&0!==i.negative?(A=this.divmod(i.neg(),o),"mod"!==o&&(h=A.div.neg()),{div:h,mod:A.mod}):0!=(this.negative&i.negative)?(A=this.neg().divmod(i.neg(),o),"div"!==o&&(y=A.mod.neg(),m&&0!==y.negative&&y.isub(i)),{div:A.div,mod:y}):i.length>this.length||this.cmp(i)<0?{div:new l(0),mod:this}:1===i.length?"div"===o?{div:this.divn(i.words[0]),mod:null}:"mod"===o?{div:null,mod:new l(this.modn(i.words[0]))}:{div:this.divn(i.words[0]),mod:new l(this.modn(i.words[0]))}:this._wordDiv(i,o);var h,y,A},l.prototype.div=function(i){return this.divmod(i,"div",!1).div},l.prototype.mod=function(i){return this.divmod(i,"mod",!1).mod},l.prototype.umod=function(i){return this.divmod(i,"mod",!0).mod},l.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,h=i.ushrn(1),y=i.andln(1),A=m.cmp(h);return A<0||1===y&&0===A?o.div:0!==o.div.negative?o.div.isubn(1):o.div.iaddn(1)},l.prototype.modn=function(i){_(i<=67108863);for(var o=(1<<26)%i,m=0,h=this.length-1;h>=0;h--)m=(o*m+(0|this.words[h]))%i;return m},l.prototype.idivn=function(i){_(i<=67108863);for(var o=0,m=this.length-1;m>=0;m--){var h=(0|this.words[m])+67108864*o;this.words[m]=h/i|0,o=h%i}return this.strip()},l.prototype.divn=function(i){return this.clone().idivn(i)},l.prototype.egcd=function(i){_(0===i.negative),_(!i.isZero());var o=this,m=i.clone();o=0!==o.negative?o.umod(i):o.clone();for(var h=new l(1),y=new l(0),A=new l(0),R=new l(1),v=0;o.isEven()&&m.isEven();)o.iushrn(1),m.iushrn(1),++v;for(var a=m.clone(),C=o.clone();!o.isZero();){for(var U=0,N=1;0==(o.words[0]&N)&&U<26;++U,N<<=1);if(U>0)for(o.iushrn(U);U-- >0;)(h.isOdd()||y.isOdd())&&(h.iadd(a),y.isub(C)),h.iushrn(1),y.iushrn(1);for(var Q=0,Pe=1;0==(m.words[0]&Pe)&&Q<26;++Q,Pe<<=1);if(Q>0)for(m.iushrn(Q);Q-- >0;)(A.isOdd()||R.isOdd())&&(A.iadd(a),R.isub(C)),A.iushrn(1),R.iushrn(1);o.cmp(m)>=0?(o.isub(m),h.isub(A),y.isub(R)):(m.isub(o),A.isub(h),R.isub(y))}return{a:A,b:R,gcd:m.iushln(v)}},l.prototype._invmp=function(i){_(0===i.negative),_(!i.isZero());var U,o=this,m=i.clone();o=0!==o.negative?o.umod(i):o.clone();for(var h=new l(1),y=new l(0),A=m.clone();o.cmpn(1)>0&&m.cmpn(1)>0;){for(var R=0,v=1;0==(o.words[0]&v)&&R<26;++R,v<<=1);if(R>0)for(o.iushrn(R);R-- >0;)h.isOdd()&&h.iadd(A),h.iushrn(1);for(var a=0,C=1;0==(m.words[0]&C)&&a<26;++a,C<<=1);if(a>0)for(m.iushrn(a);a-- >0;)y.isOdd()&&y.iadd(A),y.iushrn(1);o.cmp(m)>=0?(o.isub(m),h.isub(y)):(m.isub(o),y.isub(h))}return(U=0===o.cmpn(1)?h:y).cmpn(0)<0&&U.iadd(i),U},l.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 h=0;o.isEven()&&m.isEven();h++)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 A=o;o=m,m=A}else if(0===y||0===m.cmpn(1))break;o.isub(m)}return m.iushln(h)},l.prototype.invm=function(i){return this.egcd(i).a.umod(i)},l.prototype.isEven=function(){return 0==(1&this.words[0])},l.prototype.isOdd=function(){return 1==(1&this.words[0])},l.prototype.andln=function(i){return this.words[0]&i},l.prototype.bincn=function(i){_("number"==typeof i);var o=i%26,m=(i-o)/26,h=1<<o;if(this.length<=m)return this._expand(m+1),this.words[m]|=h,this;for(var y=h,A=m;0!==y&&A<this.length;A++){var R=0|this.words[A];y=(R+=y)>>>26,R&=67108863,this.words[A]=R}return 0!==y&&(this.words[A]=y,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.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),_(i<=67108863,"Number is too big");var h=0|this.words[0];m=h===i?0:h<i?-1:1}return 0!==this.negative?0|-m:m},l.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},l.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 h=0|this.words[m],y=0|i.words[m];if(h!==y){h<y?o=-1:h>y&&(o=1);break}}return o},l.prototype.gtn=function(i){return 1===this.cmpn(i)},l.prototype.gt=function(i){return 1===this.cmp(i)},l.prototype.gten=function(i){return this.cmpn(i)>=0},l.prototype.gte=function(i){return this.cmp(i)>=0},l.prototype.ltn=function(i){return-1===this.cmpn(i)},l.prototype.lt=function(i){return-1===this.cmp(i)},l.prototype.lten=function(i){return this.cmpn(i)<=0},l.prototype.lte=function(i){return this.cmp(i)<=0},l.prototype.eqn=function(i){return 0===this.cmpn(i)},l.prototype.eq=function(i){return 0===this.cmp(i)},l.red=function(i){return new ae(i)},l.prototype.toRed=function(i){return _(!this.red,"Already a number in reduction context"),_(0===this.negative,"red works only with positives"),i.convertTo(this)._forceRed(i)},l.prototype.fromRed=function(){return _(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(i){return this.red=i,this},l.prototype.forceRed=function(i){return _(!this.red,"Already a number in reduction context"),this._forceRed(i)},l.prototype.redAdd=function(i){return _(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},l.prototype.redIAdd=function(i){return _(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},l.prototype.redSub=function(i){return _(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},l.prototype.redISub=function(i){return _(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},l.prototype.redShl=function(i){return _(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},l.prototype.redMul=function(i){return _(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},l.prototype.redIMul=function(i){return _(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},l.prototype.redSqr=function(){return _(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return _(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return _(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return _(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return _(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(i){return _(this.red&&!i.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,i)};var te={k256:null,p224:null,p192:null,p25519:null};function ne(T,i){this.name=T,this.p=new l(i,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function le(){ne.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function re(){ne.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function _e(){ne.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function he(){ne.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function ae(T){if("string"==typeof T){var i=l._prime(T);this.m=i.p,this.prime=i}else _(T.gtn(1),"modulus must be greater than 1"),this.m=T,this.prime=null}function ve(T){ae.call(this,T),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}ne.prototype._tmp=function(){var i=new l(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 h=m<this.n?-1:o.ucmp(this.p);return 0===h?(o.words[0]=0,o.length=1):h>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)},S(le,ne),le.prototype.split=function(i,o){for(var m=4194303,h=Math.min(i.length,9),y=0;y<h;y++)o.words[y]=i.words[y];if(o.length=h,i.length<=9)return i.words[0]=0,void(i.length=1);var A=i.words[9];for(o.words[o.length++]=A&m,y=10;y<i.length;y++){var R=0|i.words[y];i.words[y-10]=(R&m)<<4|A>>>22,A=R}A>>>=22,i.words[y-10]=A,0===A&&i.length>10?i.length-=10:i.length-=9},le.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 h=0|i.words[m];o+=977*h,i.words[m]=67108863&o,o=64*h+(o/67108864|0)}return 0===i.words[i.length-1]&&(i.length--,0===i.words[i.length-1]&&i.length--),i},S(re,ne),S(_e,ne),S(he,ne),he.prototype.imulK=function(i){for(var o=0,m=0;m<i.length;m++){var h=19*(0|i.words[m])+o,y=67108863&h;h>>>=26,i.words[m]=y,o=h}return 0!==o&&(i.words[i.length++]=o),i},l._prime=function(i){if(te[i])return te[i];var o;if("k256"===i)o=new le;else if("p224"===i)o=new re;else if("p192"===i)o=new _e;else{if("p25519"!==i)throw new Error("Unknown prime "+i);o=new he}return te[i]=o,o},ae.prototype._verify1=function(i){_(0===i.negative,"red works only with positives"),_(i.red,"red works only with red numbers")},ae.prototype._verify2=function(i,o){_(0==(i.negative|o.negative),"red works only with positives"),_(i.red&&i.red===o.red,"red works only with red numbers")},ae.prototype.imod=function(i){return this.prime?this.prime.ireduce(i)._forceRed(this):i.umod(this.m)._forceRed(this)},ae.prototype.neg=function(i){return i.isZero()?i.clone():this.m.sub(i)._forceRed(this)},ae.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)},ae.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},ae.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)},ae.prototype.isub=function(i,o){this._verify2(i,o);var m=i.isub(o);return m.cmpn(0)<0&&m.iadd(this.m),m},ae.prototype.shl=function(i,o){return this._verify1(i),this.imod(i.ushln(o))},ae.prototype.imul=function(i,o){return this._verify2(i,o),this.imod(i.imul(o))},ae.prototype.mul=function(i,o){return this._verify2(i,o),this.imod(i.mul(o))},ae.prototype.isqr=function(i){return this.imul(i,i.clone())},ae.prototype.sqr=function(i){return this.mul(i,i)},ae.prototype.sqrt=function(i){if(i.isZero())return i.clone();var o=this.m.andln(3);if(_(o%2==1),3===o){var m=this.m.add(new l(1)).iushrn(2);return this.pow(i,m)}for(var h=this.m.subn(1),y=0;!h.isZero()&&0===h.andln(1);)y++,h.iushrn(1);_(!h.isZero());var A=new l(1).toRed(this),R=A.redNeg(),v=this.m.subn(1).iushrn(1),a=this.m.bitLength();for(a=new l(2*a*a).toRed(this);0!==this.pow(a,v).cmp(R);)a.redIAdd(R);for(var C=this.pow(a,h),U=this.pow(i,h.addn(1).iushrn(1)),N=this.pow(i,h),Q=y;0!==N.cmp(A);){for(var Pe=N,Le=0;0!==Pe.cmp(A);Le++)Pe=Pe.redSqr();_(Le<Q);var Ye=this.pow(C,new l(1).iushln(Q-Le-1));U=U.redMul(Ye),C=Ye.redSqr(),N=N.redMul(C),Q=Le}return U},ae.prototype.invm=function(i){var o=i._invmp(this.m);return 0!==o.negative?(o.negative=0,this.imod(o).redNeg()):this.imod(o)},ae.prototype.pow=function(i,o){if(o.isZero())return new l(1).toRed(this);if(0===o.cmpn(1))return i.clone();var h=new Array(16);h[0]=new l(1).toRed(this),h[1]=i;for(var y=2;y<h.length;y++)h[y]=this.mul(h[y-1],i);var A=h[0],R=0,v=0,a=o.bitLength()%26;for(0===a&&(a=26),y=o.length-1;y>=0;y--){for(var C=o.words[y],U=a-1;U>=0;U--){var N=C>>U&1;(A!==h[0]&&(A=this.sqr(A)),0!==N||0!==R)?(R<<=1,R|=N,(4===++v||0===y&&0===U)&&(A=this.mul(A,h[R]),v=0,R=0)):v=0}a=26}return A},ae.prototype.convertTo=function(i){var o=i.umod(this.m);return o===i?o.clone():o},ae.prototype.convertFrom=function(i){var o=i.clone();return o.red=null,o},l.mont=function(i){return new ve(i)},S(ve,ae),ve.prototype.convertTo=function(i){return this.imod(i.ushln(this.shift))},ve.prototype.convertFrom=function(i){var o=this.imod(i.mul(this.rinv));return o.red=null,o},ve.prototype.imul=function(i,o){if(i.isZero()||o.isZero())return i.words[0]=0,i.length=1,i;var m=i.imul(o),h=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=m.isub(h).iushrn(this.shift),A=y;return y.cmp(this.m)>=0?A=y.isub(this.m):y.cmpn(0)<0&&(A=y.iadd(this.m)),A._forceRed(this)},ve.prototype.mul=function(i,o){if(i.isZero()||o.isZero())return new l(0)._forceRed(this);var m=i.mul(o),h=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=m.isub(h).iushrn(this.shift),A=y;return y.cmp(this.m)>=0?A=y.isub(this.m):y.cmpn(0)<0&&(A=y.iadd(this.m)),A._forceRed(this)},ve.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}})(Ge=f.nmd(Ge),this)},145:(Ge,X,f)=>{"use strict";var e=f(5035),t=f(2617),_=f(5351),S=f(1001),l=f(3735);function D(d){l.call(this,"digest"),this._hash=d}e(D,l),D.prototype._update=function(d){this._hash.update(d)},D.prototype._final=function(){return this._hash.digest()},Ge.exports=function(P){return"md5"===(P=P.toLowerCase())?new t:"rmd160"===P||"ripemd160"===P?new _:new D(S(P))}},2726:(Ge,X,f)=>{var e=f(2617);Ge.exports=function(t){return(new e).update(t).digest()}},3640:(Ge,X,f)=>{"use strict";var e=f(5035),t=f(7531),_=f(3735),S=f(9708).Buffer,l=f(2726),D=f(5351),d=f(1001),P=S.alloc(128);function p(L,M){_.call(this,"digest"),"string"==typeof M&&(M=S.from(M));var k="sha512"===L||"sha384"===L?128:64;(this._alg=L,this._key=M,M.length>k)?M=("rmd160"===L?new D:d(L)).update(M).digest():M.length<k&&(M=S.concat([M,P],k));for(var z=this._ipad=S.allocUnsafe(k),I=this._opad=S.allocUnsafe(k),V=0;V<k;V++)z[V]=54^M[V],I[V]=92^M[V];this._hash="rmd160"===L?new D:d(L),this._hash.update(z)}e(p,_),p.prototype._update=function(L){this._hash.update(L)},p.prototype._final=function(){var L=this._hash.digest();return("rmd160"===this._alg?new D:d(this._alg)).update(this._opad).update(L).digest()},Ge.exports=function(M,k){return"rmd160"===(M=M.toLowerCase())||"ripemd160"===M?new p("rmd160",k):"md5"===M?new t(l,k):new p(M,k)}},7531:(Ge,X,f)=>{"use strict";var e=f(5035),t=f(9708).Buffer,_=f(3735),S=t.alloc(128),l=64;function D(d,P){_.call(this,"digest"),"string"==typeof P&&(P=t.from(P)),this._alg=d,this._key=P,P.length>l?P=d(P):P.length<l&&(P=t.concat([P,S],l));for(var p=this._ipad=t.allocUnsafe(l),L=this._opad=t.allocUnsafe(l),M=0;M<l;M++)p[M]=54^P[M],L[M]=92^P[M];this._hash=[p]}e(D,_),D.prototype._update=function(d){this._hash.push(d)},D.prototype._final=function(){var d=this._alg(t.concat(this._hash));return this._alg(t.concat([this._opad,d]))},Ge.exports=D},9501:(Ge,X,f)=>{"use strict";X.randomBytes=X.rng=X.pseudoRandomBytes=X.prng=f(1186),X.createHash=X.Hash=f(145),X.createHmac=X.Hmac=f(3640);var e=f(8043),t=Object.keys(e),_=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(t);X.getHashes=function(){return _};var S=f(4540);X.pbkdf2=S.pbkdf2,X.pbkdf2Sync=S.pbkdf2Sync;var l=f(4791);X.Cipher=l.Cipher,X.createCipher=l.createCipher,X.Cipheriv=l.Cipheriv,X.createCipheriv=l.createCipheriv,X.Decipher=l.Decipher,X.createDecipher=l.createDecipher,X.Decipheriv=l.Decipheriv,X.createDecipheriv=l.createDecipheriv,X.getCiphers=l.getCiphers,X.listCiphers=l.listCiphers;var D=f(5078);X.DiffieHellmanGroup=D.DiffieHellmanGroup,X.createDiffieHellmanGroup=D.createDiffieHellmanGroup,X.getDiffieHellman=D.getDiffieHellman,X.createDiffieHellman=D.createDiffieHellman,X.DiffieHellman=D.DiffieHellman;var d=f(2124);X.createSign=d.createSign,X.Sign=d.Sign,X.createVerify=d.createVerify,X.Verify=d.Verify,X.createECDH=f(9821);var P=f(1113);X.publicEncrypt=P.publicEncrypt,X.privateEncrypt=P.privateEncrypt,X.publicDecrypt=P.publicDecrypt,X.privateDecrypt=P.privateDecrypt;var p=f(137);X.randomFill=p.randomFill,X.randomFillSync=p.randomFillSync,X.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},X.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}},6222:(Ge,X,f)=>{"use strict";X.utils=f(6272),X.Cipher=f(4040),X.DES=f(7066),X.CBC=f(9297),X.EDE=f(4756)},9297:(Ge,X,f)=>{"use strict";var e=f(3999),t=f(5035),_={};function S(D){e.equal(D.length,8,"Invalid IV length"),this.iv=new Array(8);for(var d=0;d<this.iv.length;d++)this.iv[d]=D[d]}X.instantiate=function l(D){function d(M){D.call(this,M),this._cbcInit()}t(d,D);for(var P=Object.keys(_),p=0;p<P.length;p++){var L=P[p];d.prototype[L]=_[L]}return d.create=function(k){return new d(k)},d},_._cbcInit=function(){var d=new S(this.options.iv);this._cbcState=d},_._update=function(d,P,p,L){var M=this._cbcState,k=this.constructor.super_.prototype,E=M.iv;if("encrypt"===this.type){for(var z=0;z<this.blockSize;z++)E[z]^=d[P+z];k._update.call(this,E,0,p,L);for(z=0;z<this.blockSize;z++)E[z]=p[L+z]}else{k._update.call(this,d,P,p,L);for(z=0;z<this.blockSize;z++)p[L+z]^=E[z];for(z=0;z<this.blockSize;z++)E[z]=d[P+z]}}},4040:(Ge,X,f)=>{"use strict";var e=f(3999);function t(_){this.options=_,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}Ge.exports=t,t.prototype._init=function(){},t.prototype.update=function(S){return 0===S.length?[]:"decrypt"===this.type?this._updateDecrypt(S):this._updateEncrypt(S)},t.prototype._buffer=function(S,l){for(var D=Math.min(this.buffer.length-this.bufferOff,S.length-l),d=0;d<D;d++)this.buffer[this.bufferOff+d]=S[l+d];return this.bufferOff+=D,D},t.prototype._flushBuffer=function(S,l){return this._update(this.buffer,0,S,l),this.bufferOff=0,this.blockSize},t.prototype._updateEncrypt=function(S){var l=0,D=0,d=(this.bufferOff+S.length)/this.blockSize|0,P=new Array(d*this.blockSize);0!==this.bufferOff&&(l+=this._buffer(S,l),this.bufferOff===this.buffer.length&&(D+=this._flushBuffer(P,D)));for(var p=S.length-(S.length-l)%this.blockSize;l<p;l+=this.blockSize)this._update(S,l,P,D),D+=this.blockSize;for(;l<S.length;l++,this.bufferOff++)this.buffer[this.bufferOff]=S[l];return P},t.prototype._updateDecrypt=function(S){for(var l=0,D=0,d=Math.ceil((this.bufferOff+S.length)/this.blockSize)-1,P=new Array(d*this.blockSize);d>0;d--)l+=this._buffer(S,l),D+=this._flushBuffer(P,D);return l+=this._buffer(S,l),P},t.prototype.final=function(S){var l,D;return S&&(l=this.update(S)),D="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),l?l.concat(D):D},t.prototype._pad=function(S,l){if(0===l)return!1;for(;l<S.length;)S[l++]=0;return!0},t.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var S=new Array(this.blockSize);return this._update(this.buffer,0,S,0),S},t.prototype._unpad=function(S){return S},t.prototype._finalDecrypt=function(){e.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var S=new Array(this.blockSize);return this._flushBuffer(S,0),this._unpad(S)}},7066:(Ge,X,f)=>{"use strict";var e=f(3999),t=f(5035),_=f(6272),S=f(4040);function l(){this.tmp=new Array(2),this.keys=null}function D(P){S.call(this,P);var p=new l;this._desState=p,this.deriveKeys(p,P.key)}t(D,S),Ge.exports=D,D.create=function(p){return new D(p)};var d=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];D.prototype.deriveKeys=function(p,L){p.keys=new Array(32),e.equal(L.length,this.blockSize,"Invalid key length");var M=_.readUInt32BE(L,0),k=_.readUInt32BE(L,4);_.pc1(M,k,p.tmp,0),M=p.tmp[0],k=p.tmp[1];for(var E=0;E<p.keys.length;E+=2){var z=d[E>>>1];M=_.r28shl(M,z),k=_.r28shl(k,z),_.pc2(M,k,p.keys,E)}},D.prototype._update=function(p,L,M,k){var E=this._desState,z=_.readUInt32BE(p,L),I=_.readUInt32BE(p,L+4);_.ip(z,I,E.tmp,0),z=E.tmp[0],I=E.tmp[1],"encrypt"===this.type?this._encrypt(E,z,I,E.tmp,0):this._decrypt(E,z,I,E.tmp,0),z=E.tmp[0],I=E.tmp[1],_.writeUInt32BE(M,z,k),_.writeUInt32BE(M,I,k+4)},D.prototype._pad=function(p,L){for(var M=p.length-L,k=L;k<p.length;k++)p[k]=M;return!0},D.prototype._unpad=function(p){for(var L=p[p.length-1],M=p.length-L;M<p.length;M++)e.equal(p[M],L);return p.slice(0,p.length-L)},D.prototype._encrypt=function(p,L,M,k,E){for(var z=L,I=M,V=0;V<p.keys.length;V+=2){var Z=p.keys[V],q=p.keys[V+1];_.expand(I,p.tmp,0),Z^=p.tmp[0],q^=p.tmp[1];var te=_.substitute(Z,q),le=I;I=(z^_.permute(te))>>>0,z=le}_.rip(I,z,k,E)},D.prototype._decrypt=function(p,L,M,k,E){for(var z=M,I=L,V=p.keys.length-2;V>=0;V-=2){var Z=p.keys[V],q=p.keys[V+1];_.expand(z,p.tmp,0),Z^=p.tmp[0],q^=p.tmp[1];var te=_.substitute(Z,q),le=z;z=(I^_.permute(te))>>>0,I=le}_.rip(z,I,k,E)}},4756:(Ge,X,f)=>{"use strict";var e=f(3999),t=f(5035),_=f(4040),S=f(7066);function l(d,P){e.equal(P.length,24,"Invalid key length");var p=P.slice(0,8),L=P.slice(8,16),M=P.slice(16,24);this.ciphers="encrypt"===d?[S.create({type:"encrypt",key:p}),S.create({type:"decrypt",key:L}),S.create({type:"encrypt",key:M})]:[S.create({type:"decrypt",key:M}),S.create({type:"encrypt",key:L}),S.create({type:"decrypt",key:p})]}function D(d){_.call(this,d);var P=new l(this.type,this.options.key);this._edeState=P}t(D,_),Ge.exports=D,D.create=function(P){return new D(P)},D.prototype._update=function(P,p,L,M){var k=this._edeState;k.ciphers[0]._update(P,p,L,M),k.ciphers[1]._update(L,M,L,M),k.ciphers[2]._update(L,M,L,M)},D.prototype._pad=S.prototype._pad,D.prototype._unpad=S.prototype._unpad},6272:(Ge,X)=>{"use strict";X.readUInt32BE=function(S,l){return(S[0+l]<<24|S[1+l]<<16|S[2+l]<<8|S[3+l])>>>0},X.writeUInt32BE=function(S,l,D){S[0+D]=l>>>24,S[1+D]=l>>>16&255,S[2+D]=l>>>8&255,S[3+D]=255&l},X.ip=function(S,l,D,d){for(var P=0,p=0,L=6;L>=0;L-=2){for(var M=0;M<=24;M+=8)P<<=1,P|=l>>>M+L&1;for(M=0;M<=24;M+=8)P<<=1,P|=S>>>M+L&1}for(L=6;L>=0;L-=2){for(M=1;M<=25;M+=8)p<<=1,p|=l>>>M+L&1;for(M=1;M<=25;M+=8)p<<=1,p|=S>>>M+L&1}D[d+0]=P>>>0,D[d+1]=p>>>0},X.rip=function(S,l,D,d){for(var P=0,p=0,L=0;L<4;L++)for(var M=24;M>=0;M-=8)P<<=1,P|=l>>>M+L&1,P<<=1,P|=S>>>M+L&1;for(L=4;L<8;L++)for(M=24;M>=0;M-=8)p<<=1,p|=l>>>M+L&1,p<<=1,p|=S>>>M+L&1;D[d+0]=P>>>0,D[d+1]=p>>>0},X.pc1=function(S,l,D,d){for(var P=0,p=0,L=7;L>=5;L--){for(var M=0;M<=24;M+=8)P<<=1,P|=l>>M+L&1;for(M=0;M<=24;M+=8)P<<=1,P|=S>>M+L&1}for(M=0;M<=24;M+=8)P<<=1,P|=l>>M+L&1;for(L=1;L<=3;L++){for(M=0;M<=24;M+=8)p<<=1,p|=l>>M+L&1;for(M=0;M<=24;M+=8)p<<=1,p|=S>>M+L&1}for(M=0;M<=24;M+=8)p<<=1,p|=S>>M+L&1;D[d+0]=P>>>0,D[d+1]=p>>>0},X.r28shl=function(S,l){return S<<l&268435455|S>>>28-l};var f=[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];X.pc2=function(S,l,D,d){for(var P=0,p=0,L=f.length>>>1,M=0;M<L;M++)P<<=1,P|=S>>>f[M]&1;for(M=L;M<f.length;M++)p<<=1,p|=l>>>f[M]&1;D[d+0]=P>>>0,D[d+1]=p>>>0},X.expand=function(S,l,D){var d=0,P=0;d=(1&S)<<5|S>>>27;for(var p=23;p>=15;p-=4)d<<=6,d|=S>>>p&63;for(p=11;p>=3;p-=4)P|=S>>>p&63,P<<=6;P|=(31&S)<<1|S>>>31,l[D+0]=d>>>0,l[D+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];X.substitute=function(S,l){for(var D=0,d=0;d<4;d++){D<<=4,D|=e[64*d+(S>>>18-6*d&63)]}for(d=0;d<4;d++){D<<=4,D|=e[256+64*d+(l>>>18-6*d&63)]}return D>>>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];X.permute=function(S){for(var l=0,D=0;D<t.length;D++)l<<=1,l|=S>>>t[D]&1;return l>>>0},X.padSplit=function(S,l,D){for(var d=S.toString(2);d.length<l;)d="0"+d;for(var P=[],p=0;p<l;p+=D)P.push(d.slice(p,p+D));return P.join(" ")}},5078:(Ge,X,f)=>{var e=f(2847),t=f(9799),_=f(5648);var l={binary:!0,hex:!0,base64:!0};X.DiffieHellmanGroup=X.createDiffieHellmanGroup=X.getDiffieHellman=function S(d){var P=new Buffer(t[d].prime,"hex"),p=new Buffer(t[d].gen,"hex");return new _(P,p)},X.createDiffieHellman=X.DiffieHellman=function D(d,P,p,L){return Buffer.isBuffer(P)||void 0===l[P]?D(d,"binary",P,p):(P=P||"binary",L=L||"binary",p=p||new Buffer([2]),Buffer.isBuffer(p)||(p=new Buffer(p,L)),"number"==typeof d?new _(e(d,p),p,!0):(Buffer.isBuffer(d)||(d=new Buffer(d,P)),new _(d,p,!0)))}},5648:(Ge,X,f)=>{var e=f(490),_=new(f(7789)),S=new e(24),l=new e(11),D=new e(10),d=new e(3),P=new e(7),p=f(2847),L=f(1186);function M(Z,q){return q=q||"utf8",Buffer.isBuffer(Z)||(Z=new Buffer(Z,q)),this._pub=new e(Z),this}function k(Z,q){return q=q||"utf8",Buffer.isBuffer(Z)||(Z=new Buffer(Z,q)),this._priv=new e(Z),this}Ge.exports=I;var E={};function I(Z,q,te){this.setGenerator(q),this.__prime=new e(Z),this._prime=e.mont(this.__prime),this._primeLen=Z.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,te?(this.setPublicKey=M,this.setPrivateKey=k):this._primeCode=8}function V(Z,q){var te=new Buffer(Z.toArray());return q?te.toString(q):te}Object.defineProperty(I.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function z(Z,q){var te=q.toString("hex"),ne=[te,Z.toString(16)].join("_");if(ne in E)return E[ne];var re,le=0;if(Z.isEven()||!p.simpleSieve||!p.fermatTest(Z)||!_.test(Z))return le+=1,le+="02"===te||"05"===te?8:4,E[ne]=le,le;switch(_.test(Z.shrn(1))||(le+=2),te){case"02":Z.mod(S).cmp(l)&&(le+=8);break;case"05":(re=Z.mod(D)).cmp(d)&&re.cmp(P)&&(le+=8);break;default:le+=4}return E[ne]=le,le}(this.__prime,this.__gen)),this._primeCode}}),I.prototype.generateKeys=function(){return this._priv||(this._priv=new e(L(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},I.prototype.computeSecret=function(Z){var q=(Z=(Z=new e(Z)).toRed(this._prime)).redPow(this._priv).fromRed(),te=new Buffer(q.toArray()),ne=this.getPrime();if(te.length<ne.length){var le=new Buffer(ne.length-te.length);le.fill(0),te=Buffer.concat([le,te])}return te},I.prototype.getPublicKey=function(q){return V(this._pub,q)},I.prototype.getPrivateKey=function(q){return V(this._priv,q)},I.prototype.getPrime=function(Z){return V(this.__prime,Z)},I.prototype.getGenerator=function(Z){return V(this._gen,Z)},I.prototype.setGenerator=function(Z,q){return q=q||"utf8",Buffer.isBuffer(Z)||(Z=new Buffer(Z,q)),this.__gen=Z,this._gen=new e(Z),this}},2847:(Ge,X,f)=>{var e=f(1186);Ge.exports=le,le.simpleSieve=te,le.fermatTest=ne;var t=f(490),_=new t(24),l=new(f(7789)),D=new t(1),d=new t(2),P=new t(5),M=(new t(16),new t(8),new t(10)),k=new t(3),z=(new t(7),new t(11)),I=new t(4),Z=(new t(12),null);function te(re){for(var _e=function q(){if(null!==Z)return Z;var _e=[];_e[0]=2;for(var he=1,ae=3;ae<1048576;ae+=2){for(var ve=Math.ceil(Math.sqrt(ae)),T=0;T<he&&_e[T]<=ve&&ae%_e[T]!=0;T++);he!==T&&_e[T]<=ve||(_e[he++]=ae)}return Z=_e,_e}(),he=0;he<_e.length;he++)if(0===re.modn(_e[he]))return 0===re.cmpn(_e[he]);return!0}function ne(re){var _e=t.mont(re);return 0===d.toRed(_e).redPow(re.subn(1)).fromRed().cmpn(1)}function le(re,_e){if(re<16)return new t(2===_e||5===_e?[140,123]:[140,39]);_e=new t(_e);for(var he,ae;;){for(he=new t(e(Math.ceil(re/8)));he.bitLength()>re;)he.ishrn(1);if(he.isEven()&&he.iadd(D),he.testn(1)||he.iadd(d),_e.cmp(d)){if(!_e.cmp(P))for(;he.mod(M).cmp(k);)he.iadd(I)}else for(;he.mod(_).cmp(z);)he.iadd(I);if(te(ae=he.shrn(1))&&te(he)&&ne(ae)&&ne(he)&&l.test(ae)&&l.test(he))return he}}},490:function(Ge,X,f){(function(e,t){"use strict";function _(T,i){if(!T)throw new Error(i||"Assertion failed")}function S(T,i){T.super_=i;var o=function(){};o.prototype=i.prototype,T.prototype=new o,T.prototype.constructor=T}function l(T,i,o){if(l.isBN(T))return T;this.negative=0,this.words=null,this.length=0,this.red=null,null!==T&&(("le"===i||"be"===i)&&(o=i,i=10),this._init(T||0,i||10,o||"be"))}var D;"object"==typeof e?e.exports=l:t.BN=l,l.BN=l,l.wordSize=26;try{D=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:f(7748).Buffer}catch{}function d(T,i){var o=T.charCodeAt(i);return o>=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function P(T,i,o){var m=d(T,o);return o-1>=i&&(m|=d(T,o-1)<<4),m}function p(T,i,o,m){for(var h=0,y=Math.min(T.length,o),A=i;A<y;A++){var R=T.charCodeAt(A)-48;h*=m,h+=R>=49?R-49+10:R>=17?R-17+10:R}return h}l.isBN=function(i){return i instanceof l||null!==i&&"object"==typeof i&&i.constructor.wordSize===l.wordSize&&Array.isArray(i.words)},l.max=function(i,o){return i.cmp(o)>0?i:o},l.min=function(i,o){return i.cmp(o)<0?i:o},l.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),_(o===(0|o)&&o>=2&&o<=36);var h=0;"-"===(i=i.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h<i.length&&(16===o?this._parseHex(i,h,m):(this._parseBase(i,o,h),"le"===m&&this._initArray(this.toArray(),o,m)))},l.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):(_(i<9007199254740992),this.words=[67108863&i,i/67108864&67108863,1],this.length=3),"le"===m&&this._initArray(this.toArray(),o,m)},l.prototype._initArray=function(i,o,m){if(_("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 h=0;h<this.length;h++)this.words[h]=0;var y,A,R=0;if("be"===m)for(h=i.length-1,y=0;h>=0;h-=3)A=i[h]|i[h-1]<<8|i[h-2]<<16,this.words[y]|=A<<R&67108863,this.words[y+1]=A>>>26-R&67108863,(R+=24)>=26&&(R-=26,y++);else if("le"===m)for(h=0,y=0;h<i.length;h+=3)A=i[h]|i[h+1]<<8|i[h+2]<<16,this.words[y]|=A<<R&67108863,this.words[y+1]=A>>>26-R&67108863,(R+=24)>=26&&(R-=26,y++);return this.strip()},l.prototype._parseHex=function(i,o,m){this.length=Math.ceil((i.length-o)/6),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var R,y=0,A=0;if("be"===m)for(h=i.length-1;h>=o;h-=2)R=P(i,o,h)<<y,this.words[A]|=67108863&R,y>=18?(y-=18,A+=1,this.words[A]|=R>>>26):y+=8;else for(h=(i.length-o)%2==0?o+1:o;h<i.length;h+=2)R=P(i,o,h)<<y,this.words[A]|=67108863&R,y>=18?(y-=18,A+=1,this.words[A]|=R>>>26):y+=8;this.strip()},l.prototype._parseBase=function(i,o,m){this.words=[0],this.length=1;for(var h=0,y=1;y<=67108863;y*=o)h++;h--,y=y/o|0;for(var A=i.length-m,R=A%h,v=Math.min(A,A-R)+m,a=0,C=m;C<v;C+=h)a=p(i,C,C+h,o),this.imuln(y),this.words[0]+a<67108864?this.words[0]+=a:this._iaddn(a);if(0!==R){var U=1;for(a=p(i,C,i.length,o),C=0;C<R;C++)U*=o;this.imuln(U),this.words[0]+a<67108864?this.words[0]+=a:this._iaddn(a)}this.strip()},l.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},l.prototype.clone=function(){var i=new l(null);return this.copy(i),i},l.prototype._expand=function(i){for(;this.length<i;)this.words[this.length++]=0;return this},l.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},l.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},l.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var L=["","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],k=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function z(T,i,o){o.negative=i.negative^T.negative;var m=T.length+i.length|0;o.length=m,m=m-1|0;var h=0|T.words[0],y=0|i.words[0],A=h*y,R=67108863&A,v=A/67108864|0;o.words[0]=R;for(var a=1;a<m;a++){for(var C=v>>>26,U=67108863&v,N=Math.min(a,i.length-1),Q=Math.max(0,a-T.length+1);Q<=N;Q++){var Pe=a-Q|0;C+=(A=(h=0|T.words[Pe])*(y=0|i.words[Q])+U)/67108864|0,U=67108863&A}o.words[a]=0|U,v=0|C}return 0!==v?o.words[a]=0|v:o.length--,o.strip()}l.prototype.toString=function(i,o){var m;if(o=0|o||1,16===(i=i||10)||"hex"===i){m="";for(var h=0,y=0,A=0;A<this.length;A++){var R=this.words[A],v=(16777215&(R<<h|y)).toString(16);m=0!==(y=R>>>24-h&16777215)||A!==this.length-1?L[6-v.length]+v+m:v+m,(h+=2)>=26&&(h-=26,A--)}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 a=M[i],C=k[i];m="";var U=this.clone();for(U.negative=0;!U.isZero();){var N=U.modn(C).toString(i);m=(U=U.idivn(C)).isZero()?N+m:L[a-N.length]+N+m}for(this.isZero()&&(m="0"+m);m.length%o!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}_(!1,"Base should be between 2 and 36")},l.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&&_(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-i:i},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(i,o){return _(typeof D<"u"),this.toArrayLike(D,i,o)},l.prototype.toArray=function(i,o){return this.toArrayLike(Array,i,o)},l.prototype.toArrayLike=function(i,o,m){var h=this.byteLength(),y=m||Math.max(1,h);_(h<=y,"byte array longer than desired length"),_(y>0,"Requested array length <= 0"),this.strip();var v,a,A="le"===o,R=new i(y),C=this.clone();if(A){for(a=0;!C.isZero();a++)v=C.andln(255),C.iushrn(8),R[a]=v;for(;a<y;a++)R[a]=0}else{for(a=0;a<y-h;a++)R[a]=0;for(a=0;!C.isZero();a++)v=C.andln(255),C.iushrn(8),R[y-a-1]=v}return R},Math.clz32?l.prototype._countBits=function(i){return 32-Math.clz32(i)}:l.prototype._countBits=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},l.prototype._zeroBits=function(i){if(0===i)return 26;var o=i,m=0;return 0==(8191&o)&&(m+=13,o>>>=13),0==(127&o)&&(m+=7,o>>>=7),0==(15&o)&&(m+=4,o>>>=4),0==(3&o)&&(m+=2,o>>>=2),0==(1&o)&&m++,m},l.prototype.bitLength=function(){var i=this.words[this.length-1],o=this._countBits(i);return 26*(this.length-1)+o},l.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},l.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},l.prototype.toTwos=function(i){return 0!==this.negative?this.abs().inotn(i).iaddn(1):this.clone()},l.prototype.fromTwos=function(i){return this.testn(i-1)?this.notn(i).iaddn(1).ineg():this.clone()},l.prototype.isNeg=function(){return 0!==this.negative},l.prototype.neg=function(){return this.clone().ineg()},l.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},l.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()},l.prototype.ior=function(i){return _(0==(this.negative|i.negative)),this.iuor(i)},l.prototype.or=function(i){return this.length>i.length?this.clone().ior(i):i.clone().ior(this)},l.prototype.uor=function(i){return this.length>i.length?this.clone().iuor(i):i.clone().iuor(this)},l.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()},l.prototype.iand=function(i){return _(0==(this.negative|i.negative)),this.iuand(i)},l.prototype.and=function(i){return this.length>i.length?this.clone().iand(i):i.clone().iand(this)},l.prototype.uand=function(i){return this.length>i.length?this.clone().iuand(i):i.clone().iuand(this)},l.prototype.iuxor=function(i){var o,m;this.length>i.length?(o=this,m=i):(o=i,m=this);for(var h=0;h<m.length;h++)this.words[h]=o.words[h]^m.words[h];if(this!==o)for(;h<o.length;h++)this.words[h]=o.words[h];return this.length=o.length,this.strip()},l.prototype.ixor=function(i){return _(0==(this.negative|i.negative)),this.iuxor(i)},l.prototype.xor=function(i){return this.length>i.length?this.clone().ixor(i):i.clone().ixor(this)},l.prototype.uxor=function(i){return this.length>i.length?this.clone().iuxor(i):i.clone().iuxor(this)},l.prototype.inotn=function(i){_("number"==typeof i&&i>=0);var o=0|Math.ceil(i/26),m=i%26;this._expand(o),m>0&&o--;for(var h=0;h<o;h++)this.words[h]=67108863&~this.words[h];return m>0&&(this.words[h]=~this.words[h]&67108863>>26-m),this.strip()},l.prototype.notn=function(i){return this.clone().inotn(i)},l.prototype.setn=function(i,o){_("number"==typeof i&&i>=0);var m=i/26|0,h=i%26;return this._expand(m+1),this.words[m]=o?this.words[m]|1<<h:this.words[m]&~(1<<h),this.strip()},l.prototype.iadd=function(i){var o,m,h;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,h=i):(m=i,h=this);for(var y=0,A=0;A<h.length;A++)o=(0|m.words[A])+(0|h.words[A])+y,this.words[A]=67108863&o,y=o>>>26;for(;0!==y&&A<m.length;A++)o=(0|m.words[A])+y,this.words[A]=67108863&o,y=o>>>26;if(this.length=m.length,0!==y)this.words[this.length]=y,this.length++;else if(m!==this)for(;A<m.length;A++)this.words[A]=m.words[A];return this},l.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)},l.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 h,y,m=this.cmp(i);if(0===m)return this.negative=0,this.length=1,this.words[0]=0,this;m>0?(h=this,y=i):(h=i,y=this);for(var A=0,R=0;R<y.length;R++)A=(o=(0|h.words[R])-(0|y.words[R])+A)>>26,this.words[R]=67108863&o;for(;0!==A&&R<h.length;R++)A=(o=(0|h.words[R])+A)>>26,this.words[R]=67108863&o;if(0===A&&R<h.length&&h!==this)for(;R<h.length;R++)this.words[R]=h.words[R];return this.length=Math.max(this.length,R),h!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(i){return this.clone().isub(i)};var I=function(i,o,m){var v,a,C,h=i.words,y=o.words,A=m.words,R=0,U=0|h[0],N=8191&U,Q=U>>>13,Pe=0|h[1],Le=8191&Pe,Ye=Pe>>>13,$e=0|h[2],Ve=8191&$e,be=$e>>>13,et=0|h[3],je=8191&et,ye=et>>>13,Te=0|h[4],He=8191&Te,Ee=Te>>>13,we=0|h[5],de=8191&we,Me=we>>>13,ie=0|h[6],G=8191&ie,$=ie>>>13,ze=0|h[7],Ue=8191&ze,oe=ze>>>13,bt=0|h[8],Be=8191&bt,nt=bt>>>13,$t=0|h[9],gt=8191&$t,rt=$t>>>13,Re=0|y[0],ot=8191&Re,St=Re>>>13,gi=0|y[1],oi=8191&gi,ei=gi>>>13,Zi=0|y[2],si=8191&Zi,Bt=Zi>>>13,Je=0|y[3],me=8191&Je,K=Je>>>13,J=0|y[4],Ce=8191&J,We=J>>>13,Mt=0|y[5],Tt=8191&Mt,Nt=Mt>>>13,at=0|y[6],Ke=8191&at,vt=at>>>13,ri=0|y[7],Pt=8191&ri,Lt=ri>>>13,Kt=0|y[8],Ae=8191&Kt,fe=Kt>>>13,st=0|y[9],_t=8191&st,kt=st>>>13;m.negative=i.negative^o.negative,m.length=19;var Oi=(R+(v=Math.imul(N,ot))|0)+((8191&(a=(a=Math.imul(N,St))+Math.imul(Q,ot)|0))<<13)|0;R=((C=Math.imul(Q,St))+(a>>>13)|0)+(Oi>>>26)|0,Oi&=67108863,v=Math.imul(Le,ot),a=(a=Math.imul(Le,St))+Math.imul(Ye,ot)|0,C=Math.imul(Ye,St);var Li=(R+(v=v+Math.imul(N,oi)|0)|0)+((8191&(a=(a=a+Math.imul(N,ei)|0)+Math.imul(Q,oi)|0))<<13)|0;R=((C=C+Math.imul(Q,ei)|0)+(a>>>13)|0)+(Li>>>26)|0,Li&=67108863,v=Math.imul(Ve,ot),a=(a=Math.imul(Ve,St))+Math.imul(be,ot)|0,C=Math.imul(be,St),v=v+Math.imul(Le,oi)|0,a=(a=a+Math.imul(Le,ei)|0)+Math.imul(Ye,oi)|0,C=C+Math.imul(Ye,ei)|0;var Ei=(R+(v=v+Math.imul(N,si)|0)|0)+((8191&(a=(a=a+Math.imul(N,Bt)|0)+Math.imul(Q,si)|0))<<13)|0;R=((C=C+Math.imul(Q,Bt)|0)+(a>>>13)|0)+(Ei>>>26)|0,Ei&=67108863,v=Math.imul(je,ot),a=(a=Math.imul(je,St))+Math.imul(ye,ot)|0,C=Math.imul(ye,St),v=v+Math.imul(Ve,oi)|0,a=(a=a+Math.imul(Ve,ei)|0)+Math.imul(be,oi)|0,C=C+Math.imul(be,ei)|0,v=v+Math.imul(Le,si)|0,a=(a=a+Math.imul(Le,Bt)|0)+Math.imul(Ye,si)|0,C=C+Math.imul(Ye,Bt)|0;var Wi=(R+(v=v+Math.imul(N,me)|0)|0)+((8191&(a=(a=a+Math.imul(N,K)|0)+Math.imul(Q,me)|0))<<13)|0;R=((C=C+Math.imul(Q,K)|0)+(a>>>13)|0)+(Wi>>>26)|0,Wi&=67108863,v=Math.imul(He,ot),a=(a=Math.imul(He,St))+Math.imul(Ee,ot)|0,C=Math.imul(Ee,St),v=v+Math.imul(je,oi)|0,a=(a=a+Math.imul(je,ei)|0)+Math.imul(ye,oi)|0,C=C+Math.imul(ye,ei)|0,v=v+Math.imul(Ve,si)|0,a=(a=a+Math.imul(Ve,Bt)|0)+Math.imul(be,si)|0,C=C+Math.imul(be,Bt)|0,v=v+Math.imul(Le,me)|0,a=(a=a+Math.imul(Le,K)|0)+Math.imul(Ye,me)|0,C=C+Math.imul(Ye,K)|0;var wt=(R+(v=v+Math.imul(N,Ce)|0)|0)+((8191&(a=(a=a+Math.imul(N,We)|0)+Math.imul(Q,Ce)|0))<<13)|0;R=((C=C+Math.imul(Q,We)|0)+(a>>>13)|0)+(wt>>>26)|0,wt&=67108863,v=Math.imul(de,ot),a=(a=Math.imul(de,St))+Math.imul(Me,ot)|0,C=Math.imul(Me,St),v=v+Math.imul(He,oi)|0,a=(a=a+Math.imul(He,ei)|0)+Math.imul(Ee,oi)|0,C=C+Math.imul(Ee,ei)|0,v=v+Math.imul(je,si)|0,a=(a=a+Math.imul(je,Bt)|0)+Math.imul(ye,si)|0,C=C+Math.imul(ye,Bt)|0,v=v+Math.imul(Ve,me)|0,a=(a=a+Math.imul(Ve,K)|0)+Math.imul(be,me)|0,C=C+Math.imul(be,K)|0,v=v+Math.imul(Le,Ce)|0,a=(a=a+Math.imul(Le,We)|0)+Math.imul(Ye,Ce)|0,C=C+Math.imul(Ye,We)|0;var qe=(R+(v=v+Math.imul(N,Tt)|0)|0)+((8191&(a=(a=a+Math.imul(N,Nt)|0)+Math.imul(Q,Tt)|0))<<13)|0;R=((C=C+Math.imul(Q,Nt)|0)+(a>>>13)|0)+(qe>>>26)|0,qe&=67108863,v=Math.imul(G,ot),a=(a=Math.imul(G,St))+Math.imul($,ot)|0,C=Math.imul($,St),v=v+Math.imul(de,oi)|0,a=(a=a+Math.imul(de,ei)|0)+Math.imul(Me,oi)|0,C=C+Math.imul(Me,ei)|0,v=v+Math.imul(He,si)|0,a=(a=a+Math.imul(He,Bt)|0)+Math.imul(Ee,si)|0,C=C+Math.imul(Ee,Bt)|0,v=v+Math.imul(je,me)|0,a=(a=a+Math.imul(je,K)|0)+Math.imul(ye,me)|0,C=C+Math.imul(ye,K)|0,v=v+Math.imul(Ve,Ce)|0,a=(a=a+Math.imul(Ve,We)|0)+Math.imul(be,Ce)|0,C=C+Math.imul(be,We)|0,v=v+Math.imul(Le,Tt)|0,a=(a=a+Math.imul(Le,Nt)|0)+Math.imul(Ye,Tt)|0,C=C+Math.imul(Ye,Nt)|0;var Ne=(R+(v=v+Math.imul(N,Ke)|0)|0)+((8191&(a=(a=a+Math.imul(N,vt)|0)+Math.imul(Q,Ke)|0))<<13)|0;R=((C=C+Math.imul(Q,vt)|0)+(a>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,v=Math.imul(Ue,ot),a=(a=Math.imul(Ue,St))+Math.imul(oe,ot)|0,C=Math.imul(oe,St),v=v+Math.imul(G,oi)|0,a=(a=a+Math.imul(G,ei)|0)+Math.imul($,oi)|0,C=C+Math.imul($,ei)|0,v=v+Math.imul(de,si)|0,a=(a=a+Math.imul(de,Bt)|0)+Math.imul(Me,si)|0,C=C+Math.imul(Me,Bt)|0,v=v+Math.imul(He,me)|0,a=(a=a+Math.imul(He,K)|0)+Math.imul(Ee,me)|0,C=C+Math.imul(Ee,K)|0,v=v+Math.imul(je,Ce)|0,a=(a=a+Math.imul(je,We)|0)+Math.imul(ye,Ce)|0,C=C+Math.imul(ye,We)|0,v=v+Math.imul(Ve,Tt)|0,a=(a=a+Math.imul(Ve,Nt)|0)+Math.imul(be,Tt)|0,C=C+Math.imul(be,Nt)|0,v=v+Math.imul(Le,Ke)|0,a=(a=a+Math.imul(Le,vt)|0)+Math.imul(Ye,Ke)|0,C=C+Math.imul(Ye,vt)|0;var Vt=(R+(v=v+Math.imul(N,Pt)|0)|0)+((8191&(a=(a=a+Math.imul(N,Lt)|0)+Math.imul(Q,Pt)|0))<<13)|0;R=((C=C+Math.imul(Q,Lt)|0)+(a>>>13)|0)+(Vt>>>26)|0,Vt&=67108863,v=Math.imul(Be,ot),a=(a=Math.imul(Be,St))+Math.imul(nt,ot)|0,C=Math.imul(nt,St),v=v+Math.imul(Ue,oi)|0,a=(a=a+Math.imul(Ue,ei)|0)+Math.imul(oe,oi)|0,C=C+Math.imul(oe,ei)|0,v=v+Math.imul(G,si)|0,a=(a=a+Math.imul(G,Bt)|0)+Math.imul($,si)|0,C=C+Math.imul($,Bt)|0,v=v+Math.imul(de,me)|0,a=(a=a+Math.imul(de,K)|0)+Math.imul(Me,me)|0,C=C+Math.imul(Me,K)|0,v=v+Math.imul(He,Ce)|0,a=(a=a+Math.imul(He,We)|0)+Math.imul(Ee,Ce)|0,C=C+Math.imul(Ee,We)|0,v=v+Math.imul(je,Tt)|0,a=(a=a+Math.imul(je,Nt)|0)+Math.imul(ye,Tt)|0,C=C+Math.imul(ye,Nt)|0,v=v+Math.imul(Ve,Ke)|0,a=(a=a+Math.imul(Ve,vt)|0)+Math.imul(be,Ke)|0,C=C+Math.imul(be,vt)|0,v=v+Math.imul(Le,Pt)|0,a=(a=a+Math.imul(Le,Lt)|0)+Math.imul(Ye,Pt)|0,C=C+Math.imul(Ye,Lt)|0;var jt=(R+(v=v+Math.imul(N,Ae)|0)|0)+((8191&(a=(a=a+Math.imul(N,fe)|0)+Math.imul(Q,Ae)|0))<<13)|0;R=((C=C+Math.imul(Q,fe)|0)+(a>>>13)|0)+(jt>>>26)|0,jt&=67108863,v=Math.imul(gt,ot),a=(a=Math.imul(gt,St))+Math.imul(rt,ot)|0,C=Math.imul(rt,St),v=v+Math.imul(Be,oi)|0,a=(a=a+Math.imul(Be,ei)|0)+Math.imul(nt,oi)|0,C=C+Math.imul(nt,ei)|0,v=v+Math.imul(Ue,si)|0,a=(a=a+Math.imul(Ue,Bt)|0)+Math.imul(oe,si)|0,C=C+Math.imul(oe,Bt)|0,v=v+Math.imul(G,me)|0,a=(a=a+Math.imul(G,K)|0)+Math.imul($,me)|0,C=C+Math.imul($,K)|0,v=v+Math.imul(de,Ce)|0,a=(a=a+Math.imul(de,We)|0)+Math.imul(Me,Ce)|0,C=C+Math.imul(Me,We)|0,v=v+Math.imul(He,Tt)|0,a=(a=a+Math.imul(He,Nt)|0)+Math.imul(Ee,Tt)|0,C=C+Math.imul(Ee,Nt)|0,v=v+Math.imul(je,Ke)|0,a=(a=a+Math.imul(je,vt)|0)+Math.imul(ye,Ke)|0,C=C+Math.imul(ye,vt)|0,v=v+Math.imul(Ve,Pt)|0,a=(a=a+Math.imul(Ve,Lt)|0)+Math.imul(be,Pt)|0,C=C+Math.imul(be,Lt)|0,v=v+Math.imul(Le,Ae)|0,a=(a=a+Math.imul(Le,fe)|0)+Math.imul(Ye,Ae)|0,C=C+Math.imul(Ye,fe)|0;var fi=(R+(v=v+Math.imul(N,_t)|0)|0)+((8191&(a=(a=a+Math.imul(N,kt)|0)+Math.imul(Q,_t)|0))<<13)|0;R=((C=C+Math.imul(Q,kt)|0)+(a>>>13)|0)+(fi>>>26)|0,fi&=67108863,v=Math.imul(gt,oi),a=(a=Math.imul(gt,ei))+Math.imul(rt,oi)|0,C=Math.imul(rt,ei),v=v+Math.imul(Be,si)|0,a=(a=a+Math.imul(Be,Bt)|0)+Math.imul(nt,si)|0,C=C+Math.imul(nt,Bt)|0,v=v+Math.imul(Ue,me)|0,a=(a=a+Math.imul(Ue,K)|0)+Math.imul(oe,me)|0,C=C+Math.imul(oe,K)|0,v=v+Math.imul(G,Ce)|0,a=(a=a+Math.imul(G,We)|0)+Math.imul($,Ce)|0,C=C+Math.imul($,We)|0,v=v+Math.imul(de,Tt)|0,a=(a=a+Math.imul(de,Nt)|0)+Math.imul(Me,Tt)|0,C=C+Math.imul(Me,Nt)|0,v=v+Math.imul(He,Ke)|0,a=(a=a+Math.imul(He,vt)|0)+Math.imul(Ee,Ke)|0,C=C+Math.imul(Ee,vt)|0,v=v+Math.imul(je,Pt)|0,a=(a=a+Math.imul(je,Lt)|0)+Math.imul(ye,Pt)|0,C=C+Math.imul(ye,Lt)|0,v=v+Math.imul(Ve,Ae)|0,a=(a=a+Math.imul(Ve,fe)|0)+Math.imul(be,Ae)|0,C=C+Math.imul(be,fe)|0;var Si=(R+(v=v+Math.imul(Le,_t)|0)|0)+((8191&(a=(a=a+Math.imul(Le,kt)|0)+Math.imul(Ye,_t)|0))<<13)|0;R=((C=C+Math.imul(Ye,kt)|0)+(a>>>13)|0)+(Si>>>26)|0,Si&=67108863,v=Math.imul(gt,si),a=(a=Math.imul(gt,Bt))+Math.imul(rt,si)|0,C=Math.imul(rt,Bt),v=v+Math.imul(Be,me)|0,a=(a=a+Math.imul(Be,K)|0)+Math.imul(nt,me)|0,C=C+Math.imul(nt,K)|0,v=v+Math.imul(Ue,Ce)|0,a=(a=a+Math.imul(Ue,We)|0)+Math.imul(oe,Ce)|0,C=C+Math.imul(oe,We)|0,v=v+Math.imul(G,Tt)|0,a=(a=a+Math.imul(G,Nt)|0)+Math.imul($,Tt)|0,C=C+Math.imul($,Nt)|0,v=v+Math.imul(de,Ke)|0,a=(a=a+Math.imul(de,vt)|0)+Math.imul(Me,Ke)|0,C=C+Math.imul(Me,vt)|0,v=v+Math.imul(He,Pt)|0,a=(a=a+Math.imul(He,Lt)|0)+Math.imul(Ee,Pt)|0,C=C+Math.imul(Ee,Lt)|0,v=v+Math.imul(je,Ae)|0,a=(a=a+Math.imul(je,fe)|0)+Math.imul(ye,Ae)|0,C=C+Math.imul(ye,fe)|0;var ki=(R+(v=v+Math.imul(Ve,_t)|0)|0)+((8191&(a=(a=a+Math.imul(Ve,kt)|0)+Math.imul(be,_t)|0))<<13)|0;R=((C=C+Math.imul(be,kt)|0)+(a>>>13)|0)+(ki>>>26)|0,ki&=67108863,v=Math.imul(gt,me),a=(a=Math.imul(gt,K))+Math.imul(rt,me)|0,C=Math.imul(rt,K),v=v+Math.imul(Be,Ce)|0,a=(a=a+Math.imul(Be,We)|0)+Math.imul(nt,Ce)|0,C=C+Math.imul(nt,We)|0,v=v+Math.imul(Ue,Tt)|0,a=(a=a+Math.imul(Ue,Nt)|0)+Math.imul(oe,Tt)|0,C=C+Math.imul(oe,Nt)|0,v=v+Math.imul(G,Ke)|0,a=(a=a+Math.imul(G,vt)|0)+Math.imul($,Ke)|0,C=C+Math.imul($,vt)|0,v=v+Math.imul(de,Pt)|0,a=(a=a+Math.imul(de,Lt)|0)+Math.imul(Me,Pt)|0,C=C+Math.imul(Me,Lt)|0,v=v+Math.imul(He,Ae)|0,a=(a=a+Math.imul(He,fe)|0)+Math.imul(Ee,Ae)|0,C=C+Math.imul(Ee,fe)|0;var Gi=(R+(v=v+Math.imul(je,_t)|0)|0)+((8191&(a=(a=a+Math.imul(je,kt)|0)+Math.imul(ye,_t)|0))<<13)|0;R=((C=C+Math.imul(ye,kt)|0)+(a>>>13)|0)+(Gi>>>26)|0,Gi&=67108863,v=Math.imul(gt,Ce),a=(a=Math.imul(gt,We))+Math.imul(rt,Ce)|0,C=Math.imul(rt,We),v=v+Math.imul(Be,Tt)|0,a=(a=a+Math.imul(Be,Nt)|0)+Math.imul(nt,Tt)|0,C=C+Math.imul(nt,Nt)|0,v=v+Math.imul(Ue,Ke)|0,a=(a=a+Math.imul(Ue,vt)|0)+Math.imul(oe,Ke)|0,C=C+Math.imul(oe,vt)|0,v=v+Math.imul(G,Pt)|0,a=(a=a+Math.imul(G,Lt)|0)+Math.imul($,Pt)|0,C=C+Math.imul($,Lt)|0,v=v+Math.imul(de,Ae)|0,a=(a=a+Math.imul(de,fe)|0)+Math.imul(Me,Ae)|0,C=C+Math.imul(Me,fe)|0;var Qt=(R+(v=v+Math.imul(He,_t)|0)|0)+((8191&(a=(a=a+Math.imul(He,kt)|0)+Math.imul(Ee,_t)|0))<<13)|0;R=((C=C+Math.imul(Ee,kt)|0)+(a>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,v=Math.imul(gt,Tt),a=(a=Math.imul(gt,Nt))+Math.imul(rt,Tt)|0,C=Math.imul(rt,Nt),v=v+Math.imul(Be,Ke)|0,a=(a=a+Math.imul(Be,vt)|0)+Math.imul(nt,Ke)|0,C=C+Math.imul(nt,vt)|0,v=v+Math.imul(Ue,Pt)|0,a=(a=a+Math.imul(Ue,Lt)|0)+Math.imul(oe,Pt)|0,C=C+Math.imul(oe,Lt)|0,v=v+Math.imul(G,Ae)|0,a=(a=a+Math.imul(G,fe)|0)+Math.imul($,Ae)|0,C=C+Math.imul($,fe)|0;var xe=(R+(v=v+Math.imul(de,_t)|0)|0)+((8191&(a=(a=a+Math.imul(de,kt)|0)+Math.imul(Me,_t)|0))<<13)|0;R=((C=C+Math.imul(Me,kt)|0)+(a>>>13)|0)+(xe>>>26)|0,xe&=67108863,v=Math.imul(gt,Ke),a=(a=Math.imul(gt,vt))+Math.imul(rt,Ke)|0,C=Math.imul(rt,vt),v=v+Math.imul(Be,Pt)|0,a=(a=a+Math.imul(Be,Lt)|0)+Math.imul(nt,Pt)|0,C=C+Math.imul(nt,Lt)|0,v=v+Math.imul(Ue,Ae)|0,a=(a=a+Math.imul(Ue,fe)|0)+Math.imul(oe,Ae)|0,C=C+Math.imul(oe,fe)|0;var ke=(R+(v=v+Math.imul(G,_t)|0)|0)+((8191&(a=(a=a+Math.imul(G,kt)|0)+Math.imul($,_t)|0))<<13)|0;R=((C=C+Math.imul($,kt)|0)+(a>>>13)|0)+(ke>>>26)|0,ke&=67108863,v=Math.imul(gt,Pt),a=(a=Math.imul(gt,Lt))+Math.imul(rt,Pt)|0,C=Math.imul(rt,Lt),v=v+Math.imul(Be,Ae)|0,a=(a=a+Math.imul(Be,fe)|0)+Math.imul(nt,Ae)|0,C=C+Math.imul(nt,fe)|0;var ft=(R+(v=v+Math.imul(Ue,_t)|0)|0)+((8191&(a=(a=a+Math.imul(Ue,kt)|0)+Math.imul(oe,_t)|0))<<13)|0;R=((C=C+Math.imul(oe,kt)|0)+(a>>>13)|0)+(ft>>>26)|0,ft&=67108863,v=Math.imul(gt,Ae),a=(a=Math.imul(gt,fe))+Math.imul(rt,Ae)|0,C=Math.imul(rt,fe);var Rt=(R+(v=v+Math.imul(Be,_t)|0)|0)+((8191&(a=(a=a+Math.imul(Be,kt)|0)+Math.imul(nt,_t)|0))<<13)|0;R=((C=C+Math.imul(nt,kt)|0)+(a>>>13)|0)+(Rt>>>26)|0,Rt&=67108863;var di=(R+(v=Math.imul(gt,_t))|0)+((8191&(a=(a=Math.imul(gt,kt))+Math.imul(rt,_t)|0))<<13)|0;return R=((C=Math.imul(rt,kt))+(a>>>13)|0)+(di>>>26)|0,di&=67108863,A[0]=Oi,A[1]=Li,A[2]=Ei,A[3]=Wi,A[4]=wt,A[5]=qe,A[6]=Ne,A[7]=Vt,A[8]=jt,A[9]=fi,A[10]=Si,A[11]=ki,A[12]=Gi,A[13]=Qt,A[14]=xe,A[15]=ke,A[16]=ft,A[17]=Rt,A[18]=di,0!==R&&(A[19]=R,m.length++),m};function Z(T,i,o){return(new q).mulp(T,i,o)}function q(T,i){this.x=T,this.y=i}Math.imul||(I=z),l.prototype.mulTo=function(i,o){var m,h=this.length+i.length;return m=10===this.length&&10===i.length?I(this,i,o):h<63?z(this,i,o):h<1024?function V(T,i,o){o.negative=i.negative^T.negative,o.length=T.length+i.length;for(var m=0,h=0,y=0;y<o.length-1;y++){var A=h;h=0;for(var R=67108863&m,v=Math.min(y,i.length-1),a=Math.max(0,y-T.length+1);a<=v;a++){var C=y-a,Q=(0|T.words[C])*(0|i.words[a]),Pe=67108863&Q;R=67108863&(Pe=Pe+R|0),h+=(A=(A=A+(Q/67108864|0)|0)+(Pe>>>26)|0)>>>26,A&=67108863}o.words[y]=R,m=A,A=h}return 0!==m?o.words[y]=m:o.length--,o.strip()}(this,i,o):Z(this,i,o),m},q.prototype.makeRBT=function(i){for(var o=new Array(i),m=l.prototype._countBits(i)-1,h=0;h<i;h++)o[h]=this.revBin(h,m,i);return o},q.prototype.revBin=function(i,o,m){if(0===i||i===m-1)return i;for(var h=0,y=0;y<o;y++)h|=(1&i)<<o-y-1,i>>=1;return h},q.prototype.permute=function(i,o,m,h,y,A){for(var R=0;R<A;R++)h[R]=o[i[R]],y[R]=m[i[R]]},q.prototype.transform=function(i,o,m,h,y,A){this.permute(A,i,o,m,h,y);for(var R=1;R<y;R<<=1)for(var v=R<<1,a=Math.cos(2*Math.PI/v),C=Math.sin(2*Math.PI/v),U=0;U<y;U+=v)for(var N=a,Q=C,Pe=0;Pe<R;Pe++){var Le=m[U+Pe],Ye=h[U+Pe],$e=m[U+Pe+R],Ve=h[U+Pe+R],be=N*$e-Q*Ve;Ve=N*Ve+Q*$e,$e=be,m[U+Pe]=Le+$e,h[U+Pe]=Ye+Ve,m[U+Pe+R]=Le-$e,h[U+Pe+R]=Ye-Ve,Pe!==v&&(be=a*N-C*Q,Q=a*Q+C*N,N=be)}},q.prototype.guessLen13b=function(i,o){var m=1|Math.max(o,i),h=1&m,y=0;for(m=m/2|0;m;m>>>=1)y++;return 1<<y+1+h},q.prototype.conjugate=function(i,o,m){if(!(m<=1))for(var h=0;h<m/2;h++){var y=i[h];i[h]=i[m-h-1],i[m-h-1]=y,y=o[h],o[h]=-o[m-h-1],o[m-h-1]=-y}},q.prototype.normalize13b=function(i,o){for(var m=0,h=0;h<o/2;h++){var y=8192*Math.round(i[2*h+1]/o)+Math.round(i[2*h]/o)+m;i[h]=67108863&y,m=y<67108864?0:y/67108864|0}return i},q.prototype.convert13b=function(i,o,m,h){for(var y=0,A=0;A<o;A++)y+=0|i[A],m[2*A]=8191&y,y>>>=13,m[2*A+1]=8191&y,y>>>=13;for(A=2*o;A<h;++A)m[A]=0;_(0===y),_(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 h=2*this.guessLen13b(i.length,o.length),y=this.makeRBT(h),A=this.stub(h),R=new Array(h),v=new Array(h),a=new Array(h),C=new Array(h),U=new Array(h),N=new Array(h),Q=m.words;Q.length=h,this.convert13b(i.words,i.length,R,h),this.convert13b(o.words,o.length,C,h),this.transform(R,A,v,a,h,y),this.transform(C,A,U,N,h,y);for(var Pe=0;Pe<h;Pe++){var Le=v[Pe]*U[Pe]-a[Pe]*N[Pe];a[Pe]=v[Pe]*N[Pe]+a[Pe]*U[Pe],v[Pe]=Le}return this.conjugate(v,a,h),this.transform(v,a,Q,A,h,y),this.conjugate(Q,A,h),this.normalize13b(Q,h),m.negative=i.negative^o.negative,m.length=i.length+o.length,m.strip()},l.prototype.mul=function(i){var o=new l(null);return o.words=new Array(this.length+i.length),this.mulTo(i,o)},l.prototype.mulf=function(i){var o=new l(null);return o.words=new Array(this.length+i.length),Z(this,i,o)},l.prototype.imul=function(i){return this.clone().mulTo(i,this)},l.prototype.imuln=function(i){_("number"==typeof i),_(i<67108864);for(var o=0,m=0;m<this.length;m++){var h=(0|this.words[m])*i,y=(67108863&h)+(67108863&o);o>>=26,o+=h/67108864|0,o+=y>>>26,this.words[m]=67108863&y}return 0!==o&&(this.words[m]=o,this.length++),this},l.prototype.muln=function(i){return this.clone().imuln(i)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(i){var o=function E(T){for(var i=new Array(T.bitLength()),o=0;o<i.length;o++){var m=o/26|0,h=o%26;i[o]=(T.words[m]&1<<h)>>>h}return i}(i);if(0===o.length)return new l(1);for(var m=this,h=0;h<o.length&&0===o[h];h++,m=m.sqr());if(++h<o.length)for(var y=m.sqr();h<o.length;h++,y=y.sqr())0!==o[h]&&(m=m.mul(y));return m},l.prototype.iushln=function(i){_("number"==typeof i&&i>=0);var y,o=i%26,m=(i-o)/26,h=67108863>>>26-o<<26-o;if(0!==o){var A=0;for(y=0;y<this.length;y++){var R=this.words[y]&h,v=(0|this.words[y])-R<<o;this.words[y]=v|A,A=R>>>26-o}A&&(this.words[y]=A,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()},l.prototype.ishln=function(i){return _(0===this.negative),this.iushln(i)},l.prototype.iushrn=function(i,o,m){var h;_("number"==typeof i&&i>=0),h=o?(o-o%26)/26:0;var y=i%26,A=Math.min((i-y)/26,this.length),R=67108863^67108863>>>y<<y,v=m;if(h-=A,h=Math.max(0,h),v){for(var a=0;a<A;a++)v.words[a]=this.words[a];v.length=A}if(0!==A)if(this.length>A)for(this.length-=A,a=0;a<this.length;a++)this.words[a]=this.words[a+A];else this.words[0]=0,this.length=1;var C=0;for(a=this.length-1;a>=0&&(0!==C||a>=h);a--){var U=0|this.words[a];this.words[a]=C<<26-y|U>>>y,C=U&R}return v&&0!==C&&(v.words[v.length++]=C),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(i,o,m){return _(0===this.negative),this.iushrn(i,o,m)},l.prototype.shln=function(i){return this.clone().ishln(i)},l.prototype.ushln=function(i){return this.clone().iushln(i)},l.prototype.shrn=function(i){return this.clone().ishrn(i)},l.prototype.ushrn=function(i){return this.clone().iushrn(i)},l.prototype.testn=function(i){_("number"==typeof i&&i>=0);var o=i%26,m=(i-o)/26,h=1<<o;return!(this.length<=m)&&!!(this.words[m]&h)},l.prototype.imaskn=function(i){_("number"==typeof i&&i>=0);var o=i%26,m=(i-o)/26;if(_(0===this.negative,"imaskn works only with positive numbers"),this.length<=m)return this;if(0!==o&&m++,this.length=Math.min(m,this.length),0!==o){var h=67108863^67108863>>>o<<o;this.words[this.length-1]&=h}return this.strip()},l.prototype.maskn=function(i){return this.clone().imaskn(i)},l.prototype.iaddn=function(i){return _("number"==typeof i),_(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)},l.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},l.prototype.isubn=function(i){if(_("number"==typeof i),_(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()},l.prototype.addn=function(i){return this.clone().iaddn(i)},l.prototype.subn=function(i){return this.clone().isubn(i)},l.prototype.iabs=function(){return this.negative=0,this},l.prototype.abs=function(){return this.clone().iabs()},l.prototype._ishlnsubmul=function(i,o,m){var y,h=i.length+m;this._expand(h);var A,R=0;for(y=0;y<i.length;y++){A=(0|this.words[y+m])+R;var v=(0|i.words[y])*o;R=((A-=67108863&v)>>26)-(v/67108864|0),this.words[y+m]=67108863&A}for(;y<this.length-m;y++)R=(A=(0|this.words[y+m])+R)>>26,this.words[y+m]=67108863&A;if(0===R)return this.strip();for(_(-1===R),R=0,y=0;y<this.length;y++)R=(A=-(0|this.words[y])+R)>>26,this.words[y]=67108863&A;return this.negative=1,this.strip()},l.prototype._wordDiv=function(i,o){var m=(this.length,i.length),h=this.clone(),y=i,A=0|y.words[y.length-1];0!==(m=26-this._countBits(A))&&(y=y.ushln(m),h.iushln(m),A=0|y.words[y.length-1]);var a,v=h.length-y.length;if("mod"!==o){(a=new l(null)).length=v+1,a.words=new Array(a.length);for(var C=0;C<a.length;C++)a.words[C]=0}var U=h.clone()._ishlnsubmul(y,1,v);0===U.negative&&(h=U,a&&(a.words[v]=1));for(var N=v-1;N>=0;N--){var Q=67108864*(0|h.words[y.length+N])+(0|h.words[y.length+N-1]);for(Q=Math.min(Q/A|0,67108863),h._ishlnsubmul(y,Q,N);0!==h.negative;)Q--,h.negative=0,h._ishlnsubmul(y,1,N),h.isZero()||(h.negative^=1);a&&(a.words[N]=Q)}return a&&a.strip(),h.strip(),"div"!==o&&0!==m&&h.iushrn(m),{div:a||null,mod:h}},l.prototype.divmod=function(i,o,m){return _(!i.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===i.negative?(A=this.neg().divmod(i,o),"mod"!==o&&(h=A.div.neg()),"div"!==o&&(y=A.mod.neg(),m&&0!==y.negative&&y.iadd(i)),{div:h,mod:y}):0===this.negative&&0!==i.negative?(A=this.divmod(i.neg(),o),"mod"!==o&&(h=A.div.neg()),{div:h,mod:A.mod}):0!=(this.negative&i.negative)?(A=this.neg().divmod(i.neg(),o),"div"!==o&&(y=A.mod.neg(),m&&0!==y.negative&&y.isub(i)),{div:A.div,mod:y}):i.length>this.length||this.cmp(i)<0?{div:new l(0),mod:this}:1===i.length?"div"===o?{div:this.divn(i.words[0]),mod:null}:"mod"===o?{div:null,mod:new l(this.modn(i.words[0]))}:{div:this.divn(i.words[0]),mod:new l(this.modn(i.words[0]))}:this._wordDiv(i,o);var h,y,A},l.prototype.div=function(i){return this.divmod(i,"div",!1).div},l.prototype.mod=function(i){return this.divmod(i,"mod",!1).mod},l.prototype.umod=function(i){return this.divmod(i,"mod",!0).mod},l.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,h=i.ushrn(1),y=i.andln(1),A=m.cmp(h);return A<0||1===y&&0===A?o.div:0!==o.div.negative?o.div.isubn(1):o.div.iaddn(1)},l.prototype.modn=function(i){_(i<=67108863);for(var o=(1<<26)%i,m=0,h=this.length-1;h>=0;h--)m=(o*m+(0|this.words[h]))%i;return m},l.prototype.idivn=function(i){_(i<=67108863);for(var o=0,m=this.length-1;m>=0;m--){var h=(0|this.words[m])+67108864*o;this.words[m]=h/i|0,o=h%i}return this.strip()},l.prototype.divn=function(i){return this.clone().idivn(i)},l.prototype.egcd=function(i){_(0===i.negative),_(!i.isZero());var o=this,m=i.clone();o=0!==o.negative?o.umod(i):o.clone();for(var h=new l(1),y=new l(0),A=new l(0),R=new l(1),v=0;o.isEven()&&m.isEven();)o.iushrn(1),m.iushrn(1),++v;for(var a=m.clone(),C=o.clone();!o.isZero();){for(var U=0,N=1;0==(o.words[0]&N)&&U<26;++U,N<<=1);if(U>0)for(o.iushrn(U);U-- >0;)(h.isOdd()||y.isOdd())&&(h.iadd(a),y.isub(C)),h.iushrn(1),y.iushrn(1);for(var Q=0,Pe=1;0==(m.words[0]&Pe)&&Q<26;++Q,Pe<<=1);if(Q>0)for(m.iushrn(Q);Q-- >0;)(A.isOdd()||R.isOdd())&&(A.iadd(a),R.isub(C)),A.iushrn(1),R.iushrn(1);o.cmp(m)>=0?(o.isub(m),h.isub(A),y.isub(R)):(m.isub(o),A.isub(h),R.isub(y))}return{a:A,b:R,gcd:m.iushln(v)}},l.prototype._invmp=function(i){_(0===i.negative),_(!i.isZero());var U,o=this,m=i.clone();o=0!==o.negative?o.umod(i):o.clone();for(var h=new l(1),y=new l(0),A=m.clone();o.cmpn(1)>0&&m.cmpn(1)>0;){for(var R=0,v=1;0==(o.words[0]&v)&&R<26;++R,v<<=1);if(R>0)for(o.iushrn(R);R-- >0;)h.isOdd()&&h.iadd(A),h.iushrn(1);for(var a=0,C=1;0==(m.words[0]&C)&&a<26;++a,C<<=1);if(a>0)for(m.iushrn(a);a-- >0;)y.isOdd()&&y.iadd(A),y.iushrn(1);o.cmp(m)>=0?(o.isub(m),h.isub(y)):(m.isub(o),y.isub(h))}return(U=0===o.cmpn(1)?h:y).cmpn(0)<0&&U.iadd(i),U},l.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 h=0;o.isEven()&&m.isEven();h++)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 A=o;o=m,m=A}else if(0===y||0===m.cmpn(1))break;o.isub(m)}return m.iushln(h)},l.prototype.invm=function(i){return this.egcd(i).a.umod(i)},l.prototype.isEven=function(){return 0==(1&this.words[0])},l.prototype.isOdd=function(){return 1==(1&this.words[0])},l.prototype.andln=function(i){return this.words[0]&i},l.prototype.bincn=function(i){_("number"==typeof i);var o=i%26,m=(i-o)/26,h=1<<o;if(this.length<=m)return this._expand(m+1),this.words[m]|=h,this;for(var y=h,A=m;0!==y&&A<this.length;A++){var R=0|this.words[A];y=(R+=y)>>>26,R&=67108863,this.words[A]=R}return 0!==y&&(this.words[A]=y,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.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),_(i<=67108863,"Number is too big");var h=0|this.words[0];m=h===i?0:h<i?-1:1}return 0!==this.negative?0|-m:m},l.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},l.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 h=0|this.words[m],y=0|i.words[m];if(h!==y){h<y?o=-1:h>y&&(o=1);break}}return o},l.prototype.gtn=function(i){return 1===this.cmpn(i)},l.prototype.gt=function(i){return 1===this.cmp(i)},l.prototype.gten=function(i){return this.cmpn(i)>=0},l.prototype.gte=function(i){return this.cmp(i)>=0},l.prototype.ltn=function(i){return-1===this.cmpn(i)},l.prototype.lt=function(i){return-1===this.cmp(i)},l.prototype.lten=function(i){return this.cmpn(i)<=0},l.prototype.lte=function(i){return this.cmp(i)<=0},l.prototype.eqn=function(i){return 0===this.cmpn(i)},l.prototype.eq=function(i){return 0===this.cmp(i)},l.red=function(i){return new ae(i)},l.prototype.toRed=function(i){return _(!this.red,"Already a number in reduction context"),_(0===this.negative,"red works only with positives"),i.convertTo(this)._forceRed(i)},l.prototype.fromRed=function(){return _(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(i){return this.red=i,this},l.prototype.forceRed=function(i){return _(!this.red,"Already a number in reduction context"),this._forceRed(i)},l.prototype.redAdd=function(i){return _(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},l.prototype.redIAdd=function(i){return _(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},l.prototype.redSub=function(i){return _(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},l.prototype.redISub=function(i){return _(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},l.prototype.redShl=function(i){return _(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},l.prototype.redMul=function(i){return _(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},l.prototype.redIMul=function(i){return _(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},l.prototype.redSqr=function(){return _(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return _(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return _(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return _(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return _(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(i){return _(this.red&&!i.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,i)};var te={k256:null,p224:null,p192:null,p25519:null};function ne(T,i){this.name=T,this.p=new l(i,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function le(){ne.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function re(){ne.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function _e(){ne.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function he(){ne.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function ae(T){if("string"==typeof T){var i=l._prime(T);this.m=i.p,this.prime=i}else _(T.gtn(1),"modulus must be greater than 1"),this.m=T,this.prime=null}function ve(T){ae.call(this,T),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}ne.prototype._tmp=function(){var i=new l(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 h=m<this.n?-1:o.ucmp(this.p);return 0===h?(o.words[0]=0,o.length=1):h>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)},S(le,ne),le.prototype.split=function(i,o){for(var m=4194303,h=Math.min(i.length,9),y=0;y<h;y++)o.words[y]=i.words[y];if(o.length=h,i.length<=9)return i.words[0]=0,void(i.length=1);var A=i.words[9];for(o.words[o.length++]=A&m,y=10;y<i.length;y++){var R=0|i.words[y];i.words[y-10]=(R&m)<<4|A>>>22,A=R}A>>>=22,i.words[y-10]=A,0===A&&i.length>10?i.length-=10:i.length-=9},le.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 h=0|i.words[m];o+=977*h,i.words[m]=67108863&o,o=64*h+(o/67108864|0)}return 0===i.words[i.length-1]&&(i.length--,0===i.words[i.length-1]&&i.length--),i},S(re,ne),S(_e,ne),S(he,ne),he.prototype.imulK=function(i){for(var o=0,m=0;m<i.length;m++){var h=19*(0|i.words[m])+o,y=67108863&h;h>>>=26,i.words[m]=y,o=h}return 0!==o&&(i.words[i.length++]=o),i},l._prime=function(i){if(te[i])return te[i];var o;if("k256"===i)o=new le;else if("p224"===i)o=new re;else if("p192"===i)o=new _e;else{if("p25519"!==i)throw new Error("Unknown prime "+i);o=new he}return te[i]=o,o},ae.prototype._verify1=function(i){_(0===i.negative,"red works only with positives"),_(i.red,"red works only with red numbers")},ae.prototype._verify2=function(i,o){_(0==(i.negative|o.negative),"red works only with positives"),_(i.red&&i.red===o.red,"red works only with red numbers")},ae.prototype.imod=function(i){return this.prime?this.prime.ireduce(i)._forceRed(this):i.umod(this.m)._forceRed(this)},ae.prototype.neg=function(i){return i.isZero()?i.clone():this.m.sub(i)._forceRed(this)},ae.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)},ae.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},ae.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)},ae.prototype.isub=function(i,o){this._verify2(i,o);var m=i.isub(o);return m.cmpn(0)<0&&m.iadd(this.m),m},ae.prototype.shl=function(i,o){return this._verify1(i),this.imod(i.ushln(o))},ae.prototype.imul=function(i,o){return this._verify2(i,o),this.imod(i.imul(o))},ae.prototype.mul=function(i,o){return this._verify2(i,o),this.imod(i.mul(o))},ae.prototype.isqr=function(i){return this.imul(i,i.clone())},ae.prototype.sqr=function(i){return this.mul(i,i)},ae.prototype.sqrt=function(i){if(i.isZero())return i.clone();var o=this.m.andln(3);if(_(o%2==1),3===o){var m=this.m.add(new l(1)).iushrn(2);return this.pow(i,m)}for(var h=this.m.subn(1),y=0;!h.isZero()&&0===h.andln(1);)y++,h.iushrn(1);_(!h.isZero());var A=new l(1).toRed(this),R=A.redNeg(),v=this.m.subn(1).iushrn(1),a=this.m.bitLength();for(a=new l(2*a*a).toRed(this);0!==this.pow(a,v).cmp(R);)a.redIAdd(R);for(var C=this.pow(a,h),U=this.pow(i,h.addn(1).iushrn(1)),N=this.pow(i,h),Q=y;0!==N.cmp(A);){for(var Pe=N,Le=0;0!==Pe.cmp(A);Le++)Pe=Pe.redSqr();_(Le<Q);var Ye=this.pow(C,new l(1).iushln(Q-Le-1));U=U.redMul(Ye),C=Ye.redSqr(),N=N.redMul(C),Q=Le}return U},ae.prototype.invm=function(i){var o=i._invmp(this.m);return 0!==o.negative?(o.negative=0,this.imod(o).redNeg()):this.imod(o)},ae.prototype.pow=function(i,o){if(o.isZero())return new l(1).toRed(this);if(0===o.cmpn(1))return i.clone();var h=new Array(16);h[0]=new l(1).toRed(this),h[1]=i;for(var y=2;y<h.length;y++)h[y]=this.mul(h[y-1],i);var A=h[0],R=0,v=0,a=o.bitLength()%26;for(0===a&&(a=26),y=o.length-1;y>=0;y--){for(var C=o.words[y],U=a-1;U>=0;U--){var N=C>>U&1;(A!==h[0]&&(A=this.sqr(A)),0!==N||0!==R)?(R<<=1,R|=N,(4===++v||0===y&&0===U)&&(A=this.mul(A,h[R]),v=0,R=0)):v=0}a=26}return A},ae.prototype.convertTo=function(i){var o=i.umod(this.m);return o===i?o.clone():o},ae.prototype.convertFrom=function(i){var o=i.clone();return o.red=null,o},l.mont=function(i){return new ve(i)},S(ve,ae),ve.prototype.convertTo=function(i){return this.imod(i.ushln(this.shift))},ve.prototype.convertFrom=function(i){var o=this.imod(i.mul(this.rinv));return o.red=null,o},ve.prototype.imul=function(i,o){if(i.isZero()||o.isZero())return i.words[0]=0,i.length=1,i;var m=i.imul(o),h=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=m.isub(h).iushrn(this.shift),A=y;return y.cmp(this.m)>=0?A=y.isub(this.m):y.cmpn(0)<0&&(A=y.iadd(this.m)),A._forceRed(this)},ve.prototype.mul=function(i,o){if(i.isZero()||o.isZero())return new l(0)._forceRed(this);var m=i.mul(o),h=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=m.isub(h).iushrn(this.shift),A=y;return y.cmp(this.m)>=0?A=y.isub(this.m):y.cmpn(0)<0&&(A=y.iadd(this.m)),A._forceRed(this)},ve.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}})(Ge=f.nmd(Ge),this)},6348:Ge=>{"use strict";var X={single_source_shortest_paths:function(f,e,t){var _={},S={};S[e]=0;var D,d,P,p,L,k,E,l=X.PriorityQueue.make();for(l.push(e,0);!l.empty();)for(P in d=(D=l.pop()).value,p=D.cost,L=f[d]||{})L.hasOwnProperty(P)&&(k=p+L[P],E=S[P],(typeof S[P]>"u"||E>k)&&(S[P]=k,l.push(P,k),_[P]=d));if(typeof t<"u"&&typeof S[t]>"u"){var I=["Could not find a path from ",e," to ",t,"."].join("");throw new Error(I)}return _},extract_shortest_path_from_predecessor_list:function(f,e){for(var t=[],_=e;_;)t.push(_),f[_],_=f[_];return t.reverse(),t},find_path:function(f,e,t){var _=X.single_source_shortest_paths(f,e,t);return X.extract_shortest_path_from_predecessor_list(_,t)},PriorityQueue:{make:function(f){var _,e=X.PriorityQueue,t={};for(_ in f=f||{},e)e.hasOwnProperty(_)&&(t[_]=e[_]);return t.queue=[],t.sorter=f.sorter||e.default_sorter,t},default_sorter:function(f,e){return f.cost-e.cost},push:function(f,e){var t={value:f,cost:e};this.queue.push(t),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};Ge.exports=X},2142:(Ge,X,f)=>{"use strict";var e=X;e.version=f(8597).i8,e.utils=f(8865),e.rand=f(340),e.curve=f(9503),e.curves=f(7458),e.ec=f(1336),e.eddsa=f(4380)},725:(Ge,X,f)=>{"use strict";var e=f(2451),t=f(8865),_=t.getNAF,S=t.getJSF,l=t.assert;function D(P,p){this.type=P,this.p=new e(p.p,16),this.red=p.prime?e.red(p.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=p.n&&new e(p.n,16),this.g=p.g&&this.pointFromJSON(p.g,p.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 L=this.n&&this.p.div(this.n);!L||L.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function d(P,p){this.curve=P,this.type=p,this.precomputed=null}Ge.exports=D,D.prototype.point=function(){throw new Error("Not implemented")},D.prototype.validate=function(){throw new Error("Not implemented")},D.prototype._fixedNafMul=function(p,L){l(p.precomputed);var M=p._getDoubles(),k=_(L,1,this._bitLength),E=(1<<M.step+1)-(M.step%2==0?2:1);E/=3;var I,V,z=[];for(I=0;I<k.length;I+=M.step){V=0;for(var Z=I+M.step-1;Z>=I;Z--)V=(V<<1)+k[Z];z.push(V)}for(var q=this.jpoint(null,null,null),te=this.jpoint(null,null,null),ne=E;ne>0;ne--){for(I=0;I<z.length;I++)(V=z[I])===ne?te=te.mixedAdd(M.points[I]):V===-ne&&(te=te.mixedAdd(M.points[I].neg()));q=q.add(te)}return q.toP()},D.prototype._wnafMul=function(p,L){var M=4,k=p._getNAFPoints(M);M=k.wnd;for(var E=k.points,z=_(L,M,this._bitLength),I=this.jpoint(null,null,null),V=z.length-1;V>=0;V--){for(var Z=0;V>=0&&0===z[V];V--)Z++;if(V>=0&&Z++,I=I.dblp(Z),V<0)break;var q=z[V];l(0!==q),I="affine"===p.type?q>0?I.mixedAdd(E[q-1>>1]):I.mixedAdd(E[-q-1>>1].neg()):q>0?I.add(E[q-1>>1]):I.add(E[-q-1>>1].neg())}return"affine"===p.type?I.toP():I},D.prototype._wnafMulAdd=function(p,L,M,k,E){var q,te,ne,z=this._wnafT1,I=this._wnafT2,V=this._wnafT3,Z=0;for(q=0;q<k;q++){var le=(ne=L[q])._getNAFPoints(p);z[q]=le.wnd,I[q]=le.points}for(q=k-1;q>=1;q-=2){var re=q-1,_e=q;if(1===z[re]&&1===z[_e]){var he=[L[re],null,null,L[_e]];0===L[re].y.cmp(L[_e].y)?(he[1]=L[re].add(L[_e]),he[2]=L[re].toJ().mixedAdd(L[_e].neg())):0===L[re].y.cmp(L[_e].y.redNeg())?(he[1]=L[re].toJ().mixedAdd(L[_e]),he[2]=L[re].add(L[_e].neg())):(he[1]=L[re].toJ().mixedAdd(L[_e]),he[2]=L[re].toJ().mixedAdd(L[_e].neg()));var ae=[-3,-1,-5,-7,0,7,5,1,3],ve=S(M[re],M[_e]);for(Z=Math.max(ve[0].length,Z),V[re]=new Array(Z),V[_e]=new Array(Z),te=0;te<Z;te++){var T=0|ve[0][te],i=0|ve[1][te];V[re][te]=ae[3*(T+1)+(i+1)],V[_e][te]=0,I[re]=he}}else V[re]=_(M[re],z[re],this._bitLength),V[_e]=_(M[_e],z[_e],this._bitLength),Z=Math.max(V[re].length,Z),Z=Math.max(V[_e].length,Z)}var o=this.jpoint(null,null,null),m=this._wnafT4;for(q=Z;q>=0;q--){for(var h=0;q>=0;){var y=!0;for(te=0;te<k;te++)m[te]=0|V[te][q],0!==m[te]&&(y=!1);if(!y)break;h++,q--}if(q>=0&&h++,o=o.dblp(h),q<0)break;for(te=0;te<k;te++){var A=m[te];0!==A&&(A>0?ne=I[te][A-1>>1]:A<0&&(ne=I[te][-A-1>>1].neg()),o="affine"===ne.type?o.mixedAdd(ne):o.add(ne))}}for(q=0;q<k;q++)I[q]=null;return E?o:o.toP()},D.BasePoint=d,d.prototype.eq=function(){throw new Error("Not implemented")},d.prototype.validate=function(){return this.curve.validate(this)},D.prototype.decodePoint=function(p,L){p=t.toArray(p,L);var M=this.p.byteLength();if((4===p[0]||6===p[0]||7===p[0])&&p.length-1==2*M)return 6===p[0]?l(p[p.length-1]%2==0):7===p[0]&&l(p[p.length-1]%2==1),this.point(p.slice(1,1+M),p.slice(1+M,1+2*M));if((2===p[0]||3===p[0])&&p.length-1===M)return this.pointFromX(p.slice(1,1+M),3===p[0]);throw new Error("Unknown point format")},d.prototype.encodeCompressed=function(p){return this.encode(p,!0)},d.prototype._encode=function(p){var L=this.curve.p.byteLength(),M=this.getX().toArray("be",L);return p?[this.getY().isEven()?2:3].concat(M):[4].concat(M,this.getY().toArray("be",L))},d.prototype.encode=function(p,L){return t.encode(this._encode(L),p)},d.prototype.precompute=function(p){if(this.precomputed)return this;var L={doubles:null,naf:null,beta:null};return L.naf=this._getNAFPoints(8),L.doubles=this._getDoubles(4,p),L.beta=this._getBeta(),this.precomputed=L,this},d.prototype._hasDoubles=function(p){if(!this.precomputed)return!1;var L=this.precomputed.doubles;return!!L&&L.points.length>=Math.ceil((p.bitLength()+1)/L.step)},d.prototype._getDoubles=function(p,L){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var M=[this],k=this,E=0;E<L;E+=p){for(var z=0;z<p;z++)k=k.dbl();M.push(k)}return{step:p,points:M}},d.prototype._getNAFPoints=function(p){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var L=[this],M=(1<<p)-1,k=1===M?null:this.dbl(),E=1;E<M;E++)L[E]=L[E-1].add(k);return{wnd:p,points:L}},d.prototype._getBeta=function(){return null},d.prototype.dblp=function(p){for(var L=this,M=0;M<p;M++)L=L.dbl();return L}},3555:(Ge,X,f)=>{"use strict";var e=f(8865),t=f(2451),_=f(5035),S=f(725),l=e.assert;function D(P){this.twisted=1!=(0|P.a),this.mOneA=this.twisted&&-1==(0|P.a),this.extended=this.mOneA,S.call(this,"edwards",P),this.a=new t(P.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new t(P.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new t(P.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),l(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|P.c)}function d(P,p,L,M,k){S.BasePoint.call(this,P,"projective"),null===p&&null===L&&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(p,16),this.y=new t(L,16),this.z=M?new t(M,16):this.curve.one,this.t=k&&new t(k,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()))))}_(D,S),Ge.exports=D,D.prototype._mulA=function(p){return this.mOneA?p.redNeg():this.a.redMul(p)},D.prototype._mulC=function(p){return this.oneC?p:this.c.redMul(p)},D.prototype.jpoint=function(p,L,M,k){return this.point(p,L,M,k)},D.prototype.pointFromX=function(p,L){(p=new t(p,16)).red||(p=p.toRed(this.red));var M=p.redSqr(),k=this.c2.redSub(this.a.redMul(M)),E=this.one.redSub(this.c2.redMul(this.d).redMul(M)),z=k.redMul(E.redInvm()),I=z.redSqrt();if(0!==I.redSqr().redSub(z).cmp(this.zero))throw new Error("invalid point");var V=I.fromRed().isOdd();return(L&&!V||!L&&V)&&(I=I.redNeg()),this.point(p,I)},D.prototype.pointFromY=function(p,L){(p=new t(p,16)).red||(p=p.toRed(this.red));var M=p.redSqr(),k=M.redSub(this.c2),E=M.redMul(this.d).redMul(this.c2).redSub(this.a),z=k.redMul(E.redInvm());if(0===z.cmp(this.zero)){if(L)throw new Error("invalid point");return this.point(this.zero,p)}var I=z.redSqrt();if(0!==I.redSqr().redSub(z).cmp(this.zero))throw new Error("invalid point");return I.fromRed().isOdd()!==L&&(I=I.redNeg()),this.point(I,p)},D.prototype.validate=function(p){if(p.isInfinity())return!0;p.normalize();var L=p.x.redSqr(),M=p.y.redSqr(),k=L.redMul(this.a).redAdd(M),E=this.c2.redMul(this.one.redAdd(this.d.redMul(L).redMul(M)));return 0===k.cmp(E)},_(d,S.BasePoint),D.prototype.pointFromJSON=function(p){return d.fromJSON(this,p)},D.prototype.point=function(p,L,M,k){return new d(this,p,L,M,k)},d.fromJSON=function(p,L){return new d(p,L[0],L[1],L[2])},d.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)+">"},d.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},d.prototype._extDbl=function(){var p=this.x.redSqr(),L=this.y.redSqr(),M=this.z.redSqr();M=M.redIAdd(M);var k=this.curve._mulA(p),E=this.x.redAdd(this.y).redSqr().redISub(p).redISub(L),z=k.redAdd(L),I=z.redSub(M),V=k.redSub(L),Z=E.redMul(I),q=z.redMul(V),te=E.redMul(V),ne=I.redMul(z);return this.curve.point(Z,q,ne,te)},d.prototype._projDbl=function(){var k,E,z,I,V,Z,p=this.x.redAdd(this.y).redSqr(),L=this.x.redSqr(),M=this.y.redSqr();if(this.curve.twisted){var q=(I=this.curve._mulA(L)).redAdd(M);this.zOne?(k=p.redSub(L).redSub(M).redMul(q.redSub(this.curve.two)),E=q.redMul(I.redSub(M)),z=q.redSqr().redSub(q).redSub(q)):(V=this.z.redSqr(),Z=q.redSub(V).redISub(V),k=p.redSub(L).redISub(M).redMul(Z),E=q.redMul(I.redSub(M)),z=q.redMul(Z))}else I=L.redAdd(M),V=this.curve._mulC(this.z).redSqr(),Z=I.redSub(V).redSub(V),k=this.curve._mulC(p.redISub(I)).redMul(Z),E=this.curve._mulC(I).redMul(L.redISub(M)),z=I.redMul(Z);return this.curve.point(k,E,z)},d.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},d.prototype._extAdd=function(p){var L=this.y.redSub(this.x).redMul(p.y.redSub(p.x)),M=this.y.redAdd(this.x).redMul(p.y.redAdd(p.x)),k=this.t.redMul(this.curve.dd).redMul(p.t),E=this.z.redMul(p.z.redAdd(p.z)),z=M.redSub(L),I=E.redSub(k),V=E.redAdd(k),Z=M.redAdd(L),q=z.redMul(I),te=V.redMul(Z),ne=z.redMul(Z),le=I.redMul(V);return this.curve.point(q,te,le,ne)},d.prototype._projAdd=function(p){var te,ne,L=this.z.redMul(p.z),M=L.redSqr(),k=this.x.redMul(p.x),E=this.y.redMul(p.y),z=this.curve.d.redMul(k).redMul(E),I=M.redSub(z),V=M.redAdd(z),Z=this.x.redAdd(this.y).redMul(p.x.redAdd(p.y)).redISub(k).redISub(E),q=L.redMul(I).redMul(Z);return this.curve.twisted?(te=L.redMul(V).redMul(E.redSub(this.curve._mulA(k))),ne=I.redMul(V)):(te=L.redMul(V).redMul(E.redSub(k)),ne=this.curve._mulC(I).redMul(V)),this.curve.point(q,te,ne)},d.prototype.add=function(p){return this.isInfinity()?p:p.isInfinity()?this:this.curve.extended?this._extAdd(p):this._projAdd(p)},d.prototype.mul=function(p){return this._hasDoubles(p)?this.curve._fixedNafMul(this,p):this.curve._wnafMul(this,p)},d.prototype.mulAdd=function(p,L,M){return this.curve._wnafMulAdd(1,[this,L],[p,M],2,!1)},d.prototype.jmulAdd=function(p,L,M){return this.curve._wnafMulAdd(1,[this,L],[p,M],2,!0)},d.prototype.normalize=function(){if(this.zOne)return this;var p=this.z.redInvm();return this.x=this.x.redMul(p),this.y=this.y.redMul(p),this.t&&(this.t=this.t.redMul(p)),this.z=this.curve.one,this.zOne=!0,this},d.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},d.prototype.getX=function(){return this.normalize(),this.x.fromRed()},d.prototype.getY=function(){return this.normalize(),this.y.fromRed()},d.prototype.eq=function(p){return this===p||0===this.getX().cmp(p.getX())&&0===this.getY().cmp(p.getY())},d.prototype.eqXToP=function(p){var L=p.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(L))return!0;for(var M=p.clone(),k=this.curve.redN.redMul(this.z);;){if(M.iadd(this.curve.n),M.cmp(this.curve.p)>=0)return!1;if(L.redIAdd(k),0===this.x.cmp(L))return!0}},d.prototype.toP=d.prototype.normalize,d.prototype.mixedAdd=d.prototype.add},9503:(Ge,X,f)=>{"use strict";var e=X;e.base=f(725),e.short=f(4037),e.mont=f(9987),e.edwards=f(3555)},9987:(Ge,X,f)=>{"use strict";var e=f(2451),t=f(5035),_=f(725),S=f(8865);function l(d){_.call(this,"mont",d),this.a=new e(d.a,16).toRed(this.red),this.b=new e(d.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 D(d,P,p){_.BasePoint.call(this,d,"projective"),null===P&&null===p?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new e(P,16),this.z=new e(p,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}t(l,_),Ge.exports=l,l.prototype.validate=function(P){var p=P.normalize().x,L=p.redSqr(),M=L.redMul(p).redAdd(L.redMul(this.a)).redAdd(p);return 0===M.redSqrt().redSqr().cmp(M)},t(D,_.BasePoint),l.prototype.decodePoint=function(P,p){return this.point(S.toArray(P,p),1)},l.prototype.point=function(P,p){return new D(this,P,p)},l.prototype.pointFromJSON=function(P){return D.fromJSON(this,P)},D.prototype.precompute=function(){},D.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},D.fromJSON=function(P,p){return new D(P,p[0],p[1]||P.one)},D.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)+">"},D.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},D.prototype.dbl=function(){var p=this.x.redAdd(this.z).redSqr(),M=this.x.redSub(this.z).redSqr(),k=p.redSub(M),E=p.redMul(M),z=k.redMul(M.redAdd(this.curve.a24.redMul(k)));return this.curve.point(E,z)},D.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},D.prototype.diffAdd=function(P,p){var L=this.x.redAdd(this.z),M=this.x.redSub(this.z),k=P.x.redAdd(P.z),z=P.x.redSub(P.z).redMul(L),I=k.redMul(M),V=p.z.redMul(z.redAdd(I).redSqr()),Z=p.x.redMul(z.redISub(I).redSqr());return this.curve.point(V,Z)},D.prototype.mul=function(P){for(var p=P.clone(),L=this,M=this.curve.point(null,null),E=[];0!==p.cmpn(0);p.iushrn(1))E.push(p.andln(1));for(var z=E.length-1;z>=0;z--)0===E[z]?(L=L.diffAdd(M,this),M=M.dbl()):(M=L.diffAdd(M,this),L=L.dbl());return M},D.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},D.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},D.prototype.eq=function(P){return 0===this.getX().cmp(P.getX())},D.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},D.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},4037:(Ge,X,f)=>{"use strict";var e=f(8865),t=f(2451),_=f(5035),S=f(725),l=e.assert;function D(p){S.call(this,"short",p),this.a=new t(p.a,16).toRed(this.red),this.b=new t(p.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(p),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function d(p,L,M,k){S.BasePoint.call(this,p,"affine"),null===L&&null===M?(this.x=null,this.y=null,this.inf=!0):(this.x=new t(L,16),this.y=new t(M,16),k&&(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(p,L,M,k){S.BasePoint.call(this,p,"jacobian"),null===L&&null===M&&null===k?(this.x=this.curve.one,this.y=this.curve.one,this.z=new t(0)):(this.x=new t(L,16),this.y=new t(M,16),this.z=new t(k,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}_(D,S),Ge.exports=D,D.prototype._getEndomorphism=function(L){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var M,k;if(L.beta)M=new t(L.beta,16).toRed(this.red);else{var E=this._getEndoRoots(this.p);M=(M=E[0].cmp(E[1])<0?E[0]:E[1]).toRed(this.red)}if(L.lambda)k=new t(L.lambda,16);else{var z=this._getEndoRoots(this.n);0===this.g.mul(z[0]).x.cmp(this.g.x.redMul(M))?k=z[0]:(k=z[1],l(0===this.g.mul(k).x.cmp(this.g.x.redMul(M))))}return{beta:M,lambda:k,basis:L.basis?L.basis.map(function(V){return{a:new t(V.a,16),b:new t(V.b,16)}}):this._getEndoBasis(k)}}},D.prototype._getEndoRoots=function(L){var M=L===this.p?this.red:t.mont(L),k=new t(2).toRed(M).redInvm(),E=k.redNeg(),z=new t(3).toRed(M).redNeg().redSqrt().redMul(k);return[E.redAdd(z).fromRed(),E.redSub(z).fromRed()]},D.prototype._getEndoBasis=function(L){for(var q,te,ne,le,re,_e,he,ve,T,M=this.n.ushrn(Math.floor(this.n.bitLength()/2)),k=L,E=this.n.clone(),z=new t(1),I=new t(0),V=new t(0),Z=new t(1),ae=0;0!==k.cmpn(0);){var i=E.div(k);ve=E.sub(i.mul(k)),T=V.sub(i.mul(z));var o=Z.sub(i.mul(I));if(!ne&&ve.cmp(M)<0)q=he.neg(),te=z,ne=ve.neg(),le=T;else if(ne&&2==++ae)break;he=ve,E=k,k=ve,V=z,z=T,Z=I,I=o}re=ve.neg(),_e=T;var m=ne.sqr().add(le.sqr());return re.sqr().add(_e.sqr()).cmp(m)>=0&&(re=q,_e=te),ne.negative&&(ne=ne.neg(),le=le.neg()),re.negative&&(re=re.neg(),_e=_e.neg()),[{a:ne,b:le},{a:re,b:_e}]},D.prototype._endoSplit=function(L){var M=this.endo.basis,k=M[0],E=M[1],z=E.b.mul(L).divRound(this.n),I=k.b.neg().mul(L).divRound(this.n),V=z.mul(k.a),Z=I.mul(E.a),q=z.mul(k.b),te=I.mul(E.b);return{k1:L.sub(V).sub(Z),k2:q.add(te).neg()}},D.prototype.pointFromX=function(L,M){(L=new t(L,16)).red||(L=L.toRed(this.red));var k=L.redSqr().redMul(L).redIAdd(L.redMul(this.a)).redIAdd(this.b),E=k.redSqrt();if(0!==E.redSqr().redSub(k).cmp(this.zero))throw new Error("invalid point");var z=E.fromRed().isOdd();return(M&&!z||!M&&z)&&(E=E.redNeg()),this.point(L,E)},D.prototype.validate=function(L){if(L.inf)return!0;var M=L.x,k=L.y,E=this.a.redMul(M),z=M.redSqr().redMul(M).redIAdd(E).redIAdd(this.b);return 0===k.redSqr().redISub(z).cmpn(0)},D.prototype._endoWnafMulAdd=function(L,M,k){for(var E=this._endoWnafT1,z=this._endoWnafT2,I=0;I<L.length;I++){var V=this._endoSplit(M[I]),Z=L[I],q=Z._getBeta();V.k1.negative&&(V.k1.ineg(),Z=Z.neg(!0)),V.k2.negative&&(V.k2.ineg(),q=q.neg(!0)),E[2*I]=Z,E[2*I+1]=q,z[2*I]=V.k1,z[2*I+1]=V.k2}for(var te=this._wnafMulAdd(1,E,z,2*I,k),ne=0;ne<2*I;ne++)E[ne]=null,z[ne]=null;return te},_(d,S.BasePoint),D.prototype.point=function(L,M,k){return new d(this,L,M,k)},D.prototype.pointFromJSON=function(L,M){return d.fromJSON(this,L,M)},d.prototype._getBeta=function(){if(this.curve.endo){var L=this.precomputed;if(L&&L.beta)return L.beta;var M=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(L){var k=this.curve,E=function(z){return k.point(z.x.redMul(k.endo.beta),z.y)};L.beta=M,M.precomputed={beta:null,naf:L.naf&&{wnd:L.naf.wnd,points:L.naf.points.map(E)},doubles:L.doubles&&{step:L.doubles.step,points:L.doubles.points.map(E)}}}return M}},d.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]},d.fromJSON=function(L,M,k){"string"==typeof M&&(M=JSON.parse(M));var E=L.point(M[0],M[1],k);if(!M[2])return E;function z(V){return L.point(V[0],V[1],k)}var I=M[2];return E.precomputed={beta:null,doubles:I.doubles&&{step:I.doubles.step,points:[E].concat(I.doubles.points.map(z))},naf:I.naf&&{wnd:I.naf.wnd,points:[E].concat(I.naf.points.map(z))}},E},d.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)+">"},d.prototype.isInfinity=function(){return this.inf},d.prototype.add=function(L){if(this.inf)return L;if(L.inf)return this;if(this.eq(L))return this.dbl();if(this.neg().eq(L))return this.curve.point(null,null);if(0===this.x.cmp(L.x))return this.curve.point(null,null);var M=this.y.redSub(L.y);0!==M.cmpn(0)&&(M=M.redMul(this.x.redSub(L.x).redInvm()));var k=M.redSqr().redISub(this.x).redISub(L.x),E=M.redMul(this.x.redSub(k)).redISub(this.y);return this.curve.point(k,E)},d.prototype.dbl=function(){if(this.inf)return this;var L=this.y.redAdd(this.y);if(0===L.cmpn(0))return this.curve.point(null,null);var M=this.curve.a,k=this.x.redSqr(),E=L.redInvm(),z=k.redAdd(k).redIAdd(k).redIAdd(M).redMul(E),I=z.redSqr().redISub(this.x.redAdd(this.x)),V=z.redMul(this.x.redSub(I)).redISub(this.y);return this.curve.point(I,V)},d.prototype.getX=function(){return this.x.fromRed()},d.prototype.getY=function(){return this.y.fromRed()},d.prototype.mul=function(L){return L=new t(L,16),this.isInfinity()?this:this._hasDoubles(L)?this.curve._fixedNafMul(this,L):this.curve.endo?this.curve._endoWnafMulAdd([this],[L]):this.curve._wnafMul(this,L)},d.prototype.mulAdd=function(L,M,k){var E=[this,M],z=[L,k];return this.curve.endo?this.curve._endoWnafMulAdd(E,z):this.curve._wnafMulAdd(1,E,z,2)},d.prototype.jmulAdd=function(L,M,k){var E=[this,M],z=[L,k];return this.curve.endo?this.curve._endoWnafMulAdd(E,z,!0):this.curve._wnafMulAdd(1,E,z,2,!0)},d.prototype.eq=function(L){return this===L||this.inf===L.inf&&(this.inf||0===this.x.cmp(L.x)&&0===this.y.cmp(L.y))},d.prototype.neg=function(L){if(this.inf)return this;var M=this.curve.point(this.x,this.y.redNeg());if(L&&this.precomputed){var k=this.precomputed,E=function(z){return z.neg()};M.precomputed={naf:k.naf&&{wnd:k.naf.wnd,points:k.naf.points.map(E)},doubles:k.doubles&&{step:k.doubles.step,points:k.doubles.points.map(E)}}}return M},d.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},_(P,S.BasePoint),D.prototype.jpoint=function(L,M,k){return new P(this,L,M,k)},P.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var L=this.z.redInvm(),M=L.redSqr(),k=this.x.redMul(M),E=this.y.redMul(M).redMul(L);return this.curve.point(k,E)},P.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},P.prototype.add=function(L){if(this.isInfinity())return L;if(L.isInfinity())return this;var M=L.z.redSqr(),k=this.z.redSqr(),E=this.x.redMul(M),z=L.x.redMul(k),I=this.y.redMul(M.redMul(L.z)),V=L.y.redMul(k.redMul(this.z)),Z=E.redSub(z),q=I.redSub(V);if(0===Z.cmpn(0))return 0!==q.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var te=Z.redSqr(),ne=te.redMul(Z),le=E.redMul(te),re=q.redSqr().redIAdd(ne).redISub(le).redISub(le),_e=q.redMul(le.redISub(re)).redISub(I.redMul(ne)),he=this.z.redMul(L.z).redMul(Z);return this.curve.jpoint(re,_e,he)},P.prototype.mixedAdd=function(L){if(this.isInfinity())return L.toJ();if(L.isInfinity())return this;var M=this.z.redSqr(),k=this.x,E=L.x.redMul(M),z=this.y,I=L.y.redMul(M).redMul(this.z),V=k.redSub(E),Z=z.redSub(I);if(0===V.cmpn(0))return 0!==Z.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var q=V.redSqr(),te=q.redMul(V),ne=k.redMul(q),le=Z.redSqr().redIAdd(te).redISub(ne).redISub(ne),re=Z.redMul(ne.redISub(le)).redISub(z.redMul(te)),_e=this.z.redMul(V);return this.curve.jpoint(le,re,_e)},P.prototype.dblp=function(L){if(0===L)return this;if(this.isInfinity())return this;if(!L)return this.dbl();var M;if(this.curve.zeroA||this.curve.threeA){var k=this;for(M=0;M<L;M++)k=k.dbl();return k}var E=this.curve.a,z=this.curve.tinv,I=this.x,V=this.y,Z=this.z,q=Z.redSqr().redSqr(),te=V.redAdd(V);for(M=0;M<L;M++){var ne=I.redSqr(),le=te.redSqr(),re=le.redSqr(),_e=ne.redAdd(ne).redIAdd(ne).redIAdd(E.redMul(q)),he=I.redMul(le),ae=_e.redSqr().redISub(he.redAdd(he)),ve=he.redISub(ae),T=_e.redMul(ve);T=T.redIAdd(T).redISub(re);var i=te.redMul(Z);M+1<L&&(q=q.redMul(re)),I=ae,Z=i,te=T}return this.curve.jpoint(I,te.redMul(z),Z)},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 L,M,k;if(this.zOne){var E=this.x.redSqr(),z=this.y.redSqr(),I=z.redSqr(),V=this.x.redAdd(z).redSqr().redISub(E).redISub(I);V=V.redIAdd(V);var Z=E.redAdd(E).redIAdd(E),q=Z.redSqr().redISub(V).redISub(V),te=I.redIAdd(I);te=(te=te.redIAdd(te)).redIAdd(te),L=q,M=Z.redMul(V.redISub(q)).redISub(te),k=this.y.redAdd(this.y)}else{var ne=this.x.redSqr(),le=this.y.redSqr(),re=le.redSqr(),_e=this.x.redAdd(le).redSqr().redISub(ne).redISub(re);_e=_e.redIAdd(_e);var he=ne.redAdd(ne).redIAdd(ne),ae=he.redSqr(),ve=re.redIAdd(re);ve=(ve=ve.redIAdd(ve)).redIAdd(ve),L=ae.redISub(_e).redISub(_e),M=he.redMul(_e.redISub(L)).redISub(ve),k=(k=this.y.redMul(this.z)).redIAdd(k)}return this.curve.jpoint(L,M,k)},P.prototype._threeDbl=function(){var L,M,k;if(this.zOne){var E=this.x.redSqr(),z=this.y.redSqr(),I=z.redSqr(),V=this.x.redAdd(z).redSqr().redISub(E).redISub(I);V=V.redIAdd(V);var Z=E.redAdd(E).redIAdd(E).redIAdd(this.curve.a),q=Z.redSqr().redISub(V).redISub(V);L=q;var te=I.redIAdd(I);te=(te=te.redIAdd(te)).redIAdd(te),M=Z.redMul(V.redISub(q)).redISub(te),k=this.y.redAdd(this.y)}else{var ne=this.z.redSqr(),le=this.y.redSqr(),re=this.x.redMul(le),_e=this.x.redSub(ne).redMul(this.x.redAdd(ne));_e=_e.redAdd(_e).redIAdd(_e);var he=re.redIAdd(re),ae=(he=he.redIAdd(he)).redAdd(he);L=_e.redSqr().redISub(ae),k=this.y.redAdd(this.z).redSqr().redISub(le).redISub(ne);var ve=le.redSqr();ve=(ve=(ve=ve.redIAdd(ve)).redIAdd(ve)).redIAdd(ve),M=_e.redMul(he.redISub(L)).redISub(ve)}return this.curve.jpoint(L,M,k)},P.prototype._dbl=function(){var L=this.curve.a,M=this.x,k=this.y,E=this.z,z=E.redSqr().redSqr(),I=M.redSqr(),V=k.redSqr(),Z=I.redAdd(I).redIAdd(I).redIAdd(L.redMul(z)),q=M.redAdd(M),te=(q=q.redIAdd(q)).redMul(V),ne=Z.redSqr().redISub(te.redAdd(te)),le=te.redISub(ne),re=V.redSqr();re=(re=(re=re.redIAdd(re)).redIAdd(re)).redIAdd(re);var _e=Z.redMul(le).redISub(re),he=k.redAdd(k).redMul(E);return this.curve.jpoint(ne,_e,he)},P.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var L=this.x.redSqr(),M=this.y.redSqr(),k=this.z.redSqr(),E=M.redSqr(),z=L.redAdd(L).redIAdd(L),I=z.redSqr(),V=this.x.redAdd(M).redSqr().redISub(L).redISub(E),Z=(V=(V=(V=V.redIAdd(V)).redAdd(V).redIAdd(V)).redISub(I)).redSqr(),q=E.redIAdd(E);q=(q=(q=q.redIAdd(q)).redIAdd(q)).redIAdd(q);var te=z.redIAdd(V).redSqr().redISub(I).redISub(Z).redISub(q),ne=M.redMul(te);ne=(ne=ne.redIAdd(ne)).redIAdd(ne);var le=this.x.redMul(Z).redISub(ne);le=(le=le.redIAdd(le)).redIAdd(le);var re=this.y.redMul(te.redMul(q.redISub(te)).redISub(V.redMul(Z)));re=(re=(re=re.redIAdd(re)).redIAdd(re)).redIAdd(re);var _e=this.z.redAdd(V).redSqr().redISub(k).redISub(Z);return this.curve.jpoint(le,re,_e)},P.prototype.mul=function(L,M){return L=new t(L,M),this.curve._wnafMul(this,L)},P.prototype.eq=function(L){if("affine"===L.type)return this.eq(L.toJ());if(this===L)return!0;var M=this.z.redSqr(),k=L.z.redSqr();if(0!==this.x.redMul(k).redISub(L.x.redMul(M)).cmpn(0))return!1;var E=M.redMul(this.z),z=k.redMul(L.z);return 0===this.y.redMul(z).redISub(L.y.redMul(E)).cmpn(0)},P.prototype.eqXToP=function(L){var M=this.z.redSqr(),k=L.toRed(this.curve.red).redMul(M);if(0===this.x.cmp(k))return!0;for(var E=L.clone(),z=this.curve.redN.redMul(M);;){if(E.iadd(this.curve.n),E.cmp(this.curve.p)>=0)return!1;if(k.redIAdd(z),0===this.x.cmp(k))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)}},7458:(Ge,X,f)=>{"use strict";var P,e=X,t=f(9281),_=f(9503),l=f(8865).assert;function D(p){"short"===p.type?this.curve=new _.short(p):"edwards"===p.type?this.curve=new _.edwards(p):this.curve=new _.mont(p),this.g=this.curve.g,this.n=this.curve.n,this.hash=p.hash,l(this.g.validate(),"Invalid curve"),l(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function d(p,L){Object.defineProperty(e,p,{configurable:!0,enumerable:!0,get:function(){var M=new D(L);return Object.defineProperty(e,p,{configurable:!0,enumerable:!0,value:M}),M}})}e.PresetCurve=D,d("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"]}),d("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"]}),d("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"]}),d("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"]}),d("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"]}),d("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"]}),d("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=f(692)}catch{P=void 0}d("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]})},1336:(Ge,X,f)=>{"use strict";var e=f(2451),t=f(3925),_=f(8865),S=f(7458),l=f(340),D=_.assert,d=f(50),P=f(3545);function p(L){if(!(this instanceof p))return new p(L);"string"==typeof L&&(D(Object.prototype.hasOwnProperty.call(S,L),"Unknown curve "+L),L=S[L]),L instanceof S.PresetCurve&&(L={curve:L}),this.curve=L.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=L.curve.g,this.g.precompute(L.curve.n.bitLength()+1),this.hash=L.hash||L.curve.hash}Ge.exports=p,p.prototype.keyPair=function(M){return new d(this,M)},p.prototype.keyFromPrivate=function(M,k){return d.fromPrivate(this,M,k)},p.prototype.keyFromPublic=function(M,k){return d.fromPublic(this,M,k)},p.prototype.genKeyPair=function(M){M||(M={});for(var k=new t({hash:this.hash,pers:M.pers,persEnc:M.persEnc||"utf8",entropy:M.entropy||l(this.hash.hmacStrength),entropyEnc:M.entropy&&M.entropyEnc||"utf8",nonce:this.n.toArray()}),E=this.n.byteLength(),z=this.n.sub(new e(2));;){var I=new e(k.generate(E));if(!(I.cmp(z)>0))return I.iaddn(1),this.keyFromPrivate(I)}},p.prototype._truncateToN=function(M,k){var E=8*M.byteLength()-this.n.bitLength();return E>0&&(M=M.ushrn(E)),!k&&M.cmp(this.n)>=0?M.sub(this.n):M},p.prototype.sign=function(M,k,E,z){"object"==typeof E&&(z=E,E=null),z||(z={}),k=this.keyFromPrivate(k,E),M=this._truncateToN(new e(M,16));for(var I=this.n.byteLength(),V=k.getPrivate().toArray("be",I),Z=M.toArray("be",I),q=new t({hash:this.hash,entropy:V,nonce:Z,pers:z.pers,persEnc:z.persEnc||"utf8"}),te=this.n.sub(new e(1)),ne=0;;ne++){var le=z.k?z.k(ne):new e(q.generate(this.n.byteLength()));if(!((le=this._truncateToN(le,!0)).cmpn(1)<=0||le.cmp(te)>=0)){var re=this.g.mul(le);if(!re.isInfinity()){var _e=re.getX(),he=_e.umod(this.n);if(0!==he.cmpn(0)){var ae=le.invm(this.n).mul(he.mul(k.getPrivate()).iadd(M));if(0!==(ae=ae.umod(this.n)).cmpn(0)){var ve=(re.getY().isOdd()?1:0)|(0!==_e.cmp(he)?2:0);return z.canonical&&ae.cmp(this.nh)>0&&(ae=this.n.sub(ae),ve^=1),new P({r:he,s:ae,recoveryParam:ve})}}}}}},p.prototype.verify=function(M,k,E,z){M=this._truncateToN(new e(M,16)),E=this.keyFromPublic(E,z);var I=(k=new P(k,"hex")).r,V=k.s;if(I.cmpn(1)<0||I.cmp(this.n)>=0||V.cmpn(1)<0||V.cmp(this.n)>=0)return!1;var ne,Z=V.invm(this.n),q=Z.mul(M).umod(this.n),te=Z.mul(I).umod(this.n);return this.curve._maxwellTrick?!(ne=this.g.jmulAdd(q,E.getPublic(),te)).isInfinity()&&ne.eqXToP(I):!(ne=this.g.mulAdd(q,E.getPublic(),te)).isInfinity()&&0===ne.getX().umod(this.n).cmp(I)},p.prototype.recoverPubKey=function(L,M,k,E){D((3&k)===k,"The recovery param is more than two bits"),M=new P(M,E);var z=this.n,I=new e(L),V=M.r,Z=M.s,q=1&k,te=k>>1;if(V.cmp(this.curve.p.umod(this.curve.n))>=0&&te)throw new Error("Unable to find sencond key candinate");V=te?this.curve.pointFromX(V.add(this.curve.n),q):this.curve.pointFromX(V,q);var ne=M.r.invm(z),le=z.sub(I).mul(ne).umod(z),re=Z.mul(ne).umod(z);return this.g.mulAdd(le,V,re)},p.prototype.getKeyRecoveryParam=function(L,M,k,E){if(null!==(M=new P(M,E)).recoveryParam)return M.recoveryParam;for(var z=0;z<4;z++){var I;try{I=this.recoverPubKey(L,M,z)}catch{continue}if(I.eq(k))return z}throw new Error("Unable to find valid recovery factor")}},50:(Ge,X,f)=>{"use strict";var e=f(2451),_=f(8865).assert;function S(l,D){this.ec=l,this.priv=null,this.pub=null,D.priv&&this._importPrivate(D.priv,D.privEnc),D.pub&&this._importPublic(D.pub,D.pubEnc)}Ge.exports=S,S.fromPublic=function(D,d,P){return d instanceof S?d:new S(D,{pub:d,pubEnc:P})},S.fromPrivate=function(D,d,P){return d instanceof S?d:new S(D,{priv:d,privEnc:P})},S.prototype.validate=function(){var D=this.getPublic();return D.isInfinity()?{result:!1,reason:"Invalid public key"}:D.validate()?D.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"}},S.prototype.getPublic=function(D,d){return"string"==typeof D&&(d=D,D=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),d?this.pub.encode(d,D):this.pub},S.prototype.getPrivate=function(D){return"hex"===D?this.priv.toString(16,2):this.priv},S.prototype._importPrivate=function(D,d){this.priv=new e(D,d||16),this.priv=this.priv.umod(this.ec.curve.n)},S.prototype._importPublic=function(D,d){if(D.x||D.y)return"mont"===this.ec.curve.type?_(D.x,"Need x coordinate"):("short"===this.ec.curve.type||"edwards"===this.ec.curve.type)&&_(D.x&&D.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(D.x,D.y));this.pub=this.ec.curve.decodePoint(D,d)},S.prototype.derive=function(D){return D.validate()||_(D.validate(),"public point not validated"),D.mul(this.priv).getX()},S.prototype.sign=function(D,d,P){return this.ec.sign(D,this,d,P)},S.prototype.verify=function(D,d){return this.ec.verify(D,d,this)},S.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},3545:(Ge,X,f)=>{"use strict";var e=f(2451),t=f(8865),_=t.assert;function S(p,L){if(p instanceof S)return p;this._importDER(p,L)||(_(p.r&&p.s,"Signature without r or s"),this.r=new e(p.r,16),this.s=new e(p.s,16),void 0===p.recoveryParam?this.recoveryParam=null:this.recoveryParam=p.recoveryParam)}function l(){this.place=0}function D(p,L){var M=p[L.place++];if(!(128&M))return M;var k=15&M;if(0===k||k>4)return!1;for(var E=0,z=0,I=L.place;z<k;z++,I++)E<<=8,E|=p[I],E>>>=0;return!(E<=127)&&(L.place=I,E)}function d(p){for(var L=0,M=p.length-1;!p[L]&&!(128&p[L+1])&&L<M;)L++;return 0===L?p:p.slice(L)}function P(p,L){if(L<128)p.push(L);else{var M=1+(Math.log(L)/Math.LN2>>>3);for(p.push(128|M);--M;)p.push(L>>>(M<<3)&255);p.push(L)}}Ge.exports=S,S.prototype._importDER=function(L,M){L=t.toArray(L,M);var k=new l;if(48!==L[k.place++])return!1;var E=D(L,k);if(!1===E||E+k.place!==L.length||2!==L[k.place++])return!1;var z=D(L,k);if(!1===z)return!1;var I=L.slice(k.place,z+k.place);if(k.place+=z,2!==L[k.place++])return!1;var V=D(L,k);if(!1===V||L.length!==V+k.place)return!1;var Z=L.slice(k.place,V+k.place);if(0===I[0]){if(!(128&I[1]))return!1;I=I.slice(1)}if(0===Z[0]){if(!(128&Z[1]))return!1;Z=Z.slice(1)}return this.r=new e(I),this.s=new e(Z),this.recoveryParam=null,!0},S.prototype.toDER=function(L){var M=this.r.toArray(),k=this.s.toArray();for(128&M[0]&&(M=[0].concat(M)),128&k[0]&&(k=[0].concat(k)),M=d(M),k=d(k);!(k[0]||128&k[1]);)k=k.slice(1);var E=[2];P(E,M.length),(E=E.concat(M)).push(2),P(E,k.length);var z=E.concat(k),I=[48];return P(I,z.length),I=I.concat(z),t.encode(I,L)}},4380:(Ge,X,f)=>{"use strict";var e=f(9281),t=f(7458),_=f(8865),S=_.assert,l=_.parseBytes,D=f(6031),d=f(3134);function P(p){if(S("ed25519"===p,"only tested with ed25519 so far"),!(this instanceof P))return new P(p);p=t[p].curve,this.curve=p,this.g=p.g,this.g.precompute(p.n.bitLength()+1),this.pointClass=p.point().constructor,this.encodingLength=Math.ceil(p.n.bitLength()/8),this.hash=e.sha512}Ge.exports=P,P.prototype.sign=function(L,M){L=l(L);var k=this.keyFromSecret(M),E=this.hashInt(k.messagePrefix(),L),z=this.g.mul(E),I=this.encodePoint(z),V=this.hashInt(I,k.pubBytes(),L).mul(k.priv()),Z=E.add(V).umod(this.curve.n);return this.makeSignature({R:z,S:Z,Rencoded:I})},P.prototype.verify=function(L,M,k){L=l(L),M=this.makeSignature(M);var E=this.keyFromPublic(k),z=this.hashInt(M.Rencoded(),E.pubBytes(),L),I=this.g.mul(M.S());return M.R().add(E.pub().mul(z)).eq(I)},P.prototype.hashInt=function(){for(var L=this.hash(),M=0;M<arguments.length;M++)L.update(arguments[M]);return _.intFromLE(L.digest()).umod(this.curve.n)},P.prototype.keyFromPublic=function(L){return D.fromPublic(this,L)},P.prototype.keyFromSecret=function(L){return D.fromSecret(this,L)},P.prototype.makeSignature=function(L){return L instanceof d?L:new d(this,L)},P.prototype.encodePoint=function(L){var M=L.getY().toArray("le",this.encodingLength);return M[this.encodingLength-1]|=L.getX().isOdd()?128:0,M},P.prototype.decodePoint=function(L){var M=(L=_.parseBytes(L)).length-1,k=L.slice(0,M).concat(-129&L[M]),E=0!=(128&L[M]),z=_.intFromLE(k);return this.curve.pointFromY(z,E)},P.prototype.encodeInt=function(L){return L.toArray("le",this.encodingLength)},P.prototype.decodeInt=function(L){return _.intFromLE(L)},P.prototype.isPoint=function(L){return L instanceof this.pointClass}},6031:(Ge,X,f)=>{"use strict";var e=f(8865),t=e.assert,_=e.parseBytes,S=e.cachedProperty;function l(D,d){this.eddsa=D,this._secret=_(d.secret),D.isPoint(d.pub)?this._pub=d.pub:this._pubBytes=_(d.pub)}l.fromPublic=function(d,P){return P instanceof l?P:new l(d,{pub:P})},l.fromSecret=function(d,P){return P instanceof l?P:new l(d,{secret:P})},l.prototype.secret=function(){return this._secret},S(l,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),S(l,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),S(l,"privBytes",function(){var d=this.eddsa,P=this.hash(),p=d.encodingLength-1,L=P.slice(0,d.encodingLength);return L[0]&=248,L[p]&=127,L[p]|=64,L}),S(l,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),S(l,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),S(l,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),l.prototype.sign=function(d){return t(this._secret,"KeyPair can only verify"),this.eddsa.sign(d,this)},l.prototype.verify=function(d,P){return this.eddsa.verify(d,P,this)},l.prototype.getSecret=function(d){return t(this._secret,"KeyPair is public only"),e.encode(this.secret(),d)},l.prototype.getPublic=function(d){return e.encode(this.pubBytes(),d)},Ge.exports=l},3134:(Ge,X,f)=>{"use strict";var e=f(2451),t=f(8865),_=t.assert,S=t.cachedProperty,l=t.parseBytes;function D(d,P){this.eddsa=d,"object"!=typeof P&&(P=l(P)),Array.isArray(P)&&(P={R:P.slice(0,d.encodingLength),S:P.slice(d.encodingLength)}),_(P.R&&P.S,"Signature without R or S"),d.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}S(D,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),S(D,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),S(D,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),S(D,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),D.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},D.prototype.toHex=function(){return t.encode(this.toBytes(),"hex").toUpperCase()},Ge.exports=D},692:Ge=>{Ge.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"]]}}},8865:(Ge,X,f)=>{"use strict";var e=X,t=f(2451),_=f(3999),S=f(4985);e.assert=_,e.toArray=S.toArray,e.zero2=S.zero2,e.toHex=S.toHex,e.encode=S.encode,e.getNAF=function l(L,M,k){var E=new Array(Math.max(L.bitLength(),k)+1);E.fill(0);for(var z=1<<M+1,I=L.clone(),V=0;V<E.length;V++){var Z,q=I.andln(z-1);I.isOdd()?(Z=q>(z>>1)-1?(z>>1)-q:q,I.isubn(Z)):Z=0,E[V]=Z,I.iushrn(1)}return E},e.getJSF=function D(L,M){var k=[[],[]];L=L.clone(),M=M.clone();for(var I,E=0,z=0;L.cmpn(-E)>0||M.cmpn(-z)>0;){var q,te,V=L.andln(3)+E&3,Z=M.andln(3)+z&3;3===V&&(V=-1),3===Z&&(Z=-1),0==(1&V)?q=0:q=3!==(I=L.andln(7)+E&7)&&5!==I||2!==Z?V:-V,k[0].push(q),0==(1&Z)?te=0:te=3!==(I=M.andln(7)+z&7)&&5!==I||2!==V?Z:-Z,k[1].push(te),2*E===q+1&&(E=1-E),2*z===te+1&&(z=1-z),L.iushrn(1),M.iushrn(1)}return k},e.cachedProperty=function d(L,M,k){var E="_"+M;L.prototype[M]=function(){return void 0!==this[E]?this[E]:this[E]=k.call(this)}},e.parseBytes=function P(L){return"string"==typeof L?e.toArray(L,"hex"):L},e.intFromLE=function p(L){return new t(L,"hex","le")}},2451:function(Ge,X,f){(function(e,t){"use strict";function _(T,i){if(!T)throw new Error(i||"Assertion failed")}function S(T,i){T.super_=i;var o=function(){};o.prototype=i.prototype,T.prototype=new o,T.prototype.constructor=T}function l(T,i,o){if(l.isBN(T))return T;this.negative=0,this.words=null,this.length=0,this.red=null,null!==T&&(("le"===i||"be"===i)&&(o=i,i=10),this._init(T||0,i||10,o||"be"))}var D;"object"==typeof e?e.exports=l:t.BN=l,l.BN=l,l.wordSize=26;try{D=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:f(5568).Buffer}catch{}function d(T,i){var o=T.charCodeAt(i);return o>=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function P(T,i,o){var m=d(T,o);return o-1>=i&&(m|=d(T,o-1)<<4),m}function p(T,i,o,m){for(var h=0,y=Math.min(T.length,o),A=i;A<y;A++){var R=T.charCodeAt(A)-48;h*=m,h+=R>=49?R-49+10:R>=17?R-17+10:R}return h}l.isBN=function(i){return i instanceof l||null!==i&&"object"==typeof i&&i.constructor.wordSize===l.wordSize&&Array.isArray(i.words)},l.max=function(i,o){return i.cmp(o)>0?i:o},l.min=function(i,o){return i.cmp(o)<0?i:o},l.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),_(o===(0|o)&&o>=2&&o<=36);var h=0;"-"===(i=i.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h<i.length&&(16===o?this._parseHex(i,h,m):(this._parseBase(i,o,h),"le"===m&&this._initArray(this.toArray(),o,m)))},l.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):(_(i<9007199254740992),this.words=[67108863&i,i/67108864&67108863,1],this.length=3),"le"===m&&this._initArray(this.toArray(),o,m)},l.prototype._initArray=function(i,o,m){if(_("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 h=0;h<this.length;h++)this.words[h]=0;var y,A,R=0;if("be"===m)for(h=i.length-1,y=0;h>=0;h-=3)A=i[h]|i[h-1]<<8|i[h-2]<<16,this.words[y]|=A<<R&67108863,this.words[y+1]=A>>>26-R&67108863,(R+=24)>=26&&(R-=26,y++);else if("le"===m)for(h=0,y=0;h<i.length;h+=3)A=i[h]|i[h+1]<<8|i[h+2]<<16,this.words[y]|=A<<R&67108863,this.words[y+1]=A>>>26-R&67108863,(R+=24)>=26&&(R-=26,y++);return this.strip()},l.prototype._parseHex=function(i,o,m){this.length=Math.ceil((i.length-o)/6),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var R,y=0,A=0;if("be"===m)for(h=i.length-1;h>=o;h-=2)R=P(i,o,h)<<y,this.words[A]|=67108863&R,y>=18?(y-=18,A+=1,this.words[A]|=R>>>26):y+=8;else for(h=(i.length-o)%2==0?o+1:o;h<i.length;h+=2)R=P(i,o,h)<<y,this.words[A]|=67108863&R,y>=18?(y-=18,A+=1,this.words[A]|=R>>>26):y+=8;this.strip()},l.prototype._parseBase=function(i,o,m){this.words=[0],this.length=1;for(var h=0,y=1;y<=67108863;y*=o)h++;h--,y=y/o|0;for(var A=i.length-m,R=A%h,v=Math.min(A,A-R)+m,a=0,C=m;C<v;C+=h)a=p(i,C,C+h,o),this.imuln(y),this.words[0]+a<67108864?this.words[0]+=a:this._iaddn(a);if(0!==R){var U=1;for(a=p(i,C,i.length,o),C=0;C<R;C++)U*=o;this.imuln(U),this.words[0]+a<67108864?this.words[0]+=a:this._iaddn(a)}this.strip()},l.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},l.prototype.clone=function(){var i=new l(null);return this.copy(i),i},l.prototype._expand=function(i){for(;this.length<i;)this.words[this.length++]=0;return this},l.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},l.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},l.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var L=["","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],k=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function z(T,i,o){o.negative=i.negative^T.negative;var m=T.length+i.length|0;o.length=m,m=m-1|0;var h=0|T.words[0],y=0|i.words[0],A=h*y,R=67108863&A,v=A/67108864|0;o.words[0]=R;for(var a=1;a<m;a++){for(var C=v>>>26,U=67108863&v,N=Math.min(a,i.length-1),Q=Math.max(0,a-T.length+1);Q<=N;Q++){var Pe=a-Q|0;C+=(A=(h=0|T.words[Pe])*(y=0|i.words[Q])+U)/67108864|0,U=67108863&A}o.words[a]=0|U,v=0|C}return 0!==v?o.words[a]=0|v:o.length--,o.strip()}l.prototype.toString=function(i,o){var m;if(o=0|o||1,16===(i=i||10)||"hex"===i){m="";for(var h=0,y=0,A=0;A<this.length;A++){var R=this.words[A],v=(16777215&(R<<h|y)).toString(16);m=0!==(y=R>>>24-h&16777215)||A!==this.length-1?L[6-v.length]+v+m:v+m,(h+=2)>=26&&(h-=26,A--)}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 a=M[i],C=k[i];m="";var U=this.clone();for(U.negative=0;!U.isZero();){var N=U.modn(C).toString(i);m=(U=U.idivn(C)).isZero()?N+m:L[a-N.length]+N+m}for(this.isZero()&&(m="0"+m);m.length%o!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}_(!1,"Base should be between 2 and 36")},l.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&&_(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-i:i},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(i,o){return _(typeof D<"u"),this.toArrayLike(D,i,o)},l.prototype.toArray=function(i,o){return this.toArrayLike(Array,i,o)},l.prototype.toArrayLike=function(i,o,m){var h=this.byteLength(),y=m||Math.max(1,h);_(h<=y,"byte array longer than desired length"),_(y>0,"Requested array length <= 0"),this.strip();var v,a,A="le"===o,R=new i(y),C=this.clone();if(A){for(a=0;!C.isZero();a++)v=C.andln(255),C.iushrn(8),R[a]=v;for(;a<y;a++)R[a]=0}else{for(a=0;a<y-h;a++)R[a]=0;for(a=0;!C.isZero();a++)v=C.andln(255),C.iushrn(8),R[y-a-1]=v}return R},Math.clz32?l.prototype._countBits=function(i){return 32-Math.clz32(i)}:l.prototype._countBits=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},l.prototype._zeroBits=function(i){if(0===i)return 26;var o=i,m=0;return 0==(8191&o)&&(m+=13,o>>>=13),0==(127&o)&&(m+=7,o>>>=7),0==(15&o)&&(m+=4,o>>>=4),0==(3&o)&&(m+=2,o>>>=2),0==(1&o)&&m++,m},l.prototype.bitLength=function(){var i=this.words[this.length-1],o=this._countBits(i);return 26*(this.length-1)+o},l.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},l.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},l.prototype.toTwos=function(i){return 0!==this.negative?this.abs().inotn(i).iaddn(1):this.clone()},l.prototype.fromTwos=function(i){return this.testn(i-1)?this.notn(i).iaddn(1).ineg():this.clone()},l.prototype.isNeg=function(){return 0!==this.negative},l.prototype.neg=function(){return this.clone().ineg()},l.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},l.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()},l.prototype.ior=function(i){return _(0==(this.negative|i.negative)),this.iuor(i)},l.prototype.or=function(i){return this.length>i.length?this.clone().ior(i):i.clone().ior(this)},l.prototype.uor=function(i){return this.length>i.length?this.clone().iuor(i):i.clone().iuor(this)},l.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()},l.prototype.iand=function(i){return _(0==(this.negative|i.negative)),this.iuand(i)},l.prototype.and=function(i){return this.length>i.length?this.clone().iand(i):i.clone().iand(this)},l.prototype.uand=function(i){return this.length>i.length?this.clone().iuand(i):i.clone().iuand(this)},l.prototype.iuxor=function(i){var o,m;this.length>i.length?(o=this,m=i):(o=i,m=this);for(var h=0;h<m.length;h++)this.words[h]=o.words[h]^m.words[h];if(this!==o)for(;h<o.length;h++)this.words[h]=o.words[h];return this.length=o.length,this.strip()},l.prototype.ixor=function(i){return _(0==(this.negative|i.negative)),this.iuxor(i)},l.prototype.xor=function(i){return this.length>i.length?this.clone().ixor(i):i.clone().ixor(this)},l.prototype.uxor=function(i){return this.length>i.length?this.clone().iuxor(i):i.clone().iuxor(this)},l.prototype.inotn=function(i){_("number"==typeof i&&i>=0);var o=0|Math.ceil(i/26),m=i%26;this._expand(o),m>0&&o--;for(var h=0;h<o;h++)this.words[h]=67108863&~this.words[h];return m>0&&(this.words[h]=~this.words[h]&67108863>>26-m),this.strip()},l.prototype.notn=function(i){return this.clone().inotn(i)},l.prototype.setn=function(i,o){_("number"==typeof i&&i>=0);var m=i/26|0,h=i%26;return this._expand(m+1),this.words[m]=o?this.words[m]|1<<h:this.words[m]&~(1<<h),this.strip()},l.prototype.iadd=function(i){var o,m,h;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,h=i):(m=i,h=this);for(var y=0,A=0;A<h.length;A++)o=(0|m.words[A])+(0|h.words[A])+y,this.words[A]=67108863&o,y=o>>>26;for(;0!==y&&A<m.length;A++)o=(0|m.words[A])+y,this.words[A]=67108863&o,y=o>>>26;if(this.length=m.length,0!==y)this.words[this.length]=y,this.length++;else if(m!==this)for(;A<m.length;A++)this.words[A]=m.words[A];return this},l.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)},l.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 h,y,m=this.cmp(i);if(0===m)return this.negative=0,this.length=1,this.words[0]=0,this;m>0?(h=this,y=i):(h=i,y=this);for(var A=0,R=0;R<y.length;R++)A=(o=(0|h.words[R])-(0|y.words[R])+A)>>26,this.words[R]=67108863&o;for(;0!==A&&R<h.length;R++)A=(o=(0|h.words[R])+A)>>26,this.words[R]=67108863&o;if(0===A&&R<h.length&&h!==this)for(;R<h.length;R++)this.words[R]=h.words[R];return this.length=Math.max(this.length,R),h!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(i){return this.clone().isub(i)};var I=function(i,o,m){var v,a,C,h=i.words,y=o.words,A=m.words,R=0,U=0|h[0],N=8191&U,Q=U>>>13,Pe=0|h[1],Le=8191&Pe,Ye=Pe>>>13,$e=0|h[2],Ve=8191&$e,be=$e>>>13,et=0|h[3],je=8191&et,ye=et>>>13,Te=0|h[4],He=8191&Te,Ee=Te>>>13,we=0|h[5],de=8191&we,Me=we>>>13,ie=0|h[6],G=8191&ie,$=ie>>>13,ze=0|h[7],Ue=8191&ze,oe=ze>>>13,bt=0|h[8],Be=8191&bt,nt=bt>>>13,$t=0|h[9],gt=8191&$t,rt=$t>>>13,Re=0|y[0],ot=8191&Re,St=Re>>>13,gi=0|y[1],oi=8191&gi,ei=gi>>>13,Zi=0|y[2],si=8191&Zi,Bt=Zi>>>13,Je=0|y[3],me=8191&Je,K=Je>>>13,J=0|y[4],Ce=8191&J,We=J>>>13,Mt=0|y[5],Tt=8191&Mt,Nt=Mt>>>13,at=0|y[6],Ke=8191&at,vt=at>>>13,ri=0|y[7],Pt=8191&ri,Lt=ri>>>13,Kt=0|y[8],Ae=8191&Kt,fe=Kt>>>13,st=0|y[9],_t=8191&st,kt=st>>>13;m.negative=i.negative^o.negative,m.length=19;var Oi=(R+(v=Math.imul(N,ot))|0)+((8191&(a=(a=Math.imul(N,St))+Math.imul(Q,ot)|0))<<13)|0;R=((C=Math.imul(Q,St))+(a>>>13)|0)+(Oi>>>26)|0,Oi&=67108863,v=Math.imul(Le,ot),a=(a=Math.imul(Le,St))+Math.imul(Ye,ot)|0,C=Math.imul(Ye,St);var Li=(R+(v=v+Math.imul(N,oi)|0)|0)+((8191&(a=(a=a+Math.imul(N,ei)|0)+Math.imul(Q,oi)|0))<<13)|0;R=((C=C+Math.imul(Q,ei)|0)+(a>>>13)|0)+(Li>>>26)|0,Li&=67108863,v=Math.imul(Ve,ot),a=(a=Math.imul(Ve,St))+Math.imul(be,ot)|0,C=Math.imul(be,St),v=v+Math.imul(Le,oi)|0,a=(a=a+Math.imul(Le,ei)|0)+Math.imul(Ye,oi)|0,C=C+Math.imul(Ye,ei)|0;var Ei=(R+(v=v+Math.imul(N,si)|0)|0)+((8191&(a=(a=a+Math.imul(N,Bt)|0)+Math.imul(Q,si)|0))<<13)|0;R=((C=C+Math.imul(Q,Bt)|0)+(a>>>13)|0)+(Ei>>>26)|0,Ei&=67108863,v=Math.imul(je,ot),a=(a=Math.imul(je,St))+Math.imul(ye,ot)|0,C=Math.imul(ye,St),v=v+Math.imul(Ve,oi)|0,a=(a=a+Math.imul(Ve,ei)|0)+Math.imul(be,oi)|0,C=C+Math.imul(be,ei)|0,v=v+Math.imul(Le,si)|0,a=(a=a+Math.imul(Le,Bt)|0)+Math.imul(Ye,si)|0,C=C+Math.imul(Ye,Bt)|0;var Wi=(R+(v=v+Math.imul(N,me)|0)|0)+((8191&(a=(a=a+Math.imul(N,K)|0)+Math.imul(Q,me)|0))<<13)|0;R=((C=C+Math.imul(Q,K)|0)+(a>>>13)|0)+(Wi>>>26)|0,Wi&=67108863,v=Math.imul(He,ot),a=(a=Math.imul(He,St))+Math.imul(Ee,ot)|0,C=Math.imul(Ee,St),v=v+Math.imul(je,oi)|0,a=(a=a+Math.imul(je,ei)|0)+Math.imul(ye,oi)|0,C=C+Math.imul(ye,ei)|0,v=v+Math.imul(Ve,si)|0,a=(a=a+Math.imul(Ve,Bt)|0)+Math.imul(be,si)|0,C=C+Math.imul(be,Bt)|0,v=v+Math.imul(Le,me)|0,a=(a=a+Math.imul(Le,K)|0)+Math.imul(Ye,me)|0,C=C+Math.imul(Ye,K)|0;var wt=(R+(v=v+Math.imul(N,Ce)|0)|0)+((8191&(a=(a=a+Math.imul(N,We)|0)+Math.imul(Q,Ce)|0))<<13)|0;R=((C=C+Math.imul(Q,We)|0)+(a>>>13)|0)+(wt>>>26)|0,wt&=67108863,v=Math.imul(de,ot),a=(a=Math.imul(de,St))+Math.imul(Me,ot)|0,C=Math.imul(Me,St),v=v+Math.imul(He,oi)|0,a=(a=a+Math.imul(He,ei)|0)+Math.imul(Ee,oi)|0,C=C+Math.imul(Ee,ei)|0,v=v+Math.imul(je,si)|0,a=(a=a+Math.imul(je,Bt)|0)+Math.imul(ye,si)|0,C=C+Math.imul(ye,Bt)|0,v=v+Math.imul(Ve,me)|0,a=(a=a+Math.imul(Ve,K)|0)+Math.imul(be,me)|0,C=C+Math.imul(be,K)|0,v=v+Math.imul(Le,Ce)|0,a=(a=a+Math.imul(Le,We)|0)+Math.imul(Ye,Ce)|0,C=C+Math.imul(Ye,We)|0;var qe=(R+(v=v+Math.imul(N,Tt)|0)|0)+((8191&(a=(a=a+Math.imul(N,Nt)|0)+Math.imul(Q,Tt)|0))<<13)|0;R=((C=C+Math.imul(Q,Nt)|0)+(a>>>13)|0)+(qe>>>26)|0,qe&=67108863,v=Math.imul(G,ot),a=(a=Math.imul(G,St))+Math.imul($,ot)|0,C=Math.imul($,St),v=v+Math.imul(de,oi)|0,a=(a=a+Math.imul(de,ei)|0)+Math.imul(Me,oi)|0,C=C+Math.imul(Me,ei)|0,v=v+Math.imul(He,si)|0,a=(a=a+Math.imul(He,Bt)|0)+Math.imul(Ee,si)|0,C=C+Math.imul(Ee,Bt)|0,v=v+Math.imul(je,me)|0,a=(a=a+Math.imul(je,K)|0)+Math.imul(ye,me)|0,C=C+Math.imul(ye,K)|0,v=v+Math.imul(Ve,Ce)|0,a=(a=a+Math.imul(Ve,We)|0)+Math.imul(be,Ce)|0,C=C+Math.imul(be,We)|0,v=v+Math.imul(Le,Tt)|0,a=(a=a+Math.imul(Le,Nt)|0)+Math.imul(Ye,Tt)|0,C=C+Math.imul(Ye,Nt)|0;var Ne=(R+(v=v+Math.imul(N,Ke)|0)|0)+((8191&(a=(a=a+Math.imul(N,vt)|0)+Math.imul(Q,Ke)|0))<<13)|0;R=((C=C+Math.imul(Q,vt)|0)+(a>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,v=Math.imul(Ue,ot),a=(a=Math.imul(Ue,St))+Math.imul(oe,ot)|0,C=Math.imul(oe,St),v=v+Math.imul(G,oi)|0,a=(a=a+Math.imul(G,ei)|0)+Math.imul($,oi)|0,C=C+Math.imul($,ei)|0,v=v+Math.imul(de,si)|0,a=(a=a+Math.imul(de,Bt)|0)+Math.imul(Me,si)|0,C=C+Math.imul(Me,Bt)|0,v=v+Math.imul(He,me)|0,a=(a=a+Math.imul(He,K)|0)+Math.imul(Ee,me)|0,C=C+Math.imul(Ee,K)|0,v=v+Math.imul(je,Ce)|0,a=(a=a+Math.imul(je,We)|0)+Math.imul(ye,Ce)|0,C=C+Math.imul(ye,We)|0,v=v+Math.imul(Ve,Tt)|0,a=(a=a+Math.imul(Ve,Nt)|0)+Math.imul(be,Tt)|0,C=C+Math.imul(be,Nt)|0,v=v+Math.imul(Le,Ke)|0,a=(a=a+Math.imul(Le,vt)|0)+Math.imul(Ye,Ke)|0,C=C+Math.imul(Ye,vt)|0;var Vt=(R+(v=v+Math.imul(N,Pt)|0)|0)+((8191&(a=(a=a+Math.imul(N,Lt)|0)+Math.imul(Q,Pt)|0))<<13)|0;R=((C=C+Math.imul(Q,Lt)|0)+(a>>>13)|0)+(Vt>>>26)|0,Vt&=67108863,v=Math.imul(Be,ot),a=(a=Math.imul(Be,St))+Math.imul(nt,ot)|0,C=Math.imul(nt,St),v=v+Math.imul(Ue,oi)|0,a=(a=a+Math.imul(Ue,ei)|0)+Math.imul(oe,oi)|0,C=C+Math.imul(oe,ei)|0,v=v+Math.imul(G,si)|0,a=(a=a+Math.imul(G,Bt)|0)+Math.imul($,si)|0,C=C+Math.imul($,Bt)|0,v=v+Math.imul(de,me)|0,a=(a=a+Math.imul(de,K)|0)+Math.imul(Me,me)|0,C=C+Math.imul(Me,K)|0,v=v+Math.imul(He,Ce)|0,a=(a=a+Math.imul(He,We)|0)+Math.imul(Ee,Ce)|0,C=C+Math.imul(Ee,We)|0,v=v+Math.imul(je,Tt)|0,a=(a=a+Math.imul(je,Nt)|0)+Math.imul(ye,Tt)|0,C=C+Math.imul(ye,Nt)|0,v=v+Math.imul(Ve,Ke)|0,a=(a=a+Math.imul(Ve,vt)|0)+Math.imul(be,Ke)|0,C=C+Math.imul(be,vt)|0,v=v+Math.imul(Le,Pt)|0,a=(a=a+Math.imul(Le,Lt)|0)+Math.imul(Ye,Pt)|0,C=C+Math.imul(Ye,Lt)|0;var jt=(R+(v=v+Math.imul(N,Ae)|0)|0)+((8191&(a=(a=a+Math.imul(N,fe)|0)+Math.imul(Q,Ae)|0))<<13)|0;R=((C=C+Math.imul(Q,fe)|0)+(a>>>13)|0)+(jt>>>26)|0,jt&=67108863,v=Math.imul(gt,ot),a=(a=Math.imul(gt,St))+Math.imul(rt,ot)|0,C=Math.imul(rt,St),v=v+Math.imul(Be,oi)|0,a=(a=a+Math.imul(Be,ei)|0)+Math.imul(nt,oi)|0,C=C+Math.imul(nt,ei)|0,v=v+Math.imul(Ue,si)|0,a=(a=a+Math.imul(Ue,Bt)|0)+Math.imul(oe,si)|0,C=C+Math.imul(oe,Bt)|0,v=v+Math.imul(G,me)|0,a=(a=a+Math.imul(G,K)|0)+Math.imul($,me)|0,C=C+Math.imul($,K)|0,v=v+Math.imul(de,Ce)|0,a=(a=a+Math.imul(de,We)|0)+Math.imul(Me,Ce)|0,C=C+Math.imul(Me,We)|0,v=v+Math.imul(He,Tt)|0,a=(a=a+Math.imul(He,Nt)|0)+Math.imul(Ee,Tt)|0,C=C+Math.imul(Ee,Nt)|0,v=v+Math.imul(je,Ke)|0,a=(a=a+Math.imul(je,vt)|0)+Math.imul(ye,Ke)|0,C=C+Math.imul(ye,vt)|0,v=v+Math.imul(Ve,Pt)|0,a=(a=a+Math.imul(Ve,Lt)|0)+Math.imul(be,Pt)|0,C=C+Math.imul(be,Lt)|0,v=v+Math.imul(Le,Ae)|0,a=(a=a+Math.imul(Le,fe)|0)+Math.imul(Ye,Ae)|0,C=C+Math.imul(Ye,fe)|0;var fi=(R+(v=v+Math.imul(N,_t)|0)|0)+((8191&(a=(a=a+Math.imul(N,kt)|0)+Math.imul(Q,_t)|0))<<13)|0;R=((C=C+Math.imul(Q,kt)|0)+(a>>>13)|0)+(fi>>>26)|0,fi&=67108863,v=Math.imul(gt,oi),a=(a=Math.imul(gt,ei))+Math.imul(rt,oi)|0,C=Math.imul(rt,ei),v=v+Math.imul(Be,si)|0,a=(a=a+Math.imul(Be,Bt)|0)+Math.imul(nt,si)|0,C=C+Math.imul(nt,Bt)|0,v=v+Math.imul(Ue,me)|0,a=(a=a+Math.imul(Ue,K)|0)+Math.imul(oe,me)|0,C=C+Math.imul(oe,K)|0,v=v+Math.imul(G,Ce)|0,a=(a=a+Math.imul(G,We)|0)+Math.imul($,Ce)|0,C=C+Math.imul($,We)|0,v=v+Math.imul(de,Tt)|0,a=(a=a+Math.imul(de,Nt)|0)+Math.imul(Me,Tt)|0,C=C+Math.imul(Me,Nt)|0,v=v+Math.imul(He,Ke)|0,a=(a=a+Math.imul(He,vt)|0)+Math.imul(Ee,Ke)|0,C=C+Math.imul(Ee,vt)|0,v=v+Math.imul(je,Pt)|0,a=(a=a+Math.imul(je,Lt)|0)+Math.imul(ye,Pt)|0,C=C+Math.imul(ye,Lt)|0,v=v+Math.imul(Ve,Ae)|0,a=(a=a+Math.imul(Ve,fe)|0)+Math.imul(be,Ae)|0,C=C+Math.imul(be,fe)|0;var Si=(R+(v=v+Math.imul(Le,_t)|0)|0)+((8191&(a=(a=a+Math.imul(Le,kt)|0)+Math.imul(Ye,_t)|0))<<13)|0;R=((C=C+Math.imul(Ye,kt)|0)+(a>>>13)|0)+(Si>>>26)|0,Si&=67108863,v=Math.imul(gt,si),a=(a=Math.imul(gt,Bt))+Math.imul(rt,si)|0,C=Math.imul(rt,Bt),v=v+Math.imul(Be,me)|0,a=(a=a+Math.imul(Be,K)|0)+Math.imul(nt,me)|0,C=C+Math.imul(nt,K)|0,v=v+Math.imul(Ue,Ce)|0,a=(a=a+Math.imul(Ue,We)|0)+Math.imul(oe,Ce)|0,C=C+Math.imul(oe,We)|0,v=v+Math.imul(G,Tt)|0,a=(a=a+Math.imul(G,Nt)|0)+Math.imul($,Tt)|0,C=C+Math.imul($,Nt)|0,v=v+Math.imul(de,Ke)|0,a=(a=a+Math.imul(de,vt)|0)+Math.imul(Me,Ke)|0,C=C+Math.imul(Me,vt)|0,v=v+Math.imul(He,Pt)|0,a=(a=a+Math.imul(He,Lt)|0)+Math.imul(Ee,Pt)|0,C=C+Math.imul(Ee,Lt)|0,v=v+Math.imul(je,Ae)|0,a=(a=a+Math.imul(je,fe)|0)+Math.imul(ye,Ae)|0,C=C+Math.imul(ye,fe)|0;var ki=(R+(v=v+Math.imul(Ve,_t)|0)|0)+((8191&(a=(a=a+Math.imul(Ve,kt)|0)+Math.imul(be,_t)|0))<<13)|0;R=((C=C+Math.imul(be,kt)|0)+(a>>>13)|0)+(ki>>>26)|0,ki&=67108863,v=Math.imul(gt,me),a=(a=Math.imul(gt,K))+Math.imul(rt,me)|0,C=Math.imul(rt,K),v=v+Math.imul(Be,Ce)|0,a=(a=a+Math.imul(Be,We)|0)+Math.imul(nt,Ce)|0,C=C+Math.imul(nt,We)|0,v=v+Math.imul(Ue,Tt)|0,a=(a=a+Math.imul(Ue,Nt)|0)+Math.imul(oe,Tt)|0,C=C+Math.imul(oe,Nt)|0,v=v+Math.imul(G,Ke)|0,a=(a=a+Math.imul(G,vt)|0)+Math.imul($,Ke)|0,C=C+Math.imul($,vt)|0,v=v+Math.imul(de,Pt)|0,a=(a=a+Math.imul(de,Lt)|0)+Math.imul(Me,Pt)|0,C=C+Math.imul(Me,Lt)|0,v=v+Math.imul(He,Ae)|0,a=(a=a+Math.imul(He,fe)|0)+Math.imul(Ee,Ae)|0,C=C+Math.imul(Ee,fe)|0;var Gi=(R+(v=v+Math.imul(je,_t)|0)|0)+((8191&(a=(a=a+Math.imul(je,kt)|0)+Math.imul(ye,_t)|0))<<13)|0;R=((C=C+Math.imul(ye,kt)|0)+(a>>>13)|0)+(Gi>>>26)|0,Gi&=67108863,v=Math.imul(gt,Ce),a=(a=Math.imul(gt,We))+Math.imul(rt,Ce)|0,C=Math.imul(rt,We),v=v+Math.imul(Be,Tt)|0,a=(a=a+Math.imul(Be,Nt)|0)+Math.imul(nt,Tt)|0,C=C+Math.imul(nt,Nt)|0,v=v+Math.imul(Ue,Ke)|0,a=(a=a+Math.imul(Ue,vt)|0)+Math.imul(oe,Ke)|0,C=C+Math.imul(oe,vt)|0,v=v+Math.imul(G,Pt)|0,a=(a=a+Math.imul(G,Lt)|0)+Math.imul($,Pt)|0,C=C+Math.imul($,Lt)|0,v=v+Math.imul(de,Ae)|0,a=(a=a+Math.imul(de,fe)|0)+Math.imul(Me,Ae)|0,C=C+Math.imul(Me,fe)|0;var Qt=(R+(v=v+Math.imul(He,_t)|0)|0)+((8191&(a=(a=a+Math.imul(He,kt)|0)+Math.imul(Ee,_t)|0))<<13)|0;R=((C=C+Math.imul(Ee,kt)|0)+(a>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,v=Math.imul(gt,Tt),a=(a=Math.imul(gt,Nt))+Math.imul(rt,Tt)|0,C=Math.imul(rt,Nt),v=v+Math.imul(Be,Ke)|0,a=(a=a+Math.imul(Be,vt)|0)+Math.imul(nt,Ke)|0,C=C+Math.imul(nt,vt)|0,v=v+Math.imul(Ue,Pt)|0,a=(a=a+Math.imul(Ue,Lt)|0)+Math.imul(oe,Pt)|0,C=C+Math.imul(oe,Lt)|0,v=v+Math.imul(G,Ae)|0,a=(a=a+Math.imul(G,fe)|0)+Math.imul($,Ae)|0,C=C+Math.imul($,fe)|0;var xe=(R+(v=v+Math.imul(de,_t)|0)|0)+((8191&(a=(a=a+Math.imul(de,kt)|0)+Math.imul(Me,_t)|0))<<13)|0;R=((C=C+Math.imul(Me,kt)|0)+(a>>>13)|0)+(xe>>>26)|0,xe&=67108863,v=Math.imul(gt,Ke),a=(a=Math.imul(gt,vt))+Math.imul(rt,Ke)|0,C=Math.imul(rt,vt),v=v+Math.imul(Be,Pt)|0,a=(a=a+Math.imul(Be,Lt)|0)+Math.imul(nt,Pt)|0,C=C+Math.imul(nt,Lt)|0,v=v+Math.imul(Ue,Ae)|0,a=(a=a+Math.imul(Ue,fe)|0)+Math.imul(oe,Ae)|0,C=C+Math.imul(oe,fe)|0;var ke=(R+(v=v+Math.imul(G,_t)|0)|0)+((8191&(a=(a=a+Math.imul(G,kt)|0)+Math.imul($,_t)|0))<<13)|0;R=((C=C+Math.imul($,kt)|0)+(a>>>13)|0)+(ke>>>26)|0,ke&=67108863,v=Math.imul(gt,Pt),a=(a=Math.imul(gt,Lt))+Math.imul(rt,Pt)|0,C=Math.imul(rt,Lt),v=v+Math.imul(Be,Ae)|0,a=(a=a+Math.imul(Be,fe)|0)+Math.imul(nt,Ae)|0,C=C+Math.imul(nt,fe)|0;var ft=(R+(v=v+Math.imul(Ue,_t)|0)|0)+((8191&(a=(a=a+Math.imul(Ue,kt)|0)+Math.imul(oe,_t)|0))<<13)|0;R=((C=C+Math.imul(oe,kt)|0)+(a>>>13)|0)+(ft>>>26)|0,ft&=67108863,v=Math.imul(gt,Ae),a=(a=Math.imul(gt,fe))+Math.imul(rt,Ae)|0,C=Math.imul(rt,fe);var Rt=(R+(v=v+Math.imul(Be,_t)|0)|0)+((8191&(a=(a=a+Math.imul(Be,kt)|0)+Math.imul(nt,_t)|0))<<13)|0;R=((C=C+Math.imul(nt,kt)|0)+(a>>>13)|0)+(Rt>>>26)|0,Rt&=67108863;var di=(R+(v=Math.imul(gt,_t))|0)+((8191&(a=(a=Math.imul(gt,kt))+Math.imul(rt,_t)|0))<<13)|0;return R=((C=Math.imul(rt,kt))+(a>>>13)|0)+(di>>>26)|0,di&=67108863,A[0]=Oi,A[1]=Li,A[2]=Ei,A[3]=Wi,A[4]=wt,A[5]=qe,A[6]=Ne,A[7]=Vt,A[8]=jt,A[9]=fi,A[10]=Si,A[11]=ki,A[12]=Gi,A[13]=Qt,A[14]=xe,A[15]=ke,A[16]=ft,A[17]=Rt,A[18]=di,0!==R&&(A[19]=R,m.length++),m};function Z(T,i,o){return(new q).mulp(T,i,o)}function q(T,i){this.x=T,this.y=i}Math.imul||(I=z),l.prototype.mulTo=function(i,o){var m,h=this.length+i.length;return m=10===this.length&&10===i.length?I(this,i,o):h<63?z(this,i,o):h<1024?function V(T,i,o){o.negative=i.negative^T.negative,o.length=T.length+i.length;for(var m=0,h=0,y=0;y<o.length-1;y++){var A=h;h=0;for(var R=67108863&m,v=Math.min(y,i.length-1),a=Math.max(0,y-T.length+1);a<=v;a++){var C=y-a,Q=(0|T.words[C])*(0|i.words[a]),Pe=67108863&Q;R=67108863&(Pe=Pe+R|0),h+=(A=(A=A+(Q/67108864|0)|0)+(Pe>>>26)|0)>>>26,A&=67108863}o.words[y]=R,m=A,A=h}return 0!==m?o.words[y]=m:o.length--,o.strip()}(this,i,o):Z(this,i,o),m},q.prototype.makeRBT=function(i){for(var o=new Array(i),m=l.prototype._countBits(i)-1,h=0;h<i;h++)o[h]=this.revBin(h,m,i);return o},q.prototype.revBin=function(i,o,m){if(0===i||i===m-1)return i;for(var h=0,y=0;y<o;y++)h|=(1&i)<<o-y-1,i>>=1;return h},q.prototype.permute=function(i,o,m,h,y,A){for(var R=0;R<A;R++)h[R]=o[i[R]],y[R]=m[i[R]]},q.prototype.transform=function(i,o,m,h,y,A){this.permute(A,i,o,m,h,y);for(var R=1;R<y;R<<=1)for(var v=R<<1,a=Math.cos(2*Math.PI/v),C=Math.sin(2*Math.PI/v),U=0;U<y;U+=v)for(var N=a,Q=C,Pe=0;Pe<R;Pe++){var Le=m[U+Pe],Ye=h[U+Pe],$e=m[U+Pe+R],Ve=h[U+Pe+R],be=N*$e-Q*Ve;Ve=N*Ve+Q*$e,$e=be,m[U+Pe]=Le+$e,h[U+Pe]=Ye+Ve,m[U+Pe+R]=Le-$e,h[U+Pe+R]=Ye-Ve,Pe!==v&&(be=a*N-C*Q,Q=a*Q+C*N,N=be)}},q.prototype.guessLen13b=function(i,o){var m=1|Math.max(o,i),h=1&m,y=0;for(m=m/2|0;m;m>>>=1)y++;return 1<<y+1+h},q.prototype.conjugate=function(i,o,m){if(!(m<=1))for(var h=0;h<m/2;h++){var y=i[h];i[h]=i[m-h-1],i[m-h-1]=y,y=o[h],o[h]=-o[m-h-1],o[m-h-1]=-y}},q.prototype.normalize13b=function(i,o){for(var m=0,h=0;h<o/2;h++){var y=8192*Math.round(i[2*h+1]/o)+Math.round(i[2*h]/o)+m;i[h]=67108863&y,m=y<67108864?0:y/67108864|0}return i},q.prototype.convert13b=function(i,o,m,h){for(var y=0,A=0;A<o;A++)y+=0|i[A],m[2*A]=8191&y,y>>>=13,m[2*A+1]=8191&y,y>>>=13;for(A=2*o;A<h;++A)m[A]=0;_(0===y),_(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 h=2*this.guessLen13b(i.length,o.length),y=this.makeRBT(h),A=this.stub(h),R=new Array(h),v=new Array(h),a=new Array(h),C=new Array(h),U=new Array(h),N=new Array(h),Q=m.words;Q.length=h,this.convert13b(i.words,i.length,R,h),this.convert13b(o.words,o.length,C,h),this.transform(R,A,v,a,h,y),this.transform(C,A,U,N,h,y);for(var Pe=0;Pe<h;Pe++){var Le=v[Pe]*U[Pe]-a[Pe]*N[Pe];a[Pe]=v[Pe]*N[Pe]+a[Pe]*U[Pe],v[Pe]=Le}return this.conjugate(v,a,h),this.transform(v,a,Q,A,h,y),this.conjugate(Q,A,h),this.normalize13b(Q,h),m.negative=i.negative^o.negative,m.length=i.length+o.length,m.strip()},l.prototype.mul=function(i){var o=new l(null);return o.words=new Array(this.length+i.length),this.mulTo(i,o)},l.prototype.mulf=function(i){var o=new l(null);return o.words=new Array(this.length+i.length),Z(this,i,o)},l.prototype.imul=function(i){return this.clone().mulTo(i,this)},l.prototype.imuln=function(i){_("number"==typeof i),_(i<67108864);for(var o=0,m=0;m<this.length;m++){var h=(0|this.words[m])*i,y=(67108863&h)+(67108863&o);o>>=26,o+=h/67108864|0,o+=y>>>26,this.words[m]=67108863&y}return 0!==o&&(this.words[m]=o,this.length++),this},l.prototype.muln=function(i){return this.clone().imuln(i)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(i){var o=function E(T){for(var i=new Array(T.bitLength()),o=0;o<i.length;o++){var m=o/26|0,h=o%26;i[o]=(T.words[m]&1<<h)>>>h}return i}(i);if(0===o.length)return new l(1);for(var m=this,h=0;h<o.length&&0===o[h];h++,m=m.sqr());if(++h<o.length)for(var y=m.sqr();h<o.length;h++,y=y.sqr())0!==o[h]&&(m=m.mul(y));return m},l.prototype.iushln=function(i){_("number"==typeof i&&i>=0);var y,o=i%26,m=(i-o)/26,h=67108863>>>26-o<<26-o;if(0!==o){var A=0;for(y=0;y<this.length;y++){var R=this.words[y]&h,v=(0|this.words[y])-R<<o;this.words[y]=v|A,A=R>>>26-o}A&&(this.words[y]=A,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()},l.prototype.ishln=function(i){return _(0===this.negative),this.iushln(i)},l.prototype.iushrn=function(i,o,m){var h;_("number"==typeof i&&i>=0),h=o?(o-o%26)/26:0;var y=i%26,A=Math.min((i-y)/26,this.length),R=67108863^67108863>>>y<<y,v=m;if(h-=A,h=Math.max(0,h),v){for(var a=0;a<A;a++)v.words[a]=this.words[a];v.length=A}if(0!==A)if(this.length>A)for(this.length-=A,a=0;a<this.length;a++)this.words[a]=this.words[a+A];else this.words[0]=0,this.length=1;var C=0;for(a=this.length-1;a>=0&&(0!==C||a>=h);a--){var U=0|this.words[a];this.words[a]=C<<26-y|U>>>y,C=U&R}return v&&0!==C&&(v.words[v.length++]=C),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(i,o,m){return _(0===this.negative),this.iushrn(i,o,m)},l.prototype.shln=function(i){return this.clone().ishln(i)},l.prototype.ushln=function(i){return this.clone().iushln(i)},l.prototype.shrn=function(i){return this.clone().ishrn(i)},l.prototype.ushrn=function(i){return this.clone().iushrn(i)},l.prototype.testn=function(i){_("number"==typeof i&&i>=0);var o=i%26,m=(i-o)/26,h=1<<o;return!(this.length<=m)&&!!(this.words[m]&h)},l.prototype.imaskn=function(i){_("number"==typeof i&&i>=0);var o=i%26,m=(i-o)/26;if(_(0===this.negative,"imaskn works only with positive numbers"),this.length<=m)return this;if(0!==o&&m++,this.length=Math.min(m,this.length),0!==o){var h=67108863^67108863>>>o<<o;this.words[this.length-1]&=h}return this.strip()},l.prototype.maskn=function(i){return this.clone().imaskn(i)},l.prototype.iaddn=function(i){return _("number"==typeof i),_(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)},l.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},l.prototype.isubn=function(i){if(_("number"==typeof i),_(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()},l.prototype.addn=function(i){return this.clone().iaddn(i)},l.prototype.subn=function(i){return this.clone().isubn(i)},l.prototype.iabs=function(){return this.negative=0,this},l.prototype.abs=function(){return this.clone().iabs()},l.prototype._ishlnsubmul=function(i,o,m){var y,h=i.length+m;this._expand(h);var A,R=0;for(y=0;y<i.length;y++){A=(0|this.words[y+m])+R;var v=(0|i.words[y])*o;R=((A-=67108863&v)>>26)-(v/67108864|0),this.words[y+m]=67108863&A}for(;y<this.length-m;y++)R=(A=(0|this.words[y+m])+R)>>26,this.words[y+m]=67108863&A;if(0===R)return this.strip();for(_(-1===R),R=0,y=0;y<this.length;y++)R=(A=-(0|this.words[y])+R)>>26,this.words[y]=67108863&A;return this.negative=1,this.strip()},l.prototype._wordDiv=function(i,o){var m=(this.length,i.length),h=this.clone(),y=i,A=0|y.words[y.length-1];0!==(m=26-this._countBits(A))&&(y=y.ushln(m),h.iushln(m),A=0|y.words[y.length-1]);var a,v=h.length-y.length;if("mod"!==o){(a=new l(null)).length=v+1,a.words=new Array(a.length);for(var C=0;C<a.length;C++)a.words[C]=0}var U=h.clone()._ishlnsubmul(y,1,v);0===U.negative&&(h=U,a&&(a.words[v]=1));for(var N=v-1;N>=0;N--){var Q=67108864*(0|h.words[y.length+N])+(0|h.words[y.length+N-1]);for(Q=Math.min(Q/A|0,67108863),h._ishlnsubmul(y,Q,N);0!==h.negative;)Q--,h.negative=0,h._ishlnsubmul(y,1,N),h.isZero()||(h.negative^=1);a&&(a.words[N]=Q)}return a&&a.strip(),h.strip(),"div"!==o&&0!==m&&h.iushrn(m),{div:a||null,mod:h}},l.prototype.divmod=function(i,o,m){return _(!i.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===i.negative?(A=this.neg().divmod(i,o),"mod"!==o&&(h=A.div.neg()),"div"!==o&&(y=A.mod.neg(),m&&0!==y.negative&&y.iadd(i)),{div:h,mod:y}):0===this.negative&&0!==i.negative?(A=this.divmod(i.neg(),o),"mod"!==o&&(h=A.div.neg()),{div:h,mod:A.mod}):0!=(this.negative&i.negative)?(A=this.neg().divmod(i.neg(),o),"div"!==o&&(y=A.mod.neg(),m&&0!==y.negative&&y.isub(i)),{div:A.div,mod:y}):i.length>this.length||this.cmp(i)<0?{div:new l(0),mod:this}:1===i.length?"div"===o?{div:this.divn(i.words[0]),mod:null}:"mod"===o?{div:null,mod:new l(this.modn(i.words[0]))}:{div:this.divn(i.words[0]),mod:new l(this.modn(i.words[0]))}:this._wordDiv(i,o);var h,y,A},l.prototype.div=function(i){return this.divmod(i,"div",!1).div},l.prototype.mod=function(i){return this.divmod(i,"mod",!1).mod},l.prototype.umod=function(i){return this.divmod(i,"mod",!0).mod},l.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,h=i.ushrn(1),y=i.andln(1),A=m.cmp(h);return A<0||1===y&&0===A?o.div:0!==o.div.negative?o.div.isubn(1):o.div.iaddn(1)},l.prototype.modn=function(i){_(i<=67108863);for(var o=(1<<26)%i,m=0,h=this.length-1;h>=0;h--)m=(o*m+(0|this.words[h]))%i;return m},l.prototype.idivn=function(i){_(i<=67108863);for(var o=0,m=this.length-1;m>=0;m--){var h=(0|this.words[m])+67108864*o;this.words[m]=h/i|0,o=h%i}return this.strip()},l.prototype.divn=function(i){return this.clone().idivn(i)},l.prototype.egcd=function(i){_(0===i.negative),_(!i.isZero());var o=this,m=i.clone();o=0!==o.negative?o.umod(i):o.clone();for(var h=new l(1),y=new l(0),A=new l(0),R=new l(1),v=0;o.isEven()&&m.isEven();)o.iushrn(1),m.iushrn(1),++v;for(var a=m.clone(),C=o.clone();!o.isZero();){for(var U=0,N=1;0==(o.words[0]&N)&&U<26;++U,N<<=1);if(U>0)for(o.iushrn(U);U-- >0;)(h.isOdd()||y.isOdd())&&(h.iadd(a),y.isub(C)),h.iushrn(1),y.iushrn(1);for(var Q=0,Pe=1;0==(m.words[0]&Pe)&&Q<26;++Q,Pe<<=1);if(Q>0)for(m.iushrn(Q);Q-- >0;)(A.isOdd()||R.isOdd())&&(A.iadd(a),R.isub(C)),A.iushrn(1),R.iushrn(1);o.cmp(m)>=0?(o.isub(m),h.isub(A),y.isub(R)):(m.isub(o),A.isub(h),R.isub(y))}return{a:A,b:R,gcd:m.iushln(v)}},l.prototype._invmp=function(i){_(0===i.negative),_(!i.isZero());var U,o=this,m=i.clone();o=0!==o.negative?o.umod(i):o.clone();for(var h=new l(1),y=new l(0),A=m.clone();o.cmpn(1)>0&&m.cmpn(1)>0;){for(var R=0,v=1;0==(o.words[0]&v)&&R<26;++R,v<<=1);if(R>0)for(o.iushrn(R);R-- >0;)h.isOdd()&&h.iadd(A),h.iushrn(1);for(var a=0,C=1;0==(m.words[0]&C)&&a<26;++a,C<<=1);if(a>0)for(m.iushrn(a);a-- >0;)y.isOdd()&&y.iadd(A),y.iushrn(1);o.cmp(m)>=0?(o.isub(m),h.isub(y)):(m.isub(o),y.isub(h))}return(U=0===o.cmpn(1)?h:y).cmpn(0)<0&&U.iadd(i),U},l.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 h=0;o.isEven()&&m.isEven();h++)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 A=o;o=m,m=A}else if(0===y||0===m.cmpn(1))break;o.isub(m)}return m.iushln(h)},l.prototype.invm=function(i){return this.egcd(i).a.umod(i)},l.prototype.isEven=function(){return 0==(1&this.words[0])},l.prototype.isOdd=function(){return 1==(1&this.words[0])},l.prototype.andln=function(i){return this.words[0]&i},l.prototype.bincn=function(i){_("number"==typeof i);var o=i%26,m=(i-o)/26,h=1<<o;if(this.length<=m)return this._expand(m+1),this.words[m]|=h,this;for(var y=h,A=m;0!==y&&A<this.length;A++){var R=0|this.words[A];y=(R+=y)>>>26,R&=67108863,this.words[A]=R}return 0!==y&&(this.words[A]=y,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.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),_(i<=67108863,"Number is too big");var h=0|this.words[0];m=h===i?0:h<i?-1:1}return 0!==this.negative?0|-m:m},l.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},l.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 h=0|this.words[m],y=0|i.words[m];if(h!==y){h<y?o=-1:h>y&&(o=1);break}}return o},l.prototype.gtn=function(i){return 1===this.cmpn(i)},l.prototype.gt=function(i){return 1===this.cmp(i)},l.prototype.gten=function(i){return this.cmpn(i)>=0},l.prototype.gte=function(i){return this.cmp(i)>=0},l.prototype.ltn=function(i){return-1===this.cmpn(i)},l.prototype.lt=function(i){return-1===this.cmp(i)},l.prototype.lten=function(i){return this.cmpn(i)<=0},l.prototype.lte=function(i){return this.cmp(i)<=0},l.prototype.eqn=function(i){return 0===this.cmpn(i)},l.prototype.eq=function(i){return 0===this.cmp(i)},l.red=function(i){return new ae(i)},l.prototype.toRed=function(i){return _(!this.red,"Already a number in reduction context"),_(0===this.negative,"red works only with positives"),i.convertTo(this)._forceRed(i)},l.prototype.fromRed=function(){return _(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(i){return this.red=i,this},l.prototype.forceRed=function(i){return _(!this.red,"Already a number in reduction context"),this._forceRed(i)},l.prototype.redAdd=function(i){return _(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},l.prototype.redIAdd=function(i){return _(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},l.prototype.redSub=function(i){return _(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},l.prototype.redISub=function(i){return _(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},l.prototype.redShl=function(i){return _(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},l.prototype.redMul=function(i){return _(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},l.prototype.redIMul=function(i){return _(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},l.prototype.redSqr=function(){return _(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return _(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return _(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return _(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return _(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(i){return _(this.red&&!i.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,i)};var te={k256:null,p224:null,p192:null,p25519:null};function ne(T,i){this.name=T,this.p=new l(i,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function le(){ne.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function re(){ne.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function _e(){ne.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function he(){ne.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function ae(T){if("string"==typeof T){var i=l._prime(T);this.m=i.p,this.prime=i}else _(T.gtn(1),"modulus must be greater than 1"),this.m=T,this.prime=null}function ve(T){ae.call(this,T),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}ne.prototype._tmp=function(){var i=new l(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 h=m<this.n?-1:o.ucmp(this.p);return 0===h?(o.words[0]=0,o.length=1):h>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)},S(le,ne),le.prototype.split=function(i,o){for(var m=4194303,h=Math.min(i.length,9),y=0;y<h;y++)o.words[y]=i.words[y];if(o.length=h,i.length<=9)return i.words[0]=0,void(i.length=1);var A=i.words[9];for(o.words[o.length++]=A&m,y=10;y<i.length;y++){var R=0|i.words[y];i.words[y-10]=(R&m)<<4|A>>>22,A=R}A>>>=22,i.words[y-10]=A,0===A&&i.length>10?i.length-=10:i.length-=9},le.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 h=0|i.words[m];o+=977*h,i.words[m]=67108863&o,o=64*h+(o/67108864|0)}return 0===i.words[i.length-1]&&(i.length--,0===i.words[i.length-1]&&i.length--),i},S(re,ne),S(_e,ne),S(he,ne),he.prototype.imulK=function(i){for(var o=0,m=0;m<i.length;m++){var h=19*(0|i.words[m])+o,y=67108863&h;h>>>=26,i.words[m]=y,o=h}return 0!==o&&(i.words[i.length++]=o),i},l._prime=function(i){if(te[i])return te[i];var o;if("k256"===i)o=new le;else if("p224"===i)o=new re;else if("p192"===i)o=new _e;else{if("p25519"!==i)throw new Error("Unknown prime "+i);o=new he}return te[i]=o,o},ae.prototype._verify1=function(i){_(0===i.negative,"red works only with positives"),_(i.red,"red works only with red numbers")},ae.prototype._verify2=function(i,o){_(0==(i.negative|o.negative),"red works only with positives"),_(i.red&&i.red===o.red,"red works only with red numbers")},ae.prototype.imod=function(i){return this.prime?this.prime.ireduce(i)._forceRed(this):i.umod(this.m)._forceRed(this)},ae.prototype.neg=function(i){return i.isZero()?i.clone():this.m.sub(i)._forceRed(this)},ae.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)},ae.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},ae.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)},ae.prototype.isub=function(i,o){this._verify2(i,o);var m=i.isub(o);return m.cmpn(0)<0&&m.iadd(this.m),m},ae.prototype.shl=function(i,o){return this._verify1(i),this.imod(i.ushln(o))},ae.prototype.imul=function(i,o){return this._verify2(i,o),this.imod(i.imul(o))},ae.prototype.mul=function(i,o){return this._verify2(i,o),this.imod(i.mul(o))},ae.prototype.isqr=function(i){return this.imul(i,i.clone())},ae.prototype.sqr=function(i){return this.mul(i,i)},ae.prototype.sqrt=function(i){if(i.isZero())return i.clone();var o=this.m.andln(3);if(_(o%2==1),3===o){var m=this.m.add(new l(1)).iushrn(2);return this.pow(i,m)}for(var h=this.m.subn(1),y=0;!h.isZero()&&0===h.andln(1);)y++,h.iushrn(1);_(!h.isZero());var A=new l(1).toRed(this),R=A.redNeg(),v=this.m.subn(1).iushrn(1),a=this.m.bitLength();for(a=new l(2*a*a).toRed(this);0!==this.pow(a,v).cmp(R);)a.redIAdd(R);for(var C=this.pow(a,h),U=this.pow(i,h.addn(1).iushrn(1)),N=this.pow(i,h),Q=y;0!==N.cmp(A);){for(var Pe=N,Le=0;0!==Pe.cmp(A);Le++)Pe=Pe.redSqr();_(Le<Q);var Ye=this.pow(C,new l(1).iushln(Q-Le-1));U=U.redMul(Ye),C=Ye.redSqr(),N=N.redMul(C),Q=Le}return U},ae.prototype.invm=function(i){var o=i._invmp(this.m);return 0!==o.negative?(o.negative=0,this.imod(o).redNeg()):this.imod(o)},ae.prototype.pow=function(i,o){if(o.isZero())return new l(1).toRed(this);if(0===o.cmpn(1))return i.clone();var h=new Array(16);h[0]=new l(1).toRed(this),h[1]=i;for(var y=2;y<h.length;y++)h[y]=this.mul(h[y-1],i);var A=h[0],R=0,v=0,a=o.bitLength()%26;for(0===a&&(a=26),y=o.length-1;y>=0;y--){for(var C=o.words[y],U=a-1;U>=0;U--){var N=C>>U&1;(A!==h[0]&&(A=this.sqr(A)),0!==N||0!==R)?(R<<=1,R|=N,(4===++v||0===y&&0===U)&&(A=this.mul(A,h[R]),v=0,R=0)):v=0}a=26}return A},ae.prototype.convertTo=function(i){var o=i.umod(this.m);return o===i?o.clone():o},ae.prototype.convertFrom=function(i){var o=i.clone();return o.red=null,o},l.mont=function(i){return new ve(i)},S(ve,ae),ve.prototype.convertTo=function(i){return this.imod(i.ushln(this.shift))},ve.prototype.convertFrom=function(i){var o=this.imod(i.mul(this.rinv));return o.red=null,o},ve.prototype.imul=function(i,o){if(i.isZero()||o.isZero())return i.words[0]=0,i.length=1,i;var m=i.imul(o),h=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=m.isub(h).iushrn(this.shift),A=y;return y.cmp(this.m)>=0?A=y.isub(this.m):y.cmpn(0)<0&&(A=y.iadd(this.m)),A._forceRed(this)},ve.prototype.mul=function(i,o){if(i.isZero()||o.isZero())return new l(0)._forceRed(this);var m=i.mul(o),h=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=m.isub(h).iushrn(this.shift),A=y;return y.cmp(this.m)>=0?A=y.isub(this.m):y.cmpn(0)<0&&(A=y.iadd(this.m)),A._forceRed(this)},ve.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}})(Ge=f.nmd(Ge),this)},6236:Ge=>{"use strict";Ge.exports=function(f){for(var e=[],t=f.length,_=0;_<t;_++){var S=f.charCodeAt(_);if(S>=55296&&S<=56319&&t>_+1){var l=f.charCodeAt(_+1);l>=56320&&l<=57343&&(S=1024*(S-55296)+l-56320+65536,_+=1)}S<128?e.push(S):S<2048?(e.push(S>>6|192),e.push(63&S|128)):S<55296||S>=57344&&S<65536?(e.push(S>>12|224),e.push(S>>6&63|128),e.push(63&S|128)):S>=65536&&S<=1114111?(e.push(S>>18|240),e.push(S>>12&63|128),e.push(S>>6&63|128),e.push(63&S|128)):e.push(239,191,189)}return new Uint8Array(e).buffer}},3358:Ge=>{"use strict";var e,X="object"==typeof Reflect?Reflect:null,f=X&&"function"==typeof X.apply?X.apply:function(ne,le,re){return Function.prototype.apply.call(ne,le,re)};e=X&&"function"==typeof X.ownKeys?X.ownKeys:Object.getOwnPropertySymbols?function(ne){return Object.getOwnPropertyNames(ne).concat(Object.getOwnPropertySymbols(ne))}:function(ne){return Object.getOwnPropertyNames(ne)};var _=Number.isNaN||function(ne){return ne!=ne};function S(){S.init.call(this)}Ge.exports=S,Ge.exports.once=function V(te,ne){return new Promise(function(le,re){function _e(ae){te.removeListener(ne,he),re(ae)}function he(){"function"==typeof te.removeListener&&te.removeListener("error",_e),le([].slice.call(arguments))}q(te,ne,he,{once:!0}),"error"!==ne&&function Z(te,ne,le){"function"==typeof te.on&&q(te,"error",ne,le)}(te,_e,{once:!0})})},S.EventEmitter=S,S.prototype._events=void 0,S.prototype._eventsCount=0,S.prototype._maxListeners=void 0;var l=10;function D(te){if("function"!=typeof te)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof te)}function d(te){return void 0===te._maxListeners?S.defaultMaxListeners:te._maxListeners}function P(te,ne,le,re){var _e,he,ae;if(D(le),void 0===(he=te._events)?(he=te._events=Object.create(null),te._eventsCount=0):(void 0!==he.newListener&&(te.emit("newListener",ne,le.listener?le.listener:le),he=te._events),ae=he[ne]),void 0===ae)ae=he[ne]=le,++te._eventsCount;else if("function"==typeof ae?ae=he[ne]=re?[le,ae]:[ae,le]:re?ae.unshift(le):ae.push(le),(_e=d(te))>0&&ae.length>_e&&!ae.warned){ae.warned=!0;var ve=new Error("Possible EventEmitter memory leak detected. "+ae.length+" "+String(ne)+" listeners added. Use emitter.setMaxListeners() to increase limit");ve.name="MaxListenersExceededWarning",ve.emitter=te,ve.type=ne,ve.count=ae.length,function t(te){console&&console.warn&&console.warn(te)}(ve)}return te}function p(){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 L(te,ne,le){var re={fired:!1,wrapFn:void 0,target:te,type:ne,listener:le},_e=p.bind(re);return _e.listener=le,re.wrapFn=_e,_e}function M(te,ne,le){var re=te._events;if(void 0===re)return[];var _e=re[ne];return void 0===_e?[]:"function"==typeof _e?le?[_e.listener||_e]:[_e]:le?function I(te){for(var ne=new Array(te.length),le=0;le<ne.length;++le)ne[le]=te[le].listener||te[le];return ne}(_e):E(_e,_e.length)}function k(te){var ne=this._events;if(void 0!==ne){var le=ne[te];if("function"==typeof le)return 1;if(void 0!==le)return le.length}return 0}function E(te,ne){for(var le=new Array(ne),re=0;re<ne;++re)le[re]=te[re];return le}function q(te,ne,le,re){if("function"==typeof te.on)re.once?te.once(ne,le):te.on(ne,le);else{if("function"!=typeof te.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof te);te.addEventListener(ne,function _e(he){re.once&&te.removeEventListener(ne,_e),le(he)})}}Object.defineProperty(S,"defaultMaxListeners",{enumerable:!0,get:function(){return l},set:function(te){if("number"!=typeof te||te<0||_(te))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+te+".");l=te}}),S.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},S.prototype.setMaxListeners=function(ne){if("number"!=typeof ne||ne<0||_(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},S.prototype.getMaxListeners=function(){return d(this)},S.prototype.emit=function(ne){for(var le=[],re=1;re<arguments.length;re++)le.push(arguments[re]);var _e="error"===ne,he=this._events;if(void 0!==he)_e=_e&&void 0===he.error;else if(!_e)return!1;if(_e){var ae;if(le.length>0&&(ae=le[0]),ae instanceof Error)throw ae;var ve=new Error("Unhandled error."+(ae?" ("+ae.message+")":""));throw ve.context=ae,ve}var T=he[ne];if(void 0===T)return!1;if("function"==typeof T)f(T,this,le);else{var i=T.length,o=E(T,i);for(re=0;re<i;++re)f(o[re],this,le)}return!0},S.prototype.addListener=function(ne,le){return P(this,ne,le,!1)},S.prototype.on=S.prototype.addListener,S.prototype.prependListener=function(ne,le){return P(this,ne,le,!0)},S.prototype.once=function(ne,le){return D(le),this.on(ne,L(this,ne,le)),this},S.prototype.prependOnceListener=function(ne,le){return D(le),this.prependListener(ne,L(this,ne,le)),this},S.prototype.removeListener=function(ne,le){var re,_e,he,ae,ve;if(D(le),void 0===(_e=this._events))return this;if(void 0===(re=_e[ne]))return this;if(re===le||re.listener===le)0==--this._eventsCount?this._events=Object.create(null):(delete _e[ne],_e.removeListener&&this.emit("removeListener",ne,re.listener||le));else if("function"!=typeof re){for(he=-1,ae=re.length-1;ae>=0;ae--)if(re[ae]===le||re[ae].listener===le){ve=re[ae].listener,he=ae;break}if(he<0)return this;0===he?re.shift():function z(te,ne){for(;ne+1<te.length;ne++)te[ne]=te[ne+1];te.pop()}(re,he),1===re.length&&(_e[ne]=re[0]),void 0!==_e.removeListener&&this.emit("removeListener",ne,ve||le)}return this},S.prototype.off=S.prototype.removeListener,S.prototype.removeAllListeners=function(ne){var le,re,_e;if(void 0===(re=this._events))return this;if(void 0===re.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==re[ne]&&(0==--this._eventsCount?this._events=Object.create(null):delete re[ne]),this;if(0===arguments.length){var ae,he=Object.keys(re);for(_e=0;_e<he.length;++_e)"removeListener"!==(ae=he[_e])&&this.removeAllListeners(ae);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(le=re[ne]))this.removeListener(ne,le);else if(void 0!==le)for(_e=le.length-1;_e>=0;_e--)this.removeListener(ne,le[_e]);return this},S.prototype.listeners=function(ne){return M(this,ne,!0)},S.prototype.rawListeners=function(ne){return M(this,ne,!1)},S.listenerCount=function(te,ne){return"function"==typeof te.listenerCount?te.listenerCount(ne):k.call(te,ne)},S.prototype.listenerCount=k,S.prototype.eventNames=function(){return this._eventsCount>0?e(this._events):[]}},153:(Ge,X,f)=>{var e=f(9708).Buffer,t=f(2617);Ge.exports=function _(S,l,D,d){if(e.isBuffer(S)||(S=e.from(S,"binary")),l&&(e.isBuffer(l)||(l=e.from(l,"binary")),8!==l.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var P=D/8,p=e.alloc(P),L=e.alloc(d||0),M=e.alloc(0);P>0||d>0;){var k=new t;k.update(M),k.update(S),l&&k.update(l),M=k.digest();var E=0;if(P>0){var z=p.length-P;E=Math.min(P,M.length),M.copy(p,z,0,E),P-=E}if(E<M.length&&d>0){var I=L.length-d,V=Math.min(d,M.length-E);M.copy(L,I,E,E+V),d-=V}}return M.fill(0),{key:p,iv:L}}},3817:(Ge,X,f)=>{"use strict";var e=f(9708).Buffer,t=f(9697).Transform;function l(D){t.call(this),this._block=e.allocUnsafe(D),this._blockSize=D,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}f(5035)(l,t),l.prototype._transform=function(D,d,P){var p=null;try{this.update(D,d)}catch(L){p=L}P(p)},l.prototype._flush=function(D){var d=null;try{this.push(this.digest())}catch(P){d=P}D(d)},l.prototype.update=function(D,d){if(function S(D,d){if(!e.isBuffer(D)&&"string"!=typeof D)throw new TypeError(d+" must be a string or a buffer")}(D,"Data"),this._finalized)throw new Error("Digest already called");e.isBuffer(D)||(D=e.from(D,d));for(var P=this._block,p=0;this._blockOffset+D.length-p>=this._blockSize;){for(var L=this._blockOffset;L<this._blockSize;)P[L++]=D[p++];this._update(),this._blockOffset=0}for(;p<D.length;)P[this._blockOffset++]=D[p++];for(var M=0,k=8*D.length;k>0;++M)this._length[M]+=k,(k=this._length[M]/4294967296|0)>0&&(this._length[M]-=4294967296*k);return this},l.prototype._update=function(){throw new Error("_update is not implemented")},l.prototype.digest=function(D){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var d=this._digest();void 0!==D&&(d=d.toString(D)),this._block.fill(0),this._blockOffset=0;for(var P=0;P<4;++P)this._length[P]=0;return d},l.prototype._digest=function(){throw new Error("_digest is not implemented")},Ge.exports=l},9281:(Ge,X,f)=>{var e=X;e.utils=f(2764),e.common=f(622),e.sha=f(4131),e.ripemd=f(7968),e.hmac=f(7063),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},622:(Ge,X,f)=>{"use strict";var e=f(2764),t=f(3999);function _(){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}X.BlockHash=_,_.prototype.update=function(l,D){if(l=e.toArray(l,D),this.pending?this.pending=this.pending.concat(l):this.pending=l,this.pendingTotal+=l.length,this.pending.length>=this._delta8){var d=(l=this.pending).length%this._delta8;this.pending=l.slice(l.length-d,l.length),0===this.pending.length&&(this.pending=null),l=e.join32(l,0,l.length-d,this.endian);for(var P=0;P<l.length;P+=this._delta32)this._update(l,P,P+this._delta32)}return this},_.prototype.digest=function(l){return this.update(this._pad()),t(null===this.pending),this._digest(l)},_.prototype._pad=function(){var l=this.pendingTotal,D=this._delta8,d=D-(l+this.padLength)%D,P=new Array(d+this.padLength);P[0]=128;for(var p=1;p<d;p++)P[p]=0;if(l<<=3,"big"===this.endian){for(var L=8;L<this.padLength;L++)P[p++]=0;P[p++]=0,P[p++]=0,P[p++]=0,P[p++]=0,P[p++]=l>>>24&255,P[p++]=l>>>16&255,P[p++]=l>>>8&255,P[p++]=255&l}else for(P[p++]=255&l,P[p++]=l>>>8&255,P[p++]=l>>>16&255,P[p++]=l>>>24&255,P[p++]=0,P[p++]=0,P[p++]=0,P[p++]=0,L=8;L<this.padLength;L++)P[p++]=0;return P}},7063:(Ge,X,f)=>{"use strict";var e=f(2764),t=f(3999);function _(S,l,D){if(!(this instanceof _))return new _(S,l,D);this.Hash=S,this.blockSize=S.blockSize/8,this.outSize=S.outSize/8,this.inner=null,this.outer=null,this._init(e.toArray(l,D))}Ge.exports=_,_.prototype._init=function(l){l.length>this.blockSize&&(l=(new this.Hash).update(l).digest()),t(l.length<=this.blockSize);for(var D=l.length;D<this.blockSize;D++)l.push(0);for(D=0;D<l.length;D++)l[D]^=54;for(this.inner=(new this.Hash).update(l),D=0;D<l.length;D++)l[D]^=106;this.outer=(new this.Hash).update(l)},_.prototype.update=function(l,D){return this.inner.update(l,D),this},_.prototype.digest=function(l){return this.outer.update(this.inner.digest()),this.outer.digest(l)}},7968:(Ge,X,f)=>{"use strict";var e=f(2764),t=f(622),_=e.rotl32,S=e.sum32,l=e.sum32_3,D=e.sum32_4,d=t.BlockHash;function P(){if(!(this instanceof P))return new P;d.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function p(V,Z,q,te){return V<=15?Z^q^te:V<=31?Z&q|~Z&te:V<=47?(Z|~q)^te:V<=63?Z&te|q&~te:Z^(q|~te)}function M(V){return V<=15?1352829926:V<=31?1548603684:V<=47?1836072691:V<=63?2053994217:0}e.inherits(P,d),X.ripemd160=P,P.blockSize=512,P.outSize=160,P.hmacStrength=192,P.padLength=64,P.prototype._update=function(Z,q){for(var te=this.h[0],ne=this.h[1],le=this.h[2],re=this.h[3],_e=this.h[4],he=te,ae=ne,ve=le,T=re,i=_e,o=0;o<80;o++){var m=S(_(D(te,p(o,ne,le,re),Z[k[o]+q],(V=o)<=15?0:V<=31?1518500249:V<=47?1859775393:V<=63?2400959708:2840853838),z[o]),_e);te=_e,_e=re,re=_(le,10),le=ne,ne=m,m=S(_(D(he,p(79-o,ae,ve,T),Z[E[o]+q],M(o)),I[o]),i),he=i,i=T,T=_(ve,10),ve=ae,ae=m}var V;m=l(this.h[1],le,T),this.h[1]=l(this.h[2],re,i),this.h[2]=l(this.h[3],_e,he),this.h[3]=l(this.h[4],te,ae),this.h[4]=l(this.h[0],ne,ve),this.h[0]=m},P.prototype._digest=function(Z){return"hex"===Z?e.toHex32(this.h,"little"):e.split32(this.h,"little")};var k=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],E=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],z=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],I=[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]},4131:(Ge,X,f)=>{"use strict";X.sha1=f(4655),X.sha224=f(9912),X.sha256=f(8769),X.sha384=f(5215),X.sha512=f(4664)},4655:(Ge,X,f)=>{"use strict";var e=f(2764),t=f(622),_=f(5590),S=e.rotl32,l=e.sum32,D=e.sum32_5,d=_.ft_1,P=t.BlockHash,p=[1518500249,1859775393,2400959708,3395469782];function L(){if(!(this instanceof L))return new L;P.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}e.inherits(L,P),Ge.exports=L,L.blockSize=512,L.outSize=160,L.hmacStrength=80,L.padLength=64,L.prototype._update=function(k,E){for(var z=this.W,I=0;I<16;I++)z[I]=k[E+I];for(;I<z.length;I++)z[I]=S(z[I-3]^z[I-8]^z[I-14]^z[I-16],1);var V=this.h[0],Z=this.h[1],q=this.h[2],te=this.h[3],ne=this.h[4];for(I=0;I<z.length;I++){var le=~~(I/20),re=D(S(V,5),d(le,Z,q,te),ne,z[I],p[le]);ne=te,te=q,q=S(Z,30),Z=V,V=re}this.h[0]=l(this.h[0],V),this.h[1]=l(this.h[1],Z),this.h[2]=l(this.h[2],q),this.h[3]=l(this.h[3],te),this.h[4]=l(this.h[4],ne)},L.prototype._digest=function(k){return"hex"===k?e.toHex32(this.h,"big"):e.split32(this.h,"big")}},9912:(Ge,X,f)=>{"use strict";var e=f(2764),t=f(8769);function _(){if(!(this instanceof _))return new _;t.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}e.inherits(_,t),Ge.exports=_,_.blockSize=512,_.outSize=224,_.hmacStrength=192,_.padLength=64,_.prototype._digest=function(l){return"hex"===l?e.toHex32(this.h.slice(0,7),"big"):e.split32(this.h.slice(0,7),"big")}},8769:(Ge,X,f)=>{"use strict";var e=f(2764),t=f(622),_=f(5590),S=f(3999),l=e.sum32,D=e.sum32_4,d=e.sum32_5,P=_.ch32,p=_.maj32,L=_.s0_256,M=_.s1_256,k=_.g0_256,E=_.g1_256,z=t.BlockHash,I=[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 V(){if(!(this instanceof V))return new V;z.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=I,this.W=new Array(64)}e.inherits(V,z),Ge.exports=V,V.blockSize=512,V.outSize=256,V.hmacStrength=192,V.padLength=64,V.prototype._update=function(q,te){for(var ne=this.W,le=0;le<16;le++)ne[le]=q[te+le];for(;le<ne.length;le++)ne[le]=D(E(ne[le-2]),ne[le-7],k(ne[le-15]),ne[le-16]);var re=this.h[0],_e=this.h[1],he=this.h[2],ae=this.h[3],ve=this.h[4],T=this.h[5],i=this.h[6],o=this.h[7];for(S(this.k.length===ne.length),le=0;le<ne.length;le++){var m=d(o,M(ve),P(ve,T,i),this.k[le],ne[le]),h=l(L(re),p(re,_e,he));o=i,i=T,T=ve,ve=l(ae,m),ae=he,he=_e,_e=re,re=l(m,h)}this.h[0]=l(this.h[0],re),this.h[1]=l(this.h[1],_e),this.h[2]=l(this.h[2],he),this.h[3]=l(this.h[3],ae),this.h[4]=l(this.h[4],ve),this.h[5]=l(this.h[5],T),this.h[6]=l(this.h[6],i),this.h[7]=l(this.h[7],o)},V.prototype._digest=function(q){return"hex"===q?e.toHex32(this.h,"big"):e.split32(this.h,"big")}},5215:(Ge,X,f)=>{"use strict";var e=f(2764),t=f(4664);function _(){if(!(this instanceof _))return new _;t.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}e.inherits(_,t),Ge.exports=_,_.blockSize=1024,_.outSize=384,_.hmacStrength=192,_.padLength=128,_.prototype._digest=function(l){return"hex"===l?e.toHex32(this.h.slice(0,12),"big"):e.split32(this.h.slice(0,12),"big")}},4664:(Ge,X,f)=>{"use strict";var e=f(2764),t=f(622),_=f(3999),S=e.rotr64_hi,l=e.rotr64_lo,D=e.shr64_hi,d=e.shr64_lo,P=e.sum64,p=e.sum64_hi,L=e.sum64_lo,M=e.sum64_4_hi,k=e.sum64_4_lo,E=e.sum64_5_hi,z=e.sum64_5_lo,I=t.BlockHash,V=[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 Z(){if(!(this instanceof Z))return new Z;I.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=V,this.W=new Array(160)}function q(m,h,y,A,R){var v=m&y^~m&R;return v<0&&(v+=4294967296),v}function te(m,h,y,A,R,v){var a=h&A^~h&v;return a<0&&(a+=4294967296),a}function ne(m,h,y,A,R){var v=m&y^m&R^y&R;return v<0&&(v+=4294967296),v}function le(m,h,y,A,R,v){var a=h&A^h&v^A&v;return a<0&&(a+=4294967296),a}function re(m,h){var v=S(m,h,28)^S(h,m,2)^S(h,m,7);return v<0&&(v+=4294967296),v}function _e(m,h){var v=l(m,h,28)^l(h,m,2)^l(h,m,7);return v<0&&(v+=4294967296),v}function he(m,h){var v=S(m,h,14)^S(m,h,18)^S(h,m,9);return v<0&&(v+=4294967296),v}function ae(m,h){var v=l(m,h,14)^l(m,h,18)^l(h,m,9);return v<0&&(v+=4294967296),v}function ve(m,h){var v=S(m,h,1)^S(m,h,8)^D(m,h,7);return v<0&&(v+=4294967296),v}function T(m,h){var v=l(m,h,1)^l(m,h,8)^d(m,h,7);return v<0&&(v+=4294967296),v}function i(m,h){var v=S(m,h,19)^S(h,m,29)^D(m,h,6);return v<0&&(v+=4294967296),v}function o(m,h){var v=l(m,h,19)^l(h,m,29)^d(m,h,6);return v<0&&(v+=4294967296),v}e.inherits(Z,I),Ge.exports=Z,Z.blockSize=1024,Z.outSize=512,Z.hmacStrength=192,Z.padLength=128,Z.prototype._prepareBlock=function(h,y){for(var A=this.W,R=0;R<32;R++)A[R]=h[y+R];for(;R<A.length;R+=2){var v=i(A[R-4],A[R-3]),a=o(A[R-4],A[R-3]),C=A[R-14],U=A[R-13],N=ve(A[R-30],A[R-29]),Q=T(A[R-30],A[R-29]),Pe=A[R-32],Le=A[R-31];A[R]=M(v,a,C,U,N,Q,Pe,Le),A[R+1]=k(v,a,C,U,N,Q,Pe,Le)}},Z.prototype._update=function(h,y){this._prepareBlock(h,y);var A=this.W,R=this.h[0],v=this.h[1],a=this.h[2],C=this.h[3],U=this.h[4],N=this.h[5],Q=this.h[6],Pe=this.h[7],Le=this.h[8],Ye=this.h[9],$e=this.h[10],Ve=this.h[11],be=this.h[12],et=this.h[13],je=this.h[14],ye=this.h[15];_(this.k.length===A.length);for(var Te=0;Te<A.length;Te+=2){var He=je,Ee=ye,we=he(Le,Ye),de=ae(Le,Ye),Me=q(Le,Ye,$e,Ve,be),ie=te(Le,Ye,$e,Ve,be,et),G=this.k[Te],$=this.k[Te+1],ze=A[Te],Ue=A[Te+1],oe=E(He,Ee,we,de,Me,ie,G,$,ze,Ue),bt=z(He,Ee,we,de,Me,ie,G,$,ze,Ue);He=re(R,v),Ee=_e(R,v),we=ne(R,v,a,C,U),de=le(R,v,a,C,U,N);var Be=p(He,Ee,we,de),nt=L(He,Ee,we,de);je=be,ye=et,be=$e,et=Ve,$e=Le,Ve=Ye,Le=p(Q,Pe,oe,bt),Ye=L(Pe,Pe,oe,bt),Q=U,Pe=N,U=a,N=C,a=R,C=v,R=p(oe,bt,Be,nt),v=L(oe,bt,Be,nt)}P(this.h,0,R,v),P(this.h,2,a,C),P(this.h,4,U,N),P(this.h,6,Q,Pe),P(this.h,8,Le,Ye),P(this.h,10,$e,Ve),P(this.h,12,be,et),P(this.h,14,je,ye)},Z.prototype._digest=function(h){return"hex"===h?e.toHex32(this.h,"big"):e.split32(this.h,"big")}},5590:(Ge,X,f)=>{"use strict";var t=f(2764).rotr32;function S(M,k,E){return M&k^~M&E}function l(M,k,E){return M&k^M&E^k&E}function D(M,k,E){return M^k^E}X.ft_1=function _(M,k,E,z){return 0===M?S(k,E,z):1===M||3===M?D(k,E,z):2===M?l(k,E,z):void 0},X.ch32=S,X.maj32=l,X.p32=D,X.s0_256=function d(M){return t(M,2)^t(M,13)^t(M,22)},X.s1_256=function P(M){return t(M,6)^t(M,11)^t(M,25)},X.g0_256=function p(M){return t(M,7)^t(M,18)^M>>>3},X.g1_256=function L(M){return t(M,17)^t(M,19)^M>>>10}},2764:(Ge,X,f)=>{"use strict";var e=f(3999),t=f(5035);function _(o,m){return!(55296!=(64512&o.charCodeAt(m))||m<0||m+1>=o.length)&&56320==(64512&o.charCodeAt(m+1))}function D(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 p(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}X.inherits=t,X.toArray=function S(o,m){if(Array.isArray(o))return o.slice();if(!o)return[];var h=[];if("string"==typeof o)if(m){if("hex"===m)for((o=o.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(o="0"+o),A=0;A<o.length;A+=2)h.push(parseInt(o[A]+o[A+1],16))}else for(var y=0,A=0;A<o.length;A++){var R=o.charCodeAt(A);R<128?h[y++]=R:R<2048?(h[y++]=R>>6|192,h[y++]=63&R|128):_(o,A)?(R=65536+((1023&R)<<10)+(1023&o.charCodeAt(++A)),h[y++]=R>>18|240,h[y++]=R>>12&63|128,h[y++]=R>>6&63|128,h[y++]=63&R|128):(h[y++]=R>>12|224,h[y++]=R>>6&63|128,h[y++]=63&R|128)}else for(A=0;A<o.length;A++)h[A]=0|o[A];return h},X.toHex=function l(o){for(var m="",h=0;h<o.length;h++)m+=P(o[h].toString(16));return m},X.htonl=D,X.toHex32=function d(o,m){for(var h="",y=0;y<o.length;y++){var A=o[y];"little"===m&&(A=D(A)),h+=p(A.toString(16))}return h},X.zero2=P,X.zero8=p,X.join32=function L(o,m,h,y){var A=h-m;e(A%4==0);for(var R=new Array(A/4),v=0,a=m;v<R.length;v++,a+=4){var C;C="big"===y?o[a]<<24|o[a+1]<<16|o[a+2]<<8|o[a+3]:o[a+3]<<24|o[a+2]<<16|o[a+1]<<8|o[a],R[v]=C>>>0}return R},X.split32=function M(o,m){for(var h=new Array(4*o.length),y=0,A=0;y<o.length;y++,A+=4){var R=o[y];"big"===m?(h[A]=R>>>24,h[A+1]=R>>>16&255,h[A+2]=R>>>8&255,h[A+3]=255&R):(h[A+3]=R>>>24,h[A+2]=R>>>16&255,h[A+1]=R>>>8&255,h[A]=255&R)}return h},X.rotr32=function k(o,m){return o>>>m|o<<32-m},X.rotl32=function E(o,m){return o<<m|o>>>32-m},X.sum32=function z(o,m){return o+m>>>0},X.sum32_3=function I(o,m,h){return o+m+h>>>0},X.sum32_4=function V(o,m,h,y){return o+m+h+y>>>0},X.sum32_5=function Z(o,m,h,y,A){return o+m+h+y+A>>>0},X.sum64=function q(o,m,h,y){var A=o[m],v=y+o[m+1]>>>0,a=(v<y?1:0)+h+A;o[m]=a>>>0,o[m+1]=v},X.sum64_hi=function te(o,m,h,y){return(m+y>>>0<m?1:0)+o+h>>>0},X.sum64_lo=function ne(o,m,h,y){return m+y>>>0},X.sum64_4_hi=function le(o,m,h,y,A,R,v,a){var C=0,U=m;return C+=(U=U+y>>>0)<m?1:0,C+=(U=U+R>>>0)<R?1:0,o+h+A+v+(C+=(U=U+a>>>0)<a?1:0)>>>0},X.sum64_4_lo=function re(o,m,h,y,A,R,v,a){return m+y+R+a>>>0},X.sum64_5_hi=function _e(o,m,h,y,A,R,v,a,C,U){var N=0,Q=m;return N+=(Q=Q+y>>>0)<m?1:0,N+=(Q=Q+R>>>0)<R?1:0,N+=(Q=Q+a>>>0)<a?1:0,o+h+A+v+C+(N+=(Q=Q+U>>>0)<U?1:0)>>>0},X.sum64_5_lo=function he(o,m,h,y,A,R,v,a,C,U){return m+y+R+a+U>>>0},X.rotr64_hi=function ae(o,m,h){return(m<<32-h|o>>>h)>>>0},X.rotr64_lo=function ve(o,m,h){return(o<<32-h|m>>>h)>>>0},X.shr64_hi=function T(o,m,h){return o>>>h},X.shr64_lo=function i(o,m,h){return(o<<32-h|m>>>h)>>>0}},3925:(Ge,X,f)=>{"use strict";var e=f(9281),t=f(4985),_=f(3999);function S(l){if(!(this instanceof S))return new S(l);this.hash=l.hash,this.predResist=!!l.predResist,this.outLen=this.hash.outSize,this.minEntropy=l.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var D=t.toArray(l.entropy,l.entropyEnc||"hex"),d=t.toArray(l.nonce,l.nonceEnc||"hex"),P=t.toArray(l.pers,l.persEnc||"hex");_(D.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(D,d,P)}Ge.exports=S,S.prototype._init=function(D,d,P){var p=D.concat(d).concat(P);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var L=0;L<this.V.length;L++)this.K[L]=0,this.V[L]=1;this._update(p),this._reseed=1,this.reseedInterval=281474976710656},S.prototype._hmac=function(){return new e.hmac(this.hash,this.K)},S.prototype._update=function(D){var d=this._hmac().update(this.V).update([0]);D&&(d=d.update(D)),this.K=d.digest(),this.V=this._hmac().update(this.V).digest(),D&&(this.K=this._hmac().update(this.V).update([1]).update(D).digest(),this.V=this._hmac().update(this.V).digest())},S.prototype.reseed=function(D,d,P,p){"string"!=typeof d&&(p=P,P=d,d=null),D=t.toArray(D,d),P=t.toArray(P,p),_(D.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(D.concat(P||[])),this._reseed=1},S.prototype.generate=function(D,d,P,p){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof d&&(p=P,P=d,d=null),P&&(P=t.toArray(P,p||"hex"),this._update(P));for(var L=[];L.length<D;)this.V=this._hmac().update(this.V).digest(),L=L.concat(this.V);var M=L.slice(0,D);return this._update(P),this._reseed++,t.encode(M,d)}},4920:(Ge,X)=>{X.read=function(f,e,t,_,S){var l,D,d=8*S-_-1,P=(1<<d)-1,p=P>>1,L=-7,M=t?S-1:0,k=t?-1:1,E=f[e+M];for(M+=k,l=E&(1<<-L)-1,E>>=-L,L+=d;L>0;l=256*l+f[e+M],M+=k,L-=8);for(D=l&(1<<-L)-1,l>>=-L,L+=_;L>0;D=256*D+f[e+M],M+=k,L-=8);if(0===l)l=1-p;else{if(l===P)return D?NaN:1/0*(E?-1:1);D+=Math.pow(2,_),l-=p}return(E?-1:1)*D*Math.pow(2,l-_)},X.write=function(f,e,t,_,S,l){var D,d,P,p=8*l-S-1,L=(1<<p)-1,M=L>>1,k=23===S?Math.pow(2,-24)-Math.pow(2,-77):0,E=_?0:l-1,z=_?1:-1,I=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(d=isNaN(e)?1:0,D=L):(D=Math.floor(Math.log(e)/Math.LN2),e*(P=Math.pow(2,-D))<1&&(D--,P*=2),(e+=D+M>=1?k/P:k*Math.pow(2,1-M))*P>=2&&(D++,P/=2),D+M>=L?(d=0,D=L):D+M>=1?(d=(e*P-1)*Math.pow(2,S),D+=M):(d=e*Math.pow(2,M-1)*Math.pow(2,S),D=0));S>=8;f[t+E]=255&d,E+=z,d/=256,S-=8);for(D=D<<S|d,p+=S;p>0;f[t+E]=255&D,E+=z,D/=256,p-=8);f[t+E-z]|=128*I}},5035:Ge=>{"function"==typeof Object.create?Ge.exports=function(f,e){e&&(f.super_=e,f.prototype=Object.create(e.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}))}:Ge.exports=function(f,e){if(e){f.super_=e;var t=function(){};t.prototype=e.prototype,f.prototype=new t,f.prototype.constructor=f}}},3858:(Ge,X,f)=>{"use strict";var e=f(9848);function t(_){return!0===e(_)&&"[object Object]"===Object.prototype.toString.call(_)}Ge.exports=function(S){var l,D;return!(!1===t(S)||(l=S.constructor,"function"!=typeof l)||(D=l.prototype,!1===t(D))||!1===D.hasOwnProperty("isPrototypeOf"))}},9848:Ge=>{"use strict";Ge.exports=function(f){return null!=f&&"object"==typeof f&&!1===Array.isArray(f)}},8220:Ge=>{var X=Object.prototype.toString;function f(p){return"function"==typeof p.constructor?p.constructor.name:null}Ge.exports=function(L){if(void 0===L)return"undefined";if(null===L)return"null";var M=typeof L;if("boolean"===M)return"boolean";if("string"===M)return"string";if("number"===M)return"number";if("symbol"===M)return"symbol";if("function"===M)return function l(p,L){return"GeneratorFunction"===f(p)}(L)?"generatorfunction":"function";if(function e(p){return Array.isArray?Array.isArray(p):p instanceof Array}(L))return"array";if(function P(p){return!(!p.constructor||"function"!=typeof p.constructor.isBuffer)&&p.constructor.isBuffer(p)}(L))return"buffer";if(function d(p){try{if("number"==typeof p.length&&"function"==typeof p.callee)return!0}catch(L){if(-1!==L.message.indexOf("callee"))return!0}return!1}(L))return"arguments";if(function _(p){return p instanceof Date||"function"==typeof p.toDateString&&"function"==typeof p.getDate&&"function"==typeof p.setDate}(L))return"date";if(function t(p){return p instanceof Error||"string"==typeof p.message&&p.constructor&&"number"==typeof p.constructor.stackTraceLimit}(L))return"error";if(function S(p){return p instanceof RegExp||"string"==typeof p.flags&&"boolean"==typeof p.ignoreCase&&"boolean"==typeof p.multiline&&"boolean"==typeof p.global}(L))return"regexp";switch(f(L)){case"Symbol":return"symbol";case"Promise":return"promise";case"WeakMap":return"weakmap";case"WeakSet":return"weakset";case"Map":return"map";case"Set":return"set";case"Int8Array":return"int8array";case"Uint8Array":return"uint8array";case"Uint8ClampedArray":return"uint8clampedarray";case"Int16Array":return"int16array";case"Uint16Array":return"uint16array";case"Int32Array":return"int32array";case"Uint32Array":return"uint32array";case"Float32Array":return"float32array";case"Float64Array":return"float64array"}if(function D(p){return"function"==typeof p.throw&&"function"==typeof p.return&&"function"==typeof p.next}(L))return"generator";switch(M=X.call(L)){case"[object Object]":return"object";case"[object Map Iterator]":return"mapiterator";case"[object Set Iterator]":return"setiterator";case"[object String Iterator]":return"stringiterator";case"[object Array Iterator]":return"arrayiterator"}return M.slice(8,-1).toLowerCase().replace(/\s/g,"")}},2617:(Ge,X,f)=>{"use strict";var e=f(5035),t=f(3817),_=f(9708).Buffer,S=new Array(16);function l(){t.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function D(M,k){return M<<k|M>>>32-k}function d(M,k,E,z,I,V,Z){return D(M+(k&E|~k&z)+I+V|0,Z)+k|0}function P(M,k,E,z,I,V,Z){return D(M+(k&z|E&~z)+I+V|0,Z)+k|0}function p(M,k,E,z,I,V,Z){return D(M+(k^E^z)+I+V|0,Z)+k|0}function L(M,k,E,z,I,V,Z){return D(M+(E^(k|~z))+I+V|0,Z)+k|0}e(l,t),l.prototype._update=function(){for(var M=S,k=0;k<16;++k)M[k]=this._block.readInt32LE(4*k);var E=this._a,z=this._b,I=this._c,V=this._d;E=d(E,z,I,V,M[0],3614090360,7),V=d(V,E,z,I,M[1],3905402710,12),I=d(I,V,E,z,M[2],606105819,17),z=d(z,I,V,E,M[3],3250441966,22),E=d(E,z,I,V,M[4],4118548399,7),V=d(V,E,z,I,M[5],1200080426,12),I=d(I,V,E,z,M[6],2821735955,17),z=d(z,I,V,E,M[7],4249261313,22),E=d(E,z,I,V,M[8],1770035416,7),V=d(V,E,z,I,M[9],2336552879,12),I=d(I,V,E,z,M[10],4294925233,17),z=d(z,I,V,E,M[11],2304563134,22),E=d(E,z,I,V,M[12],1804603682,7),V=d(V,E,z,I,M[13],4254626195,12),I=d(I,V,E,z,M[14],2792965006,17),E=P(E,z=d(z,I,V,E,M[15],1236535329,22),I,V,M[1],4129170786,5),V=P(V,E,z,I,M[6],3225465664,9),I=P(I,V,E,z,M[11],643717713,14),z=P(z,I,V,E,M[0],3921069994,20),E=P(E,z,I,V,M[5],3593408605,5),V=P(V,E,z,I,M[10],38016083,9),I=P(I,V,E,z,M[15],3634488961,14),z=P(z,I,V,E,M[4],3889429448,20),E=P(E,z,I,V,M[9],568446438,5),V=P(V,E,z,I,M[14],3275163606,9),I=P(I,V,E,z,M[3],4107603335,14),z=P(z,I,V,E,M[8],1163531501,20),E=P(E,z,I,V,M[13],2850285829,5),V=P(V,E,z,I,M[2],4243563512,9),I=P(I,V,E,z,M[7],1735328473,14),E=p(E,z=P(z,I,V,E,M[12],2368359562,20),I,V,M[5],4294588738,4),V=p(V,E,z,I,M[8],2272392833,11),I=p(I,V,E,z,M[11],1839030562,16),z=p(z,I,V,E,M[14],4259657740,23),E=p(E,z,I,V,M[1],2763975236,4),V=p(V,E,z,I,M[4],1272893353,11),I=p(I,V,E,z,M[7],4139469664,16),z=p(z,I,V,E,M[10],3200236656,23),E=p(E,z,I,V,M[13],681279174,4),V=p(V,E,z,I,M[0],3936430074,11),I=p(I,V,E,z,M[3],3572445317,16),z=p(z,I,V,E,M[6],76029189,23),E=p(E,z,I,V,M[9],3654602809,4),V=p(V,E,z,I,M[12],3873151461,11),I=p(I,V,E,z,M[15],530742520,16),E=L(E,z=p(z,I,V,E,M[2],3299628645,23),I,V,M[0],4096336452,6),V=L(V,E,z,I,M[7],1126891415,10),I=L(I,V,E,z,M[14],2878612391,15),z=L(z,I,V,E,M[5],4237533241,21),E=L(E,z,I,V,M[12],1700485571,6),V=L(V,E,z,I,M[3],2399980690,10),I=L(I,V,E,z,M[10],4293915773,15),z=L(z,I,V,E,M[1],2240044497,21),E=L(E,z,I,V,M[8],1873313359,6),V=L(V,E,z,I,M[15],4264355552,10),I=L(I,V,E,z,M[6],2734768916,15),z=L(z,I,V,E,M[13],1309151649,21),E=L(E,z,I,V,M[4],4149444226,6),V=L(V,E,z,I,M[11],3174756917,10),I=L(I,V,E,z,M[2],718787259,15),z=L(z,I,V,E,M[9],3951481745,21),this._a=this._a+E|0,this._b=this._b+z|0,this._c=this._c+I|0,this._d=this._d+V|0},l.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var M=_.allocUnsafe(16);return M.writeInt32LE(this._a,0),M.writeInt32LE(this._b,4),M.writeInt32LE(this._c,8),M.writeInt32LE(this._d,12),M},Ge.exports=l},7789:(Ge,X,f)=>{var e=f(5369),t=f(340);function _(S){this.rand=S||new t.Rand}Ge.exports=_,_.create=function(l){return new _(l)},_.prototype._randbelow=function(l){var D=l.bitLength(),d=Math.ceil(D/8);do{var P=new e(this.rand.generate(d))}while(P.cmp(l)>=0);return P},_.prototype._randrange=function(l,D){var d=D.sub(l);return l.add(this._randbelow(d))},_.prototype.test=function(l,D,d){var P=l.bitLength(),p=e.mont(l),L=new e(1).toRed(p);D||(D=Math.max(1,P/48|0));for(var M=l.subn(1),k=0;!M.testn(k);k++);for(var E=l.shrn(k),z=M.toRed(p);D>0;D--){var V=this._randrange(new e(2),M);d&&d(V);var Z=V.toRed(p).redPow(E);if(0!==Z.cmp(L)&&0!==Z.cmp(z)){for(var q=1;q<k;q++){if(0===(Z=Z.redSqr()).cmp(L))return!1;if(0===Z.cmp(z))break}if(q===k)return!1}}return!0},_.prototype.getDivisor=function(l,D){var d=l.bitLength(),P=e.mont(l),p=new e(1).toRed(P);D||(D=Math.max(1,d/48|0));for(var L=l.subn(1),M=0;!L.testn(M);M++);for(var k=l.shrn(M),E=L.toRed(P);D>0;D--){var z=this._randrange(new e(2),L),I=l.gcd(z);if(0!==I.cmpn(1))return I;var V=z.toRed(P).redPow(k);if(0!==V.cmp(p)&&0!==V.cmp(E)){for(var Z=1;Z<M;Z++){if(0===(V=V.redSqr()).cmp(p))return V.fromRed().subn(1).gcd(l);if(0===V.cmp(E))break}if(Z===M)return(V=V.redSqr()).fromRed().subn(1).gcd(l)}}return!1}},5369:function(Ge,X,f){(function(e,t){"use strict";function _(T,i){if(!T)throw new Error(i||"Assertion failed")}function S(T,i){T.super_=i;var o=function(){};o.prototype=i.prototype,T.prototype=new o,T.prototype.constructor=T}function l(T,i,o){if(l.isBN(T))return T;this.negative=0,this.words=null,this.length=0,this.red=null,null!==T&&(("le"===i||"be"===i)&&(o=i,i=10),this._init(T||0,i||10,o||"be"))}var D;"object"==typeof e?e.exports=l:t.BN=l,l.BN=l,l.wordSize=26;try{D=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:f(6619).Buffer}catch{}function d(T,i){var o=T.charCodeAt(i);return o>=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function P(T,i,o){var m=d(T,o);return o-1>=i&&(m|=d(T,o-1)<<4),m}function p(T,i,o,m){for(var h=0,y=Math.min(T.length,o),A=i;A<y;A++){var R=T.charCodeAt(A)-48;h*=m,h+=R>=49?R-49+10:R>=17?R-17+10:R}return h}l.isBN=function(i){return i instanceof l||null!==i&&"object"==typeof i&&i.constructor.wordSize===l.wordSize&&Array.isArray(i.words)},l.max=function(i,o){return i.cmp(o)>0?i:o},l.min=function(i,o){return i.cmp(o)<0?i:o},l.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),_(o===(0|o)&&o>=2&&o<=36);var h=0;"-"===(i=i.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h<i.length&&(16===o?this._parseHex(i,h,m):(this._parseBase(i,o,h),"le"===m&&this._initArray(this.toArray(),o,m)))},l.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):(_(i<9007199254740992),this.words=[67108863&i,i/67108864&67108863,1],this.length=3),"le"===m&&this._initArray(this.toArray(),o,m)},l.prototype._initArray=function(i,o,m){if(_("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 h=0;h<this.length;h++)this.words[h]=0;var y,A,R=0;if("be"===m)for(h=i.length-1,y=0;h>=0;h-=3)A=i[h]|i[h-1]<<8|i[h-2]<<16,this.words[y]|=A<<R&67108863,this.words[y+1]=A>>>26-R&67108863,(R+=24)>=26&&(R-=26,y++);else if("le"===m)for(h=0,y=0;h<i.length;h+=3)A=i[h]|i[h+1]<<8|i[h+2]<<16,this.words[y]|=A<<R&67108863,this.words[y+1]=A>>>26-R&67108863,(R+=24)>=26&&(R-=26,y++);return this.strip()},l.prototype._parseHex=function(i,o,m){this.length=Math.ceil((i.length-o)/6),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var R,y=0,A=0;if("be"===m)for(h=i.length-1;h>=o;h-=2)R=P(i,o,h)<<y,this.words[A]|=67108863&R,y>=18?(y-=18,A+=1,this.words[A]|=R>>>26):y+=8;else for(h=(i.length-o)%2==0?o+1:o;h<i.length;h+=2)R=P(i,o,h)<<y,this.words[A]|=67108863&R,y>=18?(y-=18,A+=1,this.words[A]|=R>>>26):y+=8;this.strip()},l.prototype._parseBase=function(i,o,m){this.words=[0],this.length=1;for(var h=0,y=1;y<=67108863;y*=o)h++;h--,y=y/o|0;for(var A=i.length-m,R=A%h,v=Math.min(A,A-R)+m,a=0,C=m;C<v;C+=h)a=p(i,C,C+h,o),this.imuln(y),this.words[0]+a<67108864?this.words[0]+=a:this._iaddn(a);if(0!==R){var U=1;for(a=p(i,C,i.length,o),C=0;C<R;C++)U*=o;this.imuln(U),this.words[0]+a<67108864?this.words[0]+=a:this._iaddn(a)}this.strip()},l.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},l.prototype.clone=function(){var i=new l(null);return this.copy(i),i},l.prototype._expand=function(i){for(;this.length<i;)this.words[this.length++]=0;return this},l.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},l.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},l.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var L=["","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],k=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function z(T,i,o){o.negative=i.negative^T.negative;var m=T.length+i.length|0;o.length=m,m=m-1|0;var h=0|T.words[0],y=0|i.words[0],A=h*y,R=67108863&A,v=A/67108864|0;o.words[0]=R;for(var a=1;a<m;a++){for(var C=v>>>26,U=67108863&v,N=Math.min(a,i.length-1),Q=Math.max(0,a-T.length+1);Q<=N;Q++){var Pe=a-Q|0;C+=(A=(h=0|T.words[Pe])*(y=0|i.words[Q])+U)/67108864|0,U=67108863&A}o.words[a]=0|U,v=0|C}return 0!==v?o.words[a]=0|v:o.length--,o.strip()}l.prototype.toString=function(i,o){var m;if(o=0|o||1,16===(i=i||10)||"hex"===i){m="";for(var h=0,y=0,A=0;A<this.length;A++){var R=this.words[A],v=(16777215&(R<<h|y)).toString(16);m=0!==(y=R>>>24-h&16777215)||A!==this.length-1?L[6-v.length]+v+m:v+m,(h+=2)>=26&&(h-=26,A--)}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 a=M[i],C=k[i];m="";var U=this.clone();for(U.negative=0;!U.isZero();){var N=U.modn(C).toString(i);m=(U=U.idivn(C)).isZero()?N+m:L[a-N.length]+N+m}for(this.isZero()&&(m="0"+m);m.length%o!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}_(!1,"Base should be between 2 and 36")},l.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&&_(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-i:i},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(i,o){return _(typeof D<"u"),this.toArrayLike(D,i,o)},l.prototype.toArray=function(i,o){return this.toArrayLike(Array,i,o)},l.prototype.toArrayLike=function(i,o,m){var h=this.byteLength(),y=m||Math.max(1,h);_(h<=y,"byte array longer than desired length"),_(y>0,"Requested array length <= 0"),this.strip();var v,a,A="le"===o,R=new i(y),C=this.clone();if(A){for(a=0;!C.isZero();a++)v=C.andln(255),C.iushrn(8),R[a]=v;for(;a<y;a++)R[a]=0}else{for(a=0;a<y-h;a++)R[a]=0;for(a=0;!C.isZero();a++)v=C.andln(255),C.iushrn(8),R[y-a-1]=v}return R},Math.clz32?l.prototype._countBits=function(i){return 32-Math.clz32(i)}:l.prototype._countBits=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},l.prototype._zeroBits=function(i){if(0===i)return 26;var o=i,m=0;return 0==(8191&o)&&(m+=13,o>>>=13),0==(127&o)&&(m+=7,o>>>=7),0==(15&o)&&(m+=4,o>>>=4),0==(3&o)&&(m+=2,o>>>=2),0==(1&o)&&m++,m},l.prototype.bitLength=function(){var i=this.words[this.length-1],o=this._countBits(i);return 26*(this.length-1)+o},l.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},l.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},l.prototype.toTwos=function(i){return 0!==this.negative?this.abs().inotn(i).iaddn(1):this.clone()},l.prototype.fromTwos=function(i){return this.testn(i-1)?this.notn(i).iaddn(1).ineg():this.clone()},l.prototype.isNeg=function(){return 0!==this.negative},l.prototype.neg=function(){return this.clone().ineg()},l.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},l.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()},l.prototype.ior=function(i){return _(0==(this.negative|i.negative)),this.iuor(i)},l.prototype.or=function(i){return this.length>i.length?this.clone().ior(i):i.clone().ior(this)},l.prototype.uor=function(i){return this.length>i.length?this.clone().iuor(i):i.clone().iuor(this)},l.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()},l.prototype.iand=function(i){return _(0==(this.negative|i.negative)),this.iuand(i)},l.prototype.and=function(i){return this.length>i.length?this.clone().iand(i):i.clone().iand(this)},l.prototype.uand=function(i){return this.length>i.length?this.clone().iuand(i):i.clone().iuand(this)},l.prototype.iuxor=function(i){var o,m;this.length>i.length?(o=this,m=i):(o=i,m=this);for(var h=0;h<m.length;h++)this.words[h]=o.words[h]^m.words[h];if(this!==o)for(;h<o.length;h++)this.words[h]=o.words[h];return this.length=o.length,this.strip()},l.prototype.ixor=function(i){return _(0==(this.negative|i.negative)),this.iuxor(i)},l.prototype.xor=function(i){return this.length>i.length?this.clone().ixor(i):i.clone().ixor(this)},l.prototype.uxor=function(i){return this.length>i.length?this.clone().iuxor(i):i.clone().iuxor(this)},l.prototype.inotn=function(i){_("number"==typeof i&&i>=0);var o=0|Math.ceil(i/26),m=i%26;this._expand(o),m>0&&o--;for(var h=0;h<o;h++)this.words[h]=67108863&~this.words[h];return m>0&&(this.words[h]=~this.words[h]&67108863>>26-m),this.strip()},l.prototype.notn=function(i){return this.clone().inotn(i)},l.prototype.setn=function(i,o){_("number"==typeof i&&i>=0);var m=i/26|0,h=i%26;return this._expand(m+1),this.words[m]=o?this.words[m]|1<<h:this.words[m]&~(1<<h),this.strip()},l.prototype.iadd=function(i){var o,m,h;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,h=i):(m=i,h=this);for(var y=0,A=0;A<h.length;A++)o=(0|m.words[A])+(0|h.words[A])+y,this.words[A]=67108863&o,y=o>>>26;for(;0!==y&&A<m.length;A++)o=(0|m.words[A])+y,this.words[A]=67108863&o,y=o>>>26;if(this.length=m.length,0!==y)this.words[this.length]=y,this.length++;else if(m!==this)for(;A<m.length;A++)this.words[A]=m.words[A];return this},l.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)},l.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 h,y,m=this.cmp(i);if(0===m)return this.negative=0,this.length=1,this.words[0]=0,this;m>0?(h=this,y=i):(h=i,y=this);for(var A=0,R=0;R<y.length;R++)A=(o=(0|h.words[R])-(0|y.words[R])+A)>>26,this.words[R]=67108863&o;for(;0!==A&&R<h.length;R++)A=(o=(0|h.words[R])+A)>>26,this.words[R]=67108863&o;if(0===A&&R<h.length&&h!==this)for(;R<h.length;R++)this.words[R]=h.words[R];return this.length=Math.max(this.length,R),h!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(i){return this.clone().isub(i)};var I=function(i,o,m){var v,a,C,h=i.words,y=o.words,A=m.words,R=0,U=0|h[0],N=8191&U,Q=U>>>13,Pe=0|h[1],Le=8191&Pe,Ye=Pe>>>13,$e=0|h[2],Ve=8191&$e,be=$e>>>13,et=0|h[3],je=8191&et,ye=et>>>13,Te=0|h[4],He=8191&Te,Ee=Te>>>13,we=0|h[5],de=8191&we,Me=we>>>13,ie=0|h[6],G=8191&ie,$=ie>>>13,ze=0|h[7],Ue=8191&ze,oe=ze>>>13,bt=0|h[8],Be=8191&bt,nt=bt>>>13,$t=0|h[9],gt=8191&$t,rt=$t>>>13,Re=0|y[0],ot=8191&Re,St=Re>>>13,gi=0|y[1],oi=8191&gi,ei=gi>>>13,Zi=0|y[2],si=8191&Zi,Bt=Zi>>>13,Je=0|y[3],me=8191&Je,K=Je>>>13,J=0|y[4],Ce=8191&J,We=J>>>13,Mt=0|y[5],Tt=8191&Mt,Nt=Mt>>>13,at=0|y[6],Ke=8191&at,vt=at>>>13,ri=0|y[7],Pt=8191&ri,Lt=ri>>>13,Kt=0|y[8],Ae=8191&Kt,fe=Kt>>>13,st=0|y[9],_t=8191&st,kt=st>>>13;m.negative=i.negative^o.negative,m.length=19;var Oi=(R+(v=Math.imul(N,ot))|0)+((8191&(a=(a=Math.imul(N,St))+Math.imul(Q,ot)|0))<<13)|0;R=((C=Math.imul(Q,St))+(a>>>13)|0)+(Oi>>>26)|0,Oi&=67108863,v=Math.imul(Le,ot),a=(a=Math.imul(Le,St))+Math.imul(Ye,ot)|0,C=Math.imul(Ye,St);var Li=(R+(v=v+Math.imul(N,oi)|0)|0)+((8191&(a=(a=a+Math.imul(N,ei)|0)+Math.imul(Q,oi)|0))<<13)|0;R=((C=C+Math.imul(Q,ei)|0)+(a>>>13)|0)+(Li>>>26)|0,Li&=67108863,v=Math.imul(Ve,ot),a=(a=Math.imul(Ve,St))+Math.imul(be,ot)|0,C=Math.imul(be,St),v=v+Math.imul(Le,oi)|0,a=(a=a+Math.imul(Le,ei)|0)+Math.imul(Ye,oi)|0,C=C+Math.imul(Ye,ei)|0;var Ei=(R+(v=v+Math.imul(N,si)|0)|0)+((8191&(a=(a=a+Math.imul(N,Bt)|0)+Math.imul(Q,si)|0))<<13)|0;R=((C=C+Math.imul(Q,Bt)|0)+(a>>>13)|0)+(Ei>>>26)|0,Ei&=67108863,v=Math.imul(je,ot),a=(a=Math.imul(je,St))+Math.imul(ye,ot)|0,C=Math.imul(ye,St),v=v+Math.imul(Ve,oi)|0,a=(a=a+Math.imul(Ve,ei)|0)+Math.imul(be,oi)|0,C=C+Math.imul(be,ei)|0,v=v+Math.imul(Le,si)|0,a=(a=a+Math.imul(Le,Bt)|0)+Math.imul(Ye,si)|0,C=C+Math.imul(Ye,Bt)|0;var Wi=(R+(v=v+Math.imul(N,me)|0)|0)+((8191&(a=(a=a+Math.imul(N,K)|0)+Math.imul(Q,me)|0))<<13)|0;R=((C=C+Math.imul(Q,K)|0)+(a>>>13)|0)+(Wi>>>26)|0,Wi&=67108863,v=Math.imul(He,ot),a=(a=Math.imul(He,St))+Math.imul(Ee,ot)|0,C=Math.imul(Ee,St),v=v+Math.imul(je,oi)|0,a=(a=a+Math.imul(je,ei)|0)+Math.imul(ye,oi)|0,C=C+Math.imul(ye,ei)|0,v=v+Math.imul(Ve,si)|0,a=(a=a+Math.imul(Ve,Bt)|0)+Math.imul(be,si)|0,C=C+Math.imul(be,Bt)|0,v=v+Math.imul(Le,me)|0,a=(a=a+Math.imul(Le,K)|0)+Math.imul(Ye,me)|0,C=C+Math.imul(Ye,K)|0;var wt=(R+(v=v+Math.imul(N,Ce)|0)|0)+((8191&(a=(a=a+Math.imul(N,We)|0)+Math.imul(Q,Ce)|0))<<13)|0;R=((C=C+Math.imul(Q,We)|0)+(a>>>13)|0)+(wt>>>26)|0,wt&=67108863,v=Math.imul(de,ot),a=(a=Math.imul(de,St))+Math.imul(Me,ot)|0,C=Math.imul(Me,St),v=v+Math.imul(He,oi)|0,a=(a=a+Math.imul(He,ei)|0)+Math.imul(Ee,oi)|0,C=C+Math.imul(Ee,ei)|0,v=v+Math.imul(je,si)|0,a=(a=a+Math.imul(je,Bt)|0)+Math.imul(ye,si)|0,C=C+Math.imul(ye,Bt)|0,v=v+Math.imul(Ve,me)|0,a=(a=a+Math.imul(Ve,K)|0)+Math.imul(be,me)|0,C=C+Math.imul(be,K)|0,v=v+Math.imul(Le,Ce)|0,a=(a=a+Math.imul(Le,We)|0)+Math.imul(Ye,Ce)|0,C=C+Math.imul(Ye,We)|0;var qe=(R+(v=v+Math.imul(N,Tt)|0)|0)+((8191&(a=(a=a+Math.imul(N,Nt)|0)+Math.imul(Q,Tt)|0))<<13)|0;R=((C=C+Math.imul(Q,Nt)|0)+(a>>>13)|0)+(qe>>>26)|0,qe&=67108863,v=Math.imul(G,ot),a=(a=Math.imul(G,St))+Math.imul($,ot)|0,C=Math.imul($,St),v=v+Math.imul(de,oi)|0,a=(a=a+Math.imul(de,ei)|0)+Math.imul(Me,oi)|0,C=C+Math.imul(Me,ei)|0,v=v+Math.imul(He,si)|0,a=(a=a+Math.imul(He,Bt)|0)+Math.imul(Ee,si)|0,C=C+Math.imul(Ee,Bt)|0,v=v+Math.imul(je,me)|0,a=(a=a+Math.imul(je,K)|0)+Math.imul(ye,me)|0,C=C+Math.imul(ye,K)|0,v=v+Math.imul(Ve,Ce)|0,a=(a=a+Math.imul(Ve,We)|0)+Math.imul(be,Ce)|0,C=C+Math.imul(be,We)|0,v=v+Math.imul(Le,Tt)|0,a=(a=a+Math.imul(Le,Nt)|0)+Math.imul(Ye,Tt)|0,C=C+Math.imul(Ye,Nt)|0;var Ne=(R+(v=v+Math.imul(N,Ke)|0)|0)+((8191&(a=(a=a+Math.imul(N,vt)|0)+Math.imul(Q,Ke)|0))<<13)|0;R=((C=C+Math.imul(Q,vt)|0)+(a>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,v=Math.imul(Ue,ot),a=(a=Math.imul(Ue,St))+Math.imul(oe,ot)|0,C=Math.imul(oe,St),v=v+Math.imul(G,oi)|0,a=(a=a+Math.imul(G,ei)|0)+Math.imul($,oi)|0,C=C+Math.imul($,ei)|0,v=v+Math.imul(de,si)|0,a=(a=a+Math.imul(de,Bt)|0)+Math.imul(Me,si)|0,C=C+Math.imul(Me,Bt)|0,v=v+Math.imul(He,me)|0,a=(a=a+Math.imul(He,K)|0)+Math.imul(Ee,me)|0,C=C+Math.imul(Ee,K)|0,v=v+Math.imul(je,Ce)|0,a=(a=a+Math.imul(je,We)|0)+Math.imul(ye,Ce)|0,C=C+Math.imul(ye,We)|0,v=v+Math.imul(Ve,Tt)|0,a=(a=a+Math.imul(Ve,Nt)|0)+Math.imul(be,Tt)|0,C=C+Math.imul(be,Nt)|0,v=v+Math.imul(Le,Ke)|0,a=(a=a+Math.imul(Le,vt)|0)+Math.imul(Ye,Ke)|0,C=C+Math.imul(Ye,vt)|0;var Vt=(R+(v=v+Math.imul(N,Pt)|0)|0)+((8191&(a=(a=a+Math.imul(N,Lt)|0)+Math.imul(Q,Pt)|0))<<13)|0;R=((C=C+Math.imul(Q,Lt)|0)+(a>>>13)|0)+(Vt>>>26)|0,Vt&=67108863,v=Math.imul(Be,ot),a=(a=Math.imul(Be,St))+Math.imul(nt,ot)|0,C=Math.imul(nt,St),v=v+Math.imul(Ue,oi)|0,a=(a=a+Math.imul(Ue,ei)|0)+Math.imul(oe,oi)|0,C=C+Math.imul(oe,ei)|0,v=v+Math.imul(G,si)|0,a=(a=a+Math.imul(G,Bt)|0)+Math.imul($,si)|0,C=C+Math.imul($,Bt)|0,v=v+Math.imul(de,me)|0,a=(a=a+Math.imul(de,K)|0)+Math.imul(Me,me)|0,C=C+Math.imul(Me,K)|0,v=v+Math.imul(He,Ce)|0,a=(a=a+Math.imul(He,We)|0)+Math.imul(Ee,Ce)|0,C=C+Math.imul(Ee,We)|0,v=v+Math.imul(je,Tt)|0,a=(a=a+Math.imul(je,Nt)|0)+Math.imul(ye,Tt)|0,C=C+Math.imul(ye,Nt)|0,v=v+Math.imul(Ve,Ke)|0,a=(a=a+Math.imul(Ve,vt)|0)+Math.imul(be,Ke)|0,C=C+Math.imul(be,vt)|0,v=v+Math.imul(Le,Pt)|0,a=(a=a+Math.imul(Le,Lt)|0)+Math.imul(Ye,Pt)|0,C=C+Math.imul(Ye,Lt)|0;var jt=(R+(v=v+Math.imul(N,Ae)|0)|0)+((8191&(a=(a=a+Math.imul(N,fe)|0)+Math.imul(Q,Ae)|0))<<13)|0;R=((C=C+Math.imul(Q,fe)|0)+(a>>>13)|0)+(jt>>>26)|0,jt&=67108863,v=Math.imul(gt,ot),a=(a=Math.imul(gt,St))+Math.imul(rt,ot)|0,C=Math.imul(rt,St),v=v+Math.imul(Be,oi)|0,a=(a=a+Math.imul(Be,ei)|0)+Math.imul(nt,oi)|0,C=C+Math.imul(nt,ei)|0,v=v+Math.imul(Ue,si)|0,a=(a=a+Math.imul(Ue,Bt)|0)+Math.imul(oe,si)|0,C=C+Math.imul(oe,Bt)|0,v=v+Math.imul(G,me)|0,a=(a=a+Math.imul(G,K)|0)+Math.imul($,me)|0,C=C+Math.imul($,K)|0,v=v+Math.imul(de,Ce)|0,a=(a=a+Math.imul(de,We)|0)+Math.imul(Me,Ce)|0,C=C+Math.imul(Me,We)|0,v=v+Math.imul(He,Tt)|0,a=(a=a+Math.imul(He,Nt)|0)+Math.imul(Ee,Tt)|0,C=C+Math.imul(Ee,Nt)|0,v=v+Math.imul(je,Ke)|0,a=(a=a+Math.imul(je,vt)|0)+Math.imul(ye,Ke)|0,C=C+Math.imul(ye,vt)|0,v=v+Math.imul(Ve,Pt)|0,a=(a=a+Math.imul(Ve,Lt)|0)+Math.imul(be,Pt)|0,C=C+Math.imul(be,Lt)|0,v=v+Math.imul(Le,Ae)|0,a=(a=a+Math.imul(Le,fe)|0)+Math.imul(Ye,Ae)|0,C=C+Math.imul(Ye,fe)|0;var fi=(R+(v=v+Math.imul(N,_t)|0)|0)+((8191&(a=(a=a+Math.imul(N,kt)|0)+Math.imul(Q,_t)|0))<<13)|0;R=((C=C+Math.imul(Q,kt)|0)+(a>>>13)|0)+(fi>>>26)|0,fi&=67108863,v=Math.imul(gt,oi),a=(a=Math.imul(gt,ei))+Math.imul(rt,oi)|0,C=Math.imul(rt,ei),v=v+Math.imul(Be,si)|0,a=(a=a+Math.imul(Be,Bt)|0)+Math.imul(nt,si)|0,C=C+Math.imul(nt,Bt)|0,v=v+Math.imul(Ue,me)|0,a=(a=a+Math.imul(Ue,K)|0)+Math.imul(oe,me)|0,C=C+Math.imul(oe,K)|0,v=v+Math.imul(G,Ce)|0,a=(a=a+Math.imul(G,We)|0)+Math.imul($,Ce)|0,C=C+Math.imul($,We)|0,v=v+Math.imul(de,Tt)|0,a=(a=a+Math.imul(de,Nt)|0)+Math.imul(Me,Tt)|0,C=C+Math.imul(Me,Nt)|0,v=v+Math.imul(He,Ke)|0,a=(a=a+Math.imul(He,vt)|0)+Math.imul(Ee,Ke)|0,C=C+Math.imul(Ee,vt)|0,v=v+Math.imul(je,Pt)|0,a=(a=a+Math.imul(je,Lt)|0)+Math.imul(ye,Pt)|0,C=C+Math.imul(ye,Lt)|0,v=v+Math.imul(Ve,Ae)|0,a=(a=a+Math.imul(Ve,fe)|0)+Math.imul(be,Ae)|0,C=C+Math.imul(be,fe)|0;var Si=(R+(v=v+Math.imul(Le,_t)|0)|0)+((8191&(a=(a=a+Math.imul(Le,kt)|0)+Math.imul(Ye,_t)|0))<<13)|0;R=((C=C+Math.imul(Ye,kt)|0)+(a>>>13)|0)+(Si>>>26)|0,Si&=67108863,v=Math.imul(gt,si),a=(a=Math.imul(gt,Bt))+Math.imul(rt,si)|0,C=Math.imul(rt,Bt),v=v+Math.imul(Be,me)|0,a=(a=a+Math.imul(Be,K)|0)+Math.imul(nt,me)|0,C=C+Math.imul(nt,K)|0,v=v+Math.imul(Ue,Ce)|0,a=(a=a+Math.imul(Ue,We)|0)+Math.imul(oe,Ce)|0,C=C+Math.imul(oe,We)|0,v=v+Math.imul(G,Tt)|0,a=(a=a+Math.imul(G,Nt)|0)+Math.imul($,Tt)|0,C=C+Math.imul($,Nt)|0,v=v+Math.imul(de,Ke)|0,a=(a=a+Math.imul(de,vt)|0)+Math.imul(Me,Ke)|0,C=C+Math.imul(Me,vt)|0,v=v+Math.imul(He,Pt)|0,a=(a=a+Math.imul(He,Lt)|0)+Math.imul(Ee,Pt)|0,C=C+Math.imul(Ee,Lt)|0,v=v+Math.imul(je,Ae)|0,a=(a=a+Math.imul(je,fe)|0)+Math.imul(ye,Ae)|0,C=C+Math.imul(ye,fe)|0;var ki=(R+(v=v+Math.imul(Ve,_t)|0)|0)+((8191&(a=(a=a+Math.imul(Ve,kt)|0)+Math.imul(be,_t)|0))<<13)|0;R=((C=C+Math.imul(be,kt)|0)+(a>>>13)|0)+(ki>>>26)|0,ki&=67108863,v=Math.imul(gt,me),a=(a=Math.imul(gt,K))+Math.imul(rt,me)|0,C=Math.imul(rt,K),v=v+Math.imul(Be,Ce)|0,a=(a=a+Math.imul(Be,We)|0)+Math.imul(nt,Ce)|0,C=C+Math.imul(nt,We)|0,v=v+Math.imul(Ue,Tt)|0,a=(a=a+Math.imul(Ue,Nt)|0)+Math.imul(oe,Tt)|0,C=C+Math.imul(oe,Nt)|0,v=v+Math.imul(G,Ke)|0,a=(a=a+Math.imul(G,vt)|0)+Math.imul($,Ke)|0,C=C+Math.imul($,vt)|0,v=v+Math.imul(de,Pt)|0,a=(a=a+Math.imul(de,Lt)|0)+Math.imul(Me,Pt)|0,C=C+Math.imul(Me,Lt)|0,v=v+Math.imul(He,Ae)|0,a=(a=a+Math.imul(He,fe)|0)+Math.imul(Ee,Ae)|0,C=C+Math.imul(Ee,fe)|0;var Gi=(R+(v=v+Math.imul(je,_t)|0)|0)+((8191&(a=(a=a+Math.imul(je,kt)|0)+Math.imul(ye,_t)|0))<<13)|0;R=((C=C+Math.imul(ye,kt)|0)+(a>>>13)|0)+(Gi>>>26)|0,Gi&=67108863,v=Math.imul(gt,Ce),a=(a=Math.imul(gt,We))+Math.imul(rt,Ce)|0,C=Math.imul(rt,We),v=v+Math.imul(Be,Tt)|0,a=(a=a+Math.imul(Be,Nt)|0)+Math.imul(nt,Tt)|0,C=C+Math.imul(nt,Nt)|0,v=v+Math.imul(Ue,Ke)|0,a=(a=a+Math.imul(Ue,vt)|0)+Math.imul(oe,Ke)|0,C=C+Math.imul(oe,vt)|0,v=v+Math.imul(G,Pt)|0,a=(a=a+Math.imul(G,Lt)|0)+Math.imul($,Pt)|0,C=C+Math.imul($,Lt)|0,v=v+Math.imul(de,Ae)|0,a=(a=a+Math.imul(de,fe)|0)+Math.imul(Me,Ae)|0,C=C+Math.imul(Me,fe)|0;var Qt=(R+(v=v+Math.imul(He,_t)|0)|0)+((8191&(a=(a=a+Math.imul(He,kt)|0)+Math.imul(Ee,_t)|0))<<13)|0;R=((C=C+Math.imul(Ee,kt)|0)+(a>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,v=Math.imul(gt,Tt),a=(a=Math.imul(gt,Nt))+Math.imul(rt,Tt)|0,C=Math.imul(rt,Nt),v=v+Math.imul(Be,Ke)|0,a=(a=a+Math.imul(Be,vt)|0)+Math.imul(nt,Ke)|0,C=C+Math.imul(nt,vt)|0,v=v+Math.imul(Ue,Pt)|0,a=(a=a+Math.imul(Ue,Lt)|0)+Math.imul(oe,Pt)|0,C=C+Math.imul(oe,Lt)|0,v=v+Math.imul(G,Ae)|0,a=(a=a+Math.imul(G,fe)|0)+Math.imul($,Ae)|0,C=C+Math.imul($,fe)|0;var xe=(R+(v=v+Math.imul(de,_t)|0)|0)+((8191&(a=(a=a+Math.imul(de,kt)|0)+Math.imul(Me,_t)|0))<<13)|0;R=((C=C+Math.imul(Me,kt)|0)+(a>>>13)|0)+(xe>>>26)|0,xe&=67108863,v=Math.imul(gt,Ke),a=(a=Math.imul(gt,vt))+Math.imul(rt,Ke)|0,C=Math.imul(rt,vt),v=v+Math.imul(Be,Pt)|0,a=(a=a+Math.imul(Be,Lt)|0)+Math.imul(nt,Pt)|0,C=C+Math.imul(nt,Lt)|0,v=v+Math.imul(Ue,Ae)|0,a=(a=a+Math.imul(Ue,fe)|0)+Math.imul(oe,Ae)|0,C=C+Math.imul(oe,fe)|0;var ke=(R+(v=v+Math.imul(G,_t)|0)|0)+((8191&(a=(a=a+Math.imul(G,kt)|0)+Math.imul($,_t)|0))<<13)|0;R=((C=C+Math.imul($,kt)|0)+(a>>>13)|0)+(ke>>>26)|0,ke&=67108863,v=Math.imul(gt,Pt),a=(a=Math.imul(gt,Lt))+Math.imul(rt,Pt)|0,C=Math.imul(rt,Lt),v=v+Math.imul(Be,Ae)|0,a=(a=a+Math.imul(Be,fe)|0)+Math.imul(nt,Ae)|0,C=C+Math.imul(nt,fe)|0;var ft=(R+(v=v+Math.imul(Ue,_t)|0)|0)+((8191&(a=(a=a+Math.imul(Ue,kt)|0)+Math.imul(oe,_t)|0))<<13)|0;R=((C=C+Math.imul(oe,kt)|0)+(a>>>13)|0)+(ft>>>26)|0,ft&=67108863,v=Math.imul(gt,Ae),a=(a=Math.imul(gt,fe))+Math.imul(rt,Ae)|0,C=Math.imul(rt,fe);var Rt=(R+(v=v+Math.imul(Be,_t)|0)|0)+((8191&(a=(a=a+Math.imul(Be,kt)|0)+Math.imul(nt,_t)|0))<<13)|0;R=((C=C+Math.imul(nt,kt)|0)+(a>>>13)|0)+(Rt>>>26)|0,Rt&=67108863;var di=(R+(v=Math.imul(gt,_t))|0)+((8191&(a=(a=Math.imul(gt,kt))+Math.imul(rt,_t)|0))<<13)|0;return R=((C=Math.imul(rt,kt))+(a>>>13)|0)+(di>>>26)|0,di&=67108863,A[0]=Oi,A[1]=Li,A[2]=Ei,A[3]=Wi,A[4]=wt,A[5]=qe,A[6]=Ne,A[7]=Vt,A[8]=jt,A[9]=fi,A[10]=Si,A[11]=ki,A[12]=Gi,A[13]=Qt,A[14]=xe,A[15]=ke,A[16]=ft,A[17]=Rt,A[18]=di,0!==R&&(A[19]=R,m.length++),m};function Z(T,i,o){return(new q).mulp(T,i,o)}function q(T,i){this.x=T,this.y=i}Math.imul||(I=z),l.prototype.mulTo=function(i,o){var m,h=this.length+i.length;return m=10===this.length&&10===i.length?I(this,i,o):h<63?z(this,i,o):h<1024?function V(T,i,o){o.negative=i.negative^T.negative,o.length=T.length+i.length;for(var m=0,h=0,y=0;y<o.length-1;y++){var A=h;h=0;for(var R=67108863&m,v=Math.min(y,i.length-1),a=Math.max(0,y-T.length+1);a<=v;a++){var C=y-a,Q=(0|T.words[C])*(0|i.words[a]),Pe=67108863&Q;R=67108863&(Pe=Pe+R|0),h+=(A=(A=A+(Q/67108864|0)|0)+(Pe>>>26)|0)>>>26,A&=67108863}o.words[y]=R,m=A,A=h}return 0!==m?o.words[y]=m:o.length--,o.strip()}(this,i,o):Z(this,i,o),m},q.prototype.makeRBT=function(i){for(var o=new Array(i),m=l.prototype._countBits(i)-1,h=0;h<i;h++)o[h]=this.revBin(h,m,i);return o},q.prototype.revBin=function(i,o,m){if(0===i||i===m-1)return i;for(var h=0,y=0;y<o;y++)h|=(1&i)<<o-y-1,i>>=1;return h},q.prototype.permute=function(i,o,m,h,y,A){for(var R=0;R<A;R++)h[R]=o[i[R]],y[R]=m[i[R]]},q.prototype.transform=function(i,o,m,h,y,A){this.permute(A,i,o,m,h,y);for(var R=1;R<y;R<<=1)for(var v=R<<1,a=Math.cos(2*Math.PI/v),C=Math.sin(2*Math.PI/v),U=0;U<y;U+=v)for(var N=a,Q=C,Pe=0;Pe<R;Pe++){var Le=m[U+Pe],Ye=h[U+Pe],$e=m[U+Pe+R],Ve=h[U+Pe+R],be=N*$e-Q*Ve;Ve=N*Ve+Q*$e,$e=be,m[U+Pe]=Le+$e,h[U+Pe]=Ye+Ve,m[U+Pe+R]=Le-$e,h[U+Pe+R]=Ye-Ve,Pe!==v&&(be=a*N-C*Q,Q=a*Q+C*N,N=be)}},q.prototype.guessLen13b=function(i,o){var m=1|Math.max(o,i),h=1&m,y=0;for(m=m/2|0;m;m>>>=1)y++;return 1<<y+1+h},q.prototype.conjugate=function(i,o,m){if(!(m<=1))for(var h=0;h<m/2;h++){var y=i[h];i[h]=i[m-h-1],i[m-h-1]=y,y=o[h],o[h]=-o[m-h-1],o[m-h-1]=-y}},q.prototype.normalize13b=function(i,o){for(var m=0,h=0;h<o/2;h++){var y=8192*Math.round(i[2*h+1]/o)+Math.round(i[2*h]/o)+m;i[h]=67108863&y,m=y<67108864?0:y/67108864|0}return i},q.prototype.convert13b=function(i,o,m,h){for(var y=0,A=0;A<o;A++)y+=0|i[A],m[2*A]=8191&y,y>>>=13,m[2*A+1]=8191&y,y>>>=13;for(A=2*o;A<h;++A)m[A]=0;_(0===y),_(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 h=2*this.guessLen13b(i.length,o.length),y=this.makeRBT(h),A=this.stub(h),R=new Array(h),v=new Array(h),a=new Array(h),C=new Array(h),U=new Array(h),N=new Array(h),Q=m.words;Q.length=h,this.convert13b(i.words,i.length,R,h),this.convert13b(o.words,o.length,C,h),this.transform(R,A,v,a,h,y),this.transform(C,A,U,N,h,y);for(var Pe=0;Pe<h;Pe++){var Le=v[Pe]*U[Pe]-a[Pe]*N[Pe];a[Pe]=v[Pe]*N[Pe]+a[Pe]*U[Pe],v[Pe]=Le}return this.conjugate(v,a,h),this.transform(v,a,Q,A,h,y),this.conjugate(Q,A,h),this.normalize13b(Q,h),m.negative=i.negative^o.negative,m.length=i.length+o.length,m.strip()},l.prototype.mul=function(i){var o=new l(null);return o.words=new Array(this.length+i.length),this.mulTo(i,o)},l.prototype.mulf=function(i){var o=new l(null);return o.words=new Array(this.length+i.length),Z(this,i,o)},l.prototype.imul=function(i){return this.clone().mulTo(i,this)},l.prototype.imuln=function(i){_("number"==typeof i),_(i<67108864);for(var o=0,m=0;m<this.length;m++){var h=(0|this.words[m])*i,y=(67108863&h)+(67108863&o);o>>=26,o+=h/67108864|0,o+=y>>>26,this.words[m]=67108863&y}return 0!==o&&(this.words[m]=o,this.length++),this},l.prototype.muln=function(i){return this.clone().imuln(i)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(i){var o=function E(T){for(var i=new Array(T.bitLength()),o=0;o<i.length;o++){var m=o/26|0,h=o%26;i[o]=(T.words[m]&1<<h)>>>h}return i}(i);if(0===o.length)return new l(1);for(var m=this,h=0;h<o.length&&0===o[h];h++,m=m.sqr());if(++h<o.length)for(var y=m.sqr();h<o.length;h++,y=y.sqr())0!==o[h]&&(m=m.mul(y));return m},l.prototype.iushln=function(i){_("number"==typeof i&&i>=0);var y,o=i%26,m=(i-o)/26,h=67108863>>>26-o<<26-o;if(0!==o){var A=0;for(y=0;y<this.length;y++){var R=this.words[y]&h,v=(0|this.words[y])-R<<o;this.words[y]=v|A,A=R>>>26-o}A&&(this.words[y]=A,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()},l.prototype.ishln=function(i){return _(0===this.negative),this.iushln(i)},l.prototype.iushrn=function(i,o,m){var h;_("number"==typeof i&&i>=0),h=o?(o-o%26)/26:0;var y=i%26,A=Math.min((i-y)/26,this.length),R=67108863^67108863>>>y<<y,v=m;if(h-=A,h=Math.max(0,h),v){for(var a=0;a<A;a++)v.words[a]=this.words[a];v.length=A}if(0!==A)if(this.length>A)for(this.length-=A,a=0;a<this.length;a++)this.words[a]=this.words[a+A];else this.words[0]=0,this.length=1;var C=0;for(a=this.length-1;a>=0&&(0!==C||a>=h);a--){var U=0|this.words[a];this.words[a]=C<<26-y|U>>>y,C=U&R}return v&&0!==C&&(v.words[v.length++]=C),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(i,o,m){return _(0===this.negative),this.iushrn(i,o,m)},l.prototype.shln=function(i){return this.clone().ishln(i)},l.prototype.ushln=function(i){return this.clone().iushln(i)},l.prototype.shrn=function(i){return this.clone().ishrn(i)},l.prototype.ushrn=function(i){return this.clone().iushrn(i)},l.prototype.testn=function(i){_("number"==typeof i&&i>=0);var o=i%26,m=(i-o)/26,h=1<<o;return!(this.length<=m)&&!!(this.words[m]&h)},l.prototype.imaskn=function(i){_("number"==typeof i&&i>=0);var o=i%26,m=(i-o)/26;if(_(0===this.negative,"imaskn works only with positive numbers"),this.length<=m)return this;if(0!==o&&m++,this.length=Math.min(m,this.length),0!==o){var h=67108863^67108863>>>o<<o;this.words[this.length-1]&=h}return this.strip()},l.prototype.maskn=function(i){return this.clone().imaskn(i)},l.prototype.iaddn=function(i){return _("number"==typeof i),_(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)},l.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},l.prototype.isubn=function(i){if(_("number"==typeof i),_(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()},l.prototype.addn=function(i){return this.clone().iaddn(i)},l.prototype.subn=function(i){return this.clone().isubn(i)},l.prototype.iabs=function(){return this.negative=0,this},l.prototype.abs=function(){return this.clone().iabs()},l.prototype._ishlnsubmul=function(i,o,m){var y,h=i.length+m;this._expand(h);var A,R=0;for(y=0;y<i.length;y++){A=(0|this.words[y+m])+R;var v=(0|i.words[y])*o;R=((A-=67108863&v)>>26)-(v/67108864|0),this.words[y+m]=67108863&A}for(;y<this.length-m;y++)R=(A=(0|this.words[y+m])+R)>>26,this.words[y+m]=67108863&A;if(0===R)return this.strip();for(_(-1===R),R=0,y=0;y<this.length;y++)R=(A=-(0|this.words[y])+R)>>26,this.words[y]=67108863&A;return this.negative=1,this.strip()},l.prototype._wordDiv=function(i,o){var m=(this.length,i.length),h=this.clone(),y=i,A=0|y.words[y.length-1];0!==(m=26-this._countBits(A))&&(y=y.ushln(m),h.iushln(m),A=0|y.words[y.length-1]);var a,v=h.length-y.length;if("mod"!==o){(a=new l(null)).length=v+1,a.words=new Array(a.length);for(var C=0;C<a.length;C++)a.words[C]=0}var U=h.clone()._ishlnsubmul(y,1,v);0===U.negative&&(h=U,a&&(a.words[v]=1));for(var N=v-1;N>=0;N--){var Q=67108864*(0|h.words[y.length+N])+(0|h.words[y.length+N-1]);for(Q=Math.min(Q/A|0,67108863),h._ishlnsubmul(y,Q,N);0!==h.negative;)Q--,h.negative=0,h._ishlnsubmul(y,1,N),h.isZero()||(h.negative^=1);a&&(a.words[N]=Q)}return a&&a.strip(),h.strip(),"div"!==o&&0!==m&&h.iushrn(m),{div:a||null,mod:h}},l.prototype.divmod=function(i,o,m){return _(!i.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===i.negative?(A=this.neg().divmod(i,o),"mod"!==o&&(h=A.div.neg()),"div"!==o&&(y=A.mod.neg(),m&&0!==y.negative&&y.iadd(i)),{div:h,mod:y}):0===this.negative&&0!==i.negative?(A=this.divmod(i.neg(),o),"mod"!==o&&(h=A.div.neg()),{div:h,mod:A.mod}):0!=(this.negative&i.negative)?(A=this.neg().divmod(i.neg(),o),"div"!==o&&(y=A.mod.neg(),m&&0!==y.negative&&y.isub(i)),{div:A.div,mod:y}):i.length>this.length||this.cmp(i)<0?{div:new l(0),mod:this}:1===i.length?"div"===o?{div:this.divn(i.words[0]),mod:null}:"mod"===o?{div:null,mod:new l(this.modn(i.words[0]))}:{div:this.divn(i.words[0]),mod:new l(this.modn(i.words[0]))}:this._wordDiv(i,o);var h,y,A},l.prototype.div=function(i){return this.divmod(i,"div",!1).div},l.prototype.mod=function(i){return this.divmod(i,"mod",!1).mod},l.prototype.umod=function(i){return this.divmod(i,"mod",!0).mod},l.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,h=i.ushrn(1),y=i.andln(1),A=m.cmp(h);return A<0||1===y&&0===A?o.div:0!==o.div.negative?o.div.isubn(1):o.div.iaddn(1)},l.prototype.modn=function(i){_(i<=67108863);for(var o=(1<<26)%i,m=0,h=this.length-1;h>=0;h--)m=(o*m+(0|this.words[h]))%i;return m},l.prototype.idivn=function(i){_(i<=67108863);for(var o=0,m=this.length-1;m>=0;m--){var h=(0|this.words[m])+67108864*o;this.words[m]=h/i|0,o=h%i}return this.strip()},l.prototype.divn=function(i){return this.clone().idivn(i)},l.prototype.egcd=function(i){_(0===i.negative),_(!i.isZero());var o=this,m=i.clone();o=0!==o.negative?o.umod(i):o.clone();for(var h=new l(1),y=new l(0),A=new l(0),R=new l(1),v=0;o.isEven()&&m.isEven();)o.iushrn(1),m.iushrn(1),++v;for(var a=m.clone(),C=o.clone();!o.isZero();){for(var U=0,N=1;0==(o.words[0]&N)&&U<26;++U,N<<=1);if(U>0)for(o.iushrn(U);U-- >0;)(h.isOdd()||y.isOdd())&&(h.iadd(a),y.isub(C)),h.iushrn(1),y.iushrn(1);for(var Q=0,Pe=1;0==(m.words[0]&Pe)&&Q<26;++Q,Pe<<=1);if(Q>0)for(m.iushrn(Q);Q-- >0;)(A.isOdd()||R.isOdd())&&(A.iadd(a),R.isub(C)),A.iushrn(1),R.iushrn(1);o.cmp(m)>=0?(o.isub(m),h.isub(A),y.isub(R)):(m.isub(o),A.isub(h),R.isub(y))}return{a:A,b:R,gcd:m.iushln(v)}},l.prototype._invmp=function(i){_(0===i.negative),_(!i.isZero());var U,o=this,m=i.clone();o=0!==o.negative?o.umod(i):o.clone();for(var h=new l(1),y=new l(0),A=m.clone();o.cmpn(1)>0&&m.cmpn(1)>0;){for(var R=0,v=1;0==(o.words[0]&v)&&R<26;++R,v<<=1);if(R>0)for(o.iushrn(R);R-- >0;)h.isOdd()&&h.iadd(A),h.iushrn(1);for(var a=0,C=1;0==(m.words[0]&C)&&a<26;++a,C<<=1);if(a>0)for(m.iushrn(a);a-- >0;)y.isOdd()&&y.iadd(A),y.iushrn(1);o.cmp(m)>=0?(o.isub(m),h.isub(y)):(m.isub(o),y.isub(h))}return(U=0===o.cmpn(1)?h:y).cmpn(0)<0&&U.iadd(i),U},l.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 h=0;o.isEven()&&m.isEven();h++)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 A=o;o=m,m=A}else if(0===y||0===m.cmpn(1))break;o.isub(m)}return m.iushln(h)},l.prototype.invm=function(i){return this.egcd(i).a.umod(i)},l.prototype.isEven=function(){return 0==(1&this.words[0])},l.prototype.isOdd=function(){return 1==(1&this.words[0])},l.prototype.andln=function(i){return this.words[0]&i},l.prototype.bincn=function(i){_("number"==typeof i);var o=i%26,m=(i-o)/26,h=1<<o;if(this.length<=m)return this._expand(m+1),this.words[m]|=h,this;for(var y=h,A=m;0!==y&&A<this.length;A++){var R=0|this.words[A];y=(R+=y)>>>26,R&=67108863,this.words[A]=R}return 0!==y&&(this.words[A]=y,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.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),_(i<=67108863,"Number is too big");var h=0|this.words[0];m=h===i?0:h<i?-1:1}return 0!==this.negative?0|-m:m},l.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},l.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 h=0|this.words[m],y=0|i.words[m];if(h!==y){h<y?o=-1:h>y&&(o=1);break}}return o},l.prototype.gtn=function(i){return 1===this.cmpn(i)},l.prototype.gt=function(i){return 1===this.cmp(i)},l.prototype.gten=function(i){return this.cmpn(i)>=0},l.prototype.gte=function(i){return this.cmp(i)>=0},l.prototype.ltn=function(i){return-1===this.cmpn(i)},l.prototype.lt=function(i){return-1===this.cmp(i)},l.prototype.lten=function(i){return this.cmpn(i)<=0},l.prototype.lte=function(i){return this.cmp(i)<=0},l.prototype.eqn=function(i){return 0===this.cmpn(i)},l.prototype.eq=function(i){return 0===this.cmp(i)},l.red=function(i){return new ae(i)},l.prototype.toRed=function(i){return _(!this.red,"Already a number in reduction context"),_(0===this.negative,"red works only with positives"),i.convertTo(this)._forceRed(i)},l.prototype.fromRed=function(){return _(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(i){return this.red=i,this},l.prototype.forceRed=function(i){return _(!this.red,"Already a number in reduction context"),this._forceRed(i)},l.prototype.redAdd=function(i){return _(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},l.prototype.redIAdd=function(i){return _(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},l.prototype.redSub=function(i){return _(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},l.prototype.redISub=function(i){return _(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},l.prototype.redShl=function(i){return _(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},l.prototype.redMul=function(i){return _(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},l.prototype.redIMul=function(i){return _(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},l.prototype.redSqr=function(){return _(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return _(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return _(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return _(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return _(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(i){return _(this.red&&!i.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,i)};var te={k256:null,p224:null,p192:null,p25519:null};function ne(T,i){this.name=T,this.p=new l(i,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function le(){ne.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function re(){ne.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function _e(){ne.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function he(){ne.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function ae(T){if("string"==typeof T){var i=l._prime(T);this.m=i.p,this.prime=i}else _(T.gtn(1),"modulus must be greater than 1"),this.m=T,this.prime=null}function ve(T){ae.call(this,T),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}ne.prototype._tmp=function(){var i=new l(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 h=m<this.n?-1:o.ucmp(this.p);return 0===h?(o.words[0]=0,o.length=1):h>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)},S(le,ne),le.prototype.split=function(i,o){for(var m=4194303,h=Math.min(i.length,9),y=0;y<h;y++)o.words[y]=i.words[y];if(o.length=h,i.length<=9)return i.words[0]=0,void(i.length=1);var A=i.words[9];for(o.words[o.length++]=A&m,y=10;y<i.length;y++){var R=0|i.words[y];i.words[y-10]=(R&m)<<4|A>>>22,A=R}A>>>=22,i.words[y-10]=A,0===A&&i.length>10?i.length-=10:i.length-=9},le.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 h=0|i.words[m];o+=977*h,i.words[m]=67108863&o,o=64*h+(o/67108864|0)}return 0===i.words[i.length-1]&&(i.length--,0===i.words[i.length-1]&&i.length--),i},S(re,ne),S(_e,ne),S(he,ne),he.prototype.imulK=function(i){for(var o=0,m=0;m<i.length;m++){var h=19*(0|i.words[m])+o,y=67108863&h;h>>>=26,i.words[m]=y,o=h}return 0!==o&&(i.words[i.length++]=o),i},l._prime=function(i){if(te[i])return te[i];var o;if("k256"===i)o=new le;else if("p224"===i)o=new re;else if("p192"===i)o=new _e;else{if("p25519"!==i)throw new Error("Unknown prime "+i);o=new he}return te[i]=o,o},ae.prototype._verify1=function(i){_(0===i.negative,"red works only with positives"),_(i.red,"red works only with red numbers")},ae.prototype._verify2=function(i,o){_(0==(i.negative|o.negative),"red works only with positives"),_(i.red&&i.red===o.red,"red works only with red numbers")},ae.prototype.imod=function(i){return this.prime?this.prime.ireduce(i)._forceRed(this):i.umod(this.m)._forceRed(this)},ae.prototype.neg=function(i){return i.isZero()?i.clone():this.m.sub(i)._forceRed(this)},ae.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)},ae.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},ae.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)},ae.prototype.isub=function(i,o){this._verify2(i,o);var m=i.isub(o);return m.cmpn(0)<0&&m.iadd(this.m),m},ae.prototype.shl=function(i,o){return this._verify1(i),this.imod(i.ushln(o))},ae.prototype.imul=function(i,o){return this._verify2(i,o),this.imod(i.imul(o))},ae.prototype.mul=function(i,o){return this._verify2(i,o),this.imod(i.mul(o))},ae.prototype.isqr=function(i){return this.imul(i,i.clone())},ae.prototype.sqr=function(i){return this.mul(i,i)},ae.prototype.sqrt=function(i){if(i.isZero())return i.clone();var o=this.m.andln(3);if(_(o%2==1),3===o){var m=this.m.add(new l(1)).iushrn(2);return this.pow(i,m)}for(var h=this.m.subn(1),y=0;!h.isZero()&&0===h.andln(1);)y++,h.iushrn(1);_(!h.isZero());var A=new l(1).toRed(this),R=A.redNeg(),v=this.m.subn(1).iushrn(1),a=this.m.bitLength();for(a=new l(2*a*a).toRed(this);0!==this.pow(a,v).cmp(R);)a.redIAdd(R);for(var C=this.pow(a,h),U=this.pow(i,h.addn(1).iushrn(1)),N=this.pow(i,h),Q=y;0!==N.cmp(A);){for(var Pe=N,Le=0;0!==Pe.cmp(A);Le++)Pe=Pe.redSqr();_(Le<Q);var Ye=this.pow(C,new l(1).iushln(Q-Le-1));U=U.redMul(Ye),C=Ye.redSqr(),N=N.redMul(C),Q=Le}return U},ae.prototype.invm=function(i){var o=i._invmp(this.m);return 0!==o.negative?(o.negative=0,this.imod(o).redNeg()):this.imod(o)},ae.prototype.pow=function(i,o){if(o.isZero())return new l(1).toRed(this);if(0===o.cmpn(1))return i.clone();var h=new Array(16);h[0]=new l(1).toRed(this),h[1]=i;for(var y=2;y<h.length;y++)h[y]=this.mul(h[y-1],i);var A=h[0],R=0,v=0,a=o.bitLength()%26;for(0===a&&(a=26),y=o.length-1;y>=0;y--){for(var C=o.words[y],U=a-1;U>=0;U--){var N=C>>U&1;(A!==h[0]&&(A=this.sqr(A)),0!==N||0!==R)?(R<<=1,R|=N,(4===++v||0===y&&0===U)&&(A=this.mul(A,h[R]),v=0,R=0)):v=0}a=26}return A},ae.prototype.convertTo=function(i){var o=i.umod(this.m);return o===i?o.clone():o},ae.prototype.convertFrom=function(i){var o=i.clone();return o.red=null,o},l.mont=function(i){return new ve(i)},S(ve,ae),ve.prototype.convertTo=function(i){return this.imod(i.ushln(this.shift))},ve.prototype.convertFrom=function(i){var o=this.imod(i.mul(this.rinv));return o.red=null,o},ve.prototype.imul=function(i,o){if(i.isZero()||o.isZero())return i.words[0]=0,i.length=1,i;var m=i.imul(o),h=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=m.isub(h).iushrn(this.shift),A=y;return y.cmp(this.m)>=0?A=y.isub(this.m):y.cmpn(0)<0&&(A=y.iadd(this.m)),A._forceRed(this)},ve.prototype.mul=function(i,o){if(i.isZero()||o.isZero())return new l(0)._forceRed(this);var m=i.mul(o),h=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=m.isub(h).iushrn(this.shift),A=y;return y.cmp(this.m)>=0?A=y.isub(this.m):y.cmpn(0)<0&&(A=y.iadd(this.m)),A._forceRed(this)},ve.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}})(Ge=f.nmd(Ge),this)},3999:Ge=>{function X(f,e){if(!f)throw new Error(e||"Assertion failed")}Ge.exports=X,X.equal=function(e,t,_){if(e!=t)throw new Error(_||"Assertion failed: "+e+" != "+t)}},4985:(Ge,X)=>{"use strict";var f=X;function t(S){return 1===S.length?"0"+S:S}function _(S){for(var l="",D=0;D<S.length;D++)l+=t(S[D].toString(16));return l}f.toArray=function e(S,l){if(Array.isArray(S))return S.slice();if(!S)return[];var D=[];if("string"!=typeof S){for(var d=0;d<S.length;d++)D[d]=0|S[d];return D}if("hex"===l){(S=S.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(S="0"+S);for(d=0;d<S.length;d+=2)D.push(parseInt(S[d]+S[d+1],16))}else for(d=0;d<S.length;d++){var P=S.charCodeAt(d),p=P>>8,L=255&P;p?D.push(p,L):D.push(L)}return D},f.zero2=t,f.toHex=_,f.encode=function(l,D){return"hex"===D?_(l):l}},74:(Ge,X,f)=>{"use strict";Object.defineProperty(X,"__esModule",{value:!0});var e=f(9614);Object.keys(e).forEach(function(t){"default"!==t&&Object.defineProperty(X,t,{enumerable:!0,get:function(){return e[t]}})})},2675:(Ge,X,f)=>{"use strict";var e=f(7183);X.certificate=f(6053);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())});X.RSAPrivateKey=t;var _=e.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});X.RSAPublicKey=_;var S=e.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(l),this.key("subjectPublicKey").bitstr())});X.PublicKey=S;var l=e.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),D=e.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(l),this.key("subjectPrivateKey").octstr())});X.PrivateKey=D;var d=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())});X.EncryptedPrivateKey=d;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())});X.DSAPrivateKey=P,X.DSAparam=e.define("DSAparam",function(){this.int()});var p=e.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(L),this.key("publicKey").optional().explicit(1).bitstr())});X.ECPrivateKey=p;var L=e.define("ECParameters",function(){this.choice({namedCurve:this.objid()})});X.signature=e.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},6053:(Ge,X,f)=>{"use strict";var e=f(7183),t=e.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),_=e.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),S=e.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),l=e.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(S),this.key("subjectPublicKey").bitstr())}),D=e.define("RelativeDistinguishedName",function(){this.setof(_)}),d=e.define("RDNSequence",function(){this.seqof(D)}),P=e.define("Name",function(){this.choice({rdnSequence:this.use(d)})}),p=e.define("Validity",function(){this.seq().obj(this.key("notBefore").use(t),this.key("notAfter").use(t))}),L=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(S),this.key("issuer").use(P),this.key("validity").use(p),this.key("subject").use(P),this.key("subjectPublicKeyInfo").use(l),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(L).optional())}),k=e.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(M),this.key("signatureAlgorithm").use(S),this.key("signatureValue").bitstr())});Ge.exports=k},520:(Ge,X,f)=>{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,_=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,S=f(153),l=f(3170),D=f(9708).Buffer;Ge.exports=function(d,P){var M,p=d.toString(),L=p.match(e);if(L){var E="aes"+L[1],z=D.from(L[2],"hex"),I=D.from(L[3].replace(/[\r\n]/g,""),"base64"),V=S(P,z.slice(0,8),parseInt(L[1],10)).key,Z=[],q=l.createDecipheriv(E,V,z);Z.push(q.update(I)),Z.push(q.final()),M=D.concat(Z)}else{var k=p.match(_);M=D.from(k[2].replace(/[\r\n]/g,""),"base64")}return{tag:p.match(t)[1],data:M}}},5752:(Ge,X,f)=>{var e=f(2675),t=f(2562),_=f(520),S=f(3170),l=f(4540),D=f(9708).Buffer;function d(p){var L;"object"==typeof p&&!D.isBuffer(p)&&(L=p.passphrase,p=p.key),"string"==typeof p&&(p=D.from(p));var z,I,M=_(p,L),k=M.tag,E=M.data;switch(k){case"CERTIFICATE":I=e.certificate.decode(E,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(I||(I=e.PublicKey.decode(E,"der")),z=I.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return e.RSAPublicKey.decode(I.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return I.subjectPrivateKey=I.subjectPublicKey,{type:"ec",data:I};case"1.2.840.10040.4.1":return I.algorithm.params.pub_key=e.DSAparam.decode(I.subjectPublicKey.data,"der"),{type:"dsa",data:I.algorithm.params};default:throw new Error("unknown key id "+z)}case"ENCRYPTED PRIVATE KEY":E=function P(p,L){var M=p.algorithm.decrypt.kde.kdeparams.salt,k=parseInt(p.algorithm.decrypt.kde.kdeparams.iters.toString(),10),E=t[p.algorithm.decrypt.cipher.algo.join(".")],z=p.algorithm.decrypt.cipher.iv,I=p.subjectPrivateKey,V=parseInt(E.split("-")[1],10)/8,Z=l.pbkdf2Sync(L,M,k,V,"sha1"),q=S.createDecipheriv(E,Z,z),te=[];return te.push(q.update(I)),te.push(q.final()),D.concat(te)}(E=e.EncryptedPrivateKey.decode(E,"der"),L);case"PRIVATE KEY":switch(z=(I=e.PrivateKey.decode(E,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return e.RSAPrivateKey.decode(I.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:I.algorithm.curve,privateKey:e.ECPrivateKey.decode(I.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return I.algorithm.params.priv_key=e.DSAparam.decode(I.subjectPrivateKey,"der"),{type:"dsa",params:I.algorithm.params};default:throw new Error("unknown key id "+z)}case"RSA PUBLIC KEY":return e.RSAPublicKey.decode(E,"der");case"RSA PRIVATE KEY":return e.RSAPrivateKey.decode(E,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:e.DSAPrivateKey.decode(E,"der")};case"EC PRIVATE KEY":return{curve:(E=e.ECPrivateKey.decode(E,"der")).parameters.value,privateKey:E.privateKey};default:throw new Error("unknown key type "+k)}}Ge.exports=d,d.signature=e.signature},4540:(Ge,X,f)=>{X.pbkdf2=f(8460),X.pbkdf2Sync=f(2351)},8460:(Ge,X,f)=>{var D,M,e=f(9708).Buffer,t=f(4842),_=f(6910),S=f(2351),l=f(815),d=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"},p=[];function k(){return M||(M=global.process&&global.process.nextTick?global.process.nextTick:global.queueMicrotask?global.queueMicrotask:global.setImmediate?global.setImmediate:global.setTimeout)}function E(I,V,Z,q,te){return d.importKey("raw",I,{name:"PBKDF2"},!1,["deriveBits"]).then(function(ne){return d.deriveBits({name:"PBKDF2",salt:V,iterations:Z,hash:{name:te}},ne,q<<3)}).then(function(ne){return e.from(ne)})}Ge.exports=function(I,V,Z,q,te,ne){"function"==typeof te&&(ne=te,te=void 0);var le=P[(te=te||"sha1").toLowerCase()];if(le&&"function"==typeof global.Promise){if(t(Z,q),I=l(I,_,"Password"),V=l(V,_,"Salt"),"function"!=typeof ne)throw new Error("No callback provided to pbkdf2");!function z(I,V){I.then(function(Z){k()(function(){V(null,Z)})},function(Z){k()(function(){V(Z)})})}(function L(I){if(global.process&&!global.process.browser||!d||!d.importKey||!d.deriveBits)return Promise.resolve(!1);if(void 0!==p[I])return p[I];var V=E(D=D||e.alloc(8),D,10,128,I).then(function(){return!0}).catch(function(){return!1});return p[I]=V,V}(le).then(function(re){return re?E(I,V,Z,q,le):S(I,V,Z,q,te)}),ne)}else k()(function(){var re;try{re=S(I,V,Z,q,te)}catch(_e){return ne(_e)}ne(null,re)})}},6910:Ge=>{var X;if(global.process&&global.process.browser)X="utf-8";else if(global.process&&global.process.version){X=parseInt(process.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary"}else X="utf-8";Ge.exports=X},4842:Ge=>{var X=Math.pow(2,30)-1;Ge.exports=function(f,e){if("number"!=typeof f)throw new TypeError("Iterations not a number");if(f<0)throw new TypeError("Bad iterations");if("number"!=typeof e)throw new TypeError("Key length not a number");if(e<0||e>X||e!=e)throw new TypeError("Bad key length")}},2351:(Ge,X,f)=>{var e=f(2726),t=f(5351),_=f(1001),S=f(9708).Buffer,l=f(4842),D=f(6910),d=f(815),P=S.alloc(128),p={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function L(E,z,I){var V=function M(E){function z(V){return _(E).update(V).digest()}function I(V){return(new t).update(V).digest()}return"rmd160"===E||"ripemd160"===E?I:"md5"===E?e:z}(E),Z="sha512"===E||"sha384"===E?128:64;z.length>Z?z=V(z):z.length<Z&&(z=S.concat([z,P],Z));for(var q=S.allocUnsafe(Z+p[E]),te=S.allocUnsafe(Z+p[E]),ne=0;ne<Z;ne++)q[ne]=54^z[ne],te[ne]=92^z[ne];var le=S.allocUnsafe(Z+I+4);q.copy(le,0,0,Z),this.ipad1=le,this.ipad2=q,this.opad=te,this.alg=E,this.blocksize=Z,this.hash=V,this.size=p[E]}L.prototype.run=function(E,z){return E.copy(z,this.blocksize),this.hash(z).copy(this.opad,this.blocksize),this.hash(this.opad)},Ge.exports=function k(E,z,I,V,Z){l(I,V);var q=new L(Z=Z||"sha1",E=d(E,D,"Password"),(z=d(z,D,"Salt")).length),te=S.allocUnsafe(V),ne=S.allocUnsafe(z.length+4);z.copy(ne,0,0,z.length);for(var le=0,re=p[Z],_e=Math.ceil(V/re),he=1;he<=_e;he++){ne.writeUInt32BE(he,z.length);for(var ae=q.run(ne,q.ipad1),ve=ae,T=1;T<I;T++){ve=q.run(ve,q.ipad2);for(var i=0;i<re;i++)ae[i]^=ve[i]}ae.copy(te,le),le+=re}return te}},815:(Ge,X,f)=>{var e=f(9708).Buffer;Ge.exports=function(t,_,S){if(e.isBuffer(t))return t;if("string"==typeof t)return e.from(t,_);if(ArrayBuffer.isView(t))return e.from(t.buffer);throw new TypeError(S+" must be a string, a Buffer, a typed array or a DataView")}},1113:(Ge,X,f)=>{X.publicEncrypt=f(3653),X.privateDecrypt=f(9674),X.privateEncrypt=function(t,_){return X.publicEncrypt(t,_,!0)},X.publicDecrypt=function(t,_){return X.privateDecrypt(t,_,!0)}},2096:(Ge,X,f)=>{var e=f(145),t=f(9708).Buffer;function _(S){var l=t.allocUnsafe(4);return l.writeUInt32BE(S,0),l}Ge.exports=function(S,l){for(var P,D=t.alloc(0),d=0;D.length<l;)P=_(d++),D=t.concat([D,e("sha1").update(S).update(P).digest()]);return D.slice(0,l)}},6807:function(Ge,X,f){(function(e,t){"use strict";function _(T,i){if(!T)throw new Error(i||"Assertion failed")}function S(T,i){T.super_=i;var o=function(){};o.prototype=i.prototype,T.prototype=new o,T.prototype.constructor=T}function l(T,i,o){if(l.isBN(T))return T;this.negative=0,this.words=null,this.length=0,this.red=null,null!==T&&(("le"===i||"be"===i)&&(o=i,i=10),this._init(T||0,i||10,o||"be"))}var D;"object"==typeof e?e.exports=l:t.BN=l,l.BN=l,l.wordSize=26;try{D=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:f(7108).Buffer}catch{}function d(T,i){var o=T.charCodeAt(i);return o>=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function P(T,i,o){var m=d(T,o);return o-1>=i&&(m|=d(T,o-1)<<4),m}function p(T,i,o,m){for(var h=0,y=Math.min(T.length,o),A=i;A<y;A++){var R=T.charCodeAt(A)-48;h*=m,h+=R>=49?R-49+10:R>=17?R-17+10:R}return h}l.isBN=function(i){return i instanceof l||null!==i&&"object"==typeof i&&i.constructor.wordSize===l.wordSize&&Array.isArray(i.words)},l.max=function(i,o){return i.cmp(o)>0?i:o},l.min=function(i,o){return i.cmp(o)<0?i:o},l.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),_(o===(0|o)&&o>=2&&o<=36);var h=0;"-"===(i=i.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h<i.length&&(16===o?this._parseHex(i,h,m):(this._parseBase(i,o,h),"le"===m&&this._initArray(this.toArray(),o,m)))},l.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):(_(i<9007199254740992),this.words=[67108863&i,i/67108864&67108863,1],this.length=3),"le"===m&&this._initArray(this.toArray(),o,m)},l.prototype._initArray=function(i,o,m){if(_("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 h=0;h<this.length;h++)this.words[h]=0;var y,A,R=0;if("be"===m)for(h=i.length-1,y=0;h>=0;h-=3)A=i[h]|i[h-1]<<8|i[h-2]<<16,this.words[y]|=A<<R&67108863,this.words[y+1]=A>>>26-R&67108863,(R+=24)>=26&&(R-=26,y++);else if("le"===m)for(h=0,y=0;h<i.length;h+=3)A=i[h]|i[h+1]<<8|i[h+2]<<16,this.words[y]|=A<<R&67108863,this.words[y+1]=A>>>26-R&67108863,(R+=24)>=26&&(R-=26,y++);return this.strip()},l.prototype._parseHex=function(i,o,m){this.length=Math.ceil((i.length-o)/6),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var R,y=0,A=0;if("be"===m)for(h=i.length-1;h>=o;h-=2)R=P(i,o,h)<<y,this.words[A]|=67108863&R,y>=18?(y-=18,A+=1,this.words[A]|=R>>>26):y+=8;else for(h=(i.length-o)%2==0?o+1:o;h<i.length;h+=2)R=P(i,o,h)<<y,this.words[A]|=67108863&R,y>=18?(y-=18,A+=1,this.words[A]|=R>>>26):y+=8;this.strip()},l.prototype._parseBase=function(i,o,m){this.words=[0],this.length=1;for(var h=0,y=1;y<=67108863;y*=o)h++;h--,y=y/o|0;for(var A=i.length-m,R=A%h,v=Math.min(A,A-R)+m,a=0,C=m;C<v;C+=h)a=p(i,C,C+h,o),this.imuln(y),this.words[0]+a<67108864?this.words[0]+=a:this._iaddn(a);if(0!==R){var U=1;for(a=p(i,C,i.length,o),C=0;C<R;C++)U*=o;this.imuln(U),this.words[0]+a<67108864?this.words[0]+=a:this._iaddn(a)}this.strip()},l.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},l.prototype.clone=function(){var i=new l(null);return this.copy(i),i},l.prototype._expand=function(i){for(;this.length<i;)this.words[this.length++]=0;return this},l.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},l.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},l.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var L=["","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],k=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function z(T,i,o){o.negative=i.negative^T.negative;var m=T.length+i.length|0;o.length=m,m=m-1|0;var h=0|T.words[0],y=0|i.words[0],A=h*y,R=67108863&A,v=A/67108864|0;o.words[0]=R;for(var a=1;a<m;a++){for(var C=v>>>26,U=67108863&v,N=Math.min(a,i.length-1),Q=Math.max(0,a-T.length+1);Q<=N;Q++){var Pe=a-Q|0;C+=(A=(h=0|T.words[Pe])*(y=0|i.words[Q])+U)/67108864|0,U=67108863&A}o.words[a]=0|U,v=0|C}return 0!==v?o.words[a]=0|v:o.length--,o.strip()}l.prototype.toString=function(i,o){var m;if(o=0|o||1,16===(i=i||10)||"hex"===i){m="";for(var h=0,y=0,A=0;A<this.length;A++){var R=this.words[A],v=(16777215&(R<<h|y)).toString(16);m=0!==(y=R>>>24-h&16777215)||A!==this.length-1?L[6-v.length]+v+m:v+m,(h+=2)>=26&&(h-=26,A--)}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 a=M[i],C=k[i];m="";var U=this.clone();for(U.negative=0;!U.isZero();){var N=U.modn(C).toString(i);m=(U=U.idivn(C)).isZero()?N+m:L[a-N.length]+N+m}for(this.isZero()&&(m="0"+m);m.length%o!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}_(!1,"Base should be between 2 and 36")},l.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&&_(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-i:i},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(i,o){return _(typeof D<"u"),this.toArrayLike(D,i,o)},l.prototype.toArray=function(i,o){return this.toArrayLike(Array,i,o)},l.prototype.toArrayLike=function(i,o,m){var h=this.byteLength(),y=m||Math.max(1,h);_(h<=y,"byte array longer than desired length"),_(y>0,"Requested array length <= 0"),this.strip();var v,a,A="le"===o,R=new i(y),C=this.clone();if(A){for(a=0;!C.isZero();a++)v=C.andln(255),C.iushrn(8),R[a]=v;for(;a<y;a++)R[a]=0}else{for(a=0;a<y-h;a++)R[a]=0;for(a=0;!C.isZero();a++)v=C.andln(255),C.iushrn(8),R[y-a-1]=v}return R},Math.clz32?l.prototype._countBits=function(i){return 32-Math.clz32(i)}:l.prototype._countBits=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},l.prototype._zeroBits=function(i){if(0===i)return 26;var o=i,m=0;return 0==(8191&o)&&(m+=13,o>>>=13),0==(127&o)&&(m+=7,o>>>=7),0==(15&o)&&(m+=4,o>>>=4),0==(3&o)&&(m+=2,o>>>=2),0==(1&o)&&m++,m},l.prototype.bitLength=function(){var i=this.words[this.length-1],o=this._countBits(i);return 26*(this.length-1)+o},l.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},l.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},l.prototype.toTwos=function(i){return 0!==this.negative?this.abs().inotn(i).iaddn(1):this.clone()},l.prototype.fromTwos=function(i){return this.testn(i-1)?this.notn(i).iaddn(1).ineg():this.clone()},l.prototype.isNeg=function(){return 0!==this.negative},l.prototype.neg=function(){return this.clone().ineg()},l.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},l.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()},l.prototype.ior=function(i){return _(0==(this.negative|i.negative)),this.iuor(i)},l.prototype.or=function(i){return this.length>i.length?this.clone().ior(i):i.clone().ior(this)},l.prototype.uor=function(i){return this.length>i.length?this.clone().iuor(i):i.clone().iuor(this)},l.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()},l.prototype.iand=function(i){return _(0==(this.negative|i.negative)),this.iuand(i)},l.prototype.and=function(i){return this.length>i.length?this.clone().iand(i):i.clone().iand(this)},l.prototype.uand=function(i){return this.length>i.length?this.clone().iuand(i):i.clone().iuand(this)},l.prototype.iuxor=function(i){var o,m;this.length>i.length?(o=this,m=i):(o=i,m=this);for(var h=0;h<m.length;h++)this.words[h]=o.words[h]^m.words[h];if(this!==o)for(;h<o.length;h++)this.words[h]=o.words[h];return this.length=o.length,this.strip()},l.prototype.ixor=function(i){return _(0==(this.negative|i.negative)),this.iuxor(i)},l.prototype.xor=function(i){return this.length>i.length?this.clone().ixor(i):i.clone().ixor(this)},l.prototype.uxor=function(i){return this.length>i.length?this.clone().iuxor(i):i.clone().iuxor(this)},l.prototype.inotn=function(i){_("number"==typeof i&&i>=0);var o=0|Math.ceil(i/26),m=i%26;this._expand(o),m>0&&o--;for(var h=0;h<o;h++)this.words[h]=67108863&~this.words[h];return m>0&&(this.words[h]=~this.words[h]&67108863>>26-m),this.strip()},l.prototype.notn=function(i){return this.clone().inotn(i)},l.prototype.setn=function(i,o){_("number"==typeof i&&i>=0);var m=i/26|0,h=i%26;return this._expand(m+1),this.words[m]=o?this.words[m]|1<<h:this.words[m]&~(1<<h),this.strip()},l.prototype.iadd=function(i){var o,m,h;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,h=i):(m=i,h=this);for(var y=0,A=0;A<h.length;A++)o=(0|m.words[A])+(0|h.words[A])+y,this.words[A]=67108863&o,y=o>>>26;for(;0!==y&&A<m.length;A++)o=(0|m.words[A])+y,this.words[A]=67108863&o,y=o>>>26;if(this.length=m.length,0!==y)this.words[this.length]=y,this.length++;else if(m!==this)for(;A<m.length;A++)this.words[A]=m.words[A];return this},l.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)},l.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 h,y,m=this.cmp(i);if(0===m)return this.negative=0,this.length=1,this.words[0]=0,this;m>0?(h=this,y=i):(h=i,y=this);for(var A=0,R=0;R<y.length;R++)A=(o=(0|h.words[R])-(0|y.words[R])+A)>>26,this.words[R]=67108863&o;for(;0!==A&&R<h.length;R++)A=(o=(0|h.words[R])+A)>>26,this.words[R]=67108863&o;if(0===A&&R<h.length&&h!==this)for(;R<h.length;R++)this.words[R]=h.words[R];return this.length=Math.max(this.length,R),h!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(i){return this.clone().isub(i)};var I=function(i,o,m){var v,a,C,h=i.words,y=o.words,A=m.words,R=0,U=0|h[0],N=8191&U,Q=U>>>13,Pe=0|h[1],Le=8191&Pe,Ye=Pe>>>13,$e=0|h[2],Ve=8191&$e,be=$e>>>13,et=0|h[3],je=8191&et,ye=et>>>13,Te=0|h[4],He=8191&Te,Ee=Te>>>13,we=0|h[5],de=8191&we,Me=we>>>13,ie=0|h[6],G=8191&ie,$=ie>>>13,ze=0|h[7],Ue=8191&ze,oe=ze>>>13,bt=0|h[8],Be=8191&bt,nt=bt>>>13,$t=0|h[9],gt=8191&$t,rt=$t>>>13,Re=0|y[0],ot=8191&Re,St=Re>>>13,gi=0|y[1],oi=8191&gi,ei=gi>>>13,Zi=0|y[2],si=8191&Zi,Bt=Zi>>>13,Je=0|y[3],me=8191&Je,K=Je>>>13,J=0|y[4],Ce=8191&J,We=J>>>13,Mt=0|y[5],Tt=8191&Mt,Nt=Mt>>>13,at=0|y[6],Ke=8191&at,vt=at>>>13,ri=0|y[7],Pt=8191&ri,Lt=ri>>>13,Kt=0|y[8],Ae=8191&Kt,fe=Kt>>>13,st=0|y[9],_t=8191&st,kt=st>>>13;m.negative=i.negative^o.negative,m.length=19;var Oi=(R+(v=Math.imul(N,ot))|0)+((8191&(a=(a=Math.imul(N,St))+Math.imul(Q,ot)|0))<<13)|0;R=((C=Math.imul(Q,St))+(a>>>13)|0)+(Oi>>>26)|0,Oi&=67108863,v=Math.imul(Le,ot),a=(a=Math.imul(Le,St))+Math.imul(Ye,ot)|0,C=Math.imul(Ye,St);var Li=(R+(v=v+Math.imul(N,oi)|0)|0)+((8191&(a=(a=a+Math.imul(N,ei)|0)+Math.imul(Q,oi)|0))<<13)|0;R=((C=C+Math.imul(Q,ei)|0)+(a>>>13)|0)+(Li>>>26)|0,Li&=67108863,v=Math.imul(Ve,ot),a=(a=Math.imul(Ve,St))+Math.imul(be,ot)|0,C=Math.imul(be,St),v=v+Math.imul(Le,oi)|0,a=(a=a+Math.imul(Le,ei)|0)+Math.imul(Ye,oi)|0,C=C+Math.imul(Ye,ei)|0;var Ei=(R+(v=v+Math.imul(N,si)|0)|0)+((8191&(a=(a=a+Math.imul(N,Bt)|0)+Math.imul(Q,si)|0))<<13)|0;R=((C=C+Math.imul(Q,Bt)|0)+(a>>>13)|0)+(Ei>>>26)|0,Ei&=67108863,v=Math.imul(je,ot),a=(a=Math.imul(je,St))+Math.imul(ye,ot)|0,C=Math.imul(ye,St),v=v+Math.imul(Ve,oi)|0,a=(a=a+Math.imul(Ve,ei)|0)+Math.imul(be,oi)|0,C=C+Math.imul(be,ei)|0,v=v+Math.imul(Le,si)|0,a=(a=a+Math.imul(Le,Bt)|0)+Math.imul(Ye,si)|0,C=C+Math.imul(Ye,Bt)|0;var Wi=(R+(v=v+Math.imul(N,me)|0)|0)+((8191&(a=(a=a+Math.imul(N,K)|0)+Math.imul(Q,me)|0))<<13)|0;R=((C=C+Math.imul(Q,K)|0)+(a>>>13)|0)+(Wi>>>26)|0,Wi&=67108863,v=Math.imul(He,ot),a=(a=Math.imul(He,St))+Math.imul(Ee,ot)|0,C=Math.imul(Ee,St),v=v+Math.imul(je,oi)|0,a=(a=a+Math.imul(je,ei)|0)+Math.imul(ye,oi)|0,C=C+Math.imul(ye,ei)|0,v=v+Math.imul(Ve,si)|0,a=(a=a+Math.imul(Ve,Bt)|0)+Math.imul(be,si)|0,C=C+Math.imul(be,Bt)|0,v=v+Math.imul(Le,me)|0,a=(a=a+Math.imul(Le,K)|0)+Math.imul(Ye,me)|0,C=C+Math.imul(Ye,K)|0;var wt=(R+(v=v+Math.imul(N,Ce)|0)|0)+((8191&(a=(a=a+Math.imul(N,We)|0)+Math.imul(Q,Ce)|0))<<13)|0;R=((C=C+Math.imul(Q,We)|0)+(a>>>13)|0)+(wt>>>26)|0,wt&=67108863,v=Math.imul(de,ot),a=(a=Math.imul(de,St))+Math.imul(Me,ot)|0,C=Math.imul(Me,St),v=v+Math.imul(He,oi)|0,a=(a=a+Math.imul(He,ei)|0)+Math.imul(Ee,oi)|0,C=C+Math.imul(Ee,ei)|0,v=v+Math.imul(je,si)|0,a=(a=a+Math.imul(je,Bt)|0)+Math.imul(ye,si)|0,C=C+Math.imul(ye,Bt)|0,v=v+Math.imul(Ve,me)|0,a=(a=a+Math.imul(Ve,K)|0)+Math.imul(be,me)|0,C=C+Math.imul(be,K)|0,v=v+Math.imul(Le,Ce)|0,a=(a=a+Math.imul(Le,We)|0)+Math.imul(Ye,Ce)|0,C=C+Math.imul(Ye,We)|0;var qe=(R+(v=v+Math.imul(N,Tt)|0)|0)+((8191&(a=(a=a+Math.imul(N,Nt)|0)+Math.imul(Q,Tt)|0))<<13)|0;R=((C=C+Math.imul(Q,Nt)|0)+(a>>>13)|0)+(qe>>>26)|0,qe&=67108863,v=Math.imul(G,ot),a=(a=Math.imul(G,St))+Math.imul($,ot)|0,C=Math.imul($,St),v=v+Math.imul(de,oi)|0,a=(a=a+Math.imul(de,ei)|0)+Math.imul(Me,oi)|0,C=C+Math.imul(Me,ei)|0,v=v+Math.imul(He,si)|0,a=(a=a+Math.imul(He,Bt)|0)+Math.imul(Ee,si)|0,C=C+Math.imul(Ee,Bt)|0,v=v+Math.imul(je,me)|0,a=(a=a+Math.imul(je,K)|0)+Math.imul(ye,me)|0,C=C+Math.imul(ye,K)|0,v=v+Math.imul(Ve,Ce)|0,a=(a=a+Math.imul(Ve,We)|0)+Math.imul(be,Ce)|0,C=C+Math.imul(be,We)|0,v=v+Math.imul(Le,Tt)|0,a=(a=a+Math.imul(Le,Nt)|0)+Math.imul(Ye,Tt)|0,C=C+Math.imul(Ye,Nt)|0;var Ne=(R+(v=v+Math.imul(N,Ke)|0)|0)+((8191&(a=(a=a+Math.imul(N,vt)|0)+Math.imul(Q,Ke)|0))<<13)|0;R=((C=C+Math.imul(Q,vt)|0)+(a>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,v=Math.imul(Ue,ot),a=(a=Math.imul(Ue,St))+Math.imul(oe,ot)|0,C=Math.imul(oe,St),v=v+Math.imul(G,oi)|0,a=(a=a+Math.imul(G,ei)|0)+Math.imul($,oi)|0,C=C+Math.imul($,ei)|0,v=v+Math.imul(de,si)|0,a=(a=a+Math.imul(de,Bt)|0)+Math.imul(Me,si)|0,C=C+Math.imul(Me,Bt)|0,v=v+Math.imul(He,me)|0,a=(a=a+Math.imul(He,K)|0)+Math.imul(Ee,me)|0,C=C+Math.imul(Ee,K)|0,v=v+Math.imul(je,Ce)|0,a=(a=a+Math.imul(je,We)|0)+Math.imul(ye,Ce)|0,C=C+Math.imul(ye,We)|0,v=v+Math.imul(Ve,Tt)|0,a=(a=a+Math.imul(Ve,Nt)|0)+Math.imul(be,Tt)|0,C=C+Math.imul(be,Nt)|0,v=v+Math.imul(Le,Ke)|0,a=(a=a+Math.imul(Le,vt)|0)+Math.imul(Ye,Ke)|0,C=C+Math.imul(Ye,vt)|0;var Vt=(R+(v=v+Math.imul(N,Pt)|0)|0)+((8191&(a=(a=a+Math.imul(N,Lt)|0)+Math.imul(Q,Pt)|0))<<13)|0;R=((C=C+Math.imul(Q,Lt)|0)+(a>>>13)|0)+(Vt>>>26)|0,Vt&=67108863,v=Math.imul(Be,ot),a=(a=Math.imul(Be,St))+Math.imul(nt,ot)|0,C=Math.imul(nt,St),v=v+Math.imul(Ue,oi)|0,a=(a=a+Math.imul(Ue,ei)|0)+Math.imul(oe,oi)|0,C=C+Math.imul(oe,ei)|0,v=v+Math.imul(G,si)|0,a=(a=a+Math.imul(G,Bt)|0)+Math.imul($,si)|0,C=C+Math.imul($,Bt)|0,v=v+Math.imul(de,me)|0,a=(a=a+Math.imul(de,K)|0)+Math.imul(Me,me)|0,C=C+Math.imul(Me,K)|0,v=v+Math.imul(He,Ce)|0,a=(a=a+Math.imul(He,We)|0)+Math.imul(Ee,Ce)|0,C=C+Math.imul(Ee,We)|0,v=v+Math.imul(je,Tt)|0,a=(a=a+Math.imul(je,Nt)|0)+Math.imul(ye,Tt)|0,C=C+Math.imul(ye,Nt)|0,v=v+Math.imul(Ve,Ke)|0,a=(a=a+Math.imul(Ve,vt)|0)+Math.imul(be,Ke)|0,C=C+Math.imul(be,vt)|0,v=v+Math.imul(Le,Pt)|0,a=(a=a+Math.imul(Le,Lt)|0)+Math.imul(Ye,Pt)|0,C=C+Math.imul(Ye,Lt)|0;var jt=(R+(v=v+Math.imul(N,Ae)|0)|0)+((8191&(a=(a=a+Math.imul(N,fe)|0)+Math.imul(Q,Ae)|0))<<13)|0;R=((C=C+Math.imul(Q,fe)|0)+(a>>>13)|0)+(jt>>>26)|0,jt&=67108863,v=Math.imul(gt,ot),a=(a=Math.imul(gt,St))+Math.imul(rt,ot)|0,C=Math.imul(rt,St),v=v+Math.imul(Be,oi)|0,a=(a=a+Math.imul(Be,ei)|0)+Math.imul(nt,oi)|0,C=C+Math.imul(nt,ei)|0,v=v+Math.imul(Ue,si)|0,a=(a=a+Math.imul(Ue,Bt)|0)+Math.imul(oe,si)|0,C=C+Math.imul(oe,Bt)|0,v=v+Math.imul(G,me)|0,a=(a=a+Math.imul(G,K)|0)+Math.imul($,me)|0,C=C+Math.imul($,K)|0,v=v+Math.imul(de,Ce)|0,a=(a=a+Math.imul(de,We)|0)+Math.imul(Me,Ce)|0,C=C+Math.imul(Me,We)|0,v=v+Math.imul(He,Tt)|0,a=(a=a+Math.imul(He,Nt)|0)+Math.imul(Ee,Tt)|0,C=C+Math.imul(Ee,Nt)|0,v=v+Math.imul(je,Ke)|0,a=(a=a+Math.imul(je,vt)|0)+Math.imul(ye,Ke)|0,C=C+Math.imul(ye,vt)|0,v=v+Math.imul(Ve,Pt)|0,a=(a=a+Math.imul(Ve,Lt)|0)+Math.imul(be,Pt)|0,C=C+Math.imul(be,Lt)|0,v=v+Math.imul(Le,Ae)|0,a=(a=a+Math.imul(Le,fe)|0)+Math.imul(Ye,Ae)|0,C=C+Math.imul(Ye,fe)|0;var fi=(R+(v=v+Math.imul(N,_t)|0)|0)+((8191&(a=(a=a+Math.imul(N,kt)|0)+Math.imul(Q,_t)|0))<<13)|0;R=((C=C+Math.imul(Q,kt)|0)+(a>>>13)|0)+(fi>>>26)|0,fi&=67108863,v=Math.imul(gt,oi),a=(a=Math.imul(gt,ei))+Math.imul(rt,oi)|0,C=Math.imul(rt,ei),v=v+Math.imul(Be,si)|0,a=(a=a+Math.imul(Be,Bt)|0)+Math.imul(nt,si)|0,C=C+Math.imul(nt,Bt)|0,v=v+Math.imul(Ue,me)|0,a=(a=a+Math.imul(Ue,K)|0)+Math.imul(oe,me)|0,C=C+Math.imul(oe,K)|0,v=v+Math.imul(G,Ce)|0,a=(a=a+Math.imul(G,We)|0)+Math.imul($,Ce)|0,C=C+Math.imul($,We)|0,v=v+Math.imul(de,Tt)|0,a=(a=a+Math.imul(de,Nt)|0)+Math.imul(Me,Tt)|0,C=C+Math.imul(Me,Nt)|0,v=v+Math.imul(He,Ke)|0,a=(a=a+Math.imul(He,vt)|0)+Math.imul(Ee,Ke)|0,C=C+Math.imul(Ee,vt)|0,v=v+Math.imul(je,Pt)|0,a=(a=a+Math.imul(je,Lt)|0)+Math.imul(ye,Pt)|0,C=C+Math.imul(ye,Lt)|0,v=v+Math.imul(Ve,Ae)|0,a=(a=a+Math.imul(Ve,fe)|0)+Math.imul(be,Ae)|0,C=C+Math.imul(be,fe)|0;var Si=(R+(v=v+Math.imul(Le,_t)|0)|0)+((8191&(a=(a=a+Math.imul(Le,kt)|0)+Math.imul(Ye,_t)|0))<<13)|0;R=((C=C+Math.imul(Ye,kt)|0)+(a>>>13)|0)+(Si>>>26)|0,Si&=67108863,v=Math.imul(gt,si),a=(a=Math.imul(gt,Bt))+Math.imul(rt,si)|0,C=Math.imul(rt,Bt),v=v+Math.imul(Be,me)|0,a=(a=a+Math.imul(Be,K)|0)+Math.imul(nt,me)|0,C=C+Math.imul(nt,K)|0,v=v+Math.imul(Ue,Ce)|0,a=(a=a+Math.imul(Ue,We)|0)+Math.imul(oe,Ce)|0,C=C+Math.imul(oe,We)|0,v=v+Math.imul(G,Tt)|0,a=(a=a+Math.imul(G,Nt)|0)+Math.imul($,Tt)|0,C=C+Math.imul($,Nt)|0,v=v+Math.imul(de,Ke)|0,a=(a=a+Math.imul(de,vt)|0)+Math.imul(Me,Ke)|0,C=C+Math.imul(Me,vt)|0,v=v+Math.imul(He,Pt)|0,a=(a=a+Math.imul(He,Lt)|0)+Math.imul(Ee,Pt)|0,C=C+Math.imul(Ee,Lt)|0,v=v+Math.imul(je,Ae)|0,a=(a=a+Math.imul(je,fe)|0)+Math.imul(ye,Ae)|0,C=C+Math.imul(ye,fe)|0;var ki=(R+(v=v+Math.imul(Ve,_t)|0)|0)+((8191&(a=(a=a+Math.imul(Ve,kt)|0)+Math.imul(be,_t)|0))<<13)|0;R=((C=C+Math.imul(be,kt)|0)+(a>>>13)|0)+(ki>>>26)|0,ki&=67108863,v=Math.imul(gt,me),a=(a=Math.imul(gt,K))+Math.imul(rt,me)|0,C=Math.imul(rt,K),v=v+Math.imul(Be,Ce)|0,a=(a=a+Math.imul(Be,We)|0)+Math.imul(nt,Ce)|0,C=C+Math.imul(nt,We)|0,v=v+Math.imul(Ue,Tt)|0,a=(a=a+Math.imul(Ue,Nt)|0)+Math.imul(oe,Tt)|0,C=C+Math.imul(oe,Nt)|0,v=v+Math.imul(G,Ke)|0,a=(a=a+Math.imul(G,vt)|0)+Math.imul($,Ke)|0,C=C+Math.imul($,vt)|0,v=v+Math.imul(de,Pt)|0,a=(a=a+Math.imul(de,Lt)|0)+Math.imul(Me,Pt)|0,C=C+Math.imul(Me,Lt)|0,v=v+Math.imul(He,Ae)|0,a=(a=a+Math.imul(He,fe)|0)+Math.imul(Ee,Ae)|0,C=C+Math.imul(Ee,fe)|0;var Gi=(R+(v=v+Math.imul(je,_t)|0)|0)+((8191&(a=(a=a+Math.imul(je,kt)|0)+Math.imul(ye,_t)|0))<<13)|0;R=((C=C+Math.imul(ye,kt)|0)+(a>>>13)|0)+(Gi>>>26)|0,Gi&=67108863,v=Math.imul(gt,Ce),a=(a=Math.imul(gt,We))+Math.imul(rt,Ce)|0,C=Math.imul(rt,We),v=v+Math.imul(Be,Tt)|0,a=(a=a+Math.imul(Be,Nt)|0)+Math.imul(nt,Tt)|0,C=C+Math.imul(nt,Nt)|0,v=v+Math.imul(Ue,Ke)|0,a=(a=a+Math.imul(Ue,vt)|0)+Math.imul(oe,Ke)|0,C=C+Math.imul(oe,vt)|0,v=v+Math.imul(G,Pt)|0,a=(a=a+Math.imul(G,Lt)|0)+Math.imul($,Pt)|0,C=C+Math.imul($,Lt)|0,v=v+Math.imul(de,Ae)|0,a=(a=a+Math.imul(de,fe)|0)+Math.imul(Me,Ae)|0,C=C+Math.imul(Me,fe)|0;var Qt=(R+(v=v+Math.imul(He,_t)|0)|0)+((8191&(a=(a=a+Math.imul(He,kt)|0)+Math.imul(Ee,_t)|0))<<13)|0;R=((C=C+Math.imul(Ee,kt)|0)+(a>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,v=Math.imul(gt,Tt),a=(a=Math.imul(gt,Nt))+Math.imul(rt,Tt)|0,C=Math.imul(rt,Nt),v=v+Math.imul(Be,Ke)|0,a=(a=a+Math.imul(Be,vt)|0)+Math.imul(nt,Ke)|0,C=C+Math.imul(nt,vt)|0,v=v+Math.imul(Ue,Pt)|0,a=(a=a+Math.imul(Ue,Lt)|0)+Math.imul(oe,Pt)|0,C=C+Math.imul(oe,Lt)|0,v=v+Math.imul(G,Ae)|0,a=(a=a+Math.imul(G,fe)|0)+Math.imul($,Ae)|0,C=C+Math.imul($,fe)|0;var xe=(R+(v=v+Math.imul(de,_t)|0)|0)+((8191&(a=(a=a+Math.imul(de,kt)|0)+Math.imul(Me,_t)|0))<<13)|0;R=((C=C+Math.imul(Me,kt)|0)+(a>>>13)|0)+(xe>>>26)|0,xe&=67108863,v=Math.imul(gt,Ke),a=(a=Math.imul(gt,vt))+Math.imul(rt,Ke)|0,C=Math.imul(rt,vt),v=v+Math.imul(Be,Pt)|0,a=(a=a+Math.imul(Be,Lt)|0)+Math.imul(nt,Pt)|0,C=C+Math.imul(nt,Lt)|0,v=v+Math.imul(Ue,Ae)|0,a=(a=a+Math.imul(Ue,fe)|0)+Math.imul(oe,Ae)|0,C=C+Math.imul(oe,fe)|0;var ke=(R+(v=v+Math.imul(G,_t)|0)|0)+((8191&(a=(a=a+Math.imul(G,kt)|0)+Math.imul($,_t)|0))<<13)|0;R=((C=C+Math.imul($,kt)|0)+(a>>>13)|0)+(ke>>>26)|0,ke&=67108863,v=Math.imul(gt,Pt),a=(a=Math.imul(gt,Lt))+Math.imul(rt,Pt)|0,C=Math.imul(rt,Lt),v=v+Math.imul(Be,Ae)|0,a=(a=a+Math.imul(Be,fe)|0)+Math.imul(nt,Ae)|0,C=C+Math.imul(nt,fe)|0;var ft=(R+(v=v+Math.imul(Ue,_t)|0)|0)+((8191&(a=(a=a+Math.imul(Ue,kt)|0)+Math.imul(oe,_t)|0))<<13)|0;R=((C=C+Math.imul(oe,kt)|0)+(a>>>13)|0)+(ft>>>26)|0,ft&=67108863,v=Math.imul(gt,Ae),a=(a=Math.imul(gt,fe))+Math.imul(rt,Ae)|0,C=Math.imul(rt,fe);var Rt=(R+(v=v+Math.imul(Be,_t)|0)|0)+((8191&(a=(a=a+Math.imul(Be,kt)|0)+Math.imul(nt,_t)|0))<<13)|0;R=((C=C+Math.imul(nt,kt)|0)+(a>>>13)|0)+(Rt>>>26)|0,Rt&=67108863;var di=(R+(v=Math.imul(gt,_t))|0)+((8191&(a=(a=Math.imul(gt,kt))+Math.imul(rt,_t)|0))<<13)|0;return R=((C=Math.imul(rt,kt))+(a>>>13)|0)+(di>>>26)|0,di&=67108863,A[0]=Oi,A[1]=Li,A[2]=Ei,A[3]=Wi,A[4]=wt,A[5]=qe,A[6]=Ne,A[7]=Vt,A[8]=jt,A[9]=fi,A[10]=Si,A[11]=ki,A[12]=Gi,A[13]=Qt,A[14]=xe,A[15]=ke,A[16]=ft,A[17]=Rt,A[18]=di,0!==R&&(A[19]=R,m.length++),m};function Z(T,i,o){return(new q).mulp(T,i,o)}function q(T,i){this.x=T,this.y=i}Math.imul||(I=z),l.prototype.mulTo=function(i,o){var m,h=this.length+i.length;return m=10===this.length&&10===i.length?I(this,i,o):h<63?z(this,i,o):h<1024?function V(T,i,o){o.negative=i.negative^T.negative,o.length=T.length+i.length;for(var m=0,h=0,y=0;y<o.length-1;y++){var A=h;h=0;for(var R=67108863&m,v=Math.min(y,i.length-1),a=Math.max(0,y-T.length+1);a<=v;a++){var C=y-a,Q=(0|T.words[C])*(0|i.words[a]),Pe=67108863&Q;R=67108863&(Pe=Pe+R|0),h+=(A=(A=A+(Q/67108864|0)|0)+(Pe>>>26)|0)>>>26,A&=67108863}o.words[y]=R,m=A,A=h}return 0!==m?o.words[y]=m:o.length--,o.strip()}(this,i,o):Z(this,i,o),m},q.prototype.makeRBT=function(i){for(var o=new Array(i),m=l.prototype._countBits(i)-1,h=0;h<i;h++)o[h]=this.revBin(h,m,i);return o},q.prototype.revBin=function(i,o,m){if(0===i||i===m-1)return i;for(var h=0,y=0;y<o;y++)h|=(1&i)<<o-y-1,i>>=1;return h},q.prototype.permute=function(i,o,m,h,y,A){for(var R=0;R<A;R++)h[R]=o[i[R]],y[R]=m[i[R]]},q.prototype.transform=function(i,o,m,h,y,A){this.permute(A,i,o,m,h,y);for(var R=1;R<y;R<<=1)for(var v=R<<1,a=Math.cos(2*Math.PI/v),C=Math.sin(2*Math.PI/v),U=0;U<y;U+=v)for(var N=a,Q=C,Pe=0;Pe<R;Pe++){var Le=m[U+Pe],Ye=h[U+Pe],$e=m[U+Pe+R],Ve=h[U+Pe+R],be=N*$e-Q*Ve;Ve=N*Ve+Q*$e,$e=be,m[U+Pe]=Le+$e,h[U+Pe]=Ye+Ve,m[U+Pe+R]=Le-$e,h[U+Pe+R]=Ye-Ve,Pe!==v&&(be=a*N-C*Q,Q=a*Q+C*N,N=be)}},q.prototype.guessLen13b=function(i,o){var m=1|Math.max(o,i),h=1&m,y=0;for(m=m/2|0;m;m>>>=1)y++;return 1<<y+1+h},q.prototype.conjugate=function(i,o,m){if(!(m<=1))for(var h=0;h<m/2;h++){var y=i[h];i[h]=i[m-h-1],i[m-h-1]=y,y=o[h],o[h]=-o[m-h-1],o[m-h-1]=-y}},q.prototype.normalize13b=function(i,o){for(var m=0,h=0;h<o/2;h++){var y=8192*Math.round(i[2*h+1]/o)+Math.round(i[2*h]/o)+m;i[h]=67108863&y,m=y<67108864?0:y/67108864|0}return i},q.prototype.convert13b=function(i,o,m,h){for(var y=0,A=0;A<o;A++)y+=0|i[A],m[2*A]=8191&y,y>>>=13,m[2*A+1]=8191&y,y>>>=13;for(A=2*o;A<h;++A)m[A]=0;_(0===y),_(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 h=2*this.guessLen13b(i.length,o.length),y=this.makeRBT(h),A=this.stub(h),R=new Array(h),v=new Array(h),a=new Array(h),C=new Array(h),U=new Array(h),N=new Array(h),Q=m.words;Q.length=h,this.convert13b(i.words,i.length,R,h),this.convert13b(o.words,o.length,C,h),this.transform(R,A,v,a,h,y),this.transform(C,A,U,N,h,y);for(var Pe=0;Pe<h;Pe++){var Le=v[Pe]*U[Pe]-a[Pe]*N[Pe];a[Pe]=v[Pe]*N[Pe]+a[Pe]*U[Pe],v[Pe]=Le}return this.conjugate(v,a,h),this.transform(v,a,Q,A,h,y),this.conjugate(Q,A,h),this.normalize13b(Q,h),m.negative=i.negative^o.negative,m.length=i.length+o.length,m.strip()},l.prototype.mul=function(i){var o=new l(null);return o.words=new Array(this.length+i.length),this.mulTo(i,o)},l.prototype.mulf=function(i){var o=new l(null);return o.words=new Array(this.length+i.length),Z(this,i,o)},l.prototype.imul=function(i){return this.clone().mulTo(i,this)},l.prototype.imuln=function(i){_("number"==typeof i),_(i<67108864);for(var o=0,m=0;m<this.length;m++){var h=(0|this.words[m])*i,y=(67108863&h)+(67108863&o);o>>=26,o+=h/67108864|0,o+=y>>>26,this.words[m]=67108863&y}return 0!==o&&(this.words[m]=o,this.length++),this},l.prototype.muln=function(i){return this.clone().imuln(i)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(i){var o=function E(T){for(var i=new Array(T.bitLength()),o=0;o<i.length;o++){var m=o/26|0,h=o%26;i[o]=(T.words[m]&1<<h)>>>h}return i}(i);if(0===o.length)return new l(1);for(var m=this,h=0;h<o.length&&0===o[h];h++,m=m.sqr());if(++h<o.length)for(var y=m.sqr();h<o.length;h++,y=y.sqr())0!==o[h]&&(m=m.mul(y));return m},l.prototype.iushln=function(i){_("number"==typeof i&&i>=0);var y,o=i%26,m=(i-o)/26,h=67108863>>>26-o<<26-o;if(0!==o){var A=0;for(y=0;y<this.length;y++){var R=this.words[y]&h,v=(0|this.words[y])-R<<o;this.words[y]=v|A,A=R>>>26-o}A&&(this.words[y]=A,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()},l.prototype.ishln=function(i){return _(0===this.negative),this.iushln(i)},l.prototype.iushrn=function(i,o,m){var h;_("number"==typeof i&&i>=0),h=o?(o-o%26)/26:0;var y=i%26,A=Math.min((i-y)/26,this.length),R=67108863^67108863>>>y<<y,v=m;if(h-=A,h=Math.max(0,h),v){for(var a=0;a<A;a++)v.words[a]=this.words[a];v.length=A}if(0!==A)if(this.length>A)for(this.length-=A,a=0;a<this.length;a++)this.words[a]=this.words[a+A];else this.words[0]=0,this.length=1;var C=0;for(a=this.length-1;a>=0&&(0!==C||a>=h);a--){var U=0|this.words[a];this.words[a]=C<<26-y|U>>>y,C=U&R}return v&&0!==C&&(v.words[v.length++]=C),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(i,o,m){return _(0===this.negative),this.iushrn(i,o,m)},l.prototype.shln=function(i){return this.clone().ishln(i)},l.prototype.ushln=function(i){return this.clone().iushln(i)},l.prototype.shrn=function(i){return this.clone().ishrn(i)},l.prototype.ushrn=function(i){return this.clone().iushrn(i)},l.prototype.testn=function(i){_("number"==typeof i&&i>=0);var o=i%26,m=(i-o)/26,h=1<<o;return!(this.length<=m)&&!!(this.words[m]&h)},l.prototype.imaskn=function(i){_("number"==typeof i&&i>=0);var o=i%26,m=(i-o)/26;if(_(0===this.negative,"imaskn works only with positive numbers"),this.length<=m)return this;if(0!==o&&m++,this.length=Math.min(m,this.length),0!==o){var h=67108863^67108863>>>o<<o;this.words[this.length-1]&=h}return this.strip()},l.prototype.maskn=function(i){return this.clone().imaskn(i)},l.prototype.iaddn=function(i){return _("number"==typeof i),_(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)},l.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},l.prototype.isubn=function(i){if(_("number"==typeof i),_(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()},l.prototype.addn=function(i){return this.clone().iaddn(i)},l.prototype.subn=function(i){return this.clone().isubn(i)},l.prototype.iabs=function(){return this.negative=0,this},l.prototype.abs=function(){return this.clone().iabs()},l.prototype._ishlnsubmul=function(i,o,m){var y,h=i.length+m;this._expand(h);var A,R=0;for(y=0;y<i.length;y++){A=(0|this.words[y+m])+R;var v=(0|i.words[y])*o;R=((A-=67108863&v)>>26)-(v/67108864|0),this.words[y+m]=67108863&A}for(;y<this.length-m;y++)R=(A=(0|this.words[y+m])+R)>>26,this.words[y+m]=67108863&A;if(0===R)return this.strip();for(_(-1===R),R=0,y=0;y<this.length;y++)R=(A=-(0|this.words[y])+R)>>26,this.words[y]=67108863&A;return this.negative=1,this.strip()},l.prototype._wordDiv=function(i,o){var m=(this.length,i.length),h=this.clone(),y=i,A=0|y.words[y.length-1];0!==(m=26-this._countBits(A))&&(y=y.ushln(m),h.iushln(m),A=0|y.words[y.length-1]);var a,v=h.length-y.length;if("mod"!==o){(a=new l(null)).length=v+1,a.words=new Array(a.length);for(var C=0;C<a.length;C++)a.words[C]=0}var U=h.clone()._ishlnsubmul(y,1,v);0===U.negative&&(h=U,a&&(a.words[v]=1));for(var N=v-1;N>=0;N--){var Q=67108864*(0|h.words[y.length+N])+(0|h.words[y.length+N-1]);for(Q=Math.min(Q/A|0,67108863),h._ishlnsubmul(y,Q,N);0!==h.negative;)Q--,h.negative=0,h._ishlnsubmul(y,1,N),h.isZero()||(h.negative^=1);a&&(a.words[N]=Q)}return a&&a.strip(),h.strip(),"div"!==o&&0!==m&&h.iushrn(m),{div:a||null,mod:h}},l.prototype.divmod=function(i,o,m){return _(!i.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===i.negative?(A=this.neg().divmod(i,o),"mod"!==o&&(h=A.div.neg()),"div"!==o&&(y=A.mod.neg(),m&&0!==y.negative&&y.iadd(i)),{div:h,mod:y}):0===this.negative&&0!==i.negative?(A=this.divmod(i.neg(),o),"mod"!==o&&(h=A.div.neg()),{div:h,mod:A.mod}):0!=(this.negative&i.negative)?(A=this.neg().divmod(i.neg(),o),"div"!==o&&(y=A.mod.neg(),m&&0!==y.negative&&y.isub(i)),{div:A.div,mod:y}):i.length>this.length||this.cmp(i)<0?{div:new l(0),mod:this}:1===i.length?"div"===o?{div:this.divn(i.words[0]),mod:null}:"mod"===o?{div:null,mod:new l(this.modn(i.words[0]))}:{div:this.divn(i.words[0]),mod:new l(this.modn(i.words[0]))}:this._wordDiv(i,o);var h,y,A},l.prototype.div=function(i){return this.divmod(i,"div",!1).div},l.prototype.mod=function(i){return this.divmod(i,"mod",!1).mod},l.prototype.umod=function(i){return this.divmod(i,"mod",!0).mod},l.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,h=i.ushrn(1),y=i.andln(1),A=m.cmp(h);return A<0||1===y&&0===A?o.div:0!==o.div.negative?o.div.isubn(1):o.div.iaddn(1)},l.prototype.modn=function(i){_(i<=67108863);for(var o=(1<<26)%i,m=0,h=this.length-1;h>=0;h--)m=(o*m+(0|this.words[h]))%i;return m},l.prototype.idivn=function(i){_(i<=67108863);for(var o=0,m=this.length-1;m>=0;m--){var h=(0|this.words[m])+67108864*o;this.words[m]=h/i|0,o=h%i}return this.strip()},l.prototype.divn=function(i){return this.clone().idivn(i)},l.prototype.egcd=function(i){_(0===i.negative),_(!i.isZero());var o=this,m=i.clone();o=0!==o.negative?o.umod(i):o.clone();for(var h=new l(1),y=new l(0),A=new l(0),R=new l(1),v=0;o.isEven()&&m.isEven();)o.iushrn(1),m.iushrn(1),++v;for(var a=m.clone(),C=o.clone();!o.isZero();){for(var U=0,N=1;0==(o.words[0]&N)&&U<26;++U,N<<=1);if(U>0)for(o.iushrn(U);U-- >0;)(h.isOdd()||y.isOdd())&&(h.iadd(a),y.isub(C)),h.iushrn(1),y.iushrn(1);for(var Q=0,Pe=1;0==(m.words[0]&Pe)&&Q<26;++Q,Pe<<=1);if(Q>0)for(m.iushrn(Q);Q-- >0;)(A.isOdd()||R.isOdd())&&(A.iadd(a),R.isub(C)),A.iushrn(1),R.iushrn(1);o.cmp(m)>=0?(o.isub(m),h.isub(A),y.isub(R)):(m.isub(o),A.isub(h),R.isub(y))}return{a:A,b:R,gcd:m.iushln(v)}},l.prototype._invmp=function(i){_(0===i.negative),_(!i.isZero());var U,o=this,m=i.clone();o=0!==o.negative?o.umod(i):o.clone();for(var h=new l(1),y=new l(0),A=m.clone();o.cmpn(1)>0&&m.cmpn(1)>0;){for(var R=0,v=1;0==(o.words[0]&v)&&R<26;++R,v<<=1);if(R>0)for(o.iushrn(R);R-- >0;)h.isOdd()&&h.iadd(A),h.iushrn(1);for(var a=0,C=1;0==(m.words[0]&C)&&a<26;++a,C<<=1);if(a>0)for(m.iushrn(a);a-- >0;)y.isOdd()&&y.iadd(A),y.iushrn(1);o.cmp(m)>=0?(o.isub(m),h.isub(y)):(m.isub(o),y.isub(h))}return(U=0===o.cmpn(1)?h:y).cmpn(0)<0&&U.iadd(i),U},l.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 h=0;o.isEven()&&m.isEven();h++)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 A=o;o=m,m=A}else if(0===y||0===m.cmpn(1))break;o.isub(m)}return m.iushln(h)},l.prototype.invm=function(i){return this.egcd(i).a.umod(i)},l.prototype.isEven=function(){return 0==(1&this.words[0])},l.prototype.isOdd=function(){return 1==(1&this.words[0])},l.prototype.andln=function(i){return this.words[0]&i},l.prototype.bincn=function(i){_("number"==typeof i);var o=i%26,m=(i-o)/26,h=1<<o;if(this.length<=m)return this._expand(m+1),this.words[m]|=h,this;for(var y=h,A=m;0!==y&&A<this.length;A++){var R=0|this.words[A];y=(R+=y)>>>26,R&=67108863,this.words[A]=R}return 0!==y&&(this.words[A]=y,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.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),_(i<=67108863,"Number is too big");var h=0|this.words[0];m=h===i?0:h<i?-1:1}return 0!==this.negative?0|-m:m},l.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},l.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 h=0|this.words[m],y=0|i.words[m];if(h!==y){h<y?o=-1:h>y&&(o=1);break}}return o},l.prototype.gtn=function(i){return 1===this.cmpn(i)},l.prototype.gt=function(i){return 1===this.cmp(i)},l.prototype.gten=function(i){return this.cmpn(i)>=0},l.prototype.gte=function(i){return this.cmp(i)>=0},l.prototype.ltn=function(i){return-1===this.cmpn(i)},l.prototype.lt=function(i){return-1===this.cmp(i)},l.prototype.lten=function(i){return this.cmpn(i)<=0},l.prototype.lte=function(i){return this.cmp(i)<=0},l.prototype.eqn=function(i){return 0===this.cmpn(i)},l.prototype.eq=function(i){return 0===this.cmp(i)},l.red=function(i){return new ae(i)},l.prototype.toRed=function(i){return _(!this.red,"Already a number in reduction context"),_(0===this.negative,"red works only with positives"),i.convertTo(this)._forceRed(i)},l.prototype.fromRed=function(){return _(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(i){return this.red=i,this},l.prototype.forceRed=function(i){return _(!this.red,"Already a number in reduction context"),this._forceRed(i)},l.prototype.redAdd=function(i){return _(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},l.prototype.redIAdd=function(i){return _(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},l.prototype.redSub=function(i){return _(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},l.prototype.redISub=function(i){return _(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},l.prototype.redShl=function(i){return _(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},l.prototype.redMul=function(i){return _(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},l.prototype.redIMul=function(i){return _(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},l.prototype.redSqr=function(){return _(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return _(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return _(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return _(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return _(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(i){return _(this.red&&!i.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,i)};var te={k256:null,p224:null,p192:null,p25519:null};function ne(T,i){this.name=T,this.p=new l(i,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function le(){ne.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function re(){ne.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function _e(){ne.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function he(){ne.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function ae(T){if("string"==typeof T){var i=l._prime(T);this.m=i.p,this.prime=i}else _(T.gtn(1),"modulus must be greater than 1"),this.m=T,this.prime=null}function ve(T){ae.call(this,T),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}ne.prototype._tmp=function(){var i=new l(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 h=m<this.n?-1:o.ucmp(this.p);return 0===h?(o.words[0]=0,o.length=1):h>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)},S(le,ne),le.prototype.split=function(i,o){for(var m=4194303,h=Math.min(i.length,9),y=0;y<h;y++)o.words[y]=i.words[y];if(o.length=h,i.length<=9)return i.words[0]=0,void(i.length=1);var A=i.words[9];for(o.words[o.length++]=A&m,y=10;y<i.length;y++){var R=0|i.words[y];i.words[y-10]=(R&m)<<4|A>>>22,A=R}A>>>=22,i.words[y-10]=A,0===A&&i.length>10?i.length-=10:i.length-=9},le.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 h=0|i.words[m];o+=977*h,i.words[m]=67108863&o,o=64*h+(o/67108864|0)}return 0===i.words[i.length-1]&&(i.length--,0===i.words[i.length-1]&&i.length--),i},S(re,ne),S(_e,ne),S(he,ne),he.prototype.imulK=function(i){for(var o=0,m=0;m<i.length;m++){var h=19*(0|i.words[m])+o,y=67108863&h;h>>>=26,i.words[m]=y,o=h}return 0!==o&&(i.words[i.length++]=o),i},l._prime=function(i){if(te[i])return te[i];var o;if("k256"===i)o=new le;else if("p224"===i)o=new re;else if("p192"===i)o=new _e;else{if("p25519"!==i)throw new Error("Unknown prime "+i);o=new he}return te[i]=o,o},ae.prototype._verify1=function(i){_(0===i.negative,"red works only with positives"),_(i.red,"red works only with red numbers")},ae.prototype._verify2=function(i,o){_(0==(i.negative|o.negative),"red works only with positives"),_(i.red&&i.red===o.red,"red works only with red numbers")},ae.prototype.imod=function(i){return this.prime?this.prime.ireduce(i)._forceRed(this):i.umod(this.m)._forceRed(this)},ae.prototype.neg=function(i){return i.isZero()?i.clone():this.m.sub(i)._forceRed(this)},ae.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)},ae.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},ae.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)},ae.prototype.isub=function(i,o){this._verify2(i,o);var m=i.isub(o);return m.cmpn(0)<0&&m.iadd(this.m),m},ae.prototype.shl=function(i,o){return this._verify1(i),this.imod(i.ushln(o))},ae.prototype.imul=function(i,o){return this._verify2(i,o),this.imod(i.imul(o))},ae.prototype.mul=function(i,o){return this._verify2(i,o),this.imod(i.mul(o))},ae.prototype.isqr=function(i){return this.imul(i,i.clone())},ae.prototype.sqr=function(i){return this.mul(i,i)},ae.prototype.sqrt=function(i){if(i.isZero())return i.clone();var o=this.m.andln(3);if(_(o%2==1),3===o){var m=this.m.add(new l(1)).iushrn(2);return this.pow(i,m)}for(var h=this.m.subn(1),y=0;!h.isZero()&&0===h.andln(1);)y++,h.iushrn(1);_(!h.isZero());var A=new l(1).toRed(this),R=A.redNeg(),v=this.m.subn(1).iushrn(1),a=this.m.bitLength();for(a=new l(2*a*a).toRed(this);0!==this.pow(a,v).cmp(R);)a.redIAdd(R);for(var C=this.pow(a,h),U=this.pow(i,h.addn(1).iushrn(1)),N=this.pow(i,h),Q=y;0!==N.cmp(A);){for(var Pe=N,Le=0;0!==Pe.cmp(A);Le++)Pe=Pe.redSqr();_(Le<Q);var Ye=this.pow(C,new l(1).iushln(Q-Le-1));U=U.redMul(Ye),C=Ye.redSqr(),N=N.redMul(C),Q=Le}return U},ae.prototype.invm=function(i){var o=i._invmp(this.m);return 0!==o.negative?(o.negative=0,this.imod(o).redNeg()):this.imod(o)},ae.prototype.pow=function(i,o){if(o.isZero())return new l(1).toRed(this);if(0===o.cmpn(1))return i.clone();var h=new Array(16);h[0]=new l(1).toRed(this),h[1]=i;for(var y=2;y<h.length;y++)h[y]=this.mul(h[y-1],i);var A=h[0],R=0,v=0,a=o.bitLength()%26;for(0===a&&(a=26),y=o.length-1;y>=0;y--){for(var C=o.words[y],U=a-1;U>=0;U--){var N=C>>U&1;(A!==h[0]&&(A=this.sqr(A)),0!==N||0!==R)?(R<<=1,R|=N,(4===++v||0===y&&0===U)&&(A=this.mul(A,h[R]),v=0,R=0)):v=0}a=26}return A},ae.prototype.convertTo=function(i){var o=i.umod(this.m);return o===i?o.clone():o},ae.prototype.convertFrom=function(i){var o=i.clone();return o.red=null,o},l.mont=function(i){return new ve(i)},S(ve,ae),ve.prototype.convertTo=function(i){return this.imod(i.ushln(this.shift))},ve.prototype.convertFrom=function(i){var o=this.imod(i.mul(this.rinv));return o.red=null,o},ve.prototype.imul=function(i,o){if(i.isZero()||o.isZero())return i.words[0]=0,i.length=1,i;var m=i.imul(o),h=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=m.isub(h).iushrn(this.shift),A=y;return y.cmp(this.m)>=0?A=y.isub(this.m):y.cmpn(0)<0&&(A=y.iadd(this.m)),A._forceRed(this)},ve.prototype.mul=function(i,o){if(i.isZero()||o.isZero())return new l(0)._forceRed(this);var m=i.mul(o),h=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=m.isub(h).iushrn(this.shift),A=y;return y.cmp(this.m)>=0?A=y.isub(this.m):y.cmpn(0)<0&&(A=y.iadd(this.m)),A._forceRed(this)},ve.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}})(Ge=f.nmd(Ge),this)},9674:(Ge,X,f)=>{var e=f(5752),t=f(2096),_=f(464),S=f(6807),l=f(6661),D=f(145),d=f(630),P=f(9708).Buffer;Ge.exports=function(E,z,I){var V;V=E.padding?E.padding:I?1:4;var te,Z=e(E),q=Z.modulus.byteLength();if(z.length>q||new S(z).cmp(Z.modulus)>=0)throw new Error("decryption error");te=I?d(new S(z),Z):l(z,Z);var ne=P.alloc(q-te.length);if(te=P.concat([ne,te],q),4===V)return function p(k,E){var z=k.modulus.byteLength(),I=D("sha1").update(P.alloc(0)).digest(),V=I.length;if(0!==E[0])throw new Error("decryption error");var Z=E.slice(1,V+1),q=E.slice(V+1),te=_(Z,t(q,V)),ne=_(q,t(te,z-V-1));if(function M(k,E){k=P.from(k),E=P.from(E);var z=0,I=k.length;k.length!==E.length&&(z++,I=Math.min(k.length,E.length));for(var V=-1;++V<I;)z+=k[V]^E[V];return z}(I,ne.slice(0,V)))throw new Error("decryption error");for(var le=V;0===ne[le];)le++;if(1!==ne[le++])throw new Error("decryption error");return ne.slice(le)}(Z,te);if(1===V)return function L(k,E,z){for(var I=E.slice(0,2),V=2,Z=0;0!==E[V++];)if(V>=E.length){Z++;break}var q=E.slice(2,V-1);if(("0002"!==I.toString("hex")&&!z||"0001"!==I.toString("hex")&&z)&&Z++,q.length<8&&Z++,Z)throw new Error("decryption error");return E.slice(V)}(0,te,I);if(3===V)return te;throw new Error("unknown padding")}},3653:(Ge,X,f)=>{var e=f(5752),t=f(1186),_=f(145),S=f(2096),l=f(464),D=f(6807),d=f(630),P=f(6661),p=f(9708).Buffer;Ge.exports=function(z,I,V){var Z;Z=z.padding?z.padding:V?1:4;var te,q=e(z);if(4===Z)te=function L(E,z){var I=E.modulus.byteLength(),V=z.length,Z=_("sha1").update(p.alloc(0)).digest(),q=Z.length,te=2*q;if(V>I-te-2)throw new Error("message too long");var ne=p.alloc(I-V-te-2),le=I-q-1,re=t(q),_e=l(p.concat([Z,ne,p.alloc(1,1),z],le),S(re,le)),he=l(re,S(_e,q));return new D(p.concat([p.alloc(1),he,_e],I))}(q,I);else if(1===Z)te=function M(E,z,I){var q,V=z.length,Z=E.modulus.byteLength();if(V>Z-11)throw new Error("message too long");return q=I?p.alloc(Z-V-3,255):function k(E){for(var q,z=p.allocUnsafe(E),I=0,V=t(2*E),Z=0;I<E;)Z===V.length&&(V=t(2*E),Z=0),(q=V[Z++])&&(z[I++]=q);return z}(Z-V-3),new D(p.concat([p.from([0,I?1:2]),q,p.alloc(1),z],Z))}(q,I,V);else{if(3!==Z)throw new Error("unknown padding");if((te=new D(I)).cmp(q.modulus)>=0)throw new Error("data too long for modulus")}return V?P(te,q):d(te,q)}},630:(Ge,X,f)=>{var e=f(6807),t=f(9708).Buffer;Ge.exports=function _(S,l){return t.from(S.toRed(e.mont(l.modulus)).redPow(new e(l.publicExponent)).fromRed().toArray())}},464:Ge=>{Ge.exports=function(f,e){for(var t=f.length,_=-1;++_<t;)f[_]^=e[_];return f}},5646:(Ge,X,f)=>{const e=f(5704),t=f(9102),_=f(9326),S=f(226);function l(D,d,P,p,L){const M=[].slice.call(arguments,1),k=M.length,E="function"==typeof M[k-1];if(!E&&!e())throw new Error("Callback required as last argument");if(!E){if(k<1)throw new Error("Too few arguments provided");return 1===k?(P=d,d=p=void 0):2===k&&!d.getContext&&(p=P,P=d,d=void 0),new Promise(function(z,I){try{const V=t.create(P,p);z(D(V,d,p))}catch(V){I(V)}})}if(k<2)throw new Error("Too few arguments provided");2===k?(L=P,P=d,d=p=void 0):3===k&&(d.getContext&&typeof L>"u"?(L=p,p=void 0):(L=p,p=P,P=d,d=void 0));try{const z=t.create(P,p);L(null,D(z,d,p))}catch(z){L(z)}}X.create=t.create,X.toCanvas=l.bind(null,_.render),X.toDataURL=l.bind(null,_.renderToDataURL),X.toString=l.bind(null,function(D,d,P){return S.render(D,P)})},5704:Ge=>{Ge.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},8298:(Ge,X,f)=>{const e=f(2230).getSymbolSize;X.getRowColCoords=function(_){if(1===_)return[];const S=Math.floor(_/7)+2,l=e(_),D=145===l?26:2*Math.ceil((l-13)/(2*S-2)),d=[l-7];for(let P=1;P<S-1;P++)d[P]=d[P-1]-D;return d.push(6),d.reverse()},X.getPositions=function(_){const S=[],l=X.getRowColCoords(_),D=l.length;for(let d=0;d<D;d++)for(let P=0;P<D;P++)0===d&&0===P||0===d&&P===D-1||d===D-1&&0===P||S.push([l[d],l[P]]);return S}},9321:(Ge,X,f)=>{const e=f(4059),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 _(S){this.mode=e.ALPHANUMERIC,this.data=S}_.getBitsLength=function(l){return 11*Math.floor(l/2)+l%2*6},_.prototype.getLength=function(){return this.data.length},_.prototype.getBitsLength=function(){return _.getBitsLength(this.data.length)},_.prototype.write=function(l){let D;for(D=0;D+2<=this.data.length;D+=2){let d=45*t.indexOf(this.data[D]);d+=t.indexOf(this.data[D+1]),l.put(d,11)}this.data.length%2&&l.put(t.indexOf(this.data[D]),6)},Ge.exports=_},7701:Ge=>{function X(){this.buffer=[],this.length=0}X.prototype={get:function(f){const e=Math.floor(f/8);return 1==(this.buffer[e]>>>7-f%8&1)},put:function(f,e){for(let t=0;t<e;t++)this.putBit(1==(f>>>e-t-1&1))},getLengthInBits:function(){return this.length},putBit:function(f){const e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),f&&(this.buffer[e]|=128>>>this.length%8),this.length++}},Ge.exports=X},9088:Ge=>{function X(f){if(!f||f<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=f,this.data=new Uint8Array(f*f),this.reservedBit=new Uint8Array(f*f)}X.prototype.set=function(f,e,t,_){const S=f*this.size+e;this.data[S]=t,_&&(this.reservedBit[S]=!0)},X.prototype.get=function(f,e){return this.data[f*this.size+e]},X.prototype.xor=function(f,e,t){this.data[f*this.size+e]^=t},X.prototype.isReserved=function(f,e){return this.reservedBit[f*this.size+e]},Ge.exports=X},6323:(Ge,X,f)=>{const e=f(6236),t=f(4059);function _(S){this.mode=t.BYTE,"string"==typeof S&&(S=e(S)),this.data=new Uint8Array(S)}_.getBitsLength=function(l){return 8*l},_.prototype.getLength=function(){return this.data.length},_.prototype.getBitsLength=function(){return _.getBitsLength(this.data.length)},_.prototype.write=function(S){for(let l=0,D=this.data.length;l<D;l++)S.put(this.data[l],8)},Ge.exports=_},1690:(Ge,X,f)=>{const e=f(5448),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],_=[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];X.getBlocksCount=function(l,D){switch(D){case e.L:return t[4*(l-1)+0];case e.M:return t[4*(l-1)+1];case e.Q:return t[4*(l-1)+2];case e.H:return t[4*(l-1)+3];default:return}},X.getTotalCodewordsCount=function(l,D){switch(D){case e.L:return _[4*(l-1)+0];case e.M:return _[4*(l-1)+1];case e.Q:return _[4*(l-1)+2];case e.H:return _[4*(l-1)+3];default:return}}},5448:(Ge,X)=>{X.L={bit:1},X.M={bit:0},X.Q={bit:3},X.H={bit:2},X.isValid=function(t){return t&&typeof t.bit<"u"&&t.bit>=0&&t.bit<4},X.from=function(t,_){if(X.isValid(t))return t;try{return function f(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"l":case"low":return X.L;case"m":case"medium":return X.M;case"q":case"quartile":return X.Q;case"h":case"high":return X.H;default:throw new Error("Unknown EC Level: "+e)}}(t)}catch{return _}}},2903:(Ge,X,f)=>{const e=f(2230).getSymbolSize;X.getPositions=function(S){const l=e(S);return[[0,0],[l-7,0],[0,l-7]]}},6327:(Ge,X,f)=>{const e=f(2230),S=e.getBCHDigit(1335);X.getEncodedBits=function(D,d){const P=D.bit<<3|d;let p=P<<10;for(;e.getBCHDigit(p)-S>=0;)p^=1335<<e.getBCHDigit(p)-S;return 21522^(P<<10|p)}},9240:(Ge,X)=>{const f=new Uint8Array(512),e=new Uint8Array(256);(function(){let _=1;for(let S=0;S<255;S++)f[S]=_,e[_]=S,_<<=1,256&_&&(_^=285);for(let S=255;S<512;S++)f[S]=f[S-255]})(),X.log=function(_){if(_<1)throw new Error("log("+_+")");return e[_]},X.exp=function(_){return f[_]},X.mul=function(_,S){return 0===_||0===S?0:f[e[_]+e[S]]}},5134:(Ge,X,f)=>{const e=f(4059),t=f(2230);function _(S){this.mode=e.KANJI,this.data=S}_.getBitsLength=function(l){return 13*l},_.prototype.getLength=function(){return this.data.length},_.prototype.getBitsLength=function(){return _.getBitsLength(this.data.length)},_.prototype.write=function(S){let l;for(l=0;l<this.data.length;l++){let D=t.toSJIS(this.data[l]);if(D>=33088&&D<=40956)D-=33088;else{if(!(D>=57408&&D<=60351))throw new Error("Invalid SJIS character: "+this.data[l]+"\nMake sure your charset is UTF-8");D-=49472}D=192*(D>>>8&255)+(255&D),S.put(D,13)}},Ge.exports=_},6485:(Ge,X)=>{X.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const f_N1=3,f_N2=3,f_N3=40,f_N4=10;function e(t,_,S){switch(t){case X.Patterns.PATTERN000:return(_+S)%2==0;case X.Patterns.PATTERN001:return _%2==0;case X.Patterns.PATTERN010:return S%3==0;case X.Patterns.PATTERN011:return(_+S)%3==0;case X.Patterns.PATTERN100:return(Math.floor(_/2)+Math.floor(S/3))%2==0;case X.Patterns.PATTERN101:return _*S%2+_*S%3==0;case X.Patterns.PATTERN110:return(_*S%2+_*S%3)%2==0;case X.Patterns.PATTERN111:return(_*S%3+(_+S)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}}X.isValid=function(_){return null!=_&&""!==_&&!isNaN(_)&&_>=0&&_<=7},X.from=function(_){return X.isValid(_)?parseInt(_,10):void 0},X.getPenaltyN1=function(_){const S=_.size;let l=0,D=0,d=0,P=null,p=null;for(let L=0;L<S;L++){D=d=0,P=p=null;for(let M=0;M<S;M++){let k=_.get(L,M);k===P?D++:(D>=5&&(l+=f_N1+(D-5)),P=k,D=1),k=_.get(M,L),k===p?d++:(d>=5&&(l+=f_N1+(d-5)),p=k,d=1)}D>=5&&(l+=f_N1+(D-5)),d>=5&&(l+=f_N1+(d-5))}return l},X.getPenaltyN2=function(_){const S=_.size;let l=0;for(let D=0;D<S-1;D++)for(let d=0;d<S-1;d++){const P=_.get(D,d)+_.get(D,d+1)+_.get(D+1,d)+_.get(D+1,d+1);(4===P||0===P)&&l++}return l*f_N2},X.getPenaltyN3=function(_){const S=_.size;let l=0,D=0,d=0;for(let P=0;P<S;P++){D=d=0;for(let p=0;p<S;p++)D=D<<1&2047|_.get(P,p),p>=10&&(1488===D||93===D)&&l++,d=d<<1&2047|_.get(p,P),p>=10&&(1488===d||93===d)&&l++}return l*f_N3},X.getPenaltyN4=function(_){let S=0;const l=_.data.length;for(let d=0;d<l;d++)S+=_.data[d];return Math.abs(Math.ceil(100*S/l/5)-10)*f_N4},X.applyMask=function(_,S){const l=S.size;for(let D=0;D<l;D++)for(let d=0;d<l;d++)S.isReserved(d,D)||S.xor(d,D,e(_,d,D))},X.getBestMask=function(_,S){const l=Object.keys(X.Patterns).length;let D=0,d=1/0;for(let P=0;P<l;P++){S(P),X.applyMask(P,_);const p=X.getPenaltyN1(_)+X.getPenaltyN2(_)+X.getPenaltyN3(_)+X.getPenaltyN4(_);X.applyMask(P,_),p<d&&(d=p,D=P)}return D}},4059:(Ge,X,f)=>{const e=f(6859),t=f(7526);X.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},X.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},X.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},X.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},X.MIXED={bit:-1},X.getCharCountIndicator=function(l,D){if(!l.ccBits)throw new Error("Invalid mode: "+l);if(!e.isValid(D))throw new Error("Invalid version: "+D);return D>=1&&D<10?l.ccBits[0]:D<27?l.ccBits[1]:l.ccBits[2]},X.getBestModeForData=function(l){return t.testNumeric(l)?X.NUMERIC:t.testAlphanumeric(l)?X.ALPHANUMERIC:t.testKanji(l)?X.KANJI:X.BYTE},X.toString=function(l){if(l&&l.id)return l.id;throw new Error("Invalid mode")},X.isValid=function(l){return l&&l.bit&&l.ccBits},X.from=function(l,D){if(X.isValid(l))return l;try{return function _(S){if("string"!=typeof S)throw new Error("Param is not a string");switch(S.toLowerCase()){case"numeric":return X.NUMERIC;case"alphanumeric":return X.ALPHANUMERIC;case"kanji":return X.KANJI;case"byte":return X.BYTE;default:throw new Error("Unknown mode: "+S)}}(l)}catch{return D}}},9782:(Ge,X,f)=>{const e=f(4059);function t(_){this.mode=e.NUMERIC,this.data=_.toString()}t.getBitsLength=function(S){return 10*Math.floor(S/3)+(S%3?S%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(S){let l,D,d;for(l=0;l+3<=this.data.length;l+=3)D=this.data.substr(l,3),d=parseInt(D,10),S.put(d,10);const P=this.data.length-l;P>0&&(D=this.data.substr(l),d=parseInt(D,10),S.put(d,3*P+1))},Ge.exports=t},1845:(Ge,X,f)=>{const e=f(9240);X.mul=function(_,S){const l=new Uint8Array(_.length+S.length-1);for(let D=0;D<_.length;D++)for(let d=0;d<S.length;d++)l[D+d]^=e.mul(_[D],S[d]);return l},X.mod=function(_,S){let l=new Uint8Array(_);for(;l.length-S.length>=0;){const D=l[0];for(let P=0;P<S.length;P++)l[P]^=e.mul(S[P],D);let d=0;for(;d<l.length&&0===l[d];)d++;l=l.slice(d)}return l},X.generateECPolynomial=function(_){let S=new Uint8Array([1]);for(let l=0;l<_;l++)S=X.mul(S,new Uint8Array([1,e.exp(l)]));return S}},9102:(Ge,X,f)=>{const e=f(2230),t=f(5448),_=f(7701),S=f(9088),l=f(8298),D=f(2903),d=f(6485),P=f(1690),p=f(3035),L=f(8421),M=f(6327),k=f(4059),E=f(2149);function q(_e,he,ae){const ve=_e.size,T=M.getEncodedBits(he,ae);let i,o;for(i=0;i<15;i++)o=1==(T>>i&1),i<6?_e.set(i,8,o,!0):i<8?_e.set(i+1,8,o,!0):_e.set(ve-15+i,8,o,!0),i<8?_e.set(8,ve-i-1,o,!0):i<9?_e.set(8,15-i-1+1,o,!0):_e.set(8,15-i-1,o,!0);_e.set(ve-8,8,1,!0)}function ne(_e,he,ae){const ve=new _;ae.forEach(function(h){ve.put(h.mode.bit,4),ve.put(h.getLength(),k.getCharCountIndicator(h.mode,_e)),h.write(ve)});const o=8*(e.getSymbolTotalCodewords(_e)-P.getTotalCodewordsCount(_e,he));for(ve.getLengthInBits()+4<=o&&ve.put(0,4);ve.getLengthInBits()%8!=0;)ve.putBit(0);const m=(o-ve.getLengthInBits())/8;for(let h=0;h<m;h++)ve.put(h%2?17:236,8);return function le(_e,he,ae){const ve=e.getSymbolTotalCodewords(he),T=P.getTotalCodewordsCount(he,ae),i=ve-T,o=P.getBlocksCount(he,ae),h=o-ve%o,y=Math.floor(ve/o),A=Math.floor(i/o),R=A+1,v=y-A,a=new p(v);let C=0;const U=new Array(o),N=new Array(o);let Q=0;const Pe=new Uint8Array(_e.buffer);for(let be=0;be<o;be++){const et=be<h?A:R;U[be]=Pe.slice(C,C+et),N[be]=a.encode(U[be]),C+=et,Q=Math.max(Q,et)}const Le=new Uint8Array(ve);let $e,Ve,Ye=0;for($e=0;$e<Q;$e++)for(Ve=0;Ve<o;Ve++)$e<U[Ve].length&&(Le[Ye++]=U[Ve][$e]);for($e=0;$e<v;$e++)for(Ve=0;Ve<o;Ve++)Le[Ye++]=N[Ve][$e];return Le}(ve,_e,he)}function re(_e,he,ae,ve){let T;if(Array.isArray(_e))T=E.fromArray(_e);else{if("string"!=typeof _e)throw new Error("Invalid data");{let y=he;if(!y){const A=E.rawSplit(_e);y=L.getBestVersionForData(A,ae)}T=E.fromString(_e,y||40)}}const i=L.getBestVersionForData(T,ae);if(!i)throw new Error("The amount of data is too big to be stored in a QR Code");if(he){if(he<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 he=i;const o=ne(he,ae,T),m=e.getSymbolSize(he),h=new S(m);return function z(_e,he){const ae=_e.size,ve=D.getPositions(he);for(let T=0;T<ve.length;T++){const i=ve[T][0],o=ve[T][1];for(let m=-1;m<=7;m++)if(!(i+m<=-1||ae<=i+m))for(let h=-1;h<=7;h++)o+h<=-1||ae<=o+h||(m>=0&&m<=6&&(0===h||6===h)||h>=0&&h<=6&&(0===m||6===m)||m>=2&&m<=4&&h>=2&&h<=4?_e.set(i+m,o+h,!0,!0):_e.set(i+m,o+h,!1,!0))}}(h,he),function I(_e){const he=_e.size;for(let ae=8;ae<he-8;ae++){const ve=ae%2==0;_e.set(ae,6,ve,!0),_e.set(6,ae,ve,!0)}}(h),function V(_e,he){const ae=l.getPositions(he);for(let ve=0;ve<ae.length;ve++){const T=ae[ve][0],i=ae[ve][1];for(let o=-2;o<=2;o++)for(let m=-2;m<=2;m++)-2===o||2===o||-2===m||2===m||0===o&&0===m?_e.set(T+o,i+m,!0,!0):_e.set(T+o,i+m,!1,!0)}}(h,he),q(h,ae,0),he>=7&&function Z(_e,he){const ae=_e.size,ve=L.getEncodedBits(he);let T,i,o;for(let m=0;m<18;m++)T=Math.floor(m/3),i=m%3+ae-8-3,o=1==(ve>>m&1),_e.set(T,i,o,!0),_e.set(i,T,o,!0)}(h,he),function te(_e,he){const ae=_e.size;let ve=-1,T=ae-1,i=7,o=0;for(let m=ae-1;m>0;m-=2)for(6===m&&m--;;){for(let h=0;h<2;h++)if(!_e.isReserved(T,m-h)){let y=!1;o<he.length&&(y=1==(he[o]>>>i&1)),_e.set(T,m-h,y),i--,-1===i&&(o++,i=7)}if(T+=ve,T<0||ae<=T){T-=ve,ve=-ve;break}}}(h,o),isNaN(ve)&&(ve=d.getBestMask(h,q.bind(null,h,ae))),d.applyMask(ve,h),q(h,ae,ve),{modules:h,version:he,errorCorrectionLevel:ae,maskPattern:ve,segments:T}}X.create=function(he,ae){if(typeof he>"u"||""===he)throw new Error("No input text");let T,i,ve=t.M;return typeof ae<"u"&&(ve=t.from(ae.errorCorrectionLevel,t.M),T=L.from(ae.version),i=d.from(ae.maskPattern),ae.toSJISFunc&&e.setToSJISFunction(ae.toSJISFunc)),re(he,T,ve,i)}},3035:(Ge,X,f)=>{const e=f(1845);function t(_){this.genPoly=void 0,this.degree=_,this.degree&&this.initialize(this.degree)}t.prototype.initialize=function(S){this.degree=S,this.genPoly=e.generateECPolynomial(this.degree)},t.prototype.encode=function(S){if(!this.genPoly)throw new Error("Encoder not initialized");const l=new Uint8Array(S.length+this.degree);l.set(S);const D=e.mod(l,this.genPoly),d=this.degree-D.length;if(d>0){const P=new Uint8Array(this.degree);return P.set(D,d),P}return D},Ge.exports=t},7526:(Ge,X)=>{const f="[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 _="(?:(?![A-Z0-9 $%*+\\-./:]|"+t+")(?:.|[\r\n]))+";X.KANJI=new RegExp(t,"g"),X.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),X.BYTE=new RegExp(_,"g"),X.NUMERIC=new RegExp(f,"g"),X.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");const S=new RegExp("^"+t+"$"),l=new RegExp("^"+f+"$"),D=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");X.testKanji=function(P){return S.test(P)},X.testNumeric=function(P){return l.test(P)},X.testAlphanumeric=function(P){return D.test(P)}},2149:(Ge,X,f)=>{const e=f(4059),t=f(9782),_=f(9321),S=f(6323),l=f(5134),D=f(7526),d=f(2230),P=f(6348);function p(Z){return unescape(encodeURIComponent(Z)).length}function L(Z,q,te){const ne=[];let le;for(;null!==(le=Z.exec(te));)ne.push({data:le[0],index:le.index,mode:q,length:le[0].length});return ne}function M(Z){const q=L(D.NUMERIC,e.NUMERIC,Z),te=L(D.ALPHANUMERIC,e.ALPHANUMERIC,Z);let ne,le;return d.isKanjiModeEnabled()?(ne=L(D.BYTE,e.BYTE,Z),le=L(D.KANJI,e.KANJI,Z)):(ne=L(D.BYTE_KANJI,e.BYTE,Z),le=[]),q.concat(te,ne,le).sort(function(_e,he){return _e.index-he.index}).map(function(_e){return{data:_e.data,mode:_e.mode,length:_e.length}})}function k(Z,q){switch(q){case e.NUMERIC:return t.getBitsLength(Z);case e.ALPHANUMERIC:return _.getBitsLength(Z);case e.KANJI:return l.getBitsLength(Z);case e.BYTE:return S.getBitsLength(Z)}}function V(Z,q){let te;const ne=e.getBestModeForData(Z);if(te=e.from(q,ne),te!==e.BYTE&&te.bit<ne.bit)throw new Error('"'+Z+'" cannot be encoded with mode '+e.toString(te)+".\n Suggested mode is: "+e.toString(ne));switch(te===e.KANJI&&!d.isKanjiModeEnabled()&&(te=e.BYTE),te){case e.NUMERIC:return new t(Z);case e.ALPHANUMERIC:return new _(Z);case e.KANJI:return new l(Z);case e.BYTE:return new S(Z)}}X.fromArray=function(q){return q.reduce(function(te,ne){return"string"==typeof ne?te.push(V(ne,null)):ne.data&&te.push(V(ne.data,ne.mode)),te},[])},X.fromString=function(q,te){const le=function z(Z){const q=[];for(let te=0;te<Z.length;te++){const ne=Z[te];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:p(ne.data)}]);break;case e.BYTE:q.push([{data:ne.data,mode:e.BYTE,length:p(ne.data)}])}}return q}(M(q,d.isKanjiModeEnabled())),re=function I(Z,q){const te={},ne={start:{}};let le=["start"];for(let re=0;re<Z.length;re++){const _e=Z[re],he=[];for(let ae=0;ae<_e.length;ae++){const ve=_e[ae],T=""+re+ae;he.push(T),te[T]={node:ve,lastCount:0},ne[T]={};for(let i=0;i<le.length;i++){const o=le[i];te[o]&&te[o].node.mode===ve.mode?(ne[o][T]=k(te[o].lastCount+ve.length,ve.mode)-k(te[o].lastCount,ve.mode),te[o].lastCount+=ve.length):(te[o]&&(te[o].lastCount=ve.length),ne[o][T]=k(ve.length,ve.mode)+4+e.getCharCountIndicator(ve.mode,q))}}le=he}for(let re=0;re<le.length;re++)ne[le[re]].end=0;return{map:ne,table:te}}(le,te),_e=P.find_path(re.map,"start","end"),he=[];for(let ae=1;ae<_e.length-1;ae++)he.push(re.table[_e[ae]].node);return X.fromArray(function E(Z){return Z.reduce(function(q,te){const ne=q.length-1>=0?q[q.length-1]:null;return ne&&ne.mode===te.mode?(q[q.length-1].data+=te.data,q):(q.push(te),q)},[])}(he))},X.rawSplit=function(q){return X.fromArray(M(q,d.isKanjiModeEnabled()))}},2230:(Ge,X)=>{let f;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];X.getSymbolSize=function(_){if(!_)throw new Error('"version" cannot be null or undefined');if(_<1||_>40)throw new Error('"version" should be in range from 1 to 40');return 4*_+17},X.getSymbolTotalCodewords=function(_){return e[_]},X.getBCHDigit=function(t){let _=0;for(;0!==t;)_++,t>>>=1;return _},X.setToSJISFunction=function(_){if("function"!=typeof _)throw new Error('"toSJISFunc" is not a valid function.');f=_},X.isKanjiModeEnabled=function(){return typeof f<"u"},X.toSJIS=function(_){return f(_)}},6859:(Ge,X)=>{X.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}},8421:(Ge,X,f)=>{const e=f(2230),t=f(1690),_=f(5448),S=f(4059),l=f(6859),d=e.getBCHDigit(7973);function p(k,E){return S.getCharCountIndicator(k,E)+4}function L(k,E){let z=0;return k.forEach(function(I){const V=p(I.mode,E);z+=V+I.getBitsLength()}),z}X.from=function(E,z){return l.isValid(E)?parseInt(E,10):z},X.getCapacity=function(E,z,I){if(!l.isValid(E))throw new Error("Invalid QR Code version");typeof I>"u"&&(I=S.BYTE);const q=8*(e.getSymbolTotalCodewords(E)-t.getTotalCodewordsCount(E,z));if(I===S.MIXED)return q;const te=q-p(I,E);switch(I){case S.NUMERIC:return Math.floor(te/10*3);case S.ALPHANUMERIC:return Math.floor(te/11*2);case S.KANJI:return Math.floor(te/13);case S.BYTE:default:return Math.floor(te/8)}},X.getBestVersionForData=function(E,z){let I;const V=_.from(z,_.M);if(Array.isArray(E)){if(E.length>1)return function M(k,E){for(let z=1;z<=40;z++)if(L(k,z)<=X.getCapacity(z,E,S.MIXED))return z}(E,V);if(0===E.length)return 1;I=E[0]}else I=E;return function P(k,E,z){for(let I=1;I<=40;I++)if(E<=X.getCapacity(I,z,k))return I}(I.mode,I.getLength(),V)},X.getEncodedBits=function(E){if(!l.isValid(E)||E<7)throw new Error("Invalid QR Code version");let z=E<<12;for(;e.getBCHDigit(z)-d>=0;)z^=7973<<e.getBCHDigit(z)-d;return E<<12|z}},9326:(Ge,X,f)=>{const e=f(3239);X.render=function(l,D,d){let P=d,p=D;typeof P>"u"&&(!D||!D.getContext)&&(P=D,D=void 0),D||(p=function _(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}()),P=e.getOptions(P);const L=e.getImageWidth(l.modules.size,P),M=p.getContext("2d"),k=M.createImageData(L,L);return e.qrToImageData(k.data,l,P),function t(S,l,D){S.clearRect(0,0,l.width,l.height),l.style||(l.style={}),l.height=D,l.width=D,l.style.height=D+"px",l.style.width=D+"px"}(M,p,L),M.putImageData(k,0,0),p},X.renderToDataURL=function(l,D,d){let P=d;typeof P>"u"&&(!D||!D.getContext)&&(P=D,D=void 0),P||(P={});const p=X.render(l,D,P),L=P.type||"image/png",M=P.rendererOpts||{};return p.toDataURL(L,M.quality)}},226:(Ge,X,f)=>{const e=f(3239);function t(l,D){const d=l.a/255,P=D+'="'+l.hex+'"';return d<1?P+" "+D+'-opacity="'+d.toFixed(2).slice(1)+'"':P}function _(l,D,d){let P=l+D;return typeof d<"u"&&(P+=" "+d),P}X.render=function(D,d,P){const p=e.getOptions(d),L=D.modules.size,M=D.modules.data,k=L+2*p.margin,E=p.color.light.a?"<path "+t(p.color.light,"fill")+' d="M0 0h'+k+"v"+k+'H0z"/>':"",z="<path "+t(p.color.dark,"stroke")+' d="'+function S(l,D,d){let P="",p=0,L=!1,M=0;for(let k=0;k<l.length;k++){const E=Math.floor(k%D),z=Math.floor(k/D);!E&&!L&&(L=!0),l[k]?(M++,k>0&&E>0&&l[k-1]||(P+=L?_("M",E+d,.5+z+d):_("m",p,0),p=0,L=!1),E+1<D&&l[k+1]||(P+=_("h",M),M=0)):p++}return P}(M,L,p.margin)+'"/>',I='viewBox="0 0 '+k+" "+k+'"',Z='<svg xmlns="http://www.w3.org/2000/svg" '+(p.width?'width="'+p.width+'" height="'+p.width+'" ':"")+I+' shape-rendering="crispEdges">'+E+z+"</svg>\n";return"function"==typeof P&&P(null,Z),Z}},3239:(Ge,X)=>{function f(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(S){return[S,S]}))),6===t.length&&t.push("F","F");const _=parseInt(t.join(""),16);return{r:_>>24&255,g:_>>16&255,b:_>>8&255,a:255&_,hex:"#"+t.slice(0,6).join("")}}X.getOptions=function(t){t||(t={}),t.color||(t.color={});const _=typeof t.margin>"u"||null===t.margin||t.margin<0?4:t.margin,S=t.width&&t.width>=21?t.width:void 0,l=t.scale||4;return{width:S,scale:S?4:l,margin:_,color:{dark:f(t.color.dark||"#000000ff"),light:f(t.color.light||"#ffffffff")},type:t.type,rendererOpts:t.rendererOpts||{}}},X.getScale=function(t,_){return _.width&&_.width>=t+2*_.margin?_.width/(t+2*_.margin):_.scale},X.getImageWidth=function(t,_){const S=X.getScale(t,_);return Math.floor((t+2*_.margin)*S)},X.qrToImageData=function(t,_,S){const l=_.modules.size,D=_.modules.data,d=X.getScale(l,S),P=Math.floor((l+2*S.margin)*d),p=S.margin*d,L=[S.color.light,S.color.dark];for(let M=0;M<P;M++)for(let k=0;k<P;k++){let E=4*(M*P+k),z=S.color.light;if(M>=p&&k>=p&&M<P-p&&k<P-p){z=L[D[Math.floor((M-p)/d)*l+Math.floor((k-p)/d)]?1:0]}t[E++]=z.r,t[E++]=z.g,t[E++]=z.b,t[E]=z.a}}},1186:(Ge,X,f)=>{"use strict";var e=65536;var S=f(9708).Buffer,l=global.crypto||global.msCrypto;l&&l.getRandomValues?Ge.exports=function D(d,P){if(d>4294967295)throw new RangeError("requested too many random bytes");var p=S.allocUnsafe(d);if(d>0)if(d>e)for(var L=0;L<d;L+=e)l.getRandomValues(p.slice(L,L+e));else l.getRandomValues(p);return"function"==typeof P?process.nextTick(function(){P(null,p)}):p}:Ge.exports=function _(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}},137:(Ge,X,f)=>{"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=f(9708),_=f(1186),S=t.Buffer,l=t.kMaxLength,D=global.crypto||global.msCrypto,d=Math.pow(2,32)-1;function P(E,z){if("number"!=typeof E||E!=E)throw new TypeError("offset must be a number");if(E>d||E<0)throw new TypeError("offset must be a uint32");if(E>l||E>z)throw new RangeError("offset out of range")}function p(E,z,I){if("number"!=typeof E||E!=E)throw new TypeError("size must be a number");if(E>d||E<0)throw new TypeError("size must be a uint32");if(E+z>I||E>l)throw new RangeError("buffer too small")}function M(E,z,I,V){if(process.browser){var Z=E.buffer,q=new Uint8Array(Z,z,I);return D.getRandomValues(q),V?void process.nextTick(function(){V(null,E)}):E}if(!V)return _(I).copy(E,z),E;_(I,function(ne,le){if(ne)return V(ne);le.copy(E,z),V(null,E)})}D&&D.getRandomValues||!process.browser?(X.randomFill=function L(E,z,I,V){if(!(S.isBuffer(E)||E instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof z)V=z,z=0,I=E.length;else if("function"==typeof I)V=I,I=E.length-z;else if("function"!=typeof V)throw new TypeError('"cb" argument must be a function');return P(z,E.length),p(I,z,E.length),M(E,z,I,V)},X.randomFillSync=function k(E,z,I){if(typeof z>"u"&&(z=0),!(S.isBuffer(E)||E instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return P(z,E.length),void 0===I&&(I=E.length-z),p(I,z,E.length),M(E,z,I)}):(X.randomFill=e,X.randomFillSync=e)},7446:Ge=>{"use strict";var f={};function e(D,d,P){P||(P=Error);var L=function(M){function k(E,z,I){return M.call(this,function p(M,k,E){return"string"==typeof d?d:d(M,k,E)}(E,z,I))||this}return function X(D,d){D.prototype=Object.create(d.prototype),D.prototype.constructor=D,D.__proto__=d}(k,M),k}(P);L.prototype.name=P.name,L.prototype.code=D,f[D]=L}function t(D,d){if(Array.isArray(D)){var P=D.length;return D=D.map(function(p){return String(p)}),P>2?"one of ".concat(d," ").concat(D.slice(0,P-1).join(", "),", or ")+D[P-1]:2===P?"one of ".concat(d," ").concat(D[0]," or ").concat(D[1]):"of ".concat(d," ").concat(D[0])}return"of ".concat(d," ").concat(String(D))}e("ERR_INVALID_OPT_VALUE",function(D,d){return'The value "'+d+'" is invalid for option "'+D+'"'},TypeError),e("ERR_INVALID_ARG_TYPE",function(D,d,P){var p,L;if("string"==typeof d&&function _(D,d,P){return D.substr(!P||P<0?0:+P,d.length)===d}(d,"not ")?(p="must not be",d=d.replace(/^not /,"")):p="must be",function S(D,d,P){return(void 0===P||P>D.length)&&(P=D.length),D.substring(P-d.length,P)===d}(D," argument"))L="The ".concat(D," ").concat(p," ").concat(t(d,"type"));else{var M=function l(D,d,P){return"number"!=typeof P&&(P=0),!(P+d.length>D.length)&&-1!==D.indexOf(d,P)}(D,".")?"property":"argument";L='The "'.concat(D,'" ').concat(M," ").concat(p," ").concat(t(d,"type"))}return L+=". Received type ".concat(typeof P)},TypeError),e("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),e("ERR_METHOD_NOT_IMPLEMENTED",function(D){return"The "+D+" method is not implemented"}),e("ERR_STREAM_PREMATURE_CLOSE","Premature close"),e("ERR_STREAM_DESTROYED",function(D){return"Cannot call "+D+" 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(D){return"Unknown encoding: "+D},TypeError),e("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),Ge.exports.q=f},9800:(Ge,X,f)=>{"use strict";var e=Object.keys||function(L){var M=[];for(var k in L)M.push(k);return M};Ge.exports=d;var t=f(1396),_=f(1120);f(5035)(d,t);for(var S=e(_.prototype),l=0;l<S.length;l++){var D=S[l];d.prototype[D]||(d.prototype[D]=_.prototype[D])}function d(L){if(!(this instanceof d))return new d(L);t.call(this,L),_.call(this,L),this.allowHalfOpen=!0,L&&(!1===L.readable&&(this.readable=!1),!1===L.writable&&(this.writable=!1),!1===L.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",P)))}function P(){this._writableState.ended||process.nextTick(p,this)}function p(L){L.end()}Object.defineProperty(d.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(d.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(d.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(d.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)}})},1908:(Ge,X,f)=>{"use strict";Ge.exports=t;var e=f(8157);function t(_){if(!(this instanceof t))return new t(_);e.call(this,_)}f(5035)(t,e),t.prototype._transform=function(_,S,l){l(null,_)}},1396:(Ge,X,f)=>{"use strict";var e;Ge.exports=T,T.ReadableState=ve;f(3358).EventEmitter;var _=function(Te,He){return Te.listeners(He).length},S=f(8431),l=f(3195).Buffer,D=global.Uint8Array||function(){};var L,p=f(4616);L=p&&p.debuglog?p.debuglog("stream"):function(){};var ne,le,re,M=f(350),k=f(5923),z=f(1561).getHighWaterMark,I=f(7446).q,V=I.ERR_INVALID_ARG_TYPE,Z=I.ERR_STREAM_PUSH_AFTER_EOF,q=I.ERR_METHOD_NOT_IMPLEMENTED,te=I.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;f(5035)(T,S);var _e=k.errorOrDestroy,he=["error","close","destroy","pause","resume"];function ve(ye,Te,He){e=e||f(9800),ye=ye||{},"boolean"!=typeof He&&(He=Te instanceof e),this.objectMode=!!ye.objectMode,He&&(this.objectMode=this.objectMode||!!ye.readableObjectMode),this.highWaterMark=z(this,ye,"readableHighWaterMark",He),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!==ye.emitClose,this.autoDestroy=!!ye.autoDestroy,this.destroyed=!1,this.defaultEncoding=ye.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,ye.encoding&&(ne||(ne=f(4547).s),this.decoder=new ne(ye.encoding),this.encoding=ye.encoding)}function T(ye){if(e=e||f(9800),!(this instanceof T))return new T(ye);var Te=this instanceof e;this._readableState=new ve(ye,this,Te),this.readable=!0,ye&&("function"==typeof ye.read&&(this._read=ye.read),"function"==typeof ye.destroy&&(this._destroy=ye.destroy)),S.call(this)}function i(ye,Te,He,Ee,we){L("readableAddChunk",Te);var Me,de=ye._readableState;if(null===Te)de.reading=!1,function R(ye,Te){if(L("onEofChunk"),!Te.ended){if(Te.decoder){var He=Te.decoder.end();He&&He.length&&(Te.buffer.push(He),Te.length+=Te.objectMode?1:He.length)}Te.ended=!0,Te.sync?v(ye):(Te.needReadable=!1,Te.emittedReadable||(Te.emittedReadable=!0,a(ye)))}}(ye,de);else if(we||(Me=function m(ye,Te){var He;return!function P(ye){return l.isBuffer(ye)||ye instanceof D}(Te)&&"string"!=typeof Te&&void 0!==Te&&!ye.objectMode&&(He=new V("chunk",["string","Buffer","Uint8Array"],Te)),He}(de,Te)),Me)_e(ye,Me);else if(de.objectMode||Te&&Te.length>0)if("string"!=typeof Te&&!de.objectMode&&Object.getPrototypeOf(Te)!==l.prototype&&(Te=function d(ye){return l.from(ye)}(Te)),Ee)de.endEmitted?_e(ye,new te):o(ye,de,Te,!0);else if(de.ended)_e(ye,new Z);else{if(de.destroyed)return!1;de.reading=!1,de.decoder&&!He?(Te=de.decoder.write(Te),de.objectMode||0!==Te.length?o(ye,de,Te,!1):C(ye,de)):o(ye,de,Te,!1)}else Ee||(de.reading=!1,C(ye,de));return!de.ended&&(de.length<de.highWaterMark||0===de.length)}function o(ye,Te,He,Ee){Te.flowing&&0===Te.length&&!Te.sync?(Te.awaitDrain=0,ye.emit("data",He)):(Te.length+=Te.objectMode?1:He.length,Ee?Te.buffer.unshift(He):Te.buffer.push(He),Te.needReadable&&v(ye)),C(ye,Te)}Object.defineProperty(T.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(Te){!this._readableState||(this._readableState.destroyed=Te)}}),T.prototype.destroy=k.destroy,T.prototype._undestroy=k.undestroy,T.prototype._destroy=function(ye,Te){Te(ye)},T.prototype.push=function(ye,Te){var Ee,He=this._readableState;return He.objectMode?Ee=!0:"string"==typeof ye&&((Te=Te||He.defaultEncoding)!==He.encoding&&(ye=l.from(ye,Te),Te=""),Ee=!0),i(this,ye,Te,!1,Ee)},T.prototype.unshift=function(ye){return i(this,ye,null,!0,!1)},T.prototype.isPaused=function(){return!1===this._readableState.flowing},T.prototype.setEncoding=function(ye){ne||(ne=f(4547).s);var Te=new ne(ye);this._readableState.decoder=Te,this._readableState.encoding=this._readableState.decoder.encoding;for(var He=this._readableState.buffer.head,Ee="";null!==He;)Ee+=Te.write(He.data),He=He.next;return this._readableState.buffer.clear(),""!==Ee&&this._readableState.buffer.push(Ee),this._readableState.length=Ee.length,this};var h=1073741824;function A(ye,Te){return ye<=0||0===Te.length&&Te.ended?0:Te.objectMode?1:ye!=ye?Te.flowing&&Te.length?Te.buffer.head.data.length:Te.length:(ye>Te.highWaterMark&&(Te.highWaterMark=function y(ye){return ye>=h?ye=h:(ye--,ye|=ye>>>1,ye|=ye>>>2,ye|=ye>>>4,ye|=ye>>>8,ye|=ye>>>16,ye++),ye}(ye)),ye<=Te.length?ye:Te.ended?Te.length:(Te.needReadable=!0,0))}function v(ye){var Te=ye._readableState;L("emitReadable",Te.needReadable,Te.emittedReadable),Te.needReadable=!1,Te.emittedReadable||(L("emitReadable",Te.flowing),Te.emittedReadable=!0,process.nextTick(a,ye))}function a(ye){var Te=ye._readableState;L("emitReadable_",Te.destroyed,Te.length,Te.ended),!Te.destroyed&&(Te.length||Te.ended)&&(ye.emit("readable"),Te.emittedReadable=!1),Te.needReadable=!Te.flowing&&!Te.ended&&Te.length<=Te.highWaterMark,$e(ye)}function C(ye,Te){Te.readingMore||(Te.readingMore=!0,process.nextTick(U,ye,Te))}function U(ye,Te){for(;!Te.reading&&!Te.ended&&(Te.length<Te.highWaterMark||Te.flowing&&0===Te.length);){var He=Te.length;if(L("maybeReadMore read 0"),ye.read(0),He===Te.length)break}Te.readingMore=!1}function Q(ye){var Te=ye._readableState;Te.readableListening=ye.listenerCount("readable")>0,Te.resumeScheduled&&!Te.paused?Te.flowing=!0:ye.listenerCount("data")>0&&ye.resume()}function Pe(ye){L("readable nexttick read 0"),ye.read(0)}function Ye(ye,Te){L("resume",Te.reading),Te.reading||ye.read(0),Te.resumeScheduled=!1,ye.emit("resume"),$e(ye),Te.flowing&&!Te.reading&&ye.read(0)}function $e(ye){var Te=ye._readableState;for(L("flow",Te.flowing);Te.flowing&&null!==ye.read(););}function Ve(ye,Te){return 0===Te.length?null:(Te.objectMode?He=Te.buffer.shift():!ye||ye>=Te.length?(He=Te.decoder?Te.buffer.join(""):1===Te.buffer.length?Te.buffer.first():Te.buffer.concat(Te.length),Te.buffer.clear()):He=Te.buffer.consume(ye,Te.decoder),He);var He}function be(ye){var Te=ye._readableState;L("endReadable",Te.endEmitted),Te.endEmitted||(Te.ended=!0,process.nextTick(et,Te,ye))}function et(ye,Te){if(L("endReadableNT",ye.endEmitted,ye.length),!ye.endEmitted&&0===ye.length&&(ye.endEmitted=!0,Te.readable=!1,Te.emit("end"),ye.autoDestroy)){var He=Te._writableState;(!He||He.autoDestroy&&He.finished)&&Te.destroy()}}function je(ye,Te){for(var He=0,Ee=ye.length;He<Ee;He++)if(ye[He]===Te)return He;return-1}T.prototype.read=function(ye){L("read",ye),ye=parseInt(ye,10);var Te=this._readableState,He=ye;if(0!==ye&&(Te.emittedReadable=!1),0===ye&&Te.needReadable&&((0!==Te.highWaterMark?Te.length>=Te.highWaterMark:Te.length>0)||Te.ended))return L("read: emitReadable",Te.length,Te.ended),0===Te.length&&Te.ended?be(this):v(this),null;if(0===(ye=A(ye,Te))&&Te.ended)return 0===Te.length&&be(this),null;var we,Ee=Te.needReadable;return L("need readable",Ee),(0===Te.length||Te.length-ye<Te.highWaterMark)&&L("length less than watermark",Ee=!0),Te.ended||Te.reading?L("reading or ended",Ee=!1):Ee&&(L("do read"),Te.reading=!0,Te.sync=!0,0===Te.length&&(Te.needReadable=!0),this._read(Te.highWaterMark),Te.sync=!1,Te.reading||(ye=A(He,Te))),null===(we=ye>0?Ve(ye,Te):null)?(Te.needReadable=Te.length<=Te.highWaterMark,ye=0):(Te.length-=ye,Te.awaitDrain=0),0===Te.length&&(Te.ended||(Te.needReadable=!0),He!==ye&&Te.ended&&be(this)),null!==we&&this.emit("data",we),we},T.prototype._read=function(ye){_e(this,new q("_read()"))},T.prototype.pipe=function(ye,Te){var He=this,Ee=this._readableState;switch(Ee.pipesCount){case 0:Ee.pipes=ye;break;case 1:Ee.pipes=[Ee.pipes,ye];break;default:Ee.pipes.push(ye)}Ee.pipesCount+=1,L("pipe count=%d opts=%j",Ee.pipesCount,Te);var de=(!Te||!1!==Te.end)&&ye!==process.stdout&&ye!==process.stderr?ie:nt;function Me($t,gt){L("onunpipe"),$t===He&&gt&&!1===gt.hasUnpiped&&(gt.hasUnpiped=!0,function ze(){L("cleanup"),ye.removeListener("close",bt),ye.removeListener("finish",Be),ye.removeListener("drain",G),ye.removeListener("error",oe),ye.removeListener("unpipe",Me),He.removeListener("end",ie),He.removeListener("end",nt),He.removeListener("data",Ue),$=!0,Ee.awaitDrain&&(!ye._writableState||ye._writableState.needDrain)&&G()}())}function ie(){L("onend"),ye.end()}Ee.endEmitted?process.nextTick(de):He.once("end",de),ye.on("unpipe",Me);var G=function N(ye){return function(){var He=ye._readableState;L("pipeOnDrain",He.awaitDrain),He.awaitDrain&&He.awaitDrain--,0===He.awaitDrain&&_(ye,"data")&&(He.flowing=!0,$e(ye))}}(He);ye.on("drain",G);var $=!1;function Ue($t){L("ondata");var gt=ye.write($t);L("dest.write",gt),!1===gt&&((1===Ee.pipesCount&&Ee.pipes===ye||Ee.pipesCount>1&&-1!==je(Ee.pipes,ye))&&!$&&(L("false write response, pause",Ee.awaitDrain),Ee.awaitDrain++),He.pause())}function oe($t){L("onerror",$t),nt(),ye.removeListener("error",oe),0===_(ye,"error")&&_e(ye,$t)}function bt(){ye.removeListener("finish",Be),nt()}function Be(){L("onfinish"),ye.removeListener("close",bt),nt()}function nt(){L("unpipe"),He.unpipe(ye)}return He.on("data",Ue),function ae(ye,Te,He){if("function"==typeof ye.prependListener)return ye.prependListener(Te,He);ye._events&&ye._events[Te]?Array.isArray(ye._events[Te])?ye._events[Te].unshift(He):ye._events[Te]=[He,ye._events[Te]]:ye.on(Te,He)}(ye,"error",oe),ye.once("close",bt),ye.once("finish",Be),ye.emit("pipe",He),Ee.flowing||(L("pipe resume"),He.resume()),ye},T.prototype.unpipe=function(ye){var Te=this._readableState,He={hasUnpiped:!1};if(0===Te.pipesCount)return this;if(1===Te.pipesCount)return ye&&ye!==Te.pipes||(ye||(ye=Te.pipes),Te.pipes=null,Te.pipesCount=0,Te.flowing=!1,ye&&ye.emit("unpipe",this,He)),this;if(!ye){var Ee=Te.pipes,we=Te.pipesCount;Te.pipes=null,Te.pipesCount=0,Te.flowing=!1;for(var de=0;de<we;de++)Ee[de].emit("unpipe",this,{hasUnpiped:!1});return this}var Me=je(Te.pipes,ye);return-1===Me||(Te.pipes.splice(Me,1),Te.pipesCount-=1,1===Te.pipesCount&&(Te.pipes=Te.pipes[0]),ye.emit("unpipe",this,He)),this},T.prototype.on=function(ye,Te){var He=S.prototype.on.call(this,ye,Te),Ee=this._readableState;return"data"===ye?(Ee.readableListening=this.listenerCount("readable")>0,!1!==Ee.flowing&&this.resume()):"readable"===ye&&!Ee.endEmitted&&!Ee.readableListening&&(Ee.readableListening=Ee.needReadable=!0,Ee.flowing=!1,Ee.emittedReadable=!1,L("on readable",Ee.length,Ee.reading),Ee.length?v(this):Ee.reading||process.nextTick(Pe,this)),He},T.prototype.addListener=T.prototype.on,T.prototype.removeListener=function(ye,Te){var He=S.prototype.removeListener.call(this,ye,Te);return"readable"===ye&&process.nextTick(Q,this),He},T.prototype.removeAllListeners=function(ye){var Te=S.prototype.removeAllListeners.apply(this,arguments);return("readable"===ye||void 0===ye)&&process.nextTick(Q,this),Te},T.prototype.resume=function(){var ye=this._readableState;return ye.flowing||(L("resume"),ye.flowing=!ye.readableListening,function Le(ye,Te){Te.resumeScheduled||(Te.resumeScheduled=!0,process.nextTick(Ye,ye,Te))}(this,ye)),ye.paused=!1,this},T.prototype.pause=function(){return L("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(L("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},T.prototype.wrap=function(ye){var Te=this,He=this._readableState,Ee=!1;for(var we in ye.on("end",function(){if(L("wrapped end"),He.decoder&&!He.ended){var Me=He.decoder.end();Me&&Me.length&&Te.push(Me)}Te.push(null)}),ye.on("data",function(Me){(L("wrapped data"),He.decoder&&(Me=He.decoder.write(Me)),He.objectMode&&null==Me||!(He.objectMode||Me&&Me.length))||(Te.push(Me)||(Ee=!0,ye.pause()))}),ye)void 0===this[we]&&"function"==typeof ye[we]&&(this[we]=function(ie){return function(){return ye[ie].apply(ye,arguments)}}(we));for(var de=0;de<he.length;de++)ye.on(he[de],this.emit.bind(this,he[de]));return this._read=function(Me){L("wrapped _read",Me),Ee&&(Ee=!1,ye.resume())},this},"function"==typeof Symbol&&(T.prototype[Symbol.asyncIterator]=function(){return void 0===le&&(le=f(2325)),le(this)}),Object.defineProperty(T.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(T.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(T.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(Te){this._readableState&&(this._readableState.flowing=Te)}}),T._fromList=Ve,Object.defineProperty(T.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(T.from=function(ye,Te){return void 0===re&&(re=f(6757)),re(T,ye,Te)})},8157:(Ge,X,f)=>{"use strict";Ge.exports=P;var e=f(7446).q,t=e.ERR_METHOD_NOT_IMPLEMENTED,_=e.ERR_MULTIPLE_CALLBACK,S=e.ERR_TRANSFORM_ALREADY_TRANSFORMING,l=e.ERR_TRANSFORM_WITH_LENGTH_0,D=f(9800);function d(M,k){var E=this._transformState;E.transforming=!1;var z=E.writecb;if(null===z)return this.emit("error",new _);E.writechunk=null,E.writecb=null,null!=k&&this.push(k),z(M);var I=this._readableState;I.reading=!1,(I.needReadable||I.length<I.highWaterMark)&&this._read(I.highWaterMark)}function P(M){if(!(this instanceof P))return new P(M);D.call(this,M),this._transformState={afterTransform:d.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",p)}function p(){var M=this;"function"!=typeof this._flush||this._readableState.destroyed?L(this,null,null):this._flush(function(k,E){L(M,k,E)})}function L(M,k,E){if(k)return M.emit("error",k);if(null!=E&&M.push(E),M._writableState.length)throw new l;if(M._transformState.transforming)throw new S;return M.push(null)}f(5035)(P,D),P.prototype.push=function(M,k){return this._transformState.needTransform=!1,D.prototype.push.call(this,M,k)},P.prototype._transform=function(M,k,E){E(new t("_transform()"))},P.prototype._write=function(M,k,E){var z=this._transformState;if(z.writecb=E,z.writechunk=M,z.writeencoding=k,!z.transforming){var I=this._readableState;(z.needTransform||I.needReadable||I.length<I.highWaterMark)&&this._read(I.highWaterMark)}},P.prototype._read=function(M){var k=this._transformState;null===k.writechunk||k.transforming?k.needTransform=!0:(k.transforming=!0,this._transform(k.writechunk,k.writeencoding,k.afterTransform))},P.prototype._destroy=function(M,k){D.prototype._destroy.call(this,M,function(E){k(E)})}},1120:(Ge,X,f)=>{"use strict";function t($e){var Ve=this;this.next=null,this.entry=null,this.finish=function(){!function Ye($e,Ve,be){var et=$e.entry;for($e.entry=null;et;){var je=et.callback;Ve.pendingcb--,je(be),et=et.next}Ve.corkedRequestsFree.next=$e}(Ve,$e)}}var _;Ge.exports=ve,ve.WritableState=he;var S={deprecate:f(8059)},l=f(8431),D=f(3195).Buffer,d=global.Uint8Array||function(){};var ae,L=f(5923),k=f(1561).getHighWaterMark,E=f(7446).q,z=E.ERR_INVALID_ARG_TYPE,I=E.ERR_METHOD_NOT_IMPLEMENTED,V=E.ERR_MULTIPLE_CALLBACK,Z=E.ERR_STREAM_CANNOT_PIPE,q=E.ERR_STREAM_DESTROYED,te=E.ERR_STREAM_NULL_VALUES,ne=E.ERR_STREAM_WRITE_AFTER_END,le=E.ERR_UNKNOWN_ENCODING,re=L.errorOrDestroy;function _e(){}function he($e,Ve,be){_=_||f(9800),$e=$e||{},"boolean"!=typeof be&&(be=Ve instanceof _),this.objectMode=!!$e.objectMode,be&&(this.objectMode=this.objectMode||!!$e.writableObjectMode),this.highWaterMark=k(this,$e,"writableHighWaterMark",be),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var et=!1===$e.decodeStrings;this.decodeStrings=!et,this.defaultEncoding=$e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(je){!function R($e,Ve){var be=$e._writableState,et=be.sync,je=be.writecb;if("function"!=typeof je)throw new V;if(function A($e){$e.writing=!1,$e.writecb=null,$e.length-=$e.writelen,$e.writelen=0}(be),Ve)!function y($e,Ve,be,et,je){--Ve.pendingcb,be?(process.nextTick(je,et),process.nextTick(Pe,$e,Ve),$e._writableState.errorEmitted=!0,re($e,et)):(je(et),$e._writableState.errorEmitted=!0,re($e,et),Pe($e,Ve))}($e,be,et,Ve,je);else{var ye=U(be)||$e.destroyed;!ye&&!be.corked&&!be.bufferProcessing&&be.bufferedRequest&&C($e,be),et?process.nextTick(v,$e,be,ye,je):v($e,be,ye,je)}}(Ve,je)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==$e.emitClose,this.autoDestroy=!!$e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new t(this)}function ve($e){var Ve=this instanceof(_=_||f(9800));if(!Ve&&!ae.call(ve,this))return new ve($e);this._writableState=new he($e,this,Ve),this.writable=!0,$e&&("function"==typeof $e.write&&(this._write=$e.write),"function"==typeof $e.writev&&(this._writev=$e.writev),"function"==typeof $e.destroy&&(this._destroy=$e.destroy),"function"==typeof $e.final&&(this._final=$e.final)),l.call(this)}function h($e,Ve,be,et,je,ye,Te){Ve.writelen=et,Ve.writecb=Te,Ve.writing=!0,Ve.sync=!0,Ve.destroyed?Ve.onwrite(new q("write")):be?$e._writev(je,Ve.onwrite):$e._write(je,ye,Ve.onwrite),Ve.sync=!1}function v($e,Ve,be,et){be||function a($e,Ve){0===Ve.length&&Ve.needDrain&&(Ve.needDrain=!1,$e.emit("drain"))}($e,Ve),Ve.pendingcb--,et(),Pe($e,Ve)}function C($e,Ve){Ve.bufferProcessing=!0;var be=Ve.bufferedRequest;if($e._writev&&be&&be.next){var et=Ve.bufferedRequestCount,je=new Array(et),ye=Ve.corkedRequestsFree;ye.entry=be;for(var Te=0,He=!0;be;)je[Te]=be,be.isBuf||(He=!1),be=be.next,Te+=1;je.allBuffers=He,h($e,Ve,!0,Ve.length,je,"",ye.finish),Ve.pendingcb++,Ve.lastBufferedRequest=null,ye.next?(Ve.corkedRequestsFree=ye.next,ye.next=null):Ve.corkedRequestsFree=new t(Ve),Ve.bufferedRequestCount=0}else{for(;be;){var Ee=be.chunk,we=be.encoding,de=be.callback;if(h($e,Ve,!1,Ve.objectMode?1:Ee.length,Ee,we,de),be=be.next,Ve.bufferedRequestCount--,Ve.writing)break}null===be&&(Ve.lastBufferedRequest=null)}Ve.bufferedRequest=be,Ve.bufferProcessing=!1}function U($e){return $e.ending&&0===$e.length&&null===$e.bufferedRequest&&!$e.finished&&!$e.writing}function N($e,Ve){$e._final(function(be){Ve.pendingcb--,be&&re($e,be),Ve.prefinished=!0,$e.emit("prefinish"),Pe($e,Ve)})}function Pe($e,Ve){var be=U(Ve);if(be&&(function Q($e,Ve){!Ve.prefinished&&!Ve.finalCalled&&("function"!=typeof $e._final||Ve.destroyed?(Ve.prefinished=!0,$e.emit("prefinish")):(Ve.pendingcb++,Ve.finalCalled=!0,process.nextTick(N,$e,Ve)))}($e,Ve),0===Ve.pendingcb&&(Ve.finished=!0,$e.emit("finish"),Ve.autoDestroy))){var et=$e._readableState;(!et||et.autoDestroy&&et.endEmitted)&&$e.destroy()}return be}f(5035)(ve,l),he.prototype.getBuffer=function(){for(var Ve=this.bufferedRequest,be=[];Ve;)be.push(Ve),Ve=Ve.next;return be},function(){try{Object.defineProperty(he.prototype,"buffer",{get:S.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]?(ae=Function.prototype[Symbol.hasInstance],Object.defineProperty(ve,Symbol.hasInstance,{value:function(Ve){return!!ae.call(this,Ve)||this===ve&&(Ve&&Ve._writableState instanceof he)}})):ae=function(Ve){return Ve instanceof this},ve.prototype.pipe=function(){re(this,new Z)},ve.prototype.write=function($e,Ve,be){var et=this._writableState,je=!1,ye=!et.objectMode&&function p($e){return D.isBuffer($e)||$e instanceof d}($e);return ye&&!D.isBuffer($e)&&($e=function P($e){return D.from($e)}($e)),"function"==typeof Ve&&(be=Ve,Ve=null),ye?Ve="buffer":Ve||(Ve=et.defaultEncoding),"function"!=typeof be&&(be=_e),et.ending?function T($e,Ve){var be=new ne;re($e,be),process.nextTick(Ve,be)}(this,be):(ye||function i($e,Ve,be,et){var je;return null===be?je=new te:"string"!=typeof be&&!Ve.objectMode&&(je=new z("chunk",["string","Buffer"],be)),!je||(re($e,je),process.nextTick(et,je),!1)}(this,et,$e,be))&&(et.pendingcb++,je=function m($e,Ve,be,et,je,ye){if(!be){var Te=function o($e,Ve,be){return!$e.objectMode&&!1!==$e.decodeStrings&&"string"==typeof Ve&&(Ve=D.from(Ve,be)),Ve}(Ve,et,je);et!==Te&&(be=!0,je="buffer",et=Te)}var He=Ve.objectMode?1:et.length;Ve.length+=He;var Ee=Ve.length<Ve.highWaterMark;if(Ee||(Ve.needDrain=!0),Ve.writing||Ve.corked){var we=Ve.lastBufferedRequest;Ve.lastBufferedRequest={chunk:et,encoding:je,isBuf:be,callback:ye,next:null},we?we.next=Ve.lastBufferedRequest:Ve.bufferedRequest=Ve.lastBufferedRequest,Ve.bufferedRequestCount+=1}else h($e,Ve,!1,He,et,je,ye);return Ee}(this,et,ye,$e,Ve,be)),je},ve.prototype.cork=function(){this._writableState.corked++},ve.prototype.uncork=function(){var $e=this._writableState;$e.corked&&($e.corked--,!$e.writing&&!$e.corked&&!$e.bufferProcessing&&$e.bufferedRequest&&C(this,$e))},ve.prototype.setDefaultEncoding=function(Ve){if("string"==typeof Ve&&(Ve=Ve.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Ve+"").toLowerCase())>-1))throw new le(Ve);return this._writableState.defaultEncoding=Ve,this},Object.defineProperty(ve.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(ve.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),ve.prototype._write=function($e,Ve,be){be(new I("_write()"))},ve.prototype._writev=null,ve.prototype.end=function($e,Ve,be){var et=this._writableState;return"function"==typeof $e?(be=$e,$e=null,Ve=null):"function"==typeof Ve&&(be=Ve,Ve=null),null!=$e&&this.write($e,Ve),et.corked&&(et.corked=1,this.uncork()),et.ending||function Le($e,Ve,be){Ve.ending=!0,Pe($e,Ve),be&&(Ve.finished?process.nextTick(be):$e.once("finish",be)),Ve.ended=!0,$e.writable=!1}(this,et,be),this},Object.defineProperty(ve.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(ve.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(Ve){!this._writableState||(this._writableState.destroyed=Ve)}}),ve.prototype.destroy=L.destroy,ve.prototype._undestroy=L.undestroy,ve.prototype._destroy=function($e,Ve){Ve($e)}},2325:(Ge,X,f)=>{"use strict";var e;function t(q,te,ne){return te in q?Object.defineProperty(q,te,{value:ne,enumerable:!0,configurable:!0,writable:!0}):q[te]=ne,q}var _=f(7722),S=Symbol("lastResolve"),l=Symbol("lastReject"),D=Symbol("error"),d=Symbol("ended"),P=Symbol("lastPromise"),p=Symbol("handlePromise"),L=Symbol("stream");function M(q,te){return{value:q,done:te}}function k(q){var te=q[S];if(null!==te){var ne=q[L].read();null!==ne&&(q[P]=null,q[S]=null,q[l]=null,te(M(ne,!1)))}}function E(q){process.nextTick(k,q)}var I=Object.getPrototypeOf(function(){}),V=Object.setPrototypeOf((t(e={get stream(){return this[L]},next:function(){var te=this,ne=this[D];if(null!==ne)return Promise.reject(ne);if(this[d])return Promise.resolve(M(void 0,!0));if(this[L].destroyed)return new Promise(function(he,ae){process.nextTick(function(){te[D]?ae(te[D]):he(M(void 0,!0))})});var re,le=this[P];if(le)re=new Promise(function z(q,te){return function(ne,le){q.then(function(){te[d]?ne(M(void 0,!0)):te[p](ne,le)},le)}}(le,this));else{var _e=this[L].read();if(null!==_e)return Promise.resolve(M(_e,!1));re=new Promise(this[p])}return this[P]=re,re}},Symbol.asyncIterator,function(){return this}),t(e,"return",function(){var te=this;return new Promise(function(ne,le){te[L].destroy(null,function(re){re?le(re):ne(M(void 0,!0))})})}),e),I);Ge.exports=function(te){var ne,le=Object.create(V,(t(ne={},L,{value:te,writable:!0}),t(ne,S,{value:null,writable:!0}),t(ne,l,{value:null,writable:!0}),t(ne,D,{value:null,writable:!0}),t(ne,d,{value:te._readableState.endEmitted,writable:!0}),t(ne,p,{value:function(_e,he){var ae=le[L].read();ae?(le[P]=null,le[S]=null,le[l]=null,_e(M(ae,!1))):(le[S]=_e,le[l]=he)},writable:!0}),ne));return le[P]=null,_(te,function(re){if(re&&"ERR_STREAM_PREMATURE_CLOSE"!==re.code){var _e=le[l];return null!==_e&&(le[P]=null,le[S]=null,le[l]=null,_e(re)),void(le[D]=re)}var he=le[S];null!==he&&(le[P]=null,le[S]=null,le[l]=null,he(M(void 0,!0))),le[d]=!0}),te.on("readable",E.bind(null,le)),le}},350:(Ge,X,f)=>{"use strict";function e(E,z){var I=Object.keys(E);if(Object.getOwnPropertySymbols){var V=Object.getOwnPropertySymbols(E);z&&(V=V.filter(function(Z){return Object.getOwnPropertyDescriptor(E,Z).enumerable})),I.push.apply(I,V)}return I}function _(E,z,I){return z in E?Object.defineProperty(E,z,{value:I,enumerable:!0,configurable:!0,writable:!0}):E[z]=I,E}function l(E,z){for(var I=0;I<z.length;I++){var V=z[I];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(E,V.key,V)}}var P=f(3195).Buffer,L=f(2361).inspect,M=L&&L.custom||"inspect";function k(E,z,I){P.prototype.copy.call(E,z,I)}Ge.exports=function(){function E(){(function S(E,z){if(!(E instanceof z))throw new TypeError("Cannot call a class as a function")})(this,E),this.head=null,this.tail=null,this.length=0}return function D(E,z,I){return z&&l(E.prototype,z),I&&l(E,I),E}(E,[{key:"push",value:function(I){var V={data:I,next:null};this.length>0?this.tail.next=V:this.head=V,this.tail=V,++this.length}},{key:"unshift",value:function(I){var V={data:I,next:this.head};0===this.length&&(this.tail=V),this.head=V,++this.length}},{key:"shift",value:function(){if(0!==this.length){var I=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,I}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(I){if(0===this.length)return"";for(var V=this.head,Z=""+V.data;V=V.next;)Z+=I+V.data;return Z}},{key:"concat",value:function(I){if(0===this.length)return P.alloc(0);for(var V=P.allocUnsafe(I>>>0),Z=this.head,q=0;Z;)k(Z.data,V,q),q+=Z.data.length,Z=Z.next;return V}},{key:"consume",value:function(I,V){var Z;return I<this.head.data.length?(Z=this.head.data.slice(0,I),this.head.data=this.head.data.slice(I)):Z=I===this.head.data.length?this.shift():V?this._getString(I):this._getBuffer(I),Z}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(I){var V=this.head,Z=1,q=V.data;for(I-=q.length;V=V.next;){var te=V.data,ne=I>te.length?te.length:I;if(ne===te.length?q+=te:q+=te.slice(0,I),0===(I-=ne)){ne===te.length?(++Z,V.next?this.head=V.next:this.head=this.tail=null):(this.head=V,V.data=te.slice(ne));break}++Z}return this.length-=Z,q}},{key:"_getBuffer",value:function(I){var V=P.allocUnsafe(I),Z=this.head,q=1;for(Z.data.copy(V),I-=Z.data.length;Z=Z.next;){var te=Z.data,ne=I>te.length?te.length:I;if(te.copy(V,V.length-I,0,ne),0===(I-=ne)){ne===te.length?(++q,Z.next?this.head=Z.next:this.head=this.tail=null):(this.head=Z,Z.data=te.slice(ne));break}++q}return this.length-=q,V}},{key:M,value:function(I,V){return L(this,function t(E){for(var z=1;z<arguments.length;z++){var I=null!=arguments[z]?arguments[z]:{};z%2?e(Object(I),!0).forEach(function(V){_(E,V,I[V])}):Object.getOwnPropertyDescriptors?Object.defineProperties(E,Object.getOwnPropertyDescriptors(I)):e(Object(I)).forEach(function(V){Object.defineProperty(E,V,Object.getOwnPropertyDescriptor(I,V))})}return E}({},V,{depth:0,customInspect:!1}))}}]),E}()},5923:Ge=>{"use strict";function f(l,D){_(l,D),e(l)}function e(l){l._writableState&&!l._writableState.emitClose||l._readableState&&!l._readableState.emitClose||l.emit("close")}function _(l,D){l.emit("error",D)}Ge.exports={destroy:function X(l,D){var d=this,P=this._readableState&&this._readableState.destroyed,p=this._writableState&&this._writableState.destroyed;return P||p?(D?D(l):l&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(_,this,l)):process.nextTick(_,this,l)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(l||null,function(L){!D&&L?d._writableState?d._writableState.errorEmitted?process.nextTick(e,d):(d._writableState.errorEmitted=!0,process.nextTick(f,d,L)):process.nextTick(f,d,L):D?(process.nextTick(e,d),D(L)):process.nextTick(e,d)}),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 S(l,D){var d=l._readableState,P=l._writableState;d&&d.autoDestroy||P&&P.autoDestroy?l.destroy(D):l.emit("error",D)}}},7722:(Ge,X,f)=>{"use strict";var e=f(7446).q.ERR_STREAM_PREMATURE_CLOSE;function _(){}Ge.exports=function l(D,d,P){if("function"==typeof d)return l(D,null,d);d||(d={}),P=function t(D){var d=!1;return function(){if(!d){d=!0;for(var P=arguments.length,p=new Array(P),L=0;L<P;L++)p[L]=arguments[L];D.apply(this,p)}}}(P||_);var p=d.readable||!1!==d.readable&&D.readable,L=d.writable||!1!==d.writable&&D.writable,M=function(){D.writable||E()},k=D._writableState&&D._writableState.finished,E=function(){L=!1,k=!0,p||P.call(D)},z=D._readableState&&D._readableState.endEmitted,I=function(){p=!1,z=!0,L||P.call(D)},V=function(ne){P.call(D,ne)},Z=function(){var ne;return p&&!z?((!D._readableState||!D._readableState.ended)&&(ne=new e),P.call(D,ne)):L&&!k?((!D._writableState||!D._writableState.ended)&&(ne=new e),P.call(D,ne)):void 0},q=function(){D.req.on("finish",E)};return function S(D){return D.setHeader&&"function"==typeof D.abort}(D)?(D.on("complete",E),D.on("abort",Z),D.req?q():D.on("request",q)):L&&!D._writableState&&(D.on("end",M),D.on("close",M)),D.on("end",I),D.on("finish",E),!1!==d.error&&D.on("error",V),D.on("close",Z),function(){D.removeListener("complete",E),D.removeListener("abort",Z),D.removeListener("request",q),D.req&&D.req.removeListener("finish",E),D.removeListener("end",M),D.removeListener("close",M),D.removeListener("finish",E),D.removeListener("end",I),D.removeListener("error",V),D.removeListener("close",Z)}}},6757:Ge=>{Ge.exports=function(){throw new Error("Readable.from is not available in the browser")}},8096:(Ge,X,f)=>{"use strict";var e;var _=f(7446).q,S=_.ERR_MISSING_ARGS,l=_.ERR_STREAM_DESTROYED;function D(E){if(E)throw E}function P(E,z,I,V){V=function t(E){var z=!1;return function(){z||(z=!0,E.apply(void 0,arguments))}}(V);var Z=!1;E.on("close",function(){Z=!0}),void 0===e&&(e=f(7722)),e(E,{readable:z,writable:I},function(te){if(te)return V(te);Z=!0,V()});var q=!1;return function(te){if(!Z&&!q){if(q=!0,function d(E){return E.setHeader&&"function"==typeof E.abort}(E))return E.abort();if("function"==typeof E.destroy)return E.destroy();V(te||new l("pipe"))}}}function p(E){E()}function L(E,z){return E.pipe(z)}function M(E){return E.length&&"function"==typeof E[E.length-1]?E.pop():D}Ge.exports=function k(){for(var E=arguments.length,z=new Array(E),I=0;I<E;I++)z[I]=arguments[I];var V=M(z);if(Array.isArray(z[0])&&(z=z[0]),z.length<2)throw new S("streams");var Z,q=z.map(function(te,ne){var le=ne<z.length-1;return P(te,le,ne>0,function(_e){Z||(Z=_e),_e&&q.forEach(p),!le&&(q.forEach(p),V(Z))})});return z.reduce(L)}},1561:(Ge,X,f)=>{"use strict";var e=f(7446).q.ERR_INVALID_OPT_VALUE;Ge.exports={getHighWaterMark:function _(S,l,D,d){var P=function t(S,l,D){return null!=S.highWaterMark?S.highWaterMark:l?S[D]:null}(l,d,D);if(null!=P){if(!isFinite(P)||Math.floor(P)!==P||P<0)throw new e(d?D:"highWaterMark",P);return Math.floor(P)}return S.objectMode?16:16384}}},8431:(Ge,X,f)=>{Ge.exports=f(3358).EventEmitter},9697:(Ge,X,f)=>{(X=Ge.exports=f(1396)).Stream=X,X.Readable=X,X.Writable=f(1120),X.Duplex=f(9800),X.Transform=f(8157),X.PassThrough=f(1908),X.finished=f(7722),X.pipeline=f(8096)},5351:(Ge,X,f)=>{"use strict";var e=f(3195).Buffer,t=f(5035),_=f(3817),S=new Array(16),l=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],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],d=[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],p=[0,1518500249,1859775393,2400959708,2840853838],L=[1352829926,1548603684,1836072691,2053994217,0];function M(){_.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function k(q,te){return q<<te|q>>>32-te}function E(q,te,ne,le,re,_e,he,ae){return k(q+(te^ne^le)+_e+he|0,ae)+re|0}function z(q,te,ne,le,re,_e,he,ae){return k(q+(te&ne|~te&le)+_e+he|0,ae)+re|0}function I(q,te,ne,le,re,_e,he,ae){return k(q+((te|~ne)^le)+_e+he|0,ae)+re|0}function V(q,te,ne,le,re,_e,he,ae){return k(q+(te&le|ne&~le)+_e+he|0,ae)+re|0}function Z(q,te,ne,le,re,_e,he,ae){return k(q+(te^(ne|~le))+_e+he|0,ae)+re|0}t(M,_),M.prototype._update=function(){for(var q=S,te=0;te<16;++te)q[te]=this._block.readInt32LE(4*te);for(var ne=0|this._a,le=0|this._b,re=0|this._c,_e=0|this._d,he=0|this._e,ae=0|this._a,ve=0|this._b,T=0|this._c,i=0|this._d,o=0|this._e,m=0;m<80;m+=1){var h,y;m<16?(h=E(ne,le,re,_e,he,q[l[m]],p[0],d[m]),y=Z(ae,ve,T,i,o,q[D[m]],L[0],P[m])):m<32?(h=z(ne,le,re,_e,he,q[l[m]],p[1],d[m]),y=V(ae,ve,T,i,o,q[D[m]],L[1],P[m])):m<48?(h=I(ne,le,re,_e,he,q[l[m]],p[2],d[m]),y=I(ae,ve,T,i,o,q[D[m]],L[2],P[m])):m<64?(h=V(ne,le,re,_e,he,q[l[m]],p[3],d[m]),y=z(ae,ve,T,i,o,q[D[m]],L[3],P[m])):(h=Z(ne,le,re,_e,he,q[l[m]],p[4],d[m]),y=E(ae,ve,T,i,o,q[D[m]],L[4],P[m])),ne=he,he=_e,_e=k(re,10),re=le,le=h,ae=o,o=i,i=k(T,10),T=ve,ve=y}var A=this._b+re+i|0;this._b=this._c+_e+o|0,this._c=this._d+he+ae|0,this._d=this._e+ne+ve|0,this._e=this._a+le+T|0,this._a=A},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},Ge.exports=M},6317:(Ge,X,f)=>{"use strict";f.d(X,{X:()=>t});var e=f(253);class t extends e.x{constructor(S){super(),this._value=S}get value(){return this.getValue()}_subscribe(S){const l=super._subscribe(S);return!l.closed&&S.next(this._value),l}getValue(){const{hasError:S,thrownError:l,_value:D}=this;if(S)throw l;return this._throwIfClosed(),D}next(S){super.next(this._value=S)}}},833:(Ge,X,f)=>{"use strict";f.d(X,{y:()=>P});var e=f(5463),t=f(7714),_=f(4585),S=f(629),l=f(9057),D=f(2971),d=f(2309);class P{constructor(E){E&&(this._subscribe=E)}lift(E){const z=new P;return z.source=this,z.operator=E,z}subscribe(E,z,I){const V=function M(k){return k&&k instanceof e.Lv||function L(k){return k&&(0,D.m)(k.next)&&(0,D.m)(k.error)&&(0,D.m)(k.complete)}(k)&&(0,t.Nn)(k)}(E)?E:new e.Hp(E,z,I);return(0,d.x)(()=>{const{operator:Z,source:q}=this;V.add(Z?Z.call(V,q):q?this._subscribe(V):this._trySubscribe(V))}),V}_trySubscribe(E){try{return this._subscribe(E)}catch(z){E.error(z)}}forEach(E,z){return new(z=p(z))((I,V)=>{const Z=new e.Hp({next:q=>{try{E(q)}catch(te){V(te),Z.unsubscribe()}},error:V,complete:I});this.subscribe(Z)})}_subscribe(E){var z;return null===(z=this.source)||void 0===z?void 0:z.subscribe(E)}[_.L](){return this}pipe(...E){return(0,S.U)(E)(this)}toPromise(E){return new(E=p(E))((z,I)=>{let V;this.subscribe(Z=>V=Z,Z=>I(Z),()=>z(V))})}}function p(k){var E;return null!==(E=k??l.v.Promise)&&void 0!==E?E:Promise}P.create=k=>new P(k)},6067:(Ge,X,f)=>{"use strict";f.d(X,{t:()=>_});var e=f(253),t=f(7654);class _ extends e.x{constructor(l=1/0,D=1/0,d=t.l){super(),this._bufferSize=l,this._windowTime=D,this._timestampProvider=d,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=D===1/0,this._bufferSize=Math.max(1,l),this._windowTime=Math.max(1,D)}next(l){const{isStopped:D,_buffer:d,_infiniteTimeWindow:P,_timestampProvider:p,_windowTime:L}=this;D||(d.push(l),!P&&d.push(p.now()+L)),this._trimBuffer(),super.next(l)}_subscribe(l){this._throwIfClosed(),this._trimBuffer();const D=this._innerSubscribe(l),{_infiniteTimeWindow:d,_buffer:P}=this,p=P.slice();for(let L=0;L<p.length&&!l.closed;L+=d?1:2)l.next(p[L]);return this._checkFinalizedStatuses(l),D}_trimBuffer(){const{_bufferSize:l,_timestampProvider:D,_buffer:d,_infiniteTimeWindow:P}=this,p=(P?1:2)*l;if(l<1/0&&p<d.length&&d.splice(0,d.length-p),!P){const L=D.now();let M=0;for(let k=1;k<d.length&&d[k]<=L;k+=2)M=k;M&&d.splice(0,M+1)}}}},253:(Ge,X,f)=>{"use strict";f.d(X,{u:()=>P,x:()=>d});var e=f(833),t=f(7714);const S=(0,f(7543).d)(p=>function(){p(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var l=f(9663),D=f(2309);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(L){const M=new P(this,this);return M.operator=L,M}_throwIfClosed(){if(this.closed)throw new S}next(L){(0,D.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const M of this.currentObservers)M.next(L)}})}error(L){(0,D.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=L;const{observers:M}=this;for(;M.length;)M.shift().error(L)}})}complete(){(0,D.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:L}=this;for(;L.length;)L.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var L;return(null===(L=this.observers)||void 0===L?void 0:L.length)>0}_trySubscribe(L){return this._throwIfClosed(),super._trySubscribe(L)}_subscribe(L){return this._throwIfClosed(),this._checkFinalizedStatuses(L),this._innerSubscribe(L)}_innerSubscribe(L){const{hasError:M,isStopped:k,observers:E}=this;return M||k?t.Lc:(this.currentObservers=null,E.push(L),new t.w0(()=>{this.currentObservers=null,(0,l.P)(E,L)}))}_checkFinalizedStatuses(L){const{hasError:M,thrownError:k,isStopped:E}=this;M?L.error(k):E&&L.complete()}asObservable(){const L=new e.y;return L.source=this,L}}d.create=(p,L)=>new P(p,L);class P extends d{constructor(L,M){super(),this.destination=L,this.source=M}next(L){var M,k;null===(k=null===(M=this.destination)||void 0===M?void 0:M.next)||void 0===k||k.call(M,L)}error(L){var M,k;null===(k=null===(M=this.destination)||void 0===M?void 0:M.error)||void 0===k||k.call(M,L)}complete(){var L,M;null===(M=null===(L=this.destination)||void 0===L?void 0:L.complete)||void 0===M||M.call(L)}_subscribe(L){var M,k;return null!==(k=null===(M=this.source)||void 0===M?void 0:M.subscribe(L))&&void 0!==k?k:t.Lc}}},5463:(Ge,X,f)=>{"use strict";f.d(X,{Hp:()=>V,Lv:()=>k});var e=f(2971),t=f(7714),_=f(9057),S=f(4709),l=f(9635);const D=p("C",void 0,void 0);function p(le,re,_e){return{kind:le,value:re,error:_e}}var L=f(3542),M=f(2309);class k extends t.w0{constructor(re){super(),this.isStopped=!1,re?(this.destination=re,(0,t.Nn)(re)&&re.add(this)):this.destination=ne}static create(re,_e,he){return new V(re,_e,he)}next(re){this.isStopped?te(function P(le){return p("N",le,void 0)}(re),this):this._next(re)}error(re){this.isStopped?te(function d(le){return p("E",void 0,le)}(re),this):(this.isStopped=!0,this._error(re))}complete(){this.isStopped?te(D,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(re){this.destination.next(re)}_error(re){try{this.destination.error(re)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const E=Function.prototype.bind;function z(le,re){return E.call(le,re)}class I{constructor(re){this.partialObserver=re}next(re){const{partialObserver:_e}=this;if(_e.next)try{_e.next(re)}catch(he){Z(he)}}error(re){const{partialObserver:_e}=this;if(_e.error)try{_e.error(re)}catch(he){Z(he)}else Z(re)}complete(){const{partialObserver:re}=this;if(re.complete)try{re.complete()}catch(_e){Z(_e)}}}class V extends k{constructor(re,_e,he){let ae;if(super(),(0,e.m)(re)||!re)ae={next:re??void 0,error:_e??void 0,complete:he??void 0};else{let ve;this&&_.v.useDeprecatedNextContext?(ve=Object.create(re),ve.unsubscribe=()=>this.unsubscribe(),ae={next:re.next&&z(re.next,ve),error:re.error&&z(re.error,ve),complete:re.complete&&z(re.complete,ve)}):ae=re}this.destination=new I(ae)}}function Z(le){_.v.useDeprecatedSynchronousErrorHandling?(0,M.O)(le):(0,S.h)(le)}function te(le,re){const{onStoppedNotification:_e}=_.v;_e&&L.z.setTimeout(()=>_e(le,re))}const ne={closed:!0,next:l.Z,error:function q(le){throw le},complete:l.Z}},7714:(Ge,X,f)=>{"use strict";f.d(X,{Lc:()=>D,w0:()=>l,Nn:()=>d});var e=f(2971);const _=(0,f(7543).d)(p=>function(M){p(this),this.message=M?`${M.length} errors occurred during unsubscription:\n${M.map((k,E)=>`${E+1}) ${k.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=M});var S=f(9663);class l{constructor(L){this.initialTeardown=L,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let L;if(!this.closed){this.closed=!0;const{_parentage:M}=this;if(M)if(this._parentage=null,Array.isArray(M))for(const z of M)z.remove(this);else M.remove(this);const{initialTeardown:k}=this;if((0,e.m)(k))try{k()}catch(z){L=z instanceof _?z.errors:[z]}const{_finalizers:E}=this;if(E){this._finalizers=null;for(const z of E)try{P(z)}catch(I){L=L??[],I instanceof _?L=[...L,...I.errors]:L.push(I)}}if(L)throw new _(L)}}add(L){var M;if(L&&L!==this)if(this.closed)P(L);else{if(L instanceof l){if(L.closed||L._hasParent(this))return;L._addParent(this)}(this._finalizers=null!==(M=this._finalizers)&&void 0!==M?M:[]).push(L)}}_hasParent(L){const{_parentage:M}=this;return M===L||Array.isArray(M)&&M.includes(L)}_addParent(L){const{_parentage:M}=this;this._parentage=Array.isArray(M)?(M.push(L),M):M?[M,L]:L}_removeParent(L){const{_parentage:M}=this;M===L?this._parentage=null:Array.isArray(M)&&(0,S.P)(M,L)}remove(L){const{_finalizers:M}=this;M&&(0,S.P)(M,L),L instanceof l&&L._removeParent(this)}}l.EMPTY=(()=>{const p=new l;return p.closed=!0,p})();const D=l.EMPTY;function d(p){return p instanceof l||p&&"closed"in p&&(0,e.m)(p.remove)&&(0,e.m)(p.add)&&(0,e.m)(p.unsubscribe)}function P(p){(0,e.m)(p)?p():p.unsubscribe()}},9057:(Ge,X,f)=>{"use strict";f.d(X,{v:()=>e});const e={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},3932:(Ge,X,f)=>{"use strict";f.d(X,{c:()=>D});var e=f(833),t=f(7714),_=f(6074),S=f(3945),l=f(1944);class D extends e.y{constructor(P,p){super(),this.source=P,this.subjectFactory=p,this._subject=null,this._refCount=0,this._connection=null,(0,l.A)(P)&&(this.lift=P.lift)}_subscribe(P){return this.getSubject().subscribe(P)}getSubject(){const P=this._subject;return(!P||P.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:P}=this;this._subject=this._connection=null,P?.unsubscribe()}connect(){let P=this._connection;if(!P){P=this._connection=new t.w0;const p=this.getSubject();P.add(this.source.subscribe((0,S.x)(p,void 0,()=>{this._teardown(),p.complete()},L=>{this._teardown(),p.error(L)},()=>this._teardown()))),P.closed&&(this._connection=null,P=t.w0.EMPTY)}return P}refCount(){return(0,_.x)()(this)}}},6562:(Ge,X,f)=>{"use strict";f.d(X,{a:()=>L});var e=f(833),t=f(5756),_=f(7400),S=f(9173),l=f(8385),D=f(420),d=f(1054),P=f(3945),p=f(1817);function L(...E){const z=(0,D.yG)(E),I=(0,D.jO)(E),{args:V,keys:Z}=(0,t.D)(E);if(0===V.length)return(0,_.D)([],z);const q=new e.y(function M(E,z,I=S.y){return V=>{k(z,()=>{const{length:Z}=E,q=new Array(Z);let te=Z,ne=Z;for(let le=0;le<Z;le++)k(z,()=>{const re=(0,_.D)(E[le],z);let _e=!1;re.subscribe((0,P.x)(V,he=>{q[le]=he,_e||(_e=!0,ne--),ne||V.next(I(q.slice()))},()=>{--te||V.complete()}))},V)},V)}}(V,z,Z?te=>(0,d.n)(Z,te):S.y));return I?q.pipe((0,l.Z)(I)):q}function k(E,z,I){E?(0,p.f)(I,E,z):z()}},9319:(Ge,X,f)=>{"use strict";f.d(X,{z:()=>l});var e=f(1308);var _=f(420),S=f(7400);function l(...D){return function t(){return(0,e.J)(1)}()((0,S.D)(D,(0,_.yG)(D)))}},1954:(Ge,X,f)=>{"use strict";f.d(X,{P:()=>_});var e=f(833),t=f(4987);function _(S){return new e.y(l=>{(0,t.Xf)(S()).subscribe(l)})}},591:(Ge,X,f)=>{"use strict";f.d(X,{E:()=>t});const t=new(f(833).y)(l=>l.complete())},1640:(Ge,X,f)=>{"use strict";f.d(X,{D:()=>P});var e=f(833),t=f(5756),_=f(4987),S=f(420),l=f(3945),D=f(8385),d=f(1054);function P(...p){const L=(0,S.jO)(p),{args:M,keys:k}=(0,t.D)(p),E=new e.y(z=>{const{length:I}=M;if(!I)return void z.complete();const V=new Array(I);let Z=I,q=I;for(let te=0;te<I;te++){let ne=!1;(0,_.Xf)(M[te]).subscribe((0,l.x)(z,le=>{ne||(ne=!0,q--),V[te]=le},()=>Z--,void 0,()=>{(!Z||!ne)&&(q||z.next(k?(0,d.n)(k,V):V),z.complete())}))}});return L?E.pipe((0,D.Z)(L)):E}},7400:(Ge,X,f)=>{"use strict";f.d(X,{D:()=>_e});var e=f(4987),t=f(8728),_=f(1944);function S(he,ae=0){return(0,_.e)((ve,T)=>{T.add(he.schedule(()=>ve.subscribe(T),ae))})}var d=f(833);var p=f(7321),L=f(2971),M=f(1817);function E(he,ae){if(!he)throw new Error("Iterable cannot be null");return new d.y(ve=>{(0,M.f)(ve,ae,()=>{const T=he[Symbol.asyncIterator]();(0,M.f)(ve,ae,()=>{T.next().then(i=>{i.done?ve.complete():ve.next(i.value)})},0,!0)})})}var z=f(1331),I=f(9548),V=f(9806),Z=f(3433),q=f(470),te=f(7785),ne=f(181);function re(he,ae){if(null!=he){if((0,z.c)(he))return function l(he,ae){return(0,e.Xf)(he).pipe(S(ae),(0,t.Q)(ae))}(he,ae);if((0,V.z)(he))return function P(he,ae){return new d.y(ve=>{let T=0;return ae.schedule(function(){T===he.length?ve.complete():(ve.next(he[T++]),ve.closed||this.schedule())})})}(he,ae);if((0,I.t)(he))return function D(he,ae){return(0,e.Xf)(he).pipe(S(ae),(0,t.Q)(ae))}(he,ae);if((0,q.D)(he))return E(he,ae);if((0,Z.T)(he))return function k(he,ae){return new d.y(ve=>{let T;return(0,M.f)(ve,ae,()=>{T=he[p.h](),(0,M.f)(ve,ae,()=>{let i,o;try{({value:i,done:o}=T.next())}catch(m){return void ve.error(m)}o?ve.complete():ve.next(i)},0,!0)}),()=>(0,L.m)(T?.return)&&T.return()})}(he,ae);if((0,ne.L)(he))return function le(he,ae){return E((0,ne.Q)(he),ae)}(he,ae)}throw(0,te.z)(he)}function _e(he,ae){return ae?re(he,ae):(0,e.Xf)(he)}},3280:(Ge,X,f)=>{"use strict";f.d(X,{R:()=>L});var e=f(4987),t=f(833),_=f(9525),S=f(9806),l=f(2971),D=f(8385);const d=["addListener","removeListener"],P=["addEventListener","removeEventListener"],p=["on","off"];function L(I,V,Z,q){if((0,l.m)(Z)&&(q=Z,Z=void 0),q)return L(I,V,Z).pipe((0,D.Z)(q));const[te,ne]=function z(I){return(0,l.m)(I.addEventListener)&&(0,l.m)(I.removeEventListener)}(I)?P.map(le=>re=>I[le](V,re,Z)):function k(I){return(0,l.m)(I.addListener)&&(0,l.m)(I.removeListener)}(I)?d.map(M(I,V)):function E(I){return(0,l.m)(I.on)&&(0,l.m)(I.off)}(I)?p.map(M(I,V)):[];if(!te&&(0,S.z)(I))return(0,_.z)(le=>L(le,V,Z))((0,e.Xf)(I));if(!te)throw new TypeError("Invalid event target");return new t.y(le=>{const re=(..._e)=>le.next(1<_e.length?_e:_e[0]);return te(re),()=>ne(re)})}function M(I,V){return Z=>q=>I[Z](V,q)}},4987:(Ge,X,f)=>{"use strict";f.d(X,{Xf:()=>E});var e=f(4929),t=f(9806),_=f(9548),S=f(833),l=f(1331),D=f(470),d=f(7785),P=f(3433),p=f(181),L=f(2971),M=f(4709),k=f(4585);function E(le){if(le instanceof S.y)return le;if(null!=le){if((0,l.c)(le))return function z(le){return new S.y(re=>{const _e=le[k.L]();if((0,L.m)(_e.subscribe))return _e.subscribe(re);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(le);if((0,t.z)(le))return function I(le){return new S.y(re=>{for(let _e=0;_e<le.length&&!re.closed;_e++)re.next(le[_e]);re.complete()})}(le);if((0,_.t)(le))return function V(le){return new S.y(re=>{le.then(_e=>{re.closed||(re.next(_e),re.complete())},_e=>re.error(_e)).then(null,M.h)})}(le);if((0,D.D)(le))return q(le);if((0,P.T)(le))return function Z(le){return new S.y(re=>{for(const _e of le)if(re.next(_e),re.closed)return;re.complete()})}(le);if((0,p.L)(le))return function te(le){return q((0,p.Q)(le))}(le)}throw(0,d.z)(le)}function q(le){return new S.y(re=>{(function ne(le,re){var _e,he,ae,ve;return(0,e.mG)(this,void 0,void 0,function*(){try{for(_e=(0,e.KL)(le);!(he=yield _e.next()).done;){const T=he.value;if(re.next(T),re.closed)return}}catch(T){ae={error:T}}finally{try{he&&!he.done&&(ve=_e.return)&&(yield ve.call(_e))}finally{if(ae)throw ae.error}}re.complete()})})(le,re).catch(_e=>re.error(_e))})}},6646:(Ge,X,f)=>{"use strict";f.d(X,{T:()=>D});var e=f(1308),t=f(4987),_=f(591),S=f(420),l=f(7400);function D(...d){const P=(0,S.yG)(d),p=(0,S._6)(d,1/0),L=d;return L.length?1===L.length?(0,t.Xf)(L[0]):(0,e.J)(p)((0,l.D)(L,P)):_.E}},745:(Ge,X,f)=>{"use strict";f.d(X,{of:()=>_});var e=f(420),t=f(7400);function _(...S){const l=(0,e.yG)(S);return(0,t.D)(S,l)}},5474:(Ge,X,f)=>{"use strict";f.d(X,{_:()=>_});var e=f(833),t=f(2971);function _(S,l){const D=(0,t.m)(S)?S:()=>S,d=P=>P.error(D());return new e.y(l?P=>l.schedule(d,0,P):d)}},8947:(Ge,X,f)=>{"use strict";f.d(X,{H:()=>l});var e=f(833),t=f(6936),_=f(9867),S=f(7885);function l(D=0,d,P=t.P){let p=-1;return null!=d&&((0,_.K)(d)?P=d:p=d),new e.y(L=>{let M=(0,S.q)(D)?+D-P.now():D;M<0&&(M=0);let k=0;return P.schedule(function(){L.closed||(L.next(k++),0<=p?this.schedule(void 0,p):L.complete())},M)})}},3945:(Ge,X,f)=>{"use strict";f.d(X,{Q:()=>_,x:()=>t});var e=f(5463);function t(S,l,D,d,P){return new _(S,l,D,d,P)}class _ extends e.Lv{constructor(l,D,d,P,p,L){super(l),this.onFinalize=p,this.shouldUnsubscribe=L,this._next=D?function(M){try{D(M)}catch(k){l.error(k)}}:super._next,this._error=P?function(M){try{P(M)}catch(k){l.error(k)}finally{this.unsubscribe()}}:super._error,this._complete=d?function(){try{d()}catch(M){l.error(M)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var l;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:D}=this;super.unsubscribe(),!D&&(null===(l=this.onFinalize)||void 0===l||l.call(this))}}}},9211:(Ge,X,f)=>{"use strict";f.d(X,{e:()=>d});var e=f(6936),t=f(1944),_=f(4987),S=f(3945);var D=f(8947);function d(P,p=e.z){return function l(P){return(0,t.e)((p,L)=>{let M=!1,k=null,E=null,z=!1;const I=()=>{if(E?.unsubscribe(),E=null,M){M=!1;const Z=k;k=null,L.next(Z)}z&&L.complete()},V=()=>{E=null,z&&L.complete()};p.subscribe((0,S.x)(L,Z=>{M=!0,k=Z,E||(0,_.Xf)(P(Z)).subscribe(E=(0,S.x)(L,I,V))},()=>{z=!0,(!M||!E||E.closed)&&L.complete()}))})}(()=>(0,D.H)(P,p))}},3158:(Ge,X,f)=>{"use strict";f.d(X,{K:()=>S});var e=f(4987),t=f(3945),_=f(1944);function S(l){return(0,_.e)((D,d)=>{let L,P=null,p=!1;P=D.subscribe((0,t.x)(d,void 0,void 0,M=>{L=(0,e.Xf)(l(M,S(l)(D))),P?(P.unsubscribe(),P=null,L.subscribe(d)):p=!0})),p&&(P.unsubscribe(),P=null,L.subscribe(d))})}},3853:(Ge,X,f)=>{"use strict";f.d(X,{b:()=>_});var e=f(9525),t=f(2971);function _(S,l){return(0,t.m)(l)?(0,e.z)(S,l,1):(0,e.z)(S,1)}},1989:(Ge,X,f)=>{"use strict";f.d(X,{b:()=>S});var e=f(6936),t=f(1944),_=f(3945);function S(l,D=e.z){return(0,t.e)((d,P)=>{let p=null,L=null,M=null;const k=()=>{if(p){p.unsubscribe(),p=null;const z=L;L=null,P.next(z)}};function E(){const z=M+l,I=D.now();if(I<z)return p=this.schedule(void 0,z-I),void P.add(p);k()}d.subscribe((0,_.x)(P,z=>{L=z,M=D.now(),p||(p=D.schedule(E,l),P.add(p))},()=>{k(),P.complete()},void 0,()=>{L=p=null}))})}},4744:(Ge,X,f)=>{"use strict";f.d(X,{d:()=>_});var e=f(1944),t=f(3945);function _(S){return(0,e.e)((l,D)=>{let d=!1;l.subscribe((0,t.x)(D,P=>{d=!0,D.next(P)},()=>{d||D.next(S),D.complete()}))})}},6234:(Ge,X,f)=>{"use strict";f.d(X,{g:()=>p});var e=f(6936),t=f(9319),_=f(9295),S=f(23),l=f(73),D=f(9525);function d(L,M){return M?k=>(0,t.z)(M.pipe((0,_.q)(1),(0,S.l)()),k.pipe(d(L))):(0,D.z)((k,E)=>L(k,E).pipe((0,_.q)(1),(0,l.h)(k)))}var P=f(8947);function p(L,M=e.z){const k=(0,P.H)(L,M);return d(()=>k)}},8977:(Ge,X,f)=>{"use strict";f.d(X,{x:()=>S});var e=f(9173),t=f(1944),_=f(3945);function S(D,d=e.y){return D=D??l,(0,t.e)((P,p)=>{let L,M=!0;P.subscribe((0,_.x)(p,k=>{const E=d(k);(M||!D(L,E))&&(M=!1,L=E,p.next(k))}))})}function l(D,d){return D===d}},116:(Ge,X,f)=>{"use strict";f.d(X,{h:()=>_});var e=f(1944),t=f(3945);function _(S,l){return(0,e.e)((D,d)=>{let P=0;D.subscribe((0,t.x)(d,p=>S.call(l,p,P++)&&d.next(p)))})}},2313:(Ge,X,f)=>{"use strict";f.d(X,{x:()=>t});var e=f(1944);function t(_){return(0,e.e)((S,l)=>{try{S.subscribe(l)}finally{l.add(_)}})}},155:(Ge,X,f)=>{"use strict";f.d(X,{P:()=>d});var e=f(4423),t=f(116),_=f(9295),S=f(4744),l=f(7354),D=f(9173);function d(P,p){const L=arguments.length>=2;return M=>M.pipe(P?(0,t.h)((k,E)=>P(k,E,M)):D.y,(0,_.q)(1),L?(0,S.d)(p):(0,l.T)(()=>new e.K))}},23:(Ge,X,f)=>{"use strict";f.d(X,{l:()=>S});var e=f(1944),t=f(3945),_=f(9635);function S(){return(0,e.e)((l,D)=>{l.subscribe((0,t.x)(D,_.Z))})}},635:(Ge,X,f)=>{"use strict";f.d(X,{U:()=>_});var e=f(1944),t=f(3945);function _(S,l){return(0,e.e)((D,d)=>{let P=0;D.subscribe((0,t.x)(d,p=>{d.next(S.call(l,p,P++))}))})}},73:(Ge,X,f)=>{"use strict";f.d(X,{h:()=>t});var e=f(635);function t(_){return(0,e.U)(()=>_)}},1308:(Ge,X,f)=>{"use strict";f.d(X,{J:()=>_});var e=f(9525),t=f(9173);function _(S=1/0){return(0,e.z)(t.y,S)}},9525:(Ge,X,f)=>{"use strict";f.d(X,{z:()=>P});var e=f(635),t=f(4987),_=f(1944),S=f(1817),l=f(3945);var d=f(2971);function P(p,L,M=1/0){return(0,d.m)(L)?P((k,E)=>(0,e.U)((z,I)=>L(k,z,E,I))((0,t.Xf)(p(k,E))),M):("number"==typeof L&&(M=L),(0,_.e)((k,E)=>function D(p,L,M,k,E,z,I,V){const Z=[];let q=0,te=0,ne=!1;const le=()=>{ne&&!Z.length&&!q&&L.complete()},re=he=>q<k?_e(he):Z.push(he),_e=he=>{z&&L.next(he),q++;let ae=!1;(0,t.Xf)(M(he,te++)).subscribe((0,l.x)(L,ve=>{E?.(ve),z?re(ve):L.next(ve)},()=>{ae=!0},void 0,()=>{if(ae)try{for(q--;Z.length&&q<k;){const ve=Z.shift();I?(0,S.f)(L,I,()=>_e(ve)):_e(ve)}le()}catch(ve){L.error(ve)}}))};return p.subscribe((0,l.x)(L,re,()=>{ne=!0,le()})),()=>{V?.()}}(k,E,p,M)))}},8728:(Ge,X,f)=>{"use strict";f.d(X,{Q:()=>S});var e=f(1817),t=f(1944),_=f(3945);function S(l,D=0){return(0,t.e)((d,P)=>{d.subscribe((0,_.x)(P,p=>(0,e.f)(P,l,()=>P.next(p),D),()=>(0,e.f)(P,l,()=>P.complete(),D),p=>(0,e.f)(P,l,()=>P.error(p),D)))})}},6074:(Ge,X,f)=>{"use strict";f.d(X,{x:()=>_});var e=f(1944),t=f(3945);function _(){return(0,e.e)((S,l)=>{let D=null;S._refCount++;const d=(0,t.x)(l,void 0,void 0,void 0,()=>{if(!S||S._refCount<=0||0<--S._refCount)return void(D=null);const P=S._connection,p=D;D=null,P&&(!p||P===p)&&P.unsubscribe(),l.unsubscribe()});S.subscribe(d),d.closed||(D=S.connect())})}},4351:(Ge,X,f)=>{"use strict";f.d(X,{R:()=>S});var e=f(1944),t=f(3945);function _(l,D,d,P,p){return(L,M)=>{let k=d,E=D,z=0;L.subscribe((0,t.x)(M,I=>{const V=z++;E=k?l(E,I,V):(k=!0,I),P&&M.next(E)},p&&(()=>{k&&M.next(E),M.complete()})))}}function S(l,D){return(0,e.e)(_(l,D,arguments.length>=2,!0))}},1203:(Ge,X,f)=>{"use strict";f.d(X,{B:()=>l});var e=f(4987),t=f(253),_=f(5463),S=f(1944);function l(d={}){const{connector:P=(()=>new t.x),resetOnError:p=!0,resetOnComplete:L=!0,resetOnRefCountZero:M=!0}=d;return k=>{let E,z,I,V=0,Z=!1,q=!1;const te=()=>{z?.unsubscribe(),z=void 0},ne=()=>{te(),E=I=void 0,Z=q=!1},le=()=>{const re=E;ne(),re?.unsubscribe()};return(0,S.e)((re,_e)=>{V++,!q&&!Z&&te();const he=I=I??P();_e.add(()=>{V--,0===V&&!q&&!Z&&(z=D(le,M))}),he.subscribe(_e),!E&&V>0&&(E=new _.Hp({next:ae=>he.next(ae),error:ae=>{q=!0,te(),z=D(ne,p,ae),he.error(ae)},complete:()=>{Z=!0,te(),z=D(ne,L),he.complete()}}),(0,e.Xf)(re).subscribe(E))})(k)}}function D(d,P,...p){if(!0===P)return void d();if(!1===P)return;const L=new _.Hp({next:()=>{L.unsubscribe(),d()}});return P(...p).subscribe(L)}},7260:(Ge,X,f)=>{"use strict";f.d(X,{T:()=>t});var e=f(116);function t(_){return(0,e.h)((S,l)=>_<=l)}},4874:(Ge,X,f)=>{"use strict";f.d(X,{O:()=>S});var e=f(9319),t=f(420),_=f(1944);function S(...l){const D=(0,t.yG)(l);return(0,_.e)((d,P)=>{(D?(0,e.z)(l,d,D):(0,e.z)(l,d)).subscribe(P)})}},2673:(Ge,X,f)=>{"use strict";f.d(X,{w:()=>S});var e=f(4987),t=f(1944),_=f(3945);function S(l,D){return(0,t.e)((d,P)=>{let p=null,L=0,M=!1;const k=()=>M&&!p&&P.complete();d.subscribe((0,_.x)(P,E=>{p?.unsubscribe();let z=0;const I=L++;(0,e.Xf)(l(E,I)).subscribe(p=(0,_.x)(P,V=>P.next(D?D(E,V,I,z++):V),()=>{p=null,k()}))},()=>{M=!0,k()}))})}},9295:(Ge,X,f)=>{"use strict";f.d(X,{q:()=>S});var e=f(591),t=f(1944),_=f(3945);function S(l){return l<=0?()=>e.E:(0,t.e)((D,d)=>{let P=0;D.subscribe((0,_.x)(d,p=>{++P<=l&&(d.next(p),l<=P&&d.complete())}))})}},8951:(Ge,X,f)=>{"use strict";f.d(X,{R:()=>l});var e=f(1944),t=f(3945),_=f(4987),S=f(9635);function l(D){return(0,e.e)((d,P)=>{(0,_.Xf)(D).subscribe((0,t.x)(P,()=>P.complete(),S.Z)),!P.closed&&d.subscribe(P)})}},2566:(Ge,X,f)=>{"use strict";f.d(X,{o:()=>_});var e=f(1944),t=f(3945);function _(S,l=!1){return(0,e.e)((D,d)=>{let P=0;D.subscribe((0,t.x)(d,p=>{const L=S(p,P++);(L||l)&&d.next(p),!L&&d.complete()}))})}},9337:(Ge,X,f)=>{"use strict";f.d(X,{b:()=>l});var e=f(2971),t=f(1944),_=f(3945),S=f(9173);function l(D,d,P){const p=(0,e.m)(D)||d||P?{next:D,error:d,complete:P}:D;return p?(0,t.e)((L,M)=>{var k;null===(k=p.subscribe)||void 0===k||k.call(p);let E=!0;L.subscribe((0,_.x)(M,z=>{var I;null===(I=p.next)||void 0===I||I.call(p,z),M.next(z)},()=>{var z;E=!1,null===(z=p.complete)||void 0===z||z.call(p),M.complete()},z=>{var I;E=!1,null===(I=p.error)||void 0===I||I.call(p,z),M.error(z)},()=>{var z,I;E&&(null===(z=p.unsubscribe)||void 0===z||z.call(p)),null===(I=p.finalize)||void 0===I||I.call(p)}))}):S.y}},7354:(Ge,X,f)=>{"use strict";f.d(X,{T:()=>S});var e=f(4423),t=f(1944),_=f(3945);function S(D=l){return(0,t.e)((d,P)=>{let p=!1;d.subscribe((0,_.x)(P,L=>{p=!0,P.next(L)},()=>p?P.complete():P.error(D())))})}function l(){return new e.K}},7580:(Ge,X,f)=>{"use strict";f.d(X,{V:()=>p});var e=f(6936),t=f(7885),_=f(1944),S=f(4987),l=f(7543),D=f(3945),d=f(1817);const P=(0,l.d)(M=>function(E=null){M(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=E});function p(M,k){const{first:E,each:z,with:I=L,scheduler:V=k??e.z,meta:Z=null}=(0,t.q)(M)?{first:M}:"number"==typeof M?{each:M}:M;if(null==E&&null==z)throw new TypeError("No timeout provided.");return(0,_.e)((q,te)=>{let ne,le,re=null,_e=0;const he=ae=>{le=(0,d.f)(te,V,()=>{try{ne.unsubscribe(),(0,S.Xf)(I({meta:Z,lastValue:re,seen:_e})).subscribe(te)}catch(ve){te.error(ve)}},ae)};ne=q.subscribe((0,D.x)(te,ae=>{le?.unsubscribe(),_e++,te.next(re=ae),z>0&&he(z)},void 0,void 0,()=>{le?.closed||le?.unsubscribe(),re=null})),!_e&&he(null!=E?"number"==typeof E?E:+E-V.now():z)})}function L(M){throw new P(M)}},538:(Ge,X,f)=>{"use strict";f.d(X,{M:()=>d});var e=f(1944),t=f(3945),_=f(4987),S=f(9173),l=f(9635),D=f(420);function d(...P){const p=(0,D.jO)(P);return(0,e.e)((L,M)=>{const k=P.length,E=new Array(k);let z=P.map(()=>!1),I=!1;for(let V=0;V<k;V++)(0,_.Xf)(P[V]).subscribe((0,t.x)(M,Z=>{E[V]=Z,!I&&!z[V]&&(z[V]=!0,(I=z.every(S.y))&&(z=null))},l.Z));L.subscribe((0,t.x)(M,V=>{if(I){const Z=[V,...E];M.next(p?p(...Z):Z)}}))})}},5417:(Ge,X,f)=>{"use strict";f.d(X,{o:()=>l});var e=f(7714);class t extends e.w0{constructor(d,P){super()}schedule(d,P=0){return this}}const _={setInterval(D,d,...P){const{delegate:p}=_;return p?.setInterval?p.setInterval(D,d,...P):setInterval(D,d,...P)},clearInterval(D){const{delegate:d}=_;return(d?.clearInterval||clearInterval)(D)},delegate:void 0};var S=f(9663);class l extends t{constructor(d,P){super(d,P),this.scheduler=d,this.work=P,this.pending=!1}schedule(d,P=0){var p;if(this.closed)return this;this.state=d;const L=this.id,M=this.scheduler;return null!=L&&(this.id=this.recycleAsyncId(M,L,P)),this.pending=!0,this.delay=P,this.id=null!==(p=this.id)&&void 0!==p?p:this.requestAsyncId(M,this.id,P),this}requestAsyncId(d,P,p=0){return _.setInterval(d.flush.bind(d,this),p)}recycleAsyncId(d,P,p=0){if(null!=p&&this.delay===p&&!1===this.pending)return P;null!=P&&_.clearInterval(P)}execute(d,P){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const p=this._execute(d,P);if(p)return p;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(d,P){let L,p=!1;try{this.work(d)}catch(M){p=!0,L=M||new Error("Scheduled action threw falsy error")}if(p)return this.unsubscribe(),L}unsubscribe(){if(!this.closed){const{id:d,scheduler:P}=this,{actions:p}=P;this.work=this.state=this.scheduler=null,this.pending=!1,(0,S.P)(p,this),null!=d&&(this.id=this.recycleAsyncId(P,d,null)),this.delay=null,super.unsubscribe()}}}},1010:(Ge,X,f)=>{"use strict";f.d(X,{v:()=>_});var e=f(7654);class t{constructor(l,D=t.now){this.schedulerActionCtor=l,this.now=D}schedule(l,D=0,d){return new this.schedulerActionCtor(this,l).schedule(d,D)}}t.now=e.l.now;class _ extends t{constructor(l,D=t.now){super(l,D),this.actions=[],this._active=!1}flush(l){const{actions:D}=this;if(this._active)return void D.push(l);let d;this._active=!0;do{if(d=l.execute(l.state,l.delay))break}while(l=D.shift());if(this._active=!1,d){for(;l=D.shift();)l.unsubscribe();throw d}}}},3888:(Ge,X,f)=>{"use strict";f.d(X,{E:()=>z});var e=f(5417);let _,t=1;const S={};function l(V){return V in S&&(delete S[V],!0)}const D={setImmediate(V){const Z=t++;return S[Z]=!0,_||(_=Promise.resolve()),_.then(()=>l(Z)&&V()),Z},clearImmediate(V){l(V)}},{setImmediate:P,clearImmediate:p}=D,L={setImmediate(...V){const{delegate:Z}=L;return(Z?.setImmediate||P)(...V)},clearImmediate(V){const{delegate:Z}=L;return(Z?.clearImmediate||p)(V)},delegate:void 0};class M extends e.o{constructor(Z,q){super(Z,q),this.scheduler=Z,this.work=q}requestAsyncId(Z,q,te=0){return null!==te&&te>0?super.requestAsyncId(Z,q,te):(Z.actions.push(this),Z._scheduled||(Z._scheduled=L.setImmediate(Z.flush.bind(Z,void 0))))}recycleAsyncId(Z,q,te=0){var ne;if(null!=te?te>0:this.delay>0)return super.recycleAsyncId(Z,q,te);const{actions:le}=Z;null!=q&&(null===(ne=le[le.length-1])||void 0===ne?void 0:ne.id)!==q&&(L.clearImmediate(q),Z._scheduled=void 0)}}var k=f(1010);class E extends k.v{flush(Z){this._active=!0;const q=this._scheduled;this._scheduled=void 0;const{actions:te}=this;let ne;Z=Z||te.shift();do{if(ne=Z.execute(Z.state,Z.delay))break}while((Z=te[0])&&Z.id===q&&te.shift());if(this._active=!1,ne){for(;(Z=te[0])&&Z.id===q&&te.shift();)Z.unsubscribe();throw ne}}}const z=new E(M)},6936:(Ge,X,f)=>{"use strict";f.d(X,{P:()=>S,z:()=>_});var e=f(5417);const _=new(f(1010).v)(e.o),S=_},7654:(Ge,X,f)=>{"use strict";f.d(X,{l:()=>e});const e={now:()=>(e.delegate||Date).now(),delegate:void 0}},4915:(Ge,X,f)=>{"use strict";f.d(X,{N:()=>l});var e=f(5417);class t extends e.o{constructor(P,p){super(P,p),this.scheduler=P,this.work=p}schedule(P,p=0){return p>0?super.schedule(P,p):(this.delay=p,this.state=P,this.scheduler.flush(this),this)}execute(P,p){return p>0||this.closed?super.execute(P,p):this._execute(P,p)}requestAsyncId(P,p,L=0){return null!=L&&L>0||null==L&&this.delay>0?super.requestAsyncId(P,p,L):(P.flush(this),0)}}var _=f(1010);class S extends _.v{}const l=new S(t)},3542:(Ge,X,f)=>{"use strict";f.d(X,{z:()=>e});const e={setTimeout(t,_,...S){const{delegate:l}=e;return l?.setTimeout?l.setTimeout(t,_,...S):setTimeout(t,_,...S)},clearTimeout(t){const{delegate:_}=e;return(_?.clearTimeout||clearTimeout)(t)},delegate:void 0}},7321:(Ge,X,f)=>{"use strict";f.d(X,{h:()=>t});const t=function e(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4585:(Ge,X,f)=>{"use strict";f.d(X,{L:()=>e});const e="function"==typeof Symbol&&Symbol.observable||"@@observable"},4423:(Ge,X,f)=>{"use strict";f.d(X,{K:()=>t});const t=(0,f(7543).d)(_=>function(){_(this),this.name="EmptyError",this.message="no elements in sequence"})},420:(Ge,X,f)=>{"use strict";f.d(X,{_6:()=>D,jO:()=>S,yG:()=>l});var e=f(2971),t=f(9867);function _(d){return d[d.length-1]}function S(d){return(0,e.m)(_(d))?d.pop():void 0}function l(d){return(0,t.K)(_(d))?d.pop():void 0}function D(d,P){return"number"==typeof _(d)?d.pop():P}},5756:(Ge,X,f)=>{"use strict";f.d(X,{D:()=>l});const{isArray:e}=Array,{getPrototypeOf:t,prototype:_,keys:S}=Object;function l(d){if(1===d.length){const P=d[0];if(e(P))return{args:P,keys:null};if(function D(d){return d&&"object"==typeof d&&t(d)===_}(P)){const p=S(P);return{args:p.map(L=>P[L]),keys:p}}}return{args:d,keys:null}}},9663:(Ge,X,f)=>{"use strict";function e(t,_){if(t){const S=t.indexOf(_);0<=S&&t.splice(S,1)}}f.d(X,{P:()=>e})},7543:(Ge,X,f)=>{"use strict";function e(t){const S=t(l=>{Error.call(l),l.stack=(new Error).stack});return S.prototype=Object.create(Error.prototype),S.prototype.constructor=S,S}f.d(X,{d:()=>e})},1054:(Ge,X,f)=>{"use strict";function e(t,_){return t.reduce((S,l,D)=>(S[l]=_[D],S),{})}f.d(X,{n:()=>e})},2309:(Ge,X,f)=>{"use strict";f.d(X,{O:()=>S,x:()=>_});var e=f(9057);let t=null;function _(l){if(e.v.useDeprecatedSynchronousErrorHandling){const D=!t;if(D&&(t={errorThrown:!1,error:null}),l(),D){const{errorThrown:d,error:P}=t;if(t=null,d)throw P}}else l()}function S(l){e.v.useDeprecatedSynchronousErrorHandling&&t&&(t.errorThrown=!0,t.error=l)}},1817:(Ge,X,f)=>{"use strict";function e(t,_,S,l=0,D=!1){const d=_.schedule(function(){S(),D?t.add(this.schedule(null,l)):this.unsubscribe()},l);if(t.add(d),!D)return d}f.d(X,{f:()=>e})},9173:(Ge,X,f)=>{"use strict";function e(t){return t}f.d(X,{y:()=>e})},9806:(Ge,X,f)=>{"use strict";f.d(X,{z:()=>e});const e=t=>t&&"number"==typeof t.length&&"function"!=typeof t},470:(Ge,X,f)=>{"use strict";f.d(X,{D:()=>t});var e=f(2971);function t(_){return Symbol.asyncIterator&&(0,e.m)(_?.[Symbol.asyncIterator])}},7885:(Ge,X,f)=>{"use strict";function e(t){return t instanceof Date&&!isNaN(t)}f.d(X,{q:()=>e})},2971:(Ge,X,f)=>{"use strict";function e(t){return"function"==typeof t}f.d(X,{m:()=>e})},1331:(Ge,X,f)=>{"use strict";f.d(X,{c:()=>_});var e=f(4585),t=f(2971);function _(S){return(0,t.m)(S[e.L])}},3433:(Ge,X,f)=>{"use strict";f.d(X,{T:()=>_});var e=f(7321),t=f(2971);function _(S){return(0,t.m)(S?.[e.h])}},4437:(Ge,X,f)=>{"use strict";f.d(X,{b:()=>_});var e=f(833),t=f(2971);function _(S){return!!S&&(S instanceof e.y||(0,t.m)(S.lift)&&(0,t.m)(S.subscribe))}},9548:(Ge,X,f)=>{"use strict";f.d(X,{t:()=>t});var e=f(2971);function t(_){return(0,e.m)(_?.then)}},181:(Ge,X,f)=>{"use strict";f.d(X,{L:()=>S,Q:()=>_});var e=f(4929),t=f(2971);function _(l){return(0,e.FC)(this,arguments,function*(){const d=l.getReader();try{for(;;){const{value:P,done:p}=yield(0,e.qq)(d.read());if(p)return yield(0,e.qq)(void 0);yield yield(0,e.qq)(P)}}finally{d.releaseLock()}})}function S(l){return(0,t.m)(l?.getReader)}},9867:(Ge,X,f)=>{"use strict";f.d(X,{K:()=>t});var e=f(2971);function t(_){return _&&(0,e.m)(_.schedule)}},1944:(Ge,X,f)=>{"use strict";f.d(X,{A:()=>t,e:()=>_});var e=f(2971);function t(S){return(0,e.m)(S?.lift)}function _(S){return l=>{if(t(l))return l.lift(function(D){try{return S(D,this)}catch(d){this.error(d)}});throw new TypeError("Unable to lift unknown Observable type")}}},8385:(Ge,X,f)=>{"use strict";f.d(X,{Z:()=>S});var e=f(635);const{isArray:t}=Array;function S(l){return(0,e.U)(D=>function _(l,D){return t(D)?l(...D):l(D)}(l,D))}},9635:(Ge,X,f)=>{"use strict";function e(){}f.d(X,{Z:()=>e})},629:(Ge,X,f)=>{"use strict";f.d(X,{U:()=>_,z:()=>t});var e=f(9173);function t(...S){return _(S)}function _(S){return 0===S.length?e.y:1===S.length?S[0]:function(D){return S.reduce((d,P)=>P(d),D)}}},4709:(Ge,X,f)=>{"use strict";f.d(X,{h:()=>_});var e=f(9057),t=f(3542);function _(S){t.z.setTimeout(()=>{const{onUnhandledError:l}=e.v;if(!l)throw S;l(S)})}},7785:(Ge,X,f)=>{"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.`)}f.d(X,{z:()=>e})},9708:(Ge,X,f)=>{var e=f(3195),t=e.Buffer;function _(l,D){for(var d in l)D[d]=l[d]}function S(l,D,d){return t(l,D,d)}t.from&&t.alloc&&t.allocUnsafe&&t.allocUnsafeSlow?Ge.exports=e:(_(e,X),X.Buffer=S),S.prototype=Object.create(t.prototype),_(t,S),S.from=function(l,D,d){if("number"==typeof l)throw new TypeError("Argument must not be a number");return t(l,D,d)},S.alloc=function(l,D,d){if("number"!=typeof l)throw new TypeError("Argument must be a number");var P=t(l);return void 0!==D?"string"==typeof d?P.fill(D,d):P.fill(D):P.fill(0),P},S.allocUnsafe=function(l){if("number"!=typeof l)throw new TypeError("Argument must be a number");return t(l)},S.allocUnsafeSlow=function(l){if("number"!=typeof l)throw new TypeError("Argument must be a number");return e.SlowBuffer(l)}},4421:(Ge,X,f)=>{"use strict";var S,e=f(3195),t=e.Buffer,_={};for(S in e)!e.hasOwnProperty(S)||"SlowBuffer"===S||"Buffer"===S||(_[S]=e[S]);var l=_.Buffer={};for(S in t)!t.hasOwnProperty(S)||"allocUnsafe"===S||"allocUnsafeSlow"===S||(l[S]=t[S]);if(_.Buffer.prototype=t.prototype,(!l.from||l.from===Uint8Array.from)&&(l.from=function(D,d,P){if("number"==typeof D)throw new TypeError('The "value" argument must not be of type number. Received type '+typeof D);if(D&&typeof D.length>"u")throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof D);return t(D,d,P)}),l.alloc||(l.alloc=function(D,d,P){if("number"!=typeof D)throw new TypeError('The "size" argument must be of type number. Received type '+typeof D);if(D<0||D>=2*(1<<30))throw new RangeError('The value "'+D+'" is invalid for option "size"');var p=t(D);return d&&0!==d.length?"string"==typeof P?p.fill(d,P):p.fill(d):p.fill(0),p}),!_.kStringMaxLength)try{_.kStringMaxLength=process.binding("buffer").kStringMaxLength}catch{}_.constants||(_.constants={MAX_LENGTH:_.kMaxLength},_.kStringMaxLength&&(_.constants.MAX_STRING_LENGTH=_.kStringMaxLength)),Ge.exports=_},2443:(Ge,X,f)=>{var e=f(9708).Buffer;function t(_,S){this._block=e.alloc(_),this._finalSize=S,this._blockSize=_,this._len=0}t.prototype.update=function(_,S){"string"==typeof _&&(S=S||"utf8",_=e.from(_,S));for(var l=this._block,D=this._blockSize,d=_.length,P=this._len,p=0;p<d;){for(var L=P%D,M=Math.min(d-p,D-L),k=0;k<M;k++)l[L+k]=_[p+k];p+=M,(P+=M)%D==0&&this._update(l)}return this._len+=d,this},t.prototype.digest=function(_){var S=this._len%this._blockSize;this._block[S]=128,this._block.fill(0,S+1),S>=this._finalSize&&(this._update(this._block),this._block.fill(0));var l=8*this._len;if(l<=4294967295)this._block.writeUInt32BE(l,this._blockSize-4);else{var D=(4294967295&l)>>>0,d=(l-D)/4294967296;this._block.writeUInt32BE(d,this._blockSize-8),this._block.writeUInt32BE(D,this._blockSize-4)}this._update(this._block);var P=this._hash();return _?P.toString(_):P},t.prototype._update=function(){throw new Error("_update must be implemented by subclass")},Ge.exports=t},1001:(Ge,X,f)=>{var e=Ge.exports=function(_){_=_.toLowerCase();var S=e[_];if(!S)throw new Error(_+" is not supported (we accept pull requests)");return new S};e.sha=f(6216),e.sha1=f(442),e.sha224=f(3843),e.sha256=f(4507),e.sha384=f(8660),e.sha512=f(3544)},6216:(Ge,X,f)=>{var e=f(5035),t=f(2443),_=f(9708).Buffer,S=[1518500249,1859775393,-1894007588,-899497514],l=new Array(80);function D(){this.init(),this._w=l,t.call(this,64,56)}function d(L){return L<<5|L>>>27}function P(L){return L<<30|L>>>2}function p(L,M,k,E){return 0===L?M&k|~M&E:2===L?M&k|M&E|k&E:M^k^E}e(D,t),D.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},D.prototype._update=function(L){for(var M=this._w,k=0|this._a,E=0|this._b,z=0|this._c,I=0|this._d,V=0|this._e,Z=0;Z<16;++Z)M[Z]=L.readInt32BE(4*Z);for(;Z<80;++Z)M[Z]=M[Z-3]^M[Z-8]^M[Z-14]^M[Z-16];for(var q=0;q<80;++q){var te=~~(q/20),ne=d(k)+p(te,E,z,I)+V+M[q]+S[te]|0;V=I,I=z,z=P(E),E=k,k=ne}this._a=k+this._a|0,this._b=E+this._b|0,this._c=z+this._c|0,this._d=I+this._d|0,this._e=V+this._e|0},D.prototype._hash=function(){var L=_.allocUnsafe(20);return L.writeInt32BE(0|this._a,0),L.writeInt32BE(0|this._b,4),L.writeInt32BE(0|this._c,8),L.writeInt32BE(0|this._d,12),L.writeInt32BE(0|this._e,16),L},Ge.exports=D},442:(Ge,X,f)=>{var e=f(5035),t=f(2443),_=f(9708).Buffer,S=[1518500249,1859775393,-1894007588,-899497514],l=new Array(80);function D(){this.init(),this._w=l,t.call(this,64,56)}function d(M){return M<<1|M>>>31}function P(M){return M<<5|M>>>27}function p(M){return M<<30|M>>>2}function L(M,k,E,z){return 0===M?k&E|~k&z:2===M?k&E|k&z|E&z:k^E^z}e(D,t),D.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},D.prototype._update=function(M){for(var k=this._w,E=0|this._a,z=0|this._b,I=0|this._c,V=0|this._d,Z=0|this._e,q=0;q<16;++q)k[q]=M.readInt32BE(4*q);for(;q<80;++q)k[q]=d(k[q-3]^k[q-8]^k[q-14]^k[q-16]);for(var te=0;te<80;++te){var ne=~~(te/20),le=P(E)+L(ne,z,I,V)+Z+k[te]+S[ne]|0;Z=V,V=I,I=p(z),z=E,E=le}this._a=E+this._a|0,this._b=z+this._b|0,this._c=I+this._c|0,this._d=V+this._d|0,this._e=Z+this._e|0},D.prototype._hash=function(){var M=_.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},Ge.exports=D},3843:(Ge,X,f)=>{var e=f(5035),t=f(4507),_=f(2443),S=f(9708).Buffer,l=new Array(64);function D(){this.init(),this._w=l,_.call(this,64,56)}e(D,t),D.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},D.prototype._hash=function(){var d=S.allocUnsafe(28);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},Ge.exports=D},4507:(Ge,X,f)=>{var e=f(5035),t=f(2443),_=f(9708).Buffer,S=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],l=new Array(64);function D(){this.init(),this._w=l,t.call(this,64,56)}function d(E,z,I){return I^E&(z^I)}function P(E,z,I){return E&z|I&(E|z)}function p(E){return(E>>>2|E<<30)^(E>>>13|E<<19)^(E>>>22|E<<10)}function L(E){return(E>>>6|E<<26)^(E>>>11|E<<21)^(E>>>25|E<<7)}function M(E){return(E>>>7|E<<25)^(E>>>18|E<<14)^E>>>3}function k(E){return(E>>>17|E<<15)^(E>>>19|E<<13)^E>>>10}e(D,t),D.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},D.prototype._update=function(E){for(var z=this._w,I=0|this._a,V=0|this._b,Z=0|this._c,q=0|this._d,te=0|this._e,ne=0|this._f,le=0|this._g,re=0|this._h,_e=0;_e<16;++_e)z[_e]=E.readInt32BE(4*_e);for(;_e<64;++_e)z[_e]=k(z[_e-2])+z[_e-7]+M(z[_e-15])+z[_e-16]|0;for(var he=0;he<64;++he){var ae=re+L(te)+d(te,ne,le)+S[he]+z[he]|0,ve=p(I)+P(I,V,Z)|0;re=le,le=ne,ne=te,te=q+ae|0,q=Z,Z=V,V=I,I=ae+ve|0}this._a=I+this._a|0,this._b=V+this._b|0,this._c=Z+this._c|0,this._d=q+this._d|0,this._e=te+this._e|0,this._f=ne+this._f|0,this._g=le+this._g|0,this._h=re+this._h|0},D.prototype._hash=function(){var E=_.allocUnsafe(32);return E.writeInt32BE(this._a,0),E.writeInt32BE(this._b,4),E.writeInt32BE(this._c,8),E.writeInt32BE(this._d,12),E.writeInt32BE(this._e,16),E.writeInt32BE(this._f,20),E.writeInt32BE(this._g,24),E.writeInt32BE(this._h,28),E},Ge.exports=D},8660:(Ge,X,f)=>{var e=f(5035),t=f(3544),_=f(2443),S=f(9708).Buffer,l=new Array(160);function D(){this.init(),this._w=l,_.call(this,128,112)}e(D,t),D.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},D.prototype._hash=function(){var d=S.allocUnsafe(48);function P(p,L,M){d.writeInt32BE(p,M),d.writeInt32BE(L,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),d},Ge.exports=D},3544:(Ge,X,f)=>{var e=f(5035),t=f(2443),_=f(9708).Buffer,S=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],l=new Array(160);function D(){this.init(),this._w=l,t.call(this,128,112)}function d(V,Z,q){return q^V&(Z^q)}function P(V,Z,q){return V&Z|q&(V|Z)}function p(V,Z){return(V>>>28|Z<<4)^(Z>>>2|V<<30)^(Z>>>7|V<<25)}function L(V,Z){return(V>>>14|Z<<18)^(V>>>18|Z<<14)^(Z>>>9|V<<23)}function M(V,Z){return(V>>>1|Z<<31)^(V>>>8|Z<<24)^V>>>7}function k(V,Z){return(V>>>1|Z<<31)^(V>>>8|Z<<24)^(V>>>7|Z<<25)}function E(V,Z){return(V>>>19|Z<<13)^(Z>>>29|V<<3)^V>>>6}function z(V,Z){return(V>>>19|Z<<13)^(Z>>>29|V<<3)^(V>>>6|Z<<26)}function I(V,Z){return V>>>0<Z>>>0?1:0}e(D,t),D.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},D.prototype._update=function(V){for(var Z=this._w,q=0|this._ah,te=0|this._bh,ne=0|this._ch,le=0|this._dh,re=0|this._eh,_e=0|this._fh,he=0|this._gh,ae=0|this._hh,ve=0|this._al,T=0|this._bl,i=0|this._cl,o=0|this._dl,m=0|this._el,h=0|this._fl,y=0|this._gl,A=0|this._hl,R=0;R<32;R+=2)Z[R]=V.readInt32BE(4*R),Z[R+1]=V.readInt32BE(4*R+4);for(;R<160;R+=2){var v=Z[R-30],a=Z[R-30+1],C=M(v,a),U=k(a,v),N=E(v=Z[R-4],a=Z[R-4+1]),Q=z(a,v),Pe=Z[R-14],Le=Z[R-14+1],Ye=Z[R-32],$e=Z[R-32+1],Ve=U+Le|0,be=C+Pe+I(Ve,U)|0;be=(be=be+N+I(Ve=Ve+Q|0,Q)|0)+Ye+I(Ve=Ve+$e|0,$e)|0,Z[R]=be,Z[R+1]=Ve}for(var et=0;et<160;et+=2){be=Z[et],Ve=Z[et+1];var je=P(q,te,ne),ye=P(ve,T,i),Te=p(q,ve),He=p(ve,q),Ee=L(re,m),we=L(m,re),de=S[et],Me=S[et+1],ie=d(re,_e,he),G=d(m,h,y),$=A+we|0,ze=ae+Ee+I($,A)|0;ze=(ze=(ze=ze+ie+I($=$+G|0,G)|0)+de+I($=$+Me|0,Me)|0)+be+I($=$+Ve|0,Ve)|0;var Ue=He+ye|0,oe=Te+je+I(Ue,He)|0;ae=he,A=y,he=_e,y=h,_e=re,h=m,re=le+ze+I(m=o+$|0,o)|0,le=ne,o=i,ne=te,i=T,te=q,T=ve,q=ze+oe+I(ve=$+Ue|0,$)|0}this._al=this._al+ve|0,this._bl=this._bl+T|0,this._cl=this._cl+i|0,this._dl=this._dl+o|0,this._el=this._el+m|0,this._fl=this._fl+h|0,this._gl=this._gl+y|0,this._hl=this._hl+A|0,this._ah=this._ah+q+I(this._al,ve)|0,this._bh=this._bh+te+I(this._bl,T)|0,this._ch=this._ch+ne+I(this._cl,i)|0,this._dh=this._dh+le+I(this._dl,o)|0,this._eh=this._eh+re+I(this._el,m)|0,this._fh=this._fh+_e+I(this._fl,h)|0,this._gh=this._gh+he+I(this._gl,y)|0,this._hh=this._hh+ae+I(this._hl,A)|0},D.prototype._hash=function(){var V=_.allocUnsafe(64);function Z(q,te,ne){V.writeInt32BE(q,ne),V.writeInt32BE(te,ne+4)}return Z(this._ah,this._al,0),Z(this._bh,this._bl,8),Z(this._ch,this._cl,16),Z(this._dh,this._dl,24),Z(this._eh,this._el,32),Z(this._fh,this._fl,40),Z(this._gh,this._gl,48),Z(this._hh,this._hl,56),V},Ge.exports=D},9591:function(Ge,X,f){!function(e){"use strict";var t={};Ge.exports?(t.bytesToHex=f(4123).bytesToHex,t.convertString=f(4056),Ge.exports=P):(t.bytesToHex=e.convertHex.bytesToHex,t.convertString=e.convertString,e.sha256=P);var _=[];!function(){function p(E){for(var z=Math.sqrt(E),I=2;I<=z;I++)if(!(E%I))return!1;return!0}for(var M=2,k=0;k<64;)p(M)&&(_[k]=4294967296*((E=Math.pow(M,1/3))-(0|E))|0,k++),M++;var E}();var D=[],d=function(p,L,M){for(var k=p[0],E=p[1],z=p[2],I=p[3],V=p[4],Z=p[5],q=p[6],te=p[7],ne=0;ne<64;ne++){if(ne<16)D[ne]=0|L[M+ne];else{var le=D[ne-15],re=(le<<25|le>>>7)^(le<<14|le>>>18)^le>>>3,_e=D[ne-2],he=(_e<<15|_e>>>17)^(_e<<13|_e>>>19)^_e>>>10;D[ne]=re+D[ne-7]+he+D[ne-16]}var ve=k&E^k&z^E&z,T=(k<<30|k>>>2)^(k<<19|k>>>13)^(k<<10|k>>>22),o=te+((V<<26|V>>>6)^(V<<21|V>>>11)^(V<<7|V>>>25))+(V&Z^~V&q)+_[ne]+D[ne];te=q,q=Z,Z=V,V=I+o|0,I=z,z=E,E=k,k=o+(T+ve)|0}p[0]=p[0]+k|0,p[1]=p[1]+E|0,p[2]=p[2]+z|0,p[3]=p[3]+I|0,p[4]=p[4]+V|0,p[5]=p[5]+Z|0,p[6]=p[6]+q|0,p[7]=p[7]+te|0};function P(p,L){p.constructor===String&&(p=t.convertString.UTF8.stringToBytes(p));var M=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],k=function(p){for(var L=[],M=0,k=0;M<p.length;M++,k+=8)L[k>>>5]|=p[M]<<24-k%32;return L}(p),E=8*p.length;k[E>>5]|=128<<24-E%32,k[15+(E+64>>9<<4)]=E;for(var z=0;z<k.length;z+=16)d(M,k,z);var I=function(p){for(var L=[],M=0;M<32*p.length;M+=8)L.push(p[M>>>5]>>>24-M%32&255);return L}(M);return L&&L.asBytes?I:L&&L.asString?t.convertString.bytesToString(I):t.bytesToHex(I)}P.x2=function(p,L){return P(P(p,{asBytes:!0}),L)}}(this)},9046:(Ge,X,f)=>{"use strict";const e=Symbol.prototype.valueOf,t=f(8220);Ge.exports=function _(p,L){switch(t(p)){case"array":return p.slice();case"object":return Object.assign({},p);case"date":return new p.constructor(Number(p));case"map":return new Map(p);case"set":return new Set(p);case"buffer":return function d(p){const L=p.length,M=Buffer.allocUnsafe?Buffer.allocUnsafe(L):Buffer.from(L);return p.copy(M),M}(p);case"symbol":return function P(p){return e?Object(e.call(p)):{}}(p);case"arraybuffer":return function l(p){const L=new p.constructor(p.byteLength);return new Uint8Array(L).set(new Uint8Array(p)),L}(p);case"float32array":case"float64array":case"int16array":case"int32array":case"int8array":case"uint16array":case"uint32array":case"uint8clampedarray":case"uint8array":return function D(p,L){return new p.constructor(p.buffer,p.byteOffset,p.length)}(p);case"regexp":return function S(p){const L=void 0!==p.flags?p.flags:/\w+$/.exec(p)||void 0,M=new p.constructor(p.source,L);return M.lastIndex=p.lastIndex,M}(p);case"error":return Object.create(p);default:return p}}},574:(Ge,X,f)=>{Ge.exports=_;var e=f(3358).EventEmitter;function _(){e.call(this)}f(5035)(_,e),_.Readable=f(1396),_.Writable=f(1120),_.Duplex=f(9800),_.Transform=f(8157),_.PassThrough=f(1908),_.finished=f(7722),_.pipeline=f(8096),_.Stream=_,_.prototype.pipe=function(S,l){var D=this;function d(z){S.writable&&!1===S.write(z)&&D.pause&&D.pause()}function P(){D.readable&&D.resume&&D.resume()}D.on("data",d),S.on("drain",P),!S._isStdio&&(!l||!1!==l.end)&&(D.on("end",L),D.on("close",M));var p=!1;function L(){p||(p=!0,S.end())}function M(){p||(p=!0,"function"==typeof S.destroy&&S.destroy())}function k(z){if(E(),0===e.listenerCount(this,"error"))throw z}function E(){D.removeListener("data",d),S.removeListener("drain",P),D.removeListener("end",L),D.removeListener("close",M),D.removeListener("error",k),S.removeListener("error",k),D.removeListener("end",E),D.removeListener("close",E),S.removeListener("close",E)}return D.on("error",k),S.on("error",k),D.on("end",E),D.on("close",E),S.on("close",E),S.emit("pipe",D),S}},4547:(Ge,X,f)=>{"use strict";var e=f(9708).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 l(q){var te;switch(this.encoding=function S(q){var te=function _(q){if(!q)return"utf8";for(var te;;)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(te)return;q=(""+q).toLowerCase(),te=!0}}(q);if("string"!=typeof te&&(e.isEncoding===t||!t(q)))throw new Error("Unknown encoding: "+q);return te||q}(q),this.encoding){case"utf16le":this.text=k,this.end=E,te=4;break;case"utf8":this.fillLast=p,te=4;break;case"base64":this.text=z,this.end=I,te=3;break;default:return this.write=V,void(this.end=Z)}this.lastNeed=0,this.lastTotal=0,this.lastChar=e.allocUnsafe(te)}function D(q){return q<=127?0:q>>5==6?2:q>>4==14?3:q>>3==30?4:q>>6==2?-1:-2}function p(q){var te=this.lastTotal-this.lastNeed,ne=function P(q,te,ne){if(128!=(192&te[0]))return q.lastNeed=0,"\ufffd";if(q.lastNeed>1&&te.length>1){if(128!=(192&te[1]))return q.lastNeed=1,"\ufffd";if(q.lastNeed>2&&te.length>2&&128!=(192&te[2]))return q.lastNeed=2,"\ufffd"}}(this,q);return void 0!==ne?ne:this.lastNeed<=q.length?(q.copy(this.lastChar,te,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(q.copy(this.lastChar,te,0,q.length),void(this.lastNeed-=q.length))}function k(q,te){if((q.length-te)%2==0){var ne=q.toString("utf16le",te);if(ne){var le=ne.charCodeAt(ne.length-1);if(le>=55296&&le<=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",te,q.length-1)}function E(q){var te=q&&q.length?this.write(q):"";if(this.lastNeed){var ne=this.lastTotal-this.lastNeed;return te+this.lastChar.toString("utf16le",0,ne)}return te}function z(q,te){var ne=(q.length-te)%3;return 0===ne?q.toString("base64",te):(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",te,q.length-ne))}function I(q){var te=q&&q.length?this.write(q):"";return this.lastNeed?te+this.lastChar.toString("base64",0,3-this.lastNeed):te}function V(q){return q.toString(this.encoding)}function Z(q){return q&&q.length?this.write(q):""}X.s=l,l.prototype.write=function(q){if(0===q.length)return"";var te,ne;if(this.lastNeed){if(void 0===(te=this.fillLast(q)))return"";ne=this.lastNeed,this.lastNeed=0}else ne=0;return ne<q.length?te?te+this.text(q,ne):this.text(q,ne):te||""},l.prototype.end=function M(q){var te=q&&q.length?this.write(q):"";return this.lastNeed?te+"\ufffd":te},l.prototype.text=function L(q,te){var ne=function d(q,te,ne){var le=te.length-1;if(le<ne)return 0;var re=D(te[le]);return re>=0?(re>0&&(q.lastNeed=re-1),re):--le<ne||-2===re?0:(re=D(te[le]))>=0?(re>0&&(q.lastNeed=re-2),re):--le<ne||-2===re?0:(re=D(te[le]))>=0?(re>0&&(2===re?re=0:q.lastNeed=re-3),re):0}(this,q,te);if(!this.lastNeed)return q.toString("utf8",te);this.lastTotal=ne;var le=q.length-(ne-this.lastNeed);return q.copy(this.lastChar,0,le),q.toString("utf8",te,le)},l.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}},917:(Ge,X,f)=>{var e=f(1546);X.encode=e.encode,X.decode=e.decode},1546:(Ge,X)=>{"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];X.encode=function(_){Buffer.isBuffer(_)||(_=new Buffer(_));for(var S=0,l=0,D=0,d=0,P=new Buffer(8*function t(_){var S=Math.floor(_.length/5);return _.length%5==0?S:S+1}(_));S<_.length;){var p=_[S];D>3?(d=(d=p&255>>D)<<(D=(D+5)%8)|(S+1<_.length?_[S+1]:0)>>8-D,S++):(d=p>>8-(D+5)&31,0===(D=(D+5)%8)&&S++),P[l]="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567".charCodeAt(d),l++}for(S=l;S<P.length;S++)P[S]=61;return P},X.decode=function(_){var D,S=0,l=0,d=0;Buffer.isBuffer(_)||(_=new Buffer(_));for(var P=new Buffer(Math.ceil(5*_.length/8)),p=0;p<_.length&&61!==_[p];p++){var L=_[p]-48;if(!(L<e.length))throw new Error("Invalid input - it is not base32 encoded string");l=e[L],S<=3?0===(S=(S+5)%8)?(D|=l,P[d]=D,d++,D=0):D|=255&l<<8-S:(D|=255&l>>>(S=(S+5)%8),P[d]=D,d++,D=255&l<<8-S)}return P.slice(0,d)}},8059:Ge=>{function f(e){try{if(!global.localStorage)return!1}catch{return!1}var t=global.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}Ge.exports=function X(e,t){if(f("noDeprecation"))return e;var _=!1;return function S(){if(!_){if(f("throwDeprecation"))throw new Error(t);f("traceDeprecation")?console.trace(t):console.warn(t),_=!0}return e.apply(this,arguments)}}},4929:(Ge,X,f)=>{"use strict";f.d(X,{FC:()=>q,KL:()=>ne,gn:()=>l,mG:()=>P,qq:()=>Z});function l(i,o,m,h){var R,y=arguments.length,A=y<3?o:null===h?h=Object.getOwnPropertyDescriptor(o,m):h;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)A=Reflect.decorate(i,o,m,h);else for(var v=i.length-1;v>=0;v--)(R=i[v])&&(A=(y<3?R(A):y>3?R(o,m,A):R(o,m))||A);return y>3&&A&&Object.defineProperty(o,m,A),A}function P(i,o,m,h){return new(m||(m=Promise))(function(A,R){function v(U){try{C(h.next(U))}catch(N){R(N)}}function a(U){try{C(h.throw(U))}catch(N){R(N)}}function C(U){U.done?A(U.value):function y(A){return A instanceof m?A:new m(function(R){R(A)})}(U.value).then(v,a)}C((h=h.apply(i,o||[])).next())})}Object.create;function k(i){var o="function"==typeof Symbol&&Symbol.iterator,m=o&&i[o],h=0;if(m)return m.call(i);if(i&&"number"==typeof i.length)return{next:function(){return i&&h>=i.length&&(i=void 0),{value:i&&i[h++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")}function Z(i){return this instanceof Z?(this.v=i,this):new Z(i)}function q(i,o,m){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var y,h=m.apply(i,o||[]),A=[];return y={},R("next"),R("throw"),R("return"),y[Symbol.asyncIterator]=function(){return this},y;function R(Q){h[Q]&&(y[Q]=function(Pe){return new Promise(function(Le,Ye){A.push([Q,Pe,Le,Ye])>1||v(Q,Pe)})})}function v(Q,Pe){try{!function a(Q){Q.value instanceof Z?Promise.resolve(Q.value.v).then(C,U):N(A[0][2],Q)}(h[Q](Pe))}catch(Le){N(A[0][3],Le)}}function C(Q){v("next",Q)}function U(Q){v("throw",Q)}function N(Q,Pe){Q(Pe),A.shift(),A.length&&v(A[0][0],A[0][1])}}function ne(i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var m,o=i[Symbol.asyncIterator];return o?o.call(i):(i=k(i),m={},h("next"),h("throw"),h("return"),m[Symbol.asyncIterator]=function(){return this},m);function h(A){m[A]=i[A]&&function(R){return new Promise(function(v,a){(function y(A,R,v,a){Promise.resolve(a).then(function(C){A({value:C,done:v})},R)})(v,a,(R=i[A](R)).done,R.value)})}}}Object.create},950:()=>{},6601:()=>{},8623:()=>{},7748:()=>{},5568:()=>{},6619:()=>{},7108:()=>{},2361:()=>{},4616:()=>{},4851:(Ge,X,f)=>{"use strict";f.d(X,{F4:()=>L,IO:()=>I,LC:()=>t,SB:()=>p,X$:()=>S,ZE:()=>te,ZN:()=>q,_j:()=>e,eR:()=>M,jt:()=>l,k1:()=>ne,l3:()=>_,oB:()=>P,pV:()=>E,ru:()=>D,vP:()=>d});class e{}class t{}const _="*";function S(le,re){return{type:7,name:le,definitions:re,options:{}}}function l(le,re=null){return{type:4,styles:re,timings:le}}function D(le,re=null){return{type:3,steps:le,options:re}}function d(le,re=null){return{type:2,steps:le,options:re}}function P(le){return{type:6,styles:le,offset:null}}function p(le,re,_e){return{type:0,name:le,styles:re,options:_e}}function L(le){return{type:5,steps:le}}function M(le,re,_e=null){return{type:1,expr:le,animation:re,options:_e}}function E(le=null){return{type:9,options:le}}function I(le,re,_e=null){return{type:11,selector:le,animation:re,options:_e}}function Z(le){Promise.resolve().then(le)}class q{constructor(re=0,_e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=re+_e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(re=>re()),this._onDoneFns=[])}onStart(re){this._originalOnStartFns.push(re),this._onStartFns.push(re)}onDone(re){this._originalOnDoneFns.push(re),this._onDoneFns.push(re)}onDestroy(re){this._onDestroyFns.push(re)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Z(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(re=>re()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(re=>re()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(re){this._position=this.totalTime?re*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(re){const _e="start"==re?this._onStartFns:this._onDoneFns;_e.forEach(he=>he()),_e.length=0}}class te{constructor(re){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=re;let _e=0,he=0,ae=0;const ve=this.players.length;0==ve?Z(()=>this._onFinish()):this.players.forEach(T=>{T.onDone(()=>{++_e==ve&&this._onFinish()}),T.onDestroy(()=>{++he==ve&&this._onDestroy()}),T.onStart(()=>{++ae==ve&&this._onStart()})}),this.totalTime=this.players.reduce((T,i)=>Math.max(T,i.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(re=>re()),this._onDoneFns=[])}init(){this.players.forEach(re=>re.init())}onStart(re){this._onStartFns.push(re)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(re=>re()),this._onStartFns=[])}onDone(re){this._onDoneFns.push(re)}onDestroy(re){this._onDestroyFns.push(re)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(re=>re.play())}pause(){this.players.forEach(re=>re.pause())}restart(){this.players.forEach(re=>re.restart())}finish(){this._onFinish(),this.players.forEach(re=>re.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(re=>re.destroy()),this._onDestroyFns.forEach(re=>re()),this._onDestroyFns=[])}reset(){this.players.forEach(re=>re.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(re){const _e=re*this.totalTime;this.players.forEach(he=>{const ae=he.totalTime?Math.min(1,_e/he.totalTime):1;he.setPosition(ae)})}getPosition(){const re=this.players.reduce((_e,he)=>null===_e||he.totalTime>_e.totalTime?he:_e,null);return null!=re?re.getPosition():0}beforeDestroy(){this.players.forEach(re=>{re.beforeDestroy&&re.beforeDestroy()})}triggerCallback(re){const _e="start"==re?this._onStartFns:this._onDoneFns;_e.forEach(he=>he()),_e.length=0}}const ne="!"},4218:(Ge,X,f)=>{"use strict";f.d(X,{$s:()=>i,Em:()=>A,Kd:()=>rt,X6:()=>ie,ic:()=>v,kH:()=>oi,mK:()=>Te,qV:()=>ye,qm:()=>Bt,rt:()=>Je,s1:()=>y,tE:()=>gi,yG:()=>G});var e=f(4666),t=f(2560),_=f(9107),S=f(253),l=f(7714),D=f(6317),d=f(745),P=f(8456),p=f(9337),L=f(1989),M=f(116),k=f(635),E=f(9295),z=f(7260),I=f(8977),V=f(8951),Z=f(8971),q=f(3773),te=f(3278);function _e(me,K){return(me.getAttribute(K)||"").match(/\S+/g)||[]}const ae="cdk-describedby-message",ve="cdk-describedby-host";let T=0;class i{constructor(K,J){this._platform=J,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+T++,this._document=K,this._id=(0,t.f3M)(t.AFp)+"-"+T++}describe(K,J,Ce){if(!this._canBeDescribed(K,J))return;const We=o(J,Ce);"string"!=typeof J?(m(J,this._id),this._messageRegistry.set(We,{messageElement:J,referenceCount:0})):this._messageRegistry.has(We)||this._createMessageElement(J,Ce),this._isElementDescribedByMessage(K,We)||this._addMessageReference(K,We)}removeDescription(K,J,Ce){if(!J||!this._isElementNode(K))return;const We=o(J,Ce);if(this._isElementDescribedByMessage(K,We)&&this._removeMessageReference(K,We),"string"==typeof J){const Mt=this._messageRegistry.get(We);Mt&&0===Mt.referenceCount&&this._deleteMessageElement(We)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const K=this._document.querySelectorAll(`[${ve}="${this._id}"]`);for(let J=0;J<K.length;J++)this._removeCdkDescribedByReferenceIds(K[J]),K[J].removeAttribute(ve);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(K,J){const Ce=this._document.createElement("div");m(Ce,this._id),Ce.textContent=K,J&&Ce.setAttribute("role",J),this._createMessagesContainer(),this._messagesContainer.appendChild(Ce),this._messageRegistry.set(o(K,J),{messageElement:Ce,referenceCount:0})}_deleteMessageElement(K){this._messageRegistry.get(K)?.messageElement?.remove(),this._messageRegistry.delete(K)}_createMessagesContainer(){if(this._messagesContainer)return;const K="cdk-describedby-message-container",J=this._document.querySelectorAll(`.${K}[platform="server"]`);for(let We=0;We<J.length;We++)J[We].remove();const Ce=this._document.createElement("div");Ce.style.visibility="hidden",Ce.classList.add(K),Ce.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&Ce.setAttribute("platform","server"),this._document.body.appendChild(Ce),this._messagesContainer=Ce}_removeCdkDescribedByReferenceIds(K){const J=_e(K,"aria-describedby").filter(Ce=>0!=Ce.indexOf(ae));K.setAttribute("aria-describedby",J.join(" "))}_addMessageReference(K,J){const Ce=this._messageRegistry.get(J);(function le(me,K,J){const Ce=_e(me,K);Ce.some(We=>We.trim()==J.trim())||(Ce.push(J.trim()),me.setAttribute(K,Ce.join(" ")))})(K,"aria-describedby",Ce.messageElement.id),K.setAttribute(ve,this._id),Ce.referenceCount++}_removeMessageReference(K,J){const Ce=this._messageRegistry.get(J);Ce.referenceCount--,function re(me,K,J){const We=_e(me,K).filter(Mt=>Mt!=J.trim());We.length?me.setAttribute(K,We.join(" ")):me.removeAttribute(K)}(K,"aria-describedby",Ce.messageElement.id),K.removeAttribute(ve)}_isElementDescribedByMessage(K,J){const Ce=_e(K,"aria-describedby"),We=this._messageRegistry.get(J),Mt=We&&We.messageElement.id;return!!Mt&&-1!=Ce.indexOf(Mt)}_canBeDescribed(K,J){if(!this._isElementNode(K))return!1;if(J&&"object"==typeof J)return!0;const Ce=null==J?"":`${J}`.trim(),We=K.getAttribute("aria-label");return!!Ce&&(!We||We.trim()!==Ce)}_isElementNode(K){return K.nodeType===this._document.ELEMENT_NODE}}function o(me,K){return"string"==typeof me?`${K||""}/${me}`:me}function m(me,K){me.id||(me.id=`${ae}-${K}-${T++}`)}i.\u0275fac=function(K){return new(K||i)(t.LFG(e.K0),t.LFG(_.t4))},i.\u0275prov=t.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"});class h{constructor(K){this._items=K,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new S.x,this._typeaheadSubscription=l.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=J=>J.disabled,this._pressedLetters=[],this.tabOut=new S.x,this.change=new S.x,K instanceof t.n_E&&(this._itemChangesSubscription=K.changes.subscribe(J=>{if(this._activeItem){const We=J.toArray().indexOf(this._activeItem);We>-1&&We!==this._activeItemIndex&&(this._activeItemIndex=We)}}))}skipPredicate(K){return this._skipPredicateFn=K,this}withWrap(K=!0){return this._wrap=K,this}withVerticalOrientation(K=!0){return this._vertical=K,this}withHorizontalOrientation(K){return this._horizontal=K,this}withAllowedModifierKeys(K){return this._allowedModifierKeys=K,this}withTypeAhead(K=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,p.b)(J=>this._pressedLetters.push(J)),(0,L.b)(K),(0,M.h)(()=>this._pressedLetters.length>0),(0,k.U)(()=>this._pressedLetters.join(""))).subscribe(J=>{const Ce=this._getItemsArray();for(let We=1;We<Ce.length+1;We++){const Mt=(this._activeItemIndex+We)%Ce.length,Tt=Ce[Mt];if(!this._skipPredicateFn(Tt)&&0===Tt.getLabel().toUpperCase().trim().indexOf(J)){this.setActiveItem(Mt);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(K=!0){return this._homeAndEnd=K,this}withPageUpDown(K=!0,J=10){return this._pageUpAndDown={enabled:K,delta:J},this}setActiveItem(K){const J=this._activeItem;this.updateActiveItem(K),this._activeItem!==J&&this.change.next(this._activeItemIndex)}onKeydown(K){const J=K.keyCode,We=["altKey","ctrlKey","metaKey","shiftKey"].every(Mt=>!K[Mt]||this._allowedModifierKeys.indexOf(Mt)>-1);switch(J){case P.Mf:return void this.tabOut.next();case P.JH:if(this._vertical&&We){this.setNextItemActive();break}return;case P.LH:if(this._vertical&&We){this.setPreviousItemActive();break}return;case P.SV:if(this._horizontal&&We){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case P.oh:if(this._horizontal&&We){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case P.Sd:if(this._homeAndEnd&&We){this.setFirstItemActive();break}return;case P.uR:if(this._homeAndEnd&&We){this.setLastItemActive();break}return;case P.Ku:if(this._pageUpAndDown.enabled&&We){const Mt=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(Mt>0?Mt:0,1);break}return;case P.VM:if(this._pageUpAndDown.enabled&&We){const Mt=this._activeItemIndex+this._pageUpAndDown.delta,Tt=this._getItemsArray().length;this._setActiveItemByIndex(Mt<Tt?Mt:Tt-1,-1);break}return;default:return void((We||(0,P.Vb)(K,"shiftKey"))&&(K.key&&1===K.key.length?this._letterKeyStream.next(K.key.toLocaleUpperCase()):(J>=P.A&&J<=P.Z||J>=P.xE&&J<=P.aO)&&this._letterKeyStream.next(String.fromCharCode(J))))}this._pressedLetters=[],K.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(K){const J=this._getItemsArray(),Ce="number"==typeof K?K:J.indexOf(K),We=J[Ce];this._activeItem=We??null,this._activeItemIndex=Ce}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(K){this._wrap?this._setActiveInWrapMode(K):this._setActiveInDefaultMode(K)}_setActiveInWrapMode(K){const J=this._getItemsArray();for(let Ce=1;Ce<=J.length;Ce++){const We=(this._activeItemIndex+K*Ce+J.length)%J.length,Mt=J[We];if(!this._skipPredicateFn(Mt))return void this.setActiveItem(We)}}_setActiveInDefaultMode(K){this._setActiveItemByIndex(this._activeItemIndex+K,K)}_setActiveItemByIndex(K,J){const Ce=this._getItemsArray();if(Ce[K]){for(;this._skipPredicateFn(Ce[K]);)if(!Ce[K+=J])return;this.setActiveItem(K)}}_getItemsArray(){return this._items instanceof t.n_E?this._items.toArray():this._items}}class y extends h{setActiveItem(K){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(K),this.activeItem&&this.activeItem.setActiveStyles()}}class A extends h{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(K){return this._origin=K,this}setActiveItem(K){super.setActiveItem(K),this.activeItem&&this.activeItem.focus(this._origin)}}class v{constructor(K){this._platform=K}isDisabled(K){return K.hasAttribute("disabled")}isVisible(K){return function C(me){return!!(me.offsetWidth||me.offsetHeight||"function"==typeof me.getClientRects&&me.getClientRects().length)}(K)&&"visible"===getComputedStyle(K).visibility}isTabbable(K){if(!this._platform.isBrowser)return!1;const J=function a(me){try{return me.frameElement}catch{return null}}(function et(me){return me.ownerDocument&&me.ownerDocument.defaultView||window}(K));if(J&&(-1===$e(J)||!this.isVisible(J)))return!1;let Ce=K.nodeName.toLowerCase(),We=$e(K);return K.hasAttribute("contenteditable")?-1!==We:!("iframe"===Ce||"object"===Ce||this._platform.WEBKIT&&this._platform.IOS&&!function Ve(me){let K=me.nodeName.toLowerCase(),J="input"===K&&me.type;return"text"===J||"password"===J||"select"===K||"textarea"===K}(K))&&("audio"===Ce?!!K.hasAttribute("controls")&&-1!==We:"video"===Ce?-1!==We&&(null!==We||(this._platform.FIREFOX||K.hasAttribute("controls"))):K.tabIndex>=0)}isFocusable(K,J){return function be(me){return!function N(me){return function Pe(me){return"input"==me.nodeName.toLowerCase()}(me)&&"hidden"==me.type}(me)&&(function U(me){let K=me.nodeName.toLowerCase();return"input"===K||"select"===K||"button"===K||"textarea"===K}(me)||function Q(me){return function Le(me){return"a"==me.nodeName.toLowerCase()}(me)&&me.hasAttribute("href")}(me)||me.hasAttribute("contenteditable")||Ye(me))}(K)&&!this.isDisabled(K)&&(J?.ignoreVisibility||this.isVisible(K))}}function Ye(me){if(!me.hasAttribute("tabindex")||void 0===me.tabIndex)return!1;let K=me.getAttribute("tabindex");return!(!K||isNaN(parseInt(K,10)))}function $e(me){if(!Ye(me))return null;const K=parseInt(me.getAttribute("tabindex")||"",10);return isNaN(K)?-1:K}v.\u0275fac=function(K){return new(K||v)(t.LFG(_.t4))},v.\u0275prov=t.Yz7({token:v,factory:v.\u0275fac,providedIn:"root"});class je{constructor(K,J,Ce,We,Mt=!1){this._element=K,this._checker=J,this._ngZone=Ce,this._document=We,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,Mt||this.attachAnchors()}get enabled(){return this._enabled}set enabled(K){this._enabled=K,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(K,this._startAnchor),this._toggleAnchorTabIndex(K,this._endAnchor))}destroy(){const K=this._startAnchor,J=this._endAnchor;K&&(K.removeEventListener("focus",this.startAnchorListener),K.remove()),J&&(J.removeEventListener("focus",this.endAnchorListener),J.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(K){return new Promise(J=>{this._executeOnStable(()=>J(this.focusInitialElement(K)))})}focusFirstTabbableElementWhenReady(K){return new Promise(J=>{this._executeOnStable(()=>J(this.focusFirstTabbableElement(K)))})}focusLastTabbableElementWhenReady(K){return new Promise(J=>{this._executeOnStable(()=>J(this.focusLastTabbableElement(K)))})}_getRegionBoundary(K){const J=this._element.querySelectorAll(`[cdk-focus-region-${K}], [cdkFocusRegion${K}], [cdk-focus-${K}]`);return"start"==K?J.length?J[0]:this._getFirstTabbableElement(this._element):J.length?J[J.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(K){const J=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(J){if(!this._checker.isFocusable(J)){const Ce=this._getFirstTabbableElement(J);return Ce?.focus(K),!!Ce}return J.focus(K),!0}return this.focusFirstTabbableElement(K)}focusFirstTabbableElement(K){const J=this._getRegionBoundary("start");return J&&J.focus(K),!!J}focusLastTabbableElement(K){const J=this._getRegionBoundary("end");return J&&J.focus(K),!!J}hasAttached(){return this._hasAttached}_getFirstTabbableElement(K){if(this._checker.isFocusable(K)&&this._checker.isTabbable(K))return K;const J=K.children;for(let Ce=0;Ce<J.length;Ce++){const We=J[Ce].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(J[Ce]):null;if(We)return We}return null}_getLastTabbableElement(K){if(this._checker.isFocusable(K)&&this._checker.isTabbable(K))return K;const J=K.children;for(let Ce=J.length-1;Ce>=0;Ce--){const We=J[Ce].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(J[Ce]):null;if(We)return We}return null}_createAnchor(){const K=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,K),K.classList.add("cdk-visually-hidden"),K.classList.add("cdk-focus-trap-anchor"),K.setAttribute("aria-hidden","true"),K}_toggleAnchorTabIndex(K,J){K?J.setAttribute("tabindex","0"):J.removeAttribute("tabindex")}toggleAnchors(K){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(K,this._startAnchor),this._toggleAnchorTabIndex(K,this._endAnchor))}_executeOnStable(K){this._ngZone.isStable?K():this._ngZone.onStable.pipe((0,E.q)(1)).subscribe(K)}}class ye{constructor(K,J,Ce){this._checker=K,this._ngZone=J,this._document=Ce}create(K,J=!1){return new je(K,this._checker,this._ngZone,this._document,J)}}ye.\u0275fac=function(K){return new(K||ye)(t.LFG(v),t.LFG(t.R0b),t.LFG(e.K0))},ye.\u0275prov=t.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"});class Te{constructor(K,J,Ce){this._elementRef=K,this._focusTrapFactory=J,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(K){this.focusTrap.enabled=(0,Z.Ig)(K)}get autoCapture(){return this._autoCapture}set autoCapture(K){this._autoCapture=(0,Z.Ig)(K)}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(K){const J=K.autoCapture;J&&!J.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,_.ht)(),this.focusTrap.focusInitialElementWhenReady()}}Te.\u0275fac=function(K){return new(K||Te)(t.Y36(t.SBq),t.Y36(ye),t.Y36(e.K0))},Te.\u0275dir=t.lG2({type:Te,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[t.TTD]});class He extends je{constructor(K,J,Ce,We,Mt,Tt,Nt){super(K,J,Ce,We,Nt.defer),this._focusTrapManager=Mt,this._inertStrategy=Tt,this._focusTrapManager.register(this)}get enabled(){return this._enabled}set enabled(K){this._enabled=K,this._enabled?this._focusTrapManager.register(this):this._focusTrapManager.deregister(this)}destroy(){this._focusTrapManager.deregister(this),super.destroy()}_enable(){this._inertStrategy.preventFocus(this),this.toggleAnchors(!0)}_disable(){this._inertStrategy.allowFocus(this),this.toggleAnchors(!1)}}const Ee=new t.OlP("FOCUS_TRAP_INERT_STRATEGY");class we{constructor(){this._listener=null}preventFocus(K){this._listener&&K._document.removeEventListener("focus",this._listener,!0),this._listener=J=>this._trapFocus(K,J),K._ngZone.runOutsideAngular(()=>{K._document.addEventListener("focus",this._listener,!0)})}allowFocus(K){!this._listener||(K._document.removeEventListener("focus",this._listener,!0),this._listener=null)}_trapFocus(K,J){const Ce=J.target,We=K._element;Ce&&!We.contains(Ce)&&!Ce.closest?.("div.cdk-overlay-pane")&&setTimeout(()=>{K.enabled&&!We.contains(K._document.activeElement)&&K.focusFirstTabbableElement()})}}class de{constructor(){this._focusTrapStack=[]}register(K){this._focusTrapStack=this._focusTrapStack.filter(Ce=>Ce!==K);let J=this._focusTrapStack;J.length&&J[J.length-1]._disable(),J.push(K),K._enable()}deregister(K){K._disable();const J=this._focusTrapStack,Ce=J.indexOf(K);-1!==Ce&&(J.splice(Ce,1),J.length&&J[J.length-1]._enable())}}de.\u0275fac=function(K){return new(K||de)},de.\u0275prov=t.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"});class Me{constructor(K,J,Ce,We,Mt){this._checker=K,this._ngZone=J,this._focusTrapManager=Ce,this._document=We,this._inertStrategy=Mt||new we}create(K,J={defer:!1}){let Ce;return Ce="boolean"==typeof J?{defer:J}:J,new He(K,this._checker,this._ngZone,this._document,this._focusTrapManager,this._inertStrategy,Ce)}}function ie(me){return 0===me.buttons||0===me.offsetX&&0===me.offsetY}function G(me){const K=me.touches&&me.touches[0]||me.changedTouches&&me.changedTouches[0];return!(!K||-1!==K.identifier||null!=K.radiusX&&1!==K.radiusX||null!=K.radiusY&&1!==K.radiusY)}Me.\u0275fac=function(K){return new(K||Me)(t.LFG(v),t.LFG(t.R0b),t.LFG(de),t.LFG(e.K0),t.LFG(Ee,8))},Me.\u0275prov=t.Yz7({token:Me,factory:Me.\u0275fac,providedIn:"root"});const $=new t.OlP("cdk-input-modality-detector-options"),ze={ignoreKeys:[P.zL,P.jx,P.b2,P.MW,P.JU]},oe=(0,_.i$)({passive:!0,capture:!0});class bt{constructor(K,J,Ce,We){this._platform=K,this._mostRecentTarget=null,this._modality=new D.X(null),this._lastTouchMs=0,this._onKeydown=Mt=>{this._options?.ignoreKeys?.some(Tt=>Tt===Mt.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,_.sA)(Mt))},this._onMousedown=Mt=>{Date.now()-this._lastTouchMs<650||(this._modality.next(ie(Mt)?"keyboard":"mouse"),this._mostRecentTarget=(0,_.sA)(Mt))},this._onTouchstart=Mt=>{G(Mt)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,_.sA)(Mt))},this._options={...ze,...We},this.modalityDetected=this._modality.pipe((0,z.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,I.x)()),K.isBrowser&&J.runOutsideAngular(()=>{Ce.addEventListener("keydown",this._onKeydown,oe),Ce.addEventListener("mousedown",this._onMousedown,oe),Ce.addEventListener("touchstart",this._onTouchstart,oe)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,oe),document.removeEventListener("mousedown",this._onMousedown,oe),document.removeEventListener("touchstart",this._onTouchstart,oe))}}bt.\u0275fac=function(K){return new(K||bt)(t.LFG(_.t4),t.LFG(t.R0b),t.LFG(e.K0),t.LFG($,8))},bt.\u0275prov=t.Yz7({token:bt,factory:bt.\u0275fac,providedIn:"root"});const Be=new t.OlP("liveAnnouncerElement",{providedIn:"root",factory:function nt(){return null}});const $t=new t.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let gt=0;class rt{constructor(K,J,Ce,We){this._ngZone=J,this._defaultOptions=We,this._document=Ce,this._liveElement=K||this._createLiveElement()}announce(K,...J){const Ce=this._defaultOptions;let We,Mt;return 1===J.length&&"number"==typeof J[0]?Mt=J[0]:[We,Mt]=J,this.clear(),clearTimeout(this._previousTimeout),We||(We=Ce&&Ce.politeness?Ce.politeness:"polite"),null==Mt&&Ce&&(Mt=Ce.duration),this._liveElement.setAttribute("aria-live",We),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(Tt=>this._currentResolve=Tt)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=K,"number"==typeof Mt&&(this._previousTimeout=setTimeout(()=>this.clear(),Mt)),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 K="cdk-live-announcer-element",J=this._document.getElementsByClassName(K),Ce=this._document.createElement("div");for(let We=0;We<J.length;We++)J[We].remove();return Ce.classList.add(K),Ce.classList.add("cdk-visually-hidden"),Ce.setAttribute("aria-atomic","true"),Ce.setAttribute("aria-live","polite"),Ce.id="cdk-live-announcer-"+gt++,this._document.body.appendChild(Ce),Ce}_exposeAnnouncerToModals(K){const J=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let Ce=0;Ce<J.length;Ce++){const We=J[Ce],Mt=We.getAttribute("aria-owns");Mt?-1===Mt.indexOf(K)&&We.setAttribute("aria-owns",Mt+" "+K):We.setAttribute("aria-owns",K)}}}rt.\u0275fac=function(K){return new(K||rt)(t.LFG(Be,8),t.LFG(t.R0b),t.LFG(e.K0),t.LFG($t,8))},rt.\u0275prov=t.Yz7({token:rt,factory:rt.\u0275fac,providedIn:"root"});class Re{constructor(K,J,Ce,We){this._elementRef=K,this._liveAnnouncer=J,this._contentObserver=Ce,this._ngZone=We,this._politeness="polite"}get politeness(){return this._politeness}set politeness(K){this._politeness="off"===K||"assertive"===K?K:"polite","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(()=>this._contentObserver.observe(this._elementRef).subscribe(()=>{const J=this._elementRef.nativeElement.textContent;J!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(J,this._politeness,this.duration),this._previousAnnouncedText=J)})))}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}}Re.\u0275fac=function(K){return new(K||Re)(t.Y36(t.SBq),t.Y36(rt),t.Y36(q.yq),t.Y36(t.R0b))},Re.\u0275dir=t.lG2({type:Re,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"],duration:["cdkAriaLiveDuration","duration"]},exportAs:["cdkAriaLive"]});const ot=new t.OlP("cdk-focus-monitor-default-options"),St=(0,_.i$)({passive:!0,capture:!0});class gi{constructor(K,J,Ce,We,Mt){this._ngZone=K,this._platform=J,this._inputModalityDetector=Ce,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 S.x,this._rootNodeFocusAndBlurListener=Tt=>{for(let at=(0,_.sA)(Tt);at;at=at.parentElement)"focus"===Tt.type?this._onFocus(Tt,at):this._onBlur(Tt,at)},this._document=We,this._detectionMode=Mt?.detectionMode||0}monitor(K,J=!1){const Ce=(0,Z.fI)(K);if(!this._platform.isBrowser||1!==Ce.nodeType)return(0,d.of)(null);const We=(0,_.kV)(Ce)||this._getDocument(),Mt=this._elementInfo.get(Ce);if(Mt)return J&&(Mt.checkChildren=!0),Mt.subject;const Tt={checkChildren:J,subject:new S.x,rootNode:We};return this._elementInfo.set(Ce,Tt),this._registerGlobalListeners(Tt),Tt.subject}stopMonitoring(K){const J=(0,Z.fI)(K),Ce=this._elementInfo.get(J);Ce&&(Ce.subject.complete(),this._setClasses(J),this._elementInfo.delete(J),this._removeGlobalListeners(Ce))}focusVia(K,J,Ce){const We=(0,Z.fI)(K);We===this._getDocument().activeElement?this._getClosestElementsInfo(We).forEach(([Tt,Nt])=>this._originChanged(Tt,J,Nt)):(this._setOrigin(J),"function"==typeof We.focus&&We.focus(Ce))}ngOnDestroy(){this._elementInfo.forEach((K,J)=>this.stopMonitoring(J))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(K){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(K)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:K&&this._isLastInteractionFromInputLabel(K)?"mouse":"program"}_shouldBeAttributedToTouch(K){return 1===this._detectionMode||!!K?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(K,J){K.classList.toggle("cdk-focused",!!J),K.classList.toggle("cdk-touch-focused","touch"===J),K.classList.toggle("cdk-keyboard-focused","keyboard"===J),K.classList.toggle("cdk-mouse-focused","mouse"===J),K.classList.toggle("cdk-program-focused","program"===J)}_setOrigin(K,J=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=K,this._originFromTouchInteraction="touch"===K&&J,0===this._detectionMode){clearTimeout(this._originTimeoutId);const Ce=this._originFromTouchInteraction?650:1;this._originTimeoutId=setTimeout(()=>this._origin=null,Ce)}})}_onFocus(K,J){const Ce=this._elementInfo.get(J),We=(0,_.sA)(K);!Ce||!Ce.checkChildren&&J!==We||this._originChanged(J,this._getFocusOrigin(We),Ce)}_onBlur(K,J){const Ce=this._elementInfo.get(J);!Ce||Ce.checkChildren&&K.relatedTarget instanceof Node&&J.contains(K.relatedTarget)||(this._setClasses(J),this._emitOrigin(Ce,null))}_emitOrigin(K,J){K.subject.observers.length&&this._ngZone.run(()=>K.subject.next(J))}_registerGlobalListeners(K){if(!this._platform.isBrowser)return;const J=K.rootNode,Ce=this._rootNodeFocusListenerCount.get(J)||0;Ce||this._ngZone.runOutsideAngular(()=>{J.addEventListener("focus",this._rootNodeFocusAndBlurListener,St),J.addEventListener("blur",this._rootNodeFocusAndBlurListener,St)}),this._rootNodeFocusListenerCount.set(J,Ce+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,V.R)(this._stopInputModalityDetector)).subscribe(We=>{this._setOrigin(We,!0)}))}_removeGlobalListeners(K){const J=K.rootNode;if(this._rootNodeFocusListenerCount.has(J)){const Ce=this._rootNodeFocusListenerCount.get(J);Ce>1?this._rootNodeFocusListenerCount.set(J,Ce-1):(J.removeEventListener("focus",this._rootNodeFocusAndBlurListener,St),J.removeEventListener("blur",this._rootNodeFocusAndBlurListener,St),this._rootNodeFocusListenerCount.delete(J))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(K,J,Ce){this._setClasses(K,J),this._emitOrigin(Ce,J),this._lastFocusOrigin=J}_getClosestElementsInfo(K){const J=[];return this._elementInfo.forEach((Ce,We)=>{(We===K||Ce.checkChildren&&We.contains(K))&&J.push([We,Ce])}),J}_isLastInteractionFromInputLabel(K){const{_mostRecentTarget:J,mostRecentModality:Ce}=this._inputModalityDetector;if("mouse"!==Ce||!J||J===K||"INPUT"!==K.nodeName&&"TEXTAREA"!==K.nodeName||K.disabled)return!1;const We=K.labels;if(We)for(let Mt=0;Mt<We.length;Mt++)if(We[Mt].contains(J))return!0;return!1}}gi.\u0275fac=function(K){return new(K||gi)(t.LFG(t.R0b),t.LFG(_.t4),t.LFG(bt),t.LFG(e.K0,8),t.LFG(ot,8))},gi.\u0275prov=t.Yz7({token:gi,factory:gi.\u0275fac,providedIn:"root"});class oi{constructor(K,J){this._elementRef=K,this._focusMonitor=J,this._focusOrigin=null,this.cdkFocusChange=new t.vpe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const K=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(K,1===K.nodeType&&K.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(J=>{this._focusOrigin=J,this.cdkFocusChange.emit(J)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}oi.\u0275fac=function(K){return new(K||oi)(t.Y36(t.SBq),t.Y36(gi))},oi.\u0275dir=t.lG2({type:oi,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]});const ei="cdk-high-contrast-black-on-white",Zi="cdk-high-contrast-white-on-black",si="cdk-high-contrast-active";class Bt{constructor(K,J){this._platform=K,this._document=J,this._breakpointSubscription=(0,t.f3M)(te.Yg).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const K=this._document.createElement("div");K.style.backgroundColor="rgb(1,2,3)",K.style.position="absolute",this._document.body.appendChild(K);const J=this._document.defaultView||window,Ce=J&&J.getComputedStyle?J.getComputedStyle(K):null,We=(Ce&&Ce.backgroundColor||"").replace(/ /g,"");switch(K.remove(),We){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 K=this._document.body.classList;K.remove(si,ei,Zi),this._hasCheckedHighContrastMode=!0;const J=this.getHighContrastMode();1===J?K.add(si,ei):2===J&&K.add(si,Zi)}}}Bt.\u0275fac=function(K){return new(K||Bt)(t.LFG(_.t4),t.LFG(e.K0))},Bt.\u0275prov=t.Yz7({token:Bt,factory:Bt.\u0275fac,providedIn:"root"});class Je{constructor(K){K._applyBodyHighContrastModeCssClasses()}}Je.\u0275fac=function(K){return new(K||Je)(t.LFG(Bt))},Je.\u0275mod=t.oAB({type:Je}),Je.\u0275inj=t.cJS({imports:[q.Q8]})},2867:(Ge,X,f)=>{"use strict";f.d(X,{Is:()=>d,vT:()=>p});var e=f(2560),t=f(4666);const _=new e.OlP("cdk-dir-doc",{providedIn:"root",factory:function S(){return(0,e.f3M)(t.K0)}});const l=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function D(L){const M=L?.toLowerCase()||"";return"auto"===M&&typeof navigator<"u"&&navigator?.language?l.test(navigator.language)?"rtl":"ltr":"rtl"===M?"rtl":"ltr"}class d{constructor(M){if(this.value="ltr",this.change=new e.vpe,M){const k=M.body?M.body.dir:null,E=M.documentElement?M.documentElement.dir:null;this.value=D(k||E||"ltr")}}ngOnDestroy(){this.change.complete()}}d.\u0275fac=function(M){return new(M||d)(e.LFG(_,8))},d.\u0275prov=e.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"});class P{constructor(){this._dir="ltr",this._isInitialized=!1,this.change=new e.vpe}get dir(){return this._dir}set dir(M){const k=this._dir;this._dir=D(M),this._rawDir=M,k!==this._dir&&this._isInitialized&&this.change.emit(this._dir)}get value(){return this.dir}ngAfterContentInit(){this._isInitialized=!0}ngOnDestroy(){this.change.complete()}}P.\u0275fac=function(M){return new(M||P)},P.\u0275dir=e.lG2({type:P,selectors:[["","dir",""]],hostVars:1,hostBindings:function(M,k){2&M&&e.uIk("dir",k._rawDir)},inputs:{dir:"dir"},outputs:{change:"dirChange"},exportAs:["dir"],features:[e._Bn([{provide:d,useExisting:P}])]});class p{}p.\u0275fac=function(M){return new(M||p)},p.\u0275mod=e.oAB({type:p}),p.\u0275inj=e.cJS({})},8971:(Ge,X,f)=>{"use strict";f.d(X,{Eq:()=>l,HM:()=>D,Ig:()=>t,du:()=>P,fI:()=>d,su:()=>_,t6:()=>S});var e=f(2560);function t(p){return null!=p&&"false"!=`${p}`}function _(p,L=0){return S(p)?Number(p):L}function S(p){return!isNaN(parseFloat(p))&&!isNaN(Number(p))}function l(p){return Array.isArray(p)?p:[p]}function D(p){return null==p?"":"string"==typeof p?p:`${p}px`}function d(p){return p instanceof e.SBq?p.nativeElement:p}function P(p,L=/\s+/){const M=[];if(null!=p){const k=Array.isArray(p)?p:`${p}`.split(L);for(const E of k){const z=`${E}`.trim();z&&M.push(z)}}return M}},1755:(Ge,X,f)=>{"use strict";f.d(X,{A8:()=>E,Ov:()=>M,P3:()=>P,Z9:()=>d,eX:()=>L,k:()=>z,o2:()=>D,yy:()=>p});var e=f(3932),t=f(4437),_=f(745),S=f(253),l=f(2560);class D{}function d(I){return I&&"function"==typeof I.connect&&!(I instanceof e.c)}class P extends D{constructor(V){super(),this._data=V}connect(){return(0,t.b)(this._data)?this._data:(0,_.of)(this._data)}disconnect(){}}class p{applyChanges(V,Z,q,te,ne){V.forEachOperation((le,re,_e)=>{let he,ae;if(null==le.previousIndex){const ve=q(le,re,_e);he=Z.createEmbeddedView(ve.templateRef,ve.context,ve.index),ae=1}else null==_e?(Z.remove(re),ae=3):(he=Z.get(re),Z.move(he,_e),ae=2);ne&&ne({context:he?.context,operation:ae,record:le})})}detach(){}}class L{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(V,Z,q,te,ne){V.forEachOperation((le,re,_e)=>{let he,ae;if(null==le.previousIndex){const ve=()=>q(le,re,_e);he=this._insertView(ve,_e,Z,te(le)),ae=he?1:0}else null==_e?(this._detachAndCacheView(re,Z),ae=3):(he=this._moveView(re,_e,Z,te(le)),ae=2);ne&&ne({context:he?.context,operation:ae,record:le})})}detach(){for(const V of this._viewCache)V.destroy();this._viewCache=[]}_insertView(V,Z,q,te){const ne=this._insertViewFromCache(Z,q);if(ne)return void(ne.context.$implicit=te);const le=V();return q.createEmbeddedView(le.templateRef,le.context,le.index)}_detachAndCacheView(V,Z){const q=Z.detach(V);this._maybeCacheView(q,Z)}_moveView(V,Z,q,te){const ne=q.get(V);return q.move(ne,Z),ne.context.$implicit=te,ne}_maybeCacheView(V,Z){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(V);else{const q=Z.indexOf(V);-1===q?V.destroy():Z.remove(q)}}_insertViewFromCache(V,Z){const q=this._viewCache.pop();return q&&Z.insert(q,V),q||null}}class M{constructor(V=!1,Z,q=!0,te){this._multiple=V,this._emitChanges=q,this.compareWith=te,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new S.x,Z&&Z.length&&(V?Z.forEach(ne=>this._markSelected(ne)):this._markSelected(Z[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...V){this._verifyValueAssignment(V),V.forEach(q=>this._markSelected(q));const Z=this._hasQueuedChanges();return this._emitChangeEvent(),Z}deselect(...V){this._verifyValueAssignment(V),V.forEach(q=>this._unmarkSelected(q));const Z=this._hasQueuedChanges();return this._emitChangeEvent(),Z}setSelection(...V){this._verifyValueAssignment(V);const Z=this.selected,q=new Set(V);V.forEach(ne=>this._markSelected(ne)),Z.filter(ne=>!q.has(ne)).forEach(ne=>this._unmarkSelected(ne));const te=this._hasQueuedChanges();return this._emitChangeEvent(),te}toggle(V){return this.isSelected(V)?this.deselect(V):this.select(V)}clear(V=!0){this._unmarkAll();const Z=this._hasQueuedChanges();return V&&this._emitChangeEvent(),Z}isSelected(V){if(this.compareWith){for(const Z of this._selection)if(this.compareWith(Z,V))return!0;return!1}return this._selection.has(V)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(V){this._multiple&&this.selected&&this._selected.sort(V)}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(V){this.isSelected(V)||(this._multiple||this._unmarkAll(),this.isSelected(V)||this._selection.add(V),this._emitChanges&&this._selectedToEmit.push(V))}_unmarkSelected(V){this.isSelected(V)&&(this._selection.delete(V),this._emitChanges&&this._deselectedToEmit.push(V))}_unmarkAll(){this.isEmpty()||this._selection.forEach(V=>this._unmarkSelected(V))}_verifyValueAssignment(V){V.length>1&&this._multiple}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}}class E{constructor(){this._listeners=[]}notify(V,Z){for(let q of this._listeners)q(V,Z)}listen(V){return this._listeners.push(V),()=>{this._listeners=this._listeners.filter(Z=>V!==Z)}}ngOnDestroy(){this._listeners=[]}}E.\u0275fac=function(V){return new(V||E)},E.\u0275prov=l.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"});const z=new l.OlP("_ViewRepeater")},8456:(Ge,X,f)=>{"use strict";f.d(X,{A:()=>N,JH:()=>ne,JU:()=>D,K5:()=>l,Ku:()=>E,LH:()=>q,L_:()=>k,MW:()=>$t,Mf:()=>_,SV:()=>te,Sd:()=>V,VM:()=>z,Vb:()=>bi,Z:()=>nt,ZH:()=>t,aO:()=>R,b2:()=>ii,hY:()=>M,jx:()=>d,oh:()=>Z,uR:()=>I,xE:()=>ae,yY:()=>he,zL:()=>P});const t=8,_=9,l=13,D=16,d=17,P=18,M=27,k=32,E=33,z=34,I=35,V=36,Z=37,q=38,te=39,ne=40,he=46,ae=48,R=57,N=65,nt=90,$t=91,ii=224;function bi(Yi,..._n){return _n.length?_n.some(ha=>Yi[ha]):Yi.altKey||Yi.shiftKey||Yi.ctrlKey||Yi.metaKey}},3278:(Ge,X,f)=>{"use strict";f.d(X,{Yg:()=>ne,u3:()=>re,xu:()=>z});var e=f(2560),t=f(8971),_=f(253),S=f(6562),l=f(9319),D=f(833),d=f(9295),P=f(7260),p=f(1989),L=f(635),M=f(4874),k=f(8951),E=f(9107);class z{}z.\u0275fac=function(he){return new(he||z)},z.\u0275mod=e.oAB({type:z}),z.\u0275inj=e.cJS({});const I=new Set;let V;class Z{constructor(he){this._platform=he,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):te}matchMedia(he){return(this._platform.WEBKIT||this._platform.BLINK)&&function q(_e){if(!I.has(_e))try{V||(V=document.createElement("style"),V.setAttribute("type","text/css"),document.head.appendChild(V)),V.sheet&&(V.sheet.insertRule(`@media ${_e} {body{ }}`,0),I.add(_e))}catch(he){console.error(he)}}(he),this._matchMedia(he)}}function te(_e){return{matches:"all"===_e||""===_e,media:_e,addListener:()=>{},removeListener:()=>{}}}Z.\u0275fac=function(he){return new(he||Z)(e.LFG(E.t4))},Z.\u0275prov=e.Yz7({token:Z,factory:Z.\u0275fac,providedIn:"root"});class ne{constructor(he,ae){this._mediaMatcher=he,this._zone=ae,this._queries=new Map,this._destroySubject=new _.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(he){return le((0,t.Eq)(he)).some(ve=>this._registerQuery(ve).mql.matches)}observe(he){const ve=le((0,t.Eq)(he)).map(i=>this._registerQuery(i).observable);let T=(0,S.a)(ve);return T=(0,l.z)(T.pipe((0,d.q)(1)),T.pipe((0,P.T)(1),(0,p.b)(0))),T.pipe((0,L.U)(i=>{const o={matches:!1,breakpoints:{}};return i.forEach(({matches:m,query:h})=>{o.matches=o.matches||m,o.breakpoints[h]=m}),o}))}_registerQuery(he){if(this._queries.has(he))return this._queries.get(he);const ae=this._mediaMatcher.matchMedia(he),T={observable:new D.y(i=>{const o=m=>this._zone.run(()=>i.next(m));return ae.addListener(o),()=>{ae.removeListener(o)}}).pipe((0,M.O)(ae),(0,L.U)(({matches:i})=>({query:he,matches:i})),(0,k.R)(this._destroySubject)),mql:ae};return this._queries.set(he,T),T}}function le(_e){return _e.map(he=>he.split(",")).reduce((he,ae)=>he.concat(ae)).map(he=>he.trim())}ne.\u0275fac=function(he){return new(he||ne)(e.LFG(Z),e.LFG(e.R0b))},ne.\u0275prov=e.Yz7({token:ne,factory:ne.\u0275fac,providedIn:"root"});const re={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},3773:(Ge,X,f)=>{"use strict";f.d(X,{Q8:()=>p,wD:()=>P,yq:()=>d});var e=f(8971),t=f(2560),_=f(833),S=f(253),l=f(1989);class D{create(M){return typeof MutationObserver>"u"?null:new MutationObserver(M)}}D.\u0275fac=function(M){return new(M||D)},D.\u0275prov=t.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"});class d{constructor(M){this._mutationObserverFactory=M,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((M,k)=>this._cleanupObserver(k))}observe(M){const k=(0,e.fI)(M);return new _.y(E=>{const I=this._observeElement(k).subscribe(E);return()=>{I.unsubscribe(),this._unobserveElement(k)}})}_observeElement(M){if(this._observedElements.has(M))this._observedElements.get(M).count++;else{const k=new S.x,E=this._mutationObserverFactory.create(z=>k.next(z));E&&E.observe(M,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(M,{observer:E,stream:k,count:1})}return this._observedElements.get(M).stream}_unobserveElement(M){this._observedElements.has(M)&&(this._observedElements.get(M).count--,this._observedElements.get(M).count||this._cleanupObserver(M))}_cleanupObserver(M){if(this._observedElements.has(M)){const{observer:k,stream:E}=this._observedElements.get(M);k&&k.disconnect(),E.complete(),this._observedElements.delete(M)}}}d.\u0275fac=function(M){return new(M||d)(t.LFG(D))},d.\u0275prov=t.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"});class P{constructor(M,k,E){this._contentObserver=M,this._elementRef=k,this._ngZone=E,this.event=new t.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(M){this._disabled=(0,e.Ig)(M),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(M){this._debounce=(0,e.su)(M),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const M=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?M.pipe((0,l.b)(this.debounce)):M).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}P.\u0275fac=function(M){return new(M||P)(t.Y36(d),t.Y36(t.SBq),t.Y36(t.R0b))},P.\u0275dir=t.lG2({type:P,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]});class p{}p.\u0275fac=function(M){return new(M||p)},p.\u0275mod=t.oAB({type:p}),p.\u0275inj=t.cJS({providers:[D]})},5895:(Ge,X,f)=>{"use strict";f.d(X,{Iu:()=>R,U8:()=>de,X_:()=>he,Xj:()=>A,_G:()=>C,aV:()=>et,pI:()=>He,xu:()=>Te});var e=f(1494),t=f(4666),_=f(2560),S=f(8971),l=f(9107),D=f(2867),d=f(7520),P=f(253),p=f(7714),L=f(6646),M=f(9295),k=f(8951),E=f(2566),z=f(8456);const I=(0,l.Mq)();class V{constructor(G,$){this._viewportRuler=G,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=$}attach(){}enable(){if(this._canBeEnabled()){const G=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=G.style.left||"",this._previousHTMLStyles.top=G.style.top||"",G.style.left=(0,S.HM)(-this._previousScrollPosition.left),G.style.top=(0,S.HM)(-this._previousScrollPosition.top),G.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const G=this._document.documentElement,$=this._document.body,ze=G.style,Ue=$.style,oe=ze.scrollBehavior||"",bt=Ue.scrollBehavior||"";this._isEnabled=!1,ze.left=this._previousHTMLStyles.left,ze.top=this._previousHTMLStyles.top,G.classList.remove("cdk-global-scrollblock"),I&&(ze.scrollBehavior=Ue.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),I&&(ze.scrollBehavior=oe,Ue.scrollBehavior=bt)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const $=this._document.body,ze=this._viewportRuler.getViewportSize();return $.scrollHeight>ze.height||$.scrollWidth>ze.width}}class q{constructor(G,$,ze,Ue){this._scrollDispatcher=G,this._ngZone=$,this._viewportRuler=ze,this._config=Ue,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(G){this._overlayRef,this._overlayRef=G}enable(){if(this._scrollSubscription)return;const G=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=G.subscribe(()=>{const $=this._viewportRuler.getViewportScrollPosition().top;Math.abs($-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=G.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class te{enable(){}disable(){}attach(){}}function ne(ie,G){return G.some($=>{const ze=ie.bottom<$.top,Ue=ie.top>$.bottom,oe=ie.right<$.left,bt=ie.left>$.right;return ze||Ue||oe||bt})}function le(ie,G){return G.some($=>{const ze=ie.top<$.top,Ue=ie.bottom>$.bottom,oe=ie.left<$.left,bt=ie.right>$.right;return ze||Ue||oe||bt})}class re{constructor(G,$,ze,Ue){this._scrollDispatcher=G,this._viewportRuler=$,this._ngZone=ze,this._config=Ue,this._scrollSubscription=null}attach(G){this._overlayRef,this._overlayRef=G}enable(){if(!this._scrollSubscription){const G=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(G).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const $=this._overlayRef.overlayElement.getBoundingClientRect(),{width:ze,height:Ue}=this._viewportRuler.getViewportSize();ne($,[{width:ze,height:Ue,bottom:Ue,right:ze,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}}class _e{constructor(G,$,ze,Ue){this._scrollDispatcher=G,this._viewportRuler=$,this._ngZone=ze,this.noop=()=>new te,this.close=oe=>new q(this._scrollDispatcher,this._ngZone,this._viewportRuler,oe),this.block=()=>new V(this._viewportRuler,this._document),this.reposition=oe=>new re(this._scrollDispatcher,this._viewportRuler,this._ngZone,oe),this._document=Ue}}_e.\u0275fac=function(G){return new(G||_e)(_.LFG(e.mF),_.LFG(e.rL),_.LFG(_.R0b),_.LFG(t.K0))},_e.\u0275prov=_.Yz7({token:_e,factory:_e.\u0275fac,providedIn:"root"});class he{constructor(G){if(this.scrollStrategy=new te,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,G){const $=Object.keys(G);for(const ze of $)void 0!==G[ze]&&(this[ze]=G[ze])}}}class T{constructor(G,$){this.connectionPair=G,this.scrollableViewProperties=$}}class m{constructor(G){this._attachedOverlays=[],this._document=G}ngOnDestroy(){this.detach()}add(G){this.remove(G),this._attachedOverlays.push(G)}remove(G){const $=this._attachedOverlays.indexOf(G);$>-1&&this._attachedOverlays.splice($,1),0===this._attachedOverlays.length&&this.detach()}}m.\u0275fac=function(G){return new(G||m)(_.LFG(t.K0))},m.\u0275prov=_.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"});class h extends m{constructor(G,$){super(G),this._ngZone=$,this._keydownListener=ze=>{const Ue=this._attachedOverlays;for(let oe=Ue.length-1;oe>-1;oe--)if(Ue[oe]._keydownEvents.observers.length>0){const bt=Ue[oe]._keydownEvents;this._ngZone?this._ngZone.run(()=>bt.next(ze)):bt.next(ze);break}}}add(G){super.add(G),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)}}h.\u0275fac=function(G){return new(G||h)(_.LFG(t.K0),_.LFG(_.R0b,8))},h.\u0275prov=_.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"});class y extends m{constructor(G,$,ze){super(G),this._platform=$,this._ngZone=ze,this._cursorStyleIsSet=!1,this._pointerDownListener=Ue=>{this._pointerDownEventTarget=(0,l.sA)(Ue)},this._clickListener=Ue=>{const oe=(0,l.sA)(Ue),bt="click"===Ue.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:oe;this._pointerDownEventTarget=null;const Be=this._attachedOverlays.slice();for(let nt=Be.length-1;nt>-1;nt--){const $t=Be[nt];if($t._outsidePointerEvents.observers.length<1||!$t.hasAttached())continue;if($t.overlayElement.contains(oe)||$t.overlayElement.contains(bt))break;const gt=$t._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>gt.next(Ue)):gt.next(Ue)}}}add(G){if(super.add(G),!this._isAttached){const $=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners($)):this._addEventListeners($),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=$.style.cursor,$.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const G=this._document.body;G.removeEventListener("pointerdown",this._pointerDownListener,!0),G.removeEventListener("click",this._clickListener,!0),G.removeEventListener("auxclick",this._clickListener,!0),G.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(G.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(G){G.addEventListener("pointerdown",this._pointerDownListener,!0),G.addEventListener("click",this._clickListener,!0),G.addEventListener("auxclick",this._clickListener,!0),G.addEventListener("contextmenu",this._clickListener,!0)}}y.\u0275fac=function(G){return new(G||y)(_.LFG(t.K0),_.LFG(l.t4),_.LFG(_.R0b,8))},y.\u0275prov=_.Yz7({token:y,factory:y.\u0275fac,providedIn:"root"});class A{constructor(G,$){this._platform=$,this._document=G}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const G="cdk-overlay-container";if(this._platform.isBrowser||(0,l.Oy)()){const ze=this._document.querySelectorAll(`.${G}[platform="server"], .${G}[platform="test"]`);for(let Ue=0;Ue<ze.length;Ue++)ze[Ue].remove()}const $=this._document.createElement("div");$.classList.add(G),(0,l.Oy)()?$.setAttribute("platform","test"):this._platform.isBrowser||$.setAttribute("platform","server"),this._document.body.appendChild($),this._containerElement=$}}A.\u0275fac=function(G){return new(G||A)(_.LFG(t.K0),_.LFG(l.t4))},A.\u0275prov=_.Yz7({token:A,factory:A.\u0275fac,providedIn:"root"});class R{constructor(G,$,ze,Ue,oe,bt,Be,nt,$t,gt=!1){this._portalOutlet=G,this._host=$,this._pane=ze,this._config=Ue,this._ngZone=oe,this._keyboardDispatcher=bt,this._document=Be,this._location=nt,this._outsideClickDispatcher=$t,this._animationsDisabled=gt,this._backdropElement=null,this._backdropClick=new P.x,this._attachments=new P.x,this._detachments=new P.x,this._locationChanges=p.w0.EMPTY,this._backdropClickHandler=rt=>this._backdropClick.next(rt),this._backdropTransitionendHandler=rt=>{this._disposeBackdrop(rt.target)},this._keydownEvents=new P.x,this._outsidePointerEvents=new P.x,Ue.scrollStrategy&&(this._scrollStrategy=Ue.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=Ue.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(G){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const $=this._portalOutlet.attach(G);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,M.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof $?.onDestroy&&$.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),$}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const G=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),G}dispose(){const G=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,G&&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(G){G!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=G,this.hasAttached()&&(G.attach(this),this.updatePosition()))}updateSize(G){this._config={...this._config,...G},this._updateElementSize()}setDirection(G){this._config={...this._config,direction:G},this._updateElementDirection()}addPanelClass(G){this._pane&&this._toggleClasses(this._pane,G,!0)}removePanelClass(G){this._pane&&this._toggleClasses(this._pane,G,!1)}getDirection(){const G=this._config.direction;return G?"string"==typeof G?G:G.value:"ltr"}updateScrollStrategy(G){G!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=G,this.hasAttached()&&(G.attach(this),G.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const G=this._pane.style;G.width=(0,S.HM)(this._config.width),G.height=(0,S.HM)(this._config.height),G.minWidth=(0,S.HM)(this._config.minWidth),G.minHeight=(0,S.HM)(this._config.minHeight),G.maxWidth=(0,S.HM)(this._config.maxWidth),G.maxHeight=(0,S.HM)(this._config.maxHeight)}_togglePointerEvents(G){this._pane.style.pointerEvents=G?"":"none"}_attachBackdrop(){const G="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(G)})}):this._backdropElement.classList.add(G)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const G=this._backdropElement;if(G){if(this._animationsDisabled)return void this._disposeBackdrop(G);G.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{G.addEventListener("transitionend",this._backdropTransitionendHandler)}),G.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(G)},500))}}_toggleClasses(G,$,ze){const Ue=(0,S.Eq)($||[]).filter(oe=>!!oe);Ue.length&&(ze?G.classList.add(...Ue):G.classList.remove(...Ue))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const G=this._ngZone.onStable.pipe((0,k.R)((0,L.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()),G.unsubscribe())})})}_disposeScrollStrategy(){const G=this._scrollStrategy;G&&(G.disable(),G.detach&&G.detach())}_disposeBackdrop(G){G&&(G.removeEventListener("click",this._backdropClickHandler),G.removeEventListener("transitionend",this._backdropTransitionendHandler),G.remove(),this._backdropElement===G&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const v="cdk-overlay-connected-position-bounding-box",a=/([A-Za-z%]+)$/;class C{constructor(G,$,ze,Ue,oe){this._viewportRuler=$,this._document=ze,this._platform=Ue,this._overlayContainer=oe,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new P.x,this._resizeSubscription=p.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(G)}get positions(){return this._preferredPositions}attach(G){this._overlayRef&&this._overlayRef,this._validatePositions(),G.hostElement.classList.add(v),this._overlayRef=G,this._boundingBox=G.hostElement,this._pane=G.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 G=this._originRect,$=this._overlayRect,ze=this._viewportRect,Ue=this._containerRect,oe=[];let bt;for(let Be of this._preferredPositions){let nt=this._getOriginPoint(G,Ue,Be),$t=this._getOverlayPoint(nt,$,Be),gt=this._getOverlayFit($t,$,ze,Be);if(gt.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(Be,nt);this._canFitWithFlexibleDimensions(gt,$t,ze)?oe.push({position:Be,origin:nt,overlayRect:$,boundingBoxRect:this._calculateBoundingBoxRect(nt,Be)}):(!bt||bt.overlayFit.visibleArea<gt.visibleArea)&&(bt={overlayFit:gt,overlayPoint:$t,originPoint:nt,position:Be,overlayRect:$})}if(oe.length){let Be=null,nt=-1;for(const $t of oe){const gt=$t.boundingBoxRect.width*$t.boundingBoxRect.height*($t.position.weight||1);gt>nt&&(nt=gt,Be=$t)}return this._isPushed=!1,void this._applyPosition(Be.position,Be.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(bt.position,bt.originPoint);this._applyPosition(bt.position,bt.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&U(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(v),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const G=this._lastPosition;if(G){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const $=this._getOriginPoint(this._originRect,this._containerRect,G);this._applyPosition(G,$)}else this.apply()}withScrollableContainers(G){return this._scrollables=G,this}withPositions(G){return this._preferredPositions=G,-1===G.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(G){return this._viewportMargin=G,this}withFlexibleDimensions(G=!0){return this._hasFlexibleDimensions=G,this}withGrowAfterOpen(G=!0){return this._growAfterOpen=G,this}withPush(G=!0){return this._canPush=G,this}withLockedPosition(G=!0){return this._positionLocked=G,this}setOrigin(G){return this._origin=G,this}withDefaultOffsetX(G){return this._offsetX=G,this}withDefaultOffsetY(G){return this._offsetY=G,this}withTransformOriginOn(G){return this._transformOriginSelector=G,this}_getOriginPoint(G,$,ze){let Ue,oe;if("center"==ze.originX)Ue=G.left+G.width/2;else{const bt=this._isRtl()?G.right:G.left,Be=this._isRtl()?G.left:G.right;Ue="start"==ze.originX?bt:Be}return $.left<0&&(Ue-=$.left),oe="center"==ze.originY?G.top+G.height/2:"top"==ze.originY?G.top:G.bottom,$.top<0&&(oe-=$.top),{x:Ue,y:oe}}_getOverlayPoint(G,$,ze){let Ue,oe;return Ue="center"==ze.overlayX?-$.width/2:"start"===ze.overlayX?this._isRtl()?-$.width:0:this._isRtl()?0:-$.width,oe="center"==ze.overlayY?-$.height/2:"top"==ze.overlayY?0:-$.height,{x:G.x+Ue,y:G.y+oe}}_getOverlayFit(G,$,ze,Ue){const oe=Q($);let{x:bt,y:Be}=G,nt=this._getOffset(Ue,"x"),$t=this._getOffset(Ue,"y");nt&&(bt+=nt),$t&&(Be+=$t);let gt=0-bt,rt=bt+oe.width-ze.width,Re=0-Be,ot=Be+oe.height-ze.height,St=this._subtractOverflows(oe.width,gt,rt),gi=this._subtractOverflows(oe.height,Re,ot),oi=St*gi;return{visibleArea:oi,isCompletelyWithinViewport:oe.width*oe.height===oi,fitsInViewportVertically:gi===oe.height,fitsInViewportHorizontally:St==oe.width}}_canFitWithFlexibleDimensions(G,$,ze){if(this._hasFlexibleDimensions){const Ue=ze.bottom-$.y,oe=ze.right-$.x,bt=N(this._overlayRef.getConfig().minHeight),Be=N(this._overlayRef.getConfig().minWidth),nt=G.fitsInViewportVertically||null!=bt&&bt<=Ue,$t=G.fitsInViewportHorizontally||null!=Be&&Be<=oe;return nt&&$t}return!1}_pushOverlayOnScreen(G,$,ze){if(this._previousPushAmount&&this._positionLocked)return{x:G.x+this._previousPushAmount.x,y:G.y+this._previousPushAmount.y};const Ue=Q($),oe=this._viewportRect,bt=Math.max(G.x+Ue.width-oe.width,0),Be=Math.max(G.y+Ue.height-oe.height,0),nt=Math.max(oe.top-ze.top-G.y,0),$t=Math.max(oe.left-ze.left-G.x,0);let gt=0,rt=0;return gt=Ue.width<=oe.width?$t||-bt:G.x<this._viewportMargin?oe.left-ze.left-G.x:0,rt=Ue.height<=oe.height?nt||-Be:G.y<this._viewportMargin?oe.top-ze.top-G.y:0,this._previousPushAmount={x:gt,y:rt},{x:G.x+gt,y:G.y+rt}}_applyPosition(G,$){if(this._setTransformOrigin(G),this._setOverlayElementStyles($,G),this._setBoundingBoxStyles($,G),G.panelClass&&this._addPanelClasses(G.panelClass),this._lastPosition=G,this._positionChanges.observers.length){const ze=this._getScrollVisibility(),Ue=new T(G,ze);this._positionChanges.next(Ue)}this._isInitialRender=!1}_setTransformOrigin(G){if(!this._transformOriginSelector)return;const $=this._boundingBox.querySelectorAll(this._transformOriginSelector);let ze,Ue=G.overlayY;ze="center"===G.overlayX?"center":this._isRtl()?"start"===G.overlayX?"right":"left":"start"===G.overlayX?"left":"right";for(let oe=0;oe<$.length;oe++)$[oe].style.transformOrigin=`${ze} ${Ue}`}_calculateBoundingBoxRect(G,$){const ze=this._viewportRect,Ue=this._isRtl();let oe,bt,Be;if("top"===$.overlayY)bt=G.y,oe=ze.height-bt+this._viewportMargin;else if("bottom"===$.overlayY)Be=ze.height-G.y+2*this._viewportMargin,oe=ze.height-Be+this._viewportMargin;else{const ot=Math.min(ze.bottom-G.y+ze.top,G.y),St=this._lastBoundingBoxSize.height;oe=2*ot,bt=G.y-ot,oe>St&&!this._isInitialRender&&!this._growAfterOpen&&(bt=G.y-St/2)}const nt="start"===$.overlayX&&!Ue||"end"===$.overlayX&&Ue;let gt,rt,Re;if("end"===$.overlayX&&!Ue||"start"===$.overlayX&&Ue)Re=ze.width-G.x+this._viewportMargin,gt=G.x-this._viewportMargin;else if(nt)rt=G.x,gt=ze.right-G.x;else{const ot=Math.min(ze.right-G.x+ze.left,G.x),St=this._lastBoundingBoxSize.width;gt=2*ot,rt=G.x-ot,gt>St&&!this._isInitialRender&&!this._growAfterOpen&&(rt=G.x-St/2)}return{top:bt,left:rt,bottom:Be,right:Re,width:gt,height:oe}}_setBoundingBoxStyles(G,$){const ze=this._calculateBoundingBoxRect(G,$);!this._isInitialRender&&!this._growAfterOpen&&(ze.height=Math.min(ze.height,this._lastBoundingBoxSize.height),ze.width=Math.min(ze.width,this._lastBoundingBoxSize.width));const Ue={};if(this._hasExactPosition())Ue.top=Ue.left="0",Ue.bottom=Ue.right=Ue.maxHeight=Ue.maxWidth="",Ue.width=Ue.height="100%";else{const oe=this._overlayRef.getConfig().maxHeight,bt=this._overlayRef.getConfig().maxWidth;Ue.height=(0,S.HM)(ze.height),Ue.top=(0,S.HM)(ze.top),Ue.bottom=(0,S.HM)(ze.bottom),Ue.width=(0,S.HM)(ze.width),Ue.left=(0,S.HM)(ze.left),Ue.right=(0,S.HM)(ze.right),"center"===$.overlayX?Ue.alignItems="center":Ue.alignItems="end"===$.overlayX?"flex-end":"flex-start","center"===$.overlayY?Ue.justifyContent="center":Ue.justifyContent="bottom"===$.overlayY?"flex-end":"flex-start",oe&&(Ue.maxHeight=(0,S.HM)(oe)),bt&&(Ue.maxWidth=(0,S.HM)(bt))}this._lastBoundingBoxSize=ze,U(this._boundingBox.style,Ue)}_resetBoundingBoxStyles(){U(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){U(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(G,$){const ze={},Ue=this._hasExactPosition(),oe=this._hasFlexibleDimensions,bt=this._overlayRef.getConfig();if(Ue){const gt=this._viewportRuler.getViewportScrollPosition();U(ze,this._getExactOverlayY($,G,gt)),U(ze,this._getExactOverlayX($,G,gt))}else ze.position="static";let Be="",nt=this._getOffset($,"x"),$t=this._getOffset($,"y");nt&&(Be+=`translateX(${nt}px) `),$t&&(Be+=`translateY(${$t}px)`),ze.transform=Be.trim(),bt.maxHeight&&(Ue?ze.maxHeight=(0,S.HM)(bt.maxHeight):oe&&(ze.maxHeight="")),bt.maxWidth&&(Ue?ze.maxWidth=(0,S.HM)(bt.maxWidth):oe&&(ze.maxWidth="")),U(this._pane.style,ze)}_getExactOverlayY(G,$,ze){let Ue={top:"",bottom:""},oe=this._getOverlayPoint($,this._overlayRect,G);if(this._isPushed&&(oe=this._pushOverlayOnScreen(oe,this._overlayRect,ze)),"bottom"===G.overlayY){const bt=this._document.documentElement.clientHeight;Ue.bottom=bt-(oe.y+this._overlayRect.height)+"px"}else Ue.top=(0,S.HM)(oe.y);return Ue}_getExactOverlayX(G,$,ze){let bt,Ue={left:"",right:""},oe=this._getOverlayPoint($,this._overlayRect,G);if(this._isPushed&&(oe=this._pushOverlayOnScreen(oe,this._overlayRect,ze)),bt=this._isRtl()?"end"===G.overlayX?"left":"right":"end"===G.overlayX?"right":"left","right"===bt){const Be=this._document.documentElement.clientWidth;Ue.right=Be-(oe.x+this._overlayRect.width)+"px"}else Ue.left=(0,S.HM)(oe.x);return Ue}_getScrollVisibility(){const G=this._getOriginRect(),$=this._pane.getBoundingClientRect(),ze=this._scrollables.map(Ue=>Ue.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:le(G,ze),isOriginOutsideView:ne(G,ze),isOverlayClipped:le($,ze),isOverlayOutsideView:ne($,ze)}}_subtractOverflows(G,...$){return $.reduce((ze,Ue)=>ze-Math.max(Ue,0),G)}_getNarrowedViewportRect(){const G=this._document.documentElement.clientWidth,$=this._document.documentElement.clientHeight,ze=this._viewportRuler.getViewportScrollPosition();return{top:ze.top+this._viewportMargin,left:ze.left+this._viewportMargin,right:ze.left+G-this._viewportMargin,bottom:ze.top+$-this._viewportMargin,width:G-2*this._viewportMargin,height:$-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(G,$){return"x"===$?null==G.offsetX?this._offsetX:G.offsetX:null==G.offsetY?this._offsetY:G.offsetY}_validatePositions(){}_addPanelClasses(G){this._pane&&(0,S.Eq)(G).forEach($=>{""!==$&&-1===this._appliedPanelClasses.indexOf($)&&(this._appliedPanelClasses.push($),this._pane.classList.add($))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(G=>{this._pane.classList.remove(G)}),this._appliedPanelClasses=[])}_getOriginRect(){const G=this._origin;if(G instanceof _.SBq)return G.nativeElement.getBoundingClientRect();if(G instanceof Element)return G.getBoundingClientRect();const $=G.width||0,ze=G.height||0;return{top:G.y,bottom:G.y+ze,left:G.x,right:G.x+$,height:ze,width:$}}}function U(ie,G){for(let $ in G)G.hasOwnProperty($)&&(ie[$]=G[$]);return ie}function N(ie){if("number"!=typeof ie&&null!=ie){const[G,$]=ie.split(a);return $&&"px"!==$?null:parseFloat(G)}return ie||null}function Q(ie){return{top:Math.floor(ie.top),right:Math.floor(ie.right),bottom:Math.floor(ie.bottom),left:Math.floor(ie.left),width:Math.floor(ie.width),height:Math.floor(ie.height)}}const Ye="cdk-global-overlay-wrapper";class $e{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(G){const $=G.getConfig();this._overlayRef=G,this._width&&!$.width&&G.updateSize({width:this._width}),this._height&&!$.height&&G.updateSize({height:this._height}),G.hostElement.classList.add(Ye),this._isDisposed=!1}top(G=""){return this._bottomOffset="",this._topOffset=G,this._alignItems="flex-start",this}left(G=""){return this._xOffset=G,this._xPosition="left",this}bottom(G=""){return this._topOffset="",this._bottomOffset=G,this._alignItems="flex-end",this}right(G=""){return this._xOffset=G,this._xPosition="right",this}start(G=""){return this._xOffset=G,this._xPosition="start",this}end(G=""){return this._xOffset=G,this._xPosition="end",this}width(G=""){return this._overlayRef?this._overlayRef.updateSize({width:G}):this._width=G,this}height(G=""){return this._overlayRef?this._overlayRef.updateSize({height:G}):this._height=G,this}centerHorizontally(G=""){return this.left(G),this._xPosition="center",this}centerVertically(G=""){return this.top(G),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const G=this._overlayRef.overlayElement.style,$=this._overlayRef.hostElement.style,ze=this._overlayRef.getConfig(),{width:Ue,height:oe,maxWidth:bt,maxHeight:Be}=ze,nt=!("100%"!==Ue&&"100vw"!==Ue||bt&&"100%"!==bt&&"100vw"!==bt),$t=!("100%"!==oe&&"100vh"!==oe||Be&&"100%"!==Be&&"100vh"!==Be),gt=this._xPosition,rt=this._xOffset,Re="rtl"===this._overlayRef.getConfig().direction;let ot="",St="",gi="";nt?gi="flex-start":"center"===gt?(gi="center",Re?St=rt:ot=rt):Re?"left"===gt||"end"===gt?(gi="flex-end",ot=rt):("right"===gt||"start"===gt)&&(gi="flex-start",St=rt):"left"===gt||"start"===gt?(gi="flex-start",ot=rt):("right"===gt||"end"===gt)&&(gi="flex-end",St=rt),G.position=this._cssPosition,G.marginLeft=nt?"0":ot,G.marginTop=$t?"0":this._topOffset,G.marginBottom=this._bottomOffset,G.marginRight=nt?"0":St,$.justifyContent=gi,$.alignItems=$t?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const G=this._overlayRef.overlayElement.style,$=this._overlayRef.hostElement,ze=$.style;$.classList.remove(Ye),ze.justifyContent=ze.alignItems=G.marginTop=G.marginBottom=G.marginLeft=G.marginRight=G.position="",this._overlayRef=null,this._isDisposed=!0}}class Ve{constructor(G,$,ze,Ue){this._viewportRuler=G,this._document=$,this._platform=ze,this._overlayContainer=Ue}global(){return new $e}flexibleConnectedTo(G){return new C(G,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}Ve.\u0275fac=function(G){return new(G||Ve)(_.LFG(e.rL),_.LFG(t.K0),_.LFG(l.t4),_.LFG(A))},Ve.\u0275prov=_.Yz7({token:Ve,factory:Ve.\u0275fac,providedIn:"root"});let be=0;class et{constructor(G,$,ze,Ue,oe,bt,Be,nt,$t,gt,rt,Re){this.scrollStrategies=G,this._overlayContainer=$,this._componentFactoryResolver=ze,this._positionBuilder=Ue,this._keyboardDispatcher=oe,this._injector=bt,this._ngZone=Be,this._document=nt,this._directionality=$t,this._location=gt,this._outsideClickDispatcher=rt,this._animationsModuleType=Re}create(G){const $=this._createHostElement(),ze=this._createPaneElement($),Ue=this._createPortalOutlet(ze),oe=new he(G);return oe.direction=oe.direction||this._directionality.value,new R(Ue,$,ze,oe,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(G){const $=this._document.createElement("div");return $.id="cdk-overlay-"+be++,$.classList.add("cdk-overlay-pane"),G.appendChild($),$}_createHostElement(){const G=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(G),G}_createPortalOutlet(G){return this._appRef||(this._appRef=this._injector.get(_.z2F)),new d.u0(G,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}et.\u0275fac=function(G){return new(G||et)(_.LFG(_e),_.LFG(A),_.LFG(_._Vd),_.LFG(Ve),_.LFG(h),_.LFG(_.zs3),_.LFG(_.R0b),_.LFG(t.K0),_.LFG(D.Is),_.LFG(t.Ye),_.LFG(y),_.LFG(_.QbO,8))},et.\u0275prov=_.Yz7({token:et,factory:et.\u0275fac,providedIn:"root"});const je=[{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"}],ye=new _.OlP("cdk-connected-overlay-scroll-strategy");class Te{constructor(G){this.elementRef=G}}Te.\u0275fac=function(G){return new(G||Te)(_.Y36(_.SBq))},Te.\u0275dir=_.lG2({type:Te,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]});class He{constructor(G,$,ze,Ue,oe){this._overlay=G,this._dir=oe,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=p.w0.EMPTY,this._attachSubscription=p.w0.EMPTY,this._detachSubscription=p.w0.EMPTY,this._positionSubscription=p.w0.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new _.vpe,this.positionChange=new _.vpe,this.attach=new _.vpe,this.detach=new _.vpe,this.overlayKeydown=new _.vpe,this.overlayOutsideClick=new _.vpe,this._templatePortal=new d.UE($,ze),this._scrollStrategyFactory=Ue,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(G){this._offsetX=G,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(G){this._offsetY=G,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(G){this._hasBackdrop=(0,S.Ig)(G)}get lockPosition(){return this._lockPosition}set lockPosition(G){this._lockPosition=(0,S.Ig)(G)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(G){this._flexibleDimensions=(0,S.Ig)(G)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(G){this._growAfterOpen=(0,S.Ig)(G)}get push(){return this._push}set push(G){this._push=(0,S.Ig)(G)}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(G){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),G.origin&&this.open&&this._position.apply()),G.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=je);const G=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=G.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=G.detachments().subscribe(()=>this.detach.emit()),G.keydownEvents().subscribe($=>{this.overlayKeydown.next($),$.keyCode===z.hY&&!this.disableClose&&!(0,z.Vb)($)&&($.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe($=>{this.overlayOutsideClick.next($)})}_buildConfig(){const G=this._position=this.positionStrategy||this._createPositionStrategy(),$=new he({direction:this._dir,positionStrategy:G,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&($.width=this.width),(this.height||0===this.height)&&($.height=this.height),(this.minWidth||0===this.minWidth)&&($.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&($.minHeight=this.minHeight),this.backdropClass&&($.backdropClass=this.backdropClass),this.panelClass&&($.panelClass=this.panelClass),$}_updatePositionStrategy(G){const $=this.positions.map(ze=>({originX:ze.originX,originY:ze.originY,overlayX:ze.overlayX,overlayY:ze.overlayY,offsetX:ze.offsetX||this.offsetX,offsetY:ze.offsetY||this.offsetY,panelClass:ze.panelClass||void 0}));return G.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions($).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const G=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(G),G}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof Te?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(G=>{this.backdropClick.emit(G)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,E.o)(()=>this.positionChange.observers.length>0)).subscribe(G=>{this.positionChange.emit(G),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}He.\u0275fac=function(G){return new(G||He)(_.Y36(et),_.Y36(_.Rgc),_.Y36(_.s_b),_.Y36(ye),_.Y36(D.Is,8))},He.\u0275dir=_.lG2({type:He,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[_.TTD]});const we={provide:ye,deps:[et],useFactory:function Ee(ie){return()=>ie.scrollStrategies.reposition()}};class de{}de.\u0275fac=function(G){return new(G||de)},de.\u0275mod=_.oAB({type:de}),de.\u0275inj=_.cJS({providers:[et,we],imports:[D.vT,d.eL,e.Cl,e.Cl]});class Me extends A{constructor(G,$){super(G,$)}ngOnDestroy(){super.ngOnDestroy(),this._fullScreenEventName&&this._fullScreenListener&&this._document.removeEventListener(this._fullScreenEventName,this._fullScreenListener)}_createContainer(){super._createContainer(),this._adjustParentForFullscreenChange(),this._addFullscreenChangeListener(()=>this._adjustParentForFullscreenChange())}_adjustParentForFullscreenChange(){this._containerElement&&(this.getFullscreenElement()||this._document.body).appendChild(this._containerElement)}_addFullscreenChangeListener(G){const $=this._getEventName();$&&(this._fullScreenListener&&this._document.removeEventListener($,this._fullScreenListener),this._document.addEventListener($,G),this._fullScreenListener=G)}_getEventName(){if(!this._fullScreenEventName){const G=this._document;G.fullscreenEnabled?this._fullScreenEventName="fullscreenchange":G.webkitFullscreenEnabled?this._fullScreenEventName="webkitfullscreenchange":G.mozFullScreenEnabled?this._fullScreenEventName="mozfullscreenchange":G.msFullscreenEnabled&&(this._fullScreenEventName="MSFullscreenChange")}return this._fullScreenEventName}getFullscreenElement(){const G=this._document;return G.fullscreenElement||G.webkitFullscreenElement||G.mozFullScreenElement||G.msFullscreenElement||null}}Me.\u0275fac=function(G){return new(G||Me)(_.LFG(t.K0),_.LFG(l.t4))},Me.\u0275prov=_.Yz7({token:Me,factory:Me.\u0275fac,providedIn:"root"})},9107:(Ge,X,f)=>{"use strict";f.d(X,{Mq:()=>z,Oy:()=>le,_i:()=>I,ht:()=>te,i$:()=>M,kV:()=>q,qK:()=>P,sA:()=>ne,t4:()=>S});var e=f(2560),t=f(4666);let _,D;try{_=typeof Intl<"u"&&Intl.v8BreakIterator}catch{_=!1}class S{constructor(_e){this._platformId=_e,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&&!_)&&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}}S.\u0275fac=function(_e){return new(_e||S)(e.LFG(e.Lbi))},S.\u0275prov=e.Yz7({token:S,factory:S.\u0275fac,providedIn:"root"});class l{}l.\u0275fac=function(_e){return new(_e||l)},l.\u0275mod=e.oAB({type:l}),l.\u0275inj=e.cJS({});const d=["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(D)return D;if("object"!=typeof document||!document)return D=new Set(d),D;let re=document.createElement("input");return D=new Set(d.filter(_e=>(re.setAttribute("type",_e),re.type===_e))),D}let p,k,E,V;function M(re){return function L(){if(null==p&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>p=!0}))}finally{p=p||!1}return p}()?re:!!re.capture}function z(){if(null==E){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return E=!1,E;if("scrollBehavior"in document.documentElement.style)E=!0;else{const re=Element.prototype.scrollTo;E=!!re&&!/\{\s*\[native code\]\s*\}/.test(re.toString())}}return E}function I(){if("object"!=typeof document||!document)return 0;if(null==k){const re=document.createElement("div"),_e=re.style;re.dir="rtl",_e.width="1px",_e.overflow="auto",_e.visibility="hidden",_e.pointerEvents="none",_e.position="absolute";const he=document.createElement("div"),ae=he.style;ae.width="2px",ae.height="1px",re.appendChild(he),document.body.appendChild(re),k=0,0===re.scrollLeft&&(re.scrollLeft=1,k=0===re.scrollLeft?1:2),re.remove()}return k}function q(re){if(function Z(){if(null==V){const re=typeof document<"u"?document.head:null;V=!(!re||!re.createShadowRoot&&!re.attachShadow)}return V}()){const _e=re.getRootNode?re.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&_e instanceof ShadowRoot)return _e}return null}function te(){let re=typeof document<"u"&&document?document.activeElement:null;for(;re&&re.shadowRoot;){const _e=re.shadowRoot.activeElement;if(_e===re)break;re=_e}return re}function ne(re){return re.composedPath?re.composedPath()[0]:re.target}function le(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},7520:(Ge,X,f)=>{"use strict";f.d(X,{C5:()=>L,Pl:()=>te,UE:()=>M,eL:()=>le,en:()=>E,ig:()=>Z,u0:()=>I});var e=f(2560),t=f(4666);class p{attach(he){return this._attachedHost=he,he.attach(this)}detach(){let he=this._attachedHost;null!=he&&(this._attachedHost=null,he.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(he){this._attachedHost=he}}class L extends p{constructor(he,ae,ve,T,i){super(),this.component=he,this.viewContainerRef=ae,this.injector=ve,this.componentFactoryResolver=T,this.projectableNodes=i}}class M extends p{constructor(he,ae,ve,T){super(),this.templateRef=he,this.viewContainerRef=ae,this.context=ve,this.injector=T}get origin(){return this.templateRef.elementRef}attach(he,ae=this.context){return this.context=ae,super.attach(he)}detach(){return this.context=void 0,super.detach()}}class k extends p{constructor(he){super(),this.element=he instanceof e.SBq?he.nativeElement:he}}class E{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(he){return he instanceof L?(this._attachedPortal=he,this.attachComponentPortal(he)):he instanceof M?(this._attachedPortal=he,this.attachTemplatePortal(he)):this.attachDomPortal&&he instanceof k?(this._attachedPortal=he,this.attachDomPortal(he)):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(he){this._disposeFn=he}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class I extends E{constructor(he,ae,ve,T,i){super(),this.outletElement=he,this._componentFactoryResolver=ae,this._appRef=ve,this._defaultInjector=T,this.attachDomPortal=o=>{this._document;const m=o.element;m.parentNode;const h=this._document.createComment("dom-portal");m.parentNode.insertBefore(h,m),this.outletElement.appendChild(m),this._attachedPortal=o,super.setDisposeFn(()=>{h.parentNode&&h.parentNode.replaceChild(m,h)})},this._document=i}attachComponentPortal(he){const ve=(he.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(he.component);let T;return he.viewContainerRef?(T=he.viewContainerRef.createComponent(ve,he.viewContainerRef.length,he.injector||he.viewContainerRef.injector,he.projectableNodes||void 0),this.setDisposeFn(()=>T.destroy())):(T=ve.create(he.injector||this._defaultInjector||e.zs3.NULL),this._appRef.attachView(T.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(T.hostView),T.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(T)),this._attachedPortal=he,T}attachTemplatePortal(he){let ae=he.viewContainerRef,ve=ae.createEmbeddedView(he.templateRef,he.context,{injector:he.injector});return ve.rootNodes.forEach(T=>this.outletElement.appendChild(T)),ve.detectChanges(),this.setDisposeFn(()=>{let T=ae.indexOf(ve);-1!==T&&ae.remove(T)}),this._attachedPortal=he,ve}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(he){return he.hostView.rootNodes[0]}}class Z extends M{constructor(he,ae){super(he,ae)}}Z.\u0275fac=function(he){return new(he||Z)(e.Y36(e.Rgc),e.Y36(e.s_b))},Z.\u0275dir=e.lG2({type:Z,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[e.qOj]});class q extends Z{}q.\u0275fac=function(){let _e;return function(ae){return(_e||(_e=e.n5z(q)))(ae||q)}}(),q.\u0275dir=e.lG2({type:q,selectors:[["","cdk-portal",""],["","portal",""]],exportAs:["cdkPortal"],features:[e._Bn([{provide:Z,useExisting:q}]),e.qOj]});class te extends E{constructor(he,ae,ve){super(),this._componentFactoryResolver=he,this._viewContainerRef=ae,this._isInitialized=!1,this.attached=new e.vpe,this.attachDomPortal=T=>{this._document;const i=T.element;i.parentNode;const o=this._document.createComment("dom-portal");T.setAttachedHost(this),i.parentNode.insertBefore(o,i),this._getRootNode().appendChild(i),this._attachedPortal=T,super.setDisposeFn(()=>{o.parentNode&&o.parentNode.replaceChild(i,o)})},this._document=ve}get portal(){return this._attachedPortal}set portal(he){this.hasAttached()&&!he&&!this._isInitialized||(this.hasAttached()&&super.detach(),he&&super.attach(he),this._attachedPortal=he||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(he){he.setAttachedHost(this);const ae=null!=he.viewContainerRef?he.viewContainerRef:this._viewContainerRef,T=(he.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(he.component),i=ae.createComponent(T,ae.length,he.injector||ae.injector,he.projectableNodes||void 0);return ae!==this._viewContainerRef&&this._getRootNode().appendChild(i.hostView.rootNodes[0]),super.setDisposeFn(()=>i.destroy()),this._attachedPortal=he,this._attachedRef=i,this.attached.emit(i),i}attachTemplatePortal(he){he.setAttachedHost(this);const ae=this._viewContainerRef.createEmbeddedView(he.templateRef,he.context,{injector:he.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=he,this._attachedRef=ae,this.attached.emit(ae),ae}_getRootNode(){const he=this._viewContainerRef.element.nativeElement;return he.nodeType===he.ELEMENT_NODE?he:he.parentNode}}te.\u0275fac=function(he){return new(he||te)(e.Y36(e._Vd),e.Y36(e.s_b),e.Y36(t.K0))},te.\u0275dir=e.lG2({type:te,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[e.qOj]});class ne extends te{}ne.\u0275fac=function(){let _e;return function(ae){return(_e||(_e=e.n5z(ne)))(ae||ne)}}(),ne.\u0275dir=e.lG2({type:ne,selectors:[["","cdkPortalHost",""],["","portalHost",""]],inputs:{portal:["cdkPortalHost","portal"]},exportAs:["cdkPortalHost"],features:[e._Bn([{provide:te,useExisting:ne}]),e.qOj]});class le{}le.\u0275fac=function(he){return new(he||le)},le.\u0275mod=e.oAB({type:le}),le.\u0275inj=e.cJS({})},1494:(Ge,X,f)=>{"use strict";f.d(X,{PQ:()=>Pe,ZD:()=>we,mF:()=>Q,Cl:()=>de,rL:()=>Ye});var e=f(8971),t=f(2560),_=f(253),S=f(745),l=f(833),D=f(3280),d=f(5417),P=f(7714);const p={schedule(Me){let ie=requestAnimationFrame,G=cancelAnimationFrame;const{delegate:$}=p;$&&(ie=$.requestAnimationFrame,G=$.cancelAnimationFrame);const ze=ie(Ue=>{G=void 0,Me(Ue)});return new P.w0(()=>G?.(ze))},requestAnimationFrame(...Me){const{delegate:ie}=p;return(ie?.requestAnimationFrame||requestAnimationFrame)(...Me)},cancelAnimationFrame(...Me){const{delegate:ie}=p;return(ie?.cancelAnimationFrame||cancelAnimationFrame)(...Me)},delegate:void 0};class L extends d.o{constructor(ie,G){super(ie,G),this.scheduler=ie,this.work=G}requestAsyncId(ie,G,$=0){return null!==$&&$>0?super.requestAsyncId(ie,G,$):(ie.actions.push(this),ie._scheduled||(ie._scheduled=p.requestAnimationFrame(()=>ie.flush(void 0))))}recycleAsyncId(ie,G,$=0){var ze;if(null!=$?$>0:this.delay>0)return super.recycleAsyncId(ie,G,$);const{actions:Ue}=ie;null!=G&&(null===(ze=Ue[Ue.length-1])||void 0===ze?void 0:ze.id)!==G&&(p.cancelAnimationFrame(G),ie._scheduled=void 0)}}var M=f(1010);class k extends M.v{flush(ie){this._active=!0;const G=this._scheduled;this._scheduled=void 0;const{actions:$}=this;let ze;ie=ie||$.shift();do{if(ze=ie.execute(ie.state,ie.delay))break}while((ie=$[0])&&ie.id===G&&$.shift());if(this._active=!1,ze){for(;(ie=$[0])&&ie.id===G&&$.shift();)ie.unsubscribe();throw ze}}}const E=new k(L);var I=f(3888),V=f(4437),Z=f(8977),q=f(9211),te=f(116),ne=f(8951),le=f(4874),re=f(1944),_e=f(3945);var ae=f(2673),ve=f(6067),T=f(1203);var o=f(9107),m=f(4666),h=f(2867),y=f(1755);const A=["contentWrapper"],v=new t.OlP("VIRTUAL_SCROLL_STRATEGY");class a{constructor(ie,G,$){this._scrolledIndexChange=new _.x,this.scrolledIndexChange=this._scrolledIndexChange.pipe((0,Z.x)()),this._viewport=null,this._itemSize=ie,this._minBufferPx=G,this._maxBufferPx=$}attach(ie){this._viewport=ie,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(ie,G,$){this._itemSize=ie,this._minBufferPx=G,this._maxBufferPx=$,this._updateTotalContentSize(),this._updateRenderedRange()}onContentScrolled(){this._updateRenderedRange()}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange()}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(ie,G){this._viewport&&this._viewport.scrollToOffset(ie*this._itemSize,G)}_updateTotalContentSize(){!this._viewport||this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}_updateRenderedRange(){if(!this._viewport)return;const ie=this._viewport.getRenderedRange(),G={start:ie.start,end:ie.end},$=this._viewport.getViewportSize(),ze=this._viewport.getDataLength();let Ue=this._viewport.measureScrollOffset(),oe=this._itemSize>0?Ue/this._itemSize:0;if(G.end>ze){const Be=Math.ceil($/this._itemSize),nt=Math.max(0,Math.min(oe,ze-Be));oe!=nt&&(oe=nt,Ue=nt*this._itemSize,G.start=Math.floor(oe)),G.end=Math.max(0,Math.min(ze,G.start+Be))}const bt=Ue-G.start*this._itemSize;if(bt<this._minBufferPx&&0!=G.start){const Be=Math.ceil((this._maxBufferPx-bt)/this._itemSize);G.start=Math.max(0,G.start-Be),G.end=Math.min(ze,Math.ceil(oe+($+this._minBufferPx)/this._itemSize))}else{const Be=G.end*this._itemSize-(Ue+$);if(Be<this._minBufferPx&&G.end!=ze){const nt=Math.ceil((this._maxBufferPx-Be)/this._itemSize);nt>0&&(G.end=Math.min(ze,G.end+nt),G.start=Math.max(0,Math.floor(oe-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(G),this._viewport.setRenderedContentOffset(this._itemSize*G.start),this._scrolledIndexChange.next(Math.floor(oe))}}class U{constructor(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new a(this.itemSize,this.minBufferPx,this.maxBufferPx)}get itemSize(){return this._itemSize}set itemSize(ie){this._itemSize=(0,e.su)(ie)}get minBufferPx(){return this._minBufferPx}set minBufferPx(ie){this._minBufferPx=(0,e.su)(ie)}get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(ie){this._maxBufferPx=(0,e.su)(ie)}ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}}U.\u0275fac=function(ie){return new(ie||U)},U.\u0275dir=t.lG2({type:U,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[t._Bn([{provide:v,useFactory:function C(Me){return Me._scrollStrategy},deps:[(0,t.Gpc)(()=>U)]}]),t.TTD]});class Q{constructor(ie,G,$){this._ngZone=ie,this._platform=G,this._scrolled=new _.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=$}register(ie){this.scrollContainers.has(ie)||this.scrollContainers.set(ie,ie.elementScrolled().subscribe(()=>this._scrolled.next(ie)))}deregister(ie){const G=this.scrollContainers.get(ie);G&&(G.unsubscribe(),this.scrollContainers.delete(ie))}scrolled(ie=20){return this._platform.isBrowser?new l.y(G=>{this._globalSubscription||this._addGlobalListener();const $=ie>0?this._scrolled.pipe((0,q.e)(ie)).subscribe(G):this._scrolled.subscribe(G);return this._scrolledCount++,()=>{$.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,S.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((ie,G)=>this.deregister(G)),this._scrolled.complete()}ancestorScrolled(ie,G){const $=this.getAncestorScrollContainers(ie);return this.scrolled(G).pipe((0,te.h)(ze=>!ze||$.indexOf(ze)>-1))}getAncestorScrollContainers(ie){const G=[];return this.scrollContainers.forEach(($,ze)=>{this._scrollableContainsElement(ze,ie)&&G.push(ze)}),G}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(ie,G){let $=(0,e.fI)(G),ze=ie.getElementRef().nativeElement;do{if($==ze)return!0}while($=$.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const ie=this._getWindow();return(0,D.R)(ie.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}Q.\u0275fac=function(ie){return new(ie||Q)(t.LFG(t.R0b),t.LFG(o.t4),t.LFG(m.K0,8))},Q.\u0275prov=t.Yz7({token:Q,factory:Q.\u0275fac,providedIn:"root"});class Pe{constructor(ie,G,$,ze){this.elementRef=ie,this.scrollDispatcher=G,this.ngZone=$,this.dir=ze,this._destroyed=new _.x,this._elementScrolled=new l.y(Ue=>this.ngZone.runOutsideAngular(()=>(0,D.R)(this.elementRef.nativeElement,"scroll").pipe((0,ne.R)(this._destroyed)).subscribe(Ue)))}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(ie){const G=this.elementRef.nativeElement,$=this.dir&&"rtl"==this.dir.value;null==ie.left&&(ie.left=$?ie.end:ie.start),null==ie.right&&(ie.right=$?ie.start:ie.end),null!=ie.bottom&&(ie.top=G.scrollHeight-G.clientHeight-ie.bottom),$&&0!=(0,o._i)()?(null!=ie.left&&(ie.right=G.scrollWidth-G.clientWidth-ie.left),2==(0,o._i)()?ie.left=ie.right:1==(0,o._i)()&&(ie.left=ie.right?-ie.right:ie.right)):null!=ie.right&&(ie.left=G.scrollWidth-G.clientWidth-ie.right),this._applyScrollToOptions(ie)}_applyScrollToOptions(ie){const G=this.elementRef.nativeElement;(0,o.Mq)()?G.scrollTo(ie):(null!=ie.top&&(G.scrollTop=ie.top),null!=ie.left&&(G.scrollLeft=ie.left))}measureScrollOffset(ie){const G="left",$="right",ze=this.elementRef.nativeElement;if("top"==ie)return ze.scrollTop;if("bottom"==ie)return ze.scrollHeight-ze.clientHeight-ze.scrollTop;const Ue=this.dir&&"rtl"==this.dir.value;return"start"==ie?ie=Ue?$:G:"end"==ie&&(ie=Ue?G:$),Ue&&2==(0,o._i)()?ie==G?ze.scrollWidth-ze.clientWidth-ze.scrollLeft:ze.scrollLeft:Ue&&1==(0,o._i)()?ie==G?ze.scrollLeft+ze.scrollWidth-ze.clientWidth:-ze.scrollLeft:ie==G?ze.scrollLeft:ze.scrollWidth-ze.clientWidth-ze.scrollLeft}}Pe.\u0275fac=function(ie){return new(ie||Pe)(t.Y36(t.SBq),t.Y36(Q),t.Y36(t.R0b),t.Y36(h.Is,8))},Pe.\u0275dir=t.lG2({type:Pe,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]});class Ye{constructor(ie,G,$){this._platform=ie,this._change=new _.x,this._changeListener=ze=>{this._change.next(ze)},this._document=$,G.runOutsideAngular(()=>{if(ie.isBrowser){const ze=this._getWindow();ze.addEventListener("resize",this._changeListener),ze.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const ie=this._getWindow();ie.removeEventListener("resize",this._changeListener),ie.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const ie={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),ie}getViewportRect(){const ie=this.getViewportScrollPosition(),{width:G,height:$}=this.getViewportSize();return{top:ie.top,left:ie.left,bottom:ie.top+$,right:ie.left+G,height:$,width:G}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const ie=this._document,G=this._getWindow(),$=ie.documentElement,ze=$.getBoundingClientRect();return{top:-ze.top||ie.body.scrollTop||G.scrollY||$.scrollTop||0,left:-ze.left||ie.body.scrollLeft||G.scrollX||$.scrollLeft||0}}change(ie=20){return ie>0?this._change.pipe((0,q.e)(ie)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const ie=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:ie.innerWidth,height:ie.innerHeight}:{width:0,height:0}}}Ye.\u0275fac=function(ie){return new(ie||Ye)(t.LFG(o.t4),t.LFG(t.R0b),t.LFG(m.K0,8))},Ye.\u0275prov=t.Yz7({token:Ye,factory:Ye.\u0275fac,providedIn:"root"});const $e=new t.OlP("VIRTUAL_SCROLLABLE");class Ve extends Pe{constructor(ie,G,$,ze){super(ie,G,$,ze)}measureViewportSize(ie){const G=this.elementRef.nativeElement;return"horizontal"===ie?G.clientWidth:G.clientHeight}}Ve.\u0275fac=function(ie){return new(ie||Ve)(t.Y36(t.SBq),t.Y36(Q),t.Y36(t.R0b),t.Y36(h.Is,8))},Ve.\u0275dir=t.lG2({type:Ve,features:[t.qOj]});const et=typeof requestAnimationFrame<"u"?E:I.E;class je extends Ve{constructor(ie,G,$,ze,Ue,oe,bt,Be){super(ie,oe,$,Ue),this.elementRef=ie,this._changeDetectorRef=G,this._scrollStrategy=ze,this.scrollable=Be,this._platform=(0,t.f3M)(o.t4),this._detachedSubject=new _.x,this._renderedRangeSubject=new _.x,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new l.y(nt=>this._scrollStrategy.scrolledIndexChange.subscribe($t=>Promise.resolve().then(()=>this.ngZone.run(()=>nt.next($t))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=P.w0.EMPTY,this._viewportChanges=bt.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this)}get orientation(){return this._orientation}set orientation(ie){this._orientation!==ie&&(this._orientation=ie,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(ie){this._appendOnly=(0,e.Ig)(ie)}ngOnInit(){!this._platform.isBrowser||(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe((0,le.O)(null),(0,q.e)(0,et)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(ie){this._forOf,this.ngZone.runOutsideAngular(()=>{this._forOf=ie,this._forOf.dataStream.pipe((0,ne.R)(this._detachedSubject)).subscribe(G=>{const $=G.length;$!==this._dataLength&&(this._dataLength=$,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(ie){return this.getElementRef().nativeElement.getBoundingClientRect()[ie]}setTotalContentSize(ie){this._totalContentSize!==ie&&(this._totalContentSize=ie,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(ie){(function be(Me,ie){return Me.start==ie.start&&Me.end==ie.end})(this._renderedRange,ie)||(this.appendOnly&&(ie={start:0,end:Math.max(this._renderedRange.end,ie.end)}),this._renderedRangeSubject.next(this._renderedRange=ie),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(ie,G="to-start"){ie=this.appendOnly&&"to-start"===G?0:ie;const $=this.dir&&"rtl"==this.dir.value,ze="horizontal"==this.orientation,Ue=ze?"X":"Y";let bt=`translate${Ue}(${Number((ze&&$?-1:1)*ie)}px)`;this._renderedContentOffset=ie,"to-end"===G&&(bt+=` translate${Ue}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=bt&&(this._renderedContentTransform=bt,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(ie,G="auto"){const $={behavior:G};"horizontal"===this.orientation?$.start=ie:$.top=ie,this.scrollable.scrollTo($)}scrollToIndex(ie,G="auto"){this._scrollStrategy.scrollToIndex(ie,G)}measureScrollOffset(ie){let G;return G=this.scrollable==this?$=>super.measureScrollOffset($):$=>this.scrollable.measureScrollOffset($),Math.max(0,G(ie??("horizontal"===this.orientation?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(ie){let G;const $="left",Ue="rtl"==this.dir?.value;G="start"==ie?Ue?"right":$:"end"==ie?Ue?$:"right":ie||("horizontal"===this.orientation?"left":"top");const oe=this.scrollable.measureBoundingClientRectWithScrollOffset(G);return this.elementRef.nativeElement.getBoundingClientRect()[G]-oe}measureRenderedContentSize(){const ie=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?ie.offsetWidth:ie.offsetHeight}measureRangeSize(ie){return this._forOf?this._forOf.measureRangeSize(ie,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(ie){ie&&this._runAfterChangeDetection.push(ie),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(()=>this._changeDetectorRef.markForCheck());const ie=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const G of ie)G()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}function ye(Me,ie,G){const $=G;if(!$.getBoundingClientRect)return 0;const ze=$.getBoundingClientRect();return"horizontal"===Me?"start"===ie?ze.left:ze.right:"start"===ie?ze.top:ze.bottom}je.\u0275fac=function(ie){return new(ie||je)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(t.R0b),t.Y36(v,8),t.Y36(h.Is,8),t.Y36(Q),t.Y36(Ye),t.Y36($e,8))},je.\u0275cmp=t.Xpm({type:je,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(ie,G){if(1&ie&&t.Gf(A,7),2&ie){let $;t.iGM($=t.CRH())&&(G._contentWrapper=$.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(ie,G){2&ie&&t.ekj("cdk-virtual-scroll-orientation-horizontal","horizontal"===G.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==G.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[t._Bn([{provide:Pe,useFactory:(Me,ie)=>Me||ie,deps:[[new t.FiY,new t.tBr($e)],je]}]),t.qOj],ngContentSelectors:["*"],decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(ie,G){1&ie&&(t.F$t(),t.TgZ(0,"div",0,1),t.Hsn(2),t.qZA(),t._UZ(3,"div",2)),2&ie&&(t.xp6(3),t.Udp("width",G._totalContentWidth)("height",G._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"],encapsulation:2,changeDetection:0});class Te{constructor(ie,G,$,ze,Ue,oe){this._viewContainerRef=ie,this._template=G,this._differs=$,this._viewRepeater=ze,this._viewport=Ue,this.viewChange=new _.x,this._dataSourceChanges=new _.x,this.dataStream=this._dataSourceChanges.pipe((0,le.O)(null),function he(){return(0,re.e)((Me,ie)=>{let G,$=!1;Me.subscribe((0,_e.x)(ie,ze=>{const Ue=G;G=ze,$&&ie.next([Ue,ze]),$=!0}))})}(),(0,ae.w)(([bt,Be])=>this._changeDataSource(bt,Be)),function i(Me,ie,G){let $,ze=!1;return Me&&"object"==typeof Me?({bufferSize:$=1/0,windowTime:ie=1/0,refCount:ze=!1,scheduler:G}=Me):$=Me??1/0,(0,T.B)({connector:()=>new ve.t($,ie,G),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:ze})}(1)),this._differ=null,this._needsUpdate=!1,this._destroyed=new _.x,this.dataStream.subscribe(bt=>{this._data=bt,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe((0,ne.R)(this._destroyed)).subscribe(bt=>{this._renderedRange=bt,this.viewChange.observers.length&&oe.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(ie){this._cdkVirtualForOf=ie,(0,y.Z9)(ie)?this._dataSourceChanges.next(ie):this._dataSourceChanges.next(new y.P3((0,V.b)(ie)?ie:Array.from(ie||[])))}get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(ie){this._needsUpdate=!0,this._cdkVirtualForTrackBy=ie?(G,$)=>ie(G+(this._renderedRange?this._renderedRange.start:0),$):void 0}set cdkVirtualForTemplate(ie){ie&&(this._needsUpdate=!0,this._template=ie)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(ie){this._viewRepeater.viewCacheSize=(0,e.su)(ie)}measureRangeSize(ie,G){if(ie.start>=ie.end)return 0;ie.start<this._renderedRange.start||(ie.end,this._renderedRange.end);const $=ie.start-this._renderedRange.start,ze=ie.end-ie.start;let Ue,oe;for(let bt=0;bt<ze;bt++){const Be=this._viewContainerRef.get(bt+$);if(Be&&Be.rootNodes.length){Ue=oe=Be.rootNodes[0];break}}for(let bt=ze-1;bt>-1;bt--){const Be=this._viewContainerRef.get(bt+$);if(Be&&Be.rootNodes.length){oe=Be.rootNodes[Be.rootNodes.length-1];break}}return Ue&&oe?ye(G,"end",oe)-ye(G,"start",Ue):0}ngDoCheck(){if(this._differ&&this._needsUpdate){const ie=this._differ.diff(this._renderedItems);ie?this._applyChanges(ie):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){!this._renderedRange||(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((ie,G)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(ie,G):G)),this._needsUpdate=!0)}_changeDataSource(ie,G){return ie&&ie.disconnect(this),this._needsUpdate=!0,G?G.connect(this):(0,S.of)()}_updateContext(){const ie=this._data.length;let G=this._viewContainerRef.length;for(;G--;){const $=this._viewContainerRef.get(G);$.context.index=this._renderedRange.start+G,$.context.count=ie,this._updateComputedContextProperties($.context),$.detectChanges()}}_applyChanges(ie){this._viewRepeater.applyChanges(ie,this._viewContainerRef,(ze,Ue,oe)=>this._getEmbeddedViewArgs(ze,oe),ze=>ze.item),ie.forEachIdentityChange(ze=>{this._viewContainerRef.get(ze.currentIndex).context.$implicit=ze.item});const G=this._data.length;let $=this._viewContainerRef.length;for(;$--;){const ze=this._viewContainerRef.get($);ze.context.index=this._renderedRange.start+$,ze.context.count=G,this._updateComputedContextProperties(ze.context)}}_updateComputedContextProperties(ie){ie.first=0===ie.index,ie.last=ie.index===ie.count-1,ie.even=ie.index%2==0,ie.odd=!ie.even}_getEmbeddedViewArgs(ie,G){return{templateRef:this._template,context:{$implicit:ie.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:G}}}Te.\u0275fac=function(ie){return new(ie||Te)(t.Y36(t.s_b),t.Y36(t.Rgc),t.Y36(t.ZZ4),t.Y36(y.k),t.Y36(je,4),t.Y36(t.R0b))},Te.\u0275dir=t.lG2({type:Te,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},features:[t._Bn([{provide:y.k,useClass:y.eX}])]});class He extends Ve{constructor(ie,G,$,ze){super(ie,G,$,ze)}measureBoundingClientRectWithScrollOffset(ie){return this.getElementRef().nativeElement.getBoundingClientRect()[ie]-this.measureScrollOffset(ie)}}He.\u0275fac=function(ie){return new(ie||He)(t.Y36(t.SBq),t.Y36(Q),t.Y36(t.R0b),t.Y36(h.Is,8))},He.\u0275dir=t.lG2({type:He,selectors:[["","cdkVirtualScrollingElement",""]],hostAttrs:[1,"cdk-virtual-scrollable"],features:[t._Bn([{provide:$e,useExisting:He}]),t.qOj]});class Ee extends Ve{constructor(ie,G,$){super(new t.SBq(document.documentElement),ie,G,$),this._elementScrolled=new l.y(ze=>this.ngZone.runOutsideAngular(()=>(0,D.R)(document,"scroll").pipe((0,ne.R)(this._destroyed)).subscribe(ze)))}measureBoundingClientRectWithScrollOffset(ie){return this.getElementRef().nativeElement.getBoundingClientRect()[ie]}}Ee.\u0275fac=function(ie){return new(ie||Ee)(t.Y36(Q),t.Y36(t.R0b),t.Y36(h.Is,8))},Ee.\u0275dir=t.lG2({type:Ee,selectors:[["cdk-virtual-scroll-viewport","scrollWindow",""]],features:[t._Bn([{provide:$e,useExisting:Ee}]),t.qOj]});class we{}we.\u0275fac=function(ie){return new(ie||we)},we.\u0275mod=t.oAB({type:we}),we.\u0275inj=t.cJS({});class de{}de.\u0275fac=function(ie){return new(ie||de)},de.\u0275mod=t.oAB({type:de}),de.\u0275inj=t.cJS({imports:[h.vT,we,h.vT,we]})},1861:(Ge,X,f)=>{"use strict";f.d(X,{B8:()=>ne,KL:()=>E,U5:()=>_e,be:()=>te,gx:()=>q,po:()=>re,st:()=>le,u6:()=>z});var e=f(4218),t=f(2867),_=f(8971),S=f(8456),l=f(2560),D=f(9107),d=f(253),P=f(745),p=f(4874),L=f(8951);function M(he,ae){1&he&&l.Hsn(0)}class E{constructor(ae){this._elementRef=ae}focus(){this._elementRef.nativeElement.focus()}}E.\u0275fac=function(ae){return new(ae||E)(l.Y36(l.SBq))},E.\u0275dir=l.lG2({type:E,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]});class z{constructor(ae){this.template=ae}}z.\u0275fac=function(ae){return new(ae||z)(l.Y36(l.Rgc))},z.\u0275dir=l.lG2({type:z,selectors:[["","cdkStepLabel",""]]});let I=0;const Z_NUMBER="number",Z_EDIT="edit",Z_DONE="done",Z_ERROR="error",q=new l.OlP("STEPPER_GLOBAL_OPTIONS");class te{constructor(ae,ve){this._stepper=ae,this.interacted=!1,this.interactedStream=new l.vpe,this._editable=!0,this._optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=ve||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType}get editable(){return this._editable}set editable(ae){this._editable=(0,_.Ig)(ae)}get optional(){return this._optional}set optional(ae){this._optional=(0,_.Ig)(ae)}get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed(ae){this._completedOverride=(0,_.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,_.Ig)(ae)}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}select(){this._stepper.selected=this}reset(){this.interacted=!1,null!=this._completedOverride&&(this._completedOverride=!1),null!=this._customError&&(this._customError=!1),this.stepControl&&this.stepControl.reset()}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}_showError(){return this._stepperOptions.showError??null!=this._customError}}te.\u0275fac=function(ae){return new(ae||te)(l.Y36((0,l.Gpc)(()=>ne)),l.Y36(q,8))},te.\u0275cmp=l.Xpm({type:te,selectors:[["cdk-step"]],contentQueries:function(ae,ve,T){if(1&ae&&l.Suo(T,z,5),2&ae){let i;l.iGM(i=l.CRH())&&(ve.stepLabel=i.first)}},viewQuery:function(ae,ve){if(1&ae&&l.Gf(l.Rgc,7),2&ae){let T;l.iGM(T=l.CRH())&&(ve.content=T.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:[l.TTD],ngContentSelectors:["*"],decls:1,vars:0,template:function(ae,ve){1&ae&&(l.F$t(),l.YNc(0,M,1,0,"ng-template"))},encapsulation:2,changeDetection:0});class ne{constructor(ae,ve,T){this._dir=ae,this._changeDetectorRef=ve,this._elementRef=T,this._destroyed=new d.x,this.steps=new l.n_E,this._sortedHeaders=new l.n_E,this._linear=!1,this._selectedIndex=0,this.selectionChange=new l.vpe,this._orientation="horizontal",this._groupId=I++}get linear(){return this._linear}set linear(ae){this._linear=(0,_.Ig)(ae)}get selectedIndex(){return this._selectedIndex}set selectedIndex(ae){const ve=(0,_.su)(ae);this.steps&&this._steps?(this._isValidIndex(ve),this.selected?._markAsInteracted(),this._selectedIndex!==ve&&!this._anyControlsInvalidOrPending(ve)&&(ve>=this._selectedIndex||this.steps.toArray()[ve].editable)&&this._updateSelectedItemIndex(ve)):this._selectedIndex=ve}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)}ngAfterContentInit(){this._steps.changes.pipe((0,p.O)(this._steps),(0,L.R)(this._destroyed)).subscribe(ae=>{this.steps.reset(ae.filter(ve=>ve._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe((0,p.O)(this._stepHeader),(0,L.R)(this._destroyed)).subscribe(ae=>{this._sortedHeaders.reset(ae.toArray().sort((ve,T)=>ve._elementRef.nativeElement.compareDocumentPosition(T._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,p.O)(this._layoutDirection()),(0,L.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 ve=ae-this._selectedIndex;return ve<0?"rtl"===this._layoutDirection()?"next":"previous":ve>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType(ae,ve=Z_NUMBER){const T=this.steps.toArray()[ae],i=this._isCurrentStep(ae);return T._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(T,i):this._getGuidelineLogic(T,i,ve)}_getDefaultIndicatorLogic(ae,ve){return ae._showError()&&ae.hasError&&!ve?Z_ERROR:!ae.completed||ve?Z_NUMBER:ae.editable?Z_EDIT:Z_DONE}_getGuidelineLogic(ae,ve,T=Z_NUMBER){return ae._showError()&&ae.hasError&&!ve?Z_ERROR:ae.completed&&!ve?Z_DONE:ae.completed&&ve?T:ae.editable&&ve?Z_EDIT:T}_isCurrentStep(ae){return this._selectedIndex===ae}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(ae){const ve=this.steps.toArray();this.selectionChange.emit({selectedIndex:ae,previouslySelectedIndex:this._selectedIndex,selectedStep:ve[ae],previouslySelectedStep:ve[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(ae):this._keyManager.updateActiveItem(ae),this._selectedIndex=ae,this._stateChanged()}_onKeydown(ae){const ve=(0,S.Vb)(ae),T=ae.keyCode,i=this._keyManager;null==i.activeItemIndex||ve||T!==S.L_&&T!==S.K5?i.onKeydown(ae):(this.selectedIndex=i.activeItemIndex,ae.preventDefault())}_anyControlsInvalidOrPending(ae){return!!(this._linear&&ae>=0)&&this.steps.toArray().slice(0,ae).some(ve=>{const T=ve.stepControl;return(T?T.invalid||T.pending||!ve.interacted:!ve.completed)&&!ve.optional&&!ve._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const ae=this._elementRef.nativeElement,ve=(0,D.ht)();return ae===ve||ae.contains(ve)}_isValidIndex(ae){return ae>-1&&(!this.steps||ae<this.steps.length)}}ne.\u0275fac=function(ae){return new(ae||ne)(l.Y36(t.Is,8),l.Y36(l.sBO),l.Y36(l.SBq))},ne.\u0275dir=l.lG2({type:ne,selectors:[["","cdkStepper",""]],contentQueries:function(ae,ve,T){if(1&ae&&(l.Suo(T,te,5),l.Suo(T,E,5)),2&ae){let i;l.iGM(i=l.CRH())&&(ve._steps=i),l.iGM(i=l.CRH())&&(ve._stepHeader=i)}},inputs:{linear:"linear",selectedIndex:"selectedIndex",selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange"},exportAs:["cdkStepper"]});class le{constructor(ae){this._stepper=ae,this.type="submit"}}le.\u0275fac=function(ae){return new(ae||le)(l.Y36(ne))},le.\u0275dir=l.lG2({type:le,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(ae,ve){1&ae&&l.NdJ("click",function(){return ve._stepper.next()}),2&ae&&l.Ikx("type",ve.type)},inputs:{type:"type"}});class re{constructor(ae){this._stepper=ae,this.type="button"}}re.\u0275fac=function(ae){return new(ae||re)(l.Y36(ne))},re.\u0275dir=l.lG2({type:re,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(ae,ve){1&ae&&l.NdJ("click",function(){return ve._stepper.previous()}),2&ae&&l.Ikx("type",ve.type)},inputs:{type:"type"}});class _e{}_e.\u0275fac=function(ae){return new(ae||_e)},_e.\u0275mod=l.oAB({type:_e}),_e.\u0275inj=l.cJS({imports:[t.vT]})},5183:(Ge,X,f)=>{"use strict";f.d(X,{HI:()=>I,Hs:()=>ae,Ud:()=>h,VY:()=>z,XJ:()=>m,Xx:()=>i,_0:()=>he,cu:()=>V,nZ:()=>A,rO:()=>q});var e=f(1755),t=f(4437),_=f(253),S=f(6317),l=f(745),D=f(9295),d=f(116),P=f(8951),p=f(2560),L=f(8971),M=f(2867);class k{constructor(){this.expansionModel=new e.Ov(!0)}toggle(v){this.expansionModel.toggle(this._trackByValue(v))}expand(v){this.expansionModel.select(this._trackByValue(v))}collapse(v){this.expansionModel.deselect(this._trackByValue(v))}isExpanded(v){return this.expansionModel.isSelected(this._trackByValue(v))}toggleDescendants(v){this.expansionModel.isSelected(this._trackByValue(v))?this.collapseDescendants(v):this.expandDescendants(v)}collapseAll(){this.expansionModel.clear()}expandDescendants(v){let a=[v];a.push(...this.getDescendants(v)),this.expansionModel.select(...a.map(C=>this._trackByValue(C)))}collapseDescendants(v){let a=[v];a.push(...this.getDescendants(v)),this.expansionModel.deselect(...a.map(C=>this._trackByValue(C)))}_trackByValue(v){return this.trackBy?this.trackBy(v):v}}class z extends k{constructor(v,a){super(),this.getChildren=v,this.options=a,this.options&&(this.trackBy=this.options.trackBy)}expandAll(){this.expansionModel.clear();const v=this.dataNodes.reduce((a,C)=>[...a,...this.getDescendants(C),C],[]);this.expansionModel.select(...v.map(a=>this._trackByValue(a)))}getDescendants(v){const a=[];return this._getDescendants(a,v),a.splice(1)}_getDescendants(v,a){v.push(a);const C=this.getChildren(a);Array.isArray(C)?C.forEach(U=>this._getDescendants(v,U)):(0,t.b)(C)&&C.pipe((0,D.q)(1),(0,d.h)(Boolean)).subscribe(U=>{for(const N of U)this._getDescendants(v,N)})}}const I=new p.OlP("CDK_TREE_NODE_OUTLET_NODE");class V{constructor(v,a){this.viewContainer=v,this._node=a}}V.\u0275fac=function(v){return new(v||V)(p.Y36(p.s_b),p.Y36(I,8))},V.\u0275dir=p.lG2({type:V,selectors:[["","cdkTreeNodeOutlet",""]]});class Z{constructor(v){this.$implicit=v}}class q{constructor(v){this.template=v}}q.\u0275fac=function(v){return new(v||q)(p.Y36(p.Rgc))},q.\u0275dir=p.lG2({type:q,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:["cdkTreeNodeDefWhen","when"]}});class he{constructor(v,a){this._differs=v,this._changeDetectorRef=a,this._onDestroy=new _.x,this._levels=new Map,this.viewChange=new S.X({start:0,end:Number.MAX_VALUE})}get dataSource(){return this._dataSource}set dataSource(v){this._dataSource!==v&&this._switchDataSource(v)}ngOnInit(){this._dataDiffer=this._differs.find([]).create(this.trackBy),this.treeControl}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 v=this._nodeDefs.filter(a=>!a.when);v.length,this._defaultNodeDef=v[0],this.dataSource&&this._nodeDefs&&!this._dataSubscription&&this._observeRenderChanges()}_switchDataSource(v){this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),v||this._nodeOutlet.viewContainer.clear(),this._dataSource=v,this._nodeDefs&&this._observeRenderChanges()}_observeRenderChanges(){let v;(0,e.Z9)(this._dataSource)?v=this._dataSource.connect(this):(0,t.b)(this._dataSource)?v=this._dataSource:Array.isArray(this._dataSource)&&(v=(0,l.of)(this._dataSource)),v&&(this._dataSubscription=v.pipe((0,P.R)(this._onDestroy)).subscribe(a=>this.renderNodeChanges(a)))}renderNodeChanges(v,a=this._dataDiffer,C=this._nodeOutlet.viewContainer,U){const N=a.diff(v);!N||(N.forEachOperation((Q,Pe,Le)=>{if(null==Q.previousIndex)this.insertNode(v[Le],Le,C,U);else if(null==Le)C.remove(Pe),this._levels.delete(Q.item);else{const Ye=C.get(Pe);C.move(Ye,Le)}}),this._changeDetectorRef.detectChanges())}_getNodeDef(v,a){if(1===this._nodeDefs.length)return this._nodeDefs.first;return this._nodeDefs.find(U=>U.when&&U.when(a,v))||this._defaultNodeDef}insertNode(v,a,C,U){const N=this._getNodeDef(v,a),Q=new Z(v);this.treeControl.getLevel?Q.level=this.treeControl.getLevel(v):typeof U<"u"&&this._levels.has(U)?Q.level=this._levels.get(U)+1:Q.level=0,this._levels.set(v,Q.level),(C||this._nodeOutlet.viewContainer).createEmbeddedView(N.template,Q,a),ae.mostRecentTreeNode&&(ae.mostRecentTreeNode.data=v)}}he.\u0275fac=function(v){return new(v||he)(p.Y36(p.ZZ4),p.Y36(p.sBO))},he.\u0275cmp=p.Xpm({type:he,selectors:[["cdk-tree"]],contentQueries:function(v,a,C){if(1&v&&p.Suo(C,q,5),2&v){let U;p.iGM(U=p.CRH())&&(a._nodeDefs=U)}},viewQuery:function(v,a){if(1&v&&p.Gf(V,7),2&v){let C;p.iGM(C=p.CRH())&&(a._nodeOutlet=C.first)}},hostAttrs:["role","tree",1,"cdk-tree"],inputs:{dataSource:"dataSource",treeControl:"treeControl",trackBy:"trackBy"},exportAs:["cdkTree"],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(v,a){1&v&&p.GkF(0,0)},dependencies:[V],encapsulation:2});class ae{constructor(v,a){this._elementRef=v,this._tree=a,this._destroyed=new _.x,this._dataChanges=new _.x,ae.mostRecentTreeNode=this,this.role="treeitem"}get role(){return"treeitem"}set role(v){this._elementRef.nativeElement.setAttribute("role",v)}get data(){return this._data}set data(v){v!==this._data&&(this._data=v,this._setRoleFromData(),this._dataChanges.next())}get isExpanded(){return this._tree.treeControl.isExpanded(this._data)}get level(){return this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._data):this._parentNodeAriaLevel}ngOnInit(){this._parentNodeAriaLevel=function ve(R){let v=R.parentElement;for(;v&&!T(v);)v=v.parentElement;return v?v.classList.contains("cdk-nested-tree-node")?(0,L.su)(v.getAttribute("aria-level")):0:-1}(this._elementRef.nativeElement),this._elementRef.nativeElement.setAttribute("aria-level",`${this.level+1}`)}ngOnDestroy(){ae.mostRecentTreeNode===this&&(ae.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}_setRoleFromData(){!this._tree.treeControl.isExpandable&&this._tree.treeControl.getChildren,this.role="treeitem"}}function T(R){const v=R.classList;return!(!v?.contains("cdk-nested-tree-node")&&!v?.contains("cdk-tree"))}ae.mostRecentTreeNode=null,ae.\u0275fac=function(v){return new(v||ae)(p.Y36(p.SBq),p.Y36(he))},ae.\u0275dir=p.lG2({type:ae,selectors:[["cdk-tree-node"]],hostAttrs:[1,"cdk-tree-node"],hostVars:1,hostBindings:function(v,a){2&v&&p.uIk("aria-expanded",a.isExpanded)},inputs:{role:"role"},exportAs:["cdkTreeNode"]});class i extends ae{constructor(v,a,C){super(v,a),this._differs=C}ngAfterContentInit(){this._dataDiffer=this._differs.find([]).create(this._tree.trackBy),this._tree.treeControl.getChildren;const v=this._tree.treeControl.getChildren(this.data);Array.isArray(v)?this.updateChildrenNodes(v):(0,t.b)(v)&&v.pipe((0,P.R)(this._destroyed)).subscribe(a=>this.updateChildrenNodes(a)),this.nodeOutlet.changes.pipe((0,P.R)(this._destroyed)).subscribe(()=>this.updateChildrenNodes())}ngOnInit(){super.ngOnInit()}ngOnDestroy(){this._clear(),super.ngOnDestroy()}updateChildrenNodes(v){const a=this._getNodeOutlet();if(v&&(this._children=v),a&&this._children){const C=a.viewContainer;this._tree.renderNodeChanges(this._children,this._dataDiffer,C,this._data)}else this._dataDiffer.diff([])}_clear(){const v=this._getNodeOutlet();v&&(v.viewContainer.clear(),this._dataDiffer.diff([]))}_getNodeOutlet(){const v=this.nodeOutlet;return v&&v.find(a=>!a._node||a._node===this)}}i.\u0275fac=function(v){return new(v||i)(p.Y36(p.SBq),p.Y36(he),p.Y36(p.ZZ4))},i.\u0275dir=p.lG2({type:i,selectors:[["cdk-nested-tree-node"]],contentQueries:function(v,a,C){if(1&v&&p.Suo(C,V,5),2&v){let U;p.iGM(U=p.CRH())&&(a.nodeOutlet=U)}},hostAttrs:[1,"cdk-nested-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["cdkNestedTreeNode"],features:[p._Bn([{provide:ae,useExisting:i},{provide:I,useExisting:i}]),p.qOj]});const o=/([A-Za-z%]+)$/;class m{constructor(v,a,C,U){this._treeNode=v,this._tree=a,this._element=C,this._dir=U,this._destroyed=new _.x,this.indentUnits="px",this._indent=40,this._setPadding(),U&&U.change.pipe((0,P.R)(this._destroyed)).subscribe(()=>this._setPadding(!0)),v._dataChanges.subscribe(()=>this._setPadding())}get level(){return this._level}set level(v){this._setLevelInput(v)}get indent(){return this._indent}set indent(v){this._setIndentInput(v)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){const v=this._treeNode.data&&this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._treeNode.data):null,a=null==this._level?v:this._level;return"number"==typeof a?`${a*this._indent}${this.indentUnits}`:null}_setPadding(v=!1){const a=this._paddingIndent();if(a!==this._currentPadding||v){const C=this._element.nativeElement,U=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",N="paddingLeft"===U?"paddingRight":"paddingLeft";C.style[U]=a||"",C.style[N]="",this._currentPadding=a}}_setLevelInput(v){this._level=(0,L.su)(v,null),this._setPadding()}_setIndentInput(v){let a=v,C="px";if("string"==typeof v){const U=v.split(o);a=U[0],C=U[1]||C}this.indentUnits=C,this._indent=(0,L.su)(a),this._setPadding()}}m.\u0275fac=function(v){return new(v||m)(p.Y36(ae),p.Y36(he),p.Y36(p.SBq),p.Y36(M.Is,8))},m.\u0275dir=p.lG2({type:m,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:["cdkTreeNodePadding","level"],indent:["cdkTreeNodePaddingIndent","indent"]}});class h{constructor(v,a){this._tree=v,this._treeNode=a,this._recursive=!1}get recursive(){return this._recursive}set recursive(v){this._recursive=(0,L.Ig)(v)}_toggle(v){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),v.stopPropagation()}}h.\u0275fac=function(v){return new(v||h)(p.Y36(he),p.Y36(ae))},h.\u0275dir=p.lG2({type:h,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(v,a){1&v&&p.NdJ("click",function(U){return a._toggle(U)})},inputs:{recursive:["cdkTreeNodeToggleRecursive","recursive"]}});class A{}A.\u0275fac=function(v){return new(v||A)},A.\u0275mod=p.oAB({type:A}),A.\u0275inj=p.cJS({})},4666:(Ge,X,f)=>{"use strict";f.d(X,{Do:()=>ne,ED:()=>Ua,EM:()=>Da,HT:()=>l,JF:()=>xr,JJ:()=>ro,K0:()=>d,Mx:()=>xe,NF:()=>ur,Nd:()=>Ba,O5:()=>Yi,OU:()=>Ja,Ov:()=>Dn,PC:()=>ui,PM:()=>$a,RF:()=>Zn,S$:()=>Z,Ts:()=>ra,V_:()=>L,Ye:()=>le,b0:()=>te,bD:()=>ir,ez:()=>Za,gd:()=>Pa,i8:()=>Jn,mk:()=>ke,n9:()=>Kn,q:()=>_,rS:()=>Gn,sg:()=>ci,tP:()=>Ti,uU:()=>wa,w_:()=>D});var e=f(2560);let t=null;function _(){return t}function l(Fe){t||(t=Fe)}class D{}const d=new e.OlP("DocumentToken");class P{historyGo(ce){throw new Error("Not implemented")}}P.\u0275fac=function(ce){return new(ce||P)},P.\u0275prov=e.Yz7({token:P,factory:function(){return function p(){return(0,e.LFG)(M)}()},providedIn:"platform"});const L=new e.OlP("Location Initialized");class M extends P{constructor(ce){super(),this._doc=ce,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return _().getBaseHref(this._doc)}onPopState(ce){const ht=_().getGlobalEventTarget(this._doc,"window");return ht.addEventListener("popstate",ce,!1),()=>ht.removeEventListener("popstate",ce)}onHashChange(ce){const ht=_().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,zt){k()?this._history.pushState(ce,ht,zt):this.location.hash=zt}replaceState(ce,ht,zt){k()?this._history.replaceState(ce,ht,zt):this.location.hash=zt}forward(){this._history.forward()}back(){this._history.back()}historyGo(ce=0){this._history.go(ce)}getState(){return this._history.state}}function k(){return!!window.history.pushState}function z(Fe,ce){if(0==Fe.length)return ce;if(0==ce.length)return Fe;let ht=0;return Fe.endsWith("/")&&ht++,ce.startsWith("/")&&ht++,2==ht?Fe+ce.substring(1):1==ht?Fe+ce:Fe+"/"+ce}function I(Fe){const ce=Fe.match(/#|\?|$/),ht=ce&&ce.index||Fe.length,zt=ht-("/"===Fe[ht-1]?1:0);return Fe.slice(0,zt)+Fe.slice(ht)}function V(Fe){return Fe&&"?"!==Fe[0]?"?"+Fe:Fe}M.\u0275fac=function(ce){return new(ce||M)(e.LFG(d))},M.\u0275prov=e.Yz7({token:M,factory:function(){return function E(){return new M((0,e.LFG)(d))}()},providedIn:"platform"});class Z{historyGo(ce){throw new Error("Not implemented")}}Z.\u0275fac=function(ce){return new(ce||Z)},Z.\u0275prov=e.Yz7({token:Z,factory:function(){return(0,e.f3M)(te)},providedIn:"root"});const q=new e.OlP("appBaseHref");class te extends Z{constructor(ce,ht){super(),this._platformLocation=ce,this._removeListenerFns=[],this._baseHref=ht??this._platformLocation.getBaseHrefFromDOM()??(0,e.f3M)(d).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 z(this._baseHref,ce)}path(ce=!1){const ht=this._platformLocation.pathname+V(this._platformLocation.search),zt=this._platformLocation.hash;return zt&&ce?`${ht}${zt}`:ht}pushState(ce,ht,zt,Gt){const _i=this.prepareExternalUrl(zt+V(Gt));this._platformLocation.pushState(ce,ht,_i)}replaceState(ce,ht,zt,Gt){const _i=this.prepareExternalUrl(zt+V(Gt));this._platformLocation.replaceState(ce,ht,_i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(ce=0){this._platformLocation.historyGo?.(ce)}}te.\u0275fac=function(ce){return new(ce||te)(e.LFG(P),e.LFG(q,8))},te.\u0275prov=e.Yz7({token:te,factory:te.\u0275fac,providedIn:"root"});class ne extends Z{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=z(this._baseHref,ce);return ht.length>0?"#"+ht:ht}pushState(ce,ht,zt,Gt){let _i=this.prepareExternalUrl(zt+V(Gt));0==_i.length&&(_i=this._platformLocation.pathname),this._platformLocation.pushState(ce,ht,_i)}replaceState(ce,ht,zt,Gt){let _i=this.prepareExternalUrl(zt+V(Gt));0==_i.length&&(_i=this._platformLocation.pathname),this._platformLocation.replaceState(ce,ht,_i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(ce=0){this._platformLocation.historyGo?.(ce)}}ne.\u0275fac=function(ce){return new(ce||ne)(e.LFG(P),e.LFG(q,8))},ne.\u0275prov=e.Yz7({token:ne,factory:ne.\u0275fac});class le{constructor(ce){this._subject=new e.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=ce;const ht=this._locationStrategy.getBaseHref();this._baseHref=I(he(ht)),this._locationStrategy.onPopState(zt=>{this._subject.emit({url:this.path(!0),pop:!0,state:zt.state,type:zt.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+V(ht))}normalize(ce){return le.stripTrailingSlash(function _e(Fe,ce){return Fe&&ce.startsWith(Fe)?ce.substring(Fe.length):ce}(this._baseHref,he(ce)))}prepareExternalUrl(ce){return ce&&"/"!==ce[0]&&(ce="/"+ce),this._locationStrategy.prepareExternalUrl(ce)}go(ce,ht="",zt=null){this._locationStrategy.pushState(zt,"",ce,ht),this._notifyUrlChangeListeners(this.prepareExternalUrl(ce+V(ht)),zt)}replaceState(ce,ht="",zt=null){this._locationStrategy.replaceState(zt,"",ce,ht),this._notifyUrlChangeListeners(this.prepareExternalUrl(ce+V(ht)),zt)}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(zt=>zt(ce,ht))}subscribe(ce,ht,zt){return this._subject.subscribe({next:ce,error:ht,complete:zt})}}function he(Fe){return Fe.replace(/\/index.html$/,"")}le.normalizeQueryParams=V,le.joinWithSlash=z,le.stripTrailingSlash=I,le.\u0275fac=function(ce){return new(ce||le)(e.LFG(Z))},le.\u0275prov=e.Yz7({token:le,factory:function(){return function re(){return new le((0,e.LFG)(Z))}()},providedIn:"root"});const ae={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var ve,Fe,T,i,o,m,h,y;function Q(Fe,ce){return de((0,e.cg1)(Fe)[e.wAp.DateFormat],ce)}function Pe(Fe,ce){return de((0,e.cg1)(Fe)[e.wAp.TimeFormat],ce)}function Le(Fe,ce){return de((0,e.cg1)(Fe)[e.wAp.DateTimeFormat],ce)}function Ye(Fe,ce){const ht=(0,e.cg1)(Fe),zt=ht[e.wAp.NumberSymbols][ce];if(typeof zt>"u"){if(ce===h.CurrencyDecimal)return ht[e.wAp.NumberSymbols][h.Decimal];if(ce===h.CurrencyGroup)return ht[e.wAp.NumberSymbols][h.Group]}return zt}function $e(Fe,ce){return(0,e.cg1)(Fe)[e.wAp.NumberFormats][ce]}(Fe=ve||(ve={}))[Fe.Decimal=0]="Decimal",Fe[Fe.Percent=1]="Percent",Fe[Fe.Currency=2]="Currency",Fe[Fe.Scientific=3]="Scientific",function(Fe){Fe[Fe.Zero=0]="Zero",Fe[Fe.One=1]="One",Fe[Fe.Two=2]="Two",Fe[Fe.Few=3]="Few",Fe[Fe.Many=4]="Many",Fe[Fe.Other=5]="Other"}(T||(T={})),function(Fe){Fe[Fe.Format=0]="Format",Fe[Fe.Standalone=1]="Standalone"}(i||(i={})),function(Fe){Fe[Fe.Narrow=0]="Narrow",Fe[Fe.Abbreviated=1]="Abbreviated",Fe[Fe.Wide=2]="Wide",Fe[Fe.Short=3]="Short"}(o||(o={})),function(Fe){Fe[Fe.Short=0]="Short",Fe[Fe.Medium=1]="Medium",Fe[Fe.Long=2]="Long",Fe[Fe.Full=3]="Full"}(m||(m={})),function(Fe){Fe[Fe.Decimal=0]="Decimal",Fe[Fe.Group=1]="Group",Fe[Fe.List=2]="List",Fe[Fe.PercentSign=3]="PercentSign",Fe[Fe.PlusSign=4]="PlusSign",Fe[Fe.MinusSign=5]="MinusSign",Fe[Fe.Exponential=6]="Exponential",Fe[Fe.SuperscriptingExponent=7]="SuperscriptingExponent",Fe[Fe.PerMille=8]="PerMille",Fe[Fe.Infinity=9]="Infinity",Fe[Fe.NaN=10]="NaN",Fe[Fe.TimeSeparator=11]="TimeSeparator",Fe[Fe.CurrencyDecimal=12]="CurrencyDecimal",Fe[Fe.CurrencyGroup=13]="CurrencyGroup"}(h||(h={})),function(Fe){Fe[Fe.Sunday=0]="Sunday",Fe[Fe.Monday=1]="Monday",Fe[Fe.Tuesday=2]="Tuesday",Fe[Fe.Wednesday=3]="Wednesday",Fe[Fe.Thursday=4]="Thursday",Fe[Fe.Friday=5]="Friday",Fe[Fe.Saturday=6]="Saturday"}(y||(y={}));const ye=e.kL8;function Te(Fe){if(!Fe[e.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${Fe[e.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function de(Fe,ce){for(let ht=ce;ht>-1;ht--)if(typeof Fe[ht]<"u")return Fe[ht];throw new Error("Locale data API: locale data undefined")}function Me(Fe){const[ce,ht]=Fe.split(":");return{hours:+ce,minutes:+ht}}function ie(Fe,ce,ht="en"){const zt=function je(Fe){return(0,e.cg1)(Fe)[e.wAp.Currencies]}(ht)[Fe]||ae[Fe]||[],Gt=zt[1];return"narrow"===ce&&"string"==typeof Gt?Gt:zt[0]||Fe}const ze=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ue={},oe=/((?:[^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 bt,Be,nt;function $t(Fe,ce,ht,zt){let Gt=function Ke(Fe){if(ri(Fe))return Fe;if("number"==typeof Fe&&!isNaN(Fe))return new Date(Fe);if("string"==typeof Fe){if(Fe=Fe.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(Fe)){const[Gt,_i=1,Vi=1]=Fe.split("-").map(it=>+it);return gt(Gt,_i-1,Vi)}const ht=parseFloat(Fe);if(!isNaN(Fe-ht))return new Date(ht);let zt;if(zt=Fe.match(ze))return function vt(Fe){const ce=new Date(0);let ht=0,zt=0;const Gt=Fe[8]?ce.setUTCFullYear:ce.setFullYear,_i=Fe[8]?ce.setUTCHours:ce.setHours;Fe[9]&&(ht=Number(Fe[9]+Fe[10]),zt=Number(Fe[9]+Fe[11])),Gt.call(ce,Number(Fe[1]),Number(Fe[2])-1,Number(Fe[3]));const Vi=Number(Fe[4]||0)-ht,it=Number(Fe[5]||0)-zt,dt=Number(Fe[6]||0),Ct=Math.floor(1e3*parseFloat("0."+(Fe[7]||0)));return _i.call(ce,Vi,it,dt,Ct),ce}(zt)}const ce=new Date(Fe);if(!ri(ce))throw new Error(`Unable to convert "${Fe}" into a date`);return ce}(Fe);ce=rt(ht,ce)||ce;let it,Vi=[];for(;ce;){if(it=oe.exec(ce),!it){Vi.push(ce);break}{Vi=Vi.concat(it.slice(1));const Ht=Vi.pop();if(!Ht)break;ce=Ht}}let dt=Gt.getTimezoneOffset();zt&&(dt=Tt(zt,dt),Gt=function at(Fe,ce,ht){const zt=ht?-1:1,Gt=Fe.getTimezoneOffset(),_i=Tt(ce,Gt);return function Nt(Fe,ce){return(Fe=new Date(Fe.getTime())).setMinutes(Fe.getMinutes()+ce),Fe}(Fe,zt*(_i-Gt))}(Gt,zt,!0));let Ct="";return Vi.forEach(Ht=>{const Xe=function Mt(Fe){if(We[Fe])return We[Fe];let ce;switch(Fe){case"G":case"GG":case"GGG":ce=ei(nt.Eras,o.Abbreviated);break;case"GGGG":ce=ei(nt.Eras,o.Wide);break;case"GGGGG":ce=ei(nt.Eras,o.Narrow);break;case"y":ce=gi(Be.FullYear,1,0,!1,!0);break;case"yy":ce=gi(Be.FullYear,2,0,!0,!0);break;case"yyy":ce=gi(Be.FullYear,3,0,!1,!0);break;case"yyyy":ce=gi(Be.FullYear,4,0,!1,!0);break;case"Y":ce=Ce(1);break;case"YY":ce=Ce(2,!0);break;case"YYY":ce=Ce(3);break;case"YYYY":ce=Ce(4);break;case"M":case"L":ce=gi(Be.Month,1,1);break;case"MM":case"LL":ce=gi(Be.Month,2,1);break;case"MMM":ce=ei(nt.Months,o.Abbreviated);break;case"MMMM":ce=ei(nt.Months,o.Wide);break;case"MMMMM":ce=ei(nt.Months,o.Narrow);break;case"LLL":ce=ei(nt.Months,o.Abbreviated,i.Standalone);break;case"LLLL":ce=ei(nt.Months,o.Wide,i.Standalone);break;case"LLLLL":ce=ei(nt.Months,o.Narrow,i.Standalone);break;case"w":ce=J(1);break;case"ww":ce=J(2);break;case"W":ce=J(1,!0);break;case"d":ce=gi(Be.Date,1);break;case"dd":ce=gi(Be.Date,2);break;case"c":case"cc":ce=gi(Be.Day,1);break;case"ccc":ce=ei(nt.Days,o.Abbreviated,i.Standalone);break;case"cccc":ce=ei(nt.Days,o.Wide,i.Standalone);break;case"ccccc":ce=ei(nt.Days,o.Narrow,i.Standalone);break;case"cccccc":ce=ei(nt.Days,o.Short,i.Standalone);break;case"E":case"EE":case"EEE":ce=ei(nt.Days,o.Abbreviated);break;case"EEEE":ce=ei(nt.Days,o.Wide);break;case"EEEEE":ce=ei(nt.Days,o.Narrow);break;case"EEEEEE":ce=ei(nt.Days,o.Short);break;case"a":case"aa":case"aaa":ce=ei(nt.DayPeriods,o.Abbreviated);break;case"aaaa":ce=ei(nt.DayPeriods,o.Wide);break;case"aaaaa":ce=ei(nt.DayPeriods,o.Narrow);break;case"b":case"bb":case"bbb":ce=ei(nt.DayPeriods,o.Abbreviated,i.Standalone,!0);break;case"bbbb":ce=ei(nt.DayPeriods,o.Wide,i.Standalone,!0);break;case"bbbbb":ce=ei(nt.DayPeriods,o.Narrow,i.Standalone,!0);break;case"B":case"BB":case"BBB":ce=ei(nt.DayPeriods,o.Abbreviated,i.Format,!0);break;case"BBBB":ce=ei(nt.DayPeriods,o.Wide,i.Format,!0);break;case"BBBBB":ce=ei(nt.DayPeriods,o.Narrow,i.Format,!0);break;case"h":ce=gi(Be.Hours,1,-12);break;case"hh":ce=gi(Be.Hours,2,-12);break;case"H":ce=gi(Be.Hours,1);break;case"HH":ce=gi(Be.Hours,2);break;case"m":ce=gi(Be.Minutes,1);break;case"mm":ce=gi(Be.Minutes,2);break;case"s":ce=gi(Be.Seconds,1);break;case"ss":ce=gi(Be.Seconds,2);break;case"S":ce=gi(Be.FractionalSeconds,1);break;case"SS":ce=gi(Be.FractionalSeconds,2);break;case"SSS":ce=gi(Be.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":ce=si(bt.Short);break;case"ZZZZZ":ce=si(bt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":ce=si(bt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":ce=si(bt.Long);break;default:return null}return We[Fe]=ce,ce}(Ht);Ct+=Xe?Xe(Gt,ht,dt):"''"===Ht?"'":Ht.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Ct}function gt(Fe,ce,ht){const zt=new Date(0);return zt.setFullYear(Fe,ce,ht),zt.setHours(0,0,0),zt}function rt(Fe,ce){const ht=function A(Fe){return(0,e.cg1)(Fe)[e.wAp.LocaleId]}(Fe);if(Ue[ht]=Ue[ht]||{},Ue[ht][ce])return Ue[ht][ce];let zt="";switch(ce){case"shortDate":zt=Q(Fe,m.Short);break;case"mediumDate":zt=Q(Fe,m.Medium);break;case"longDate":zt=Q(Fe,m.Long);break;case"fullDate":zt=Q(Fe,m.Full);break;case"shortTime":zt=Pe(Fe,m.Short);break;case"mediumTime":zt=Pe(Fe,m.Medium);break;case"longTime":zt=Pe(Fe,m.Long);break;case"fullTime":zt=Pe(Fe,m.Full);break;case"short":const Gt=rt(Fe,"shortTime"),_i=rt(Fe,"shortDate");zt=Re(Le(Fe,m.Short),[Gt,_i]);break;case"medium":const Vi=rt(Fe,"mediumTime"),it=rt(Fe,"mediumDate");zt=Re(Le(Fe,m.Medium),[Vi,it]);break;case"long":const dt=rt(Fe,"longTime"),Ct=rt(Fe,"longDate");zt=Re(Le(Fe,m.Long),[dt,Ct]);break;case"full":const Ht=rt(Fe,"fullTime"),Xe=rt(Fe,"fullDate");zt=Re(Le(Fe,m.Full),[Ht,Xe])}return zt&&(Ue[ht][ce]=zt),zt}function Re(Fe,ce){return ce&&(Fe=Fe.replace(/\{([^}]+)}/g,function(ht,zt){return null!=ce&&zt in ce?ce[zt]:ht})),Fe}function ot(Fe,ce,ht="-",zt,Gt){let _i="";(Fe<0||Gt&&Fe<=0)&&(Gt?Fe=1-Fe:(Fe=-Fe,_i=ht));let Vi=String(Fe);for(;Vi.length<ce;)Vi="0"+Vi;return zt&&(Vi=Vi.slice(Vi.length-ce)),_i+Vi}function gi(Fe,ce,ht=0,zt=!1,Gt=!1){return function(_i,Vi){let it=function oi(Fe,ce){switch(Fe){case Be.FullYear:return ce.getFullYear();case Be.Month:return ce.getMonth();case Be.Date:return ce.getDate();case Be.Hours:return ce.getHours();case Be.Minutes:return ce.getMinutes();case Be.Seconds:return ce.getSeconds();case Be.FractionalSeconds:return ce.getMilliseconds();case Be.Day:return ce.getDay();default:throw new Error(`Unknown DateType value "${Fe}".`)}}(Fe,_i);if((ht>0||it>-ht)&&(it+=ht),Fe===Be.Hours)0===it&&-12===ht&&(it=12);else if(Fe===Be.FractionalSeconds)return function St(Fe,ce){return ot(Fe,3).substring(0,ce)}(it,ce);const dt=Ye(Vi,h.MinusSign);return ot(it,ce,dt,zt,Gt)}}function ei(Fe,ce,ht=i.Format,zt=!1){return function(Gt,_i){return function Zi(Fe,ce,ht,zt,Gt,_i){switch(ht){case nt.Months:return function a(Fe,ce,ht){const zt=(0,e.cg1)(Fe),_i=de([zt[e.wAp.MonthsFormat],zt[e.wAp.MonthsStandalone]],ce);return de(_i,ht)}(ce,Gt,zt)[Fe.getMonth()];case nt.Days:return function v(Fe,ce,ht){const zt=(0,e.cg1)(Fe),_i=de([zt[e.wAp.DaysFormat],zt[e.wAp.DaysStandalone]],ce);return de(_i,ht)}(ce,Gt,zt)[Fe.getDay()];case nt.DayPeriods:const Vi=Fe.getHours(),it=Fe.getMinutes();if(_i){const Ct=function He(Fe){const ce=(0,e.cg1)(Fe);return Te(ce),(ce[e.wAp.ExtraData][2]||[]).map(zt=>"string"==typeof zt?Me(zt):[Me(zt[0]),Me(zt[1])])}(ce),Ht=function Ee(Fe,ce,ht){const zt=(0,e.cg1)(Fe);Te(zt);const _i=de([zt[e.wAp.ExtraData][0],zt[e.wAp.ExtraData][1]],ce)||[];return de(_i,ht)||[]}(ce,Gt,zt),Xe=Ct.findIndex(Jt=>{if(Array.isArray(Jt)){const[li,ni]=Jt,Ai=Vi>=li.hours&&it>=li.minutes,Ri=Vi<ni.hours||Vi===ni.hours&&it<ni.minutes;if(li.hours<ni.hours){if(Ai&&Ri)return!0}else if(Ai||Ri)return!0}else if(Jt.hours===Vi&&Jt.minutes===it)return!0;return!1});if(-1!==Xe)return Ht[Xe]}return function R(Fe,ce,ht){const zt=(0,e.cg1)(Fe),_i=de([zt[e.wAp.DayPeriodsFormat],zt[e.wAp.DayPeriodsStandalone]],ce);return de(_i,ht)}(ce,Gt,zt)[Vi<12?0:1];case nt.Eras:return function C(Fe,ce){return de((0,e.cg1)(Fe)[e.wAp.Eras],ce)}(ce,zt)[Fe.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${ht}`)}}(Gt,_i,Fe,ce,ht,zt)}}function si(Fe){return function(ce,ht,zt){const Gt=-1*zt,_i=Ye(ht,h.MinusSign),Vi=Gt>0?Math.floor(Gt/60):Math.ceil(Gt/60);switch(Fe){case bt.Short:return(Gt>=0?"+":"")+ot(Vi,2,_i)+ot(Math.abs(Gt%60),2,_i);case bt.ShortGMT:return"GMT"+(Gt>=0?"+":"")+ot(Vi,1,_i);case bt.Long:return"GMT"+(Gt>=0?"+":"")+ot(Vi,2,_i)+":"+ot(Math.abs(Gt%60),2,_i);case bt.Extended:return 0===zt?"Z":(Gt>=0?"+":"")+ot(Vi,2,_i)+":"+ot(Math.abs(Gt%60),2,_i);default:throw new Error(`Unknown zone width "${Fe}"`)}}}!function(Fe){Fe[Fe.Short=0]="Short",Fe[Fe.ShortGMT=1]="ShortGMT",Fe[Fe.Long=2]="Long",Fe[Fe.Extended=3]="Extended"}(bt||(bt={})),function(Fe){Fe[Fe.FullYear=0]="FullYear",Fe[Fe.Month=1]="Month",Fe[Fe.Date=2]="Date",Fe[Fe.Hours=3]="Hours",Fe[Fe.Minutes=4]="Minutes",Fe[Fe.Seconds=5]="Seconds",Fe[Fe.FractionalSeconds=6]="FractionalSeconds",Fe[Fe.Day=7]="Day"}(Be||(Be={})),function(Fe){Fe[Fe.DayPeriods=0]="DayPeriods",Fe[Fe.Days=1]="Days",Fe[Fe.Months=2]="Months",Fe[Fe.Eras=3]="Eras"}(nt||(nt={}));function K(Fe){return gt(Fe.getFullYear(),Fe.getMonth(),Fe.getDate()+(4-Fe.getDay()))}function J(Fe,ce=!1){return function(ht,zt){let Gt;if(ce){const _i=new Date(ht.getFullYear(),ht.getMonth(),1).getDay()-1,Vi=ht.getDate();Gt=1+Math.floor((Vi+_i)/7)}else{const _i=K(ht),Vi=function me(Fe){const ce=gt(Fe,0,1).getDay();return gt(Fe,0,1+(ce<=4?4:11)-ce)}(_i.getFullYear()),it=_i.getTime()-Vi.getTime();Gt=1+Math.round(it/6048e5)}return ot(Gt,Fe,Ye(zt,h.MinusSign))}}function Ce(Fe,ce=!1){return function(ht,zt){return ot(K(ht).getFullYear(),Fe,Ye(zt,h.MinusSign),ce)}}const We={};function Tt(Fe,ce){Fe=Fe.replace(/:/g,"");const ht=Date.parse("Jan 01, 1970 00:00:00 "+Fe)/6e4;return isNaN(ht)?ce:ht}function ri(Fe){return Fe instanceof Date&&!isNaN(Fe.valueOf())}const Pt=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function Li(Fe,ce,ht,zt,Gt,_i,Vi=!1){let it="",dt=!1;if(isFinite(Fe)){let Ct=function Vt(Fe){let zt,Gt,_i,Vi,it,ce=Math.abs(Fe)+"",ht=0;for((Gt=ce.indexOf("."))>-1&&(ce=ce.replace(".","")),(_i=ce.search(/e/i))>0?(Gt<0&&(Gt=_i),Gt+=+ce.slice(_i+1),ce=ce.substring(0,_i)):Gt<0&&(Gt=ce.length),_i=0;"0"===ce.charAt(_i);_i++);if(_i===(it=ce.length))zt=[0],Gt=1;else{for(it--;"0"===ce.charAt(it);)it--;for(Gt-=_i,zt=[],Vi=0;_i<=it;_i++,Vi++)zt[Vi]=Number(ce.charAt(_i))}return Gt>22&&(zt=zt.splice(0,21),ht=Gt-1,Gt=1),{digits:zt,exponent:ht,integerLen:Gt}}(Fe);Vi&&(Ct=function Ne(Fe){if(0===Fe.digits[0])return Fe;const ce=Fe.digits.length-Fe.integerLen;return Fe.exponent?Fe.exponent+=2:(0===ce?Fe.digits.push(0,0):1===ce&&Fe.digits.push(0),Fe.integerLen+=2),Fe}(Ct));let Ht=ce.minInt,Xe=ce.minFrac,Jt=ce.maxFrac;if(_i){const sn=_i.match(Pt);if(null===sn)throw new Error(`${_i} is not a valid digit info`);const Cn=sn[1],On=sn[3],pr=sn[5];null!=Cn&&(Ht=fi(Cn)),null!=On&&(Xe=fi(On)),null!=pr?Jt=fi(pr):null!=On&&Xe>Jt&&(Jt=Xe)}!function jt(Fe,ce,ht){if(ce>ht)throw new Error(`The minimum number of digits after fraction (${ce}) is higher than the maximum (${ht}).`);let zt=Fe.digits,Gt=zt.length-Fe.integerLen;const _i=Math.min(Math.max(ce,Gt),ht);let Vi=_i+Fe.integerLen,it=zt[Vi];if(Vi>0){zt.splice(Math.max(Fe.integerLen,Vi));for(let Xe=Vi;Xe<zt.length;Xe++)zt[Xe]=0}else{Gt=Math.max(0,Gt),Fe.integerLen=1,zt.length=Math.max(1,Vi=_i+1),zt[0]=0;for(let Xe=1;Xe<Vi;Xe++)zt[Xe]=0}if(it>=5)if(Vi-1<0){for(let Xe=0;Xe>Vi;Xe--)zt.unshift(0),Fe.integerLen++;zt.unshift(1),Fe.integerLen++}else zt[Vi-1]++;for(;Gt<Math.max(0,_i);Gt++)zt.push(0);let dt=0!==_i;const Ct=ce+Fe.integerLen,Ht=zt.reduceRight(function(Xe,Jt,li,ni){return Jt+=Xe,ni[li]=Jt<10?Jt:Jt-10,dt&&(0===ni[li]&&li>=Ct?ni.pop():dt=!1),Jt>=10?1:0},0);Ht&&(zt.unshift(Ht),Fe.integerLen++)}(Ct,Xe,Jt);let li=Ct.digits,ni=Ct.integerLen;const Ai=Ct.exponent;let Ri=[];for(dt=li.every(sn=>!sn);ni<Ht;ni++)li.unshift(0);for(;ni<0;ni++)li.unshift(0);ni>0?Ri=li.splice(ni,li.length):(Ri=li,li=[0]);const tn=[];for(li.length>=ce.lgSize&&tn.unshift(li.splice(-ce.lgSize,li.length).join(""));li.length>ce.gSize;)tn.unshift(li.splice(-ce.gSize,li.length).join(""));li.length&&tn.unshift(li.join("")),it=tn.join(Ye(ht,zt)),Ri.length&&(it+=Ye(ht,Gt)+Ri.join("")),Ai&&(it+=Ye(ht,h.Exponential)+"+"+Ai)}else it=Ye(ht,h.Infinity);return it=Fe<0&&!dt?ce.negPre+it+ce.negSuf:ce.posPre+it+ce.posSuf,it}function Ei(Fe,ce,ht,zt,Gt){const Vi=qe($e(ce,ve.Currency),Ye(ce,h.MinusSign));return Vi.minFrac=function $(Fe){let ce;const ht=ae[Fe];return ht&&(ce=ht[2]),"number"==typeof ce?ce:2}(zt),Vi.maxFrac=Vi.minFrac,Li(Fe,Vi,ce,h.CurrencyGroup,h.CurrencyDecimal,Gt).replace("\xa4",ht).replace("\xa4","").trim()}function qe(Fe,ce="-"){const ht={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},zt=Fe.split(";"),Gt=zt[0],_i=zt[1],Vi=-1!==Gt.indexOf(".")?Gt.split("."):[Gt.substring(0,Gt.lastIndexOf("0")+1),Gt.substring(Gt.lastIndexOf("0")+1)],it=Vi[0],dt=Vi[1]||"";ht.posPre=it.substring(0,it.indexOf("#"));for(let Ht=0;Ht<dt.length;Ht++){const Xe=dt.charAt(Ht);"0"===Xe?ht.minFrac=ht.maxFrac=Ht+1:"#"===Xe?ht.maxFrac=Ht+1:ht.posSuf+=Xe}const Ct=it.split(",");if(ht.gSize=Ct[1]?Ct[1].length:0,ht.lgSize=Ct[2]||Ct[1]?(Ct[2]||Ct[1]).length:0,_i){const Ht=Gt.length-ht.posPre.length-ht.posSuf.length,Xe=_i.indexOf("#");ht.negPre=_i.substring(0,Xe).replace(/'/g,""),ht.negSuf=_i.slice(Xe+Ht).replace(/'/g,"")}else ht.negPre=ce+ht.posPre,ht.negSuf=ht.posSuf;return ht}function fi(Fe){const ce=parseInt(Fe);if(isNaN(ce))throw new Error("Invalid integer literal when parsing "+Fe);return ce}class Si{}function ki(Fe,ce,ht,zt){let Gt=`=${Fe}`;if(ce.indexOf(Gt)>-1||(Gt=ht.getPluralCategory(Fe,zt),ce.indexOf(Gt)>-1))return Gt;if(ce.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${Fe}"`)}Si.\u0275fac=function(ce){return new(ce||Si)},Si.\u0275prov=e.Yz7({token:Si,factory:function(ce){let ht=null;return ce?ht=new ce:(zt=e.LFG(e.soG),ht=new Gi(zt)),ht;var zt},providedIn:"root"});class Gi extends Si{constructor(ce){super(),this.locale=ce}getPluralCategory(ce,ht){switch(ye(ht||this.locale)(ce)){case T.Zero:return"zero";case T.One:return"one";case T.Two:return"two";case T.Few:return"few";case T.Many:return"many";default:return"other"}}}function xe(Fe,ce){ce=encodeURIComponent(ce);for(const ht of Fe.split(";")){const zt=ht.indexOf("="),[Gt,_i]=-1==zt?[ht,""]:[ht.slice(0,zt),ht.slice(zt+1)];if(Gt.trim()===ce)return decodeURIComponent(_i)}return null}Gi.\u0275fac=function(ce){return new(ce||Gi)(e.LFG(e.soG))},Gi.\u0275prov=e.Yz7({token:Gi,factory:Gi.\u0275fac});class ke{constructor(ce,ht,zt,Gt){this._iterableDiffers=ce,this._keyValueDiffers=ht,this._ngEl=zt,this._renderer=Gt,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(ce){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof ce?ce.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(ce){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof ce?ce.split(/\s+/):ce,this._rawClass&&((0,e.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const ce=this._iterableDiffer.diff(this._rawClass);ce&&this._applyIterableChanges(ce)}else if(this._keyValueDiffer){const ce=this._keyValueDiffer.diff(this._rawClass);ce&&this._applyKeyValueChanges(ce)}}_applyKeyValueChanges(ce){ce.forEachAddedItem(ht=>this._toggleClass(ht.key,ht.currentValue)),ce.forEachChangedItem(ht=>this._toggleClass(ht.key,ht.currentValue)),ce.forEachRemovedItem(ht=>{ht.previousValue&&this._toggleClass(ht.key,!1)})}_applyIterableChanges(ce){ce.forEachAddedItem(ht=>{if("string"!=typeof ht.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,e.AaK)(ht.item)}`);this._toggleClass(ht.item,!0)}),ce.forEachRemovedItem(ht=>this._toggleClass(ht.item,!1))}_applyClasses(ce){ce&&(Array.isArray(ce)||ce instanceof Set?ce.forEach(ht=>this._toggleClass(ht,!0)):Object.keys(ce).forEach(ht=>this._toggleClass(ht,!!ce[ht])))}_removeClasses(ce){ce&&(Array.isArray(ce)||ce instanceof Set?ce.forEach(ht=>this._toggleClass(ht,!1)):Object.keys(ce).forEach(ht=>this._toggleClass(ht,!1)))}_toggleClass(ce,ht){(ce=ce.trim())&&ce.split(/\s+/g).forEach(zt=>{ht?this._renderer.addClass(this._ngEl.nativeElement,zt):this._renderer.removeClass(this._ngEl.nativeElement,zt)})}}ke.\u0275fac=function(ce){return new(ce||ke)(e.Y36(e.ZZ4),e.Y36(e.aQg),e.Y36(e.SBq),e.Y36(e.Qsj))},ke.\u0275dir=e.lG2({type:ke,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0});class ft{constructor(ce){this._viewContainerRef=ce,this.ngComponentOutlet=null}ngOnChanges(ce){const{_viewContainerRef:ht,ngComponentOutletNgModule:zt,ngComponentOutletNgModuleFactory:Gt}=this;if(ht.clear(),this._componentRef=void 0,this.ngComponentOutlet){const _i=this.ngComponentOutletInjector||ht.parentInjector;(ce.ngComponentOutletNgModule||ce.ngComponentOutletNgModuleFactory)&&(this._moduleRef&&this._moduleRef.destroy(),this._moduleRef=zt?(0,e.Lck)(zt,Rt(_i)):Gt?Gt.create(Rt(_i)):void 0),this._componentRef=ht.createComponent(this.ngComponentOutlet,{index:ht.length,injector:_i,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}function Rt(Fe){return Fe.get(e.h0i).injector}ft.\u0275fac=function(ce){return new(ce||ft)(e.Y36(e.s_b))},ft.\u0275dir=e.lG2({type:ft,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[e.TTD]});class ai{constructor(ce,ht,zt,Gt){this.$implicit=ce,this.ngForOf=ht,this.index=zt,this.count=Gt}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}}class ci{constructor(ce,ht,zt){this._viewContainer=ce,this._template=ht,this._differs=zt,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(ce){this._ngForOf=ce,this._ngForOfDirty=!0}set ngForTrackBy(ce){this._trackByFn=ce}get ngForTrackBy(){return this._trackByFn}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((zt,Gt,_i)=>{if(null==zt.previousIndex)ht.createEmbeddedView(this._template,new ai(zt.item,this._ngForOf,-1,-1),null===_i?void 0:_i);else if(null==_i)ht.remove(null===Gt?void 0:Gt);else if(null!==Gt){const Vi=ht.get(Gt);ht.move(Vi,_i),ii(Vi,zt)}});for(let zt=0,Gt=ht.length;zt<Gt;zt++){const Vi=ht.get(zt).context;Vi.index=zt,Vi.count=Gt,Vi.ngForOf=this._ngForOf}ce.forEachIdentityChange(zt=>{ii(ht.get(zt.currentIndex),zt)})}static ngTemplateContextGuard(ce,ht){return!0}}function ii(Fe,ce){Fe.context.$implicit=ce.item}ci.\u0275fac=function(ce){return new(ce||ci)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(e.ZZ4))},ci.\u0275dir=e.lG2({type:ci,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});class Yi{constructor(ce,ht){this._viewContainer=ce,this._context=new _n,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){ha("ngIfThen",ce),this._thenTemplateRef=ce,this._thenViewRef=null,this._updateView()}set ngIfElse(ce){ha("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}}Yi.\u0275fac=function(ce){return new(ce||Yi)(e.Y36(e.s_b),e.Y36(e.Rgc))},Yi.\u0275dir=e.lG2({type:Yi,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});class _n{constructor(){this.$implicit=null,this.ngIf=null}}function ha(Fe,ce){if(ce&&!ce.createEmbeddedView)throw new Error(`${Fe} must be a TemplateRef, but received '${(0,e.AaK)(ce)}'.`)}class gn{constructor(ce,ht){this._viewContainerRef=ce,this._templateRef=ht,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(ce){ce&&!this._created?this.create():!ce&&this._created&&this.destroy()}}class Zn{constructor(){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||(this._defaultViews=[]),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&&ce!==this._defaultUsed){this._defaultUsed=ce;for(let ht=0;ht<this._defaultViews.length;ht++)this._defaultViews[ht].enforceState(ce)}}}Zn.\u0275fac=function(ce){return new(ce||Zn)},Zn.\u0275dir=e.lG2({type:Zn,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0});class Kn{constructor(ce,ht,zt){this.ngSwitch=zt,zt._addCase(),this._view=new gn(ce,ht)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}Kn.\u0275fac=function(ce){return new(ce||Kn)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(Zn,9))},Kn.\u0275dir=e.lG2({type:Kn,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0});class Ua{constructor(ce,ht,zt){zt._addDefault(new gn(ce,ht))}}Ua.\u0275fac=function(ce){return new(ce||Ua)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(Zn,9))},Ua.\u0275dir=e.lG2({type:Ua,selectors:[["","ngSwitchDefault",""]],standalone:!0});class Ot{constructor(ce){this._localization=ce,this._caseViews={}}set ngPlural(ce){this._switchValue=ce,this._updateView()}addCase(ce,ht){this._caseViews[ce]=ht}_updateView(){this._clearViews();const ce=Object.keys(this._caseViews),ht=ki(this._switchValue,ce,this._localization);this._activateView(this._caseViews[ht])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(ce){ce&&(this._activeView=ce,this._activeView.create())}}Ot.\u0275fac=function(ce){return new(ce||Ot)(e.Y36(Si))},Ot.\u0275dir=e.lG2({type:Ot,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0});class Wt{constructor(ce,ht,zt,Gt){this.value=ce;const _i=!isNaN(Number(ce));Gt.addCase(_i?`=${ce}`:ce,new gn(zt,ht))}}Wt.\u0275fac=function(ce){return new(ce||Wt)(e.$8M("ngPluralCase"),e.Y36(e.Rgc),e.Y36(e.s_b),e.Y36(Ot,1))},Wt.\u0275dir=e.lG2({type:Wt,selectors:[["","ngPluralCase",""]],standalone:!0});class ui{constructor(ce,ht,zt){this._ngEl=ce,this._differs=ht,this._renderer=zt,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[zt,Gt]=ce.split("."),_i=-1===zt.indexOf("-")?void 0:e.JOm.DashCase;null!=ht?this._renderer.setStyle(this._ngEl.nativeElement,zt,Gt?`${ht}${Gt}`:ht,_i):this._renderer.removeStyle(this._ngEl.nativeElement,zt,_i)}_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))}}ui.\u0275fac=function(ce){return new(ce||ui)(e.Y36(e.SBq),e.Y36(e.aQg),e.Y36(e.Qsj))},ui.\u0275dir=e.lG2({type:ui,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});class Ti{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:zt,ngTemplateOutletContext:Gt,ngTemplateOutletInjector:_i}=this;this._viewRef=ht.createEmbeddedView(zt,Gt,_i?{injector:_i}:void 0)}else this._viewRef=null}else this._viewRef&&ce.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}Ti.\u0275fac=function(ce){return new(ce||Ti)(e.Y36(e.s_b))},Ti.\u0275dir=e.lG2({type:Ti,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[e.TTD]});function Hi(Fe,ce){return new e.vHH(2100,!1)}const Ln=new class aa{createSubscription(ce,ht){return ce.then(ht,zt=>{throw zt})}dispose(ce){}},ea=new class cn{createSubscription(ce,ht){return ce.subscribe({next:ht,error:zt=>{throw zt}})}dispose(ce){ce.unsubscribe()}};class Dn{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 Ln;if((0,e.F4k)(ce))return ea;throw Hi()}_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())}}Dn.\u0275fac=function(ce){return new(ce||Dn)(e.Y36(e.sBO,16))},Dn.\u0275pipe=e.Yjl({name:"async",type:Dn,pure:!1,standalone:!0});class Jn{transform(ce){if(null==ce)return null;if("string"!=typeof ce)throw Hi();return ce.toLowerCase()}}Jn.\u0275fac=function(ce){return new(ce||Jn)},Jn.\u0275pipe=e.Yjl({name:"lowercase",type:Jn,pure:!0,standalone:!0});const Ia=/(?:[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;class Gn{transform(ce){if(null==ce)return null;if("string"!=typeof ce)throw Hi();return ce.replace(Ia,ht=>ht[0].toUpperCase()+ht.slice(1).toLowerCase())}}Gn.\u0275fac=function(ce){return new(ce||Gn)},Gn.\u0275pipe=e.Yjl({name:"titlecase",type:Gn,pure:!0,standalone:!0});class Pa{transform(ce){if(null==ce)return null;if("string"!=typeof ce)throw Hi();return ce.toUpperCase()}}Pa.\u0275fac=function(ce){return new(ce||Pa)},Pa.\u0275pipe=e.Yjl({name:"uppercase",type:Pa,pure:!0,standalone:!0});const Ra=new e.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),yr=new e.OlP("DATE_PIPE_DEFAULT_OPTIONS");class wa{constructor(ce,ht,zt){this.locale=ce,this.defaultTimezone=ht,this.defaultOptions=zt}transform(ce,ht,zt,Gt){if(null==ce||""===ce||ce!=ce)return null;try{const _i=ht??this.defaultOptions?.dateFormat??"mediumDate",Vi=zt??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return $t(ce,_i,Gt||this.locale,Vi)}catch(_i){throw Hi(0,_i.message)}}}wa.\u0275fac=function(ce){return new(ce||wa)(e.Y36(e.soG,16),e.Y36(Ra,24),e.Y36(yr,24))},wa.\u0275pipe=e.Yjl({name:"date",type:wa,pure:!0,standalone:!0});const hr=/#/g;class Vn{constructor(ce){this._localization=ce}transform(ce,ht,zt){if(null==ce)return"";if("object"!=typeof ht||null===ht)throw Hi();return ht[ki(ce,Object.keys(ht),this._localization,zt)].replace(hr,ce.toString())}}Vn.\u0275fac=function(ce){return new(ce||Vn)(e.Y36(Si,16))},Vn.\u0275pipe=e.Yjl({name:"i18nPlural",type:Vn,pure:!0,standalone:!0});class va{transform(ce,ht){if(null==ce)return"";if("object"!=typeof ht||"string"!=typeof ce)throw Hi();return ht.hasOwnProperty(ce)?ht[ce]:ht.hasOwnProperty("other")?ht.other:""}}va.\u0275fac=function(ce){return new(ce||va)},va.\u0275pipe=e.Yjl({name:"i18nSelect",type:va,pure:!0,standalone:!0});class ra{transform(ce){return JSON.stringify(ce,null,2)}}ra.\u0275fac=function(ce){return new(ce||ra)},ra.\u0275pipe=e.Yjl({name:"json",type:ra,pure:!1,standalone:!0});class Ba{constructor(ce){this.differs=ce,this.keyValues=[],this.compareFn=Jo}transform(ce,ht=Jo){if(!ce||!(ce instanceof Map)&&"object"!=typeof ce)return null;this.differ||(this.differ=this.differs.find(ce).create());const zt=this.differ.diff(ce),Gt=ht!==this.compareFn;return zt&&(this.keyValues=[],zt.forEachItem(_i=>{this.keyValues.push(function us(Fe,ce){return{key:Fe,value:ce}}(_i.key,_i.currentValue))})),(zt||Gt)&&(this.keyValues.sort(ht),this.compareFn=ht),this.keyValues}}function Jo(Fe,ce){const ht=Fe.key,zt=ce.key;if(ht===zt)return 0;if(void 0===ht)return 1;if(void 0===zt)return-1;if(null===ht)return 1;if(null===zt)return-1;if("string"==typeof ht&&"string"==typeof zt)return ht<zt?-1:1;if("number"==typeof ht&&"number"==typeof zt)return ht-zt;if("boolean"==typeof ht&&"boolean"==typeof zt)return ht<zt?-1:1;const Gt=String(ht),_i=String(zt);return Gt==_i?0:Gt<_i?-1:1}Ba.\u0275fac=function(ce){return new(ce||Ba)(e.Y36(e.aQg,16))},Ba.\u0275pipe=e.Yjl({name:"keyvalue",type:Ba,pure:!1,standalone:!0});class ro{constructor(ce){this._locale=ce}transform(ce,ht,zt){if(!Na(ce))return null;zt=zt||this._locale;try{return function wt(Fe,ce,ht){return Li(Fe,qe($e(ce,ve.Decimal),Ye(ce,h.MinusSign)),ce,h.Group,h.Decimal,ht)}(Oo(ce),zt,ht)}catch(Gt){throw Hi(0,Gt.message)}}}ro.\u0275fac=function(ce){return new(ce||ro)(e.Y36(e.soG,16))},ro.\u0275pipe=e.Yjl({name:"number",type:ro,pure:!0,standalone:!0});class jn{constructor(ce){this._locale=ce}transform(ce,ht,zt){if(!Na(ce))return null;zt=zt||this._locale;try{return function Wi(Fe,ce,ht){return Li(Fe,qe($e(ce,ve.Percent),Ye(ce,h.MinusSign)),ce,h.Group,h.Decimal,ht,!0).replace(new RegExp("%","g"),Ye(ce,h.PercentSign))}(Oo(ce),zt,ht)}catch(Gt){throw Hi(0,Gt.message)}}}jn.\u0275fac=function(ce){return new(ce||jn)(e.Y36(e.soG,16))},jn.\u0275pipe=e.Yjl({name:"percent",type:jn,pure:!0,standalone:!0});class jr{constructor(ce,ht="USD"){this._locale=ce,this._defaultCurrencyCode=ht}transform(ce,ht=this._defaultCurrencyCode,zt="symbol",Gt,_i){if(!Na(ce))return null;_i=_i||this._locale,"boolean"==typeof zt&&(zt=zt?"symbol":"code");let Vi=ht||this._defaultCurrencyCode;"code"!==zt&&(Vi="symbol"===zt||"symbol-narrow"===zt?ie(Vi,"symbol"===zt?"wide":"narrow",_i):zt);try{return Ei(Oo(ce),_i,Vi,ht,Gt)}catch(it){throw Hi(0,it.message)}}}function Na(Fe){return!(null==Fe||""===Fe||Fe!=Fe)}function Oo(Fe){if("string"==typeof Fe&&!isNaN(Number(Fe)-parseFloat(Fe)))return Number(Fe);if("number"!=typeof Fe)throw new Error(`${Fe} is not a number`);return Fe}jr.\u0275fac=function(ce){return new(ce||jr)(e.Y36(e.soG,16),e.Y36(e.EJc,16))},jr.\u0275pipe=e.Yjl({name:"currency",type:jr,pure:!0,standalone:!0});class Ja{transform(ce,ht,zt){if(null==ce)return null;if(!this.supports(ce))throw Hi();return ce.slice(ht,zt)}supports(ce){return"string"==typeof ce||Array.isArray(ce)}}Ja.\u0275fac=function(ce){return new(ce||Ja)},Ja.\u0275pipe=e.Yjl({name:"slice",type:Ja,pure:!1,standalone:!0});class Za{}Za.\u0275fac=function(ce){return new(ce||Za)},Za.\u0275mod=e.oAB({type:Za}),Za.\u0275inj=e.cJS({});const ir="browser";function ur(Fe){return Fe===ir}function $a(Fe){return"server"===Fe}new e.GfV("15.0.2");class Da{}Da.\u0275prov=(0,e.Yz7)({token:Da,providedIn:"root",factory:()=>new ko((0,e.LFG)(d),window)});class ko{constructor(ce,ht){this.document=ce,this.window=ht,this.offset=()=>[0,0]}setOffset(ce){Array.isArray(ce)?this.offset=()=>ce:this.offset=ce}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(ce){this.supportsScrolling()&&this.window.scrollTo(ce[0],ce[1])}scrollToAnchor(ce){if(!this.supportsScrolling())return;const ht=function Po(Fe,ce){const ht=Fe.getElementById(ce)||Fe.getElementsByName(ce)[0];if(ht)return ht;if("function"==typeof Fe.createTreeWalker&&Fe.body&&(Fe.body.createShadowRoot||Fe.body.attachShadow)){const zt=Fe.createTreeWalker(Fe.body,NodeFilter.SHOW_ELEMENT);let Gt=zt.currentNode;for(;Gt;){const _i=Gt.shadowRoot;if(_i){const Vi=_i.getElementById(ce)||_i.querySelector(`[name="${ce}"]`);if(Vi)return Vi}Gt=zt.nextNode()}}return null}(this.document,ce);ht&&(this.scrollToElement(ht),ht.focus())}setHistoryScrollRestoration(ce){if(this.supportScrollRestoration()){const ht=this.window.history;ht&&ht.scrollRestoration&&(ht.scrollRestoration=ce)}}scrollToElement(ce){const ht=ce.getBoundingClientRect(),zt=ht.left+this.window.pageXOffset,Gt=ht.top+this.window.pageYOffset,_i=this.offset();this.window.scrollTo(zt-_i[0],Gt-_i[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const ce=er(this.window.history)||er(Object.getPrototypeOf(this.window.history));return!(!ce||!ce.writable&&!ce.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function er(Fe){return Object.getOwnPropertyDescriptor(Fe,"scrollRestoration")}class xr{}function oa(Fe,ce){return Cr(Fe)?new URL(Fe):new URL(Fe,ce.location.href)}function Cr(Fe){return/^https?:\/\//.test(Fe)}function mr(Fe){return Cr(Fe)?new URL(Fe).hostname:Fe}function ja(Fe){return Fe.startsWith("/")?Fe.slice(1):Fe}const Qn=Fe=>Fe.src,Qa=new e.OlP("ImageLoader",{providedIn:"root",factory:()=>Qn});function ar(Fe,ce){return function(zt){return function Uo(Fe){if("string"!=typeof Fe||""===Fe.trim())return!1;try{return new URL(Fe),!0}catch{return!1}}(zt)||function Mr(Fe,ce){throw new e.vHH(2959,!1)}(),zt=function Er(Fe){return Fe.endsWith("/")?Fe.slice(0,-1):Fe}(zt),[{provide:Qa,useValue:Vi=>(Cr(Vi.src)&&function Nr(Fe,ce){throw new e.vHH(2959,!1)}(0,Vi.src),Fe(zt,{...Vi,src:ja(Vi.src)}))}]}}ar(function tr(Fe,ce){let ht="format=auto";return ce.width&&(ht+=`,width=${ce.width}`),`${Fe}/cdn-cgi/image/${ht}/${ce.src}`});ar(function xi(Fe,ce){let ht="f_auto,q_auto";return ce.width&&(ht+=`,w_${ce.width}`),`${Fe}/image/upload/${ht}/${ce.src}`});ar(function Fr(Fe,ce){let ht="tr:q-auto";return ce.width&&(ht+=`,w-${ce.width}`),`${Fe}/${ht}/${ce.src}`});ar(function Ni(Fe,ce){const ht=new URL(`${Fe}/${ce.src}`);return ht.searchParams.set("auto","format"),ce.width&&ht.searchParams.set("w",ce.width.toString()),ht.href});function An(Fe,ce=!0){return`The NgOptimizedImage directive ${ce?`(activated on an <img> element with the \`ngSrc="${Fe}"\`) `:""}has detected that`}function rr(Fe){throw new e.vHH(2958,`Unexpected invocation of the ${Fe} in the prod mode. Please make sure that the prod mode is enabled for production builds.`)}class bo{constructor(){this.images=new Map,this.alreadyWarned=new Set,this.window=null,this.observer=null,rr("LCP checker");const ce=(0,e.f3M)(d).defaultView;typeof ce<"u"&&typeof PerformanceObserver<"u"&&(this.window=ce,this.observer=this.initPerformanceObserver())}initPerformanceObserver(){const ce=new PerformanceObserver(ht=>{const zt=ht.getEntries();if(0===zt.length)return;const _i=zt[zt.length-1].element?.src??"";_i.startsWith("data:")||_i.startsWith("blob:")||this.images.get(_i)&&!this.alreadyWarned.has(_i)&&(this.alreadyWarned.add(_i),function Ss(Fe){const ce=An(Fe);console.warn((0,e.kuF)(2955,`${ce} this image is the Largest Contentful Paint (LCP) element but was not marked "priority". This image should be marked "priority" in order to prioritize its loading. To fix this, add the "priority" attribute.`))}(_i))});return ce.observe({type:"largest-contentful-paint",buffered:!0}),ce}registerImage(ce,ht){!this.observer||this.images.set(oa(ce,this.window).href,ht)}unregisterImage(ce){!this.observer||this.images.delete(oa(ce,this.window).href)}ngOnDestroy(){!this.observer||(this.observer.disconnect(),this.images.clear(),this.alreadyWarned.clear())}}bo.\u0275fac=function(ce){return new(ce||bo)},bo.\u0275prov=e.Yz7({token:bo,factory:bo.\u0275fac,providedIn:"root"});const $o=new Set(["localhost","127.0.0.1","0.0.0.0"]),Pc=new e.OlP("PRECONNECT_CHECK_BLOCKLIST");class ps{constructor(){this.document=(0,e.f3M)(d),this.preconnectLinks=null,this.alreadySeen=new Set,this.window=null,this.blocklist=new Set($o),rr("preconnect link checker");const ce=this.document.defaultView;typeof ce<"u"&&(this.window=ce);const ht=(0,e.f3M)(Pc,{optional:!0});ht&&this.populateBlocklist(ht)}populateBlocklist(ce){Array.isArray(ce)?Fi(ce,ht=>{this.blocklist.add(mr(ht))}):this.blocklist.add(mr(ce))}assertPreconnect(ce,ht){if(!this.window)return;const zt=oa(ce,this.window);this.blocklist.has(zt.hostname)||this.alreadySeen.has(zt.origin)||(this.alreadySeen.add(zt.origin),this.preconnectLinks||(this.preconnectLinks=this.queryPreconnectLinks()),this.preconnectLinks.has(zt.origin)||console.warn((0,e.kuF)(2956,`${An(ht)} there is no preconnect tag present for this image. Preconnecting to the origin(s) that serve priority images ensures that these images are delivered as soon as possible. To fix this, please add the following element into the <head> of the document:\n <link rel="preconnect" href="${zt.origin}">`)))}queryPreconnectLinks(){const ce=new Set,zt=Array.from(this.document.querySelectorAll("link[rel=preconnect]"));for(let Gt of zt){const _i=oa(Gt.href,this.window);ce.add(_i.origin)}return ce}ngOnDestroy(){this.preconnectLinks?.clear(),this.alreadySeen.clear()}}function Fi(Fe,ce){for(let ht of Fe)Array.isArray(ht)?Fi(ht,ce):ce(ht)}ps.\u0275fac=function(ce){return new(ce||ps)},ps.\u0275prov=e.Yz7({token:ps,factory:ps.\u0275fac,providedIn:"root"});const es=new e.OlP("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set});class or{constructor(){this.preloadedImages=(0,e.f3M)(es),this.document=(0,e.f3M)(d)}createPreloadLinkTag(ce,ht,zt,Gt){if(this.preloadedImages.has(ht))return;this.preloadedImages.add(ht);const _i=ce.createElement("link");ce.setAttribute(_i,"as","image"),ce.setAttribute(_i,"href",ht),ce.setAttribute(_i,"rel","preload"),ce.setAttribute(_i,"fetchpriority","high"),Gt&&ce.setAttribute(_i,"imageSizes",Gt),zt&&ce.setAttribute(_i,"imageSrcset",zt),ce.appendChild(this.document.head,_i)}}or.\u0275fac=function(ce){return new(ce||or)},or.\u0275prov=e.Yz7({token:or,factory:or.\u0275fac,providedIn:"root"});const zr=/^((\s*\d+w\s*(,|$)){1,})$/,Ui=[1,2],Fa={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840]},co=new e.OlP("ImageConfig",{providedIn:"root",factory:()=>Fa});class Wo{constructor(){this.imageLoader=(0,e.f3M)(Qa),this.config=function ks(Fe){let ce={};return Fe.breakpoints&&(ce.breakpoints=Fe.breakpoints.sort((ht,zt)=>ht-zt)),Object.assign({},Fa,Fe,ce)}((0,e.f3M)(co)),this.renderer=(0,e.f3M)(e.Qsj),this.imgElement=(0,e.f3M)(e.SBq).nativeElement,this.injector=(0,e.f3M)(e.zs3),this.isServer=$a((0,e.f3M)(e.Lbi)),this.preloadLinkChecker=(0,e.f3M)(or),this.lcpObserver=null,this._renderedSrc=null,this._priority=!1,this._disableOptimizedSrcset=!1,this._fill=!1}set width(ce){this._width=ts(ce)}get width(){return this._width}set height(ce){this._height=ts(ce)}get height(){return this._height}set priority(ce){this._priority=Qr(ce)}get priority(){return this._priority}set disableOptimizedSrcset(ce){this._disableOptimizedSrcset=Qr(ce)}get disableOptimizedSrcset(){return this._disableOptimizedSrcset}set fill(ce){this._fill=Qr(ce)}get fill(){return this._fill}ngOnInit(){this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||(this.sizes="100vw"):(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority());const ce=this.getRewrittenSrc();let ht;this.setHostAttribute("src",ce),this.sizes&&this.setHostAttribute("sizes",this.sizes),this.ngSrcset?ht=this.getRewrittenSrcset():!this._disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==Qn&&(ht=this.getAutomaticSrcset()),ht&&this.setHostAttribute("srcset",ht),this.isServer&&this.priority&&this.preloadLinkChecker.createPreloadLinkTag(this.renderer,ce,ht,this.sizes)}ngOnChanges(ce){}getLoadingBehavior(){return this.priority||void 0===this.loading?this.priority?"eager":"lazy":this.loading}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){if(!this._renderedSrc){const ce={src:this.ngSrc};this._renderedSrc=this.imageLoader(ce)}return this._renderedSrc}getRewrittenSrcset(){const ce=zr.test(this.ngSrcset);return this.ngSrcset.split(",").filter(zt=>""!==zt).map(zt=>{zt=zt.trim();const Gt=ce?parseFloat(zt):parseFloat(zt)*this.width;return`${this.imageLoader({src:this.ngSrc,width:Gt})} ${zt}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){const{breakpoints:ce}=this.config;let ht=ce;return"100vw"===this.sizes?.trim()&&(ht=ce.filter(Gt=>Gt>=640)),ht.map(Gt=>`${this.imageLoader({src:this.ngSrc,width:Gt})} ${Gt}w`).join(", ")}getFixedSrcset(){return Ui.map(ht=>`${this.imageLoader({src:this.ngSrc,width:this.width*ht})} ${ht}x`).join(", ")}ngOnDestroy(){}setHostAttribute(ce,ht){this.renderer.setAttribute(this.imgElement,ce,ht)}}function ts(Fe){return"string"==typeof Fe?parseInt(Fe,10):Fe}function Qr(Fe){return null!=Fe&&"false"!=`${Fe}`}Wo.\u0275fac=function(ce){return new(ce||Wo)},Wo.\u0275dir=e.lG2({type:Wo,selectors:[["img","ngSrc",""]],hostVars:8,hostBindings:function(ce,ht){2&ce&&e.Udp("position",ht.fill?"absolute":null)("width",ht.fill?"100%":null)("height",ht.fill?"100%":null)("inset",ht.fill?"0px":null)},inputs:{ngSrc:"ngSrc",ngSrcset:"ngSrcset",sizes:"sizes",width:"width",height:"height",loading:"loading",priority:"priority",disableOptimizedSrcset:"disableOptimizedSrcset",fill:"fill",src:"src",srcset:"srcset"},standalone:!0,features:[e.TTD]})},8987:(Ge,X,f)=>{"use strict";f.d(X,{JF:()=>si,LE:()=>q,TP:()=>C,eN:()=>A});var e=f(4666),t=f(2560),_=f(745),S=f(833),l=f(3853),D=f(116),d=f(635);class P{}class p{}class L{constructor(K){this.normalizedNames=new Map,this.lazyUpdate=null,K?this.lazyInit="string"==typeof K?()=>{this.headers=new Map,K.split("\n").forEach(J=>{const Ce=J.indexOf(":");if(Ce>0){const We=J.slice(0,Ce),Mt=We.toLowerCase(),Tt=J.slice(Ce+1).trim();this.maybeSetNormalizedName(We,Mt),this.headers.has(Mt)?this.headers.get(Mt).push(Tt):this.headers.set(Mt,[Tt])}})}:()=>{this.headers=new Map,Object.keys(K).forEach(J=>{let Ce=K[J];const We=J.toLowerCase();"string"==typeof Ce&&(Ce=[Ce]),Ce.length>0&&(this.headers.set(We,Ce),this.maybeSetNormalizedName(J,We))})}:this.headers=new Map}has(K){return this.init(),this.headers.has(K.toLowerCase())}get(K){this.init();const J=this.headers.get(K.toLowerCase());return J&&J.length>0?J[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(K){return this.init(),this.headers.get(K.toLowerCase())||null}append(K,J){return this.clone({name:K,value:J,op:"a"})}set(K,J){return this.clone({name:K,value:J,op:"s"})}delete(K,J){return this.clone({name:K,value:J,op:"d"})}maybeSetNormalizedName(K,J){this.normalizedNames.has(J)||this.normalizedNames.set(J,K)}init(){this.lazyInit&&(this.lazyInit instanceof L?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(K=>this.applyUpdate(K)),this.lazyUpdate=null))}copyFrom(K){K.init(),Array.from(K.headers.keys()).forEach(J=>{this.headers.set(J,K.headers.get(J)),this.normalizedNames.set(J,K.normalizedNames.get(J))})}clone(K){const J=new L;return J.lazyInit=this.lazyInit&&this.lazyInit instanceof L?this.lazyInit:this,J.lazyUpdate=(this.lazyUpdate||[]).concat([K]),J}applyUpdate(K){const J=K.name.toLowerCase();switch(K.op){case"a":case"s":let Ce=K.value;if("string"==typeof Ce&&(Ce=[Ce]),0===Ce.length)return;this.maybeSetNormalizedName(K.name,J);const We=("a"===K.op?this.headers.get(J):void 0)||[];We.push(...Ce),this.headers.set(J,We);break;case"d":const Mt=K.value;if(Mt){let Tt=this.headers.get(J);if(!Tt)return;Tt=Tt.filter(Nt=>-1===Mt.indexOf(Nt)),0===Tt.length?(this.headers.delete(J),this.normalizedNames.delete(J)):this.headers.set(J,Tt)}else this.headers.delete(J),this.normalizedNames.delete(J)}}forEach(K){this.init(),Array.from(this.normalizedNames.keys()).forEach(J=>K(this.normalizedNames.get(J),this.headers.get(J)))}}class k{encodeKey(K){return V(K)}encodeValue(K){return V(K)}decodeKey(K){return decodeURIComponent(K)}decodeValue(K){return decodeURIComponent(K)}}const z=/%(\d[a-f0-9])/gi,I={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function V(me){return encodeURIComponent(me).replace(z,(K,J)=>I[J]??K)}function Z(me){return`${me}`}class q{constructor(K={}){if(this.updates=null,this.cloneFrom=null,this.encoder=K.encoder||new k,K.fromString){if(K.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function E(me,K){const J=new Map;return me.length>0&&me.replace(/^\?/,"").split("&").forEach(We=>{const Mt=We.indexOf("="),[Tt,Nt]=-1==Mt?[K.decodeKey(We),""]:[K.decodeKey(We.slice(0,Mt)),K.decodeValue(We.slice(Mt+1))],at=J.get(Tt)||[];at.push(Nt),J.set(Tt,at)}),J}(K.fromString,this.encoder)}else K.fromObject?(this.map=new Map,Object.keys(K.fromObject).forEach(J=>{const Ce=K.fromObject[J],We=Array.isArray(Ce)?Ce.map(Z):[Z(Ce)];this.map.set(J,We)})):this.map=null}has(K){return this.init(),this.map.has(K)}get(K){this.init();const J=this.map.get(K);return J?J[0]:null}getAll(K){return this.init(),this.map.get(K)||null}keys(){return this.init(),Array.from(this.map.keys())}append(K,J){return this.clone({param:K,value:J,op:"a"})}appendAll(K){const J=[];return Object.keys(K).forEach(Ce=>{const We=K[Ce];Array.isArray(We)?We.forEach(Mt=>{J.push({param:Ce,value:Mt,op:"a"})}):J.push({param:Ce,value:We,op:"a"})}),this.clone(J)}set(K,J){return this.clone({param:K,value:J,op:"s"})}delete(K,J){return this.clone({param:K,value:J,op:"d"})}toString(){return this.init(),this.keys().map(K=>{const J=this.encoder.encodeKey(K);return this.map.get(K).map(Ce=>J+"="+this.encoder.encodeValue(Ce)).join("&")}).filter(K=>""!==K).join("&")}clone(K){const J=new q({encoder:this.encoder});return J.cloneFrom=this.cloneFrom||this,J.updates=(this.updates||[]).concat(K),J}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(K=>this.map.set(K,this.cloneFrom.map.get(K))),this.updates.forEach(K=>{switch(K.op){case"a":case"s":const J=("a"===K.op?this.map.get(K.param):void 0)||[];J.push(Z(K.value)),this.map.set(K.param,J);break;case"d":if(void 0===K.value){this.map.delete(K.param);break}{let Ce=this.map.get(K.param)||[];const We=Ce.indexOf(Z(K.value));-1!==We&&Ce.splice(We,1),Ce.length>0?this.map.set(K.param,Ce):this.map.delete(K.param)}}}),this.cloneFrom=this.updates=null)}}class ne{constructor(){this.map=new Map}set(K,J){return this.map.set(K,J),this}get(K){return this.map.has(K)||this.map.set(K,K.defaultValue()),this.map.get(K)}delete(K){return this.map.delete(K),this}has(K){return this.map.has(K)}keys(){return this.map.keys()}}function re(me){return typeof ArrayBuffer<"u"&&me instanceof ArrayBuffer}function _e(me){return typeof Blob<"u"&&me instanceof Blob}function he(me){return typeof FormData<"u"&&me instanceof FormData}class ve{constructor(K,J,Ce,We){let Mt;if(this.url=J,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=K.toUpperCase(),function le(me){switch(me){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||We?(this.body=void 0!==Ce?Ce:null,Mt=We):Mt=Ce,Mt&&(this.reportProgress=!!Mt.reportProgress,this.withCredentials=!!Mt.withCredentials,Mt.responseType&&(this.responseType=Mt.responseType),Mt.headers&&(this.headers=Mt.headers),Mt.context&&(this.context=Mt.context),Mt.params&&(this.params=Mt.params)),this.headers||(this.headers=new L),this.context||(this.context=new ne),this.params){const Tt=this.params.toString();if(0===Tt.length)this.urlWithParams=J;else{const Nt=J.indexOf("?"),at=-1===Nt?"?":Nt<J.length-1?"&":"";this.urlWithParams=J+at+Tt}}else this.params=new q,this.urlWithParams=J}serializeBody(){return null===this.body?null:re(this.body)||_e(this.body)||he(this.body)||function ae(me){return typeof URLSearchParams<"u"&&me instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof q?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||he(this.body)?null:_e(this.body)?this.body.type||null:re(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof q?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(K={}){const J=K.method||this.method,Ce=K.url||this.url,We=K.responseType||this.responseType,Mt=void 0!==K.body?K.body:this.body,Tt=void 0!==K.withCredentials?K.withCredentials:this.withCredentials,Nt=void 0!==K.reportProgress?K.reportProgress:this.reportProgress;let at=K.headers||this.headers,Ke=K.params||this.params;const vt=K.context??this.context;return void 0!==K.setHeaders&&(at=Object.keys(K.setHeaders).reduce((ri,Pt)=>ri.set(Pt,K.setHeaders[Pt]),at)),K.setParams&&(Ke=Object.keys(K.setParams).reduce((ri,Pt)=>ri.set(Pt,K.setParams[Pt]),Ke)),new ve(J,Ce,Mt,{params:Ke,headers:at,context:vt,reportProgress:Nt,responseType:We,withCredentials:Tt})}}var T,me;(me=T||(T={}))[me.Sent=0]="Sent",me[me.UploadProgress=1]="UploadProgress",me[me.ResponseHeader=2]="ResponseHeader",me[me.DownloadProgress=3]="DownloadProgress",me[me.Response=4]="Response",me[me.User=5]="User";class i{constructor(K,J=200,Ce="OK"){this.headers=K.headers||new L,this.status=void 0!==K.status?K.status:J,this.statusText=K.statusText||Ce,this.url=K.url||null,this.ok=this.status>=200&&this.status<300}}class o extends i{constructor(K={}){super(K),this.type=T.ResponseHeader}clone(K={}){return new o({headers:K.headers||this.headers,status:void 0!==K.status?K.status:this.status,statusText:K.statusText||this.statusText,url:K.url||this.url||void 0})}}class m extends i{constructor(K={}){super(K),this.type=T.Response,this.body=void 0!==K.body?K.body:null}clone(K={}){return new m({body:void 0!==K.body?K.body:this.body,headers:K.headers||this.headers,status:void 0!==K.status?K.status:this.status,statusText:K.statusText||this.statusText,url:K.url||this.url||void 0})}}class h extends i{constructor(K){super(K,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${K.url||"(unknown url)"}`:this.message=`Http failure response for ${K.url||"(unknown url)"}: ${K.status} ${K.statusText}`,this.error=K.error||null}}function y(me,K){return{body:K,headers:me.headers,context:me.context,observe:me.observe,params:me.params,reportProgress:me.reportProgress,responseType:me.responseType,withCredentials:me.withCredentials}}class A{constructor(K){this.handler=K}request(K,J,Ce={}){let We;if(K instanceof ve)We=K;else{let Nt,at;Nt=Ce.headers instanceof L?Ce.headers:new L(Ce.headers),Ce.params&&(at=Ce.params instanceof q?Ce.params:new q({fromObject:Ce.params})),We=new ve(K,J,void 0!==Ce.body?Ce.body:null,{headers:Nt,context:Ce.context,params:at,reportProgress:Ce.reportProgress,responseType:Ce.responseType||"json",withCredentials:Ce.withCredentials})}const Mt=(0,_.of)(We).pipe((0,l.b)(Nt=>this.handler.handle(Nt)));if(K instanceof ve||"events"===Ce.observe)return Mt;const Tt=Mt.pipe((0,D.h)(Nt=>Nt instanceof m));switch(Ce.observe||"body"){case"body":switch(We.responseType){case"arraybuffer":return Tt.pipe((0,d.U)(Nt=>{if(null!==Nt.body&&!(Nt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Nt.body}));case"blob":return Tt.pipe((0,d.U)(Nt=>{if(null!==Nt.body&&!(Nt.body instanceof Blob))throw new Error("Response is not a Blob.");return Nt.body}));case"text":return Tt.pipe((0,d.U)(Nt=>{if(null!==Nt.body&&"string"!=typeof Nt.body)throw new Error("Response is not a string.");return Nt.body}));default:return Tt.pipe((0,d.U)(Nt=>Nt.body))}case"response":return Tt;default:throw new Error(`Unreachable: unhandled observe type ${Ce.observe}}`)}}delete(K,J={}){return this.request("DELETE",K,J)}get(K,J={}){return this.request("GET",K,J)}head(K,J={}){return this.request("HEAD",K,J)}jsonp(K,J){return this.request("JSONP",K,{params:(new q).append(J,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(K,J={}){return this.request("OPTIONS",K,J)}patch(K,J,Ce={}){return this.request("PATCH",K,y(Ce,J))}post(K,J,Ce={}){return this.request("POST",K,y(Ce,J))}put(K,J,Ce={}){return this.request("PUT",K,y(Ce,J))}}function R(me,K){return K(me)}function v(me,K){return(J,Ce)=>K.intercept(J,{handle:We=>me(We,Ce)})}A.\u0275fac=function(K){return new(K||A)(t.LFG(P))},A.\u0275prov=t.Yz7({token:A,factory:A.\u0275fac});const C=new t.OlP("HTTP_INTERCEPTORS"),U=new t.OlP("HTTP_INTERCEPTOR_FNS");function N(){let me=null;return(K,J)=>(null===me&&(me=((0,t.f3M)(C,{optional:!0})??[]).reduceRight(v,R)),me(K,J))}class Q extends P{constructor(K,J){super(),this.backend=K,this.injector=J,this.chain=null}handle(K){if(null===this.chain){const J=Array.from(new Set(this.injector.get(U)));this.chain=J.reduceRight((Ce,We)=>function a(me,K,J){return(Ce,We)=>J.runInContext(()=>K(Ce,Mt=>me(Mt,We)))}(Ce,We,this.injector),R)}return this.chain(K,J=>this.backend.handle(J))}}Q.\u0275fac=function(K){return new(K||Q)(t.LFG(p),t.LFG(t.lqb))},Q.\u0275prov=t.Yz7({token:Q,factory:Q.\u0275fac});let Le,Pe=0;class et{}function je(){return"object"==typeof window?window:{}}class ye{constructor(K,J){this.callbackMap=K,this.document=J,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+Pe++}handle(K){if("JSONP"!==K.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==K.responseType)throw new Error("JSONP requests must use Json response type.");if(K.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new S.y(J=>{const Ce=this.nextCallback(),We=K.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${Ce}$1`),Mt=this.document.createElement("script");Mt.src=We;let Tt=null,Nt=!1;this.callbackMap[Ce]=ri=>{delete this.callbackMap[Ce],Tt=ri,Nt=!0};const at=()=>{Mt.parentNode&&Mt.parentNode.removeChild(Mt),delete this.callbackMap[Ce]};return Mt.addEventListener("load",ri=>{this.resolvedPromise.then(()=>{at(),Nt?(J.next(new m({body:Tt,status:200,statusText:"OK",url:We})),J.complete()):J.error(new h({url:We,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})}),Mt.addEventListener("error",ri=>{at(),J.error(new h({error:ri,status:0,statusText:"JSONP Error",url:We}))}),this.document.body.appendChild(Mt),J.next({type:T.Sent}),()=>{Nt||this.removeListeners(Mt),at()}})}removeListeners(K){Le||(Le=this.document.implementation.createHTMLDocument()),Le.adoptNode(K)}}function Te(me,K){return"JSONP"===me.method?(0,t.f3M)(ye).handle(me):K(me)}ye.\u0275fac=function(K){return new(K||ye)(t.LFG(et),t.LFG(e.K0))},ye.\u0275prov=t.Yz7({token:ye,factory:ye.\u0275fac});class He{constructor(K){this.injector=K}intercept(K,J){return this.injector.runInContext(()=>Te(K,Ce=>J.handle(Ce)))}}He.\u0275fac=function(K){return new(K||He)(t.LFG(t.lqb))},He.\u0275prov=t.Yz7({token:He,factory:He.\u0275fac});const Ee=/^\)\]\}',?\n/;class de{constructor(K){this.xhrFactory=K}handle(K){if("JSONP"===K.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new S.y(J=>{const Ce=this.xhrFactory.build();if(Ce.open(K.method,K.urlWithParams),K.withCredentials&&(Ce.withCredentials=!0),K.headers.forEach((Pt,Lt)=>Ce.setRequestHeader(Pt,Lt.join(","))),K.headers.has("Accept")||Ce.setRequestHeader("Accept","application/json, text/plain, */*"),!K.headers.has("Content-Type")){const Pt=K.detectContentTypeHeader();null!==Pt&&Ce.setRequestHeader("Content-Type",Pt)}if(K.responseType){const Pt=K.responseType.toLowerCase();Ce.responseType="json"!==Pt?Pt:"text"}const We=K.serializeBody();let Mt=null;const Tt=()=>{if(null!==Mt)return Mt;const Pt=Ce.statusText||"OK",Lt=new L(Ce.getAllResponseHeaders()),Kt=function we(me){return"responseURL"in me&&me.responseURL?me.responseURL:/^X-Request-URL:/m.test(me.getAllResponseHeaders())?me.getResponseHeader("X-Request-URL"):null}(Ce)||K.url;return Mt=new o({headers:Lt,status:Ce.status,statusText:Pt,url:Kt}),Mt},Nt=()=>{let{headers:Pt,status:Lt,statusText:Kt,url:Ae}=Tt(),fe=null;204!==Lt&&(fe=typeof Ce.response>"u"?Ce.responseText:Ce.response),0===Lt&&(Lt=fe?200:0);let st=Lt>=200&&Lt<300;if("json"===K.responseType&&"string"==typeof fe){const _t=fe;fe=fe.replace(Ee,"");try{fe=""!==fe?JSON.parse(fe):null}catch(kt){fe=_t,st&&(st=!1,fe={error:kt,text:fe})}}st?(J.next(new m({body:fe,headers:Pt,status:Lt,statusText:Kt,url:Ae||void 0})),J.complete()):J.error(new h({error:fe,headers:Pt,status:Lt,statusText:Kt,url:Ae||void 0}))},at=Pt=>{const{url:Lt}=Tt(),Kt=new h({error:Pt,status:Ce.status||0,statusText:Ce.statusText||"Unknown Error",url:Lt||void 0});J.error(Kt)};let Ke=!1;const vt=Pt=>{Ke||(J.next(Tt()),Ke=!0);let Lt={type:T.DownloadProgress,loaded:Pt.loaded};Pt.lengthComputable&&(Lt.total=Pt.total),"text"===K.responseType&&!!Ce.responseText&&(Lt.partialText=Ce.responseText),J.next(Lt)},ri=Pt=>{let Lt={type:T.UploadProgress,loaded:Pt.loaded};Pt.lengthComputable&&(Lt.total=Pt.total),J.next(Lt)};return Ce.addEventListener("load",Nt),Ce.addEventListener("error",at),Ce.addEventListener("timeout",at),Ce.addEventListener("abort",at),K.reportProgress&&(Ce.addEventListener("progress",vt),null!==We&&Ce.upload&&Ce.upload.addEventListener("progress",ri)),Ce.send(We),J.next({type:T.Sent}),()=>{Ce.removeEventListener("error",at),Ce.removeEventListener("abort",at),Ce.removeEventListener("load",Nt),Ce.removeEventListener("timeout",at),K.reportProgress&&(Ce.removeEventListener("progress",vt),null!==We&&Ce.upload&&Ce.upload.removeEventListener("progress",ri)),Ce.readyState!==Ce.DONE&&Ce.abort()}})}}de.\u0275fac=function(K){return new(K||de)(t.LFG(e.JF))},de.\u0275prov=t.Yz7({token:de,factory:de.\u0275fac});const Me=new t.OlP("XSRF_ENABLED"),ie="XSRF-TOKEN",G=new t.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>ie}),$="X-XSRF-TOKEN",ze=new t.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>$});class Ue{}class oe{constructor(K,J,Ce){this.doc=K,this.platform=J,this.cookieName=Ce,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const K=this.doc.cookie||"";return K!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,e.Mx)(K,this.cookieName),this.lastCookieString=K),this.lastToken}}function bt(me,K){const J=me.url.toLowerCase();if(!(0,t.f3M)(Me)||"GET"===me.method||"HEAD"===me.method||J.startsWith("http://")||J.startsWith("https://"))return K(me);const Ce=(0,t.f3M)(Ue).getToken(),We=(0,t.f3M)(ze);return null!=Ce&&!me.headers.has(We)&&(me=me.clone({headers:me.headers.set(We,Ce)})),K(me)}oe.\u0275fac=function(K){return new(K||oe)(t.LFG(e.K0),t.LFG(t.Lbi),t.LFG(G))},oe.\u0275prov=t.Yz7({token:oe,factory:oe.\u0275fac});class Be{constructor(K){this.injector=K}intercept(K,J){return this.injector.runInContext(()=>bt(K,Ce=>J.handle(Ce)))}}var nt;function $t(me,K){return{\u0275kind:me,\u0275providers:K}}Be.\u0275fac=function(K){return new(K||Be)(t.LFG(t.lqb))},Be.\u0275prov=t.Yz7({token:Be,factory:Be.\u0275fac}),function(me){me[me.Interceptors=0]="Interceptors",me[me.LegacyInterceptors=1]="LegacyInterceptors",me[me.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",me[me.NoXsrfProtection=3]="NoXsrfProtection",me[me.JsonpSupport=4]="JsonpSupport",me[me.RequestsMadeViaParent=5]="RequestsMadeViaParent"}(nt||(nt={}));const Re=new t.OlP("LEGACY_INTERCEPTOR_FN");function St({cookieName:me,headerName:K}){const J=[];return void 0!==me&&J.push({provide:G,useValue:me}),void 0!==K&&J.push({provide:ze,useValue:K}),$t(nt.CustomXsrfConfiguration,J)}class Zi{static disable(){return{ngModule:Zi,providers:[$t(nt.NoXsrfProtection,[{provide:Me,useValue:!1}]).\u0275providers]}}static withOptions(K={}){return{ngModule:Zi,providers:St(K).\u0275providers}}}Zi.\u0275fac=function(K){return new(K||Zi)},Zi.\u0275mod=t.oAB({type:Zi}),Zi.\u0275inj=t.cJS({providers:[Be,{provide:C,useExisting:Be,multi:!0},{provide:Ue,useClass:oe},St({cookieName:ie,headerName:$}).\u0275providers,{provide:Me,useValue:!0}]});class si{}si.\u0275fac=function(K){return new(K||si)},si.\u0275mod=t.oAB({type:si}),si.\u0275inj=t.cJS({providers:[function gt(...me){const K=[A,de,Q,{provide:P,useExisting:Q},{provide:p,useExisting:de},{provide:U,useValue:bt,multi:!0},{provide:Me,useValue:!0},{provide:Ue,useClass:oe}];for(const J of me)K.push(...J.\u0275providers);return(0,t.MR2)(K)}(function ot(){return $t(nt.LegacyInterceptors,[{provide:Re,useFactory:N},{provide:U,useExisting:Re,multi:!0}])}(),St({cookieName:ie,headerName:$}))]});class Bt{}Bt.\u0275fac=function(K){return new(K||Bt)},Bt.\u0275mod=t.oAB({type:Bt}),Bt.\u0275inj=t.cJS({providers:[function oi(){return $t(nt.JsonpSupport,[ye,{provide:et,useFactory:je},{provide:U,useValue:Te,multi:!0}])}().\u0275providers]})},2560:(Ge,X,f)=>{"use strict";f.d(X,{$8M:()=>bc,$Z:()=>I0,AA_:()=>dm,AFp:()=>Cg,ALo:()=>z_,AaK:()=>P,AcB:()=>ee,AsE:()=>tu,BQk:()=>V0,CHM:()=>es,CRH:()=>eg,CZH:()=>A1,CqO:()=>Wf,D6c:()=>x8,DdM:()=>L_,Dn7:()=>U_,DyG:()=>zi,E6H:()=>vg,EJc:()=>H6,EiD:()=>i0,EpF:()=>vp,F$t:()=>xp,F4k:()=>Vf,FYo:()=>u2,FiY:()=>B1,G48:()=>zg,GSi:()=>Ut,Gf:()=>J_,GfV:()=>d0,GkF:()=>gp,Gpc:()=>M,Gre:()=>Qo,HOy:()=>bd,Hsn:()=>jf,IIB:()=>R6,Ikx:()=>To,JOm:()=>H1,JVY:()=>Th,JZr:()=>V,Jf7:()=>Kh,KtG:()=>or,L6J:()=>yg,L6k:()=>Pm,LAX:()=>Qu,LFG:()=>Bt,LVF:()=>N6,Lbi:()=>A3,Lck:()=>vo,MAs:()=>mp,MGl:()=>G0,MMx:()=>Sc,MR2:()=>od,NdJ:()=>K0,O4$:()=>zt,OlP:()=>fa,Oqu:()=>Sl,P3R:()=>kh,PXZ:()=>$6,PiD:()=>ql,Q6J:()=>pp,QGY:()=>W0,QP$:()=>Qt,QbO:()=>F6,Qsj:()=>Uh,R0b:()=>ol,RDi:()=>Om,Rgc:()=>tm,SBq:()=>Dl,Sil:()=>sm,Suo:()=>$_,TTD:()=>er,TgZ:()=>eu,Tol:()=>Sp,Udp:()=>Op,VKq:()=>O_,W1O:()=>G4,WFA:()=>bp,WLB:()=>v3,X6Q:()=>r8,XFs:()=>ie,Xek:()=>gg,Xpm:()=>Li,Xts:()=>qa,Y36:()=>Al,YKP:()=>Aa,YNc:()=>Uf,Yjl:()=>fi,Yz7:()=>Ye,Z0I:()=>et,ZZ4:()=>Id,_Bn:()=>Gr,_UZ:()=>_p,_Vd:()=>dd,_c5:()=>y8,_uU:()=>io,aQ5:()=>De,aQg:()=>Ld,ahi:()=>Bd,c2e:()=>fu,cJS:()=>Ve,cg1:()=>O2,d8E:()=>_r,dDg:()=>cm,dqk:()=>bt,eBb:()=>Rm,eFA:()=>s_,ekj:()=>Rn,eoX:()=>_u,f3M:()=>me,g9A:()=>Mg,h0i:()=>da,hGG:()=>lm,hYB:()=>Ep,hij:()=>Ac,i9L:()=>lt,iGM:()=>nm,ifc:()=>ri,ip1:()=>xg,jDz:()=>kc,kEZ:()=>S_,kL8:()=>au,kcU:()=>_i,kuF:()=>q,lG2:()=>jt,lcZ:()=>H_,lnq:()=>jo,lqb:()=>tc,lri:()=>Og,mCW:()=>t2,n4l:()=>at,n5z:()=>Qs,n_E:()=>y3,oAB:()=>qe,oJD:()=>Lh,oxw:()=>Yf,pB0:()=>qu,pfw:()=>B6,q3G:()=>ec,qLn:()=>Mc,qOj:()=>sp,qZA:()=>U0,qzn:()=>Cl,rWj:()=>Sg,r_U:()=>bg,s9C:()=>Cp,sBO:()=>d_,sIi:()=>Jh,s_b:()=>zp,soG:()=>I3,tBr:()=>Ql,tb:()=>wg,tp0:()=>yc,uIk:()=>hp,vHH:()=>Z,vR:()=>tt,vpe:()=>Ad,wA2:()=>P6,wAp:()=>Lc,xi3:()=>B4,xp6:()=>_2,ynx:()=>T2,z2F:()=>L1,z3N:()=>Js,zSh:()=>la,zlt:()=>I_,zs3:()=>wi});var e=f(253),t=f(7714),_=f(833),S=f(6646),l=f(1203);function D(s){for(let c in s)if(s[c]===D)return c;throw Error("Could not find renamed property on target object.")}function d(s,c){for(const g in c)c.hasOwnProperty(g)&&!s.hasOwnProperty(g)&&(s[g]=c[g])}function P(s){if("string"==typeof s)return s;if(Array.isArray(s))return"["+s.map(P).join(", ")+"]";if(null==s)return""+s;if(s.overriddenName)return`${s.overriddenName}`;if(s.name)return`${s.name}`;const c=s.toString();if(null==c)return""+c;const g=c.indexOf("\n");return-1===g?c:c.substring(0,g)}function p(s,c){return null==s||""===s?null===c?"":c:null==c||""===c?s:s+" "+c}const L=D({__forward_ref__:D});function M(s){return s.__forward_ref__=M,s.toString=function(){return P(this())},s}function k(s){return E(s)?s():s}function E(s){return"function"==typeof s&&s.hasOwnProperty(L)&&s.__forward_ref__===M}function z(s){return s&&!!s.\u0275providers}const V="https://g.co/ng/security#xss";class Z extends Error{constructor(c,g){super(q(c,g)),this.code=c}}function q(s,c){return`NG0${Math.abs(s)}${c?": "+c.trim():""}`}function te(s){return"string"==typeof s?s:null==s?"":String(s)}function ne(s){return"function"==typeof s?s.name||s.toString():"object"==typeof s&&null!=s&&"function"==typeof s.type?s.type.name||s.type.toString():te(s)}function he(s,c){throw new Z(-201,!1)}function o(s,c,g){s!=c&&N(g,s,c,"==")}function U(s,c){null==s&&N(c,s,null,"!=")}function N(s,c,g,O){throw new Error(`ASSERTION ERROR: ${s}`+(null==O?"":` [Expected=> ${g} ${O} ${c} <=Actual]`))}function Ye(s){return{token:s.token,providedIn:s.providedIn||null,factory:s.factory,value:void 0}}function Ve(s){return{providers:s.providers||[],imports:s.imports||[]}}function be(s){return je(s,Ee)||je(s,de)}function et(s){return null!==be(s)}function je(s,c){return s.hasOwnProperty(c)?s[c]:null}function He(s){return s&&(s.hasOwnProperty(we)||s.hasOwnProperty(Me))?s[we]:null}const Ee=D({\u0275prov:D}),we=D({\u0275inj:D}),de=D({ngInjectableDef:D}),Me=D({ngInjectorDef:D});var ie,s;let G;function ze(s){const c=G;return G=s,c}function Ue(s,c,g){const O=be(s);return O&&"root"==O.providedIn?void 0===O.value?O.value=O.factory():O.value:g&ie.Optional?null:void 0!==c?c:void he(P(s))}(s=ie||(ie={}))[s.Default=0]="Default",s[s.Host=1]="Host",s[s.Self=2]="Self",s[s.SkipSelf=4]="SkipSelf",s[s.Optional=8]="Optional";const bt=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)();const gt={},rt="__NG_DI_FLAG__",Re="ngTempTokenPath",St=/\n/gm,oi="__source";let ei;function Zi(s){const c=ei;return ei=s,c}function si(s,c=ie.Default){if(void 0===ei)throw new Z(-203,!1);return null===ei?Ue(s,void 0,c):ei.get(s,c&ie.Optional?null:void 0,c)}function Bt(s,c=ie.Default){return(function $(){return G}()||si)(k(s),c)}function Je(s){throw new Z(202,!1)}function me(s,c=ie.Default){return Bt(s,K(c))}function K(s){return typeof s>"u"||"number"==typeof s?s:0|(s.optional&&8)|(s.host&&1)|(s.self&&2)|(s.skipSelf&&4)}function J(s){const c=[];for(let g=0;g<s.length;g++){const O=k(s[g]);if(Array.isArray(O)){if(0===O.length)throw new Z(900,!1);let F,Y=ie.Default;for(let se=0;se<O.length;se++){const Oe=O[se],Ze=We(Oe);"number"==typeof Ze?-1===Ze?F=Oe.token:Y|=Ze:F=Oe}c.push(Bt(F,Y))}else c.push(Bt(O))}return c}function Ce(s,c){return s[rt]=c,s.prototype[rt]=c,s}function We(s){return s[rt]}function Mt(s,c,g,O){const F=s[Re];throw c[oi]&&F.unshift(c[oi]),s.message=function Tt(s,c,g,O=null){s=s&&"\n"===s.charAt(0)&&"\u0275"==s.charAt(1)?s.slice(2):s;let F=P(c);if(Array.isArray(c))F=c.map(P).join(" -> ");else if("object"==typeof c){let Y=[];for(let se in c)if(c.hasOwnProperty(se)){let Oe=c[se];Y.push(se+":"+("string"==typeof Oe?JSON.stringify(Oe):P(Oe)))}F=`{${Y.join(", ")}}`}return`${g}${O?"("+O+")":""}[${F}]: ${s.replace(St,"\n ")}`}("\n"+s.message,F,g,O),s.ngTokenPath=F,s[Re]=null,s}function Nt(s){return{toString:s}.toString()}var at,Ke,ri;!function(s){s[s.OnPush=0]="OnPush",s[s.Default=1]="Default"}(at||(at={})),function(s){s[s.CheckOnce=0]="CheckOnce",s[s.Checked=1]="Checked",s[s.CheckAlways=2]="CheckAlways",s[s.Detached=3]="Detached",s[s.Errored=4]="Errored",s[s.Destroyed=5]="Destroyed"}(Ke||(Ke={})),function(s){s[s.Emulated=0]="Emulated",s[s.None=2]="None",s[s.ShadowDom=3]="ShadowDom"}(ri||(ri={}));const Pt={},Lt=[],Kt=D({\u0275cmp:D}),Ae=D({\u0275dir:D}),fe=D({\u0275pipe:D}),st=D({\u0275mod:D}),_t=D({\u0275fac:D}),kt=D({__NG_ELEMENT_ID__:D});let Oi=0;function Li(s){return Nt(()=>{const c=s.type,g=!0===s.standalone,O={},F={type:c,providersResolver:null,decls:s.decls,vars:s.vars,factory:null,template:s.template||null,consts:s.consts||null,ngContentSelectors:s.ngContentSelectors,hostBindings:s.hostBindings||null,hostVars:s.hostVars||0,hostAttrs:s.hostAttrs||null,contentQueries:s.contentQueries||null,declaredInputs:O,inputs:null,outputs:null,exportAs:s.exportAs||null,onPush:s.changeDetection===at.OnPush,directiveDefs:null,pipeDefs:null,standalone:g,dependencies:g&&s.dependencies||null,getStandaloneInjector:null,selectors:s.selectors||Lt,viewQuery:s.viewQuery||null,features:s.features||null,data:s.data||{},encapsulation:s.encapsulation||ri.Emulated,id:"c"+Oi++,styles:s.styles||Lt,_:null,setInput:null,schemas:s.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},Y=s.dependencies,se=s.features;return F.inputs=Vt(s.inputs,O),F.outputs=Vt(s.outputs),se&&se.forEach(Oe=>Oe(F)),F.directiveDefs=Y?()=>("function"==typeof Y?Y():Y).map(Wi).filter(wt):null,F.pipeDefs=Y?()=>("function"==typeof Y?Y():Y).map(Gi).filter(wt):null,F})}function Ei(s,c,g){const O=s.\u0275cmp;O.directiveDefs=()=>("function"==typeof c?c():c).map(Wi),O.pipeDefs=()=>("function"==typeof g?g():g).map(Gi)}function Wi(s){return Si(s)||ki(s)}function wt(s){return null!==s}function qe(s){return Nt(()=>({type:s.type,bootstrap:s.bootstrap||Lt,declarations:s.declarations||Lt,imports:s.imports||Lt,exports:s.exports||Lt,transitiveCompileScopes:null,schemas:s.schemas||null,id:s.id||null}))}function Ne(s,c){return Nt(()=>{const g=xe(s,!0);g.declarations=c.declarations||Lt,g.imports=c.imports||Lt,g.exports=c.exports||Lt})}function Vt(s,c){if(null==s)return Pt;const g={};for(const O in s)if(s.hasOwnProperty(O)){let F=s[O],Y=F;Array.isArray(F)&&(Y=F[1],F=F[0]),g[F]=O,c&&(c[F]=Y)}return g}const jt=Li;function fi(s){return{type:s.type,name:s.name,factory:null,pure:!1!==s.pure,standalone:!0===s.standalone,onDestroy:s.type.prototype.ngOnDestroy||null}}function Si(s){return s[Kt]||null}function ki(s){return s[Ae]||null}function Gi(s){return s[fe]||null}function Qt(s){const c=Si(s)||ki(s)||Gi(s);return null!==c&&c.standalone}function xe(s,c){const g=s[st]||null;if(!g&&!0===c)throw new Error(`Type ${P(s)} does not have '\u0275mod' property.`);return g}function qn(s){return Array.isArray(s)&&"object"==typeof s[1]}function Ra(s){return Array.isArray(s)&&!0===s[1]}function yr(s){return 0!=(4&s.flags)}function wa(s){return s.componentOffset>-1}function hr(s){return 1==(1&s.flags)}function Vn(s){return null!==s.template}function va(s){return 0!=(256&s[2])}function Da(s,c){return s.hasOwnProperty(_t)?s[_t]:null}class ko{constructor(c,g,O){this.previousValue=c,this.currentValue=g,this.firstChange=O}isFirstChange(){return this.firstChange}}function er(){return Po}function Po(s){return s.type.prototype.ngOnChanges&&(s.setInput=xr),nr}function nr(){const s=Cr(this),c=s?.current;if(c){const g=s.previous;if(g===Pt)s.previous=c;else for(let O in c)g[O]=c[O];s.current=null,this.ngOnChanges(c)}}function xr(s,c,g,O){const F=this.declaredInputs[g],Y=Cr(s)||function mr(s,c){return s[oa]=c}(s,{previous:Pt,current:null}),se=Y.current||(Y.current={}),Oe=Y.previous,Ze=Oe[F];se[F]=new ko(Ze&&Ze.currentValue,c,Oe===Pt),s[O]=c}er.ngInherit=!0;const oa="__ngSimpleChanges__";function Cr(s){return s[oa]||null}let Uo=null;const ja=function(s,c,g){Uo?.(s,c,g)},ar="math";function ca(s){for(;Array.isArray(s);)s=s[0];return s}function mi(s,c){return ca(c[s])}function Qe(s,c){return ca(c[s.index])}function xi(s,c){return s.data[c]}function Ki(s,c){return s[c]}function wn(s,c){const g=c[s];return qn(g)?g:g[0]}function sa(s){return 64==(64&s[2])}function Et(s,c){return null==c?null:s[c]}function ge(s){s[18]=0}function pt(s,c){s[5]+=c;let g=s,O=s[3];for(;null!==O&&(1===c&&1===g[5]||-1===c&&0===g[5]);)O[5]+=c,g=O,O=O[3]}const Xt={lFrame:hc(null),bindingsEnabled:!0};function $o(){return Xt.bindingsEnabled}function Pc(){Xt.bindingsEnabled=!0}function ps(){Xt.bindingsEnabled=!1}function Fi(){return Xt.lFrame.lView}function zn(){return Xt.lFrame.tView}function es(s){return Xt.lFrame.contextLView=s,s[8]}function or(s){return Xt.lFrame.contextLView=null,s}function La(){let s=zr();for(;null!==s&&64===s.type;)s=s.parent;return s}function zr(){return Xt.lFrame.currentTNode}function fs(){const s=Xt.lFrame,c=s.currentTNode;return s.isParent?c:c.parent}function Oa(s,c){const g=Xt.lFrame;g.currentTNode=s,g.isParent=c}function $n(){return Xt.lFrame.isParent}function Ui(){Xt.lFrame.isParent=!1}function Fa(){const s=Xt.lFrame;let c=s.bindingRootIndex;return-1===c&&(c=s.bindingRootIndex=s.tView.bindingStartIndex),c}function co(){return Xt.lFrame.bindingIndex}function Wo(s){return Xt.lFrame.bindingIndex=s}function ts(){return Xt.lFrame.bindingIndex++}function Qr(s){const c=Xt.lFrame,g=c.bindingIndex;return c.bindingIndex=c.bindingIndex+s,g}function Vl(s){Xt.lFrame.inI18n=s}function Wl(s,c){const g=Xt.lFrame;g.bindingIndex=g.bindingRootIndex=s,Rc(c)}function Rc(s){Xt.lFrame.currentDirectiveIndex=s}function Gs(s){const c=Xt.lFrame.currentDirectiveIndex;return-1===c?null:s[c]}function Ys(){return Xt.lFrame.currentQueryIndex}function Ps(s){Xt.lFrame.currentQueryIndex=s}function wr(s){const c=s[1];return 2===c.type?c.declTNode:1===c.type?s[6]:null}function Rs(s,c,g){if(g&ie.SkipSelf){let F=c,Y=s;for(;(F=F.parent,null===F&&!(g&ie.Host))&&(F=wr(Y),!(null===F||(Y=Y[15],10&F.type))););if(null===F)return!1;c=F,s=Y}const O=Xt.lFrame=hn();return O.currentTNode=c,O.lView=s,!0}function Zs(s){const c=hn(),g=s[1];Xt.lFrame=c,c.currentTNode=g.firstChild,c.lView=s,c.tView=g,c.contextLView=s,c.bindingIndex=g.bindingStartIndex,c.inI18n=!1}function hn(){const s=Xt.lFrame,c=null===s?null:s.child;return null===c?hc(s):c}function hc(s){const c={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:s,child:null,inI18n:!1};return null!==s&&(s.child=c),c}function sl(){const s=Xt.lFrame;return Xt.lFrame=s.parent,s.currentTNode=null,s.lView=null,s}const xo=sl;function Ro(){const s=sl();s.isParent=!0,s.tView=null,s.selectedIndex=-1,s.contextLView=null,s.elementDepthCount=0,s.currentDirectiveIndex=-1,s.currentNamespace=null,s.bindingRootIndex=-1,s.bindingIndex=-1,s.currentQueryIndex=0}function is(s){return(Xt.lFrame.contextLView=function lo(s,c){for(;s>0;)c=c[15],s--;return c}(s,Xt.lFrame.contextLView))[8]}function Fe(){return Xt.lFrame.selectedIndex}function ce(s){Xt.lFrame.selectedIndex=s}function ht(){const s=Xt.lFrame;return xi(s.tView,s.selectedIndex)}function zt(){Xt.lFrame.currentNamespace="svg"}function Gt(){Xt.lFrame.currentNamespace=ar}function _i(){!function Vi(){Xt.lFrame.currentNamespace=null}()}function Ct(s,c){for(let g=c.directiveStart,O=c.directiveEnd;g<O;g++){const Y=s.data[g].type.prototype,{ngAfterContentInit:se,ngAfterContentChecked:Oe,ngAfterViewInit:Ze,ngAfterViewChecked:ut,ngOnDestroy:It}=Y;se&&(s.contentHooks||(s.contentHooks=[])).push(-g,se),Oe&&((s.contentHooks||(s.contentHooks=[])).push(g,Oe),(s.contentCheckHooks||(s.contentCheckHooks=[])).push(g,Oe)),Ze&&(s.viewHooks||(s.viewHooks=[])).push(-g,Ze),ut&&((s.viewHooks||(s.viewHooks=[])).push(g,ut),(s.viewCheckHooks||(s.viewCheckHooks=[])).push(g,ut)),null!=It&&(s.destroyHooks||(s.destroyHooks=[])).push(g,It)}}function Ht(s,c,g){li(s,c,3,g)}function Xe(s,c,g,O){(3&s[2])===g&&li(s,c,g,O)}function Jt(s,c){let g=s[2];(3&g)===c&&(g&=2047,g+=1,s[2]=g)}function li(s,c,g,O){const F=void 0!==O?65535&s[18]:0,Y=O??-1,se=c.length-1;let Oe=0;for(let Ze=F;Ze<se;Ze++)if("number"==typeof c[Ze+1]){if(Oe=c[Ze],null!=O&&Oe>=O)break}else c[Ze]<0&&(s[18]+=65536),(Oe<Y||-1==Y)&&(ni(s,g,c,Ze),s[18]=(4294901760&s[18])+Ze+2),Ze++}function ni(s,c,g,O){const F=g[O]<0,Y=g[O+1],Oe=s[F?-g[O]:g[O]];if(F){if(s[2]>>11<s[18]>>16&&(3&s[2])===c){s[2]+=2048,ja(4,Oe,Y);try{Y.call(Oe)}finally{ja(5,Oe,Y)}}}else{ja(4,Oe,Y);try{Y.call(Oe)}finally{ja(5,Oe,Y)}}}class Ri{constructor(c,g,O){this.factory=c,this.resolving=!1,this.canSeeViewProviders=g,this.injectImpl=O}}function za(s,c,g){let O=0;for(;O<g.length;){const F=g[O];if("number"==typeof F){if(0!==F)break;O++;const Y=g[O++],se=g[O++],Oe=g[O++];s.setAttribute(c,se,Oe,Y)}else{const Y=F,se=g[++O];ho(Y)?s.setProperty(c,Y,se):s.setAttribute(c,Y,se),O++}}return O}function ba(s){return 3===s||4===s||6===s}function ho(s){return 64===s.charCodeAt(0)}function Sa(s,c){if(null!==c&&0!==c.length)if(null===s||0===s.length)s=c.slice();else{let g=-1;for(let O=0;O<c.length;O++){const F=c[O];"number"==typeof F?g=F:0===g||_s(s,g,F,null,-1===g||2===g?c[++O]:null)}}return s}function _s(s,c,g,O,F){let Y=0,se=s.length;if(-1===c)se=-1;else for(;Y<s.length;){const Oe=s[Y++];if("number"==typeof Oe){if(Oe===c){se=-1;break}if(Oe>c){se=Y-1;break}}}for(;Y<s.length;){const Oe=s[Y];if("number"==typeof Oe)break;if(Oe===g){if(null===O)return void(null!==F&&(s[Y+1]=F));if(O===s[Y+1])return void(s[Y+2]=F)}Y++,null!==O&&Y++,null!==F&&Y++}-1!==se&&(s.splice(se,0,c),Y=se+1),s.splice(Y++,0,g),null!==O&&s.splice(Y++,0,O),null!==F&&s.splice(Y++,0,F)}function Ar(s){return-1!==s}function Co(s){return 32767&s}function uc(s,c){let g=function gs(s){return s>>16}(s),O=c;for(;g>0;)O=O[15],g--;return O}let Ir=!0;function cl(s){const c=Ir;return Ir=s,c}let Od=0;const sr={};function Es(s,c){const g=Bc(s,c);if(-1!==g)return g;const O=c[1];O.firstCreatePass&&(s.injectorIndex=c.length,vs(O.data,s),vs(c,null),vs(O.blueprint,null));const F=_c(s,c),Y=s.injectorIndex;if(Ar(F)){const se=Co(F),Oe=uc(F,c),Ze=Oe[1].data;for(let ut=0;ut<8;ut++)c[Y+ut]=Oe[se+ut]|Ze[se+ut]}return c[Y+8]=F,Y}function vs(s,c){s.push(0,0,0,0,0,0,0,0,c)}function Bc(s,c){return-1===s.injectorIndex||s.parent&&s.parent.injectorIndex===s.injectorIndex||null===c[s.injectorIndex+8]?-1:s.injectorIndex}function _c(s,c){if(s.parent&&-1!==s.parent.injectorIndex)return s.parent.injectorIndex;let g=0,O=null,F=c;for(;null!==F;){if(O=k1(F),null===O)return-1;if(g++,F=F[15],-1!==O.injectorIndex)return O.injectorIndex|g<<16}return-1}function Sd(s,c,g){!function fc(s,c,g){let O;"string"==typeof g?O=g.charCodeAt(0)||0:g.hasOwnProperty(kt)&&(O=g[kt]),null==O&&(O=g[kt]=Od++);const F=255&O,Y=1<<F;c.data[s+(F>>5)]|=Y}(s,c,g)}function gc(s,c,g){if(g&ie.Optional||void 0!==s)return s;he()}function ll(s,c,g,O){if(g&ie.Optional&&void 0===O&&(O=null),0==(g&(ie.Self|ie.Host))){const F=s[9],Y=ze(void 0);try{return F?F.get(c,O,g&ie.Optional):Ue(c,O,g&ie.Optional)}finally{ze(Y)}}return gc(O,0,g)}function S1(s,c,g,O=ie.Default,F){if(null!==s){if(1024&c[2]){const se=function Lr(s,c,g,O,F){let Y=s,se=c;for(;null!==Y&&null!==se&&1024&se[2]&&!(256&se[2]);){const Oe=Pd(Y,se,g,O|ie.Self,sr);if(Oe!==sr)return Oe;let Ze=Y.parent;if(!Ze){const ut=se[21];if(ut){const It=ut.get(g,sr,O);if(It!==sr)return It}Ze=k1(se),se=se[15]}Y=Ze}return F}(s,c,g,O,sr);if(se!==sr)return se}const Y=Pd(s,c,g,O,sr);if(Y!==sr)return Y}return ll(c,g,O,F)}function Pd(s,c,g,O,F){const Y=function dl(s){if("string"==typeof s)return s.charCodeAt(0)||0;const c=s.hasOwnProperty(kt)?s[kt]:void 0;return"number"==typeof c?c>=0?255&c:Ms:c}(g);if("function"==typeof Y){if(!Rs(c,s,O))return O&ie.Host?gc(F,0,O):ll(c,g,O,F);try{const se=Y(O);if(null!=se||O&ie.Optional)return se;he()}finally{xo()}}else if("number"==typeof Y){let se=null,Oe=Bc(s,c),Ze=-1,ut=O&ie.Host?c[16][6]:null;for((-1===Oe||O&ie.SkipSelf)&&(Ze=-1===Oe?_c(s,c):c[Oe+8],-1!==Ze&&Gl(O,!1)?(se=c[1],Oe=Co(Ze),c=uc(Ze,c)):Oe=-1);-1!==Oe;){const It=c[1];if(Rd(Y,Oe,It.data)){const Zt=js(Oe,c,g,se,O,ut);if(Zt!==sr)return Zt}Ze=c[Oe+8],-1!==Ze&&Gl(O,c[1].data[Oe+8]===ut)&&Rd(Y,Oe,c)?(se=It,Oe=Co(Ze),c=uc(Ze,c)):Oe=-1}}return F}function js(s,c,g,O,F,Y){const se=c[1],Oe=se.data[s+8],It=ns(Oe,se,g,null==O?wa(Oe)&&Ir:O!=se&&0!=(3&Oe.type),F&ie.Host&&Y===Oe);return null!==It?vc(c,se,It,Oe):sr}function ns(s,c,g,O,F){const Y=s.providerIndexes,se=c.data,Oe=1048575&Y,Ze=s.directiveStart,ut=s.directiveEnd,It=Y>>20,pi=F?Oe+It:ut;for(let Mi=O?Oe:Oe+It;Mi<pi;Mi++){const Bi=se[Mi];if(Mi<Ze&&g===Bi||Mi>=Ze&&Bi.type===g)return Mi}if(F){const Mi=se[Ze];if(Mi&&Vn(Mi)&&Mi.type===g)return Ze}return null}function vc(s,c,g,O){let F=s[g];const Y=c.data;if(function tn(s){return s instanceof Ri}(F)){const se=F;se.resolving&&function le(s,c){const g=c?`. Dependency path: ${c.join(" > ")} > ${s}`:"";throw new Z(-200,`Circular dependency in DI detected for ${s}${g}`)}(ne(Y[g]));const Oe=cl(se.canSeeViewProviders);se.resolving=!0;const Ze=se.injectImpl?ze(se.injectImpl):null;Rs(s,O,ie.Default);try{F=s[g]=se.factory(void 0,Y,s,O),c.firstCreatePass&&g>=O.directiveStart&&function dt(s,c,g){const{ngOnChanges:O,ngOnInit:F,ngDoCheck:Y}=c.type.prototype;if(O){const se=Po(c);(g.preOrderHooks||(g.preOrderHooks=[])).push(s,se),(g.preOrderCheckHooks||(g.preOrderCheckHooks=[])).push(s,se)}F&&(g.preOrderHooks||(g.preOrderHooks=[])).push(0-s,F),Y&&((g.preOrderHooks||(g.preOrderHooks=[])).push(s,Y),(g.preOrderCheckHooks||(g.preOrderCheckHooks=[])).push(s,Y))}(g,Y[g],c)}finally{null!==Ze&&ze(Ze),cl(Oe),se.resolving=!1,xo()}}return F}function Rd(s,c,g){const O=1<<s;return!!(g[c+(s>>5)]&O)}function Gl(s,c){return!(s&ie.Self||s&ie.Host&&c)}class as{constructor(c,g){this._tNode=c,this._lView=g}get(c,g,O){return S1(this._tNode,this._lView,c,K(O),g)}}function Ms(){return new as(La(),Fi())}function Qs(s){return Nt(()=>{const c=s.prototype.constructor,g=c[_t]||Hr(c),O=Object.prototype;let F=Object.getPrototypeOf(s.prototype).constructor;for(;F&&F!==O;){const Y=F[_t]||Hr(F);if(Y&&Y!==g)return Y;F=Object.getPrototypeOf(F)}return Y=>new Y})}function Hr(s){return E(s)?()=>{const c=Hr(k(s));return c&&c()}:Da(s)}function k1(s){const c=s[1],g=c.type;return 2===g?c.declTNode:1===g?s[6]:null}function bc(s){return function kd(s,c){if("class"===c)return s.classes;if("style"===c)return s.styles;const g=s.attrs;if(g){const O=g.length;let F=0;for(;F<O;){const Y=g[F];if(ba(Y))break;if(0===Y)F+=2;else if("number"==typeof Y)for(F++;F<O&&"string"==typeof g[F];)F++;else{if(Y===c)return g[F+1];F+=2}}}return null}(La(),s)}const Bs="__annotations__",rs="__parameters__",Bo="__prop__metadata__";function uo(s,c,g,O,F){return Nt(()=>{const Y=Yl(c);function se(...Oe){if(this instanceof se)return Y.call(this,...Oe),this;const Ze=new se(...Oe);return function(It){return F&&F(It,...Oe),(It.hasOwnProperty(Bs)?It[Bs]:Object.defineProperty(It,Bs,{value:[]})[Bs]).push(Ze),O&&O(It),It}}return g&&(se.prototype=Object.create(g.prototype)),se.prototype.ngMetadataName=s,se.annotationCls=se,se})}function Yl(s){return function(...g){if(s){const O=s(...g);for(const F in O)this[F]=O[F]}}}function ws(s,c,g){return Nt(()=>{const O=Yl(c);function F(...Y){if(this instanceof F)return O.apply(this,Y),this;const se=new F(...Y);return Oe.annotation=se,Oe;function Oe(Ze,ut,It){const Zt=Ze.hasOwnProperty(rs)?Ze[rs]:Object.defineProperty(Ze,rs,{value:[]})[rs];for(;Zt.length<=It;)Zt.push(null);return(Zt[It]=Zt[It]||[]).push(se),Ze}}return g&&(F.prototype=Object.create(g.prototype)),F.prototype.ngMetadataName=s,F.annotationCls=F,F})}function qs(s,c,g,O){return Nt(()=>{const F=Yl(c);function Y(...se){if(this instanceof Y)return F.apply(this,se),this;const Oe=new Y(...se);return function Ze(ut,It){const Zt=ut.constructor,pi=Zt.hasOwnProperty(Bo)?Zt[Bo]:Object.defineProperty(Zt,Bo,{value:{}})[Bo];pi[It]=pi.hasOwnProperty(It)&&pi[It]||[],pi[It].unshift(Oe),O&&O(ut,It,...se)}}return g&&(Y.prototype=Object.create(g.prototype)),Y.prototype.ngMetadataName=s,Y.annotationCls=Y,Y})}const Bd=ws("Attribute",s=>({attributeName:s,__NG_ELEMENT_ID__:()=>bc(s)}));class fa{constructor(c,g){this._desc=c,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof g?this.__NG_ELEMENT_ID__=g:void 0!==g&&(this.\u0275prov=Ye({token:this,providedIn:g.providedIn||"root",factory:g.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}new fa("AnalyzeForEntryComponents");class Ie{}const ee=qs("ContentChildren",(s,c={})=>({selector:s,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:true,...c}),Ie),De=qs("ContentChild",(s,c={})=>({selector:s,first:!0,isViewQuery:!1,descendants:!0,...c}),Ie),tt=qs("ViewChildren",(s,c={})=>({selector:s,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:true,...c}),Ie),lt=qs("ViewChild",(s,c)=>({selector:s,first:!0,isViewQuery:!0,descendants:!0,...c}),Ie);var yt,Yt,yi;function Ii(s){const c=bt.ng;if(c&&c.\u0275compilerFacade)return c.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}!function(s){s[s.Directive=0]="Directive",s[s.Component=1]="Component",s[s.Injectable=2]="Injectable",s[s.Pipe=3]="Pipe",s[s.NgModule=4]="NgModule"}(yt||(yt={})),function(s){s[s.Directive=0]="Directive",s[s.Pipe=1]="Pipe",s[s.NgModule=2]="NgModule"}(Yt||(Yt={})),function(s){s[s.Emulated=0]="Emulated",s[s.None=2]="None",s[s.ShadowDom=3]="ShadowDom"}(yi||(yi={}));const zi=Function;function dn(s){return"function"==typeof s}function Fn(s,c){void 0===c&&(c=s);for(let g=0;g<s.length;g++){let O=s[g];Array.isArray(O)?(c===s&&(c=s.slice(0,g)),Fn(O,c)):c!==s&&c.push(O)}return c}function Ur(s,c){s.forEach(g=>Array.isArray(g)?Ur(g,c):c(g))}function os(s,c,g){c>=s.length?s.push(g):s.splice(c,0,g)}function mo(s,c){return c>=s.length-1?s.pop():s.splice(c,1)[0]}function Ko(s,c){const g=[];for(let O=0;O<s;O++)g.push(c);return g}function Mo(s,c,g){let O=cr(s,c);return O>=0?s[1|O]=g:(O=~O,function hl(s,c,g,O){let F=s.length;if(F==c)s.push(g,O);else if(1===F)s.push(O,s[0]),s[0]=g;else{for(F--,s.push(s[F-1],s[F]);F>c;){const Y=F-2;s[F]=s[Y],F--}s[c]=g,s[c+1]=O}}(s,O,c,g)),O}function Nc(s,c){const g=cr(s,c);if(g>=0)return s[1|g]}function cr(s,c){return R1(s,c,1)}function R1(s,c,g){let O=0,F=s.length>>g;for(;F!==O;){const Y=O+(F-O>>1),se=s[Y<<g];if(c===se)return Y<<g;se>c?F=Y:O=Y+1}return~(F<<g)}const $2=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,eh=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,zc=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,Kp=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class xu{constructor(c){this._reflect=c||bt.Reflect}factory(c){return(...g)=>new c(...g)}_zipTypesAndAnnotations(c,g){let O;O=Ko(typeof c>"u"?g.length:c.length);for(let F=0;F<O.length;F++)typeof c>"u"?O[F]=[]:c[F]&&c[F]!=Object?O[F]=[c[F]]:O[F]=[],g&&null!=g[F]&&(O[F]=O[F].concat(g[F]));return O}_ownParameters(c,g){if(function yu(s){return $2.test(s)||Kp.test(s)||eh.test(s)&&!zc.test(s)}(c.toString()))return null;if(c.parameters&&c.parameters!==g.parameters)return c.parameters;const F=c.ctorParameters;if(F&&F!==g.ctorParameters){const Oe="function"==typeof F?F():F,Ze=Oe.map(It=>It&&It.type),ut=Oe.map(It=>It&&Cu(It.decorators));return this._zipTypesAndAnnotations(Ze,ut)}const Y=c.hasOwnProperty(rs)&&c[rs],se=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",c);return se||Y?this._zipTypesAndAnnotations(se,Y):Ko(c.length)}parameters(c){if(!dn(c))return[];const g=Nd(c);let O=this._ownParameters(c,g);return!O&&g!==Object&&(O=this.parameters(g)),O||[]}_ownAnnotations(c,g){if(c.annotations&&c.annotations!==g.annotations){let O=c.annotations;return"function"==typeof O&&O.annotations&&(O=O.annotations),O}return c.decorators&&c.decorators!==g.decorators?Cu(c.decorators):c.hasOwnProperty(Bs)?c[Bs]:null}annotations(c){if(!dn(c))return[];const g=Nd(c),O=this._ownAnnotations(c,g)||[];return(g!==Object?this.annotations(g):[]).concat(O)}_ownPropMetadata(c,g){if(c.propMetadata&&c.propMetadata!==g.propMetadata){let O=c.propMetadata;return"function"==typeof O&&O.propMetadata&&(O=O.propMetadata),O}if(c.propDecorators&&c.propDecorators!==g.propDecorators){const O=c.propDecorators,F={};return Object.keys(O).forEach(Y=>{F[Y]=Cu(O[Y])}),F}return c.hasOwnProperty(Bo)?c[Bo]:null}propMetadata(c){if(!dn(c))return{};const g=Nd(c),O={};if(g!==Object){const Y=this.propMetadata(g);Object.keys(Y).forEach(se=>{O[se]=Y[se]})}const F=this._ownPropMetadata(c,g);return F&&Object.keys(F).forEach(Y=>{const se=[];O.hasOwnProperty(Y)&&se.push(...O[Y]),se.push(...F[Y]),O[Y]=se}),O}ownPropMetadata(c){return dn(c)&&this._ownPropMetadata(c,Nd(c))||{}}hasLifecycleHook(c,g){return c instanceof zi&&g in c.prototype}}function Cu(s){return s?s.map(c=>new(0,c.type.annotationCls)(...c.args?c.args:[])):[]}function Nd(s){const c=s.prototype?Object.getPrototypeOf(s.prototype):null;return(c?c.constructor:null)||Object}const Ql=Ce(ws("Inject",s=>({token:s})),-1),B1=Ce(ws("Optional"),8),ql=Ce(ws("Self"),2),yc=Ce(ws("SkipSelf"),4),dm=Ce(ws("Host"),1);let Hc=null;function Uc(){return Hc=Hc||new xu}function ul(s){return Eu(Uc().parameters(s))}function Eu(s){return s.map(c=>function hm(s){const c={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(s)&&s.length>0)for(let g=0;g<s.length;g++){const O=s[g];if(void 0===O)continue;const F=Object.getPrototypeOf(O);if(O instanceof B1||"Optional"===F.ngMetadataName)c.optional=!0;else if(O instanceof yc||"SkipSelf"===F.ngMetadataName)c.skipSelf=!0;else if(O instanceof ql||"Self"===F.ngMetadataName)c.self=!0;else if(O instanceof dm||"Host"===F.ngMetadataName)c.host=!0;else if(O instanceof Ql)c.token=O.token;else if(O instanceof Bd){if(void 0===O.attributeName)throw new Z(204,!1);c.attribute=O.attributeName}else c.token=O}else void 0===s||Array.isArray(s)&&0===s.length?c.token=null:c.token=s;return c}(c))}let xc=new Map;const Fd=new Set;function um(s){return!!(s.templateUrl&&!s.hasOwnProperty("template")||s.styleUrls&&s.styleUrls.length)}const Vc=new Map;let F1=!0;function Wc(s,c){(function th(s,c,g){if(c&&c!==g&&F1)throw new Error(`Duplicate module registered for ${s} - ${P(c)} vs ${P(c.name)}`)})(c,Vc.get(c)||null,s),Vc.set(c,s)}var H1;!function(s){s[s.Important=1]="Important",s[s.DashCase=2]="DashCase"}(H1||(H1={}));const Qp=/^>|^->|<!--|-->|--!>|<!-$/g,qp=/(<|>)/;function vm(s){return s.replace(Qp,c=>c.replace(qp,"\u200b$1\u200b"))}const U1=new Map;let oh=0;const W1="__ngContext__";function po(s,c){qn(c)?(s[W1]=c[20],function V1(s){U1.set(s[20],s)}(c)):s[W1]=c}let sh;function K1(s,c){return sh(s,c)}function bs(s){const c=s[3];return Ra(c)?c[3]:c}function lh(s){return ed(s[13])}function dh(s){return ed(s[4])}function ed(s){for(;null!==s&&!Ra(s);)s=s[4];return s}function Yc(s,c,g,O,F){if(null!=O){let Y,se=!1;Ra(O)?Y=O:qn(O)&&(se=!0,O=O[0]);const Oe=ca(O);0===s&&null!==g?null==F?fh(c,g,Oe):Zc(c,g,Oe,F||null,!0):1===s&&null!==g?Zc(c,g,Oe,F||null,!0):2===s?bh(c,Oe,se):3===s&&c.destroyNode(Oe),null!=Y&&function Wu(s,c,g,O,F){const Y=g[7],se=ca(g);Y!==se&&Yc(c,s,O,Y,F);for(let Oe=10;Oe<g.length;Oe++){const Ze=g[Oe];nd(Ze[1],Ze,s,c,O,Y)}}(c,s,Y,g,F)}}function uh(s,c){return s.createText(c)}function bl(s,c,g){s.setValue(c,g)}function xm(s,c){return s.createComment(vm(c))}function Y1(s,c,g){return s.createElement(c,g)}function Mm(s,c,g,O){const F=10+O,Y=g.length;O>0&&(g[F-1][4]=c),O<Y-10?(c[4]=g[F],os(g,10+O,c)):(g.push(c),c[4]=null),c[3]=g;const se=c[17];null!==se&&g!==se&&function Ud(s,c){const g=s[9],F=c[3][3][16];c[16]!==F&&(s[2]=!0),null===g?s[9]=[c]:g.push(c)}(se,c);const Oe=c[19];null!==Oe&&Oe.insertView(s),c[2]|=64}function mh(s,c){const g=s[9],O=g.indexOf(c),F=c[3];512&c[2]&&(c[2]&=-513,pt(F,-1)),g.splice(O,1)}function Z1(s,c){if(s.length<=10)return;const g=10+c,O=s[g];if(O){const F=O[17];null!==F&&F!==s&&mh(F,O),c>0&&(s[g-1][4]=O[4]);const Y=mo(s,10+c);!function Cm(s,c){nd(s,c,c[11],2,null,null),c[0]=null,c[6]=null}(O[1],O);const se=Y[19];null!==se&&se.detachView(Y[1]),O[3]=null,O[4]=null,O[2]&=-65}return O}function Ru(s,c){if(!(128&c[2])){const g=c[11];g.destroyNode&&nd(s,c,g,3,null,null),function td(s){let c=s[13];if(!c)return ph(s[1],s);for(;c;){let g=null;if(qn(c))g=c[13];else{const O=c[10];O&&(g=O)}if(!g){for(;c&&!c[4]&&c!==s;)qn(c)&&ph(c[1],c),c=c[3];null===c&&(c=s),qn(c)&&ph(c[1],c),g=c&&c[4]}c=g}}(c)}}function ph(s,c){if(!(128&c[2])){c[2]&=-65,c[2]|=128,function Vd(s,c){let g;if(null!=s&&null!=(g=s.destroyHooks))for(let O=0;O<g.length;O+=2){const F=c[g[O]];if(!(F instanceof Ri)){const Y=g[O+1];if(Array.isArray(Y))for(let se=0;se<Y.length;se+=2){const Oe=F[Y[se]],Ze=Y[se+1];ja(4,Oe,Ze);try{Ze.call(Oe)}finally{ja(5,Oe,Ze)}}else{ja(4,F,Y);try{Y.call(F)}finally{ja(5,F,Y)}}}}}(s,c),function wm(s,c){const g=s.cleanup,O=c[7];let F=-1;if(null!==g)for(let Y=0;Y<g.length-1;Y+=2)if("string"==typeof g[Y]){const se=g[Y+3];se>=0?O[F=se]():O[F=-se].unsubscribe(),Y+=2}else{const se=O[F=g[Y+1]];g[Y].call(se)}if(null!==O){for(let Y=F+1;Y<O.length;Y++){(0,O[Y])()}c[7]=null}}(s,c),1===c[1].type&&c[11].destroy();const g=c[17];if(null!==g&&Ra(c[3])){g!==c[3]&&mh(g,c);const O=c[19];null!==O&&O.detachView(s)}!function Jp(s){U1.delete(s[20])}(c)}}function Bu(s,c,g){return Nu(s,c.parent,g)}function Nu(s,c,g){let O=c;for(;null!==O&&40&O.type;)O=(c=O).parent;if(null===O)return g[0];{const{componentOffset:F}=O;if(F>-1){const{encapsulation:Y}=s.data[O.directiveStart+F];if(Y===ri.None||Y===ri.Emulated)return null}return Qe(O,g)}}function Zc(s,c,g,O,F){s.insertBefore(c,g,O,F)}function fh(s,c,g){s.appendChild(c,g)}function Fu(s,c,g,O,F){null!==O?Zc(s,c,g,O,F):fh(s,c,g)}function j1(s,c){return s.parentNode(c)}function Hu(s,c,g){return _h(s,c,g)}function Uu(s,c,g){return 40&s.type?Qe(s,g):null}let gh,X1,J1,Xs,_h=Uu;function vh(s,c){_h=s,gh=c}function Q1(s,c,g,O){const F=Bu(s,O,c),Y=c[11],Oe=Hu(O.parent||c[6],O,c);if(null!=F)if(Array.isArray(g))for(let Ze=0;Ze<g.length;Ze++)Fu(Y,F,g[Ze],Oe,!1);else Fu(Y,F,g,Oe,!1);void 0!==gh&&gh(Y,O,c,g,F)}function id(s,c){if(null!==c){const g=c.type;if(3&g)return Qe(c,s);if(4&g)return q1(-1,s[c.index]);if(8&g){const O=c.child;if(null!==O)return id(s,O);{const F=s[c.index];return Ra(F)?q1(-1,F):ca(F)}}if(32&g)return K1(c,s)()||ca(s[c.index]);{const O=Vu(s,c);if(null!==O){if(Array.isArray(O))return O[0];return id(bs(s[16]),O)}return id(s,c.next)}}return null}function Vu(s,c){if(null!==c){const O=s[16][6],F=c.projection;return O.projection[F]}return null}function q1(s,c){const g=10+s+1;if(g<c.length){const O=c[g],F=O[1].firstChild;if(null!==F)return id(O,F)}return c[7]}function bh(s,c,g){const O=j1(s,c);O&&function zu(s,c,g,O){s.removeChild(c,g,O)}(s,O,c,g)}function yh(s,c,g,O,F,Y,se){for(;null!=g;){const Oe=O[g.index],Ze=g.type;if(se&&0===c&&(Oe&&po(ca(Oe),O),g.flags|=2),32!=(32&g.flags))if(8&Ze)yh(s,c,g.child,O,F,Y,!1),Yc(c,s,F,Oe,Y);else if(32&Ze){const ut=K1(g,O);let It;for(;It=ut();)Yc(c,s,F,It,Y);Yc(c,s,F,Oe,Y)}else 16&Ze?xh(s,c,O,g,F,Y):Yc(c,s,F,Oe,Y);g=se?g.projectionNext:g.next}}function nd(s,c,g,O,F,Y){yh(g,O,s.firstChild,c,F,Y,!1)}function xh(s,c,g,O,F,Y){const se=g[16],Ze=se[6].projection[O.projection];if(Array.isArray(Ze))for(let ut=0;ut<Ze.length;ut++){Yc(c,s,F,Ze[ut],Y)}else{yh(s,c,Ze,se[3],F,Y,!0)}}function Ch(s,c,g){""===g?s.removeAttribute(c,"class"):s.setAttribute(c,"class",g)}function Ku(s,c,g){const{mergedAttrs:O,classes:F,styles:Y}=g;null!==O&&za(s,c,O),null!==F&&Ch(s,c,F),null!==Y&&function Im(s,c,g){s.setAttribute(c,"style",g)}(s,c,Y)}function Eh(){if(void 0===X1&&(X1=null,bt.trustedTypes))try{X1=bt.trustedTypes.createPolicy("angular",{createHTML:s=>s,createScript:s=>s,createScriptURL:s=>s})}catch{}return X1}function Fs(s){return Eh()?.createHTML(s)||s}function yl(s,c,g){const O=Fi(),F=ht(),Y=Qe(F,O);if(2===F.type&&"iframe"===c.toLowerCase()){const se=Y;se.src="",se.srcdoc=Fs(""),bh(O[11],se);throw new Z(-910,!1)}return s}function Om(s){J1=s}function Yu(){return void 0!==J1?J1:typeof document<"u"?document:void 0}function wh(){if(void 0===Xs&&(Xs=null,bt.trustedTypes))try{Xs=bt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:s=>s,createScript:s=>s,createScriptURL:s=>s})}catch{}return Xs}function $1(s){return wh()?.createHTML(s)||s}function Zu(s){return wh()?.createScript(s)||s}function Dh(s){return wh()?.createScriptURL(s)||s}class xl{constructor(c){this.changingThisBreaksApplicationSecurity=c}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${V})`}}class ef extends xl{getTypeName(){return"HTML"}}class tf extends xl{getTypeName(){return"Style"}}class ju extends xl{getTypeName(){return"Script"}}class Sm extends xl{getTypeName(){return"URL"}}class km extends xl{getTypeName(){return"ResourceURL"}}function Js(s){return s instanceof xl?s.changingThisBreaksApplicationSecurity:s}function Cl(s,c){const g=function El(s){return s instanceof xl&&s.getTypeName()||null}(s);if(null!=g&&g!==c){if("ResourceURL"===g&&"URL"===c)return!0;throw new Error(`Required a safe ${c}, got a ${g} (see ${V})`)}return g===c}function Th(s){return new ef(s)}function Pm(s){return new tf(s)}function Rm(s){return new ju(s)}function Qu(s){return new Sm(s)}function qu(s){return new km(s)}function e2(s){const c=new Wd(s);return function Bm(){try{return!!(new window.DOMParser).parseFromString(Fs(""),"text/html")}catch{return!1}}()?new Xu(c):c}class Xu{constructor(c){this.inertDocumentHelper=c}getInertBodyElement(c){c="<body><remove></remove>"+c;try{const g=(new window.DOMParser).parseFromString(Fs(c),"text/html").body;return null===g?this.inertDocumentHelper.getInertBodyElement(c):(g.removeChild(g.firstChild),g)}catch{return null}}}class Wd{constructor(c){if(this.defaultDoc=c,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const g=this.inertDocument.createElement("html");this.inertDocument.appendChild(g);const O=this.inertDocument.createElement("body");g.appendChild(O)}}getInertBodyElement(c){const g=this.inertDocument.createElement("template");if("content"in g)return g.innerHTML=Fs(c),g;const O=this.inertDocument.createElement("body");return O.innerHTML=Fs(c),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(O),O}stripCustomNsAttrs(c){const g=c.attributes;for(let F=g.length-1;0<F;F--){const se=g.item(F).name;("xmlns:ns1"===se||0===se.indexOf("ns1:"))&&c.removeAttribute(se)}let O=c.firstChild;for(;O;)O.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(O),O=O.nextSibling}}const Nm=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;function t2(s){return(s=String(s)).match(Nm)?s:"unsafe:"+s}function $s(s){const c={};for(const g of s.split(","))c[g]=!0;return c}function ad(...s){const c={};for(const g of s)for(const O in g)g.hasOwnProperty(O)&&(c[O]=!0);return c}const jc=$s("area,br,col,hr,img,wbr"),Ju=$s("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Kd=$s("rp,rt"),Ah=ad(Kd,Ju),Fm=ad(Ju,$s("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")),i2=ad(Kd,$s("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=ad(jc,Fm,i2,Ah),n2=$s("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),zm=$s("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"),$u=$s("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"),Gd=ad(n2,zm,$u),e0=$s("script,style,template");class t0{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(c){let g=c.firstChild,O=!0;for(;g;)if(g.nodeType===Node.ELEMENT_NODE?O=this.startElement(g):g.nodeType===Node.TEXT_NODE?this.chars(g.nodeValue):this.sanitizedSomething=!0,O&&g.firstChild)g=g.firstChild;else for(;g;){g.nodeType===Node.ELEMENT_NODE&&this.endElement(g);let F=this.checkClobberedElement(g,g.nextSibling);if(F){g=F;break}g=this.checkClobberedElement(g,g.parentNode)}return this.buf.join("")}startElement(c){const g=c.nodeName.toLowerCase();if(!Qc.hasOwnProperty(g))return this.sanitizedSomething=!0,!e0.hasOwnProperty(g);this.buf.push("<"),this.buf.push(g);const O=c.attributes;for(let F=0;F<O.length;F++){const Y=O.item(F),se=Y.name,Oe=se.toLowerCase();if(!Gd.hasOwnProperty(Oe)){this.sanitizedSomething=!0;continue}let Ze=Y.value;n2[Oe]&&(Ze=t2(Ze)),this.buf.push(" ",se,'="',Ih(Ze),'"')}return this.buf.push(">"),!0}endElement(c){const g=c.nodeName.toLowerCase();Qc.hasOwnProperty(g)&&!jc.hasOwnProperty(g)&&(this.buf.push("</"),this.buf.push(g),this.buf.push(">"))}chars(c){this.buf.push(Ih(c))}checkClobberedElement(c,g){if(g&&(c.compareDocumentPosition(g)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${c.outerHTML}`);return g}}const Yd=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Hm=/([^\#-~ |!])/g;function Ih(s){return s.replace(/&/g,"&amp;").replace(Yd,function(c){return"&#"+(1024*(c.charCodeAt(0)-55296)+(c.charCodeAt(1)-56320)+65536)+";"}).replace(Hm,function(c){return"&#"+c.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let a2;function i0(s,c){let g=null;try{a2=a2||e2(s);let O=c?String(c):"";g=a2.getInertBodyElement(O);let F=5,Y=O;do{if(0===F)throw new Error("Failed to sanitize html because the input is unstable");F--,O=Y,Y=g.innerHTML,g=a2.getInertBodyElement(O)}while(O!==Y);return Fs((new t0).sanitizeChildren(n0(g)||g))}finally{if(g){const O=n0(g)||g;for(;O.firstChild;)O.removeChild(O.firstChild)}}}function n0(s){return"content"in s&&function kr(s){return s.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===s.nodeName}(s)?s.content:null}var ec;function Lh(s){const c=Cc();return c?$1(c.sanitize(ec.HTML,s)||""):Cl(s,"HTML")?$1(Js(s)):i0(Yu(),te(s))}function r2(s){const c=Cc();return c?c.sanitize(ec.STYLE,s)||"":Cl(s,"Style")?Js(s):te(s)}function a0(s){const c=Cc();return c?c.sanitize(ec.URL,s)||"":Cl(s,"URL")?Js(s):t2(te(s))}function Oh(s){const c=Cc();if(c)return Dh(c.sanitize(ec.RESOURCE_URL,s)||"");if(Cl(s,"ResourceURL"))return Dh(Js(s));throw new Z(904,!1)}function o2(s){const c=Cc();if(c)return Zu(c.sanitize(ec.SCRIPT,s)||"");if(Cl(s,"Script"))return Zu(Js(s));throw new Z(905,!1)}function r0(s){return Fs(s[0])}function Ha(s){return function Mh(s){return Eh()?.createScriptURL(s)||s}(s[0])}function kh(s,c,g){return function Sh(s,c){return"src"===c&&("embed"===s||"frame"===s||"iframe"===s||"media"===s||"script"===s)||"href"===c&&("base"===s||"link"===s)?Oh:a0}(c,g)(s)}function Cc(){const s=Fi();return s&&s[12]}!function(s){s[s.NONE=0]="NONE",s[s.HTML=1]="HTML",s[s.STYLE=2]="STYLE",s[s.SCRIPT=3]="SCRIPT",s[s.URL=4]="URL",s[s.RESOURCE_URL=5]="RESOURCE_URL"}(ec||(ec={}));const qa=new fa("ENVIRONMENT_INITIALIZER"),rd=new fa("INJECTOR",-1),jd=new fa("INJECTOR_DEF_TYPES");class Ph{get(c,g=gt){if(g===gt){const O=new Error(`NullInjectorError: No provider for ${P(c)}!`);throw O.name="NullInjectorError",O}return g}}function od(s){return{\u0275providers:s}}function Rh(...s){return{\u0275providers:o0(!0,s),\u0275fromNgModule:!0}}function o0(s,...c){const g=[],O=new Set;let F;return Ur(c,Y=>{const se=Y;sd(se,g,[],O)&&(F||(F=[]),F.push(se))}),void 0!==F&&Bh(F,g),g}function Bh(s,c){for(let g=0;g<s.length;g++){const{ngModule:O,providers:F}=s[g];Ec(F,Y=>{c.push(Y)})}}function sd(s,c,g,O){if(!(s=k(s)))return!1;let F=null,Y=He(s);const se=!Y&&Si(s);if(Y||se){if(se&&!se.standalone)return!1;F=s}else{const Ze=s.ngModule;if(Y=He(Ze),!Y)return!1;F=Ze}const Oe=O.has(F);if(se){if(Oe)return!1;if(O.add(F),se.dependencies){const Ze="function"==typeof se.dependencies?se.dependencies():se.dependencies;for(const ut of Ze)sd(ut,c,g,O)}}else{if(!Y)return!1;{if(null!=Y.imports&&!Oe){let ut;O.add(F);try{Ur(Y.imports,It=>{sd(It,c,g,O)&&(ut||(ut=[]),ut.push(It))})}finally{}void 0!==ut&&Bh(ut,c)}if(!Oe){const ut=Da(F)||(()=>new F);c.push({provide:F,useFactory:ut,deps:Lt},{provide:jd,useValue:F,multi:!0},{provide:qa,useValue:()=>Bt(F),multi:!0})}const Ze=Y.providers;if(null!=Ze&&!Oe){Ec(Ze,It=>{c.push(It)})}}}return F!==s&&void 0!==s.providers}function Ec(s,c){for(let g of s)z(g)&&(g=g.\u0275providers),Array.isArray(g)?Ec(g,c):c(g)}const Um=D({provide:String,useValue:D});function Qd(s){return null!==s&&"object"==typeof s&&Um in s}function Fh(s){return!(!s||!s.useExisting)}function s2(s){return!(!s||!s.useFactory)}function cd(s){return"function"==typeof s}const la=new fa("Set Injector scope."),qd={},Ml={};let c2;function qc(){return void 0===c2&&(c2=new Ph),c2}class tc{}class Xc extends tc{constructor(c,g,O,F){super(),this.parent=g,this.source=O,this.scopes=F,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,ld(c,se=>this.processProvider(se)),this.records.set(rd,Jc(void 0,this)),F.has("environment")&&this.records.set(tc,Jc(void 0,this));const Y=this.records.get(la);null!=Y&&"string"==typeof Y.value&&this.scopes.add(Y.value),this.injectorDefTypes=new Set(this.get(jd.multi,Lt,ie.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const c of this._ngOnDestroyHooks)c.ngOnDestroy();for(const c of this._onDestroyHooks)c()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(c){this._onDestroyHooks.push(c)}runInContext(c){this.assertNotDestroyed();const g=Zi(this),O=ze(void 0);try{return c()}finally{Zi(g),ze(O)}}get(c,g=gt,O=ie.Default){this.assertNotDestroyed(),O=K(O);const F=Zi(this),Y=ze(void 0);try{if(!(O&ie.SkipSelf)){let Oe=this.records.get(c);if(void 0===Oe){const Ze=function xs(s){return"function"==typeof s||"object"==typeof s&&s instanceof fa}(c)&&be(c);Oe=Ze&&this.injectableDefInScope(Ze)?Jc(l2(c),qd):null,this.records.set(c,Oe)}if(null!=Oe)return this.hydrate(c,Oe)}const se=O&ie.Self?qc():this.parent;return g=O&ie.Optional&&g===gt?null:g,se.get(c,g)}catch(se){if("NullInjectorError"===se.name){if((se[Re]=se[Re]||[]).unshift(P(c)),F)throw se;return Mt(se,c,"R3InjectorError",this.source)}throw se}finally{ze(Y),Zi(F)}}resolveInjectorInitializers(){const c=Zi(this),g=ze(void 0);try{const O=this.get(qa.multi,Lt,ie.Self);for(const F of O)F()}finally{Zi(c),ze(g)}}toString(){const c=[],g=this.records;for(const O of g.keys())c.push(P(O));return`R3Injector[${c.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Z(205,!1)}processProvider(c){let g=cd(c=k(c))?c:k(c&&c.provide);const O=function wl(s){if(Qd(s))return Jc(void 0,s.useValue);return Jc(d2(s),qd)}(c);if(cd(c)||!0!==c.multi){this.records.get(g)}else{let F=this.records.get(g);F||(F=Jc(void 0,qd,!0),F.factory=()=>J(F.multi),this.records.set(g,F)),g=c,F.multi.push(c)}this.records.set(g,O)}hydrate(c,g){return g.value===qd&&(g.value=Ml,g.value=g.factory()),"object"==typeof g.value&&g.value&&function Go(s){return null!==s&&"object"==typeof s&&"function"==typeof s.ngOnDestroy}(g.value)&&this._ngOnDestroyHooks.add(g.value),g.value}injectableDefInScope(c){if(!c.providedIn)return!1;const g=k(c.providedIn);return"string"==typeof g?"any"===g||this.scopes.has(g):this.injectorDefTypes.has(g)}}function l2(s){const c=be(s),g=null!==c?c.factory:Da(s);if(null!==g)return g;if(s instanceof fa)throw new Z(204,!1);if(s instanceof Function)return function $r(s){const c=s.length;if(c>0){Ko(c,"?");throw new Z(204,!1)}const g=function ye(s){const c=s&&(s[Ee]||s[de]);if(c){const g=function Te(s){if(s.hasOwnProperty("name"))return s.name;const c=(""+s).match(/^function\s*([^\s(]+)/);return null===c?"":c[1]}(s);return console.warn(`DEPRECATED: DI is instantiating a token "${g}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${g}" class.`),c}return null}(s);return null!==g?()=>g.factory(s):()=>new s}(s);throw new Z(204,!1)}function d2(s,c,g){let O;if(cd(s)){const F=k(s);return Da(F)||l2(F)}if(Qd(s))O=()=>k(s.useValue);else if(s2(s))O=()=>s.useFactory(...J(s.deps||[]));else if(Fh(s))O=()=>Bt(k(s.useExisting));else{const F=k(s&&(s.useClass||s.provide));if(!function ys(s){return!!s.deps}(s))return Da(F)||l2(F);O=()=>new F(...J(s.deps))}return O}function Jc(s,c,g=!1){return{factory:s,value:c,multi:g?[]:void 0}}function ld(s,c){for(const g of s)Array.isArray(g)?ld(g,c):g&&z(g)?ld(g.\u0275providers,c):c(g)}class zs{}class Xd{}const Hh="ngComponent";class c0{resolveComponentFactory(c){throw function s0(s){const c=Error(`No component factory found for ${P(s)}. Did you add it to @NgModule.entryComponents?`);return c[Hh]=s,c}(c)}}class dd{}function hd(s,c){return new Dl(Qe(s,c))}dd.NULL=new c0;class Dl{constructor(c){this.nativeElement=c}}function h2(s){return s instanceof Dl?s.nativeElement:s}Dl.__NG_ELEMENT_ID__=function Vm(){return hd(La(),Fi())};class u2{}class Uh{}Uh.__NG_ELEMENT_ID__=()=>function l0(){const s=Fi(),g=wn(La().index,s);return(qn(g)?g:s)[11]}();class m2{}m2.\u0275prov=Ye({token:m2,providedIn:"root",factory:()=>null});class d0{constructor(c){this.full=c,this.major=c.split(".")[0],this.minor=c.split(".")[1],this.patch=c.split(".").slice(2).join(".")}}const Vh=new d0("15.0.2"),p2={},Jd="ngOriginalError";function Wh(s){return s[Jd]}class Mc{constructor(){this._console=console}handleError(c){const g=this._findOriginalError(c);this._console.error("ERROR",c),g&&this._console.error("ORIGINAL ERROR",g)}_findOriginalError(c){let g=c&&Wh(c);for(;g&&Wh(g);)g=Wh(g);return g||null}}function Kh(s){return s.ownerDocument.defaultView}function $d(s){return s.ownerDocument}function af(s){return s.ownerDocument.body}function ic(s){return s instanceof Function?s():s}function _0(s,c,g){let O=s.length;for(;;){const F=s.indexOf(c,g);if(-1===F)return F;if(0===F||s.charCodeAt(F-1)<=32){const Y=c.length;if(F+Y===O||s.charCodeAt(F+Y)<=32)return F}g=F+1}}const wc="ng-template";function t1(s,c,g){let O=0;for(;O<s.length;){let F=s[O++];if(g&&"class"===F){if(F=s[O],-1!==_0(F.toLowerCase(),c,0))return!0}else if(1===F){for(;O<s.length&&"string"==typeof(F=s[O++]);)if(F.toLowerCase()===c)return!0;return!1}}return!1}function $c(s){return 4===s.type&&s.value!==wc}function Ym(s,c,g){return c===(4!==s.type||g?s.value:wc)}function Zm(s,c,g){let O=4;const F=s.attrs||[],Y=function y0(s){for(let c=0;c<s.length;c++){if(ba(s[c]))return c}return s.length}(F);let se=!1;for(let Oe=0;Oe<c.length;Oe++){const Ze=c[Oe];if("number"!=typeof Ze){if(!se)if(4&O){if(O=2|1&O,""!==Ze&&!Ym(s,Ze,g)||""===Ze&&1===c.length){if(Ds(O))return!1;se=!0}}else{const ut=8&O?Ze:c[++Oe];if(8&O&&null!==s.attrs){if(!t1(s.attrs,ut,g)){if(Ds(O))return!1;se=!0}continue}const Zt=v0(8&O?"class":Ze,F,$c(s),g);if(-1===Zt){if(Ds(O))return!1;se=!0;continue}if(""!==ut){let pi;pi=Zt>Y?"":F[Zt+1].toLowerCase();const Mi=8&O?pi:null;if(Mi&&-1!==_0(Mi,ut,0)||2&O&&ut!==pi){if(Ds(O))return!1;se=!0}}}}else{if(!se&&!Ds(O)&&!Ds(Ze))return!1;if(se&&Ds(Ze))continue;se=!1,O=Ze|1&O}}return Ds(O)||se}function Ds(s){return 0==(1&s)}function v0(s,c,g,O){if(null===c)return-1;let F=0;if(O||!g){let Y=!1;for(;F<c.length;){const se=c[F];if(se===s)return F;if(3===se||6===se)Y=!0;else{if(1===se||2===se){let Oe=c[++F];for(;"string"==typeof Oe;)Oe=c[++F];continue}if(4===se)break;if(0===se){F+=4;continue}}F+=Y?1:2}return-1}return function x0(s,c){let g=s.indexOf(4);if(g>-1)for(g++;g<s.length;){const O=s[g];if("number"==typeof O)return-1;if(O===c)return g;g++}return-1}(c,s)}function Gh(s,c,g=!1){for(let O=0;O<c.length;O++)if(Zm(s,c[O],g))return!0;return!1}function C0(s,c){e:for(let g=0;g<c.length;g++){const O=c[g];if(s.length===O.length){for(let F=0;F<s.length;F++)if(s[F]!==O[F])continue e;return!0}}return!1}function Yh(s,c){return s?":not("+c.trim()+")":c}function jm(s){let c=s[0],g=1,O=2,F="",Y=!1;for(;g<s.length;){let se=s[g];if("string"==typeof se)if(2&O){const Oe=s[++g];F+="["+se+(Oe.length>0?'="'+Oe+'"':"")+"]"}else 8&O?F+="."+se:4&O&&(F+=" "+se);else""!==F&&!Ds(se)&&(c+=Yh(Y,F),F=""),O=se,Y=Y||!Ds(O);g++}return""!==F&&(c+=Yh(Y,F)),c}const Hn={};function _2(s){w0(zn(),Fi(),Fe()+s,!1)}function w0(s,c,g,O){if(!O)if(3==(3&c[2])){const Y=s.preOrderCheckHooks;null!==Y&&Ht(c,Y,g)}else{const Y=s.preOrderHooks;null!==Y&&Xe(c,Y,0,g)}ce(g)}const g2={\u0275\u0275defineInjectable:Ye,\u0275\u0275defineInjector:Ve,\u0275\u0275inject:Bt,\u0275\u0275invalidFactoryDep:Je,resolveForwardRef:k};function i1(s,c){let g=null,O=null;s.hasOwnProperty(Ee)||Object.defineProperty(s,Ee,{get:()=>(null===g&&(g=Ii().compileInjectable(g2,`ng:///${s.name}/\u0275prov.js`,function ct(s,c){const g=c||{providedIn:null},O={name:s.name,type:s,typeArgumentCount:0,providedIn:g.providedIn};return(w(g)||H(g))&&void 0!==g.deps&&(O.deps=Eu(g.deps)),w(g)?O.useClass=g.useClass:function x(s){return W in s}(g)?O.useValue=g.useValue:H(g)?O.useFactory=g.useFactory:function pe(s){return void 0!==s.useExisting}(g)&&(O.useExisting=g.useExisting),O}(s,c))),g)}),s.hasOwnProperty(_t)||Object.defineProperty(s,_t,{get:()=>{if(null===O){const F=Ii();O=F.compileFactory(g2,`ng:///${s.name}/\u0275fac.js`,{name:s.name,type:s,typeArgumentCount:0,deps:ul(s),target:F.FactoryTarget.Injectable})}return O},configurable:!0})}const W=D({provide:String,useValue:D});function w(s){return void 0!==s.useClass}function H(s){return void 0!==s.useFactory}const Ut=uo("Injectable",void 0,void 0,void 0,(s,c)=>i1(s,c));function ti(s,c=null,g=null,O){const F=hi(s,c,g,O);return F.resolveInjectorInitializers(),F}function hi(s,c=null,g=null,O,F=new Set){const Y=[g||Lt,Rh(s)];return O=O||("object"==typeof s?void 0:P(s)),new Xc(Y,c||qc(),O||null,F)}class wi{static create(c,g){if(Array.isArray(c))return ti({name:""},g,c,"");{const O=c.name??"";return ti({name:O},c.parent,c.providers,O)}}}function en(s){return s.length>1?" ("+function mn(s){const c=[];for(let g=0;g<s.length;++g){if(c.indexOf(s[g])>-1)return c.push(s[g]),c;c.push(s[g])}return c}(s.slice().reverse()).map(O=>P(O.token)).join(" -> ")+")":""}function kn(s,c,g,O){const F=[c],Y=g(F),se=O?function h0(s,c){const g=`${s} caused by: ${c instanceof Error?c.message:c}`,O=Error(g);return O[Jd]=c,O}(Y,O):Error(Y);return se.addKey=Bn,se.keys=F,se.injectors=[s],se.constructResolvingMessage=g,se[Jd]=O,se}function Bn(s,c){this.injectors.push(s),this.keys.push(c),this.message=this.constructResolvingMessage(this.keys)}function eo(s,c){const g=[];for(let O=0,F=c.length;O<F;O++){const Y=c[O];Y&&0!=Y.length?g.push(Y.map(P).join(" ")):g.push("?")}return Error("Cannot resolve all parameters for '"+P(s)+"'("+g.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+P(s)+"' is decorated with Injectable.")}function fo(s,c){return Error(`Cannot mix multi providers and regular providers, got: ${s} ${c}`)}wi.THROW_IF_NOT_FOUND=gt,wi.NULL=new Ph,wi.\u0275prov=Ye({token:wi,providedIn:"any",factory:()=>Bt(rd)}),wi.__NG_ELEMENT_ID__=-1;class cs{constructor(c,g){if(this.token=c,this.id=g,!c)throw new Z(208,!1);this.displayName=P(this.token)}static get(c){return wo.get(k(c))}static get numberOfKeys(){return wo.numberOfKeys}}const wo=new class nc{constructor(){this._allKeys=new Map}get(c){if(c instanceof cs)return c;if(this._allKeys.has(c))return this._allKeys.get(c);const g=new cs(c,cs.numberOfKeys);return this._allKeys.set(c,g),g}get numberOfKeys(){return this._allKeys.size}};class Ts{constructor(c,g,O){this.key=c,this.optional=g,this.visibility=O}static fromKey(c){return new Ts(c,!1,null)}}const ac=[];class Hs{constructor(c,g,O){this.key=c,this.resolvedFactories=g,this.multiProvider=O,this.resolvedFactory=this.resolvedFactories[0]}}class D0{constructor(c,g){this.factory=c,this.dependencies=g}}function ud(s){let c,g;if(s.useClass){const O=k(s.useClass);c=Uc().factory(O),g=Pn(O)}else s.useExisting?(c=O=>O,g=[Ts.fromKey(cs.get(s.useExisting))]):s.useFactory?(c=s.useFactory,g=function In(s,c){if(c){const g=c.map(O=>[O]);return c.map(O=>ua(s,O,g))}return Pn(s)}(s.useFactory,s.deps)):(c=()=>s.useValue,g=ac);return new D0(c,g)}function Tl(s){return new Hs(cs.get(s.provide),[ud(s)],s.multi||!1)}function T0(s){const O=function A0(s,c){for(let g=0;g<s.length;g++){const O=s[g],F=c.get(O.key.id);if(F){if(O.multiProvider!==F.multiProvider)throw fo(F,O);if(O.multiProvider)for(let Y=0;Y<O.resolvedFactories.length;Y++)F.resolvedFactories.push(O.resolvedFactories[Y]);else c.set(O.key.id,O)}else{let Y;Y=O.multiProvider?new Hs(O.key,O.resolvedFactories.slice(),O.multiProvider):O,c.set(O.key.id,Y)}}return c}(bn(s,[]).map(Tl),new Map);return Array.from(O.values())}function bn(s,c){return s.forEach(g=>{if(g instanceof zi)c.push({provide:g,useClass:g});else if(g&&"object"==typeof g&&void 0!==g.provide)c.push(g);else{if(!Array.isArray(g))throw function Ma(s){return Error(`Invalid provider - only instances of Provider and Type are allowed, got: ${s}`)}(g);bn(g,c)}}),c}function Pn(s){const c=Uc().parameters(s);if(!c)return[];if(c.some(g=>null==g))throw eo(s,c);return c.map(g=>ua(s,g,c))}function ua(s,c,g){let O=null,F=!1;if(!Array.isArray(c))return Or(c instanceof Ql?c.token:c,F,null);let Y=null;for(let se=0;se<c.length;++se){const Oe=c[se];Oe instanceof zi?O=Oe:Oe instanceof Ql?O=Oe.token:Oe instanceof B1?F=!0:Oe instanceof ql||Oe instanceof yc?Y=Oe:Oe instanceof fa&&(O=Oe)}if(O=k(O),null!=O)return Or(O,F,Y);throw eo(s,g)}function Or(s,c,g){return new Ts(cs.get(s),c,g)}const ls={};class Do{static resolve(c){return T0(c)}static resolveAndCreate(c,g){const O=Do.resolve(c);return Do.fromResolvedProviders(O,g)}static fromResolvedProviders(c,g){return new Cs(c,g)}}class Cs{constructor(c,g){this._constructionCounter=0,this._providers=c,this.parent=g||null;const O=c.length;this.keyIds=[],this.objs=[];for(let F=0;F<O;F++)this.keyIds[F]=c[F].key.id,this.objs[F]=ls}get(c,g=gt){return this._getByKey(cs.get(c),null,g)}resolveAndCreateChild(c){const g=Do.resolve(c);return this.createChildFromResolved(g)}createChildFromResolved(c){const g=new Cs(c);return g.parent=this,g}resolveAndInstantiate(c){return this.instantiateResolved(Do.resolve([c])[0])}instantiateResolved(c){return this._instantiateProvider(c)}getProviderAtIndex(c){if(c<0||c>=this._providers.length)throw function Fo(s){return Error(`Index ${s} is out-of-bounds.`)}(c);return this._providers[c]}_new(c){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw function Sn(s,c){return kn(s,c,function(g){return`Cannot instantiate cyclic dependency!${en(g)}`})}(this,c.key);return this._instantiateProvider(c)}_getMaxNumberOfObjects(){return this.objs.length}_instantiateProvider(c){if(c.multiProvider){const g=[];for(let O=0;O<c.resolvedFactories.length;++O)g[O]=this._instantiate(c,c.resolvedFactories[O]);return g}return this._instantiate(c,c.resolvedFactories[0])}_instantiate(c,g){const O=g.factory;let F,Y;try{F=g.dependencies.map(se=>this._getByReflectiveDependency(se))}catch(se){throw se.addKey&&se.addKey(this,c.key),se}try{Y=O(...F)}catch(se){throw function ia(s,c,g,O){return kn(s,O,function(F){const Y=P(F[0].token);return`${c.message}: Error during instantiation of ${Y}!${en(F)}.`},c)}(this,se,se.stack,c.key)}return Y}_getByReflectiveDependency(c){return this._getByKey(c.key,c.visibility,c.optional?null:gt)}_getByKey(c,g,O){return c===Cs.INJECTOR_KEY?this:g instanceof ql?this._getByKeySelf(c,O):this._getByKeyDefault(c,O,g)}_getObjByKeyId(c){for(let g=0;g<this.keyIds.length;g++)if(this.keyIds[g]===c)return this.objs[g]===ls&&(this.objs[g]=this._new(this._providers[g])),this.objs[g];return ls}_throwOrNull(c,g){if(g!==gt)return g;throw function En(s,c){return kn(s,c,function(g){return`No provider for ${P(g[0].token)}!${en(g)}`})}(this,c)}_getByKeySelf(c,g){const O=this._getObjByKeyId(c.id);return O!==ls?O:this._throwOrNull(c,g)}_getByKeyDefault(c,g,O){let F;for(F=O instanceof yc?this.parent:this;F instanceof Cs;){const Y=F,se=Y._getObjByKeyId(c.id);if(se!==ls)return se;F=Y.parent}return null!==F?F.get(c.token,g):this._throwOrNull(c,g)}get displayName(){return`ReflectiveInjector(providers: [${function lr(s,c){const g=[];for(let O=0;O<s._providers.length;++O)g[O]=c(s.getProviderAtIndex(O));return g}(this,g=>' "'+g.key.displayName+'" ').join(", ")}])`}toString(){return this.displayName}}function Al(s,c=ie.Default){const g=Fi();if(null===g)return Bt(s,c);return S1(La(),g,k(s),c)}function I0(){throw new Error("invalid")}function Dc(s,c){const g=s.contentQueries;if(null!==g)for(let O=0;O<g.length;O+=2){const F=g[O],Y=g[O+1];if(-1!==Y){const se=s.data[Y];Ps(F),se.contentQueries(2,c[Y],Y)}}}function md(s,c,g,O,F,Y,se,Oe,Ze,ut,It){const Zt=c.blueprint.slice();return Zt[0]=F,Zt[2]=76|O,(null!==It||s&&1024&s[2])&&(Zt[2]|=1024),ge(Zt),Zt[3]=Zt[15]=s,Zt[8]=g,Zt[10]=se||s&&s[10],Zt[11]=Oe||s&&s[11],Zt[12]=Ze||s&&s[12]||null,Zt[9]=ut||s&&s[9]||null,Zt[6]=Y,Zt[20]=function bm(){return oh++}(),Zt[21]=It,Zt[16]=2==c.type?s[16]:Zt,Zt}function v2(s,c,g,O,F){let Y=s.data[c];if(null===Y)Y=L0(s,c,g,O,F),function ks(){return Xt.lFrame.inI18n}()&&(Y.flags|=32);else if(64&Y.type){Y.type=g,Y.value=O,Y.attrs=F;const se=fs();Y.injectorIndex=null===se?-1:se.injectorIndex}return Oa(Y,!0),Y}function L0(s,c,g,O,F){const Y=zr(),se=$n(),Oe=se?Y:Y&&Y.parent,Ze=s.data[c]=function z3(s,c,g,O,F,Y){let se=c?c.injectorIndex:-1;return{type:g,index:O,insertBeforeIndex:null,injectorIndex:se,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:0,providerIndexes:0,value:F,attrs:Y,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:c,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,Oe,g,c,O,F);return null===s.firstChild&&(s.firstChild=Ze),null!==Y&&(se?null==Y.child&&null!==Ze.parent&&(Y.child=Ze):null===Y.next&&(Y.next=Ze)),Ze}function Zh(s,c,g,O){if(0===g)return-1;const F=c.length;for(let Y=0;Y<g;Y++)c.push(O),s.blueprint.push(O),s.data.push(null);return F}function Qm(s,c,g){Zs(c);try{const O=s.viewQuery;null!==O&&ap(1,O,g);const F=s.template;null!==F&&cf(s,c,F,1,g),s.firstCreatePass&&(s.firstCreatePass=!1),s.staticContentQueries&&Dc(s,c),s.staticViewQueries&&ap(2,s.viewQuery,g);const Y=s.components;null!==Y&&function n1(s,c){for(let g=0;g<c.length;g++)J3(s,c[g])}(c,Y)}catch(O){throw s.firstCreatePass&&(s.incompleteFirstPass=!0,s.firstCreatePass=!1),O}finally{c[2]&=-5,Ro()}}function O0(s,c,g,O){const F=c[2];if(128==(128&F))return;Zs(c);try{ge(c),Wo(s.bindingStartIndex),null!==g&&cf(s,c,g,2,O);const se=3==(3&F);if(se){const ut=s.preOrderCheckHooks;null!==ut&&Ht(c,ut,null)}else{const ut=s.preOrderHooks;null!==ut&&Xe(c,ut,0,null),Jt(c,0)}if(function q3(s){for(let c=lh(s);null!==c;c=dh(c)){if(!c[2])continue;const g=c[9];for(let O=0;O<g.length;O++){const F=g[O],Y=F[3];0==(512&F[2])&&pt(Y,1),F[2]|=512}}}(c),function Q3(s){for(let c=lh(s);null!==c;c=dh(c))for(let g=10;g<c.length;g++){const O=c[g],F=O[1];sa(O)&&O0(F,O,F.template,O[8])}}(c),null!==s.contentQueries&&Dc(s,c),se){const ut=s.contentCheckHooks;null!==ut&&Ht(c,ut)}else{const ut=s.contentHooks;null!==ut&&Xe(c,ut,1),Jt(c,1)}!function zo(s,c){const g=s.hostBindingOpCodes;if(null!==g)try{for(let O=0;O<g.length;O++){const F=g[O];if(F<0)ce(~F);else{const Y=F,se=g[++O],Oe=g[++O];Wl(se,Y),Oe(2,c[Y])}}}finally{ce(-1)}}(s,c);const Oe=s.components;null!==Oe&&function As(s,c){for(let g=0;g<c.length;g++)X3(s,c[g])}(c,Oe);const Ze=s.viewQuery;if(null!==Ze&&ap(2,Ze,O),se){const ut=s.viewCheckHooks;null!==ut&&Ht(c,ut)}else{const ut=s.viewHooks;null!==ut&&Xe(c,ut,2),Jt(c,2)}!0===s.firstUpdatePass&&(s.firstUpdatePass=!1),c[2]&=-41,512&c[2]&&(c[2]&=-513,pt(c[3],-1))}finally{Ro()}}function cf(s,c,g,O,F){const Y=Fe(),se=2&O;try{ce(-1),se&&c.length>22&&w0(s,c,22,!1),ja(se?2:0,F),g(O,F)}finally{ce(Y),ja(se?3:1,F)}}function jh(s,c,g){if(yr(c)){const O=c.directiveStart,F=c.directiveEnd;for(let Y=O;Y<F;Y++){const se=s.data[Y];se.contentQueries&&se.contentQueries(1,g[Y],Y)}}}function qm(s,c,g){!$o()||(function W3(s,c,g,O){const F=g.directiveStart,Y=g.directiveEnd;s.firstCreatePass||Es(g,c),po(O,c);const se=g.initialInputs;for(let Oe=F;Oe<Y;Oe++){const Ze=s.data[Oe],ut=Vn(Ze);ut&&j3(c,g,Ze);const It=vc(c,s,Oe,g);if(po(It,c),null!==se&&_f(c,Oe-F,It,Ze,g,se),ut){wn(g.index,c)[8]=It}}}(s,c,g,Qe(g,c)),64==(64&g.flags)&&pf(s,c,g))}function Xm(s,c,g=Qe){const O=c.localNames;if(null!==O){let F=c.index+1;for(let Y=0;Y<O.length;Y+=2){const se=O[Y+1],Oe=-1===se?g(c,s):s[se];s[F++]=Oe}}}function Jm(s){const c=s.tView;return null===c||c.incompleteFirstPass?s.tView=$m(1,null,s.template,s.decls,s.vars,s.directiveDefs,s.pipeDefs,s.viewQuery,s.schemas,s.consts):c}function $m(s,c,g,O,F,Y,se,Oe,Ze,ut){const It=22+O,Zt=It+F,pi=function lf(s,c){const g=[];for(let O=0;O<c;O++)g.push(O<s?null:Hn);return g}(It,Zt),Mi="function"==typeof ut?ut():ut;return pi[1]={type:s,blueprint:pi,template:g,queries:null,viewQuery:Oe,declTNode:c,data:pi.slice().fill(null,It),bindingStartIndex:It,expandoStartIndex:Zt,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 Y?Y():Y,pipeRegistry:"function"==typeof se?se():se,firstChild:null,schemas:Ze,consts:Mi,incompleteFirstPass:!1}}function ep(s,c,g,O){const F=rp(c);null===g?F.push(O):(F.push(g),s.firstCreatePass&&gf(s).push(O,F.length-1))}function df(s,c,g,O){for(let F in s)if(s.hasOwnProperty(F)){g=null===g?{}:g;const Y=s[F];null===O?hf(g,c,F,Y):O.hasOwnProperty(F)&&hf(g,c,O[F],Y)}return g}function hf(s,c,g,O){s.hasOwnProperty(g)?s[g].push(c,O):s[g]=[c,O]}function Us(s,c,g,O,F,Y,se,Oe){const Ze=Qe(c,g);let It,ut=c.inputs;!Oe&&null!=ut&&(It=ut[O])?(op(s,g,It,O,F),wa(c)&&S0(g,c.index)):3&c.type?(O=function H3(s){return"class"===s?"className":"for"===s?"htmlFor":"formaction"===s?"formAction":"innerHtml"===s?"innerHTML":"readonly"===s?"readOnly":"tabindex"===s?"tabIndex":s}(O),F=null!=se?se(F,c.value||"",O):F,Y.setProperty(Ze,O,F)):c.type}function S0(s,c){const g=wn(c,s);16&g[2]||(g[2]|=32)}function Pr(s,c,g,O){let F=!1;if($o()){const Y=null===O?null:{"":-1},se=function K3(s,c){const g=s.directiveRegistry;let O=null,F=null;if(g)for(let Y=0;Y<g.length;Y++){const se=g[Y];if(Gh(c,se.selectors,!1))if(O||(O=[]),Vn(se))if(null!==se.findHostDirectiveDefs){const Oe=[];F=F||new Map,se.findHostDirectiveDefs(se,Oe,F),O.unshift(...Oe,se);Va(s,c,Oe.length)}else O.unshift(se),Va(s,c,0);else F=F||new Map,se.findHostDirectiveDefs?.(se,O,F),O.push(se)}return null===O?null:[O,F]}(s,g);let Oe,Ze;null===se?Oe=Ze=null:[Oe,Ze]=se,null!==Oe&&(F=!0,b2(s,c,g,Oe,Y,Ze)),Y&&function G3(s,c,g){if(c){const O=s.localNames=[];for(let F=0;F<c.length;F+=2){const Y=g[c[F+1]];if(null==Y)throw new Z(-301,!1);O.push(c[F],Y)}}}(g,O,Y)}return g.mergedAttrs=Sa(g.mergedAttrs,g.attrs),F}function b2(s,c,g,O,F,Y){for(let ut=0;ut<O.length;ut++)Sd(Es(g,c),s,O[ut].type);!function Y3(s,c,g){s.flags|=1,s.directiveStart=c,s.directiveEnd=c+g,s.providerIndexes=c}(g,s.data.length,O.length);for(let ut=0;ut<O.length;ut++){const It=O[ut];It.providersResolver&&It.providersResolver(It)}let se=!1,Oe=!1,Ze=Zh(s,c,O.length,null);for(let ut=0;ut<O.length;ut++){const It=O[ut];g.mergedAttrs=Sa(g.mergedAttrs,It.hostAttrs),Z3(s,g,c,Ze,It),tp(Ze,It,F),null!==It.contentQueries&&(g.flags|=4),(null!==It.hostBindings||null!==It.hostAttrs||0!==It.hostVars)&&(g.flags|=64);const Zt=It.type.prototype;!se&&(Zt.ngOnChanges||Zt.ngOnInit||Zt.ngDoCheck)&&((s.preOrderHooks||(s.preOrderHooks=[])).push(g.index),se=!0),!Oe&&(Zt.ngOnChanges||Zt.ngDoCheck)&&((s.preOrderCheckHooks||(s.preOrderCheckHooks=[])).push(g.index),Oe=!0),Ze++}!function uf(s,c,g){const O=c.directiveStart,F=c.directiveEnd,Y=s.data,se=c.attrs,Oe=[];let Ze=null,ut=null;for(let It=O;It<F;It++){const Zt=Y[It],pi=g?g.get(Zt):null,Mi=pi?pi.inputs:null,Bi=pi?pi.outputs:null;Ze=df(Zt.inputs,It,Ze,Mi),ut=df(Zt.outputs,It,ut,Bi);const on=null===Ze||null===se||$c(c)?null:to(Ze,It,se);Oe.push(on)}null!==Ze&&(Ze.hasOwnProperty("class")&&(c.flags|=8),Ze.hasOwnProperty("style")&&(c.flags|=16)),c.initialInputs=Oe,c.inputs=Ze,c.outputs=ut}(s,g,Y)}function pf(s,c,g){const O=g.directiveStart,F=g.directiveEnd,Y=g.index,se=function Kl(){return Xt.lFrame.currentDirectiveIndex}();try{ce(Y);for(let Oe=O;Oe<F;Oe++){const Ze=s.data[Oe],ut=c[Oe];Rc(Oe),(null!==Ze.hostBindings||0!==Ze.hostVars||null!==Ze.hostAttrs)&&ff(Ze,ut)}}finally{ce(-1),Rc(se)}}function ff(s,c){null!==s.hostBindings&&s.hostBindings(1,c)}function Va(s,c,g){c.componentOffset=g,(s.components||(s.components=[])).push(c.index)}function tp(s,c,g){if(g){if(c.exportAs)for(let O=0;O<c.exportAs.length;O++)g[c.exportAs[O]]=s;Vn(c)&&(g[""]=s)}}function Z3(s,c,g,O,F){s.data[O]=F;const Y=F.factory||(F.factory=Da(F.type)),se=new Ri(Y,Vn(F),Al);s.blueprint[O]=se,g[O]=se,function V3(s,c,g,O,F){const Y=F.hostBindings;if(Y){let se=s.hostBindingOpCodes;null===se&&(se=s.hostBindingOpCodes=[]);const Oe=~c.index;(function mf(s){let c=s.length;for(;c>0;){const g=s[--c];if("number"==typeof g&&g<0)return g}return 0})(se)!=Oe&&se.push(Oe),se.push(g,O,Y)}}(s,c,O,Zh(s,g,F.hostVars,Hn),F)}function j3(s,c,g){const O=Qe(c,s),F=Jm(g),Y=s[10],se=P0(s,md(s,F,null,g.onPush?32:16,O,c,Y,Y.createRenderer(O,g),null,null,null));s[c.index]=se}function el(s,c,g,O,F,Y){const se=Qe(s,c);ip(c[11],se,Y,s.value,g,O,F)}function ip(s,c,g,O,F,Y,se){if(null==Y)s.removeAttribute(c,F,g);else{const Oe=null==se?te(Y):se(Y,O||"",F);s.setAttribute(c,F,Oe,g)}}function _f(s,c,g,O,F,Y){const se=Y[c];if(null!==se){const Oe=O.setInput;for(let Ze=0;Ze<se.length;){const ut=se[Ze++],It=se[Ze++],Zt=se[Ze++];null!==Oe?O.setInput(g,Zt,ut,It):g[It]=Zt}}}function to(s,c,g){let O=null,F=0;for(;F<g.length;){const Y=g[F];if(0!==Y)if(5!==Y){if("number"==typeof Y)break;if(s.hasOwnProperty(Y)){null===O&&(O=[]);const se=s[Y];for(let Oe=0;Oe<se.length;Oe+=2)if(se[Oe]===c){O.push(Y,se[Oe+1],g[F+1]);break}}F+=2}else F+=2;else F+=4}return O}function np(s,c,g,O){return[s,!0,!1,c,null,0,O,g,null,null]}function X3(s,c){const g=wn(c,s);if(sa(g)){const O=g[1];48&g[2]?O0(O,g,O.template,g[8]):g[5]>0&&k0(g)}}function k0(s){for(let O=lh(s);null!==O;O=dh(O))for(let F=10;F<O.length;F++){const Y=O[F];if(sa(Y))if(512&Y[2]){const se=Y[1];O0(se,Y,se.template,Y[8])}else Y[5]>0&&k0(Y)}const g=s[1].components;if(null!==g)for(let O=0;O<g.length;O++){const F=wn(g[O],s);sa(F)&&F[5]>0&&k0(F)}}function J3(s,c){const g=wn(c,s),O=g[1];(function $3(s,c){for(let g=c.length;g<s.blueprint.length;g++)c.push(s.blueprint[g])})(O,g),Qm(O,g,g[8])}function P0(s,c){return s[13]?s[14][4]=c:s[13]=c,s[14]=c,c}function R0(s){for(;s;){s[2]|=32;const c=bs(s);if(va(s)&&!c)return s;s=c}return null}function B0(s,c,g,O=!0){const F=c[10];F.begin&&F.begin();try{O0(s,c,s.template,g)}catch(se){throw O&&bf(c,se),se}finally{F.end&&F.end()}}function ap(s,c,g){Ps(0),c(s,g)}function rp(s){return s[7]||(s[7]=[])}function gf(s){return s.cleanup||(s.cleanup=[])}function vf(s,c,g){return(null===s||Vn(s))&&(g=function tr(s){for(;Array.isArray(s);){if("object"==typeof s[1])return s;s=s[0]}return null}(g[c.index])),g[11]}function bf(s,c){const g=s[9],O=g?g.get(Mc,null):null;O&&O.handleError(c)}function op(s,c,g,O,F){for(let Y=0;Y<g.length;){const se=g[Y++],Oe=g[Y++],Ze=c[se],ut=s.data[se];null!==ut.setInput?ut.setInput(Ze,F,O,Oe):Ze[Oe]=F}}function Il(s,c,g){const O=mi(c,s);bl(s[11],O,g)}function N0(s,c,g){let O=g?s.styles:null,F=g?s.classes:null,Y=0;if(null!==c)for(let se=0;se<c.length;se++){const Oe=c[se];if("number"==typeof Oe)Y=Oe;else if(1==Y)F=p(F,Oe);else if(2==Y){O=p(O,Oe+": "+c[++se]+";")}}g?s.styles=O:s.stylesWithoutHost=O,g?s.classes=F:s.classesWithoutHost=F}function F0(s,c,g,O,F=!1){for(;null!==g;){const Y=c[g.index];if(null!==Y&&O.push(ca(Y)),Ra(Y))for(let Oe=10;Oe<Y.length;Oe++){const Ze=Y[Oe],ut=Ze[1].firstChild;null!==ut&&F0(Ze[1],Ze,ut,O)}const se=g.type;if(8&se)F0(s,c,g.child,O);else if(32&se){const Oe=K1(g,c);let Ze;for(;Ze=Oe();)O.push(Ze)}else if(16&se){const Oe=Vu(c,g);if(Array.isArray(Oe))O.push(...Oe);else{const Ze=bs(c[16]);F0(Ze[1],Ze,Oe,O,!0)}}g=F?g.projectionNext:g.next}return O}Cs.INJECTOR_KEY=cs.get(wi);class Qh{constructor(c,g){this._lView=c,this._cdRefInjectingView=g,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const c=this._lView,g=c[1];return F0(g,c,g.firstChild,[])}get context(){return this._lView[8]}set context(c){this._lView[8]=c}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const c=this._lView[3];if(Ra(c)){const g=c[8],O=g?g.indexOf(this):-1;O>-1&&(Z1(c,O),mo(g,O))}this._attachedToViewContainer=!1}Ru(this._lView[1],this._lView)}onDestroy(c){ep(this._lView[1],this._lView,null,c)}markForCheck(){R0(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){B0(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Z(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Em(s,c){nd(s,c,c[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(c){if(this._attachedToViewContainer)throw new Z(902,!1);this._appRef=c}}class yf extends Qh{constructor(c){super(c),this._view=c}detectChanges(){const c=this._view;B0(c[1],c,c[8],!1)}checkNoChanges(){}get context(){return null}}class xf extends dd{constructor(c){super(),this.ngModule=c}resolveComponentFactory(c){const g=Si(c);return new qh(g,this.ngModule)}}function Cf(s){const c=[];for(let g in s)if(s.hasOwnProperty(g)){const O=s[g];c.push({propName:O,templateName:g})}return c}class Ef{constructor(c,g){this.injector=c,this.parentInjector=g}get(c,g,O){O=K(O);const F=this.injector.get(c,p2,O);return F!==p2||g===p2?F:this.parentInjector.get(c,g,O)}}class qh extends Xd{constructor(c,g){super(),this.componentDef=c,this.ngModule=g,this.componentType=c.type,this.selector=function E0(s){return s.map(jm).join(",")}(c.selectors),this.ngContentSelectors=c.ngContentSelectors?c.ngContentSelectors:[],this.isBoundToModule=!!g}get inputs(){return Cf(this.componentDef.inputs)}get outputs(){return Cf(this.componentDef.outputs)}create(c,g,O,F){let Y=(F=F||this.ngModule)instanceof tc?F:F?.injector;Y&&null!==this.componentDef.getStandaloneInjector&&(Y=this.componentDef.getStandaloneInjector(Y)||Y);const se=Y?new Ef(c,Y):c,Oe=se.get(u2,null);if(null===Oe)throw new Z(407,!1);const Ze=se.get(m2,null),ut=Oe.createRenderer(null,this.componentDef),It=this.componentDef.selectors[0][0]||"div",Zt=O?function F3(s,c,g){const O=g===ri.ShadowDom;return s.selectRootElement(c,O)}(ut,O,this.componentDef.encapsulation):Y1(ut,It,function t4(s){const c=s.toLowerCase();return"svg"===c?"svg":"math"===c?ar:null}(It)),pi=this.componentDef.onPush?288:272,Mi=$m(0,null,null,1,0,null,null,null,null,null),Bi=md(null,Mi,null,pi,null,null,Oe,ut,Ze,se,null);let on,un;Zs(Bi);try{const Mn=this.componentDef;let Nn,ji=null;Mn.findHostDirectiveDefs?(Nn=[],ji=new Map,Mn.findHostDirectiveDefs(Mn,Nn,ji),Nn.push(Mn)):Nn=[Mn];const Yn=function i4(s,c){const g=s[1],O=22;return s[O]=c,v2(g,O,2,"#host",null)}(Bi,Zt),Zr=function n4(s,c,g,O,F,Y,se,Oe){const Ze=F[1];!function a4(s,c,g,O){for(const F of s)c.mergedAttrs=Sa(c.mergedAttrs,F.hostAttrs);null!==c.mergedAttrs&&(N0(c,c.mergedAttrs,!0),null!==g&&Ku(O,g,c))}(O,s,c,se);const ut=Y.createRenderer(c,g),It=md(F,Jm(g),null,g.onPush?32:16,F[s.index],s,Y,ut,Oe||null,null,null);return Ze.firstCreatePass&&Va(Ze,s,O.length-1),P0(F,It),F[s.index]=It}(Yn,Zt,Mn,Nn,Bi,Oe,ut);un=xi(Mi,22),Zt&&function r4(s,c,g,O){if(O)za(s,g,["ng-version",Vh.full]);else{const{attrs:F,classes:Y}=function M0(s){const c=[],g=[];let O=1,F=2;for(;O<s.length;){let Y=s[O];if("string"==typeof Y)2===F?""!==Y&&c.push(Y,s[++O]):8===F&&g.push(Y);else{if(!Ds(F))break;F=Y}O++}return{attrs:c,classes:g}}(c.selectors[0]);F&&za(s,g,F),Y&&Y.length>0&&Ch(s,g,Y.join(" "))}}(ut,Mn,Zt,O),void 0!==g&&function Df(s,c,g){const O=s.projection=[];for(let F=0;F<c.length;F++){const Y=g[F];O.push(null!=Y?Array.from(Y):null)}}(un,this.ngContentSelectors,g),on=function wf(s,c,g,O,F,Y){const se=La(),Oe=F[1],Ze=Qe(se,F);b2(Oe,F,se,g,null,O);for(let It=0;It<g.length;It++){po(vc(F,Oe,se.directiveStart+It,se),F)}pf(Oe,F,se),Ze&&po(Ze,F);const ut=vc(F,Oe,se.directiveStart+se.componentOffset,se);if(s[8]=F[8]=ut,null!==Y)for(const It of Y)It(ut,c);return jh(Oe,se,s),ut}(Zr,Mn,Nn,ji,Bi,[o4]),Qm(Mi,Bi,null)}finally{Ro()}return new Mf(this.componentType,on,hd(un,Bi),Bi,un)}}class Mf extends zs{constructor(c,g,O,F,Y){super(),this.location=O,this._rootLView=F,this._tNode=Y,this.instance=g,this.hostView=this.changeDetectorRef=new yf(F),this.componentType=c}setInput(c,g){const O=this._tNode.inputs;let F;if(null!==O&&(F=O[c])){const Y=this._rootLView;op(Y[1],Y,F,c,g),S0(Y,this._tNode.index)}}get injector(){return new as(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(c){this.hostView.onDestroy(c)}}function o4(){const s=La();Ct(Fi()[1],s)}function Tf(s){return Object.getPrototypeOf(s.prototype).constructor}function sp(s){let c=Tf(s.type),g=!0;const O=[s];for(;c;){let F;if(Vn(s))F=c.\u0275cmp||c.\u0275dir;else{if(c.\u0275cmp)throw new Z(903,!1);F=c.\u0275dir}if(F){if(g){O.push(F);const se=s;se.inputs=cp(s.inputs),se.declaredInputs=cp(s.declaredInputs),se.outputs=cp(s.outputs);const Oe=F.hostBindings;Oe&&c4(s,Oe);const Ze=F.viewQuery,ut=F.contentQueries;if(Ze&&lp(s,Ze),ut&&s4(s,ut),d(s.inputs,F.inputs),d(s.declaredInputs,F.declaredInputs),d(s.outputs,F.outputs),Vn(F)&&F.data.animation){const It=s.data;It.animation=(It.animation||[]).concat(F.data.animation)}}const Y=F.features;if(Y)for(let se=0;se<Y.length;se++){const Oe=Y[se];Oe&&Oe.ngInherit&&Oe(s),Oe===sp&&(g=!1)}}c=Object.getPrototypeOf(c)}!function Af(s){let c=0,g=null;for(let O=s.length-1;O>=0;O--){const F=s[O];F.hostVars=c+=F.hostVars,F.hostAttrs=Sa(F.hostAttrs,g=Sa(g,F.hostAttrs))}}(O)}function cp(s){return s===Pt?{}:s===Lt?[]:s}function lp(s,c){const g=s.viewQuery;s.viewQuery=g?(O,F)=>{c(O,F),g(O,F)}:c}function s4(s,c){const g=s.contentQueries;s.contentQueries=g?(O,F,Y)=>{c(O,F,Y),g(O,F,Y)}:c}function c4(s,c){const g=s.hostBindings;s.hostBindings=g?(O,F)=>{c(O,F),g(O,F)}:c}const l4=["providersResolver"],If=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function d4(s){let g,c=Tf(s.type);g=Vn(s)?c.\u0275cmp:c.\u0275dir;const O=s;for(const F of l4)O[F]=g[F];if(Vn(g))for(const F of If)O[F]=g[F]}function h4(s){return c=>{c.findHostDirectiveDefs=Lf,c.hostDirectives=(Array.isArray(s)?s:s()).map(g=>"function"==typeof g?{directive:k(g),inputs:Pt,outputs:Pt}:{directive:k(g.directive),inputs:Of(g.inputs),outputs:Of(g.outputs)})}}function Lf(s,c,g){if(null!==s.hostDirectives)for(const O of s.hostDirectives){const F=ki(O.directive);Sf(F.declaredInputs,O.inputs),Lf(F,c,g),g.set(F,O),c.push(F)}}function Of(s){if(void 0===s||0===s.length)return Pt;const c={};for(let g=0;g<s.length;g+=2)c[s[g]]=s[g+1];return c}function Sf(s,c){for(const g in c)if(c.hasOwnProperty(g)){const O=c[g],F=s[g];s[O]=F}}let Xh=null;function a1(){if(!Xh){const s=bt.Symbol;if(s&&s.iterator)Xh=s.iterator;else{const c=Object.getOwnPropertyNames(Map.prototype);for(let g=0;g<c.length;++g){const O=c[g];"entries"!==O&&"size"!==O&&Map.prototype[O]===Map.prototype.entries&&(Xh=O)}}}return Xh}function Jh(s){return!!dp(s)&&(Array.isArray(s)||!(s instanceof Map)&&a1()in s)}function dp(s){return null!==s&&("function"==typeof s||"object"==typeof s)}function Tc(s,c,g){return s[c]=g}function $h(s,c){return s[c]}function Yo(s,c,g){const O=s[c];return!Object.is(O,g)&&(s[c]=g,!0)}function pd(s,c,g,O){const F=Yo(s,c,g);return Yo(s,c+1,O)||F}function z0(s,c,g,O,F){const Y=pd(s,c,g,O);return Yo(s,c+2,F)||Y}function rc(s,c,g,O,F,Y){const se=pd(s,c,g,O);return pd(s,c+2,F,Y)||se}function hp(s,c,g,O){const F=Fi();if(Yo(F,ts(),c)){zn();el(ht(),F,s,c,g,O)}return hp}function r1(s,c){let g=!1,O=co();for(let Y=1;Y<c.length;Y+=2)g=Yo(s,O++,c[Y])||g;if(Wo(O),!g)return Hn;let F=c[0];for(let Y=1;Y<c.length;Y+=2)F+=te(c[Y])+c[Y+1];return F}function y2(s,c,g,O){return Yo(s,ts(),g)?c+te(g)+O:Hn}function x2(s,c,g,O,F,Y){const Oe=pd(s,co(),g,F);return Qr(2),Oe?c+te(g)+O+te(F)+Y:Hn}function fd(s,c,g,O,F,Y,se,Oe){const ut=z0(s,co(),g,F,se);return Qr(3),ut?c+te(g)+O+te(F)+Y+te(se)+Oe:Hn}function C2(s,c,g,O,F,Y,se,Oe,Ze,ut){const Zt=rc(s,co(),g,F,se,Ze);return Qr(4),Zt?c+te(g)+O+te(F)+Y+te(se)+Oe+te(Ze)+ut:Hn}function E2(s,c,g,O,F,Y,se,Oe,Ze,ut,It,Zt){const pi=co();let Mi=rc(s,pi,g,F,se,Ze);return Mi=Yo(s,pi+4,It)||Mi,Qr(5),Mi?c+te(g)+O+te(F)+Y+te(se)+Oe+te(Ze)+ut+te(It)+Zt:Hn}function M2(s,c,g,O,F,Y,se,Oe,Ze,ut,It,Zt,pi,Mi){const Bi=co();let on=rc(s,Bi,g,F,se,Ze);return on=pd(s,Bi+4,It,pi)||on,Qr(6),on?c+te(g)+O+te(F)+Y+te(se)+Oe+te(Ze)+ut+te(It)+Zt+te(pi)+Mi:Hn}function w2(s,c,g,O,F,Y,se,Oe,Ze,ut,It,Zt,pi,Mi,Bi,on){const un=co();let Mn=rc(s,un,g,F,se,Ze);return Mn=z0(s,un+4,It,pi,Bi)||Mn,Qr(7),Mn?c+te(g)+O+te(F)+Y+te(se)+Oe+te(Ze)+ut+te(It)+Zt+te(pi)+Mi+te(Bi)+on:Hn}function D2(s,c,g,O,F,Y,se,Oe,Ze,ut,It,Zt,pi,Mi,Bi,on,un,Mn){const Nn=co();let ji=rc(s,Nn,g,F,se,Ze);return ji=rc(s,Nn+4,It,pi,Bi,un)||ji,Qr(8),ji?c+te(g)+O+te(F)+Y+te(se)+Oe+te(Ze)+ut+te(It)+Zt+te(pi)+Mi+te(Bi)+on+te(un)+Mn:Hn}function Pf(s,c,g,O,F,Y){const se=Fi(),Oe=y2(se,c,g,O);if(Oe!==Hn){el(ht(),se,s,Oe,F,Y)}return Pf}function Rf(s,c,g,O,F,Y,se,Oe){const Ze=Fi(),ut=x2(Ze,c,g,O,F,Y);if(ut!==Hn){el(ht(),Ze,s,ut,se,Oe)}return Rf}function up(s,c,g,O,F,Y,se,Oe,Ze,ut){const It=Fi(),Zt=fd(It,c,g,O,F,Y,se,Oe);if(Zt!==Hn){el(ht(),It,s,Zt,Ze,ut)}return up}function Bf(s,c,g,O,F,Y,se,Oe,Ze,ut,It,Zt){const pi=Fi(),Mi=C2(pi,c,g,O,F,Y,se,Oe,Ze,ut);if(Mi!==Hn){el(ht(),pi,s,Mi,It,Zt)}return Bf}function Nf(s,c,g,O,F,Y,se,Oe,Ze,ut,It,Zt,pi,Mi){const Bi=Fi(),on=E2(Bi,c,g,O,F,Y,se,Oe,Ze,ut,It,Zt);if(on!==Hn){el(ht(),Bi,s,on,pi,Mi)}return Nf}function H0(s,c,g,O,F,Y,se,Oe,Ze,ut,It,Zt,pi,Mi,Bi,on){const un=Fi(),Mn=M2(un,c,g,O,F,Y,se,Oe,Ze,ut,It,Zt,pi,Mi);if(Mn!==Hn){el(ht(),un,s,Mn,Bi,on)}return H0}function Ff(s,c,g,O,F,Y,se,Oe,Ze,ut,It,Zt,pi,Mi,Bi,on,un,Mn){const Nn=Fi(),ji=w2(Nn,c,g,O,F,Y,se,Oe,Ze,ut,It,Zt,pi,Mi,Bi,on);if(ji!==Hn){el(ht(),Nn,s,ji,un,Mn)}return Ff}function zf(s,c,g,O,F,Y,se,Oe,Ze,ut,It,Zt,pi,Mi,Bi,on,un,Mn,Nn,ji){const Yn=Fi(),Zr=D2(Yn,c,g,O,F,Y,se,Oe,Ze,ut,It,Zt,pi,Mi,Bi,on,un,Mn);if(Zr!==Hn){el(ht(),Yn,s,Zr,Nn,ji)}return zf}function Hf(s,c,g,O){const F=Fi(),Y=r1(F,c);if(Y!==Hn){el(ht(),F,s,Y,g,O)}return Hf}function Uf(s,c,g,O,F,Y,se,Oe){const Ze=Fi(),ut=zn(),It=s+22,Zt=ut.firstCreatePass?function g4(s,c,g,O,F,Y,se,Oe,Ze){const ut=c.consts,It=v2(c,s,4,se||null,Et(ut,Oe));Pr(c,g,It,Et(ut,Ze)),Ct(c,It);const Zt=It.tViews=$m(2,It,O,F,Y,c.directiveRegistry,c.pipeRegistry,null,c.schemas,ut);return null!==c.queries&&(c.queries.template(c,It),Zt.queries=c.queries.embeddedTView(It)),It}(It,ut,Ze,c,g,O,F,Y,se):ut.data[It];Oa(Zt,!1);const pi=Ze[11].createComment("");Q1(ut,Ze,pi,Zt),po(pi,Ze),P0(Ze,Ze[It]=np(pi,Ze,pi,Zt)),hr(Zt)&&qm(ut,Ze,Zt),null!=se&&Xm(Ze,Zt,Oe)}function mp(s){return Ki(function dc(){return Xt.lFrame.contextLView}(),22+s)}function pp(s,c,g){const O=Fi();if(Yo(O,ts(),c)){Us(zn(),ht(),O,s,c,O[11],g,!1)}return pp}function fp(s,c,g,O,F){const se=F?"class":"style";op(s,g,c.inputs[se],se,O)}function eu(s,c,g,O){const F=Fi(),Y=zn(),se=22+s,Oe=F[11],Ze=F[se]=Y1(Oe,c,function it(){return Xt.lFrame.currentNamespace}()),ut=Y.firstCreatePass?function b4(s,c,g,O,F,Y,se){const Oe=c.consts,ut=v2(c,s,2,F,Et(Oe,Y));return Pr(c,g,ut,Et(Oe,se)),null!==ut.attrs&&N0(ut,ut.attrs,!1),null!==ut.mergedAttrs&&N0(ut,ut.mergedAttrs,!0),null!==c.queries&&c.queries.elementStart(c,ut),ut}(se,Y,F,0,c,g,O):Y.data[se];return Oa(ut,!0),Ku(Oe,Ze,ut),32!=(32&ut.flags)&&Q1(Y,F,Ze,ut),0===function rr(){return Xt.lFrame.elementDepthCount}()&&po(Ze,F),function bo(){Xt.lFrame.elementDepthCount++}(),hr(ut)&&(qm(Y,F,ut),jh(Y,ut,F)),null!==O&&Xm(F,ut),eu}function U0(){let s=La();$n()?Ui():(s=s.parent,Oa(s,!1));const c=s;!function Ss(){Xt.lFrame.elementDepthCount--}();const g=zn();return g.firstCreatePass&&(Ct(g,s),yr(s)&&g.queries.elementEnd(s)),null!=c.classesWithoutHost&&function pr(s){return 0!=(8&s.flags)}(c)&&fp(g,c,Fi(),c.classesWithoutHost,!0),null!=c.stylesWithoutHost&&function Dr(s){return 0!=(16&s.flags)}(c)&&fp(g,c,Fi(),c.stylesWithoutHost,!1),U0}function _p(s,c,g,O){return eu(s,c,g,O),U0(),_p}function T2(s,c,g){const O=Fi(),F=zn(),Y=s+22,se=F.firstCreatePass?function y4(s,c,g,O,F){const Y=c.consts,se=Et(Y,O),Oe=v2(c,s,8,"ng-container",se);return null!==se&&N0(Oe,se,!0),Pr(c,g,Oe,Et(Y,F)),null!==c.queries&&c.queries.elementStart(c,Oe),Oe}(Y,F,O,c,g):F.data[Y];Oa(se,!0);const Oe=O[Y]=O[11].createComment("");return Q1(F,O,Oe,se),po(Oe,O),hr(se)&&(qm(F,O,se),jh(F,se,O)),null!=g&&Xm(O,se),T2}function V0(){let s=La();const c=zn();return $n()?Ui():(s=s.parent,Oa(s,!1)),c.firstCreatePass&&(Ct(c,s),yr(s)&&c.queries.elementEnd(s)),V0}function gp(s,c,g){return T2(s,c,g),V0(),gp}function vp(){return Fi()}function W0(s){return!!s&&"function"==typeof s.then}function Vf(s){return!!s&&"function"==typeof s.subscribe}const Wf=Vf;function K0(s,c,g,O){const F=Fi(),Y=zn(),se=La();return yp(Y,F,F[11],se,s,c,O),K0}function bp(s,c){const g=La(),O=Fi(),F=zn();return yp(F,O,vf(Gs(F.data),g,O),g,s,c),bp}function yp(s,c,g,O,F,Y,se){const Oe=hr(O),ut=s.firstCreatePass&&gf(s),It=c[8],Zt=rp(c);let pi=!0;if(3&O.type||se){const on=Qe(O,c),un=se?se(on):on,Mn=Zt.length,Nn=se?Yn=>se(ca(Yn[O.index])):O.index;let ji=null;if(!se&&Oe&&(ji=function x4(s,c,g,O){const F=s.cleanup;if(null!=F)for(let Y=0;Y<F.length-1;Y+=2){const se=F[Y];if(se===g&&F[Y+1]===O){const Oe=c[7],Ze=F[Y+2];return Oe.length>Ze?Oe[Ze]:null}"string"==typeof se&&(Y+=2)}return null}(s,c,F,O.index)),null!==ji){(ji.__ngLastListenerFn__||ji).__ngNextListenerFn__=Y,ji.__ngLastListenerFn__=Y,pi=!1}else{Y=Gf(O,c,It,Y,!1);const Yn=g.listen(un,F,Y);Zt.push(Y,Yn),ut&&ut.push(F,Nn,Mn,Mn+1)}}else Y=Gf(O,c,It,Y,!1);const Mi=O.outputs;let Bi;if(pi&&null!==Mi&&(Bi=Mi[F])){const on=Bi.length;if(on)for(let un=0;un<on;un+=2){const Mn=Bi[un],Nn=Bi[un+1],Zr=c[Mn][Nn].subscribe(Y),Lo=Zt.length;Zt.push(Y,Zr),ut&&ut.push(F,O.index,Lo,-(Lo+1))}}}function Kf(s,c,g,O){try{return ja(6,c,g),!1!==g(O)}catch(F){return bf(s,F),!1}finally{ja(7,c,g)}}function Gf(s,c,g,O,F){return function Y(se){if(se===Function)return O;R0(s.componentOffset>-1?wn(s.index,c):c);let Ze=Kf(c,g,O,se),ut=Y.__ngNextListenerFn__;for(;ut;)Ze=Kf(c,g,ut,se)&&Ze,ut=ut.__ngNextListenerFn__;return F&&!1===Ze&&(se.preventDefault(),se.returnValue=!1),Ze}}function Yf(s=1){return is(s)}function Zf(s,c){let g=null;const O=function b0(s){const c=s.attrs;if(null!=c){const g=c.indexOf(5);if(0==(1&g))return c[g+1]}return null}(s);for(let F=0;F<c.length;F++){const Y=c[F];if("*"!==Y){if(null===O?Gh(s,Y,!0):C0(O,Y))return F}else g=F}return g}function xp(s){const c=Fi()[16][6];if(!c.projection){const g=s?s.length:1,O=c.projection=Ko(g,null),F=O.slice();let Y=c.child;for(;null!==Y;){const se=s?Zf(Y,s):0;null!==se&&(F[se]?F[se].projectionNext=Y:O[se]=Y,F[se]=Y),Y=Y.next}}}function jf(s,c=0,g){const O=Fi(),F=zn(),Y=v2(F,22+s,16,null,g||null);null===Y.projection&&(Y.projection=c),Ui(),32!=(32&Y.flags)&&function Tm(s,c,g){xh(c[11],0,c,g,Bu(s,g,c),Hu(g.parent||c[6],g,c))}(F,O,Y)}function Cp(s,c,g){return G0(s,"",c,"",g),Cp}function G0(s,c,g,O,F){const Y=Fi(),se=y2(Y,c,g,O);if(se!==Hn){Us(zn(),ht(),Y,s,se,Y[11],F,!1)}return G0}function Ep(s,c,g,O,F,Y,se){const Oe=Fi(),Ze=x2(Oe,c,g,O,F,Y);if(Ze!==Hn){Us(zn(),ht(),Oe,s,Ze,Oe[11],se,!1)}return Ep}function Mp(s,c,g,O,F,Y,se,Oe,Ze){const ut=Fi(),It=fd(ut,c,g,O,F,Y,se,Oe);if(It!==Hn){Us(zn(),ht(),ut,s,It,ut[11],Ze,!1)}return Mp}function wp(s,c,g,O,F,Y,se,Oe,Ze,ut,It){const Zt=Fi(),pi=C2(Zt,c,g,O,F,Y,se,Oe,Ze,ut);if(pi!==Hn){Us(zn(),ht(),Zt,s,pi,Zt[11],It,!1)}return wp}function Qf(s,c,g,O,F,Y,se,Oe,Ze,ut,It,Zt,pi){const Mi=Fi(),Bi=E2(Mi,c,g,O,F,Y,se,Oe,Ze,ut,It,Zt);if(Bi!==Hn){Us(zn(),ht(),Mi,s,Bi,Mi[11],pi,!1)}return Qf}function qf(s,c,g,O,F,Y,se,Oe,Ze,ut,It,Zt,pi,Mi,Bi){const on=Fi(),un=M2(on,c,g,O,F,Y,se,Oe,Ze,ut,It,Zt,pi,Mi);if(un!==Hn){Us(zn(),ht(),on,s,un,on[11],Bi,!1)}return qf}function Xf(s,c,g,O,F,Y,se,Oe,Ze,ut,It,Zt,pi,Mi,Bi,on,un){const Mn=Fi(),Nn=w2(Mn,c,g,O,F,Y,se,Oe,Ze,ut,It,Zt,pi,Mi,Bi,on);if(Nn!==Hn){Us(zn(),ht(),Mn,s,Nn,Mn[11],un,!1)}return Xf}function Jf(s,c,g,O,F,Y,se,Oe,Ze,ut,It,Zt,pi,Mi,Bi,on,un,Mn,Nn){const ji=Fi(),Yn=D2(ji,c,g,O,F,Y,se,Oe,Ze,ut,It,Zt,pi,Mi,Bi,on,un,Mn);if(Yn!==Hn){Us(zn(),ht(),ji,s,Yn,ji[11],Nn,!1)}return Jf}function Dp(s,c,g){const O=Fi(),F=r1(O,c);if(F!==Hn){Us(zn(),ht(),O,s,F,O[11],g,!1)}return Dp}function Y0(s,c){return s<<17|c<<2}function _d(s){return s>>17&32767}function Ap(s){return 2|s}function gd(s){return(131068&s)>>2}function Ip(s,c){return-131069&s|c<<2}function Z0(s){return 1|s}function $f(s,c,g,O,F,Y){let se=Y?c.classBindings:c.styleBindings,Oe=_d(se),Ze=gd(se);s[O]=g;let It,ut=!1;if(Array.isArray(g)){const Zt=g;It=Zt[1],(null===It||cr(Zt,It)>0)&&(ut=!0)}else It=g;if(F)if(0!==Ze){const pi=_d(s[Oe+1]);s[O+1]=Y0(pi,Oe),0!==pi&&(s[pi+1]=Ip(s[pi+1],O)),s[Oe+1]=function Tp(s,c){return 131071&s|c<<17}(s[Oe+1],O)}else s[O+1]=Y0(Oe,0),0!==Oe&&(s[Oe+1]=Ip(s[Oe+1],O)),Oe=O;else s[O+1]=Y0(Ze,0),0===Oe?Oe=O:s[Ze+1]=Ip(s[Ze+1],O),Ze=O;ut&&(s[O+1]=Ap(s[O+1])),e3(s,It,O,!0,Y),e3(s,It,O,!1,Y),function M4(s,c,g,O,F){const Y=F?s.residualClasses:s.residualStyles;null!=Y&&"string"==typeof c&&cr(Y,c)>=0&&(g[O+1]=Z0(g[O+1]))}(c,It,s,O,Y),se=Y0(Oe,Ze),Y?c.classBindings=se:c.styleBindings=se}function e3(s,c,g,O,F){const Y=s[g+1],se=null===c;let Oe=O?_d(Y):gd(Y),Ze=!1;for(;0!==Oe&&(!1===Ze||se);){const ut=s[Oe],It=s[Oe+1];w4(ut,c)&&(Ze=!0,s[Oe+1]=O?Z0(It):Ap(It)),Oe=O?_d(It):gd(It)}Ze&&(s[g+1]=O?Ap(Y):Z0(Y))}function w4(s,c){return null===s||null==c||(Array.isArray(s)?s[1]:s)===c||!(!Array.isArray(s)||"string"!=typeof c)&&cr(s,c)>=0}const Vr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function t3(s){return s.substring(Vr.key,Vr.keyEnd)}function D4(s){return s.substring(Vr.value,Vr.valueEnd)}function i3(s,c){const g=Vr.textEnd;return g===c?-1:(c=Vr.keyEnd=function A4(s,c,g){for(;c<g&&s.charCodeAt(c)>32;)c++;return c}(s,Vr.key=c,g),A2(s,c,g))}function a3(s,c){const g=Vr.textEnd;let O=Vr.key=A2(s,c,g);return g===O?-1:(O=Vr.keyEnd=function I4(s,c,g){let O;for(;c<g&&(45===(O=s.charCodeAt(c))||95===O||(-33&O)>=65&&(-33&O)<=90||O>=48&&O<=57);)c++;return c}(s,O,g),O=o3(s,O,g,58),O=Vr.value=A2(s,O,g),O=Vr.valueEnd=function L4(s,c,g){let O=-1,F=-1,Y=-1,se=c,Oe=se;for(;se<g;){const Ze=s.charCodeAt(se++);if(59===Ze)return Oe;34===Ze||39===Ze?Oe=se=Lp(s,Ze,se,g):c===se-4&&85===Y&&82===F&&76===O&&40===Ze?Oe=se=Lp(s,41,se,g):Ze>32&&(Oe=se),Y=F,F=O,O=-33&Ze}return Oe}(s,O,g),o3(s,O,g,59))}function r3(s){Vr.key=0,Vr.keyEnd=0,Vr.value=0,Vr.valueEnd=0,Vr.textEnd=s.length}function A2(s,c,g){for(;c<g&&s.charCodeAt(c)<=32;)c++;return c}function o3(s,c,g,O){return(c=A2(s,c,g))<g&&c++,c}function Lp(s,c,g,O){let F=-1,Y=g;for(;Y<O;){const se=s.charCodeAt(Y++);if(se==c&&92!==F)return Y;F=92==se&&92===F?0:se}throw new Error}function Op(s,c,g){return ds(s,c,g,!1),Op}function Rn(s,c){return ds(s,c,null,!0),Rn}function Zo(s){oc(vd,s3,s,!1)}function s3(s,c){for(let g=function n3(s){return r3(s),a3(s,A2(s,0,Vr.textEnd))}(c);g>=0;g=a3(c,g))vd(s,t3(c),D4(c))}function Sp(s){oc(Mo,Wr,s,!0)}function Wr(s,c){for(let g=function T4(s){return r3(s),i3(s,A2(s,0,Vr.textEnd))}(c);g>=0;g=i3(c,g))Mo(s,t3(c),!0)}function ds(s,c,g,O){const F=Fi(),Y=zn(),se=Qr(2);if(Y.firstUpdatePass&&Vs(Y,s,se,O),c!==Hn&&Yo(F,se,c)){Wa(Y,Y.data[Fe()],F,F[11],s,F[se+1]=function O4(s,c){return null==s||("string"==typeof c?s+=c:"object"==typeof s&&(s=P(Js(s)))),s}(c,g),O,se)}}function oc(s,c,g,O){const F=zn(),Y=Qr(2);F.firstUpdatePass&&Vs(F,null,Y,O);const se=Fi();if(g!==Hn&&Yo(se,Y,g)){const Oe=F.data[Fe()];if(Ka(Oe,O)&&!c3(F,Y)){let Ze=O?Oe.classesWithoutHost:Oe.stylesWithoutHost;null!==Ze&&(g=p(Ze,g||"")),fp(F,Oe,se,g,O)}else!function I2(s,c,g,O,F,Y,se,Oe){F===Hn&&(F=Lt);let Ze=0,ut=0,It=0<F.length?F[0]:null,Zt=0<Y.length?Y[0]:null;for(;null!==It||null!==Zt;){const pi=Ze<F.length?F[Ze+1]:void 0,Mi=ut<Y.length?Y[ut+1]:void 0;let on,Bi=null;It===Zt?(Ze+=2,ut+=2,pi!==Mi&&(Bi=Zt,on=Mi)):null===Zt||null!==It&&It<Zt?(Ze+=2,Bi=It):(ut+=2,Bi=Zt,on=Mi),null!==Bi&&Wa(s,c,g,O,Bi,on,se,Oe),It=Ze<F.length?F[Ze]:null,Zt=ut<Y.length?Y[ut]:null}}(F,Oe,se,se[11],se[Y+1],se[Y+1]=function _o(s,c,g){if(null==g||""===g)return Lt;const O=[],F=Js(g);if(Array.isArray(F))for(let Y=0;Y<F.length;Y++)s(O,F[Y],!0);else if("object"==typeof F)for(const Y in F)F.hasOwnProperty(Y)&&s(O,Y,F[Y]);else"string"==typeof F&&c(O,F);return O}(s,c,g),O,Y)}}function c3(s,c){return c>=s.expandoStartIndex}function Vs(s,c,g,O){const F=s.data;if(null===F[g+1]){const Y=F[Fe()],se=c3(s,g);Ka(Y,O)&&null===c&&!se&&(c=!1),c=function Ll(s,c,g,O){const F=Gs(s);let Y=O?c.residualClasses:c.residualStyles;if(null===F)0===(O?c.classBindings:c.styleBindings)&&(g=Kr(g=Ol(null,s,c,g,O),c.attrs,O),Y=null);else{const se=c.directiveStylingLast;if(-1===se||s[se]!==F)if(g=Ol(F,s,c,g,O),null===Y){let Ze=function fr(s,c,g){const O=g?c.classBindings:c.styleBindings;if(0!==gd(O))return s[_d(O)]}(s,c,O);void 0!==Ze&&Array.isArray(Ze)&&(Ze=Ol(null,s,c,Ze[1],O),Ze=Kr(Ze,c.attrs,O),function o1(s,c,g,O){const F=g?c.classBindings:c.styleBindings;s[_d(F)]=O}(s,c,O,Ze))}else Y=function Di(s,c,g){let O;const F=c.directiveEnd;for(let Y=1+c.directiveStylingLast;Y<F;Y++){O=Kr(O,s[Y].hostAttrs,g)}return Kr(O,c.attrs,g)}(s,c,O)}return void 0!==Y&&(O?c.residualClasses=Y:c.residualStyles=Y),g}(F,Y,c,O),$f(F,Y,c,g,se,O)}}function Ol(s,c,g,O,F){let Y=null;const se=g.directiveEnd;let Oe=g.directiveStylingLast;for(-1===Oe?Oe=g.directiveStart:Oe++;Oe<se&&(Y=c[Oe],O=Kr(O,Y.hostAttrs,F),Y!==s);)Oe++;return null!==s&&(g.directiveStylingLast=Oe),O}function Kr(s,c,g){const O=g?1:2;let F=-1;if(null!==c)for(let Y=0;Y<c.length;Y++){const se=c[Y];"number"==typeof se?F=se:F===O&&(Array.isArray(s)||(s=void 0===s?[]:["",s]),Mo(s,se,!!g||c[++Y]))}return void 0===s?null:s}function vd(s,c,g){Mo(s,c,Js(g))}function Wa(s,c,g,O,F,Y,se,Oe){if(!(3&c.type))return;const Ze=s.data,ut=Ze[Oe+1],It=function E4(s){return 1==(1&s)}(ut)?s1(Ze,c,g,F,gd(ut),se):void 0;if(!c1(It)){c1(Y)||function C4(s){return 2==(2&s)}(ut)&&(Y=s1(Ze,null,g,F,Oe,se));!function Am(s,c,g,O,F){if(c)F?s.addClass(g,O):s.removeClass(g,O);else{let Y=-1===O.indexOf("-")?void 0:H1.DashCase;null==F?s.removeStyle(g,O,Y):("string"==typeof F&&F.endsWith("!important")&&(F=F.slice(0,-10),Y|=H1.Important),s.setStyle(g,O,F,Y))}}(O,se,mi(Fe(),g),F,Y)}}function s1(s,c,g,O,F,Y){const se=null===c;let Oe;for(;F>0;){const Ze=s[F],ut=Array.isArray(Ze),It=ut?Ze[1]:Ze,Zt=null===It;let pi=g[F+1];pi===Hn&&(pi=Zt?Lt:void 0);let Mi=Zt?Nc(pi,O):It===O?pi:void 0;if(ut&&!c1(Mi)&&(Mi=Nc(Ze,O)),c1(Mi)&&(Oe=Mi,se))return Oe;const Bi=s[F+1];F=se?_d(Bi):gd(Bi)}if(null!==c){let Ze=Y?c.residualClasses:c.residualStyles;null!=Ze&&(Oe=Nc(Ze,O))}return Oe}function c1(s){return void 0!==s}function Ka(s,c){return 0!=(s.flags&(c?8:16))}function io(s,c=""){const g=Fi(),O=zn(),F=s+22,Y=O.firstCreatePass?v2(O,F,1,c,null):O.data[F],se=g[F]=uh(g[11],c);Q1(O,g,se,Y),Oa(Y,!1)}function Sl(s){return Ac("",s,""),Sl}function Ac(s,c,g){const O=Fi(),F=y2(O,s,c,g);return F!==Hn&&Il(O,Fe(),F),Ac}function tu(s,c,g,O,F){const Y=Fi(),se=x2(Y,s,c,g,O,F);return se!==Hn&&Il(Y,Fe(),se),tu}function jo(s,c,g,O,F,Y,se){const Oe=Fi(),Ze=fd(Oe,s,c,g,O,F,Y,se);return Ze!==Hn&&Il(Oe,Fe(),Ze),jo}function bd(s,c,g,O,F,Y,se,Oe,Ze){const ut=Fi(),It=C2(ut,s,c,g,O,F,Y,se,Oe,Ze);return It!==Hn&&Il(ut,Fe(),It),bd}function go(s,c,g,O,F,Y,se,Oe,Ze,ut,It){const Zt=Fi(),pi=E2(Zt,s,c,g,O,F,Y,se,Oe,Ze,ut,It);return pi!==Hn&&Il(Zt,Fe(),pi),go}function sc(s,c,g,O,F,Y,se,Oe,Ze,ut,It,Zt,pi){const Mi=Fi(),Bi=M2(Mi,s,c,g,O,F,Y,se,Oe,Ze,ut,It,Zt,pi);return Bi!==Hn&&Il(Mi,Fe(),Bi),sc}function yd(s,c,g,O,F,Y,se,Oe,Ze,ut,It,Zt,pi,Mi,Bi){const on=Fi(),un=w2(on,s,c,g,O,F,Y,se,Oe,Ze,ut,It,Zt,pi,Mi,Bi);return un!==Hn&&Il(on,Fe(),un),yd}function no(s,c,g,O,F,Y,se,Oe,Ze,ut,It,Zt,pi,Mi,Bi,on,un){const Mn=Fi(),Nn=D2(Mn,s,c,g,O,F,Y,se,Oe,Ze,ut,It,Zt,pi,Mi,Bi,on,un);return Nn!==Hn&&Il(Mn,Fe(),Nn),no}function xd(s){const c=Fi(),g=r1(c,s);return g!==Hn&&Il(c,Fe(),g),xd}function Qo(s,c,g){oc(Mo,Wr,y2(Fi(),s,c,g),!0)}function l1(s,c,g,O,F){oc(Mo,Wr,x2(Fi(),s,c,g,O,F),!0)}function hs(s,c,g,O,F,Y,se){oc(Mo,Wr,fd(Fi(),s,c,g,O,F,Y,se),!0)}function d1(s,c,g,O,F,Y,se,Oe,Ze){oc(Mo,Wr,C2(Fi(),s,c,g,O,F,Y,se,Oe,Ze),!0)}function l3(s,c,g,O,F,Y,se,Oe,Ze,ut,It){oc(Mo,Wr,E2(Fi(),s,c,g,O,F,Y,se,Oe,Ze,ut,It),!0)}function qo(s,c,g,O,F,Y,se,Oe,Ze,ut,It,Zt,pi){oc(Mo,Wr,M2(Fi(),s,c,g,O,F,Y,se,Oe,Ze,ut,It,Zt,pi),!0)}function ka(s,c,g,O,F,Y,se,Oe,Ze,ut,It,Zt,pi,Mi,Bi){oc(Mo,Wr,w2(Fi(),s,c,g,O,F,Y,se,Oe,Ze,ut,It,Zt,pi,Mi,Bi),!0)}function cc(s,c,g,O,F,Y,se,Oe,Ze,ut,It,Zt,pi,Mi,Bi,on,un){oc(Mo,Wr,D2(Fi(),s,c,g,O,F,Y,se,Oe,Ze,ut,It,Zt,pi,Mi,Bi,on,un),!0)}function Cd(s){oc(Mo,Wr,r1(Fi(),s),!0)}function h1(s,c,g){Zo(y2(Fi(),s,c,g))}function kl(s,c,g,O,F){Zo(x2(Fi(),s,c,g,O,F))}function L2(s,c,g,O,F,Y,se){Zo(fd(Fi(),s,c,g,O,F,Y,se))}function iu(s,c,g,O,F,Y,se,Oe,Ze){Zo(C2(Fi(),s,c,g,O,F,Y,se,Oe,Ze))}function u1(s,c,g,O,F,Y,se,Oe,Ze,ut,It){Zo(E2(Fi(),s,c,g,O,F,Y,se,Oe,Ze,ut,It))}function Ed(s,c,g,O,F,Y,se,Oe,Ze,ut,It,Zt,pi){Zo(M2(Fi(),s,c,g,O,F,Y,se,Oe,Ze,ut,It,Zt,pi))}function m1(s,c,g,O,F,Y,se,Oe,Ze,ut,It,Zt,pi,Mi,Bi){Zo(w2(Fi(),s,c,g,O,F,Y,se,Oe,Ze,ut,It,Zt,pi,Mi,Bi))}function kp(s,c,g,O,F,Y,se,Oe,Ze,ut,It,Zt,pi,Mi,Bi,on,un){Zo(D2(Fi(),s,c,g,O,F,Y,se,Oe,Ze,ut,It,Zt,pi,Mi,Bi,on,un))}function d3(s){Zo(r1(Fi(),s))}function j0(s,c,g,O,F){return ds(s,y2(Fi(),c,g,O),F,!1),j0}function Pl(s,c,g,O,F,Y,se){return ds(s,x2(Fi(),c,g,O,F,Y),se,!1),Pl}function Q0(s,c,g,O,F,Y,se,Oe,Ze){return ds(s,fd(Fi(),c,g,O,F,Y,se,Oe),Ze,!1),Q0}function q0(s,c,g,O,F,Y,se,Oe,Ze,ut,It){return ds(s,C2(Fi(),c,g,O,F,Y,se,Oe,Ze,ut),It,!1),q0}function X0(s,c,g,O,F,Y,se,Oe,Ze,ut,It,Zt,pi){return ds(s,E2(Fi(),c,g,O,F,Y,se,Oe,Ze,ut,It,Zt),pi,!1),X0}function tl(s,c,g,O,F,Y,se,Oe,Ze,ut,It,Zt,pi,Mi,Bi){return ds(s,M2(Fi(),c,g,O,F,Y,se,Oe,Ze,ut,It,Zt,pi,Mi),Bi,!1),tl}function Ic(s,c,g,O,F,Y,se,Oe,Ze,ut,It,Zt,pi,Mi,Bi,on,un){return ds(s,w2(Fi(),c,g,O,F,Y,se,Oe,Ze,ut,It,Zt,pi,Mi,Bi,on),un,!1),Ic}function p1(s,c,g,O,F,Y,se,Oe,Ze,ut,It,Zt,pi,Mi,Bi,on,un,Mn,Nn){return ds(s,D2(Fi(),c,g,O,F,Y,se,Oe,Ze,ut,It,Zt,pi,Mi,Bi,on,un,Mn),Nn,!1),p1}function h3(s,c,g){return ds(s,r1(Fi(),c),g,!1),h3}function To(s,c,g){const O=Fi();if(Yo(O,ts(),c)){Us(zn(),ht(),O,s,c,O[11],g,!0)}return To}function _r(s,c,g){const O=Fi();if(Yo(O,ts(),c)){const Y=zn(),se=ht();Us(Y,se,O,s,c,vf(Gs(Y.data),se,O),g,!0)}return _r}const Md=void 0;var nu=["en",[["a","p"],["AM","PM"],Md],[["AM","PM"],Md,Md],[["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"]],Md,[["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"]],Md,[["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}",Md,"{1} 'at' {0}",Md],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Rr(s){const g=Math.floor(Math.abs(s)),O=s.toString().replace(/^[^.]*\.?/,"").length;return 1===g&&0===O?1:5}];let Is={};function O2(s){const c=function ru(s){return s.toLowerCase().replace(/_/g,"-")}(s);let g=Rl(c);if(g)return g;const O=c.split("-")[0];if(g=Rl(O),g)return g;if("en"===O)return nu;throw new Z(701,!1)}function au(s){return O2(s)[Lc.PluralCase]}function Rl(s){return s in Is||(Is[s]=bt.ng&&bt.ng.common&&bt.ng.common.locales&&bt.ng.common.locales[s]),Is[s]}var Lc;!function(s){s[s.LocaleId=0]="LocaleId",s[s.DayPeriodsFormat=1]="DayPeriodsFormat",s[s.DayPeriodsStandalone=2]="DayPeriodsStandalone",s[s.DaysFormat=3]="DaysFormat",s[s.DaysStandalone=4]="DaysStandalone",s[s.MonthsFormat=5]="MonthsFormat",s[s.MonthsStandalone=6]="MonthsStandalone",s[s.Eras=7]="Eras",s[s.FirstDayOfWeek=8]="FirstDayOfWeek",s[s.WeekendRange=9]="WeekendRange",s[s.DateFormat=10]="DateFormat",s[s.TimeFormat=11]="TimeFormat",s[s.DateTimeFormat=12]="DateTimeFormat",s[s.NumberSymbols=13]="NumberSymbols",s[s.NumberFormats=14]="NumberFormats",s[s.CurrencyCode=15]="CurrencyCode",s[s.CurrencySymbol=16]="CurrencySymbol",s[s.CurrencyName=17]="CurrencyName",s[s.Currencies=18]="Currencies",s[s.Directionality=19]="Directionality",s[s.PluralCase=20]="PluralCase",s[s.ExtraData=21]="ExtraData"}(Lc||(Lc={}));const S2=["zero","one","two","few","many"];const gr="en-US",Bl={marker:"element"},Ws={marker:"ICU"};var Ao;!function(s){s[s.SHIFT=2]="SHIFT",s[s.APPEND_EAGERLY=1]="APPEND_EAGERLY",s[s.COMMENT=2]="COMMENT"}(Ao||(Ao={}));let k2=gr;function P2(s){U(s,"Expected localeId to be defined"),"string"==typeof s&&(k2=s.toLowerCase().replace(/_/g,"-"))}function _1(s,c,g){const O=c.insertBeforeIndex,F=Array.isArray(O)?O[0]:O;return null===F?Uu(s,0,g):ca(g[F])}function g1(s,c,g,O,F){const Y=c.insertBeforeIndex;if(Array.isArray(Y)){let se=O,Oe=null;if(3&c.type||(Oe=se,se=F),null!==se&&-1===c.componentOffset)for(let Ze=1;Ze<Y.length;Ze++){Zc(s,se,g[Y[Ze]],Oe,!1)}}}function v1(s,c){if(s.push(c),s.length>1)for(let g=s.length-2;g>=0;g--){const O=s[g];R2(O)||b1(O,c)&&null===B2(O)&&ou(O,c.index)}}function R2(s){return!(64&s.type)}function b1(s,c){return R2(c)||s.index>c.index}function B2(s){const c=s.insertBeforeIndex;return Array.isArray(c)?c[0]:c}function ou(s,c){const g=s.insertBeforeIndex;Array.isArray(g)?g[0]=c:(vh(_1,g1),s.insertBeforeIndex=c)}function il(s,c){const g=s.data[c];return null===g||"string"==typeof g?null:g.hasOwnProperty("currentCaseLViewIndex")?g:g.value}function Pp(s,c,g){const O=L0(s,g,64,null,null);return v1(c,O),O}function wd(s,c){const g=c[s.currentCaseLViewIndex];return null===g?g:g<0?~g:g}function y1(s){return s>>>17}function x1(s){return(131070&s)>>>1}let Fl=0,nl=0;function Dd(s,c,g,O){const F=g[11];let se,Y=null;for(let Oe=0;Oe<c.length;Oe++){const Ze=c[Oe];if("string"==typeof Ze){const ut=c[++Oe];null===g[ut]&&(g[ut]=uh(F,Ze))}else if("number"==typeof Ze)switch(1&Ze){case 0:const ut=y1(Ze);let It,Zt;if(null===Y&&(Y=ut,se=j1(F,O)),ut===Y?(It=O,Zt=se):(It=null,Zt=ca(g[ut])),null!==Zt){const on=x1(Ze);Zc(F,Zt,g[on],It,!1);const Mn=il(s,on);if(null!==Mn&&"object"==typeof Mn){const Nn=wd(Mn,g);null!==Nn&&Dd(s,Mn.create[Nn],g,g[Mn.anchorIdx])}}break;case 1:const pi=Ze>>>1,Mi=c[++Oe],Bi=c[++Oe];ip(F,mi(pi,g),null,null,Mi,Bi,null)}else switch(Ze){case Ws:const ut=c[++Oe],It=c[++Oe];if(null===g[It]){po(g[It]=xm(F,ut),g)}break;case Bl:const Zt=c[++Oe],pi=c[++Oe];if(null===g[pi]){po(g[pi]=Y1(F,Zt,null),g)}}}}function M1(s,c,g,O,F){for(let Y=0;Y<g.length;Y++){const se=g[Y],Oe=g[++Y];if(se&F){let Ze="";for(let ut=Y+1;ut<=Y+Oe;ut++){const It=g[ut];if("string"==typeof It)Ze+=It;else if("number"==typeof It)if(It<0)Ze+=te(c[O-It]);else{const Zt=It>>>2;switch(3&It){case 1:const pi=g[++ut],Mi=g[++ut],Bi=s.data[Zt];"string"==typeof Bi?ip(c[11],c[Zt],null,Bi,pi,Ze,Mi):Us(s,Bi,c,pi,Ze,c[11],Mi,!1);break;case 0:const on=c[Zt];null!==on&&bl(c[11],on,Ze);break;case 2:p3(s,il(s,Zt),c,Ze);break;case 3:z2(s,il(s,Zt),O,c)}}}}else{const Ze=g[Y+1];if(Ze>0&&3==(3&Ze)){const It=il(s,Ze>>>2);c[It.currentCaseLViewIndex]<0&&z2(s,It,O,c)}}Y+=Oe}}function z2(s,c,g,O){let F=O[c.currentCaseLViewIndex];if(null!==F){let Y=Fl;F<0&&(F=O[c.currentCaseLViewIndex]=~F,Y=-1),M1(s,O,c.update[F],g,Y)}}function p3(s,c,g,O){const F=function Td(s,c){let g=s.cases.indexOf(c);if(-1===g)switch(s.type){case 1:{const O=function f1(s,c){const g=au(c)(parseInt(s,10)),O=S2[g];return void 0!==O?O:"other"}(c,function Nl(){return k2}());g=s.cases.indexOf(O),-1===g&&"other"!==O&&(g=s.cases.indexOf("other"));break}case 0:g=s.cases.indexOf("other")}return-1===g?null:g}(c,O);if(wd(c,g)!==F&&(H2(s,c,g),g[c.currentCaseLViewIndex]=null===F?null:~F,null!==F)){const se=g[c.anchorIdx];se&&Dd(s,c.create[F],g,se)}}function H2(s,c,g){let O=wd(c,g);if(null!==O){const F=c.remove[O];for(let Y=0;Y<F.length;Y++){const se=F[Y];if(se>0){const Oe=mi(se,g);null!==Oe&&bh(g[11],Oe)}else H2(s,il(s,~se),g)}}}function U2(){const s=[];let g,O,c=-1;function Y(Oe,Ze){c=0;const ut=wd(Oe,Ze);O=null!==ut?Oe.remove[ut]:Lt}function se(){if(c<O.length){const Oe=O[c++];if(Oe>0)return g[Oe];{s.push(c,O);const Ze=~Oe;return Y(g[1].data[Ze],g),se()}}return 0===s.length?null:(O=s.pop(),c=s.pop(),se())}return function F(Oe,Ze){for(g=Ze;s.length;)s.pop();return Y(Oe.value,Ze),se}}const Oc=/\ufffd(\d+):?\d*\ufffd/gi,W2=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,f3=/\ufffd(\d+)\ufffd/,Rp=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,A_=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,_3=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,g3=/\uE500/g;function hu(s,c,g,O,F,Y){const se=fs(),Oe=[],Ze=[],ut=[[]];F=function mu(s,c){if(function uu(s){return-1===s}(c))return Z2(s);{const g=s.indexOf(`:${c}\ufffd`)+2+c.toString().length,O=s.search(new RegExp(`\ufffd\\/\\*\\d+:${c}\ufffd`));return Z2(s.substring(g,O))}}(F,Y);const It=function du(s){return s.replace(g3," ")}(F).split(_3);for(let Zt=0;Zt<It.length;Zt++){let pi=It[Zt];if(0==(1&Zt)){const Mi=Bp(pi);for(let Bi=0;Bi<Mi.length;Bi++){let on=Mi[Bi];if(0==(1&Bi)){const un=on;""!==un&&K2(s,se,ut[0],Oe,Ze,g,un)}else{const un=on;if("object"!=typeof un)throw new Error(`Unable to parse ICU expression in "${F}" message.`);j2(s,g,Ze,c,un,D1(s,se,ut[0],g,Oe,"",!0).index)}}}else{const Mi=47===pi.charCodeAt(0),on=(pi.charCodeAt(Mi?1:0),22+Number.parseInt(pi.substring(Mi?2:1)));if(Mi)ut.shift(),Oa(fs(),!1);else{const un=Pp(s,ut[0],on);ut.unshift([]),Oa(un,!0)}}}s.data[O]={create:Oe,update:Ze}}function D1(s,c,g,O,F,Y,se){const Oe=Zh(s,O,1,null);let Ze=Oe<<Ao.SHIFT,ut=fs();c===ut&&(ut=null),null===ut&&(Ze|=Ao.APPEND_EAGERLY),se&&(Ze|=Ao.COMMENT,function G1(s){void 0===sh&&(sh=s())}(U2)),F.push(Ze,null===Y?"":Y);const It=L0(s,Oe,se?32:1,null===Y?"":Y,null);v1(g,It);const Zt=It.index;return Oa(It,!1),null!==ut&&c!==ut&&function m3(s,c){let g=s.insertBeforeIndex;null===g?(vh(_1,g1),g=s.insertBeforeIndex=[null,c]):(o(Array.isArray(g),!0,"Expecting array here"),g.push(c))}(ut,Zt),It}function K2(s,c,g,O,F,Y,se){const Oe=se.match(Oc),Ze=D1(s,c,g,Y,O,Oe?null:se,!1);Oe&&rl(F,se,Ze.index,null,0,null)}function rl(s,c,g,O,F,Y){const se=s.length,Oe=se+1;s.push(null,null);const Ze=se+2,ut=c.split(Oc);let It=0;for(let Zt=0;Zt<ut.length;Zt++){const pi=ut[Zt];if(1&Zt){const Mi=F+parseInt(pi,10);s.push(-1-Mi),It|=zl(Mi)}else""!==pi&&s.push(pi)}return s.push(g<<2|(O?1:0)),O&&s.push(O,Y),s[se]=It,s[Oe]=s.length-Ze,It}function Y2(s){let c=0;for(let g=0;g<s.length;g++){const O=s[g];"number"==typeof O&&O<0&&c++}return c}function zl(s){return 1<<Math.min(s,31)}function Z2(s){let c,Y,g="",O=0,F=!1;for(;null!==(c=A_.exec(s));)F?c[0]===`\ufffd/*${Y}\ufffd`&&(O=c.index,F=!1):(g+=s.substring(O,c.index+c[0].length),Y=c[1],F=!0);return g+=s.slice(O),g}function j2(s,c,g,O,F,Y){let se=0;const Oe={type:F.type,currentCaseLViewIndex:Zh(s,c,1,null),anchorIdx:Y,cases:[],create:[],remove:[],update:[]};(function n(s,c,g){s.push(zl(c.mainBinding),2,-1-c.mainBinding,g<<2|2)})(g,F,Y),function N2(s,c,g){const O=s.data[c];null===O?s.data[c]=g:O.value=g}(s,Y,Oe);const Ze=F.values;for(let ut=0;ut<Ze.length;ut++){const It=Ze[ut],Zt=[];for(let pi=0;pi<It.length;pi++){const Mi=It[pi];if("string"!=typeof Mi){const Bi=Zt.push(Mi)-1;It[pi]=`\x3c!--\ufffd${Bi}\ufffd--\x3e`}}se=q2(s,Oe,c,g,O,F.cases[ut],It.join(""),Zt)|se}se&&function b(s,c,g){s.push(c,1,g<<2|3)}(g,se,Y)}function Q2(s){const c=[],g=[];let O=1,F=0;const Y=Bp(s=s.replace(Rp,function(se,Oe,Ze){return O="select"===Ze?0:1,F=parseInt(Oe.slice(1),10),""}));for(let se=0;se<Y.length;){let Oe=Y[se++].trim();1===O&&(Oe=Oe.replace(/\s*(?:=)?(\w+)\s*/,"$1")),Oe.length&&c.push(Oe);const Ze=Bp(Y[se++]);c.length>g.length&&g.push(Ze)}return{type:O,mainBinding:F,cases:c,values:g}}function Bp(s){if(!s)return[];let c=0;const g=[],O=[],F=/[{}]/g;let Y;for(F.lastIndex=0;Y=F.exec(s);){const Oe=Y.index;if("}"==Y[0]){if(g.pop(),0==g.length){const Ze=s.substring(c,Oe);Rp.test(Ze)?O.push(Q2(Ze)):O.push(Ze),c=Oe+1}}else{if(0==g.length){const Ze=s.substring(c,Oe);O.push(Ze),c=Oe+1}g.push("{")}}const se=s.substring(c);return O.push(se),O}function q2(s,c,g,O,F,Y,se,Oe){const Ze=[],ut=[],It=[];c.cases.push(Y),c.create.push(Ze),c.remove.push(ut),c.update.push(It);const pi=e2(Yu()).getInertBodyElement(se),Mi=n0(pi)||pi;return Mi?P4(s,c,g,O,Ze,ut,It,Mi,F,Oe,0):0}function P4(s,c,g,O,F,Y,se,Oe,Ze,ut,It){let Zt=0,pi=Oe.firstChild;for(;pi;){const Mi=Zh(s,g,1,null);switch(pi.nodeType){case Node.ELEMENT_NODE:const Bi=pi,on=Bi.tagName.toLowerCase();if(Qc.hasOwnProperty(on)){B(F,Bl,on,Ze,Mi),s.data[Mi]=on;const ji=Bi.attributes;for(let Yn=0;Yn<ji.length;Yn++){const Zr=ji.item(Yn),Lo=Zr.name.toLowerCase();Zr.value.match(Oc)?Gd.hasOwnProperty(Lo)&&(n2[Lo]?rl(se,Zr.value,Mi,Zr.name,0,t2):rl(se,Zr.value,Mi,Zr.name,0,null)):j(F,Mi,Zr)}Zt=P4(s,c,g,O,F,Y,se,pi,Mi,ut,It+1)|Zt,u(Y,Mi,It)}break;case Node.TEXT_NODE:const un=pi.textContent||"",Mn=un.match(Oc);B(F,null,Mn?"":un,Ze,Mi),u(Y,Mi,It),Mn&&(Zt=rl(se,un,Mi,null,0,null)|Zt);break;case Node.COMMENT_NODE:const Nn=f3.exec(pi.textContent||"");if(Nn){const Yn=ut[parseInt(Nn[1],10)];B(F,Ws,"",Ze,Mi),j2(s,g,O,Ze,Yn,Mi),r(Y,Mi,It)}}pi=pi.nextSibling}return Zt}function u(s,c,g){0===g&&s.push(c)}function r(s,c,g){0===g&&(s.push(~c),s.push(c))}function B(s,c,g,O,F){null!==c&&s.push(c),s.push(g,F,function su(s,c,g){return s|c<<17|g<<1}(0,O,F))}function j(s,c,g){s.push(c<<1|1,g.name,g.value)}const Se=/\[(\ufffd.+?\ufffd?)\]/,mt=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,xt=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,At=/{([A-Z0-9_]+)}/g,qt=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,Ft=/\/\*/,Ci=/\d+\:(\d+)/;function Xi(s,c,g=-1){const O=zn(),F=Fi(),Y=22+s,se=Et(O.consts,c),Oe=fs();O.firstCreatePass&&hu(O,null===Oe?0:Oe.index,F,Y,se,g);const Ze=O.data[Y],It=Nu(O,Oe===F[6]?null:Oe,F),Zt=Oe&&8&Oe.type?F[Oe.index]:null;(function F2(s,c,g,O){const F=s[11];for(let Y=0;Y<c.length;Y++){const se=c[Y++],Oe=c[Y],Ze=(se&Ao.COMMENT)===Ao.COMMENT,ut=(se&Ao.APPEND_EAGERLY)===Ao.APPEND_EAGERLY,It=se>>>Ao.SHIFT;let Zt=s[It];null===Zt&&(Zt=s[It]=Ze?F.createComment(Oe):uh(F,Oe)),ut&&null!==g&&Zc(F,g,Zt,O,!1)}})(F,Ze.create,It,Zt),Vl(!0)}function vi(){Vl(!1)}function Ji(s,c,g){Xi(s,c,g),vi()}function rn(s,c){const g=zn();!function G2(s,c,g){const F=La().index,Y=[];if(s.firstCreatePass&&null===s.data[c]){for(let se=0;se<g.length;se+=2){const Oe=g[se],Ze=g[se+1];if(""!==Ze){if(W2.test(Ze))throw new Error(`ICU expressions are not supported in attributes. Message: "${Ze}".`);rl(Y,Ze,F,Oe,Y2(Y),null)}}s.data[c]=Y}}(g,s+22,Et(g.consts,c))}function nn(s){return function E1(s){s&&(Fl|=1<<Math.min(nl,31)),nl++}(Yo(Fi(),ts(),s)),nn}function fn(s){!function cu(s,c,g){if(nl>0){const O=s.data[g];M1(s,c,Array.isArray(O)?O:O.update,co()-nl-1,Fl)}Fl=0,nl=0}(zn(),Fi(),s+22)}function vn(s,c={}){return function Pi(s,c={}){let g=s;if(Se.test(s)){const O={},F=[0];g=g.replace(mt,(Y,se,Oe)=>{const Ze=se||Oe,ut=O[Ze]||[];if(ut.length||(Ze.split("|").forEach(on=>{const un=on.match(Ci),Mn=un?parseInt(un[1],10):0,Nn=Ft.test(on);ut.push([Mn,Nn,on])}),O[Ze]=ut),!ut.length)throw new Error(`i18n postprocess: unmatched placeholder - ${Ze}`);const It=F[F.length-1];let Zt=0;for(let on=0;on<ut.length;on++)if(ut[on][0]===It){Zt=on;break}const[pi,Mi,Bi]=ut[Zt];return Mi?F.pop():It!==pi&&F.push(pi),ut.splice(Zt,1),Bi})}return Object.keys(c).length&&(g=g.replace(xt,(O,F,Y,se,Oe,Ze)=>c.hasOwnProperty(Y)?`${F}${c[Y]}${Ze}`:O),g=g.replace(At,(O,F)=>c.hasOwnProperty(F)?c[F]:O),g=g.replace(qt,(O,F)=>{if(c.hasOwnProperty(F)){const Y=c[F];if(!Y.length)throw new Error(`i18n postprocess: unmatched ICU - ${O} with key: ${F}`);return Y.shift()}return O})),g}(s,c)}function xa(s,c,g,O,F){if(s=k(s),Array.isArray(s))for(let Y=0;Y<s.length;Y++)xa(s[Y],c,g,O,F);else{const Y=zn(),se=Fi();let Oe=cd(s)?s:k(s.provide),Ze=d2(s);const ut=La(),It=1048575&ut.providerIndexes,Zt=ut.directiveStart,pi=ut.providerIndexes>>20;if(cd(s)||!s.multi){const Mi=new Ri(Ze,F,Al),Bi=ma(Oe,c,F?It:It+pi,Zt);-1===Bi?(Sd(Es(ut,se),Y,Oe),na(Y,s,c.length),c.push(Oe),ut.directiveStart++,ut.directiveEnd++,F&&(ut.providerIndexes+=1048576),g.push(Mi),se.push(Mi)):(g[Bi]=Mi,se[Bi]=Mi)}else{const Mi=ma(Oe,c,It+pi,Zt),Bi=ma(Oe,c,It,It+pi),on=Mi>=0&&g[Mi],un=Bi>=0&&g[Bi];if(F&&!un||!F&&!on){Sd(Es(ut,se),Y,Oe);const Mn=function ga(s,c,g,O,F){const Y=new Ri(s,g,Al);return Y.multi=[],Y.index=c,Y.componentProviders=0,Ga(Y,F,O&&!g),Y}(F?Tn:yn,g.length,F,O,Ze);!F&&un&&(g[Bi].providerFactory=Mn),na(Y,s,c.length,0),c.push(Oe),ut.directiveStart++,ut.directiveEnd++,F&&(ut.providerIndexes+=1048576),g.push(Mn),se.push(Mn)}else{na(Y,s,Mi>-1?Mi:Bi,Ga(g[F?Bi:Mi],Ze,!F&&O))}!F&&O&&un&&g[Bi].componentProviders++}}}function na(s,c,g,O){const F=cd(c),Y=function zh(s){return!!s.useClass}(c);if(F||Y){const Ze=(Y?k(c.useClass):c).prototype.ngOnDestroy;if(Ze){const ut=s.destroyHooks||(s.destroyHooks=[]);if(!F&&c.multi){const It=ut.indexOf(g);-1===It?ut.push(g,[O,Ze]):ut[It+1].push(O,Ze)}else ut.push(g,Ze)}}}function Ga(s,c,g){return g&&s.componentProviders++,s.multi.push(c)-1}function ma(s,c,g,O){for(let F=g;F<O;F++)if(c[F]===s)return F;return-1}function yn(s,c,g,O){return xn(this.multi,[])}function Tn(s,c,g,O){const F=this.multi;let Y;if(this.providerFactory){const se=this.providerFactory.componentProviders,Oe=vc(g,g[1],this.providerFactory.index,O);Y=Oe.slice(0,se),xn(F,Y);for(let Ze=se;Ze<Oe.length;Ze++)Y.push(Oe[Ze])}else Y=[],xn(F,Y);return Y}function xn(s,c){for(let g=0;g<s.length;g++){const O=s[g];c.push(O())}return c}function Gr(s,c=[]){return g=>{g.providersResolver=(O,F)=>function ln(s,c,g){const O=zn();if(O.firstCreatePass){const F=Vn(s);xa(g,O.data,O.blueprint,F,!0),xa(c,O.data,O.blueprint,F,!1)}}(O,F?F(s):s,c)}}class da{}class Aa{}function vo(s,c){return new vr(s,c??null)}class vr extends da{constructor(c,g){super(),this._parent=g,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new xf(this);const O=xe(c);this._bootstrapComponents=ic(O.bootstrap),this._r3Injector=hi(c,g,[{provide:da,useValue:this},{provide:dd,useValue:this.componentFactoryResolver}],P(c),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(c)}get injector(){return this._r3Injector}destroy(){const c=this._r3Injector;!c.destroyed&&c.destroy(),this.destroyCbs.forEach(g=>g()),this.destroyCbs=null}onDestroy(c){this.destroyCbs.push(c)}}class Xa extends Aa{constructor(c){super(),this.moduleType=c}create(c){return new vr(this.moduleType,c)}}class dr extends da{constructor(c,g,O){super(),this.componentFactoryResolver=new xf(this),this.instance=null;const F=new Xc([...c,{provide:da,useValue:this},{provide:dd,useValue:this.componentFactoryResolver}],g||qc(),O,new Set(["environment"]));this.injector=F,F.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(c){this.injector.onDestroy(c)}}function Sc(s,c,g=null){return new dr(s,c,g).injector}class Io{constructor(c){this._injector=c,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(c){if(!c.standalone)return null;if(!this.cachedInjectors.has(c.id)){const g=o0(0,c.type),O=g.length>0?Sc([g],this._injector,`Standalone[${c.type.name}]`):null;this.cachedInjectors.set(c.id,O)}return this.cachedInjectors.get(c.id)}ngOnDestroy(){try{for(const c of this.cachedInjectors.values())null!==c&&c.destroy()}finally{this.cachedInjectors.clear()}}}function kc(s){s.getStandaloneInjector=c=>c.get(Io).getOrCreateStandaloneInjector(s)}function I_(s,c,g,O){return Nt(()=>{const F=s;null!==c&&(F.hasOwnProperty("decorators")&&void 0!==F.decorators?F.decorators.push(...c):F.decorators=c),null!==g&&(F.ctorParameters=g),null!==O&&(F.hasOwnProperty("propDecorators")&&void 0!==F.propDecorators?F.propDecorators={...F.propDecorators,...O}:F.propDecorators=O)})}function L_(s,c,g){const O=Fa()+s,F=Fi();return F[O]===Hn?Tc(F,O,g?c.call(g):c()):$h(F,O)}function O_(s,c,g,O){return R_(Fi(),Fa(),s,c,g,O)}function v3(s,c,g,O,F){return R4(Fi(),Fa(),s,c,g,O,F)}function S_(s,c,g,O,F,Y){return B_(Fi(),Fa(),s,c,g,O,F,Y)}function t6(s,c,g,O,F,Y,se){return N_(Fi(),Fa(),s,c,g,O,F,Y,se)}function i6(s,c,g,O,F,Y,se,Oe){const Ze=Fa()+s,ut=Fi(),It=rc(ut,Ze,g,O,F,Y);return Yo(ut,Ze+4,se)||It?Tc(ut,Ze+5,Oe?c.call(Oe,g,O,F,Y,se):c(g,O,F,Y,se)):$h(ut,Ze+5)}function k_(s,c,g,O,F,Y,se,Oe,Ze){const ut=Fa()+s,It=Fi(),Zt=rc(It,ut,g,O,F,Y);return pd(It,ut+4,se,Oe)||Zt?Tc(It,ut+6,Ze?c.call(Ze,g,O,F,Y,se,Oe):c(g,O,F,Y,se,Oe)):$h(It,ut+6)}function P_(s,c,g,O,F,Y,se,Oe,Ze,ut){const It=Fa()+s,Zt=Fi();let pi=rc(Zt,It,g,O,F,Y);return z0(Zt,It+4,se,Oe,Ze)||pi?Tc(Zt,It+7,ut?c.call(ut,g,O,F,Y,se,Oe,Ze):c(g,O,F,Y,se,Oe,Ze)):$h(Zt,It+7)}function n6(s,c,g,O,F,Y,se,Oe,Ze,ut,It){const Zt=Fa()+s,pi=Fi(),Mi=rc(pi,Zt,g,O,F,Y);return rc(pi,Zt+4,se,Oe,Ze,ut)||Mi?Tc(pi,Zt+8,It?c.call(It,g,O,F,Y,se,Oe,Ze,ut):c(g,O,F,Y,se,Oe,Ze,ut)):$h(pi,Zt+8)}function a6(s,c,g,O){return F_(Fi(),Fa(),s,c,g,O)}function Np(s,c){const g=s[c];return g===Hn?void 0:g}function R_(s,c,g,O,F,Y){const se=c+g;return Yo(s,se,F)?Tc(s,se+1,Y?O.call(Y,F):O(F)):Np(s,se+1)}function R4(s,c,g,O,F,Y,se){const Oe=c+g;return pd(s,Oe,F,Y)?Tc(s,Oe+2,se?O.call(se,F,Y):O(F,Y)):Np(s,Oe+2)}function B_(s,c,g,O,F,Y,se,Oe){const Ze=c+g;return z0(s,Ze,F,Y,se)?Tc(s,Ze+3,Oe?O.call(Oe,F,Y,se):O(F,Y,se)):Np(s,Ze+3)}function N_(s,c,g,O,F,Y,se,Oe,Ze){const ut=c+g;return rc(s,ut,F,Y,se,Oe)?Tc(s,ut+4,Ze?O.call(Ze,F,Y,se,Oe):O(F,Y,se,Oe)):Np(s,ut+4)}function F_(s,c,g,O,F,Y){let se=c+g,Oe=!1;for(let Ze=0;Ze<F.length;Ze++)Yo(s,se++,F[Ze])&&(Oe=!0);return Oe?Tc(s,se,O.apply(Y,F)):Np(s,se)}function z_(s,c){const g=zn();let O;const F=s+22;g.firstCreatePass?(O=function r6(s,c){if(c)for(let g=c.length-1;g>=0;g--){const O=c[g];if(s===O.name)return O}}(c,g.pipeRegistry),g.data[F]=O,O.onDestroy&&(g.destroyHooks||(g.destroyHooks=[])).push(F,O.onDestroy)):O=g.data[F];const Y=O.factory||(O.factory=Da(O.type)),se=ze(Al);try{const Oe=cl(!1),Ze=Y();return cl(Oe),function v4(s,c,g,O){g>=s.data.length&&(s.data[g]=null,s.blueprint[g]=null),c[g]=O}(g,Fi(),F,Ze),Ze}finally{ze(se)}}function H_(s,c,g){const O=s+22,F=Fi(),Y=Ki(F,O);return Fp(F,O)?R_(F,Fa(),c,Y.transform,g,Y):Y.transform(g)}function B4(s,c,g,O){const F=s+22,Y=Fi(),se=Ki(Y,F);return Fp(Y,F)?R4(Y,Fa(),c,se.transform,g,O,se):se.transform(g,O)}function U_(s,c,g,O,F){const Y=s+22,se=Fi(),Oe=Ki(se,Y);return Fp(se,Y)?B_(se,Fa(),c,Oe.transform,g,O,F,Oe):Oe.transform(g,O,F)}function o6(s,c,g,O,F,Y){const se=s+22,Oe=Fi(),Ze=Ki(Oe,se);return Fp(Oe,se)?N_(Oe,Fa(),c,Ze.transform,g,O,F,Y,Ze):Ze.transform(g,O,F,Y)}function V_(s,c,g){const O=s+22,F=Fi(),Y=Ki(F,O);return Fp(F,O)?F_(F,Fa(),c,Y.transform,g,Y):Y.transform.apply(Y,g)}function Fp(s,c){return s[1].data[c].pure}Io.\u0275prov=Ye({token:Io,providedIn:"environment",factory:()=>new Io(Bt(tc))});class W_ extends e.x{constructor(c=!1){super(),this.__isAsync=c}emit(c){super.next(c)}subscribe(c,g,O){let F=c,Y=g||(()=>null),se=O;if(c&&"object"==typeof c){const Ze=c;F=Ze.next?.bind(Ze),Y=Ze.error?.bind(Ze),se=Ze.complete?.bind(Ze)}this.__isAsync&&(Y=b3(Y),F&&(F=b3(F)),se&&(se=b3(se)));const Oe=super.subscribe({next:F,error:Y,complete:se});return c instanceof t.w0&&c.add(Oe),Oe}}function b3(s){return c=>{setTimeout(s,void 0,c)}}const Ad=W_;function K_(){return this._results[a1()]()}class y3{constructor(c=!1){this._emitDistinctChangesOnly=c,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const g=a1(),O=y3.prototype;O[g]||(O[g]=K_)}get changes(){return this._changes||(this._changes=new Ad)}get(c){return this._results[c]}map(c){return this._results.map(c)}filter(c){return this._results.filter(c)}find(c){return this._results.find(c)}reduce(c,g){return this._results.reduce(c,g)}forEach(c){this._results.forEach(c)}some(c){return this._results.some(c)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(c,g){const O=this;O.dirty=!1;const F=Fn(c);(this._changesDetected=!function ya(s,c,g){if(s.length!==c.length)return!1;for(let O=0;O<s.length;O++){let F=s[O],Y=c[O];if(g&&(F=g(F),Y=g(Y)),Y!==F)return!1}return!0}(O._results,F,g))&&(O._results=F,O.length=F.length,O.last=F[this.length-1],O.first=F[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}class tm{}tm.__NG_ELEMENT_ID__=function l6(){return im(La(),Fi())};const s6=tm,c6=class extends s6{constructor(c,g,O){super(),this._declarationLView=c,this._declarationTContainer=g,this.elementRef=O}createEmbeddedView(c,g){const O=this._declarationTContainer.tViews,F=md(this._declarationLView,O,c,16,null,O.declTNode,null,null,null,null,g||null),Y=this._declarationLView[this._declarationTContainer.index];F[17]=Y;const se=this._declarationLView[19];return null!==se&&(F[19]=se.createEmbeddedView(O)),Qm(O,F,c),new Qh(F)}};function im(s,c){return 4&s.type?new c6(c,s,hd(s,c)):null}class zp{}zp.__NG_ELEMENT_ID__=function d6(){return j_(La(),Fi())};const G_=zp,Y_=class extends G_{constructor(c,g,O){super(),this._lContainer=c,this._hostTNode=g,this._hostLView=O}get element(){return hd(this._hostTNode,this._hostLView)}get injector(){return new as(this._hostTNode,this._hostLView)}get parentInjector(){const c=_c(this._hostTNode,this._hostLView);if(Ar(c)){const g=uc(c,this._hostLView),O=Co(c),F=g[1].data[O+8];return new as(F,g)}return new as(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(c){const g=Z_(this._lContainer);return null!==g&&g[c]||null}get length(){return this._lContainer.length-10}createEmbeddedView(c,g,O){let F,Y;"number"==typeof O?F=O:null!=O&&(F=O.index,Y=O.injector);const se=c.createEmbeddedView(g||{},Y);return this.insert(se,F),se}createComponent(c,g,O,F,Y){const se=c&&!dn(c);let Oe;if(se)Oe=g;else{const Zt=g||{};Oe=Zt.index,O=Zt.injector,F=Zt.projectableNodes,Y=Zt.environmentInjector||Zt.ngModuleRef}const Ze=se?c:new qh(Si(c)),ut=O||this.parentInjector;if(!Y&&null==Ze.ngModule){const pi=(se?ut:this.parentInjector).get(tc,null);pi&&(Y=pi)}const It=Ze.create(ut,F,void 0,Y);return this.insert(It.hostView,Oe),It}insert(c,g){const O=c._lView,F=O[1];if(function Fr(s){return Ra(s[3])}(O)){const It=this.indexOf(c);if(-1!==It)this.detach(It);else{const Zt=O[3],pi=new Y_(Zt,Zt[6],Zt[3]);pi.detach(pi.indexOf(c))}}const Y=this._adjustIndex(g),se=this._lContainer;Mm(F,O,se,Y);const Oe=q1(Y,se),Ze=O[11],ut=j1(Ze,se[7]);return null!==ut&&function Pu(s,c,g,O,F,Y){O[0]=F,O[6]=c,nd(s,O,g,1,F,Y)}(F,se[6],Ze,O,ut,Oe),c.attachToViewContainerRef(),os(N4(se),Y,c),c}move(c,g){return this.insert(c,g)}indexOf(c){const g=Z_(this._lContainer);return null!==g?g.indexOf(c):-1}remove(c){const g=this._adjustIndex(c,-1),O=Z1(this._lContainer,g);O&&(mo(N4(this._lContainer),g),Ru(O[1],O))}detach(c){const g=this._adjustIndex(c,-1),O=Z1(this._lContainer,g);return O&&null!=mo(N4(this._lContainer),g)?new Qh(O):null}_adjustIndex(c,g=0){return c??this.length+g}};function Z_(s){return s[8]}function N4(s){return s[8]||(s[8]=[])}function j_(s,c){let g;const O=c[s.index];if(Ra(O))g=O;else{let F;if(8&s.type)F=ca(O);else{const Y=c[11];F=Y.createComment("");const se=Qe(s,c);Zc(Y,j1(Y,se),F,function Dm(s,c){return s.nextSibling(c)}(Y,se),!1)}c[s.index]=g=np(O,c,F,s),P0(c,g)}return new Y_(g,s,c)}class F4{constructor(c){this.queryList=c,this.matches=null}clone(){return new F4(this.queryList)}setDirty(){this.queryList.setDirty()}}class z4{constructor(c=[]){this.queries=c}createEmbeddedView(c){const g=c.queries;if(null!==g){const O=null!==c.contentQueries?c.contentQueries[0]:g.length,F=[];for(let Y=0;Y<O;Y++){const se=g.getByIndex(Y),Oe=this.queries[se.indexInDeclarationView];F.push(Oe.clone())}return new z4(F)}return null}insertView(c){this.dirtyQueriesWithMatches(c)}detachView(c){this.dirtyQueriesWithMatches(c)}dirtyQueriesWithMatches(c){for(let g=0;g<this.queries.length;g++)null!==ng(c,g).matches&&this.queries[g].setDirty()}}class q_{constructor(c,g,O=null){this.predicate=c,this.flags=g,this.read=O}}class H4{constructor(c=[]){this.queries=c}elementStart(c,g){for(let O=0;O<this.queries.length;O++)this.queries[O].elementStart(c,g)}elementEnd(c){for(let g=0;g<this.queries.length;g++)this.queries[g].elementEnd(c)}embeddedTView(c){let g=null;for(let O=0;O<this.length;O++){const F=null!==g?g.length:0,Y=this.getByIndex(O).embeddedTView(c,F);Y&&(Y.indexInDeclarationView=O,null!==g?g.push(Y):g=[Y])}return null!==g?new H4(g):null}template(c,g){for(let O=0;O<this.queries.length;O++)this.queries[O].template(c,g)}getByIndex(c){return this.queries[c]}get length(){return this.queries.length}track(c){this.queries.push(c)}}class U4{constructor(c,g=-1){this.metadata=c,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=g}elementStart(c,g){this.isApplyingToNode(g)&&this.matchTNode(c,g)}elementEnd(c){this._declarationNodeIndex===c.index&&(this._appliesToNextNode=!1)}template(c,g){this.elementStart(c,g)}embeddedTView(c,g){return this.isApplyingToNode(c)?(this.crossesNgTemplate=!0,this.addMatch(-c.index,g),new U4(this.metadata)):null}isApplyingToNode(c){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const g=this._declarationNodeIndex;let O=c.parent;for(;null!==O&&8&O.type&&O.index!==g;)O=O.parent;return g===(null!==O?O.index:-1)}return this._appliesToNextNode}matchTNode(c,g){const O=this.metadata.predicate;if(Array.isArray(O))for(let F=0;F<O.length;F++){const Y=O[F];this.matchTNodeWithReadOption(c,g,u6(g,Y)),this.matchTNodeWithReadOption(c,g,ns(g,c,Y,!1,!1))}else O===tm?4&g.type&&this.matchTNodeWithReadOption(c,g,-1):this.matchTNodeWithReadOption(c,g,ns(g,c,O,!1,!1))}matchTNodeWithReadOption(c,g,O){if(null!==O){const F=this.metadata.read;if(null!==F)if(F===Dl||F===zp||F===tm&&4&g.type)this.addMatch(g.index,-2);else{const Y=ns(g,c,F,!1,!1);null!==Y&&this.addMatch(g.index,Y)}else this.addMatch(g.index,O)}}addMatch(c,g){null===this.matches?this.matches=[c,g]:this.matches.push(c,g)}}function u6(s,c){const g=s.localNames;if(null!==g)for(let O=0;O<g.length;O+=2)if(g[O]===c)return g[O+1];return null}function m6(s,c,g,O){return-1===g?function V4(s,c){return 11&s.type?hd(s,c):4&s.type?im(s,c):null}(c,s):-2===g?function p6(s,c,g){if(g===Dl)return hd(c,s);if(g===tm)return im(c,s);if(g===zp)return j_(c,s)}(s,c,O):vc(s,s[1],g,c)}function X_(s,c,g,O){const F=c[19].queries[O];if(null===F.matches){const Y=s.data,se=g.matches,Oe=[];for(let Ze=0;Ze<se.length;Ze+=2){const ut=se[Ze];if(ut<0)Oe.push(null);else{const It=Y[ut];Oe.push(m6(c,It,se[Ze+1],g.metadata.read))}}F.matches=Oe}return F.matches}function W4(s,c,g,O){const F=s.queries.getByIndex(g),Y=F.matches;if(null!==Y){const se=X_(s,c,F,g);for(let Oe=0;Oe<Y.length;Oe+=2){const Ze=Y[Oe];if(Ze>0)O.push(se[Oe/2]);else{const ut=Y[Oe+1],It=c[-Ze];for(let Zt=10;Zt<It.length;Zt++){const pi=It[Zt];pi[17]===pi[3]&&W4(pi[1],pi,ut,O)}if(null!==It[9]){const Zt=It[9];for(let pi=0;pi<Zt.length;pi++){const Mi=Zt[pi];W4(Mi[1],Mi,ut,O)}}}}}return O}function nm(s){const c=Fi(),g=zn(),O=Ys();Ps(O+1);const F=ng(g,O);if(s.dirty&&function Qi(s){return 4==(4&s[2])}(c)===(2==(2&F.metadata.flags))){if(null===F.matches)s.reset([]);else{const Y=F.crossesNgTemplate?W4(g,c,O,[]):X_(g,c,F,O);s.reset(Y,h2),s.notifyOnChanges()}return!0}return!1}function J_(s,c,g){const O=zn();O.firstCreatePass&&(tg(O,new q_(s,c,g),-1),2==(2&c)&&(O.staticViewQueries=!0)),K4(O,Fi(),c)}function $_(s,c,g,O){const F=zn();if(F.firstCreatePass){const Y=La();tg(F,new q_(c,g,O),Y.index),function ig(s,c){const g=s.contentQueries||(s.contentQueries=[]),O=g.length?g[g.length-1]:-1;c!==O&&g.push(s.queries.length-1,c)}(F,s),2==(2&g)&&(F.staticContentQueries=!0)}K4(F,Fi(),g)}function eg(){return function f6(s,c){return s[19].queries[c].queryList}(Fi(),Ys())}function K4(s,c,g){const O=new y3(4==(4&g));ep(s,c,O,O.destroy),null===c[19]&&(c[19]=new z4),c[19].queries.push(new F4(O))}function tg(s,c,g){null===s.queries&&(s.queries=new H4),s.queries.track(new U4(c,g))}function ng(s,c){return s.queries.getByIndex(c)}function G4(s,c){return im(s,c)}const Os={\u0275\u0275attribute:hp,\u0275\u0275attributeInterpolate1:Pf,\u0275\u0275attributeInterpolate2:Rf,\u0275\u0275attributeInterpolate3:up,\u0275\u0275attributeInterpolate4:Bf,\u0275\u0275attributeInterpolate5:Nf,\u0275\u0275attributeInterpolate6:H0,\u0275\u0275attributeInterpolate7:Ff,\u0275\u0275attributeInterpolate8:zf,\u0275\u0275attributeInterpolateV:Hf,\u0275\u0275defineComponent:Li,\u0275\u0275defineDirective:jt,\u0275\u0275defineInjectable:Ye,\u0275\u0275defineInjector:Ve,\u0275\u0275defineNgModule:qe,\u0275\u0275definePipe:fi,\u0275\u0275directiveInject:Al,\u0275\u0275getInheritedFactory:Qs,\u0275\u0275inject:Bt,\u0275\u0275injectAttribute:bc,\u0275\u0275invalidFactory:I0,\u0275\u0275invalidFactoryDep:Je,\u0275\u0275templateRefExtractor:G4,\u0275\u0275resetView:or,\u0275\u0275HostDirectivesFeature:h4,\u0275\u0275NgOnChangesFeature:er,\u0275\u0275ProvidersFeature:Gr,\u0275\u0275CopyDefinitionFeature:d4,\u0275\u0275InheritDefinitionFeature:sp,\u0275\u0275StandaloneFeature:kc,\u0275\u0275nextContext:Yf,\u0275\u0275namespaceHTML:_i,\u0275\u0275namespaceMathML:Gt,\u0275\u0275namespaceSVG:zt,\u0275\u0275enableBindings:Pc,\u0275\u0275disableBindings:ps,\u0275\u0275elementStart:eu,\u0275\u0275elementEnd:U0,\u0275\u0275element:_p,\u0275\u0275elementContainerStart:T2,\u0275\u0275elementContainerEnd:V0,\u0275\u0275elementContainer:gp,\u0275\u0275pureFunction0:L_,\u0275\u0275pureFunction1:O_,\u0275\u0275pureFunction2:v3,\u0275\u0275pureFunction3:S_,\u0275\u0275pureFunction4:t6,\u0275\u0275pureFunction5:i6,\u0275\u0275pureFunction6:k_,\u0275\u0275pureFunction7:P_,\u0275\u0275pureFunction8:n6,\u0275\u0275pureFunctionV:a6,\u0275\u0275getCurrentView:vp,\u0275\u0275restoreView:es,\u0275\u0275listener:K0,\u0275\u0275projection:jf,\u0275\u0275syntheticHostProperty:_r,\u0275\u0275syntheticHostListener:bp,\u0275\u0275pipeBind1:H_,\u0275\u0275pipeBind2:B4,\u0275\u0275pipeBind3:U_,\u0275\u0275pipeBind4:o6,\u0275\u0275pipeBindV:V_,\u0275\u0275projectionDef:xp,\u0275\u0275hostProperty:To,\u0275\u0275property:pp,\u0275\u0275propertyInterpolate:Cp,\u0275\u0275propertyInterpolate1:G0,\u0275\u0275propertyInterpolate2:Ep,\u0275\u0275propertyInterpolate3:Mp,\u0275\u0275propertyInterpolate4:wp,\u0275\u0275propertyInterpolate5:Qf,\u0275\u0275propertyInterpolate6:qf,\u0275\u0275propertyInterpolate7:Xf,\u0275\u0275propertyInterpolate8:Jf,\u0275\u0275propertyInterpolateV:Dp,\u0275\u0275pipe:z_,\u0275\u0275queryRefresh:nm,\u0275\u0275viewQuery:J_,\u0275\u0275loadQuery:eg,\u0275\u0275contentQuery:$_,\u0275\u0275reference:mp,\u0275\u0275classMap:Sp,\u0275\u0275classMapInterpolate1:Qo,\u0275\u0275classMapInterpolate2:l1,\u0275\u0275classMapInterpolate3:hs,\u0275\u0275classMapInterpolate4:d1,\u0275\u0275classMapInterpolate5:l3,\u0275\u0275classMapInterpolate6:qo,\u0275\u0275classMapInterpolate7:ka,\u0275\u0275classMapInterpolate8:cc,\u0275\u0275classMapInterpolateV:Cd,\u0275\u0275styleMap:Zo,\u0275\u0275styleMapInterpolate1:h1,\u0275\u0275styleMapInterpolate2:kl,\u0275\u0275styleMapInterpolate3:L2,\u0275\u0275styleMapInterpolate4:iu,\u0275\u0275styleMapInterpolate5:u1,\u0275\u0275styleMapInterpolate6:Ed,\u0275\u0275styleMapInterpolate7:m1,\u0275\u0275styleMapInterpolate8:kp,\u0275\u0275styleMapInterpolateV:d3,\u0275\u0275styleProp:Op,\u0275\u0275stylePropInterpolate1:j0,\u0275\u0275stylePropInterpolate2:Pl,\u0275\u0275stylePropInterpolate3:Q0,\u0275\u0275stylePropInterpolate4:q0,\u0275\u0275stylePropInterpolate5:X0,\u0275\u0275stylePropInterpolate6:tl,\u0275\u0275stylePropInterpolate7:Ic,\u0275\u0275stylePropInterpolate8:p1,\u0275\u0275stylePropInterpolateV:h3,\u0275\u0275classProp:Rn,\u0275\u0275advance:_2,\u0275\u0275template:Uf,\u0275\u0275text:io,\u0275\u0275textInterpolate:Sl,\u0275\u0275textInterpolate1:Ac,\u0275\u0275textInterpolate2:tu,\u0275\u0275textInterpolate3:jo,\u0275\u0275textInterpolate4:bd,\u0275\u0275textInterpolate5:go,\u0275\u0275textInterpolate6:sc,\u0275\u0275textInterpolate7:yd,\u0275\u0275textInterpolate8:no,\u0275\u0275textInterpolateV:xd,\u0275\u0275i18n:Ji,\u0275\u0275i18nAttributes:rn,\u0275\u0275i18nExp:nn,\u0275\u0275i18nStart:Xi,\u0275\u0275i18nEnd:vi,\u0275\u0275i18nApply:fn,\u0275\u0275i18nPostprocess:vn,\u0275\u0275resolveWindow:Kh,\u0275\u0275resolveDocument:$d,\u0275\u0275resolveBody:af,\u0275\u0275setComponentScope:Ei,\u0275\u0275setNgModuleScope:Ne,\u0275\u0275registerNgModuleType:Wc,\u0275\u0275sanitizeHtml:Lh,\u0275\u0275sanitizeStyle:r2,\u0275\u0275sanitizeResourceUrl:Oh,\u0275\u0275sanitizeScript:o2,\u0275\u0275sanitizeUrl:a0,\u0275\u0275sanitizeUrlOrResourceUrl:kh,\u0275\u0275trustConstantHtml:r0,\u0275\u0275trustConstantResourceUrl:Ha,\u0275\u0275validateIframeAttribute:yl,forwardRef:M,resolveForwardRef:k};let am=null;function ag(s){return void 0!==s.ngModule}function rg(s){return!!xe(s)}const rm=[];let x3=!1;function og(s){return Array.isArray(s)?s.every(og):!!k(s)}function Y4(s,c={}){(function x6(s,c,g=!1){const O=Fn(c.declarations||Lt);let F=null;Object.defineProperty(s,st,{configurable:!0,get:()=>(null===F&&(F=Ii().compileNgModule(Os,`ng:///${s.name}/\u0275mod.js`,{type:s,bootstrap:Fn(c.bootstrap||Lt).map(k),declarations:O.map(k),imports:Fn(c.imports||Lt).map(k).map(j4),exports:Fn(c.exports||Lt).map(k).map(j4),schemas:c.schemas?Fn(c.schemas):null,id:c.id||null}),F.schemas||(F.schemas=[])),F)});let Y=null;Object.defineProperty(s,_t,{get:()=>{if(null===Y){const Oe=Ii();Y=Oe.compileFactory(Os,`ng:///${s.name}/\u0275fac.js`,{name:s.name,type:s,deps:ul(s),target:Oe.FactoryTarget.NgModule,typeArgumentCount:0})}return Y},configurable:!1});let se=null;Object.defineProperty(s,we,{get:()=>{if(null===se){const Oe={name:s.name,type:s,providers:c.providers||Lt,imports:[(c.imports||Lt).map(k),(c.exports||Lt).map(k)]};se=Ii().compileInjector(Os,`ng:///${s.name}/\u0275inj.js`,Oe)}return se},configurable:!1})})(s,c),void 0!==c.id&&Wc(s,c.id),function b6(s,c){rm.push({moduleType:s,ngModule:c})}(s,c)}function E6(s,c){const g=Fn(c.declarations||Lt),O=om(s);g.forEach(F=>{if((F=k(F)).hasOwnProperty(Kt)){Z4(Si(F),O)}else!F.hasOwnProperty(Ae)&&!F.hasOwnProperty(fe)&&(F.ngSelectorScope=s)})}function Z4(s,c){s.directiveDefs=()=>Array.from(c.compilation.directives).map(g=>g.hasOwnProperty(Kt)?Si(g):ki(g)).filter(g=>!!g),s.pipeDefs=()=>Array.from(c.compilation.pipes).map(g=>Gi(g)),s.schemas=c.schemas,s.tView=null}function om(s){if(rg(s))return function M6(s){const c=xe(s,!0);if(null!==c.transitiveCompileScopes)return c.transitiveCompileScopes;const g={schemas:c.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return ic(c.imports).forEach(O=>{const F=om(O);F.exported.directives.forEach(Y=>g.compilation.directives.add(Y)),F.exported.pipes.forEach(Y=>g.compilation.pipes.add(Y))}),ic(c.declarations).forEach(O=>{Gi(O)?g.compilation.pipes.add(O):g.compilation.directives.add(O)}),ic(c.exports).forEach(O=>{const F=O;if(rg(F)){const Y=om(F);Y.exported.directives.forEach(se=>{g.compilation.directives.add(se),g.exported.directives.add(se)}),Y.exported.pipes.forEach(se=>{g.compilation.pipes.add(se),g.exported.pipes.add(se)})}else Gi(F)?g.exported.pipes.add(F):g.exported.directives.add(F)}),c.transitiveCompileScopes=g,g}(s);if(Qt(s)){if(null!==(Si(s)||ki(s)))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set([s]),pipes:new Set}};if(null!==Gi(s))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set([s])}}}throw new Error(`${s.name} does not have a module def (\u0275mod property)`)}function j4(s){return ag(s)?s.ngModule:s}let Q4=0;function w6(s,c){let g=null;(function Gp(s,c){um(c)&&(xc.set(s,c),Fd.add(s))})(s,c),hg(s,c),Object.defineProperty(s,Kt,{get:()=>{if(null===g){const O=Ii();if(um(c)){const ut=[`Component '${s.name}' is not resolved:`];throw c.templateUrl&&ut.push(` - templateUrl: ${c.templateUrl}`),c.styleUrls&&c.styleUrls.length&&ut.push(` - styleUrls: ${JSON.stringify(c.styleUrls)}`),ut.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(ut.join("\n"))}const F=function g6(){return am}();let Y=c.preserveWhitespaces;void 0===Y&&(Y=null!==F&&void 0!==F.preserveWhitespaces&&F.preserveWhitespaces);let se=c.encapsulation;void 0===se&&(se=null!==F&&void 0!==F.defaultEncapsulation?F.defaultEncapsulation:ri.Emulated);const Oe=c.templateUrl||`ng:///${s.name}/template.html`,Ze={...q4(s,c),typeSourceSpan:O.createParseSourceSpan("Component",s.name,Oe),template:c.template||"",preserveWhitespaces:Y,styles:c.styles||Lt,animations:c.animations,declarations:[],changeDetection:c.changeDetection,encapsulation:se,interpolation:c.interpolation,viewProviders:c.viewProviders||null,isStandalone:!!c.standalone};Q4++;try{if(Ze.usesInheritance&&X4(s),g=O.compileComponent(Os,Oe,Ze),c.standalone){const ut=Fn(c.imports||Lt),{directiveDefs:It,pipeDefs:Zt}=function T6(s,c){let g=null,O=null;return{directiveDefs:()=>{if(null===g){g=[Si(s)];const se=new Set;for(const Oe of c){const Ze=k(Oe);if(!se.has(Ze))if(se.add(Ze),xe(Ze)){const ut=om(Ze);for(const It of ut.exported.directives){const Zt=Si(It)||ki(It);Zt&&!se.has(It)&&(se.add(It),g.push(Zt))}}else{const ut=Si(Ze)||ki(Ze);ut&&g.push(ut)}}}return g},pipeDefs:()=>{if(null===O){O=[];const se=new Set;for(const Oe of c){const Ze=k(Oe);if(!se.has(Ze))if(se.add(Ze),xe(Ze)){const ut=om(Ze);for(const It of ut.exported.pipes){const Zt=Gi(It);Zt&&!se.has(It)&&(se.add(It),O.push(Zt))}}else{const ut=Gi(Ze);ut&&O.push(ut)}}}return O}}}(s,ut);g.directiveDefs=It,g.pipeDefs=Zt,g.dependencies=()=>ut.map(k)}}finally{Q4--}if(0===Q4&&function y6(){if(!x3){x3=!0;try{for(let s=rm.length-1;s>=0;s--){const{moduleType:c,ngModule:g}=rm[s];g.declarations&&g.declarations.every(og)&&(rm.splice(s,1),E6(c,g))}}finally{x3=!1}}}(),function w3(s){return void 0!==s.ngSelectorScope}(s)){const ut=om(s.ngSelectorScope);Z4(g,ut)}if(c.schemas){if(!c.standalone)throw new Error(`The 'schemas' was specified for the ${ne(s)} but is only valid on a component that is standalone.`);g.schemas=c.schemas}else c.standalone&&(g.schemas=[])}return g},configurable:!1})}function lg(s,c){let g=null;hg(s,c||{}),Object.defineProperty(s,Ae,{get:()=>{if(null===g){const O=dg(s,c||{});g=Ii().compileDirective(Os,O.sourceMapUrl,O.metadata)}return g},configurable:!1})}function dg(s,c){const g=s&&s.name,O=`ng:///${g}/\u0275dir.js`,F=Ii(),Y=q4(s,c);return Y.typeSourceSpan=F.createParseSourceSpan("Directive",g,O),Y.usesInheritance&&X4(s),{metadata:Y,sourceMapUrl:O}}function hg(s,c){let g=null;Object.defineProperty(s,_t,{get:()=>{if(null===g){const O=dg(s,c),F=Ii();g=F.compileFactory(Os,`ng:///${s.name}/\u0275fac.js`,{name:O.metadata.name,type:O.metadata.type,typeArgumentCount:0,deps:ul(s),target:F.FactoryTarget.Directive})}return g},configurable:!1})}function ug(s){return Object.getPrototypeOf(s.prototype)===Object.prototype}function q4(s,c){const g=Uc(),O=g.ownPropMetadata(s);return{name:s.name,type:s,selector:void 0!==c.selector?c.selector:null,host:c.host||Pt,propMetadata:O,inputs:c.inputs||Lt,outputs:c.outputs||Lt,queries:mg(s,O,pg),lifecycle:{usesOnChanges:g.hasLifecycleHook(s,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!ug(s),exportAs:L6(c.exportAs),providers:c.providers||null,viewQueries:mg(s,O,J4),isStandalone:!!c.standalone,hostDirectives:c.hostDirectives?.map(F=>"function"==typeof F?{directive:F}:F)||null}}function X4(s){const c=Object.prototype;let g=Object.getPrototypeOf(s.prototype).constructor;for(;g&&g!==c;)!ki(g)&&!Si(g)&&S6(g)&&lg(g,null),g=Object.getPrototypeOf(g)}function A6(s){return"string"==typeof s?_g(s):k(s)}function I6(s,c){return{propertyName:s,predicate:A6(c.selector),descendants:c.descendants,first:c.first,read:c.read?c.read:null,static:!!c.static,emitDistinctChangesOnly:!!c.emitDistinctChangesOnly}}function mg(s,c,g){const O=[];for(const F in c)if(c.hasOwnProperty(F)){const Y=c[F];Y.forEach(se=>{if(g(se)){if(!se.selector)throw new Error(`Can't construct a query for the property "${F}" of "${ne(s)}" since the query selector wasn't defined.`);if(Y.some(fg))throw new Error("Cannot combine @Input decorators with query decorators");O.push(I6(F,se))}})}return O}function L6(s){return void 0===s?null:_g(s)}function pg(s){const c=s.ngMetadataName;return"ContentChild"===c||"ContentChildren"===c}function J4(s){const c=s.ngMetadataName;return"ViewChild"===c||"ViewChildren"===c}function fg(s){return"Input"===s.ngMetadataName}function _g(s){return s.split(",").map(c=>c.trim())}const O6=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function S6(s){const c=Uc();if(O6.some(O=>c.hasLifecycleHook(s,O)))return!0;const g=c.propMetadata(s);for(const O in g){const F=g[O];for(let Y=0;Y<F.length;Y++){const se=F[Y],Oe=se.ngMetadataName;if(fg(se)||pg(se)||J4(se)||"Output"===Oe||"HostBinding"===Oe||"HostListener"===Oe)return!0}}return!1}function $4(s,c){return{type:s,name:s.name,pipeName:c.name,pure:void 0===c.pure||c.pure,isStandalone:!!c.standalone}}const gg=uo("Directive",(s={})=>s,void 0,void 0,(s,c)=>lg(s,c)),P6=uo("Component",(s={})=>({changeDetection:at.Default,...s}),gg,void 0,(s,c)=>w6(s,c)),vg=uo("Pipe",s=>({pure:!0,...s}),void 0,void 0,(s,c)=>function k6(s,c){let g=null,O=null;Object.defineProperty(s,_t,{get:()=>{if(null===O){const F=$4(s,c),Y=Ii(F.type);O=Y.compileFactory(Os,`ng:///${F.name}/\u0275fac.js`,{name:F.name,type:F.type,typeArgumentCount:0,deps:ul(s),target:Y.FactoryTarget.Pipe})}return O},configurable:!1}),Object.defineProperty(s,fe,{get:()=>{if(null===g){const F=$4(s,c);g=Ii(F.type).compilePipe(Os,`ng:///${F.name}/\u0275pipe.js`,F)}return g},configurable:!1})}(s,c)),R6=qs("Input",s=>({bindingPropertyName:s})),bg=qs("Output",s=>({bindingPropertyName:s})),B6=qs("HostBinding",s=>({hostPropertyName:s})),yg=qs("HostListener",(s,c)=>({eventName:s,args:c})),N6=uo("NgModule",s=>s,void 0,void 0,(s,c)=>Y4(s,c));function D3(...s){}const xg=new fa("Application Initializer");class A1{constructor(c){this.appInits=c,this.resolve=D3,this.reject=D3,this.initialized=!1,this.done=!1,this.donePromise=new Promise((g,O)=>{this.resolve=g,this.reject=O})}runInitializers(){if(this.initialized)return;const c=[],g=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let O=0;O<this.appInits.length;O++){const F=this.appInits[O]();if(W0(F))c.push(F);else if(Wf(F)){const Y=new Promise((se,Oe)=>{F.subscribe({complete:se,error:Oe})});c.push(Y)}}Promise.all(c).then(()=>{g()}).catch(O=>{this.reject(O)}),0===c.length&&g(),this.initialized=!0}}A1.\u0275fac=function(c){return new(c||A1)(Bt(xg,8))},A1.\u0275prov=Ye({token:A1,factory:A1.\u0275fac,providedIn:"root"});const Cg=new fa("AppId",{providedIn:"root",factory:Eg});function Eg(){return`${T3()}${T3()}${T3()}`}function T3(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Mg=new fa("Platform Initializer"),A3=new fa("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),wg=new fa("appBootstrapListener"),F6=(new fa("Application Packages Root URL"),new fa("AnimationModuleType"));class fu{log(c){console.log(c)}warn(c){console.warn(c)}}fu.\u0275fac=function(c){return new(c||fu)},fu.\u0275prov=Ye({token:fu,factory:fu.\u0275fac,providedIn:"platform"});const I3=new fa("LocaleId",{providedIn:"root",factory:()=>me(I3,ie.Optional|ie.SkipSelf)||function z6(){return typeof $localize<"u"&&$localize.locale||gr}()}),H6=new fa("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});new fa("Translations"),new fa("TranslationsFormat");var Dg;!function(s){s[s.Error=0]="Error",s[s.Warning=1]="Warning",s[s.Ignore=2]="Ignore"}(Dg||(Dg={}));class V6{constructor(c,g){this.ngModuleFactory=c,this.componentFactories=g}}class sm{compileModuleSync(c){return new Xa(c)}compileModuleAsync(c){return Promise.resolve(this.compileModuleSync(c))}compileModuleAndAllComponentsSync(c){const g=this.compileModuleSync(c),F=ic(xe(c).declarations).reduce((Y,se)=>{const Oe=Si(se);return Oe&&Y.push(new qh(Oe)),Y},[]);return new V6(g,F)}compileModuleAndAllComponentsAsync(c){return Promise.resolve(this.compileModuleAndAllComponentsSync(c))}clearCache(){}clearCacheFor(c){}getModuleId(c){}}sm.\u0275fac=function(c){return new(c||sm)},sm.\u0275prov=Ye({token:sm,factory:sm.\u0275fac,providedIn:"root"});new fa("compilerOptions");const K6=Promise.resolve(0);function t_(s){typeof Zone>"u"?K6.then(()=>{s&&s.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",s)}class ol{constructor({enableLongStackTrace:c=!1,shouldCoalesceEventChangeDetection:g=!1,shouldCoalesceRunChangeDetection:O=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ad(!1),this.onMicrotaskEmpty=new Ad(!1),this.onStable=new Ad(!1),this.onError=new Ad(!1),typeof Zone>"u")throw new Z(908,!1);Zone.assertZonePatched();const F=this;F._nesting=0,F._outer=F._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(F._inner=F._inner.fork(new Zone.TaskTrackingZoneSpec)),c&&Zone.longStackTraceZoneSpec&&(F._inner=F._inner.fork(Zone.longStackTraceZoneSpec)),F.shouldCoalesceEventChangeDetection=!O&&g,F.shouldCoalesceRunChangeDetection=O,F.lastRequestAnimationFrameId=-1,F.nativeRequestAnimationFrame=function G6(){let s=bt.requestAnimationFrame,c=bt.cancelAnimationFrame;if(typeof Zone<"u"&&s&&c){const g=s[Zone.__symbol__("OriginalDelegate")];g&&(s=g);const O=c[Zone.__symbol__("OriginalDelegate")];O&&(c=O)}return{nativeRequestAnimationFrame:s,nativeCancelAnimationFrame:c}}().nativeRequestAnimationFrame,function j6(s){const c=()=>{!function Ig(s){s.isCheckStableRunning||-1!==s.lastRequestAnimationFrameId||(s.lastRequestAnimationFrameId=s.nativeRequestAnimationFrame.call(bt,()=>{s.fakeTopEventTask||(s.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{s.lastRequestAnimationFrameId=-1,n_(s),s.isCheckStableRunning=!0,i_(s),s.isCheckStableRunning=!1},void 0,()=>{},()=>{})),s.fakeTopEventTask.invoke()}),n_(s))}(s)};s._inner=s._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(g,O,F,Y,se,Oe)=>{try{return Lg(s),g.invokeTask(F,Y,se,Oe)}finally{(s.shouldCoalesceEventChangeDetection&&"eventTask"===Y.type||s.shouldCoalesceRunChangeDetection)&&c(),a_(s)}},onInvoke:(g,O,F,Y,se,Oe,Ze)=>{try{return Lg(s),g.invoke(F,Y,se,Oe,Ze)}finally{s.shouldCoalesceRunChangeDetection&&c(),a_(s)}},onHasTask:(g,O,F,Y)=>{g.hasTask(F,Y),O===F&&("microTask"==Y.change?(s._hasPendingMicrotasks=Y.microTask,n_(s),i_(s)):"macroTask"==Y.change&&(s.hasPendingMacrotasks=Y.macroTask))},onHandleError:(g,O,F,Y)=>(g.handleError(F,Y),s.runOutsideAngular(()=>s.onError.emit(Y)),!1)})}(F)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ol.isInAngularZone())throw new Z(909,!1)}static assertNotInAngularZone(){if(ol.isInAngularZone())throw new Z(909,!1)}run(c,g,O){return this._inner.run(c,g,O)}runTask(c,g,O,F){const Y=this._inner,se=Y.scheduleEventTask("NgZoneEvent: "+F,c,Z6,D3,D3);try{return Y.runTask(se,g,O)}finally{Y.cancelTask(se)}}runGuarded(c,g,O){return this._inner.runGuarded(c,g,O)}runOutsideAngular(c){return this._outer.run(c)}}const Z6={};function i_(s){if(0==s._nesting&&!s.hasPendingMicrotasks&&!s.isStable)try{s._nesting++,s.onMicrotaskEmpty.emit(null)}finally{if(s._nesting--,!s.hasPendingMicrotasks)try{s.runOutsideAngular(()=>s.onStable.emit(null))}finally{s.isStable=!0}}}function n_(s){s._hasPendingMicrotasks||(s.shouldCoalesceEventChangeDetection||s.shouldCoalesceRunChangeDetection)&&-1!==s.lastRequestAnimationFrameId?s.hasPendingMicrotasks=!0:s.hasPendingMicrotasks=!1}function Lg(s){s._nesting++,s.isStable&&(s.isStable=!1,s.onUnstable.emit(null))}function a_(s){s._nesting--,i_(s)}class Q6{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ad,this.onMicrotaskEmpty=new Ad,this.onStable=new Ad,this.onError=new Ad}run(c,g,O){return c.apply(g,O)}runGuarded(c,g,O){return c.apply(g,O)}runOutsideAngular(c){return c()}runTask(c,g,O,F){return c.apply(g,O)}}const Og=new fa(""),Sg=new fa("");class cm{constructor(c,g,O){this._ngZone=c,this.registry=g,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,r_||(function kg(s){r_=s}(O),O.addToWindow(g)),this._watchAngularEvents(),c.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ol.assertNotInAngularZone(),t_(()=>{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())t_(()=>{for(;0!==this._callbacks.length;){let c=this._callbacks.pop();clearTimeout(c.timeoutId),c.doneCb(this._didWork)}this._didWork=!1});else{let c=this.getPendingTasks();this._callbacks=this._callbacks.filter(g=>!g.updateCb||!g.updateCb(c)||(clearTimeout(g.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(c=>({source:c.source,creationLocation:c.creationLocation,data:c.data})):[]}addCallback(c,g,O){let F=-1;g&&g>0&&(F=setTimeout(()=>{this._callbacks=this._callbacks.filter(Y=>Y.timeoutId!==F),c(this._didWork,this.getPendingTasks())},g)),this._callbacks.push({doneCb:c,timeoutId:F,updateCb:O})}whenStable(c,g,O){if(O&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(c,g,O),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(c){this.registry.registerApplication(c,this)}unregisterApplication(c){this.registry.unregisterApplication(c)}findProviders(c,g,O){return[]}}cm.\u0275fac=function(c){return new(c||cm)(Bt(ol),Bt(_u),Bt(Sg))},cm.\u0275prov=Ye({token:cm,factory:cm.\u0275fac});class _u{constructor(){this._applications=new Map}registerApplication(c,g){this._applications.set(c,g)}unregisterApplication(c){this._applications.delete(c)}unregisterAllApplications(){this._applications.clear()}getTestability(c){return this._applications.get(c)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(c,g=!0){return r_?.findTestabilityInTree(this,c,g)??null}}let r_;_u.\u0275fac=function(c){return new(c||_u)},_u.\u0275prov=Ye({token:_u,factory:_u.\u0275fac,providedIn:"platform"});let X2=null;const Pg=new fa("AllowMultipleToken"),o_=new fa("PlatformDestroyListeners"),I1=!1;class $6{constructor(c,g){this.name=c,this.token=g}}function Rg(s){const c=s.get(Mg,null);c&&c.forEach(g=>g())}function s_(s,c,g=[]){const O=`Platform: ${c}`,F=new fa(O);return(Y=[])=>{let se=Up();if(!se||se.injector.get(Pg,!1)){const Oe=[...g,...Y,{provide:F,useValue:!0}];s?s(Oe):function e8(s){if(X2&&!X2.get(Pg,!1))throw new Z(400,!1);X2=s;const c=s.get(gu);return Rg(s),c}(c_(Oe,O))}return function n8(s){const c=Up();if(!c)throw new Z(401,!1);return c}()}}function c_(s=[],c){return wi.create({name:c,providers:[{provide:la,useValue:"platform"},{provide:o_,useValue:new Set([()=>X2=null])},...s]})}function Up(){return X2?.get(gu)??null}class gu{constructor(c){this._injector=c,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(c,g){const O=Ng(g?.ngZone,Bg(g)),F=[{provide:ol,useValue:O}];return O.run(()=>{const Y=wi.create({providers:F,parent:this.injector,name:c.moduleType.name}),se=c.create(Y),Oe=se.injector.get(Mc,null);if(!Oe)throw new Z(402,!1);return O.runOutsideAngular(()=>{const Ze=O.onError.subscribe({next:ut=>{Oe.handleError(ut)}});se.onDestroy(()=>{O3(this._modules,se),Ze.unsubscribe()})}),Fg(Oe,O,()=>{const Ze=se.injector.get(A1);return Ze.runInitializers(),Ze.donePromise.then(()=>(P2(se.injector.get(I3,gr)||gr),this._moduleDoBootstrap(se),se))})})}bootstrapModule(c,g=[]){const O=L3({},g);return function q6(s,c,g){const O=new Xa(g);return Promise.resolve(O)}(this.injector,0,c).then(F=>this.bootstrapModuleFactory(F,O))}_moduleDoBootstrap(c){const g=c.injector.get(L1);if(c._bootstrapComponents.length>0)c._bootstrapComponents.forEach(O=>g.bootstrap(O));else{if(!c.instance.ngDoBootstrap)throw new Z(403,!1);c.instance.ngDoBootstrap(g)}this._modules.push(c)}onDestroy(c){this._destroyListeners.push(c)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Z(404,!1);this._modules.slice().forEach(g=>g.destroy()),this._destroyListeners.forEach(g=>g());const c=this._injector.get(o_,null);c&&(c.forEach(g=>g()),c.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}function Bg(s){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!s||!s.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!s||!s.ngZoneRunCoalescing)||!1}}function Ng(s,c){let g;return g="noop"===s?new Q6:("zone.js"===s?void 0:s)||new ol(c),g}function Fg(s,c,g){try{const O=g();return W0(O)?O.catch(F=>{throw c.runOutsideAngular(()=>s.handleError(F)),F}):O}catch(O){throw c.runOutsideAngular(()=>s.handleError(O)),O}}function L3(s,c){return s=Array.isArray(c)?c.reduce(L3,s):{...s,...c}}gu.\u0275fac=function(c){return new(c||gu)(Bt(wi))},gu.\u0275prov=Ye({token:gu,factory:gu.\u0275fac,providedIn:"platform"});class L1{constructor(c,g,O){this._zone=c,this._injector=g,this._exceptionHandler=O,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const F=new _.y(se=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{se.next(this._stable),se.complete()})}),Y=new _.y(se=>{let Oe;this._zone.runOutsideAngular(()=>{Oe=this._zone.onStable.subscribe(()=>{ol.assertNotInAngularZone(),t_(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,se.next(!0))})})});const Ze=this._zone.onUnstable.subscribe(()=>{ol.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{se.next(!1)}))});return()=>{Oe.unsubscribe(),Ze.unsubscribe()}});this.isStable=(0,S.T)(F,Y.pipe((0,l.B)()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(c,g){const O=c instanceof Xd;if(!this._injector.get(A1).done){!O&&Qt(c);throw new Z(405,I1)}let Y;Y=O?c:this._injector.get(dd).resolveComponentFactory(c),this.componentTypes.push(Y.componentType);const se=function J6(s){return s.isBoundToModule}(Y)?void 0:this._injector.get(da),Oe=g||Y.selector,Ze=Y.create(wi.NULL,[],Oe,se),ut=Ze.location.nativeElement,It=Ze.injector.get(Og,null);return It?.registerApplication(ut),Ze.onDestroy(()=>{this.detachView(Ze.hostView),O3(this.components,Ze),It?.unregisterApplication(ut)}),this._loadComponent(Ze),Ze}tick(){if(this._runningTick)throw new Z(101,!1);try{this._runningTick=!0;for(let c of this._views)c.detectChanges()}catch(c){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(c))}finally{this._runningTick=!1}}attachView(c){const g=c;this._views.push(g),g.attachToAppRef(this)}detachView(c){const g=c;O3(this._views,g),g.detachFromAppRef()}_loadComponent(c){this.attachView(c.hostView),this.tick(),this.components.push(c),this._injector.get(wg,[]).concat(this._bootstrapListeners).forEach(O=>O(c))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(c=>c()),this._views.slice().forEach(c=>c.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(c){return this._destroyListeners.push(c),()=>O3(this._destroyListeners,c)}destroy(){if(this._destroyed)throw new Z(406,!1);const c=this._injector;c.destroy&&!c.destroyed&&c.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}function O3(s,c){const g=s.indexOf(c);g>-1&&s.splice(g,1)}function r8(){return!1}function zg(){}L1.\u0275fac=function(c){return new(c||L1)(Bt(ol),Bt(tc),Bt(Mc))},L1.\u0275prov=Ye({token:L1,factory:L1.\u0275fac,providedIn:"root"});class d_{}d_.__NG_ELEMENT_ID__=function s8(s){return function c8(s,c,g){if(wa(s)&&!g){const O=wn(s.index,c);return new Qh(O,O)}if(47&s.type){const O=c[16];return new Qh(O,c)}return null}(La(),Fi(),16==(16&s))};class p_{constructor(){}supports(c){return Jh(c)}create(c){return new p8(c)}}const m8=(s,c)=>c;class p8{constructor(c){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=c||m8}forEachItem(c){let g;for(g=this._itHead;null!==g;g=g._next)c(g)}forEachOperation(c){let g=this._itHead,O=this._removalsHead,F=0,Y=null;for(;g||O;){const se=!O||g&&g.currentIndex<Gg(O,F,Y)?g:O,Oe=Gg(se,F,Y),Ze=se.currentIndex;if(se===O)F--,O=O._nextRemoved;else if(g=g._next,null==se.previousIndex)F++;else{Y||(Y=[]);const ut=Oe-F,It=Ze-F;if(ut!=It){for(let pi=0;pi<ut;pi++){const Mi=pi<Y.length?Y[pi]:Y[pi]=0,Bi=Mi+pi;It<=Bi&&Bi<ut&&(Y[pi]=Mi+1)}Y[se.previousIndex]=It-ut}}Oe!==Ze&&c(se,Oe,Ze)}}forEachPreviousItem(c){let g;for(g=this._previousItHead;null!==g;g=g._nextPrevious)c(g)}forEachAddedItem(c){let g;for(g=this._additionsHead;null!==g;g=g._nextAdded)c(g)}forEachMovedItem(c){let g;for(g=this._movesHead;null!==g;g=g._nextMoved)c(g)}forEachRemovedItem(c){let g;for(g=this._removalsHead;null!==g;g=g._nextRemoved)c(g)}forEachIdentityChange(c){let g;for(g=this._identityChangesHead;null!==g;g=g._nextIdentityChange)c(g)}diff(c){if(null==c&&(c=[]),!Jh(c))throw new Z(900,!1);return this.check(c)?this:null}onDestroy(){}check(c){this._reset();let F,Y,se,g=this._itHead,O=!1;if(Array.isArray(c)){this.length=c.length;for(let Oe=0;Oe<this.length;Oe++)Y=c[Oe],se=this._trackByFn(Oe,Y),null!==g&&Object.is(g.trackById,se)?(O&&(g=this._verifyReinsertion(g,Y,se,Oe)),Object.is(g.item,Y)||this._addIdentityChange(g,Y)):(g=this._mismatch(g,Y,se,Oe),O=!0),g=g._next}else F=0,function p4(s,c){if(Array.isArray(s))for(let g=0;g<s.length;g++)c(s[g]);else{const g=s[a1()]();let O;for(;!(O=g.next()).done;)c(O.value)}}(c,Oe=>{se=this._trackByFn(F,Oe),null!==g&&Object.is(g.trackById,se)?(O&&(g=this._verifyReinsertion(g,Oe,se,F)),Object.is(g.item,Oe)||this._addIdentityChange(g,Oe)):(g=this._mismatch(g,Oe,se,F),O=!0),g=g._next,F++}),this.length=F;return this._truncate(g),this.collection=c,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let c;for(c=this._previousItHead=this._itHead;null!==c;c=c._next)c._nextPrevious=c._next;for(c=this._additionsHead;null!==c;c=c._nextAdded)c.previousIndex=c.currentIndex;for(this._additionsHead=this._additionsTail=null,c=this._movesHead;null!==c;c=c._nextMoved)c.previousIndex=c.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(c,g,O,F){let Y;return null===c?Y=this._itTail:(Y=c._prev,this._remove(c)),null!==(c=null===this._unlinkedRecords?null:this._unlinkedRecords.get(O,null))?(Object.is(c.item,g)||this._addIdentityChange(c,g),this._reinsertAfter(c,Y,F)):null!==(c=null===this._linkedRecords?null:this._linkedRecords.get(O,F))?(Object.is(c.item,g)||this._addIdentityChange(c,g),this._moveAfter(c,Y,F)):c=this._addAfter(new Wg(g,O),Y,F),c}_verifyReinsertion(c,g,O,F){let Y=null===this._unlinkedRecords?null:this._unlinkedRecords.get(O,null);return null!==Y?c=this._reinsertAfter(Y,c._prev,F):c.currentIndex!=F&&(c.currentIndex=F,this._addToMoves(c,F)),c}_truncate(c){for(;null!==c;){const g=c._next;this._addToRemovals(this._unlink(c)),c=g}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(c,g,O){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(c);const F=c._prevRemoved,Y=c._nextRemoved;return null===F?this._removalsHead=Y:F._nextRemoved=Y,null===Y?this._removalsTail=F:Y._prevRemoved=F,this._insertAfter(c,g,O),this._addToMoves(c,O),c}_moveAfter(c,g,O){return this._unlink(c),this._insertAfter(c,g,O),this._addToMoves(c,O),c}_addAfter(c,g,O){return this._insertAfter(c,g,O),null===this._additionsTail?this._additionsTail=this._additionsHead=c:this._additionsTail=this._additionsTail._nextAdded=c,c}_insertAfter(c,g,O){const F=null===g?this._itHead:g._next;return c._next=F,c._prev=g,null===F?this._itTail=c:F._prev=c,null===g?this._itHead=c:g._next=c,null===this._linkedRecords&&(this._linkedRecords=new Kg),this._linkedRecords.put(c),c.currentIndex=O,c}_remove(c){return this._addToRemovals(this._unlink(c))}_unlink(c){null!==this._linkedRecords&&this._linkedRecords.remove(c);const g=c._prev,O=c._next;return null===g?this._itHead=O:g._next=O,null===O?this._itTail=g:O._prev=g,c}_addToMoves(c,g){return c.previousIndex===g||(null===this._movesTail?this._movesTail=this._movesHead=c:this._movesTail=this._movesTail._nextMoved=c),c}_addToRemovals(c){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Kg),this._unlinkedRecords.put(c),c.currentIndex=null,c._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=c,c._prevRemoved=null):(c._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=c),c}_addIdentityChange(c,g){return c.item=g,null===this._identityChangesTail?this._identityChangesTail=this._identityChangesHead=c:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=c,c}}class Wg{constructor(c,g){this.item=c,this.trackById=g,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 f8{constructor(){this._head=null,this._tail=null}add(c){null===this._head?(this._head=this._tail=c,c._nextDup=null,c._prevDup=null):(this._tail._nextDup=c,c._prevDup=this._tail,c._nextDup=null,this._tail=c)}get(c,g){let O;for(O=this._head;null!==O;O=O._nextDup)if((null===g||g<=O.currentIndex)&&Object.is(O.trackById,c))return O;return null}remove(c){const g=c._prevDup,O=c._nextDup;return null===g?this._head=O:g._nextDup=O,null===O?this._tail=g:O._prevDup=g,null===this._head}}class Kg{constructor(){this.map=new Map}put(c){const g=c.trackById;let O=this.map.get(g);O||(O=new f8,this.map.set(g,O)),O.add(c)}get(c,g){const O=c,F=this.map.get(O);return F?F.get(c,g):null}remove(c){const g=c.trackById;return this.map.get(g).remove(c)&&this.map.delete(g),c}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Gg(s,c,g){const O=s.previousIndex;if(null===O)return O;let F=0;return g&&O<g.length&&(F=g[O]),O+c+F}class Yg{constructor(){}supports(c){return c instanceof Map||dp(c)}create(){return new _8}}class _8{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(c){let g;for(g=this._mapHead;null!==g;g=g._next)c(g)}forEachPreviousItem(c){let g;for(g=this._previousMapHead;null!==g;g=g._nextPrevious)c(g)}forEachChangedItem(c){let g;for(g=this._changesHead;null!==g;g=g._nextChanged)c(g)}forEachAddedItem(c){let g;for(g=this._additionsHead;null!==g;g=g._nextAdded)c(g)}forEachRemovedItem(c){let g;for(g=this._removalsHead;null!==g;g=g._nextRemoved)c(g)}diff(c){if(c){if(!(c instanceof Map||dp(c)))throw new Z(900,!1)}else c=new Map;return this.check(c)?this:null}onDestroy(){}check(c){this._reset();let g=this._mapHead;if(this._appendAfter=null,this._forEach(c,(O,F)=>{if(g&&g.key===F)this._maybeAddToChanges(g,O),this._appendAfter=g,g=g._next;else{const Y=this._getOrCreateRecordForKey(F,O);g=this._insertBeforeOrAppend(g,Y)}}),g){g._prev&&(g._prev._next=null),this._removalsHead=g;for(let O=g;null!==O;O=O._nextRemoved)O===this._mapHead&&(this._mapHead=null),this._records.delete(O.key),O._nextRemoved=O._next,O.previousValue=O.currentValue,O.currentValue=null,O._prev=null,O._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(c,g){if(c){const O=c._prev;return g._next=c,g._prev=O,c._prev=g,O&&(O._next=g),c===this._mapHead&&(this._mapHead=g),this._appendAfter=c,c}return this._appendAfter?(this._appendAfter._next=g,g._prev=this._appendAfter):this._mapHead=g,this._appendAfter=g,null}_getOrCreateRecordForKey(c,g){if(this._records.has(c)){const F=this._records.get(c);this._maybeAddToChanges(F,g);const Y=F._prev,se=F._next;return Y&&(Y._next=se),se&&(se._prev=Y),F._next=null,F._prev=null,F}const O=new g8(c);return this._records.set(c,O),O.currentValue=g,this._addToAdditions(O),O}_reset(){if(this.isDirty){let c;for(this._previousMapHead=this._mapHead,c=this._previousMapHead;null!==c;c=c._next)c._nextPrevious=c._next;for(c=this._changesHead;null!==c;c=c._nextChanged)c.previousValue=c.currentValue;for(c=this._additionsHead;null!=c;c=c._nextAdded)c.previousValue=c.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(c,g){Object.is(g,c.currentValue)||(c.previousValue=c.currentValue,c.currentValue=g,this._addToChanges(c))}_addToAdditions(c){null===this._additionsHead?this._additionsHead=this._additionsTail=c:(this._additionsTail._nextAdded=c,this._additionsTail=c)}_addToChanges(c){null===this._changesHead?this._changesHead=this._changesTail=c:(this._changesTail._nextChanged=c,this._changesTail=c)}_forEach(c,g){c instanceof Map?c.forEach(g):Object.keys(c).forEach(O=>g(c[O],O))}}class g8{constructor(c){this.key=c,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Zg(){return new Id([new p_])}class Id{constructor(c){this.factories=c}static create(c,g){if(null!=g){const O=g.factories.slice();c=c.concat(O)}return new Id(c)}static extend(c){return{provide:Id,useFactory:g=>Id.create(c,g||Zg()),deps:[[Id,new yc,new B1]]}}find(c){const g=this.factories.find(O=>O.supports(c));if(null!=g)return g;throw new Z(901,!1)}}function jg(){return new Ld([new Yg])}Id.\u0275prov=Ye({token:Id,providedIn:"root",factory:Zg});class Ld{constructor(c){this.factories=c}static create(c,g){if(g){const O=g.factories.slice();c=c.concat(O)}return new Ld(c)}static extend(c){return{provide:Ld,useFactory:g=>Ld.create(c,g||jg()),deps:[[Ld,new yc,new B1]]}}find(c){const g=this.factories.find(O=>O.supports(c));if(g)return g;throw new Z(901,!1)}}Ld.\u0275prov=Ye({token:Ld,providedIn:"root",factory:jg});const b8=[new Yg],f_=[new p_],y8=(new Id(f_),new Ld(b8),s_(null,"core",[]));class lm{constructor(c){}}function x8(s){return"boolean"==typeof s?s:null!=s&&"false"!==s}lm.\u0275fac=function(c){return new(c||lm)(Bt(L1))},lm.\u0275mod=qe({type:lm}),lm.\u0275inj=Ve({})},7200:(Ge,X,f)=>{"use strict";function e(L){for(let M in L){let k=L[M]??"";switch(M){case"display":L.display="flex"===k?["-webkit-flex","flex"]:"inline-flex"===k?["-webkit-inline-flex","inline-flex"]:k;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":L["-webkit-"+M]=k;break;case"flex-direction":L["-webkit-flex-direction"]=k,L["flex-direction"]=k;break;case"order":L.order=L["-webkit-"+M]=isNaN(+k)?"0":k}}return L}f.d(X,{Ar:()=>S,GK:()=>e,iQ:()=>_,kt:()=>p,tj:()=>D});const t="inline",_=["row","column","row-reverse","column-reverse"];function S(L){let[M,k,E]=l(L);return function P(L,M=null,k=!1){return{display:k?"inline-flex":"flex","box-sizing":"border-box","flex-direction":L,"flex-wrap":M||null}}(M,k,E)}function l(L){L=L?.toLowerCase()??"";let[M,k,E]=L.split(" ");return _.find(z=>z===M)||(M=_[0]),k===t&&(k=E!==t?E:"",E=t),[M,d(k),!!E]}function D(L){let[M]=l(L);return M.indexOf("row")>-1}function d(L){if(L)switch(L.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":L="wrap-reverse";break;case"no":case"none":case"nowrap":L="nowrap";break;default:L="wrap"}return L}function p(L,...M){if(null==L)throw TypeError("Cannot convert undefined or null to object");for(let k of M)if(null!=k)for(let E in k)k.hasOwnProperty(E)&&(L[E]=k[E]);return L}},4658:(Ge,X,f)=>{"use strict";f.d(X,{Bs:()=>i,FL:()=>me,IR:()=>re,Ot:()=>si,QI:()=>m,RK:()=>h,WU:()=>ve,g5:()=>ae,iR:()=>gt,wY:()=>T,yB:()=>nt});var e=f(2560),t=f(4666),_=f(6317),S=f(833),l=f(6646),D=f(253),d=f(3888),P=f(745),p=f(3280),L=f(7200),M=f(116),k=f(9337),E=f(1989),z=f(2673),I=f(635),V=f(8977),Z=f(8951),q=f(9295);const ne={provide:e.tb,useFactory:function te(K,J){return()=>{if((0,t.NF)(J)){const Ce=Array.from(K.querySelectorAll(`[class*=${le}]`)),We=/\bflex-layout-.+?\b/g;Ce.forEach(Mt=>{Mt.classList.contains(`${le}ssr`)&&Mt.parentNode?Mt.parentNode.removeChild(Mt):Mt.className.replace(We,"")})}}},deps:[t.K0,e.Lbi],multi:!0},le="flex-layout-";class re{}re.\u0275fac=function(J){return new(J||re)},re.\u0275mod=e.oAB({type:re}),re.\u0275inj=e.cJS({providers:[ne]});class _e{constructor(J=!1,Ce="all",We="",Mt="",Tt=0){this.matches=J,this.mediaQuery=Ce,this.mqAlias=We,this.suffix=Mt,this.priority=Tt,this.property=""}clone(){return new _e(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}class he{constructor(){this.stylesheet=new Map}addStyleToElement(J,Ce,We){const Mt=this.stylesheet.get(J);Mt?Mt.set(Ce,We):this.stylesheet.set(J,new Map([[Ce,We]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(J,Ce){const We=this.stylesheet.get(J);let Mt="";if(We){const Tt=We.get(Ce);("number"==typeof Tt||"string"==typeof Tt)&&(Mt=Tt+"")}return Mt}}he.\u0275fac=function(J){return new(J||he)},he.\u0275prov=e.Yz7({token:he,factory:he.\u0275fac,providedIn:"root"});const ae={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},ve=new e.OlP("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>ae}),T=new e.OlP("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),i=new e.OlP("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function o(K,J){return K=K?.clone()??new _e,J&&(K.mqAlias=J.alias,K.mediaQuery=J.mediaQuery,K.suffix=J.suffix,K.priority=J.priority),K}class m{constructor(){this.shouldCache=!0}sideEffect(J,Ce,We){}}class h{constructor(J,Ce,We,Mt){this._serverStylesheet=J,this._serverModuleLoaded=Ce,this._platformId=We,this.layoutConfig=Mt}applyStyleToElement(J,Ce,We=null){let Mt={};"string"==typeof Ce&&(Mt[Ce]=We,Ce=Mt),Mt=this.layoutConfig.disableVendorPrefixes?Ce:(0,L.GK)(Ce),this._applyMultiValueStyleToElement(Mt,J)}applyStyleToElements(J,Ce=[]){const We=this.layoutConfig.disableVendorPrefixes?J:(0,L.GK)(J);Ce.forEach(Mt=>{this._applyMultiValueStyleToElement(We,Mt)})}getFlowDirection(J){const Ce="flex-direction";let We=this.lookupStyle(J,Ce);return[We||"row",this.lookupInlineStyle(J,Ce)||(0,t.PM)(this._platformId)&&this._serverModuleLoaded?We:""]}hasWrap(J){return"wrap"===this.lookupStyle(J,"flex-wrap")}lookupAttributeValue(J,Ce){return J.getAttribute(Ce)??""}lookupInlineStyle(J,Ce){return(0,t.NF)(this._platformId)?J.style.getPropertyValue(Ce):function y(K,J){return v(K)[J]??""}(J,Ce)}lookupStyle(J,Ce,We=!1){let Mt="";return J&&((Mt=this.lookupInlineStyle(J,Ce))||((0,t.NF)(this._platformId)?We||(Mt=getComputedStyle(J).getPropertyValue(Ce)):this._serverModuleLoaded&&(Mt=this._serverStylesheet.getStyleForElement(J,Ce)))),Mt?Mt.trim():""}_applyMultiValueStyleToElement(J,Ce){Object.keys(J).sort().forEach(We=>{const Mt=J[We],Tt=Array.isArray(Mt)?Mt:[Mt];Tt.sort();for(let Nt of Tt)Nt=Nt?Nt+"":"",(0,t.NF)(this._platformId)||!this._serverModuleLoaded?(0,t.NF)(this._platformId)?Ce.style.setProperty(We,Nt):A(Ce,We,Nt):this._serverStylesheet.addStyleToElement(Ce,We,Nt)})}}function A(K,J,Ce){J=J.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const We=v(K);We[J]=Ce??"",function R(K,J){let Ce="";for(const We in J)J[We]&&(Ce+=`${We}:${J[We]};`);K.setAttribute("style",Ce)}(K,We)}function v(K){const J={},Ce=K.getAttribute("style");if(Ce){const We=Ce.split(/;+/g);for(let Mt=0;Mt<We.length;Mt++){const Tt=We[Mt].trim();if(Tt.length>0){const Nt=Tt.indexOf(":");if(-1===Nt)throw new Error(`Invalid CSS style: ${Tt}`);J[Tt.substr(0,Nt).trim()]=Tt.substr(Nt+1).trim()}}}return J}function a(K,J){const Ce=K&&K.priority||0;return(J&&J.priority||0)-Ce}function C(K,J){return(K.priority||0)-(J.priority||0)}h.\u0275fac=function(J){return new(J||h)(e.LFG(he),e.LFG(T),e.LFG(e.Lbi),e.LFG(ve))},h.\u0275prov=e.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"});class U{constructor(J,Ce,We){this._zone=J,this._platformId=Ce,this._document=We,this.source=new _.X(new _e(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const J=[];return this.registry.forEach((Ce,We)=>{Ce.matches&&J.push(We)}),J}isActive(J){return this.registry.get(J)?.matches??this.registerQuery(J).some(We=>We.matches)}observe(J,Ce=!1){if(J&&J.length){const We=this._observable$.pipe((0,M.h)(Tt=>!Ce||J.indexOf(Tt.mediaQuery)>-1)),Mt=new S.y(Tt=>{const Nt=this.registerQuery(J);if(Nt.length){const at=Nt.pop();Nt.forEach(Ke=>{Tt.next(Ke)}),this.source.next(at)}Tt.complete()});return(0,l.T)(Mt,We)}return this._observable$}registerQuery(J){const Ce=Array.isArray(J)?J:[J],We=[];return function Q(K,J){const Ce=K.filter(We=>!N[We]);if(Ce.length>0){const We=Ce.join(", ");try{const Mt=J.createElement("style");if(Mt.setAttribute("type","text/css"),!Mt.styleSheet){const Tt=`\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${We} {.fx-query-test{ }}\n`;Mt.appendChild(J.createTextNode(Tt))}J.head.appendChild(Mt),Ce.forEach(Tt=>N[Tt]=Mt)}catch(Mt){console.error(Mt)}}}(Ce,this._document),Ce.forEach(Mt=>{const Tt=at=>{this._zone.run(()=>this.source.next(new _e(at.matches,Mt)))};let Nt=this.registry.get(Mt);Nt||(Nt=this.buildMQL(Mt),Nt.addListener(Tt),this.pendingRemoveListenerFns.push(()=>Nt.removeListener(Tt)),this.registry.set(Mt,Nt)),Nt.matches&&We.push(new _e(!0,Mt))}),We}ngOnDestroy(){let J;for(;J=this.pendingRemoveListenerFns.pop();)J()}buildMQL(J){return function Le(K,J){return J&&window.matchMedia("all").addListener?window.matchMedia(K):function Pe(K){const J=new EventTarget;return J.matches="all"===K||""===K,J.media=K,J.addListener=()=>{},J.removeListener=()=>{},J.addEventListener=()=>{},J.dispatchEvent=()=>!1,J.onchange=null,J}(K)}(J,(0,t.NF)(this._platformId))}}U.\u0275fac=function(J){return new(J||U)(e.LFG(e.R0b),e.LFG(e.Lbi),e.LFG(t.K0))},U.\u0275prov=e.Yz7({token:U,factory:U.\u0275fac,providedIn:"root"});const N={};const Ye=[{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}],$e="(orientation: portrait) and (max-width: 599.98px)",Ve="(orientation: landscape) and (max-width: 959.98px)",be="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",et="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",je="(orientation: portrait) and (min-width: 840px)",ye="(orientation: landscape) and (min-width: 1280px)",Te={HANDSET:`${$e}, ${Ve}`,TABLET:`${be} , ${et}`,WEB:`${je}, ${ye} `,HANDSET_PORTRAIT:`${$e}`,TABLET_PORTRAIT:`${be} `,WEB_PORTRAIT:`${je}`,HANDSET_LANDSCAPE:`${Ve}`,TABLET_LANDSCAPE:`${et}`,WEB_LANDSCAPE:`${ye}`},He=[{alias:"handset",priority:2e3,mediaQuery:Te.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:Te.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:Te.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:Te.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:Te.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:Te.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:Te.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:Te.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:Te.WEB_PORTRAIT,overlapping:!0}],Ee=/(\.|-|_)/g;function we(K){let J=K.length>0?K.charAt(0):"",Ce=K.length>1?K.slice(1):"";return J.toUpperCase()+Ce}function Me(K){return K.forEach(J=>{J.suffix||(J.suffix=function de(K){return K.replace(Ee,"|").split("|").map(we).join("")}(J.alias),J.overlapping=!!J.overlapping)}),K}const G=new e.OlP("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const K=(0,e.f3M)(i),J=(0,e.f3M)(ve),Ce=[].concat.apply([],(K||[]).map(Mt=>Array.isArray(Mt)?Mt:[Mt]));return function ie(K,J=[]){const Ce={};return K.forEach(We=>{Ce[We.alias]=We}),J.forEach(We=>{Ce[We.alias]?(0,L.kt)(Ce[We.alias],We):Ce[We.alias]=We}),Me(Object.keys(Ce).map(We=>Ce[We]))}((J.disableDefaultBps?[]:Ye).concat(J.addOrientationBps?He:[]),Ce)}});class ${constructor(J){this.findByMap=new Map,this.items=[...J].sort(C)}findByAlias(J){return J?this.findWithPredicate(J,Ce=>Ce.alias===J):null}findByQuery(J){return this.findWithPredicate(J,Ce=>Ce.mediaQuery===J)}get overlappings(){return this.items.filter(J=>J.overlapping)}get aliases(){return this.items.map(J=>J.alias)}get suffixes(){return this.items.map(J=>J?.suffix??"")}findWithPredicate(J,Ce){let We=this.findByMap.get(J);return We||(We=this.items.find(Ce)??null,this.findByMap.set(J,We)),We??null}}$.\u0275fac=function(J){return new(J||$)(e.LFG(G))},$.\u0275prov=e.Yz7({token:$,factory:$.\u0275fac,providedIn:"root"});const ze="print",Ue={alias:ze,mediaQuery:ze,priority:1e3};class oe{constructor(J,Ce,We){this.breakpoints=J,this.layoutConfig=Ce,this._document=We,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new bt,this.deactivations=[]}withPrintQuery(J){return[...J,ze]}isPrintEvent(J){return J.mediaQuery.startsWith(ze)}get printAlias(){return[...this.layoutConfig.printWithBreakpoints??[]]}get printBreakPoints(){return this.printAlias.map(J=>this.breakpoints.findByAlias(J)).filter(J=>null!==J)}getEventBreakpoints({mediaQuery:J}){const Ce=this.breakpoints.findByQuery(J);return(Ce?[...this.printBreakPoints,Ce]:this.printBreakPoints).sort(a)}updateEvent(J){let Ce=this.breakpoints.findByQuery(J.mediaQuery);return this.isPrintEvent(J)&&(Ce=this.getEventBreakpoints(J)[0],J.mediaQuery=Ce?.mediaQuery??""),o(J,Ce)}registerBeforeAfterPrintHooks(J){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const Ce=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(J,this.getEventBreakpoints(new _e(!0,ze))),J.updateStyles())},We=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(J),J.updateStyles())};this._document.defaultView.addEventListener("beforeprint",Ce),this._document.defaultView.addEventListener("afterprint",We),this.beforePrintEventListeners.push(Ce),this.afterPrintEventListeners.push(We)}interceptEvents(J){return Ce=>{this.isPrintEvent(Ce)?Ce.matches&&!this.isPrinting?(this.startPrinting(J,this.getEventBreakpoints(Ce)),J.updateStyles()):!Ce.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(J),J.updateStyles()):this.collectActivations(J,Ce)}}blockPropagation(){return J=>!(this.isPrinting||this.isPrintEvent(J))}startPrinting(J,Ce){this.isPrinting=!0,this.formerActivations=J.activatedBreakpoints,J.activatedBreakpoints=this.queue.addPrintBreakpoints(Ce)}stopPrinting(J){J.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(J,Ce){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent)return void(this.deactivations=[]);if(!Ce.matches){const We=this.breakpoints.findByQuery(Ce.mediaQuery);if(We){const Mt=this.formerActivations&&this.formerActivations.includes(We),Tt=!this.formerActivations&&J.activatedBreakpoints.includes(We);(Mt||Tt)&&(this.deactivations.push(We),this.deactivations.sort(a))}}}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(J=>this._document.defaultView.removeEventListener("beforeprint",J)),this.afterPrintEventListeners.forEach(J=>this._document.defaultView.removeEventListener("afterprint",J)))}}oe.\u0275fac=function(J){return new(J||oe)(e.LFG($),e.LFG(ve),e.LFG(t.K0))},oe.\u0275prov=e.Yz7({token:oe,factory:oe.\u0275fac,providedIn:"root"});class bt{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(J){return J.push(Ue),J.sort(a),J.forEach(Ce=>this.addBreakpoint(Ce)),this.printBreakpoints}addBreakpoint(J){J&&void 0===this.printBreakpoints.find(We=>We.mediaQuery===J.mediaQuery)&&(this.printBreakpoints=function Be(K){return K?.mediaQuery.startsWith(ze)??!1}(J)?[J,...this.printBreakpoints]:[...this.printBreakpoints,J])}clear(){this.printBreakpoints=[]}}class nt{constructor(J,Ce,We){this.matchMedia=J,this.breakpoints=Ce,this.hook=We,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 D.x,this.observeActivations()}get activatedAlias(){return this.activatedBreakpoints[0]?.alias??""}set activatedBreakpoints(J){this._activatedBreakpoints=[...J]}get activatedBreakpoints(){return[...this._activatedBreakpoints]}set useFallbacks(J){this._useFallbacks=J}onMediaChange(J){const Ce=this.findByQuery(J.mediaQuery);if(Ce){J=o(J,Ce);const We=this.activatedBreakpoints.indexOf(Ce);J.matches&&-1===We?(this._activatedBreakpoints.push(Ce),this._activatedBreakpoints.sort(a),this.updateStyles()):!J.matches&&-1!==We&&(this._activatedBreakpoints.splice(We,1),this._activatedBreakpoints.sort(a),this.updateStyles())}}init(J,Ce,We,Mt,Tt=[]){$t(this.updateMap,J,Ce,We),$t(this.clearMap,J,Ce,Mt),this.buildElementKeyMap(J,Ce),this.watchExtraTriggers(J,Ce,Tt)}getValue(J,Ce,We){const Mt=this.elementMap.get(J);if(Mt){const Tt=void 0!==We?Mt.get(We):this.getActivatedValues(Mt,Ce);if(Tt)return Tt.get(Ce)}}hasValue(J,Ce){const We=this.elementMap.get(J);if(We){const Mt=this.getActivatedValues(We,Ce);if(Mt)return void 0!==Mt.get(Ce)||!1}return!1}setValue(J,Ce,We,Mt){let Tt=this.elementMap.get(J);if(Tt){const at=(Tt.get(Mt)??new Map).set(Ce,We);Tt.set(Mt,at),this.elementMap.set(J,Tt)}else Tt=(new Map).set(Mt,(new Map).set(Ce,We)),this.elementMap.set(J,Tt);const Nt=this.getValue(J,Ce);void 0!==Nt&&this.updateElement(J,Ce,Nt)}trackValue(J,Ce){return this.subject.asObservable().pipe((0,M.h)(We=>We.element===J&&We.key===Ce))}updateStyles(){this.elementMap.forEach((J,Ce)=>{const We=new Set(this.elementKeyMap.get(Ce));let Mt=this.getActivatedValues(J);Mt&&Mt.forEach((Tt,Nt)=>{this.updateElement(Ce,Nt,Tt),We.delete(Nt)}),We.forEach(Tt=>{if(Mt=this.getActivatedValues(J,Tt),Mt){const Nt=Mt.get(Tt);this.updateElement(Ce,Tt,Nt)}else this.clearElement(Ce,Tt)})})}clearElement(J,Ce){const We=this.clearMap.get(J);if(We){const Mt=We.get(Ce);Mt&&(Mt(),this.subject.next({element:J,key:Ce,value:""}))}}updateElement(J,Ce,We){const Mt=this.updateMap.get(J);if(Mt){const Tt=Mt.get(Ce);Tt&&(Tt(We),this.subject.next({element:J,key:Ce,value:We}))}}releaseElement(J){const Ce=this.watcherMap.get(J);Ce&&(Ce.forEach(Mt=>Mt.unsubscribe()),this.watcherMap.delete(J));const We=this.elementMap.get(J);We&&(We.forEach((Mt,Tt)=>We.delete(Tt)),this.elementMap.delete(J))}triggerUpdate(J,Ce){const We=this.elementMap.get(J);if(We){const Mt=this.getActivatedValues(We,Ce);Mt&&(Ce?this.updateElement(J,Ce,Mt.get(Ce)):Mt.forEach((Tt,Nt)=>this.updateElement(J,Nt,Tt)))}}buildElementKeyMap(J,Ce){let We=this.elementKeyMap.get(J);We||(We=new Set,this.elementKeyMap.set(J,We)),We.add(Ce)}watchExtraTriggers(J,Ce,We){if(We&&We.length){let Mt=this.watcherMap.get(J);if(Mt||(Mt=new Map,this.watcherMap.set(J,Mt)),!Mt.get(Ce)){const Nt=(0,l.T)(...We).subscribe(()=>{const at=this.getValue(J,Ce);this.updateElement(J,Ce,at)});Mt.set(Ce,Nt)}}}findByQuery(J){return this.breakpoints.findByQuery(J)}getActivatedValues(J,Ce){for(let Mt=0;Mt<this.activatedBreakpoints.length;Mt++){const Tt=this.activatedBreakpoints[Mt],Nt=J.get(Tt.alias);if(Nt&&(void 0===Ce||Nt.has(Ce)&&null!=Nt.get(Ce)))return Nt}if(!this._useFallbacks)return;const We=J.get("");return void 0===Ce||We&&We.has(Ce)?We:void 0}observeActivations(){const J=this.breakpoints.items.map(Ce=>Ce.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(J)).pipe((0,k.b)(this.hook.interceptEvents(this)),(0,M.h)(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}function $t(K,J,Ce,We){if(void 0!==We){const Mt=K.get(J)??new Map;Mt.set(Ce,We),K.set(J,Mt)}}nt.\u0275fac=function(J){return new(J||nt)(e.LFG(U),e.LFG($),e.LFG(oe))},nt.\u0275prov=e.Yz7({token:nt,factory:nt.\u0275fac,providedIn:"root"});class gt{constructor(J,Ce,We,Mt){this.elementRef=J,this.styleBuilder=Ce,this.styler=We,this.marshal=Mt,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new D.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(J){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,J,this.marshal.activatedAlias)}ngOnChanges(J){Object.keys(J).forEach(Ce=>{if(-1!==this.inputs.indexOf(Ce)){const We=Ce.split(".").slice(1).join("."),Mt=J[Ce].currentValue;this.setValue(Mt,We)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(J=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),J)}addStyles(J,Ce){const We=this.styleBuilder,Mt=We.shouldCache;let Tt=this.styleCache.get(J);(!Tt||!Mt)&&(Tt=We.buildStyles(J,Ce),Mt&&this.styleCache.set(J,Tt)),this.mru={...Tt},this.applyStyleToElement(Tt),We.sideEffect(J,Tt,Ce)}clearStyles(){Object.keys(this.mru).forEach(J=>{this.mru[J]=""}),this.applyStyleToElement(this.mru),this.mru={},this.currentValue=void 0}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(J,Ce=!1){if(J){const[We,Mt]=this.styler.getFlowDirection(J);if(!Mt&&Ce){const Tt=(0,L.Ar)(We),Nt=[J];this.styler.applyStyleToElements(Tt,Nt)}return We.trim()}return"row"}hasWrap(J){return this.styler.hasWrap(J)}applyStyleToElement(J,Ce,We=this.nativeElement){this.styler.applyStyleToElement(We,J,Ce)}setValue(J,Ce){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,J,Ce)}updateWithValue(J){this.currentValue!==J&&(this.addStyles(J),this.currentValue=J)}}gt.\u0275fac=function(J){return new(J||gt)(e.Y36(e.SBq),e.Y36(m),e.Y36(h),e.Y36(nt))},gt.\u0275dir=e.lG2({type:gt,features:[e.TTD]});class rt extends U{constructor(J,Ce,We,Mt){super(J,Ce,We),this._breakpoints=Mt,this.autoRegisterQueries=!0,this.useOverlaps=!1}clearAll(){this.registry.forEach(J=>{J.destroy()}),this.registry.clear(),this.useOverlaps=!1}activate(J,Ce=this.useOverlaps){return J=this._validateQuery(J),(Ce||!this.isActive(J))&&(this._deactivateAll(),this._registerMediaQuery(J),this._activateWithOverlaps(J,Ce)),this.hasActivated}_validateQuery(J){return this._breakpoints.findByAlias(J)?.mediaQuery??J}_activateWithOverlaps(J,Ce){if(Ce){const Mt=this._breakpoints.findByQuery(J)?.alias??"unknown";switch(Mt){case"lg":this._activateByAlias(["lt-xl"]);break;case"md":this._activateByAlias(["lt-xl","lt-lg"]);break;case"sm":this._activateByAlias(["lt-xl","lt-lg","lt-md"]);break;case"xs":this._activateByAlias(["lt-xl","lt-lg","lt-md","lt-sm"])}switch(Mt){case"xl":this._activateByAlias(["gt-lg","gt-md","gt-sm","gt-xs"]);break;case"lg":this._activateByAlias(["gt-md","gt-sm","gt-xs"]);break;case"md":this._activateByAlias(["gt-sm","gt-xs"]);break;case"sm":this._activateByAlias(["gt-xs"])}}return this._activateByQuery(J)}_activateByAlias(J){J.forEach(We=>{const Mt=this._breakpoints.findByAlias(We);this._activateByQuery(Mt?.mediaQuery??We)})}_activateByQuery(J){!this.registry.has(J)&&this.autoRegisterQueries&&this._registerMediaQuery(J);const Ce=this.registry.get(J);return Ce&&!this.isActive(J)&&this.registry.set(J,Ce.activate()),this.hasActivated}_deactivateAll(){return this.registry.forEach(J=>{J.deactivate()}),this}_registerMediaQuery(J){!this.registry.has(J)&&this.autoRegisterQueries&&this.registerQuery(J)}buildMQL(J){return new Re(J)}get hasActivated(){return this.activations.length>0}}rt.\u0275fac=function(J){return new(J||rt)(e.LFG(e.R0b),e.LFG(e.Lbi),e.LFG(t.K0),e.LFG($))},rt.\u0275prov=e.Yz7({token:rt,factory:rt.\u0275fac});class Re extends EventTarget{constructor(J){super(),this._mediaQuery=J,this._isActive=!1,this._listeners=[],this.onchange=null}get matches(){return this._isActive}get media(){return this._mediaQuery}destroy(){this.deactivate(),this._listeners=[]}activate(){return this._isActive||(this._isActive=!0,this._listeners.forEach(J=>{J.call(this,{matches:this.matches,media:this.media})})),this}deactivate(){return this._isActive&&(this._isActive=!1,this._listeners.forEach(J=>{J.call(this,{matches:this.matches,media:this.media})})),this}addListener(J){-1===this._listeners.indexOf(J)&&this._listeners.push(J),this._isActive&&J.call(this,{matches:this.matches,media:this.media})}removeListener(J){}dispatchEvent(J){return!1}}class gi{constructor(J,Ce,We){this.breakpoints=J,this.matchMedia=Ce,this.hook=We,this.filterOverlaps=!1,this.destroyed$=new D.x,this._media$=this.watchActivations()}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}asObservable(){return this._media$}isActive(J){return function ei(K){return K.flatMap(J=>J.split(",")).map(J=>J.trim())}(function St(K){return Array.isArray(K)?K:[K]}(J)).some(We=>{const Mt=function oi(K,J){return(J.findByAlias(K)??J.findByQuery(K))?.mediaQuery??null}(We,this.breakpoints);return null!==Mt&&this.matchMedia.isActive(Mt)})}watchActivations(){const J=this.breakpoints.items.map(Ce=>Ce.mediaQuery);return this.buildObservable(J)}buildObservable(J){return this.matchMedia.observe(this.hook.withPrintQuery(J)).pipe((0,M.h)(Tt=>Tt.matches),(0,E.b)(0,d.E),(0,z.w)(Tt=>(0,P.of)(this.findAllActivations())),(0,I.U)(Tt=>this.filterOverlaps?Tt.filter(Nt=>this.breakpoints.findByQuery(Nt.mediaQuery)?.overlapping??!0):Tt),(0,M.h)(Tt=>Tt.filter(at=>at.mediaQuery.length>0).length>0),(0,V.x)((Tt,Nt)=>{if(Tt.length!==Nt.length)return!1;const at=Tt.map(ri=>ri.mediaQuery),Ke=new Set(Nt.map(ri=>ri.mediaQuery));return 0===new Set(at.filter(ri=>!Ke.has(ri))).size}),(0,Z.R)(this.destroyed$))}findAllActivations(){return this.matchMedia.activations.map(We=>new _e(!0,We)).map(We=>this.hook.isPrintEvent(We)?this.hook.updateEvent(We):We).map(We=>o(We,this.breakpoints.findByQuery(We.mediaQuery))).sort(a)}}gi.\u0275fac=function(J){return new(J||gi)(e.LFG($),e.LFG(U),e.LFG(oe))},gi.\u0275prov=e.Yz7({token:gi,factory:gi.\u0275fac,providedIn:"root"});class Zi{constructor(J,Ce,We,Mt,Tt){this.breakpoints=J,this.matchMedia=Ce,this.layoutConfig=We,this._platformId=Mt,this._document=Tt,this.hasCachedRegistryMatches=!1,this.originalActivations=[],this.originalRegistry=new Map}activate(J){J=J.map(Ce=>Ce.trim()),this.saveActivations(),this.deactivateAll(),this.setActivations(J),this.prepareAutoRestore()}restore(){if(this.hasCachedRegistryMatches){const J=We=>We.mediaQuery,Ce=this.originalActivations.map(J);try{this.deactivateAll(),this.restoreRegistryMatches(),this.setActivations(Ce)}finally{this.originalActivations=[],this.resizeSubscription&&this.resizeSubscription.unsubscribe()}}}prepareAutoRestore(){if((0,t.NF)(this._platformId)&&this._document&&this.layoutConfig.mediaTriggerAutoRestore){const We=(0,p.R)(window,"resize").pipe((0,q.q)(1));this.resizeSubscription=We.subscribe(this.restore.bind(this))}}deactivateAll(){const J=this.currentActivations;this.forceRegistryMatches(J,!1),this.simulateMediaChanges(J,!1)}saveActivations(){if(!this.hasCachedRegistryMatches){const J=We=>new _e(!0,We),Ce=We=>o(We,this.breakpoints.findByQuery(We.mediaQuery));this.originalActivations=this.currentActivations.map(J).map(Ce).sort(a),this.cacheRegistryMatches()}}setActivations(J){this.originalRegistry&&this.forceRegistryMatches(J,!0),this.simulateMediaChanges(J)}simulateMediaChanges(J,Ce=!0){J.map(Tt=>{const Nt=this.breakpoints,at=Nt.findByAlias(Tt)||Nt.findByQuery(Tt);return at?at.mediaQuery:Tt}).forEach(Tt=>this.emitChangeEvent(Ce,Tt))}forceRegistryMatches(J,Ce){const We=new Map;J.forEach(Mt=>{We.set(Mt,{matches:Ce})}),this.matchMedia.registry=We}cacheRegistryMatches(){const J=this.originalRegistry;J.clear(),this.matchMedia.registry.forEach((Ce,We)=>{J.set(We,Ce)}),this.hasCachedRegistryMatches=!0}restoreRegistryMatches(){const J=this.matchMedia.registry;J.clear(),this.originalRegistry.forEach((Ce,We)=>{J.set(We,Ce)}),this.originalRegistry.clear(),this.hasCachedRegistryMatches=!1}emitChangeEvent(J,Ce){this.matchMedia.source.next(new _e(J,Ce))}get currentActivations(){return this.matchMedia.activations}}function si(K,J="1",Ce="1"){let We=[J,Ce,K],Mt=K.indexOf("calc");if(Mt>0){We[2]=Bt(K.substring(Mt).trim());let Tt=K.substr(0,Mt).trim().split(" ");2==Tt.length&&(We[0]=Tt[0],We[1]=Tt[1])}else if(0==Mt)We[2]=Bt(K.trim());else{let Tt=K.split(" ");We=3===Tt.length?Tt:[J,Ce,K]}return We}function Bt(K){return K.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}Zi.\u0275fac=function(J){return new(J||Zi)(e.LFG($),e.LFG(U),e.LFG(ve),e.LFG(e.Lbi),e.LFG(t.K0))},Zi.\u0275prov=e.Yz7({token:Zi,factory:Zi.\u0275fac,providedIn:"root"});function me(K,J){if(void 0===J)return K;const Ce=We=>{const Mt=+We.slice(0,-"x".length);return K.endsWith("x")&&!isNaN(Mt)?`${Mt*J.value}${J.unit}`:K};return K.includes(" ")?K.split(" ").map(Ce).join(" "):Ce(K)}},3704:(Ge,X,f)=>{"use strict";f.d(X,{Zl:()=>A,aT:()=>a,oO:()=>V});var e=f(2560),t=f(4658),_=f(4666),S=f(8971),l=f(8951),D=f(4497);class d extends t.QI{buildStyles(U){return{content:U?`url(${U})`:""}}}d.\u0275fac=function(){let C;return function(N){return(C||(C=e.n5z(d)))(N||d)}}(),d.\u0275prov=e.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"});class P extends t.iR{constructor(U,N,Q,Pe,Le,Ye){super(U,N,Q,Pe),this.platformId=Le,this.serverModuleLoaded=Ye,this.DIRECTIVE_KEY="img-src",this.defaultSrc="",this.styleCache=p,this.init(),this.setValue(this.nativeElement.getAttribute("src")||"",""),(0,_.PM)(this.platformId)&&this.serverModuleLoaded&&this.nativeElement.setAttribute("src","")}set src(U){this.defaultSrc=U,this.setValue(this.defaultSrc,"")}updateWithValue(U){const N=U||this.defaultSrc;(0,_.PM)(this.platformId)&&this.serverModuleLoaded?this.addStyles(N):this.nativeElement.setAttribute("src",N)}}P.\u0275fac=function(U){return new(U||P)(e.Y36(e.SBq),e.Y36(d),e.Y36(t.RK),e.Y36(t.yB),e.Y36(e.Lbi),e.Y36(t.wY))},P.\u0275dir=e.lG2({type:P,inputs:{src:"src"},features:[e.qOj]});const p=new Map,L=["src.xs","src.sm","src.md","src.lg","src.xl","src.lt-sm","src.lt-md","src.lt-lg","src.lt-xl","src.gt-xs","src.gt-sm","src.gt-md","src.gt-lg"];class k extends P{constructor(){super(...arguments),this.inputs=L}}k.\u0275fac=function(){let C;return function(N){return(C||(C=e.n5z(k)))(N||k)}}(),k.\u0275dir=e.lG2({type:k,selectors:[["img","src.xs",""],["img","src.sm",""],["img","src.md",""],["img","src.lg",""],["img","src.xl",""],["img","src.lt-sm",""],["img","src.lt-md",""],["img","src.lt-lg",""],["img","src.lt-xl",""],["img","src.gt-xs",""],["img","src.gt-sm",""],["img","src.gt-md",""],["img","src.gt-lg",""]],inputs:{"src.xs":"src.xs","src.sm":"src.sm","src.md":"src.md","src.lg":"src.lg","src.xl":"src.xl","src.lt-sm":"src.lt-sm","src.lt-md":"src.lt-md","src.lt-lg":"src.lt-lg","src.lt-xl":"src.lt-xl","src.gt-xs":"src.gt-xs","src.gt-sm":"src.gt-sm","src.gt-md":"src.gt-md","src.gt-lg":"src.gt-lg"},features:[e.qOj]});class E extends t.iR{constructor(U,N,Q,Pe,Le,Ye,$e){super(U,null,N,Q),this.ngClassInstance=$e,this.DIRECTIVE_KEY="ngClass",this.ngClassInstance||(this.ngClassInstance=new _.mk(Pe,Le,U,Ye)),this.init(),this.setValue("","")}set klass(U){this.ngClassInstance.klass=U,this.setValue(U,"")}updateWithValue(U){this.ngClassInstance.ngClass=U,this.ngClassInstance.ngDoCheck()}ngDoCheck(){this.ngClassInstance.ngDoCheck()}}E.\u0275fac=function(U){return new(U||E)(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(_.mk,10))},E.\u0275dir=e.lG2({type:E,inputs:{klass:["class","klass"]},features:[e.qOj]});const z=["ngClass","ngClass.xs","ngClass.sm","ngClass.md","ngClass.lg","ngClass.xl","ngClass.lt-sm","ngClass.lt-md","ngClass.lt-lg","ngClass.lt-xl","ngClass.gt-xs","ngClass.gt-sm","ngClass.gt-md","ngClass.gt-lg"];class V extends E{constructor(){super(...arguments),this.inputs=z}}V.\u0275fac=function(){let C;return function(N){return(C||(C=e.n5z(V)))(N||V)}}(),V.\u0275dir=e.lG2({type:V,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 Z extends t.QI{buildStyles(U,N){return{display:"true"===U?N.display||(N.isServer?"initial":""):"none"}}}Z.\u0275fac=function(){let C;return function(N){return(C||(C=e.n5z(Z)))(N||Z)}}(),Z.\u0275prov=e.Yz7({token:Z,factory:Z.\u0275fac,providedIn:"root"});class q extends t.iR{constructor(U,N,Q,Pe,Le,Ye,$e){super(U,N,Q,Pe),this.layoutConfig=Le,this.platformId=Ye,this.serverModuleLoaded=$e,this.DIRECTIVE_KEY="show-hide",this.display="",this.hasLayout=!1,this.hasFlexChild=!1}ngAfterViewInit(){this.trackExtraTriggers();const U=Array.from(this.nativeElement.children);for(let Q=0;Q<U.length;Q++)if(this.marshal.hasValue(U[Q],"flex")){this.hasFlexChild=!0;break}te.has(this.nativeElement)?this.display=te.get(this.nativeElement):(this.display=this.getDisplayStyle(),te.set(this.nativeElement,this.display)),this.init();const N=this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY,"");void 0===N||""===N?this.setValue(!0,""):this.triggerUpdate()}ngOnChanges(U){Object.keys(U).forEach(N=>{if(-1!==this.inputs.indexOf(N)){const Q=N.split("."),Pe=Q.slice(1).join("."),Le=U[N].currentValue;let Ye=""===Le||0!==Le&&(0,S.Ig)(Le);"fxHide"===Q[0]&&(Ye=!Ye),this.setValue(Ye,Pe)}})}trackExtraTriggers(){this.hasLayout=this.marshal.hasValue(this.nativeElement,"layout"),["layout","layout-align"].forEach(U=>{this.marshal.trackValue(this.nativeElement,U).pipe((0,l.R)(this.destroySubject)).subscribe(this.triggerUpdate.bind(this))})}getDisplayStyle(){return this.hasLayout||this.hasFlexChild&&this.layoutConfig.addFlexToParent?"flex":this.styler.lookupStyle(this.nativeElement,"display",!0)}updateWithValue(U=!0){if(""===U)return;const N=(0,_.PM)(this.platformId);this.addStyles(U?"true":"false",{display:this.display,isServer:N}),N&&this.serverModuleLoaded&&this.nativeElement.style.setProperty("display",""),this.marshal.triggerUpdate(this.parentElement,"layout-gap")}}q.\u0275fac=function(U){return new(U||q)(e.Y36(e.SBq),e.Y36(Z),e.Y36(t.RK),e.Y36(t.yB),e.Y36(t.WU),e.Y36(e.Lbi),e.Y36(t.wY))},q.\u0275dir=e.lG2({type:q,features:[e.qOj,e.TTD]});const te=new WeakMap,ne=["fxShow","fxShow.print","fxShow.xs","fxShow.sm","fxShow.md","fxShow.lg","fxShow.xl","fxShow.lt-sm","fxShow.lt-md","fxShow.lt-lg","fxShow.lt-xl","fxShow.gt-xs","fxShow.gt-sm","fxShow.gt-md","fxShow.gt-lg","fxHide","fxHide.print","fxHide.xs","fxHide.sm","fxHide.md","fxHide.lg","fxHide.xl","fxHide.lt-sm","fxHide.lt-md","fxHide.lt-lg","fxHide.lt-xl","fxHide.gt-xs","fxHide.gt-sm","fxHide.gt-md","fxHide.gt-lg"];class re extends q{constructor(){super(...arguments),this.inputs=ne}}re.\u0275fac=function(){let C;return function(N){return(C||(C=e.n5z(re)))(N||re)}}(),re.\u0275dir=e.lG2({type:re,selectors:[["","fxShow",""],["","fxShow.print",""],["","fxShow.xs",""],["","fxShow.sm",""],["","fxShow.md",""],["","fxShow.lg",""],["","fxShow.xl",""],["","fxShow.lt-sm",""],["","fxShow.lt-md",""],["","fxShow.lt-lg",""],["","fxShow.lt-xl",""],["","fxShow.gt-xs",""],["","fxShow.gt-sm",""],["","fxShow.gt-md",""],["","fxShow.gt-lg",""],["","fxHide",""],["","fxHide.print",""],["","fxHide.xs",""],["","fxHide.sm",""],["","fxHide.md",""],["","fxHide.lg",""],["","fxHide.xl",""],["","fxHide.lt-sm",""],["","fxHide.lt-md",""],["","fxHide.lt-lg",""],["","fxHide.lt-xl",""],["","fxHide.gt-xs",""],["","fxHide.gt-sm",""],["","fxHide.gt-md",""],["","fxHide.gt-lg",""]],inputs:{fxShow:"fxShow","fxShow.print":"fxShow.print","fxShow.xs":"fxShow.xs","fxShow.sm":"fxShow.sm","fxShow.md":"fxShow.md","fxShow.lg":"fxShow.lg","fxShow.xl":"fxShow.xl","fxShow.lt-sm":"fxShow.lt-sm","fxShow.lt-md":"fxShow.lt-md","fxShow.lt-lg":"fxShow.lt-lg","fxShow.lt-xl":"fxShow.lt-xl","fxShow.gt-xs":"fxShow.gt-xs","fxShow.gt-sm":"fxShow.gt-sm","fxShow.gt-md":"fxShow.gt-md","fxShow.gt-lg":"fxShow.gt-lg",fxHide:"fxHide","fxHide.print":"fxHide.print","fxHide.xs":"fxHide.xs","fxHide.sm":"fxHide.sm","fxHide.md":"fxHide.md","fxHide.lg":"fxHide.lg","fxHide.xl":"fxHide.xl","fxHide.lt-sm":"fxHide.lt-sm","fxHide.lt-md":"fxHide.lt-md","fxHide.lt-lg":"fxHide.lt-lg","fxHide.lt-xl":"fxHide.lt-xl","fxHide.gt-xs":"fxHide.gt-xs","fxHide.gt-sm":"fxHide.gt-sm","fxHide.gt-md":"fxHide.gt-md","fxHide.gt-lg":"fxHide.gt-lg"},features:[e.qOj]});class _e{constructor(U,N,Q=!0){this.key=U,this.value=N,this.key=Q?U.replace(/['"]/g,"").trim():U.trim(),this.value=Q?N.replace(/['"]/g,"").trim():N.trim(),this.value=this.value.replace(/;/,"")}}function he(C){let U=typeof C;return"object"===U?C.constructor===Array?"array":C.constructor===Set?"set":"object":U}function T(C,U){let N=[];return"set"===he(C)?C.forEach(Q=>N.push(Q)):Object.keys(C).forEach(Q=>{N.push(`${Q}:${C[Q]}`)}),function ve(C,U){return C.map(i).filter(Q=>!!Q).map(Q=>(U&&(Q.value=U(Q.value)),Q)).reduce(o,{})}(N,U)}function i(C){const[U,...N]=C.split(":");return new _e(U,N.join(":"))}function o(C,U){return U.key&&(C[U.key]=U.value),C}class m extends t.iR{constructor(U,N,Q,Pe,Le,Ye,$e,Ve,be){super(U,null,N,Q),this.sanitizer=Pe,this.ngStyleInstance=$e,this.DIRECTIVE_KEY="ngStyle",this.ngStyleInstance||(this.ngStyleInstance=new _.PC(U,Le,Ye)),this.init();const et=this.nativeElement.getAttribute("style")??"";this.fallbackStyles=this.buildStyleMap(et),this.isServer=Ve&&(0,_.PM)(be)}updateWithValue(U){const N=this.buildStyleMap(U);this.ngStyleInstance.ngStyle={...this.fallbackStyles,...N},this.isServer&&this.applyStyleToElement(N),this.ngStyleInstance.ngDoCheck()}clearStyles(){this.ngStyleInstance.ngStyle=this.fallbackStyles,this.ngStyleInstance.ngDoCheck()}buildStyleMap(U){const N=Q=>this.sanitizer.sanitize(e.q3G.STYLE,Q)??"";if(U)switch(he(U)){case"string":return R(function ae(C,U=";"){return String(C).trim().split(U).map(N=>N.trim()).filter(N=>""!==N)}(U),N);case"array":return R(U,N);default:return T(U,N)}return{}}ngDoCheck(){this.ngStyleInstance.ngDoCheck()}}m.\u0275fac=function(U){return new(U||m)(e.Y36(e.SBq),e.Y36(t.RK),e.Y36(t.yB),e.Y36(D.H7),e.Y36(e.aQg),e.Y36(e.Qsj),e.Y36(_.PC,10),e.Y36(t.wY),e.Y36(e.Lbi))},m.\u0275dir=e.lG2({type:m,features:[e.qOj]});const h=["ngStyle","ngStyle.xs","ngStyle.sm","ngStyle.md","ngStyle.lg","ngStyle.xl","ngStyle.lt-sm","ngStyle.lt-md","ngStyle.lt-lg","ngStyle.lt-xl","ngStyle.gt-xs","ngStyle.gt-sm","ngStyle.gt-md","ngStyle.gt-lg"];class A extends m{constructor(){super(...arguments),this.inputs=h}}function R(C,U){return C.map(i).filter(Q=>!!Q).map(Q=>(U&&(Q.value=U(Q.value)),Q)).reduce(o,{})}A.\u0275fac=function(){let C;return function(N){return(C||(C=e.n5z(A)))(N||A)}}(),A.\u0275dir=e.lG2({type:A,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]});class a{}a.\u0275fac=function(U){return new(U||a)},a.\u0275mod=e.oAB({type:a}),a.\u0275inj=e.cJS({imports:[t.IR]})},6722:(Ge,X,f)=>{"use strict";f.d(X,{Wh:()=>gt,ae:()=>Bt,xw:()=>M,yH:()=>y});var e=f(2560),t=f(2867),_=f(4658),S=f(7200),l=f(253),D=f(8951);class d extends _.QI{buildStyles(me,{display:K}){const J=(0,S.Ar)(me);return{...J,display:"none"===K?K:J.display}}}d.\u0275fac=function(){let Je;return function(K){return(Je||(Je=e.n5z(d)))(K||d)}}(),d.\u0275prov=e.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"});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"];class L extends _.iR{constructor(me,K,J,Ce,We){super(me,J,K,Ce),this._config=We,this.DIRECTIVE_KEY="layout",this.init()}updateWithValue(me){const J=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=k.get(J)??new Map,k.set(J,this.styleCache),this.currentValue!==me&&(this.addStyles(me,{display:J}),this.currentValue=me)}}L.\u0275fac=function(me){return new(me||L)(e.Y36(e.SBq),e.Y36(_.RK),e.Y36(d),e.Y36(_.yB),e.Y36(_.WU))},L.\u0275dir=e.lG2({type:L,features:[e.qOj]});class M extends L{constructor(){super(...arguments),this.inputs=P}}M.\u0275fac=function(){let Je;return function(K){return(Je||(Je=e.n5z(M)))(K||M)}}(),M.\u0275dir=e.lG2({type:M,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]});const k=new Map,E={"margin-left":null,"margin-right":null,"margin-top":null,"margin-bottom":null};class z extends _.QI{constructor(me,K){super(),this._styler=me,this._config=K}buildStyles(me,K){return me.endsWith(_e)?(me=me.slice(0,me.indexOf(_e)),function ae(Je,me){const[K,J]=Je.split(" "),We=at=>`-${at}`;let Mt="0px",Tt=We(J??K),Nt="0px";return"rtl"===me?Nt=We(K):Mt=We(K),{margin:`0px ${Mt} ${Tt} ${Nt}`}}(me=(0,_.FL)(me,this._config.multiplier),K.directionality)):{}}sideEffect(me,K,J){const Ce=J.items;if(me.endsWith(_e)){me=me.slice(0,me.indexOf(_e));const We=function he(Je,me){const[K,J]=Je.split(" ");let We="0px",Tt="0px";return"rtl"===me?Tt=K:We=K,{padding:`0px ${We} ${J??K} ${Tt}`}}(me=(0,_.FL)(me,this._config.multiplier),J.directionality);this._styler.applyStyleToElements(We,J.items)}else{me=(0,_.FL)(me,this._config.multiplier),me=this.addFallbackUnit(me);const We=Ce.pop(),Mt=function T(Je,me){const K=ve(me.directionality,me.layout),J={...E};return J[K]=Je,J}(me,J);this._styler.applyStyleToElements(Mt,Ce),this._styler.applyStyleToElements(E,[We])}}addFallbackUnit(me){return isNaN(+me)?me:`${me}${this._config.defaultUnit}`}}z.\u0275fac=function(me){return new(me||z)(e.LFG(_.RK),e.LFG(_.WU))},z.\u0275prov=e.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"});const I=["fxLayoutGap","fxLayoutGap.xs","fxLayoutGap.sm","fxLayoutGap.md","fxLayoutGap.lg","fxLayoutGap.xl","fxLayoutGap.lt-sm","fxLayoutGap.lt-md","fxLayoutGap.lt-lg","fxLayoutGap.lt-xl","fxLayoutGap.gt-xs","fxLayoutGap.gt-sm","fxLayoutGap.gt-md","fxLayoutGap.gt-lg"];class Z extends _.iR{constructor(me,K,J,Ce,We,Mt){super(me,We,Ce,Mt),this.zone=K,this.directionality=J,this.styleUtils=Ce,this.layout="row",this.DIRECTIVE_KEY="layout-gap",this.observerSubject=new l.x;const Tt=[this.directionality.change,this.observerSubject.asObservable()];this.init(Tt),this.marshal.trackValue(this.nativeElement,"layout").pipe((0,D.R)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}get childrenNodes(){const me=this.nativeElement.children,K=[];for(let J=me.length;J--;)K[J]=me[J];return K}ngAfterContentInit(){this.buildChildObservable(),this.triggerUpdate()}ngOnDestroy(){super.ngOnDestroy(),this.observer&&this.observer.disconnect()}onLayoutChange(me){const J=me.value.split(" ");this.layout=J[0],S.iQ.find(Ce=>Ce===this.layout)||(this.layout="row"),this.triggerUpdate()}updateWithValue(me){const K=this.childrenNodes.filter(J=>1===J.nodeType&&this.willDisplay(J)).sort((J,Ce)=>{const We=+this.styler.lookupStyle(J,"order"),Mt=+this.styler.lookupStyle(Ce,"order");return isNaN(We)||isNaN(Mt)||We===Mt?0:We>Mt?1:-1});if(K.length>0){const J=this.directionality.value,Ce=this.layout;"row"===Ce&&"rtl"===J?this.styleCache=te:"row"===Ce&&"rtl"!==J?this.styleCache=le:"column"===Ce&&"rtl"===J?this.styleCache=ne:"column"===Ce&&"rtl"!==J&&(this.styleCache=re),this.addStyles(me,{directionality:J,items:K,layout:Ce})}}clearStyles(){const me=Object.keys(this.mru).length>0,K=me?"padding":ve(this.directionality.value,this.layout);me&&super.clearStyles(),this.styleUtils.applyStyleToElements({[K]:""},this.childrenNodes)}willDisplay(me){const K=this.marshal.getValue(me,"show-hide");return!0===K||void 0===K&&"none"!==this.styleUtils.lookupStyle(me,"display")}buildChildObservable(){this.zone.runOutsideAngular(()=>{typeof MutationObserver<"u"&&(this.observer=new MutationObserver(me=>{me.some(J=>J.addedNodes&&J.addedNodes.length>0||J.removedNodes&&J.removedNodes.length>0)&&this.observerSubject.next()}),this.observer.observe(this.nativeElement,{childList:!0}))})}}Z.\u0275fac=function(me){return new(me||Z)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(t.Is),e.Y36(_.RK),e.Y36(z),e.Y36(_.yB))},Z.\u0275dir=e.lG2({type:Z,features:[e.qOj]});class q extends Z{constructor(){super(...arguments),this.inputs=I}}q.\u0275fac=function(){let Je;return function(K){return(Je||(Je=e.n5z(q)))(K||q)}}(),q.\u0275dir=e.lG2({type:q,selectors:[["","fxLayoutGap",""],["","fxLayoutGap.xs",""],["","fxLayoutGap.sm",""],["","fxLayoutGap.md",""],["","fxLayoutGap.lg",""],["","fxLayoutGap.xl",""],["","fxLayoutGap.lt-sm",""],["","fxLayoutGap.lt-md",""],["","fxLayoutGap.lt-lg",""],["","fxLayoutGap.lt-xl",""],["","fxLayoutGap.gt-xs",""],["","fxLayoutGap.gt-sm",""],["","fxLayoutGap.gt-md",""],["","fxLayoutGap.gt-lg",""]],inputs:{fxLayoutGap:"fxLayoutGap","fxLayoutGap.xs":"fxLayoutGap.xs","fxLayoutGap.sm":"fxLayoutGap.sm","fxLayoutGap.md":"fxLayoutGap.md","fxLayoutGap.lg":"fxLayoutGap.lg","fxLayoutGap.xl":"fxLayoutGap.xl","fxLayoutGap.lt-sm":"fxLayoutGap.lt-sm","fxLayoutGap.lt-md":"fxLayoutGap.lt-md","fxLayoutGap.lt-lg":"fxLayoutGap.lt-lg","fxLayoutGap.lt-xl":"fxLayoutGap.lt-xl","fxLayoutGap.gt-xs":"fxLayoutGap.gt-xs","fxLayoutGap.gt-sm":"fxLayoutGap.gt-sm","fxLayoutGap.gt-md":"fxLayoutGap.gt-md","fxLayoutGap.gt-lg":"fxLayoutGap.gt-lg"},features:[e.qOj]});const te=new Map,ne=new Map,le=new Map,re=new Map,_e=" grid";function ve(Je,me){switch(me){case"column":return"margin-bottom";case"column-reverse":return"margin-top";case"row":default:return"rtl"===Je?"margin-left":"margin-right";case"row-reverse":return"rtl"===Je?"margin-right":"margin-left"}}class i extends _.QI{constructor(me){super(),this.layoutConfig=me}buildStyles(me,K){let[J,Ce,...We]=me.split(" "),Mt=We.join(" ");const Tt=K.direction.indexOf("column")>-1?"column":"row",Nt=(0,S.tj)(Tt)?"max-width":"max-height",at=(0,S.tj)(Tt)?"min-width":"min-height",Ke=String(Mt).indexOf("calc")>-1,vt=Ke||"auto"===Mt,ri=String(Mt).indexOf("%")>-1&&!Ke,Pt=String(Mt).indexOf("px")>-1||String(Mt).indexOf("rem")>-1||String(Mt).indexOf("em")>-1||String(Mt).indexOf("vw")>-1||String(Mt).indexOf("vh")>-1;let Lt=Ke||Pt;J="0"==J?0:J,Ce="0"==Ce?0:Ce;const Kt=!J&&!Ce;let Ae={};const fe={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(Mt||""){case"":const st=!1!==this.layoutConfig.useColumnBasisZero;Mt="row"===Tt?"0%":st?"0.000000001px":"auto";break;case"initial":case"nogrow":J=0,Mt="auto";break;case"grow":Mt="100%";break;case"noshrink":Ce=0,Mt="auto";break;case"auto":break;case"none":J=0,Ce=0,Mt="auto";break;default:!Lt&&!ri&&!isNaN(Mt)&&(Mt+="%"),"0%"===Mt&&(Lt=!0),"0px"===Mt&&(Mt="0%"),Ae=Ke?(0,S.kt)(fe,{"flex-grow":J,"flex-shrink":Ce,"flex-basis":Lt?Mt:"100%"}):(0,S.kt)(fe,{flex:`${J} ${Ce} ${Lt?Mt:"100%"}`})}return Ae.flex||Ae["flex-grow"]||(Ae=Ke?(0,S.kt)(fe,{"flex-grow":J,"flex-shrink":Ce,"flex-basis":Mt}):(0,S.kt)(fe,{flex:`${J} ${Ce} ${Mt}`})),"0%"!==Mt&&"0px"!==Mt&&"0.000000001px"!==Mt&&"auto"!==Mt&&(Ae[at]=Kt||Lt&&J?Mt:null,Ae[Nt]=Kt||!vt&&Ce?Mt:null),Ae[at]||Ae[Nt]?K.hasWrap&&(Ae[Ke?"flex-basis":"flex"]=Ae[Nt]?Ke?Ae[Nt]:`${J} ${Ce} ${Ae[Nt]}`:Ke?Ae[at]:`${J} ${Ce} ${Ae[at]}`):Ae=Ke?(0,S.kt)(fe,{"flex-grow":J,"flex-shrink":Ce,"flex-basis":Mt}):(0,S.kt)(fe,{flex:`${J} ${Ce} ${Mt}`}),(0,S.kt)(Ae,{"box-sizing":"border-box"})}}i.\u0275fac=function(me){return new(me||i)(e.LFG(_.WU))},i.\u0275prov=e.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"});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"];class h extends _.iR{constructor(me,K,J,Ce,We){super(me,Ce,K,We),this.layoutConfig=J,this.marshal=We,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(me){this.flexShrink=me||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(me){this.flexGrow=me||"1",this.triggerReflow()}ngOnInit(){this.parentElement&&(this.marshal.trackValue(this.parentElement,"layout").pipe((0,D.R)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe((0,D.R)(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}onLayoutChange(me){const J=me.value.split(" ");this.direction=J[0],this.wrap=void 0!==J[1]&&"wrap"===J[1],this.triggerUpdate()}updateWithValue(me){const K=!1!==this.layoutConfig.addFlexToParent;void 0===this.direction&&(this.direction=this.getFlexFlowDirection(this.parentElement,K)),void 0===this.wrap&&(this.wrap=this.hasWrap(this.parentElement));const J=this.direction,Ce=J.startsWith("row"),We=this.wrap;Ce&&We?this.styleCache=v:Ce&&!We?this.styleCache=A:!Ce&&We?this.styleCache=a:!Ce&&!We&&(this.styleCache=R);const Mt=String(me).replace(";",""),Tt=(0,_.Ot)(Mt,this.flexGrow,this.flexShrink);this.addStyles(Tt.join(" "),{direction:J,hasWrap:We})}triggerReflow(){const me=this.activatedValue;if(void 0!==me){const K=(0,_.Ot)(me+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,K.join(" "))}}}h.\u0275fac=function(me){return new(me||h)(e.Y36(e.SBq),e.Y36(_.RK),e.Y36(_.WU),e.Y36(i),e.Y36(_.yB))},h.\u0275dir=e.lG2({type:h,inputs:{shrink:["fxShrink","shrink"],grow:["fxGrow","grow"]},features:[e.qOj]});class y extends h{constructor(){super(...arguments),this.inputs=o}}y.\u0275fac=function(){let Je;return function(K){return(Je||(Je=e.n5z(y)))(K||y)}}(),y.\u0275dir=e.lG2({type:y,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]});const A=new Map,R=new Map,v=new Map,a=new Map;class C extends _.QI{buildStyles(me){return{order:me&&parseInt(me,10)||""}}}C.\u0275fac=function(){let Je;return function(K){return(Je||(Je=e.n5z(C)))(K||C)}}(),C.\u0275prov=e.Yz7({token:C,factory:C.\u0275fac,providedIn:"root"});const U=["fxFlexOrder","fxFlexOrder.xs","fxFlexOrder.sm","fxFlexOrder.md","fxFlexOrder.lg","fxFlexOrder.xl","fxFlexOrder.lt-sm","fxFlexOrder.lt-md","fxFlexOrder.lt-lg","fxFlexOrder.lt-xl","fxFlexOrder.gt-xs","fxFlexOrder.gt-sm","fxFlexOrder.gt-md","fxFlexOrder.gt-lg"];class Q extends _.iR{constructor(me,K,J,Ce){super(me,J,K,Ce),this.DIRECTIVE_KEY="flex-order",this.styleCache=Pe,this.init()}}Q.\u0275fac=function(me){return new(me||Q)(e.Y36(e.SBq),e.Y36(_.RK),e.Y36(C),e.Y36(_.yB))},Q.\u0275dir=e.lG2({type:Q,features:[e.qOj]});const Pe=new Map;class Le extends Q{constructor(){super(...arguments),this.inputs=U}}Le.\u0275fac=function(){let Je;return function(K){return(Je||(Je=e.n5z(Le)))(K||Le)}}(),Le.\u0275dir=e.lG2({type:Le,selectors:[["","fxFlexOrder",""],["","fxFlexOrder.xs",""],["","fxFlexOrder.sm",""],["","fxFlexOrder.md",""],["","fxFlexOrder.lg",""],["","fxFlexOrder.xl",""],["","fxFlexOrder.lt-sm",""],["","fxFlexOrder.lt-md",""],["","fxFlexOrder.lt-lg",""],["","fxFlexOrder.lt-xl",""],["","fxFlexOrder.gt-xs",""],["","fxFlexOrder.gt-sm",""],["","fxFlexOrder.gt-md",""],["","fxFlexOrder.gt-lg",""]],inputs:{fxFlexOrder:"fxFlexOrder","fxFlexOrder.xs":"fxFlexOrder.xs","fxFlexOrder.sm":"fxFlexOrder.sm","fxFlexOrder.md":"fxFlexOrder.md","fxFlexOrder.lg":"fxFlexOrder.lg","fxFlexOrder.xl":"fxFlexOrder.xl","fxFlexOrder.lt-sm":"fxFlexOrder.lt-sm","fxFlexOrder.lt-md":"fxFlexOrder.lt-md","fxFlexOrder.lt-lg":"fxFlexOrder.lt-lg","fxFlexOrder.lt-xl":"fxFlexOrder.lt-xl","fxFlexOrder.gt-xs":"fxFlexOrder.gt-xs","fxFlexOrder.gt-sm":"fxFlexOrder.gt-sm","fxFlexOrder.gt-md":"fxFlexOrder.gt-md","fxFlexOrder.gt-lg":"fxFlexOrder.gt-lg"},features:[e.qOj]});class Ye extends _.QI{constructor(me){super(),this._config=me}buildStyles(me,K){me||(me="0"),me=(0,_.FL)(me,this._config.multiplier);const J=String(me).indexOf("%")>-1;!(String(me).indexOf("px")>-1)&&!J&&!isNaN(+me)&&(me=`${me}%`);const We=K.isRtl?"margin-right":"margin-left";return(0,S.tj)(K.layout)?{[We]:me}:{"margin-top":me}}}Ye.\u0275fac=function(me){return new(me||Ye)(e.LFG(_.WU))},Ye.\u0275prov=e.Yz7({token:Ye,factory:Ye.\u0275fac,providedIn:"root"});const $e=["fxFlexOffset","fxFlexOffset.xs","fxFlexOffset.sm","fxFlexOffset.md","fxFlexOffset.lg","fxFlexOffset.xl","fxFlexOffset.lt-sm","fxFlexOffset.lt-md","fxFlexOffset.lt-lg","fxFlexOffset.lt-xl","fxFlexOffset.gt-xs","fxFlexOffset.gt-sm","fxFlexOffset.gt-md","fxFlexOffset.gt-lg"];class be extends _.iR{constructor(me,K,J,Ce,We){super(me,J,We,Ce),this.directionality=K,this.DIRECTIVE_KEY="flex-offset",this.init([this.directionality.change]),this.parentElement&&this.marshal.trackValue(this.parentElement,"layout-gap").pipe((0,D.R)(this.destroySubject)).subscribe(this.triggerUpdate.bind(this))}updateWithValue(me=""){const K=this.getFlexFlowDirection(this.parentElement,!0),J="rtl"===this.directionality.value;"row"===K&&J?this.styleCache=je:"row"!==K||J?"column"===K&&J?this.styleCache=ye:"column"===K&&!J&&(this.styleCache=He):this.styleCache=Te,this.addStyles(me+"",{layout:K,isRtl:J})}}be.\u0275fac=function(me){return new(me||be)(e.Y36(e.SBq),e.Y36(t.Is),e.Y36(Ye),e.Y36(_.yB),e.Y36(_.RK))},be.\u0275dir=e.lG2({type:be,features:[e.qOj]});class et extends be{constructor(){super(...arguments),this.inputs=$e}}et.\u0275fac=function(){let Je;return function(K){return(Je||(Je=e.n5z(et)))(K||et)}}(),et.\u0275dir=e.lG2({type:et,selectors:[["","fxFlexOffset",""],["","fxFlexOffset.xs",""],["","fxFlexOffset.sm",""],["","fxFlexOffset.md",""],["","fxFlexOffset.lg",""],["","fxFlexOffset.xl",""],["","fxFlexOffset.lt-sm",""],["","fxFlexOffset.lt-md",""],["","fxFlexOffset.lt-lg",""],["","fxFlexOffset.lt-xl",""],["","fxFlexOffset.gt-xs",""],["","fxFlexOffset.gt-sm",""],["","fxFlexOffset.gt-md",""],["","fxFlexOffset.gt-lg",""]],inputs:{fxFlexOffset:"fxFlexOffset","fxFlexOffset.xs":"fxFlexOffset.xs","fxFlexOffset.sm":"fxFlexOffset.sm","fxFlexOffset.md":"fxFlexOffset.md","fxFlexOffset.lg":"fxFlexOffset.lg","fxFlexOffset.xl":"fxFlexOffset.xl","fxFlexOffset.lt-sm":"fxFlexOffset.lt-sm","fxFlexOffset.lt-md":"fxFlexOffset.lt-md","fxFlexOffset.lt-lg":"fxFlexOffset.lt-lg","fxFlexOffset.lt-xl":"fxFlexOffset.lt-xl","fxFlexOffset.gt-xs":"fxFlexOffset.gt-xs","fxFlexOffset.gt-sm":"fxFlexOffset.gt-sm","fxFlexOffset.gt-md":"fxFlexOffset.gt-md","fxFlexOffset.gt-lg":"fxFlexOffset.gt-lg"},features:[e.qOj]});const je=new Map,ye=new Map,Te=new Map,He=new Map;class Ee extends _.QI{buildStyles(me){const K={};switch(me=me||"stretch"){case"start":K["align-self"]="flex-start";break;case"end":K["align-self"]="flex-end";break;default:K["align-self"]=me}return K}}Ee.\u0275fac=function(){let Je;return function(K){return(Je||(Je=e.n5z(Ee)))(K||Ee)}}(),Ee.\u0275prov=e.Yz7({token:Ee,factory:Ee.\u0275fac,providedIn:"root"});const we=["fxFlexAlign","fxFlexAlign.xs","fxFlexAlign.sm","fxFlexAlign.md","fxFlexAlign.lg","fxFlexAlign.xl","fxFlexAlign.lt-sm","fxFlexAlign.lt-md","fxFlexAlign.lt-lg","fxFlexAlign.lt-xl","fxFlexAlign.gt-xs","fxFlexAlign.gt-sm","fxFlexAlign.gt-md","fxFlexAlign.gt-lg"];class Me extends _.iR{constructor(me,K,J,Ce){super(me,J,K,Ce),this.DIRECTIVE_KEY="flex-align",this.styleCache=ie,this.init()}}Me.\u0275fac=function(me){return new(me||Me)(e.Y36(e.SBq),e.Y36(_.RK),e.Y36(Ee),e.Y36(_.yB))},Me.\u0275dir=e.lG2({type:Me,features:[e.qOj]});const ie=new Map;class G extends Me{constructor(){super(...arguments),this.inputs=we}}G.\u0275fac=function(){let Je;return function(K){return(Je||(Je=e.n5z(G)))(K||G)}}(),G.\u0275dir=e.lG2({type:G,selectors:[["","fxFlexAlign",""],["","fxFlexAlign.xs",""],["","fxFlexAlign.sm",""],["","fxFlexAlign.md",""],["","fxFlexAlign.lg",""],["","fxFlexAlign.xl",""],["","fxFlexAlign.lt-sm",""],["","fxFlexAlign.lt-md",""],["","fxFlexAlign.lt-lg",""],["","fxFlexAlign.lt-xl",""],["","fxFlexAlign.gt-xs",""],["","fxFlexAlign.gt-sm",""],["","fxFlexAlign.gt-md",""],["","fxFlexAlign.gt-lg",""]],inputs:{fxFlexAlign:"fxFlexAlign","fxFlexAlign.xs":"fxFlexAlign.xs","fxFlexAlign.sm":"fxFlexAlign.sm","fxFlexAlign.md":"fxFlexAlign.md","fxFlexAlign.lg":"fxFlexAlign.lg","fxFlexAlign.xl":"fxFlexAlign.xl","fxFlexAlign.lt-sm":"fxFlexAlign.lt-sm","fxFlexAlign.lt-md":"fxFlexAlign.lt-md","fxFlexAlign.lt-lg":"fxFlexAlign.lt-lg","fxFlexAlign.lt-xl":"fxFlexAlign.lt-xl","fxFlexAlign.gt-xs":"fxFlexAlign.gt-xs","fxFlexAlign.gt-sm":"fxFlexAlign.gt-sm","fxFlexAlign.gt-md":"fxFlexAlign.gt-md","fxFlexAlign.gt-lg":"fxFlexAlign.gt-lg"},features:[e.qOj]});const $={margin:0,width:"100%",height:"100%","min-width":"100%","min-height":"100%"};class ze extends _.QI{buildStyles(me){return $}}ze.\u0275fac=function(){let Je;return function(K){return(Je||(Je=e.n5z(ze)))(K||ze)}}(),ze.\u0275prov=e.Yz7({token:ze,factory:ze.\u0275fac,providedIn:"root"});class Ue extends _.iR{constructor(me,K,J,Ce){super(me,J,K,Ce),this.styleCache=oe,this.addStyles("")}}Ue.\u0275fac=function(me){return new(me||Ue)(e.Y36(e.SBq),e.Y36(_.RK),e.Y36(ze),e.Y36(_.yB))},Ue.\u0275dir=e.lG2({type:Ue,selectors:[["","fxFill",""],["","fxFlexFill",""]],features:[e.qOj]});const oe=new Map;class bt extends _.QI{buildStyles(me,K){const J={},[Ce,We]=me.split(" ");switch(Ce){case"center":J["justify-content"]="center";break;case"space-around":J["justify-content"]="space-around";break;case"space-between":J["justify-content"]="space-between";break;case"space-evenly":J["justify-content"]="space-evenly";break;case"end":case"flex-end":J["justify-content"]="flex-end";break;default:J["justify-content"]="flex-start"}switch(We){case"start":case"flex-start":J["align-items"]=J["align-content"]="flex-start";break;case"center":J["align-items"]=J["align-content"]="center";break;case"end":case"flex-end":J["align-items"]=J["align-content"]="flex-end";break;case"space-between":J["align-content"]="space-between",J["align-items"]="stretch";break;case"space-around":J["align-content"]="space-around",J["align-items"]="stretch";break;case"baseline":J["align-content"]="stretch",J["align-items"]="baseline";break;default:J["align-items"]=J["align-content"]="stretch"}return(0,S.kt)(J,{display:K.inline?"inline-flex":"flex","flex-direction":K.layout,"box-sizing":"border-box","max-width":"stretch"===We?(0,S.tj)(K.layout)?null:"100%":null,"max-height":"stretch"===We&&(0,S.tj)(K.layout)?"100%":null})}}bt.\u0275fac=function(){let Je;return function(K){return(Je||(Je=e.n5z(bt)))(K||bt)}}(),bt.\u0275prov=e.Yz7({token:bt,factory:bt.\u0275fac,providedIn:"root"});const Be=["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"];class $t extends _.iR{constructor(me,K,J,Ce){super(me,J,K,Ce),this.DIRECTIVE_KEY="layout-align",this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe((0,D.R)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(me){const K=this.layout||"row",J=this.inline;"row"===K&&J?this.styleCache=gi:"row"!==K||J?"row-reverse"===K&&J?this.styleCache=ei:"row-reverse"!==K||J?"column"===K&&J?this.styleCache=oi:"column"!==K||J?"column-reverse"===K&&J?this.styleCache=Zi:"column-reverse"===K&&!J&&(this.styleCache=St):this.styleCache=Re:this.styleCache=ot:this.styleCache=rt,this.addStyles(me,{layout:K,inline:J})}onLayoutChange(me){const K=me.value.split(" ");this.layout=K[0],this.inline=me.value.includes("inline"),S.iQ.find(J=>J===this.layout)||(this.layout="row"),this.triggerUpdate()}}$t.\u0275fac=function(me){return new(me||$t)(e.Y36(e.SBq),e.Y36(_.RK),e.Y36(bt),e.Y36(_.yB))},$t.\u0275dir=e.lG2({type:$t,features:[e.qOj]});class gt extends $t{constructor(){super(...arguments),this.inputs=Be}}gt.\u0275fac=function(){let Je;return function(K){return(Je||(Je=e.n5z(gt)))(K||gt)}}(),gt.\u0275dir=e.lG2({type:gt,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]});const rt=new Map,Re=new Map,ot=new Map,St=new Map,gi=new Map,oi=new Map,ei=new Map,Zi=new Map;class Bt{}Bt.\u0275fac=function(me){return new(me||Bt)},Bt.\u0275mod=e.oAB({type:Bt}),Bt.\u0275inj=e.cJS({imports:[_.IR,t.vT]})},2508:(Ge,X,f)=>{"use strict";f.d(X,{Cf:()=>q,F:()=>ii,Fd:()=>Da,Fj:()=>z,JJ:()=>de,JL:()=>Me,JU:()=>P,On:()=>Hi,Q7:()=>xr,QS:()=>sa,UX:()=>mi,Zs:()=>oa,_Y:()=>cn,a5:()=>Te,gN:()=>ye,kI:()=>le,oH:()=>wa,p4:()=>ha,qQ:()=>er,sg:()=>Vn,u:()=>jn,u5:()=>Ta,wV:()=>Ln});var e=f(2560),t=f(4666),_=f(7400),S=f(1640),l=f(635);class D{constructor(ge,pt){this._renderer=ge,this._elementRef=pt,this.onChange=Xt=>{},this.onTouched=()=>{}}setProperty(ge,pt){this._renderer.setProperty(this._elementRef.nativeElement,ge,pt)}registerOnTouched(ge){this.onTouched=ge}registerOnChange(ge){this.onChange=ge}setDisabledState(ge){this.setProperty("disabled",ge)}}D.\u0275fac=function(ge){return new(ge||D)(e.Y36(e.Qsj),e.Y36(e.SBq))},D.\u0275dir=e.lG2({type:D});class d extends D{}d.\u0275fac=function(){let Et;return function(pt){return(Et||(Et=e.n5z(d)))(pt||d)}}(),d.\u0275dir=e.lG2({type:d,features:[e.qOj]});const P=new e.OlP("NgValueAccessor"),p={provide:P,useExisting:(0,e.Gpc)(()=>L),multi:!0};class L extends d{writeValue(ge){this.setProperty("checked",ge)}}L.\u0275fac=function(){let Et;return function(pt){return(Et||(Et=e.n5z(L)))(pt||L)}}(),L.\u0275dir=e.lG2({type:L,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(ge,pt){1&ge&&e.NdJ("change",function(Ni){return pt.onChange(Ni.target.checked)})("blur",function(){return pt.onTouched()})},features:[e._Bn([p]),e.qOj]});const M={provide:P,useExisting:(0,e.Gpc)(()=>z),multi:!0};const E=new e.OlP("CompositionEventMode");class z extends D{constructor(ge,pt,Xt){super(ge,pt),this._compositionMode=Xt,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function k(){const Et=(0,t.q)()?(0,t.q)().getUserAgent():"";return/android (\d+)/.test(Et.toLowerCase())}())}writeValue(ge){const pt=ge??"";this.setProperty("value",pt)}_handleInput(ge){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(ge)}_compositionStart(){this._composing=!0}_compositionEnd(ge){this._composing=!1,this._compositionMode&&this.onChange(ge)}}z.\u0275fac=function(ge){return new(ge||z)(e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(E,8))},z.\u0275dir=e.lG2({type:z,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(ge,pt){1&ge&&e.NdJ("input",function(Ni){return pt._handleInput(Ni.target.value)})("blur",function(){return pt.onTouched()})("compositionstart",function(){return pt._compositionStart()})("compositionend",function(Ni){return pt._compositionEnd(Ni.target.value)})},features:[e._Bn([M]),e.qOj]});function V(Et){return null==Et||("string"==typeof Et||Array.isArray(Et))&&0===Et.length}function Z(Et){return null!=Et&&"number"==typeof Et.length}const q=new e.OlP("NgValidators"),te=new e.OlP("NgAsyncValidators"),ne=/^(?=.{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 le{static min(ge){return re(ge)}static max(ge){return _e(ge)}static required(ge){return he(ge)}static requiredTrue(ge){return ae(ge)}static email(ge){return ve(ge)}static minLength(ge){return T(ge)}static maxLength(ge){return i(ge)}static pattern(ge){return o(ge)}static nullValidator(ge){return null}static compose(ge){return C(ge)}static composeAsync(ge){return N(ge)}}function re(Et){return ge=>{if(V(ge.value)||V(Et))return null;const pt=parseFloat(ge.value);return!isNaN(pt)&&pt<Et?{min:{min:Et,actual:ge.value}}:null}}function _e(Et){return ge=>{if(V(ge.value)||V(Et))return null;const pt=parseFloat(ge.value);return!isNaN(pt)&&pt>Et?{max:{max:Et,actual:ge.value}}:null}}function he(Et){return V(Et.value)?{required:!0}:null}function ae(Et){return!0===Et.value?null:{required:!0}}function ve(Et){return V(Et.value)||ne.test(Et.value)?null:{email:!0}}function T(Et){return ge=>V(ge.value)||!Z(ge.value)?null:ge.value.length<Et?{minlength:{requiredLength:Et,actualLength:ge.value.length}}:null}function i(Et){return ge=>Z(ge.value)&&ge.value.length>Et?{maxlength:{requiredLength:Et,actualLength:ge.value.length}}:null}function o(Et){if(!Et)return m;let ge,pt;return"string"==typeof Et?(pt="","^"!==Et.charAt(0)&&(pt+="^"),pt+=Et,"$"!==Et.charAt(Et.length-1)&&(pt+="$"),ge=new RegExp(pt)):(pt=Et.toString(),ge=Et),Xt=>{if(V(Xt.value))return null;const Ni=Xt.value;return ge.test(Ni)?null:{pattern:{requiredPattern:pt,actualValue:Ni}}}}function m(Et){return null}function h(Et){return null!=Et}function y(Et){const ge=(0,e.QGY)(Et)?(0,_.D)(Et):Et;return ge}function A(Et){let ge={};return Et.forEach(pt=>{ge=null!=pt?{...ge,...pt}:ge}),0===Object.keys(ge).length?null:ge}function R(Et,ge){return ge.map(pt=>pt(Et))}function a(Et){return Et.map(ge=>function v(Et){return!Et.validate}(ge)?ge:pt=>ge.validate(pt))}function C(Et){if(!Et)return null;const ge=Et.filter(h);return 0==ge.length?null:function(pt){return A(R(pt,ge))}}function U(Et){return null!=Et?C(a(Et)):null}function N(Et){if(!Et)return null;const ge=Et.filter(h);return 0==ge.length?null:function(pt){const Xt=R(pt,ge).map(y);return(0,S.D)(Xt).pipe((0,l.U)(A))}}function Q(Et){return null!=Et?N(a(Et)):null}function Pe(Et,ge){return null===Et?[ge]:Array.isArray(Et)?[...Et,ge]:[Et,ge]}function Le(Et){return Et._rawValidators}function Ye(Et){return Et._rawAsyncValidators}function $e(Et){return Et?Array.isArray(Et)?Et:[Et]:[]}function Ve(Et,ge){return Array.isArray(Et)?Et.includes(ge):Et===ge}function be(Et,ge){const pt=$e(ge);return $e(Et).forEach(Ni=>{Ve(pt,Ni)||pt.push(Ni)}),pt}function et(Et,ge){return $e(ge).filter(pt=>!Ve(Et,pt))}class je{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(ge){this._rawValidators=ge||[],this._composedValidatorFn=U(this._rawValidators)}_setAsyncValidators(ge){this._rawAsyncValidators=ge||[],this._composedAsyncValidatorFn=Q(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(ge){this._onDestroyCallbacks.push(ge)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(ge=>ge()),this._onDestroyCallbacks=[]}reset(ge){this.control&&this.control.reset(ge)}hasError(ge,pt){return!!this.control&&this.control.hasError(ge,pt)}getError(ge,pt){return this.control?this.control.getError(ge,pt):null}}class ye extends je{get formDirective(){return null}get path(){return null}}class Te extends je{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class He{constructor(ge){this._cd=ge}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}}class de extends He{constructor(ge){super(ge)}}de.\u0275fac=function(ge){return new(ge||de)(e.Y36(Te,2))},de.\u0275dir=e.lG2({type:de,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(ge,pt){2&ge&&e.ekj("ng-untouched",pt.isUntouched)("ng-touched",pt.isTouched)("ng-pristine",pt.isPristine)("ng-dirty",pt.isDirty)("ng-valid",pt.isValid)("ng-invalid",pt.isInvalid)("ng-pending",pt.isPending)},features:[e.qOj]});class Me extends He{constructor(ge){super(ge)}}Me.\u0275fac=function(ge){return new(ge||Me)(e.Y36(ye,10))},Me.\u0275dir=e.lG2({type:Me,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(ge,pt){2&ge&&e.ekj("ng-untouched",pt.isUntouched)("ng-touched",pt.isTouched)("ng-pristine",pt.isPristine)("ng-dirty",pt.isDirty)("ng-valid",pt.isValid)("ng-invalid",pt.isInvalid)("ng-pending",pt.isPending)("ng-submitted",pt.isSubmitted)},features:[e.qOj]});const Zi="VALID",si="INVALID",Bt="PENDING",Je="DISABLED";function me(Et){return(We(Et)?Et.validators:Et)||null}function J(Et,ge){return(We(ge)?ge.asyncValidators:Et)||null}function We(Et){return null!=Et&&!Array.isArray(Et)&&"object"==typeof Et}function Mt(Et,ge,pt){const Xt=Et.controls;if(!(ge?Object.keys(Xt):Xt).length)throw new e.vHH(1e3,"");if(!Xt[pt])throw new e.vHH(1001,"")}function Tt(Et,ge,pt){Et._forEachChild((Xt,Ni)=>{if(void 0===pt[Ni])throw new e.vHH(1002,"")})}class Nt{constructor(ge,pt){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(ge),this._assignAsyncValidators(pt)}get validator(){return this._composedValidatorFn}set validator(ge){this._rawValidators=this._composedValidatorFn=ge}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(ge){this._rawAsyncValidators=this._composedAsyncValidatorFn=ge}get parent(){return this._parent}get valid(){return this.status===Zi}get invalid(){return this.status===si}get pending(){return this.status==Bt}get disabled(){return this.status===Je}get enabled(){return this.status!==Je}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(ge){this._assignValidators(ge)}setAsyncValidators(ge){this._assignAsyncValidators(ge)}addValidators(ge){this.setValidators(be(ge,this._rawValidators))}addAsyncValidators(ge){this.setAsyncValidators(be(ge,this._rawAsyncValidators))}removeValidators(ge){this.setValidators(et(ge,this._rawValidators))}removeAsyncValidators(ge){this.setAsyncValidators(et(ge,this._rawAsyncValidators))}hasValidator(ge){return Ve(this._rawValidators,ge)}hasAsyncValidator(ge){return Ve(this._rawAsyncValidators,ge)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(ge={}){this.touched=!0,this._parent&&!ge.onlySelf&&this._parent.markAsTouched(ge)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(ge=>ge.markAllAsTouched())}markAsUntouched(ge={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(pt=>{pt.markAsUntouched({onlySelf:!0})}),this._parent&&!ge.onlySelf&&this._parent._updateTouched(ge)}markAsDirty(ge={}){this.pristine=!1,this._parent&&!ge.onlySelf&&this._parent.markAsDirty(ge)}markAsPristine(ge={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(pt=>{pt.markAsPristine({onlySelf:!0})}),this._parent&&!ge.onlySelf&&this._parent._updatePristine(ge)}markAsPending(ge={}){this.status=Bt,!1!==ge.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!ge.onlySelf&&this._parent.markAsPending(ge)}disable(ge={}){const pt=this._parentMarkedDirty(ge.onlySelf);this.status=Je,this.errors=null,this._forEachChild(Xt=>{Xt.disable({...ge,onlySelf:!0})}),this._updateValue(),!1!==ge.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...ge,skipPristineCheck:pt}),this._onDisabledChange.forEach(Xt=>Xt(!0))}enable(ge={}){const pt=this._parentMarkedDirty(ge.onlySelf);this.status=Zi,this._forEachChild(Xt=>{Xt.enable({...ge,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:ge.emitEvent}),this._updateAncestors({...ge,skipPristineCheck:pt}),this._onDisabledChange.forEach(Xt=>Xt(!1))}_updateAncestors(ge){this._parent&&!ge.onlySelf&&(this._parent.updateValueAndValidity(ge),ge.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(ge){this._parent=ge}getRawValue(){return this.value}updateValueAndValidity(ge={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Zi||this.status===Bt)&&this._runAsyncValidator(ge.emitEvent)),!1!==ge.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!ge.onlySelf&&this._parent.updateValueAndValidity(ge)}_updateTreeValidity(ge={emitEvent:!0}){this._forEachChild(pt=>pt._updateTreeValidity(ge)),this.updateValueAndValidity({onlySelf:!0,emitEvent:ge.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Je:Zi}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(ge){if(this.asyncValidator){this.status=Bt,this._hasOwnPendingAsyncValidator=!0;const pt=y(this.asyncValidator(this));this._asyncValidationSubscription=pt.subscribe(Xt=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(Xt,{emitEvent:ge})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(ge,pt={}){this.errors=ge,this._updateControlsErrors(!1!==pt.emitEvent)}get(ge){let pt=ge;return null==pt||(Array.isArray(pt)||(pt=pt.split(".")),0===pt.length)?null:pt.reduce((Xt,Ni)=>Xt&&Xt._find(Ni),this)}getError(ge,pt){const Xt=pt?this.get(pt):this;return Xt&&Xt.errors?Xt.errors[ge]:null}hasError(ge,pt){return!!this.getError(ge,pt)}get root(){let ge=this;for(;ge._parent;)ge=ge._parent;return ge}_updateControlsErrors(ge){this.status=this._calculateStatus(),ge&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(ge)}_initObservables(){this.valueChanges=new e.vpe,this.statusChanges=new e.vpe}_calculateStatus(){return this._allControlsDisabled()?Je:this.errors?si:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Bt)?Bt:this._anyControlsHaveStatus(si)?si:Zi}_anyControlsHaveStatus(ge){return this._anyControls(pt=>pt.status===ge)}_anyControlsDirty(){return this._anyControls(ge=>ge.dirty)}_anyControlsTouched(){return this._anyControls(ge=>ge.touched)}_updatePristine(ge={}){this.pristine=!this._anyControlsDirty(),this._parent&&!ge.onlySelf&&this._parent._updatePristine(ge)}_updateTouched(ge={}){this.touched=this._anyControlsTouched(),this._parent&&!ge.onlySelf&&this._parent._updateTouched(ge)}_registerOnCollectionChange(ge){this._onCollectionChange=ge}_setUpdateStrategy(ge){We(ge)&&null!=ge.updateOn&&(this._updateOn=ge.updateOn)}_parentMarkedDirty(ge){const pt=this._parent&&this._parent.dirty;return!ge&&!!pt&&!this._parent._anyControlsDirty()}_find(ge){return null}_assignValidators(ge){this._rawValidators=Array.isArray(ge)?ge.slice():ge,this._composedValidatorFn=function K(Et){return Array.isArray(Et)?U(Et):Et||null}(this._rawValidators)}_assignAsyncValidators(ge){this._rawAsyncValidators=Array.isArray(ge)?ge.slice():ge,this._composedAsyncValidatorFn=function Ce(Et){return Array.isArray(Et)?Q(Et):Et||null}(this._rawAsyncValidators)}}class at extends Nt{constructor(ge,pt,Xt){super(me(pt),J(Xt,pt)),this.controls=ge,this._initObservables(),this._setUpdateStrategy(pt),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(ge,pt){return this.controls[ge]?this.controls[ge]:(this.controls[ge]=pt,pt.setParent(this),pt._registerOnCollectionChange(this._onCollectionChange),pt)}addControl(ge,pt,Xt={}){this.registerControl(ge,pt),this.updateValueAndValidity({emitEvent:Xt.emitEvent}),this._onCollectionChange()}removeControl(ge,pt={}){this.controls[ge]&&this.controls[ge]._registerOnCollectionChange(()=>{}),delete this.controls[ge],this.updateValueAndValidity({emitEvent:pt.emitEvent}),this._onCollectionChange()}setControl(ge,pt,Xt={}){this.controls[ge]&&this.controls[ge]._registerOnCollectionChange(()=>{}),delete this.controls[ge],pt&&this.registerControl(ge,pt),this.updateValueAndValidity({emitEvent:Xt.emitEvent}),this._onCollectionChange()}contains(ge){return this.controls.hasOwnProperty(ge)&&this.controls[ge].enabled}setValue(ge,pt={}){Tt(this,0,ge),Object.keys(ge).forEach(Xt=>{Mt(this,!0,Xt),this.controls[Xt].setValue(ge[Xt],{onlySelf:!0,emitEvent:pt.emitEvent})}),this.updateValueAndValidity(pt)}patchValue(ge,pt={}){null!=ge&&(Object.keys(ge).forEach(Xt=>{const Ni=this.controls[Xt];Ni&&Ni.patchValue(ge[Xt],{onlySelf:!0,emitEvent:pt.emitEvent})}),this.updateValueAndValidity(pt))}reset(ge={},pt={}){this._forEachChild((Xt,Ni)=>{Xt.reset(ge[Ni],{onlySelf:!0,emitEvent:pt.emitEvent})}),this._updatePristine(pt),this._updateTouched(pt),this.updateValueAndValidity(pt)}getRawValue(){return this._reduceChildren({},(ge,pt,Xt)=>(ge[Xt]=pt.getRawValue(),ge))}_syncPendingControls(){let ge=this._reduceChildren(!1,(pt,Xt)=>!!Xt._syncPendingControls()||pt);return ge&&this.updateValueAndValidity({onlySelf:!0}),ge}_forEachChild(ge){Object.keys(this.controls).forEach(pt=>{const Xt=this.controls[pt];Xt&&ge(Xt,pt)})}_setUpControls(){this._forEachChild(ge=>{ge.setParent(this),ge._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(ge){for(const[pt,Xt]of Object.entries(this.controls))if(this.contains(pt)&&ge(Xt))return!0;return!1}_reduceValue(){return this._reduceChildren({},(pt,Xt,Ni)=>((Xt.enabled||this.disabled)&&(pt[Ni]=Xt.value),pt))}_reduceChildren(ge,pt){let Xt=ge;return this._forEachChild((Ni,An)=>{Xt=pt(Xt,Ni,An)}),Xt}_allControlsDisabled(){for(const ge of Object.keys(this.controls))if(this.controls[ge].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(ge){return this.controls.hasOwnProperty(ge)?this.controls[ge]:null}}class ri extends at{}const Lt=new e.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>Kt}),Kt="always";function Ae(Et,ge){return[...ge.path,Et]}function fe(Et,ge,pt=Kt){Oi(Et,ge),ge.valueAccessor.writeValue(Et.value),(Et.disabled||"always"===pt)&&ge.valueAccessor.setDisabledState?.(Et.disabled),function Ei(Et,ge){ge.valueAccessor.registerOnChange(pt=>{Et._pendingValue=pt,Et._pendingChange=!0,Et._pendingDirty=!0,"change"===Et.updateOn&&wt(Et,ge)})}(Et,ge),function qe(Et,ge){const pt=(Xt,Ni)=>{ge.valueAccessor.writeValue(Xt),Ni&&ge.viewToModelUpdate(Xt)};Et.registerOnChange(pt),ge._registerOnDestroy(()=>{Et._unregisterOnChange(pt)})}(Et,ge),function Wi(Et,ge){ge.valueAccessor.registerOnTouched(()=>{Et._pendingTouched=!0,"blur"===Et.updateOn&&Et._pendingChange&&wt(Et,ge),"submit"!==Et.updateOn&&Et.markAsTouched()})}(Et,ge),function kt(Et,ge){if(ge.valueAccessor.setDisabledState){const pt=Xt=>{ge.valueAccessor.setDisabledState(Xt)};Et.registerOnDisabledChange(pt),ge._registerOnDestroy(()=>{Et._unregisterOnDisabledChange(pt)})}}(Et,ge)}function st(Et,ge,pt=!0){const Xt=()=>{};ge.valueAccessor&&(ge.valueAccessor.registerOnChange(Xt),ge.valueAccessor.registerOnTouched(Xt)),Li(Et,ge),Et&&(ge._invokeOnDestroyCallbacks(),Et._registerOnCollectionChange(()=>{}))}function _t(Et,ge){Et.forEach(pt=>{pt.registerOnValidatorChange&&pt.registerOnValidatorChange(ge)})}function Oi(Et,ge){const pt=Le(Et);null!==ge.validator?Et.setValidators(Pe(pt,ge.validator)):"function"==typeof pt&&Et.setValidators([pt]);const Xt=Ye(Et);null!==ge.asyncValidator?Et.setAsyncValidators(Pe(Xt,ge.asyncValidator)):"function"==typeof Xt&&Et.setAsyncValidators([Xt]);const Ni=()=>Et.updateValueAndValidity();_t(ge._rawValidators,Ni),_t(ge._rawAsyncValidators,Ni)}function Li(Et,ge){let pt=!1;if(null!==Et){if(null!==ge.validator){const Ni=Le(Et);if(Array.isArray(Ni)&&Ni.length>0){const An=Ni.filter(rr=>rr!==ge.validator);An.length!==Ni.length&&(pt=!0,Et.setValidators(An))}}if(null!==ge.asyncValidator){const Ni=Ye(Et);if(Array.isArray(Ni)&&Ni.length>0){const An=Ni.filter(rr=>rr!==ge.asyncValidator);An.length!==Ni.length&&(pt=!0,Et.setAsyncValidators(An))}}}const Xt=()=>{};return _t(ge._rawValidators,Xt),_t(ge._rawAsyncValidators,Xt),pt}function wt(Et,ge){Et._pendingDirty&&Et.markAsDirty(),Et.setValue(Et._pendingValue,{emitModelToViewChange:!1}),ge.viewToModelUpdate(Et._pendingValue),Et._pendingChange=!1}function Ne(Et,ge){Oi(Et,ge)}function Qt(Et,ge){if(!Et.hasOwnProperty("model"))return!1;const pt=Et.model;return!!pt.isFirstChange()||!Object.is(ge,pt.currentValue)}function ke(Et,ge){Et._syncPendingControls(),ge.forEach(pt=>{const Xt=pt.control;"submit"===Xt.updateOn&&Xt._pendingChange&&(pt.viewToModelUpdate(Xt._pendingValue),Xt._pendingChange=!1)})}function ft(Et,ge){if(!ge)return null;let pt,Xt,Ni;return Array.isArray(ge),ge.forEach(An=>{An.constructor===z?pt=An:function xe(Et){return Object.getPrototypeOf(Et.constructor)===d}(An)?Xt=An:Ni=An}),Ni||Xt||pt||null}const ai={provide:ye,useExisting:(0,e.Gpc)(()=>ii)},ci=Promise.resolve();class ii extends ye{constructor(ge,pt,Xt){super(),this.callSetDisabledState=Xt,this.submitted=!1,this._directives=new Set,this.ngSubmit=new e.vpe,this.form=new at({},U(ge),Q(pt))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(ge){ci.then(()=>{const pt=this._findContainer(ge.path);ge.control=pt.registerControl(ge.name,ge.control),fe(ge.control,ge,this.callSetDisabledState),ge.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(ge)})}getControl(ge){return this.form.get(ge.path)}removeControl(ge){ci.then(()=>{const pt=this._findContainer(ge.path);pt&&pt.removeControl(ge.name),this._directives.delete(ge)})}addFormGroup(ge){ci.then(()=>{const pt=this._findContainer(ge.path),Xt=new at({});Ne(Xt,ge),pt.registerControl(ge.name,Xt),Xt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(ge){ci.then(()=>{const pt=this._findContainer(ge.path);pt&&pt.removeControl(ge.name)})}getFormGroup(ge){return this.form.get(ge.path)}updateModel(ge,pt){ci.then(()=>{this.form.get(ge.path).setValue(pt)})}setValue(ge){this.control.setValue(ge)}onSubmit(ge){return this.submitted=!0,ke(this.form,this._directives),this.ngSubmit.emit(ge),"dialog"===ge?.target?.method}onReset(){this.resetForm()}resetForm(ge){this.form.reset(ge),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(ge){return ge.pop(),ge.length?this.form.get(ge):this.form}}function bi(Et,ge){const pt=Et.indexOf(ge);pt>-1&&Et.splice(pt,1)}function Yi(Et){return"object"==typeof Et&&null!==Et&&2===Object.keys(Et).length&&"value"in Et&&"disabled"in Et}ii.\u0275fac=function(ge){return new(ge||ii)(e.Y36(q,10),e.Y36(te,10),e.Y36(Lt,8))},ii.\u0275dir=e.lG2({type:ii,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(ge,pt){1&ge&&e.NdJ("submit",function(Ni){return pt.onSubmit(Ni)})("reset",function(){return pt.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e._Bn([ai]),e.qOj]});const _n=class extends Nt{constructor(ge=null,pt,Xt){super(me(pt),J(Xt,pt)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(ge),this._setUpdateStrategy(pt),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),We(pt)&&(pt.nonNullable||pt.initialValueIsDefault)&&(Yi(ge)?this.defaultValue=ge.value:this.defaultValue=ge)}setValue(ge,pt={}){this.value=this._pendingValue=ge,this._onChange.length&&!1!==pt.emitModelToViewChange&&this._onChange.forEach(Xt=>Xt(this.value,!1!==pt.emitViewToModelChange)),this.updateValueAndValidity(pt)}patchValue(ge,pt={}){this.setValue(ge,pt)}reset(ge=this.defaultValue,pt={}){this._applyFormState(ge),this.markAsPristine(pt),this.markAsUntouched(pt),this.setValue(this.value,pt),this._pendingChange=!1}_updateValue(){}_anyControls(ge){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(ge){this._onChange.push(ge)}_unregisterOnChange(ge){bi(this._onChange,ge)}registerOnDisabledChange(ge){this._onDisabledChange.push(ge)}_unregisterOnDisabledChange(ge){bi(this._onDisabledChange,ge)}_forEachChild(ge){}_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(ge){Yi(ge)?(this.value=this._pendingValue=ge.value,ge.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=ge}},ha=_n;class Zn extends ye{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Ae(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}Zn.\u0275fac=function(){let Et;return function(pt){return(Et||(Et=e.n5z(Zn)))(pt||Zn)}}(),Zn.\u0275dir=e.lG2({type:Zn,features:[e.qOj]});const Wt={provide:ye,useExisting:(0,e.Gpc)(()=>ui)};class ui extends Zn{constructor(ge,pt,Xt){super(),this._parent=ge,this._setValidators(pt),this._setAsyncValidators(Xt)}_checkParentType(){!(this._parent instanceof ui)&&this._parent}}ui.\u0275fac=function(ge){return new(ge||ui)(e.Y36(ye,5),e.Y36(q,10),e.Y36(te,10))},ui.\u0275dir=e.lG2({type:ui,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[e._Bn([Wt]),e.qOj]});const Ti={provide:Te,useExisting:(0,e.Gpc)(()=>Hi)},$i=Promise.resolve();class Hi extends Te{constructor(ge,pt,Xt,Ni,An,rr){super(),this._changeDetectorRef=An,this.callSetDisabledState=rr,this.control=new _n,this._registered=!1,this.update=new e.vpe,this._parent=ge,this._setValidators(pt),this._setAsyncValidators(Xt),this.valueAccessor=ft(0,Ni)}ngOnChanges(ge){if(this._checkForErrors(),!this._registered||"name"in ge){if(this._registered&&(this._checkName(),this.formDirective)){const pt=ge.name.previousValue;this.formDirective.removeControl({name:pt,path:this._getPath(pt)})}this._setUpControl()}"isDisabled"in ge&&this._updateDisabled(ge),Qt(ge,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(ge){this.viewModel=ge,this.update.emit(ge)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){fe(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(ge){$i.then(()=>{this.control.setValue(ge,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(ge){const pt=ge.isDisabled.currentValue,Xt=0!==pt&&(0,e.D6c)(pt);$i.then(()=>{Xt&&!this.control.disabled?this.control.disable():!Xt&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(ge){return this._parent?Ae(ge,this._parent):[ge]}}Hi.\u0275fac=function(ge){return new(ge||Hi)(e.Y36(ye,9),e.Y36(q,10),e.Y36(te,10),e.Y36(P,10),e.Y36(e.sBO,8),e.Y36(Lt,8))},Hi.\u0275dir=e.lG2({type:Hi,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([Ti]),e.qOj,e.TTD]});class cn{}cn.\u0275fac=function(ge){return new(ge||cn)},cn.\u0275dir=e.lG2({type:cn,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});const aa={provide:P,useExisting:(0,e.Gpc)(()=>Ln),multi:!0};class Ln extends d{writeValue(ge){const pt=ge??"";this.setProperty("value",pt)}registerOnChange(ge){this.onChange=pt=>{ge(""==pt?null:parseFloat(pt))}}}Ln.\u0275fac=function(){let Et;return function(pt){return(Et||(Et=e.n5z(Ln)))(pt||Ln)}}(),Ln.\u0275dir=e.lG2({type:Ln,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(ge,pt){1&ge&&e.NdJ("input",function(Ni){return pt.onChange(Ni.target.value)})("blur",function(){return pt.onTouched()})},features:[e._Bn([aa]),e.qOj]});const ea={provide:P,useExisting:(0,e.Gpc)(()=>Gn),multi:!0};class Jn{}Jn.\u0275fac=function(ge){return new(ge||Jn)},Jn.\u0275mod=e.oAB({type:Jn}),Jn.\u0275inj=e.cJS({});class Ia{constructor(){this._accessors=[]}add(ge,pt){this._accessors.push([ge,pt])}remove(ge){for(let pt=this._accessors.length-1;pt>=0;--pt)if(this._accessors[pt][1]===ge)return void this._accessors.splice(pt,1)}select(ge){this._accessors.forEach(pt=>{this._isSameGroup(pt,ge)&&pt[1]!==ge&&pt[1].fireUncheck(ge.value)})}_isSameGroup(ge,pt){return!!ge[0].control&&(ge[0]._parent===pt._control._parent&&ge[1].name===pt.name)}}Ia.\u0275fac=function(ge){return new(ge||Ia)},Ia.\u0275prov=e.Yz7({token:Ia,factory:Ia.\u0275fac,providedIn:Jn});class Gn extends d{constructor(ge,pt,Xt,Ni){super(ge,pt),this._registry=Xt,this._injector=Ni,this.onChange=()=>{}}ngOnInit(){this._control=this._injector.get(Te),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(ge){this._state=ge===this.value,this.setProperty("checked",this._state)}registerOnChange(ge){this._fn=ge,this.onChange=()=>{ge(this.value),this._registry.select(this)}}fireUncheck(ge){this.writeValue(ge)}_checkName(){this.name&&this.formControlName&&(this.name,this.formControlName),!this.name&&this.formControlName&&(this.name=this.formControlName)}}Gn.\u0275fac=function(ge){return new(ge||Gn)(e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(Ia),e.Y36(e.zs3))},Gn.\u0275dir=e.lG2({type:Gn,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(ge,pt){1&ge&&e.NdJ("change",function(){return pt.onChange()})("blur",function(){return pt.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[e._Bn([ea]),e.qOj]});const Pa={provide:P,useExisting:(0,e.Gpc)(()=>qn),multi:!0};class qn extends d{writeValue(ge){this.setProperty("value",parseFloat(ge))}registerOnChange(ge){this.onChange=pt=>{ge(""==pt?null:parseFloat(pt))}}}qn.\u0275fac=function(){let Et;return function(pt){return(Et||(Et=e.n5z(qn)))(pt||qn)}}(),qn.\u0275dir=e.lG2({type:qn,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(ge,pt){1&ge&&e.NdJ("change",function(Ni){return pt.onChange(Ni.target.value)})("input",function(Ni){return pt.onChange(Ni.target.value)})("blur",function(){return pt.onTouched()})},features:[e._Bn([Pa]),e.qOj]});const Ra=new e.OlP("NgModelWithFormControlWarning"),yr={provide:Te,useExisting:(0,e.Gpc)(()=>wa)};class wa extends Te{constructor(ge,pt,Xt,Ni,An){super(),this._ngModelWarningConfig=Ni,this.callSetDisabledState=An,this.update=new e.vpe,this._ngModelWarningSent=!1,this._setValidators(ge),this._setAsyncValidators(pt),this.valueAccessor=ft(0,Xt)}set isDisabled(ge){}ngOnChanges(ge){if(this._isControlChanged(ge)){const pt=ge.form.previousValue;pt&&st(pt,this,!1),fe(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Qt(ge,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&st(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(ge){this.viewModel=ge,this.update.emit(ge)}_isControlChanged(ge){return ge.hasOwnProperty("form")}}wa._ngModelWarningSentOnce=!1,wa.\u0275fac=function(ge){return new(ge||wa)(e.Y36(q,10),e.Y36(te,10),e.Y36(P,10),e.Y36(Ra,8),e.Y36(Lt,8))},wa.\u0275dir=e.lG2({type:wa,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[e._Bn([yr]),e.qOj,e.TTD]});const hr={provide:ye,useExisting:(0,e.Gpc)(()=>Vn)};class Vn extends ye{constructor(ge,pt,Xt){super(),this.callSetDisabledState=Xt,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new e.vpe,this._setValidators(ge),this._setAsyncValidators(pt)}ngOnChanges(ge){this._checkFormPresent(),ge.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Li(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(ge){const pt=this.form.get(ge.path);return fe(pt,ge,this.callSetDisabledState),pt.updateValueAndValidity({emitEvent:!1}),this.directives.push(ge),pt}getControl(ge){return this.form.get(ge.path)}removeControl(ge){st(ge.control||null,ge,!1),function Rt(Et,ge){const pt=Et.indexOf(ge);pt>-1&&Et.splice(pt,1)}(this.directives,ge)}addFormGroup(ge){this._setUpFormContainer(ge)}removeFormGroup(ge){this._cleanUpFormContainer(ge)}getFormGroup(ge){return this.form.get(ge.path)}addFormArray(ge){this._setUpFormContainer(ge)}removeFormArray(ge){this._cleanUpFormContainer(ge)}getFormArray(ge){return this.form.get(ge.path)}updateModel(ge,pt){this.form.get(ge.path).setValue(pt)}onSubmit(ge){return this.submitted=!0,ke(this.form,this.directives),this.ngSubmit.emit(ge),"dialog"===ge?.target?.method}onReset(){this.resetForm()}resetForm(ge){this.form.reset(ge),this.submitted=!1}_updateDomValue(){this.directives.forEach(ge=>{const pt=ge.control,Xt=this.form.get(ge.path);pt!==Xt&&(st(pt||null,ge),Xt instanceof _n&&(fe(Xt,ge,this.callSetDisabledState),ge.control=Xt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(ge){const pt=this.form.get(ge.path);Ne(pt,ge),pt.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(ge){if(this.form){const pt=this.form.get(ge.path);pt&&function Vt(Et,ge){return Li(Et,ge)}(pt,ge)&&pt.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Oi(this.form,this),this._oldForm&&Li(this._oldForm,this)}_checkFormPresent(){this.form}}Vn.\u0275fac=function(ge){return new(ge||Vn)(e.Y36(q,10),e.Y36(te,10),e.Y36(Lt,8))},Vn.\u0275dir=e.lG2({type:Vn,selectors:[["","formGroup",""]],hostBindings:function(ge,pt){1&ge&&e.NdJ("submit",function(Ni){return pt.onSubmit(Ni)})("reset",function(){return pt.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e._Bn([hr]),e.qOj,e.TTD]});const va={provide:ye,useExisting:(0,e.Gpc)(()=>ra)};class ra extends Zn{constructor(ge,pt,Xt){super(),this._parent=ge,this._setValidators(pt),this._setAsyncValidators(Xt)}_checkParentType(){Jo(this._parent)}}ra.\u0275fac=function(ge){return new(ge||ra)(e.Y36(ye,13),e.Y36(q,10),e.Y36(te,10))},ra.\u0275dir=e.lG2({type:ra,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[e._Bn([va]),e.qOj]});const us={provide:ye,useExisting:(0,e.Gpc)(()=>Ba)};class Ba extends ye{constructor(ge,pt,Xt){super(),this._parent=ge,this._setValidators(pt),this._setAsyncValidators(Xt)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return Ae(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){Jo(this._parent)}}function Jo(Et){return!(Et instanceof ra||Et instanceof Vn||Et instanceof Ba)}Ba.\u0275fac=function(ge){return new(ge||Ba)(e.Y36(ye,13),e.Y36(q,10),e.Y36(te,10))},Ba.\u0275dir=e.lG2({type:Ba,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[e._Bn([us]),e.qOj]});const ro={provide:Te,useExisting:(0,e.Gpc)(()=>jn)};class jn extends Te{constructor(ge,pt,Xt,Ni,An){super(),this._ngModelWarningConfig=An,this._added=!1,this.update=new e.vpe,this._ngModelWarningSent=!1,this._parent=ge,this._setValidators(pt),this._setAsyncValidators(Xt),this.valueAccessor=ft(0,Ni)}set isDisabled(ge){}ngOnChanges(ge){this._added||this._setUpControl(),Qt(ge,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(ge){this.viewModel=ge,this.update.emit(ge)}get path(){return Ae(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}}jn._ngModelWarningSentOnce=!1,jn.\u0275fac=function(ge){return new(ge||jn)(e.Y36(ye,13),e.Y36(q,10),e.Y36(te,10),e.Y36(P,10),e.Y36(Ra,8))},jn.\u0275dir=e.lG2({type:jn,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[e._Bn([ro]),e.qOj,e.TTD]});const jr={provide:P,useExisting:(0,e.Gpc)(()=>Ja),multi:!0};function Na(Et,ge){return null==Et?`${ge}`:(ge&&"object"==typeof ge&&(ge="Object"),`${Et}: ${ge}`.slice(0,50))}class Ja extends d{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(ge){this._compareWith=ge}writeValue(ge){this.value=ge;const Xt=Na(this._getOptionId(ge),ge);this.setProperty("value",Xt)}registerOnChange(ge){this.onChange=pt=>{this.value=this._getOptionValue(pt),ge(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(ge){for(const pt of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(pt),ge))return pt;return null}_getOptionValue(ge){const pt=function Oo(Et){return Et.split(":")[0]}(ge);return this._optionMap.has(pt)?this._optionMap.get(pt):ge}}Ja.\u0275fac=function(){let Et;return function(pt){return(Et||(Et=e.n5z(Ja)))(pt||Ja)}}(),Ja.\u0275dir=e.lG2({type:Ja,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(ge,pt){1&ge&&e.NdJ("change",function(Ni){return pt.onChange(Ni.target.value)})("blur",function(){return pt.onTouched()})},inputs:{compareWith:"compareWith"},features:[e._Bn([jr]),e.qOj]});class Sr{constructor(ge,pt,Xt){this._element=ge,this._renderer=pt,this._select=Xt,this._select&&(this.id=this._select._registerOption())}set ngValue(ge){null!=this._select&&(this._select._optionMap.set(this.id,ge),this._setElementValue(Na(this.id,ge)),this._select.writeValue(this._select.value))}set value(ge){this._setElementValue(ge),this._select&&this._select.writeValue(this._select.value)}_setElementValue(ge){this._renderer.setProperty(this._element.nativeElement,"value",ge)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}Sr.\u0275fac=function(ge){return new(ge||Sr)(e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(Ja,9))},Sr.\u0275dir=e.lG2({type:Sr,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});const Za={provide:P,useExisting:(0,e.Gpc)(()=>So),multi:!0};function ir(Et,ge){return null==Et?`${ge}`:("string"==typeof ge&&(ge=`'${ge}'`),ge&&"object"==typeof ge&&(ge="Object"),`${Et}: ${ge}`.slice(0,50))}class So extends d{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(ge){this._compareWith=ge}writeValue(ge){let pt;if(this.value=ge,Array.isArray(ge)){const Xt=ge.map(Ni=>this._getOptionId(Ni));pt=(Ni,An)=>{Ni._setSelected(Xt.indexOf(An.toString())>-1)}}else pt=(Xt,Ni)=>{Xt._setSelected(!1)};this._optionMap.forEach(pt)}registerOnChange(ge){this.onChange=pt=>{const Xt=[],Ni=pt.selectedOptions;if(void 0!==Ni){const An=Ni;for(let rr=0;rr<An.length;rr++){const bo=An[rr],Ss=this._getOptionValue(bo.value);Xt.push(Ss)}}else{const An=pt.options;for(let rr=0;rr<An.length;rr++){const bo=An[rr];if(bo.selected){const Ss=this._getOptionValue(bo.value);Xt.push(Ss)}}}this.value=Xt,ge(Xt)}}_registerOption(ge){const pt=(this._idCounter++).toString();return this._optionMap.set(pt,ge),pt}_getOptionId(ge){for(const pt of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(pt)._value,ge))return pt;return null}_getOptionValue(ge){const pt=function oo(Et){return Et.split(":")[0]}(ge);return this._optionMap.has(pt)?this._optionMap.get(pt)._value:ge}}So.\u0275fac=function(){let Et;return function(pt){return(Et||(Et=e.n5z(So)))(pt||So)}}(),So.\u0275dir=e.lG2({type:So,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(ge,pt){1&ge&&e.NdJ("change",function(Ni){return pt.onChange(Ni.target)})("blur",function(){return pt.onTouched()})},inputs:{compareWith:"compareWith"},features:[e._Bn([Za]),e.qOj]});class ur{constructor(ge,pt,Xt){this._element=ge,this._renderer=pt,this._select=Xt,this._select&&(this.id=this._select._registerOption(this))}set ngValue(ge){null!=this._select&&(this._value=ge,this._setElementValue(ir(this.id,ge)),this._select.writeValue(this._select.value))}set value(ge){this._select?(this._value=ge,this._setElementValue(ir(this.id,ge)),this._select.writeValue(this._select.value)):this._setElementValue(ge)}_setElementValue(ge){this._renderer.setProperty(this._element.nativeElement,"value",ge)}_setSelected(ge){this._renderer.setProperty(this._element.nativeElement,"selected",ge)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}function $a(Et){return"number"==typeof Et?Et:parseInt(Et,10)}function so(Et){return"number"==typeof Et?Et:parseFloat(Et)}ur.\u0275fac=function(ge){return new(ge||ur)(e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(So,9))},ur.\u0275dir=e.lG2({type:ur,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});class Xn{constructor(){this._validator=m}ngOnChanges(ge){if(this.inputName in ge){const pt=this.normalizeInput(ge[this.inputName].currentValue);this._enabled=this.enabled(pt),this._validator=this._enabled?this.createValidator(pt):m,this._onChange&&this._onChange()}}validate(ge){return this._validator(ge)}registerOnValidatorChange(ge){this._onChange=ge}enabled(ge){return null!=ge}}Xn.\u0275fac=function(ge){return new(ge||Xn)},Xn.\u0275dir=e.lG2({type:Xn,features:[e.TTD]});const Ho={provide:q,useExisting:(0,e.Gpc)(()=>Da),multi:!0};class Da extends Xn{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=ge=>so(ge),this.createValidator=ge=>_e(ge)}}Da.\u0275fac=function(){let Et;return function(pt){return(Et||(Et=e.n5z(Da)))(pt||Da)}}(),Da.\u0275dir=e.lG2({type:Da,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(ge,pt){2&ge&&e.uIk("max",pt._enabled?pt.max:null)},inputs:{max:"max"},features:[e._Bn([Ho]),e.qOj]});const ko={provide:q,useExisting:(0,e.Gpc)(()=>er),multi:!0};class er extends Xn{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=ge=>so(ge),this.createValidator=ge=>re(ge)}}er.\u0275fac=function(){let Et;return function(pt){return(Et||(Et=e.n5z(er)))(pt||er)}}(),er.\u0275dir=e.lG2({type:er,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(ge,pt){2&ge&&e.uIk("min",pt._enabled?pt.min:null)},inputs:{min:"min"},features:[e._Bn([ko]),e.qOj]});const Po={provide:q,useExisting:(0,e.Gpc)(()=>xr),multi:!0},nr={provide:q,useExisting:(0,e.Gpc)(()=>oa),multi:!0};class xr extends Xn{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e.D6c,this.createValidator=ge=>he}enabled(ge){return ge}}xr.\u0275fac=function(){let Et;return function(pt){return(Et||(Et=e.n5z(xr)))(pt||xr)}}(),xr.\u0275dir=e.lG2({type:xr,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(ge,pt){2&ge&&e.uIk("required",pt._enabled?"":null)},inputs:{required:"required"},features:[e._Bn([Po]),e.qOj]});class oa extends xr{constructor(){super(...arguments),this.createValidator=ge=>ae}}oa.\u0275fac=function(){let Et;return function(pt){return(Et||(Et=e.n5z(oa)))(pt||oa)}}(),oa.\u0275dir=e.lG2({type:oa,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(ge,pt){2&ge&&e.uIk("required",pt._enabled?"":null)},features:[e._Bn([nr]),e.qOj]});const Cr={provide:q,useExisting:(0,e.Gpc)(()=>mr),multi:!0};class mr extends Xn{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=e.D6c,this.createValidator=ge=>ve}enabled(ge){return ge}}mr.\u0275fac=function(){let Et;return function(pt){return(Et||(Et=e.n5z(mr)))(pt||mr)}}(),mr.\u0275dir=e.lG2({type:mr,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[e._Bn([Cr]),e.qOj]});const Uo={provide:q,useExisting:(0,e.Gpc)(()=>Er),multi:!0};class Er extends Xn{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=ge=>$a(ge),this.createValidator=ge=>T(ge)}}Er.\u0275fac=function(){let Et;return function(pt){return(Et||(Et=e.n5z(Er)))(pt||Er)}}(),Er.\u0275dir=e.lG2({type:Er,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(ge,pt){2&ge&&e.uIk("minlength",pt._enabled?pt.minlength:null)},inputs:{minlength:"minlength"},features:[e._Bn([Uo]),e.qOj]});const ja={provide:q,useExisting:(0,e.Gpc)(()=>Qn),multi:!0};class Qn extends Xn{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=ge=>$a(ge),this.createValidator=ge=>i(ge)}}Qn.\u0275fac=function(){let Et;return function(pt){return(Et||(Et=e.n5z(Qn)))(pt||Qn)}}(),Qn.\u0275dir=e.lG2({type:Qn,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(ge,pt){2&ge&&e.uIk("maxlength",pt._enabled?pt.maxlength:null)},inputs:{maxlength:"maxlength"},features:[e._Bn([ja]),e.qOj]});const Qa={provide:q,useExisting:(0,e.Gpc)(()=>ar),multi:!0};class ar extends Xn{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=ge=>ge,this.createValidator=ge=>o(ge)}}ar.\u0275fac=function(){let Et;return function(pt){return(Et||(Et=e.n5z(ar)))(pt||ar)}}(),ar.\u0275dir=e.lG2({type:ar,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(ge,pt){2&ge&&e.uIk("pattern",pt._enabled?pt.pattern:null)},inputs:{pattern:"pattern"},features:[e._Bn([Qa]),e.qOj]});class tr{}tr.\u0275fac=function(ge){return new(ge||tr)},tr.\u0275mod=e.oAB({type:tr}),tr.\u0275inj=e.cJS({imports:[Jn]});class Ta{static withConfig(ge){return{ngModule:Ta,providers:[{provide:Lt,useValue:ge.callSetDisabledState??Kt}]}}}Ta.\u0275fac=function(ge){return new(ge||Ta)},Ta.\u0275mod=e.oAB({type:Ta}),Ta.\u0275inj=e.cJS({imports:[tr]});class mi{static withConfig(ge){return{ngModule:mi,providers:[{provide:Ra,useValue:ge.warnOnNgModelWithFormControl??"always"},{provide:Lt,useValue:ge.callSetDisabledState??Kt}]}}}mi.\u0275fac=function(ge){return new(ge||mi)},mi.\u0275mod=e.oAB({type:mi}),mi.\u0275inj=e.cJS({imports:[tr]});class Qe extends Nt{constructor(ge,pt,Xt){super(me(pt),J(Xt,pt)),this.controls=ge,this._initObservables(),this._setUpdateStrategy(pt),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(ge){return this.controls[this._adjustIndex(ge)]}push(ge,pt={}){this.controls.push(ge),this._registerControl(ge),this.updateValueAndValidity({emitEvent:pt.emitEvent}),this._onCollectionChange()}insert(ge,pt,Xt={}){this.controls.splice(ge,0,pt),this._registerControl(pt),this.updateValueAndValidity({emitEvent:Xt.emitEvent})}removeAt(ge,pt={}){let Xt=this._adjustIndex(ge);Xt<0&&(Xt=0),this.controls[Xt]&&this.controls[Xt]._registerOnCollectionChange(()=>{}),this.controls.splice(Xt,1),this.updateValueAndValidity({emitEvent:pt.emitEvent})}setControl(ge,pt,Xt={}){let Ni=this._adjustIndex(ge);Ni<0&&(Ni=0),this.controls[Ni]&&this.controls[Ni]._registerOnCollectionChange(()=>{}),this.controls.splice(Ni,1),pt&&(this.controls.splice(Ni,0,pt),this._registerControl(pt)),this.updateValueAndValidity({emitEvent:Xt.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(ge,pt={}){Tt(this,0,ge),ge.forEach((Xt,Ni)=>{Mt(this,!1,Ni),this.at(Ni).setValue(Xt,{onlySelf:!0,emitEvent:pt.emitEvent})}),this.updateValueAndValidity(pt)}patchValue(ge,pt={}){null!=ge&&(ge.forEach((Xt,Ni)=>{this.at(Ni)&&this.at(Ni).patchValue(Xt,{onlySelf:!0,emitEvent:pt.emitEvent})}),this.updateValueAndValidity(pt))}reset(ge=[],pt={}){this._forEachChild((Xt,Ni)=>{Xt.reset(ge[Ni],{onlySelf:!0,emitEvent:pt.emitEvent})}),this._updatePristine(pt),this._updateTouched(pt),this.updateValueAndValidity(pt)}getRawValue(){return this.controls.map(ge=>ge.getRawValue())}clear(ge={}){this.controls.length<1||(this._forEachChild(pt=>pt._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:ge.emitEvent}))}_adjustIndex(ge){return ge<0?ge+this.length:ge}_syncPendingControls(){let ge=this.controls.reduce((pt,Xt)=>!!Xt._syncPendingControls()||pt,!1);return ge&&this.updateValueAndValidity({onlySelf:!0}),ge}_forEachChild(ge){this.controls.forEach((pt,Xt)=>{ge(pt,Xt)})}_updateValue(){this.value=this.controls.filter(ge=>ge.enabled||this.disabled).map(ge=>ge.value)}_anyControls(ge){return this.controls.some(pt=>pt.enabled&&ge(pt))}_setUpControls(){this._forEachChild(ge=>this._registerControl(ge))}_allControlsDisabled(){for(const ge of this.controls)if(ge.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(ge){ge.setParent(this),ge._registerOnCollectionChange(this._onCollectionChange)}_find(ge){return this.at(ge)??null}}function Ki(Et){return!!Et&&(void 0!==Et.asyncValidators||void 0!==Et.validators||void 0!==Et.updateOn)}class wn{constructor(){this.useNonNullable=!1}get nonNullable(){const ge=new wn;return ge.useNonNullable=!0,ge}group(ge,pt=null){const Xt=this._reduceControls(ge);let Ni={};return Ki(pt)?Ni=pt:null!==pt&&(Ni.validators=pt.validator,Ni.asyncValidators=pt.asyncValidator),new at(Xt,Ni)}record(ge,pt=null){const Xt=this._reduceControls(ge);return new ri(Xt,pt)}control(ge,pt,Xt){let Ni={};return this.useNonNullable?(Ki(pt)?Ni=pt:(Ni.validators=pt,Ni.asyncValidators=Xt),new _n(ge,{...Ni,nonNullable:!0})):new _n(ge,pt,Xt)}array(ge,pt,Xt){const Ni=ge.map(An=>this._createControl(An));return new Qe(Ni,pt,Xt)}_reduceControls(ge){const pt={};return Object.keys(ge).forEach(Xt=>{pt[Xt]=this._createControl(ge[Xt])}),pt}_createControl(ge){if(ge instanceof _n)return ge;if(ge instanceof Nt)return ge;if(Array.isArray(ge)){const pt=ge[0],Xt=ge.length>1?ge[1]:null,Ni=ge.length>2?ge[2]:null;return this.control(pt,Xt,Ni)}return this.control(ge)}}wn.\u0275fac=function(ge){return new(ge||wn)},wn.\u0275prov=e.Yz7({token:wn,factory:wn.\u0275fac,providedIn:mi});class Qi{}Qi.\u0275fac=function(ge){return new(ge||Qi)},Qi.\u0275prov=e.Yz7({token:Qi,factory:function(){return(0,e.f3M)(wn).nonNullable},providedIn:mi});class sa extends wn{group(ge,pt=null){return super.group(ge,pt)}control(ge,pt,Xt){return super.control(ge,pt,Xt)}array(ge,pt,Xt){return super.array(ge,pt,Xt)}}sa.\u0275fac=function(){let Et;return function(pt){return(Et||(Et=e.n5z(sa)))(pt||sa)}}(),sa.\u0275prov=e.Yz7({token:sa,factory:sa.\u0275fac,providedIn:mi});new e.GfV("15.0.2")},8550:(Ge,X,f)=>{"use strict";f.d(X,{Bb:()=>je,XC:()=>U,ZL:()=>et});var e=f(2560),t=f(207),_=f(4666),S=f(1494),l=f(5895),D=f(4218),d=f(8971),P=f(9107),p=f(4851),L=f(7714),M=f(253),k=f(1954),E=f(6646),z=f(745),I=f(3280),V=f(2867),Z=f(8456),q=f(7520),te=f(2508),ne=f(5074),le=f(4874),re=f(2673),_e=f(9295),he=f(116),ae=f(635),ve=f(9337),T=f(6234);const i=["panel"];function o(ye,Te){if(1&ye&&(e.TgZ(0,"div",0,1),e.Hsn(2),e.qZA()),2&ye){const He=Te.id,Ee=e.oxw();e.Q6J("id",Ee.id)("ngClass",Ee._classList)("@panelAnimation",Ee.isOpen?"visible":"hidden"),e.uIk("aria-label",Ee.ariaLabel||null)("aria-labelledby",Ee._getPanelAriaLabelledby(He))}}const h=(0,p.X$)("panelAnimation",[(0,p.SB)("void, hidden",(0,p.oB)({opacity:0,transform:"scaleY(0.8)"})),(0,p.eR)(":enter, hidden => visible",[(0,p.ru)([(0,p.jt)("0.03s linear",(0,p.oB)({opacity:1})),(0,p.jt)("0.12s cubic-bezier(0, 0, 0.2, 1)",(0,p.oB)({transform:"scaleY(1)"}))])]),(0,p.eR)(":leave, visible => hidden",[(0,p.jt)("0.075s linear",(0,p.oB)({opacity:0}))])]);let y=0;class A{constructor(Te,He){this.source=Te,this.option=He}}const R=(0,t.Kr)(class{}),v=new e.OlP("mat-autocomplete-default-options",{providedIn:"root",factory:function a(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1}}});class C extends R{constructor(Te,He,Ee,we){super(),this._changeDetectorRef=Te,this._elementRef=He,this._activeOptionChanges=L.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=we?.SAFARI||!1,this._autoActiveFirstOption=!!Ee.autoActiveFirstOption,this._autoSelectActiveOption=!!Ee.autoSelectActiveOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(Te){this._autoActiveFirstOption=(0,d.Ig)(Te)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(Te){this._autoSelectActiveOption=(0,d.Ig)(Te)}set classList(Te){Te&&Te.length?this._classList=(0,d.du)(Te).reduce((He,Ee)=>(He[Ee]=!0,He),{}):this._classList={},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new D.s1(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(Te=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[Te]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(Te){this.panel&&(this.panel.nativeElement.scrollTop=Te)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(Te){const He=new A(this,Te);this.optionSelected.emit(He)}_getPanelAriaLabelledby(Te){if(this.ariaLabel)return null;const He=Te?Te+" ":"";return this.ariaLabelledby?He+this.ariaLabelledby:Te}_setVisibilityClasses(Te){Te[this._visibleClass]=this.showPanel,Te[this._hiddenClass]=!this.showPanel}}C.\u0275fac=function(Te){return new(Te||C)(e.Y36(e.sBO),e.Y36(e.SBq),e.Y36(v),e.Y36(P.t4))},C.\u0275dir=e.lG2({type:C,viewQuery:function(Te,He){if(1&Te&&(e.Gf(e.Rgc,7),e.Gf(i,5)),2&Te){let Ee;e.iGM(Ee=e.CRH())&&(He.template=Ee.first),e.iGM(Ee=e.CRH())&&(He.panel=Ee.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",autoSelectActiveOption:"autoSelectActiveOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[e.qOj]});class U extends C{constructor(){super(...arguments),this._visibleClass="mat-mdc-autocomplete-visible",this._hiddenClass="mat-mdc-autocomplete-hidden"}}U.\u0275fac=function(){let ye;return function(He){return(ye||(ye=e.n5z(U)))(He||U)}}(),U.\u0275cmp=e.Xpm({type:U,selectors:[["mat-autocomplete"]],contentQueries:function(Te,He,Ee){if(1&Te&&(e.Suo(Ee,t.K7,5),e.Suo(Ee,t.ey,5)),2&Te){let we;e.iGM(we=e.CRH())&&(He.optionGroups=we),e.iGM(we=e.CRH())&&(He.options=we)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[e._Bn([{provide:t.HF,useExisting:U}]),e.qOj],ngContentSelectors:["*"],decls:1,vars:0,consts:[["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id","ngClass"],["panel",""]],template:function(Te,He){1&Te&&(e.F$t(),e.YNc(0,o,3,5,"ng-template"))},dependencies:[_.mk],styles:[".mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mdc-menu-surface.mat-mdc-autocomplete-panel{width:100%;max-height:256px;position:static;visibility:hidden;transform-origin:center top;margin:0;padding:8px 0;list-style-type:none}.mdc-menu-surface.mat-mdc-autocomplete-panel:focus{outline:none}.cdk-high-contrast-active .mdc-menu-surface.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) .mdc-menu-surface.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above .mdc-menu-surface.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}.mdc-menu-surface.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}.mdc-menu-surface.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[h]},changeDetection:0});class N{constructor(Te){this.elementRef=Te}}N.\u0275fac=function(Te){return new(Te||N)(e.Y36(e.SBq))},N.\u0275dir=e.lG2({type:N});class Q extends N{}Q.\u0275fac=function(){let ye;return function(He){return(ye||(ye=e.n5z(Q)))(He||Q)}}(),Q.\u0275dir=e.lG2({type:Q,selectors:[["","matAutocompleteOrigin",""]],exportAs:["matAutocompleteOrigin"],features:[e.qOj]});const Pe={provide:te.JU,useExisting:(0,e.Gpc)(()=>et),multi:!0};const Ye=new e.OlP("mat-autocomplete-scroll-strategy");const Ve={provide:Ye,deps:[l.aV],useFactory:function $e(ye){return()=>ye.scrollStrategies.reposition()}};class be{constructor(Te,He,Ee,we,de,Me,ie,G,$,ze,Ue){this._element=Te,this._overlay=He,this._viewContainerRef=Ee,this._zone=we,this._changeDetectorRef=de,this._dir=ie,this._formField=G,this._document=$,this._viewportRuler=ze,this._defaults=Ue,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=L.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,k.P)(()=>{const oe=this.autocomplete?this.autocomplete.options:null;return oe?oe.changes.pipe((0,le.O)(oe),(0,re.w)(()=>(0,E.T)(...oe.map(bt=>bt.onSelectionChange)))):this._zone.onStable.pipe((0,_e.q)(1),(0,re.w)(()=>this.optionSelections))}),this._scrollStrategy=Me}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(Te){this._autocompleteDisabled=(0,d.Ig)(Te)}ngAfterViewInit(){const Te=this._getWindow();typeof Te<"u"&&this._zone.runOutsideAngular(()=>Te.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(Te){Te.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const Te=this._getWindow();typeof Te<"u"&&Te.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,E.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,he.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,he.h)(()=>this._overlayAttached)):(0,z.of)()).pipe((0,ae.U)(Te=>Te instanceof t.rN?Te:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,E.T)((0,I.R)(this._document,"click"),(0,I.R)(this._document,"auxclick"),(0,I.R)(this._document,"touchend")).pipe((0,he.h)(Te=>{const He=(0,P.sA)(Te),Ee=this._formField?this._formField._elementRef.nativeElement:null,we=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&He!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!Ee||!Ee.contains(He))&&(!we||!we.contains(He))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(He)}))}writeValue(Te){Promise.resolve(null).then(()=>this._assignOptionValue(Te))}registerOnChange(Te){this._onChange=Te}registerOnTouched(Te){this._onTouched=Te}setDisabledState(Te){this._element.nativeElement.disabled=Te}_handleKeydown(Te){const He=Te.keyCode,Ee=(0,Z.Vb)(Te);if(He===Z.hY&&!Ee&&Te.preventDefault(),this.activeOption&&He===Z.K5&&this.panelOpen&&!Ee)this.activeOption._selectViaInteraction(),this._resetActiveItem(),Te.preventDefault();else if(this.autocomplete){const we=this.autocomplete._keyManager.activeItem,de=He===Z.LH||He===Z.JH;He===Z.Mf||de&&!Ee&&this.panelOpen?this.autocomplete._keyManager.onKeydown(Te):de&&this._canOpen()&&this.openPanel(),(de||this.autocomplete._keyManager.activeItem!==we)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(Te){let He=Te.target,Ee=He.value;"number"===He.type&&(Ee=""==Ee?null:parseFloat(Ee)),this._previousValue!==Ee&&(this._previousValue=Ee,this._pendingAutoselectedOption=null,this._onChange(Ee),this._canOpen()&&this._document.activeElement===Te.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(Te=!1){this._formField&&"auto"===this._formField.floatLabel&&(Te?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const Te=this._zone.onStable.pipe((0,_e.q)(1)),He=this.autocomplete.options.changes.pipe((0,ve.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,T.g)(0));return(0,E.T)(Te,He).pipe((0,re.w)(()=>(this._zone.run(()=>{const Ee=this.panelOpen;this._resetActiveItem(),this.autocomplete._setVisibility(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),Ee!==this.panelOpen&&(this.panelOpen?this.autocomplete.opened.emit():this.autocomplete.closed.emit())}),this.panelClosingActions)),(0,_e.q)(1)).subscribe(Ee=>this._setValueAndClose(Ee))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(Te){const He=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(Te):Te;this._updateNativeInputValue(He??"")}_updateNativeInputValue(Te){this._formField?this._formField._control.value=Te:this._element.nativeElement.value=Te,this._previousValue=Te}_setValueAndClose(Te){const He=Te?Te.source:this._pendingAutoselectedOption;He&&(this._clearPreviousSelectedOption(He),this._assignOptionValue(He.value),this._onChange(He.value),this.autocomplete._emitSelectEvent(He),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(Te){this.autocomplete.options.forEach(He=>{He!==Te&&He.selected&&He.deselect()})}_attachOverlay(){this.autocomplete;let Te=this._overlayRef;Te?(this._positionStrategy.setOrigin(this._getConnectedElement()),Te.updateSize({width:this._getPanelWidth()})):(this._portal=new q.UE(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),Te=this._overlay.create(this._getOverlayConfig()),this._overlayRef=Te,this._handleOverlayEvents(Te),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&Te&&Te.updateSize({width:this._getPanelWidth()})})),Te&&!Te.hasAttached()&&(Te.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const He=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&He!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){return new l.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const Te=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(Te),this._positionStrategy=Te,Te}_setStrategyPositions(Te){const He=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Ee=this._aboveClass,we=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:Ee},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:Ee}];let de;de="above"===this.position?we:"below"===this.position?He:[...He,...we],Te.withPositions(de)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const Te=this.autocomplete;Te.autoActiveFirstOption?Te._keyManager.setFirstItemActive():Te._keyManager.setActiveItem(-1)}_canOpen(){const Te=this._element.nativeElement;return!Te.readOnly&&!Te.disabled&&!this._autocompleteDisabled}_getWindow(){return this._document?.defaultView||window}_scrollToOption(Te){const He=this.autocomplete,Ee=(0,t.CB)(Te,He.options,He.optionGroups);if(0===Te&&1===Ee)He._setScrollTop(0);else if(He.panel){const we=He.options.toArray()[Te];if(we){const de=we._getHostElement(),Me=(0,t.jH)(de.offsetTop,de.offsetHeight,He._getScrollTop(),He.panel.nativeElement.offsetHeight);He._setScrollTop(Me)}}}_handleOverlayEvents(Te){Te.keydownEvents().subscribe(He=>{(He.keyCode===Z.hY&&!(0,Z.Vb)(He)||He.keyCode===Z.LH&&(0,Z.Vb)(He,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),He.stopPropagation(),He.preventDefault())}),Te.outsidePointerEvents().subscribe()}}be.\u0275fac=function(Te){return new(Te||be)(e.Y36(e.SBq),e.Y36(l.aV),e.Y36(e.s_b),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(Ye),e.Y36(V.Is,8),e.Y36(ne.G_,9),e.Y36(_.K0,8),e.Y36(S.rL),e.Y36(v,8))},be.\u0275dir=e.lG2({type:be,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[e.TTD]});class et extends be{constructor(){super(...arguments),this._aboveClass="mat-mdc-autocomplete-panel-above"}}et.\u0275fac=function(){let ye;return function(He){return(ye||(ye=e.n5z(et)))(He||et)}}(),et.\u0275dir=e.lG2({type:et,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(Te,He){1&Te&&e.NdJ("focusin",function(){return He._handleFocus()})("blur",function(){return He._onTouched()})("input",function(we){return He._handleInput(we)})("keydown",function(we){return He._handleKeydown(we)})("click",function(){return He._handleClick()}),2&Te&&e.uIk("autocomplete",He.autocompleteAttribute)("role",He.autocompleteDisabled?null:"combobox")("aria-autocomplete",He.autocompleteDisabled?null:"list")("aria-activedescendant",He.panelOpen&&He.activeOption?He.activeOption.id:null)("aria-expanded",He.autocompleteDisabled?null:He.panelOpen.toString())("aria-owns",He.autocompleteDisabled||!He.panelOpen||null==He.autocomplete?null:He.autocomplete.id)("aria-haspopup",He.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[e._Bn([Pe]),e.qOj]});class je{}je.\u0275fac=function(Te){return new(Te||je)},je.\u0275mod=e.oAB({type:je}),je.\u0275inj=e.cJS({providers:[Ve],imports:[l.U8,t.Ng,t.BQ,_.ez,S.ZD,t.Ng,t.BQ]})},3335:(Ge,X,f)=>{"use strict";f.d(X,{g:()=>p,k:()=>P});var e=f(2560),t=f(207),_=f(4218),S=f(8971);let l=0;const D=(0,t.Id)(class{}),d="mat-badge-content";class P extends D{constructor(M,k,E,z,I){super(),this._ngZone=M,this._elementRef=k,this._ariaDescriber=E,this._renderer=z,this._animationMode=I,this._color="primary",this._overlap=!0,this.position="above after",this.size="medium",this._id=l++,this._isInitialized=!1}get color(){return this._color}set color(M){this._setColor(M),this._color=M}get overlap(){return this._overlap}set overlap(M){this._overlap=(0,S.Ig)(M)}get content(){return this._content}set content(M){this._updateRenderedContent(M)}get description(){return this._description}set description(M){this._updateHostAriaDescription(M)}get hidden(){return this._hidden}set hidden(M){this._hidden=(0,S.Ig)(M)}isAbove(){return-1===this.position.indexOf("below")}isAfter(){return-1===this.position.indexOf("before")}getBadgeElement(){return this._badgeElement}ngOnInit(){this._clearExistingBadges(),this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content)),this._isInitialized=!0}ngOnDestroy(){this._renderer.destroyNode&&this._renderer.destroyNode(this._badgeElement),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description)}_createBadgeElement(){const M=this._renderer.createElement("span"),k="mat-badge-active";return M.setAttribute("id",`mat-badge-content-${this._id}`),M.setAttribute("aria-hidden","true"),M.classList.add(d),"NoopAnimations"===this._animationMode&&M.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(M),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{M.classList.add(k)})}):M.classList.add(k),M}_updateRenderedContent(M){const k=`${M??""}`.trim();this._isInitialized&&k&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=k),this._content=k}_updateHostAriaDescription(M){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),M&&this._ariaDescriber.describe(this._elementRef.nativeElement,M),this._description=M}_setColor(M){const k=this._elementRef.nativeElement.classList;k.remove(`mat-badge-${this._color}`),M&&k.add(`mat-badge-${M}`)}_clearExistingBadges(){const M=this._elementRef.nativeElement.querySelectorAll(`:scope > .${d}`);for(const k of Array.from(M))k!==this._badgeElement&&k.remove()}}P.\u0275fac=function(M){return new(M||P)(e.Y36(e.R0b),e.Y36(e.SBq),e.Y36(_.$s),e.Y36(e.Qsj),e.Y36(e.QbO,8))},P.\u0275dir=e.lG2({type:P,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(M,k){2&M&&e.ekj("mat-badge-overlap",k.overlap)("mat-badge-above",k.isAbove())("mat-badge-below",!k.isAbove())("mat-badge-before",!k.isAfter())("mat-badge-after",k.isAfter())("mat-badge-small","small"===k.size)("mat-badge-medium","medium"===k.size)("mat-badge-large","large"===k.size)("mat-badge-hidden",k.hidden||!k.content)("mat-badge-disabled",k.disabled)},inputs:{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]});class p{}p.\u0275fac=function(M){return new(M||p)},p.\u0275mod=e.oAB({type:p}),p.\u0275inj=e.cJS({imports:[_.rt,t.BQ,t.BQ]})},4522:(Ge,X,f)=>{"use strict";f.d(X,{RK:()=>v,lW:()=>ae,nh:()=>y,ot:()=>C});var e=f(9107),t=f(2560),_=f(4218),S=f(207),l=f(8971);const D=["mat-button",""],d=[[["",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]"],L=".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}",M=["mat-fab",""],k=["mat-mini-fab",""],E='.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n )}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab .mdc-fab__icon{width:24px;height:24px;font-size:24px}.mdc-fab:not(.mdc-fab--extended){border-radius:50%}.mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:50%}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);background-color:var(--mdc-fab-container-color, transparent);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);color:var(--mat-mdc-fab-color, inherit);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(:disabled) .mdc-fab__icon,.mat-mdc-mini-fab:not(:disabled) .mdc-fab__icon{color:var(--mdc-fab-icon-color, inherit)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-extended-fab{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:24px}.mat-mdc-extended-fab .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}',z=["mat-icon-button",""],te=[{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,S.pj)((0,S.Id)((0,S.Kr)(class{constructor(U){this._elementRef=U}})));class le extends ne{constructor(N,Q,Pe,Le){super(N),this._platform=Q,this._ngZone=Pe,this._animationMode=Le,this._focusMonitor=(0,t.f3M)(_.tE),this._isFab=!1;const Ye=N.nativeElement.classList;for(const $e of te)this._hasHostAttributes($e.selector)&&$e.mdcClasses.forEach(Ve=>{Ye.add(Ve)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(N="program",Q){N?this._focusMonitor.focusVia(this._elementRef.nativeElement,N,Q):this._elementRef.nativeElement.focus(Q)}_hasHostAttributes(...N){return N.some(Q=>this._elementRef.nativeElement.hasAttribute(Q))}_isRippleDisabled(){return this.disableRipple||this.disabled}}le.\u0275fac=function(N){t.$Z()},le.\u0275dir=t.lG2({type:le,viewQuery:function(N,Q){if(1&N&&t.Gf(S.wG,5),2&N){let Pe;t.iGM(Pe=t.CRH())&&(Q.ripple=Pe.first)}},features:[t.qOj]});class he extends le{constructor(N,Q,Pe,Le){super(N,Q,Pe,Le),this._haltDisabledEvents=Ye=>{this.disabled&&(Ye.preventDefault(),Ye.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}he.\u0275fac=function(N){t.$Z()},he.\u0275dir=t.lG2({type:he,features:[t.qOj]});class ae extends le{constructor(N,Q,Pe,Le){super(N,Q,Pe,Le)}}ae.\u0275fac=function(N){return new(N||ae)(t.Y36(t.SBq),t.Y36(e.t4),t.Y36(t.R0b),t.Y36(t.QbO,8))},ae.\u0275cmp=t.Xpm({type:ae,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(N,Q){2&N&&(t.uIk("disabled",Q.disabled||null),t.ekj("_mat-animation-noopable","NoopAnimations"===Q._animationMode)("mat-unthemed",!Q.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[t.qOj],attrs:D,ngContentSelectors:P,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(N,Q){1&N&&(t.F$t(d),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)(7,"span",4)),2&N&&(t.ekj("mdc-button__ripple",!Q._isFab)("mdc-fab__ripple",Q._isFab),t.xp6(6),t.Q6J("matRippleDisabled",Q._isRippleDisabled())("matRippleTrigger",Q._elementRef.nativeElement))},dependencies:[S.wG],styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0});class ve extends he{constructor(N,Q,Pe,Le){super(N,Q,Pe,Le)}}ve.\u0275fac=function(N){return new(N||ve)(t.Y36(t.SBq),t.Y36(e.t4),t.Y36(t.R0b),t.Y36(t.QbO,8))},ve.\u0275cmp=t.Xpm({type:ve,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:9,hostBindings:function(N,Q){2&N&&(t.uIk("disabled",Q.disabled||null)("tabindex",Q.disabled?-1:Q.tabIndex)("aria-disabled",Q.disabled.toString()),t.ekj("_mat-animation-noopable","NoopAnimations"===Q._animationMode)("mat-unthemed",!Q.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[t.qOj],attrs:D,ngContentSelectors:P,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(N,Q){1&N&&(t.F$t(d),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)(7,"span",4)),2&N&&(t.ekj("mdc-button__ripple",!Q._isFab)("mdc-fab__ripple",Q._isFab),t.xp6(6),t.Q6J("matRippleDisabled",Q._isRippleDisabled())("matRippleTrigger",Q._elementRef.nativeElement))},dependencies:[S.wG],styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',L],encapsulation:2,changeDetection:0});const T=new t.OlP("mat-mdc-fab-default-options",{providedIn:"root",factory:i});function i(){return{color:"accent"}}const o={color:"accent"};class h extends le{constructor(N,Q,Pe,Le,Ye){super(N,Q,Pe,Le),this._options=Ye,this._isFab=!0,this._options=this._options||o,this.color=this.defaultColor=this._options.color||o.color}get extended(){return this._extended}set extended(N){this._extended=(0,l.Ig)(N)}}h.\u0275fac=function(N){return new(N||h)(t.Y36(t.SBq),t.Y36(e.t4),t.Y36(t.R0b),t.Y36(t.QbO,8),t.Y36(T,8))},h.\u0275cmp=t.Xpm({type:h,selectors:[["button","mat-fab",""]],hostVars:11,hostBindings:function(N,Q){2&N&&(t.uIk("disabled",Q.disabled||null),t.ekj("_mat-animation-noopable","NoopAnimations"===Q._animationMode)("mat-unthemed",!Q.color)("mat-mdc-button-base",!0)("mdc-fab--extended",Q.extended)("mat-mdc-extended-fab",Q.extended))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",extended:"extended"},exportAs:["matButton"],features:[t.qOj],attrs:M,ngContentSelectors:P,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(N,Q){1&N&&(t.F$t(d),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)(7,"span",4)),2&N&&(t.ekj("mdc-button__ripple",!Q._isFab)("mdc-fab__ripple",Q._isFab),t.xp6(6),t.Q6J("matRippleDisabled",Q._isRippleDisabled())("matRippleTrigger",Q._elementRef.nativeElement))},dependencies:[S.wG],styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n )}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab .mdc-fab__icon{width:24px;height:24px;font-size:24px}.mdc-fab:not(.mdc-fab--extended){border-radius:50%}.mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:50%}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);background-color:var(--mdc-fab-container-color, transparent);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);color:var(--mat-mdc-fab-color, inherit);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(:disabled) .mdc-fab__icon,.mat-mdc-mini-fab:not(:disabled) .mdc-fab__icon{color:var(--mdc-fab-icon-color, inherit)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-extended-fab{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:24px}.mat-mdc-extended-fab .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}'],encapsulation:2,changeDetection:0});class y extends le{constructor(N,Q,Pe,Le,Ye){super(N,Q,Pe,Le),this._options=Ye,this._isFab=!0,this._options=this._options||o,this.color=this.defaultColor=this._options.color||o.color}}y.\u0275fac=function(N){return new(N||y)(t.Y36(t.SBq),t.Y36(e.t4),t.Y36(t.R0b),t.Y36(t.QbO,8),t.Y36(T,8))},y.\u0275cmp=t.Xpm({type:y,selectors:[["button","mat-mini-fab",""]],hostVars:7,hostBindings:function(N,Q){2&N&&(t.uIk("disabled",Q.disabled||null),t.ekj("_mat-animation-noopable","NoopAnimations"===Q._animationMode)("mat-unthemed",!Q.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[t.qOj],attrs:k,ngContentSelectors:P,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(N,Q){1&N&&(t.F$t(d),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)(7,"span",4)),2&N&&(t.ekj("mdc-button__ripple",!Q._isFab)("mdc-fab__ripple",Q._isFab),t.xp6(6),t.Q6J("matRippleDisabled",Q._isRippleDisabled())("matRippleTrigger",Q._elementRef.nativeElement))},dependencies:[S.wG],styles:[E],encapsulation:2,changeDetection:0});class A extends ve{constructor(N,Q,Pe,Le,Ye){super(N,Q,Pe,Le),this._options=Ye,this._isFab=!0,this._options=this._options||o,this.color=this.defaultColor=this._options.color||o.color}get extended(){return this._extended}set extended(N){this._extended=(0,l.Ig)(N)}}A.\u0275fac=function(N){return new(N||A)(t.Y36(t.SBq),t.Y36(e.t4),t.Y36(t.R0b),t.Y36(t.QbO,8),t.Y36(T,8))},A.\u0275cmp=t.Xpm({type:A,selectors:[["a","mat-fab",""]],hostVars:13,hostBindings:function(N,Q){2&N&&(t.uIk("disabled",Q.disabled||null)("tabindex",Q.disabled?-1:Q.tabIndex)("aria-disabled",Q.disabled.toString()),t.ekj("_mat-animation-noopable","NoopAnimations"===Q._animationMode)("mat-unthemed",!Q.color)("mat-mdc-button-base",!0)("mdc-fab--extended",Q.extended)("mat-mdc-extended-fab",Q.extended))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",extended:"extended"},exportAs:["matButton","matAnchor"],features:[t.qOj],attrs:M,ngContentSelectors:P,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(N,Q){1&N&&(t.F$t(d),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)(7,"span",4)),2&N&&(t.ekj("mdc-button__ripple",!Q._isFab)("mdc-fab__ripple",Q._isFab),t.xp6(6),t.Q6J("matRippleDisabled",Q._isRippleDisabled())("matRippleTrigger",Q._elementRef.nativeElement))},dependencies:[S.wG],styles:[E],encapsulation:2,changeDetection:0});class R extends ve{constructor(N,Q,Pe,Le,Ye){super(N,Q,Pe,Le),this._options=Ye,this._isFab=!0,this._options=this._options||o,this.color=this.defaultColor=this._options.color||o.color}}R.\u0275fac=function(N){return new(N||R)(t.Y36(t.SBq),t.Y36(e.t4),t.Y36(t.R0b),t.Y36(t.QbO,8),t.Y36(T,8))},R.\u0275cmp=t.Xpm({type:R,selectors:[["a","mat-mini-fab",""]],hostVars:9,hostBindings:function(N,Q){2&N&&(t.uIk("disabled",Q.disabled||null)("tabindex",Q.disabled?-1:Q.tabIndex)("aria-disabled",Q.disabled.toString()),t.ekj("_mat-animation-noopable","NoopAnimations"===Q._animationMode)("mat-unthemed",!Q.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[t.qOj],attrs:k,ngContentSelectors:P,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(N,Q){1&N&&(t.F$t(d),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)(7,"span",4)),2&N&&(t.ekj("mdc-button__ripple",!Q._isFab)("mdc-fab__ripple",Q._isFab),t.xp6(6),t.Q6J("matRippleDisabled",Q._isRippleDisabled())("matRippleTrigger",Q._elementRef.nativeElement))},dependencies:[S.wG],styles:[E],encapsulation:2,changeDetection:0});class v extends le{constructor(N,Q,Pe,Le){super(N,Q,Pe,Le)}}v.\u0275fac=function(N){return new(N||v)(t.Y36(t.SBq),t.Y36(e.t4),t.Y36(t.R0b),t.Y36(t.QbO,8))},v.\u0275cmp=t.Xpm({type:v,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function(N,Q){2&N&&(t.uIk("disabled",Q.disabled||null),t.ekj("_mat-animation-noopable","NoopAnimations"===Q._animationMode)("mat-unthemed",!Q.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[t.qOj],attrs:z,ngContentSelectors:["*"],decls:5,vars:3,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(N,Q){1&N&&(t.F$t(),t._UZ(0,"span",0),t.Hsn(1),t._UZ(2,"span",1)(3,"span",2)(4,"span",3)),2&N&&(t.xp6(3),t.Q6J("matRippleDisabled",Q._isRippleDisabled())("matRippleCentered",!0)("matRippleTrigger",Q._elementRef.nativeElement))},dependencies:[S.wG],styles:['.mdc-icon-button{font-size:24px;width:48px;height:48px;padding:12px}.mdc-icon-button .mdc-icon-button__focus-ring{max-height:48px;max-width:48px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:40px;height:40px;margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:40px;max-width:40px}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button svg,.mdc-icon-button img{width:24px;height:24px}.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size, 48px);width:var(--mdc-icon-button-state-layer-size, 48px);color:var(--mdc-icon-button-icon-color, inherit);border-radius:50%;flex-shrink:0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity, 0.38)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color, #000)}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',L],encapsulation:2,changeDetection:0});class a extends he{constructor(N,Q,Pe,Le){super(N,Q,Pe,Le)}}a.\u0275fac=function(N){return new(N||a)(t.Y36(t.SBq),t.Y36(e.t4),t.Y36(t.R0b),t.Y36(t.QbO,8))},a.\u0275cmp=t.Xpm({type:a,selectors:[["a","mat-icon-button",""]],hostVars:9,hostBindings:function(N,Q){2&N&&(t.uIk("disabled",Q.disabled||null)("tabindex",Q.disabled?-1:Q.tabIndex)("aria-disabled",Q.disabled.toString()),t.ekj("_mat-animation-noopable","NoopAnimations"===Q._animationMode)("mat-unthemed",!Q.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[t.qOj],attrs:z,ngContentSelectors:P,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(N,Q){1&N&&(t.F$t(d),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)(7,"span",4)),2&N&&(t.ekj("mdc-button__ripple",!Q._isFab)("mdc-fab__ripple",Q._isFab),t.xp6(6),t.Q6J("matRippleDisabled",Q._isRippleDisabled())("matRippleTrigger",Q._elementRef.nativeElement))},dependencies:[S.wG],styles:['.mdc-icon-button{font-size:24px;width:48px;height:48px;padding:12px}.mdc-icon-button .mdc-icon-button__focus-ring{max-height:48px;max-width:48px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:40px;height:40px;margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:40px;max-width:40px}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button svg,.mdc-icon-button img{width:24px;height:24px}.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size, 48px);width:var(--mdc-icon-button-state-layer-size, 48px);color:var(--mdc-icon-button-icon-color, inherit);border-radius:50%;flex-shrink:0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity, 0.38)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color, #000)}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',L],encapsulation:2,changeDetection:0});class C{}C.\u0275fac=function(N){return new(N||C)},C.\u0275mod=t.oAB({type:C}),C.\u0275inj=t.cJS({imports:[S.BQ,S.si,S.BQ]})},2156:(Ge,X,f)=>{"use strict";f.d(X,{$j:()=>z,QW:()=>ae,a8:()=>L,dk:()=>V,dn:()=>E,n5:()=>M});var e=f(2560),t=f(4666),_=f(207);const l=[[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],[["","mat-card-image",""],["","matCardImage",""],["","mat-card-sm-image",""],["","matCardImageSmall",""],["","mat-card-md-image",""],["","matCardImageMedium",""],["","mat-card-lg-image",""],["","matCardImageLarge",""],["","mat-card-xl-image",""],["","matCardImageXLarge",""]],"*"],D=["mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","[mat-card-image], [matCardImage],\n [mat-card-sm-image], [matCardImageSmall],\n [mat-card-md-image], [matCardImageMedium],\n [mat-card-lg-image], [matCardImageLarge],\n [mat-card-xl-image], [matCardImageXLarge]","*"],d=[[["","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]","*"],p=new e.OlP("MAT_CARD_CONFIG");class L{constructor(T){this.appearance=T?.appearance||"raised"}}L.\u0275fac=function(T){return new(T||L)(e.Y36(p,8))},L.\u0275cmp=e.Xpm({type:L,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(T,i){2&T&&e.ekj("mat-mdc-card-outlined","outlined"===i.appearance)("mdc-card--outlined","outlined"===i.appearance)},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:["*"],decls:1,vars:0,template:function(T,i){1&T&&(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{flex-grow:1;justify-content:flex-end}.mdc-card__action-buttons+.mdc-card__action-icons{margin-left:16px;margin-right:0}[dir=rtl] .mdc-card__action-buttons+.mdc-card__action-icons,.mdc-card__action-buttons+.mdc-card__action-icons[dir=rtl]{margin-left:0;margin-right:16px}.mdc-card__action{display:inline-flex;flex-direction:row;align-items:center;box-sizing:border-box;justify-content:center;cursor:pointer;user-select:none}.mdc-card__action:focus{outline:none}.mdc-card__action--button{margin-left:0;margin-right:8px;padding:0 8px}[dir=rtl] .mdc-card__action--button,.mdc-card__action--button[dir=rtl]{margin-left:8px;margin-right:0}.mdc-card__action--button:last-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-card__action--button:last-child,.mdc-card__action--button:last-child[dir=rtl]{margin-left:0;margin-right:0}.mdc-card__actions--full-bleed .mdc-card__action--button{justify-content:space-between;width:100%;height:auto;max-height:none;margin:0;padding:8px 16px;text-align:left}[dir=rtl] .mdc-card__actions--full-bleed .mdc-card__action--button,.mdc-card__actions--full-bleed .mdc-card__action--button[dir=rtl]{text-align:right}.mdc-card__action--icon{margin:-6px 0;padding:12px}.mat-mdc-card{position:relative;border-radius:var(--mdc-elevated-card-container-shape, var(--mdc-shape-medium, 4px));background-color:var(--mdc-elevated-card-container-color, transparent);border-width:0;border-style:solid;border-color:var(--mdc-elevated-card-container-color, transparent)}.mat-mdc-card .mdc-card::after{border-radius:var(--mdc-elevated-card-container-shape, var(--mdc-shape-medium, 4px))}.mat-mdc-card-outlined{border-width:var(--mdc-outlined-card-outline-width, 1px);border-style:solid;border-color:var(--mdc-outlined-card-outline-color, transparent)}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}'],encapsulation:2,changeDetection:0});class M{}M.\u0275fac=function(T){return new(T||M)},M.\u0275dir=e.lG2({type:M,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]});class k{}k.\u0275fac=function(T){return new(T||k)},k.\u0275cmp=e.Xpm({type:k,selectors:[["mat-card-title-group"]],hostAttrs:[1,"mat-mdc-card-title-group"],ngContentSelectors:D,decls:4,vars:0,template:function(T,i){1&T&&(e.F$t(l),e.TgZ(0,"div"),e.Hsn(1),e.qZA(),e.Hsn(2,1),e.Hsn(3,2))},encapsulation:2,changeDetection:0});class E{}E.\u0275fac=function(T){return new(T||E)},E.\u0275dir=e.lG2({type:E,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]});class z{}z.\u0275fac=function(T){return new(T||z)},z.\u0275dir=e.lG2({type:z,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"]});class I{constructor(){this.align="start"}}I.\u0275fac=function(T){return new(T||I)},I.\u0275dir=e.lG2({type:I,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(T,i){2&T&&e.ekj("mat-mdc-card-actions-align-end","end"===i.align)},inputs:{align:"align"},exportAs:["matCardActions"]});class V{}V.\u0275fac=function(T){return new(T||V)},V.\u0275cmp=e.Xpm({type:V,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(T,i){1&T&&(e.F$t(d),e.Hsn(0),e.TgZ(1,"div",0),e.Hsn(2,1),e.qZA(),e.Hsn(3,2))},encapsulation:2,changeDetection:0});class Z{}Z.\u0275fac=function(T){return new(T||Z)},Z.\u0275dir=e.lG2({type:Z,selectors:[["mat-card-footer"]],hostAttrs:[1,"mat-mdc-card-footer"]});class q{}q.\u0275fac=function(T){return new(T||q)},q.\u0275dir=e.lG2({type:q,selectors:[["","mat-card-image",""],["","matCardImage",""]],hostAttrs:[1,"mat-mdc-card-image","mdc-card__media"]});class te{}te.\u0275fac=function(T){return new(T||te)},te.\u0275dir=e.lG2({type:te,selectors:[["","mat-card-sm-image",""],["","matCardImageSmall",""]],hostAttrs:[1,"mat-mdc-card-sm-image","mdc-card__media"]});class ne{}ne.\u0275fac=function(T){return new(T||ne)},ne.\u0275dir=e.lG2({type:ne,selectors:[["","mat-card-md-image",""],["","matCardImageMedium",""]],hostAttrs:[1,"mat-mdc-card-md-image","mdc-card__media"]});class le{}le.\u0275fac=function(T){return new(T||le)},le.\u0275dir=e.lG2({type:le,selectors:[["","mat-card-lg-image",""],["","matCardImageLarge",""]],hostAttrs:[1,"mat-mdc-card-lg-image","mdc-card__media"]});class re{}re.\u0275fac=function(T){return new(T||re)},re.\u0275dir=e.lG2({type:re,selectors:[["","mat-card-xl-image",""],["","matCardImageXLarge",""]],hostAttrs:[1,"mat-mdc-card-xl-image","mdc-card__media"]});class _e{}_e.\u0275fac=function(T){return new(T||_e)},_e.\u0275dir=e.lG2({type:_e,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-mdc-card-avatar"]});class ae{}ae.\u0275fac=function(T){return new(T||ae)},ae.\u0275mod=e.oAB({type:ae}),ae.\u0275inj=e.cJS({imports:[_.BQ,t.ez,_.BQ]})},4792:(Ge,X,f)=>{"use strict";f.d(X,{oG:()=>V,p9:()=>ne});var e=f(2560),t=f(2508),_=f(207),S=f(8971);const l=["input"],D=["label"],P=new e.OlP("mat-checkbox-default-options",{providedIn:"root",factory:p});function p(){return{color:"accent",clickAction:"check-indeterminate"}}const L={provide:t.JU,useExisting:(0,e.Gpc)(()=>V),multi:!0};class M{}let k=0;const E={color:"accent",clickAction:"check-indeterminate"},z=(0,_.sb)((0,_.pj)((0,_.Kr)((0,_.Id)(class{constructor(le){this._elementRef=le}}))));class I extends z{constructor(re,_e,he,ae,ve,T,i){super(_e),this._changeDetectorRef=he,this._ngZone=ae,this._animationMode=T,this._options=i,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||E,this.color=this.defaultColor=this._options.color||E.color,this.tabIndex=parseInt(ve)||0,this.id=this._uniqueId=`${re}${++k}`}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(re){this._required=(0,S.Ig)(re)}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(re){const _e=(0,S.Ig)(re);_e!=this.checked&&(this._checked=_e,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(re){const _e=(0,S.Ig)(re);_e!==this.disabled&&(this._disabled=_e,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(re){const _e=re!=this._indeterminate;this._indeterminate=(0,S.Ig)(re),_e&&(this._indeterminate?this._transitionCheckState(3):this._transitionCheckState(this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(re){this.checked=!!re}registerOnChange(re){this._controlValueAccessorChangeFn=re}registerOnTouched(re){this._onTouched=re}setDisabledState(re){this.disabled=re}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(re){let _e=this._currentCheckState,he=this._getAnimationTargetElement();if(_e!==re&&he&&(this._currentAnimationClass&&he.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(_e,re),this._currentCheckState=re,this._currentAnimationClass.length>0)){he.classList.add(this._currentAnimationClass);const ae=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{he.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 re=this._options?.clickAction;this.disabled||"noop"===re?!this.disabled&&"noop"===re&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==re&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(re){re.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(re,_e){if("NoopAnimations"===this._animationMode)return"";switch(re){case 0:if(1===_e)return this._animationClasses.uncheckedToChecked;if(3==_e)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===_e?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===_e?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===_e?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(re){const _e=this._inputElement;_e&&(_e.nativeElement.indeterminate=re)}}I.\u0275fac=function(re){e.$Z()},I.\u0275dir=e.lG2({type:I,viewQuery:function(re,_e){if(1&re&&(e.Gf(l,5),e.Gf(D,5),e.Gf(_.wG,5)),2&re){let he;e.iGM(he=e.CRH())&&(_e._inputElement=he.first),e.iGM(he=e.CRH())&&(_e._labelElement=he.first),e.iGM(he=e.CRH())&&(_e.ripple=he.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]});class V extends I{constructor(re,_e,he,ae,ve,T){super("mat-mdc-checkbox-",re,_e,he,ae,ve,T),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(re){const _e=new M;return _e.source=this,_e.checked=re,_e}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_onInputClick(){super._handleInputClick()}_preventBubblingFromLabel(re){re.target&&this._labelElement.nativeElement.contains(re.target)&&re.stopPropagation()}}V.\u0275fac=function(re){return new(re||V)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(e.R0b),e.$8M("tabindex"),e.Y36(e.QbO,8),e.Y36(P,8))},V.\u0275cmp=e.Xpm({type:V,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-mdc-checkbox"],hostVars:12,hostBindings:function(re,_e){2&re&&(e.Ikx("id",_e.id),e.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null),e.ekj("_mat-animation-noopable","NoopAnimations"===_e._animationMode)("mdc-checkbox--disabled",_e.disabled)("mat-mdc-checkbox-disabled",_e.disabled)("mat-mdc-checkbox-checked",_e.checked))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[e._Bn([L]),e.qOj],ngContentSelectors:["*"],decls:15,vars:19,consts:[[1,"mdc-form-field",3,"click"],[1,"mdc-checkbox"],["checkbox",""],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","disabled","id","required","tabIndex","blur","click","change"],["input",""],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[3,"for"],["label",""]],template:function(re,_e){if(1&re&&(e.F$t(),e.TgZ(0,"div",0),e.NdJ("click",function(ae){return _e._preventBubblingFromLabel(ae)}),e.TgZ(1,"div",1,2)(3,"div",3),e.NdJ("click",function(){return _e._onInputClick()}),e.qZA(),e.TgZ(4,"input",4,5),e.NdJ("blur",function(){return _e._onBlur()})("click",function(){return _e._onInputClick()})("change",function(ae){return _e._onInteractionEvent(ae)}),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&re){const he=e.MAs(2);e.ekj("mdc-form-field--align-end","before"==_e.labelPosition),e.xp6(4),e.ekj("mdc-checkbox--selected",_e.checked),e.Q6J("checked",_e.checked)("disabled",_e.disabled)("id",_e.inputId)("required",_e.required)("tabIndex",_e.tabIndex),e.uIk("aria-checked",_e._getAriaChecked())("aria-label",_e.ariaLabel||null)("aria-labelledby",_e.ariaLabelledby)("aria-describedby",_e.ariaDescribedby)("name",_e.name)("value",_e.value),e.xp6(7),e.Q6J("matRippleTrigger",he)("matRippleDisabled",_e.disableRipple||_e.disabled)("matRippleCentered",!0),e.xp6(1),e.Q6J("for",_e.inputId)}},dependencies:[_.wG],styles:['.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size, 48px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);width:var(--mdc-checkbox-state-layer-size, 48px);height:var(--mdc-checkbox-state-layer-size, 48px)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, rgba(0, 0, 0, 0.38));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color, rgba(0, 0, 0, 0.38))}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);width:var(--mdc-checkbox-state-layer-size, 40px);height:var(--mdc-checkbox-state-layer-size, 40px)}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:not([disabled])~.mdc-checkbox__ripple{opacity:.04;transform:scale(1);transition:opacity 80ms 0 cubic-bezier(0, 0, 0.2, 1),transform 80ms 0 cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:not([disabled]):focus~.mdc-checkbox__ripple{opacity:.16}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default}.mat-mdc-checkbox label:empty{display:none}.mat-mdc-checkbox .mdc-checkbox__native-control:focus:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, black)}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});const Z={provide:t.Cf,useExisting:(0,e.Gpc)(()=>q),multi:!0};class q extends t.Zs{}q.\u0275fac=function(){let le;return function(_e){return(le||(le=e.n5z(q)))(_e||q)}}(),q.\u0275dir=e.lG2({type:q,selectors:[["mat-checkbox","required","","formControlName",""],["mat-checkbox","required","","formControl",""],["mat-checkbox","required","","ngModel",""]],features:[e._Bn([Z]),e.qOj]});class te{}te.\u0275fac=function(re){return new(re||te)},te.\u0275mod=e.oAB({type:te}),te.\u0275inj=e.cJS({});class ne{}ne.\u0275fac=function(re){return new(re||ne)},ne.\u0275mod=e.oAB({type:ne}),ne.\u0275inj=e.cJS({imports:[_.BQ,_.si,te,_.BQ,te]})},1169:(Ge,X,f)=>{"use strict";f.d(X,{HS:()=>je,Hi:()=>gt});var e=f(8971),t=f(2560),_=f(4666),S=f(207),l=f(4218),D=f(253),d=f(6646),P=f(9295),p=f(8951),L=f(4874),M=f(2673),k=f(8456),E=f(2867),z=f(2508),I=f(5074);function V(rt,Re){1&rt&&(t.TgZ(0,"span",8),t.Hsn(1,1),t.qZA())}function Z(rt,Re){1&rt&&(t.TgZ(0,"span",9),t.Hsn(1,2),t.qZA())}const q=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]];function ne(rt,Re){1&rt&&(t.TgZ(0,"span",11),t.Hsn(1,2),t.qZA())}const le=[[["mat-chip-avatar"],["","matChipAvatar",""]],"*",[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],_e='.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__graphic{height:24px;width:24px;font-size:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__icon--primary{height:24px;width:24px;font-size:24px}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0);border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 14px 14px 14px 14px)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size, 28px);width:var(--mdc-chip-with-avatar-avatar-size, 28px);font-size:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-outline-width, 1px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-outline-width, 1px)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--selected) .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-unselected-outline-width, 1px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color, transparent)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size, 18px);width:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, currentColor)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{width:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}';function he(rt,Re){if(1&rt&&(t.ynx(0),t._UZ(1,"span",8)(2,"span",9),t.BQk()),2&rt){const ot=t.oxw();t.xp6(1),t.Q6J("matRippleDisabled",ot._isRippleDisabled())("matRippleCentered",ot._isRippleCentered)("matRippleTrigger",ot._elementRef.nativeElement)}}function ae(rt,Re){1&rt&&(t.TgZ(0,"span",10),t.Hsn(1),t.qZA())}function ve(rt,Re){1&rt&&(t.ynx(0),t.Hsn(1,1),t.BQk())}function T(rt,Re){1&rt&&t.Hsn(0,2,["*ngIf","contentEditInput; else defaultMatChipEditInput"])}function i(rt,Re){1&rt&&t._UZ(0,"span",13)}function o(rt,Re){if(1&rt&&(t.ynx(0),t.YNc(1,T,1,0,"ng-content",11),t.YNc(2,i,1,0,"ng-template",null,12,t.W1O),t.BQk()),2&rt){const ot=t.MAs(3),St=t.oxw();t.xp6(1),t.Q6J("ngIf",St.contentEditInput)("ngIfElse",ot)}}function m(rt,Re){1&rt&&(t.TgZ(0,"span",14),t.Hsn(1,3),t.qZA())}const h=[[["mat-chip-avatar"],["","matChipAvatar",""]],"*",[["","matChipEditInput",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],A=["*"],R=".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}",v=new t.OlP("mat-chips-default-options"),a=new t.OlP("MatChipAvatar"),C=new t.OlP("MatChipTrailingIcon"),U=new t.OlP("MatChipRemove"),N=new t.OlP("MatChip");const Pe=(0,S.sb)(class Q{},-1);class Le extends Pe{constructor(Re,ot){super(),this._elementRef=Re,this._parentChip=ot,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this._allowFocusWhenDisabled=!1,"BUTTON"===Re.nativeElement.nodeName&&Re.nativeElement.setAttribute("type","button")}get disabled(){return this._disabled||this._parentChip.disabled}set disabled(Re){this._disabled=(0,e.Ig)(Re)}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}focus(){this._elementRef.nativeElement.focus()}_handleClick(Re){!this.disabled&&this.isInteractive&&this._isPrimary&&(Re.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(Re){(Re.keyCode===k.K5||Re.keyCode===k.L_)&&!this.disabled&&this.isInteractive&&this._isPrimary&&(Re.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}}Le.\u0275fac=function(Re){return new(Re||Le)(t.Y36(t.SBq),t.Y36(N))},Le.\u0275dir=t.lG2({type:Le,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(Re,ot){1&Re&&t.NdJ("click",function(gi){return ot._handleClick(gi)})("keydown",function(gi){return ot._handleKeydown(gi)}),2&Re&&(t.uIk("tabindex",ot._getTabindex())("disabled",ot._getDisabledAttribute())("aria-disabled",ot.disabled),t.ekj("mdc-evolution-chip__action--primary",ot._isPrimary)("mdc-evolution-chip__action--presentational",ot._isPrimary)("mdc-evolution-chip__action--trailing",!ot._isPrimary))},inputs:{disabled:"disabled",tabIndex:"tabIndex",isInteractive:"isInteractive",_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},features:[t.qOj]});class Ye{}Ye.\u0275fac=function(Re){return new(Re||Ye)},Ye.\u0275dir=t.lG2({type:Ye,selectors:[["mat-chip-avatar"],["","matChipAvatar",""]],hostAttrs:["role","img",1,"mat-mdc-chip-avatar","mdc-evolution-chip__icon","mdc-evolution-chip__icon--primary"],features:[t._Bn([{provide:a,useExisting:Ye}])]});class $e extends Le{constructor(){super(...arguments),this.isInteractive=!1,this._isPrimary=!1}}$e.\u0275fac=function(){let rt;return function(ot){return(rt||(rt=t.n5z($e)))(ot||$e)}}(),$e.\u0275dir=t.lG2({type:$e,selectors:[["mat-chip-trailing-icon"],["","matChipTrailingIcon",""]],hostAttrs:["aria-hidden","true",1,"mat-mdc-chip-trailing-icon","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],features:[t._Bn([{provide:C,useExisting:$e}]),t.qOj]});class Ve extends Le{constructor(){super(...arguments),this._isPrimary=!1}_handleClick(Re){this.disabled||(Re.stopPropagation(),Re.preventDefault(),this._parentChip.remove())}_handleKeydown(Re){(Re.keyCode===k.K5||Re.keyCode===k.L_)&&!this.disabled&&(Re.stopPropagation(),Re.preventDefault(),this._parentChip.remove())}}Ve.\u0275fac=function(){let rt;return function(ot){return(rt||(rt=t.n5z(Ve)))(ot||Ve)}}(),Ve.\u0275dir=t.lG2({type:Ve,selectors:[["","matChipRemove",""]],hostAttrs:["role","button",1,"mat-mdc-chip-remove","mat-mdc-chip-trailing-icon","mat-mdc-focus-indicator","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],hostVars:1,hostBindings:function(Re,ot){2&Re&&t.uIk("aria-hidden",null)},features:[t._Bn([{provide:U,useExisting:Ve}]),t.qOj]});let be=0;const et=(0,S.sb)((0,S.pj)((0,S.Kr)((0,S.Id)(class{constructor(rt){this._elementRef=rt}})),"primary"),-1);class je extends et{constructor(Re,ot,St,gi,oi,ei,Zi,si){super(ot),this._changeDetectorRef=Re,this._ngZone=St,this._focusMonitor=gi,this._globalRippleOptions=Zi,this._isRippleCentered=!1,this._onFocus=new D.x,this._onBlur=new D.x,this.role=null,this._hasFocusInternal=!1,this.id="mat-mdc-chip-"+be++,this.ariaLabel=null,this._removable=!0,this._highlighted=!1,this.removed=new t.vpe,this.destroyed=new t.vpe,this.basicChipAttrName="mat-basic-chip";const Bt=ot.nativeElement;this._document=oi,this._animationsDisabled="NoopAnimations"===ei,this._isBasicChip=Bt.hasAttribute(this.basicChipAttrName)||Bt.tagName.toLowerCase()===this.basicChipAttrName,null!=si&&(this.tabIndex=parseInt(si)??this.defaultTabIndex),this._monitorFocus()}_hasFocus(){return this._hasFocusInternal}get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(Re){this._value=Re}get removable(){return this._removable}set removable(Re){this._removable=(0,e.Ig)(Re)}get highlighted(){return this._highlighted}set highlighted(Re){this._highlighted=(0,e.Ig)(Re)}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!(!this.trailingIcon&&!this.removeIcon)}_handleKeydown(Re){(Re.keyCode===k.ZH||Re.keyCode===k.yY)&&(Re.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(Re){return this._getActions().find(ot=>{const St=ot._elementRef.nativeElement;return St===Re||St.contains(Re)})}_getActions(){const Re=[];return this.primaryAction&&Re.push(this.primaryAction),this.removeIcon&&Re.push(this.removeIcon),this.trailingIcon&&Re.push(this.trailingIcon),Re}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(Re=>{const ot=null!==Re;ot!==this._hasFocusInternal&&(this._hasFocusInternal=ot,ot?this._onFocus.next({chip:this}):this._ngZone.onStable.pipe((0,P.q)(1)).subscribe(()=>this._ngZone.run(()=>this._onBlur.next({chip:this}))))})}}je.\u0275fac=function(Re){return new(Re||je)(t.Y36(t.sBO),t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(l.tE),t.Y36(_.K0),t.Y36(t.QbO,8),t.Y36(S.Y2,8),t.$8M("tabindex"))},je.\u0275cmp=t.Xpm({type:je,selectors:[["mat-basic-chip"],["mat-chip"]],contentQueries:function(Re,ot,St){if(1&Re&&(t.Suo(St,a,5),t.Suo(St,C,5),t.Suo(St,U,5)),2&Re){let gi;t.iGM(gi=t.CRH())&&(ot.leadingIcon=gi.first),t.iGM(gi=t.CRH())&&(ot.trailingIcon=gi.first),t.iGM(gi=t.CRH())&&(ot.removeIcon=gi.first)}},viewQuery:function(Re,ot){if(1&Re&&(t.Gf(S.wG,5),t.Gf(Le,5)),2&Re){let St;t.iGM(St=t.CRH())&&(ot.ripple=St.first),t.iGM(St=t.CRH())&&(ot.primaryAction=St.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:30,hostBindings:function(Re,ot){1&Re&&t.NdJ("keydown",function(gi){return ot._handleKeydown(gi)}),2&Re&&(t.Ikx("id",ot.id),t.uIk("role",ot.role)("tabindex",ot.role?ot.tabIndex:null)("aria-label",ot.ariaLabel),t.ekj("mdc-evolution-chip",!ot._isBasicChip)("mdc-evolution-chip--disabled",ot.disabled)("mdc-evolution-chip--with-trailing-action",ot._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",ot.leadingIcon)("mdc-evolution-chip--with-primary-icon",ot.leadingIcon)("mdc-evolution-chip--with-avatar",ot.leadingIcon)("mat-mdc-chip-with-avatar",ot.leadingIcon)("mat-mdc-chip-highlighted",ot.highlighted)("mat-mdc-chip-disabled",ot.disabled)("mat-mdc-basic-chip",ot._isBasicChip)("mat-mdc-standard-chip",!ot._isBasicChip)("mat-mdc-chip-with-trailing-icon",ot._hasTrailingIcon())("_mat-animation-noopable",ot._animationsDisabled))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",id:"id",ariaLabel:["aria-label","ariaLabel"],value:"value",removable:"removable",highlighted:"highlighted"},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[t._Bn([{provide:N,useExisting:je}]),t.qOj],ngContentSelectors:["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],decls:9,vars:6,consts:[["matRipple","",1,"mat-mdc-chip-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing",4,"ngIf"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(Re,ot){1&Re&&(t.F$t(q),t._UZ(0,"span",0)(1,"span",1),t.TgZ(2,"span",2)(3,"div",3),t.YNc(4,V,2,0,"span",4),t.TgZ(5,"span",5),t.Hsn(6),t._UZ(7,"span",6),t.qZA()()(),t.YNc(8,Z,2,0,"span",7)),2&Re&&(t.Q6J("matRippleDisabled",ot._isRippleDisabled())("matRippleCentered",ot._isRippleCentered)("matRippleTrigger",ot._elementRef.nativeElement),t.xp6(3),t.Q6J("isInteractive",!1),t.xp6(1),t.Q6J("ngIf",ot.leadingIcon),t.xp6(4),t.Q6J("ngIf",ot._hasTrailingIcon()))},dependencies:[_.O5,S.wG,Le],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__graphic{height:24px;width:24px;font-size:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__icon--primary{height:24px;width:24px;font-size:24px}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0);border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 14px 14px 14px 14px)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size, 28px);width:var(--mdc-chip-with-avatar-avatar-size, 28px);font-size:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-outline-width, 1px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-outline-width, 1px)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--selected) .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-unselected-outline-width, 1px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color, transparent)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size, 18px);width:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, currentColor)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{width:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});class Te extends je{constructor(){super(...arguments),this.chipListSelectable=!0,this._chipListMultiple=!1,this._selectable=!0,this._selected=!1,this.basicChipAttrName="mat-basic-chip-option",this.selectionChange=new t.vpe}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(Re){this._selectable=(0,e.Ig)(Re),this._changeDetectorRef.markForCheck()}get selected(){return this._selected}set selected(Re){this._setSelectedState((0,e.Ig)(Re),!1,!0)}get ariaSelected(){return this.selectable?this.selected.toString():null}ngOnInit(){this.role="presentation"}select(){this._setSelectedState(!0,!1,!0)}deselect(){this._setSelectedState(!1,!1,!0)}selectViaInteraction(){this._setSelectedState(!0,!0,!0)}toggleSelected(Re=!1){return this._setSelectedState(!this.selected,Re,!0),this.selected}_handlePrimaryActionInteraction(){this.selectable&&!this.disabled&&this.toggleSelected(!0)}_setSelectedState(Re,ot,St){Re!==this.selected&&(this._selected=Re,St&&this.selectionChange.emit({source:this,isUserInput:ot,selected:this.selected}),this._changeDetectorRef.markForCheck())}}Te.\u0275fac=function(){let rt;return function(ot){return(rt||(rt=t.n5z(Te)))(ot||Te)}}(),Te.\u0275cmp=t.Xpm({type:Te,selectors:[["mat-basic-chip-option"],["mat-chip-option"]],hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-option","mdc-evolution-chip","mdc-evolution-chip--filter","mdc-evolution-chip--selectable","mdc-evolution-chip--with-primary-graphic"],hostVars:28,hostBindings:function(Re,ot){2&Re&&(t.Ikx("id",ot.id),t.uIk("tabindex",null)("aria-label",null)("role",ot.role),t.ekj("mat-mdc-chip-selected",ot.selected)("mat-mdc-chip-multiple",ot._chipListMultiple)("mat-mdc-chip-disabled",ot.disabled)("mat-mdc-chip-with-avatar",ot.leadingIcon)("mdc-evolution-chip--disabled",ot.disabled)("mdc-evolution-chip--selected",ot.selected)("mdc-evolution-chip--selecting",!ot._animationsDisabled)("mdc-evolution-chip--with-trailing-action",ot._hasTrailingIcon())("mdc-evolution-chip--with-primary-icon",ot.leadingIcon)("mdc-evolution-chip--with-avatar",ot.leadingIcon)("mat-mdc-chip-highlighted",ot.highlighted)("mat-mdc-chip-with-trailing-icon",ot._hasTrailingIcon()))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",selectable:"selectable",selected:"selected"},outputs:{selectionChange:"selectionChange"},features:[t._Bn([{provide:je,useExisting:Te},{provide:N,useExisting:Te}]),t.qOj],ngContentSelectors:["mat-chip-avatar, [matChipAvatar]","*","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],decls:13,vars:8,consts:[["matRipple","",1,"mat-mdc-chip-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","","role","option",3,"tabIndex","_allowFocusWhenDisabled"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__checkmark"],["viewBox","-2 -3 30 30","focusable","false",1,"mdc-evolution-chip__checkmark-svg"],["fill","none","stroke","currentColor","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-evolution-chip__checkmark-path"],[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__cell","mdc-evolution-chip__cell--trailing"]],template:function(Re,ot){1&Re&&(t.F$t(le),t._UZ(0,"span",0)(1,"span",1),t.TgZ(2,"span",2)(3,"button",3)(4,"span",4),t.Hsn(5),t.TgZ(6,"span",5),t.O4$(),t.TgZ(7,"svg",6),t._UZ(8,"path",7),t.qZA()()(),t.kcU(),t.TgZ(9,"span",8),t.Hsn(10,1),t._UZ(11,"span",9),t.qZA()()(),t.YNc(12,ne,2,0,"span",10)),2&Re&&(t.Q6J("matRippleDisabled",ot._isRippleDisabled())("matRippleCentered",ot._isRippleCentered)("matRippleTrigger",ot._elementRef.nativeElement),t.xp6(3),t.Q6J("tabIndex",ot.tabIndex)("_allowFocusWhenDisabled",!0),t.uIk("aria-selected",ot.ariaSelected)("aria-label",ot.ariaLabel),t.xp6(9),t.Q6J("ngIf",ot._hasTrailingIcon()))},dependencies:[_.O5,S.wG,Le],styles:[_e],encapsulation:2,changeDetection:0});class He{constructor(Re,ot){this._elementRef=Re,this._document=ot}initialize(Re){this.getNativeElement().focus(),this.setValue(Re)}getNativeElement(){return this._elementRef.nativeElement}setValue(Re){this.getNativeElement().textContent=Re,this._moveCursorToEndOfInput()}getValue(){return this.getNativeElement().textContent||""}_moveCursorToEndOfInput(){const Re=this._document.createRange();Re.selectNodeContents(this.getNativeElement()),Re.collapse(!1);const ot=window.getSelection();ot.removeAllRanges(),ot.addRange(Re)}}He.\u0275fac=function(Re){return new(Re||He)(t.Y36(t.SBq),t.Y36(_.K0))},He.\u0275dir=t.lG2({type:He,selectors:[["span","matChipEditInput",""]],hostAttrs:["role","textbox","tabindex","-1","contenteditable","true",1,"mat-chip-edit-input"]});class Ee extends je{constructor(Re,ot,St,gi,oi,ei,Zi,si){super(Re,ot,St,gi,oi,ei,Zi,si),this.basicChipAttrName="mat-basic-chip-row",this._editStartPending=!1,this.editable=!1,this.edited=new t.vpe,this._isEditing=!1,this.role="row",this._onBlur.pipe((0,p.R)(this.destroyed)).subscribe(()=>{this._isEditing&&!this._editStartPending&&this._onEditFinish()})}_hasTrailingIcon(){return!this._isEditing&&super._hasTrailingIcon()}_mousedown(Re){this._isEditing||(this.disabled||this.focus(),Re.preventDefault())}_handleKeydown(Re){Re.keyCode!==k.K5||this.disabled?this._isEditing?Re.stopPropagation():super._handleKeydown(Re):this._isEditing?(Re.preventDefault(),this._onEditFinish()):this.editable&&this._startEditing(Re)}_doubleclick(Re){!this.disabled&&this.editable&&this._startEditing(Re)}_startEditing(Re){if(!this.primaryAction||this.removeIcon&&this._getSourceAction(Re.target)===this.removeIcon)return;const ot=this.value;this._isEditing=!0,this._editStartPending=!0,setTimeout(()=>{this._getEditInput().initialize(ot),this._editStartPending=!1})}_onEditFinish(){this._isEditing=!1,this._editStartPending=!1,this.edited.emit({chip:this,value:this._getEditInput().getValue()}),(this._document.activeElement===this._getEditInput().getNativeElement()||this._document.activeElement===this._document.body)&&this.primaryAction.focus()}_getEditInput(){return this.contentEditInput||this.defaultEditInput}}Ee.\u0275fac=function(Re){return new(Re||Ee)(t.Y36(t.sBO),t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(l.tE),t.Y36(_.K0),t.Y36(t.QbO,8),t.Y36(S.Y2,8),t.$8M("tabindex"))},Ee.\u0275cmp=t.Xpm({type:Ee,selectors:[["mat-chip-row"],["mat-basic-chip-row"]],contentQueries:function(Re,ot,St){if(1&Re&&t.Suo(St,He,5),2&Re){let gi;t.iGM(gi=t.CRH())&&(ot.contentEditInput=gi.first)}},viewQuery:function(Re,ot){if(1&Re&&t.Gf(He,5),2&Re){let St;t.iGM(St=t.CRH())&&(ot.defaultEditInput=St.first)}},hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-row","mdc-evolution-chip"],hostVars:26,hostBindings:function(Re,ot){1&Re&&t.NdJ("mousedown",function(gi){return ot._mousedown(gi)})("dblclick",function(gi){return ot._doubleclick(gi)}),2&Re&&(t.Ikx("id",ot.id),t.uIk("tabindex",null)("aria-label",null)("role",ot.role),t.ekj("mat-mdc-chip-with-avatar",ot.leadingIcon)("mat-mdc-chip-disabled",ot.disabled)("mat-mdc-chip-editing",ot._isEditing)("mat-mdc-chip-editable",ot.editable)("mdc-evolution-chip--disabled",ot.disabled)("mdc-evolution-chip--with-trailing-action",ot._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",ot.leadingIcon)("mdc-evolution-chip--with-primary-icon",ot.leadingIcon)("mdc-evolution-chip--with-avatar",ot.leadingIcon)("mat-mdc-chip-highlighted",ot.highlighted)("mat-mdc-chip-with-trailing-icon",ot._hasTrailingIcon()))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",editable:"editable"},outputs:{edited:"edited"},features:[t._Bn([{provide:je,useExisting:Ee},{provide:N,useExisting:Ee}]),t.qOj],ngContentSelectors:["mat-chip-avatar, [matChipAvatar]","*","[matChipEditInput]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],decls:9,vars:10,consts:[[4,"ngIf"],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"tabIndex","disabled"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label",3,"ngSwitch"],[4,"ngSwitchCase"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing","role","gridcell",4,"ngIf"],["matRipple","",1,"mat-mdc-chip-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[4,"ngIf","ngIfElse"],["defaultMatChipEditInput",""],["matChipEditInput",""],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(Re,ot){1&Re&&(t.F$t(h),t.YNc(0,he,3,3,"ng-container",0),t.TgZ(1,"span",1)(2,"span",2),t.YNc(3,ae,2,0,"span",3),t.TgZ(4,"span",4),t.YNc(5,ve,2,0,"ng-container",5),t.YNc(6,o,4,2,"ng-container",5),t._UZ(7,"span",6),t.qZA()()(),t.YNc(8,m,2,0,"span",7)),2&Re&&(t.Q6J("ngIf",!ot._isEditing),t.xp6(2),t.Q6J("tabIndex",ot.tabIndex)("disabled",ot.disabled),t.uIk("role",ot.editable?"button":null)("aria-label",ot.ariaLabel),t.xp6(1),t.Q6J("ngIf",ot.leadingIcon),t.xp6(1),t.Q6J("ngSwitch",ot._isEditing),t.xp6(1),t.Q6J("ngSwitchCase",!1),t.xp6(1),t.Q6J("ngSwitchCase",!0),t.xp6(2),t.Q6J("ngIf",ot._hasTrailingIcon()))},dependencies:[_.O5,_.RF,_.n9,S.wG,Le,He],styles:[_e],encapsulation:2,changeDetection:0});const de=(0,S.sb)(class we{constructor(Re){}});class Me extends de{constructor(Re,ot,St){super(Re),this._elementRef=Re,this._changeDetectorRef=ot,this._dir=St,this._lastDestroyedFocusedChipIndex=null,this._destroyed=new D.x,this._defaultRole="presentation",this._disabled=!1,this._explicitRole=null,this._chipActions=new t.n_E}get chipFocusChanges(){return this._getChipStream(Re=>Re._onFocus)}get chipDestroyedChanges(){return this._getChipStream(Re=>Re.destroyed)}get disabled(){return this._disabled}set disabled(Re){this._disabled=(0,e.Ig)(Re),this._syncChipsState()}get empty(){return 0===this._chips.length}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}set role(Re){this._explicitRole=Re}get focused(){return this._hasFocusedChip()}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(Re=>Re._hasFocus())}_syncChipsState(){this._chips&&this._chips.forEach(Re=>{Re.disabled=this._disabled,Re._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(Re){this._originatesFromChip(Re)&&this._keyManager.onKeydown(Re)}_isValidIndex(Re){return Re>=0&&Re<this._chips.length}_allowFocusEscape(){const Re=this.tabIndex;-1!==this.tabIndex&&(this.tabIndex=-1,Promise.resolve().then(()=>{this.tabIndex=Re,this._changeDetectorRef.markForCheck()}))}_getChipStream(Re){return this._chips.changes.pipe((0,L.O)(null),(0,M.w)(()=>(0,d.T)(...this._chips.map(Re))))}_originatesFromChip(Re){let ot=Re.target;for(;ot&&ot!==this._elementRef.nativeElement;){if(ot.classList&&ot.classList.contains("mdc-evolution-chip"))return!0;ot=ot.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe((0,L.O)(this._chips)).subscribe(Re=>{const ot=[];Re.forEach(St=>St._getActions().forEach(gi=>ot.push(gi))),this._chipActions.reset(ot),this._chipActions.notifyOnChanges()}),this._keyManager=new l.Em(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(Re=>this._skipPredicate(Re)),this.chipFocusChanges.pipe((0,p.R)(this._destroyed)).subscribe(({chip:Re})=>{const ot=Re._getSourceAction(document.activeElement);ot&&this._keyManager.updateActiveItem(ot)}),this._dir?.change.pipe((0,p.R)(this._destroyed)).subscribe(Re=>this._keyManager.withHorizontalOrientation(Re))}_skipPredicate(Re){return!Re.isInteractive||Re.disabled}_trackChipSetChanges(){this._chips.changes.pipe((0,L.O)(null),(0,p.R)(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe((0,p.R)(this._destroyed)).subscribe(Re=>{const St=this._chips.toArray().indexOf(Re.chip);this._isValidIndex(St)&&Re.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=St)})}_redirectDestroyedChipFocus(){if(null!=this._lastDestroyedFocusedChipIndex){if(this._chips.length){const Re=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),ot=this._chips.toArray()[Re];ot.disabled?1===this._chips.length?this.focus():this._keyManager.setPreviousItemActive():ot.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}}Me.\u0275fac=function(Re){return new(Re||Me)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(E.Is,8))},Me.\u0275cmp=t.Xpm({type:Me,selectors:[["mat-chip-set"]],contentQueries:function(Re,ot,St){if(1&Re&&t.Suo(St,je,5),2&Re){let gi;t.iGM(gi=t.CRH())&&(ot._chips=gi)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(Re,ot){1&Re&&t.NdJ("keydown",function(gi){return ot._handleKeydown(gi)}),2&Re&&t.uIk("role",ot.role)},inputs:{disabled:"disabled",role:"role"},features:[t.qOj],ngContentSelectors:A,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(Re,ot){1&Re&&(t.F$t(),t.TgZ(0,"span",0),t.Hsn(1),t.qZA())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0});class ie{constructor(Re,ot){this.source=Re,this.value=ot}}const G={provide:z.JU,useExisting:(0,t.Gpc)(()=>$),multi:!0};class $ extends Me{constructor(){super(...arguments),this._onTouched=()=>{},this._onChange=()=>{},this._defaultRole="listbox",this._multiple=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.compareWith=(Re,ot)=>Re===ot,this._required=!1,this.change=new t.vpe}get multiple(){return this._multiple}set multiple(Re){this._multiple=(0,e.Ig)(Re),this._syncListboxProperties()}get selected(){const Re=this._chips.toArray().filter(ot=>ot.selected);return this.multiple?Re:Re[0]}get selectable(){return this._selectable}set selectable(Re){this._selectable=(0,e.Ig)(Re),this._syncListboxProperties()}get required(){return this._required}set required(Re){this._required=(0,e.Ig)(Re)}get chipSelectionChanges(){return this._getChipStream(Re=>Re.selectionChange)}get chipBlurChanges(){return this._getChipStream(Re=>Re._onBlur)}get value(){return this._value}set value(Re){this.writeValue(Re),this._value=Re}ngAfterContentInit(){void 0!==this._pendingInitialValue&&Promise.resolve().then(()=>{this._setSelectionByValue(this._pendingInitialValue,!1),this._pendingInitialValue=void 0}),this._chips.changes.pipe((0,L.O)(null),(0,p.R)(this._destroyed)).subscribe(()=>{this._syncListboxProperties()}),this.chipBlurChanges.pipe((0,p.R)(this._destroyed)).subscribe(()=>this._blur()),this.chipSelectionChanges.pipe((0,p.R)(this._destroyed)).subscribe(Re=>{this.multiple||this._chips.forEach(ot=>{ot!==Re.source&&ot._setSelectedState(!1,!1,!1)}),Re.isUserInput&&this._propagateChanges()})}focus(){if(this.disabled)return;const Re=this._getFirstSelectedChip();Re&&!Re.disabled?Re.focus():this._chips.length>0?this._keyManager.setFirstItemActive():this._elementRef.nativeElement.focus()}writeValue(Re){this._chips?this._setSelectionByValue(Re,!1):null!=Re&&(this._pendingInitialValue=Re)}registerOnChange(Re){this._onChange=Re}registerOnTouched(Re){this._onTouched=Re}setDisabledState(Re){this.disabled=Re}_setSelectionByValue(Re,ot=!0){this._clearSelection(),Array.isArray(Re)?Re.forEach(St=>this._selectValue(St,ot)):this._selectValue(Re,ot)}_blur(){this.disabled||setTimeout(()=>{this.focused||(this._propagateChanges(),this._markAsTouched())})}_keydown(Re){Re.keyCode===k.Mf&&super._allowFocusEscape()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck()}_propagateChanges(){let Re=null;Re=Array.isArray(this.selected)?this.selected.map(ot=>ot.value):this.selected?this.selected.value:void 0,this._value=Re,this.change.emit(new ie(this,Re)),this._onChange(Re),this._changeDetectorRef.markForCheck()}_clearSelection(Re){this._chips.forEach(ot=>{ot!==Re&&ot.deselect()})}_selectValue(Re,ot){const St=this._chips.find(gi=>null!=gi.value&&this.compareWith(gi.value,Re));return St&&(ot?St.selectViaInteraction():St.select()),St}_syncListboxProperties(){this._chips&&Promise.resolve().then(()=>{this._chips.forEach(Re=>{Re._chipListMultiple=this.multiple,Re.chipListSelectable=this._selectable,Re._changeDetectorRef.markForCheck()})})}_getFirstSelectedChip(){return Array.isArray(this.selected)?this.selected.length?this.selected[0]:void 0:this.selected}_skipPredicate(Re){return!Re.isInteractive}}$.\u0275fac=function(){let rt;return function(ot){return(rt||(rt=t.n5z($)))(ot||$)}}(),$.\u0275cmp=t.Xpm({type:$,selectors:[["mat-chip-listbox"]],contentQueries:function(Re,ot,St){if(1&Re&&t.Suo(St,Te,5),2&Re){let gi;t.iGM(gi=t.CRH())&&(ot._chips=gi)}},hostAttrs:[1,"mdc-evolution-chip-set","mat-mdc-chip-listbox"],hostVars:11,hostBindings:function(Re,ot){1&Re&&t.NdJ("focus",function(){return ot.focus()})("blur",function(){return ot._blur()})("keydown",function(gi){return ot._keydown(gi)}),2&Re&&(t.Ikx("tabIndex",ot.empty?-1:ot.tabIndex),t.uIk("role",ot.role)("aria-describedby",ot._ariaDescribedby||null)("aria-required",ot.role?ot.required:null)("aria-disabled",ot.disabled.toString())("aria-multiselectable",ot.multiple)("aria-orientation",ot.ariaOrientation),t.ekj("mat-mdc-chip-list-disabled",ot.disabled)("mat-mdc-chip-list-required",ot.required))},inputs:{tabIndex:"tabIndex",multiple:"multiple",ariaOrientation:["aria-orientation","ariaOrientation"],selectable:"selectable",compareWith:"compareWith",required:"required",value:"value"},outputs:{change:"change"},features:[t._Bn([G]),t.qOj],ngContentSelectors:A,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(Re,ot){1&Re&&(t.F$t(),t.TgZ(0,"span",0),t.Hsn(1),t.qZA())},styles:[R],encapsulation:2,changeDetection:0});class ze{constructor(Re,ot){this.source=Re,this.value=ot}}const oe=(0,S.FD)(class Ue extends Me{constructor(Re,ot,St,gi,oi,ei,Zi){super(Re,ot,St),this._defaultErrorStateMatcher=gi,this._parentForm=oi,this._parentFormGroup=ei,this.ngControl=Zi,this.stateChanges=new D.x}});class bt extends oe{constructor(Re,ot,St,gi,oi,ei,Zi){super(Re,ot,St,ei,gi,oi,Zi),this.controlType="mat-chip-grid",this._defaultRole="grid",this._ariaDescribedbyIds=[],this._onTouched=()=>{},this._onChange=()=>{},this._value=[],this.change=new t.vpe,this.valueChange=new t.vpe,this.ngControl&&(this.ngControl.valueAccessor=this)}get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(Re){this._disabled=(0,e.Ig)(Re),this._syncChipsState()}get id(){return this._chipInput.id}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this._chips||0===this._chips.length)}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(Re){this._placeholder=Re,this.stateChanges.next()}get focused(){return this._chipInput.focused||this._hasFocusedChip()}get required(){return this._required??this.ngControl?.control?.hasValidator(z.kI.required)??!1}set required(Re){this._required=(0,e.Ig)(Re),this.stateChanges.next()}get shouldLabelFloat(){return!this.empty||this.focused}get value(){return this._value}set value(Re){this._value=Re}get chipBlurChanges(){return this._getChipStream(Re=>Re._onBlur)}ngAfterContentInit(){this.chipBlurChanges.pipe((0,p.R)(this._destroyed)).subscribe(()=>{this._blur(),this.stateChanges.next()}),(0,d.T)(this.chipFocusChanges,this._chips.changes).pipe((0,p.R)(this._destroyed)).subscribe(()=>this.stateChanges.next())}ngAfterViewInit(){super.ngAfterViewInit(),this._chipInput}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnDestroy(){super.ngOnDestroy(),this.stateChanges.complete()}registerInput(Re){this._chipInput=Re,this._chipInput.setDescribedByIds(this._ariaDescribedbyIds)}onContainerClick(Re){!this.disabled&&!this._originatesFromChip(Re)&&this.focus()}focus(){this.disabled||this._chipInput.focused||(!this._chips.length||this._chips.first.disabled?Promise.resolve().then(()=>this._chipInput.focus()):this._chips.length&&this._keyManager.setFirstItemActive(),this.stateChanges.next())}setDescribedByIds(Re){this._ariaDescribedbyIds=Re,this._chipInput?.setDescribedByIds(Re)}writeValue(Re){this._value=Re}registerOnChange(Re){this._onChange=Re}registerOnTouched(Re){this._onTouched=Re}setDisabledState(Re){this.disabled=Re,this.stateChanges.next()}_blur(){this.disabled||setTimeout(()=>{this.focused||(this._propagateChanges(),this._markAsTouched())})}_allowFocusEscape(){this._chipInput.focused||super._allowFocusEscape()}_handleKeydown(Re){Re.keyCode===k.Mf?this._chipInput.focused&&(0,k.Vb)(Re,"shiftKey")&&this._chips.length&&!this._chips.last.disabled?(Re.preventDefault(),this._keyManager.activeItem?this._keyManager.setActiveItem(this._keyManager.activeItem):this._focusLastChip()):super._allowFocusEscape():this._chipInput.focused||super._handleKeydown(Re),this.stateChanges.next()}_focusLastChip(){this._chips.length&&this._chips.last.focus()}_propagateChanges(){const Re=this._chips.length?this._chips.toArray().map(ot=>ot.value):[];this._value=Re,this.change.emit(new ze(this,Re)),this.valueChange.emit(Re),this._onChange(Re),this._changeDetectorRef.markForCheck()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}}bt.\u0275fac=function(Re){return new(Re||bt)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(E.Is,8),t.Y36(z.F,8),t.Y36(z.sg,8),t.Y36(S.rD),t.Y36(z.a5,10))},bt.\u0275cmp=t.Xpm({type:bt,selectors:[["mat-chip-grid"]],contentQueries:function(Re,ot,St){if(1&Re&&t.Suo(St,Ee,5),2&Re){let gi;t.iGM(gi=t.CRH())&&(ot._chips=gi)}},hostAttrs:[1,"mat-mdc-chip-set","mat-mdc-chip-grid","mdc-evolution-chip-set"],hostVars:10,hostBindings:function(Re,ot){1&Re&&t.NdJ("focus",function(){return ot.focus()})("blur",function(){return ot._blur()}),2&Re&&(t.Ikx("tabIndex",ot._chips&&0===ot._chips.length?-1:ot.tabIndex),t.uIk("role",ot.role)("aria-disabled",ot.disabled.toString())("aria-invalid",ot.errorState),t.ekj("mat-mdc-chip-list-disabled",ot.disabled)("mat-mdc-chip-list-invalid",ot.errorState)("mat-mdc-chip-list-required",ot.required))},inputs:{tabIndex:"tabIndex",disabled:"disabled",placeholder:"placeholder",required:"required",value:"value",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},features:[t._Bn([{provide:I.Eo,useExisting:bt}]),t.qOj],ngContentSelectors:A,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(Re,ot){1&Re&&(t.F$t(),t.TgZ(0,"span",0),t.Hsn(1),t.qZA())},styles:[R],encapsulation:2,changeDetection:0});let Be=0;class nt{constructor(Re,ot,St){this._elementRef=Re,this._defaultOptions=ot,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new t.vpe,this.placeholder="",this.id="mat-mdc-chip-list-input-"+Be++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement,St&&this.inputElement.classList.add("mat-mdc-form-field-input-control")}set chipGrid(Re){Re&&(this._chipGrid=Re,this._chipGrid.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(Re){this._addOnBlur=(0,e.Ig)(Re)}get disabled(){return this._disabled||this._chipGrid&&this._chipGrid.disabled}set disabled(Re){this._disabled=(0,e.Ig)(Re)}get empty(){return!this.inputElement.value}ngOnChanges(){this._chipGrid.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(Re){if(Re){if(Re.keyCode===k.ZH&&this._focusLastChipOnBackspace)return this._chipGrid._focusLastChip(),void Re.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(Re)}_keyup(Re){!this._focusLastChipOnBackspace&&Re.keyCode===k.ZH&&this.empty&&(this._focusLastChipOnBackspace=!0,Re.preventDefault())}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipGrid.focused||this._chipGrid._blur(),this._chipGrid.stateChanges.next()}_focus(){this.focused=!0,this._focusLastChipOnBackspace=this.empty,this._chipGrid.stateChanges.next()}_emitChipEnd(Re){(!Re||this._isSeparatorKey(Re))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),Re?.preventDefault())}_onInput(){this._chipGrid.stateChanges.next()}focus(){this.inputElement.focus()}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}setDescribedByIds(Re){const ot=this._elementRef.nativeElement;Re.length?ot.setAttribute("aria-describedby",Re.join(" ")):ot.removeAttribute("aria-describedby")}_isSeparatorKey(Re){return!(0,k.Vb)(Re)&&new Set(this.separatorKeyCodes).has(Re.keyCode)}}nt.\u0275fac=function(Re){return new(Re||nt)(t.Y36(t.SBq),t.Y36(v),t.Y36(I.G_,8))},nt.\u0275dir=t.lG2({type:nt,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-mdc-chip-input","mat-mdc-input-element","mdc-text-field__input","mat-input-element"],hostVars:6,hostBindings:function(Re,ot){1&Re&&t.NdJ("keydown",function(gi){return ot._keydown(gi)})("keyup",function(gi){return ot._keyup(gi)})("blur",function(){return ot._blur()})("focus",function(){return ot._focus()})("input",function(){return ot._onInput()}),2&Re&&(t.Ikx("id",ot.id),t.uIk("disabled",ot.disabled||null)("placeholder",ot.placeholder||null)("aria-invalid",ot._chipGrid&&ot._chipGrid.ngControl?ot._chipGrid.ngControl.invalid:null)("aria-required",ot._chipGrid&&ot._chipGrid.required||null)("required",ot._chipGrid&&ot._chipGrid.required||null))},inputs:{chipGrid:["matChipInputFor","chipGrid"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[t.TTD]});class gt{}gt.\u0275fac=function(Re){return new(Re||gt)},gt.\u0275mod=t.oAB({type:gt}),gt.\u0275inj=t.cJS({providers:[S.rD,{provide:v,useValue:{separatorKeyCodes:[k.K5]}}],imports:[S.BQ,_.ez,S.si,S.BQ]})},207:(Ge,X,f)=>{"use strict";f.d(X,{yN:()=>ne,mZ:()=>le,_A:()=>a,rD:()=>Ve,sG:()=>C,Ad:()=>R,K7:()=>rt,HF:()=>Be,Y2:()=>$,BQ:()=>he,X2:()=>be,uc:()=>ye,XK:()=>Ye,ey:()=>oi,Ng:()=>si,rN:()=>St,us:()=>bt,wG:()=>ze,si:()=>Ue,LF:()=>Q,IR:()=>ie,CB:()=>ei,jH:()=>Zi,pj:()=>o,Kr:()=>m,Id:()=>i,FD:()=>y,dB:()=>A,sb:()=>h,E0:()=>et});var e=f(2560),t=f(4218),_=f(2867);new e.GfV("15.0.1");var l=f(4666),D=f(9107),d=f(8971),P=f(833),p=f(253),L=f(4874),M=f(8456);const k=["*",[["mat-option"],["ng-container"]]],z=["text"];function I(Bt,Je){if(1&Bt&&e._UZ(0,"mat-pseudo-checkbox",5),2&Bt){const me=e.oxw();e.Q6J("state",me.selected?"checked":"unchecked")("disabled",me.disabled)}}function V(Bt,Je){if(1&Bt&&(e.TgZ(0,"span",6),e._uU(1),e.qZA()),2&Bt){const me=e.oxw();e.xp6(1),e.hij("(",me.group.label,")")}}const Z=[[["mat-icon"]],"*"];new e.GfV("15.0.1");class ne{}ne.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",ne.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",ne.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",ne.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)";class le{}le.COMPLEX="375ms",le.ENTERING="225ms",le.EXITING="195ms";const _e=new e.OlP("mat-sanity-checks",{providedIn:"root",factory:function re(){return!0}});class he{constructor(Je,me,K){this._sanityChecks=me,this._document=K,this._hasDoneGlobalChecks=!1,Je._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(Je){return!(0,D.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[Je])}}function i(Bt){return class extends Bt{constructor(...Je){super(...Je),this._disabled=!1}get disabled(){return this._disabled}set disabled(Je){this._disabled=(0,d.Ig)(Je)}}}function o(Bt,Je){return class extends Bt{constructor(...me){super(...me),this.defaultColor=Je,this.color=Je}get color(){return this._color}set color(me){const K=me||this.defaultColor;K!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),K&&this._elementRef.nativeElement.classList.add(`mat-${K}`),this._color=K)}}}function m(Bt){return class extends Bt{constructor(...Je){super(...Je),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(Je){this._disableRipple=(0,d.Ig)(Je)}}}function h(Bt,Je=0){return class extends Bt{constructor(...me){super(...me),this._tabIndex=Je,this.defaultTabIndex=Je}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(me){this._tabIndex=null!=me?(0,d.su)(me):this.defaultTabIndex}}}function y(Bt){return class extends Bt{constructor(...Je){super(...Je),this.errorState=!1}updateErrorState(){const Je=this.errorState,me=this._parentFormGroup||this._parentForm,K=this.errorStateMatcher||this._defaultErrorStateMatcher,J=this.ngControl?this.ngControl.control:null,Ce=K.isErrorState(J,me);Ce!==Je&&(this.errorState=Ce,this.stateChanges.next())}}}function A(Bt){return class extends Bt{constructor(...Je){super(...Je),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new P.y(me=>{this._isInitialized?this._notifySubscriber(me):this._pendingSubscribers.push(me)})}_markInitialized(){this._isInitialized,this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(Je){Je.next(),Je.complete()}}}he.\u0275fac=function(Je){return new(Je||he)(e.LFG(t.qm),e.LFG(_e,8),e.LFG(l.K0))},he.\u0275mod=e.oAB({type:he}),he.\u0275inj=e.cJS({imports:[_.vT,_.vT]});const R=new e.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function v(){return(0,e.f3M)(e.soG)}});class a{constructor(){this._localeChanges=new p.x,this.localeChanges=this._localeChanges}getValidDateOrNull(Je){return this.isDateInstance(Je)&&this.isValid(Je)?Je:null}deserialize(Je){return null==Je||this.isDateInstance(Je)&&this.isValid(Je)?Je:this.invalid()}setLocale(Je){this.locale=Je,this._localeChanges.next()}compareDate(Je,me){return this.getYear(Je)-this.getYear(me)||this.getMonth(Je)-this.getMonth(me)||this.getDate(Je)-this.getDate(me)}sameDate(Je,me){if(Je&&me){let K=this.isValid(Je),J=this.isValid(me);return K&&J?!this.compareDate(Je,me):K==J}return Je==me}clampDate(Je,me,K){return me&&this.compareDate(Je,me)<0?me:K&&this.compareDate(Je,K)>0?K:Je}}const C=new e.OlP("mat-date-formats"),U=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function N(Bt,Je){const me=Array(Bt);for(let K=0;K<Bt;K++)me[K]=Je(K);return me}class Q extends a{constructor(Je,me){super(),this.useUtcForDisplay=!1,super.setLocale(Je)}getYear(Je){return Je.getFullYear()}getMonth(Je){return Je.getMonth()}getDate(Je){return Je.getDate()}getDayOfWeek(Je){return Je.getDay()}getMonthNames(Je){const me=new Intl.DateTimeFormat(this.locale,{month:Je,timeZone:"utc"});return N(12,K=>this._format(me,new Date(2017,K,1)))}getDateNames(){const Je=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return N(31,me=>this._format(Je,new Date(2017,0,me+1)))}getDayOfWeekNames(Je){const me=new Intl.DateTimeFormat(this.locale,{weekday:Je,timeZone:"utc"});return N(7,K=>this._format(me,new Date(2017,0,K+1)))}getYearName(Je){const me=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(me,Je)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(Je){return this.getDate(this._createDateWithOverflow(this.getYear(Je),this.getMonth(Je)+1,0))}clone(Je){return new Date(Je.getTime())}createDate(Je,me,K){let J=this._createDateWithOverflow(Je,me,K);return J.getMonth(),J}today(){return new Date}parse(Je,me){return"number"==typeof Je?new Date(Je):Je?new Date(Date.parse(Je)):null}format(Je,me){if(!this.isValid(Je))throw Error("NativeDateAdapter: Cannot format invalid date.");const K=new Intl.DateTimeFormat(this.locale,{...me,timeZone:"utc"});return this._format(K,Je)}addCalendarYears(Je,me){return this.addCalendarMonths(Je,12*me)}addCalendarMonths(Je,me){let K=this._createDateWithOverflow(this.getYear(Je),this.getMonth(Je)+me,this.getDate(Je));return this.getMonth(K)!=((this.getMonth(Je)+me)%12+12)%12&&(K=this._createDateWithOverflow(this.getYear(K),this.getMonth(K),0)),K}addCalendarDays(Je,me){return this._createDateWithOverflow(this.getYear(Je),this.getMonth(Je),this.getDate(Je)+me)}toIso8601(Je){return[Je.getUTCFullYear(),this._2digit(Je.getUTCMonth()+1),this._2digit(Je.getUTCDate())].join("-")}deserialize(Je){if("string"==typeof Je){if(!Je)return null;if(U.test(Je)){let me=new Date(Je);if(this.isValid(me))return me}}return super.deserialize(Je)}isDateInstance(Je){return Je instanceof Date}isValid(Je){return!isNaN(Je.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(Je,me,K){const J=new Date;return J.setFullYear(Je,me,K),J.setHours(0,0,0,0),J}_2digit(Je){return("00"+Je).slice(-2)}_format(Je,me){const K=new Date;return K.setUTCFullYear(me.getFullYear(),me.getMonth(),me.getDate()),K.setUTCHours(me.getHours(),me.getMinutes(),me.getSeconds(),me.getMilliseconds()),Je.format(K)}}Q.\u0275fac=function(Je){return new(Je||Q)(e.LFG(R,8),e.LFG(D.t4))},Q.\u0275prov=e.Yz7({token:Q,factory:Q.\u0275fac});class Le{}Le.\u0275fac=function(Je){return new(Je||Le)},Le.\u0275mod=e.oAB({type:Le}),Le.\u0275inj=e.cJS({providers:[{provide:a,useClass:Q}]});class Ye{}Ye.\u0275fac=function(Je){return new(Je||Ye)},Ye.\u0275mod=e.oAB({type:Ye}),Ye.\u0275inj=e.cJS({providers:[{provide:C,useValue:{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"}}}}],imports:[Le]});class $e{isErrorState(Je,me){return!!(Je&&Je.invalid&&(Je.dirty||me&&me.submitted))}}$e.\u0275fac=function(Je){return new(Je||$e)},$e.\u0275prov=e.Yz7({token:$e,factory:$e.\u0275fac});class Ve{isErrorState(Je,me){return!!(Je&&Je.invalid&&(Je.touched||me&&me.submitted))}}Ve.\u0275fac=function(Je){return new(Je||Ve)},Ve.\u0275prov=e.Yz7({token:Ve,factory:Ve.\u0275fac,providedIn:"root"});class be{}function et(Bt,Je,me="mat"){Bt.changes.pipe((0,L.O)(Bt)).subscribe(({length:K})=>{je(Je,`${me}-2-line`,!1),je(Je,`${me}-3-line`,!1),je(Je,`${me}-multi-line`,!1),2===K||3===K?je(Je,`${me}-${K}-line`,!0):K>3&&je(Je,`${me}-multi-line`,!0)})}function je(Bt,Je,me){Bt.nativeElement.classList.toggle(Je,me)}be.\u0275fac=function(Je){return new(Je||be)},be.\u0275dir=e.lG2({type:be,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]});class ye{}ye.\u0275fac=function(Je){return new(Je||ye)},ye.\u0275mod=e.oAB({type:ye}),ye.\u0275inj=e.cJS({imports:[he,he]});class Te{constructor(Je,me,K,J=!1){this._renderer=Je,this.element=me,this.config=K,this._animationForciblyDisabledThroughCss=J,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const He={enterDuration:225,exitDuration:150},we=(0,D.i$)({passive:!0}),de=["mousedown","touchstart"],Me=["mouseup","mouseleave","touchend","touchcancel"];class ie{constructor(Je,me,K,J){this._target=Je,this._ngZone=me,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,J.isBrowser&&(this._containerElement=(0,d.fI)(K))}fadeInRipple(Je,me,K={}){const J=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),Ce={...He,...K.animation};K.centered&&(Je=J.left+J.width/2,me=J.top+J.height/2);const We=K.radius||function G(Bt,Je,me){const K=Math.max(Math.abs(Bt-me.left),Math.abs(Bt-me.right)),J=Math.max(Math.abs(Je-me.top),Math.abs(Je-me.bottom));return Math.sqrt(K*K+J*J)}(Je,me,J),Mt=Je-J.left,Tt=me-J.top,Nt=Ce.enterDuration,at=document.createElement("div");at.classList.add("mat-ripple-element"),at.style.left=Mt-We+"px",at.style.top=Tt-We+"px",at.style.height=2*We+"px",at.style.width=2*We+"px",null!=K.color&&(at.style.backgroundColor=K.color),at.style.transitionDuration=`${Nt}ms`,this._containerElement.appendChild(at);const Ke=window.getComputedStyle(at),vt=Ke.transitionProperty,ri=Ke.transitionDuration,Pt="none"===vt||"0s"===ri||"0s, 0s"===ri||0===J.width&&0===J.height,Lt=new Te(this,at,K,Pt);at.style.transform="scale3d(1, 1, 1)",Lt.state=0,K.persistent||(this._mostRecentTransientRipple=Lt);let Kt=null;return!Pt&&(Nt||Ce.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Ae=()=>this._finishRippleTransition(Lt),fe=()=>this._destroyRipple(Lt);at.addEventListener("transitionend",Ae),at.addEventListener("transitioncancel",fe),Kt={onTransitionEnd:Ae,onTransitionCancel:fe}}),this._activeRipples.set(Lt,Kt),(Pt||!Nt)&&this._finishRippleTransition(Lt),Lt}fadeOutRipple(Je){if(2===Je.state||3===Je.state)return;const me=Je.element,K={...He,...Je.config.animation};me.style.transitionDuration=`${K.exitDuration}ms`,me.style.opacity="0",Je.state=2,(Je._animationForciblyDisabledThroughCss||!K.exitDuration)&&this._finishRippleTransition(Je)}fadeOutAll(){this._getActiveRipples().forEach(Je=>Je.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(Je=>{Je.config.persistent||Je.fadeOut()})}setupTriggerEvents(Je){const me=(0,d.fI)(Je);!me||me===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=me,this._registerEvents(de))}handleEvent(Je){"mousedown"===Je.type?this._onMousedown(Je):"touchstart"===Je.type?this._onTouchStart(Je):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(Me),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(Je){0===Je.state?this._startFadeOutTransition(Je):2===Je.state&&this._destroyRipple(Je)}_startFadeOutTransition(Je){const me=Je===this._mostRecentTransientRipple,{persistent:K}=Je.config;Je.state=1,!K&&(!me||!this._isPointerDown)&&Je.fadeOut()}_destroyRipple(Je){const me=this._activeRipples.get(Je)??null;this._activeRipples.delete(Je),this._activeRipples.size||(this._containerRect=null),Je===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),Je.state=3,null!==me&&(Je.element.removeEventListener("transitionend",me.onTransitionEnd),Je.element.removeEventListener("transitioncancel",me.onTransitionCancel)),Je.element.remove()}_onMousedown(Je){const me=(0,t.X6)(Je),K=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!me&&!K&&(this._isPointerDown=!0,this.fadeInRipple(Je.clientX,Je.clientY,this._target.rippleConfig))}_onTouchStart(Je){if(!this._target.rippleDisabled&&!(0,t.yG)(Je)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const me=Je.changedTouches;for(let K=0;K<me.length;K++)this.fadeInRipple(me[K].clientX,me[K].clientY,this._target.rippleConfig)}}_onPointerUp(){!this._isPointerDown||(this._isPointerDown=!1,this._getActiveRipples().forEach(Je=>{const me=1===Je.state||Je.config.terminateOnPointerUp&&0===Je.state;!Je.config.persistent&&me&&Je.fadeOut()}))}_registerEvents(Je){this._ngZone.runOutsideAngular(()=>{Je.forEach(me=>{this._triggerElement.addEventListener(me,this,we)})})}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){this._triggerElement&&(de.forEach(Je=>{this._triggerElement.removeEventListener(Je,this,we)}),this._pointerUpEventsRegistered&&Me.forEach(Je=>{this._triggerElement.removeEventListener(Je,this,we)}))}}const $=new e.OlP("mat-ripple-global-options");class ze{constructor(Je,me,K,J,Ce){this._elementRef=Je,this._animationMode=Ce,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=J||{},this._rippleRenderer=new ie(this,me,Je,K)}get disabled(){return this._disabled}set disabled(Je){Je&&this.fadeOutAllNonPersistent(),this._disabled=Je,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(Je){this._trigger=Je,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(Je,me=0,K){return"number"==typeof Je?this._rippleRenderer.fadeInRipple(Je,me,{...this.rippleConfig,...K}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...Je})}}ze.\u0275fac=function(Je){return new(Je||ze)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(D.t4),e.Y36($,8),e.Y36(e.QbO,8))},ze.\u0275dir=e.lG2({type:ze,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(Je,me){2&Je&&e.ekj("mat-ripple-unbounded",me.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"]});class Ue{}Ue.\u0275fac=function(Je){return new(Je||Ue)},Ue.\u0275mod=e.oAB({type:Ue}),Ue.\u0275inj=e.cJS({imports:[he,he]});class oe{constructor(Je){this._animationMode=Je,this.state="unchecked",this.disabled=!1}}oe.\u0275fac=function(Je){return new(Je||oe)(e.Y36(e.QbO,8))},oe.\u0275cmp=e.Xpm({type:oe,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(Je,me){2&Je&&e.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===me.state)("mat-pseudo-checkbox-checked","checked"===me.state)("mat-pseudo-checkbox-disabled",me.disabled)("_mat-animation-noopable","NoopAnimations"===me._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(Je,me){},styles:['.mat-pseudo-checkbox{border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}.mat-pseudo-checkbox-checked::after{top:2.7px;width:10px;height:4px}'],encapsulation:2,changeDetection:0});class bt{}bt.\u0275fac=function(Je){return new(Je||bt)},bt.\u0275mod=e.oAB({type:bt}),bt.\u0275inj=e.cJS({imports:[he]});const Be=new e.OlP("MAT_OPTION_PARENT_COMPONENT"),nt=i(class{});let $t=0;class gt extends nt{constructor(Je){super(),this._labelId="mat-optgroup-label-"+$t++,this._inert=Je?.inertGroups??!1}}gt.\u0275fac=function(Je){return new(Je||gt)(e.Y36(Be,8))},gt.\u0275dir=e.lG2({type:gt,inputs:{label:"label"},features:[e.qOj]});const rt=new e.OlP("MatOptgroup");class Re extends gt{}Re.\u0275fac=function(){let Bt;return function(me){return(Bt||(Bt=e.n5z(Re)))(me||Re)}}(),Re.\u0275cmp=e.Xpm({type:Re,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-mdc-optgroup"],hostVars:3,hostBindings:function(Je,me){2&Je&&e.uIk("role",me._inert?null:"group")("aria-disabled",me._inert?null:me.disabled.toString())("aria-labelledby",me._inert?null:me._labelId)},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[e._Bn([{provide:rt,useExisting:Re}]),e.qOj],ngContentSelectors:["*","mat-option, ng-container"],decls:5,vars:4,consts:[["aria-hidden","true",1,"mat-mdc-optgroup-label",3,"id"],[1,"mdc-list-item__primary-text"]],template:function(Je,me){1&Je&&(e.F$t(k),e.TgZ(0,"span",0)(1,"span",1),e._uU(2),e.Hsn(3),e.qZA()(),e.Hsn(4,1)),2&Je&&(e.ekj("mdc-list-item--disabled",me.disabled),e.Q6J("id",me._labelId),e.xp6(2),e.hij("",me.label," "))},styles:[".mat-mdc-optgroup-label{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;min-height:48px}.mat-mdc-optgroup-label:focus{outline:none}[dir=rtl] .mat-mdc-optgroup-label,.mat-mdc-optgroup-label[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-optgroup-label.mdc-list-item--disabled{opacity:.38}.mat-mdc-optgroup-label .mdc-list-item__primary-text{white-space:normal}"],encapsulation:2,changeDetection:0});let ot=0;class St{constructor(Je,me=!1){this.source=Je,this.isUserInput=me}}class gi{constructor(Je,me,K,J){this._element=Je,this._changeDetectorRef=me,this._parent=K,this.group=J,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+ot++,this.onSelectionChange=new e.vpe,this._stateChanges=new p.x}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(Je){this._disabled=(0,d.Ig)(Je)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(Je,me){const K=this._getHostElement();"function"==typeof K.focus&&K.focus(me)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(Je){(Je.keyCode===M.K5||Je.keyCode===M.L_)&&!(0,M.Vb)(Je)&&(this._selectViaInteraction(),Je.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const Je=this.viewValue;Je!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=Je)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(Je=!1){this.onSelectionChange.emit(new St(this,Je))}}gi.\u0275fac=function(Je){e.$Z()},gi.\u0275dir=e.lG2({type:gi,viewQuery:function(Je,me){if(1&Je&&e.Gf(z,7),2&Je){let K;e.iGM(K=e.CRH())&&(me._text=K.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}});class oi extends gi{constructor(Je,me,K,J){super(Je,me,K,J)}}function ei(Bt,Je,me){if(me.length){let K=Je.toArray(),J=me.toArray(),Ce=0;for(let We=0;We<Bt+1;We++)K[We].group&&K[We].group===J[Ce]&&Ce++;return Ce}return 0}function Zi(Bt,Je,me,K){return Bt<me?Bt:Bt+Je>me+K?Math.max(0,Bt-K+Je):me}oi.\u0275fac=function(Je){return new(Je||oi)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(Be,8),e.Y36(rt,8))},oi.\u0275cmp=e.Xpm({type:oi,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mat-mdc-focus-indicator","mdc-list-item"],hostVars:12,hostBindings:function(Je,me){1&Je&&e.NdJ("click",function(){return me._selectViaInteraction()})("keydown",function(J){return me._handleKeydown(J)}),2&Je&&(e.Ikx("id",me.id),e.uIk("tabindex",me._getTabIndex())("aria-selected",me._getAriaSelected())("aria-disabled",me.disabled.toString()),e.ekj("mdc-list-item--selected",me.selected)("mat-mdc-option-multiple",me.multiple)("mat-mdc-option-active",me.active)("mdc-list-item--disabled",me.disabled))},exportAs:["matOption"],features:[e.qOj],ngContentSelectors:["mat-icon","*"],decls:7,vars:4,consts:[["class","mat-mdc-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-mdc-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-mdc-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(Je,me){1&Je&&(e.F$t(Z),e.YNc(0,I,1,2,"mat-pseudo-checkbox",0),e.Hsn(1),e.TgZ(2,"span",1,2),e.Hsn(4,1),e.qZA(),e.YNc(5,V,2,1,"span",3),e._UZ(6,"div",4)),2&Je&&(e.Q6J("ngIf",me.multiple),e.xp6(5),e.Q6J("ngIf",me.group&&me.group._inert),e.xp6(1),e.Q6J("matRippleTrigger",me._getHostElement())("matRippleDisabled",me.disabled||me.disableRipple))},dependencies:[ze,l.O5,oe],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{opacity:.38;cursor:default}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox{margin-right:0;margin-left:16px}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active::before{content:""}'],encapsulation:2,changeDetection:0});class si{}si.\u0275fac=function(Je){return new(Je||si)},si.\u0275mod=e.oAB({type:si}),si.\u0275inj=e.cJS({imports:[Ue,l.ez,he,bt]})},2298:(Ge,X,f)=>{"use strict";f.d(X,{FA:()=>Gi,Mq:()=>Nt,hl:()=>Lt,nW:()=>Ae});var e=f(4218),t=f(5895),_=f(7520),S=f(4666),l=f(2560),D=f(4522),d=f(1494),P=f(207),p=f(253),L=f(7714),M=f(6646),k=f(745),E=f(8456),z=f(2867),I=f(9295),V=f(4874),Z=f(116),q=f(8971),te=f(9107),ne=f(4851),le=f(2508),re=f(5074),_e=f(1267);function ae(Qt,xe){if(1&Qt&&(l.TgZ(0,"tr",3)(1,"td",4),l._uU(2),l.qZA()()),2&Qt){const ke=l.oxw();l.xp6(1),l.Udp("padding-top",ke._cellPadding)("padding-bottom",ke._cellPadding),l.uIk("colspan",ke.numCols),l.xp6(1),l.hij(" ",ke.label," ")}}function ve(Qt,xe){if(1&Qt&&(l.TgZ(0,"td",4),l._uU(1),l.qZA()),2&Qt){const ke=l.oxw(2);l.Udp("padding-top",ke._cellPadding)("padding-bottom",ke._cellPadding),l.uIk("colspan",ke._firstRowOffset),l.xp6(1),l.hij(" ",ke._firstRowOffset>=ke.labelMinRequiredCells?ke.label:""," ")}}function T(Qt,xe){if(1&Qt){const ke=l.EpF();l.TgZ(0,"td",8)(1,"button",9),l.NdJ("click",function(Rt){const ai=l.CHM(ke).$implicit,ci=l.oxw(2);return l.KtG(ci._cellClicked(ai,Rt))})("focus",function(Rt){const ai=l.CHM(ke).$implicit,ci=l.oxw(2);return l.KtG(ci._emitActiveDateChange(ai,Rt))}),l.TgZ(2,"div",10),l._uU(3),l.qZA(),l._UZ(4,"div",11),l.qZA()()}if(2&Qt){const ke=xe.$implicit,ft=xe.index,Rt=l.oxw().index,di=l.oxw();l.Udp("width",di._cellWidth)("padding-top",di._cellPadding)("padding-bottom",di._cellPadding),l.uIk("data-mat-row",Rt)("data-mat-col",ft),l.xp6(1),l.ekj("mat-calendar-body-disabled",!ke.enabled)("mat-calendar-body-active",di._isActiveCell(Rt,ft))("mat-calendar-body-range-start",di._isRangeStart(ke.compareValue))("mat-calendar-body-range-end",di._isRangeEnd(ke.compareValue))("mat-calendar-body-in-range",di._isInRange(ke.compareValue))("mat-calendar-body-comparison-bridge-start",di._isComparisonBridgeStart(ke.compareValue,Rt,ft))("mat-calendar-body-comparison-bridge-end",di._isComparisonBridgeEnd(ke.compareValue,Rt,ft))("mat-calendar-body-comparison-start",di._isComparisonStart(ke.compareValue))("mat-calendar-body-comparison-end",di._isComparisonEnd(ke.compareValue))("mat-calendar-body-in-comparison-range",di._isInComparisonRange(ke.compareValue))("mat-calendar-body-preview-start",di._isPreviewStart(ke.compareValue))("mat-calendar-body-preview-end",di._isPreviewEnd(ke.compareValue))("mat-calendar-body-in-preview",di._isInPreview(ke.compareValue)),l.Q6J("ngClass",ke.cssClasses)("tabindex",di._isActiveCell(Rt,ft)?0:-1),l.uIk("aria-label",ke.ariaLabel)("aria-disabled",!ke.enabled||null)("aria-pressed",di._isSelected(ke.compareValue))("aria-current",di.todayValue===ke.compareValue?"date":null)("aria-describedby",di._getDescribedby(ke.compareValue)),l.xp6(1),l.ekj("mat-calendar-body-selected",di._isSelected(ke.compareValue))("mat-calendar-body-comparison-identical",di._isComparisonIdentical(ke.compareValue))("mat-calendar-body-today",di.todayValue===ke.compareValue),l.xp6(1),l.hij(" ",ke.displayValue," ")}}function i(Qt,xe){if(1&Qt&&(l.TgZ(0,"tr",5),l.YNc(1,ve,2,6,"td",6),l.YNc(2,T,5,48,"td",7),l.qZA()),2&Qt){const ke=xe.$implicit,ft=xe.index,Rt=l.oxw();l.xp6(1),l.Q6J("ngIf",0===ft&&Rt._firstRowOffset),l.xp6(1),l.Q6J("ngForOf",ke)}}function o(Qt,xe){if(1&Qt&&(l.TgZ(0,"th",5)(1,"span",6),l._uU(2),l.qZA(),l.TgZ(3,"span",7),l._uU(4),l.qZA()()),2&Qt){const ke=xe.$implicit;l.xp6(2),l.Oqu(ke.long),l.xp6(2),l.Oqu(ke.narrow)}}const m=["*"];function h(Qt,xe){}function y(Qt,xe){if(1&Qt){const ke=l.EpF();l.TgZ(0,"mat-month-view",5),l.NdJ("activeDateChange",function(Rt){l.CHM(ke);const di=l.oxw();return l.KtG(di.activeDate=Rt)})("_userSelection",function(Rt){l.CHM(ke);const di=l.oxw();return l.KtG(di._dateSelected(Rt))}),l.qZA()}if(2&Qt){const ke=l.oxw();l.Q6J("activeDate",ke.activeDate)("selected",ke.selected)("dateFilter",ke.dateFilter)("maxDate",ke.maxDate)("minDate",ke.minDate)("dateClass",ke.dateClass)("comparisonStart",ke.comparisonStart)("comparisonEnd",ke.comparisonEnd)("startDateAccessibleName",ke.startDateAccessibleName)("endDateAccessibleName",ke.endDateAccessibleName)}}function A(Qt,xe){if(1&Qt){const ke=l.EpF();l.TgZ(0,"mat-year-view",6),l.NdJ("activeDateChange",function(Rt){l.CHM(ke);const di=l.oxw();return l.KtG(di.activeDate=Rt)})("monthSelected",function(Rt){l.CHM(ke);const di=l.oxw();return l.KtG(di._monthSelectedInYearView(Rt))})("selectedChange",function(Rt){l.CHM(ke);const di=l.oxw();return l.KtG(di._goToDateInView(Rt,"month"))}),l.qZA()}if(2&Qt){const ke=l.oxw();l.Q6J("activeDate",ke.activeDate)("selected",ke.selected)("dateFilter",ke.dateFilter)("maxDate",ke.maxDate)("minDate",ke.minDate)("dateClass",ke.dateClass)}}function R(Qt,xe){if(1&Qt){const ke=l.EpF();l.TgZ(0,"mat-multi-year-view",7),l.NdJ("activeDateChange",function(Rt){l.CHM(ke);const di=l.oxw();return l.KtG(di.activeDate=Rt)})("yearSelected",function(Rt){l.CHM(ke);const di=l.oxw();return l.KtG(di._yearSelectedInMultiYearView(Rt))})("selectedChange",function(Rt){l.CHM(ke);const di=l.oxw();return l.KtG(di._goToDateInView(Rt,"year"))}),l.qZA()}if(2&Qt){const ke=l.oxw();l.Q6J("activeDate",ke.activeDate)("selected",ke.selected)("dateFilter",ke.dateFilter)("maxDate",ke.maxDate)("minDate",ke.minDate)("dateClass",ke.dateClass)}}function v(Qt,xe){}const a=["button"];function C(Qt,xe){1&Qt&&(l.O4$(),l.TgZ(0,"svg",3),l._UZ(1,"path",4),l.qZA())}const U=[[["","matDatepickerToggleIcon",""]]],Q=[[["input","matStartDate",""]],[["input","matEndDate",""]]];function Le(Qt,xe){1&Qt&&(l.TgZ(0,"div",0),l.Hsn(1),l.qZA())}class $e{constructor(){this.changes=new p.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(xe,ke){return`${xe} \u2013 ${ke}`}formatYearRangeLabel(xe,ke){return`${xe} to ${ke}`}}$e.\u0275fac=function(xe){return new(xe||$e)},$e.\u0275prov=l.Yz7({token:$e,factory:$e.\u0275fac,providedIn:"root"});class Ve{constructor(xe,ke,ft,Rt,di={},ai=xe,ci){this.value=xe,this.displayValue=ke,this.ariaLabel=ft,this.enabled=Rt,this.cssClasses=di,this.compareValue=ai,this.rawValue=ci}}let be=1;class et{constructor(xe,ke){this._elementRef=xe,this._ngZone=ke,this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new l.vpe,this.previewChange=new l.vpe,this.activeDateChange=new l.vpe,this._enterHandler=ft=>{if(this._skipNextFocus&&"focus"===ft.type)this._skipNextFocus=!1;else if(ft.target&&this.isRange){const Rt=this._getCellFromElement(ft.target);Rt&&this._ngZone.run(()=>this.previewChange.emit({value:Rt.enabled?Rt:null,event:ft}))}},this._leaveHandler=ft=>{null!==this.previewEnd&&this.isRange&&ft.target&&this._getCellFromElement(ft.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:ft}))},this._id="mat-calendar-body-"+be++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,ke.runOutsideAngular(()=>{const ft=xe.nativeElement;ft.addEventListener("mouseenter",this._enterHandler,!0),ft.addEventListener("focus",this._enterHandler,!0),ft.addEventListener("mouseleave",this._leaveHandler,!0),ft.addEventListener("blur",this._leaveHandler,!0)})}ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}_cellClicked(xe,ke){xe.enabled&&this.selectedValueChange.emit({value:xe.value,event:ke})}_emitActiveDateChange(xe,ke){xe.enabled&&this.activeDateChange.emit({value:xe.value,event:ke})}_isSelected(xe){return this.startValue===xe||this.endValue===xe}ngOnChanges(xe){const ke=xe.numCols,{rows:ft,numCols:Rt}=this;(xe.rows||ke)&&(this._firstRowOffset=ft&&ft.length&&ft[0].length?Rt-ft[0].length:0),(xe.cellAspectRatio||ke||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/Rt+"%"),(ke||!this._cellWidth)&&(this._cellWidth=100/Rt+"%")}ngOnDestroy(){const xe=this._elementRef.nativeElement;xe.removeEventListener("mouseenter",this._enterHandler,!0),xe.removeEventListener("focus",this._enterHandler,!0),xe.removeEventListener("mouseleave",this._leaveHandler,!0),xe.removeEventListener("blur",this._leaveHandler,!0)}_isActiveCell(xe,ke){let ft=xe*this.numCols+ke;return xe&&(ft-=this._firstRowOffset),ft==this.activeCell}_focusActiveCell(xe=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,I.q)(1)).subscribe(()=>{setTimeout(()=>{const ke=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");ke&&(xe||(this._skipNextFocus=!0),ke.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(xe){return ye(xe,this.startValue,this.endValue)}_isRangeEnd(xe){return Te(xe,this.startValue,this.endValue)}_isInRange(xe){return He(xe,this.startValue,this.endValue,this.isRange)}_isComparisonStart(xe){return ye(xe,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(xe,ke,ft){if(!this._isComparisonStart(xe)||this._isRangeStart(xe)||!this._isInRange(xe))return!1;let Rt=this.rows[ke][ft-1];if(!Rt){const di=this.rows[ke-1];Rt=di&&di[di.length-1]}return Rt&&!this._isRangeEnd(Rt.compareValue)}_isComparisonBridgeEnd(xe,ke,ft){if(!this._isComparisonEnd(xe)||this._isRangeEnd(xe)||!this._isInRange(xe))return!1;let Rt=this.rows[ke][ft+1];if(!Rt){const di=this.rows[ke+1];Rt=di&&di[0]}return Rt&&!this._isRangeStart(Rt.compareValue)}_isComparisonEnd(xe){return Te(xe,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(xe){return He(xe,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(xe){return this.comparisonStart===this.comparisonEnd&&xe===this.comparisonStart}_isPreviewStart(xe){return ye(xe,this.previewStart,this.previewEnd)}_isPreviewEnd(xe){return Te(xe,this.previewStart,this.previewEnd)}_isInPreview(xe){return He(xe,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(xe){return this.isRange?this.startValue===xe&&this.endValue===xe?`${this._startDateLabelId} ${this._endDateLabelId}`:this.startValue===xe?this._startDateLabelId:this.endValue===xe?this._endDateLabelId:null:null}_getCellFromElement(xe){let ke;if(je(xe)?ke=xe:je(xe.parentNode)&&(ke=xe.parentNode),ke){const ft=ke.getAttribute("data-mat-row"),Rt=ke.getAttribute("data-mat-col");if(ft&&Rt)return this.rows[parseInt(ft)][parseInt(Rt)]}return null}}function je(Qt){return"TD"===Qt.nodeName}function ye(Qt,xe,ke){return null!==ke&&xe!==ke&&Qt<ke&&Qt===xe}function Te(Qt,xe,ke){return null!==xe&&xe!==ke&&Qt>=xe&&Qt===ke}function He(Qt,xe,ke,ft){return ft&&null!==xe&&null!==ke&&xe!==ke&&Qt>=xe&&Qt<=ke}et.\u0275fac=function(xe){return new(xe||et)(l.Y36(l.SBq),l.Y36(l.R0b))},et.\u0275cmp=l.Xpm({type:et,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange"},exportAs:["matCalendarBody"],features:[l.TTD],attrs:["mat-calendar-body",""],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(xe,ke){1&xe&&(l.YNc(0,ae,3,6,"tr",0),l.YNc(1,i,3,2,"tr",1),l.TgZ(2,"label",2),l._uU(3),l.qZA(),l.TgZ(4,"label",2),l._uU(5),l.qZA()),2&xe&&(l.Q6J("ngIf",ke._firstRowOffset<ke.labelMinRequiredCells),l.xp6(1),l.Q6J("ngForOf",ke.rows),l.xp6(1),l.Q6J("id",ke._startDateLabelId),l.xp6(1),l.hij(" ",ke.startDateAccessibleName,"\n"),l.xp6(1),l.Q6J("id",ke._endDateLabelId),l.xp6(1),l.hij(" ",ke.endDateAccessibleName,"\n"))},dependencies:[S.mk,S.sg,S.O5],styles:['.mat-calendar-body{min-width:224px}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.7142857143%;padding-right:4.7142857143%}.mat-calendar-body-hidden-label{display:none}.mat-calendar-body-cell-container{position:relative;height:0;line-height:0}.mat-calendar-body-cell{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);position:absolute;top:0;left:0;width:100%;height:100%;background:none;text-align:center;outline:none;font-family:inherit;margin:0}.mat-calendar-body-cell::-moz-focus-inner{border:0}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:"";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;height:90%;width:100%}.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-start::after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,.mat-calendar-body-comparison-start::after,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,[dir=rtl] .mat-calendar-body-comparison-start::after,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,.mat-calendar-body-comparison-end::after,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,[dir=rtl] .mat-calendar-body-comparison-end::after,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after{width:90%}.mat-calendar-body-in-preview .mat-calendar-body-cell-preview{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:0;border-right:dashed 1px}.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:0;border-left:dashed 1px}.mat-calendar-body-disabled{cursor:default}.cdk-high-contrast-active .mat-calendar-body-disabled{opacity:.5}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}[dir=rtl] .mat-calendar-body-label{text-align:right}'],encapsulation:2,changeDetection:0});class Ee{constructor(xe,ke){this.start=xe,this.end=ke}}class we{constructor(xe,ke){this.selection=xe,this._adapter=ke,this._selectionChanged=new p.x,this.selectionChanged=this._selectionChanged,this.selection=xe}updateSelection(xe,ke){const ft=this.selection;this.selection=xe,this._selectionChanged.next({selection:xe,source:ke,oldValue:ft})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(xe){return this._adapter.isDateInstance(xe)&&this._adapter.isValid(xe)}}we.\u0275fac=function(xe){l.$Z()},we.\u0275prov=l.Yz7({token:we,factory:we.\u0275fac});class de extends we{constructor(xe){super(null,xe)}add(xe){super.updateSelection(xe,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const xe=new de(this._adapter);return xe.updateSelection(this.selection,this),xe}}de.\u0275fac=function(xe){return new(xe||de)(l.LFG(P._A))},de.\u0275prov=l.Yz7({token:de,factory:de.\u0275fac});class Me extends we{constructor(xe){super(new Ee(null,null),xe)}add(xe){let{start:ke,end:ft}=this.selection;null==ke?ke=xe:null==ft?ft=xe:(ke=xe,ft=null),super.updateSelection(new Ee(ke,ft),this)}isValid(){const{start:xe,end:ke}=this.selection;return null==xe&&null==ke||(null!=xe&&null!=ke?this._isValidDateInstance(xe)&&this._isValidDateInstance(ke)&&this._adapter.compareDate(xe,ke)<=0:(null==xe||this._isValidDateInstance(xe))&&(null==ke||this._isValidDateInstance(ke)))}isComplete(){return null!=this.selection.start&&null!=this.selection.end}clone(){const xe=new Me(this._adapter);return xe.updateSelection(this.selection,this),xe}}Me.\u0275fac=function(xe){return new(xe||Me)(l.LFG(P._A))},Me.\u0275prov=l.Yz7({token:Me,factory:Me.\u0275fac});const G={provide:we,deps:[[new l.FiY,new l.tp0,we],P._A],useFactory:function ie(Qt,xe){return Qt||new de(xe)}};const ze={provide:we,deps:[[new l.FiY,new l.tp0,we],P._A],useFactory:function $(Qt,xe){return Qt||new Me(xe)}},Ue=new l.OlP("MAT_DATE_RANGE_SELECTION_STRATEGY");class oe{constructor(xe){this._dateAdapter=xe}selectionFinished(xe,ke){let{start:ft,end:Rt}=ke;return null==ft?ft=xe:null==Rt&&xe&&this._dateAdapter.compareDate(xe,ft)>=0?Rt=xe:(ft=xe,Rt=null),new Ee(ft,Rt)}createPreview(xe,ke){let ft=null,Rt=null;return ke.start&&!ke.end&&xe&&(ft=ke.start,Rt=xe),new Ee(ft,Rt)}}oe.\u0275fac=function(xe){return new(xe||oe)(l.LFG(P._A))},oe.\u0275prov=l.Yz7({token:oe,factory:oe.\u0275fac});const Be={provide:Ue,deps:[[new l.FiY,new l.tp0,Ue],P._A],useFactory:function bt(Qt,xe){return Qt||new oe(xe)}};class $t{constructor(xe,ke,ft,Rt,di){this._changeDetectorRef=xe,this._dateFormats=ke,this._dateAdapter=ft,this._dir=Rt,this._rangeStrategy=di,this._rerenderSubscription=L.w0.EMPTY,this.selectedChange=new l.vpe,this._userSelection=new l.vpe,this.activeDateChange=new l.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(xe){const ke=this._activeDate,ft=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(xe))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(ft,this.minDate,this.maxDate),this._hasSameMonthAndYear(ke,this._activeDate)||this._init()}get selected(){return this._selected}set selected(xe){this._selected=xe instanceof Ee?xe:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(xe)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(xe){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(xe))}get maxDate(){return this._maxDate}set maxDate(xe){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(xe))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,V.O)(null)).subscribe(()=>this._init())}ngOnChanges(xe){const ke=xe.comparisonStart||xe.comparisonEnd;ke&&!ke.firstChange&&this._setRanges(this.selected)}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(xe){const ke=xe.value,ft=this._getDateFromDayOfMonth(ke);let Rt,di;this._selected instanceof Ee?(Rt=this._getDateInCurrentMonth(this._selected.start),di=this._getDateInCurrentMonth(this._selected.end)):Rt=di=this._getDateInCurrentMonth(this._selected),(Rt!==ke||di!==ke)&&this.selectedChange.emit(ft),this._userSelection.emit({value:ft,event:xe.event}),this._previewStart=this._previewEnd=null,this._changeDetectorRef.markForCheck()}_updateActiveDate(xe){const ke=xe.value,ft=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(ke),this._dateAdapter.compareDate(ft,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(xe){const ke=this._activeDate,ft=this._isRtl();switch(xe.keyCode){case E.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,ft?1:-1);break;case E.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,ft?-1:1);break;case E.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case E.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case E.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case E.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case E.Ku:this.activeDate=xe.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case E.VM:this.activeDate=xe.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case E.K5:case E.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&xe.preventDefault());case E.hY:return void(null!=this._previewEnd&&!(0,E.Vb)(xe)&&(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:xe}),xe.preventDefault(),xe.stopPropagation()));default:return}this._dateAdapter.compareDate(ke,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),xe.preventDefault()}_handleCalendarBodyKeyup(xe){(xe.keyCode===E.L_||xe.keyCode===E.K5)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:xe}),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 xe=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(xe)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(xe){this._matCalendarBody._focusActiveCell(xe)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:xe,value:ke}){if(this._rangeStrategy){const ft=ke?ke.rawValue:null,Rt=this._rangeStrategy.createPreview(ft,this.selected,xe);this._previewStart=this._getCellCompareValue(Rt.start),this._previewEnd=this._getCellCompareValue(Rt.end),this._changeDetectorRef.detectChanges()}}_getDateFromDayOfMonth(xe){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),xe)}_initWeekdays(){const xe=this._dateAdapter.getFirstDayOfWeek(),ke=this._dateAdapter.getDayOfWeekNames("narrow");let Rt=this._dateAdapter.getDayOfWeekNames("long").map((di,ai)=>({long:di,narrow:ke[ai]}));this._weekdays=Rt.slice(xe).concat(Rt.slice(0,xe))}_createWeekCells(){const xe=this._dateAdapter.getNumDaysInMonth(this.activeDate),ke=this._dateAdapter.getDateNames();this._weeks=[[]];for(let ft=0,Rt=this._firstWeekOffset;ft<xe;ft++,Rt++){7==Rt&&(this._weeks.push([]),Rt=0);const di=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),ft+1),ai=this._shouldEnableDate(di),ci=this._dateAdapter.format(di,this._dateFormats.display.dateA11yLabel),ii=this.dateClass?this.dateClass(di,"month"):void 0;this._weeks[this._weeks.length-1].push(new Ve(ft+1,ke[ft],ci,ai,ii,this._getCellCompareValue(di),di))}}_shouldEnableDate(xe){return!!xe&&(!this.minDate||this._dateAdapter.compareDate(xe,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(xe,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(xe))}_getDateInCurrentMonth(xe){return xe&&this._hasSameMonthAndYear(xe,this.activeDate)?this._dateAdapter.getDate(xe):null}_hasSameMonthAndYear(xe,ke){return!(!xe||!ke||this._dateAdapter.getMonth(xe)!=this._dateAdapter.getMonth(ke)||this._dateAdapter.getYear(xe)!=this._dateAdapter.getYear(ke))}_getCellCompareValue(xe){if(xe){const ke=this._dateAdapter.getYear(xe),ft=this._dateAdapter.getMonth(xe),Rt=this._dateAdapter.getDate(xe);return new Date(ke,ft,Rt).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(xe){xe instanceof Ee?(this._rangeStart=this._getCellCompareValue(xe.start),this._rangeEnd=this._getCellCompareValue(xe.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(xe),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(xe){return!this.dateFilter||this.dateFilter(xe)}}$t.\u0275fac=function(xe){return new(xe||$t)(l.Y36(l.sBO),l.Y36(P.sG,8),l.Y36(P._A,8),l.Y36(z.Is,8),l.Y36(Ue,8))},$t.\u0275cmp=l.Xpm({type:$t,selectors:[["mat-month-view"]],viewQuery:function(xe,ke){if(1&xe&&l.Gf(et,5),2&xe){let ft;l.iGM(ft=l.CRH())&&(ke._matCalendarBody=ft.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[l.TTD],decls:7,vars:15,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName","selectedValueChange","activeDateChange","previewChange","keyup","keydown"],["scope","col"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(xe,ke){1&xe&&(l.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),l.YNc(3,o,5,2,"th",2),l.qZA(),l.TgZ(4,"tr"),l._UZ(5,"th",3),l.qZA()(),l.TgZ(6,"tbody",4),l.NdJ("selectedValueChange",function(Rt){return ke._dateSelected(Rt)})("activeDateChange",function(Rt){return ke._updateActiveDate(Rt)})("previewChange",function(Rt){return ke._previewChanged(Rt)})("keyup",function(Rt){return ke._handleCalendarBodyKeyup(Rt)})("keydown",function(Rt){return ke._handleCalendarBodyKeydown(Rt)}),l.qZA()()),2&xe&&(l.xp6(3),l.Q6J("ngForOf",ke._weekdays),l.xp6(3),l.Q6J("label",ke._monthLabel)("rows",ke._weeks)("todayValue",ke._todayDate)("startValue",ke._rangeStart)("endValue",ke._rangeEnd)("comparisonStart",ke._comparisonRangeStart)("comparisonEnd",ke._comparisonRangeEnd)("previewStart",ke._previewStart)("previewEnd",ke._previewEnd)("isRange",ke._isRange)("labelMinRequiredCells",3)("activeCell",ke._dateAdapter.getDate(ke.activeDate)-1)("startDateAccessibleName",ke.startDateAccessibleName)("endDateAccessibleName",ke.endDateAccessibleName))},dependencies:[S.sg,et],encapsulation:2,changeDetection:0});class Re{constructor(xe,ke,ft){this._changeDetectorRef=xe,this._dateAdapter=ke,this._dir=ft,this._rerenderSubscription=L.w0.EMPTY,this.selectedChange=new l.vpe,this.yearSelected=new l.vpe,this.activeDateChange=new l.vpe,this._dateAdapter,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(xe){let ke=this._activeDate;const ft=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(xe))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(ft,this.minDate,this.maxDate),ot(this._dateAdapter,ke,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(xe){this._selected=xe instanceof Ee?xe:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(xe)),this._setSelectedYear(xe)}get minDate(){return this._minDate}set minDate(xe){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(xe))}get maxDate(){return this._maxDate}set maxDate(xe){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(xe))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,V.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const ke=this._dateAdapter.getYear(this._activeDate)-St(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let ft=0,Rt=[];ft<24;ft++)Rt.push(ke+ft),4==Rt.length&&(this._years.push(Rt.map(di=>this._createCellForYear(di))),Rt=[]);this._changeDetectorRef.markForCheck()}_yearSelected(xe){const ke=xe.value,ft=this._dateAdapter.createDate(ke,0,1),Rt=this._getDateFromYear(ke);this.yearSelected.emit(ft),this.selectedChange.emit(Rt)}_updateActiveDate(xe){const ke=xe.value,ft=this._activeDate;this.activeDate=this._getDateFromYear(ke),this._dateAdapter.compareDate(ft,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(xe){const ke=this._activeDate,ft=this._isRtl();switch(xe.keyCode){case E.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,ft?1:-1);break;case E.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,ft?-1:1);break;case E.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case E.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case E.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-St(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case E.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-St(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case E.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,xe.altKey?-240:-24);break;case E.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,xe.altKey?240:24);break;case E.K5:case E.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(ke,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),xe.preventDefault()}_handleCalendarBodyKeyup(xe){(xe.keyCode===E.L_||xe.keyCode===E.K5)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:xe}),this._selectionKeyPressed=!1)}_getActiveCell(){return St(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(xe){const ke=this._dateAdapter.getMonth(this.activeDate),ft=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(xe,ke,1));return this._dateAdapter.createDate(xe,ke,Math.min(this._dateAdapter.getDate(this.activeDate),ft))}_createCellForYear(xe){const ke=this._dateAdapter.createDate(xe,0,1),ft=this._dateAdapter.getYearName(ke),Rt=this.dateClass?this.dateClass(ke,"multi-year"):void 0;return new Ve(xe,ft,ft,this._shouldEnableYear(xe),Rt)}_shouldEnableYear(xe){if(null==xe||this.maxDate&&xe>this._dateAdapter.getYear(this.maxDate)||this.minDate&&xe<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(let ft=this._dateAdapter.createDate(xe,0,1);this._dateAdapter.getYear(ft)==xe;ft=this._dateAdapter.addCalendarDays(ft,1))if(this.dateFilter(ft))return!0;return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedYear(xe){if(this._selectedYear=null,xe instanceof Ee){const ke=xe.start||xe.end;ke&&(this._selectedYear=this._dateAdapter.getYear(ke))}else xe&&(this._selectedYear=this._dateAdapter.getYear(xe))}}function ot(Qt,xe,ke,ft,Rt){const di=Qt.getYear(xe),ai=Qt.getYear(ke),ci=gi(Qt,ft,Rt);return Math.floor((di-ci)/24)===Math.floor((ai-ci)/24)}function St(Qt,xe,ke,ft){return function oi(Qt,xe){return(Qt%xe+xe)%xe}(Qt.getYear(xe)-gi(Qt,ke,ft),24)}function gi(Qt,xe,ke){let ft=0;return ke?ft=Qt.getYear(ke)-24+1:xe&&(ft=Qt.getYear(xe)),ft}Re.\u0275fac=function(xe){return new(xe||Re)(l.Y36(l.sBO),l.Y36(P._A,8),l.Y36(z.Is,8))},Re.\u0275cmp=l.Xpm({type:Re,selectors:[["mat-multi-year-view"]],viewQuery:function(xe,ke){if(1&xe&&l.Gf(et,5),2&xe){let ft;l.iGM(ft=l.CRH())&&(ke._matCalendarBody=ft.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(xe,ke){1&xe&&(l.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),l._UZ(3,"th",2),l.qZA()(),l.TgZ(4,"tbody",3),l.NdJ("selectedValueChange",function(Rt){return ke._yearSelected(Rt)})("activeDateChange",function(Rt){return ke._updateActiveDate(Rt)})("keyup",function(Rt){return ke._handleCalendarBodyKeyup(Rt)})("keydown",function(Rt){return ke._handleCalendarBodyKeydown(Rt)}),l.qZA()()),2&xe&&(l.xp6(4),l.Q6J("rows",ke._years)("todayValue",ke._todayYear)("startValue",ke._selectedYear)("endValue",ke._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",ke._getActiveCell()))},dependencies:[et],encapsulation:2,changeDetection:0});class ei{constructor(xe,ke,ft,Rt){this._changeDetectorRef=xe,this._dateFormats=ke,this._dateAdapter=ft,this._dir=Rt,this._rerenderSubscription=L.w0.EMPTY,this.selectedChange=new l.vpe,this.monthSelected=new l.vpe,this.activeDateChange=new l.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(xe){let ke=this._activeDate;const ft=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(xe))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(ft,this.minDate,this.maxDate),this._dateAdapter.getYear(ke)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(xe){this._selected=xe instanceof Ee?xe:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(xe)),this._setSelectedMonth(xe)}get minDate(){return this._minDate}set minDate(xe){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(xe))}get maxDate(){return this._maxDate}set maxDate(xe){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(xe))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,V.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(xe){const ke=xe.value,ft=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),ke,1);this.monthSelected.emit(ft);const Rt=this._getDateFromMonth(ke);this.selectedChange.emit(Rt)}_updateActiveDate(xe){const ke=xe.value,ft=this._activeDate;this.activeDate=this._getDateFromMonth(ke),this._dateAdapter.compareDate(ft,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(xe){const ke=this._activeDate,ft=this._isRtl();switch(xe.keyCode){case E.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,ft?1:-1);break;case E.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,ft?-1:1);break;case E.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case E.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case E.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case E.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case E.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,xe.altKey?-10:-1);break;case E.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,xe.altKey?10:1);break;case E.K5:case E.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(ke,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),xe.preventDefault()}_handleCalendarBodyKeyup(xe){(xe.keyCode===E.L_||xe.keyCode===E.K5)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:xe}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let xe=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(ke=>ke.map(ft=>this._createCellForMonth(ft,xe[ft]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(xe){return xe&&this._dateAdapter.getYear(xe)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(xe):null}_getDateFromMonth(xe){const ke=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),xe,1),ft=this._dateAdapter.getNumDaysInMonth(ke);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),xe,Math.min(this._dateAdapter.getDate(this.activeDate),ft))}_createCellForMonth(xe,ke){const ft=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),xe,1),Rt=this._dateAdapter.format(ft,this._dateFormats.display.monthYearA11yLabel),di=this.dateClass?this.dateClass(ft,"year"):void 0;return new Ve(xe,ke.toLocaleUpperCase(),Rt,this._shouldEnableMonth(xe),di)}_shouldEnableMonth(xe){const ke=this._dateAdapter.getYear(this.activeDate);if(null==xe||this._isYearAndMonthAfterMaxDate(ke,xe)||this._isYearAndMonthBeforeMinDate(ke,xe))return!1;if(!this.dateFilter)return!0;for(let Rt=this._dateAdapter.createDate(ke,xe,1);this._dateAdapter.getMonth(Rt)==xe;Rt=this._dateAdapter.addCalendarDays(Rt,1))if(this.dateFilter(Rt))return!0;return!1}_isYearAndMonthAfterMaxDate(xe,ke){if(this.maxDate){const ft=this._dateAdapter.getYear(this.maxDate),Rt=this._dateAdapter.getMonth(this.maxDate);return xe>ft||xe===ft&&ke>Rt}return!1}_isYearAndMonthBeforeMinDate(xe,ke){if(this.minDate){const ft=this._dateAdapter.getYear(this.minDate),Rt=this._dateAdapter.getMonth(this.minDate);return xe<ft||xe===ft&&ke<Rt}return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedMonth(xe){this._selectedMonth=xe instanceof Ee?this._getMonthInCurrentYear(xe.start)||this._getMonthInCurrentYear(xe.end):this._getMonthInCurrentYear(xe)}}ei.\u0275fac=function(xe){return new(xe||ei)(l.Y36(l.sBO),l.Y36(P.sG,8),l.Y36(P._A,8),l.Y36(z.Is,8))},ei.\u0275cmp=l.Xpm({type:ei,selectors:[["mat-year-view"]],viewQuery:function(xe,ke){if(1&xe&&l.Gf(et,5),2&xe){let ft;l.iGM(ft=l.CRH())&&(ke._matCalendarBody=ft.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(xe,ke){1&xe&&(l.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),l._UZ(3,"th",2),l.qZA()(),l.TgZ(4,"tbody",3),l.NdJ("selectedValueChange",function(Rt){return ke._monthSelected(Rt)})("activeDateChange",function(Rt){return ke._updateActiveDate(Rt)})("keyup",function(Rt){return ke._handleCalendarBodyKeyup(Rt)})("keydown",function(Rt){return ke._handleCalendarBodyKeydown(Rt)}),l.qZA()()),2&xe&&(l.xp6(4),l.Q6J("label",ke._yearLabel)("rows",ke._months)("todayValue",ke._todayMonth)("startValue",ke._selectedMonth)("endValue",ke._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",ke._dateAdapter.getMonth(ke.activeDate)))},dependencies:[et],encapsulation:2,changeDetection:0});let Zi=1;class si{constructor(xe,ke,ft,Rt,di){this._intl=xe,this.calendar=ke,this._dateAdapter=ft,this._dateFormats=Rt,this._id="mat-calendar-header-"+Zi++,this._periodButtonLabelId=`${this._id}-period-label`,this.calendar.stateChanges.subscribe(()=>di.markForCheck())}get periodButtonText(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRange(...this._formatMinAndMaxYearLabels())}get periodButtonDescription(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRangeLabel(...this._formatMinAndMaxYearLabels())}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:24)}previousEnabled(){return!this.calendar.minDate||(!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate))}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(xe,ke){return"month"==this.calendar.currentView?this._dateAdapter.getYear(xe)==this._dateAdapter.getYear(ke)&&this._dateAdapter.getMonth(xe)==this._dateAdapter.getMonth(ke):"year"==this.calendar.currentView?this._dateAdapter.getYear(xe)==this._dateAdapter.getYear(ke):ot(this._dateAdapter,xe,ke,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){const ke=this._dateAdapter.getYear(this.calendar.activeDate)-St(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),ft=ke+24-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(ke,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(ft,0,1))]}}si.\u0275fac=function(xe){return new(xe||si)(l.Y36($e),l.Y36((0,l.Gpc)(()=>Bt)),l.Y36(P._A,8),l.Y36(P.sG,8),l.Y36(l.sBO))},si.\u0275cmp=l.Xpm({type:si,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(xe,ke){1&xe&&(l.F$t(),l.TgZ(0,"div",0)(1,"div",1)(2,"button",2),l.NdJ("click",function(){return ke.currentPeriodClicked()}),l.TgZ(3,"span",3),l._uU(4),l.qZA(),l.O4$(),l.TgZ(5,"svg",4),l._UZ(6,"polygon",5),l.qZA()(),l.kcU(),l._UZ(7,"div",6),l.Hsn(8),l.TgZ(9,"button",7),l.NdJ("click",function(){return ke.previousClicked()}),l.qZA(),l.TgZ(10,"button",8),l.NdJ("click",function(){return ke.nextClicked()}),l.qZA()()(),l.TgZ(11,"label",9),l._uU(12),l.qZA()),2&xe&&(l.xp6(2),l.uIk("aria-label",ke.periodButtonLabel)("aria-describedby",ke._periodButtonLabelId),l.xp6(2),l.Oqu(ke.periodButtonText),l.xp6(1),l.ekj("mat-calendar-invert","month"!==ke.calendar.currentView),l.xp6(4),l.Q6J("disabled",!ke.previousEnabled()),l.uIk("aria-label",ke.prevButtonLabel),l.xp6(1),l.Q6J("disabled",!ke.nextEnabled()),l.uIk("aria-label",ke.nextButtonLabel),l.xp6(1),l.Q6J("id",ke._periodButtonLabelId),l.xp6(1),l.Oqu(ke.periodButtonDescription))},dependencies:[D.lW,D.RK],encapsulation:2,changeDetection:0});class Bt{constructor(xe,ke,ft,Rt){this._dateAdapter=ke,this._dateFormats=ft,this._changeDetectorRef=Rt,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new l.vpe,this.yearSelected=new l.vpe,this.monthSelected=new l.vpe,this.viewChanged=new l.vpe(!0),this._userSelection=new l.vpe,this.stateChanges=new p.x,this._intlChanges=xe.changes.subscribe(()=>{Rt.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(xe){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(xe))}get selected(){return this._selected}set selected(xe){this._selected=xe instanceof Ee?xe:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(xe))}get minDate(){return this._minDate}set minDate(xe){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(xe))}get maxDate(){return this._maxDate}set maxDate(xe){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(xe))}get activeDate(){return this._clampedActiveDate}set activeDate(xe){this._clampedActiveDate=this._dateAdapter.clampDate(xe,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(xe){const ke=this._currentView!==xe?xe:null;this._currentView=xe,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),ke&&this.viewChanged.emit(ke)}ngAfterContentInit(){this._calendarHeaderPortal=new _.C5(this.headerComponent||si),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(xe){const ke=xe.minDate&&!this._dateAdapter.sameDate(xe.minDate.previousValue,xe.minDate.currentValue)?xe.minDate:void 0,ft=xe.maxDate&&!this._dateAdapter.sameDate(xe.maxDate.previousValue,xe.maxDate.currentValue)?xe.maxDate:void 0,Rt=ke||ft||xe.dateFilter;if(Rt&&!Rt.firstChange){const di=this._getCurrentViewComponent();di&&(this._changeDetectorRef.detectChanges(),di._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(xe){const ke=xe.value;(this.selected instanceof Ee||ke&&!this._dateAdapter.sameDate(ke,this.selected))&&this.selectedChange.emit(ke),this._userSelection.emit(xe)}_yearSelectedInMultiYearView(xe){this.yearSelected.emit(xe)}_monthSelectedInYearView(xe){this.monthSelected.emit(xe)}_goToDateInView(xe,ke){this.activeDate=xe,this.currentView=ke}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}Bt.\u0275fac=function(xe){return new(xe||Bt)(l.Y36($e),l.Y36(P._A,8),l.Y36(P.sG,8),l.Y36(l.sBO))},Bt.\u0275cmp=l.Xpm({type:Bt,selectors:[["mat-calendar"]],viewQuery:function(xe,ke){if(1&xe&&(l.Gf($t,5),l.Gf(ei,5),l.Gf(Re,5)),2&xe){let ft;l.iGM(ft=l.CRH())&&(ke.monthView=ft.first),l.iGM(ft=l.CRH())&&(ke.yearView=ft.first),l.iGM(ft=l.CRH())&&(ke.multiYearView=ft.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[l._Bn([G]),l.TTD],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDateChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDateChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(xe,ke){1&xe&&(l.YNc(0,h,0,0,"ng-template",0),l.TgZ(1,"div",1),l.YNc(2,y,1,10,"mat-month-view",2),l.YNc(3,A,1,6,"mat-year-view",3),l.YNc(4,R,1,6,"mat-multi-year-view",4),l.qZA()),2&xe&&(l.Q6J("cdkPortalOutlet",ke._calendarHeaderPortal),l.xp6(1),l.Q6J("ngSwitch",ke.currentView),l.xp6(1),l.Q6J("ngSwitchCase","month"),l.xp6(1),l.Q6J("ngSwitchCase","year"),l.xp6(1),l.Q6J("ngSwitchCase","multi-year"))},dependencies:[S.RF,S.n9,e.kH,_.Pl,$t,ei,Re],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}.mat-calendar-hidden-label{display:none}'],encapsulation:2,changeDetection:0});const Je={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 me=0;const K=new l.OlP("mat-datepicker-scroll-strategy");const Ce={provide:K,deps:[t.aV],useFactory:function J(Qt){return()=>Qt.scrollStrategies.reposition()}},We=(0,P.pj)(class{constructor(Qt){this._elementRef=Qt}});class Mt extends We{constructor(xe,ke,ft,Rt,di,ai){super(xe),this._changeDetectorRef=ke,this._globalModel=ft,this._dateAdapter=Rt,this._rangeSelectionStrategy=di,this._subscriptions=new L.w0,this._animationDone=new p.x,this._isAnimating=!1,this._actionsPortal=null,this._closeButtonText=ai.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(xe){const ke=this._model.selection,ft=xe.value,Rt=ke instanceof Ee;if(Rt&&this._rangeSelectionStrategy){const di=this._rangeSelectionStrategy.selectionFinished(ft,ke,xe.event);this._model.updateSelection(di,this)}else ft&&(Rt||!this._dateAdapter.sameDate(ft,ke))&&this._model.add(ft);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_handleAnimationEvent(xe){this._isAnimating="start"===xe.phaseName,this._isAnimating||this._animationDone.next()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(xe,ke){this._model=xe?this._globalModel.clone():this._globalModel,this._actionsPortal=xe,ke&&this._changeDetectorRef.detectChanges()}}Mt.\u0275fac=function(xe){return new(xe||Mt)(l.Y36(l.SBq),l.Y36(l.sBO),l.Y36(we),l.Y36(P._A),l.Y36(Ue,8),l.Y36($e))},Mt.\u0275cmp=l.Xpm({type:Mt,selectors:[["mat-datepicker-content"]],viewQuery:function(xe,ke){if(1&xe&&l.Gf(Bt,5),2&xe){let ft;l.iGM(ft=l.CRH())&&(ke._calendar=ft.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(xe,ke){1&xe&&l.WFA("@transformPanel.start",function(Rt){return ke._handleAnimationEvent(Rt)})("@transformPanel.done",function(Rt){return ke._handleAnimationEvent(Rt)}),2&xe&&(l.d8E("@transformPanel",ke._animationState),l.ekj("mat-datepicker-content-touch",ke.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[l.qOj],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","yearSelected","monthSelected","viewChanged","_userSelection"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(xe,ke){if(1&xe&&(l.TgZ(0,"div",0)(1,"mat-calendar",1),l.NdJ("yearSelected",function(Rt){return ke.datepicker._selectYear(Rt)})("monthSelected",function(Rt){return ke.datepicker._selectMonth(Rt)})("viewChanged",function(Rt){return ke.datepicker._viewChanged(Rt)})("_userSelection",function(Rt){return ke._handleUserSelection(Rt)}),l.qZA(),l.YNc(2,v,0,0,"ng-template",2),l.TgZ(3,"button",3),l.NdJ("focus",function(){return ke._closeButtonFocused=!0})("blur",function(){return ke._closeButtonFocused=!1})("click",function(){return ke.datepicker.close()}),l._uU(4),l.qZA()()),2&xe){let ft;l.ekj("mat-datepicker-content-container-with-custom-header",ke.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",ke._actionsPortal),l.uIk("aria-modal",!0)("aria-labelledby",null!==(ft=ke._dialogLabelId)&&void 0!==ft?ft:void 0),l.xp6(1),l.Q6J("id",ke.datepicker.id)("ngClass",ke.datepicker.panelClass)("startAt",ke.datepicker.startAt)("startView",ke.datepicker.startView)("minDate",ke.datepicker._getMinDate())("maxDate",ke.datepicker._getMaxDate())("dateFilter",ke.datepicker._getDateFilter())("headerComponent",ke.datepicker.calendarHeaderComponent)("selected",ke._getSelected())("dateClass",ke.datepicker.dateClass)("comparisonStart",ke.comparisonStart)("comparisonEnd",ke.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",ke.startDateAccessibleName)("endDateAccessibleName",ke.endDateAccessibleName),l.xp6(1),l.Q6J("cdkPortalOutlet",ke._actionsPortal),l.xp6(1),l.ekj("cdk-visually-hidden",!ke._closeButtonFocused),l.Q6J("color",ke.color||"primary"),l.xp6(1),l.Oqu(ke._closeButtonText)}},dependencies:[S.mk,D.lW,e.mK,_.Pl,Bt],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}"],encapsulation:2,data:{animation:[Je.transformPanel,Je.fadeInCalendar]},changeDetection:0});class Tt{constructor(xe,ke,ft,Rt,di,ai,ci){this._overlay=xe,this._ngZone=ke,this._viewContainerRef=ft,this._dateAdapter=di,this._dir=ai,this._model=ci,this._inputStateChanges=L.w0.EMPTY,this._document=(0,l.f3M)(S.K0),this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new l.vpe,this.monthSelected=new l.vpe,this.viewChanged=new l.vpe(!0),this.openedStream=new l.vpe,this.closedStream=new l.vpe,this._opened=!1,this.id="mat-datepicker-"+me++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new p.x,this._dateAdapter,this._scrollStrategy=Rt}get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(xe){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(xe))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(xe){this._color=xe}get touchUi(){return this._touchUi}set touchUi(xe){this._touchUi=(0,q.Ig)(xe)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(xe){const ke=(0,q.Ig)(xe);ke!==this._disabled&&(this._disabled=ke,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(xe){this._restoreFocus=(0,q.Ig)(xe)}get panelClass(){return this._panelClass}set panelClass(xe){this._panelClass=(0,q.du)(xe)}get opened(){return this._opened}set opened(xe){(0,q.Ig)(xe)?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}ngOnChanges(xe){const ke=xe.xPosition||xe.yPosition;if(ke&&!ke.firstChange&&this._overlayRef){const ft=this._overlayRef.getConfig().positionStrategy;ft instanceof t._G&&(this._setConnectedPositions(ft),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(xe){this._model.add(xe)}_selectYear(xe){this.yearSelected.emit(xe)}_selectMonth(xe){this.monthSelected.emit(xe)}_viewChanged(xe){this.viewChanged.emit(xe)}registerInput(xe){return this.datepickerInput,this._inputStateChanges.unsubscribe(),this.datepickerInput=xe,this._inputStateChanges=xe.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(xe){this._actionsPortal,this._actionsPortal=xe,this._componentRef?.instance._assignActions(xe,!0)}removeActions(xe){xe===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this.datepickerInput,this._focusedElementBeforeOpen=(0,te.ht)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;const xe=this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,ke=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:ft,location:Rt}=this._componentRef;ft._startExitAnimation(),ft._animationDone.pipe((0,I.q)(1)).subscribe(()=>{const di=this._document.activeElement;xe&&(!di||di===this._document.activeElement||Rt.nativeElement.contains(di))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}xe?setTimeout(ke):ke()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(xe){xe.datepicker=this,xe.color=this.color,xe._dialogLabelId=this.datepickerInput.getOverlayLabelId(),xe._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();const xe=this.touchUi,ke=new _.C5(Mt,this._viewContainerRef),ft=this._overlayRef=this._overlay.create(new t.X_({positionStrategy:xe?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[xe?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:xe?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(xe?"dialog":"popup")}));this._getCloseStream(ft).subscribe(Rt=>{Rt&&Rt.preventDefault(),this.close()}),ft.keydownEvents().subscribe(Rt=>{const di=Rt.keyCode;(di===E.LH||di===E.JH||di===E.oh||di===E.SV||di===E.Ku||di===E.VM)&&Rt.preventDefault()}),this._componentRef=ft.attach(ke),this._forwardContentValues(this._componentRef.instance),xe||this._ngZone.onStable.pipe((0,I.q)(1)).subscribe(()=>ft.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const xe=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(xe)}_setConnectedPositions(xe){const ke="end"===this.xPosition?"end":"start",ft="start"===ke?"end":"start",Rt="above"===this.yPosition?"bottom":"top",di="top"===Rt?"bottom":"top";return xe.withPositions([{originX:ke,originY:di,overlayX:ke,overlayY:Rt},{originX:ke,originY:Rt,overlayX:ke,overlayY:di},{originX:ft,originY:di,overlayX:ft,overlayY:Rt},{originX:ft,originY:Rt,overlayX:ft,overlayY:di}])}_getCloseStream(xe){return(0,M.T)(xe.backdropClick(),xe.detachments(),xe.keydownEvents().pipe((0,Z.h)(ke=>ke.keyCode===E.hY&&!(0,E.Vb)(ke)||this.datepickerInput&&(0,E.Vb)(ke,"altKey")&&ke.keyCode===E.LH)))}}Tt.\u0275fac=function(xe){return new(xe||Tt)(l.Y36(t.aV),l.Y36(l.R0b),l.Y36(l.s_b),l.Y36(K),l.Y36(P._A,8),l.Y36(z.Is,8),l.Y36(we))},Tt.\u0275dir=l.lG2({type:Tt,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:"touchUi",disabled:"disabled",xPosition:"xPosition",yPosition:"yPosition",restoreFocus:"restoreFocus",dateClass:"dateClass",panelClass:"panelClass",opened:"opened"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[l.TTD]});class Nt extends Tt{}Nt.\u0275fac=function(){let Qt;return function(ke){return(Qt||(Qt=l.n5z(Nt)))(ke||Nt)}}(),Nt.\u0275cmp=l.Xpm({type:Nt,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[l._Bn([G,{provide:Tt,useExisting:Nt}]),l.qOj],decls:0,vars:0,template:function(xe,ke){},encapsulation:2,changeDetection:0});class at{constructor(xe,ke){this.target=xe,this.targetElement=ke,this.value=this.target.value}}class Ke{constructor(xe,ke,ft){this._elementRef=xe,this._dateAdapter=ke,this._dateFormats=ft,this.dateChange=new l.vpe,this.dateInput=new l.vpe,this.stateChanges=new p.x,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=L.w0.EMPTY,this._localeSubscription=L.w0.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=Rt=>{const di=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Rt.value));return!di||this._matchesFilter(di)?null:{matDatepickerFilter:!0}},this._minValidator=Rt=>{const di=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Rt.value)),ai=this._getMinDate();return!ai||!di||this._dateAdapter.compareDate(ai,di)<=0?null:{matDatepickerMin:{min:ai,actual:di}}},this._maxValidator=Rt=>{const di=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Rt.value)),ai=this._getMaxDate();return!ai||!di||this._dateAdapter.compareDate(ai,di)>=0?null:{matDatepickerMax:{max:ai,actual:di}}},this._lastValueValid=!1,this._localeSubscription=ke.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(xe){this._assignValueProgrammatically(xe)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(xe){const ke=(0,q.Ig)(xe),ft=this._elementRef.nativeElement;this._disabled!==ke&&(this._disabled=ke,this.stateChanges.next(void 0)),ke&&this._isInitialized&&ft.blur&&ft.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(xe){this._model=xe,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(ke=>{if(this._shouldHandleChangeEvent(ke)){const ft=this._getValueFromModel(ke.selection);this._lastValueValid=this._isValidValue(ft),this._cvaOnChange(ft),this._onTouched(),this._formatValue(ft),this.dateInput.emit(new at(this,this._elementRef.nativeElement)),this.dateChange.emit(new at(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(xe){vt(xe,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(xe){this._validatorOnChange=xe}validate(xe){return this._validator?this._validator(xe):null}writeValue(xe){this._assignValueProgrammatically(xe)}registerOnChange(xe){this._cvaOnChange=xe}registerOnTouched(xe){this._onTouched=xe}setDisabledState(xe){this.disabled=xe}_onKeydown(xe){xe.altKey&&xe.keyCode===E.JH&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),xe.preventDefault())}_onInput(xe){const ke=this._lastValueValid;let ft=this._dateAdapter.parse(xe,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(ft),ft=this._dateAdapter.getValidDateOrNull(ft);const Rt=!this._dateAdapter.sameDate(ft,this.value);!ft||Rt?this._cvaOnChange(ft):(xe&&!this.value&&this._cvaOnChange(ft),ke!==this._lastValueValid&&this._validatorOnChange()),Rt&&(this._assignValue(ft),this.dateInput.emit(new at(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new at(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(xe){this._elementRef.nativeElement.value=null!=xe?this._dateAdapter.format(xe,this._dateFormats.display.dateInput):""}_assignValue(xe){this._model?(this._assignValueToModel(xe),this._pendingValue=null):this._pendingValue=xe}_isValidValue(xe){return!xe||this._dateAdapter.isValid(xe)}_parentDisabled(){return!1}_assignValueProgrammatically(xe){xe=this._dateAdapter.deserialize(xe),this._lastValueValid=this._isValidValue(xe),xe=this._dateAdapter.getValidDateOrNull(xe),this._assignValue(xe),this._formatValue(xe)}_matchesFilter(xe){const ke=this._getDateFilter();return!ke||ke(xe)}}function vt(Qt,xe){const ke=Object.keys(Qt);for(let ft of ke){const{previousValue:Rt,currentValue:di}=Qt[ft];if(!xe.isDateInstance(Rt)||!xe.isDateInstance(di))return!0;if(!xe.sameDate(Rt,di))return!0}return!1}Ke.\u0275fac=function(xe){return new(xe||Ke)(l.Y36(l.SBq),l.Y36(P._A,8),l.Y36(P.sG,8))},Ke.\u0275dir=l.lG2({type:Ke,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[l.TTD]});const ri={provide:le.JU,useExisting:(0,l.Gpc)(()=>Lt),multi:!0},Pt={provide:le.Cf,useExisting:(0,l.Gpc)(()=>Lt),multi:!0};class Lt extends Ke{constructor(xe,ke,ft,Rt){super(xe,ke,ft),this._formField=Rt,this._closedSubscription=L.w0.EMPTY,this._validator=le.kI.compose(super._getValidators())}set matDatepicker(xe){xe&&(this._datepicker=xe,this._closedSubscription=xe.closedStream.subscribe(()=>this._onTouched()),this._registerModel(xe.registerInput(this)))}get min(){return this._min}set min(xe){const ke=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(xe));this._dateAdapter.sameDate(ke,this._min)||(this._min=ke,this._validatorOnChange())}get max(){return this._max}set max(xe){const ke=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(xe));this._dateAdapter.sameDate(ke,this._max)||(this._max=ke,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(xe){const ke=this._matchesFilter(this.value);this._dateFilter=xe,this._matchesFilter(this.value)!==ke&&this._validatorOnChange()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(xe){return xe}_assignValueToModel(xe){this._model&&this._model.updateSelection(xe,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(xe){return xe.source!==this}}Lt.\u0275fac=function(xe){return new(xe||Lt)(l.Y36(l.SBq),l.Y36(P._A,8),l.Y36(P.sG,8),l.Y36(re.G_,8))},Lt.\u0275dir=l.lG2({type:Lt,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(xe,ke){1&xe&&l.NdJ("input",function(Rt){return ke._onInput(Rt.target.value)})("change",function(){return ke._onChange()})("blur",function(){return ke._onBlur()})("keydown",function(Rt){return ke._onKeydown(Rt)}),2&xe&&(l.Ikx("disabled",ke.disabled),l.uIk("aria-haspopup",ke._datepicker?"dialog":null)("aria-owns",(null==ke._datepicker?null:ke._datepicker.opened)&&ke._datepicker.id||null)("min",ke.min?ke._dateAdapter.toIso8601(ke.min):null)("max",ke.max?ke._dateAdapter.toIso8601(ke.max):null)("data-mat-calendar",ke._datepicker?ke._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[l._Bn([ri,Pt,{provide:_e.Jk,useExisting:Lt}]),l.qOj]});class Kt{}Kt.\u0275fac=function(xe){return new(xe||Kt)},Kt.\u0275dir=l.lG2({type:Kt,selectors:[["","matDatepickerToggleIcon",""]]});class Ae{constructor(xe,ke,ft){this._intl=xe,this._changeDetectorRef=ke,this._stateChanges=L.w0.EMPTY;const Rt=Number(ft);this.tabIndex=Rt||0===Rt?Rt:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(xe){this._disabled=(0,q.Ig)(xe)}ngOnChanges(xe){xe.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(xe){this.datepicker&&!this.disabled&&(this.datepicker.open(),xe.stopPropagation())}_watchStateChanges(){const xe=this.datepicker?this.datepicker.stateChanges:(0,k.of)(),ke=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,k.of)(),ft=this.datepicker?(0,M.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,k.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,M.T)(this._intl.changes,xe,ke,ft).subscribe(()=>this._changeDetectorRef.markForCheck())}}function fe(Qt){return Oi(Qt,!0)}function st(Qt){return Qt.nodeType===Node.ELEMENT_NODE}function Oi(Qt,xe){if(st(Qt)&&xe){const ft=(Qt.getAttribute?.("aria-labelledby")?.split(/\s+/g)||[]).reduce((Rt,di)=>{const ai=document.getElementById(di);return ai&&Rt.push(ai),Rt},[]);if(ft.length)return ft.map(Rt=>Oi(Rt,!1)).join(" ")}if(st(Qt)){const ke=Qt.getAttribute("aria-label")?.trim();if(ke)return ke}if(function _t(Qt){return"INPUT"===Qt.nodeName}(Qt)||function kt(Qt){return"TEXTAREA"===Qt.nodeName}(Qt)){if(Qt.labels?.length)return Array.from(Qt.labels).map(Rt=>Oi(Rt,!1)).join(" ");const ke=Qt.getAttribute("placeholder")?.trim();if(ke)return ke;const ft=Qt.getAttribute("title")?.trim();if(ft)return ft}return(Qt.textContent||"").replace(/\s+/g," ").trim()}Ae.\u0275fac=function(xe){return new(xe||Ae)(l.Y36($e),l.Y36(l.sBO),l.$8M("tabindex"))},Ae.\u0275cmp=l.Xpm({type:Ae,selectors:[["mat-datepicker-toggle"]],contentQueries:function(xe,ke,ft){if(1&xe&&l.Suo(ft,Kt,5),2&xe){let Rt;l.iGM(Rt=l.CRH())&&(ke._customIcon=Rt.first)}},viewQuery:function(xe,ke){if(1&xe&&l.Gf(a,5),2&xe){let ft;l.iGM(ft=l.CRH())&&(ke._button=ft.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(xe,ke){1&xe&&l.NdJ("click",function(Rt){return ke._open(Rt)}),2&xe&&(l.uIk("tabindex",null)("data-mat-calendar",ke.datepicker?ke.datepicker.id:null),l.ekj("mat-datepicker-toggle-active",ke.datepicker&&ke.datepicker.opened)("mat-accent",ke.datepicker&&"accent"===ke.datepicker.color)("mat-warn",ke.datepicker&&"warn"===ke.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[l.TTD],ngContentSelectors:["[matDatepickerToggleIcon]"],decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(xe,ke){1&xe&&(l.F$t(U),l.TgZ(0,"button",0,1),l.YNc(2,C,2,0,"svg",2),l.Hsn(3),l.qZA()),2&xe&&(l.Q6J("disabled",ke.disabled)("disableRipple",ke.disableRipple),l.uIk("aria-haspopup",ke.datepicker?"dialog":null)("aria-label",ke.ariaLabel||ke._intl.openCalendarLabel)("tabindex",ke.disabled?-1:ke.tabIndex),l.xp6(2),l.Q6J("ngIf",!ke._customIcon))},dependencies:[S.O5,D.RK],styles:[".mat-datepicker-toggle{pointer-events:auto}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}"],encapsulation:2,changeDetection:0});const Li=new l.OlP("MAT_DATE_RANGE_INPUT_PARENT");class Ei extends Ke{constructor(xe,ke,ft,Rt,di,ai,ci,ii){super(ke,ci,ii),this._rangeInput=xe,this._elementRef=ke,this._defaultErrorStateMatcher=ft,this._injector=Rt,this._parentForm=di,this._parentFormGroup=ai,this._dir=(0,l.f3M)(z.Is,{optional:!0})}ngOnInit(){const xe=this._injector.get(le.a5,null,{optional:!0,self:!0});xe&&(this.ngControl=xe)}ngDoCheck(){this.ngControl&&this.updateErrorState()}isEmpty(){return 0===this._elementRef.nativeElement.value.length}_getPlaceholder(){return this._elementRef.nativeElement.placeholder}focus(){this._elementRef.nativeElement.focus()}getMirrorValue(){const xe=this._elementRef.nativeElement,ke=xe.value;return ke.length>0?ke:xe.placeholder}_onInput(xe){super._onInput(xe),this._rangeInput._handleChildValueChange()}_openPopup(){this._rangeInput._openDatepicker()}_getMinDate(){return this._rangeInput.min}_getMaxDate(){return this._rangeInput.max}_getDateFilter(){return this._rangeInput.dateFilter}_parentDisabled(){return this._rangeInput._groupDisabled}_shouldHandleChangeEvent({source:xe}){return xe!==this._rangeInput._startInput&&xe!==this._rangeInput._endInput}_assignValueProgrammatically(xe){super._assignValueProgrammatically(xe),(this===this._rangeInput._startInput?this._rangeInput._endInput:this._rangeInput._startInput)?._validatorOnChange()}_getAccessibleName(){return fe(this._elementRef.nativeElement)}}Ei.\u0275fac=function(xe){return new(xe||Ei)(l.Y36(Li),l.Y36(l.SBq),l.Y36(P.rD),l.Y36(l.zs3),l.Y36(le.F,8),l.Y36(le.sg,8),l.Y36(P._A,8),l.Y36(P.sG,8))},Ei.\u0275dir=l.lG2({type:Ei,features:[l.qOj]});const Wi=(0,P.FD)(Ei);class wt extends Wi{constructor(xe,ke,ft,Rt,di,ai,ci,ii){super(xe,ke,ft,Rt,di,ai,ci,ii),this._startValidator=bi=>{const Yi=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(bi.value)),_n=this._model?this._model.selection.end:null;return!Yi||!_n||this._dateAdapter.compareDate(Yi,_n)<=0?null:{matStartDateInvalid:{end:_n,actual:Yi}}},this._validator=le.kI.compose([...super._getValidators(),this._startValidator])}_getValueFromModel(xe){return xe.start}_shouldHandleChangeEvent(xe){return!!super._shouldHandleChangeEvent(xe)&&(xe.oldValue?.start?!xe.selection.start||!!this._dateAdapter.compareDate(xe.oldValue.start,xe.selection.start):!!xe.selection.start)}_assignValueToModel(xe){if(this._model){const ke=new Ee(xe,this._model.selection.end);this._model.updateSelection(ke,this)}}_formatValue(xe){super._formatValue(xe),this._rangeInput._handleChildValueChange()}_onKeydown(xe){const ke=this._rangeInput._endInput,ft=this._elementRef.nativeElement,Rt="rtl"!==this._dir?.value;(xe.keyCode===E.SV&&Rt||xe.keyCode===E.oh&&!Rt)&&ft.selectionStart===ft.value.length&&ft.selectionEnd===ft.value.length?(xe.preventDefault(),ke._elementRef.nativeElement.setSelectionRange(0,0),ke.focus()):super._onKeydown(xe)}}wt.\u0275fac=function(xe){return new(xe||wt)(l.Y36(Li),l.Y36(l.SBq),l.Y36(P.rD),l.Y36(l.zs3),l.Y36(le.F,8),l.Y36(le.sg,8),l.Y36(P._A,8),l.Y36(P.sG,8))},wt.\u0275dir=l.lG2({type:wt,selectors:[["input","matStartDate",""]],hostAttrs:["type","text",1,"mat-start-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(xe,ke){1&xe&&l.NdJ("input",function(Rt){return ke._onInput(Rt.target.value)})("change",function(){return ke._onChange()})("keydown",function(Rt){return ke._onKeydown(Rt)})("blur",function(){return ke._onBlur()}),2&xe&&(l.Ikx("disabled",ke.disabled),l.uIk("aria-haspopup",ke._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==ke._rangeInput.rangePicker?null:ke._rangeInput.rangePicker.opened)&&ke._rangeInput.rangePicker.id||null)("min",ke._getMinDate()?ke._dateAdapter.toIso8601(ke._getMinDate()):null)("max",ke._getMaxDate()?ke._dateAdapter.toIso8601(ke._getMaxDate()):null))},inputs:{errorStateMatcher:"errorStateMatcher"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[l._Bn([{provide:le.JU,useExisting:wt,multi:!0},{provide:le.Cf,useExisting:wt,multi:!0}]),l.qOj]});class qe extends Wi{constructor(xe,ke,ft,Rt,di,ai,ci,ii){super(xe,ke,ft,Rt,di,ai,ci,ii),this._endValidator=bi=>{const Yi=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(bi.value)),_n=this._model?this._model.selection.start:null;return!Yi||!_n||this._dateAdapter.compareDate(Yi,_n)>=0?null:{matEndDateInvalid:{start:_n,actual:Yi}}},this._validator=le.kI.compose([...super._getValidators(),this._endValidator])}_getValueFromModel(xe){return xe.end}_shouldHandleChangeEvent(xe){return!!super._shouldHandleChangeEvent(xe)&&(xe.oldValue?.end?!xe.selection.end||!!this._dateAdapter.compareDate(xe.oldValue.end,xe.selection.end):!!xe.selection.end)}_assignValueToModel(xe){if(this._model){const ke=new Ee(this._model.selection.start,xe);this._model.updateSelection(ke,this)}}_onKeydown(xe){const ke=this._rangeInput._startInput,ft=this._elementRef.nativeElement,Rt="rtl"!==this._dir?.value;if(xe.keyCode!==E.ZH||ft.value)if((xe.keyCode===E.oh&&Rt||xe.keyCode===E.SV&&!Rt)&&0===ft.selectionStart&&0===ft.selectionEnd){xe.preventDefault();const di=ke._elementRef.nativeElement.value.length;ke._elementRef.nativeElement.setSelectionRange(di,di),ke.focus()}else super._onKeydown(xe);else ke.focus()}}qe.\u0275fac=function(xe){return new(xe||qe)(l.Y36(Li),l.Y36(l.SBq),l.Y36(P.rD),l.Y36(l.zs3),l.Y36(le.F,8),l.Y36(le.sg,8),l.Y36(P._A,8),l.Y36(P.sG,8))},qe.\u0275dir=l.lG2({type:qe,selectors:[["input","matEndDate",""]],hostAttrs:["type","text",1,"mat-end-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(xe,ke){1&xe&&l.NdJ("input",function(Rt){return ke._onInput(Rt.target.value)})("change",function(){return ke._onChange()})("keydown",function(Rt){return ke._onKeydown(Rt)})("blur",function(){return ke._onBlur()}),2&xe&&(l.Ikx("disabled",ke.disabled),l.uIk("aria-haspopup",ke._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==ke._rangeInput.rangePicker?null:ke._rangeInput.rangePicker.opened)&&ke._rangeInput.rangePicker.id||null)("min",ke._getMinDate()?ke._dateAdapter.toIso8601(ke._getMinDate()):null)("max",ke._getMaxDate()?ke._dateAdapter.toIso8601(ke._getMaxDate()):null))},inputs:{errorStateMatcher:"errorStateMatcher"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[l._Bn([{provide:le.JU,useExisting:qe,multi:!0},{provide:le.Cf,useExisting:qe,multi:!0}]),l.qOj]});let Ne=0;class Vt{constructor(xe,ke,ft,Rt,di){if(this._changeDetectorRef=xe,this._elementRef=ke,this._dateAdapter=Rt,this._formField=di,this._closedSubscription=L.w0.EMPTY,this.id="mat-date-range-input-"+Ne++,this.focused=!1,this.controlType="mat-date-range-input",this._groupDisabled=!1,this._ariaDescribedBy=null,this.separator="\u2013",this.comparisonStart=null,this.comparisonEnd=null,this.stateChanges=new p.x,di?._elementRef.nativeElement.classList.contains("mat-mdc-form-field")){const ai=ke.nativeElement.classList;ai.add("mat-mdc-input-element"),ai.add("mat-mdc-form-field-input-control")}this.ngControl=ft}get value(){return this._model?this._model.selection:null}get shouldLabelFloat(){return this.focused||!this.empty}get placeholder(){const xe=this._startInput?._getPlaceholder()||"",ke=this._endInput?._getPlaceholder()||"";return xe||ke?`${xe} ${this.separator} ${ke}`:""}get rangePicker(){return this._rangePicker}set rangePicker(xe){xe&&(this._model=xe.registerInput(this),this._rangePicker=xe,this._closedSubscription.unsubscribe(),this._closedSubscription=xe.closedStream.subscribe(()=>{this._startInput?._onTouched(),this._endInput?._onTouched()}),this._registerModel(this._model))}get required(){return!!this._required}set required(xe){this._required=(0,q.Ig)(xe)}get dateFilter(){return this._dateFilter}set dateFilter(xe){const ke=this._startInput,ft=this._endInput,Rt=ke&&ke._matchesFilter(ke.value),di=ft&&ft._matchesFilter(ke.value);this._dateFilter=xe,ke&&ke._matchesFilter(ke.value)!==Rt&&ke._validatorOnChange(),ft&&ft._matchesFilter(ft.value)!==di&&ft._validatorOnChange()}get min(){return this._min}set min(xe){const ke=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(xe));this._dateAdapter.sameDate(ke,this._min)||(this._min=ke,this._revalidate())}get max(){return this._max}set max(xe){const ke=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(xe));this._dateAdapter.sameDate(ke,this._max)||(this._max=ke,this._revalidate())}get disabled(){return this._startInput&&this._endInput?this._startInput.disabled&&this._endInput.disabled:this._groupDisabled}set disabled(xe){const ke=(0,q.Ig)(xe);ke!==this._groupDisabled&&(this._groupDisabled=ke,this.stateChanges.next(void 0))}get errorState(){return!(!this._startInput||!this._endInput)&&(this._startInput.errorState||this._endInput.errorState)}get empty(){const xe=!!this._startInput&&this._startInput.isEmpty(),ke=!!this._endInput&&this._endInput.isEmpty();return xe&&ke}setDescribedByIds(xe){this._ariaDescribedBy=xe.length?xe.join(" "):null}onContainerClick(){!this.focused&&!this.disabled&&(this._model&&this._model.selection.start?this._endInput.focus():this._startInput.focus())}ngAfterContentInit(){this._model&&this._registerModel(this._model),(0,M.T)(this._startInput.stateChanges,this._endInput.stateChanges).subscribe(()=>{this.stateChanges.next(void 0)})}ngOnChanges(xe){vt(xe,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._closedSubscription.unsubscribe(),this.stateChanges.complete()}getStartValue(){return this.value?this.value.start:null}getThemePalette(){return this._formField?this._formField.color:void 0}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():null}_getInputMirrorValue(xe){const ke="start"===xe?this._startInput:this._endInput;return ke?ke.getMirrorValue():""}_shouldHidePlaceholders(){return!!this._startInput&&!this._startInput.isEmpty()}_handleChildValueChange(){this.stateChanges.next(void 0),this._changeDetectorRef.markForCheck()}_openDatepicker(){this._rangePicker&&this._rangePicker.open()}_shouldHideSeparator(){return(!this._formField||this._formField.getLabelId()&&!this._formField._shouldLabelFloat())&&this.empty}_getAriaLabelledby(){const xe=this._formField;return xe&&xe._hasFloatingLabel()?xe._labelId:null}_getStartDateAccessibleName(){return this._startInput._getAccessibleName()}_getEndDateAccessibleName(){return this._endInput._getAccessibleName()}_updateFocus(xe){this.focused=null!==xe,this.stateChanges.next()}_revalidate(){this._startInput&&this._startInput._validatorOnChange(),this._endInput&&this._endInput._validatorOnChange()}_registerModel(xe){this._startInput&&this._startInput._registerModel(xe),this._endInput&&this._endInput._registerModel(xe)}}Vt.\u0275fac=function(xe){return new(xe||Vt)(l.Y36(l.sBO),l.Y36(l.SBq),l.Y36(le.gN,10),l.Y36(P._A,8),l.Y36(re.G_,8))},Vt.\u0275cmp=l.Xpm({type:Vt,selectors:[["mat-date-range-input"]],contentQueries:function(xe,ke,ft){if(1&xe&&(l.Suo(ft,wt,5),l.Suo(ft,qe,5)),2&xe){let Rt;l.iGM(Rt=l.CRH())&&(ke._startInput=Rt.first),l.iGM(Rt=l.CRH())&&(ke._endInput=Rt.first)}},hostAttrs:["role","group",1,"mat-date-range-input"],hostVars:8,hostBindings:function(xe,ke){2&xe&&(l.uIk("id",ke.id)("aria-labelledby",ke._getAriaLabelledby())("aria-describedby",ke._ariaDescribedBy)("data-mat-calendar",ke.rangePicker?ke.rangePicker.id:null),l.ekj("mat-date-range-input-hide-placeholders",ke._shouldHidePlaceholders())("mat-date-range-input-required",ke.required))},inputs:{rangePicker:"rangePicker",required:"required",dateFilter:"dateFilter",min:"min",max:"max",disabled:"disabled",separator:"separator",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},exportAs:["matDateRangeInput"],features:[l._Bn([{provide:re.Eo,useExisting:Vt},{provide:Li,useExisting:Vt}]),l.TTD],ngContentSelectors:["input[matStartDate]","input[matEndDate]"],decls:11,vars:5,consts:[["cdkMonitorSubtreeFocus","",1,"mat-date-range-input-container",3,"cdkFocusChange"],[1,"mat-date-range-input-wrapper"],["aria-hidden","true",1,"mat-date-range-input-mirror"],[1,"mat-date-range-input-separator"],[1,"mat-date-range-input-wrapper","mat-date-range-input-end-wrapper"]],template:function(xe,ke){1&xe&&(l.F$t(Q),l.TgZ(0,"div",0),l.NdJ("cdkFocusChange",function(Rt){return ke._updateFocus(Rt)}),l.TgZ(1,"div",1),l.Hsn(2),l.TgZ(3,"span",2),l._uU(4),l.qZA()(),l.TgZ(5,"span",3),l._uU(6),l.qZA(),l.TgZ(7,"div",4),l.Hsn(8,1),l.TgZ(9,"span",2),l._uU(10),l.qZA()()()),2&xe&&(l.xp6(4),l.Oqu(ke._getInputMirrorValue("start")),l.xp6(1),l.ekj("mat-date-range-input-separator-hidden",ke._shouldHideSeparator()),l.xp6(1),l.Oqu(ke.separator),l.xp6(4),l.Oqu(ke._getInputMirrorValue("end")))},dependencies:[e.kH],styles:[".mat-date-range-input{display:block;width:100%}.mat-date-range-input-container{display:flex;align-items:center}.mat-date-range-input-separator{transition:opacity 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);margin:0 4px}._mat-animation-noopable .mat-date-range-input-separator{transition:none}.mat-date-range-input-separator-hidden{-webkit-user-select:none;user-select:none;opacity:0;transition:none}.mat-date-range-input-wrapper{position:relative;overflow:hidden;max-width:calc(50% - 4px)}.mat-date-range-input-end-wrapper{flex-grow:1}.mat-date-range-input-inner{position:absolute;top:0;left:0;font:inherit;background:rgba(0,0,0,0);color:currentColor;border:none;outline:none;padding:0;margin:0;vertical-align:bottom;text-align:inherit;-webkit-appearance:none;width:100%;height:100%}.mat-date-range-input-inner:-moz-ui-invalid{box-shadow:none}.mat-date-range-input-inner::placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-moz-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-webkit-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner:-ms-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{opacity:0}._mat-animation-noopable .mat-date-range-input-inner::placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner::-moz-placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner::-webkit-input-placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner:-ms-input-placeholder{transition:none}.mat-date-range-input-mirror{-webkit-user-select:none;user-select:none;visibility:hidden;white-space:nowrap;display:inline-block;min-width:2px}.mat-mdc-form-field-type-mat-date-range-input .mat-mdc-form-field-infix{width:200px}"],encapsulation:2,changeDetection:0});class jt extends Tt{_forwardContentValues(xe){super._forwardContentValues(xe);const ke=this.datepickerInput;ke&&(xe.comparisonStart=ke.comparisonStart,xe.comparisonEnd=ke.comparisonEnd,xe.startDateAccessibleName=ke._getStartDateAccessibleName(),xe.endDateAccessibleName=ke._getEndDateAccessibleName())}}jt.\u0275fac=function(){let Qt;return function(ke){return(Qt||(Qt=l.n5z(jt)))(ke||jt)}}(),jt.\u0275cmp=l.Xpm({type:jt,selectors:[["mat-date-range-picker"]],exportAs:["matDateRangePicker"],features:[l._Bn([ze,Be,{provide:Tt,useExisting:jt}]),l.qOj],decls:0,vars:0,template:function(xe,ke){},encapsulation:2,changeDetection:0});class fi{constructor(xe){this._datepicker=xe}_applySelection(){this._datepicker._applyPendingSelection(),this._datepicker.close()}}fi.\u0275fac=function(xe){return new(xe||fi)(l.Y36(Tt))},fi.\u0275dir=l.lG2({type:fi,selectors:[["","matDatepickerApply",""],["","matDateRangePickerApply",""]],hostBindings:function(xe,ke){1&xe&&l.NdJ("click",function(){return ke._applySelection()})}});class Si{constructor(xe){this._datepicker=xe}}Si.\u0275fac=function(xe){return new(xe||Si)(l.Y36(Tt))},Si.\u0275dir=l.lG2({type:Si,selectors:[["","matDatepickerCancel",""],["","matDateRangePickerCancel",""]],hostBindings:function(xe,ke){1&xe&&l.NdJ("click",function(){return ke._datepicker.close()})}});class ki{constructor(xe,ke){this._datepicker=xe,this._viewContainerRef=ke}ngAfterViewInit(){this._portal=new _.UE(this._template,this._viewContainerRef),this._datepicker.registerActions(this._portal)}ngOnDestroy(){this._datepicker.removeActions(this._portal),this._portal&&this._portal.isAttached&&this._portal?.detach()}}ki.\u0275fac=function(xe){return new(xe||ki)(l.Y36(Tt),l.Y36(l.s_b))},ki.\u0275cmp=l.Xpm({type:ki,selectors:[["mat-datepicker-actions"],["mat-date-range-picker-actions"]],viewQuery:function(xe,ke){if(1&xe&&l.Gf(l.Rgc,5),2&xe){let ft;l.iGM(ft=l.CRH())&&(ke._template=ft.first)}},ngContentSelectors:m,decls:1,vars:0,consts:[[1,"mat-datepicker-actions"]],template:function(xe,ke){1&xe&&(l.F$t(),l.YNc(0,Le,2,0,"ng-template"))},styles:[".mat-datepicker-actions{display:flex;justify-content:flex-end;align-items:center;padding:0 8px 8px 8px}.mat-datepicker-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-datepicker-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0});class Gi{}Gi.\u0275fac=function(xe){return new(xe||Gi)},Gi.\u0275mod=l.oAB({type:Gi}),Gi.\u0275inj=l.cJS({providers:[$e,Ce],imports:[S.ez,D.ot,t.U8,e.rt,_.eL,P.BQ,d.ZD]})},4481:(Ge,X,f)=>{"use strict";f.d(X,{WI:()=>$e,Bq:()=>Ve,uw:()=>Ee,ZT:()=>de,Is:()=>ze,so:()=>Le});var e=f(5895),t=f(4666),_=f(2560),S=f(4218),l_CLOSING="mdc-dialog--closing",l_OPEN="mdc-dialog--open",l_OPENING="mdc-dialog--opening",d_DIALOG_ANIMATION_CLOSE_TIME_MS=(["textarea",".mdc-menu .mdc-list-item",".mdc-menu .mdc-deprecated-list-item"].join(", "),75),d_DIALOG_ANIMATION_OPEN_TIME_MS=150,P=f(9107),p=f(7520),L=f(8456),M=f(253),k=f(1954),E=f(745),z=f(2867),I=f(4874);function V(bt,Be){}class Z{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0}}class te extends p.en{constructor(Be,nt,$t,gt,rt,Re,ot,St){super(),this._elementRef=Be,this._focusTrapFactory=nt,this._config=gt,this._interactivityChecker=rt,this._ngZone=Re,this._overlayRef=ot,this._focusMonitor=St,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=gi=>{this._portalOutlet.hasAttached();const oi=this._portalOutlet.attachDomPortal(gi);return this._contentAttached(),oi},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=$t}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(Be){this._portalOutlet.hasAttached();const nt=this._portalOutlet.attachComponentPortal(Be);return this._contentAttached(),nt}attachTemplatePortal(Be){this._portalOutlet.hasAttached();const nt=this._portalOutlet.attachTemplatePortal(Be);return this._contentAttached(),nt}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(Be,nt){this._interactivityChecker.isFocusable(Be)||(Be.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const $t=()=>{Be.removeEventListener("blur",$t),Be.removeEventListener("mousedown",$t),Be.removeAttribute("tabindex")};Be.addEventListener("blur",$t),Be.addEventListener("mousedown",$t)})),Be.focus(nt)}_focusByCssSelector(Be,nt){let $t=this._elementRef.nativeElement.querySelector(Be);$t&&this._forceFocus($t,nt)}_trapFocus(){const Be=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||Be.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(nt=>{nt||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 Be=this._config.restoreFocus;let nt=null;if("string"==typeof Be?nt=this._document.querySelector(Be):"boolean"==typeof Be?nt=Be?this._elementFocusedBeforeDialogWasOpened:null:Be&&(nt=Be),this._config.restoreFocus&&nt&&"function"==typeof nt.focus){const $t=(0,P.ht)(),gt=this._elementRef.nativeElement;(!$t||$t===this._document.body||$t===gt||gt.contains($t))&&(this._focusMonitor?(this._focusMonitor.focusVia(nt,this._closeInteractionType),this._closeInteractionType=null):nt.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const Be=this._elementRef.nativeElement,nt=(0,P.ht)();return Be===nt||Be.contains(nt)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,P.ht)())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}te.\u0275fac=function(Be){return new(Be||te)(_.Y36(_.SBq),_.Y36(S.qV),_.Y36(t.K0,8),_.Y36(Z),_.Y36(S.ic),_.Y36(_.R0b),_.Y36(e.Iu),_.Y36(S.tE))},te.\u0275cmp=_.Xpm({type:te,selectors:[["cdk-dialog-container"]],viewQuery:function(Be,nt){if(1&Be&&_.Gf(p.Pl,7),2&Be){let $t;_.iGM($t=_.CRH())&&(nt._portalOutlet=$t.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(Be,nt){2&Be&&_.uIk("id",nt._config.id||null)("role",nt._config.role)("aria-modal",nt._config.ariaModal)("aria-labelledby",nt._config.ariaLabel?null:nt._ariaLabelledBy)("aria-label",nt._config.ariaLabel)("aria-describedby",nt._config.ariaDescribedBy||null)},features:[_.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(Be,nt){1&Be&&_.YNc(0,V,0,0,"ng-template",0)},dependencies:[p.Pl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2});class ne{constructor(Be,nt){this.overlayRef=Be,this.config=nt,this.closed=new M.x,this.disableClose=nt.disableClose,this.backdropClick=Be.backdropClick(),this.keydownEvents=Be.keydownEvents(),this.outsidePointerEvents=Be.outsidePointerEvents(),this.id=nt.id,this.keydownEvents.subscribe($t=>{$t.keyCode===L.hY&&!this.disableClose&&!(0,L.Vb)($t)&&($t.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})})}close(Be,nt){if(this.containerInstance){const $t=this.closed;this.containerInstance._closeInteractionType=nt?.focusOrigin||"program",this.overlayRef.dispose(),$t.next(Be),$t.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(Be="",nt=""){return this.overlayRef.updateSize({width:Be,height:nt}),this}addPanelClass(Be){return this.overlayRef.addPanelClass(Be),this}removePanelClass(Be){return this.overlayRef.removePanelClass(Be),this}}const le=new _.OlP("DialogScrollStrategy"),re=new _.OlP("DialogData"),_e=new _.OlP("DefaultDialogConfig");const ae={provide:le,deps:[e.aV],useFactory:function he(bt){return()=>bt.scrollStrategies.block()}};let ve=0;class T{constructor(Be,nt,$t,gt,rt,Re){this._overlay=Be,this._injector=nt,this._defaultOptions=$t,this._parentDialog=gt,this._overlayContainer=rt,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new M.x,this._afterOpenedAtThisLevel=new M.x,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,k.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,I.O)(void 0))),this._scrollStrategy=Re}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}open(Be,nt){(nt={...this._defaultOptions||new Z,...nt}).id=nt.id||"cdk-dialog-"+ve++,nt.id&&this.getDialogById(nt.id);const gt=this._getOverlayConfig(nt),rt=this._overlay.create(gt),Re=new ne(rt,nt),ot=this._attachContainer(rt,Re,nt);return Re.containerInstance=ot,this._attachDialogContent(Be,Re,ot,nt),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(Re),Re.closed.subscribe(()=>this._removeOpenDialog(Re,!0)),this.afterOpened.next(Re),Re}closeAll(){i(this.openDialogs,Be=>Be.close())}getDialogById(Be){return this.openDialogs.find(nt=>nt.id===Be)}ngOnDestroy(){i(this._openDialogsAtThisLevel,Be=>{!1===Be.config.closeOnDestroy&&this._removeOpenDialog(Be,!1)}),i(this._openDialogsAtThisLevel,Be=>Be.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(Be){const nt=new e.X_({positionStrategy:Be.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:Be.scrollStrategy||this._scrollStrategy(),panelClass:Be.panelClass,hasBackdrop:Be.hasBackdrop,direction:Be.direction,minWidth:Be.minWidth,minHeight:Be.minHeight,maxWidth:Be.maxWidth,maxHeight:Be.maxHeight,width:Be.width,height:Be.height,disposeOnNavigation:Be.closeOnNavigation});return Be.backdropClass&&(nt.backdropClass=Be.backdropClass),nt}_attachContainer(Be,nt,$t){const gt=$t.injector||$t.viewContainerRef?.injector,rt=[{provide:Z,useValue:$t},{provide:ne,useValue:nt},{provide:e.Iu,useValue:Be}];let Re;$t.container?"function"==typeof $t.container?Re=$t.container:(Re=$t.container.type,rt.push(...$t.container.providers($t))):Re=te;const ot=new p.C5(Re,$t.viewContainerRef,_.zs3.create({parent:gt||this._injector,providers:rt}),$t.componentFactoryResolver);return Be.attach(ot).instance}_attachDialogContent(Be,nt,$t,gt){if(Be instanceof _.Rgc){const rt=this._createInjector(gt,nt,$t,void 0);let Re={$implicit:gt.data,dialogRef:nt};gt.templateContext&&(Re={...Re,..."function"==typeof gt.templateContext?gt.templateContext():gt.templateContext}),$t.attachTemplatePortal(new p.UE(Be,null,Re,rt))}else{const rt=this._createInjector(gt,nt,$t,this._injector),Re=$t.attachComponentPortal(new p.C5(Be,gt.viewContainerRef,rt,gt.componentFactoryResolver));nt.componentInstance=Re.instance}}_createInjector(Be,nt,$t,gt){const rt=Be.injector||Be.viewContainerRef?.injector,Re=[{provide:re,useValue:Be.data},{provide:ne,useValue:nt}];return Be.providers&&("function"==typeof Be.providers?Re.push(...Be.providers(nt,Be,$t)):Re.push(...Be.providers)),Be.direction&&(!rt||!rt.get(z.Is,null,{optional:!0}))&&Re.push({provide:z.Is,useValue:{value:Be.direction,change:(0,E.of)()}}),_.zs3.create({parent:rt||gt,providers:Re})}_removeOpenDialog(Be,nt){const $t=this.openDialogs.indexOf(Be);$t>-1&&(this.openDialogs.splice($t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((gt,rt)=>{gt?rt.setAttribute("aria-hidden",gt):rt.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),nt&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const Be=this._overlayContainer.getContainerElement();if(Be.parentElement){const nt=Be.parentElement.children;for(let $t=nt.length-1;$t>-1;$t--){const gt=nt[$t];gt!==Be&&"SCRIPT"!==gt.nodeName&&"STYLE"!==gt.nodeName&&!gt.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(gt,gt.getAttribute("aria-hidden")),gt.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const Be=this._parentDialog;return Be?Be._getAfterAllClosed():this._afterAllClosedAtThisLevel}}function i(bt,Be){let nt=bt.length;for(;nt--;)Be(bt[nt])}T.\u0275fac=function(Be){return new(Be||T)(_.LFG(e.aV),_.LFG(_.zs3),_.LFG(_e,8),_.LFG(T,12),_.LFG(e.Xj),_.LFG(le))},T.\u0275prov=_.Yz7({token:T,factory:T.\u0275fac});class o{}o.\u0275fac=function(Be){return new(Be||o)},o.\u0275mod=_.oAB({type:o}),o.\u0275inj=_.cJS({providers:[T,ae],imports:[e.U8,p.eL,S.rt,p.eL]});var m=f(8971),h=f(6646),y=f(116),A=f(9295),R=f(207),v=f(4851);function a(bt,Be){}class C{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}}class U extends te{constructor(Be,nt,$t,gt,rt,Re,ot,St){super(Be,nt,$t,gt,rt,Re,ot,St),this._animationStateChanged=new _.vpe}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(Be){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:Be})}}U.\u0275fac=function(Be){return new(Be||U)(_.Y36(_.SBq),_.Y36(S.qV),_.Y36(t.K0,8),_.Y36(C),_.Y36(S.ic),_.Y36(_.R0b),_.Y36(e.Iu),_.Y36(S.tE))},U.\u0275cmp=_.Xpm({type:U,selectors:[["ng-component"]],features:[_.qOj],decls:0,vars:0,template:function(Be,nt){},encapsulation:2});const N="--mat-dialog-transition-duration";function Q(bt){return null==bt?null:"number"==typeof bt?bt:bt.endsWith("ms")?(0,m.su)(bt.substring(0,bt.length-2)):bt.endsWith("s")?1e3*(0,m.su)(bt.substring(0,bt.length-1)):"0"===bt?0:null}class Pe extends U{constructor(Be,nt,$t,gt,rt,Re,ot,St,gi){super(Be,nt,$t,gt,rt,Re,ot,gi),this._animationMode=St,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._openAnimationDuration=this._animationsEnabled?Q(this._config.enterAnimationDuration)??d_DIALOG_ANIMATION_OPEN_TIME_MS:0,this._closeAnimationDuration=this._animationsEnabled?Q(this._config.exitAnimationDuration)??d_DIALOG_ANIMATION_CLOSE_TIME_MS:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._openAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._closeAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._openAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(N,`${this._openAnimationDuration}ms`),this._hostElement.classList.add(l_OPENING),this._hostElement.classList.add(l_OPEN),this._waitForAnimationToComplete(this._openAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(l_OPEN),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._closeAnimationDuration}),this._hostElement.classList.remove(l_OPEN),this._animationsEnabled?(this._hostElement.style.setProperty(N,`${this._openAnimationDuration}ms`),this._hostElement.classList.add(l_CLOSING),this._waitForAnimationToComplete(this._closeAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(l_OPENING),this._hostElement.classList.remove(l_CLOSING)}_waitForAnimationToComplete(Be,nt){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(nt,Be)}}Pe.\u0275fac=function(Be){return new(Be||Pe)(_.Y36(_.SBq),_.Y36(S.qV),_.Y36(t.K0,8),_.Y36(C),_.Y36(S.ic),_.Y36(_.R0b),_.Y36(e.Iu),_.Y36(_.QbO,8),_.Y36(S.tE))},Pe.\u0275cmp=_.Xpm({type:Pe,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(Be,nt){2&Be&&(_.Ikx("id",nt._config.id),_.uIk("aria-modal",nt._config.ariaModal)("role",nt._config.role)("aria-labelledby",nt._config.ariaLabel?null:nt._ariaLabelledBy)("aria-label",nt._config.ariaLabel)("aria-describedby",nt._config.ariaDescribedBy||null),_.ekj("_mat-animation-noopable",!nt._animationsEnabled))},features:[_.qOj],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(Be,nt){1&Be&&(_.TgZ(0,"div",0)(1,"div",1),_.YNc(2,a,0,0,"ng-template",2),_.qZA()())},dependencies:[p.Pl],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{display:block;width:100%;height:100%}.mat-mdc-dialog-container{outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, var(--mdc-shape-medium, 4px))}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title,.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__actions,.mat-mdc-dialog-container.mdc-dialog--scrollable.mdc-dialog-scroll-divider-footer .mdc-dialog__actions{border-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title{border-bottom-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, "Arial");line-height:var(--mdc-dialog-subhead-line-height, 14px);font-size:var(--mdc-dialog-subhead-size, 14px);font-weight:var(--mdc-dialog-subhead-weight, 500);letter-spacing:var(--mdc-dialog-subhead-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, black)}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, "Arial");line-height:var(--mdc-dialog-supporting-text-line-height, 14px);font-size:var(--mdc-dialog-supporting-text-size, 14px);font-weight:var(--mdc-dialog-supporting-text-weight, 500);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, black)}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2});class Le{constructor(Be,nt,$t){this._ref=Be,this._containerInstance=$t,this._afterOpened=new M.x,this._beforeClosed=new M.x,this._state=0,this.disableClose=nt.disableClose,this.id=Be.id,$t._animationStateChanged.pipe((0,y.h)(gt=>"opened"===gt.state),(0,A.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),$t._animationStateChanged.pipe((0,y.h)(gt=>"closed"===gt.state),(0,A.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),Be.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,h.T)(this.backdropClick(),this.keydownEvents().pipe((0,y.h)(gt=>gt.keyCode===L.hY&&!this.disableClose&&!(0,L.Vb)(gt)))).subscribe(gt=>{this.disableClose||(gt.preventDefault(),Ye(this,"keydown"===gt.type?"keyboard":"mouse"))})}close(Be){this._result=Be,this._containerInstance._animationStateChanged.pipe((0,y.h)(nt=>"closing"===nt.state),(0,A.q)(1)).subscribe(nt=>{this._beforeClosed.next(Be),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),nt.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(Be){let nt=this._ref.config.positionStrategy;return Be&&(Be.left||Be.right)?Be.left?nt.left(Be.left):nt.right(Be.right):nt.centerHorizontally(),Be&&(Be.top||Be.bottom)?Be.top?nt.top(Be.top):nt.bottom(Be.bottom):nt.centerVertically(),this._ref.updatePosition(),this}updateSize(Be="",nt=""){return this._ref.updateSize(Be,nt),this}addPanelClass(Be){return this._ref.addPanelClass(Be),this}removePanelClass(Be){return this._ref.removePanelClass(Be),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function Ye(bt,Be,nt){return bt._closeInteractionType=Be,bt.close(nt)}const $e=new _.OlP("MatMdcDialogData"),Ve=new _.OlP("mat-mdc-dialog-default-options"),be=new _.OlP("mat-mdc-dialog-scroll-strategy");const je={provide:be,deps:[e.aV],useFactory:function et(bt){return()=>bt.scrollStrategies.block()}};let Te=0;class He{constructor(Be,nt,$t,gt,rt,Re,ot,St,gi,oi){this._overlay=Be,this._defaultOptions=$t,this._parentDialog=gt,this._dialogRefConstructor=ot,this._dialogContainerType=St,this._dialogDataToken=gi,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new M.x,this._afterOpenedAtThisLevel=new M.x,this._idPrefix="mat-dialog-",this.dialogConfigClass=C,this.afterAllClosed=(0,k.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,I.O)(void 0))),this._scrollStrategy=Re,this._dialog=nt.get(T)}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const Be=this._parentDialog;return Be?Be._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(Be,nt){let $t;(nt={...this._defaultOptions||new C,...nt}).id=nt.id||`${this._idPrefix}${Te++}`,nt.scrollStrategy=nt.scrollStrategy||this._scrollStrategy();const gt=this._dialog.open(Be,{...nt,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:nt},{provide:Z,useValue:nt}]},templateContext:()=>({dialogRef:$t}),providers:(rt,Re,ot)=>($t=new this._dialogRefConstructor(rt,nt,ot),$t.updatePosition(nt?.position),[{provide:this._dialogContainerType,useValue:ot},{provide:this._dialogDataToken,useValue:Re.data},{provide:this._dialogRefConstructor,useValue:$t}])});return $t.componentInstance=gt.componentInstance,this.openDialogs.push($t),this.afterOpened.next($t),$t.afterClosed().subscribe(()=>{const rt=this.openDialogs.indexOf($t);rt>-1&&(this.openDialogs.splice(rt,1),this.openDialogs.length||this._getAfterAllClosed().next())}),$t}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(Be){return this.openDialogs.find(nt=>nt.id===Be)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(Be){let nt=Be.length;for(;nt--;)Be[nt].close()}}He.\u0275fac=function(Be){_.$Z()},He.\u0275prov=_.Yz7({token:He,factory:He.\u0275fac});class Ee extends He{constructor(Be,nt,$t,gt,rt,Re,ot,St){super(Be,nt,gt,Re,ot,rt,Le,Pe,$e,St),this._idPrefix="mat-mdc-dialog-"}}Ee.\u0275fac=function(Be){return new(Be||Ee)(_.LFG(e.aV),_.LFG(_.zs3),_.LFG(t.Ye,8),_.LFG(Ve,8),_.LFG(be),_.LFG(Ee,12),_.LFG(e.Xj),_.LFG(_.QbO,8))},Ee.\u0275prov=_.Yz7({token:Ee,factory:Ee.\u0275fac});let we=0;class de{constructor(Be,nt,$t){this.dialogRef=Be,this._elementRef=nt,this._dialog=$t,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=$(this._elementRef,this._dialog.openDialogs))}ngOnChanges(Be){const nt=Be._matDialogClose||Be._matDialogCloseResult;nt&&(this.dialogResult=nt.currentValue)}_onButtonClick(Be){Ye(this.dialogRef,0===Be.screenX&&0===Be.screenY?"keyboard":"mouse",this.dialogResult)}}de.\u0275fac=function(Be){return new(Be||de)(_.Y36(Le,8),_.Y36(_.SBq),_.Y36(Ee))},de.\u0275dir=_.lG2({type:de,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(Be,nt){1&Be&&_.NdJ("click",function(gt){return nt._onButtonClick(gt)}),2&Be&&_.uIk("aria-label",nt.ariaLabel||null)("type",nt.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[_.TTD]});class Me{constructor(Be,nt,$t){this._dialogRef=Be,this._elementRef=nt,this._dialog=$t,this.id="mat-mdc-dialog-title-"+we++}ngOnInit(){this._dialogRef||(this._dialogRef=$(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const Be=this._dialogRef._containerInstance;Be&&!Be._ariaLabelledBy&&(Be._ariaLabelledBy=this.id)})}}Me.\u0275fac=function(Be){return new(Be||Me)(_.Y36(Le,8),_.Y36(_.SBq),_.Y36(Ee))},Me.\u0275dir=_.lG2({type:Me,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(Be,nt){2&Be&&_.Ikx("id",nt.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]});class ie{}ie.\u0275fac=function(Be){return new(Be||ie)},ie.\u0275dir=_.lG2({type:ie,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"]});class G{constructor(){this.align="start"}}function $(bt,Be){let nt=bt.nativeElement.parentElement;for(;nt&&!nt.classList.contains("mat-mdc-dialog-container");)nt=nt.parentElement;return nt?Be.find($t=>$t.id===nt.id):null}G.\u0275fac=function(Be){return new(Be||G)},G.\u0275dir=_.lG2({type:G,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:4,hostBindings:function(Be,nt){2&Be&&_.ekj("mat-mdc-dialog-actions-align-center","center"===nt.align)("mat-mdc-dialog-actions-align-end","end"===nt.align)},inputs:{align:"align"}});class ze{}ze.\u0275fac=function(Be){return new(Be||ze)},ze.\u0275mod=_.oAB({type:ze}),ze.\u0275inj=_.cJS({providers:[Ee,je],imports:[o,e.U8,p.eL,R.BQ,R.BQ]});const Ue={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}};(0,v.X$)("dialogContainer",[(0,v.SB)("void, exit",(0,v.oB)({opacity:0,transform:"scale(0.7)"})),(0,v.SB)("enter",(0,v.oB)({transform:"none"})),(0,v.eR)("* => enter",(0,v.ru)([(0,v.jt)("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",(0,v.oB)({transform:"none",opacity:1})),(0,v.IO)("@*",(0,v.pV)(),{optional:!0})]),Ue),(0,v.eR)("* => void, * => exit",(0,v.ru)([(0,v.jt)("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",(0,v.oB)({opacity:0})),(0,v.IO)("@*",(0,v.pV)(),{optional:!0})]),Ue)])},1528:(Ge,X,f)=>{"use strict";f.d(X,{d:()=>S,t:()=>l});var e=f(2560),t=f(8971),_=f(207);class S{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(d){this._vertical=(0,t.Ig)(d)}get inset(){return this._inset}set inset(d){this._inset=(0,t.Ig)(d)}}S.\u0275fac=function(d){return new(d||S)},S.\u0275cmp=e.Xpm({type:S,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(d,P){2&d&&(e.uIk("aria-orientation",P.vertical?"vertical":"horizontal"),e.ekj("mat-divider-vertical",P.vertical)("mat-divider-horizontal",!P.vertical)("mat-divider-inset",P.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(d,P){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0});class l{}l.\u0275fac=function(d){return new(d||l)},l.\u0275mod=e.oAB({type:l}),l.\u0275inj=e.cJS({imports:[_.BQ,_.BQ]})},3012:(Ge,X,f)=>{"use strict";f.d(X,{pp:()=>Ve,To:()=>be,ib:()=>U,u4:()=>Ye,yz:()=>Le,yK:()=>$e});var e=f(2560),t=f(1755),_=f(8971),S=f(253),l=f(7714);let D=0;const d=new e.OlP("CdkAccordion");class P{constructor(){this._stateChanges=new S.x,this._openCloseAllActions=new S.x,this.id="cdk-accordion-"+D++,this._multi=!1}get multi(){return this._multi}set multi(je){this._multi=(0,_.Ig)(je)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(je){this._stateChanges.next(je)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}P.\u0275fac=function(je){return new(je||P)},P.\u0275dir=e.lG2({type:P,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[e._Bn([{provide:d,useExisting:P}]),e.TTD]});let p=0;class L{constructor(je,ye,Te){this.accordion=je,this._changeDetectorRef=ye,this._expansionDispatcher=Te,this._openCloseAllSubscription=l.w0.EMPTY,this.closed=new e.vpe,this.opened=new e.vpe,this.destroyed=new e.vpe,this.expandedChange=new e.vpe,this.id="cdk-accordion-child-"+p++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=Te.listen((He,Ee)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===Ee&&this.id!==He&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(je){if(je=(0,_.Ig)(je),this._expanded!==je){if(this._expanded=je,this.expandedChange.emit(je),je){this.opened.emit();const ye=this.accordion?this.accordion.id:this.id;this._expansionDispatcher.notify(this.id,ye)}else this.closed.emit();this._changeDetectorRef.markForCheck()}}get disabled(){return this._disabled}set disabled(je){this._disabled=(0,_.Ig)(je)}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(je=>{this.disabled||(this.expanded=je)})}}L.\u0275fac=function(je){return new(je||L)(e.Y36(d,12),e.Y36(e.sBO),e.Y36(t.A8))},L.\u0275dir=e.lG2({type:L,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:d,useValue:void 0}])]});class M{}M.\u0275fac=function(je){return new(je||M)},M.\u0275mod=e.oAB({type:M}),M.\u0275inj=e.cJS({});var k=f(7520),E=f(4666),z=f(207),I=f(4218),V=f(8977),Z=f(4874),q=f(116),te=f(9295),ne=f(8456),le=f(591),re=f(6646),_e=f(4851);const he=["body"];function ae(et,je){}const ve=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]];function i(et,je){if(1&et&&e._UZ(0,"span",2),2&et){const ye=e.oxw();e.Q6J("@indicatorRotate",ye._getExpandedState())}}const o=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],h=new e.OlP("MAT_ACCORDION"),y="225ms cubic-bezier(0.4,0.0,0.2,1)",A={indicatorRotate:(0,_e.X$)("indicatorRotate",[(0,_e.SB)("collapsed, void",(0,_e.oB)({transform:"rotate(0deg)"})),(0,_e.SB)("expanded",(0,_e.oB)({transform:"rotate(180deg)"})),(0,_e.eR)("expanded <=> collapsed, void => collapsed",(0,_e.jt)(y))]),bodyExpansion:(0,_e.X$)("bodyExpansion",[(0,_e.SB)("collapsed, void",(0,_e.oB)({height:"0px",visibility:"hidden"})),(0,_e.SB)("expanded",(0,_e.oB)({height:"*",visibility:"visible"})),(0,_e.eR)("expanded <=> collapsed, void => collapsed",(0,_e.jt)(y))])},R=new e.OlP("MAT_EXPANSION_PANEL");class v{constructor(je,ye){this._template=je,this._expansionPanel=ye}}v.\u0275fac=function(je){return new(je||v)(e.Y36(e.Rgc),e.Y36(R,8))},v.\u0275dir=e.lG2({type:v,selectors:[["ng-template","matExpansionPanelContent",""]]});let a=0;const C=new e.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");class U extends L{constructor(je,ye,Te,He,Ee,we,de){super(je,ye,Te),this._viewContainerRef=He,this._animationMode=we,this._hideToggle=!1,this.afterExpand=new e.vpe,this.afterCollapse=new e.vpe,this._inputChanges=new S.x,this._headerId="mat-expansion-panel-header-"+a++,this._bodyAnimationDone=new S.x,this.accordion=je,this._document=Ee,this._bodyAnimationDone.pipe((0,V.x)((Me,ie)=>Me.fromState===ie.fromState&&Me.toState===ie.toState)).subscribe(Me=>{"void"!==Me.fromState&&("expanded"===Me.toState?this.afterExpand.emit():"collapsed"===Me.toState&&this.afterCollapse.emit())}),de&&(this.hideToggle=de.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(je){this._hideToggle=(0,_.Ig)(je)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(je){this._togglePosition=je}_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,Z.O)(null),(0,q.h)(()=>this.expanded&&!this._portal),(0,te.q)(1)).subscribe(()=>{this._portal=new k.UE(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(je){this._inputChanges.next(je)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const je=this._document.activeElement,ye=this._body.nativeElement;return je===ye||ye.contains(je)}return!1}}U.\u0275fac=function(je){return new(je||U)(e.Y36(h,12),e.Y36(e.sBO),e.Y36(t.A8),e.Y36(e.s_b),e.Y36(E.K0),e.Y36(e.QbO,8),e.Y36(C,8))},U.\u0275cmp=e.Xpm({type:U,selectors:[["mat-expansion-panel"]],contentQueries:function(je,ye,Te){if(1&je&&e.Suo(Te,v,5),2&je){let He;e.iGM(He=e.CRH())&&(ye._lazyContent=He.first)}},viewQuery:function(je,ye){if(1&je&&e.Gf(he,5),2&je){let Te;e.iGM(Te=e.CRH())&&(ye._body=Te.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(je,ye){2&je&&e.ekj("mat-expanded",ye.expanded)("_mat-animation-noopable","NoopAnimations"===ye._animationMode)("mat-expansion-panel-spacing",ye._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[e._Bn([{provide:h,useValue:void 0},{provide:R,useExisting:U}]),e.qOj,e.TTD],ngContentSelectors:["mat-expansion-panel-header","*","mat-action-row"],decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(je,ye){1&je&&(e.F$t(ve),e.Hsn(0),e.TgZ(1,"div",0,1),e.NdJ("@bodyExpansion.done",function(He){return ye._bodyAnimationDone.next(He)}),e.TgZ(3,"div",2),e.Hsn(4,1),e.YNc(5,ae,0,0,"ng-template",3),e.qZA(),e.Hsn(6,2),e.qZA()),2&je&&(e.xp6(1),e.Q6J("@bodyExpansion",ye._getExpandedState())("id",ye.id),e.uIk("aria-labelledby",ye._headerId),e.xp6(4),e.Q6J("cdkPortalOutlet",ye._portal))},dependencies:[k.Pl],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[A.bodyExpansion]},changeDetection:0});class N{}N.\u0275fac=function(je){return new(je||N)},N.\u0275dir=e.lG2({type:N,selectors:[["mat-action-row"]],hostAttrs:[1,"mat-action-row"]});const Pe=(0,z.sb)(class Q{});class Le extends Pe{constructor(je,ye,Te,He,Ee,we,de){super(),this.panel=je,this._element=ye,this._focusMonitor=Te,this._changeDetectorRef=He,this._animationMode=we,this._parentChangeSubscription=l.w0.EMPTY;const Me=je.accordion?je.accordion._stateChanges.pipe((0,q.h)(ie=>!(!ie.hideToggle&&!ie.togglePosition))):le.E;this.tabIndex=parseInt(de||"")||0,this._parentChangeSubscription=(0,re.T)(je.opened,je.closed,Me,je._inputChanges.pipe((0,q.h)(ie=>!!(ie.hideToggle||ie.disabled||ie.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),je.closed.pipe((0,q.h)(()=>je._containsFocus())).subscribe(()=>Te.focusVia(ye,"program")),Ee&&(this.expandedHeight=Ee.expandedHeight,this.collapsedHeight=Ee.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 je=this._isExpanded();return je&&this.expandedHeight?this.expandedHeight:!je&&this.collapsedHeight?this.collapsedHeight:null}_keydown(je){switch(je.keyCode){case ne.L_:case ne.K5:(0,ne.Vb)(je)||(je.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(je))}}focus(je,ye){je?this._focusMonitor.focusVia(this._element,je,ye):this._element.nativeElement.focus(ye)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(je=>{je&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}Le.\u0275fac=function(je){return new(je||Le)(e.Y36(U,1),e.Y36(e.SBq),e.Y36(I.tE),e.Y36(e.sBO),e.Y36(C,8),e.Y36(e.QbO,8),e.$8M("tabindex"))},Le.\u0275cmp=e.Xpm({type:Le,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(je,ye){1&je&&e.NdJ("click",function(){return ye._toggle()})("keydown",function(He){return ye._keydown(He)}),2&je&&(e.uIk("id",ye.panel._headerId)("tabindex",ye.tabIndex)("aria-controls",ye._getPanelId())("aria-expanded",ye._isExpanded())("aria-disabled",ye.panel.disabled),e.Udp("height",ye._getHeaderHeight()),e.ekj("mat-expanded",ye._isExpanded())("mat-expansion-toggle-indicator-after","after"===ye._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===ye._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===ye._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[e.qOj],ngContentSelectors:["mat-panel-title","mat-panel-description","*"],decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(je,ye){1&je&&(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&je&&(e.ekj("mat-content-hide-toggle",!ye._showToggle()),e.xp6(4),e.Q6J("ngIf",ye._showToggle()))},dependencies:[E.O5],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[A.indicatorRotate]},changeDetection:0});class Ye{}Ye.\u0275fac=function(je){return new(je||Ye)},Ye.\u0275dir=e.lG2({type:Ye,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]});class $e{}$e.\u0275fac=function(je){return new(je||$e)},$e.\u0275dir=e.lG2({type:$e,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]});class Ve 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(je){this._hideToggle=(0,_.Ig)(je)}ngAfterContentInit(){this._headers.changes.pipe((0,Z.O)(this._headers)).subscribe(je=>{this._ownHeaders.reset(je.filter(ye=>ye.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new I.Em(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(je){this._keyManager.onKeydown(je)}_handleHeaderFocus(je){this._keyManager.updateActiveItem(je)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}}Ve.\u0275fac=function(){let et;return function(ye){return(et||(et=e.n5z(Ve)))(ye||Ve)}}(),Ve.\u0275dir=e.lG2({type:Ve,selectors:[["mat-accordion"]],contentQueries:function(je,ye,Te){if(1&je&&e.Suo(Te,Le,5),2&je){let He;e.iGM(He=e.CRH())&&(ye._headers=He)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(je,ye){2&je&&e.ekj("mat-accordion-multi",ye.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[e._Bn([{provide:h,useExisting:Ve}]),e.qOj]});class be{}be.\u0275fac=function(je){return new(je||be)},be.\u0275mod=e.oAB({type:be}),be.\u0275inj=e.cJS({imports:[E.ez,z.BQ,M,k.eL]})},5074:(Ge,X,f)=>{"use strict";f.d(X,{Eo:()=>we,G_:()=>G,KE:()=>nt,R9:()=>Ve,TO:()=>N,bx:()=>Pe,lN:()=>$t});var e=f(2560),t=f(2867),_=f(9107),S=f(253),l=f(6646),D=f(8951),d=f(4666),P=f(8971),p=f(4851),L=f(3773),M=f(207);const z=["textField"],I=["iconPrefixContainer"],V=["textPrefixContainer"];function Z(gt,rt){1&gt&&e._UZ(0,"span",19)}function q(gt,rt){if(1&gt){const Re=e.EpF();e.TgZ(0,"label",17),e.NdJ("cdkObserveContent",function(){e.CHM(Re);const St=e.oxw(2);return e.KtG(St._refreshOutlineNotchWidth())}),e.Hsn(1,1),e.YNc(2,Z,1,0,"span",18),e.qZA()}if(2&gt){const Re=e.oxw(2);e.Q6J("floating",Re._shouldLabelFloat())("cdkObserveContentDisabled",!Re._hasOutline())("id",Re._labelId),e.uIk("for",Re._control.id)("aria-owns",Re._control.id),e.xp6(2),e.Q6J("ngIf",!Re.hideRequiredMarker&&Re._control.required)}}function te(gt,rt){if(1&gt&&e.YNc(0,q,3,6,"label",16),2&gt){const Re=e.oxw();e.Q6J("ngIf",Re._hasFloatingLabel())}}function ne(gt,rt){1&gt&&e._UZ(0,"div",20)}function le(gt,rt){}function re(gt,rt){if(1&gt&&e.YNc(0,le,0,0,"ng-template",22),2&gt){e.oxw(2);const Re=e.MAs(1);e.Q6J("ngTemplateOutlet",Re)}}function _e(gt,rt){if(1&gt&&(e.TgZ(0,"div",21),e.YNc(1,re,1,1,"ng-template",9),e.qZA()),2&gt){const Re=e.oxw();e.Q6J("matFormFieldNotchedOutlineOpen",Re._shouldLabelFloat())("matFormFieldNotchedOutlineLabelWidth",Re._labelWidth),e.xp6(1),e.Q6J("ngIf",!Re._forceDisplayInfixLabel())}}function he(gt,rt){1&gt&&(e.TgZ(0,"div",23,24),e.Hsn(2,2),e.qZA())}function ae(gt,rt){1&gt&&(e.TgZ(0,"div",25,26),e.Hsn(2,3),e.qZA())}function ve(gt,rt){}function T(gt,rt){if(1&gt&&e.YNc(0,ve,0,0,"ng-template",22),2&gt){e.oxw();const Re=e.MAs(1);e.Q6J("ngTemplateOutlet",Re)}}function i(gt,rt){1&gt&&(e.TgZ(0,"div",27),e.Hsn(1,4),e.qZA())}function o(gt,rt){1&gt&&(e.TgZ(0,"div",28),e.Hsn(1,5),e.qZA())}function m(gt,rt){1&gt&&e._UZ(0,"div",29)}function h(gt,rt){if(1&gt&&(e.TgZ(0,"div",30),e.Hsn(1,6),e.qZA()),2&gt){const Re=e.oxw();e.Q6J("@transitionMessages",Re._subscriptAnimationState)}}function y(gt,rt){if(1&gt&&(e.TgZ(0,"mat-hint",34),e._uU(1),e.qZA()),2&gt){const Re=e.oxw(2);e.Q6J("id",Re._hintLabelId),e.xp6(1),e.Oqu(Re.hintLabel)}}function A(gt,rt){if(1&gt&&(e.TgZ(0,"div",31),e.YNc(1,y,2,2,"mat-hint",32),e.Hsn(2,7),e._UZ(3,"div",33),e.Hsn(4,8),e.qZA()),2&gt){const Re=e.oxw();e.Q6J("@transitionMessages",Re._subscriptAnimationState),e.xp6(1),e.Q6J("ngIf",Re.hintLabel)}}const R=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]];class a{}a.\u0275fac=function(rt){return new(rt||a)},a.\u0275dir=e.lG2({type:a,selectors:[["mat-label"]]});let C=0;const U=new e.OlP("MatError");class N{constructor(rt,Re){this.id="mat-mdc-error-"+C++,rt||Re.nativeElement.setAttribute("aria-live","polite")}}N.\u0275fac=function(rt){return new(rt||N)(e.$8M("aria-live"),e.Y36(e.SBq))},N.\u0275dir=e.lG2({type:N,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(rt,Re){2&rt&&e.Ikx("id",Re.id)},inputs:{id:"id"},features:[e._Bn([{provide:U,useExisting:N}])]});let Q=0;class Pe{constructor(){this.align="start",this.id="mat-mdc-hint-"+Q++}}Pe.\u0275fac=function(rt){return new(rt||Pe)},Pe.\u0275dir=e.lG2({type:Pe,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(rt,Re){2&rt&&(e.Ikx("id",Re.id),e.uIk("align",null),e.ekj("mat-mdc-form-field-hint-end","end"===Re.align))},inputs:{align:"align",id:"id"}});const Le=new e.OlP("MatPrefix");class Ye{constructor(rt){this._isText=!1,this._isText=rt.nativeElement.hasAttribute("matTextPrefix")}}Ye.\u0275fac=function(rt){return new(rt||Ye)(e.Y36(e.SBq))},Ye.\u0275dir=e.lG2({type:Ye,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],features:[e._Bn([{provide:Le,useExisting:Ye}])]});const $e=new e.OlP("MatSuffix");class Ve{constructor(rt){this._isText=!1,this._isText=rt.nativeElement.hasAttribute("matTextSuffix")}}Ve.\u0275fac=function(rt){return new(rt||Ve)(e.Y36(e.SBq))},Ve.\u0275dir=e.lG2({type:Ve,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],features:[e._Bn([{provide:$e,useExisting:Ve}])]});class be{constructor(rt){this._elementRef=rt,this.floating=!1}getWidth(){return function et(gt){const rt=gt;if(null!==rt.offsetParent)return rt.scrollWidth;const Re=rt.cloneNode(!0);Re.style.setProperty("position","absolute"),Re.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(Re);const ot=Re.scrollWidth;return Re.remove(),ot}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}}be.\u0275fac=function(rt){return new(rt||be)(e.Y36(e.SBq))},be.\u0275dir=e.lG2({type:be,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(rt,Re){2&rt&&e.ekj("mdc-floating-label--float-above",Re.floating)},inputs:{floating:"floating"}});const je="mdc-line-ripple--active",ye="mdc-line-ripple--deactivating";class Te{constructor(rt,Re){this._elementRef=rt,this._handleTransitionEnd=ot=>{const St=this._elementRef.nativeElement.classList,gi=St.contains(ye);"opacity"===ot.propertyName&&gi&&St.remove(je,ye)},Re.runOutsideAngular(()=>{rt.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const rt=this._elementRef.nativeElement.classList;rt.remove(ye),rt.add(je)}deactivate(){this._elementRef.nativeElement.classList.add(ye)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}Te.\u0275fac=function(rt){return new(rt||Te)(e.Y36(e.SBq),e.Y36(e.R0b))},Te.\u0275dir=e.lG2({type:Te,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]});class He{constructor(rt,Re){this._elementRef=rt,this._ngZone=Re,this.labelWidth=0,this.open=!1}ngAfterViewInit(){const rt=this._elementRef.nativeElement.querySelector(".mdc-floating-label");rt?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(rt.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>rt.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_getNotchWidth(){return this.open?this.labelWidth>0?`calc(${this.labelWidth}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:"0px":null}}He.\u0275fac=function(rt){return new(rt||He)(e.Y36(e.SBq),e.Y36(e.R0b))},He.\u0275cmp=e.Xpm({type:He,selectors:[["div","matFormFieldNotchedOutline",""]],hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(rt,Re){2&rt&&e.ekj("mdc-notched-outline--notched",Re.open)},inputs:{labelWidth:["matFormFieldNotchedOutlineLabelWidth","labelWidth"],open:["matFormFieldNotchedOutlineOpen","open"]},attrs:["matFormFieldNotchedOutline",""],ngContentSelectors:["*"],decls:4,vars:2,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(rt,Re){1&rt&&(e.F$t(),e._UZ(0,"div",0),e.TgZ(1,"div",1),e.Hsn(2),e.qZA(),e._UZ(3,"div",2)),2&rt&&(e.xp6(1),e.Udp("width",Re._getNotchWidth()))},encapsulation:2,changeDetection:0});const Ee={transitionMessages:(0,p.X$)("transitionMessages",[(0,p.SB)("enter",(0,p.oB)({opacity:1,transform:"translateY(0%)"})),(0,p.eR)("void => enter",[(0,p.oB)({opacity:0,transform:"translateY(-5px)"}),(0,p.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};class we{}we.\u0275fac=function(rt){return new(rt||we)},we.\u0275dir=e.lG2({type:we});const G=new e.OlP("MatFormField"),$=new e.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS");let ze=0;class nt{constructor(rt,Re,ot,St,gi,oi,ei,Zi){this._elementRef=rt,this._changeDetectorRef=Re,this._ngZone=ot,this._dir=St,this._platform=gi,this._defaults=oi,this._animationMode=ei,this._document=Zi,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-"+ze++,this._hintLabelId="mat-mdc-hint-"+ze++,this._subscriptAnimationState="",this._labelWidth=0,this._destroyed=new S.x,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,oi&&(oi.appearance&&(this.appearance=oi.appearance),this._hideRequiredMarker=Boolean(oi?.hideRequiredMarker),oi.color&&(this.color=oi.color))}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(rt){this._hideRequiredMarker=(0,P.Ig)(rt)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(rt){rt!==this._floatLabel&&(this._floatLabel=rt,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(rt){const Re=this._appearance,ot=rt||this._defaults?.appearance||"fill";this._appearance=ot,"outline"===this._appearance&&this._appearance!==Re&&(this._refreshOutlineNotchWidth(),this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(rt){this._subscriptSizing=rt||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(rt){this._hintLabel=rt,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(rt){this._explicitFormFieldControl=rt}ngAfterViewInit(){this._updateFocusState(),this._refreshOutlineNotchWidth(),this._document?.fonts?.ready?this._document.fonts.ready.then(()=>{this._refreshOutlineNotchWidth(),this._changeDetectorRef.markForCheck()}):setTimeout(()=>this._refreshOutlineNotchWidth(),100),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const rt=this._control;rt.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${rt.controlType}`),rt.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),rt.ngControl&&rt.ngControl.valueChanges&&rt.ngControl.valueChanges.pipe((0,D.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(rt=>!rt._isText),this._hasTextPrefix=!!this._prefixChildren.find(rt=>rt._isText),this._hasIconSuffix=!!this._suffixChildren.find(rt=>!rt._isText),this._hasTextSuffix=!!this._suffixChildren.find(rt=>rt._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,l.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(){this._control}_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,D.R)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,D.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(rt){const Re=this._control?this._control.ngControl:null;return Re&&Re[rt]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||(this._labelWidth=this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let rt=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&rt.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const Re=this._hintChildren?this._hintChildren.find(St=>"start"===St.align):null,ot=this._hintChildren?this._hintChildren.find(St=>"end"===St.align):null;Re?rt.push(Re.id):this._hintLabel&&rt.push(this._hintLabelId),ot&&rt.push(ot.id)}else this._errorChildren&&rt.push(...this._errorChildren.map(Re=>Re.id));this._control.setDescribedByIds(rt)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const rt=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(rt.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const Re=this._iconPrefixContainer?.nativeElement,ot=this._textPrefixContainer?.nativeElement,St=Re?.getBoundingClientRect().width??0,gi=ot?.getBoundingClientRect().width??0,si=`calc(${"rtl"===this._dir.value?"-1":"1"} * (${`${St+gi}px`} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;rt.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(${si})\n )`}_isAttachedToDom(){const rt=this._elementRef.nativeElement;if(rt.getRootNode){const Re=rt.getRootNode();return Re&&Re!==rt}return document.documentElement.contains(rt)}}nt.\u0275fac=function(rt){return new(rt||nt)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(e.R0b),e.Y36(t.Is),e.Y36(_.t4),e.Y36($,8),e.Y36(e.QbO,8),e.Y36(d.K0))},nt.\u0275cmp=e.Xpm({type:nt,selectors:[["mat-form-field"]],contentQueries:function(rt,Re,ot){if(1&rt&&(e.Suo(ot,a,5),e.Suo(ot,a,7),e.Suo(ot,we,5),e.Suo(ot,Le,5),e.Suo(ot,$e,5),e.Suo(ot,U,5),e.Suo(ot,Pe,5)),2&rt){let St;e.iGM(St=e.CRH())&&(Re._labelChildNonStatic=St.first),e.iGM(St=e.CRH())&&(Re._labelChildStatic=St.first),e.iGM(St=e.CRH())&&(Re._formFieldControl=St.first),e.iGM(St=e.CRH())&&(Re._prefixChildren=St),e.iGM(St=e.CRH())&&(Re._suffixChildren=St),e.iGM(St=e.CRH())&&(Re._errorChildren=St),e.iGM(St=e.CRH())&&(Re._hintChildren=St)}},viewQuery:function(rt,Re){if(1&rt&&(e.Gf(z,5),e.Gf(I,5),e.Gf(V,5),e.Gf(be,5),e.Gf(He,5),e.Gf(Te,5)),2&rt){let ot;e.iGM(ot=e.CRH())&&(Re._textField=ot.first),e.iGM(ot=e.CRH())&&(Re._iconPrefixContainer=ot.first),e.iGM(ot=e.CRH())&&(Re._textPrefixContainer=ot.first),e.iGM(ot=e.CRH())&&(Re._floatingLabel=ot.first),e.iGM(ot=e.CRH())&&(Re._notchedOutline=ot.first),e.iGM(ot=e.CRH())&&(Re._lineRipple=ot.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(rt,Re){2&rt&&e.ekj("mat-mdc-form-field-label-always-float",Re._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",Re._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",Re._hasIconSuffix)("mat-form-field-invalid",Re._control.errorState)("mat-form-field-disabled",Re._control.disabled)("mat-form-field-autofilled",Re._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===Re._animationMode)("mat-form-field-appearance-fill","fill"==Re.appearance)("mat-form-field-appearance-outline","outline"==Re.appearance)("mat-form-field-hide-placeholder",Re._hasFloatingLabel()&&!Re._shouldLabelFloat())("mat-focused",Re._control.focused)("mat-primary","accent"!==Re.color&&"warn"!==Re.color)("mat-accent","accent"===Re.color)("mat-warn","warn"===Re.color)("ng-untouched",Re._shouldForward("untouched"))("ng-touched",Re._shouldForward("touched"))("ng-pristine",Re._shouldForward("pristine"))("ng-dirty",Re._shouldForward("dirty"))("ng-valid",Re._shouldForward("valid"))("ng-invalid",Re._shouldForward("invalid"))("ng-pending",Re._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[e._Bn([{provide:G,useExisting:nt}])],ngContentSelectors:["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"],decls:18,vars:23,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay",4,"ngIf"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth",4,"ngIf"],["class","mat-mdc-form-field-icon-prefix",4,"ngIf"],["class","mat-mdc-form-field-text-prefix",4,"ngIf"],[1,"mat-mdc-form-field-infix"],[3,"ngIf"],["class","mat-mdc-form-field-text-suffix",4,"ngIf"],["class","mat-mdc-form-field-icon-suffix",4,"ngIf"],["matFormFieldLineRipple","",4,"ngIf"],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align",3,"ngSwitch"],["class","mat-mdc-form-field-error-wrapper",4,"ngSwitchCase"],["class","mat-mdc-form-field-hint-wrapper",4,"ngSwitchCase"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required",4,"ngIf"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id",4,"ngIf"],[1,"mat-mdc-form-field-hint-spacer"],[3,"id"]],template:function(rt,Re){1&rt&&(e.F$t(R),e.YNc(0,te,1,1,"ng-template",null,0,e.W1O),e.TgZ(2,"div",1,2),e.NdJ("click",function(St){return Re._control.onContainerClick&&Re._control.onContainerClick(St)}),e.YNc(4,ne,1,0,"div",3),e.TgZ(5,"div",4),e.YNc(6,_e,2,3,"div",5),e.YNc(7,he,3,0,"div",6),e.YNc(8,ae,3,0,"div",7),e.TgZ(9,"div",8),e.YNc(10,T,1,1,"ng-template",9),e.Hsn(11),e.qZA(),e.YNc(12,i,2,0,"div",10),e.YNc(13,o,2,0,"div",11),e.qZA(),e.YNc(14,m,1,0,"div",12),e.qZA(),e.TgZ(15,"div",13),e.YNc(16,h,2,1,"div",14),e.YNc(17,A,5,2,"div",15),e.qZA()),2&rt&&(e.xp6(2),e.ekj("mdc-text-field--filled",!Re._hasOutline())("mdc-text-field--outlined",Re._hasOutline())("mdc-text-field--no-label",!Re._hasFloatingLabel())("mdc-text-field--disabled",Re._control.disabled)("mdc-text-field--invalid",Re._control.errorState),e.xp6(2),e.Q6J("ngIf",!Re._hasOutline()&&!Re._control.disabled),e.xp6(2),e.Q6J("ngIf",Re._hasOutline()),e.xp6(1),e.Q6J("ngIf",Re._hasIconPrefix),e.xp6(1),e.Q6J("ngIf",Re._hasTextPrefix),e.xp6(2),e.Q6J("ngIf",!Re._hasOutline()||Re._forceDisplayInfixLabel()),e.xp6(2),e.Q6J("ngIf",Re._hasTextSuffix),e.xp6(1),e.Q6J("ngIf",Re._hasIconSuffix),e.xp6(1),e.Q6J("ngIf",!Re._hasOutline()),e.xp6(1),e.ekj("mat-mdc-form-field-subscript-dynamic-size","dynamic"===Re.subscriptSizing),e.Q6J("ngSwitch",Re._getDisplayedMessages()),e.xp6(1),e.Q6J("ngSwitchCase","error"),e.xp6(1),e.Q6J("ngSwitchCase","hint"))},dependencies:[d.O5,d.tP,d.RF,d.n9,L.wD,Pe,be,He,Te],styles:['.mdc-text-field{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required::after,.mdc-floating-label--required[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;border-top:1px solid;border-bottom:1px solid;pointer-events:none}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid;flex-grow:1}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 12px * 2)}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{line-height:normal;pointer-events:all}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-10.25px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-10.25px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-24.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-24.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-106%) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}'],encapsulation:2,data:{animation:[Ee.transitionMessages]},changeDetection:0});class $t{}$t.\u0275fac=function(rt){return new(rt||$t)},$t.\u0275mod=e.oAB({type:$t}),$t.\u0275inj=e.cJS({imports:[M.BQ,d.ez,L.Q8,M.BQ]})},2642:(Ge,X,f)=>{"use strict";f.d(X,{DX:()=>k,Il:()=>ae,N6:()=>ve});var e=f(2560),t=f(207),_=f(8971),S=f(2867);const l=["*"],D=[[["","mat-grid-avatar",""],["","matGridAvatar",""]],[["","mat-line",""],["","matLine",""]],"*"];class p{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(h=>this._trackTile(h))}_trackTile(o){const m=this._findMatchingGap(o.colspan);return this._markTilePosition(m,o),this.columnIndex=m+o.colspan,new L(this.rowIndex,m)}_findMatchingGap(o){this.tracker.length;let m=-1,h=-1;do{this.columnIndex+o>this.tracker.length?(this._nextRow(),m=this.tracker.indexOf(0,this.columnIndex),h=this._findGapEndIndex(m)):(m=this.tracker.indexOf(0,this.columnIndex),-1!=m?(h=this._findGapEndIndex(m),this.columnIndex=m+1):(this._nextRow(),m=this.tracker.indexOf(0,this.columnIndex),h=this._findGapEndIndex(m)))}while(h-m<o||0==h);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 h=0;h<m.colspan;h++)this.tracker[o+h]=m.rowspan}}class L{constructor(o,m){this.row=o,this.col=m}}const M=new e.OlP("MAT_GRID_LIST");class k{constructor(o,m){this._element=o,this._gridList=m,this._rowspan=1,this._colspan=1}get rowspan(){return this._rowspan}set rowspan(o){this._rowspan=Math.round((0,_.su)(o))}get colspan(){return this._colspan}set colspan(o){this._colspan=Math.round((0,_.su)(o))}_setStyle(o,m){this._element.nativeElement.style[o]=m}}k.\u0275fac=function(o){return new(o||k)(e.Y36(e.SBq),e.Y36(M,8))},k.\u0275cmp=e.Xpm({type:k,selectors:[["mat-grid-tile"]],hostAttrs:[1,"mat-grid-tile"],hostVars:2,hostBindings:function(o,m){2&o&&e.uIk("rowspan",m.rowspan)("colspan",m.colspan)},inputs:{rowspan:"rowspan",colspan:"colspan"},exportAs:["matGridTile"],ngContentSelectors:l,decls:2,vars:0,consts:[[1,"mat-grid-tile-content"]],template:function(o,m){1&o&&(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-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});class E{constructor(o){this._element=o}ngAfterContentInit(){(0,t.E0)(this._lines,this._element)}}E.\u0275fac=function(o){return new(o||E)(e.Y36(e.SBq))},E.\u0275cmp=e.Xpm({type:E,selectors:[["mat-grid-tile-header"],["mat-grid-tile-footer"]],contentQueries:function(o,m,h){if(1&o&&e.Suo(h,t.X2,5),2&o){let y;e.iGM(y=e.CRH())&&(m._lines=y)}},ngContentSelectors:["[mat-grid-avatar], [matGridAvatar]","[mat-line], [matLine]","*"],decls:4,vars:0,consts:[[1,"mat-grid-list-text"]],template:function(o,m){1&o&&(e.F$t(D),e.Hsn(0),e.TgZ(1,"div",0),e.Hsn(2,1),e.qZA(),e.Hsn(3,2))},encapsulation:2,changeDetection:0});class z{}z.\u0275fac=function(o){return new(o||z)},z.\u0275dir=e.lG2({type:z,selectors:[["","mat-grid-avatar",""],["","matGridAvatar",""]],hostAttrs:[1,"mat-grid-avatar"]});class I{}I.\u0275fac=function(o){return new(o||I)},I.\u0275dir=e.lG2({type:I,selectors:[["mat-grid-tile-header"]],hostAttrs:[1,"mat-grid-tile-header"]});class V{}V.\u0275fac=function(o){return new(o||V)},V.\u0275dir=e.lG2({type:V,selectors:[["mat-grid-tile-footer"]],hostAttrs:[1,"mat-grid-tile-footer"]});const Z=/^-?\d+((\.\d+)?[A-Za-z%$]?)+$/;class q{constructor(){this._rows=0,this._rowspan=0}init(o,m,h,y){this._gutterSize=_e(o),this._rows=m.rowCount,this._rowspan=m.rowspan,this._cols=h,this._direction=y}getBaseTileSize(o,m){return`(${o}% - (${this._gutterSize} * ${m}))`}getTilePosition(o,m){return 0===m?"0":re(`(${o} + ${this._gutterSize}) * ${m}`)}getTileSize(o,m){return`(${o} * ${m}) + (${m-1} * ${this._gutterSize})`}setStyle(o,m,h){let y=100/this._cols,A=(this._cols-1)/this._cols;this.setColStyles(o,h,y,A),this.setRowStyles(o,m,y,A)}setColStyles(o,m,h,y){let A=this.getBaseTileSize(h,y),R="rtl"===this._direction?"right":"left";o._setStyle(R,this.getTilePosition(A,m)),o._setStyle("width",re(this.getTileSize(A,o.colspan)))}getGutterSpan(){return`${this._gutterSize} * (${this._rowspan} - 1)`}getTileSpan(o){return`${this._rowspan} * ${this.getTileSize(o,1)}`}getComputedHeight(){return null}}class te extends q{constructor(o){super(),this.fixedRowHeight=o}init(o,m,h,y){super.init(o,m,h,y),this.fixedRowHeight=_e(this.fixedRowHeight),Z.test(this.fixedRowHeight)}setRowStyles(o,m){o._setStyle("top",this.getTilePosition(this.fixedRowHeight,m)),o._setStyle("height",re(this.getTileSize(this.fixedRowHeight,o.rowspan)))}getComputedHeight(){return["height",re(`${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,h,y){let A=h/this.rowHeightRatio;this.baseTileHeight=this.getBaseTileSize(A,y),o._setStyle("marginTop",this.getTilePosition(this.baseTileHeight,m)),o._setStyle("paddingTop",re(this.getTileSize(this.baseTileHeight,o.rowspan)))}getComputedHeight(){return["paddingBottom",re(`${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(":");m.length,this.rowHeightRatio=parseFloat(m[0])/parseFloat(m[1])}}class le extends q{setRowStyles(o,m){let h=100/this._rowspan,y=(this._rows-1)/this._rows,A=this.getBaseTileSize(h,y);o._setStyle("top",this.getTilePosition(A,m)),o._setStyle("height",re(this.getTileSize(A,o.rowspan)))}reset(o){o._tiles&&o._tiles.forEach(m=>{m._setStyle("top",null),m._setStyle("height",null)})}}function re(i){return`calc(${i})`}function _e(i){return i.match(/([A-Za-z%]+)$/)?i:`${i}px`}class ae{constructor(o,m){this._element=o,this._dir=m,this._gutter="1px"}get cols(){return this._cols}set cols(o){this._cols=Math.max(1,Math.round((0,_.su)(o)))}get gutterSize(){return this._gutter}set gutterSize(o){this._gutter=`${o??""}`}get rowHeight(){return this._rowHeight}set rowHeight(o){const m=`${o??""}`;m!==this._rowHeight&&(this._rowHeight=m,this._setTileStyler(this._rowHeight))}ngOnInit(){this._checkCols(),this._checkRowHeight()}ngAfterContentChecked(){this._layoutTiles()}_checkCols(){this.cols}_checkRowHeight(){this._rowHeight||this._setTileStyler("1:1")}_setTileStyler(o){this._tileStyler&&this._tileStyler.reset(this),"fit"===o?this._tileStyler=new le:o&&o.indexOf(":")>-1?this._tileStyler=new ne(o):this._tileStyler=new te(o)}_layoutTiles(){this._tileCoordinator||(this._tileCoordinator=new p);const o=this._tileCoordinator,m=this._tiles.filter(y=>!y._gridList||y._gridList===this),h=this._dir?this._dir.value:"ltr";this._tileCoordinator.update(this.cols,m),this._tileStyler.init(this.gutterSize,o,this.cols,h),m.forEach((y,A)=>{const R=o.positions[A];this._tileStyler.setStyle(y,R.row,R.col)}),this._setListStyle(this._tileStyler.getComputedHeight())}_setListStyle(o){o&&(this._element.nativeElement.style[o[0]]=o[1])}}ae.\u0275fac=function(o){return new(o||ae)(e.Y36(e.SBq),e.Y36(S.Is,8))},ae.\u0275cmp=e.Xpm({type:ae,selectors:[["mat-grid-list"]],contentQueries:function(o,m,h){if(1&o&&e.Suo(h,k,5),2&o){let y;e.iGM(y=e.CRH())&&(m._tiles=y)}},hostAttrs:[1,"mat-grid-list"],hostVars:1,hostBindings:function(o,m){2&o&&e.uIk("cols",m.cols)},inputs:{cols:"cols",gutterSize:"gutterSize",rowHeight:"rowHeight"},exportAs:["matGridList"],features:[e._Bn([{provide:M,useExisting:ae}])],ngContentSelectors:l,decls:2,vars:0,template:function(o,m){1&o&&(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-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});class ve{}ve.\u0275fac=function(o){return new(o||ve)},ve.\u0275mod=e.oAB({type:ve}),ve.\u0275inj=e.cJS({imports:[t.uc,t.BQ,t.uc,t.BQ]})},7822:(Ge,X,f)=>{"use strict";f.d(X,{Hw:()=>N,Ps:()=>Q});var e=f(2560),t=f(207),_=f(8971),S=f(4666),l=f(745),D=f(5474),d=f(1640),P=f(7714),p=f(9337),L=f(635),M=f(3158),k=f(2313),E=f(1203),z=f(9295),I=f(8987),V=f(4497);let q;function ne(Pe){return function te(){if(void 0===q&&(q=null,typeof window<"u")){const Pe=window;void 0!==Pe.trustedTypes&&(q=Pe.trustedTypes.createPolicy("angular#components",{createHTML:Le=>Le}))}return q}()?.createHTML(Pe)||Pe}function le(Pe){return Error(`Unable to find icon with the name "${Pe}"`)}function _e(Pe){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${Pe}".`)}function he(Pe){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${Pe}".`)}class ae{constructor(Le,Ye,$e){this.url=Le,this.svgText=Ye,this.options=$e}}class ve{constructor(Le,Ye,$e,Ve){this._httpClient=Le,this._sanitizer=Ye,this._errorHandler=Ve,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=$e}addSvgIcon(Le,Ye,$e){return this.addSvgIconInNamespace("",Le,Ye,$e)}addSvgIconLiteral(Le,Ye,$e){return this.addSvgIconLiteralInNamespace("",Le,Ye,$e)}addSvgIconInNamespace(Le,Ye,$e,Ve){return this._addSvgIconConfig(Le,Ye,new ae($e,null,Ve))}addSvgIconResolver(Le){return this._resolvers.push(Le),this}addSvgIconLiteralInNamespace(Le,Ye,$e,Ve){const be=this._sanitizer.sanitize(e.q3G.HTML,$e);if(!be)throw he($e);const et=ne(be);return this._addSvgIconConfig(Le,Ye,new ae("",et,Ve))}addSvgIconSet(Le,Ye){return this.addSvgIconSetInNamespace("",Le,Ye)}addSvgIconSetLiteral(Le,Ye){return this.addSvgIconSetLiteralInNamespace("",Le,Ye)}addSvgIconSetInNamespace(Le,Ye,$e){return this._addSvgIconSetConfig(Le,new ae(Ye,null,$e))}addSvgIconSetLiteralInNamespace(Le,Ye,$e){const Ve=this._sanitizer.sanitize(e.q3G.HTML,Ye);if(!Ve)throw he(Ye);const be=ne(Ve);return this._addSvgIconSetConfig(Le,new ae("",be,$e))}registerFontClassAlias(Le,Ye=Le){return this._fontCssClassesByAlias.set(Le,Ye),this}classNameForFontAlias(Le){return this._fontCssClassesByAlias.get(Le)||Le}setDefaultFontSetClass(...Le){return this._defaultFontSetClass=Le,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(Le){const Ye=this._sanitizer.sanitize(e.q3G.RESOURCE_URL,Le);if(!Ye)throw _e(Le);const $e=this._cachedIconsByUrl.get(Ye);return $e?(0,l.of)(o($e)):this._loadSvgIconFromConfig(new ae(Le,null)).pipe((0,p.b)(Ve=>this._cachedIconsByUrl.set(Ye,Ve)),(0,L.U)(Ve=>o(Ve)))}getNamedSvgIcon(Le,Ye=""){const $e=m(Ye,Le);let Ve=this._svgIconConfigs.get($e);if(Ve)return this._getSvgFromConfig(Ve);if(Ve=this._getIconConfigFromResolvers(Ye,Le),Ve)return this._svgIconConfigs.set($e,Ve),this._getSvgFromConfig(Ve);const be=this._iconSetConfigs.get(Ye);return be?this._getSvgFromIconSetConfigs(Le,be):(0,D._)(le($e))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(Le){return Le.svgText?(0,l.of)(o(this._svgElementFromConfig(Le))):this._loadSvgIconFromConfig(Le).pipe((0,L.U)(Ye=>o(Ye)))}_getSvgFromIconSetConfigs(Le,Ye){const $e=this._extractIconWithNameFromAnySet(Le,Ye);if($e)return(0,l.of)($e);const Ve=Ye.filter(be=>!be.svgText).map(be=>this._loadSvgIconSetFromConfig(be).pipe((0,M.K)(et=>{const ye=`Loading icon set URL: ${this._sanitizer.sanitize(e.q3G.RESOURCE_URL,be.url)} failed: ${et.message}`;return this._errorHandler.handleError(new Error(ye)),(0,l.of)(null)})));return(0,d.D)(Ve).pipe((0,L.U)(()=>{const be=this._extractIconWithNameFromAnySet(Le,Ye);if(!be)throw le(Le);return be}))}_extractIconWithNameFromAnySet(Le,Ye){for(let $e=Ye.length-1;$e>=0;$e--){const Ve=Ye[$e];if(Ve.svgText&&Ve.svgText.toString().indexOf(Le)>-1){const be=this._svgElementFromConfig(Ve),et=this._extractSvgIconFromSet(be,Le,Ve.options);if(et)return et}}return null}_loadSvgIconFromConfig(Le){return this._fetchIcon(Le).pipe((0,p.b)(Ye=>Le.svgText=Ye),(0,L.U)(()=>this._svgElementFromConfig(Le)))}_loadSvgIconSetFromConfig(Le){return Le.svgText?(0,l.of)(null):this._fetchIcon(Le).pipe((0,p.b)(Ye=>Le.svgText=Ye))}_extractSvgIconFromSet(Le,Ye,$e){const Ve=Le.querySelector(`[id="${Ye}"]`);if(!Ve)return null;const be=Ve.cloneNode(!0);if(be.removeAttribute("id"),"svg"===be.nodeName.toLowerCase())return this._setSvgAttributes(be,$e);if("symbol"===be.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(be),$e);const et=this._svgElementFromString(ne("<svg></svg>"));return et.appendChild(be),this._setSvgAttributes(et,$e)}_svgElementFromString(Le){const Ye=this._document.createElement("DIV");Ye.innerHTML=Le;const $e=Ye.querySelector("svg");if(!$e)throw Error("<svg> tag not found");return $e}_toSvgElement(Le){const Ye=this._svgElementFromString(ne("<svg></svg>")),$e=Le.attributes;for(let Ve=0;Ve<$e.length;Ve++){const{name:be,value:et}=$e[Ve];"id"!==be&&Ye.setAttribute(be,et)}for(let Ve=0;Ve<Le.childNodes.length;Ve++)Le.childNodes[Ve].nodeType===this._document.ELEMENT_NODE&&Ye.appendChild(Le.childNodes[Ve].cloneNode(!0));return Ye}_setSvgAttributes(Le,Ye){return Le.setAttribute("fit",""),Le.setAttribute("height","100%"),Le.setAttribute("width","100%"),Le.setAttribute("preserveAspectRatio","xMidYMid meet"),Le.setAttribute("focusable","false"),Ye&&Ye.viewBox&&Le.setAttribute("viewBox",Ye.viewBox),Le}_fetchIcon(Le){const{url:Ye,options:$e}=Le,Ve=$e?.withCredentials??!1;if(!this._httpClient)throw function re(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}();if(null==Ye)throw Error(`Cannot fetch icon from URL "${Ye}".`);const be=this._sanitizer.sanitize(e.q3G.RESOURCE_URL,Ye);if(!be)throw _e(Ye);const et=this._inProgressUrlFetches.get(be);if(et)return et;const je=this._httpClient.get(be,{responseType:"text",withCredentials:Ve}).pipe((0,L.U)(ye=>ne(ye)),(0,k.x)(()=>this._inProgressUrlFetches.delete(be)),(0,E.B)());return this._inProgressUrlFetches.set(be,je),je}_addSvgIconConfig(Le,Ye,$e){return this._svgIconConfigs.set(m(Le,Ye),$e),this}_addSvgIconSetConfig(Le,Ye){const $e=this._iconSetConfigs.get(Le);return $e?$e.push(Ye):this._iconSetConfigs.set(Le,[Ye]),this}_svgElementFromConfig(Le){if(!Le.svgElement){const Ye=this._svgElementFromString(Le.svgText);this._setSvgAttributes(Ye,Le.options),Le.svgElement=Ye}return Le.svgElement}_getIconConfigFromResolvers(Le,Ye){for(let $e=0;$e<this._resolvers.length;$e++){const Ve=this._resolvers[$e](Ye,Le);if(Ve)return(Pe=Ve).url&&Pe.options?new ae(Ve.url,null,Ve.options):new ae(Ve,null)}var Pe}}ve.\u0275fac=function(Le){return new(Le||ve)(e.LFG(I.eN,8),e.LFG(V.H7),e.LFG(S.K0,8),e.LFG(e.qLn))},ve.\u0275prov=e.Yz7({token:ve,factory:ve.\u0275fac,providedIn:"root"});new e.FiY,new e.tp0,new e.FiY,I.eN,V.H7,e.qLn,new e.FiY,S.K0;function o(Pe){return Pe.cloneNode(!0)}function m(Pe,Le){return Pe+":"+Le}const y=(0,t.pj)(class{constructor(Pe){this._elementRef=Pe}}),A=new e.OlP("MAT_ICON_DEFAULT_OPTIONS"),R=new e.OlP("mat-icon-location",{providedIn:"root",factory:function v(){const Pe=(0,e.f3M)(S.K0),Le=Pe?Pe.location:null;return{getPathname:()=>Le?Le.pathname+Le.search:""}}});const a=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],C=a.map(Pe=>`[${Pe}]`).join(", "),U=/^url\(['"]?#(.*?)['"]?\)$/;class N extends y{constructor(Le,Ye,$e,Ve,be,et){super(Le),this._iconRegistry=Ye,this._location=Ve,this._errorHandler=be,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=P.w0.EMPTY,et&&(et.color&&(this.color=this.defaultColor=et.color),et.fontSet&&(this.fontSet=et.fontSet)),$e||Le.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(Le){this._inline=(0,_.Ig)(Le)}get svgIcon(){return this._svgIcon}set svgIcon(Le){Le!==this._svgIcon&&(Le?this._updateSvgIcon(Le):this._svgIcon&&this._clearSvgElement(),this._svgIcon=Le)}get fontSet(){return this._fontSet}set fontSet(Le){const Ye=this._cleanupFontValue(Le);Ye!==this._fontSet&&(this._fontSet=Ye,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(Le){const Ye=this._cleanupFontValue(Le);Ye!==this._fontIcon&&(this._fontIcon=Ye,this._updateFontIconClasses())}_splitIconName(Le){if(!Le)return["",""];const Ye=Le.split(":");switch(Ye.length){case 1:return["",Ye[0]];case 2:return Ye;default:throw Error(`Invalid icon name: "${Le}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const Le=this._elementsWithExternalReferences;if(Le&&Le.size){const Ye=this._location.getPathname();Ye!==this._previousPath&&(this._previousPath=Ye,this._prependPathToReferences(Ye))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(Le){this._clearSvgElement();const Ye=this._location.getPathname();this._previousPath=Ye,this._cacheChildrenWithExternalReferences(Le),this._prependPathToReferences(Ye),this._elementRef.nativeElement.appendChild(Le)}_clearSvgElement(){const Le=this._elementRef.nativeElement;let Ye=Le.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();Ye--;){const $e=Le.childNodes[Ye];(1!==$e.nodeType||"svg"===$e.nodeName.toLowerCase())&&$e.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const Le=this._elementRef.nativeElement,Ye=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter($e=>$e.length>0);this._previousFontSetClass.forEach($e=>Le.classList.remove($e)),Ye.forEach($e=>Le.classList.add($e)),this._previousFontSetClass=Ye,this.fontIcon!==this._previousFontIconClass&&!Ye.includes("mat-ligature-font")&&(this._previousFontIconClass&&Le.classList.remove(this._previousFontIconClass),this.fontIcon&&Le.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(Le){return"string"==typeof Le?Le.trim().split(" ")[0]:Le}_prependPathToReferences(Le){const Ye=this._elementsWithExternalReferences;Ye&&Ye.forEach(($e,Ve)=>{$e.forEach(be=>{Ve.setAttribute(be.name,`url('${Le}#${be.value}')`)})})}_cacheChildrenWithExternalReferences(Le){const Ye=Le.querySelectorAll(C),$e=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let Ve=0;Ve<Ye.length;Ve++)a.forEach(be=>{const et=Ye[Ve],je=et.getAttribute(be),ye=je?je.match(U):null;if(ye){let Te=$e.get(et);Te||(Te=[],$e.set(et,Te)),Te.push({name:be,value:ye[1]})}})}_updateSvgIcon(Le){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),Le){const[Ye,$e]=this._splitIconName(Le);Ye&&(this._svgNamespace=Ye),$e&&(this._svgName=$e),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon($e,Ye).pipe((0,z.q)(1)).subscribe(Ve=>this._setSvgElement(Ve),Ve=>{const be=`Error retrieving icon ${Ye}:${$e}! ${Ve.message}`;this._errorHandler.handleError(new Error(be))})}}}N.\u0275fac=function(Le){return new(Le||N)(e.Y36(e.SBq),e.Y36(ve),e.$8M("aria-hidden"),e.Y36(R),e.Y36(e.qLn),e.Y36(A,8))},N.\u0275cmp=e.Xpm({type:N,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(Le,Ye){2&Le&&(e.uIk("data-mat-icon-type",Ye._usingFontIcon()?"font":"svg")("data-mat-icon-name",Ye._svgName||Ye.fontIcon)("data-mat-icon-namespace",Ye._svgNamespace||Ye.fontSet)("fontIcon",Ye._usingFontIcon()?Ye.fontIcon:null),e.ekj("mat-icon-inline",Ye.inline)("mat-icon-no-color","primary"!==Ye.color&&"accent"!==Ye.color&&"warn"!==Ye.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[e.qOj],ngContentSelectors:["*"],decls:1,vars:0,template:function(Le,Ye){1&Le&&(e.F$t(),e.Hsn(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0});class Q{}Q.\u0275fac=function(Le){return new(Le||Q)},Q.\u0275mod=e.oAB({type:Q}),Q.\u0275inj=e.cJS({imports:[t.BQ,t.BQ]})},1267:(Ge,X,f)=>{"use strict";f.d(X,{Jk:()=>te,Nt:()=>_e,c:()=>he});var e=f(8971),t=f(9107),_=f(2560),S=f(591),l=f(253),D=f(3280),d=f(9211),P=f(8951),p=f(4666);const L=(0,t.i$)({passive:!0});class M{constructor(ve,T){this._platform=ve,this._ngZone=T,this._monitoredElements=new Map}monitor(ve){if(!this._platform.isBrowser)return S.E;const T=(0,e.fI)(ve),i=this._monitoredElements.get(T);if(i)return i.subject;const o=new l.x,m="cdk-text-field-autofilled",h=y=>{"cdk-text-field-autofill-start"!==y.animationName||T.classList.contains(m)?"cdk-text-field-autofill-end"===y.animationName&&T.classList.contains(m)&&(T.classList.remove(m),this._ngZone.run(()=>o.next({target:y.target,isAutofilled:!1}))):(T.classList.add(m),this._ngZone.run(()=>o.next({target:y.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{T.addEventListener("animationstart",h,L),T.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(T,{subject:o,unlisten:()=>{T.removeEventListener("animationstart",h,L)}}),o}stopMonitoring(ve){const T=(0,e.fI)(ve),i=this._monitoredElements.get(T);i&&(i.unlisten(),i.subject.complete(),T.classList.remove("cdk-text-field-autofill-monitored"),T.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(T))}ngOnDestroy(){this._monitoredElements.forEach((ve,T)=>this.stopMonitoring(T))}}M.\u0275fac=function(ve){return new(ve||M)(_.LFG(t.t4),_.LFG(_.R0b))},M.\u0275prov=_.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"});class k{constructor(ve,T){this._elementRef=ve,this._autofillMonitor=T,this.cdkAutofill=new _.vpe}ngOnInit(){this._autofillMonitor.monitor(this._elementRef).subscribe(ve=>this.cdkAutofill.emit(ve))}ngOnDestroy(){this._autofillMonitor.stopMonitoring(this._elementRef)}}k.\u0275fac=function(ve){return new(ve||k)(_.Y36(_.SBq),_.Y36(M))},k.\u0275dir=_.lG2({type:k,selectors:[["","cdkAutofill",""]],outputs:{cdkAutofill:"cdkAutofill"}});class E{constructor(ve,T,i,o){this._elementRef=ve,this._platform=T,this._ngZone=i,this._destroyed=new l.x,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._handleFocusEvent=m=>{this._hasFocus="focus"===m.type},this._document=o,this._textareaElement=this._elementRef.nativeElement}get minRows(){return this._minRows}set minRows(ve){this._minRows=(0,e.su)(ve),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(ve){this._maxRows=(0,e.su)(ve),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(ve){ve=(0,e.Ig)(ve),this._enabled!==ve&&((this._enabled=ve)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(ve){this._cachedPlaceholderHeight=void 0,ve?this._textareaElement.setAttribute("placeholder",ve):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}_setMinHeight(){const ve=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;ve&&(this._textareaElement.style.minHeight=ve)}_setMaxHeight(){const ve=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;ve&&(this._textareaElement.style.maxHeight=ve)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{const ve=this._getWindow();(0,D.R)(ve,"resize").pipe((0,d.e)(16),(0,P.R)(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0)),this._textareaElement.addEventListener("focus",this._handleFocusEvent),this._textareaElement.addEventListener("blur",this._handleFocusEvent)}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent),this._textareaElement.removeEventListener("blur",this._handleFocusEvent),this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let ve=this._textareaElement.cloneNode(!1);ve.rows=1,ve.style.position="absolute",ve.style.visibility="hidden",ve.style.border="none",ve.style.padding="0",ve.style.height="",ve.style.minHeight="",ve.style.maxHeight="",ve.style.overflow="hidden",this._textareaElement.parentNode.appendChild(ve),this._cachedLineHeight=ve.clientHeight,ve.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){const ve=this._textareaElement,T=ve.style.marginBottom||"",i=this._platform.FIREFOX,o=i&&this._hasFocus,m=i?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";o&&(ve.style.marginBottom=`${ve.clientHeight}px`),ve.classList.add(m);const h=ve.scrollHeight-4;return ve.classList.remove(m),o&&(ve.style.marginBottom=T),h}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const ve=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=ve}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(ve=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;const T=this._elementRef.nativeElement,i=T.value;if(!ve&&this._minRows===this._previousMinRows&&i===this._previousValue)return;const o=this._measureScrollHeight(),m=Math.max(o,this._cachedPlaceholderHeight||0);T.style.height=`${m}px`,this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame<"u"?requestAnimationFrame(()=>this._scrollToCaretPosition(T)):setTimeout(()=>this._scrollToCaretPosition(T))}),this._previousValue=i,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollToCaretPosition(ve){const{selectionStart:T,selectionEnd:i}=ve;!this._destroyed.isStopped&&this._hasFocus&&ve.setSelectionRange(T,i)}}E.\u0275fac=function(ve){return new(ve||E)(_.Y36(_.SBq),_.Y36(t.t4),_.Y36(_.R0b),_.Y36(p.K0,8))},E.\u0275dir=_.lG2({type:E,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(ve,T){1&ve&&_.NdJ("input",function(){return T._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]});class z{}z.\u0275fac=function(ve){return new(ve||z)},z.\u0275mod=_.oAB({type:z}),z.\u0275inj=_.cJS({});var I=f(2508),V=f(207),Z=f(5074);const te=new _.OlP("MAT_INPUT_VALUE_ACCESSOR"),ne=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let le=0;const re=(0,V.FD)(class{constructor(ae,ve,T,i){this._defaultErrorStateMatcher=ae,this._parentForm=ve,this._parentFormGroup=T,this.ngControl=i,this.stateChanges=new l.x}});class _e extends re{constructor(ve,T,i,o,m,h,y,A,R,v){super(h,o,m,i),this._elementRef=ve,this._platform=T,this._autofillMonitor=A,this._formField=v,this._uid="mat-input-"+le++,this.focused=!1,this.stateChanges=new l.x,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(U=>(0,t.qK)().has(U)),this._iOSKeyupListener=U=>{const N=U.target;!N.value&&0===N.selectionStart&&0===N.selectionEnd&&(N.setSelectionRange(1,1),N.setSelectionRange(0,0))};const a=this._elementRef.nativeElement,C=a.nodeName.toLowerCase();this._inputValueAccessor=y||a,this._previousNativeValue=this.value,this.id=this.id,T.IOS&&R.runOutsideAngular(()=>{ve.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===C,this._isTextarea="textarea"===C,this._isInFormField=!!v,this._isNativeSelect&&(this.controlType=a.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this._disabled}set disabled(ve){this._disabled=(0,e.Ig)(ve),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(ve){this._id=ve||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(I.kI.required)??!1}set required(ve){this._required=(0,e.Ig)(ve)}get type(){return this._type}set type(ve){this._type=ve||"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(ve){ve!==this.value&&(this._inputValueAccessor.value=ve,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(ve){this._readonly=(0,e.Ig)(ve)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(ve=>{this.autofilled=ve.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(ve){this._elementRef.nativeElement.focus(ve)}_focusChanged(ve){ve!==this.focused&&(this.focused=ve,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const ve=this._elementRef.nativeElement.value;this._previousNativeValue!==ve&&(this._previousNativeValue=ve,this.stateChanges.next())}_dirtyCheckPlaceholder(){const ve=this._getPlaceholder();if(ve!==this._previousPlaceholder){const T=this._elementRef.nativeElement;this._previousPlaceholder=ve,ve?T.setAttribute("placeholder",ve):T.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){ne.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let ve=this._elementRef.nativeElement.validity;return ve&&ve.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const ve=this._elementRef.nativeElement,T=ve.options[0];return this.focused||ve.multiple||!this.empty||!!(ve.selectedIndex>-1&&T&&T.label)}return this.focused||!this.empty}setDescribedByIds(ve){ve.length?this._elementRef.nativeElement.setAttribute("aria-describedby",ve.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const ve=this._elementRef.nativeElement;return this._isNativeSelect&&(ve.multiple||ve.size>1)}}_e.\u0275fac=function(ve){return new(ve||_e)(_.Y36(_.SBq),_.Y36(t.t4),_.Y36(I.a5,10),_.Y36(I.F,8),_.Y36(I.sg,8),_.Y36(V.rD),_.Y36(te,10),_.Y36(M),_.Y36(_.R0b),_.Y36(Z.G_,8))},_e.\u0275dir=_.lG2({type:_e,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(ve,T){1&ve&&_.NdJ("focus",function(){return T._focusChanged(!0)})("blur",function(){return T._focusChanged(!1)})("input",function(){return T._onInput()}),2&ve&&(_.Ikx("id",T.id)("disabled",T.disabled)("required",T.required),_.uIk("name",T.name||null)("readonly",T.readonly&&!T._isNativeSelect||null)("aria-invalid",T.empty&&T.required?null:T.errorState)("aria-required",T.required)("id",T.id),_.ekj("mat-input-server",T._isServer)("mat-mdc-form-field-textarea-control",T._isInFormField&&T._isTextarea)("mat-mdc-form-field-input-control",T._isInFormField)("mdc-text-field__input",T._isInFormField)("mat-mdc-native-select-inline",T._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:[_._Bn([{provide:Z.Eo,useExisting:_e}]),_.qOj,_.TTD]});class he{}he.\u0275fac=function(ve){return new(ve||he)},he.\u0275mod=_.oAB({type:he}),he.\u0275inj=_.cJS({imports:[V.BQ,Z.lN,Z.lN,z,V.BQ]})},6517:(Ge,X,f)=>{"use strict";f.d(X,{Tg:()=>et,i$:()=>be,ie:()=>ie});var e=f(2560),t=f(8971),_=f(9107),S=f(207),l=f(7714),D=f(6646),d=f(253),P=f(3773),p=f(4666),L=f(1528),M=f(4218),k=f(1755),E=f(8456),z=f(2508),I=f(8951);const V=["*"],Z='.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:40px;height:40px}.mdc-list-item--with-leading-icon .mdc-list-item__start{width:24px;height:24px}.mdc-list-item--with-leading-thumbnail .mdc-list-item__start{width:40px;height:40px}.mdc-list-item--with-leading-image .mdc-list-item__start{width:56px;height:56px}.mdc-list-item--with-leading-video .mdc-list-item__start{width:100px;height:56px}.mdc-list-item--with-leading-checkbox .mdc-list-item__start{width:40px;height:40px}.mdc-list-item--with-leading-radio .mdc-list-item__start{width:40px;height:40px}.mdc-list-item--with-leading-switch .mdc-list-item__start{width:36px;height:20px}.mdc-list-item--with-trailing-icon .mdc-list-item__end{width:24px;height:24px}.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{width:40px;height:40px}.mdc-list-item--with-trailing-radio .mdc-list-item__end{width:40px;height:40px}.mdc-list-item--with-trailing-switch .mdc-list-item__end{width:36px;height:20px}.mdc-list-divider{height:1px}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-list-divider::after{content:"";display:block;border-bottom-width:1px;border-bottom-style:solid}}.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item__wrapper{display:block}.mdc-list-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer}.mdc-list-item:focus{outline:none}.mdc-list-item.mdc-list-item--with-one-line{height:48px}.mdc-list-item.mdc-list-item--with-two-lines{height:64px}.mdc-list-item.mdc-list-item--with-three-lines{height:88px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--disabled,.mdc-list-item.mdc-list-item--non-interactive{cursor:auto}.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px double rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected:focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected:focus::before{border-color:CanvasText}}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__content[for]{pointer-events:none}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item__overline-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start,.mdc-list-item--with-leading-avatar .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-avatar .mdc-list-item__start{border-radius:50%}.mdc-list-item--with-leading-icon.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-leading-icon .mdc-list-item__start[dir=rtl]{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-thumbnail.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-thumbnail.mdc-list-item,.mdc-list-item--with-leading-thumbnail.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-thumbnail .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-thumbnail .mdc-list-item__start,.mdc-list-item--with-leading-thumbnail .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-image.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-image.mdc-list-item,.mdc-list-item--with-leading-image.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-image .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-image .mdc-list-item__start,.mdc-list-item--with-leading-image .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-video.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-video.mdc-list-item,.mdc-list-item--with-leading-video.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-video .mdc-list-item__start{margin-left:0;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-video .mdc-list-item__start,.mdc-list-item--with-leading-video .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-checkbox.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-radio.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-radio.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-radio .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-radio .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-switch.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-switch.mdc-list-item,.mdc-list-item--with-leading-switch.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-switch .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-switch .mdc-list-item__start,.mdc-list-item--with-leading-switch .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item,.mdc-list-item--with-trailing-icon.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-icon .mdc-list-item__end,.mdc-list-item--with-trailing-icon .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item,.mdc-list-item--with-trailing-meta.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-trailing-meta .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-radio.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-radio .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-radio .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-switch.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-switch.mdc-list-item,.mdc-list-item--with-trailing-switch.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-switch .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-switch .mdc-list-item__end,.mdc-list-item--with-trailing-switch .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-switch.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item{padding-left:16px;padding-right:16px}[dir=rtl] .mdc-list-item,.mdc-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-list-group .mdc-deprecated-list{padding:0}.mdc-list-group__subheader{margin:calc((3rem - 1.5rem)/2) 16px}.mdc-list-divider{padding:0;background-clip:content-box}.mdc-list-divider.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset{padding-left:16px;padding-right:auto}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset,.mdc-list-divider.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:16px}.mdc-list-divider.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset{padding-left:auto;padding-right:16px}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset,.mdc-list-divider.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset[dir=rtl]{padding-left:16px;padding-right:auto}.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset{padding-left:0px;padding-right:auto}[dir=rtl] .mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:0px}[dir=rtl] .mdc-list-divider,.mdc-list-divider[dir=rtl]{padding:0}.cdk-high-contrast-active a.mdc-list-item--activated::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:"";opacity:0;pointer-events:none}.mat-mdc-list-item>.mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-mdc-focus-indicator::before{content:""}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}',q=["unscopedContent"],te=["text"],ne=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]];function re(G,$){1&G&&e.Hsn(0,4)}function _e(G,$){if(1&G&&(e.TgZ(0,"div",9),e._UZ(1,"input",10),e.TgZ(2,"div",11),e.O4$(),e.TgZ(3,"svg",12),e._UZ(4,"path",13),e.qZA(),e.kcU(),e._UZ(5,"div",14),e.qZA()()),2&G){const ze=e.oxw();e.ekj("mdc-checkbox--disabled",ze.disabled),e.xp6(1),e.Q6J("checked",ze.selected)("disabled",ze.disabled)}}function he(G,$){}function ae(G,$){if(1&G&&(e.TgZ(0,"span",15),e.YNc(1,he,0,0,"ng-template",16),e.qZA()),2&G){e.oxw();const ze=e.MAs(3);e.xp6(1),e.Q6J("ngTemplateOutlet",ze)}}function ve(G,$){}function T(G,$){if(1&G&&e.YNc(0,ve,0,0,"ng-template",16),2&G){e.oxw();const ze=e.MAs(1);e.Q6J("ngTemplateOutlet",ze)}}function i(G,$){}function o(G,$){if(1&G&&(e.TgZ(0,"span",17),e.YNc(1,i,0,0,"ng-template",16),e.qZA()),2&G){e.oxw();const ze=e.MAs(3);e.xp6(1),e.Q6J("ngTemplateOutlet",ze)}}function m(G,$){}function h(G,$){if(1&G&&e.YNc(0,m,0,0,"ng-template",16),2&G){e.oxw();const ze=e.MAs(1);e.Q6J("ngTemplateOutlet",ze)}}const y=[[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["mat-divider"]],[["","matListItemAvatar",""],["","matListItemIcon",""]]],R=new e.OlP("ListOption");class v{constructor($){this._elementRef=$}}v.\u0275fac=function($){return new($||v)(e.Y36(e.SBq))},v.\u0275dir=e.lG2({type:v,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"]});class a{constructor($){this._elementRef=$}}a.\u0275fac=function($){return new($||a)(e.Y36(e.SBq))},a.\u0275dir=e.lG2({type:a,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"]});class C{}C.\u0275fac=function($){return new($||C)},C.\u0275dir=e.lG2({type:C,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"]});class U{constructor($){this._listOption=$}_isAlignedAtStart(){return!this._listOption||"after"===this._listOption?._getCheckboxPosition()}}U.\u0275fac=function($){return new($||U)(e.Y36(R,8))},U.\u0275dir=e.lG2({type:U,hostVars:4,hostBindings:function($,ze){2&$&&e.ekj("mdc-list-item__start",ze._isAlignedAtStart())("mdc-list-item__end",!ze._isAlignedAtStart())}});class N extends U{}N.\u0275fac=function(){let G;return function(ze){return(G||(G=e.n5z(N)))(ze||N)}}(),N.\u0275dir=e.lG2({type:N,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],features:[e.qOj]});class Q extends U{}Q.\u0275fac=function(){let G;return function(ze){return(G||(G=e.n5z(Q)))(ze||Q)}}(),Q.\u0275dir=e.lG2({type:Q,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],features:[e.qOj]});class Pe{constructor(){this._isNonInteractive=!0,this._disableRipple=!1,this._disabled=!1}get disableRipple(){return this._disableRipple}set disableRipple($){this._disableRipple=(0,t.Ig)($)}get disabled(){return this._disabled}set disabled($){this._disabled=(0,t.Ig)($)}}Pe.\u0275fac=function($){return new($||Pe)},Pe.\u0275dir=e.lG2({type:Pe,hostVars:1,hostBindings:function($,ze){2&$&&e.uIk("aria-disabled",ze.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"}});class Le{constructor($,ze,Ue,oe,bt,Be){this._elementRef=$,this._ngZone=ze,this._listBase=Ue,this._platform=oe,this._explicitLines=null,this._disableRipple=!1,this._disabled=!1,this._subscriptions=new l.w0,this._rippleRenderer=null,this._hasUnscopedTextContent=!1,this.rippleConfig=bt||{},this._hostElement=this._elementRef.nativeElement,this._noopAnimations="NoopAnimations"===Be,Ue&&!Ue._isNonInteractive&&this._initInteractiveListItem(),"button"===this._hostElement.nodeName.toLowerCase()&&!this._hostElement.hasAttribute("type")&&this._hostElement.setAttribute("type","button")}set lines($){this._explicitLines=(0,t.su)($,null),this._updateItemLines(!1)}get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple($){this._disableRipple=(0,t.Ig)($)}get disabled(){return this._disabled||!!this._listBase?.disabled}set disabled($){this._disabled=(0,t.Ig)($)}get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}ngAfterViewInit(){this._monitorProjectedLinesAndTitle(),this._updateItemLines(!0)}ngOnDestroy(){this._subscriptions.unsubscribe(),null!==this._rippleRenderer&&this._rippleRenderer._removeTriggerEvents()}_hasIconOrAvatar(){return!(!this._avatars.length&&!this._icons.length)}_initInteractiveListItem(){this._hostElement.classList.add("mat-mdc-list-item-interactive"),this._rippleRenderer=new S.IR(this,this._ngZone,this._hostElement,this._platform),this._rippleRenderer.setupTriggerEvents(this._hostElement)}_monitorProjectedLinesAndTitle(){this._ngZone.runOutsideAngular(()=>{this._subscriptions.add((0,D.T)(this._lines.changes,this._titles.changes).subscribe(()=>this._updateItemLines(!1)))})}_updateItemLines($){if(!this._lines||!this._titles||!this._unscopedContent)return;$&&this._checkDomForUnscopedTextContent();const ze=this._explicitLines??this._inferLinesFromContent(),Ue=this._unscopedContent.nativeElement;if(this._hostElement.classList.toggle("mat-mdc-list-item-single-line",ze<=1),this._hostElement.classList.toggle("mdc-list-item--with-one-line",ze<=1),this._hostElement.classList.toggle("mdc-list-item--with-two-lines",2===ze),this._hostElement.classList.toggle("mdc-list-item--with-three-lines",3===ze),this._hasUnscopedTextContent){const oe=0===this._titles.length&&1===ze;Ue.classList.toggle("mdc-list-item__primary-text",oe),Ue.classList.toggle("mdc-list-item__secondary-text",!oe)}else Ue.classList.remove("mdc-list-item__primary-text"),Ue.classList.remove("mdc-list-item__secondary-text")}_inferLinesFromContent(){let $=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&($+=1),$}_checkDomForUnscopedTextContent(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter($=>$.nodeType!==$.COMMENT_NODE).some($=>!(!$.textContent||!$.textContent.trim()))}}Le.\u0275fac=function($){return new($||Le)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(Pe,8),e.Y36(_.t4),e.Y36(S.Y2,8),e.Y36(e.QbO,8))},Le.\u0275dir=e.lG2({type:Le,contentQueries:function($,ze,Ue){if(1&$&&(e.Suo(Ue,N,4),e.Suo(Ue,Q,4)),2&$){let oe;e.iGM(oe=e.CRH())&&(ze._avatars=oe),e.iGM(oe=e.CRH())&&(ze._icons=oe)}},hostVars:3,hostBindings:function($,ze){2&$&&(e.uIk("aria-disabled",ze.disabled),e.ekj("mdc-list-item--disabled",ze.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"}});class $e extends Pe{constructor(){super(...arguments),this._isNonInteractive=!1}}$e.\u0275fac=function(){let G;return function(ze){return(G||(G=e.n5z($e)))(ze||$e)}}(),$e.\u0275cmp=e.Xpm({type:$e,selectors:[["mat-action-list"]],hostAttrs:["role","group",1,"mat-mdc-action-list","mat-mdc-list-base","mdc-list"],exportAs:["matActionList"],features:[e._Bn([{provide:Pe,useExisting:$e}]),e.qOj],ngContentSelectors:V,decls:1,vars:0,template:function($,ze){1&$&&(e.F$t(),e.Hsn(0))},styles:['.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:40px;height:40px}.mdc-list-item--with-leading-icon .mdc-list-item__start{width:24px;height:24px}.mdc-list-item--with-leading-thumbnail .mdc-list-item__start{width:40px;height:40px}.mdc-list-item--with-leading-image .mdc-list-item__start{width:56px;height:56px}.mdc-list-item--with-leading-video .mdc-list-item__start{width:100px;height:56px}.mdc-list-item--with-leading-checkbox .mdc-list-item__start{width:40px;height:40px}.mdc-list-item--with-leading-radio .mdc-list-item__start{width:40px;height:40px}.mdc-list-item--with-leading-switch .mdc-list-item__start{width:36px;height:20px}.mdc-list-item--with-trailing-icon .mdc-list-item__end{width:24px;height:24px}.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{width:40px;height:40px}.mdc-list-item--with-trailing-radio .mdc-list-item__end{width:40px;height:40px}.mdc-list-item--with-trailing-switch .mdc-list-item__end{width:36px;height:20px}.mdc-list-divider{height:1px}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-list-divider::after{content:"";display:block;border-bottom-width:1px;border-bottom-style:solid}}.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item__wrapper{display:block}.mdc-list-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer}.mdc-list-item:focus{outline:none}.mdc-list-item.mdc-list-item--with-one-line{height:48px}.mdc-list-item.mdc-list-item--with-two-lines{height:64px}.mdc-list-item.mdc-list-item--with-three-lines{height:88px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--disabled,.mdc-list-item.mdc-list-item--non-interactive{cursor:auto}.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px double rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected:focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected:focus::before{border-color:CanvasText}}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__content[for]{pointer-events:none}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item__overline-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start,.mdc-list-item--with-leading-avatar .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-avatar .mdc-list-item__start{border-radius:50%}.mdc-list-item--with-leading-icon.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-leading-icon .mdc-list-item__start[dir=rtl]{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-thumbnail.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-thumbnail.mdc-list-item,.mdc-list-item--with-leading-thumbnail.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-thumbnail .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-thumbnail .mdc-list-item__start,.mdc-list-item--with-leading-thumbnail .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-image.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-image.mdc-list-item,.mdc-list-item--with-leading-image.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-image .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-image .mdc-list-item__start,.mdc-list-item--with-leading-image .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-video.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-video.mdc-list-item,.mdc-list-item--with-leading-video.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-video .mdc-list-item__start{margin-left:0;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-video .mdc-list-item__start,.mdc-list-item--with-leading-video .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-checkbox.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-radio.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-radio.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-radio .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-radio .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-switch.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-switch.mdc-list-item,.mdc-list-item--with-leading-switch.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-switch .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-switch .mdc-list-item__start,.mdc-list-item--with-leading-switch .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item,.mdc-list-item--with-trailing-icon.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-icon .mdc-list-item__end,.mdc-list-item--with-trailing-icon .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item,.mdc-list-item--with-trailing-meta.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-trailing-meta .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-radio.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-radio .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-radio .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-switch.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-switch.mdc-list-item,.mdc-list-item--with-trailing-switch.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-switch .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-switch .mdc-list-item__end,.mdc-list-item--with-trailing-switch .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-switch.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item{padding-left:16px;padding-right:16px}[dir=rtl] .mdc-list-item,.mdc-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-list-group .mdc-deprecated-list{padding:0}.mdc-list-group__subheader{margin:calc((3rem - 1.5rem)/2) 16px}.mdc-list-divider{padding:0;background-clip:content-box}.mdc-list-divider.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset{padding-left:16px;padding-right:auto}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset,.mdc-list-divider.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:16px}.mdc-list-divider.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset{padding-left:auto;padding-right:16px}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset,.mdc-list-divider.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset[dir=rtl]{padding-left:16px;padding-right:auto}.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset{padding-left:0px;padding-right:auto}[dir=rtl] .mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:0px}[dir=rtl] .mdc-list-divider,.mdc-list-divider[dir=rtl]{padding:0}.cdk-high-contrast-active a.mdc-list-item--activated::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:"";opacity:0;pointer-events:none}.mat-mdc-list-item>.mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-mdc-focus-indicator::before{content:""}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}'],encapsulation:2,changeDetection:0});new e.OlP("MatList");class be extends Pe{}be.\u0275fac=function(){let G;return function(ze){return(G||(G=e.n5z(be)))(ze||be)}}(),be.\u0275cmp=e.Xpm({type:be,selectors:[["mat-list"]],hostAttrs:[1,"mat-mdc-list","mat-mdc-list-base","mdc-list"],exportAs:["matList"],features:[e._Bn([{provide:Pe,useExisting:be}]),e.qOj],ngContentSelectors:V,decls:1,vars:0,template:function($,ze){1&$&&(e.F$t(),e.Hsn(0))},styles:[Z],encapsulation:2,changeDetection:0});class et extends Le{constructor($,ze,Ue,oe,bt,Be){super($,ze,Ue,oe,bt,Be),this._activated=!1}get activated(){return this._activated}set activated($){this._activated=(0,t.Ig)($)}_getAriaCurrent(){return"A"===this._hostElement.nodeName&&this._activated?"page":null}}et.\u0275fac=function($){return new($||et)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(Pe,8),e.Y36(_.t4),e.Y36(S.Y2,8),e.Y36(e.QbO,8))},et.\u0275cmp=e.Xpm({type:et,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function($,ze,Ue){if(1&$&&(e.Suo(Ue,a,5),e.Suo(Ue,v,5),e.Suo(Ue,C,5)),2&$){let oe;e.iGM(oe=e.CRH())&&(ze._lines=oe),e.iGM(oe=e.CRH())&&(ze._titles=oe),e.iGM(oe=e.CRH())&&(ze._meta=oe)}},viewQuery:function($,ze){if(1&$&&(e.Gf(q,5),e.Gf(te,5)),2&$){let Ue;e.iGM(Ue=e.CRH())&&(ze._unscopedContent=Ue.first),e.iGM(Ue=e.CRH())&&(ze._itemText=Ue.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:11,hostBindings:function($,ze){2&$&&(e.uIk("aria-current",ze._getAriaCurrent()),e.ekj("mdc-list-item--activated",ze.activated)("mdc-list-item--with-leading-avatar",0!==ze._avatars.length)("mdc-list-item--with-leading-icon",0!==ze._icons.length)("mdc-list-item--with-trailing-meta",0!==ze._meta.length)("_mat-animation-noopable",ze._noopAnimations))},inputs:{activated:"activated"},exportAs:["matListItem"],features:[e.qOj],ngContentSelectors:["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"],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($,ze){1&$&&(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 ze._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});const je=new e.OlP("SelectionList");class ye extends Le{constructor($,ze,Ue,oe,bt,Be,nt){super($,ze,Ue,oe,Be,nt),this._selectionList=Ue,this._changeDetectorRef=bt,this.selectedChange=new e.vpe,this.checkboxPosition="after",this._selected=!1,this._inputsInitialized=!1}get color(){return this._color||this._selectionList.color}set color($){this._color=$}get value(){return this._value}set value($){this.selected&&$!==this.value&&this._inputsInitialized&&(this.selected=!1),this._value=$}get selected(){return this._selectionList.selectedOptions.isSelected(this)}set selected($){const ze=(0,t.Ig)($);ze!==this._selected&&(this._setSelected(ze),(ze||this._selectionList.multiple)&&this._selectionList._reportValueChange())}ngOnInit(){const $=this._selectionList;$._value&&$._value.some(Ue=>$.compareWith(this._value,Ue))&&this._setSelected(!0);const ze=this._selected;Promise.resolve().then(()=>{(this._selected||ze)&&(this.selected=!0,this._changeDetectorRef.markForCheck())}),this._inputsInitialized=!0}ngOnDestroy(){super.ngOnDestroy(),this.selected&&Promise.resolve().then(()=>{this.selected=!1})}toggle(){this.selected=!this.selected}focus(){this._hostElement.focus()}getLabel(){return(this._titles?.get(0)?._elementRef.nativeElement||this._unscopedContent?.nativeElement)?.textContent||""}_hasCheckboxAt($){return this._selectionList.multiple&&this._getCheckboxPosition()===$}_hasIconsOrAvatarsAt($){return this._hasProjected("icons",$)||this._hasProjected("avatars",$)}_hasProjected($,ze){return this._getCheckboxPosition()!==ze&&("avatars"===$?0!==this._avatars.length:0!==this._icons.length)}_handleBlur(){this._selectionList._onTouched()}_getCheckboxPosition(){return this.checkboxPosition||"after"}_setSelected($){return $!==this._selected&&(this._selected=$,$?this._selectionList.selectedOptions.select(this):this._selectionList.selectedOptions.deselect(this),this.selectedChange.emit($),this._changeDetectorRef.markForCheck(),!0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_toggleOnInteraction(){this.disabled||(this._selectionList.multiple?(this.selected=!this.selected,this._selectionList._emitChangeEvent([this])):this.selected||(this.selected=!0,this._selectionList._emitChangeEvent([this])))}_setTabindex($){this._hostElement.setAttribute("tabindex",$+"")}}ye.\u0275fac=function($){return new($||ye)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(je),e.Y36(_.t4),e.Y36(e.sBO),e.Y36(S.Y2,8),e.Y36(e.QbO,8))},ye.\u0275cmp=e.Xpm({type:ye,selectors:[["mat-list-option"]],contentQueries:function($,ze,Ue){if(1&$&&(e.Suo(Ue,a,5),e.Suo(Ue,v,5)),2&$){let oe;e.iGM(oe=e.CRH())&&(ze._lines=oe),e.iGM(oe=e.CRH())&&(ze._titles=oe)}},viewQuery:function($,ze){if(1&$&&e.Gf(q,5),2&$){let Ue;e.iGM(Ue=e.CRH())&&(ze._unscopedContent=Ue.first)}},hostAttrs:["role","option",1,"mat-mdc-list-item","mat-mdc-list-option","mdc-list-item"],hostVars:21,hostBindings:function($,ze){1&$&&e.NdJ("blur",function(){return ze._handleBlur()})("click",function(){return ze._toggleOnInteraction()}),2&$&&(e.uIk("aria-selected",ze.selected),e.ekj("mdc-list-item--selected",ze.selected&&!ze._selectionList.multiple)("mdc-list-item--with-leading-avatar",ze._hasProjected("avatars","before"))("mdc-list-item--with-leading-icon",ze._hasProjected("icons","before"))("mdc-list-item--with-trailing-icon",ze._hasProjected("icons","after"))("mat-mdc-list-option-with-trailing-avatar",ze._hasProjected("avatars","after"))("mdc-list-item--with-leading-checkbox",ze._hasCheckboxAt("before"))("mdc-list-item--with-trailing-checkbox",ze._hasCheckboxAt("after"))("mat-accent","primary"!==ze.color&&"warn"!==ze.color)("mat-warn","warn"===ze.color)("_mat-animation-noopable",ze._noopAnimations))},inputs:{checkboxPosition:"checkboxPosition",color:"color",value:"value",selected:"selected"},outputs:{selectedChange:"selectedChange"},exportAs:["matListOption"],features:[e._Bn([{provide:Le,useExisting:ye},{provide:R,useExisting:ye}]),e.qOj],ngContentSelectors:["[matListItemTitle]","[matListItemLine]","*","mat-divider","[matListItemAvatar],[matListItemIcon]"],decls:16,vars:4,consts:[["icons",""],["checkbox",""],["class","mdc-list-item__start mat-mdc-list-option-checkbox-before",4,"ngIf"],[3,"ngIf"],[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],["unscopedContent",""],["class","mdc-list-item__end",4,"ngIf"],[1,"mat-mdc-focus-indicator"],[1,"mdc-checkbox"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","disabled"],[1,"mdc-checkbox__background"],["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"],[1,"mdc-list-item__start","mat-mdc-list-option-checkbox-before"],[3,"ngTemplateOutlet"],[1,"mdc-list-item__end"]],template:function($,ze){1&$&&(e.F$t(y),e.YNc(0,re,1,0,"ng-template",null,0,e.W1O),e.YNc(2,_e,6,4,"ng-template",null,1,e.W1O),e.YNc(4,ae,2,1,"span",2),e.YNc(5,T,1,1,"ng-template",3),e.TgZ(6,"span",4),e.Hsn(7),e.Hsn(8,1),e.TgZ(9,"span",5,6),e.NdJ("cdkObserveContent",function(){return ze._updateItemLines(!0)}),e.Hsn(11,2),e.qZA()(),e.YNc(12,o,2,1,"span",7),e.YNc(13,h,1,1,"ng-template",3),e.Hsn(14,3),e._UZ(15,"div",8)),2&$&&(e.xp6(4),e.Q6J("ngIf",ze._hasCheckboxAt("before")),e.xp6(1),e.Q6J("ngIf",ze._hasIconsOrAvatarsAt("before")),e.xp6(7),e.Q6J("ngIf",ze._hasCheckboxAt("after")),e.xp6(1),e.Q6J("ngIf",ze._hasIconsOrAvatarsAt("after")))},dependencies:[P.wD,p.O5,p.tP],styles:['.mat-mdc-list-option-with-trailing-avatar.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mat-mdc-list-option-with-trailing-avatar.mdc-list-item,.mat-mdc-list-option-with-trailing-avatar.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end,.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{width:40px;height:40px}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{border-radius:50%}.mat-mdc-list-option .mdc-touch-target-wrapper{display:inline}.mat-mdc-list-option .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}.mat-mdc-list-option .mdc-checkbox[hidden]{display:none}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mat-mdc-list-option .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){.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mat-mdc-list-option .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){.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-list-option .mdc-checkbox__mixedmark{margin:0 1px}}.mat-mdc-list-option .mdc-checkbox--disabled{cursor:default;pointer-events:none}.mat-mdc-list-option .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}.mat-mdc-list-option .mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0}.mdc-checkbox--upgraded .mat-mdc-list-option .mdc-checkbox__checkmark{opacity:1}.mat-mdc-list-option .mdc-checkbox__checkmark-path{stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mat-mdc-list-option .mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mat-mdc-list-option .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mat-mdc-list-option .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mat-mdc-list-option .mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mat-mdc-list-option .mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size, 48px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mat-mdc-list-option .mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);width:var(--mdc-checkbox-state-layer-size, 48px);height:var(--mdc-checkbox-state-layer-size, 48px)}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{opacity:1}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mat-mdc-list-option .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0}.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mat-mdc-list-option .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}@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}}@media all and (-ms-high-contrast: none){.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox .mdc-checkbox__focus-ring{display:none}}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__background{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)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__mixedmark{transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .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)}.mat-mdc-list-option:not(._mat-animation-noopable) .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)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mat-mdc-list-option .mdc-checkbox{padding:calc((40px - 18px) / 2);padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);margin:calc((40px - 40px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:rgba(0, 0, 0, 0.38);border-color:var(--mdc-checkbox-disabled-unselected-icon-color, rgba(0, 0, 0, 0.38));background-color:transparent}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:rgba(0, 0, 0, 0.38);background-color:var(--mdc-checkbox-disabled-selected-icon-color, rgba(0, 0, 0, 0.38))}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:#fff;color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:#fff;border-color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:#fff;color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:#fff;border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:#018786;border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:#018786;background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786{0%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:#018786;border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:#018786;background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786{0%,80%{border-color:#018786;border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:#018786;background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__background{top:calc((40px - 18px) / 2);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);left:calc((40px - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control{top:calc((40px - 40px) / 2);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);right:calc((40px - 40px) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);left:calc((40px - 40px) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);width:40px;width:var(--mdc-checkbox-state-layer-size, 40px);height:40px;height:var(--mdc-checkbox-state-layer-size, 40px)}.mat-mdc-list-option .mdc-checkbox__native-control{display:none}.cdk-high-contrast-active .mat-mdc-list-option.mdc-list-item--selected::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 .mat-mdc-list-option.mdc-list-item--selected [dir=rtl]::after{right:auto;left:16px}'],encapsulation:2,changeDetection:0});class Te{}Te.\u0275fac=function($){return new($||Te)},Te.\u0275dir=e.lG2({type:Te,selectors:[["","mat-subheader",""],["","matSubheader",""]],hostAttrs:[1,"mat-mdc-subheader","mdc-list-group__subheader"]});new e.OlP("MatNavList");class Ee extends Pe{constructor(){super(...arguments),this._isNonInteractive=!1}}Ee.\u0275fac=function(){let G;return function(ze){return(G||(G=e.n5z(Ee)))(ze||Ee)}}(),Ee.\u0275cmp=e.Xpm({type:Ee,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-mdc-nav-list","mat-mdc-list-base","mdc-list"],exportAs:["matNavList"],features:[e._Bn([{provide:Pe,useExisting:Ee}]),e.qOj],ngContentSelectors:V,decls:1,vars:0,template:function($,ze){1&$&&(e.F$t(),e.Hsn(0))},styles:[Z],encapsulation:2,changeDetection:0});const we={provide:z.JU,useExisting:(0,e.Gpc)(()=>Me),multi:!0};class de{constructor($,ze,Ue){this.source=$,this.option=ze,this.options=Ue}}class Me extends Pe{constructor($,ze){super(),this._element=$,this._ngZone=ze,this._initialized=!1,this._destroyed=new d.x,this._onChange=Ue=>{},this.selectionChange=new e.vpe,this.color="accent",this.compareWith=(Ue,oe)=>Ue===oe,this._multiple=!0,this.selectedOptions=new k.Ov(this._multiple),this._onTouched=()=>{},this._selectionListDisabled=!1,this._handleFocusout=()=>{setTimeout(()=>{this._containsFocus()||this._resetActiveOption()})},this._handleFocusin=Ue=>{if(this.disabled)return;const oe=this._items.toArray().findIndex(bt=>bt._elementRef.nativeElement.contains(Ue.target));oe>-1?this._setActiveOption(oe):this._resetActiveOption()},this._isNonInteractive=!1}get multiple(){return this._multiple}set multiple($){const ze=(0,t.Ig)($);ze!==this._multiple&&(this._multiple=ze,this.selectedOptions=new k.Ov(this._multiple,this.selectedOptions.selected))}ngAfterViewInit(){this._initialized=!0,this._setupRovingTabindex(),this._ngZone.runOutsideAngular(()=>{this._element.nativeElement.addEventListener("focusin",this._handleFocusin),this._element.nativeElement.addEventListener("focusout",this._handleFocusout)}),this._value&&this._setOptionsFromValues(this._value),this._watchForSelectionChange()}ngOnChanges($){const ze=$.disabled,Ue=$.disableRipple;(Ue&&!Ue.firstChange||ze&&!ze.firstChange)&&this._markOptionsForCheck()}ngOnDestroy(){this._keyManager?.destroy(),this._element.nativeElement.removeEventListener("focusin",this._handleFocusin),this._element.nativeElement.removeEventListener("focusout",this._handleFocusout),this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0}focus($){this._element.nativeElement.focus($)}selectAll(){return this._setAllOptionsSelected(!0)}deselectAll(){return this._setAllOptionsSelected(!1)}_reportValueChange(){if(this.options&&!this._isDestroyed){const $=this._getSelectedOptionValues();this._onChange($),this._value=$}}_emitChangeEvent($){this.selectionChange.emit(new de(this,$[0],$))}writeValue($){this._value=$,this.options&&this._setOptionsFromValues($||[])}setDisabledState($){this.disabled=$}get disabled(){return this._selectionListDisabled}set disabled($){this._selectionListDisabled=(0,t.Ig)($),this._selectionListDisabled&&this._keyManager?.setActiveItem(-1)}registerOnChange($){this._onChange=$}registerOnTouched($){this._onTouched=$}_watchForSelectionChange(){this.selectedOptions.changed.pipe((0,I.R)(this._destroyed)).subscribe($=>{for(let ze of $.added)ze.selected=!0;for(let ze of $.removed)ze.selected=!1;this._containsFocus()||this._resetActiveOption()})}_setOptionsFromValues($){this.options.forEach(ze=>ze._setSelected(!1)),$.forEach(ze=>{const Ue=this.options.find(oe=>!oe.selected&&this.compareWith(oe.value,ze));Ue&&Ue._setSelected(!0)})}_getSelectedOptionValues(){return this.options.filter($=>$.selected).map($=>$.value)}_markOptionsForCheck(){this.options&&this.options.forEach($=>$._markForCheck())}_setAllOptionsSelected($,ze){const Ue=[];return this.options.forEach(oe=>{(!ze||!oe.disabled)&&oe._setSelected($)&&Ue.push(oe)}),Ue.length&&this._reportValueChange(),Ue}get options(){return this._items}_handleKeydown($){const ze=this._keyManager.activeItem;if($.keyCode!==E.K5&&$.keyCode!==E.L_||this._keyManager.isTyping()||!ze||ze.disabled)if($.keyCode===E.A&&this.multiple&&!this._keyManager.isTyping()&&(0,E.Vb)($,"ctrlKey")){const Ue=this.options.some(oe=>!oe.disabled&&!oe.selected);$.preventDefault(),this._emitChangeEvent(this._setAllOptionsSelected(Ue,!0))}else this._keyManager.onKeydown($);else $.preventDefault(),ze._toggleOnInteraction()}_setupRovingTabindex(){this._keyManager=new M.Em(this._items).withHomeAndEnd().withTypeAhead().withWrap().skipPredicate(()=>this.disabled),this._resetActiveOption(),this._keyManager.change.subscribe($=>this._setActiveOption($)),this._items.changes.pipe((0,I.R)(this._destroyed)).subscribe(()=>{const $=this._keyManager.activeItem;(!$||!this._items.toArray().indexOf($))&&this._resetActiveOption()})}_setActiveOption($){this._items.forEach((ze,Ue)=>ze._setTabindex(Ue===$?0:-1)),this._keyManager.updateActiveItem($)}_resetActiveOption(){if(this.disabled)return void this._setActiveOption(-1);const $=this._items.find(ze=>ze.selected&&!ze.disabled)||this._items.first;this._setActiveOption($?this._items.toArray().indexOf($):-1)}_containsFocus(){const $=(0,_.ht)();return $&&this._element.nativeElement.contains($)}}Me.\u0275fac=function($){return new($||Me)(e.Y36(e.SBq),e.Y36(e.R0b))},Me.\u0275cmp=e.Xpm({type:Me,selectors:[["mat-selection-list"]],contentQueries:function($,ze,Ue){if(1&$&&e.Suo(Ue,ye,5),2&$){let oe;e.iGM(oe=e.CRH())&&(ze._items=oe)}},hostAttrs:["role","listbox",1,"mat-mdc-selection-list","mat-mdc-list-base","mdc-list"],hostVars:1,hostBindings:function($,ze){1&$&&e.NdJ("keydown",function(oe){return ze._handleKeydown(oe)}),2&$&&e.uIk("aria-multiselectable",ze.multiple)},inputs:{color:"color",compareWith:"compareWith",multiple:"multiple",disabled:"disabled"},outputs:{selectionChange:"selectionChange"},exportAs:["matSelectionList"],features:[e._Bn([we,{provide:Pe,useExisting:Me},{provide:je,useExisting:Me}]),e.qOj,e.TTD],ngContentSelectors:V,decls:1,vars:0,template:function($,ze){1&$&&(e.F$t(),e.Hsn(0))},styles:[Z],encapsulation:2,changeDetection:0});class ie{}ie.\u0275fac=function($){return new($||ie)},ie.\u0275mod=e.oAB({type:ie}),ie.\u0275inj=e.cJS({imports:[P.Q8,p.ez,S.BQ,S.si,S.us,L.t]})},8589:(Ge,X,f)=>{"use strict";f.d(X,{OP:()=>y,Tx:()=>de,VK:()=>be,p6:()=>we});var e=f(2560),t=f(4218),_=f(8971),S=f(8456),l=f(253),D=f(6646),d=f(7714),P=f(745),p=f(3888),L=f(4874),M=f(2673),k=f(9295),E=f(8951),z=f(116),I=f(6234),V=f(207),Z=f(4666),q=f(7520),te=f(4851),ne=f(2867),le=f(5895),re=f(9107),_e=f(1494);function ae(Me,ie){1&Me&&(e.O4$(),e.TgZ(0,"svg",3),e._UZ(1,"polygon",4),e.qZA())}const ve=[[["mat-icon"]],"*"];function i(Me,ie){if(1&Me){const G=e.EpF();e.TgZ(0,"div",0),e.NdJ("keydown",function(ze){e.CHM(G);const Ue=e.oxw();return e.KtG(Ue._handleKeydown(ze))})("click",function(){e.CHM(G);const ze=e.oxw();return e.KtG(ze.closed.emit("click"))})("@transformMenu.start",function(ze){e.CHM(G);const Ue=e.oxw();return e.KtG(Ue._onAnimationStart(ze))})("@transformMenu.done",function(ze){e.CHM(G);const Ue=e.oxw();return e.KtG(Ue._onAnimationDone(ze))}),e.TgZ(1,"div",1),e.Hsn(2),e.qZA()()}if(2&Me){const G=e.oxw();e.Q6J("id",G.panelId)("ngClass",G._classList)("@transformMenu",G._panelAnimationState),e.uIk("aria-label",G.ariaLabel||null)("aria-labelledby",G.ariaLabelledby||null)("aria-describedby",G.ariaDescribedby||null)}}const m=new e.OlP("MAT_MENU_PANEL"),h=(0,V.Kr)((0,V.Id)(class{}));class y extends h{constructor(ie,G,$,ze,Ue){super(),this._elementRef=ie,this._document=G,this._focusMonitor=$,this._parentMenu=ze,this._changeDetectorRef=Ue,this.role="menuitem",this._hovered=new l.x,this._focused=new l.x,this._highlighted=!1,this._triggersSubmenu=!1,ze?.addItem?.(this)}focus(ie,G){this._focusMonitor&&ie?this._focusMonitor.focusVia(this._getHostElement(),ie,G):this._getHostElement().focus(G),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(ie){this.disabled&&(ie.preventDefault(),ie.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const ie=this._elementRef.nativeElement.cloneNode(!0),G=ie.querySelectorAll("mat-icon, .material-icons");for(let $=0;$<G.length;$++)G[$].remove();return ie.textContent?.trim()||""}_setHighlighted(ie){this._highlighted=ie,this._changeDetectorRef?.markForCheck()}_setTriggersSubmenu(ie){this._triggersSubmenu=ie,this._changeDetectorRef?.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}}y.\u0275fac=function(ie){return new(ie||y)(e.Y36(e.SBq),e.Y36(Z.K0),e.Y36(t.tE),e.Y36(m,8),e.Y36(e.sBO))},y.\u0275cmp=e.Xpm({type:y,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-mdc-focus-indicator","mdc-list-item"],hostVars:8,hostBindings:function(ie,G){1&ie&&e.NdJ("click",function(ze){return G._checkDisabled(ze)})("mouseenter",function(){return G._handleMouseEnter()}),2&ie&&(e.uIk("role",G.role)("tabindex",G._getTabIndex())("aria-disabled",G.disabled)("disabled",G.disabled||null),e.ekj("mat-mdc-menu-item-highlighted",G._highlighted)("mat-mdc-menu-item-submenu-trigger",G._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[e.qOj],attrs:["mat-menu-item",""],ngContentSelectors:["mat-icon","*"],decls:5,vars:3,consts:[[1,"mdc-list-item__primary-text"],["matRipple","",1,"mat-mdc-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-mdc-menu-submenu-icon","viewBox","0 0 5 10","focusable","false",4,"ngIf"],["viewBox","0 0 5 10","focusable","false",1,"mat-mdc-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(ie,G){1&ie&&(e.F$t(ve),e.Hsn(0),e.TgZ(1,"span",0),e.Hsn(2,1),e.qZA(),e._UZ(3,"div",1),e.YNc(4,ae,2,0,"svg",2)),2&ie&&(e.xp6(3),e.Q6J("matRippleDisabled",G.disableRipple||G.disabled)("matRippleTrigger",G._getHostElement()),e.xp6(1),e.Q6J("ngIf",G._triggersSubmenu))},dependencies:[Z.O5,V.wG],encapsulation:2,changeDetection:0});const a=new e.OlP("MatMenuContent");class C{constructor(ie,G,$,ze,Ue,oe,bt){this._template=ie,this._componentFactoryResolver=G,this._appRef=$,this._injector=ze,this._viewContainerRef=Ue,this._document=oe,this._changeDetectorRef=bt,this._attached=new l.x}attach(ie={}){this._portal||(this._portal=new q.UE(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new q.u0(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));const G=this._template.elementRef.nativeElement;G.parentNode.insertBefore(this._outlet.outletElement,G),this._changeDetectorRef?.markForCheck(),this._portal.attach(this._outlet,ie),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}}C.\u0275fac=function(ie){return new(ie||C)(e.Y36(e.Rgc),e.Y36(e._Vd),e.Y36(e.z2F),e.Y36(e.zs3),e.Y36(e.s_b),e.Y36(Z.K0),e.Y36(e.sBO))},C.\u0275dir=e.lG2({type:C});class U extends C{}U.\u0275fac=function(){let Me;return function(G){return(Me||(Me=e.n5z(U)))(G||U)}}(),U.\u0275dir=e.lG2({type:U,selectors:[["ng-template","matMenuContent",""]],features:[e._Bn([{provide:a,useExisting:U}]),e.qOj]});const N={transformMenu:(0,te.X$)("transformMenu",[(0,te.SB)("void",(0,te.oB)({opacity:0,transform:"scale(0.8)"})),(0,te.eR)("void => enter",(0,te.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,te.oB)({opacity:1,transform:"scale(1)"}))),(0,te.eR)("* => void",(0,te.jt)("100ms 25ms linear",(0,te.oB)({opacity:0})))]),fadeInItems:(0,te.X$)("fadeInItems",[(0,te.SB)("showing",(0,te.oB)({opacity:1})),(0,te.eR)("void => *",[(0,te.oB)({opacity:0}),(0,te.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};N.fadeInItems,N.transformMenu;let Le=0;const Ye=new e.OlP("mat-menu-default-options",{providedIn:"root",factory:function $e(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});class Ve{constructor(ie,G,$,ze){this._elementRef=ie,this._ngZone=G,this._defaultOptions=$,this._changeDetectorRef=ze,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new e.n_E,this._classList={},this._panelAnimationState="void",this._animationDone=new l.x,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new e.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+Le++}get xPosition(){return this._xPosition}set xPosition(ie){this._xPosition=ie,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(ie){this._yPosition=ie,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(ie){this._overlapTrigger=(0,_.Ig)(ie)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(ie){this._hasBackdrop=(0,_.Ig)(ie)}set panelClass(ie){const G=this._previousPanelClass;G&&G.length&&G.split(" ").forEach($=>{this._classList[$]=!1}),this._previousPanelClass=ie,ie&&ie.length&&(ie.split(" ").forEach($=>{this._classList[$]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(ie){this.panelClass=ie}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,L.O)(this._directDescendantItems),(0,M.w)(ie=>(0,D.T)(...ie.map(G=>G._focused)))).subscribe(ie=>this._keyManager.updateActiveItem(ie)),this._directDescendantItems.changes.subscribe(ie=>{const G=this._keyManager;if("enter"===this._panelAnimationState&&G.activeItem?._hasFocus()){const $=ie.toArray(),ze=Math.max(0,Math.min($.length-1,G.activeItemIndex||0));$[ze]&&!$[ze].disabled?G.setActiveItem(ze):G.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe((0,L.O)(this._directDescendantItems),(0,M.w)(G=>(0,D.T)(...G.map($=>$._hovered))))}addItem(ie){}removeItem(ie){}_handleKeydown(ie){const G=ie.keyCode,$=this._keyManager;switch(G){case S.hY:(0,S.Vb)(ie)||(ie.preventDefault(),this.closed.emit("keydown"));break;case S.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case S.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(G===S.LH||G===S.JH)&&$.setFocusOrigin("keyboard"),void $.onKeydown(ie)}ie.stopPropagation()}focusFirstItem(ie="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,k.q)(1)).subscribe(()=>{let G=null;if(this._directDescendantItems.length&&(G=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!G||!G.contains(document.activeElement)){const $=this._keyManager;$.setFocusOrigin(ie).setFirstItemActive(),!$.activeItem&&G&&G.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(ie){const G=Math.min(this._baseElevation+ie,24),$=`${this._elevationPrefix}${G}`,ze=Object.keys(this._classList).find(Ue=>Ue.startsWith(this._elevationPrefix));(!ze||ze===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[$]=!0,this._previousElevation=$)}setPositionClasses(ie=this.xPosition,G=this.yPosition){const $=this._classList;$["mat-menu-before"]="before"===ie,$["mat-menu-after"]="after"===ie,$["mat-menu-above"]="above"===G,$["mat-menu-below"]="below"===G,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(ie){this._animationDone.next(ie),this._isAnimating=!1}_onAnimationStart(ie){this._isAnimating=!0,"enter"===ie.toState&&0===this._keyManager.activeItemIndex&&(ie.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,L.O)(this._allItems)).subscribe(ie=>{this._directDescendantItems.reset(ie.filter(G=>G._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}Ve.\u0275fac=function(ie){return new(ie||Ve)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(Ye),e.Y36(e.sBO))},Ve.\u0275dir=e.lG2({type:Ve,contentQueries:function(ie,G,$){if(1&ie&&(e.Suo($,a,5),e.Suo($,y,5),e.Suo($,y,4)),2&ie){let ze;e.iGM(ze=e.CRH())&&(G.lazyContent=ze.first),e.iGM(ze=e.CRH())&&(G._allItems=ze),e.iGM(ze=e.CRH())&&(G.items=ze)}},viewQuery:function(ie,G){if(1&ie&&e.Gf(e.Rgc,5),2&ie){let $;e.iGM($=e.CRH())&&(G.templateRef=$.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"}});class be extends Ve{constructor(ie,G,$,ze){super(ie,G,$,ze),this._elevationPrefix="mat-elevation-z",this._baseElevation=8}}be.\u0275fac=function(ie){return new(ie||be)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(Ye),e.Y36(e.sBO))},be.\u0275cmp=e.Xpm({type:be,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(ie,G){2&ie&&e.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[e._Bn([{provide:m,useExisting:be}]),e.qOj],ngContentSelectors:["*"],decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mdc-menu-surface","mdc-menu-surface--open","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content","mdc-list"]],template:function(ie,G){1&ie&&(e.F$t(),e.YNc(0,i,3,6,"ng-template"))},dependencies:[Z.mk],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-panel.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;position:relative}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item.mdc-list-item{align-items:center}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item .mdc-list-item__primary-text{white-space:normal}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[N.transformMenu,N.fadeInItems]},changeDetection:0});const et=new e.OlP("mat-menu-scroll-strategy");const ye={provide:et,deps:[le.aV],useFactory:function je(Me){return()=>Me.scrollStrategies.reposition()}},Te=(0,re.i$)({passive:!0});class Ee{constructor(ie,G,$,ze,Ue,oe,bt,Be,nt){this._overlay=ie,this._element=G,this._viewContainerRef=$,this._menuItemInstance=oe,this._dir=bt,this._focusMonitor=Be,this._ngZone=nt,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=d.w0.EMPTY,this._hoverSubscription=d.w0.EMPTY,this._menuCloseSubscription=d.w0.EMPTY,this._handleTouchStart=$t=>{(0,t.yG)($t)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new e.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new e.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=ze,this._parentMaterialMenu=Ue instanceof Ve?Ue:void 0,G.nativeElement.addEventListener("touchstart",this._handleTouchStart,Te)}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(ie){this.menu=ie}get menu(){return this._menu}set menu(ie){ie!==this._menu&&(this._menu=ie,this._menuCloseSubscription.unsubscribe(),ie&&(this._parentMaterialMenu,this._menuCloseSubscription=ie.close.subscribe(G=>{this._destroyMenu(G),("click"===G||"tab"===G)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(G)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Te),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 ie=this.menu;if(this._menuOpen||!ie)return;const G=this._createOverlay(ie),$=G.getConfig(),ze=$.positionStrategy;this._setPosition(ie,ze),$.hasBackdrop=null==ie.hasBackdrop?!this.triggersSubmenu():ie.hasBackdrop,G.attach(this._getPortal(ie)),ie.lazyContent&&ie.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(ie),ie instanceof Ve&&(ie._startAnimation(),ie._directDescendantItems.changes.pipe((0,E.R)(ie.close)).subscribe(()=>{ze.withLockedPosition(!1).reapplyLastPosition(),ze.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(ie,G){this._focusMonitor&&ie?this._focusMonitor.focusVia(this._element,ie,G):this._element.nativeElement.focus(G)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(ie){if(!this._overlayRef||!this.menuOpen)return;const G=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===ie||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,G instanceof Ve?(G._resetAnimation(),G.lazyContent?G._animationDone.pipe((0,z.h)($=>"void"===$.toState),(0,k.q)(1),(0,E.R)(G.lazyContent._attached)).subscribe({next:()=>G.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),G?.lazyContent?.detach())}_initMenu(ie){ie.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,ie.direction=this.dir,this._setMenuElevation(ie),ie.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(ie){if(ie.setElevation){let G=0,$=ie.parentMenu;for(;$;)G++,$=$.parentMenu;ie.setElevation(G)}}_setIsMenuOpen(ie){this._menuOpen=ie,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(ie)}_createOverlay(ie){if(!this._overlayRef){const G=this._getOverlayConfig(ie);this._subscribeToPositions(ie,G.positionStrategy),this._overlayRef=this._overlay.create(G),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(ie){return new le.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:ie.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:ie.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(ie,G){ie.setPositionClasses&&G.positionChanges.subscribe($=>{const ze="start"===$.connectionPair.overlayX?"after":"before",Ue="top"===$.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>ie.setPositionClasses(ze,Ue)):ie.setPositionClasses(ze,Ue)})}_setPosition(ie,G){let[$,ze]="before"===ie.xPosition?["end","start"]:["start","end"],[Ue,oe]="above"===ie.yPosition?["bottom","top"]:["top","bottom"],[bt,Be]=[Ue,oe],[nt,$t]=[$,ze],gt=0;if(this.triggersSubmenu()){if($t=$="before"===ie.xPosition?"start":"end",ze=nt="end"===$?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const rt=this._parentMaterialMenu.items.first;this._parentInnerPadding=rt?rt._getHostElement().offsetTop:0}gt="bottom"===Ue?this._parentInnerPadding:-this._parentInnerPadding}}else ie.overlapTrigger||(bt="top"===Ue?"bottom":"top",Be="top"===oe?"bottom":"top");G.withPositions([{originX:$,originY:bt,overlayX:nt,overlayY:Ue,offsetY:gt},{originX:ze,originY:bt,overlayX:$t,overlayY:Ue,offsetY:gt},{originX:$,originY:Be,overlayX:nt,overlayY:oe,offsetY:-gt},{originX:ze,originY:Be,overlayX:$t,overlayY:oe,offsetY:-gt}])}_menuClosingActions(){const ie=this._overlayRef.backdropClick(),G=this._overlayRef.detachments(),$=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,P.of)(),ze=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,z.h)(Ue=>Ue!==this._menuItemInstance),(0,z.h)(()=>this._menuOpen)):(0,P.of)();return(0,D.T)(ie,$,ze,G)}_handleMousedown(ie){(0,t.X6)(ie)||(this._openedBy=0===ie.button?"mouse":void 0,this.triggersSubmenu()&&ie.preventDefault())}_handleKeydown(ie){const G=ie.keyCode;(G===S.K5||G===S.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(G===S.SV&&"ltr"===this.dir||G===S.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(ie){this.triggersSubmenu()?(ie.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,z.h)(ie=>ie===this._menuItemInstance&&!ie.disabled),(0,I.g)(0,p.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Ve&&this.menu._isAnimating?this.menu._animationDone.pipe((0,k.q)(1),(0,I.g)(0,p.E),(0,E.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(ie){return(!this._portal||this._portal.templateRef!==ie.templateRef)&&(this._portal=new q.UE(ie.templateRef,this._viewContainerRef)),this._portal}}Ee.\u0275fac=function(ie){return new(ie||Ee)(e.Y36(le.aV),e.Y36(e.SBq),e.Y36(e.s_b),e.Y36(et),e.Y36(m,8),e.Y36(y,10),e.Y36(ne.Is,8),e.Y36(t.tE),e.Y36(e.R0b))},Ee.\u0275dir=e.lG2({type:Ee,hostVars:3,hostBindings:function(ie,G){1&ie&&e.NdJ("click",function(ze){return G._handleClick(ze)})("mousedown",function(ze){return G._handleMousedown(ze)})("keydown",function(ze){return G._handleKeydown(ze)}),2&ie&&e.uIk("aria-haspopup",G.menu?"menu":null)("aria-expanded",G.menuOpen)("aria-controls",G.menuOpen?G.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"}});class we extends Ee{}we.\u0275fac=function(){let Me;return function(G){return(Me||(Me=e.n5z(we)))(G||we)}}(),we.\u0275dir=e.lG2({type:we,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[e.qOj]});class de{}de.\u0275fac=function(ie){return new(ie||de)},de.\u0275mod=e.oAB({type:de}),de.\u0275inj=e.cJS({providers:[ye],imports:[Z.ez,V.si,V.BQ,le.U8,_e.ZD,V.BQ]})},6060:(Ge,X,f)=>{"use strict";f.d(X,{NW:()=>ae,TU:()=>ve,ye:()=>V});var e=f(4666),t=f(2560),_=f(253),S=f(4522),l=f(7371),D=f(6896),d=f(207),P=f(8971),p=f(5074);function L(T,i){if(1&T&&(t.TgZ(0,"mat-option",19),t._uU(1),t.qZA()),2&T){const o=i.$implicit;t.Q6J("value",o),t.xp6(1),t.hij(" ",o," ")}}function M(T,i){if(1&T){const o=t.EpF();t.TgZ(0,"mat-form-field",16)(1,"mat-select",17),t.NdJ("selectionChange",function(h){t.CHM(o);const y=t.oxw(2);return t.KtG(y._changePageSize(h.value))}),t.YNc(2,L,2,2,"mat-option",18),t.qZA()()}if(2&T){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 k(T,i){if(1&T&&(t.TgZ(0,"div",20),t._uU(1),t.qZA()),2&T){const o=t.oxw(2);t.xp6(1),t.Oqu(o.pageSize)}}function E(T,i){if(1&T&&(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,k,2,1,"div",15),t.qZA()),2&T){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 z(T,i){if(1&T){const o=t.EpF();t.TgZ(0,"button",21),t.NdJ("click",function(){t.CHM(o);const h=t.oxw();return t.KtG(h.firstPage())}),t.O4$(),t.TgZ(1,"svg",7),t._UZ(2,"path",22),t.qZA()()}if(2&T){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 I(T,i){if(1&T){const o=t.EpF();t.O4$(),t.kcU(),t.TgZ(0,"button",23),t.NdJ("click",function(){t.CHM(o);const h=t.oxw();return t.KtG(h.lastPage())}),t.O4$(),t.TgZ(1,"svg",7),t._UZ(2,"path",24),t.qZA()()}if(2&T){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)}}class V{constructor(){this.changes=new _.x,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(i,o,m)=>{if(0==m||0==o)return`0 of ${m}`;const h=i*o;return`${h+1} \u2013 ${h<(m=Math.max(m,0))?Math.min(h+o,m):h+o} of ${m}`}}}V.\u0275fac=function(i){return new(i||V)},V.\u0275prov=t.Yz7({token:V,factory:V.\u0275fac,providedIn:"root"});const q={provide:V,deps:[[new t.FiY,new t.tp0,V]],useFactory:function Z(T){return T||new V}};const le=new t.OlP("MAT_PAGINATOR_DEFAULT_OPTIONS"),re=(0,d.Id)((0,d.dB)(class{}));class _e extends re{constructor(i,o,m){if(super(),this._intl=i,this._changeDetectorRef=o,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.selectConfig={},this.page=new t.vpe,this._intlChanges=i.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),m){const{pageSize:h,pageSizeOptions:y,hidePageSize:A,showFirstLastButtons:R}=m;null!=h&&(this._pageSize=h),null!=y&&(this._pageSizeOptions=y),null!=A&&(this._hidePageSize=A),null!=R&&(this._showFirstLastButtons=R)}}get pageIndex(){return this._pageIndex}set pageIndex(i){this._pageIndex=Math.max((0,P.su)(i),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(i){this._length=(0,P.su)(i),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(i){this._pageSize=Math.max((0,P.su)(i),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(i){this._pageSizeOptions=(i||[]).map(o=>(0,P.su)(o)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(i){this._hidePageSize=(0,P.Ig)(i)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(i){this._showFirstLastButtons=(0,P.Ig)(i)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const i=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(i)}previousPage(){if(!this.hasPreviousPage())return;const i=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(i)}firstPage(){if(!this.hasPreviousPage())return;const i=this.pageIndex;this.pageIndex=0,this._emitPageEvent(i)}lastPage(){if(!this.hasNextPage())return;const i=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(i)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const i=this.getNumberOfPages()-1;return this.pageIndex<i&&0!=this.pageSize}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(i){const o=this.pageIndex*this.pageSize,m=this.pageIndex;this.pageIndex=Math.floor(o/i)||0,this.pageSize=i,this._emitPageEvent(m)}_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((i,o)=>i-o),this._changeDetectorRef.markForCheck())}_emitPageEvent(i){this.page.emit({previousPageIndex:i,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}_e.\u0275fac=function(i){t.$Z()},_e.\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]});let he=0;class ae extends _e{constructor(i,o,m){super(i,o,m),this._pageSizeLabelId="mat-paginator-page-size-label-"+he++,this._formFieldAppearance=m?.formFieldAppearance||"outline"}}ae.\u0275fac=function(i){return new(i||ae)(t.Y36(V),t.Y36(t.sBO),t.Y36(le,8))},ae.\u0275cmp=t.Xpm({type:ae,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",1,"mat-mdc-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-page-size-label",3,"id"],["class","mat-mdc-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-mdc-paginator-page-size-value",4,"ngIf"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","aria-labelledby","panelClass","disableOptionCentering","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-mdc-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(i,o){1&i&&(t.TgZ(0,"div",0)(1,"div",1),t.YNc(2,E,5,4,"div",2),t.TgZ(3,"div",3)(4,"div",4),t._uU(5),t.qZA(),t.YNc(6,z,3,5,"button",5),t.TgZ(7,"button",6),t.NdJ("click",function(){return o.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 o.nextPage()}),t.O4$(),t.TgZ(11,"svg",7),t._UZ(12,"path",10),t.qZA()(),t.YNc(13,I,3,5,"button",11),t.qZA()()()),2&i&&(t.xp6(2),t.Q6J("ngIf",!o.hidePageSize),t.xp6(3),t.hij(" ",o._intl.getRangeLabel(o.pageIndex,o.pageSize,o.length)," "),t.xp6(1),t.Q6J("ngIf",o.showFirstLastButtons),t.xp6(1),t.Q6J("matTooltip",o._intl.previousPageLabel)("matTooltipDisabled",o._previousButtonsDisabled())("matTooltipPosition","above")("disabled",o._previousButtonsDisabled()),t.uIk("aria-label",o._intl.previousPageLabel),t.xp6(3),t.Q6J("matTooltip",o._intl.nextPageLabel)("matTooltipDisabled",o._nextButtonsDisabled())("matTooltipPosition","above")("disabled",o._nextButtonsDisabled()),t.uIk("aria-label",o._intl.nextPageLabel),t.xp6(3),t.Q6J("ngIf",o.showFirstLastButtons))},dependencies:[e.sg,e.O5,S.RK,p.KE,l.gD,d.ey,D.gM],styles:[".mat-mdc-paginator{display:block}.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-paginator .mat-mdc-select{line-height:1.5}.mat-mdc-paginator-outer-container{display:flex}.mat-mdc-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-mdc-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-mdc-paginator-page-size{margin-right:0;margin-left:8px}.mat-mdc-paginator-page-size-label{margin:0 4px}.mat-mdc-paginator-page-size-select{margin:0 4px;width:84px}.mat-mdc-paginator-range-label{margin:0 32px 0 24px}.mat-mdc-paginator-range-actions{display:flex;align-items:center}.mat-mdc-paginator-icon{display:inline-block;width:28px}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon,.cdk-high-contrast-active .mat-mdc-paginator-icon{fill:currentColor;fill:CanvasText}.cdk-high-contrast-active .mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0});class ve{}ve.\u0275fac=function(i){return new(i||ve)},ve.\u0275mod=t.oAB({type:ve}),ve.\u0275inj=t.cJS({providers:[q],imports:[e.ez,S.ot,l.LD,D.AV]})},1294:(Ge,X,f)=>{"use strict";f.d(X,{Cv:()=>M,pW:()=>p});var e=f(2560),t=f(4666),_=f(207),S=f(8971);const l=new e.OlP("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");new e.OlP("mat-progress-bar-location",{providedIn:"root",factory:function d(){const k=(0,e.f3M)(t.K0),E=k?k.location:null;return{getPathname:()=>E?E.pathname+E.search:""}}});const P=(0,_.pj)(class{constructor(k){this._elementRef=k}},"primary");class p extends P{constructor(E,z,I,V,Z){super(E),this._ngZone=z,this._changeDetectorRef=I,this._animationMode=V,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new e.vpe,this._mode="determinate",this._transitionendHandler=q=>{0===this.animationEnd.observers.length||!q.target||!q.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"===V,Z&&(Z.color&&(this.color=this.defaultColor=Z.color),this.mode=Z.mode||this.mode)}get value(){return this._value}set value(E){this._value=L((0,S.su)(E)),this._changeDetectorRef.markForCheck()}get bufferValue(){return this._bufferValue||0}set bufferValue(E){this._bufferValue=L((0,S.su)(E)),this._changeDetectorRef.markForCheck()}get mode(){return this._mode}set mode(E){this._mode=E,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}}function L(k,E=0,z=100){return Math.max(E,Math.min(z,k))}p.\u0275fac=function(E){return new(E||p)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(e.QbO,8),e.Y36(l,8))},p.\u0275cmp=e.Xpm({type:p,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(E,z){2&E&&(e.uIk("aria-valuenow",z._isIndeterminate()?null:z.value)("mode",z.mode),e.ekj("_mat-animation-noopable",z._isNoopAnimation)("mdc-linear-progress--animation-ready",!z._isNoopAnimation)("mdc-linear-progress--indeterminate",z._isIndeterminate()))},inputs:{color:"color",value:"value",bufferValue:"bufferValue",mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[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(E,z){1&E&&(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&E&&(e.xp6(1),e.Udp("flex-basis",z._getBufferBarFlexBasis()),e.xp6(2),e.Udp("transform",z._getPrimaryBarTransform()))},styles:["@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half, 83.67142%))}100%{transform:translateX(var(--mdc-linear-progress-primary-full, 200.611057%))}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter, 37.651913%))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half, 84.386165%))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full, 160.277782%))}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(-10px)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half-neg, -83.67142%))}100%{transform:translateX(var(--mdc-linear-progress-primary-full-neg, -200.611057%))}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter-neg, -37.651913%))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half-neg, -84.386165%))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full-neg, -160.277782%))}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}@media screen and (forced-colors: active){.mdc-linear-progress{outline-color:CanvasText}}.mdc-linear-progress__bar{position:absolute;width:100%;height:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid}.mdc-linear-progress__buffer{display:flex;position:absolute;width:100%;height:100%}.mdc-linear-progress__buffer-dots{background-repeat:repeat-x;flex:auto;transform:rotate(180deg);animation:mdc-linear-progress-buffering 250ms infinite linear}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__bar{right:0;-webkit-transform-origin:center right;transform-origin:center right}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__buffer-dots,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}.mdc-linear-progress--closed{opacity:0}.mdc-linear-progress--closed-animation-off .mdc-linear-progress__buffer-dots{animation:none}.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar,.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar .mdc-linear-progress__bar-inner{animation:none}.mdc-linear-progress__bar-inner{border-color:var(--mdc-linear-progress-active-indicator-color, #6200ee)}.mdc-linear-progress__buffer-dots{background-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23e6e6e6'/%3E%3C/svg%3E\")}.mdc-linear-progress__buffer-bar{background-color:#e6e6e6}.mdc-linear-progress{height:var(--mdc-linear-progress-track-height, 4px)}.mdc-linear-progress__bar-inner{border-top-width:var(--mdc-linear-progress-track-height, 4px)}.mdc-linear-progress__buffer-dots{background-size:10px var(--mdc-linear-progress-track-height, 4px)}.mat-mdc-progress-bar{display:block}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}"],encapsulation:2,changeDetection:0});class M{}M.\u0275fac=function(E){return new(E||M)},M.\u0275mod=e.oAB({type:M}),M.\u0275inj=e.cJS({imports:[_.BQ]})},1708:(Ge,X,f)=>{"use strict";f.d(X,{Cq:()=>z,Ou:()=>k});var e=f(2560),t=f(207),_=f(8971),S=f(4666);const l=["determinateSpinner"];function D(I,V){if(1&I&&(e.O4$(),e.TgZ(0,"svg",11),e._UZ(1,"circle",12),e.qZA()),2&I){const Z=e.oxw();e.uIk("viewBox",Z._viewBox()),e.xp6(1),e.Udp("stroke-dasharray",Z._strokeCircumference(),"px")("stroke-dashoffset",Z._strokeCircumference()/2,"px")("stroke-width",Z._circleStrokeWidth(),"%"),e.uIk("r",Z._circleRadius())}}const d=(0,t.pj)(class{constructor(I){this._elementRef=I}},"primary"),P=new e.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function p(){return{diameter:L}}});const L=100;class k extends d{constructor(V,Z,q){super(V),this.mode="mat-spinner"===this._elementRef.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate",this._value=0,this._diameter=L,this._noopAnimations="NoopAnimations"===Z&&!!q&&!q._forceAnimations,q&&(q.color&&(this.color=this.defaultColor=q.color),q.diameter&&(this.diameter=q.diameter),q.strokeWidth&&(this.strokeWidth=q.strokeWidth))}get value(){return"determinate"===this.mode?this._value:0}set value(V){this._value=Math.max(0,Math.min(100,(0,_.su)(V)))}get diameter(){return this._diameter}set diameter(V){this._diameter=(0,_.su)(V)}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(V){this._strokeWidth=(0,_.su)(V)}_circleRadius(){return(this.diameter-10)/2}_viewBox(){const V=2*this._circleRadius()+this.strokeWidth;return`0 0 ${V} ${V}`}_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}}k.\u0275fac=function(V){return new(V||k)(e.Y36(e.SBq),e.Y36(e.QbO,8),e.Y36(P))},k.\u0275cmp=e.Xpm({type:k,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(V,Z){if(1&V&&e.Gf(l,5),2&V){let q;e.iGM(q=e.CRH())&&(Z._determinateCircle=q.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:12,hostBindings:function(V,Z){2&V&&(e.uIk("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===Z.mode?Z.value:null)("mode",Z.mode),e.Udp("width",Z.diameter,"px")("height",Z.diameter,"px"),e.ekj("_mat-animation-noopable",Z._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===Z.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(V,Z){if(1&V&&(e.YNc(0,D,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&V){const q=e.MAs(1);e.xp6(4),e.uIk("viewBox",Z._viewBox()),e.xp6(1),e.Udp("stroke-dasharray",Z._strokeCircumference(),"px")("stroke-dashoffset",Z._strokeDashOffset(),"px")("stroke-width",Z._circleStrokeWidth(),"%"),e.uIk("r",Z._circleRadius()),e.xp6(4),e.Q6J("ngTemplateOutlet",q),e.xp6(2),e.Q6J("ngTemplateOutlet",q),e.xp6(2),e.Q6J("ngTemplateOutlet",q)}},dependencies:[S.tP],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color, transparent)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}"],encapsulation:2,changeDetection:0});class z{}z.\u0275fac=function(V){return new(V||z)},z.\u0275mod=e.oAB({type:z}),z.\u0275inj=e.cJS({imports:[S.ez,t.BQ]})},2922:(Ge,X,f)=>{"use strict";f.d(X,{Fk:()=>re,U0:()=>le,VQ:()=>ne});var e=f(2560),t=f(207),_=f(4218),S=f(8971),l=f(1755),D=f(2508),d=f(4666);const P=["input"];let L=0;class M{constructor(he,ae){this.source=he,this.value=ae}}const k={provide:D.JU,useExisting:(0,e.Gpc)(()=>ne),multi:!0},E=new e.OlP("MatRadioGroup"),z=new e.OlP("mat-radio-default-options",{providedIn:"root",factory:function I(){return{color:"accent"}}});class V{constructor(he){this._changeDetector=he,this._value=null,this._name="mat-radio-group-"+L++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new e.vpe}get name(){return this._name}set name(he){this._name=he,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(he){this._labelPosition="before"===he?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(he){this._value!==he&&(this._value=he,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(he){this._selected=he,this.value=he?he.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(he){this._disabled=(0,S.Ig)(he),this._markRadiosForCheck()}get required(){return this._required}set required(he){this._required=(0,S.Ig)(he),this._markRadiosForCheck()}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(he=>{he.name=this.name,he._markForCheck()})}_updateSelectedRadioFromValue(){const he=null!==this._selected&&this._selected.value===this._value;this._radios&&!he&&(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(he=>he._markForCheck())}writeValue(he){this.value=he,this._changeDetector.markForCheck()}registerOnChange(he){this._controlValueAccessorChangeFn=he}registerOnTouched(he){this.onTouched=he}setDisabledState(he){this.disabled=he,this._changeDetector.markForCheck()}}V.\u0275fac=function(he){return new(he||V)(e.Y36(e.sBO))},V.\u0275dir=e.lG2({type:V,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}});const q=(0,t.Kr)((0,t.sb)(class Z{constructor(he){this._elementRef=he}}));class te extends q{constructor(he,ae,ve,T,i,o,m,h){super(ae),this._changeDetector=ve,this._focusMonitor=T,this._radioDispatcher=i,this._providerOverride=m,this._uniqueId="mat-radio-"+ ++L,this.id=this._uniqueId,this.change=new e.vpe,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=he,this._noopAnimations="NoopAnimations"===o,h&&(this.tabIndex=(0,S.su)(h,0))}get checked(){return this._checked}set checked(he){const ae=(0,S.Ig)(he);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(he){this._value!==he&&(this._value=he,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===he),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(he){this._labelPosition=he}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(he){this._setDisabled((0,S.Ig)(he))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(he){this._required=(0,S.Ig)(he)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(he){this._color=he}get inputId(){return`${this.id||this._uniqueId}-input`}focus(he,ae){ae?this._focusMonitor.focusVia(this._inputElement,ae,he):this._inputElement.nativeElement.focus(he)}_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((he,ae)=>{he!==this.id&&ae===this.name&&(this.checked=!1)})}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(he=>{!he&&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(he){he.stopPropagation()}_onInputInteraction(he){if(he.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())}}_setDisabled(he){this._disabled!==he&&(this._disabled=he,this._changeDetector.markForCheck())}_updateTabIndex(){const he=this.radioGroup;let ae;if(ae=he&&he.selected&&!this.disabled?he.selected===this?this.tabIndex:-1:this.tabIndex,ae!==this._previousTabIndex){const ve=this._inputElement?.nativeElement;ve&&(ve.setAttribute("tabindex",ae+""),this._previousTabIndex=ae)}}}te.\u0275fac=function(he){e.$Z()},te.\u0275dir=e.lG2({type:te,viewQuery:function(he,ae){if(1&he&&e.Gf(P,5),2&he){let ve;e.iGM(ve=e.CRH())&&(ae._inputElement=ve.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]});class ne extends V{}ne.\u0275fac=function(){let _e;return function(ae){return(_e||(_e=e.n5z(ne)))(ae||ne)}}(),ne.\u0275dir=e.lG2({type:ne,selectors:[["mat-radio-group"]],contentQueries:function(he,ae,ve){if(1&he&&e.Suo(ve,le,5),2&he){let T;e.iGM(T=e.CRH())&&(ae._radios=T)}},hostAttrs:["role","radiogroup",1,"mat-mdc-radio-group"],exportAs:["matRadioGroup"],features:[e._Bn([k,{provide:E,useExisting:ne}]),e.qOj]});class le extends te{constructor(he,ae,ve,T,i,o,m,h){super(he,ae,ve,T,i,o,m,h)}}le.\u0275fac=function(he){return new(he||le)(e.Y36(E,8),e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(_.tE),e.Y36(l.A8),e.Y36(e.QbO,8),e.Y36(z,8),e.$8M("tabindex"))},le.\u0275cmp=e.Xpm({type:le,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-mdc-radio-button"],hostVars:15,hostBindings:function(he,ae){1&he&&e.NdJ("focus",function(){return ae._inputElement.nativeElement.focus()}),2&he&&(e.uIk("id",ae.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),e.ekj("mat-primary","primary"===ae.color)("mat-accent","accent"===ae.color)("mat-warn","warn"===ae.color)("mat-mdc-radio-checked",ae.checked)("_mat-animation-noopable",ae._noopAnimations))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[e.qOj],ngContentSelectors:["*"],decls:13,vars:17,consts:[[1,"mdc-form-field"],["formField",""],[1,"mdc-radio"],[1,"mat-mdc-radio-touch-target",3,"click"],["type","radio",1,"mdc-radio__native-control",3,"id","checked","disabled","required","change"],["input",""],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner-circle"],["mat-ripple","",1,"mat-radio-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[3,"for"]],template:function(he,ae){if(1&he&&(e.F$t(),e.TgZ(0,"div",0,1)(2,"div",2)(3,"div",3),e.NdJ("click",function(T){return ae._onInputInteraction(T)}),e.qZA(),e.TgZ(4,"input",4,5),e.NdJ("change",function(T){return ae._onInputInteraction(T)}),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&he){const ve=e.MAs(1);e.ekj("mdc-form-field--align-end","before"==ae.labelPosition),e.xp6(2),e.ekj("mdc-radio--disabled",ae.disabled),e.xp6(2),e.Q6J("id",ae.inputId)("checked",ae.checked)("disabled",ae.disabled)("required",ae.required),e.uIk("name",ae.name)("value",ae.value)("aria-label",ae.ariaLabel)("aria-labelledby",ae.ariaLabelledby)("aria-describedby",ae.ariaDescribedby),e.xp6(5),e.Q6J("matRippleTrigger",ve)("matRippleDisabled",ae._isRippleDisabled())("matRippleCentered",!0),e.xp6(2),e.Q6J("for",ae.inputId)}},dependencies:[t.wG],styles:['.mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color}.mdc-radio[hidden]{display:none}.mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:"";transition:opacity 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%;transition:border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%;transition:transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1}.mdc-radio--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-radio--touch .mdc-radio__native-control{top:calc((40px - 48px) / 2);right:calc((40px - 48px) / 2);left:calc((40px - 48px) / 2);width:48px;height:48px}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{border-color:CanvasText}}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{border-color:CanvasText}}.mdc-radio__native-control:checked+.mdc-radio__background,.mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio--disabled{cursor:default;pointer-events:none}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5);transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:disabled+.mdc-radio__background,[aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background{cursor:default}.mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12;transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mat-mdc-radio-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-radio-button .mdc-radio{padding:calc((var(--mdc-radio-state-layer-size, 40px) - 20px) / 2)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-selected-icon-color, #000)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-disabled-selected-icon-color, #000)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{opacity:var(--mdc-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{opacity:var(--mdc-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-unselected-icon-color, #000)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{opacity:var(--mdc-radio-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-radio-button .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-focus-icon-color, #6200ee)}.mat-mdc-radio-button .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-focus-icon-color, #6200ee)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-hover-icon-color, #6200ee)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-hover-icon-color, #6200ee)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-icon-color, #6200ee)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-icon-color, #6200ee)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-pressed-icon-color, #6200ee)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-pressed-icon-color, #6200ee)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-hover-icon-color, #000)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-icon-color, #000)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-pressed-icon-color, #000)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{top:calc(-1 * (var(--mdc-radio-state-layer-size, 40px) - 20px) / 2);left:calc(-1 * (var(--mdc-radio-state-layer-size, 40px) - 20px) / 2);width:var(--mdc-radio-state-layer-size, 40px);height:var(--mdc-radio-state-layer-size, 40px)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control{top:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);right:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);left:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);width:var(--mdc-radio-state-layer-size, 40px);height:var(--mdc-radio-state-layer-size, 40px)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{background-color:var(--mat-mdc-radio-ripple-color, transparent)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:not([disabled]):not(:focus)~.mdc-radio__background::before{opacity:.04;transform:scale(1)}.mat-mdc-radio-button.mat-mdc-radio-checked .mdc-radio__background::before{background-color:var(--mat-mdc-radio-checked-ripple-color, transparent)}.mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element{background-color:var(--mat-mdc-radio-checked-ripple-color, transparent)}.mat-mdc-radio-button .mat-radio-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:50%}.mat-mdc-radio-button .mat-radio-ripple .mat-ripple-element{opacity:.14}.mat-mdc-radio-button .mat-radio-ripple::before{border-radius:50%}.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__background::before,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__outer-circle,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__inner-circle{transition:none !important}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:focus:enabled:not(:checked)~.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-focus-icon-color, black)}.mat-mdc-radio-button.cdk-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-radio-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}[dir=rtl] .mat-mdc-radio-touch-target{left:0;right:50%;transform:translate(50%, -50%)}'],encapsulation:2,changeDetection:0});class re{}re.\u0275fac=function(he){return new(he||re)},re.\u0275mod=e.oAB({type:re}),re.\u0275inj=e.cJS({imports:[t.BQ,d.ez,t.si,t.BQ]})},7371:(Ge,X,f)=>{"use strict";f.d(X,{$L:()=>be,LD:()=>je,gD:()=>et});var e=f(5895),t=f(4666),_=f(2560),S=f(207),l=f(5074),D=f(1494),d=f(4218),P=f(2867),p=f(8971),L=f(1755),M=f(8456),k=f(2508),E=f(253),z=f(1954),I=f(6646),V=f(4874),Z=f(2673),q=f(9295),te=f(116),ne=f(635),le=f(8977),re=f(8951),_e=f(4851);const he=["trigger"],ae=["panel"];function ve(ye,Te){if(1&ye&&(_.TgZ(0,"span",10),_._uU(1),_.qZA()),2&ye){const He=_.oxw();_.xp6(1),_.Oqu(He.placeholder)}}function T(ye,Te){if(1&ye&&(_.TgZ(0,"span",14),_._uU(1),_.qZA()),2&ye){const He=_.oxw(2);_.xp6(1),_.Oqu(He.triggerValue)}}function i(ye,Te){1&ye&&_.Hsn(0,0,["*ngSwitchCase","true"])}function o(ye,Te){if(1&ye&&(_.TgZ(0,"span",11),_.YNc(1,T,2,1,"span",12),_.YNc(2,i,1,0,"ng-content",13),_.qZA()),2&ye){const He=_.oxw();_.Q6J("ngSwitch",!!He.customTrigger),_.xp6(2),_.Q6J("ngSwitchCase",!0)}}function m(ye,Te){if(1&ye){const He=_.EpF();_.O4$(),_.kcU(),_.TgZ(0,"div",15,16),_.NdJ("@transformPanel.done",function(we){_.CHM(He);const de=_.oxw();return _.KtG(de._panelDoneAnimatingStream.next(we.toState))})("keydown",function(we){_.CHM(He);const de=_.oxw();return _.KtG(de._handleKeydown(we))}),_.Hsn(2,1),_.qZA()}if(2&ye){const He=_.oxw();_.Gre("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",He._getPanelTheme(),""),_.Q6J("ngClass",He.panelClass)("@transformPanel","showing"),_.uIk("id",He.id+"-panel")("aria-multiselectable",He.multiple)("aria-label",He.ariaLabel||null)("aria-labelledby",He._getPanelAriaLabelledby())}}const h=[[["mat-select-trigger"]],"*"],A={transformPanelWrap:(0,_e.X$)("transformPanelWrap",[(0,_e.eR)("* => void",(0,_e.IO)("@transformPanel",[(0,_e.pV)()],{optional:!0}))]),transformPanel:(0,_e.X$)("transformPanel",[(0,_e.SB)("void",(0,_e.oB)({opacity:0,transform:"scale(1, 0.8)"})),(0,_e.eR)("void => showing",(0,_e.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,_e.oB)({opacity:1,transform:"scale(1, 1)"}))),(0,_e.eR)("* => void",(0,_e.jt)("100ms linear",(0,_e.oB)({opacity:0})))])};let C=0;const U=new _.OlP("mat-select-scroll-strategy");const Q=new _.OlP("MAT_SELECT_CONFIG"),Pe={provide:U,deps:[e.aV],useFactory:function N(ye){return()=>ye.scrollStrategies.reposition()}},Le=new _.OlP("MatSelectTrigger");class Ye{constructor(Te,He){this.source=Te,this.value=He}}const $e=(0,S.Kr)((0,S.sb)((0,S.Id)((0,S.FD)(class{constructor(ye,Te,He,Ee,we){this._elementRef=ye,this._defaultErrorStateMatcher=Te,this._parentForm=He,this._parentFormGroup=Ee,this.ngControl=we,this.stateChanges=new E.x}}))));class Ve extends $e{constructor(Te,He,Ee,we,de,Me,ie,G,$,ze,Ue,oe,bt,Be){super(de,we,ie,G,ze),this._viewportRuler=Te,this._changeDetectorRef=He,this._ngZone=Ee,this._dir=Me,this._parentFormField=$,this._liveAnnouncer=bt,this._defaultOptions=Be,this._panelOpen=!1,this._compareWith=(nt,$t)=>nt===$t,this._uid="mat-select-"+C++,this._triggerAriaLabelledBy=null,this._destroy=new E.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+C++,this._panelDoneAnimatingStream=new E.x,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.optionSelectionChanges=(0,z.P)(()=>{const nt=this.options;return nt?nt.changes.pipe((0,V.O)(nt),(0,Z.w)(()=>(0,I.T)(...nt.map($t=>$t.onSelectionChange)))):this._ngZone.onStable.pipe((0,q.q)(1),(0,Z.w)(()=>this.optionSelectionChanges))}),this.openedChange=new _.vpe,this._openedStream=this.openedChange.pipe((0,te.h)(nt=>nt),(0,ne.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,te.h)(nt=>!nt),(0,ne.U)(()=>{})),this.selectionChange=new _.vpe,this.valueChange=new _.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=Be?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=Be.typeaheadDebounceInterval),this._scrollStrategyFactory=oe,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(Ue)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(Te){this._placeholder=Te,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(k.kI.required)??!1}set required(Te){this._required=(0,p.Ig)(Te),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(Te){this._selectionModel,this._multiple=(0,p.Ig)(Te)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(Te){this._disableOptionCentering=(0,p.Ig)(Te)}get compareWith(){return this._compareWith}set compareWith(Te){this._compareWith=Te,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(Te){this._assignValue(Te)&&this._onChange(Te)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(Te){this._typeaheadDebounceInterval=(0,p.su)(Te)}get id(){return this._id}set id(Te){this._id=Te||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new L.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,le.x)(),(0,re.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,re.R)(this._destroy)).subscribe(Te=>{Te.added.forEach(He=>He.select()),Te.removed.forEach(He=>He.deselect())}),this.options.changes.pipe((0,V.O)(null),(0,re.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const Te=this._getTriggerAriaLabelledby(),He=this.ngControl;if(Te!==this._triggerAriaLabelledBy){const Ee=this._elementRef.nativeElement;this._triggerAriaLabelledBy=Te,Te?Ee.setAttribute("aria-labelledby",Te):Ee.removeAttribute("aria-labelledby")}He&&(this._previousControl!==He.control&&(void 0!==this._previousControl&&null!==He.disabled&&He.disabled!==this.disabled&&(this.disabled=He.disabled),this._previousControl=He.control),this.updateErrorState())}ngOnChanges(Te){(Te.disabled||Te.userAriaDescribedBy)&&this.stateChanges.next(),Te.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(Te){this._assignValue(Te)}registerOnChange(Te){this._onChange=Te}registerOnTouched(Te){this._onTouched=Te}setDisabledState(Te){this.disabled=Te,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const Te=this._selectionModel.selected.map(He=>He.viewValue);return this._isRtl()&&Te.reverse(),Te.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(Te){this.disabled||(this.panelOpen?this._handleOpenKeydown(Te):this._handleClosedKeydown(Te))}_handleClosedKeydown(Te){const He=Te.keyCode,Ee=He===M.JH||He===M.LH||He===M.oh||He===M.SV,we=He===M.K5||He===M.L_,de=this._keyManager;if(!de.isTyping()&&we&&!(0,M.Vb)(Te)||(this.multiple||Te.altKey)&&Ee)Te.preventDefault(),this.open();else if(!this.multiple){const Me=this.selected;de.onKeydown(Te);const ie=this.selected;ie&&Me!==ie&&this._liveAnnouncer.announce(ie.viewValue,1e4)}}_handleOpenKeydown(Te){const He=this._keyManager,Ee=Te.keyCode,we=Ee===M.JH||Ee===M.LH,de=He.isTyping();if(we&&Te.altKey)Te.preventDefault(),this.close();else if(de||Ee!==M.K5&&Ee!==M.L_||!He.activeItem||(0,M.Vb)(Te))if(!de&&this._multiple&&Ee===M.A&&Te.ctrlKey){Te.preventDefault();const Me=this.options.some(ie=>!ie.disabled&&!ie.selected);this.options.forEach(ie=>{ie.disabled||(Me?ie.select():ie.deselect())})}else{const Me=He.activeItemIndex;He.onKeydown(Te),this._multiple&&we&&Te.shiftKey&&He.activeItem&&He.activeItemIndex!==Me&&He.activeItem._selectViaInteraction()}else Te.preventDefault(),He.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(Te){if(this._selectionModel.selected.forEach(He=>He.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&Te)Array.isArray(Te),Te.forEach(He=>this._selectOptionByValue(He)),this._sortValues();else{const He=this._selectOptionByValue(Te);He?this._keyManager.updateActiveItem(He):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(Te){const He=this.options.find(Ee=>{if(this._selectionModel.isSelected(Ee))return!1;try{return null!=Ee.value&&this._compareWith(Ee.value,Te)}catch{return!1}});return He&&this._selectionModel.select(He),He}_assignValue(Te){return!!(Te!==this._value||this._multiple&&Array.isArray(Te))&&(this.options&&this._setSelectionByValue(Te),this._value=Te,!0)}_initKeyManager(){this._keyManager=new d.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const Te=(0,I.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,re.R)(Te)).subscribe(He=>{this._onSelect(He.source,He.isUserInput),He.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,I.T)(...this.options.map(He=>He._stateChanges)).pipe((0,re.R)(Te)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(Te,He){const Ee=this._selectionModel.isSelected(Te);null!=Te.value||this._multiple?(Ee!==Te.selected&&(Te.selected?this._selectionModel.select(Te):this._selectionModel.deselect(Te)),He&&this._keyManager.setActiveItem(Te),this.multiple&&(this._sortValues(),He&&this.focus())):(Te.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(Te.value)),Ee!==this._selectionModel.isSelected(Te)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const Te=this.options.toArray();this._selectionModel.sort((He,Ee)=>this.sortComparator?this.sortComparator(He,Ee,Te):Te.indexOf(He)-Te.indexOf(Ee)),this.stateChanges.next()}}_propagateChanges(Te){let He=null;He=this.multiple?this.selected.map(Ee=>Ee.value):this.selected?this.selected.value:Te,this._value=He,this.valueChange.emit(He),this._onChange(He),this.selectionChange.emit(this._getChangeEvent(He)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0}focus(Te){this._elementRef.nativeElement.focus(Te)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const Te=this._parentFormField?.getLabelId(),He=Te?Te+" ":"";return this.ariaLabelledby?He+this.ariaLabelledby:Te}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const Te=this._parentFormField?.getLabelId();let He=(Te?Te+" ":"")+this._valueId;return this.ariaLabelledby&&(He+=" "+this.ariaLabelledby),He}_panelDoneAnimating(Te){this.openedChange.emit(Te)}setDescribedByIds(Te){Te.length?this._elementRef.nativeElement.setAttribute("aria-describedby",Te.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}Ve.\u0275fac=function(Te){return new(Te||Ve)(_.Y36(D.rL),_.Y36(_.sBO),_.Y36(_.R0b),_.Y36(S.rD),_.Y36(_.SBq),_.Y36(P.Is,8),_.Y36(k.F,8),_.Y36(k.sg,8),_.Y36(l.G_,8),_.Y36(k.a5,10),_.$8M("tabindex"),_.Y36(U),_.Y36(d.Kd),_.Y36(Q,8))},Ve.\u0275dir=_.lG2({type:Ve,viewQuery:function(Te,He){if(1&Te&&(_.Gf(he,5),_.Gf(ae,5),_.Gf(e.pI,5)),2&Te){let Ee;_.iGM(Ee=_.CRH())&&(He.trigger=Ee.first),_.iGM(Ee=_.CRH())&&(He.panel=Ee.first),_.iGM(Ee=_.CRH())&&(He._overlayDir=Ee.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:[_.qOj,_.TTD]});class be{}be.\u0275fac=function(Te){return new(Te||be)},be.\u0275dir=_.lG2({type:be,selectors:[["mat-select-trigger"]],features:[_._Bn([{provide:Le,useExisting:be}])]});class et extends Ve{constructor(){super(...arguments),this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}]}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,re.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(),this._changeDetectorRef.detectChanges())})}ngAfterViewInit(){this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin())}open(){this._overlayWidth=this._getOverlayWidth(),super.open(),this.stateChanges.next()}close(){super.close(),this.stateChanges.next()}_scrollOptionIntoView(Te){const He=this.options.toArray()[Te];if(He){const Ee=this.panel.nativeElement,we=(0,S.CB)(Te,this.options,this.optionGroups),de=He._getHostElement();Ee.scrollTop=0===Te&&1===we?0:(0,S.jH)(de.offsetTop,de.offsetHeight,Ee.scrollTop,Ee.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(Te){return new Ye(this,Te)}_getOverlayWidth(){return(this._preferredOverlayOrigin instanceof e.xu?this._preferredOverlayOrigin.elementRef:this._preferredOverlayOrigin||this._elementRef).nativeElement.getBoundingClientRect().width}}et.\u0275fac=function(){let ye;return function(He){return(ye||(ye=_.n5z(et)))(He||et)}}(),et.\u0275cmp=_.Xpm({type:et,selectors:[["mat-select"]],contentQueries:function(Te,He,Ee){if(1&Te&&(_.Suo(Ee,Le,5),_.Suo(Ee,S.ey,5),_.Suo(Ee,S.K7,5)),2&Te){let we;_.iGM(we=_.CRH())&&(He.customTrigger=we.first),_.iGM(we=_.CRH())&&(He.options=we),_.iGM(we=_.CRH())&&(He.optionGroups=we)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(Te,He){1&Te&&_.NdJ("keydown",function(we){return He._handleKeydown(we)})("focus",function(){return He._onFocus()})("blur",function(){return He._onBlur()}),2&Te&&(_.uIk("id",He.id)("tabindex",He.tabIndex)("aria-controls",He.panelOpen?He.id+"-panel":null)("aria-expanded",He.panelOpen)("aria-label",He.ariaLabel||null)("aria-required",He.required.toString())("aria-disabled",He.disabled.toString())("aria-invalid",He.errorState)("aria-activedescendant",He._getAriaActiveDescendant()),_.ekj("mat-mdc-select-disabled",He.disabled)("mat-mdc-select-invalid",He.errorState)("mat-mdc-select-required",He.required)("mat-mdc-select-empty",He.empty)("mat-mdc-select-multiple",He.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[_._Bn([{provide:l.Eo,useExisting:et},{provide:S.HF,useExisting:et}]),_.qOj],ngContentSelectors:["mat-select-trigger","*"],decls:11,vars:11,consts:[["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],[1,"mat-mdc-select-value",3,"ngSwitch"],["class","mat-mdc-select-placeholder mat-mdc-select-min-line",4,"ngSwitchCase"],["class","mat-mdc-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","backdropClick","attach","detach"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text",3,"ngSwitch"],["class","mat-mdc-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(Te,He){if(1&Te&&(_.F$t(h),_.TgZ(0,"div",0,1),_.NdJ("click",function(){return He.toggle()}),_.TgZ(3,"div",2),_.YNc(4,ve,2,1,"span",3),_.YNc(5,o,3,2,"span",4),_.qZA(),_.TgZ(6,"div",5)(7,"div",6),_.O4$(),_.TgZ(8,"svg",7),_._UZ(9,"path",8),_.qZA()()()(),_.YNc(10,m,3,9,"ng-template",9),_.NdJ("backdropClick",function(){return He.close()})("attach",function(){return He._onAttached()})("detach",function(){return He.close()})),2&Te){const Ee=_.MAs(1);_.uIk("aria-owns",He.panelOpen?He.id+"-panel":null),_.xp6(3),_.Q6J("ngSwitch",He.empty),_.uIk("id",He._valueId),_.xp6(1),_.Q6J("ngSwitchCase",!0),_.xp6(1),_.Q6J("ngSwitchCase",!1),_.xp6(5),_.Q6J("cdkConnectedOverlayPanelClass",He._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",He._scrollStrategy)("cdkConnectedOverlayOrigin",He._preferredOverlayOrigin||Ee)("cdkConnectedOverlayOpen",He.panelOpen)("cdkConnectedOverlayPositions",He._positions)("cdkConnectedOverlayWidth",He._overlayWidth)}},dependencies:[t.mk,t.RF,t.n9,t.ED,e.pI,e.xu],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mat-mdc-select{display:inline-block;width:100%;outline:none}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:translateY(-8px)}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-select-arrow{width:10px;height:5px;position:relative}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}.mdc-menu-surface.mat-mdc-select-panel{width:100%;max-height:275px;position:static;outline:0;margin:0;padding:8px 0;list-style-type:none}.mdc-menu-surface.mat-mdc-select-panel:focus{outline:none}.cdk-high-contrast-active .mdc-menu-surface.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) .mdc-menu-surface.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above .mdc-menu-surface.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[A.transformPanel]},changeDetection:0});class je{}je.\u0275fac=function(Te){return new(Te||je)},je.\u0275mod=_.oAB({type:je}),je.\u0275inj=_.cJS({providers:[Pe],imports:[t.ez,e.U8,S.Ng,S.BQ,D.ZD,l.lN,S.Ng,S.BQ]})},6643:(Ge,X,f)=>{"use strict";f.d(X,{JX:()=>Le,Rh:()=>Pe,SJ:()=>$e,TM:()=>Ye});var e=f(1494),t=f(4666),_=f(2560),S=f(207),l=f(4218),D=f(2867),d=f(8971),P=f(8456),p=f(9107),L=f(253),M=f(3280),k=f(6646),E=f(116),z=f(635),I=f(73),V=f(8951),Z=f(8977),q=f(9295),te=f(4874),ne=f(1989),le=f(4851);const re=["*"],_e=["content"];function he(Ve,be){if(1&Ve){const et=_.EpF();_.TgZ(0,"div",2),_.NdJ("click",function(){_.CHM(et);const ye=_.oxw();return _.KtG(ye._onBackdropClicked())}),_.qZA()}if(2&Ve){const et=_.oxw();_.ekj("mat-drawer-shown",et._isShowingBackdrop())}}function ae(Ve,be){1&Ve&&(_.TgZ(0,"mat-drawer-content"),_.Hsn(1,2),_.qZA())}const ve=[[["mat-drawer"]],[["mat-drawer-content"]],"*"];function i(Ve,be){if(1&Ve){const et=_.EpF();_.TgZ(0,"div",2),_.NdJ("click",function(){_.CHM(et);const ye=_.oxw();return _.KtG(ye._onBackdropClicked())}),_.qZA()}if(2&Ve){const et=_.oxw();_.ekj("mat-drawer-shown",et._isShowingBackdrop())}}function o(Ve,be){1&Ve&&(_.TgZ(0,"mat-sidenav-content"),_.Hsn(1,2),_.qZA())}const m=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],A={transformDrawer:(0,le.X$)("transform",[(0,le.SB)("open, open-instant",(0,le.oB)({transform:"none",visibility:"visible"})),(0,le.SB)("void",(0,le.oB)({"box-shadow":"none",visibility:"hidden"})),(0,le.eR)("void => open-instant",(0,le.jt)("0ms")),(0,le.eR)("void <=> open, open-instant => void",(0,le.jt)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])};const v=new _.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function C(){return!1}}),a=new _.OlP("MAT_DRAWER_CONTAINER");class U extends e.PQ{constructor(be,et,je,ye,Te){super(je,ye,Te),this._changeDetectorRef=be,this._container=et}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}U.\u0275fac=function(be){return new(be||U)(_.Y36(_.sBO),_.Y36((0,_.Gpc)(()=>Q)),_.Y36(_.SBq),_.Y36(e.mF),_.Y36(_.R0b))},U.\u0275cmp=_.Xpm({type:U,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(be,et){2&be&&_.Udp("margin-left",et._container._contentMargins.left,"px")("margin-right",et._container._contentMargins.right,"px")},features:[_._Bn([{provide:e.PQ,useExisting:U}]),_.qOj],ngContentSelectors:re,decls:1,vars:0,template:function(be,et){1&be&&(_.F$t(),_.Hsn(0))},encapsulation:2,changeDetection:0});class N{constructor(be,et,je,ye,Te,He,Ee,we){this._elementRef=be,this._focusTrapFactory=et,this._focusMonitor=je,this._platform=ye,this._ngZone=Te,this._interactivityChecker=He,this._doc=Ee,this._container=we,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new L.x,this._animationEnd=new L.x,this._animationState="void",this.openedChange=new _.vpe(!0),this._openedStream=this.openedChange.pipe((0,E.h)(de=>de),(0,z.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,E.h)(de=>de.fromState!==de.toState&&0===de.toState.indexOf("open")),(0,I.h)(void 0)),this._closedStream=this.openedChange.pipe((0,E.h)(de=>!de),(0,z.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,E.h)(de=>de.fromState!==de.toState&&"void"===de.toState),(0,I.h)(void 0)),this._destroyed=new L.x,this.onPositionChanged=new _.vpe,this._modeChanged=new L.x,this.openedChange.subscribe(de=>{de?(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,E.h)(de=>de.keyCode===P.hY&&!this.disableClose&&!(0,P.Vb)(de)),(0,V.R)(this._destroyed)).subscribe(de=>this._ngZone.run(()=>{this.close(),de.stopPropagation(),de.preventDefault()}))}),this._animationEnd.pipe((0,Z.x)((de,Me)=>de.fromState===Me.fromState&&de.toState===Me.toState)).subscribe(de=>{const{fromState:Me,toState:ie}=de;(0===ie.indexOf("open")&&"void"===Me||"void"===ie&&0===Me.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(be){(be="end"===be?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(be),this._position=be,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(be){this._mode=be,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(be){this._disableClose=(0,d.Ig)(be)}get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(be){("true"===be||"false"===be||null==be)&&(be=(0,d.Ig)(be)),this._autoFocus=be}get opened(){return this._opened}set opened(be){this.toggle((0,d.Ig)(be))}_forceFocus(be,et){this._interactivityChecker.isFocusable(be)||(be.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const je=()=>{be.removeEventListener("blur",je),be.removeEventListener("mousedown",je),be.removeAttribute("tabindex")};be.addEventListener("blur",je),be.addEventListener("mousedown",je)})),be.focus(et)}_focusByCssSelector(be,et){let je=this._elementRef.nativeElement.querySelector(be);je&&this._forceFocus(je,et)}_takeFocus(){if(!this._focusTrap)return;const be=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(et=>{!et&&"function"==typeof this._elementRef.nativeElement.focus&&be.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(be){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,be):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const be=this._doc.activeElement;return!!be&&this._elementRef.nativeElement.contains(be)}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(be){return this.toggle(!0,be)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(be=!this.opened,et){be&&et&&(this._openedVia=et);const je=this._setOpen(be,!be&&this._isFocusWithinDrawer(),this._openedVia||"program");return be||(this._openedVia=null),je}_setOpen(be,et,je){return this._opened=be,be?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",et&&this._restoreFocus(je)),this._updateFocusTrapState(),new Promise(ye=>{this.openedChange.pipe((0,q.q)(1)).subscribe(Te=>ye(Te?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_updatePositionInParent(be){const et=this._elementRef.nativeElement,je=et.parentNode;"end"===be?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),je.insertBefore(this._anchor,et)),je.appendChild(et)):this._anchor&&this._anchor.parentNode.insertBefore(et,this._anchor)}}N.\u0275fac=function(be){return new(be||N)(_.Y36(_.SBq),_.Y36(l.qV),_.Y36(l.tE),_.Y36(p.t4),_.Y36(_.R0b),_.Y36(l.ic),_.Y36(t.K0,8),_.Y36(a,8))},N.\u0275cmp=_.Xpm({type:N,selectors:[["mat-drawer"]],viewQuery:function(be,et){if(1&be&&_.Gf(_e,5),2&be){let je;_.iGM(je=_.CRH())&&(et._content=je.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(be,et){1&be&&_.WFA("@transform.start",function(ye){return et._animationStarted.next(ye)})("@transform.done",function(ye){return et._animationEnd.next(ye)}),2&be&&(_.uIk("align",null),_.d8E("@transform",et._animationState),_.ekj("mat-drawer-end","end"===et.position)("mat-drawer-over","over"===et.mode)("mat-drawer-push","push"===et.mode)("mat-drawer-side","side"===et.mode)("mat-drawer-opened",et.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:re,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(be,et){1&be&&(_.F$t(),_.TgZ(0,"div",0,1),_.Hsn(2),_.qZA())},dependencies:[e.PQ],encapsulation:2,data:{animation:[A.transformDrawer]},changeDetection:0});class Q{constructor(be,et,je,ye,Te,He=!1,Ee){this._dir=be,this._element=et,this._ngZone=je,this._changeDetectorRef=ye,this._animationMode=Ee,this._drawers=new _.n_E,this.backdropClick=new _.vpe,this._destroyed=new L.x,this._doCheckSubject=new L.x,this._contentMargins={left:null,right:null},this._contentMarginChanges=new L.x,be&&be.change.pipe((0,V.R)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),Te.change().pipe((0,V.R)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=He}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(be){this._autosize=(0,d.Ig)(be)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(be){this._backdropOverride=null==be?null:(0,d.Ig)(be)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe((0,te.O)(this._allDrawers),(0,V.R)(this._destroyed)).subscribe(be=>{this._drawers.reset(be.filter(et=>!et._container||et._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,te.O)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(be=>{this._watchDrawerToggle(be),this._watchDrawerPosition(be),this._watchDrawerMode(be)}),(!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,V.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(be=>be.open())}close(){this._drawers.forEach(be=>be.close())}updateContentMargins(){let be=0,et=0;if(this._left&&this._left.opened)if("side"==this._left.mode)be+=this._left._getWidth();else if("push"==this._left.mode){const je=this._left._getWidth();be+=je,et-=je}if(this._right&&this._right.opened)if("side"==this._right.mode)et+=this._right._getWidth();else if("push"==this._right.mode){const je=this._right._getWidth();et+=je,be-=je}be=be||null,et=et||null,(be!==this._contentMargins.left||et!==this._contentMargins.right)&&(this._contentMargins={left:be,right:et},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(be){be._animationStarted.pipe((0,E.h)(et=>et.fromState!==et.toState),(0,V.R)(this._drawers.changes)).subscribe(et=>{"open-instant"!==et.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==be.mode&&be.openedChange.pipe((0,V.R)(this._drawers.changes)).subscribe(()=>this._setContainerClass(be.opened))}_watchDrawerPosition(be){!be||be.onPositionChanged.pipe((0,V.R)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,q.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(be){be&&be._modeChanged.pipe((0,V.R)((0,k.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(be){const et=this._element.nativeElement.classList,je="mat-drawer-container-has-open";be?et.add(je):et.remove(je)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(be=>{"end"==be.position?(this._end,this._end=be):(this._start,this._start=be)}),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(be=>be&&!be.disableClose&&this._canHaveBackdrop(be)).forEach(be=>be._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(be){return"side"!==be.mode||!!this._backdropOverride}_isDrawerOpen(be){return null!=be&&be.opened}}Q.\u0275fac=function(be){return new(be||Q)(_.Y36(D.Is,8),_.Y36(_.SBq),_.Y36(_.R0b),_.Y36(_.sBO),_.Y36(e.rL),_.Y36(v),_.Y36(_.QbO,8))},Q.\u0275cmp=_.Xpm({type:Q,selectors:[["mat-drawer-container"]],contentQueries:function(be,et,je){if(1&be&&(_.Suo(je,U,5),_.Suo(je,N,5)),2&be){let ye;_.iGM(ye=_.CRH())&&(et._content=ye.first),_.iGM(ye=_.CRH())&&(et._allDrawers=ye)}},viewQuery:function(be,et){if(1&be&&_.Gf(U,5),2&be){let je;_.iGM(je=_.CRH())&&(et._userContent=je.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(be,et){2&be&&_.ekj("mat-drawer-container-explicit-backdrop",et._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[_._Bn([{provide:a,useExisting:Q}])],ngContentSelectors:["mat-drawer","mat-drawer-content","*"],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(be,et){1&be&&(_.F$t(ve),_.YNc(0,he,1,2,"div",0),_.Hsn(1),_.Hsn(2,1),_.YNc(3,ae,2,0,"mat-drawer-content",1)),2&be&&(_.Q6J("ngIf",et.hasBackdrop),_.xp6(3),_.Q6J("ngIf",!et._content))},dependencies:[t.O5,U],styles:['.mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0});class Pe extends U{constructor(be,et,je,ye,Te){super(be,et,je,ye,Te)}}Pe.\u0275fac=function(be){return new(be||Pe)(_.Y36(_.sBO),_.Y36((0,_.Gpc)(()=>Ye)),_.Y36(_.SBq),_.Y36(e.mF),_.Y36(_.R0b))},Pe.\u0275cmp=_.Xpm({type:Pe,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(be,et){2&be&&_.Udp("margin-left",et._container._contentMargins.left,"px")("margin-right",et._container._contentMargins.right,"px")},features:[_._Bn([{provide:e.PQ,useExisting:Pe}]),_.qOj],ngContentSelectors:re,decls:1,vars:0,template:function(be,et){1&be&&(_.F$t(),_.Hsn(0))},encapsulation:2,changeDetection:0});class Le extends N{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(be){this._fixedInViewport=(0,d.Ig)(be)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(be){this._fixedTopGap=(0,d.su)(be)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(be){this._fixedBottomGap=(0,d.su)(be)}}Le.\u0275fac=function(){let Ve;return function(et){return(Ve||(Ve=_.n5z(Le)))(et||Le)}}(),Le.\u0275cmp=_.Xpm({type:Le,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(be,et){2&be&&(_.uIk("align",null),_.Udp("top",et.fixedInViewport?et.fixedTopGap:null,"px")("bottom",et.fixedInViewport?et.fixedBottomGap:null,"px"),_.ekj("mat-drawer-end","end"===et.position)("mat-drawer-over","over"===et.mode)("mat-drawer-push","push"===et.mode)("mat-drawer-side","side"===et.mode)("mat-drawer-opened",et.opened)("mat-sidenav-fixed",et.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[_.qOj],ngContentSelectors:re,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(be,et){1&be&&(_.F$t(),_.TgZ(0,"div",0,1),_.Hsn(2),_.qZA())},dependencies:[e.PQ],encapsulation:2,data:{animation:[A.transformDrawer]},changeDetection:0});class Ye extends Q{}Ye.\u0275fac=function(){let Ve;return function(et){return(Ve||(Ve=_.n5z(Ye)))(et||Ye)}}(),Ye.\u0275cmp=_.Xpm({type:Ye,selectors:[["mat-sidenav-container"]],contentQueries:function(be,et,je){if(1&be&&(_.Suo(je,Pe,5),_.Suo(je,Le,5)),2&be){let ye;_.iGM(ye=_.CRH())&&(et._content=ye.first),_.iGM(ye=_.CRH())&&(et._allDrawers=ye)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(be,et){2&be&&_.ekj("mat-drawer-container-explicit-backdrop",et._backdropOverride)},exportAs:["matSidenavContainer"],features:[_._Bn([{provide:a,useExisting:Ye}]),_.qOj],ngContentSelectors:["mat-sidenav","mat-sidenav-content","*"],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(be,et){1&be&&(_.F$t(m),_.YNc(0,i,1,2,"div",0),_.Hsn(1),_.Hsn(2,1),_.YNc(3,o,2,0,"mat-sidenav-content",1)),2&be&&(_.Q6J("ngIf",et.hasBackdrop),_.xp6(3),_.Q6J("ngIf",!et._content))},dependencies:[t.O5,Pe],styles:['.mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0});class $e{}$e.\u0275fac=function(be){return new(be||$e)},$e.\u0275mod=_.oAB({type:$e}),$e.\u0275inj=_.cJS({imports:[t.ez,S.BQ,e.ZD,e.ZD,S.BQ]})},4714:(Ge,X,f)=>{"use strict";f.d(X,{Rr:()=>I,rP:()=>te});var e=f(2560),t=f(2508),_=f(4218),S=f(207),l=f(8971),D=f(4666);const d=["switch"],p=new e.OlP("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})}),L={provide:t.JU,useExisting:(0,e.Gpc)(()=>I),multi:!0};class M{constructor(le,re){this.source=le,this.checked=re}}let k=0;const E=(0,S.sb)((0,S.pj)((0,S.Kr)((0,S.Id)(class{constructor(ne){this._elementRef=ne}}))));class z extends E{constructor(le,re,_e,he,ae,ve,T){super(le),this._focusMonitor=re,this._changeDetectorRef=_e,this.defaults=ae,this._onChange=i=>{},this._onTouched=()=>{},this._required=!1,this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new e.vpe,this.toggleChange=new e.vpe,this.tabIndex=parseInt(he)||0,this.color=this.defaultColor=ae.color||"accent",this._noopAnimations="NoopAnimations"===ve,this.id=this._uniqueId=`${T}${++k}`}get required(){return this._required}set required(le){this._required=(0,l.Ig)(le)}get checked(){return this._checked}set checked(le){this._checked=(0,l.Ig)(le),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(le=>{"keyboard"===le||"program"===le?(this._focused=!0,this._changeDetectorRef.markForCheck()):le||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(le){this.checked=!!le}registerOnChange(le){this._onChange=le}registerOnTouched(le){this._onTouched=le}setDisabledState(le){this.disabled=le,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}}z.\u0275fac=function(le){e.$Z()},z.\u0275dir=e.lG2({type:z,inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},features:[e.qOj]});class I extends z{constructor(le,re,_e,he,ae,ve){super(le,re,_e,he,ae,ve,"mat-mdc-slide-toggle-"),this._labelId=this._uniqueId+"-label"}get buttonId(){return`${this.id||this._uniqueId}-button`}_handleClick(){this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new M(this,this.checked)))}focus(){this._switchElement.nativeElement.focus()}_createChangeEvent(le){return new M(this,le)}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}}I.\u0275fac=function(le){return new(le||I)(e.Y36(e.SBq),e.Y36(_.tE),e.Y36(e.sBO),e.$8M("tabindex"),e.Y36(p),e.Y36(e.QbO,8))},I.\u0275cmp=e.Xpm({type:I,selectors:[["mat-slide-toggle"]],viewQuery:function(le,re){if(1&le&&e.Gf(d,5),2&le){let _e;e.iGM(_e=e.CRH())&&(re._switchElement=_e.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:11,hostBindings:function(le,re){2&le&&(e.Ikx("id",re.id),e.uIk("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),e.ekj("mat-mdc-slide-toggle-focused",re._focused)("mat-mdc-slide-toggle-checked",re.checked)("_mat-animation-noopable",re._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matSlideToggle"],features:[e._Bn([L]),e.qOj],ngContentSelectors:["*"],decls:17,vars:24,consts:[[1,"mdc-form-field"],["role","switch","type","button",1,"mdc-switch",3,"tabIndex","disabled","click"],["switch",""],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],["viewBox","0 0 24 24",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"],[3,"for","click"]],template:function(le,re){if(1&le&&(e.F$t(),e.TgZ(0,"div",0)(1,"button",1,2),e.NdJ("click",function(){return re._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.TgZ(10,"div",10),e.O4$(),e.TgZ(11,"svg",11),e._UZ(12,"path",12),e.qZA(),e.TgZ(13,"svg",13),e._UZ(14,"path",14),e.qZA()()()()(),e.kcU(),e.TgZ(15,"label",15),e.NdJ("click",function(he){return he.stopPropagation()}),e.Hsn(16),e.qZA()()),2&le){const _e=e.MAs(2);e.ekj("mdc-form-field--align-end","before"==re.labelPosition),e.xp6(1),e.ekj("mdc-switch--selected",re.checked)("mdc-switch--unselected",!re.checked)("mdc-switch--checked",re.checked)("mdc-switch--disabled",re.disabled),e.Q6J("tabIndex",re.tabIndex)("disabled",re.disabled),e.uIk("id",re.buttonId)("name",re.name)("aria-label",re.ariaLabel)("aria-labelledby",re._getAriaLabelledBy())("aria-describedby",re.ariaDescribedby)("aria-required",re.required||null)("aria-checked",re.checked),e.xp6(8),e.Q6J("matRippleTrigger",_e)("matRippleDisabled",re.disableRipple||re.disabled)("matRippleCentered",!0),e.xp6(6),e.Q6J("for",re.buttonId),e.uIk("id",re._labelId)}},dependencies:[S.wG],styles:['.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color, #fff)}.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative}.mdc-switch[hidden]{display:none}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%}@media screen and (forced-colors: active){.mdc-switch__track::before,.mdc-switch__track::after{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(-100%)}[dir=rtl] .mdc-switch__track::after,.mdc-switch__track[dir=rtl]::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track[dir=rtl]::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0)}[dir=rtl] .mdc-switch__handle-track,.mdc-switch__handle-track[dir=rtl]{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track,.mdc-switch--selected .mdc-switch__handle-track[dir=rtl]{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto}[dir=rtl] .mdc-switch__handle,.mdc-switch__handle[dir=rtl]{left:auto;right:0}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media screen and (forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mdc-switch{width:var(--mdc-switch-track-width, 36px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color, #616161)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color, #424242)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color, var(--mdc-theme-surface, #fff))}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation, 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__focus-ring-wrapper,.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{height:var(--mdc-switch-handle-height, 20px)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__handle::after{opacity:var(--mdc-switch-disabled-handle-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{border-radius:var(--mdc-switch-handle-shape, 10px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{width:var(--mdc-switch-handle-width, 20px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle-track{width:calc(100% - var(--mdc-switch-handle-width, 20px))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:var(--mdc-switch-selected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:var(--mdc-switch-unselected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size, 18px);height:var(--mdc-switch-selected-icon-size, 18px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size, 18px);height:var(--mdc-switch-unselected-icon-size, 18px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-hover-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-focus-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-pressed-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-hover-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-focus-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-pressed-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-selected-hover-state-layer-opacity, 0.04)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-selected-focus-state-layer-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-unselected-hover-state-layer-opacity, 0.04)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-unselected-focus-state-layer-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__ripple{height:var(--mdc-switch-state-layer-size, 48px);width:var(--mdc-switch-state-layer-size, 48px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__track{height:var(--mdc-switch-track-height, 14px)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__track::after{background:var(--mdc-switch-selected-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color, #424242)}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__track::before{background:var(--mdc-switch-unselected-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color, #424242)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__track{border-radius:var(--mdc-switch-track-shape, 7px)}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle .mdc-switch__ripple::after{content:"";opacity:0}.mat-mdc-slide-toggle .mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:opacity 75ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-mdc-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-elevation-overlay,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}'],encapsulation:2,changeDetection:0});const V={provide:t.Cf,useExisting:(0,e.Gpc)(()=>Z),multi:!0};class Z extends t.Zs{}Z.\u0275fac=function(){let ne;return function(re){return(ne||(ne=e.n5z(Z)))(re||Z)}}(),Z.\u0275dir=e.lG2({type:Z,selectors:[["mat-slide-toggle","required","","formControlName",""],["mat-slide-toggle","required","","formControl",""],["mat-slide-toggle","required","","ngModel",""]],features:[e._Bn([V]),e.qOj]});class q{}q.\u0275fac=function(le){return new(le||q)},q.\u0275mod=e.oAB({type:q}),q.\u0275inj=e.cJS({});class te{}te.\u0275fac=function(le){return new(le||te)},te.\u0275mod=e.oAB({type:te}),te.\u0275inj=e.cJS({imports:[q,S.BQ,S.si,D.ez,q,S.BQ]})},930:(Ge,X,f)=>{"use strict";f.d(X,{Ve:()=>m,ZX:()=>i,ux:()=>y});var e=f(2560),t=f(253),_=f(4666),S=f(4522),l=f(4851),D=f(7520),d=f(9107),P=f(9295),p=f(8951),L=f(4218),M=f(3278),k=f(5895),E=f(207);function z(A,R){if(1&A){const v=e.EpF();e.TgZ(0,"div",2)(1,"button",3),e.NdJ("click",function(){e.CHM(v);const C=e.oxw();return e.KtG(C.action())}),e._uU(2),e.qZA()()}if(2&A){const v=e.oxw();e.xp6(2),e.hij(" ",v.data.action," ")}}const I=["label"];function V(A,R){}const Z=Math.pow(2,31)-1;class q{constructor(R,v){this._overlayRef=v,this._afterDismissed=new t.x,this._afterOpened=new t.x,this._onAction=new t.x,this._dismissedByAction=!1,this.containerInstance=R,R._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(R){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(R,Z))}_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 te=new e.OlP("MatSnackBarData");class ne{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}class le{}le.\u0275fac=function(R){return new(R||le)},le.\u0275dir=e.lG2({type:le,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]});class re{}re.\u0275fac=function(R){return new(R||re)},re.\u0275dir=e.lG2({type:re,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]});class _e{}_e.\u0275fac=function(R){return new(R||_e)},_e.\u0275dir=e.lG2({type:_e,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]});class he{constructor(R,v){this.snackBarRef=R,this.data=v}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}he.\u0275fac=function(R){return new(R||he)(e.Y36(q),e.Y36(te))},he.\u0275cmp=e.Xpm({type:he,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(R,v){1&R&&(e.TgZ(0,"div",0),e._uU(1),e.qZA(),e.YNc(2,z,3,1,"div",1)),2&R&&(e.xp6(1),e.hij(" ",v.data.message,"\n"),e.xp6(1),e.Q6J("ngIf",v.hasAction))},dependencies:[_.O5,S.lW,le,re,_e],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0});const ae={snackBarState:(0,l.X$)("state",[(0,l.SB)("void, hidden",(0,l.oB)({transform:"scale(0.8)",opacity:0})),(0,l.SB)("visible",(0,l.oB)({transform:"scale(1)",opacity:1})),(0,l.eR)("* => visible",(0,l.jt)("150ms cubic-bezier(0, 0, 0.2, 1)")),(0,l.eR)("* => void, * => hidden",(0,l.jt)("75ms cubic-bezier(0.4, 0.0, 1, 1)",(0,l.oB)({opacity:0})))])};class ve extends D.en{constructor(R,v,a,C,U){super(),this._ngZone=R,this._elementRef=v,this._changeDetectorRef=a,this._platform=C,this.snackBarConfig=U,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.attachDomPortal=N=>{this._assertNotAttached();const Q=this._portalOutlet.attachDomPortal(N);return this._afterPortalAttached(),Q},"assertive"!==U.politeness||U.announcementMessage?"off"===U.politeness?this._live="off":this._live="polite":this._live="assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(R){this._assertNotAttached();const v=this._portalOutlet.attachComponentPortal(R);return this._afterPortalAttached(),v}attachTemplatePortal(R){this._assertNotAttached();const v=this._portalOutlet.attachTemplatePortal(R);return this._afterPortalAttached(),v}onAnimationEnd(R){const{fromState:v,toState:a}=R;if(("void"===a&&"void"!==v||"hidden"===a)&&this._completeExit(),"visible"===a){const C=this._onEnter;this._ngZone.run(()=>{C.next(),C.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe((0,P.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){const R=this._elementRef.nativeElement,v=this.snackBarConfig.panelClass;v&&(Array.isArray(v)?v.forEach(a=>R.classList.add(a)):R.classList.add(v))}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const R=this._elementRef.nativeElement.querySelector("[aria-hidden]"),v=this._elementRef.nativeElement.querySelector("[aria-live]");if(R&&v){let a=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&R.contains(document.activeElement)&&(a=document.activeElement),R.removeAttribute("aria-hidden"),v.appendChild(R),a?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}ve.\u0275fac=function(R){return new(R||ve)(e.Y36(e.R0b),e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(d.t4),e.Y36(ne))},ve.\u0275dir=e.lG2({type:ve,viewQuery:function(R,v){if(1&R&&e.Gf(D.Pl,7),2&R){let a;e.iGM(a=e.CRH())&&(v._portalOutlet=a.first)}},features:[e.qOj]});class T extends ve{_afterPortalAttached(){super._afterPortalAttached();const R=this._label.nativeElement,v="mdc-snackbar__label";R.classList.toggle(v,!R.querySelector(`.${v}`))}}T.\u0275fac=function(){let A;return function(v){return(A||(A=e.n5z(T)))(v||T)}}(),T.\u0275cmp=e.Xpm({type:T,selectors:[["mat-snack-bar-container"]],viewQuery:function(R,v){if(1&R&&e.Gf(I,7),2&R){let a;e.iGM(a=e.CRH())&&(v._label=a.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(R,v){1&R&&e.WFA("@state.done",function(C){return v.onAnimationEnd(C)}),2&R&&e.d8E("@state",v._animationState)},features:[e.qOj],decls:6,vars:2,consts:[[1,"mdc-snackbar__surface"],[1,"mat-mdc-snack-bar-label"],["label",""],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(R,v){1&R&&(e.TgZ(0,"div",0)(1,"div",1,2)(3,"div",3),e.YNc(4,V,0,0,"ng-template",4),e.qZA(),e._UZ(5,"div"),e.qZA()()),2&R&&(e.xp6(5),e.uIk("aria-live",v._live)("role",v._role))},dependencies:[D.Pl],styles:['.mdc-snackbar{display:none;position:fixed;right:0;bottom:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;pointer-events:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-snackbar--opening,.mdc-snackbar--open,.mdc-snackbar--closing{display:flex}.mdc-snackbar--open .mdc-snackbar__label,.mdc-snackbar--open .mdc-snackbar__actions{visibility:visible}.mdc-snackbar__surface{padding-left:0;padding-right:8px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;transform:scale(0.8);opacity:0}.mdc-snackbar__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-snackbar__surface::before{border-color:CanvasText}}[dir=rtl] .mdc-snackbar__surface,.mdc-snackbar__surface[dir=rtl]{padding-left:8px;padding-right:0}.mdc-snackbar--open .mdc-snackbar__surface{transform:scale(1);opacity:1;pointer-events:auto}.mdc-snackbar--closing .mdc-snackbar__surface{transform:scale(1)}.mdc-snackbar__label{padding-left:16px;padding-right:8px;width:100%;flex-grow:1;box-sizing:border-box;margin:0;visibility:hidden;padding-top:14px;padding-bottom:14px}[dir=rtl] .mdc-snackbar__label,.mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px}.mdc-snackbar__label::before{display:inline;content:attr(data-mdc-snackbar-label-text)}.mdc-snackbar__actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;visibility:hidden}.mdc-snackbar__action+.mdc-snackbar__dismiss{margin-left:8px;margin-right:0}[dir=rtl] .mdc-snackbar__action+.mdc-snackbar__dismiss,.mdc-snackbar__action+.mdc-snackbar__dismiss[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-snack-bar-container{margin:8px;position:static}.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:344px}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:100%}}.mat-mdc-snack-bar-container .mdc-snackbar__surface{max-width:672px}.mat-mdc-snack-bar-container .mdc-snackbar__surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-snack-bar-container .mdc-snackbar__dismiss .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-snack-bar-container .mdc-snackbar__dismiss svg,.mat-mdc-snack-bar-container .mdc-snackbar__dismiss img{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{background-color:var(--mdc-snackbar-container-color, inherit)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{border-radius:var(--mdc-snackbar-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-snack-bar-container .mdc-snackbar__label{color:var(--mdc-snackbar-supporting-text-color, inherit)}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-size:var(--mdc-snackbar-supporting-text-size, inherit);font-family:var(--mdc-snackbar-supporting-text-font, inherit);font-weight:var(--mdc-snackbar-supporting-text-weight, inherit);line-height:var(--mdc-snackbar-supporting-text-line-height, inherit)}.cdk-high-contrast-active .mat-mdc-snack-bar-container{border:solid 1px}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-mdc-snack-bar-button-color, transparent);--mat-mdc-button-persistent-ripple-color: currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{background-color:currentColor;opacity:.1}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-handset .mdc-snackbar__surface{width:100%}'],encapsulation:2,data:{animation:[ae.snackBarState]}});class i{}i.\u0275fac=function(R){return new(R||i)},i.\u0275mod=e.oAB({type:i}),i.\u0275inj=e.cJS({imports:[k.U8,D.eL,_.ez,S.ot,E.BQ,E.BQ]});const m=new e.OlP("mat-snack-bar-default-options",{providedIn:"root",factory:function o(){return new ne}});class h{constructor(R,v,a,C,U,N){this._overlay=R,this._live=v,this._injector=a,this._breakpointObserver=C,this._parentSnackBar=U,this._defaultConfig=N,this._snackBarRefAtThisLevel=null}get _openedSnackBarRef(){const R=this._parentSnackBar;return R?R._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(R){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=R:this._snackBarRefAtThisLevel=R}openFromComponent(R,v){return this._attach(R,v)}openFromTemplate(R,v){return this._attach(R,v)}open(R,v="",a){const C={...this._defaultConfig,...a};return C.data={message:R,action:v},C.announcementMessage===R&&(C.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,C)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(R,v){const a=v&&v.viewContainerRef&&v.viewContainerRef.injector,C=e.zs3.create({parent:a||this._injector,providers:[{provide:ne,useValue:v}]}),U=new D.C5(this.snackBarContainerComponent,v.viewContainerRef,C),N=R.attach(U);return N.instance.snackBarConfig=v,N.instance}_attach(R,v){const a={...new ne,...this._defaultConfig,...v},C=this._createOverlay(a),U=this._attachSnackBarContainer(C,a),N=new q(U,C);if(R instanceof e.Rgc){const Q=new D.UE(R,null,{$implicit:a.data,snackBarRef:N});N.instance=U.attachTemplatePortal(Q)}else{const Q=this._createInjector(a,N),Pe=new D.C5(R,void 0,Q),Le=U.attachComponentPortal(Pe);N.instance=Le.instance}return this._breakpointObserver.observe(M.u3.HandsetPortrait).pipe((0,p.R)(C.detachments())).subscribe(Q=>{C.overlayElement.classList.toggle(this.handsetCssClass,Q.matches)}),a.announcementMessage&&U._onAnnounce.subscribe(()=>{this._live.announce(a.announcementMessage,a.politeness)}),this._animateSnackBar(N,a),this._openedSnackBarRef=N,this._openedSnackBarRef}_animateSnackBar(R,v){R.afterDismissed().subscribe(()=>{this._openedSnackBarRef==R&&(this._openedSnackBarRef=null),v.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{R.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):R.containerInstance.enter(),v.duration&&v.duration>0&&R.afterOpened().subscribe(()=>R._dismissAfter(v.duration))}_createOverlay(R){const v=new k.X_;v.direction=R.direction;let a=this._overlay.position().global();const C="rtl"===R.direction,U="left"===R.horizontalPosition||"start"===R.horizontalPosition&&!C||"end"===R.horizontalPosition&&C,N=!U&&"center"!==R.horizontalPosition;return U?a.left("0"):N?a.right("0"):a.centerHorizontally(),"top"===R.verticalPosition?a.top("0"):a.bottom("0"),v.positionStrategy=a,this._overlay.create(v)}_createInjector(R,v){const a=R&&R.viewContainerRef&&R.viewContainerRef.injector;return e.zs3.create({parent:a||this._injector,providers:[{provide:q,useValue:v},{provide:te,useValue:R.data}]})}}h.\u0275fac=function(R){return new(R||h)(e.LFG(k.aV),e.LFG(L.Kd),e.LFG(e.zs3),e.LFG(M.Yg),e.LFG(h,12),e.LFG(m))},h.\u0275prov=e.Yz7({token:h,factory:h.\u0275fac});class y extends h{constructor(R,v,a,C,U,N){super(R,v,a,C,U,N),this.simpleSnackBarComponent=he,this.snackBarContainerComponent=T,this.handsetCssClass="mat-mdc-snack-bar-handset"}}y.\u0275fac=function(R){return new(R||y)(e.LFG(k.aV),e.LFG(L.Kd),e.LFG(e.zs3),e.LFG(M.Yg),e.LFG(y,12),e.LFG(m))},y.\u0275prov=e.Yz7({token:y,factory:y.\u0275fac,providedIn:i})},2197:(Ge,X,f)=>{"use strict";f.d(X,{JX:()=>i,YE:()=>te,nU:()=>T});var e=f(2560),t=f(4218),_=f(8971),S=f(8456),l=f(207),D=f(253),d=f(6646),P=f(4851),p=f(4666);function M(o,m){if(1&o){const h=e.EpF();e.TgZ(0,"div",3),e.NdJ("@arrowPosition.start",function(){e.CHM(h);const A=e.oxw();return e.KtG(A._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){e.CHM(h);const A=e.oxw();return e.KtG(A._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 h=e.oxw();e.Q6J("@arrowOpacity",h._getArrowViewState())("@arrowPosition",h._getArrowViewState())("@allowChildren",h._getArrowDirectionState()),e.xp6(2),e.Q6J("@indicator",h._getArrowDirectionState()),e.xp6(1),e.Q6J("@leftPointer",h._getArrowDirectionState()),e.xp6(1),e.Q6J("@rightPointer",h._getArrowDirectionState())}}const Z=new e.OlP("MAT_SORT_DEFAULT_OPTIONS"),q=(0,l.dB)((0,l.Id)(class{}));class te extends q{constructor(m){super(),this._defaultOptions=m,this.sortables=new Map,this._stateChanges=new D.x,this.start="asc",this._direction="",this.sortChange=new e.vpe}get direction(){return this._direction}set direction(m){this._direction=m}get disableClear(){return this._disableClear}set disableClear(m){this._disableClear=(0,_.Ig)(m)}register(m){this.sortables.set(m.id,m)}deregister(m){this.sortables.delete(m.id)}sort(m){this.active!=m.id?(this.active=m.id,this.direction=m.start?m.start:this.start):this.direction=this.getNextSortDirection(m),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(m){if(!m)return"";const h=m?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear;let y=function ne(o,m){let h=["asc","desc"];return"desc"==o&&h.reverse(),m||h.push(""),h}(m.start||this.start,h),A=y.indexOf(this.direction)+1;return A>=y.length&&(A=0),y[A]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}te.\u0275fac=function(m){return new(m||te)(e.Y36(Z,8))},te.\u0275dir=e.lG2({type:te,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]});const le=l.mZ.ENTERING+" "+l.yN.STANDARD_CURVE,re={indicator:(0,P.X$)("indicator",[(0,P.SB)("active-asc, asc",(0,P.oB)({transform:"translateY(0px)"})),(0,P.SB)("active-desc, desc",(0,P.oB)({transform:"translateY(10px)"})),(0,P.eR)("active-asc <=> active-desc",(0,P.jt)(le))]),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)(le))]),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)(le))]),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)(le))]),arrowPosition:(0,P.X$)("arrowPosition",[(0,P.eR)("* => desc-to-hint, * => desc-to-active",(0,P.jt)(le,(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)(le,(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)(le,(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)(le,(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})])])};class _e{constructor(){this.changes=new D.x}}_e.\u0275fac=function(m){return new(m||_e)},_e.\u0275prov=e.Yz7({token:_e,factory:_e.\u0275fac,providedIn:"root"});const ae={provide:_e,deps:[[new e.FiY,new e.tp0,_e]],useFactory:function he(o){return o||new _e}},ve=(0,l.Id)(class{});class T extends ve{constructor(m,h,y,A,R,v,a,C){super(),this._intl=m,this._changeDetectorRef=h,this._sort=y,this._columnDef=A,this._focusMonitor=R,this._elementRef=v,this._ariaDescriber=a,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._sortActionDescription="Sort",C?.arrowPosition&&(this.arrowPosition=C?.arrowPosition),this._handleStateChanges()}get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(m){this._updateSortActionDescription(m)}get disableClear(){return this._disableClear}set disableClear(m){this._disableClear=(0,_.Ig)(m)}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(m=>{const h=!!m;h!==this._showIndicatorHint&&(this._setIndicatorHintVisible(h),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(m){this._isDisabled()&&m||(this._showIndicatorHint=m,this._isSorted()||(this._updateArrowDirection(),this._showIndicatorHint?this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"hint"}):this._setAnimationTransitionState({fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(m){this._viewState=m||{},this._disableViewStateAnimation&&(this._viewState={toState:m.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(m){!this._isDisabled()&&(m.keyCode===S.L_||m.keyCode===S.K5)&&(m.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 m=this._viewState.fromState;return(m?`${m}-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(m){this._sortButton&&(this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription),this._ariaDescriber?.describe(this._sortButton,m)),this._sortActionDescription=m}_handleStateChanges(){this._rerenderSubscription=(0,d.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()})}}T.\u0275fac=function(m){return new(m||T)(e.Y36(_e),e.Y36(e.sBO),e.Y36(te,8),e.Y36("MAT_SORT_HEADER_COLUMN_DEF",8),e.Y36(t.tE),e.Y36(e.SBq),e.Y36(t.$s,8),e.Y36(Z,8))},T.\u0275cmp=e.Xpm({type:T,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(m,h){1&m&&e.NdJ("click",function(){return h._handleClick()})("keydown",function(A){return h._handleKeydown(A)})("mouseenter",function(){return h._setIndicatorHintVisible(!0)})("mouseleave",function(){return h._setIndicatorHintVisible(!1)}),2&m&&(e.uIk("aria-sort",h._getAriaSortAttribute()),e.ekj("mat-sort-header-disabled",h._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[e.qOj],attrs:["mat-sort-header",""],ngContentSelectors:["*"],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(m,h){1&m&&(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&m&&(e.ekj("mat-sort-header-sorted",h._isSorted())("mat-sort-header-position-before","before"===h.arrowPosition),e.uIk("tabindex",h._isDisabled()?null:0)("role",h._isDisabled()?null:"button"),e.xp6(3),e.Q6J("ngIf",h._renderArrow()))},dependencies:[p.O5],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}"],encapsulation:2,data:{animation:[re.indicator,re.leftPointer,re.rightPointer,re.arrowOpacity,re.arrowPosition,re.allowChildren]},changeDetection:0});class i{}i.\u0275fac=function(m){return new(m||i)},i.\u0275mod=e.oAB({type:i}),i.\u0275inj=e.cJS({providers:[ae],imports:[p.ez,l.BQ]})},4193:(Ge,X,f)=>{"use strict";f.d(X,{C0:()=>He,Ic:()=>we,T5:()=>Me,VY:()=>Q,Vq:()=>Ee,fd:()=>de,z9:()=>ye});var e=f(7520),t=f(1861),_=f(4666),S=f(2560),l=f(207),D=f(7822),d=f(4218),P=f(253),p=f(7714),L=f(2867),M=f(2673),k=f(635),E=f(4874),z=f(8951),I=f(8977),V=f(4851);function Z(ie,G){if(1&ie&&S.GkF(0,8),2&ie){const $=S.oxw();S.Q6J("ngTemplateOutlet",$.iconOverrides[$.state])("ngTemplateOutletContext",$._getIconContext())}}function q(ie,G){if(1&ie&&(S.TgZ(0,"span",13),S._uU(1),S.qZA()),2&ie){const $=S.oxw(2);S.xp6(1),S.Oqu($._getDefaultTextForState($.state))}}function te(ie,G){if(1&ie&&(S.TgZ(0,"span",14),S._uU(1),S.qZA()),2&ie){const $=S.oxw(2);S.xp6(1),S.Oqu($._intl.completedLabel)}}function ne(ie,G){if(1&ie&&(S.TgZ(0,"span",14),S._uU(1),S.qZA()),2&ie){const $=S.oxw(2);S.xp6(1),S.Oqu($._intl.editableLabel)}}function le(ie,G){if(1&ie&&(S.TgZ(0,"mat-icon",13),S._uU(1),S.qZA()),2&ie){const $=S.oxw(2);S.xp6(1),S.Oqu($._getDefaultTextForState($.state))}}function re(ie,G){if(1&ie&&(S.ynx(0,9),S.YNc(1,q,2,1,"span",10),S.YNc(2,te,2,1,"span",11),S.YNc(3,ne,2,1,"span",11),S.YNc(4,le,2,1,"mat-icon",12),S.BQk()),2&ie){const $=S.oxw();S.Q6J("ngSwitch",$.state),S.xp6(1),S.Q6J("ngSwitchCase","number"),S.xp6(1),S.Q6J("ngIf","done"===$.state),S.xp6(1),S.Q6J("ngIf","edit"===$.state)}}function _e(ie,G){if(1&ie&&(S.TgZ(0,"div",15),S.GkF(1,16),S.qZA()),2&ie){const $=S.oxw();S.xp6(1),S.Q6J("ngTemplateOutlet",$._templateLabel().template)}}function he(ie,G){if(1&ie&&(S.TgZ(0,"div",15),S._uU(1),S.qZA()),2&ie){const $=S.oxw();S.xp6(1),S.Oqu($.label)}}function ae(ie,G){if(1&ie&&(S.TgZ(0,"div",17),S._uU(1),S.qZA()),2&ie){const $=S.oxw();S.xp6(1),S.Oqu($._intl.optionalLabel)}}function ve(ie,G){if(1&ie&&(S.TgZ(0,"div",18),S._uU(1),S.qZA()),2&ie){const $=S.oxw();S.xp6(1),S.Oqu($.errorMessage)}}function T(ie,G){}function i(ie,G){if(1&ie&&(S.Hsn(0),S.YNc(1,T,0,0,"ng-template",0)),2&ie){const $=S.oxw();S.xp6(1),S.Q6J("cdkPortalOutlet",$._portal)}}function m(ie,G){1&ie&&S._UZ(0,"div",11)}const h=function(ie,G){return{step:ie,i:G}};function y(ie,G){if(1&ie&&(S.ynx(0),S.GkF(1,9),S.YNc(2,m,1,0,"div",10),S.BQk()),2&ie){const $=G.$implicit,ze=G.index,Ue=G.last;S.oxw(2);const oe=S.MAs(4);S.xp6(1),S.Q6J("ngTemplateOutlet",oe)("ngTemplateOutletContext",S.WLB(3,h,$,ze)),S.xp6(1),S.Q6J("ngIf",!Ue)}}const A=function(ie){return{animationDuration:ie}},R=function(ie,G){return{value:ie,params:G}};function v(ie,G){if(1&ie){const $=S.EpF();S.TgZ(0,"div",12),S.NdJ("@horizontalStepTransition.done",function(Ue){S.CHM($);const oe=S.oxw(2);return S.KtG(oe._animationDone.next(Ue))}),S.GkF(1,13),S.qZA()}if(2&ie){const $=G.$implicit,ze=G.index,Ue=S.oxw(2);S.ekj("mat-horizontal-stepper-content-inactive",Ue.selectedIndex!==ze),S.Q6J("@horizontalStepTransition",S.WLB(8,R,Ue._getAnimationDirection(ze),S.VKq(6,A,Ue._getAnimationDuration())))("id",Ue._getStepContentId(ze)),S.uIk("aria-labelledby",Ue._getStepLabelId(ze)),S.xp6(1),S.Q6J("ngTemplateOutlet",$.content)}}function a(ie,G){if(1&ie&&(S.TgZ(0,"div",4)(1,"div",5),S.YNc(2,y,3,6,"ng-container",6),S.qZA(),S.TgZ(3,"div",7),S.YNc(4,v,2,11,"div",8),S.qZA()()),2&ie){const $=S.oxw();S.xp6(2),S.Q6J("ngForOf",$.steps),S.xp6(2),S.Q6J("ngForOf",$.steps)}}function C(ie,G){if(1&ie){const $=S.EpF();S.TgZ(0,"div",15),S.GkF(1,9),S.TgZ(2,"div",16)(3,"div",17),S.NdJ("@verticalStepTransition.done",function(Ue){S.CHM($);const oe=S.oxw(2);return S.KtG(oe._animationDone.next(Ue))}),S.TgZ(4,"div",18),S.GkF(5,13),S.qZA()()()()}if(2&ie){const $=G.$implicit,ze=G.index,Ue=G.last,oe=S.oxw(2),bt=S.MAs(4);S.xp6(1),S.Q6J("ngTemplateOutlet",bt)("ngTemplateOutletContext",S.WLB(10,h,$,ze)),S.xp6(1),S.ekj("mat-stepper-vertical-line",!Ue),S.xp6(1),S.ekj("mat-vertical-stepper-content-inactive",oe.selectedIndex!==ze),S.Q6J("@verticalStepTransition",S.WLB(15,R,oe._getAnimationDirection(ze),S.VKq(13,A,oe._getAnimationDuration())))("id",oe._getStepContentId(ze)),S.uIk("aria-labelledby",oe._getStepLabelId(ze)),S.xp6(2),S.Q6J("ngTemplateOutlet",$.content)}}function U(ie,G){if(1&ie&&(S.ynx(0),S.YNc(1,C,6,18,"div",14),S.BQk()),2&ie){const $=S.oxw();S.xp6(1),S.Q6J("ngForOf",$.steps)}}function N(ie,G){if(1&ie){const $=S.EpF();S.TgZ(0,"mat-step-header",19),S.NdJ("click",function(){const oe=S.CHM($).step;return S.KtG(oe.select())})("keydown",function(Ue){S.CHM($);const oe=S.oxw();return S.KtG(oe._onKeydown(Ue))}),S.qZA()}if(2&ie){const $=G.step,ze=G.i,Ue=S.oxw();S.ekj("mat-horizontal-stepper-header","horizontal"===Ue.orientation)("mat-vertical-stepper-header","vertical"===Ue.orientation),S.Q6J("tabIndex",Ue._getFocusIndex()===ze?0:-1)("id",Ue._getStepLabelId(ze))("index",ze)("state",Ue._getIndicatorType(ze,$.state))("label",$.stepLabel||$.label)("selected",Ue.selectedIndex===ze)("active",Ue._stepIsNavigable(ze,$))("optional",$.optional)("errorMessage",$.errorMessage)("iconOverrides",Ue._iconOverrides)("disableRipple",Ue.disableRipple||!Ue._stepIsNavigable(ze,$))("color",$.color||Ue.color),S.uIk("aria-posinset",ze+1)("aria-setsize",Ue.steps.length)("aria-controls",Ue._getStepContentId(ze))("aria-selected",Ue.selectedIndex==ze)("aria-label",$.ariaLabel||null)("aria-labelledby",!$.ariaLabel&&$.ariaLabelledby?$.ariaLabelledby:null)("aria-disabled",!Ue._stepIsNavigable(ze,$)||null)}}class Q extends t.u6{}Q.\u0275fac=function(){let ie;return function($){return(ie||(ie=S.n5z(Q)))($||Q)}}(),Q.\u0275dir=S.lG2({type:Q,selectors:[["","matStepLabel",""]],features:[S.qOj]});class Pe{constructor(){this.changes=new P.x,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}Pe.\u0275fac=function(G){return new(G||Pe)},Pe.\u0275prov=S.Yz7({token:Pe,factory:Pe.\u0275fac,providedIn:"root"});const Ye={provide:Pe,deps:[[new S.FiY,new S.tp0,Pe]],useFactory:function Le(ie){return ie||new Pe}},$e=(0,l.pj)(class extends t.KL{constructor(G){super(G)}},"primary");class Ve extends $e{constructor(G,$,ze,Ue){super(ze),this._intl=G,this._focusMonitor=$,this._intlSubscription=G.changes.subscribe(()=>Ue.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(G,$){G?this._focusMonitor.focusVia(this._elementRef,G,$):this._elementRef.nativeElement.focus($)}_stringLabel(){return this.label instanceof Q?null:this.label}_templateLabel(){return this.label instanceof Q?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(G){return"number"==G?`${this.index+1}`:"edit"==G?"create":"error"==G?"warning":G}}Ve.\u0275fac=function(G){return new(G||Ve)(S.Y36(Pe),S.Y36(d.tE),S.Y36(S.SBq),S.Y36(S.sBO))},Ve.\u0275cmp=S.Xpm({type:Ve,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:[S.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(G,$){1&G&&(S._UZ(0,"div",0),S.TgZ(1,"div")(2,"div",1),S.YNc(3,Z,1,2,"ng-container",2),S.YNc(4,re,5,4,"ng-container",3),S.qZA()(),S.TgZ(5,"div",4),S.YNc(6,_e,2,1,"div",5),S.YNc(7,he,2,1,"div",5),S.YNc(8,ae,2,1,"div",6),S.YNc(9,ve,2,1,"div",7),S.qZA()),2&G&&(S.Q6J("matRippleTrigger",$._getHostElement())("matRippleDisabled",$.disableRipple),S.xp6(1),S.Gre("mat-step-icon-state-",$.state," mat-step-icon"),S.ekj("mat-step-icon-selected",$.selected),S.xp6(1),S.Q6J("ngSwitch",!(!$.iconOverrides||!$.iconOverrides[$.state])),S.xp6(1),S.Q6J("ngSwitchCase",!0),S.xp6(2),S.ekj("mat-step-label-active",$.active)("mat-step-label-selected",$.selected)("mat-step-label-error","error"==$.state),S.xp6(1),S.Q6J("ngIf",$._templateLabel()),S.xp6(1),S.Q6J("ngIf",$._stringLabel()),S.xp6(1),S.Q6J("ngIf",$.optional&&"error"!=$.state),S.xp6(1),S.Q6J("ngIf","error"==$.state))},dependencies:[_.O5,_.tP,_.RF,_.n9,_.ED,D.Hw,l.wG],styles:['.mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-step-header:focus .mat-focus-indicator::before{content:""}.cdk-high-contrast-active .mat-step-header{outline:solid 1px}.cdk-high-contrast-active .mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.cdk-high-contrast-active .mat-step-header[aria-disabled=true]{outline-color:GrayText}.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-label,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-icon,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-optional{color:GrayText}.mat-step-optional,.mat-step-sub-label-error{font-size:12px}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,changeDetection:0});const je={horizontalStepTransition:(0,V.X$)("horizontalStepTransition",[(0,V.SB)("previous",(0,V.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),(0,V.SB)("current",(0,V.oB)({transform:"none",visibility:"inherit"})),(0,V.SB)("next",(0,V.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),(0,V.eR)("* => *",(0,V.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),{params:{animationDuration:"500ms"}})]),verticalStepTransition:(0,V.X$)("verticalStepTransition",[(0,V.SB)("previous",(0,V.oB)({height:"0px",visibility:"hidden"})),(0,V.SB)("next",(0,V.oB)({height:"0px",visibility:"hidden"})),(0,V.SB)("current",(0,V.oB)({height:"*",visibility:"inherit"})),(0,V.eR)("* <=> current",(0,V.jt)("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),{params:{animationDuration:"225ms"}})])};class ye{constructor(G){this.templateRef=G}}ye.\u0275fac=function(G){return new(G||ye)(S.Y36(S.Rgc))},ye.\u0275dir=S.lG2({type:ye,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}});class Te{constructor(G){this._template=G}}Te.\u0275fac=function(G){return new(G||Te)(S.Y36(S.Rgc))},Te.\u0275dir=S.lG2({type:Te,selectors:[["ng-template","matStepContent",""]]});class He extends t.be{constructor(G,$,ze,Ue){super(G,Ue),this._errorStateMatcher=$,this._viewContainerRef=ze,this._isSelected=p.w0.EMPTY}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe((0,M.w)(()=>this._stepper.selectionChange.pipe((0,k.U)(G=>G.selectedStep===this),(0,E.O)(this._stepper.selected===this)))).subscribe(G=>{G&&this._lazyContent&&!this._portal&&(this._portal=new e.UE(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(G,$){const ze=this._errorStateMatcher.isErrorState(G,$),Ue=!!(G&&G.invalid&&this.interacted);return ze||Ue}}He.\u0275fac=function(G){return new(G||He)(S.Y36((0,S.Gpc)(()=>Ee)),S.Y36(l.rD,4),S.Y36(S.s_b),S.Y36(t.gx,8))},He.\u0275cmp=S.Xpm({type:He,selectors:[["mat-step"]],contentQueries:function(G,$,ze){if(1&G&&(S.Suo(ze,Q,5),S.Suo(ze,Te,5)),2&G){let Ue;S.iGM(Ue=S.CRH())&&($.stepLabel=Ue.first),S.iGM(Ue=S.CRH())&&($._lazyContent=Ue.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[S._Bn([{provide:l.rD,useExisting:He},{provide:t.be,useExisting:He}]),S.qOj],ngContentSelectors:["*"],decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(G,$){1&G&&(S.F$t(),S.YNc(0,i,2,1,"ng-template"))},dependencies:[e.Pl],encapsulation:2,changeDetection:0});class Ee extends t.B8{constructor(G,$,ze){super(G,$,ze),this.steps=new S.n_E,this.animationDone=new S.vpe,this.labelPosition="end",this.headerPosition="top",this._iconOverrides={},this._animationDone=new P.x,this._animationDuration="";const Ue=ze.nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===Ue?"vertical":"horizontal"}get animationDuration(){return this._animationDuration}set animationDuration(G){this._animationDuration=/^\d+$/.test(G)?G+"ms":G}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:G,templateRef:$})=>this._iconOverrides[G]=$),this.steps.changes.pipe((0,z.R)(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe((0,I.x)((G,$)=>G.fromState===$.fromState&&G.toState===$.toState),(0,z.R)(this._destroyed)).subscribe(G=>{"current"===G.toState&&this.animationDone.emit()})}_stepIsNavigable(G,$){return $.completed||this.selectedIndex===G||!this.linear}_getAnimationDuration(){return this.animationDuration?this.animationDuration:"horizontal"===this.orientation?"500ms":"225ms"}}Ee.\u0275fac=function(G){return new(G||Ee)(S.Y36(L.Is,8),S.Y36(S.sBO),S.Y36(S.SBq))},Ee.\u0275cmp=S.Xpm({type:Ee,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(G,$,ze){if(1&G&&(S.Suo(ze,He,5),S.Suo(ze,ye,5)),2&G){let Ue;S.iGM(Ue=S.CRH())&&($._steps=Ue),S.iGM(Ue=S.CRH())&&($._icons=Ue)}},viewQuery:function(G,$){if(1&G&&S.Gf(Ve,5),2&G){let ze;S.iGM(ze=S.CRH())&&($._stepHeader=ze)}},hostAttrs:["role","tablist"],hostVars:11,hostBindings:function(G,$){2&G&&(S.uIk("aria-orientation",$.orientation),S.ekj("mat-stepper-horizontal","horizontal"===$.orientation)("mat-stepper-vertical","vertical"===$.orientation)("mat-stepper-label-position-end","horizontal"===$.orientation&&"end"==$.labelPosition)("mat-stepper-label-position-bottom","horizontal"===$.orientation&&"bottom"==$.labelPosition)("mat-stepper-header-position-bottom","bottom"===$.headerPosition))},inputs:{selectedIndex:"selectedIndex",disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[S._Bn([{provide:t.B8,useExisting:Ee}]),S.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(G,$){1&G&&(S.ynx(0,0),S.YNc(1,a,5,2,"div",1),S.YNc(2,U,2,1,"ng-container",2),S.BQk(),S.YNc(3,N,1,23,"ng-template",null,3,S.W1O)),2&G&&(S.Q6J("ngSwitch",$.orientation),S.xp6(1),S.Q6J("ngSwitchCase","horizontal"),S.xp6(1),S.Q6J("ngSwitchCase","vertical"))},dependencies:[_.sg,_.O5,_.tP,_.RF,_.n9,Ve],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-header-position-bottom .mat-horizontal-stepper-header-container{order:1}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-wrapper{display:flex;flex-direction:column}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-inactive{height:0;overflow:hidden}.mat-horizontal-stepper-content:not(.mat-horizontal-stepper-content-inactive){visibility:inherit !important}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.cdk-high-contrast-active .mat-horizontal-content-container{outline:solid 1px}.mat-stepper-header-position-bottom .mat-horizontal-content-container{padding:24px 24px 0 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}.cdk-high-contrast-active .mat-vertical-content-container{outline:solid 1px}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-stepper-content:not(.mat-vertical-stepper-content-inactive){visibility:inherit !important}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}'],encapsulation:2,data:{animation:[je.horizontalStepTransition,je.verticalStepTransition]},changeDetection:0});class we extends t.st{}we.\u0275fac=function(){let ie;return function($){return(ie||(ie=S.n5z(we)))($||we)}}(),we.\u0275dir=S.lG2({type:we,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(G,$){2&G&&S.Ikx("type",$.type)},inputs:{type:"type"},features:[S.qOj]});class de extends t.po{}de.\u0275fac=function(){let ie;return function($){return(ie||(ie=S.n5z(de)))($||de)}}(),de.\u0275dir=S.lG2({type:de,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(G,$){2&G&&S.Ikx("type",$.type)},inputs:{type:"type"},features:[S.qOj]});class Me{}Me.\u0275fac=function(G){return new(G||Me)},Me.\u0275mod=S.oAB({type:Me}),Me.\u0275inj=S.cJS({providers:[Ye,l.rD],imports:[l.BQ,_.ez,e.eL,t.U5,D.Ps,l.si,l.BQ]})},8711:(Ge,X,f)=>{"use strict";f.d(X,{ev:()=>vt,Dz:()=>We,w1:()=>Nt,mD:()=>Tt,Q2:()=>Ae,Ke:()=>Pt,ge:()=>at,fO:()=>Mt,XQ:()=>Kt,as:()=>ri,Gk:()=>fe,nj:()=>Lt,BZ:()=>Ce,by:()=>Wi,p0:()=>Oi});var e=f(2560),t=f(2867),_=f(8971),S=f(1755),l=f(9107),D=f(1494),d=f(4666),P=f(253),p=f(7400),L=f(6317),M=f(4437),k=f(745),E=f(8951),z=f(9295);const I=[[["caption"]],[["colgroup"],["col"]]];function Z(wt,qe){if(1&wt&&(e.TgZ(0,"th",3),e._uU(1),e.qZA()),2&wt){const Ne=e.oxw();e.Udp("text-align",Ne.justify),e.xp6(1),e.hij(" ",Ne.headerText," ")}}function q(wt,qe){if(1&wt&&(e.TgZ(0,"td",4),e._uU(1),e.qZA()),2&wt){const Ne=qe.$implicit,Vt=e.oxw();e.Udp("text-align",Vt.justify),e.xp6(1),e.hij(" ",Vt.dataAccessor(Ne,Vt.name)," ")}}function te(wt){return class extends wt{constructor(...qe){super(...qe),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(qe){const Ne=this._sticky;this._sticky=(0,_.Ig)(qe),this._hasStickyChanged=Ne!==this._sticky}hasStickyChanged(){const qe=this._hasStickyChanged;return this._hasStickyChanged=!1,qe}resetStickyChanged(){this._hasStickyChanged=!1}}}const ne=new e.OlP("CDK_TABLE"),le=new e.OlP("text-column-options");class re{constructor(qe){this.template=qe}}re.\u0275fac=function(qe){return new(qe||re)(e.Y36(e.Rgc))},re.\u0275dir=e.lG2({type:re,selectors:[["","cdkCellDef",""]]});class _e{constructor(qe){this.template=qe}}_e.\u0275fac=function(qe){return new(qe||_e)(e.Y36(e.Rgc))},_e.\u0275dir=e.lG2({type:_e,selectors:[["","cdkHeaderCellDef",""]]});class he{constructor(qe){this.template=qe}}he.\u0275fac=function(qe){return new(qe||he)(e.Y36(e.Rgc))},he.\u0275dir=e.lG2({type:he,selectors:[["","cdkFooterCellDef",""]]});const ve=te(class ae{});class T extends ve{constructor(qe){super(),this._table=qe,this._stickyEnd=!1}get name(){return this._name}set name(qe){this._setNameInput(qe)}get stickyEnd(){return this._stickyEnd}set stickyEnd(qe){const Ne=this._stickyEnd;this._stickyEnd=(0,_.Ig)(qe),this._hasStickyChanged=Ne!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(qe){qe&&(this._name=qe,this.cssClassFriendlyName=qe.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}T.\u0275fac=function(qe){return new(qe||T)(e.Y36(ne,8))},T.\u0275dir=e.lG2({type:T,selectors:[["","cdkColumnDef",""]],contentQueries:function(qe,Ne,Vt){if(1&qe&&(e.Suo(Vt,re,5),e.Suo(Vt,_e,5),e.Suo(Vt,he,5)),2&qe){let jt;e.iGM(jt=e.CRH())&&(Ne.cell=jt.first),e.iGM(jt=e.CRH())&&(Ne.headerCell=jt.first),e.iGM(jt=e.CRH())&&(Ne.footerCell=jt.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[e._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:T}]),e.qOj]});class i{constructor(qe,Ne){Ne.nativeElement.classList.add(...qe._columnCssClassName)}}class o extends i{constructor(qe,Ne){super(qe,Ne)}}o.\u0275fac=function(qe){return new(qe||o)(e.Y36(T),e.Y36(e.SBq))},o.\u0275dir=e.lG2({type:o,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[e.qOj]});class m extends i{constructor(qe,Ne){if(super(qe,Ne),1===qe._table?._elementRef.nativeElement.nodeType){const Vt=qe._table._elementRef.nativeElement.getAttribute("role"),jt="grid"===Vt||"treegrid"===Vt?"gridcell":"cell";Ne.nativeElement.setAttribute("role",jt)}}}m.\u0275fac=function(qe){return new(qe||m)(e.Y36(T),e.Y36(e.SBq))},m.\u0275dir=e.lG2({type:m,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[e.qOj]});class h extends i{constructor(qe,Ne){if(super(qe,Ne),1===qe._table?._elementRef.nativeElement.nodeType){const Vt=qe._table._elementRef.nativeElement.getAttribute("role"),jt="grid"===Vt||"treegrid"===Vt?"gridcell":"cell";Ne.nativeElement.setAttribute("role",jt)}}}h.\u0275fac=function(qe){return new(qe||h)(e.Y36(T),e.Y36(e.SBq))},h.\u0275dir=e.lG2({type:h,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[e.qOj]});class y{constructor(){this.tasks=[],this.endTasks=[]}}const A=new e.OlP("_COALESCED_STYLE_SCHEDULER");class R{constructor(qe){this._ngZone=qe,this._currentSchedule=null,this._destroyed=new P.x}schedule(qe){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(qe)}scheduleEnd(qe){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(qe)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new y,this._getScheduleObservable().pipe((0,E.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const qe=this._currentSchedule;this._currentSchedule=new y;for(const Ne of qe.tasks)Ne();for(const Ne of qe.endTasks)Ne()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,p.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,z.q)(1))}}R.\u0275fac=function(qe){return new(qe||R)(e.LFG(e.R0b))},R.\u0275prov=e.Yz7({token:R,factory:R.\u0275fac});class a{constructor(qe,Ne){this.template=qe,this._differs=Ne}ngOnChanges(qe){if(!this._columnsDiffer){const Ne=qe.columns&&qe.columns.currentValue||[];this._columnsDiffer=this._differs.find(Ne).create(),this._columnsDiffer.diff(Ne)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(qe){return this instanceof N?qe.headerCell.template:this instanceof Le?qe.footerCell.template:qe.cell.template}}a.\u0275fac=function(qe){return new(qe||a)(e.Y36(e.Rgc),e.Y36(e.ZZ4))},a.\u0275dir=e.lG2({type:a,features:[e.TTD]});const U=te(class C extends a{});class N extends U{constructor(qe,Ne,Vt){super(qe,Ne),this._table=Vt}ngOnChanges(qe){super.ngOnChanges(qe)}}N.\u0275fac=function(qe){return new(qe||N)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(ne,8))},N.\u0275dir=e.lG2({type:N,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[e.qOj,e.TTD]});const Pe=te(class Q extends a{});class Le extends Pe{constructor(qe,Ne,Vt){super(qe,Ne),this._table=Vt}ngOnChanges(qe){super.ngOnChanges(qe)}}Le.\u0275fac=function(qe){return new(qe||Le)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(ne,8))},Le.\u0275dir=e.lG2({type:Le,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[e.qOj,e.TTD]});class Ye extends a{constructor(qe,Ne,Vt){super(qe,Ne),this._table=Vt}}Ye.\u0275fac=function(qe){return new(qe||Ye)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(ne,8))},Ye.\u0275dir=e.lG2({type:Ye,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[e.qOj]});class $e{constructor(qe){this._viewContainer=qe,$e.mostRecentCellOutlet=this}ngOnDestroy(){$e.mostRecentCellOutlet===this&&($e.mostRecentCellOutlet=null)}}$e.mostRecentCellOutlet=null,$e.\u0275fac=function(qe){return new(qe||$e)(e.Y36(e.s_b))},$e.\u0275dir=e.lG2({type:$e,selectors:[["","cdkCellOutlet",""]]});class Ve{}Ve.\u0275fac=function(qe){return new(qe||Ve)},Ve.\u0275cmp=e.Xpm({type:Ve,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(qe,Ne){1&qe&&e.GkF(0,0)},dependencies:[$e],encapsulation:2});class be{}be.\u0275fac=function(qe){return new(qe||be)},be.\u0275cmp=e.Xpm({type:be,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(qe,Ne){1&qe&&e.GkF(0,0)},dependencies:[$e],encapsulation:2});class et{}et.\u0275fac=function(qe){return new(qe||et)},et.\u0275cmp=e.Xpm({type:et,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(qe,Ne){1&qe&&e.GkF(0,0)},dependencies:[$e],encapsulation:2});class je{constructor(qe){this.templateRef=qe,this._contentClassName="cdk-no-data-row"}}je.\u0275fac=function(qe){return new(qe||je)(e.Y36(e.Rgc))},je.\u0275dir=e.lG2({type:je,selectors:[["ng-template","cdkNoDataRow",""]]});const ye=["top","bottom","left","right"];class Te{constructor(qe,Ne,Vt,jt,fi=!0,Si=!0,ki){this._isNativeHtmlTable=qe,this._stickCellCss=Ne,this.direction=Vt,this._coalescedStyleScheduler=jt,this._isBrowser=fi,this._needsPositionStickyOnElement=Si,this._positionListener=ki,this._cachedCellWidths=[],this._borderCellCss={top:`${Ne}-border-elem-top`,bottom:`${Ne}-border-elem-bottom`,left:`${Ne}-border-elem-left`,right:`${Ne}-border-elem-right`}}clearStickyPositioning(qe,Ne){const Vt=[];for(const jt of qe)if(jt.nodeType===jt.ELEMENT_NODE){Vt.push(jt);for(let fi=0;fi<jt.children.length;fi++)Vt.push(jt.children[fi])}this._coalescedStyleScheduler.schedule(()=>{for(const jt of Vt)this._removeStickyStyle(jt,Ne)})}updateStickyColumns(qe,Ne,Vt,jt=!0){if(!qe.length||!this._isBrowser||!Ne.some(ft=>ft)&&!Vt.some(ft=>ft))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const fi=qe[0],Si=fi.children.length,ki=this._getCellWidths(fi,jt),Gi=this._getStickyStartColumnPositions(ki,Ne),Qt=this._getStickyEndColumnPositions(ki,Vt),xe=Ne.lastIndexOf(!0),ke=Vt.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const ft="rtl"===this.direction,Rt=ft?"right":"left",di=ft?"left":"right";for(const ai of qe)for(let ci=0;ci<Si;ci++){const ii=ai.children[ci];Ne[ci]&&this._addStickyStyle(ii,Rt,Gi[ci],ci===xe),Vt[ci]&&this._addStickyStyle(ii,di,Qt[ci],ci===ke)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===xe?[]:ki.slice(0,xe+1).map((ai,ci)=>Ne[ci]?ai:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===ke?[]:ki.slice(ke).map((ai,ci)=>Vt[ci+ke]?ai:null).reverse()}))})}stickRows(qe,Ne,Vt){if(!this._isBrowser)return;const jt="bottom"===Vt?qe.slice().reverse():qe,fi="bottom"===Vt?Ne.slice().reverse():Ne,Si=[],ki=[],Gi=[];for(let xe=0,ke=0;xe<jt.length;xe++){if(!fi[xe])continue;Si[xe]=ke;const ft=jt[xe];Gi[xe]=this._isNativeHtmlTable?Array.from(ft.children):[ft];const Rt=ft.getBoundingClientRect().height;ke+=Rt,ki[xe]=Rt}const Qt=fi.lastIndexOf(!0);this._coalescedStyleScheduler.schedule(()=>{for(let xe=0;xe<jt.length;xe++){if(!fi[xe])continue;const ke=Si[xe],ft=xe===Qt;for(const Rt of Gi[xe])this._addStickyStyle(Rt,Vt,ke,ft)}"top"===Vt?this._positionListener?.stickyHeaderRowsUpdated({sizes:ki,offsets:Si,elements:Gi}):this._positionListener?.stickyFooterRowsUpdated({sizes:ki,offsets:Si,elements:Gi})})}updateStickyFooterContainer(qe,Ne){if(!this._isNativeHtmlTable)return;const Vt=qe.querySelector("tfoot");this._coalescedStyleScheduler.schedule(()=>{Ne.some(jt=>!jt)?this._removeStickyStyle(Vt,["bottom"]):this._addStickyStyle(Vt,"bottom",0,!1)})}_removeStickyStyle(qe,Ne){for(const jt of Ne)qe.style[jt]="",qe.classList.remove(this._borderCellCss[jt]);ye.some(jt=>-1===Ne.indexOf(jt)&&qe.style[jt])?qe.style.zIndex=this._getCalculatedZIndex(qe):(qe.style.zIndex="",this._needsPositionStickyOnElement&&(qe.style.position=""),qe.classList.remove(this._stickCellCss))}_addStickyStyle(qe,Ne,Vt,jt){qe.classList.add(this._stickCellCss),jt&&qe.classList.add(this._borderCellCss[Ne]),qe.style[Ne]=`${Vt}px`,qe.style.zIndex=this._getCalculatedZIndex(qe),this._needsPositionStickyOnElement&&(qe.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(qe){const Ne={top:100,bottom:10,left:1,right:1};let Vt=0;for(const jt of ye)qe.style[jt]&&(Vt+=Ne[jt]);return Vt?`${Vt}`:""}_getCellWidths(qe,Ne=!0){if(!Ne&&this._cachedCellWidths.length)return this._cachedCellWidths;const Vt=[],jt=qe.children;for(let fi=0;fi<jt.length;fi++){let Si=jt[fi];Vt.push(Si.getBoundingClientRect().width)}return this._cachedCellWidths=Vt,Vt}_getStickyStartColumnPositions(qe,Ne){const Vt=[];let jt=0;for(let fi=0;fi<qe.length;fi++)Ne[fi]&&(Vt[fi]=jt,jt+=qe[fi]);return Vt}_getStickyEndColumnPositions(qe,Ne){const Vt=[];let jt=0;for(let fi=qe.length;fi>0;fi--)Ne[fi]&&(Vt[fi]=jt,jt+=qe[fi]);return Vt}}const ze=new e.OlP("CDK_SPL");class Ue{}Ue.\u0275fac=function(qe){return new(qe||Ue)},Ue.\u0275dir=e.lG2({type:Ue,selectors:[["cdk-table","recycleRows",""],["table","cdk-table","","recycleRows",""]],features:[e._Bn([{provide:S.k,useClass:S.eX}])]});class oe{constructor(qe,Ne){this.viewContainer=qe,this.elementRef=Ne}}oe.\u0275fac=function(qe){return new(qe||oe)(e.Y36(e.s_b),e.Y36(e.SBq))},oe.\u0275dir=e.lG2({type:oe,selectors:[["","rowOutlet",""]]});class bt{constructor(qe,Ne){this.viewContainer=qe,this.elementRef=Ne}}bt.\u0275fac=function(qe){return new(qe||bt)(e.Y36(e.s_b),e.Y36(e.SBq))},bt.\u0275dir=e.lG2({type:bt,selectors:[["","headerRowOutlet",""]]});class Be{constructor(qe,Ne){this.viewContainer=qe,this.elementRef=Ne}}Be.\u0275fac=function(qe){return new(qe||Be)(e.Y36(e.s_b),e.Y36(e.SBq))},Be.\u0275dir=e.lG2({type:Be,selectors:[["","footerRowOutlet",""]]});class nt{constructor(qe,Ne){this.viewContainer=qe,this.elementRef=Ne}}nt.\u0275fac=function(qe){return new(qe||nt)(e.Y36(e.s_b),e.Y36(e.SBq))},nt.\u0275dir=e.lG2({type:nt,selectors:[["","noDataRowOutlet",""]]});class rt{constructor(qe,Ne,Vt,jt,fi,Si,ki,Gi,Qt,xe,ke,ft){this._differs=qe,this._changeDetectorRef=Ne,this._elementRef=Vt,this._dir=fi,this._platform=ki,this._viewRepeater=Gi,this._coalescedStyleScheduler=Qt,this._viewportRuler=xe,this._stickyPositioningListener=ke,this._ngZone=ft,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 L.X({start:0,end:Number.MAX_VALUE}),jt||this._elementRef.nativeElement.setAttribute("role","table"),this._document=Si,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(qe){this._trackByFn=qe}get dataSource(){return this._dataSource}set dataSource(qe){this._dataSource!==qe&&this._switchDataSource(qe)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(qe){this._multiTemplateDataRows=(0,_.Ig)(qe),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(qe){this._fixedLayout=(0,_.Ig)(qe),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((qe,Ne)=>this.trackBy?this.trackBy(Ne.dataIndex,Ne.data):Ne),this._viewportRuler.change().pipe((0,E.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;const Ne=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||Ne,this._forceRecalculateCellWidths=Ne,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(qe=>{qe.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,S.Z9)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const qe=this._dataDiffer.diff(this._renderRows);if(!qe)return this._updateNoDataRow(),void this.contentChanged.next();const Ne=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(qe,Ne,(Vt,jt,fi)=>this._getEmbeddedViewArgs(Vt.item,fi),Vt=>Vt.item.data,Vt=>{1===Vt.operation&&Vt.context&&this._renderCellTemplateForItem(Vt.record.item.rowDef,Vt.context)}),this._updateRowIndexContext(),qe.forEachIdentityChange(Vt=>{Ne.get(Vt.currentIndex).context.$implicit=Vt.item.data}),this._updateNoDataRow(),this._ngZone&&e.R0b.isInAngularZone()?this._ngZone.onStable.pipe((0,z.q)(1),(0,E.R)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(qe){this._customColumnDefs.add(qe)}removeColumnDef(qe){this._customColumnDefs.delete(qe)}addRowDef(qe){this._customRowDefs.add(qe)}removeRowDef(qe){this._customRowDefs.delete(qe)}addHeaderRowDef(qe){this._customHeaderRowDefs.add(qe),this._headerRowDefChanged=!0}removeHeaderRowDef(qe){this._customHeaderRowDefs.delete(qe),this._headerRowDefChanged=!0}addFooterRowDef(qe){this._customFooterRowDefs.add(qe),this._footerRowDefChanged=!0}removeFooterRowDef(qe){this._customFooterRowDefs.delete(qe),this._footerRowDefChanged=!0}setNoDataRow(qe){this._customNoDataRow=qe}updateStickyHeaderRowStyles(){const qe=this._getRenderedRows(this._headerRowOutlet),Vt=this._elementRef.nativeElement.querySelector("thead");Vt&&(Vt.style.display=qe.length?"":"none");const jt=this._headerRowDefs.map(fi=>fi.sticky);this._stickyStyler.clearStickyPositioning(qe,["top"]),this._stickyStyler.stickRows(qe,jt,"top"),this._headerRowDefs.forEach(fi=>fi.resetStickyChanged())}updateStickyFooterRowStyles(){const qe=this._getRenderedRows(this._footerRowOutlet),Vt=this._elementRef.nativeElement.querySelector("tfoot");Vt&&(Vt.style.display=qe.length?"":"none");const jt=this._footerRowDefs.map(fi=>fi.sticky);this._stickyStyler.clearStickyPositioning(qe,["bottom"]),this._stickyStyler.stickRows(qe,jt,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,jt),this._footerRowDefs.forEach(fi=>fi.resetStickyChanged())}updateStickyColumnStyles(){const qe=this._getRenderedRows(this._headerRowOutlet),Ne=this._getRenderedRows(this._rowOutlet),Vt=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...qe,...Ne,...Vt],["left","right"]),this._stickyColumnStylesNeedReset=!1),qe.forEach((jt,fi)=>{this._addStickyColumnStyles([jt],this._headerRowDefs[fi])}),this._rowDefs.forEach(jt=>{const fi=[];for(let Si=0;Si<Ne.length;Si++)this._renderRows[Si].rowDef===jt&&fi.push(Ne[Si]);this._addStickyColumnStyles(fi,jt)}),Vt.forEach((jt,fi)=>{this._addStickyColumnStyles([jt],this._footerRowDefs[fi])}),Array.from(this._columnDefsByName.values()).forEach(jt=>jt.resetStickyChanged())}_getAllRenderRows(){const qe=[],Ne=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let Vt=0;Vt<this._data.length;Vt++){let jt=this._data[Vt];const fi=this._getRenderRowsForData(jt,Vt,Ne.get(jt));this._cachedRenderRowsMap.has(jt)||this._cachedRenderRowsMap.set(jt,new WeakMap);for(let Si=0;Si<fi.length;Si++){let ki=fi[Si];const Gi=this._cachedRenderRowsMap.get(ki.data);Gi.has(ki.rowDef)?Gi.get(ki.rowDef).push(ki):Gi.set(ki.rowDef,[ki]),qe.push(ki)}}return qe}_getRenderRowsForData(qe,Ne,Vt){return this._getRowDefs(qe,Ne).map(fi=>{const Si=Vt&&Vt.has(fi)?Vt.get(fi):[];if(Si.length){const ki=Si.shift();return ki.dataIndex=Ne,ki}return{data:qe,rowDef:fi,dataIndex:Ne}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Re(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(Ne=>{this._columnDefsByName.has(Ne.name),this._columnDefsByName.set(Ne.name,Ne)})}_cacheRowDefs(){this._headerRowDefs=Re(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Re(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Re(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const qe=this._rowDefs.filter(Ne=>!Ne.when);!this.multiTemplateDataRows&&qe.length,this._defaultRowDef=qe[0]}_renderUpdatedColumns(){const qe=(fi,Si)=>fi||!!Si.getColumnsDiff(),Ne=this._rowDefs.reduce(qe,!1);Ne&&this._forceRenderDataRows();const Vt=this._headerRowDefs.reduce(qe,!1);Vt&&this._forceRenderHeaderRows();const jt=this._footerRowDefs.reduce(qe,!1);return jt&&this._forceRenderFooterRows(),Ne||Vt||jt}_switchDataSource(qe){this._data=[],(0,S.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),qe||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=qe}_observeRenderChanges(){if(!this.dataSource)return;let qe;(0,S.Z9)(this.dataSource)?qe=this.dataSource.connect(this):(0,M.b)(this.dataSource)?qe=this.dataSource:Array.isArray(this.dataSource)&&(qe=(0,k.of)(this.dataSource)),this._renderChangeSubscription=qe.pipe((0,E.R)(this._onDestroy)).subscribe(Ne=>{this._data=Ne||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((qe,Ne)=>this._renderRow(this._headerRowOutlet,qe,Ne)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((qe,Ne)=>this._renderRow(this._footerRowOutlet,qe,Ne)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(qe,Ne){const Vt=Array.from(Ne.columns||[]).map(Si=>this._columnDefsByName.get(Si)),jt=Vt.map(Si=>Si.sticky),fi=Vt.map(Si=>Si.stickyEnd);this._stickyStyler.updateStickyColumns(qe,jt,fi,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(qe){const Ne=[];for(let Vt=0;Vt<qe.viewContainer.length;Vt++){const jt=qe.viewContainer.get(Vt);Ne.push(jt.rootNodes[0])}return Ne}_getRowDefs(qe,Ne){if(1==this._rowDefs.length)return[this._rowDefs[0]];let Vt=[];if(this.multiTemplateDataRows)Vt=this._rowDefs.filter(jt=>!jt.when||jt.when(Ne,qe));else{let jt=this._rowDefs.find(fi=>fi.when&&fi.when(Ne,qe))||this._defaultRowDef;jt&&Vt.push(jt)}return Vt.length,Vt}_getEmbeddedViewArgs(qe,Ne){const Vt=qe.rowDef,jt={$implicit:qe.data};return{templateRef:Vt.template,context:jt,index:Ne}}_renderRow(qe,Ne,Vt,jt={}){const fi=qe.viewContainer.createEmbeddedView(Ne.template,jt,Vt);return this._renderCellTemplateForItem(Ne,jt),fi}_renderCellTemplateForItem(qe,Ne){for(let Vt of this._getCellTemplates(qe))$e.mostRecentCellOutlet&&$e.mostRecentCellOutlet._viewContainer.createEmbeddedView(Vt,Ne);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const qe=this._rowOutlet.viewContainer;for(let Ne=0,Vt=qe.length;Ne<Vt;Ne++){const fi=qe.get(Ne).context;fi.count=Vt,fi.first=0===Ne,fi.last=Ne===Vt-1,fi.even=Ne%2==0,fi.odd=!fi.even,this.multiTemplateDataRows?(fi.dataIndex=this._renderRows[Ne].dataIndex,fi.renderIndex=Ne):fi.index=this._renderRows[Ne].dataIndex}}_getCellTemplates(qe){return qe&&qe.columns?Array.from(qe.columns,Ne=>{const Vt=this._columnDefsByName.get(Ne);return qe.extractCellTemplate(Vt)}):[]}_applyNativeTableSections(){const qe=this._document.createDocumentFragment(),Ne=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const Vt of Ne){const jt=this._document.createElement(Vt.tag);jt.setAttribute("role","rowgroup");for(const fi of Vt.outlets)jt.appendChild(fi.elementRef.nativeElement);qe.appendChild(jt)}this._elementRef.nativeElement.appendChild(qe)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const qe=(Ne,Vt)=>Ne||Vt.hasStickyChanged();this._headerRowDefs.reduce(qe,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(qe,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(qe,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){const qe=this._dir?this._dir.value:"ltr";this._stickyStyler=new Te(this._isNativeHtmlTable,this.stickyCssClass,qe,this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,k.of)()).pipe((0,E.R)(this._onDestroy)).subscribe(Ne=>{this._stickyStyler.direction=Ne,this.updateStickyColumnStyles()})}_getOwnDefs(qe){return qe.filter(Ne=>!Ne._table||Ne._table===this)}_updateNoDataRow(){const qe=this._customNoDataRow||this._noDataRow;if(!qe)return;const Ne=0===this._rowOutlet.viewContainer.length;if(Ne===this._isShowingNoDataRow)return;const Vt=this._noDataRowOutlet.viewContainer;if(Ne){const jt=Vt.createEmbeddedView(qe.templateRef),fi=jt.rootNodes[0];1===jt.rootNodes.length&&fi?.nodeType===this._document.ELEMENT_NODE&&(fi.setAttribute("role","row"),fi.classList.add(qe._contentClassName))}else Vt.clear();this._isShowingNoDataRow=Ne}}function Re(wt,qe){return wt.concat(Array.from(qe))}rt.\u0275fac=function(qe){return new(qe||rt)(e.Y36(e.ZZ4),e.Y36(e.sBO),e.Y36(e.SBq),e.$8M("role"),e.Y36(t.Is,8),e.Y36(d.K0),e.Y36(l.t4),e.Y36(S.k),e.Y36(A),e.Y36(D.rL),e.Y36(ze,12),e.Y36(e.R0b,8))},rt.\u0275cmp=e.Xpm({type:rt,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(qe,Ne,Vt){if(1&qe&&(e.Suo(Vt,je,5),e.Suo(Vt,T,5),e.Suo(Vt,Ye,5),e.Suo(Vt,N,5),e.Suo(Vt,Le,5)),2&qe){let jt;e.iGM(jt=e.CRH())&&(Ne._noDataRow=jt.first),e.iGM(jt=e.CRH())&&(Ne._contentColumnDefs=jt),e.iGM(jt=e.CRH())&&(Ne._contentRowDefs=jt),e.iGM(jt=e.CRH())&&(Ne._contentHeaderRowDefs=jt),e.iGM(jt=e.CRH())&&(Ne._contentFooterRowDefs=jt)}},viewQuery:function(qe,Ne){if(1&qe&&(e.Gf(oe,7),e.Gf(bt,7),e.Gf(Be,7),e.Gf(nt,7)),2&qe){let Vt;e.iGM(Vt=e.CRH())&&(Ne._rowOutlet=Vt.first),e.iGM(Vt=e.CRH())&&(Ne._headerRowOutlet=Vt.first),e.iGM(Vt=e.CRH())&&(Ne._footerRowOutlet=Vt.first),e.iGM(Vt=e.CRH())&&(Ne._noDataRowOutlet=Vt.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(qe,Ne){2&qe&&e.ekj("cdk-table-fixed-layout",Ne.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[e._Bn([{provide:ne,useExisting:rt},{provide:S.k,useClass:S.yy},{provide:A,useClass:R},{provide:ze,useValue:null}])],ngContentSelectors:["caption","colgroup, col"],decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(qe,Ne){1&qe&&(e.F$t(I),e.Hsn(0),e.Hsn(1,1),e.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[oe,bt,Be,nt],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2});class ot{constructor(qe,Ne){this._table=qe,this._options=Ne,this.justify="start",this._options=Ne||{}}get name(){return this._name}set name(qe){this._name=qe,this._syncColumnDefName()}ngOnInit(){this._syncColumnDefName(),void 0===this.headerText&&(this.headerText=this._createDefaultHeaderText()),this.dataAccessor||(this.dataAccessor=this._options.defaultDataAccessor||((qe,Ne)=>qe[Ne])),this._table&&(this.columnDef.cell=this.cell,this.columnDef.headerCell=this.headerCell,this._table.addColumnDef(this.columnDef))}ngOnDestroy(){this._table&&this._table.removeColumnDef(this.columnDef)}_createDefaultHeaderText(){const qe=this.name;return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(qe):qe[0].toUpperCase()+qe.slice(1)}_syncColumnDefName(){this.columnDef&&(this.columnDef.name=this.name)}}ot.\u0275fac=function(qe){return new(qe||ot)(e.Y36(rt,8),e.Y36(le,8))},ot.\u0275cmp=e.Xpm({type:ot,selectors:[["cdk-text-column"]],viewQuery:function(qe,Ne){if(1&qe&&(e.Gf(T,7),e.Gf(re,7),e.Gf(_e,7)),2&qe){let Vt;e.iGM(Vt=e.CRH())&&(Ne.columnDef=Vt.first),e.iGM(Vt=e.CRH())&&(Ne.cell=Vt.first),e.iGM(Vt=e.CRH())&&(Ne.headerCell=Vt.first)}},inputs:{name:"name",headerText:"headerText",dataAccessor:"dataAccessor",justify:"justify"},decls:3,vars:0,consts:[["cdkColumnDef",""],["cdk-header-cell","",3,"text-align",4,"cdkHeaderCellDef"],["cdk-cell","",3,"text-align",4,"cdkCellDef"],["cdk-header-cell",""],["cdk-cell",""]],template:function(qe,Ne){1&qe&&(e.ynx(0,0),e.YNc(1,Z,2,3,"th",1),e.YNc(2,q,2,3,"td",2),e.BQk())},dependencies:[re,_e,T,h,o],encapsulation:2});class gi{}gi.\u0275fac=function(qe){return new(qe||gi)},gi.\u0275mod=e.oAB({type:gi}),gi.\u0275inj=e.cJS({imports:[D.Cl]});var oi=f(207),ei=f(6646),Zi=f(6562),si=f(635);const Bt=[[["caption"]],[["colgroup"],["col"]]];function me(wt,qe){if(1&wt&&(e.TgZ(0,"th",3),e._uU(1),e.qZA()),2&wt){const Ne=e.oxw();e.Udp("text-align",Ne.justify),e.xp6(1),e.hij(" ",Ne.headerText," ")}}function K(wt,qe){if(1&wt&&(e.TgZ(0,"td",4),e._uU(1),e.qZA()),2&wt){const Ne=qe.$implicit,Vt=e.oxw();e.Udp("text-align",Vt.justify),e.xp6(1),e.hij(" ",Vt.dataAccessor(Ne,Vt.name)," ")}}class J{}J.\u0275fac=function(qe){return new(qe||J)},J.\u0275dir=e.lG2({type:J,selectors:[["mat-table","recycleRows",""],["table","mat-table","","recycleRows",""]],features:[e._Bn([{provide:S.k,useClass:S.eX}])]});class Ce extends rt{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")}}Ce.\u0275fac=function(){let wt;return function(Ne){return(wt||(wt=e.n5z(Ce)))(Ne||Ce)}}(),Ce.\u0275cmp=e.Xpm({type:Ce,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(qe,Ne){2&qe&&e.ekj("mdc-table-fixed-layout",Ne.fixedLayout)},exportAs:["matTable"],features:[e._Bn([{provide:rt,useExisting:Ce},{provide:ne,useExisting:Ce},{provide:A,useClass:R},{provide:S.k,useClass:S.yy},{provide:ze,useValue:null}]),e.qOj],ngContentSelectors:["caption","colgroup, col"],decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(qe,Ne){1&qe&&(e.F$t(Bt),e.Hsn(0),e.Hsn(1,1),e.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[oe,bt,Be,nt],styles:[".mdc-data-table{border-radius:var(--mdc-shape-medium, 4px);border-width:1px;border-style:solid}.mdc-data-table .mdc-data-table__header-cell:first-child{border-top-left-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table .mdc-data-table__header-cell:first-child,.mdc-data-table .mdc-data-table__header-cell:first-child[dir=rtl]{border-top-right-radius:var(--mdc-shape-medium, 4px);border-top-left-radius:0}.mdc-data-table .mdc-data-table__header-cell:last-child{border-top-right-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table .mdc-data-table__header-cell:last-child,.mdc-data-table .mdc-data-table__header-cell:last-child[dir=rtl]{border-top-left-radius:var(--mdc-shape-medium, 4px);border-top-right-radius:0}.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child{border-bottom-left-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child,.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child[dir=rtl]{border-bottom-right-radius:var(--mdc-shape-medium, 4px);border-bottom-left-radius:0}.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child{border-bottom-right-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child,.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child[dir=rtl]{border-bottom-left-radius:var(--mdc-shape-medium, 4px);border-bottom-right-radius:0}.mdc-data-table__cell,.mdc-data-table__header-cell{border-bottom-width:1px;border-bottom-style:solid}.mdc-data-table__pagination{border-top-width:1px;border-top-style:solid}.mdc-data-table__row:last-child .mdc-data-table__cell{border-bottom:none}.mdc-data-table__row{height:52px}.mdc-data-table__pagination{min-height:52px}.mdc-data-table__header-row{height:56px}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px 0 16px}.mdc-data-table__header-cell--checkbox,.mdc-data-table__cell--checkbox{padding-left:4px;padding-right:0}[dir=rtl] .mdc-data-table__header-cell--checkbox,[dir=rtl] .mdc-data-table__cell--checkbox,.mdc-data-table__header-cell--checkbox[dir=rtl],.mdc-data-table__cell--checkbox[dir=rtl]{padding-left:0;padding-right:4px}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__cell--checkbox{width:1px}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--checkbox{width:1px}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__sort-icon-button{width:28px;height:28px;padding:2px;transform:rotate(0.0001deg);margin-left:4px;margin-right:0;opacity:0}.mdc-data-table__sort-icon-button .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:28px;height:28px;margin-top:0px;margin-bottom:0px;margin-right:0px;margin-left:0px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:28px;left:50%;width:28px;transform:translate(-50%, -50%)}[dir=rtl] .mdc-data-table__sort-icon-button,.mdc-data-table__sort-icon-button[dir=rtl]{margin-left:0;margin-right:4px}.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button{margin-left:0;margin-right:4px}[dir=rtl] .mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button[dir=rtl]{margin-left:4px;margin-right:0}.mdc-data-table__header-cell--sorted-descending .mdc-data-table__sort-icon-button{transform:rotate(-180deg)}.mdc-data-table__sort-icon-button:focus,.mdc-data-table__header-cell:hover .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button{opacity:1}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__header-cell--with-sort{cursor:pointer}.mdc-data-table__sort-status-label{clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.mdc-data-table--sticky-header .mdc-data-table__header-cell{position:sticky;top:0;z-index:1}.mdc-data-table{-webkit-overflow-scrolling:touch;display:inline-flex;flex-direction:column;box-sizing:border-box;position:relative}.mdc-data-table__table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.mdc-data-table__table{min-width:100%;border:0;white-space:nowrap;border-spacing:0;table-layout:fixed}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--checkbox{width:1px}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__sort-icon-button{width:28px;height:28px;padding:2px;transform:rotate(0.0001deg);margin-left:4px;margin-right:0;opacity:0}.mdc-data-table__sort-icon-button .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:28px;height:28px;margin-top:0px;margin-bottom:0px;margin-right:0px;margin-left:0px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:28px;left:50%;width:28px;transform:translate(-50%, -50%)}[dir=rtl] .mdc-data-table__sort-icon-button,.mdc-data-table__sort-icon-button[dir=rtl]{margin-left:0;margin-right:4px}.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button{margin-left:0;margin-right:4px}[dir=rtl] .mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button[dir=rtl]{margin-left:4px;margin-right:0}.mdc-data-table__header-cell--sorted-descending .mdc-data-table__sort-icon-button{transform:rotate(-180deg)}.mdc-data-table__sort-icon-button:focus,.mdc-data-table__header-cell:hover .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button{opacity:1}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__header-cell--with-sort{cursor:pointer}.mdc-data-table__sort-status-label{clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__cell--checkbox{width:1px}.mdc-data-table__pagination{box-sizing:border-box;display:flex;justify-content:flex-end}.mdc-data-table__pagination-trailing{margin-left:4px;margin-right:0;align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-end}[dir=rtl] .mdc-data-table__pagination-trailing,.mdc-data-table__pagination-trailing[dir=rtl]{margin-left:0;margin-right:4px}.mdc-data-table__pagination-navigation{align-items:center;display:flex}.mdc-data-table__pagination-button{margin-left:0;margin-right:4px}[dir=rtl] .mdc-data-table__pagination-button .mdc-button__icon,.mdc-data-table__pagination-button .mdc-button__icon[dir=rtl]{transform:rotate(180deg)}[dir=rtl] .mdc-data-table__pagination-button,.mdc-data-table__pagination-button[dir=rtl]{margin-left:4px;margin-right:0}.mdc-data-table__pagination-total{margin-left:14px;margin-right:36px;white-space:nowrap}[dir=rtl] .mdc-data-table__pagination-total,.mdc-data-table__pagination-total[dir=rtl]{margin-left:36px;margin-right:14px}.mdc-data-table__pagination-rows-per-page{margin-left:0;margin-right:22px;align-items:center;display:inline-flex}[dir=rtl] .mdc-data-table__pagination-rows-per-page,.mdc-data-table__pagination-rows-per-page[dir=rtl]{margin-left:22px;margin-right:0}.mdc-data-table__pagination-rows-per-page-label{margin-left:0;margin-right:12px;white-space:nowrap}[dir=rtl] .mdc-data-table__pagination-rows-per-page-label,.mdc-data-table__pagination-rows-per-page-label[dir=rtl]{margin-left:12px;margin-right:0}.mdc-data-table__pagination-rows-per-page-select{min-width:var(--mdc-menu-min-width, 80px);margin:8px 0}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor{width:100%;min-width:80px}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor{height:36px}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-floating-label--float-above{font-size:.75rem}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-data-table__pagination-rows-per-page-select .mdc-select__dropdown-icon{width:20px;height:20px}.mdc-data-table__pagination-rows-per-page-select.mdc-select--outlined .mdc-select__anchor :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 56px)}.mdc-data-table__pagination-rows-per-page-select .mdc-list-item.mdc-list-item--with-one-line{height:36px}.mdc-data-table__progress-indicator{display:none;position:absolute;width:100%}.mdc-data-table--in-progress .mdc-data-table__progress-indicator{display:block}.mdc-data-table__scrim{background-color:var(--mdc-theme-surface, #fff);height:100%;opacity:.32;position:absolute;top:0;width:100%}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table-sticky{position:sticky !important}.mat-mdc-table{table-layout:auto;white-space:normal}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table .mat-mdc-row:hover,.mat-mdc-table .mat-mdc-footer-row:hover{background-color:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2});class We extends re{}We.\u0275fac=function(){let wt;return function(Ne){return(wt||(wt=e.n5z(We)))(Ne||We)}}(),We.\u0275dir=e.lG2({type:We,selectors:[["","matCellDef",""]],features:[e._Bn([{provide:re,useExisting:We}]),e.qOj]});class Mt extends _e{}Mt.\u0275fac=function(){let wt;return function(Ne){return(wt||(wt=e.n5z(Mt)))(Ne||Mt)}}(),Mt.\u0275dir=e.lG2({type:Mt,selectors:[["","matHeaderCellDef",""]],features:[e._Bn([{provide:_e,useExisting:Mt}]),e.qOj]});class Tt extends he{}Tt.\u0275fac=function(){let wt;return function(Ne){return(wt||(wt=e.n5z(Tt)))(Ne||Tt)}}(),Tt.\u0275dir=e.lG2({type:Tt,selectors:[["","matFooterCellDef",""]],features:[e._Bn([{provide:he,useExisting:Tt}]),e.qOj]});class Nt extends T{get name(){return this._name}set name(qe){this._setNameInput(qe)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}Nt.\u0275fac=function(){let wt;return function(Ne){return(wt||(wt=e.n5z(Nt)))(Ne||Nt)}}(),Nt.\u0275dir=e.lG2({type:Nt,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[e._Bn([{provide:T,useExisting:Nt},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:Nt}]),e.qOj]});class at extends o{}at.\u0275fac=function(){let wt;return function(Ne){return(wt||(wt=e.n5z(at)))(Ne||at)}}(),at.\u0275dir=e.lG2({type:at,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[e.qOj]});class Ke extends m{}Ke.\u0275fac=function(){let wt;return function(Ne){return(wt||(wt=e.n5z(Ke)))(Ne||Ke)}}(),Ke.\u0275dir=e.lG2({type:Ke,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:[1,"mat-mdc-footer-cell","mdc-data-table__cell"],features:[e.qOj]});class vt extends h{}vt.\u0275fac=function(){let wt;return function(Ne){return(wt||(wt=e.n5z(vt)))(Ne||vt)}}(),vt.\u0275dir=e.lG2({type:vt,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[e.qOj]});class ri extends N{}ri.\u0275fac=function(){let wt;return function(Ne){return(wt||(wt=e.n5z(ri)))(Ne||ri)}}(),ri.\u0275dir=e.lG2({type:ri,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[e._Bn([{provide:N,useExisting:ri}]),e.qOj]});class Pt extends Le{}Pt.\u0275fac=function(){let wt;return function(Ne){return(wt||(wt=e.n5z(Pt)))(Ne||Pt)}}(),Pt.\u0275dir=e.lG2({type:Pt,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[e._Bn([{provide:Le,useExisting:Pt}]),e.qOj]});class Lt extends Ye{}Lt.\u0275fac=function(){let wt;return function(Ne){return(wt||(wt=e.n5z(Lt)))(Ne||Lt)}}(),Lt.\u0275dir=e.lG2({type:Lt,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[e._Bn([{provide:Ye,useExisting:Lt}]),e.qOj]});class Kt extends Ve{}Kt.\u0275fac=function(){let wt;return function(Ne){return(wt||(wt=e.n5z(Kt)))(Ne||Kt)}}(),Kt.\u0275cmp=e.Xpm({type:Kt,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:Ve,useExisting:Kt}]),e.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(qe,Ne){1&qe&&e.GkF(0,0)},dependencies:[$e],encapsulation:2});class Ae extends be{}Ae.\u0275fac=function(){let wt;return function(Ne){return(wt||(wt=e.n5z(Ae)))(Ne||Ae)}}(),Ae.\u0275cmp=e.Xpm({type:Ae,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:be,useExisting:Ae}]),e.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(qe,Ne){1&qe&&e.GkF(0,0)},dependencies:[$e],encapsulation:2});class fe extends et{}fe.\u0275fac=function(){let wt;return function(Ne){return(wt||(wt=e.n5z(fe)))(Ne||fe)}}(),fe.\u0275cmp=e.Xpm({type:fe,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[e._Bn([{provide:et,useExisting:fe}]),e.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(qe,Ne){1&qe&&e.GkF(0,0)},dependencies:[$e],encapsulation:2});class st extends je{constructor(){super(...arguments),this._contentClassName="mat-mdc-no-data-row"}}st.\u0275fac=function(){let wt;return function(Ne){return(wt||(wt=e.n5z(st)))(Ne||st)}}(),st.\u0275dir=e.lG2({type:st,selectors:[["ng-template","matNoDataRow",""]],features:[e._Bn([{provide:je,useExisting:st}]),e.qOj]});class _t extends ot{}_t.\u0275fac=function(){let wt;return function(Ne){return(wt||(wt=e.n5z(_t)))(Ne||_t)}}(),_t.\u0275cmp=e.Xpm({type:_t,selectors:[["mat-text-column"]],features:[e.qOj],decls:3,vars:0,consts:[["matColumnDef",""],["mat-header-cell","",3,"text-align",4,"matHeaderCellDef"],["mat-cell","",3,"text-align",4,"matCellDef"],["mat-header-cell",""],["mat-cell",""]],template:function(qe,Ne){1&qe&&(e.ynx(0,0),e.YNc(1,me,2,3,"th",1),e.YNc(2,K,2,3,"td",2),e.BQk())},dependencies:[Mt,Nt,We,at,vt],encapsulation:2});class Oi{}Oi.\u0275fac=function(qe){return new(qe||Oi)},Oi.\u0275mod=e.oAB({type:Oi}),Oi.\u0275inj=e.cJS({imports:[oi.BQ,gi,oi.BQ]});class Ei extends S.o2{constructor(qe=[]){super(),this._renderData=new L.X([]),this._filter=new L.X(""),this._internalPageChanges=new P.x,this._renderChangesSubscription=null,this.sortingDataAccessor=(Ne,Vt)=>{const jt=Ne[Vt];if((0,_.t6)(jt)){const fi=Number(jt);return fi<9007199254740991?fi:jt}return jt},this.sortData=(Ne,Vt)=>{const jt=Vt.active,fi=Vt.direction;return jt&&""!=fi?Ne.sort((Si,ki)=>{let Gi=this.sortingDataAccessor(Si,jt),Qt=this.sortingDataAccessor(ki,jt);const xe=typeof Gi,ke=typeof Qt;xe!==ke&&("number"===xe&&(Gi+=""),"number"===ke&&(Qt+=""));let ft=0;return null!=Gi&&null!=Qt?Gi>Qt?ft=1:Gi<Qt&&(ft=-1):null!=Gi?ft=1:null!=Qt&&(ft=-1),ft*("asc"==fi?1:-1)}):Ne},this.filterPredicate=(Ne,Vt)=>{const jt=Object.keys(Ne).reduce((Si,ki)=>Si+Ne[ki]+"\u25ec","").toLowerCase(),fi=Vt.trim().toLowerCase();return-1!=jt.indexOf(fi)},this._data=new L.X(qe),this._updateChangeSubscription()}get data(){return this._data.value}set data(qe){qe=Array.isArray(qe)?qe:[],this._data.next(qe),this._renderChangesSubscription||this._filterData(qe)}get filter(){return this._filter.value}set filter(qe){this._filter.next(qe),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(qe){this._sort=qe,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(qe){this._paginator=qe,this._updateChangeSubscription()}_updateChangeSubscription(){const qe=this._sort?(0,ei.T)(this._sort.sortChange,this._sort.initialized):(0,k.of)(null),Ne=this._paginator?(0,ei.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,k.of)(null),Vt=this._data,jt=(0,Zi.a)([Vt,this._filter]).pipe((0,si.U)(([ki])=>this._filterData(ki))),fi=(0,Zi.a)([jt,qe]).pipe((0,si.U)(([ki])=>this._orderData(ki))),Si=(0,Zi.a)([fi,Ne]).pipe((0,si.U)(([ki])=>this._pageData(ki)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=Si.subscribe(ki=>this._renderData.next(ki))}_filterData(qe){return this.filteredData=null==this.filter||""===this.filter?qe:qe.filter(Ne=>this.filterPredicate(Ne,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(qe){return this.sort?this.sortData(qe.slice(),this.sort):qe}_pageData(qe){if(!this.paginator)return qe;const Ne=this.paginator.pageIndex*this.paginator.pageSize;return qe.slice(Ne,Ne+this.paginator.pageSize)}_updatePaginator(qe){Promise.resolve().then(()=>{const Ne=this.paginator;if(Ne&&(Ne.length=qe,Ne.pageIndex>0)){const Vt=Math.ceil(Ne.length/Ne.pageSize)-1||0,jt=Math.min(Ne.pageIndex,Vt);jt!==Ne.pageIndex&&(Ne.pageIndex=jt,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}}class Wi extends Ei{}},5892:(Ge,X,f)=>{"use strict";f.d(X,{BU:()=>ri,Nh:()=>Kt,Nj:()=>Pt,SP:()=>We,sW:()=>Lt,uD:()=>ie,uX:()=>St});var e=f(4666),t=f(2560),_=f(207),S=f(7520),l=f(3773),D=f(4218),d=f(2867),P=f(7714),p=f(253),L=f(3280),M=f(745),k=f(6646),E=f(591),z=f(833),I=f(8947),V=f(6317),Z=f(4874),q=f(8977),te=f(8951),ne=f(9295),le=f(2673),re=f(7260),_e=f(116),he=f(4851),ae=f(8971),ve=f(1494),T=f(9107),i=f(8456);function o(Ae,fe){}const m=function(Ae){return{animationDuration:Ae}},h=function(Ae,fe){return{value:Ae,params:fe}};function y(Ae,fe){1&Ae&&t.Hsn(0)}const A=["*"],R=["tabListContainer"],v=["tabList"],a=["tabListInner"],C=["nextPaginator"],U=["previousPaginator"],N=["tabBodyWrapper"],Q=["tabHeader"];function Pe(Ae,fe){}function Le(Ae,fe){if(1&Ae&&t.YNc(0,Pe,0,0,"ng-template",14),2&Ae){const st=t.oxw().$implicit;t.Q6J("cdkPortalOutlet",st.templateLabel)}}function Ye(Ae,fe){if(1&Ae&&t._uU(0),2&Ae){const st=t.oxw().$implicit;t.Oqu(st.textLabel)}}function $e(Ae,fe){if(1&Ae){const st=t.EpF();t.TgZ(0,"div",6,7),t.NdJ("click",function(){const kt=t.CHM(st),Oi=kt.$implicit,Li=kt.index,Ei=t.oxw(),Wi=t.MAs(1);return t.KtG(Ei._handleClick(Oi,Wi,Li))})("cdkFocusChange",function(kt){const Li=t.CHM(st).index,Ei=t.oxw();return t.KtG(Ei._tabFocusChanged(kt,Li))}),t._UZ(2,"span",8)(3,"div",9),t.TgZ(4,"span",10)(5,"span",11),t.YNc(6,Le,1,1,"ng-template",12),t.YNc(7,Ye,1,1,"ng-template",null,13,t.W1O),t.qZA()()()}if(2&Ae){const st=fe.$implicit,_t=fe.index,kt=t.MAs(1),Oi=t.MAs(8),Li=t.oxw();t.ekj("mdc-tab--active",Li.selectedIndex===_t),t.Q6J("id",Li._getTabLabelId(_t))("ngClass",st.labelClass)("disabled",st.disabled)("fitInkBarToContent",Li.fitInkBarToContent),t.uIk("tabIndex",Li._getTabIndex(st,_t))("aria-posinset",_t+1)("aria-setsize",Li._tabs.length)("aria-controls",Li._getTabContentId(_t))("aria-selected",Li.selectedIndex===_t)("aria-label",st.ariaLabel||null)("aria-labelledby",!st.ariaLabel&&st.ariaLabelledby?st.ariaLabelledby:null),t.xp6(3),t.Q6J("matRippleTrigger",kt)("matRippleDisabled",st.disabled||Li.disableRipple),t.xp6(3),t.Q6J("ngIf",st.templateLabel)("ngIfElse",Oi)}}function Ve(Ae,fe){if(1&Ae){const st=t.EpF();t.TgZ(0,"mat-tab-body",15),t.NdJ("_onCentered",function(){t.CHM(st);const kt=t.oxw();return t.KtG(kt._removeTabBodyWrapperHeight())})("_onCentering",function(kt){t.CHM(st);const Oi=t.oxw();return t.KtG(Oi._setTabBodyWrapperHeight(kt))}),t.qZA()}if(2&Ae){const st=fe.$implicit,_t=fe.index,kt=t.oxw();t.ekj("mat-mdc-tab-body-active",kt.selectedIndex===_t),t.Q6J("id",kt._getTabContentId(_t))("ngClass",st.bodyClass)("content",st.content)("position",st.position)("origin",st.origin)("animationDuration",kt.animationDuration)("preserveContent",kt.preserveContent),t.uIk("tabindex",null!=kt.contentTabIndex&&kt.selectedIndex===_t?kt.contentTabIndex:null)("aria-labelledby",kt._getTabLabelId(_t))}}const je={translateTab:(0,he.X$)("translateTab",[(0,he.SB)("center, void, left-origin-center, right-origin-center",(0,he.oB)({transform:"none"})),(0,he.SB)("left",(0,he.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,he.SB)("right",(0,he.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,he.eR)("* => left, * => right, left => center, right => center",(0,he.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,he.eR)("void => left-origin-center",[(0,he.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,he.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,he.eR)("void => right-origin-center",[(0,he.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,he.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};class ye extends S.Pl{constructor(fe,st,_t,kt){super(fe,st,kt),this._host=_t,this._centeringSub=P.w0.EMPTY,this._leavingSub=P.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,Z.O)(this._host._isCenterPosition(this._host._position))).subscribe(fe=>{fe&&!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()}}ye.\u0275fac=function(fe){return new(fe||ye)(t.Y36(t._Vd),t.Y36(t.s_b),t.Y36((0,t.Gpc)(()=>He)),t.Y36(e.K0))},ye.\u0275dir=t.lG2({type:ye,selectors:[["","matTabBodyHost",""]],features:[t.qOj]});class Te{constructor(fe,st,_t){this._elementRef=fe,this._dir=st,this._dirChangeSubscription=P.w0.EMPTY,this._translateTabComplete=new p.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,st&&(this._dirChangeSubscription=st.change.subscribe(kt=>{this._computePositionAnimationState(kt),_t.markForCheck()})),this._translateTabComplete.pipe((0,q.x)((kt,Oi)=>kt.fromState===Oi.fromState&&kt.toState===Oi.toState)).subscribe(kt=>{this._isCenterPosition(kt.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(kt.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(fe){this._positionIndex=fe,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(fe){const st=this._isCenterPosition(fe.toState);this._beforeCentering.emit(st),st&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(fe){return"center"==fe||"left-origin-center"==fe||"right-origin-center"==fe}_computePositionAnimationState(fe=this._getLayoutDirection()){this._positionIndex<0?this._position="ltr"==fe?"left":"right":this._positionIndex>0?this._position="ltr"==fe?"right":"left":this._position="center"}_computePositionFromOrigin(fe){const st=this._getLayoutDirection();return"ltr"==st&&fe<=0||"rtl"==st&&fe>0?"left-origin-center":"right-origin-center"}}Te.\u0275fac=function(fe){return new(fe||Te)(t.Y36(t.SBq),t.Y36(d.Is,8),t.Y36(t.sBO))},Te.\u0275dir=t.lG2({type:Te,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}});class He extends Te{constructor(fe,st,_t){super(fe,st,_t)}}He.\u0275fac=function(fe){return new(fe||He)(t.Y36(t.SBq),t.Y36(d.Is,8),t.Y36(t.sBO))},He.\u0275cmp=t.Xpm({type:He,selectors:[["mat-tab-body"]],viewQuery:function(fe,st){if(1&fe&&t.Gf(S.Pl,5),2&fe){let _t;t.iGM(_t=t.CRH())&&(st._portalHost=_t.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(fe,st){1&fe&&(t.TgZ(0,"div",0,1),t.NdJ("@translateTab.start",function(kt){return st._onTranslateTabStarted(kt)})("@translateTab.done",function(kt){return st._translateTabComplete.next(kt)}),t.YNc(2,o,0,0,"ng-template",2),t.qZA()),2&fe&&t.Q6J("@translateTab",t.WLB(3,h,st._position,t.VKq(1,m,st.animationDuration)))},dependencies:[ye],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:[je.translateTab]}});const Ee=new t.OlP("MatTabContent");class we{constructor(fe){this.template=fe}}we.\u0275fac=function(fe){return new(fe||we)(t.Y36(t.Rgc))},we.\u0275dir=t.lG2({type:we,selectors:[["","matTabContent",""]],features:[t._Bn([{provide:Ee,useExisting:we}])]});const de=new t.OlP("MatTabLabel"),Me=new t.OlP("MAT_TAB");class ie extends S.ig{constructor(fe,st,_t){super(fe,st),this._closestTab=_t}}ie.\u0275fac=function(fe){return new(fe||ie)(t.Y36(t.Rgc),t.Y36(t.s_b),t.Y36(Me,8))},ie.\u0275dir=t.lG2({type:ie,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[t._Bn([{provide:de,useExisting:ie}]),t.qOj]});const G="mdc-tab-indicator--active",$="mdc-tab-indicator--no-transition";class ze{constructor(fe){this._items=fe}hide(){this._items.forEach(fe=>fe.deactivateInkBar())}alignToElement(fe){const st=this._items.find(kt=>kt.elementRef.nativeElement===fe),_t=this._currentItem;if(_t?.deactivateInkBar(),st){const kt=_t?.elementRef.nativeElement.getBoundingClientRect?.();st.activateInkBar(kt),this._currentItem=st}}}function Ue(Ae){return class extends Ae{constructor(...fe){super(...fe),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(fe){const st=(0,ae.Ig)(fe);this._fitToContent!==st&&(this._fitToContent=st,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(fe){const st=this.elementRef.nativeElement;if(!fe||!st.getBoundingClientRect||!this._inkBarContentElement)return void st.classList.add(G);const _t=st.getBoundingClientRect(),kt=fe.width/_t.width,Oi=fe.left-_t.left;st.classList.add($),this._inkBarContentElement.style.setProperty("transform",`translateX(${Oi}px) scaleX(${kt})`),st.getBoundingClientRect(),st.classList.remove($),st.classList.add(G),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(G)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const fe=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=fe.createElement("span"),this._inkBarContentElement=fe.createElement("span"),this._inkBarElement.className="mdc-tab-indicator",this._inkBarContentElement.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",this._inkBarElement.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){this._inkBarElement;(this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement).appendChild(this._inkBarElement)}}}new t.OlP("MatInkBarPositioner",{providedIn:"root",factory:function oe(){return fe=>({left:fe?(fe.offsetLeft||0)+"px":"0",width:fe?(fe.offsetWidth||0)+"px":"0"})}});const Be=(0,_.Id)(class{});class nt extends Be{constructor(fe){super(),this.elementRef=fe}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}nt.\u0275fac=function(fe){return new(fe||nt)(t.Y36(t.SBq))},nt.\u0275dir=t.lG2({type:nt,features:[t.qOj]});const $t=Ue(nt);class gt extends $t{}gt.\u0275fac=function(){let Ae;return function(st){return(Ae||(Ae=t.n5z(gt)))(st||gt)}}(),gt.\u0275dir=t.lG2({type:gt,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(fe,st){2&fe&&(t.uIk("aria-disabled",!!st.disabled),t.ekj("mat-mdc-tab-disabled",st.disabled))},inputs:{disabled:"disabled",fitInkBarToContent:"fitInkBarToContent"},features:[t.qOj]});const rt=(0,_.Id)(class{}),Re=new t.OlP("MAT_TAB_GROUP");class ot extends rt{constructor(fe,st){super(),this._viewContainerRef=fe,this._closestTabGroup=st,this.textLabel="",this._contentPortal=null,this._stateChanges=new p.x,this.position=null,this.origin=null,this.isActive=!1}get content(){return this._contentPortal}ngOnChanges(fe){(fe.hasOwnProperty("textLabel")||fe.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new S.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(fe){fe&&fe._closestTab===this&&(this._templateLabel=fe)}}ot.\u0275fac=function(fe){return new(fe||ot)(t.Y36(t.s_b),t.Y36(Re,8))},ot.\u0275dir=t.lG2({type:ot,viewQuery:function(fe,st){if(1&fe&&t.Gf(t.Rgc,7),2&fe){let _t;t.iGM(_t=t.CRH())&&(st._implicitContent=_t.first)}},inputs:{textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[t.qOj,t.TTD]});class St extends ot{get templateLabel(){return this._templateLabel}set templateLabel(fe){this._setTemplateLabelInput(fe)}}St.\u0275fac=function(){let Ae;return function(st){return(Ae||(Ae=t.n5z(St)))(st||St)}}(),St.\u0275cmp=t.Xpm({type:St,selectors:[["mat-tab"]],contentQueries:function(fe,st,_t){if(1&fe&&(t.Suo(_t,we,7,t.Rgc),t.Suo(_t,ie,5)),2&fe){let kt;t.iGM(kt=t.CRH())&&(st._explicitContent=kt.first),t.iGM(kt=t.CRH())&&(st.templateLabel=kt.first)}},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[t._Bn([{provide:Me,useExisting:St}]),t.qOj],ngContentSelectors:A,decls:1,vars:0,template:function(fe,st){1&fe&&(t.F$t(),t.YNc(0,y,1,0,"ng-template"))},encapsulation:2});const gi=(0,T.i$)({passive:!0});class si{constructor(fe,st,_t,kt,Oi,Li,Ei){this._elementRef=fe,this._changeDetectorRef=st,this._viewportRuler=_t,this._dir=kt,this._ngZone=Oi,this._platform=Li,this._animationMode=Ei,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new p.x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new p.x,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new t.vpe,this.indexFocused=new t.vpe,Oi.runOutsideAngular(()=>{(0,L.R)(fe.nativeElement,"mouseleave").pipe((0,te.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get disablePagination(){return this._disablePagination}set disablePagination(fe){this._disablePagination=(0,ae.Ig)(fe)}get selectedIndex(){return this._selectedIndex}set selectedIndex(fe){fe=(0,ae.su)(fe),this._selectedIndex!=fe&&(this._selectedIndexChanged=!0,this._selectedIndex=fe,this._keyManager&&this._keyManager.updateActiveItem(fe))}ngAfterViewInit(){(0,L.R)(this._previousPaginator.nativeElement,"touchstart",gi).pipe((0,te.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,L.R)(this._nextPaginator.nativeElement,"touchstart",gi).pipe((0,te.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const fe=this._dir?this._dir.change:(0,M.of)("ltr"),st=this._viewportRuler.change(150),_t=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new D.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,ne.q)(1)).subscribe(_t),(0,k.T)(fe,st,this._items.changes,this._itemsResized()).pipe((0,te.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),_t()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(kt=>{this.indexFocused.emit(kt),this._setTabFocus(kt)})}_itemsResized(){return"function"!=typeof ResizeObserver?E.E:this._items.changes.pipe((0,Z.O)(this._items),(0,le.w)(fe=>new z.y(st=>this._ngZone.runOutsideAngular(()=>{const _t=new ResizeObserver(kt=>st.next(kt));return fe.forEach(kt=>_t.observe(kt.elementRef.nativeElement)),()=>{_t.disconnect()}}))),(0,re.T)(1),(0,_e.h)(fe=>fe.some(st=>st.contentRect.width>0&&st.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(fe){if(!(0,i.Vb)(fe))switch(fe.keyCode){case i.K5:case i.L_:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(fe));break;default:this._keyManager.onKeydown(fe)}}_onContentChanges(){const fe=this._elementRef.nativeElement.textContent;fe!==this._currentTextContent&&(this._currentTextContent=fe||"",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(fe){!this._isValidIndex(fe)||this.focusIndex===fe||!this._keyManager||this._keyManager.setActiveItem(fe)}_isValidIndex(fe){if(!this._items)return!0;const st=this._items?this._items.toArray()[fe]:null;return!!st&&!st.disabled}_setTabFocus(fe){if(this._showPaginationControls&&this._scrollToLabel(fe),this._items&&this._items.length){this._items.toArray()[fe].focus();const st=this._tabListContainer.nativeElement;"ltr"==this._getLayoutDirection()?st.scrollLeft=0:st.scrollLeft=st.scrollWidth-st.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const fe=this.scrollDistance,st="ltr"===this._getLayoutDirection()?-fe:fe;this._tabList.nativeElement.style.transform=`translateX(${Math.round(st)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(fe){this._scrollTo(fe)}_scrollHeader(fe){const _t=("before"==fe?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3;return this._scrollTo(this._scrollDistance+_t)}_handlePaginatorClick(fe){this._stopInterval(),this._scrollHeader(fe)}_scrollToLabel(fe){if(this.disablePagination)return;const st=this._items?this._items.toArray()[fe]:null;if(!st)return;const _t=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:kt,offsetWidth:Oi}=st.elementRef.nativeElement;let Li,Ei;"ltr"==this._getLayoutDirection()?(Li=kt,Ei=Li+Oi):(Ei=this._tabListInner.nativeElement.offsetWidth-kt,Li=Ei-Oi);const Wi=this.scrollDistance,wt=this.scrollDistance+_t;Li<Wi?this.scrollDistance-=Wi-Li+60:Ei>wt&&(this.scrollDistance+=Ei-wt+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const fe=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;fe||(this.scrollDistance=0),fe!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=fe}}_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 fe=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,st=fe?fe.elementRef.nativeElement:null;st?this._inkBar.alignToElement(st):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(fe,st){st&&null!=st.button&&0!==st.button||(this._stopInterval(),(0,I.H)(650,100).pipe((0,te.R)((0,k.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:_t,distance:kt}=this._scrollHeader(fe);(0===kt||kt>=_t)&&this._stopInterval()}))}_scrollTo(fe){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const st=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(st,fe)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:st,distance:this._scrollDistance}}}si.\u0275fac=function(fe){return new(fe||si)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(ve.rL),t.Y36(d.Is,8),t.Y36(t.R0b),t.Y36(T.t4),t.Y36(t.QbO,8))},si.\u0275dir=t.lG2({type:si,inputs:{disablePagination:"disablePagination"}});class Bt extends si{constructor(fe,st,_t,kt,Oi,Li,Ei){super(fe,st,_t,kt,Oi,Li,Ei),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(fe){this._disableRipple=(0,ae.Ig)(fe)}_itemSelected(fe){fe.preventDefault()}}Bt.\u0275fac=function(fe){return new(fe||Bt)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(ve.rL),t.Y36(d.Is,8),t.Y36(t.R0b),t.Y36(T.t4),t.Y36(t.QbO,8))},Bt.\u0275dir=t.lG2({type:Bt,inputs:{disableRipple:"disableRipple"},features:[t.qOj]});class Je extends Bt{constructor(fe,st,_t,kt,Oi,Li,Ei){super(fe,st,_t,kt,Oi,Li,Ei)}ngAfterContentInit(){this._inkBar=new ze(this._items),super.ngAfterContentInit()}}Je.\u0275fac=function(fe){return new(fe||Je)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(ve.rL),t.Y36(d.Is,8),t.Y36(t.R0b),t.Y36(T.t4),t.Y36(t.QbO,8))},Je.\u0275cmp=t.Xpm({type:Je,selectors:[["mat-tab-header"]],contentQueries:function(fe,st,_t){if(1&fe&&t.Suo(_t,gt,4),2&fe){let kt;t.iGM(kt=t.CRH())&&(st._items=kt)}},viewQuery:function(fe,st){if(1&fe&&(t.Gf(R,7),t.Gf(v,7),t.Gf(a,7),t.Gf(C,5),t.Gf(U,5)),2&fe){let _t;t.iGM(_t=t.CRH())&&(st._tabListContainer=_t.first),t.iGM(_t=t.CRH())&&(st._tabList=_t.first),t.iGM(_t=t.CRH())&&(st._tabListInner=_t.first),t.iGM(_t=t.CRH())&&(st._nextPaginator=_t.first),t.iGM(_t=t.CRH())&&(st._previousPaginator=_t.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(fe,st){2&fe&&t.ekj("mat-mdc-tab-header-pagination-controls-enabled",st._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==st._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[t.qOj],ngContentSelectors:A,decls:13,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(fe,st){1&fe&&(t.F$t(),t.TgZ(0,"button",0,1),t.NdJ("click",function(){return st._handlePaginatorClick("before")})("mousedown",function(kt){return st._handlePaginatorPress("before",kt)})("touchend",function(){return st._stopInterval()}),t._UZ(2,"div",2),t.qZA(),t.TgZ(3,"div",3,4),t.NdJ("keydown",function(kt){return st._handleKeydown(kt)}),t.TgZ(5,"div",5,6),t.NdJ("cdkObserveContent",function(){return st._onContentChanges()}),t.TgZ(7,"div",7,8),t.Hsn(9),t.qZA()()(),t.TgZ(10,"button",9,10),t.NdJ("mousedown",function(kt){return st._handlePaginatorPress("after",kt)})("click",function(){return st._handlePaginatorClick("after")})("touchend",function(){return st._stopInterval()}),t._UZ(12,"div",2),t.qZA()),2&fe&&(t.ekj("mat-mdc-tab-header-pagination-disabled",st._disableScrollBefore),t.Q6J("matRippleDisabled",st._disableScrollBefore||st.disableRipple)("disabled",st._disableScrollBefore||null),t.xp6(3),t.ekj("_mat-animation-noopable","NoopAnimations"===st._animationMode),t.xp6(7),t.ekj("mat-mdc-tab-header-pagination-disabled",st._disableScrollAfter),t.Q6J("matRippleDisabled",st._disableScrollAfter||st.disableRipple)("disabled",st._disableScrollAfter||null))},dependencies:[_.wG,l.wD],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2});const me=new t.OlP("MAT_TABS_CONFIG");let K=0;const J=(0,_.pj)((0,_.Kr)(class{constructor(Ae){this._elementRef=Ae}}),"primary");class Ce extends J{constructor(fe,st,_t,kt){super(fe),this._changeDetectorRef=st,this._animationMode=kt,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=K++,this.animationDuration=_t&&_t.animationDuration?_t.animationDuration:"500ms",this.disablePagination=!(!_t||null==_t.disablePagination)&&_t.disablePagination,this.dynamicHeight=!(!_t||null==_t.dynamicHeight)&&_t.dynamicHeight,this.contentTabIndex=_t?.contentTabIndex??null,this.preserveContent=!!_t?.preserveContent}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(fe){this._dynamicHeight=(0,ae.Ig)(fe)}get selectedIndex(){return this._selectedIndex}set selectedIndex(fe){this._indexToSelect=(0,ae.su)(fe,null)}get animationDuration(){return this._animationDuration}set animationDuration(fe){this._animationDuration=/^\d+$/.test(fe+"")?fe+"ms":fe}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(fe){this._contentTabIndex=(0,ae.su)(fe,null)}get disablePagination(){return this._disablePagination}set disablePagination(fe){this._disablePagination=(0,ae.Ig)(fe)}get preserveContent(){return this._preserveContent}set preserveContent(fe){this._preserveContent=(0,ae.Ig)(fe)}get backgroundColor(){return this._backgroundColor}set backgroundColor(fe){const st=this._elementRef.nativeElement;st.classList.remove(`mat-background-${this.backgroundColor}`),fe&&st.classList.add(`mat-background-${fe}`),this._backgroundColor=fe}ngAfterContentChecked(){const fe=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=fe){const st=null==this._selectedIndex;if(!st){this.selectedTabChange.emit(this._createChangeEvent(fe));const _t=this._tabBodyWrapper.nativeElement;_t.style.minHeight=_t.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((_t,kt)=>_t.isActive=kt===fe),st||(this.selectedIndexChange.emit(fe),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((st,_t)=>{st.position=_t-fe,null!=this._selectedIndex&&0==st.position&&!st.origin&&(st.origin=fe-this._selectedIndex)}),this._selectedIndex!==fe&&(this._selectedIndex=fe,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const fe=this._clampTabIndex(this._indexToSelect);if(fe===this._selectedIndex){const st=this._tabs.toArray();let _t;for(let kt=0;kt<st.length;kt++)if(st[kt].isActive){this._indexToSelect=this._selectedIndex=kt,this._lastFocusedTabIndex=null,_t=st[kt];break}!_t&&st[fe]&&Promise.resolve().then(()=>{st[fe].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(fe))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,Z.O)(this._allTabs)).subscribe(fe=>{this._tabs.reset(fe.filter(st=>st._closestTabGroup===this||!st._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(fe){const st=this._tabHeader;st&&(st.focusIndex=fe)}_focusChanged(fe){this._lastFocusedTabIndex=fe,this.focusChange.emit(this._createChangeEvent(fe))}_createChangeEvent(fe){const st=new Mt;return st.index=fe,this._tabs&&this._tabs.length&&(st.tab=this._tabs.toArray()[fe]),st}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,k.T)(...this._tabs.map(fe=>fe._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(fe){return Math.min(this._tabs.length-1,Math.max(fe||0,0))}_getTabLabelId(fe){return`mat-tab-label-${this._groupId}-${fe}`}_getTabContentId(fe){return`mat-tab-content-${this._groupId}-${fe}`}_setTabBodyWrapperHeight(fe){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const st=this._tabBodyWrapper.nativeElement;st.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(st.style.height=fe+"px")}_removeTabBodyWrapperHeight(){const fe=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=fe.clientHeight,fe.style.height="",this.animationDone.emit()}_handleClick(fe,st,_t){fe.disabled||(this.selectedIndex=st.focusIndex=_t)}_getTabIndex(fe,st){if(fe.disabled)return null;return st===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(fe,st){fe&&"mouse"!==fe&&"touch"!==fe&&(this._tabHeader.focusIndex=st)}}Ce.\u0275fac=function(fe){return new(fe||Ce)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(me,8),t.Y36(t.QbO,8))},Ce.\u0275dir=t.lG2({type:Ce,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]});class We extends Ce{constructor(fe,st,_t,kt){super(fe,st,_t,kt),this._fitInkBarToContent=!1,this._stretchTabs=!0,this.fitInkBarToContent=!(!_t||null==_t.fitInkBarToContent)&&_t.fitInkBarToContent}get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(fe){this._fitInkBarToContent=(0,ae.Ig)(fe),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(fe){this._stretchTabs=(0,ae.Ig)(fe)}}We.\u0275fac=function(fe){return new(fe||We)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(me,8),t.Y36(t.QbO,8))},We.\u0275cmp=t.Xpm({type:We,selectors:[["mat-tab-group"]],contentQueries:function(fe,st,_t){if(1&fe&&t.Suo(_t,St,5),2&fe){let kt;t.iGM(kt=t.CRH())&&(st._allTabs=kt)}},viewQuery:function(fe,st){if(1&fe&&(t.Gf(N,5),t.Gf(Q,5)),2&fe){let _t;t.iGM(_t=t.CRH())&&(st._tabBodyWrapper=_t.first),t.iGM(_t=t.CRH())&&(st._tabHeader=_t.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:6,hostBindings:function(fe,st){2&fe&&t.ekj("mat-mdc-tab-group-dynamic-height",st.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===st.headerPosition)("mat-mdc-tab-group-stretch-tabs",st.stretchTabs)},inputs:{color:"color",disableRipple:"disableRipple",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabGroup"],features:[t._Bn([{provide:Re,useExisting:We}]),t.qOj],decls:6,vars:6,consts:[[3,"selectedIndex","disableRipple","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mdc-tab mat-mdc-tab mat-mdc-focus-indicator","role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",3,"id","mdc-tab--active","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-mdc-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-mdc-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange"],["tabNode",""],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(fe,st){1&fe&&(t.TgZ(0,"mat-tab-header",0,1),t.NdJ("indexFocused",function(kt){return st._focusChanged(kt)})("selectFocusedIndex",function(kt){return st.selectedIndex=kt}),t.YNc(2,$e,9,17,"div",2),t.qZA(),t.TgZ(3,"div",3,4),t.YNc(5,Ve,1,11,"mat-tab-body",5),t.qZA()),2&fe&&(t.Q6J("selectedIndex",st.selectedIndex||0)("disableRipple",st.disableRipple),t.xp6(2),t.Q6J("ngForOf",st._tabs),t.xp6(1),t.ekj("_mat-animation-noopable","NoopAnimations"===st._animationMode),t.xp6(2),t.Q6J("ngForOf",st._tabs))},dependencies:[e.mk,e.sg,e.O5,S.Pl,_.wG,D.kH,He,gt,Je],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator .mdc-tab-indicator__content--underline{border-top-width:2px}.mdc-tab-indicator .mdc-tab-indicator__content--icon{height:34px;font-size:34px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-tab.mdc-tab{height:48px;flex-grow:0}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none}.mat-mdc-tab .mdc-tab__content{position:relative}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-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});class Mt{}let Tt=0;class Nt extends si{constructor(fe,st,_t,kt,Oi,Li,Ei){super(fe,kt,Oi,st,_t,Li,Ei),this._disableRipple=!1,this.color="primary"}get backgroundColor(){return this._backgroundColor}set backgroundColor(fe){const st=this._elementRef.nativeElement.classList;st.remove(`mat-background-${this.backgroundColor}`),fe&&st.add(`mat-background-${fe}`),this._backgroundColor=fe}get disableRipple(){return this._disableRipple}set disableRipple(fe){this._disableRipple=(0,ae.Ig)(fe)}_itemSelected(){}ngAfterContentInit(){this._items.changes.pipe((0,Z.O)(null),(0,te.R)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}updateActiveLink(){if(!this._items)return;const fe=this._items.toArray();for(let st=0;st<fe.length;st++)if(fe[st].active)return this.selectedIndex=st,this._changeDetectorRef.markForCheck(),void(this.tabPanel&&(this.tabPanel._activeTabId=fe[st].id));this.selectedIndex=-1,this._inkBar.hide()}_getRole(){return this.tabPanel?"tablist":this._elementRef.nativeElement.getAttribute("role")}}Nt.\u0275fac=function(fe){return new(fe||Nt)(t.Y36(t.SBq),t.Y36(d.Is,8),t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(ve.rL),t.Y36(T.t4),t.Y36(t.QbO,8))},Nt.\u0275dir=t.lG2({type:Nt,inputs:{backgroundColor:"backgroundColor",disableRipple:"disableRipple",color:"color",tabPanel:"tabPanel"},features:[t.qOj]});const at=(0,_.sb)((0,_.Kr)((0,_.Id)(class{})));class Ke extends at{constructor(fe,st,_t,kt,Oi,Li){super(),this._tabNavBar=fe,this.elementRef=st,this._focusMonitor=Oi,this._isActive=!1,this.id="mat-tab-link-"+Tt++,this.rippleConfig=_t||{},this.tabIndex=parseInt(kt)||0,"NoopAnimations"===Li&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}get active(){return this._isActive}set active(fe){const st=(0,ae.Ig)(fe);st!==this._isActive&&(this._isActive=st,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(fe){this._tabNavBar.tabPanel&&fe.keyCode===i.L_&&this.elementRef.nativeElement.click()}_getAriaControls(){return this._tabNavBar.tabPanel?this._tabNavBar.tabPanel?.id:this.elementRef.nativeElement.getAttribute("aria-controls")}_getAriaSelected(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")}_getAriaCurrent(){return this.active&&!this._tabNavBar.tabPanel?"page":null}_getRole(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")}_getTabIndex(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.tabIndex}}Ke.\u0275fac=function(fe){return new(fe||Ke)(t.Y36(Nt),t.Y36(t.SBq),t.Y36(_.Y2,8),t.$8M("tabindex"),t.Y36(D.tE),t.Y36(t.QbO,8))},Ke.\u0275dir=t.lG2({type:Ke,inputs:{active:"active",id:"id"},features:[t.qOj]});const vt=Ue(Ke);class ri extends Nt{constructor(fe,st,_t,kt,Oi,Li,Ei,Wi){super(fe,st,_t,kt,Oi,Li,Ei),this._fitInkBarToContent=new V.X(!1),this._stretchTabs=!0,this.disablePagination=!(!Wi||null==Wi.disablePagination)&&Wi.disablePagination,this.fitInkBarToContent=!(!Wi||null==Wi.fitInkBarToContent)&&Wi.fitInkBarToContent}get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(fe){this._fitInkBarToContent.next((0,ae.Ig)(fe)),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(fe){this._stretchTabs=(0,ae.Ig)(fe)}ngAfterContentInit(){this._inkBar=new ze(this._items),super.ngAfterContentInit()}ngAfterViewInit(){this.tabPanel}}ri.\u0275fac=function(fe){return new(fe||ri)(t.Y36(t.SBq),t.Y36(d.Is,8),t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(ve.rL),t.Y36(T.t4),t.Y36(t.QbO,8),t.Y36(me,8))},ri.\u0275cmp=t.Xpm({type:ri,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(fe,st,_t){if(1&fe&&t.Suo(_t,Pt,5),2&fe){let kt;t.iGM(kt=t.CRH())&&(st._items=kt)}},viewQuery:function(fe,st){if(1&fe&&(t.Gf(R,7),t.Gf(v,7),t.Gf(a,7),t.Gf(C,5),t.Gf(U,5)),2&fe){let _t;t.iGM(_t=t.CRH())&&(st._tabListContainer=_t.first),t.iGM(_t=t.CRH())&&(st._tabList=_t.first),t.iGM(_t=t.CRH())&&(st._tabListInner=_t.first),t.iGM(_t=t.CRH())&&(st._nextPaginator=_t.first),t.iGM(_t=t.CRH())&&(st._previousPaginator=_t.first)}},hostAttrs:[1,"mat-mdc-tab-nav-bar","mat-mdc-tab-header"],hostVars:15,hostBindings:function(fe,st){2&fe&&(t.uIk("role",st._getRole()),t.ekj("mat-mdc-tab-header-pagination-controls-enabled",st._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==st._getLayoutDirection())("mat-mdc-tab-nav-bar-stretch-tabs",st.stretchTabs)("mat-primary","warn"!==st.color&&"accent"!==st.color)("mat-accent","accent"===st.color)("mat-warn","warn"===st.color)("_mat-animation-noopable","NoopAnimations"===st._animationMode))},inputs:{color:"color",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabNavBar","matTabNav"],features:[t.qOj],attrs:["mat-tab-nav-bar",""],ngContentSelectors:A,decls:13,vars:8,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-link-container",3,"keydown"],["tabListContainer",""],[1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-links"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(fe,st){1&fe&&(t.F$t(),t.TgZ(0,"button",0,1),t.NdJ("click",function(){return st._handlePaginatorClick("before")})("mousedown",function(kt){return st._handlePaginatorPress("before",kt)})("touchend",function(){return st._stopInterval()}),t._UZ(2,"div",2),t.qZA(),t.TgZ(3,"div",3,4),t.NdJ("keydown",function(kt){return st._handleKeydown(kt)}),t.TgZ(5,"div",5,6),t.NdJ("cdkObserveContent",function(){return st._onContentChanges()}),t.TgZ(7,"div",7,8),t.Hsn(9),t.qZA()()(),t.TgZ(10,"button",9,10),t.NdJ("mousedown",function(kt){return st._handlePaginatorPress("after",kt)})("click",function(){return st._handlePaginatorClick("after")})("touchend",function(){return st._stopInterval()}),t._UZ(12,"div",2),t.qZA()),2&fe&&(t.ekj("mat-mdc-tab-header-pagination-disabled",st._disableScrollBefore),t.Q6J("matRippleDisabled",st._disableScrollBefore||st.disableRipple)("disabled",st._disableScrollBefore||null),t.xp6(10),t.ekj("mat-mdc-tab-header-pagination-disabled",st._disableScrollAfter),t.Q6J("matRippleDisabled",st._disableScrollAfter||st.disableRipple)("disabled",st._disableScrollAfter||null))},dependencies:[_.wG,l.wD],styles:[".mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator .mdc-tab-indicator__content--underline{border-top-width:2px}.mdc-tab-indicator .mdc-tab-indicator__content--icon{height:34px;font-size:34px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-links{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:flex-end}.mat-mdc-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}"],encapsulation:2});class Pt extends vt{constructor(fe,st,_t,kt,Oi,Li){super(fe,st,_t,kt,Oi,Li),this._destroyed=new p.x,fe._fitInkBarToContent.pipe((0,te.R)(this._destroyed)).subscribe(Ei=>{this.fitInkBarToContent=Ei})}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),super.ngOnDestroy()}}Pt.\u0275fac=function(fe){return new(fe||Pt)(t.Y36(ri),t.Y36(t.SBq),t.Y36(_.Y2,8),t.$8M("tabindex"),t.Y36(D.tE),t.Y36(t.QbO,8))},Pt.\u0275cmp=t.Xpm({type:Pt,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-mdc-focus-indicator"],hostVars:11,hostBindings:function(fe,st){1&fe&&t.NdJ("focus",function(){return st._handleFocus()})("keydown",function(kt){return st._handleKeydown(kt)}),2&fe&&(t.uIk("aria-controls",st._getAriaControls())("aria-current",st._getAriaCurrent())("aria-disabled",st.disabled)("aria-selected",st._getAriaSelected())("id",st.id)("tabIndex",st._getTabIndex())("role",st._getRole()),t.ekj("mat-mdc-tab-disabled",st.disabled)("mdc-tab--active",st.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",active:"active",id:"id"},exportAs:["matTabLink"],features:[t.qOj],attrs:["mat-tab-link",""],ngContentSelectors:A,decls:5,vars:2,consts:[[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"]],template:function(fe,st){1&fe&&(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&fe&&(t.xp6(1),t.Q6J("matRippleTrigger",st.elementRef.nativeElement)("matRippleDisabled",st.rippleDisabled))},dependencies:[_.wG],styles:['.mat-mdc-tab-link{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-tab-link.mdc-tab{height:48px;flex-grow:0}.mat-mdc-tab-link .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none}.mat-mdc-tab-link .mdc-tab__content{position:relative}.mat-mdc-tab-link:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab-link .mat-ripple-element{opacity:.12}.mat-mdc-tab-link.mat-mdc-tab-disabled{pointer-events:none;opacity:.4}.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link{flex-grow:1}.mat-mdc-tab-link::before{margin:5px}@media(max-width: 599px){.mat-mdc-tab-link{min-width:72px}}'],encapsulation:2,changeDetection:0});class Lt{constructor(){this.id="mat-tab-nav-panel-"+Tt++}}Lt.\u0275fac=function(fe){return new(fe||Lt)},Lt.\u0275cmp=t.Xpm({type:Lt,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(fe,st){2&fe&&t.uIk("aria-labelledby",st._activeTabId)("id",st.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:A,decls:1,vars:0,template:function(fe,st){1&fe&&(t.F$t(),t.Hsn(0))},encapsulation:2,changeDetection:0});class Kt{}Kt.\u0275fac=function(fe){return new(fe||Kt)},Kt.\u0275mod=t.oAB({type:Kt}),Kt.\u0275inj=t.cJS({imports:[e.ez,_.BQ,S.eL,_.si,l.Q8,D.rt,_.BQ]})},2543:(Ge,X,f)=>{"use strict";f.d(X,{Ye:()=>p,g0:()=>M});var e=f(2560),t=f(207),_=f(9107),S=f(4666);const l=["*",[["mat-toolbar-row"]]],d=(0,t.pj)(class{constructor(k){this._elementRef=k}});class P{}P.\u0275fac=function(E){return new(E||P)},P.\u0275dir=e.lG2({type:P,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]});class p extends d{constructor(E,z,I){super(E),this._platform=z,this._document=I}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length}}p.\u0275fac=function(E){return new(E||p)(e.Y36(e.SBq),e.Y36(_.t4),e.Y36(S.K0))},p.\u0275cmp=e.Xpm({type:p,selectors:[["mat-toolbar"]],contentQueries:function(E,z,I){if(1&E&&e.Suo(I,P,5),2&E){let V;e.iGM(V=e.CRH())&&(z._toolbarRows=V)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(E,z){2&E&&e.ekj("mat-toolbar-multiple-rows",z._toolbarRows.length>0)("mat-toolbar-single-row",0===z._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[e.qOj],ngContentSelectors:["*","mat-toolbar-row"],decls:2,vars:0,template:function(E,z){1&E&&(e.F$t(l),e.Hsn(0),e.Hsn(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-mdc-button-base{--mdc-text-button-label-text-color: inherit;--mdc-outlined-button-label-text-color: inherit}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}"],encapsulation:2,changeDetection:0});class M{}M.\u0275fac=function(E){return new(E||M)},M.\u0275mod=e.oAB({type:M}),M.\u0275inj=e.cJS({imports:[t.BQ,t.BQ]})},6896:(Ge,X,f)=>{"use strict";f.d(X,{AV:()=>C,gM:()=>A});var e=f(8951),t=f(9295),_=f(8971),S=f(8456),l=f(2560),D=f(4666),d=f(9107),P=f(4218),p=f(2867),L=f(5895),M=f(1494),k=f(7520),E=f(253),z=f(4851),I=f(207);const V=["tooltip"];const te=new l.OlP("mat-tooltip-scroll-strategy");const le={provide:te,deps:[L.aV],useFactory:function ne(U){return()=>U.scrollStrategies.reposition({scrollThrottle:20})}};const _e=new l.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function re(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),ae="tooltip-panel",ve=(0,d.i$)({passive:!0});class y{constructor(N,Q,Pe,Le,Ye,$e,Ve,be,et,je,ye,Te){this._overlay=N,this._elementRef=Q,this._scrollDispatcher=Pe,this._viewContainerRef=Le,this._ngZone=Ye,this._platform=$e,this._ariaDescriber=Ve,this._focusMonitor=be,this._dir=je,this._defaultOptions=ye,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new E.x,this._scrollStrategy=et,this._document=Te,ye&&(ye.position&&(this.position=ye.position),ye.positionAtOrigin&&(this.positionAtOrigin=ye.positionAtOrigin),ye.touchGestures&&(this.touchGestures=ye.touchGestures)),je.change.pipe((0,e.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(N){N!==this._position&&(this._position=N,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(N){this._positionAtOrigin=(0,_.Ig)(N),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(N){this._disabled=(0,_.Ig)(N),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(N){this._showDelay=(0,_.su)(N)}get hideDelay(){return this._hideDelay}set hideDelay(N){this._hideDelay=(0,_.su)(N),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(N){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=N?String(N).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(N){this._tooltipClass=N,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,e.R)(this._destroyed)).subscribe(N=>{N?"keyboard"===N&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const N=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([Q,Pe])=>{N.removeEventListener(Q,Pe,ve)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(N,this.message,"tooltip"),this._focusMonitor.stopMonitoring(N)}show(N=this.showDelay,Q){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const Pe=this._createOverlay(Q);this._detach(),this._portal=this._portal||new k.C5(this._tooltipComponent,this._viewContainerRef);const Le=this._tooltipInstance=Pe.attach(this._portal).instance;Le._triggerElement=this._elementRef.nativeElement,Le._mouseLeaveHideDelay=this._hideDelay,Le.afterHidden().pipe((0,e.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),Le.show(N)}hide(N=this.hideDelay){const Q=this._tooltipInstance;Q&&(Q.isVisible()?Q.hide(N):(Q._cancelPendingAnimations(),this._detach()))}toggle(N){this._isTooltipVisible()?this.hide():this.show(void 0,N)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(N){if(this._overlayRef){const Le=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!N)&&Le._origin instanceof l.SBq)return this._overlayRef;this._detach()}const Q=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),Pe=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&N||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(Q);return Pe.positionChanges.pipe((0,e.R)(this._destroyed)).subscribe(Le=>{this._updateCurrentPositionClass(Le.connectionPair),this._tooltipInstance&&Le.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:Pe,panelClass:`${this._cssClassPrefix}-${ae}`,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(Le=>{this._isTooltipVisible()&&Le.keyCode===S.hY&&!(0,S.Vb)(Le)&&(Le.preventDefault(),Le.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(N){const Q=N.getConfig().positionStrategy,Pe=this._getOrigin(),Le=this._getOverlayPosition();Q.withPositions([this._addOffset({...Pe.main,...Le.main}),this._addOffset({...Pe.fallback,...Le.fallback})])}_addOffset(N){return N}_getOrigin(){const N=!this._dir||"ltr"==this._dir.value,Q=this.position;let Pe;"above"==Q||"below"==Q?Pe={originX:"center",originY:"above"==Q?"top":"bottom"}:"before"==Q||"left"==Q&&N||"right"==Q&&!N?Pe={originX:"start",originY:"center"}:("after"==Q||"right"==Q&&N||"left"==Q&&!N)&&(Pe={originX:"end",originY:"center"});const{x:Le,y:Ye}=this._invertPosition(Pe.originX,Pe.originY);return{main:Pe,fallback:{originX:Le,originY:Ye}}}_getOverlayPosition(){const N=!this._dir||"ltr"==this._dir.value,Q=this.position;let Pe;"above"==Q?Pe={overlayX:"center",overlayY:"bottom"}:"below"==Q?Pe={overlayX:"center",overlayY:"top"}:"before"==Q||"left"==Q&&N||"right"==Q&&!N?Pe={overlayX:"end",overlayY:"center"}:("after"==Q||"right"==Q&&N||"left"==Q&&!N)&&(Pe={overlayX:"start",overlayY:"center"});const{x:Le,y:Ye}=this._invertPosition(Pe.overlayX,Pe.overlayY);return{main:Pe,fallback:{overlayX:Le,overlayY:Ye}}}_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(N){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=N,this._tooltipInstance._markForCheck())}_invertPosition(N,Q){return"above"===this.position||"below"===this.position?"top"===Q?Q="bottom":"bottom"===Q&&(Q="top"):"end"===N?N="start":"start"===N&&(N="end"),{x:N,y:Q}}_updateCurrentPositionClass(N){const{overlayY:Q,originX:Pe,originY:Le}=N;let Ye;if(Ye="center"===Q?this._dir&&"rtl"===this._dir.value?"end"===Pe?"left":"right":"start"===Pe?"left":"right":"bottom"===Q&&"top"===Le?"above":"below",Ye!==this._currentPosition){const $e=this._overlayRef;if($e){const Ve=`${this._cssClassPrefix}-${ae}-`;$e.removePanelClass(Ve+this._currentPosition),$e.addPanelClass(Ve+Ye)}this._currentPosition=Ye}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",N=>{let Q;this._setupPointerExitEventsIfNeeded(),void 0!==N.x&&void 0!==N.y&&(Q=N),this.show(void 0,Q)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",N=>{const Q=N.targetTouches?.[0],Pe=Q?{x:Q.clientX,y:Q.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,Pe),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const N=[];if(this._platformSupportsMouseEvents())N.push(["mouseleave",Q=>{const Pe=Q.relatedTarget;(!Pe||!this._overlayRef?.overlayElement.contains(Pe))&&this.hide()}],["wheel",Q=>this._wheelListener(Q)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const Q=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};N.push(["touchend",Q],["touchcancel",Q])}this._addListeners(N),this._passiveListeners.push(...N)}_addListeners(N){N.forEach(([Q,Pe])=>{this._elementRef.nativeElement.addEventListener(Q,Pe,ve)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(N){if(this._isTooltipVisible()){const Q=this._document.elementFromPoint(N.clientX,N.clientY),Pe=this._elementRef.nativeElement;Q!==Pe&&!Pe.contains(Q)&&this.hide()}}_disableNativeGesturesIfNecessary(){const N=this.touchGestures;if("off"!==N){const Q=this._elementRef.nativeElement,Pe=Q.style;("on"===N||"INPUT"!==Q.nodeName&&"TEXTAREA"!==Q.nodeName)&&(Pe.userSelect=Pe.msUserSelect=Pe.webkitUserSelect=Pe.MozUserSelect="none"),("on"===N||!Q.draggable)&&(Pe.webkitUserDrag="none"),Pe.touchAction="none",Pe.webkitTapHighlightColor="transparent"}}}y.\u0275fac=function(N){l.$Z()},y.\u0275dir=l.lG2({type:y,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"]}});class A extends y{constructor(N,Q,Pe,Le,Ye,$e,Ve,be,et,je,ye,Te){super(N,Q,Pe,Le,Ye,$e,Ve,be,et,je,ye,Te),this._tooltipComponent=v,this._cssClassPrefix="mat-mdc",this._viewportMargin=8}_addOffset(N){const Pe=!this._dir||"ltr"==this._dir.value;return"top"===N.originY?N.offsetY=-8:"bottom"===N.originY?N.offsetY=8:"start"===N.originX?N.offsetX=Pe?-8:8:"end"===N.originX&&(N.offsetX=Pe?8:-8),N}}A.\u0275fac=function(N){return new(N||A)(l.Y36(L.aV),l.Y36(l.SBq),l.Y36(M.mF),l.Y36(l.s_b),l.Y36(l.R0b),l.Y36(d.t4),l.Y36(P.$s),l.Y36(P.tE),l.Y36(te),l.Y36(p.Is,8),l.Y36(_e,8),l.Y36(D.K0))},A.\u0275dir=l.lG2({type:A,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],exportAs:["matTooltip"],features:[l.qOj]});class R{constructor(N,Q){this._changeDetectorRef=N,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new E.x,this._animationsDisabled="NoopAnimations"===Q}show(N){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},N)}hide(N){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},N)}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:N}){(!N||!this._triggerElement.contains(N))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:N}){(N===this._showAnimation||N===this._hideAnimation)&&this._finalizeAnimation(N===this._showAnimation)}_cancelPendingAnimations(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(N){N?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(N){const Q=this._tooltip.nativeElement,Pe=this._showAnimation,Le=this._hideAnimation;if(Q.classList.remove(N?Le:Pe),Q.classList.add(N?Pe:Le),this._isVisible=N,N&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const Ye=getComputedStyle(Q);("0s"===Ye.getPropertyValue("animation-duration")||"none"===Ye.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}N&&this._onShow(),this._animationsDisabled&&(Q.classList.add("_mat-animation-noopable"),this._finalizeAnimation(N))}}R.\u0275fac=function(N){return new(N||R)(l.Y36(l.sBO),l.Y36(l.QbO,8))},R.\u0275dir=l.lG2({type:R});class v extends R{constructor(N,Q,Pe){super(N,Pe),this._elementRef=Q,this._isMultiline=!1,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide"}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const N=this._elementRef.nativeElement.getBoundingClientRect();return N.height>24&&N.width>=200}}v.\u0275fac=function(N){return new(N||v)(l.Y36(l.sBO),l.Y36(l.SBq),l.Y36(l.QbO,8))},v.\u0275cmp=l.Xpm({type:v,selectors:[["mat-tooltip-component"]],viewQuery:function(N,Q){if(1&N&&l.Gf(V,7),2&N){let Pe;l.iGM(Pe=l.CRH())&&(Q._tooltip=Pe.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(N,Q){1&N&&l.NdJ("mouseleave",function(Le){return Q._handleMouseLeave(Le)}),2&N&&l.Udp("zoom",Q.isVisible()?1:null)},features:[l.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(N,Q){1&N&&(l.TgZ(0,"div",0,1),l.NdJ("animationend",function(Le){return Q._handleAnimationEnd(Le)}),l.TgZ(2,"div",2),l._uU(3),l.qZA()()),2&N&&(l.ekj("mdc-tooltip--multiline",Q._isMultiline),l.Q6J("ngClass",Q.tooltipClass),l.xp6(3),l.Oqu(Q.message))},dependencies:[D.mk],styles:['.mdc-tooltip__surface{word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - (2 * 8px));margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - (2 * 8px));align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color, #fff)}.mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color, #000)}.mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font, inherit);font-size:var(--mdc-plain-tooltip-supporting-text-size, inherit);font-weight:var(--mdc-plain-tooltip-supporting-text-weight, inherit);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, inherit)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:-8px;right:-8px;bottom:-8px;left:-8px;z-index:-1;position:absolute}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0});(0,z.X$)("state",[(0,z.SB)("initial, void, hidden",(0,z.oB)({opacity:0,transform:"scale(0.8)"})),(0,z.SB)("visible",(0,z.oB)({transform:"scale(1)"})),(0,z.eR)("* => visible",(0,z.jt)("150ms cubic-bezier(0, 0, 0.2, 1)")),(0,z.eR)("* => hidden",(0,z.jt)("75ms cubic-bezier(0.4, 0, 1, 1)"))]);class C{}C.\u0275fac=function(N){return new(N||C)},C.\u0275mod=l.oAB({type:C}),C.\u0275inj=l.cJS({providers:[le],imports:[P.rt,D.ez,L.U8,I.BQ,I.BQ,M.ZD]})},3453:(Ge,X,f)=>{"use strict";f.d(X,{Ar:()=>z,GZ:()=>k,WX:()=>le,dp:()=>q,eu:()=>V,fQ:()=>M,gi:()=>I,uo:()=>L});var e=f(5183),t=f(2560),_=f(207),S=f(8971),l=f(1755),D=f(6317),d=f(6646),P=f(635);const p=(0,_.sb)((0,_.Id)(e.Hs));class L extends p{constructor(_e,he,ae){super(_e,he),this.tabIndex=Number(ae)||0}ngOnInit(){super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy()}}L.\u0275fac=function(_e){return new(_e||L)(t.Y36(t.SBq),t.Y36(e._0),t.$8M("tabindex"))},L.\u0275dir=t.lG2({type:L,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:L}]),t.qOj]});class M extends e.rO{}M.\u0275fac=function(){let re;return function(he){return(re||(re=t.n5z(M)))(he||M)}}(),M.\u0275dir=t.lG2({type:M,selectors:[["","matTreeNodeDef",""]],inputs:{when:["matTreeNodeDefWhen","when"],data:["matTreeNode","data"]},features:[t._Bn([{provide:e.rO,useExisting:M}]),t.qOj]});class k extends e.Xx{constructor(_e,he,ae,ve){super(_e,he,ae),this._disabled=!1,this.tabIndex=Number(ve)||0}get disabled(){return this._disabled}set disabled(_e){this._disabled=(0,S.Ig)(_e)}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(_e){this._tabIndex=_e??0}ngOnInit(){super.ngOnInit()}ngAfterContentInit(){super.ngAfterContentInit()}ngOnDestroy(){super.ngOnDestroy()}}k.\u0275fac=function(_e){return new(_e||k)(t.Y36(t.SBq),t.Y36(e._0),t.Y36(t.ZZ4),t.$8M("tabindex"))},k.\u0275dir=t.lG2({type:k,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:k},{provide:e.Hs,useExisting:k},{provide:e.HI,useExisting:k}]),t.qOj]});class E extends e.XJ{get level(){return this._level}set level(_e){this._setLevelInput(_e)}get indent(){return this._indent}set indent(_e){this._setIndentInput(_e)}}E.\u0275fac=function(){let re;return function(he){return(re||(re=t.n5z(E)))(he||E)}}(),E.\u0275dir=t.lG2({type:E,selectors:[["","matTreeNodePadding",""]],inputs:{level:["matTreeNodePadding","level"],indent:["matTreeNodePaddingIndent","indent"]},features:[t._Bn([{provide:e.XJ,useExisting:E}]),t.qOj]});class z{constructor(_e,he){this.viewContainer=_e,this._node=he}}z.\u0275fac=function(_e){return new(_e||z)(t.Y36(t.s_b),t.Y36(e.HI,8))},z.\u0275dir=t.lG2({type:z,selectors:[["","matTreeNodeOutlet",""]],features:[t._Bn([{provide:e.cu,useExisting:z}])]});class I extends e._0{}I.\u0275fac=function(){let re;return function(he){return(re||(re=t.n5z(I)))(he||I)}}(),I.\u0275cmp=t.Xpm({type:I,selectors:[["mat-tree"]],viewQuery:function(_e,he){if(1&_e&&t.Gf(z,7),2&_e){let ae;t.iGM(ae=t.CRH())&&(he._nodeOutlet=ae.first)}},hostAttrs:["role","tree",1,"mat-tree"],exportAs:["matTree"],features:[t._Bn([{provide:e._0,useExisting:I}]),t.qOj],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(_e,he){1&_e&&t.GkF(0,0)},dependencies:[z],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});class V extends e.Ud{}V.\u0275fac=function(){let re;return function(he){return(re||(re=t.n5z(V)))(he||V)}}(),V.\u0275dir=t.lG2({type:V,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:["matTreeNodeToggleRecursive","recursive"]},features:[t._Bn([{provide:e.Ud,useExisting:V}]),t.qOj]});class q{}q.\u0275fac=function(_e){return new(_e||q)},q.\u0275mod=t.oAB({type:q}),q.\u0275inj=t.cJS({imports:[e.nZ,_.BQ,_.BQ]});class le extends l.o2{constructor(){super(...arguments),this._data=new D.X([])}get data(){return this._data.value}set data(_e){this._data.next(_e)}connect(_e){return(0,d.T)(_e.viewChange,this._data).pipe((0,P.U)(()=>this.data))}disconnect(){}}},4497:(Ge,X,f)=>{"use strict";f.d(X,{Dx:()=>oe,H7:()=>vt,b2:()=>ie,q6:()=>Ee,se:()=>h,t6:()=>Ke});var e=f(4666),t=f(2560);class _ extends e.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class S extends _{static makeCurrent(){(0,e.HT)(new S)}onAndCancel(Ae,fe,st){return Ae.addEventListener(fe,st,!1),()=>{Ae.removeEventListener(fe,st,!1)}}dispatchEvent(Ae,fe){Ae.dispatchEvent(fe)}remove(Ae){Ae.parentNode&&Ae.parentNode.removeChild(Ae)}createElement(Ae,fe){return(fe=fe||this.getDefaultDocument()).createElement(Ae)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Ae){return Ae.nodeType===Node.ELEMENT_NODE}isShadowRoot(Ae){return Ae instanceof DocumentFragment}getGlobalEventTarget(Ae,fe){return"window"===fe?window:"document"===fe?Ae:"body"===fe?Ae.body:null}getBaseHref(Ae){const fe=function D(){return l=l||document.querySelector("base"),l?l.getAttribute("href"):null}();return null==fe?null:function P(Kt){d=d||document.createElement("a"),d.setAttribute("href",Kt);const Ae=d.pathname;return"/"===Ae.charAt(0)?Ae:`/${Ae}`}(fe)}resetBaseElement(){l=null}getUserAgent(){return window.navigator.userAgent}getCookie(Ae){return(0,e.Mx)(document.cookie,Ae)}}let d,l=null;const p=new t.OlP("TRANSITION_ID");const M=[{provide:t.ip1,useFactory:function L(Kt,Ae,fe){return()=>{fe.get(t.CZH).donePromise.then(()=>{const st=(0,e.q)(),_t=Ae.querySelectorAll(`style[ng-transition="${Kt}"]`);for(let kt=0;kt<_t.length;kt++)st.remove(_t[kt])})}},deps:[p,e.K0,t.zs3],multi:!0}];class E{build(){return new XMLHttpRequest}}E.\u0275fac=function(Ae){return new(Ae||E)},E.\u0275prov=t.Yz7({token:E,factory:E.\u0275fac});const z=new t.OlP("EventManagerPlugins");class I{constructor(Ae,fe){this._zone=fe,this._eventNameToPlugin=new Map,Ae.forEach(st=>st.manager=this),this._plugins=Ae.slice().reverse()}addEventListener(Ae,fe,st){return this._findPluginFor(fe).addEventListener(Ae,fe,st)}addGlobalEventListener(Ae,fe,st){return this._findPluginFor(fe).addGlobalEventListener(Ae,fe,st)}getZone(){return this._zone}_findPluginFor(Ae){const fe=this._eventNameToPlugin.get(Ae);if(fe)return fe;const st=this._plugins;for(let _t=0;_t<st.length;_t++){const kt=st[_t];if(kt.supports(Ae))return this._eventNameToPlugin.set(Ae,kt),kt}throw new Error(`No event manager plugin found for event ${Ae}`)}}I.\u0275fac=function(Ae){return new(Ae||I)(t.LFG(z),t.LFG(t.R0b))},I.\u0275prov=t.Yz7({token:I,factory:I.\u0275fac});class V{constructor(Ae){this._doc=Ae}addGlobalEventListener(Ae,fe,st){const _t=(0,e.q)().getGlobalEventTarget(this._doc,Ae);if(!_t)throw new Error(`Unsupported event target ${_t} for event ${fe}`);return this.addEventListener(_t,fe,st)}}class Z{constructor(){this._stylesSet=new Set}addStyles(Ae){const fe=new Set;Ae.forEach(st=>{this._stylesSet.has(st)||(this._stylesSet.add(st),fe.add(st))}),this.onStylesAdded(fe)}onStylesAdded(Ae){}getAllStyles(){return Array.from(this._stylesSet)}}Z.\u0275fac=function(Ae){return new(Ae||Z)},Z.\u0275prov=t.Yz7({token:Z,factory:Z.\u0275fac});class q extends Z{constructor(Ae){super(),this._doc=Ae,this._hostNodes=new Map,this._hostNodes.set(Ae.head,[])}_addStylesToHost(Ae,fe,st){Ae.forEach(_t=>{const kt=this._doc.createElement("style");kt.textContent=_t,st.push(fe.appendChild(kt))})}addHost(Ae){const fe=[];this._addStylesToHost(this._stylesSet,Ae,fe),this._hostNodes.set(Ae,fe)}removeHost(Ae){const fe=this._hostNodes.get(Ae);fe&&fe.forEach(te),this._hostNodes.delete(Ae)}onStylesAdded(Ae){this._hostNodes.forEach((fe,st)=>{this._addStylesToHost(Ae,st,fe)})}ngOnDestroy(){this._hostNodes.forEach(Ae=>Ae.forEach(te))}}function te(Kt){(0,e.q)().remove(Kt)}q.\u0275fac=function(Ae){return new(Ae||q)(t.LFG(e.K0))},q.\u0275prov=t.Yz7({token:q,factory:q.\u0275fac});const ne={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/"},le=/%COMP%/g,he="_nghost-%COMP%",ae="_ngcontent-%COMP%";function i(Kt,Ae,fe){for(let st=0;st<Ae.length;st++){let _t=Ae[st];Array.isArray(_t)?i(Kt,_t,fe):(_t=_t.replace(le,Kt),fe.push(_t))}return fe}function o(Kt){return Ae=>{if("__ngUnwrap__"===Ae)return Kt;!1===Kt(Ae)&&(Ae.preventDefault(),Ae.returnValue=!1)}}class h{constructor(Ae,fe,st){this.eventManager=Ae,this.sharedStylesHost=fe,this.appId=st,this.rendererByCompId=new Map,this.defaultRenderer=new y(Ae)}createRenderer(Ae,fe){if(!Ae||!fe)return this.defaultRenderer;switch(fe.encapsulation){case t.ifc.Emulated:{let st=this.rendererByCompId.get(fe.id);return st||(st=new a(this.eventManager,this.sharedStylesHost,fe,this.appId),this.rendererByCompId.set(fe.id,st)),st.applyToHost(Ae),st}case 1:case t.ifc.ShadowDom:return new C(this.eventManager,this.sharedStylesHost,Ae,fe);default:if(!this.rendererByCompId.has(fe.id)){const st=i(fe.id,fe.styles,[]);this.sharedStylesHost.addStyles(st),this.rendererByCompId.set(fe.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}h.\u0275fac=function(Ae){return new(Ae||h)(t.LFG(I),t.LFG(q),t.LFG(t.AFp))},h.\u0275prov=t.Yz7({token:h,factory:h.\u0275fac});class y{constructor(Ae){this.eventManager=Ae,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(Ae,fe){return fe?document.createElementNS(ne[fe]||fe,Ae):document.createElement(Ae)}createComment(Ae){return document.createComment(Ae)}createText(Ae){return document.createTextNode(Ae)}appendChild(Ae,fe){(v(Ae)?Ae.content:Ae).appendChild(fe)}insertBefore(Ae,fe,st){Ae&&(v(Ae)?Ae.content:Ae).insertBefore(fe,st)}removeChild(Ae,fe){Ae&&Ae.removeChild(fe)}selectRootElement(Ae,fe){let st="string"==typeof Ae?document.querySelector(Ae):Ae;if(!st)throw new Error(`The selector "${Ae}" did not match any elements`);return fe||(st.textContent=""),st}parentNode(Ae){return Ae.parentNode}nextSibling(Ae){return Ae.nextSibling}setAttribute(Ae,fe,st,_t){if(_t){fe=_t+":"+fe;const kt=ne[_t];kt?Ae.setAttributeNS(kt,fe,st):Ae.setAttribute(fe,st)}else Ae.setAttribute(fe,st)}removeAttribute(Ae,fe,st){if(st){const _t=ne[st];_t?Ae.removeAttributeNS(_t,fe):Ae.removeAttribute(`${st}:${fe}`)}else Ae.removeAttribute(fe)}addClass(Ae,fe){Ae.classList.add(fe)}removeClass(Ae,fe){Ae.classList.remove(fe)}setStyle(Ae,fe,st,_t){_t&(t.JOm.DashCase|t.JOm.Important)?Ae.style.setProperty(fe,st,_t&t.JOm.Important?"important":""):Ae.style[fe]=st}removeStyle(Ae,fe,st){st&t.JOm.DashCase?Ae.style.removeProperty(fe):Ae.style[fe]=""}setProperty(Ae,fe,st){Ae[fe]=st}setValue(Ae,fe){Ae.nodeValue=fe}listen(Ae,fe,st){return"string"==typeof Ae?this.eventManager.addGlobalEventListener(Ae,fe,o(st)):this.eventManager.addEventListener(Ae,fe,o(st))}}"@".charCodeAt(0);function v(Kt){return"TEMPLATE"===Kt.tagName&&void 0!==Kt.content}class a extends y{constructor(Ae,fe,st,_t){super(Ae),this.component=st;const kt=i(_t+"-"+st.id,st.styles,[]);fe.addStyles(kt),this.contentAttr=function ve(Kt){return ae.replace(le,Kt)}(_t+"-"+st.id),this.hostAttr=function T(Kt){return he.replace(le,Kt)}(_t+"-"+st.id)}applyToHost(Ae){super.setAttribute(Ae,this.hostAttr,"")}createElement(Ae,fe){const st=super.createElement(Ae,fe);return super.setAttribute(st,this.contentAttr,""),st}}class C extends y{constructor(Ae,fe,st,_t){super(Ae),this.sharedStylesHost=fe,this.hostEl=st,this.shadowRoot=st.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const kt=i(_t.id,_t.styles,[]);for(let Oi=0;Oi<kt.length;Oi++){const Li=document.createElement("style");Li.textContent=kt[Oi],this.shadowRoot.appendChild(Li)}}nodeOrShadowRoot(Ae){return Ae===this.hostEl?this.shadowRoot:Ae}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(Ae,fe){return super.appendChild(this.nodeOrShadowRoot(Ae),fe)}insertBefore(Ae,fe,st){return super.insertBefore(this.nodeOrShadowRoot(Ae),fe,st)}removeChild(Ae,fe){return super.removeChild(this.nodeOrShadowRoot(Ae),fe)}parentNode(Ae){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Ae)))}}class U extends V{constructor(Ae){super(Ae)}supports(Ae){return!0}addEventListener(Ae,fe,st){return Ae.addEventListener(fe,st,!1),()=>this.removeEventListener(Ae,fe,st)}removeEventListener(Ae,fe,st){return Ae.removeEventListener(fe,st)}}U.\u0275fac=function(Ae){return new(Ae||U)(t.LFG(e.K0))},U.\u0275prov=t.Yz7({token:U,factory:U.\u0275fac});const N=["alt","control","meta","shift"],Q={"\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"},Pe={alt:Kt=>Kt.altKey,control:Kt=>Kt.ctrlKey,meta:Kt=>Kt.metaKey,shift:Kt=>Kt.shiftKey};class Le extends V{constructor(Ae){super(Ae)}supports(Ae){return null!=Le.parseEventName(Ae)}addEventListener(Ae,fe,st){const _t=Le.parseEventName(fe),kt=Le.eventCallback(_t.fullKey,st,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,e.q)().onAndCancel(Ae,_t.domEventName,kt))}static parseEventName(Ae){const fe=Ae.toLowerCase().split("."),st=fe.shift();if(0===fe.length||"keydown"!==st&&"keyup"!==st)return null;const _t=Le._normalizeKey(fe.pop());let kt="",Oi=fe.indexOf("code");if(Oi>-1&&(fe.splice(Oi,1),kt="code."),N.forEach(Ei=>{const Wi=fe.indexOf(Ei);Wi>-1&&(fe.splice(Wi,1),kt+=Ei+".")}),kt+=_t,0!=fe.length||0===_t.length)return null;const Li={};return Li.domEventName=st,Li.fullKey=kt,Li}static matchEventFullKeyCode(Ae,fe){let st=Q[Ae.key]||Ae.key,_t="";return fe.indexOf("code.")>-1&&(st=Ae.code,_t="code."),!(null==st||!st)&&(st=st.toLowerCase()," "===st?st="space":"."===st&&(st="dot"),N.forEach(kt=>{if(kt!==st){(0,Pe[kt])(Ae)&&(_t+=kt+".")}}),_t+=st,_t===fe)}static eventCallback(Ae,fe,st){return _t=>{Le.matchEventFullKeyCode(_t,Ae)&&st.runGuarded(()=>fe(_t))}}static _normalizeKey(Ae){return"esc"===Ae?"escape":Ae}}Le.\u0275fac=function(Ae){return new(Ae||Le)(t.LFG(e.K0))},Le.\u0275prov=t.Yz7({token:Le,factory:Le.\u0275fac});const He=[{provide:t.Lbi,useValue:e.bD},{provide:t.g9A,useValue:function je(){S.makeCurrent()},multi:!0},{provide:e.K0,useFactory:function Te(){return(0,t.RDi)(document),document},deps:[]}],Ee=(0,t.eFA)(t._c5,"browser",He),we=new t.OlP(""),de=[{provide:t.rWj,useClass:class k{addToWindow(Ae){t.dqk.getAngularTestability=(st,_t=!0)=>{const kt=Ae.findTestabilityInTree(st,_t);if(null==kt)throw new Error("Could not find testability for element.");return kt},t.dqk.getAllAngularTestabilities=()=>Ae.getAllTestabilities(),t.dqk.getAllAngularRootElements=()=>Ae.getAllRootElements();t.dqk.frameworkStabilizers||(t.dqk.frameworkStabilizers=[]),t.dqk.frameworkStabilizers.push(st=>{const _t=t.dqk.getAllAngularTestabilities();let kt=_t.length,Oi=!1;const Li=function(Ei){Oi=Oi||Ei,kt--,0==kt&&st(Oi)};_t.forEach(function(Ei){Ei.whenStable(Li)})})}findTestabilityInTree(Ae,fe,st){if(null==fe)return null;return Ae.getTestability(fe)??(st?(0,e.q)().isShadowRoot(fe)?this.findTestabilityInTree(Ae,fe.host,!0):this.findTestabilityInTree(Ae,fe.parentElement,!0):null)}},deps:[]},{provide:t.lri,useClass:t.dDg,deps:[t.R0b,t.eoX,t.rWj]},{provide:t.dDg,useClass:t.dDg,deps:[t.R0b,t.eoX,t.rWj]}],Me=[{provide:t.zSh,useValue:"root"},{provide:t.qLn,useFactory:function ye(){return new t.qLn},deps:[]},{provide:z,useClass:U,multi:!0,deps:[e.K0,t.R0b,t.Lbi]},{provide:z,useClass:Le,multi:!0,deps:[e.K0]},{provide:h,useClass:h,deps:[I,q,t.AFp]},{provide:t.FYo,useExisting:h},{provide:Z,useExisting:q},{provide:q,useClass:q,deps:[e.K0]},{provide:I,useClass:I,deps:[z,t.R0b]},{provide:e.JF,useClass:E,deps:[]},[]];class ie{constructor(Ae){false}static withServerTransition(Ae){return{ngModule:ie,providers:[{provide:t.AFp,useValue:Ae.appId},{provide:p,useExisting:t.AFp},M]}}}ie.\u0275fac=function(Ae){return new(Ae||ie)(t.LFG(we,12))},ie.\u0275mod=t.oAB({type:ie}),ie.\u0275inj=t.cJS({providers:[...Me,...de],imports:[e.ez,t.hGG]});class ${constructor(Ae){this._doc=Ae,this._dom=(0,e.q)()}addTag(Ae,fe=!1){return Ae?this._getOrCreateElement(Ae,fe):null}addTags(Ae,fe=!1){return Ae?Ae.reduce((st,_t)=>(_t&&st.push(this._getOrCreateElement(_t,fe)),st),[]):[]}getTag(Ae){return Ae&&this._doc.querySelector(`meta[${Ae}]`)||null}getTags(Ae){if(!Ae)return[];const fe=this._doc.querySelectorAll(`meta[${Ae}]`);return fe?[].slice.call(fe):[]}updateTag(Ae,fe){if(!Ae)return null;fe=fe||this._parseSelector(Ae);const st=this.getTag(fe);return st?this._setMetaElementAttributes(Ae,st):this._getOrCreateElement(Ae,!0)}removeTag(Ae){this.removeTagElement(this.getTag(Ae))}removeTagElement(Ae){Ae&&this._dom.remove(Ae)}_getOrCreateElement(Ae,fe=!1){if(!fe){const kt=this._parseSelector(Ae),Oi=this.getTags(kt).filter(Li=>this._containsAttributes(Ae,Li))[0];if(void 0!==Oi)return Oi}const st=this._dom.createElement("meta");return this._setMetaElementAttributes(Ae,st),this._doc.getElementsByTagName("head")[0].appendChild(st),st}_setMetaElementAttributes(Ae,fe){return Object.keys(Ae).forEach(st=>fe.setAttribute(this._getMetaKeyMap(st),Ae[st])),fe}_parseSelector(Ae){const fe=Ae.name?"name":"property";return`${fe}="${Ae[fe]}"`}_containsAttributes(Ae,fe){return Object.keys(Ae).every(st=>fe.getAttribute(this._getMetaKeyMap(st))===Ae[st])}_getMetaKeyMap(Ae){return ze[Ae]||Ae}}$.\u0275fac=function(Ae){return new(Ae||$)(t.LFG(e.K0))},$.\u0275prov=t.Yz7({token:$,factory:function(Ae){let fe=null;return fe=Ae?new Ae:function G(){return new $((0,t.LFG)(e.K0))}(),fe},providedIn:"root"});const ze={httpEquiv:"http-equiv"};class oe{constructor(Ae){this._doc=Ae}getTitle(){return this._doc.title}setTitle(Ae){this._doc.title=Ae||""}}oe.\u0275fac=function(Ae){return new(Ae||oe)(t.LFG(e.K0))},oe.\u0275prov=t.Yz7({token:oe,factory:function(Ae){let fe=null;return fe=Ae?new Ae:function Ue(){return new oe((0,t.LFG)(e.K0))}(),fe},providedIn:"root"});typeof window<"u"&&window;class Je{constructor(){this.store={},this.onSerializeCallbacks={}}get(Ae,fe){return void 0!==this.store[Ae]?this.store[Ae]:fe}set(Ae,fe){this.store[Ae]=fe}remove(Ae){delete this.store[Ae]}hasKey(Ae){return this.store.hasOwnProperty(Ae)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(Ae,fe){this.onSerializeCallbacks[Ae]=fe}toJson(){for(const Ae in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(Ae))try{this.store[Ae]=this.onSerializeCallbacks[Ae]()}catch(fe){console.warn("Exception in onSerialize callback: ",fe)}return JSON.stringify(this.store)}}Je.\u0275fac=function(Ae){return new(Ae||Je)},Je.\u0275prov=t.Yz7({token:Je,factory:function(){return(()=>{const Kt=(0,t.f3M)(e.K0),Ae=(0,t.f3M)(t.AFp),fe=new Je;return fe.store=function me(Kt,Ae){const fe=Kt.getElementById(Ae+"-state");let st={};if(fe&&fe.textContent)try{st=JSON.parse(function si(Kt){const Ae={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"};return Kt.replace(/&[^;]+;/g,fe=>Ae[fe])}(fe.textContent))}catch(_t){console.warn("Exception while restoring TransferState for app "+Ae,_t)}return st}(Kt,Ae),fe})()},providedIn:"root"});class K{}K.\u0275fac=function(Ae){return new(Ae||K)},K.\u0275mod=t.oAB({type:K}),K.\u0275inj=t.cJS({});const We={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},Mt=new t.OlP("HammerGestureConfig"),Tt=new t.OlP("HammerLoader");class Nt{constructor(){this.events=[],this.overrides={}}buildHammer(Ae){const fe=new Hammer(Ae,this.options);fe.get("pinch").set({enable:!0}),fe.get("rotate").set({enable:!0});for(const st in this.overrides)fe.get(st).set(this.overrides[st]);return fe}}Nt.\u0275fac=function(Ae){return new(Ae||Nt)},Nt.\u0275prov=t.Yz7({token:Nt,factory:Nt.\u0275fac});class at extends V{constructor(Ae,fe,st,_t){super(Ae),this._config=fe,this.console=st,this.loader=_t,this._loaderPromise=null}supports(Ae){return!(!We.hasOwnProperty(Ae.toLowerCase())&&!this.isCustomEvent(Ae)||!window.Hammer&&!this.loader)}addEventListener(Ae,fe,st){const _t=this.manager.getZone();if(fe=fe.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||_t.runOutsideAngular(()=>this.loader());let kt=!1,Oi=()=>{kt=!0};return _t.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?kt||(Oi=this.addEventListener(Ae,fe,st)):Oi=()=>{}}).catch(()=>{Oi=()=>{}})),()=>{Oi()}}return _t.runOutsideAngular(()=>{const kt=this._config.buildHammer(Ae),Oi=function(Li){_t.runGuarded(function(){st(Li)})};return kt.on(fe,Oi),()=>{kt.off(fe,Oi),"function"==typeof kt.destroy&&kt.destroy()}})}isCustomEvent(Ae){return this._config.events.indexOf(Ae)>-1}}at.\u0275fac=function(Ae){return new(Ae||at)(t.LFG(e.K0),t.LFG(Mt),t.LFG(t.c2e),t.LFG(Tt,8))},at.\u0275prov=t.Yz7({token:at,factory:at.\u0275fac});class Ke{}Ke.\u0275fac=function(Ae){return new(Ae||Ke)},Ke.\u0275mod=t.oAB({type:Ke}),Ke.\u0275inj=t.cJS({providers:[{provide:z,useClass:at,multi:!0,deps:[e.K0,Mt,t.c2e,[new t.FiY,Tt]]},{provide:Mt,useClass:Nt,deps:[]}]});class vt{}vt.\u0275fac=function(Ae){return new(Ae||vt)},vt.\u0275prov=t.Yz7({token:vt,factory:function(Ae){let fe=null;return fe=Ae?new(Ae||vt):t.LFG(Pt),fe},providedIn:"root"});class Pt extends vt{constructor(Ae){super(),this._doc=Ae}sanitize(Ae,fe){if(null==fe)return null;switch(Ae){case t.q3G.NONE:return fe;case t.q3G.HTML:return(0,t.qzn)(fe,"HTML")?(0,t.z3N)(fe):(0,t.EiD)(this._doc,String(fe)).toString();case t.q3G.STYLE:return(0,t.qzn)(fe,"Style")?(0,t.z3N)(fe):fe;case t.q3G.SCRIPT:if((0,t.qzn)(fe,"Script"))return(0,t.z3N)(fe);throw new Error("unsafe value used in a script context");case t.q3G.URL:return(0,t.qzn)(fe,"URL")?(0,t.z3N)(fe):(0,t.mCW)(String(fe));case t.q3G.RESOURCE_URL:if((0,t.qzn)(fe,"ResourceURL"))return(0,t.z3N)(fe);throw new Error(`unsafe value used in a resource URL context (see ${t.JZr})`);default:throw new Error(`Unexpected SecurityContext ${Ae} (see ${t.JZr})`)}}bypassSecurityTrustHtml(Ae){return(0,t.JVY)(Ae)}bypassSecurityTrustStyle(Ae){return(0,t.L6k)(Ae)}bypassSecurityTrustScript(Ae){return(0,t.eBb)(Ae)}bypassSecurityTrustUrl(Ae){return(0,t.LAX)(Ae)}bypassSecurityTrustResourceUrl(Ae){return(0,t.pB0)(Ae)}}Pt.\u0275fac=function(Ae){return new(Ae||Pt)(t.LFG(e.K0))},Pt.\u0275prov=t.Yz7({token:Pt,factory:function(Ae){let fe=null;return fe=Ae?new Ae:function ri(Kt){return new Pt(Kt.get(e.K0))}(t.LFG(t.zs3)),fe},providedIn:"root"});new t.GfV("15.0.2")},3547:(Ge,X,f)=>{"use strict";f.d(X,{gz:()=>Pa,gk:()=>bi,m2:()=>ii,Q3:()=>Yi,OD:()=>ci,Av:()=>Kn,F0:()=>Ir,rH:()=>mc,Od:()=>pc,Bz:()=>Bo,lC:()=>oo});var e=f(2560),t=f(7400),_=f(745),S=f(6317),l=f(4423),D=f(6562),d=f(9319),P=f(1954),p=f(629),L=f(5474),M=f(833),k=f(591),E=f(3932),z=f(253),I=f(4666),V=f(635),Z=f(2673),q=f(9295),te=f(4874),ne=f(116),le=f(9525),re=f(155),_e=f(3853),he=f(9337),ae=f(3158),ve=f(4351),T=f(1944),i=f(3945);function o(Ie){return Ie<=0?()=>k.E:(0,T.e)((ee,De)=>{let tt=[];ee.subscribe((0,i.x)(De,lt=>{tt.push(lt),Ie<tt.length&&tt.shift()},()=>{for(const lt of tt)De.next(lt);De.complete()},void 0,()=>{tt=null}))})}var m=f(7354),h=f(4744),y=f(9173);function A(Ie,ee){const De=arguments.length>=2;return tt=>tt.pipe(Ie?(0,ne.h)((lt,yt)=>Ie(lt,yt,tt)):y.y,o(1),De?(0,h.d)(ee):(0,m.T)(()=>new l.K))}var R=f(2566),v=f(73),a=f(2313),C=f(6074),U=f(1308),N=f(4497);const Q="primary",Pe=Symbol("RouteTitle");class Le{constructor(ee){this.params=ee||{}}has(ee){return Object.prototype.hasOwnProperty.call(this.params,ee)}get(ee){if(this.has(ee)){const De=this.params[ee];return Array.isArray(De)?De[0]:De}return null}getAll(ee){if(this.has(ee)){const De=this.params[ee];return Array.isArray(De)?De:[De]}return[]}get keys(){return Object.keys(this.params)}}function Ye(Ie){return new Le(Ie)}function $e(Ie,ee,De){const tt=De.path.split("/");if(tt.length>Ie.length||"full"===De.pathMatch&&(ee.hasChildren()||tt.length<Ie.length))return null;const lt={};for(let yt=0;yt<tt.length;yt++){const Yt=tt[yt],yi=Ie[yt];if(Yt.startsWith(":"))lt[Yt.substring(1)]=yi;else if(Yt!==yi.path)return null}return{consumed:Ie.slice(0,tt.length),posParams:lt}}function be(Ie,ee){const De=Ie?Object.keys(Ie):void 0,tt=ee?Object.keys(ee):void 0;if(!De||!tt||De.length!=tt.length)return!1;let lt;for(let yt=0;yt<De.length;yt++)if(lt=De[yt],!et(Ie[lt],ee[lt]))return!1;return!0}function et(Ie,ee){if(Array.isArray(Ie)&&Array.isArray(ee)){if(Ie.length!==ee.length)return!1;const De=[...Ie].sort(),tt=[...ee].sort();return De.every((lt,yt)=>tt[yt]===lt)}return Ie===ee}function je(Ie){return Array.prototype.concat.apply([],Ie)}function ye(Ie){return Ie.length>0?Ie[Ie.length-1]:null}function He(Ie,ee){for(const De in Ie)Ie.hasOwnProperty(De)&&ee(Ie[De],De)}function Ee(Ie){return(0,e.CqO)(Ie)?Ie:(0,e.QGY)(Ie)?(0,t.D)(Promise.resolve(Ie)):(0,_.of)(Ie)}const we=!1,de={exact:function $(Ie,ee,De){if(!rt(Ie.segments,ee.segments)||!bt(Ie.segments,ee.segments,De)||Ie.numberOfChildren!==ee.numberOfChildren)return!1;for(const tt in ee.children)if(!Ie.children[tt]||!$(Ie.children[tt],ee.children[tt],De))return!1;return!0},subset:Ue},Me={exact:function G(Ie,ee){return be(Ie,ee)},subset:function ze(Ie,ee){return Object.keys(ee).length<=Object.keys(Ie).length&&Object.keys(ee).every(De=>et(Ie[De],ee[De]))},ignored:()=>!0};function ie(Ie,ee,De){return de[De.paths](Ie.root,ee.root,De.matrixParams)&&Me[De.queryParams](Ie.queryParams,ee.queryParams)&&!("exact"===De.fragment&&Ie.fragment!==ee.fragment)}function Ue(Ie,ee,De){return oe(Ie,ee,ee.segments,De)}function oe(Ie,ee,De,tt){if(Ie.segments.length>De.length){const lt=Ie.segments.slice(0,De.length);return!(!rt(lt,De)||ee.hasChildren()||!bt(lt,De,tt))}if(Ie.segments.length===De.length){if(!rt(Ie.segments,De)||!bt(Ie.segments,De,tt))return!1;for(const lt in ee.children)if(!Ie.children[lt]||!Ue(Ie.children[lt],ee.children[lt],tt))return!1;return!0}{const lt=De.slice(0,Ie.segments.length),yt=De.slice(Ie.segments.length);return!!(rt(Ie.segments,lt)&&bt(Ie.segments,lt,tt)&&Ie.children[Q])&&oe(Ie.children[Q],ee,yt,tt)}}function bt(Ie,ee,De){return ee.every((tt,lt)=>Me[De](Ie[lt].parameters,tt.parameters))}class Be{constructor(ee=new nt([],{}),De={},tt=null){this.root=ee,this.queryParams=De,this.fragment=tt,we}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ye(this.queryParams)),this._queryParamMap}toString(){return gi.serialize(this)}}class nt{constructor(ee,De){this.segments=ee,this.children=De,this.parent=null,He(De,(tt,lt)=>tt.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return oi(this)}}class $t{constructor(ee,De){this.path=ee,this.parameters=De}get parameterMap(){return this._parameterMap||(this._parameterMap=Ye(this.parameters)),this._parameterMap}toString(){return J(this)}}function rt(Ie,ee){return Ie.length===ee.length&&Ie.every((De,tt)=>De.path===ee[tt].path)}class ot{}ot.\u0275fac=function(ee){return new(ee||ot)},ot.\u0275prov=e.Yz7({token:ot,factory:function(){return new St},providedIn:"root"});class St{parse(ee){const De=new ri(ee);return new Be(De.parseRootSegment(),De.parseQueryParams(),De.parseFragment())}serialize(ee){const De=`/${ei(ee.root,!0)}`,tt=function We(Ie){const ee=Object.keys(Ie).map(De=>{const tt=Ie[De];return Array.isArray(tt)?tt.map(lt=>`${si(De)}=${si(lt)}`).join("&"):`${si(De)}=${si(tt)}`}).filter(De=>!!De);return ee.length?`?${ee.join("&")}`:""}(ee.queryParams);return`${De}${tt}${"string"==typeof ee.fragment?`#${function Bt(Ie){return encodeURI(Ie)}(ee.fragment)}`:""}`}}const gi=new St;function oi(Ie){return Ie.segments.map(ee=>J(ee)).join("/")}function ei(Ie,ee){if(!Ie.hasChildren())return oi(Ie);if(ee){const De=Ie.children[Q]?ei(Ie.children[Q],!1):"",tt=[];return He(Ie.children,(lt,yt)=>{yt!==Q&&tt.push(`${yt}:${ei(lt,!1)}`)}),tt.length>0?`${De}(${tt.join("//")})`:De}{const De=function Re(Ie,ee){let De=[];return He(Ie.children,(tt,lt)=>{lt===Q&&(De=De.concat(ee(tt,lt)))}),He(Ie.children,(tt,lt)=>{lt!==Q&&(De=De.concat(ee(tt,lt)))}),De}(Ie,(tt,lt)=>lt===Q?[ei(Ie.children[Q],!1)]:[`${lt}:${ei(tt,!1)}`]);return 1===Object.keys(Ie.children).length&&null!=Ie.children[Q]?`${oi(Ie)}/${De[0]}`:`${oi(Ie)}/(${De.join("//")})`}}function Zi(Ie){return encodeURIComponent(Ie).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function si(Ie){return Zi(Ie).replace(/%3B/gi,";")}function Je(Ie){return Zi(Ie).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function me(Ie){return decodeURIComponent(Ie)}function K(Ie){return me(Ie.replace(/\+/g,"%20"))}function J(Ie){return`${Je(Ie.path)}${function Ce(Ie){return Object.keys(Ie).map(ee=>`;${Je(ee)}=${Je(Ie[ee])}`).join("")}(Ie.parameters)}`}const Mt=/^[^\/()?;=#]+/;function Tt(Ie){const ee=Ie.match(Mt);return ee?ee[0]:""}const Nt=/^[^=?&#]+/;const Ke=/^[^&#]+/;class ri{constructor(ee){this.url=ee,this.remaining=ee}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new nt([],{}):new nt([],this.parseChildren())}parseQueryParams(){const ee={};if(this.consumeOptional("?"))do{this.parseQueryParam(ee)}while(this.consumeOptional("&"));return ee}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const ee=[];for(this.peekStartsWith("(")||ee.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),ee.push(this.parseSegment());let De={};this.peekStartsWith("/(")&&(this.capture("/"),De=this.parseParens(!0));let tt={};return this.peekStartsWith("(")&&(tt=this.parseParens(!1)),(ee.length>0||Object.keys(De).length>0)&&(tt[Q]=new nt(ee,De)),tt}parseSegment(){const ee=Tt(this.remaining);if(""===ee&&this.peekStartsWith(";"))throw new e.vHH(4009,we);return this.capture(ee),new $t(me(ee),this.parseMatrixParams())}parseMatrixParams(){const ee={};for(;this.consumeOptional(";");)this.parseParam(ee);return ee}parseParam(ee){const De=Tt(this.remaining);if(!De)return;this.capture(De);let tt="";if(this.consumeOptional("=")){const lt=Tt(this.remaining);lt&&(tt=lt,this.capture(tt))}ee[me(De)]=me(tt)}parseQueryParam(ee){const De=function at(Ie){const ee=Ie.match(Nt);return ee?ee[0]:""}(this.remaining);if(!De)return;this.capture(De);let tt="";if(this.consumeOptional("=")){const Yt=function vt(Ie){const ee=Ie.match(Ke);return ee?ee[0]:""}(this.remaining);Yt&&(tt=Yt,this.capture(tt))}const lt=K(De),yt=K(tt);if(ee.hasOwnProperty(lt)){let Yt=ee[lt];Array.isArray(Yt)||(Yt=[Yt],ee[lt]=Yt),Yt.push(yt)}else ee[lt]=yt}parseParens(ee){const De={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const tt=Tt(this.remaining),lt=this.remaining[tt.length];if("/"!==lt&&")"!==lt&&";"!==lt)throw new e.vHH(4010,we);let yt;tt.indexOf(":")>-1?(yt=tt.slice(0,tt.indexOf(":")),this.capture(yt),this.capture(":")):ee&&(yt=Q);const Yt=this.parseChildren();De[yt]=1===Object.keys(Yt).length?Yt[Q]:new nt([],Yt),this.consumeOptional("//")}return De}peekStartsWith(ee){return this.remaining.startsWith(ee)}consumeOptional(ee){return!!this.peekStartsWith(ee)&&(this.remaining=this.remaining.substring(ee.length),!0)}capture(ee){if(!this.consumeOptional(ee))throw new e.vHH(4011,we)}}function Pt(Ie){return Ie.segments.length>0?new nt([],{[Q]:Ie}):Ie}function Lt(Ie){const ee={};for(const tt of Object.keys(Ie.children)){const yt=Lt(Ie.children[tt]);(yt.segments.length>0||yt.hasChildren())&&(ee[tt]=yt)}return function Kt(Ie){if(1===Ie.numberOfChildren&&Ie.children[Q]){const ee=Ie.children[Q];return new nt(Ie.segments.concat(ee.segments),ee.children)}return Ie}(new nt(Ie.segments,ee))}function Ae(Ie){return Ie instanceof Be}function Oi(Ie,ee,De,tt,lt){if(0===De.length)return Wi(ee.root,ee.root,ee.root,tt,lt);const yt=Ne(De);if(yt.toRoot())return Wi(ee.root,ee.root,new nt([],{}),tt,lt);return function Yt(Ii){const zi=function fi(Ie,ee,De,tt){if(Ie.isAbsolute)return new Vt(ee.root,!0,0);if(-1===tt){const Yt=De===ee.root;return new Vt(De,Yt,0)}const lt=Li(Ie.commands[0])?0:1;return Si(De,tt+lt,Ie.numberOfDoubleDots)}(yt,ee,Ie.snapshot?._urlSegment,Ii),dn=zi.processChildren?Qt(zi.segmentGroup,zi.index,yt.commands):Gi(zi.segmentGroup,zi.index,yt.commands);return Wi(ee.root,zi.segmentGroup,dn,tt,lt)}(Ie.snapshot?._lastPathIndex)}function Li(Ie){return"object"==typeof Ie&&null!=Ie&&!Ie.outlets&&!Ie.segmentPath}function Ei(Ie){return"object"==typeof Ie&&null!=Ie&&Ie.outlets}function Wi(Ie,ee,De,tt,lt){let Yt,yt={};tt&&He(tt,(Ii,zi)=>{yt[zi]=Array.isArray(Ii)?Ii.map(dn=>`${dn}`):`${Ii}`}),Yt=Ie===ee?De:wt(Ie,ee,De);const yi=Pt(Lt(Yt));return new Be(yi,yt,lt)}function wt(Ie,ee,De){const tt={};return He(Ie.children,(lt,yt)=>{tt[yt]=lt===ee?De:wt(lt,ee,De)}),new nt(Ie.segments,tt)}class qe{constructor(ee,De,tt){if(this.isAbsolute=ee,this.numberOfDoubleDots=De,this.commands=tt,ee&&tt.length>0&&Li(tt[0]))throw new e.vHH(4003,false);const lt=tt.find(Ei);if(lt&&lt!==ye(tt))throw new e.vHH(4004,false)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}function Ne(Ie){if("string"==typeof Ie[0]&&1===Ie.length&&"/"===Ie[0])return new qe(!0,0,Ie);let ee=0,De=!1;const tt=Ie.reduce((lt,yt,Yt)=>{if("object"==typeof yt&&null!=yt){if(yt.outlets){const yi={};return He(yt.outlets,(Ii,zi)=>{yi[zi]="string"==typeof Ii?Ii.split("/"):Ii}),[...lt,{outlets:yi}]}if(yt.segmentPath)return[...lt,yt.segmentPath]}return"string"!=typeof yt?[...lt,yt]:0===Yt?(yt.split("/").forEach((yi,Ii)=>{0==Ii&&"."===yi||(0==Ii&&""===yi?De=!0:".."===yi?ee++:""!=yi&&lt.push(yi))}),lt):[...lt,yt]},[]);return new qe(De,ee,tt)}class Vt{constructor(ee,De,tt){this.segmentGroup=ee,this.processChildren=De,this.index=tt}}function Si(Ie,ee,De){let tt=Ie,lt=ee,yt=De;for(;yt>lt;){if(yt-=lt,tt=tt.parent,!tt)throw new e.vHH(4005,false);lt=tt.segments.length}return new Vt(tt,!1,lt-yt)}function Gi(Ie,ee,De){if(Ie||(Ie=new nt([],{})),0===Ie.segments.length&&Ie.hasChildren())return Qt(Ie,ee,De);const tt=function xe(Ie,ee,De){let tt=0,lt=ee;const yt={match:!1,pathIndex:0,commandIndex:0};for(;lt<Ie.segments.length;){if(tt>=De.length)return yt;const Yt=Ie.segments[lt],yi=De[tt];if(Ei(yi))break;const Ii=`${yi}`,zi=tt<De.length-1?De[tt+1]:null;if(lt>0&&void 0===Ii)break;if(Ii&&zi&&"object"==typeof zi&&void 0===zi.outlets){if(!di(Ii,zi,Yt))return yt;tt+=2}else{if(!di(Ii,{},Yt))return yt;tt++}lt++}return{match:!0,pathIndex:lt,commandIndex:tt}}(Ie,ee,De),lt=De.slice(tt.commandIndex);if(tt.match&&tt.pathIndex<Ie.segments.length){const yt=new nt(Ie.segments.slice(0,tt.pathIndex),{});return yt.children[Q]=new nt(Ie.segments.slice(tt.pathIndex),Ie.children),Qt(yt,0,lt)}return tt.match&&0===lt.length?new nt(Ie.segments,{}):tt.match&&!Ie.hasChildren()?ke(Ie,ee,De):tt.match?Qt(Ie,0,lt):ke(Ie,ee,De)}function Qt(Ie,ee,De){if(0===De.length)return new nt(Ie.segments,{});{const tt=function ki(Ie){return Ei(Ie[0])?Ie[0].outlets:{[Q]:Ie}}(De),lt={};return He(tt,(yt,Yt)=>{"string"==typeof yt&&(yt=[yt]),null!==yt&&(lt[Yt]=Gi(Ie.children[Yt],ee,yt))}),He(Ie.children,(yt,Yt)=>{void 0===tt[Yt]&&(lt[Yt]=yt)}),new nt(Ie.segments,lt)}}function ke(Ie,ee,De){const tt=Ie.segments.slice(0,ee);let lt=0;for(;lt<De.length;){const yt=De[lt];if(Ei(yt)){const Ii=ft(yt.outlets);return new nt(tt,Ii)}if(0===lt&&Li(De[0])){const Ii=Ie.segments[ee];tt.push(new $t(Ii.path,Rt(De[0]))),lt++;continue}const Yt=Ei(yt)?yt.outlets[Q]:`${yt}`,yi=lt<De.length-1?De[lt+1]:null;Yt&&yi&&Li(yi)?(tt.push(new $t(Yt,Rt(yi))),lt+=2):(tt.push(new $t(Yt,{})),lt++)}return new nt(tt,{})}function ft(Ie){const ee={};return He(Ie,(De,tt)=>{"string"==typeof De&&(De=[De]),null!==De&&(ee[tt]=ke(new nt([],{}),0,De))}),ee}function Rt(Ie){const ee={};return He(Ie,(De,tt)=>ee[tt]=`${De}`),ee}function di(Ie,ee,De){return Ie==De.path&&be(ee,De.parameters)}class ai{constructor(ee,De){this.id=ee,this.url=De}}class ci extends ai{constructor(ee,De,tt="imperative",lt=null){super(ee,De),this.type=0,this.navigationTrigger=tt,this.restoredState=lt}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ii extends ai{constructor(ee,De,tt){super(ee,De),this.urlAfterRedirects=tt,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class bi extends ai{constructor(ee,De,tt,lt){super(ee,De),this.reason=tt,this.code=lt,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Yi extends ai{constructor(ee,De,tt,lt){super(ee,De),this.error=tt,this.target=lt,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class _n extends ai{constructor(ee,De,tt,lt){super(ee,De),this.urlAfterRedirects=tt,this.state=lt,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ha extends ai{constructor(ee,De,tt,lt){super(ee,De),this.urlAfterRedirects=tt,this.state=lt,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class gn extends ai{constructor(ee,De,tt,lt,yt){super(ee,De),this.urlAfterRedirects=tt,this.state=lt,this.shouldActivate=yt,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Zn extends ai{constructor(ee,De,tt,lt){super(ee,De),this.urlAfterRedirects=tt,this.state=lt,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Kn extends ai{constructor(ee,De,tt,lt){super(ee,De),this.urlAfterRedirects=tt,this.state=lt,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ua{constructor(ee){this.route=ee,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class br{constructor(ee){this.route=ee,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Ot{constructor(ee){this.snapshot=ee,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Wt{constructor(ee){this.snapshot=ee,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ui{constructor(ee){this.snapshot=ee,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ti{constructor(ee){this.snapshot=ee,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class $i{constructor(ee,De,tt){this.routerEvent=ee,this.position=De,this.anchor=tt,this.type=15}toString(){const ee=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${ee}')`}}class cn{constructor(ee){this._root=ee}get root(){return this._root.value}parent(ee){const De=this.pathFromRoot(ee);return De.length>1?De[De.length-2]:null}children(ee){const De=aa(ee,this._root);return De?De.children.map(tt=>tt.value):[]}firstChild(ee){const De=aa(ee,this._root);return De&&De.children.length>0?De.children[0].value:null}siblings(ee){const De=Ln(ee,this._root);return De.length<2?[]:De[De.length-2].children.map(lt=>lt.value).filter(lt=>lt!==ee)}pathFromRoot(ee){return Ln(ee,this._root).map(De=>De.value)}}function aa(Ie,ee){if(Ie===ee.value)return ee;for(const De of ee.children){const tt=aa(Ie,De);if(tt)return tt}return null}function Ln(Ie,ee){if(Ie===ee.value)return[ee];for(const De of ee.children){const tt=Ln(Ie,De);if(tt.length)return tt.unshift(ee),tt}return[]}class ea{constructor(ee,De){this.value=ee,this.children=De}toString(){return`TreeNode(${this.value})`}}function Dn(Ie){const ee={};return Ie&&Ie.children.forEach(De=>ee[De.value.outlet]=De),ee}class Jn extends cn{constructor(ee,De){super(ee),this.snapshot=De,hr(this,ee)}toString(){return this.snapshot.toString()}}function Ia(Ie,ee){const De=function Gn(Ie,ee){const Yt=new yr([],{},{},"",{},Q,ee,null,Ie.root,-1,{});return new wa("",new ea(Yt,[]))}(Ie,ee),tt=new S.X([new $t("",{})]),lt=new S.X({}),yt=new S.X({}),Yt=new S.X({}),yi=new S.X(""),Ii=new Pa(tt,lt,Yt,yi,yt,Q,ee,De.root);return Ii.snapshot=De.root,new Jn(new ea(Ii,[]),De)}class Pa{constructor(ee,De,tt,lt,yt,Yt,yi,Ii){this.url=ee,this.params=De,this.queryParams=tt,this.fragment=lt,this.data=yt,this.outlet=Yt,this.component=yi,this.title=this.data?.pipe((0,V.U)(zi=>zi[Pe]))??(0,_.of)(void 0),this._futureSnapshot=Ii}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,V.U)(ee=>Ye(ee)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,V.U)(ee=>Ye(ee)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function qn(Ie,ee="emptyOnly"){const De=Ie.pathFromRoot;let tt=0;if("always"!==ee)for(tt=De.length-1;tt>=1;){const lt=De[tt],yt=De[tt-1];if(lt.routeConfig&&""===lt.routeConfig.path)tt--;else{if(yt.component)break;tt--}}return function Ra(Ie){return Ie.reduce((ee,De)=>({params:{...ee.params,...De.params},data:{...ee.data,...De.data},resolve:{...De.data,...ee.resolve,...De.routeConfig?.data,...De._resolvedData}}),{params:{},data:{},resolve:{}})}(De.slice(tt))}class yr{constructor(ee,De,tt,lt,yt,Yt,yi,Ii,zi,dn,ta){this.url=ee,this.params=De,this.queryParams=tt,this.fragment=lt,this.data=yt,this.outlet=Yt,this.component=yi,this.routeConfig=Ii,this._urlSegment=zi,this._lastPathIndex=dn,this._resolve=ta}get title(){return this.data?.[Pe]}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=Ye(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ye(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(tt=>tt.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class wa extends cn{constructor(ee,De){super(De),this.url=ee,hr(this,De)}toString(){return Vn(this._root)}}function hr(Ie,ee){ee.value._routerState=Ie,ee.children.forEach(De=>hr(Ie,De))}function Vn(Ie){const ee=Ie.children.length>0?` { ${Ie.children.map(Vn).join(", ")} } `:"";return`${Ie.value}${ee}`}function va(Ie){if(Ie.snapshot){const ee=Ie.snapshot,De=Ie._futureSnapshot;Ie.snapshot=De,be(ee.queryParams,De.queryParams)||Ie.queryParams.next(De.queryParams),ee.fragment!==De.fragment&&Ie.fragment.next(De.fragment),be(ee.params,De.params)||Ie.params.next(De.params),function Ve(Ie,ee){if(Ie.length!==ee.length)return!1;for(let De=0;De<Ie.length;++De)if(!be(Ie[De],ee[De]))return!1;return!0}(ee.url,De.url)||Ie.url.next(De.url),be(ee.data,De.data)||Ie.data.next(De.data)}else Ie.snapshot=Ie._futureSnapshot,Ie.data.next(Ie._futureSnapshot.data)}function ra(Ie,ee){const De=be(Ie.params,ee.params)&&function gt(Ie,ee){return rt(Ie,ee)&&Ie.every((De,tt)=>be(De.parameters,ee[tt].parameters))}(Ie.url,ee.url),tt=!Ie.parent!=!ee.parent;return De&&!tt&&(!Ie.parent||ra(Ie.parent,ee.parent))}function Ba(Ie,ee,De){if(De&&Ie.shouldReuseRoute(ee.value,De.value.snapshot)){const tt=De.value;tt._futureSnapshot=ee.value;const lt=function Jo(Ie,ee,De){return ee.children.map(tt=>{for(const lt of De.children)if(Ie.shouldReuseRoute(tt.value,lt.value.snapshot))return Ba(Ie,tt,lt);return Ba(Ie,tt)})}(Ie,ee,De);return new ea(tt,lt)}{if(Ie.shouldAttach(ee.value)){const yt=Ie.retrieve(ee.value);if(null!==yt){const Yt=yt.route;return Yt.value._futureSnapshot=ee.value,Yt.children=ee.children.map(yi=>Ba(Ie,yi)),Yt}}const tt=function ro(Ie){return new Pa(new S.X(Ie.url),new S.X(Ie.params),new S.X(Ie.queryParams),new S.X(Ie.fragment),new S.X(Ie.data),Ie.outlet,Ie.component,Ie)}(ee.value),lt=ee.children.map(yt=>Ba(Ie,yt));return new ea(tt,lt)}}const jn="ngNavigationCancelingError";function jr(Ie,ee){const{redirectTo:De,navigationBehaviorOptions:tt}=Ae(ee)?{redirectTo:ee,navigationBehaviorOptions:void 0}:ee,lt=Na(!1,0,ee);return lt.url=De,lt.navigationBehaviorOptions=tt,lt}function Na(Ie,ee,De){const tt=new Error("NavigationCancelingError: "+(Ie||""));return tt[jn]=!0,tt.cancellationCode=ee,De&&(tt.url=De),tt}function Oo(Ie){return Ja(Ie)&&Ae(Ie.url)}function Ja(Ie){return Ie&&Ie[jn]}class Sr{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Za,this.attachRef=null}}class Za{constructor(){this.contexts=new Map}onChildOutletCreated(ee,De){const tt=this.getOrCreateContext(ee);tt.outlet=De,this.contexts.set(ee,tt)}onChildOutletDestroyed(ee){const De=this.getContext(ee);De&&(De.outlet=null,De.attachRef=null)}onOutletDeactivated(){const ee=this.contexts;return this.contexts=new Map,ee}onOutletReAttached(ee){this.contexts=ee}getOrCreateContext(ee){let De=this.getContext(ee);return De||(De=new Sr,this.contexts.set(ee,De)),De}getContext(ee){return this.contexts.get(ee)||null}}Za.\u0275fac=function(ee){return new(ee||Za)},Za.\u0275prov=e.Yz7({token:Za,factory:Za.\u0275fac,providedIn:"root"});const ir=!1;class oo{constructor(){this.activated=null,this._activatedRoute=null,this.name=Q,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)(Za),this.location=(0,e.f3M)(e.s_b),this.changeDetector=(0,e.f3M)(e.sBO),this.environmentInjector=(0,e.f3M)(e.lqb)}ngOnChanges(ee){if(ee.name){const{firstChange:De,previousValue:tt}=ee.name;if(De)return;this.isTrackedInParentContexts(tt)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(tt)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(ee){return this.parentContexts.getContext(ee)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const ee=this.parentContexts.getContext(this.name);ee?.route&&(ee.attachRef?this.attach(ee.attachRef,ee.route):this.activateWith(ee.route,ee.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new e.vHH(4012,ir);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new e.vHH(4012,ir);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new e.vHH(4012,ir);this.location.detach();const ee=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(ee.instance),ee}attach(ee,De){this.activated=ee,this._activatedRoute=De,this.location.insert(ee.hostView),this.attachEvents.emit(ee.instance)}deactivate(){if(this.activated){const ee=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(ee)}}activateWith(ee,De){if(this.isActivated)throw new e.vHH(4013,ir);this._activatedRoute=ee;const tt=this.location,yt=ee.snapshot.component,Yt=this.parentContexts.getOrCreateContext(this.name).children,yi=new ms(ee,Yt,tt.injector);if(De&&function So(Ie){return!!Ie.resolveComponentFactory}(De)){const Ii=De.resolveComponentFactory(yt);this.activated=tt.createComponent(Ii,tt.length,yi)}else{const Ii=De??this.environmentInjector;this.activated=tt.createComponent(yt,{index:tt.length,injector:yi,environmentInjector:Ii})}this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}oo.\u0275fac=function(ee){return new(ee||oo)},oo.\u0275dir=e.lG2({type:oo,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[e.TTD]});class ms{constructor(ee,De,tt){this.route=ee,this.childContexts=De,this.parent=tt}get(ee,De){return ee===Pa?this.route:ee===Za?this.childContexts:this.parent.get(ee,De)}}class ur{}function $a(Ie,ee){return Ie.providers&&!Ie._injector&&(Ie._injector=(0,e.MMx)(Ie.providers,ee,`Route: ${Ie.path}`)),Ie._injector??ee}function xr(Ie){const ee=Ie.children&&Ie.children.map(xr),De=ee?{...Ie,children:ee}:{...Ie};return!De.component&&!De.loadComponent&&(ee||De.loadChildren)&&De.outlet&&De.outlet!==Q&&(De.component=ur),De}function oa(Ie){return Ie.outlet||Q}function Cr(Ie,ee){const De=Ie.filter(tt=>oa(tt)===ee);return De.push(...Ie.filter(tt=>oa(tt)!==ee)),De}function mr(Ie){if(!Ie)return null;if(Ie.routeConfig?._injector)return Ie.routeConfig._injector;for(let ee=Ie.parent;ee;ee=ee.parent){const De=ee.routeConfig;if(De?._loadedInjector)return De._loadedInjector;if(De?._injector)return De._injector}return null}ur.\u0275fac=function(ee){return new(ee||ur)},ur.\u0275cmp=e.Xpm({type:ur,selectors:[["ng-component"]],standalone:!0,features:[e.jDz],decls:1,vars:0,template:function(ee,De){1&ee&&e._UZ(0,"router-outlet")},dependencies:[oo],encapsulation:2});class Er{constructor(ee,De,tt,lt){this.routeReuseStrategy=ee,this.futureState=De,this.currState=tt,this.forwardEvent=lt}activate(ee){const De=this.futureState._root,tt=this.currState?this.currState._root:null;this.deactivateChildRoutes(De,tt,ee),va(this.futureState.root),this.activateChildRoutes(De,tt,ee)}deactivateChildRoutes(ee,De,tt){const lt=Dn(De);ee.children.forEach(yt=>{const Yt=yt.value.outlet;this.deactivateRoutes(yt,lt[Yt],tt),delete lt[Yt]}),He(lt,(yt,Yt)=>{this.deactivateRouteAndItsChildren(yt,tt)})}deactivateRoutes(ee,De,tt){const lt=ee.value,yt=De?De.value:null;if(lt===yt)if(lt.component){const Yt=tt.getContext(lt.outlet);Yt&&this.deactivateChildRoutes(ee,De,Yt.children)}else this.deactivateChildRoutes(ee,De,tt);else yt&&this.deactivateRouteAndItsChildren(De,tt)}deactivateRouteAndItsChildren(ee,De){ee.value.component&&this.routeReuseStrategy.shouldDetach(ee.value.snapshot)?this.detachAndStoreRouteSubtree(ee,De):this.deactivateRouteAndOutlet(ee,De)}detachAndStoreRouteSubtree(ee,De){const tt=De.getContext(ee.value.outlet),lt=tt&&ee.value.component?tt.children:De,yt=Dn(ee);for(const Yt of Object.keys(yt))this.deactivateRouteAndItsChildren(yt[Yt],lt);if(tt&&tt.outlet){const Yt=tt.outlet.detach(),yi=tt.children.onOutletDeactivated();this.routeReuseStrategy.store(ee.value.snapshot,{componentRef:Yt,route:ee,contexts:yi})}}deactivateRouteAndOutlet(ee,De){const tt=De.getContext(ee.value.outlet),lt=tt&&ee.value.component?tt.children:De,yt=Dn(ee);for(const Yt of Object.keys(yt))this.deactivateRouteAndItsChildren(yt[Yt],lt);tt&&tt.outlet&&(tt.outlet.deactivate(),tt.children.onOutletDeactivated(),tt.attachRef=null,tt.resolver=null,tt.route=null)}activateChildRoutes(ee,De,tt){const lt=Dn(De);ee.children.forEach(yt=>{this.activateRoutes(yt,lt[yt.value.outlet],tt),this.forwardEvent(new Ti(yt.value.snapshot))}),ee.children.length&&this.forwardEvent(new Wt(ee.value.snapshot))}activateRoutes(ee,De,tt){const lt=ee.value,yt=De?De.value:null;if(va(lt),lt===yt)if(lt.component){const Yt=tt.getOrCreateContext(lt.outlet);this.activateChildRoutes(ee,De,Yt.children)}else this.activateChildRoutes(ee,De,tt);else if(lt.component){const Yt=tt.getOrCreateContext(lt.outlet);if(this.routeReuseStrategy.shouldAttach(lt.snapshot)){const yi=this.routeReuseStrategy.retrieve(lt.snapshot);this.routeReuseStrategy.store(lt.snapshot,null),Yt.children.onOutletReAttached(yi.contexts),Yt.attachRef=yi.componentRef,Yt.route=yi.route.value,Yt.outlet&&Yt.outlet.attach(yi.componentRef,yi.route.value),va(yi.route.value),this.activateChildRoutes(ee,null,Yt.children)}else{const yi=mr(lt.snapshot),Ii=yi?.get(e._Vd)??null;Yt.attachRef=null,Yt.route=lt,Yt.resolver=Ii,Yt.injector=yi,Yt.outlet&&Yt.outlet.activateWith(lt,Yt.injector),this.activateChildRoutes(ee,null,Yt.children)}}else this.activateChildRoutes(ee,null,tt)}}class ja{constructor(ee){this.path=ee,this.route=this.path[this.path.length-1]}}class Qn{constructor(ee,De){this.component=ee,this.route=De}}function Qa(Ie,ee,De){const tt=Ie._root;return Nr(tt,ee?ee._root:null,De,[tt.value])}function Mr(Ie,ee){const De=Symbol(),tt=ee.get(Ie,De);return tt===De?"function"!=typeof Ie||(0,e.Z0I)(Ie)?ee.get(Ie):Ie:tt}function Nr(Ie,ee,De,tt,lt={canDeactivateChecks:[],canActivateChecks:[]}){const yt=Dn(ee);return Ie.children.forEach(Yt=>{(function ca(Ie,ee,De,tt,lt={canDeactivateChecks:[],canActivateChecks:[]}){const yt=Ie.value,Yt=ee?ee.value:null,yi=De?De.getContext(Ie.value.outlet):null;if(Yt&&yt.routeConfig===Yt.routeConfig){const Ii=function tr(Ie,ee,De){if("function"==typeof De)return De(Ie,ee);switch(De){case"pathParamsChange":return!rt(Ie.url,ee.url);case"pathParamsOrQueryParamsChange":return!rt(Ie.url,ee.url)||!be(Ie.queryParams,ee.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ra(Ie,ee)||!be(Ie.queryParams,ee.queryParams);default:return!ra(Ie,ee)}}(Yt,yt,yt.routeConfig.runGuardsAndResolvers);Ii?lt.canActivateChecks.push(new ja(tt)):(yt.data=Yt.data,yt._resolvedData=Yt._resolvedData),yt.component?Nr(Ie,ee,yi?yi.children:null,tt,lt):Nr(Ie,ee,De,tt,lt),Ii&&yi&&yi.outlet&&yi.outlet.isActivated&&lt.canDeactivateChecks.push(new Qn(yi.outlet.component,Yt))}else Yt&&Ta(ee,yi,lt),lt.canActivateChecks.push(new ja(tt)),yt.component?Nr(Ie,null,yi?yi.children:null,tt,lt):Nr(Ie,null,De,tt,lt);return lt})(Yt,yt[Yt.value.outlet],De,tt.concat([Yt.value]),lt),delete yt[Yt.value.outlet]}),He(yt,(Yt,yi)=>Ta(Yt,De.getContext(yi),lt)),lt}function Ta(Ie,ee,De){const tt=Dn(Ie),lt=Ie.value;He(tt,(yt,Yt)=>{lt.component?Ta(yt,ee?ee.children.getContext(Yt):null,De):Ta(yt,ee,De)}),lt.component&&ee&&ee.outlet&&ee.outlet.isActivated?De.canDeactivateChecks.push(new Qn(ee.outlet.component,lt)):De.canDeactivateChecks.push(new Qn(null,lt))}function mi(Ie){return"function"==typeof Ie}function Et(Ie){return Ie instanceof l.K||"EmptyError"===Ie?.name}const ge=Symbol("INITIAL_VALUE");function pt(){return(0,Z.w)(Ie=>(0,D.a)(Ie.map(ee=>ee.pipe((0,q.q)(1),(0,te.O)(ge)))).pipe((0,V.U)(ee=>{for(const De of ee)if(!0!==De){if(De===ge)return ge;if(!1===De||De instanceof Be)return De}return!0}),(0,ne.h)(ee=>ee!==ge),(0,q.q)(1)))}function Xt(Ie,ee){return(0,le.z)(De=>{const{targetSnapshot:tt,currentSnapshot:lt,guards:{canActivateChecks:yt,canDeactivateChecks:Yt}}=De;return 0===Yt.length&&0===yt.length?(0,_.of)({...De,guardsResult:!0}):function Ni(Ie,ee,De,tt){return(0,t.D)(Ie).pipe((0,le.z)(lt=>function Pc(Ie,ee,De,tt,lt){const yt=ee&&ee.routeConfig?ee.routeConfig.canDeactivate:null;if(!yt||0===yt.length)return(0,_.of)(!0);const Yt=yt.map(yi=>{const Ii=mr(ee)??lt,zi=Mr(yi,Ii);return Ee(function wn(Ie){return Ie&&mi(Ie.canDeactivate)}(zi)?zi.canDeactivate(Ie,ee,De,tt):Ii.runInContext(()=>zi(Ie,ee,De,tt))).pipe((0,re.P)())});return(0,_.of)(Yt).pipe(pt())}(lt.component,lt.route,De,ee,tt)),(0,re.P)(lt=>!0!==lt,!0))}(Yt,tt,lt,Ie).pipe((0,le.z)(yi=>yi&&function Qe(Ie){return"boolean"==typeof Ie}(yi)?function An(Ie,ee,De,tt){return(0,t.D)(ee).pipe((0,_e.b)(lt=>(0,d.z)(function bo(Ie,ee){return null!==Ie&&ee&&ee(new Ot(Ie)),(0,_.of)(!0)}(lt.route.parent,tt),function rr(Ie,ee){return null!==Ie&&ee&&ee(new ui(Ie)),(0,_.of)(!0)}(lt.route,tt),function $o(Ie,ee,De){const tt=ee[ee.length-1],yt=ee.slice(0,ee.length-1).reverse().map(Yt=>function ar(Ie){const ee=Ie.routeConfig?Ie.routeConfig.canActivateChild:null;return ee&&0!==ee.length?{node:Ie,guards:ee}:null}(Yt)).filter(Yt=>null!==Yt).map(Yt=>(0,P.P)(()=>{const yi=Yt.guards.map(Ii=>{const zi=mr(Yt.node)??De,dn=Mr(Ii,zi);return Ee(function Ki(Ie){return Ie&&mi(Ie.canActivateChild)}(dn)?dn.canActivateChild(tt,Ie):zi.runInContext(()=>dn(tt,Ie))).pipe((0,re.P)())});return(0,_.of)(yi).pipe(pt())}));return(0,_.of)(yt).pipe(pt())}(Ie,lt.path,De),function Ss(Ie,ee,De){const tt=ee.routeConfig?ee.routeConfig.canActivate:null;if(!tt||0===tt.length)return(0,_.of)(!0);const lt=tt.map(yt=>(0,P.P)(()=>{const Yt=mr(ee)??De,yi=Mr(yt,Yt);return Ee(function xi(Ie){return Ie&&mi(Ie.canActivate)}(yi)?yi.canActivate(ee,Ie):Yt.runInContext(()=>yi(ee,Ie))).pipe((0,re.P)())}));return(0,_.of)(lt).pipe(pt())}(Ie,lt.route,De))),(0,re.P)(lt=>!0!==lt,!0))}(tt,yt,Ie,ee):(0,_.of)(yi)),(0,V.U)(yi=>({...De,guardsResult:yi})))})}function ps(Ie,ee,De,tt){const lt=ee.canLoad;if(void 0===lt||0===lt.length)return(0,_.of)(!0);const yt=lt.map(Yt=>{const yi=Mr(Yt,Ie);return Ee(function Dt(Ie){return Ie&&mi(Ie.canLoad)}(yi)?yi.canLoad(ee,De):Ie.runInContext(()=>yi(ee,De)))});return(0,_.of)(yt).pipe(pt(),Fi(tt))}function Fi(Ie){return(0,p.z)((0,he.b)(ee=>{if(Ae(ee))throw jr(0,ee)}),(0,V.U)(ee=>!0===ee))}function zn(Ie,ee,De,tt){const lt=ee.canMatch;if(!lt||0===lt.length)return(0,_.of)(!0);const yt=lt.map(Yt=>{const yi=Mr(Yt,Ie);return Ee(function Qi(Ie){return Ie&&mi(Ie.canMatch)}(yi)?yi.canMatch(ee,De):Ie.runInContext(()=>yi(ee,De)))});return(0,_.of)(yt).pipe(pt(),Fi())}const es={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function or(Ie,ee,De,tt,lt){const yt=La(Ie,ee,De);return yt.matched?zn(tt=$a(ee,tt),ee,De).pipe((0,V.U)(Yt=>!0===Yt?yt:{...es})):(0,_.of)(yt)}function La(Ie,ee,De){if(""===ee.path)return"full"===ee.pathMatch&&(Ie.hasChildren()||De.length>0)?{...es}:{matched:!0,consumedSegments:[],remainingSegments:De,parameters:{},positionalParamSegments:{}};const lt=(ee.matcher||$e)(De,Ie,ee);if(!lt)return{...es};const yt={};He(lt.posParams,(yi,Ii)=>{yt[Ii]=yi.path});const Yt=lt.consumed.length>0?{...yt,...lt.consumed[lt.consumed.length-1].parameters}:yt;return{matched:!0,consumedSegments:lt.consumed,remainingSegments:De.slice(lt.consumed.length),parameters:Yt,positionalParamSegments:lt.posParams??{}}}function zr(Ie,ee,De,tt){if(De.length>0&&function $n(Ie,ee,De){return De.some(tt=>yo(Ie,ee,tt)&&oa(tt)!==Q)}(Ie,De,tt)){const yt=new nt(ee,function Oa(Ie,ee,De,tt){const lt={};lt[Q]=tt,tt._sourceSegment=Ie,tt._segmentIndexShift=ee.length;for(const yt of De)if(""===yt.path&&oa(yt)!==Q){const Yt=new nt([],{});Yt._sourceSegment=Ie,Yt._segmentIndexShift=ee.length,lt[oa(yt)]=Yt}return lt}(Ie,ee,tt,new nt(De,Ie.children)));return yt._sourceSegment=Ie,yt._segmentIndexShift=ee.length,{segmentGroup:yt,slicedSegments:[]}}if(0===De.length&&function Ui(Ie,ee,De){return De.some(tt=>yo(Ie,ee,tt))}(Ie,De,tt)){const yt=new nt(Ie.segments,function fs(Ie,ee,De,tt,lt){const yt={};for(const Yt of tt)if(yo(Ie,De,Yt)&&!lt[oa(Yt)]){const yi=new nt([],{});yi._sourceSegment=Ie,yi._segmentIndexShift=ee.length,yt[oa(Yt)]=yi}return{...lt,...yt}}(Ie,ee,De,tt,Ie.children));return yt._sourceSegment=Ie,yt._segmentIndexShift=ee.length,{segmentGroup:yt,slicedSegments:De}}const lt=new nt(Ie.segments,Ie.children);return lt._sourceSegment=Ie,lt._segmentIndexShift=ee.length,{segmentGroup:lt,slicedSegments:De}}function yo(Ie,ee,De){return(!(Ie.hasChildren()||ee.length>0)||"full"!==De.pathMatch)&&""===De.path}function dc(Ie,ee,De,tt){return!!(oa(Ie)===tt||tt!==Q&&yo(ee,De,Ie))&&("**"===Ie.path||La(ee,Ie,De).matched)}function qi(Ie,ee,De){return 0===ee.length&&!Ie.children[De]}const Vo=!1;class Fa{constructor(ee){this.segmentGroup=ee||null}}class co{constructor(ee){this.urlTree=ee}}function Wo(Ie){return(0,L._)(new Fa(Ie))}function ts(Ie){return(0,L._)(new co(Ie))}class Wl{constructor(ee,De,tt,lt,yt){this.injector=ee,this.configLoader=De,this.urlSerializer=tt,this.urlTree=lt,this.config=yt,this.allowRedirects=!0}apply(){const ee=zr(this.urlTree.root,[],[],this.config).segmentGroup,De=new nt(ee.segments,ee.children);return this.expandSegmentGroup(this.injector,this.config,De,Q).pipe((0,V.U)(yt=>this.createUrlTree(Lt(yt),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,ae.K)(yt=>{if(yt instanceof co)return this.allowRedirects=!1,this.match(yt.urlTree);throw yt instanceof Fa?this.noMatchError(yt):yt}))}match(ee){return this.expandSegmentGroup(this.injector,this.config,ee.root,Q).pipe((0,V.U)(lt=>this.createUrlTree(Lt(lt),ee.queryParams,ee.fragment))).pipe((0,ae.K)(lt=>{throw lt instanceof Fa?this.noMatchError(lt):lt}))}noMatchError(ee){return new e.vHH(4002,Vo)}createUrlTree(ee,De,tt){const lt=Pt(ee);return new Be(lt,De,tt)}expandSegmentGroup(ee,De,tt,lt){return 0===tt.segments.length&&tt.hasChildren()?this.expandChildren(ee,De,tt).pipe((0,V.U)(yt=>new nt([],yt))):this.expandSegment(ee,tt,De,tt.segments,lt,!0)}expandChildren(ee,De,tt){const lt=[];for(const yt of Object.keys(tt.children))"primary"===yt?lt.unshift(yt):lt.push(yt);return(0,t.D)(lt).pipe((0,_e.b)(yt=>{const Yt=tt.children[yt],yi=Cr(De,yt);return this.expandSegmentGroup(ee,yi,Yt,yt).pipe((0,V.U)(Ii=>({segment:Ii,outlet:yt})))}),(0,ve.R)((yt,Yt)=>(yt[Yt.outlet]=Yt.segment,yt),{}),A())}expandSegment(ee,De,tt,lt,yt,Yt){return(0,t.D)(tt).pipe((0,_e.b)(yi=>this.expandSegmentAgainstRoute(ee,De,tt,yi,lt,yt,Yt).pipe((0,ae.K)(zi=>{if(zi instanceof Fa)return(0,_.of)(null);throw zi}))),(0,re.P)(yi=>!!yi),(0,ae.K)((yi,Ii)=>{if(Et(yi))return qi(De,lt,yt)?(0,_.of)(new nt([],{})):Wo(De);throw yi}))}expandSegmentAgainstRoute(ee,De,tt,lt,yt,Yt,yi){return dc(lt,De,yt,Yt)?void 0===lt.redirectTo?this.matchSegmentAgainstRoute(ee,De,lt,yt,Yt):yi&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(ee,De,tt,lt,yt,Yt):Wo(De):Wo(De)}expandSegmentAgainstRouteUsingRedirect(ee,De,tt,lt,yt,Yt){return"**"===lt.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(ee,tt,lt,Yt):this.expandRegularSegmentAgainstRouteUsingRedirect(ee,De,tt,lt,yt,Yt)}expandWildCardWithParamsAgainstRouteUsingRedirect(ee,De,tt,lt){const yt=this.applyRedirectCommands([],tt.redirectTo,{});return tt.redirectTo.startsWith("/")?ts(yt):this.lineralizeSegments(tt,yt).pipe((0,le.z)(Yt=>{const yi=new nt(Yt,{});return this.expandSegment(ee,yi,De,Yt,lt,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(ee,De,tt,lt,yt,Yt){const{matched:yi,consumedSegments:Ii,remainingSegments:zi,positionalParamSegments:dn}=La(De,lt,yt);if(!yi)return Wo(De);const ta=this.applyRedirectCommands(Ii,lt.redirectTo,dn);return lt.redirectTo.startsWith("/")?ts(ta):this.lineralizeSegments(lt,ta).pipe((0,le.z)(ya=>this.expandSegment(ee,De,tt,ya.concat(zi),Yt,!1)))}matchSegmentAgainstRoute(ee,De,tt,lt,yt){return"**"===tt.path?(ee=$a(tt,ee),tt.loadChildren?(tt._loadedRoutes?(0,_.of)({routes:tt._loadedRoutes,injector:tt._loadedInjector}):this.configLoader.loadChildren(ee,tt)).pipe((0,V.U)(yi=>(tt._loadedRoutes=yi.routes,tt._loadedInjector=yi.injector,new nt(lt,{})))):(0,_.of)(new nt(lt,{}))):or(De,tt,lt,ee,this.urlSerializer).pipe((0,Z.w)(({matched:Yt,consumedSegments:yi,remainingSegments:Ii})=>Yt?(ee=tt._injector??ee,this.getChildConfig(ee,tt,lt).pipe((0,le.z)(dn=>{const ta=dn.injector??ee,ya=dn.routes,{segmentGroup:Fn,slicedSegments:Ur}=zr(De,yi,Ii,ya),os=new nt(Fn.segments,Fn.children);if(0===Ur.length&&os.hasChildren())return this.expandChildren(ta,ya,os).pipe((0,V.U)(Ns=>new nt(yi,Ns)));if(0===ya.length&&0===Ur.length)return(0,_.of)(new nt(yi,{}));const mo=oa(tt)===yt;return this.expandSegment(ta,os,ya,Ur,mo?Q:yt,!0).pipe((0,V.U)(Eo=>new nt(yi.concat(Eo.segments),Eo.children)))}))):Wo(De)))}getChildConfig(ee,De,tt){return De.children?(0,_.of)({routes:De.children,injector:ee}):De.loadChildren?void 0!==De._loadedRoutes?(0,_.of)({routes:De._loadedRoutes,injector:De._loadedInjector}):ps(ee,De,tt,this.urlSerializer).pipe((0,le.z)(lt=>lt?this.configLoader.loadChildren(ee,De).pipe((0,he.b)(yt=>{De._loadedRoutes=yt.routes,De._loadedInjector=yt.injector})):function ks(Ie){return(0,L._)(Na(Vo,3))}())):(0,_.of)({routes:[],injector:ee})}lineralizeSegments(ee,De){let tt=[],lt=De.root;for(;;){if(tt=tt.concat(lt.segments),0===lt.numberOfChildren)return(0,_.of)(tt);if(lt.numberOfChildren>1||!lt.children[Q])return ee.redirectTo,(0,L._)(new e.vHH(4e3,Vo));lt=lt.children[Q]}}applyRedirectCommands(ee,De,tt){return this.applyRedirectCreateUrlTree(De,this.urlSerializer.parse(De),ee,tt)}applyRedirectCreateUrlTree(ee,De,tt,lt){const yt=this.createSegmentGroup(ee,De.root,tt,lt);return new Be(yt,this.createQueryParams(De.queryParams,this.urlTree.queryParams),De.fragment)}createQueryParams(ee,De){const tt={};return He(ee,(lt,yt)=>{if("string"==typeof lt&&lt.startsWith(":")){const yi=lt.substring(1);tt[yt]=De[yi]}else tt[yt]=lt}),tt}createSegmentGroup(ee,De,tt,lt){const yt=this.createSegments(ee,De.segments,tt,lt);let Yt={};return He(De.children,(yi,Ii)=>{Yt[Ii]=this.createSegmentGroup(ee,yi,tt,lt)}),new nt(yt,Yt)}createSegments(ee,De,tt,lt){return De.map(yt=>yt.path.startsWith(":")?this.findPosParam(ee,yt,lt):this.findOrReturn(yt,tt))}findPosParam(ee,De,tt){const lt=tt[De.path.substring(1)];if(!lt)throw new e.vHH(4001,Vo);return lt}findOrReturn(ee,De){let tt=0;for(const lt of De){if(lt.path===ee.path)return De.splice(tt),lt;tt++}return ee}}function Kl(Ie,ee,De,tt){return(0,Z.w)(lt=>function Vl(Ie,ee,De,tt,lt){return new Wl(Ie,ee,De,tt,lt).apply()}(Ie,ee,De,lt.extractedUrl,tt).pipe((0,V.U)(yt=>({...lt,urlAfterRedirects:yt}))))}class Gs{}function Ps(Ie,ee,De,tt,lt,yt,Yt="emptyOnly"){return new wr(Ie,ee,De,tt,lt,Yt,yt).recognize().pipe((0,Z.w)(yi=>null===yi?function Ys(Ie){return new M.y(ee=>ee.error(Ie))}(new Gs):(0,_.of)(yi)))}class wr{constructor(ee,De,tt,lt,yt,Yt,yi){this.injector=ee,this.rootComponentType=De,this.config=tt,this.urlTree=lt,this.url=yt,this.paramsInheritanceStrategy=Yt,this.urlSerializer=yi}recognize(){const ee=zr(this.urlTree.root,[],[],this.config.filter(De=>void 0===De.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,ee,Q).pipe((0,V.U)(De=>{if(null===De)return null;const tt=new yr([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Q,this.rootComponentType,null,this.urlTree.root,-1,{}),lt=new ea(tt,De),yt=new wa(this.url,lt);return this.inheritParamsAndData(yt._root),yt}))}inheritParamsAndData(ee){const De=ee.value,tt=qn(De,this.paramsInheritanceStrategy);De.params=Object.freeze(tt.params),De.data=Object.freeze(tt.data),ee.children.forEach(lt=>this.inheritParamsAndData(lt))}processSegmentGroup(ee,De,tt,lt){return 0===tt.segments.length&&tt.hasChildren()?this.processChildren(ee,De,tt):this.processSegment(ee,De,tt,tt.segments,lt)}processChildren(ee,De,tt){return(0,t.D)(Object.keys(tt.children)).pipe((0,_e.b)(lt=>{const yt=tt.children[lt],Yt=Cr(De,lt);return this.processSegmentGroup(ee,Yt,yt,lt)}),(0,ve.R)((lt,yt)=>lt&&yt?(lt.push(...yt),lt):null),(0,R.o)(lt=>null!==lt),(0,h.d)(null),A(),(0,V.U)(lt=>{if(null===lt)return null;const yt=hc(lt);return function Rs(Ie){Ie.sort((ee,De)=>ee.value.outlet===Q?-1:De.value.outlet===Q?1:ee.value.outlet.localeCompare(De.value.outlet))}(yt),yt}))}processSegment(ee,De,tt,lt,yt){return(0,t.D)(De).pipe((0,_e.b)(Yt=>this.processSegmentAgainstRoute(Yt._injector??ee,Yt,tt,lt,yt)),(0,re.P)(Yt=>!!Yt),(0,ae.K)(Yt=>{if(Et(Yt))return qi(tt,lt,yt)?(0,_.of)([]):(0,_.of)(null);throw Yt}))}processSegmentAgainstRoute(ee,De,tt,lt,yt){if(De.redirectTo||!dc(De,tt,lt,yt))return(0,_.of)(null);let Yt;if("**"===De.path){const yi=lt.length>0?ye(lt).parameters:{},Ii=Ro(tt)+lt.length,zi=new yr(lt,yi,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,lo(De),oa(De),De.component??De._loadedComponent??null,De,xo(tt),Ii,Fe(De));Yt=(0,_.of)({snapshot:zi,consumedSegments:[],remainingSegments:[]})}else Yt=or(tt,De,lt,ee,this.urlSerializer).pipe((0,V.U)(({matched:yi,consumedSegments:Ii,remainingSegments:zi,parameters:dn})=>{if(!yi)return null;const ta=Ro(tt)+Ii.length;return{snapshot:new yr(Ii,dn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,lo(De),oa(De),De.component??De._loadedComponent??null,De,xo(tt),ta,Fe(De)),consumedSegments:Ii,remainingSegments:zi}}));return Yt.pipe((0,Z.w)(yi=>{if(null===yi)return(0,_.of)(null);const{snapshot:Ii,consumedSegments:zi,remainingSegments:dn}=yi;ee=De._injector??ee;const ta=De._loadedInjector??ee,ya=function Zs(Ie){return Ie.children?Ie.children:Ie.loadChildren?Ie._loadedRoutes:[]}(De),{segmentGroup:Fn,slicedSegments:Ur}=zr(tt,zi,dn,ya.filter(mo=>void 0===mo.redirectTo));if(0===Ur.length&&Fn.hasChildren())return this.processChildren(ta,ya,Fn).pipe((0,V.U)(mo=>null===mo?null:[new ea(Ii,mo)]));if(0===ya.length&&0===Ur.length)return(0,_.of)([new ea(Ii,[])]);const os=oa(De)===yt;return this.processSegment(ta,ya,Fn,Ur,os?Q:yt).pipe((0,V.U)(mo=>null===mo?null:[new ea(Ii,mo)]))}))}}function hn(Ie){const ee=Ie.value.routeConfig;return ee&&""===ee.path&&void 0===ee.redirectTo}function hc(Ie){const ee=[],De=new Set;for(const tt of Ie){if(!hn(tt)){ee.push(tt);continue}const lt=ee.find(yt=>tt.value.routeConfig===yt.value.routeConfig);void 0!==lt?(lt.children.push(...tt.children),De.add(lt)):ee.push(tt)}for(const tt of De){const lt=hc(tt.children);ee.push(new ea(tt.value,lt))}return ee.filter(tt=>!De.has(tt))}function xo(Ie){let ee=Ie;for(;ee._sourceSegment;)ee=ee._sourceSegment;return ee}function Ro(Ie){let ee=Ie,De=ee._segmentIndexShift??0;for(;ee._sourceSegment;)ee=ee._sourceSegment,De+=ee._segmentIndexShift??0;return De-1}function lo(Ie){return Ie.data||{}}function Fe(Ie){return Ie.resolve||{}}function ht(Ie,ee){return(0,le.z)(De=>{const{targetSnapshot:tt,guards:{canActivateChecks:lt}}=De;if(!lt.length)return(0,_.of)(De);let yt=0;return(0,t.D)(lt).pipe((0,_e.b)(Yt=>function zt(Ie,ee,De,tt){const lt=Ie.routeConfig,yt=Ie._resolve;return void 0!==lt?.title&&!it(lt)&&(yt[Pe]=lt.title),function Gt(Ie,ee,De,tt){const lt=function _i(Ie){return[...Object.keys(Ie),...Object.getOwnPropertySymbols(Ie)]}(Ie);if(0===lt.length)return(0,_.of)({});const yt={};return(0,t.D)(lt).pipe((0,le.z)(Yt=>function Vi(Ie,ee,De,tt){const lt=mr(ee)??tt,yt=Mr(Ie,lt);return Ee(yt.resolve?yt.resolve(ee,De):lt.runInContext(()=>yt(ee,De)))}(Ie[Yt],ee,De,tt).pipe((0,re.P)(),(0,he.b)(yi=>{yt[Yt]=yi}))),o(1),(0,v.h)(yt),(0,ae.K)(Yt=>Et(Yt)?k.E:(0,L._)(Yt)))}(yt,Ie,ee,tt).pipe((0,V.U)(Yt=>(Ie._resolvedData=Yt,Ie.data=qn(Ie,De).resolve,lt&&it(lt)&&(Ie.data[Pe]=lt.title),null)))}(Yt.route,tt,Ie,ee)),(0,he.b)(()=>yt++),o(1),(0,le.z)(Yt=>yt===lt.length?(0,_.of)(De):k.E))})}function it(Ie){return"string"==typeof Ie.title||null===Ie.title}function dt(Ie){return(0,Z.w)(ee=>{const De=Ie(ee);return De?(0,t.D)(De).pipe((0,V.U)(()=>ee)):(0,_.of)(ee)})}const Xe=new e.OlP("ROUTES");class Jt{constructor(ee,De){this.injector=ee,this.compiler=De,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(ee){if(this.componentLoaders.get(ee))return this.componentLoaders.get(ee);if(ee._loadedComponent)return(0,_.of)(ee._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(ee);const De=Ee(ee.loadComponent()).pipe((0,V.U)(ni),(0,he.b)(lt=>{this.onLoadEndListener&&this.onLoadEndListener(ee),ee._loadedComponent=lt}),(0,a.x)(()=>{this.componentLoaders.delete(ee)})),tt=new E.c(De,()=>new z.x).pipe((0,C.x)());return this.componentLoaders.set(ee,tt),tt}loadChildren(ee,De){if(this.childrenLoaders.get(De))return this.childrenLoaders.get(De);if(De._loadedRoutes)return(0,_.of)({routes:De._loadedRoutes,injector:De._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(De);const lt=this.loadModuleFactoryOrRoutes(De.loadChildren).pipe((0,V.U)(Yt=>{this.onLoadEndListener&&this.onLoadEndListener(De);let yi,Ii,zi=!1;Array.isArray(Yt)?(Ii=Yt,zi=!0):(yi=Yt.create(ee).injector,Ii=je(yi.get(Xe,[],e.XFs.Self|e.XFs.Optional)));const dn=Ii.map(xr);return{routes:dn,injector:yi}}),(0,a.x)(()=>{this.childrenLoaders.delete(De)})),yt=new E.c(lt,()=>new z.x).pipe((0,C.x)());return this.childrenLoaders.set(De,yt),yt}loadModuleFactoryOrRoutes(ee){return(this.injector,null)||Ee(ee()).pipe((0,V.U)(ni),(0,le.z)(tt=>tt instanceof e.YKP||Array.isArray(tt)?(0,_.of)(tt):(0,t.D)(this.compiler.compileModuleAsync(tt))))}}function ni(Ie){return function li(Ie){return Ie&&"object"==typeof Ie&&"default"in Ie}(Ie)?Ie.default:Ie}Jt.\u0275fac=function(ee){return new(ee||Jt)(e.LFG(e.zs3),e.LFG(e.Sil))},Jt.\u0275prov=e.Yz7({token:Jt,factory:Jt.\u0275fac,providedIn:"root"});class Ri{constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new z.x,this.configLoader=(0,e.f3M)(Jt),this.environmentInjector=(0,e.f3M)(e.lqb),this.urlSerializer=(0,e.f3M)(ot),this.rootContexts=(0,e.f3M)(Za),this.navigationId=0;this.configLoader.onLoadEndListener=tt=>this.events.next(new br(tt)),this.configLoader.onLoadStartListener=tt=>this.events.next(new Ua(tt))}get hasRequestedNavigation(){return 0!==this.navigationId}complete(){this.transitions?.complete()}handleNavigationRequest(ee){const De=++this.navigationId;this.transitions?.next({...this.transitions.value,...ee,id:De})}setupNavigations(ee){return this.transitions=new S.X({id:0,targetPageId:0,currentUrlTree:ee.currentUrlTree,currentRawUrl:ee.currentUrlTree,extractedUrl:ee.urlHandlingStrategy.extract(ee.currentUrlTree),urlAfterRedirects:ee.urlHandlingStrategy.extract(ee.currentUrlTree),rawUrl:ee.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:ee.routerState.snapshot,targetSnapshot:null,currentRouterState:ee.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,ne.h)(De=>0!==De.id),(0,V.U)(De=>({...De,extractedUrl:ee.urlHandlingStrategy.extract(De.rawUrl)})),(0,Z.w)(De=>{let tt=!1,lt=!1;return(0,_.of)(De).pipe((0,he.b)(yt=>{this.currentNavigation={id:yt.id,initialUrl:yt.rawUrl,extractedUrl:yt.extractedUrl,trigger:yt.source,extras:yt.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,Z.w)(yt=>{const Yt=ee.browserUrlTree.toString(),yi=!ee.navigated||yt.extractedUrl.toString()!==Yt||Yt!==ee.currentUrlTree.toString();if(("reload"===ee.onSameUrlNavigation||yi)&&ee.urlHandlingStrategy.shouldProcessUrl(yt.rawUrl))return tn(yt.source)&&(ee.browserUrlTree=yt.extractedUrl),(0,_.of)(yt).pipe((0,Z.w)(zi=>{const dn=this.transitions?.getValue();return this.events.next(new ci(zi.id,this.urlSerializer.serialize(zi.extractedUrl),zi.source,zi.restoredState)),dn!==this.transitions?.getValue()?k.E:Promise.resolve(zi)}),Kl(this.environmentInjector,this.configLoader,this.urlSerializer,ee.config),(0,he.b)(zi=>{this.currentNavigation={...this.currentNavigation,finalUrl:zi.urlAfterRedirects},De.urlAfterRedirects=zi.urlAfterRedirects}),function ce(Ie,ee,De,tt,lt){return(0,le.z)(yt=>Ps(Ie,ee,De,yt.urlAfterRedirects,tt.serialize(yt.urlAfterRedirects),tt,lt).pipe((0,V.U)(Yt=>({...yt,targetSnapshot:Yt}))))}(this.environmentInjector,ee.rootComponentType,ee.config,this.urlSerializer,ee.paramsInheritanceStrategy),(0,he.b)(zi=>{if(De.targetSnapshot=zi.targetSnapshot,"eager"===ee.urlUpdateStrategy){if(!zi.extras.skipLocationChange){const ta=ee.urlHandlingStrategy.merge(zi.urlAfterRedirects,zi.rawUrl);ee.setBrowserUrl(ta,zi)}ee.browserUrlTree=zi.urlAfterRedirects}const dn=new _n(zi.id,this.urlSerializer.serialize(zi.extractedUrl),this.urlSerializer.serialize(zi.urlAfterRedirects),zi.targetSnapshot);this.events.next(dn)}));if(yi&&ee.rawUrlTree&&ee.urlHandlingStrategy.shouldProcessUrl(ee.rawUrlTree)){const{id:dn,extractedUrl:ta,source:ya,restoredState:Fn,extras:Ur}=yt,os=new ci(dn,this.urlSerializer.serialize(ta),ya,Fn);this.events.next(os);const mo=Ia(ta,ee.rootComponentType).snapshot;return De={...yt,targetSnapshot:mo,urlAfterRedirects:ta,extras:{...Ur,skipLocationChange:!1,replaceUrl:!1}},(0,_.of)(De)}return ee.rawUrlTree=yt.rawUrl,yt.resolve(null),k.E}),(0,he.b)(yt=>{const Yt=new ha(yt.id,this.urlSerializer.serialize(yt.extractedUrl),this.urlSerializer.serialize(yt.urlAfterRedirects),yt.targetSnapshot);this.events.next(Yt)}),(0,V.U)(yt=>De={...yt,guards:Qa(yt.targetSnapshot,yt.currentSnapshot,this.rootContexts)}),Xt(this.environmentInjector,yt=>this.events.next(yt)),(0,he.b)(yt=>{if(De.guardsResult=yt.guardsResult,Ae(yt.guardsResult))throw jr(this.urlSerializer,yt.guardsResult);const Yt=new gn(yt.id,this.urlSerializer.serialize(yt.extractedUrl),this.urlSerializer.serialize(yt.urlAfterRedirects),yt.targetSnapshot,!!yt.guardsResult);this.events.next(Yt)}),(0,ne.h)(yt=>!!yt.guardsResult||(ee.restoreHistory(yt),this.cancelNavigationTransition(yt,"",3,ee),!1)),dt(yt=>{if(yt.guards.canActivateChecks.length)return(0,_.of)(yt).pipe((0,he.b)(Yt=>{const yi=new Zn(Yt.id,this.urlSerializer.serialize(Yt.extractedUrl),this.urlSerializer.serialize(Yt.urlAfterRedirects),Yt.targetSnapshot);this.events.next(yi)}),(0,Z.w)(Yt=>{let yi=!1;return(0,_.of)(Yt).pipe(ht(ee.paramsInheritanceStrategy,this.environmentInjector),(0,he.b)({next:()=>yi=!0,complete:()=>{yi||(ee.restoreHistory(Yt),this.cancelNavigationTransition(Yt,"",2,ee))}}))}),(0,he.b)(Yt=>{const yi=new Kn(Yt.id,this.urlSerializer.serialize(Yt.extractedUrl),this.urlSerializer.serialize(Yt.urlAfterRedirects),Yt.targetSnapshot);this.events.next(yi)}))}),dt(yt=>{const Yt=yi=>{const Ii=[];yi.routeConfig?.loadComponent&&!yi.routeConfig._loadedComponent&&Ii.push(this.configLoader.loadComponent(yi.routeConfig).pipe((0,he.b)(zi=>{yi.component=zi}),(0,V.U)(()=>{})));for(const zi of yi.children)Ii.push(...Yt(zi));return Ii};return(0,D.a)(Yt(yt.targetSnapshot.root)).pipe((0,h.d)(),(0,q.q)(1))}),dt(()=>ee.afterPreactivation()),(0,V.U)(yt=>{const Yt=function us(Ie,ee,De){const tt=Ba(Ie,ee._root,De?De._root:void 0);return new Jn(tt,ee)}(ee.routeReuseStrategy,yt.targetSnapshot,yt.currentRouterState);return De={...yt,targetRouterState:Yt}}),(0,he.b)(yt=>{ee.currentUrlTree=yt.urlAfterRedirects,ee.rawUrlTree=ee.urlHandlingStrategy.merge(yt.urlAfterRedirects,yt.rawUrl),ee.routerState=yt.targetRouterState,"deferred"===ee.urlUpdateStrategy&&(yt.extras.skipLocationChange||ee.setBrowserUrl(ee.rawUrlTree,yt),ee.browserUrlTree=yt.urlAfterRedirects)}),((Ie,ee,De)=>(0,V.U)(tt=>(new Er(ee,tt.targetRouterState,tt.currentRouterState,De).activate(Ie),tt)))(this.rootContexts,ee.routeReuseStrategy,yt=>this.events.next(yt)),(0,he.b)({next:yt=>{tt=!0,this.lastSuccessfulNavigation=this.currentNavigation,ee.navigated=!0,this.events.next(new ii(yt.id,this.urlSerializer.serialize(yt.extractedUrl),this.urlSerializer.serialize(ee.currentUrlTree))),ee.titleStrategy?.updateTitle(yt.targetRouterState.snapshot),yt.resolve(!0)},complete:()=>{tt=!0}}),(0,a.x)(()=>{if(!tt&&!lt){const yt="";this.cancelNavigationTransition(De,yt,1,ee)}this.currentNavigation?.id===De.id&&(this.currentNavigation=null)}),(0,ae.K)(yt=>{if(lt=!0,Ja(yt)){Oo(yt)||(ee.navigated=!0,ee.restoreHistory(De,!0));const Yt=new bi(De.id,this.urlSerializer.serialize(De.extractedUrl),yt.message,yt.cancellationCode);if(this.events.next(Yt),Oo(yt)){const yi=ee.urlHandlingStrategy.merge(yt.url,ee.rawUrlTree),Ii={skipLocationChange:De.extras.skipLocationChange,replaceUrl:"eager"===ee.urlUpdateStrategy||tn(De.source)};ee.scheduleNavigation(yi,"imperative",null,Ii,{resolve:De.resolve,reject:De.reject,promise:De.promise})}else De.resolve(!1)}else{ee.restoreHistory(De,!0);const Yt=new Yi(De.id,this.urlSerializer.serialize(De.extractedUrl),yt,De.targetSnapshot??void 0);this.events.next(Yt);try{De.resolve(ee.errorHandler(yt))}catch(yi){De.reject(yi)}}return k.E}))}))}cancelNavigationTransition(ee,De,tt,lt){const yt=new bi(ee.id,this.urlSerializer.serialize(ee.extractedUrl),De,tt);this.events.next(yt),ee.resolve(!1)}}function tn(Ie){return"imperative"!==Ie}Ri.\u0275fac=function(ee){return new(ee||Ri)},Ri.\u0275prov=e.Yz7({token:Ri,factory:Ri.\u0275fac,providedIn:"root"});class sn{buildTitle(ee){let De,tt=ee.root;for(;void 0!==tt;)De=this.getResolvedTitleForRoute(tt)??De,tt=tt.children.find(lt=>lt.outlet===Q);return De}getResolvedTitleForRoute(ee){return ee.data[Pe]}}sn.\u0275fac=function(ee){return new(ee||sn)},sn.\u0275prov=e.Yz7({token:sn,factory:function(){return(0,e.f3M)(Cn)},providedIn:"root"});class Cn extends sn{constructor(ee){super(),this.title=ee}updateTitle(ee){const De=this.buildTitle(ee);void 0!==De&&this.title.setTitle(De)}}Cn.\u0275fac=function(ee){return new(ee||Cn)(e.LFG(N.Dx))},Cn.\u0275prov=e.Yz7({token:Cn,factory:Cn.\u0275fac,providedIn:"root"});class On{}On.\u0275fac=function(ee){return new(ee||On)},On.\u0275prov=e.Yz7({token:On,factory:function(){return(0,e.f3M)(Dr)},providedIn:"root"});class pr{shouldDetach(ee){return!1}store(ee,De){}shouldAttach(ee){return!1}retrieve(ee){return null}shouldReuseRoute(ee,De){return ee.routeConfig===De.routeConfig}}class Dr extends pr{}Dr.\u0275fac=function(){let Ie;return function(De){return(Ie||(Ie=e.n5z(Dr)))(De||Dr)}}(),Dr.\u0275prov=e.Yz7({token:Dr,factory:Dr.\u0275fac,providedIn:"root"});const Tr=new e.OlP("",{providedIn:"root",factory:()=>({})});class za{}za.\u0275fac=function(ee){return new(ee||za)},za.\u0275prov=e.Yz7({token:za,factory:function(){return(0,e.f3M)(ba)},providedIn:"root"});class ba{shouldProcessUrl(ee){return!0}extract(ee){return ee}merge(ee,De){return ee}}ba.\u0275fac=function(ee){return new(ee||ba)},ba.\u0275prov=e.Yz7({token:ba,factory:ba.\u0275fac,providedIn:"root"});function Sa(Ie){throw Ie}function _s(Ie,ee,De){return ee.parse("/")}const Ar={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Co={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function uc(){const Ie=(0,e.f3M)(ot),ee=(0,e.f3M)(Za),De=(0,e.f3M)(I.Ye),tt=(0,e.f3M)(e.zs3),lt=(0,e.f3M)(e.Sil),yt=(0,e.f3M)(Xe,{optional:!0})??[],Yt=(0,e.f3M)(Tr,{optional:!0})??{},yi=new Ir(null,Ie,ee,De,tt,lt,je(yt));return function gs(Ie,ee){Ie.errorHandler&&(ee.errorHandler=Ie.errorHandler),Ie.malformedUriErrorHandler&&(ee.malformedUriErrorHandler=Ie.malformedUriErrorHandler),Ie.onSameUrlNavigation&&(ee.onSameUrlNavigation=Ie.onSameUrlNavigation),Ie.paramsInheritanceStrategy&&(ee.paramsInheritanceStrategy=Ie.paramsInheritanceStrategy),Ie.urlUpdateStrategy&&(ee.urlUpdateStrategy=Ie.urlUpdateStrategy),Ie.canceledNavigationResolution&&(ee.canceledNavigationResolution=Ie.canceledNavigationResolution)}(Yt,yi),yi}class Ir{constructor(ee,De,tt,lt,yt,Yt,yi){this.rootComponentType=ee,this.urlSerializer=De,this.rootContexts=tt,this.location=lt,this.config=yi,this.disposed=!1,this.currentPageId=0,this.isNgZoneEnabled=!1,this.errorHandler=Sa,this.malformedUriErrorHandler=_s,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>(0,_.of)(void 0),this.urlHandlingStrategy=(0,e.f3M)(za),this.routeReuseStrategy=(0,e.f3M)(On),this.titleStrategy=(0,e.f3M)(sn),this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.canceledNavigationResolution="replace",this.navigationTransitions=(0,e.f3M)(Ri),this.console=yt.get(e.c2e);const Ii=yt.get(e.R0b);this.isNgZoneEnabled=Ii instanceof e.R0b&&e.R0b.isInAngularZone(),this.resetConfig(yi),this.currentUrlTree=new Be,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Ia(this.currentUrlTree,this.rootComponentType),this.navigationTransitions.setupNavigations(this).subscribe(zi=>{this.lastSuccessfulId=zi.id,this.currentPageId=zi.targetPageId},zi=>{this.console.warn(`Unhandled Navigation Error: ${zi}`)})}get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}resetRootComponentType(ee){this.rootComponentType=ee,this.routerState.root.component=this.rootComponentType}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(ee=>{const De="popstate"===ee.type?"popstate":"hashchange";"popstate"===De&&setTimeout(()=>{const tt={replaceUrl:!0},lt=ee.state?.navigationId?ee.state:null;if(ee.state){const Yt={...ee.state};delete Yt.navigationId,delete Yt.\u0275routerPageId,0!==Object.keys(Yt).length&&(tt.state=Yt)}const yt=this.parseUrl(ee.url);this.scheduleNavigation(yt,De,lt,tt)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(ee){this.config=ee.map(xr),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(ee,De={}){const{relativeTo:tt,queryParams:lt,fragment:yt,queryParamsHandling:Yt,preserveFragment:yi}=De,Ii=tt||this.routerState.root,zi=yi?this.currentUrlTree.fragment:yt;let dn=null;switch(Yt){case"merge":dn={...this.currentUrlTree.queryParams,...lt};break;case"preserve":dn=this.currentUrlTree.queryParams;break;default:dn=lt||null}return null!==dn&&(dn=this.removeEmptyProps(dn)),Oi(Ii,this.currentUrlTree,ee,dn,zi??null)}navigateByUrl(ee,De={skipLocationChange:!1}){const tt=Ae(ee)?ee:this.parseUrl(ee),lt=this.urlHandlingStrategy.merge(tt,this.rawUrlTree);return this.scheduleNavigation(lt,"imperative",null,De)}navigate(ee,De={skipLocationChange:!1}){return function cl(Ie){for(let ee=0;ee<Ie.length;ee++){const De=Ie[ee];if(null==De)throw new e.vHH(4008,false)}}(ee),this.navigateByUrl(this.createUrlTree(ee,De),De)}serializeUrl(ee){return this.urlSerializer.serialize(ee)}parseUrl(ee){let De;try{De=this.urlSerializer.parse(ee)}catch(tt){De=this.malformedUriErrorHandler(tt,this.urlSerializer,ee)}return De}isActive(ee,De){let tt;if(tt=!0===De?{...Ar}:!1===De?{...Co}:De,Ae(ee))return ie(this.currentUrlTree,ee,tt);const lt=this.parseUrl(ee);return ie(this.currentUrlTree,lt,tt)}removeEmptyProps(ee){return Object.keys(ee).reduce((De,tt)=>{const lt=ee[tt];return null!=lt&&(De[tt]=lt),De},{})}scheduleNavigation(ee,De,tt,lt,yt){if(this.disposed)return Promise.resolve(!1);let Yt,yi,Ii,zi;return yt?(Yt=yt.resolve,yi=yt.reject,Ii=yt.promise):Ii=new Promise((dn,ta)=>{Yt=dn,yi=ta}),"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(tt=this.location.getState()),zi=tt&&tt.\u0275routerPageId?tt.\u0275routerPageId:lt.replaceUrl||lt.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):zi=0,this.navigationTransitions.handleNavigationRequest({targetPageId:zi,source:De,restoredState:tt,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:ee,extras:lt,resolve:Yt,reject:yi,promise:Ii,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Ii.catch(dn=>Promise.reject(dn))}setBrowserUrl(ee,De){const tt=this.urlSerializer.serialize(ee),lt={...De.extras.state,...this.generateNgRouterState(De.id,De.targetPageId)};this.location.isCurrentPathEqualTo(tt)||De.extras.replaceUrl?this.location.replaceState(tt,"",lt):this.location.go(tt,"",lt)}restoreHistory(ee,De=!1){if("computed"===this.canceledNavigationResolution){const tt=this.currentPageId-ee.targetPageId;"popstate"!==ee.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.getCurrentNavigation()?.finalUrl||0===tt?this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===tt&&(this.resetState(ee),this.browserUrlTree=ee.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(tt)}else"replace"===this.canceledNavigationResolution&&(De&&this.resetState(ee),this.resetUrlToCurrentUrlTree())}resetState(ee){this.routerState=ee.currentRouterState,this.currentUrlTree=ee.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,ee.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(ee,De){return"computed"===this.canceledNavigationResolution?{navigationId:ee,\u0275routerPageId:De}:{navigationId:ee}}}Ir.\u0275fac=function(ee){e.$Z()},Ir.\u0275prov=e.Yz7({token:Ir,factory:function(){return uc()},providedIn:"root"});class mc{constructor(ee,De,tt,lt,yt,Yt){this.router=ee,this.route=De,this.tabIndexAttribute=tt,this.renderer=lt,this.el=yt,this.locationStrategy=Yt,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new z.x;const yi=yt.nativeElement.tagName;this.isAnchorElement="A"===yi||"AREA"===yi,this.isAnchorElement?this.subscription=ee.events.subscribe(Ii=>{Ii instanceof ii&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(ee){this._preserveFragment=(0,e.D6c)(ee)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(ee){this._skipLocationChange=(0,e.D6c)(ee)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(ee){this._replaceUrl=(0,e.D6c)(ee)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(ee){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",ee)}ngOnChanges(ee){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(ee){null!=ee?(this.commands=Array.isArray(ee)?ee:[ee],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(ee,De,tt,lt,yt){if(null===this.urlTree||this.isAnchorElement&&(0!==ee||De||tt||lt||yt||"string"==typeof this.target&&"_self"!=this.target))return!0;const Yt={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state};return this.router.navigateByUrl(this.urlTree,Yt),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const ee=null===this.href?null:(0,e.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",ee)}applyAttributeValue(ee,De){const tt=this.renderer,lt=this.el.nativeElement;null!==De?tt.setAttribute(lt,ee,De):tt.removeAttribute(lt,ee)}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})}}mc.\u0275fac=function(ee){return new(ee||mc)(e.Y36(Ir),e.Y36(Pa),e.$8M("tabindex"),e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(I.S$))},mc.\u0275dir=e.lG2({type:mc,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(ee,De){1&ee&&e.NdJ("click",function(lt){return De.onClick(lt.button,lt.ctrlKey,lt.shiftKey,lt.altKey,lt.metaKey)}),2&ee&&e.uIk("target",De.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[e.TTD]});class pc{constructor(ee,De,tt,lt,yt){this.router=ee,this.element=De,this.renderer=tt,this.cdr=lt,this.link=yt,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new e.vpe,this.routerEventsSubscription=ee.events.subscribe(Yt=>{Yt instanceof ii&&this.update()})}ngAfterContentInit(){(0,_.of)(this.links.changes,(0,_.of)(null)).pipe((0,U.J)()).subscribe(ee=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const ee=[...this.links.toArray(),this.link].filter(De=>!!De).map(De=>De.onChanges);this.linkInputChangesSubscription=(0,t.D)(ee).pipe((0,U.J)()).subscribe(De=>{this.isActive!==this.isLinkActive(this.router)(De)&&this.update()})}set routerLinkActive(ee){const De=Array.isArray(ee)?ee:ee.split(" ");this.classes=De.filter(tt=>!!tt)}ngOnChanges(ee){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||Promise.resolve().then(()=>{const ee=this.hasActiveLinks();this.isActive!==ee&&(this.isActive=ee,this.cdr.markForCheck(),this.classes.forEach(De=>{ee?this.renderer.addClass(this.element.nativeElement,De):this.renderer.removeClass(this.element.nativeElement,De)}),ee&&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(ee))})}isLinkActive(ee){const De=function O1(Ie){return!!Ie.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return tt=>!!tt.urlTree&&ee.isActive(tt.urlTree,De)}hasActiveLinks(){const ee=this.isLinkActive(this.router);return this.link&&ee(this.link)||this.links.some(ee)}}pc.\u0275fac=function(ee){return new(ee||pc)(e.Y36(Ir),e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(e.sBO),e.Y36(mc,8))},pc.\u0275dir=e.lG2({type:pc,selectors:[["","routerLinkActive",""]],contentQueries:function(ee,De,tt){if(1&ee&&e.Suo(tt,mc,5),2&ee){let lt;e.iGM(lt=e.CRH())&&(De.links=lt)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[e.TTD]});class Od{}class sr{preload(ee,De){return De().pipe((0,ae.K)(()=>(0,_.of)(null)))}}sr.\u0275fac=function(ee){return new(ee||sr)},sr.\u0275prov=e.Yz7({token:sr,factory:sr.\u0275fac,providedIn:"root"});class fc{preload(ee,De){return(0,_.of)(null)}}fc.\u0275fac=function(ee){return new(ee||fc)},fc.\u0275prov=e.Yz7({token:fc,factory:fc.\u0275fac,providedIn:"root"});class Es{constructor(ee,De,tt,lt,yt){this.router=ee,this.injector=tt,this.preloadingStrategy=lt,this.loader=yt}setUpPreloading(){this.subscription=this.router.events.pipe((0,ne.h)(ee=>ee instanceof ii),(0,_e.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(ee,De){const tt=[];for(const lt of De){lt.providers&&!lt._injector&&(lt._injector=(0,e.MMx)(lt.providers,ee,`Route: ${lt.path}`));const yt=lt._injector??ee,Yt=lt._loadedInjector??yt;lt.loadChildren&&!lt._loadedRoutes&&void 0===lt.canLoad||lt.loadComponent&&!lt._loadedComponent?tt.push(this.preloadConfig(yt,lt)):(lt.children||lt._loadedRoutes)&&tt.push(this.processRoutes(Yt,lt.children??lt._loadedRoutes))}return(0,t.D)(tt).pipe((0,U.J)())}preloadConfig(ee,De){return this.preloadingStrategy.preload(De,()=>{let tt;tt=De.loadChildren&&void 0===De.canLoad?this.loader.loadChildren(ee,De):(0,_.of)(null);const lt=tt.pipe((0,le.z)(yt=>null===yt?(0,_.of)(void 0):(De._loadedRoutes=yt.routes,De._loadedInjector=yt.injector,this.processRoutes(yt.injector??ee,yt.routes))));if(De.loadComponent&&!De._loadedComponent){const yt=this.loader.loadComponent(De);return(0,t.D)([lt,yt]).pipe((0,U.J)())}return lt})}}Es.\u0275fac=function(ee){return new(ee||Es)(e.LFG(Ir),e.LFG(e.Sil),e.LFG(e.lqb),e.LFG(Od),e.LFG(Jt))},Es.\u0275prov=e.Yz7({token:Es,factory:Es.\u0275fac,providedIn:"root"});const vs=new e.OlP("");class Bc{constructor(ee,De,tt,lt,yt={}){this.urlSerializer=ee,this.transitions=De,this.viewportScroller=tt,this.zone=lt,this.options=yt,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},yt.scrollPositionRestoration=yt.scrollPositionRestoration||"disabled",yt.anchorScrolling=yt.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(ee=>{ee instanceof ci?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=ee.navigationTrigger,this.restoredId=ee.restoredState?ee.restoredState.navigationId:0):ee instanceof ii&&(this.lastId=ee.id,this.scheduleScrollEvent(ee,this.urlSerializer.parse(ee.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(ee=>{ee instanceof $i&&(ee.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(ee.position):ee.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(ee.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(ee,De){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new $i(ee,"popstate"===this.lastSource?this.store[this.restoredId]:null,De))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}Bc.\u0275fac=function(ee){e.$Z()},Bc.\u0275prov=e.Yz7({token:Bc,factory:Bc.\u0275fac});function kd(Ie){return Ie.routerState.root}function gc(Ie,ee){return{\u0275kind:Ie,\u0275providers:ee}}const ll=new e.OlP("",{providedIn:"root",factory:()=>!1});e.Xts;function ns(){const Ie=(0,e.f3M)(e.zs3);return ee=>{const De=Ie.get(e.z2F);if(ee!==De.components[0])return;const tt=Ie.get(Ir),lt=Ie.get(vc);1===Ie.get(dl)&&tt.initialNavigation(),Ie.get(Ms,null,e.XFs.Optional)?.setUpPreloading(),Ie.get(vs,null,e.XFs.Optional)?.init(),tt.resetRootComponentType(De.componentTypes[0]),lt.closed||(lt.next(),lt.unsubscribe())}}const vc=new e.OlP("",{factory:()=>new z.x}),dl=new e.OlP("",{providedIn:"root",factory:()=>1});function Rd(){return gc(2,[{provide:dl,useValue:0},{provide:e.ip1,multi:!0,deps:[e.zs3],useFactory:ee=>{const De=ee.get(I.V_,Promise.resolve());return()=>De.then(()=>new Promise(lt=>{const yt=ee.get(Ir),Yt=ee.get(vc);(function tt(lt){ee.get(Ir).events.pipe((0,ne.h)(Yt=>Yt instanceof ii||Yt instanceof bi||Yt instanceof Yi),(0,V.U)(Yt=>Yt instanceof ii||Yt instanceof bi&&(0===Yt.code||1===Yt.code)&&null),(0,ne.h)(Yt=>null!==Yt),(0,q.q)(1)).subscribe(()=>{lt()})})(()=>{lt(!0)}),yt.afterPreactivation=()=>(lt(!0),Yt.closed?(0,_.of)(void 0):Yt),yt.initialNavigation()}))}}])}const Ms=new e.OlP("");const bc=new e.OlP("ROUTER_FORROOT_GUARD"),Bs=[I.Ye,{provide:ot,useClass:St},{provide:Ir,useFactory:uc},Za,{provide:Pa,useFactory:kd,deps:[Ir]},Jt,[]];function rs(){return new e.PXZ("Router",Ir)}class Bo{constructor(ee){}static forRoot(ee,De){return{ngModule:Bo,providers:[Bs,[],{provide:Xe,multi:!0,useValue:ee},{provide:bc,useFactory:qs,deps:[[Ir,new e.FiY,new e.tp0]]},{provide:Tr,useValue:De||{}},De?.useHash?{provide:I.S$,useClass:I.Do}:{provide:I.S$,useClass:I.b0},{provide:vs,useFactory:()=>{const Ie=(0,e.f3M)(I.EM),ee=(0,e.f3M)(e.R0b),De=(0,e.f3M)(Tr),tt=(0,e.f3M)(Ri),lt=(0,e.f3M)(ot);return De.scrollOffset&&Ie.setOffset(De.scrollOffset),new Bc(lt,tt,Ie,ee,De)}},De?.preloadingStrategy?(Ie=De.preloadingStrategy,gc(0,[{provide:Ms,useExisting:Es},{provide:Od,useExisting:Ie}])).\u0275providers:[],{provide:e.PXZ,multi:!0,useFactory:rs},De?.initialNavigation?Bd(De):[],[{provide:fa,useFactory:ns},{provide:e.tb,multi:!0,useExisting:fa}]]};var Ie}static forChild(ee){return{ngModule:Bo,providers:[{provide:Xe,multi:!0,useValue:ee}]}}}function qs(Ie){return"guarded"}function Bd(Ie){return["disabled"===Ie.initialNavigation?gc(3,[{provide:e.ip1,multi:!0,useFactory:()=>{const ee=(0,e.f3M)(Ir);return()=>{ee.setUpLocationChangeListener()}}},{provide:dl,useValue:2}]).\u0275providers:[],"enabledBlocking"===Ie.initialNavigation?Rd().\u0275providers:[]]}Bo.\u0275fac=function(ee){return new(ee||Bo)(e.LFG(bc,8))},Bo.\u0275mod=e.oAB({type:Bo}),Bo.\u0275inj=e.cJS({imports:[ur]});const fa=new e.OlP("");new e.GfV("15.0.2")},3505:(Ge,X,f)=>{"use strict";f.d(X,{BN:()=>Fe,uH:()=>Vi});var e=f(2560);function t(it,dt){var Ct=Object.keys(it);if(Object.getOwnPropertySymbols){var Ht=Object.getOwnPropertySymbols(it);dt&&(Ht=Ht.filter(function(Xe){return Object.getOwnPropertyDescriptor(it,Xe).enumerable})),Ct.push.apply(Ct,Ht)}return Ct}function _(it){for(var dt=1;dt<arguments.length;dt++){var Ct=null!=arguments[dt]?arguments[dt]:{};dt%2?t(Object(Ct),!0).forEach(function(Ht){p(it,Ht,Ct[Ht])}):Object.getOwnPropertyDescriptors?Object.defineProperties(it,Object.getOwnPropertyDescriptors(Ct)):t(Object(Ct)).forEach(function(Ht){Object.defineProperty(it,Ht,Object.getOwnPropertyDescriptor(Ct,Ht))})}return it}function S(it){return(S="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})(it)}function d(it,dt){for(var Ct=0;Ct<dt.length;Ct++){var Ht=dt[Ct];Ht.enumerable=Ht.enumerable||!1,Ht.configurable=!0,"value"in Ht&&(Ht.writable=!0),Object.defineProperty(it,Ht.key,Ht)}}function p(it,dt,Ct){return dt in it?Object.defineProperty(it,dt,{value:Ct,enumerable:!0,configurable:!0,writable:!0}):it[dt]=Ct,it}function k(it,dt){return function I(it){if(Array.isArray(it))return it}(it)||function Z(it,dt){var Ct=null==it?null:typeof Symbol<"u"&&it[Symbol.iterator]||it["@@iterator"];if(null!=Ct){var li,ni,Ht=[],Xe=!0,Jt=!1;try{for(Ct=Ct.call(it);!(Xe=(li=Ct.next()).done)&&(Ht.push(li.value),!dt||Ht.length!==dt);Xe=!0);}catch(Ai){Jt=!0,ni=Ai}finally{try{!Xe&&null!=Ct.return&&Ct.return()}finally{if(Jt)throw ni}}return Ht}}(it,dt)||q(it,dt)||function le(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(it){return function z(it){if(Array.isArray(it))return te(it)}(it)||function V(it){if(typeof Symbol<"u"&&null!=it[Symbol.iterator]||null!=it["@@iterator"])return Array.from(it)}(it)||q(it)||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(it,dt){if(it){if("string"==typeof it)return te(it,dt);var Ct=Object.prototype.toString.call(it).slice(8,-1);if("Object"===Ct&&it.constructor&&(Ct=it.constructor.name),"Map"===Ct||"Set"===Ct)return Array.from(it);if("Arguments"===Ct||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ct))return te(it,dt)}}function te(it,dt){(null==dt||dt>it.length)&&(dt=it.length);for(var Ct=0,Ht=new Array(dt);Ct<dt;Ct++)Ht[Ct]=it[Ct];return Ht}var re=function(){},_e={},he={},ae=null,ve={mark:re,measure:re};try{typeof window<"u"&&(_e=window),typeof document<"u"&&(he=document),typeof MutationObserver<"u"&&(ae=MutationObserver),typeof performance<"u"&&(ve=performance)}catch{}var C,U,N,Q,Pe,i=(_e.navigator||{}).userAgent,o=void 0===i?"":i,m=_e,h=he,y=ae,A=ve,v=(m.document,!!h.documentElement&&!!h.head&&"function"==typeof h.addEventListener&&"function"==typeof h.createElement),a=~o.indexOf("MSIE")||~o.indexOf("Trident/"),Le="___FONT_AWESOME___",Ve="svg-inline--fa",be="data-fa-i2svg",et="data-fa-pseudo-element",ye="data-prefix",Te="data-icon",He="fontawesome-i2svg",we=["HTML","HEAD","STYLE","SCRIPT"],de=function(){try{return!0}catch{return!1}}(),Me="classic",ie="sharp",G=[Me,ie];function $(it){return new Proxy(it,{get:function(Ct,Ht){return Ht in Ct?Ct[Ht]:Ct[Me]}})}var ze=$((p(C={},Me,{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"}),p(C,ie,{fa:"solid",fass:"solid","fa-solid":"solid"}),C)),Ue=$((p(U={},Me,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),p(U,ie,{solid:"fass"}),U)),oe=$((p(N={},Me,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),p(N,ie,{fass:"fa-solid"}),N)),bt=$((p(Q={},Me,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),p(Q,ie,{"fa-solid":"fass"}),Q)),Be=/fa(s|r|l|t|d|b|k|ss)?[\-\ ]/,nt="fa-layers-text",$t=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,gt=$((p(Pe={},Me,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),p(Pe,ie,{900:"fass"}),Pe)),rt=[1,2,3,4,5,6,7,8,9,10],Re=rt.concat([11,12,13,14,15,16,17,18,19,20]),ot=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],St_GROUP="duotone-group",St_SWAP_OPACITY="swap-opacity",St_PRIMARY="primary",St_SECONDARY="secondary",gi=new Set;Object.keys(Ue[Me]).map(gi.add.bind(gi)),Object.keys(Ue[ie]).map(gi.add.bind(gi));var oi=[].concat(G,E(gi),["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",St_GROUP,St_SWAP_OPACITY,St_PRIMARY,St_SECONDARY]).concat(rt.map(function(it){return"".concat(it,"x")})).concat(Re.map(function(it){return"w-".concat(it)})),ei=m.FontAwesomeConfig||{};if(h&&"function"==typeof h.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(it){var dt=k(it,2),Ct=dt[0],Ht=dt[1],Xe=function si(it){return""===it||"false"!==it&&("true"===it||it)}(function Zi(it){var dt=h.querySelector("script["+it+"]");if(dt)return dt.getAttribute(it)}(Ct));null!=Xe&&(ei[Ht]=Xe)})}var Je={styleDefault:"solid",familyDefault:"classic",cssPrefix:"fa",replacementClass:Ve,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};ei.familyPrefix&&(ei.cssPrefix=ei.familyPrefix);var me=_(_({},Je),ei);me.autoReplaceSvg||(me.observeMutations=!1);var K={};Object.keys(Je).forEach(function(it){Object.defineProperty(K,it,{enumerable:!0,set:function(Ct){me[it]=Ct,J.forEach(function(Ht){return Ht(K)})},get:function(){return me[it]}})}),Object.defineProperty(K,"familyPrefix",{enumerable:!0,set:function(dt){me.cssPrefix=dt,J.forEach(function(Ct){return Ct(K)})},get:function(){return me.cssPrefix}}),m.FontAwesomeConfig=K;var J=[];var Mt={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function at(){for(var it=12,dt="";it-- >0;)dt+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return dt}function Ke(it){for(var dt=[],Ct=(it||[]).length>>>0;Ct--;)dt[Ct]=it[Ct];return dt}function vt(it){return it.classList?Ke(it.classList):(it.getAttribute("class")||"").split(" ").filter(function(dt){return dt})}function ri(it){return"".concat(it).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Lt(it){return Object.keys(it||{}).reduce(function(dt,Ct){return dt+"".concat(Ct,": ").concat(it[Ct].trim(),";")},"")}function Kt(it){return it.size!==Mt.size||it.x!==Mt.x||it.y!==Mt.y||it.rotate!==Mt.rotate||it.flipX||it.flipY}function _t(){var dt=Ve,Ct=K.cssPrefix,Ht=K.replacementClass,Xe=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n transition-delay: 0s;\n transition-duration: 0s;\n }\n}\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, none));\n transform: rotate(var(--fa-rotate-angle, none));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';if("fa"!==Ct||Ht!==dt){var Jt=new RegExp("\\.".concat("fa","\\-"),"g"),li=new RegExp("\\--".concat("fa","\\-"),"g"),ni=new RegExp("\\.".concat(dt),"g");Xe=Xe.replace(Jt,".".concat(Ct,"-")).replace(li,"--".concat(Ct,"-")).replace(ni,".".concat(Ht))}return Xe}var kt=!1;function Oi(){K.autoAddCss&&!kt&&(function Tt(it){if(it&&v){var dt=h.createElement("style");dt.setAttribute("type","text/css"),dt.innerHTML=it;for(var Ct=h.head.childNodes,Ht=null,Xe=Ct.length-1;Xe>-1;Xe--){var Jt=Ct[Xe],li=(Jt.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(li)>-1&&(Ht=Jt)}return h.head.insertBefore(dt,Ht),it}}(_t()),kt=!0)}var Li={mixout:function(){return{dom:{css:_t,insertCss:Oi}}},hooks:function(){return{beforeDOMElementCreation:function(){Oi()},beforeI2svg:function(){Oi()}}}},Ei=m||{};Ei[Le]||(Ei[Le]={}),Ei[Le].styles||(Ei[Le].styles={}),Ei[Le].hooks||(Ei[Le].hooks={}),Ei[Le].shims||(Ei[Le].shims=[]);var Wi=Ei[Le],wt=[],Ne=!1;function Vt(it){!v||(Ne?setTimeout(it,0):wt.push(it))}function jt(it){var dt=it.tag,Ct=it.attributes,Ht=void 0===Ct?{}:Ct,Xe=it.children,Jt=void 0===Xe?[]:Xe;return"string"==typeof it?ri(it):"<".concat(dt," ").concat(function Pt(it){return Object.keys(it||{}).reduce(function(dt,Ct){return dt+"".concat(Ct,'="').concat(ri(it[Ct]),'" ')},"").trim()}(Ht),">").concat(Jt.map(jt).join(""),"</").concat(dt,">")}function fi(it,dt,Ct){if(it&&it[dt]&&it[dt][Ct])return{prefix:dt,iconName:Ct,icon:it[dt][Ct]}}v&&((Ne=(h.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(h.readyState))||h.addEventListener("DOMContentLoaded",function it(){h.removeEventListener("DOMContentLoaded",it),Ne=1,wt.map(function(dt){return dt()})}));var ki=function(dt,Ct,Ht,Xe){var Ai,Ri,tn,Jt=Object.keys(dt),li=Jt.length,ni=void 0!==Xe?function(dt,Ct){return function(Ht,Xe,Jt,li){return dt.call(Ct,Ht,Xe,Jt,li)}}(Ct,Xe):Ct;for(void 0===Ht?(Ai=1,tn=dt[Jt[0]]):(Ai=0,tn=Ht);Ai<li;Ai++)tn=ni(tn,dt[Ri=Jt[Ai]],Ri,dt);return tn};function Qt(it){var dt=function Gi(it){for(var dt=[],Ct=0,Ht=it.length;Ct<Ht;){var Xe=it.charCodeAt(Ct++);if(Xe>=55296&&Xe<=56319&&Ct<Ht){var Jt=it.charCodeAt(Ct++);56320==(64512&Jt)?dt.push(((1023&Xe)<<10)+(1023&Jt)+65536):(dt.push(Xe),Ct--)}else dt.push(Xe)}return dt}(it);return 1===dt.length?dt[0].toString(16):null}function ke(it){return Object.keys(it).reduce(function(dt,Ct){var Ht=it[Ct];return!!Ht.icon?dt[Ht.iconName]=Ht.icon:dt[Ct]=Ht,dt},{})}function ft(it,dt){var Ct=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},Ht=Ct.skipHooks,Xe=void 0!==Ht&&Ht,Jt=ke(dt);"function"!=typeof Wi.hooks.addPack||Xe?Wi.styles[it]=_(_({},Wi.styles[it]||{}),Jt):Wi.hooks.addPack(it,ke(dt)),"fas"===it&&ft("fa",dt)}var di,ai,ci,ii=Wi.styles,bi=Wi.shims,Yi=(p(di={},Me,Object.values(oe[Me])),p(di,ie,Object.values(oe[ie])),di),_n=null,ha={},gn={},Zn={},Kn={},Ua={},br=(p(ai={},Me,Object.keys(ze[Me])),p(ai,ie,Object.keys(ze[ie])),ai);function Wt(it,dt){var Ct=dt.split("-"),Ht=Ct[0],Xe=Ct.slice(1).join("-");return Ht!==it||""===Xe||function Ot(it){return~oi.indexOf(it)}(Xe)?null:Xe}var ui=function(){var dt=function(Jt){return ki(ii,function(li,ni,Ai){return li[Ai]=ki(ni,Jt,{}),li},{})};ha=dt(function(Xe,Jt,li){(Jt[3]&&(Xe[Jt[3]]=li),Jt[2])&&Jt[2].filter(function(Ai){return"number"==typeof Ai}).forEach(function(Ai){Xe[Ai.toString(16)]=li});return Xe}),gn=dt(function(Xe,Jt,li){(Xe[li]=li,Jt[2])&&Jt[2].filter(function(Ai){return"string"==typeof Ai}).forEach(function(Ai){Xe[Ai]=li});return Xe}),Ua=dt(function(Xe,Jt,li){var ni=Jt[2];return Xe[li]=li,ni.forEach(function(Ai){Xe[Ai]=li}),Xe});var Ct="far"in ii||K.autoFetchSvg,Ht=ki(bi,function(Xe,Jt){var li=Jt[0],ni=Jt[1],Ai=Jt[2];return"far"===ni&&!Ct&&(ni="fas"),"string"==typeof li&&(Xe.names[li]={prefix:ni,iconName:Ai}),"number"==typeof li&&(Xe.unicodes[li.toString(16)]={prefix:ni,iconName:Ai}),Xe},{names:{},unicodes:{}});Zn=Ht.names,Kn=Ht.unicodes,_n=Dn(K.styleDefault,{family:K.familyDefault})};function Ti(it,dt){return(ha[it]||{})[dt]}function Hi(it,dt){return(Ua[it]||{})[dt]}function cn(it){return Zn[it]||{prefix:null,iconName:null}}function Ln(){return _n}(function Ce(it){return J.push(it),function(){J.splice(J.indexOf(it),1)}})(function(it){_n=Dn(it.styleDefault,{family:K.familyDefault})}),ui();function Dn(it){var dt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Ct=dt.family,Ht=void 0===Ct?Me:Ct,Xe=ze[Ht][it],Jt=Ue[Ht][it]||Ue[Ht][Xe],li=it in Wi.styles?it:null;return Jt||li||null}var Jn=(p(ci={},Me,Object.keys(oe[Me])),p(ci,ie,Object.keys(oe[ie])),ci);function Ia(it){var dt,Ct=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Ht=Ct.skipLookups,Xe=void 0!==Ht&&Ht,Jt=(p(dt={},Me,"".concat(K.cssPrefix,"-").concat(Me)),p(dt,ie,"".concat(K.cssPrefix,"-").concat(ie)),dt),li=null,ni=Me;(it.includes(Jt[Me])||it.some(function(Ri){return Jn[Me].includes(Ri)}))&&(ni=Me),(it.includes(Jt[ie])||it.some(function(Ri){return Jn[ie].includes(Ri)}))&&(ni=ie);var Ai=it.reduce(function(Ri,tn){var sn=Wt(K.cssPrefix,tn);if(ii[tn]?(tn=Yi[ni].includes(tn)?bt[ni][tn]:tn,li=tn,Ri.prefix=tn):br[ni].indexOf(tn)>-1?(li=tn,Ri.prefix=Dn(tn,{family:ni})):sn?Ri.iconName=sn:tn!==K.replacementClass&&tn!==Jt[Me]&&tn!==Jt[ie]&&Ri.rest.push(tn),!Xe&&Ri.prefix&&Ri.iconName){var Cn="fa"===li?cn(Ri.iconName):{},On=Hi(Ri.prefix,Ri.iconName);Cn.prefix&&(li=null),Ri.iconName=Cn.iconName||On||Ri.iconName,Ri.prefix=Cn.prefix||Ri.prefix,"far"===Ri.prefix&&!ii.far&&ii.fas&&!K.autoFetchSvg&&(Ri.prefix="fas")}return Ri},{prefix:null,iconName:null,rest:[]});return(it.includes("fa-brands")||it.includes("fab"))&&(Ai.prefix="fab"),(it.includes("fa-duotone")||it.includes("fad"))&&(Ai.prefix="fad"),!Ai.prefix&&ni===ie&&(ii.fass||K.autoFetchSvg)&&(Ai.prefix="fass",Ai.iconName=Hi(Ai.prefix,Ai.iconName)||Ai.iconName),("fa"===Ai.prefix||"fa"===li)&&(Ai.prefix=Ln()||"fas"),Ai}var Gn=function(){function it(){(function D(it,dt){if(!(it instanceof dt))throw new TypeError("Cannot call a class as a function")})(this,it),this.definitions={}}return function P(it,dt,Ct){return dt&&d(it.prototype,dt),Ct&&d(it,Ct),Object.defineProperty(it,"prototype",{writable:!1}),it}(it,[{key:"add",value:function(){for(var Ct=this,Ht=arguments.length,Xe=new Array(Ht),Jt=0;Jt<Ht;Jt++)Xe[Jt]=arguments[Jt];var li=Xe.reduce(this._pullDefinitions,{});Object.keys(li).forEach(function(ni){Ct.definitions[ni]=_(_({},Ct.definitions[ni]||{}),li[ni]),ft(ni,li[ni]);var Ai=oe[Me][ni];Ai&&ft(Ai,li[ni]),ui()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(Ct,Ht){var Xe=Ht.prefix&&Ht.iconName&&Ht.icon?{0:Ht}:Ht;return Object.keys(Xe).map(function(Jt){var li=Xe[Jt],ni=li.prefix,Ai=li.iconName,Ri=li.icon,tn=Ri[2];Ct[ni]||(Ct[ni]={}),tn.length>0&&tn.forEach(function(sn){"string"==typeof sn&&(Ct[ni][sn]=Ri)}),Ct[ni][Ai]=Ri}),Ct}}]),it}(),Pa=[],qn={},Ra={},yr=Object.keys(Ra);function hr(it,dt){for(var Ct=arguments.length,Ht=new Array(Ct>2?Ct-2:0),Xe=2;Xe<Ct;Xe++)Ht[Xe-2]=arguments[Xe];var Jt=qn[it]||[];return Jt.forEach(function(li){dt=li.apply(null,[dt].concat(Ht))}),dt}function Vn(it){for(var dt=arguments.length,Ct=new Array(dt>1?dt-1:0),Ht=1;Ht<dt;Ht++)Ct[Ht-1]=arguments[Ht];var Xe=qn[it]||[];Xe.forEach(function(Jt){Jt.apply(null,Ct)})}function va(){var it=arguments[0],dt=Array.prototype.slice.call(arguments,1);return Ra[it]?Ra[it].apply(null,dt):void 0}function ra(it){"fa"===it.prefix&&(it.prefix="fas");var dt=it.iconName,Ct=it.prefix||Ln();if(dt)return dt=Hi(Ct,dt)||dt,fi(us.definitions,Ct,dt)||fi(Wi.styles,Ct,dt)}var us=new Gn,Jo={i2svg:function(){var dt=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return v?(Vn("beforeI2svg",dt),va("pseudoElements2svg",dt),va("i2svg",dt)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var dt=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},Ct=dt.autoReplaceSvgRoot;!1===K.autoReplaceSvg&&(K.autoReplaceSvg=!0),K.observeMutations=!0,Vt(function(){jr({autoReplaceSvgRoot:Ct}),Vn("watch",dt)})}},jn={noAuto:function(){K.autoReplaceSvg=!1,K.observeMutations=!1,Vn("noAuto")},config:K,dom:Jo,parse:{icon:function(dt){if(null===dt)return null;if("object"===S(dt)&&dt.prefix&&dt.iconName)return{prefix:dt.prefix,iconName:Hi(dt.prefix,dt.iconName)||dt.iconName};if(Array.isArray(dt)&&2===dt.length){var Ct=0===dt[1].indexOf("fa-")?dt[1].slice(3):dt[1],Ht=Dn(dt[0]);return{prefix:Ht,iconName:Hi(Ht,Ct)||Ct}}if("string"==typeof dt&&(dt.indexOf("".concat(K.cssPrefix,"-"))>-1||dt.match(Be))){var Xe=Ia(dt.split(" "),{skipLookups:!0});return{prefix:Xe.prefix||Ln(),iconName:Hi(Xe.prefix,Xe.iconName)||Xe.iconName}}if("string"==typeof dt){var Jt=Ln();return{prefix:Jt,iconName:Hi(Jt,dt)||dt}}}},library:us,findIconDefinition:ra,toHtml:jt},jr=function(){var dt=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},Ct=dt.autoReplaceSvgRoot,Ht=void 0===Ct?h:Ct;(Object.keys(Wi.styles).length>0||K.autoFetchSvg)&&v&&K.autoReplaceSvg&&jn.dom.i2svg({node:Ht})};function Na(it,dt){return Object.defineProperty(it,"abstract",{get:dt}),Object.defineProperty(it,"html",{get:function(){return it.abstract.map(function(Ht){return jt(Ht)})}}),Object.defineProperty(it,"node",{get:function(){if(v){var Ht=h.createElement("div");return Ht.innerHTML=it.html,Ht.children}}}),it}function Sr(it){var dt=it.icons,Ct=dt.main,Ht=dt.mask,Xe=it.prefix,Jt=it.iconName,li=it.transform,ni=it.symbol,Ai=it.title,Ri=it.maskId,tn=it.titleId,sn=it.extra,Cn=it.watchable,On=void 0!==Cn&&Cn,pr=Ht.found?Ht:Ct,Dr=pr.width,qr=pr.height,Tr="fak"===Xe,za=[K.replacementClass,Jt?"".concat(K.cssPrefix,"-").concat(Jt):""].filter(function(gs){return-1===sn.classes.indexOf(gs)}).filter(function(gs){return""!==gs||!!gs}).concat(sn.classes).join(" "),ba={children:[],attributes:_(_({},sn.attributes),{},{"data-prefix":Xe,"data-icon":Jt,class:za,role:sn.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(Dr," ").concat(qr)})},ho=Tr&&!~sn.classes.indexOf("fa-fw")?{width:"".concat(Dr/qr*16*.0625,"em")}:{};On&&(ba.attributes[be]=""),Ai&&(ba.children.push({tag:"title",attributes:{id:ba.attributes["aria-labelledby"]||"title-".concat(tn||at())},children:[Ai]}),delete ba.attributes.title);var Sa=_(_({},ba),{},{prefix:Xe,iconName:Jt,main:Ct,mask:Ht,maskId:Ri,transform:li,symbol:ni,styles:_(_({},ho),sn.styles)}),_s=Ht.found&&Ct.found?va("generateAbstractMask",Sa)||{children:[],attributes:{}}:va("generateAbstractIcon",Sa)||{children:[],attributes:{}},Ar=_s.children,Co=_s.attributes;return Sa.children=Ar,Sa.attributes=Co,ni?function Ja(it){var dt=it.prefix,Ct=it.iconName,Ht=it.children,Xe=it.attributes,Jt=it.symbol,li=!0===Jt?"".concat(dt,"-").concat(K.cssPrefix,"-").concat(Ct):Jt;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:_(_({},Xe),{},{id:li}),children:Ht}]}]}(Sa):function Oo(it){var dt=it.children,Ct=it.main,Ht=it.mask,Xe=it.attributes,Jt=it.styles,li=it.transform;if(Kt(li)&&Ct.found&&!Ht.found){var Ri={x:Ct.width/Ct.height/2,y:.5};Xe.style=Lt(_(_({},Jt),{},{"transform-origin":"".concat(Ri.x+li.x/16,"em ").concat(Ri.y+li.y/16,"em")}))}return[{tag:"svg",attributes:Xe,children:dt}]}(Sa)}function Za(it){var dt=it.content,Ct=it.width,Ht=it.height,Xe=it.transform,Jt=it.title,li=it.extra,ni=it.watchable,Ai=void 0!==ni&&ni,Ri=_(_(_({},li.attributes),Jt?{title:Jt}:{}),{},{class:li.classes.join(" ")});Ai&&(Ri[be]="");var tn=_({},li.styles);Kt(Xe)&&(tn.transform=function fe(it){var dt=it.transform,Ct=it.width,Ht=void 0===Ct?16:Ct,Xe=it.height,Jt=void 0===Xe?16:Xe,li=it.startCentered,ni=void 0!==li&&li,Ai="";return Ai+=ni&&a?"translate(".concat(dt.x/16-Ht/2,"em, ").concat(dt.y/16-Jt/2,"em) "):ni?"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) "),Ai+="scale(".concat(dt.size/16*(dt.flipX?-1:1),", ").concat(dt.size/16*(dt.flipY?-1:1),") "),Ai+"rotate(".concat(dt.rotate,"deg) ")}({transform:Xe,startCentered:!0,width:Ct,height:Ht}),tn["-webkit-transform"]=tn.transform);var sn=Lt(tn);sn.length>0&&(Ri.style=sn);var Cn=[];return Cn.push({tag:"span",attributes:Ri,children:[dt]}),Jt&&Cn.push({tag:"span",attributes:{class:"sr-only"},children:[Jt]}),Cn}function ir(it){var dt=it.content,Ct=it.title,Ht=it.extra,Xe=_(_(_({},Ht.attributes),Ct?{title:Ct}:{}),{},{class:Ht.classes.join(" ")}),Jt=Lt(Ht.styles);Jt.length>0&&(Xe.style=Jt);var li=[];return li.push({tag:"span",attributes:Xe,children:[dt]}),Ct&&li.push({tag:"span",attributes:{class:"sr-only"},children:[Ct]}),li}var oo=Wi.styles;function ms(it){var dt=it[0],Ct=it[1],Jt=k(it.slice(4),1)[0];return{found:!0,width:dt,height:Ct,icon:Array.isArray(Jt)?{tag:"g",attributes:{class:"".concat(K.cssPrefix,"-").concat(St_GROUP)},children:[{tag:"path",attributes:{class:"".concat(K.cssPrefix,"-").concat(St_SECONDARY),fill:"currentColor",d:Jt[0]}},{tag:"path",attributes:{class:"".concat(K.cssPrefix,"-").concat(St_PRIMARY),fill:"currentColor",d:Jt[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:Jt}}}}var So={found:!1,width:512,height:512};function $a(it,dt){var Ct=dt;return"fa"===dt&&null!==K.styleDefault&&(dt=Ln()),new Promise(function(Ht,Xe){va("missingIconAbstract");if("fa"===Ct){var li=cn(it)||{};it=li.iconName||it,dt=li.prefix||dt}if(it&&dt&&oo[dt]&&oo[dt][it])return Ht(ms(oo[dt][it]));(function ur(it,dt){!de&&!K.showMissingIcons&&it&&console.error('Icon with name "'.concat(it,'" and prefix "').concat(dt,'" is missing.'))})(it,dt),Ht(_(_({},So),{},{icon:K.showMissingIcons&&it&&va("missingIconAbstract")||{}}))})}var so=function(){},Xn=K.measurePerformance&&A&&A.mark&&A.measure?A:{mark:so,measure:so},Ho='FA "6.2.1"',ko=function(dt){Xn.mark("".concat(Ho," ").concat(dt," ends")),Xn.measure("".concat(Ho," ").concat(dt),"".concat(Ho," ").concat(dt," begins"),"".concat(Ho," ").concat(dt," ends"))},er_begin=function(dt){return Xn.mark("".concat(Ho," ").concat(dt," begins")),function(){return ko(dt)}},Po=function(){};function nr(it){return"string"==typeof(it.getAttribute?it.getAttribute(be):null)}function mr(it){return h.createElementNS("http://www.w3.org/2000/svg",it)}function Uo(it){return h.createElement(it)}function Er(it){var dt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Ct=dt.ceFn,Ht=void 0===Ct?"svg"===it.tag?mr:Uo:Ct;if("string"==typeof it)return h.createTextNode(it);var Xe=Ht(it.tag);Object.keys(it.attributes||[]).forEach(function(li){Xe.setAttribute(li,it.attributes[li])});var Jt=it.children||[];return Jt.forEach(function(li){Xe.appendChild(Er(li,{ceFn:Ht}))}),Xe}var Qn={replace:function(dt){var Ct=dt[0];if(Ct.parentNode)if(dt[1].forEach(function(Xe){Ct.parentNode.insertBefore(Er(Xe),Ct)}),null===Ct.getAttribute(be)&&K.keepOriginalSource){var Ht=h.createComment(function ja(it){var dt=" ".concat(it.outerHTML," ");return"".concat(dt,"Font Awesome fontawesome.com ")}(Ct));Ct.parentNode.replaceChild(Ht,Ct)}else Ct.remove()},nest:function(dt){var Ct=dt[0],Ht=dt[1];if(~vt(Ct).indexOf(K.replacementClass))return Qn.replace(dt);var Xe=new RegExp("".concat(K.cssPrefix,"-.*"));if(delete Ht[0].attributes.id,Ht[0].attributes.class){var Jt=Ht[0].attributes.class.split(" ").reduce(function(ni,Ai){return Ai===K.replacementClass||Ai.match(Xe)?ni.toSvg.push(Ai):ni.toNode.push(Ai),ni},{toNode:[],toSvg:[]});Ht[0].attributes.class=Jt.toSvg.join(" "),0===Jt.toNode.length?Ct.removeAttribute("class"):Ct.setAttribute("class",Jt.toNode.join(" "))}var li=Ht.map(function(ni){return jt(ni)}).join("\n");Ct.setAttribute(be,""),Ct.innerHTML=li}};function Qa(it){it()}function ar(it,dt){var Ct="function"==typeof dt?dt:Po;if(0===it.length)Ct();else{var Ht=Qa;"async"===K.mutateApproach&&(Ht=m.requestAnimationFrame||Qa),Ht(function(){var Xe=function Cr(){return!0===K.autoReplaceSvg?Qn.replace:Qn[K.autoReplaceSvg]||Qn.replace}(),Jt=er_begin("mutate");it.map(Xe),Jt(),Ct()})}}var Mr=!1;function Nr(){Mr=!0}function ca(){Mr=!1}var tr=null;function Ta(it){if(y&&K.observeMutations){var dt=it.treeCallback,Ct=void 0===dt?Po:dt,Ht=it.nodeCallback,Xe=void 0===Ht?Po:Ht,Jt=it.pseudoElementsCallback,li=void 0===Jt?Po:Jt,ni=it.observeMutationsRoot,Ai=void 0===ni?h:ni;tr=new y(function(Ri){if(!Mr){var tn=Ln();Ke(Ri).forEach(function(sn){if("childList"===sn.type&&sn.addedNodes.length>0&&!nr(sn.addedNodes[0])&&(K.searchPseudoElements&&li(sn.target),Ct(sn.target)),"attributes"===sn.type&&sn.target.parentNode&&K.searchPseudoElements&&li(sn.target.parentNode),"attributes"===sn.type&&nr(sn.target)&&~ot.indexOf(sn.attributeName))if("class"===sn.attributeName&&function xr(it){var dt=it.getAttribute?it.getAttribute(ye):null,Ct=it.getAttribute?it.getAttribute(Te):null;return dt&&Ct}(sn.target)){var Cn=Ia(vt(sn.target)),On=Cn.prefix,pr=Cn.iconName;sn.target.setAttribute(ye,On||tn),pr&&sn.target.setAttribute(Te,pr)}else(function oa(it){return it&&it.classList&&it.classList.contains&&it.classList.contains(K.replacementClass)})(sn.target)&&Xe(sn.target)})}}),v&&tr.observe(Ai,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Qe(it){var dt=it.getAttribute("style"),Ct=[];return dt&&(Ct=dt.split(";").reduce(function(Ht,Xe){var Jt=Xe.split(":"),li=Jt[0],ni=Jt.slice(1);return li&&ni.length>0&&(Ht[li]=ni.join(":").trim()),Ht},{})),Ct}function Dt(it){var dt=it.getAttribute("data-prefix"),Ct=it.getAttribute("data-icon"),Ht=void 0!==it.innerText?it.innerText.trim():"",Xe=Ia(vt(it));return Xe.prefix||(Xe.prefix=Ln()),dt&&Ct&&(Xe.prefix=dt,Xe.iconName=Ct),Xe.iconName&&Xe.prefix||(Xe.prefix&&Ht.length>0&&(Xe.iconName=function $i(it,dt){return(gn[it]||{})[dt]}(Xe.prefix,it.innerText)||Ti(Xe.prefix,Qt(it.innerText))),!Xe.iconName&&K.autoFetchSvg&&it.firstChild&&it.firstChild.nodeType===Node.TEXT_NODE&&(Xe.iconName=it.firstChild.data)),Xe}function xi(it){var dt=Ke(it.attributes).reduce(function(Xe,Jt){return"class"!==Xe.name&&"style"!==Xe.name&&(Xe[Jt.name]=Jt.value),Xe},{}),Ct=it.getAttribute("title"),Ht=it.getAttribute("data-fa-title-id");return K.autoA11y&&(Ct?dt["aria-labelledby"]="".concat(K.replacementClass,"-title-").concat(Ht||at()):(dt["aria-hidden"]="true",dt.focusable="false")),dt}function wn(it){var dt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},Ct=Dt(it),Ht=Ct.iconName,Xe=Ct.prefix,Jt=Ct.rest,li=xi(it),ni=hr("parseNodeAttributes",{},it),Ai=dt.styleParser?Qe(it):[];return _({iconName:Ht,title:it.getAttribute("title"),titleId:it.getAttribute("data-fa-title-id"),prefix:Xe,transform:Mt,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:Jt,styles:Ai,attributes:li}},ni)}var Qi=Wi.styles;function sa(it){var dt="nest"===K.autoReplaceSvg?wn(it,{styleParser:!1}):wn(it);return~dt.extra.classes.indexOf(nt)?va("generateLayersText",it,dt):va("generateSvgReplacementMutation",it,dt)}var Fr=new Set;function Et(it){var dt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!v)return Promise.resolve();var Ct=h.documentElement.classList,Ht=function(sn){return Ct.add("".concat(He,"-").concat(sn))},Xe=function(sn){return Ct.remove("".concat(He,"-").concat(sn))},Jt=K.autoFetchSvg?Fr:G.map(function(tn){return"fa-".concat(tn)}).concat(Object.keys(Qi));Jt.includes("fa")||Jt.push("fa");var li=[".".concat(nt,":not([").concat(be,"])")].concat(Jt.map(function(tn){return".".concat(tn,":not([").concat(be,"])")})).join(", ");if(0===li.length)return Promise.resolve();var ni=[];try{ni=Ke(it.querySelectorAll(li))}catch{}if(!(ni.length>0))return Promise.resolve();Ht("pending"),Xe("complete");var Ai=er_begin("onTree"),Ri=ni.reduce(function(tn,sn){try{var Cn=sa(sn);Cn&&tn.push(Cn)}catch(On){de||"MissingIcon"===On.name&&console.error(On)}return tn},[]);return new Promise(function(tn,sn){Promise.all(Ri).then(function(Cn){ar(Cn,function(){Ht("active"),Ht("complete"),Xe("pending"),"function"==typeof dt&&dt(),Ai(),tn()})}).catch(function(Cn){Ai(),sn(Cn)})})}function ge(it){var dt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;sa(it).then(function(Ct){Ct&&ar([Ct],dt)})}G.map(function(it){Fr.add("fa-".concat(it))}),Object.keys(ze[Me]).map(Fr.add.bind(Fr)),Object.keys(ze[ie]).map(Fr.add.bind(Fr)),Fr=E(Fr);var Xt=function(dt){var Ct=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Ht=Ct.transform,Xe=void 0===Ht?Mt:Ht,Jt=Ct.symbol,li=void 0!==Jt&&Jt,ni=Ct.mask,Ai=void 0===ni?null:ni,Ri=Ct.maskId,tn=void 0===Ri?null:Ri,sn=Ct.title,Cn=void 0===sn?null:sn,On=Ct.titleId,pr=void 0===On?null:On,Dr=Ct.classes,qr=void 0===Dr?[]:Dr,Tr=Ct.attributes,za=void 0===Tr?{}:Tr,ba=Ct.styles,ho=void 0===ba?{}:ba;if(dt){var Sa=dt.prefix,_s=dt.iconName,Ar=dt.icon;return Na(_({type:"icon"},dt),function(){return Vn("beforeDOMElementCreation",{iconDefinition:dt,params:Ct}),K.autoA11y&&(Cn?za["aria-labelledby"]="".concat(K.replacementClass,"-title-").concat(pr||at()):(za["aria-hidden"]="true",za.focusable="false")),Sr({icons:{main:ms(Ar),mask:Ai?ms(Ai.icon):{found:!1,width:null,height:null,icon:{}}},prefix:Sa,iconName:_s,transform:_(_({},Mt),Xe),symbol:li,title:Cn,maskId:tn,titleId:pr,extra:{attributes:za,styles:ho,classes:qr}})})}},Ni={mixout:function(){return{icon:(it=Xt,function(dt){var Ct=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Ht=(dt||{}).icon?dt:ra(dt||{}),Xe=Ct.mask;return Xe&&(Xe=(Xe||{}).icon?Xe:ra(Xe||{})),it(Ht,_(_({},Ct),{},{mask:Xe}))})};var it},hooks:function(){return{mutationObserverCallbacks:function(Ct){return Ct.treeCallback=Et,Ct.nodeCallback=ge,Ct}}},provides:function(dt){dt.i2svg=function(Ct){var Ht=Ct.node,Xe=void 0===Ht?h:Ht,Jt=Ct.callback;return Et(Xe,void 0===Jt?function(){}:Jt)},dt.generateSvgReplacementMutation=function(Ct,Ht){var Xe=Ht.iconName,Jt=Ht.title,li=Ht.titleId,ni=Ht.prefix,Ai=Ht.transform,Ri=Ht.symbol,tn=Ht.mask,sn=Ht.maskId,Cn=Ht.extra;return new Promise(function(On,pr){Promise.all([$a(Xe,ni),tn.iconName?$a(tn.iconName,tn.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(Dr){var qr=k(Dr,2),Tr=qr[0],za=qr[1];On([Ct,Sr({icons:{main:Tr,mask:za},prefix:ni,iconName:Xe,transform:Ai,symbol:Ri,maskId:sn,title:Jt,titleId:li,extra:Cn,watchable:!0})])}).catch(pr)})},dt.generateAbstractIcon=function(Ct){var Ri,Ht=Ct.children,Xe=Ct.attributes,Jt=Ct.main,li=Ct.transform,Ai=Lt(Ct.styles);return Ai.length>0&&(Xe.style=Ai),Kt(li)&&(Ri=va("generateAbstractTransformGrouping",{main:Jt,transform:li,containerWidth:Jt.width,iconWidth:Jt.width})),Ht.push(Ri||Jt.icon),{children:Ht,attributes:Xe}}}},An={mixout:function(){return{layer:function(Ct){var Ht=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Xe=Ht.classes,Jt=void 0===Xe?[]:Xe;return Na({type:"layer"},function(){Vn("beforeDOMElementCreation",{assembler:Ct,params:Ht});var li=[];return Ct(function(ni){Array.isArray(ni)?ni.map(function(Ai){li=li.concat(Ai.abstract)}):li=li.concat(ni.abstract)}),[{tag:"span",attributes:{class:["".concat(K.cssPrefix,"-layers")].concat(E(Jt)).join(" ")},children:li}]})}}}},rr={mixout:function(){return{counter:function(Ct){var Ht=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Xe=Ht.title,Jt=void 0===Xe?null:Xe,li=Ht.classes,ni=void 0===li?[]:li,Ai=Ht.attributes,Ri=void 0===Ai?{}:Ai,tn=Ht.styles,sn=void 0===tn?{}:tn;return Na({type:"counter",content:Ct},function(){return Vn("beforeDOMElementCreation",{content:Ct,params:Ht}),ir({content:Ct.toString(),title:Jt,extra:{attributes:Ri,styles:sn,classes:["".concat(K.cssPrefix,"-layers-counter")].concat(E(ni))}})})}}}},bo={mixout:function(){return{text:function(Ct){var Ht=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Xe=Ht.transform,Jt=void 0===Xe?Mt:Xe,li=Ht.title,ni=void 0===li?null:li,Ai=Ht.classes,Ri=void 0===Ai?[]:Ai,tn=Ht.attributes,sn=void 0===tn?{}:tn,Cn=Ht.styles,On=void 0===Cn?{}:Cn;return Na({type:"text",content:Ct},function(){return Vn("beforeDOMElementCreation",{content:Ct,params:Ht}),Za({content:Ct,transform:_(_({},Mt),Jt),title:ni,extra:{attributes:sn,styles:On,classes:["".concat(K.cssPrefix,"-layers-text")].concat(E(Ri))}})})}}},provides:function(dt){dt.generateLayersText=function(Ct,Ht){var Xe=Ht.title,Jt=Ht.transform,li=Ht.extra,ni=null,Ai=null;if(a){var Ri=parseInt(getComputedStyle(Ct).fontSize,10),tn=Ct.getBoundingClientRect();ni=tn.width/Ri,Ai=tn.height/Ri}return K.autoA11y&&!Xe&&(li.attributes["aria-hidden"]="true"),Promise.resolve([Ct,Za({content:Ct.innerHTML,width:ni,height:Ai,transform:Jt,title:Xe,extra:li,watchable:!0})])}}},Ss=new RegExp('"',"ug"),$o=[1105920,1112319];function ps(it,dt){var Ct="".concat("data-fa-pseudo-element-pending").concat(dt.replace(":","-"));return new Promise(function(Ht,Xe){if(null!==it.getAttribute(Ct))return Ht();var li=Ke(it.children).filter(function(Ar){return Ar.getAttribute(et)===dt})[0],ni=m.getComputedStyle(it,dt),Ai=ni.getPropertyValue("font-family").match($t),Ri=ni.getPropertyValue("font-weight"),tn=ni.getPropertyValue("content");if(li&&!Ai)return it.removeChild(li),Ht();if(Ai&&"none"!==tn&&""!==tn){var sn=ni.getPropertyValue("content"),Cn=~["Sharp"].indexOf(Ai[2])?ie:Me,On=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(Ai[2])?Ue[Cn][Ai[2].toLowerCase()]:gt[Cn][Ri],pr=function Pc(it){var dt=it.replace(Ss,""),Ct=function xe(it,dt){var Xe,Ct=it.length,Ht=it.charCodeAt(dt);return Ht>=55296&&Ht<=56319&&Ct>dt+1&&(Xe=it.charCodeAt(dt+1))>=56320&&Xe<=57343?1024*(Ht-55296)+Xe-56320+65536:Ht}(dt,0),Ht=Ct>=$o[0]&&Ct<=$o[1],Xe=2===dt.length&&dt[0]===dt[1];return{value:Qt(Xe?dt[0]:dt),isSecondary:Ht||Xe}}(sn),Dr=pr.value,qr=pr.isSecondary,Tr=Ai[0].startsWith("FontAwesome"),za=Ti(On,Dr),ba=za;if(Tr){var ho=function aa(it){var dt=Kn[it],Ct=Ti("fas",it);return dt||(Ct?{prefix:"fas",iconName:Ct}:null)||{prefix:null,iconName:null}}(Dr);ho.iconName&&ho.prefix&&(za=ho.iconName,On=ho.prefix)}if(!za||qr||li&&li.getAttribute(ye)===On&&li.getAttribute(Te)===ba)Ht();else{it.setAttribute(Ct,ba),li&&it.removeChild(li);var Sa=function Ki(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Mt,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}(),_s=Sa.extra;_s.attributes[et]=dt,$a(za,On).then(function(Ar){var Co=Sr(_(_({},Sa),{},{icons:{main:Ar,mask:{prefix:null,iconName:null,rest:[]}},prefix:On,iconName:ba,extra:_s,watchable:!0})),gs=h.createElement("svg");"::before"===dt?it.insertBefore(gs,it.firstChild):it.appendChild(gs),gs.outerHTML=Co.map(function(uc){return jt(uc)}).join("\n"),it.removeAttribute(Ct),Ht()}).catch(Xe)}}else Ht()})}function Fi(it){return Promise.all([ps(it,"::before"),ps(it,"::after")])}function zn(it){return!(it.parentNode===document.head||~we.indexOf(it.tagName.toUpperCase())||it.getAttribute(et)||it.parentNode&&"svg"===it.parentNode.tagName)}function es(it){if(v)return new Promise(function(dt,Ct){var Ht=Ke(it.querySelectorAll("*")).filter(zn).map(Fi),Xe=er_begin("searchPseudoElements");Nr(),Promise.all(Ht).then(function(){Xe(),ca(),dt()}).catch(function(){Xe(),ca(),Ct()})})}var La=!1,fs=function(dt){return dt.toLowerCase().split(" ").reduce(function(Ht,Xe){var Jt=Xe.toLowerCase().split("-"),li=Jt[0],ni=Jt.slice(1).join("-");if(li&&"h"===ni)return Ht.flipX=!0,Ht;if(li&&"v"===ni)return Ht.flipY=!0,Ht;if(ni=parseFloat(ni),isNaN(ni))return Ht;switch(li){case"grow":Ht.size=Ht.size+ni;break;case"shrink":Ht.size=Ht.size-ni;break;case"left":Ht.x=Ht.x-ni;break;case"right":Ht.x=Ht.x+ni;break;case"up":Ht.y=Ht.y-ni;break;case"down":Ht.y=Ht.y+ni;break;case"rotate":Ht.rotate=Ht.rotate+ni}return Ht},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},$n={x:0,y:0,width:"100%",height:"100%"};function Ui(it){var dt=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return it.attributes&&(it.attributes.fill||dt)&&(it.attributes.fill="black"),it}!function wa(it,dt){var Ct=dt.mixoutsTo;return Pa=it,qn={},Object.keys(Ra).forEach(function(Ht){-1===yr.indexOf(Ht)&&delete Ra[Ht]}),Pa.forEach(function(Ht){var Xe=Ht.mixout?Ht.mixout():{};if(Object.keys(Xe).forEach(function(li){"function"==typeof Xe[li]&&(Ct[li]=Xe[li]),"object"===S(Xe[li])&&Object.keys(Xe[li]).forEach(function(ni){Ct[li]||(Ct[li]={}),Ct[li][ni]=Xe[li][ni]})}),Ht.hooks){var Jt=Ht.hooks();Object.keys(Jt).forEach(function(li){qn[li]||(qn[li]=[]),qn[li].push(Jt[li])})}Ht.provides&&Ht.provides(Ra)}),Ct}([Li,Ni,An,rr,bo,{hooks:function(){return{mutationObserverCallbacks:function(Ct){return Ct.pseudoElementsCallback=es,Ct}}},provides:function(dt){dt.pseudoElements2svg=function(Ct){var Ht=Ct.node,Xe=void 0===Ht?h:Ht;K.searchPseudoElements&&es(Xe)}}},{mixout:function(){return{dom:{unwatch:function(){Nr(),La=!0}}}},hooks:function(){return{bootstrap:function(){Ta(hr("mutationObserverCallbacks",{}))},noAuto:function(){!function mi(){!tr||tr.disconnect()}()},watch:function(Ct){var Ht=Ct.observeMutationsRoot;La?ca():Ta(hr("mutationObserverCallbacks",{observeMutationsRoot:Ht}))}}}},{mixout:function(){return{parse:{transform:function(Ct){return fs(Ct)}}}},hooks:function(){return{parseNodeAttributes:function(Ct,Ht){var Xe=Ht.getAttribute("data-fa-transform");return Xe&&(Ct.transform=fs(Xe)),Ct}}},provides:function(dt){dt.generateAbstractTransformGrouping=function(Ct){var Ht=Ct.main,Xe=Ct.transform,Jt=Ct.containerWidth,li=Ct.iconWidth,ni={transform:"translate(".concat(Jt/2," 256)")},Ai="translate(".concat(32*Xe.x,", ").concat(32*Xe.y,") "),Ri="scale(".concat(Xe.size/16*(Xe.flipX?-1:1),", ").concat(Xe.size/16*(Xe.flipY?-1:1),") "),tn="rotate(".concat(Xe.rotate," 0 0)"),On={outer:ni,inner:{transform:"".concat(Ai," ").concat(Ri," ").concat(tn)},path:{transform:"translate(".concat(li/2*-1," -256)")}};return{tag:"g",attributes:_({},On.outer),children:[{tag:"g",attributes:_({},On.inner),children:[{tag:Ht.icon.tag,children:Ht.icon.children,attributes:_(_({},Ht.icon.attributes),On.path)}]}]}}}},{hooks:function(){return{parseNodeAttributes:function(Ct,Ht){var Xe=Ht.getAttribute("data-fa-mask"),Jt=Xe?Ia(Xe.split(" ").map(function(li){return li.trim()})):{prefix:null,iconName:null,rest:[]};return Jt.prefix||(Jt.prefix=Ln()),Ct.mask=Jt,Ct.maskId=Ht.getAttribute("data-fa-mask-id"),Ct}}},provides:function(dt){dt.generateAbstractMask=function(Ct){var it,Ht=Ct.children,Xe=Ct.attributes,Jt=Ct.main,li=Ct.mask,ni=Ct.maskId,Ai=Ct.transform,Ri=Jt.width,tn=Jt.icon,sn=li.width,Cn=li.icon,On=function Ae(it){var dt=it.transform,Ct=it.containerWidth,Ht=it.iconWidth,Xe={transform:"translate(".concat(Ct/2," 256)")},Jt="translate(".concat(32*dt.x,", ").concat(32*dt.y,") "),li="scale(".concat(dt.size/16*(dt.flipX?-1:1),", ").concat(dt.size/16*(dt.flipY?-1:1),") "),ni="rotate(".concat(dt.rotate," 0 0)");return{outer:Xe,inner:{transform:"".concat(Jt," ").concat(li," ").concat(ni)},path:{transform:"translate(".concat(Ht/2*-1," -256)")}}}({transform:Ai,containerWidth:sn,iconWidth:Ri}),pr={tag:"rect",attributes:_(_({},$n),{},{fill:"white"})},Dr=tn.children?{children:tn.children.map(Ui)}:{},qr={tag:"g",attributes:_({},On.inner),children:[Ui(_({tag:tn.tag,attributes:_(_({},tn.attributes),On.path)},Dr))]},Tr={tag:"g",attributes:_({},On.outer),children:[qr]},za="mask-".concat(ni||at()),ba="clip-".concat(ni||at()),ho={tag:"mask",attributes:_(_({},$n),{},{id:za,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[pr,Tr]},Sa={tag:"defs",children:[{tag:"clipPath",attributes:{id:ba},children:(it=Cn,"g"===it.tag?it.children:[it])},ho]};return Ht.push(Sa,{tag:"rect",attributes:_({fill:"currentColor","clip-path":"url(#".concat(ba,")"),mask:"url(#".concat(za,")")},$n)}),{children:Ht,attributes:Xe}}}},{provides:function(dt){var Ct=!1;m.matchMedia&&(Ct=m.matchMedia("(prefers-reduced-motion: reduce)").matches),dt.missingIconAbstract=function(){var Ht=[],Xe={fill:"currentColor"},Jt={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};Ht.push({tag:"path",attributes:_(_({},Xe),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var li=_(_({},Jt),{},{attributeName:"opacity"}),ni={tag:"circle",attributes:_(_({},Xe),{},{cx:"256",cy:"364",r:"28"}),children:[]};return Ct||ni.children.push({tag:"animate",attributes:_(_({},Jt),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:_(_({},li),{},{values:"1;0;1;1;0;1;"})}),Ht.push(ni),Ht.push({tag:"path",attributes:_(_({},Xe),{},{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:Ct?[]:[{tag:"animate",attributes:_(_({},li),{},{values:"1;0;0;0;0;1;"})}]}),Ct||Ht.push({tag:"path",attributes:_(_({},Xe),{},{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:_(_({},li),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:Ht}}}},{hooks:function(){return{parseNodeAttributes:function(Ct,Ht){var Xe=Ht.getAttribute("data-fa-symbol"),Jt=null!==Xe&&(""===Xe||Xe);return Ct.symbol=Jt,Ct}}}}],{mixoutsTo:jn});jn.noAuto,jn.config,jn.library,jn.dom;var ks=jn.parse,Kl=(jn.findIconDefinition,jn.toHtml,jn.icon),Gs=(jn.layer,jn.text),Ys=jn.counter,Ps=f(4497);const wr=["*"],hn=it=>{const dt={"fa-spin":it.spin,"fa-pulse":it.pulse,"fa-fw":it.fixedWidth,"fa-border":it.border,"fa-inverse":it.inverse,"fa-layers-counter":it.counter,"fa-flip-horizontal":"horizontal"===it.flip||"both"===it.flip,"fa-flip-vertical":"vertical"===it.flip||"both"===it.flip,[`fa-${it.size}`]:null!==it.size,[`fa-rotate-${it.rotate}`]:null!==it.rotate,[`fa-pull-${it.pull}`]:null!==it.pull,[`fa-stack-${it.stackItemSize}`]:null!=it.stackItemSize};return Object.keys(dt).map(Ct=>dt[Ct]?Ct:null).filter(Ct=>Ct)};class xo{constructor(){this.defaultPrefix="fas",this.fallbackIcon=null}}xo.\u0275fac=function(dt){return new(dt||xo)},xo.\u0275prov=e.Yz7({token:xo,factory:xo.\u0275fac,providedIn:"root"});class Ro{constructor(){this.definitions={}}addIcons(...dt){for(const Ct of dt){Ct.prefix in this.definitions||(this.definitions[Ct.prefix]={}),this.definitions[Ct.prefix][Ct.iconName]=Ct;for(const Ht of Ct.icon[2])"string"==typeof Ht&&(this.definitions[Ct.prefix][Ht]=Ct)}}addIconPacks(...dt){for(const Ct of dt){const Ht=Object.keys(Ct).map(Xe=>Ct[Xe]);this.addIcons(...Ht)}}getIconDefinition(dt,Ct){return dt in this.definitions&&Ct in this.definitions[dt]?this.definitions[dt][Ct]:null}}Ro.\u0275fac=function(dt){return new(dt||Ro)},Ro.\u0275prov=e.Yz7({token:Ro,factory:Ro.\u0275fac,providedIn:"root"});class is{constructor(){this.stackItemSize="1x"}ngOnChanges(dt){if("size"in dt)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>.')}}is.\u0275fac=function(dt){return new(dt||is)},is.\u0275dir=e.lG2({type:is,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},features:[e.TTD]});class lo{constructor(dt,Ct){this.renderer=dt,this.elementRef=Ct}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-stack")}ngOnChanges(dt){"size"in dt&&(null!=dt.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${dt.size.currentValue}`),null!=dt.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${dt.size.previousValue}`))}}lo.\u0275fac=function(dt){return new(dt||lo)(e.Y36(e.Qsj),e.Y36(e.SBq))},lo.\u0275cmp=e.Xpm({type:lo,selectors:[["fa-stack"]],inputs:{size:"size"},features:[e.TTD],ngContentSelectors:wr,decls:1,vars:0,template:function(dt,Ct){1&dt&&(e.F$t(),e.Hsn(0))},encapsulation:2});class Fe{constructor(dt,Ct,Ht,Xe,Jt){this.sanitizer=dt,this.config=Ct,this.iconLibrary=Ht,this.stackItem=Xe,this.classes=[],null!=Jt&&null==Xe&&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(dt){if(null==this.icon&&null==this.config.fallbackIcon)return(()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")})();if(dt){const Ct=null!=this.icon?this.icon:this.config.fallbackIcon,Ht=this.findIconDefinition(Ct);if(null!=Ht){const Xe=this.buildParams();this.renderIcon(Ht,Xe)}}}render(){this.ngOnChanges({})}findIconDefinition(dt){const Ct=((it,dt)=>(it=>void 0!==it.prefix&&void 0!==it.iconName)(it)?it:Array.isArray(it)&&2===it.length?{prefix:it[0],iconName:it[1]}:"string"==typeof it?{prefix:dt,iconName:it}:void 0)(dt,this.config.defaultPrefix);if("icon"in Ct)return Ct;return this.iconLibrary.getIconDefinition(Ct.prefix,Ct.iconName)??((it=>{throw new Error(`Could not find icon with iconName=${it.iconName} and prefix=${it.prefix} in the icon library.`)})(Ct),null)}buildParams(){const dt={flip:this.flip,spin:this.spin,pulse:this.pulse,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:"boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth,stackItemSize:null!=this.stackItem?this.stackItem.stackItemSize:null},Ct="string"==typeof this.transform?ks.transform(this.transform):this.transform;return{title:this.title,transform:Ct,classes:[...hn(dt),...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(dt,Ct){const Ht=Kl(dt,Ct);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(Ht.html.join("\n"))}}Fe.\u0275fac=function(dt){return new(dt||Fe)(e.Y36(Ps.H7),e.Y36(xo),e.Y36(Ro),e.Y36(is,8),e.Y36(lo,8))},Fe.\u0275cmp=e.Xpm({type:Fe,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(dt,Ct){2&dt&&(e.Ikx("innerHTML",Ct.renderedIconHTML,e.oJD),e.uIk("title",Ct.title))},inputs:{icon:"icon",title:"title",spin:"spin",pulse:"pulse",mask:"mask",styles:"styles",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",symbol:"symbol",rotate:"rotate",fixedWidth:"fixedWidth",classes:"classes",transform:"transform",a11yRole:"a11yRole"},features:[e.TTD],decls:0,vars:0,template:function(dt,Ct){},encapsulation:2});class ce extends Fe{findIconDefinition(dt){const Ct=super.findIconDefinition(dt);if(null!=Ct&&!Array.isArray(Ct.icon[4]))throw new Error(`The specified icon does not appear to be a Duotone icon. Check that you specified the correct style: <fa-duotone-icon [icon]="['fad', '${Ct.iconName}']"></fa-duotone-icon> or use: <fa-icon icon="${Ct.iconName}"></fa-icon> instead.`);return Ct}buildParams(){const dt=super.buildParams();return(!0===this.swapOpacity||"true"===this.swapOpacity)&&dt.classes.push("fa-swap-opacity"),null!=this.primaryOpacity&&(dt.styles["--fa-primary-opacity"]=this.primaryOpacity.toString()),null!=this.secondaryOpacity&&(dt.styles["--fa-secondary-opacity"]=this.secondaryOpacity.toString()),null!=this.primaryColor&&(dt.styles["--fa-primary-color"]=this.primaryColor),null!=this.secondaryColor&&(dt.styles["--fa-secondary-color"]=this.secondaryColor),dt}}ce.\u0275fac=function(){let it;return function(Ct){return(it||(it=e.n5z(ce)))(Ct||ce)}}(),ce.\u0275cmp=e.Xpm({type:ce,selectors:[["fa-duotone-icon"]],inputs:{swapOpacity:"swapOpacity",primaryOpacity:"primaryOpacity",secondaryOpacity:"secondaryOpacity",primaryColor:"primaryColor",secondaryColor:"secondaryColor"},features:[e.qOj],decls:0,vars:0,template:function(dt,Ct){},encapsulation:2});const ht=(it,dt,Ct)=>{if(!it)throw new Error(`${Ct} should be used as child of ${dt} only.`)};class zt{constructor(dt,Ct,Ht){this.renderer=dt,this.elementRef=Ct,this.config=Ht}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-layers"),this.fixedWidth="boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth}ngOnChanges(dt){"size"in dt&&(null!=dt.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${dt.size.currentValue}`),null!=dt.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${dt.size.previousValue}`))}}zt.\u0275fac=function(dt){return new(dt||zt)(e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(xo))},zt.\u0275cmp=e.Xpm({type:zt,selectors:[["fa-layers"]],hostVars:2,hostBindings:function(dt,Ct){2&dt&&e.ekj("fa-fw",Ct.fixedWidth)},inputs:{size:"size",fixedWidth:"fixedWidth"},features:[e.TTD],ngContentSelectors:wr,decls:1,vars:0,template:function(dt,Ct){1&dt&&(e.F$t(),e.Hsn(0))},encapsulation:2});class Gt{constructor(dt,Ct){this.parent=dt,this.sanitizer=Ct,this.classes=[],ht(this.parent,"FaLayersComponent",this.constructor.name)}ngOnChanges(dt){if(dt){const Ct=this.buildParams();this.updateContent(Ct)}}buildParams(){const dt=[];return null!=this.classes&&dt.push(...this.classes),null!=this.position&&dt.push(`fa-layers-${this.position}`),{title:this.title,classes:dt,styles:this.styles}}updateContent(dt){this.renderedHTML=this.sanitizer.bypassSecurityTrustHtml(Ys(this.content||"",dt).html.join(""))}}Gt.\u0275fac=function(dt){return new(dt||Gt)(e.Y36(zt,8),e.Y36(Ps.H7))},Gt.\u0275cmp=e.Xpm({type:Gt,selectors:[["fa-layers-counter"]],hostAttrs:[1,"ng-fa-layers-counter"],hostVars:1,hostBindings:function(dt,Ct){2&dt&&e.Ikx("innerHTML",Ct.renderedHTML,e.oJD)},inputs:{content:"content",title:"title",styles:"styles",classes:"classes",position:"position"},features:[e.TTD],decls:0,vars:0,template:function(dt,Ct){},encapsulation:2});class _i{constructor(dt,Ct){this.parent=dt,this.sanitizer=Ct,this.classes=[],ht(this.parent,"FaLayersComponent",this.constructor.name)}ngOnChanges(dt){if(dt){const Ct=this.buildParams();this.updateContent(Ct)}}buildParams(){const dt={flip:this.flip,spin:this.spin,pulse:this.pulse,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:this.fixedWidth};return{transform:"string"==typeof this.transform?ks.transform(this.transform):this.transform,classes:[...hn(dt),...this.classes],title:this.title,styles:this.styles}}updateContent(dt){this.renderedHTML=this.sanitizer.bypassSecurityTrustHtml(Gs(this.content||"",dt).html.join("\n"))}}_i.\u0275fac=function(dt){return new(dt||_i)(e.Y36(zt,8),e.Y36(Ps.H7))},_i.\u0275cmp=e.Xpm({type:_i,selectors:[["fa-layers-text"]],hostAttrs:[1,"ng-fa-layers-text"],hostVars:1,hostBindings:function(dt,Ct){2&dt&&e.Ikx("innerHTML",Ct.renderedHTML,e.oJD)},inputs:{content:"content",title:"title",styles:"styles",classes:"classes",spin:"spin",pulse:"pulse",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",rotate:"rotate",fixedWidth:"fixedWidth",transform:"transform"},features:[e.TTD],decls:0,vars:0,template:function(dt,Ct){},encapsulation:2});class Vi{}Vi.\u0275fac=function(dt){return new(dt||Vi)},Vi.\u0275mod=e.oAB({type:Vi}),Vi.\u0275inj=e.cJS({})},9306:(Ge,X,f)=>{"use strict";f.d(X,{Acd:()=>rh,Aq:()=>kd,B$L:()=>$n,BDt:()=>f_,CgH:()=>wp,CvI:()=>E3,DL8:()=>ev,FJU:()=>ji,FVb:()=>Sd,FlN:()=>G4,FpQ:()=>ka,HLz:()=>k5,KOR:()=>vp,Krp:()=>k0,Mdf:()=>au,N2j:()=>Hi,NBC:()=>s7,OS1:()=>H0,Psp:()=>Xh,Pyt:()=>Ze,Sbq:()=>oi,SoD:()=>ms,Ssp:()=>uv,SuH:()=>xp,TmZ:()=>t7,USL:()=>b7,Vei:()=>ac,Vfw:()=>P_,X5K:()=>vd,XsY:()=>sn,aj4:()=>bm,b7W:()=>q4,byT:()=>Cn,co4:()=>Hp,d63:()=>lr,dLy:()=>V5,dT$:()=>Yo,eHv:()=>dv,gNZ:()=>G2,hkK:()=>Yi,hnx:()=>Ev,kXW:()=>e_,kZ_:()=>i7,koM:()=>Jr,mh3:()=>yd,nNP:()=>A8,q7m:()=>i8,qO$:()=>O7,r8p:()=>P8,sqG:()=>b3,vqe:()=>W7,wn1:()=>F5,wyP:()=>sd,xf3:()=>td});var gi={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"]},oi=gi,Yi={prefix:"fas",iconName:"user-check",icon:[640,512,[],"f4fc","M352 128c0 70.7-57.3 128-128 128s-128-57.3-128-128S153.3 0 224 0s128 57.3 128 128zM0 482.3C0 383.8 79.8 304 178.3 304h91.4C368.2 304 448 383.8 448 482.3c0 16.4-13.3 29.7-29.7 29.7H29.7C13.3 512 0 498.7 0 482.3zM625 177L497 305c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L591 143c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},$i={prefix:"fas",iconName:"box-archive",icon:[512,512,["archive"],"f187","M32 32H480c17.7 0 32 14.3 32 32V96c0 17.7-14.3 32-32 32H32C14.3 128 0 113.7 0 96V64C0 46.3 14.3 32 32 32zm0 128H480V416c0 35.3-28.7 64-64 64H96c-35.3 0-64-28.7-64-64V160zm128 80c0 8.8 7.2 16 16 16H336c8.8 0 16-7.2 16-16s-7.2-16-16-16H176c-8.8 0-16 7.2-16 16z"]},Hi=$i,ms={prefix:"fas",iconName:"pen-ruler",icon:[512,512,["pencil-ruler"],"f5ae","M469.3 19.3l23.4 23.4c25 25 25 65.5 0 90.5l-56.4 56.4L322.3 75.7l56.4-56.4c25-25 65.5-25 90.5 0zM44.9 353.2L299.7 98.3 413.7 212.3 158.8 467.1c-6.7 6.7-15.1 11.6-24.2 14.2l-104 29.7c-8.4 2.4-17.4 .1-23.6-6.1s-8.5-15.2-6.1-23.6l29.7-104c2.6-9.2 7.5-17.5 14.2-24.2zM249.4 103.4L103.4 249.4 16 161.9c-18.7-18.7-18.7-49.1 0-67.9L94.1 16c18.7-18.7 49.1-18.7 67.9 0l19.8 19.8c-.3 .3-.7 .6-1 .9l-64 64c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l64-64c.3-.3 .6-.7 .9-1l45.1 45.1zM408.6 262.6l45.1 45.1c-.3 .3-.7 .6-1 .9l-64 64c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l64-64c.3-.3 .6-.7 .9-1L496 350.1c18.7 18.7 18.7 49.1 0 67.9L417.9 496c-18.7 18.7-49.1 18.7-67.9 0l-87.4-87.4L408.6 262.6z"]},Oa={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"]},$n=Oa,tn={prefix:"fas",iconName:"paintbrush",icon:[576,512,[128396,"paint-brush"],"f1fc","M371.3 367.1c27.3-3.9 51.9-19.4 67.2-42.9L600.2 74.1c12.6-19.5 9.4-45.3-7.6-61.2S549.7-4.4 531.1 9.6L294.4 187.2c-24 18-38.2 46.1-38.4 76.1L371.3 367.1zm-19.6 25.4l-116-104.4C175.9 290.3 128 339.6 128 400c0 3.9 .2 7.8 .6 11.6c1.8 17.5-10.2 36.4-27.8 36.4H96c-17.7 0-32 14.3-32 32s14.3 32 32 32H240c61.9 0 112-50.1 112-112c0-2.5-.1-5-.2-7.5z"]},sn=tn,Cn={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"]},Sd={prefix:"fas",iconName:"users",icon:[640,512,[],"f0c0","M144 160c-44.2 0-80-35.8-80-80S99.8 0 144 0s80 35.8 80 80s-35.8 80-80 80zm368 0c-44.2 0-80-35.8-80-80s35.8-80 80-80s80 35.8 80 80s-35.8 80-80 80zM0 298.7C0 239.8 47.8 192 106.7 192h42.7c15.9 0 31 3.5 44.6 9.7c-1.3 7.2-1.9 14.7-1.9 22.3c0 38.2 16.8 72.5 43.3 96c-.2 0-.4 0-.7 0H21.3C9.6 320 0 310.4 0 298.7zM405.3 320c-.2 0-.4 0-.7 0c26.6-23.5 43.3-57.8 43.3-96c0-7.6-.7-15-1.9-22.3c13.6-6.3 28.7-9.7 44.6-9.7h42.7C592.2 192 640 239.8 640 298.7c0 11.8-9.6 21.3-21.3 21.3H405.3zM416 224c0 53-43 96-96 96s-96-43-96-96s43-96 96-96s96 43 96 96zM128 485.3C128 411.7 187.7 352 261.3 352H378.7C452.3 352 512 411.7 512 485.3c0 14.7-11.9 26.7-26.7 26.7H154.7c-14.7 0-26.7-11.9-26.7-26.7z"]},kd={prefix:"fas",iconName:"eye-slash",icon:[640,512,[],"f070","M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zM223.1 149.5C248.6 126.2 282.7 112 320 112c79.5 0 144 64.5 144 144c0 24.9-6.3 48.3-17.4 68.7L408 294.5c5.2-11.8 8-24.8 8-38.5c0-53-43-96-96-96c-2.8 0-5.6 .1-8.4 .4c5.3 9.3 8.4 20.1 8.4 31.6c0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zm223.1 298L373 389.9c-16.4 6.5-34.3 10.1-53 10.1c-79.5 0-144-64.5-144-144c0-6.9 .5-13.6 1.4-20.2L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5z"]},rh={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"]},bm={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"]},td={prefix:"fas",iconName:"server",icon:[512,512,[],"f233","M64 32C28.7 32 0 60.7 0 96v64c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zM344 152c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zm96-24c0 13.3-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24zM64 288c-35.3 0-64 28.7-64 64v64c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V352c0-35.3-28.7-64-64-64H64zM344 408c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zm104-24c0 13.3-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24z"]},Jr={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"]},sd={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"]},ac={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"]},lr={prefix:"fas",iconName:"arrows-turn-right",icon:[512,512,[],"e4c0","M329.4 9.4c12.5-12.5 32.8-12.5 45.3 0l96 96c12.5 12.5 12.5 32.8 0 45.3l-96 96c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L370.7 160H160c-35.3 0-64 28.7-64 64v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V224C32 153.3 89.3 96 160 96H370.7L329.4 54.6c-12.5-12.5-12.5-32.8 0-45.3zm-96 256c12.5-12.5 32.8-12.5 45.3 0l96 96c12.5 12.5 12.5 32.8 0 45.3l-96 96c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L274.7 416H128c-17.7 0-32 14.3-32 32v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V448c0-53 43-96 96-96H274.7l-41.4-41.4c-12.5-12.5-12.5-32.8 0-45.3z"]},k0={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"]},Xh={prefix:"fas",iconName:"question",icon:[320,512,[10067,10068,61736],"3f","M96 96c-17.7 0-32 14.3-32 32s-14.3 32-32 32s-32-14.3-32-32C0 75 43 32 96 32h97c70.1 0 127 56.9 127 127c0 52.4-32.2 99.4-81 118.4l-63 24.5 0 18.1c0 17.7-14.3 32-32 32s-32-14.3-32-32V301.9c0-26.4 16.2-50.1 40.8-59.6l63-24.5C240 208.3 256 185 256 159c0-34.8-28.2-63-63-63H96zm48 384c-22.1 0-40-17.9-40-40s17.9-40 40-40s40 17.9 40 40s-17.9 40-40 40z"]},Yo={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"]},H0={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"]},vp={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"]},Zf={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"]},xp=Zf,Mp={prefix:"fas",iconName:"screwdriver-wrench",icon:[512,512,["tools"],"f7d9","M78.6 5C69.1-2.4 55.6-1.5 47 7L7 47c-8.5 8.5-9.4 22-2.1 31.6l80 104c4.5 5.9 11.6 9.4 19 9.4h54.1l109 109c-14.7 29-10 65.4 14.3 89.6l112 112c12.5 12.5 32.8 12.5 45.3 0l64-64c12.5-12.5 12.5-32.8 0-45.3l-112-112c-24.2-24.2-60.6-29-89.6-14.3l-109-109V104c0-7.5-3.5-14.5-9.4-19L78.6 5zM19.9 396.1C7.2 408.8 0 426.1 0 444.1C0 481.6 30.4 512 67.9 512c18 0 35.3-7.2 48-19.9L233.7 374.3c-7.8-20.9-9-43.6-3.6-65.1l-61.7-61.7L19.9 396.1zM512 144c0-10.5-1.1-20.7-3.2-30.5c-2.4-11.2-16.1-14.1-24.2-6l-63.9 63.9c-3 3-7.1 4.7-11.3 4.7H352c-8.8 0-16-7.2-16-16V102.6c0-4.2 1.7-8.3 4.7-11.3l63.9-63.9c8.1-8.1 5.2-21.8-6-24.2C388.7 1.1 378.5 0 368 0C288.5 0 224 64.5 224 144l0 .8 85.3 85.3c36-9.1 75.8 .5 104 28.7L429 274.5c49-23 83-72.8 83-130.5zM104 432c0 13.3-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24z"]},wp=Mp,vd={prefix:"fas",iconName:"wallet",icon:[512,512,[],"f555","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V192c0-35.3-28.7-64-64-64H80c-8.8 0-16-7.2-16-16s7.2-16 16-16H448c17.7 0 32-14.3 32-32s-14.3-32-32-32H64zM416 336c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]},yd={prefix:"fas",iconName:"code-branch",icon:[448,512,[],"f126","M80 104c13.3 0 24-10.7 24-24s-10.7-24-24-24S56 66.7 56 80s10.7 24 24 24zm80-24c0 32.8-19.7 61-48 73.3v87.8c18.8-10.9 40.7-17.1 64-17.1h96c35.3 0 64-28.7 64-64v-6.7C307.7 141 288 112.8 288 80c0-44.2 35.8-80 80-80s80 35.8 80 80c0 32.8-19.7 61-48 73.3V160c0 70.7-57.3 128-128 128H176c-35.3 0-64 28.7-64 64v6.7c28.3 12.3 48 40.5 48 73.3c0 44.2-35.8 80-80 80s-80-35.8-80-80c0-32.8 19.7-61 48-73.3V352 153.3C19.7 141 0 112.8 0 80C0 35.8 35.8 0 80 0s80 35.8 80 80zm232 0c0-13.3-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24s24-10.7 24-24zM80 456c13.3 0 24-10.7 24-24s-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24z"]},ka={prefix:"fas",iconName:"route",icon:[512,512,[],"f4d7","M416 256s96-96 96-160c0-53-43-96-96-96s-96 43-96 96c0 29.4 20.2 65.5 42.1 96H320c-53 0-96 43-96 96s43 96 96 96h96c17.7 0 32 14.3 32 32s-14.3 32-32 32H188.6c-6.2 9.6-12.6 18.8-19 27.2c-10.7 14.2-21.3 26.9-30 36.8H416c53 0 96-43 96-96s-43-96-96-96H320c-17.7 0-32-14.3-32-32s14.3-32 32-32h96zm0-128c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32zM149.9 448c21.9-30.5 42.1-66.6 42.1-96c0-53-43-96-96-96s-96 43-96 96c0 64 96 160 96 160s3.5-3.5 9.2-9.6c.4-.4 .7-.8 1.1-1.2c3.3-3.5 7.1-7.8 11.4-12.8c.2-.2 .4-.4 .6-.6c9.4-10.8 20.7-24.6 31.6-39.8zM96 384c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]},au={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM432 256c0 79.5-64.5 144-144 144s-144-64.5-144-144s64.5-144 144-144s144 64.5 144 144zM288 192c0 35.3-28.7 64-64 64c-11.5 0-22.3-3-31.6-8.4c-.2 2.8-.4 5.5-.4 8.4c0 53 43 96 96 96s96-43 96-96s-43-96-96-96c-2.8 0-5.6 .1-8.4 .4c5.3 9.3 8.4 20.1 8.4 31.6z"]},K2={prefix:"fas",iconName:"user-gear",icon:[640,512,["user-cog"],"f4fe","M224 256c-70.7 0-128-57.3-128-128S153.3 0 224 0s128 57.3 128 128s-57.3 128-128 128zm-45.7 48h91.4c11.8 0 23.4 1.2 34.5 3.3c-2.1 18.5 7.4 35.6 21.8 44.8c-16.6 10.6-26.7 31.6-20 53.3c4 12.9 9.4 25.5 16.4 37.6s15.2 23.1 24.4 33c15.7 16.9 39.6 18.4 57.2 8.7v.9c0 9.2 2.7 18.5 7.9 26.3H29.7C13.3 512 0 498.7 0 482.3C0 383.8 79.8 304 178.3 304zM436 218.2c0-7 4.5-13.3 11.3-14.8c10.5-2.4 21.5-3.7 32.7-3.7s22.2 1.3 32.7 3.7c6.8 1.5 11.3 7.8 11.3 14.8v30.6c7.9 3.4 15.4 7.7 22.3 12.8l24.9-14.3c6.1-3.5 13.7-2.7 18.5 2.4c7.6 8.1 14.3 17.2 20.1 27.2s10.3 20.4 13.5 31c2.1 6.7-1.1 13.7-7.2 17.2l-25 14.4c.4 4 .7 8.1 .7 12.3s-.2 8.2-.7 12.3l25 14.4c6.1 3.5 9.2 10.5 7.2 17.2c-3.3 10.6-7.8 21-13.5 31s-12.5 19.1-20.1 27.2c-4.8 5.1-12.5 5.9-18.5 2.4l-24.9-14.3c-6.9 5.1-14.3 9.4-22.3 12.8l0 30.6c0 7-4.5 13.3-11.3 14.8c-10.5 2.4-21.5 3.7-32.7 3.7s-22.2-1.3-32.7-3.7c-6.8-1.5-11.3-7.8-11.3-14.8V454.8c-8-3.4-15.6-7.7-22.5-12.9l-24.7 14.3c-6.1 3.5-13.7 2.7-18.5-2.4c-7.6-8.1-14.3-17.2-20.1-27.2s-10.3-20.4-13.5-31c-2.1-6.7 1.1-13.7 7.2-17.2l24.8-14.3c-.4-4.1-.7-8.2-.7-12.4s.2-8.3 .7-12.4L343.8 325c-6.1-3.5-9.2-10.5-7.2-17.2c3.3-10.6 7.7-21 13.5-31s12.5-19.1 20.1-27.2c4.8-5.1 12.4-5.9 18.5-2.4l24.8 14.3c6.9-5.1 14.5-9.4 22.5-12.9V218.2zm92.1 133.5c0-26.5-21.5-48-48.1-48s-48.1 21.5-48.1 48s21.5 48 48.1 48s48.1-21.5 48.1-48z"]},G2=K2,k_={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"]},P_=k_,W_={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-144c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]},b3=W_,G4={prefix:"fas",iconName:"dumbbell",icon:[640,512,[],"f44b","M112 96c0-17.7 14.3-32 32-32h16c17.7 0 32 14.3 32 32V224v64V416c0 17.7-14.3 32-32 32H144c-17.7 0-32-14.3-32-32V384H64c-17.7 0-32-14.3-32-32V288c-17.7 0-32-14.3-32-32s14.3-32 32-32V160c0-17.7 14.3-32 32-32h48V96zm416 0v32h48c17.7 0 32 14.3 32 32v64c17.7 0 32 14.3 32 32s-14.3 32-32 32v64c0 17.7-14.3 32-32 32H528v32c0 17.7-14.3 32-32 32H480c-17.7 0-32-14.3-32-32V288 224 96c0-17.7 14.3-32 32-32h16c17.7 0 32 14.3 32 32zM416 224v64H224V224H416z"]},E3={prefix:"fas",iconName:"money-bill-1",icon:[576,512,["money-bill-alt"],"f3d1","M64 64C28.7 64 0 92.7 0 128V384c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64H64zm64 320H64V320c35.3 0 64 28.7 64 64zM64 192V128h64c0 35.3-28.7 64-64 64zM448 384c0-35.3 28.7-64 64-64v64H448zm64-192c-35.3 0-64-28.7-64-64h64v64zM400 256c0 61.9-50.1 112-112 112s-112-50.1-112-112s50.1-112 112-112s112 50.1 112 112zM252 208c0 9.7 6.9 17.7 16 19.6V276h-4c-11 0-20 9-20 20s9 20 20 20h24 24c11 0 20-9 20-20s-9-20-20-20h-4V208c0-11-9-20-20-20H272c-11 0-20 9-20 20z"]},Hp=E3,ug={prefix:"fas",iconName:"gear",icon:[512,512,[9881,"cog"],"f013","M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336c44.2 0 80-35.8 80-80s-35.8-80-80-80s-80 35.8-80 80s35.8 80 80 80z"]},q4=ug,e_={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"]},i8={prefix:"fas",iconName:"download",icon:[512,512,[],"f019","M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V274.7l-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7V32zM64 352c-35.3 0-64 28.7-64 64v32c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V416c0-35.3-28.7-64-64-64H346.5l-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352H64zM432 456c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24z"]},f_={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"]},Ze={prefix:"fas",iconName:"arrows-turn-to-dots",icon:[512,512,[],"e4c1","M249.4 25.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3L269.3 96 416 96c53 0 96 43 96 96v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V192c0-17.7-14.3-32-32-32l-146.7 0 25.4 25.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0l-80-80c-12.5-12.5-12.5-32.8 0-45.3l80-80zm13.3 256l80 80c12.5 12.5 12.5 32.8 0 45.3l-80 80c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 416 96 416c-17.7 0-32 14.3-32 32v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V448c0-53 43-96 96-96l146.7 0-25.4-25.4c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0zM512 384c0 35.3-28.7 64-64 64s-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64zM64 64c35.3 0 64 28.7 64 64s-28.7 64-64 64s-64-28.7-64-64S28.7 64 64 64z"]},ji={prefix:"fas",iconName:"user-lock",icon:[640,512,[],"f502","M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0S96 57.3 96 128s57.3 128 128 128zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512H392.6c-5.4-9.4-8.6-20.3-8.6-32V352c0-2.1 .1-4.2 .3-6.3c-31-26-71-41.7-114.6-41.7H178.3zM528 240c17.7 0 32 14.3 32 32v48H496V272c0-17.7 14.3-32 32-32zm-80 32v48c-17.7 0-32 14.3-32 32V480c0 17.7 14.3 32 32 32H608c17.7 0 32-14.3 32-32V352c0-17.7-14.3-32-32-32V272c0-44.2-35.8-80-80-80s-80 35.8-80 80z"]},M8={prefix:"fas",iconName:"gauge-high",icon:[512,512,[62461,"tachometer-alt","tachometer-alt-fast"],"f625","M512 256c0 141.4-114.6 256-256 256S0 397.4 0 256S114.6 0 256 0S512 114.6 512 256zM288 96c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zM256 416c35.3 0 64-28.7 64-64c0-17.4-6.9-33.1-18.1-44.6L366 161.7c5.3-12.1-.2-26.3-12.3-31.6s-26.3 .2-31.6 12.3L257.9 288c-.6 0-1.3 0-1.9 0c-35.3 0-64 28.7-64 64s28.7 64 64 64zM176 144c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zM96 288c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zm352-32c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32z"]},k5=M8,A8={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"]},N5={prefix:"fas",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352c79.5 0 144-64.5 144-144s-64.5-144-144-144S64 128.5 64 208s64.5 144 144 144z"]},F5=N5,V5={prefix:"fas",iconName:"receipt",icon:[384,512,[129534],"f543","M14 2.2C22.5-1.7 32.5-.3 39.6 5.8L80 40.4 120.4 5.8c9-7.7 22.3-7.7 31.2 0L192 40.4 232.4 5.8c9-7.7 22.2-7.7 31.2 0L304 40.4 344.4 5.8c7.1-6.1 17.1-7.5 25.6-3.6s14 12.4 14 21.8V488c0 9.4-5.5 17.9-14 21.8s-18.5 2.5-25.6-3.6L304 471.6l-40.4 34.6c-9 7.7-22.2 7.7-31.2 0L192 471.6l-40.4 34.6c-9 7.7-22.3 7.7-31.2 0L80 471.6 39.6 506.2c-7.1 6.1-17.1 7.5-25.6 3.6S0 497.4 0 488V24C0 14.6 5.5 6.1 14 2.2zM96 144c-8.8 0-16 7.2-16 16s7.2 16 16 16H288c8.8 0 16-7.2 16-16s-7.2-16-16-16H96zM80 352c0 8.8 7.2 16 16 16H288c8.8 0 16-7.2 16-16s-7.2-16-16-16H96c-8.8 0-16 7.2-16 16zM96 240c-8.8 0-16 7.2-16 16s7.2 16 16 16H288c8.8 0 16-7.2 16-16s-7.2-16-16-16H96z"]},e7={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"]},t7=e7,i7={prefix:"fas",iconName:"copy",icon:[512,512,[],"f0c5","M224 0c-35.3 0-64 28.7-64 64V288c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H224zM64 160c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H288c35.3 0 64-28.7 64-64V384H288v64H64V224h64V160H64z"]},P8={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"]},g_={prefix:"fas",iconName:"xmark",icon:[320,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M310.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L160 210.7 54.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L114.7 256 9.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 301.3 265.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L205.3 256 310.6 150.6z"]},s7=g_,v7={prefix:"fas",iconName:"percent",icon:[384,512,[62101,62785,"percentage"],"25","M374.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-320 320c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l320-320zM128 128c0-35.3-28.7-64-64-64S0 92.7 0 128s28.7 64 64 64s64-28.7 64-64zM384 384c0-35.3-28.7-64-64-64s-64 28.7-64 64s28.7 64 64 64s64-28.7 64-64z"]},b7=v7,L7={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"]},O7=L7,W7={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"]},$7={prefix:"fas",iconName:"scale-balanced",icon:[640,512,[9878,"balance-scale"],"f24e","M384 32H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H398.4c-5.2 25.8-22.9 47.1-46.4 57.3V448H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H320 128c-17.7 0-32-14.3-32-32s14.3-32 32-32H288V153.3c-23.5-10.3-41.2-31.6-46.4-57.3H128c-17.7 0-32-14.3-32-32s14.3-32 32-32H256c14.6-19.4 37.8-32 64-32s49.4 12.6 64 32zM125.8 177.3L51.1 320H204.9L130.2 177.3c-.4-.8-1.3-1.3-2.2-1.3s-1.7 .5-2.2 1.3zM128 128c18.8 0 36 10.4 44.7 27l77.8 148.5c3.1 5.8 6.1 14 5.5 23.8c-.7 12.1-4.8 35.2-24.8 55.1C210.9 402.6 178.2 416 128 416s-82.9-13.4-103.2-33.5c-20-20-24.2-43-24.8-55.1c-.6-9.8 2.5-18 5.5-23.8L83.3 155c8.7-16.6 25.9-27 44.7-27zm384 48c-.9 0-1.7 .5-2.2 1.3L435.1 320H588.9L514.2 177.3c-.4-.8-1.3-1.3-2.2-1.3zm-44.7-21c8.7-16.6 25.9-27 44.7-27s36 10.4 44.7 27l77.8 148.5c3.1 5.8 6.1 14 5.5 23.8c-.7 12.1-4.8 35.2-24.8 55.1C594.9 402.6 562.2 416 512 416s-82.9-13.4-103.2-33.5c-20-20-24.2-43-24.8-55.1c-.6-9.8 2.5-18 5.5-23.8L467.3 155z"]},ev=$7,N8={prefix:"fas",iconName:"triangle-exclamation",icon:[512,512,[9888,"exclamation-triangle","warning"],"f071","M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480H40c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24V296c0 13.3 10.7 24 24 24s24-10.7 24-24V184c0-13.3-10.7-24-24-24zm32 224c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32z"]},dv=N8,hv={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"]},uv=hv,Ev={prefix:"fas",iconName:"user-clock",icon:[640,512,[],"f4fd","M224 256c-70.7 0-128-57.3-128-128S153.3 0 224 0s128 57.3 128 128s-57.3 128-128 128zm-45.7 48h91.4c20.6 0 40.4 3.5 58.8 9.9C323 331 320 349.1 320 368c0 59.5 29.5 112.1 74.8 144H29.7C13.3 512 0 498.7 0 482.3C0 383.8 79.8 304 178.3 304zM640 368c0 79.5-64.5 144-144 144s-144-64.5-144-144s64.5-144 144-144s144 64.5 144 144zM496 288c-8.8 0-16 7.2-16 16v64c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16s-7.2-16-16-16H512V304c0-8.8-7.2-16-16-16z"]}},3599:(Ge,X,f)=>{"use strict";f.d(X,{eX:()=>Le,sQ:()=>St,GW:()=>i,l4:()=>Ye});var L,Je,e=f(9263),t=f(833),_=f(6646),S=f(253),l=f(23),D=f(591),d=f(745),P=f(5474),p=f(2971);(Je=L||(L={})).NEXT="N",Je.ERROR="E",Je.COMPLETE="C";class M{constructor(me,K,J){this.kind=me,this.value=K,this.error=J,this.hasValue="N"===me}observe(me){return k(this,me)}do(me,K,J){const{kind:Ce,value:We,error:Mt}=this;return"N"===Ce?me?.(We):"E"===Ce?K?.(Mt):J?.()}accept(me,K,J){var Ce;return(0,p.m)(null===(Ce=me)||void 0===Ce?void 0:Ce.next)?this.observe(me):this.do(me,K,J)}toObservable(){const{kind:me,value:K,error:J}=this,Ce="N"===me?(0,d.of)(K):"E"===me?(0,P._)(()=>J):"C"===me?D.E:0;if(!Ce)throw new TypeError(`Unexpected notification kind ${me}`);return Ce}static createNext(me){return new M("N",me)}static createError(me){return new M("E",void 0,me)}static createComplete(){return M.completeNotification}}function k(Je,me){var K,J,Ce;const{kind:We,value:Mt,error:Tt}=Je;if("string"!=typeof We)throw new TypeError('Invalid notification, missing "kind"');"N"===We?null===(K=me.next)||void 0===K||K.call(me,Mt):"E"===We?null===(J=me.error)||void 0===J||J.call(me,Tt):null===(Ce=me.complete)||void 0===Ce||Ce.call(me)}M.completeNotification=new M("C");var E=f(1944),z=f(3945);var V=f(635),Z=f(3158),q=f(116),te=f(4987);function ne(Je,me,K,J){return(0,E.e)((Ce,We)=>{let Mt;me&&"function"!=typeof me?({duration:K,element:Mt,connector:J}=me):Mt=me;const Tt=new Map,Nt=Lt=>{Tt.forEach(Lt),Lt(We)},at=Lt=>Nt(Kt=>Kt.error(Lt));let Ke=0,vt=!1;const ri=new z.Q(We,Lt=>{try{const Kt=Je(Lt);let Ae=Tt.get(Kt);if(!Ae){Tt.set(Kt,Ae=J?J():new S.x);const fe=function Pt(Lt,Kt){const Ae=new t.y(fe=>{Ke++;const st=Kt.subscribe(fe);return()=>{st.unsubscribe(),0==--Ke&&vt&&ri.unsubscribe()}});return Ae.key=Lt,Ae}(Kt,Ae);if(We.next(fe),K){const st=(0,z.x)(Ae,()=>{Ae.complete(),st?.unsubscribe()},void 0,void 0,()=>Tt.delete(Kt));ri.add((0,te.Xf)(K(fe)).subscribe(st))}}Ae.next(Mt?Mt(Lt):Lt)}catch(Kt){at(Kt)}},()=>Nt(Lt=>Lt.complete()),at,()=>Tt.clear(),()=>(vt=!0,0===Ke));Ce.subscribe(ri)})}var le=f(9525);function re(Je,me){return me?K=>K.pipe(re((J,Ce)=>(0,te.Xf)(Je(J,Ce)).pipe((0,V.U)((We,Mt)=>me(J,We,Ce,Mt))))):(0,E.e)((K,J)=>{let Ce=0,We=null,Mt=!1;K.subscribe((0,z.x)(J,Tt=>{We||(We=(0,z.x)(J,void 0,()=>{We=null,Mt&&J.complete()}),(0,te.Xf)(Je(Tt,Ce++)).subscribe(We))},()=>{Mt=!0,!We&&J.complete()}))})}var he=f(9295),ae=f(2560);const ve={dispatch:!0,useEffectsErrorHandler:!0},T="__@ngrx/effects_create__";function i(Je,me){const K=Je(),J={...ve,...me};return Object.defineProperty(K,T,{value:J}),K}function o(Je){return Object.getOwnPropertyNames(Je).filter(J=>!(!Je[J]||!Je[J].hasOwnProperty(T))&&Je[J][T].hasOwnProperty("dispatch")).map(J=>({propertyName:J,...Je[J][T]}))}function m(Je){return Object.getPrototypeOf(Je)}const h="__@ngrx/effects__";function A(Je){return(0,e.qC)(a,m)(Je)}function R(Je){return Je.constructor.hasOwnProperty(h)}function a(Je){return R(Je)?Je.constructor[h]:[]}function U(Je){return[A,o].reduce((K,J)=>K.concat(J(Je)),[])}function N(Je,me,K){const J=m(Je).constructor.name,Ce=U(Je).map(({propertyName:We,dispatch:Mt,useEffectsErrorHandler:Tt})=>{const Nt="function"==typeof Je[We]?Je[We]():Je[We],at=Tt?K(Nt,me):Nt;return!1===Mt?at.pipe((0,l.l)()):at.pipe(function I(){return(0,E.e)((Je,me)=>{Je.subscribe((0,z.x)(me,K=>{me.next(M.createNext(K))},()=>{me.next(M.createComplete()),me.complete()},K=>{me.next(M.createError(K)),me.complete()}))})}()).pipe((0,V.U)(vt=>({effect:Je[We],notification:vt,propertyName:We,sourceName:J,sourceInstance:Je})))});return(0,_.T)(...Ce)}function Pe(Je,me,K=10){return Je.pipe((0,Z.K)(J=>(me&&me.handleError(J),K<=1?Je:Pe(Je,me,K-1))))}class Le extends t.y{constructor(me){super(),me&&(this.source=me)}lift(me){const K=new Le;return K.source=this,K.operator=me,K}}function Ye(...Je){return(0,q.h)(me=>Je.some(K=>"string"==typeof K?K===me.type:K.type===me.type))}Le.\u0275fac=function(me){return new(me||Le)(ae.LFG(e.Y$))},Le.\u0275prov=ae.Yz7({token:Le,factory:Le.\u0275fac,providedIn:"root"});const $e=new ae.OlP("@ngrx/effects Internal Root Guard"),Ve=new ae.OlP("@ngrx/effects User Provided Effects"),be=new ae.OlP("@ngrx/effects Internal Root Effects"),et=new ae.OlP("@ngrx/effects Root Effects"),je=new ae.OlP("@ngrx/effects Internal Feature Effects"),ye=new ae.OlP("@ngrx/effects Feature Effects"),Te=new ae.OlP("@ngrx/effects Effects Error Handler",{providedIn:"root",factory:()=>Pe}),He="@ngrx/effects/init";(0,e.PH)(He);function we(Je,me){if("N"===Je.notification.kind){const K=Je.notification.value;!function de(Je){return"function"!=typeof Je&&Je&&Je.type&&"string"==typeof Je.type}(K)&&me.handleError(new Error(`Effect ${function Me({propertyName:Je,sourceInstance:me,sourceName:K}){const J="function"==typeof me[Je];return`"${K}.${String(Je)}${J?"()":""}"`}(Je)} dispatched an invalid action: ${function ie(Je){try{return JSON.stringify(Je)}catch{return Je}}(K)}`))}}function bt(Je){return Be(Je,"ngrxOnInitEffects")}function Be(Je,me){return Je&&me in Je&&"function"==typeof Je[me]}class nt extends S.x{constructor(me,K){super(),this.errorHandler=me,this.effectsErrorHandler=K}addEffects(me){this.next(me)}toActions(){return this.pipe(ne(m),(0,le.z)(me=>me.pipe(ne($t))),(0,le.z)(me=>{const K=me.pipe(re(Ce=>function gt(Je,me){return K=>{const J=N(K,Je,me);return function Ue(Je){return Be(Je,"ngrxOnRunEffects")}(K)?K.ngrxOnRunEffects(J):J}}(this.errorHandler,this.effectsErrorHandler)(Ce)),(0,V.U)(Ce=>(we(Ce,this.errorHandler),Ce.notification)),(0,q.h)(Ce=>"N"===Ce.kind&&null!=Ce.value),function _e(){return(0,E.e)((Je,me)=>{Je.subscribe((0,z.x)(me,K=>k(K,me)))})}()),J=me.pipe((0,he.q)(1),(0,q.h)(bt),(0,V.U)(Ce=>Ce.ngrxOnInitEffects()));return(0,_.T)(K,J)}))}}function $t(Je){return function $(Je){return Be(Je,"ngrxOnIdentifyEffects")}(Je)?Je.ngrxOnIdentifyEffects():""}nt.\u0275fac=function(me){return new(me||nt)(ae.LFG(ae.qLn),ae.LFG(Te))},nt.\u0275prov=ae.Yz7({token:nt,factory:nt.\u0275fac,providedIn:"root"});class rt{constructor(me,K){this.effectSources=me,this.store=K,this.effectsSubscription=null}get isStarted(){return!!this.effectsSubscription}start(){this.effectsSubscription||(this.effectsSubscription=this.effectSources.toActions().subscribe(this.store))}ngOnDestroy(){this.effectsSubscription&&(this.effectsSubscription.unsubscribe(),this.effectsSubscription=null)}}rt.\u0275fac=function(me){return new(me||rt)(ae.LFG(nt),ae.LFG(e.yh))},rt.\u0275prov=ae.Yz7({token:rt,factory:rt.\u0275fac,providedIn:"root"});class Re{constructor(me,K,J,Ce,We,Mt,Tt){this.sources=me,K.start(),Ce.forEach(Nt=>me.addEffects(Nt)),J.dispatch({type:He})}addEffects(me){this.sources.addEffects(me)}}Re.\u0275fac=function(me){return new(me||Re)(ae.LFG(nt),ae.LFG(rt),ae.LFG(e.yh),ae.LFG(et),ae.LFG(e.cr,8),ae.LFG(e.CK,8),ae.LFG($e,8))},Re.\u0275mod=ae.oAB({type:Re}),Re.\u0275inj=ae.cJS({});class ot{constructor(me,K,J,Ce){K.forEach(We=>We.forEach(Mt=>me.addEffects(Mt)))}}ot.\u0275fac=function(me){return new(me||ot)(ae.LFG(Re),ae.LFG(ye),ae.LFG(e.cr,8),ae.LFG(e.CK,8))},ot.\u0275mod=ae.oAB({type:ot}),ot.\u0275inj=ae.cJS({});class St{static forFeature(me=[]){return{ngModule:ot,providers:[me,{provide:je,multi:!0,useValue:me},{provide:Ve,multi:!0,useValue:[]},{provide:ye,multi:!0,useFactory:gi,deps:[ae.zs3,je,Ve]}]}}static forRoot(me=[]){return{ngModule:Re,providers:[me,{provide:be,useValue:[me]},{provide:$e,useFactory:ei,deps:[[rt,new ae.FiY,new ae.tp0],[be,new ae.PiD]]},{provide:Ve,multi:!0,useValue:[]},{provide:et,useFactory:gi,deps:[ae.zs3,be,Ve]}]}}}function gi(Je,me,K){const J=[];for(const Ce of me)J.push(...Ce);for(const Ce of K)J.push(...Ce);return function oi(Je,me){return me.map(K=>Je.get(K))}(Je,J)}function ei(Je,me){if((1!==me.length||0!==me[0].length)&&Je)throw new TypeError("EffectsModule.forRoot() called twice. Feature modules should use EffectsModule.forFeature() instead.");return"guarded"}St.\u0275fac=function(me){return new(me||St)},St.\u0275mod=ae.oAB({type:St}),St.\u0275inj=ae.cJS({})},5242:(__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__(2560),_ngrx_store__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(9263),rxjs__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(591),rxjs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(833),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(745),rxjs__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(6646),rxjs__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(4915),rxjs__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(6067),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(1203),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(116),rxjs_operators__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(635),rxjs_operators__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(3853),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(7580),rxjs_operators__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(1989),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(3158),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(9295),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(8951),rxjs_operators__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(2673),rxjs_operators__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(7260),rxjs_operators__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(8728),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(538),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(4351);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(X,f){if(this.action=X,this.timestamp=f,this.type=PERFORM_ACTION,typeof X.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(X){this.timestamp=X,this.type=RESET}}class Rollback{constructor(X){this.timestamp=X,this.type=ROLLBACK}}class Commit{constructor(X){this.timestamp=X,this.type=COMMIT}}class Sweep{constructor(){this.type=SWEEP}}class ToggleAction{constructor(X){this.id=X,this.type=TOGGLE_ACTION}}class SetActionsActive{constructor(X,f,e=!0){this.start=X,this.end=f,this.active=e,this.type=SET_ACTIONS_ACTIVE}}class JumpToState{constructor(X){this.index=X,this.type=JUMP_TO_STATE}}class JumpToAction{constructor(X){this.actionId=X,this.type=JUMP_TO_ACTION}}class ImportState{constructor(X){this.nextLiftedState=X,this.type=IMPORT_STATE}}class LockChanges{constructor(X){this.status=X,this.type=LOCK_CHANGES}}class PauseRecording{constructor(X){this.status=X,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(Ge){const X={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}},f="function"==typeof Ge?Ge():Ge,e=!!f.logOnly&&{pause:!0,export:!0,test:!0},t=f.features||e||X.features,_=Object.assign({},X,{features:t},f);if(_.maxAge&&_.maxAge<2)throw new Error(`Devtools 'maxAge' cannot be less than 2, got ${_.maxAge}`);return _}function difference(Ge,X){return Ge.filter(f=>X.indexOf(f)<0)}function unliftState(Ge){const{computedStates:X,currentStateIndex:f}=Ge;if(f>=X.length){const{state:t}=X[X.length-1];return t}const{state:e}=X[f];return e}function unliftAction(Ge){return Ge.actionsById[Ge.nextActionId-1]}function liftAction(Ge){return new PerformAction(Ge,+Date.now())}function sanitizeActions(Ge,X){return Object.keys(X).reduce((f,e)=>{const t=Number(e);return f[t]=sanitizeAction(Ge,X[t],t),f},{})}function sanitizeAction(Ge,X,f){return{...X,action:Ge(X.action,f)}}function sanitizeStates(Ge,X){return X.map((f,e)=>({state:sanitizeState(Ge,f.state,e),error:f.error}))}function sanitizeState(Ge,X,f){return Ge(X,f)}function shouldFilterActions(Ge){return Ge.predicate||Ge.actionsSafelist||Ge.actionsBlocklist}function filterLiftedState(Ge,X,f,e){const t=[],_={},S=[];return Ge.stagedActionIds.forEach((l,D)=>{const d=Ge.actionsById[l];!d||D&&isActionFiltered(Ge.computedStates[D],d,X,f,e)||(_[l]=d,t.push(l),S.push(Ge.computedStates[D]))}),{...Ge,stagedActionIds:t,actionsById:_,computedStates:S}}function isActionFiltered(Ge,X,f,e,t){const _=f&&!f(Ge,X.action),S=e&&!X.action.type.match(e.map(D=>escapeRegExp(D)).join("|")),l=t&&X.action.type.match(t.map(D=>escapeRegExp(D)).join("|"));return _||S||l}function escapeRegExp(Ge){return Ge.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}class DevtoolsDispatcher extends _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.UO{}DevtoolsDispatcher.\u0275fac=function(){let Ge;return function(f){return(Ge||(Ge=_angular_core__WEBPACK_IMPORTED_MODULE_0__.n5z(DevtoolsDispatcher)))(f||DevtoolsDispatcher)}}(),DevtoolsDispatcher.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:DevtoolsDispatcher,factory:DevtoolsDispatcher.\u0275fac});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");class DevtoolsExtension{constructor(Ge,X,f){this.config=X,this.dispatcher=f,this.devtoolsExtension=Ge,this.createActionStreams()}notify(Ge,X){if(this.devtoolsExtension)if(Ge.type===PERFORM_ACTION){if(X.isLocked||X.isPaused)return;const f=unliftState(X);if(shouldFilterActions(this.config)&&isActionFiltered(f,Ge,this.config.predicate,this.config.actionsSafelist,this.config.actionsBlocklist))return;const e=this.config.stateSanitizer?sanitizeState(this.config.stateSanitizer,f,X.currentStateIndex):f,t=this.config.actionSanitizer?sanitizeAction(this.config.actionSanitizer,Ge,X.nextActionId):Ge;this.sendToReduxDevtools(()=>this.extensionConnection.send(t,e))}else{const f={...X,stagedActionIds:X.stagedActionIds,actionsById:this.config.actionSanitizer?sanitizeActions(this.config.actionSanitizer,X.actionsById):X.actionsById,computedStates:this.config.stateSanitizer?sanitizeStates(this.config.stateSanitizer,X.computedStates):X.computedStates};this.sendToReduxDevtools(()=>this.devtoolsExtension.send(null,f,this.getExtensionConfig(this.config)))}}createChangesObservable(){return this.devtoolsExtension?new rxjs__WEBPACK_IMPORTED_MODULE_3__.y(Ge=>{const X=this.devtoolsExtension.connect(this.getExtensionConfig(this.config));return this.extensionConnection=X,X.init(),X.subscribe(f=>Ge.next(f)),X.unsubscribe}):rxjs__WEBPACK_IMPORTED_MODULE_2__.E}createActionStreams(){const Ge=this.createChangesObservable().pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.B)()),X=Ge.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(l=>l.type===ExtensionActionTypes.START)),f=Ge.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(l=>l.type===ExtensionActionTypes.STOP)),e=Ge.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(l=>l.type===ExtensionActionTypes.DISPATCH),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(l=>this.unwrapAction(l.payload)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.b)(l=>l.type===IMPORT_STATE?this.dispatcher.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(D=>D.type===_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.wb),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.V)(1e3),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.b)(1e3),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(()=>l),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.K)(()=>(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.of)(l)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.q)(1)):(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.of)(l))),_=Ge.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(l=>l.type===ExtensionActionTypes.ACTION),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(l=>this.unwrapAction(l.payload))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.R)(f)),S=e.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.R)(f));this.start$=X.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.R)(f)),this.actions$=this.start$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.w)(()=>_)),this.liftedActions$=this.start$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.w)(()=>S))}unwrapAction(action){return"string"==typeof action?eval(`(${action})`):action}getExtensionConfig(Ge){const X={name:Ge.name,features:Ge.features,serialize:Ge.serialize,autoPause:Ge.autoPause??!1,trace:Ge.trace??!1,traceLimit:Ge.traceLimit??75};return!1!==Ge.maxAge&&(X.maxAge=Ge.maxAge),X}sendToReduxDevtools(Ge){try{Ge()}catch(X){console.warn("@ngrx/store-devtools: something went wrong inside the redux devtools",X)}}}DevtoolsExtension.\u0275fac=function Ge(X){return new(X||DevtoolsExtension)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(REDUX_DEVTOOLS_EXTENSION),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(STORE_DEVTOOLS_CONFIG),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(DevtoolsDispatcher))},DevtoolsExtension.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:DevtoolsExtension,factory:DevtoolsExtension.\u0275fac});const INIT_ACTION={type:_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.qg},RECOMPUTE="@ngrx/store-devtools/recompute",RECOMPUTE_ACTION={type:RECOMPUTE};function computeNextEntry(Ge,X,f,e,t){if(e)return{state:f,error:"Interrupted by an error up the chain"};let S,_=f;try{_=Ge(f,X)}catch(l){S=l.toString(),t.handleError(l)}return{state:_,error:S}}function recomputeStates(Ge,X,f,e,t,_,S,l,D){if(X>=Ge.length&&Ge.length===_.length)return Ge;const d=Ge.slice(0,X),P=_.length-(D?1:0);for(let p=X;p<P;p++){const L=_[p],M=t[L].action,k=d[p-1],E=k?k.state:e,z=k?k.error:void 0,V=S.indexOf(L)>-1?k:computeNextEntry(f,M,E,z,l);d.push(V)}return D&&d.push(Ge[Ge.length-1]),d}function liftInitialState(Ge,X){return{monitorState:X(void 0,{}),nextActionId:1,actionsById:{0:liftAction(INIT_ACTION)},stagedActionIds:[0],skippedActionIds:[],committedState:Ge,currentStateIndex:0,computedStates:[],isLocked:!1,isPaused:!1}}function liftReducerWith(Ge,X,f,e,t={}){return _=>(S,l)=>{let{monitorState:D,actionsById:d,nextActionId:P,stagedActionIds:p,skippedActionIds:L,committedState:M,currentStateIndex:k,computedStates:E,isLocked:z,isPaused:I}=S||X;function V(te){let ne=te,le=p.slice(1,ne+1);for(let re=0;re<le.length;re++){if(E[re+1].error){ne=re,le=p.slice(1,ne+1);break}delete d[le[re]]}L=L.filter(re=>-1===le.indexOf(re)),p=[0,...p.slice(ne+1)],M=E[ne].state,E=E.slice(ne),k=k>ne?k-ne:0}function Z(){d={0:liftAction(INIT_ACTION)},P=1,p=[0],L=[],M=E[k].state,k=0,E=[]}S||(d=Object.create(d));let q=0;switch(l.type){case LOCK_CHANGES:z=l.status,q=1/0;break;case PAUSE_RECORDING:I=l.status,I?(p=[...p,P],d[P]=new PerformAction({type:"@ngrx/devtools/pause"},+Date.now()),P++,q=p.length-1,E=E.concat(E[E.length-1]),k===p.length-2&&k++,q=1/0):Z();break;case RESET:d={0:liftAction(INIT_ACTION)},P=1,p=[0],L=[],M=Ge,k=0,E=[];break;case COMMIT:Z();break;case ROLLBACK:d={0:liftAction(INIT_ACTION)},P=1,p=[0],L=[],k=0,E=[];break;case TOGGLE_ACTION:{const{id:te}=l;L=-1===L.indexOf(te)?[te,...L]:L.filter(le=>le!==te),q=p.indexOf(te);break}case SET_ACTIONS_ACTIVE:{const{start:te,end:ne,active:le}=l,re=[];for(let _e=te;_e<ne;_e++)re.push(_e);L=le?difference(L,re):[...L,...re],q=p.indexOf(te);break}case JUMP_TO_STATE:k=l.index,q=1/0;break;case JUMP_TO_ACTION:{const te=p.indexOf(l.actionId);-1!==te&&(k=te),q=1/0;break}case SWEEP:p=difference(p,L),L=[],k=Math.min(k,p.length-1);break;case PERFORM_ACTION:{if(z)return S||X;if(I||S&&isActionFiltered(S.computedStates[k],l,t.predicate,t.actionsSafelist,t.actionsBlocklist)){const ne=E[E.length-1];E=[...E.slice(0,-1),computeNextEntry(_,l.action,ne.state,ne.error,f)],q=1/0;break}t.maxAge&&p.length===t.maxAge&&V(1),k===p.length-1&&k++;const te=P++;d[te]=l,p=[...p,te],q=p.length-1;break}case IMPORT_STATE:({monitorState:D,actionsById:d,nextActionId:P,stagedActionIds:p,skippedActionIds:L,committedState:M,currentStateIndex:k,computedStates:E,isLocked:z,isPaused:I}=l.nextLiftedState);break;case _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.qg:q=0,t.maxAge&&p.length>t.maxAge&&(E=recomputeStates(E,q,_,M,d,p,L,f,I),V(p.length-t.maxAge),q=1/0);break;case _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.wb:if(E.filter(ne=>ne.error).length>0)q=0,t.maxAge&&p.length>t.maxAge&&(E=recomputeStates(E,q,_,M,d,p,L,f,I),V(p.length-t.maxAge),q=1/0);else{if(!I&&!z){k===p.length-1&&k++;const ne=P++;d[ne]=new PerformAction(l,+Date.now()),p=[...p,ne],q=p.length-1,E=recomputeStates(E,q,_,M,d,p,L,f,I)}E=E.map(ne=>({...ne,state:_(ne.state,RECOMPUTE_ACTION)})),k=p.length-1,t.maxAge&&p.length>t.maxAge&&V(p.length-t.maxAge),q=1/0}break;default:q=1/0}return E=recomputeStates(E,q,_,M,d,p,L,f,I),D=e(D,l),{monitorState:D,actionsById:d,nextActionId:P,stagedActionIds:p,skippedActionIds:L,committedState:M,currentStateIndex:k,computedStates:E,isLocked:z,isPaused:I}}}class StoreDevtools{constructor(X,f,e,t,_,S,l,D){const d=liftInitialState(l,D.monitor),P=liftReducerWith(l,d,S,D.monitor,D),p=(0,rxjs__WEBPACK_IMPORTED_MODULE_15__.T)((0,rxjs__WEBPACK_IMPORTED_MODULE_15__.T)(f.asObservable().pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_16__.T)(1)),t.actions$).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(liftAction)),X,t.liftedActions$).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.Q)(rxjs__WEBPACK_IMPORTED_MODULE_18__.N)),L=e.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(P)),M=new rxjs__WEBPACK_IMPORTED_MODULE_19__.t(1),k=p.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.M)(L),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.R)(({state:V},[Z,q])=>{let te=q(V,Z);return Z.type!==PERFORM_ACTION&&shouldFilterActions(D)&&(te=filterLiftedState(te,D.predicate,D.actionsSafelist,D.actionsBlocklist)),t.notify(Z,te),{state:te,action:Z}},{state:d,action:null})).subscribe(({state:V,action:Z})=>{if(M.next(V),Z.type===PERFORM_ACTION){const q=Z.action;_.next(q)}}),E=t.start$.subscribe(()=>{this.refresh()}),z=M.asObservable(),I=z.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(unliftState));this.extensionStartSubscription=E,this.stateSubscription=k,this.dispatcher=X,this.liftedState=z,this.state=I}dispatch(X){this.dispatcher.next(X)}next(X){this.dispatcher.next(X)}error(X){}complete(){}performAction(X){this.dispatch(new PerformAction(X,+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(X){this.dispatch(new ToggleAction(X))}jumpToAction(X){this.dispatch(new JumpToAction(X))}jumpToState(X){this.dispatch(new JumpToState(X))}importState(X){this.dispatch(new ImportState(X))}lockChanges(X){this.dispatch(new LockChanges(X))}pauseRecording(X){this.dispatch(new PauseRecording(X))}}StoreDevtools.\u0275fac=function Ge(X){return new(X||StoreDevtools)(_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))},StoreDevtools.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:StoreDevtools,factory:StoreDevtools.\u0275fac});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(Ge,X){return Boolean(Ge)||X.monitor!==noMonitor}function createReduxDevtoolsExtension(){const Ge="__REDUX_DEVTOOLS_EXTENSION__";return"object"==typeof window&&typeof window[Ge]<"u"?window[Ge]:null}function provideStoreDevtools(Ge={}){return(0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.MR2)([DevtoolsExtension,DevtoolsDispatcher,StoreDevtools,{provide:INITIAL_OPTIONS,useValue:Ge},{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(Ge){return Ge.state}class StoreDevtoolsModule{static instrument(X={}){return{ngModule:StoreDevtoolsModule,providers:[provideStoreDevtools(X)]}}}StoreDevtoolsModule.\u0275fac=function Ge(X){return new(X||StoreDevtoolsModule)},StoreDevtoolsModule.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_0__.oAB({type:StoreDevtoolsModule}),StoreDevtoolsModule.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_0__.cJS({})},9263:(Ge,X,f)=>{"use strict";f.d(X,{UO:()=>he,qg:()=>_e,Y6:()=>i,mK:()=>Me,n$:()=>de,Y$:()=>ze,FR:()=>oe,yh:()=>$t,CK:()=>Zn,Aw:()=>Kn,cr:()=>gn,wb:()=>ie,qC:()=>He,PH:()=>z,ZF:()=>Lt,Lq:()=>br,P1:()=>vt,on:()=>Ua,Ky:()=>I});var e=f(2560),t=f(6317),_=f(833),S=f(253),l=f(4915),D=f(8728),d=f(538),P=f(4351),p=f(635);var M=f(8977);const k={};function z(Ot,Wt){if(k[Ot]=(k[Ot]||0)+1,"function"==typeof Wt)return Z(Ot,(...Ti)=>({...Wt(...Ti),type:Ot}));switch(Wt?Wt._as:"empty"){case"empty":return Z(Ot,()=>({type:Ot}));case"props":return Z(Ot,Ti=>({...Ti,type:Ot}));default:throw new Error("Unexpected config.")}}function I(){return{_as:"props",_p:void 0}}function Z(Ot,Wt){return Object.defineProperty(Wt,"type",{value:Ot,writable:!1})}const _e="@ngrx/store/init";class he extends t.X{constructor(){super({type:_e})}next(Wt){if("function"==typeof Wt)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 Wt>"u")throw new TypeError("Actions must be objects");if(typeof Wt.type>"u")throw new TypeError("Actions must have a type property");super.next(Wt)}complete(){}ngOnDestroy(){super.complete()}}he.\u0275fac=function(Wt){return new(Wt||he)},he.\u0275prov=e.Yz7({token:he,factory:he.\u0275fac});const ae=[he],ve=new e.OlP("@ngrx/store Internal Root Guard"),T=new e.OlP("@ngrx/store Internal Initial State"),i=new e.OlP("@ngrx/store Initial State"),o=new e.OlP("@ngrx/store Reducer Factory"),m=new e.OlP("@ngrx/store Internal Reducer Factory Provider"),h=new e.OlP("@ngrx/store Initial Reducers"),y=new e.OlP("@ngrx/store Internal Initial Reducers"),A=new e.OlP("@ngrx/store Store Features"),R=new e.OlP("@ngrx/store Internal Store Reducers"),v=new e.OlP("@ngrx/store Internal Feature Reducers"),a=new e.OlP("@ngrx/store Internal Feature Configs"),C=new e.OlP("@ngrx/store Internal Store Features"),U=new e.OlP("@ngrx/store Internal Feature Reducers Token"),N=new e.OlP("@ngrx/store Feature Reducers"),Q=new e.OlP("@ngrx/store User Provided Meta Reducers"),Pe=new e.OlP("@ngrx/store Meta Reducers"),Le=new e.OlP("@ngrx/store Internal Resolved Meta Reducers"),Ye=new e.OlP("@ngrx/store User Runtime Checks Config"),$e=new e.OlP("@ngrx/store Internal User Runtime Checks Config"),Ve=new e.OlP("@ngrx/store Internal Runtime Checks"),be=new e.OlP("@ngrx/store Check if Action types are unique"),et=new e.OlP("@ngrx/store Root Store Provider"),je=new e.OlP("@ngrx/store Feature State Provider");function ye(Ot,Wt={}){const ui=Object.keys(Ot),Ti={};for(let Hi=0;Hi<ui.length;Hi++){const cn=ui[Hi];"function"==typeof Ot[cn]&&(Ti[cn]=Ot[cn])}const $i=Object.keys(Ti);return function(cn,aa){cn=void 0===cn?Wt:cn;let Ln=!1;const ea={};for(let Dn=0;Dn<$i.length;Dn++){const Jn=$i[Dn],Ia=Ti[Jn],Gn=cn[Jn],Pa=Ia(Gn,aa);ea[Jn]=Pa,Ln=Ln||Pa!==Gn}return Ln?ea:cn}}function He(...Ot){return function(Wt){if(0===Ot.length)return Wt;const ui=Ot[Ot.length-1];return Ot.slice(0,-1).reduceRight(($i,Hi)=>Hi($i),ui(Wt))}}function Ee(Ot,Wt){return Array.isArray(Wt)&&Wt.length>0&&(Ot=He.apply(null,[...Wt,Ot])),(ui,Ti)=>{const $i=Ot(ui);return(Hi,cn)=>$i(Hi=void 0===Hi?Ti:Hi,cn)}}class de extends _.y{}class Me extends he{}const ie="@ngrx/store/update-reducers";class G extends t.X{constructor(Wt,ui,Ti,$i){super($i(Ti,ui)),this.dispatcher=Wt,this.initialState=ui,this.reducers=Ti,this.reducerFactory=$i}get currentReducers(){return this.reducers}addFeature(Wt){this.addFeatures([Wt])}addFeatures(Wt){const ui=Wt.reduce((Ti,{reducers:$i,reducerFactory:Hi,metaReducers:cn,initialState:aa,key:Ln})=>{const ea="function"==typeof $i?function we(Ot){const Wt=Array.isArray(Ot)&&Ot.length>0?He(...Ot):ui=>ui;return(ui,Ti)=>(ui=Wt(ui),($i,Hi)=>ui($i=void 0===$i?Ti:$i,Hi))}(cn)($i,aa):Ee(Hi,cn)($i,aa);return Ti[Ln]=ea,Ti},{});this.addReducers(ui)}removeFeature(Wt){this.removeFeatures([Wt])}removeFeatures(Wt){this.removeReducers(Wt.map(ui=>ui.key))}addReducer(Wt,ui){this.addReducers({[Wt]:ui})}addReducers(Wt){this.reducers={...this.reducers,...Wt},this.updateReducers(Object.keys(Wt))}removeReducer(Wt){this.removeReducers([Wt])}removeReducers(Wt){Wt.forEach(ui=>{this.reducers=function Te(Ot,Wt){return Object.keys(Ot).filter(ui=>ui!==Wt).reduce((ui,Ti)=>Object.assign(ui,{[Ti]:Ot[Ti]}),{})}(this.reducers,ui)}),this.updateReducers(Wt)}updateReducers(Wt){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:ie,features:Wt})}ngOnDestroy(){this.complete()}}G.\u0275fac=function(Wt){return new(Wt||G)(e.LFG(Me),e.LFG(i),e.LFG(h),e.LFG(o))},G.\u0275prov=e.Yz7({token:G,factory:G.\u0275fac});const $=[G,{provide:de,useExisting:G},{provide:Me,useExisting:he}];class ze extends S.x{ngOnDestroy(){this.complete()}}ze.\u0275fac=function(){let Ot;return function(ui){return(Ot||(Ot=e.n5z(ze)))(ui||ze)}}(),ze.\u0275prov=e.Yz7({token:ze,factory:ze.\u0275fac});const Ue=[ze];class oe extends _.y{}class bt extends t.X{constructor(Wt,ui,Ti,$i){super($i);const aa={state:$i},Ln=Wt.pipe((0,D.Q)(l.N)).pipe((0,d.M)(ui)).pipe((0,P.R)(Be,aa));this.stateSubscription=Ln.subscribe(({state:ea,action:Dn})=>{this.next(ea),Ti.next(Dn)})}ngOnDestroy(){this.stateSubscription.unsubscribe(),this.complete()}}function Be(Ot={state:void 0},[Wt,ui]){const{state:Ti}=Ot;return{state:ui(Ti,Wt),action:Wt}}bt.INIT=_e,bt.\u0275fac=function(Wt){return new(Wt||bt)(e.LFG(he),e.LFG(de),e.LFG(ze),e.LFG(i))},bt.\u0275prov=e.Yz7({token:bt,factory:bt.\u0275fac});const nt=[bt,{provide:oe,useExisting:bt}];class $t extends _.y{constructor(Wt,ui,Ti){super(),this.actionsObserver=ui,this.reducerManager=Ti,this.source=Wt}select(Wt,...ui){return rt.call(null,Wt,...ui)(this)}lift(Wt){const ui=new $t(this,this.actionsObserver,this.reducerManager);return ui.operator=Wt,ui}dispatch(Wt){this.actionsObserver.next(Wt)}next(Wt){this.actionsObserver.next(Wt)}error(Wt){this.actionsObserver.error(Wt)}complete(){this.actionsObserver.complete()}addReducer(Wt,ui){this.reducerManager.addReducer(Wt,ui)}removeReducer(Wt){this.reducerManager.removeReducer(Wt)}}$t.\u0275fac=function(Wt){return new(Wt||$t)(e.LFG(oe),e.LFG(he),e.LFG(G))},$t.\u0275prov=e.Yz7({token:$t,factory:$t.\u0275fac});const gt=[$t];function rt(Ot,Wt,...ui){return function($i){let Hi;if("string"==typeof Ot){const cn=[Wt,...ui].filter(Boolean);Hi=$i.pipe(function L(...Ot){const Wt=Ot.length;if(0===Wt)throw new Error("list of properties cannot be empty.");return(0,p.U)(ui=>{let Ti=ui;for(let $i=0;$i<Wt;$i++){const Hi=Ti?.[Ot[$i]];if(!(typeof Hi<"u"))return;Ti=Hi}return Ti})}(Ot,...cn))}else{if("function"!=typeof Ot)throw new TypeError(`Unexpected type '${typeof Ot}' in select operator, expected 'string' or 'function'`);Hi=$i.pipe((0,p.U)(cn=>Ot(cn,Wt)))}return Hi.pipe((0,M.x)())}}const Re="https://ngrx.io/guide/store/configuration/runtime-checks";function ot(Ot){return void 0===Ot}function St(Ot){return null===Ot}function gi(Ot){return Array.isArray(Ot)}function si(Ot){return"object"==typeof Ot&&null!==Ot}function Je(Ot){if(!function Bt(Ot){return si(Ot)&&!gi(Ot)}(Ot))return!1;const Wt=Object.getPrototypeOf(Ot);return Wt===Object.prototype||null===Wt}function me(Ot){return"function"==typeof Ot}let Ce=!1;function Tt(Ot,Wt){return Ot===Wt}function Nt(Ot,Wt,ui){for(let Ti=0;Ti<Ot.length;Ti++)if(!ui(Ot[Ti],Wt[Ti]))return!0;return!1}function Ke(Ot,Wt=Tt,ui=Tt){let Hi,Ti=null,$i=null;return{memoized:function ea(){if(void 0!==Hi)return Hi.result;if(!Ti)return $i=Ot.apply(null,arguments),Ti=arguments,$i;if(!Nt(arguments,Ti,Wt))return $i;const Dn=Ot.apply(null,arguments);return Ti=arguments,ui($i,Dn)?$i:($i=Dn,Dn)},reset:function cn(){Ti=null,$i=null},setResult:function aa(Dn){Hi={result:Dn}},clearResult:function Ln(){Hi=void 0}}}function vt(...Ot){return function Pt(Ot,Wt={stateFn:ri}){return function(...ui){let Ti=ui;if(Array.isArray(Ti[0])){const[Dn,...Jn]=Ti;Ti=[...Dn,...Jn]}const $i=Ti.slice(0,Ti.length-1),Hi=Ti[Ti.length-1],cn=$i.filter(Dn=>Dn.release&&"function"==typeof Dn.release),aa=Ot(function(...Dn){return Hi.apply(null,Dn)}),Ln=Ke(function(Dn,Jn){return Wt.stateFn.apply(null,[Dn,$i,Jn,aa])});function ea(){Ln.reset(),aa.reset(),cn.forEach(Dn=>Dn.release())}return Object.assign(Ln.memoized,{release:ea,projector:aa.memoized,setResult:Ln.setResult,clearResult:Ln.clearResult})}}(Ke)(...Ot)}function ri(Ot,Wt,ui,Ti){if(void 0===ui){const Hi=Wt.map(cn=>cn(Ot));return Ti.memoized.apply(null,Hi)}const $i=Wt.map(Hi=>Hi(Ot,ui));return Ti.memoized.apply(null,[...$i,ui])}function Lt(Ot){return vt(Wt=>{const ui=Wt[Ot];return!function Mt(){return Ce}()&&(0,e.X6Q)()&&!(Ot in Wt)&&console.warn(`@ngrx/store: The feature name "${Ot}" does not exist in the state, therefore createFeatureSelector cannot access it. Be sure it is imported in a loaded module using StoreModule.forRoot('${Ot}', ...) or StoreModule.forFeature('${Ot}', ...). If the default state is intended to be undefined, as is the case with router state, this development-only warning message can be ignored.`),ui},Wt=>Wt)}function st(Ot,Wt){return Wt instanceof e.OlP?Ot.get(Wt):Wt}function _t(Ot,Wt,ui){return ui.map((Ti,$i)=>{if(Wt[$i]instanceof e.OlP){const Hi=Ot.get(Wt[$i]);return{key:Ti.key,reducerFactory:Hi.reducerFactory?Hi.reducerFactory:ye,metaReducers:Hi.metaReducers?Hi.metaReducers:[],initialState:Hi.initialState}}return Ti})}function kt(Ot,Wt){return Wt.map(Ti=>Ti instanceof e.OlP?Ot.get(Ti):Ti)}function Oi(Ot){return"function"==typeof Ot?Ot():Ot}function Li(Ot,Wt){return Ot.concat(Wt)}function Ei(Ot){if(Ot)throw new TypeError("The root Store has been provided more than once. Feature modules should provide feature states instead.");return"guarded"}function wt(Ot){Object.freeze(Ot);const Wt=me(Ot);return Object.getOwnPropertyNames(Ot).forEach(ui=>{if(!ui.startsWith("\u0275")&&function J(Ot,Wt){return Object.prototype.hasOwnProperty.call(Ot,Wt)}(Ot,ui)&&(!Wt||"caller"!==ui&&"callee"!==ui&&"arguments"!==ui)){const Ti=Ot[ui];(si(Ti)||me(Ti))&&!Object.isFrozen(Ti)&&wt(Ti)}}),Ot}function Ne(Ot,Wt=[]){return(ot(Ot)||St(Ot))&&0===Wt.length?{path:["root"],value:Ot}:Object.keys(Ot).reduce((Ti,$i)=>{if(Ti)return Ti;const Hi=Ot[$i];return function K(Ot){return me(Ot)&&Ot.hasOwnProperty("\u0275cmp")}(Hi)?Ti:!(ot(Hi)||St(Hi)||function Zi(Ot){return"number"==typeof Ot}(Hi)||function ei(Ot){return"boolean"==typeof Ot}(Hi)||function oi(Ot){return"string"==typeof Ot}(Hi)||gi(Hi))&&(Je(Hi)?Ne(Hi,[...Wt,$i]):{path:[...Wt,$i],value:Hi})},!1)}function Vt(Ot,Wt){if(!1===Ot)return;const ui=Ot.path.join("."),Ti=new Error(`Detected unserializable ${Wt} at "${ui}". ${Re}#strict${Wt}serializability`);throw Ti.value=Ot.value,Ti.unserializablePath=ui,Ti}function fi(Ot){return(0,e.X6Q)()?{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!0,strictActionImmutability:!0,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1,...Ot}:{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1}}function Si({strictActionSerializability:Ot,strictStateSerializability:Wt}){return ui=>Ot||Wt?function qe(Ot,Wt){return function(ui,Ti){Wt.action(Ti)&&Vt(Ne(Ti),"action");const $i=Ot(ui,Ti);return Wt.state()&&Vt(Ne($i),"state"),$i}}(ui,{action:Ti=>Ot&&!Gi(Ti),state:()=>Wt}):ui}function ki({strictActionImmutability:Ot,strictStateImmutability:Wt}){return ui=>Ot||Wt?function Wi(Ot,Wt){return function(ui,Ti){const $i=Wt.action(Ti)?wt(Ti):Ti,Hi=Ot(ui,$i);return Wt.state()?wt(Hi):Hi}}(ui,{action:Ti=>Ot&&!Gi(Ti),state:()=>Wt}):ui}function Gi(Ot){return Ot.type.startsWith("@ngrx")}function Qt({strictActionWithinNgZone:Ot}){return Wt=>Ot?function jt(Ot,Wt){return function(ui,Ti){if(Wt.action(Ti)&&!e.R0b.isInAngularZone())throw new Error(`Action '${Ti.type}' running outside NgZone. ${Re}#strictactionwithinngzone`);return Ot(ui,Ti)}}(Wt,{action:ui=>Ot&&!Gi(ui)}):Wt}function xe(Ot){return[{provide:$e,useValue:Ot},{provide:Ye,useFactory:ft,deps:[$e]},{provide:Ve,deps:[Ye],useFactory:fi},{provide:Pe,multi:!0,deps:[Ve],useFactory:ki},{provide:Pe,multi:!0,deps:[Ve],useFactory:Si},{provide:Pe,multi:!0,deps:[Ve],useFactory:Qt}]}function ke(){return[{provide:be,multi:!0,deps:[Ve],useFactory:Rt}]}function ft(Ot){return Ot}function Rt(Ot){if(!Ot.strictActionTypeUniqueness)return;const Wt=Object.entries(k).filter(([,ui])=>ui>1).map(([ui])=>ui);if(Wt.length)throw new Error(`Action types are registered more than once, ${Wt.map(ui=>`"${ui}"`).join(", ")}. ${Re}#strictactiontypeuniqueness`)}function ai(Ot,Wt){return[{provide:ve,useFactory:Ei,deps:[[$t,new e.FiY,new e.tp0]]},{provide:T,useValue:Wt.initialState},{provide:i,useFactory:Oi,deps:[T]},{provide:y,useValue:Ot},{provide:R,useExisting:Ot instanceof e.OlP?Ot:y},{provide:h,deps:[e.zs3,y,[new e.tBr(R)]],useFactory:st},{provide:Q,useValue:Wt.metaReducers?Wt.metaReducers:[]},{provide:Le,deps:[Pe,Q],useFactory:Li},{provide:m,useValue:Wt.reducerFactory?Wt.reducerFactory:ye},{provide:o,deps:[m,Le],useFactory:Ee},ae,$,Ue,nt,gt,xe(Wt.runtimeChecks),ke()]}e.Xts;e.Xts;function ha(Ot,Wt,ui={}){return[{provide:a,multi:!0,useValue:Ot instanceof Object?{}:ui},{provide:A,multi:!0,useValue:{key:Ot instanceof Object?Ot.name:Ot,reducerFactory:ui instanceof e.OlP||!ui.reducerFactory?ye:ui.reducerFactory,metaReducers:ui instanceof e.OlP||!ui.metaReducers?[]:ui.metaReducers,initialState:ui instanceof e.OlP||!ui.initialState?void 0:ui.initialState}},{provide:C,deps:[e.zs3,a,A],useFactory:_t},{provide:v,multi:!0,useValue:Ot instanceof Object?Ot.reducer:Wt},{provide:U,multi:!0,useExisting:Wt instanceof e.OlP?Wt:v},{provide:N,multi:!0,deps:[e.zs3,v,[new e.tBr(U)]],useFactory:kt},ke()]}class gn{constructor(Wt,ui,Ti,$i,Hi,cn){}}gn.\u0275fac=function(Wt){return new(Wt||gn)(e.LFG(he),e.LFG(de),e.LFG(ze),e.LFG($t),e.LFG(ve,8),e.LFG(be,8))},gn.\u0275mod=e.oAB({type:gn}),gn.\u0275inj=e.cJS({});class Zn{constructor(Wt,ui,Ti,$i,Hi){this.features=Wt,this.featureReducers=ui,this.reducerManager=Ti;const cn=Wt.map((aa,Ln)=>{const Dn=ui.shift()[Ln];return{...aa,reducers:Dn,initialState:Oi(aa.initialState)}});Ti.addFeatures(cn)}ngOnDestroy(){this.reducerManager.removeFeatures(this.features)}}Zn.\u0275fac=function(Wt){return new(Wt||Zn)(e.LFG(C),e.LFG(N),e.LFG(G),e.LFG(gn),e.LFG(be,8))},Zn.\u0275mod=e.oAB({type:Zn}),Zn.\u0275inj=e.cJS({});class Kn{static forRoot(Wt,ui={}){return{ngModule:gn,providers:[...ai(Wt,ui)]}}static forFeature(Wt,ui,Ti={}){return{ngModule:Zn,providers:[...ha(Wt,ui,Ti)]}}}function Ua(...Ot){return{reducer:Ot.pop(),types:Ot.map(Ti=>Ti.type)}}function br(Ot,...Wt){const ui=new Map;for(const Ti of Wt)for(const $i of Ti.types){const Hi=ui.get($i);if(Hi){const cn=(aa,Ln)=>Ti.reducer(Hi(aa,Ln),Ln);ui.set($i,cn)}else ui.set($i,Ti.reducer)}return function(Ti=Ot,$i){const Hi=ui.get($i.type);return Hi?Hi(Ti,$i):Ti}}Kn.\u0275fac=function(Wt){return new(Wt||Kn)},Kn.\u0275mod=e.oAB({type:Kn}),Kn.\u0275inj=e.cJS({})},8182:(Ge,X,f)=>{"use strict";f.d(X,{H5:()=>g1,K$:()=>_1,a4:()=>q2});var e=f(2560),t=f(4666),_=f(4929),S=f(7520),l=f(3280),D=f(1989),d=f(4851);function P(){}function p(u){return null==u?P:function(){return this.querySelector(u)}}function M(u){return"object"==typeof u&&"length"in u?u:Array.from(u)}function k(){return[]}function E(u){return null==u?k:function(){return this.querySelectorAll(u)}}function V(u){return function(){return this.matches(u)}}function Z(u){return function(r){return r.matches(u)}}var q=Array.prototype.find;function ne(){return this.firstElementChild}var re=Array.prototype.filter;function _e(){return this.children}function T(u){return new Array(u.length)}function o(u,r){this.ownerDocument=u.ownerDocument,this.namespaceURI=u.namespaceURI,this._next=null,this._parent=u,this.__data__=r}function m(u){return function(){return u}}function h(u,r,n,b,B,j){for(var Se,ue=0,mt=r.length,xt=j.length;ue<xt;++ue)(Se=r[ue])?(Se.__data__=j[ue],b[ue]=Se):n[ue]=new o(u,j[ue]);for(;ue<mt;++ue)(Se=r[ue])&&(B[ue]=Se)}function y(u,r,n,b,B,j,ue){var Se,mt,Ci,xt=new Map,At=r.length,qt=j.length,Ft=new Array(At);for(Se=0;Se<At;++Se)(mt=r[Se])&&(Ft[Se]=Ci=ue.call(mt,mt.__data__,Se,r)+"",xt.has(Ci)?B[Se]=mt:xt.set(Ci,mt));for(Se=0;Se<qt;++Se)Ci=ue.call(u,j[Se],Se,j)+"",(mt=xt.get(Ci))?(b[Se]=mt,mt.__data__=j[Se],xt.delete(Ci)):n[Se]=new o(u,j[Se]);for(Se=0;Se<At;++Se)(mt=r[Se])&&xt.get(Ft[Se])===mt&&(B[Se]=mt)}function A(u){return u.__data__}function Q(u,r){return u<r?-1:u>r?1:u>=r?0:NaN}o.prototype={constructor:o,appendChild:function(u){return this._parent.insertBefore(u,this._next)},insertBefore:function(u,r){return this._parent.insertBefore(u,r)},querySelector:function(u){return this._parent.querySelector(u)},querySelectorAll:function(u){return this._parent.querySelectorAll(u)}};var et="http://www.w3.org/1999/xhtml";const je={svg:"http://www.w3.org/2000/svg",xhtml:et,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function ye(u){var r=u+="",n=r.indexOf(":");return n>=0&&"xmlns"!==(r=u.slice(0,n))&&(u=u.slice(n+1)),je.hasOwnProperty(r)?{space:je[r],local:u}:u}function Te(u){return function(){this.removeAttribute(u)}}function He(u){return function(){this.removeAttributeNS(u.space,u.local)}}function Ee(u,r){return function(){this.setAttribute(u,r)}}function we(u,r){return function(){this.setAttributeNS(u.space,u.local,r)}}function de(u,r){return function(){var n=r.apply(this,arguments);null==n?this.removeAttribute(u):this.setAttribute(u,n)}}function Me(u,r){return function(){var n=r.apply(this,arguments);null==n?this.removeAttributeNS(u.space,u.local):this.setAttributeNS(u.space,u.local,n)}}function G(u){return u.ownerDocument&&u.ownerDocument.defaultView||u.document&&u||u.defaultView}function $(u){return function(){this.style.removeProperty(u)}}function ze(u,r,n){return function(){this.style.setProperty(u,r,n)}}function Ue(u,r,n){return function(){var b=r.apply(this,arguments);null==b?this.style.removeProperty(u):this.style.setProperty(u,b,n)}}function bt(u,r){return u.style.getPropertyValue(r)||G(u).getComputedStyle(u,null).getPropertyValue(r)}function Be(u){return function(){delete this[u]}}function nt(u,r){return function(){this[u]=r}}function $t(u,r){return function(){var n=r.apply(this,arguments);null==n?delete this[u]:this[u]=n}}function rt(u){return u.trim().split(/^|\s+/)}function Re(u){return u.classList||new ot(u)}function ot(u){this._node=u,this._names=rt(u.getAttribute("class")||"")}function St(u,r){for(var n=Re(u),b=-1,B=r.length;++b<B;)n.add(r[b])}function gi(u,r){for(var n=Re(u),b=-1,B=r.length;++b<B;)n.remove(r[b])}function oi(u){return function(){St(this,u)}}function ei(u){return function(){gi(this,u)}}function Zi(u,r){return function(){(r.apply(this,arguments)?St:gi)(this,u)}}function Bt(){this.textContent=""}function Je(u){return function(){this.textContent=u}}function me(u){return function(){var r=u.apply(this,arguments);this.textContent=r??""}}function J(){this.innerHTML=""}function Ce(u){return function(){this.innerHTML=u}}function We(u){return function(){var r=u.apply(this,arguments);this.innerHTML=r??""}}function Tt(){this.nextSibling&&this.parentNode.appendChild(this)}function at(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function vt(u){return function(){var r=this.ownerDocument,n=this.namespaceURI;return n===et&&r.documentElement.namespaceURI===et?r.createElement(u):r.createElementNS(n,u)}}function ri(u){return function(){return this.ownerDocument.createElementNS(u.space,u.local)}}function Pt(u){var r=ye(u);return(r.local?ri:vt)(r)}function Kt(){return null}function fe(){var u=this.parentNode;u&&u.removeChild(this)}function _t(){var u=this.cloneNode(!1),r=this.parentNode;return r?r.insertBefore(u,this.nextSibling):u}function kt(){var u=this.cloneNode(!0),r=this.parentNode;return r?r.insertBefore(u,this.nextSibling):u}function Wi(u){return u.trim().split(/^|\s+/).map(function(r){var n="",b=r.indexOf(".");return b>=0&&(n=r.slice(b+1),r=r.slice(0,b)),{type:r,name:n}})}function wt(u){return function(){var r=this.__on;if(r){for(var j,n=0,b=-1,B=r.length;n<B;++n)j=r[n],u.type&&j.type!==u.type||j.name!==u.name?r[++b]=j:this.removeEventListener(j.type,j.listener,j.options);++b?r.length=b:delete this.__on}}}function qe(u,r,n){return function(){var B,b=this.__on,j=function Ei(u){return function(r){u.call(this,r,this.__data__)}}(r);if(b)for(var ue=0,Se=b.length;ue<Se;++ue)if((B=b[ue]).type===u.type&&B.name===u.name)return this.removeEventListener(B.type,B.listener,B.options),this.addEventListener(B.type,B.listener=j,B.options=n),void(B.value=r);this.addEventListener(u.type,j,n),B={type:u.type,name:u.name,value:r,listener:j,options:n},b?b.push(B):this.__on=[B]}}function Vt(u,r,n){var b=G(u),B=b.CustomEvent;"function"==typeof B?B=new B(r,n):(B=b.document.createEvent("Event"),n?(B.initEvent(r,n.bubbles,n.cancelable),B.detail=n.detail):B.initEvent(r,!1,!1)),u.dispatchEvent(B)}function jt(u,r){return function(){return Vt(this,u,r)}}function fi(u,r){return function(){return Vt(this,u,r.apply(this,arguments))}}ot.prototype={add:function(u){this._names.indexOf(u)<0&&(this._names.push(u),this._node.setAttribute("class",this._names.join(" ")))},remove:function(u){var r=this._names.indexOf(u);r>=0&&(this._names.splice(r,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(u){return this._names.indexOf(u)>=0}};var Gi=[null];function Qt(u,r){this._groups=u,this._parents=r}function xe(){return new Qt([[document.documentElement]],Gi)}Qt.prototype=xe.prototype={constructor:Qt,select:function L(u){"function"!=typeof u&&(u=p(u));for(var r=this._groups,n=r.length,b=new Array(n),B=0;B<n;++B)for(var mt,xt,j=r[B],ue=j.length,Se=b[B]=new Array(ue),At=0;At<ue;++At)(mt=j[At])&&(xt=u.call(mt,mt.__data__,At,j))&&("__data__"in mt&&(xt.__data__=mt.__data__),Se[At]=xt);return new Qt(b,this._parents)},selectAll:function I(u){u="function"==typeof u?function z(u){return function(){var r=u.apply(this,arguments);return null==r?[]:M(r)}}(u):E(u);for(var r=this._groups,n=r.length,b=[],B=[],j=0;j<n;++j)for(var mt,ue=r[j],Se=ue.length,xt=0;xt<Se;++xt)(mt=ue[xt])&&(b.push(u.call(mt,mt.__data__,xt,ue)),B.push(mt));return new Qt(b,B)},selectChild:function le(u){return this.select(null==u?ne:function te(u){return function(){return q.call(this.children,u)}}("function"==typeof u?u:Z(u)))},selectChildren:function ae(u){return this.selectAll(null==u?_e:function he(u){return function(){return re.call(this.children,u)}}("function"==typeof u?u:Z(u)))},filter:function ve(u){"function"!=typeof u&&(u=V(u));for(var r=this._groups,n=r.length,b=new Array(n),B=0;B<n;++B)for(var mt,j=r[B],ue=j.length,Se=b[B]=[],xt=0;xt<ue;++xt)(mt=j[xt])&&u.call(mt,mt.__data__,xt,j)&&Se.push(mt);return new Qt(b,this._parents)},data:function R(u,r){if(!arguments.length)return Array.from(this,A);var n=r?y:h,b=this._parents,B=this._groups;"function"!=typeof u&&(u=m(u));for(var j=B.length,ue=new Array(j),Se=new Array(j),mt=new Array(j),xt=0;xt<j;++xt){var At=b[xt],qt=B[xt],Ft=qt.length,Ci=M(u.call(At,At&&At.__data__,xt,b)),Pi=Ci.length,Xi=Se[xt]=new Array(Pi),vi=ue[xt]=new Array(Pi),Ji=mt[xt]=new Array(Ft);n(At,qt,Xi,vi,Ji,Ci,r);for(var fn,vn,rn=0,nn=0;rn<Pi;++rn)if(fn=Xi[rn]){for(rn>=nn&&(nn=rn+1);!(vn=vi[nn])&&++nn<Pi;);fn._next=vn||null}}return(ue=new Qt(ue,b))._enter=Se,ue._exit=mt,ue},enter:function i(){return new Qt(this._enter||this._groups.map(T),this._parents)},exit:function v(){return new Qt(this._exit||this._groups.map(T),this._parents)},join:function a(u,r,n){var b=this.enter(),B=this,j=this.exit();return b="function"==typeof u?u(b):b.append(u+""),null!=r&&(B=r(B)),null==n?j.remove():n(j),b&&B?b.merge(B).order():B},merge:function C(u){if(!(u instanceof Qt))throw new Error("invalid merge");for(var r=this._groups,n=u._groups,b=r.length,B=n.length,j=Math.min(b,B),ue=new Array(b),Se=0;Se<j;++Se)for(var Ft,mt=r[Se],xt=n[Se],At=mt.length,qt=ue[Se]=new Array(At),Ci=0;Ci<At;++Ci)(Ft=mt[Ci]||xt[Ci])&&(qt[Ci]=Ft);for(;Se<b;++Se)ue[Se]=r[Se];return new Qt(ue,this._parents)},selection:function ke(){return this},order:function U(){for(var u=this._groups,r=-1,n=u.length;++r<n;)for(var ue,b=u[r],B=b.length-1,j=b[B];--B>=0;)(ue=b[B])&&(j&&4^ue.compareDocumentPosition(j)&&j.parentNode.insertBefore(ue,j),j=ue);return this},sort:function N(u){function r(qt,Ft){return qt&&Ft?u(qt.__data__,Ft.__data__):!qt-!Ft}u||(u=Q);for(var n=this._groups,b=n.length,B=new Array(b),j=0;j<b;++j){for(var xt,ue=n[j],Se=ue.length,mt=B[j]=new Array(Se),At=0;At<Se;++At)(xt=ue[At])&&(mt[At]=xt);mt.sort(r)}return new Qt(B,this._parents).order()},call:function Pe(){var u=arguments[0];return arguments[0]=this,u.apply(null,arguments),this},nodes:function Le(){return Array.from(this)},node:function Ye(){for(var u=this._groups,r=0,n=u.length;r<n;++r)for(var b=u[r],B=0,j=b.length;B<j;++B){var ue=b[B];if(ue)return ue}return null},size:function $e(){let u=0;for(const r of this)++u;return u},empty:function Ve(){return!this.node()},each:function be(u){for(var r=this._groups,n=0,b=r.length;n<b;++n)for(var Se,B=r[n],j=0,ue=B.length;j<ue;++j)(Se=B[j])&&u.call(Se,Se.__data__,j,B);return this},attr:function ie(u,r){var n=ye(u);if(arguments.length<2){var b=this.node();return n.local?b.getAttributeNS(n.space,n.local):b.getAttribute(n)}return this.each((null==r?n.local?He:Te:"function"==typeof r?n.local?Me:de:n.local?we:Ee)(n,r))},style:function oe(u,r,n){return arguments.length>1?this.each((null==r?$:"function"==typeof r?Ue:ze)(u,r,n??"")):bt(this.node(),u)},property:function gt(u,r){return arguments.length>1?this.each((null==r?Be:"function"==typeof r?$t:nt)(u,r)):this.node()[u]},classed:function si(u,r){var n=rt(u+"");if(arguments.length<2){for(var b=Re(this.node()),B=-1,j=n.length;++B<j;)if(!b.contains(n[B]))return!1;return!0}return this.each(("function"==typeof r?Zi:r?oi:ei)(n,r))},text:function K(u){return arguments.length?this.each(null==u?Bt:("function"==typeof u?me:Je)(u)):this.node().textContent},html:function Mt(u){return arguments.length?this.each(null==u?J:("function"==typeof u?We:Ce)(u)):this.node().innerHTML},raise:function Nt(){return this.each(Tt)},lower:function Ke(){return this.each(at)},append:function Lt(u){var r="function"==typeof u?u:Pt(u);return this.select(function(){return this.appendChild(r.apply(this,arguments))})},insert:function Ae(u,r){var n="function"==typeof u?u:Pt(u),b=null==r?Kt:"function"==typeof r?r:p(r);return this.select(function(){return this.insertBefore(n.apply(this,arguments),b.apply(this,arguments)||null)})},remove:function st(){return this.each(fe)},clone:function Oi(u){return this.select(u?kt:_t)},datum:function Li(u){return arguments.length?this.property("__data__",u):this.node().__data__},on:function Ne(u,r,n){var B,ue,b=Wi(u+""),j=b.length;if(!(arguments.length<2)){for(Se=r?qe:wt,B=0;B<j;++B)this.each(Se(b[B],r,n));return this}var Se=this.node().__on;if(Se)for(var At,mt=0,xt=Se.length;mt<xt;++mt)for(B=0,At=Se[mt];B<j;++B)if((ue=b[B]).type===At.type&&ue.name===At.name)return At.value},dispatch:function Si(u,r){return this.each(("function"==typeof r?fi:jt)(u,r))},[Symbol.iterator]:function*ki(){for(var u=this._groups,r=0,n=u.length;r<n;++r)for(var ue,b=u[r],B=0,j=b.length;B<j;++B)(ue=b[B])&&(yield ue)}};const ft=xe;function Rt(u){return"string"==typeof u?new Qt([[document.querySelector(u)]],[document.documentElement]):new Qt([[u]],Gi)}var di={value:()=>{}};function ai(){for(var b,u=0,r=arguments.length,n={};u<r;++u){if(!(b=arguments[u]+"")||b in n||/[\s.]/.test(b))throw new Error("illegal type: "+b);n[b]=[]}return new ci(n)}function ci(u){this._=u}function ii(u,r){return u.trim().split(/^|\s+/).map(function(n){var b="",B=n.indexOf(".");if(B>=0&&(b=n.slice(B+1),n=n.slice(0,B)),n&&!r.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:b}})}function bi(u,r){for(var B,n=0,b=u.length;n<b;++n)if((B=u[n]).name===r)return B.value}function Yi(u,r,n){for(var b=0,B=u.length;b<B;++b)if(u[b].name===r){u[b]=di,u=u.slice(0,b).concat(u.slice(b+1));break}return null!=n&&u.push({name:r,value:n}),u}ci.prototype=ai.prototype={constructor:ci,on:function(u,r){var B,n=this._,b=ii(u+"",n),j=-1,ue=b.length;if(!(arguments.length<2)){if(null!=r&&"function"!=typeof r)throw new Error("invalid callback: "+r);for(;++j<ue;)if(B=(u=b[j]).type)n[B]=Yi(n[B],u.name,r);else if(null==r)for(B in n)n[B]=Yi(n[B],u.name,null);return this}for(;++j<ue;)if((B=(u=b[j]).type)&&(B=bi(n[B],u.name)))return B},copy:function(){var u={},r=this._;for(var n in r)u[n]=r[n].slice();return new ci(u)},call:function(u,r){if((B=arguments.length-2)>0)for(var B,j,n=new Array(B),b=0;b<B;++b)n[b]=arguments[b+2];if(!this._.hasOwnProperty(u))throw new Error("unknown type: "+u);for(b=0,B=(j=this._[u]).length;b<B;++b)j[b].value.apply(r,n)},apply:function(u,r,n){if(!this._.hasOwnProperty(u))throw new Error("unknown type: "+u);for(var b=this._[u],B=0,j=b.length;B<j;++B)b[B].value.apply(r,n)}};const _n=ai;function gn(u){u.preventDefault(),u.stopImmediatePropagation()}function Zn(u){var r=u.document.documentElement,n=Rt(u).on("dragstart.drag",gn,!0);"onselectstart"in r?n.on("selectstart.drag",gn,!0):(r.__noselect=r.style.MozUserSelect,r.style.MozUserSelect="none")}function Kn(u,r){var n=u.document.documentElement,b=Rt(u).on("dragstart.drag",null);r&&(b.on("click.drag",gn,!0),setTimeout(function(){b.on("click.drag",null)},0)),"onselectstart"in n?b.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}function Ua(u,r,n){u.prototype=r.prototype=n,n.constructor=u}function br(u,r){var n=Object.create(u.prototype);for(var b in r)n[b]=r[b];return n}function Ot(){}var ui=1/.7,Ti="\\s*([+-]?\\d+)\\s*",$i="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",Hi="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",cn=/^#([0-9a-f]{3,8})$/,aa=new RegExp("^rgb\\("+[Ti,Ti,Ti]+"\\)$"),Ln=new RegExp("^rgb\\("+[Hi,Hi,Hi]+"\\)$"),ea=new RegExp("^rgba\\("+[Ti,Ti,Ti,$i]+"\\)$"),Dn=new RegExp("^rgba\\("+[Hi,Hi,Hi,$i]+"\\)$"),Jn=new RegExp("^hsl\\("+[$i,Hi,Hi]+"\\)$"),Ia=new RegExp("^hsla\\("+[$i,Hi,Hi,$i]+"\\)$"),Gn={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Pa(){return this.rgb().formatHex()}function Ra(){return this.rgb().formatRgb()}function yr(u){var r,n;return u=(u+"").trim().toLowerCase(),(r=cn.exec(u))?(n=r[1].length,r=parseInt(r[1],16),6===n?wa(r):3===n?new ra(r>>8&15|r>>4&240,r>>4&15|240&r,(15&r)<<4|15&r,1):8===n?hr(r>>24&255,r>>16&255,r>>8&255,(255&r)/255):4===n?hr(r>>12&15|r>>8&240,r>>8&15|r>>4&240,r>>4&15|240&r,((15&r)<<4|15&r)/255):null):(r=aa.exec(u))?new ra(r[1],r[2],r[3],1):(r=Ln.exec(u))?new ra(255*r[1]/100,255*r[2]/100,255*r[3]/100,1):(r=ea.exec(u))?hr(r[1],r[2],r[3],r[4]):(r=Dn.exec(u))?hr(255*r[1]/100,255*r[2]/100,255*r[3]/100,r[4]):(r=Jn.exec(u))?ro(r[1],r[2]/100,r[3]/100,1):(r=Ia.exec(u))?ro(r[1],r[2]/100,r[3]/100,r[4]):Gn.hasOwnProperty(u)?wa(Gn[u]):"transparent"===u?new ra(NaN,NaN,NaN,0):null}function wa(u){return new ra(u>>16&255,u>>8&255,255&u,1)}function hr(u,r,n,b){return b<=0&&(u=r=n=NaN),new ra(u,r,n,b)}function Vn(u){return u instanceof Ot||(u=yr(u)),u?new ra((u=u.rgb()).r,u.g,u.b,u.opacity):new ra}function va(u,r,n,b){return 1===arguments.length?Vn(u):new ra(u,r,n,b??1)}function ra(u,r,n,b){this.r=+u,this.g=+r,this.b=+n,this.opacity=+b}function us(){return"#"+Jo(this.r)+Jo(this.g)+Jo(this.b)}function Ba(){var u=this.opacity;return(1===(u=isNaN(u)?1:Math.max(0,Math.min(1,u)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===u?")":", "+u+")")}function Jo(u){return((u=Math.max(0,Math.min(255,Math.round(u)||0)))<16?"0":"")+u.toString(16)}function ro(u,r,n,b){return b<=0?u=r=n=NaN:n<=0||n>=1?u=r=NaN:r<=0&&(u=NaN),new Na(u,r,n,b)}function jn(u){if(u instanceof Na)return new Na(u.h,u.s,u.l,u.opacity);if(u instanceof Ot||(u=yr(u)),!u)return new Na;if(u instanceof Na)return u;var r=(u=u.rgb()).r/255,n=u.g/255,b=u.b/255,B=Math.min(r,n,b),j=Math.max(r,n,b),ue=NaN,Se=j-B,mt=(j+B)/2;return Se?(ue=r===j?(n-b)/Se+6*(n<b):n===j?(b-r)/Se+2:(r-n)/Se+4,Se/=mt<.5?j+B:2-j-B,ue*=60):Se=mt>0&&mt<1?0:ue,new Na(ue,Se,mt,u.opacity)}function Na(u,r,n,b){this.h=+u,this.s=+r,this.l=+n,this.opacity=+b}function Oo(u,r,n){return 255*(u<60?r+(n-r)*u/60:u<180?n:u<240?r+(n-r)*(240-u)/60:r)}function Ja(u,r,n,b,B){var j=u*u,ue=j*u;return((1-3*u+3*j-ue)*r+(4-6*j+3*ue)*n+(1+3*u+3*j-3*ue)*b+ue*B)/6}Ua(Ot,yr,{copy:function(u){return Object.assign(new this.constructor,this,u)},displayable:function(){return this.rgb().displayable()},hex:Pa,formatHex:Pa,formatHsl:function qn(){return jn(this).formatHsl()},formatRgb:Ra,toString:Ra}),Ua(ra,va,br(Ot,{brighter:function(u){return u=null==u?ui:Math.pow(ui,u),new ra(this.r*u,this.g*u,this.b*u,this.opacity)},darker:function(u){return u=null==u?.7:Math.pow(.7,u),new ra(this.r*u,this.g*u,this.b*u,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:us,formatHex:us,formatRgb:Ba,toString:Ba})),Ua(Na,function jr(u,r,n,b){return 1===arguments.length?jn(u):new Na(u,r,n,b??1)},br(Ot,{brighter:function(u){return u=null==u?ui:Math.pow(ui,u),new Na(this.h,this.s,this.l*u,this.opacity)},darker:function(u){return u=null==u?.7:Math.pow(.7,u),new Na(this.h,this.s,this.l*u,this.opacity)},rgb:function(){var u=this.h%360+360*(this.h<0),r=isNaN(u)||isNaN(this.s)?0:this.s,n=this.l,b=n+(n<.5?n:1-n)*r,B=2*n-b;return new ra(Oo(u>=240?u-240:u+120,B,b),Oo(u,B,b),Oo(u<120?u+240:u-120,B,b),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var u=this.opacity;return(1===(u=isNaN(u)?1:Math.max(0,Math.min(1,u)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===u?")":", "+u+")")}}));const ir=u=>()=>u;function oo(u,r){return function(n){return u+n*r}}function ur(u){return 1==(u=+u)?$a:function(r,n){return n-r?function ms(u,r,n){return u=Math.pow(u,n),r=Math.pow(r,n)-u,n=1/n,function(b){return Math.pow(u+b*r,n)}}(r,n,u):ir(isNaN(r)?n:r)}}function $a(u,r){var n=r-u;return n?oo(u,n):ir(isNaN(u)?r:u)}const so=function u(r){var n=ur(r);function b(B,j){var ue=n((B=va(B)).r,(j=va(j)).r),Se=n(B.g,j.g),mt=n(B.b,j.b),xt=$a(B.opacity,j.opacity);return function(At){return B.r=ue(At),B.g=Se(At),B.b=mt(At),B.opacity=xt(At),B+""}}return b.gamma=u,b}(1);function Xn(u){return function(r){var ue,Se,n=r.length,b=new Array(n),B=new Array(n),j=new Array(n);for(ue=0;ue<n;++ue)Se=va(r[ue]),b[ue]=Se.r||0,B[ue]=Se.g||0,j[ue]=Se.b||0;return b=u(b),B=u(B),j=u(j),Se.opacity=1,function(mt){return Se.r=b(mt),Se.g=B(mt),Se.b=j(mt),Se+""}}}Xn(function Sr(u){var r=u.length-1;return function(n){var b=n<=0?n=0:n>=1?(n=1,r-1):Math.floor(n*r),B=u[b],j=u[b+1],ue=b>0?u[b-1]:2*B-j,Se=b<r-1?u[b+2]:2*j-B;return Ja((n-b/r)*r,ue,B,j,Se)}}),Xn(function Za(u){var r=u.length;return function(n){var b=Math.floor(((n%=1)<0?++n:n)*r),B=u[(b+r-1)%r],j=u[b%r],ue=u[(b+1)%r],Se=u[(b+2)%r];return Ja((n-b/r)*r,B,j,ue,Se)}});function er(u,r){var ue,n=r?r.length:0,b=u?Math.min(n,u.length):0,B=new Array(b),j=new Array(n);for(ue=0;ue<b;++ue)B[ue]=Qa(u[ue],r[ue]);for(;ue<n;++ue)j[ue]=r[ue];return function(Se){for(ue=0;ue<b;++ue)j[ue]=B[ue](Se);return j}}function Po(u,r){var n=new Date;return u=+u,r=+r,function(b){return n.setTime(u*(1-b)+r*b),n}}function nr(u,r){return u=+u,r=+r,function(n){return u*(1-n)+r*n}}function xr(u,r){var B,n={},b={};for(B in(null===u||"object"!=typeof u)&&(u={}),(null===r||"object"!=typeof r)&&(r={}),r)B in u?n[B]=Qa(u[B],r[B]):b[B]=r[B];return function(j){for(B in n)b[B]=n[B](j);return b}}var oa=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Cr=new RegExp(oa.source,"g");function Er(u,r){var b,B,j,n=oa.lastIndex=Cr.lastIndex=0,ue=-1,Se=[],mt=[];for(u+="",r+="";(b=oa.exec(u))&&(B=Cr.exec(r));)(j=B.index)>n&&(j=r.slice(n,j),Se[ue]?Se[ue]+=j:Se[++ue]=j),(b=b[0])===(B=B[0])?Se[ue]?Se[ue]+=B:Se[++ue]=B:(Se[++ue]=null,mt.push({i:ue,x:nr(b,B)})),n=Cr.lastIndex;return n<r.length&&(j=r.slice(n),Se[ue]?Se[ue]+=j:Se[++ue]=j),Se.length<2?mt[0]?function Uo(u){return function(r){return u(r)+""}}(mt[0].x):function mr(u){return function(){return u}}(r):(r=mt.length,function(xt){for(var qt,At=0;At<r;++At)Se[(qt=mt[At]).i]=qt.x(xt);return Se.join("")})}function ja(u,r){r||(r=[]);var B,n=u?Math.min(r.length,u.length):0,b=r.slice();return function(j){for(B=0;B<n;++B)b[B]=u[B]*(1-j)+r[B]*j;return b}}function Qa(u,r){var b,n=typeof r;return null==r||"boolean"===n?ir(r):("number"===n?nr:"string"===n?(b=yr(r))?(r=b,so):Er:r instanceof yr?so:r instanceof Date?Po:function Qn(u){return ArrayBuffer.isView(u)&&!(u instanceof DataView)}(r)?ja:Array.isArray(r)?er:"function"!=typeof r.valueOf&&"function"!=typeof r.toString||isNaN(r)?xr:nr)(u,r)}function Mr(u,r){if(u=function ar(u){let r;for(;r=u.sourceEvent;)u=r;return u}(u),void 0===r&&(r=u.currentTarget),r){var n=r.ownerSVGElement||r;if(n.createSVGPoint){var b=n.createSVGPoint();return b.x=u.clientX,b.y=u.clientY,[(b=b.matrixTransform(r.getScreenCTM().inverse())).x,b.y]}if(r.getBoundingClientRect){var B=r.getBoundingClientRect();return[u.clientX-B.left-r.clientLeft,u.clientY-B.top-r.clientTop]}}return[u.pageX,u.pageY]}var mi,Qe,Nr=0,ca=0,tr=0,Dt=0,xi=0,Ki=0,wn="object"==typeof performance&&performance.now?performance:Date,Qi="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(u){setTimeout(u,17)};function sa(){return xi||(Qi(Fr),xi=wn.now()+Ki)}function Fr(){xi=0}function Et(){this._call=this._time=this._next=null}function ge(u,r,n){var b=new Et;return b.restart(u,r,n),b}function Xt(){xi=(Dt=wn.now())+Ki,Nr=ca=0;try{!function pt(){sa(),++Nr;for(var r,u=mi;u;)(r=xi-u._time)>=0&&u._call.call(null,r),u=u._next;--Nr}()}finally{Nr=0,function An(){for(var u,n,r=mi,b=1/0;r;)r._call?(b>r._time&&(b=r._time),u=r,r=r._next):(n=r._next,r._next=null,r=u?u._next=n:mi=n);Qe=u,rr(b)}(),xi=0}}function Ni(){var u=wn.now(),r=u-Dt;r>1e3&&(Ki-=r,Dt=u)}function rr(u){Nr||(ca&&(ca=clearTimeout(ca)),u-xi>24?(u<1/0&&(ca=setTimeout(Xt,u-wn.now()-Ki)),tr&&(tr=clearInterval(tr))):(tr||(Dt=wn.now(),tr=setInterval(Ni,1e3)),Nr=1,Qi(Xt)))}function bo(u,r,n){var b=new Et;return r=null==r?0:+r,b.restart(B=>{b.stop(),u(B+r)},r,n),b}Et.prototype=ge.prototype={constructor:Et,restart:function(u,r,n){if("function"!=typeof u)throw new TypeError("callback is not a function");n=(null==n?sa():+n)+(null==r?0:+r),!this._next&&Qe!==this&&(Qe?Qe._next=this:mi=this,Qe=this),this._call=u,this._time=n,rr()},stop:function(){this._call&&(this._call=null,this._time=1/0,rr())}};var Ss=_n("start","end","cancel","interrupt"),$o=[];function zr(u,r,n,b,B,j){var ue=u.__transition;if(ue){if(n in ue)return}else u.__transition={};!function Ui(u,r,n){var B,b=u.__transition;function j(xt){n.state=1,n.timer.restart(ue,n.delay,n.time),n.delay<=xt&&ue(xt-n.delay)}function ue(xt){var At,qt,Ft,Ci;if(1!==n.state)return mt();for(At in b)if((Ci=b[At]).name===n.name){if(3===Ci.state)return bo(ue);4===Ci.state?(Ci.state=6,Ci.timer.stop(),Ci.on.call("interrupt",u,u.__data__,Ci.index,Ci.group),delete b[At]):+At<r&&(Ci.state=6,Ci.timer.stop(),Ci.on.call("cancel",u,u.__data__,Ci.index,Ci.group),delete b[At])}if(bo(function(){3===n.state&&(n.state=4,n.timer.restart(Se,n.delay,n.time),Se(xt))}),n.state=2,n.on.call("start",u,u.__data__,n.index,n.group),2===n.state){for(n.state=3,B=new Array(Ft=n.tween.length),At=0,qt=-1;At<Ft;++At)(Ci=n.tween[At].value.call(u,u.__data__,n.index,n.group))&&(B[++qt]=Ci);B.length=qt+1}}function Se(xt){for(var At=xt<n.duration?n.ease.call(null,xt/n.duration):(n.timer.restart(mt),n.state=5,1),qt=-1,Ft=B.length;++qt<Ft;)B[qt].call(u,At);5===n.state&&(n.on.call("end",u,u.__data__,n.index,n.group),mt())}function mt(){for(var xt in n.state=6,n.timer.stop(),delete b[r],b)return;delete u.__transition}b[r]=n,n.timer=ge(j,0,n.time)}(u,n,{name:r,index:b,group:B,on:Ss,tween:$o,time:j.time,delay:j.delay,duration:j.duration,ease:j.ease,timer:null,state:0})}function fs(u,r){var n=$n(u,r);if(n.state>0)throw new Error("too late; already scheduled");return n}function Oa(u,r){var n=$n(u,r);if(n.state>3)throw new Error("too late; already running");return n}function $n(u,r){var n=u.__transition;if(!n||!(n=n[r]))throw new Error("transition not found");return n}function yo(u,r){var b,B,ue,n=u.__transition,j=!0;if(n){for(ue in r=null==r?null:r+"",n)(b=n[ue]).name===r?(B=b.state>2&&b.state<5,b.state=6,b.timer.stop(),b.on.call(B?"interrupt":"cancel",u,u.__data__,b.index,b.group),delete n[ue]):j=!1;j&&delete u.__transition}}var co,qi=180/Math.PI,Vo={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Fa(u,r,n,b,B,j){var ue,Se,mt;return(ue=Math.sqrt(u*u+r*r))&&(u/=ue,r/=ue),(mt=u*n+r*b)&&(n-=u*mt,b-=r*mt),(Se=Math.sqrt(n*n+b*b))&&(n/=Se,b/=Se,mt/=Se),u*b<r*n&&(u=-u,r=-r,mt=-mt,ue=-ue),{translateX:B,translateY:j,rotate:Math.atan2(r,u)*qi,skewX:Math.atan(mt)*qi,scaleX:ue,scaleY:Se}}function Qr(u,r,n,b){function B(xt){return xt.length?xt.pop()+" ":""}return function(xt,At){var qt=[],Ft=[];return xt=u(xt),At=u(At),function j(xt,At,qt,Ft,Ci,Pi){if(xt!==qt||At!==Ft){var Xi=Ci.push("translate(",null,r,null,n);Pi.push({i:Xi-4,x:nr(xt,qt)},{i:Xi-2,x:nr(At,Ft)})}else(qt||Ft)&&Ci.push("translate("+qt+r+Ft+n)}(xt.translateX,xt.translateY,At.translateX,At.translateY,qt,Ft),function ue(xt,At,qt,Ft){xt!==At?(xt-At>180?At+=360:At-xt>180&&(xt+=360),Ft.push({i:qt.push(B(qt)+"rotate(",null,b)-2,x:nr(xt,At)})):At&&qt.push(B(qt)+"rotate("+At+b)}(xt.rotate,At.rotate,qt,Ft),function Se(xt,At,qt,Ft){xt!==At?Ft.push({i:qt.push(B(qt)+"skewX(",null,b)-2,x:nr(xt,At)}):At&&qt.push(B(qt)+"skewX("+At+b)}(xt.skewX,At.skewX,qt,Ft),function mt(xt,At,qt,Ft,Ci,Pi){if(xt!==qt||At!==Ft){var Xi=Ci.push(B(Ci)+"scale(",null,",",null,")");Pi.push({i:Xi-4,x:nr(xt,qt)},{i:Xi-2,x:nr(At,Ft)})}else(1!==qt||1!==Ft)&&Ci.push(B(Ci)+"scale("+qt+","+Ft+")")}(xt.scaleX,xt.scaleY,At.scaleX,At.scaleY,qt,Ft),xt=At=null,function(Ci){for(var vi,Pi=-1,Xi=Ft.length;++Pi<Xi;)qt[(vi=Ft[Pi]).i]=vi.x(Ci);return qt.join("")}}}var ks=Qr(function Wo(u){const r=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(u+"");return r.isIdentity?Vo:Fa(r.a,r.b,r.c,r.d,r.e,r.f)},"px, ","px)","deg)"),Vl=Qr(function ts(u){return null!=u&&(co||(co=document.createElementNS("http://www.w3.org/2000/svg","g")),co.setAttribute("transform",u),u=co.transform.baseVal.consolidate())?Fa((u=u.matrix).a,u.b,u.c,u.d,u.e,u.f):Vo},", ",")",")");function Wl(u,r){var n,b;return function(){var B=Oa(this,u),j=B.tween;if(j!==n)for(var ue=0,Se=(b=n=j).length;ue<Se;++ue)if(b[ue].name===r){(b=b.slice()).splice(ue,1);break}B.tween=b}}function Kl(u,r,n){var b,B;if("function"!=typeof n)throw new Error;return function(){var j=Oa(this,u),ue=j.tween;if(ue!==b){B=(b=ue).slice();for(var Se={name:r,value:n},mt=0,xt=B.length;mt<xt;++mt)if(B[mt].name===r){B[mt]=Se;break}mt===xt&&B.push(Se)}j.tween=B}}function Gs(u,r,n){var b=u._id;return u.each(function(){var B=Oa(this,b);(B.value||(B.value={}))[r]=n.apply(this,arguments)}),function(B){return $n(B,b).value[r]}}function Ys(u,r){var n;return("number"==typeof r?nr:r instanceof yr?so:(n=yr(r))?(r=n,so):Er)(u,r)}function Ps(u){return function(){this.removeAttribute(u)}}function wr(u){return function(){this.removeAttributeNS(u.space,u.local)}}function Rs(u,r,n){var b,j,B=n+"";return function(){var ue=this.getAttribute(u);return ue===B?null:ue===b?j:j=r(b=ue,n)}}function Zs(u,r,n){var b,j,B=n+"";return function(){var ue=this.getAttributeNS(u.space,u.local);return ue===B?null:ue===b?j:j=r(b=ue,n)}}function hn(u,r,n){var b,B,j;return function(){var ue,mt,Se=n(this);return null==Se?void this.removeAttribute(u):(ue=this.getAttribute(u))===(mt=Se+"")?null:ue===b&&mt===B?j:(B=mt,j=r(b=ue,Se))}}function hc(u,r,n){var b,B,j;return function(){var ue,mt,Se=n(this);return null==Se?void this.removeAttributeNS(u.space,u.local):(ue=this.getAttributeNS(u.space,u.local))===(mt=Se+"")?null:ue===b&&mt===B?j:(B=mt,j=r(b=ue,Se))}}function xo(u,r){return function(n){this.setAttribute(u,r.call(this,n))}}function Ro(u,r){return function(n){this.setAttributeNS(u.space,u.local,r.call(this,n))}}function is(u,r){var n,b;function B(){var j=r.apply(this,arguments);return j!==b&&(n=(b=j)&&Ro(u,j)),n}return B._value=r,B}function lo(u,r){var n,b;function B(){var j=r.apply(this,arguments);return j!==b&&(n=(b=j)&&xo(u,j)),n}return B._value=r,B}function ce(u,r){return function(){fs(this,u).delay=+r.apply(this,arguments)}}function ht(u,r){return r=+r,function(){fs(this,u).delay=r}}function Gt(u,r){return function(){Oa(this,u).duration=+r.apply(this,arguments)}}function _i(u,r){return r=+r,function(){Oa(this,u).duration=r}}function it(u,r){if("function"!=typeof r)throw new Error;return function(){Oa(this,u).ease=r}}function ni(u,r,n){var b,B,j=function li(u){return(u+"").trim().split(/^|\s+/).every(function(r){var n=r.indexOf(".");return n>=0&&(r=r.slice(0,n)),!r||"start"===r})}(r)?fs:Oa;return function(){var ue=j(this,u),Se=ue.on;Se!==b&&(B=(b=Se).copy()).on(r,n),ue.on=B}}var On=ft.prototype.constructor;function qr(u){return function(){this.style.removeProperty(u)}}function Sa(u,r,n){return function(b){this.style.setProperty(u,r.call(this,b),n)}}function _s(u,r,n){var b,B;function j(){var ue=r.apply(this,arguments);return ue!==B&&(b=(B=ue)&&Sa(u,ue,n)),b}return j._value=r,j}function Ir(u){return function(r){this.textContent=u.call(this,r)}}function cl(u){var r,n;function b(){var B=u.apply(this,arguments);return B!==n&&(r=(n=B)&&Ir(B)),r}return b._value=u,b}var Od=0;function sr(u,r,n,b){this._groups=u,this._parents=r,this._name=n,this._id=b}function Es(){return++Od}var vs=ft.prototype;sr.prototype=function fc(u){return ft().transition(u)}.prototype={constructor:sr,select:function sn(u){var r=this._name,n=this._id;"function"!=typeof u&&(u=p(u));for(var b=this._groups,B=b.length,j=new Array(B),ue=0;ue<B;++ue)for(var At,qt,Se=b[ue],mt=Se.length,xt=j[ue]=new Array(mt),Ft=0;Ft<mt;++Ft)(At=Se[Ft])&&(qt=u.call(At,At.__data__,Ft,Se))&&("__data__"in At&&(qt.__data__=At.__data__),xt[Ft]=qt,zr(xt[Ft],r,n,Ft,xt,$n(At,n)));return new sr(j,this._parents,r,n)},selectAll:function Cn(u){var r=this._name,n=this._id;"function"!=typeof u&&(u=E(u));for(var b=this._groups,B=b.length,j=[],ue=[],Se=0;Se<B;++Se)for(var At,mt=b[Se],xt=mt.length,qt=0;qt<xt;++qt)if(At=mt[qt]){for(var Ci,Ft=u.call(At,At.__data__,qt,mt),Pi=$n(At,n),Xi=0,vi=Ft.length;Xi<vi;++Xi)(Ci=Ft[Xi])&&zr(Ci,r,n,Xi,Ft,Pi);j.push(Ft),ue.push(At)}return new sr(j,ue,r,n)},filter:function Xe(u){"function"!=typeof u&&(u=V(u));for(var r=this._groups,n=r.length,b=new Array(n),B=0;B<n;++B)for(var mt,j=r[B],ue=j.length,Se=b[B]=[],xt=0;xt<ue;++xt)(mt=j[xt])&&u.call(mt,mt.__data__,xt,j)&&Se.push(mt);return new sr(b,this._parents,this._name,this._id)},merge:function Jt(u){if(u._id!==this._id)throw new Error;for(var r=this._groups,n=u._groups,b=r.length,B=n.length,j=Math.min(b,B),ue=new Array(b),Se=0;Se<j;++Se)for(var Ft,mt=r[Se],xt=n[Se],At=mt.length,qt=ue[Se]=new Array(At),Ci=0;Ci<At;++Ci)(Ft=mt[Ci]||xt[Ci])&&(qt[Ci]=Ft);for(;Se<b;++Se)ue[Se]=r[Se];return new sr(ue,this._parents,this._name,this._id)},selection:function pr(){return new On(this._groups,this._parents)},transition:function pc(){for(var u=this._name,r=this._id,n=Es(),b=this._groups,B=b.length,j=0;j<B;++j)for(var mt,ue=b[j],Se=ue.length,xt=0;xt<Se;++xt)if(mt=ue[xt]){var At=$n(mt,r);zr(mt,u,n,xt,ue,{time:At.time+At.delay+At.duration,delay:0,duration:At.duration,ease:At.ease})}return new sr(b,this._parents,u,n)},call:vs.call,nodes:vs.nodes,node:vs.node,size:vs.size,empty:vs.empty,each:vs.each,on:function Ai(u,r){var n=this._id;return arguments.length<2?$n(this.node(),n).on.on(u):this.each(ni(n,u,r))},attr:function sl(u,r){var n=ye(u),b="transform"===n?Vl:Ys;return this.attrTween(u,"function"==typeof r?(n.local?hc:hn)(n,b,Gs(this,"attr."+u,r)):null==r?(n.local?wr:Ps)(n):(n.local?Zs:Rs)(n,b,r))},attrTween:function Fe(u,r){var n="attr."+u;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==r)return this.tween(n,null);if("function"!=typeof r)throw new Error;var b=ye(u);return this.tween(n,(b.local?is:lo)(b,r))},style:function ho(u,r,n){var b="transform"==(u+="")?ks:Ys;return null==r?this.styleTween(u,function Dr(u,r){var n,b,B;return function(){var j=bt(this,u),ue=(this.style.removeProperty(u),bt(this,u));return j===ue?null:j===n&&ue===b?B:B=r(n=j,b=ue)}}(u,b)).on("end.style."+u,qr(u)):"function"==typeof r?this.styleTween(u,function za(u,r,n){var b,B,j;return function(){var ue=bt(this,u),Se=n(this),mt=Se+"";return null==Se&&(this.style.removeProperty(u),mt=Se=bt(this,u)),ue===mt?null:ue===b&&mt===B?j:(B=mt,j=r(b=ue,Se))}}(u,b,Gs(this,"style."+u,r))).each(function ba(u,r){var n,b,B,Se,j="style."+r,ue="end."+j;return function(){var mt=Oa(this,u),xt=mt.on,At=null==mt.value[j]?Se||(Se=qr(r)):void 0;(xt!==n||B!==At)&&(b=(n=xt).copy()).on(ue,B=At),mt.on=b}}(this._id,u)):this.styleTween(u,function Tr(u,r,n){var b,j,B=n+"";return function(){var ue=bt(this,u);return ue===B?null:ue===b?j:j=r(b=ue,n)}}(u,b,r),n).on("end.style."+u,null)},styleTween:function Ar(u,r,n){var b="style."+(u+="");if(arguments.length<2)return(b=this.tween(b))&&b._value;if(null==r)return this.tween(b,null);if("function"!=typeof r)throw new Error;return this.tween(b,_s(u,r,n??""))},text:function uc(u){return this.tween("text","function"==typeof u?function gs(u){return function(){var r=u(this);this.textContent=r??""}}(Gs(this,"text",u)):function Co(u){return function(){this.textContent=u}}(null==u?"":u+""))},textTween:function mc(u){var r="text";if(arguments.length<1)return(r=this.tween(r))&&r._value;if(null==u)return this.tween(r,null);if("function"!=typeof u)throw new Error;return this.tween(r,cl(u))},remove:function tn(){return this.on("end.remove",function Ri(u){return function(){var r=this.parentNode;for(var n in this.__transition)if(+n!==u)return;r&&r.removeChild(this)}}(this._id))},tween:function Rc(u,r){var n=this._id;if(u+="",arguments.length<2){for(var ue,b=$n(this.node(),n).tween,B=0,j=b.length;B<j;++B)if((ue=b[B]).name===u)return ue.value;return null}return this.each((null==r?Wl:Kl)(n,u,r))},delay:function zt(u){var r=this._id;return arguments.length?this.each(("function"==typeof u?ce:ht)(r,u)):$n(this.node(),r).delay},duration:function Vi(u){var r=this._id;return arguments.length?this.each(("function"==typeof u?Gt:_i)(r,u)):$n(this.node(),r).duration},ease:function dt(u){var r=this._id;return arguments.length?this.each(it(r,u)):$n(this.node(),r).ease},easeVarying:function Ht(u){if("function"!=typeof u)throw new Error;return this.each(function Ct(u,r){return function(){var n=r.apply(this,arguments);if("function"!=typeof n)throw new Error;Oa(this,u).ease=n}}(this._id,u))},end:function O1(){var u,r,n=this,b=n._id,B=n.size();return new Promise(function(j,ue){var Se={value:ue},mt={value:function(){0==--B&&j()}};n.each(function(){var xt=Oa(this,b),At=xt.on;At!==u&&((r=(u=At).copy())._.cancel.push(Se),r._.interrupt.push(Se),r._.end.push(mt)),xt.on=r}),0===B&&j()})},[Symbol.iterator]:vs[Symbol.iterator]};var kd={time:null,delay:0,duration:250,ease:function Sd(u){return((u*=2)<=1?u*u*u:(u-=2)*u*u+2)/2}};function gc(u,r){for(var n;!(n=u.__transition)||!(n=n[r]);)if(!(u=u.parentNode))throw new Error(`transition ${r} not found`);return n}ft.prototype.interrupt=function dc(u){return this.each(function(){yo(this,u)})},ft.prototype.transition=function ll(u){var r,n;u instanceof sr?(r=u._id,u=u._name):(r=Es(),(n=kd).time=sa(),u=null==u?null:u+"");for(var b=this._groups,B=b.length,j=0;j<B;++j)for(var mt,ue=b[j],Se=ue.length,xt=0;xt<Se;++xt)(mt=ue[xt])&&zr(mt,u,r,xt,ue,n||gc(mt,r));return new sr(b,this._parents,u,r)};const js=u=>()=>u;function ns(u,{sourceEvent:r,target:n,selection:b,mode:B,dispatch:j}){Object.defineProperties(this,{type:{value:u,enumerable:!0,configurable:!0},sourceEvent:{value:r,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},selection:{value:b,enumerable:!0,configurable:!0},mode:{value:B,enumerable:!0,configurable:!0},_:{value:j}})}function vc(u){u.stopImmediatePropagation()}function dl(u){u.preventDefault(),u.stopImmediatePropagation()}var Rd={name:"drag"},Gl={name:"space"},as={name:"handle"},Ms={name:"center"};const{abs:Qs,max:Hr,min:Lr}=Math;function k1(u){return[+u[0],+u[1]]}function bc(u){return[k1(u[0]),k1(u[1])]}var Bs={name:"x",handles:["w","e"].map(fa),input:function(u,r){return null==u?null:[[+u[0],r[0][1]],[+u[1],r[1][1]]]},output:function(u){return u&&[u[0][0],u[1][0]]}},rs={name:"y",handles:["n","s"].map(fa),input:function(u,r){return null==u?null:[[r[0][0],+u[0]],[r[1][0],+u[1]]]},output:function(u){return u&&[u[0][1],u[1][1]]}},uo=(["n","w","e","s","nw","ne","sw","se"].map(fa),{overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"}),Yl={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},ws={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},qs={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},Bd={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function fa(u){return{type:u}}function vu(u){return!u.ctrlKey&&!u.button}function Zl(){var u=this.ownerSVGElement||this;return u.hasAttribute("viewBox")?[[(u=u.viewBox.baseVal).x,u.y],[u.x+u.width,u.y+u.height]]:[[0,0],[u.width.baseVal.value,u.height.baseVal.value]]}function Ie(){return navigator.maxTouchPoints||"ontouchstart"in this}function ee(u){for(;!u.__brush;)if(!(u=u.parentNode))return;return u.__brush}function De(u){return u[0][0]===u[1][0]||u[0][1]===u[1][1]}function yi(u){var Se,r=Zl,n=vu,b=Ie,B=!0,j=_n("start","brush","end"),ue=6;function mt(vi){var Ji=vi.property("__brush",Xi).selectAll(".overlay").data([fa("overlay")]);Ji.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",uo.overlay).merge(Ji).each(function(){var nn=ee(this).extent;Rt(this).attr("x",nn[0][0]).attr("y",nn[0][1]).attr("width",nn[1][0]-nn[0][0]).attr("height",nn[1][1]-nn[0][1])}),vi.selectAll(".selection").data([fa("selection")]).enter().append("rect").attr("class","selection").attr("cursor",uo.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var rn=vi.selectAll(".handle").data(u.handles,function(nn){return nn.type});rn.exit().remove(),rn.enter().append("rect").attr("class",function(nn){return"handle handle--"+nn.type}).attr("cursor",function(nn){return uo[nn.type]}),vi.each(xt).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",Ft).filter(b).on("touchstart.brush",Ft).on("touchmove.brush",Ci).on("touchend.brush touchcancel.brush",Pi).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function xt(){var vi=Rt(this),Ji=ee(this).selection;Ji?(vi.selectAll(".selection").style("display",null).attr("x",Ji[0][0]).attr("y",Ji[0][1]).attr("width",Ji[1][0]-Ji[0][0]).attr("height",Ji[1][1]-Ji[0][1]),vi.selectAll(".handle").style("display",null).attr("x",function(rn){return"e"===rn.type[rn.type.length-1]?Ji[1][0]-ue/2:Ji[0][0]-ue/2}).attr("y",function(rn){return"s"===rn.type[0]?Ji[1][1]-ue/2:Ji[0][1]-ue/2}).attr("width",function(rn){return"n"===rn.type||"s"===rn.type?Ji[1][0]-Ji[0][0]+ue:ue}).attr("height",function(rn){return"e"===rn.type||"w"===rn.type?Ji[1][1]-Ji[0][1]+ue:ue})):vi.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function At(vi,Ji,rn){var nn=vi.__brush.emitter;return!nn||rn&&nn.clean?new qt(vi,Ji,rn):nn}function qt(vi,Ji,rn){this.that=vi,this.args=Ji,this.state=vi.__brush,this.active=0,this.clean=rn}function Ft(vi){if((!Se||vi.touches)&&n.apply(this,arguments)){var ma,yn,xn,ga,da,Aa,Ca,vr,Sc,kc,Ks,Ji=this,rn=vi.target.__data__.type,nn="selection"===(B&&vi.metaKey?rn="overlay":rn)?Rd:B&&vi.altKey?Ms:as,fn=u===rs?null:qs[rn],vn=u===Bs?null:Bd[rn],ln=ee(Ji),xa=ln.extent,na=ln.selection,Ga=xa[0][0],Tn=xa[0][1],Gr=xa[1][0],vo=xa[1][1],Xa=0,dr=0,Io=fn&&vn&&B&&vi.shiftKey,ao=Array.from(vi.touches||[vi],Wn=>{const Yr=Wn.identifier;return(Wn=Mr(Wn,Ji)).point0=Wn.slice(),Wn.identifier=Yr,Wn});if("overlay"===rn){na&&(Sc=!0);const Wn=[ao[0],ao[1]||ao[0]];ln.selection=na=[[ma=u===rs?Ga:Lr(Wn[0][0],Wn[1][0]),xn=u===Bs?Tn:Lr(Wn[0][1],Wn[1][1])],[da=u===rs?Gr:Hr(Wn[0][0],Wn[1][0]),Ca=u===Bs?vo:Hr(Wn[0][1],Wn[1][1])]],ao.length>1&&Br()}else ma=na[0][0],xn=na[0][1],da=na[1][0],Ca=na[1][1];yn=ma,ga=xn,Aa=da,vr=Ca;var Hl=Rt(Ji).attr("pointer-events","none"),pn=Hl.selectAll(".overlay").attr("cursor",uo[rn]);yo(Ji);var Un=At(Ji,arguments,!0).beforestart();if(vi.touches)Un.moved=an,Un.ended=Ya;else{var pa=Rt(vi.view).on("mousemove.brush",an,!0).on("mouseup.brush",Ya,!0);B&&pa.on("keydown.brush",Xo,!0).on("keyup.brush",Ls,!0),Zn(vi.view)}xt.call(Ji),Un.start(vi,nn.name)}function an(Wn){for(const Yr of Wn.changedTouches||[Wn])for(const pu of ao)pu.identifier===Yr.identifier&&(pu.cur=Mr(Yr,Ji));if(Io&&!kc&&!Ks&&1===ao.length){const Yr=ao[0];Qs(Yr.cur[0]-Yr[0])>Qs(Yr.cur[1]-Yr[1])?Ks=!0:kc=!0}for(const Yr of ao)Yr.cur&&(Yr[0]=Yr.cur[0],Yr[1]=Yr.cur[1]);Sc=!0,dl(Wn),Br(Wn)}function Br(Wn){const Yr=ao[0],pu=Yr.point0;var T1;switch(Xa=Yr[0]-pu[0],dr=Yr[1]-pu[1],nn){case Gl:case Rd:fn&&(Xa=Hr(Ga-ma,Lr(Gr-da,Xa)),yn=ma+Xa,Aa=da+Xa),vn&&(dr=Hr(Tn-xn,Lr(vo-Ca,dr)),ga=xn+dr,vr=Ca+dr);break;case as:ao[1]?(fn&&(yn=Hr(Ga,Lr(Gr,ao[0][0])),Aa=Hr(Ga,Lr(Gr,ao[1][0])),fn=1),vn&&(ga=Hr(Tn,Lr(vo,ao[0][1])),vr=Hr(Tn,Lr(vo,ao[1][1])),vn=1)):(fn<0?(Xa=Hr(Ga-ma,Lr(Gr-ma,Xa)),yn=ma+Xa,Aa=da):fn>0&&(Xa=Hr(Ga-da,Lr(Gr-da,Xa)),yn=ma,Aa=da+Xa),vn<0?(dr=Hr(Tn-xn,Lr(vo-xn,dr)),ga=xn+dr,vr=Ca):vn>0&&(dr=Hr(Tn-Ca,Lr(vo-Ca,dr)),ga=xn,vr=Ca+dr));break;case Ms:fn&&(yn=Hr(Ga,Lr(Gr,ma-Xa*fn)),Aa=Hr(Ga,Lr(Gr,da+Xa*fn))),vn&&(ga=Hr(Tn,Lr(vo,xn-dr*vn)),vr=Hr(Tn,Lr(vo,Ca+dr*vn)))}Aa<yn&&(fn*=-1,T1=ma,ma=da,da=T1,T1=yn,yn=Aa,Aa=T1,rn in Yl&&pn.attr("cursor",uo[rn=Yl[rn]])),vr<ga&&(vn*=-1,T1=xn,xn=Ca,Ca=T1,T1=ga,ga=vr,vr=T1,rn in ws&&pn.attr("cursor",uo[rn=ws[rn]])),ln.selection&&(na=ln.selection),kc&&(yn=na[0][0],Aa=na[1][0]),Ks&&(ga=na[0][1],vr=na[1][1]),(na[0][0]!==yn||na[0][1]!==ga||na[1][0]!==Aa||na[1][1]!==vr)&&(ln.selection=[[yn,ga],[Aa,vr]],xt.call(Ji),Un.brush(Wn,nn.name))}function Ya(Wn){if(vc(Wn),Wn.touches){if(Wn.touches.length)return;Se&&clearTimeout(Se),Se=setTimeout(function(){Se=null},500)}else Kn(Wn.view,Sc),pa.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);Hl.attr("pointer-events","all"),pn.attr("cursor",uo.overlay),ln.selection&&(na=ln.selection),De(na)&&(ln.selection=null,xt.call(Ji)),Un.end(Wn,nn.name)}function Xo(Wn){switch(Wn.keyCode){case 16:Io=fn&&vn;break;case 18:nn===as&&(fn&&(da=Aa-Xa*fn,ma=yn+Xa*fn),vn&&(Ca=vr-dr*vn,xn=ga+dr*vn),nn=Ms,Br());break;case 32:(nn===as||nn===Ms)&&(fn<0?da=Aa-Xa:fn>0&&(ma=yn-Xa),vn<0?Ca=vr-dr:vn>0&&(xn=ga-dr),nn=Gl,pn.attr("cursor",uo.selection),Br());break;default:return}dl(Wn)}function Ls(Wn){switch(Wn.keyCode){case 16:Io&&(kc=Ks=Io=!1,Br());break;case 18:nn===Ms&&(fn<0?da=Aa:fn>0&&(ma=yn),vn<0?Ca=vr:vn>0&&(xn=ga),nn=as,Br());break;case 32:nn===Gl&&(Wn.altKey?(fn&&(da=Aa-Xa*fn,ma=yn+Xa*fn),vn&&(Ca=vr-dr*vn,xn=ga+dr*vn),nn=Ms):(fn<0?da=Aa:fn>0&&(ma=yn),vn<0?Ca=vr:vn>0&&(xn=ga),nn=as),pn.attr("cursor",uo[rn]),Br());break;default:return}dl(Wn)}}function Ci(vi){At(this,arguments).moved(vi)}function Pi(vi){At(this,arguments).ended(vi)}function Xi(){var vi=this.__brush||{selection:null};return vi.extent=bc(r.apply(this,arguments)),vi.dim=u,vi}return mt.move=function(vi,Ji){vi.tween?vi.on("start.brush",function(rn){At(this,arguments).beforestart().start(rn)}).on("interrupt.brush end.brush",function(rn){At(this,arguments).end(rn)}).tween("brush",function(){var rn=this,nn=rn.__brush,fn=At(rn,arguments),vn=nn.selection,ln=u.input("function"==typeof Ji?Ji.apply(this,arguments):Ji,nn.extent),xa=Qa(vn,ln);function na(Ga){nn.selection=1===Ga&&null===ln?null:xa(Ga),xt.call(rn),fn.brush()}return null!==vn&&null!==ln?na:na(1)}):vi.each(function(){var rn=this,nn=arguments,fn=rn.__brush,vn=u.input("function"==typeof Ji?Ji.apply(rn,nn):Ji,fn.extent),ln=At(rn,nn).beforestart();yo(rn),fn.selection=null===vn?null:vn,xt.call(rn),ln.start().brush().end()})},mt.clear=function(vi){mt.move(vi,null)},qt.prototype={beforestart:function(){return 1==++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(vi,Ji){return this.starting?(this.starting=!1,this.emit("start",vi,Ji)):this.emit("brush",vi),this},brush:function(vi,Ji){return this.emit("brush",vi,Ji),this},end:function(vi,Ji){return 0==--this.active&&(delete this.state.emitter,this.emit("end",vi,Ji)),this},emit:function(vi,Ji,rn){var nn=Rt(this.that).datum();j.call(vi,this.that,new ns(vi,{sourceEvent:Ji,target:mt,selection:u.output(this.state.selection),mode:rn,dispatch:j}),nn)}},mt.extent=function(vi){return arguments.length?(r="function"==typeof vi?vi:js(bc(vi)),mt):r},mt.filter=function(vi){return arguments.length?(n="function"==typeof vi?vi:js(!!vi),mt):n},mt.touchable=function(vi){return arguments.length?(b="function"==typeof vi?vi:js(!!vi),mt):b},mt.handleSize=function(vi){return arguments.length?(ue=+vi,mt):ue},mt.keyModifiers=function(vi){return arguments.length?(B=!!vi,mt):B},mt.on=function(){var vi=j.on.apply(j,arguments);return vi===j?mt:vi},mt}function Ii(u,r){return u<r?-1:u>r?1:u>=r?0:NaN}function zi(u){let r=u,n=u;function b(ue,Se,mt,xt){for(null==mt&&(mt=0),null==xt&&(xt=ue.length);mt<xt;){const At=mt+xt>>>1;n(ue[At],Se)<0?mt=At+1:xt=At}return mt}return 1===u.length&&(r=(ue,Se)=>u(ue)-Se,n=function dn(u){return(r,n)=>Ii(u(r),n)}(u)),{left:b,center:function j(ue,Se,mt,xt){null==mt&&(mt=0),null==xt&&(xt=ue.length);const At=b(ue,Se,mt,xt-1);return At>mt&&r(ue[At-1],Se)>-r(ue[At],Se)?At-1:At},right:function B(ue,Se,mt,xt){for(null==mt&&(mt=0),null==xt&&(xt=ue.length);mt<xt;){const At=mt+xt>>>1;n(ue[At],Se)>0?xt=At:mt=At+1}return mt}}}var ta=Math.sqrt(50),ya=Math.sqrt(10),Fn=Math.sqrt(2);function os(u,r,n){var b=(r-u)/Math.max(0,n),B=Math.floor(Math.log(b)/Math.LN10),j=b/Math.pow(10,B);return B>=0?(j>=ta?10:j>=ya?5:j>=Fn?2:1)*Math.pow(10,B):-Math.pow(10,-B)/(j>=ta?10:j>=ya?5:j>=Fn?2:1)}function mo(u,r,n){var b=Math.abs(r-u)/Math.max(0,n),B=Math.pow(10,Math.floor(Math.log(b)/Math.LN10)),j=b/B;return j>=ta?B*=10:j>=ya?B*=5:j>=Fn&&(B*=2),r<u?-B:B}const Ko=1e3,Eo=6e4,Ns=60*Eo,hl=24*Ns,bu=7*hl,P1=30*hl,jl=365*hl;var Mo=new Date,Nc=new Date;function cr(u,r,n,b){function B(j){return u(j=0===arguments.length?new Date:new Date(+j)),j}return B.floor=function(j){return u(j=new Date(+j)),j},B.ceil=function(j){return u(j=new Date(j-1)),r(j,1),u(j),j},B.round=function(j){var ue=B(j),Se=B.ceil(j);return j-ue<Se-j?ue:Se},B.offset=function(j,ue){return r(j=new Date(+j),null==ue?1:Math.floor(ue)),j},B.range=function(j,ue,Se){var xt,mt=[];if(j=B.ceil(j),Se=null==Se?1:Math.floor(Se),!(j<ue&&Se>0))return mt;do{mt.push(xt=new Date(+j)),r(j,Se),u(j)}while(xt<j&&j<ue);return mt},B.filter=function(j){return cr(function(ue){if(ue>=ue)for(;u(ue),!j(ue);)ue.setTime(ue-1)},function(ue,Se){if(ue>=ue)if(Se<0)for(;++Se<=0;)for(;r(ue,-1),!j(ue););else for(;--Se>=0;)for(;r(ue,1),!j(ue););})},n&&(B.count=function(j,ue){return Mo.setTime(+j),Nc.setTime(+ue),u(Mo),u(Nc),Math.floor(n(Mo,Nc))},B.every=function(j){return j=Math.floor(j),isFinite(j)&&j>0?j>1?B.filter(b?function(ue){return b(ue)%j==0}:function(ue){return B.count(0,ue)%j==0}):B:null}),B}var Fc=cr(function(){},function(u,r){u.setTime(+u+r)},function(u,r){return r-u});Fc.every=function(u){return u=Math.floor(u),isFinite(u)&&u>0?u>1?cr(function(r){r.setTime(Math.floor(r/u)*u)},function(r,n){r.setTime(+r+n*u)},function(r,n){return(n-r)/u}):Fc:null};const R1=Fc;Fc.range;var eh=cr(function(u){u.setTime(u-u.getMilliseconds())},function(u,r){u.setTime(+u+r*Ko)},function(u,r){return(r-u)/Ko},function(u){return u.getUTCSeconds()});const zc=eh;eh.range;var yu=cr(function(u){u.setTime(u-u.getMilliseconds()-u.getSeconds()*Ko)},function(u,r){u.setTime(+u+r*Eo)},function(u,r){return(r-u)/Eo},function(u){return u.getMinutes()});const xu=yu;yu.range;var Nd=cr(function(u){u.setTime(u-u.getMilliseconds()-u.getSeconds()*Ko-u.getMinutes()*Eo)},function(u,r){u.setTime(+u+r*Ns)},function(u,r){return(r-u)/Ns},function(u){return u.getHours()});const Ql=Nd;Nd.range;var ql=cr(u=>u.setHours(0,0,0,0),(u,r)=>u.setDate(u.getDate()+r),(u,r)=>(r-u-(r.getTimezoneOffset()-u.getTimezoneOffset())*Eo)/hl,u=>u.getDate()-1);const yc=ql;ql.range;function Hc(u){return cr(function(r){r.setDate(r.getDate()-(r.getDay()+7-u)%7),r.setHours(0,0,0,0)},function(r,n){r.setDate(r.getDate()+7*n)},function(r,n){return(n-r-(n.getTimezoneOffset()-r.getTimezoneOffset())*Eo)/bu})}var Uc=Hc(0),ul=Hc(1),Eu=Hc(2),hm=Hc(3),Xl=Hc(4),xc=Hc(5),Fd=Hc(6),Mu=(Uc.range,ul.range,Eu.range,hm.range,Xl.range,xc.range,Fd.range,cr(function(u){u.setDate(1),u.setHours(0,0,0,0)},function(u,r){u.setMonth(u.getMonth()+r)},function(u,r){return r.getMonth()-u.getMonth()+12*(r.getFullYear()-u.getFullYear())},function(u){return u.getMonth()}));const Vc=Mu;Mu.range;var th=cr(function(u){u.setMonth(0,1),u.setHours(0,0,0,0)},function(u,r){u.setFullYear(u.getFullYear()+r)},function(u,r){return r.getFullYear()-u.getFullYear()},function(u){return u.getFullYear()});th.every=function(u){return isFinite(u=Math.floor(u))&&u>0?cr(function(r){r.setFullYear(Math.floor(r.getFullYear()/u)*u),r.setMonth(0,1),r.setHours(0,0,0,0)},function(r,n){r.setFullYear(r.getFullYear()+n*u)}):null};const Wc=th;th.range;var ml=cr(function(u){u.setUTCSeconds(0,0)},function(u,r){u.setTime(+u+r*Eo)},function(u,r){return(r-u)/Eo},function(u){return u.getUTCMinutes()});const ih=ml;ml.range;var zd=cr(function(u){u.setUTCMinutes(0,0,0)},function(u,r){u.setTime(+u+r*Ns)},function(u,r){return(r-u)/Ns},function(u){return u.getUTCHours()});const Kc=zd;zd.range;var Ea=cr(function(u){u.setUTCHours(0,0,0,0)},function(u,r){u.setUTCDate(u.getUTCDate()+r)},function(u,r){return(r-u)/hl},function(u){return u.getUTCDate()-1});const pl=Ea;Ea.range;function fl(u){return cr(function(r){r.setUTCDate(r.getUTCDate()-(r.getUTCDay()+7-u)%7),r.setUTCHours(0,0,0,0)},function(r,n){r.setUTCDate(r.getUTCDate()+7*n)},function(r,n){return(n-r)/bu})}var wu=fl(0),nh=fl(1),pm=fl(2),fm=fl(3),_l=fl(4),ah=fl(5),rh=fl(6),U1=(wu.range,nh.range,pm.range,fm.range,_l.range,ah.range,rh.range,cr(function(u){u.setUTCDate(1),u.setUTCHours(0,0,0,0)},function(u,r){u.setUTCMonth(u.getUTCMonth()+r)},function(u,r){return r.getUTCMonth()-u.getUTCMonth()+12*(r.getUTCFullYear()-u.getUTCFullYear())},function(u){return u.getUTCMonth()}));const oh=U1;U1.range;var V1=cr(function(u){u.setUTCMonth(0,1),u.setUTCHours(0,0,0,0)},function(u,r){u.setUTCFullYear(u.getUTCFullYear()+r)},function(u,r){return r.getUTCFullYear()-u.getUTCFullYear()},function(u){return u.getUTCFullYear()});V1.every=function(u){return isFinite(u=Math.floor(u))&&u>0?cr(function(r){r.setUTCFullYear(Math.floor(r.getUTCFullYear()/u)*u),r.setUTCMonth(0,1),r.setUTCHours(0,0,0,0)},function(r,n){r.setUTCFullYear(r.getUTCFullYear()+n*u)}):null};const gl=V1;V1.range;function Du(u,r,n,b,B,j){const ue=[[zc,1,Ko],[zc,5,5e3],[zc,15,15e3],[zc,30,3e4],[j,1,Eo],[j,5,5*Eo],[j,15,15*Eo],[j,30,30*Eo],[B,1,Ns],[B,3,3*Ns],[B,6,6*Ns],[B,12,12*Ns],[b,1,hl],[b,2,2*hl],[n,1,bu],[r,1,P1],[r,3,3*P1],[u,1,jl]];function mt(xt,At,qt){const Ft=Math.abs(At-xt)/qt,Ci=zi(([,,vi])=>vi).right(ue,Ft);if(Ci===ue.length)return u.every(mo(xt/jl,At/jl,qt));if(0===Ci)return R1.every(Math.max(mo(xt,At,qt),1));const[Pi,Xi]=ue[Ft/ue[Ci-1][2]<ue[Ci][2]/Ft?Ci-1:Ci];return Pi.every(Xi)}return[function Se(xt,At,qt){const Ft=At<xt;Ft&&([xt,At]=[At,xt]);const Ci=qt&&"function"==typeof qt.range?qt:mt(xt,At,qt),Pi=Ci?Ci.range(xt,+At+1):[];return Ft?Pi.reverse():Pi},mt]}const[ss,Tu]=Du(gl,oh,wu,pl,Kc,ih),[Au,W1]=Du(Wc,Vc,Uc,yc,Ql,xu);function po(u){if(0<=u.y&&u.y<100){var r=new Date(-1,u.m,u.d,u.H,u.M,u.S,u.L);return r.setFullYear(u.y),r}return new Date(u.y,u.m,u.d,u.H,u.M,u.S,u.L)}function vl(u){if(0<=u.y&&u.y<100){var r=new Date(Date.UTC(-1,u.m,u.d,u.H,u.M,u.S,u.L));return r.setUTCFullYear(u.y),r}return new Date(Date.UTC(u.y,u.m,u.d,u.H,u.M,u.S,u.L))}function Jl(u,r,n){return{y:u,m:r,d:n,H:0,M:0,S:0,L:0}}var yl,J1,Lu={"-":"",_:" ",0:"0"},Xr=/^\s*\d+/,Ou=/^%/,Hd=/[\\^$*+?|[\]().{}]/g;function _a(u,r,n){var b=u<0?"-":"",B=(b?-u:u)+"",j=B.length;return b+(j<n?new Array(n-j+1).join(r)+B:B)}function Su(u){return u.replace(Hd,"\\$&")}function Gc(u){return new RegExp("^(?:"+u.map(Su).join("|")+")","i")}function $l(u){return new Map(u.map((r,n)=>[r.toLowerCase(),n]))}function sh(u,r,n){var b=Xr.exec(r.slice(n,n+1));return b?(u.w=+b[0],n+b[0].length):-1}function K1(u,r,n){var b=Xr.exec(r.slice(n,n+1));return b?(u.u=+b[0],n+b[0].length):-1}function G1(u,r,n){var b=Xr.exec(r.slice(n,n+2));return b?(u.U=+b[0],n+b[0].length):-1}function No(u,r,n){var b=Xr.exec(r.slice(n,n+2));return b?(u.V=+b[0],n+b[0].length):-1}function ch(u,r,n){var b=Xr.exec(r.slice(n,n+2));return b?(u.W=+b[0],n+b[0].length):-1}function bs(u,r,n){var b=Xr.exec(r.slice(n,n+4));return b?(u.y=+b[0],n+b[0].length):-1}function ku(u,r,n){var b=Xr.exec(r.slice(n,n+2));return b?(u.y=+b[0]+(+b[0]>68?1900:2e3),n+b[0].length):-1}function ym(u,r,n){var b=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(r.slice(n,n+6));return b?(u.Z=b[1]?0:-(b[2]+(b[3]||"00")),n+b[0].length):-1}function lh(u,r,n){var b=Xr.exec(r.slice(n,n+1));return b?(u.q=3*b[0]-3,n+b[0].length):-1}function dh(u,r,n){var b=Xr.exec(r.slice(n,n+2));return b?(u.m=b[0]-1,n+b[0].length):-1}function ed(u,r,n){var b=Xr.exec(r.slice(n,n+2));return b?(u.d=+b[0],n+b[0].length):-1}function hh(u,r,n){var b=Xr.exec(r.slice(n,n+3));return b?(u.m=0,u.d=+b[0],n+b[0].length):-1}function Yc(u,r,n){var b=Xr.exec(r.slice(n,n+2));return b?(u.H=+b[0],n+b[0].length):-1}function uh(u,r,n){var b=Xr.exec(r.slice(n,n+2));return b?(u.M=+b[0],n+b[0].length):-1}function bl(u,r,n){var b=Xr.exec(r.slice(n,n+2));return b?(u.S=+b[0],n+b[0].length):-1}function xm(u,r,n){var b=Xr.exec(r.slice(n,n+3));return b?(u.L=+b[0],n+b[0].length):-1}function Y1(u,r,n){var b=Xr.exec(r.slice(n,n+6));return b?(u.L=Math.floor(b[0]/1e3),n+b[0].length):-1}function Cm(u,r,n){var b=Ou.exec(r.slice(n,n+1));return b?n+b[0].length:-1}function Pu(u,r,n){var b=Xr.exec(r.slice(n));return b?(u.Q=+b[0],n+b[0].length):-1}function Em(u,r,n){var b=Xr.exec(r.slice(n));return b?(u.s=+b[0],n+b[0].length):-1}function td(u,r){return _a(u.getDate(),r,2)}function Mm(u,r){return _a(u.getHours(),r,2)}function Ud(u,r){return _a(u.getHours()%12||12,r,2)}function mh(u,r){return _a(1+yc.count(Wc(u),u),r,3)}function Z1(u,r){return _a(u.getMilliseconds(),r,3)}function Ru(u,r){return Z1(u,r)+"000"}function ph(u,r){return _a(u.getMonth()+1,r,2)}function wm(u,r){return _a(u.getMinutes(),r,2)}function Vd(u,r){return _a(u.getSeconds(),r,2)}function Bu(u){var r=u.getDay();return 0===r?7:r}function Nu(u,r){return _a(Uc.count(Wc(u)-1,u),r,2)}function Zc(u){var r=u.getDay();return r>=4||0===r?Xl(u):Xl.ceil(u)}function fh(u,r){return u=Zc(u),_a(Xl.count(Wc(u),u)+(4===Wc(u).getDay()),r,2)}function Fu(u){return u.getDay()}function zu(u,r){return _a(ul.count(Wc(u)-1,u),r,2)}function $p(u,r){return _a(u.getFullYear()%100,r,2)}function j1(u,r){return _a((u=Zc(u)).getFullYear()%100,r,2)}function Dm(u,r){return _a(u.getFullYear()%1e4,r,4)}function Hu(u,r){var n=u.getDay();return _a((u=n>=4||0===n?Xl(u):Xl.ceil(u)).getFullYear()%1e4,r,4)}function Uu(u){var r=u.getTimezoneOffset();return(r>0?"-":(r*=-1,"+"))+_a(r/60|0,"0",2)+_a(r%60,"0",2)}function _h(u,r){return _a(u.getUTCDate(),r,2)}function gh(u,r){return _a(u.getUTCHours(),r,2)}function vh(u,r){return _a(u.getUTCHours()%12||12,r,2)}function Q1(u,r){return _a(1+pl.count(gl(u),u),r,3)}function id(u,r){return _a(u.getUTCMilliseconds(),r,3)}function Vu(u,r){return id(u,r)+"000"}function q1(u,r){return _a(u.getUTCMonth()+1,r,2)}function bh(u,r){return _a(u.getUTCMinutes(),r,2)}function yh(u,r){return _a(u.getUTCSeconds(),r,2)}function nd(u){var r=u.getUTCDay();return 0===r?7:r}function Tm(u,r){return _a(wu.count(gl(u)-1,u),r,2)}function xh(u){var r=u.getUTCDay();return r>=4||0===r?_l(u):_l.ceil(u)}function Wu(u,r){return u=xh(u),_a(_l.count(gl(u),u)+(4===gl(u).getUTCDay()),r,2)}function Am(u){return u.getUTCDay()}function Im(u,r){return _a(nh.count(gl(u)-1,u),r,2)}function Ch(u,r){return _a(u.getUTCFullYear()%100,r,2)}function Ku(u,r){return _a((u=xh(u)).getUTCFullYear()%100,r,2)}function X1(u,r){return _a(u.getUTCFullYear()%1e4,r,4)}function Eh(u,r){var n=u.getUTCDay();return _a((u=n>=4||0===n?_l(u):_l.ceil(u)).getUTCFullYear()%1e4,r,4)}function Fs(){return"+0000"}function Gu(){return"%"}function Mh(u){return+u}function Lm(u){return Math.floor(+u/1e3)}function $1(u){return null===u?NaN:+u}!function wh(u){return yl=function Iu(u){var r=u.dateTime,n=u.date,b=u.time,B=u.periods,j=u.days,ue=u.shortDays,Se=u.months,mt=u.shortMonths,xt=Gc(B),At=$l(B),qt=Gc(j),Ft=$l(j),Ci=Gc(ue),Pi=$l(ue),Xi=Gc(Se),vi=$l(Se),Ji=Gc(mt),rn=$l(mt),nn={a:function Aa(pn){return ue[pn.getDay()]},A:function vo(pn){return j[pn.getDay()]},b:function Ca(pn){return mt[pn.getMonth()]},B:function vr(pn){return Se[pn.getMonth()]},c:null,d:td,e:td,f:Ru,g:j1,G:Hu,H:Mm,I:Ud,j:mh,L:Z1,m:ph,M:wm,p:function Xa(pn){return B[+(pn.getHours()>=12)]},q:function dr(pn){return 1+~~(pn.getMonth()/3)},Q:Mh,s:Lm,S:Vd,u:Bu,U:Nu,V:fh,w:Fu,W:zu,x:null,X:null,y:$p,Y:Dm,Z:Uu,"%":Gu},fn={a:function Sc(pn){return ue[pn.getUTCDay()]},A:function Io(pn){return j[pn.getUTCDay()]},b:function kc(pn){return mt[pn.getUTCMonth()]},B:function Ks(pn){return Se[pn.getUTCMonth()]},c:null,d:_h,e:_h,f:Vu,g:Ku,G:Eh,H:gh,I:vh,j:Q1,L:id,m:q1,M:bh,p:function ao(pn){return B[+(pn.getUTCHours()>=12)]},q:function Hl(pn){return 1+~~(pn.getUTCMonth()/3)},Q:Mh,s:Lm,S:yh,u:nd,U:Tm,V:Wu,w:Am,W:Im,x:null,X:null,y:Ch,Y:X1,Z:Fs,"%":Gu},vn={a:function ma(pn,Un,pa){var an=Ci.exec(Un.slice(pa));return an?(pn.w=Pi.get(an[0].toLowerCase()),pa+an[0].length):-1},A:function yn(pn,Un,pa){var an=qt.exec(Un.slice(pa));return an?(pn.w=Ft.get(an[0].toLowerCase()),pa+an[0].length):-1},b:function Tn(pn,Un,pa){var an=Ji.exec(Un.slice(pa));return an?(pn.m=rn.get(an[0].toLowerCase()),pa+an[0].length):-1},B:function xn(pn,Un,pa){var an=Xi.exec(Un.slice(pa));return an?(pn.m=vi.get(an[0].toLowerCase()),pa+an[0].length):-1},c:function ga(pn,Un,pa){return na(pn,r,Un,pa)},d:ed,e:ed,f:Y1,g:ku,G:bs,H:Yc,I:Yc,j:hh,L:xm,m:dh,M:uh,p:function Ga(pn,Un,pa){var an=xt.exec(Un.slice(pa));return an?(pn.p=At.get(an[0].toLowerCase()),pa+an[0].length):-1},q:lh,Q:Pu,s:Em,S:bl,u:K1,U:G1,V:No,w:sh,W:ch,x:function Gr(pn,Un,pa){return na(pn,n,Un,pa)},X:function da(pn,Un,pa){return na(pn,b,Un,pa)},y:ku,Y:bs,Z:ym,"%":Cm};function ln(pn,Un){return function(pa){var Ls,Wn,Yr,an=[],Br=-1,Ya=0,Xo=pn.length;for(pa instanceof Date||(pa=new Date(+pa));++Br<Xo;)37===pn.charCodeAt(Br)&&(an.push(pn.slice(Ya,Br)),null!=(Wn=Lu[Ls=pn.charAt(++Br)])?Ls=pn.charAt(++Br):Wn="e"===Ls?" ":"0",(Yr=Un[Ls])&&(Ls=Yr(pa,Wn)),an.push(Ls),Ya=Br+1);return an.push(pn.slice(Ya,Br)),an.join("")}}function xa(pn,Un){return function(pa){var Ya,Xo,an=Jl(1900,void 0,1);if(na(an,pn,pa+="",0)!=pa.length)return null;if("Q"in an)return new Date(an.Q);if("s"in an)return new Date(1e3*an.s+("L"in an?an.L:0));if(Un&&!("Z"in an)&&(an.Z=0),"p"in an&&(an.H=an.H%12+12*an.p),void 0===an.m&&(an.m="q"in an?an.q:0),"V"in an){if(an.V<1||an.V>53)return null;"w"in an||(an.w=1),"Z"in an?(Xo=(Ya=vl(Jl(an.y,0,1))).getUTCDay(),Ya=Xo>4||0===Xo?nh.ceil(Ya):nh(Ya),Ya=pl.offset(Ya,7*(an.V-1)),an.y=Ya.getUTCFullYear(),an.m=Ya.getUTCMonth(),an.d=Ya.getUTCDate()+(an.w+6)%7):(Xo=(Ya=po(Jl(an.y,0,1))).getDay(),Ya=Xo>4||0===Xo?ul.ceil(Ya):ul(Ya),Ya=yc.offset(Ya,7*(an.V-1)),an.y=Ya.getFullYear(),an.m=Ya.getMonth(),an.d=Ya.getDate()+(an.w+6)%7)}else("W"in an||"U"in an)&&("w"in an||(an.w="u"in an?an.u%7:"W"in an?1:0),Xo="Z"in an?vl(Jl(an.y,0,1)).getUTCDay():po(Jl(an.y,0,1)).getDay(),an.m=0,an.d="W"in an?(an.w+6)%7+7*an.W-(Xo+5)%7:an.w+7*an.U-(Xo+6)%7);return"Z"in an?(an.H+=an.Z/100|0,an.M+=an.Z%100,vl(an)):po(an)}}function na(pn,Un,pa,an){for(var Ls,Wn,Br=0,Ya=Un.length,Xo=pa.length;Br<Ya;){if(an>=Xo)return-1;if(37===(Ls=Un.charCodeAt(Br++))){if(Ls=Un.charAt(Br++),!(Wn=vn[Ls in Lu?Un.charAt(Br++):Ls])||(an=Wn(pn,pa,an))<0)return-1}else if(Ls!=pa.charCodeAt(an++))return-1}return an}return nn.x=ln(n,nn),nn.X=ln(b,nn),nn.c=ln(r,nn),fn.x=ln(n,fn),fn.X=ln(b,fn),fn.c=ln(r,fn),{format:function(pn){var Un=ln(pn+="",nn);return Un.toString=function(){return pn},Un},parse:function(pn){var Un=xa(pn+="",!1);return Un.toString=function(){return pn},Un},utcFormat:function(pn){var Un=ln(pn+="",fn);return Un.toString=function(){return pn},Un},utcParse:function(pn){var Un=xa(pn+="",!0);return Un.toString=function(){return pn},Un}}}(u),J1=yl.format,yl.parse,yl.utcFormat,yl.utcParse,yl}({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 Dh=zi(Ii),xl=Dh.right,ju=(Dh.left,zi($1).center,xl);function Sm(u,r){return u=+u,r=+r,function(n){return Math.round(u*(1-n)+r*n)}}function Js(u){return+u}var Cl=[0,1];function El(u){return u}function Th(u,r){return(r-=u=+u)?function(n){return(n-u)/r}:function km(u){return function(){return u}}(isNaN(r)?NaN:.5)}function Rm(u,r,n){var b=u[0],B=u[1],j=r[0],ue=r[1];return B<b?(b=Th(B,b),j=n(ue,j)):(b=Th(b,B),j=n(j,ue)),function(Se){return j(b(Se))}}function Qu(u,r,n){var b=Math.min(u.length,r.length)-1,B=new Array(b),j=new Array(b),ue=-1;for(u[b]<u[0]&&(u=u.slice().reverse(),r=r.slice().reverse());++ue<b;)B[ue]=Th(u[ue],u[ue+1]),j[ue]=n(r[ue],r[ue+1]);return function(Se){var mt=ju(u,Se,1,b)-1;return j[mt](B[mt](Se))}}function qu(u,r){return r.domain(u.domain()).range(u.range()).interpolate(u.interpolate()).clamp(u.clamp()).unknown(u.unknown())}function e2(){var b,B,j,Se,mt,xt,u=Cl,r=Cl,n=Qa,ue=El;function At(){var Ft=Math.min(u.length,r.length);return ue!==El&&(ue=function Pm(u,r){var n;return u>r&&(n=u,u=r,r=n),function(b){return Math.max(u,Math.min(r,b))}}(u[0],u[Ft-1])),Se=Ft>2?Qu:Rm,mt=xt=null,qt}function qt(Ft){return null==Ft||isNaN(Ft=+Ft)?j:(mt||(mt=Se(u.map(b),r,n)))(b(ue(Ft)))}return qt.invert=function(Ft){return ue(B((xt||(xt=Se(r,u.map(b),nr)))(Ft)))},qt.domain=function(Ft){return arguments.length?(u=Array.from(Ft,Js),At()):u.slice()},qt.range=function(Ft){return arguments.length?(r=Array.from(Ft),At()):r.slice()},qt.rangeRound=function(Ft){return r=Array.from(Ft),n=Sm,At()},qt.clamp=function(Ft){return arguments.length?(ue=!!Ft||El,At()):ue!==El},qt.interpolate=function(Ft){return arguments.length?(n=Ft,At()):n},qt.unknown=function(Ft){return arguments.length?(j=Ft,qt):j},function(Ft,Ci){return b=Ft,B=Ci,At()}}function Xu(){return e2()(El,El)}function Wd(u,r){switch(arguments.length){case 0:break;case 1:this.range(u);break;default:this.range(r).domain(u)}return this}function t2(u){return new Date(u)}function $s(u){return u instanceof Date?+u:+new Date(+u)}function ad(u,r,n,b,B,j,ue,Se,mt,xt){var At=Xu(),qt=At.invert,Ft=At.domain,Ci=xt(".%L"),Pi=xt(":%S"),Xi=xt("%I:%M"),vi=xt("%I %p"),Ji=xt("%a %d"),rn=xt("%b %d"),nn=xt("%B"),fn=xt("%Y");function vn(ln){return(mt(ln)<ln?Ci:Se(ln)<ln?Pi:ue(ln)<ln?Xi:j(ln)<ln?vi:b(ln)<ln?B(ln)<ln?Ji:rn:n(ln)<ln?nn:fn)(ln)}return At.invert=function(ln){return new Date(qt(ln))},At.domain=function(ln){return arguments.length?Ft(Array.from(ln,$s)):Ft().map(t2)},At.ticks=function(ln){var xa=Ft();return u(xa[0],xa[xa.length-1],ln??10)},At.tickFormat=function(ln,xa){return null==xa?vn:xt(xa)},At.nice=function(ln){var xa=Ft();return(!ln||"function"!=typeof ln.range)&&(ln=r(xa[0],xa[xa.length-1],ln??10)),ln?Ft(function Nm(u,r){var ue,n=0,b=(u=u.slice()).length-1,B=u[n],j=u[b];return j<B&&(ue=n,n=b,b=ue,ue=B,B=j,j=ue),u[n]=r.floor(B),u[b]=r.ceil(j),u}(xa,ln)):At},At.copy=function(){return qu(At,ad(u,r,n,b,B,j,ue,Se,mt,xt))},At}function jc(){return Wd.apply(ad(Au,W1,Wc,Vc,Uc,yc,Ql,xu,zc,J1).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}var e0,Ju=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Kd(u){if(!(r=Ju.exec(u)))throw new Error("invalid format: "+u);var r;return new Ah({fill:r[1],align:r[2],sign:r[3],symbol:r[4],zero:r[5],width:r[6],comma:r[7],precision:r[8]&&r[8].slice(1),trim:r[9],type:r[10]})}function Ah(u){this.fill=void 0===u.fill?" ":u.fill+"",this.align=void 0===u.align?">":u.align+"",this.sign=void 0===u.sign?"-":u.sign+"",this.symbol=void 0===u.symbol?"":u.symbol+"",this.zero=!!u.zero,this.width=void 0===u.width?void 0:+u.width,this.comma=!!u.comma,this.precision=void 0===u.precision?void 0:+u.precision,this.trim=!!u.trim,this.type=void 0===u.type?"":u.type+""}function i2(u,r){if((n=(u=r?u.toExponential(r-1):u.toExponential()).indexOf("e"))<0)return null;var n,b=u.slice(0,n);return[b.length>1?b[0]+b.slice(2):b,+u.slice(n+1)]}function Qc(u){return(u=i2(Math.abs(u)))?u[1]:NaN}function Yd(u,r){var n=i2(u,r);if(!n)return u+"";var b=n[0],B=n[1];return B<0?"0."+new Array(-B).join("0")+b:b.length>B+1?b.slice(0,B+1)+"."+b.slice(B+1):b+new Array(B-b.length+2).join("0")}Kd.prototype=Ah.prototype,Ah.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 Hm={"%":(u,r)=>(100*u).toFixed(r),b:u=>Math.round(u).toString(2),c:u=>u+"",d:function Fm(u){return Math.abs(u=Math.round(u))>=1e21?u.toLocaleString("en").replace(/,/g,""):u.toString(10)},e:(u,r)=>u.toExponential(r),f:(u,r)=>u.toFixed(r),g:(u,r)=>u.toPrecision(r),o:u=>Math.round(u).toString(8),p:(u,r)=>Yd(100*u,r),r:Yd,s:function t0(u,r){var n=i2(u,r);if(!n)return u+"";var b=n[0],B=n[1],j=B-(e0=3*Math.max(-8,Math.min(8,Math.floor(B/3))))+1,ue=b.length;return j===ue?b:j>ue?b+new Array(j-ue+1).join("0"):j>0?b.slice(0,j)+"."+b.slice(j):"0."+new Array(1-j).join("0")+i2(u,Math.max(0,r+j-1))[0]},X:u=>Math.round(u).toString(16).toUpperCase(),x:u=>Math.round(u).toString(16)};function Ih(u){return u}var kr,ec,Lh,a2=Array.prototype.map,i0=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function n0(u){var r=void 0===u.grouping||void 0===u.thousands?Ih:function zm(u,r){return function(n,b){for(var B=n.length,j=[],ue=0,Se=u[0],mt=0;B>0&&Se>0&&(mt+Se+1>b&&(Se=Math.max(1,b-mt)),j.push(n.substring(B-=Se,B+Se)),!((mt+=Se+1)>b));)Se=u[ue=(ue+1)%u.length];return j.reverse().join(r)}}(a2.call(u.grouping,Number),u.thousands+""),n=void 0===u.currency?"":u.currency[0]+"",b=void 0===u.currency?"":u.currency[1]+"",B=void 0===u.decimal?".":u.decimal+"",j=void 0===u.numerals?Ih:function $u(u){return function(r){return r.replace(/[0-9]/g,function(n){return u[+n]})}}(a2.call(u.numerals,String)),ue=void 0===u.percent?"%":u.percent+"",Se=void 0===u.minus?"\u2212":u.minus+"",mt=void 0===u.nan?"NaN":u.nan+"";function xt(qt){var Ft=(qt=Kd(qt)).fill,Ci=qt.align,Pi=qt.sign,Xi=qt.symbol,vi=qt.zero,Ji=qt.width,rn=qt.comma,nn=qt.precision,fn=qt.trim,vn=qt.type;"n"===vn?(rn=!0,vn="g"):Hm[vn]||(void 0===nn&&(nn=12),fn=!0,vn="g"),(vi||"0"===Ft&&"="===Ci)&&(vi=!0,Ft="0",Ci="=");var ln="$"===Xi?n:"#"===Xi&&/[boxX]/.test(vn)?"0"+vn.toLowerCase():"",xa="$"===Xi?b:/[%p]/.test(vn)?ue:"",na=Hm[vn],Ga=/[defgprs%]/.test(vn);function ma(yn){var ga,Gr,da,Tn=ln,xn=xa;if("c"===vn)xn=na(yn)+xn,yn="";else{var Aa=(yn=+yn)<0||1/yn<0;if(yn=isNaN(yn)?mt:na(Math.abs(yn),nn),fn&&(yn=function Gd(u){e:for(var B,r=u.length,n=1,b=-1;n<r;++n)switch(u[n]){case".":b=B=n;break;case"0":0===b&&(b=n),B=n;break;default:if(!+u[n])break e;b>0&&(b=0)}return b>0?u.slice(0,b)+u.slice(B+1):u}(yn)),Aa&&0==+yn&&"+"!==Pi&&(Aa=!1),Tn=(Aa?"("===Pi?Pi:Se:"-"===Pi||"("===Pi?"":Pi)+Tn,xn=("s"===vn?i0[8+e0/3]:"")+xn+(Aa&&"("===Pi?")":""),Ga)for(ga=-1,Gr=yn.length;++ga<Gr;)if(48>(da=yn.charCodeAt(ga))||da>57){xn=(46===da?B+yn.slice(ga+1):yn.slice(ga))+xn,yn=yn.slice(0,ga);break}}rn&&!vi&&(yn=r(yn,1/0));var vo=Tn.length+yn.length+xn.length,Ca=vo<Ji?new Array(Ji-vo+1).join(Ft):"";switch(rn&&vi&&(yn=r(Ca+yn,Ca.length?Ji-xn.length:1/0),Ca=""),Ci){case"<":yn=Tn+yn+xn+Ca;break;case"=":yn=Tn+Ca+yn+xn;break;case"^":yn=Ca.slice(0,vo=Ca.length>>1)+Tn+yn+xn+Ca.slice(vo);break;default:yn=Ca+Tn+yn+xn}return j(yn)}return nn=void 0===nn?6:/[gprs]/.test(vn)?Math.max(1,Math.min(21,nn)):Math.max(0,Math.min(20,nn)),ma.toString=function(){return qt+""},ma}return{format:xt,formatPrefix:function At(qt,Ft){var Ci=xt(((qt=Kd(qt)).type="f",qt)),Pi=3*Math.max(-8,Math.min(8,Math.floor(Qc(Ft)/3))),Xi=Math.pow(10,-Pi),vi=i0[8+Pi/3];return function(Ji){return Ci(Xi*Ji)+vi}}}}function o2(u,r,n,b){var j,B=mo(u,r,n);switch((b=Kd(b??",f")).type){case"s":var ue=Math.max(Math.abs(u),Math.abs(r));return null==b.precision&&!isNaN(j=function n2(u,r){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Qc(r)/3)))-Qc(Math.abs(u)))}(B,ue))&&(b.precision=j),Lh(b,ue);case"":case"e":case"g":case"p":case"r":null==b.precision&&!isNaN(j=function a0(u,r){return u=Math.abs(u),r=Math.abs(r)-u,Math.max(0,Qc(r)-Qc(u))+1}(B,Math.max(Math.abs(u),Math.abs(r))))&&(b.precision=j-("e"===b.type));break;case"f":case"%":null==b.precision&&!isNaN(j=function Oh(u){return Math.max(0,-Qc(Math.abs(u)))}(B))&&(b.precision=j-2*("%"===b.type))}return ec(b)}function r0(u){var r=u.domain;return u.ticks=function(n){var b=r();return function Ur(u,r,n){var b,j,ue,Se,B=-1;if(n=+n,(u=+u)==(r=+r)&&n>0)return[u];if((b=r<u)&&(j=u,u=r,r=j),0===(Se=os(u,r,n))||!isFinite(Se))return[];if(Se>0){let mt=Math.round(u/Se),xt=Math.round(r/Se);for(mt*Se<u&&++mt,xt*Se>r&&--xt,ue=new Array(j=xt-mt+1);++B<j;)ue[B]=(mt+B)*Se}else{Se=-Se;let mt=Math.round(u*Se),xt=Math.round(r*Se);for(mt/Se<u&&++mt,xt/Se>r&&--xt,ue=new Array(j=xt-mt+1);++B<j;)ue[B]=(mt+B)/Se}return b&&ue.reverse(),ue}(b[0],b[b.length-1],n??10)},u.tickFormat=function(n,b){var B=r();return o2(B[0],B[B.length-1],n??10,b)},u.nice=function(n){null==n&&(n=10);var mt,xt,b=r(),B=0,j=b.length-1,ue=b[B],Se=b[j],At=10;for(Se<ue&&(xt=ue,ue=Se,Se=xt,xt=B,B=j,j=xt);At-- >0;){if((xt=os(ue,Se,n))===mt)return b[B]=ue,b[j]=Se,r(b);if(xt>0)ue=Math.floor(ue/xt)*xt,Se=Math.ceil(Se/xt)*xt;else{if(!(xt<0))break;ue=Math.ceil(ue*xt)/xt,Se=Math.floor(Se*xt)/xt}mt=xt}return u},u}function Ha(){var u=Xu();return u.copy=function(){return qu(u,Ha())},Wd.apply(u,arguments),r0(u)}function Sh(u,r,n){u=+u,r=+r,n=(B=arguments.length)<2?(r=u,u=0,1):B<3?1:+n;for(var b=-1,B=0|Math.max(0,Math.ceil((r-u)/n)),j=new Array(B);++b<B;)j[b]=u+b*n;return j}!function r2(u){return kr=n0(u),ec=kr.format,Lh=kr.formatPrefix,kr}({thousands:",",grouping:[3],currency:["$",""]});const kh=Symbol("implicit");function Zd(){var u=new Map,r=[],n=[],b=kh;function B(j){var ue=j+"",Se=u.get(ue);if(!Se){if(b!==kh)return b;u.set(ue,Se=r.push(j))}return n[(Se-1)%n.length]}return B.domain=function(j){if(!arguments.length)return r.slice();r=[],u=new Map;for(const ue of j){const Se=ue+"";u.has(Se)||u.set(Se,r.push(ue))}return B},B.range=function(j){return arguments.length?(n=Array.from(j),B):n.slice()},B.unknown=function(j){return arguments.length?(b=j,B):b},B.copy=function(){return Zd(r,n).unknown(b)},Wd.apply(B,arguments),B}function Jr(){var j,ue,u=Zd().unknown(void 0),r=u.domain,n=u.range,b=0,B=1,Se=!1,mt=0,xt=0,At=.5;function qt(){var Ft=r().length,Ci=B<b,Pi=Ci?B:b,Xi=Ci?b:B;j=(Xi-Pi)/Math.max(1,Ft-mt+2*xt),Se&&(j=Math.floor(j)),Pi+=(Xi-Pi-j*(Ft-mt))*At,ue=j*(1-mt),Se&&(Pi=Math.round(Pi),ue=Math.round(ue));var vi=Sh(Ft).map(function(Ji){return Pi+j*Ji});return n(Ci?vi.reverse():vi)}return delete u.unknown,u.domain=function(Ft){return arguments.length?(r(Ft),qt()):r()},u.range=function(Ft){return arguments.length?([b,B]=Ft,b=+b,B=+B,qt()):[b,B]},u.rangeRound=function(Ft){return[b,B]=Ft,b=+b,B=+B,Se=!0,qt()},u.bandwidth=function(){return ue},u.step=function(){return j},u.round=function(Ft){return arguments.length?(Se=!!Ft,qt()):Se},u.padding=function(Ft){return arguments.length?(mt=Math.min(1,xt=+Ft),qt()):mt},u.paddingInner=function(Ft){return arguments.length?(mt=Math.min(1,Ft),qt()):mt},u.paddingOuter=function(Ft){return arguments.length?(xt=+Ft,qt()):xt},u.align=function(Ft){return arguments.length?(At=Math.max(0,Math.min(1,Ft)),qt()):At},u.copy=function(){return Jr(r(),[b,B]).round(Se).paddingInner(mt).paddingOuter(xt).align(At)},Wd.apply(qt(),arguments)}function Cc(u){var r=u.copy;return u.padding=u.paddingOuter,delete u.paddingInner,delete u.paddingOuter,u.copy=function(){return Cc(r())},u}function qa(){return Cc(Jr.apply(null,arguments).paddingInner(1))}function rd(u,r){let n;if(void 0===r)for(const b of u)null!=b&&(n<b||void 0===n&&b>=b)&&(n=b);else{let b=-1;for(let B of u)null!=(B=r(B,++b,u))&&(n<B||void 0===n&&B>=B)&&(n=B)}return n}function jd(u,r){let n;if(void 0===r)for(const b of u)null!=b&&(n>b||void 0===n&&b>=b)&&(n=b);else{let b=-1;for(let B of u)null!=(B=r(B,++b,u))&&(n>B||void 0===n&&B>=B)&&(n=B)}return n}function Ph(u,r,n=0,b=u.length-1,B=Ii){for(;b>n;){if(b-n>600){const mt=b-n+1,xt=r-n+1,At=Math.log(mt),qt=.5*Math.exp(2*At/3),Ft=.5*Math.sqrt(At*qt*(mt-qt)/mt)*(xt-mt/2<0?-1:1);Ph(u,r,Math.max(n,Math.floor(r-xt*qt/mt+Ft)),Math.min(b,Math.floor(r+(mt-xt)*qt/mt+Ft)),B)}const j=u[r];let ue=n,Se=b;for(od(u,n,r),B(u[b],j)>0&&od(u,n,b);ue<Se;){for(od(u,ue,Se),++ue,--Se;B(u[ue],j)<0;)++ue;for(;B(u[Se],j)>0;)--Se}0===B(u[n],j)?od(u,n,Se):(++Se,od(u,Se,b)),Se<=r&&(n=Se+1),r<=Se&&(b=Se-1)}return u}function od(u,r,n){const b=u[r];u[r]=u[n],u[n]=b}function Rh(u,r,n){if(u=Float64Array.from(function*Zu(u,r){if(void 0===r)for(let n of u)null!=n&&(n=+n)>=n&&(yield n);else{let n=-1;for(let b of u)null!=(b=r(b,++n,u))&&(b=+b)>=b&&(yield b)}}(u,n)),b=u.length){if((r=+r)<=0||b<2)return jd(u);if(r>=1)return rd(u);var b,B=(b-1)*r,j=Math.floor(B),ue=rd(Ph(u,j).subarray(0,j+1));return ue+(jd(u.subarray(j+1))-ue)*(B-j)}}function o0(u,r,n=$1){if(b=u.length){if((r=+r)<=0||b<2)return+n(u[0],0,u);if(r>=1)return+n(u[b-1],b-1,u);var b,B=(b-1)*r,j=Math.floor(B),ue=+n(u[j],j,u);return ue+(+n(u[j+1],j+1,u)-ue)*(B-j)}}function Bh(){var b,u=[],r=[],n=[];function B(){var ue=0,Se=Math.max(1,r.length);for(n=new Array(Se-1);++ue<Se;)n[ue-1]=o0(u,ue/Se);return j}function j(ue){return null==ue||isNaN(ue=+ue)?b:r[ju(n,ue)]}return j.invertExtent=function(ue){var Se=r.indexOf(ue);return Se<0?[NaN,NaN]:[Se>0?n[Se-1]:u[0],Se<n.length?n[Se]:u[u.length-1]]},j.domain=function(ue){if(!arguments.length)return u.slice();u=[];for(let Se of ue)null!=Se&&!isNaN(Se=+Se)&&u.push(Se);return u.sort(Ii),B()},j.range=function(ue){return arguments.length?(r=Array.from(ue),B()):r.slice()},j.unknown=function(ue){return arguments.length?(b=ue,j):b},j.quantiles=function(){return n.slice()},j.copy=function(){return Bh().domain(u).range(r).unknown(b)},Wd.apply(j,arguments)}const sd=Math.PI,Nh=2*sd,Ec=1e-6,Um=Nh-Ec;function Qd(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function Fh(){return new Qd}Qd.prototype=Fh.prototype={constructor:Qd,moveTo:function(u,r){this._+="M"+(this._x0=this._x1=+u)+","+(this._y0=this._y1=+r)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(u,r){this._+="L"+(this._x1=+u)+","+(this._y1=+r)},quadraticCurveTo:function(u,r,n,b){this._+="Q"+ +u+","+ +r+","+(this._x1=+n)+","+(this._y1=+b)},bezierCurveTo:function(u,r,n,b,B,j){this._+="C"+ +u+","+ +r+","+ +n+","+ +b+","+(this._x1=+B)+","+(this._y1=+j)},arcTo:function(u,r,n,b,B){u=+u,r=+r,n=+n,b=+b,B=+B;var j=this._x1,ue=this._y1,Se=n-u,mt=b-r,xt=j-u,At=ue-r,qt=xt*xt+At*At;if(B<0)throw new Error("negative radius: "+B);if(null===this._x1)this._+="M"+(this._x1=u)+","+(this._y1=r);else if(qt>Ec)if(Math.abs(At*Se-mt*xt)>Ec&&B){var Ft=n-j,Ci=b-ue,Pi=Se*Se+mt*mt,Xi=Ft*Ft+Ci*Ci,vi=Math.sqrt(Pi),Ji=Math.sqrt(qt),rn=B*Math.tan((sd-Math.acos((Pi+qt-Xi)/(2*vi*Ji)))/2),nn=rn/Ji,fn=rn/vi;Math.abs(nn-1)>Ec&&(this._+="L"+(u+nn*xt)+","+(r+nn*At)),this._+="A"+B+","+B+",0,0,"+ +(At*Ft>xt*Ci)+","+(this._x1=u+fn*Se)+","+(this._y1=r+fn*mt)}else this._+="L"+(this._x1=u)+","+(this._y1=r)},arc:function(u,r,n,b,B,j){u=+u,r=+r,j=!!j;var ue=(n=+n)*Math.cos(b),Se=n*Math.sin(b),mt=u+ue,xt=r+Se,At=1^j,qt=j?b-B:B-b;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+mt+","+xt:(Math.abs(this._x1-mt)>Ec||Math.abs(this._y1-xt)>Ec)&&(this._+="L"+mt+","+xt),n&&(qt<0&&(qt=qt%Nh+Nh),qt>Um?this._+="A"+n+","+n+",0,1,"+At+","+(u-ue)+","+(r-Se)+"A"+n+","+n+",0,1,"+At+","+(this._x1=mt)+","+(this._y1=xt):qt>Ec&&(this._+="A"+n+","+n+",0,"+ +(qt>=sd)+","+At+","+(this._x1=u+n*Math.cos(B))+","+(this._y1=r+n*Math.sin(B))))},rect:function(u,r,n,b){this._+="M"+(this._x0=this._x1=+u)+","+(this._y0=this._y1=+r)+"h"+ +n+"v"+ +b+"h"+-n+"Z"},toString:function(){return this._}};const s2=Fh;Array.prototype.slice;function zh(u){return"object"==typeof u&&"length"in u?u:Array.from(u)}function la(u){return function(){return u}}function qd(u){this._context=u}function Ml(u){return new qd(u)}function c2(u){return u[0]}function qc(u){return u[1]}function tc(u,r){var n=la(!0),b=null,B=Ml,j=null;function ue(Se){var mt,At,Ft,xt=(Se=zh(Se)).length,qt=!1;for(null==b&&(j=B(Ft=s2())),mt=0;mt<=xt;++mt)!(mt<xt&&n(At=Se[mt],mt,Se))===qt&&((qt=!qt)?j.lineStart():j.lineEnd()),qt&&j.point(+u(At,mt,Se),+r(At,mt,Se));if(Ft)return j=null,Ft+""||null}return u="function"==typeof u?u:void 0===u?c2:la(u),r="function"==typeof r?r:void 0===r?qc:la(r),ue.x=function(Se){return arguments.length?(u="function"==typeof Se?Se:la(+Se),ue):u},ue.y=function(Se){return arguments.length?(r="function"==typeof Se?Se:la(+Se),ue):r},ue.defined=function(Se){return arguments.length?(n="function"==typeof Se?Se:la(!!Se),ue):n},ue.curve=function(Se){return arguments.length?(B=Se,null!=b&&(j=B(b)),ue):B},ue.context=function(Se){return arguments.length?(null==Se?b=j=null:j=B(b=Se),ue):b},ue}function Xc(u,r,n){var b=null,B=la(!0),j=null,ue=Ml,Se=null;function mt(At){var qt,Ft,Ci,Xi,Ji,Pi=(At=zh(At)).length,vi=!1,rn=new Array(Pi),nn=new Array(Pi);for(null==j&&(Se=ue(Ji=s2())),qt=0;qt<=Pi;++qt){if(!(qt<Pi&&B(Xi=At[qt],qt,At))===vi)if(vi=!vi)Ft=qt,Se.areaStart(),Se.lineStart();else{for(Se.lineEnd(),Se.lineStart(),Ci=qt-1;Ci>=Ft;--Ci)Se.point(rn[Ci],nn[Ci]);Se.lineEnd(),Se.areaEnd()}vi&&(rn[qt]=+u(Xi,qt,At),nn[qt]=+r(Xi,qt,At),Se.point(b?+b(Xi,qt,At):rn[qt],n?+n(Xi,qt,At):nn[qt]))}if(Ji)return Se=null,Ji+""||null}function xt(){return tc().defined(B).curve(ue).context(j)}return u="function"==typeof u?u:void 0===u?c2:la(+u),r="function"==typeof r?r:la(void 0===r?0:+r),n="function"==typeof n?n:void 0===n?qc:la(+n),mt.x=function(At){return arguments.length?(u="function"==typeof At?At:la(+At),b=null,mt):u},mt.x0=function(At){return arguments.length?(u="function"==typeof At?At:la(+At),mt):u},mt.x1=function(At){return arguments.length?(b=null==At?null:"function"==typeof At?At:la(+At),mt):b},mt.y=function(At){return arguments.length?(r="function"==typeof At?At:la(+At),n=null,mt):r},mt.y0=function(At){return arguments.length?(r="function"==typeof At?At:la(+At),mt):r},mt.y1=function(At){return arguments.length?(n=null==At?null:"function"==typeof At?At:la(+At),mt):n},mt.lineX0=mt.lineY0=function(){return xt().x(u).y(r)},mt.lineY1=function(){return xt().x(u).y(n)},mt.lineX1=function(){return xt().x(b).y(r)},mt.defined=function(At){return arguments.length?(B="function"==typeof At?At:la(!!At),mt):B},mt.curve=function(At){return arguments.length?(ue=At,null!=j&&(Se=ue(j)),mt):ue},mt.context=function(At){return arguments.length?(null==At?j=Se=null:Se=ue(j=At),mt):j},mt}qd.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(u,r){switch(u=+u,r=+r,this._point){case 0:this._point=1,this._line?this._context.lineTo(u,r):this._context.moveTo(u,r);break;case 1:this._point=2;default:this._context.lineTo(u,r)}}};var l2=Math.abs,$r=Math.atan2,wl=Math.cos,d2=Math.max,Jc=Math.min,ys=Math.sin,Go=Math.sqrt,xs=1e-12,ld=Math.PI,zs=ld/2,Xd=2*ld;function s0(u){return u>1?0:u<-1?ld:Math.acos(u)}function Hh(u){return u>=1?zs:u<=-1?-zs:Math.asin(u)}function nf(u){return u.innerRadius}function c0(u){return u.outerRadius}function dd(u){return u.startAngle}function Vm(u){return u.endAngle}function hd(u){return u&&u.padAngle}function Dl(u,r,n,b,B,j,ue,Se){var mt=n-u,xt=b-r,At=ue-B,qt=Se-j,Ft=qt*mt-At*xt;if(!(Ft*Ft<xs))return[u+(Ft=(At*(r-j)-qt*(u-B))/Ft)*mt,r+Ft*xt]}function h2(u,r,n,b,B,j,ue){var Se=u-n,mt=r-b,xt=(ue?j:-j)/Go(Se*Se+mt*mt),At=xt*mt,qt=-xt*Se,Ft=u+At,Ci=r+qt,Pi=n+At,Xi=b+qt,vi=(Ft+Pi)/2,Ji=(Ci+Xi)/2,rn=Pi-Ft,nn=Xi-Ci,fn=rn*rn+nn*nn,vn=B-j,ln=Ft*Xi-Pi*Ci,xa=(nn<0?-1:1)*Go(d2(0,vn*vn*fn-ln*ln)),na=(ln*nn-rn*xa)/fn,Ga=(-ln*rn-nn*xa)/fn,ma=(ln*nn+rn*xa)/fn,yn=(-ln*rn+nn*xa)/fn,Tn=na-vi,xn=Ga-Ji,ga=ma-vi,Gr=yn-Ji;return Tn*Tn+xn*xn>ga*ga+Gr*Gr&&(na=ma,Ga=yn),{cx:na,cy:Ga,x01:-At,y01:-qt,x11:na*(B/vn-1),y11:Ga*(B/vn-1)}}function u2(){var u=nf,r=c0,n=la(0),b=null,B=dd,j=Vm,ue=hd,Se=null;function mt(){var xt,At,qt=+u.apply(this,arguments),Ft=+r.apply(this,arguments),Ci=B.apply(this,arguments)-zs,Pi=j.apply(this,arguments)-zs,Xi=l2(Pi-Ci),vi=Pi>Ci;if(Se||(Se=xt=s2()),Ft<qt&&(At=Ft,Ft=qt,qt=At),Ft>xs)if(Xi>Xd-xs)Se.moveTo(Ft*wl(Ci),Ft*ys(Ci)),Se.arc(0,0,Ft,Ci,Pi,!vi),qt>xs&&(Se.moveTo(qt*wl(Pi),qt*ys(Pi)),Se.arc(0,0,qt,Pi,Ci,vi));else{var Tn,xn,Ji=Ci,rn=Pi,nn=Ci,fn=Pi,vn=Xi,ln=Xi,xa=ue.apply(this,arguments)/2,na=xa>xs&&(b?+b.apply(this,arguments):Go(qt*qt+Ft*Ft)),Ga=Jc(l2(Ft-qt)/2,+n.apply(this,arguments)),ma=Ga,yn=Ga;if(na>xs){var ga=Hh(na/qt*ys(xa)),Gr=Hh(na/Ft*ys(xa));(vn-=2*ga)>xs?(nn+=ga*=vi?1:-1,fn-=ga):(vn=0,nn=fn=(Ci+Pi)/2),(ln-=2*Gr)>xs?(Ji+=Gr*=vi?1:-1,rn-=Gr):(ln=0,Ji=rn=(Ci+Pi)/2)}var da=Ft*wl(Ji),Aa=Ft*ys(Ji),vo=qt*wl(fn),Ca=qt*ys(fn);if(Ga>xs){var Io,vr=Ft*wl(rn),Xa=Ft*ys(rn),dr=qt*wl(nn),Sc=qt*ys(nn);if(Xi<ld&&(Io=Dl(da,Aa,dr,Sc,vr,Xa,vo,Ca))){var kc=da-Io[0],Ks=Aa-Io[1],ao=vr-Io[0],Hl=Xa-Io[1],pn=1/ys(s0((kc*ao+Ks*Hl)/(Go(kc*kc+Ks*Ks)*Go(ao*ao+Hl*Hl)))/2),Un=Go(Io[0]*Io[0]+Io[1]*Io[1]);ma=Jc(Ga,(qt-Un)/(pn-1)),yn=Jc(Ga,(Ft-Un)/(pn+1))}}ln>xs?yn>xs?(Tn=h2(dr,Sc,da,Aa,Ft,yn,vi),xn=h2(vr,Xa,vo,Ca,Ft,yn,vi),Se.moveTo(Tn.cx+Tn.x01,Tn.cy+Tn.y01),yn<Ga?Se.arc(Tn.cx,Tn.cy,yn,$r(Tn.y01,Tn.x01),$r(xn.y01,xn.x01),!vi):(Se.arc(Tn.cx,Tn.cy,yn,$r(Tn.y01,Tn.x01),$r(Tn.y11,Tn.x11),!vi),Se.arc(0,0,Ft,$r(Tn.cy+Tn.y11,Tn.cx+Tn.x11),$r(xn.cy+xn.y11,xn.cx+xn.x11),!vi),Se.arc(xn.cx,xn.cy,yn,$r(xn.y11,xn.x11),$r(xn.y01,xn.x01),!vi))):(Se.moveTo(da,Aa),Se.arc(0,0,Ft,Ji,rn,!vi)):Se.moveTo(da,Aa),qt>xs&&vn>xs?ma>xs?(Tn=h2(vo,Ca,vr,Xa,qt,-ma,vi),xn=h2(da,Aa,dr,Sc,qt,-ma,vi),Se.lineTo(Tn.cx+Tn.x01,Tn.cy+Tn.y01),ma<Ga?Se.arc(Tn.cx,Tn.cy,ma,$r(Tn.y01,Tn.x01),$r(xn.y01,xn.x01),!vi):(Se.arc(Tn.cx,Tn.cy,ma,$r(Tn.y01,Tn.x01),$r(Tn.y11,Tn.x11),!vi),Se.arc(0,0,qt,$r(Tn.cy+Tn.y11,Tn.cx+Tn.x11),$r(xn.cy+xn.y11,xn.cx+xn.x11),vi),Se.arc(xn.cx,xn.cy,ma,$r(xn.y11,xn.x11),$r(xn.y01,xn.x01),!vi))):Se.arc(0,0,qt,fn,nn,vi):Se.lineTo(vo,Ca)}else Se.moveTo(0,0);if(Se.closePath(),xt)return Se=null,xt+""||null}return mt.centroid=function(){var xt=(+u.apply(this,arguments)+ +r.apply(this,arguments))/2,At=(+B.apply(this,arguments)+ +j.apply(this,arguments))/2-ld/2;return[wl(At)*xt,ys(At)*xt]},mt.innerRadius=function(xt){return arguments.length?(u="function"==typeof xt?xt:la(+xt),mt):u},mt.outerRadius=function(xt){return arguments.length?(r="function"==typeof xt?xt:la(+xt),mt):r},mt.cornerRadius=function(xt){return arguments.length?(n="function"==typeof xt?xt:la(+xt),mt):n},mt.padRadius=function(xt){return arguments.length?(b=null==xt?null:"function"==typeof xt?xt:la(+xt),mt):b},mt.startAngle=function(xt){return arguments.length?(B="function"==typeof xt?xt:la(+xt),mt):B},mt.endAngle=function(xt){return arguments.length?(j="function"==typeof xt?xt:la(+xt),mt):j},mt.padAngle=function(xt){return arguments.length?(ue="function"==typeof xt?xt:la(+xt),mt):ue},mt.context=function(xt){return arguments.length?(Se=xt??null,mt):Se},mt}var Uh=m2(Ml);function l0(u){this._curve=u}function m2(u){function r(n){return new l0(u(n))}return r._curve=u,r}function Vh(){return function d0(u){var r=u.curve;return u.angle=u.x,delete u.x,u.radius=u.y,delete u.y,u.curve=function(n){return arguments.length?r(m2(n)):r()._curve},u}(tc().curve(Uh))}function p2(){}function Jd(u,r,n){u._context.bezierCurveTo(u._x1+u._k*(u._x2-u._x0),u._y1+u._k*(u._y2-u._y0),u._x2+u._k*(u._x1-r),u._y2+u._k*(u._y1-n),u._x2,u._y2)}function h0(u,r){this._context=u,this._k=(1-r)/6}l0.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(u,r){this._curve.point(r*Math.sin(u),r*-Math.cos(u))}},h0.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Jd(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(u,r){switch(u=+u,r=+r,this._point){case 0:this._point=1,this._line?this._context.lineTo(u,r):this._context.moveTo(u,r);break;case 1:this._point=2,this._x1=u,this._y1=r;break;case 2:this._point=3;default:Jd(this,u,r)}this._x0=this._x1,this._x1=this._x2,this._x2=u,this._y0=this._y1,this._y1=this._y2,this._y2=r}};(function u(r){function n(b){return new h0(b,r)}return n.tension=function(b){return u(+b)},n})(0);function Mc(u,r){this._context=u,this._k=(1-r)/6}Mc.prototype={areaStart:p2,areaEnd:p2,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(u,r){switch(u=+u,r=+r,this._point){case 0:this._point=1,this._x3=u,this._y3=r;break;case 1:this._point=2,this._context.moveTo(this._x4=u,this._y4=r);break;case 2:this._point=3,this._x5=u,this._y5=r;break;default:Jd(this,u,r)}this._x0=this._x1,this._x1=this._x2,this._x2=u,this._y0=this._y1,this._y1=this._y2,this._y2=r}};const f2=function u(r){function n(b){return new Mc(b,r)}return n.tension=function(b){return u(+b)},n}(0);function Wm(u,r){return r<u?-1:r>u?1:r>=u?0:NaN}function u0(u){return u}function m0(){var u=u0,r=Wm,n=null,b=la(0),B=la(Xd),j=la(0);function ue(Se){var mt,At,qt,Ji,fn,xt=(Se=zh(Se)).length,Ft=0,Ci=new Array(xt),Pi=new Array(xt),Xi=+b.apply(this,arguments),vi=Math.min(Xd,Math.max(-Xd,B.apply(this,arguments)-Xi)),rn=Math.min(Math.abs(vi)/xt,j.apply(this,arguments)),nn=rn*(vi<0?-1:1);for(mt=0;mt<xt;++mt)(fn=Pi[Ci[mt]=mt]=+u(Se[mt],mt,Se))>0&&(Ft+=fn);for(null!=r?Ci.sort(function(vn,ln){return r(Pi[vn],Pi[ln])}):null!=n&&Ci.sort(function(vn,ln){return n(Se[vn],Se[ln])}),mt=0,qt=Ft?(vi-xt*nn)/Ft:0;mt<xt;++mt,Xi=Ji)At=Ci[mt],Ji=Xi+((fn=Pi[At])>0?fn*qt:0)+nn,Pi[At]={data:Se[At],index:mt,value:fn,startAngle:Xi,endAngle:Ji,padAngle:rn};return Pi}return ue.value=function(Se){return arguments.length?(u="function"==typeof Se?Se:la(+Se),ue):u},ue.sortValues=function(Se){return arguments.length?(r=Se,n=null,ue):r},ue.sort=function(Se){return arguments.length?(n=Se,r=null,ue):n},ue.startAngle=function(Se){return arguments.length?(b="function"==typeof Se?Se:la(+Se),ue):b},ue.endAngle=function(Se){return arguments.length?(B="function"==typeof Se?Se:la(+Se),ue):B},ue.padAngle=function(Se){return arguments.length?(j="function"==typeof Se?Se:la(+Se),ue):j},ue}var Kh=Math.PI;function ic(u){return(1-Math.cos(Kh*u))/2}var Km=f(1381);function p0(u){u.x0=Math.round(u.x0),u.y0=Math.round(u.y0),u.x1=Math.round(u.x1),u.y1=Math.round(u.y1)}function rf(u,r,n,b,B){for(var ue,j=u.children,Se=-1,mt=j.length,xt=u.value&&(b-r)/u.value;++Se<mt;)(ue=j[Se]).y0=n,ue.y1=B,ue.x0=r,ue.x1=r+=ue.value*xt}function sf(u,r,n,b,B){for(var ue,j=u.children,Se=-1,mt=j.length,xt=u.value&&(B-n)/u.value;++Se<mt;)(ue=j[Se]).x0=r,ue.x1=b,ue.y0=n,ue.y1=n+=ue.value*xt}const _0=function u(r){function n(b,B,j,ue,Se){!function Gm(u,r,n,b,B,j){for(var mt,xt,Ci,Pi,vi,Ji,rn,nn,fn,vn,ln,ue=[],Se=r.children,At=0,qt=0,Ft=Se.length,Xi=r.value;At<Ft;){Ci=B-n,Pi=j-b;do{vi=Se[qt++].value}while(!vi&&qt<Ft);for(Ji=rn=vi,ln=vi*vi*(vn=Math.max(Pi/Ci,Ci/Pi)/(Xi*u)),fn=Math.max(rn/ln,ln/Ji);qt<Ft;++qt){if(vi+=xt=Se[qt].value,xt<Ji&&(Ji=xt),xt>rn&&(rn=xt),ln=vi*vi*vn,(nn=Math.max(rn/ln,ln/Ji))>fn){vi-=xt;break}fn=nn}ue.push(mt={value:vi,dice:Ci<Pi,children:Se.slice(At,qt)}),mt.dice?rf(mt,n,b,B,Xi?b+=Pi*vi/Xi:j):sf(mt,n,b,Xi?n+=Ci*vi/Xi:B,j),Xi-=vi,At=qt}return ue}(r,b,B,j,ue,Se)}return n.ratio=function(b){return u((b=+b)>1?b:1)},n}((1+Math.sqrt(5))/2);function wc(u){if("function"!=typeof u)throw new Error;return u}function t1(){return 0}function $c(u){return function(){return u}}function Zm(u){var r=0,n=u.children,b=n&&n.length;if(b)for(;--b>=0;)r+=n[b].value;else r=1;u.value=r}function g2(u,r){u instanceof Map?(u=[void 0,u],void 0===r&&(r=w)):void 0===r&&(r=W);for(var b,j,ue,Se,mt,n=new pe(u),B=[n];b=B.pop();)if((ue=r(b.data))&&(mt=(ue=Array.from(ue)).length))for(b.children=ue,Se=mt-1;Se>=0;--Se)B.push(j=ue[Se]=new pe(ue[Se])),j.parent=b,j.depth=b.depth+1;return n.eachBefore(H)}function W(u){return u.children}function w(u){return Array.isArray(u)?u[1]:null}function x(u){void 0!==u.data.value&&(u.value=u.data.value),u.data=u.data.data}function H(u){var r=0;do{u.height=r}while((u=u.parent)&&u.height<++r)}function pe(u){this.data=u,this.depth=this.height=0,this.parent=null}pe.prototype=g2.prototype={constructor:pe,count:function Ds(){return this.eachAfter(Zm)},each:function v0(u,r){let n=-1;for(const b of this)u.call(r,b,++n,this);return this},eachAfter:function b0(u,r){for(var j,ue,Se,n=this,b=[n],B=[],mt=-1;n=b.pop();)if(B.push(n),j=n.children)for(ue=0,Se=j.length;ue<Se;++ue)b.push(j[ue]);for(;n=B.pop();)u.call(r,n,++mt,this);return this},eachBefore:function Gh(u,r){for(var B,j,n=this,b=[n],ue=-1;n=b.pop();)if(u.call(r,n,++ue,this),B=n.children)for(j=B.length-1;j>=0;--j)b.push(B[j]);return this},find:function y0(u,r){let n=-1;for(const b of this)if(u.call(r,b,++n,this))return b},sum:function x0(u){return this.eachAfter(function(r){for(var n=+u(r.data)||0,b=r.children,B=b&&b.length;--B>=0;)n+=b[B].value;r.value=n})},sort:function C0(u){return this.eachBefore(function(r){r.children&&r.children.sort(u)})},path:function Yh(u){for(var r=this,n=function jm(u,r){if(u===r)return u;var n=u.ancestors(),b=r.ancestors(),B=null;for(u=n.pop(),r=b.pop();u===r;)B=u,u=n.pop(),r=b.pop();return B}(r,u),b=[r];r!==n;)r=r.parent,b.push(r);for(var B=b.length;u!==n;)b.splice(B,0,u),u=u.parent;return b},ancestors:function E0(){for(var u=this,r=[u];u=u.parent;)r.push(u);return r},descendants:function M0(){return Array.from(this)},leaves:function Hn(){var u=[];return this.eachBefore(function(r){r.children||u.push(r)}),u},links:function _2(){var u=this,r=[];return u.each(function(n){n!==u&&r.push({source:n.parent,target:n})}),r},copy:function i1(){return g2(this).eachBefore(x)},[Symbol.iterator]:function*w0(){var r,b,B,j,u=this,n=[u];do{for(r=n.reverse(),n=[];u=r.pop();)if(yield u,b=u.children)for(B=0,j=b.length;B<j;++B)n.push(b[B])}while(n.length)}};var ct={depth:-1},Ut={};function ti(u){return u.id}function hi(u){return u.parentId}const mn=["caretElm"];function en(u,r){}const kn=function(u){return{model:u}};function Bn(u,r){if(1&u&&(e.TgZ(0,"span"),e.YNc(1,en,0,0,"ng-template",5),e.qZA()),2&u){const n=e.oxw();e.xp6(1),e.Q6J("ngTemplateOutlet",n.template)("ngTemplateOutletContext",e.VKq(2,kn,n.context))}}function En(u,r){if(1&u&&e._UZ(0,"span",6),2&u){const n=e.oxw();e.Q6J("innerHTML",n.title,e.oJD)}}function Sn(u,r){if(1&u&&(e.TgZ(0,"header",4)(1,"span",5),e._uU(2),e.qZA()()),2&u){const n=e.oxw();e.xp6(2),e.Oqu(n.title)}}function ia(u,r){if(1&u){const n=e.EpF();e.TgZ(0,"li",6)(1,"ngx-charts-legend-entry",7),e.NdJ("select",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.labelClick.emit(B))})("activate",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.activate(B))})("deactivate",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.deactivate(B))}),e.qZA()()}if(2&u){const n=r.$implicit,b=e.oxw();e.xp6(1),e.Q6J("label",n.label)("formattedLabel",n.formattedLabel)("color",n.color)("isActive",b.isActive(n))}}function Ma(u,r){if(1&u&&(e.O4$(),e.kcU(),e._UZ(0,"ngx-charts-scale-legend",4)),2&u){const n=e.oxw();e.Q6J("horizontal",n.legendOptions&&n.legendOptions.position===n.LegendPosition.Below)("valueRange",n.legendOptions.domain)("colors",n.legendOptions.colors)("height",n.view[1])("width",n.legendWidth)}}function eo(u,r){if(1&u){const n=e.EpF();e.O4$(),e.kcU(),e.TgZ(0,"ngx-charts-legend",5),e.NdJ("labelClick",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.legendLabelClick.emit(B))})("labelActivate",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.legendLabelActivate.emit(B))})("labelDeactivate",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.legendLabelDeactivate.emit(B))}),e.qZA()}if(2&u){const n=e.oxw();e.Q6J("horizontal",n.legendOptions&&n.legendOptions.position===n.LegendPosition.Below)("data",n.legendOptions.domain)("title",n.legendOptions.title)("colors",n.legendOptions.colors)("height",n.view[1])("width",n.legendWidth)("activeEntries",n.activeEntries)}}const Fo=["*"],cs=["ticksel"];function wo(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g",3)(1,"title"),e._uU(2),e.qZA(),e.TgZ(3,"text",4),e._uU(4),e.qZA()()),2&u){const n=r.$implicit,b=e.oxw();e.uIk("transform",b.tickTransform(n)),e.xp6(2),e.Oqu(b.tickFormat(n)),e.xp6(1),e.Udp("font-size","12px"),e.uIk("text-anchor",b.textAnchor)("transform",b.textTransform),e.xp6(1),e.hij(" ",b.tickTrim(b.tickFormat(n))," ")}}function Ts(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e._UZ(1,"line",6),e.qZA()),2&u){const n=e.oxw(2);e.uIk("transform",n.gridLineTransform()),e.xp6(1),e.uIk("y1",-n.gridLineHeight)}}function ac(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,Ts,2,2,"g",5),e.qZA()),2&u){const n=r.$implicit,b=e.oxw();e.uIk("transform",b.tickTransform(n)),e.xp6(1),e.Q6J("ngIf",b.showGridLines)}}function D0(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",2),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.emitTicksHeight(B))}),e.qZA()}if(2&u){const n=e.oxw();e.Q6J("trimTicks",n.trimTicks)("rotateTicks",n.rotateTicks)("maxTickLength",n.maxTickLength)("tickFormatting",n.tickFormatting)("tickArguments",n.tickArguments)("tickStroke",n.tickStroke)("scale",n.xScale)("orient",n.xOrient)("showGridLines",n.showGridLines)("gridLineHeight",n.dims.height)("width",n.dims.width)("tickValues",n.ticks)}}function ud(u,r){if(1&u&&(e.O4$(),e._UZ(0,"g",3)),2&u){const n=e.oxw();e.Q6J("label",n.labelText)("offset",n.labelOffset)("orient",n.orientation.Bottom)("height",n.dims.height)("width",n.dims.width)}}function T0(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g",4)(1,"title"),e._uU(2),e.qZA(),e.TgZ(3,"text",5),e._uU(4),e.qZA()()),2&u){const n=r.$implicit,b=e.oxw();e.uIk("transform",b.transform(n)),e.xp6(2),e.Oqu(b.tickFormat(n)),e.xp6(1),e.Udp("font-size","12px"),e.uIk("dy",b.dy)("x",b.x1)("y",b.y1)("text-anchor",b.textAnchor),e.xp6(1),e.hij(" ",b.tickTrim(b.tickFormat(n))," ")}}function A0(u,r){if(1&u&&(e.O4$(),e._UZ(0,"path",6)),2&u){const n=e.oxw();e.uIk("d",n.referenceAreaPath)("transform",n.gridLineTransform())}}function bn(u,r){if(1&u&&(e.O4$(),e._UZ(0,"line",9)),2&u){const n=e.oxw(3);e.uIk("x2",n.gridLineWidth)}}function In(u,r){if(1&u&&(e.O4$(),e._UZ(0,"line",9)),2&u){const n=e.oxw(3);e.uIk("x2",-n.gridLineWidth)}}function Pn(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,bn,1,1,"line",8),e.YNc(2,In,1,1,"line",8),e.qZA()),2&u){const n=e.oxw(2);e.uIk("transform",n.gridLineTransform()),e.xp6(1),e.Q6J("ngIf",n.orient===n.Orientation.Left),e.xp6(1),e.Q6J("ngIf",n.orient===n.Orientation.Right)}}function ua(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,Pn,3,3,"g",7),e.qZA()),2&u){const n=r.$implicit,b=e.oxw();e.uIk("transform",b.transform(n)),e.xp6(1),e.Q6J("ngIf",b.showGridLines)}}function Or(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g")(1,"title"),e._uU(2),e.qZA(),e.TgZ(3,"text",11),e._uU(4),e.qZA()()),2&u){const n=e.oxw(2).$implicit,b=e.oxw();e.xp6(2),e.Oqu(b.tickTrim(b.tickFormat(n.value))),e.xp6(1),e.uIk("dy",b.dy)("y",-6)("x",b.gridLineWidth)("text-anchor",b.textAnchor),e.xp6(1),e.hij(" ",n.name," ")}}function ls(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e._UZ(1,"line",10),e.YNc(2,Or,5,6,"g",7),e.qZA()),2&u){const n=e.oxw().$implicit,b=e.oxw();e.uIk("transform",b.transform(n.value)),e.xp6(1),e.uIk("x2",b.gridLineWidth)("transform",b.gridLineTransform()),e.xp6(1),e.Q6J("ngIf",b.showRefLabels)}}function Do(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,ls,3,4,"g",7),e.qZA()),2&u){const n=e.oxw();e.xp6(1),e.Q6J("ngIf",n.showRefLines)}}function lr(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",2),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.emitTicksWidth(B))}),e.qZA()}if(2&u){const n=e.oxw();e.Q6J("trimTicks",n.trimTicks)("maxTickLength",n.maxTickLength)("tickFormatting",n.tickFormatting)("tickArguments",n.tickArguments)("tickValues",n.ticks)("tickStroke",n.tickStroke)("scale",n.yScale)("orient",n.yOrient)("showGridLines",n.showGridLines)("gridLineWidth",n.dims.width)("referenceLines",n.referenceLines)("showRefLines",n.showRefLines)("showRefLabels",n.showRefLabels)("height",n.dims.height)}}function Al(u,r){if(1&u&&(e.O4$(),e._UZ(0,"g",3)),2&u){const n=e.oxw();e.Q6J("label",n.labelText)("offset",n.labelOffset)("orient",n.yOrient)("height",n.dims.height)("width",n.dims.width)}}function zo(u,r){if(1&u&&(e.O4$(),e._UZ(0,"stop")),2&u){const n=r.$implicit;e.Udp("stop-color",n.color)("stop-opacity",n.opacity),e.uIk("offset",n.offset+"%")}}function n1(u,r){if(1&u&&(e.O4$(),e._UZ(0,"rect",4)),2&u){const n=e.oxw(2);e.Q6J("@animationState","active"),e.uIk("x",n.circle.cx-n.circle.radius)("y",n.circle.cy)("width",2*n.circle.radius)("height",n.circle.height)("fill",n.gradientFill)}}function md(u,r){if(1&u&&(e.O4$(),e._UZ(0,"rect",4)),2&u){const n=e.oxw(2);e.uIk("x",n.circle.cx-n.circle.radius)("y",n.circle.cy)("width",2*n.circle.radius)("height",n.circle.height)("fill",n.gradientFill)}}const v2=function(u){return{name:u}};function L0(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g")(1,"defs"),e._UZ(2,"g",1),e.qZA(),e.YNc(3,n1,1,6,"rect",2),e.YNc(4,md,1,5,"rect",2),e.TgZ(5,"g",3),e.NdJ("select",function(){e.CHM(n);const B=e.oxw();return e.KtG(B.onClick(B.circle.data))})("activate",function(){e.CHM(n);const B=e.oxw();return e.KtG(B.activateCircle())})("deactivate",function(){e.CHM(n);const B=e.oxw();return e.KtG(B.deactivateCircle())}),e.qZA()()}if(2&u){const n=e.oxw();e.xp6(2),e.Q6J("orientation",n.barOrientation.Vertical)("name",n.gradientId)("stops",n.circle.gradientStops),e.xp6(1),e.Q6J("ngIf",!n.isSSR&&n.barVisible&&"standard"===n.type),e.xp6(1),e.Q6J("ngIf",n.isSSR&&n.barVisible&&"standard"===n.type),e.xp6(1),e.ekj("active",n.isActive(e.VKq(20,v2,n.circle.seriesName))),e.Q6J("cx",n.circle.cx)("cy",n.circle.cy)("r",n.circle.radius)("fill",n.circle.color)("pointerEvents",0===n.circle.value?"none":"all")("data",n.circle.value)("classNames",n.circle.classNames)("tooltipDisabled",n.tooltipDisabled)("tooltipPlacement",n.placementTypes.Top)("tooltipType",n.styleTypes.tooltip)("tooltipTitle",n.tooltipTemplate?void 0:n.getTooltipText(n.circle))("tooltipTemplate",n.tooltipTemplate)("tooltipContext",n.circle.data)}}function O0(u,r){if(1&u&&(e.O4$(),e._UZ(0,"g",1)),2&u){const n=r.$implicit;e.ekj("grid-panel",!0)("odd","odd"===n.class)("even","even"===n.class),e.Q6J("height",n.height)("width",n.width)("x",n.x)("y",n.y)}}function jh(u,r){if(1&u&&(e.O4$(),e._UZ(0,"stop")),2&u){const n=r.$implicit;e.Udp("stop-color",n.color)("stop-opacity",n.opacity),e.uIk("offset",n.offset+"%")}}function Xm(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"defs"),e._UZ(1,"g",2),e.qZA()),2&u){const n=e.oxw();e.xp6(1),e.Q6J("orientation",n.barOrientation.Vertical)("name",n.gradientId)("stops",n.gradientStops)}}const $m=["tooltipAnchor"];function F3(u,r){if(1&u&&(e.TgZ(0,"div",6),e._UZ(1,"span",7),e._uU(2),e.qZA()),2&u){const n=r.$implicit,b=e.oxw(2);e.xp6(1),e.Udp("background-color",n.color),e.xp6(1),e.hij(" ",b.getToolTipText(n)," ")}}function ep(u,r){if(1&u&&(e.O4$(),e.kcU(),e.TgZ(0,"div",4),e.YNc(1,F3,3,3,"div",5),e.qZA()),2&u){const n=r.model;e.xp6(1),e.Q6J("ngForOf",n)}}function df(u,r){if(1&u&&e._UZ(0,"div",7),2&u){const n=e.oxw();e.Q6J("countTo",n.roundedTotal)("valueFormatting",n.valueFormatting)}}function hf(u,r){if(1&u&&(e.TgZ(0,"div",8),e._uU(1),e.qZA()),2&u){const n=e.oxw();e.xp6(1),e.hij(" ",n.valueFormatting?n.valueFormatting(n.roundedTotal):n.defaultValueFormatting(n.roundedTotal)," ")}}function uf(u,r){if(1&u&&e._UZ(0,"div",16),2&u){const n=e.oxw().$implicit,b=e.oxw();e.Q6J("countTo",n._value)("valueFormatting",b.valueFormatting)}}function H3(u,r){if(1&u&&(e.TgZ(0,"div",17),e._uU(1),e.qZA()),2&u){const n=e.oxw().$implicit,b=e.oxw();e.xp6(1),e.hij(" ",b.valueFormatting?b.valueFormatting(n.value):b.defaultValueFormatting(n.value)," ")}}function Us(u,r){if(1&u&&e._UZ(0,"div",18),2&u){const n=e.oxw().$implicit;e.Q6J("countTo",n.percentage)("countSuffix","%")}}function S0(u,r){if(1&u&&(e.TgZ(0,"div",19),e._uU(1),e.qZA()),2&u){const n=e.oxw().$implicit;e.xp6(1),e.hij("",n.percentage.toLocaleString(),"%")}}function U3(u,r){if(1&u){const n=e.EpF();e.TgZ(0,"div",9),e.NdJ("mouseenter",function(){const j=e.CHM(n).$implicit,ue=e.oxw();return e.KtG(ue.activate.emit(j.data))})("mouseleave",function(){const j=e.CHM(n).$implicit,ue=e.oxw();return e.KtG(ue.deactivate.emit(j.data))})("click",function(){const j=e.CHM(n).$implicit,ue=e.oxw();return e.KtG(ue.select.emit(j.data))}),e._UZ(1,"div",10),e.YNc(2,uf,1,2,"div",11),e.YNc(3,H3,2,1,"div",12),e.TgZ(4,"div",13),e._uU(5),e.qZA(),e.YNc(6,Us,1,2,"div",14),e.YNc(7,S0,2,1,"div",15),e.qZA()}if(2&u){const n=r.$implicit,b=e.oxw();e.xp6(1),e.Udp("border-left-color",n.color),e.xp6(1),e.Q6J("ngIf",b.animations),e.xp6(1),e.Q6J("ngIf",!b.animations),e.xp6(2),e.Oqu(n.displayLabel),e.xp6(1),e.Q6J("ngIf",b.animations),e.xp6(1),e.Q6J("ngIf",!b.animations)}}const Pr=["tooltipTemplate"],b2=["seriesTooltipTemplate"];function V3(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",7),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.updateXAxisHeight(B))}),e.qZA()}if(2&u){const n=e.oxw();e.Q6J("xScale",n.xScale)("dims",n.dims)("showGridLines",n.showGridLines)("showLabel",n.showXAxisLabel)("labelText",n.xAxisLabel)("trimTicks",n.trimXAxisTicks)("rotateTicks",n.rotateXAxisTicks)("maxTickLength",n.maxXAxisTickLength)("tickFormatting",n.xAxisTickFormatting)("ticks",n.xAxisTicks)}}function mf(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",8),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.updateYAxisWidth(B))}),e.qZA()}if(2&u){const n=e.oxw();e.Q6J("yScale",n.yScale)("dims",n.dims)("showGridLines",n.showGridLines)("showLabel",n.showYAxisLabel)("labelText",n.yAxisLabel)("trimTicks",n.trimYAxisTicks)("maxTickLength",n.maxYAxisTickLength)("tickFormatting",n.yAxisTickFormatting)("ticks",n.yAxisTicks)}}function W3(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e._UZ(1,"g",9),e.qZA()),2&u){const n=r.$implicit,b=e.oxw();e.xp6(1),e.Q6J("xScale",b.xScale)("yScale",b.yScale)("baseValue",b.baseValue)("colors",b.colors)("data",n)("activeEntries",b.activeEntries)("scaleType",b.scaleType)("gradient",b.gradient)("curve",b.curve)("animations",b.animations)}}function pf(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g")(1,"g",13),e.NdJ("select",function(B){const ue=e.CHM(n).$implicit,Se=e.oxw(2);return e.KtG(Se.onClick(B,ue))})("activate",function(B){e.CHM(n);const j=e.oxw(2);return e.KtG(j.onActivate(B))})("deactivate",function(B){e.CHM(n);const j=e.oxw(2);return e.KtG(j.onDeactivate(B))}),e.qZA()()}if(2&u){const n=r.$implicit,b=e.oxw(2);e.xp6(1),e.Q6J("xScale",b.xScale)("yScale",b.yScale)("colors",b.colors)("activeEntries",b.activeEntries)("data",n)("scaleType",b.scaleType)("visibleValue",b.hoveredVertical)("tooltipDisabled",b.tooltipDisabled)("tooltipTemplate",b.tooltipTemplate)}}function ff(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",10),e.NdJ("mouseleave",function(){e.CHM(n);const B=e.oxw();return e.KtG(B.hideCircles())}),e.TgZ(1,"g",11),e.NdJ("hover",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.updateHoveredVertical(B))}),e.qZA(),e.YNc(2,pf,2,9,"g",12),e.qZA()}if(2&u){const n=e.oxw();e.xp6(1),e.Q6J("dims",n.dims)("xSet",n.xSet)("xScale",n.xScale)("yScale",n.yScale)("results",n.results)("colors",n.colors)("tooltipDisabled",n.tooltipDisabled)("tooltipTemplate",n.seriesTooltipTemplate),e.xp6(1),e.Q6J("ngForOf",n.results)}}function K3(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e._UZ(1,"g",15),e.qZA()),2&u){const n=r.$implicit,b=e.oxw(2);e.xp6(1),e.Q6J("xScale",b.timelineXScale)("yScale",b.timelineYScale)("baseValue",b.baseValue)("colors",b.colors)("data",n)("scaleType",b.scaleType)("gradient",b.gradient)("curve",b.curve)("animations",b.animations)}}const Va=function(u,r){return[u,r]};function G3(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",14),e.NdJ("onDomainChange",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.updateDomain(B))}),e.YNc(1,K3,2,9,"g",4),e.qZA()}if(2&u){const n=e.oxw();e.Q6J("results",n.results)("view",e.WLB(10,Va,n.timelineWidth,n.height))("height",n.timelineHeight)("scheme",n.scheme)("customColors",n.customColors)("legend",n.legend)("scaleType",n.scaleType),e.uIk("transform",n.timelineTransform),e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy)}}function tp(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",7),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.updateXAxisHeight(B))}),e.qZA()}if(2&u){const n=e.oxw();e.Q6J("xScale",n.xScale)("dims",n.dims)("showGridLines",n.showGridLines)("showLabel",n.showXAxisLabel)("labelText",n.xAxisLabel)("trimTicks",n.trimXAxisTicks)("rotateTicks",n.rotateXAxisTicks)("maxTickLength",n.maxXAxisTickLength)("tickFormatting",n.xAxisTickFormatting)("ticks",n.xAxisTicks)}}function Y3(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",8),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.updateYAxisWidth(B))}),e.qZA()}if(2&u){const n=e.oxw();e.Q6J("yScale",n.yScale)("dims",n.dims)("showGridLines",n.showGridLines)("showLabel",n.showYAxisLabel)("labelText",n.yAxisLabel)("trimTicks",n.trimYAxisTicks)("maxTickLength",n.maxYAxisTickLength)("tickFormatting",n.yAxisTickFormatting)("ticks",n.yAxisTicks)}}function Z3(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e._UZ(1,"g",9),e.qZA()),2&u){const n=r.$implicit,b=e.oxw();e.xp6(1),e.Q6J("xScale",b.xScale)("yScale",b.yScale)("colors",b.colors)("data",n)("scaleType",b.scaleType)("activeEntries",b.activeEntries)("gradient",b.gradient)("normalized",!0)("curve",b.curve)("animations",b.animations)}}function j3(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g")(1,"g",13),e.NdJ("select",function(B){const ue=e.CHM(n).$implicit,Se=e.oxw(2);return e.KtG(Se.onClick(B,ue))})("activate",function(B){e.CHM(n);const j=e.oxw(2);return e.KtG(j.onActivate(B))})("deactivate",function(B){e.CHM(n);const j=e.oxw(2);return e.KtG(j.onDeactivate(B))}),e.qZA()()}if(2&u){const n=r.$implicit,b=e.oxw(2);e.xp6(1),e.Q6J("type",b.seriesType.Stacked)("xScale",b.xScale)("yScale",b.yScale)("colors",b.colors)("activeEntries",b.activeEntries)("data",n)("scaleType",b.scaleType)("visibleValue",b.hoveredVertical)("tooltipDisabled",b.tooltipDisabled)("tooltipTemplate",b.tooltipTemplate)}}function el(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",10),e.NdJ("mouseleave",function(){e.CHM(n);const B=e.oxw();return e.KtG(B.hideCircles())}),e.TgZ(1,"g",11),e.NdJ("hover",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.updateHoveredVertical(B))}),e.qZA(),e.YNc(2,j3,2,10,"g",12),e.qZA()}if(2&u){const n=e.oxw();e.xp6(1),e.Q6J("dims",n.dims)("xSet",n.xSet)("xScale",n.xScale)("yScale",n.yScale)("results",n.results)("colors",n.colors)("showPercentage",!0)("tooltipDisabled",n.tooltipDisabled)("tooltipTemplate",n.seriesTooltipTemplate),e.xp6(1),e.Q6J("ngForOf",n.results)}}function ip(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e._UZ(1,"g",15),e.qZA()),2&u){const n=r.$implicit,b=e.oxw(2);e.xp6(1),e.Q6J("xScale",b.timelineXScale)("yScale",b.timelineYScale)("colors",b.colors)("data",n)("scaleType",b.scaleType)("gradient",b.gradient)("normalized",!0)("curve",b.curve)("animations",b.animations)}}function _f(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",14),e.NdJ("onDomainChange",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.updateDomain(B))}),e.YNc(1,ip,2,9,"g",4),e.qZA()}if(2&u){const n=e.oxw();e.Q6J("results",n.results)("view",e.WLB(10,Va,n.timelineWidth,n.height))("height",n.timelineHeight)("scheme",n.scheme)("customColors",n.customColors)("legend",n.legend)("scaleType",n.scaleType),e.uIk("transform",n.timelineTransform),e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy)}}const to=".ngx-charts-outer{-webkit-animation:chartFadeIn linear .6s;animation:chartFadeIn linear .6s}@-webkit-keyframes chartFadeIn{0%{opacity:0}20%{opacity:0}to{opacity:1}}@keyframes chartFadeIn{0%{opacity:0}20%{opacity:0}to{opacity:1}}.ngx-charts{float:left;overflow:visible}.ngx-charts .circle,.ngx-charts .cell,.ngx-charts .bar,.ngx-charts .arc{cursor:pointer}.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover,.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .card.active,.ngx-charts .card:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .bar:focus,.ngx-charts .cell:focus,.ngx-charts .arc:focus,.ngx-charts .card:focus{outline:none}.ngx-charts .bar.hidden,.ngx-charts .cell.hidden,.ngx-charts .arc.hidden,.ngx-charts .card.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .line-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .polar-series-path.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .area-series.inactive{transition:opacity .1s ease-in-out;opacity:.2}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{stroke:#ddd;stroke-width:1;fill:none}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-width:1;stroke-dasharray:5;stroke-dashoffset:5}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill-opacity:.05;fill:#000}.ngx-charts .gridline-path-dotted{stroke:#ddd;stroke-width:1;fill:none;stroke-dasharray:1,20;stroke-dashoffset:3}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:#0000000d}\n";function np(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",7),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.updateXAxisHeight(B))}),e.qZA()}if(2&u){const n=e.oxw();e.Q6J("xScale",n.xScale)("dims",n.dims)("showGridLines",n.showGridLines)("showLabel",n.showXAxisLabel)("labelText",n.xAxisLabel)("trimTicks",n.trimXAxisTicks)("rotateTicks",n.rotateXAxisTicks)("maxTickLength",n.maxXAxisTickLength)("tickFormatting",n.xAxisTickFormatting)("ticks",n.xAxisTicks)}}function Q3(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",8),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.updateYAxisWidth(B))}),e.qZA()}if(2&u){const n=e.oxw();e.Q6J("yScale",n.yScale)("dims",n.dims)("showGridLines",n.showGridLines)("showLabel",n.showYAxisLabel)("labelText",n.yAxisLabel)("trimTicks",n.trimYAxisTicks)("maxTickLength",n.maxYAxisTickLength)("tickFormatting",n.yAxisTickFormatting)("ticks",n.yAxisTicks)}}function q3(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e._UZ(1,"g",9),e.qZA()),2&u){const n=r.$implicit,b=e.oxw();e.xp6(1),e.Q6J("xScale",b.xScale)("yScale",b.yScale)("colors",b.colors)("data",n)("scaleType",b.scaleType)("gradient",b.gradient)("activeEntries",b.activeEntries)("stacked",!0)("curve",b.curve)("animations",b.animations)}}function X3(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g")(1,"g",12),e.NdJ("select",function(B){const ue=e.CHM(n).$implicit,Se=e.oxw(2);return e.KtG(Se.onClick(B,ue))})("activate",function(B){e.CHM(n);const j=e.oxw(2);return e.KtG(j.onActivate(B))})("deactivate",function(B){e.CHM(n);const j=e.oxw(2);return e.KtG(j.onDeactivate(B))}),e.qZA()()}if(2&u){const n=r.$implicit,b=e.oxw(2);e.xp6(1),e.Q6J("type",b.seriesType.Stacked)("xScale",b.xScale)("yScale",b.yScale)("colors",b.colors)("activeEntries",b.activeEntries)("data",n)("scaleType",b.scaleType)("visibleValue",b.hoveredVertical)("tooltipDisabled",b.tooltipDisabled)("tooltipTemplate",b.tooltipTemplate)}}function k0(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",10),e.NdJ("mouseleave",function(){e.CHM(n);const B=e.oxw();return e.KtG(B.hideCircles())}),e.TgZ(1,"g",11),e.NdJ("hover",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.updateHoveredVertical(B))}),e.qZA(),e.YNc(2,X3,2,10,"g",4),e.qZA()}if(2&u){const n=e.oxw();e.xp6(1),e.Q6J("dims",n.dims)("xSet",n.xSet)("xScale",n.xScale)("yScale",n.yScale)("results",n.results)("colors",n.colors)("tooltipDisabled",n.tooltipDisabled)("tooltipTemplate",n.seriesTooltipTemplate),e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy)}}function J3(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e._UZ(1,"g",14),e.qZA()),2&u){const n=r.$implicit,b=e.oxw(2);e.xp6(1),e.Q6J("xScale",b.timelineXScale)("yScale",b.timelineYScale)("colors",b.colors)("data",n)("scaleType",b.scaleType)("gradient",b.gradient)("stacked",!0)("curve",b.curve)("animations",b.animations)}}function $3(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",13),e.NdJ("onDomainChange",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.updateDomain(B))}),e.YNc(1,J3,2,9,"g",4),e.qZA()}if(2&u){const n=e.oxw();e.Q6J("results",n.results)("view",e.WLB(10,Va,n.timelineWidth,n.height))("height",n.timelineHeight)("scheme",n.scheme)("customColors",n.customColors)("legend",n.legend)("scaleType",n.scaleType),e.uIk("transform",n.timelineTransform),e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy)}}function R0(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"defs"),e._UZ(1,"g",2),e.qZA()),2&u){const n=e.oxw();e.xp6(1),e.Q6J("orientation",n.orientation)("name",n.gradientId)("stops",n.gradientStops)}}function ap(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",2),e.NdJ("select",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.click(B))})("activate",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.activate.emit(B))})("deactivate",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.deactivate.emit(B))}),e.qZA()}if(2&u){const n=r.$implicit,b=e.oxw();e.Q6J("@animationState","active")("width",n.width)("height",n.height)("x",n.x)("y",n.y)("fill",n.color)("stops",n.gradientStops)("data",n.data)("orientation",b.barOrientation.Horizontal)("roundEdges",n.roundEdges)("gradient",b.gradient)("isActive",b.isActive(n.data))("ariaLabel",n.ariaLabel)("animations",b.animations)("tooltipDisabled",b.tooltipDisabled)("tooltipPlacement",b.tooltipPlacement)("tooltipType",b.tooltipType)("tooltipTitle",b.tooltipTemplate?void 0:n.tooltipText)("tooltipTemplate",b.tooltipTemplate)("tooltipContext",n.data)("noBarWhenZero",b.noBarWhenZero)}}function x_(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",4),e.NdJ("dimensionsChanged",function(B){const ue=e.CHM(n).index,Se=e.oxw(2);return e.KtG(Se.dataLabelWidthChanged.emit({size:B,index:ue}))}),e.qZA()}if(2&u){const n=r.$implicit,b=e.oxw(2);e.Q6J("barX",n.x)("barY",n.y)("barWidth",n.width)("barHeight",n.height)("value",n.total)("valueFormatting",b.dataLabelFormatting)("orientation",b.barOrientation.Horizontal)}}function rp(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,x_,1,7,"g",3),e.qZA()),2&u){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.barsForDataLabels)("ngForTrackBy",n.trackDataLabelBy)}}function gf(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",5),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.updateXAxisHeight(B))}),e.qZA()}if(2&u){const n=e.oxw();e.Q6J("xScale",n.xScale)("dims",n.dims)("showGridLines",n.showGridLines)("showLabel",n.showXAxisLabel)("labelText",n.xAxisLabel)("trimTicks",n.trimXAxisTicks)("rotateTicks",n.rotateXAxisTicks)("maxTickLength",n.maxXAxisTickLength)("tickFormatting",n.xAxisTickFormatting)("ticks",n.xAxisTicks)}}function vf(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",6),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.updateYAxisWidth(B))}),e.qZA()}if(2&u){const n=e.oxw();e.Q6J("yScale",n.yScale)("dims",n.dims)("showLabel",n.showYAxisLabel)("labelText",n.yAxisLabel)("trimTicks",n.trimYAxisTicks)("maxTickLength",n.maxYAxisTickLength)("tickFormatting",n.yAxisTickFormatting)("ticks",n.yAxisTicks)("yAxisOffset",n.dataLabelMaxWidth.negative)}}function bf(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",6),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.updateXAxisHeight(B))}),e.qZA()}if(2&u){const n=e.oxw();e.Q6J("xScale",n.valueScale)("dims",n.dims)("showGridLines",n.showGridLines)("showLabel",n.showXAxisLabel)("labelText",n.xAxisLabel)("trimTicks",n.trimXAxisTicks)("rotateTicks",n.rotateXAxisTicks)("maxTickLength",n.maxXAxisTickLength)("tickFormatting",n.xAxisTickFormatting)("ticks",n.xAxisTicks)}}function op(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",7),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.updateYAxisWidth(B))}),e.qZA()}if(2&u){const n=e.oxw();e.Q6J("yScale",n.groupScale)("dims",n.dims)("showLabel",n.showYAxisLabel)("labelText",n.yAxisLabel)("trimTicks",n.trimYAxisTicks)("maxTickLength",n.maxYAxisTickLength)("tickFormatting",n.yAxisTickFormatting)("ticks",n.yAxisTicks)("yAxisOffset",n.dataLabelMaxWidth.negative)}}function Il(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g")(1,"g",9),e.NdJ("select",function(B){const ue=e.CHM(n).$implicit,Se=e.oxw(2);return e.KtG(Se.onClick(B,ue))})("activate",function(B){const ue=e.CHM(n).$implicit,Se=e.oxw(2);return e.KtG(Se.onActivate(B,ue))})("deactivate",function(B){const ue=e.CHM(n).$implicit,Se=e.oxw(2);return e.KtG(Se.onDeactivate(B,ue))})("dataLabelWidthChanged",function(B){const ue=e.CHM(n).index,Se=e.oxw(2);return e.KtG(Se.onDataLabelMaxWidthChanged(B,ue))}),e.qZA()()}if(2&u){const n=r.$implicit,b=e.oxw(2);e.Q6J("@animationState","active"),e.uIk("transform",b.groupTransform(n)),e.xp6(1),e.Q6J("xScale",b.valueScale)("activeEntries",b.activeEntries)("yScale",b.innerScale)("colors",b.colors)("series",n.series)("dims",b.dims)("gradient",b.gradient)("tooltipDisabled",b.tooltipDisabled)("tooltipTemplate",b.tooltipTemplate)("seriesName",n.name)("roundEdges",b.roundEdges)("animations",b.animations)("showDataLabel",b.showDataLabel)("dataLabelFormatting",b.dataLabelFormatting)("noBarWhenZero",b.noBarWhenZero)}}function N0(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,Il,2,17,"g",8),e.qZA()),2&u){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy)}}function F0(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g")(1,"g",9),e.NdJ("select",function(B){const ue=e.CHM(n).$implicit,Se=e.oxw(2);return e.KtG(Se.onClick(B,ue))})("activate",function(B){const ue=e.CHM(n).$implicit,Se=e.oxw(2);return e.KtG(Se.onActivate(B,ue))})("deactivate",function(B){const ue=e.CHM(n).$implicit,Se=e.oxw(2);return e.KtG(Se.onDeactivate(B,ue))})("dataLabelWidthChanged",function(B){const ue=e.CHM(n).index,Se=e.oxw(2);return e.KtG(Se.onDataLabelMaxWidthChanged(B,ue))}),e.qZA()()}if(2&u){const n=r.$implicit,b=e.oxw(2);e.uIk("transform",b.groupTransform(n)),e.xp6(1),e.Q6J("xScale",b.valueScale)("activeEntries",b.activeEntries)("yScale",b.innerScale)("colors",b.colors)("series",n.series)("dims",b.dims)("gradient",b.gradient)("tooltipDisabled",b.tooltipDisabled)("tooltipTemplate",b.tooltipTemplate)("seriesName",n.name)("roundEdges",b.roundEdges)("animations",b.animations)("showDataLabel",b.showDataLabel)("dataLabelFormatting",b.dataLabelFormatting)("noBarWhenZero",b.noBarWhenZero)}}function Qh(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,F0,2,16,"g",8),e.qZA()),2&u){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy)}}function yf(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",5),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.updateXAxisHeight(B))}),e.qZA()}if(2&u){const n=e.oxw();e.Q6J("xScale",n.xScale)("dims",n.dims)("showGridLines",n.showGridLines)("showLabel",n.showXAxisLabel)("labelText",n.xAxisLabel)("trimTicks",n.trimXAxisTicks)("rotateTicks",n.rotateXAxisTicks)("maxTickLength",n.maxXAxisTickLength)("tickFormatting",n.xAxisTickFormatting)("ticks",n.xAxisTicks)}}function xf(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",6),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.updateYAxisWidth(B))}),e.qZA()}if(2&u){const n=e.oxw();e.Q6J("yScale",n.yScale)("dims",n.dims)("showLabel",n.showYAxisLabel)("labelText",n.yAxisLabel)("trimTicks",n.trimYAxisTicks)("maxTickLength",n.maxYAxisTickLength)("tickFormatting",n.yAxisTickFormatting)("ticks",n.yAxisTicks)}}function Cf(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g")(1,"g",8),e.NdJ("select",function(B){const ue=e.CHM(n).$implicit,Se=e.oxw(2);return e.KtG(Se.onClick(B,ue))})("activate",function(B){const ue=e.CHM(n).$implicit,Se=e.oxw(2);return e.KtG(Se.onActivate(B,ue))})("deactivate",function(B){const ue=e.CHM(n).$implicit,Se=e.oxw(2);return e.KtG(Se.onDeactivate(B,ue))}),e.qZA()()}if(2&u){const n=r.$implicit,b=e.oxw(2);e.Q6J("@animationState","active"),e.uIk("transform",b.groupTransform(n)),e.xp6(1),e.Q6J("type",b.barChartType.Normalized)("xScale",b.xScale)("yScale",b.yScale)("activeEntries",b.activeEntries)("colors",b.colors)("series",n.series)("dims",b.dims)("gradient",b.gradient)("tooltipDisabled",b.tooltipDisabled)("tooltipTemplate",b.tooltipTemplate)("seriesName",n.name)("animations",b.animations)("noBarWhenZero",b.noBarWhenZero)}}function t4(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,Cf,2,15,"g",7),e.qZA()),2&u){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy)}}function Ef(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g")(1,"g",8),e.NdJ("select",function(B){const ue=e.CHM(n).$implicit,Se=e.oxw(2);return e.KtG(Se.onClick(B,ue))})("activate",function(B){const ue=e.CHM(n).$implicit,Se=e.oxw(2);return e.KtG(Se.onActivate(B,ue))})("deactivate",function(B){const ue=e.CHM(n).$implicit,Se=e.oxw(2);return e.KtG(Se.onDeactivate(B,ue))}),e.qZA()()}if(2&u){const n=r.$implicit,b=e.oxw(2);e.uIk("transform",b.groupTransform(n)),e.xp6(1),e.Q6J("type",b.barChartType.Normalized)("xScale",b.xScale)("yScale",b.yScale)("activeEntries",b.activeEntries)("colors",b.colors)("series",n.series)("dims",b.dims)("gradient",b.gradient)("tooltipDisabled",b.tooltipDisabled)("tooltipTemplate",b.tooltipTemplate)("seriesName",n.name)("animations",b.animations)("noBarWhenZero",b.noBarWhenZero)}}function qh(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,Ef,2,14,"g",7),e.qZA()),2&u){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy)}}function Mf(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",5),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.updateXAxisHeight(B))}),e.qZA()}if(2&u){const n=e.oxw();e.Q6J("xScale",n.xScale)("dims",n.dims)("showGridLines",n.showGridLines)("showLabel",n.showXAxisLabel)("labelText",n.xAxisLabel)("trimTicks",n.trimXAxisTicks)("rotateTicks",n.rotateXAxisTicks)("maxTickLength",n.maxXAxisTickLength)("tickFormatting",n.xAxisTickFormatting)("ticks",n.xAxisTicks)}}function C_(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",6),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.updateYAxisWidth(B))}),e.qZA()}if(2&u){const n=e.oxw();e.Q6J("yScale",n.yScale)("dims",n.dims)("showLabel",n.showYAxisLabel)("labelText",n.yAxisLabel)("trimTicks",n.trimYAxisTicks)("maxTickLength",n.maxYAxisTickLength)("tickFormatting",n.yAxisTickFormatting)("ticks",n.yAxisTicks)("yAxisOffset",n.dataLabelMaxWidth.negative)}}function i4(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g")(1,"g",8),e.NdJ("select",function(B){const ue=e.CHM(n).$implicit,Se=e.oxw(2);return e.KtG(Se.onClick(B,ue))})("activate",function(B){const ue=e.CHM(n).$implicit,Se=e.oxw(2);return e.KtG(Se.onActivate(B,ue))})("deactivate",function(B){const ue=e.CHM(n).$implicit,Se=e.oxw(2);return e.KtG(Se.onDeactivate(B,ue))})("dataLabelWidthChanged",function(B){const ue=e.CHM(n).index,Se=e.oxw(2);return e.KtG(Se.onDataLabelMaxWidthChanged(B,ue))}),e.qZA()()}if(2&u){const n=r.$implicit,b=e.oxw(2);e.Q6J("@animationState","active"),e.uIk("transform",b.groupTransform(n)),e.xp6(1),e.Q6J("type",b.barChartType.Stacked)("xScale",b.xScale)("yScale",b.yScale)("colors",b.colors)("series",n.series)("activeEntries",b.activeEntries)("dims",b.dims)("gradient",b.gradient)("tooltipDisabled",b.tooltipDisabled)("tooltipTemplate",b.tooltipTemplate)("seriesName",n.name)("animations",b.animations)("showDataLabel",b.showDataLabel)("dataLabelFormatting",b.dataLabelFormatting)("noBarWhenZero",b.noBarWhenZero)}}function n4(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,i4,2,17,"g",7),e.qZA()),2&u){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy)}}function a4(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g")(1,"g",8),e.NdJ("select",function(B){const ue=e.CHM(n).$implicit,Se=e.oxw(2);return e.KtG(Se.onClick(B,ue))})("activate",function(B){const ue=e.CHM(n).$implicit,Se=e.oxw(2);return e.KtG(Se.onActivate(B,ue))})("deactivate",function(B){const ue=e.CHM(n).$implicit,Se=e.oxw(2);return e.KtG(Se.onDeactivate(B,ue))})("dataLabelWidthChanged",function(B){const ue=e.CHM(n).index,Se=e.oxw(2);return e.KtG(Se.onDataLabelMaxWidthChanged(B,ue))}),e.qZA()()}if(2&u){const n=r.$implicit,b=e.oxw(2);e.uIk("transform",b.groupTransform(n)),e.xp6(1),e.Q6J("type",b.barChartType.Stacked)("xScale",b.xScale)("yScale",b.yScale)("colors",b.colors)("series",n.series)("activeEntries",b.activeEntries)("dims",b.dims)("gradient",b.gradient)("tooltipDisabled",b.tooltipDisabled)("tooltipTemplate",b.tooltipTemplate)("seriesName",n.name)("animations",b.animations)("showDataLabel",b.showDataLabel)("dataLabelFormatting",b.dataLabelFormatting)("noBarWhenZero",b.noBarWhenZero)}}function wf(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,a4,2,16,"g",7),e.qZA()),2&u){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy)}}function Df(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",2),e.NdJ("select",function(B){e.CHM(n);const j=e.oxw(2);return e.KtG(j.onClick(B))})("activate",function(B){e.CHM(n);const j=e.oxw(2);return e.KtG(j.activate.emit(B))})("deactivate",function(B){e.CHM(n);const j=e.oxw(2);return e.KtG(j.deactivate.emit(B))}),e.qZA()}if(2&u){const n=r.$implicit,b=e.oxw(2);e.Q6J("@animationState","active")("@.disabled",!b.animations)("width",n.width)("height",n.height)("x",n.x)("y",n.y)("fill",n.color)("stops",n.gradientStops)("data",n.data)("orientation",b.barOrientation.Vertical)("roundEdges",n.roundEdges)("gradient",b.gradient)("ariaLabel",n.ariaLabel)("isActive",b.isActive(n.data))("tooltipDisabled",b.tooltipDisabled)("tooltipPlacement",b.tooltipPlacement)("tooltipType",b.tooltipType)("tooltipTitle",b.tooltipTemplate?void 0:n.tooltipText)("tooltipTemplate",b.tooltipTemplate)("tooltipContext",n.data)("noBarWhenZero",b.noBarWhenZero)("animations",b.animations)}}function o4(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,Df,1,22,"g",1),e.qZA()),2&u){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.bars)("ngForTrackBy",n.trackBy)}}function Tf(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",2),e.NdJ("select",function(B){e.CHM(n);const j=e.oxw(2);return e.KtG(j.onClick(B))})("activate",function(B){e.CHM(n);const j=e.oxw(2);return e.KtG(j.activate.emit(B))})("deactivate",function(B){e.CHM(n);const j=e.oxw(2);return e.KtG(j.deactivate.emit(B))}),e.qZA()}if(2&u){const n=r.$implicit,b=e.oxw(2);e.Q6J("width",n.width)("height",n.height)("x",n.x)("y",n.y)("fill",n.color)("stops",n.gradientStops)("data",n.data)("orientation",b.barOrientation.Vertical)("roundEdges",n.roundEdges)("gradient",b.gradient)("ariaLabel",n.ariaLabel)("isActive",b.isActive(n.data))("tooltipDisabled",b.tooltipDisabled)("tooltipPlacement",b.tooltipPlacement)("tooltipType",b.tooltipType)("tooltipTitle",b.tooltipTemplate?void 0:n.tooltipText)("tooltipTemplate",b.tooltipTemplate)("tooltipContext",n.data)("noBarWhenZero",b.noBarWhenZero)("animations",b.animations)}}function sp(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,Tf,1,20,"g",1),e.qZA()),2&u){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.bars)("ngForTrackBy",n.trackBy)}}function Af(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",4),e.NdJ("dimensionsChanged",function(B){const ue=e.CHM(n).index,Se=e.oxw(2);return e.KtG(Se.dataLabelHeightChanged.emit({size:B,index:ue}))}),e.qZA()}if(2&u){const n=r.$implicit,b=e.oxw(2);e.Q6J("barX",n.x)("barY",n.y)("barWidth",n.width)("barHeight",n.height)("value",n.total)("valueFormatting",b.dataLabelFormatting)("orientation",b.barOrientation.Vertical)}}function cp(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,Af,1,7,"g",3),e.qZA()),2&u){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.barsForDataLabels)("ngForTrackBy",n.trackDataLabelBy)}}function lp(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",5),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.updateXAxisHeight(B))}),e.qZA()}if(2&u){const n=e.oxw();e.Q6J("xScale",n.xScale)("dims",n.dims)("showGridLines",n.showGridLines)("showLabel",n.showXAxisLabel)("labelText",n.xAxisLabel)("trimTicks",n.trimXAxisTicks)("rotateTicks",n.rotateXAxisTicks)("maxTickLength",n.maxXAxisTickLength)("tickFormatting",n.xAxisTickFormatting)("ticks",n.xAxisTicks)("xAxisOffset",n.dataLabelMaxHeight.negative)}}function s4(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",6),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.updateYAxisWidth(B))}),e.qZA()}if(2&u){const n=e.oxw();e.Q6J("yScale",n.yScale)("dims",n.dims)("showGridLines",n.showGridLines)("showLabel",n.showYAxisLabel)("labelText",n.yAxisLabel)("trimTicks",n.trimYAxisTicks)("maxTickLength",n.maxYAxisTickLength)("tickFormatting",n.yAxisTickFormatting)("ticks",n.yAxisTicks)}}function c4(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",6),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.updateXAxisHeight(B))}),e.qZA()}if(2&u){const n=e.oxw();e.Q6J("xScale",n.groupScale)("dims",n.dims)("showLabel",n.showXAxisLabel)("labelText",n.xAxisLabel)("trimTicks",n.trimXAxisTicks)("rotateTicks",n.rotateXAxisTicks)("maxTickLength",n.maxXAxisTickLength)("tickFormatting",n.xAxisTickFormatting)("ticks",n.xAxisTicks)("xAxisOffset",n.dataLabelMaxHeight.negative)}}function l4(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",7),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.updateYAxisWidth(B))}),e.qZA()}if(2&u){const n=e.oxw();e.Q6J("yScale",n.valueScale)("dims",n.dims)("showGridLines",n.showGridLines)("showLabel",n.showYAxisLabel)("labelText",n.yAxisLabel)("trimTicks",n.trimYAxisTicks)("maxTickLength",n.maxYAxisTickLength)("tickFormatting",n.yAxisTickFormatting)("ticks",n.yAxisTicks)}}function If(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",9),e.NdJ("select",function(B){const ue=e.CHM(n).$implicit,Se=e.oxw(2);return e.KtG(Se.onClick(B,ue))})("activate",function(B){const ue=e.CHM(n).$implicit,Se=e.oxw(2);return e.KtG(Se.onActivate(B,ue))})("deactivate",function(B){const ue=e.CHM(n).$implicit,Se=e.oxw(2);return e.KtG(Se.onDeactivate(B,ue))})("dataLabelHeightChanged",function(B){const ue=e.CHM(n).index,Se=e.oxw(2);return e.KtG(Se.onDataLabelMaxHeightChanged(B,ue))}),e.qZA()}if(2&u){const n=r.$implicit,b=e.oxw(2);e.Q6J("@animationState","active")("activeEntries",b.activeEntries)("xScale",b.innerScale)("yScale",b.valueScale)("colors",b.colors)("series",n.series)("dims",b.dims)("gradient",b.gradient)("tooltipDisabled",b.tooltipDisabled)("tooltipTemplate",b.tooltipTemplate)("showDataLabel",b.showDataLabel)("dataLabelFormatting",b.dataLabelFormatting)("seriesName",n.name)("roundEdges",b.roundEdges)("animations",b.animations)("noBarWhenZero",b.noBarWhenZero),e.uIk("transform",b.groupTransform(n))}}function d4(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,If,1,17,"g",8),e.qZA()),2&u){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy)}}function h4(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",9),e.NdJ("select",function(B){const ue=e.CHM(n).$implicit,Se=e.oxw(2);return e.KtG(Se.onClick(B,ue))})("activate",function(B){const ue=e.CHM(n).$implicit,Se=e.oxw(2);return e.KtG(Se.onActivate(B,ue))})("deactivate",function(B){const ue=e.CHM(n).$implicit,Se=e.oxw(2);return e.KtG(Se.onDeactivate(B,ue))})("dataLabelHeightChanged",function(B){const ue=e.CHM(n).index,Se=e.oxw(2);return e.KtG(Se.onDataLabelMaxHeightChanged(B,ue))}),e.qZA()}if(2&u){const n=r.$implicit,b=e.oxw(2);e.Q6J("activeEntries",b.activeEntries)("xScale",b.innerScale)("yScale",b.valueScale)("colors",b.colors)("series",n.series)("dims",b.dims)("gradient",b.gradient)("tooltipDisabled",b.tooltipDisabled)("tooltipTemplate",b.tooltipTemplate)("showDataLabel",b.showDataLabel)("dataLabelFormatting",b.dataLabelFormatting)("seriesName",n.name)("roundEdges",b.roundEdges)("animations",b.animations)("noBarWhenZero",b.noBarWhenZero),e.uIk("transform",b.groupTransform(n))}}function Lf(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,h4,1,16,"g",8),e.qZA()),2&u){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy)}}function Of(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",5),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.updateXAxisHeight(B))}),e.qZA()}if(2&u){const n=e.oxw();e.Q6J("xScale",n.xScale)("dims",n.dims)("showLabel",n.showXAxisLabel)("labelText",n.xAxisLabel)("trimTicks",n.trimXAxisTicks)("rotateTicks",n.rotateXAxisTicks)("maxTickLength",n.maxXAxisTickLength)("tickFormatting",n.xAxisTickFormatting)("ticks",n.xAxisTicks)}}function Sf(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",6),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.updateYAxisWidth(B))}),e.qZA()}if(2&u){const n=e.oxw();e.Q6J("yScale",n.yScale)("dims",n.dims)("showGridLines",n.showGridLines)("showLabel",n.showYAxisLabel)("labelText",n.yAxisLabel)("trimTicks",n.trimYAxisTicks)("maxTickLength",n.maxYAxisTickLength)("tickFormatting",n.yAxisTickFormatting)("ticks",n.yAxisTicks)}}function E_(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g")(1,"g",8),e.NdJ("select",function(B){const ue=e.CHM(n).$implicit,Se=e.oxw(2);return e.KtG(Se.onClick(B,ue))})("activate",function(B){const ue=e.CHM(n).$implicit,Se=e.oxw(2);return e.KtG(Se.onActivate(B,ue))})("deactivate",function(B){const ue=e.CHM(n).$implicit,Se=e.oxw(2);return e.KtG(Se.onDeactivate(B,ue))}),e.qZA()()}if(2&u){const n=r.$implicit,b=e.oxw(2);e.Q6J("@animationState","active"),e.uIk("transform",b.groupTransform(n)),e.xp6(1),e.Q6J("type",b.barChartType.Normalized)("xScale",b.xScale)("yScale",b.yScale)("activeEntries",b.activeEntries)("colors",b.colors)("series",n.series)("dims",b.dims)("gradient",b.gradient)("tooltipDisabled",b.tooltipDisabled)("tooltipTemplate",b.tooltipTemplate)("seriesName",n.name)("animations",b.animations)("noBarWhenZero",b.noBarWhenZero)}}function kf(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,E_,2,15,"g",7),e.qZA()),2&u){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy)}}function Xh(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g")(1,"g",8),e.NdJ("select",function(B){const ue=e.CHM(n).$implicit,Se=e.oxw(2);return e.KtG(Se.onClick(B,ue))})("activate",function(B){const ue=e.CHM(n).$implicit,Se=e.oxw(2);return e.KtG(Se.onActivate(B,ue))})("deactivate",function(B){const ue=e.CHM(n).$implicit,Se=e.oxw(2);return e.KtG(Se.onDeactivate(B,ue))}),e.qZA()()}if(2&u){const n=r.$implicit,b=e.oxw(2);e.uIk("transform",b.groupTransform(n)),e.xp6(1),e.Q6J("type",b.barChartType.Normalized)("xScale",b.xScale)("yScale",b.yScale)("activeEntries",b.activeEntries)("colors",b.colors)("series",n.series)("dims",b.dims)("gradient",b.gradient)("tooltipDisabled",b.tooltipDisabled)("tooltipTemplate",b.tooltipTemplate)("seriesName",n.name)("animations",b.animations)("noBarWhenZero",b.noBarWhenZero)}}function a1(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,Xh,2,14,"g",7),e.qZA()),2&u){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy)}}function u4(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",5),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.updateXAxisHeight(B))}),e.qZA()}if(2&u){const n=e.oxw();e.Q6J("xScale",n.xScale)("dims",n.dims)("showLabel",n.showXAxisLabel)("labelText",n.xAxisLabel)("trimTicks",n.trimXAxisTicks)("rotateTicks",n.rotateXAxisTicks)("maxTickLength",n.maxXAxisTickLength)("tickFormatting",n.xAxisTickFormatting)("ticks",n.xAxisTicks)("xAxisOffset",n.dataLabelMaxHeight.negative)}}function Jh(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",6),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.updateYAxisWidth(B))}),e.qZA()}if(2&u){const n=e.oxw();e.Q6J("yScale",n.yScale)("dims",n.dims)("showGridLines",n.showGridLines)("showLabel",n.showYAxisLabel)("labelText",n.yAxisLabel)("trimTicks",n.trimYAxisTicks)("maxTickLength",n.maxYAxisTickLength)("tickFormatting",n.yAxisTickFormatting)("ticks",n.yAxisTicks)}}function m4(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g")(1,"g",8),e.NdJ("select",function(B){const ue=e.CHM(n).$implicit,Se=e.oxw(2);return e.KtG(Se.onClick(B,ue))})("activate",function(B){const ue=e.CHM(n).$implicit,Se=e.oxw(2);return e.KtG(Se.onActivate(B,ue))})("deactivate",function(B){const ue=e.CHM(n).$implicit,Se=e.oxw(2);return e.KtG(Se.onDeactivate(B,ue))})("dataLabelHeightChanged",function(B){const ue=e.CHM(n).index,Se=e.oxw(2);return e.KtG(Se.onDataLabelMaxHeightChanged(B,ue))}),e.qZA()()}if(2&u){const n=r.$implicit,b=e.oxw(2);e.Q6J("@animationState","active"),e.uIk("transform",b.groupTransform(n)),e.xp6(1),e.Q6J("type",b.barChartType.Stacked)("xScale",b.xScale)("yScale",b.yScale)("activeEntries",b.activeEntries)("colors",b.colors)("series",n.series)("dims",b.dims)("gradient",b.gradient)("tooltipDisabled",b.tooltipDisabled)("tooltipTemplate",b.tooltipTemplate)("showDataLabel",b.showDataLabel)("dataLabelFormatting",b.dataLabelFormatting)("seriesName",n.name)("animations",b.animations)("noBarWhenZero",b.noBarWhenZero)}}function p4(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,m4,2,17,"g",7),e.qZA()),2&u){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy)}}function dp(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g")(1,"g",8),e.NdJ("select",function(B){const ue=e.CHM(n).$implicit,Se=e.oxw(2);return e.KtG(Se.onClick(B,ue))})("activate",function(B){const ue=e.CHM(n).$implicit,Se=e.oxw(2);return e.KtG(Se.onActivate(B,ue))})("deactivate",function(B){const ue=e.CHM(n).$implicit,Se=e.oxw(2);return e.KtG(Se.onDeactivate(B,ue))})("dataLabelHeightChanged",function(B){const ue=e.CHM(n).index,Se=e.oxw(2);return e.KtG(Se.onDataLabelMaxHeightChanged(B,ue))}),e.qZA()()}if(2&u){const n=r.$implicit,b=e.oxw(2);e.uIk("transform",b.groupTransform(n)),e.xp6(1),e.Q6J("type",b.barChartType.Stacked)("xScale",b.xScale)("yScale",b.yScale)("activeEntries",b.activeEntries)("colors",b.colors)("series",n.series)("dims",b.dims)("gradient",b.gradient)("tooltipDisabled",b.tooltipDisabled)("tooltipTemplate",b.tooltipTemplate)("showDataLabel",b.showDataLabel)("dataLabelFormatting",b.dataLabelFormatting)("seriesName",n.name)("animations",b.animations)("noBarWhenZero",b.noBarWhenZero)}}function f4(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,dp,2,16,"g",7),e.qZA()),2&u){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy)}}function $h(u,r){if(1&u&&(e.O4$(),e._UZ(0,"g",5)),2&u){const n=e.oxw();e.Q6J("orientation",n.BarOrientation.Vertical)("name",n.gradientId)("stops",n.gradientStops)}}function Yo(u,r){if(1&u&&(e.O4$(),e._UZ(0,"line",6)),2&u){const n=r.$implicit,b=r.index,B=e.oxw();e.ekj("hidden",B.hideBar),e.uIk("x1",n.v1.x)("y1",n.v1.y)("x2",n.v2.x)("y2",n.v2.y)("stroke",B.strokeColor)("stroke-width",2===b?B.medianLineWidth:B.whiskerStrokeWidth)("mask",b?void 0:B.maskLine)}}function z0(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g")(1,"g",5),e.NdJ("activate",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.onActivate(B))})("deactivate",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.onDeactivate(B))})("select",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.onClick(B))}),e.qZA()()}if(2&u){const n=r.$implicit,b=e.oxw();e.xp6(1),e.Q6J("xScale",b.xScale)("yScale",b.yScale)("colors",b.colors)("roundEdges",b.roundEdges)("strokeColor",b.strokeColor)("strokeWidth",b.strokeWidth)("tooltipDisabled",b.tooltipDisabled)("tooltipTemplate",b.tooltipTemplate)("series",n)("dims",b.dims)("animations",b.animations)("gradient",b.gradient)}}function hp(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",2),e.NdJ("select",function(){e.CHM(n);const B=e.oxw().$implicit,j=e.oxw();return e.KtG(j.onClick(B.data))})("activate",function(){e.CHM(n);const B=e.oxw().$implicit,j=e.oxw();return e.KtG(j.activateCircle(B))})("deactivate",function(){e.CHM(n);const B=e.oxw().$implicit,j=e.oxw();return e.KtG(j.deactivateCircle(B))}),e.qZA()}if(2&u){const n=e.oxw().$implicit,b=e.oxw();e.Udp("opacity",n.opacity),e.ekj("active",n.isActive),e.Q6J("@animationState","active")("cx",0)("cy",0)("r",n.radius)("fill",n.color)("pointerEvents","all")("data",n.value)("classNames",n.classNames)("tooltipDisabled",b.tooltipDisabled)("tooltipPlacement",b.placementTypes.Top)("tooltipType",b.styleTypes.tooltip)("tooltipTitle",b.tooltipTemplate?void 0:b.getTooltipText(n))("tooltipTemplate",b.tooltipTemplate)("tooltipContext",n.data)}}function r1(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",2),e.NdJ("select",function(){e.CHM(n);const B=e.oxw().$implicit,j=e.oxw();return e.KtG(j.onClick(B.data))})("activate",function(){e.CHM(n);const B=e.oxw().$implicit,j=e.oxw();return e.KtG(j.activateCircle(B))})("deactivate",function(){e.CHM(n);const B=e.oxw().$implicit,j=e.oxw();return e.KtG(j.deactivateCircle(B))}),e.qZA()}if(2&u){const n=e.oxw().$implicit,b=e.oxw();e.Udp("opacity",n.opacity),e.ekj("active",n.isActive),e.Q6J("cx",0)("cy",0)("r",n.radius)("fill",n.color)("pointerEvents","all")("data",n.value)("classNames",n.classNames)("tooltipDisabled",b.tooltipDisabled)("tooltipPlacement",b.placementTypes.Top)("tooltipType",b.styleTypes.tooltip)("tooltipTitle",b.tooltipTemplate?void 0:b.getTooltipText(n))("tooltipTemplate",b.tooltipTemplate)("tooltipContext",n.data)}}function y2(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g")(1,"g"),e.YNc(2,hp,1,18,"g",1),e.YNc(3,r1,1,17,"g",1),e.qZA()()),2&u){const n=r.$implicit,b=e.oxw();e.xp6(1),e.uIk("transform",n.transform),e.xp6(1),e.Q6J("ngIf",!b.isSSR),e.xp6(1),e.Q6J("ngIf",b.isSSR)}}function x2(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",6),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.updateXAxisHeight(B))}),e.qZA()}if(2&u){const n=e.oxw();e.Q6J("showGridLines",n.showGridLines)("dims",n.dims)("xScale",n.xScale)("showLabel",n.showXAxisLabel)("labelText",n.xAxisLabel)("trimTicks",n.trimXAxisTicks)("rotateTicks",n.rotateXAxisTicks)("maxTickLength",n.maxXAxisTickLength)("tickFormatting",n.xAxisTickFormatting)("ticks",n.xAxisTicks)}}function fd(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",7),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.updateYAxisWidth(B))}),e.qZA()}if(2&u){const n=e.oxw();e.Q6J("showGridLines",n.showGridLines)("yScale",n.yScale)("dims",n.dims)("showLabel",n.showYAxisLabel)("labelText",n.yAxisLabel)("trimTicks",n.trimYAxisTicks)("maxTickLength",n.maxYAxisTickLength)("tickFormatting",n.yAxisTickFormatting)("ticks",n.yAxisTicks)}}function C2(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g")(1,"g",9),e.NdJ("select",function(B){const ue=e.CHM(n).$implicit,Se=e.oxw(2);return e.KtG(Se.onClick(B,ue))})("activate",function(B){e.CHM(n);const j=e.oxw(2);return e.KtG(j.onActivate(B))})("deactivate",function(B){e.CHM(n);const j=e.oxw(2);return e.KtG(j.onDeactivate(B))}),e.qZA()()}if(2&u){const n=r.$implicit,b=e.oxw(2);e.Q6J("@animationState","active"),e.xp6(1),e.Q6J("xScale",b.xScale)("yScale",b.yScale)("rScale",b.rScale)("xScaleType",b.xScaleType)("yScaleType",b.yScaleType)("xAxisLabel",b.xAxisLabel)("yAxisLabel",b.yAxisLabel)("colors",b.colors)("data",n)("activeEntries",b.activeEntries)("tooltipDisabled",b.tooltipDisabled)("tooltipTemplate",b.tooltipTemplate)}}function E2(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,C2,2,13,"g",8),e.qZA()),2&u){const n=e.oxw();e.uIk("clip-path",n.clipPath),e.xp6(1),e.Q6J("ngForOf",n.data)("ngForTrackBy",n.trackBy)}}function M2(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g")(1,"g",9),e.NdJ("select",function(B){const ue=e.CHM(n).$implicit,Se=e.oxw(2);return e.KtG(Se.onClick(B,ue))})("activate",function(B){e.CHM(n);const j=e.oxw(2);return e.KtG(j.onActivate(B))})("deactivate",function(B){e.CHM(n);const j=e.oxw(2);return e.KtG(j.onDeactivate(B))}),e.qZA()()}if(2&u){const n=r.$implicit,b=e.oxw(2);e.xp6(1),e.Q6J("xScale",b.xScale)("yScale",b.yScale)("rScale",b.rScale)("xScaleType",b.xScaleType)("yScaleType",b.yScaleType)("xAxisLabel",b.xAxisLabel)("yAxisLabel",b.yAxisLabel)("colors",b.colors)("data",n)("activeEntries",b.activeEntries)("tooltipDisabled",b.tooltipDisabled)("tooltipTemplate",b.tooltipTemplate)}}function w2(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,M2,2,12,"g",8),e.qZA()),2&u){const n=e.oxw();e.uIk("clip-path",n.clipPath),e.xp6(1),e.Q6J("ngForOf",n.data)("ngForTrackBy",n.trackBy)}}function Pf(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"defs"),e._UZ(1,"g",3),e.qZA()),2&u){const n=e.oxw();e.xp6(1),e.Q6J("orientation",n.barOrientation.Vertical)("name",n.gradientId)("stops",n.gradientStops)}}const up=function(u,r,n){return{series:u,name:r,value:n}};function Bf(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",1),e.NdJ("select",function(){const j=e.CHM(n).$implicit,ue=e.oxw();return e.KtG(ue.onClick(j.cell))})("activate",function(){const j=e.CHM(n).$implicit,ue=e.oxw();return e.KtG(ue.activate.emit(j.cell))})("deactivate",function(){const j=e.CHM(n).$implicit,ue=e.oxw();return e.KtG(ue.deactivate.emit(j.cell))}),e.qZA()}if(2&u){const n=r.$implicit,b=e.oxw();e.Q6J("x",n.x)("y",n.y)("width",n.width)("height",n.height)("fill",n.fill)("data",n.data)("gradient",b.gradient)("animations",b.animations)("tooltipDisabled",b.tooltipDisabled)("tooltipPlacement",b.placementTypes.Top)("tooltipType",b.styleTypes.tooltip)("tooltipTitle",b.tooltipTemplate?void 0:b.tooltipText(n))("tooltipTemplate",b.tooltipTemplate)("tooltipContext",e.kEZ(14,up,n.series,n.label,n.data))}}function Nf(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",6),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.updateXAxisHeight(B))}),e.qZA()}if(2&u){const n=e.oxw();e.Q6J("xScale",n.xScale)("dims",n.dims)("showLabel",n.showXAxisLabel)("labelText",n.xAxisLabel)("trimTicks",n.trimXAxisTicks)("rotateTicks",n.rotateXAxisTicks)("maxTickLength",n.maxXAxisTickLength)("tickFormatting",n.xAxisTickFormatting)("ticks",n.xAxisTicks)}}function H0(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",7),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.updateYAxisWidth(B))}),e.qZA()}if(2&u){const n=e.oxw();e.Q6J("yScale",n.yScale)("dims",n.dims)("showLabel",n.showYAxisLabel)("labelText",n.yAxisLabel)("trimTicks",n.trimYAxisTicks)("maxTickLength",n.maxYAxisTickLength)("tickFormatting",n.yAxisTickFormatting)("ticks",n.yAxisTicks)}}function Ff(u,r){if(1&u&&(e.O4$(),e._UZ(0,"rect")),2&u){const n=r.$implicit;e.uIk("x",n.x)("y",n.y)("rx",n.rx)("width",n.width)("height",n.height)("fill",n.fill)}}function Hf(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e._UZ(1,"path",1),e.qZA()),2&u){const n=e.oxw();e.xp6(1),e.Q6J("@animationState","active"),e.uIk("d",n.initialPath)("fill",n.fill)("stroke",n.stroke)}}function _4(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e._UZ(1,"path",1),e.qZA()),2&u){const n=e.oxw();e.xp6(1),e.uIk("d",n.initialPath)("fill",n.fill)("stroke",n.stroke)}}function Uf(u,r){if(1&u&&(e.O4$(),e._UZ(0,"g",4)),2&u){const n=e.oxw();e.Q6J("orientation",n.barOrientation.Vertical)("name",n.gradientId)("stops",n.gradientStops)}}function v4(u,r){if(1&u&&(e.O4$(),e._UZ(0,"g",5)),2&u){const n=e.oxw();e.ekj("active",n.isActive(n.data))("inactive",n.isInactive(n.data)),e.Q6J("data",n.data)("path",n.outerPath)("fill",n.hasGradient?n.gradientUrl:n.colors.getColor(n.data.name))("opacity",n.rangeFillOpacity)("animations",n.animations)}}function mp(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",7),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.updateXAxisHeight(B))}),e.qZA()}if(2&u){const n=e.oxw();e.Q6J("xScale",n.xScale)("dims",n.dims)("showGridLines",n.showGridLines)("showLabel",n.showXAxisLabel)("labelText",n.xAxisLabel)("trimTicks",n.trimXAxisTicks)("rotateTicks",n.rotateXAxisTicks)("maxTickLength",n.maxXAxisTickLength)("tickFormatting",n.xAxisTickFormatting)("ticks",n.xAxisTicks)}}function pp(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",8),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.updateYAxisWidth(B))}),e.qZA()}if(2&u){const n=e.oxw();e.Q6J("yScale",n.yScale)("dims",n.dims)("showGridLines",n.showGridLines)("showLabel",n.showYAxisLabel)("labelText",n.yAxisLabel)("trimTicks",n.trimYAxisTicks)("maxTickLength",n.maxYAxisTickLength)("tickFormatting",n.yAxisTickFormatting)("ticks",n.yAxisTicks)("referenceLines",n.referenceLines)("showRefLines",n.showRefLines)("showRefLabels",n.showRefLabels)}}function fp(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e._UZ(1,"g",10),e.qZA()),2&u){const n=r.$implicit,b=e.oxw(2);e.Q6J("@animationState","active"),e.xp6(1),e.Q6J("xScale",b.xScale)("yScale",b.yScale)("colors",b.colors)("data",n)("activeEntries",b.activeEntries)("scaleType",b.scaleType)("curve",b.curve)("rangeFillOpacity",b.rangeFillOpacity)("hasRange",b.hasRange)("animations",b.animations)}}function b4(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,fp,2,11,"g",9),e.qZA()),2&u){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy)}}function eu(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e._UZ(1,"g",10),e.qZA()),2&u){const n=r.$implicit,b=e.oxw(2);e.xp6(1),e.Q6J("xScale",b.xScale)("yScale",b.yScale)("colors",b.colors)("data",n)("activeEntries",b.activeEntries)("scaleType",b.scaleType)("curve",b.curve)("rangeFillOpacity",b.rangeFillOpacity)("hasRange",b.hasRange)("animations",b.animations)}}function U0(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,eu,2,10,"g",9),e.qZA()),2&u){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy)}}function _p(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g")(1,"g",14),e.NdJ("select",function(B){e.CHM(n);const j=e.oxw(2);return e.KtG(j.onClick(B))})("activate",function(B){e.CHM(n);const j=e.oxw(2);return e.KtG(j.onActivate(B))})("deactivate",function(B){e.CHM(n);const j=e.oxw(2);return e.KtG(j.onDeactivate(B))}),e.qZA()()}if(2&u){const n=r.$implicit,b=e.oxw(2);e.xp6(1),e.Q6J("xScale",b.xScale)("yScale",b.yScale)("colors",b.colors)("data",n)("scaleType",b.scaleType)("visibleValue",b.hoveredVertical)("activeEntries",b.activeEntries)("tooltipDisabled",b.tooltipDisabled)("tooltipTemplate",b.tooltipTemplate)}}function y4(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",11),e.NdJ("mouseleave",function(){e.CHM(n);const B=e.oxw();return e.KtG(B.hideCircles())}),e.TgZ(1,"g",12),e.NdJ("hover",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.updateHoveredVertical(B))}),e.qZA(),e.YNc(2,_p,2,9,"g",13),e.qZA()}if(2&u){const n=e.oxw();e.xp6(1),e.Q6J("dims",n.dims)("xSet",n.xSet)("xScale",n.xScale)("yScale",n.yScale)("results",n.results)("colors",n.colors)("tooltipDisabled",n.tooltipDisabled)("tooltipTemplate",n.seriesTooltipTemplate),e.xp6(1),e.Q6J("ngForOf",n.results)}}function T2(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e._UZ(1,"g",16),e.qZA()),2&u){const n=r.$implicit,b=e.oxw(2);e.xp6(1),e.Q6J("xScale",b.timelineXScale)("yScale",b.timelineYScale)("colors",b.colors)("data",n)("scaleType",b.scaleType)("curve",b.curve)("hasRange",b.hasRange)("animations",b.animations)}}function V0(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",15),e.NdJ("onDomainChange",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.updateDomain(B))}),e.YNc(1,T2,2,8,"g",9),e.qZA()}if(2&u){const n=e.oxw();e.Q6J("results",n.results)("view",e.WLB(10,Va,n.timelineWidth,n.height))("height",n.timelineHeight)("scheme",n.scheme)("customColors",n.customColors)("scaleType",n.scaleType)("legend",n.legend),e.uIk("transform",n.timelineTransform),e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy)}}function W0(u,r){if(1&u&&(e.O4$(),e._UZ(0,"g",4)),2&u){const n=e.oxw();e.Q6J("color",n.seriesColor)("name",n.gradientId)("startOpacity",.25)("endOpacity",1)("stops",n.gradientStops)}}function Vf(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",5),e.NdJ("select",function(){const j=e.CHM(n).$implicit,ue=e.oxw();return e.KtG(ue.select.emit(j.data))})("activate",function(){const j=e.CHM(n).$implicit,ue=e.oxw();return e.KtG(ue.activate.emit({name:j.data.series}))})("deactivate",function(){const j=e.CHM(n).$implicit,ue=e.oxw();return e.KtG(ue.deactivate.emit({name:j.data.series}))}),e.qZA()}if(2&u){const n=r.$implicit,b=e.oxw();e.Udp("opacity",b.inactive?.2:1),e.Q6J("cx",n.cx)("cy",n.cy)("r",b.circleRadius)("fill",n.color)("tooltipDisabled",b.tooltipDisabled)("tooltipPlacement",b.placementTypes.Top)("tooltipType",b.styleTypes.tooltip)("tooltipTitle",b.tooltipTemplate?void 0:b.tooltipText(n))("tooltipTemplate",b.tooltipTemplate)("tooltipContext",n.data)}}function Wf(u,r){if(1&u&&(e.O4$(),e._UZ(0,"circle",7)),2&u){const n=r.$implicit;e.uIk("r",n)}}function K0(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,Wf,1,1,"circle",6),e.qZA()),2&u){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.radiusTicks)}}function bp(u,r){if(1&u&&(e.O4$(),e._UZ(0,"g",9)),2&u){const n=r.$implicit,b=e.oxw(2);e.Q6J("data",n)("radius",b.outerRadius)("label",n.label)("max",b.outerRadius)("value",b.showGridLines?1:b.outerRadius)("explodeSlices",!0)("animations",b.animations)("labelTrim",b.labelTrim)("labelTrimSize",b.labelTrimSize)}}function x4(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,bp,1,9,"g",8),e.qZA()),2&u){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.thetaTicks)}}function yp(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",10),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.updateYAxisWidth(B))}),e.qZA()}if(2&u){const n=e.oxw();e.Q6J("yScale",n.yAxisScale)("dims",n.yAxisDims)("showGridLines",n.showGridLines)("showLabel",n.showYAxisLabel)("labelText",n.yAxisLabel)("trimTicks",n.trimYAxisTicks)("maxTickLength",n.maxYAxisTickLength)("tickFormatting",n.yAxisTickFormatting),e.uIk("transform",n.transformYAxis)}}function Kf(u,r){if(1&u&&(e.O4$(),e._UZ(0,"g",11)),2&u){const n=e.oxw();e.Q6J("label",n.xAxisLabel)("offset",n.labelOffset)("orient",n.orientation.Bottom)("height",n.dims.height)("width",n.dims.width)}}function Gf(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g")(1,"g",13),e.NdJ("select",function(B){e.CHM(n);const j=e.oxw(2);return e.KtG(j.onClick(B))})("activate",function(B){e.CHM(n);const j=e.oxw(2);return e.KtG(j.onActivate(B))})("deactivate",function(B){e.CHM(n);const j=e.oxw(2);return e.KtG(j.onDeactivate(B))}),e.qZA()()}if(2&u){const n=r.$implicit,b=e.oxw(2);e.Q6J("@animationState","active"),e.xp6(1),e.Q6J("gradient",b.gradient)("xScale",b.xScale)("yScale",b.yScale)("colors",b.colors)("data",n)("activeEntries",b.activeEntries)("scaleType",b.scaleType)("curve",b.curve)("rangeFillOpacity",b.rangeFillOpacity)("animations",b.animations)("tooltipDisabled",b.tooltipDisabled)("tooltipTemplate",b.tooltipTemplate)}}function Yf(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,Gf,2,13,"g",12),e.qZA()),2&u){const n=e.oxw();e.uIk("transform",n.transformPlot),e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy)}}function Zf(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g")(1,"g",13),e.NdJ("select",function(B){e.CHM(n);const j=e.oxw(2);return e.KtG(j.onClick(B))})("activate",function(B){e.CHM(n);const j=e.oxw(2);return e.KtG(j.onActivate(B))})("deactivate",function(B){e.CHM(n);const j=e.oxw(2);return e.KtG(j.onDeactivate(B))}),e.qZA()()}if(2&u){const n=r.$implicit,b=e.oxw(2);e.xp6(1),e.Q6J("gradient",b.gradient)("xScale",b.xScale)("yScale",b.yScale)("colors",b.colors)("data",n)("activeEntries",b.activeEntries)("scaleType",b.scaleType)("curve",b.curve)("rangeFillOpacity",b.rangeFillOpacity)("animations",b.animations)("tooltipDisabled",b.tooltipDisabled)("tooltipTemplate",b.tooltipTemplate)}}function xp(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,Zf,2,12,"g",12),e.qZA()),2&u){const n=e.oxw();e.uIk("transform",n.transformPlot),e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy)}}function Cp(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"defs"),e._UZ(1,"g",3),e.qZA()),2&u){const n=e.oxw();e.xp6(1),e.Q6J("color",n.fill)("name",n.radialGradientId)("startOpacity",n.startOpacity)}}function Ep(u,r){if(1&u&&(e.O4$(),e._UZ(0,"g",3)),2&u){const n=e.oxw().$implicit,b=e.oxw();e.Q6J("data",n)("radius",b.outerRadius)("color",b.color(n))("label",b.labelText(n))("labelTrim",b.trimLabels)("labelTrimSize",b.maxLabelLength)("max",b.max)("value",n.value)("explodeSlices",b.explodeSlices)("animations",b.animations)}}function Mp(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g"),e.YNc(1,Ep,1,10,"g",1),e.TgZ(2,"g",2),e.NdJ("select",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.onClick(B))})("activate",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.activate.emit(B))})("deactivate",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.deactivate.emit(B))})("dblclick",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.dblclick.emit(B))}),e.qZA()()}if(2&u){const n=r.$implicit,b=e.oxw();e.xp6(1),e.Q6J("ngIf",b.labelVisible(n)),e.xp6(1),e.Q6J("startAngle",n.startAngle)("endAngle",n.endAngle)("innerRadius",b.innerRadius)("outerRadius",b.outerRadius)("fill",b.color(n))("value",n.data.value)("gradient",b.gradient)("data",n.data)("max",b.max)("explodeSlices",b.explodeSlices)("isActive",b.isActive(n.data))("animate",b.animations)("tooltipDisabled",b.tooltipDisabled)("tooltipPlacement",b.placementTypes.Top)("tooltipType",b.styleTypes.tooltip)("tooltipTitle",b.getTooltipTitle(n))("tooltipTemplate",b.tooltipTemplate)("tooltipContext",n.data)}}function qf(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",2),e.NdJ("select",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.onClick(B))})("activate",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.activate.emit(B))})("deactivate",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.deactivate.emit(B))}),e.qZA()}if(2&u){const n=r.$implicit,b=e.oxw();e.Q6J("startAngle",n.startAngle)("endAngle",n.endAngle)("innerRadius",b.innerRadius)("outerRadius",b.outerRadius)("fill",b.color(n))("value",n.data.value)("data",n.data)("gradient",!1)("pointerEvents",n.pointerEvents)("animate",n.animate),e.uIk("class",n.class)}}function Xf(u,r){if(1&u&&(e.O4$(),e._UZ(0,"text",10)),2&u){const n=e.oxw().$implicit;e.Q6J("countTo",n.percent)("countSuffix","%")}}function Jf(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"text",11),e._uU(1),e.qZA()),2&u){const n=e.oxw().$implicit;e.xp6(1),e.hij(" ",n.percent.toLocaleString()," ")}}function Dp(u,r){if(1&u&&(e.O4$(),e._UZ(0,"text",12)),2&u){const n=e.oxw().$implicit,b=e.oxw();e.Q6J("countTo",n.total)("countPrefix",b.label+": "),e.uIk("y",n.outerRadius)}}function Y0(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"text",13),e._uU(1),e.qZA()),2&u){const n=e.oxw().$implicit,b=e.oxw();e.uIk("y",n.outerRadius),e.xp6(1),e.AsE(" ",b.label,": ",n.total.toLocaleString()," ")}}const _d=function(u){return{data:u}};function C4(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",3)(1,"g",4),e.NdJ("select",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.onClick(B))})("activate",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.onActivate(B))})("deactivate",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.onDeactivate(B))}),e.qZA(),e.YNc(2,Xf,1,2,"text",5),e.YNc(3,Jf,2,1,"text",6),e.TgZ(4,"text",7),e._uU(5),e.qZA(),e.YNc(6,Dp,1,3,"text",8),e.YNc(7,Y0,2,3,"text",9),e.qZA()}if(2&u){const n=r.$implicit,b=e.oxw();e.uIk("transform",n.transform),e.xp6(1),e.Q6J("colors",n.colors)("data",n.data)("innerRadius",n.innerRadius)("outerRadius",n.outerRadius)("animations",b.animations)("tooltipDisabled",b.tooltipDisabled)("tooltipPlacement",b.placementTypes.Top)("tooltipType",b.styleTypes.tooltip)("tooltipTitle",b.tooltipTemplate?void 0:b.tooltipText(e.VKq(17,_d,n)))("tooltipTemplate",b.tooltipTemplate)("tooltipContext",n.data[0].data),e.xp6(1),e.Q6J("ngIf",b.animations),e.xp6(1),e.Q6J("ngIf",!b.animations),e.xp6(2),e.hij(" ",n.label," "),e.xp6(1),e.Q6J("ngIf",b.animations),e.xp6(1),e.Q6J("ngIf",!b.animations)}}const Tp=["textEl"];function gd(u,r){if(1&u&&(e.O4$(),e._UZ(0,"path",7)),2&u){const n=e.oxw();e.uIk("fill",n.bandColor)("transform",n.transformBand)("d",n.bandPath)}}function E4(u,r){if(1&u&&(e.O4$(),e._UZ(0,"rect",2)),2&u){const n=r.$implicit,b=e.oxw();e.Udp("fill",b.emptyColor),e.uIk("x",n.x)("y",n.y)("width",n.width)("height",n.height)}}function Z0(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",3),e.NdJ("select",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.onClick(B))}),e.qZA()}if(2&u){const n=r.$implicit,b=e.oxw();e.Q6J("x",n.x)("y",n.y)("width",n.width)("height",n.height)("color",n.color)("bandColor",n.bandColor)("textColor",n.textColor)("data",n.data)("label",n.label)("medianSize",b.medianSize)("valueFormatting",b.valueFormatting)("labelFormatting",b.labelFormatting)("animations",b.animations)}}function w_(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"defs"),e._UZ(1,"g",3),e.qZA()),2&u){const n=e.oxw();e.xp6(1),e.Q6J("orientation",n.orientation.Vertical)("name",n.gradientId)("stops",n.gradientStops)}}function $f(u,r){if(1&u&&e._UZ(0,"span",8),2&u){const n=e.oxw(2);e.Q6J("countTo",n.value)("valueFormatting",n.valueFormatting)}}function M4(u,r){if(1&u&&(e.TgZ(0,"span",9),e._uU(1),e.qZA()),2&u){const n=e.oxw(2);e.xp6(1),e.hij(" ",n.formattedValue," ")}}function e3(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"foreignObject",4),e.kcU(),e.TgZ(1,"p"),e._UZ(2,"span",5)(3,"br"),e.YNc(4,$f,1,2,"span",6),e.YNc(5,M4,2,1,"span",7),e.qZA()()),2&u){const n=e.oxw();e.Udp("pointer-events","none"),e.uIk("x",n.x)("y",n.y)("width",n.width)("height",n.height),e.xp6(1),e.Udp("color",n.getTextColor())("height",n.height+"px")("width",n.width+"px"),e.xp6(1),e.Q6J("innerHTML",n.formattedLabel,e.oJD),e.xp6(2),e.Q6J("ngIf",n.animations),e.xp6(1),e.Q6J("ngIf",!n.animations)}}function Vr(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g",1),e.NdJ("select",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.onClick(B))}),e.qZA()}if(2&u){const n=r.$implicit,b=e.oxw();e.Q6J("data",n.data)("x",n.x)("y",n.y)("width",n.width)("height",n.height)("fill",n.fill)("label",n.label)("value",n.value)("valueFormatting",b.valueFormatting)("labelFormatting",b.labelFormatting)("gradient",b.gradient)("animations",b.animations)("tooltipDisabled",b.tooltipDisabled)("tooltipPlacement",b.placementTypes.Top)("tooltipType",b.styleTypes.tooltip)("tooltipTitle",b.tooltipTemplate?void 0:b.getTooltipText(n))("tooltipTemplate",b.tooltipTemplate)("tooltipContext",n.data)}}const t3=["valueTextEl"],D4=["unitsTextEl"];function T4(u,r){if(1&u&&(e.O4$(),e._UZ(0,"line",10)),2&u){const n=e.oxw();e.uIk("transform",n.transformLine)("stroke",n.colors.getColor(n.units))}}function i3(u,r){if(1&u&&(e.O4$(),e._UZ(0,"line",11)),2&u){const n=e.oxw();e.uIk("transform",n.transformLine)("stroke",n.colors.getColor(n.units))}}const n3=function(){return{}};function A2(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g",2),e._UZ(1,"path"),e.qZA()),2&u){const n=r.$implicit;e.xp6(1),e.uIk("d",n.line)}}function A4(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g",2)(1,"text",3),e._uU(2),e.qZA()()),2&u){const n=r.$implicit;e.xp6(1),e.Udp("text-anchor",n.textAnchor),e.uIk("transform",n.textTransform),e.xp6(1),e.hij(" ",n.text," ")}}function I4(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"g",4),e._UZ(1,"path"),e.qZA()),2&u){const n=r.$implicit;e.xp6(1),e.uIk("d",n.line)}}function o3(u,r){if(1&u){const n=e.EpF();e.O4$(),e.TgZ(0,"g")(1,"g",5),e.NdJ("select",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.onClick(B))})("activate",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.onActivate(B))})("deactivate",function(B){e.CHM(n);const j=e.oxw();return e.KtG(j.onDeactivate(B))}),e.qZA()()}if(2&u){const n=r.$implicit,b=e.oxw();e.uIk("transform",b.rotation),e.xp6(1),e.Q6J("backgroundArc",n.backgroundArc)("valueArc",n.valueArc)("cornerRadius",b.cornerRadius)("colors",b.colors)("isActive",b.isActive(n.valueArc.data))("tooltipDisabled",b.tooltipDisabled)("tooltipTemplate",b.tooltipTemplate)("valueFormatting",b.valueFormatting)("animations",b.animations)}}function L4(u,r){if(1&u&&(e.O4$(),e._UZ(0,"g",6)),2&u){const n=e.oxw();e.Q6J("bigSegments",n.bigSegments)("smallSegments",n.smallSegments)("min",n.min)("max",n.max)("radius",n.outerRadius)("angleSpan",n.angleSpan)("valueScale",n.valueScale)("startAngle",n.startAngle)("tickFormatting",n.axisTickFormatting)}}function Lp(u,r){if(1&u&&(e.O4$(),e.TgZ(0,"text",7,8)(2,"tspan",9),e._uU(3),e.qZA(),e.TgZ(4,"tspan",10),e._uU(5),e.qZA()()),2&u){const n=e.oxw();e.Udp("text-anchor","middle"),e.uIk("transform",n.textTransform),e.xp6(3),e.Oqu(n.displayValue),e.xp6(2),e.Oqu(n.units)}}function D_(u,r,n){n=n||{};let b,B,j,ue=null,Se=0;function mt(){Se=!1===n.leading?0:+new Date,ue=null,j=u.apply(b,B)}return function(){const xt=+new Date;!Se&&!1===n.leading&&(Se=xt);const At=r-(xt-Se);return b=this,B=arguments,At<=0?(clearTimeout(ue),ue=null,Se=xt,j=u.apply(b,B)):!ue&&!1!==n.trailing&&(ue=setTimeout(mt,At)),j}}var Rn,u;(u=Rn||(Rn={})).Top="top",u.Bottom="bottom",u.Left="left",u.Right="right",u.Center="center";function s3(u,r,n){return n===Rn.Top?u.top-7:n===Rn.Bottom?u.top+u.height-r.height+7:n===Rn.Center?u.top+u.height/2-r.height/2:void 0}function Sp(u,r,n){return n===Rn.Left?u.left-7:n===Rn.Right?u.left+u.width-r.width+7:n===Rn.Center?u.left+u.width/2-r.width/2:void 0}class Wr{static calculateVerticalAlignment(r,n,b){let B=s3(r,n,b);return B+n.height>window.innerHeight&&(B=window.innerHeight-n.height),B}static calculateVerticalCaret(r,n,b,B){let j;B===Rn.Top&&(j=r.height/2-b.height/2+7),B===Rn.Bottom&&(j=n.height-r.height/2-b.height/2-7),B===Rn.Center&&(j=n.height/2-b.height/2);const ue=s3(r,n,B);return ue+n.height>window.innerHeight&&(j+=ue+n.height-window.innerHeight),j}static calculateHorizontalAlignment(r,n,b){let B=Sp(r,n,b);return B+n.width>window.innerWidth&&(B=window.innerWidth-n.width),B}static calculateHorizontalCaret(r,n,b,B){let j;B===Rn.Left&&(j=r.width/2-b.width/2+7),B===Rn.Right&&(j=n.width-r.width/2-b.width/2-7),B===Rn.Center&&(j=n.width/2-b.width/2);const ue=Sp(r,n,B);return ue+n.width>window.innerWidth&&(j+=ue+n.width-window.innerWidth),j}static shouldFlip(r,n,b,B){let j=!1;return b===Rn.Right&&r.left+r.width+n.width+B>window.innerWidth&&(j=!0),b===Rn.Left&&r.left-n.width-B<0&&(j=!0),b===Rn.Top&&r.top-n.height-B<0&&(j=!0),b===Rn.Bottom&&r.top+r.height+n.height+B>window.innerHeight&&(j=!0),j}static positionCaret(r,n,b,B,j){let ue=0,Se=0;return r===Rn.Right?(Se=-7,ue=Wr.calculateVerticalCaret(b,n,B,j)):r===Rn.Left?(Se=n.width,ue=Wr.calculateVerticalCaret(b,n,B,j)):r===Rn.Top?(ue=n.height,Se=Wr.calculateHorizontalCaret(b,n,B,j)):r===Rn.Bottom&&(ue=-7,Se=Wr.calculateHorizontalCaret(b,n,B,j)),{top:ue,left:Se}}static positionContent(r,n,b,B,j){let ue=0,Se=0;return r===Rn.Right?(Se=b.left+b.width+B,ue=Wr.calculateVerticalAlignment(b,n,j)):r===Rn.Left?(Se=b.left-n.width-B,ue=Wr.calculateVerticalAlignment(b,n,j)):r===Rn.Top?(ue=b.top-n.height-B,Se=Wr.calculateHorizontalAlignment(b,n,j)):r===Rn.Bottom&&(ue=b.top+b.height+B,Se=Wr.calculateHorizontalAlignment(b,n,j)),{top:ue,left:Se}}static determinePlacement(r,n,b,B){if(Wr.shouldFlip(b,n,r,B)){if(r===Rn.Right)return Rn.Left;if(r===Rn.Left)return Rn.Right;if(r===Rn.Top)return Rn.Bottom;if(r===Rn.Bottom)return Rn.Top}return r}}class ds{constructor(r,n,b){this.element=r,this.renderer=n,this.platformId=b}get cssClasses(){let r="ngx-charts-tooltip-content";return r+=` position-${this.placement}`,r+=` type-${this.type}`,r+=` ${this.cssClass}`,r}ngAfterViewInit(){setTimeout(this.position.bind(this))}position(){if(!(0,t.NF)(this.platformId))return;const r=this.element.nativeElement,n=this.host.nativeElement.getBoundingClientRect();if(!n.height&&!n.width)return;const b=r.getBoundingClientRect();this.checkFlip(n,b),this.positionContent(r,n,b),this.showCaret&&this.positionCaret(n,b),setTimeout(()=>this.renderer.addClass(r,"animate"),1)}positionContent(r,n,b){const{top:B,left:j}=Wr.positionContent(this.placement,b,n,this.spacing,this.alignment);this.renderer.setStyle(r,"top",`${B}px`),this.renderer.setStyle(r,"left",`${j}px`)}positionCaret(r,n){const b=this.caretElm.nativeElement,B=b.getBoundingClientRect(),{top:j,left:ue}=Wr.positionCaret(this.placement,n,r,B,this.alignment);this.renderer.setStyle(b,"top",`${j}px`),this.renderer.setStyle(b,"left",`${ue}px`)}checkFlip(r,n){this.placement=Wr.determinePlacement(this.placement,n,r,this.spacing)}onWindowResize(){this.position()}}ds.\u0275fac=function(r){return new(r||ds)(e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(e.Lbi))},ds.\u0275cmp=e.Xpm({type:ds,selectors:[["ngx-tooltip-content"]],viewQuery:function(r,n){if(1&r&&e.Gf(mn,5),2&r){let b;e.iGM(b=e.CRH())&&(n.caretElm=b.first)}},hostVars:2,hostBindings:function(r,n){1&r&&e.NdJ("resize",function(){return n.onWindowResize()},!1,e.Jf7),2&r&&e.Tol(n.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(r,n){1&r&&(e.TgZ(0,"div"),e._UZ(1,"span",0,1),e.TgZ(3,"div",2),e.YNc(4,Bn,2,4,"span",3),e.YNc(5,En,1,1,"span",4),e.qZA()()),2&r&&(e.xp6(1),e.Gre("tooltip-caret position-",n.placement,""),e.Q6J("hidden",!n.showCaret),e.xp6(3),e.Q6J("ngIf",!n.title),e.xp6(1),e.Q6J("ngIf",n.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,_.gn)([function Op(u,r){return function(b,B,j){return{configurable:!0,enumerable:j.enumerable,get:function(){return Object.defineProperty(this,B,{configurable:!0,enumerable:j.enumerable,value:D_(j.value,u,r)}),this[B]}}}}(100)],ds.prototype,"onWindowResize",null);class oc{constructor(r){this.injectionService=r,this.defaults={},this.components=new Map}getByType(r=this.type){return this.components.get(r)}create(r){return this.createByType(this.type,r)}createByType(r,n){n=this.assignDefaults(n);const b=this.injectComponent(r,n);return this.register(r,b),b}destroy(r){const n=this.components.get(r.componentType);if(n&&n.length){const b=n.indexOf(r);b>-1&&(n[b].destroy(),n.splice(b,1))}}destroyAll(){this.destroyByType(this.type)}destroyByType(r){const n=this.components.get(r);if(n&&n.length){let b=n.length-1;for(;b>=0;)this.destroy(n[b--])}}injectComponent(r,n){return this.injectionService.appendComponent(r,n)}assignDefaults(r){const n={...this.defaults.inputs},b={...this.defaults.outputs};return!r.inputs&&!r.outputs&&(r={inputs:r}),n&&(r.inputs={...n,...r.inputs}),b&&(r.outputs={...b,...r.outputs}),r}register(r,n){this.components.has(r)||this.components.set(r,[]),this.components.get(r).push(n)}}class Vs{constructor(r,n,b){this.applicationRef=r,this.componentFactoryResolver=n,this.injector=b}static setGlobalRootViewContainer(r){Vs.globalRootViewContainer=r}getRootViewContainer(){if(this._container)return this._container;if(Vs.globalRootViewContainer)return Vs.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(r){this._container=r}getComponentRootNode(r){return function c3(u){return u.element}(r)?r.element.nativeElement:r.hostView&&r.hostView.rootNodes.length>0?r.hostView.rootNodes[0]:r.location.nativeElement}getRootViewContainerNode(r){return this.getComponentRootNode(r)}projectComponentBindings(r,n){if(n){if(void 0!==n.inputs){const b=Object.getOwnPropertyNames(n.inputs);for(const B of b)r.instance[B]=n.inputs[B]}if(void 0!==n.outputs){const b=Object.getOwnPropertyNames(n.outputs);for(const B of b)r.instance[B]=n.outputs[B]}}return r}appendComponent(r,n={},b){b||(b=this.getRootViewContainer());const B=this.getComponentRootNode(b),j=new S.u0(B,this.componentFactoryResolver,this.applicationRef,this.injector),ue=new S.C5(r),Se=j.attach(ue);return this.projectComponentBindings(Se,n),Se}}Vs.globalRootViewContainer=null,Vs.\u0275fac=function(r){return new(r||Vs)(e.LFG(e.z2F),e.LFG(e._Vd),e.LFG(e.zs3))},Vs.\u0275prov=e.Yz7({token:Vs,factory:Vs.\u0275fac});class Ll extends oc{constructor(r){super(r),this.type=ds}}var fr,o1,Di,io,jo,Qo,l1;Ll.\u0275fac=function(r){return new(r||Ll)(e.LFG(Vs))},Ll.\u0275prov=e.Yz7({token:Ll,factory:Ll.\u0275fac}),function(u){u.Right="right",u.Below="below"}(fr||(fr={})),function(u){u.ScaleLegend="scaleLegend",u.Legend="legend"}(o1||(o1={})),function(u){u.Time="time",u.Linear="linear",u.Ordinal="ordinal",u.Quantile="quantile"}(Di||(Di={}));class Ol{constructor(){this.horizontal=!1}ngOnChanges(r){const n=this.gradientString(this.colors.range(),this.colors.domain()),b=this.horizontal?"right":"bottom";this.gradient=`linear-gradient(to ${b}, ${n})`}gradientString(r,n){n.push(1);const b=[];return r.reverse().forEach((B,j)=>{b.push(`${B} ${Math.round(100*n[j])}%`)}),b.join(", ")}}function Kr(u){return u=u instanceof Date?u.toLocaleDateString():u.toLocaleString()}function _o(u){return u.toLocaleString().replace(/[&'`"<>]/g,r=>({"&":"&amp;","'":"&#x27;","`":"&#x60;",'"':"&quot;","<":"&lt;",">":"&gt;"}[r]))}Ol.\u0275fac=function(r){return new(r||Ol)},Ol.\u0275cmp=e.Xpm({type:Ol,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(r,n){1&r&&(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&r&&(e.Udp("height",n.horizontal?void 0:n.height,"px")("width",n.width,"px"),e.ekj("horizontal-legend",n.horizontal),e.xp6(3),e.Oqu(n.valueRange[1].toLocaleString()),e.xp6(1),e.Udp("background",n.gradient),e.xp6(3),e.Oqu(n.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});class vd{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})}}vd.\u0275fac=function(r){return new(r||vd)},vd.\u0275cmp=e.Xpm({type:vd,selectors:[["ngx-charts-legend-entry"]],hostBindings:function(r,n){1&r&&e.NdJ("mouseenter",function(){return n.onMouseEnter()})("mouseleave",function(){return n.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(r,n){1&r&&(e.TgZ(0,"span",0),e.NdJ("click",function(){return n.select.emit(n.formattedLabel)}),e.TgZ(1,"span",1),e.NdJ("click",function(){return n.toggle.emit(n.formattedLabel)}),e.qZA(),e.TgZ(2,"span",2),e._uU(3),e.qZA()()),2&r&&(e.ekj("active",n.isActive),e.Q6J("title",n.formattedLabel),e.xp6(1),e.Udp("background-color",n.color),e.xp6(2),e.hij(" ",n.trimmedLabel," "))},encapsulation:2,changeDetection:0});class I2{constructor(r){this.cd=r,this.horizontal=!1,this.labelClick=new e.vpe,this.labelActivate=new e.vpe,this.labelDeactivate=new e.vpe,this.legendEntries=[]}ngOnChanges(r){this.update()}update(){this.cd.markForCheck(),this.legendEntries=this.getLegendEntries()}getLegendEntries(){const r=[];for(const n of this.data){const b=Kr(n);-1===r.findIndex(j=>j.label===b)&&r.push({label:n,formattedLabel:b,color:this.colors.getColor(n)})}return r}isActive(r){return!!this.activeEntries&&void 0!==this.activeEntries.find(b=>r.label===b.name)}activate(r){this.labelActivate.emit(r)}deactivate(r){this.labelDeactivate.emit(r)}trackBy(r,n){return n.label}}I2.\u0275fac=function(r){return new(r||I2)(e.Y36(e.sBO))},I2.\u0275cmp=e.Xpm({type:I2,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(r,n){1&r&&(e.TgZ(0,"div"),e.YNc(1,Sn,3,1,"header",0),e.TgZ(2,"div",1)(3,"ul",2),e.YNc(4,ia,2,4,"li",3),e.qZA()()()),2&r&&(e.Udp("width",n.width,"px"),e.xp6(1),e.Q6J("ngIf",(null==n.title?null:n.title.length)>0),e.xp6(2),e.Udp("max-height",n.height-45,"px"),e.ekj("horizontal-legend",n.horizontal),e.xp6(1),e.Q6J("ngForOf",n.legendEntries)("ngForTrackBy",n.trackBy))},dependencies:[vd,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});class Wa{constructor(){this.showLegend=!1,this.animations=!0,this.legendLabelClick=new e.vpe,this.legendLabelActivate=new e.vpe,this.legendLabelDeactivate=new e.vpe,this.LegendPosition=fr,this.LegendType=o1}ngOnChanges(r){this.update()}update(){let r=0;this.showLegend&&(this.legendType=this.getLegendType(),(!this.legendOptions||this.legendOptions.position===fr.Right)&&(r=this.legendType===o1.ScaleLegend?1:2));const n=12-r;this.chartWidth=Math.floor(this.view[0]*n/12),this.legendWidth=this.legendOptions&&this.legendOptions.position!==fr.Right?this.chartWidth:Math.floor(this.view[0]*r/12)}getLegendType(){return this.legendOptions.scaleType===Di.Linear?o1.ScaleLegend:o1.Legend}}Wa.\u0275fac=function(r){return new(r||Wa)},Wa.\u0275cmp=e.Xpm({type:Wa,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([Ll]),e.TTD],ngContentSelectors:Fo,decls:5,vars:6,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(r,n){1&r&&(e.F$t(),e.TgZ(0,"div",0),e.O4$(),e.TgZ(1,"svg",1),e.Hsn(2),e.qZA(),e.YNc(3,Ma,1,5,"ngx-charts-scale-legend",2),e.YNc(4,eo,1,7,"ngx-charts-legend",3),e.qZA()),2&r&&(e.Udp("width",n.view[0],"px"),e.xp6(1),e.uIk("width",n.chartWidth)("height",n.view[1]),e.xp6(2),e.Q6J("ngIf",n.showLegend&&n.legendType===n.LegendType.ScaleLegend),e.xp6(1),e.Q6J("ngIf",n.showLegend&&n.legendType===n.LegendType.Legend))},dependencies:[Ol,I2,t.O5],encapsulation:2,changeDetection:0});class s1{constructor(r,n){this.element=r,this.zone=n,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 r=()=>{if(!this.element)return;const{offsetHeight:n,offsetWidth:b}=this.element.nativeElement;n&&b?(clearTimeout(this.timeout),this.onVisibilityChange()):(clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>r(),100)}))};this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>r())})}}function c1(u){return"[object Date]"===toString.call(u)}function O4(u){return"number"==typeof u}s1.\u0275fac=function(r){return new(r||s1)(e.Y36(e.SBq),e.Y36(e.R0b))},s1.\u0275dir=e.lG2({type:s1,selectors:[["visibility-observer"]],outputs:{visible:"visible"}});class Ka{constructor(r,n,b,B){this.chartElement=r,this.zone=n,this.cd=b,this.platformId=B,this.scheme="cool",this.schemeType=Di.Ordinal,this.animations=!0,this.select=new e.vpe}ngOnInit(){(0,t.PM)(this.platformId)&&(this.animations=!1)}ngAfterViewInit(){this.bindWindowResizeEvent(),this.visibilityObserver=new s1(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(r){this.update()}update(){if(this.results?this.results=this.cloneData(this.results):this.results=[],this.view)this.width=this.view[0],this.height=this.view[1];else{const r=this.getContainerDims();r&&(this.width=r.width,this.height=r.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 r,n;const b=this.chartElement.nativeElement;if((0,t.NF)(this.platformId)&&null!==b.parentNode){const B=b.parentNode.getBoundingClientRect();r=B.width,n=B.height}return r&&n?{width:r,height:n}:null}formatDates(){for(let r=0;r<this.results.length;r++){const n=this.results[r];if(n.label=n.name,c1(n.label)&&(n.label=n.label.toLocaleDateString()),n.series)for(let b=0;b<n.series.length;b++){const B=n.series[b];B.label=B.name,c1(B.label)&&(B.label=B.label.toLocaleDateString())}}}unbindEvents(){this.resizeSubscription&&this.resizeSubscription.unsubscribe()}bindWindowResizeEvent(){if(!(0,t.NF)(this.platformId))return;const n=(0,l.R)(window,"resize").pipe((0,D.b)(200)).subscribe(b=>{this.update(),this.cd&&this.cd.markForCheck()});this.resizeSubscription=n}cloneData(r){const n=[];for(const b of r){const B={name:b.name};if(void 0!==b.value&&(B.value=b.value),void 0!==b.series){B.series=[];for(const j of b.series){const ue=Object.assign({},j);B.series.push(ue)}}void 0!==b.extra&&(B.extra=JSON.parse(JSON.stringify(b.extra))),n.push(B)}return n}}Ka.\u0275fac=function(r){return new(r||Ka)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(e.Lbi))},Ka.\u0275cmp=e.Xpm({type:Ka,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(r,n){1&r&&e._UZ(0,"div")},encapsulation:2}),function(u){u.Top="top",u.Bottom="bottom",u.Left="left",u.Right="right"}(io||(io={}));class Sl{constructor(r){this.textHeight=25,this.margin=5,this.element=r.nativeElement}ngOnChanges(r){this.update()}update(){switch(this.strokeWidth="0.01",this.textAnchor="middle",this.transform="",this.orient){case io.Top:case io.Bottom:this.y=this.offset,this.x=this.width/2;break;case io.Left:this.y=-(this.offset+this.textHeight+this.margin),this.x=-this.height/2,this.transform="rotate(270)";break;case io.Right:this.y=this.offset+this.margin,this.x=-this.height/2,this.transform="rotate(270)"}}}function Ac(u,r=16){return"string"!=typeof u?"number"==typeof u?u+"":"":(u=u.trim()).length<=r?u:`${u.slice(0,r)}...`}function tu(u,r){if(u.length>r){const n=[],b=Math.floor(u.length/r);for(let B=0;B<u.length;B++)B%b==0&&n.push(u[B]);u=n}return u}Sl.\u0275fac=function(r){return new(r||Sl)(e.Y36(e.SBq))},Sl.\u0275cmp=e.Xpm({type:Sl,selectors:[["g","ngx-charts-axis-label",""]],inputs:{orient:"orient",label:"label",offset:"offset",width:"width",height:"height"},features:[e.TTD],attrs:["ngx-charts-axis-label",""],decls:2,vars:6,template:function(r,n){1&r&&(e.O4$(),e.TgZ(0,"text"),e._uU(1),e.qZA()),2&r&&(e.uIk("stroke-width",n.strokeWidth)("x",n.x)("y",n.y)("text-anchor",n.textAnchor)("transform",n.transform),e.xp6(1),e.hij(" ",n.label," "))},encapsulation:2,changeDetection:0}),function(u){u.Start="start",u.Middle="middle",u.End="end"}(jo||(jo={}));class bd{constructor(r){this.platformId=r,this.tickArguments=[5],this.tickStroke="#ccc",this.trimTicks=!0,this.maxTickLength=16,this.showGridLines=!1,this.rotateTicks=!0,this.dimensionsChanged=new e.vpe,this.verticalSpacing=20,this.rotateLabels=!1,this.innerTickSize=6,this.outerTickSize=6,this.tickPadding=3,this.textAnchor=jo.Middle,this.maxTicksLength=0,this.maxAllowedLength=16,this.height=0,this.approxHeight=10}ngOnChanges(r){this.update()}ngAfterViewInit(){setTimeout(()=>this.updateDims())}updateDims(){if(!(0,t.NF)(this.platformId))return void this.dimensionsChanged.emit({height:this.approxHeight});const r=parseInt(this.ticksElement.nativeElement.getBoundingClientRect().height,10);r!==this.height&&(this.height=r,this.dimensionsChanged.emit({height:this.height}),setTimeout(()=>this.updateDims()))}update(){const r=this.scale;this.ticks=this.getTicks(),this.tickFormatting?this.tickFormat=this.tickFormatting:r.tickFormat?this.tickFormat=r.tickFormat.apply(r,this.tickArguments):this.tickFormat=function(b){return"Date"===b.constructor.name?b.toLocaleDateString():b.toLocaleString()};const n=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="",n&&0!==n?(this.textTransform=`rotate(${n})`,this.textAnchor=jo.End,this.verticalSpacing=10):this.textAnchor=jo.Middle,setTimeout(()=>this.updateDims())}getRotationAngle(r){let n=0;this.maxTicksLength=0;for(let mt=0;mt<r.length;mt++){const xt=this.tickFormat(r[mt]).toString();let At=xt.length;this.trimTicks&&(At=this.tickTrim(xt).length),At>this.maxTicksLength&&(this.maxTicksLength=At)}const j=7*Math.min(this.maxTicksLength,this.maxAllowedLength);let ue=j;const Se=Math.floor(this.width/r.length);for(;ue>Se&&n>-90;)n-=30,ue=Math.cos(n*(Math.PI/180))*j;return this.approxHeight=Math.max(Math.abs(Math.sin(n*(Math.PI/180))*j),10),n}getTicks(){let r;const n=this.getMaxTicks(20),b=this.getMaxTicks(100);return this.tickValues?r=this.tickValues:this.scale.ticks?r=this.scale.ticks.apply(this.scale,[b]):(r=this.scale.domain(),r=tu(r,n)),r}getMaxTicks(r){return Math.floor(this.width/r)}tickTransform(r){return"translate("+this.adjustedScale(r)+","+this.verticalSpacing+")"}gridLineTransform(){return`translate(0,${-this.verticalSpacing-5})`}tickTrim(r){return this.trimTicks?Ac(r,this.maxTickLength):r}}bd.\u0275fac=function(r){return new(r||bd)(e.Y36(e.Lbi))},bd.\u0275cmp=e.Xpm({type:bd,selectors:[["g","ngx-charts-x-axis-ticks",""]],viewQuery:function(r,n){if(1&r&&e.Gf(cs,5),2&r){let b;e.iGM(b=e.CRH())&&(n.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"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[e.TTD],attrs:["ngx-charts-x-axis-ticks",""],decls:4,vars:2,consts:[["ticksel",""],["class","tick",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],[1,"tick"],["stroke-width","0.01"],[4,"ngIf"],["y2","0",1,"gridline-path","gridline-path-vertical"]],template:function(r,n){1&r&&(e.O4$(),e.TgZ(0,"g",null,0),e.YNc(2,wo,5,7,"g",1),e.qZA(),e.YNc(3,ac,2,2,"g",2)),2&r&&(e.xp6(2),e.Q6J("ngForOf",n.ticks),e.xp6(1),e.Q6J("ngForOf",n.ticks))},dependencies:[t.sg,t.O5],encapsulation:2,changeDetection:0});class go{constructor(){this.rotateTicks=!0,this.showGridLines=!1,this.xOrient=io.Bottom,this.xAxisOffset=0,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=io}ngOnChanges(r){this.update()}update(){this.transform=`translate(0,${this.xAxisOffset+this.padding+this.dims.height})`,typeof this.xAxisTickCount<"u"&&(this.tickArguments=[this.xAxisTickCount])}emitTicksHeight({height:r}){const n=r+25+5;n!==this.labelOffset&&(this.labelOffset=n,setTimeout(()=>{this.dimensionsChanged.emit({height:r})},0))}}function sc(u,r,n,b,B,[j,ue,Se,mt]){let xt="";return xt=`M${[u+B,r]}`,xt+="h"+((n=0===(n=Math.floor(n))?1:n)-2*B),xt+=ue?`a${[B,B]} 0 0 1 ${[B,B]}`:`h${B}v${B}`,xt+="v"+((b=0===(b=Math.floor(b))?1:b)-2*B),xt+=mt?`a${[B,B]} 0 0 1 ${[-B,B]}`:`v${B}h${-B}`,xt+="h"+(2*B-n),xt+=Se?`a${[B,B]} 0 0 1 ${[-B,-B]}`:`h${-B}v${-B}`,xt+="v"+(2*B-b),xt+=j?`a${[B,B]} 0 0 1 ${[B,-B]}`:`v${-B}h${B}`,xt+="z",xt}go.\u0275fac=function(r){return new(r||go)},go.\u0275cmp=e.Xpm({type:go,selectors:[["g","ngx-charts-x-axis",""]],viewQuery:function(r,n){if(1&r&&e.Gf(bd,5),2&r){let b;e.iGM(b=e.CRH())&&(n.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"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[e.TTD],attrs:["ngx-charts-x-axis",""],decls:3,vars:4,consts:[["ngx-charts-x-axis-ticks","",3,"trimTicks","rotateTicks","maxTickLength","tickFormatting","tickArguments","tickStroke","scale","orient","showGridLines","gridLineHeight","width","tickValues","dimensionsChanged",4,"ngIf"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width",4,"ngIf"],["ngx-charts-x-axis-ticks","",3,"trimTicks","rotateTicks","maxTickLength","tickFormatting","tickArguments","tickStroke","scale","orient","showGridLines","gridLineHeight","width","tickValues","dimensionsChanged"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width"]],template:function(r,n){1&r&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,D0,1,12,"g",0),e.YNc(2,ud,1,5,"g",1),e.qZA()),2&r&&(e.uIk("class",n.xAxisClassName)("transform",n.transform),e.xp6(1),e.Q6J("ngIf",n.xScale),e.xp6(1),e.Q6J("ngIf",n.showLabel))},dependencies:[bd,Sl,t.O5],encapsulation:2,changeDetection:0});class yd{constructor(r){this.platformId=r,this.tickArguments=[5],this.tickStroke="#ccc",this.trimTicks=!0,this.maxTickLength=16,this.showGridLines=!1,this.showRefLabels=!1,this.showRefLines=!1,this.dimensionsChanged=new e.vpe,this.innerTickSize=6,this.tickPadding=3,this.verticalSpacing=20,this.textAnchor=jo.Middle,this.width=0,this.outerTickSize=6,this.rotateLabels=!1,this.referenceLineLength=0,this.Orientation=io}ngOnChanges(r){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 r=parseInt(this.ticksElement.nativeElement.getBoundingClientRect().width,10);r!==this.width&&(this.width=r,this.dimensionsChanged.emit({width:r}),setTimeout(()=>this.updateDims()))}update(){let r;const n=this.orient===io.Top||this.orient===io.Right?-1:1;switch(this.tickSpacing=Math.max(this.innerTickSize,0)+this.tickPadding,r=this.scale,this.ticks=this.getTicks(),this.tickFormatting?this.tickFormat=this.tickFormatting:r.tickFormat?this.tickFormat=r.tickFormat.apply(r,this.tickArguments):this.tickFormat=function(b){return"Date"===b.constructor.name?b.toLocaleDateString():b.toLocaleString()},this.adjustedScale=r.bandwidth?function(b){return r(b)+.5*r.bandwidth()}:r,this.showRefLines&&this.referenceLines&&this.setReferencelines(),this.orient){case io.Top:case io.Bottom:this.transform=function(b){return"translate("+this.adjustedScale(b)+",0)"},this.textAnchor=jo.Middle,this.y2=this.innerTickSize*n,this.y1=this.tickSpacing*n,this.dy=n<0?"0em":".71em";break;case io.Left:this.transform=function(b){return"translate(0,"+this.adjustedScale(b)+")"},this.textAnchor=jo.End,this.x2=this.innerTickSize*-n,this.x1=this.tickSpacing*-n,this.dy=".32em";break;case io.Right:this.transform=function(b){return"translate(0,"+this.adjustedScale(b)+")"},this.textAnchor=jo.Start,this.x2=this.innerTickSize*-n,this.x1=this.tickSpacing*-n,this.dy=".32em"}setTimeout(()=>this.updateDims())}setReferencelines(){this.refMin=this.adjustedScale(Math.min.apply(null,this.referenceLines.map(r=>r.value))),this.refMax=this.adjustedScale(Math.max.apply(null,this.referenceLines.map(r=>r.value))),this.referenceLineLength=this.referenceLines.length,this.referenceAreaPath=sc(0,this.refMax,this.gridLineWidth,this.refMin-this.refMax,0,[!1,!1,!1,!1])}getTicks(){let r;const n=this.getMaxTicks(20),b=this.getMaxTicks(50);return this.tickValues?r=this.tickValues:this.scale.ticks?r=this.scale.ticks.apply(this.scale,[b]):(r=this.scale.domain(),r=tu(r,n)),r}getMaxTicks(r){return Math.floor(this.height/r)}tickTransform(r){return`translate(${this.adjustedScale(r)},${this.verticalSpacing})`}gridLineTransform(){return"translate(5,0)"}tickTrim(r){return this.trimTicks?Ac(r,this.maxTickLength):r}getApproximateAxisWidth(){return 7*Math.max(...this.ticks.map(b=>this.tickTrim(this.tickFormat(b)).length))}}yd.\u0275fac=function(r){return new(r||yd)(e.Y36(e.Lbi))},yd.\u0275cmp=e.Xpm({type:yd,selectors:[["g","ngx-charts-y-axis-ticks",""]],viewQuery:function(r,n){if(1&r&&e.Gf(cs,5),2&r){let b;e.iGM(b=e.CRH())&&(n.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"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[e.TTD],attrs:["ngx-charts-y-axis-ticks",""],decls:6,vars:4,consts:[["ticksel",""],["class","tick",4,"ngFor","ngForOf"],["class","reference-area",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"tick"],["stroke-width","0.01"],[1,"reference-area"],[4,"ngIf"],["class","gridline-path gridline-path-horizontal","x1","0",4,"ngIf"],["x1","0",1,"gridline-path","gridline-path-horizontal"],["x1","0",1,"refline-path","gridline-path-horizontal"],[1,"refline-label"]],template:function(r,n){1&r&&(e.O4$(),e.TgZ(0,"g",null,0),e.YNc(2,T0,5,9,"g",1),e.qZA(),e.YNc(3,A0,1,2,"path",2),e.YNc(4,ua,2,2,"g",3),e.YNc(5,Do,2,1,"g",3)),2&r&&(e.xp6(2),e.Q6J("ngForOf",n.ticks),e.xp6(1),e.Q6J("ngIf",n.referenceLineLength>1&&n.refMax&&n.refMin&&n.showRefLines),e.xp6(1),e.Q6J("ngForOf",n.ticks),e.xp6(1),e.Q6J("ngForOf",n.referenceLines))},dependencies:[t.sg,t.O5],encapsulation:2,changeDetection:0});class no{constructor(){this.showGridLines=!1,this.yOrient=io.Left,this.yAxisOffset=0,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(r){this.update()}update(){this.offset=-(this.yAxisOffset+this.padding),this.yOrient===io.Right?(this.labelOffset=65,this.transform=`translate(${this.offset+this.dims.width} , 0)`):(this.offset=this.offset,this.transform=`translate(${this.offset} , 0)`),void 0!==this.yAxisTickCount&&(this.tickArguments=[this.yAxisTickCount])}emitTicksWidth({width:r}){r!==this.labelOffset&&this.yOrient===io.Right?(this.labelOffset=r+this.labelOffset,setTimeout(()=>{this.dimensionsChanged.emit({width:r})},0)):r!==this.labelOffset&&(this.labelOffset=r,setTimeout(()=>{this.dimensionsChanged.emit({width:r})},0))}}no.\u0275fac=function(r){return new(r||no)},no.\u0275cmp=e.Xpm({type:no,selectors:[["g","ngx-charts-y-axis",""]],viewQuery:function(r,n){if(1&r&&e.Gf(yd,5),2&r){let b;e.iGM(b=e.CRH())&&(n.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"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[e.TTD],attrs:["ngx-charts-y-axis",""],decls:3,vars:4,consts:[["ngx-charts-y-axis-ticks","",3,"trimTicks","maxTickLength","tickFormatting","tickArguments","tickValues","tickStroke","scale","orient","showGridLines","gridLineWidth","referenceLines","showRefLines","showRefLabels","height","dimensionsChanged",4,"ngIf"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width",4,"ngIf"],["ngx-charts-y-axis-ticks","",3,"trimTicks","maxTickLength","tickFormatting","tickArguments","tickValues","tickStroke","scale","orient","showGridLines","gridLineWidth","referenceLines","showRefLines","showRefLabels","height","dimensionsChanged"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width"]],template:function(r,n){1&r&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,lr,1,14,"g",0),e.YNc(2,Al,1,5,"g",1),e.qZA()),2&r&&(e.uIk("class",n.yAxisClassName)("transform",n.transform),e.xp6(1),e.Q6J("ngIf",n.yScale),e.xp6(1),e.Q6J("ngIf",n.showLabel))},dependencies:[yd,Sl,t.O5],encapsulation:2,changeDetection:0});class xd{}xd.\u0275fac=function(r){return new(r||xd)},xd.\u0275mod=e.oAB({type:xd}),xd.\u0275inj=e.cJS({imports:[[t.ez]]}),function(u){u.popover="popover",u.tooltip="tooltip"}(Qo||(Qo={})),function(u){u[u.all="all"]="all",u[u.focus="focus"]="focus",u[u.mouseover="mouseover"]="mouseover"}(l1||(l1={}));class hs{constructor(r,n,b){this.tooltipService=r,this.viewContainerRef=n,this.renderer=b,this.tooltipCssClass="",this.tooltipAppendToBody=!0,this.tooltipSpacing=10,this.tooltipDisabled=!1,this.tooltipShowCaret=!0,this.tooltipPlacement=Rn.Top,this.tooltipAlignment=Rn.Center,this.tooltipType=Qo.popover,this.tooltipCloseOnClickOutside=!0,this.tooltipCloseOnMouseLeave=!0,this.tooltipHideTimeout=300,this.tooltipShowTimeout=100,this.tooltipShowEvent=l1.all,this.tooltipImmediateExit=!1,this.show=new e.vpe,this.hide=new e.vpe}get listensForFocus(){return this.tooltipShowEvent===l1.all||this.tooltipShowEvent===l1.focus}get listensForHover(){return this.tooltipShowEvent===l1.all||this.tooltipShowEvent===l1.mouseover}ngOnDestroy(){this.hideTooltip(!0)}onFocus(){this.listensForFocus&&this.showTooltip()}onBlur(){this.listensForFocus&&this.hideTooltip(!0)}onMouseEnter(){this.listensForHover&&this.showTooltip()}onMouseLeave(r){if(this.listensForHover&&this.tooltipCloseOnMouseLeave){if(clearTimeout(this.timeout),this.component&&this.component.instance.element.nativeElement.contains(r))return;this.hideTooltip(this.tooltipImmediateExit)}}onMouseClick(){this.listensForHover&&this.hideTooltip(!0)}showTooltip(r){if(this.component||this.tooltipDisabled)return;const n=r?0:this.tooltipShowTimeout+(navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)?300: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)},n)}addHideListeners(r){this.mouseEnterContentEvent=this.renderer.listen(r,"mouseenter",()=>{clearTimeout(this.timeout)}),this.tooltipCloseOnMouseLeave&&(this.mouseLeaveContentEvent=this.renderer.listen(r,"mouseleave",()=>{this.hideTooltip(this.tooltipImmediateExit)})),this.tooltipCloseOnClickOutside&&(this.documentClickEvent=this.renderer.listen("window","click",n=>{r.contains(n.target)||this.hideTooltip()}))}hideTooltip(r=!1){if(!this.component)return;const n=()=>{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),r?n():this.timeout=setTimeout(n,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}}}hs.\u0275fac=function(r){return new(r||hs)(e.Y36(Ll),e.Y36(e.s_b),e.Y36(e.Qsj))},hs.\u0275dir=e.lG2({type:hs,selectors:[["","ngx-tooltip",""]],hostBindings:function(r,n){1&r&&e.NdJ("focusin",function(){return n.onFocus()})("blur",function(){return n.onBlur()})("mouseenter",function(){return n.onMouseEnter()})("mouseleave",function(B){return n.onMouseLeave(B.target)})("click",function(){return n.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"}});class d1{}d1.\u0275fac=function(r){return new(r||d1)},d1.\u0275mod=e.oAB({type:d1}),d1.\u0275inj=e.cJS({providers:[Vs,Ll],imports:[[t.ez]]});const l3={};function qo(){let u=("0000"+(Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4);return u=`a${u}`,l3[u]?qo():(l3[u]=!0,u)}var ka,h1,iu;!function(u){u.Vertical="vertical",u.Horizontal="horizontal"}(ka||(ka={}));class cc{constructor(){this.orientation=ka.Vertical}ngOnChanges(r){this.x1="0%",this.x2="0%",this.y1="0%",this.y2="0%",this.orientation===ka.Horizontal?this.x2="100%":this.orientation===ka.Vertical&&(this.y1="100%")}}cc.\u0275fac=function(r){return new(r||cc)},cc.\u0275cmp=e.Xpm({type:cc,selectors:[["g","ngx-charts-svg-linear-gradient",""]],inputs:{orientation:"orientation",name:"name",stops:"stops"},features:[e.TTD],attrs:["ngx-charts-svg-linear-gradient",""],decls:2,vars:6,consts:[[3,"id"],[3,"stop-color","stop-opacity",4,"ngFor","ngForOf"]],template:function(r,n){1&r&&(e.O4$(),e.TgZ(0,"linearGradient",0),e.YNc(1,zo,1,5,"stop",1),e.qZA()),2&r&&(e.Q6J("id",n.name),e.uIk("x1",n.x1)("y1",n.y1)("x2",n.x2)("y2",n.y2),e.xp6(1),e.Q6J("ngForOf",n.stops))},dependencies:[t.sg],encapsulation:2,changeDetection:0});class Cd{constructor(){this.select=new e.vpe,this.activate=new e.vpe,this.deactivate=new e.vpe}onClick(){this.select.emit(this.data)}onMouseEnter(){this.activate.emit(this.data)}onMouseLeave(){this.deactivate.emit(this.data)}ngOnChanges(r){this.classNames=Array.isArray(this.classNames)?this.classNames.join(" "):"",this.classNames+="circle"}}Cd.\u0275fac=function(r){return new(r||Cd)},Cd.\u0275cmp=e.Xpm({type:Cd,selectors:[["g","ngx-charts-circle",""]],hostBindings:function(r,n){1&r&&e.NdJ("click",function(){return n.onClick()})("mouseenter",function(){return n.onMouseEnter()})("mouseleave",function(){return n.onMouseLeave()})},inputs:{cx:"cx",cy:"cy",r:"r",fill:"fill",stroke:"stroke",data:"data",classNames:"classNames",circleOpacity:"circleOpacity",pointerEvents:"pointerEvents"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[e.TTD],attrs:["ngx-charts-circle",""],decls:1,vars:8,template:function(r,n){1&r&&(e.O4$(),e._UZ(0,"circle")),2&r&&e.uIk("cx",n.cx)("cy",n.cy)("r",n.r)("fill",n.fill)("stroke",n.stroke)("opacity",n.circleOpacity)("class",n.classNames)("pointer-events",n.pointerEvents)},encapsulation:2,changeDetection:0}),function(u){u.Standard="standard",u.Stacked="stacked"}(h1||(h1={}));class kl{constructor(r){this.platformId=r,this.type=h1.Standard,this.tooltipDisabled=!1,this.select=new e.vpe,this.activate=new e.vpe,this.deactivate=new e.vpe,this.barVisible=!1,this.barOrientation=ka,this.placementTypes=Rn,this.styleTypes=Qo,this.isSSR=!1}ngOnInit(){this.gradientId="grad"+qo().toString(),this.gradientFill=`url(#${this.gradientId})`,(0,t.PM)(this.platformId)&&(this.isSSR=!0)}ngOnChanges(){this.update()}update(){this.circle=this.getActiveCircle()}getActiveCircle(){const r=this.data.series.findIndex(n=>{const b=n.name;return b&&this.visibleValue&&b.toString()===this.visibleValue.toString()&&void 0!==n.value});if(-1!==r)return this.mapDataPointToCircle(this.data.series[r],r)}mapDataPointToCircle(r,n){const b=this.data.name,B=r.value,j=r.name,ue=Kr(j);let Se;Se=this.scaleType===Di.Time?this.xScale(j):this.scaleType===Di.Linear?this.xScale(Number(j)):this.xScale(j);const mt=this.yScale(this.type===h1.Standard?B:r.d1),At=this.yScale.range()[0]-mt;let Ft;Ft=this.colors.scaleType===Di.Linear?this.type===h1.Standard?this.colors.getColor(B):this.colors.getColor(r.d1):this.colors.getColor(b);return{classNames:[`circle-data-${n}`],value:B,label:j,data:Object.assign({},r,{series:b,value:B,name:j}),cx:Se,cy:mt,radius:5,height:At,tooltipLabel:ue,color:Ft,opacity:1,seriesName:b,gradientStops:this.getGradientStops(Ft),min:r.min,max:r.max}}getTooltipText({tooltipLabel:r,value:n,seriesName:b,min:B,max:j}){return`\n <span class="tooltip-label">${_o(b)} \u2022 ${_o(r)}</span>\n <span class="tooltip-val">${n.toLocaleString()}${this.getTooltipMinMaxText(B,j)}</span>\n `}getTooltipMinMaxText(r,n){if(void 0!==r||void 0!==n){let b=" (";return void 0!==r?(void 0===n&&(b+="\u2265"),b+=r.toLocaleString(),void 0!==n&&(b+=" - ")):void 0!==n&&(b+="\u2264"),void 0!==n&&(b+=n.toLocaleString()),b+=")",b}return""}getGradientStops(r){return[{offset:0,color:r,opacity:.2},{offset:100,color:r,opacity:1}]}onClick(r){this.select.emit(r)}isActive(r){return!!this.activeEntries&&void 0!==this.activeEntries.find(b=>r.name===b.name)}activateCircle(){this.barVisible=!0,this.activate.emit({name:this.data.name})}deactivateCircle(){this.barVisible=!1,this.circle.opacity=0,this.deactivate.emit({name:this.data.name})}}kl.\u0275fac=function(r){return new(r||kl)(e.Y36(e.Lbi))},kl.\u0275cmp=e.Xpm({type:kl,selectors:[["g","ngx-charts-circle-series",""]],inputs:{data:"data",type:"type",xScale:"xScale",yScale:"yScale",colors:"colors",scaleType:"scaleType",visibleValue:"visibleValue",activeEntries:"activeEntries",tooltipDisabled:"tooltipDisabled",tooltipTemplate:"tooltipTemplate"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[e.TTD],attrs:["ngx-charts-circle-series",""],decls:1,vars:1,consts:[[4,"ngIf"],["ngx-charts-svg-linear-gradient","",3,"orientation","name","stops"],["class","tooltip-bar",4,"ngIf"],["ngx-charts-circle","","ngx-tooltip","",1,"circle",3,"cx","cy","r","fill","pointerEvents","data","classNames","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","select","activate","deactivate"],[1,"tooltip-bar"]],template:function(r,n){1&r&&e.YNc(0,L0,6,22,"g",0),2&r&&e.Q6J("ngIf",n.circle)},dependencies:[cc,Cd,t.O5,hs],encapsulation:2,data:{animation:[(0,d.X$)("animationState",[(0,d.eR)(":enter",[(0,d.oB)({opacity:0}),(0,d.jt)(250,(0,d.oB)({opacity:1}))])])]},changeDetection:0});class L2{}L2.\u0275fac=function(r){return new(r||L2)},L2.\u0275cmp=e.Xpm({type:L2,selectors:[["g","ngx-charts-grid-panel",""]],inputs:{width:"width",height:"height",x:"x",y:"y"},attrs:["ngx-charts-grid-panel",""],decls:1,vars:4,consts:[["stroke","none",1,"gridpanel"]],template:function(r,n){1&r&&(e.O4$(),e._UZ(0,"rect",0)),2&r&&e.uIk("height",n.height)("width",n.width)("x",n.x)("y",n.y)},encapsulation:2,changeDetection:0}),function(u){u.Odd="odd",u.Even="even"}(iu||(iu={}));class u1{ngOnChanges(r){this.update()}update(){this.gridPanels=this.getGridPanels()}getGridPanels(){return this.data.map(r=>{let n,b,B,j,ue,Se=iu.Odd;if(this.orient===ka.Vertical){const mt=this.xScale(r.name);Number.parseInt((mt/this.xScale.step()).toString(),10)%2==1&&(Se=iu.Even),n=this.xScale.bandwidth()*this.xScale.paddingInner(),b=this.xScale.bandwidth()+n,B=this.dims.height,j=this.xScale(r.name)-n/2,ue=0}else if(this.orient===ka.Horizontal){const mt=this.yScale(r.name);Number.parseInt((mt/this.yScale.step()).toString(),10)%2==1&&(Se=iu.Even),n=this.yScale.bandwidth()*this.yScale.paddingInner(),b=this.dims.width,B=this.yScale.bandwidth()+n,j=0,ue=this.yScale(r.name)-n/2}return{name:r.name,class:Se,height:B,width:b,x:j,y:ue}})}}u1.\u0275fac=function(r){return new(r||u1)},u1.\u0275cmp=e.Xpm({type:u1,selectors:[["g","ngx-charts-grid-panel-series",""]],inputs:{data:"data",dims:"dims",xScale:"xScale",yScale:"yScale",orient:"orient"},features:[e.TTD],attrs:["ngx-charts-grid-panel-series",""],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(r,n){1&r&&e.YNc(0,O0,1,10,"g",0),2&r&&e.Q6J("ngForOf",n.gridPanels)},dependencies:[L2,t.sg],encapsulation:2,changeDetection:0});class Ed{constructor(){this.endOpacity=1,this.cx=0,this.cy=0}get stops(){return this.stopsInput||this.stopsDefault}set stops(r){this.stopsInput=r}ngOnChanges(r){this.r="30%",("color"in r||"startOpacity"in r||"endOpacity"in r)&&(this.stopsDefault=[{offset:0,color:this.color,opacity:this.startOpacity},{offset:100,color:this.color,opacity:this.endOpacity}])}}Ed.\u0275fac=function(r){return new(r||Ed)},Ed.\u0275cmp=e.Xpm({type:Ed,selectors:[["g","ngx-charts-svg-radial-gradient",""]],inputs:{color:"color",name:"name",startOpacity:"startOpacity",endOpacity:"endOpacity",cx:"cx",cy:"cy",stops:"stops"},features:[e.TTD],attrs:["ngx-charts-svg-radial-gradient",""],decls:2,vars:5,consts:[["gradientUnits","userSpaceOnUse",3,"id"],[3,"stop-color","stop-opacity",4,"ngFor","ngForOf"]],template:function(r,n){1&r&&(e.O4$(),e.TgZ(0,"radialGradient",0),e.YNc(1,jh,1,5,"stop",1),e.qZA()),2&r&&(e.Q6J("id",n.name),e.uIk("cx",n.cx)("cy",n.cy)("r",n.r),e.xp6(1),e.Q6J("ngForOf",n.stops))},dependencies:[t.sg],encapsulation:2,changeDetection:0});class m1{constructor(r){this.opacity=1,this.startOpacity=.5,this.endOpacity=1,this.gradient=!1,this.animations=!0,this.select=new e.vpe,this.animationsLoaded=!1,this.hasGradient=!1,this.barOrientation=ka,this.element=r.nativeElement}ngOnChanges(){this.update(),this.animationsLoaded||(this.loadAnimation(),this.animationsLoaded=!0)}update(){this.gradientId="grad"+qo().toString(),this.gradientFill=`url(#${this.gradientId})`,this.gradient||this.stops?(this.gradientStops=this.getGradient(),this.hasGradient=!0):this.hasGradient=!1,this.updatePathEl()}loadAnimation(){this.areaPath=this.startingPath,setTimeout(this.updatePathEl.bind(this),100)}updatePathEl(){const r=Rt(this.element).select(".area");this.animations?r.transition().duration(750).attr("d",this.path):r.attr("d",this.path)}getGradient(){return this.stops?this.stops:[{offset:0,color:this.fill,opacity:this.startOpacity},{offset:100,color:this.fill,opacity:this.endOpacity}]}}function kp(u,r,n,b){return n*(1-Math.pow(2,-10*u/b))*1024/1023+r}function d3(u,r,n,b,B){const j=Number(u),ue=Number(r),Se=j>ue,mt=Math.max(0,n),xt=Math.pow(10,mt),At=1e3*Number(b);let qt;function Ft(Ci){let Pi;const Xi=Ci-qt;Pi=Se?j-kp(Xi,0,j-ue,At):kp(Xi,j,ue-j,At),Pi=Se?Pi<ue?ue:Pi:Pi>ue?ue:Pi,Pi=Math.round(Pi*xt)/xt;const vi=Xi<At;if(B({value:Pi,progress:Xi,timestamp:Ci,finished:!vi}),vi)return requestAnimationFrame(Ji=>Ft(Ji))}return requestAnimationFrame(Ci=>(qt=Ci,Ft(Ci)))}function j0(u){const r=Number(u);return r%1!=0&&Math.abs(r)<=10?2:0}m1.\u0275fac=function(r){return new(r||m1)(e.Y36(e.SBq))},m1.\u0275cmp=e.Xpm({type:m1,selectors:[["g","ngx-charts-area",""]],inputs:{data:"data",path:"path",startingPath:"startingPath",fill:"fill",opacity:"opacity",startOpacity:"startOpacity",endOpacity:"endOpacity",gradient:"gradient",stops:"stops",animations:"animations"},outputs:{select:"select"},features:[e.TTD],attrs:["ngx-charts-area",""],decls:2,vars:5,consts:[[4,"ngIf"],[1,"area"],["ngx-charts-svg-linear-gradient","",3,"orientation","name","stops"]],template:function(r,n){1&r&&(e.YNc(0,Xm,2,3,"defs",0),e.O4$(),e._UZ(1,"path",1)),2&r&&(e.Q6J("ngIf",n.gradient),e.xp6(1),e.Udp("opacity",n.opacity),e.uIk("d",n.areaPath)("fill",n.gradient?n.gradientFill:n.fill))},dependencies:[cc,t.O5],encapsulation:2,changeDetection:0});class Pl{constructor(r,n){this.cd=r,this.countDuration=1,this.countPrefix="",this.countSuffix="",this.countChange=new e.vpe,this.countFinish=new e.vpe,this.value="",this._countDecimals=0,this._countTo=0,this._countFrom=0,this.nativeElement=n.nativeElement}set countDecimals(r){this._countDecimals=r}get countDecimals(){return this._countDecimals?this._countDecimals:j0(this.countTo)}set countTo(r){this._countTo=parseFloat(r),this.start()}get countTo(){return this._countTo}set countFrom(r){this._countFrom=parseFloat(r),this.start()}get countFrom(){return this._countFrom}ngOnDestroy(){cancelAnimationFrame(this.animationReq)}start(){cancelAnimationFrame(this.animationReq);const r=this.valueFormatting||(b=>`${this.countPrefix}${b.toLocaleString()}${this.countSuffix}`);this.animationReq=d3(this.countFrom,this.countTo,this.countDecimals,this.countDuration,({value:b,progress:B,finished:j})=>{this.value=r(b),this.cd.markForCheck(),j||this.countChange.emit({value:this.value,progress:B}),j&&this.countFinish.emit({value:this.value,progress:B})})}}let Q0;Pl.\u0275fac=function(r){return new(r||Pl)(e.Y36(e.sBO),e.Y36(e.SBq))},Pl.\u0275cmp=e.Xpm({type:Pl,selectors:[["","ngx-charts-count-up",""]],inputs:{countDuration:"countDuration",countPrefix:"countPrefix",countSuffix:"countSuffix",valueFormatting:"valueFormatting",countDecimals:"countDecimals",countTo:"countTo",countFrom:"countFrom"},outputs:{countChange:"countChange",countFinish:"countFinish"},attrs:["ngx-charts-count-up",""],decls:1,vars:1,template:function(r,n){1&r&&e._uU(0),2&r&&e.hij(" ",n.value," ")},encapsulation:2}),typeof window<"u"?Q0=window:typeof global<"u"&&(Q0=global);const q0=Q0.MouseEvent;function X0(u,r=!1,n=!0){if("function"==typeof q0)return new q0(u,{bubbles:r,cancelable:n});{const b=document.createEvent("MouseEvent");return b.initEvent(u,r,n),b}}class tl{constructor(r){this.platformId=r,this.anchorOpacity=0,this.anchorPos=-1,this.anchorValues=[],this.placementTypes=Rn,this.styleTypes=Qo,this.showPercentage=!1,this.tooltipDisabled=!1,this.hover=new e.vpe}getValues(r){const n=[];for(const b of this.results){const B=b.series.find(ue=>ue.name.toString()===r.toString());let j=b.name;if(j instanceof Date&&(j=j.toLocaleDateString()),B){const ue=B.name;let mt,Se=B.value;if(this.showPercentage&&(Se=(B.d1-B.d0).toFixed(2)+"%"),this.colors.scaleType===Di.Linear){let At=Se;B.d1&&(At=B.d1),mt=this.colors.getColor(At)}else mt=this.colors.getColor(b.name);const xt=Object.assign({},B,{value:Se,name:ue,series:j,min:B.min,max:B.max,color:mt});n.push(xt)}}return n}mouseMove(r){if(!(0,t.NF)(this.platformId))return;const n=r.pageX-r.target.getBoundingClientRect().left,b=this.findClosestPointIndex(n),B=this.xSet[b];if(this.anchorPos=this.xScale(B),this.anchorPos=Math.max(0,this.anchorPos),this.anchorPos=Math.min(this.dims.width,this.anchorPos),this.anchorValues=this.getValues(B),this.anchorPos!==this.lastAnchorPos){const j=X0("mouseleave");this.tooltipAnchor.nativeElement.dispatchEvent(j),this.anchorOpacity=.7,this.hover.emit({value:B}),this.showTooltip(),this.lastAnchorPos=this.anchorPos}}findClosestPointIndex(r){let n=0,b=this.xSet.length-1,B=Number.MAX_VALUE,j=0;for(;n<=b;){const ue=(n+b)/2|0,Se=this.xScale(this.xSet[ue]),mt=Math.abs(Se-r);if(mt<B&&(B=mt,j=ue),Se<r)n=ue+1;else{if(!(Se>r)){B=0,j=ue;break}b=ue-1}}return j}showTooltip(){const r=X0("mouseenter");this.tooltipAnchor.nativeElement.dispatchEvent(r)}hideTooltip(){const r=X0("mouseleave");this.tooltipAnchor.nativeElement.dispatchEvent(r),this.anchorOpacity=0,this.lastAnchorPos=-1}getToolTipText(r){let n="";return void 0!==r.series?n+=r.series:n+="???",n+=": ",void 0!==r.value&&(n+=r.value.toLocaleString()),(void 0!==r.min||void 0!==r.max)&&(n+=" (",void 0!==r.min?(void 0===r.max&&(n+="\u2265"),n+=r.min.toLocaleString(),void 0!==r.max&&(n+=" - ")):void 0!==r.max&&(n+="\u2264"),void 0!==r.max&&(n+=r.max.toLocaleString()),n+=")"),n}}tl.\u0275fac=function(r){return new(r||tl)(e.Y36(e.Lbi))},tl.\u0275cmp=e.Xpm({type:tl,selectors:[["g","ngx-charts-tooltip-area",""]],viewQuery:function(r,n){if(1&r&&e.Gf($m,5),2&r){let b;e.iGM(b=e.CRH())&&(n.tooltipAnchor=b.first)}},inputs:{dims:"dims",xSet:"xSet",xScale:"xScale",yScale:"yScale",results:"results",colors:"colors",showPercentage:"showPercentage",tooltipDisabled:"tooltipDisabled",tooltipTemplate:"tooltipTemplate"},outputs:{hover:"hover"},attrs:["ngx-charts-tooltip-area",""],decls:6,vars:18,consts:[["y","0",1,"tooltip-area",2,"opacity","0","cursor","auto",3,"mousemove","mouseleave"],["defaultTooltipTemplate",""],["y","0","ngx-tooltip","",1,"tooltip-anchor",3,"tooltipDisabled","tooltipPlacement","tooltipType","tooltipSpacing","tooltipTemplate","tooltipContext","tooltipImmediateExit"],["tooltipAnchor",""],[1,"area-tooltip-container"],["class","tooltip-item",4,"ngFor","ngForOf"],[1,"tooltip-item"],[1,"tooltip-item-color"]],template:function(r,n){if(1&r&&(e.O4$(),e.TgZ(0,"g")(1,"rect",0),e.NdJ("mousemove",function(B){return n.mouseMove(B)})("mouseleave",function(){return n.hideTooltip()}),e.qZA(),e.YNc(2,ep,2,1,"ng-template",null,1,e.W1O),e._UZ(4,"rect",2,3),e.qZA()),2&r){const b=e.MAs(3);e.xp6(1),e.uIk("x",0)("width",n.dims.width)("height",n.dims.height),e.xp6(3),e.Udp("opacity",n.anchorOpacity)("pointer-events","none"),e.Q6J("@animationState",0!==n.anchorOpacity?"active":"inactive")("tooltipDisabled",n.tooltipDisabled)("tooltipPlacement",n.placementTypes.Right)("tooltipType",n.styleTypes.tooltip)("tooltipSpacing",15)("tooltipTemplate",n.tooltipTemplate?n.tooltipTemplate:b)("tooltipContext",n.anchorValues)("tooltipImmediateExit",!0),e.uIk("x",n.anchorPos)("width",1)("height",n.dims.height)}},dependencies:[t.sg,hs],encapsulation:2,data:{animation:[(0,d.X$)("animationState",[(0,d.eR)("inactive => active",[(0,d.oB)({opacity:0}),(0,d.jt)(250,(0,d.oB)({opacity:.7}))]),(0,d.eR)("active => inactive",[(0,d.oB)({opacity:.7}),(0,d.jt)(250,(0,d.oB)({opacity:0}))])])]},changeDetection:0});class Ic{constructor(r,n){this.cd=n,this.height=50,this.select=new e.vpe,this.onDomainChange=new e.vpe,this.initialized=!1,this.element=r.nativeElement}ngOnChanges(r){this.update(),this.initialized||(this.addBrush(),this.initialized=!0)}update(){this.dims=this.getDims(),this.height=this.dims.height;const r=this.view[1]-this.height;this.xDomain=this.getXDomain(),this.xScale=this.getXScale(),this.brush&&this.updateBrush(),this.transform=`translate(0 , ${r})`,this.filterId="filter"+qo().toString(),this.filter=`url(#${this.filterId})`,this.cd.markForCheck()}getXDomain(){let r=[];for(const b of this.results)for(const B of b.series)r.includes(B.name)||r.push(B.name);let n=[];if(this.scaleType===Di.Time){n=[Math.min(...r),Math.max(...r)]}else if(this.scaleType===Di.Linear){r=r.map(j=>Number(j));n=[Math.min(...r),Math.max(...r)]}else n=r;return n}getXScale(){let r;return this.scaleType===Di.Time?r=jc().range([0,this.dims.width]).domain(this.xDomain):this.scaleType===Di.Linear?r=Ha().range([0,this.dims.width]).domain(this.xDomain):this.scaleType===Di.Ordinal&&(r=qa().range([0,this.dims.width]).padding(.1).domain(this.xDomain)),r}addBrush(){if(this.brush)return;const r=this.height,n=this.view[0];this.brush=function lt(){return yi(Bs)}().extent([[0,0],[n,r]]).on("brush end",({selection:b})=>{const j=(b||this.xScale.range()).map(this.xScale.invert);this.onDomainChange.emit(j),this.cd.markForCheck()}),Rt(this.element).select(".brush").call(this.brush)}updateBrush(){if(!this.brush)return;const r=this.height,n=this.view[0];this.brush.extent([[0,0],[n,r]]),Rt(this.element).select(".brush").call(this.brush),Rt(this.element).select(".selection").attr("fill",void 0).attr("stroke",void 0).attr("fill-opacity",void 0),this.cd.markForCheck()}getDims(){return{width:this.view[0],height:this.height}}}Ic.\u0275fac=function(r){return new(r||Ic)(e.Y36(e.SBq),e.Y36(e.sBO))},Ic.\u0275cmp=e.Xpm({type:Ic,selectors:[["g","ngx-charts-timeline",""]],inputs:{view:"view",results:"results",scheme:"scheme",customColors:"customColors",legend:"legend",autoScale:"autoScale",scaleType:"scaleType",height:"height"},outputs:{select:"select",onDomainChange:"onDomainChange"},features:[e.TTD],attrs:["ngx-charts-timeline",""],ngContentSelectors:Fo,decls:7,vars:4,consts:[[1,"timeline"],["in","SourceGraphic","type","matrix","values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"],[1,"embedded-chart"],["x","0","y","0",1,"brush-background"],[1,"brush"]],template:function(r,n){1&r&&(e.F$t(),e.O4$(),e.TgZ(0,"g",0)(1,"filter"),e._UZ(2,"feColorMatrix",1),e.qZA(),e.TgZ(3,"g",2),e.Hsn(4),e.qZA(),e._UZ(5,"rect",3)(6,"g",4),e.qZA()),2&r&&(e.uIk("transform",n.transform),e.xp6(1),e.uIk("id",n.filterId),e.xp6(4),e.uIk("width",n.view[0])("height",n.height))},styles:[".timeline .brush-background{fill:#0000000d}.timeline .brush .selection{fill:#0000001a;stroke-width:1px;stroke:#888}.timeline .brush .handle{fill-opacity:0}.timeline .embedded-chart{opacity:.6}\n"],encapsulation:2,changeDetection:0});class p1{constructor(){this.label="Total",this.animations=!0,this.select=new e.vpe,this.activate=new e.vpe,this.deactivate=new e.vpe,this.legendItems=[],this.labelFormatting=r=>r,this.percentageFormatting=r=>r,this.defaultValueFormatting=r=>r.toLocaleString()}ngOnChanges(r){this.update()}getTotal(){return this.data.map(r=>Number(r.value)).reduce((r,n)=>r+n,0)}update(){this.total=this.getTotal(),this.roundedTotal=this.total,this.legendItems=this.getLegendItems()}getLegendItems(){return this.data.map(r=>{const n=Kr(r.name),b=r.value,B=this.colors.getColor(n),j=this.total>0?b/this.total*100:0,ue="function"==typeof this.labelFormatting?this.labelFormatting(n):n;return{_value:b,data:r,value:b,color:B,label:ue,displayLabel:Ac(ue,20),origialLabel:r.name,percentage:this.percentageFormatting?this.percentageFormatting(j):j.toLocaleString()}})}trackBy(r,n){return n.label}}p1.\u0275fac=function(r){return new(r||p1)},p1.\u0275cmp=e.Xpm({type:p1,selectors:[["ngx-charts-advanced-legend"]],inputs:{width:"width",data:"data",colors:"colors",label:"label",animations:"animations",valueFormatting:"valueFormatting",labelFormatting:"labelFormatting",percentageFormatting:"percentageFormatting"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[e.TTD],decls:8,vars:7,consts:[[1,"advanced-pie-legend"],["class","total-value","ngx-charts-count-up","",3,"countTo","valueFormatting",4,"ngIf"],["class","total-value",4,"ngIf"],[1,"total-label"],[1,"legend-items-container"],[1,"legend-items"],["tabindex","-1","class","legend-item",3,"mouseenter","mouseleave","click",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-count-up","",1,"total-value",3,"countTo","valueFormatting"],[1,"total-value"],["tabindex","-1",1,"legend-item",3,"mouseenter","mouseleave","click"],[1,"item-color"],["class","item-value","ngx-charts-count-up","",3,"countTo","valueFormatting",4,"ngIf"],["class","item-value",4,"ngIf"],[1,"item-label"],["class","item-percent","ngx-charts-count-up","",3,"countTo","countSuffix",4,"ngIf"],["class","item-percent",4,"ngIf"],["ngx-charts-count-up","",1,"item-value",3,"countTo","valueFormatting"],[1,"item-value"],["ngx-charts-count-up","",1,"item-percent",3,"countTo","countSuffix"],[1,"item-percent"]],template:function(r,n){1&r&&(e.TgZ(0,"div",0),e.YNc(1,df,1,2,"div",1),e.YNc(2,hf,2,1,"div",2),e.TgZ(3,"div",3),e._uU(4),e.qZA(),e.TgZ(5,"div",4)(6,"div",5),e.YNc(7,U3,8,7,"div",6),e.qZA()()()),2&r&&(e.Udp("width",n.width,"px"),e.xp6(1),e.Q6J("ngIf",n.animations),e.xp6(1),e.Q6J("ngIf",!n.animations),e.xp6(2),e.hij(" ",n.label," "),e.xp6(3),e.Q6J("ngForOf",n.legendItems)("ngForTrackBy",n.trackBy))},dependencies:[Pl,t.O5,t.sg],styles:[".advanced-pie-legend{float:left;position:relative;top:50%;transform:translateY(-50%)}.advanced-pie-legend .total-value{font-size:36px}.advanced-pie-legend .total-label{font-size:24px;margin-bottom:19px}.advanced-pie-legend .legend-items-container{width:100%}.advanced-pie-legend .legend-items-container .legend-items{white-space:nowrap;overflow:auto}.advanced-pie-legend .legend-items-container .legend-items .legend-item{margin-right:20px;display:inline-block;cursor:pointer}.advanced-pie-legend .legend-items-container .legend-items .legend-item:focus{outline:none}.advanced-pie-legend .legend-items-container .legend-items .legend-item:hover{color:#000;transition:.2s}.advanced-pie-legend .legend-items-container .legend-items .legend-item .item-value{font-size:24px;margin-top:-6px;margin-left:11px}.advanced-pie-legend .legend-items-container .legend-items .legend-item .item-label{font-size:14px;opacity:.7;margin-left:11px;margin-top:-6px}.advanced-pie-legend .legend-items-container .legend-items .legend-item .item-percent{font-size:24px;opacity:.7;margin-left:11px}.advanced-pie-legend .legend-items-container .legend-items .legend-item .item-color{border-left:4px solid;width:4px;height:42px;float:left;margin-right:7px}\n"],encapsulation:2,changeDetection:0});class To{}function _r({width:u,height:r,margins:n,showXAxis:b=!1,showYAxis:B=!1,xAxisHeight:j=0,yAxisWidth:ue=0,showXLabel:Se=!1,showYLabel:mt=!1,showLegend:xt=!1,legendType:At=Di.Ordinal,legendPosition:qt=fr.Right,columns:Ft=12}){let Ci=n[3],Pi=u,Xi=r-n[0]-n[2];return xt&&qt===fr.Right&&(At===Di.Ordinal?Ft-=2:Ft-=1),Pi=Pi*Ft/12,Pi=Pi-n[1]-n[3],b&&(Xi-=5,Xi-=j,Se&&(Xi-=30)),B&&(Pi-=5,Pi-=ue,Ci+=ue,Ci+=10,mt&&(Pi-=30,Ci+=30)),Pi=Math.max(0,Pi),Xi=Math.max(0,Xi),{width:Math.floor(Pi),height:Math.floor(Xi),xOffset:Math.floor(Ci)}}To.\u0275fac=function(r){return new(r||To)},To.\u0275mod=e.oAB({type:To}),To.\u0275inj=e.cJS({imports:[[t.ez,xd,d1],t.ez,xd,d1]});let Md=[{name:"vivid",selectable:!0,group:Di.Ordinal,domain:["#647c8a","#3f51b5","#2196f3","#00b862","#afdf0a","#a7b61a","#f3e562","#ff9800","#ff5722","#ff4514"]},{name:"natural",selectable:!0,group:Di.Ordinal,domain:["#bf9d76","#e99450","#d89f59","#f2dfa7","#a5d7c6","#7794b1","#afafaf","#707160","#ba9383","#d9d5c3"]},{name:"cool",selectable:!0,group:Di.Ordinal,domain:["#a8385d","#7aa3e5","#a27ea8","#aae3f5","#adcded","#a95963","#8796c0","#7ed3ed","#50abcc","#ad6886"]},{name:"fire",selectable:!0,group:Di.Ordinal,domain:["#ff3d00","#bf360c","#ff8f00","#ff6f00","#ff5722","#e65100","#ffca28","#ffab00"]},{name:"solar",selectable:!0,group:Di.Linear,domain:["#fff8e1","#ffecb3","#ffe082","#ffd54f","#ffca28","#ffc107","#ffb300","#ffa000","#ff8f00","#ff6f00"]},{name:"air",selectable:!0,group:Di.Linear,domain:["#e1f5fe","#b3e5fc","#81d4fa","#4fc3f7","#29b6f6","#03a9f4","#039be5","#0288d1","#0277bd","#01579b"]},{name:"aqua",selectable:!0,group:Di.Linear,domain:["#e0f7fa","#b2ebf2","#80deea","#4dd0e1","#26c6da","#00bcd4","#00acc1","#0097a7","#00838f","#006064"]},{name:"flame",selectable:!1,group:Di.Ordinal,domain:["#A10A28","#D3342D","#EF6D49","#FAAD67","#FDDE90","#DBED91","#A9D770","#6CBA67","#2C9653","#146738"]},{name:"ocean",selectable:!1,group:Di.Ordinal,domain:["#1D68FB","#33C0FC","#4AFFFE","#AFFFFF","#FFFC63","#FDBD2D","#FC8A25","#FA4F1E","#FA141B","#BA38D1"]},{name:"forest",selectable:!1,group:Di.Ordinal,domain:["#55C22D","#C1F33D","#3CC099","#AFFFFF","#8CFC9D","#76CFFA","#BA60FB","#EE6490","#C42A1C","#FC9F32"]},{name:"horizon",selectable:!1,group:Di.Ordinal,domain:["#2597FB","#65EBFD","#99FDD0","#FCEE4B","#FEFCFA","#FDD6E3","#FCB1A8","#EF6F7B","#CB96E8","#EFDEE0"]},{name:"neons",selectable:!1,group:Di.Ordinal,domain:["#FF3333","#FF33FF","#CC33FF","#0000FF","#33CCFF","#33FFFF","#33FF66","#CCFF33","#FFCC00","#FF6600"]},{name:"picnic",selectable:!1,group:Di.Ordinal,domain:["#FAC51D","#66BD6D","#FAA026","#29BB9C","#E96B56","#55ACD2","#B7332F","#2C83C9","#9166B8","#92E7E8"]},{name:"night",selectable:!1,group:Di.Ordinal,domain:["#2B1B5A","#501356","#183356","#28203F","#391B3C","#1E2B3C","#120634","#2D0432","#051932","#453080","#75267D","#2C507D","#4B3880","#752F7D","#35547D"]},{name:"nightLights",selectable:!1,group:Di.Ordinal,domain:["#4e31a5","#9c25a7","#3065ab","#57468b","#904497","#46648b","#32118d","#a00fb3","#1052a2","#6e51bd","#b63cc3","#6c97cb","#8671c1","#b455be","#7496c3"]}];class Rr{constructor(r,n,b,B){"string"==typeof r&&(r=Md.find(j=>j.name===r)),this.colorDomain=r.domain,this.scaleType=n,this.domain=b,this.customColors=B,this.scale=this.generateColorScheme(r,n,this.domain)}generateColorScheme(r,n,b){let B;switch("string"==typeof r&&(r=Md.find(j=>j.name===r)),n){case Di.Quantile:B=Bh().range(r.domain).domain(b);break;case Di.Ordinal:B=Zd().range(r.domain).domain(b);break;case Di.Linear:{const j=[...r.domain];1===j.length&&(j.push(j[0]),this.colorDomain=j);const ue=Sh(0,1,1/j.length);B=Ha().range(j).domain(ue)}}return B}getColor(r){if(null==r)throw new Error("Value can not be null");if(this.scaleType===Di.Linear){const n=Ha().domain(this.domain).range([0,1]);return this.scale(n(r))}{if("function"==typeof this.customColors)return this.customColors(r);const n=r.toString();let b;return this.customColors&&this.customColors.length>0&&(b=this.customColors.find(B=>B.name.toLowerCase()===n.toLowerCase())),b?b.value:this.scale(r)}}getLinearGradientStops(r,n){void 0===n&&(n=this.domain[0]);const b=Ha().domain(this.domain).range([0,1]),B=Jr().domain(this.colorDomain).range([0,1]),j=this.getColor(r),ue=b(n),Se=this.getColor(n),mt=b(r);let xt=1,At=ue;const qt=[];for(qt.push({color:Se,offset:ue,originalOffset:ue,opacity:1});At<mt&&xt<this.colorDomain.length;){const Ft=this.colorDomain[xt],Ci=B(Ft);if(Ci<=ue)xt++;else{if(Ci.toFixed(4)>=(mt-B.bandwidth()).toFixed(4))break;qt.push({color:Ft,offset:Ci,opacity:1}),At=Ci,xt++}}if(qt[qt.length-1].offset<100&&qt.push({color:j,offset:mt,opacity:1}),mt===ue)qt[0].offset=0,qt[1].offset=100;else if(100!==qt[qt.length-1].offset)for(const Ft of qt)Ft.offset=(Ft.offset-ue)/(mt-ue)*100;return qt}}function nu(u){const r=new Set;for(const n of u)for(const b of n.series)r.add(b.name);return Array.from(r)}function Is(u,r=!0){return r&&u.every(B=>B instanceof Date)?Di.Time:u.every(b=>"number"==typeof b)?Di.Linear:Di.Ordinal}function O2(u,r,n="asc"){return u.sort((b,B)=>"asc"===n?b[r]-B[r]:B[r]-b[r])}function u3(u,r,n="asc",b){return u.sort((B,j)=>{const ue=B[r],Se=j[r],mt=b.indexOf(ue),xt=b.indexOf(Se);return"asc"===n?mt-xt:xt-mt})}function au(u,r,n="asc"){return u.sort((b,B)=>{const j=b[r].getTime(),ue=B[r].getTime();return"asc"===n?j>ue?1:ue>j?-1:0:j>ue?-1:ue>j?1:0})}class Rl{constructor(){this.baseValue="auto",this.stacked=!1,this.normalized=!1,this.animations=!0,this.select=new e.vpe}ngOnChanges(r){this.update()}update(){let r,n;this.updateGradient();const b=j=>{const ue=j.name;return this.xScale(ue)};this.stacked||this.normalized?(r=Xc().x(b).y0((j,ue)=>this.yScale(j.d0)).y1((j,ue)=>this.yScale(j.d1)),n=Xc().x(b).y0(j=>this.yScale.range()[0]).y1(j=>this.yScale.range()[0])):(r=Xc().x(b).y0(()=>"auto"===this.baseValue?this.yScale.range()[0]:this.yScale(this.baseValue)).y1(j=>this.yScale(j.value)),n=Xc().x(b).y0(j=>"auto"===this.baseValue?this.yScale.range()[0]:this.yScale(this.baseValue)).y1(j=>"auto"===this.baseValue?this.yScale.range()[0]:this.yScale(this.baseValue))),r.curve(this.curve),n.curve(this.curve),this.opacity=.8;let B=this.data.series;B=this.scaleType===Di.Linear?O2(B,"name"):this.scaleType===Di.Time?au(B,"name"):u3(B,"name","asc",this.xScale.domain()),this.path=r(B),this.startingPath=n(B)}updateGradient(){if(this.colors.scaleType===Di.Linear)if(this.hasGradient=!0,this.stacked||this.normalized){const r=this.data.series.map(j=>j.d0),n=this.data.series.map(j=>j.d1),b=Math.max(...n),B=Math.min(...r);this.gradientStops=this.colors.getLinearGradientStops(b,B)}else{const r=this.data.series.map(b=>b.value),n=Math.max(...r);this.gradientStops=this.colors.getLinearGradientStops(n)}else this.hasGradient=!1,this.gradientStops=void 0}isActive(r){return!!this.activeEntries&&void 0!==this.activeEntries.find(b=>r.name===b.name)}isInactive(r){return!(!this.activeEntries||0===this.activeEntries.length)&&void 0===this.activeEntries.find(b=>r.name===b.name)}}Rl.\u0275fac=function(r){return new(r||Rl)},Rl.\u0275cmp=e.Xpm({type:Rl,selectors:[["g","ngx-charts-area-series",""]],inputs:{data:"data",xScale:"xScale",yScale:"yScale",baseValue:"baseValue",colors:"colors",scaleType:"scaleType",stacked:"stacked",normalized:"normalized",gradient:"gradient",curve:"curve",activeEntries:"activeEntries",animations:"animations"},outputs:{select:"select"},features:[e.TTD],attrs:["ngx-charts-area-series",""],decls:1,vars:12,consts:[["ngx-charts-area","",1,"area-series",3,"data","path","fill","stops","startingPath","opacity","gradient","animations"]],template:function(r,n){1&r&&(e.O4$(),e._UZ(0,"g",0)),2&r&&(e.ekj("active",n.isActive(n.data))("inactive",n.isInactive(n.data)),e.Q6J("data",n.data)("path",n.path)("fill",n.colors.getColor(n.data.name))("stops",n.gradientStops)("startingPath",n.startingPath)("opacity",n.opacity)("gradient",n.gradient||n.hasGradient)("animations",n.animations))},dependencies:[m1],encapsulation:2,changeDetection:0});class J0 extends Ka{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=fr.Right,this.xAxis=!1,this.yAxis=!1,this.baseValue="auto",this.autoScale=!1,this.timeline=!1,this.showGridLines=!0,this.curve=Ml,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.roundDomains=!1,this.tooltipDisabled=!1,this.activate=new e.vpe,this.deactivate=new e.vpe,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.timelineHeight=50,this.timelinePadding=10,this.trackBy=(r,n)=>n.name}update(){super.update(),this.dims=_r({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.timeline&&(this.dims.height-=this.timelineHeight+this.margin[2]+this.timelinePadding),this.xDomain=this.getXDomain(),this.filteredDomain&&(this.xDomain=this.filteredDomain),this.yDomain=this.getYDomain(),this.seriesDomain=this.getSeriesDomain(),this.xScale=this.getXScale(this.xDomain,this.dims.width),this.yScale=this.getYScale(this.yDomain,this.dims.height),this.updateTimeline(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset}, ${this.margin[0]})`,this.clipPathId="clip"+qo().toString(),this.clipPath=`url(#${this.clipPathId})`}updateTimeline(){this.timeline&&(this.timelineWidth=this.dims.width,this.timelineXDomain=this.getXDomain(),this.timelineXScale=this.getXScale(this.timelineXDomain,this.timelineWidth),this.timelineYScale=this.getYScale(this.yDomain,this.timelineHeight),this.timelineTransform=`translate(${this.dims.xOffset}, ${-this.margin[2]})`)}getXDomain(){let r=nu(this.results);this.scaleType=Is(r);let b,B,n=[];return this.scaleType===Di.Linear&&(r=r.map(j=>Number(j))),(this.scaleType===Di.Time||this.scaleType===Di.Linear)&&(b=this.xScaleMin?this.xScaleMin:Math.min(...r),B=this.xScaleMax?this.xScaleMax:Math.max(...r)),this.scaleType===Di.Time?(n=[new Date(b),new Date(B)],this.xSet=[...r].sort((j,ue)=>{const Se=j.getTime(),mt=ue.getTime();return Se>mt?1:mt>Se?-1:0})):this.scaleType===Di.Linear?(n=[b,B],this.xSet=[...r].sort((j,ue)=>j-ue)):(n=r,this.xSet=r),n}getYDomain(){const r=[];for(const j of this.results)for(const ue of j.series)r.includes(ue.value)||r.push(ue.value);const n=[...r];this.autoScale||n.push(0),"auto"!==this.baseValue&&n.push(this.baseValue);return[this.yScaleMin?this.yScaleMin:Math.min(...n),this.yScaleMax?this.yScaleMax:Math.max(...n)]}getSeriesDomain(){return this.results.map(r=>r.name)}getXScale(r,n){let b;return this.scaleType===Di.Time?b=jc():this.scaleType===Di.Linear?b=Ha():this.scaleType===Di.Ordinal&&(b=qa().padding(.1)),b.range([0,n]).domain(r),this.roundDomains?b.nice():b}getYScale(r,n){const b=Ha().range([n,0]).domain(r);return this.roundDomains?b.nice():b}getScaleType(r){let n=!0,b=!0;for(const B of r)c1(B)&&(n=!1),O4(B)&&(b=!1);return n?Di.Time:b?Di.Linear:Di.Ordinal}updateDomain(r){this.filteredDomain=r,this.xDomain=this.filteredDomain,this.xScale=this.getXScale(this.xDomain,this.dims.width)}updateHoveredVertical(r){this.hoveredVertical=r.value,this.deactivateAll()}hideCircles(){this.hoveredVertical=null,this.deactivateAll()}onClick(r,n){n&&(r.series=n.name),this.select.emit(r)}setColors(){let r;r=this.schemeType===Di.Ordinal?this.seriesDomain:this.yDomain,this.colors=new Rr(this.scheme,this.schemeType,r,this.customColors)}getLegendOptions(){const r={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return r.scaleType===Di.Ordinal?(r.domain=this.seriesDomain,r.colors=this.colors,r.title=this.legendTitle):(r.domain=this.yDomain,r.colors=this.colors.scale),r}updateYAxisWidth({width:r}){this.yAxisWidth=r,this.update()}updateXAxisHeight({height:r}){this.xAxisHeight=r,this.update()}onActivate(r){this.activeEntries.findIndex(b=>b.name===r.name&&b.value===r.value)>-1||(this.activeEntries=[r,...this.activeEntries],this.activate.emit({value:r,entries:this.activeEntries}))}onDeactivate(r){const n=this.activeEntries.findIndex(b=>b.name===r.name&&b.value===r.value);this.activeEntries.splice(n,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:r,entries:this.activeEntries})}deactivateAll(){this.activeEntries=[...this.activeEntries];for(const r of this.activeEntries)this.deactivate.emit({value:r,entries:[]});this.activeEntries=[]}}J0.\u0275fac=function(){let u;return function(n){return(u||(u=e.n5z(J0)))(n||J0)}}(),J0.\u0275cmp=e.Xpm({type:J0,selectors:[["ngx-charts-area-chart"]],contentQueries:function(r,n,b){if(1&r&&(e.Suo(b,Pr,5),e.Suo(b,b2,5)),2&r){let B;e.iGM(B=e.CRH())&&(n.tooltipTemplate=B.first),e.iGM(B=e.CRH())&&(n.seriesTooltipTemplate=B.first)}},hostBindings:function(r,n){1&r&&e.NdJ("mouseleave",function(){return n.hideCircles()})},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",baseValue:"baseValue",autoScale:"autoScale",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",timeline:"timeline",gradient:"gradient",showGridLines:"showGridLines",curve:"curve",activeEntries:"activeEntries",schemeType:"schemeType",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",roundDomains:"roundDomains",tooltipDisabled:"tooltipDisabled",xScaleMin:"xScaleMin",xScaleMax:"xScaleMax",yScaleMin:"yScaleMin",yScaleMax:"yScaleMax"},outputs:{activate:"activate",deactivate:"deactivate"},features:[e.qOj],decls:11,vars:20,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelClick","legendLabelActivate","legendLabelDeactivate"],[1,"area-chart","chart"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"mouseleave",4,"ngIf"],["ngx-charts-timeline","",3,"results","view","height","scheme","customColors","legend","scaleType","onDomainChange",4,"ngIf"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-area-series","",3,"xScale","yScale","baseValue","colors","data","activeEntries","scaleType","gradient","curve","animations"],[3,"mouseleave"],["ngx-charts-tooltip-area","",3,"dims","xSet","xScale","yScale","results","colors","tooltipDisabled","tooltipTemplate","hover"],[4,"ngFor","ngForOf"],["ngx-charts-circle-series","",3,"xScale","yScale","colors","activeEntries","data","scaleType","visibleValue","tooltipDisabled","tooltipTemplate","select","activate","deactivate"],["ngx-charts-timeline","",3,"results","view","height","scheme","customColors","legend","scaleType","onDomainChange"],["ngx-charts-area-series","",3,"xScale","yScale","baseValue","colors","data","scaleType","gradient","curve","animations"]],template:function(r,n){1&r&&(e.TgZ(0,"ngx-charts-chart",0),e.NdJ("legendLabelClick",function(B){return n.onClick(B)})("legendLabelActivate",function(B){return n.onActivate(B)})("legendLabelDeactivate",function(B){return n.onDeactivate(B)}),e.O4$(),e.TgZ(1,"defs")(2,"clipPath"),e._UZ(3,"rect"),e.qZA()(),e.TgZ(4,"g",1),e.YNc(5,V3,1,10,"g",2),e.YNc(6,mf,1,9,"g",3),e.TgZ(7,"g"),e.YNc(8,W3,2,10,"g",4),e.YNc(9,ff,3,9,"g",5),e.qZA()(),e.YNc(10,G3,2,13,"g",6),e.qZA()),2&r&&(e.Q6J("view",e.WLB(17,Va,n.width,n.height))("showLegend",n.legend)("legendOptions",n.legendOptions)("activeEntries",n.activeEntries)("animations",n.animations),e.xp6(2),e.uIk("id",n.clipPathId),e.xp6(1),e.uIk("width",n.dims.width+10)("height",n.dims.height+10)("transform","translate(-5, -5)"),e.xp6(1),e.uIk("transform",n.transform),e.xp6(1),e.Q6J("ngIf",n.xAxis),e.xp6(1),e.Q6J("ngIf",n.yAxis),e.xp6(1),e.uIk("clip-path",n.clipPath),e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy),e.xp6(1),e.Q6J("ngIf",!n.tooltipDisabled),e.xp6(1),e.Q6J("ngIf",n.timeline&&"ordinal"!=n.scaleType))},dependencies:[Wa,go,no,Rl,tl,kl,Ic,t.O5,t.sg],styles:[".ngx-charts-outer{-webkit-animation:chartFadeIn linear .6s;animation:chartFadeIn linear .6s}@-webkit-keyframes chartFadeIn{0%{opacity:0}20%{opacity:0}to{opacity:1}}@keyframes chartFadeIn{0%{opacity:0}20%{opacity:0}to{opacity:1}}.ngx-charts{float:left;overflow:visible}.ngx-charts .circle,.ngx-charts .cell,.ngx-charts .bar,.ngx-charts .arc{cursor:pointer}.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover,.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .card.active,.ngx-charts .card:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .bar:focus,.ngx-charts .cell:focus,.ngx-charts .arc:focus,.ngx-charts .card:focus{outline:none}.ngx-charts .bar.hidden,.ngx-charts .cell.hidden,.ngx-charts .arc.hidden,.ngx-charts .card.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .line-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .polar-series-path.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .area-series.inactive{transition:opacity .1s ease-in-out;opacity:.2}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{stroke:#ddd;stroke-width:1;fill:none}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-width:1;stroke-dasharray:5;stroke-dashoffset:5}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill-opacity:.05;fill:#000}.ngx-charts .gridline-path-dotted{stroke:#ddd;stroke-width:1;fill:none;stroke-dasharray:1,20;stroke-dashoffset:3}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:#0000000d}\n"],encapsulation:2,changeDetection:0});class Lc extends Ka{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=fr.Right,this.showXAxisLabel=!1,this.showYAxisLabel=!1,this.showGridLines=!0,this.curve=Ml,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.roundDomains=!1,this.tooltipDisabled=!1,this.activate=new e.vpe,this.deactivate=new e.vpe,this.yDomain=[0,100],this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.seriesType=h1,this.timelineHeight=50,this.timelinePadding=10,this.trackBy=(r,n)=>n.name}update(){super.update(),this.dims=_r({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.timeline&&(this.dims.height-=this.timelineHeight+this.margin[2]+this.timelinePadding),this.xDomain=this.getXDomain(),this.filteredDomain&&(this.xDomain=this.filteredDomain),this.seriesDomain=this.getSeriesDomain(),this.xScale=this.getXScale(this.xDomain,this.dims.width),this.yScale=this.getYScale(this.yDomain,this.dims.height);for(let r=0;r<this.xSet.length;r++){const n=this.xSet[r];let b=0,B=0;for(const j of this.results){const ue=j.series.find(Se=>{let mt=Se.name,xt=n;return this.scaleType===Di.Time&&(mt=mt.valueOf(),xt=xt.valueOf()),mt===xt});ue&&(B+=ue.value)}for(const j of this.results){let ue=j.series.find(Se=>{let mt=Se.name,xt=n;return this.scaleType===Di.Time&&(mt=mt.valueOf(),xt=xt.valueOf()),mt===xt});ue?(ue.d0=b,ue.d1=b+ue.value,b+=ue.value):(ue={name:n,value:0,d0:b,d1:b},j.series.push(ue)),B>0?(ue.d0=100*ue.d0/B,ue.d1=100*ue.d1/B):(ue.d0=0,ue.d1=0)}}this.updateTimeline(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]})`,this.clipPathId="clip"+qo().toString(),this.clipPath=`url(#${this.clipPathId})`}updateTimeline(){this.timeline&&(this.timelineWidth=this.dims.width,this.timelineXDomain=this.getXDomain(),this.timelineXScale=this.getXScale(this.timelineXDomain,this.timelineWidth),this.timelineYScale=this.getYScale(this.yDomain,this.timelineHeight),this.timelineTransform=`translate(${this.dims.xOffset}, ${-this.margin[2]})`)}getXDomain(){let r=nu(this.results);this.scaleType=Is(r);let n=[];if(this.scaleType===Di.Time){const b=Math.min(...r),B=Math.max(...r);n=[new Date(b),new Date(B)],this.xSet=[...r].sort((j,ue)=>{const Se=j.getTime(),mt=ue.getTime();return Se>mt?1:mt>Se?-1:0})}else if(this.scaleType===Di.Linear){r=r.map(j=>Number(j));n=[Math.min(...r),Math.max(...r)],this.xSet=[...r].sort((j,ue)=>j-ue)}else n=r,this.xSet=r;return n}getSeriesDomain(){return this.results.map(r=>r.name)}getXScale(r,n){let b;return this.scaleType===Di.Time?b=jc():this.scaleType===Di.Linear?b=Ha():this.scaleType===Di.Ordinal&&(b=qa().padding(.1)),b.range([0,n]).domain(r),this.roundDomains?b.nice():b}getYScale(r,n){const b=Ha().range([n,0]).domain(r);return this.roundDomains?b.nice():b}updateDomain(r){this.filteredDomain=r,this.xDomain=this.filteredDomain,this.xScale=this.getXScale(this.xDomain,this.dims.width)}updateHoveredVertical(r){this.hoveredVertical=r.value,this.deactivateAll()}hideCircles(){this.hoveredVertical=null,this.deactivateAll()}onClick(r,n){n&&(r.series=n.name),this.select.emit(r)}setColors(){let r;r=this.schemeType===Di.Ordinal?this.seriesDomain:this.yDomain,this.colors=new Rr(this.scheme,this.schemeType,r,this.customColors)}getLegendOptions(){const r={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return r.scaleType===Di.Ordinal?(r.domain=this.seriesDomain,r.colors=this.colors,r.title=this.legendTitle):(r.domain=this.yDomain,r.colors=this.colors.scale),r}updateYAxisWidth({width:r}){this.yAxisWidth=r,this.update()}updateXAxisHeight({height:r}){this.xAxisHeight=r,this.update()}onActivate(r){this.activeEntries.findIndex(b=>b.name===r.name&&b.value===r.value)>-1||(this.activeEntries=[r,...this.activeEntries],this.activate.emit({value:r,entries:this.activeEntries}))}onDeactivate(r){const n=this.activeEntries.findIndex(b=>b.name===r.name&&b.value===r.value);this.activeEntries.splice(n,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:r,entries:this.activeEntries})}deactivateAll(){this.activeEntries=[...this.activeEntries];for(const r of this.activeEntries)this.deactivate.emit({value:r,entries:[]});this.activeEntries=[]}}Lc.\u0275fac=function(){let u;return function(n){return(u||(u=e.n5z(Lc)))(n||Lc)}}(),Lc.\u0275cmp=e.Xpm({type:Lc,selectors:[["ngx-charts-area-chart-normalized"]],contentQueries:function(r,n,b){if(1&r&&(e.Suo(b,Pr,5),e.Suo(b,b2,5)),2&r){let B;e.iGM(B=e.CRH())&&(n.tooltipTemplate=B.first),e.iGM(B=e.CRH())&&(n.seriesTooltipTemplate=B.first)}},hostBindings:function(r,n){1&r&&e.NdJ("mouseleave",function(){return n.hideCircles()})},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",timeline:"timeline",gradient:"gradient",showGridLines:"showGridLines",curve:"curve",activeEntries:"activeEntries",schemeType:"schemeType",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",roundDomains:"roundDomains",tooltipDisabled:"tooltipDisabled"},outputs:{activate:"activate",deactivate:"deactivate"},features:[e.qOj],decls:11,vars:20,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelClick","legendLabelActivate","legendLabelDeactivate"],[1,"area-chart","chart"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"mouseleave",4,"ngIf"],["ngx-charts-timeline","",3,"results","view","height","scheme","customColors","legend","scaleType","onDomainChange",4,"ngIf"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-area-series","",3,"xScale","yScale","colors","data","scaleType","activeEntries","gradient","normalized","curve","animations"],[3,"mouseleave"],["ngx-charts-tooltip-area","",3,"dims","xSet","xScale","yScale","results","colors","showPercentage","tooltipDisabled","tooltipTemplate","hover"],[4,"ngFor","ngForOf"],["ngx-charts-circle-series","",3,"type","xScale","yScale","colors","activeEntries","data","scaleType","visibleValue","tooltipDisabled","tooltipTemplate","select","activate","deactivate"],["ngx-charts-timeline","",3,"results","view","height","scheme","customColors","legend","scaleType","onDomainChange"],["ngx-charts-area-series","",3,"xScale","yScale","colors","data","scaleType","gradient","normalized","curve","animations"]],template:function(r,n){1&r&&(e.TgZ(0,"ngx-charts-chart",0),e.NdJ("legendLabelClick",function(B){return n.onClick(B)})("legendLabelActivate",function(B){return n.onActivate(B)})("legendLabelDeactivate",function(B){return n.onDeactivate(B)}),e.O4$(),e.TgZ(1,"defs")(2,"clipPath"),e._UZ(3,"rect"),e.qZA()(),e.TgZ(4,"g",1),e.YNc(5,tp,1,10,"g",2),e.YNc(6,Y3,1,9,"g",3),e.TgZ(7,"g"),e.YNc(8,Z3,2,10,"g",4),e.YNc(9,el,3,10,"g",5),e.qZA()(),e.YNc(10,_f,2,13,"g",6),e.qZA()),2&r&&(e.Q6J("view",e.WLB(17,Va,n.width,n.height))("showLegend",n.legend)("legendOptions",n.legendOptions)("activeEntries",n.activeEntries)("animations",n.animations),e.xp6(2),e.uIk("id",n.clipPathId),e.xp6(1),e.uIk("width",n.dims.width+10)("height",n.dims.height+10)("transform","translate(-5, -5)"),e.xp6(1),e.uIk("transform",n.transform),e.xp6(1),e.Q6J("ngIf",n.xAxis),e.xp6(1),e.Q6J("ngIf",n.yAxis),e.xp6(1),e.uIk("clip-path",n.clipPath),e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy),e.xp6(1),e.Q6J("ngIf",!n.tooltipDisabled),e.xp6(1),e.Q6J("ngIf",n.timeline&&"ordinal"!=n.scaleType))},dependencies:[Wa,go,no,Rl,tl,kl,Ic,t.O5,t.sg],styles:[to],encapsulation:2,changeDetection:0});class ru extends Ka{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=fr.Right,this.xAxis=!1,this.yAxis=!1,this.timeline=!1,this.showGridLines=!0,this.curve=Ml,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.roundDomains=!1,this.tooltipDisabled=!1,this.activate=new e.vpe,this.deactivate=new e.vpe,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.timelineHeight=50,this.timelinePadding=10,this.seriesType=h1}update(){super.update(),this.dims=_r({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.timeline&&(this.dims.height-=this.timelineHeight+this.margin[2]+this.timelinePadding),this.xDomain=this.getXDomain(),this.filteredDomain&&(this.xDomain=this.filteredDomain),this.yDomain=this.getYDomain(),this.seriesDomain=this.getSeriesDomain(),this.xScale=this.getXScale(this.xDomain,this.dims.width),this.yScale=this.getYScale(this.yDomain,this.dims.height);for(let r=0;r<this.xSet.length;r++){const n=this.xSet[r];let b=0;for(const B of this.results){let j=B.series.find(ue=>{let Se=ue.name,mt=n;return this.scaleType===Di.Time&&(Se=Se.valueOf(),mt=mt.valueOf()),Se===mt});j?(j.d0=b,j.d1=b+j.value,b+=j.value):(j={name:n,value:0,d0:b,d1:b},B.series.push(j))}}this.updateTimeline(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]})`,this.clipPathId="clip"+qo().toString(),this.clipPath=`url(#${this.clipPathId})`}updateTimeline(){this.timeline&&(this.timelineWidth=this.dims.width,this.timelineXDomain=this.getXDomain(),this.timelineXScale=this.getXScale(this.timelineXDomain,this.timelineWidth),this.timelineYScale=this.getYScale(this.yDomain,this.timelineHeight),this.timelineTransform=`translate(${this.dims.xOffset}, ${-this.margin[2]})`)}getXDomain(){let r=nu(this.results);this.scaleType=Is(r);let b,B,n=[];return this.scaleType===Di.Linear&&(r=r.map(j=>Number(j))),(this.scaleType===Di.Time||this.scaleType===Di.Linear)&&(b=this.xScaleMin?this.xScaleMin:Math.min(...r),B=this.xScaleMax?this.xScaleMax:Math.max(...r)),this.scaleType===Di.Time?(n=[new Date(b),new Date(B)],this.xSet=[...r].sort((j,ue)=>{const Se=j.getTime(),mt=ue.getTime();return Se>mt?1:mt>Se?-1:0})):this.scaleType===Di.Linear?(n=[b,B],this.xSet=[...r].sort((j,ue)=>j-ue)):(n=r,this.xSet=r),n}getYDomain(){const r=[];for(let B=0;B<this.xSet.length;B++){const j=this.xSet[B];let ue=0;for(const Se of this.results){const mt=Se.series.find(xt=>{let At=xt.name,qt=j;return this.scaleType===Di.Time&&(At=At.valueOf(),qt=qt.valueOf()),At===qt});mt&&(ue+=mt.value)}r.push(ue)}return[this.yScaleMin?this.yScaleMin:Math.min(0,...r),this.yScaleMax?this.yScaleMax:Math.max(...r)]}getSeriesDomain(){return this.results.map(r=>r.name)}getXScale(r,n){let b;return this.scaleType===Di.Time?b=jc():this.scaleType===Di.Linear?b=Ha():this.scaleType===Di.Ordinal&&(b=qa().padding(.1)),b.range([0,n]).domain(r),this.roundDomains?b.nice():b}getYScale(r,n){const b=Ha().range([n,0]).domain(r);return this.roundDomains?b.nice():b}updateDomain(r){this.filteredDomain=r,this.xDomain=this.filteredDomain,this.xScale=this.getXScale(this.xDomain,this.dims.width)}updateHoveredVertical(r){this.hoveredVertical=r.value,this.deactivateAll()}hideCircles(){this.hoveredVertical=null,this.deactivateAll()}onClick(r,n){n&&(r.series=n.name),this.select.emit(r)}trackBy(r,n){return`${n.name}`}setColors(){let r;r=this.schemeType===Di.Ordinal?this.seriesDomain:this.yDomain,this.colors=new Rr(this.scheme,this.schemeType,r,this.customColors)}getLegendOptions(){const r={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return r.scaleType===Di.Ordinal?(r.domain=this.seriesDomain,r.colors=this.colors,r.title=this.legendTitle):(r.domain=this.yDomain,r.colors=this.colors.scale),r}updateYAxisWidth({width:r}){this.yAxisWidth=r,this.update()}updateXAxisHeight({height:r}){this.xAxisHeight=r,this.update()}onActivate(r){this.activeEntries.findIndex(b=>b.name===r.name&&b.value===r.value)>-1||(this.activeEntries=[r,...this.activeEntries],this.activate.emit({value:r,entries:this.activeEntries}))}onDeactivate(r){const n=this.activeEntries.findIndex(b=>b.name===r.name&&b.value===r.value);this.activeEntries.splice(n,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:r,entries:this.activeEntries})}deactivateAll(){this.activeEntries=[...this.activeEntries];for(const r of this.activeEntries)this.deactivate.emit({value:r,entries:[]});this.activeEntries=[]}}ru.\u0275fac=function(){let u;return function(n){return(u||(u=e.n5z(ru)))(n||ru)}}(),ru.\u0275cmp=e.Xpm({type:ru,selectors:[["ngx-charts-area-chart-stacked"]],contentQueries:function(r,n,b){if(1&r&&(e.Suo(b,Pr,5),e.Suo(b,b2,5)),2&r){let B;e.iGM(B=e.CRH())&&(n.tooltipTemplate=B.first),e.iGM(B=e.CRH())&&(n.seriesTooltipTemplate=B.first)}},hostBindings:function(r,n){1&r&&e.NdJ("mouseleave",function(){return n.hideCircles()})},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",timeline:"timeline",gradient:"gradient",showGridLines:"showGridLines",curve:"curve",activeEntries:"activeEntries",schemeType:"schemeType",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",roundDomains:"roundDomains",tooltipDisabled:"tooltipDisabled",xScaleMin:"xScaleMin",xScaleMax:"xScaleMax",yScaleMin:"yScaleMin",yScaleMax:"yScaleMax"},outputs:{activate:"activate",deactivate:"deactivate"},features:[e.qOj],decls:11,vars:20,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelClick","legendLabelActivate","legendLabelDeactivate"],[1,"area-chart","chart"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"mouseleave",4,"ngIf"],["ngx-charts-timeline","",3,"results","view","height","scheme","customColors","legend","scaleType","onDomainChange",4,"ngIf"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-area-series","",3,"xScale","yScale","colors","data","scaleType","gradient","activeEntries","stacked","curve","animations"],[3,"mouseleave"],["ngx-charts-tooltip-area","",3,"dims","xSet","xScale","yScale","results","colors","tooltipDisabled","tooltipTemplate","hover"],["ngx-charts-circle-series","",3,"type","xScale","yScale","colors","activeEntries","data","scaleType","visibleValue","tooltipDisabled","tooltipTemplate","select","activate","deactivate"],["ngx-charts-timeline","",3,"results","view","height","scheme","customColors","legend","scaleType","onDomainChange"],["ngx-charts-area-series","",3,"xScale","yScale","colors","data","scaleType","gradient","stacked","curve","animations"]],template:function(r,n){1&r&&(e.TgZ(0,"ngx-charts-chart",0),e.NdJ("legendLabelClick",function(B){return n.onClick(B)})("legendLabelActivate",function(B){return n.onActivate(B)})("legendLabelDeactivate",function(B){return n.onDeactivate(B)}),e.O4$(),e.TgZ(1,"defs")(2,"clipPath"),e._UZ(3,"rect"),e.qZA()(),e.TgZ(4,"g",1),e.YNc(5,np,1,10,"g",2),e.YNc(6,Q3,1,9,"g",3),e.TgZ(7,"g"),e.YNc(8,q3,2,10,"g",4),e.YNc(9,k0,3,10,"g",5),e.qZA()(),e.YNc(10,$3,2,13,"g",6),e.qZA()),2&r&&(e.Q6J("view",e.WLB(17,Va,n.width,n.height))("showLegend",n.legend)("legendOptions",n.legendOptions)("activeEntries",n.activeEntries)("animations",n.animations),e.xp6(2),e.uIk("id",n.clipPathId),e.xp6(1),e.uIk("width",n.dims.width+10)("height",n.dims.height+10)("transform","translate(-5, -5)"),e.xp6(1),e.uIk("transform",n.transform),e.xp6(1),e.Q6J("ngIf",n.xAxis),e.xp6(1),e.Q6J("ngIf",n.yAxis),e.xp6(1),e.uIk("clip-path",n.clipPath),e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy),e.xp6(1),e.Q6J("ngIf",!n.tooltipDisabled),e.xp6(1),e.Q6J("ngIf",n.timeline&&"ordinal"!=n.scaleType))},dependencies:[Wa,go,no,Rl,tl,kl,Ic,t.O5,t.sg],styles:[to],encapsulation:2,changeDetection:0});class S2{}S2.\u0275fac=function(r){return new(r||S2)},S2.\u0275mod=e.oAB({type:S2}),S2.\u0275inj=e.cJS({imports:[[To]]});class f1{constructor(r){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=r.nativeElement}ngOnChanges(r){r.roundEdges&&this.loadAnimation(),this.update()}update(){this.gradientId="grad"+qo().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 r=Rt(this.element).select(".bar"),n=this.getPath();this.animations?r.transition().duration(500).attr("d",n):r.attr("d",n)}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 n,r=this.getRadius();return this.roundEdges?this.orientation===ka.Vertical?(r=Math.min(this.height,r),n=sc(this.x,this.y+this.height,this.width,1,0,this.edges)):this.orientation===ka.Horizontal&&(r=Math.min(this.width,r),n=sc(this.x,this.y,1,this.height,0,this.edges)):this.orientation===ka.Vertical?n=sc(this.x,this.y+this.height,this.width,1,0,this.edges):this.orientation===ka.Horizontal&&(n=sc(this.x,this.y,1,this.height,0,this.edges)),n}getPath(){let n,r=this.getRadius();return this.roundEdges?this.orientation===ka.Vertical?(r=Math.min(this.height,r),n=sc(this.x,this.y,this.width,this.height,r,this.edges)):this.orientation===ka.Horizontal&&(r=Math.min(this.width,r),n=sc(this.x,this.y,this.width,this.height,r,this.edges)):n=sc(this.x,this.y,this.width,this.height,r,this.edges),n}getRadius(){let r=0;return this.roundEdges&&this.height>5&&this.width>5&&(r=Math.floor(Math.min(5,this.height/2,this.width/2))),r}getStartOpacity(){return this.roundEdges?.2:.5}get edges(){let r=[!1,!1,!1,!1];return this.roundEdges&&(this.orientation===ka.Vertical?r=this.data.value>0?[!0,!0,!1,!1]:[!1,!1,!0,!0]:this.orientation===ka.Horizontal&&(r=this.data.value>0?[!1,!0,!1,!0]:[!0,!1,!0,!1])),r}onMouseEnter(){this.activate.emit(this.data)}onMouseLeave(){this.deactivate.emit(this.data)}checkToHideBar(){this.hideBar=this.noBarWhenZero&&(this.orientation===ka.Vertical&&0===this.height||this.orientation===ka.Horizontal&&0===this.width)}}var gr,lc;f1.\u0275fac=function(r){return new(r||f1)(e.Y36(e.SBq))},f1.\u0275cmp=e.Xpm({type:f1,selectors:[["g","ngx-charts-bar",""]],hostBindings:function(r,n){1&r&&e.NdJ("mouseenter",function(){return n.onMouseEnter()})("mouseleave",function(){return n.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:["ngx-charts-bar",""],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(r,n){1&r&&(e.YNc(0,R0,2,3,"defs",0),e.O4$(),e.TgZ(1,"path",1),e.NdJ("click",function(){return n.select.emit(n.data)}),e.qZA()),2&r&&(e.Q6J("ngIf",n.hasGradient),e.xp6(1),e.ekj("active",n.isActive)("hidden",n.hideBar),e.uIk("d",n.path)("aria-label",n.ariaLabel)("fill",n.hasGradient?n.gradientFill:n.fill))},dependencies:[cc,t.O5],encapsulation:2,changeDetection:0}),function(u){u.Standard="standard",u.Normalized="normalized",u.Stacked="stacked"}(gr||(gr={})),function(u){u.positive="positive",u.negative="negative"}(lc||(lc={}));class Bl{constructor(r){this.dimensionsChanged=new e.vpe,this.horizontalPadding=2,this.verticalPadding=5,this.element=r.nativeElement}ngOnChanges(r){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.valueFormatting?this.formatedValue=this.valueFormatting(this.value):this.formatedValue=Kr(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})`)}}Bl.\u0275fac=function(r){return new(r||Bl)(e.Y36(e.SBq))},Bl.\u0275cmp=e.Xpm({type:Bl,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:["ngx-charts-bar-label",""],decls:2,vars:5,consts:[["alignment-baseline","middle",1,"textDataLabel"]],template:function(r,n){1&r&&(e.O4$(),e.TgZ(0,"text",0),e._uU(1),e.qZA()),2&r&&(e.uIk("text-anchor",n.textAnchor)("transform",n.transform)("x",n.x)("y",n.y),e.xp6(1),e.hij(" ",n.formatedValue," "))},styles:[".textDataLabel[_ngcontent-%COMP%]{font-size:11px}"],changeDetection:0});class Ws{constructor(){this.type=gr.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.dataLabelWidthChanged=new e.vpe,this.barsForDataLabels=[],this.barOrientation=ka}ngOnChanges(r){this.update()}update(){this.updateTooltipSettings();const r={[lc.positive]:0,[lc.negative]:0};let n,b;n=lc.positive,this.type===gr.Normalized&&(b=this.series.map(j=>j.value).reduce((j,ue)=>j+ue,0));const B=Math.max(this.xScale.domain()[0],0);this.bars=this.series.map(j=>{let ue=j.value;const Se=this.getLabel(j),mt=Kr(Se),xt=this.roundEdges;n=ue>0?lc.positive:lc.negative;const At={value:ue,label:Se,roundEdges:xt,data:j,formattedLabel:mt};if(At.height=this.yScale.bandwidth(),this.type===gr.Standard)At.width=Math.abs(this.xScale(ue)-this.xScale(B)),At.x=ue<0?this.xScale(ue):this.xScale(B),At.y=this.yScale(Se);else if(this.type===gr.Stacked){const Ft=r[n],Ci=Ft+ue;r[n]+=ue,At.width=this.xScale(Ci)-this.xScale(Ft),At.x=this.xScale(Ft),At.y=0,At.offset0=Ft,At.offset1=Ci}else if(this.type===gr.Normalized){let Ft=r[n],Ci=Ft+ue;r[n]+=ue,b>0?(Ft=100*Ft/b,Ci=100*Ci/b):(Ft=0,Ci=0),At.width=this.xScale(Ci)-this.xScale(Ft),At.x=this.xScale(Ft),At.y=0,At.offset0=Ft,At.offset1=Ci,ue=(Ci-Ft).toFixed(2)+"%"}this.colors.scaleType===Di.Ordinal?At.color=this.colors.getColor(Se):this.type===gr.Standard?(At.color=this.colors.getColor(ue),At.gradientStops=this.colors.getLinearGradientStops(ue)):(At.color=this.colors.getColor(At.offset1),At.gradientStops=this.colors.getLinearGradientStops(At.offset1,At.offset0));let qt=mt;return At.ariaLabel=mt+" "+ue.toLocaleString(),null!==this.seriesName&&void 0!==this.seriesName&&(qt=`${this.seriesName} \u2022 ${mt}`,At.data.series=this.seriesName,At.ariaLabel=this.seriesName+" "+At.ariaLabel),At.tooltipText=this.tooltipDisabled?void 0:`\n <span class="tooltip-label">${_o(qt)}</span>\n <span class="tooltip-val">${this.dataLabelFormatting?this.dataLabelFormatting(ue):ue.toLocaleString()}</span>\n `,At}),this.updateDataLabels()}updateDataLabels(){if(this.type===gr.Stacked){this.barsForDataLabels=[];const r={};r.series=this.seriesName;const n=this.series.map(B=>B.value).reduce((B,j)=>j>0?B+j:B,0),b=this.series.map(B=>B.value).reduce((B,j)=>j<0?B+j:B,0);r.total=n+b,r.x=0,r.y=0,r.total>0?r.width=this.xScale(n):r.width=this.xScale(b),r.height=this.yScale.bandwidth(),this.barsForDataLabels.push(r)}else this.barsForDataLabels=this.series.map(r=>{const n={};return n.series=this.seriesName??r.label,n.total=r.value,n.x=this.xScale(0),n.y=this.yScale(r.label),n.width=this.xScale(n.total)-this.xScale(0),n.height=this.yScale.bandwidth(),n})}updateTooltipSettings(){this.tooltipPlacement=this.tooltipDisabled?void 0:Rn.Top,this.tooltipType=this.tooltipDisabled?void 0:Qo.tooltip}isActive(r){return!!this.activeEntries&&void 0!==this.activeEntries.find(b=>r.name===b.name&&r.value===b.value)}getLabel(r){return r.label?r.label:r.name}trackBy(r,n){return n.label}trackDataLabelBy(r,n){return r+"#"+n.series+"#"+n.total}click(r){this.select.emit(r)}}Ws.\u0275fac=function(r){return new(r||Ws)},Ws.\u0275cmp=e.Xpm({type:Ws,selectors:[["g","ngx-charts-series-horizontal",""]],inputs:{dims:"dims",type:"type",series:"series",xScale:"xScale",yScale:"yScale",colors:"colors",tooltipDisabled:"tooltipDisabled",gradient:"gradient",activeEntries:"activeEntries",seriesName:"seriesName",tooltipTemplate:"tooltipTemplate",roundEdges:"roundEdges",animations:"animations",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero"},outputs:{select:"select",activate:"activate",deactivate:"deactivate",dataLabelWidthChanged:"dataLabelWidthChanged"},features:[e.TTD],attrs:["ngx-charts-series-horizontal",""],decls:2,vars:3,consts:[["ngx-charts-bar","","ngx-tooltip","",3,"width","height","x","y","fill","stops","data","orientation","roundEdges","gradient","isActive","ariaLabel","animations","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","noBarWhenZero","select","activate","deactivate",4,"ngFor","ngForOf","ngForTrackBy"],[4,"ngIf"],["ngx-charts-bar","","ngx-tooltip","",3,"width","height","x","y","fill","stops","data","orientation","roundEdges","gradient","isActive","ariaLabel","animations","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","noBarWhenZero","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(r,n){1&r&&(e.YNc(0,ap,1,21,"g",0),e.YNc(1,rp,2,2,"g",1)),2&r&&(e.Q6J("ngForOf",n.bars)("ngForTrackBy",n.trackBy),e.xp6(1),e.Q6J("ngIf",n.showDataLabel))},dependencies:[f1,Bl,t.sg,hs,t.O5],encapsulation:2,data:{animation:[(0,d.X$)("animationState",[(0,d.eR)(":leave",[(0,d.oB)({opacity:1}),(0,d.jt)(500,(0,d.oB)({opacity:0}))])])]},changeDetection:0});class Ao extends Ka{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=fr.Right,this.tooltipDisabled=!1,this.showGridLines=!0,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.barPadding=8,this.roundDomains=!1,this.roundEdges=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.activate=new e.vpe,this.deactivate=new e.vpe,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.dataLabelMaxWidth={negative:0,positive:0}}update(){super.update(),this.showDataLabel||(this.dataLabelMaxWidth={negative:0,positive:0}),this.margin=[10,20+this.dataLabelMaxWidth.positive,10,20+this.dataLabelMaxWidth.negative],this.dims=_r({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.xScale=this.getXScale(),this.yScale=this.getYScale(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]})`}getXScale(){this.xDomain=this.getXDomain();const r=Ha().range([0,this.dims.width]).domain(this.xDomain);return this.roundDomains?r.nice():r}getYScale(){this.yDomain=this.getYDomain();const r=this.yDomain.length/(this.dims.height/this.barPadding+1);return Jr().rangeRound([0,this.dims.height]).paddingInner(r).domain(this.yDomain)}getXDomain(){const r=this.results.map(B=>B.value);return[this.xScaleMin?Math.min(this.xScaleMin,...r):Math.min(0,...r),this.xScaleMax?Math.max(this.xScaleMax,...r):Math.max(0,...r)]}getYDomain(){return this.results.map(r=>r.label)}onClick(r){this.select.emit(r)}setColors(){let r;r=this.schemeType===Di.Ordinal?this.yDomain:this.xDomain,this.colors=new Rr(this.scheme,this.schemeType,r,this.customColors)}getLegendOptions(){const r={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return"ordinal"===r.scaleType?(r.domain=this.yDomain,r.colors=this.colors,r.title=this.legendTitle):(r.domain=this.xDomain,r.colors=this.colors.scale),r}updateYAxisWidth({width:r}){this.yAxisWidth=r,this.update()}updateXAxisHeight({height:r}){this.xAxisHeight=r,this.update()}onDataLabelMaxWidthChanged(r){r.size.negative?this.dataLabelMaxWidth.negative=Math.max(this.dataLabelMaxWidth.negative,r.size.width):this.dataLabelMaxWidth.positive=Math.max(this.dataLabelMaxWidth.positive,r.size.width),r.index===this.results.length-1&&setTimeout(()=>this.update())}onActivate(r,n=!1){r=this.results.find(B=>n?B.label===r.name:B.name===r.name),!(this.activeEntries.findIndex(B=>B.name===r.name&&B.value===r.value&&B.series===r.series)>-1)&&(this.activeEntries=[r,...this.activeEntries],this.activate.emit({value:r,entries:this.activeEntries}))}onDeactivate(r,n=!1){r=this.results.find(B=>n?B.label===r.name:B.name===r.name);const b=this.activeEntries.findIndex(B=>B.name===r.name&&B.value===r.value&&B.series===r.series);this.activeEntries.splice(b,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:r,entries:this.activeEntries})}}Ao.\u0275fac=function(){let u;return function(n){return(u||(u=e.n5z(Ao)))(n||Ao)}}(),Ao.\u0275cmp=e.Xpm({type:Ao,selectors:[["ngx-charts-bar-horizontal"]],contentQueries:function(r,n,b){if(1&r&&e.Suo(b,Pr,5),2&r){let B;e.iGM(B=e.CRH())&&(n.tooltipTemplate=B.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",xScaleMax:"xScaleMax",xScaleMin:"xScaleMin",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero"},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","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","yAxisOffset","dimensionsChanged",4,"ngIf"],["ngx-charts-series-horizontal","",3,"xScale","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","activeEntries","roundEdges","animations","showDataLabel","dataLabelFormatting","noBarWhenZero","select","activate","deactivate","dataLabelWidthChanged"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","yAxisOffset","dimensionsChanged"]],template:function(r,n){1&r&&(e.TgZ(0,"ngx-charts-chart",0),e.NdJ("legendLabelClick",function(B){return n.onClick(B)})("legendLabelActivate",function(B){return n.onActivate(B,!0)})("legendLabelDeactivate",function(B){return n.onDeactivate(B,!0)}),e.O4$(),e.TgZ(1,"g",1),e.YNc(2,gf,1,10,"g",2),e.YNc(3,vf,1,9,"g",3),e.TgZ(4,"g",4),e.NdJ("select",function(B){return n.onClick(B)})("activate",function(B){return n.onActivate(B)})("deactivate",function(B){return n.onDeactivate(B)})("dataLabelWidthChanged",function(B){return n.onDataLabelMaxWidthChanged(B)}),e.qZA()()()),2&r&&(e.Q6J("view",e.WLB(22,Va,n.width,n.height))("showLegend",n.legend)("legendOptions",n.legendOptions)("activeEntries",n.activeEntries)("animations",n.animations),e.xp6(1),e.uIk("transform",n.transform),e.xp6(1),e.Q6J("ngIf",n.xAxis),e.xp6(1),e.Q6J("ngIf",n.yAxis),e.xp6(1),e.Q6J("xScale",n.xScale)("yScale",n.yScale)("colors",n.colors)("series",n.results)("dims",n.dims)("gradient",n.gradient)("tooltipDisabled",n.tooltipDisabled)("tooltipTemplate",n.tooltipTemplate)("activeEntries",n.activeEntries)("roundEdges",n.roundEdges)("animations",n.animations)("showDataLabel",n.showDataLabel)("dataLabelFormatting",n.dataLabelFormatting)("noBarWhenZero",n.noBarWhenZero))},dependencies:[Wa,go,no,Ws,t.O5],styles:[to],encapsulation:2,changeDetection:0});class $0 extends Ka{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=fr.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.groupPadding=16,this.barPadding=8,this.roundDomains=!1,this.roundEdges=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.activate=new e.vpe,this.deactivate=new e.vpe,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.dataLabelMaxWidth={negative:0,positive:0},this.isSSR=!1,this.barOrientation=ka,this.trackBy=(r,n)=>n.name}ngOnInit(){(0,t.PM)(this.platformId)&&(this.isSSR=!0)}update(){super.update(),this.showDataLabel||(this.dataLabelMaxWidth={negative:0,positive:0}),this.margin=[10,20+this.dataLabelMaxWidth.positive,10,20+this.dataLabelMaxWidth.negative],this.dims=_r({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.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]})`}getGroupScale(){const r=this.groupDomain.length/(this.dims.height/this.groupPadding+1);return Jr().rangeRound([0,this.dims.height]).paddingInner(r).paddingOuter(r/2).domain(this.groupDomain)}getInnerScale(){const r=this.groupScale.bandwidth(),n=this.innerDomain.length/(r/this.barPadding+1);return Jr().rangeRound([0,r]).paddingInner(n).domain(this.innerDomain)}getValueScale(){const r=Ha().range([0,this.dims.width]).domain(this.valueDomain);return this.roundDomains?r.nice():r}getGroupDomain(){const r=[];for(const n of this.results)r.includes(n.label)||r.push(n.label);return r}getInnerDomain(){const r=[];for(const n of this.results)for(const b of n.series)r.includes(b.label)||r.push(b.label);return r}getValueDomain(){const r=[];for(const B of this.results)for(const j of B.series)r.includes(j.value)||r.push(j.value);return[Math.min(0,...r),this.xScaleMax?Math.max(this.xScaleMax,...r):Math.max(0,...r)]}groupTransform(r){return`translate(0, ${this.groupScale(r.label)})`}onClick(r,n){n&&(r.series=n.name),this.select.emit(r)}setColors(){let r;r=this.schemeType===Di.Ordinal?this.innerDomain:this.valueDomain,this.colors=new Rr(this.scheme,this.schemeType,r,this.customColors)}getLegendOptions(){const r={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return r.scaleType===Di.Ordinal?(r.domain=this.innerDomain,r.colors=this.colors,r.title=this.legendTitle):(r.domain=this.valueDomain,r.colors=this.colors.scale),r}updateYAxisWidth({width:r}){this.yAxisWidth=r,this.update()}updateXAxisHeight({height:r}){this.xAxisHeight=r,this.update()}onDataLabelMaxWidthChanged(r,n){r.size.negative?this.dataLabelMaxWidth.negative=Math.max(this.dataLabelMaxWidth.negative,r.size.width):this.dataLabelMaxWidth.positive=Math.max(this.dataLabelMaxWidth.positive,r.size.width),n===this.results.length-1&&setTimeout(()=>this.update())}onActivate(r,n,b=!1){const B=Object.assign({},r);n&&(B.series=n.name);const j=this.results.map(ue=>ue.series).flat().filter(ue=>b?ue.label===B.name:ue.name===B.name&&ue.series===B.series);this.activeEntries=[...j],this.activate.emit({value:B,entries:this.activeEntries})}onDeactivate(r,n,b=!1){const B=Object.assign({},r);n&&(B.series=n.name),this.activeEntries=this.activeEntries.filter(j=>b?j.label!==B.name:!(j.name===B.name&&j.series===B.series)),this.deactivate.emit({value:B,entries:this.activeEntries})}}$0.\u0275fac=function(){let u;return function(n){return(u||(u=e.n5z($0)))(n||$0)}}(),$0.\u0275cmp=e.Xpm({type:$0,selectors:[["ngx-charts-bar-horizontal-2d"]],contentQueries:function(r,n,b){if(1&r&&e.Suo(b,Pr,5),2&r){let B;e.iGM(B=e.CRH())&&(n.tooltipTemplate=B.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",groupPadding:"groupPadding",barPadding:"barPadding",roundDomains:"roundDomains",roundEdges:"roundEdges",xScaleMax:"xScaleMax",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero"},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","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","yAxisOffset","dimensionsChanged",4,"ngIf"],[4,"ngIf"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","yAxisOffset","dimensionsChanged"],[4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-series-horizontal","",3,"xScale","activeEntries","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","seriesName","roundEdges","animations","showDataLabel","dataLabelFormatting","noBarWhenZero","select","activate","deactivate","dataLabelWidthChanged"]],template:function(r,n){1&r&&(e.TgZ(0,"ngx-charts-chart",0),e.NdJ("legendLabelActivate",function(B){return n.onActivate(B,void 0,!0)})("legendLabelDeactivate",function(B){return n.onDeactivate(B,void 0,!0)})("legendLabelClick",function(B){return n.onClick(B)}),e.O4$(),e.TgZ(1,"g",1),e._UZ(2,"g",2),e.YNc(3,bf,1,10,"g",3),e.YNc(4,op,1,9,"g",4),e.YNc(5,N0,2,2,"g",5),e.YNc(6,Qh,2,2,"g",5),e.qZA()()),2&r&&(e.Q6J("view",e.WLB(15,Va,n.width,n.height))("showLegend",n.legend)("legendOptions",n.legendOptions)("activeEntries",n.activeEntries)("animations",n.animations),e.xp6(1),e.uIk("transform",n.transform),e.xp6(1),e.Q6J("xScale",n.valueScale)("yScale",n.groupScale)("data",n.results)("dims",n.dims)("orient",n.barOrientation.Horizontal),e.xp6(1),e.Q6J("ngIf",n.xAxis),e.xp6(1),e.Q6J("ngIf",n.yAxis),e.xp6(1),e.Q6J("ngIf",!n.isSSR),e.xp6(1),e.Q6J("ngIf",n.isSSR))},dependencies:[Wa,u1,go,no,Ws,t.O5,t.sg],styles:[to],encapsulation:2,data:{animation:[(0,d.X$)("animationState",[(0,d.eR)(":leave",[(0,d.oB)({opacity:1,transform:"*"}),(0,d.jt)(500,(0,d.oB)({opacity:0,transform:"scale(0)"}))])])]},changeDetection:0});class k2 extends Ka{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=fr.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.noBarWhenZero=!0,this.activate=new e.vpe,this.deactivate=new e.vpe,this.valueDomain=[0,100],this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.barChartType=gr,this.isSSR=!1,this.trackBy=(r,n)=>n.name}ngOnInit(){(0,t.PM)(this.platformId)&&(this.isSSR=!0)}update(){super.update(),this.dims=_r({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.groupDomain=this.getGroupDomain(),this.innerDomain=this.getInnerDomain(),this.xScale=this.getXScale(),this.yScale=this.getYScale(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]})`}getGroupDomain(){const r=[];for(const n of this.results)r.includes(n.label)||r.push(n.label);return r}getInnerDomain(){const r=[];for(const n of this.results)for(const b of n.series)r.includes(b.label)||r.push(b.label);return r}getYScale(){const r=this.groupDomain.length/(this.dims.height/this.barPadding+1);return Jr().rangeRound([0,this.dims.height]).paddingInner(r).domain(this.groupDomain)}getXScale(){const r=Ha().range([0,this.dims.width]).domain(this.valueDomain);return this.roundDomains?r.nice():r}groupTransform(r){return`translate(0, ${this.yScale(r.name)})`}onClick(r,n){n&&(r.series=n.name),this.select.emit(r)}setColors(){let r;r=this.schemeType===Di.Ordinal?this.innerDomain:this.valueDomain,this.colors=new Rr(this.scheme,this.schemeType,r,this.customColors)}getLegendOptions(){const r={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return r.scaleType===Di.Ordinal?(r.domain=this.innerDomain,r.colors=this.colors,r.title=this.legendTitle):(r.domain=this.valueDomain,r.colors=this.colors.scale),r}updateYAxisWidth({width:r}){this.yAxisWidth=r,this.update()}updateXAxisHeight({height:r}){this.xAxisHeight=r,this.update()}onActivate(r,n,b=!1){const B=Object.assign({},r);n&&(B.series=n.name);const j=this.results.map(ue=>ue.series).flat().filter(ue=>b?ue.label===B.name:ue.name===B.name&&ue.series===B.series);this.activeEntries=[...j],this.activate.emit({value:B,entries:this.activeEntries})}onDeactivate(r,n,b=!1){const B=Object.assign({},r);n&&(B.series=n.name),this.activeEntries=this.activeEntries.filter(j=>b?j.label!==B.name:!(j.name===B.name&&j.series===B.series)),this.deactivate.emit({value:B,entries:this.activeEntries})}}k2.\u0275fac=function(){let u;return function(n){return(u||(u=e.n5z(k2)))(n||k2)}}(),k2.\u0275cmp=e.Xpm({type:k2,selectors:[["ngx-charts-bar-horizontal-normalized"]],contentQueries:function(r,n,b){if(1&r&&e.Suo(b,Pr,5),2&r){let B;e.iGM(B=e.CRH())&&(n.tooltipTemplate=B.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",noBarWhenZero:"noBarWhenZero"},outputs:{activate:"activate",deactivate:"deactivate"},features:[e.qOj],decls:6,vars:13,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelActivate","legendLabelDeactivate","legendLabelClick"],[1,"bar-chart","chart"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],[4,"ngIf"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],[4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-series-horizontal","",3,"type","xScale","yScale","activeEntries","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","seriesName","animations","noBarWhenZero","select","activate","deactivate"]],template:function(r,n){1&r&&(e.TgZ(0,"ngx-charts-chart",0),e.NdJ("legendLabelActivate",function(B){return n.onActivate(B,void 0,!0)})("legendLabelDeactivate",function(B){return n.onDeactivate(B,void 0,!0)})("legendLabelClick",function(B){return n.onClick(B)}),e.O4$(),e.TgZ(1,"g",1),e.YNc(2,yf,1,10,"g",2),e.YNc(3,xf,1,8,"g",3),e.YNc(4,t4,2,2,"g",4),e.YNc(5,qh,2,2,"g",4),e.qZA()()),2&r&&(e.Q6J("view",e.WLB(10,Va,n.width,n.height))("showLegend",n.legend)("legendOptions",n.legendOptions)("activeEntries",n.activeEntries)("animations",n.animations),e.xp6(1),e.uIk("transform",n.transform),e.xp6(1),e.Q6J("ngIf",n.xAxis),e.xp6(1),e.Q6J("ngIf",n.yAxis),e.xp6(1),e.Q6J("ngIf",!n.isSSR),e.xp6(1),e.Q6J("ngIf",n.isSSR))},dependencies:[Wa,go,no,Ws,t.O5,t.sg],styles:[to],encapsulation:2,data:{animation:[(0,d.X$)("animationState",[(0,d.eR)(":leave",[(0,d.oB)({opacity:1,transform:"*"}),(0,d.jt)(500,(0,d.oB)({opacity:0,transform:"scale(0)"}))])])]},changeDetection:0});class P2 extends Ka{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=fr.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.showDataLabel=!1,this.noBarWhenZero=!0,this.activate=new e.vpe,this.deactivate=new e.vpe,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.dataLabelMaxWidth={negative:0,positive:0},this.barChartType=gr,this.isSSR=!1,this.trackBy=(r,n)=>n.name}ngOnInit(){(0,t.PM)(this.platformId)&&(this.isSSR=!0)}update(){super.update(),this.showDataLabel||(this.dataLabelMaxWidth={negative:0,positive:0}),this.margin=[10,20+this.dataLabelMaxWidth.positive,10,20+this.dataLabelMaxWidth.negative],this.dims=_r({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.groupDomain=this.getGroupDomain(),this.innerDomain=this.getInnerDomain(),this.valueDomain=this.getValueDomain(),this.xScale=this.getXScale(),this.yScale=this.getYScale(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]})`}getGroupDomain(){const r=[];for(const n of this.results)r.includes(n.label)||r.push(n.label);return r}getInnerDomain(){const r=[];for(const n of this.results)for(const b of n.series)r.includes(b.label)||r.push(b.label);return r}getValueDomain(){const r=[];let n=0,b=0;for(const ue of this.results){let Se=0,mt=0;for(const xt of ue.series)xt.value<0?Se+=xt.value:mt+=xt.value,n=xt.value<n?xt.value:n,b=xt.value>b?xt.value:b;r.push(Se),r.push(mt)}r.push(n),r.push(b);return[Math.min(0,...r),this.xScaleMax?Math.max(this.xScaleMax,...r):Math.max(...r)]}getYScale(){const r=this.groupDomain.length/(this.dims.height/this.barPadding+1);return Jr().rangeRound([0,this.dims.height]).paddingInner(r).domain(this.groupDomain)}getXScale(){const r=Ha().range([0,this.dims.width]).domain(this.valueDomain);return this.roundDomains?r.nice():r}groupTransform(r){return`translate(0, ${this.yScale(r.name)})`}onClick(r,n){n&&(r.series=n.name),this.select.emit(r)}setColors(){let r;r=this.schemeType===Di.Ordinal?this.innerDomain:this.valueDomain,this.colors=new Rr(this.scheme,this.schemeType,r,this.customColors)}getLegendOptions(){const r={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return r.scaleType===Di.Ordinal?(r.domain=this.innerDomain,r.colors=this.colors,r.title=this.legendTitle):(r.domain=this.valueDomain,r.colors=this.colors.scale),r}updateYAxisWidth({width:r}){this.yAxisWidth=r,this.update()}updateXAxisHeight({height:r}){this.xAxisHeight=r,this.update()}onDataLabelMaxWidthChanged(r,n){r.size.negative?this.dataLabelMaxWidth.negative=Math.max(this.dataLabelMaxWidth.negative,r.size.width):this.dataLabelMaxWidth.positive=Math.max(this.dataLabelMaxWidth.positive,r.size.width),n===this.results.length-1&&setTimeout(()=>this.update())}onActivate(r,n,b=!1){const B=Object.assign({},r);n&&(B.series=n.name);const j=this.results.map(ue=>ue.series).flat().filter(ue=>b?ue.label===B.name:ue.name===B.name&&ue.series===B.series);this.activeEntries=[...j],this.activate.emit({value:B,entries:this.activeEntries})}onDeactivate(r,n,b=!1){const B=Object.assign({},r);n&&(B.series=n.name),this.activeEntries=this.activeEntries.filter(j=>b?j.label!==B.name:!(j.name===B.name&&j.series===B.series)),this.deactivate.emit({value:B,entries:this.activeEntries})}}P2.\u0275fac=function(){let u;return function(n){return(u||(u=e.n5z(P2)))(n||P2)}}(),P2.\u0275cmp=e.Xpm({type:P2,selectors:[["ngx-charts-bar-horizontal-stacked"]],contentQueries:function(r,n,b){if(1&r&&e.Suo(b,Pr,5),2&r){let B;e.iGM(B=e.CRH())&&(n.tooltipTemplate=B.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",xScaleMax:"xScaleMax",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero"},outputs:{activate:"activate",deactivate:"deactivate"},features:[e.qOj],decls:6,vars:13,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelActivate","legendLabelDeactivate","legendLabelClick"],[1,"bar-chart","chart"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","yAxisOffset","dimensionsChanged",4,"ngIf"],[4,"ngIf"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","yAxisOffset","dimensionsChanged"],[4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-series-horizontal","",3,"type","xScale","yScale","colors","series","activeEntries","dims","gradient","tooltipDisabled","tooltipTemplate","seriesName","animations","showDataLabel","dataLabelFormatting","noBarWhenZero","select","activate","deactivate","dataLabelWidthChanged"]],template:function(r,n){1&r&&(e.TgZ(0,"ngx-charts-chart",0),e.NdJ("legendLabelActivate",function(B){return n.onActivate(B,void 0,!0)})("legendLabelDeactivate",function(B){return n.onDeactivate(B,void 0,!0)})("legendLabelClick",function(B){return n.onClick(B)}),e.O4$(),e.TgZ(1,"g",1),e.YNc(2,Mf,1,10,"g",2),e.YNc(3,C_,1,9,"g",3),e.YNc(4,n4,2,2,"g",4),e.YNc(5,wf,2,2,"g",4),e.qZA()()),2&r&&(e.Q6J("view",e.WLB(10,Va,n.width,n.height))("showLegend",n.legend)("legendOptions",n.legendOptions)("activeEntries",n.activeEntries)("animations",n.animations),e.xp6(1),e.uIk("transform",n.transform),e.xp6(1),e.Q6J("ngIf",n.xAxis),e.xp6(1),e.Q6J("ngIf",n.yAxis),e.xp6(1),e.Q6J("ngIf",!n.isSSR),e.xp6(1),e.Q6J("ngIf",n.isSSR))},dependencies:[Wa,go,no,Ws,t.O5,t.sg],styles:[to],encapsulation:2,data:{animation:[(0,d.X$)("animationState",[(0,d.eR)(":leave",[(0,d.oB)({opacity:1,transform:"*"}),(0,d.jt)(500,(0,d.oB)({opacity:0,transform:"scale(0)"}))])])]},changeDetection:0});class Nl{constructor(r){this.platformId=r,this.type=gr.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=ka,this.isSSR=!1}ngOnInit(){(0,t.PM)(this.platformId)&&(this.isSSR=!0)}ngOnChanges(r){this.update()}update(){let r;this.updateTooltipSettings(),this.series.length&&(r=this.xScale.bandwidth()),r=Math.round(r);const n=Math.max(this.yScale.domain()[0],0),b={[lc.positive]:0,[lc.negative]:0};let j,B=lc.positive;this.type===gr.Normalized&&(j=this.series.map(ue=>ue.value).reduce((ue,Se)=>ue+Se,0)),this.bars=this.series.map((ue,Se)=>{let mt=ue.value;const xt=this.getLabel(ue),At=Kr(xt),qt=this.roundEdges;B=mt>0?lc.positive:lc.negative;const Ft={value:mt,label:xt,roundEdges:qt,data:ue,width:r,formattedLabel:At,height:0,x:0,y:0};if(this.type===gr.Standard)Ft.height=Math.abs(this.yScale(mt)-this.yScale(n)),Ft.x=this.xScale(xt),Ft.y=mt<0?this.yScale(0):this.yScale(mt);else if(this.type===gr.Stacked){const Pi=b[B],Xi=Pi+mt;b[B]+=mt,Ft.height=this.yScale(Pi)-this.yScale(Xi),Ft.x=0,Ft.y=this.yScale(Xi),Ft.offset0=Pi,Ft.offset1=Xi}else if(this.type===gr.Normalized){let Pi=b[B],Xi=Pi+mt;b[B]+=mt,j>0?(Pi=100*Pi/j,Xi=100*Xi/j):(Pi=0,Xi=0),Ft.height=this.yScale(Pi)-this.yScale(Xi),Ft.x=0,Ft.y=this.yScale(Xi),Ft.offset0=Pi,Ft.offset1=Xi,mt=(Xi-Pi).toFixed(2)+"%"}this.colors.scaleType===Di.Ordinal?Ft.color=this.colors.getColor(xt):this.type===gr.Standard?(Ft.color=this.colors.getColor(mt),Ft.gradientStops=this.colors.getLinearGradientStops(mt)):(Ft.color=this.colors.getColor(Ft.offset1),Ft.gradientStops=this.colors.getLinearGradientStops(Ft.offset1,Ft.offset0));let Ci=At;return Ft.ariaLabel=At+" "+mt.toLocaleString(),null!==this.seriesName&&void 0!==this.seriesName&&(Ci=`${this.seriesName} \u2022 ${At}`,Ft.data.series=this.seriesName,Ft.ariaLabel=this.seriesName+" "+Ft.ariaLabel),Ft.tooltipText=this.tooltipDisabled?void 0:`\n <span class="tooltip-label">${_o(Ci)}</span>\n <span class="tooltip-val">${this.dataLabelFormatting?this.dataLabelFormatting(mt):mt.toLocaleString()}</span>\n `,Ft}),this.updateDataLabels()}updateDataLabels(){if(this.type===gr.Stacked){this.barsForDataLabels=[];const r={};r.series=this.seriesName;const n=this.series.map(B=>B.value).reduce((B,j)=>j>0?B+j:B,0),b=this.series.map(B=>B.value).reduce((B,j)=>j<0?B+j:B,0);r.total=n+b,r.x=0,r.y=0,r.total>0?r.height=this.yScale(n):r.height=this.yScale(b),r.width=this.xScale.bandwidth(),this.barsForDataLabels.push(r)}else this.barsForDataLabels=this.series.map(r=>{const n={};return n.series=this.seriesName??r.label,n.total=r.value,n.x=this.xScale(r.label),n.y=this.yScale(0),n.height=this.yScale(n.total)-this.yScale(0),n.width=this.xScale.bandwidth(),n})}updateTooltipSettings(){this.tooltipPlacement=this.tooltipDisabled?void 0:Rn.Top,this.tooltipType=this.tooltipDisabled?void 0:Qo.tooltip}isActive(r){return!!this.activeEntries&&void 0!==this.activeEntries.find(b=>r.name===b.name&&r.value===b.value)}onClick(r){this.select.emit(r)}getLabel(r){return r.label?r.label:r.name}trackBy(r,n){return n.label}trackDataLabelBy(r,n){return r+"#"+n.series+"#"+n.total}}Nl.\u0275fac=function(r){return new(r||Nl)(e.Y36(e.Lbi))},Nl.\u0275cmp=e.Xpm({type:Nl,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:["ngx-charts-series-vertical",""],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(r,n){1&r&&(e.YNc(0,o4,2,2,"g",0),e.YNc(1,sp,2,2,"g",0),e.YNc(2,cp,2,2,"g",0)),2&r&&(e.Q6J("ngIf",!n.isSSR),e.xp6(1),e.Q6J("ngIf",n.isSSR),e.xp6(1),e.Q6J("ngIf",n.showDataLabel))},dependencies:[f1,Bl,t.O5,t.sg,hs],encapsulation:2,data:{animation:[(0,d.X$)("animationState",[(0,d.eR)(":leave",[(0,d.oB)({opacity:1}),(0,d.jt)(500,(0,d.oB)({opacity:0}))])])]},changeDetection:0});class _1 extends Ka{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=fr.Right,this.tooltipDisabled=!1,this.showGridLines=!0,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.barPadding=8,this.roundDomains=!1,this.roundEdges=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.activate=new 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=_r({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 r=this.xDomain.length/(this.dims.width/this.barPadding+1);return Jr().range([0,this.dims.width]).paddingInner(r).domain(this.xDomain)}getYScale(){this.yDomain=this.getYDomain();const r=Ha().range([this.dims.height,0]).domain(this.yDomain);return this.roundDomains?r.nice():r}getXDomain(){return this.results.map(r=>r.label)}getYDomain(){const r=this.results.map(B=>B.value);let n=this.yScaleMin?Math.min(this.yScaleMin,...r):Math.min(0,...r);this.yAxisTicks&&!this.yAxisTicks.some(isNaN)&&(n=Math.min(n,...this.yAxisTicks));let b=this.yScaleMax?Math.max(this.yScaleMax,...r):Math.max(0,...r);return this.yAxisTicks&&!this.yAxisTicks.some(isNaN)&&(b=Math.max(b,...this.yAxisTicks)),[n,b]}onClick(r){this.select.emit(r)}setColors(){let r;r=this.schemeType===Di.Ordinal?this.xDomain:this.yDomain,this.colors=new Rr(this.scheme,this.schemeType,r,this.customColors)}getLegendOptions(){const r={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return r.scaleType===Di.Ordinal?(r.domain=this.xDomain,r.colors=this.colors,r.title=this.legendTitle):(r.domain=this.yDomain,r.colors=this.colors.scale),r}updateYAxisWidth({width:r}){this.yAxisWidth=r,this.update()}updateXAxisHeight({height:r}){this.xAxisHeight=r,this.update()}onDataLabelMaxHeightChanged(r){r.size.negative?this.dataLabelMaxHeight.negative=Math.max(this.dataLabelMaxHeight.negative,r.size.height):this.dataLabelMaxHeight.positive=Math.max(this.dataLabelMaxHeight.positive,r.size.height),r.index===this.results.length-1&&setTimeout(()=>this.update())}onActivate(r,n=!1){r=this.results.find(B=>n?B.label===r.name:B.name===r.name),!(this.activeEntries.findIndex(B=>B.name===r.name&&B.value===r.value&&B.series===r.series)>-1)&&(this.activeEntries=[r,...this.activeEntries],this.activate.emit({value:r,entries:this.activeEntries}))}onDeactivate(r,n=!1){r=this.results.find(B=>n?B.label===r.name:B.name===r.name);const b=this.activeEntries.findIndex(B=>B.name===r.name&&B.value===r.value&&B.series===r.series);this.activeEntries.splice(b,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:r,entries:this.activeEntries})}}_1.\u0275fac=function(){let u;return function(n){return(u||(u=e.n5z(_1)))(n||_1)}}(),_1.\u0275cmp=e.Xpm({type:_1,selectors:[["ngx-charts-bar-vertical"]],contentQueries:function(r,n,b){if(1&r&&e.Suo(b,Pr,5),2&r){let B;e.iGM(B=e.CRH())&&(n.tooltipTemplate=B.first)}},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",tooltipDisabled:"tooltipDisabled",gradient:"gradient",showGridLines:"showGridLines",activeEntries:"activeEntries",schemeType:"schemeType",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",barPadding:"barPadding",roundDomains:"roundDomains",roundEdges:"roundEdges",yScaleMax:"yScaleMax",yScaleMin:"yScaleMin",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero"},outputs:{activate:"activate",deactivate:"deactivate"},features:[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","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],["ngx-charts-series-vertical","",3,"xScale","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","showDataLabel","dataLabelFormatting","activeEntries","roundEdges","animations","noBarWhenZero","activate","deactivate","select","dataLabelHeightChanged"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"]],template:function(r,n){1&r&&(e.TgZ(0,"ngx-charts-chart",0),e.NdJ("legendLabelClick",function(B){return n.onClick(B)})("legendLabelActivate",function(B){return n.onActivate(B,!0)})("legendLabelDeactivate",function(B){return n.onDeactivate(B,!0)}),e.O4$(),e.TgZ(1,"g",1),e.YNc(2,lp,1,11,"g",2),e.YNc(3,s4,1,9,"g",3),e.TgZ(4,"g",4),e.NdJ("activate",function(B){return n.onActivate(B)})("deactivate",function(B){return n.onDeactivate(B)})("select",function(B){return n.onClick(B)})("dataLabelHeightChanged",function(B){return n.onDataLabelMaxHeightChanged(B)}),e.qZA()()()),2&r&&(e.Q6J("view",e.WLB(22,Va,n.width,n.height))("showLegend",n.legend)("legendOptions",n.legendOptions)("activeEntries",n.activeEntries)("animations",n.animations),e.xp6(1),e.uIk("transform",n.transform),e.xp6(1),e.Q6J("ngIf",n.xAxis),e.xp6(1),e.Q6J("ngIf",n.yAxis),e.xp6(1),e.Q6J("xScale",n.xScale)("yScale",n.yScale)("colors",n.colors)("series",n.results)("dims",n.dims)("gradient",n.gradient)("tooltipDisabled",n.tooltipDisabled)("tooltipTemplate",n.tooltipTemplate)("showDataLabel",n.showDataLabel)("dataLabelFormatting",n.dataLabelFormatting)("activeEntries",n.activeEntries)("roundEdges",n.roundEdges)("animations",n.animations)("noBarWhenZero",n.noBarWhenZero))},dependencies:[Wa,go,no,Nl,t.O5],styles:[to],encapsulation:2,changeDetection:0});class g1 extends Ka{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=fr.Right,this.tooltipDisabled=!1,this.scaleType=Di.Ordinal,this.showGridLines=!0,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.groupPadding=16,this.barPadding=8,this.roundDomains=!1,this.roundEdges=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.activate=new 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=ka,this.trackBy=(r,n)=>n.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=_r({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(r,n){r.size.negative?this.dataLabelMaxHeight.negative=Math.max(this.dataLabelMaxHeight.negative,r.size.height):this.dataLabelMaxHeight.positive=Math.max(this.dataLabelMaxHeight.positive,r.size.height),n===this.results.length-1&&setTimeout(()=>this.update())}getGroupScale(){const r=this.groupDomain.length/(this.dims.height/this.groupPadding+1);return Jr().rangeRound([0,this.dims.width]).paddingInner(r).paddingOuter(r/2).domain(this.groupDomain)}getInnerScale(){const r=this.groupScale.bandwidth(),n=this.innerDomain.length/(r/this.barPadding+1);return Jr().rangeRound([0,r]).paddingInner(n).domain(this.innerDomain)}getValueScale(){const r=Ha().range([this.dims.height,0]).domain(this.valueDomain);return this.roundDomains?r.nice():r}getGroupDomain(){const r=[];for(const n of this.results)r.includes(n.label)||r.push(n.label);return r}getInnerDomain(){const r=[];for(const n of this.results)for(const b of n.series)r.includes(b.label)||r.push(b.label);return r}getValueDomain(){const r=[];for(const B of this.results)for(const j of B.series)r.includes(j.value)||r.push(j.value);return[Math.min(0,...r),this.yScaleMax?Math.max(this.yScaleMax,...r):Math.max(0,...r)]}groupTransform(r){return`translate(${this.groupScale(r.label)}, 0)`}onClick(r,n){n&&(r.series=n.name),this.select.emit(r)}setColors(){let r;r=this.schemeType===Di.Ordinal?this.innerDomain:this.valueDomain,this.colors=new Rr(this.scheme,this.schemeType,r,this.customColors)}getLegendOptions(){const r={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return r.scaleType===Di.Ordinal?(r.domain=this.innerDomain,r.colors=this.colors,r.title=this.legendTitle):(r.domain=this.valueDomain,r.colors=this.colors.scale),r}updateYAxisWidth({width:r}){this.yAxisWidth=r,this.update()}updateXAxisHeight({height:r}){this.xAxisHeight=r,this.update()}onActivate(r,n,b=!1){const B=Object.assign({},r);n&&(B.series=n.name);const j=this.results.map(ue=>ue.series).flat().filter(ue=>b?ue.label===B.name:ue.name===B.name&&ue.series===B.series);this.activeEntries=[...j],this.activate.emit({value:B,entries:this.activeEntries})}onDeactivate(r,n,b=!1){const B=Object.assign({},r);n&&(B.series=n.name),this.activeEntries=this.activeEntries.filter(j=>b?j.label!==B.name:!(j.name===B.name&&j.series===B.series)),this.deactivate.emit({value:B,entries:this.activeEntries})}}g1.\u0275fac=function(){let u;return function(n){return(u||(u=e.n5z(g1)))(n||g1)}}(),g1.\u0275cmp=e.Xpm({type:g1,selectors:[["ngx-charts-bar-vertical-2d"]],contentQueries:function(r,n,b){if(1&r&&e.Suo(b,Pr,5),2&r){let B;e.iGM(B=e.CRH())&&(n.tooltipTemplate=B.first)}},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",tooltipDisabled:"tooltipDisabled",scaleType:"scaleType",gradient:"gradient",showGridLines:"showGridLines",activeEntries:"activeEntries",schemeType:"schemeType",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",groupPadding:"groupPadding",barPadding:"barPadding",roundDomains:"roundDomains",roundEdges:"roundEdges",yScaleMax:"yScaleMax",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero"},outputs:{activate:"activate",deactivate:"deactivate"},features:[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","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],[4,"ngIf"],["ngx-charts-x-axis","",3,"xScale","dims","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-series-vertical","",3,"activeEntries","xScale","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","showDataLabel","dataLabelFormatting","seriesName","roundEdges","animations","noBarWhenZero","select","activate","deactivate","dataLabelHeightChanged",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-series-vertical","",3,"activeEntries","xScale","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","showDataLabel","dataLabelFormatting","seriesName","roundEdges","animations","noBarWhenZero","select","activate","deactivate","dataLabelHeightChanged"]],template:function(r,n){1&r&&(e.TgZ(0,"ngx-charts-chart",0),e.NdJ("legendLabelActivate",function(B){return n.onActivate(B,void 0,!0)})("legendLabelDeactivate",function(B){return n.onDeactivate(B,void 0,!0)})("legendLabelClick",function(B){return n.onClick(B)}),e.O4$(),e.TgZ(1,"g",1),e._UZ(2,"g",2),e.YNc(3,c4,1,10,"g",3),e.YNc(4,l4,1,9,"g",4),e.YNc(5,d4,2,2,"g",5),e.qZA(),e.YNc(6,Lf,2,2,"g",5),e.qZA()),2&r&&(e.Q6J("view",e.WLB(15,Va,n.width,n.height))("showLegend",n.legend)("legendOptions",n.legendOptions)("activeEntries",n.activeEntries)("animations",n.animations),e.xp6(1),e.uIk("transform",n.transform),e.xp6(1),e.Q6J("xScale",n.groupScale)("yScale",n.valueScale)("data",n.results)("dims",n.dims)("orient",n.barOrientation.Vertical),e.xp6(1),e.Q6J("ngIf",n.xAxis),e.xp6(1),e.Q6J("ngIf",n.yAxis),e.xp6(1),e.Q6J("ngIf",!n.isSSR),e.xp6(1),e.Q6J("ngIf",n.isSSR))},dependencies:[Wa,u1,go,no,Nl,t.O5,t.sg],styles:[to],encapsulation:2,data:{animation:[(0,d.X$)("animationState",[(0,d.eR)(":leave",[(0,d.oB)({opacity:1,transform:"*"}),(0,d.jt)(500,(0,d.oB)({opacity:0,transform:"scale(0)"}))])])]},changeDetection:0});class v1 extends Ka{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=fr.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.noBarWhenZero=!0,this.activate=new e.vpe,this.deactivate=new e.vpe,this.valueDomain=[0,100],this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.isSSR=!1,this.barChartType=gr,this.trackBy=(r,n)=>n.name}ngOnInit(){(0,t.PM)(this.platformId)&&(this.isSSR=!0)}update(){super.update(),this.dims=_r({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.groupDomain=this.getGroupDomain(),this.innerDomain=this.getInnerDomain(),this.xScale=this.getXScale(),this.yScale=this.getYScale(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]})`}getGroupDomain(){const r=[];for(const n of this.results)r.includes(n.label)||r.push(n.label);return r}getInnerDomain(){const r=[];for(const n of this.results)for(const b of n.series)r.includes(b.label)||r.push(b.label);return r}getXScale(){const r=this.groupDomain.length/(this.dims.width/this.barPadding+1);return Jr().rangeRound([0,this.dims.width]).paddingInner(r).domain(this.groupDomain)}getYScale(){const r=Ha().range([this.dims.height,0]).domain(this.valueDomain);return this.roundDomains?r.nice():r}groupTransform(r){return`translate(${this.xScale(r.name)}, 0)`}onClick(r,n){n&&(r.series=n.name),this.select.emit(r)}setColors(){let r;r=this.schemeType===Di.Ordinal?this.innerDomain:this.valueDomain,this.colors=new Rr(this.scheme,this.schemeType,r,this.customColors)}getLegendOptions(){const r={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return r.scaleType===Di.Ordinal?(r.domain=this.innerDomain,r.colors=this.colors,r.title=this.legendTitle):(r.domain=this.valueDomain,r.colors=this.colors.scale),r}updateYAxisWidth({width:r}){this.yAxisWidth=r,this.update()}updateXAxisHeight({height:r}){this.xAxisHeight=r,this.update()}onActivate(r,n,b=!1){const B=Object.assign({},r);n&&(B.series=n.name);const j=this.results.map(ue=>ue.series).flat().filter(ue=>b?ue.label===B.name:ue.name===B.name&&ue.series===B.series);this.activeEntries=[...j],this.activate.emit({value:B,entries:this.activeEntries})}onDeactivate(r,n,b=!1){const B=Object.assign({},r);n&&(B.series=n.name),this.activeEntries=this.activeEntries.filter(j=>b?j.label!==B.name:!(j.name===B.name&&j.series===B.series)),this.deactivate.emit({value:B,entries:this.activeEntries})}}v1.\u0275fac=function(){let u;return function(n){return(u||(u=e.n5z(v1)))(n||v1)}}(),v1.\u0275cmp=e.Xpm({type:v1,selectors:[["ngx-charts-bar-vertical-normalized"]],contentQueries:function(r,n,b){if(1&r&&e.Suo(b,Pr,5),2&r){let B;e.iGM(B=e.CRH())&&(n.tooltipTemplate=B.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",noBarWhenZero:"noBarWhenZero"},outputs:{activate:"activate",deactivate:"deactivate"},features:[e.qOj],decls:6,vars:13,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelActivate","legendLabelDeactivate","legendLabelClick"],[1,"bar-chart","chart"],["ngx-charts-x-axis","",3,"xScale","dims","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],[4,"ngIf"],["ngx-charts-x-axis","",3,"xScale","dims","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],[4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-series-vertical","",3,"type","xScale","yScale","activeEntries","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","seriesName","animations","noBarWhenZero","select","activate","deactivate"]],template:function(r,n){1&r&&(e.TgZ(0,"ngx-charts-chart",0),e.NdJ("legendLabelActivate",function(B){return n.onActivate(B,void 0,!0)})("legendLabelDeactivate",function(B){return n.onDeactivate(B,void 0,!0)})("legendLabelClick",function(B){return n.onClick(B)}),e.O4$(),e.TgZ(1,"g",1),e.YNc(2,Of,1,9,"g",2),e.YNc(3,Sf,1,9,"g",3),e.YNc(4,kf,2,2,"g",4),e.YNc(5,a1,2,2,"g",4),e.qZA()()),2&r&&(e.Q6J("view",e.WLB(10,Va,n.width,n.height))("showLegend",n.legend)("legendOptions",n.legendOptions)("activeEntries",n.activeEntries)("animations",n.animations),e.xp6(1),e.uIk("transform",n.transform),e.xp6(1),e.Q6J("ngIf",n.xAxis),e.xp6(1),e.Q6J("ngIf",n.yAxis),e.xp6(1),e.Q6J("ngIf",!n.isSSR),e.xp6(1),e.Q6J("ngIf",n.isSSR))},dependencies:[Wa,go,no,Nl,t.O5,t.sg],styles:[to],encapsulation:2,data:{animation:[(0,d.X$)("animationState",[(0,d.eR)(":leave",[(0,d.oB)({opacity:1,transform:"*"}),(0,d.jt)(500,(0,d.oB)({opacity:0,transform:"scale(0)"}))])])]},changeDetection:0});class R2 extends Ka{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=fr.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.showDataLabel=!1,this.noBarWhenZero=!0,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.barChartType=gr,this.trackBy=(r,n)=>n.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=_r({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.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})`}getGroupDomain(){const r=[];for(const n of this.results)r.includes(n.label)||r.push(n.label);return r}getInnerDomain(){const r=[];for(const n of this.results)for(const b of n.series)r.includes(b.label)||r.push(b.label);return r}getValueDomain(){const r=[];let n=0,b=0;for(const ue of this.results){let Se=0,mt=0;for(const xt of ue.series)xt.value<0?Se+=xt.value:mt+=xt.value,n=xt.value<n?xt.value:n,b=xt.value>b?xt.value:b;r.push(Se),r.push(mt)}r.push(n),r.push(b);return[Math.min(0,...r),this.yScaleMax?Math.max(this.yScaleMax,...r):Math.max(...r)]}getXScale(){const r=this.groupDomain.length/(this.dims.width/this.barPadding+1);return Jr().rangeRound([0,this.dims.width]).paddingInner(r).domain(this.groupDomain)}getYScale(){const r=Ha().range([this.dims.height,0]).domain(this.valueDomain);return this.roundDomains?r.nice():r}onDataLabelMaxHeightChanged(r,n){r.size.negative?this.dataLabelMaxHeight.negative=Math.max(this.dataLabelMaxHeight.negative,r.size.height):this.dataLabelMaxHeight.positive=Math.max(this.dataLabelMaxHeight.positive,r.size.height),n===this.results.length-1&&setTimeout(()=>this.update())}groupTransform(r){return`translate(${this.xScale(r.name)||0}, 0)`}onClick(r,n){n&&(r.series=n.name),this.select.emit(r)}setColors(){let r;r=this.schemeType===Di.Ordinal?this.innerDomain:this.valueDomain,this.colors=new Rr(this.scheme,this.schemeType,r,this.customColors)}getLegendOptions(){const r={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return r.scaleType===Di.Ordinal?(r.domain=this.innerDomain,r.colors=this.colors,r.title=this.legendTitle):(r.domain=this.valueDomain,r.colors=this.colors.scale),r}updateYAxisWidth({width:r}){this.yAxisWidth=r,this.update()}updateXAxisHeight({height:r}){this.xAxisHeight=r,this.update()}onActivate(r,n,b=!1){const B=Object.assign({},r);n&&(B.series=n.name);const j=this.results.map(ue=>ue.series).flat().filter(ue=>b?ue.label===B.name:ue.name===B.name&&ue.series===B.series);this.activeEntries=[...j],this.activate.emit({value:B,entries:this.activeEntries})}onDeactivate(r,n,b=!1){const B=Object.assign({},r);n&&(B.series=n.name),this.activeEntries=this.activeEntries.filter(j=>b?j.label!==B.name:!(j.name===B.name&&j.series===B.series)),this.deactivate.emit({value:B,entries:this.activeEntries})}}R2.\u0275fac=function(){let u;return function(n){return(u||(u=e.n5z(R2)))(n||R2)}}(),R2.\u0275cmp=e.Xpm({type:R2,selectors:[["ngx-charts-bar-vertical-stacked"]],contentQueries:function(r,n,b){if(1&r&&e.Suo(b,Pr,5),2&r){let B;e.iGM(B=e.CRH())&&(n.tooltipTemplate=B.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",yScaleMax:"yScaleMax",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero"},outputs:{activate:"activate",deactivate:"deactivate"},features:[e.qOj],decls:6,vars:13,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelActivate","legendLabelDeactivate","legendLabelClick"],[1,"bar-chart","chart"],["ngx-charts-x-axis","",3,"xScale","dims","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],[4,"ngIf"],["ngx-charts-x-axis","",3,"xScale","dims","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],[4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-series-vertical","",3,"type","xScale","yScale","activeEntries","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","showDataLabel","dataLabelFormatting","seriesName","animations","noBarWhenZero","select","activate","deactivate","dataLabelHeightChanged"]],template:function(r,n){1&r&&(e.TgZ(0,"ngx-charts-chart",0),e.NdJ("legendLabelActivate",function(B){return n.onActivate(B,void 0,!0)})("legendLabelDeactivate",function(B){return n.onDeactivate(B,void 0,!0)})("legendLabelClick",function(B){return n.onClick(B)}),e.O4$(),e.TgZ(1,"g",1),e.YNc(2,u4,1,10,"g",2),e.YNc(3,Jh,1,9,"g",3),e.YNc(4,p4,2,2,"g",4),e.qZA(),e.YNc(5,f4,2,2,"g",4),e.qZA()),2&r&&(e.Q6J("view",e.WLB(10,Va,n.width,n.height))("showLegend",n.legend)("legendOptions",n.legendOptions)("activeEntries",n.activeEntries)("animations",n.animations),e.xp6(1),e.uIk("transform",n.transform),e.xp6(1),e.Q6J("ngIf",n.xAxis),e.xp6(1),e.Q6J("ngIf",n.yAxis),e.xp6(1),e.Q6J("ngIf",!n.isSSR),e.xp6(1),e.Q6J("ngIf",n.isSSR))},dependencies:[Wa,go,no,Nl,t.O5,t.sg],styles:[to],encapsulation:2,data:{animation:[(0,d.X$)("animationState",[(0,d.eR)(":leave",[(0,d.oB)({opacity:1,transform:"*"}),(0,d.jt)(500,(0,d.oB)({opacity:0,transform:"scale(0)"}))])])]},changeDetection:0});class b1{}b1.\u0275fac=function(r){return new(r||b1)},b1.\u0275mod=e.oAB({type:b1}),b1.\u0275inj=e.cJS({imports:[[To]]});class B2{constructor(r,n){this.cd=n,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.BarOrientation=ka,this.initialized=!1,this.hasGradient=!1,this.hideBar=!1,this.nativeElm=r.nativeElement}ngOnChanges(r){this.initialized?this.update():(this.loadAnimation(),this.initialized=!0)}update(){this.boxStrokeWidth=Math.max(this.strokeWidth,1),this.whiskerStrokeWidth=Math.max(this.strokeWidth/2,1),this.medianLineWidth=1.5*this.strokeWidth,this.gradientId="grad"+qo().toString(),this.gradientFill=`url(#${this.gradientId})`,this.gradient?(this.gradientStops=this.getGradient(),this.hasGradient=!0):this.hasGradient=!1,this.updateLineEl(),this.updatePathEl(),this.checkToHideBar(),this.maskLineId="mask"+qo().toString(),this.maskLine=`url(#${this.maskLineId})`,this.cd&&this.cd.markForCheck()}loadAnimation(){this.boxPath=this.oldPath=this.getStartingPath(),this.oldLineCoordinates=this.getStartingLineCoordinates(),setTimeout(this.update.bind(this),100)}updatePathEl(){const r=Rt(this.nativeElm).selectAll(".bar"),n=this.getPath();this.animations?r.attr("d",this.oldPath).transition().ease(ic).duration(500).attrTween("d",this.pathTween(n,4)):r.attr("d",n),this.oldPath=n}updateLineEl(){const r=Rt(this.nativeElm).selectAll(".bar-line"),n=this.lineCoordinates,b=this.oldLineCoordinates;this.animations?r.attr("x1",(B,j)=>b[j].v1.x).attr("y1",(B,j)=>b[j].v1.y).attr("x2",(B,j)=>b[j].v2.x).attr("y2",(B,j)=>b[j].v2.y).transition().ease(ic).duration(500).attr("x1",(B,j)=>n[j].v1.x).attr("y1",(B,j)=>n[j].v1.y).attr("x2",(B,j)=>n[j].v2.x).attr("y2",(B,j)=>n[j].v2.y):r.attr("x1",(B,j)=>n[j].v1.x).attr("y1",(B,j)=>n[j].v1.y).attr("x2",(B,j)=>n[j].v2.x).attr("y2",(B,j)=>n[j].v2.y),this.oldLineCoordinates=[...n]}lineTween(r,n,b,B){return B[b][r].baseVal.value}pathTween(r,n){return function(){const b=this,B=this.cloneNode();B.setAttribute("d",r);const j=b?.getTotalLength(),ue=B?.getTotalLength(),Se=[0];let mt=0;const xt=n/Math.max(j,ue);for(;mt<1;)Se.push(mt),mt+=xt;Se.push(1);const At=Se.map(qt=>{const Ft=b.getPointAtLength(qt*j),Ci=B.getPointAtLength(qt*ue);return Qa([Ft.x,Ft.y],[Ci.x,Ci.y])});return qt=>qt<1?"M"+At.map(Ft=>Ft(qt)).join("L"):r}}getStartingPath(){if(!this.animations)return this.getPath();const r=this.roundEdges?1:0,{x:n,y:b}=this.lineCoordinates[2].v1;return sc(n-this.width,b-1,this.width,2,r,this.edges)}getPath(){const r=this.getRadius();let n="";return n=sc(this.x,this.y,this.width,this.height,Math.min(this.height,r),this.edges),n}getStartingLineCoordinates(){if(!this.animations)return[...this.lineCoordinates];const r=Km(this.lineCoordinates);return r[1].v1.y=r[1].v2.y=r[3].v1.y=r[3].v2.y=r[0].v1.y=r[0].v2.y=r[2].v1.y,r}getRadius(){let r=0;return this.roundEdges&&this.height>5&&this.width>5&&(r=Math.floor(Math.min(5,this.height/2,this.width/2))),r}getGradient(){return[{offset:0,color:this.fill,opacity:this.getStartOpacity()},{offset:100,color:this.fill,opacity:1}]}getStartOpacity(){return this.roundEdges?.2:.5}get edges(){let r=[!1,!1,!1,!1];return this.roundEdges&&(r=[!0,!0,!0,!0]),r}onMouseEnter(){this.activate.emit(this.data)}onMouseLeave(){this.deactivate.emit(this.data)}checkToHideBar(){this.hideBar=this.noBarWhenZero&&0===this.height}}B2.\u0275fac=function(r){return new(r||B2)(e.Y36(e.SBq),e.Y36(e.sBO))},B2.\u0275cmp=e.Xpm({type:B2,selectors:[["g","ngx-charts-box",""]],hostBindings:function(r,n){1&r&&e.NdJ("mouseenter",function(){return n.onMouseEnter()})("mouseleave",function(){return n.onMouseLeave()})},inputs:{strokeColor:"strokeColor",strokeWidth:"strokeWidth",fill:"fill",data:"data",width:"width",height:"height",x:"x",y:"y",lineCoordinates:"lineCoordinates",roundEdges:"roundEdges",gradient:"gradient",gradientStops:"gradientStops",offset:"offset",isActive:"isActive",animations:"animations",ariaLabel:"ariaLabel",noBarWhenZero:"noBarWhenZero"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[e.TTD],attrs:["ngx-charts-box",""],decls:9,vars:13,consts:[["ngx-charts-svg-linear-gradient","",3,"orientation","name","stops",4,"ngIf"],["height","100%","width","100%","fill","white","fill-opacity","1"],["fill","black","fill-opacity","1",1,"bar"],["role","img","tabIndex","-1",1,"bar",3,"click"],["class","bar-line","fill","none",3,"hidden",4,"ngFor","ngForOf"],["ngx-charts-svg-linear-gradient","",3,"orientation","name","stops"],["fill","none",1,"bar-line"]],template:function(r,n){1&r&&(e.O4$(),e.TgZ(0,"defs"),e.YNc(1,$h,1,3,"g",0),e.TgZ(2,"mask")(3,"g"),e._UZ(4,"rect",1)(5,"path",2),e.qZA()()(),e.TgZ(6,"g")(7,"path",3),e.NdJ("click",function(){return n.select.emit(n.data)}),e.qZA(),e.YNc(8,Yo,1,9,"line",4),e.qZA()),2&r&&(e.xp6(1),e.Q6J("ngIf",n.hasGradient),e.xp6(1),e.uIk("id",n.maskLineId),e.xp6(3),e.uIk("d",n.boxPath),e.xp6(2),e.ekj("active",n.isActive)("hidden",n.hideBar),e.uIk("d",n.boxPath)("stroke",n.strokeColor)("stroke-width",n.boxStrokeWidth)("aria-label",n.ariaLabel)("fill",n.hasGradient?n.gradientFill:n.fill),e.xp6(1),e.Q6J("ngForOf",n.lineCoordinates))},dependencies:[cc,t.O5,t.sg],encapsulation:2,changeDetection:0});class ou{constructor(){this.animations=!0,this.tooltipDisabled=!1,this.gradient=!1,this.select=new e.vpe,this.activate=new e.vpe,this.deactivate=new e.vpe}ngOnChanges(r){this.update()}onClick(r){this.select.emit(r)}update(){this.updateTooltipSettings();const r=this.series&&this.series.series.length?Math.round(this.xScale.bandwidth()):null,n=this.series.name;this.counts=this.series.series;const b=this.counts.map(At=>Number(At.value));this.whiskers=[jd(b),rd(b)];const B=this.counts.map(At=>At.value).sort((At,qt)=>Number(At)-Number(qt));this.quartiles=this.getBoxQuantiles(B),this.lineCoordinates=this.getLinesCoordinates(n.toString(),this.whiskers,this.quartiles,r);const j=this.quartiles[1],ue=Kr(n),Se={value:j,data:this.counts,label:n,formattedLabel:ue,width:r,height:0,x:0,y:0,roundEdges:this.roundEdges,quartiles:this.quartiles,lineCoordinates:this.lineCoordinates};Se.height=Math.abs(this.yScale(this.quartiles[0])-this.yScale(this.quartiles[2])),Se.x=this.xScale(n.toString()),Se.y=this.yScale(this.quartiles[2]),Se.ariaLabel=ue+" - Median: "+j.toLocaleString(),this.colors.scaleType===Di.Ordinal?Se.color=this.colors.getColor(n):(Se.color=this.colors.getColor(this.quartiles[1]),Se.gradientStops=this.colors.getLinearGradientStops(this.quartiles[0],this.quartiles[2]));const xt=`\n <span class="tooltip-label">${_o(ue)}</span>\n <span class="tooltip-val">\n \u2022 Q1: ${this.quartiles[0]} \u2022 Q2: ${this.quartiles[1]} \u2022 Q3: ${this.quartiles[2]}<br>\n \u2022 Min: ${this.whiskers[0]} \u2022 Max: ${this.whiskers[1]}\n </span>`;Se.tooltipText=this.tooltipDisabled?void 0:xt,this.tooltipTitle=this.tooltipDisabled?void 0:Se.tooltipText,this.box=Se}getBoxQuantiles(r){return[Rh(r,.25),Rh(r,.5),Rh(r,.75)]}getLinesCoordinates(r,n,b,B){const ue=this.xScale(r)+B/2,Se=Math.max(B+4*this.strokeWidth,1),mt=Math.max(B/3,1),xt=this.yScale(n[0]),At=this.yScale(n[1]),qt=this.yScale(b[1]);return[{v1:{x:ue,y:xt},v2:{x:ue,y:At}},{v1:{x:ue+mt/2,y:xt},v2:{x:ue-mt/2,y:xt}},{v1:{x:ue+Se/2,y:qt},v2:{x:ue-Se/2,y:qt}},{v1:{x:ue+mt/2,y:At},v2:{x:ue-mt/2,y:At}}]}updateTooltipSettings(){this.tooltipDisabled?(this.tooltipPlacement=void 0,this.tooltipType=void 0):(this.tooltipPlacement||(this.tooltipPlacement=Rn.Top),this.tooltipType||(this.tooltipType=Qo.tooltip))}}ou.\u0275fac=function(r){return new(r||ou)},ou.\u0275cmp=e.Xpm({type:ou,selectors:[["g","ngx-charts-box-series",""]],inputs:{dims:"dims",series:"series",xScale:"xScale",yScale:"yScale",colors:"colors",animations:"animations",strokeColor:"strokeColor",strokeWidth:"strokeWidth",tooltipDisabled:"tooltipDisabled",tooltipTemplate:"tooltipTemplate",tooltipPlacement:"tooltipPlacement",tooltipType:"tooltipType",roundEdges:"roundEdges",gradient:"gradient"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[e.TTD],attrs:["ngx-charts-box-series",""],decls:1,vars:22,consts:[["ngx-charts-box","","ngx-tooltip","",3,"width","height","x","y","roundEdges","fill","gradientStops","strokeColor","strokeWidth","data","lineCoordinates","gradient","ariaLabel","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","animations","select","activate","deactivate"]],template:function(r,n){1&r&&(e.O4$(),e.TgZ(0,"g",0),e.NdJ("select",function(B){return n.onClick(B)})("activate",function(B){return n.activate.emit(B)})("deactivate",function(B){return n.deactivate.emit(B)}),e.qZA()),2&r&&e.Q6J("@animationState","active")("@.disabled",!n.animations)("width",n.box.width)("height",n.box.height)("x",n.box.x)("y",n.box.y)("roundEdges",n.box.roundEdges)("fill",n.box.color)("gradientStops",n.box.gradientStops)("strokeColor",n.strokeColor)("strokeWidth",n.strokeWidth)("data",n.box.data)("lineCoordinates",n.box.lineCoordinates)("gradient",n.gradient)("ariaLabel",n.box.ariaLabel)("tooltipDisabled",n.tooltipDisabled)("tooltipPlacement",n.tooltipPlacement)("tooltipType",n.tooltipType)("tooltipTitle",n.tooltipTitle)("tooltipTemplate",n.tooltipTemplate)("tooltipContext",n.box.data)("animations",n.animations)},dependencies:[B2,hs],encapsulation:2,data:{animation:[(0,d.X$)("animationState",[(0,d.eR)(":leave",[(0,d.oB)({opacity:1}),(0,d.jt)(500,(0,d.oB)({opacity:0}))])])]},changeDetection:0});class il extends Ka{constructor(){super(...arguments),this.legend=!1,this.legendPosition=fr.Right,this.legendTitle="Legend",this.showGridLines=!0,this.xAxis=!0,this.yAxis=!0,this.showXAxisLabel=!0,this.showYAxisLabel=!0,this.roundDomains=!1,this.roundEdges=!0,this.strokeColor="#FFFFFF",this.strokeWidth=2,this.tooltipDisabled=!1,this.select=new e.vpe,this.activate=new e.vpe,this.deactivate=new e.vpe,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0}trackBy(r,n){return n.name}update(){super.update(),this.dims=_r({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,legendPosition:this.legendPosition}),this.xDomain=this.getXDomain(),this.yDomain=this.getYDomain(),this.seriesDomain=this.getSeriesDomain(),this.setScales(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]})`}setColors(){let r=[];r=this.schemeType===Di.Ordinal?this.seriesDomain:this.yDomain,this.colors=new Rr(this.scheme,this.schemeType,r,this.customColors)}setScales(){this.xScale=this.getXScale(this.xDomain,this.dims.width),this.yScale=this.getYScale(this.yDomain,this.dims.height)}getXScale(r,n){return Jr().domain(r.map(B=>B.toString())).rangeRound([0,n]).padding(.5)}getYScale(r,n){const b=Ha().domain(r).range([n,0]);return this.roundDomains?b.nice():b}getUniqueBoxChartXDomainValues(r){const n=new Set;for(const b of r)n.add(b.name);return Array.from(n)}getXDomain(){let r=[];const n=this.getUniqueBoxChartXDomainValues(this.results);let b,B;if("string"==typeof n[0])r=n.map(j=>j.toString());else if("number"==typeof n[0]){const j=n.map(ue=>Number(ue));b=Math.min(...j),B=Math.max(...j),r=[b,B]}else{const j=n.map(ue=>Number(new Date(ue)));b=Math.min(...j),B=Math.max(...j),r=[new Date(b),new Date(B)]}return r}getYDomain(){const r=[];for(const ue of this.results)for(const Se of ue.series)r.indexOf(Se.value)<0&&r.push(Se.value);const b=[...r].map(ue=>Number(ue));return[Math.min(...b),Math.max(...b)]}getSeriesDomain(){return this.results.map(r=>`${r.name}`)}updateYAxisWidth({width:r}){this.yAxisWidth=r,this.update()}updateXAxisHeight({height:r}){this.xAxisHeight=r,this.update()}onClick(r){this.select.emit(r)}onActivate(r){this.activate.emit(r)}onDeactivate(r){this.deactivate.emit(r)}getLegendOptions(){const r={scaleType:this.schemeType,colors:this.colors,domain:[],position:this.legendPosition,title:this.legendTitle};return this.schemeType===Di.Ordinal?(r.domain=this.xDomain,r.colors=this.colors):(r.domain=this.yDomain,r.colors=this.colors.scale),r}}il.\u0275fac=function(){let u;return function(n){return(u||(u=e.n5z(il)))(n||il)}}(),il.\u0275cmp=e.Xpm({type:il,selectors:[["ngx-charts-box-chart"]],contentQueries:function(r,n,b){if(1&r&&e.Suo(b,Pr,5),2&r){let B;e.iGM(B=e.CRH())&&(n.tooltipTemplate=B.first)}},inputs:{legend:"legend",legendPosition:"legendPosition",legendTitle:"legendTitle",legendOptionsConfig:"legendOptionsConfig",showGridLines:"showGridLines",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",roundDomains:"roundDomains",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",roundEdges:"roundEdges",strokeColor:"strokeColor",strokeWidth:"strokeWidth",tooltipDisabled:"tooltipDisabled",gradient:"gradient"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[e.qOj],decls:6,vars:21,consts:[[3,"view","showLegend","legendOptions","animations","legendLabelClick","legendLabelActivate","legendLabelDeactivate"],[1,"box-chart","chart"],["ngx-charts-x-axis","",3,"showGridLines","dims","xScale","showLabel","labelText","dimensionsChanged"],["ngx-charts-y-axis","",3,"showGridLines","dims","yScale","showLabel","labelText","dimensionsChanged"],[4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-box-series","",3,"xScale","yScale","colors","roundEdges","strokeColor","strokeWidth","tooltipDisabled","tooltipTemplate","series","dims","animations","gradient","activate","deactivate","select"]],template:function(r,n){1&r&&(e.TgZ(0,"ngx-charts-chart",0),e.NdJ("legendLabelClick",function(B){return n.onClick(B)})("legendLabelActivate",function(B){return n.onActivate(B)})("legendLabelDeactivate",function(B){return n.onDeactivate(B)}),e.O4$(),e.TgZ(1,"g",1)(2,"g",2),e.NdJ("dimensionsChanged",function(B){return n.updateXAxisHeight(B)}),e.qZA(),e.TgZ(3,"g",3),e.NdJ("dimensionsChanged",function(B){return n.updateYAxisWidth(B)}),e.qZA()(),e.TgZ(4,"g"),e.YNc(5,z0,2,12,"g",4),e.qZA()()),2&r&&(e.Q6J("view",e.WLB(18,Va,n.width,n.height))("showLegend",n.legend)("legendOptions",n.legendOptions)("animations",n.animations),e.xp6(1),e.uIk("transform",n.transform),e.xp6(1),e.Q6J("showGridLines",n.showGridLines)("dims",n.dims)("xScale",n.xScale)("showLabel",n.showXAxisLabel)("labelText",n.xAxisLabel),e.xp6(1),e.Q6J("showGridLines",n.showGridLines)("dims",n.dims)("yScale",n.yScale)("showLabel",n.showYAxisLabel)("labelText",n.yAxisLabel),e.xp6(1),e.uIk("transform",n.transform),e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy))},dependencies:[Wa,go,no,ou,t.sg],styles:[to],encapsulation:2,changeDetection:0});class N2{}function m3(u,r,n,b,B){let j=[];if(r===Di.Linear&&(u=u.map(ue=>Number(ue)),n||u.push(0)),r===Di.Time||r===Di.Linear){j=[b||Math.min(...u),B||Math.max(...u)]}else j=u;return j}function Pp(u,r,n,b){switch(n){case Di.Time:return jc().range(r).domain(u);case Di.Linear:{const B=Ha().range(r).domain(u);return b?B.nice():B}case Di.Ordinal:return qa().range([r[0],r[1]]).domain(u.map(B=>B.toString()));default:return}}N2.\u0275fac=function(r){return new(r||N2)},N2.\u0275mod=e.oAB({type:N2}),N2.\u0275inj=e.cJS({imports:[[To]]});class wd{constructor(r){this.platformId=r,this.tooltipDisabled=!1,this.select=new e.vpe,this.activate=new e.vpe,this.deactivate=new e.vpe,this.placementTypes=Rn,this.styleTypes=Qo,this.isSSR=!1}ngOnInit(){(0,t.PM)(this.platformId)&&(this.isSSR=!0)}ngOnChanges(r){this.update()}update(){this.circles=this.getCircles()}getCircles(){const r=this.data.name;return this.data.series.map((n,b)=>{if(typeof n.y<"u"&&typeof n.x<"u"){const B=n.y,j=n.x,ue=n.r,Se=this.rScale(ue||1),mt=Kr(n.name),xt=this.xScaleType===Di.Linear?this.xScale(Number(j)):this.xScale(j),At=this.yScaleType===Di.Linear?this.yScale(Number(B)):this.yScale(B),qt=this.colors.scaleType===Di.Linear?this.colors.getColor(ue):this.colors.getColor(r),Ft=!this.activeEntries.length||this.isActive({name:r}),Ci=Ft?1:.3;return{data:Object.assign({},n,{series:r,name:n.name,value:n.y,x:n.x,radius:n.r}),x:j,y:B,r:ue,classNames:[`circle-data-${b}`],value:B,label:j,cx:xt,cy:At,radius:Se,tooltipLabel:mt,color:qt,opacity:Ci,seriesName:r,isActive:Ft,transform:`translate(${xt},${At})`}}}).filter(n=>void 0!==n)}getTooltipText(r){const n=typeof r.r<"u",b=r.tooltipLabel&&r.tooltipLabel.length,B=r.seriesName&&r.seriesName.length,j=n?Kr(r.r):"",ue=this.xAxisLabel&&""!==this.xAxisLabel?`${this.xAxisLabel}:`:"",Se=this.yAxisLabel&&""!==this.yAxisLabel?`${this.yAxisLabel}:`:"",mt=Kr(r.x),xt=Kr(r.y),At=B&&b?`${r.seriesName} \u2022 ${r.tooltipLabel}`:r.seriesName+r.tooltipLabel;return`\n ${B||b?`<span class="tooltip-label">${_o(At)}</span>`:""}\n <span class="tooltip-label">\n <label>${_o(ue)}</label> ${_o(mt)}<br />\n <label>${_o(Se)}</label> ${_o(xt)}\n </span>\n <span class="tooltip-val">\n ${_o(j)}\n </span>\n `}onClick(r){this.select.emit(r)}isActive(r){return!!this.activeEntries&&void 0!==this.activeEntries.find(b=>r.name===b.name)}isVisible(r){return this.activeEntries.length>0?this.isActive({name:r.seriesName}):0!==r.opacity}activateCircle(r){r.barVisible=!0,this.activate.emit({name:this.data.name})}deactivateCircle(r){r.barVisible=!1,this.deactivate.emit({name:this.data.name})}trackBy(r,n){return`${n.data.series} ${n.data.name}`}}wd.\u0275fac=function(r){return new(r||wd)(e.Y36(e.Lbi))},wd.\u0275cmp=e.Xpm({type:wd,selectors:[["g","ngx-charts-bubble-series",""]],inputs:{data:"data",xScale:"xScale",yScale:"yScale",rScale:"rScale",xScaleType:"xScaleType",yScaleType:"yScaleType",colors:"colors",visibleValue:"visibleValue",activeEntries:"activeEntries",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",tooltipDisabled:"tooltipDisabled",tooltipTemplate:"tooltipTemplate"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[e.TTD],attrs:["ngx-charts-bubble-series",""],decls:1,vars:2,consts:[[4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-circle","","class","circle","ngx-tooltip","",3,"cx","cy","r","fill","opacity","active","pointerEvents","data","classNames","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","select","activate","deactivate",4,"ngIf"],["ngx-charts-circle","","ngx-tooltip","",1,"circle",3,"cx","cy","r","fill","pointerEvents","data","classNames","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","select","activate","deactivate"]],template:function(r,n){1&r&&e.YNc(0,y2,4,3,"g",0),2&r&&e.Q6J("ngForOf",n.circles)("ngForTrackBy",n.trackBy)},dependencies:[Cd,t.sg,t.O5,hs],encapsulation:2,data:{animation:[(0,d.X$)("animationState",[(0,d.eR)(":enter",[(0,d.oB)({opacity:0,transform:"scale(0)"}),(0,d.jt)(250,(0,d.oB)({opacity:1,transform:"scale(1)"}))])])]},changeDetection:0});class y1 extends Ka{constructor(){super(...arguments),this.showGridLines=!0,this.legend=!1,this.legendTitle="Legend",this.legendPosition=fr.Right,this.xAxis=!0,this.yAxis=!0,this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.roundDomains=!1,this.maxRadius=10,this.minRadius=3,this.schemeType=Di.Ordinal,this.tooltipDisabled=!1,this.activate=new e.vpe,this.deactivate=new e.vpe,this.scaleType=Di.Linear,this.margin=[10,20,10,20],this.bubblePadding=[0,0,0,0],this.xAxisHeight=0,this.yAxisWidth=0,this.activeEntries=[],this.isSSR=!1}ngOnInit(){(0,t.PM)(this.platformId)&&(this.isSSR=!0)}update(){super.update(),this.dims=_r({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.seriesDomain=this.results.map(n=>n.name),this.rDomain=this.getRDomain(),this.xDomain=this.getXDomain(),this.yDomain=this.getYDomain(),this.transform=`translate(${this.dims.xOffset},${this.margin[0]})`;const r=this.schemeType===Di.Ordinal?this.seriesDomain:this.rDomain;this.colors=new Rr(this.scheme,this.schemeType,r,this.customColors),this.data=this.results,this.minRadius=Math.max(this.minRadius,1),this.maxRadius=Math.max(this.maxRadius,1),this.rScale=this.getRScale(this.rDomain,[this.minRadius,this.maxRadius]),this.bubblePadding=[0,0,0,0],this.setScales(),this.bubblePadding=this.getBubblePadding(),this.setScales(),this.legendOptions=this.getLegendOptions(),this.clipPathId="clip"+qo().toString(),this.clipPath=`url(#${this.clipPathId})`}hideCircles(){this.deactivateAll()}onClick(r,n){n&&(r.series=n.name),this.select.emit(r)}getBubblePadding(){let r=0,n=0,b=this.dims.height,B=this.dims.width;for(const j of this.data)for(const ue of j.series){const Se=this.rScale(ue.r),mt=this.xScaleType===Di.Linear?this.xScale(Number(ue.x)):this.xScale(ue.x),xt=this.yScaleType===Di.Linear?this.yScale(Number(ue.y)):this.yScale(ue.y);n=Math.max(Se-mt,n),r=Math.max(Se-xt,r),b=Math.max(xt+Se,b),B=Math.max(mt+Se,B)}return B=Math.max(B-this.dims.width,0),b=Math.max(b-this.dims.height,0),[r,B,b,n]}setScales(){let r=this.dims.width;void 0===this.xScaleMin&&void 0===this.xScaleMax&&(r-=this.bubblePadding[1]);let n=this.dims.height;void 0===this.yScaleMin&&void 0===this.yScaleMax&&(n-=this.bubblePadding[2]),this.xScale=this.getXScale(this.xDomain,r),this.yScale=this.getYScale(this.yDomain,n)}getYScale(r,n){return Pp(r,[n,this.bubblePadding[0]],this.yScaleType,this.roundDomains)}getXScale(r,n){return Pp(r,[this.bubblePadding[3],n],this.xScaleType,this.roundDomains)}getRScale(r,n){const b=Ha().range(n).domain(r);return this.roundDomains?b.nice():b}getLegendOptions(){const r={scaleType:this.schemeType,colors:void 0,domain:[],position:this.legendPosition,title:void 0};return r.scaleType===Di.Ordinal?(r.domain=this.seriesDomain,r.colors=this.colors,r.title=this.legendTitle):(r.domain=this.rDomain,r.colors=this.colors.scale),r}getXDomain(){const r=[];for(const n of this.results)for(const b of n.series)r.includes(b.x)||r.push(b.x);return this.xScaleType=Is(r),m3(r,this.xScaleType,this.autoScale,this.xScaleMin,this.xScaleMax)}getYDomain(){const r=[];for(const n of this.results)for(const b of n.series)r.includes(b.y)||r.push(b.y);return this.yScaleType=Is(r),m3(r,this.yScaleType,this.autoScale,this.yScaleMin,this.yScaleMax)}getRDomain(){let r=1/0,n=-1/0;for(const b of this.results)for(const B of b.series){const j=Number(B.r)||1;r=Math.min(r,j),n=Math.max(n,j)}return[r,n]}updateYAxisWidth({width:r}){this.yAxisWidth=r,this.update()}updateXAxisHeight({height:r}){this.xAxisHeight=r,this.update()}onActivate(r){this.activeEntries.findIndex(b=>b.name===r.name)>-1||(this.activeEntries=[r,...this.activeEntries],this.activate.emit({value:r,entries:this.activeEntries}))}onDeactivate(r){const n=this.activeEntries.findIndex(b=>b.name===r.name);this.activeEntries.splice(n,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:r,entries:this.activeEntries})}deactivateAll(){this.activeEntries=[...this.activeEntries];for(const r of this.activeEntries)this.deactivate.emit({value:r,entries:[]});this.activeEntries=[]}trackBy(r,n){return`${n.name}`}}y1.\u0275fac=function(){let u;return function(n){return(u||(u=e.n5z(y1)))(n||y1)}}(),y1.\u0275cmp=e.Xpm({type:y1,selectors:[["ngx-charts-bubble-chart"]],contentQueries:function(r,n,b){if(1&r&&e.Suo(b,Pr,5),2&r){let B;e.iGM(B=e.CRH())&&(n.tooltipTemplate=B.first)}},hostBindings:function(r,n){1&r&&e.NdJ("mouseleave",function(){return n.hideCircles()})},inputs:{showGridLines:"showGridLines",legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",roundDomains:"roundDomains",maxRadius:"maxRadius",minRadius:"minRadius",autoScale:"autoScale",schemeType:"schemeType",tooltipDisabled:"tooltipDisabled",xScaleMin:"xScaleMin",xScaleMax:"xScaleMax",yScaleMin:"yScaleMin",yScaleMax:"yScaleMax"},outputs:{activate:"activate",deactivate:"deactivate"},features:[e.qOj],decls:10,vars:19,consts:[[3,"view","showLegend","activeEntries","legendOptions","animations","legendLabelClick","legendLabelActivate","legendLabelDeactivate"],[1,"bubble-chart","chart"],["ngx-charts-x-axis","",3,"showGridLines","dims","xScale","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"showGridLines","yScale","dims","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],["x","0","y","0",1,"bubble-chart-area",2,"fill","rgb(255, 0, 0)","opacity","0","cursor","auto",3,"mouseenter"],[4,"ngIf"],["ngx-charts-x-axis","",3,"showGridLines","dims","xScale","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-y-axis","",3,"showGridLines","yScale","dims","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],[4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-bubble-series","",3,"xScale","yScale","rScale","xScaleType","yScaleType","xAxisLabel","yAxisLabel","colors","data","activeEntries","tooltipDisabled","tooltipTemplate","select","activate","deactivate"]],template:function(r,n){1&r&&(e.TgZ(0,"ngx-charts-chart",0),e.NdJ("legendLabelClick",function(B){return n.onClick(B)})("legendLabelActivate",function(B){return n.onActivate(B)})("legendLabelDeactivate",function(B){return n.onDeactivate(B)}),e.O4$(),e.TgZ(1,"defs")(2,"clipPath"),e._UZ(3,"rect"),e.qZA()(),e.TgZ(4,"g",1),e.YNc(5,x2,1,10,"g",2),e.YNc(6,fd,1,9,"g",3),e.TgZ(7,"rect",4),e.NdJ("mouseenter",function(){return n.deactivateAll()}),e.qZA(),e.YNc(8,E2,2,3,"g",5),e.YNc(9,w2,2,3,"g",5),e.qZA()()),2&r&&(e.Q6J("view",e.WLB(16,Va,n.width,n.height))("showLegend",n.legend)("activeEntries",n.activeEntries)("legendOptions",n.legendOptions)("animations",n.animations),e.xp6(2),e.uIk("id",n.clipPathId),e.xp6(1),e.uIk("width",n.dims.width+10)("height",n.dims.height+10)("transform","translate(-5, -5)"),e.xp6(1),e.uIk("transform",n.transform),e.xp6(1),e.Q6J("ngIf",n.xAxis),e.xp6(1),e.Q6J("ngIf",n.yAxis),e.xp6(1),e.uIk("width",n.dims.width)("height",n.dims.height),e.xp6(1),e.Q6J("ngIf",!n.isSSR),e.xp6(1),e.Q6J("ngIf",n.isSSR))},dependencies:[Wa,go,no,wd,t.O5,t.sg],styles:[to],encapsulation:2,data:{animation:[(0,d.X$)("animationState",[(0,d.eR)(":leave",[(0,d.oB)({opacity:1}),(0,d.jt)(500,(0,d.oB)({opacity:0}))])])]},changeDetection:0});class x1{}x1.\u0275fac=function(r){return new(r||x1)},x1.\u0275mod=e.oAB({type:x1}),x1.\u0275inj=e.cJS({imports:[[To]]});class C1{constructor(r){this.gradient=!1,this.animations=!0,this.select=new e.vpe,this.activate=new e.vpe,this.deactivate=new e.vpe,this.barOrientation=ka,this.element=r.nativeElement}ngOnChanges(r){this.transform=`translate(${this.x} , ${this.y})`,this.startOpacity=.3,this.gradientId="grad"+qo().toString(),this.gradientUrl=`url(#${this.gradientId})`,this.gradientStops=this.getGradientStops(),this.animations&&this.loadAnimation()}getGradientStops(){return[{offset:0,color:this.fill,opacity:this.startOpacity},{offset:100,color:this.fill,opacity:1}]}loadAnimation(){Rt(this.element).select(".cell").attr("opacity",0),this.animateToCurrentForm()}animateToCurrentForm(){Rt(this.element).select(".cell").transition().duration(750).attr("opacity",1)}onClick(){this.select.emit(this.data)}onMouseEnter(){this.activate.emit(this.data)}onMouseLeave(){this.deactivate.emit(this.data)}}C1.\u0275fac=function(r){return new(r||C1)(e.Y36(e.SBq))},C1.\u0275cmp=e.Xpm({type:C1,selectors:[["g","ngx-charts-heat-map-cell",""]],hostBindings:function(r,n){1&r&&e.NdJ("mouseenter",function(){return n.onMouseEnter()})("mouseleave",function(){return n.onMouseLeave()})},inputs:{fill:"fill",x:"x",y:"y",width:"width",height:"height",data:"data",gradient:"gradient",animations:"animations"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[e.TTD],attrs:["ngx-charts-heat-map-cell",""],decls:3,vars:5,consts:[[1,"cell"],[4,"ngIf"],["rx","3",1,"cell",3,"click"],["ngx-charts-svg-linear-gradient","",3,"orientation","name","stops"]],template:function(r,n){1&r&&(e.O4$(),e.TgZ(0,"g",0),e.YNc(1,Pf,2,3,"defs",1),e.TgZ(2,"rect",2),e.NdJ("click",function(){return n.onClick()}),e.qZA()()),2&r&&(e.uIk("transform",n.transform),e.xp6(1),e.Q6J("ngIf",n.gradient),e.xp6(1),e.uIk("fill",n.gradient?n.gradientUrl:n.fill)("width",n.width)("height",n.height))},dependencies:[cc,t.O5],encapsulation:2,changeDetection:0});class su{constructor(){this.tooltipDisabled=!1,this.animations=!0,this.select=new e.vpe,this.activate=new e.vpe,this.deactivate=new e.vpe,this.placementTypes=Rn,this.styleTypes=Qo}ngOnInit(){this.tooltipText||(this.tooltipText=this.getTooltipText)}ngOnChanges(r){this.update()}update(){this.cells=this.getCells()}getCells(){const r=[];return this.data.map(n=>{n.series.map(b=>{const B=b.value;b.series=n.name,r.push({row:n,cell:b,x:this.xScale(n.name),y:this.yScale(b.name),width:this.xScale.bandwidth(),height:this.yScale.bandwidth(),fill:this.colors.getColor(B),data:B,label:Kr(b.name),series:n.name})})}),r}getTooltipText({label:r,data:n,series:b}){return`\n <span class="tooltip-label">${_o(b)} \u2022 ${_o(r)}</span>\n <span class="tooltip-val">${n.toLocaleString()}</span>\n `}trackBy(r,n){return n.label}onClick(r){this.select.emit(r)}}su.\u0275fac=function(r){return new(r||su)},su.\u0275cmp=e.Xpm({type:su,selectors:[["g","ngx-charts-heat-map-cell-series",""]],inputs:{data:"data",colors:"colors",xScale:"xScale",yScale:"yScale",gradient:"gradient",tooltipDisabled:"tooltipDisabled",tooltipText:"tooltipText",tooltipTemplate:"tooltipTemplate",animations:"animations"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[e.TTD],attrs:["ngx-charts-heat-map-cell-series",""],decls:1,vars:2,consts:[["ngx-charts-heat-map-cell","","ngx-tooltip","",3,"x","y","width","height","fill","data","gradient","animations","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","select","activate","deactivate",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-heat-map-cell","","ngx-tooltip","",3,"x","y","width","height","fill","data","gradient","animations","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","select","activate","deactivate"]],template:function(r,n){1&r&&e.YNc(0,Bf,1,18,"g",0),2&r&&e.Q6J("ngForOf",n.cells)("ngForTrackBy",n.trackBy)},dependencies:[C1,t.sg,hs],encapsulation:2,changeDetection:0});class Fl extends Ka{constructor(){super(...arguments),this.legendTitle="Legend",this.legendPosition=fr.Right,this.innerPadding=8,this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.tooltipDisabled=!1,this.activeEntries=[],this.activate=new e.vpe,this.deactivate=new e.vpe,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.scaleType=Di.Linear}update(){if(super.update(),this.formatDates(),this.xDomain=this.getXDomain(),this.yDomain=this.getYDomain(),this.valueDomain=this.getValueDomain(),this.scaleType=Is(this.valueDomain,!1),this.dims=_r({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.scaleType,legendPosition:this.legendPosition}),this.scaleType===Di.Linear){let r=this.min,n=this.max;this.min||(r=Math.min(0,...this.valueDomain)),this.max||(n=Math.max(...this.valueDomain)),this.valueDomain=[r,n]}this.xScale=this.getXScale(),this.yScale=this.getYScale(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]})`,this.rects=this.getRects()}getXDomain(){const r=[];for(const n of this.results)r.includes(n.name)||r.push(n.name);return r}getYDomain(){const r=[];for(const n of this.results)for(const b of n.series)r.includes(b.name)||r.push(b.name);return r}getValueDomain(){const r=[];for(const n of this.results)for(const b of n.series)r.includes(b.value)||r.push(b.value);return r}getDimension(r,n=0,b,B){return"string"==typeof r&&((r=r.replace("[","").replace("]","").replace("px","").replace("'","")).includes(",")&&(r=r.split(","))),Array.isArray(r)&&"number"==typeof n?this.getDimension(r[n],null,b,B):"string"==typeof r&&r.includes("%")?+r.replace("%","")/100:b/(B/+r+1)}getXScale(){const r=this.getDimension(this.innerPadding,0,this.xDomain.length,this.dims.width);return Jr().rangeRound([0,this.dims.width]).domain(this.xDomain).paddingInner(r)}getYScale(){const r=this.getDimension(this.innerPadding,1,this.yDomain.length,this.dims.height);return Jr().rangeRound([this.dims.height,0]).domain(this.yDomain).paddingInner(r)}getRects(){const r=[];return this.xDomain.map(n=>{this.yDomain.map(b=>{r.push({x:this.xScale(n),y:this.yScale(b),rx:3,width:this.xScale.bandwidth(),height:this.yScale.bandwidth(),fill:"rgba(200,200,200,0.03)"})})}),r}onClick(r){this.select.emit(r)}setColors(){this.colors=new Rr(this.scheme,this.scaleType,this.valueDomain)}getLegendOptions(){return{scaleType:this.scaleType,domain:this.valueDomain,colors:this.scaleType===Di.Ordinal?this.colors:this.colors.scale,title:this.scaleType===Di.Ordinal?this.legendTitle:void 0,position:this.legendPosition}}updateYAxisWidth({width:r}){this.yAxisWidth=r,this.update()}updateXAxisHeight({height:r}){this.xAxisHeight=r,this.update()}onActivate(r,n,b=!1){const B=Object.assign({},r);n&&(B.series=n.name);const j=this.results.map(ue=>ue.series).flat().filter(ue=>b?ue.label===B.name:ue.name===B.name&&ue.series===B.series);this.activeEntries=[...j],this.activate.emit({value:B,entries:this.activeEntries})}onDeactivate(r,n,b=!1){const B=Object.assign({},r);n&&(B.series=n.name),this.activeEntries=this.activeEntries.filter(j=>b?j.label!==B.name:!(j.name===B.name&&j.series===B.series)),this.deactivate.emit({value:B,entries:this.activeEntries})}}Fl.\u0275fac=function(){let u;return function(n){return(u||(u=e.n5z(Fl)))(n||Fl)}}(),Fl.\u0275cmp=e.Xpm({type:Fl,selectors:[["ngx-charts-heat-map"]],contentQueries:function(r,n,b){if(1&r&&e.Suo(b,Pr,5),2&r){let B;e.iGM(B=e.CRH())&&(n.tooltipTemplate=B.first)}},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",gradient:"gradient",innerPadding:"innerPadding",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",tooltipDisabled:"tooltipDisabled",tooltipText:"tooltipText",min:"min",max:"max",activeEntries:"activeEntries"},outputs:{activate:"activate",deactivate:"deactivate"},features:[e.qOj],decls:6,vars:20,consts:[[3,"view","showLegend","animations","legendOptions","legendLabelClick"],[1,"heat-map","chart"],["ngx-charts-x-axis","",3,"xScale","dims","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],[4,"ngFor","ngForOf"],["ngx-charts-heat-map-cell-series","",3,"xScale","yScale","colors","data","gradient","animations","tooltipDisabled","tooltipTemplate","tooltipText","select","activate","deactivate"],["ngx-charts-x-axis","",3,"xScale","dims","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"]],template:function(r,n){1&r&&(e.TgZ(0,"ngx-charts-chart",0),e.NdJ("legendLabelClick",function(B){return n.onClick(B)}),e.O4$(),e.TgZ(1,"g",1),e.YNc(2,Nf,1,9,"g",2),e.YNc(3,H0,1,8,"g",3),e.YNc(4,Ff,1,6,"rect",4),e.TgZ(5,"g",5),e.NdJ("select",function(B){return n.onClick(B)})("activate",function(B){return n.onActivate(B,void 0)})("deactivate",function(B){return n.onDeactivate(B,void 0)}),e.qZA()()()),2&r&&(e.Q6J("view",e.WLB(17,Va,n.width,n.height))("showLegend",n.legend)("animations",n.animations)("legendOptions",n.legendOptions),e.xp6(1),e.uIk("transform",n.transform),e.xp6(1),e.Q6J("ngIf",n.xAxis),e.xp6(1),e.Q6J("ngIf",n.yAxis),e.xp6(1),e.Q6J("ngForOf",n.rects),e.xp6(1),e.Q6J("xScale",n.xScale)("yScale",n.yScale)("colors",n.colors)("data",n.results)("gradient",n.gradient)("animations",n.animations)("tooltipDisabled",n.tooltipDisabled)("tooltipTemplate",n.tooltipTemplate)("tooltipText",n.tooltipText))},dependencies:[Wa,go,no,su,t.O5,t.sg],styles:[to],encapsulation:2,changeDetection:0});class nl{}nl.\u0275fac=function(r){return new(r||nl)},nl.\u0275mod=e.oAB({type:nl}),nl.\u0275inj=e.cJS({imports:[[To]]});class E1{constructor(r,n){this.element=r,this.platformId=n,this.fill="none",this.animations=!0,this.initialized=!1,this.isSSR=!1}ngOnInit(){(0,t.PM)(this.platformId)&&(this.isSSR=!0)}ngOnChanges(r){this.initialized?this.updatePathEl():(this.initialized=!0,this.initialPath=this.path)}updatePathEl(){const r=Rt(this.element.nativeElement).select(".line");this.animations?r.transition().duration(750).attr("d",this.path):r.attr("d",this.path)}}E1.\u0275fac=function(r){return new(r||E1)(e.Y36(e.SBq),e.Y36(e.Lbi))},E1.\u0275cmp=e.Xpm({type:E1,selectors:[["g","ngx-charts-line",""]],inputs:{path:"path",stroke:"stroke",data:"data",fill:"fill",animations:"animations"},features:[e.TTD],attrs:["ngx-charts-line",""],decls:2,vars:2,consts:[[4,"ngIf"],["stroke-width","1.5px",1,"line"]],template:function(r,n){1&r&&(e.YNc(0,Hf,2,4,"g",0),e.YNc(1,_4,2,3,"g",0)),2&r&&(e.Q6J("ngIf",!n.isSSR),e.xp6(1),e.Q6J("ngIf",n.isSSR))},dependencies:[t.O5],encapsulation:2,data:{animation:[(0,d.X$)("animationState",[(0,d.eR)(":enter",[(0,d.oB)({strokeDasharray:2e3,strokeDashoffset:2e3}),(0,d.jt)(1e3,(0,d.oB)({strokeDashoffset:0}))])])]},changeDetection:0});class cu{constructor(){this.animations=!0,this.barOrientation=ka}ngOnChanges(r){this.update()}update(){this.updateGradients();const r=this.sortData(this.data.series),n=this.getLineGenerator();this.path=n(r)||"";const b=this.getAreaGenerator();if(this.areaPath=b(r)||"",this.hasRange){const B=this.getRangeGenerator();this.outerPath=B(r)||""}if(this.hasGradient){this.stroke=this.gradientUrl;const B=this.data.series.map(Se=>Se.value),j=Math.max(...B);j===Math.min(...B)&&(this.stroke=this.colors.getColor(j))}else this.stroke=this.colors.getColor(this.data.name)}getLineGenerator(){return tc().x(r=>{const n=r.name;let b;return b=this.scaleType===Di.Time?this.xScale(n):this.scaleType===Di.Linear?this.xScale(Number(n)):this.xScale(n),b}).y(r=>this.yScale(r.value)).curve(this.curve)}getRangeGenerator(){return Xc().x(r=>{const n=r.name;let b;return b=this.scaleType===Di.Time?this.xScale(n):this.scaleType===Di.Linear?this.xScale(Number(n)):this.xScale(n),b}).y0(r=>this.yScale("number"==typeof r.min?r.min:r.value)).y1(r=>this.yScale("number"==typeof r.max?r.max:r.value)).curve(this.curve)}getAreaGenerator(){return Xc().x(n=>{const b=n.name;return this.xScale(b)}).y0(()=>this.yScale.range()[0]).y1(n=>this.yScale(n.value)).curve(this.curve)}sortData(r){return r=this.scaleType===Di.Linear?O2(r,"name"):this.scaleType===Di.Time?au(r,"name"):u3(r,"name","asc",this.xScale.domain())}updateGradients(){if(this.colors.scaleType===Di.Linear){this.hasGradient=!0,this.gradientId="grad"+qo().toString(),this.gradientUrl=`url(#${this.gradientId})`;const r=this.data.series.map(B=>B.value),n=Math.max(...r),b=Math.min(...r);this.gradientStops=this.colors.getLinearGradientStops(n,b),this.areaGradientStops=this.colors.getLinearGradientStops(n)}else this.hasGradient=!1,this.gradientStops=void 0,this.areaGradientStops=void 0}isActive(r){return!!this.activeEntries&&void 0!==this.activeEntries.find(b=>r.name===b.name)}isInactive(r){return!(!this.activeEntries||0===this.activeEntries.length)&&void 0===this.activeEntries.find(b=>r.name===b.name)}}cu.\u0275fac=function(r){return new(r||cu)},cu.\u0275cmp=e.Xpm({type:cu,selectors:[["g","ngx-charts-line-series",""]],inputs:{data:"data",xScale:"xScale",yScale:"yScale",colors:"colors",scaleType:"scaleType",curve:"curve",activeEntries:"activeEntries",rangeFillOpacity:"rangeFillOpacity",hasRange:"hasRange",animations:"animations"},features:[e.TTD],attrs:["ngx-charts-line-series",""],decls:6,vars:22,consts:[["ngx-charts-svg-linear-gradient","",3,"orientation","name","stops",4,"ngIf"],["ngx-charts-area","",1,"line-highlight",3,"data","path","fill","opacity","startOpacity","gradient","stops","animations"],["ngx-charts-line","",1,"line-series",3,"data","path","stroke","animations"],["ngx-charts-area","","class","line-series-range",3,"data","path","fill","active","inactive","opacity","animations",4,"ngIf"],["ngx-charts-svg-linear-gradient","",3,"orientation","name","stops"],["ngx-charts-area","",1,"line-series-range",3,"data","path","fill","opacity","animations"]],template:function(r,n){1&r&&(e.O4$(),e.TgZ(0,"g")(1,"defs"),e.YNc(2,Uf,1,3,"g",0),e.qZA(),e._UZ(3,"g",1)(4,"g",2),e.YNc(5,v4,1,9,"g",3),e.qZA()),2&r&&(e.xp6(2),e.Q6J("ngIf",n.hasGradient),e.xp6(1),e.ekj("active",n.isActive(n.data))("inactive",n.isInactive(n.data)),e.Q6J("data",n.data)("path",n.areaPath)("fill",n.hasGradient?n.gradientUrl:n.colors.getColor(n.data.name))("opacity",.25)("startOpacity",0)("gradient",!0)("stops",n.areaGradientStops)("animations",n.animations),e.xp6(1),e.ekj("active",n.isActive(n.data))("inactive",n.isInactive(n.data)),e.Q6J("data",n.data)("path",n.path)("stroke",n.stroke)("animations",n.animations),e.xp6(1),e.Q6J("ngIf",n.hasRange))},dependencies:[cc,m1,E1,t.O5],encapsulation:2,changeDetection:0});class F2 extends Ka{constructor(){super(...arguments),this.legendTitle="Legend",this.legendPosition=fr.Right,this.showGridLines=!0,this.curve=Ml,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.roundDomains=!1,this.tooltipDisabled=!1,this.showRefLines=!1,this.showRefLabels=!0,this.activate=new e.vpe,this.deactivate=new e.vpe,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.timelineHeight=50,this.timelinePadding=10,this.isSSR=!1}ngOnInit(){(0,t.PM)(this.platformId)&&(this.isSSR=!0)}update(){super.update(),this.dims=_r({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.timeline&&(this.dims.height-=this.timelineHeight+this.margin[2]+this.timelinePadding),this.xDomain=this.getXDomain(),this.filteredDomain&&(this.xDomain=this.filteredDomain),this.yDomain=this.getYDomain(),this.seriesDomain=this.getSeriesDomain(),this.xScale=this.getXScale(this.xDomain,this.dims.width),this.yScale=this.getYScale(this.yDomain,this.dims.height),this.updateTimeline(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]})`,this.clipPathId="clip"+qo().toString(),this.clipPath=`url(#${this.clipPathId})`}updateTimeline(){this.timeline&&(this.timelineWidth=this.dims.width,this.timelineXDomain=this.getXDomain(),this.timelineXScale=this.getXScale(this.timelineXDomain,this.timelineWidth),this.timelineYScale=this.getYScale(this.yDomain,this.timelineHeight),this.timelineTransform=`translate(${this.dims.xOffset}, ${-this.margin[2]})`)}getXDomain(){let r=nu(this.results);this.scaleType=Is(r);let b,B,n=[];return this.scaleType===Di.Linear&&(r=r.map(j=>Number(j))),(this.scaleType===Di.Time||this.scaleType===Di.Linear)&&(b=this.xScaleMin?this.xScaleMin:Math.min(...r),B=this.xScaleMax?this.xScaleMax:Math.max(...r)),this.scaleType===Di.Time?(n=[new Date(b),new Date(B)],this.xSet=[...r].sort((j,ue)=>{const Se=j.getTime(),mt=ue.getTime();return Se>mt?1:mt>Se?-1:0})):this.scaleType===Di.Linear?(n=[b,B],this.xSet=[...r].sort((j,ue)=>j-ue)):(n=r,this.xSet=r),n}getYDomain(){const r=[];for(const j of this.results)for(const ue of j.series)r.indexOf(ue.value)<0&&r.push(ue.value),void 0!==ue.min&&(this.hasRange=!0,r.indexOf(ue.min)<0&&r.push(ue.min)),void 0!==ue.max&&(this.hasRange=!0,r.indexOf(ue.max)<0&&r.push(ue.max));const n=[...r];this.autoScale||n.push(0);return[this.yScaleMin?this.yScaleMin:Math.min(...n),this.yScaleMax?this.yScaleMax:Math.max(...n)]}getSeriesDomain(){return this.results.map(r=>r.name)}getXScale(r,n){let b;return this.scaleType===Di.Time?b=jc().range([0,n]).domain(r):this.scaleType===Di.Linear?(b=Ha().range([0,n]).domain(r),this.roundDomains&&(b=b.nice())):this.scaleType===Di.Ordinal&&(b=qa().range([0,n]).padding(.1).domain(r)),b}getYScale(r,n){const b=Ha().range([n,0]).domain(r);return this.roundDomains?b.nice():b}updateDomain(r){this.filteredDomain=r,this.xDomain=this.filteredDomain,this.xScale=this.getXScale(this.xDomain,this.dims.width)}updateHoveredVertical(r){this.hoveredVertical=r.value,this.deactivateAll()}hideCircles(){this.hoveredVertical=null,this.deactivateAll()}onClick(r){this.select.emit(r)}trackBy(r,n){return`${n.name}`}setColors(){let r;r=this.schemeType===Di.Ordinal?this.seriesDomain:this.yDomain,this.colors=new Rr(this.scheme,this.schemeType,r,this.customColors)}getLegendOptions(){const r={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return r.scaleType===Di.Ordinal?(r.domain=this.seriesDomain,r.colors=this.colors,r.title=this.legendTitle):(r.domain=this.yDomain,r.colors=this.colors.scale),r}updateYAxisWidth({width:r}){this.yAxisWidth=r,this.update()}updateXAxisHeight({height:r}){this.xAxisHeight=r,this.update()}onActivate(r){this.deactivateAll(),!(this.activeEntries.findIndex(b=>b.name===r.name&&b.value===r.value)>-1)&&(this.activeEntries=[r],this.activate.emit({value:r,entries:this.activeEntries}))}onDeactivate(r){const n=this.activeEntries.findIndex(b=>b.name===r.name&&b.value===r.value);this.activeEntries.splice(n,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:r,entries:this.activeEntries})}deactivateAll(){this.activeEntries=[...this.activeEntries];for(const r of this.activeEntries)this.deactivate.emit({value:r,entries:[]});this.activeEntries=[]}}F2.\u0275fac=function(){let u;return function(n){return(u||(u=e.n5z(F2)))(n||F2)}}(),F2.\u0275cmp=e.Xpm({type:F2,selectors:[["ngx-charts-line-chart"]],contentQueries:function(r,n,b){if(1&r&&(e.Suo(b,Pr,5),e.Suo(b,b2,5)),2&r){let B;e.iGM(B=e.CRH())&&(n.tooltipTemplate=B.first),e.iGM(B=e.CRH())&&(n.seriesTooltipTemplate=B.first)}},hostBindings:function(r,n){1&r&&e.NdJ("mouseleave",function(){return n.hideCircles()})},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",autoScale:"autoScale",timeline:"timeline",gradient:"gradient",showGridLines:"showGridLines",curve:"curve",activeEntries:"activeEntries",schemeType:"schemeType",rangeFillOpacity:"rangeFillOpacity",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",roundDomains:"roundDomains",tooltipDisabled:"tooltipDisabled",showRefLines:"showRefLines",referenceLines:"referenceLines",showRefLabels:"showRefLabels",xScaleMin:"xScaleMin",xScaleMax:"xScaleMax",yScaleMin:"yScaleMin",yScaleMax:"yScaleMax"},outputs:{activate:"activate",deactivate:"deactivate"},features:[e.qOj],decls:12,vars:20,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelClick","legendLabelActivate","legendLabelDeactivate"],[1,"line-chart","chart"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","referenceLines","showRefLines","showRefLabels","dimensionsChanged",4,"ngIf"],[4,"ngIf"],[3,"mouseleave",4,"ngIf"],["ngx-charts-timeline","",3,"results","view","height","scheme","customColors","scaleType","legend","onDomainChange",4,"ngIf"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","referenceLines","showRefLines","showRefLabels","dimensionsChanged"],[4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-line-series","",3,"xScale","yScale","colors","data","activeEntries","scaleType","curve","rangeFillOpacity","hasRange","animations"],[3,"mouseleave"],["ngx-charts-tooltip-area","",3,"dims","xSet","xScale","yScale","results","colors","tooltipDisabled","tooltipTemplate","hover"],[4,"ngFor","ngForOf"],["ngx-charts-circle-series","",3,"xScale","yScale","colors","data","scaleType","visibleValue","activeEntries","tooltipDisabled","tooltipTemplate","select","activate","deactivate"],["ngx-charts-timeline","",3,"results","view","height","scheme","customColors","scaleType","legend","onDomainChange"],["ngx-charts-line-series","",3,"xScale","yScale","colors","data","scaleType","curve","hasRange","animations"]],template:function(r,n){1&r&&(e.TgZ(0,"ngx-charts-chart",0),e.NdJ("legendLabelClick",function(B){return n.onClick(B)})("legendLabelActivate",function(B){return n.onActivate(B)})("legendLabelDeactivate",function(B){return n.onDeactivate(B)}),e.O4$(),e.TgZ(1,"defs")(2,"clipPath"),e._UZ(3,"rect"),e.qZA()(),e.TgZ(4,"g",1),e.YNc(5,mp,1,10,"g",2),e.YNc(6,pp,1,12,"g",3),e.TgZ(7,"g"),e.YNc(8,b4,2,2,"g",4),e.YNc(9,U0,2,2,"g",4),e.YNc(10,y4,3,9,"g",5),e.qZA()(),e.YNc(11,V0,2,13,"g",6),e.qZA()),2&r&&(e.Q6J("view",e.WLB(17,Va,n.width,n.height))("showLegend",n.legend)("legendOptions",n.legendOptions)("activeEntries",n.activeEntries)("animations",n.animations),e.xp6(2),e.uIk("id",n.clipPathId),e.xp6(1),e.uIk("width",n.dims.width+10)("height",n.dims.height+10)("transform","translate(-5, -5)"),e.xp6(1),e.uIk("transform",n.transform),e.xp6(1),e.Q6J("ngIf",n.xAxis),e.xp6(1),e.Q6J("ngIf",n.yAxis),e.xp6(1),e.uIk("clip-path",n.clipPath),e.xp6(1),e.Q6J("ngIf",!n.isSSR),e.xp6(1),e.Q6J("ngIf",n.isSSR),e.xp6(1),e.Q6J("ngIf",!n.tooltipDisabled),e.xp6(1),e.Q6J("ngIf",n.timeline&&"ordinal"!=n.scaleType))},dependencies:[Wa,go,no,cu,tl,kl,Ic,t.O5,t.sg],styles:[to],encapsulation:2,data:{animation:[(0,d.X$)("animationState",[(0,d.eR)(":leave",[(0,d.oB)({opacity:1}),(0,d.jt)(500,(0,d.oB)({opacity:0}))])])]},changeDetection:0});class Dd{}Dd.\u0275fac=function(r){return new(r||Dd)},Dd.\u0275mod=e.oAB({type:Dd}),Dd.\u0275inj=e.cJS({imports:[[To]]});class M1{constructor(r){this.platformId=r,this.animations=!0,this.labelTrim=!0,this.labelTrimSize=10,this.trimLabel=Ac}ngOnChanges(r){this.setTransforms(),this.update()}setTransforms(){if((0,t.PM)(this.platformId))this.styleTransform=`translate3d(${this.textX}px,${this.textY}px, 0)`,this.attrTransform=`translate(${this.textX},${this.textY})`,this.textTransition=this.animations?"transform 0.75s":null;else{const r=/(edge|msie|trident)/i.test(navigator.userAgent);this.styleTransform=r?null:`translate3d(${this.textX}px,${this.textY}px, 0)`,this.attrTransform=r?`translate(${this.textX},${this.textY})`:null,this.textTransition=r||!this.animations?null:"transform 0.75s"}}update(){let r=this.radius;this.explodeSlices&&(r=this.radius*this.value/this.max);const b=u2().innerRadius(r).outerRadius(r).centroid(this.data);let B=this.data.pos[1]/b[1];(0===this.data.pos[1]||0===b[1])&&(B=1);const j=[B*b[0],B*b[1]];this.line=`M${b}L${j}L${this.data.pos}`}get textX(){return this.data.pos[0]}get textY(){return this.data.pos[1]}textAnchor(){return this.midAngle(this.data)<Math.PI?jo.Start:jo.End}midAngle(r){return r.startAngle+(r.endAngle-r.startAngle)/2}}M1.\u0275fac=function(r){return new(r||M1)(e.Y36(e.Lbi))},M1.\u0275cmp=e.Xpm({type:M1,selectors:[["g","ngx-charts-pie-label",""]],inputs:{data:"data",radius:"radius",label:"label",color:"color",max:"max",value:"value",explodeSlices:"explodeSlices",animations:"animations",labelTrim:"labelTrim",labelTrimSize:"labelTrimSize"},features:[e.TTD],attrs:["ngx-charts-pie-label",""],decls:6,vars:17,consts:[["dy",".35em",1,"pie-label"],["fill","none",1,"pie-label-line","line"]],template:function(r,n){1&r&&(e.TgZ(0,"title"),e._uU(1),e.qZA(),e.O4$(),e.TgZ(2,"g")(3,"text",0),e._uU(4),e.qZA()(),e._UZ(5,"path",1)),2&r&&(e.xp6(1),e.Oqu(n.label),e.xp6(1),e.Udp("transform",n.styleTransform)("transition",n.textTransition),e.uIk("transform",n.attrTransform),e.xp6(1),e.Udp("text-anchor",n.textAnchor())("shape-rendering","crispEdges"),e.ekj("animation",n.animations),e.xp6(1),e.hij(" ",n.labelTrim?n.trimLabel(n.label,n.labelTrimSize):n.label," "),e.xp6(1),e.ekj("animation",n.animations),e.uIk("d",n.line)("stroke",n.color))},encapsulation:2,changeDetection:0});class z2{constructor(){this.tooltipDisabled=!1,this.gradient=!1,this.animations=!0,this.select=new e.vpe,this.activate=new e.vpe,this.deactivate=new e.vpe,this.circleRadius=3,this.barOrientation=ka,this.placementTypes=Rn,this.styleTypes=Qo}ngOnChanges(r){this.update()}update(){this.updateGradients();const r=this.getLineGenerator(),n=this.sortData(this.data.series),b=this.data.name,B=this.colors.scaleType===Di.Linear,j=this.yScale.domain()[0];this.seriesColor=this.colors.getColor(B?j:b),this.path=r(n)||"",this.circles=n.map(ue=>{const Se=this.getAngle(ue),mt=this.getRadius(ue),xt=ue.value,At=this.colors.getColor(B?Math.abs(xt):b);return{data:Object.assign({},ue,{series:b,value:xt,name:ue.name}),cx:mt*Math.sin(Se),cy:-mt*Math.cos(Se),value:xt,color:At,label:ue.name}}),this.active=this.isActive(this.data),this.inactive=this.isInactive(this.data),this.tooltipText=this.tooltipText||(ue=>this.defaultTooltipText(ue))}getAngle(r){const n=r.name;return this.scaleType===Di.Time?this.xScale(n):this.scaleType===Di.Linear?this.xScale(Number(n)):this.xScale(n)}getRadius(r){return this.yScale(r.value)}getLineGenerator(){return Vh().angle(r=>this.getAngle(r)).radius(r=>this.getRadius(r)).curve(this.curve)}sortData(r){return this.scaleType===Di.Linear?O2(r,"name"):this.scaleType===Di.Time?au(r,"name"):u3(r,"name","asc",this.xScale.domain())}isActive(r){return!!this.activeEntries&&void 0!==this.activeEntries.find(b=>r.name===b.name)}isInactive(r){return!(!this.activeEntries||0===this.activeEntries.length)&&void 0===this.activeEntries.find(b=>r.name===b.name)}defaultTooltipText({label:r,value:n}){return`\n <span class="tooltip-label">${_o(this.data.name)} \u2022 ${_o(r)}</span>\n <span class="tooltip-val">${n.toLocaleString()}</span>\n `}updateGradients(){if(this.hasGradient=this.gradient||this.colors.scaleType===Di.Linear,this.hasGradient)if(this.gradientId="grad"+qo().toString(),this.gradientUrl=`url(#${this.gradientId})`,this.colors.scaleType===Di.Linear){const r=this.data.series.map(B=>B.value),n=Math.max(...r),b=Math.min(...r);this.gradientStops=this.colors.getLinearGradientStops(n,b)}else this.gradientStops=void 0}}z2.\u0275fac=function(r){return new(r||z2)},z2.\u0275cmp=e.Xpm({type:z2,selectors:[["g","ngx-charts-polar-series",""]],inputs:{name:"name",data:"data",xScale:"xScale",yScale:"yScale",colors:"colors",scaleType:"scaleType",curve:"curve",activeEntries:"activeEntries",rangeFillOpacity:"rangeFillOpacity",tooltipDisabled:"tooltipDisabled",tooltipText:"tooltipText",gradient:"gradient",tooltipTemplate:"tooltipTemplate",animations:"animations"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[e.TTD],attrs:["ngx-charts-polar-series",""],decls:5,vars:11,consts:[[1,"polar-charts-series"],["ngx-charts-svg-radial-gradient","",3,"color","name","startOpacity","endOpacity","stops",4,"ngIf"],["ngx-charts-line","",1,"polar-series-path",3,"path","stroke","fill","animations"],["ngx-charts-circle","","class","circle","ngx-tooltip","",3,"cx","cy","r","fill","opacity","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","select","activate","deactivate",4,"ngFor","ngForOf"],["ngx-charts-svg-radial-gradient","",3,"color","name","startOpacity","endOpacity","stops"],["ngx-charts-circle","","ngx-tooltip","",1,"circle",3,"cx","cy","r","fill","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","select","activate","deactivate"]],template:function(r,n){1&r&&(e.O4$(),e.TgZ(0,"g",0)(1,"defs"),e.YNc(2,W0,1,5,"g",1),e.qZA(),e._UZ(3,"g",2),e.YNc(4,Vf,1,12,"g",3),e.qZA()),2&r&&(e.xp6(2),e.Q6J("ngIf",n.hasGradient),e.xp6(1),e.ekj("active",n.active)("inactive",n.inactive),e.Q6J("path",n.path)("stroke",n.hasGradient?n.gradientUrl:n.seriesColor)("fill",n.hasGradient?n.gradientUrl:n.seriesColor)("animations",n.animations),e.uIk("fill-opacity",n.rangeFillOpacity),e.xp6(1),e.Q6J("ngForOf",n.circles))},dependencies:[Ed,E1,Cd,t.O5,t.sg,hs],encapsulation:2,changeDetection:0});const p3=2*Math.PI;class H2 extends Ka{constructor(){super(...arguments),this.legendTitle="Legend",this.legendPosition=fr.Right,this.showGridLines=!0,this.curve=f2,this.activeEntries=[],this.rangeFillOpacity=.15,this.trimYAxisTicks=!0,this.maxYAxisTickLength=16,this.roundDomains=!1,this.tooltipDisabled=!1,this.showSeriesOnHover=!0,this.gradient=!1,this.yAxisMinScale=0,this.labelTrim=!0,this.labelTrimSize=10,this.activate=new e.vpe,this.deactivate=new e.vpe,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.orientation=io,this.isSSR=!1}ngOnInit(){(0,t.PM)(this.platformId)&&(this.isSSR=!0)}update(){super.update(),this.setDims(),this.setScales(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.setTicks()}setDims(){this.dims=_r({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});const r=Math.floor(this.dims.width/2),n=Math.floor(this.dims.height/2),b=this.outerRadius=Math.min(n/1.5,r/1.5),B=Math.max(0,n-b);this.yAxisDims={...this.dims,width:r},this.transform=`translate(${this.dims.xOffset}, ${this.margin[0]})`,this.transformYAxis=`translate(0, ${B})`,this.labelOffset=this.dims.height+40,this.transformPlot=`translate(${r}, ${n})`}setScales(){const r=this.getXValues();this.scaleType=Is(r),this.xDomain=this.filteredDomain||this.getXDomain(r),this.yDomain=this.getYDomain(),this.seriesDomain=this.getSeriesDomain(),this.xScale=this.getXScale(this.xDomain,p3),this.yScale=this.getYScale(this.yDomain,this.outerRadius),this.yAxisScale=this.getYScale(this.yDomain.reverse(),this.outerRadius)}setTicks(){let r;r=this.xAxisTickFormatting?this.xAxisTickFormatting:this.xScale.tickFormat?this.xScale.tickFormat.apply(this.xScale,[5]):j=>c1(j)?j.toLocaleDateString():j.toLocaleString();const n=this.outerRadius;this.thetaTicks=this.xDomain.map(j=>{const ue=this.xScale(j),Se=1.1*n*(ue>Math.PI?-1:1),mt=r(j),xt=[n*Math.sin(ue),-n*Math.cos(ue)],At=[Se,1.1*xt[1]];return{innerRadius:0,outerRadius:n,startAngle:ue,endAngle:ue,value:n,label:mt,startPos:xt,pos:At}});for(let j=0;j<this.thetaTicks.length-1;j++){const ue=this.thetaTicks[j];for(let Se=j+1;Se<this.thetaTicks.length;Se++){const mt=this.thetaTicks[Se];if(mt.pos[0]*ue.pos[0]>0){const xt=10-Math.abs(mt.pos[1]-ue.pos[1]);xt>0&&(mt.pos[1]+=Math.sign(mt.pos[0])*xt)}}}this.radiusTicks=this.yAxisScale.ticks(Math.floor(this.dims.height/50)).map(j=>this.yScale(j))}getXValues(){const r=[];for(const n of this.results)for(const b of n.series)r.includes(b.name)||r.push(b.name);return r}getXDomain(r=this.getXValues()){if(this.scaleType===Di.Time){return[Math.min(...r),Math.max(...r)]}if(this.scaleType===Di.Linear){r=r.map(B=>Number(B));return[Math.min(...r),Math.max(...r)]}return r}getYValues(){const r=[];for(const n of this.results)for(const b of n.series)r.indexOf(b.value)<0&&r.push(b.value),void 0!==b.min&&r.indexOf(b.min)<0&&r.push(b.min),void 0!==b.max&&r.indexOf(b.max)<0&&r.push(b.max);return r}getYDomain(r=this.getYValues()){let n=Math.min(...r);const b=Math.max(this.yAxisMinScale,...r);return n=Math.max(0,n),this.autoScale||(n=Math.min(0,n)),[n,b]}getSeriesDomain(){return this.results.map(r=>r.name)}getXScale(r,n){switch(this.scaleType){case Di.Time:return jc().range([0,n]).domain(r);case Di.Linear:const b=Ha().range([0,n]).domain(r);return this.roundDomains?b.nice():b;default:return qa().range([0,n-p3/r.length]).padding(0).domain(r)}}getYScale(r,n){const b=Ha().range([0,n]).domain(r);return this.roundDomains?b.nice():b}onClick(r,n){n&&(r.series=n.name),this.select.emit(r)}setColors(){const r=this.schemeType===Di.Ordinal?this.seriesDomain:this.yDomain.reverse();this.colors=new Rr(this.scheme,this.schemeType,r,this.customColors)}getLegendOptions(){return this.schemeType===Di.Ordinal?{scaleType:this.schemeType,colors:this.colors,domain:this.seriesDomain,title:this.legendTitle,position:this.legendPosition}:{scaleType:this.schemeType,colors:this.colors.scale,domain:this.yDomain,title:void 0,position:this.legendPosition}}updateYAxisWidth({width:r}){this.yAxisWidth=r,this.update()}updateXAxisHeight({height:r}){this.xAxisHeight=r,this.update()}onActivate(r){this.activeEntries.findIndex(b=>b.name===r.name&&b.value===r.value)>-1||(this.activeEntries=this.showSeriesOnHover?[r,...this.activeEntries]:this.activeEntries,this.activate.emit({value:r,entries:this.activeEntries}))}onDeactivate(r){const n=this.activeEntries.findIndex(b=>b.name===r.name&&b.value===r.value);this.activeEntries.splice(n,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:r,entries:this.activeEntries})}deactivateAll(){this.activeEntries=[...this.activeEntries];for(const r of this.activeEntries)this.deactivate.emit({value:r,entries:[]});this.activeEntries=[]}trackBy(r,n){return`${n.name}`}}H2.\u0275fac=function(){let u;return function(n){return(u||(u=e.n5z(H2)))(n||H2)}}(),H2.\u0275cmp=e.Xpm({type:H2,selectors:[["ngx-charts-polar-chart"]],contentQueries:function(r,n,b){if(1&r&&e.Suo(b,Pr,5),2&r){let B;e.iGM(B=e.CRH())&&(n.tooltipTemplate=B.first)}},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",autoScale:"autoScale",showGridLines:"showGridLines",curve:"curve",activeEntries:"activeEntries",schemeType:"schemeType",rangeFillOpacity:"rangeFillOpacity",trimYAxisTicks:"trimYAxisTicks",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",roundDomains:"roundDomains",tooltipDisabled:"tooltipDisabled",showSeriesOnHover:"showSeriesOnHover",gradient:"gradient",yAxisMinScale:"yAxisMinScale",labelTrim:"labelTrim",labelTrimSize:"labelTrimSize"},outputs:{activate:"activate",deactivate:"deactivate"},features:[e.qOj],decls:10,vars:17,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelClick","legendLabelActivate","legendLabelDeactivate"],[1,"polar-chart","chart"],["cx","0","cy","0",1,"polar-chart-background"],[4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","dimensionsChanged",4,"ngIf"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width",4,"ngIf"],["class","gridline-path radial-gridline-path","cx","0","cy","0",4,"ngFor","ngForOf"],["cx","0","cy","0",1,"gridline-path","radial-gridline-path"],["ngx-charts-pie-label","",3,"data","radius","label","max","value","explodeSlices","animations","labelTrim","labelTrimSize",4,"ngFor","ngForOf"],["ngx-charts-pie-label","",3,"data","radius","label","max","value","explodeSlices","animations","labelTrim","labelTrimSize"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","dimensionsChanged"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width"],[4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-polar-series","",3,"gradient","xScale","yScale","colors","data","activeEntries","scaleType","curve","rangeFillOpacity","animations","tooltipDisabled","tooltipTemplate","select","activate","deactivate"]],template:function(r,n){1&r&&(e.TgZ(0,"ngx-charts-chart",0),e.NdJ("legendLabelClick",function(B){return n.onClick(B)})("legendLabelActivate",function(B){return n.onActivate(B)})("legendLabelDeactivate",function(B){return n.onDeactivate(B)}),e.O4$(),e.TgZ(1,"g",1)(2,"g"),e._UZ(3,"circle",2),e.YNc(4,K0,2,1,"g",3),e.YNc(5,x4,2,1,"g",3),e.qZA(),e.YNc(6,yp,1,9,"g",4),e.YNc(7,Kf,1,5,"g",5),e.YNc(8,Yf,2,3,"g",3),e.YNc(9,xp,2,3,"g",3),e.qZA()()),2&r&&(e.Q6J("view",e.WLB(14,Va,n.width,n.height))("showLegend",n.legend)("legendOptions",n.legendOptions)("activeEntries",n.activeEntries)("animations",n.animations),e.xp6(1),e.uIk("transform",n.transform),e.xp6(1),e.uIk("transform",n.transformPlot),e.xp6(1),e.uIk("r",n.outerRadius),e.xp6(1),e.Q6J("ngIf",n.showGridLines),e.xp6(1),e.Q6J("ngIf",n.xAxis),e.xp6(1),e.Q6J("ngIf",n.yAxis),e.xp6(1),e.Q6J("ngIf",n.xAxis&&n.showXAxisLabel),e.xp6(1),e.Q6J("ngIf",!n.isSSR),e.xp6(1),e.Q6J("ngIf",n.isSSR))},dependencies:[Wa,M1,no,Sl,z2,t.O5,t.sg],styles:[to,".pie-label{font-size:11px}.pie-label.animation{-webkit-animation:.75s ease-in fadeIn;animation:.75s ease-in fadeIn}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.pie-label-line{stroke-dasharray:100%}.pie-label-line.animation{-webkit-animation:3s linear drawOut;animation:3s linear drawOut;transition:d .75s}@-webkit-keyframes drawOut{0%{stroke-dashoffset:100%}to{stroke-dashoffset:0}}@keyframes drawOut{0%{stroke-dashoffset:100%}to{stroke-dashoffset:0}}\n",".polar-chart .polar-chart-background{fill:none}.polar-chart .radial-gridline-path{stroke-dasharray:10 10;fill:none}.polar-chart .pie-label-line{stroke:#2f3646}.polar-charts-series .polar-series-area,.polar-series-path{pointer-events:none}\n"],encapsulation:2,data:{animation:[(0,d.X$)("animationState",[(0,d.eR)(":leave",[(0,d.oB)({opacity:1}),(0,d.jt)(500,(0,d.oB)({opacity:0}))])])]},changeDetection:0});class Td{constructor(r){this.startAngle=0,this.endAngle=2*Math.PI,this.cornerRadius=0,this.explodeSlices=!1,this.gradient=!1,this.animate=!0,this.pointerEvents=!0,this.isActive=!1,this.select=new e.vpe,this.activate=new e.vpe,this.deactivate=new e.vpe,this.dblclick=new e.vpe,this.barOrientation=ka,this.initialized=!1,this.element=r.nativeElement}ngOnChanges(r){this.update()}getGradient(){return this.gradient?this.gradientFill:this.fill}getPointerEvents(){return this.pointerEvents?"auto":"none"}update(){const r=this.calculateArc();this.startOpacity=.5,this.radialGradientId="linearGrad"+qo().toString(),this.gradientFill=`url(#${this.radialGradientId})`,this.animate?this.initialized?this.updateAnimation():(this.loadAnimation(),this.initialized=!0):this.path=r.startAngle(this.startAngle).endAngle(this.endAngle)()}calculateArc(){let r=this.outerRadius;return this.explodeSlices&&0===this.innerRadius&&(r=this.outerRadius*this.value/this.max),u2().innerRadius(this.innerRadius).outerRadius(r).cornerRadius(this.cornerRadius)}loadAnimation(){const r=Rt(this.element).selectAll(".arc").data([{startAngle:this.startAngle,endAngle:this.endAngle}]),n=this.calculateArc();r.transition().attrTween("d",function(b){this._current=this._current||b;const B=Object.assign({},b);B.endAngle=B.startAngle;const j=Qa(B,B);return this._current=j(0),function(ue){return n(j(ue))}}).transition().duration(750).attrTween("d",function(b){this._current=this._current||b;const B=Qa(this._current,b);return this._current=B(0),function(j){return n(B(j))}})}updateAnimation(){const r=Rt(this.element).selectAll(".arc").data([{startAngle:this.startAngle,endAngle:this.endAngle}]),n=this.calculateArc();r.transition().duration(750).attrTween("d",function(b){this._current=this._current||b;const B=Qa(this._current,b);return this._current=B(0),function(j){return n(B(j))}})}onClick(){clearTimeout(this._timeout),this._timeout=setTimeout(()=>this.select.emit(this.data),200)}onDblClick(r){r.preventDefault(),r.stopPropagation(),clearTimeout(this._timeout),this.dblclick.emit({data:this.data,nativeEvent:r})}}Td.\u0275fac=function(r){return new(r||Td)(e.Y36(e.SBq))},Td.\u0275cmp=e.Xpm({type:Td,selectors:[["g","ngx-charts-pie-arc",""]],inputs:{fill:"fill",startAngle:"startAngle",endAngle:"endAngle",innerRadius:"innerRadius",outerRadius:"outerRadius",cornerRadius:"cornerRadius",value:"value",max:"max",data:"data",explodeSlices:"explodeSlices",gradient:"gradient",animate:"animate",pointerEvents:"pointerEvents",isActive:"isActive"},outputs:{select:"select",activate:"activate",deactivate:"deactivate",dblclick:"dblclick"},features:[e.TTD],attrs:["ngx-charts-pie-arc",""],decls:3,vars:7,consts:[[1,"arc-group"],[4,"ngIf"],[1,"arc",3,"click","dblclick","mouseenter","mouseleave"],["ngx-charts-svg-radial-gradient","",3,"color","name","startOpacity"]],template:function(r,n){1&r&&(e.O4$(),e.TgZ(0,"g",0),e.YNc(1,Cp,2,3,"defs",1),e.TgZ(2,"path",2),e.NdJ("click",function(){return n.onClick()})("dblclick",function(B){return n.onDblClick(B)})("mouseenter",function(){return n.activate.emit(n.data)})("mouseleave",function(){return n.deactivate.emit(n.data)}),e.qZA()()),2&r&&(e.xp6(1),e.Q6J("ngIf",n.gradient),e.xp6(1),e.Udp("pointer-events",n.getPointerEvents()),e.ekj("active",n.isActive),e.uIk("d",n.path)("fill",n.getGradient()))},dependencies:[Ed,t.O5],encapsulation:2,changeDetection:0});class U2{constructor(){this.series=[],this.innerRadius=60,this.outerRadius=80,this.trimLabels=!0,this.maxLabelLength=10,this.tooltipDisabled=!1,this.animations=!0,this.select=new e.vpe,this.activate=new e.vpe,this.deactivate=new e.vpe,this.dblclick=new e.vpe,this.placementTypes=Rn,this.styleTypes=Qo}ngOnChanges(r){this.update()}update(){const n=m0().value(b=>b.value).sort(null)(this.series);this.max=rd(n,b=>b.value),this.data=this.calculateLabelPositions(n),this.tooltipText=this.tooltipText||this.defaultTooltipText}midAngle(r){return r.startAngle+(r.endAngle-r.startAngle)/2}outerArc(){return u2().innerRadius(1.5*this.outerRadius).outerRadius(1.5*this.outerRadius)}calculateLabelPositions(r){const B=r;B.forEach(j=>{j.pos=this.outerArc().centroid(j),j.pos[0]=1.5*this.outerRadius*(this.midAngle(j)<Math.PI?1:-1)});for(let j=0;j<B.length-1;j++){const ue=B[j];if(this.labelVisible(ue))for(let Se=j+1;Se<B.length;Se++){const mt=B[Se];if(this.labelVisible(mt)&&mt.pos[0]*ue.pos[0]>0){const xt=10-Math.abs(mt.pos[1]-ue.pos[1]);xt>0&&(mt.pos[1]+=Math.sign(mt.pos[0])*xt)}}}return B}labelVisible(r){return this.showLabels&&r.endAngle-r.startAngle>Math.PI/30}getTooltipTitle(r){return this.tooltipTemplate?void 0:this.tooltipText(r)}labelText(r){return this.labelFormatting?this.labelFormatting(r.data.name):this.label(r)}label(r){return Kr(r.data.name)}defaultTooltipText(r){const n=this.label(r),b=Kr(r.data.value);return`\n <span class="tooltip-label">${_o(n)}</span>\n <span class="tooltip-val">${b}</span>\n `}color(r){return this.colors.getColor(this.label(r))}trackBy(r,n){return n.data.name}onClick(r){this.select.emit(r)}isActive(r){return!!this.activeEntries&&void 0!==this.activeEntries.find(b=>r.name===b.name&&r.series===b.series)}}U2.\u0275fac=function(r){return new(r||U2)},U2.\u0275cmp=e.Xpm({type:U2,selectors:[["g","ngx-charts-pie-series",""]],inputs:{colors:"colors",series:"series",dims:"dims",innerRadius:"innerRadius",outerRadius:"outerRadius",explodeSlices:"explodeSlices",showLabels:"showLabels",gradient:"gradient",activeEntries:"activeEntries",labelFormatting:"labelFormatting",trimLabels:"trimLabels",maxLabelLength:"maxLabelLength",tooltipText:"tooltipText",tooltipDisabled:"tooltipDisabled",tooltipTemplate:"tooltipTemplate",animations:"animations"},outputs:{select:"select",activate:"activate",deactivate:"deactivate",dblclick:"dblclick"},features:[e.TTD],attrs:["ngx-charts-pie-series",""],decls:1,vars:2,consts:[[4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-pie-label","",3,"data","radius","color","label","labelTrim","labelTrimSize","max","value","explodeSlices","animations",4,"ngIf"],["ngx-charts-pie-arc","","ngx-tooltip","",3,"startAngle","endAngle","innerRadius","outerRadius","fill","value","gradient","data","max","explodeSlices","isActive","animate","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","select","activate","deactivate","dblclick"],["ngx-charts-pie-label","",3,"data","radius","color","label","labelTrim","labelTrimSize","max","value","explodeSlices","animations"]],template:function(r,n){1&r&&e.YNc(0,Mp,3,19,"g",0),2&r&&e.Q6J("ngForOf",n.data)("ngForTrackBy",n.trackBy)},dependencies:[M1,Td,t.sg,t.O5,hs],encapsulation:2,changeDetection:0});class w1 extends Ka{constructor(){super(...arguments),this.activeEntries=[],this.tooltipDisabled=!1,this.label="Total",this.activate=new e.vpe,this.deactivate=new e.vpe,this.margin=[20,20,20,20]}update(){super.update(),this.dims=_r({width:4*this.width/12,height:this.height,margins:this.margin}),this.formatDates(),this.domain=this.getDomain(),this.setColors();const r=this.dims.width/2,n=this.margin[0]+this.dims.height/2;this.legendWidth=this.width-this.dims.width-this.margin[1],this.outerRadius=Math.min(this.dims.width,this.dims.height)/2.5,this.innerRadius=.75*this.outerRadius,this.transform=`translate(${r} , ${n})`}getDomain(){return this.results.map(r=>r.label)}onClick(r){this.select.emit(r)}setColors(){this.colors=new Rr(this.scheme,Di.Ordinal,this.domain,this.customColors)}onActivate(r,n=!1){r=this.results.find(B=>n?B.label===r.name:B.name===r.name),!(this.activeEntries.findIndex(B=>B.name===r.name&&B.value===r.value&&B.series===r.series)>-1)&&(this.activeEntries=[r,...this.activeEntries],this.activate.emit({value:r,entries:this.activeEntries}))}onDeactivate(r,n=!1){r=this.results.find(B=>n?B.label===r.name:B.name===r.name);const b=this.activeEntries.findIndex(B=>B.name===r.name&&B.value===r.value&&B.series===r.series);this.activeEntries.splice(b,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:r,entries:this.activeEntries})}}w1.\u0275fac=function(){let u;return function(n){return(u||(u=e.n5z(w1)))(n||w1)}}(),w1.\u0275cmp=e.Xpm({type:w1,selectors:[["ngx-charts-advanced-pie-chart"]],contentQueries:function(r,n,b){if(1&r&&e.Suo(b,Pr,5),2&r){let B;e.iGM(B=e.CRH())&&(n.tooltipTemplate=B.first)}},inputs:{gradient:"gradient",activeEntries:"activeEntries",tooltipDisabled:"tooltipDisabled",tooltipText:"tooltipText",label:"label",valueFormatting:"valueFormatting",nameFormatting:"nameFormatting",percentageFormatting:"percentageFormatting"},outputs:{activate:"activate",deactivate:"deactivate"},features:[e.qOj],decls:7,vars:37,consts:[[1,"advanced-pie","chart"],[3,"view","showLegend","animations"],[1,"pie","chart"],["ngx-charts-pie-series","",3,"colors","series","innerRadius","activeEntries","outerRadius","gradient","tooltipDisabled","tooltipTemplate","tooltipText","animations","select","activate","deactivate"],[1,"advanced-pie-legend-wrapper"],[3,"data","colors","width","label","animations","valueFormatting","labelFormatting","percentageFormatting","select","activate","deactivate"]],template:function(r,n){1&r&&(e.TgZ(0,"div")(1,"div",0)(2,"ngx-charts-chart",1),e.O4$(),e.TgZ(3,"g",2)(4,"g",3),e.NdJ("select",function(B){return n.onClick(B)})("activate",function(B){return n.onActivate(B)})("deactivate",function(B){return n.onDeactivate(B)}),e.qZA()()()(),e.kcU(),e.TgZ(5,"div",4)(6,"ngx-charts-advanced-legend",5),e.NdJ("select",function(B){return n.onClick(B)})("activate",function(B){return n.onActivate(B,!0)})("deactivate",function(B){return n.onDeactivate(B,!0)}),e.qZA()()()),2&r&&(e.Udp("width",n.width,"px")("height",n.height,"px"),e.xp6(1),e.Udp("width",n.dims.width,"px")("height",n.dims.height,"px"),e.xp6(1),e.Q6J("view",e.WLB(34,Va,n.width,n.height))("showLegend",!1)("animations",n.animations),e.xp6(1),e.uIk("transform",n.transform),e.xp6(1),e.Q6J("colors",n.colors)("series",n.results)("innerRadius",n.innerRadius)("activeEntries",n.activeEntries)("outerRadius",n.outerRadius)("gradient",n.gradient)("tooltipDisabled",n.tooltipDisabled)("tooltipTemplate",n.tooltipTemplate)("tooltipText",n.tooltipText)("animations",n.animations),e.xp6(1),e.Udp("width",n.width-n.dims.width,"px")("height",n.height,"px"),e.xp6(1),e.Q6J("data",n.results)("colors",n.colors)("width",n.width-n.dims.width-n.margin[1])("label",n.label)("animations",n.animations)("valueFormatting",n.valueFormatting)("labelFormatting",n.nameFormatting)("percentageFormatting",n.percentageFormatting))},dependencies:[Wa,U2,p1],styles:[to,".advanced-pie{display:inline-block;float:left}.advanced-pie-legend-wrapper{display:inline-block}\n"],encapsulation:2,changeDetection:0});class em extends Ka{constructor(){super(...arguments),this.labels=!1,this.legend=!1,this.legendTitle="Legend",this.legendPosition=fr.Right,this.explodeSlices=!1,this.doughnut=!1,this.arcWidth=.25,this.activeEntries=[],this.tooltipDisabled=!1,this.trimLabels=!0,this.maxLabelLength=10,this.dblclick=new e.vpe,this.select=new e.vpe,this.activate=new e.vpe,this.deactivate=new e.vpe}update(){super.update(),this.labels&&this.hasNoOptionalMarginsSet()?this.margins=[30,80,30,80]:!this.labels&&this.hasNoOptionalMarginsSet()&&(this.margins=[20,20,20,20]),this.dims=_r({width:this.width,height:this.height,margins:this.margins,showLegend:this.legend,legendPosition:this.legendPosition}),this.formatDates();const r=this.margins[3]+this.dims.width/2,n=this.margins[0]+this.dims.height/2;this.translation=`translate(${r}, ${n})`,this.outerRadius=Math.min(this.dims.width,this.dims.height),this.labels?this.outerRadius/=3:this.outerRadius/=2,this.innerRadius=0,this.doughnut&&(this.innerRadius=this.outerRadius*(1-this.arcWidth)),this.domain=this.getDomain(),this.data=this.results.sort((b,B)=>this.domain.indexOf(b.name)-this.domain.indexOf(B.name)),this.setColors(),this.legendOptions=this.getLegendOptions()}getDomain(){return this.results.map(r=>r.label)}onClick(r){this.select.emit(r)}setColors(){this.colors=new Rr(this.scheme,Di.Ordinal,this.domain,this.customColors)}getLegendOptions(){return{scaleType:Di.Ordinal,domain:this.domain,colors:this.colors,title:this.legendTitle,position:this.legendPosition}}onActivate(r,n=!1){r=this.results.find(B=>n?B.label===r.name:B.name===r.name),!(this.activeEntries.findIndex(B=>B.name===r.name&&B.value===r.value&&B.series===r.series)>-1)&&(this.activeEntries=[r,...this.activeEntries],this.activate.emit({value:r,entries:this.activeEntries}))}onDeactivate(r,n=!1){r=this.results.find(B=>n?B.label===r.name:B.name===r.name);const b=this.activeEntries.findIndex(B=>B.name===r.name&&B.value===r.value&&B.series===r.series);this.activeEntries.splice(b,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:r,entries:this.activeEntries})}hasNoOptionalMarginsSet(){return!this.margins||this.margins.length<=0}}function S4(u,r,n){let b=1,B=r;const j=u.width;if(j>n)for(;j/B<n;)b+=1,B=Math.ceil(r/b);return[B,b]}function k4(u,r,n,b){const B=Jr(),j=Jr(),ue=u.width,Se=u.height,[mt,xt]=S4(u,r.length,n),At=[],qt=[];for(let vi=0;vi<xt;vi++)qt.push(vi);for(let vi=0;vi<mt;vi++)At.push(vi);B.domain(At),j.domain(qt),B.rangeRound([0,ue],.1),j.rangeRound([0,Se],.1);const Ft=[],Ci=b||function T_(u){return u.map(r=>r?r.value:0).reduce((r,n)=>r+n,0)}(r),Pi=B.bandwidth(),Xi=j.bandwidth();for(let vi=0;vi<r.length;vi++)Ft[vi]={},Ft[vi].data={name:r[vi]?r[vi].name:"",value:r[vi]?r[vi].value:void 0,extra:r[vi]?r[vi].extra:void 0,label:r[vi]?r[vi].label:""},Ft[vi].x=B(vi%mt),Ft[vi].y=j(Math.floor(vi/mt)),Ft[vi].width=Pi,Ft[vi].height=Xi,Ft[vi].data.percent=Ci>0?Ft[vi].data.value/Ci:0,Ft[vi].data.total=Ci;return Ft}em.\u0275fac=function(){let u;return function(n){return(u||(u=e.n5z(em)))(n||em)}}(),em.\u0275cmp=e.Xpm({type:em,selectors:[["ngx-charts-pie-chart"]],contentQueries:function(r,n,b){if(1&r&&e.Suo(b,Pr,5),2&r){let B;e.iGM(B=e.CRH())&&(n.tooltipTemplate=B.first)}},inputs:{labels:"labels",legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",explodeSlices:"explodeSlices",doughnut:"doughnut",arcWidth:"arcWidth",gradient:"gradient",activeEntries:"activeEntries",tooltipDisabled:"tooltipDisabled",labelFormatting:"labelFormatting",trimLabels:"trimLabels",maxLabelLength:"maxLabelLength",tooltipText:"tooltipText",margins:"margins"},outputs:{dblclick:"dblclick",select:"select",activate:"activate",deactivate:"deactivate"},features:[e.qOj],decls:3,vars:24,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelActivate","legendLabelDeactivate","legendLabelClick"],[1,"pie-chart","chart"],["ngx-charts-pie-series","",3,"colors","series","showLabels","labelFormatting","trimLabels","maxLabelLength","activeEntries","innerRadius","outerRadius","explodeSlices","gradient","animations","tooltipDisabled","tooltipTemplate","tooltipText","dblclick","select","activate","deactivate"]],template:function(r,n){1&r&&(e.TgZ(0,"ngx-charts-chart",0),e.NdJ("legendLabelActivate",function(B){return n.onActivate(B,!0)})("legendLabelDeactivate",function(B){return n.onDeactivate(B,!0)})("legendLabelClick",function(B){return n.onClick(B)}),e.O4$(),e.TgZ(1,"g",1)(2,"g",2),e.NdJ("dblclick",function(B){return n.dblclick.emit(B)})("select",function(B){return n.onClick(B)})("activate",function(B){return n.onActivate(B)})("deactivate",function(B){return n.onDeactivate(B)}),e.qZA()()()),2&r&&(e.Q6J("view",e.WLB(21,Va,n.width,n.height))("showLegend",n.legend)("legendOptions",n.legendOptions)("activeEntries",n.activeEntries)("animations",n.animations),e.xp6(1),e.uIk("transform",n.translation),e.xp6(1),e.Q6J("colors",n.colors)("series",n.data)("showLabels",n.labels)("labelFormatting",n.labelFormatting)("trimLabels",n.trimLabels)("maxLabelLength",n.maxLabelLength)("activeEntries",n.activeEntries)("innerRadius",n.innerRadius)("outerRadius",n.outerRadius)("explodeSlices",n.explodeSlices)("gradient",n.gradient)("animations",n.animations)("tooltipDisabled",n.tooltipDisabled)("tooltipTemplate",n.tooltipTemplate)("tooltipText",n.tooltipText))},dependencies:[Wa,U2],styles:[to,".pie-label{font-size:11px}.pie-label.animation{-webkit-animation:.75s ease-in fadeIn;animation:.75s ease-in fadeIn}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.pie-label-line{stroke-dasharray:100%}.pie-label-line.animation{-webkit-animation:3s linear drawOut;animation:3s linear drawOut;transition:d .75s}@-webkit-keyframes drawOut{0%{stroke-dashoffset:100%}to{stroke-dashoffset:0}}@keyframes drawOut{0%{stroke-dashoffset:100%}to{stroke-dashoffset:0}}\n"],encapsulation:2,changeDetection:0});class lu{constructor(r){this.innerRadius=70,this.outerRadius=80,this.animations=!0,this.select=new e.vpe,this.activate=new e.vpe,this.deactivate=new e.vpe,this.element=r.nativeElement}ngOnChanges(r){this.update()}update(){this.layout=m0().value(r=>r.data.value).sort(null),this.arcs=this.getArcs()}getArcs(){return this.layout(this.data).map((r,n)=>{const b=r.data.data.name,B=r.data.data.other;0===n&&(r.startAngle=0);const j=this.colors(b);return{data:r.data.data,class:"arc arc"+n,fill:j,startAngle:B?0:r.startAngle,endAngle:r.endAngle,animate:this.animations&&!B,pointerEvents:!B}})}onClick(r){this.select.emit(this.data[0].data)}trackBy(r,n){return n.data.name}label(r){return r.data.name}color(r){return this.colors(this.label(r))}}lu.\u0275fac=function(r){return new(r||lu)(e.Y36(e.SBq))},lu.\u0275cmp=e.Xpm({type:lu,selectors:[["g","ngx-charts-pie-grid-series",""]],inputs:{colors:"colors",data:"data",innerRadius:"innerRadius",outerRadius:"outerRadius",animations:"animations"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[e.TTD],attrs:["ngx-charts-pie-grid-series",""],decls:2,vars:2,consts:[[1,"pie-grid-arcs"],["ngx-charts-pie-arc","",3,"startAngle","endAngle","innerRadius","outerRadius","fill","value","data","gradient","pointerEvents","animate","select","activate","deactivate",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-pie-arc","",3,"startAngle","endAngle","innerRadius","outerRadius","fill","value","data","gradient","pointerEvents","animate","select","activate","deactivate"]],template:function(r,n){1&r&&(e.O4$(),e.TgZ(0,"g",0),e.YNc(1,qf,1,11,"g",1),e.qZA()),2&r&&(e.xp6(1),e.Q6J("ngForOf",n.arcs)("ngForTrackBy",n.trackBy))},dependencies:[Td,t.sg],encapsulation:2,changeDetection:0});class V2 extends Ka{constructor(){super(...arguments),this.tooltipDisabled=!1,this.label="Total",this.minWidth=150,this.activeEntries=[],this.activate=new e.vpe,this.deactivate=new e.vpe,this.margin=[20,20,20,20],this.placementTypes=Rn,this.styleTypes=Qo}update(){super.update(),this.dims=_r({width:this.width,height:this.height,margins:this.margin}),this.formatDates(),this.domain=this.getDomain(),this.data=k4(this.dims,this.results,this.minWidth,this.designatedTotal),this.transform=`translate(${this.margin[3]} , ${this.margin[0]})`,this.series=this.getSeries(),this.setColors(),this.tooltipText=this.tooltipText||this.defaultTooltipText}defaultTooltipText({data:r}){return`\n <span class="tooltip-label">${Ac(Kr(r.name))}</span>\n <span class="tooltip-val">${r.value.toLocaleString()}</span>\n `}getDomain(){return this.results.map(r=>r.label)}getSeries(){const r=this.designatedTotal?this.designatedTotal:this.getTotal();return this.data.map(n=>{const j=n.data.name,ue=Kr(j),Se=n.data.value,mt=jd([n.width-10,n.height-20])/2-5,xt=.9*mt;let At=0;return{transform:`translate(${n.x+(n.width-10)/2}, ${n.y+(n.height-20)/2})`,colors:()=>(At+=1,1===At?"rgba(100,100,100,0.3)":this.colorScale.getColor(ue)),innerRadius:xt,outerRadius:mt,name:j,label:Ac(ue),total:Se,value:Se,percent:ec(".1%")(n.data.percent),data:[n,{data:{other:!0,value:r-Se,name:n.data.name}}]}})}getTotal(){return this.results.map(r=>r.value).reduce((r,n)=>r+n,0)}onClick(r){this.select.emit(r)}setColors(){this.colorScale=new Rr(this.scheme,Di.Ordinal,this.domain,this.customColors)}onActivate(r,n=!1){r=this.results.find(B=>n?B.label===r.name:B.name===r.name),!(this.activeEntries.findIndex(B=>B.name===r.name&&B.value===r.value&&B.series===r.series)>-1)&&(this.activeEntries=[r,...this.activeEntries],this.activate.emit({value:r,entries:this.activeEntries}))}onDeactivate(r,n=!1){r=this.results.find(B=>n?B.label===r.name:B.name===r.name);const b=this.activeEntries.findIndex(B=>B.name===r.name&&B.value===r.value&&B.series===r.series);this.activeEntries.splice(b,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:r,entries:this.activeEntries})}}V2.\u0275fac=function(){let u;return function(n){return(u||(u=e.n5z(V2)))(n||V2)}}(),V2.\u0275cmp=e.Xpm({type:V2,selectors:[["ngx-charts-pie-grid"]],contentQueries:function(r,n,b){if(1&r&&e.Suo(b,Pr,5),2&r){let B;e.iGM(B=e.CRH())&&(n.tooltipTemplate=B.first)}},inputs:{designatedTotal:"designatedTotal",tooltipDisabled:"tooltipDisabled",tooltipText:"tooltipText",label:"label",minWidth:"minWidth",activeEntries:"activeEntries"},outputs:{activate:"activate",deactivate:"deactivate"},features:[e.qOj],decls:3,vars:8,consts:[[3,"view","showLegend","animations"],[1,"pie-grid","chart"],["class","pie-grid-item",4,"ngFor","ngForOf"],[1,"pie-grid-item"],["ngx-charts-pie-grid-series","","ngx-tooltip","",3,"colors","data","innerRadius","outerRadius","animations","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","select","activate","deactivate"],["class","label percent-label","dy","-0.5em","x","0","y","5","ngx-charts-count-up","","text-anchor","middle",3,"countTo","countSuffix",4,"ngIf"],["class","label percent-label","dy","-0.5em","x","0","y","5","text-anchor","middle",4,"ngIf"],["dy","0.5em","x","0","y","5","text-anchor","middle",1,"label"],["class","label","dy","1.23em","x","0","text-anchor","middle","ngx-charts-count-up","",3,"countTo","countPrefix",4,"ngIf"],["class","label","dy","1.23em","x","0","text-anchor","middle",4,"ngIf"],["dy","-0.5em","x","0","y","5","ngx-charts-count-up","","text-anchor","middle",1,"label","percent-label",3,"countTo","countSuffix"],["dy","-0.5em","x","0","y","5","text-anchor","middle",1,"label","percent-label"],["dy","1.23em","x","0","text-anchor","middle","ngx-charts-count-up","",1,"label",3,"countTo","countPrefix"],["dy","1.23em","x","0","text-anchor","middle",1,"label"]],template:function(r,n){1&r&&(e.TgZ(0,"ngx-charts-chart",0),e.O4$(),e.TgZ(1,"g",1),e.YNc(2,C4,8,19,"g",2),e.qZA()()),2&r&&(e.Q6J("view",e.WLB(5,Va,n.width,n.height))("showLegend",!1)("animations",n.animations),e.xp6(1),e.uIk("transform",n.transform),e.xp6(1),e.Q6J("ngForOf",n.series))},dependencies:[Wa,lu,Pl,t.sg,hs,t.O5],styles:[to,".pie-grid .arc1{opacity:.4}.pie-grid .percent-label{font-size:16px;font-weight:400}\n"],encapsulation:2,changeDetection:0});class Oc{}Oc.\u0275fac=function(r){return new(r||Oc)},Oc.\u0275mod=e.oAB({type:Oc}),Oc.\u0275inj=e.cJS({imports:[[To]]});class W2{}function f3(u,r,n=8){return r.split("").reduce((b,B)=>b+(u[B]||n),0)}W2.\u0275fac=function(r){return new(r||W2)},W2.\u0275mod=e.oAB({type:W2}),W2.\u0275inj=e.cJS({imports:[[To,Oc,Dd]]});const Rp={0:10,1:10,2:10,3:10,4:10,5:10,6:10,7:10,8:10,9:10,A:11,B:11,C:11,D:12,E:10,F:9,G:12,H:12,I:7,J:7,K:11,L:9,M:13,N:12,O:13,P:10,Q:13,R:11,S:11,T:10,U:12,V:11,W:16,X:11,Y:10,Z:11,a:10,b:10,c:8,d:10,e:10,f:6,g:10,h:10,i:4,j:6,k:9,l:4,m:16,n:10,o:10,p:10,q:10,r:7,s:8,t:6,u:10,v:9,w:13,x:9,y:9,z:8,"!":6,"@":16,"#":13,$:10,"%":17,"^":13,"&":12,"*":10,"(":7,")":7,_:10,"-":7,"+":13,"=":13,",":6,".":6,"/":7,"'":4,":":7,"|":7,"?":9,";":7,"<":13,">":13};class al{constructor(r,n,b,B){this.cd=n,this.zone=b,this.platformId=B,this.animations=!0,this.select=new e.vpe,this.value="",this.textFontSize=12,this.textTransform="",this.initialized=!1,this.bandHeight=10,this.textPadding=[10,20,5,20],this.labelFontSize=15,this.element=r.nativeElement}ngOnChanges(r){this.update()}ngOnInit(){(0,t.PM)(this.platformId)&&this.scaleTextSSR()}ngOnDestroy(){(0,t.NF)(this.platformId)&&cancelAnimationFrame(this.animationReq)}update(){this.zone.run(()=>{const r=this.data&&typeof this.data.value<"u",n=this.valueFormatting||(ue=>ue.value.toLocaleString()),b=this.labelFormatting||(ue=>_o(Ac(ue.label,55)));this.transform=`translate(${this.x} , ${this.y})`,this.textWidth=Math.max(0,this.width)-this.textPadding[1]-this.textPadding[3],this.cardWidth=Math.max(0,this.width),this.cardHeight=Math.max(0,this.height),this.label=this.label?this.label:this.data.name;const B={label:this.label,data:this.data,value:this.data.value};this.formattedLabel=b(B),this.transformBand=`translate(0 , ${this.cardHeight-this.bandHeight})`;const j=r?n(B):"";this.value=this.paddedValue(j),this.setPadding(),this.bandPath=sc(0,0,this.cardWidth,this.bandHeight,3,[!1,!1,!0,!0]),setTimeout(()=>{(0,t.NF)(this.platformId)&&this.scaleText(),this.value=j,r&&!this.initialized&&setTimeout(()=>this.startCount(),20)},8)})}paddedValue(r){return this.medianSize&&this.medianSize>r.length&&(r+="\u2007".repeat(this.medianSize-r.length)),r}startCount(){if(!this.initialized&&this.animations){cancelAnimationFrame(this.animationReq);const r=this.data.value,n=j0(r),b=this.valueFormatting||(j=>j.value.toLocaleString()),B=({value:j,finished:ue})=>{this.zone.run(()=>{j=ue?r:j,this.value=b({label:this.label,data:this.data,value:j}),ue||(this.value=this.paddedValue(this.value)),this.cd.markForCheck()})};this.animationReq=d3(0,r,n,1,B),this.initialized=!0}}scaleText(){this.zone.run(()=>{const{width:r,height:n}=this.textEl.nativeElement.getBoundingClientRect();if(0===r||0===n)return;const b=this.textPadding[1]=this.textPadding[3]=this.cardWidth/8,B=this.cardWidth-2*b,j=this.cardHeight/3,ue=Math.min(B/r,j/n);this.textFontSize=Math.floor(this.textFontSize*ue),this.labelFontSize=Math.min(this.textFontSize,15),this.setPadding(),this.cd.markForCheck()})}scaleTextSSR(){const r=f3(Rp,this.value,10),b=this.textPadding[1]=this.textPadding[3]=this.cardWidth/8,B=this.cardWidth-2*b,j=this.cardHeight/3,ue=Math.min(B/r,j/18);this.textFontSize=Math.floor(this.textFontSize*ue),this.labelFontSize=Math.min(this.textFontSize,15),this.setPadding()}setPadding(){this.textPadding[1]=this.textPadding[3]=this.cardWidth/8;const r=this.cardHeight/2;this.textPadding[0]=r-this.textFontSize-this.labelFontSize/2,this.textPadding[2]=r-this.labelFontSize}onClick(){this.select.emit(this.data)}}function _3(u){const r=va(u),{r:n,g:b,b:B,opacity:j}=r;if(0===j)return r.toString();return function g3({r:u,g:r,b:n},b){const B=b<0?0:255,j=b<0?-1*b:b;return u=Math.round((B-u)*j)+u,r=Math.round((B-r)*j)+r,n=Math.round((B-n)*j)+n,`rgb(${u}, ${r}, ${n})`}(r,(299*n+587*b+114*B)/1e3>=128?-.8:.8)}al.\u0275fac=function(r){return new(r||al)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(e.R0b),e.Y36(e.Lbi))},al.\u0275cmp=e.Xpm({type:al,selectors:[["g","ngx-charts-card",""]],viewQuery:function(r,n){if(1&r&&e.Gf(Tp,5),2&r){let b;e.iGM(b=e.CRH())&&(n.textEl=b.first)}},inputs:{color:"color",bandColor:"bandColor",textColor:"textColor",x:"x",y:"y",width:"width",height:"height",label:"label",data:"data",medianSize:"medianSize",valueFormatting:"valueFormatting",labelFormatting:"labelFormatting",animations:"animations"},outputs:{select:"select"},features:[e.TTD],attrs:["ngx-charts-card",""],decls:10,vars:25,consts:[[1,"cell",3,"click"],["rx","3","ry","3",1,"card"],["class","card-band","stroke","none",4,"ngIf"],["x","5","alignment-baseline","hanging",1,"trimmed-label"],[3,"innerHTML"],["text-anchor","start","alignment-baseline","hanging",1,"value-text"],["textEl",""],["stroke","none",1,"card-band"]],template:function(r,n){1&r&&(e.O4$(),e.TgZ(0,"g",0),e.NdJ("click",function(){return n.onClick()}),e._UZ(1,"rect",1),e.YNc(2,gd,1,3,"path",2),e.TgZ(3,"title"),e._uU(4),e.qZA(),e.TgZ(5,"foreignObject",3),e.kcU(),e._UZ(6,"p",4),e.qZA(),e.O4$(),e.TgZ(7,"text",5,6),e._uU(9),e.qZA()()),2&r&&(e.uIk("transform",n.transform),e.xp6(1),e.Udp("fill",n.color),e.uIk("width",n.cardWidth)("height",n.cardHeight),e.xp6(1),e.Q6J("ngIf",n.bandColor&&n.bandColor!==n.color),e.xp6(2),e.Oqu(n.label),e.xp6(1),e.uIk("x",n.textPadding[3])("y",n.cardHeight-n.textPadding[2])("width",n.textWidth)("height",n.labelFontSize+n.textPadding[2]),e.xp6(1),e.Udp("color",n.textColor)("font-size",n.labelFontSize,"px")("line-height",n.labelFontSize,"px"),e.Q6J("innerHTML",n.formattedLabel,e.oJD),e.xp6(1),e.Udp("fill",n.textColor)("font-size",n.textFontSize,"pt"),e.uIk("x",n.textPadding[3])("y",n.textPadding[0]),e.xp6(2),e.hij(" ",n.value," "))},dependencies:[t.O5],encapsulation:2,changeDetection:0});class du{constructor(){this.innerPadding=15,this.emptyColor="rgba(0, 0, 0, 0)",this.animations=!0,this.select=new e.vpe}ngOnChanges(r){this.update()}update(){if(this.data.length>2){const n=this.valueFormatting||(j=>j.value.toLocaleString()),b=this.data.map(j=>j&&j.data&&typeof j.data.value<"u"&&null!==j.data.value?n({data:j.data,label:j?j.data.name:"",value:j&&j.data?j.data.value:""}).length:0).sort((j,ue)=>ue-j),B=Math.ceil(this.data.length/2);this.medianSize=b[B]}const r=this.getCards();this.cards=r.filter(n=>null!==n.data.value),this.emptySlots=r.filter(n=>null===n.data.value)}getCards(){const r="number"==typeof this.innerPadding?this.innerPadding:this.innerPadding[0]+this.innerPadding[2],n="number"==typeof this.innerPadding?this.innerPadding:this.innerPadding[1]+this.innerPadding[3];return this.data.map((b,B)=>{let j=b.data.name;j=j&&"Date"===j.constructor.name?j.toLocaleDateString():j&&j.toLocaleString();const ue=b.data.value,Se=j?this.colors.getColor(j):this.emptyColor,mt=this.cardColor||Se||"#000";return{x:b.x,y:b.y,width:b.width-n,height:b.height-r,color:mt,bandColor:this.bandColor||Se,textColor:this.textColor||_3(mt),label:j,data:b.data,tooltipText:`${j}: ${ue}`}})}trackBy(r,n){return n.label}onClick(r){this.select.emit(r)}}du.\u0275fac=function(r){return new(r||du)},du.\u0275cmp=e.Xpm({type:du,selectors:[["g","ngx-charts-card-series",""]],inputs:{data:"data",dims:"dims",colors:"colors",innerPadding:"innerPadding",cardColor:"cardColor",bandColor:"bandColor",emptyColor:"emptyColor",textColor:"textColor",valueFormatting:"valueFormatting",labelFormatting:"labelFormatting",animations:"animations"},outputs:{select:"select"},features:[e.TTD],attrs:["ngx-charts-card-series",""],decls:2,vars:4,consts:[["class","card-empty","rx","3","ry","3",3,"fill",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-card","",3,"x","y","width","height","color","bandColor","textColor","data","label","medianSize","valueFormatting","labelFormatting","animations","select",4,"ngFor","ngForOf","ngForTrackBy"],["rx","3","ry","3",1,"card-empty"],["ngx-charts-card","",3,"x","y","width","height","color","bandColor","textColor","data","label","medianSize","valueFormatting","labelFormatting","animations","select"]],template:function(r,n){1&r&&(e.YNc(0,E4,1,6,"rect",0),e.YNc(1,Z0,1,13,"g",1)),2&r&&(e.Q6J("ngForOf",n.emptySlots)("ngForTrackBy",n.trackBy),e.xp6(1),e.Q6J("ngForOf",n.cards)("ngForTrackBy",n.trackBy))},dependencies:[al,t.sg],encapsulation:2,changeDetection:0});class hu extends Ka{constructor(){super(...arguments),this.emptyColor="rgba(0, 0, 0, 0)",this.innerPadding=15,this.margin=[10,10,10,10]}get clickable(){return!!this.select.observers.length}update(){super.update(),this.dims=_r({width:this.width,height:this.height,margins:this.margin}),this.formatDates(),this.domain=this.getDomain(),this.setColors(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]})`;const r=S4(this.dims,this.results.length,150),n=r[0]*r[1],b=this.results.slice();for(;b.length<n;)b.push({value:null});this.data=k4(this.dims,b,150,this.designatedTotal)}getDomain(){return this.results.map(r=>r.label)}onClick(r){this.select.emit(r)}setColors(){this.colors=new Rr(this.scheme,Di.Ordinal,this.domain,this.customColors)}}hu.\u0275fac=function(){let u;return function(n){return(u||(u=e.n5z(hu)))(n||hu)}}(),hu.\u0275cmp=e.Xpm({type:hu,selectors:[["ngx-charts-number-card"]],inputs:{cardColor:"cardColor",bandColor:"bandColor",emptyColor:"emptyColor",innerPadding:"innerPadding",textColor:"textColor",valueFormatting:"valueFormatting",labelFormatting:"labelFormatting",designatedTotal:"designatedTotal"},features:[e.qOj],decls:3,vars:20,consts:[[3,"view","showLegend","animations"],[1,"number-card","chart"],["ngx-charts-card-series","",3,"colors","cardColor","bandColor","textColor","emptyColor","data","dims","innerPadding","valueFormatting","labelFormatting","animations","select"]],template:function(r,n){1&r&&(e.TgZ(0,"ngx-charts-chart",0),e.O4$(),e.TgZ(1,"g",1)(2,"g",2),e.NdJ("select",function(B){return n.onClick(B)}),e.qZA()()()),2&r&&(e.Q6J("view",e.WLB(17,Va,n.width,n.height))("showLegend",!1)("animations",n.animations),e.xp6(1),e.ekj("clickable",n.clickable),e.uIk("transform",n.transform),e.xp6(1),e.Q6J("colors",n.colors)("cardColor",n.cardColor)("bandColor",n.bandColor)("textColor",n.textColor)("emptyColor",n.emptyColor)("data",n.data)("dims",n.dims)("innerPadding",n.innerPadding)("valueFormatting",n.valueFormatting)("labelFormatting",n.labelFormatting)("animations",n.animations))},dependencies:[Wa,du],styles:[to,"ngx-charts-number-card .cell .trimmed-label{font-size:12px;pointer-events:none;overflow:hidden;text-align:left;line-height:1em}ngx-charts-number-card .cell .trimmed-label p{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%;padding:0;margin:0}ngx-charts-number-card .cell .value-text{pointer-events:none}ngx-charts-number-card .number-card.clickable .cell .card,ngx-charts-number-card .number-card.clickable .cell .card-band{cursor:pointer}\n"],encapsulation:2,changeDetection:0});class D1{}D1.\u0275fac=function(r){return new(r||D1)},D1.\u0275mod=e.oAB({type:D1}),D1.\u0275inj=e.cJS({imports:[[To]]});class K2{constructor(r){this.gradient=!1,this.animations=!0,this.select=new e.vpe,this.initialized=!1,this.orientation=ka,this.element=r.nativeElement}ngOnChanges(){this.update(),this.valueFormatting=this.valueFormatting||(b=>b.toLocaleString());const r=this.labelFormatting||(b=>_o(Ac(b.label,55))),n={data:this.data,label:this.label,value:this.value};this.formattedValue=this.valueFormatting(n.value),this.formattedLabel=r(n),this.gradientId="grad"+qo().toString(),this.gradientUrl=`url(#${this.gradientId})`,this.gradientStops=this.getGradientStops()}update(){this.initialized?this.animateToCurrentForm():(this.animations&&this.loadAnimation(),this.initialized=!0)}loadAnimation(){Rt(this.element).select(".cell").attr("opacity",0).attr("x",this.x).attr("y",this.y),this.animateToCurrentForm()}getTextColor(){return _3(this.fill)}animateToCurrentForm(){const r=Rt(this.element).select(".cell");this.animations?r.transition().duration(750).attr("opacity",1).attr("x",this.x).attr("y",this.y).attr("width",this.width).attr("height",this.height):r.attr("opacity",1).attr("x",this.x).attr("y",this.y).attr("width",this.width).attr("height",this.height)}onClick(){this.select.emit(this.data)}getGradientStops(){return[{offset:0,color:this.fill,opacity:.3},{offset:100,color:this.fill,opacity:1}]}}K2.\u0275fac=function(r){return new(r||K2)(e.Y36(e.SBq))},K2.\u0275cmp=e.Xpm({type:K2,selectors:[["g","ngx-charts-tree-map-cell",""]],inputs:{data:"data",fill:"fill",x:"x",y:"y",width:"width",height:"height",label:"label",value:"value",valueFormatting:"valueFormatting",labelFormatting:"labelFormatting",gradient:"gradient",animations:"animations"},outputs:{select:"select"},features:[e.TTD],attrs:["ngx-charts-tree-map-cell",""],decls:4,vars:7,consts:[[4,"ngIf"],[1,"cell",3,"click"],["class","treemap-label",3,"pointer-events",4,"ngIf"],["ngx-charts-svg-linear-gradient","",3,"orientation","name","stops"],[1,"treemap-label"],[1,"treemap-label",3,"innerHTML"],["class","treemap-val","ngx-charts-count-up","",3,"countTo","valueFormatting",4,"ngIf"],["class","treemap-val",4,"ngIf"],["ngx-charts-count-up","",1,"treemap-val",3,"countTo","valueFormatting"],[1,"treemap-val"]],template:function(r,n){1&r&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,w_,2,3,"defs",0),e.TgZ(2,"rect",1),e.NdJ("click",function(){return n.onClick()}),e.qZA(),e.YNc(3,e3,6,15,"foreignObject",2),e.qZA()),2&r&&(e.xp6(1),e.Q6J("ngIf",n.gradient),e.xp6(1),e.uIk("fill",n.gradient?n.gradientUrl:n.fill)("width",n.width)("height",n.height)("x",n.x)("y",n.y),e.xp6(1),e.Q6J("ngIf",n.width>=70&&n.height>=35))},dependencies:[cc,Pl,t.O5],encapsulation:2,changeDetection:0});class G2{constructor(){this.gradient=!1,this.tooltipDisabled=!1,this.animations=!0,this.select=new e.vpe,this.styleTypes=Qo,this.placementTypes=Rn}ngOnChanges(r){this.cells=this.getCells()}getCells(){return this.data.children.filter(r=>1===r.depth).map((r,n)=>{const b=r.id;return{data:r.data,x:r.x0,y:r.y0,width:r.x1-r.x0,height:r.y1-r.y0,fill:this.colors.getColor(b),label:b,value:r.value}})}getTooltipText({label:r,value:n}){return`\n <span class="tooltip-label">${_o(r)}</span>\n <span class="tooltip-val">${n.toLocaleString()}</span>\n `}onClick(r){this.select.emit(r)}trackBy(r,n){return n.label}}G2.\u0275fac=function(r){return new(r||G2)},G2.\u0275cmp=e.Xpm({type:G2,selectors:[["g","ngx-charts-tree-map-cell-series",""]],inputs:{data:"data",dims:"dims",colors:"colors",valueFormatting:"valueFormatting",labelFormatting:"labelFormatting",gradient:"gradient",tooltipDisabled:"tooltipDisabled",tooltipTemplate:"tooltipTemplate",animations:"animations"},outputs:{select:"select"},features:[e.TTD],attrs:["ngx-charts-tree-map-cell-series",""],decls:1,vars:2,consts:[["ngx-charts-tree-map-cell","","ngx-tooltip","",3,"data","x","y","width","height","fill","label","value","valueFormatting","labelFormatting","gradient","animations","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","select",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-tree-map-cell","","ngx-tooltip","",3,"data","x","y","width","height","fill","label","value","valueFormatting","labelFormatting","gradient","animations","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","select"]],template:function(r,n){1&r&&e.YNc(0,Vr,1,18,"g",0),2&r&&e.Q6J("ngForOf",n.cells)("ngForTrackBy",n.trackBy)},dependencies:[K2,t.sg,hs],encapsulation:2,changeDetection:0});class rl extends Ka{constructor(){super(...arguments),this.tooltipDisabled=!1,this.gradient=!1,this.select=new e.vpe,this.margin=[10,10,10,10]}update(){super.update(),this.dims=_r({width:this.width,height:this.height,margins:this.margin}),this.domain=this.getDomain(),this.treemap=function Ym(){var u=_0,r=!1,n=1,b=1,B=[0],j=t1,ue=t1,Se=t1,mt=t1,xt=t1;function At(Ft){return Ft.x0=Ft.y0=0,Ft.x1=n,Ft.y1=b,Ft.eachBefore(qt),B=[0],r&&Ft.eachBefore(p0),Ft}function qt(Ft){var Ci=B[Ft.depth],Pi=Ft.x0+Ci,Xi=Ft.y0+Ci,vi=Ft.x1-Ci,Ji=Ft.y1-Ci;vi<Pi&&(Pi=vi=(Pi+vi)/2),Ji<Xi&&(Xi=Ji=(Xi+Ji)/2),Ft.x0=Pi,Ft.y0=Xi,Ft.x1=vi,Ft.y1=Ji,Ft.children&&(Ci=B[Ft.depth+1]=j(Ft)/2,Pi+=xt(Ft)-Ci,Xi+=ue(Ft)-Ci,(vi-=Se(Ft)-Ci)<Pi&&(Pi=vi=(Pi+vi)/2),(Ji-=mt(Ft)-Ci)<Xi&&(Xi=Ji=(Xi+Ji)/2),u(Ft,Pi,Xi,vi,Ji))}return At.round=function(Ft){return arguments.length?(r=!!Ft,At):r},At.size=function(Ft){return arguments.length?(n=+Ft[0],b=+Ft[1],At):[n,b]},At.tile=function(Ft){return arguments.length?(u=wc(Ft),At):u},At.padding=function(Ft){return arguments.length?At.paddingInner(Ft).paddingOuter(Ft):At.paddingInner()},At.paddingInner=function(Ft){return arguments.length?(j="function"==typeof Ft?Ft:$c(+Ft),At):j},At.paddingOuter=function(Ft){return arguments.length?At.paddingTop(Ft).paddingRight(Ft).paddingBottom(Ft).paddingLeft(Ft):At.paddingTop()},At.paddingTop=function(Ft){return arguments.length?(ue="function"==typeof Ft?Ft:$c(+Ft),At):ue},At.paddingRight=function(Ft){return arguments.length?(Se="function"==typeof Ft?Ft:$c(+Ft),At):Se},At.paddingBottom=function(Ft){return arguments.length?(mt="function"==typeof Ft?Ft:$c(+Ft),At):mt},At.paddingLeft=function(Ft){return arguments.length?(xt="function"==typeof Ft?Ft:$c(+Ft),At):xt},At}().size([this.dims.width,this.dims.height]);const n=function wi(){var u=ti,r=hi;function n(b){var ue,Se,mt,xt,At,qt,Ft,B=Array.from(b),j=B.length,Ci=new Map;for(Se=0;Se<j;++Se)ue=B[Se],At=B[Se]=new pe(ue),null!=(qt=u(ue,Se,b))&&(qt+="")&&(Ft=At.id=qt,Ci.set(Ft,Ci.has(Ft)?Ut:At)),null!=(qt=r(ue,Se,b))&&(qt+="")&&(At.parent=qt);for(Se=0;Se<j;++Se)if(qt=(At=B[Se]).parent){if(!(xt=Ci.get(qt)))throw new Error("missing: "+qt);if(xt===Ut)throw new Error("ambiguous: "+qt);xt.children?xt.children.push(At):xt.children=[At],At.parent=xt}else{if(mt)throw new Error("multiple roots");mt=At}if(!mt)throw new Error("no root");if(mt.parent=ct,mt.eachBefore(function(Pi){Pi.depth=Pi.parent.depth+1,--j}).eachBefore(H),mt.parent=null,j>0)throw new Error("cycle");return mt}return n.id=function(b){return arguments.length?(u=wc(b),n):u},n.parentId=function(b){return arguments.length?(r=wc(b),n):r},n}().id(b=>{let B=b.name;return B="Date"===B.constructor.name?B.toLocaleDateString():B.toLocaleString(),B}).parentId(b=>b.isRoot?null:"root")([{name:"root",value:0,isRoot:!0},...this.results]).sum(b=>b.value);this.data=this.treemap(n),this.setColors(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]})`}getDomain(){return this.results.map(r=>r.name)}onClick(r){this.select.emit(r)}setColors(){this.colors=new Rr(this.scheme,Di.Ordinal,this.domain,this.customColors)}}rl.\u0275fac=function(){let u;return function(n){return(u||(u=e.n5z(rl)))(n||rl)}}(),rl.\u0275cmp=e.Xpm({type:rl,selectors:[["ngx-charts-tree-map"]],contentQueries:function(r,n,b){if(1&r&&e.Suo(b,Pr,5),2&r){let B;e.iGM(B=e.CRH())&&(n.tooltipTemplate=B.first)}},inputs:{results:"results",tooltipDisabled:"tooltipDisabled",valueFormatting:"valueFormatting",labelFormatting:"labelFormatting",gradient:"gradient"},outputs:{select:"select"},features:[e.qOj],decls:3,vars:16,consts:[[3,"view","showLegend","animations"],[1,"tree-map","chart"],["ngx-charts-tree-map-cell-series","",3,"colors","data","dims","tooltipDisabled","tooltipTemplate","valueFormatting","labelFormatting","gradient","animations","select"]],template:function(r,n){1&r&&(e.TgZ(0,"ngx-charts-chart",0),e.O4$(),e.TgZ(1,"g",1)(2,"g",2),e.NdJ("select",function(B){return n.onClick(B)}),e.qZA()()()),2&r&&(e.Q6J("view",e.WLB(13,Va,n.width,n.height))("showLegend",!1)("animations",n.animations),e.xp6(1),e.uIk("transform",n.transform),e.xp6(1),e.Q6J("colors",n.colors)("data",n.data)("dims",n.dims)("tooltipDisabled",n.tooltipDisabled)("tooltipTemplate",n.tooltipTemplate)("valueFormatting",n.valueFormatting)("labelFormatting",n.labelFormatting)("gradient",n.gradient)("animations",n.animations))},dependencies:[Wa,G2],styles:[".tree-map .treemap-val{font-size:1.3em;padding-top:5px;display:inline-block}.tree-map .treemap-label p{display:table-cell;text-align:center;line-height:1.2em;vertical-align:middle}\n"],encapsulation:2,changeDetection:0});class Y2{}var zl;Y2.\u0275fac=function(r){return new(r||Y2)},Y2.\u0275mod=e.oAB({type:Y2}),Y2.\u0275inj=e.cJS({imports:[[To]]}),function(u){u.Value="value",u.Units="units"}(zl||(zl={}));class uu extends Ka{constructor(){super(...arguments),this.min=0,this.max=100,this.value=0,this.margin=[10,20,10,20],this.valueResizeScale=1,this.unitsResizeScale=1,this.valueTextTransform="",this.valueTranslate="",this.unitsTextTransform="",this.unitsTranslate="",this.barOrientation=ka}ngAfterViewInit(){super.ngAfterViewInit(),setTimeout(()=>{this.scaleText(zl.Value),this.scaleText(zl.Units)})}update(){super.update(),this.hasPreviousValue=void 0!==this.previousValue,this.max=Math.max(this.max,this.value),this.min=Math.min(this.min,this.value),this.hasPreviousValue&&(this.max=Math.max(this.max,this.previousValue),this.min=Math.min(this.min,this.previousValue)),this.dims=_r({width:this.width,height:this.height,margins:this.margin}),this.valueDomain=this.getValueDomain(),this.valueScale=this.getValueScale(),this.displayValue=this.getDisplayValue(),this.setColors();const r=this.margin[3]+this.dims.width/2,n=this.margin[0]+this.dims.height/2;this.transform=`translate(${r}, ${n})`,this.transformLine=`translate(${this.margin[3]+this.valueScale(this.previousValue)}, ${n})`,this.valueTranslate="translate(0, -15)",this.unitsTranslate="translate(0, 15)",(0,t.PM)(this.platformId)?(this.scaleTextSSR("value"),this.scaleTextSSR("units")):(setTimeout(()=>this.scaleText(zl.Value),50),setTimeout(()=>this.scaleText(zl.Units),50))}getValueDomain(){return[this.min,this.max]}getValueScale(){return Ha().range([0,this.dims.width]).domain(this.valueDomain)}getDisplayValue(){return this.valueFormatting?this.valueFormatting(this.value):this.value.toLocaleString()}scaleText(r,n=!0){let b,B;r===zl.Value?(b=this.valueTextEl,B=this.valueResizeScale):(b=this.unitsTextEl,B=this.unitsResizeScale);const{width:j,height:ue}=b.nativeElement.getBoundingClientRect();if(0===j||0===ue)return;const Se=B,mt=this.dims.width,xt=Math.max(this.dims.height/2-15,0),At=Math.floor(mt/(j/B)*100)/100,qt=Math.floor(xt/(ue/B)*100)/100;B=Math.min(qt,At),B!==Se&&(r===zl.Value?(this.valueResizeScale=B,this.valueTextTransform=`scale(${B}, ${B})`):(this.unitsResizeScale=B,this.unitsTextTransform=`scale(${B}, ${B})`),this.cd.markForCheck(),n&&(0,t.NF)(this.platformId)&&setTimeout(()=>{this.scaleText(r,!1)},50))}scaleTextSSR(r){let n=1;const b="value"===r?this.displayValue:this.units,B=f3(Rp,b,10),ue=this.dims.width,Se=Math.max(this.dims.height/2-15,0),mt=Math.floor(ue/(B/n)*100)/100,xt=Math.floor(Se/(25/n)*100)/100;n=Math.min(xt,mt),"value"===r?(this.valueResizeScale=n,this.valueTextTransform=`scale(${n}, ${n})`):(this.unitsResizeScale=n,this.unitsTextTransform=`scale(${n}, ${n})`),this.cd.markForCheck()}onClick(){this.select.emit({name:"Value",value:this.value})}setColors(){this.colors=new Rr(this.scheme,Di.Ordinal,[this.value],this.customColors)}}uu.\u0275fac=function(){let u;return function(n){return(u||(u=e.n5z(uu)))(n||uu)}}(),uu.\u0275cmp=e.Xpm({type:uu,selectors:[["ngx-charts-linear-gauge"]],viewQuery:function(r,n){if(1&r&&(e.Gf(t3,5),e.Gf(D4,5)),2&r){let b;e.iGM(b=e.CRH())&&(n.valueTextEl=b.first),e.iGM(b=e.CRH())&&(n.unitsTextEl=b.first)}},inputs:{min:"min",max:"max",value:"value",units:"units",previousValue:"previousValue",valueFormatting:"valueFormatting"},features:[e.qOj],decls:15,vars:38,consts:[[3,"view","showLegend","animations","click"],[1,"linear-gauge","chart"],["ngx-charts-bar","",1,"background-bar",3,"width","height","x","y","data","orientation","roundEdges","animations"],["ngx-charts-bar","",3,"width","height","x","y","fill","data","orientation","roundEdges","animations"],["x1","0","y1","5","x2","0","y2","15",4,"ngIf"],["x1","0","y1","-5","x2","0","y2","-15",4,"ngIf"],["alignment-baseline","after-edge",1,"value"],["valueTextEl",""],["alignment-baseline","before-edge",1,"units"],["unitsTextEl",""],["x1","0","y1","5","x2","0","y2","15"],["x1","0","y1","-5","x2","0","y2","-15"]],template:function(r,n){1&r&&(e.TgZ(0,"ngx-charts-chart",0),e.NdJ("click",function(){return n.onClick()}),e.O4$(),e.TgZ(1,"g",1),e._UZ(2,"g",2)(3,"g",3),e.YNc(4,T4,1,2,"line",4),e.YNc(5,i3,1,2,"line",5),e.TgZ(6,"g")(7,"g")(8,"text",6,7),e._uU(10),e.qZA()(),e.TgZ(11,"g")(12,"text",8,9),e._uU(14),e.qZA()()()()()),2&r&&(e.Q6J("view",e.WLB(33,Va,n.width,n.height))("showLegend",!1)("animations",n.animations),e.xp6(2),e.Q6J("width",n.dims.width)("height",3)("x",n.margin[3])("y",n.dims.height/2+n.margin[0]-2)("data",e.DdM(36,n3))("orientation",n.barOrientation.Horizontal)("roundEdges",!0)("animations",n.animations),e.xp6(1),e.Q6J("width",n.valueScale(n.value))("height",3)("x",n.margin[3])("y",n.dims.height/2+n.margin[0]-2)("fill",n.colors.getColor(n.units))("data",e.DdM(37,n3))("orientation",n.barOrientation.Horizontal)("roundEdges",!0)("animations",n.animations),e.xp6(1),e.Q6J("ngIf",n.hasPreviousValue),e.xp6(1),e.Q6J("ngIf",n.hasPreviousValue),e.xp6(1),e.uIk("transform",n.transform),e.xp6(1),e.uIk("transform",n.valueTranslate),e.xp6(1),e.Udp("text-anchor","middle"),e.uIk("transform",n.valueTextTransform),e.xp6(2),e.hij(" ",n.displayValue," "),e.xp6(1),e.uIk("transform",n.unitsTranslate),e.xp6(1),e.Udp("text-anchor","middle"),e.uIk("transform",n.unitsTextTransform),e.xp6(2),e.hij(" ",n.units," "))},dependencies:[Wa,f1,t.O5],styles:[to,".linear-gauge{cursor:pointer}.linear-gauge .background-bar path{fill:#0000000d}.linear-gauge .units{fill:#666}\n"],encapsulation:2,changeDetection:0});class Z2{constructor(){this.isActive=!1,this.tooltipDisabled=!1,this.animations=!0,this.select=new e.vpe,this.activate=new e.vpe,this.deactivate=new e.vpe,this.placementTypes=Rn,this.styleTypes=Qo}tooltipText(r){const n=Kr(r.data.name);let b;return b=this.valueFormatting?this.valueFormatting(r.data.value):Kr(r.data.value),`\n <span class="tooltip-label">${_o(n)}</span>\n <span class="tooltip-val">${b}</span>\n `}}Z2.\u0275fac=function(r){return new(r||Z2)},Z2.\u0275cmp=e.Xpm({type:Z2,selectors:[["g","ngx-charts-gauge-arc",""]],inputs:{backgroundArc:"backgroundArc",valueArc:"valueArc",cornerRadius:"cornerRadius",colors:"colors",isActive:"isActive",tooltipDisabled:"tooltipDisabled",valueFormatting:"valueFormatting",tooltipTemplate:"tooltipTemplate",animations:"animations"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},attrs:["ngx-charts-gauge-arc",""],decls:2,vars:23,consts:[["ngx-charts-pie-arc","",1,"background-arc",3,"startAngle","endAngle","innerRadius","outerRadius","cornerRadius","data","animate","pointerEvents"],["ngx-charts-pie-arc","","ngx-tooltip","",3,"startAngle","endAngle","innerRadius","outerRadius","cornerRadius","fill","data","animate","isActive","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","select","activate","deactivate"]],template:function(r,n){1&r&&(e.O4$(),e._UZ(0,"g",0),e.TgZ(1,"g",1),e.NdJ("select",function(B){return n.select.emit(B)})("activate",function(B){return n.activate.emit(B)})("deactivate",function(B){return n.deactivate.emit(B)}),e.qZA()),2&r&&(e.Q6J("startAngle",0)("endAngle",n.backgroundArc.endAngle)("innerRadius",n.backgroundArc.innerRadius)("outerRadius",n.backgroundArc.outerRadius)("cornerRadius",n.cornerRadius)("data",n.backgroundArc.data)("animate",!1)("pointerEvents",!1),e.xp6(1),e.Q6J("startAngle",0)("endAngle",n.valueArc.endAngle)("innerRadius",n.valueArc.innerRadius)("outerRadius",n.valueArc.outerRadius)("cornerRadius",n.cornerRadius)("fill",n.colors.getColor(n.valueArc.data.name))("data",n.valueArc.data)("animate",n.animations)("isActive",n.isActive)("tooltipDisabled",n.tooltipDisabled)("tooltipPlacement",n.placementTypes.Top)("tooltipType",n.styleTypes.tooltip)("tooltipTitle",n.tooltipTemplate?void 0:n.tooltipText(n.valueArc))("tooltipTemplate",n.tooltipTemplate)("tooltipContext",n.valueArc.data))},dependencies:[Td,hs],encapsulation:2,changeDetection:0});class mu{constructor(){this.rotate=""}ngOnChanges(r){this.update()}update(){this.rotationAngle=-90+this.startAngle,this.rotate=`rotate(${this.rotationAngle})`,this.ticks=this.getTicks()}getTicks(){const r=this.angleSpan/this.bigSegments,n=r/this.smallSegments,B={big:[],small:[]},j=this.radius+10,ue=j+20+10;for(let Se=0;Se<=this.bigSegments;Se++){const mt=Se*r,xt=mt*Math.PI/180,At=this.getTextAnchor(mt);let qt=!1;if(0===Se&&360===this.angleSpan&&(qt=!0),!qt){let Ft=Number.parseFloat(this.valueScale.invert(mt).toString()).toLocaleString();this.tickFormatting&&(Ft=this.tickFormatting(Ft)),B.big.push({line:this.getTickPath(j,20,xt),textAnchor:At,text:Ft,textTransform:`\n translate(${ue*Math.cos(xt)}, ${ue*Math.sin(xt)}) rotate(${-this.rotationAngle})\n `})}if(Se!==this.bigSegments)for(let Ft=1;Ft<=this.smallSegments;Ft++){const Pi=(mt+Ft*n)*Math.PI/180;B.small.push({line:this.getTickPath(j,10,Pi)})}}return B}getTextAnchor(r){r=(this.startAngle+r)%360;let n=jo.Middle;return r>45&&r<=135?n=jo.Start:r>225&&r<=315&&(n=jo.End),n}getTickPath(r,n,b){const B=r*Math.sin(b),j=(r+n)*Math.sin(b),mt=[{x:r*Math.cos(b),y:B},{x:(r+n)*Math.cos(b),y:j}];return tc().x(At=>At.x).y(At=>At.y)(mt)}}mu.\u0275fac=function(r){return new(r||mu)},mu.\u0275cmp=e.Xpm({type:mu,selectors:[["g","ngx-charts-gauge-axis",""]],inputs:{bigSegments:"bigSegments",smallSegments:"smallSegments",min:"min",max:"max",angleSpan:"angleSpan",startAngle:"startAngle",radius:"radius",valueScale:"valueScale",tickFormatting:"tickFormatting"},features:[e.TTD],attrs:["ngx-charts-gauge-axis",""],decls:4,vars:4,consts:[["class","gauge-tick gauge-tick-large",4,"ngFor","ngForOf"],["class","gauge-tick gauge-tick-small",4,"ngFor","ngForOf"],[1,"gauge-tick","gauge-tick-large"],["alignment-baseline","central"],[1,"gauge-tick","gauge-tick-small"]],template:function(r,n){1&r&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,A2,2,1,"g",0),e.YNc(2,A4,3,4,"g",0),e.YNc(3,I4,2,1,"g",1),e.qZA()),2&r&&(e.uIk("transform",n.rotate),e.xp6(1),e.Q6J("ngForOf",n.ticks.big),e.xp6(1),e.Q6J("ngForOf",n.ticks.big),e.xp6(1),e.Q6J("ngForOf",n.ticks.small))},dependencies:[t.sg],encapsulation:2,changeDetection:0});class j2 extends Ka{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=fr.Right,this.min=0,this.max=100,this.bigSegments=10,this.smallSegments=5,this.showAxis=!0,this.startAngle=-120,this.angleSpan=240,this.activeEntries=[],this.tooltipDisabled=!1,this.showText=!0,this.activate=new e.vpe,this.deactivate=new e.vpe,this.resizeScale=1,this.rotation="",this.textTransform="scale(1, 1)",this.cornerRadius=10}ngAfterViewInit(){super.ngAfterViewInit(),setTimeout(()=>this.scaleText())}update(){super.update(),this.showAxis?this.margin||(this.margin=[60,100,60,100]):this.margin||(this.margin=[10,20,10,20]),this.startAngle<0&&(this.startAngle=this.startAngle%360+360),this.angleSpan=Math.min(this.angleSpan,360),this.dims=_r({width:this.width,height:this.height,margins:this.margin,showLegend:this.legend,legendPosition:this.legendPosition}),this.domain=this.getDomain(),this.valueDomain=this.getValueDomain(),this.valueScale=this.getValueScale(),this.displayValue=this.getDisplayValue(),this.outerRadius=Math.min(this.dims.width,this.dims.height)/2,this.arcs=this.getArcs(),this.setColors(),this.legendOptions=this.getLegendOptions();const r=this.margin[3]+this.dims.width/2,n=this.margin[0]+this.dims.height/2;this.transform=`translate(${r}, ${n})`,this.rotation=`rotate(${this.startAngle})`,setTimeout(()=>this.scaleText(),50)}getArcs(){const r=[],n=.7*this.outerRadius,b=Math.min(n/this.results.length,10),B=.7*b;this.textRadius=this.outerRadius-this.results.length*b,this.cornerRadius=Math.floor(B/2);let j=0;for(const ue of this.results){const Se=this.outerRadius-j*b,mt=Se-B,qt={backgroundArc:{endAngle:this.angleSpan*Math.PI/180,innerRadius:mt,outerRadius:Se,data:{value:this.max,name:ue.name}},valueArc:{endAngle:Math.min(this.valueScale(ue.value),this.angleSpan)*Math.PI/180,innerRadius:mt,outerRadius:Se,data:{value:ue.value,name:ue.name}}};r.push(qt),j++}return r}getDomain(){return this.results.map(r=>r.name)}getValueDomain(){const r=this.results.map(B=>B.value),n=Math.min(...r),b=Math.max(...r);return void 0!==this.min?this.min=Math.min(this.min,n):this.min=n,void 0!==this.max?this.max=Math.max(this.max,b):this.max=b,[this.min,this.max]}getValueScale(){return Ha().range([0,this.angleSpan]).nice().domain(this.valueDomain)}getDisplayValue(){const r=this.results.map(n=>n.value).reduce((n,b)=>n+b,0);return this.textValue&&0!==this.textValue.length?this.textValue.toLocaleString():this.valueFormatting?this.valueFormatting(r):r.toLocaleString()}scaleText(r=!0){if(!this.showText)return;const{width:n}=this.textEl.nativeElement.getBoundingClientRect(),b=this.resizeScale;if(0===n)this.resizeScale=1;else{const B=this.textRadius;this.resizeScale=Math.floor(B/(n/this.resizeScale)*100)/100}this.resizeScale!==b&&(this.textTransform=`scale(${this.resizeScale}, ${this.resizeScale})`,this.cd.markForCheck(),r&&setTimeout(()=>this.scaleText(!1),50))}onClick(r){this.select.emit(r)}getLegendOptions(){return{scaleType:Di.Ordinal,colors:this.colors,domain:this.domain,title:this.legendTitle,position:this.legendPosition}}setColors(){this.colors=new Rr(this.scheme,Di.Ordinal,this.domain,this.customColors)}onActivate(r){this.activeEntries.findIndex(b=>b.name===r.name&&b.value===r.value)>-1||(this.activeEntries=[r,...this.activeEntries],this.activate.emit({value:r,entries:this.activeEntries}))}onDeactivate(r){const n=this.activeEntries.findIndex(b=>b.name===r.name&&b.value===r.value);this.activeEntries.splice(n,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:r,entries:this.activeEntries})}isActive(r){return!!this.activeEntries&&void 0!==this.activeEntries.find(b=>r.name===b.name&&r.series===b.series)}trackBy(r,n){return n.valueArc.data.name}}j2.\u0275fac=function(){let u;return function(n){return(u||(u=e.n5z(j2)))(n||j2)}}(),j2.\u0275cmp=e.Xpm({type:j2,selectors:[["ngx-charts-gauge"]],contentQueries:function(r,n,b){if(1&r&&e.Suo(b,Pr,5),2&r){let B;e.iGM(B=e.CRH())&&(n.tooltipTemplate=B.first)}},viewQuery:function(r,n){if(1&r&&e.Gf(Tp,5),2&r){let b;e.iGM(b=e.CRH())&&(n.textEl=b.first)}},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",min:"min",max:"max",textValue:"textValue",units:"units",bigSegments:"bigSegments",smallSegments:"smallSegments",results:"results",showAxis:"showAxis",startAngle:"startAngle",angleSpan:"angleSpan",activeEntries:"activeEntries",axisTickFormatting:"axisTickFormatting",tooltipDisabled:"tooltipDisabled",valueFormatting:"valueFormatting",showText:"showText",margin:"margin"},outputs:{activate:"activate",deactivate:"deactivate"},features:[e.qOj],decls:5,vars:13,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelClick","legendLabelActivate","legendLabelDeactivate"],[1,"gauge","chart"],[4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-gauge-axis","",3,"bigSegments","smallSegments","min","max","radius","angleSpan","valueScale","startAngle","tickFormatting",4,"ngIf"],["alignment-baseline","central",3,"textAnchor",4,"ngIf"],["ngx-charts-gauge-arc","",3,"backgroundArc","valueArc","cornerRadius","colors","isActive","tooltipDisabled","tooltipTemplate","valueFormatting","animations","select","activate","deactivate"],["ngx-charts-gauge-axis","",3,"bigSegments","smallSegments","min","max","radius","angleSpan","valueScale","startAngle","tickFormatting"],["alignment-baseline","central"],["textEl",""],["x","0","dy","0"],["x","0","dy","1.2em"]],template:function(r,n){1&r&&(e.TgZ(0,"ngx-charts-chart",0),e.NdJ("legendLabelClick",function(B){return n.onClick(B)})("legendLabelActivate",function(B){return n.onActivate(B)})("legendLabelDeactivate",function(B){return n.onDeactivate(B)}),e.O4$(),e.TgZ(1,"g",1),e.YNc(2,o3,2,10,"g",2),e.YNc(3,L4,1,9,"g",3),e.YNc(4,Lp,6,5,"text",4),e.qZA()()),2&r&&(e.Q6J("view",e.WLB(10,Va,n.width,n.height))("showLegend",n.legend)("legendOptions",n.legendOptions)("activeEntries",n.activeEntries)("animations",n.animations),e.xp6(1),e.uIk("transform",n.transform),e.xp6(1),e.Q6J("ngForOf",n.arcs)("ngForTrackBy",n.trackBy),e.xp6(1),e.Q6J("ngIf",n.showAxis),e.xp6(1),e.Q6J("ngIf",n.showText))},dependencies:[Wa,Z2,mu,t.sg,t.O5],styles:[to,".gauge .background-arc path{fill:#0000000d}.gauge .gauge-tick path{stroke:#666}.gauge .gauge-tick text{font-size:12px;fill:#666;font-weight:700}.gauge .gauge-tick-large path{stroke-width:2px}.gauge .gauge-tick-small path{stroke-width:1px}\n"],encapsulation:2,changeDetection:0});class Q2{}Q2.\u0275fac=function(r){return new(r||Q2)},Q2.\u0275mod=e.oAB({type:Q2}),Q2.\u0275inj=e.cJS({imports:[[To,Oc,b1]]});class q2{constructor(){!function Bp(){typeof SVGElement<"u"&&typeof SVGElement.prototype.contains>"u"&&(SVGElement.prototype.contains=HTMLDivElement.prototype.contains)}()}}q2.\u0275fac=function(r){return new(r||q2)},q2.\u0275mod=e.oAB({type:q2}),q2.\u0275inj=e.cJS({imports:[To,S2,b1,N2,x1,nl,Dd,W2,D1,Oc,Y2,Q2]})},6021:(Ge,X,f)=>{"use strict";function e(k,E,z,I,V,Z,q){try{var te=k[Z](q),ne=te.value}catch(le){return void z(le)}te.done?E(ne):Promise.resolve(ne).then(I,V)}f.d(X,{uU:()=>L,OF:()=>M});var _=f(2560),S=f(4666),l=f(5646);function D(k,E){if(1&k&&_._UZ(0,"canvas",1),2&k){const z=_.oxw();_.Q6J("qrCode",z.value)("qrCodeErrorCorrectionLevel",z.errorCorrectionLevel)("qrCodeCenterImageSrc",z.centerImageSrc)("qrCodeCenterImageWidth",z.centerImageSize)("qrCodeCenterImageHeight",z.centerImageSize)("qrCodeMargin",z.margin)("width",z.size)("height",z.size)("darkColor",z.darkColor)("lightColor",z.lightColor)}}const d=/^#(?:[0-9a-fA-F]{3,4}){1,2}$/;class P{constructor(E){this.viewContainerRef=E,this.errorCorrectionLevel=P.DEFAULT_ERROR_CORRECTION_LEVEL,this.darkColor="#000000FF",this.lightColor="#FFFFFFFF",this.margin=16}ngOnChanges(){var E=this;return function t(k){return function(){var E=this,z=arguments;return new Promise(function(I,V){var Z=k.apply(E,z);function q(ne){e(Z,I,V,q,te,"next",ne)}function te(ne){e(Z,I,V,q,te,"throw",ne)}q(void 0)})}}(function*(){if(!E.value)return;E.version&&E.version>40?(console.warn("[qrCode] max version is 40, clamping"),E.version=40):E.version&&E.version<1?(console.warn("[qrCode] min version is 1, clamping"),E.version=1):void 0!==E.version&&isNaN(E.version)&&(console.warn("[qrCode] version should be set to a number, defaulting to auto"),E.version=void 0);const z=E.viewContainerRef.element.nativeElement;if(!z)return;const I=z.getContext("2d");I&&I.clearRect(0,0,I.canvas.width,I.canvas.height);const V=E.errorCorrectionLevel??P.DEFAULT_ERROR_CORRECTION_LEVEL,Z=d.test(E.darkColor)?E.darkColor:void 0,q=d.test(E.lightColor)?E.lightColor:void 0;(0,_.X6Q)()&&(!Z&&E.darkColor&&console.error("[ng-qrcode] darkColor set to invalid value, must be RGBA hex color string, eg: #3050A1FF"),!q&&E.lightColor&&console.error("[ng-qrcode] lightColor set to invalid value, must be RGBA hex color string, eg: #3050A130")),yield l.toCanvas(z,E.value,{version:E.version,errorCorrectionLevel:V,width:E.width,margin:E.margin,color:{dark:Z,light:q}});const te=E.centerImageSrc,ne=p(E.centerImageWidth,P.DEFAULT_CENTER_IMAGE_SIZE),le=p(E.centerImageHeight,P.DEFAULT_CENTER_IMAGE_SIZE);if(te&&I){E.centerImage||(E.centerImage=new Image(ne,le)),te!==E.centerImage?.src&&(E.centerImage.src=te),ne!==E.centerImage.width&&(E.centerImage.width=ne),le!==E.centerImage.height&&(E.centerImage.height=le);const re=E.centerImage;re.onload=()=>{I.drawImage(re,z.width/2-ne/2,z.height/2-le/2,ne,le)}}})()}}function p(k,E){return void 0===k||""===k?E:"string"==typeof k?parseInt(k,10):k}P.DEFAULT_ERROR_CORRECTION_LEVEL="M",P.DEFAULT_CENTER_IMAGE_SIZE=40,P.\u0275fac=function(E){return new(E||P)(_.Y36(_.s_b))},P.\u0275dir=_.lG2({type:P,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:[_.TTD]});class L{}L.\u0275fac=function(E){return new(E||L)},L.\u0275cmp=_.Xpm({type:L,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(E,z){1&E&&_.YNc(0,D,1,10,"canvas",0),2&E&&_.Q6J("ngIf",z.value)},dependencies:[S.O5,P],encapsulation:2});class M{}M.\u0275fac=function(E){return new(E||M)},M.\u0275mod=_.oAB({type:M}),M.\u0275inj=_.cJS({imports:[S.ez]})},8822:(Ge,X,f)=>{"use strict";f.d(X,{op:()=>Je,$V:()=>We,Xd:()=>Nt});var e=f(253),t=f(3280),_=f(6646),S=f(9211),l=f(8951),D=f(8977),d=f(73),P=f(2560),p=f(4666);function L(at){return getComputedStyle(at)}function M(at,Ke){for(var vt in Ke){var ri=Ke[vt];"number"==typeof ri&&(ri+="px"),at.style[vt]=ri}return at}function k(at){var Ke=document.createElement("div");return Ke.className=at,Ke}var E=typeof Element<"u"&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function z(at,Ke){if(!E)throw new Error("No element matching method supported");return E.call(at,Ke)}function I(at){at.remove?at.remove():at.parentNode&&at.parentNode.removeChild(at)}function V(at,Ke){return Array.prototype.filter.call(at.children,function(vt){return z(vt,Ke)})}var Z_main="ps",Z_rtl="ps__rtl",Z_element={thumb:function(at){return"ps__thumb-"+at},rail:function(at){return"ps__rail-"+at},consuming:"ps__child--consume"},Z_state={focus:"ps--focus",clicking:"ps--clicking",active:function(at){return"ps--active-"+at},scrolling:function(at){return"ps--scrolling-"+at}},q={x:null,y:null};function te(at,Ke){var vt=at.element.classList,ri=Z_state.scrolling(Ke);vt.contains(ri)?clearTimeout(q[Ke]):vt.add(ri)}function ne(at,Ke){q[Ke]=setTimeout(function(){return at.isAlive&&at.element.classList.remove(Z_state.scrolling(Ke))},at.settings.scrollingThreshold)}var re=function(Ke){this.element=Ke,this.handlers={}},_e={isEmpty:{configurable:!0}};re.prototype.bind=function(Ke,vt){typeof this.handlers[Ke]>"u"&&(this.handlers[Ke]=[]),this.handlers[Ke].push(vt),this.element.addEventListener(Ke,vt,!1)},re.prototype.unbind=function(Ke,vt){var ri=this;this.handlers[Ke]=this.handlers[Ke].filter(function(Pt){return!(!vt||Pt===vt)||(ri.element.removeEventListener(Ke,Pt,!1),!1)})},re.prototype.unbindAll=function(){for(var Ke in this.handlers)this.unbind(Ke)},_e.isEmpty.get=function(){var at=this;return Object.keys(this.handlers).every(function(Ke){return 0===at.handlers[Ke].length})},Object.defineProperties(re.prototype,_e);var he=function(){this.eventElements=[]};function ae(at){if("function"==typeof window.CustomEvent)return new CustomEvent(at);var Ke=document.createEvent("CustomEvent");return Ke.initCustomEvent(at,!1,!1,void 0),Ke}function ve(at,Ke,vt,ri,Pt){var Lt;if(void 0===ri&&(ri=!0),void 0===Pt&&(Pt=!1),"top"===Ke)Lt=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==Ke)throw new Error("A proper axis should be provided");Lt=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function T(at,Ke,vt,ri,Pt){var Lt=vt[0],Kt=vt[1],Ae=vt[2],fe=vt[3],st=vt[4],_t=vt[5];void 0===ri&&(ri=!0),void 0===Pt&&(Pt=!1);var kt=at.element;at.reach[fe]=null,kt[Ae]<1&&(at.reach[fe]="start"),kt[Ae]>at[Lt]-at[Kt]-1&&(at.reach[fe]="end"),Ke&&(kt.dispatchEvent(ae("ps-scroll-"+fe)),Ke<0?kt.dispatchEvent(ae("ps-scroll-"+st)):Ke>0&&kt.dispatchEvent(ae("ps-scroll-"+_t)),ri&&function le(at,Ke){te(at,Ke),ne(at,Ke)}(at,fe)),at.reach[fe]&&(Ke||Pt)&&kt.dispatchEvent(ae("ps-"+fe+"-reach-"+at.reach[fe]))}(at,vt,Lt,ri,Pt)}function i(at){return parseInt(at,10)||0}he.prototype.eventElement=function(Ke){var vt=this.eventElements.filter(function(ri){return ri.element===Ke})[0];return vt||(vt=new re(Ke),this.eventElements.push(vt)),vt},he.prototype.bind=function(Ke,vt,ri){this.eventElement(Ke).bind(vt,ri)},he.prototype.unbind=function(Ke,vt,ri){var Pt=this.eventElement(Ke);Pt.unbind(vt,ri),Pt.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(Pt),1)},he.prototype.unbindAll=function(){this.eventElements.forEach(function(Ke){return Ke.unbindAll()}),this.eventElements=[]},he.prototype.once=function(Ke,vt,ri){var Pt=this.eventElement(Ke),Lt=function(Kt){Pt.unbind(vt,Lt),ri(Kt)};Pt.bind(vt,Lt)};var h={isWebKit:typeof document<"u"&&"WebkitAppearance"in document.documentElement.style,supportsTouch:typeof window<"u"&&("ontouchstart"in window||"maxTouchPoints"in window.navigator&&window.navigator.maxTouchPoints>0||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:typeof navigator<"u"&&navigator.msMaxTouchPoints,isChrome:typeof navigator<"u"&&/Chrome/i.test(navigator&&navigator.userAgent)};function y(at){var Ke=at.element,vt=Math.floor(Ke.scrollTop),ri=Ke.getBoundingClientRect();at.containerWidth=Math.round(ri.width),at.containerHeight=Math.round(ri.height),at.contentWidth=Ke.scrollWidth,at.contentHeight=Ke.scrollHeight,Ke.contains(at.scrollbarXRail)||(V(Ke,Z_element.rail("x")).forEach(function(Pt){return I(Pt)}),Ke.appendChild(at.scrollbarXRail)),Ke.contains(at.scrollbarYRail)||(V(Ke,Z_element.rail("y")).forEach(function(Pt){return I(Pt)}),Ke.appendChild(at.scrollbarYRail)),!at.settings.suppressScrollX&&at.containerWidth+at.settings.scrollXMarginOffset<at.contentWidth?(at.scrollbarXActive=!0,at.railXWidth=at.containerWidth-at.railXMarginWidth,at.railXRatio=at.containerWidth/at.railXWidth,at.scrollbarXWidth=A(at,i(at.railXWidth*at.containerWidth/at.contentWidth)),at.scrollbarXLeft=i((at.negativeScrollAdjustment+Ke.scrollLeft)*(at.railXWidth-at.scrollbarXWidth)/(at.contentWidth-at.containerWidth))):at.scrollbarXActive=!1,!at.settings.suppressScrollY&&at.containerHeight+at.settings.scrollYMarginOffset<at.contentHeight?(at.scrollbarYActive=!0,at.railYHeight=at.containerHeight-at.railYMarginHeight,at.railYRatio=at.containerHeight/at.railYHeight,at.scrollbarYHeight=A(at,i(at.railYHeight*at.containerHeight/at.contentHeight)),at.scrollbarYTop=i(vt*(at.railYHeight-at.scrollbarYHeight)/(at.contentHeight-at.containerHeight))):at.scrollbarYActive=!1,at.scrollbarXLeft>=at.railXWidth-at.scrollbarXWidth&&(at.scrollbarXLeft=at.railXWidth-at.scrollbarXWidth),at.scrollbarYTop>=at.railYHeight-at.scrollbarYHeight&&(at.scrollbarYTop=at.railYHeight-at.scrollbarYHeight),function R(at,Ke){var vt={width:Ke.railXWidth},ri=Math.floor(at.scrollTop);Ke.isRtl?vt.left=Ke.negativeScrollAdjustment+at.scrollLeft+Ke.containerWidth-Ke.contentWidth:vt.left=at.scrollLeft,Ke.isScrollbarXUsingBottom?vt.bottom=Ke.scrollbarXBottom-ri:vt.top=Ke.scrollbarXTop+ri,M(Ke.scrollbarXRail,vt);var Pt={top:ri,height:Ke.railYHeight};Ke.isScrollbarYUsingRight?Ke.isRtl?Pt.right=Ke.contentWidth-(Ke.negativeScrollAdjustment+at.scrollLeft)-Ke.scrollbarYRight-Ke.scrollbarYOuterWidth-9:Pt.right=Ke.scrollbarYRight-at.scrollLeft:Ke.isRtl?Pt.left=Ke.negativeScrollAdjustment+at.scrollLeft+2*Ke.containerWidth-Ke.contentWidth-Ke.scrollbarYLeft-Ke.scrollbarYOuterWidth:Pt.left=Ke.scrollbarYLeft+at.scrollLeft,M(Ke.scrollbarYRail,Pt),M(Ke.scrollbarX,{left:Ke.scrollbarXLeft,width:Ke.scrollbarXWidth-Ke.railBorderXWidth}),M(Ke.scrollbarY,{top:Ke.scrollbarYTop,height:Ke.scrollbarYHeight-Ke.railBorderYWidth})}(Ke,at),at.scrollbarXActive?Ke.classList.add(Z_state.active("x")):(Ke.classList.remove(Z_state.active("x")),at.scrollbarXWidth=0,at.scrollbarXLeft=0,Ke.scrollLeft=!0===at.isRtl?at.contentWidth:0),at.scrollbarYActive?Ke.classList.add(Z_state.active("y")):(Ke.classList.remove(Z_state.active("y")),at.scrollbarYHeight=0,at.scrollbarYTop=0,Ke.scrollTop=0)}function A(at,Ke){return at.settings.minScrollbarLength&&(Ke=Math.max(Ke,at.settings.minScrollbarLength)),at.settings.maxScrollbarLength&&(Ke=Math.min(Ke,at.settings.maxScrollbarLength)),Ke}function C(at,Ke){var vt=Ke[0],ri=Ke[1],Pt=Ke[2],Lt=Ke[3],Kt=Ke[4],Ae=Ke[5],fe=Ke[6],st=Ke[7],_t=Ke[8],kt=at.element,Oi=null,Li=null,Ei=null;function Wi(Ne){Ne.touches&&Ne.touches[0]&&(Ne[Pt]=Ne.touches[0].pageY),kt[fe]=Oi+Ei*(Ne[Pt]-Li),te(at,st),y(at),Ne.stopPropagation(),Ne.type.startsWith("touch")&&Ne.changedTouches.length>1&&Ne.preventDefault()}function wt(){ne(at,st),at[_t].classList.remove(Z_state.clicking),at.event.unbind(at.ownerDocument,"mousemove",Wi)}function qe(Ne,Vt){Oi=kt[fe],Vt&&Ne.touches&&(Ne[Pt]=Ne.touches[0].pageY),Li=Ne[Pt],Ei=(at[ri]-at[vt])/(at[Lt]-at[Ae]),Vt?at.event.bind(at.ownerDocument,"touchmove",Wi):(at.event.bind(at.ownerDocument,"mousemove",Wi),at.event.once(at.ownerDocument,"mouseup",wt),Ne.preventDefault()),at[_t].classList.add(Z_state.clicking),Ne.stopPropagation()}at.event.bind(at[Kt],"mousedown",function(Ne){qe(Ne)}),at.event.bind(at[Kt],"touchstart",function(Ne){qe(Ne,!0)})}var Le={"click-rail":function v(at){at.element,at.event.bind(at.scrollbarY,"mousedown",function(vt){return vt.stopPropagation()}),at.event.bind(at.scrollbarYRail,"mousedown",function(vt){var Pt=vt.pageY-window.pageYOffset-at.scrollbarYRail.getBoundingClientRect().top>at.scrollbarYTop?1:-1;at.element.scrollTop+=Pt*at.containerHeight,y(at),vt.stopPropagation()}),at.event.bind(at.scrollbarX,"mousedown",function(vt){return vt.stopPropagation()}),at.event.bind(at.scrollbarXRail,"mousedown",function(vt){var Pt=vt.pageX-window.pageXOffset-at.scrollbarXRail.getBoundingClientRect().left>at.scrollbarXLeft?1:-1;at.element.scrollLeft+=Pt*at.containerWidth,y(at),vt.stopPropagation()})},"drag-thumb":function a(at){C(at,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),C(at,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function U(at){var Ke=at.element;at.event.bind(at.ownerDocument,"keydown",function(Lt){if(!(Lt.isDefaultPrevented&&Lt.isDefaultPrevented()||Lt.defaultPrevented)&&(z(Ke,":hover")||z(at.scrollbarX,":focus")||z(at.scrollbarY,":focus"))){var Kt=document.activeElement?document.activeElement:at.ownerDocument.activeElement;if(Kt){if("IFRAME"===Kt.tagName)Kt=Kt.contentDocument.activeElement;else for(;Kt.shadowRoot;)Kt=Kt.shadowRoot.activeElement;if(function o(at){return z(at,"input,[contenteditable]")||z(at,"select,[contenteditable]")||z(at,"textarea,[contenteditable]")||z(at,"button,[contenteditable]")}(Kt))return}var Ae=0,fe=0;switch(Lt.which){case 37:Ae=Lt.metaKey?-at.contentWidth:Lt.altKey?-at.containerWidth:-30;break;case 38:fe=Lt.metaKey?at.contentHeight:Lt.altKey?at.containerHeight:30;break;case 39:Ae=Lt.metaKey?at.contentWidth:Lt.altKey?at.containerWidth:30;break;case 40:fe=Lt.metaKey?-at.contentHeight:Lt.altKey?-at.containerHeight:-30;break;case 32:fe=Lt.shiftKey?at.containerHeight:-at.containerHeight;break;case 33:fe=at.containerHeight;break;case 34:fe=-at.containerHeight;break;case 36:fe=at.contentHeight;break;case 35:fe=-at.contentHeight;break;default:return}at.settings.suppressScrollX&&0!==Ae||at.settings.suppressScrollY&&0!==fe||(Ke.scrollTop-=fe,Ke.scrollLeft+=Ae,y(at),function Pt(Lt,Kt){var Ae=Math.floor(Ke.scrollTop);if(0===Lt){if(!at.scrollbarYActive)return!1;if(0===Ae&&Kt>0||Ae>=at.contentHeight-at.containerHeight&&Kt<0)return!at.settings.wheelPropagation}var fe=Ke.scrollLeft;if(0===Kt){if(!at.scrollbarXActive)return!1;if(0===fe&&Lt<0||fe>=at.contentWidth-at.containerWidth&&Lt>0)return!at.settings.wheelPropagation}return!0}(Ae,fe)&&Lt.preventDefault())}})},wheel:function N(at){var Ke=at.element;function Lt(Kt){var Ae=function ri(Kt){var Ae=Kt.deltaX,fe=-1*Kt.deltaY;return(typeof Ae>"u"||typeof fe>"u")&&(Ae=-1*Kt.wheelDeltaX/6,fe=Kt.wheelDeltaY/6),Kt.deltaMode&&1===Kt.deltaMode&&(Ae*=10,fe*=10),Ae!=Ae&&fe!=fe&&(Ae=0,fe=Kt.wheelDelta),Kt.shiftKey?[-fe,-Ae]:[Ae,fe]}(Kt),fe=Ae[0],st=Ae[1];if(!function Pt(Kt,Ae,fe){if(!h.isWebKit&&Ke.querySelector("select:focus"))return!0;if(!Ke.contains(Kt))return!1;for(var st=Kt;st&&st!==Ke;){if(st.classList.contains(Z_element.consuming))return!0;var _t=L(st);if(fe&&_t.overflowY.match(/(scroll|auto)/)){var kt=st.scrollHeight-st.clientHeight;if(kt>0&&(st.scrollTop>0&&fe<0||st.scrollTop<kt&&fe>0))return!0}if(Ae&&_t.overflowX.match(/(scroll|auto)/)){var Oi=st.scrollWidth-st.clientWidth;if(Oi>0&&(st.scrollLeft>0&&Ae<0||st.scrollLeft<Oi&&Ae>0))return!0}st=st.parentNode}return!1}(Kt.target,fe,st)){var _t=!1;at.settings.useBothWheelAxes?at.scrollbarYActive&&!at.scrollbarXActive?(st?Ke.scrollTop-=st*at.settings.wheelSpeed:Ke.scrollTop+=fe*at.settings.wheelSpeed,_t=!0):at.scrollbarXActive&&!at.scrollbarYActive&&(fe?Ke.scrollLeft+=fe*at.settings.wheelSpeed:Ke.scrollLeft-=st*at.settings.wheelSpeed,_t=!0):(Ke.scrollTop-=st*at.settings.wheelSpeed,Ke.scrollLeft+=fe*at.settings.wheelSpeed),y(at),_t=_t||function vt(Kt,Ae){var fe=Math.floor(Ke.scrollTop),st=0===Ke.scrollTop,_t=fe+Ke.offsetHeight===Ke.scrollHeight,kt=0===Ke.scrollLeft,Oi=Ke.scrollLeft+Ke.offsetWidth===Ke.scrollWidth;return!(Math.abs(Ae)>Math.abs(Kt)?st||_t:kt||Oi)||!at.settings.wheelPropagation}(fe,st),_t&&!Kt.ctrlKey&&(Kt.stopPropagation(),Kt.preventDefault())}}typeof window.onwheel<"u"?at.event.bind(Ke,"wheel",Lt):typeof window.onmousewheel<"u"&&at.event.bind(Ke,"mousewheel",Lt)},touch:function Q(at){if(h.supportsTouch||h.supportsIePointer){var Ke=at.element,Pt={},Lt=0,Kt={},Ae=null;h.supportsTouch?(at.event.bind(Ke,"touchstart",_t),at.event.bind(Ke,"touchmove",Oi),at.event.bind(Ke,"touchend",Li)):h.supportsIePointer&&(window.PointerEvent?(at.event.bind(Ke,"pointerdown",_t),at.event.bind(Ke,"pointermove",Oi),at.event.bind(Ke,"pointerup",Li)):window.MSPointerEvent&&(at.event.bind(Ke,"MSPointerDown",_t),at.event.bind(Ke,"MSPointerMove",Oi),at.event.bind(Ke,"MSPointerUp",Li)))}function ri(Ei,Wi){Ke.scrollTop-=Wi,Ke.scrollLeft-=Ei,y(at)}function fe(Ei){return Ei.targetTouches?Ei.targetTouches[0]:Ei}function st(Ei){return(!Ei.pointerType||"pen"!==Ei.pointerType||0!==Ei.buttons)&&!!(Ei.targetTouches&&1===Ei.targetTouches.length||Ei.pointerType&&"mouse"!==Ei.pointerType&&Ei.pointerType!==Ei.MSPOINTER_TYPE_MOUSE)}function _t(Ei){if(st(Ei)){var Wi=fe(Ei);Pt.pageX=Wi.pageX,Pt.pageY=Wi.pageY,Lt=(new Date).getTime(),null!==Ae&&clearInterval(Ae)}}function Oi(Ei){if(st(Ei)){var Wi=fe(Ei),wt={pageX:Wi.pageX,pageY:Wi.pageY},qe=wt.pageX-Pt.pageX,Ne=wt.pageY-Pt.pageY;if(function kt(Ei,Wi,wt){if(!Ke.contains(Ei))return!1;for(var qe=Ei;qe&&qe!==Ke;){if(qe.classList.contains(Z_element.consuming))return!0;var Ne=L(qe);if(wt&&Ne.overflowY.match(/(scroll|auto)/)){var Vt=qe.scrollHeight-qe.clientHeight;if(Vt>0&&(qe.scrollTop>0&&wt<0||qe.scrollTop<Vt&&wt>0))return!0}if(Wi&&Ne.overflowX.match(/(scroll|auto)/)){var jt=qe.scrollWidth-qe.clientWidth;if(jt>0&&(qe.scrollLeft>0&&Wi<0||qe.scrollLeft<jt&&Wi>0))return!0}qe=qe.parentNode}return!1}(Ei.target,qe,Ne))return;ri(qe,Ne),Pt=wt;var Vt=(new Date).getTime(),jt=Vt-Lt;jt>0&&(Kt.x=qe/jt,Kt.y=Ne/jt,Lt=Vt),function vt(Ei,Wi){var wt=Math.floor(Ke.scrollTop),qe=Ke.scrollLeft,Ne=Math.abs(Ei),Vt=Math.abs(Wi);if(Vt>Ne){if(Wi<0&&wt===at.contentHeight-at.containerHeight||Wi>0&&0===wt)return 0===window.scrollY&&Wi>0&&h.isChrome}else if(Ne>Vt&&(Ei<0&&qe===at.contentWidth-at.containerWidth||Ei>0&&0===qe))return!0;return!0}(qe,Ne)&&Ei.preventDefault()}}function Li(){at.settings.swipeEasing&&(clearInterval(Ae),Ae=setInterval(function(){at.isInitialized?clearInterval(Ae):Kt.x||Kt.y?Math.abs(Kt.x)<.01&&Math.abs(Kt.y)<.01?clearInterval(Ae):at.element?(ri(30*Kt.x,30*Kt.y),Kt.x*=.8,Kt.y*=.8):clearInterval(Ae):clearInterval(Ae)},10))}}},Ye=function(Ke,vt){var ri=this;if(void 0===vt&&(vt={}),"string"==typeof Ke&&(Ke=document.querySelector(Ke)),!Ke||!Ke.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var Pt in this.element=Ke,Ke.classList.add(Z_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},vt)this.settings[Pt]=vt[Pt];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var _t,st,Lt=function(){return Ke.classList.add(Z_state.focus)},Kt=function(){return Ke.classList.remove(Z_state.focus)};this.isRtl="rtl"===L(Ke).direction,!0===this.isRtl&&Ke.classList.add(Z_rtl),this.isNegativeScroll=(st=Ke.scrollLeft,Ke.scrollLeft=-1,_t=Ke.scrollLeft<0,Ke.scrollLeft=st,_t),this.negativeScrollAdjustment=this.isNegativeScroll?Ke.scrollWidth-Ke.clientWidth:0,this.event=new he,this.ownerDocument=Ke.ownerDocument||document,this.scrollbarXRail=k(Z_element.rail("x")),Ke.appendChild(this.scrollbarXRail),this.scrollbarX=k(Z_element.thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",Lt),this.event.bind(this.scrollbarX,"blur",Kt),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var Ae=L(this.scrollbarXRail);this.scrollbarXBottom=parseInt(Ae.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=i(Ae.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=i(Ae.borderLeftWidth)+i(Ae.borderRightWidth),M(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=i(Ae.marginLeft)+i(Ae.marginRight),M(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=k(Z_element.rail("y")),Ke.appendChild(this.scrollbarYRail),this.scrollbarY=k(Z_element.thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",Lt),this.event.bind(this.scrollbarY,"blur",Kt),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var fe=L(this.scrollbarYRail);this.scrollbarYRight=parseInt(fe.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=i(fe.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function m(at){var Ke=L(at);return i(Ke.width)+i(Ke.paddingLeft)+i(Ke.paddingRight)+i(Ke.borderLeftWidth)+i(Ke.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=i(fe.borderTopWidth)+i(fe.borderBottomWidth),M(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=i(fe.marginTop)+i(fe.marginBottom),M(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:Ke.scrollLeft<=0?"start":Ke.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:Ke.scrollTop<=0?"start":Ke.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach(function(st){return Le[st](ri)}),this.lastScrollTop=Math.floor(Ke.scrollTop),this.lastScrollLeft=Ke.scrollLeft,this.event.bind(this.element,"scroll",function(st){return ri.onScroll(st)}),y(this)};Ye.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(L(this.scrollbarXRail).marginLeft)+i(L(this.scrollbarXRail).marginRight),this.railYMarginHeight=i(L(this.scrollbarYRail).marginTop)+i(L(this.scrollbarYRail).marginBottom),M(this.scrollbarXRail,{display:"none"}),M(this.scrollbarYRail,{display:"none"}),y(this),ve(this,"top",0,!1,!0),ve(this,"left",0,!1,!0),M(this.scrollbarXRail,{display:""}),M(this.scrollbarYRail,{display:""}))},Ye.prototype.onScroll=function(Ke){!this.isAlive||(y(this),ve(this,"top",this.element.scrollTop-this.lastScrollTop),ve(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},Ye.prototype.destroy=function(){!this.isAlive||(this.event.unbindAll(),I(this.scrollbarX),I(this.scrollbarY),I(this.scrollbarXRail),I(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},Ye.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(Ke){return!Ke.match(/^ps([-_].+|)$/)}).join(" ")};const $e=Ye;var Ve=function(){if(typeof Map<"u")return Map;function at(Ke,vt){var ri=-1;return Ke.some(function(Pt,Lt){return Pt[0]===vt&&(ri=Lt,!0)}),ri}return function(){function Ke(){this.__entries__=[]}return Object.defineProperty(Ke.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),Ke.prototype.get=function(vt){var ri=at(this.__entries__,vt),Pt=this.__entries__[ri];return Pt&&Pt[1]},Ke.prototype.set=function(vt,ri){var Pt=at(this.__entries__,vt);~Pt?this.__entries__[Pt][1]=ri:this.__entries__.push([vt,ri])},Ke.prototype.delete=function(vt){var ri=this.__entries__,Pt=at(ri,vt);~Pt&&ri.splice(Pt,1)},Ke.prototype.has=function(vt){return!!~at(this.__entries__,vt)},Ke.prototype.clear=function(){this.__entries__.splice(0)},Ke.prototype.forEach=function(vt,ri){void 0===ri&&(ri=null);for(var Pt=0,Lt=this.__entries__;Pt<Lt.length;Pt++){var Kt=Lt[Pt];vt.call(ri,Kt[1],Kt[0])}},Ke}()}(),be=typeof window<"u"&&typeof document<"u"&&window.document===document,et=typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")(),je="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(et):function(at){return setTimeout(function(){return at(Date.now())},1e3/60)};var Ee=["top","right","bottom","left","width","height","size","weight"],we=typeof MutationObserver<"u",de=function(){function at(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function Te(at,Ke){var vt=!1,ri=!1,Pt=0;function Lt(){vt&&(vt=!1,at()),ri&&Ae()}function Kt(){je(Lt)}function Ae(){var fe=Date.now();if(vt){if(fe-Pt<2)return;ri=!0}else vt=!0,ri=!1,setTimeout(Kt,Ke);Pt=fe}return Ae}(this.refresh.bind(this),20)}return at.prototype.addObserver=function(Ke){~this.observers_.indexOf(Ke)||this.observers_.push(Ke),this.connected_||this.connect_()},at.prototype.removeObserver=function(Ke){var vt=this.observers_,ri=vt.indexOf(Ke);~ri&&vt.splice(ri,1),!vt.length&&this.connected_&&this.disconnect_()},at.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},at.prototype.updateObservers_=function(){var Ke=this.observers_.filter(function(vt){return vt.gatherActive(),vt.hasActive()});return Ke.forEach(function(vt){return vt.broadcastActive()}),Ke.length>0},at.prototype.connect_=function(){!be||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),we?(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)},at.prototype.disconnect_=function(){!be||!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)},at.prototype.onTransitionEnd_=function(Ke){var vt=Ke.propertyName,ri=void 0===vt?"":vt;Ee.some(function(Lt){return!!~ri.indexOf(Lt)})&&this.refresh()},at.getInstance=function(){return this.instance_||(this.instance_=new at),this.instance_},at.instance_=null,at}(),Me=function(at,Ke){for(var vt=0,ri=Object.keys(Ke);vt<ri.length;vt++){var Pt=ri[vt];Object.defineProperty(at,Pt,{value:Ke[Pt],enumerable:!1,writable:!1,configurable:!0})}return at},ie=function(at){return at&&at.ownerDocument&&at.ownerDocument.defaultView||et},G=rt(0,0,0,0);function $(at){return parseFloat(at)||0}function ze(at){for(var Ke=[],vt=1;vt<arguments.length;vt++)Ke[vt-1]=arguments[vt];return Ke.reduce(function(ri,Pt){return ri+$(at["border-"+Pt+"-width"])},0)}function bt(at){var Ke=at.clientWidth,vt=at.clientHeight;if(!Ke&&!vt)return G;var ri=ie(at).getComputedStyle(at),Pt=function Ue(at){for(var vt={},ri=0,Pt=["top","right","bottom","left"];ri<Pt.length;ri++){var Lt=Pt[ri],Kt=at["padding-"+Lt];vt[Lt]=$(Kt)}return vt}(ri),Lt=Pt.left+Pt.right,Kt=Pt.top+Pt.bottom,Ae=$(ri.width),fe=$(ri.height);if("border-box"===ri.boxSizing&&(Math.round(Ae+Lt)!==Ke&&(Ae-=ze(ri,"left","right")+Lt),Math.round(fe+Kt)!==vt&&(fe-=ze(ri,"top","bottom")+Kt)),!function nt(at){return at===ie(at).document.documentElement}(at)){var st=Math.round(Ae+Lt)-Ke,_t=Math.round(fe+Kt)-vt;1!==Math.abs(st)&&(Ae-=st),1!==Math.abs(_t)&&(fe-=_t)}return rt(Pt.left,Pt.top,Ae,fe)}var Be=typeof SVGGraphicsElement<"u"?function(at){return at instanceof ie(at).SVGGraphicsElement}:function(at){return at instanceof ie(at).SVGElement&&"function"==typeof at.getBBox};function $t(at){return be?Be(at)?function oe(at){var Ke=at.getBBox();return rt(0,0,Ke.width,Ke.height)}(at):bt(at):G}function rt(at,Ke,vt,ri){return{x:at,y:Ke,width:vt,height:ri}}var Re=function(){function at(Ke){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=rt(0,0,0,0),this.target=Ke}return at.prototype.isActive=function(){var Ke=$t(this.target);return this.contentRect_=Ke,Ke.width!==this.broadcastWidth||Ke.height!==this.broadcastHeight},at.prototype.broadcastRect=function(){var Ke=this.contentRect_;return this.broadcastWidth=Ke.width,this.broadcastHeight=Ke.height,Ke},at}(),ot=function at(Ke,vt){var ri=function gt(at){var Ke=at.x,vt=at.y,ri=at.width,Pt=at.height,Lt=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,Kt=Object.create(Lt.prototype);return Me(Kt,{x:Ke,y:vt,width:ri,height:Pt,top:vt,right:Ke+ri,bottom:Pt+vt,left:Ke}),Kt}(vt);Me(this,{target:Ke,contentRect:ri})},St=function(){function at(Ke,vt,ri){if(this.activeObservations_=[],this.observations_=new Ve,"function"!=typeof Ke)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=Ke,this.controller_=vt,this.callbackCtx_=ri}return at.prototype.observe=function(Ke){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u")&&Element instanceof Object){if(!(Ke instanceof ie(Ke).Element))throw new TypeError('parameter 1 is not of type "Element".');var vt=this.observations_;vt.has(Ke)||(vt.set(Ke,new Re(Ke)),this.controller_.addObserver(this),this.controller_.refresh())}},at.prototype.unobserve=function(Ke){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u")&&Element instanceof Object){if(!(Ke instanceof ie(Ke).Element))throw new TypeError('parameter 1 is not of type "Element".');var vt=this.observations_;!vt.has(Ke)||(vt.delete(Ke),vt.size||this.controller_.removeObserver(this))}},at.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},at.prototype.gatherActive=function(){var Ke=this;this.clearActive(),this.observations_.forEach(function(vt){vt.isActive()&&Ke.activeObservations_.push(vt)})},at.prototype.broadcastActive=function(){if(this.hasActive()){var Ke=this.callbackCtx_,vt=this.activeObservations_.map(function(ri){return new ot(ri.target,ri.broadcastRect())});this.callback_.call(Ke,vt,Ke),this.clearActive()}},at.prototype.clearActive=function(){this.activeObservations_.splice(0)},at.prototype.hasActive=function(){return this.activeObservations_.length>0},at}(),gi=typeof WeakMap<"u"?new WeakMap:new Ve,oi=function at(Ke){if(!(this instanceof at))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var vt=de.getInstance(),ri=new St(Ke,vt,this);gi.set(this,ri)};["observe","unobserve","disconnect"].forEach(function(at){oi.prototype[at]=function(){var Ke;return(Ke=gi.get(this))[at].apply(Ke,arguments)}});const Zi=typeof et.ResizeObserver<"u"?et.ResizeObserver:oi;function si(at,Ke){if(1&at&&(P.TgZ(0,"div",3),P._UZ(1,"div",4)(2,"div",5)(3,"div",6)(4,"div",7),P.qZA()),2&at){const vt=P.oxw();P.ekj("ps-at-top",vt.states.top)("ps-at-left",vt.states.left)("ps-at-right",vt.states.right)("ps-at-bottom",vt.states.bottom),P.xp6(1),P.ekj("ps-indicator-show",vt.indicatorY&&vt.interaction),P.xp6(1),P.ekj("ps-indicator-show",vt.indicatorX&&vt.interaction),P.xp6(1),P.ekj("ps-indicator-show",vt.indicatorX&&vt.interaction),P.xp6(1),P.ekj("ps-indicator-show",vt.indicatorY&&vt.interaction)}}const Je=new P.OlP("PERFECT_SCROLLBAR_CONFIG");class me{constructor(Ke,vt,ri,Pt){this.x=Ke,this.y=vt,this.w=ri,this.h=Pt}}class K{constructor(Ke,vt){this.x=Ke,this.y=vt}}const J=["psScrollY","psScrollX","psScrollUp","psScrollDown","psScrollLeft","psScrollRight","psYReachEnd","psYReachStart","psXReachEnd","psXReachStart"];class Ce{constructor(Ke={}){this.assign(Ke)}assign(Ke={}){for(const vt in Ke)this[vt]=Ke[vt]}}class We{constructor(Ke,vt,ri,Pt,Lt){this.zone=Ke,this.differs=vt,this.elementRef=ri,this.platformId=Pt,this.defaults=Lt,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,p.NF)(this.platformId)){const Ke=new Ce(this.defaults);Ke.assign(this.config),this.zone.runOutsideAngular(()=>{this.instance=new $e(this.elementRef.nativeElement,Ke)}),this.configDiff||(this.configDiff=this.differs.find(this.config||{}).create(),this.configDiff.diff(this.config||{})),this.zone.runOutsideAngular(()=>{this.ro=new Zi(()=>{this.update()}),this.elementRef.nativeElement.children[0]&&this.ro.observe(this.elementRef.nativeElement.children[0]),this.ro.observe(this.elementRef.nativeElement)}),this.zone.runOutsideAngular(()=>{J.forEach(vt=>{const ri=vt.replace(/([A-Z])/g,Pt=>`-${Pt.toLowerCase()}`);(0,t.R)(this.elementRef.nativeElement,ri).pipe((0,S.e)(20),(0,l.R)(this.ngDestroy)).subscribe(Pt=>{this[vt].emit(Pt)})})})}}ngOnDestroy(){(0,p.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,p.NF)(this.platformId)&&this.configDiff.diff(this.config||{})&&(this.ngOnDestroy(),this.ngOnInit())}ngOnChanges(Ke){Ke.disabled&&!Ke.disabled.isFirstChange()&&(0,p.NF)(this.platformId)&&Ke.disabled.currentValue!==Ke.disabled.previousValue&&(!0===Ke.disabled.currentValue?this.ngOnDestroy():!1===Ke.disabled.currentValue&&this.ngOnInit())}ps(){return this.instance}update(){typeof window<"u"&&(this.timeout&&window.clearTimeout(this.timeout),this.timeout=window.setTimeout(()=>{if(!this.disabled&&this.configDiff)try{this.zone.runOutsideAngular(()=>{this.instance&&this.instance.update()})}catch{}},0))}geometry(Ke="scroll"){return new me(this.elementRef.nativeElement[Ke+"Left"],this.elementRef.nativeElement[Ke+"Top"],this.elementRef.nativeElement[Ke+"Width"],this.elementRef.nativeElement[Ke+"Height"])}position(Ke=!1){return!Ke&&this.instance?new K(this.instance.reach.x||0,this.instance.reach.y||0):new K(this.elementRef.nativeElement.scrollLeft,this.elementRef.nativeElement.scrollTop)}scrollable(Ke="any"){const vt=this.elementRef.nativeElement;return"any"===Ke?vt.classList.contains("ps--active-x")||vt.classList.contains("ps--active-y"):"both"===Ke?vt.classList.contains("ps--active-x")&&vt.classList.contains("ps--active-y"):vt.classList.contains("ps--active-"+Ke)}scrollTo(Ke,vt,ri){this.disabled||(null==vt&&null==ri?this.animateScrolling("scrollTop",Ke,ri):(null!=Ke&&this.animateScrolling("scrollLeft",Ke,ri),null!=vt&&this.animateScrolling("scrollTop",vt,ri)))}scrollToX(Ke,vt){this.animateScrolling("scrollLeft",Ke,vt)}scrollToY(Ke,vt){this.animateScrolling("scrollTop",Ke,vt)}scrollToTop(Ke,vt){this.animateScrolling("scrollTop",Ke||0,vt)}scrollToLeft(Ke,vt){this.animateScrolling("scrollLeft",Ke||0,vt)}scrollToRight(Ke,vt){const ri=this.elementRef.nativeElement.scrollWidth-this.elementRef.nativeElement.clientWidth;this.animateScrolling("scrollLeft",ri-(Ke||0),vt)}scrollToBottom(Ke,vt){const ri=this.elementRef.nativeElement.scrollHeight-this.elementRef.nativeElement.clientHeight;this.animateScrolling("scrollTop",ri-(Ke||0),vt)}scrollToElement(Ke,vt,ri){if("string"==typeof Ke&&(Ke=this.elementRef.nativeElement.querySelector(Ke)),Ke){const Pt=Ke.getBoundingClientRect(),Lt=this.elementRef.nativeElement.getBoundingClientRect();if(this.elementRef.nativeElement.classList.contains("ps--active-x")){const Kt=this.elementRef.nativeElement.scrollLeft,Ae=Pt.left-Lt.left+Kt;this.animateScrolling("scrollLeft",Ae+(vt||0),ri)}if(this.elementRef.nativeElement.classList.contains("ps--active-y")){const Kt=this.elementRef.nativeElement.scrollTop,Ae=Pt.top-Lt.top+Kt;this.animateScrolling("scrollTop",Ae+(vt||0),ri)}}}animateScrolling(Ke,vt,ri){if(this.animation&&(window.cancelAnimationFrame(this.animation),this.animation=null),!ri||typeof window>"u")this.elementRef.nativeElement[Ke]=vt;else if(vt!==this.elementRef.nativeElement[Ke]){let Pt=0,Lt=0,Kt=performance.now(),Ae=this.elementRef.nativeElement[Ke];const fe=(Ae-vt)/2,st=_t=>{Lt+=Math.PI/(ri/(_t-Kt)),Pt=Math.round(vt+fe+fe*Math.cos(Lt)),this.elementRef.nativeElement[Ke]===Ae&&(Lt>=Math.PI?this.animateScrolling(Ke,vt,0):(this.elementRef.nativeElement[Ke]=Pt,Ae=this.elementRef.nativeElement[Ke],Kt=_t,this.animation=window.requestAnimationFrame(st)))};window.requestAnimationFrame(st)}}}We.\u0275fac=function(Ke){return new(Ke||We)(P.Y36(P.R0b),P.Y36(P.aQg),P.Y36(P.SBq),P.Y36(P.Lbi),P.Y36(Je,8))},We.\u0275dir=P.lG2({type:We,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]});class Mt{constructor(Ke,vt,ri){this.zone=Ke,this.cdRef=vt,this.platformId=ri,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,p.NF)(this.platformId)&&(this.stateUpdate.pipe((0,l.R)(this.ngDestroy),(0,D.x)((Ke,vt)=>Ke===vt&&!this.stateTimeout)).subscribe(Ke=>{this.stateTimeout&&typeof window<"u"&&(window.clearTimeout(this.stateTimeout),this.stateTimeout=null),"x"===Ke||"y"===Ke?(this.interaction=!1,"x"===Ke?(this.indicatorX=!1,this.states.left=!1,this.states.right=!1,this.autoPropagation&&this.usePropagationX&&(this.allowPropagationX=!1)):"y"===Ke&&(this.indicatorY=!1,this.states.top=!1,this.states.bottom=!1,this.autoPropagation&&this.usePropagationY&&(this.allowPropagationY=!1))):("left"===Ke||"right"===Ke?(this.states.left=!1,this.states.right=!1,this.states[Ke]=!0,this.autoPropagation&&this.usePropagationX&&(this.indicatorX=!0)):("top"===Ke||"bottom"===Ke)&&(this.states.top=!1,this.states.bottom=!1,this.states[Ke]=!0,this.autoPropagation&&this.usePropagationY&&(this.indicatorY=!0)),this.autoPropagation&&typeof window<"u"&&(this.stateTimeout=window.setTimeout(()=>{this.indicatorX=!1,this.indicatorY=!1,this.stateTimeout=null,this.interaction&&(this.states.left||this.states.right)&&(this.allowPropagationX=!0),this.interaction&&(this.states.top||this.states.bottom)&&(this.allowPropagationY=!0),this.cdRef.markForCheck()},500))),this.cdRef.markForCheck(),this.cdRef.detectChanges()}),this.zone.runOutsideAngular(()=>{if(this.directiveRef){const Ke=this.directiveRef.elementRef.nativeElement;(0,t.R)(Ke,"wheel").pipe((0,l.R)(this.ngDestroy)).subscribe(vt=>{if(!this.disabled&&this.autoPropagation){const ri=vt.deltaX,Pt=vt.deltaY;this.checkPropagation(vt,ri,Pt)}}),(0,t.R)(Ke,"touchmove").pipe((0,l.R)(this.ngDestroy)).subscribe(vt=>{if(!this.disabled&&this.autoPropagation){const ri=vt.touches[0].clientX,Pt=vt.touches[0].clientY,Lt=ri-this.scrollPositionX,Kt=Pt-this.scrollPositionY;this.checkPropagation(vt,Lt,Kt),this.scrollPositionX=ri,this.scrollPositionY=Pt}}),(0,_.T)((0,t.R)(Ke,"ps-scroll-x").pipe((0,d.h)("x")),(0,t.R)(Ke,"ps-scroll-y").pipe((0,d.h)("y")),(0,t.R)(Ke,"ps-x-reach-end").pipe((0,d.h)("right")),(0,t.R)(Ke,"ps-y-reach-end").pipe((0,d.h)("bottom")),(0,t.R)(Ke,"ps-x-reach-start").pipe((0,d.h)("left")),(0,t.R)(Ke,"ps-y-reach-start").pipe((0,d.h)("top"))).pipe((0,l.R)(this.ngDestroy)).subscribe(vt=>{!this.disabled&&(this.autoPropagation||this.scrollIndicators)&&this.stateUpdate.next(vt)})}}),window.setTimeout(()=>{J.forEach(Ke=>{this.directiveRef&&(this.directiveRef[Ke]=this[Ke])})},0))}ngOnDestroy(){(0,p.NF)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.unsubscribe(),this.stateTimeout&&typeof window<"u"&&window.clearTimeout(this.stateTimeout))}ngDoCheck(){if((0,p.NF)(this.platformId)&&!this.disabled&&this.autoPropagation&&this.directiveRef){const Ke=this.directiveRef.elementRef.nativeElement;this.usePropagationX=Ke.classList.contains("ps--active-x"),this.usePropagationY=Ke.classList.contains("ps--active-y")}}checkPropagation(Ke,vt,ri){this.interaction=!0;const Pt=vt<0?-1:1,Lt=ri<0?-1:1;(this.usePropagationX&&this.usePropagationY||this.usePropagationX&&(!this.allowPropagationX||this.scrollDirectionX!==Pt)||this.usePropagationY&&(!this.allowPropagationY||this.scrollDirectionY!==Lt))&&(Ke.preventDefault(),Ke.stopPropagation()),vt&&(this.scrollDirectionX=Pt),ri&&(this.scrollDirectionY=Lt),this.stateUpdate.next("interaction"),this.cdRef.detectChanges()}}Mt.\u0275fac=function(Ke){return new(Ke||Mt)(P.Y36(P.R0b),P.Y36(P.sBO),P.Y36(P.Lbi))},Mt.\u0275cmp=P.Xpm({type:Mt,selectors:[["perfect-scrollbar"]],viewQuery:function(Ke,vt){if(1&Ke&&P.Gf(We,7),2&Ke){let ri;P.iGM(ri=P.CRH())&&(vt.directiveRef=ri.first)}},hostVars:4,hostBindings:function(Ke,vt){2&Ke&&P.ekj("ps-show-limits",vt.autoPropagation)("ps-show-active",vt.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:["*"],decls:4,vars:5,consts:[[2,"position","static",3,"perfectScrollbar","disabled"],[1,"ps-content"],["class","ps-overlay",3,"ps-at-top","ps-at-left","ps-at-right","ps-at-bottom",4,"ngIf"],[1,"ps-overlay"],[1,"ps-indicator-top"],[1,"ps-indicator-left"],[1,"ps-indicator-right"],[1,"ps-indicator-bottom"]],template:function(Ke,vt){1&Ke&&(P.F$t(),P.TgZ(0,"div",0)(1,"div",1),P.Hsn(2),P.qZA(),P.YNc(3,si,5,16,"div",2),P.qZA()),2&Ke&&(P.ekj("ps",vt.usePSClass),P.Q6J("perfectScrollbar",vt.config)("disabled",vt.disabled),P.xp6(3),P.Q6J("ngIf",vt.scrollIndicators))},dependencies:[We,p.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});class Tt{constructor(Ke,vt){this.renderer=Ke,["ps__child","ps__child--consume"].forEach(ri=>{this.renderer.addClass(vt?.nativeElement,ri)})}}Tt.\u0275fac=function(Ke){return new(Ke||Tt)(P.Y36(P.Qsj),P.Y36(P.SBq))},Tt.\u0275dir=P.lG2({type:Tt,selectors:[["","forceNativeScrolling",""]]});class Nt{}Nt.\u0275fac=function(Ke){return new(Ke||Nt)},Nt.\u0275mod=P.oAB({type:Nt}),Nt.\u0275inj=P.cJS({imports:[[p.ez],p.ez]})},4946:Ge=>{"use strict";Ge.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:Ge=>{"use strict";Ge.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"}}')},7036:Ge=>{"use strict";Ge.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:Ge=>{"use strict";Ge.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:Ge=>{"use strict";Ge.exports={i8:"6.5.4"}},2562:Ge=>{"use strict";Ge.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"}')}},Ge=>{var e;e=2693,Ge(Ge.s=e)}]);
//# sourceMappingURL=main.10acc9285453a51d.js.map