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.124ceafb3ad9c6e7.js

1 line
3.1 MiB

(self.webpackChunkRTLApp=self.webpackChunkRTLApp||[]).push([[179],{234:(ze,q,p)=>{"use strict";p.d(q,{$A:()=>v,$W:()=>B,BL:()=>w,CX:()=>E,EK:()=>ae,El:()=>j,HI:()=>se,HJ:()=>M,Hc:()=>y,I8:()=>I,JK:()=>wt,Mf:()=>l,Nr:()=>De,OG:()=>D,QJ:()=>N,Rd:()=>ot,Sf:()=>O,TM:()=>$,UR:()=>n,VD:()=>qe,W:()=>d,WM:()=>ee,WO:()=>ue,Wi:()=>me,X3:()=>X,YP:()=>je,YX:()=>h,Z8:()=>W,ZH:()=>Ge,Zu:()=>ve,_9:()=>Be,_E:()=>k,aL:()=>Je,as:()=>s,cQ:()=>fe,d7:()=>kt,dh:()=>le,e9:()=>Ae,eF:()=>P,eM:()=>ge,en:()=>it,g6:()=>ye,i9:()=>We,kL:()=>S,lv:()=>xe,mI:()=>A,n7:()=>r,nE:()=>de,oV:()=>Me,pW:()=>f,pd:()=>m,u0:()=>H,uT:()=>mt,v_:()=>g,wD:()=>x,yl:()=>oe,z:()=>ie});var e=p(4221),t=p(2154);const y=(0,e.PH)(t.AB.UPDATE_API_CALL_STATUS_CLN,(0,e.Ky)()),A=(0,e.PH)(t.AB.RESET_CLN_STORE,(0,e.Ky)()),l=(0,e.PH)(t.AB.SET_CHILD_NODE_SETTINGS_CLN,(0,e.Ky)()),x=(0,e.PH)(t.AB.FETCH_PAGE_SETTINGS_CLN),m=(0,e.PH)(t.AB.SET_PAGE_SETTINGS_CLN,(0,e.Ky)()),P=(0,e.PH)(t.AB.SAVE_PAGE_SETTINGS_CLN,(0,e.Ky)()),d=(0,e.PH)(t.AB.FETCH_INFO_CLN,(0,e.Ky)()),E=(0,e.PH)(t.AB.SET_INFO_CLN,(0,e.Ky)()),M=(0,e.PH)(t.AB.FETCH_FEE_RATES_CLN,(0,e.Ky)()),I=(0,e.PH)(t.AB.SET_FEE_RATES_CLN,(0,e.Ky)()),k=(0,e.PH)(t.AB.GET_NEW_ADDRESS_CLN,(0,e.Ky)()),B=((0,e.PH)(t.AB.SET_NEW_ADDRESS_CLN,(0,e.Ky)()),(0,e.PH)(t.AB.FETCH_PEERS_CLN)),W=(0,e.PH)(t.AB.SET_PEERS_CLN,(0,e.Ky)()),j=(0,e.PH)(t.AB.SAVE_NEW_PEER_CLN,(0,e.Ky)()),X=((0,e.PH)(t.AB.NEWLY_ADDED_PEER_CLN,(0,e.Ky)()),(0,e.PH)(t.AB.ADD_PEER_CLN,(0,e.Ky)())),ie=(0,e.PH)(t.AB.DETACH_PEER_CLN,(0,e.Ky)()),ae=(0,e.PH)(t.AB.REMOVE_PEER_CLN,(0,e.Ky)()),fe=(0,e.PH)(t.AB.FETCH_PAYMENTS_CLN),se=(0,e.PH)(t.AB.SET_PAYMENTS_CLN,(0,e.Ky)()),Me=(0,e.PH)(t.AB.SEND_PAYMENT_CLN,(0,e.Ky)()),$=(0,e.PH)(t.AB.SEND_PAYMENT_STATUS_CLN,(0,e.Ky)()),ue=(0,e.PH)(t.AB.GET_QUERY_ROUTES_CLN,(0,e.Ky)()),S=(0,e.PH)(t.AB.SET_QUERY_ROUTES_CLN,(0,e.Ky)()),n=(0,e.PH)(t.AB.FETCH_CHANNELS_CLN),s=(0,e.PH)(t.AB.SET_CHANNELS_CLN,(0,e.Ky)()),f=(0,e.PH)(t.AB.UPDATE_CHANNEL_CLN,(0,e.Ky)()),h=(0,e.PH)(t.AB.SAVE_NEW_CHANNEL_CLN,(0,e.Ky)()),w=(0,e.PH)(t.AB.CLOSE_CHANNEL_CLN,(0,e.Ky)()),D=(0,e.PH)(t.AB.REMOVE_CHANNEL_CLN,(0,e.Ky)()),O=(0,e.PH)(t.AB.PEER_LOOKUP_CLN,(0,e.Ky)()),v=(0,e.PH)(t.AB.CHANNEL_LOOKUP_CLN,(0,e.Ky)()),r=(0,e.PH)(t.AB.INVOICE_LOOKUP_CLN,(0,e.Ky)()),g=(0,e.PH)(t.AB.SET_LOOKUP_CLN,(0,e.Ky)()),H=(0,e.PH)(t.AB.GET_FORWARDING_HISTORY_CLN,(0,e.Ky)()),N=(0,e.PH)(t.AB.SET_FORWARDING_HISTORY_CLN,(0,e.Ky)()),ee=(0,e.PH)(t.AB.FETCH_INVOICES_CLN),De=(0,e.PH)(t.AB.SET_INVOICES_CLN,(0,e.Ky)()),ot=(0,e.PH)(t.AB.SAVE_NEW_INVOICE_CLN,(0,e.Ky)()),je=(0,e.PH)(t.AB.ADD_INVOICE_CLN,(0,e.Ky)()),Je=(0,e.PH)(t.AB.UPDATE_INVOICE_CLN,(0,e.Ky)()),ye=(0,e.PH)(t.AB.DELETE_EXPIRED_INVOICE_CLN,(0,e.Ky)()),me=(0,e.PH)(t.AB.SET_CHANNEL_TRANSACTION_CLN,(0,e.Ky)()),xe=((0,e.PH)(t.AB.SET_CHANNEL_TRANSACTION_RES_CLN,(0,e.Ky)()),(0,e.PH)(t.AB.FETCH_UTXO_BALANCES_CLN)),de=(0,e.PH)(t.AB.SET_UTXO_BALANCES_CLN,(0,e.Ky)()),ge=(0,e.PH)(t.AB.FETCH_OFFER_INVOICE_CLN,(0,e.Ky)()),qe=(0,e.PH)(t.AB.SET_OFFER_INVOICE_CLN,(0,e.Ky)()),oe=(0,e.PH)(t.AB.FETCH_OFFERS_CLN),ve=(0,e.PH)(t.AB.SET_OFFERS_CLN,(0,e.Ky)()),le=(0,e.PH)(t.AB.SAVE_NEW_OFFER_CLN,(0,e.Ky)()),Ge=(0,e.PH)(t.AB.ADD_OFFER_CLN,(0,e.Ky)()),We=(0,e.PH)(t.AB.DISABLE_OFFER_CLN,(0,e.Ky)()),wt=(0,e.PH)(t.AB.UPDATE_OFFER_CLN,(0,e.Ky)()),mt=(0,e.PH)(t.AB.FETCH_OFFER_BOOKMARKS_CLN),kt=(0,e.PH)(t.AB.SET_OFFER_BOOKMARKS_CLN,(0,e.Ky)()),Ae=(0,e.PH)(t.AB.ADD_UPDATE_OFFER_BOOKMARK_CLN,(0,e.Ky)()),Be=(0,e.PH)(t.AB.DELETE_OFFER_BOOKMARK_CLN,(0,e.Ky)()),it=(0,e.PH)(t.AB.REMOVE_OFFER_BOOKMARK_CLN,(0,e.Ky)())},9125:(ze,q,p)=>{"use strict";p.d(q,{J:()=>Me});var e=p(5154),t=p(8645),y=p(2096),A=p(1631),l=p(9773),x=p(7398),m=p(6306),P=p(3315),d=p(6820),E=p(2154),M=p(9103),I=p(234),k=p(3468),V=p(5440),B=p(9212),W=p(9862),j=p(4221),K=p(5813),X=p(6339),ie=p(5980),ae=p(4190),fe=p(2285),se=p(6814);let Me=(()=>{class ${constructor(S,n,s,f,h,w,D,O,v){this.actions=S,this.httpClient=n,this.store=s,this.sessionService=f,this.commonService=h,this.logger=w,this.router=D,this.wsService=O,this.location=v,this.CHILD_API_URL=E.T5+"/cln",this.CLN_VERISON="",this.flgInitialized=!1,this.unSubs=[new t.x,new t.x,new t.x],this.infoFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.FETCH_INFO_CLN),(0,A.z)(r=>(this.flgInitialized=!1,this.store.dispatch((0,M.lC)({payload:this.CHILD_API_URL})),this.store.dispatch((0,I.Hc)({payload:{action:"FetchInfo",status:E.Bn.INITIATED}})),this.store.dispatch((0,M.ac)({payload:E.m6.GET_NODE_INFO})),this.httpClient.get(this.CHILD_API_URL+E.vv.GETINFO_API).pipe((0,l.R)(this.actions.pipe((0,e.l4)(E.pg.SET_SELECTED_NODE))),(0,x.U)(g=>(this.logger.info(g),this.CLN_VERISON=g.version||"",g.chains&&g.chains.length&&g.chains[0]&&"object"==typeof g.chains[0]&&g.chains[0].hasOwnProperty("chain")&&g?.chains[0].chain&&g?.chains[0].chain.toLowerCase().indexOf("bitcoin")<0&&g?.chains[0].chain.toLowerCase().indexOf("liquid")<0?(this.store.dispatch((0,I.Hc)({payload:{action:"FetchInfo",status:E.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:E.m6.GET_NODE_INFO})),this.store.dispatch((0,M.ts)()),setTimeout(()=>{this.store.dispatch((0,M.qR)({payload:{data:{type:E.n_.ERROR,alertTitle:"Shitcoin Found",titleMessage:"Sorry Not Sorry, RTL is Bitcoin Only!"}}}))},500),{type:E.pg.LOGOUT}):(this.initializeRemainingData(g,r.payload.loadPage),this.store.dispatch((0,I.Hc)({payload:{action:"FetchInfo",status:E.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:E.m6.GET_NODE_INFO})),{type:E.AB.SET_INFO_CLN,payload:g||{}}))),(0,m.K)(g=>{const H=this.commonService.extractErrorCode(g),N="ETIMEDOUT"===H?"Unable to Connect to Core Lightning Server.":this.commonService.extractErrorMessage(g);return this.router.navigate(["/error"],{state:{errorCode:H,errorMessage:N}}),this.handleErrorWithoutAlert("FetchInfo",E.m6.GET_NODE_INFO,"Fetching Node Info Failed.",{status:H,error:N}),(0,y.of)({type:E.pg.VOID})})))))),this.fetchFeeRatesCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.FETCH_FEE_RATES_CLN),(0,A.z)(r=>(this.store.dispatch((0,I.Hc)({payload:{action:"FetchFeeRates"+r.payload,status:E.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+E.vv.NETWORK_API+"/feeRates",{style:r.payload}).pipe((0,x.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Hc)({payload:{action:"FetchFeeRates"+r.payload,status:E.Bn.COMPLETED}})),{type:E.AB.SET_FEE_RATES_CLN,payload:g||{}})),(0,m.K)(g=>(this.handleErrorWithoutAlert("FetchFeeRates"+r.payload,E.m6.NO_SPINNER,"Fetching Fee Rates Failed.",g),(0,y.of)({type:E.pg.VOID})))))))),this.getNewAddressCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.GET_NEW_ADDRESS_CLN),(0,A.z)(r=>(this.store.dispatch((0,M.ac)({payload:E.m6.GENERATE_NEW_ADDRESS})),this.httpClient.post(this.CHILD_API_URL+E.vv.ON_CHAIN_API+"/newaddr",{addresstype:r.payload.addressCode}).pipe((0,x.U)(g=>(this.logger.info(g),this.store.dispatch((0,M.uO)({payload:E.m6.GENERATE_NEW_ADDRESS})),{type:E.AB.SET_NEW_ADDRESS_CLN,payload:g&&g[r.payload.addressCode]?g[r.payload.addressCode]:{}})),(0,m.K)(g=>(this.handleErrorWithAlert("GenerateNewAddress",E.m6.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+E.vv.ON_CHAIN_API,g),(0,y.of)({type:E.pg.VOID})))))))),this.setNewAddressCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.SET_NEW_ADDRESS_CLN),(0,x.U)(r=>(this.logger.info(r.payload),r.payload))),{dispatch:!1}),this.peersFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.FETCH_PEERS_CLN),(0,A.z)(()=>(this.store.dispatch((0,I.Hc)({payload:{action:"FetchPeers",status:E.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+E.vv.PEERS_API).pipe((0,x.U)(r=>(this.logger.info(r),this.store.dispatch((0,I.Hc)({payload:{action:"FetchPeers",status:E.Bn.COMPLETED}})),{type:E.AB.SET_PEERS_CLN,payload:r||[]})),(0,m.K)(r=>(this.handleErrorWithoutAlert("FetchPeers",E.m6.NO_SPINNER,"Fetching Peers Failed.",r),(0,y.of)({type:E.pg.VOID})))))))),this.saveNewPeerCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.SAVE_NEW_PEER_CLN),(0,A.z)(r=>(this.store.dispatch((0,M.ac)({payload:E.m6.CONNECT_PEER})),this.store.dispatch((0,I.Hc)({payload:{action:"SaveNewPeer",status:E.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+E.vv.PEERS_API,{id:r.payload.id}).pipe((0,x.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Hc)({payload:{action:"SaveNewPeer",status:E.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:E.m6.CONNECT_PEER})),this.store.dispatch((0,I.Z8)({payload:g||[]})),{type:E.AB.NEWLY_ADDED_PEER_CLN,payload:{peer:g.find(H=>0===r.payload.id.indexOf(H.id?H.id:""))}})),(0,m.K)(g=>(this.handleErrorWithoutAlert("SaveNewPeer",E.m6.CONNECT_PEER,"Peer Connection Failed.",g),(0,y.of)({type:E.pg.VOID})))))))),this.detachPeerCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.DETACH_PEER_CLN),(0,A.z)(r=>(this.store.dispatch((0,M.ac)({payload:E.m6.DISCONNECT_PEER})),this.httpClient.post(this.CHILD_API_URL+E.vv.PEERS_API+"/disconnect",{id:r.payload.id,force:r.payload.force}).pipe((0,x.U)(g=>(this.logger.info(g),this.store.dispatch((0,M.uO)({payload:E.m6.DISCONNECT_PEER})),this.store.dispatch((0,M.jW)({payload:"Peer Disconnected Successfully!"})),{type:E.AB.REMOVE_PEER_CLN,payload:{id:r.payload.id}})),(0,m.K)(g=>(this.handleErrorWithAlert("PeerDisconnect",E.m6.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+E.vv.PEERS_API+"/"+r.payload.id,g),(0,y.of)({type:E.pg.VOID})))))))),this.channelsFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.FETCH_CHANNELS_CLN),(0,A.z)(()=>(this.store.dispatch((0,I.Hc)({payload:{action:"FetchChannels",status:E.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+E.vv.CHANNELS_API+"/listPeerChannels"))),(0,x.U)(r=>{this.logger.info(r),this.store.dispatch((0,I.Hc)({payload:{action:"FetchChannels",status:E.Bn.COMPLETED}}));const g={activeChannels:[],pendingChannels:[],inactiveChannels:[]};return r.forEach(H=>{"CHANNELD_NORMAL"===H.state?H.peer_connected?g.activeChannels.push(H):g.inactiveChannels.push(H):g.pendingChannels.push(H)}),{type:E.AB.SET_CHANNELS_CLN,payload:g}}),(0,m.K)(r=>(this.handleErrorWithoutAlert("FetchChannels",E.m6.NO_SPINNER,"Fetching Channels Failed.",r),(0,y.of)({type:E.pg.VOID}))))),this.openNewChannelCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.SAVE_NEW_CHANNEL_CLN),(0,A.z)(r=>{this.store.dispatch((0,M.ac)({payload:E.m6.OPEN_CHANNEL})),this.store.dispatch((0,I.Hc)({payload:{action:"SaveNewChannel",status:E.Bn.INITIATED}}));const g={id:r.payload.peerId,amount:r.payload.amount,feerate:r.payload.feeRate,announce:r.payload.announce};return r.payload.minconf&&(g.minconf=r.payload.minconf),r.payload.utxos&&(g.utxos=r.payload.utxos),r.payload.requestAmount&&(g.request_amt=r.payload.requestAmount),r.payload.compactLease&&(g.compact_lease=r.payload.compactLease),this.httpClient.post(this.CHILD_API_URL+E.vv.CHANNELS_API,g).pipe((0,x.U)(H=>(this.logger.info(H),this.store.dispatch((0,I.Hc)({payload:{action:"SaveNewChannel",status:E.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:E.m6.OPEN_CHANNEL})),this.store.dispatch((0,M.jW)({payload:"Channel Added Successfully!"})),this.store.dispatch((0,I.lv)()),{type:E.AB.FETCH_CHANNELS_CLN})),(0,m.K)(H=>(this.handleErrorWithoutAlert("SaveNewChannel",E.m6.OPEN_CHANNEL,"Opening Channel Failed.",H),(0,y.of)({type:E.pg.VOID}))))}))),this.updateChannelCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.UPDATE_CHANNEL_CLN),(0,A.z)(r=>(this.store.dispatch((0,M.ac)({payload:E.m6.UPDATE_CHAN_POLICY})),this.httpClient.post(this.CHILD_API_URL+E.vv.CHANNELS_API+"/setChannelFee",r.payload).pipe((0,x.U)(g=>(this.logger.info(g),this.store.dispatch((0,M.uO)({payload:E.m6.UPDATE_CHAN_POLICY})),this.store.dispatch((0,M.jW)("all"===r.payload.id?{payload:{message:"All Channels Updated Successfully. Fee policy updates may take some time to reflect on the channel.",duration:5e3}}:{payload:{message:"Channel Updated Successfully. Fee policy updates may take some time to reflect on the channel.",duration:5e3}})),{type:E.AB.FETCH_CHANNELS_CLN})),(0,m.K)(g=>(this.handleErrorWithAlert("UpdateChannel",E.m6.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+E.vv.CHANNELS_API,g),(0,y.of)({type:E.pg.VOID})))))))),this.closeChannelCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.CLOSE_CHANNEL_CLN),(0,A.z)(r=>(this.store.dispatch((0,M.ac)({payload:r.payload.force?E.m6.FORCE_CLOSE_CHANNEL:E.m6.CLOSE_CHANNEL})),this.httpClient.post(this.CHILD_API_URL+E.vv.CHANNELS_API+"/close",{id:r.payload.channelId,unilateraltimeout:r.payload.force?1:null}).pipe((0,x.U)(g=>(this.logger.info(g),this.store.dispatch((0,M.uO)({payload:r.payload.force?E.m6.FORCE_CLOSE_CHANNEL:E.m6.CLOSE_CHANNEL})),this.store.dispatch((0,I.UR)()),this.store.dispatch((0,I.lv)()),this.store.dispatch((0,M.jW)({payload:"Channel Closed Successfully!"})),{type:E.AB.REMOVE_CHANNEL_CLN,payload:r.payload})),(0,m.K)(g=>(this.handleErrorWithAlert("CloseChannel",r.payload.force?E.m6.FORCE_CLOSE_CHANNEL:E.m6.CLOSE_CHANNEL,"Unable to Close Channel. Try again later.",this.CHILD_API_URL+E.vv.CHANNELS_API,g),(0,y.of)({type:E.pg.VOID})))))))),this.paymentsFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.FETCH_PAYMENTS_CLN),(0,A.z)(()=>(this.store.dispatch((0,I.Hc)({payload:{action:"FetchPayments",status:E.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+E.vv.PAYMENTS_API))),(0,x.U)(r=>(this.logger.info(r),this.store.dispatch((0,I.Hc)({payload:{action:"FetchPayments",status:E.Bn.COMPLETED}})),{type:E.AB.SET_PAYMENTS_CLN,payload:r||[]})),(0,m.K)(r=>(this.handleErrorWithoutAlert("FetchPayments",E.m6.NO_SPINNER,"Fetching Payments Failed.",r),(0,y.of)({type:E.pg.VOID}))))),this.fetchOfferInvoiceCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.FETCH_OFFER_INVOICE_CLN),(0,A.z)(r=>(this.store.dispatch((0,M.ac)({payload:E.m6.FETCH_INVOICE})),this.store.dispatch((0,I.Hc)({payload:{action:"FetchOfferInvoice",status:E.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+E.vv.OFFERS_API+"/fetchOfferInvoice",r.payload).pipe((0,x.U)(g=>{this.logger.info(g),setTimeout(()=>{this.store.dispatch((0,I.Hc)({payload:{action:"FetchOfferInvoice",status:E.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:E.m6.FETCH_INVOICE})),this.store.dispatch((0,I.VD)({payload:g||{}}))},500)}),(0,m.K)(g=>(this.handleErrorWithoutAlert("FetchOfferInvoice",E.m6.FETCH_INVOICE,"Offer Invoice Fetch Failed",g),(0,y.of)({type:E.pg.VOID}))))))),{dispatch:!1}),this.setOfferInvoiceCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.SET_OFFER_INVOICE_CLN),(0,x.U)(r=>(this.logger.info(r.payload),r.payload))),{dispatch:!1}),this.sendPaymentCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.SEND_PAYMENT_CLN),(0,A.z)(r=>(this.store.dispatch((0,M.ac)({payload:r.payload.uiMessage})),this.store.dispatch((0,I.Hc)({payload:{action:"SendPayment",status:E.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+E.vv.PAYMENTS_API,r.payload).pipe((0,x.U)(g=>{this.logger.info(g),this.store.dispatch((0,I.Hc)({payload:{action:"SendPayment",status:E.Bn.COMPLETED}}));let H="Payment Sent Successfully!";g.saveToDBError&&(H="Payment Sent Successfully but Offer Saving to Database Failed."),g.saveToDBResponse&&"NA"!==g.saveToDBResponse&&(this.store.dispatch((0,I.e9)({payload:g.saveToDBResponse})),H="Payment Sent Successfully and Offer Saved to Database."),setTimeout(()=>{this.store.dispatch((0,I.UR)()),this.store.dispatch((0,I.lv)()),this.store.dispatch((0,I.cQ)()),this.store.dispatch((0,M.uO)({payload:r.payload.uiMessage})),this.store.dispatch((0,M.jW)({payload:H})),this.store.dispatch((0,I.TM)({payload:g.paymentResponse}))},1e3)}),(0,m.K)(g=>(this.logger.error("Error: "+JSON.stringify(g)),r.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",r.payload.uiMessage,"Send Payment Failed.",g):this.handleErrorWithAlert("SendPayment",r.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+E.vv.PAYMENTS_API,g),(0,y.of)({type:E.pg.VOID}))))))),{dispatch:!1}),this.queryRoutesFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.GET_QUERY_ROUTES_CLN),(0,A.z)(r=>(this.store.dispatch((0,I.Hc)({payload:{action:"GetQueryRoutes",status:E.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+E.vv.NETWORK_API+"/getRoute",{id:r.payload.destPubkey,amount_msat:r.payload.amount,riskfactor:0}).pipe((0,x.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Hc)({payload:{action:"GetQueryRoutes",status:E.Bn.COMPLETED}})),{type:E.AB.SET_QUERY_ROUTES_CLN,payload:g})),(0,m.K)(g=>(this.store.dispatch((0,I.kL)({payload:{route:[]}})),this.handleErrorWithAlert("GetQueryRoutes",E.m6.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+E.vv.NETWORK_API+"/getRoute",g),(0,y.of)({type:E.pg.VOID})))))))),this.setQueryRoutesCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.SET_QUERY_ROUTES_CLN),(0,x.U)(r=>r.payload)),{dispatch:!1}),this.peerLookupCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.PEER_LOOKUP_CLN),(0,A.z)(r=>(this.store.dispatch((0,M.ac)({payload:E.m6.SEARCHING_NODE})),this.store.dispatch((0,I.Hc)({payload:{action:"Lookup",status:E.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+E.vv.NETWORK_API+"/listNodes",{id:r.payload}).pipe((0,x.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Hc)({payload:{action:"Lookup",status:E.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:E.m6.SEARCHING_NODE})),{type:E.AB.SET_LOOKUP_CLN,payload:g})),(0,m.K)(g=>(this.handleErrorWithAlert("Lookup",E.m6.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+E.vv.NETWORK_API+"/listNodes/"+r.payload,g),(0,y.of)({type:E.pg.VOID})))))))),this.channelLookupCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.CHANNEL_LOOKUP_CLN),(0,A.z)(r=>(this.store.dispatch((0,M.ac)({payload:r.payload.uiMessage})),this.store.dispatch((0,I.Hc)({payload:{action:"Lookup",status:E.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+E.vv.NETWORK_API+"/listChannels",{short_channel_id:r.payload.shortChannelID}).pipe((0,x.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Hc)({payload:{action:"Lookup",status:E.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:r.payload.uiMessage})),{type:E.AB.SET_LOOKUP_CLN,payload:g})),(0,m.K)(g=>(r.payload.showError?this.handleErrorWithAlert("Lookup",r.payload.uiMessage,"Channel Lookup Failed",this.CHILD_API_URL+E.vv.NETWORK_API+"/listChannels/"+r.payload.shortChannelID,g):this.store.dispatch((0,M.uO)({payload:r.payload.uiMessage})),this.store.dispatch((0,I.v_)({payload:[]})),(0,y.of)({type:E.pg.VOID})))))))),this.invoiceLookupCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.INVOICE_LOOKUP_CLN),(0,A.z)(r=>(this.store.dispatch((0,M.ac)({payload:E.m6.SEARCHING_INVOICE})),this.store.dispatch((0,I.Hc)({payload:{action:"Lookup",status:E.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+E.vv.INVOICES_API+"/lookup",{label:r.payload}).pipe((0,x.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Hc)({payload:{action:"Lookup",status:E.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:E.m6.SEARCHING_INVOICE})),g.invoices&&g.invoices.length&&g.invoices.length>0&&this.store.dispatch((0,I.aL)({payload:g.invoices[0]})),{type:E.AB.SET_LOOKUP_CLN,payload:g.invoices&&g.invoices.length&&g.invoices.length>0?g.invoices[0]:g})),(0,m.K)(g=>(this.handleErrorWithoutAlert("Lookup",E.m6.SEARCHING_INVOICE,"Invoice Lookup Failed",g),this.store.dispatch((0,M.jW)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,y.of)({type:E.pg.VOID})))))))),this.setLookupCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.SET_LOOKUP_CLN),(0,x.U)(r=>(this.logger.info(r.payload),r.payload))),{dispatch:!1}),this.fetchForwardingHistoryCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.GET_FORWARDING_HISTORY_CLN),(0,A.z)(r=>{const g=r.payload.status.charAt(0).toUpperCase();return this.store.dispatch((0,I.Hc)({payload:{action:"FetchForwardingHistory"+g,status:E.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+E.vv.CHANNELS_API+"/listForwards",r.payload).pipe((0,x.U)(H=>(this.logger.info(H),this.store.dispatch((0,I.Hc)({payload:{action:"FetchForwardingHistory"+g,status:E.Bn.COMPLETED}})),r.payload.status===E.OO.FAILED?this.store.dispatch((0,I.QJ)({payload:{status:E.OO.FAILED,totalForwards:H.length,listForwards:H}})):r.payload.status===E.OO.LOCAL_FAILED?this.store.dispatch((0,I.QJ)({payload:{status:E.OO.LOCAL_FAILED,totalForwards:H.length,listForwards:H}})):r.payload.status===E.OO.SETTLED&&this.store.dispatch((0,I.QJ)({payload:{status:E.OO.SETTLED,totalForwards:H.length,listForwards:H}})),{type:E.pg.VOID})),(0,m.K)(H=>(this.handleErrorWithAlert("FetchForwardingHistory"+g,E.m6.NO_SPINNER,"Get "+r.payload.status+" Forwarding History Failed",this.CHILD_API_URL+E.vv.CHANNELS_API+"/listForwards",H),(0,y.of)({type:E.pg.VOID}))))}))),this.deleteExpiredInvoiceCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.DELETE_EXPIRED_INVOICE_CLN),(0,A.z)(r=>(this.store.dispatch((0,M.ac)({payload:E.m6.DELETE_INVOICE})),this.httpClient.post(this.CHILD_API_URL+E.vv.INVOICES_API+"/delete",{maxexpiry:r.payload}).pipe((0,x.U)(g=>(this.logger.info(g),this.store.dispatch((0,M.uO)({payload:E.m6.DELETE_INVOICE})),this.store.dispatch((0,M.jW)({payload:"Invoices Deleted Successfully!"})),{type:E.AB.FETCH_INVOICES_CLN})),(0,m.K)(g=>(this.handleErrorWithAlert("DeleteInvoices",E.m6.DELETE_INVOICE,"Delete Invoice Failed",this.CHILD_API_URL+E.vv.INVOICES_API,g),(0,y.of)({type:E.pg.VOID})))))))),this.saveNewInvoiceCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.SAVE_NEW_INVOICE_CLN),(0,A.z)(r=>(this.store.dispatch((0,M.ac)({payload:E.m6.ADD_INVOICE})),this.store.dispatch((0,I.Hc)({payload:{action:"SaveNewInvoice",status:E.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+E.vv.INVOICES_API,r.payload).pipe((0,x.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Hc)({payload:{action:"SaveNewInvoice",status:E.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:E.m6.ADD_INVOICE})),g.amount_msat=r.payload.amount_msat,g.label=r.payload.label,g.expires_at=Math.round((new Date).getTime()/1e3+r.payload.expiry),g.description=r.payload.description,g.status="unpaid",setTimeout(()=>{this.store.dispatch((0,M.qR)({payload:{data:{invoice:g,newlyAdded:!0,component:d.y}}}))},200),{type:E.AB.ADD_INVOICE_CLN,payload:g})),(0,m.K)(g=>(this.handleErrorWithoutAlert("SaveNewInvoice",E.m6.ADD_INVOICE,"Add Invoice Failed.",g),(0,y.of)({type:E.pg.VOID})))))))),this.saveNewOfferCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.SAVE_NEW_OFFER_CLN),(0,A.z)(r=>(this.store.dispatch((0,M.ac)({payload:E.m6.CREATE_OFFER})),this.store.dispatch((0,I.Hc)({payload:{action:"SaveNewOffer",status:E.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+E.vv.OFFERS_API,r.payload).pipe((0,x.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Hc)({payload:{action:"SaveNewOffer",status:E.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:E.m6.CREATE_OFFER})),setTimeout(()=>{this.store.dispatch((0,M.qR)({payload:{data:{offer:g,newlyAdded:!0,component:V.k}}}))},100),{type:E.AB.ADD_OFFER_CLN,payload:g})),(0,m.K)(g=>(this.handleErrorWithoutAlert("SaveNewOffer",E.m6.CREATE_OFFER,"Create Offer Failed.",g),(0,y.of)({type:E.pg.VOID})))))))),this.invoicesFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.FETCH_INVOICES_CLN),(0,A.z)(()=>(this.store.dispatch((0,I.Hc)({payload:{action:"FetchInvoices",status:E.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+E.vv.INVOICES_API+"/lookup",null))),(0,x.U)(r=>(this.logger.info(r),this.store.dispatch((0,I.Hc)({payload:{action:"FetchInvoices",status:E.Bn.COMPLETED}})),{type:E.AB.SET_INVOICES_CLN,payload:r})),(0,m.K)(r=>(this.handleErrorWithoutAlert("FetchInvoices",E.m6.NO_SPINNER,"Fetching Invoices Failed.",r),(0,y.of)({type:E.pg.VOID}))))),this.offersFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.FETCH_OFFERS_CLN),(0,A.z)(r=>(this.store.dispatch((0,I.Hc)({payload:{action:"FetchOffers",status:E.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+E.vv.OFFERS_API).pipe((0,x.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Hc)({payload:{action:"FetchOffers",status:E.Bn.COMPLETED}})),{type:E.AB.SET_OFFERS_CLN,payload:g.offers?g.offers:[]})),(0,m.K)(g=>(this.handleErrorWithoutAlert("FetchOffers",E.m6.NO_SPINNER,"Fetching Offers Failed.",g),(0,y.of)({type:E.pg.VOID})))))))),this.offersDisableCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.DISABLE_OFFER_CLN),(0,A.z)(r=>(this.store.dispatch((0,M.ac)({payload:E.m6.DISABLE_OFFER})),this.store.dispatch((0,I.Hc)({payload:{action:"DisableOffer",status:E.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+E.vv.OFFERS_API+"/disableOffer",{offer_id:r.payload.offer_id}).pipe((0,x.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Hc)({payload:{action:"DisableOffer",status:E.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:E.m6.DISABLE_OFFER})),this.store.dispatch((0,M.jW)({payload:"Offer Disabled Successfully!"})),{type:E.AB.UPDATE_OFFER_CLN,payload:{offer:g}})),(0,m.K)(g=>(this.handleErrorWithoutAlert("DisableOffer",E.m6.DISABLE_OFFER,"Disabling Offer Failed.",g),(0,y.of)({type:E.pg.VOID})))))))),this.offerBookmarksFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.FETCH_OFFER_BOOKMARKS_CLN),(0,A.z)(r=>(this.store.dispatch((0,I.Hc)({payload:{action:"FetchOfferBookmarks",status:E.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+E.vv.OFFERS_API+"/offerbookmarks").pipe((0,x.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Hc)({payload:{action:"FetchOfferBookmarks",status:E.Bn.COMPLETED}})),{type:E.AB.SET_OFFER_BOOKMARKS_CLN,payload:g||[]})),(0,m.K)(g=>(this.handleErrorWithoutAlert("FetchOfferBookmarks",E.m6.NO_SPINNER,"Fetching Offer Bookmarks Failed.",g),(0,y.of)({type:E.pg.VOID})))))))),this.peidOffersDeleteCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.DELETE_OFFER_BOOKMARK_CLN),(0,A.z)(r=>(this.store.dispatch((0,M.ac)({payload:E.m6.DELETE_OFFER_BOOKMARK})),this.store.dispatch((0,I.Hc)({payload:{action:"DeleteOfferBookmark",status:E.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+E.vv.OFFERS_API+"/offerbookmark/delete",{offer_str:r.payload.bolt12}).pipe((0,x.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Hc)({payload:{action:"DeleteOfferBookmark",status:E.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:E.m6.DELETE_OFFER_BOOKMARK})),this.store.dispatch((0,M.jW)({payload:"Offer Bookmark Deleted Successfully!"})),{type:E.AB.REMOVE_OFFER_BOOKMARK_CLN,payload:{bolt12:r.payload.bolt12}})),(0,m.K)(g=>(this.handleErrorWithAlert("DeleteOfferBookmark",E.m6.DELETE_OFFER_BOOKMARK,"Deleting Offer Bookmark Failed.",this.CHILD_API_URL+E.vv.OFFERS_API+"/offerbookmark/"+r.payload.bolt12,g),(0,y.of)({type:E.pg.VOID})))))))),this.SetChannelTransactionCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.SET_CHANNEL_TRANSACTION_CLN),(0,A.z)(r=>(this.store.dispatch((0,M.ac)({payload:E.m6.SEND_FUNDS})),this.store.dispatch((0,I.Hc)({payload:{action:"SetChannelTransaction",status:E.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+E.vv.ON_CHAIN_API,r.payload).pipe((0,x.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Hc)({payload:{action:"SetChannelTransaction",status:E.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:E.m6.SEND_FUNDS})),this.store.dispatch((0,I.lv)()),{type:E.AB.SET_CHANNEL_TRANSACTION_RES_CLN,payload:g})),(0,m.K)(g=>(this.handleErrorWithoutAlert("SetChannelTransaction",E.m6.SEND_FUNDS,"Sending Fund Failed.",g),(0,y.of)({type:E.pg.VOID})))))))),this.utxoBalancesFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.FETCH_UTXO_BALANCES_CLN),(0,A.z)(()=>(this.store.dispatch((0,I.Hc)({payload:{action:"FetchUTXOBalances",status:E.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+E.vv.ON_CHAIN_API+"/utxos"))),(0,x.U)(r=>(this.logger.info(r),this.store.dispatch((0,I.Hc)({payload:{action:"FetchUTXOBalances",status:E.Bn.COMPLETED}})),{type:E.AB.SET_UTXO_BALANCES_CLN,payload:r})),(0,m.K)(r=>(this.handleErrorWithoutAlert("FetchUTXOBalances",E.m6.NO_SPINNER,"Fetching UTXO and Balances Failed.",r),(0,y.of)({type:E.pg.VOID}))))),this.pageSettingsFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.FETCH_PAGE_SETTINGS_CLN),(0,A.z)(()=>(this.store.dispatch((0,I.Hc)({payload:{action:"FetchPageSettings",status:E.Bn.INITIATED}})),this.httpClient.get(E.vv.PAGE_SETTINGS_API).pipe((0,x.U)(r=>(this.logger.info(r),this.store.dispatch((0,I.Hc)({payload:{action:"FetchPageSettings",status:E.Bn.COMPLETED}})),{type:E.AB.SET_PAGE_SETTINGS_CLN,payload:r||[]})),(0,m.K)(r=>(this.handleErrorWithoutAlert("FetchPageSettings",E.m6.NO_SPINNER,"Fetching Page Settings Failed.",r),(0,y.of)({type:E.pg.VOID})))))))),this.savePageSettingsCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.SAVE_PAGE_SETTINGS_CLN),(0,A.z)(r=>(this.store.dispatch((0,M.ac)({payload:E.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,I.Hc)({payload:{action:"SavePageSettings",status:E.Bn.INITIATED}})),this.httpClient.post(E.vv.PAGE_SETTINGS_API,r.payload).pipe((0,x.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Hc)({payload:{action:"SavePageSettings",status:E.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:E.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,M.jW)({payload:"Page Layout Updated Successfully!"})),{type:E.AB.SET_PAGE_SETTINGS_CLN,payload:g||[]})),(0,m.K)(g=>(this.handleErrorWithAlert("SavePageSettings",E.m6.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",E.vv.PAGE_SETTINGS_API,g),(0,y.of)({type:E.pg.VOID})))))))),this.store.select(k.yA).pipe((0,l.R)(this.unSubs[0])).subscribe(r=>{r.FetchInfo.status!==E.Bn.COMPLETED&&r.FetchInfo.status!==E.Bn.ERROR||r.FetchChannels.status!==E.Bn.COMPLETED&&r.FetchChannels.status!==E.Bn.ERROR||r.FetchUTXOBalances.status!==E.Bn.COMPLETED&&r.FetchUTXOBalances.status!==E.Bn.ERROR||this.flgInitialized||(this.store.dispatch((0,M.uO)({payload:E.m6.INITALIZE_NODE_DATA})),this.flgInitialized=!0)}),this.wsService.clWSMessages.pipe((0,l.R)(this.unSubs[1])).subscribe(r=>{this.logger.info("Received new message from the service: "+JSON.stringify(r)),r&&r.data&&r.data[E.nM.INVOICE_PAYMENT]&&r.data[E.nM.INVOICE_PAYMENT].label&&this.store.dispatch((0,I.aL)({payload:r.data[E.nM.INVOICE_PAYMENT]}))})}initializeRemainingData(S,n){this.sessionService.setItem("clnUnlocked","true");const s={identity_pubkey:S.id,alias:S.alias,testnet:"testnet"===S.network.toLowerCase(),chains:S.chains,uris:S.uris,version:S.version,api_version:S.api_version,numberOfPendingChannels:S.num_pending_channels};this.store.dispatch((0,M.ac)({payload:E.m6.INITALIZE_NODE_DATA})),this.store.dispatch((0,M._V)({payload:s}));let f=this.location.path();f.includes("/lnd/")?f=f?.replace("/lnd/","/cln/"):f.includes("/ecl/")&&(f=f?.replace("/ecl/","/cln/")),(f.includes("/login")||f.includes("/error")||""===f||"HOME"===n||f.includes("?access-key="))&&(f="/cln/home"),this.router.navigate([f]),this.store.dispatch((0,I.WM)()),this.store.dispatch((0,I.UR)()),this.store.dispatch((0,I.lv)()),this.store.dispatch((0,I.HJ)({payload:"perkw"})),this.store.dispatch((0,I.HJ)({payload:"perkb"})),this.store.dispatch((0,I.$W)()),this.store.dispatch((0,I.cQ)())}handleErrorWithoutAlert(S,n,s,f){if(this.logger.error("ERROR IN: "+S+"\n"+JSON.stringify(f)),401===f.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,M.ts)()),this.store.dispatch((0,M.kS)()),this.store.dispatch((0,M.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,M.uO)({payload:n}));const h=this.commonService.extractErrorMessage(f,s);this.store.dispatch((0,I.Hc)({payload:{action:S,status:E.Bn.ERROR,statusCode:f.status.toString(),message:h}}))}}handleErrorWithAlert(S,n,s,f,h){if(this.logger.error(h),401===h.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,M.ts)()),this.store.dispatch((0,M.kS)()),this.store.dispatch((0,M.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,M.uO)({payload:n}));const w=this.commonService.extractErrorMessage(h);this.store.dispatch((0,M.qR)({payload:{data:{type:"ERROR",alertTitle:s,message:{code:h.status,message:w,URL:f},component:P.H}}})),this.store.dispatch((0,I.Hc)({payload:{action:S,status:E.Bn.ERROR,statusCode:h.status.toString(),message:w,URL:f}}))}}ngOnDestroy(){this.unSubs.forEach(S=>{S.next(null),S.complete()})}static#e=this.\u0275fac=function(n){return new(n||$)(B.LFG(e.eX),B.LFG(W.eN),B.LFG(j.yh),B.LFG(K.m),B.LFG(X.v),B.LFG(ie.mQ),B.LFG(ae.F0),B.LFG(fe.d),B.LFG(se.Ye))};static#t=this.\u0275prov=B.Yz7({token:$,factory:$.\u0275fac})}return $})()},3468:(ze,q,p)=>{"use strict";p.d(q,{AS:()=>A,Ao:()=>ie,Bo:()=>B,EQ:()=>se,Hz:()=>ae,OL:()=>K,PP:()=>P,Wi:()=>d,XP:()=>k,Y_:()=>fe,ZW:()=>V,ey:()=>l,gc:()=>I,hx:()=>M,jK:()=>X,lK:()=>j,lw:()=>y,xQ:()=>W,yA:()=>m,zm:()=>E});var e=p(4221);const t=(0,e.ZF)("cln"),y=(0,e.P1)(t,$=>$.nodeSettings),A=(0,e.P1)(t,$=>({pageSettings:$.pageSettings,apiCallStatus:$.apisCallStatus.FetchPageSettings})),l=(0,e.P1)(t,$=>$.information),m=((0,e.P1)(t,$=>$.apisCallStatus.FetchInfo),(0,e.P1)(t,$=>$.apisCallStatus)),P=(0,e.P1)(t,$=>({payments:$.payments,apiCallStatus:$.apisCallStatus.FetchPayments})),d=(0,e.P1)(t,$=>({peers:$.peers,apiCallStatus:$.apisCallStatus.FetchPeers})),E=(0,e.P1)(t,$=>({feeRatesPerKB:$.feeRatesPerKB,apiCallStatus:$.apisCallStatus.FetchFeeRatesperkb})),M=(0,e.P1)(t,$=>({feeRatesPerKW:$.feeRatesPerKW,apiCallStatus:$.apisCallStatus.FetchFeeRatesperkw})),I=(0,e.P1)(t,$=>({listInvoices:$.invoices,apiCallStatus:$.apisCallStatus.FetchInvoices})),k=(0,e.P1)(t,$=>({utxos:$.utxos,balance:$.balance,localRemoteBalance:$.localRemoteBalance,apiCallStatus:$.apisCallStatus.FetchUTXOBalances})),V=(0,e.P1)(t,$=>({activeChannels:$.activeChannels,pendingChannels:$.pendingChannels,inactiveChannels:$.inactiveChannels,apiCallStatus:$.apisCallStatus.FetchChannels})),B=(0,e.P1)(t,$=>({forwardingHistory:$.forwardingHistory,apiCallStatus:$.apisCallStatus.FetchForwardingHistoryS})),W=(0,e.P1)(t,$=>({failedForwardingHistory:$.failedForwardingHistory,apiCallStatus:$.apisCallStatus.FetchForwardingHistoryF})),j=(0,e.P1)(t,$=>({localFailedForwardingHistory:$.localFailedForwardingHistory,apiCallStatus:$.apisCallStatus.FetchForwardingHistoryL})),K=(0,e.P1)(t,$=>({information:$.information,nodeSettings:$.nodeSettings,balance:$.balance})),X=(0,e.P1)(t,$=>({information:$.information,balance:$.balance,numPeers:$.peers.length})),ie=(0,e.P1)(t,$=>({information:$.information,balance:$.balance})),ae=(0,e.P1)(t,$=>({information:$.information,nodeSettings:$.nodeSettings,fees:$.fees,apisCallStatus:[$.apisCallStatus.FetchInfo,$.apisCallStatus.FetchForwardingHistoryS]})),fe=(0,e.P1)(t,$=>({offers:$.offers,apiCallStatus:$.apisCallStatus.FetchOffers})),se=(0,e.P1)(t,$=>({offersBookmarks:$.offersBookmarks,apiCallStatus:$.apisCallStatus.FetchOfferBookmarks}))},6820:(ze,q,p)=>{"use strict";p.d(q,{y:()=>qe});var e=p(7700),t=p(590),y=p(8645),A=p(9773),l=p(2154),x=p(3468),m=p(9212),P=p(5980),d=p(6339),E=p(2939),M=p(4221),I=p(6814),k=p(5597),V=p(3814),B=p(7509),W=p(2296),j=p(5195),K=p(6385),X=p(5940),ie=p(2596),ae=p(2279),fe=p(7313),se=p(6985);function Me(oe,ve){if(1&oe&&m._UZ(0,"qr-code",33),2&oe){const le=m.oxw();m.Q6J("value",(null==le.invoice?null:le.invoice.bolt11)||(null==le.invoice?null:le.invoice.bolt12))("size",le.qrWidth)("errorCorrectionLevel","L")}}function $(oe,ve){1&oe&&(m.TgZ(0,"span",34),m._uU(1,"N/A"),m.qZA())}const ue=oe=>({"mr-0":oe});function S(oe,ve){if(1&oe&&m._UZ(0,"span",35),2&oe){const le=m.oxw();m.Q6J("ngClass",m.VKq(1,ue,le.screenSize===le.screenSizeEnum.XS))}}function n(oe,ve){if(1&oe&&m._UZ(0,"span",36),2&oe){const le=m.oxw();m.Q6J("ngClass",m.VKq(1,ue,le.screenSize===le.screenSizeEnum.XS))}}function s(oe,ve){if(1&oe&&m._UZ(0,"span",37),2&oe){const le=m.oxw();m.Q6J("ngClass",m.VKq(1,ue,le.screenSize===le.screenSizeEnum.XS))}}function f(oe,ve){if(1&oe&&m._UZ(0,"qr-code",33),2&oe){const le=m.oxw();m.Q6J("value",(null==le.invoice?null:le.invoice.bolt11)||(null==le.invoice?null:le.invoice.bolt12))("size",le.qrWidth)("errorCorrectionLevel","L")}}function h(oe,ve){1&oe&&(m.TgZ(0,"span",38),m._uU(1,"QR Code Not Applicable"),m.qZA())}function w(oe,ve){1&oe&&m._UZ(0,"mat-divider",39)}function D(oe,ve){if(1&oe&&(m.TgZ(0,"div",19)(1,"div",40),m._UZ(2,"fa-icon",41),m.TgZ(3,"span"),m._uU(4),m.qZA()()()),2&oe){const le=m.oxw();m.xp6(2),m.Q6J("icon",le.faExclamationTriangle),m.xp6(2),m.Oqu(null==le.invoice?null:le.invoice.warning_capacity)}}function O(oe,ve){1&oe&&(m.ynx(0),m._uU(1," (zero amount) "),m.BQk())}function v(oe,ve){1&oe&&m._UZ(0,"span",47)}const r=()=>[];function g(oe,ve){if(1&oe&&(m.TgZ(0,"div",43)(1,"div",44)(2,"span",45),m._uU(3),m.ALo(4,"number"),m.qZA(),m.YNc(5,v,1,0,"span",46),m.qZA()()),2&oe){const le=m.oxw(2);m.xp6(3),m.hij("",m.lcZ(4,2,(null==le.invoice?null:le.invoice.amount_received_msat)/1e3)," Sats"),m.xp6(2),m.Q6J("ngForOf",m.DdM(4,r).constructor(35))}}function H(oe,ve){if(1&oe&&(m.TgZ(0,"div"),m._uU(1),m.ALo(2,"number"),m.qZA()),2&oe){const le=m.oxw(2);m.xp6(1),m.hij("",m.lcZ(2,1,(null==le.invoice?null:le.invoice.amount_received_msat)/1e3)," Sats")}}function N(oe,ve){if(1&oe&&(m.ynx(0),m.YNc(1,g,6,5,"div",42)(2,H,3,3,"div",23),m.BQk()),2&oe){const le=m.oxw();m.xp6(1),m.Q6J("ngIf",le.flgInvoicePaid),m.xp6(1),m.Q6J("ngIf",!le.flgInvoicePaid)}}function ee(oe,ve){1&oe&&(m.TgZ(0,"span"),m._uU(1,"-"),m.qZA())}function De(oe,ve){1&oe&&m._UZ(0,"mat-spinner",49),2&oe&&m.Q6J("diameter",20)}function ot(oe,ve){if(1&oe&&(m.ynx(0),m.YNc(1,ee,2,0,"span",23)(2,De,1,1,"mat-spinner",48),m.BQk()),2&oe){const le=m.oxw();m.xp6(1),m.Q6J("ngIf","unpaid"!==(null==le.invoice?null:le.invoice.status)),m.xp6(1),m.Q6J("ngIf","unpaid"===(null==le.invoice?null:le.invoice.status))}}function je(oe,ve){if(1&oe&&(m.TgZ(0,"div"),m._UZ(1,"mat-divider",25),m.TgZ(2,"div",19)(3,"div",26)(4,"h4",21),m._uU(5,"Payment Hash"),m.qZA(),m.TgZ(6,"span",24),m._uU(7),m.qZA()()(),m._UZ(8,"mat-divider",25),m.TgZ(9,"div",19)(10,"div",26)(11,"h4",21),m._uU(12,"Label"),m.qZA(),m.TgZ(13,"span",24),m._uU(14),m.qZA()()(),m._UZ(15,"mat-divider",25),m.qZA()),2&oe){const le=m.oxw();m.xp6(7),m.Oqu(null==le.invoice?null:le.invoice.payment_hash),m.xp6(7),m.Oqu(null==le.invoice?null:le.invoice.label)}}function Je(oe,ve){1&oe&&(m.TgZ(0,"p"),m._uU(1,"Show Advanced"),m.qZA())}function ye(oe,ve){1&oe&&(m.TgZ(0,"p"),m._uU(1,"Hide Advanced"),m.qZA())}function me(oe,ve){if(1&oe){const le=m.EpF();m.TgZ(0,"button",50),m.NdJ("copied",function(We){m.CHM(le);const wt=m.oxw();return m.KtG(wt.onCopyPayment(We))}),m._uU(1,"Copy Invoice"),m.qZA()}if(2&oe){const le=m.oxw();m.Q6J("payload",(null==le.invoice?null:le.invoice.bolt11)||(null==le.invoice?null:le.invoice.bolt12))}}function he(oe,ve){if(1&oe){const le=m.EpF();m.TgZ(0,"button",51),m.NdJ("click",function(){m.CHM(le);const We=m.oxw();return m.KtG(We.onClose())}),m._uU(1,"OK"),m.qZA()}}const xe=oe=>({"display-none":oe}),de=oe=>({"xs-scroll-y":oe}),ge=(oe,ve)=>({"mt-2":oe,"mt-1":ve});let qe=(()=>{class oe{constructor(le,Ge,We,wt,mt,kt){this.dialogRef=le,this.data=Ge,this.logger=We,this.commonService=wt,this.snackBar=mt,this.store=kt,this.faReceipt=t.dLy,this.faExclamationTriangle=t.eHv,this.showAdvanced=!1,this.newlyAdded=!1,this.invoiceStatus="",this.qrWidth=240,this.screenSize="",this.screenSizeEnum=l.cu,this.flgInvoicePaid=!1,this.unSubs=[new y.x,new y.x,new y.x,new y.x,new y.x]}ngOnInit(){this.invoice=this.data.invoice,this.invoiceStatus=this.invoice.status,this.newlyAdded=!!this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===l.cu.XS&&(this.qrWidth=220),this.store.select(x.gc).pipe((0,A.R)(this.unSubs[1])).subscribe(le=>{const We=(le.listInvoices.invoices||[])?.find(wt=>wt.payment_hash===this.invoice.payment_hash)||null;We&&(this.invoice=We),this.invoiceStatus!==this.invoice.status&&"paid"===this.invoice.status&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info(this.invoice),this.logger.info(this.invoiceStatus),this.logger.info(We),this.logger.info(le)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyPayment(le){this.snackBar.open("Invoice copied."),this.logger.info("Copied Text: "+le)}ngOnDestroy(){this.unSubs.forEach(le=>{le.next(null),le.complete()})}static#e=this.\u0275fac=function(Ge){return new(Ge||oe)(m.Y36(e.so),m.Y36(e.WI),m.Y36(P.mQ),m.Y36(d.v),m.Y36(E.ux),m.Y36(M.yh))};static#t=this.\u0275cmp=m.Xpm({type:oe,selectors:[["rtl-cln-invoice-information"]],decls:72,vars:49,consts:[["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","35",1,"modal-qr-code-container","padding-gap-large",3,"fxLayoutAlign","ngClass"],[3,"value","size","errorCorrectionLevel",4,"ngIf"],["class","font-size-300",4,"ngIf"],["fxFlex","65"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["class","dot green ml-1","matTooltip","Paid","matTooltipPosition","right",3,"ngClass",4,"ngIf"],["class","dot yellow ml-1","matTooltip","Unpaid","matTooltipPosition","right",3,"ngClass",4,"ngIf"],["class","dot red ml-1","matTooltip","Expired","matTooltipPosition","right",3,"ngClass",4,"ngIf"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large",3,"ngClass"],["fxLayout","column"],["fxFlex","30",1,"modal-qr-code-container","padding-gap",3,"fxLayoutAlign","ngClass"],["class","font-size-120",4,"ngIf"],["class","my-1",4,"ngIf"],["fxLayout","row",4,"ngIf"],["fxLayout","row"],["fxFlex","50"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"foreground-secondary-text"],[4,"ngIf"],[1,"overflow-wrap","foreground-secondary-text"],[1,"w-100","my-1"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","end center",3,"ngClass"],["mat-button","","color","primary","type","reset","tabindex","1",1,"mr-1",3,"click"],[4,"ngIf","ngIfElse"],["hideAdvancedText",""],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied",4,"ngIf"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click",4,"ngIf"],[3,"value","size","errorCorrectionLevel"],[1,"font-size-300"],["matTooltip","Paid","matTooltipPosition","right",1,"dot","green","ml-1",3,"ngClass"],["matTooltip","Unpaid","matTooltipPosition","right",1,"dot","yellow","ml-1",3,"ngClass"],["matTooltip","Expired","matTooltipPosition","right",1,"dot","red","ml-1",3,"ngClass"],[1,"font-size-120"],[1,"my-1"],["fxFlex","100",1,"alert","alert-warn"],[1,"mr-1","alert-icon",3,"icon"],["class","invoice-animation-container",4,"ngIf"],[1,"invoice-animation-container"],[1,"invoice-animation-div"],[1,"wiggle"],["class","particles-circle",4,"ngFor","ngForOf"],[1,"particles-circle"],[3,"diameter",4,"ngIf"],[3,"diameter"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click"]],template:function(Ge,We){if(1&Ge&&(m.TgZ(0,"div",0)(1,"div",1),m.YNc(2,Me,1,3,"qr-code",2)(3,$,2,0,"span",3),m.qZA(),m.TgZ(4,"div",4)(5,"mat-card-header",5)(6,"div",6),m._UZ(7,"fa-icon",7),m.TgZ(8,"span",8),m._uU(9),m.YNc(10,S,1,3,"span",9)(11,n,1,3,"span",10)(12,s,1,3,"span",11),m.qZA()(),m.TgZ(13,"button",12),m.NdJ("click",function(){return We.onClose()}),m._uU(14,"X"),m.qZA()(),m.TgZ(15,"mat-card-content",13)(16,"div",14)(17,"div",15),m.YNc(18,f,1,3,"qr-code",2)(19,h,2,0,"span",16),m.qZA(),m.YNc(20,w,1,0,"mat-divider",17)(21,D,5,2,"div",18),m.TgZ(22,"div",19)(23,"div",20)(24,"h4",21),m._uU(25),m.qZA(),m.TgZ(26,"span",22),m._uU(27),m.ALo(28,"number"),m.YNc(29,O,2,0,"ng-container",23),m.qZA()(),m.TgZ(30,"div",20)(31,"h4",21),m._uU(32,"Amount Received"),m.qZA(),m.TgZ(33,"span",24),m.YNc(34,N,3,2,"ng-container",23)(35,ot,3,2,"ng-container",23),m.qZA()()(),m._UZ(36,"mat-divider",25),m.TgZ(37,"div",19)(38,"div",20)(39,"h4",21),m._uU(40,"Date Expiry"),m.qZA(),m.TgZ(41,"span",22),m._uU(42),m.ALo(43,"date"),m.qZA()(),m.TgZ(44,"div",20)(45,"h4",21),m._uU(46,"Date Settled"),m.qZA(),m.TgZ(47,"span",22),m._uU(48),m.ALo(49,"date"),m.qZA()()(),m._UZ(50,"mat-divider",25),m.TgZ(51,"div",19)(52,"div",26)(53,"h4",21),m._uU(54,"Description"),m.qZA(),m.TgZ(55,"span",22),m._uU(56),m.qZA()()(),m._UZ(57,"mat-divider",25),m.TgZ(58,"div",19)(59,"div",26)(60,"h4",21),m._uU(61),m.qZA(),m.TgZ(62,"span",24),m._uU(63),m.qZA()()(),m.YNc(64,je,16,2,"div",23),m.TgZ(65,"div",27)(66,"button",28),m.NdJ("click",function(){return We.onShowAdvanced()}),m.YNc(67,Je,2,0,"p",29)(68,ye,2,0,"ng-template",null,30,m.W1O),m.qZA(),m.YNc(70,me,2,1,"button",31)(71,he,2,0,"button",32),m.qZA()()()()()),2&Ge){const wt=m.MAs(69);m.xp6(1),m.Q6J("fxLayoutAlign",null!=We.invoice&&We.invoice.bolt11&&""!==(null==We.invoice?null:We.invoice.bolt11)||null!=We.invoice&&We.invoice.bolt12&&""!==(null==We.invoice?null:We.invoice.bolt12)?"center start":"center center")("ngClass",m.VKq(40,xe,We.screenSize===We.screenSizeEnum.XS||We.screenSize===We.screenSizeEnum.SM)),m.xp6(1),m.Q6J("ngIf",(null==We.invoice?null:We.invoice.bolt11)&&""!==(null==We.invoice?null:We.invoice.bolt11)||(null==We.invoice?null:We.invoice.bolt12)&&""!==(null==We.invoice?null:We.invoice.bolt12)),m.xp6(1),m.Q6J("ngIf",!(null!=We.invoice&&We.invoice.bolt11||null!=We.invoice&&We.invoice.bolt12)),m.xp6(4),m.Q6J("icon",We.faReceipt),m.xp6(2),m.hij(" ",We.screenSize===We.screenSizeEnum.XS?We.newlyAdded?"Created":"Invoice":We.newlyAdded?"Invoice Created":"Invoice Information"," "),m.xp6(1),m.Q6J("ngIf","paid"===(null==We.invoice?null:We.invoice.status)),m.xp6(1),m.Q6J("ngIf","unpaid"===(null==We.invoice?null:We.invoice.status)),m.xp6(1),m.Q6J("ngIf","expired"===(null==We.invoice?null:We.invoice.status)),m.xp6(3),m.Q6J("ngClass",m.VKq(42,de,We.screenSize===We.screenSizeEnum.XS)),m.xp6(2),m.Q6J("fxLayoutAlign",null!=We.invoice&&We.invoice.bolt11&&""!==(null==We.invoice?null:We.invoice.bolt11)||null!=We.invoice&&We.invoice.bolt12&&""!==(null==We.invoice?null:We.invoice.bolt12)?"center start":"center center")("ngClass",m.VKq(44,xe,We.screenSize!==We.screenSizeEnum.XS&&We.screenSize!==We.screenSizeEnum.SM)),m.xp6(1),m.Q6J("ngIf",(null==We.invoice?null:We.invoice.bolt11)&&""!==(null==We.invoice?null:We.invoice.bolt11)||(null==We.invoice?null:We.invoice.bolt12)&&""!==(null==We.invoice?null:We.invoice.bolt12)),m.xp6(1),m.Q6J("ngIf",!(null!=We.invoice&&We.invoice.bolt11||null!=We.invoice&&We.invoice.bolt12)),m.xp6(1),m.Q6J("ngIf",We.screenSize===We.screenSizeEnum.XS||We.screenSize===We.screenSizeEnum.SM),m.xp6(1),m.Q6J("ngIf",null==We.invoice?null:We.invoice.warning_capacity),m.xp6(4),m.Oqu(We.screenSize===We.screenSizeEnum.XS?"Amount":"Amount Requested"),m.xp6(2),m.hij(" ",m.lcZ(28,32,(null==We.invoice?null:We.invoice.amount_msat)/1e3||0)," Sats"),m.xp6(2),m.Q6J("ngIf",!(null!=We.invoice&&We.invoice.amount_msat)||"0"===(null==We.invoice?null:We.invoice.amount_msat)||"any"===(null==We.invoice?null:We.invoice.amount_msat)),m.xp6(5),m.Q6J("ngIf","paid"===(null==We.invoice?null:We.invoice.status)),m.xp6(1),m.Q6J("ngIf","paid"!==(null==We.invoice?null:We.invoice.status)),m.xp6(7),m.Oqu(m.xi3(43,34,1e3*(null==We.invoice?null:We.invoice.expires_at),"dd/MMM/y HH:mm")),m.xp6(6),m.Oqu(m.xi3(49,37,1e3*(null==We.invoice?null:We.invoice.paid_at),"dd/MMM/y HH:mm")||"-"),m.xp6(8),m.Oqu((null==We.invoice?null:We.invoice.description)||"-"),m.xp6(5),m.hij("",null!=We.invoice&&We.invoice.bolt12?"Bolt12":null!=We.invoice&&We.invoice.bolt11&&!We.invoice.label.includes("keysend-")?"Bolt11":"Keysend"," Invoice"),m.xp6(2),m.Oqu((null==We.invoice?null:We.invoice.bolt11)||(null==We.invoice?null:We.invoice.bolt12)),m.xp6(1),m.Q6J("ngIf",We.showAdvanced),m.xp6(1),m.Q6J("ngClass",m.WLB(46,ge,!We.showAdvanced,We.showAdvanced)),m.xp6(2),m.Q6J("ngIf",!We.showAdvanced)("ngIfElse",wt),m.xp6(3),m.Q6J("ngIf",(null==We.invoice?null:We.invoice.bolt11)&&""!==(null==We.invoice?null:We.invoice.bolt11)||(null==We.invoice?null:We.invoice.bolt12)&&""!==(null==We.invoice?null:We.invoice.bolt12)),m.xp6(1),m.Q6J("ngIf",!(null!=We.invoice&&We.invoice.bolt11||null!=We.invoice&&We.invoice.bolt12))}},dependencies:[I.mk,I.sg,I.O5,k.BN,V.xw,V.Wh,V.yH,B.oO,W.lW,j.dn,j.dk,K.d,X.Ou,ie.gM,ae.uU,fe.y,se.h,I.JJ,I.uU]})}return oe})()},5440:(ze,q,p)=>{"use strict";p.d(q,{k:()=>ee});var e=p(7700),t=p(590),y=p(8645),A=p(9773),l=p(2154),x=p(9212),m=p(5980),P=p(6339),d=p(2939),E=p(6046),M=p(6814),I=p(5597),k=p(3814),V=p(7509),B=p(2296),W=p(5195),j=p(6385),K=p(2279),X=p(7313),ie=p(6985);function ae(De,ot){if(1&De&&x._UZ(0,"qr-code",28),2&De){const je=x.oxw();x.Q6J("value",null==je.offer?null:je.offer.bolt12)("size",je.qrWidth)("errorCorrectionLevel","L")}}function fe(De,ot){1&De&&(x.TgZ(0,"span",29),x._uU(1,"N/A"),x.qZA())}function se(De,ot){if(1&De&&x._UZ(0,"qr-code",28),2&De){const je=x.oxw();x.Q6J("value",null==je.offer?null:je.offer.bolt12)("size",je.qrWidth)("errorCorrectionLevel","L")}}function Me(De,ot){1&De&&(x.TgZ(0,"span",30),x._uU(1,"QR Code Not Applicable"),x.qZA())}function $(De,ot){1&De&&x._UZ(0,"mat-divider",31),2&De&&x.Q6J("inset",!0)}function ue(De,ot){1&De&&x._UZ(0,"mat-divider",19)}function S(De,ot){if(1&De&&(x.TgZ(0,"div",15)(1,"div",16)(2,"h4",17),x._uU(3,"Used"),x.qZA(),x.TgZ(4,"span",18),x._uU(5),x.qZA()(),x.TgZ(6,"div",16)(7,"h4",17),x._uU(8,"Single Use"),x.qZA(),x.TgZ(9,"span",18),x._uU(10),x.qZA()()()),2&De){const je=x.oxw(2);x.xp6(5),x.hij(" ",null!=je.offer&&je.offer.used?null!=je.offer&&je.offer.used?"Yes":"No":"N/K"," "),x.xp6(5),x.hij(" ",null!=je.offer&&je.offer.single_use?null!=je.offer&&je.offer.single_use?"Yes":"No":"N/K"," ")}}function n(De,ot){1&De&&x._UZ(0,"mat-divider",19)}function s(De,ot){if(1&De&&(x.TgZ(0,"div",15)(1,"div",20)(2,"h4",17),x._uU(3,"Issuer"),x.qZA(),x.TgZ(4,"span",34),x._uU(5),x.qZA()()()),2&De){const je=x.oxw(2);x.xp6(5),x.Oqu(null==je.offerDecoded?null:je.offerDecoded.offer_issuer)}}function f(De,ot){1&De&&x._UZ(0,"mat-divider",19)}function h(De,ot){if(1&De&&(x.TgZ(0,"div",15)(1,"div",20)(2,"h4",17),x._uU(3,"Label"),x.qZA(),x.TgZ(4,"span",18),x._uU(5),x.qZA()()()),2&De){const je=x.oxw(2);x.xp6(5),x.Oqu(je.offer.label)}}function w(De,ot){if(1&De&&(x.TgZ(0,"div"),x.YNc(1,ue,1,0,"mat-divider",32)(2,S,11,2,"div",33)(3,n,1,0,"mat-divider",32)(4,s,6,1,"div",33)(5,f,1,0,"mat-divider",32)(6,h,6,1,"div",33),x._UZ(7,"mat-divider",19),x.TgZ(8,"div",15)(9,"div",20)(10,"h4",17),x._uU(11,"Offer ID"),x.qZA(),x.TgZ(12,"span",18),x._uU(13),x.qZA()()(),x._UZ(14,"mat-divider",19),x.TgZ(15,"div",15)(16,"div",20)(17,"h4",17),x._uU(18,"Offer Node ID"),x.qZA(),x.TgZ(19,"span",18),x._uU(20),x.qZA()()(),x._UZ(21,"mat-divider",19),x.qZA()),2&De){const je=x.oxw();x.xp6(1),x.Q6J("ngIf",(null==je.offer?null:je.offer.used)||(null==je.offer?null:je.offer.single_use)),x.xp6(1),x.Q6J("ngIf",(null==je.offer?null:je.offer.used)||(null==je.offer?null:je.offer.single_use)),x.xp6(1),x.Q6J("ngIf",null==je.offerDecoded?null:je.offerDecoded.issuer),x.xp6(1),x.Q6J("ngIf",null==je.offerDecoded?null:je.offerDecoded.issuer),x.xp6(1),x.Q6J("ngIf",je.offer.label),x.xp6(1),x.Q6J("ngIf",je.offer.label),x.xp6(7),x.Oqu(je.offerDecoded.offer_id),x.xp6(7),x.Oqu(null==je.offerDecoded?null:je.offerDecoded.offer_node_id)}}function D(De,ot){1&De&&(x.TgZ(0,"p"),x._uU(1,"Show Advanced"),x.qZA())}function O(De,ot){1&De&&(x.TgZ(0,"p"),x._uU(1,"Hide Advanced"),x.qZA())}function v(De,ot){if(1&De){const je=x.EpF();x.TgZ(0,"button",35),x.NdJ("copied",function(ye){x.CHM(je);const me=x.oxw();return x.KtG(me.onCopyOffer(ye))}),x._uU(1,"Copy Offer"),x.qZA()}if(2&De){const je=x.oxw();x.Q6J("payload",null==je.offer?null:je.offer.bolt12)}}function r(De,ot){if(1&De){const je=x.EpF();x.TgZ(0,"button",36),x.NdJ("click",function(){x.CHM(je);const ye=x.oxw();return x.KtG(ye.onClose())}),x._uU(1,"OK"),x.qZA()}}const g=De=>({"display-none":De}),H=De=>({"xs-scroll-y":De}),N=(De,ot)=>({"mt-2":De,"mt-1":ot});let ee=(()=>{class De{constructor(je,Je,ye,me,he,xe){this.dialogRef=je,this.data=Je,this.logger=ye,this.commonService=me,this.snackBar=he,this.dataService=xe,this.faReceipt=t.dLy,this.faExclamationTriangle=t.eHv,this.showAdvanced=!1,this.newlyAdded=!1,this.offerDecoded={},this.qrWidth=240,this.screenSize="",this.screenSizeEnum=l.cu,this.flgOfferPaid=!1,this.unSubs=[new y.x,new y.x,new y.x,new y.x,new y.x]}ngOnInit(){this.offer=this.data.offer,this.newlyAdded=!!this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===l.cu.XS&&(this.qrWidth=220),this.dataService.decodePayment(this.offer.bolt12,!0).pipe((0,A.R)(this.unSubs[1])).subscribe(je=>{this.offerDecoded=je,this.offerDecoded.offer_id&&!this.offerDecoded.offer_amount_msat&&(this.offerDecoded.offer_amount_msat=0)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyOffer(je){this.snackBar.open("Offer copied."),this.logger.info("Copied Text: "+je)}ngOnDestroy(){this.unSubs.forEach(je=>{je.next(null),je.complete()})}static#e=this.\u0275fac=function(Je){return new(Je||De)(x.Y36(e.so),x.Y36(e.WI),x.Y36(m.mQ),x.Y36(P.v),x.Y36(d.ux),x.Y36(E.D))};static#t=this.\u0275cmp=x.Xpm({type:De,selectors:[["rtl-cln-offer-information"]],decls:52,vars:33,consts:[["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","35",1,"modal-qr-code-container","padding-gap-large",3,"fxLayoutAlign","ngClass"],[3,"value","size","errorCorrectionLevel",4,"ngIf"],["class","font-size-300",4,"ngIf"],["fxFlex","65"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large",3,"ngClass"],["fxLayout","column"],["fxFlex","30",1,"modal-qr-code-container","padding-gap",3,"fxLayoutAlign","ngClass"],["class","font-size-120",4,"ngIf"],["class","my-1",3,"inset",4,"ngIf"],["fxLayout","row"],["fxFlex","50"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"foreground-secondary-text"],[1,"w-100","my-1"],["fxFlex","100"],[4,"ngIf"],["fxLayout","row","fxLayoutAlign","end center",3,"ngClass"],["mat-button","","color","primary","type","reset","tabindex","1",1,"mr-1",3,"click"],[4,"ngIf","ngIfElse"],["hideAdvancedText",""],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied",4,"ngIf"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click",4,"ngIf"],[3,"value","size","errorCorrectionLevel"],[1,"font-size-300"],[1,"font-size-120"],[1,"my-1",3,"inset"],["class","w-100 my-1",4,"ngIf"],["fxLayout","row",4,"ngIf"],[1,"overflow-wrap","foreground-secondary-text"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click"]],template:function(Je,ye){if(1&Je&&(x.TgZ(0,"div",0)(1,"div",1),x.YNc(2,ae,1,3,"qr-code",2)(3,fe,2,0,"span",3),x.qZA(),x.TgZ(4,"div",4)(5,"mat-card-header",5)(6,"div",6),x._UZ(7,"fa-icon",7),x.TgZ(8,"span",8),x._uU(9),x.qZA()(),x.TgZ(10,"button",9),x.NdJ("click",function(){return ye.onClose()}),x._uU(11,"X"),x.qZA()(),x.TgZ(12,"mat-card-content",10)(13,"div",11)(14,"div",12),x.YNc(15,se,1,3,"qr-code",2)(16,Me,2,0,"span",13),x.qZA(),x.YNc(17,$,1,1,"mat-divider",14),x.TgZ(18,"div",15)(19,"div",16)(20,"h4",17),x._uU(21,"Amount Requested (Sats)"),x.qZA(),x.TgZ(22,"span",18),x._uU(23),x.ALo(24,"number"),x.qZA()(),x.TgZ(25,"div",16)(26,"h4",17),x._uU(27,"Valid"),x.qZA(),x.TgZ(28,"span",18),x._uU(29),x.qZA()()(),x._UZ(30,"mat-divider",19),x.TgZ(31,"div",15)(32,"div",20)(33,"h4",17),x._uU(34,"Description"),x.qZA(),x.TgZ(35,"span",18),x._uU(36),x.qZA()()(),x._UZ(37,"mat-divider",19),x.TgZ(38,"div",15)(39,"div",20)(40,"h4",17),x._uU(41,"Offer"),x.qZA(),x.TgZ(42,"span",18),x._uU(43),x.qZA()()(),x.YNc(44,w,22,8,"div",21),x.TgZ(45,"div",22)(46,"button",23),x.NdJ("click",function(){return ye.onShowAdvanced()}),x.YNc(47,D,2,0,"p",24)(48,O,2,0,"ng-template",null,25,x.W1O),x.qZA(),x.YNc(50,v,2,1,"button",26)(51,r,2,0,"button",27),x.qZA()()()()()),2&Je){const me=x.MAs(49);x.xp6(1),x.Q6J("fxLayoutAlign",null!=ye.offer&&ye.offer.bolt12&&""!==(null==ye.offer?null:ye.offer.bolt12)?"center start":"center center")("ngClass",x.VKq(24,g,ye.screenSize===ye.screenSizeEnum.XS||ye.screenSize===ye.screenSizeEnum.SM)),x.xp6(1),x.Q6J("ngIf",(null==ye.offer?null:ye.offer.bolt12)&&""!==(null==ye.offer?null:ye.offer.bolt12)),x.xp6(1),x.Q6J("ngIf",!(null!=ye.offer&&ye.offer.bolt12)||""===(null==ye.offer?null:ye.offer.bolt12)),x.xp6(4),x.Q6J("icon",ye.faReceipt),x.xp6(2),x.Oqu(ye.screenSize===ye.screenSizeEnum.XS?ye.newlyAdded?"Created":"Offer":ye.newlyAdded?"Offer Created":"Offer Information"),x.xp6(3),x.Q6J("ngClass",x.VKq(26,H,ye.screenSize===ye.screenSizeEnum.XS)),x.xp6(2),x.Q6J("fxLayoutAlign",null!=ye.offer&&ye.offer.bolt12&&""!==(null==ye.offer?null:ye.offer.bolt12)?"center start":"center center")("ngClass",x.VKq(28,g,ye.screenSize!==ye.screenSizeEnum.XS&&ye.screenSize!==ye.screenSizeEnum.SM)),x.xp6(1),x.Q6J("ngIf",(null==ye.offer?null:ye.offer.bolt12)&&""!==(null==ye.offer?null:ye.offer.bolt12)),x.xp6(1),x.Q6J("ngIf",!(null!=ye.offer&&ye.offer.bolt12)||""===(null==ye.offer?null:ye.offer.bolt12)),x.xp6(1),x.Q6J("ngIf",ye.screenSize===ye.screenSizeEnum.XS||ye.screenSize===ye.screenSizeEnum.SM),x.xp6(6),x.hij(" ",null!=ye.offerDecoded&&ye.offerDecoded.offer_amount_msat&&0!==(null==ye.offerDecoded?null:ye.offerDecoded.offer_amount_msat)?x.lcZ(24,22,(null==ye.offerDecoded?null:ye.offerDecoded.offer_amount_msat)/1e3):"Open Offer"," "),x.xp6(6),x.hij(" ",null!=ye.offerDecoded&&ye.offerDecoded.valid?null!=ye.offerDecoded&&ye.offerDecoded.valid?"Yes":"No":"N/K"," "),x.xp6(7),x.hij(" ",null==ye.offerDecoded?null:ye.offerDecoded.offer_description," "),x.xp6(7),x.Oqu(null==ye.offer?null:ye.offer.bolt12),x.xp6(1),x.Q6J("ngIf",ye.showAdvanced),x.xp6(1),x.Q6J("ngClass",x.WLB(30,N,!ye.showAdvanced,ye.showAdvanced)),x.xp6(2),x.Q6J("ngIf",!ye.showAdvanced)("ngIfElse",me),x.xp6(3),x.Q6J("ngIf",(null==ye.offer?null:ye.offer.bolt12)&&""!==(null==ye.offer?null:ye.offer.bolt12)),x.xp6(1),x.Q6J("ngIf",!(null!=ye.offer&&ye.offer.bolt12)||""===(null==ye.offer?null:ye.offer.bolt12))}},dependencies:[M.mk,M.O5,I.BN,k.xw,k.Wh,k.yH,V.oO,B.lW,W.dn,W.dk,j.d,K.uU,X.y,ie.h,M.JJ]})}return De})()},2249:(ze,q,p)=>{"use strict";p.d(q,{$W:()=>ae,BL:()=>w,Bw:()=>K,CX:()=>E,DJ:()=>oe,EK:()=>S,El:()=>se,Fd:()=>A,GD:()=>ue,HG:()=>ie,HI:()=>v,Iy:()=>ot,Lf:()=>De,Nr:()=>ye,OG:()=>D,On:()=>X,QZ:()=>y,RX:()=>I,SN:()=>M,Sf:()=>de,TM:()=>N,TW:()=>B,UR:()=>k,WM:()=>Je,WO:()=>r,YP:()=>he,YX:()=>f,Z$:()=>me,Z8:()=>fe,Zr:()=>l,_E:()=>n,aL:()=>xe,cQ:()=>O,eF:()=>P,eN:()=>V,i:()=>W,iL:()=>j,iz:()=>d,kL:()=>g,mC:()=>ee,n7:()=>ge,oV:()=>H,pW:()=>h,pd:()=>m,ti:()=>ve,wD:()=>x});var e=p(4221),t=p(2154);const y=(0,e.PH)(t.lr.UPDATE_API_CALL_STATUS_ECL,(0,e.Ky)()),A=(0,e.PH)(t.lr.RESET_ECL_STORE,(0,e.Ky)()),l=(0,e.PH)(t.lr.SET_CHILD_NODE_SETTINGS_ECL,(0,e.Ky)()),x=(0,e.PH)(t.lr.FETCH_PAGE_SETTINGS_ECL),m=(0,e.PH)(t.lr.SET_PAGE_SETTINGS_ECL,(0,e.Ky)()),P=(0,e.PH)(t.lr.SAVE_PAGE_SETTINGS_ECL,(0,e.Ky)()),d=(0,e.PH)(t.lr.FETCH_INFO_ECL,(0,e.Ky)()),E=(0,e.PH)(t.lr.SET_INFO_ECL,(0,e.Ky)()),M=(0,e.PH)(t.lr.FETCH_FEES_ECL),I=(0,e.PH)(t.lr.SET_FEES_ECL,(0,e.Ky)()),k=(0,e.PH)(t.lr.FETCH_CHANNELS_ECL,(0,e.Ky)()),V=(0,e.PH)(t.lr.SET_ACTIVE_CHANNELS_ECL,(0,e.Ky)()),B=(0,e.PH)(t.lr.SET_PENDING_CHANNELS_ECL,(0,e.Ky)()),W=(0,e.PH)(t.lr.SET_INACTIVE_CHANNELS_ECL,(0,e.Ky)()),j=(0,e.PH)(t.lr.FETCH_ONCHAIN_BALANCE_ECL),K=(0,e.PH)(t.lr.SET_ONCHAIN_BALANCE_ECL,(0,e.Ky)()),X=(0,e.PH)(t.lr.SET_LIGHTNING_BALANCE_ECL,(0,e.Ky)()),ie=(0,e.PH)(t.lr.SET_CHANNELS_STATUS_ECL,(0,e.Ky)()),ae=(0,e.PH)(t.lr.FETCH_PEERS_ECL),fe=(0,e.PH)(t.lr.SET_PEERS_ECL,(0,e.Ky)()),se=(0,e.PH)(t.lr.SAVE_NEW_PEER_ECL,(0,e.Ky)()),ue=((0,e.PH)(t.lr.NEWLY_ADDED_PEER_ECL,(0,e.Ky)()),(0,e.PH)(t.lr.ADD_PEER_ECL,(0,e.Ky)()),(0,e.PH)(t.lr.DETACH_PEER_ECL,(0,e.Ky)())),S=(0,e.PH)(t.lr.REMOVE_PEER_ECL,(0,e.Ky)()),n=(0,e.PH)(t.lr.GET_NEW_ADDRESS_ECL),f=((0,e.PH)(t.lr.SET_NEW_ADDRESS_ECL,(0,e.Ky)()),(0,e.PH)(t.lr.SAVE_NEW_CHANNEL_ECL,(0,e.Ky)())),h=(0,e.PH)(t.lr.UPDATE_CHANNEL_ECL,(0,e.Ky)()),w=(0,e.PH)(t.lr.CLOSE_CHANNEL_ECL,(0,e.Ky)()),D=(0,e.PH)(t.lr.REMOVE_CHANNEL_ECL,(0,e.Ky)()),O=(0,e.PH)(t.lr.FETCH_PAYMENTS_ECL),v=(0,e.PH)(t.lr.SET_PAYMENTS_ECL,(0,e.Ky)()),r=(0,e.PH)(t.lr.GET_QUERY_ROUTES_ECL,(0,e.Ky)()),g=(0,e.PH)(t.lr.SET_QUERY_ROUTES_ECL,(0,e.Ky)()),H=(0,e.PH)(t.lr.SEND_PAYMENT_ECL,(0,e.Ky)()),N=(0,e.PH)(t.lr.SEND_PAYMENT_STATUS_ECL,(0,e.Ky)()),ee=(0,e.PH)(t.lr.FETCH_TRANSACTIONS_ECL),De=(0,e.PH)(t.lr.SET_TRANSACTIONS_ECL,(0,e.Ky)()),ot=(0,e.PH)(t.lr.SEND_ONCHAIN_FUNDS_ECL,(0,e.Ky)()),Je=((0,e.PH)(t.lr.SEND_ONCHAIN_FUNDS_RES_ECL,(0,e.Ky)()),(0,e.PH)(t.lr.FETCH_INVOICES_ECL)),ye=(0,e.PH)(t.lr.SET_INVOICES_ECL,(0,e.Ky)()),me=(0,e.PH)(t.lr.CREATE_INVOICE_ECL,(0,e.Ky)()),he=(0,e.PH)(t.lr.ADD_INVOICE_ECL,(0,e.Ky)()),xe=(0,e.PH)(t.lr.UPDATE_INVOICE_ECL,(0,e.Ky)()),de=(0,e.PH)(t.lr.PEER_LOOKUP_ECL,(0,e.Ky)()),ge=(0,e.PH)(t.lr.INVOICE_LOOKUP_ECL,(0,e.Ky)()),oe=((0,e.PH)(t.lr.SET_LOOKUP_ECL,(0,e.Ky)()),(0,e.PH)(t.lr.UPDATE_CHANNEL_STATE_ECL,(0,e.Ky)())),ve=(0,e.PH)(t.lr.UPDATE_RELAYED_PAYMENT_ECL,(0,e.Ky)())},9337:(ze,q,p)=>{"use strict";p.d(q,{o:()=>se});var e=p(5154),t=p(8645),y=p(2096),A=p(1631),l=p(9773),x=p(7398),m=p(6306),P=p(3315),d=p(2154),E=p(9103),M=p(9671),I=p(2249),k=p(9930),V=p(9212),B=p(9862),W=p(4221),j=p(5813),K=p(6339),X=p(5980),ie=p(4190),ae=p(2285),fe=p(6814);let se=(()=>{class Me{constructor(ue,S,n,s,f,h,w,D,O){this.actions=ue,this.httpClient=S,this.store=n,this.sessionService=s,this.commonService=f,this.logger=h,this.router=w,this.wsService=D,this.location=O,this.CHILD_API_URL=d.T5+"/ecl",this.flgInitialized=!1,this.flgReceivedPaymentUpdateFromWS=!1,this.latestPaymentRes="",this.rawChannelsList=[],this.unSubs=[new t.x,new t.x,new t.x],this.infoFetchECL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.FETCH_INFO_ECL),(0,A.z)(v=>(this.flgInitialized=!1,this.store.dispatch((0,E.lC)({payload:this.CHILD_API_URL})),this.store.dispatch((0,E.ac)({payload:d.m6.GET_NODE_INFO})),this.store.dispatch((0,I.QZ)({payload:{action:"FetchInfo",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.GETINFO_API).pipe((0,l.R)(this.actions.pipe((0,e.l4)(d.pg.SET_SELECTED_NODE))),(0,x.U)(r=>(this.logger.info(r),this.initializeRemainingData(r,v.payload.loadPage),this.store.dispatch((0,I.QZ)({payload:{action:"FetchInfo",status:d.Bn.COMPLETED}})),this.store.dispatch((0,E.uO)({payload:d.m6.GET_NODE_INFO})),{type:d.lr.SET_INFO_ECL,payload:r||{}})),(0,m.K)(r=>{const g=this.commonService.extractErrorCode(r),H=503===g?"Unable to Connect to Eclair Server.":this.commonService.extractErrorMessage(r);return this.router.navigate(["/error"],{state:{errorCode:g,errorMessage:H}}),this.handleErrorWithoutAlert("FetchInfo",d.m6.GET_NODE_INFO,"Fetching Node Info Failed.",{status:g,error:H}),(0,y.of)({type:d.pg.VOID})})))))),this.fetchFees=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.FETCH_FEES_ECL),(0,A.z)(()=>(this.store.dispatch((0,I.QZ)({payload:{action:"FetchFees",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.FEES_API+"/fees").pipe((0,x.U)(v=>(this.logger.info(v),this.store.dispatch((0,I.QZ)({payload:{action:"FetchFees",status:d.Bn.COMPLETED}})),{type:d.lr.SET_FEES_ECL,payload:v||{}})),(0,m.K)(v=>(this.handleErrorWithoutAlert("FetchFees",d.m6.NO_SPINNER,"Fetching Fees Failed.",v),(0,y.of)({type:d.pg.VOID})))))))),this.fetchPayments=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.FETCH_PAYMENTS_ECL),(0,A.z)(()=>(this.store.dispatch((0,I.QZ)({payload:{action:"FetchPayments",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.FEES_API+"/payments").pipe((0,x.U)(v=>(this.logger.info(v),this.store.dispatch((0,I.QZ)({payload:{action:"FetchPayments",status:d.Bn.COMPLETED}})),{type:d.lr.SET_PAYMENTS_ECL,payload:v||{}})),(0,m.K)(v=>(this.handleErrorWithoutAlert("FetchPayments",d.m6.NO_SPINNER,"Fetching Payments Failed.",v),(0,y.of)({type:d.pg.VOID})))))))),this.channelsFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.FETCH_CHANNELS_ECL),(0,A.z)(v=>(this.store.dispatch((0,I.QZ)({payload:{action:"FetchChannels",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.CHANNELS_API).pipe((0,x.U)(r=>(this.logger.info(r),this.rawChannelsList=r,this.setChannelsAndStatusAndBalances(),this.store.dispatch((0,I.QZ)({payload:{action:"FetchChannels",status:d.Bn.COMPLETED}})),v.payload&&v.payload.fetchPayments&&this.store.dispatch((0,I.cQ)()),{type:d.pg.VOID})),(0,m.K)(r=>(this.handleErrorWithoutAlert("FetchChannels",d.m6.NO_SPINNER,"Fetching Channels Failed.",r),(0,y.of)({type:d.pg.VOID})))))))),this.fetchOnchainBalance=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.FETCH_ONCHAIN_BALANCE_ECL),(0,A.z)(()=>(this.store.dispatch((0,I.QZ)({payload:{action:"FetchOnchainBalance",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.ON_CHAIN_API+"/balance"))),(0,x.U)(v=>(this.logger.info(v),this.store.dispatch((0,I.QZ)({payload:{action:"FetchOnchainBalance",status:d.Bn.COMPLETED}})),{type:d.lr.SET_ONCHAIN_BALANCE_ECL,payload:v||{}})),(0,m.K)(v=>(this.handleErrorWithoutAlert("FetchOnchainBalance",d.m6.NO_SPINNER,"Fetching Onchain Balances Failed.",v),(0,y.of)({type:d.pg.VOID}))))),this.peersFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.FETCH_PEERS_ECL),(0,A.z)(()=>(this.store.dispatch((0,I.QZ)({payload:{action:"FetchPeers",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.PEERS_API).pipe((0,x.U)(v=>(this.logger.info(v),this.store.dispatch((0,I.QZ)({payload:{action:"FetchPeers",status:d.Bn.COMPLETED}})),{type:d.lr.SET_PEERS_ECL,payload:v||[]})),(0,m.K)(v=>(this.handleErrorWithoutAlert("FetchPeers",d.m6.NO_SPINNER,"Fetching Peers Failed.",v),(0,y.of)({type:d.pg.VOID})))))))),this.getNewAddress=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.GET_NEW_ADDRESS_ECL),(0,A.z)(()=>(this.store.dispatch((0,E.ac)({payload:d.m6.GENERATE_NEW_ADDRESS})),this.httpClient.get(this.CHILD_API_URL+d.vv.ON_CHAIN_API).pipe((0,x.U)(v=>(this.logger.info(v),this.store.dispatch((0,E.uO)({payload:d.m6.GENERATE_NEW_ADDRESS})),{type:d.lr.SET_NEW_ADDRESS_ECL,payload:v})),(0,m.K)(v=>(this.handleErrorWithAlert("GetNewAddress",d.m6.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+d.vv.ON_CHAIN_API,v),(0,y.of)({type:d.pg.VOID})))))))),this.setNewAddress=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.SET_NEW_ADDRESS_ECL),(0,x.U)(v=>(this.logger.info(v.payload),v.payload))),{dispatch:!1}),this.saveNewPeer=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.SAVE_NEW_PEER_ECL),(0,A.z)(v=>(this.store.dispatch((0,E.ac)({payload:d.m6.CONNECT_PEER})),this.store.dispatch((0,I.QZ)({payload:{action:"SaveNewPeer",status:d.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+d.vv.PEERS_API+(v.payload.id.includes("@")?"?uri=":"?nodeId=")+v.payload.id,{}).pipe((0,x.U)(r=>(this.logger.info(r),this.store.dispatch((0,I.QZ)({payload:{action:"SaveNewPeer",status:d.Bn.COMPLETED}})),r=r||[],this.store.dispatch((0,E.uO)({payload:d.m6.CONNECT_PEER})),this.store.dispatch((0,I.Z8)({payload:r})),{type:d.lr.NEWLY_ADDED_PEER_ECL,payload:{peer:r.find(g=>g.nodeId===(v.payload.id.includes("@")?v.payload.id.substring(0,v.payload.id.indexOf("@")):v.payload.id))}})),(0,m.K)(r=>(this.handleErrorWithoutAlert("SaveNewPeer",d.m6.CONNECT_PEER,"Peer Connection Failed.",r),(0,y.of)({type:d.pg.VOID})))))))),this.detachPeer=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.DETACH_PEER_ECL),(0,A.z)(v=>(this.store.dispatch((0,E.ac)({payload:d.m6.DISCONNECT_PEER})),this.httpClient.delete(this.CHILD_API_URL+d.vv.PEERS_API+"/"+v.payload.nodeId).pipe((0,x.U)(r=>(this.logger.info(r),this.store.dispatch((0,E.uO)({payload:d.m6.DISCONNECT_PEER})),this.store.dispatch((0,E.jW)({payload:"Disconnecting Peer!"})),{type:d.lr.REMOVE_PEER_ECL,payload:{nodeId:v.payload.nodeId}})),(0,m.K)(r=>(this.handleErrorWithAlert("DisconnectPeer",d.m6.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+d.vv.PEERS_API+"/"+v.payload.nodeId,r),(0,y.of)({type:d.pg.VOID})))))))),this.openNewChannel=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.SAVE_NEW_CHANNEL_ECL),(0,A.z)(v=>{this.store.dispatch((0,E.ac)({payload:d.m6.OPEN_CHANNEL})),this.store.dispatch((0,I.QZ)({payload:{action:"SaveNewChannel",status:d.Bn.INITIATED}}));const r={nodeId:v.payload.nodeId,fundingSatoshis:v.payload.amount,announceChannel:!v.payload.private};return v.payload.feeRate&&v.payload.feeRate>0&&(r.fundingFeerateSatByte=v.payload.feeRate),this.httpClient.post(this.CHILD_API_URL+d.vv.CHANNELS_API,r).pipe((0,x.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.QZ)({payload:{action:"SaveNewChannel",status:d.Bn.COMPLETED}})),this.store.dispatch((0,I.$W)()),this.store.dispatch((0,I.iL)()),this.store.dispatch((0,E.uO)({payload:d.m6.OPEN_CHANNEL})),this.store.dispatch((0,E.jW)({payload:"Channel Added Successfully!"})),{type:d.lr.FETCH_CHANNELS_ECL,payload:{fetchPayments:!1}})),(0,m.K)(g=>(this.handleErrorWithoutAlert("SaveNewChannel",d.m6.OPEN_CHANNEL,"Opening Channel Failed.",g),(0,y.of)({type:d.pg.VOID}))))}))),this.updateChannel=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.UPDATE_CHANNEL_ECL),(0,A.z)(v=>{this.store.dispatch((0,E.ac)({payload:d.m6.UPDATE_CHAN_POLICY}));let r="?feeBaseMsat="+v.payload.baseFeeMsat+"&feeProportionalMillionths="+v.payload.feeRate;return r=v.payload.nodeIds?r+"&nodeIds="+v.payload.nodeIds:v.payload.nodeId?r+"&nodeId="+v.payload.nodeId:v.payload.channelIds?r+"&channelIds="+v.payload.channelIds:r+"&channelId="+v.payload.channelId,this.httpClient.post(this.CHILD_API_URL+d.vv.CHANNELS_API+"/updateRelayFee"+r,{}).pipe((0,x.U)(g=>(this.logger.info(g),this.store.dispatch((0,E.uO)({payload:d.m6.UPDATE_CHAN_POLICY})),this.store.dispatch((0,E.jW)(v.payload.nodeIds||v.payload.channelIds?{payload:"Channels Updated Successfully."}:{payload:"Channel Updated Successfully!"})),{type:d.lr.FETCH_CHANNELS_ECL,payload:{fetchPayments:!1}})),(0,m.K)(g=>(this.handleErrorWithAlert("UpdateChannels",d.m6.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+d.vv.CHANNELS_API,g),(0,y.of)({type:d.pg.VOID}))))}))),this.closeChannel=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.CLOSE_CHANNEL_ECL),(0,A.z)(v=>(this.store.dispatch((0,E.ac)({payload:v.payload.force?d.m6.FORCE_CLOSE_CHANNEL:d.m6.CLOSE_CHANNEL})),this.httpClient.delete(this.CHILD_API_URL+d.vv.CHANNELS_API+"?channelId="+v.payload.channelId+"&force="+v.payload.force).pipe((0,x.U)(r=>(this.logger.info(r),setTimeout(()=>{this.store.dispatch((0,E.uO)({payload:v.payload.force?d.m6.FORCE_CLOSE_CHANNEL:d.m6.CLOSE_CHANNEL})),this.store.dispatch((0,I.UR)({payload:{fetchPayments:!1}})),this.store.dispatch((0,E.jW)({payload:v.payload.force?"Channel Force Closed Successfully!":"Channel Closed Successfully!"}))},2e3),{type:d.pg.VOID})),(0,m.K)(r=>(this.handleErrorWithAlert("CloseChannel",v.payload.force?d.m6.FORCE_CLOSE_CHANNEL:d.m6.CLOSE_CHANNEL,"Unable to Close Channel. Try again later.",this.CHILD_API_URL+d.vv.CHANNELS_API,r),(0,y.of)({type:d.pg.VOID})))))))),this.queryRoutesFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.GET_QUERY_ROUTES_ECL),(0,A.z)(v=>this.httpClient.get(this.CHILD_API_URL+d.vv.PAYMENTS_API+"/route?nodeId="+v.payload.nodeId+"&amountMsat="+v.payload.amount).pipe((0,x.U)(r=>(this.logger.info(r),{type:d.lr.SET_QUERY_ROUTES_ECL,payload:r})),(0,m.K)(r=>(this.store.dispatch((0,I.kL)({payload:[]})),this.handleErrorWithAlert("GetQueryRoutes",d.m6.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+d.vv.PAYMENTS_API+"/route?nodeId="+v.payload.nodeId+"&amountMsat="+v.payload.amount,r),(0,y.of)({type:d.pg.VOID}))))))),this.setQueryRoutes=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.SET_QUERY_ROUTES_ECL),(0,x.U)(v=>v.payload)),{dispatch:!1}),this.sendPayment=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.SEND_PAYMENT_ECL),(0,A.z)(v=>(this.flgReceivedPaymentUpdateFromWS=!1,this.latestPaymentRes="",this.store.dispatch((0,E.ac)({payload:d.m6.SEND_PAYMENT})),this.store.dispatch((0,I.QZ)({payload:{action:"SendPayment",status:d.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+d.vv.PAYMENTS_API,v.payload).pipe((0,x.U)(r=>(this.logger.info(r),this.latestPaymentRes=r,setTimeout(()=>{this.flgReceivedPaymentUpdateFromWS||this.handleSendPaymentStatus("Payment Submitted!")},3e3),{type:d.pg.VOID})),(0,m.K)(r=>(this.logger.error("Error: "+JSON.stringify(r)),v.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",d.m6.SEND_PAYMENT,"Send Payment Failed.",r):this.handleErrorWithAlert("SendPayment",d.m6.SEND_PAYMENT,"Send Payment Failed",this.CHILD_API_URL+d.vv.PAYMENTS_API,r),(0,y.of)({type:d.pg.VOID})))))))),this.transactionsFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.FETCH_TRANSACTIONS_ECL),(0,A.z)(()=>(this.store.dispatch((0,I.QZ)({payload:{action:"FetchTransactions",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.ON_CHAIN_API+"/transactions?count=1000&skip=0"))),(0,x.U)(v=>(this.logger.info(v),this.store.dispatch((0,I.QZ)({payload:{action:"FetchTransactions",status:d.Bn.COMPLETED}})),{type:d.lr.SET_TRANSACTIONS_ECL,payload:v||[]})),(0,m.K)(v=>(this.handleErrorWithoutAlert("FetchTransactions",d.m6.NO_SPINNER,"Fetching Transactions Failed.",v),(0,y.of)({type:d.pg.VOID}))))),this.SendOnchainFunds=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.SEND_ONCHAIN_FUNDS_ECL),(0,A.z)(v=>(this.store.dispatch((0,E.ac)({payload:d.m6.SEND_FUNDS})),this.store.dispatch((0,I.QZ)({payload:{action:"SendOnchainFunds",status:d.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+d.vv.ON_CHAIN_API,v.payload).pipe((0,x.U)(r=>(this.logger.info(r),this.store.dispatch((0,I.QZ)({payload:{action:"SendOnchainFunds",status:d.Bn.COMPLETED}})),this.store.dispatch((0,E.uO)({payload:d.m6.SEND_FUNDS})),this.store.dispatch((0,I.iL)()),{type:d.lr.SEND_ONCHAIN_FUNDS_RES_ECL,payload:r})),(0,m.K)(r=>(this.handleErrorWithoutAlert("SendOnchainFunds",d.m6.SEND_FUNDS,"Sending Fund Failed.",r),(0,y.of)({type:d.pg.VOID})))))))),this.createInvoice=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.CREATE_INVOICE_ECL),(0,A.z)(v=>(this.store.dispatch((0,E.ac)({payload:d.m6.CREATE_INVOICE})),this.store.dispatch((0,I.QZ)({payload:{action:"CreateInvoice",status:d.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+d.vv.INVOICES_API,v.payload).pipe((0,x.U)(r=>(this.logger.info(r),this.store.dispatch((0,I.QZ)({payload:{action:"CreateInvoice",status:d.Bn.COMPLETED}})),this.store.dispatch((0,E.uO)({payload:d.m6.CREATE_INVOICE})),r.timestamp=Math.round((new Date).getTime()/1e3),r.expiresAt=Math.round(r.timestamp+v.payload.expireIn),r.description=v.payload.description,r.status="unpaid",setTimeout(()=>{this.store.dispatch((0,E.qR)({payload:{data:{invoice:r,newlyAdded:!0,component:M.R}}}))},200),{type:d.lr.ADD_INVOICE_ECL,payload:r})),(0,m.K)(r=>(this.handleErrorWithoutAlert("CreateInvoice",d.m6.CREATE_INVOICE,"Create Invoice Failed.",r),(0,y.of)({type:d.pg.VOID})))))))),this.invoicesFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.FETCH_INVOICES_ECL),(0,A.z)(()=>(this.store.dispatch((0,I.QZ)({payload:{action:"FetchInvoices",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.INVOICES_API).pipe((0,x.U)(v=>(this.logger.info(v),this.store.dispatch((0,I.QZ)({payload:{action:"FetchInvoices",status:d.Bn.COMPLETED}})),{type:d.lr.SET_INVOICES_ECL,payload:v})),(0,m.K)(v=>(this.handleErrorWithoutAlert("FetchInvoices",d.m6.NO_SPINNER,"Fetching Invoices Failed.",v),(0,y.of)({type:d.pg.VOID})))))))),this.peerLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.PEER_LOOKUP_ECL),(0,A.z)(v=>(this.store.dispatch((0,E.ac)({payload:d.m6.SEARCHING_NODE})),this.store.dispatch((0,I.QZ)({payload:{action:"Lookup",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.NETWORK_API+"/nodes/"+v.payload).pipe((0,x.U)(r=>(this.logger.info(r),this.store.dispatch((0,I.QZ)({payload:{action:"Lookup",status:d.Bn.COMPLETED}})),this.store.dispatch((0,E.uO)({payload:d.m6.SEARCHING_NODE})),{type:d.lr.SET_LOOKUP_ECL,payload:r})),(0,m.K)(r=>(this.handleErrorWithAlert("Lookup",d.m6.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+d.vv.NETWORK_API+"/nodes/"+v.payload,r),(0,y.of)({type:d.pg.VOID})))))))),this.invoiceLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.INVOICE_LOOKUP_ECL),(0,A.z)(v=>(this.store.dispatch((0,E.ac)({payload:d.m6.SEARCHING_INVOICE})),this.store.dispatch((0,I.QZ)({payload:{action:"Lookup",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.INVOICES_API+"/"+v.payload).pipe((0,x.U)(r=>(this.logger.info(r),this.store.dispatch((0,I.QZ)({payload:{action:"Lookup",status:d.Bn.COMPLETED}})),this.store.dispatch((0,E.uO)({payload:d.m6.SEARCHING_INVOICE})),this.store.dispatch((0,I.aL)({payload:r})),{type:d.lr.SET_LOOKUP_ECL,payload:r})),(0,m.K)(r=>(this.handleErrorWithoutAlert("Lookup",d.m6.SEARCHING_INVOICE,"Invoice Lookup Failed",r),this.store.dispatch((0,E.jW)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,y.of)({type:d.pg.VOID})))))))),this.setLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.SET_LOOKUP_ECL),(0,x.U)(v=>(this.logger.info(v.payload),v.payload))),{dispatch:!1}),this.pageSettingsFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.FETCH_PAGE_SETTINGS_ECL),(0,A.z)(()=>(this.store.dispatch((0,I.QZ)({payload:{action:"FetchPageSettings",status:d.Bn.INITIATED}})),this.httpClient.get(d.vv.PAGE_SETTINGS_API).pipe((0,x.U)(v=>(this.logger.info(v),this.store.dispatch((0,I.QZ)({payload:{action:"FetchPageSettings",status:d.Bn.COMPLETED}})),{type:d.lr.SET_PAGE_SETTINGS_ECL,payload:v||[]})),(0,m.K)(v=>(this.handleErrorWithoutAlert("FetchPageSettings",d.m6.NO_SPINNER,"Fetching Page Settings Failed.",v),(0,y.of)({type:d.pg.VOID})))))))),this.savePageSettingsCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.SAVE_PAGE_SETTINGS_ECL),(0,A.z)(v=>(this.store.dispatch((0,E.ac)({payload:d.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,I.QZ)({payload:{action:"SavePageSettings",status:d.Bn.INITIATED}})),this.httpClient.post(d.vv.PAGE_SETTINGS_API,v.payload).pipe((0,x.U)(r=>(this.logger.info(r),this.store.dispatch((0,I.QZ)({payload:{action:"SavePageSettings",status:d.Bn.COMPLETED}})),this.store.dispatch((0,E.uO)({payload:d.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,E.jW)({payload:"Page Layout Updated Successfully!"})),{type:d.lr.SET_PAGE_SETTINGS_ECL,payload:r||[]})),(0,m.K)(r=>(this.handleErrorWithAlert("SavePageSettings",d.m6.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",d.vv.PAGE_SETTINGS_API,r),(0,y.of)({type:d.pg.VOID})))))))),this.handleSendPaymentStatus=v=>{this.store.dispatch((0,I.QZ)({payload:{action:"SendPayment",status:d.Bn.COMPLETED}})),this.store.dispatch((0,E.uO)({payload:d.m6.SEND_PAYMENT})),this.store.dispatch((0,I.TM)({payload:this.latestPaymentRes})),this.store.dispatch((0,I.UR)({payload:{fetchPayments:!0}})),this.store.dispatch((0,E.jW)({payload:v}))},this.store.select(k.yA).pipe((0,l.R)(this.unSubs[0])).subscribe(v=>{v.FetchInfo.status!==d.Bn.COMPLETED&&v.FetchInfo.status!==d.Bn.ERROR||v.FetchFees.status!==d.Bn.COMPLETED&&v.FetchFees.status!==d.Bn.ERROR||v.FetchOnchainBalance.status!==d.Bn.COMPLETED&&v.FetchOnchainBalance.status!==d.Bn.ERROR||v.FetchChannels.status!==d.Bn.COMPLETED&&v.FetchChannels.status!==d.Bn.ERROR||this.flgInitialized||(this.store.dispatch((0,E.uO)({payload:d.m6.INITALIZE_NODE_DATA})),this.flgInitialized=!0)}),this.wsService.eclWSMessages.pipe((0,l.R)(this.unSubs[1])).subscribe(v=>{this.logger.info("Received new message from the service: "+JSON.stringify(v));let r="";if(v)switch(v.type){case d.$v.PAYMENT_SENT:v&&v.id&&this.latestPaymentRes===v.id&&(this.flgReceivedPaymentUpdateFromWS=!0,r="Payment Sent: "+(v.paymentHash?"with payment hash "+v.paymentHash:JSON.stringify(v)),this.handleSendPaymentStatus(r));break;case d.$v.PAYMENT_FAILED:v&&v.id&&this.latestPaymentRes===v.id&&(this.flgReceivedPaymentUpdateFromWS=!0,r="Payment Failed: "+(v.failures&&v.failures.length&&v.failures.length>0&&v.failures[0].t?v.failures[0].t:v.failures&&v.failures.length&&v.failures.length>0&&v.failures[0].e&&v.failures[0].e.failureMessage?v.failures[0].e.failureMessage:JSON.stringify(v)),this.handleSendPaymentStatus(r));break;case d.$v.PAYMENT_RECEIVED:this.store.dispatch((0,I.aL)({payload:v}));break;case d.$v.PAYMENT_RELAYED:delete v.source,v.amountIn=Math.round((v.amountIn||0)/1e3),v.amountOut=Math.round((v.amountOut||0)/1e3),v.timestamp.unix&&(v.timestamp=1e3*v.timestamp.unix),this.store.dispatch((0,I.ti)({payload:v}));break;case d.$v.CHANNEL_STATE_CHANGED:"NORMAL"===v.currentState||"CLOSED"===v.currentState?(this.rawChannelsList=this.rawChannelsList?.map(g=>(g.channelId===v.channelId&&g.nodeId===v.remoteNodeId&&(g.state=v.currentState),g)),this.setChannelsAndStatusAndBalances()):this.store.dispatch((0,I.DJ)({payload:v}));break;default:this.logger.info("Received Event from WS: "+JSON.stringify(v))}})}setChannelsAndStatusAndBalances(){let ue=0,S=0,n=0,s={localBalance:0,remoteBalance:0},f=[];const h=[],w=[],D={active:{channels:0,capacity:0},inactive:{channels:0,capacity:0},pending:{channels:0,capacity:0}};this.rawChannelsList.forEach((O,v)=>{O&&("NORMAL"===O.state?(ue=(O.toLocal||0)+(O.toRemote||0),S+=O.toLocal||0,n+=O.toRemote||0,O.balancedness=0===ue?1:+(1-Math.abs(((O.toLocal||0)-(O.toRemote||0))/ue)).toFixed(3),f.push(O),D.active.channels=D.active.channels+1,D.active.capacity=D.active.capacity+(O.toLocal||0)):O.state?.includes("WAIT")||O.state?.includes("CLOSING")||O.state?.includes("SYNCING")?(O.state=O.state?.replace(/_/g," "),h.push(O),D.pending.channels=D.pending.channels+1,D.pending.capacity=D.pending.capacity+(O.toLocal||0)):(O.state=O.state?.replace(/_/g," "),w.push(O),D.inactive.channels=D.inactive.channels+1,D.inactive.capacity=D.inactive.capacity+(O.toLocal||0)))}),s={localBalance:S,remoteBalance:n},f=this.commonService.sortDescByKey(f,"balancedness"),this.logger.info("Active Channels: "+JSON.stringify(f)),this.logger.info("Pending Channels: "+JSON.stringify(h)),this.logger.info("Inactive Channels: "+JSON.stringify(w)),this.logger.info("Lightning Balances: "+JSON.stringify(s)),this.logger.info("Channels Status: "+JSON.stringify(D)),this.logger.info("Channel, status and balances: "+JSON.stringify({active:f,pending:h,inactive:w,balances:s,status:D})),this.store.dispatch((0,I.eN)({payload:f})),this.store.dispatch((0,I.TW)({payload:h})),this.store.dispatch((0,I.i)({payload:w})),this.store.dispatch((0,I.On)({payload:s})),this.store.dispatch((0,I.HG)({payload:D}))}initializeRemainingData(ue,S){this.sessionService.setItem("eclUnlocked","true");const n={identity_pubkey:ue.nodeId,alias:ue.alias,testnet:"testnet"===ue.network,chains:ue.publicAddresses,uris:ue.uris,version:ue.version,numberOfPendingChannels:0};this.store.dispatch((0,E.ac)({payload:d.m6.INITALIZE_NODE_DATA})),this.store.dispatch((0,E._V)({payload:n}));let s=this.location.path();s.includes("/lnd/")?s=s?.replace("/lnd/","/ecl/"):s.includes("/cln/")&&(s=s?.replace("/cln/","/ecl/")),(s.includes("/login")||s.includes("/error")||""===s||"HOME"===S||s.includes("?access-key="))&&(s="/ecl/home"),this.router.navigate([s]),this.store.dispatch((0,I.WM)()),this.store.dispatch((0,I.UR)({payload:{fetchPayments:!0}})),this.store.dispatch((0,I.SN)()),this.store.dispatch((0,I.iL)()),this.store.dispatch((0,I.$W)())}handleErrorWithoutAlert(ue,S,n,s){this.logger.error("ERROR IN: "+ue+"\n"+JSON.stringify(s)),401===s.status?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,E.ts)()),this.store.dispatch((0,E.kS)()),this.store.dispatch((0,E.jW)({payload:"Authentication Failed. Redirecting to Login."}))):(this.store.dispatch((0,E.uO)({payload:S})),this.store.dispatch((0,I.QZ)({payload:{action:ue,status:d.Bn.ERROR,statusCode:s.status.toString(),message:this.commonService.extractErrorMessage(s,n)}})))}handleErrorWithAlert(ue,S,n,s,f){if(this.logger.error(f),401===f.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,E.ts)()),this.store.dispatch((0,E.kS)()),this.store.dispatch((0,E.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,E.uO)({payload:S}));const h=this.commonService.extractErrorMessage(f);this.store.dispatch((0,E.qR)({payload:{data:{type:"ERROR",alertTitle:n,message:{code:f.status,message:h,URL:s},component:P.H}}})),this.store.dispatch((0,I.QZ)({payload:{action:ue,status:d.Bn.ERROR,statusCode:f.status.toString(),message:h,URL:s}}))}}ngOnDestroy(){this.unSubs.forEach(ue=>{ue.next(null),ue.complete()})}static#e=this.\u0275fac=function(S){return new(S||Me)(V.LFG(e.eX),V.LFG(B.eN),V.LFG(W.yh),V.LFG(j.m),V.LFG(K.v),V.LFG(X.mQ),V.LFG(ie.F0),V.LFG(ae.d),V.LFG(fe.Ye))};static#t=this.\u0275prov=V.Yz7({token:Me,factory:Me.\u0275fac})}return Me})()},9930:(ze,q,p)=>{"use strict";p.d(q,{Bo:()=>j,Ef:()=>W,JG:()=>E,LR:()=>y,PP:()=>d,T$:()=>x,Xz:()=>V,dx:()=>B,kY:()=>K,nF:()=>A,yA:()=>P,yD:()=>l});var e=p(4221);const t=(0,e.ZF)("ecl"),y=(0,e.P1)(t,X=>X.nodeSettings),A=(0,e.P1)(t,X=>({pageSettings:X.pageSettings,apiCallStatus:X.apisCallStatus.FetchPageSettings})),l=(0,e.P1)(t,X=>X.information),x=(0,e.P1)(t,X=>({information:X.information,apiCallStatus:X.apisCallStatus.FetchInfo})),P=((0,e.P1)(t,X=>X.apisCallStatus.FetchInfo),(0,e.P1)(t,X=>X.apisCallStatus)),d=(0,e.P1)(t,X=>({payments:X.payments,apiCallStatus:X.apisCallStatus.FetchPayments})),E=(0,e.P1)(t,X=>({fees:X.fees,apiCallStatus:X.apisCallStatus.FetchFees})),V=((0,e.P1)(t,X=>({activeChannels:X.activeChannels,apiCallStatus:X.apisCallStatus.FetchChannels})),(0,e.P1)(t,X=>({pendingChannels:X.pendingChannels,apiCallStatus:X.apisCallStatus.FetchChannels})),(0,e.P1)(t,X=>({inactiveChannels:X.inactiveChannels,apiCallStatus:X.apisCallStatus.FetchChannels})),(0,e.P1)(t,X=>({activeChannels:X.activeChannels,pendingChannels:X.pendingChannels,inactiveChannels:X.inactiveChannels,lightningBalance:X.lightningBalance,channelsStatus:X.channelsStatus,apiCallStatus:X.apisCallStatus.FetchChannels}))),B=(0,e.P1)(t,X=>({transactions:X.transactions,apiCallStatus:X.apisCallStatus.FetchTransactions})),W=(0,e.P1)(t,X=>({invoices:X.invoices,apiCallStatus:X.apisCallStatus.FetchInvoices})),j=(0,e.P1)(t,X=>({peers:X.peers,apiCallStatus:X.apisCallStatus.FetchPeers})),K=(0,e.P1)(t,X=>({onchainBalance:X.onchainBalance,apiCallStatus:X.apisCallStatus.FetchOnchainBalance}))},9671:(ze,q,p)=>{"use strict";p.d(q,{R:()=>ye});var e=p(7700),t=p(590),y=p(8645),A=p(9773),l=p(2154),x=p(9930),m=p(9212),P=p(5980),d=p(6339),E=p(2939),M=p(4221),I=p(6814),k=p(5597),V=p(3814),B=p(7509),W=p(2296),j=p(5195),K=p(6385),X=p(5940),ie=p(2279),ae=p(7313),fe=p(6985);function se(me,he){if(1&me&&m._UZ(0,"qr-code",29),2&me){const xe=m.oxw();m.Q6J("value",null==xe.invoice?null:xe.invoice.serialized)("size",xe.qrWidth)("errorCorrectionLevel","L")}}function Me(me,he){1&me&&(m.TgZ(0,"span",30),m._uU(1,"N/A"),m.qZA())}function $(me,he){if(1&me&&m._UZ(0,"qr-code",29),2&me){const xe=m.oxw();m.Q6J("value",null==xe.invoice?null:xe.invoice.serialized)("size",xe.qrWidth)("errorCorrectionLevel","L")}}function ue(me,he){1&me&&(m.TgZ(0,"span",31),m._uU(1,"QR Code Not Applicable"),m.qZA())}function S(me,he){1&me&&m._UZ(0,"mat-divider",32),2&me&&m.Q6J("inset",!0)}function n(me,he){1&me&&(m.ynx(0),m._uU(1," (zero amount) "),m.BQk())}function s(me,he){1&me&&m._UZ(0,"span",38)}const f=()=>[];function h(me,he){if(1&me&&(m.TgZ(0,"div",34)(1,"div",35)(2,"span",36),m._uU(3),m.ALo(4,"number"),m.qZA(),m.YNc(5,s,1,0,"span",37),m.qZA()()),2&me){const xe=m.oxw(2);m.xp6(3),m.hij("",m.lcZ(4,2,null==xe.invoice?null:xe.invoice.amountSettled)," Sats"),m.xp6(2),m.Q6J("ngForOf",m.DdM(4,f).constructor(35))}}function w(me,he){if(1&me&&(m.TgZ(0,"div"),m._uU(1),m.ALo(2,"number"),m.qZA()),2&me){const xe=m.oxw(2);m.xp6(1),m.hij("",m.lcZ(2,1,null==xe.invoice?null:xe.invoice.amountSettled)," Sats")}}function D(me,he){if(1&me&&(m.ynx(0),m.YNc(1,h,6,5,"div",33)(2,w,3,3,"div",19),m.BQk()),2&me){const xe=m.oxw();m.xp6(1),m.Q6J("ngIf",xe.flgInvoicePaid),m.xp6(1),m.Q6J("ngIf",!xe.flgInvoicePaid)}}function O(me,he){1&me&&(m.TgZ(0,"span"),m._uU(1,"-"),m.qZA())}function v(me,he){1&me&&m._UZ(0,"mat-spinner",40),2&me&&m.Q6J("diameter",20)}function r(me,he){if(1&me&&(m.ynx(0),m.YNc(1,O,2,0,"span",19)(2,v,1,1,"mat-spinner",39),m.BQk()),2&me){const xe=m.oxw();m.xp6(1),m.Q6J("ngIf","unpaid"!==(null==xe.invoice?null:xe.invoice.status)||!xe.flgVersionCompatible),m.xp6(1),m.Q6J("ngIf","unpaid"===(null==xe.invoice?null:xe.invoice.status)&&xe.flgVersionCompatible)}}function g(me,he){if(1&me&&(m.TgZ(0,"div"),m._UZ(1,"mat-divider",20),m.TgZ(2,"div",15)(3,"div",41)(4,"h4",17),m._uU(5,"Date Expiry"),m.qZA(),m.TgZ(6,"span",18),m._uU(7),m.ALo(8,"date"),m.qZA()(),m.TgZ(9,"div",42)(10,"h4",17),m._uU(11,"Date Settled"),m.qZA(),m.TgZ(12,"span",21),m._uU(13),m.ALo(14,"date"),m.qZA()()(),m._UZ(15,"mat-divider",20),m.TgZ(16,"div",15)(17,"div",22)(18,"h4",17),m._uU(19,"Payment Hash"),m.qZA(),m.TgZ(20,"span",21),m._uU(21),m.qZA()()(),m._UZ(22,"mat-divider",20),m.TgZ(23,"div",15)(24,"div",22)(25,"h4",17),m._uU(26,"Node ID"),m.qZA(),m.TgZ(27,"span",21),m._uU(28),m.qZA()()(),m._UZ(29,"mat-divider",20),m.qZA()),2&me){const xe=m.oxw();m.xp6(7),m.Oqu(m.xi3(8,4,1e3*(null==xe.invoice?null:xe.invoice.expiresAt),"dd/MMM/y HH:mm")),m.xp6(6),m.Oqu(m.xi3(14,7,1e3*(null==xe.invoice?null:xe.invoice.receivedAt),"dd/MMM/y HH:mm")),m.xp6(8),m.Oqu(null==xe.invoice?null:xe.invoice.paymentHash),m.xp6(7),m.Oqu(null==xe.invoice?null:xe.invoice.nodeId)}}function H(me,he){1&me&&(m.TgZ(0,"p"),m._uU(1,"Show Advanced"),m.qZA())}function N(me,he){1&me&&(m.TgZ(0,"p"),m._uU(1,"Hide Advanced"),m.qZA())}function ee(me,he){if(1&me){const xe=m.EpF();m.TgZ(0,"button",43),m.NdJ("copied",function(ge){m.CHM(xe);const qe=m.oxw();return m.KtG(qe.onCopyPayment(ge))}),m._uU(1,"Copy Invoice"),m.qZA()}if(2&me){const xe=m.oxw();m.Q6J("payload",null==xe.invoice?null:xe.invoice.serialized)}}function De(me,he){if(1&me){const xe=m.EpF();m.TgZ(0,"button",44),m.NdJ("click",function(){m.CHM(xe);const ge=m.oxw();return m.KtG(ge.onClose())}),m._uU(1,"OK"),m.qZA()}}const ot=me=>({"display-none":me}),je=me=>({"xs-scroll-y":me}),Je=(me,he)=>({"mt-2":me,"mt-1":he});let ye=(()=>{class me{constructor(xe,de,ge,qe,oe,ve){this.dialogRef=xe,this.data=de,this.logger=ge,this.commonService=qe,this.snackBar=oe,this.store=ve,this.faReceipt=t.dLy,this.faExclamationTriangle=t.eHv,this.showAdvanced=!1,this.newlyAdded=!1,this.qrWidth=240,this.screenSize="",this.screenSizeEnum=l.cu,this.flgInvoicePaid=!1,this.flgVersionCompatible=!0,this.unSubs=[new y.x,new y.x,new y.x,new y.x,new y.x]}ngOnInit(){this.invoice=this.data.invoice,this.newlyAdded=!!this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===l.cu.XS&&(this.qrWidth=220),this.store.select(x.yD).pipe((0,A.R)(this.unSubs[0])).subscribe(xe=>{this.flgVersionCompatible=this.commonService.isVersionCompatible(xe.version,"0.5.0")}),this.store.select(x.Ef).pipe((0,A.R)(this.unSubs[1])).subscribe(xe=>{const de=this.invoice.status,qe=(xe.invoices&&xe.invoices.length>0?xe.invoices:[])?.find(oe=>oe.paymentHash===this.invoice.paymentHash)||null;qe&&(this.invoice=qe),de!==this.invoice.status&&"received"===this.invoice.status&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info(xe)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyPayment(xe){this.snackBar.open("Invoice copied."),this.logger.info("Copied Text: "+xe)}ngOnDestroy(){this.unSubs.forEach(xe=>{xe.next(null),xe.complete()})}static#e=this.\u0275fac=function(de){return new(de||me)(m.Y36(e.so),m.Y36(e.WI),m.Y36(P.mQ),m.Y36(d.v),m.Y36(E.ux),m.Y36(M.yh))};static#t=this.\u0275cmp=m.Xpm({type:me,selectors:[["rtl-ecl-invoice-information"]],decls:68,vars:42,consts:[["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","35",1,"modal-qr-code-container","padding-gap-large",3,"fxLayoutAlign","ngClass"],[3,"value","size","errorCorrectionLevel",4,"ngIf"],["class","font-size-300",4,"ngIf"],["fxFlex","65"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large",3,"ngClass"],["fxLayout","column"],["fxFlex","30",1,"modal-qr-code-container","padding-gap",3,"fxLayoutAlign","ngClass"],["class","font-size-120",4,"ngIf"],["class","my-1",3,"inset",4,"ngIf"],["fxLayout","row"],["fxFlex","50"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"foreground-secondary-text"],[4,"ngIf"],[1,"w-100","my-1"],[1,"overflow-wrap","foreground-secondary-text"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","end center",3,"ngClass"],["mat-button","","color","primary","type","reset","tabindex","1",1,"mr-1",3,"click"],[4,"ngIf","ngIfElse"],["hideAdvancedText",""],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied",4,"ngIf"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click",4,"ngIf"],[3,"value","size","errorCorrectionLevel"],[1,"font-size-300"],[1,"font-size-120"],[1,"my-1",3,"inset"],["class","invoice-animation-container",4,"ngIf"],[1,"invoice-animation-container"],[1,"invoice-animation-div"],[1,"wiggle"],["class","particles-circle",4,"ngFor","ngForOf"],[1,"particles-circle"],[3,"diameter",4,"ngIf"],[3,"diameter"],["fxFlex","40"],["fxFlex","60"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click"]],template:function(de,ge){if(1&de&&(m.TgZ(0,"div",0)(1,"div",1),m.YNc(2,se,1,3,"qr-code",2)(3,Me,2,0,"span",3),m.qZA(),m.TgZ(4,"div",4)(5,"mat-card-header",5)(6,"div",6),m._UZ(7,"fa-icon",7),m.TgZ(8,"span",8),m._uU(9),m.qZA()(),m.TgZ(10,"button",9),m.NdJ("click",function(){return ge.onClose()}),m._uU(11,"X"),m.qZA()(),m.TgZ(12,"mat-card-content",10)(13,"div",11)(14,"div",12),m.YNc(15,$,1,3,"qr-code",2)(16,ue,2,0,"span",13),m.qZA(),m.YNc(17,S,1,1,"mat-divider",14),m.TgZ(18,"div",15)(19,"div",16)(20,"h4",17),m._uU(21,"Amount Requested"),m.qZA(),m.TgZ(22,"span",18),m._uU(23),m.ALo(24,"number"),m.YNc(25,n,2,0,"ng-container",19),m.qZA()(),m.TgZ(26,"div",16)(27,"h4",17),m._uU(28,"Amount Settled"),m.qZA(),m.TgZ(29,"span",18),m.YNc(30,D,3,2,"ng-container",19)(31,r,3,2,"ng-container",19),m.qZA()()(),m._UZ(32,"mat-divider",20),m.TgZ(33,"div",15)(34,"div",16)(35,"h4",17),m._uU(36,"Date Created"),m.qZA(),m.TgZ(37,"span",21),m._uU(38),m.ALo(39,"date"),m.qZA()(),m.TgZ(40,"div",16)(41,"h4",17),m._uU(42,"Status"),m.qZA(),m.TgZ(43,"span",21),m._uU(44),m.ALo(45,"titlecase"),m.qZA()()(),m._UZ(46,"mat-divider",20),m.TgZ(47,"div",15)(48,"div",22)(49,"h4",17),m._uU(50,"Description"),m.qZA(),m.TgZ(51,"span",18),m._uU(52),m.qZA()()(),m._UZ(53,"mat-divider",20),m.TgZ(54,"div",15)(55,"div",22)(56,"h4",17),m._uU(57,"Invoice"),m.qZA(),m.TgZ(58,"span",21),m._uU(59),m.qZA()()(),m.YNc(60,g,30,10,"div",19),m.TgZ(61,"div",23)(62,"button",24),m.NdJ("click",function(){return ge.onShowAdvanced()}),m.YNc(63,H,2,0,"p",25)(64,N,2,0,"ng-template",null,26,m.W1O),m.qZA(),m.YNc(66,ee,2,1,"button",27)(67,De,2,0,"button",28),m.qZA()()()()()),2&de){const qe=m.MAs(65);m.xp6(1),m.Q6J("fxLayoutAlign",null!=ge.invoice&&ge.invoice.serialized&&""!==(null==ge.invoice?null:ge.invoice.serialized)?"center start":"center center")("ngClass",m.VKq(33,ot,ge.screenSize===ge.screenSizeEnum.XS||ge.screenSize===ge.screenSizeEnum.SM)),m.xp6(1),m.Q6J("ngIf",(null==ge.invoice?null:ge.invoice.serialized)&&""!==(null==ge.invoice?null:ge.invoice.serialized)),m.xp6(1),m.Q6J("ngIf",!(null!=ge.invoice&&ge.invoice.serialized)||""===(null==ge.invoice?null:ge.invoice.serialized)),m.xp6(4),m.Q6J("icon",ge.faReceipt),m.xp6(2),m.Oqu(ge.screenSize===ge.screenSizeEnum.XS?ge.newlyAdded?"Created":"Invoice":ge.newlyAdded?"Invoice Created":"Invoice Information"),m.xp6(3),m.Q6J("ngClass",m.VKq(35,je,ge.screenSize===ge.screenSizeEnum.XS)),m.xp6(2),m.Q6J("fxLayoutAlign",null!=ge.invoice&&ge.invoice.serialized&&""!==(null==ge.invoice?null:ge.invoice.serialized)?"center start":"center center")("ngClass",m.VKq(37,ot,ge.screenSize!==ge.screenSizeEnum.XS&&ge.screenSize!==ge.screenSizeEnum.SM)),m.xp6(1),m.Q6J("ngIf",(null==ge.invoice?null:ge.invoice.serialized)&&""!==(null==ge.invoice?null:ge.invoice.serialized)),m.xp6(1),m.Q6J("ngIf",!(null!=ge.invoice&&ge.invoice.serialized)||""===(null==ge.invoice?null:ge.invoice.serialized)),m.xp6(1),m.Q6J("ngIf",ge.screenSize===ge.screenSizeEnum.XS||ge.screenSize===ge.screenSizeEnum.SM),m.xp6(6),m.hij("",m.lcZ(24,26,(null==ge.invoice?null:ge.invoice.amount)||0)," Sats"),m.xp6(2),m.Q6J("ngIf",!(null!=ge.invoice&&ge.invoice.amount)||"0"===(null==ge.invoice?null:ge.invoice.amount)),m.xp6(5),m.Q6J("ngIf",null==ge.invoice?null:ge.invoice.amountSettled),m.xp6(1),m.Q6J("ngIf",!(null!=ge.invoice&&ge.invoice.amountSettled)),m.xp6(7),m.Oqu(m.xi3(39,28,1e3*(null==ge.invoice?null:ge.invoice.timestamp),"dd/MMM/y HH:mm")),m.xp6(6),m.Oqu(m.lcZ(45,31,null==ge.invoice?null:ge.invoice.status)),m.xp6(8),m.Oqu((null==ge.invoice?null:ge.invoice.description)||"-"),m.xp6(7),m.Oqu((null==ge.invoice?null:ge.invoice.serialized)||"N/A"),m.xp6(1),m.Q6J("ngIf",ge.showAdvanced),m.xp6(1),m.Q6J("ngClass",m.WLB(39,Je,!ge.showAdvanced,ge.showAdvanced)),m.xp6(2),m.Q6J("ngIf",!ge.showAdvanced)("ngIfElse",qe),m.xp6(3),m.Q6J("ngIf",(null==ge.invoice?null:ge.invoice.serialized)&&""!==(null==ge.invoice?null:ge.invoice.serialized)),m.xp6(1),m.Q6J("ngIf",!(null!=ge.invoice&&ge.invoice.serialized)||""===(null==ge.invoice?null:ge.invoice.serialized))}},dependencies:[I.mk,I.sg,I.O5,k.BN,V.xw,V.Wh,V.yH,B.oO,W.lW,j.dn,j.dk,K.d,X.Ou,ie.uU,ae.y,fe.h,I.JJ,I.rS,I.uU]})}return me})()},9191:(ze,q,p)=>{"use strict";p.d(q,{$A:()=>ct,$W:()=>M,BL:()=>O,B_:()=>De,Bl:()=>fe,CX:()=>E,Cp:()=>g,EK:()=>W,El:()=>k,Fr:()=>yt,HI:()=>ve,JT:()=>l,Jl:()=>se,Jo:()=>Ot,Lf:()=>de,Ll:()=>A,Ly:()=>ge,Nr:()=>ye,OG:()=>v,PC:()=>y,QJ:()=>Qe,RX:()=>ae,Rd:()=>j,Rv:()=>Me,SN:()=>ie,Sf:()=>Et,TW:()=>s,UH:()=>qe,UR:()=>ue,Vv:()=>r,WM:()=>Je,WO:()=>zt,Wi:()=>Ae,YP:()=>X,YX:()=>D,Z7:()=>n,Z8:()=>I,Zh:()=>f,_E:()=>mt,_L:()=>h,aL:()=>me,as:()=>S,cQ:()=>oe,dV:()=>We,eF:()=>P,fu:()=>it,kL:()=>xt,ks:()=>$,mC:()=>xe,n7:()=>te,oV:()=>le,pW:()=>w,pd:()=>m,qY:()=>he,sQ:()=>d,tb:()=>ee,u0:()=>Ze,vV:()=>ot,wD:()=>x,xG:()=>Ke,y2:()=>ke,yZ:()=>Pe,z:()=>B});var e=p(4221),t=p(2154);const y=(0,e.PH)(t.uR.UPDATE_API_CALL_STATUS_LND,(0,e.Ky)()),A=(0,e.PH)(t.uR.RESET_LND_STORE,(0,e.Ky)()),l=(0,e.PH)(t.uR.SET_CHILD_NODE_SETTINGS_LND,(0,e.Ky)()),x=(0,e.PH)(t.uR.FETCH_PAGE_SETTINGS_LND),m=(0,e.PH)(t.uR.SET_PAGE_SETTINGS_LND,(0,e.Ky)()),P=(0,e.PH)(t.uR.SAVE_PAGE_SETTINGS_LND,(0,e.Ky)()),d=(0,e.PH)(t.uR.FETCH_INFO_LND,(0,e.Ky)()),E=(0,e.PH)(t.uR.SET_INFO_LND,(0,e.Ky)()),M=(0,e.PH)(t.uR.FETCH_PEERS_LND),I=(0,e.PH)(t.uR.SET_PEERS_LND,(0,e.Ky)()),k=(0,e.PH)(t.uR.SAVE_NEW_PEER_LND,(0,e.Ky)()),B=((0,e.PH)(t.uR.NEWLY_ADDED_PEER_LND,(0,e.Ky)()),(0,e.PH)(t.uR.DETACH_PEER_LND,(0,e.Ky)())),W=(0,e.PH)(t.uR.REMOVE_PEER_LND,(0,e.Ky)()),j=(0,e.PH)(t.uR.SAVE_NEW_INVOICE_LND,(0,e.Ky)()),X=((0,e.PH)(t.uR.NEWLY_SAVED_INVOICE_LND,(0,e.Ky)()),(0,e.PH)(t.uR.ADD_INVOICE_LND,(0,e.Ky)())),ie=(0,e.PH)(t.uR.FETCH_FEES_LND),ae=(0,e.PH)(t.uR.SET_FEES_LND,(0,e.Ky)()),fe=(0,e.PH)(t.uR.FETCH_BLOCKCHAIN_BALANCE_LND),se=(0,e.PH)(t.uR.SET_BLOCKCHAIN_BALANCE_LND,(0,e.Ky)()),Me=(0,e.PH)(t.uR.FETCH_NETWORK_LND),$=(0,e.PH)(t.uR.SET_NETWORK_LND,(0,e.Ky)()),ue=(0,e.PH)(t.uR.FETCH_CHANNELS_LND),S=(0,e.PH)(t.uR.SET_CHANNELS_LND,(0,e.Ky)()),n=(0,e.PH)(t.uR.FETCH_PENDING_CHANNELS_LND),s=(0,e.PH)(t.uR.SET_PENDING_CHANNELS_LND,(0,e.Ky)()),f=(0,e.PH)(t.uR.FETCH_CLOSED_CHANNELS_LND),h=(0,e.PH)(t.uR.SET_CLOSED_CHANNELS_LND,(0,e.Ky)()),w=(0,e.PH)(t.uR.UPDATE_CHANNEL_LND,(0,e.Ky)()),D=(0,e.PH)(t.uR.SAVE_NEW_CHANNEL_LND,(0,e.Ky)()),O=(0,e.PH)(t.uR.CLOSE_CHANNEL_LND,(0,e.Ky)()),v=(0,e.PH)(t.uR.REMOVE_CHANNEL_LND,(0,e.Ky)()),r=(0,e.PH)(t.uR.BACKUP_CHANNELS_LND,(0,e.Ky)()),g=(0,e.PH)(t.uR.VERIFY_CHANNEL_LND,(0,e.Ky)()),ee=((0,e.PH)(t.uR.BACKUP_CHANNELS_RES_LND,(0,e.Ky)()),(0,e.PH)(t.uR.VERIFY_CHANNEL_RES_LND,(0,e.Ky)()),(0,e.PH)(t.uR.RESTORE_CHANNELS_LIST_LND)),De=(0,e.PH)(t.uR.SET_RESTORE_CHANNELS_LIST_LND,(0,e.Ky)()),ot=(0,e.PH)(t.uR.RESTORE_CHANNELS_LND,(0,e.Ky)()),Je=((0,e.PH)(t.uR.RESTORE_CHANNELS_RES_LND,(0,e.Ky)()),(0,e.PH)(t.uR.FETCH_INVOICES_LND,(0,e.Ky)())),ye=(0,e.PH)(t.uR.SET_INVOICES_LND,(0,e.Ky)()),me=(0,e.PH)(t.uR.UPDATE_INVOICE_LND,(0,e.Ky)()),he=(0,e.PH)(t.uR.UPDATE_PAYMENT_LND,(0,e.Ky)()),xe=(0,e.PH)(t.uR.FETCH_TRANSACTIONS_LND),de=(0,e.PH)(t.uR.SET_TRANSACTIONS_LND,(0,e.Ky)()),ge=(0,e.PH)(t.uR.FETCH_UTXOS_LND),qe=(0,e.PH)(t.uR.SET_UTXOS_LND,(0,e.Ky)()),oe=(0,e.PH)(t.uR.FETCH_PAYMENTS_LND,(0,e.Ky)()),ve=(0,e.PH)(t.uR.SET_PAYMENTS_LND,(0,e.Ky)()),le=(0,e.PH)(t.uR.SEND_PAYMENT_LND,(0,e.Ky)()),We=((0,e.PH)(t.uR.SEND_PAYMENT_STATUS_LND,(0,e.Ky)()),(0,e.PH)(t.uR.FETCH_GRAPH_NODE_LND,(0,e.Ky)())),mt=((0,e.PH)(t.uR.SET_GRAPH_NODE_LND,(0,e.Ky)()),(0,e.PH)(t.uR.GET_NEW_ADDRESS_LND,(0,e.Ky)())),Ae=((0,e.PH)(t.uR.SET_NEW_ADDRESS_LND,(0,e.Ky)()),(0,e.PH)(t.uR.SET_CHANNEL_TRANSACTION_LND,(0,e.Ky)())),it=((0,e.PH)(t.uR.SET_CHANNEL_TRANSACTION_RES_LND,(0,e.Ky)()),(0,e.PH)(t.uR.GEN_SEED_LND,(0,e.Ky)())),ke=((0,e.PH)(t.uR.GEN_SEED_RESPONSE_LND,(0,e.Ky)()),(0,e.PH)(t.uR.INIT_WALLET_LND,(0,e.Ky)())),Ke=((0,e.PH)(t.uR.INIT_WALLET_RESPONSE_LND,(0,e.Ky)()),(0,e.PH)(t.uR.UNLOCK_WALLET_LND,(0,e.Ky)())),Et=(0,e.PH)(t.uR.PEER_LOOKUP_LND,(0,e.Ky)()),ct=(0,e.PH)(t.uR.CHANNEL_LOOKUP_LND,(0,e.Ky)()),te=(0,e.PH)(t.uR.INVOICE_LOOKUP_LND,(0,e.Ky)()),Pe=(0,e.PH)(t.uR.PAYMENT_LOOKUP_LND,(0,e.Ky)()),Ze=((0,e.PH)(t.uR.SET_LOOKUP_LND,(0,e.Ky)()),(0,e.PH)(t.uR.GET_FORWARDING_HISTORY_LND,(0,e.Ky)())),Qe=(0,e.PH)(t.uR.SET_FORWARDING_HISTORY_LND,(0,e.Ky)()),zt=(0,e.PH)(t.uR.GET_QUERY_ROUTES_LND,(0,e.Ky)()),xt=(0,e.PH)(t.uR.SET_QUERY_ROUTES_LND,(0,e.Ky)()),Ot=(0,e.PH)(t.uR.GET_ALL_LIGHTNING_TRANSATIONS_LND),yt=(0,e.PH)(t.uR.SET_ALL_LIGHTNING_TRANSATIONS_LND,(0,e.Ky)())},168:(ze,q,p)=>{"use strict";p.d(q,{l:()=>$});var e=p(5154),t=p(8645),y=p(2096),A=p(1631),l=p(9773),x=p(7398),m=p(6306),P=p(2460),d=p(5456),E=p(3315),M=p(2154),I=p(9103),k=p(9191),V=p(7321),B=p(9212),W=p(9862),j=p(4221),K=p(5980),X=p(6339),ie=p(5813),ae=p(7700),fe=p(4190),se=p(2285),Me=p(6814);let $=(()=>{class ue{constructor(n,s,f,h,w,D,O,v,r,g){this.actions=n,this.httpClient=s,this.store=f,this.logger=h,this.commonService=w,this.sessionService=D,this.dialog=O,this.router=v,this.wsService=r,this.location=g,this.CHILD_API_URL=M.T5+"/lnd",this.invoicesPageSettings=M.gK.find(H=>"transactions"===H.pageId)?.tables.find(H=>"invoices"===H.tableId),this.paymentsPageSettings=M.gK.find(H=>"transactions"===H.pageId)?.tables.find(H=>"payments"===H.tableId),this.flgInitialized=!1,this.unSubs=[new t.x,new t.x],this.infoFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.FETCH_INFO_LND),(0,A.z)(H=>(this.flgInitialized=!1,this.store.dispatch((0,I.lC)({payload:this.CHILD_API_URL})),this.store.dispatch((0,I.ts)()),this.store.dispatch((0,I.ac)({payload:M.m6.GET_NODE_INFO})),this.store.dispatch((0,k.PC)({payload:{action:"FetchInfo",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.GETINFO_API).pipe((0,l.R)(this.actions.pipe((0,e.l4)(M.pg.SET_SELECTED_NODE))),(0,x.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,k.PC)({payload:{action:"FetchInfo",status:M.Bn.COMPLETED}})),this.store.dispatch((0,I.ts)()),this.store.dispatch((0,I.qR)({payload:{data:{type:M.n_.ERROR,alertTitle:"Shitcoin Found",titleMessage:"Sorry Not Sorry, RTL is Bitcoin Only!"}}})),{type:M.pg.LOGOUT}):N.identity_pubkey?(N.lnImplementation="LND",this.initializeRemainingData(N,H.payload.loadPage),this.store.dispatch((0,k.PC)({payload:{action:"FetchInfo",status:M.Bn.COMPLETED}})),this.store.dispatch((0,I.ts)()),{type:M.uR.SET_INFO_LND,payload:N||{}}):(this.store.dispatch((0,k.PC)({payload:{action:"FetchInfo",status:M.Bn.COMPLETED}})),this.store.dispatch((0,I.ts)()),this.sessionService.removeItem("lndUnlocked"),this.logger.info("Redirecting to Unlock"),this.router.navigate(["/lnd/wallet"]),{type:M.uR.SET_INFO_LND,payload:{}}))),(0,m.K)(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",M.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,k.sQ)({payload:{loadPage:"HOME"}}))},2e3);else{const ee=this.commonService.extractErrorCode(N),De=503===ee?"Unable to Connect to LND Server.":this.commonService.extractErrorMessage(N);this.router.navigate(["/error"],{state:{errorCode:ee,errorMessage:De}}),this.handleErrorWithoutAlert("FetchInfo",M.m6.GET_NODE_INFO,"Fetching Node Info Failed.",{status:ee,error:De})}return(0,y.of)({type:M.pg.VOID})})))))),this.peersFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.FETCH_PEERS_LND),(0,A.z)(()=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchPeers",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.PEERS_API).pipe((0,x.U)(H=>(this.logger.info(H),this.store.dispatch((0,k.PC)({payload:{action:"FetchPeers",status:M.Bn.COMPLETED}})),{type:M.uR.SET_PEERS_LND,payload:H||[]})),(0,m.K)(H=>(this.handleErrorWithoutAlert("FetchPeers",M.m6.NO_SPINNER,"Fetching Peers Failed.",H),(0,y.of)({type:M.pg.VOID})))))))),this.saveNewPeer=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.SAVE_NEW_PEER_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:M.m6.CONNECT_PEER})),this.store.dispatch((0,k.PC)({payload:{action:"SaveNewPeer",status:M.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+M.vv.PEERS_API,{pubkey:H.payload.pubkey,host:H.payload.host,perm:H.payload.perm}).pipe((0,x.U)(N=>(this.logger.info(N),this.store.dispatch((0,k.PC)({payload:{action:"SaveNewPeer",status:M.Bn.COMPLETED}})),this.store.dispatch((0,I.uO)({payload:M.m6.CONNECT_PEER})),this.store.dispatch((0,k.Z8)({payload:N||[]})),{type:M.uR.NEWLY_ADDED_PEER_LND,payload:{peer:N[0]}})),(0,m.K)(N=>(this.handleErrorWithoutAlert("SaveNewPeer",M.m6.CONNECT_PEER,"Peer Connection Failed.",N),(0,y.of)({type:M.pg.VOID})))))))),this.detachPeer=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.DETACH_PEER_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:M.m6.DISCONNECT_PEER})),this.httpClient.delete(this.CHILD_API_URL+M.vv.PEERS_API+"/"+H.payload.pubkey).pipe((0,x.U)(N=>(this.logger.info(N),this.store.dispatch((0,I.uO)({payload:M.m6.DISCONNECT_PEER})),this.store.dispatch((0,I.jW)({payload:"Peer Disconnected Successfully."})),{type:M.uR.REMOVE_PEER_LND,payload:{pubkey:H.payload.pubkey}})),(0,m.K)(N=>(this.handleErrorWithAlert("DetachPeer",M.m6.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+M.vv.PEERS_API+"/"+H.payload.pubkey,N),(0,y.of)({type:M.pg.VOID})))))))),this.saveNewInvoice=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.SAVE_NEW_INVOICE_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:H.payload.uiMessage})),this.store.dispatch((0,k.PC)({payload:{action:"SaveNewInvoice",status:M.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+M.vv.INVOICES_API,{memo:H.payload.memo,value:H.payload.value,private:H.payload.private,expiry:H.payload.expiry,is_amp:H.payload.is_amp}).pipe((0,x.U)(N=>(this.logger.info(N),this.store.dispatch((0,k.PC)({payload:{action:"SaveNewInvoice",status:M.Bn.COMPLETED}})),this.store.dispatch((0,k.WM)({payload:{num_max_invoices:H.payload.pageSize,reversed:!0}})),H.payload.openModal?(N.memo=H.payload.memo,N.value=H.payload.value,N.expiry=H.payload.expiry,N.private=H.payload.private,N.is_amp=H.payload.is_amp,N.cltv_expiry="144",N.creation_date=Math.round((new Date).getTime()/1e3).toString(),setTimeout(()=>{this.store.dispatch((0,I.qR)({payload:{data:{invoice:N,newlyAdded:!0,component:d.v}}}))},200),{type:M.pg.CLOSE_SPINNER,payload:H.payload.uiMessage}):{type:M.uR.NEWLY_SAVED_INVOICE_LND,payload:{paymentRequest:N.payment_request}})),(0,m.K)(N=>(this.handleErrorWithoutAlert("SaveNewInvoice",H.payload.uiMessage,"Add Invoice Failed.",N),(0,y.of)({type:M.pg.VOID})))))))),this.openNewChannel=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.SAVE_NEW_CHANNEL_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:M.m6.OPEN_CHANNEL})),this.store.dispatch((0,k.PC)({payload:{action:"SaveNewChannel",status:M.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+M.vv.CHANNELS_API,{node_pubkey:H.payload.selectedPeerPubkey,local_funding_amount:H.payload.fundingAmount,private:H.payload.private,trans_type:H.payload.transType,trans_type_value:H.payload.transTypeValue,spend_unconfirmed:H.payload.spendUnconfirmed,commitment_type:H.payload.commitmentType}).pipe((0,x.U)(N=>(this.logger.info(N),this.store.dispatch((0,k.PC)({payload:{action:"SaveNewChannel",status:M.Bn.COMPLETED}})),this.store.dispatch((0,I.uO)({payload:M.m6.OPEN_CHANNEL})),this.store.dispatch((0,k.Bl)()),this.store.dispatch((0,k.UR)()),this.store.dispatch((0,k.Vv)({payload:{uiMessage:M.m6.NO_SPINNER,channelPoint:"ALL",showMessage:"Channel Added Successfully!"}})),{type:M.uR.FETCH_PENDING_CHANNELS_LND})),(0,m.K)(N=>(this.handleErrorWithoutAlert("SaveNewChannel",M.m6.OPEN_CHANNEL,"Opening Channel Failed.",N),(0,y.of)({type:M.pg.VOID})))))))),this.updateChannel=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.UPDATE_CHANNEL_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:M.m6.UPDATE_CHAN_POLICY})),this.httpClient.post(this.CHILD_API_URL+M.vv.CHANNELS_API+"/chanPolicy",{baseFeeMsat:H.payload.baseFeeMsat,feeRate:H.payload.feeRate,timeLockDelta:H.payload.timeLockDelta,max_htlc_msat:H.payload.maxHtlcMsat,min_htlc_msat:H.payload.minHtlcMsat,chanPoint:H.payload.chanPoint}).pipe((0,x.U)(N=>(this.logger.info(N),this.store.dispatch((0,I.uO)({payload:M.m6.UPDATE_CHAN_POLICY})),this.store.dispatch((0,I.jW)("all"===H.payload.chanPoint?{payload:"All Channels Updated Successfully."}:{payload:"Channel Updated Successfully!"})),{type:M.uR.FETCH_CHANNELS_LND})),(0,m.K)(N=>(this.handleErrorWithAlert("UpdateChannels",M.m6.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+M.vv.CHANNELS_API+"/chanPolicy",N),(0,y.of)({type:M.pg.VOID})))))))),this.closeChannel=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.CLOSE_CHANNEL_LND),(0,A.z)(H=>{this.store.dispatch((0,I.ac)({payload:H.payload.forcibly?M.m6.FORCE_CLOSE_CHANNEL:M.m6.CLOSE_CHANNEL}));let N=this.CHILD_API_URL+M.vv.CHANNELS_API+"/"+H.payload.channelPoint+"?force="+H.payload.forcibly;return H.payload.targetConf&&(N=N+"&target_conf="+H.payload.targetConf),H.payload.satPerByte&&(N=N+"&sat_per_byte="+H.payload.satPerByte),this.httpClient.delete(N).pipe((0,x.U)(ee=>(this.logger.info(ee),this.store.dispatch((0,I.uO)({payload:H.payload.forcibly?M.m6.FORCE_CLOSE_CHANNEL:M.m6.CLOSE_CHANNEL})),this.store.dispatch((0,k.UR)()),this.store.dispatch((0,k.Z7)()),this.store.dispatch((0,k.Vv)({payload:{uiMessage:M.m6.NO_SPINNER,channelPoint:"ALL",showMessage:ee.message}})),{type:M.pg.VOID})),(0,m.K)(ee=>(this.handleErrorWithAlert("CloseChannel",H.payload.forcibly?M.m6.FORCE_CLOSE_CHANNEL:M.m6.CLOSE_CHANNEL,"Unable to Close Channel. Try again later.",this.CHILD_API_URL+M.vv.CHANNELS_API+"/"+H.payload.channelPoint+"?force="+H.payload.forcibly,ee),(0,y.of)({type:M.pg.VOID}))))}))),this.backupChannels=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.BACKUP_CHANNELS_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:H.payload.uiMessage})),this.store.dispatch((0,k.PC)({payload:{action:"BackupChannels",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.CHANNELS_BACKUP_API+"/"+H.payload.channelPoint).pipe((0,x.U)(N=>(this.logger.info(N),this.store.dispatch((0,k.PC)({payload:{action:"BackupChannels",status:M.Bn.COMPLETED}})),this.store.dispatch((0,I.uO)({payload:H.payload.uiMessage})),this.store.dispatch((0,I.jW)({payload:H.payload.showMessage+" "+N.message})),{type:M.uR.BACKUP_CHANNELS_RES_LND,payload:N.message})),(0,m.K)(N=>(this.handleErrorWithAlert("BackupChannels",H.payload.uiMessage,H.payload.showMessage+" Unable to Backup Channel. Try again later.",this.CHILD_API_URL+M.vv.CHANNELS_BACKUP_API+"/"+H.payload.channelPoint,N),(0,y.of)({type:M.pg.VOID})))))))),this.verifyChannel=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.VERIFY_CHANNEL_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:M.m6.VERIFY_CHANNEL})),this.store.dispatch((0,k.PC)({payload:{action:"VerifyChannel",status:M.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+M.vv.CHANNELS_BACKUP_API+"/verify/"+H.payload.channelPoint,{}).pipe((0,x.U)(N=>(this.logger.info(N),this.store.dispatch((0,k.PC)({payload:{action:"VerifyChannel",status:M.Bn.COMPLETED}})),this.store.dispatch((0,I.uO)({payload:M.m6.VERIFY_CHANNEL})),this.store.dispatch((0,I.jW)({payload:N.message})),{type:M.uR.VERIFY_CHANNEL_RES_LND,payload:N.message})),(0,m.K)(N=>(this.handleErrorWithAlert("VerifyChannel",M.m6.VERIFY_CHANNEL,"Unable to Verify Channel. Try again later.",this.CHILD_API_URL+M.vv.CHANNELS_BACKUP_API+"/verify/"+H.payload.channelPoint,N),(0,y.of)({type:M.pg.VOID})))))))),this.restoreChannels=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.RESTORE_CHANNELS_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:M.m6.RESTORE_CHANNEL})),this.store.dispatch((0,k.PC)({payload:{action:"RestoreChannels",status:M.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+M.vv.CHANNELS_BACKUP_API+"/restore/"+H.payload.channelPoint,{}).pipe((0,x.U)(N=>(this.logger.info(N),this.store.dispatch((0,k.PC)({payload:{action:"RestoreChannels",status:M.Bn.COMPLETED}})),this.store.dispatch((0,I.uO)({payload:M.m6.RESTORE_CHANNEL})),this.store.dispatch((0,I.jW)({payload:N.message})),this.store.dispatch((0,k.B_)({payload:N.list})),{type:M.uR.RESTORE_CHANNELS_RES_LND,payload:N.message})),(0,m.K)(N=>(this.handleErrorWithAlert("RestoreChannels",M.m6.RESTORE_CHANNEL,"Unable to Restore Channel. Try again later.",this.CHILD_API_URL+M.vv.CHANNELS_BACKUP_API+"/restore/"+H.payload.channelPoint,N),(0,y.of)({type:M.pg.VOID})))))))),this.fetchFees=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.FETCH_FEES_LND),(0,A.z)(()=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchFees",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.FEES_API))),(0,x.U)(H=>(this.logger.info(H),this.store.dispatch((0,k.PC)({payload:{action:"FetchFees",status:M.Bn.COMPLETED}})),H.forwarding_events_history&&(this.store.dispatch((0,k.QJ)({payload:H.forwarding_events_history})),delete H.forwarding_events_history),{type:M.uR.SET_FEES_LND,payload:H||{}})),(0,m.K)(H=>(this.handleErrorWithoutAlert("FetchFees",M.m6.NO_SPINNER,"Fetching Fees Failed.",H),(0,y.of)({type:M.pg.VOID}))))),this.balanceBlockchainFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.FETCH_BLOCKCHAIN_BALANCE_LND),(0,A.z)(()=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchBalance",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.BALANCE_API))),(0,x.U)(H=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchBalance",status:M.Bn.COMPLETED}})),this.logger.info(H),{type:M.uR.SET_BLOCKCHAIN_BALANCE_LND,payload:H||{total_balance:""}})),(0,m.K)(H=>(this.handleErrorWithoutAlert("FetchBalance",M.m6.NO_SPINNER,"Fetching Blockchain Balance Failed.",H),(0,y.of)({type:M.pg.VOID}))))),this.networkInfoFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.FETCH_NETWORK_LND),(0,A.z)(()=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchNetwork",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.NETWORK_API+"/info"))),(0,x.U)(H=>(this.logger.info(H),this.store.dispatch((0,k.PC)({payload:{action:"FetchNetwork",status:M.Bn.COMPLETED}})),{type:M.uR.SET_NETWORK_LND,payload:H||{}})),(0,m.K)(H=>(this.handleErrorWithoutAlert("FetchNetwork",M.m6.NO_SPINNER,"Fetching Network Failed.",H),(0,y.of)({type:M.pg.VOID}))))),this.channelsFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.FETCH_CHANNELS_LND),(0,A.z)(()=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchChannels",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.CHANNELS_API).pipe((0,x.U)(H=>(this.logger.info(H),this.store.dispatch((0,k.PC)({payload:{action:"FetchChannels",status:M.Bn.COMPLETED}})),{type:M.uR.SET_CHANNELS_LND,payload:H.channels||[]})),(0,m.K)(H=>(this.handleErrorWithoutAlert("FetchChannels",M.m6.NO_SPINNER,"Fetching Channels Failed.",H),(0,y.of)({type:M.pg.VOID})))))))),this.channelsPendingFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.FETCH_PENDING_CHANNELS_LND),(0,A.z)(()=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchPendingChannels",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.CHANNELS_API+"/pending").pipe((0,x.U)(H=>{this.logger.info(H),this.store.dispatch((0,k.PC)({payload:{action:"FetchPendingChannels",status:M.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 H&&(N.total_limbo_balance=H.total_limbo_balance,H.pending_closing_channels&&(N.closing.num_channels=H.pending_closing_channels.length,N.total_channels=N.total_channels+H.pending_closing_channels.length,H.pending_closing_channels.forEach(ee=>{N.closing.limbo_balance=+N.closing.limbo_balance+(ee.channel.local_balance?+ee.channel.local_balance:0)})),H.pending_force_closing_channels&&(N.force_closing.num_channels=H.pending_force_closing_channels.length,N.total_channels=N.total_channels+H.pending_force_closing_channels.length,H.pending_force_closing_channels.forEach(ee=>{N.force_closing.limbo_balance=+N.force_closing.limbo_balance+(ee.channel.local_balance?+ee.channel.local_balance:0)})),H.pending_open_channels&&(N.open.num_channels=H.pending_open_channels.length,N.total_channels=N.total_channels+H.pending_open_channels.length,H.pending_open_channels.forEach(ee=>{N.open.limbo_balance=+N.open.limbo_balance+(ee.channel.local_balance?+ee.channel.local_balance:0)})),H.waiting_close_channels&&(N.waiting_close.num_channels=H.waiting_close_channels.length,N.total_channels=N.total_channels+H.waiting_close_channels.length,H.waiting_close_channels.forEach(ee=>{N.waiting_close.limbo_balance=+N.waiting_close.limbo_balance+(ee.channel.local_balance?+ee.channel.local_balance:0)}))),{type:M.uR.SET_PENDING_CHANNELS_LND,payload:H?{pendingChannels:H,pendingChannelsSummary:N}:{pendingChannels:{},pendingChannelsSummary:N}}}),(0,m.K)(H=>(this.handleErrorWithoutAlert("FetchPendingChannels",M.m6.NO_SPINNER,"Fetching Pending Channels Failed.",H),(0,y.of)({type:M.pg.VOID})))))))),this.channelsClosedFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.FETCH_CLOSED_CHANNELS_LND),(0,A.z)(()=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchClosedChannels",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.CHANNELS_API+"/closed").pipe((0,x.U)(H=>(this.logger.info(H),this.store.dispatch((0,k.PC)({payload:{action:"FetchClosedChannels",status:M.Bn.COMPLETED}})),{type:M.uR.SET_CLOSED_CHANNELS_LND,payload:H.channels||[]})),(0,m.K)(H=>(this.handleErrorWithoutAlert("FetchClosedChannels",M.m6.NO_SPINNER,"Fetching Closed Channels Failed.",H),(0,y.of)({type:M.pg.VOID})))))))),this.invoicesFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.FETCH_INVOICES_LND),(0,A.z)(H=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchInvoices",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.INVOICES_API+"?num_max_invoices="+(H.payload.num_max_invoices?H.payload.num_max_invoices:100)+"&index_offset="+(H.payload.index_offset?H.payload.index_offset:0)+"&reversed="+(!!H.payload.reversed&&H.payload.reversed)).pipe((0,x.U)(ot=>(this.logger.info(ot),this.store.dispatch((0,k.PC)({payload:{action:"FetchInvoices",status:M.Bn.COMPLETED}})),H.payload.reversed&&!H.payload.index_offset&&(ot.total_invoices=+(ot.last_index_offset||0)),{type:M.uR.SET_INVOICES_LND,payload:ot})),(0,m.K)(ot=>(this.handleErrorWithoutAlert("FetchInvoices",M.m6.NO_SPINNER,"Fetching Invoices Failed.",ot),(0,y.of)({type:M.pg.VOID})))))))),this.transactionsFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.FETCH_TRANSACTIONS_LND),(0,A.z)(()=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchTransactions",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.TRANSACTIONS_API))),(0,x.U)(H=>(this.logger.info(H),this.store.dispatch((0,k.PC)({payload:{action:"FetchTransactions",status:M.Bn.COMPLETED}})),{type:M.uR.SET_TRANSACTIONS_LND,payload:H||[]})),(0,m.K)(H=>(this.handleErrorWithoutAlert("FetchTransactions",M.m6.NO_SPINNER,"Fetching Transactions Failed.",H),(0,y.of)({type:M.pg.VOID}))))),this.utxosFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.FETCH_UTXOS_LND),(0,P.M)(this.store.select(V.Q5)),(0,A.z)(([H,N])=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchUTXOs",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.WALLET_API+"/getUTXOs?max_confs="+(N&&N.block_height?N.block_height:1e9)))),(0,x.U)(H=>(this.logger.info(H),this.store.dispatch((0,k.PC)({payload:{action:"FetchUTXOs",status:M.Bn.COMPLETED}})),{type:M.uR.SET_UTXOS_LND,payload:H||[]})),(0,m.K)(H=>(this.handleErrorWithoutAlert("FetchUTXOs",M.m6.NO_SPINNER,"Fetching UTXOs Failed.",H),(0,y.of)({type:M.pg.VOID}))))),this.paymentsFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.FETCH_PAYMENTS_LND),(0,A.z)(H=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchPayments",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.PAYMENTS_API+"?max_payments="+(H.payload.max_payments?H.payload.max_payments:100)+"&index_offset="+(H.payload.index_offset?H.payload.index_offset:0)+"&reversed="+(!!H.payload.reversed&&H.payload.reversed)).pipe((0,x.U)(ot=>(this.logger.info(ot),this.store.dispatch((0,k.PC)({payload:{action:"FetchPayments",status:M.Bn.COMPLETED}})),this.commonService.sortByKey(ot.payments||[],this.paymentsPageSettings?.sortBy||"creation_date","number",this.paymentsPageSettings?.sortOrder),{type:M.uR.SET_PAYMENTS_LND,payload:ot})),(0,m.K)(ot=>(this.handleErrorWithoutAlert("FetchPayments",M.m6.NO_SPINNER,"Fetching Payments Failed.",ot),(0,y.of)({type:M.uR.SET_PAYMENTS_LND,payload:{payments:[]}})))))))),this.sendPayment=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.SEND_PAYMENT_LND),(0,A.z)(H=>{this.store.dispatch((0,I.ac)({payload:H.payload.uiMessage})),this.store.dispatch((0,k.PC)({payload:{action:"SendPayment",status:M.Bn.INITIATED}}));const N={};return N.paymentReq=H.payload.paymentReq,H.payload.paymentAmount&&(N.paymentAmount=H.payload.paymentAmount),H.payload.outgoingChannel&&(N.outgoingChannel=H.payload.outgoingChannel.chan_id),H.payload.allowSelfPayment&&(N.allowSelfPayment=H.payload.allowSelfPayment),H.payload.lastHopPubkey&&(N.lastHopPubkey=H.payload.lastHopPubkey),H.payload.feeLimitType&&H.payload.feeLimitType!==M.Vc[0].id&&(N.feeLimit={},N.feeLimit[H.payload.feeLimitType]=H.payload.feeLimit),this.httpClient.post(this.CHILD_API_URL+M.vv.CHANNELS_API+"/transactions",N).pipe((0,x.U)(ee=>{if(this.logger.info(ee),this.store.dispatch((0,I.uO)({payload:H.payload.uiMessage})),this.store.dispatch((0,k.PC)({payload:{action:"SendPayment",status:M.Bn.COMPLETED}})),ee.payment_error)return H.payload.allowSelfPayment?(this.store.dispatch((0,k.WM)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}})),{type:M.uR.SEND_PAYMENT_STATUS_LND,payload:ee}):(H.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",H.payload.uiMessage,"Send Payment Failed.",ee.payment_error):this.handleErrorWithAlert("SendPayment",H.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+M.vv.CHANNELS_API+"/transactions",ee.payment_error),{type:M.pg.VOID});if(this.store.dispatch((0,I.uO)({payload:H.payload.uiMessage})),this.store.dispatch((0,k.PC)({payload:{action:"SendPayment",status:M.Bn.COMPLETED}})),this.store.dispatch((0,k.UR)()),this.store.dispatch((0,k.cQ)({payload:{max_payments:this.paymentsPageSettings?.recordsPerPage,reversed:!0}})),H.payload.allowSelfPayment)this.store.dispatch((0,k.WM)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}}));else{let De="Payment Sent Successfully.";ee.payment_route&&ee.payment_route.total_fees_msat&&(De="Payment sent successfully with the total fee "+ee.payment_route.total_fees_msat+" (mSats)."),this.store.dispatch((0,I.jW)({payload:De}))}return{type:M.uR.SEND_PAYMENT_STATUS_LND,payload:ee}}),(0,m.K)(ee=>(this.logger.error("Error: "+JSON.stringify(ee)),H.payload.allowSelfPayment?(this.handleErrorWithoutAlert("SendPayment",H.payload.uiMessage,"Send Payment Failed.",ee),this.store.dispatch((0,k.WM)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}})),(0,y.of)({type:M.uR.SEND_PAYMENT_STATUS_LND,payload:{error:this.commonService.extractErrorMessage(ee)}})):(H.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",H.payload.uiMessage,"Send Payment Failed.",ee):this.handleErrorWithAlert("SendPayment",H.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+M.vv.CHANNELS_API+"/transactions",ee),(0,y.of)({type:M.pg.VOID})))))}))),this.graphNodeFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.FETCH_GRAPH_NODE_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:M.m6.GET_NODE_ADDRESS})),this.store.dispatch((0,k.PC)({payload:{action:"FetchGraphNode",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.NETWORK_API+"/node/"+H.payload.pubkey).pipe((0,x.U)(N=>(this.logger.info(N),this.store.dispatch((0,I.uO)({payload:M.m6.GET_NODE_ADDRESS})),this.store.dispatch((0,k.PC)({payload:{action:"FetchGraphNode",status:M.Bn.COMPLETED}})),{type:M.uR.SET_GRAPH_NODE_LND,payload:N&&N.node?{node:N.node}:{node:null}})),(0,m.K)(N=>(this.handleErrorWithoutAlert("FetchGraphNode",M.m6.GET_NODE_ADDRESS,"Fetching Graph Node Failed.",N),(0,y.of)({type:M.pg.VOID})))))))),this.setGraphNode=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.SET_GRAPH_NODE_LND),(0,x.U)(H=>(this.logger.info(H.payload),H.payload))),{dispatch:!1}),this.getNewAddress=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.GET_NEW_ADDRESS_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:M.m6.GENERATE_NEW_ADDRESS})),this.httpClient.get(this.CHILD_API_URL+M.vv.NEW_ADDRESS_API+"?type="+H.payload.addressId).pipe((0,x.U)(N=>(this.logger.info(N),this.store.dispatch((0,I.uO)({payload:M.m6.GENERATE_NEW_ADDRESS})),{type:M.uR.SET_NEW_ADDRESS_LND,payload:N&&N.address?N.address:{}})),(0,m.K)(N=>(this.handleErrorWithAlert("GetNewAddress",M.m6.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+M.vv.NEW_ADDRESS_API+"?type="+H.payload.addressId,N),(0,y.of)({type:M.pg.VOID})))))))),this.setNewAddress=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.SET_NEW_ADDRESS_LND),(0,x.U)(H=>(this.logger.info(H.payload),H.payload))),{dispatch:!1}),this.SetChannelTransaction=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.SET_CHANNEL_TRANSACTION_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:M.m6.SEND_FUNDS})),this.store.dispatch((0,k.PC)({payload:{action:"SetChannelTransaction",status:M.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+M.vv.TRANSACTIONS_API,{amount:H.payload.amount,address:H.payload.address,sendAll:H.payload.sendAll,fees:H.payload.fees,blocks:H.payload.blocks}).pipe((0,x.U)(N=>(this.logger.info(N),this.store.dispatch((0,k.PC)({payload:{action:"SetChannelTransaction",status:M.Bn.COMPLETED}})),this.store.dispatch((0,I.uO)({payload:M.m6.SEND_FUNDS})),this.store.dispatch((0,k.mC)()),this.store.dispatch((0,k.Bl)()),this.store.dispatch((0,k.UR)()),{type:M.uR.SET_CHANNEL_TRANSACTION_RES_LND,payload:N})),(0,m.K)(N=>(this.handleErrorWithoutAlert("SetChannelTransaction",M.m6.SEND_FUNDS,"Sending Fund Failed.",N),(0,y.of)({type:M.pg.VOID})))))))),this.fetchForwardingHistory=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.GET_FORWARDING_HISTORY_LND),(0,A.z)(H=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchForwardingHistory",status:M.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+M.vv.SWITCH_API,{num_max_events:H.payload.num_max_events,index_offset:H.payload.index_offset,end_time:H.payload.end_time,start_time:H.payload.start_time}).pipe((0,x.U)(ee=>(this.logger.info(ee),this.store.dispatch((0,k.PC)({payload:{action:"FetchForwardingHistory",status:M.Bn.COMPLETED}})),{type:M.uR.SET_FORWARDING_HISTORY_LND,payload:ee})),(0,m.K)(ee=>(this.handleErrorWithAlert("FetchForwardingHistory",M.m6.NO_SPINNER,"Get Forwarding History Failed",this.CHILD_API_URL+M.vv.SWITCH_API,ee),(0,y.of)({type:M.pg.VOID})))))))),this.queryRoutesFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.GET_QUERY_ROUTES_LND),(0,A.z)(H=>{let N=this.CHILD_API_URL+M.vv.NETWORK_API+"/routes/"+H.payload.destPubkey+"/"+H.payload.amount;return H.payload.outgoingChanId&&(N=N+"?outgoing_chan_id="+H.payload.outgoingChanId),this.httpClient.get(N).pipe((0,x.U)(ee=>(this.logger.info(ee),{type:M.uR.SET_QUERY_ROUTES_LND,payload:ee})),(0,m.K)(ee=>(this.store.dispatch((0,k.kL)({payload:{routes:[]}})),this.handleErrorWithAlert("GetQueryRoutes",M.m6.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+M.vv.NETWORK_API,ee),(0,y.of)({type:M.pg.VOID}))))}))),this.setQueryRoutes=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.SET_QUERY_ROUTES_LND),(0,x.U)(H=>H.payload)),{dispatch:!1}),this.genSeed=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.GEN_SEED_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:M.m6.GEN_SEED})),this.httpClient.get(this.CHILD_API_URL+M.vv.WALLET_API+"/genseed/"+H.payload).pipe((0,x.U)(N=>(this.logger.info("Generated GenSeed!"),this.logger.info(N),this.store.dispatch((0,I.uO)({payload:M.m6.GEN_SEED})),{type:M.uR.GEN_SEED_RESPONSE_LND,payload:N.cipher_seed_mnemonic})),(0,m.K)(N=>(this.handleErrorWithAlert("GenSeed",M.m6.GEN_SEED,"Genseed Generation Failed",this.CHILD_API_URL+M.vv.WALLET_API+"/genseed/"+H.payload,N),(0,y.of)({type:M.pg.VOID})))))))),this.updateSelNodeOptions=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.pg.UPDATE_SELECTED_NODE_OPTIONS),(0,A.z)(()=>this.httpClient.get(this.CHILD_API_URL+M.vv.WALLET_API+"/updateSelNodeOptions").pipe((0,x.U)(H=>(this.logger.info("Update Sel Node Successfull"),this.logger.info(H),{type:M.pg.VOID})),(0,m.K)(H=>(this.handleErrorWithAlert("UpdateSelectedNodeOptions",M.m6.NO_SPINNER,"Update macaroon for newly initialized node failed! Please check the macaroon path and restart the server!","Update Macaroon",H),(0,y.of)({type:M.pg.VOID}))))))),this.genSeedResponse=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.GEN_SEED_RESPONSE_LND),(0,x.U)(H=>H.payload)),{dispatch:!1}),this.initWalletRes=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.INIT_WALLET_RESPONSE_LND),(0,x.U)(H=>H.payload)),{dispatch:!1}),this.initWallet=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.INIT_WALLET_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:M.m6.INITIALIZE_WALLET})),this.httpClient.post(this.CHILD_API_URL+M.vv.WALLET_API+"/wallet/initwallet",{wallet_password:H.payload.pwd,cipher_seed_mnemonic:H.payload.cipher?H.payload.cipher:"",aezeed_passphrase:H.payload.passphrase?H.payload.passphrase:""}).pipe((0,x.U)(N=>(this.logger.info(N),this.store.dispatch((0,I.uO)({payload:M.m6.INITIALIZE_WALLET})),{type:M.uR.INIT_WALLET_RESPONSE_LND,payload:N})),(0,m.K)(N=>(this.handleErrorWithAlert("InitWallet",M.m6.INITIALIZE_WALLET,"Wallet Initialization Failed",this.CHILD_API_URL+M.vv.WALLET_API+"/initwallet",N),(0,y.of)({type:M.pg.VOID})))))))),this.unlockWallet=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.UNLOCK_WALLET_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:M.m6.UNLOCK_WALLET})),this.httpClient.post(this.CHILD_API_URL+M.vv.WALLET_API+"/wallet/unlockwallet",{wallet_password:H.payload.pwd}).pipe((0,x.U)(N=>(this.logger.info(N),this.logger.info("Successfully Unlocked!"),this.sessionService.setItem("lndUnlocked","true"),this.store.dispatch((0,I.uO)({payload:M.m6.UNLOCK_WALLET})),this.store.dispatch((0,I.ac)({payload:M.m6.WAIT_SYNC_NODE})),setTimeout(()=>{this.store.dispatch((0,I.uO)({payload:M.m6.WAIT_SYNC_NODE})),this.store.dispatch((0,k.sQ)({payload:{loadPage:"HOME"}}))},5e3),{type:M.pg.VOID})),(0,m.K)(N=>(this.handleErrorWithAlert("UnlockWallet",M.m6.UNLOCK_WALLET,"Unlock Wallet Failed",this.CHILD_API_URL+M.vv.WALLET_API+"/unlockwallet",N),(0,y.of)({type:M.pg.VOID}))))))),{dispatch:!1}),this.peerLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.PEER_LOOKUP_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:M.m6.SEARCHING_NODE})),this.store.dispatch((0,k.PC)({payload:{action:"Lookup",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.NETWORK_API+"/node/"+H.payload).pipe((0,x.U)(N=>(this.logger.info(N),this.store.dispatch((0,I.uO)({payload:M.m6.SEARCHING_NODE})),this.store.dispatch((0,k.PC)({payload:{action:"Lookup",status:M.Bn.COMPLETED}})),{type:M.uR.SET_LOOKUP_LND,payload:N})),(0,m.K)(N=>(this.handleErrorWithAlert("Lookup",M.m6.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+M.vv.NETWORK_API+"/node/"+H.payload,N),(0,y.of)({type:M.pg.VOID})))))))),this.channelLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.CHANNEL_LOOKUP_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:H.payload.uiMessage})),this.store.dispatch((0,k.PC)({payload:{action:"Lookup",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.NETWORK_API+"/edge/"+H.payload.channelID).pipe((0,x.U)(N=>(this.logger.info(N),this.store.dispatch((0,I.uO)({payload:H.payload.uiMessage})),this.store.dispatch((0,k.PC)({payload:{action:"Lookup",status:M.Bn.COMPLETED}})),{type:M.uR.SET_LOOKUP_LND,payload:N})),(0,m.K)(N=>(this.handleErrorWithAlert("Lookup",H.payload.uiMessage,"Channel Lookup Failed",this.CHILD_API_URL+M.vv.NETWORK_API+"/edge/"+H.payload.channelID,N),(0,y.of)({type:M.pg.VOID})))))))),this.invoiceLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.INVOICE_LOOKUP_LND),(0,A.z)(H=>{this.store.dispatch((0,I.ac)({payload:M.m6.SEARCHING_INVOICE})),this.store.dispatch((0,k.PC)({payload:{action:"Lookup",status:M.Bn.INITIATED}}));let N=this.CHILD_API_URL+M.vv.INVOICES_API+"/lookup";return N=H.payload.paymentAddress&&""!==H.payload.paymentAddress?N+"?payment_addr="+H.payload.paymentAddress:N+"?payment_hash="+H.payload.paymentHash,this.httpClient.get(N).pipe((0,x.U)(ee=>(this.logger.info(ee),this.store.dispatch((0,I.uO)({payload:M.m6.SEARCHING_INVOICE})),this.store.dispatch((0,k.PC)({payload:{action:"Lookup",status:M.Bn.COMPLETED}})),this.store.dispatch((0,k.aL)({payload:ee})),{type:M.uR.SET_LOOKUP_LND,payload:ee})),(0,m.K)(ee=>(this.store.dispatch((0,k.PC)({payload:{action:"Lookup",status:M.Bn.ERROR}})),this.handleErrorWithoutAlert("Lookup",M.m6.SEARCHING_INVOICE,"Invoice Lookup Failed",ee),H.payload.openSnackBar&&this.store.dispatch((0,I.jW)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,y.of)({type:M.uR.SET_LOOKUP_LND,payload:{error:ee}}))))}))),this.paymentLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.PAYMENT_LOOKUP_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:M.m6.SEARCHING_PAYMENT})),this.store.dispatch((0,k.PC)({payload:{action:"Lookup",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.PAYMENTS_API+"/lookup/"+H.payload).pipe((0,x.U)(N=>(this.logger.info(N),this.store.dispatch((0,I.uO)({payload:M.m6.SEARCHING_PAYMENT})),this.store.dispatch((0,k.PC)({payload:{action:"Lookup",status:M.Bn.COMPLETED}})),this.store.dispatch((0,k.qY)({payload:N})),{type:M.uR.SET_LOOKUP_LND,payload:N})),(0,m.K)(N=>(this.store.dispatch((0,k.PC)({payload:{action:"Lookup",status:M.Bn.ERROR}})),this.handleErrorWithoutAlert("Lookup",M.m6.SEARCHING_PAYMENT,"Payment Lookup Failed",N),(0,y.of)({type:M.uR.SET_LOOKUP_LND,payload:{error:N}})))))))),this.setLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.SET_LOOKUP_LND),(0,x.U)(H=>(this.logger.info(H.payload),H.payload))),{dispatch:!1}),this.getRestoreChannelList=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.RESTORE_CHANNELS_LIST_LND),(0,A.z)(()=>(this.store.dispatch((0,k.PC)({payload:{action:"RestoreChannelsList",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.CHANNELS_BACKUP_API+"/restore/list").pipe((0,x.U)(H=>(this.logger.info(H),this.store.dispatch((0,k.PC)({payload:{action:"RestoreChannelsList",status:M.Bn.COMPLETED}})),{type:M.uR.SET_RESTORE_CHANNELS_LIST_LND,payload:H||{all_restore_exists:!1,files:[]}})),(0,m.K)(H=>(this.handleErrorWithAlert("RestoreChannelsList",M.m6.NO_SPINNER,"Restore Channels List Failed",this.CHILD_API_URL+M.vv.CHANNELS_BACKUP_API,H),(0,y.of)({type:M.pg.VOID})))))))),this.setRestoreChannelList=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.SET_RESTORE_CHANNELS_LIST_LND),(0,x.U)(H=>(this.logger.info(H.payload),H.payload))),{dispatch:!1}),this.allLightningTransactionsFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.GET_ALL_LIGHTNING_TRANSATIONS_LND),(0,A.z)(()=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchLightningTransactions",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.PAYMENTS_API+"/alltransactions").pipe((0,x.U)(H=>(this.logger.info(H),this.store.dispatch((0,k.PC)({payload:{action:"FetchLightningTransactions",status:M.Bn.COMPLETED}})),{type:M.uR.SET_ALL_LIGHTNING_TRANSATIONS_LND,payload:H})),(0,m.K)(H=>(this.handleErrorWithoutAlert("FetchLightningTransactions",M.m6.NO_SPINNER,"Fetching All Lightning Transaction Failed.",H),(0,y.of)({type:M.pg.VOID})))))))),this.pageSettingsFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.FETCH_PAGE_SETTINGS_LND),(0,A.z)(()=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchPageSettings",status:M.Bn.INITIATED}})),this.httpClient.get(M.vv.PAGE_SETTINGS_API).pipe((0,x.U)(H=>(this.logger.info(H),this.store.dispatch((0,k.PC)({payload:{action:"FetchPageSettings",status:M.Bn.COMPLETED}})),this.invoicesPageSettings=H&&Object.keys(H).length>0?H.find(N=>"transactions"===N.pageId)?.tables.find(N=>"invoices"===N.tableId):M.gK.find(N=>"transactions"===N.pageId)?.tables.find(N=>"invoices"===N.tableId),this.paymentsPageSettings=H&&Object.keys(H).length>0?H.find(N=>"transactions"===N.pageId)?.tables.find(N=>"payments"===N.tableId):M.gK.find(N=>"transactions"===N.pageId)?.tables.find(N=>"payments"===N.tableId),{type:M.uR.SET_PAGE_SETTINGS_LND,payload:H||[]})),(0,m.K)(H=>(this.handleErrorWithoutAlert("FetchPageSettings",M.m6.NO_SPINNER,"Fetching Page Settings Failed.",H),(0,y.of)({type:M.pg.VOID})))))))),this.savePageSettings=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.SAVE_PAGE_SETTINGS_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:M.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,k.PC)({payload:{action:"SavePageSettings",status:M.Bn.INITIATED}})),this.httpClient.post(M.vv.PAGE_SETTINGS_API,H.payload).pipe((0,x.U)(N=>{this.logger.info(N),this.store.dispatch((0,k.PC)({payload:{action:"SavePageSettings",status:M.Bn.COMPLETED}})),this.store.dispatch((0,I.uO)({payload:M.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,I.jW)({payload:"Page Layout Updated Successfully!"}));const ee=(N.find(ot=>"transactions"===ot.pageId)?.tables.find(ot=>"invoices"===ot.tableId)||M.gK.find(ot=>"transactions"===ot.pageId)?.tables.find(ot=>"invoices"===ot.tableId)).recordsPerPage,De=(N.find(ot=>"transactions"===ot.pageId)?.tables.find(ot=>"payments"===ot.tableId)||M.gK.find(ot=>"transactions"===ot.pageId)?.tables.find(ot=>"payments"===ot.tableId)).recordsPerPage;return this.invoicesPageSettings&&ee!==this.invoicesPageSettings?.recordsPerPage&&(this.invoicesPageSettings.recordsPerPage=ee,this.store.dispatch((0,k.WM)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}}))),this.paymentsPageSettings&&De!==this.paymentsPageSettings?.recordsPerPage&&(this.paymentsPageSettings.recordsPerPage=De),{type:M.uR.SET_PAGE_SETTINGS_LND,payload:N||[]}}),(0,m.K)(N=>(this.handleErrorWithAlert("SavePageSettings",M.m6.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",M.vv.PAGE_SETTINGS_API,N),(0,y.of)({type:M.pg.VOID})))))))),this.store.select(V.yA).pipe((0,l.R)(this.unSubs[0])).subscribe(H=>{H.FetchInfo.status!==M.Bn.COMPLETED&&H.FetchInfo.status!==M.Bn.ERROR||H.FetchFees.status!==M.Bn.COMPLETED&&H.FetchFees.status!==M.Bn.ERROR||H.FetchBalanceBlockchain.status!==M.Bn.COMPLETED&&H.FetchBalanceBlockchain.status!==M.Bn.ERROR||H.FetchAllChannels.status!==M.Bn.COMPLETED&&H.FetchAllChannels.status!==M.Bn.ERROR||H.FetchPendingChannels.status!==M.Bn.COMPLETED&&H.FetchPendingChannels.status!==M.Bn.ERROR||this.flgInitialized||(this.store.dispatch((0,I.uO)({payload:M.m6.INITALIZE_NODE_DATA})),this.flgInitialized=!0)}),this.wsService.lndWSMessages.pipe((0,l.R)(this.unSubs[1])).subscribe(H=>{this.logger.info("Received new message from the service: "+JSON.stringify(H)),H&&(H.type===M.g8.INVOICE?(this.logger.info(H),H&&H.result&&H.result.payment_request&&this.store.dispatch((0,k.aL)({payload:H.result}))):this.logger.info("Received Event from WS: "+JSON.stringify(H)))})}initializeRemainingData(n,s){this.sessionService.setItem("lndUnlocked","true");const f={identity_pubkey:n.identity_pubkey,alias:n.alias,testnet:n.testnet,chains:n.chains,uris:n.uris,version:n.version?n.version.split(" ")[0]:""};this.store.dispatch((0,I.ac)({payload:M.m6.INITALIZE_NODE_DATA})),this.store.dispatch((0,I._V)({payload:f}));let h=this.location.path();h.includes("/cln/")?h=h?.replace("/cln/","/lnd/"):h.includes("/ecl/")&&(h=h?.replace("/ecl/","/lnd/")),(h.includes("/unlock")||h.includes("/login")||h.includes("/error")||""===h||"HOME"===s||h.includes("?access-key="))&&(h="/lnd/home"),this.router.navigate([h]),this.store.dispatch((0,k.Bl)()),this.store.dispatch((0,k.UR)()),this.store.dispatch((0,k.Z7)()),this.store.dispatch((0,k.Zh)()),this.store.dispatch((0,k.$W)()),this.store.dispatch((0,k.Rv)()),this.store.dispatch((0,k.SN)()),this.store.dispatch((0,k.cQ)({payload:{max_payments:1e5,reversed:!0}})),this.store.dispatch((0,k.WM)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}}))}handleErrorWithoutAlert(n,s,f,h){this.logger.error("ERROR IN: "+n+"\n"+JSON.stringify(h)),401===h.status?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,I.ts)()),this.store.dispatch((0,I.kS)()),this.store.dispatch((0,I.jW)({payload:"Authentication Failed. Redirecting to Login."}))):(this.store.dispatch((0,I.uO)({payload:s})),this.store.dispatch((0,k.PC)({payload:{action:n,status:M.Bn.ERROR,statusCode:h.status.toString(),message:this.commonService.extractErrorMessage(h,f)}})))}handleErrorWithAlert(n,s,f,h,w){if(this.logger.error(w),401===w.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,I.ts)()),this.store.dispatch((0,I.kS)()),this.store.dispatch((0,I.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,I.uO)({payload:s}));const D=this.commonService.extractErrorMessage(w);this.store.dispatch((0,I.qR)({payload:{data:{type:"ERROR",alertTitle:f,message:{code:w.status,message:D,URL:h},component:E.H}}})),this.store.dispatch((0,k.PC)({payload:{action:n,status:M.Bn.ERROR,statusCode:w.status.toString(),message:D,URL:h}}))}}ngOnDestroy(){this.unSubs.forEach(n=>{n.next(null),n.complete()})}static#e=this.\u0275fac=function(s){return new(s||ue)(B.LFG(e.eX),B.LFG(W.eN),B.LFG(j.yh),B.LFG(K.mQ),B.LFG(X.v),B.LFG(ie.m),B.LFG(ae.uw),B.LFG(fe.F0),B.LFG(se.d),B.LFG(Me.Ye))};static#t=this.\u0275prov=B.Yz7({token:ue,factory:ue.\u0275fac})}return ue})()},7321:(ze,q,p)=>{"use strict";p.d(q,{$k:()=>y,Bo:()=>P,Ef:()=>k,JG:()=>E,N7:()=>ae,P2:()=>j,PP:()=>d,Pr:()=>A,Q5:()=>l,T4:()=>ie,Wi:()=>M,ZW:()=>V,_f:()=>se,bx:()=>Me,dx:()=>I,l5:()=>fe,ni:()=>W,qU:()=>K,yA:()=>m});var e=p(4221);const t=(0,e.ZF)("lnd"),y=(0,e.P1)(t,$=>$.nodeSettings),A=(0,e.P1)(t,$=>({pageSettings:$.pageSettings,apiCallStatus:$.apisCallStatus.FetchPageSettings})),l=(0,e.P1)(t,$=>$.information),m=((0,e.P1)(t,$=>({information:$.information,apiCallStatus:$.apisCallStatus.FetchInfo})),(0,e.P1)(t,$=>$.apisCallStatus)),P=(0,e.P1)(t,$=>({forwardingHistory:$.forwardingHistory,apiCallStatus:$.apisCallStatus.FetchForwardingHistory})),d=(0,e.P1)(t,$=>({listPayments:$.listPayments,apiCallStatus:$.apisCallStatus.FetchPayments})),E=(0,e.P1)(t,$=>({fees:$.fees,apiCallStatus:$.apisCallStatus.FetchFees})),M=(0,e.P1)(t,$=>({peers:$.peers,apiCallStatus:$.apisCallStatus.FetchPeers})),I=(0,e.P1)(t,$=>({transactions:$.transactions,apiCallStatus:$.apisCallStatus.FetchTransactions})),k=(0,e.P1)(t,$=>({listInvoices:$.listInvoices,apiCallStatus:$.apisCallStatus.FetchInvoices})),V=(0,e.P1)(t,$=>({channels:$.channels,channelsSummary:$.channelsSummary,lightningBalance:$.lightningBalance,apiCallStatus:$.apisCallStatus.FetchAllChannels})),W=((0,e.P1)(t,$=>({channelsSummary:$.channelsSummary,pendingChannels:$.pendingChannels,closedChannels:$.closedChannels,apiCallStatus:$.apisCallStatus.FetchAllChannels})),(0,e.P1)(t,$=>({pendingChannels:$.pendingChannels,pendingChannelsSummary:$.pendingChannelsSummary,apiCallStatus:$.apisCallStatus.FetchPendingChannels}))),j=(0,e.P1)(t,$=>({closedChannels:$.closedChannels,apiCallStatus:$.apisCallStatus.FetchClosedChannels})),K=(0,e.P1)(t,$=>({blockchainBalance:$.blockchainBalance,apiCallStatus:$.apisCallStatus.FetchBalanceBlockchain})),ie=((0,e.P1)(t,$=>({lightningBalance:$.lightningBalance,apiCallStatus:$.apisCallStatus.FetchAllChannels})),(0,e.P1)(t,$=>({utxos:$.utxos,apiCallStatus:$.apisCallStatus.FetchUTXOs}))),ae=(0,e.P1)(t,$=>({networkInfo:$.networkInfo,apiCallStatus:$.apisCallStatus.FetchNetwork})),fe=(0,e.P1)(t,$=>({allLightningTransactions:$.allLightningTransactions,apiCallStatus:$.apisCallStatus.FetchLightningTransactions})),se=(0,e.P1)(t,$=>({channels:$.channels,pendingChannels:$.pendingChannels,closedChannels:$.closedChannels})),Me=(0,e.P1)(t,$=>({information:$.information,nodeSettings:$.nodeSettings,apiCallStatus:$.apisCallStatus.FetchInfo}))},5456:(ze,q,p)=>{"use strict";p.d(q,{v:()=>kt});var e=p(7700),t=p(590),y=p(8645),A=p(9773),l=p(2154),x=p(7321),m=p(9212),P=p(5980),d=p(6339),E=p(2939),M=p(4221),I=p(6814),k=p(5597),V=p(3814),B=p(7509),W=p(2296),j=p(5195),K=p(3305),X=p(617),ie=p(6385),ae=p(5940),fe=p(2596),se=p(2279),Me=p(7313),$=p(6985);const ue=["scrollContainer"];function S(Ae,Be){if(1&Ae&&m._UZ(0,"qr-code",33),2&Ae){const it=m.oxw();m.Q6J("value",null==it.invoice?null:it.invoice.payment_request)("size",it.qrWidth)("errorCorrectionLevel","L")}}function n(Ae,Be){1&Ae&&(m.TgZ(0,"span",34),m._uU(1,"N/A"),m.qZA())}function s(Ae,Be){if(1&Ae&&m._UZ(0,"qr-code",33),2&Ae){const it=m.oxw();m.Q6J("value",null==it.invoice?null:it.invoice.payment_request)("size",it.qrWidth)("errorCorrectionLevel","L")}}function f(Ae,Be){1&Ae&&(m.TgZ(0,"span",35),m._uU(1,"QR Code Not Applicable"),m.qZA())}function h(Ae,Be){1&Ae&&m._UZ(0,"mat-divider",22),2&Ae&&m.Q6J("inset",!0)}function w(Ae,Be){1&Ae&&(m.ynx(0),m._uU(1," (zero amount) "),m.BQk())}function D(Ae,Be){1&Ae&&m._UZ(0,"span",41)}const O=()=>[];function v(Ae,Be){if(1&Ae&&(m.TgZ(0,"div",37)(1,"div",38)(2,"span",39),m._uU(3),m.ALo(4,"number"),m.qZA(),m.YNc(5,D,1,0,"span",40),m.qZA()()),2&Ae){const it=m.oxw(2);m.xp6(3),m.hij("",m.lcZ(4,2,null==it.invoice?null:it.invoice.amt_paid_sat)," Sats"),m.xp6(2),m.Q6J("ngForOf",m.DdM(4,O).constructor(35))}}function r(Ae,Be){if(1&Ae&&(m.TgZ(0,"div"),m._uU(1),m.ALo(2,"number"),m.qZA()),2&Ae){const it=m.oxw(2);m.xp6(1),m.hij("",m.lcZ(2,1,null==it.invoice?null:it.invoice.amt_paid_sat)," Sats")}}function g(Ae,Be){if(1&Ae&&(m.ynx(0),m.YNc(1,v,6,5,"div",36)(2,r,3,3,"div",21),m.BQk()),2&Ae){const it=m.oxw();m.xp6(1),m.Q6J("ngIf",it.flgInvoicePaid),m.xp6(1),m.Q6J("ngIf",!it.flgInvoicePaid)}}function H(Ae,Be){1&Ae&&(m.TgZ(0,"span"),m._uU(1,"-"),m.qZA())}function N(Ae,Be){1&Ae&&m._UZ(0,"mat-spinner",43),2&Ae&&m.Q6J("diameter",20)}function ee(Ae,Be){if(1&Ae&&(m.ynx(0),m.YNc(1,H,2,0,"span",21)(2,N,1,1,"mat-spinner",42),m.BQk()),2&Ae){const it=m.oxw();m.xp6(1),m.Q6J("ngIf","OPEN"!==(null==it.invoice?null:it.invoice.state)||!it.flgVersionCompatible),m.xp6(1),m.Q6J("ngIf","OPEN"===(null==it.invoice?null:it.invoice.state)&&it.flgVersionCompatible)}}function De(Ae,Be){1&Ae&&m.GkF(0)}function ot(Ae,Be){if(1&Ae&&(m.TgZ(0,"div"),m.YNc(1,De,1,0,"ng-container",44),m.qZA()),2&Ae){m.oxw();const it=m.MAs(79);m.xp6(1),m.Q6J("ngTemplateOutlet",it)}}function je(Ae,Be){if(1&Ae){const it=m.EpF();m.TgZ(0,"div",45)(1,"button",46),m.NdJ("click",function(){m.CHM(it);const ke=m.oxw();return m.KtG(ke.onScrollDown())}),m.TgZ(2,"mat-icon",47),m._uU(3,"arrow_downward"),m.qZA()()()}}function Je(Ae,Be){1&Ae&&(m.TgZ(0,"p"),m._uU(1,"Show Advanced"),m.qZA())}function ye(Ae,Be){1&Ae&&(m.TgZ(0,"p"),m._uU(1,"Hide Advanced"),m.qZA())}function me(Ae,Be){if(1&Ae){const it=m.EpF();m.TgZ(0,"button",48),m.NdJ("copied",function(ke){m.CHM(it);const st=m.oxw();return m.KtG(st.onCopyPayment(ke))}),m._uU(1),m.qZA()}if(2&Ae){const it=m.oxw();m.Q6J("payload",null==it.invoice?null:it.invoice.payment_request),m.xp6(1),m.Oqu(it.screenSize===it.screenSizeEnum.XS?"Copy Payment":"Copy Payment Request")}}function he(Ae,Be){if(1&Ae){const it=m.EpF();m.TgZ(0,"button",49),m.NdJ("click",function(){m.CHM(it);const ke=m.oxw();return m.KtG(ke.onClose())}),m._uU(1,"OK"),m.qZA()}}const xe=Ae=>({"mr-0":Ae});function de(Ae,Be){if(1&Ae&&m._UZ(0,"span",64),2&Ae){const it=m.oxw(4);m.Q6J("ngClass",m.VKq(1,xe,it.screenSize===it.screenSizeEnum.XS))}}function ge(Ae,Be){if(1&Ae&&m._UZ(0,"span",65),2&Ae){const it=m.oxw(4);m.Q6J("ngClass",m.VKq(1,xe,it.screenSize===it.screenSizeEnum.XS))}}function qe(Ae,Be){if(1&Ae&&m._UZ(0,"span",66),2&Ae){const it=m.oxw(4);m.Q6J("ngClass",m.VKq(1,xe,it.screenSize===it.screenSizeEnum.XS))}}function oe(Ae,Be){if(1&Ae&&(m.TgZ(0,"div",53)(1,"div",58)(2,"span",59),m.YNc(3,de,1,3,"span",60)(4,ge,1,3,"span",61)(5,qe,1,3,"span",62),m._uU(6),m.qZA(),m.TgZ(7,"span",63),m._uU(8),m.ALo(9,"number"),m.qZA()(),m._UZ(10,"mat-divider",22),m.qZA()),2&Ae){const it=Be.$implicit,$e=m.oxw(3);m.xp6(3),m.Q6J("ngIf","SETTLED"===it.state),m.xp6(1),m.Q6J("ngIf","ACCEPTED"===it.state),m.xp6(1),m.Q6J("ngIf","CANCELED"===it.state),m.xp6(1),m.hij(" ",it.chan_id," "),m.xp6(2),m.Oqu(m.xi3(9,6,+it.amt_msat/1e3||0,$e.getDecimalFormat(it))),m.xp6(2),m.Q6J("inset",!0)}}function ve(Ae,Be){if(1&Ae){const it=m.EpF();m.TgZ(0,"div",17)(1,"mat-expansion-panel",51),m.NdJ("opened",function(){m.CHM(it);const ke=m.oxw(2);return m.KtG(ke.flgOpened=!0)})("closed",function(){m.CHM(it);const ke=m.oxw(2);return m.KtG(ke.onExpansionClosed())}),m.TgZ(2,"mat-expansion-panel-header")(3,"mat-panel-title")(4,"h4",52),m._uU(5,"HTLCs"),m.qZA()()(),m.TgZ(6,"div",53)(7,"div",54)(8,"span",55),m._uU(9,"Channel ID"),m.qZA(),m.TgZ(10,"span",56),m._uU(11,"Amount (Sats)"),m.qZA()(),m._UZ(12,"mat-divider",22),m.YNc(13,oe,11,9,"div",57),m.qZA()()()}if(2&Ae){const it=m.oxw(2);m.xp6(12),m.Q6J("inset",!0),m.xp6(1),m.Q6J("ngForOf",null==it.invoice?null:it.invoice.htlcs)}}function le(Ae,Be){1&Ae&&m._UZ(0,"mat-divider",22),2&Ae&&m.Q6J("inset",!0)}function Ge(Ae,Be){if(1&Ae&&(m._UZ(0,"mat-divider",22),m.TgZ(1,"div",17)(2,"div",23)(3,"h4",19),m._uU(4,"Preimage"),m.qZA(),m.TgZ(5,"span",24),m._uU(6),m.qZA()()(),m._UZ(7,"mat-divider",22),m.TgZ(8,"div",17)(9,"div",18)(10,"h4",19),m._uU(11,"State"),m.qZA(),m.TgZ(12,"span",24),m._uU(13),m.qZA()(),m.TgZ(14,"div",18)(15,"h4",19),m._uU(16,"Expiry"),m.qZA(),m.TgZ(17,"span",24),m._uU(18),m.ALo(19,"date"),m.qZA()()(),m._UZ(20,"mat-divider",22),m.TgZ(21,"div",17)(22,"div",18)(23,"h4",19),m._uU(24,"Private Routing Hints"),m.qZA(),m.TgZ(25,"span",24),m._uU(26),m.qZA()(),m.TgZ(27,"div",18)(28,"h4",19),m._uU(29,"AMP Invoice"),m.qZA(),m.TgZ(30,"span",24),m._uU(31),m.qZA()()(),m._UZ(32,"mat-divider",22),m.YNc(33,ve,14,2,"div",50)(34,le,1,1,"mat-divider",14)),2&Ae){const it=m.oxw();m.Q6J("inset",!0),m.xp6(6),m.Oqu((null==it.invoice?null:it.invoice.r_preimage)||"-"),m.xp6(1),m.Q6J("inset",!0),m.xp6(6),m.Oqu(null==it.invoice?null:it.invoice.state),m.xp6(5),m.Oqu(m.xi3(19,11,1e3*(+(null==it.invoice?null:it.invoice.creation_date)+ +(null==it.invoice?null:it.invoice.expiry)),"dd/MMM/y HH:mm")),m.xp6(2),m.Q6J("inset",!0),m.xp6(6),m.Oqu(null!=it.invoice&&it.invoice.private?"Yes":"No"),m.xp6(5),m.Oqu(null!=it.invoice&&it.invoice.is_amp?"Yes":"No"),m.xp6(1),m.Q6J("inset",!0),m.xp6(1),m.Q6J("ngIf",(null==it.invoice?null:it.invoice.htlcs)&&(null==it.invoice?null:it.invoice.htlcs.length)>0),m.xp6(1),m.Q6J("ngIf",(null==it.invoice?null:it.invoice.htlcs)&&(null==it.invoice?null:it.invoice.htlcs.length)>0)}}const We=Ae=>({"display-none":Ae}),wt=Ae=>({"xs-scroll-y":Ae}),mt=Ae=>({"h-50":Ae});let kt=(()=>{class Ae{set container(it){it&&(this.scrollContainer=it)}constructor(it,$e,ke,st,Ke,Et){this.dialogRef=it,this.data=$e,this.logger=ke,this.commonService=st,this.snackBar=Ke,this.store=Et,this.faReceipt=t.dLy,this.showAdvanced=!1,this.newlyAdded=!1,this.invoice=null,this.qrWidth=240,this.screenSize="",this.screenSizeEnum=l.cu,this.flgOpened=!1,this.flgInvoicePaid=!1,this.flgVersionCompatible=!0,this.unSubs=[new y.x,new y.x,new y.x,new y.x,new y.x]}ngOnInit(){this.invoice=JSON.parse(JSON.stringify(this.data.invoice)),this.newlyAdded=!!this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===l.cu.XS&&(this.qrWidth=220),this.store.select(x.Q5).pipe((0,A.R)(this.unSubs[0])).subscribe($e=>{this.flgVersionCompatible=this.commonService.isVersionCompatible($e.version,"0.11.0")});const it=JSON.parse(JSON.stringify(this.invoice));this.store.select(x.Ef).pipe((0,A.R)(this.unSubs[1])).subscribe($e=>{const ke=this.invoice?.state,Ke=($e.listInvoices.invoices||[]).find(Et=>Et.r_hash===it.r_hash)||null;Ke&&(this.invoice=Ke),ke!==this.invoice?.state&&"SETTLED"===this.invoice?.state&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info($e)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced,this.flgOpened=!1}onScrollDown(){this.scrollContainer.nativeElement.scrollTop=this.scrollContainer.nativeElement.scrollTop+60}onExpansionClosed(){this.flgOpened=!1,this.scrollContainer.nativeElement.scrollTop=0}onCopyPayment(it){this.snackBar.open("Payment request copied."),this.logger.info("Copied Text: "+it)}getDecimalFormat(it){return it.amt_msat<1e3?"1.0-4":"1.0-0"}ngOnDestroy(){this.unSubs.forEach(it=>{it.next(null),it.complete()})}static#e=this.\u0275fac=function($e){return new($e||Ae)(m.Y36(e.so),m.Y36(e.WI),m.Y36(P.mQ),m.Y36(d.v),m.Y36(E.ux),m.Y36(M.yh))};static#t=this.\u0275cmp=m.Xpm({type:Ae,selectors:[["rtl-invoice-information"]],viewQuery:function($e,ke){if(1&$e&&m.Gf(ue,5),2&$e){let st;m.iGM(st=m.CRH())&&(ke.container=st.first)}},decls:80,vars:49,consts:[["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign.gt-sm","space-between stretch"],["fxFlex","35",1,"modal-qr-code-container","padding-gap-large",3,"fxLayoutAlign","ngClass"],[3,"value","size","errorCorrectionLevel",4,"ngIf"],["class","font-size-300",4,"ngIf"],["fxLayout","column","fxFlex","65"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large",3,"ngClass"],["fxLayout","column"],["fxFlex","30",1,"modal-qr-code-container","padding-gap",3,"fxLayoutAlign","ngClass"],["class","font-size-120",4,"ngIf"],["class","my-1",3,"inset",4,"ngIf"],[3,"ngClass"],["scrollContainer",""],["fxLayout","row"],["fxFlex","50"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"foreground-secondary-text"],[4,"ngIf"],[1,"my-1",3,"inset"],["fxFlex","100"],[1,"overflow-wrap","foreground-secondary-text"],["fxLayout","row","fxLayoutAlign","start end","class","btn-sticky-container padding-gap-x-large",4,"ngIf"],["fxLayout","row","fxLayoutAlign","end center","fxFlex","100",1,"padding-gap-x-large","padding-gap-bottom-large"],["mat-button","","color","primary","type","reset","tabindex","1",1,"mr-1",3,"click"],[4,"ngIf","ngIfElse"],["hideAdvancedText",""],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied",4,"ngIf"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click",4,"ngIf"],["advancedBlock",""],[3,"value","size","errorCorrectionLevel"],[1,"font-size-300"],[1,"font-size-120"],["class","invoice-animation-container",4,"ngIf"],[1,"invoice-animation-container"],[1,"invoice-animation-div"],[1,"wiggle"],["class","particles-circle",4,"ngFor","ngForOf"],[1,"particles-circle"],[3,"diameter",4,"ngIf"],[3,"diameter"],[4,"ngTemplateOutlet"],["fxLayout","row","fxLayoutAlign","start end",1,"btn-sticky-container","padding-gap-x-large"],["mat-mini-fab","","aria-label","Scroll Down","fxLayoutAlign","center center",3,"click"],["fxLayoutAlign","center center"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click"],["fxLayout","row",4,"ngIf"],["fxLayout","column","fxLayoutAlign","start stretch","fxFlex","100",1,"flat-expansion-panel",3,"opened","closed"],["fxLayoutAlign","start center","fxFlex","100",1,"font-bold-500"],["fxLayout","column","fxLayoutAlign","start stretch","fxFlex","100"],["fxLayout","row","fxLayoutAlign","start start","fxFlex","100",1,"mt-minus-1"],["fxFlex","60",1,"foreground-secondary-text","font-bold-500"],["fxFlex","40",1,"foreground-secondary-text","font-bold-500"],["fxLayout","column","fxLayoutAlign","start stretch","fxFlex","100",4,"ngFor","ngForOf"],["fxLayout","row","fxLayoutAlign","start start","fxFlex","100"],["fxFlex","60",1,"foreground-secondary-text"],["class","dot green","matTooltip","Settled","matTooltipPosition","right",3,"ngClass",4,"ngIf"],["class","dot yellow","matTooltip","Accepted","matTooltipPosition","right",3,"ngClass",4,"ngIf"],["class","dot red","matTooltip","Cancelled","matTooltipPosition","right",3,"ngClass",4,"ngIf"],["fxFlex","40",1,"foreground-secondary-text"],["matTooltip","Settled","matTooltipPosition","right",1,"dot","green",3,"ngClass"],["matTooltip","Accepted","matTooltipPosition","right",1,"dot","yellow",3,"ngClass"],["matTooltip","Cancelled","matTooltipPosition","right",1,"dot","red",3,"ngClass"]],template:function($e,ke){if(1&$e&&(m.TgZ(0,"div",0)(1,"div",1),m.YNc(2,S,1,3,"qr-code",2)(3,n,2,0,"span",3),m.qZA(),m.TgZ(4,"div",4)(5,"mat-card-header",5)(6,"div",6),m._UZ(7,"fa-icon",7),m.TgZ(8,"span",8),m._uU(9),m.qZA()(),m.TgZ(10,"button",9),m.NdJ("click",function(){return ke.onClose()}),m._uU(11,"X"),m.qZA()(),m.TgZ(12,"mat-card-content",10)(13,"div",11)(14,"div",12),m.YNc(15,s,1,3,"qr-code",2)(16,f,2,0,"span",13),m.qZA(),m.YNc(17,h,1,1,"mat-divider",14),m.TgZ(18,"div",15,16)(20,"div",17)(21,"div",18)(22,"h4",19),m._uU(23),m.qZA(),m.TgZ(24,"span",20),m._uU(25),m.ALo(26,"number"),m.YNc(27,w,2,0,"ng-container",21),m.qZA()(),m.TgZ(28,"div",18)(29,"h4",19),m._uU(30,"Amount Settled"),m.qZA(),m.TgZ(31,"span",20),m.YNc(32,g,3,2,"ng-container",21)(33,ee,3,2,"ng-container",21),m.qZA()()(),m._UZ(34,"mat-divider",22),m.TgZ(35,"div",17)(36,"div",18)(37,"h4",19),m._uU(38,"Date Created"),m.qZA(),m.TgZ(39,"span",20),m._uU(40),m.ALo(41,"date"),m.qZA()(),m.TgZ(42,"div",18)(43,"h4",19),m._uU(44,"Date Settled"),m.qZA(),m.TgZ(45,"span",20),m._uU(46),m.ALo(47,"date"),m.qZA()()(),m._UZ(48,"mat-divider",22),m.TgZ(49,"div",17)(50,"div",23)(51,"h4",19),m._uU(52,"Memo"),m.qZA(),m.TgZ(53,"span",20),m._uU(54),m.qZA()()(),m._UZ(55,"mat-divider",22),m.TgZ(56,"div",17)(57,"div",23)(58,"h4",19),m._uU(59,"Payment Request"),m.qZA(),m.TgZ(60,"span",24),m._uU(61),m.qZA()()(),m._UZ(62,"mat-divider",22),m.TgZ(63,"div",17)(64,"div",23)(65,"h4",19),m._uU(66,"Payment Hash"),m.qZA(),m.TgZ(67,"span",24),m._uU(68),m.qZA()()(),m.YNc(69,ot,2,1,"div",21),m.qZA()()(),m.YNc(70,je,4,0,"div",25),m.TgZ(71,"div",26)(72,"button",27),m.NdJ("click",function(){return ke.onShowAdvanced()}),m.YNc(73,Je,2,0,"p",28)(74,ye,2,0,"ng-template",null,29,m.W1O),m.qZA(),m.YNc(76,me,2,2,"button",30)(77,he,2,0,"button",31),m.qZA()()(),m.YNc(78,Ge,35,14,"ng-template",null,32,m.W1O)),2&$e){const st=m.MAs(75);m.xp6(1),m.Q6J("fxLayoutAlign",null!=ke.invoice&&ke.invoice.payment_request&&""!==(null==ke.invoice?null:ke.invoice.payment_request)?"center start":"center center")("ngClass",m.VKq(41,We,ke.screenSize===ke.screenSizeEnum.XS||ke.screenSize===ke.screenSizeEnum.SM)),m.xp6(1),m.Q6J("ngIf",(null==ke.invoice?null:ke.invoice.payment_request)&&""!==(null==ke.invoice?null:ke.invoice.payment_request)),m.xp6(1),m.Q6J("ngIf",!(null!=ke.invoice&&ke.invoice.payment_request)||""===(null==ke.invoice?null:ke.invoice.payment_request)),m.xp6(4),m.Q6J("icon",ke.faReceipt),m.xp6(2),m.Oqu(ke.screenSize===ke.screenSizeEnum.XS?ke.newlyAdded?"Created":"Invoice":ke.newlyAdded?"Invoice Created":"Invoice Information"),m.xp6(3),m.Q6J("ngClass",m.VKq(43,wt,ke.screenSize===ke.screenSizeEnum.XS)),m.xp6(2),m.Q6J("fxLayoutAlign",null!=ke.invoice&&ke.invoice.payment_request&&""!==(null==ke.invoice?null:ke.invoice.payment_request)?"center start":"center center")("ngClass",m.VKq(45,We,ke.screenSize!==ke.screenSizeEnum.XS&&ke.screenSize!==ke.screenSizeEnum.SM)),m.xp6(1),m.Q6J("ngIf",(null==ke.invoice?null:ke.invoice.payment_request)&&""!==(null==ke.invoice?null:ke.invoice.payment_request)),m.xp6(1),m.Q6J("ngIf",!(null!=ke.invoice&&ke.invoice.payment_request)||""===(null==ke.invoice?null:ke.invoice.payment_request)),m.xp6(1),m.Q6J("ngIf",ke.screenSize===ke.screenSizeEnum.XS||ke.screenSize===ke.screenSizeEnum.SM),m.xp6(1),m.Q6J("ngClass",m.VKq(47,mt,(null==ke.invoice?null:ke.invoice.htlcs)&&(null==ke.invoice?null:ke.invoice.htlcs.length)>0&&ke.showAdvanced)),m.xp6(5),m.Oqu(ke.screenSize===ke.screenSizeEnum.XS?"Amount":"Amount Requested"),m.xp6(2),m.hij("",m.lcZ(26,33,(null==ke.invoice?null:ke.invoice.value)||0)," Sats"),m.xp6(2),m.Q6J("ngIf",!(null!=ke.invoice&&ke.invoice.value)||"0"===(null==ke.invoice?null:ke.invoice.value)),m.xp6(5),m.Q6J("ngIf",(null==ke.invoice?null:ke.invoice.amt_paid_sat)&&"OPEN"!==(null==ke.invoice?null:ke.invoice.state)),m.xp6(1),m.Q6J("ngIf",!(null!=ke.invoice&&ke.invoice.amt_paid_sat)||"0"===(null==ke.invoice?null:ke.invoice.amt_paid_sat)),m.xp6(1),m.Q6J("inset",!0),m.xp6(6),m.Oqu(m.xi3(41,35,1e3*(null==ke.invoice?null:ke.invoice.creation_date),"dd/MMM/y HH:mm")),m.xp6(6),m.Oqu(0!=+(null==ke.invoice?null:ke.invoice.settle_date)?m.xi3(47,38,1e3*+(null==ke.invoice?null:ke.invoice.settle_date),"dd/MMM/y HH:mm"):"-"),m.xp6(2),m.Q6J("inset",!0),m.xp6(6),m.Oqu(null==ke.invoice?null:ke.invoice.memo),m.xp6(1),m.Q6J("inset",!0),m.xp6(6),m.Oqu((null==ke.invoice?null:ke.invoice.payment_request)||"N/A"),m.xp6(1),m.Q6J("inset",!0),m.xp6(6),m.Oqu((null==ke.invoice?null:ke.invoice.r_hash)||""),m.xp6(1),m.Q6J("ngIf",ke.showAdvanced),m.xp6(1),m.Q6J("ngIf",(null==ke.invoice?null:ke.invoice.htlcs)&&(null==ke.invoice?null:ke.invoice.htlcs.length)>0&&ke.showAdvanced&&ke.flgOpened),m.xp6(3),m.Q6J("ngIf",!ke.showAdvanced)("ngIfElse",st),m.xp6(3),m.Q6J("ngIf",(null==ke.invoice?null:ke.invoice.payment_request)&&""!==(null==ke.invoice?null:ke.invoice.payment_request)),m.xp6(1),m.Q6J("ngIf",!(null!=ke.invoice&&ke.invoice.payment_request)||""===(null==ke.invoice?null:ke.invoice.payment_request))}},dependencies:[I.mk,I.sg,I.O5,I.tP,k.BN,V.xw,V.Wh,V.yH,B.oO,W.lW,W.nh,j.dn,j.dk,K.ib,K.yz,K.yK,X.Hw,ie.d,ae.Ou,fe.gM,se.uU,Me.y,$.h,I.JJ,I.uU]})}return Ae})()},8291:(ze,q,p)=>{"use strict";p.d(q,{J:()=>y,_:()=>t});var e=p(6825);const t=[(0,e.X$)("opacityAnimation",[(0,e.eR)(":enter",[(0,e.oB)({opacity:0}),(0,e.jt)("1000ms ease-in",(0,e.oB)({opacity:1}))]),(0,e.eR)(":leave",[(0,e.jt)("0ms",(0,e.oB)({opacity:0}))])])],y=[(0,e.X$)("fadeIn",[(0,e.eR)("void => *",[]),(0,e.eR)("* => void",[]),(0,e.eR)("* => *",[(0,e.jt)(800,(0,e.F4)([(0,e.oB)({opacity:0,transform:"translateY(100%)"}),(0,e.oB)({opacity:1,transform:"translateY(0%)"})]))])])]},5256:(ze,q,p)=>{"use strict";p.d(q,{g:()=>t});var e=p(6825);const t=(0,e.X$)("routeAnimation",[(0,e.eR)("* => *",[(0,e.IO)(":enter, :leave",(0,e.oB)({position:"fixed",width:"100%"}),{optional:!0}),(0,e.ru)([(0,e.IO)(":enter",[(0,e.oB)({transform:"translateX(100%)"}),(0,e.jt)("1000ms ease-in-out",(0,e.oB)({transform:"translateX(0%)"}))],{optional:!0}),(0,e.IO)(":leave",[(0,e.oB)({transform:"translateX(0%)"}),(0,e.jt)("1000ms ease-in-out",(0,e.oB)({transform:"translateX(-100%)"}))],{optional:!0})])])])},3214:(ze,q,p)=>{"use strict";p.d(q,{l:()=>t});var e=p(6825);const t=[(0,e.X$)("sliderAnimation",[(0,e.SB)("*",(0,e.oB)({transform:"translateX(0)"})),(0,e.eR)("void => backward",[(0,e.oB)({transform:"translateX(-100%"}),(0,e.jt)("800ms")]),(0,e.eR)("backward => void",[(0,e.jt)("0ms",(0,e.oB)({transform:"translateX(100%)"}))]),(0,e.eR)("void => forward",[(0,e.oB)({transform:"translateX(100%"}),(0,e.jt)("800ms")]),(0,e.eR)("forward => void",[(0,e.jt)("0ms",(0,e.oB)({transform:"translateX(-100%)"}))])])]},3315:(ze,q,p)=>{"use strict";p.d(q,{H:()=>M});var e=p(7700),t=p(9212),y=p(5980),A=p(6814),l=p(3814),x=p(2296),m=p(5195),P=p(6385),d=p(6985);function E(I,k){if(1&I&&(t.TgZ(0,"p",14),t._uU(1),t.qZA()),2&I){const V=t.oxw();t.xp6(1),t.Oqu(V.data.titleMessage)}}let M=(()=>{class I{constructor(V,B,W){this.dialogRef=V,this.data=B,this.logger=W,this.errorMessage=""}ngOnInit(){this.errorMessage=this.data.message&&this.data.message.message&&"object"==typeof this.data.message.message?JSON.stringify(this.data.message.message):this.data.message&&this.data.message.message?this.data.message.message:"",!this.data.message&&!this.data.titleMessage&&!this.data.message&&(this.data.titleMessage="Please Check Server Connection"),this.logger.info(this.data.message)}onClose(){this.dialogRef.close(!1)}static#e=this.\u0275fac=function(B){return new(B||I)(t.Y36(e.so),t.Y36(e.WI),t.Y36(y.mQ))};static#t=this.\u0275cmp=t.Xpm({type:I,selectors:[["rtl-error-message"]],decls:29,vars:6,consts:[["fxLayout","row"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large","error-alert-block"],["fxLayout","column"],["fxLayoutAlign","start center","class","pb-1",4,"ngIf"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"w-100","my-1"],[1,"word-break"],["fxLayout","row","fxLayoutAlign","end center"],["tabindex","1","autoFocus","","mat-button","","color","primary","type","submit","default","",3,"mat-dialog-close"],["fxLayoutAlign","start center",1,"pb-1"]],template:function(B,W){1&B&&(t.TgZ(0,"div",0)(1,"div",1)(2,"mat-card-header",2)(3,"div",3)(4,"span",4),t._uU(5),t.qZA()(),t.TgZ(6,"button",5),t.NdJ("click",function(){return W.onClose()}),t._uU(7,"X"),t.qZA()(),t.TgZ(8,"mat-card-content",6)(9,"div",7),t.YNc(10,E,2,1,"p",8),t.TgZ(11,"h4",9),t._uU(12,"Error Code"),t.qZA(),t.TgZ(13,"span"),t._uU(14),t.qZA(),t._UZ(15,"mat-divider",10),t.TgZ(16,"h4",9),t._uU(17,"Error Message"),t.qZA(),t.TgZ(18,"span",11),t._uU(19),t.qZA(),t._UZ(20,"mat-divider",10),t.TgZ(21,"h4",9),t._uU(22,"API URL"),t.qZA(),t.TgZ(23,"span",11),t._uU(24),t.qZA(),t._UZ(25,"mat-divider",10),t.TgZ(26,"div",12)(27,"button",13),t._uU(28,"OK"),t.qZA()()()()()()),2&B&&(t.xp6(5),t.Oqu(W.data.alertTitle||"ERROR"),t.xp6(5),t.Q6J("ngIf",W.data.titleMessage),t.xp6(4),t.Oqu(W.data.message.code),t.xp6(5),t.Oqu(W.errorMessage),t.xp6(5),t.Oqu(W.data.message.URL),t.xp6(3),t.Q6J("mat-dialog-close",!1))},dependencies:[A.O5,l.xw,l.Wh,l.yH,e.ZT,x.lW,m.dn,m.dk,P.d,d.h],styles:[".display-block[_ngcontent-%COMP%]{display:block}"]})}return I})()},5487:(ze,q,p)=>{"use strict";p.d(q,{a:()=>sn});var e=p(6223),t=p(8645),y=p(9773),A=p(7700),l=p(590),x=p(8291),m=p(2154),P=p(7321),d=p(9212),E=p(4221),M=p(3149),I=p(6814),k=p(5980),V=p(4190),B=p(6339),W=p(3814),j=p(7509),K=p(2296),X=p(5195),ie=p(3305),ae=p(617),fe=p(2032),se=p(5683),Me=p(6007),$=p(7466),ue=p(2599),S=p(2596),n=p(8257),s=p(6985),f=p(6385);function h(at,oi){1&at&&d.GkF(0)}function w(at,oi){1&at&&d.GkF(0)}const D=at=>({"h-5":at});function O(at,oi){if(1&at&&(d.TgZ(0,"mat-expansion-panel",3)(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"span",4),d._uU(4),d.ALo(5,"number"),d.qZA()()(),d.YNc(6,w,1,0,"ng-container",0),d.qZA()),2&at){const Ce=d.oxw(),St=d.MAs(4);d.Q6J("expanded",Ce.panelExpanded)("ngClass",d.VKq(7,D,!Ce.flgShowPanel)),d.xp6(4),d.AsE("Quote for ",Ce.termCaption," amount (",d.lcZ(5,5,Ce.quote.amount)," Sats)"),d.xp6(2),d.Q6J("ngTemplateOutlet",St)}}function v(at,oi){if(1&at&&(d.TgZ(0,"div",19)(1,"h4",8),d._uU(2," Prepay Amount (Sats) "),d.TgZ(3,"mat-icon",20),d._uU(4,"info_outline"),d.qZA()(),d.TgZ(5,"span",10),d._uU(6),d.ALo(7,"number"),d.qZA()()),2&at){const Ce=d.oxw(2);d.xp6(6),d.Oqu(d.lcZ(7,1,null==Ce.quote?null:Ce.quote.prepay_amt_sat))}}function r(at,oi){1&at&&d._UZ(0,"mat-divider",13)}function g(at,oi){if(1&at&&(d.TgZ(0,"div",6)(1,"div",21)(2,"h4",8),d._uU(3," Swap Server Node Pubkey "),d.TgZ(4,"mat-icon",22),d._uU(5,"info_outline"),d.qZA()(),d.TgZ(6,"span",10),d._uU(7),d.qZA()()()),2&at){const Ce=d.oxw(2);d.xp6(7),d.Oqu(null==Ce.quote?null:Ce.quote.swap_payment_dest)}}function H(at,oi){if(1&at&&(d.TgZ(0,"div",5)(1,"div",6)(2,"div",7)(3,"h4",8),d._uU(4," Swap Fee (Sats) "),d.TgZ(5,"mat-icon",9),d._uU(6,"info_outline"),d.qZA()(),d.TgZ(7,"span",10),d._uU(8),d.ALo(9,"number"),d.qZA()(),d.TgZ(10,"div",7)(11,"h4",8),d._uU(12),d.TgZ(13,"mat-icon",11),d._uU(14,"info_outline"),d.qZA()(),d.TgZ(15,"span",10),d._uU(16),d.ALo(17,"number"),d.qZA()(),d.YNc(18,v,8,3,"div",12),d.qZA(),d._UZ(19,"mat-divider",13),d.TgZ(20,"div",6)(21,"div",14)(22,"h4",8),d._uU(23," Max Off-chain Swap Routing Fee (Sats) "),d.TgZ(24,"mat-icon",15),d._uU(25,"info_outline"),d.qZA()(),d.TgZ(26,"span",10),d._uU(27),d.ALo(28,"number"),d.qZA()(),d.TgZ(29,"div",14)(30,"h4",8),d._uU(31," Max Off-chain Prepay Routing Fee (Sats) "),d.TgZ(32,"mat-icon",16),d._uU(33,"info_outline"),d.qZA()(),d.TgZ(34,"span",10),d._uU(35,"36"),d.qZA()()(),d.YNc(36,r,1,0,"mat-divider",17)(37,g,8,1,"div",18),d.qZA()),2&at){const Ce=d.oxw();d.xp6(2),d.Q6J("fxFlex",null!=Ce.quote&&Ce.quote.prepay_amt_sat?"30":"50"),d.xp6(6),d.Oqu(d.lcZ(9,9,null==Ce.quote?null:Ce.quote.swap_fee_sat)),d.xp6(2),d.Q6J("fxFlex",null!=Ce.quote&&Ce.quote.prepay_amt_sat?"35":"50"),d.xp6(2),d.hij(" ",null!=Ce.quote&&Ce.quote.htlc_sweep_fee_sat?"HTLC Sweep Fee (Sats)":null!=Ce.quote&&Ce.quote.htlc_publish_fee_sat?"HTLC Publish Fee (Sats)":""," "),d.xp6(4),d.Oqu(d.lcZ(17,11,null!=Ce.quote&&Ce.quote.htlc_sweep_fee_sat?Ce.quote.htlc_sweep_fee_sat:null!=Ce.quote&&Ce.quote.htlc_publish_fee_sat?Ce.quote.htlc_publish_fee_sat:0)),d.xp6(2),d.Q6J("ngIf",null==Ce.quote?null:Ce.quote.prepay_amt_sat),d.xp6(9),d.Oqu(d.lcZ(28,13,(null==Ce.quote?null:Ce.quote.amount)*((null!=Ce.quote&&Ce.quote.off_chain_swap_routing_fee_percentage?null==Ce.quote?null:Ce.quote.off_chain_swap_routing_fee_percentage:2)/100))),d.xp6(9),d.Q6J("ngIf",""!==(null==Ce.quote?null:Ce.quote.swap_payment_dest)),d.xp6(1),d.Q6J("ngIf",""!==(null==Ce.quote?null:Ce.quote.swap_payment_dest))}}let N=(()=>{class at{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(St){return new(St||at)};static#t=this.\u0275cmp=d.Xpm({type:at,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(St,Ft){if(1&St&&d.YNc(0,h,1,0,"ng-container",0)(1,O,7,9,"ng-template",null,1,d.W1O)(3,H,38,15,"ng-template",null,2,d.W1O),2&St){const Dt=d.MAs(2),It=d.MAs(4);d.Q6J("ngTemplateOutlet",Ft.showPanel?Dt:It)}},dependencies:[I.mk,I.O5,I.tP,W.xw,W.Wh,W.yH,j.oO,ie.ib,ie.yz,ie.yK,ae.Hw,f.d,S.gM,I.JJ]})}return at})();function ee(at,oi){1&at&&d.GkF(0)}function De(at,oi){if(1&at&&(d.TgZ(0,"div",3)(1,"span",4),d._uU(2),d.qZA()()),2&at){const Ce=d.oxw();d.xp6(2),d.Oqu(null!=Ce.loopStatus&&Ce.loopStatus.error?null==Ce.loopStatus?null:Ce.loopStatus.error:"Unknown Error.")}}function ot(at,oi){if(1&at&&(d.TgZ(0,"div",3)(1,"div",5)(2,"div",6)(3,"h4",7),d._uU(4,"ID"),d.qZA(),d.TgZ(5,"span",4),d._uU(6),d.qZA()()(),d._UZ(7,"mat-divider",8),d.TgZ(8,"div",5)(9,"div",6)(10,"h4",7),d._uU(11,"HTLC Address"),d.qZA(),d.TgZ(12,"span",4),d._uU(13),d.qZA()()()()),2&at){const Ce=d.oxw();d.xp6(6),d.Oqu(null==Ce.loopStatus?null:Ce.loopStatus.id_bytes),d.xp6(7),d.Oqu(null==Ce.loopStatus?null:Ce.loopStatus.htlc_address)}}let je=(()=>{class at{constructor(){}static#e=this.\u0275fac=function(St){return new(St||at)};static#t=this.\u0275cmp=d.Xpm({type:at,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(St,Ft){if(1&St&&d.YNc(0,ee,1,0,"ng-container",0)(1,De,3,1,"ng-template",null,1,d.W1O)(3,ot,14,2,"ng-template",null,2,d.W1O),2&St){const Dt=d.MAs(2),It=d.MAs(4);d.Q6J("ngTemplateOutlet",null!=Ft.loopStatus&&Ft.loopStatus.error?Dt:It)}},dependencies:[I.tP,W.xw,W.Wh,W.yH,f.d]})}return at})();var Je=p(3214);function ye(at,oi){1&at&&d.GkF(0)}const me=(at,oi)=>({"small-svg":at,"large-svg":oi});function he(at,oi){if(1&at){const Ce=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Ft){d.CHM(Ce);const Dt=d.oxw();return d.KtG(Dt.onSwipe(Ft))}),d.O4$(),d.TgZ(1,"svg",7)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"g",8)(5,"g",9)(6,"g",10)(7,"g",11),d._UZ(8,"circle",12)(9,"path",13),d.qZA(),d.TgZ(10,"g",14),d._UZ(11,"ellipse",15)(12,"ellipse",16)(13,"rect",17)(14,"rect",18)(15,"rect",19)(16,"rect",20)(17,"rect",21)(18,"rect",22)(19,"rect",23)(20,"rect",24)(21,"rect",25)(22,"rect",26)(23,"rect",27)(24,"rect",28)(25,"rect",29),d.qZA()()()()(),d.kcU(),d.TgZ(26,"div",30)(27,"mat-card-title"),d._uU(28,"Loop In explained."),d.qZA()(),d.TgZ(29,"div",31)(30,"mat-card-subtitle",32),d._uU(31," Lightning Loop is a non custodial service offered by Lightning Labs to bridge on-chain and off-chain Bitcoin using Submarine swaps. "),d.qZA()()()}if(2&at){const Ce=d.oxw();d.Q6J("@sliderAnimation",Ce.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,me,Ce.screenSize===Ce.screenSizeEnum.XS,Ce.screenSize!==Ce.screenSizeEnum.XS))}}function xe(at,oi){if(1&at){const Ce=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Ft){d.CHM(Ce);const Dt=d.oxw();return d.KtG(Dt.onSwipe(Ft))}),d.O4$(),d.TgZ(1,"svg",33)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"defs")(5,"linearGradient",34),d._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),d.qZA()(),d.TgZ(9,"g",8)(10,"g",38)(11,"g",39)(12,"g",40),d._UZ(13,"rect",41)(14,"rect",42)(15,"rect",43)(16,"circle",44)(17,"rect",45)(18,"rect",46)(19,"circle",47)(20,"rect",48)(21,"rect",49)(22,"rect",50)(23,"rect",51)(24,"rect",52)(25,"circle",53)(26,"circle",54)(27,"circle",55),d.qZA(),d.TgZ(28,"g",56)(29,"g",57)(30,"g",58),d._UZ(31,"path",59)(32,"rect",60)(33,"polygon",61),d.TgZ(34,"g",62),d._UZ(35,"path",63),d.qZA(),d._UZ(36,"rect",64)(37,"rect",65)(38,"rect",66)(39,"rect",67)(40,"rect",68)(41,"rect",69)(42,"rect",70)(43,"path",71)(44,"path",72),d.qZA(),d.TgZ(45,"g",73),d._UZ(46,"path",74)(47,"path",75)(48,"path",76)(49,"path",77)(50,"path",78)(51,"path",79)(52,"path",80)(53,"path",81)(54,"path",82)(55,"path",83)(56,"path",84)(57,"circle",85)(58,"circle",86),d.qZA(),d._UZ(59,"path",87),d.qZA()()()()()(),d.kcU(),d.TgZ(60,"div",30)(61,"mat-card-title"),d._uU(62,"Step 1: Deciding to Loop In"),d.qZA()(),d.TgZ(63,"div",31)(64,"mat-card-subtitle",32),d._uU(65," Your outgoing capacity is depleted and you want to regain it without opening new channels. "),d.qZA()()()}if(2&at){const Ce=d.oxw();d.Q6J("@sliderAnimation",Ce.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,me,Ce.screenSize===Ce.screenSizeEnum.XS,Ce.screenSize!==Ce.screenSizeEnum.XS))}}function de(at,oi){if(1&at){const Ce=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Ft){d.CHM(Ce);const Dt=d.oxw();return d.KtG(Dt.onSwipe(Ft))}),d.O4$(),d.TgZ(1,"svg",88)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"defs")(5,"linearGradient",89),d._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),d.qZA()(),d.TgZ(9,"g",90)(10,"g",91)(11,"g",92)(12,"g",93)(13,"g",94),d._UZ(14,"circle",95)(15,"path",96),d.TgZ(16,"g",97),d._UZ(17,"polygon",98)(18,"polygon",99)(19,"path",100),d.qZA(),d.TgZ(20,"g",101),d._UZ(21,"polygon",102)(22,"path",103)(23,"rect",104)(24,"path",105)(25,"rect",106)(26,"rect",107)(27,"rect",108)(28,"rect",109)(29,"circle",110)(30,"path",111),d.TgZ(31,"g",112)(32,"g",113),d._UZ(33,"g",114),d.qZA(),d._UZ(34,"g",115),d.qZA()()(),d.TgZ(35,"g",116)(36,"g",40),d._UZ(37,"rect",117)(38,"rect",42)(39,"rect",43)(40,"circle",118)(41,"rect",45)(42,"rect",46)(43,"circle",119)(44,"rect",48)(45,"rect",49)(46,"rect",50)(47,"rect",51)(48,"rect",52)(49,"circle",120)(50,"circle",54)(51,"circle",55)(52,"circle",121),d.qZA(),d.TgZ(53,"g",56)(54,"g",57)(55,"g",58),d._UZ(56,"path",59)(57,"rect",60)(58,"polygon",61),d.TgZ(59,"g",122),d._UZ(60,"path",63),d.qZA(),d._UZ(61,"rect",123)(62,"rect",124)(63,"rect",125)(64,"rect",126)(65,"rect",127)(66,"rect",128)(67,"rect",129)(68,"path",130)(69,"path",72),d.qZA(),d.TgZ(70,"g",73),d._UZ(71,"path",131)(72,"path",132)(73,"path",133)(74,"path",134)(75,"path",135)(76,"path",136)(77,"path",80)(78,"path",81)(79,"path",137)(80,"path",83)(81,"path",138)(82,"circle",85)(83,"circle",86),d.qZA(),d._UZ(84,"path",139),d.qZA()()()(),d._UZ(85,"path",140)(86,"path",141),d.qZA()()()(),d.kcU(),d.TgZ(87,"div",30)(88,"mat-card-title"),d._uU(89,"Step 2: Send payment out"),d.qZA()(),d.TgZ(90,"div",31)(91,"mat-card-subtitle",32),d._uU(92," Your node sends funds on-chain to loop server to be swapped with off-chain liquidity. "),d.qZA()()()}if(2&at){const Ce=d.oxw();d.Q6J("@sliderAnimation",Ce.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,me,Ce.screenSize===Ce.screenSizeEnum.XS,Ce.screenSize!==Ce.screenSizeEnum.XS))}}function ge(at,oi){if(1&at){const Ce=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Ft){d.CHM(Ce);const Dt=d.oxw();return d.KtG(Dt.onSwipe(Ft))}),d.O4$(),d.TgZ(1,"svg",142)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"g",90)(5,"g",143)(6,"g",144)(7,"g")(8,"g",145)(9,"g",146),d._UZ(10,"circle",12)(11,"path",147),d.qZA(),d.TgZ(12,"g",14),d._UZ(13,"ellipse",148)(14,"ellipse",16)(15,"rect",17)(16,"rect",18)(17,"rect",19)(18,"rect",20)(19,"rect",21)(20,"rect",22)(21,"rect",23)(22,"rect",24)(23,"rect",25)(24,"rect",26)(25,"rect",27)(26,"rect",28)(27,"rect",29),d.qZA()(),d.TgZ(28,"g",149),d._UZ(29,"polygon",150)(30,"polygon",99)(31,"path",151),d.qZA(),d.TgZ(32,"g",152),d._UZ(33,"polygon",102)(34,"path",103)(35,"rect",104)(36,"path",105)(37,"rect",106)(38,"rect",107)(39,"rect",108)(40,"rect",109)(41,"circle",110)(42,"path",111),d.TgZ(43,"g",112)(44,"g",113),d._UZ(45,"g",114),d.qZA(),d._UZ(46,"g",115),d.qZA()()(),d._UZ(47,"path",153),d.qZA()()()(),d.kcU(),d.TgZ(48,"div",30)(49,"mat-card-title"),d._uU(50,"Step 3: Recieve Funds Off-chain"),d.qZA()(),d.TgZ(51,"div",31)(52,"mat-card-subtitle",32),d._uU(53," Loop server sends equivalent funds off-chain to your node by making a lightning payment to you. "),d.qZA()()()}if(2&at){const Ce=d.oxw();d.Q6J("@sliderAnimation",Ce.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,me,Ce.screenSize===Ce.screenSizeEnum.XS,Ce.screenSize!==Ce.screenSizeEnum.XS))}}function qe(at,oi){if(1&at){const Ce=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Ft){d.CHM(Ce);const Dt=d.oxw();return d.KtG(Dt.onSwipe(Ft))}),d.O4$(),d.TgZ(1,"svg",154)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"defs")(5,"linearGradient",34),d._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),d.qZA()(),d.TgZ(9,"g",90)(10,"g",155)(11,"g",156)(12,"g",157)(13,"g",158)(14,"g",40),d._UZ(15,"rect",159)(16,"rect",160)(17,"rect",161)(18,"circle",162)(19,"rect",163)(20,"rect",164)(21,"circle",165)(22,"rect",166)(23,"rect",167)(24,"rect",168)(25,"rect",169)(26,"circle",170)(27,"circle",171),d.qZA(),d.TgZ(28,"g",172),d._UZ(29,"path",173)(30,"rect",174)(31,"polygon",175)(32,"circle",176)(33,"path",177)(34,"rect",178)(35,"rect",179)(36,"rect",180)(37,"rect",181)(38,"rect",182)(39,"rect",183)(40,"rect",184)(41,"path",185)(42,"path",186),d.qZA(),d._UZ(43,"path",187),d.qZA()(),d._UZ(44,"circle",188),d.qZA()()()(),d.kcU(),d.TgZ(45,"div",30)(46,"mat-card-title"),d._uU(47,"Done!"),d.qZA()(),d.TgZ(48,"div",31)(49,"mat-card-subtitle",32),d._uU(50," You send the payment on-chain from your wallet and also move remote balance to the local side of the node, gaining outgoing capacity. "),d.qZA()()()}if(2&at){const Ce=d.oxw();d.Q6J("@sliderAnimation",Ce.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,me,Ce.screenSize===Ce.screenSizeEnum.XS,Ce.screenSize!==Ce.screenSizeEnum.XS))}}let oe=(()=>{class at{constructor(Ce){this.commonService=Ce,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new d.vpe,this.screenSize="",this.screenSizeEnum=m.cu}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(Ce){2===Ce.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===Ce.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}static#e=this.\u0275fac=function(St){return new(St||at)(d.Y36(B.v))};static#t=this.\u0275cmp=d.Xpm({type:at,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(St,Ft){if(1&St&&d.YNc(0,ye,1,0,"ng-container",0)(1,he,32,5,"ng-template",null,1,d.W1O)(3,xe,66,5,"ng-template",null,2,d.W1O)(5,de,93,5,"ng-template",null,3,d.W1O)(7,ge,54,5,"ng-template",null,4,d.W1O)(9,qe,51,5,"ng-template",null,5,d.W1O),2&St){const Dt=d.MAs(2),It=d.MAs(4),Ut=d.MAs(6),ai=d.MAs(8),_i=d.MAs(10);d.Q6J("ngTemplateOutlet",1===Ft.stepNumber?Dt:2===Ft.stepNumber?It:3===Ft.stepNumber?Ut:4===Ft.stepNumber?ai:_i)}},dependencies:[I.mk,I.tP,W.xw,W.Wh,W.yH,j.oO,X.$j,X.n5],styles:["svg.small-svg[_ngcontent-%COMP%]{height:50%;min-height:50%;max-width:100%}svg.large-svg[_ngcontent-%COMP%]{height:60%;min-height:60%;max-width:100%}"],data:{animation:[Je.l]}})}return at})();function ve(at,oi){1&at&&d.GkF(0)}const le=(at,oi)=>({"small-svg":at,"large-svg":oi});function Ge(at,oi){if(1&at){const Ce=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Ft){d.CHM(Ce);const Dt=d.oxw();return d.KtG(Dt.onSwipe(Ft))}),d.O4$(),d.TgZ(1,"svg",7)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"g",8)(5,"g",9)(6,"g",10)(7,"g",11),d._UZ(8,"circle",12)(9,"path",13),d.qZA(),d.TgZ(10,"g",14),d._UZ(11,"ellipse",15)(12,"ellipse",16)(13,"rect",17)(14,"rect",18)(15,"rect",19)(16,"rect",20)(17,"rect",21)(18,"rect",22)(19,"rect",23)(20,"rect",24)(21,"rect",25)(22,"rect",26)(23,"rect",27)(24,"rect",28)(25,"rect",29),d.qZA()()()()(),d.kcU(),d.TgZ(26,"div",30)(27,"mat-card-title"),d._uU(28,"Loop Out explained."),d.qZA()(),d.TgZ(29,"div",31)(30,"mat-card-subtitle",32),d._uU(31," Lightning Loop is a non custodial service offered by Lightning Labs to bridge on-chain and off-chain Bitcoin using Submarine swaps. "),d.qZA()()()}if(2&at){const Ce=d.oxw();d.Q6J("@sliderAnimation",Ce.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,le,Ce.screenSize===Ce.screenSizeEnum.XS,Ce.screenSize!==Ce.screenSizeEnum.XS))}}function We(at,oi){if(1&at){const Ce=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Ft){d.CHM(Ce);const Dt=d.oxw();return d.KtG(Dt.onSwipe(Ft))}),d.O4$(),d.TgZ(1,"svg",33)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"defs")(5,"linearGradient",34),d._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),d.qZA()(),d.TgZ(9,"g",8)(10,"g",38)(11,"g",39)(12,"g",40)(13,"g",41)(14,"g",42),d._UZ(15,"rect",43)(16,"rect",44)(17,"rect",45)(18,"circle",46)(19,"rect",47)(20,"rect",48)(21,"circle",49)(22,"rect",50)(23,"rect",51)(24,"rect",52)(25,"rect",53)(26,"circle",54)(27,"circle",55),d.qZA(),d.TgZ(28,"g",56),d._UZ(29,"path",57)(30,"rect",58)(31,"polygon",59)(32,"circle",60)(33,"path",61)(34,"rect",62)(35,"rect",63)(36,"rect",64)(37,"rect",65)(38,"rect",66)(39,"rect",67)(40,"rect",68)(41,"path",69)(42,"path",70),d.qZA(),d._UZ(43,"path",71),d.qZA()(),d._UZ(44,"circle",72),d.qZA()()()(),d.kcU(),d.TgZ(45,"div",30)(46,"mat-card-title"),d._uU(47,"Step 1: Deciding to Loop Out"),d.qZA()(),d.TgZ(48,"div",31)(49,"mat-card-subtitle",32),d._uU(50," You have a channel with a local balance amount and you want to gain inbound liquidity. "),d.qZA()()()}if(2&at){const Ce=d.oxw();d.Q6J("@sliderAnimation",Ce.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,le,Ce.screenSize===Ce.screenSizeEnum.XS,Ce.screenSize!==Ce.screenSizeEnum.XS))}}function wt(at,oi){if(1&at){const Ce=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Ft){d.CHM(Ce);const Dt=d.oxw();return d.KtG(Dt.onSwipe(Ft))}),d.O4$(),d.TgZ(1,"svg",73)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"defs")(5,"linearGradient",74),d._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),d.qZA()(),d.TgZ(9,"g",8)(10,"g",75)(11,"g",76),d._UZ(12,"circle",77)(13,"path",78),d.TgZ(14,"g",79),d._UZ(15,"polygon",80)(16,"polygon",81)(17,"path",82),d.qZA(),d.TgZ(18,"g",83),d._UZ(19,"polygon",84)(20,"path",85)(21,"rect",86)(22,"path",87)(23,"rect",88)(24,"rect",89)(25,"rect",90)(26,"rect",91)(27,"circle",92)(28,"path",93),d.TgZ(29,"g",94)(30,"g",95),d._UZ(31,"g",96),d.qZA(),d._UZ(32,"g",97),d.qZA(),d._UZ(33,"path",98),d.qZA(),d.TgZ(34,"g",99)(35,"g",41)(36,"g",42),d._UZ(37,"rect",43)(38,"rect",44)(39,"rect",45)(40,"circle",46)(41,"rect",47)(42,"rect",48)(43,"circle",49)(44,"rect",50)(45,"rect",51)(46,"rect",52)(47,"rect",53)(48,"circle",100)(49,"circle",54)(50,"circle",55)(51,"circle",101),d.qZA(),d.TgZ(52,"g",56),d._UZ(53,"path",57)(54,"rect",102)(55,"polygon",103)(56,"circle",104)(57,"path",61)(58,"rect",105)(59,"rect",106)(60,"rect",107)(61,"rect",108)(62,"rect",109)(63,"rect",110)(64,"rect",68)(65,"path",69)(66,"path",70),d.qZA(),d._UZ(67,"path",111),d.qZA()()()()()(),d.kcU(),d.TgZ(68,"div",30)(69,"mat-card-title"),d._uU(70,"Step 2: Send lightning payment"),d.qZA()(),d.TgZ(71,"div",31)(72,"mat-card-subtitle",32),d._uU(73," Your node pays a lightning invoice for the amount requested via the loop service. This moves the local balance, for the amount paid, to the remote side of the channel. "),d.qZA()()()}if(2&at){const Ce=d.oxw();d.Q6J("@sliderAnimation",Ce.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,le,Ce.screenSize===Ce.screenSizeEnum.XS,Ce.screenSize!==Ce.screenSizeEnum.XS))}}function mt(at,oi){if(1&at){const Ce=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Ft){d.CHM(Ce);const Dt=d.oxw();return d.KtG(Dt.onSwipe(Ft))}),d.O4$(),d.TgZ(1,"svg",112)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"g",8)(5,"g",113)(6,"g",114)(7,"g",115)(8,"g",116),d._UZ(9,"circle",12)(10,"path",117),d.qZA(),d.TgZ(11,"g",14),d._UZ(12,"ellipse",118)(13,"ellipse",16)(14,"rect",17)(15,"rect",18)(16,"rect",19)(17,"rect",20)(18,"rect",21)(19,"rect",22)(20,"rect",23)(21,"rect",24)(22,"rect",25)(23,"rect",26)(24,"rect",27)(25,"rect",28)(26,"rect",29),d.qZA()(),d.TgZ(27,"g",119),d._UZ(28,"polygon",80)(29,"polygon",120)(30,"path",82),d.qZA(),d.TgZ(31,"g",121),d._UZ(32,"polygon",84)(33,"path",85)(34,"rect",86)(35,"path",87)(36,"rect",88)(37,"rect",89)(38,"rect",90)(39,"rect",91)(40,"circle",122)(41,"path",93),d.TgZ(42,"g",94)(43,"g",95),d._UZ(44,"g",96),d.qZA(),d._UZ(45,"g",97),d.qZA(),d._UZ(46,"path",123),d.qZA()()()()(),d.kcU(),d.TgZ(47,"div",30)(48,"mat-card-title"),d._uU(49,"Step 3: Receive funds back"),d.qZA()(),d.TgZ(50,"div",31)(51,"mat-card-subtitle",32),d._uU(52," Loop service then sends you a payment on-chain for the amount same as the lightning payment minus the fee. "),d.qZA()()()}if(2&at){const Ce=d.oxw();d.Q6J("@sliderAnimation",Ce.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,le,Ce.screenSize===Ce.screenSizeEnum.XS,Ce.screenSize!==Ce.screenSizeEnum.XS))}}function kt(at,oi){if(1&at){const Ce=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Ft){d.CHM(Ce);const Dt=d.oxw();return d.KtG(Dt.onSwipe(Ft))}),d.O4$(),d.TgZ(1,"svg",124)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"defs")(5,"linearGradient",34),d._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),d.qZA()(),d.TgZ(9,"g",8)(10,"g",125)(11,"g",126)(12,"g",42),d._UZ(13,"rect",127)(14,"rect",128)(15,"rect",129)(16,"circle",130)(17,"rect",131)(18,"rect",132)(19,"circle",133)(20,"rect",134)(21,"rect",135)(22,"rect",136)(23,"rect",137)(24,"rect",138)(25,"circle",139)(26,"circle",140)(27,"circle",141),d.qZA(),d.TgZ(28,"g",142)(29,"g",143)(30,"g",144),d._UZ(31,"path",145)(32,"rect",146)(33,"polygon",147),d.TgZ(34,"g",148),d._UZ(35,"path",149),d.qZA(),d._UZ(36,"rect",150)(37,"rect",151)(38,"rect",152)(39,"rect",153)(40,"rect",154)(41,"rect",155)(42,"rect",156)(43,"path",157)(44,"path",158),d.qZA(),d.TgZ(45,"g",159),d._UZ(46,"path",160)(47,"path",161)(48,"path",162)(49,"path",163)(50,"path",164)(51,"path",165)(52,"path",166)(53,"path",167)(54,"path",168)(55,"path",169)(56,"path",170)(57,"circle",171)(58,"circle",172),d.qZA(),d._UZ(59,"path",173),d.qZA()()()()()(),d.kcU(),d.TgZ(60,"div",30)(61,"mat-card-title"),d._uU(62,"Done!"),d.qZA()(),d.TgZ(63,"div",31)(64,"mat-card-subtitle",32),d._uU(65," Final settlement occurs when your node sweeps the on-chain payment and the loop server settles the lightning invoice. You receive the payment on-chain in your wallet and also move local balance to the remote side of the channel, gaining inbound capacity. "),d.qZA()()()}if(2&at){const Ce=d.oxw();d.Q6J("@sliderAnimation",Ce.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,le,Ce.screenSize===Ce.screenSizeEnum.XS,Ce.screenSize!==Ce.screenSizeEnum.XS))}}let Ae=(()=>{class at{constructor(Ce){this.commonService=Ce,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new d.vpe,this.screenSize="",this.screenSizeEnum=m.cu}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(Ce){2===Ce.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===Ce.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}static#e=this.\u0275fac=function(St){return new(St||at)(d.Y36(B.v))};static#t=this.\u0275cmp=d.Xpm({type:at,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(St,Ft){if(1&St&&d.YNc(0,ve,1,0,"ng-container",0)(1,Ge,32,5,"ng-template",null,1,d.W1O)(3,We,51,5,"ng-template",null,2,d.W1O)(5,wt,74,5,"ng-template",null,3,d.W1O)(7,mt,53,5,"ng-template",null,4,d.W1O)(9,kt,66,5,"ng-template",null,5,d.W1O),2&St){const Dt=d.MAs(2),It=d.MAs(4),Ut=d.MAs(6),ai=d.MAs(8),_i=d.MAs(10);d.Q6J("ngTemplateOutlet",1===Ft.stepNumber?Dt:2===Ft.stepNumber?It:3===Ft.stepNumber?Ut:4===Ft.stepNumber?ai:_i)}},dependencies:[I.mk,I.tP,W.xw,W.Wh,W.yH,j.oO,X.$j,X.n5],styles:["svg.small-svg[_ngcontent-%COMP%]{height:50%;min-height:50%;max-width:100%}svg.large-svg[_ngcontent-%COMP%]{height:60%;min-height:60%;max-width:100%}"],data:{animation:[Je.l]}})}return at})();const Be=["stepper"];function it(at,oi){if(1&at&&(d.TgZ(0,"div",48)(1,"p",49)(2,"strong"),d._uU(3,"Channel Peer:\xa0"),d.qZA(),d._uU(4),d.ALo(5,"titlecase"),d.qZA(),d.TgZ(6,"p",50)(7,"strong"),d._uU(8,"Channel ID:\xa0"),d.qZA(),d._uU(9),d.qZA(),d._UZ(10,"p",50),d.qZA()),2&at){const Ce=d.oxw(2);d.xp6(4),d.Oqu(d.lcZ(5,2,Ce.channel.remote_alias)),d.xp6(5),d.Oqu(Ce.channel.chan_id)}}function $e(at,oi){if(1&at&&d._uU(0),2&at){const Ce=d.oxw(2);d.Oqu(Ce.inputFormLabel)}}function ke(at,oi){1&at&&(d.TgZ(0,"mat-error"),d._uU(1,"Amount is required."),d.qZA())}function st(at,oi){if(1&at&&(d.TgZ(0,"mat-error"),d._uU(1),d.ALo(2,"number"),d.qZA()),2&at){const Ce=d.oxw(2);d.xp6(1),d.hij("Amount must be greater than or equal to ",d.lcZ(2,1,Ce.minQuote.amount),".")}}function Ke(at,oi){if(1&at&&(d.TgZ(0,"mat-error"),d._uU(1),d.ALo(2,"number"),d.qZA()),2&at){const Ce=d.oxw(2);d.xp6(1),d.hij("Amount must be less than or equal to ",d.lcZ(2,1,Ce.maxQuote.amount),".")}}function Et(at,oi){1&at&&(d.TgZ(0,"mat-error"),d._uU(1,"Confirmation target is required."),d.qZA())}function ct(at,oi){1&at&&(d.TgZ(0,"mat-error"),d._uU(1,"Confirmation target must be a positive number."),d.qZA())}function te(at,oi){1&at&&(d.TgZ(0,"mat-error"),d._uU(1,"Percentage is required."),d.qZA())}function Pe(at,oi){1&at&&(d.TgZ(0,"mat-error"),d._uU(1,"Percentage must be a positive number."),d.qZA())}function $t(at,oi){if(1&at&&(d.TgZ(0,"mat-form-field",50)(1,"mat-label"),d._uU(2,"Max Off-chain Routing Fee (%)"),d.qZA(),d._UZ(3,"input",51),d.YNc(4,te,2,0,"mat-error",25)(5,Pe,2,0,"mat-error",25),d.qZA()),2&at){const Ce=d.oxw(2);d.xp6(3),d.Q6J("step",1),d.xp6(1),d.Q6J("ngIf",null==Ce.inputFormGroup.controls.routingFeePercent.errors?null:Ce.inputFormGroup.controls.routingFeePercent.errors.required),d.xp6(1),d.Q6J("ngIf",null==Ce.inputFormGroup.controls.routingFeePercent.errors?null:Ce.inputFormGroup.controls.routingFeePercent.errors.min)}}function Ze(at,oi){1&at&&(d.TgZ(0,"div",52)(1,"mat-slide-toggle",53),d._uU(2,"Fast"),d.qZA(),d.TgZ(3,"mat-icon",54),d._uU(4,"info_outline"),d.qZA()())}function Qe(at,oi){if(1&at&&d._uU(0),2&at){const Ce=d.oxw(2);d.Oqu(Ce.quoteFormLabel)}}function zt(at,oi){1&at&&(d.TgZ(0,"p",55)(1,"mat-icon",56),d._uU(2,"close"),d.qZA(),d._uU(3,"Local balance amount is insufficient for swap."),d.qZA())}function xt(at,oi){if(1&at){const Ce=d.EpF();d.TgZ(0,"button",57),d.NdJ("click",function(){d.CHM(Ce);const Ft=d.oxw(2);return d.KtG(Ft.onValidateAmount())}),d._uU(1,"Next"),d.qZA()}}function Ot(at,oi){if(1&at){const Ce=d.EpF();d.TgZ(0,"button",58),d.NdJ("click",function(){d.CHM(Ce);const Ft=d.oxw(2);return d.KtG(Ft.onLoop())}),d._uU(1),d.qZA()}if(2&at){const Ce=d.oxw(2);d.xp6(1),d.hij("Initiate ",Ce.loopDirectionCaption,"")}}function yt(at,oi){if(1&at&&d._uU(0),2&at){const Ce=d.oxw(3);d.Oqu(Ce.addressFormLabel)}}function nt(at,oi){1&at&&(d.TgZ(0,"mat-error"),d._uU(1,"Address is required."),d.qZA())}function Ee(at,oi){if(1&at){const Ce=d.EpF();d.TgZ(0,"mat-step",16)(1,"form",17),d.YNc(2,yt,1,1,"ng-template",18),d.TgZ(3,"div",59)(4,"mat-radio-group",60),d.NdJ("change",function(Ft){d.CHM(Ce);const Dt=d.oxw(2);return d.KtG(Dt.onAddressTypeChange(Ft))}),d.TgZ(5,"mat-radio-button",61),d._uU(6,"Node Local Address"),d.qZA(),d.TgZ(7,"mat-radio-button",62),d._uU(8,"External Address"),d.qZA()(),d.TgZ(9,"mat-form-field",63)(10,"mat-label"),d._uU(11,"Address"),d.qZA(),d._UZ(12,"input",64),d.YNc(13,nt,2,0,"mat-error",25),d.qZA()(),d.TgZ(14,"div",29)(15,"button",65),d.NdJ("click",function(){d.CHM(Ce);const Ft=d.oxw(2);return d.KtG(Ft.onLoop())}),d._uU(16),d.qZA()()()()}if(2&at){const Ce=d.oxw(2);d.Q6J("stepControl",Ce.addressFormGroup)("editable",Ce.flgEditable),d.xp6(1),d.Q6J("formGroup",Ce.addressFormGroup),d.xp6(11),d.Q6J("required","external"===Ce.addressFormGroup.controls.addressType.value),d.xp6(1),d.Q6J("ngIf",null==Ce.addressFormGroup.controls.address.errors?null:Ce.addressFormGroup.controls.address.errors.required),d.xp6(3),d.hij("Initiate ",Ce.loopDirectionCaption,"")}}function tt(at,oi){if(1&at&&d._uU(0),2&at){const Ce=d.oxw(2);d.hij("",Ce.loopDirectionCaption," Status")}}function Ue(at,oi){if(1&at&&(d.TgZ(0,"mat-icon",66),d._uU(1),d.qZA()),2&at){const Ce=d.oxw(2);d.xp6(1),d.Oqu(Ce.loopStatus&&null!=Ce.loopStatus&&Ce.loopStatus.id_bytes?"check":"close")}}function Xe(at,oi){1&at&&d._UZ(0,"div")}function gt(at,oi){1&at&&d._UZ(0,"mat-progress-bar",67)}function Le(at,oi){if(1&at&&(d.TgZ(0,"h4",68),d._uU(1),d.qZA()),2&at){const Ce=d.oxw(2);d.xp6(1),d.Oqu(Ce.loopStatus&&Ce.loopStatus.error?Ce.loopDirectionCaption+" failed.":Ce.loopStatus&&Ce.loopStatus.id_bytes&&Ce.channel?Ce.loopDirectionCaption+" request placed successfully. You can check the status of the request on the 'Loop' menu.":Ce.loopDirectionCaption+" request placed successfully.")}}function be(at,oi){if(1&at){const Ce=d.EpF();d.TgZ(0,"button",69),d.NdJ("click",function(){d.CHM(Ce);const Ft=d.oxw(2);return d.KtG(Ft.goToLoop())}),d._uU(1,"Check Status"),d.qZA()}}function J(at,oi){if(1&at){const Ce=d.EpF();d.TgZ(0,"button",70),d.NdJ("click",function(){d.CHM(Ce);const Ft=d.oxw(2);return d.KtG(Ft.onRestart())}),d._uU(1,"Start Again"),d.qZA()}}function re(at,oi){if(1&at){const Ce=d.EpF();d.TgZ(0,"div",3)(1,"div",4)(2,"mat-card-header",5)(3,"div",6)(4,"span",7),d._uU(5),d.qZA()(),d.TgZ(6,"div",8)(7,"button",9),d.NdJ("click",function(){d.CHM(Ce);const Ft=d.oxw();return d.KtG(Ft.showInfo())}),d._uU(8,"?"),d.qZA(),d.TgZ(9,"button",10),d.NdJ("click",function(){d.CHM(Ce);const Ft=d.oxw();return d.KtG(Ft.onClose())}),d._uU(10,"X"),d.qZA()()(),d.TgZ(11,"mat-card-content",11)(12,"div",12),d.YNc(13,it,11,4,"div",13),d.TgZ(14,"mat-vertical-stepper",14,15),d.NdJ("selectionChange",function(Ft){d.CHM(Ce);const Dt=d.oxw();return d.KtG(Dt.stepSelectionChanged(Ft))}),d.TgZ(16,"mat-step",16)(17,"form",17),d.YNc(18,$e,1,1,"ng-template",18),d.TgZ(19,"div",19),d._UZ(20,"rtl-loop-quote",20)(21,"rtl-loop-quote",20),d.qZA(),d.TgZ(22,"div",21)(23,"mat-form-field",22)(24,"mat-label"),d._uU(25,"Amount"),d.qZA(),d._UZ(26,"input",23),d.TgZ(27,"mat-hint"),d._uU(28),d.ALo(29,"number"),d.ALo(30,"number"),d.qZA(),d.TgZ(31,"span",24),d._uU(32,"Sats"),d.qZA(),d.YNc(33,ke,2,0,"mat-error",25)(34,st,3,3,"mat-error",25)(35,Ke,3,3,"mat-error",25),d.qZA(),d.TgZ(36,"mat-form-field",22)(37,"mat-label"),d._uU(38,"Sweep Confirmation Target"),d.qZA(),d._UZ(39,"input",26),d.YNc(40,Et,2,0,"mat-error",25)(41,ct,2,0,"mat-error",25),d.qZA(),d.YNc(42,$t,6,3,"mat-form-field",27),d.qZA(),d.YNc(43,Ze,5,0,"div",28),d.TgZ(44,"div",29)(45,"button",30),d.NdJ("click",function(){d.CHM(Ce);const Ft=d.oxw();return d.KtG(Ft.onEstimateQuote())}),d._uU(46,"Estimate Quote"),d.qZA()()()(),d.TgZ(47,"mat-step",16)(48,"form",17),d.YNc(49,Qe,1,1,"ng-template",18),d._UZ(50,"rtl-loop-quote",31),d.YNc(51,zt,4,0,"p",32),d.TgZ(52,"div",29),d.YNc(53,xt,2,0,"button",33)(54,Ot,2,1,"button",34),d.qZA()()(),d.YNc(55,Ee,17,6,"mat-step",35),d.TgZ(56,"mat-step",36)(57,"form",17),d.YNc(58,tt,1,1,"ng-template",18),d.TgZ(59,"div",37)(60,"mat-expansion-panel",38)(61,"mat-expansion-panel-header")(62,"mat-panel-title")(63,"span",39),d._uU(64),d.YNc(65,Ue,2,1,"mat-icon",40),d.qZA()()(),d.YNc(66,Xe,1,0,"div",41),d.qZA(),d.YNc(67,gt,1,0,"mat-progress-bar",42),d.qZA(),d.YNc(68,Le,2,1,"h4",43),d.TgZ(69,"div",29),d.YNc(70,be,2,0,"button",44)(71,J,2,0,"button",45),d.qZA()()()(),d.TgZ(72,"div",46)(73,"button",47),d._uU(74,"Close"),d.qZA()()()()()()}if(2&at){const Ce=d.oxw(),St=d.MAs(2);d.Q6J("@opacityAnimation",void 0),d.xp6(3),d.Q6J("fxFlex",Ce.screenSize===Ce.screenSizeEnum.XS||Ce.screenSize===Ce.screenSizeEnum.SM?"83":"91"),d.xp6(2),d.Oqu(Ce.channel?"Channel "+Ce.loopDirectionCaption:Ce.loopDirectionCaption),d.xp6(1),d.Q6J("fxFlex",Ce.screenSize===Ce.screenSizeEnum.XS||Ce.screenSize===Ce.screenSizeEnum.SM?"17":"9"),d.xp6(7),d.Q6J("ngIf",Ce.channel),d.xp6(1),d.Q6J("linear",!0),d.xp6(2),d.Q6J("stepControl",Ce.inputFormGroup)("editable",Ce.flgEditable),d.xp6(1),d.Q6J("formGroup",Ce.inputFormGroup),d.xp6(3),d.Q6J("quote",Ce.minQuote)("termCaption","min")("panelExpanded",!1)("showPanel",!0),d.xp6(1),d.Q6J("quote",Ce.maxQuote)("termCaption","max")("panelExpanded",!1)("showPanel",!0),d.xp6(2),d.Q6J("fxFlex",Ce.direction===Ce.LoopTypeEnum.LOOP_OUT?"35":"48"),d.xp6(3),d.Q6J("step",1e3),d.xp6(2),d.AsE("Range: ",d.lcZ(29,51,Ce.minQuote.amount),"-",d.lcZ(30,53,Ce.maxQuote.amount),""),d.xp6(5),d.Q6J("ngIf",null==Ce.inputFormGroup.controls.amount.errors?null:Ce.inputFormGroup.controls.amount.errors.required),d.xp6(1),d.Q6J("ngIf",null==Ce.inputFormGroup.controls.amount.errors?null:Ce.inputFormGroup.controls.amount.errors.min),d.xp6(1),d.Q6J("ngIf",null==Ce.inputFormGroup.controls.amount.errors?null:Ce.inputFormGroup.controls.amount.errors.max),d.xp6(1),d.Q6J("fxFlex",Ce.direction===Ce.LoopTypeEnum.LOOP_OUT?"30":"48"),d.xp6(3),d.Q6J("step",1),d.xp6(1),d.Q6J("ngIf",null==Ce.inputFormGroup.controls.sweepConfTarget.errors?null:Ce.inputFormGroup.controls.sweepConfTarget.errors.required),d.xp6(1),d.Q6J("ngIf",null==Ce.inputFormGroup.controls.sweepConfTarget.errors?null:Ce.inputFormGroup.controls.sweepConfTarget.errors.min),d.xp6(1),d.Q6J("ngIf",Ce.direction===Ce.LoopTypeEnum.LOOP_OUT),d.xp6(1),d.Q6J("ngIf",Ce.direction===Ce.LoopTypeEnum.LOOP_OUT),d.xp6(4),d.Q6J("stepControl",Ce.quoteFormGroup)("editable",Ce.flgEditable),d.xp6(1),d.Q6J("formGroup",Ce.quoteFormGroup),d.xp6(2),d.Q6J("quote",Ce.quote)("showPanel",!1),d.xp6(1),d.Q6J("ngIf",Ce.inputFormGroup.controls.amount.value>Ce.localBalanceToCompare),d.xp6(2),d.Q6J("ngIf",Ce.direction===Ce.LoopTypeEnum.LOOP_OUT),d.xp6(1),d.Q6J("ngIf",Ce.direction===Ce.LoopTypeEnum.LOOP_IN),d.xp6(1),d.Q6J("ngIf",Ce.direction===Ce.LoopTypeEnum.LOOP_OUT),d.xp6(1),d.Q6J("stepControl",Ce.statusFormGroup),d.xp6(1),d.Q6J("formGroup",Ce.statusFormGroup),d.xp6(3),d.Q6J("expanded",!!Ce.loopStatus),d.xp6(4),d.Oqu(Ce.loopStatus?Ce.loopStatus.id_bytes?Ce.loopDirectionCaption+" request details":Ce.loopDirectionCaption+" error details":"Waiting for "+Ce.loopDirectionCaption+" request..."),d.xp6(1),d.Q6J("ngIf",Ce.loopStatus),d.xp6(1),d.Q6J("ngIf",!Ce.loopStatus)("ngIfElse",St),d.xp6(1),d.Q6J("ngIf",!Ce.loopStatus),d.xp6(1),d.Q6J("ngIf",Ce.loopStatus),d.xp6(2),d.Q6J("ngIf",Ce.loopStatus&&Ce.loopStatus.id_bytes&&Ce.channel),d.xp6(1),d.Q6J("ngIf",Ce.loopStatus&&(Ce.loopStatus.error||!Ce.loopStatus.id_bytes)),d.xp6(2),d.Q6J("mat-dialog-close",!1)}}function Ie(at,oi){if(1&at&&d._UZ(0,"rtl-loop-status",71),2&at){const Ce=d.oxw();d.Q6J("loopStatus",Ce.loopStatus)}}function Nt(at,oi){if(1&at){const Ce=d.EpF();d.TgZ(0,"rtl-loop-out-info-graphics",87),d.NdJ("stepNumberChange",function(Ft){d.CHM(Ce);const Dt=d.oxw(2);return d.KtG(Dt.stepNumber=Ft)}),d.qZA()}if(2&at){const Ce=d.oxw(2);d.Q6J("animationDirection",Ce.animationDirection)("stepNumber",Ce.stepNumber)}}function At(at,oi){if(1&at){const Ce=d.EpF();d.TgZ(0,"rtl-loop-in-info-graphics",87),d.NdJ("stepNumberChange",function(Ft){d.CHM(Ce);const Dt=d.oxw(2);return d.KtG(Dt.stepNumber=Ft)}),d.qZA()}if(2&at){const Ce=d.oxw(2);d.Q6J("animationDirection",Ce.animationDirection)("stepNumber",Ce.stepNumber)}}const Zt=(at,oi)=>({"dot-primary":at,"dot-primary-lighter":oi});function mi(at,oi){if(1&at){const Ce=d.EpF();d.TgZ(0,"span",88),d.NdJ("click",function(){const Dt=d.CHM(Ce).$implicit,It=d.oxw(2);return d.KtG(It.onStepChanged(Dt))}),d._UZ(1,"p",89),d.qZA()}if(2&at){const Ce=oi.$implicit,St=d.oxw(2);d.xp6(1),d.Q6J("ngClass",d.WLB(1,Zt,St.stepNumber===Ce,St.stepNumber!==Ce))}}function Jt(at,oi){if(1&at){const Ce=d.EpF();d.TgZ(0,"button",90),d.NdJ("click",function(){d.CHM(Ce);const Ft=d.oxw(2);return d.KtG(Ft.onReadMore())}),d._uU(1,"Read More"),d.qZA()}}function Xt(at,oi){if(1&at){const Ce=d.EpF();d.TgZ(0,"button",91),d.NdJ("click",function(){d.CHM(Ce);const Ft=d.oxw(2);return d.KtG(Ft.onStepChanged(4))}),d._uU(1,"Back"),d.qZA()}}function Hi(at,oi){if(1&at){const Ce=d.EpF();d.TgZ(0,"button",92),d.NdJ("click",function(){d.CHM(Ce);const Ft=d.oxw(2);return Ft.flgShowInfo=!1,d.KtG(Ft.stepNumber=1)}),d._uU(1,"Close"),d.qZA()}}function li(at,oi){if(1&at){const Ce=d.EpF();d.TgZ(0,"button",93),d.NdJ("click",function(){d.CHM(Ce);const Ft=d.oxw(2);return Ft.flgShowInfo=!1,d.KtG(Ft.stepNumber=1)}),d._uU(1,"Close"),d.qZA()}}function hi(at,oi){if(1&at){const Ce=d.EpF();d.TgZ(0,"button",94),d.NdJ("click",function(){d.CHM(Ce);const Ft=d.oxw(2);return d.KtG(Ft.onStepChanged(Ft.stepNumber-1))}),d._uU(1,"Back"),d.qZA()}}function un(at,oi){if(1&at){const Ce=d.EpF();d.TgZ(0,"button",95),d.NdJ("click",function(){d.CHM(Ce);const Ft=d.oxw(2);return d.KtG(Ft.onStepChanged(Ft.stepNumber+1))}),d._uU(1,"Next"),d.qZA()}}const Qi=()=>[1,2,3,4,5];function xi(at,oi){if(1&at){const Ce=d.EpF();d.TgZ(0,"div",72)(1,"div",19)(2,"mat-card-header",73)(3,"div",74),d._UZ(4,"span",7),d.qZA(),d.TgZ(5,"div",75)(6,"button",10),d.NdJ("click",function(){d.CHM(Ce);const Ft=d.oxw();return Ft.flgShowInfo=!1,d.KtG(Ft.stepNumber=1)}),d._uU(7,"X"),d.qZA()()(),d.TgZ(8,"mat-card-content",76),d.YNc(9,Nt,1,2,"rtl-loop-out-info-graphics",77)(10,At,1,2,"rtl-loop-in-info-graphics",77),d.qZA(),d.TgZ(11,"div",78),d.YNc(12,mi,2,4,"span",79),d.qZA(),d.TgZ(13,"div",80),d.YNc(14,Jt,2,0,"button",81)(15,Xt,2,0,"button",82)(16,Hi,2,0,"button",83)(17,li,2,0,"button",84)(18,hi,2,0,"button",85)(19,un,2,0,"button",86),d.qZA()()()}if(2&at){const Ce=d.oxw();d.Q6J("@opacityAnimation",void 0),d.xp6(9),d.Q6J("ngIf",Ce.direction===Ce.LoopTypeEnum.LOOP_OUT),d.xp6(1),d.Q6J("ngIf",Ce.direction===Ce.LoopTypeEnum.LOOP_IN),d.xp6(2),d.Q6J("ngForOf",d.DdM(10,Qi)),d.xp6(2),d.Q6J("ngIf",5===Ce.stepNumber),d.xp6(1),d.Q6J("ngIf",5===Ce.stepNumber),d.xp6(1),d.Q6J("ngIf",5===Ce.stepNumber),d.xp6(1),d.Q6J("ngIf",Ce.stepNumber<5),d.xp6(1),d.Q6J("ngIf",Ce.stepNumber>1&&Ce.stepNumber<5),d.xp6(1),d.Q6J("ngIf",Ce.stepNumber<5)}}let sn=(()=>{class at{constructor(Ce,St,Ft,Dt,It,Ut,ai,_i,bi){this.dialogRef=Ce,this.data=St,this.store=Ft,this.loopService=Dt,this.formBuilder=It,this.decimalPipe=Ut,this.logger=ai,this.router=_i,this.commonService=bi,this.faInfoCircle=l.sqG,this.LoopTypeEnum=m.$I,this.direction=m.$I.LOOP_OUT,this.loopDirectionCaption="Loop out",this.loopStatus=null,this.inputFormLabel="Amount to loop out",this.quoteFormLabel="Confirm Quote",this.addressFormLabel="Withdrawal Address",this.prepayRoutingFee=36,this.flgShowInfo=!1,this.stepNumber=1,this.screenSize="",this.screenSizeEnum=m.cu,this.animationDirection="forward",this.flgEditable=!0,this.localBalanceToCompare=null,this.unSubs=[new t.x,new t.x,new t.x,new t.x,new t.x,new t.x,new t.x]}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),this.channel=this.data.channel,this.minQuote=this.data.minQuote?this.data.minQuote:{},this.maxQuote=this.data.maxQuote?this.data.maxQuote:{},this.direction=this.data.direction||m.$I.LOOP_OUT,this.loopDirectionCaption=this.direction===m.$I.LOOP_IN?"Loop in":"Loop out",this.inputFormLabel="Amount to "+this.loopDirectionCaption,this.inputFormGroup=this.formBuilder.group({amount:[this.minQuote.amount,[e.kI.required,e.kI.min(this.minQuote.amount||0),e.kI.max(this.maxQuote.amount||0)]],sweepConfTarget:[6,[e.kI.required,e.kI.min(1)]],routingFeePercent:[2,[e.kI.required,e.kI.min(0)]],fast:[!1,[e.kI.required]]}),this.inputFormGroup.setErrors({Invalid:!0}),this.quoteFormGroup=this.formBuilder.group({}),this.addressFormGroup=this.formBuilder.group({addressType:["local",[e.kI.required]],address:[{value:"",disabled:!0}]}),this.direction===m.$I.LOOP_OUT&&this.addressFormGroup.setErrors({Invalid:!0}),this.statusFormGroup=this.formBuilder.group({}),this.onFormValueChanges(),this.store.select(P.ZW).pipe((0,y.R)(this.unSubs[6])).subscribe(Ce=>{this.localBalanceToCompare=this.channel&&this.channel.local_balance?+this.channel.local_balance:Ce.lightningBalance&&Ce.lightningBalance.local?+Ce.lightningBalance.local:null})}onFormValueChanges(){this.inputFormGroup.valueChanges.pipe((0,y.R)(this.unSubs[4])).subscribe(Ce=>{this.inputFormGroup.setErrors({Invalid:!0})}),this.direction===m.$I.LOOP_OUT&&this.addressFormGroup.valueChanges.pipe((0,y.R)(this.unSubs[5])).subscribe(Ce=>{this.addressFormGroup.setErrors({Invalid:!0})})}onAddressTypeChange(Ce){"external"===Ce.value?(this.addressFormGroup.controls.address.setValidators([e.kI.required]),this.addressFormGroup.controls.address.markAsTouched(),this.addressFormGroup.controls.address.enable()):(this.addressFormGroup.controls.address.setValidators(null),this.addressFormGroup.controls.address.markAsPristine(),this.addressFormGroup.controls.address.disable(),this.addressFormGroup.controls.address.setValue("")),this.addressFormGroup.setErrors({Invalid:!0})}onValidateAmount(){this.localBalanceToCompare&&this.inputFormGroup.controls.amount.value<=this.localBalanceToCompare&&this.stepper.next()}onLoop(){if(!this.inputFormGroup.controls.amount.value||this.minQuote.amount&&this.inputFormGroup.controls.amount.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===m.$I.LOOP_OUT&&(!this.inputFormGroup.controls.routingFeePercent.value||this.inputFormGroup.controls.routingFeePercent.value<0)||this.direction===m.$I.LOOP_OUT&&"external"===this.addressFormGroup.controls.addressType.value&&(!this.addressFormGroup.controls.address.value||""===this.addressFormGroup.controls.address.value.trim()))return!0;if(this.flgEditable=!1,this.stepper.selected?.stepControl.setErrors(null),this.stepper.next(),this.direction===m.$I.LOOP_IN)this.loopService.loopIn(this.inputFormGroup.controls.amount.value,+(this.quote.swap_fee_sat||0),+(this.quote.htlc_publish_fee_sat||0),"",!0).pipe((0,y.R)(this.unSubs[0])).subscribe({next:Ce=>{this.loopStatus=Ce,this.loopService.listSwaps(),this.flgEditable=!0},error:Ce=>{this.loopStatus={error:Ce},this.flgEditable=!0,this.logger.error(Ce)}});else{const Ce=Math.ceil(this.inputFormGroup.controls.amount.value*(this.inputFormGroup.controls.routingFeePercent.value/100)),St="external"===this.addressFormGroup.controls.addressType.value?this.addressFormGroup.controls.address.value:"",Ft=this.inputFormGroup.controls.fast.value?0:(new Date).getTime()+18e5;this.loopService.loopOut(this.inputFormGroup.controls.amount.value,this.channel&&this.channel.chan_id?this.channel.chan_id:"",this.inputFormGroup.controls.sweepConfTarget.value,Ce,+(this.quote.htlc_sweep_fee_sat||0),this.prepayRoutingFee,+(this.quote.prepay_amt_sat||0),+(this.quote.swap_fee_sat||0),Ft,St).pipe((0,y.R)(this.unSubs[1])).subscribe({next:Dt=>{this.loopStatus=Dt,this.loopService.listSwaps(),this.flgEditable=!0},error:Dt=>{this.loopStatus={error:Dt},this.flgEditable=!0,this.logger.error(Dt)}})}}onEstimateQuote(){if(!this.inputFormGroup.controls.amount.value||this.minQuote.amount&&this.inputFormGroup.controls.amount.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 Ce=this.inputFormGroup.controls.fast.value?0:(new Date).getTime()+18e5;this.direction===m.$I.LOOP_IN?this.loopService.getLoopInQuote(this.inputFormGroup.controls.amount.value,this.inputFormGroup.controls.sweepConfTarget.value,Ce).pipe((0,y.R)(this.unSubs[2])).subscribe(St=>{this.quote=St,this.quote.off_chain_swap_routing_fee_percentage=this.inputFormGroup.controls.routingFeePercent.value?this.inputFormGroup.controls.routingFeePercent.value:2}):this.loopService.getLoopOutQuote(this.inputFormGroup.controls.amount.value,this.inputFormGroup.controls.sweepConfTarget.value,Ce).pipe((0,y.R)(this.unSubs[3])).subscribe(St=>{this.quote=St,this.quote.off_chain_swap_routing_fee_percentage=this.inputFormGroup.controls.routingFeePercent.value?this.inputFormGroup.controls.routingFeePercent.value:2}),this.stepper.selected?.stepControl.setErrors(null),this.stepper.next()}stepSelectionChanged(Ce){switch(Ce.selectedIndex){case 0:default:this.inputFormLabel="Amount to "+this.loopDirectionCaption,this.quoteFormLabel="Confirm Quote",this.addressFormLabel="Withdrawal Address";break;case 1:this.inputFormLabel=this.inputFormGroup.controls.amount.value||this.inputFormGroup.controls.sweepConfTarget.value?this.direction===m.$I.LOOP_IN?this.loopDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Target Confirmation: "+(this.inputFormGroup.controls.sweepConfTarget.value?this.inputFormGroup.controls.sweepConfTarget.value:6):this.loopDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Target Confirmation: "+(this.inputFormGroup.controls.sweepConfTarget.value?this.inputFormGroup.controls.sweepConfTarget.value:6)+" | Percentage: "+(this.inputFormGroup.controls.routingFeePercent.value?this.inputFormGroup.controls.routingFeePercent.value:"2")+" | Fast: "+(this.inputFormGroup.controls.fast.value?"Enabled":"Disabled"):"Amount to "+this.loopDirectionCaption,this.quoteFormLabel="Confirm Quote",this.addressFormLabel="Withdrawal Address";break;case 2:this.inputFormLabel=this.inputFormGroup.controls.amount.value||this.inputFormGroup.controls.sweepConfTarget.value?this.direction===m.$I.LOOP_IN?this.loopDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Target Confirmation: "+(this.inputFormGroup.controls.sweepConfTarget.value?this.inputFormGroup.controls.sweepConfTarget.value:6):this.loopDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Target Confirmation: "+(this.inputFormGroup.controls.sweepConfTarget.value?this.inputFormGroup.controls.sweepConfTarget.value:6)+" | Fast: "+(this.inputFormGroup.controls.fast.value?"Enabled":"Disabled"):"Amount to "+this.loopDirectionCaption,this.quoteFormLabel=this.quote&&this.quote.swap_fee_sat&&(this.quote.htlc_sweep_fee_sat||this.quote.htlc_publish_fee_sat)&&this.quote.prepay_amt_sat?"Quote confirmed | Estimated Fees: "+this.decimalPipe.transform(+this.quote.swap_fee_sat+ +(this.quote.htlc_sweep_fee_sat?this.quote.htlc_sweep_fee_sat:this.quote.htlc_publish_fee_sat?this.quote.htlc_publish_fee_sat:0))+" Sats":"Quote confirmed",this.addressFormLabel=this.addressFormGroup.controls.addressType.value?"Withdrawal Address | Type: "+this.addressFormGroup.controls.addressType.value:"Withdrawal Address"}(this.direction===m.$I.LOOP_OUT&&1!==Ce.selectedIndex&&Ce.selectedIndex<Ce.previouslySelectedIndex||this.direction===m.$I.LOOP_IN&&Ce.selectedIndex<Ce.previouslySelectedIndex)&&Ce.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===m.$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(Ce){this.animationDirection=Ce<this.stepNumber?"backward":"forward",this.stepNumber=Ce}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(Ce=>{Ce.next(null),Ce.complete()})}static#e=this.\u0275fac=function(St){return new(St||at)(d.Y36(A.so),d.Y36(A.WI),d.Y36(E.yh),d.Y36(M.W),d.Y36(e.QS),d.Y36(I.JJ),d.Y36(k.mQ),d.Y36(V.F0),d.Y36(B.v))};static#t=this.\u0275cmp=d.Xpm({type:at,selectors:[["rtl-loop-modal"]],viewQuery:function(St,Ft){if(1&St&&d.Gf(Be,5),2&St){let Dt;d.iGM(Dt=d.CRH())&&(Ft.stepper=Dt.first)}},decls:4,vars:2,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",4,"ngIf"],["loopStatusBlock",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch","class","info-graphics-container",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxLayoutAlign","start start",3,"fxFlex"],[1,"page-title"],["fxLayoutAlign","space-between end",3,"fxFlex"],["tabindex","21","mat-button","",1,"btn-close-x","p-0",3,"click"],["tabindex","22","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large"],["fxLayout","column"],["class","padding-gap-large","fxLayout","row wrap","fxLayoutAlign","space-between stretch",4,"ngIf"],[3,"linear","selectionChange"],["stepper",""],[3,"stepControl","editable"],["fxLayout","column","fxLayoutAlign","start","fxLayoutAlign.gt-sm","space-between",1,"my-1",3,"formGroup"],["matStepLabel",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch"],[3,"quote","termCaption","panelExpanded","showPanel"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between center",1,"mt-1"],[3,"fxFlex"],["autoFocus","","matInput","","type","number","tabindex","1","formControlName","amount","required","",3,"step"],["matSuffix",""],[4,"ngIf"],["matInput","","type","number","tabindex","2","formControlName","sweepConfTarget","required","",3,"step"],["fxFlex","30",4,"ngIf"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","start center","class","mt-1",4,"ngIf"],["fxLayout","row","fxLayoutAlign","start center","fxFlex","100",1,"mt-2"],["mat-button","","color","primary","tabindex","5","type","button",3,"click"],[3,"quote","showPanel"],["fxFlex","100","class","color-warn mt-2","fxLayoutAlign","start center",4,"ngIf"],["mat-button","","color","primary","tabindex","6","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","7","type","button",3,"click",4,"ngIf"],[3,"stepControl","editable",4,"ngIf"],[3,"stepControl"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between stretch"],["fxFlex","100",1,"flat-expansion-panel",3,"expanded"],["fxLayoutAlign","start center","fxFlex","100"],["class","ml-1 icon-small",4,"ngIf"],[4,"ngIf","ngIfElse"],["fxFlex","100","color","primary","mode","indeterminate",4,"ngIf"],["fxLayoutAlign","start","class","font-bold-500 mt-2",4,"ngIf"],["mat-button","","color","primary","tabindex","12","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","13","type","button",3,"click",4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","end end"],["mat-button","","color","primary","tabindex","14","type","button","default","",3,"mat-dialog-close"],["fxLayout","row wrap","fxLayoutAlign","space-between stretch",1,"padding-gap-large"],["fxFlex","40"],["fxFlex","30"],["matInput","","type","number","tabindex","3","formControlName","routingFeePercent","required","",3,"step"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","start center",1,"mt-1"],["tabindex","4","color","primary","formControlName","fast","fxFlex","none"],["matTooltip","Swap immediately (Might end up paying a higher on-chain fee)","matTooltipPosition","above","fxFlex","none",1,"info-icon"],["fxFlex","100","fxLayoutAlign","start center",1,"color-warn","mt-2"],[1,"mr-1","icon-small"],["mat-button","","color","primary","tabindex","6","type","button",3,"click"],["mat-button","","color","primary","tabindex","7","type","button",3,"click"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between stretch",1,"mt-1"],["color","primary","name","addressType","formControlName","addressType","fxFlex","100","fxLayoutAlign","space-between stretch",3,"change"],["fxFlex","48","tabindex","8","value","local"],["fxFlex","48","tabindex","9","value","external"],["fxLayout","column","fxFlex","100",1,"mt-1"],["matInput","","tabindex","10","formControlName","address",3,"required"],["mat-button","","color","primary","tabindex","11","type","button",3,"click"],[1,"ml-1","icon-small"],["fxFlex","100","color","primary","mode","indeterminate"],["fxLayoutAlign","start",1,"font-bold-500","mt-2"],["mat-button","","color","primary","tabindex","12","type","button",3,"click"],["mat-button","","color","primary","tabindex","13","type","button",3,"click"],["fxLayout","column",3,"loopStatus"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"info-graphics-container"],["fxLayout","row","fxFlex","8","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],["fxFlex","5","fxLayoutAlign","end center"],["fxLayout","column","fxFlex","70","fxLayoutAlign","space-between center",1,"padding-gap-x-large"],["fxFlex","100",3,"animationDirection","stepNumber","stepNumberChange",4,"ngIf"],["fxLayout","row","fxFlex","10","fxLayoutAlign","center end",1,"padding-gap-x-large","padding-gap-bottom-large"],["tabindex","21","fxLayoutAlign","center center","class","dots-stepper-block",3,"click",4,"ngFor","ngForOf"],["fxLayout","row","fxFlex","10","fxLayoutAlign","end end",1,"padding-gap-x-large","padding-gap-bottom-large"],["mat-button","","class","mr-1","color","primary","tabindex","15","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","16","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","17","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","18","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","19","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","20","type","button",3,"click",4,"ngIf"],["fxFlex","100",3,"animationDirection","stepNumber","stepNumberChange"],["tabindex","21","fxLayoutAlign","center center",1,"dots-stepper-block",3,"click"],[1,"dot","tiny-dot","mr-0",3,"ngClass"],["mat-button","","color","primary","tabindex","15","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","16","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","17","type","button",3,"click"],["mat-button","","color","primary","tabindex","18","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","19","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","20","type","button",3,"click"]],template:function(St,Ft){1&St&&d.YNc(0,re,75,55,"div",0)(1,Ie,1,1,"ng-template",null,1,d.W1O)(3,xi,20,11,"div",2),2&St&&(d.Q6J("ngIf",!Ft.flgShowInfo),d.xp6(3),d.Q6J("ngIf",Ft.flgShowInfo))},dependencies:[I.mk,I.sg,I.O5,e._Y,e.Fj,e.wV,e.JJ,e.JL,e.Q7,e.sg,e.u,W.xw,W.Wh,W.yH,j.oO,A.ZT,K.lW,X.dn,X.dk,ie.ib,ie.yz,ie.yK,ae.Hw,fe.Nt,se.KE,se.hX,se.bx,se.TO,se.R9,Me.pW,$.VQ,$.U0,ue.Rr,S.gM,n.C0,n.VY,n.Vq,s.h,N,je,oe,Ae,I.JJ,I.rS],styles:[".dots-stepper-block[_ngcontent-%COMP%]{width:3rem}.info-graphics-container[_ngcontent-%COMP%]{max-height:30rem;min-height:30rem;overflow-x:hidden}"],data:{animation:[x._]}})}return at})()},4740:(ze,q,p)=>{"use strict";p.d(q,{w:()=>P});var e=p(590),t=p(9212),y=p(4190),A=p(5597),l=p(3814),x=p(2296),m=p(5195);let P=(()=>{class d{constructor(M){this.router=M,this.faTimes=e.NBC}goToHelp(){this.router.navigate(["/help"])}static#e=this.\u0275fac=function(I){return new(I||d)(t.Y36(y.F0))};static#t=this.\u0275cmp=t.Xpm({type:d,selectors:[["rtl-not-found"]],decls:13,vars:1,consts:[["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column",1,"padding-gap-x"],["fxLayout","column",1,"padding-gap-large"],["fxLayout","column","fxLayoutAlign","start start"],[1,"box-text"],["fxLayout","row","fxLayoutAlign","center","fxFlex","80"],["mat-flat-button","","color","primary","type","button",1,"mt-2",3,"click"]],template:function(I,k){1&I&&(t.TgZ(0,"div",0),t._UZ(1,"fa-icon",1),t.TgZ(2,"span",2),t._uU(3,"Page Not Found"),t.qZA()(),t.TgZ(4,"div",3)(5,"mat-card")(6,"mat-card-content",4)(7,"div",5)(8,"div",6),t._uU(9,"This page does not exist!"),t.qZA(),t.TgZ(10,"span",7)(11,"button",8),t.NdJ("click",function(){return k.goToHelp()}),t._uU(12,"Go To Help"),t.qZA()()()()()()),2&I&&(t.xp6(1),t.Q6J("icon",k.faTimes))},dependencies:[A.BN,l.xw,l.Wh,l.yH,x.lW,m.a8,m.dn],encapsulation:2})}return d})()},6985:(ze,q,p)=>{"use strict";p.d(q,{h:()=>t});var e=p(9212);let t=(()=>{class y{constructor(l){this.el=l}ngAfterContentInit(){setTimeout(()=>{this.el.nativeElement.focus()},500)}static#e=this.\u0275fac=function(x){return new(x||y)(e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:y,selectors:[["","autoFocus",""]],inputs:{appAutoFocus:"appAutoFocus"}})}return y})()},7313:(ze,q,p)=>{"use strict";p.d(q,{y:()=>t});var e=p(9212);let t=(()=>{class y{constructor(){this.copied=new e.vpe}onClick(l){l.preventDefault(),this.payload&&(navigator.clipboard?this.copyUsingClipboardAPI():this.copyUsingFallbackMethod())}copyUsingFallbackMethod(){const l=document.createElement("textarea");l.innerText=this.payload,document.body.appendChild(l),l.select();try{document.execCommand("copy")?this.copied.emit(this.payload.toString()):this.copied.emit("Error could not copy text.")}finally{document.body.removeChild(l)}}copyUsingClipboardAPI(){navigator.clipboard.writeText(this.payload.toString()).then(()=>{this.copied.emit(this.payload.toString())}).catch(l=>{this.copied.emit("Error could not copy text: "+JSON.stringify(l))})}static#e=this.\u0275fac=function(x){return new(x||y)};static#t=this.\u0275dir=e.lG2({type:y,selectors:[["","rtlClipboard",""]],hostBindings:function(x,m){1&x&&e.NdJ("click",function(d){return m.onClick(d)})},inputs:{payload:"payload"},outputs:{copied:"copied"}})}return y})()},3362:(ze,q,p)=>{"use strict";p.d(q,{F:()=>y});var e=p(6223),t=p(9212);let y=(()=>{class A{validate(x){return this.max?e.kI.max(+this.max)(x):null}static#e=this.\u0275fac=function(m){return new(m||A)};static#t=this.\u0275dir=t.lG2({type:A,selectors:[["input","max",""]],inputs:{max:"max"},features:[t._Bn([{provide:e.Cf,useExisting:A,multi:!0}])]})}return A})()},6082:(ze,q,p)=>{"use strict";p.d(q,{q:()=>y});var e=p(6223),t=p(9212);let y=(()=>{class A{validate(x){return this.min?e.kI.min(+this.min)(x):null}static#e=this.\u0275fac=function(m){return new(m||A)};static#t=this.\u0275dir=t.lG2({type:A,selectors:[["input","min",""]],inputs:{min:"min"},features:[t._Bn([{provide:e.Cf,useExisting:A,multi:!0}])]})}return A})()},2995:(ze,q,p)=>{"use strict";p.d(q,{D3:()=>l,al:()=>t,h9:()=>y,i1:()=>A});var e=p(9212);let t=(()=>{class x{transform(P,d){return P?.replace(/^[0]+/g,"")}static#e=this.\u0275fac=function(d){return new(d||x)};static#t=this.\u0275pipe=e.Yjl({name:"removeleadingzeros",type:x,pure:!0})}return x})(),y=(()=>{class x{transform(P,d){return P?.replace(/(?:^\w|[A-Z]|\b\w)/g,(E,M)=>E.toUpperCase())?.replace(/\s+/g,"")?.replace(/-/g," ")}static#e=this.\u0275fac=function(d){return new(d||x)};static#t=this.\u0275pipe=e.Yjl({name:"camelcase",type:x,pure:!0})}return x})(),A=(()=>{class x{transform(P,d,E){return P.replace(/(?:^\w|[A-Z]|\b\w)/g,(M,I)=>" "+M.toUpperCase())}static#e=this.\u0275fac=function(d){return new(d||x)};static#t=this.\u0275pipe=e.Yjl({name:"camelCaseWithSpaces",type:x,pure:!0})}return x})(),l=(()=>{class x{transform(P,d,E){return P=P?P.toLowerCase().replace(/\s+/g,"")?.replace(/-/g," "):"",d&&(P=P.replace(new RegExp(d,"g")," ")),E&&(P=P.replace(new RegExp(E,"g")," ")),P.replace(/(?:^\w|[A-Z]|\b\w)/g,(M,I)=>M.toUpperCase())}static#e=this.\u0275fac=function(d){return new(d||x)};static#t=this.\u0275pipe=e.Yjl({name:"camelcaseWithReplace",type:x,pure:!0})}return x})()},5525:(ze,q,p)=>{"use strict";p.d(q,{QM:()=>x,a1:()=>l,eQ:()=>m,fY:()=>P});var e=p(9212),t=p(4190),y=p(5813),A=p(7398);function l(){return()=>{const d=(0,e.f3M)(t.F0),E=(0,e.f3M)(t.gz),M=(0,e.f3M)(y.m);return!(!M.getItem("token")||E.snapshot.url&&E.snapshot.url.length&&"settings"!==E.snapshot.url[0].path&&"auth"!==E.snapshot.url[0].path&&"true"===M.getItem("defaultPassword")&&(d.navigate(["/settings/auth"]),1))}}function x(){return()=>!!(0,e.f3M)(y.m).watchSession().pipe((0,A.U)(E=>E.lndUnlocked))}function m(){return()=>!!(0,e.f3M)(y.m).watchSession().pipe((0,A.U)(E=>E.clnUnlocked))}function P(){return()=>!!(0,e.f3M)(y.m).watchSession().pipe((0,A.U)(E=>E.eclUnlocked))}},6339:(ze,q,p)=>{"use strict";p.d(q,{v:()=>I});var e=p(5619),t=p(2096),y=p(8504),A=p(8180),l=p(7398),x=p(6306),m=p(2154),P=p(9212),d=p(6046),E=p(5980),M=p(6814);let I=(()=>{class k{constructor(B,W,j){this.dataService=B,this.logger=W,this.datePipe=j,this.currencyUnits=[],this.CurrencyUnitEnum=m.NT,this.conversionData={data:null,last_fetched:null},this.ratesAPIStatus=m.Bn.UN_INITIATED,this.screenSize=m.cu.MD,this.containerSize={width:0,height:0},this.containerSizeUpdated=new e.X(this.containerSize)}getScreenSize(){return this.screenSize}setScreenSize(B){this.screenSize=B}getContainerSize(){return this.containerSize}setContainerSize(B,W){this.containerSize={width:B,height:W},this.logger.info("Container Size: "+JSON.stringify(this.containerSize)),this.containerSizeUpdated.next(this.containerSize)}sortByKey(B,W,j,K="asc"){return B.sort("number"===j?"desc"===K?(X,ie)=>+X[W]>+ie[W]?-1:1:(X,ie)=>+X[W]>+ie[W]?1:-1:"desc"===K?(X,ie)=>X[W]>ie[W]?-1:1:(X,ie)=>X[W]>ie[W]?1:-1)}sortDescByKey(B,W){return B.sort((j,K)=>{const X=+j[W],ie=+K[W];return X>ie?-1:X<ie?1:0})}sortAscByKey(B,W){return B.sort((j,K)=>{const X=+j[W],ie=+K[W];return X<ie?-1:X>ie?1:0})}camelCase(B){return B?.replace(/(?:^\w|[A-Z]|\b\w)/g,(W,j)=>W.toUpperCase())?.replace(/\s+/g,"")?.replace(/-/g," ")}titleCase(B,W,j){return W&&j&&""!==W&&""!==j&&(B=B?.replace(new RegExp(W,"g"),j)),B.indexOf("!\n")>0||B.indexOf(".\n")>0?B.split("\n")?.reduce((K,X)=>K+X.charAt(0).toUpperCase()+X.substring(1).toLowerCase()+"\n",""):B.indexOf(" ")>0?B.split(" ")?.reduce((K,X)=>K+X.charAt(0).toUpperCase()+X.substring(1).toLowerCase()+" ",""):B.charAt(0).toUpperCase()+B.substring(1).toLowerCase()}convertCurrency(B,W,j,K,X){const ie=(new Date).valueOf();return X&&K&&this.ratesAPIStatus!==m.Bn.INITIATED&&(W===m.NT.OTHER||j===m.NT.OTHER)?this.conversionData.data&&this.conversionData.last_fetched&&ie<this.conversionData.last_fetched+3e5?(0,t.of)(this.convertWithFiat(B,W,K)):(this.ratesAPIStatus=m.Bn.INITIATED,this.dataService.getFiatRates().pipe((0,A.q)(1),(0,l.U)(ae=>(this.ratesAPIStatus=m.Bn.COMPLETED,this.conversionData.data=ae&&"object"==typeof ae?ae:ae&&"string"==typeof ae?JSON.parse(ae):{},this.conversionData.last_fetched=ie,this.convertWithFiat(B,W,K))),(0,x.K)(ae=>(this.ratesAPIStatus=m.Bn.ERROR,(0,y._)(()=>this.extractErrorMessage(ae,"Currency Conversion Error.")))))):(0,t.of)(this.convertWithoutFiat(B,W))}convertWithoutFiat(B,W){const j={};switch(j[m.NT.SATS]=0,j[m.NT.BTC]=0,W){case m.NT.SATS:j[m.NT.SATS]=B,j[m.NT.BTC]=1e-8*B;break;case m.NT.BTC:j[m.NT.SATS]=1e8*B,j[m.NT.BTC]=B}return j}convertWithFiat(B,W,j){const K={unit:j,symbol:this.conversionData.data[j].symbol};switch(K[m.NT.SATS]=0,K[m.NT.BTC]=0,K[m.NT.OTHER]=0,W){case m.NT.SATS:K[m.NT.SATS]=B,K[m.NT.BTC]=1e-8*B,K[m.NT.OTHER]=1e-8*B*this.conversionData.data[j].last;break;case m.NT.BTC:K[m.NT.SATS]=1e8*B,K[m.NT.BTC]=B,K[m.NT.OTHER]=B*this.conversionData.data[j].last;break;case m.NT.OTHER:K[m.NT.SATS]=B/this.conversionData.data[j].last*1e8,K[m.NT.BTC]=B/this.conversionData.data[j].last,K[m.NT.OTHER]=B}return K}convertTime(B,W,j){switch(W){case m.Qk.SECS:switch(j){case m.Qk.MINS:B/=60;break;case m.Qk.HOURS:B/=m.k_;break;case m.Qk.DAYS:B/=24*m.k_}break;case m.Qk.MINS:switch(j){case m.Qk.SECS:B*=60;break;case m.Qk.HOURS:B/=60;break;case m.Qk.DAYS:B/=1440}break;case m.Qk.HOURS:switch(j){case m.Qk.SECS:B*=m.k_;break;case m.Qk.MINS:B*=60;break;case m.Qk.DAYS:B/=24}break;case m.Qk.DAYS:switch(j){case m.Qk.SECS:B=B*m.k_*24;break;case m.Qk.MINS:B=60*B*24;break;case m.Qk.HOURS:B*=24}}return B}downloadFile(B,W,j=".json",K=".csv"){let X=new Blob;X=".json"===j?new Blob(["\ufeff"+this.convertToCSV(B)],{type:"text/csv;charset=utf-8;"}):new Blob([B.toString()],{type:"text/plain;charset=utf-8"});const ie=document.createElement("a"),ae=URL.createObjectURL(X);-1!==navigator.userAgent.indexOf("Safari")&&-1===navigator.userAgent.indexOf("Chrome")&&ie.setAttribute("target","_blank"),ie.setAttribute("href",ae),ie.setAttribute("download",W+K),ie.style.visibility="hidden",document.body.appendChild(ie),ie.click(),document.body.removeChild(ie)}convertToCSV(B){const W=[];let j="",K="",X="";return"object"!=typeof B&&(B=JSON.parse(B)),B.forEach((ae,fe)=>{for(const se in ae)W.findIndex(Me=>Me===se)<0&&W.push(se)}),X=W.join(",")+"\r\n",B.forEach(ae=>{j="",W.forEach(fe=>{if(ae.hasOwnProperty(fe))if(Array.isArray(ae[fe]))K="",ae[fe].forEach((se,Me)=>{K+="object"==typeof se?"("+JSON.stringify(se)?.replace(/\,/g,";")+")":"("+se+")"}),j+=K+",";else if("object"==typeof ae[fe])j+=JSON.stringify(ae[fe])?.replace(/\,/g,";")+",";else if(fe.includes("timestamp")||fe.includes("date"))try{switch(ae[fe].toString().length){case 10:j+=this.datePipe.transform(new Date(1e3*ae[fe]),"dd/MMM/y HH:mm")+",";break;case 13:j+=this.datePipe.transform(new Date(ae[fe]),"dd/MMM/y HH:mm")+",";break;default:j+=ae[fe]+","}}catch{j+=ae[fe]+","}else j+=ae[fe]+",";else j+=","}),X+=j.slice(0,-1)+"\r\n"}),X}isVersionCompatible(B,W){if(B){const j=B.match(/v?(?<version>\d+(?:\.\d+)*)/);if(j&&j.groups&&j.groups.version){this.logger.info("Current Version: "+j.groups.version),this.logger.info("Checking Compatiblility with Version: "+W);const K=j.groups.version.split(".")||[],X=W.split(".");return+K[0]>+X[0]||+K[0]==+X[0]&&+K[1]>+X[1]||+K[0]==+X[0]&&+K[1]==+X[1]&&+K[2]>=+X[2]}return this.logger.error("Invalid Version String: "+B),!1}return!1}extractErrorMessage(B,W="Unknown Error."){const j=this.titleCase(B.error&&B.error.text&&"string"==typeof B.error.text&&B.error.text.includes('<!DOCTYPE html><html lang="en">')?"API Route Does Not Exist.":B.error&&B.error.error&&B.error.error.error&&B.error.error.error.error&&B.error.error.error.error.error&&"string"==typeof B.error.error.error.error.error?B.error.error.error.error.error:B.error&&B.error.error&&B.error.error.error&&B.error.error.error.error&&"string"==typeof B.error.error.error.error?B.error.error.error.error:B.error&&B.error.error&&B.error.error.error&&"string"==typeof B.error.error.error?B.error.error.error:B.error&&B.error.error&&"string"==typeof B.error.error?B.error.error:B.error&&"string"==typeof B.error?B.error:B.error&&B.error.error&&B.error.error.error&&B.error.error.error.error&&B.error.error.error.error.message&&"string"==typeof B.error.error.error.error.message?B.error.error.error.error.message:B.error&&B.error.error&&B.error.error.error&&B.error.error.error.message&&"string"==typeof B.error.error.error.message?B.error.error.error.message:B.error&&B.error.error&&B.error.error.message&&"string"==typeof B.error.error.message?B.error.error.message:B.error&&B.error.message&&"string"==typeof B.error.message?B.error.message:B.message&&"string"==typeof B.message?B.message:W);return this.logger.info("Error Message: "+j),j}extractErrorCode(B,W=500){const j=B.error&&B.error.error&&B.error.error.message&&B.error.error.message.code?B.error.error.message.code:B.error&&B.error.error&&B.error.error.code?B.error.error.code:B.error&&B.error.code?B.error.code:B.code?B.code:B.status?B.status:W;return this.logger.info("Error Code: "+j),j}extractErrorNumber(B,W=500){const j=B.error&&B.error.error&&B.error.error.errno?B.error.error.errno:B.error&&B.error.errno?B.error.errno:B.errno?B.errno:B.status?B.status:W;return this.logger.info("Error Number: "+j),j}ngOnDestroy(){this.containerSizeUpdated.next(null),this.containerSizeUpdated.complete()}static#e=this.\u0275fac=function(W){return new(W||k)(P.LFG(d.D),P.LFG(E.mQ),P.LFG(M.uU))};static#t=this.\u0275prov=P.Yz7({token:k,factory:k.\u0275fac})}return k})()},2154:(ze,q,p)=>{"use strict";p.d(q,{$I:()=>g,$Y:()=>l,$v:()=>ae,AB:()=>ge,At:()=>ke,Bn:()=>Je,Df:()=>oe,Dr:()=>j,Er:()=>M,Fq:()=>r,Gi:()=>f,HW:()=>w,H_:()=>ve,IV:()=>V,IX:()=>me,LO:()=>I,NT:()=>s,OJ:()=>ue,OO:()=>We,Pi:()=>Be,Qk:()=>S,Qw:()=>N,T5:()=>m,TJ:()=>B,Vc:()=>K,Xk:()=>ct,Xr:()=>he,Xz:()=>E,Zs:()=>v,_t:()=>W,c3:()=>Et,cu:()=>h,g8:()=>se,gB:()=>Ge,gG:()=>$e,gK:()=>st,gg:()=>ee,hG:()=>Ke,hZ:()=>le,hc:()=>H,kO:()=>je,k_:()=>A,lr:()=>qe,m6:()=>ye,nM:()=>fe,n_:()=>$,ol:()=>Me,op:()=>De,p7:()=>O,pg:()=>xe,pt:()=>y,q4:()=>x,uA:()=>d,uR:()=>de,vn:()=>X,vv:()=>P,wZ:()=>ie,x$:()=>D,zZ:()=>it});var e=p(9212),t=p(1476);function y(te){const Pe=new t.ye;return Pe.itemsPerPageLabel=te+" per page:",Pe}const A=3600,l=24*A*7,x="0.15.1-beta",m=(0,e.X6Q)()?"http://localhost:3000/rtl/api":"./api",P={AUTHENTICATE_API:m+"/authenticate",CONF_API:m+"/conf",PAGE_SETTINGS_API:m+"/pagesettings",BALANCE_API:"/balance",FEES_API:"/fees",PEERS_API:"/peers",CHANNELS_API:"/channels",CHANNELS_BACKUP_API:"/channels/backup",GETINFO_API:"/getinfo",WALLET_API:"/wallet",NETWORK_API:"/network",NEW_ADDRESS_API:"/newaddress",TRANSACTIONS_API:"/transactions",PAYMENTS_API:"/payments",INVOICES_API:"/invoices",SWITCH_API:"/switch",ON_CHAIN_API:"/onchain",MESSAGE_API:"/message",OFFERS_API:"/offers",UTILITY_API:"/utility",LOOP_API:"/loop",BOLTZ_API:"/boltz",Web_SOCKET_API:"/ws"},d=["Sats","BTC"],E={Sats:"1.0-0",BTC:"1.6-6",OTHER:"1.2-2"},M=[{id:"USD",name:"USD"},{id:"AUD",name:"AUD"},{id:"BRL",name:"BRL"},{id:"CAD",name:"CAD"},{id:"CHF",name:"CHF"},{id:"CLP",name:"CLP"},{id:"CNY",name:"CNY"},{id:"DKK",name:"DKK"},{id:"EUR",name:"EUR"},{id:"GBP",name:"GBP"},{id:"HKD",name:"HKD"},{id:"INR",name:"INR"},{id:"ISK",name:"ISK"},{id:"JPY",name:"JPY"},{id:"KRW",name:"KRW"},{id:"NZD",name:"NZD"},{id:"PLN",name:"PLN"},{id:"RUB",name:"RUB"},{id:"SEK",name:"SEK"},{id:"SGD",name:"SGD"},{id:"THB",name:"THB"},{id:"TWD",name:"TWD"}],I=["SECS","MINS","HOURS","DAYS"],V=10,B=[5,10,25,100],W=[{addressId:"0",addressCode:"bech32",addressTp:"Bech32 (P2WKH)",addressDetails:"Pay to witness key hash"},{addressId:"1",addressCode:"p2sh-segwit",addressTp:"P2SH (NP2WKH)",addressDetails:"Pay to nested witness key hash (default)"},{addressId:"4",addressCode:"p2tr",addressTp:"Taproot (P2TR)",addressDetails:"Pay to taproot pubkey"}],j=[{id:"0",name:"Priority (Default)"},{id:"1",name:"Target Confirmation Blocks"},{id:"2",name:"Fee"}],K=[{id:"none",name:"No Fee Limit",placeholder:"No Limit"},{id:"fixed",name:"Fixed Limit (Sats)",placeholder:"Fixed Limit in Sats"},{id:"percent",name:"Percentage of Payment Amount",placeholder:"Percentage Limit"}],X=[{feeRateId:"urgent",feeRateType:"Urgent"},{feeRateId:"normal",feeRateType:"Normal"},{feeRateId:"slow",feeRateType:"Slow"},{feeRateId:"customperkb",feeRateType:"Custom (Sats/vByte)"}],ie={themes:[{id:"PURPLE",name:"Diogo"},{id:"TEAL",name:"My2Sats"},{id:"INDIGO",name:"RTL"},{id:"PINK",name:"BK"},{id:"YELLOW",name:"Gold"}],modes:[{id:"DAY",name:"Day"},{id:"NIGHT",name:"Night"}]};var ae=function(te){return te.PAYMENT_RECEIVED="payment-received",te.PAYMENT_RELAYED="payment-relayed",te.PAYMENT_SENT="payment-sent",te.PAYMENT_SETTLING_ONCHAIN="payment-settling-onchain",te.PAYMENT_FAILED="payment-failed",te.CHANNEL_OPENED="channel-opened",te.CHANNEL_STATE_CHANGED="channel-state-changed",te.CHANNEL_CLOSED="channel-closed",te}(ae||{}),fe=function(te){return te.CONNECT="connect",te.DISCONNECT="disconnect",te.WARNING="warning",te.INVOICE_PAYMENT="invoice_payment",te.INVOICE_CREATION="invoice_creation",te.CHANNEL_OPENED="channel_opened",te.CHANNEL_STATE_CHANGED="channel_state_changed",te.SENDPAY_SUCCESS="sendpay_success",te.SENDPAY_FAILURE="sendpay_failure",te.COIN_MOVEMENT="coin_movement",te.BALANCE_SNAPSHOT="balance_snapshot",te.BLOCK_ADDED="block_added",te.OPENCHANNEL_PEER_SIGS="openchannel_peer_sigs",te.CHANNEL_OPEN_FAILED="channel_open_failed",te}(fe||{}),se=function(te){return te.INVOICE="invoice",te}(se||{}),Me=function(te){return te.OPERATOR="OPERATOR",te.MERCHANT="MERCHANT",te.ALL="ALL",te}(Me||{}),$=function(te){return te.INFORMATION="Information",te.WARNING="Warning",te.ERROR="Error",te.SUCCESS="Success",te.CONFIRM="Confirm",te}($||{}),ue=function(te){return te.JWT="JWT",te.PASSWORD="PASSWORD",te}(ue||{}),S=function(te){return te.SECS="SECS",te.MINS="MINS",te.HOURS="HOURS",te.DAYS="DAYS",te}(S||{}),s=function(te){return te.SATS="Sats",te.BTC="BTC",te.OTHER="OTHER",te}(s||{}),f=function(te){return te.ARRAY="ARRAY",te.NUMBER="NUMBER",te.STRING="STRING",te.BOOLEAN="BOOLEAN",te.PASSWORD="PASSWORD",te.DATE="DATE",te.DATE_TIME="DATE_TIME",te}(f||{}),h=function(te){return te.XS="XS",te.SM="SM",te.MD="MD",te.LG="LG",te.XL="XL",te}(h||{});const w={COOPERATIVE_CLOSE:{name:"Co-operative Close",tooltip:"Channel closed cooperatively"},LOCAL_FORCE_CLOSE:{name:"Local Force Close",tooltip:"Channel force-closed by the local node"},REMOTE_FORCE_CLOSE:{name:"Remote Force Close",tooltip:"Channel force-closed by the remote node"},BREACH_CLOSE:{name:"Breach Close",tooltip:"Remote node attempted to broadcast a prior revoked channel state"},FUNDING_CANCELED:{name:"Funding Canceled",tooltip:"Channel never fully opened"},ABANDONED:{name:"Abandoned",tooltip:"Channel abandoned by the local node"}},D={WITNESS_PUBKEY_HASH:{name:"Witness Pubkey Hash",tooltip:""},NESTED_PUBKEY_HASH:{name:"Nested Pubkey Hash",tooltip:""},UNUSED_WITNESS_PUBKEY_HASH:{name:"Unused Witness Pubkey Hash",tooltip:""},UNUSED_NESTED_PUBKEY_HASH:{name:"Unused Nested Pubkey Hash",tooltip:""},TAPROOT_PUBKEY:{name:"Taproot Pubkey Hash",tooltip:""}};var O=function(te){return te.WIRE_INVALID_ONION_VERSION="Invalid Onion Version",te.WIRE_INVALID_ONION_HMAC="Invalid Onion HMAC",te.WIRE_INVALID_ONION_KEY="Invalid Onion Key",te.WIRE_TEMPORARY_CHANNEL_FAILURE="Temporary Channel Failure",te.WIRE_PERMANENT_CHANNEL_FAILURE="Permanent Channel Failure",te.WIRE_REQUIRED_CHANNEL_FEATURE_MISSING="Missing Required Channel Feature",te.WIRE_UNKNOWN_NEXT_PEER="Unknown Next Peer",te.WIRE_AMOUNT_BELOW_MINIMUM="Amount Below Minimum",te.WIRE_FEE_INSUFFICIENT="Insufficient Fee",te.WIRE_INCORRECT_CLTV_EXPIRY="Incorrect CLTV Expiry",te.WIRE_EXPIRY_TOO_FAR="Expiry Too Far",te.WIRE_EXPIRY_TOO_SOON="Expiry Too Soon",te.WIRE_CHANNEL_DISABLED="Channel Disabled",te.WIRE_INVALID_ONION_PAYLOAD="Invalid Onion Payload",te.WIRE_INVALID_REALM="Invalid Realm",te.WIRE_PERMANENT_NODE_FAILURE="Permanent Node Failure",te.WIRE_TEMPORARY_NODE_FAILURE="Temporary Node Failure",te.WIRE_REQUIRED_NODE_FEATURE_MISSING="Missing Required Node Feature",te.WIRE_INVALID_ONION_BLINDING="Invalid Onion Binding",te.WIRE_INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS="Incorrect or Unknow Payment Details",te.WIRE_MPP_TIMEOUT="MPP Timeout",te.WIRE_FINAL_INCORRECT_CLTV_EXPIRY="Incorrect CLTV Expiry",te.WIRE_FINAL_INCORRECT_HTLC_AMOUNT="Incorrect HTLC Amount",te}(O||{}),v=function(te){return te.CHANNELD_NORMAL="Active",te.OPENINGD="Opening",te.CHANNELD_AWAITING_LOCKIN="Pending Open",te.CHANNELD_SHUTTING_DOWN="Shutting Down",te.CLOSINGD_SIGEXCHANGE="Closing: Sig Exchange",te.CLOSINGD_COMPLETE="Closed",te.AWAITING_UNILATERAL="Awaiting Unilateral Close",te.FUNDING_SPEND_SEEN="Funding Spend Seen",te.ONCHAIN="Onchain",te.DUALOPEND_OPEN_INIT="Dual Open Initialized",te.DUALOPEND_AWAITING_LOCKIN="Dual Pending Open",te}(v||{}),r=function(te){return te.INITIATED="Initiated",te.PREIMAGE_REVEALED="Preimage Revealed",te.HTLC_PUBLISHED="HTLC Published",te.SUCCESS="Successful",te.FAILED="Failed",te.INVOICE_SETTLED="Invoice Settled",te}(r||{}),g=function(te){return te.LOOP_OUT="LOOP_OUT",te.LOOP_IN="LOOP_IN",te}(g||{}),H=function(te){return te.SWAP_OUT="SWAP_OUT",te.SWAP_IN="SWAP_IN",te}(H||{}),N=function(te){return te["swap.created"]="Swap Created",te["swap.expired"]="Swap Expired",te["invoice.set"]="Invoice Set",te["invoice.paid"]="Invoice Paid",te["invoice.pending"]="Invoice Pending",te["invoice.settled"]="Invoice Settled",te["invoice.failedToPay"]="Invoice Failed To Pay",te["channel.created"]="Channel Created",te["transaction.failed"]="Transaction Failed",te["transaction.mempool"]="Transaction Mempool",te["transaction.claimed"]="Transaction Claimed",te["transaction.refunded"]="Transaction Refunded",te["transaction.confirmed"]="Transaction Confirmed",te["transaction.lockupFailed"]="Lockup Transaction Failed",te["swap.refunded"]="Swap Refunded",te["swap.abandoned"]="Swap Abandoned",te}(N||{});const ee=[{name:"Jan",days:31},{name:"Feb",days:28},{name:"Mar",days:31},{name:"Apr",days:30},{name:"May",days:31},{name:"Jun",days:30},{name:"Jul",days:31},{name:"Aug",days:31},{name:"Sep",days:30},{name:"Oct",days:31},{name:"Nov",days:30},{name:"Dec",days:31}],De=["MONTHLY","YEARLY"],je=["password","changeme","moneyprintergobrrr"];var Je=function(te){return te.UN_INITIATED="UN_INITIATED",te.INITIATED="INITIATED",te.COMPLETED="COMPLETED",te.ERROR="ERROR",te}(Je||{});const ye={NO_SPINNER:"No Spinner...",GET_NODE_INFO:"Getting Node Information...",INITALIZE_NODE_DATA:"Initializing Node Data...",GENERATE_NEW_ADDRESS:"Getting New Address...",SEND_FUNDS:"Sending Funds...",UPDATE_CHAN_POLICY:"Updating Channel Policy...",GET_CHAN_POLICY:"Fetching Channel Policy...",GET_REMOTE_POLICY:"Fetching Remote Policy...",CLOSE_CHANNEL:"Closing Channel...",FORCE_CLOSE_CHANNEL:"Force Closing Channel...",OPEN_CHANNEL:"Opening Channel...",CONNECT_PEER:"Connecting Peer...",DISCONNECT_PEER:"Disconnecting Peer...",ADD_INVOICE:"Adding Invoice...",CREATE_INVOICE:"Creating Invoice...",DELETE_INVOICE:"Deleting Invoices...",DECODE_PAYMENT:"Decoding Payment...",DECODE_OFFER:"Decoding Offer...",DECODE_PAYMENTS:"Decoding Payments...",FETCH_INVOICE:"Fetching Invoice...",GET_SENT_PAYMENTS:"Getting Sent Payments...",SEND_PAYMENT:"Sending Payment...",SEND_KEYSEND:"Sending Keysend Payment...",SEARCHING_NODE:"Searching Node...",SEARCHING_CHANNEL:"Searching Channel...",SEARCHING_INVOICE:"Searching Invoice...",SEARCHING_PAYMENT:"Searching Payment...",BACKUP_CHANNEL:"Backup Channels...",VERIFY_CHANNEL:"Verify Channel...",DOWNLOAD_BACKUP_FILE:"Downloading Backup File...",RESTORE_CHANNEL:"Restoring Channels...",GET_TERMS_QUOTES:"Getting Terms and Quotes...",LABEL_UTXO:"Labelling UTXO...",GET_NODE_ADDRESS:"Getting Node Address...",GEN_SEED:"Generating Seed...",INITIALIZE_WALLET:"Initializing Wallet...",UNLOCK_WALLET:"Unlocking Wallet...",WAIT_SYNC_NODE:"Waiting for Node Sync...",UPDATE_BOLTZ_SETTINGS:"Updating Boltz Service Settings...",UPDATE_LOOP_SETTINGS:"Updating Loop Service Settings...",UPDATE_PEERSWAP_SETTINGS:"Updating Peerswap Service Settings...",UPDATE_SETTING:"Updating Setting...",UPDATE_APPLICATION_SETTINGS:"Updating Application Settings...",UPDATE_NODE_SETTINGS:"Updating Node Settings...",UPDATE_SELECTED_NODE:"Updating Selected Node...",OPEN_CONFIG_FILE:"Opening Config File...",GET_BOLTZ_INFO:"Getting Boltz Info...",GET_SERVICE_INFO:"Getting Service Info...",GET_QUOTE:"Getting Quotes...",UPDATE_DEFAULT_NODE_SETTING:"Updating Defaule Node Settings...",GET_BOLTZ_SWAPS:"Getting Boltz Swaps...",SIGN_MESSAGE:"Signing Message...",VERIFY_MESSAGE:"Verifying Message...",BUMP_FEE:"Bumping Fee...",LEASE_UTXO:"Leasing UTXO...",GET_LOOP_INFO:"Getting Loop Info...",GET_LOOP_SWAPS:"Getting List Swaps...",GET_FORWARDING_HISTORY:"Getting Forwarding History...",GET_LOOKUP_DETAILS:"Getting Lookup Details...",GET_RTL_CONFIG:"Getting RTL Config...",VERIFY_TOKEN:"Verify Token...",DISABLE_OFFER:"Disabling Offer...",CREATE_OFFER:"Creating Offer...",DELETE_OFFER_BOOKMARK:"Deleting Bookmark...",GET_FUNDER_POLICY:"Getting Or Updating Funder Policy...",GET_LIST_CONFIGS:"Getting Configurations List...",LIST_NETWORK_NODES:"Getting Network Nodes List...",GET_PAGE_SETTINGS:"Getting Page Settings...",SET_PAGE_SETTINGS:"Setting Page Settings...",UPDATE_PAGE_SETTINGS:"Updating Page Layout...",REBALANCE_CHANNEL:"Rebalancing Channel...",LOG_OUT:"Logging Out..."};var me=function(te){return te.INVOICE="INVOICE",te.OFFER="OFFER",te.KEYSEND="KEYSEND",te}(me||{}),he=function(te){return te.FEES="FEES",te.EVENTS="EVENTS",te}(he||{}),xe=function(te){return te.VOID="VOID",te.SET_API_URL_ECL="SET_API_URL_ECL",te.UPDATE_SELECTED_NODE_OPTIONS="UPDATE_SELECTED_NODE_OPTIONS",te.UPDATE_API_CALL_STATUS_ROOT="UPDATE_API_CALL_STATUS_ROOT",te.RESET_ROOT_STORE="RESET_ROOT_STORE",te.CLOSE_ALL_DIALOGS="CLOSE_ALL_DIALOGS",te.OPEN_SNACK_BAR="OPEN_SNACKBAR",te.OPEN_SPINNER="OPEN_SPINNER",te.CLOSE_SPINNER="CLOSE_SPINNER",te.OPEN_ALERT="OPEN_ALERT",te.CLOSE_ALERT="CLOSE_ALERT",te.OPEN_CONFIRMATION="OPEN_CONFIRMATION",te.CLOSE_CONFIRMATION="CLOSE_CONFIRMATION",te.SHOW_PUBKEY="SHOW_PUBKEY",te.FETCH_CONFIG="FETCH_CONFIG",te.SHOW_CONFIG="SHOW_CONFIG",te.FETCH_STORE="FETCH_STORE",te.SET_STORE="SET_STORE",te.FETCH_APPLICATION_SETTINGS="FETCH_APPLICATION_SETTINGS",te.SET_APPLICATION_SETTINGS="SET_APPLICATION_SETTINGS",te.SAVE_SETTINGS="SAVE_SETTINGS",te.SET_SELECTED_NODE="SET_SELECTED_NODE",te.UPDATE_ROOT_NODE_SETTINGS="UPDATE_ROOT_NODE_SETTINGS",te.UPDATE_APPLICATION_SETTINGS="UPDATE_APPLICATION_SETTINGS",te.UPDATE_NODE_SETTINGS="UPDATE_NODE_SETTINGS",te.SET_NODE_DATA="SET_NODE_DATA",te.IS_AUTHORIZED="IS_AUTHORIZED",te.IS_AUTHORIZED_RES="IS_AUTHORIZED_RES",te.LOGIN="LOGIN",te.VERIFY_TWO_FA="VERIFY_TWO_FA",te.LOGOUT="LOGOUT",te.RESET_PASSWORD="RESET_PASSWORD",te.RESET_PASSWORD_RES="RESET_PASSWORD_RES",te.FETCH_FILE="FETCH_FILE",te.SHOW_FILE="SHOW_FILE",te}(xe||{}),de=function(te){return te.RESET_LND_STORE="RESET_LND_STORE",te.UPDATE_API_CALL_STATUS_LND="UPDATE_API_CALL_STATUS_LND",te.SET_CHILD_NODE_SETTINGS_LND="SET_CHILD_NODE_SETTINGS_LND",te.FETCH_PAGE_SETTINGS_LND="FETCH_PAGE_SETTINGS_LND",te.SET_PAGE_SETTINGS_LND="SET_PAGE_SETTINGS_LND",te.SAVE_PAGE_SETTINGS_LND="SAVE_PAGE_SETTINGS_LND",te.FETCH_INFO_LND="FETCH_INFO_LND",te.SET_INFO_LND="SET_INFO_LND",te.FETCH_PEERS_LND="FETCH_PEERS_LND",te.SET_PEERS_LND="SET_PEERS_LND",te.SAVE_NEW_PEER_LND="SAVE_NEW_PEER_LND",te.NEWLY_ADDED_PEER_LND="NEWLY_ADDED_PEER_LND",te.DETACH_PEER_LND="DETACH_PEER_LND",te.REMOVE_PEER_LND="REMOVE_PEER_LND",te.SAVE_NEW_INVOICE_LND="SAVE_NEW_INVOICE_LND",te.NEWLY_SAVED_INVOICE_LND="NEWLY_SAVED_INVOICE_LND",te.ADD_INVOICE_LND="ADD_INVOICE_LND",te.FETCH_FEES_LND="FETCH_FEES_LND",te.SET_FEES_LND="SET_FEES_LND",te.FETCH_BLOCKCHAIN_BALANCE_LND="FETCH_BLOCKCHAIN_BALANCE_LND",te.SET_BLOCKCHAIN_BALANCE_LND="SET_BLOCKCHAIN_BALANCE_LND",te.FETCH_NETWORK_LND="FETCH_NETWORK_LND",te.SET_NETWORK_LND="SET_NETWORK_LND",te.FETCH_CHANNELS_LND="FETCH_CHANNELS_LND",te.FETCH_PENDING_CHANNELS_LND="FETCH_PENDING_CHANNELS_LND",te.FETCH_CLOSED_CHANNELS_LND="FETCH_CLOSED_CHANNELS_LND",te.SET_CHANNELS_LND="SET_CHANNELS_LND",te.SET_PENDING_CHANNELS_LND="SET_PENDING_CHANNELS_LND",te.SET_CLOSED_CHANNELS_LND="SET_CLOSED_CHANNELS_LND",te.UPDATE_CHANNEL_LND="UPDATE_CHANNEL_LND",te.SAVE_NEW_CHANNEL_LND="SAVE_NEW_CHANNEL_LND",te.CLOSE_CHANNEL_LND="CLOSE_CHANNEL_LND",te.REMOVE_CHANNEL_LND="REMOVE_CHANNEL_LND",te.BACKUP_CHANNELS_LND="BACKUP_CHANNELS_LND",te.VERIFY_CHANNEL_LND="VERIFY_CHANNEL_LND",te.BACKUP_CHANNELS_RES_LND="BACKUP_CHANNELS_RES_LND",te.VERIFY_CHANNEL_RES_LND="VERIFY_CHANNEL_RES_LND",te.RESTORE_CHANNELS_LIST_LND="RESTORE_CHANNELS_LIST_LND",te.SET_RESTORE_CHANNELS_LIST_LND="SET_RESTORE_CHANNELS_LIST_LND",te.RESTORE_CHANNELS_LND="RESTORE_CHANNELS_LND",te.RESTORE_CHANNELS_RES_LND="RESTORE_CHANNELS_RES_LND",te.FETCH_INVOICES_LND="FETCH_INVOICES_LND",te.SET_INVOICES_LND="SET_INVOICES_LND",te.UPDATE_INVOICE_LND="UPDATE_INVOICE_LND",te.UPDATE_PAYMENT_LND="UPDATE_PAYMENT_LND",te.SET_TOTAL_INVOICES_LND="SET_TOTAL_INVOICES_LND",te.FETCH_TRANSACTIONS_LND="FETCH_TRANSACTIONS_LND",te.SET_TRANSACTIONS_LND="SET_TRANSACTIONS_LND",te.FETCH_UTXOS_LND="FETCH_UTXOS_LND",te.SET_UTXOS_LND="SET_UTXOS_LND",te.FETCH_PAYMENTS_LND="FETCH_PAYMENTS_LND",te.SET_PAYMENTS_LND="SET_PAYMENTS_LND",te.SEND_PAYMENT_LND="SEND_PAYMENT_LND",te.SEND_PAYMENT_STATUS_LND="SEND_PAYMENT_STATUS_LND",te.FETCH_GRAPH_NODE_LND="FETCH_GRAPH_NODE_LND",te.SET_GRAPH_NODE_LND="SET_GRAPH_NODE_LND",te.GET_NEW_ADDRESS_LND="GET_NEW_ADDRESS_LND",te.SET_NEW_ADDRESS_LND="SET_NEW_ADDRESS_LND",te.SET_CHANNEL_TRANSACTION_LND="SET_CHANNEL_TRANSACTION_LND",te.SET_CHANNEL_TRANSACTION_RES_LND="SET_CHANNEL_TRANSACTION_RES_LND",te.GEN_SEED_LND="GEN_SEED_LND",te.GEN_SEED_RESPONSE_LND="GEN_SEED_RESPONSE_LND",te.INIT_WALLET_LND="INIT_WALLET_LND",te.INIT_WALLET_RESPONSE_LND="INIT_WALLET_RESPONSE_LND",te.UNLOCK_WALLET_LND="UNLOCK_WALLET_LND",te.PEER_LOOKUP_LND="PEER_LOOKUP_LND",te.CHANNEL_LOOKUP_LND="CHANNEL_LOOKUP_LND",te.INVOICE_LOOKUP_LND="INVOICE_LOOKUP_LND",te.PAYMENT_LOOKUP_LND="PAYMENT_LOOKUP_LND",te.SET_LOOKUP_LND="SET_LOOKUP_LND",te.GET_FORWARDING_HISTORY_LND="GET_FORWARDING_HISTORY_LND",te.SET_FORWARDING_HISTORY_LND="SET_FORWARDING_HISTORY_LND",te.GET_QUERY_ROUTES_LND="GET_QUERY_ROUTES_LND",te.SET_QUERY_ROUTES_LND="SET_QUERY_ROUTES_LND",te.GET_ALL_LIGHTNING_TRANSATIONS_LND="GET_ALL_LIGHTNING_TRANSATIONS_LND",te.SET_ALL_LIGHTNING_TRANSATIONS_LND="SET_ALL_LIGHTNING_TRANSATIONS_LND",te}(de||{}),ge=function(te){return te.RESET_CLN_STORE="RESET_CLN_STORE",te.UPDATE_API_CALL_STATUS_CLN="UPDATE_API_CALL_STATUS_CLN",te.SET_CHILD_NODE_SETTINGS_CLN="SET_CHILD_NODE_SETTINGS_CLN",te.FETCH_PAGE_SETTINGS_CLN="FETCH_PAGE_SETTINGS_CLN",te.SET_PAGE_SETTINGS_CLN="SET_PAGE_SETTINGS_CLN",te.SAVE_PAGE_SETTINGS_CLN="SAVE_PAGE_SETTINGS_CLN",te.FETCH_INFO_CLN="FETCH_INFO_CL_CLN",te.SET_INFO_CLN="SET_INFO_CLN",te.FETCH_FEES_CLN="FETCH_FEES_CLN",te.SET_FEES_CLN="SET_FEES_CLN",te.FETCH_FEE_RATES_CLN="FETCH_FEE_RATES_CLN",te.SET_FEE_RATES_CLN="SET_FEE_RATES_CLN",te.GET_NEW_ADDRESS_CLN="GET_NEW_ADDRESS_CLN",te.SET_NEW_ADDRESS_CLN="SET_NEW_ADDRESS_CLN",te.FETCH_UTXO_BALANCES_CLN="FETCH_UTXO_BALANCES_CLN",te.SET_UTXO_BALANCES_CLN="SET_UTXO_BALANCES_CLN",te.FETCH_PEERS_CLN="FETCH_PEERS_CLN",te.SET_PEERS_CLN="SET_PEERS_CLN",te.SAVE_NEW_PEER_CLN="SAVE_NEW_PEER_CLN",te.NEWLY_ADDED_PEER_CLN="NEWLY_ADDED_PEER_CLN",te.ADD_PEER_CLN="ADD_PEER_CLN",te.DETACH_PEER_CLN="DETACH_PEER_CLN",te.REMOVE_PEER_CLN="REMOVE_PEER_CLN",te.FETCH_CHANNELS_CLN="FETCH_CHANNELS_CLN",te.SET_CHANNELS_CLN="SET_CHANNELS_CLN",te.UPDATE_CHANNEL_CLN="UPDATE_CHANNEL_CLN",te.SAVE_NEW_CHANNEL_CLN="SAVE_NEW_CHANNEL_CLN",te.CLOSE_CHANNEL_CLN="CLOSE_CHANNEL_CLN",te.REMOVE_CHANNEL_CLN="REMOVE_CHANNEL_CLN",te.FETCH_PAYMENTS_CLN="FETCH_PAYMENTS_CLN",te.SET_PAYMENTS_CLN="SET_PAYMENTS_CLN",te.SEND_PAYMENT_CLN="SEND_PAYMENT_CLN",te.SEND_PAYMENT_STATUS_CLN="SEND_PAYMENT_STATUS_CLN",te.GET_QUERY_ROUTES_CLN="GET_QUERY_ROUTES_CLN",te.SET_QUERY_ROUTES_CLN="SET_QUERY_ROUTES_CLN",te.PEER_LOOKUP_CLN="PEER_LOOKUP_CLN",te.CHANNEL_LOOKUP_CLN="CHANNEL_LOOKUP_CLN",te.INVOICE_LOOKUP_CLN="INVOICE_LOOKUP_CLN",te.SET_LOOKUP_CLN="SET_LOOKUP_CLN",te.GET_FORWARDING_HISTORY_CLN="GET_FORWARDING_HISTORY_CLN",te.SET_FORWARDING_HISTORY_CLN="SET_FORWARDING_HISTORY_CLN",te.GET_FAILED_FORWARDING_HISTORY_CLN="GET_FAILED_FORWARDING_HISTORY_CLN",te.SET_FAILED_FORWARDING_HISTORY_CLN="SET_FAILED_FORWARDING_HISTORY_CLN",te.GET_LOCAL_FAILED_FORWARDING_HISTORY_CLN="GET_LOCAL_FAILED_FORWARDING_HISTORY_CLN",te.SET_LOCAL_FAILED_FORWARDING_HISTORY_CLN="SET_LOCAL_FAILED_FORWARDING_HISTORY_CLN",te.FETCH_INVOICES_CLN="FETCH_INVOICES_CLN",te.SET_INVOICES_CLN="SET_INVOICES_CLN",te.SAVE_NEW_INVOICE_CLN="SAVE_NEW_INVOICE_CLN",te.ADD_INVOICE_CLN="ADD_INVOICE_CLN",te.UPDATE_INVOICE_CLN="UPDATE_INVOICE_CLN",te.DELETE_EXPIRED_INVOICE_CLN="DELETE_EXPIRED_INVOICE_CLN",te.SET_CHANNEL_TRANSACTION_CLN="SET_CHANNEL_TRANSACTION_CLN",te.SET_CHANNEL_TRANSACTION_RES_CLN="SET_CHANNEL_TRANSACTION_RES_CLN",te.FETCH_OFFER_INVOICE_CLN="FETCH_OFFER_INVOICE_CLN",te.SET_OFFER_INVOICE_CLN="SET_OFFER_INVOICE_CLN",te.FETCH_OFFERS_CLN="FETCH_OFFERS_CLN",te.SET_OFFERS_CLN="SET_OFFERS_CLN",te.SAVE_NEW_OFFER_CLN="SAVE_NEW_OFFER_CLN",te.ADD_OFFER_CLN="ADD_OFFER_CLN",te.DISABLE_OFFER_CLN="DISABLE_OFFER_CLN",te.UPDATE_OFFER_CLN="UPDATE_OFFER_CLN",te.FETCH_OFFER_BOOKMARKS_CLN="FETCH_OFFER_BOOKMARKS_CLN",te.SET_OFFER_BOOKMARKS_CLN="SET_OFFER_BOOKMARKS_CLN",te.ADD_UPDATE_OFFER_BOOKMARK_CLN="ADD_UPDATE_OFFER_BOOKMARK_CLN",te.DELETE_OFFER_BOOKMARK_CLN="DELETE_OFFER_BOOKMARK_CLN",te.REMOVE_OFFER_BOOKMARK_CLN="REMOVE_OFFER_BOOKMARK_CL",te}(ge||{}),qe=function(te){return te.RESET_ECL_STORE="RESET_ECL_STORE",te.UPDATE_API_CALL_STATUS_ECL="UPDATE_API_CALL_STATUS_ECL",te.SET_CHILD_NODE_SETTINGS_ECL="SET_CHILD_NODE_SETTINGS_ECL",te.FETCH_PAGE_SETTINGS_ECL="FETCH_PAGE_SETTINGS_ECL",te.SET_PAGE_SETTINGS_ECL="SET_PAGE_SETTINGS_ECL",te.SAVE_PAGE_SETTINGS_ECL="SAVE_PAGE_SETTINGS_ECL",te.FETCH_INFO_ECL="FETCH_INFO_ECL",te.SET_INFO_ECL="SET_INFO_ECL",te.FETCH_FEES_ECL="FETCH_FEES_ECL",te.SET_FEES_ECL="SET_FEES_ECL",te.FETCH_CHANNELS_ECL="FETCH_CHANNELS_ECL",te.SET_ACTIVE_CHANNELS_ECL="SET_ACTIVE_CHANNELS_ECL",te.SET_PENDING_CHANNELS_ECL="SET_PENDING_CHANNELS_ECL",te.SET_INACTIVE_CHANNELS_ECL="SET_INACTIVE_CHANNELS_ECL",te.FETCH_ONCHAIN_BALANCE_ECL="FETCH_ONCHAIN_BALANCE_ECL",te.SET_ONCHAIN_BALANCE_ECL="SET_ONCHAIN_BALANCE_ECL",te.FETCH_LIGHTNING_BALANCE_ECL="FETCH_LIGHTNING_BALANCE_ECL",te.SET_LIGHTNING_BALANCE_ECL="SET_LIGHTNING_BALANCE_ECL",te.SET_CHANNELS_STATUS_ECL="SET_CHANNELS_STATUS_ECL",te.FETCH_PEERS_ECL="FETCH_PEERS_ECL",te.SET_PEERS_ECL="SET_PEERS_ECL",te.SAVE_NEW_PEER_ECL="SAVE_NEW_PEER_ECL",te.NEWLY_ADDED_PEER_ECL="NEWLY_ADDED_PEER_ECL",te.ADD_PEER_ECL="ADD_PEER_ECL",te.DETACH_PEER_ECL="DETACH_PEER_ECL",te.REMOVE_PEER_ECL="REMOVE_PEER_ECL",te.GET_NEW_ADDRESS_ECL="GET_NEW_ADDRESS_ECL",te.SET_NEW_ADDRESS_ECL="SET_NEW_ADDRESS_ECL",te.SAVE_NEW_CHANNEL_ECL="SAVE_NEW_CHANNEL_ECL",te.UPDATE_CHANNEL_ECL="UPDATE_CHANNEL_ECL",te.CLOSE_CHANNEL_ECL="CLOSE_CHANNEL_ECL",te.REMOVE_CHANNEL_ECL="REMOVE_CHANNEL_ECL",te.FETCH_PAYMENTS_ECL="FETCH_PAYMENTS_ECL",te.SET_PAYMENTS_ECL="SET_PAYMENTS_ECL",te.GET_QUERY_ROUTES_ECL="GET_QUERY_ROUTES_ECL",te.SET_QUERY_ROUTES_ECL="SET_QUERY_ROUTES_ECL",te.SEND_PAYMENT_ECL="SEND_PAYMENT_ECL",te.SEND_PAYMENT_STATUS_ECL="SEND_PAYMENT_STATUS_ECL",te.FETCH_TRANSACTIONS_ECL="FETCH_TRANSACTIONS_ECL",te.SET_TRANSACTIONS_ECL="SET_TRANSACTIONS_ECL",te.SEND_ONCHAIN_FUNDS_ECL="SEND_ONCHAIN_FUNDS_ECL",te.SEND_ONCHAIN_FUNDS_RES_ECL="SEND_ONCHAIN_FUNDS_RES_ECL",te.FETCH_INVOICES_ECL="FETCH_INVOICES_ECL",te.SET_INVOICES_ECL="SET_INVOICES_ECL",te.SET_TOTAL_INVOICES_ECL="SET_TOTAL_INVOICES_ECL",te.CREATE_INVOICE_ECL="CREATE_INVOICE_ECL",te.ADD_INVOICE_ECL="ADD_INVOICE_ECL",te.UPDATE_INVOICE_ECL="UPDATE_INVOICE_ECL",te.PEER_LOOKUP_ECL="PEER_LOOKUP_ECL",te.INVOICE_LOOKUP_ECL="INVOICE_LOOKUP_ECL",te.SET_LOOKUP_ECL="SET_LOOKUP_ECL",te.UPDATE_CHANNEL_STATE_ECL="UPDATE_CHANNEL_STATE_ECL",te.UPDATE_RELAYED_PAYMENT_ECL="UPDATE_RELAYED_PAYMENT_ECL",te}(qe||{});const oe=[{range:{min:0,max:1},description:"Requires or supports extra channel re-establish fields"},{range:{min:4,max:5},description:"Commits to a shutdown script pubkey when opening channel"},{range:{min:6,max:7},description:"More sophisticated gossip control"},{range:{min:8,max:9},description:"Requires/supports variable-length routing onion payloads"},{range:{min:10,max:11},description:"Gossip queries can include additional information"},{range:{min:12,max:13},description:"Static key for remote output"},{range:{min:14,max:15},description:"Node supports payment secret field"},{range:{min:16,max:17},description:"Node can receive basic multi-part payments"},{range:{min:18,max:19},description:"Node can create large channels"},{range:{min:20,max:21},description:"Anchor outputs"},{range:{min:22,max:23},description:"Anchor commitment type with zero fee HTLC transactions"},{range:{min:26,max:27},description:"Future segwit versions allowed in shutdown"},{range:{min:30,max:31},description:"AMP support"},{range:{min:44,max:45},description:"Explicit commitment type"}];var ve=function(te){return te.gossip_queries_ex="Gossip queries including additional information",te.option_anchor_outputs="Anchor outputs",te.option_data_loss_protect="Extra channel re-establish fields",te.var_onion_optin="Variable-length routing onion payloads",te.option_static_remotekey="Static key for remote output",te.option_support_large_channel="Create large channels",te.option_anchors_zero_fee_htlc_tx="Anchor commitment type with zero fee HTLC transactions",te.payment_secret="Payment secret field",te.option_shutdown_anysegwit="Future segwit versions allowed in shutdown",te.basic_mpp="Basic multi-part payments",te.gossip_queries="More sophisticated gossip control",te.option_upfront_shutdown_script="Shutdown script pubkey when opening channel",te.anchors_zero_fee_htlc_tx="Anchor commitment type with zero fee HTLC transactions",te.amp="AMP",te}(ve||{}),le=function(te){return te["data-loss-protect"]="Extra channel re-establish fields",te["upfront-shutdown-script"]="Shutdown script pubkey when opening channel",te["gossip-queries"]="More sophisticated gossip control",te["tlv-onion"]="Variable-length routing onion payloads",te["ext-gossip-queries"]="Gossip queries can include additional information",te["static-remote-key"]="Static key for remote output",te["payment-addr"]="Payment secret field",te["multi-path-payments"]="Basic multi-part payments",te["wumbo-channels"]="Wumbo Channels",te.anchors="Anchor outputs",te["anchors-zero-fee-htlc-tx"]="Anchor commitment type with zero fee HTLC transactions",te.amp="AMP",te}(le||{});const Ge=[{id:"match",placeholder:"Policy Match (%age)",min:0,max:200},{id:"available",placeholder:"Policy Available (%age)",min:0,max:100},{id:"fixed",placeholder:"Fixed Policy (Sats)",min:0,max:100}];var We=function(te){return te.OFFERED="offered",te.SETTLED="settled",te.FAILED="failed",te.LOCAL_FAILED="local_failed",te}(We||{}),Be=function(te){return te.ASCENDING="asc",te.DESCENDING="desc",te}(Be||{});const it=["asc","desc"],$e=[{pageId:"on_chain",tables:[{tableId:"utxos",recordsPerPage:V,sortBy:"blockheight",sortOrder:Be.DESCENDING,columnSelectionSM:["txid","value"],columnSelection:["txid","output","value","blockheight"]},{tableId:"dust_utxos",recordsPerPage:V,sortBy:"blockheight",sortOrder:Be.DESCENDING,columnSelectionSM:["txid","value"],columnSelection:["txid","output","value","blockheight"]}]},{pageId:"peers_channels",tables:[{tableId:"open_channels",recordsPerPage:V,sortBy:"msatoshi_to_us",sortOrder:Be.DESCENDING,columnSelectionSM:["alias","msatoshi_to_us","msatoshi_to_them"],columnSelection:["short_channel_id","alias","msatoshi_to_us","msatoshi_to_them","balancedness"]},{tableId:"pending_inactive_channels",recordsPerPage:V,sortBy:"state",sortOrder:Be.DESCENDING,columnSelectionSM:["alias","state"],columnSelection:["alias","connected","state","msatoshi_total"]},{tableId:"peers",recordsPerPage:V,sortBy:"alias",sortOrder:Be.ASCENDING,columnSelectionSM:["alias","id"],columnSelection:["alias","id","netaddr"]},{tableId:"active_HTLCs",recordsPerPage:V,sortBy:"expiry",sortOrder:Be.DESCENDING,columnSelectionSM:["amount_msat","direction","expiry"],columnSelection:["amount_msat","direction","expiry","state"]}]},{pageId:"liquidity_ads",tables:[{tableId:"liquidity_ads",recordsPerPage:V,sortBy:"channel_opening_fee",sortOrder:Be.ASCENDING,columnSelectionSM:["alias","channel_opening_fee"],columnSelection:["alias","last_timestamp","lease_fee","routing_fee","channel_opening_fee"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:V,sortBy:"created_at",sortOrder:Be.DESCENDING,columnSelectionSM:["created_at","msatoshi"],columnSelection:["created_at","type","payment_hash","msatoshi_sent","msatoshi"]},{tableId:"invoices",recordsPerPage:V,sortBy:"expires_at",sortOrder:Be.DESCENDING,columnSelectionSM:["expires_at","msatoshi"],columnSelection:["expires_at","paid_at","type","description","msatoshi","msatoshi_received"]},{tableId:"offers",recordsPerPage:V,sortBy:"offer_id",sortOrder:Be.DESCENDING,columnSelectionSM:["offer_id","single_use"],columnSelection:["offer_id","single_use","used"]},{tableId:"offer_bookmarks",recordsPerPage:V,sortBy:"lastUpdatedAt",sortOrder:Be.DESCENDING,columnSelectionSM:["lastUpdatedAt","amountMSat"],columnSelection:["lastUpdatedAt","title","description","amountMSat"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:V,sortBy:"received_time",sortOrder:Be.DESCENDING,columnSelectionSM:["received_time","in_msatoshi","out_msatoshi"],columnSelection:["received_time","resolved_time","in_channel_alias","out_channel_alias","in_msatoshi","out_msatoshi","fee"]},{tableId:"routing_peers",recordsPerPage:V,sortBy:"total_fee",sortOrder:Be.DESCENDING,columnSelectionSM:["alias","events","total_fee"],columnSelection:["channel_id","alias","events","total_amount","total_fee"]},{tableId:"failed",recordsPerPage:V,sortBy:"received_time",sortOrder:Be.DESCENDING,columnSelectionSM:["received_time","in_channel_alias","in_msatoshi"],columnSelection:["received_time","resolved_time","in_channel_alias","out_channel_alias","in_msatoshi","out_msatoshi","fee"]},{tableId:"local_failed",recordsPerPage:V,sortBy:"received_time",sortOrder:Be.DESCENDING,columnSelectionSM:["received_time","in_channel_alias","in_msatoshi"],columnSelection:["received_time","in_channel_alias","in_msatoshi","style","failreason"]}]},{pageId:"reports",tables:[{tableId:"routing",recordsPerPage:V,sortBy:"received_time",sortOrder:Be.DESCENDING,columnSelectionSM:["received_time","in_msatoshi","out_msatoshi"],columnSelection:["received_time","resolved_time","in_channel_alias","out_channel_alias","in_msatoshi","out_msatoshi","fee"]},{tableId:"transactions",recordsPerPage:V,sortBy:"date",sortOrder:Be.DESCENDING,columnSelectionSM:["date","amount_paid","amount_received"],columnSelection:["date","amount_paid","num_payments","amount_received","num_invoices"]}]},{pageId:"graph_lookup",tables:[{tableId:"query_routes",recordsPerPage:V,sortBy:"msatoshi",sortOrder:Be.DESCENDING,columnSelectionSM:["alias","direction","msatoshi"],columnSelection:["alias","channel","direction","delay","msatoshi"]}]}],ke={on_chain:{utxos:{maxColumns:7,allowedColumns:[{column:"txid",label:"Transaction ID"},{column:"address"},{column:"scriptpubkey",label:"Script Pubkey"},{column:"output"},{column:"value"},{column:"blockheight"},{column:"reserved"}]},dust_utxos:{maxColumns:7,allowedColumns:[{column:"txid",label:"Transaction ID"},{column:"address"},{column:"scriptpubkey",label:"Script Pubkey"},{column:"output"},{column:"value"},{column:"blockheight"},{column:"reserved"}]}},peers_channels:{open_channels:{maxColumns:8,allowedColumns:[{column:"short_channel_id"},{column:"alias"},{column:"id"},{column:"channel_id"},{column:"funding_txid",label:"Funding Transaction ID"},{column:"connected"},{column:"our_channel_reserve_satoshis",label:"Local Reserve"},{column:"their_channel_reserve_satoshis",label:"Remote Reserve"},{column:"msatoshi_total",label:"Total"},{column:"spendable_msatoshi",label:"Spendable"},{column:"msatoshi_to_us",label:"Local Balance"},{column:"msatoshi_to_them",label:"Remote Balance"},{column:"balancedness",label:"Balance Score"}]},pending_inactive_channels:{maxColumns:8,allowedColumns:[{column:"alias"},{column:"id"},{column:"channel_id"},{column:"funding_txid",label:"Funding Transaction ID"},{column:"connected"},{column:"state"},{column:"our_channel_reserve_satoshis",label:"Local Reserve"},{column:"their_channel_reserve_satoshis",label:"Remote Reserve"},{column:"msatoshi_total",label:"Total"},{column:"spendable_msatoshi",label:"Spendable"},{column:"msatoshi_to_us",label:"Local Balance"},{column:"msatoshi_to_them",label:"Remote Balance"}]},peers:{maxColumns:3,allowedColumns:[{column:"alias"},{column:"id"},{column:"netaddr",label:"Network Address"}]},active_HTLCs:{maxColumns:7,allowedColumns:[{column:"amount_msat",label:"Amount (Sats)"},{column:"direction"},{column:"id",label:"HTLC ID"},{column:"state"},{column:"expiry"},{column:"payment_hash"},{column:"local_trimmed"}]}},liquidity_ads:{liquidity_ads:{maxColumns:8,allowedColumns:[{column:"alias"},{column:"nodeid",label:"Node ID"},{column:"last_timestamp",label:"Last Announcement At"},{column:"compact_lease"},{column:"lease_fee"},{column:"routing_fee"},{column:"channel_opening_fee"},{column:"funding_weight"}]}},transactions:{payments:{maxColumns:7,allowedColumns:[{column:"created_at",label:"Created At"},{column:"type"},{column:"payment_hash"},{column:"bolt11",label:"Invoice"},{column:"destination"},{column:"memo"},{column:"label"},{column:"msatoshi_sent",label:"Sats Sent"},{column:"msatoshi",label:"Sats Received"}]},invoices:{maxColumns:7,allowedColumns:[{column:"expires_at",label:"Expiry Date"},{column:"paid_at",label:"Date Settled"},{column:"type"},{column:"description"},{column:"label"},{column:"payment_hash"},{column:"bolt11",label:"Invoice"},{column:"msatoshi",label:"Amount"},{column:"msatoshi_received",label:"Amount Settled"}]},offers:{maxColumns:4,allowedColumns:[{column:"offer_id",label:"Offer ID"},{column:"single_use"},{column:"used"},{column:"bolt12",label:"Invoice"}]},offer_bookmarks:{maxColumns:6,allowedColumns:[{column:"lastUpdatedAt",label:"Updated At"},{column:"title"},{column:"description"},{column:"issuer"},{column:"bolt12",label:"Invoice"},{column:"amountMSat",label:"Amount"}]}},routing:{forwarding_history:{maxColumns:8,allowedColumns:[{column:"received_time"},{column:"resolved_time"},{column:"in_channel",label:"In Channel ID"},{column:"in_channel_alias",label:"In Channel"},{column:"out_channel",label:"Out Channel ID"},{column:"out_channel_alias",label:"Out Channel"},{column:"payment_hash"},{column:"in_msatoshi",label:"Amount In"},{column:"out_msatoshi",label:"Amount Out"},{column:"fee"}]},routing_peers:{maxColumns:5,allowedColumns:[{column:"channel_id"},{column:"alias",label:"Peer Alias"},{column:"events"},{column:"total_amount",label:"Amount"},{column:"total_fee",label:"Fee"}]},failed:{maxColumns:7,allowedColumns:[{column:"received_time"},{column:"resolved_time"},{column:"in_channel",label:"In Channel ID"},{column:"in_channel_alias",label:"In Channel"},{column:"out_channel",label:"Out Channel ID"},{column:"out_channel_alias",label:"Out Channel"},{column:"in_msatoshi",label:"Amount In"},{column:"out_msatoshi",label:"Amount Out"},{column:"fee"}]},local_failed:{maxColumns:6,allowedColumns:[{column:"received_time"},{column:"in_channel",label:"In Channel ID"},{column:"in_channel_alias",label:"In Channel"},{column:"out_channel",label:"Out Channel ID"},{column:"out_channel_alias",label:"Out Channel"},{column:"in_msatoshi",label:"Amount In"},{column:"style"},{column:"failreason",label:"Fail Reason"}]}},reports:{routing:{maxColumns:8,allowedColumns:[{column:"received_time"},{column:"resolved_time"},{column:"in_channel",label:"In Channel ID"},{column:"in_channel_alias",label:"In Channel"},{column:"out_channel",label:"Out Channel ID"},{column:"out_channel_alias",label:"Out Channel"},{column:"payment_hash"},{column:"in_msatoshi",label:"Amount In"},{column:"out_msatoshi",label:"Amount Out"},{column:"fee"}]},transactions:{maxColumns:5,allowedColumns:[{column:"date"},{column:"amount_paid"},{column:"num_payments",label:"# Payments"},{column:"amount_received"},{column:"num_invoices",label:"# Invoices"}]}},graph_lookup:{query_routes:{maxColumns:6,allowedColumns:[{column:"id"},{column:"alias"},{column:"channel"},{column:"direction"},{column:"delay"},{column:"msatoshi",label:"Amount"}]}}},st=[{pageId:"on_chain",tables:[{tableId:"utxos",recordsPerPage:V,sortBy:"tx_id",sortOrder:Be.DESCENDING,columnSelectionSM:["output","amount_sat"],columnSelection:["tx_id","output","label","amount_sat","confirmations"]},{tableId:"transactions",recordsPerPage:V,sortBy:"time_stamp",sortOrder:Be.DESCENDING,columnSelectionSM:["time_stamp","amount","num_confirmations"],columnSelection:["time_stamp","label","amount","total_fees","block_height","num_confirmations"]},{tableId:"dust_utxos",recordsPerPage:V,sortBy:"tx_id",sortOrder:Be.DESCENDING,columnSelectionSM:["output","amount_sat"],columnSelection:["tx_id","output","label","amount_sat","confirmations"]}]},{pageId:"peers_channels",tables:[{tableId:"open",recordsPerPage:V,sortBy:"balancedness",sortOrder:Be.DESCENDING,columnSelectionSM:["remote_alias","local_balance"],columnSelection:["remote_alias","uptime_str","total_satoshis_sent","total_satoshis_received","local_balance","remote_balance","balancedness"]},{tableId:"pending_open",sortBy:"capacity",sortOrder:Be.DESCENDING,columnSelectionSM:["remote_alias","capacity"],columnSelection:["remote_alias","commit_fee","commit_weight","capacity"]},{tableId:"pending_force_closing",sortBy:"limbo_balance",sortOrder:Be.DESCENDING,columnSelectionSM:["remote_alias","limbo_balance"],columnSelection:["remote_alias","recovered_balance","limbo_balance","capacity"]},{tableId:"pending_closing",sortBy:"capacity",sortOrder:Be.DESCENDING,columnSelectionSM:["remote_alias","capacity"],columnSelection:["remote_alias","local_balance","remote_balance","capacity"]},{tableId:"pending_waiting_close",sortBy:"limbo_balance",sortOrder:Be.DESCENDING,columnSelectionSM:["remote_alias","limbo_balance"],columnSelection:["remote_alias","limbo_balance","local_balance","remote_balance"]},{tableId:"closed",recordsPerPage:V,sortBy:"close_type",sortOrder:Be.DESCENDING,columnSelectionSM:["remote_alias","settled_balance"],columnSelection:["close_type","remote_alias","capacity","close_height","settled_balance"]},{tableId:"active_HTLCs",recordsPerPage:V,sortBy:"incoming",sortOrder:Be.ASCENDING,columnSelectionSM:["amount","incoming","expiration_height"],columnSelection:["amount","incoming","expiration_height","hash_lock"]},{tableId:"peers",recordsPerPage:V,sortBy:"alias",sortOrder:Be.DESCENDING,columnSelectionSM:["alias","sat_sent","sat_recv"],columnSelection:["alias","pub_key","sat_sent","sat_recv","ping_time"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:V,sortBy:"creation_date",sortOrder:Be.DESCENDING,columnSelectionSM:["creation_date","fee","value"],columnSelection:["creation_date","payment_hash","fee","value","hops"]},{tableId:"invoices",recordsPerPage:V,sortBy:"creation_date",sortOrder:Be.DESCENDING,columnSelectionSM:["creation_date","settle_date","value"],columnSelection:["creation_date","settle_date","memo","value","amt_paid_sat"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:V,sortBy:"timestamp",sortOrder:Be.DESCENDING,columnSelectionSM:["timestamp","amt_in","amt_out"],columnSelection:["timestamp","alias_in","alias_out","amt_in","amt_out","fee_msat"]},{tableId:"routing_peers",recordsPerPage:V,sortBy:"total_amount",sortOrder:Be.DESCENDING,columnSelectionSM:["alias","events","total_amount"],columnSelection:["chan_id","alias","events","total_amount"]},{tableId:"non_routing_peers",recordsPerPage:V,sortBy:"remote_alias",sortOrder:Be.DESCENDING,columnSelectionSM:["remote_alias","local_balance","remote_balance"],columnSelection:["chan_id","remote_alias","total_satoshis_received","total_satoshis_sent","local_balance","remote_balance"]}]},{pageId:"reports",tables:[{tableId:"routing",recordsPerPage:V,sortBy:"timestamp",sortOrder:Be.DESCENDING,columnSelectionSM:["timestamp","amt_in","amt_out"],columnSelection:["timestamp","alias_in","alias_out","amt_in","amt_out","fee_msat"]},{tableId:"transactions",recordsPerPage:V,sortBy:"date",sortOrder:Be.DESCENDING,columnSelectionSM:["date","amount_paid","amount_received"],columnSelection:["date","amount_paid","num_payments","amount_received","num_invoices"]}]},{pageId:"graph_lookup",tables:[{tableId:"query_routes",recordsPerPage:V,sortBy:"hop_sequence",sortOrder:Be.ASCENDING,columnSelectionSM:["hop_sequence","pubkey_alias","fee_msat"],columnSelection:["hop_sequence","pubkey_alias","chan_capacity","amt_to_forward_msat","fee_msat"]}]},{pageId:"loop",tables:[{tableId:"loop",recordsPerPage:V,sortBy:"initiation_time",sortOrder:Be.DESCENDING,columnSelectionSM:["state","amt"],columnSelection:["state","initiation_time","amt","cost_server","cost_offchain","cost_onchain"]}]},{pageId:"boltz",tables:[{tableId:"swap_out",recordsPerPage:V,sortBy:"status",sortOrder:Be.DESCENDING,columnSelectionSM:["status","id","onchainAmount"],columnSelection:["status","id","claimAddress","onchainAmount","timeoutBlockHeight"]},{tableId:"swap_in",recordsPerPage:V,sortBy:"status",sortOrder:Be.DESCENDING,columnSelectionSM:["status","id","expectedAmount"],columnSelection:["status","id","lockupAddress","expectedAmount","timeoutBlockHeight"]}]}],Ke={on_chain:{utxos:{maxColumns:7,allowedColumns:[{column:"tx_id",label:"Transaction ID"},{column:"output"},{column:"label"},{column:"address_type"},{column:"address"},{column:"amount_sat",label:"Amount"},{column:"confirmations"}]},transactions:{maxColumns:7,allowedColumns:[{column:"time_stamp",label:"Date/Time"},{column:"label"},{column:"block_hash"},{column:"tx_hash",label:"Transaction Hash"},{column:"amount"},{column:"total_fees",label:"Fees"},{column:"block_height"},{column:"num_confirmations",label:"Confirmations"}]},dust_utxos:{maxColumns:7,allowedColumns:[{column:"tx_id",label:"Transaction ID"},{column:"output"},{column:"label"},{column:"address_type"},{column:"address"},{column:"amount_sat"},{column:"confirmations"}]}},peers_channels:{open:{maxColumns:8,allowedColumns:[{column:"remote_alias",label:"Peer"},{column:"remote_pubkey",label:"Pubkey"},{column:"channel_point"},{column:"chan_id",label:"Channel ID"},{column:"initiator"},{column:"static_remote_key"},{column:"uptime_str",label:"Uptime"},{column:"lifetime_str",label:"Lifetime"},{column:"commit_fee"},{column:"commit_weight"},{column:"fee_per_kw",label:"Fee/KW"},{column:"num_updates",label:"Updates"},{column:"unsettled_balance"},{column:"capacity"},{column:"local_chan_reserve_sat",label:"Local Reserve"},{column:"remote_chan_reserve_sat",label:"Remote Reserve"},{column:"total_satoshis_sent",label:"Sats Sent"},{column:"total_satoshis_received",label:"Sats Received"},{column:"local_balance"},{column:"remote_balance"},{column:"balancedness",label:"Balance Score"}]},pending_open:{maxColumns:7,disablePageSize:!0,allowedColumns:[{column:"remote_alias",label:"Peer"},{column:"remote_node_pub",label:"Pubkey"},{column:"channel_point"},{column:"initiator"},{column:"commitment_type"},{column:"confirmation_height"},{column:"commit_fee"},{column:"commit_weight"},{column:"fee_per_kw",label:"Fee/KW"},{column:"capacity"},{column:"local_balance"},{column:"remote_balance"}]},pending_force_closing:{maxColumns:7,disablePageSize:!0,allowedColumns:[{column:"closing_txid",label:"Closing Tx ID"},{column:"remote_alias",label:"Peer"},{column:"remote_node_pub",label:"Pubkey"},{column:"channel_point"},{column:"initiator"},{column:"commitment_type"},{column:"limbo_balance"},{column:"maturity_height"},{column:"blocks_til_maturity",label:"Blocks till Maturity"},{column:"recovered_balance"},{column:"capacity"},{column:"local_balance"},{column:"remote_balance"}]},pending_closing:{maxColumns:7,disablePageSize:!0,allowedColumns:[{column:"closing_txid",label:"Closing Tx ID"},{column:"remote_alias",label:"Peer"},{column:"remote_node_pub",label:"Pubkey"},{column:"channel_point"},{column:"initiator"},{column:"commitment_type"},{column:"capacity"},{column:"local_balance"},{column:"remote_balance"}]},pending_waiting_close:{maxColumns:7,disablePageSize:!0,allowedColumns:[{column:"closing_txid",label:"Closing Tx ID"},{column:"remote_alias",label:"Peer"},{column:"remote_node_pub",label:"Pubkey"},{column:"channel_point"},{column:"initiator"},{column:"commitment_type"},{column:"limbo_balance"},{column:"capacity"},{column:"local_balance"},{column:"remote_balance"}]},closed:{maxColumns:7,allowedColumns:[{column:"close_type"},{column:"remote_alias",label:"Peer"},{column:"remote_pubkey",label:"Pubkey"},{column:"channel_point"},{column:"chan_id",label:"Channel ID"},{column:"closing_tx_hash",label:"Closing Tx Hash"},{column:"chain_hash"},{column:"open_initiator"},{column:"close_initiator"},{column:"time_locked_balance",label:"Timelocked Balance"},{column:"capacity"},{column:"close_height"},{column:"settled_balance"}]},active_HTLCs:{maxColumns:7,allowedColumns:[{column:"amount"},{column:"incoming"},{column:"forwarding_channel"},{column:"htlc_index"},{column:"forwarding_htlc_index"},{column:"expiration_height"},{column:"hash_lock"}]},peers:{maxColumns:8,allowedColumns:[{column:"alias"},{column:"pub_key",label:"Public Key"},{column:"address"},{column:"sync_type"},{column:"inbound"},{column:"bytes_sent"},{column:"bytes_recv",label:"Bytes Received"},{column:"sat_sent",label:"Sats Sent"},{column:"sat_recv",label:"Sats Received"},{column:"ping_time"}]}},transactions:{payments:{maxColumns:8,allowedColumns:[{column:"creation_date"},{column:"payment_hash"},{column:"payment_request"},{column:"payment_preimage"},{column:"description"},{column:"description_hash"},{column:"failure_reason"},{column:"payment_index"},{column:"fee"},{column:"value"},{column:"hops"}]},invoices:{maxColumns:9,allowedColumns:[{column:"private"},{column:"is_keysend",label:"Keysend"},{column:"is_amp",label:"AMP"},{column:"creation_date",label:"Date Created"},{column:"settle_date",label:"Date Settled"},{column:"memo"},{column:"r_preimage",label:"Preimage"},{column:"r_hash",label:"Preimage Hash"},{column:"payment_addr",label:"Payment Address"},{column:"payment_request"},{column:"description_hash"},{column:"expiry"},{column:"cltv_expiry"},{column:"add_index"},{column:"settle_index"},{column:"value",label:"Amount"},{column:"amt_paid_sat",label:"Amount Settled"}]}},routing:{forwarding_history:{maxColumns:6,allowedColumns:[{column:"timestamp"},{column:"alias_in",label:"Inbound Alias"},{column:"chan_id_in",label:"Inbound Channel"},{column:"alias_out",label:"Outbound Alias"},{column:"chan_id_out",label:"Outbound Channel"},{column:"amt_in",label:"Inbound Amount"},{column:"amt_out",label:"Outbound Amount"},{column:"fee_msat",label:"Fee"}]},routing_peers:{maxColumns:4,allowedColumns:[{column:"chan_id",label:"Channel ID"},{column:"alias",label:"Peer Alias"},{column:"events"},{column:"total_amount"}]},non_routing_peers:{maxColumns:8,allowedColumns:[{column:"chan_id",label:"Channel ID"},{column:"remote_alias",label:"Peer Alias"},{column:"remote_pubkey",label:"Peer Pubkey"},{column:"channel_point"},{column:"uptime_str",label:"Uptime"},{column:"lifetime_str",label:"Lifetime"},{column:"commit_fee"},{column:"commit_weight"},{column:"fee_per_kw",label:"Fee/KW"},{column:"num_updates",label:"Updates"},{column:"unsettled_balance"},{column:"capacity"},{column:"local_chan_reserve_sat",label:"Local Reserve"},{column:"remote_chan_reserve_sat",label:"Remote Reserve"},{column:"total_satoshis_sent",label:"Sats Sent"},{column:"total_satoshis_received",label:"Sats Received"},{column:"local_balance"},{column:"remote_balance"}]}},reports:{routing:{maxColumns:6,allowedColumns:[{column:"timestamp"},{column:"alias_in",label:"Inbound Alias"},{column:"chan_id_in",label:"Inbound Channel"},{column:"alias_out",label:"Outbound Alias"},{column:"chan_id_out",label:"Outbound Channel"},{column:"amt_in",label:"Inbound Amount"},{column:"amt_out",label:"Outbound Amount"},{column:"fee_msat",label:"Fee"}]},transactions:{maxColumns:5,allowedColumns:[{column:"date"},{column:"amount_paid"},{column:"num_payments",label:"# Payments"},{column:"amount_received"},{column:"num_invoices",label:"# Invoices"}]}},graph_lookup:{query_routes:{maxColumns:8,disablePageSize:!0,allowedColumns:[{column:"hop_sequence",label:"Hop"},{column:"pubkey_alias",label:"Peer"},{column:"pub_key",label:"Peer Pubkey"},{column:"chan_id",label:"Channel ID"},{column:"tlv_payload"},{column:"expiry"},{column:"chan_capacity",label:"Capacity"},{column:"amt_to_forward_msat",label:"Amount To Fwd"},{column:"fee_msat",label:"Fee"}]}},loop:{loop:{maxColumns:8,allowedColumns:[{column:"state"},{column:"initiation_time"},{column:"last_update_time"},{column:"amt",label:"Amount"},{column:"cost_server"},{column:"cost_offchain"},{column:"cost_onchain"},{column:"htlc_address"},{column:"id"},{column:"id_bytes",label:"ID (Bytes)"}]}},boltz:{swap_out:{maxColumns:7,allowedColumns:[{column:"status"},{column:"id",label:"Swap ID"},{column:"claimAddress",label:"Claim Address"},{column:"onchainAmount",label:"Onchain Amount"},{column:"error"},{column:"privateKey",label:"Private Key"},{column:"preimage"},{column:"redeemScript",label:"Redeem Script"},{column:"invoice"},{column:"timeoutBlockHeight",label:"Timeout Block Height"},{column:"lockupTransactionId",label:"Lockup Tx ID"},{column:"claimTransactionId",label:"Claim Tx ID"}]},swap_in:{maxColumns:7,allowedColumns:[{column:"status"},{column:"id",label:"Swap ID"},{column:"lockupAddress",label:"Lockup Address"},{column:"expectedAmount",label:"Expected Amount"},{column:"error"},{column:"privateKey",label:"Private Key"},{column:"preimage"},{column:"redeemScript",label:"Redeem Script"},{column:"invoice"},{column:"timeoutBlockHeight",label:"Timeout Block Height"},{column:"lockupTransactionId",label:"Lockup Tx ID"},{column:"refundTransactionId",label:"Refund Tx ID"}]}}},Et=[{pageId:"on_chain",tables:[{tableId:"transaction",recordsPerPage:V,sortBy:"timestamp",sortOrder:Be.DESCENDING,columnSelectionSM:["timestamp","amount"],columnSelection:["timestamp","address","amount","fees","confirmations"]}]},{pageId:"peers_channels",tables:[{tableId:"open_channels",recordsPerPage:V,sortBy:"alias",sortOrder:Be.DESCENDING,columnSelectionSM:["alias","toLocal","toRemote"],columnSelection:["shortChannelId","alias","feeBaseMsat","feeProportionalMillionths","toLocal","toRemote","balancedness"]},{tableId:"pending_channels",recordsPerPage:V,sortBy:"alias",sortOrder:Be.DESCENDING,columnSelectionSM:["state","alias","toLocal"],columnSelection:["state","alias","toLocal","toRemote"]},{tableId:"inactive_channels",recordsPerPage:V,sortBy:"alias",sortOrder:Be.DESCENDING,columnSelectionSM:["state","alias","toLocal"],columnSelection:["state","shortChannelId","alias","toLocal","toRemote","balancedness"]},{tableId:"peers",recordsPerPage:V,sortBy:"alias",sortOrder:Be.ASCENDING,columnSelectionSM:["alias","nodeId"],columnSelection:["alias","nodeId","address","channels"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:V,sortBy:"firstPartTimestamp",sortOrder:Be.DESCENDING,columnSelectionSM:["firstPartTimestamp","recipientAmount"],columnSelection:["firstPartTimestamp","id","recipientNodeAlias","recipientAmount"]},{tableId:"invoices",recordsPerPage:V,sortBy:"receivedAt",sortOrder:Be.DESCENDING,columnSelectionSM:["timestamp","amount","amountSettled"],columnSelection:["timestamp","receivedAt","description","amount","amountSettled"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:V,sortBy:"timestamp",sortOrder:Be.DESCENDING,columnSelectionSM:["timestamp","amountIn","fee"],columnSelection:["timestamp","fromChannelAlias","toChannelAlias","amountIn","amountOut","fee"]},{tableId:"routing_peers",recordsPerPage:V,sortBy:"totalFee",sortOrder:Be.DESCENDING,columnSelectionSM:["alias","events","totalFee"],columnSelection:["channelId","alias","events","totalAmount","totalFee"]}]},{pageId:"reports",tables:[{tableId:"routing",recordsPerPage:V,sortBy:"timestamp",sortOrder:Be.DESCENDING,columnSelectionSM:["timestamp","amountIn","fee"],columnSelection:["timestamp","fromChannelAlias","toChannelAlias","amountIn","amountOut","fee"]},{tableId:"transactions",recordsPerPage:V,sortBy:"date",sortOrder:Be.DESCENDING,columnSelectionSM:["date","amount_paid","amount_received"],columnSelection:["date","amount_paid","num_payments","amount_received","num_invoices"]}]}],ct={on_chain:{transaction:{maxColumns:6,allowedColumns:[{column:"timestamp",label:"Date/Time"},{column:"address"},{column:"blockHash"},{column:"txid",label:"Transaction ID"},{column:"amount"},{column:"fees"},{column:"confirmations"}]}},peers_channels:{open_channels:{maxColumns:8,allowedColumns:[{column:"shortChannelId"},{column:"channelId"},{column:"alias"},{column:"nodeId"},{column:"isInitiator",label:"Initiator"},{column:"feeBaseMsat",label:"Base Fee"},{column:"feeProportionalMillionths",label:"Fee Rate"},{column:"toLocal",label:"Local Balance"},{column:"toRemote",label:"Remote Balance"},{column:"balancedness",label:"Balance Score"}]},pending_channels:{maxColumns:7,allowedColumns:[{column:"state"},{column:"channelId"},{column:"alias"},{column:"nodeId"},{column:"isInitiator",label:"Initiator"},{column:"toLocal",label:"Local Balance"},{column:"toRemote",label:"Remote Balance"}]},inactive_channels:{maxColumns:8,allowedColumns:[{column:"state"},{column:"shortChannelId"},{column:"channelId"},{column:"alias"},{column:"nodeId"},{column:"isInitiator",label:"Initiator"},{column:"toLocal",label:"Local Balance"},{column:"toRemote",label:"Remote Balance"},{column:"balancedness",label:"Balance Score"}]},peers:{maxColumns:4,allowedColumns:[{column:"alias"},{column:"nodeId"},{column:"address",label:"Netwrok Address"},{column:"channels"}]}},transactions:{payments:{maxColumns:7,allowedColumns:[{column:"firstPartTimestamp",label:"Date/Time"},{column:"id"},{column:"recipientNodeId",label:"Destination Node ID"},{column:"recipientNodeAlias",label:"Destination"},{column:"description"},{column:"paymentHash"},{column:"paymentPreimage",label:"Preimage"},{column:"recipientAmount",label:"Amount"}]},invoices:{maxColumns:7,allowedColumns:[{column:"timestamp",label:"Date Created"},{column:"expiresAt",label:"Date Expiry"},{column:"receivedAt",label:"Date Settled"},{column:"nodeId",label:"Node ID"},{column:"description"},{column:"paymentHash"},{column:"amount"},{column:"amountSettled",label:"Amount Settled"}]}},routing:{forwarding_history:{maxColumns:7,allowedColumns:[{column:"timestamp",label:"Date/Time"},{column:"fromChannelId",label:"In Channel ID"},{column:"fromShortChannelId",label:"In Channel Short ID"},{column:"fromChannelAlias",label:"In Channel"},{column:"toChannelId",label:"Out Channel ID"},{column:"toShortChannelId",label:"Out Channel Short ID"},{column:"toChannelAlias",label:"Out Channel"},{column:"paymentHash"},{column:"amountIn"},{column:"amountOut"},{column:"fee",label:"Fee Earned"}]},routing_peers:{maxColumns:5,allowedColumns:[{column:"channelId"},{column:"alias",label:"Peer Alias"},{column:"events"},{column:"totalAmount",label:"Amount"},{column:"totalFee",label:"Fee"}]}},reports:{routing:{maxColumns:7,allowedColumns:[{column:"timestamp",label:"Date/Time"},{column:"fromChannelId",label:"In Channel ID"},{column:"fromShortChannelId",label:"In Channel Short ID"},{column:"fromChannelAlias",label:"In Channel"},{column:"toChannelId",label:"Out Channel ID"},{column:"toShortChannelId",label:"Out Channel Short ID"},{column:"toChannelAlias",label:"Out Channel"},{column:"paymentHash"},{column:"amountIn"},{column:"amountOut"},{column:"fee",label:"Fee Earned"}]},transactions:{maxColumns:5,allowedColumns:[{column:"date"},{column:"amount_paid"},{column:"num_payments",label:"# Payments"},{column:"amount_received"},{column:"num_invoices",label:"# Invoices"}]}}}},6046:(ze,q,p)=>{"use strict";p.d(q,{D:()=>se});var e=p(9862),t=p(5619),y=p(8645),A=p(8504),l=p(2096),x=p(1374),m=p(1631),P=p(9773),d=p(7398),E=p(6306),M=p(2460),I=p(2154),k=p(3315),V=p(9103),B=p(9191),W=p(7321),j=p(3468),K=p(9212),X=p(4221),ie=p(5980),ae=p(2939),fe=p(6814);let se=(()=>{class Me{constructor(ue,S,n,s,f){this.httpClient=ue,this.store=S,this.logger=n,this.snackBar=s,this.titleCasePipe=f,this.APIUrl=I.T5,this.lnImplementation="",this.lnImplementationUpdated=new t.X(null),this.unSubs=[new y.x,new y.x,new y.x,new y.x,new y.x,new y.x,new y.x,new y.x,new y.x,new y.x,new y.x,new y.x,new y.x],this.mapAliases=(h,w)=>(h&&h.length>0?h.forEach((D,O)=>{if(w&&w.length>0)for(let v=0;v<w.length;v++){if(w[v].short_channel_id&&w[v].short_channel_id===D.in_channel&&(D.in_channel_alias=w[v].alias?w[v].alias:D.in_channel,D.out_channel_alias)||w[v].short_channel_id&&w[v].short_channel_id?.toString()===D.out_channel&&(D.out_channel_alias=w[v].alias?w[v].alias:D.out_channel,D.in_channel_alias))return;v===w.length-1&&(D.in_channel_alias||(D.in_channel_alias=D.in_channel?D.in_channel:"-"),D.out_channel_alias||(D.out_channel_alias=D.out_channel?D.out_channel:"-"))}else D.in_channel_alias=D.in_channel?D.in_channel:"-",D.out_channel_alias=D.out_channel?D.out_channel:"-"}):h=[],h)}setLnImplementation(ue){this.lnImplementation=ue.toLowerCase(),this.lnImplementationUpdated.next(this.lnImplementation)}getFiatRates(){return this.httpClient.get(I.vv.CONF_API+"/rates")}decodePayment(ue,S){return this.lnImplementationUpdated.pipe((0,x.P)(),(0,m.z)(n=>{let s=this.APIUrl+"/"+n+I.vv.PAYMENTS_API+"/decode/"+ue,f="GET",h=null;return"cln"===n&&(s=this.APIUrl+"/"+n+I.vv.UTILITY_API+"/decode",h={string:ue},f="POST"),this.store.dispatch((0,V.ac)({payload:I.m6.DECODE_PAYMENT})),this.httpClient.request(f,s,{body:JSON.stringify(h),headers:{"Content-Type":"application/json"}}).pipe((0,P.R)(this.unSubs[0]),(0,d.U)(w=>(this.store.dispatch((0,V.uO)({payload:I.m6.DECODE_PAYMENT})),w)),(0,E.K)(w=>(S?this.handleErrorWithoutAlert("Decode Payment",I.m6.DECODE_PAYMENT,w):this.handleErrorWithAlert("decodePaymentData",I.m6.DECODE_PAYMENT,"Decode Payment Failed",s,w),(0,A._)(()=>new Error(this.extractErrorMessage(w))))))}))}decodePayments(ue){return this.lnImplementationUpdated.pipe((0,x.P)(),(0,m.z)(S=>{let n="",s="",f=null;return"ecl"===S?(n=this.APIUrl+"/"+S+I.vv.PAYMENTS_API+"/getsentinfos",f={payments:ue},s=I.m6.GET_SENT_PAYMENTS):"cln"===S?(n=this.APIUrl+"/"+S+I.vv.UTILITY_API+"/decode",f={string:ue},s=I.m6.DECODE_PAYMENTS):(n=this.APIUrl+"/"+S+I.vv.PAYMENTS_API,f={payments:ue},s=I.m6.DECODE_PAYMENTS),this.store.dispatch((0,V.ac)({payload:s})),this.httpClient.post(n,f).pipe((0,P.R)(this.unSubs[1]),(0,d.U)(h=>(this.store.dispatch((0,V.uO)({payload:s})),h)),(0,E.K)(h=>(this.handleErrorWithAlert("decodePaymentsData",s,s+" Failed",n,h),(0,A._)(()=>new Error(this.extractErrorMessage(h))))))}))}getAliasesFromPubkeys(ue,S){return this.lnImplementationUpdated.pipe((0,x.P)(),(0,m.z)(n=>{if(S){const s=(new e.LE).set("pubkeys",ue);return this.httpClient.get(this.APIUrl+"/"+n+I.vv.NETWORK_API+"/nodes",{params:s})}return this.httpClient.get(this.APIUrl+"/"+n+I.vv.NETWORK_API+"/node/"+ue)}))}signMessage(ue){return this.lnImplementationUpdated.pipe((0,x.P)(),(0,m.z)(S=>{let n=this.APIUrl+"/"+S+I.vv.MESSAGE_API+"/sign";return"cln"===S&&(n=this.APIUrl+"/"+S+I.vv.UTILITY_API+"/sign"),this.store.dispatch((0,V.ac)({payload:I.m6.SIGN_MESSAGE})),this.httpClient.post(n,{message:ue}).pipe((0,P.R)(this.unSubs[2]),(0,d.U)(s=>(this.store.dispatch((0,V.uO)({payload:I.m6.SIGN_MESSAGE})),s)),(0,E.K)(s=>(this.handleErrorWithAlert("signMessageData",I.m6.SIGN_MESSAGE,"Sign Message Failed",n,s),(0,A._)(()=>new Error(this.extractErrorMessage(s))))))}))}verifyMessage(ue,S){return this.lnImplementationUpdated.pipe((0,x.P)(),(0,m.z)(n=>{let s="",f=null;return"cln"===n?(s=this.APIUrl+"/"+n+I.vv.UTILITY_API+"/verify",f={message:ue,zbase:S}):(s=this.APIUrl+"/"+n+I.vv.MESSAGE_API+"/verify",f={message:ue,signature:S}),this.store.dispatch((0,V.ac)({payload:I.m6.VERIFY_MESSAGE})),this.httpClient.post(s,f).pipe((0,P.R)(this.unSubs[3]),(0,d.U)(h=>(this.store.dispatch((0,V.uO)({payload:I.m6.VERIFY_MESSAGE})),h)),(0,E.K)(h=>(this.handleErrorWithAlert("verifyMessageData",I.m6.VERIFY_MESSAGE,"Verify Message Failed",s,h),(0,A._)(()=>new Error(this.extractErrorMessage(h))))))}))}bumpFee(ue,S,n,s){return this.lnImplementationUpdated.pipe((0,x.P)(),(0,m.z)(f=>{const h={txid:ue,outputIndex:S};return n&&(h.targetConf=n),s&&(h.satPerByte=s),this.store.dispatch((0,V.ac)({payload:I.m6.BUMP_FEE})),this.httpClient.post(this.APIUrl+"/"+f+I.vv.WALLET_API+"/bumpfee",h).pipe((0,P.R)(this.unSubs[4]),(0,d.U)(w=>(this.store.dispatch((0,V.uO)({payload:I.m6.BUMP_FEE})),this.snackBar.open("Successfully bumped the fee. Use the block explorer to verify transaction."),w)),(0,E.K)(w=>(this.handleErrorWithoutAlert("Bump Fee",I.m6.BUMP_FEE,w),(0,A._)(()=>new Error(this.extractErrorMessage(w))))))}))}labelUTXO(ue,S,n=!0){return this.lnImplementationUpdated.pipe((0,x.P)(),(0,m.z)(s=>{const f={txid:ue,label:S,overwrite:n};return this.store.dispatch((0,V.ac)({payload:I.m6.LABEL_UTXO})),this.httpClient.post(this.APIUrl+"/"+s+I.vv.WALLET_API+"/label",f).pipe((0,P.R)(this.unSubs[5]),(0,d.U)(h=>(this.store.dispatch((0,V.uO)({payload:I.m6.LABEL_UTXO})),h)),(0,E.K)(h=>(this.handleErrorWithoutAlert("Lease UTXO",I.m6.LABEL_UTXO,h),(0,A._)(()=>new Error(this.extractErrorMessage(h))))))}))}leaseUTXO(ue,S){return this.lnImplementationUpdated.pipe((0,x.P)(),(0,m.z)(n=>{const s={txid:ue,outputIndex:S};return this.store.dispatch((0,V.ac)({payload:I.m6.LEASE_UTXO})),this.httpClient.post(this.APIUrl+"/"+n+I.vv.WALLET_API+"/lease",s).pipe((0,P.R)(this.unSubs[6]),(0,d.U)(f=>{this.store.dispatch((0,V.uO)({payload:I.m6.LEASE_UTXO})),this.store.dispatch((0,B.mC)()),this.store.dispatch((0,B.Ly)());const h=new Date(1e3*f.expiration);return Math.round(h.getTime())-60*h.getTimezoneOffset()}),(0,E.K)(f=>(this.handleErrorWithoutAlert("Lease UTXO",I.m6.LEASE_UTXO,f),(0,A._)(()=>new Error(this.extractErrorMessage(f))))))}))}getForwardingHistory(ue,S,n,s){if("LND"===ue){const f={end_time:n,start_time:S};return this.store.dispatch((0,V.ac)({payload:I.m6.GET_FORWARDING_HISTORY})),this.httpClient.post(this.APIUrl+"/lnd"+I.vv.SWITCH_API,f).pipe((0,P.R)(this.unSubs[7]),(0,M.M)(this.store.select(W._f)),(0,m.z)(([h,w])=>{if(h.forwarding_events){const D=[...w.channels,...w.closedChannels];h.forwarding_events.forEach(O=>{if(D&&D.length>0)for(let v=0;v<D.length;v++){if(D[v].chan_id?.toString()===O.chan_id_in&&(O.alias_in=D[v].remote_alias?D[v].remote_alias:O.chan_id_in,O.alias_out)||D[v].chan_id?.toString()===O.chan_id_out&&(O.alias_out=D[v].remote_alias?D[v].remote_alias:O.chan_id_out,O.alias_in))return;v===D.length-1&&(O.alias_in||(O.alias_in=O.chan_id_in),O.alias_out||(O.alias_out=O.chan_id_out))}else O.alias_in=O.chan_id_in,O.alias_out=O.chan_id_out})}else h={};return this.store.dispatch((0,V.uO)({payload:I.m6.GET_FORWARDING_HISTORY})),(0,l.of)(h)}),(0,E.K)(h=>(this.handleErrorWithAlert("getForwardingHistoryData",I.m6.GET_FORWARDING_HISTORY,"Forwarding History Failed",this.APIUrl+"/lnd"+I.vv.SWITCH_API,h),(0,A._)(()=>new Error(this.extractErrorMessage(h))))))}return"CLN"===ue?(this.store.dispatch((0,V.ac)({payload:I.m6.GET_FORWARDING_HISTORY})),this.httpClient.post(this.APIUrl+"/cln"+I.vv.CHANNELS_API+"/listForwards",{status:s||"settled"}).pipe((0,P.R)(this.unSubs[8]),(0,M.M)(this.store.select(j.ZW)),(0,m.z)(([f,h])=>{const w=this.mapAliases(f,[...h.activeChannels,...h.pendingChannels,...h.inactiveChannels]);return this.store.dispatch((0,V.uO)({payload:I.m6.GET_FORWARDING_HISTORY})),(0,l.of)(w)}),(0,E.K)(f=>(this.handleErrorWithAlert("getForwardingHistoryData",I.m6.GET_FORWARDING_HISTORY,"Forwarding History Failed",this.APIUrl+"/cln"+I.vv.CHANNELS_API+"/listForwards",f),(0,A._)(()=>new Error(this.extractErrorMessage(f))))))):(0,l.of)({})}listNetworkNodes(ue){return this.lnImplementationUpdated.pipe((0,x.P)(),(0,m.z)(S=>(this.store.dispatch((0,V.ac)({payload:I.m6.LIST_NETWORK_NODES})),this.httpClient.post(this.APIUrl+"/"+S+I.vv.NETWORK_API+"/listNodes",ue).pipe((0,P.R)(this.unSubs[9]),(0,m.z)(n=>(this.store.dispatch((0,V.uO)({payload:I.m6.LIST_NETWORK_NODES})),(0,l.of)(n))),(0,E.K)(n=>(this.handleErrorWithoutAlert("List Network Nodes",I.m6.LIST_NETWORK_NODES,n),(0,A._)(()=>this.extractErrorMessage(n))))))))}listConfigs(){return this.lnImplementationUpdated.pipe((0,x.P)(),(0,m.z)(ue=>(this.store.dispatch((0,V.ac)({payload:I.m6.GET_LIST_CONFIGS})),this.httpClient.get(this.APIUrl+"/"+ue+I.vv.UTILITY_API+"/listConfigs").pipe((0,P.R)(this.unSubs[10]),(0,m.z)(S=>(this.store.dispatch((0,V.uO)({payload:I.m6.GET_LIST_CONFIGS})),(0,l.of)(S))),(0,E.K)(S=>(this.handleErrorWithoutAlert("List Configurations",I.m6.GET_LIST_CONFIGS,S),(0,A._)(()=>this.extractErrorMessage(S))))))))}getOrUpdateFunderPolicy(ue,S,n,s,f,h){return this.lnImplementationUpdated.pipe((0,x.P)(),(0,m.z)(w=>{const D=ue?{policy:ue,policy_mod:S,lease_fee_base_msat:n,lease_fee_basis:s,channel_fee_max_base_msat:f,channel_fee_max_proportional_thousandths:h}:null;return this.store.dispatch((0,V.ac)({payload:I.m6.GET_FUNDER_POLICY})),this.httpClient.post(this.APIUrl+"/"+w+I.vv.CHANNELS_API+"/funderUpdate",D).pipe((0,P.R)(this.unSubs[11]),(0,d.U)(O=>(this.store.dispatch((0,V.uO)({payload:I.m6.GET_FUNDER_POLICY})),D&&this.store.dispatch((0,V.jW)({payload:"Funder Policy Updated Successfully with Compact Lease: "+O.compact_lease+"!"})),O)),(0,E.K)(O=>(this.handleErrorWithoutAlert("Funder Policy",I.m6.GET_FUNDER_POLICY,O),(0,A._)(()=>new Error(this.extractErrorMessage(O))))))}))}circularRebalance(ue,S="",n="",s="",f="",h=[],w="shortChannelId"){return this.httpClient.post(this.APIUrl+"/"+this.lnImplementation+I.vv.CHANNELS_API+"/circularRebalance",{amountMsat:ue,sourceShortChannelId:S,sourceNodeId:n,targetShortChannelId:s,targetNodeId:f,ignoreNodeIds:h,format:w}).pipe((0,P.R)(this.unSubs[12]),(0,d.U)(v=>v),(0,E.K)(v=>(this.handleErrorWithoutAlert("Rebalance Channel",I.m6.REBALANCE_CHANNEL,v),(0,A._)(()=>v.error))))}extractErrorMessage(ue,S="Unknown Error."){return this.titleCasePipe.transform(ue.error.text&&"string"==typeof ue.error.text&&ue.error.text.includes('<!DOCTYPE html><html lang="en">')?"API Route Does Not Exist.":ue.error&&ue.error.error&&ue.error.error.error&&ue.error.error.error.error&&ue.error.error.error.error.error&&"string"==typeof ue.error.error.error.error.error?ue.error.error.error.error.error:ue.error&&ue.error.error&&ue.error.error.error&&ue.error.error.error.error&&"string"==typeof ue.error.error.error.error?ue.error.error.error.error:ue.error&&ue.error.error&&ue.error.error.error&&"string"==typeof ue.error.error.error?ue.error.error.error:ue.error&&ue.error.error&&"string"==typeof ue.error.error?ue.error.error:ue.error&&"string"==typeof ue.error?ue.error:ue.error&&ue.error.error&&ue.error.error.error&&ue.error.error.error.error&&ue.error.error.error.error.message&&"string"==typeof ue.error.error.error.error.message?ue.error.error.error.error.message:ue.error&&ue.error.error&&ue.error.error.error&&ue.error.error.error.message&&"string"==typeof ue.error.error.error.message?ue.error.error.error.message:ue.error&&ue.error.error&&ue.error.error.message&&"string"==typeof ue.error.error.message?ue.error.error.message:ue.error&&ue.error.message&&"string"==typeof ue.error.message?ue.error.message:ue.message&&"string"==typeof ue.message?ue.message:S)}handleErrorWithoutAlert(ue,S,n){n.error.text&&"string"==typeof n.error.text&&n.error.text.includes('<!DOCTYPE html><html lang="en">')&&(n={status:403,error:{message:"API Route Does Not Exist."}}),this.logger.error("ERROR IN: "+ue+"\n"+JSON.stringify(n)),401===n.status?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,V.ts)()),this.store.dispatch((0,V.kS)()),this.store.dispatch((0,V.jW)({payload:"Authentication Failed. Redirecting to Login."}))):(this.store.dispatch((0,V.uO)({payload:S})),this.store.dispatch((0,V.qi)({payload:{action:ue,status:I.Bn.ERROR,statusCode:n.status.toString(),message:this.extractErrorMessage(n)}})))}handleErrorWithAlert(ue,S,n,s,f){if(this.logger.error(f),401===f.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,V.ts)()),this.store.dispatch((0,V.kS)()),this.store.dispatch((0,V.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,V.uO)({payload:S}));const h=this.extractErrorMessage(f);this.store.dispatch((0,V.qR)({payload:{data:{type:"ERROR",alertTitle:n,message:{code:f.status?f.status:"Unknown Error",message:h,URL:s},component:k.H}}})),this.store.dispatch((0,V.qi)({payload:{action:ue,status:I.Bn.ERROR,statusCode:f.status.toString(),message:h,URL:s}}))}}ngOnDestroy(){this.unSubs.forEach(ue=>{ue.next(null),ue.complete()})}static#e=this.\u0275fac=function(S){return new(S||Me)(K.LFG(e.eN),K.LFG(X.yh),K.LFG(ie.mQ),K.LFG(ae.ux),K.LFG(fe.rS))};static#t=this.\u0275prov=K.Yz7({token:Me,factory:Me.\u0275fac})}return Me})()},5980:(ze,q,p)=>{"use strict";p.d(q,{LG:()=>x,mQ:()=>l});var e=p(9212);const t=(0,e.X6Q)(),y=()=>null;let l=(()=>{class m{invokeConsoleMethod(d,E){}static#e=this.\u0275fac=function(E){return new(E||m)};static#t=this.\u0275prov=e.Yz7({token:m,factory:m.\u0275fac})}return m})(),x=(()=>{class m{get info(){return t?console.log.bind(console):y}get warn(){return t?console.warn.bind(console):y}get error(){return t?console.error.bind(console):y}invokeConsoleMethod(d,E){(console[d]||console.log||y).apply(console,[E])}static#e=this.\u0275fac=function(E){return new(E||m)};static#t=this.\u0275prov=e.Yz7({token:m,factory:m.\u0275fac})}return m})()},3149:(ze,q,p)=>{"use strict";p.d(q,{W:()=>W});var e=p(9862),t=p(5619),y=p(8645),A=p(2096),l=p(8504),x=p(9773),m=p(6306),P=p(7398),d=p(2154),E=p(3315),M=p(9103),I=p(9212),k=p(5980),V=p(4221),B=p(6339);let W=(()=>{class j{constructor(X,ie,ae,fe){this.httpClient=X,this.logger=ie,this.store=ae,this.commonService=fe,this.loopUrl="",this.swaps=[],this.swapsChanged=new t.X([]),this.unSubs=[new y.x,new y.x,new y.x,new y.x,new y.x,new y.x,new y.x]}getLoopInfo(){return this.loopUrl=d.T5+d.vv.LOOP_API+"/info",this.httpClient.get(this.loopUrl)}getSwapsList(){return this.swaps}listSwaps(){this.store.dispatch((0,M.ac)({payload:d.m6.GET_LOOP_SWAPS})),this.loopUrl=d.T5+d.vv.LOOP_API+"/swaps",this.httpClient.get(this.loopUrl).pipe((0,x.R)(this.unSubs[0])).subscribe({next:X=>{this.store.dispatch((0,M.uO)({payload:d.m6.GET_LOOP_SWAPS})),this.swaps=X,this.swapsChanged.next(this.swaps)},error:X=>this.swapsChanged.error(this.handleErrorWithAlert(d.m6.GET_LOOP_SWAPS,this.loopUrl,X))})}loopOut(X,ie,ae,fe,se,Me,$,ue,S,n){const s={amount:X,targetConf:ae,swapRoutingFee:fe,minerFee:se,prepayRoutingFee:Me,prepayAmt:$,swapFee:ue,swapPublicationDeadline:S,destAddress:n};return""!==ie&&(s.chanId=ie),this.loopUrl=d.T5+d.vv.LOOP_API+"/out",this.httpClient.post(this.loopUrl,s).pipe((0,m.K)(f=>this.handleErrorWithoutAlert("Loop Out for Channel: "+ie,d.m6.NO_SPINNER,f)))}getLoopOutTerms(){return this.loopUrl=d.T5+d.vv.LOOP_API+"/out/terms",this.httpClient.get(this.loopUrl).pipe((0,m.K)(X=>this.handleErrorWithoutAlert("Loop Out Terms",d.m6.NO_SPINNER,X)))}getLoopOutQuote(X,ie,ae){let fe=new e.LE;return fe=fe.append("targetConf",ie.toString()),fe=fe.append("swapPublicationDeadline",ae.toString()),this.loopUrl=d.T5+d.vv.LOOP_API+"/out/quote/"+X,this.store.dispatch((0,M.ac)({payload:d.m6.GET_QUOTE})),this.httpClient.get(this.loopUrl,{params:fe}).pipe((0,x.R)(this.unSubs[1]),(0,P.U)(se=>(this.store.dispatch((0,M.uO)({payload:d.m6.GET_QUOTE})),se)),(0,m.K)(se=>this.handleErrorWithoutAlert("Loop Out Quote",d.m6.GET_QUOTE,se)))}getLoopOutTermsAndQuotes(X){let ie=new e.LE;return ie=ie.append("targetConf",X.toString()),ie=ie.append("swapPublicationDeadline",((new Date).getTime()+18e5).toString()),this.loopUrl=d.T5+d.vv.LOOP_API+"/out/termsAndQuotes",this.store.dispatch((0,M.ac)({payload:d.m6.GET_TERMS_QUOTES})),this.httpClient.get(this.loopUrl,{params:ie}).pipe((0,x.R)(this.unSubs[2]),(0,P.U)(ae=>(this.store.dispatch((0,M.uO)({payload:d.m6.GET_TERMS_QUOTES})),ae)),(0,m.K)(ae=>(0,A.of)(this.handleErrorWithAlert(d.m6.GET_TERMS_QUOTES,this.loopUrl,ae))))}loopIn(X,ie,ae,fe,se){const Me={amount:X,swapFee:ie,minerFee:ae,lastHop:fe,externalHtlc:se};return this.loopUrl=d.T5+d.vv.LOOP_API+"/in",this.httpClient.post(this.loopUrl,Me).pipe((0,m.K)($=>this.handleErrorWithoutAlert("Loop In",d.m6.NO_SPINNER,$)))}getLoopInTerms(){return this.loopUrl=d.T5+d.vv.LOOP_API+"/in/terms",this.httpClient.get(this.loopUrl).pipe((0,m.K)(X=>this.handleErrorWithoutAlert("Loop In Terms",d.m6.NO_SPINNER,X)))}getLoopInQuote(X,ie,ae){let fe=new e.LE;return fe=fe.append("targetConf",ie.toString()),fe=fe.append("swapPublicationDeadline",ae.toString()),this.loopUrl=d.T5+d.vv.LOOP_API+"/in/quote/"+X,this.store.dispatch((0,M.ac)({payload:d.m6.GET_QUOTE})),this.httpClient.get(this.loopUrl,{params:fe}).pipe((0,x.R)(this.unSubs[3]),(0,P.U)(se=>(this.store.dispatch((0,M.uO)({payload:d.m6.GET_QUOTE})),se)),(0,m.K)(se=>this.handleErrorWithoutAlert("Loop In Qoute",d.m6.GET_QUOTE,se)))}getLoopInTermsAndQuotes(X){let ie=new e.LE;return ie=ie.append("targetConf",X.toString()),ie=ie.append("swapPublicationDeadline",((new Date).getTime()+18e5).toString()),this.loopUrl=d.T5+d.vv.LOOP_API+"/in/termsAndQuotes",this.store.dispatch((0,M.ac)({payload:d.m6.GET_TERMS_QUOTES})),this.httpClient.get(this.loopUrl,{params:ie}).pipe((0,x.R)(this.unSubs[4]),(0,P.U)(ae=>(this.store.dispatch((0,M.uO)({payload:d.m6.GET_TERMS_QUOTES})),ae)),(0,m.K)(ae=>(0,A.of)(this.handleErrorWithAlert(d.m6.GET_TERMS_QUOTES,this.loopUrl,ae))))}getSwap(X){return this.loopUrl=d.T5+d.vv.LOOP_API+"/swap/"+X,this.httpClient.get(this.loopUrl).pipe((0,m.K)(ie=>this.handleErrorWithoutAlert("Loop Get Swap for ID: "+X,d.m6.NO_SPINNER,ie)))}handleErrorWithoutAlert(X,ie,ae){let fe="";return this.logger.error("ERROR IN: "+X+"\n"+JSON.stringify(ae)),this.store.dispatch((0,M.uO)({payload:ie})),401===ae.status?(fe="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,M.kS)())):503===ae.status?(fe="Unable to Connect to Loop Server.",this.store.dispatch((0,M.qR)({payload:{data:{type:"ERROR",alertTitle:"Loop Not Connected",message:{code:ae.status,message:"Unable to Connect to Loop Server",URL:X},component:E.H}}}))):fe=this.commonService.extractErrorMessage(ae),(0,l._)(()=>new Error(fe))}handleErrorWithAlert(X,ie,ae){let fe="";if(this.logger.error(ae),this.store.dispatch((0,M.uO)({payload:X})),401===ae.status)fe="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,M.kS)());else if(503===ae.status)fe="Unable to Connect to Loop Server.",setTimeout(()=>{this.store.dispatch((0,M.qR)({payload:{data:{type:"ERROR",alertTitle:"Loop Not Connected",message:{code:ae.status,message:"Unable to Connect to Loop Server",URL:ie},component:E.H}}}))},100);else{fe=this.commonService.extractErrorMessage(ae);const se=ae.error&&ae.error.error&&ae.error.error.code?ae.error.error.code:ae.error&&ae.error.code?ae.error.code:ae.code?ae.code:ae.status;setTimeout(()=>{this.store.dispatch((0,M.qR)({payload:{data:{type:d.n_.ERROR,alertTitle:"ERROR",message:{code:se,message:fe,URL:ie},component:E.H}}}))},100)}return{message:fe}}ngOnDestroy(){this.unSubs.forEach(X=>{X.next(null),X.complete()})}static#e=this.\u0275fac=function(ie){return new(ie||j)(I.LFG(e.eN),I.LFG(k.mQ),I.LFG(V.yh),I.LFG(B.v))};static#t=this.\u0275prov=I.Yz7({token:j,factory:j.\u0275fac})}return j})()},5813:(ze,q,p)=>{"use strict";p.d(q,{m:()=>y});var e=p(8645),t=p(9212);let y=(()=>{class A{constructor(){this.sessionSub=new e.x}watchSession(){return this.sessionSub.asObservable()}getItem(x){return sessionStorage.getItem(x)}getAllItems(){return sessionStorage}setItem(x,m){sessionStorage.setItem(x,m),this.sessionSub.next(sessionStorage)}removeItem(x){sessionStorage.removeItem(x),this.sessionSub.next(sessionStorage)}clearAll(){sessionStorage.clear(),this.sessionSub.next(sessionStorage)}static#e=this.\u0275fac=function(m){return new(m||A)};static#t=this.\u0275prov=t.Yz7({token:A,factory:A.\u0275fac})}return A})()},2285:(ze,q,p)=>{"use strict";p.d(q,{d:()=>V});var e=p(5619),t=p(8645),y=p(9773),A=p(305),l=p(5592),x=p(7394),m=p(7328);const P={url:"",deserializer:B=>JSON.parse(B.data),serializer:B=>JSON.stringify(B)};class E extends t.u{constructor(W,j){if(super(),this._socket=null,W instanceof l.y)this.destination=j,this.source=W;else{const K=this._config=Object.assign({},P);if(this._output=new t.x,"string"==typeof W)K.url=W;else for(const X in W)W.hasOwnProperty(X)&&(K[X]=W[X]);if(!K.WebSocketCtor&&WebSocket)K.WebSocketCtor=WebSocket;else if(!K.WebSocketCtor)throw new Error("no WebSocket constructor can be found");this.destination=new m.t}}lift(W){const j=new E(this._config,this.destination);return j.operator=W,j.source=this,j}_resetState(){this._socket=null,this.source||(this.destination=new m.t),this._output=new t.x}multiplex(W,j,K){const X=this;return new l.y(ie=>{try{X.next(W())}catch(fe){ie.error(fe)}const ae=X.subscribe({next:fe=>{try{K(fe)&&ie.next(fe)}catch(se){ie.error(se)}},error:fe=>ie.error(fe),complete:()=>ie.complete()});return()=>{try{X.next(j())}catch(fe){ie.error(fe)}ae.unsubscribe()}})}_connectSocket(){const{WebSocketCtor:W,protocol:j,url:K,binaryType:X}=this._config,ie=this._output;let ae=null;try{ae=j?new W(K,j):new W(K),this._socket=ae,X&&(this._socket.binaryType=X)}catch(se){return void ie.error(se)}const fe=new x.w0(()=>{this._socket=null,ae&&1===ae.readyState&&ae.close()});ae.onopen=se=>{const{_socket:Me}=this;if(!Me)return ae.close(),void this._resetState();const{openObserver:$}=this._config;$&&$.next(se);const ue=this.destination;this.destination=A.Lv.create(S=>{if(1===ae.readyState)try{const{serializer:n}=this._config;ae.send(n(S))}catch(n){this.destination.error(n)}},S=>{const{closingObserver:n}=this._config;n&&n.next(void 0),S&&S.code?ae.close(S.code,S.reason):ie.error(new TypeError("WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }")),this._resetState()},()=>{const{closingObserver:S}=this._config;S&&S.next(void 0),ae.close(),this._resetState()}),ue&&ue instanceof m.t&&fe.add(ue.subscribe(this.destination))},ae.onerror=se=>{this._resetState(),ie.error(se)},ae.onclose=se=>{ae===this._socket&&this._resetState();const{closeObserver:Me}=this._config;Me&&Me.next(se),se.wasClean?ie.complete():ie.error(se)},ae.onmessage=se=>{try{const{deserializer:Me}=this._config;ie.next(Me(se))}catch(Me){ie.error(Me)}}}_subscribe(W){const{source:j}=this;return j?j.subscribe(W):(this._socket||this._connectSocket(),this._output.subscribe(W),W.add(()=>{const{_socket:K}=this;0===this._output.observers.length&&(K&&(1===K.readyState||0===K.readyState)&&K.close(),this._resetState())}),W)}unsubscribe(){const{_socket:W}=this;W&&(1===W.readyState||0===W.readyState)&&W.close(),this._resetState(),super.unsubscribe()}}var M=p(9212),I=p(5980),k=p(5813);let V=(()=>{class B{constructor(j,K){this.logger=j,this.sessionService=K,this.clWSMessages=new e.X(null),this.eclWSMessages=new e.X(null),this.lndWSMessages=new e.X(null),this.wsUrl="",this.nodeIndex="",this.RETRY_SECONDS=5,this.RECONNECT_TIMEOUT=null,this.unSubs=[new t.x,new t.x,new t.x,new t.x,new t.x,new t.x,new t.x,new t.x,new t.x,new t.x,new t.x,new t.x,new t.x]}connectWebSocket(j,K){(!this.socket||this.socket.closed)&&(this.wsUrl=j,this.nodeIndex=K,this.logger.info("Websocket Url: "+this.wsUrl),this.socket=new E({url:j,protocol:[this.sessionService.getItem("token")||"",K]}),this.subscribeToMessages())}reconnectOnError(){this.RECONNECT_TIMEOUT||this.socket&&!this.socket.closed||(this.RETRY_SECONDS=this.RETRY_SECONDS>=160?160:2*this.RETRY_SECONDS,this.RECONNECT_TIMEOUT=setTimeout(()=>{this.logger.info("Reconnecting Web Socket."),this.connectWebSocket(this.wsUrl,this.nodeIndex),this.RECONNECT_TIMEOUT=null},1e3*this.RETRY_SECONDS))}closeConnection(){this.socket&&(this.socket.complete(),this.socket=null)}subscribeToMessages(){this.socket?.pipe((0,y.R)(this.unSubs[1])).subscribe({next:j=>{if((j="string"==typeof j?JSON.parse(j):j).error)this.handleError(j.error);else switch(this.logger.info("Next Message from WS:"+JSON.stringify(j)),j.source){case"LND":this.lndWSMessages.next(j);break;case"CLN":this.clWSMessages.next(j);break;case"ECL":this.eclWSMessages.next(j)}},error:j=>this.handleError(j),complete:()=>{this.logger.info("Web Socket Closed")}})}handleError(j){this.logger.error(j),this.clWSMessages.error(j),this.eclWSMessages.error(j),this.lndWSMessages.error(j),this.reconnectOnError()}ngOnDestroy(){this.closeConnection(),this.clWSMessages.next(null),this.clWSMessages.complete(),this.eclWSMessages.next(null),this.eclWSMessages.complete(),this.lndWSMessages.next(null),this.lndWSMessages.complete()}static#e=this.\u0275fac=function(K){return new(K||B)(M.LFG(I.mQ),M.LFG(k.m))};static#t=this.\u0275prov=M.Yz7({token:B,factory:B.\u0275fac})}return B})()},8339:(ze,q,p)=>{"use strict";p.d(q,{m:()=>Ao});var e=p(6814),t=p(4190),y=p(6223),A=p(9862),l=p(5597),x=p(9212),m=p(1462),P=p(7509),d=p(3814);p(2495);let St=(()=>{class Vt{}return Vt.\u0275fac=function(Mt){return new(Mt||Vt)},Vt.\u0275mod=x.oAB({type:Vt}),Vt.\u0275inj=x.cJS({imports:[m.IR]}),Vt})(),Dt=(()=>{class Vt{constructor(Mt,ii){(0,e.PM)(ii)&&!Mt&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(Mt,ii=[]){return{ngModule:Vt,providers:Mt.serverLoaded?[{provide:m.WU,useValue:{...m.g5,...Mt}},{provide:m.Bs,useValue:ii,multi:!0},{provide:m.wY,useValue:!0}]:[{provide:m.WU,useValue:{...m.g5,...Mt}},{provide:m.Bs,useValue:ii,multi:!0}]}}}return Vt.\u0275fac=function(Mt){return new(Mt||Vt)(x.LFG(m.wY),x.LFG(x.Lbi))},Vt.\u0275mod=x.oAB({type:Vt}),Vt.\u0275inj=x.cJS({imports:[d.ae,P.aT,St,d.ae,P.aT,St]}),Vt})();var It=p(1088),Ut=p(3680),ai=p(7700),_i=p(4630),bi=p(9014),Oi=p(2296);p(4300),p(8337);let qn=(()=>{class Vt{static#e=this.\u0275fac=function(ii){return new(ii||Vt)};static#t=this.\u0275mod=x.oAB({type:Vt});static#i=this.\u0275inj=x.cJS({imports:[Ut.BQ,Ut.si,Ut.BQ]})}return Vt})();var hn=p(5195),pr=p(5986),ia=p(8034),Dr=p(3305),Qr=p(3176),Gi=p(617),rn=p(2032),jt=p(9038),wi=p(7988),pi=p(1476),yi=p(6007),Ui=p(5940),$i=p(7466),xn=p(8525),jn=p(2651),Hn=p(2599),Er=p(2831);p(8645);let na=(()=>{class Vt{static#e=this.\u0275fac=function(ii){return new(ii||Vt)};static#t=this.\u0275mod=x.oAB({type:Vt});static#i=this.\u0275inj=x.cJS({imports:[Ut.BQ,Ut.si]})}return Vt})();var Na=p(2939),Ha=p(3566),go=p(8257),no=p(5313),Eo=p(4104),_o=p(1274),Xr=p(2596),da=p(8445),ba=p(2557),Ho=p(25),Za=p(2279),Jr=p(2159),vs=p(3651);let ro=(()=>{class Vt extends vs.Xj{constructor(Mt,ii){super(Mt,ii)}_createContainer(){super._createContainer(),this._containerElement&&(document.querySelector("#rtl-container")||document.body).appendChild(this._containerElement)}ngOnDestroy(){super.ngOnDestroy()}static#e=this.\u0275fac=function(ii){return new(ii||Vt)(x.Y36(e.K0),x.Y36(Er.t4))};static#t=this.\u0275dir=x.lG2({type:Vt,features:[x.qOj]})}return Vt})();var To=p(5980),Xa=p(2154),ao=p(2995);const Wr={suppressScrollX:!1,suppressScrollY:!1};let Fo=(()=>{class Vt extends Ut.LF{constructor(Mt){super(Mt)}format(Mt,ii){if("input"===ii){let Si=Mt.getDate().toString();return Si=+Si<10?"0"+Si:Si,Si+"/"+Xa.gg[Mt.getMonth()].name.toUpperCase()+"/"+Mt.getFullYear()}return Xa.gg[Mt.getMonth()].name.toUpperCase()+" "+Mt.getFullYear()}static#e=this.\u0275fac=function(ii){return new(ii||Vt)(x.LFG(Ut.Ad,8))};static#t=this.\u0275prov=x.Yz7({token:Vt,factory:Vt.\u0275fac})}return Vt})();const vo={parse:{dateInput:{day:"numeric",month:"short",year:"numeric"}},display:{dateInput:"input",monthYearLabel:{month:"short",year:"numeric"},dateA11yLabel:{day:"numeric",month:"short",year:"numeric"},monthYearA11yLabel:{month:"short",year:"numeric"}}};let Ao=(()=>{class Vt{static#e=this.\u0275fac=function(ii){return new(ii||Vt)};static#t=this.\u0275mod=x.oAB({type:Vt});static#i=this.\u0275inj=x.cJS({providers:[{provide:To.mQ,useClass:To.LG},{provide:Jr.op,useValue:Wr},{provide:Na.Ve,useValue:{duration:2e3,verticalPosition:"bottom",panelClass:"rtl-snack-bar"}},{provide:ai.Bq,useValue:{hasBackdrop:!0,autoFocus:!0,disableClose:!0,role:"dialog"}},{provide:Ut._A,useClass:Fo},{provide:Ut.sG,useValue:vo},{provide:vs.Xj,useClass:ro},e.JJ,e.rS,e.uU,ao.al,ao.h9,ao.D3,ao.i1],imports:[e.ez,y.u5,y.UX,l.uH,Dt,It.xu,ai.Is,Oi.ot,qn,hn.QW,pr.p9,Dr.To,Qr.N6,ia.FA,Ut.XK,Gi.Ps,rn.c,jt.ie,wi.Tx,yi.Cv,Ui.Cq,$i.Fk,da.dp,ba.Hi,xn.LD,jn.SJ,Hn.rP,Ha.JX,no.p0,_o.g0,Xr.AV,bi.g,pi.TU,go.T5,na,Eo.Nh,Na.ZX,_i.Bb,Ho.a4,Za.OF,t.Bz,A.JF,Jr.Xd,y.u5,y.UX,l.uH,Dt,It.xu,ai.Is,Oi.ot,qn,hn.QW,pr.p9,Dr.To,Qr.N6,ia.FA,Ut.XK,Gi.Ps,rn.c,jt.ie,wi.Tx,yi.Cv,Ui.Cq,$i.Fk,da.dp,ba.Hi,xn.LD,jn.SJ,Hn.rP,Ha.JX,no.p0,_o.g0,Xr.AV,bi.g,pi.TU,go.T5,na,Eo.Nh,Na.ZX,_i.Bb,Ho.a4,Za.OF,Jr.Xd]})}return Vt})()},9103:(ze,q,p)=>{"use strict";p.d(q,{B1:()=>se,IM:()=>ie,M6:()=>M,Q2:()=>B,QO:()=>n,_V:()=>Me,ac:()=>P,c0:()=>ue,c1:()=>I,dc:()=>w,ey:()=>X,fk:()=>ae,jW:()=>m,kS:()=>$,lC:()=>A,qR:()=>E,qi:()=>l,tj:()=>V,ts:()=>x,tw:()=>j,uO:()=>d,vI:()=>K,x4:()=>f,yb:()=>k});var e=p(4221),t=p(2154);(0,e.PH)(t.pg.VOID);const A=(0,e.PH)(t.pg.SET_API_URL_ECL,(0,e.Ky)()),l=(0,e.PH)(t.pg.UPDATE_API_CALL_STATUS_ROOT,(0,e.Ky)()),x=(0,e.PH)(t.pg.CLOSE_ALL_DIALOGS),m=(0,e.PH)(t.pg.OPEN_SNACK_BAR,(0,e.Ky)()),P=(0,e.PH)(t.pg.OPEN_SPINNER,(0,e.Ky)()),d=(0,e.PH)(t.pg.CLOSE_SPINNER,(0,e.Ky)()),E=(0,e.PH)(t.pg.OPEN_ALERT,(0,e.Ky)()),M=(0,e.PH)(t.pg.CLOSE_ALERT,(0,e.Ky)()),I=(0,e.PH)(t.pg.OPEN_CONFIRMATION,(0,e.Ky)()),k=(0,e.PH)(t.pg.CLOSE_CONFIRMATION,(0,e.Ky)()),V=(0,e.PH)(t.pg.SHOW_PUBKEY),B=(0,e.PH)(t.pg.FETCH_CONFIG,(0,e.Ky)()),j=((0,e.PH)(t.pg.SHOW_CONFIG,(0,e.Ky)()),(0,e.PH)(t.pg.UPDATE_SELECTED_NODE_OPTIONS)),K=(0,e.PH)(t.pg.RESET_ROOT_STORE,(0,e.Ky)()),X=(0,e.PH)(t.pg.FETCH_APPLICATION_SETTINGS),ie=(0,e.PH)(t.pg.SET_APPLICATION_SETTINGS,(0,e.Ky)()),ae=(0,e.PH)(t.pg.SET_SELECTED_NODE,(0,e.Ky)()),se=((0,e.PH)(t.pg.UPDATE_NODE_SETTINGS,(0,e.Ky)()),(0,e.PH)(t.pg.UPDATE_APPLICATION_SETTINGS,(0,e.Ky)())),Me=(0,e.PH)(t.pg.SET_NODE_DATA,(0,e.Ky)()),$=(0,e.PH)(t.pg.LOGOUT),ue=(0,e.PH)(t.pg.RESET_PASSWORD,(0,e.Ky)()),n=((0,e.PH)(t.pg.RESET_PASSWORD_RES,(0,e.Ky)()),(0,e.PH)(t.pg.IS_AUTHORIZED,(0,e.Ky)())),f=((0,e.PH)(t.pg.IS_AUTHORIZED_RES,(0,e.Ky)()),(0,e.PH)(t.pg.LOGIN,(0,e.Ky)())),w=((0,e.PH)(t.pg.VERIFY_TWO_FA,(0,e.Ky)()),(0,e.PH)(t.pg.FETCH_FILE,(0,e.Ky)()));(0,e.PH)(t.pg.SHOW_FILE,(0,e.Ky)())},2703:(ze,q,p)=>{"use strict";p.d(q,{V:()=>vi});var e=p(9212),t=p(5154),y=p(8645),A=p(2096),l=p(5592),x=p(7398),m=p(8180),P=p(2460),d=p(1631),E=p(6306),M=p(9773),I=p(2154),k=p(7700),V=p(3814),B=p(5940);let W=(()=>{class ne{constructor(Oe,Ct){this.dialogRef=Oe,this.data=Ct}static#e=this.\u0275fac=function(Ct){return new(Ct||ne)(e.Y36(k.so),e.Y36(k.WI))};static#t=this.\u0275cmp=e.Xpm({type:ne,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(Ct,Ht){1&Ct&&(e.TgZ(0,"div",0),e._UZ(1,"mat-progress-spinner",1),e.TgZ(2,"h2"),e._uU(3),e.qZA()()),2&Ct&&(e.xp6(3),e.Oqu(Ht.data.titleMessage))},dependencies:[V.xw,V.Wh,B.Ou],styles:["h2[_ngcontent-%COMP%]{text-align:center}"]})}return ne})();var j=p(5980),K=p(2939),X=p(6339),ie=p(4190),ae=p(6814),fe=p(7509),se=p(2296),Me=p(5195),$=p(617),ue=p(6385),S=p(2596),n=p(2279),s=p(2159),f=p(7313),h=p(6985);const w=["scrollContainer"];function D(ne,lt){if(1&ne&&e._UZ(0,"qr-code",15),2&ne){const Oe=e.oxw();e.Q6J("value",Oe.showQRField)("size",200)("errorCorrectionLevel","L")}}function O(ne,lt){1&ne&&e.GkF(0)}const v=ne=>({"h-40":ne});function r(ne,lt){if(1&ne&&(e.ynx(0),e.TgZ(1,"mat-card-content",16,17),e.YNc(3,O,1,0,"ng-container",18),e.qZA(),e.BQk()),2&ne){const Oe=e.oxw(),Ct=e.MAs(20);e.xp6(1),e.Q6J("ngClass",e.VKq(2,v,Oe.data.scrollable)),e.xp6(2),e.Q6J("ngTemplateOutlet",Ct)}}function g(ne,lt){1&ne&&e.GkF(0)}function H(ne,lt){if(1&ne&&(e.ynx(0),e.TgZ(1,"mat-card-content",19),e.YNc(2,g,1,0,"ng-container",18),e.qZA(),e.BQk()),2&ne){e.oxw();const Oe=e.MAs(20);e.xp6(2),e.Q6J("ngTemplateOutlet",Oe)}}function N(ne,lt){1&ne&&(e.TgZ(0,"mat-icon",23),e._uU(1,"arrow_downward"),e.qZA())}function ee(ne,lt){1&ne&&(e.TgZ(0,"mat-icon",23),e._uU(1,"arrow_upward"),e.qZA())}function De(ne,lt){if(1&ne){const Oe=e.EpF();e.TgZ(0,"div",20)(1,"button",21),e.NdJ("click",function(){e.CHM(Oe);const Ht=e.oxw();return e.KtG(Ht.onScroll())}),e.YNc(2,N,2,0,"mat-icon",22)(3,ee,2,0,"mat-icon",22),e.qZA()()}if(2&ne){const Oe=e.oxw();e.xp6(2),e.Q6J("ngIf","DOWN"===Oe.scrollDirection),e.xp6(1),e.Q6J("ngIf","UP"===Oe.scrollDirection)}}function ot(ne,lt){1&ne&&(e.TgZ(0,"button",24),e._uU(1,"OK"),e.qZA()),2&ne&&e.Q6J("mat-dialog-close",!1)}function je(ne,lt){1&ne&&(e.TgZ(0,"button",25),e._uU(1,"Close"),e.qZA()),2&ne&&e.Q6J("mat-dialog-close",!1)}function Je(ne,lt){if(1&ne){const Oe=e.EpF();e.TgZ(0,"button",26),e.NdJ("copied",function(Ht){e.CHM(Oe);const Ii=e.oxw();return e.KtG(Ii.onCopyField(Ht))}),e._uU(1),e.qZA()}if(2&ne){const Oe=e.oxw();e.Q6J("payload",Oe.showCopyField),e.xp6(1),e.hij("Copy ",Oe.showCopyName,"")}}function ye(ne,lt){1&ne&&(e.TgZ(0,"button",25),e._uU(1,"Close"),e.qZA()),2&ne&&e.Q6J("mat-dialog-close",!1)}function me(ne,lt){if(1&ne){const Oe=e.EpF();e.TgZ(0,"button",26),e.NdJ("copied",function(Ht){e.CHM(Oe);const Ii=e.oxw();return e.KtG(Ii.onCopyField(Ht))}),e._uU(1),e.qZA()}if(2&ne){const Oe=e.oxw();e.Q6J("payload",Oe.showQRField),e.xp6(1),e.hij("Copy ",Oe.showQRName,"")}}function he(ne,lt){if(1&ne&&e._UZ(0,"qr-code",15),2&ne){const Oe=e.oxw(2);e.Q6J("value",Oe.showQRField)("size",200)("errorCorrectionLevel","L")}}function xe(ne,lt){if(1&ne&&(e.TgZ(0,"p",32),e._uU(1),e.qZA()),2&ne){const Oe=e.oxw(2);e.xp6(1),e.Oqu(Oe.data.titleMessage)}}function de(ne,lt){1&ne&&e._UZ(0,"span",46),2&ne&&e.Q6J("innerHTML",lt.$implicit,e.oJD)}function ge(ne,lt){if(1&ne&&(e.ynx(0),e.YNc(1,de,1,1,"span",45),e.BQk()),2&ne){const Oe=e.oxw(2).$implicit;e.xp6(1),e.Q6J("ngForOf",Oe.value)}}function qe(ne,lt){if(1&ne&&(e.ynx(0),e._uU(1),e.ALo(2,"date"),e.BQk()),2&ne){const Oe=e.oxw(2).$implicit;e.xp6(1),e.Oqu(e.xi3(2,1,1e3*Oe.value,"dd/MMM/y HH:mm"))}}function oe(ne,lt){if(1&ne&&(e.ynx(0),e._uU(1),e.ALo(2,"number"),e.BQk()),2&ne){const Oe=e.oxw(2).$implicit;e.xp6(1),e.Oqu(e.xi3(2,1,Oe.value,Oe.digitsInfo?Oe.digitsInfo:"1.0-3"))}}function ve(ne,lt){if(1&ne&&(e.ynx(0),e._uU(1),e.BQk()),2&ne){const Oe=e.oxw(2).$implicit;e.xp6(1),e.Oqu(Oe.value?"True":"False")}}function le(ne,lt){1&ne&&(e.TgZ(0,"mat-icon",51),e._uU(1,"info"),e.qZA())}const Ge=ne=>({"failed-status":ne});function We(ne,lt){if(1&ne&&(e.TgZ(0,"p",49),e._uU(1),e.YNc(2,le,2,0,"mat-icon",50),e.qZA()),2&ne){const Oe=e.oxw(3).$implicit,Ct=e.oxw(4);e.Q6J("ngClass",e.VKq(3,Ge,Oe.value===Ct.LoopStateEnum.FAILED)),e.xp6(1),e.hij(" ",Oe.value," "),e.xp6(1),e.Q6J("ngIf",Oe.value===Ct.LoopStateEnum.FAILED)}}function wt(ne,lt){if(1&ne){const Oe=e.EpF();e.TgZ(0,"p",54),e.NdJ("click",function(){e.CHM(Oe);const Ht=e.oxw(8);return e.KtG(Ht.onGoToLink())}),e._uU(1),e.qZA()}if(2&ne){const Oe=e.oxw(4).$implicit,Ct=e.oxw(4);e.s9C("matTooltip","Go To "+Ct.goToName),e.xp6(1),e.hij(" ",Oe.value," ")}}function mt(ne,lt){if(1&ne&&e._uU(0),2&ne){const Oe=e.oxw(4).$implicit;e.hij(" ",Oe.value," ")}}function kt(ne,lt){if(1&ne&&e.YNc(0,wt,2,2,"p",52)(1,mt,1,1,"ng-template",null,53,e.W1O),2&ne){const Oe=e.MAs(2),Ct=e.oxw(3).$implicit,Ht=e.oxw(4);e.Q6J("ngIf",Ct.value===Ht.goToFieldValue)("ngIfElse",Oe)}}function Ae(ne,lt){if(1&ne&&(e.ynx(0),e.YNc(1,We,3,5,"p",47)(2,kt,3,2,"ng-template",null,48,e.W1O),e.BQk()),2&ne){const Oe=e.MAs(3),Ct=e.oxw(2).$implicit,Ht=e.oxw(4);e.xp6(1),e.Q6J("ngIf","SWAP"===Ht.data.openedBy&&"state"===Ct.key)("ngIfElse",Oe)}}function Be(ne,lt){if(1&ne&&(e.TgZ(0,"span")(1,"span",42),e.YNc(2,ge,2,1,"ng-container",43)(3,qe,3,4,"ng-container",43)(4,oe,3,4,"ng-container",43)(5,ve,2,1,"ng-container",43)(6,Ae,4,2,"ng-container",44),e.qZA()()),2&ne){const Oe=e.oxw().$implicit,Ct=e.oxw(4);e.xp6(1),e.Q6J("ngSwitch",Oe.type),e.xp6(1),e.Q6J("ngSwitchCase",Ct.dataTypeEnum.ARRAY),e.xp6(1),e.Q6J("ngSwitchCase",Ct.dataTypeEnum.DATE_TIME),e.xp6(1),e.Q6J("ngSwitchCase",Ct.dataTypeEnum.NUMBER),e.xp6(1),e.Q6J("ngSwitchCase",Ct.dataTypeEnum.BOOLEAN)}}function it(ne,lt){1&ne&&(e.TgZ(0,"span",55),e._uU(1,"\xa0"),e.qZA())}function $e(ne,lt){if(1&ne&&(e.TgZ(0,"div",37)(1,"h4",38),e._uU(2),e.qZA(),e.YNc(3,Be,7,5,"span",39)(4,it,2,0,"ng-template",null,40,e.W1O),e._UZ(6,"mat-divider",41),e.qZA()),2&ne){const Oe=lt.$implicit,Ct=e.MAs(5);e.s9C("fxFlex.gt-md",Oe.width),e.xp6(2),e.Oqu(Oe.title),e.xp6(1),e.Q6J("ngIf",Oe&&(!!Oe.value||0===Oe.value))("ngIfElse",Ct)}}function ke(ne,lt){if(1&ne&&(e.TgZ(0,"div")(1,"div",35),e.YNc(2,$e,7,4,"div",36),e.qZA()()),2&ne){const Oe=lt.$implicit;e.xp6(2),e.Q6J("ngForOf",Oe)}}function st(ne,lt){if(1&ne&&(e.TgZ(0,"div",33),e.YNc(1,ke,3,1,"div",34),e.qZA()),2&ne){const Oe=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",Oe.messageObjs)}}const Ke=ne=>({"display-none":ne});function Et(ne,lt){if(1&ne&&(e.TgZ(0,"div",27)(1,"div",28),e.YNc(2,he,1,3,"qr-code",2),e.qZA(),e.TgZ(3,"div",29),e.YNc(4,xe,2,1,"p",30)(5,st,2,1,"div",31),e.qZA()()),2&ne){const Oe=e.oxw();e.xp6(1),e.Q6J("ngClass",e.VKq(4,Ke,""===Oe.showQRField||Oe.screenSize!==Oe.screenSizeEnum.XS&&Oe.screenSize!==Oe.screenSizeEnum.SM)),e.xp6(1),e.Q6J("ngIf",""!==Oe.showQRField),e.xp6(2),e.Q6J("ngIf",Oe.data.titleMessage),e.xp6(1),e.Q6J("ngIf",(null==Oe.messageObjs?null:Oe.messageObjs.length)>0)}}let ct=(()=>{class ne{set container(Oe){Oe&&(this.scrollContainer=Oe,this.scrollContainer&&this.scrollContainer.nativeElement&&(this.unlistenEnd=this.renderer.listen(this.scrollContainer.nativeElement,"ps-y-reach-end",Ct=>{this.scrollDirection="UP"}),this.unlistenStart=this.renderer.listen(this.scrollContainer.nativeElement,"ps-y-reach-start",Ct=>{this.scrollDirection="DOWN"})))}constructor(Oe,Ct,Ht,Ii,gn,qn,hn){this.dialogRef=Oe,this.data=Ct,this.logger=Ht,this.snackBar=Ii,this.commonService=gn,this.renderer=qn,this.router=hn,this.LoopStateEnum=I.Fq,this.goToFieldValue="",this.goToName="",this.goToLink="",this.showQRField="",this.showQRName="",this.showCopyName="",this.showCopyField="",this.errorMessage="",this.messageObjs=[],this.alertTypeEnum=I.n_,this.dataTypeEnum=I.Gi,this.screenSize="",this.screenSizeEnum=I.cu,this.scrollDirection="DOWN",this.shouldScroll=!0}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),this.messageObjs=this.data.message||[],this.goToFieldValue=this.data.goToFieldValue?this.data.goToFieldValue:"",this.goToName=this.data.goToName?this.data.goToName:"",this.goToLink=this.data.goToLink?this.data.goToLink:"",this.showQRField=this.data.showQRField?this.data.showQRField:"",this.showQRName=this.data.showQRName?this.data.showQRName:"",this.showCopyName=this.data.showCopyName?this.data.showCopyName:"",this.showCopyField=this.data.showCopyField?this.data.showCopyField:"",this.data.type===I.n_.ERROR&&!this.data.message&&!this.data.titleMessage&&this.messageObjs.length<=0&&(this.data.titleMessage="Please Check Server Connection"),this.logger.info(this.messageObjs)}ngAfterViewChecked(){setTimeout(()=>{this.shouldScroll=this.scrollContainer&&this.scrollContainer.nativeElement&&this.scrollContainer.nativeElement.classList.value.includes("ps--active-y")},500)}onScroll(){this.scrollContainer.nativeElement.scrollTop="DOWN"===this.scrollDirection?this.scrollContainer.nativeElement.scrollTop+62.6:this.scrollContainer.nativeElement.scrollTop-62.6}onCopyField(Oe){this.snackBar.open((this.showQRName?this.showQRName:this.showCopyName)+" copied."),this.logger.info("Copied Text: "+Oe)}onClose(){this.dialogRef.close(!1)}onGoToLink(){this.router.navigateByUrl(this.goToLink,{state:{lookupType:"0",lookupValue:this.goToFieldValue}}),this.onClose()}ngOnDestroy(){this.unlistenStart&&this.unlistenStart(),this.unlistenEnd&&this.unlistenEnd()}static#e=this.\u0275fac=function(Ct){return new(Ct||ne)(e.Y36(k.so),e.Y36(k.WI),e.Y36(j.mQ),e.Y36(K.ux),e.Y36(X.v),e.Y36(e.Qsj),e.Y36(ie.F0))};static#t=this.\u0275cmp=e.Xpm({type:ne,selectors:[["rtl-alert-message"]],viewQuery:function(Ct,Ht){if(1&Ct&&e.Gf(w,5),2&Ct){let Ii;e.iGM(Ii=e.CRH())&&(Ht.container=Ii.first)}},decls:21,vars:14,consts:[["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","30","fxLayoutAlign","center start",1,"modal-qr-code-container","padding-gap-large","ml-1",3,"ngClass"],[3,"value","size","errorCorrectionLevel",4,"ngIf"],[3,"fxFlex"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],[4,"ngIf"],["fxLayout","row","fxLayoutAlign","start end","class","btn-sticky-container padding-gap-x-large",4,"ngIf"],["fxLayout","row","fxLayoutAlign","end center",1,"padding-gap-x-large","padding-gap-bottom-large"],["tabindex","1","autoFocus","","mat-button","","color","primary","type","submit","default","",3,"mat-dialog-close",4,"ngIf"],["class","mr-1","fxLayoutAlign","center center","tabindex","1","mat-button","","color","primary","type","button","default","",3,"mat-dialog-close",4,"ngIf"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied",4,"ngIf"],["contentBlock",""],[3,"value","size","errorCorrectionLevel"],[1,"padding-gap-x-large",3,"perfectScrollbar","ngClass"],["scrollContainer",""],[4,"ngTemplateOutlet"],[1,"padding-gap-x-large"],["fxLayout","row","fxLayoutAlign","start end",1,"btn-sticky-container","padding-gap-x-large"],["mat-mini-fab","","aria-label","Scroll","fxLayoutAlign","center center",3,"click"],["fxLayoutAlign","center center",4,"ngIf"],["fxLayoutAlign","center center"],["tabindex","1","autoFocus","","mat-button","","color","primary","type","submit","default","",3,"mat-dialog-close"],["fxLayoutAlign","center center","tabindex","1","mat-button","","color","primary","type","button","default","",1,"mr-1",3,"mat-dialog-close"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied"],["fxLayout","column"],["fxFlex","50","fxLayoutAlign","center start",1,"modal-qr-code-container","padding-gap-large","mb-1",3,"ngClass"],["fxLayout","column","fxFlex","100"],["fxLayoutAlign","start center","class","pb-2",4,"ngIf"],["fxFlex","100",4,"ngIf"],["fxLayoutAlign","start center",1,"pb-2"],["fxFlex","100"],[4,"ngFor","ngForOf"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","start center","fxLayoutAlign.gt-md","space-between start"],["fxLayout","column","fxFlex","100",3,"fxFlex.gt-md",4,"ngFor","ngForOf"],["fxLayout","column","fxFlex","100",3,"fxFlex.gt-md"],["fxLayoutAlign","start",1,"font-bold-500"],[4,"ngIf","ngIfElse"],["emptyField",""],[1,"w-100","my-1"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"foreground-secondary-text",3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["class","display-block w-100",3,"innerHTML",4,"ngFor","ngForOf"],[1,"display-block","w-100",3,"innerHTML"],["fxLayout","row",3,"ngClass",4,"ngIf","ngIfElse"],["noStyleBlock",""],["fxLayout","row",3,"ngClass"],["fxLayoutAlign","end end","class","icon-failed-status",4,"ngIf"],["fxLayoutAlign","end end",1,"icon-failed-status"],["tabindex","4","fxLayout","row","class","go-to-link",3,"matTooltip","click",4,"ngIf","ngIfElse"],["noStyleChild",""],["tabindex","4","fxLayout","row",1,"go-to-link",3,"matTooltip","click"],["fxFlex","100",1,"foreground-secondary-text"]],template:function(Ct,Ht){1&Ct&&(e.TgZ(0,"div",0)(1,"div",1),e.YNc(2,D,1,3,"qr-code",2),e.qZA(),e.TgZ(3,"div",3)(4,"mat-card-header",4)(5,"div",5)(6,"span",6),e._uU(7),e.qZA()(),e.TgZ(8,"button",7),e.NdJ("click",function(){return Ht.onClose()}),e._uU(9,"X"),e.qZA()(),e.YNc(10,r,4,4,"ng-container",8)(11,H,3,1,"ng-container",8)(12,De,4,2,"div",9),e.TgZ(13,"div",10),e.YNc(14,ot,2,1,"button",11)(15,je,2,1,"button",12)(16,Je,2,2,"button",13)(17,ye,2,1,"button",12)(18,me,2,2,"button",13),e.qZA()()(),e.YNc(19,Et,6,6,"ng-template",null,14,e.W1O)),2&Ct&&(e.xp6(1),e.Q6J("ngClass",e.VKq(12,Ke,""===Ht.showQRField||Ht.screenSize===Ht.screenSizeEnum.XS||Ht.screenSize===Ht.screenSizeEnum.SM)),e.xp6(1),e.Q6J("ngIf",""!==Ht.showQRField),e.xp6(1),e.Q6J("fxFlex",""===Ht.showQRField||Ht.screenSize===Ht.screenSizeEnum.XS||Ht.screenSize===Ht.screenSizeEnum.SM?"100":"70"),e.xp6(4),e.Oqu(Ht.data.alertTitle||Ht.alertTypeEnum[Ht.data.type]),e.xp6(3),e.Q6J("ngIf",Ht.data.scrollable),e.xp6(1),e.Q6J("ngIf",!Ht.data.scrollable),e.xp6(1),e.Q6J("ngIf",Ht.data.scrollable&&Ht.shouldScroll),e.xp6(2),e.Q6J("ngIf",(!Ht.showQRField||""===Ht.showQRField)&&""===Ht.showCopyName),e.xp6(1),e.Q6J("ngIf",""!==Ht.showCopyName),e.xp6(1),e.Q6J("ngIf",""!==Ht.showCopyName),e.xp6(1),e.Q6J("ngIf",""!==Ht.showQRField),e.xp6(1),e.Q6J("ngIf",""!==Ht.showQRField))},dependencies:[ae.mk,ae.sg,ae.O5,ae.tP,ae.RF,ae.n9,ae.ED,V.xw,V.Wh,V.yH,fe.oO,k.ZT,se.lW,se.nh,Me.dn,Me.dk,$.Hw,ue.d,S.gM,n.uU,s.$V,f.y,h.h,ae.JJ,ae.uU],styles:[".display-block[_ngcontent-%COMP%]{display:block}"]})}return ne})();var te=p(590),Pe=p(9103),$t=p(4221),Ze=p(6223),Qe=p(5597),zt=p(2032),xt=p(5683),Ot=p(6082);function yt(ne,lt){if(1&ne&&(e.TgZ(0,"div",18),e._UZ(1,"fa-icon",19),e.TgZ(2,"span"),e._uU(3),e.qZA()()),2&ne){const Oe=e.oxw();e.xp6(1),e.Q6J("icon",Oe.faExclamationTriangle),e.xp6(2),e.Oqu(Oe.warningMessage)}}function nt(ne,lt){if(1&ne&&(e.TgZ(0,"div",20),e._UZ(1,"fa-icon",19),e.TgZ(2,"span"),e._uU(3),e.qZA()()),2&ne){const Oe=e.oxw();e.xp6(1),e.Q6J("icon",Oe.faInfoCircle),e.xp6(2),e.Oqu(Oe.informationMessage)}}function Ee(ne,lt){if(1&ne&&(e.TgZ(0,"p",21),e._uU(1),e.qZA()),2&ne){const Oe=e.oxw();e.xp6(1),e.Oqu(Oe.data.titleMessage)}}function tt(ne,lt){1&ne&&e._UZ(0,"div",36),2&ne&&e.Q6J("innerHTML",lt.$implicit,e.oJD)}function Ue(ne,lt){if(1&ne&&(e.ynx(0,34),e.YNc(1,tt,1,1,"div",35),e.BQk()),2&ne){const Oe=e.oxw(2).$implicit;e.xp6(1),e.Q6J("ngForOf",Oe.value)}}function Xe(ne,lt){if(1&ne&&(e.ynx(0),e._uU(1),e.ALo(2,"date"),e.BQk()),2&ne){const Oe=e.oxw(2).$implicit;e.xp6(1),e.Oqu(e.xi3(2,1,1e3*Oe.value,"dd/MMM/y HH:mm"))}}function gt(ne,lt){if(1&ne&&(e.ynx(0),e._uU(1),e.ALo(2,"number"),e.BQk()),2&ne){const Oe=e.oxw(2).$implicit;e.xp6(1),e.Oqu(e.xi3(2,1,Oe.value,"1.0-3"))}}function Le(ne,lt){if(1&ne&&(e.ynx(0),e._uU(1),e.BQk()),2&ne){const Oe=e.oxw(2).$implicit;e.xp6(1),e.Oqu(!0===Oe.value?"True":"False")}}function be(ne,lt){if(1&ne&&(e.ynx(0),e._uU(1),e.BQk()),2&ne){const Oe=e.oxw(2).$implicit;e.xp6(1),e.Oqu(Oe.value)}}function J(ne,lt){if(1&ne&&(e.TgZ(0,"span")(1,"span",30),e.YNc(2,Ue,2,1,"ng-container",31)(3,Xe,3,4,"ng-container",32)(4,gt,3,4,"ng-container",32)(5,Le,2,1,"ng-container",32)(6,be,2,1,"ng-container",33),e.qZA()()),2&ne){const Oe=e.oxw().$implicit,Ct=e.oxw(3);e.xp6(1),e.Q6J("ngSwitch",Oe.type),e.xp6(1),e.Q6J("ngSwitchCase",Ct.dataTypeEnum.ARRAY),e.xp6(1),e.Q6J("ngSwitchCase",Ct.dataTypeEnum.DATE_TIME),e.xp6(1),e.Q6J("ngSwitchCase",Ct.dataTypeEnum.NUMBER),e.xp6(1),e.Q6J("ngSwitchCase",Ct.dataTypeEnum.BOOLEAN)}}function re(ne,lt){1&ne&&(e.TgZ(0,"span",37),e._uU(1,"\xa0"),e.qZA())}function Ie(ne,lt){if(1&ne&&(e.TgZ(0,"div",25)(1,"h4",26),e._uU(2),e.qZA(),e.YNc(3,J,7,5,"span",27)(4,re,2,0,"ng-template",null,28,e.W1O),e._UZ(6,"mat-divider",29),e.qZA()),2&ne){const Oe=lt.$implicit,Ct=e.MAs(5);e.s9C("fxFlex.gt-md",Oe.width),e.xp6(2),e.Oqu(Oe.title),e.xp6(1),e.Q6J("ngIf",Oe&&(!!Oe.value||0===Oe.value))("ngIfElse",Ct)}}function Nt(ne,lt){if(1&ne&&(e.TgZ(0,"div")(1,"div",23),e.YNc(2,Ie,7,4,"div",24),e.qZA()()),2&ne){const Oe=lt.$implicit;e.xp6(2),e.Q6J("ngForOf",Oe)}}function At(ne,lt){if(1&ne&&(e.TgZ(0,"div"),e.YNc(1,Nt,3,1,"div",22),e.qZA()),2&ne){const Oe=e.oxw();e.xp6(1),e.Q6J("ngForOf",Oe.messageObjs)}}function Zt(ne,lt){if(1&ne&&(e.TgZ(0,"p",21),e._uU(1),e.qZA()),2&ne){const Oe=e.oxw(2);e.xp6(1),e.Oqu(Oe.data.titleMessage)}}function mi(ne,lt){if(1&ne&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&ne){const Oe=e.oxw(2).$implicit;e.xp6(1),e.hij("",Oe.placeholder," is required.")}}function Jt(ne,lt){if(1&ne){const Oe=e.EpF();e.TgZ(0,"mat-form-field",41)(1,"mat-label"),e._uU(2),e.qZA(),e.TgZ(3,"input",42),e.NdJ("ngModelChange",function(Ht){e.CHM(Oe);const Ii=e.oxw().$implicit;return e.KtG(Ii.inputValue=Ht)}),e.ALo(4,"lowercase"),e.qZA(),e.YNc(5,mi,2,1,"mat-error",11),e.TgZ(6,"mat-hint"),e._uU(7),e.qZA()()}if(2&ne){const Oe=e.oxw(),Ct=Oe.$implicit,Ht=Oe.index;e.Q6J("fxFlex",Ct.width),e.xp6(2),e.Oqu(Ct.placeholder),e.xp6(1),e.MGl("name","input",Ht,""),e.Q6J("autoFocus",0===Ht)("min",Ct.min)("step",Ct.step)("type",e.lcZ(4,11,Ct.inputType))("tabindex",Ht+1)("ngModel",Ct.inputValue),e.xp6(2),e.Q6J("ngIf",!Ct.inputValue),e.xp6(2),e.Oqu(Ct.hintFunction?Ct.hintFunction(Ct.inputValue):Ct.hintText)}}function Xt(ne,lt){if(1&ne&&(e.ynx(0),e.YNc(1,Jt,8,13,"mat-form-field",40),e.BQk()),2&ne){const Oe=lt.$implicit,Ct=e.oxw(2);e.xp6(1),e.Q6J("ngIf",!Oe.advancedField||Ct.showAdvanced)}}function Hi(ne,lt){if(1&ne&&(e.TgZ(0,"div",38),e.YNc(1,Zt,2,1,"p",10),e.TgZ(2,"div",39),e.YNc(3,Xt,2,1,"ng-container",22),e.qZA()()),2&ne){const Oe=e.oxw();e.xp6(1),e.Q6J("ngIf",Oe.data.titleMessage),e.xp6(2),e.Q6J("ngForOf",Oe.getInputs)}}function li(ne,lt){1&ne&&(e.TgZ(0,"p"),e._uU(1,"Show Advanced"),e.qZA())}function hi(ne,lt){1&ne&&(e.TgZ(0,"p"),e._uU(1,"Hide Advanced"),e.qZA())}function un(ne,lt){if(1&ne){const Oe=e.EpF();e.TgZ(0,"button",43),e.NdJ("click",function(){e.CHM(Oe);const Ht=e.oxw();return e.KtG(Ht.onShowAdvanced())}),e.YNc(1,li,2,0,"p",27)(2,hi,2,0,"ng-template",null,44,e.W1O),e.qZA()}if(2&ne){const Oe=e.MAs(3),Ct=e.oxw();e.xp6(1),e.Q6J("ngIf",!Ct.showAdvanced)("ngIfElse",Oe)}}function Qi(ne,lt){if(1&ne){const Oe=e.EpF();e.TgZ(0,"button",45),e.NdJ("click",function(){e.CHM(Oe);const Ht=e.oxw();return e.KtG(Ht.onClose(Ht.getInputs))}),e._uU(1),e.qZA()}if(2&ne){const Oe=e.oxw();e.xp6(1),e.Oqu(Oe.yesBtnText)}}function xi(ne,lt){if(1&ne){const Oe=e.EpF();e.TgZ(0,"button",46),e.NdJ("click",function(){e.CHM(Oe);const Ht=e.oxw();return e.KtG(Ht.onClose(!0))}),e._uU(1),e.qZA()}if(2&ne){const Oe=e.oxw();e.xp6(1),e.Oqu(Oe.yesBtnText)}}let sn=(()=>{class ne{constructor(Oe,Ct,Ht,Ii){this.dialogRef=Oe,this.data=Ct,this.logger=Ht,this.store=Ii,this.faInfoCircle=te.sqG,this.faExclamationTriangle=te.eHv,this.informationMessage="",this.warningMessage="",this.noBtnText="No",this.yesBtnText="Yes",this.messageObjs=[],this.flgShowInput=!1,this.hasAdvanced=!1,this.alertTypeEnum=I.n_,this.dataTypeEnum=I.Gi,this.getInputs=[{placeholder:"",inputType:I.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===I.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(Oe){if(Oe&&this.getInputs&&this.getInputs.some(Ct=>typeof Ct.inputValue>"u"))return!0;!this.showAdvanced&&Oe.length&&(Oe=Oe?.reduce((Ct,Ht)=>(Ht.advancedField||Ct.push(Ht),Ct),[])),this.store.dispatch((0,Pe.yb)({payload:Oe}))}static#e=this.\u0275fac=function(Ct){return new(Ct||ne)(e.Y36(k.so),e.Y36(k.WI),e.Y36(j.mQ),e.Y36($t.yh))};static#t=this.\u0275cmp=e.Xpm({type:ne,selectors:[["rtl-confirmation-message"]],decls:21,vars:10,consts:[["fxLayout","row"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title"],["tabindex","8","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large"],["fxLayout","column"],["fxFlex","100","class","alert alert-warn",4,"ngIf"],["fxFlex","100","class","alert alert-info",4,"ngIf"],["fxLayoutAlign","start center","class","pb-1",4,"ngIf"],[4,"ngIf"],["fxLayout","column","class","bordered-box my-2 p-2",4,"ngIf"],["fxLayout","row","fxLayoutAlign","end center"],["mat-button","","color","primary","type","reset","tabindex","1",1,"mr-1",3,"click"],["mat-button","","color","primary","type","button","class","mr-1","tabindex","2",3,"click",4,"ngIf"],["autoFocus","","mat-button","","color","primary","type","submit","tabindex","3","default","",3,"click",4,"ngIf"],["autoFocus","","mat-button","","color","primary","type","submit","tabindex","4","default","",3,"click",4,"ngIf"],["fxFlex","100",1,"alert","alert-warn"],[1,"mr-1","alert-icon",3,"icon"],["fxFlex","100",1,"alert","alert-info"],["fxLayoutAlign","start center",1,"pb-1"],[4,"ngFor","ngForOf"],["fxLayout","row wrap","fxLayoutAlign","start center","fxLayoutAlign.gt-md","space-between start"],["fxLayout","column","fxFlex","100",3,"fxFlex.gt-md",4,"ngFor","ngForOf"],["fxLayout","column","fxFlex","100",3,"fxFlex.gt-md"],["fxLayoutAlign","start",1,"font-bold-500"],[4,"ngIf","ngIfElse"],["emptyField",""],[1,"w-100","my-1"],[1,"foreground-secondary-text",3,"ngSwitch"],["fxLayout","row wrap","fxLayoutAlign","space-between stretch",4,"ngSwitchCase"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["fxLayout","row wrap","fxLayoutAlign","space-between stretch"],[3,"innerHTML",4,"ngFor","ngForOf"],[3,"innerHTML"],["fxFlex","100",1,"foreground-secondary-text"],["fxLayout","column",1,"bordered-box","my-2","p-2"],["fxLayout","row wrap","fxLayoutAlign","space-between center"],[3,"fxFlex",4,"ngIf"],[3,"fxFlex"],["matInput","","required","",3,"autoFocus","name","min","step","type","tabindex","ngModel","ngModelChange"],["mat-button","","color","primary","type","button","tabindex","2",1,"mr-1",3,"click"],["hideAdvancedText",""],["autoFocus","","mat-button","","color","primary","type","submit","tabindex","3","default","",3,"click"],["autoFocus","","mat-button","","color","primary","type","submit","tabindex","4","default","",3,"click"]],template:function(Ct,Ht){1&Ct&&(e.TgZ(0,"div",0)(1,"div",1)(2,"mat-card-header",2)(3,"div",3)(4,"span",4),e._uU(5),e.qZA()(),e.TgZ(6,"button",5),e.NdJ("click",function(){return Ht.onClose(!1)}),e._uU(7,"X"),e.qZA()(),e.TgZ(8,"mat-card-content",6)(9,"form",7),e.YNc(10,yt,4,2,"div",8)(11,nt,4,2,"div",9)(12,Ee,2,1,"p",10)(13,At,2,1,"div",11)(14,Hi,4,2,"div",12),e.TgZ(15,"div",13)(16,"button",14),e.NdJ("click",function(){return Ht.onClose(!1)}),e._uU(17),e.qZA(),e.YNc(18,un,4,2,"button",15)(19,Qi,2,1,"button",16)(20,xi,2,1,"button",17),e.qZA()()()()()),2&Ct&&(e.xp6(5),e.Oqu(Ht.data.alertTitle||Ht.alertTypeEnum[Ht.data.type]),e.xp6(5),e.Q6J("ngIf",Ht.warningMessage&&""!==Ht.warningMessage),e.xp6(1),e.Q6J("ngIf",Ht.informationMessage&&""!==Ht.informationMessage),e.xp6(1),e.Q6J("ngIf",Ht.data.titleMessage&&!Ht.flgShowInput),e.xp6(1),e.Q6J("ngIf",(null==Ht.messageObjs?null:Ht.messageObjs.length)>0),e.xp6(1),e.Q6J("ngIf",Ht.flgShowInput),e.xp6(3),e.Oqu(Ht.noBtnText),e.xp6(1),e.Q6J("ngIf",Ht.hasAdvanced),e.xp6(1),e.Q6J("ngIf",Ht.flgShowInput),e.xp6(1),e.Q6J("ngIf",!Ht.flgShowInput))},dependencies:[ae.sg,ae.O5,ae.RF,ae.n9,ae.ED,Ze._Y,Ze.Fj,Ze.JJ,Ze.JL,Ze.Q7,Ze.On,Ze.F,Qe.BN,V.xw,V.Wh,V.yH,se.lW,Me.dn,Me.dk,zt.Nt,xt.KE,xt.hX,xt.bx,xt.TO,ue.d,h.h,Ot.q,ae.i8,ae.JJ,ae.uU]})}return ne})();var at=p(3315),oi=p(8525),Ce=p(3680);function St(ne,lt){if(1&ne&&(e.TgZ(0,"mat-option",23),e._uU(1),e.qZA()),2&ne){const Oe=lt.$implicit;e.Q6J("value",Oe),e.xp6(1),e.hij(" ",Oe.infoName," ")}}function Ft(ne,lt){if(1&ne){const Oe=e.EpF();e.TgZ(0,"div",13)(1,"mat-form-field",20)(2,"mat-select",21),e.NdJ("valueChange",function(Ht){e.CHM(Oe);const Ii=e.oxw();return e.KtG(Ii.selInfoType=Ht)}),e.YNc(3,St,2,2,"mat-option",22),e.qZA()()()}if(2&ne){const Oe=e.oxw();e.xp6(2),e.Q6J("value",Oe.selInfoType),e.xp6(1),e.Q6J("ngForOf",Oe.infoTypes)}}const Dt=ne=>({"display-none":ne});let It=(()=>{class ne{constructor(Oe,Ct,Ht,Ii,gn){this.dialogRef=Oe,this.data=Ct,this.logger=Ht,this.snackBar=Ii,this.commonService=gn,this.faReceipt=te.dLy,this.infoTypes=[{infoID:0,infoKey:"node pubkey",infoName:"Node pubkey"}],this.selInfoType=this.infoTypes[0],this.qrWidth=210,this.screenSize="",this.screenSizeEnum=I.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((Oe,Ct)=>{this.infoTypes.push({infoID:Ct+1,infoKey:"node URI "+(Ct+1),infoName:"Node URI "+(Ct+1)})})),this.screenSize=this.commonService.getScreenSize()}onClose(){this.dialogRef.close(!1)}onCopyPubkey(Oe){this.snackBar.open(this.selInfoType.infoName+" copied."),this.logger.info("Copied Text: "+Oe)}static#e=this.\u0275fac=function(Ct){return new(Ct||ne)(e.Y36(k.so),e.Y36(k.WI),e.Y36(j.mQ),e.Y36(K.ux),e.Y36(X.v))};static#t=this.\u0275cmp=e.Xpm({type:ne,selectors:[["rtl-show-pubkey"]],decls:26,vars:19,consts:[["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","30","fxLayoutAlign","center start",1,"modal-qr-code-container","padding-gap-large",3,"ngClass"],[3,"value","size","errorCorrectionLevel"],["fxFlex","100","fxFlex.gt-sm","70"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large"],["fxLayout","column"],["fxFlex","50","fxLayoutAlign","center start",1,"modal-qr-code-container","padding-gap-large",3,"ngClass"],["fxLayout","row",4,"ngIf"],["fxLayout","row"],["fxFlex","100"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"foreground-secondary-text"],[1,"w-100","my-1"],["fxLayout","row","fxLayoutAlign","end center",1,"mt-2"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied"],["fxLayout","column","fxFlex","100","fxFlex.gt-sm","40","fxLayoutAlign","start end"],["tabindex","1",3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(Ct,Ht){1&Ct&&(e.TgZ(0,"div",0)(1,"div",1),e._UZ(2,"qr-code",2),e.qZA(),e.TgZ(3,"div",3)(4,"mat-card-header",4)(5,"div",5),e._UZ(6,"fa-icon",6),e.TgZ(7,"span",7),e._uU(8),e.qZA()(),e.TgZ(9,"button",8),e.NdJ("click",function(){return Ht.onClose()}),e._uU(10,"X"),e.qZA()(),e.TgZ(11,"mat-card-content",9)(12,"div",10)(13,"div",11),e._UZ(14,"qr-code",2),e.qZA(),e.YNc(15,Ft,4,2,"div",12),e.TgZ(16,"div",13)(17,"div",14)(18,"h4",15),e._uU(19),e.qZA(),e.TgZ(20,"span",16),e._uU(21),e.qZA()()(),e._UZ(22,"mat-divider",17),e.TgZ(23,"div",18)(24,"button",19),e.NdJ("copied",function(gn){return Ht.onCopyPubkey(gn)}),e._uU(25),e.qZA()()()()()()),2&Ct&&(e.xp6(1),e.Q6J("ngClass",e.VKq(15,Dt,Ht.screenSize===Ht.screenSizeEnum.XS||Ht.screenSize===Ht.screenSizeEnum.SM)),e.xp6(1),e.s9C("value",0===Ht.selInfoType.infoID?Ht.information.identity_pubkey:Ht.information.uris[Ht.selInfoType.infoID-1]),e.Q6J("size",Ht.qrWidth)("errorCorrectionLevel","L"),e.xp6(4),e.Q6J("icon",Ht.faReceipt),e.xp6(2),e.Oqu(Ht.selInfoType.infoName),e.xp6(5),e.Q6J("ngClass",e.VKq(17,Dt,Ht.screenSize!==Ht.screenSizeEnum.XS&&Ht.screenSize!==Ht.screenSizeEnum.SM)),e.xp6(1),e.s9C("value",0===Ht.selInfoType.infoID?Ht.information.identity_pubkey:Ht.information.uris[Ht.selInfoType.infoID-1]),e.Q6J("size",Ht.qrWidth)("errorCorrectionLevel","L"),e.xp6(1),e.Q6J("ngIf",Ht.information.uris&&Ht.information.uris.length>0),e.xp6(4),e.Oqu(Ht.selInfoType.infoName),e.xp6(2),e.Oqu(0===Ht.selInfoType.infoID?Ht.information.identity_pubkey:Ht.information.uris[Ht.selInfoType.infoID-1]),e.xp6(3),e.s9C("payload",0===Ht.selInfoType.infoID?Ht.information.identity_pubkey:Ht.information.uris[Ht.selInfoType.infoID-1]),e.xp6(1),e.hij("Copy ",Ht.selInfoType.infoKey,""))},dependencies:[ae.mk,ae.sg,ae.O5,Qe.BN,V.xw,V.Wh,V.yH,fe.oO,se.lW,Me.dn,Me.dk,xt.KE,ue.d,oi.gD,Ce.ey,n.uU,f.y,h.h]})}return ne})();var Ut=p(9191),ai=p(234),_i=p(2249),bi=p(4818),Oi=p(9862),Bi=p(2285),Vi=p(5813),Kt=p(6046);let vi=(()=>{class ne{constructor(Oe,Ct,Ht,Ii,gn,qn,hn,pr,ia,Dr,Qr){this.actions=Oe,this.httpClient=Ct,this.store=Ht,this.logger=Ii,this.wsService=gn,this.sessionService=qn,this.commonService=hn,this.dataService=pr,this.dialog=ia,this.snackBar=Dr,this.router=Qr,this.screenSize="",this.alertWidth="55%",this.confirmWidth="70%",this.unSubs=[new y.x,new y.x],this.closeAllDialogs=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(I.pg.CLOSE_ALL_DIALOGS),(0,x.U)(()=>{this.dialog.closeAll()})),{dispatch:!1}),this.openSnackBar=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(I.pg.OPEN_SNACK_BAR),(0,x.U)(Gi=>{"string"==typeof Gi.payload?this.snackBar.open(Gi.payload):this.snackBar.open(Gi.payload.message,"","ERROR"===Gi.payload.type?{duration:Gi.payload.duration?Gi.payload.duration:2e3,panelClass:"rtl-warn-snack-bar"}:"WARN"===Gi.payload.type?{duration:Gi.payload.duration?Gi.payload.duration:2e3,panelClass:"rtl-accent-snack-bar"}:{duration:Gi.payload.duration?Gi.payload.duration:2e3,panelClass:"rtl-snack-bar"})})),{dispatch:!1}),this.openSpinner=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(I.pg.OPEN_SPINNER),(0,x.U)(Gi=>{Gi.payload!==I.m6.NO_SPINNER&&(this.dialogRef=this.dialog.open(W,{panelClass:"spinner-dialog-panel",data:{titleMessage:Gi.payload}}))})),{dispatch:!1}),this.closeSpinner=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(I.pg.CLOSE_SPINNER),(0,x.U)(Gi=>{if(Gi.payload!==I.m6.NO_SPINNER)try{this.dialogRef&&this.dialogRef.componentInstance&&this.dialogRef.componentInstance.data&&this.dialogRef.componentInstance.data.titleMessage&&this.dialogRef.componentInstance.data.titleMessage===Gi.payload?this.dialogRef.close():this.dialog.openDialogs.forEach(rn=>{rn.componentInstance&&rn.componentInstance.data&&rn.componentInstance.data.titleMessage&&rn.componentInstance.data.titleMessage===Gi.payload&&rn.close()})}catch(rn){this.logger.error(rn)}})),{dispatch:!1}),this.openAlert=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(I.pg.OPEN_ALERT),(0,x.U)(Gi=>{const rn=JSON.parse(JSON.stringify(Gi.payload));rn.width||(rn.width=this.alertWidth),this.dialogRef=this.dialog.open(Gi.payload.data.component?Gi.payload.data.component:ct,rn)})),{dispatch:!1}),this.closeAlert=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(I.pg.CLOSE_ALERT),(0,x.U)(Gi=>(this.dialogRef&&this.dialogRef.close(),this.logger.info(Gi.payload),Gi.payload))),{dispatch:!1}),this.openConfirm=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(I.pg.OPEN_CONFIRMATION),(0,x.U)(Gi=>{const rn=JSON.parse(JSON.stringify(Gi.payload));rn.width||(rn.width=this.confirmWidth),this.dialogRef=this.dialog.open(sn,rn)})),{dispatch:!1}),this.closeConfirm=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(I.pg.CLOSE_CONFIRMATION),(0,m.q)(1),(0,x.U)(Gi=>(this.dialogRef&&this.dialogRef.close(),this.logger.info(Gi.payload),Gi.payload))),{dispatch:!1}),this.showNodePubkey=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(I.pg.SHOW_PUBKEY),(0,P.M)(this.store.select(bi.R4)),(0,d.z)(([Gi,rn])=>(this.sessionService.getItem("token")&&rn.identity_pubkey?this.store.dispatch((0,Pe.qR)({payload:{data:{information:rn,component:It}}})):this.snackBar.open("Node Pubkey does not exist."),(0,A.of)({type:I.pg.VOID}))))),this.appConfigFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(I.pg.FETCH_APPLICATION_SETTINGS),(0,d.z)(()=>(this.screenSize=this.commonService.getScreenSize(),this.screenSize===I.cu.XS||this.screenSize===I.cu.SM?(this.alertWidth="95%",this.confirmWidth="95%"):this.screenSize===I.cu.MD?(this.alertWidth="80%",this.confirmWidth="80%"):(this.alertWidth="50%",this.confirmWidth="53%"),this.store.dispatch((0,Pe.ac)({payload:I.m6.GET_RTL_CONFIG})),this.store.dispatch((0,Pe.qi)({payload:{action:"FetchRTLConfig",status:I.Bn.INITIATED}})),this.httpClient.get(I.vv.CONF_API))),(0,x.U)(Gi=>{this.logger.info(Gi),this.store.dispatch((0,Pe.uO)({payload:I.m6.GET_RTL_CONFIG})),this.store.dispatch((0,Pe.qi)({payload:{action:"FetchRTLConfig",status:I.Bn.COMPLETED}}));let rn=null;return Gi.nodes.forEach(jt=>{jt.Settings.currencyUnits=[...I.uA,jt.Settings?.currencyUnit?jt.Settings?.currencyUnit:""],+(jt.index||-1)===Gi.selectedNodeIndex&&(rn=jt)}),rn?(this.store.dispatch((0,Pe.fk)({payload:{uiMessage:I.m6.NO_SPINNER,prevLnNodeIndex:-1,currentLnNode:rn,isInitialSetup:!0}})),{type:I.pg.SET_APPLICATION_SETTINGS,payload:Gi}):{type:I.pg.VOID}}),(0,E.K)(Gi=>(this.handleErrorWithAlert("FetchRTLConfig",I.m6.GET_RTL_CONFIG,"Fetch RTL Config Failed!",I.vv.CONF_API,Gi),(0,A.of)({type:I.pg.VOID}))))),this.updataNodeSettings=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(I.pg.UPDATE_NODE_SETTINGS),(0,d.z)(Gi=>(this.store.dispatch((0,Pe.ac)({payload:Gi.payload.uiMessage})),this.store.dispatch((0,Pe.qi)({payload:{action:"UpdateNodeSettings",status:I.Bn.INITIATED}})),(new l.y).pipe((0,x.U)(jt=>(this.logger.info(jt),this.store.dispatch((0,Pe.qi)({payload:{action:"UpdateNodeSettings",status:I.Bn.COMPLETED}})),this.store.dispatch((0,Pe.uO)({payload:Gi.payload.uiMessage})),{type:I.pg.OPEN_SNACK_BAR,payload:jt.length?jt[0].message+".":jt.message+"."})),(0,E.K)(jt=>(this.handleErrorWithAlert("UpdateNodeSettings",Gi.payload.uiMessage,"Update Node Settings Failed!",I.vv.CONF_API,jt.length?jt[0]:jt),(0,A.of)({type:I.pg.VOID})))))))),this.updateApplicationSettings=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(I.pg.UPDATE_APPLICATION_SETTINGS),(0,d.z)(Gi=>(this.store.dispatch((0,Pe.ac)({payload:I.m6.UPDATE_APPLICATION_SETTINGS})),this.store.dispatch((0,Pe.qi)({payload:{action:"updateApplicationSettings",status:I.Bn.INITIATED}})),Gi.payload.config.nodes.forEach(rn=>{delete rn.Settings.currencyUnits}),this.httpClient.post(I.vv.CONF_API+"/application",Gi.payload.config).pipe((0,x.U)(rn=>(this.store.dispatch((0,Pe.qi)({payload:{action:"updateApplicationSettings",status:I.Bn.COMPLETED}})),this.store.dispatch((0,Pe.uO)({payload:I.m6.UPDATE_APPLICATION_SETTINGS})),Gi.payload.showSnackBar&&this.store.dispatch((0,Pe.jW)({payload:Gi.payload.message})),{type:I.pg.SET_APPLICATION_SETTINGS,payload:rn})),(0,E.K)(rn=>(this.handleErrorWithAlert("updateApplicationSettings",I.m6.UPDATE_APPLICATION_SETTINGS,"Update Application Settings Failed!",I.vv.CONF_API+"/config/"+Gi.payload,rn),(0,A.of)({type:I.pg.VOID})))))))),this.configFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(I.pg.FETCH_CONFIG),(0,d.z)(Gi=>(this.store.dispatch((0,Pe.ac)({payload:I.m6.OPEN_CONFIG_FILE})),this.store.dispatch((0,Pe.qi)({payload:{action:"fetchConfig",status:I.Bn.INITIATED}})),this.httpClient.get(I.vv.CONF_API+"/config/"+Gi.payload).pipe((0,x.U)(rn=>(this.store.dispatch((0,Pe.qi)({payload:{action:"fetchConfig",status:I.Bn.COMPLETED}})),this.store.dispatch((0,Pe.uO)({payload:I.m6.OPEN_CONFIG_FILE})),{type:I.pg.SHOW_CONFIG,payload:rn})),(0,E.K)(rn=>(this.handleErrorWithAlert("fetchConfig",I.m6.OPEN_CONFIG_FILE,"Fetch Config Failed!",I.vv.CONF_API+"/config/"+Gi.payload,rn),(0,A.of)({type:I.pg.VOID})))))))),this.showLnConfig=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(I.pg.SHOW_CONFIG),(0,x.U)(Gi=>Gi.payload)),{dispatch:!1}),this.isAuthorized=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(I.pg.IS_AUTHORIZED),(0,d.z)(Gi=>(this.store.dispatch((0,Pe.qi)({payload:{action:"IsAuthorized",status:I.Bn.INITIATED}})),this.httpClient.post(I.vv.AUTHENTICATE_API,{authenticateWith:Gi.payload&&""!==Gi.payload.trim()?I.OJ.PASSWORD:I.OJ.JWT,authenticationValue:Gi.payload&&""!==Gi.payload.trim()?Gi.payload:this.sessionService.getItem("token")?this.sessionService.getItem("token"):""}).pipe((0,x.U)(rn=>(this.logger.info(rn),this.store.dispatch((0,Pe.qi)({payload:{action:"IsAuthorized",status:I.Bn.COMPLETED}})),this.logger.info("Successfully Authorized!"),{type:I.pg.IS_AUTHORIZED_RES,payload:rn})),(0,E.K)(rn=>(this.handleErrorWithAlert("IsAuthorized",I.m6.NO_SPINNER,"Authorization Failed",I.vv.AUTHENTICATE_API,rn),(0,A.of)({type:I.pg.IS_AUTHORIZED_RES,payload:"ERROR"})))))))),this.isAuthorizedRes=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(I.pg.IS_AUTHORIZED_RES),(0,x.U)(Gi=>Gi.payload)),{dispatch:!1}),this.authLogin=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(I.pg.LOGIN),(0,P.M)(this.store.select(bi.Yj)),(0,d.z)(([Gi,rn])=>(this.store.dispatch((0,Ut.Ll)({payload:null})),this.store.dispatch((0,ai.mI)({payload:null})),this.store.dispatch((0,_i.Fd)({payload:null})),this.store.dispatch((0,Pe.qi)({payload:{action:"Login",status:I.Bn.INITIATED}})),this.httpClient.post(I.vv.AUTHENTICATE_API,{authenticateWith:Gi.payload.password?I.OJ.PASSWORD:I.OJ.JWT,authenticationValue:Gi.payload.password?Gi.payload.password:this.sessionService.getItem("token")?this.sessionService.getItem("token"):"",twoFAToken:Gi.payload.twoFAToken?Gi.payload.twoFAToken:""}).pipe((0,x.U)(jt=>{this.logger.info(jt),this.store.dispatch((0,Pe.qi)({payload:{action:"Login",status:I.Bn.COMPLETED}})),this.setLoggedInDetails(Gi.payload.defaultPassword,jt)}),(0,E.K)(jt=>(this.logger.info("Redirecting to Login Error Page"),this.handleErrorWithoutAlert("Login",I.m6.NO_SPINNER,jt),+rn.SSO.rtlSSO?this.router.navigate(["/error"],{state:{errorCode:"406",errorMessage:jt.error&&jt.error.error?jt.error.error:"Single Sign On Failed!"}}):this.router.navigate(["./login"]),(0,A.of)({type:I.pg.VOID}))))))),{dispatch:!1}),this.tokenVerify=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(I.pg.VERIFY_TWO_FA),(0,d.z)(Gi=>(this.store.dispatch((0,Pe.ac)({payload:I.m6.VERIFY_TOKEN})),this.store.dispatch((0,Pe.qi)({payload:{action:"VerifyToken",status:I.Bn.INITIATED}})),this.httpClient.post(I.vv.AUTHENTICATE_API+"/token",{authentication2FA:Gi.payload.token}).pipe((0,x.U)(rn=>{this.logger.info(rn),this.store.dispatch((0,Pe.uO)({payload:I.m6.VERIFY_TOKEN})),this.store.dispatch((0,Pe.qi)({payload:{action:"VerifyToken",status:I.Bn.COMPLETED}})),this.logger.info("Token Successfully Verified!"),this.setLoggedInDetails(!1,Gi.payload.authResponse)}),(0,E.K)(rn=>(this.handleErrorWithAlert("VerifyToken",I.m6.VERIFY_TOKEN,"Authorization Failed!",I.vv.AUTHENTICATE_API+"/token",rn),(0,A.of)({type:I.pg.VOID}))))))),{dispatch:!1}),this.logOut=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(I.pg.LOGOUT),(0,d.z)(Gi=>(this.store.dispatch((0,Pe.ac)({payload:I.m6.LOG_OUT})),Gi.SSO&&+Gi.SSO.rtlSSO?window.location.href=Gi.SSO.logoutRedirectLink:this.router.navigate(["./login"]),this.sessionService.clearAll(),this.store.dispatch((0,Pe._V)({payload:{}})),this.store.dispatch((0,Pe.uO)({payload:I.m6.LOG_OUT})),this.logger.info("Logged out from browser"),this.httpClient.get(I.vv.AUTHENTICATE_API+"/logout").pipe((0,x.U)(rn=>{this.logger.info(rn),this.store.dispatch((0,Pe.uO)({payload:I.m6.LOG_OUT})),this.logger.info("Logged out from server")}))))),{dispatch:!1}),this.resetPassword=(0,t.GW)(()=>this.actions.pipe((0,M.R)(this.unSubs[1]),(0,t.l4)(I.pg.RESET_PASSWORD),(0,d.z)(Gi=>(this.store.dispatch((0,Pe.qi)({payload:{action:"ResetPassword",status:I.Bn.INITIATED}})),this.httpClient.post(I.vv.AUTHENTICATE_API+"/reset",{currPassword:Gi.payload.currPassword,newPassword:Gi.payload.newPassword}).pipe((0,M.R)(this.unSubs[0]),(0,x.U)(rn=>(this.logger.info(rn),this.store.dispatch((0,Pe.qi)({payload:{action:"ResetPassword",status:I.Bn.COMPLETED}})),this.sessionService.setItem("defaultPassword",!1),this.logger.info("Password Reset Successful!"),this.store.dispatch((0,Pe.jW)({payload:"Password Reset Successful!"})),this.SetToken(rn.token),{type:I.pg.RESET_PASSWORD_RES,payload:rn.token})),(0,E.K)(rn=>(this.handleErrorWithAlert("ResetPassword",I.m6.NO_SPINNER,"Password Reset Failed!",I.vv.AUTHENTICATE_API+"/reset",rn),(0,A.of)({type:I.pg.VOID})))))))),this.setSelectedNode=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(I.pg.SET_SELECTED_NODE),(0,d.z)(Gi=>(this.store.dispatch((0,Pe.ac)({payload:Gi.payload.uiMessage})),this.store.dispatch((0,Pe.qi)({payload:{action:"UpdateSelNode",status:I.Bn.INITIATED}})),this.httpClient.get(I.vv.CONF_API+"/updateSelNode/"+Gi.payload.currentLnNode?.index+"/"+Gi.payload.prevLnNodeIndex).pipe((0,x.U)(rn=>(this.logger.info(rn),this.store.dispatch((0,Pe.qi)({payload:{action:"UpdateSelNode",status:I.Bn.COMPLETED}})),this.store.dispatch((0,Pe.uO)({payload:Gi.payload.uiMessage})),this.initializeNode(Gi.payload.currentLnNode,Gi.payload.isInitialSetup),{type:I.pg.VOID})),(0,E.K)(rn=>(this.handleErrorWithAlert("UpdateSelNode",Gi.payload.uiMessage,"Update Selected Node Failed!",I.vv.CONF_API+"/updateSelNode",rn),(0,A.of)({type:I.pg.VOID})))))))),this.fetchFile=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(I.pg.FETCH_FILE),(0,d.z)(Gi=>{this.store.dispatch((0,Pe.ac)({payload:I.m6.DOWNLOAD_BACKUP_FILE})),this.store.dispatch((0,Pe.qi)({payload:{action:"FetchFile",status:I.Bn.INITIATED}}));const rn="?channel="+Gi.payload.channelPoint+(Gi.payload.path?"&path="+Gi.payload.path:"");return this.httpClient.get(I.vv.CONF_API+"/file"+rn).pipe((0,x.U)(jt=>(this.store.dispatch((0,Pe.qi)({payload:{action:"FetchFile",status:I.Bn.COMPLETED}})),this.store.dispatch((0,Pe.uO)({payload:I.m6.DOWNLOAD_BACKUP_FILE})),{type:I.pg.SHOW_FILE,payload:jt})),(0,E.K)(jt=>(this.handleErrorWithAlert("fetchFile",I.m6.DOWNLOAD_BACKUP_FILE,"Download Backup File Failed!",I.vv.CONF_API+"/file"+rn,{status:this.commonService.extractErrorNumber(jt),error:{error:this.commonService.extractErrorCode(jt)}}),(0,A.of)({type:I.pg.VOID}))))}))),this.showFile=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(I.pg.SHOW_FILE),(0,x.U)(Gi=>Gi.payload)),{dispatch:!1})}initializeNode(Oe,Ct){this.logger.info("Initializing node from RTL Effects.");const Ht=Ct?"":"HOME",Ii={userPersona:Oe.Settings.userPersona,channelBackupPath:Oe.Settings.channelBackupPath,unannouncedChannels:!!Oe.Settings.unannouncedChannels,selCurrencyUnit:Oe.Settings.currencyUnit,currencyUnits:I.uA,fiatConversion:Oe.Settings.fiatConversion,lnImplementation:Oe.lnImplementation,swapServerUrl:Oe.Settings.swapServerUrl,boltzServerUrl:Oe.Settings.boltzServerUrl,enableOffers:Oe.Settings.enableOffers,enablePeerswap:Oe.Settings.enablePeerswap};if(Oe.Settings.fiatConversion&&Oe.Settings.currencyUnit&&(Ii.currencyUnits=[...I.uA,Oe.Settings.currencyUnit]),this.sessionService.removeItem("lndUnlocked"),this.sessionService.removeItem("clnUnlocked"),this.sessionService.removeItem("eclUnlocked"),this.store.dispatch((0,Pe.vI)({payload:Oe})),this.store.dispatch((0,Ut.Ll)({payload:Ii})),this.store.dispatch((0,ai.mI)({payload:Ii})),this.store.dispatch((0,_i.Fd)({payload:Ii})),this.sessionService.getItem("token")){const gn=Oe.lnImplementation?Oe.lnImplementation.toUpperCase():"LND";this.dataService.setLnImplementation(gn);const qn=!(0,e.X6Q)()&&window.location.origin?window.location.origin+"/rtl/api":I.T5;switch(this.wsService.connectWebSocket(qn?.replace(/^http/,"ws")+I.vv.Web_SOCKET_API,Oe.index?Oe.index.toString():"-1"),gn){case"CLN":this.store.dispatch((0,ai.wD)()),this.store.dispatch((0,ai.W)({payload:{loadPage:Ht}}));break;case"ECL":this.store.dispatch((0,_i.wD)()),this.store.dispatch((0,_i.iz)({payload:{loadPage:Ht}}));break;default:this.store.dispatch((0,Ut.wD)()),this.store.dispatch((0,Ut.sQ)({payload:{loadPage:Ht}}))}}}SetToken(Oe){Oe?(this.sessionService.setItem("lndUnlocked","true"),this.sessionService.setItem("token",Oe)):(this.sessionService.removeItem("lndUnlocked"),this.sessionService.removeItem("token"))}setLoggedInDetails(Oe,Ct){this.logger.info("Successfully Authorized!"),this.SetToken(Ct.token),this.sessionService.setItem("defaultPassword",Oe),Oe?(this.store.dispatch((0,Pe.jW)({payload:"Reset your password."})),this.router.navigate(["/settings/auth"])):this.store.dispatch((0,Pe.ey)())}handleErrorWithoutAlert(Oe,Ct,Ht){this.logger.error("ERROR IN: "+Oe+"\n"+JSON.stringify(Ht)),401===Ht.status&&"Login"!==Oe?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,Pe.ts)()),this.store.dispatch((0,Pe.kS)()),this.store.dispatch((0,Pe.jW)({payload:"Authentication Failed. Redirecting to Login."}))):(this.store.dispatch((0,Pe.uO)({payload:Ct})),this.store.dispatch((0,Pe.qi)({payload:{action:Oe,status:I.Bn.ERROR,statusCode:Ht.status?Ht.status.toString():"",message:this.commonService.extractErrorMessage(Ht)}})))}handleErrorWithAlert(Oe,Ct,Ht,Ii,gn){if(this.logger.error(gn),0===gn.status&&gn.statusText&&"Unknown Error"===gn.statusText&&(gn={status:400,error:{message:"Unknown Error / CORS Origin Not Allowed"}}),401===gn.status&&"Login"!==Oe)this.logger.info("Redirecting to Login"),this.store.dispatch((0,Pe.ts)()),this.store.dispatch((0,Pe.kS)()),this.store.dispatch((0,Pe.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,Pe.uO)({payload:Ct}));const qn=this.commonService.extractErrorMessage(gn);this.store.dispatch((0,Pe.qR)({payload:{data:{type:"ERROR",alertTitle:Ht,message:{code:gn.status?gn.status:"Unknown Error",message:qn,URL:Ii},component:at.H}}})),this.store.dispatch((0,Pe.qi)({payload:{action:Oe,status:I.Bn.ERROR,statusCode:gn.status?gn.status.toString():"",message:qn,URL:Ii}}))}}ngOnDestroy(){this.unSubs.forEach(Oe=>{Oe.next(null),Oe.complete()})}static#e=this.\u0275fac=function(Ct){return new(Ct||ne)(e.LFG(t.eX),e.LFG(Oi.eN),e.LFG($t.yh),e.LFG(j.mQ),e.LFG(Bi.d),e.LFG(Vi.m),e.LFG(X.v),e.LFG(Kt.D),e.LFG(k.uw),e.LFG(K.ux),e.LFG(ie.F0))};static#t=this.\u0275prov=e.Yz7({token:ne,factory:ne.\u0275fac})}return ne})()},4818:(ze,q,p)=>{"use strict";p.d(q,{R4:()=>x,Sr:()=>P,Yj:()=>l,dT:()=>A,gW:()=>d,ul:()=>m});var e=p(4221);const t=(0,e.ZF)("root"),A=((0,e.P1)(t,E=>E.apiURL),(0,e.P1)(t,E=>E.selNode)),l=(0,e.P1)(t,E=>E.appConfig),x=(0,e.P1)(t,E=>E.nodeData),m=(0,e.P1)(t,E=>E.apisCallStatus.Login),P=(0,e.P1)(t,E=>E.apisCallStatus.IsAuthorized),d=(0,e.P1)(t,E=>({nodeDate:E.nodeData,selNode:E.selNode}))},7359:(ze,q,p)=>{"use strict";var e=p(6593),t=p(9212),y=p(6825);function l(R){return new t.vHH(3e3,!1)}function ot(R){switch(R.length){case 0:return new y.ZN;case 1:return R[0];default:return new y.ZE(R)}}function je(R,z,b=new Map,G=new Map){const Z=[],Fe=[];let Lt=-1,ei=null;if(z.forEach(fi=>{const Mi=fi.get("offset"),ln=Mi==Lt,qi=ln&&ei||new Map;fi.forEach((On,Nn)=>{let pn=Nn,Dn=On;if("offset"!==Nn)switch(pn=R.normalizePropertyName(pn,Z),Dn){case y.k1:Dn=b.get(Nn);break;case y.l3:Dn=G.get(Nn);break;default:Dn=R.normalizeStyleValue(Nn,pn,Dn,Z)}qi.set(pn,Dn)}),ln||Fe.push(qi),ei=qi,Lt=Mi}),Z.length)throw function s(R){return new t.vHH(3502,!1)}();return Fe}function Je(R,z,b,G){switch(z){case"start":R.onStart(()=>G(b&&ye(b,"start",R)));break;case"done":R.onDone(()=>G(b&&ye(b,"done",R)));break;case"destroy":R.onDestroy(()=>G(b&&ye(b,"destroy",R)))}}function ye(R,z,b){const Fe=me(R.element,R.triggerName,R.fromState,R.toState,z||R.phaseName,b.totalTime??R.totalTime,!!b.disabled),Lt=R._data;return null!=Lt&&(Fe._data=Lt),Fe}function me(R,z,b,G,Z="",Fe=0,Lt){return{element:R,triggerName:z,fromState:b,toState:G,phaseName:Z,totalTime:Fe,disabled:!!Lt}}function he(R,z,b){let G=R.get(z);return G||R.set(z,G=b),G}function xe(R){const z=R.indexOf(":");return[R.substring(1,z),R.slice(z+1)]}const de=(()=>typeof document>"u"?null:document.documentElement)();function ge(R){const z=R.parentNode||R.host||null;return z===de?null:z}let oe=null,ve=!1;function wt(R,z){for(;z;){if(z===R)return!0;z=ge(z)}return!1}function mt(R,z,b){if(b)return Array.from(R.querySelectorAll(z));const G=R.querySelector(z);return G?[G]:[]}let Ae=(()=>{class R{validateStyleProperty(b){return function le(R){oe||(oe=function We(){return typeof document<"u"?document.body:null}()||{},ve=!!oe.style&&"WebkitAppearance"in oe.style);let z=!0;return oe.style&&!function qe(R){return"ebkit"==R.substring(1,6)}(R)&&(z=R in oe.style,!z&&ve&&(z="Webkit"+R.charAt(0).toUpperCase()+R.slice(1)in oe.style)),z}(b)}matchesElement(b,G){return!1}containsElement(b,G){return wt(b,G)}getParentElement(b){return ge(b)}query(b,G,Z){return mt(b,G,Z)}computeStyle(b,G,Z){return Z||""}animate(b,G,Z,Fe,Lt,ei=[],fi){return new y.ZN(Z,Fe)}static#e=this.\u0275fac=function(G){return new(G||R)};static#t=this.\u0275prov=t.Yz7({token:R,factory:R.\u0275fac})}return R})(),Be=(()=>{class R{static#e=this.NOOP=new Ae}return R})();class it{}const ke=1e3,Et="ng-enter",ct="ng-leave",te="ng-trigger",Pe=".ng-trigger",$t="ng-animating",Ze=".ng-animating";function Qe(R){if("number"==typeof R)return R;const z=R.match(/^(-?[\.\d]+)(m?s)/);return!z||z.length<2?0:zt(parseFloat(z[1]),z[2])}function zt(R,z){return"s"===z?R*ke:R}function xt(R,z,b){return R.hasOwnProperty("duration")?R:function Ot(R,z,b){let Z,Fe=0,Lt="";if("string"==typeof R){const ei=R.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===ei)return z.push(l()),{duration:0,delay:0,easing:""};Z=zt(parseFloat(ei[1]),ei[2]);const fi=ei[3];null!=fi&&(Fe=zt(parseFloat(fi),ei[4]));const Mi=ei[5];Mi&&(Lt=Mi)}else Z=R;if(!b){let ei=!1,fi=z.length;Z<0&&(z.push(function x(){return new t.vHH(3100,!1)}()),ei=!0),Fe<0&&(z.push(function m(){return new t.vHH(3101,!1)}()),ei=!0),ei&&z.splice(fi,0,l())}return{duration:Z,delay:Fe,easing:Lt}}(R,z,b)}function yt(R,z={}){return Object.keys(R).forEach(b=>{z[b]=R[b]}),z}function nt(R){const z=new Map;return Object.keys(R).forEach(b=>{z.set(b,R[b])}),z}function Ue(R,z=new Map,b){if(b)for(let[G,Z]of b)z.set(G,Z);for(let[G,Z]of R)z.set(G,Z);return z}function Xe(R,z,b){z.forEach((G,Z)=>{const Fe=Zt(Z);b&&!b.has(Z)&&b.set(Z,R.style[Fe]),R.style[Fe]=G})}function gt(R,z){z.forEach((b,G)=>{const Z=Zt(G);R.style[Z]=""})}function Le(R){return Array.isArray(R)?1==R.length?R[0]:(0,y.vP)(R):R}const J=new RegExp("{{\\s*(.+?)\\s*}}","g");function re(R){let z=[];if("string"==typeof R){let b;for(;b=J.exec(R);)z.push(b[1]);J.lastIndex=0}return z}function Ie(R,z,b){const G=R.toString(),Z=G.replace(J,(Fe,Lt)=>{let ei=z[Lt];return null==ei&&(b.push(function d(R){return new t.vHH(3003,!1)}()),ei=""),ei.toString()});return Z==G?R:Z}function Nt(R){const z=[];let b=R.next();for(;!b.done;)z.push(b.value),b=R.next();return z}const At=/-+([a-z0-9])/g;function Zt(R){return R.replace(At,(...z)=>z[1].toUpperCase())}function Hi(R,z,b){switch(z.type){case 7:return R.visitTrigger(z,b);case 0:return R.visitState(z,b);case 1:return R.visitTransition(z,b);case 2:return R.visitSequence(z,b);case 3:return R.visitGroup(z,b);case 4:return R.visitAnimate(z,b);case 5:return R.visitKeyframes(z,b);case 6:return R.visitStyle(z,b);case 8:return R.visitReference(z,b);case 9:return R.visitAnimateChild(z,b);case 10:return R.visitAnimateRef(z,b);case 11:return R.visitQuery(z,b);case 12:return R.visitStagger(z,b);default:throw function E(R){return new t.vHH(3004,!1)}()}}function li(R,z){return window.getComputedStyle(R)[z]}const hi=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class un extends it{normalizePropertyName(z,b){return Zt(z)}normalizeStyleValue(z,b,G,Z){let Fe="";const Lt=G.toString().trim();if(hi.has(b)&&0!==G&&"0"!==G)if("number"==typeof G)Fe="px";else{const ei=G.match(/^[+-]?[\d\.]+([a-z]*)$/);ei&&0==ei[1].length&&Z.push(function M(R,z){return new t.vHH(3005,!1)}())}return Lt+Fe}}const St="*";function Ft(R,z){const b=[];return"string"==typeof R?R.split(/\s*,\s*/).forEach(G=>function Dt(R,z,b){if(":"==R[0]){const fi=function It(R,z){switch(R){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(b,G)=>parseFloat(G)>parseFloat(b);case":decrement":return(b,G)=>parseFloat(G)<parseFloat(b);default:return z.push(function $(R){return new t.vHH(3016,!1)}()),"* => *"}}(R,b);if("function"==typeof fi)return void z.push(fi);R=fi}const G=R.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==G||G.length<4)return b.push(function Me(R){return new t.vHH(3015,!1)}()),z;const Z=G[1],Fe=G[2],Lt=G[3];z.push(_i(Z,Lt));"<"==Fe[0]&&!(Z==St&&Lt==St)&&z.push(_i(Lt,Z))}(G,b,z)):b.push(R),b}const Ut=new Set(["true","1"]),ai=new Set(["false","0"]);function _i(R,z){const b=Ut.has(R)||ai.has(R),G=Ut.has(z)||ai.has(z);return(Z,Fe)=>{let Lt=R==St||R==Z,ei=z==St||z==Fe;return!Lt&&b&&"boolean"==typeof Z&&(Lt=Z?Ut.has(R):ai.has(R)),!ei&&G&&"boolean"==typeof Fe&&(ei=Fe?Ut.has(z):ai.has(z)),Lt&&ei}}const Oi=new RegExp("s*:selfs*,?","g");function Bi(R,z,b,G){return new Kt(R).build(z,b,G)}class Kt{constructor(z){this._driver=z}build(z,b,G){const Z=new lt(b);return this._resetContextStyleTimingState(Z),Hi(this,Le(z),Z)}_resetContextStyleTimingState(z){z.currentQuerySelector="",z.collectedStyles=new Map,z.collectedStyles.set("",new Map),z.currentTime=0}visitTrigger(z,b){let G=b.queryCount=0,Z=b.depCount=0;const Fe=[],Lt=[];return"@"==z.name.charAt(0)&&b.errors.push(function I(){return new t.vHH(3006,!1)}()),z.definitions.forEach(ei=>{if(this._resetContextStyleTimingState(b),0==ei.type){const fi=ei,Mi=fi.name;Mi.toString().split(/\s*,\s*/).forEach(ln=>{fi.name=ln,Fe.push(this.visitState(fi,b))}),fi.name=Mi}else if(1==ei.type){const fi=this.visitTransition(ei,b);G+=fi.queryCount,Z+=fi.depCount,Lt.push(fi)}else b.errors.push(function k(){return new t.vHH(3007,!1)}())}),{type:7,name:z.name,states:Fe,transitions:Lt,queryCount:G,depCount:Z,options:null}}visitState(z,b){const G=this.visitStyle(z.styles,b),Z=z.options&&z.options.params||null;if(G.containsDynamicStyles){const Fe=new Set,Lt=Z||{};G.styles.forEach(ei=>{ei instanceof Map&&ei.forEach(fi=>{re(fi).forEach(Mi=>{Lt.hasOwnProperty(Mi)||Fe.add(Mi)})})}),Fe.size&&(Nt(Fe.values()),b.errors.push(function V(R,z){return new t.vHH(3008,!1)}()))}return{type:0,name:z.name,style:G,options:Z?{params:Z}:null}}visitTransition(z,b){b.queryCount=0,b.depCount=0;const G=Hi(this,Le(z.animation),b);return{type:1,matchers:Ft(z.expr,b.errors),animation:G,queryCount:b.queryCount,depCount:b.depCount,options:Ht(z.options)}}visitSequence(z,b){return{type:2,steps:z.steps.map(G=>Hi(this,G,b)),options:Ht(z.options)}}visitGroup(z,b){const G=b.currentTime;let Z=0;const Fe=z.steps.map(Lt=>{b.currentTime=G;const ei=Hi(this,Lt,b);return Z=Math.max(Z,b.currentTime),ei});return b.currentTime=Z,{type:3,steps:Fe,options:Ht(z.options)}}visitAnimate(z,b){const G=function Ct(R,z){if(R.hasOwnProperty("duration"))return R;if("number"==typeof R)return Ii(xt(R,z).duration,0,"");const b=R;if(b.split(/\s+/).some(Fe=>"{"==Fe.charAt(0)&&"{"==Fe.charAt(1))){const Fe=Ii(0,0,"");return Fe.dynamic=!0,Fe.strValue=b,Fe}const Z=xt(b,z);return Ii(Z.duration,Z.delay,Z.easing)}(z.timings,b.errors);b.currentAnimateTimings=G;let Z,Fe=z.styles?z.styles:(0,y.oB)({});if(5==Fe.type)Z=this.visitKeyframes(Fe,b);else{let Lt=z.styles,ei=!1;if(!Lt){ei=!0;const Mi={};G.easing&&(Mi.easing=G.easing),Lt=(0,y.oB)(Mi)}b.currentTime+=G.duration+G.delay;const fi=this.visitStyle(Lt,b);fi.isEmptyStep=ei,Z=fi}return b.currentAnimateTimings=null,{type:4,timings:G,style:Z,options:null}}visitStyle(z,b){const G=this._makeStyleAst(z,b);return this._validateStyleAst(G,b),G}_makeStyleAst(z,b){const G=[],Z=Array.isArray(z.styles)?z.styles:[z.styles];for(let ei of Z)"string"==typeof ei?ei===y.l3?G.push(ei):b.errors.push(new t.vHH(3002,!1)):G.push(nt(ei));let Fe=!1,Lt=null;return G.forEach(ei=>{if(ei instanceof Map&&(ei.has("easing")&&(Lt=ei.get("easing"),ei.delete("easing")),!Fe))for(let fi of ei.values())if(fi.toString().indexOf("{{")>=0){Fe=!0;break}}),{type:6,styles:G,easing:Lt,offset:z.offset,containsDynamicStyles:Fe,options:null}}_validateStyleAst(z,b){const G=b.currentAnimateTimings;let Z=b.currentTime,Fe=b.currentTime;G&&Fe>0&&(Fe-=G.duration+G.delay),z.styles.forEach(Lt=>{"string"!=typeof Lt&&Lt.forEach((ei,fi)=>{const Mi=b.collectedStyles.get(b.currentQuerySelector),ln=Mi.get(fi);let qi=!0;ln&&(Fe!=Z&&Fe>=ln.startTime&&Z<=ln.endTime&&(b.errors.push(function j(R,z,b,G,Z){return new t.vHH(3010,!1)}()),qi=!1),Fe=ln.startTime),qi&&Mi.set(fi,{startTime:Fe,endTime:Z}),b.options&&function be(R,z,b){const G=z.params||{},Z=re(R);Z.length&&Z.forEach(Fe=>{G.hasOwnProperty(Fe)||b.push(function P(R){return new t.vHH(3001,!1)}())})}(ei,b.options,b.errors)})})}visitKeyframes(z,b){const G={type:5,styles:[],options:null};if(!b.currentAnimateTimings)return b.errors.push(function K(){return new t.vHH(3011,!1)}()),G;let Fe=0;const Lt=[];let ei=!1,fi=!1,Mi=0;const ln=z.steps.map(ya=>{const Ka=this._makeStyleAst(ya,b);let Oo=null!=Ka.offset?Ka.offset:function Oe(R){if("string"==typeof R)return null;let z=null;if(Array.isArray(R))R.forEach(b=>{if(b instanceof Map&&b.has("offset")){const G=b;z=parseFloat(G.get("offset")),G.delete("offset")}});else if(R instanceof Map&&R.has("offset")){const b=R;z=parseFloat(b.get("offset")),b.delete("offset")}return z}(Ka.styles),$a=0;return null!=Oo&&(Fe++,$a=Ka.offset=Oo),fi=fi||$a<0||$a>1,ei=ei||$a<Mi,Mi=$a,Lt.push($a),Ka});fi&&b.errors.push(function X(){return new t.vHH(3012,!1)}()),ei&&b.errors.push(function ie(){return new t.vHH(3200,!1)}());const qi=z.steps.length;let On=0;Fe>0&&Fe<qi?b.errors.push(function ae(){return new t.vHH(3202,!1)}()):0==Fe&&(On=1/(qi-1));const Nn=qi-1,pn=b.currentTime,Dn=b.currentAnimateTimings,lr=Dn.duration;return ln.forEach((ya,Ka)=>{const Oo=On>0?Ka==Nn?1:On*Ka:Lt[Ka],$a=Oo*lr;b.currentTime=pn+Dn.delay+$a,Dn.duration=$a,this._validateStyleAst(ya,b),ya.offset=Oo,G.styles.push(ya)}),G}visitReference(z,b){return{type:8,animation:Hi(this,Le(z.animation),b),options:Ht(z.options)}}visitAnimateChild(z,b){return b.depCount++,{type:9,options:Ht(z.options)}}visitAnimateRef(z,b){return{type:10,animation:this.visitReference(z.animation,b),options:Ht(z.options)}}visitQuery(z,b){const G=b.currentQuerySelector,Z=z.options||{};b.queryCount++,b.currentQuery=z;const[Fe,Lt]=function vi(R){const z=!!R.split(/\s*,\s*/).find(b=>":self"==b);return z&&(R=R.replace(Oi,"")),R=R.replace(/@\*/g,Pe).replace(/@\w+/g,b=>Pe+"-"+b.slice(1)).replace(/:animating/g,Ze),[R,z]}(z.selector);b.currentQuerySelector=G.length?G+" "+Fe:Fe,he(b.collectedStyles,b.currentQuerySelector,new Map);const ei=Hi(this,Le(z.animation),b);return b.currentQuery=null,b.currentQuerySelector=G,{type:11,selector:Fe,limit:Z.limit||0,optional:!!Z.optional,includeSelf:Lt,animation:ei,originalSelector:z.selector,options:Ht(z.options)}}visitStagger(z,b){b.currentQuery||b.errors.push(function fe(){return new t.vHH(3013,!1)}());const G="full"===z.timings?{duration:0,delay:0,easing:"full"}:xt(z.timings,b.errors,!0);return{type:12,animation:Hi(this,Le(z.animation),b),timings:G,options:null}}}class lt{constructor(z){this.errors=z,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Ht(R){return R?(R=yt(R)).params&&(R.params=function ne(R){return R?yt(R):null}(R.params)):R={},R}function Ii(R,z,b){return{duration:R,delay:z,easing:b}}function gn(R,z,b,G,Z,Fe,Lt=null,ei=!1){return{type:1,element:R,keyframes:z,preStyleProps:b,postStyleProps:G,duration:Z,delay:Fe,totalTime:Z+Fe,easing:Lt,subTimeline:ei}}class qn{constructor(){this._map=new Map}get(z){return this._map.get(z)||[]}append(z,b){let G=this._map.get(z);G||this._map.set(z,G=[]),G.push(...b)}has(z){return this._map.has(z)}clear(){this._map.clear()}}const ia=new RegExp(":enter","g"),Qr=new RegExp(":leave","g");function Gi(R,z,b,G,Z,Fe=new Map,Lt=new Map,ei,fi,Mi=[]){return(new rn).buildKeyframes(R,z,b,G,Z,Fe,Lt,ei,fi,Mi)}class rn{buildKeyframes(z,b,G,Z,Fe,Lt,ei,fi,Mi,ln=[]){Mi=Mi||new qn;const qi=new wi(z,b,Mi,Z,Fe,ln,[]);qi.options=fi;const On=fi.delay?Qe(fi.delay):0;qi.currentTimeline.delayNextStep(On),qi.currentTimeline.setStyles([Lt],null,qi.errors,fi),Hi(this,G,qi);const Nn=qi.timelines.filter(pn=>pn.containsAnimation());if(Nn.length&&ei.size){let pn;for(let Dn=Nn.length-1;Dn>=0;Dn--){const lr=Nn[Dn];if(lr.element===b){pn=lr;break}}pn&&!pn.allowOnlyTimelineStyles()&&pn.setStyles([ei],null,qi.errors,fi)}return Nn.length?Nn.map(pn=>pn.buildKeyframes()):[gn(b,[],[],[],0,On,"",!1)]}visitTrigger(z,b){}visitState(z,b){}visitTransition(z,b){}visitAnimateChild(z,b){const G=b.subInstructions.get(b.element);if(G){const Z=b.createSubContext(z.options),Fe=b.currentTimeline.currentTime,Lt=this._visitSubInstructions(G,Z,Z.options);Fe!=Lt&&b.transformIntoNewTimeline(Lt)}b.previousNode=z}visitAnimateRef(z,b){const G=b.createSubContext(z.options);G.transformIntoNewTimeline(),this._applyAnimationRefDelays([z.options,z.animation.options],b,G),this.visitReference(z.animation,G),b.transformIntoNewTimeline(G.currentTimeline.currentTime),b.previousNode=z}_applyAnimationRefDelays(z,b,G){for(const Z of z){const Fe=Z?.delay;if(Fe){const Lt="number"==typeof Fe?Fe:Qe(Ie(Fe,Z?.params??{},b.errors));G.delayNextStep(Lt)}}}_visitSubInstructions(z,b,G){let Fe=b.currentTimeline.currentTime;const Lt=null!=G.duration?Qe(G.duration):null,ei=null!=G.delay?Qe(G.delay):null;return 0!==Lt&&z.forEach(fi=>{const Mi=b.appendInstructionToTimeline(fi,Lt,ei);Fe=Math.max(Fe,Mi.duration+Mi.delay)}),Fe}visitReference(z,b){b.updateOptions(z.options,!0),Hi(this,z.animation,b),b.previousNode=z}visitSequence(z,b){const G=b.subContextCount;let Z=b;const Fe=z.options;if(Fe&&(Fe.params||Fe.delay)&&(Z=b.createSubContext(Fe),Z.transformIntoNewTimeline(),null!=Fe.delay)){6==Z.previousNode.type&&(Z.currentTimeline.snapshotCurrentStyles(),Z.previousNode=jt);const Lt=Qe(Fe.delay);Z.delayNextStep(Lt)}z.steps.length&&(z.steps.forEach(Lt=>Hi(this,Lt,Z)),Z.currentTimeline.applyStylesToKeyframe(),Z.subContextCount>G&&Z.transformIntoNewTimeline()),b.previousNode=z}visitGroup(z,b){const G=[];let Z=b.currentTimeline.currentTime;const Fe=z.options&&z.options.delay?Qe(z.options.delay):0;z.steps.forEach(Lt=>{const ei=b.createSubContext(z.options);Fe&&ei.delayNextStep(Fe),Hi(this,Lt,ei),Z=Math.max(Z,ei.currentTimeline.currentTime),G.push(ei.currentTimeline)}),G.forEach(Lt=>b.currentTimeline.mergeTimelineCollectedStyles(Lt)),b.transformIntoNewTimeline(Z),b.previousNode=z}_visitTiming(z,b){if(z.dynamic){const G=z.strValue;return xt(b.params?Ie(G,b.params,b.errors):G,b.errors)}return{duration:z.duration,delay:z.delay,easing:z.easing}}visitAnimate(z,b){const G=b.currentAnimateTimings=this._visitTiming(z.timings,b),Z=b.currentTimeline;G.delay&&(b.incrementTime(G.delay),Z.snapshotCurrentStyles());const Fe=z.style;5==Fe.type?this.visitKeyframes(Fe,b):(b.incrementTime(G.duration),this.visitStyle(Fe,b),Z.applyStylesToKeyframe()),b.currentAnimateTimings=null,b.previousNode=z}visitStyle(z,b){const G=b.currentTimeline,Z=b.currentAnimateTimings;!Z&&G.hasCurrentStyleProperties()&&G.forwardFrame();const Fe=Z&&Z.easing||z.easing;z.isEmptyStep?G.applyEmptyStep(Fe):G.setStyles(z.styles,Fe,b.errors,b.options),b.previousNode=z}visitKeyframes(z,b){const G=b.currentAnimateTimings,Z=b.currentTimeline.duration,Fe=G.duration,ei=b.createSubContext().currentTimeline;ei.easing=G.easing,z.styles.forEach(fi=>{ei.forwardTime((fi.offset||0)*Fe),ei.setStyles(fi.styles,fi.easing,b.errors,b.options),ei.applyStylesToKeyframe()}),b.currentTimeline.mergeTimelineCollectedStyles(ei),b.transformIntoNewTimeline(Z+Fe),b.previousNode=z}visitQuery(z,b){const G=b.currentTimeline.currentTime,Z=z.options||{},Fe=Z.delay?Qe(Z.delay):0;Fe&&(6===b.previousNode.type||0==G&&b.currentTimeline.hasCurrentStyleProperties())&&(b.currentTimeline.snapshotCurrentStyles(),b.previousNode=jt);let Lt=G;const ei=b.invokeQuery(z.selector,z.originalSelector,z.limit,z.includeSelf,!!Z.optional,b.errors);b.currentQueryTotal=ei.length;let fi=null;ei.forEach((Mi,ln)=>{b.currentQueryIndex=ln;const qi=b.createSubContext(z.options,Mi);Fe&&qi.delayNextStep(Fe),Mi===b.element&&(fi=qi.currentTimeline),Hi(this,z.animation,qi),qi.currentTimeline.applyStylesToKeyframe(),Lt=Math.max(Lt,qi.currentTimeline.currentTime)}),b.currentQueryIndex=0,b.currentQueryTotal=0,b.transformIntoNewTimeline(Lt),fi&&(b.currentTimeline.mergeTimelineCollectedStyles(fi),b.currentTimeline.snapshotCurrentStyles()),b.previousNode=z}visitStagger(z,b){const G=b.parentContext,Z=b.currentTimeline,Fe=z.timings,Lt=Math.abs(Fe.duration),ei=Lt*(b.currentQueryTotal-1);let fi=Lt*b.currentQueryIndex;switch(Fe.duration<0?"reverse":Fe.easing){case"reverse":fi=ei-fi;break;case"full":fi=G.currentStaggerTime}const ln=b.currentTimeline;fi&&ln.delayNextStep(fi);const qi=ln.currentTime;Hi(this,z.animation,b),b.previousNode=z,G.currentStaggerTime=Z.currentTime-qi+(Z.startTime-G.currentTimeline.startTime)}}const jt={};class wi{constructor(z,b,G,Z,Fe,Lt,ei,fi){this._driver=z,this.element=b,this.subInstructions=G,this._enterClassName=Z,this._leaveClassName=Fe,this.errors=Lt,this.timelines=ei,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=jt,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=fi||new pi(this._driver,b,0),ei.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(z,b){if(!z)return;const G=z;let Z=this.options;null!=G.duration&&(Z.duration=Qe(G.duration)),null!=G.delay&&(Z.delay=Qe(G.delay));const Fe=G.params;if(Fe){let Lt=Z.params;Lt||(Lt=this.options.params={}),Object.keys(Fe).forEach(ei=>{(!b||!Lt.hasOwnProperty(ei))&&(Lt[ei]=Ie(Fe[ei],Lt,this.errors))})}}_copyOptions(){const z={};if(this.options){const b=this.options.params;if(b){const G=z.params={};Object.keys(b).forEach(Z=>{G[Z]=b[Z]})}}return z}createSubContext(z=null,b,G){const Z=b||this.element,Fe=new wi(this._driver,Z,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(Z,G||0));return Fe.previousNode=this.previousNode,Fe.currentAnimateTimings=this.currentAnimateTimings,Fe.options=this._copyOptions(),Fe.updateOptions(z),Fe.currentQueryIndex=this.currentQueryIndex,Fe.currentQueryTotal=this.currentQueryTotal,Fe.parentContext=this,this.subContextCount++,Fe}transformIntoNewTimeline(z){return this.previousNode=jt,this.currentTimeline=this.currentTimeline.fork(this.element,z),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(z,b,G){const Z={duration:b??z.duration,delay:this.currentTimeline.currentTime+(G??0)+z.delay,easing:""},Fe=new yi(this._driver,z.element,z.keyframes,z.preStyleProps,z.postStyleProps,Z,z.stretchStartingKeyframe);return this.timelines.push(Fe),Z}incrementTime(z){this.currentTimeline.forwardTime(this.currentTimeline.duration+z)}delayNextStep(z){z>0&&this.currentTimeline.delayNextStep(z)}invokeQuery(z,b,G,Z,Fe,Lt){let ei=[];if(Z&&ei.push(this.element),z.length>0){z=(z=z.replace(ia,"."+this._enterClassName)).replace(Qr,"."+this._leaveClassName);let Mi=this._driver.query(this.element,z,1!=G);0!==G&&(Mi=G<0?Mi.slice(Mi.length+G,Mi.length):Mi.slice(0,G)),ei.push(...Mi)}return!Fe&&0==ei.length&&Lt.push(function se(R){return new t.vHH(3014,!1)}()),ei}}class pi{constructor(z,b,G,Z){this._driver=z,this.element=b,this.startTime=G,this._elementTimelineStylesLookup=Z,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(b),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(b,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(z){const b=1===this._keyframes.size&&this._pendingStyles.size;this.duration||b?(this.forwardTime(this.currentTime+z),b&&this.snapshotCurrentStyles()):this.startTime+=z}fork(z,b){return this.applyStylesToKeyframe(),new pi(this._driver,z,b||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(z){this.applyStylesToKeyframe(),this.duration=z,this._loadKeyframe()}_updateStyle(z,b){this._localTimelineStyles.set(z,b),this._globalTimelineStyles.set(z,b),this._styleSummary.set(z,{time:this.currentTime,value:b})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(z){z&&this._previousKeyframe.set("easing",z);for(let[b,G]of this._globalTimelineStyles)this._backFill.set(b,G||y.l3),this._currentKeyframe.set(b,y.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(z,b,G,Z){b&&this._previousKeyframe.set("easing",b);const Fe=Z&&Z.params||{},Lt=function $i(R,z){const b=new Map;let G;return R.forEach(Z=>{if("*"===Z){G=G||z.keys();for(let Fe of G)b.set(Fe,y.l3)}else Ue(Z,b)}),b}(z,this._globalTimelineStyles);for(let[ei,fi]of Lt){const Mi=Ie(fi,Fe,G);this._pendingStyles.set(ei,Mi),this._localTimelineStyles.has(ei)||this._backFill.set(ei,this._globalTimelineStyles.get(ei)??y.l3),this._updateStyle(ei,Mi)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((z,b)=>{this._currentKeyframe.set(b,z)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((z,b)=>{this._currentKeyframe.has(b)||this._currentKeyframe.set(b,z)}))}snapshotCurrentStyles(){for(let[z,b]of this._localTimelineStyles)this._pendingStyles.set(z,b),this._updateStyle(z,b)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const z=[];for(let b in this._currentKeyframe)z.push(b);return z}mergeTimelineCollectedStyles(z){z._styleSummary.forEach((b,G)=>{const Z=this._styleSummary.get(G);(!Z||b.time>Z.time)&&this._updateStyle(G,b.value)})}buildKeyframes(){this.applyStylesToKeyframe();const z=new Set,b=new Set,G=1===this._keyframes.size&&0===this.duration;let Z=[];this._keyframes.forEach((ei,fi)=>{const Mi=Ue(ei,new Map,this._backFill);Mi.forEach((ln,qi)=>{ln===y.k1?z.add(qi):ln===y.l3&&b.add(qi)}),G||Mi.set("offset",fi/this.duration),Z.push(Mi)});const Fe=z.size?Nt(z.values()):[],Lt=b.size?Nt(b.values()):[];if(G){const ei=Z[0],fi=new Map(ei);ei.set("offset",0),fi.set("offset",1),Z=[ei,fi]}return gn(this.element,Z,Fe,Lt,this.duration,this.startTime,this.easing,!1)}}class yi extends pi{constructor(z,b,G,Z,Fe,Lt,ei=!1){super(z,b,Lt.delay),this.keyframes=G,this.preStyleProps=Z,this.postStyleProps=Fe,this._stretchStartingKeyframe=ei,this.timings={duration:Lt.duration,delay:Lt.delay,easing:Lt.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let z=this.keyframes,{delay:b,duration:G,easing:Z}=this.timings;if(this._stretchStartingKeyframe&&b){const Fe=[],Lt=G+b,ei=b/Lt,fi=Ue(z[0]);fi.set("offset",0),Fe.push(fi);const Mi=Ue(z[0]);Mi.set("offset",Ui(ei)),Fe.push(Mi);const ln=z.length-1;for(let qi=1;qi<=ln;qi++){let On=Ue(z[qi]);const Nn=On.get("offset");On.set("offset",Ui((b+Nn*G)/Lt)),Fe.push(On)}G=Lt,b=0,Z="",z=Fe}return gn(this.element,z,this.preStyleProps,this.postStyleProps,G,b,Z,!0)}}function Ui(R,z=3){const b=Math.pow(10,z-1);return Math.round(R*b)/b}function xn(R,z,b,G,Z,Fe,Lt,ei,fi,Mi,ln,qi,On){return{type:0,element:R,triggerName:z,isRemovalTransition:Z,fromState:b,fromStyles:Fe,toState:G,toStyles:Lt,timelines:ei,queriedElements:fi,preStyleProps:Mi,postStyleProps:ln,totalTime:qi,errors:On}}const jn={};class Hn{constructor(z,b,G){this._triggerName=z,this.ast=b,this._stateStyles=G}match(z,b,G,Z){return function tr(R,z,b,G,Z){return R.some(Fe=>Fe(z,b,G,Z))}(this.ast.matchers,z,b,G,Z)}buildStyles(z,b,G){let Z=this._stateStyles.get("*");return void 0!==z&&(Z=this._stateStyles.get(z?.toString())||Z),Z?Z.buildStyles(b,G):new Map}build(z,b,G,Z,Fe,Lt,ei,fi,Mi,ln){const qi=[],On=this.ast.options&&this.ast.options.params||jn,pn=this.buildStyles(G,ei&&ei.params||jn,qi),Dn=fi&&fi.params||jn,lr=this.buildStyles(Z,Dn,qi),ya=new Set,Ka=new Map,Oo=new Map,$a="void"===Z,Lc={params:Cr(Dn,On),delay:this.ast.options?.delay},eo=ln?[]:Gi(z,b,this.ast.animation,Fe,Lt,pn,lr,Lc,Mi,qi);let Oa=0;if(eo.forEach(qs=>{Oa=Math.max(qs.duration+qs.delay,Oa)}),qi.length)return xn(b,this._triggerName,G,Z,$a,pn,lr,[],[],Ka,Oo,Oa,qi);eo.forEach(qs=>{const Xs=qs.element,G0=he(Ka,Xs,new Set);qs.preStyleProps.forEach(kc=>G0.add(kc));const Ic=he(Oo,Xs,new Set);qs.postStyleProps.forEach(kc=>Ic.add(kc)),Xs!==b&&ya.add(Xs)});const Qs=Nt(ya.values());return xn(b,this._triggerName,G,Z,$a,pn,lr,eo,Qs,Ka,Oo,Oa)}}function Cr(R,z){const b=yt(z);for(const G in R)R.hasOwnProperty(G)&&null!=R[G]&&(b[G]=R[G]);return b}class sa{constructor(z,b,G){this.styles=z,this.defaultParams=b,this.normalizer=G}buildStyles(z,b){const G=new Map,Z=yt(this.defaultParams);return Object.keys(z).forEach(Fe=>{const Lt=z[Fe];null!==Lt&&(Z[Fe]=Lt)}),this.styles.styles.forEach(Fe=>{"string"!=typeof Fe&&Fe.forEach((Lt,ei)=>{Lt&&(Lt=Ie(Lt,Z,b));const fi=this.normalizer.normalizePropertyName(ei,b);Lt=this.normalizer.normalizeStyleValue(ei,fi,Lt,b),G.set(ei,Lt)})}),G}}class ca{constructor(z,b,G){this.name=z,this.ast=b,this._normalizer=G,this.transitionFactories=[],this.states=new Map,b.states.forEach(Z=>{this.states.set(Z.name,new sa(Z.style,Z.options&&Z.options.params||{},G))}),gr(this.states,"true","1"),gr(this.states,"false","0"),b.transitions.forEach(Z=>{this.transitionFactories.push(new Hn(z,Z,this.states))}),this.fallbackTransition=function Ua(R,z,b){return new Hn(R,{type:1,animation:{type:2,steps:[],options:null},matchers:[(Lt,ei)=>!0],options:null,queryCount:0,depCount:0},z)}(z,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(z,b,G,Z){return this.transitionFactories.find(Lt=>Lt.match(z,b,G,Z))||null}matchStyles(z,b,G){return this.fallbackTransition.buildStyles(z,b,G)}}function gr(R,z,b){R.has(z)?R.has(b)||R.set(b,R.get(z)):R.has(b)&&R.set(z,R.get(b))}const Lr=new qn;class Kn{constructor(z,b,G){this.bodyNode=z,this._driver=b,this._normalizer=G,this._animations=new Map,this._playersById=new Map,this.players=[]}register(z,b){const G=[],Fe=Bi(this._driver,b,G,[]);if(G.length)throw function f(R){return new t.vHH(3503,!1)}();this._animations.set(z,Fe)}_buildPlayer(z,b,G){const Z=z.element,Fe=je(this._normalizer,z.keyframes,b,G);return this._driver.animate(Z,Fe,z.duration,z.delay,z.easing,[],!0)}create(z,b,G={}){const Z=[],Fe=this._animations.get(z);let Lt;const ei=new Map;if(Fe?(Lt=Gi(this._driver,b,Fe,Et,ct,new Map,new Map,G,Lr,Z),Lt.forEach(ln=>{const qi=he(ei,ln.element,new Map);ln.postStyleProps.forEach(On=>qi.set(On,null))})):(Z.push(function h(){return new t.vHH(3300,!1)}()),Lt=[]),Z.length)throw function w(R){return new t.vHH(3504,!1)}();ei.forEach((ln,qi)=>{ln.forEach((On,Nn)=>{ln.set(Nn,this._driver.computeStyle(qi,Nn,y.l3))})});const Mi=ot(Lt.map(ln=>{const qi=ei.get(ln.element);return this._buildPlayer(ln,new Map,qi)}));return this._playersById.set(z,Mi),Mi.onDestroy(()=>this.destroy(z)),this.players.push(Mi),Mi}destroy(z){const b=this._getPlayer(z);b.destroy(),this._playersById.delete(z);const G=this.players.indexOf(b);G>=0&&this.players.splice(G,1)}_getPlayer(z){const b=this._playersById.get(z);if(!b)throw function D(R){return new t.vHH(3301,!1)}();return b}listen(z,b,G,Z){const Fe=me(b,"","","");return Je(this._getPlayer(z),G,Fe,Z),()=>{}}command(z,b,G,Z){if("register"==G)return void this.register(z,Z[0]);if("create"==G)return void this.create(z,b,Z[0]||{});const Fe=this._getPlayer(z);switch(G){case"play":Fe.play();break;case"pause":Fe.pause();break;case"reset":Fe.reset();break;case"restart":Fe.restart();break;case"finish":Fe.finish();break;case"init":Fe.init();break;case"setPosition":Fe.setPosition(parseFloat(Z[0]));break;case"destroy":this.destroy(z)}}}const _a="ng-animate-queued",va="ng-animate-disabled",qr=[],Ma={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Or={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},fr="__ng_removed";class Gn{get params(){return this.options.params}constructor(z,b=""){this.namespaceId=b;const G=z&&z.hasOwnProperty("value");if(this.value=function Ha(R){return R??null}(G?z.value:z),G){const Fe=yt(z);delete Fe.value,this.options=Fe}else this.options={};this.options.params||(this.options.params={})}absorbOptions(z){const b=z.params;if(b){const G=this.options.params;Object.keys(b).forEach(Z=>{null==G[Z]&&(G[Z]=b[Z])})}}}const Sa="void",io=new Gn(Sa);class Tr{constructor(z,b,G){this.id=z,this.hostElement=b,this._engine=G,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+z,da(b,this._hostClassName)}listen(z,b,G,Z){if(!this._triggers.has(b))throw function O(R,z){return new t.vHH(3302,!1)}();if(null==G||0==G.length)throw function v(R){return new t.vHH(3303,!1)}();if(!function no(R){return"start"==R||"done"==R}(G))throw function r(R,z){return new t.vHH(3400,!1)}();const Fe=he(this._elementListeners,z,[]),Lt={name:b,phase:G,callback:Z};Fe.push(Lt);const ei=he(this._engine.statesByElement,z,new Map);return ei.has(b)||(da(z,te),da(z,te+"-"+b),ei.set(b,io)),()=>{this._engine.afterFlush(()=>{const fi=Fe.indexOf(Lt);fi>=0&&Fe.splice(fi,1),this._triggers.has(b)||ei.delete(b)})}}register(z,b){return!this._triggers.has(z)&&(this._triggers.set(z,b),!0)}_getTrigger(z){const b=this._triggers.get(z);if(!b)throw function g(R){return new t.vHH(3401,!1)}();return b}trigger(z,b,G,Z=!0){const Fe=this._getTrigger(b),Lt=new na(this.id,b,z);let ei=this._engine.statesByElement.get(z);ei||(da(z,te),da(z,te+"-"+b),this._engine.statesByElement.set(z,ei=new Map));let fi=ei.get(b);const Mi=new Gn(G,this.id);if(!(G&&G.hasOwnProperty("value"))&&fi&&Mi.absorbOptions(fi.options),ei.set(b,Mi),fi||(fi=io),Mi.value!==Sa&&fi.value===Mi.value){if(!function vs(R,z){const b=Object.keys(R),G=Object.keys(z);if(b.length!=G.length)return!1;for(let Z=0;Z<b.length;Z++){const Fe=b[Z];if(!z.hasOwnProperty(Fe)||R[Fe]!==z[Fe])return!1}return!0}(fi.params,Mi.params)){const Dn=[],lr=Fe.matchStyles(fi.value,fi.params,Dn),ya=Fe.matchStyles(Mi.value,Mi.params,Dn);Dn.length?this._engine.reportError(Dn):this._engine.afterFlush(()=>{gt(z,lr),Xe(z,ya)})}return}const On=he(this._engine.playersByElement,z,[]);On.forEach(Dn=>{Dn.namespaceId==this.id&&Dn.triggerName==b&&Dn.queued&&Dn.destroy()});let Nn=Fe.matchTransition(fi.value,Mi.value,z,Mi.params),pn=!1;if(!Nn){if(!Z)return;Nn=Fe.fallbackTransition,pn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:z,triggerName:b,transition:Nn,fromState:fi,toState:Mi,player:Lt,isFallbackTransition:pn}),pn||(da(z,_a),Lt.onStart(()=>{ba(z,_a)})),Lt.onDone(()=>{let Dn=this.players.indexOf(Lt);Dn>=0&&this.players.splice(Dn,1);const lr=this._engine.playersByElement.get(z);if(lr){let ya=lr.indexOf(Lt);ya>=0&&lr.splice(ya,1)}}),this.players.push(Lt),On.push(Lt),Lt}deregister(z){this._triggers.delete(z),this._engine.statesByElement.forEach(b=>b.delete(z)),this._elementListeners.forEach((b,G)=>{this._elementListeners.set(G,b.filter(Z=>Z.name!=z))})}clearElementCache(z){this._engine.statesByElement.delete(z),this._elementListeners.delete(z);const b=this._engine.playersByElement.get(z);b&&(b.forEach(G=>G.destroy()),this._engine.playersByElement.delete(z))}_signalRemovalForInnerTriggers(z,b){const G=this._engine.driver.query(z,Pe,!0);G.forEach(Z=>{if(Z[fr])return;const Fe=this._engine.fetchNamespacesByElement(Z);Fe.size?Fe.forEach(Lt=>Lt.triggerLeaveAnimation(Z,b,!1,!0)):this.clearElementCache(Z)}),this._engine.afterFlushAnimationsDone(()=>G.forEach(Z=>this.clearElementCache(Z)))}triggerLeaveAnimation(z,b,G,Z){const Fe=this._engine.statesByElement.get(z),Lt=new Map;if(Fe){const ei=[];if(Fe.forEach((fi,Mi)=>{if(Lt.set(Mi,fi.value),this._triggers.has(Mi)){const ln=this.trigger(z,Mi,Sa,Z);ln&&ei.push(ln)}}),ei.length)return this._engine.markElementAsRemoved(this.id,z,!0,b,Lt),G&&ot(ei).onDone(()=>this._engine.processLeaveNode(z)),!0}return!1}prepareLeaveAnimationListeners(z){const b=this._elementListeners.get(z),G=this._engine.statesByElement.get(z);if(b&&G){const Z=new Set;b.forEach(Fe=>{const Lt=Fe.name;if(Z.has(Lt))return;Z.add(Lt);const fi=this._triggers.get(Lt).fallbackTransition,Mi=G.get(Lt)||io,ln=new Gn(Sa),qi=new na(this.id,Lt,z);this._engine.totalQueuedPlayers++,this._queue.push({element:z,triggerName:Lt,transition:fi,fromState:Mi,toState:ln,player:qi,isFallbackTransition:!0})})}}removeNode(z,b){const G=this._engine;if(z.childElementCount&&this._signalRemovalForInnerTriggers(z,b),this.triggerLeaveAnimation(z,b,!0))return;let Z=!1;if(G.totalAnimations){const Fe=G.players.length?G.playersByQueriedElement.get(z):[];if(Fe&&Fe.length)Z=!0;else{let Lt=z;for(;Lt=Lt.parentNode;)if(G.statesByElement.get(Lt)){Z=!0;break}}}if(this.prepareLeaveAnimationListeners(z),Z)G.markElementAsRemoved(this.id,z,!1,b);else{const Fe=z[fr];(!Fe||Fe===Ma)&&(G.afterFlush(()=>this.clearElementCache(z)),G.destroyInnerAnimations(z),G._onRemovalComplete(z,b))}}insertNode(z,b){da(z,this._hostClassName)}drainQueuedTransitions(z){const b=[];return this._queue.forEach(G=>{const Z=G.player;if(Z.destroyed)return;const Fe=G.element,Lt=this._elementListeners.get(Fe);Lt&&Lt.forEach(ei=>{if(ei.name==G.triggerName){const fi=me(Fe,G.triggerName,G.fromState.value,G.toState.value);fi._data=z,Je(G.player,ei.phase,fi,ei.callback)}}),Z.markedForDestroy?this._engine.afterFlush(()=>{Z.destroy()}):b.push(G)}),this._queue=[],b.sort((G,Z)=>{const Fe=G.transition.ast.depCount,Lt=Z.transition.ast.depCount;return 0==Fe||0==Lt?Fe-Lt:this._engine.driver.containsElement(G.element,Z.element)?1:-1})}destroy(z){this.players.forEach(b=>b.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,z)}}class qo{_onRemovalComplete(z,b){this.onRemovalComplete(z,b)}constructor(z,b,G){this.bodyNode=z,this.driver=b,this._normalizer=G,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(Z,Fe)=>{}}get queuedPlayers(){const z=[];return this._namespaceList.forEach(b=>{b.players.forEach(G=>{G.queued&&z.push(G)})}),z}createNamespace(z,b){const G=new Tr(z,b,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,b)?this._balanceNamespaceList(G,b):(this.newHostElements.set(b,G),this.collectEnterElement(b)),this._namespaceLookup[z]=G}_balanceNamespaceList(z,b){const G=this._namespaceList,Z=this.namespacesByHostElement;if(G.length-1>=0){let Lt=!1,ei=this.driver.getParentElement(b);for(;ei;){const fi=Z.get(ei);if(fi){const Mi=G.indexOf(fi);G.splice(Mi+1,0,z),Lt=!0;break}ei=this.driver.getParentElement(ei)}Lt||G.unshift(z)}else G.push(z);return Z.set(b,z),z}register(z,b){let G=this._namespaceLookup[z];return G||(G=this.createNamespace(z,b)),G}registerTrigger(z,b,G){let Z=this._namespaceLookup[z];Z&&Z.register(b,G)&&this.totalAnimations++}destroy(z,b){z&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const G=this._fetchNamespace(z);this.namespacesByHostElement.delete(G.hostElement);const Z=this._namespaceList.indexOf(G);Z>=0&&this._namespaceList.splice(Z,1),G.destroy(b),delete this._namespaceLookup[z]}))}_fetchNamespace(z){return this._namespaceLookup[z]}fetchNamespacesByElement(z){const b=new Set,G=this.statesByElement.get(z);if(G)for(let Z of G.values())if(Z.namespaceId){const Fe=this._fetchNamespace(Z.namespaceId);Fe&&b.add(Fe)}return b}trigger(z,b,G,Z){if(go(b)){const Fe=this._fetchNamespace(z);if(Fe)return Fe.trigger(b,G,Z),!0}return!1}insertNode(z,b,G,Z){if(!go(b))return;const Fe=b[fr];if(Fe&&Fe.setForRemoval){Fe.setForRemoval=!1,Fe.setForMove=!0;const Lt=this.collectedLeaveElements.indexOf(b);Lt>=0&&this.collectedLeaveElements.splice(Lt,1)}if(z){const Lt=this._fetchNamespace(z);Lt&&Lt.insertNode(b,G)}Z&&this.collectEnterElement(b)}collectEnterElement(z){this.collectedEnterElements.push(z)}markElementAsDisabled(z,b){b?this.disabledNodes.has(z)||(this.disabledNodes.add(z),da(z,va)):this.disabledNodes.has(z)&&(this.disabledNodes.delete(z),ba(z,va))}removeNode(z,b,G){if(go(b)){const Z=z?this._fetchNamespace(z):null;Z?Z.removeNode(b,G):this.markElementAsRemoved(z,b,!1,G);const Fe=this.namespacesByHostElement.get(b);Fe&&Fe.id!==z&&Fe.removeNode(b,G)}else this._onRemovalComplete(b,G)}markElementAsRemoved(z,b,G,Z,Fe){this.collectedLeaveElements.push(b),b[fr]={namespaceId:z,setForRemoval:Z,hasAnimation:G,removedBeforeQueried:!1,previousTriggersValues:Fe}}listen(z,b,G,Z,Fe){return go(b)?this._fetchNamespace(z).listen(b,G,Z,Fe):()=>{}}_buildInstruction(z,b,G,Z,Fe){return z.transition.build(this.driver,z.element,z.fromState.value,z.toState.value,G,Z,z.fromState.options,z.toState.options,b,Fe)}destroyInnerAnimations(z){let b=this.driver.query(z,Pe,!0);b.forEach(G=>this.destroyActiveAnimationsForElement(G)),0!=this.playersByQueriedElement.size&&(b=this.driver.query(z,Ze,!0),b.forEach(G=>this.finishActiveQueriedAnimationOnElement(G)))}destroyActiveAnimationsForElement(z){const b=this.playersByElement.get(z);b&&b.forEach(G=>{G.queued?G.markedForDestroy=!0:G.destroy()})}finishActiveQueriedAnimationOnElement(z){const b=this.playersByQueriedElement.get(z);b&&b.forEach(G=>G.finish())}whenRenderingDone(){return new Promise(z=>{if(this.players.length)return ot(this.players).onDone(()=>z());z()})}processLeaveNode(z){const b=z[fr];if(b&&b.setForRemoval){if(z[fr]=Ma,b.namespaceId){this.destroyInnerAnimations(z);const G=this._fetchNamespace(b.namespaceId);G&&G.clearElementCache(z)}this._onRemovalComplete(z,b.setForRemoval)}z.classList?.contains(va)&&this.markElementAsDisabled(z,!1),this.driver.query(z,".ng-animate-disabled",!0).forEach(G=>{this.markElementAsDisabled(G,!1)})}flush(z=-1){let b=[];if(this.newHostElements.size&&(this.newHostElements.forEach((G,Z)=>this._balanceNamespaceList(G,Z)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let G=0;G<this.collectedEnterElements.length;G++)da(this.collectedEnterElements[G],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const G=[];try{b=this._flushAnimations(G,z)}finally{for(let Z=0;Z<G.length;Z++)G[Z]()}}else for(let G=0;G<this.collectedLeaveElements.length;G++)this.processLeaveNode(this.collectedLeaveElements[G]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(G=>G()),this._flushFns=[],this._whenQuietFns.length){const G=this._whenQuietFns;this._whenQuietFns=[],b.length?ot(b).onDone(()=>{G.forEach(Z=>Z())}):G.forEach(Z=>Z())}}reportError(z){throw function H(R){return new t.vHH(3402,!1)}()}_flushAnimations(z,b){const G=new qn,Z=[],Fe=new Map,Lt=[],ei=new Map,fi=new Map,Mi=new Map,ln=new Set;this.disabledNodes.forEach(bn=>{ln.add(bn);const In=this.driver.query(bn,".ng-animate-queued",!0);for(let zn=0;zn<In.length;zn++)ln.add(In[zn])});const qi=this.bodyNode,On=Array.from(this.statesByElement.keys()),Nn=Xr(On,this.collectedEnterElements),pn=new Map;let Dn=0;Nn.forEach((bn,In)=>{const zn=Et+Dn++;pn.set(In,zn),bn.forEach(hr=>da(hr,zn))});const lr=[],ya=new Set,Ka=new Set;for(let bn=0;bn<this.collectedLeaveElements.length;bn++){const In=this.collectedLeaveElements[bn],zn=In[fr];zn&&zn.setForRemoval&&(lr.push(In),ya.add(In),zn.hasAnimation?this.driver.query(In,".ng-star-inserted",!0).forEach(hr=>ya.add(hr)):Ka.add(In))}const Oo=new Map,$a=Xr(On,Array.from(ya));$a.forEach((bn,In)=>{const zn=ct+Dn++;Oo.set(In,zn),bn.forEach(hr=>da(hr,zn))}),z.push(()=>{Nn.forEach((bn,In)=>{const zn=pn.get(In);bn.forEach(hr=>ba(hr,zn))}),$a.forEach((bn,In)=>{const zn=Oo.get(In);bn.forEach(hr=>ba(hr,zn))}),lr.forEach(bn=>{this.processLeaveNode(bn)})});const Lc=[],eo=[];for(let bn=this._namespaceList.length-1;bn>=0;bn--)this._namespaceList[bn].drainQueuedTransitions(b).forEach(zn=>{const hr=zn.player,jr=zn.element;if(Lc.push(hr),this.collectedEnterElements.length){const jo=jr[fr];if(jo&&jo.setForMove){if(jo.previousTriggersValues&&jo.previousTriggersValues.has(zn.triggerName)){const Fs=jo.previousTriggersValues.get(zn.triggerName),ns=this.statesByElement.get(zn.element);if(ns&&ns.has(zn.triggerName)){const r2=ns.get(zn.triggerName);r2.value=Fs,ns.set(zn.triggerName,r2)}}return void hr.destroy()}}const Yo=!qi||!this.driver.containsElement(qi,jr),is=Oo.get(jr),Cs=pn.get(jr),ma=this._buildInstruction(zn,G,Cs,is,Yo);if(ma.errors&&ma.errors.length)return void eo.push(ma);if(Yo)return hr.onStart(()=>gt(jr,ma.fromStyles)),hr.onDestroy(()=>Xe(jr,ma.toStyles)),void Z.push(hr);if(zn.isFallbackTransition)return hr.onStart(()=>gt(jr,ma.fromStyles)),hr.onDestroy(()=>Xe(jr,ma.toStyles)),void Z.push(hr);const wu=[];ma.timelines.forEach(jo=>{jo.stretchStartingKeyframe=!0,this.disabledNodes.has(jo.element)||wu.push(jo)}),ma.timelines=wu,G.append(jr,ma.timelines),Lt.push({instruction:ma,player:hr,element:jr}),ma.queriedElements.forEach(jo=>he(ei,jo,[]).push(hr)),ma.preStyleProps.forEach((jo,Fs)=>{if(jo.size){let ns=fi.get(Fs);ns||fi.set(Fs,ns=new Set),jo.forEach((r2,Oc)=>ns.add(Oc))}}),ma.postStyleProps.forEach((jo,Fs)=>{let ns=Mi.get(Fs);ns||Mi.set(Fs,ns=new Set),jo.forEach((r2,Oc)=>ns.add(Oc))})});if(eo.length){const bn=[];eo.forEach(In=>{bn.push(function ee(R,z){return new t.vHH(3505,!1)}())}),Lc.forEach(In=>In.destroy()),this.reportError(bn)}const Oa=new Map,Qs=new Map;Lt.forEach(bn=>{const In=bn.element;G.has(In)&&(Qs.set(In,In),this._beforeAnimationBuild(bn.player.namespaceId,bn.instruction,Oa))}),Z.forEach(bn=>{const In=bn.element;this._getPreviousPlayers(In,!1,bn.namespaceId,bn.triggerName,null).forEach(hr=>{he(Oa,In,[]).push(hr),hr.destroy()})});const qs=lr.filter(bn=>ro(bn,fi,Mi)),Xs=new Map;_o(Xs,this.driver,Ka,Mi,y.l3).forEach(bn=>{ro(bn,fi,Mi)&&qs.push(bn)});const Ic=new Map;Nn.forEach((bn,In)=>{_o(Ic,this.driver,new Set(bn),fi,y.k1)}),qs.forEach(bn=>{const In=Xs.get(bn),zn=Ic.get(bn);Xs.set(bn,new Map([...In?.entries()??[],...zn?.entries()??[]]))});const kc=[],n2=[],J1={};Lt.forEach(bn=>{const{element:In,player:zn,instruction:hr}=bn;if(G.has(In)){if(ln.has(In))return zn.onDestroy(()=>Xe(In,hr.toStyles)),zn.disabled=!0,zn.overrideTotalTime(hr.totalTime),void Z.push(zn);let jr=J1;if(Qs.size>1){let is=In;const Cs=[];for(;is=is.parentNode;){const ma=Qs.get(is);if(ma){jr=ma;break}Cs.push(is)}Cs.forEach(ma=>Qs.set(ma,jr))}const Yo=this._buildAnimation(zn.namespaceId,hr,Oa,Fe,Ic,Xs);if(zn.setRealPlayer(Yo),jr===J1)kc.push(zn);else{const is=this.playersByElement.get(jr);is&&is.length&&(zn.parentPlayer=ot(is)),Z.push(zn)}}else gt(In,hr.fromStyles),zn.onDestroy(()=>Xe(In,hr.toStyles)),n2.push(zn),ln.has(In)&&Z.push(zn)}),n2.forEach(bn=>{const In=Fe.get(bn.element);if(In&&In.length){const zn=ot(In);bn.setRealPlayer(zn)}}),Z.forEach(bn=>{bn.parentPlayer?bn.syncPlayerEvents(bn.parentPlayer):bn.destroy()});for(let bn=0;bn<lr.length;bn++){const In=lr[bn],zn=In[fr];if(ba(In,ct),zn&&zn.hasAnimation)continue;let hr=[];if(ei.size){let Yo=ei.get(In);Yo&&Yo.length&&hr.push(...Yo);let is=this.driver.query(In,Ze,!0);for(let Cs=0;Cs<is.length;Cs++){let ma=ei.get(is[Cs]);ma&&ma.length&&hr.push(...ma)}}const jr=hr.filter(Yo=>!Yo.destroyed);jr.length?Ho(this,In,jr):this.processLeaveNode(In)}return lr.length=0,kc.forEach(bn=>{this.players.push(bn),bn.onDone(()=>{bn.destroy();const In=this.players.indexOf(bn);this.players.splice(In,1)}),bn.play()}),kc}afterFlush(z){this._flushFns.push(z)}afterFlushAnimationsDone(z){this._whenQuietFns.push(z)}_getPreviousPlayers(z,b,G,Z,Fe){let Lt=[];if(b){const ei=this.playersByQueriedElement.get(z);ei&&(Lt=ei)}else{const ei=this.playersByElement.get(z);if(ei){const fi=!Fe||Fe==Sa;ei.forEach(Mi=>{Mi.queued||!fi&&Mi.triggerName!=Z||Lt.push(Mi)})}}return(G||Z)&&(Lt=Lt.filter(ei=>!(G&&G!=ei.namespaceId||Z&&Z!=ei.triggerName))),Lt}_beforeAnimationBuild(z,b,G){const Fe=b.element,Lt=b.isRemovalTransition?void 0:z,ei=b.isRemovalTransition?void 0:b.triggerName;for(const fi of b.timelines){const Mi=fi.element,ln=Mi!==Fe,qi=he(G,Mi,[]);this._getPreviousPlayers(Mi,ln,Lt,ei,b.toState).forEach(Nn=>{const pn=Nn.getRealPlayer();pn.beforeDestroy&&pn.beforeDestroy(),Nn.destroy(),qi.push(Nn)})}gt(Fe,b.fromStyles)}_buildAnimation(z,b,G,Z,Fe,Lt){const ei=b.triggerName,fi=b.element,Mi=[],ln=new Set,qi=new Set,On=b.timelines.map(pn=>{const Dn=pn.element;ln.add(Dn);const lr=Dn[fr];if(lr&&lr.removedBeforeQueried)return new y.ZN(pn.duration,pn.delay);const ya=Dn!==fi,Ka=function Za(R){const z=[];return Jr(R,z),z}((G.get(Dn)||qr).map(Oa=>Oa.getRealPlayer())).filter(Oa=>!!Oa.element&&Oa.element===Dn),Oo=Fe.get(Dn),$a=Lt.get(Dn),Lc=je(this._normalizer,pn.keyframes,Oo,$a),eo=this._buildPlayer(pn,Lc,Ka);if(pn.subTimeline&&Z&&qi.add(Dn),ya){const Oa=new na(z,ei,Dn);Oa.setRealPlayer(eo),Mi.push(Oa)}return eo});Mi.forEach(pn=>{he(this.playersByQueriedElement,pn.element,[]).push(pn),pn.onDone(()=>function Na(R,z,b){let G=R.get(z);if(G){if(G.length){const Z=G.indexOf(b);G.splice(Z,1)}0==G.length&&R.delete(z)}return G}(this.playersByQueriedElement,pn.element,pn))}),ln.forEach(pn=>da(pn,$t));const Nn=ot(On);return Nn.onDestroy(()=>{ln.forEach(pn=>ba(pn,$t)),Xe(fi,b.toStyles)}),qi.forEach(pn=>{he(Z,pn,[]).push(Nn)}),Nn}_buildPlayer(z,b,G){return b.length>0?this.driver.animate(z.element,b,z.duration,z.delay,z.easing,G):new y.ZN(z.duration,z.delay)}}class na{constructor(z,b,G){this.namespaceId=z,this.triggerName=b,this.element=G,this._player=new y.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(z){this._containsRealPlayer||(this._player=z,this._queuedCallbacks.forEach((b,G)=>{b.forEach(Z=>Je(z,G,void 0,Z))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(z.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(z){this.totalTime=z}syncPlayerEvents(z){const b=this._player;b.triggerCallback&&z.onStart(()=>b.triggerCallback("start")),z.onDone(()=>this.finish()),z.onDestroy(()=>this.destroy())}_queueEvent(z,b){he(this._queuedCallbacks,z,[]).push(b)}onDone(z){this.queued&&this._queueEvent("done",z),this._player.onDone(z)}onStart(z){this.queued&&this._queueEvent("start",z),this._player.onStart(z)}onDestroy(z){this.queued&&this._queueEvent("destroy",z),this._player.onDestroy(z)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(z){this.queued||this._player.setPosition(z)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(z){const b=this._player;b.triggerCallback&&b.triggerCallback(z)}}function go(R){return R&&1===R.nodeType}function Eo(R,z){const b=R.style.display;return R.style.display=z??"none",b}function _o(R,z,b,G,Z){const Fe=[];b.forEach(fi=>Fe.push(Eo(fi)));const Lt=[];G.forEach((fi,Mi)=>{const ln=new Map;fi.forEach(qi=>{const On=z.computeStyle(Mi,qi,Z);ln.set(qi,On),(!On||0==On.length)&&(Mi[fr]=Or,Lt.push(Mi))}),R.set(Mi,ln)});let ei=0;return b.forEach(fi=>Eo(fi,Fe[ei++])),Lt}function Xr(R,z){const b=new Map;if(R.forEach(ei=>b.set(ei,[])),0==z.length)return b;const Z=new Set(z),Fe=new Map;function Lt(ei){if(!ei)return 1;let fi=Fe.get(ei);if(fi)return fi;const Mi=ei.parentNode;return fi=b.has(Mi)?Mi:Z.has(Mi)?1:Lt(Mi),Fe.set(ei,fi),fi}return z.forEach(ei=>{const fi=Lt(ei);1!==fi&&b.get(fi).push(ei)}),b}function da(R,z){R.classList?.add(z)}function ba(R,z){R.classList?.remove(z)}function Ho(R,z,b){ot(b).onDone(()=>R.processLeaveNode(z))}function Jr(R,z){for(let b=0;b<R.length;b++){const G=R[b];G instanceof y.ZE?Jr(G.players,z):z.push(G)}}function ro(R,z,b){const G=b.get(R);if(!G)return!1;let Z=z.get(R);return Z?G.forEach(Fe=>Z.add(Fe)):z.set(R,G),b.delete(R),!0}class To{constructor(z,b,G){this._driver=b,this._normalizer=G,this._triggerCache={},this.onRemovalComplete=(Z,Fe)=>{},this._transitionEngine=new qo(z.body,b,G),this._timelineEngine=new Kn(z.body,b,G),this._transitionEngine.onRemovalComplete=(Z,Fe)=>this.onRemovalComplete(Z,Fe)}registerTrigger(z,b,G,Z,Fe){const Lt=z+"-"+Z;let ei=this._triggerCache[Lt];if(!ei){const fi=[],ln=Bi(this._driver,Fe,fi,[]);if(fi.length)throw function n(R,z){return new t.vHH(3404,!1)}();ei=function ga(R,z,b){return new ca(R,z,b)}(Z,ln,this._normalizer),this._triggerCache[Lt]=ei}this._transitionEngine.registerTrigger(b,Z,ei)}register(z,b){this._transitionEngine.register(z,b)}destroy(z,b){this._transitionEngine.destroy(z,b)}onInsert(z,b,G,Z){this._transitionEngine.insertNode(z,b,G,Z)}onRemove(z,b,G){this._transitionEngine.removeNode(z,b,G)}disableAnimations(z,b){this._transitionEngine.markElementAsDisabled(z,b)}process(z,b,G,Z){if("@"==G.charAt(0)){const[Fe,Lt]=xe(G);this._timelineEngine.command(Fe,b,Lt,Z)}else this._transitionEngine.trigger(z,b,G,Z)}listen(z,b,G,Z,Fe){if("@"==G.charAt(0)){const[Lt,ei]=xe(G);return this._timelineEngine.listen(Lt,b,ei,Fe)}return this._transitionEngine.listen(z,b,G,Z,Fe)}flush(z=-1){this._transitionEngine.flush(z)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(z){this._transitionEngine.afterFlushAnimationsDone(z)}}let ao=(()=>{class R{static#e=this.initialStylesByElement=new WeakMap;constructor(b,G,Z){this._element=b,this._startStyles=G,this._endStyles=Z,this._state=0;let Fe=R.initialStylesByElement.get(b);Fe||R.initialStylesByElement.set(b,Fe=new Map),this._initialStyles=Fe}start(){this._state<1&&(this._startStyles&&Xe(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Xe(this._element,this._initialStyles),this._endStyles&&(Xe(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(R.initialStylesByElement.delete(this._element),this._startStyles&&(gt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(gt(this._element,this._endStyles),this._endStyles=null),Xe(this._element,this._initialStyles),this._state=3)}}return R})();function Wr(R){let z=null;return R.forEach((b,G)=>{(function Fo(R){return"display"===R||"position"===R})(G)&&(z=z||new Map,z.set(G,b))}),z}class vo{constructor(z,b,G,Z){this.element=z,this.keyframes=b,this.options=G,this._specialStyles=Z,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=G.duration,this._delay=G.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(z=>z()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const z=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,z,this.options),this._finalKeyframe=z.length?z[z.length-1]:new Map;const b=()=>this._onFinish();this.domPlayer.addEventListener("finish",b),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",b)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(z){const b=[];return z.forEach(G=>{b.push(Object.fromEntries(G))}),b}_triggerWebAnimation(z,b,G){return z.animate(this._convertKeyframesToObject(b),G)}onStart(z){this._originalOnStartFns.push(z),this._onStartFns.push(z)}onDone(z){this._originalOnDoneFns.push(z),this._onDoneFns.push(z)}onDestroy(z){this._onDestroyFns.push(z)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(z=>z()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(z=>z()),this._onDestroyFns=[])}setPosition(z){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=z*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const z=new Map;this.hasStarted()&&this._finalKeyframe.forEach((G,Z)=>{"offset"!==Z&&z.set(Z,this._finished?G:li(this.element,Z))}),this.currentSnapshot=z}triggerCallback(z){const b="start"===z?this._onStartFns:this._onDoneFns;b.forEach(G=>G()),b.length=0}}class Ao{validateStyleProperty(z){return!0}validateAnimatableStyleProperty(z){return!0}matchesElement(z,b){return!1}containsElement(z,b){return wt(z,b)}getParentElement(z){return ge(z)}query(z,b,G){return mt(z,b,G)}computeStyle(z,b,G){return window.getComputedStyle(z)[b]}animate(z,b,G,Z,Fe,Lt=[]){const fi={duration:G,delay:Z,fill:0==Z?"both":"forwards"};Fe&&(fi.easing=Fe);const Mi=new Map,ln=Lt.filter(Nn=>Nn instanceof vo);(function Jt(R,z){return 0===R||0===z})(G,Z)&&ln.forEach(Nn=>{Nn.currentSnapshot.forEach((pn,Dn)=>Mi.set(Dn,pn))});let qi=function Ee(R){return R.length?R[0]instanceof Map?R:R.map(z=>nt(z)):[]}(b).map(Nn=>Ue(Nn));qi=function Xt(R,z,b){if(b.size&&z.length){let G=z[0],Z=[];if(b.forEach((Fe,Lt)=>{G.has(Lt)||Z.push(Lt),G.set(Lt,Fe)}),Z.length)for(let Fe=1;Fe<z.length;Fe++){let Lt=z[Fe];Z.forEach(ei=>Lt.set(ei,li(R,ei)))}}return z}(z,qi,Mi);const On=function Xa(R,z){let b=null,G=null;return Array.isArray(z)&&z.length?(b=Wr(z[0]),z.length>1&&(G=Wr(z[z.length-1]))):z instanceof Map&&(b=Wr(z)),b||G?new ao(R,b,G):null}(z,qi);return new vo(z,qi,fi,On)}}const ii="@.disabled";class Si{constructor(z,b,G,Z){this.namespaceId=z,this.delegate=b,this.engine=G,this._onDestroy=Z,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(z){this.delegate.destroyNode?.(z)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(z,b){return this.delegate.createElement(z,b)}createComment(z){return this.delegate.createComment(z)}createText(z){return this.delegate.createText(z)}appendChild(z,b){this.delegate.appendChild(z,b),this.engine.onInsert(this.namespaceId,b,z,!1)}insertBefore(z,b,G,Z=!0){this.delegate.insertBefore(z,b,G),this.engine.onInsert(this.namespaceId,b,z,Z)}removeChild(z,b,G){this.engine.onRemove(this.namespaceId,b,this.delegate)}selectRootElement(z,b){return this.delegate.selectRootElement(z,b)}parentNode(z){return this.delegate.parentNode(z)}nextSibling(z){return this.delegate.nextSibling(z)}setAttribute(z,b,G,Z){this.delegate.setAttribute(z,b,G,Z)}removeAttribute(z,b,G){this.delegate.removeAttribute(z,b,G)}addClass(z,b){this.delegate.addClass(z,b)}removeClass(z,b){this.delegate.removeClass(z,b)}setStyle(z,b,G,Z){this.delegate.setStyle(z,b,G,Z)}removeStyle(z,b,G){this.delegate.removeStyle(z,b,G)}setProperty(z,b,G){"@"==b.charAt(0)&&b==ii?this.disableAnimations(z,!!G):this.delegate.setProperty(z,b,G)}setValue(z,b){this.delegate.setValue(z,b)}listen(z,b,G){return this.delegate.listen(z,b,G)}disableAnimations(z,b){this.engine.disableAnimations(z,b)}}class Zi extends Si{constructor(z,b,G,Z,Fe){super(b,G,Z,Fe),this.factory=z,this.namespaceId=b}setProperty(z,b,G){"@"==b.charAt(0)?"."==b.charAt(1)&&b==ii?this.disableAnimations(z,G=void 0===G||!!G):this.engine.process(this.namespaceId,z,b.slice(1),G):this.delegate.setProperty(z,b,G)}listen(z,b,G){if("@"==b.charAt(0)){const Z=function rr(R){switch(R){case"body":return document.body;case"document":return document;case"window":return window;default:return R}}(z);let Fe=b.slice(1),Lt="";return"@"!=Fe.charAt(0)&&([Fe,Lt]=function cr(R){const z=R.indexOf(".");return[R.substring(0,z),R.slice(z+1)]}(Fe)),this.engine.listen(this.namespaceId,Z,Fe,Lt,ei=>{this.factory.scheduleListenerCallback(ei._data||-1,G,ei)})}return this.delegate.listen(z,b,G)}}class Yr{constructor(z,b,G){this.delegate=z,this.engine=b,this._zone=G,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,b.onRemovalComplete=(Z,Fe)=>{const Lt=Fe?.parentNode(Z);Lt&&Fe.removeChild(Lt,Z)}}createRenderer(z,b){const Z=this.delegate.createRenderer(z,b);if(!z||!b?.data?.animation){const Mi=this._rendererCache;let ln=Mi.get(Z);return ln||(ln=new Si("",Z,this.engine,()=>Mi.delete(Z)),Mi.set(Z,ln)),ln}const Fe=b.id,Lt=b.id+"-"+this._currentId;this._currentId++,this.engine.register(Lt,z);const ei=Mi=>{Array.isArray(Mi)?Mi.forEach(ei):this.engine.registerTrigger(Fe,Lt,z,Mi.name,Mi)};return b.data.animation.forEach(ei),new Zi(this,Lt,Z,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(z,b,G){if(z>=0&&z<this._microtaskId)return void this._zone.run(()=>b(G));const Z=this._animationCallbacksBuffer;0==Z.length&&queueMicrotask(()=>{this._zone.run(()=>{Z.forEach(Fe=>{const[Lt,ei]=Fe;Lt(ei)}),this._animationCallbacksBuffer=[]})}),Z.push([b,G])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}var on=p(6814);const Ve=[{provide:it,useFactory:function ht(){return new un}},{provide:To,useClass:(()=>{class R extends To{constructor(b,G,Z,Fe){super(b,G,Z)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(G){return new(G||R)(t.LFG(on.K0),t.LFG(Be),t.LFG(it),t.LFG(t.z2F))};static#t=this.\u0275prov=t.Yz7({token:R,factory:R.\u0275fac})}return R})()},{provide:t.FYo,useFactory:function bt(R,z,b){return new Yr(R,z,b)},deps:[e.se,To,t.R0b]}],vt=[{provide:Be,useFactory:()=>new Ao},{provide:t.QbO,useValue:"BrowserAnimations"},...Ve],qt=[{provide:Be,useClass:Ae},{provide:t.QbO,useValue:"NoopAnimations"},...Ve];let Fi=(()=>{class R{static withConfig(b){return{ngModule:R,providers:b.disableAnimations?qt:vt}}static#e=this.\u0275fac=function(G){return new(G||R)};static#t=this.\u0275mod=t.oAB({type:R});static#i=this.\u0275inj=t.cJS({providers:vt,imports:[e.b2]})}return R})();var bo=p(9862),Vn=p(1088),zi=p(4221),oo=p(5154),Ln=p(7632),Yi=p(8645),Ts=p(3019),yo=p(2438),br=p(9666),Do=p(6321),Ya=p(9080);function Ta(R=0,z=Do.z){return R<0&&(R=0),(0,Ya.H)(R,R,z)}var ha=p(2096),As=p(7394),so=p(9360),zo=p(8251),xo=p(9039),An=p(9940),Xo=p(7103),dr=p(2181),Aa=p(9397),ss=p(4664),Ki=p(9773),Ds=p(4716),ua=p(3997),Pr=p(7398);class Ls{}function Vo(R){return(0,t.MR2)([{provide:Ls,useValue:R}])}let Us=(()=>{class R{constructor(b,G){this._ngZone=G,this.timerStart$=new Yi.x,this.idleDetected$=new Yi.x,this.timeout$=new Yi.x,this.idleMillisec=6e5,this.idleSensitivityMillisec=1e3,this.timeout=300,this.pingMillisec=12e4,this.isTimeout=!1,this.isInactivityTimer=!1,this.isIdleDetected=!1,b&&this.setConfig(b)}startWatching(){this.activityEvents$||(this.activityEvents$=(0,Ts.T)((0,yo.R)(window,"mousemove"),(0,yo.R)(window,"resize"),(0,yo.R)(document,"keydown"))),this.idle$=(0,br.D)(this.activityEvents$),this.idleSubscription&&this.idleSubscription.unsubscribe(),this.idleSubscription=this.idle$.pipe(function os(R,...z){var b,G;const Z=null!==(b=(0,An.yG)(z))&&void 0!==b?b:Do.z,Fe=null!==(G=z[0])&&void 0!==G?G:null,Lt=z[1]||1/0;return(0,so.e)((ei,fi)=>{let Mi=[],ln=!1;const qi=pn=>{const{buffer:Dn,subs:lr}=pn;lr.unsubscribe(),(0,xo.P)(Mi,pn),fi.next(Dn),ln&&On()},On=()=>{if(Mi){const pn=new As.w0;fi.add(pn);const lr={buffer:[],subs:pn};Mi.push(lr),(0,Xo.f)(pn,Z,()=>qi(lr),R)}};null!==Fe&&Fe>=0?(0,Xo.f)(fi,Z,On,Fe,!0):ln=!0,On();const Nn=(0,zo.x)(fi,pn=>{const Dn=Mi.slice();for(const lr of Dn){const{buffer:ya}=lr;ya.push(pn),Lt<=ya.length&&qi(lr)}},()=>{for(;Mi?.length;)fi.next(Mi.shift().buffer);Nn?.unsubscribe(),fi.complete(),fi.unsubscribe()},void 0,()=>Mi=null);ei.subscribe(Nn)})}(this.idleSensitivityMillisec),(0,dr.h)(b=>!b.length&&!this.isIdleDetected&&!this.isInactivityTimer),(0,Aa.b)(()=>{this.isIdleDetected=!0,this.idleDetected$.next(!0)}),(0,ss.w)(()=>this._ngZone.runOutsideAngular(()=>Ta(1e3).pipe((0,Ki.R)((0,Ts.T)(this.activityEvents$,(0,Ya.H)(this.idleMillisec).pipe((0,Aa.b)(()=>{this.isInactivityTimer=!0,this.timerStart$.next(!0)})))),(0,Ds.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,ua.x)(),(0,ss.w)(b=>b?this.timer$:(0,ha.of)(null)))}onIdleStatusChanged(){return this.idleDetected$.asObservable()}onTimeout(){return this.timeout$.pipe((0,dr.h)(b=>!!b),(0,Aa.b)(()=>this.isTimeout=!0),(0,Pr.U)(()=>!0))}getConfigValue(){return{idle:this.idleMillisec/1e3,idleSensitivity:this.idleSensitivityMillisec/1e3,timeout:this.timeout,ping:this.pingMillisec/1e3}}setConfigValues(b){!this.idleSubscription||this.idleSubscription.closed?this.setConfig(b):console.error("Call stopWatching() before set config values")}setConfig(b){b.idle&&(this.idleMillisec=1e3*b.idle),b.ping&&(this.pingMillisec=1e3*b.ping),b.idleSensitivity&&(this.idleSensitivityMillisec=1e3*b.idleSensitivity),b.timeout&&(this.timeout=b.timeout)}setCustomActivityEvents(b){!this.idleSubscription||this.idleSubscription.closed?this.activityEvents$=b:console.error("Call stopWatching() before set custom activity events")}setupTimer(b){this._ngZone.runOutsideAngular(()=>{this.timer$=(0,ha.of)(()=>new Date).pipe((0,Pr.U)(G=>G()),(0,ss.w)(G=>Ta(1e3).pipe((0,Pr.U)(()=>Math.round(((new Date).valueOf()-G.valueOf())/1e3)),(0,Aa.b)(Z=>{Z>=b&&this.timeout$.next(!0)}))))})}setupPing(b){this.ping$=Ta(b).pipe((0,dr.h)(()=>!this.isTimeout))}}return R.\u0275fac=function(b){return new(b||R)(t.LFG(Ls,8),t.LFG(t.R0b))},R.\u0275prov=t.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"}),R})();var Jn=p(4190),en=p(590),Fr=p(4818),$r=p(5597),Xi=p(3814),ar=p(5195),ra=p(4104);const mc=()=>({initial:!1});function zc(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"div",11),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.activeLink=Z.links[1].link)}),t._uU(1),t.qZA()}if(2&R){const b=t.oxw();t.s9C("routerLink",b.links[1].link),t.Q6J("active",b.activeLink===b.links[1].link)("state",t.DdM(4,mc)),t.xp6(1),t.Oqu(b.links[1].name)}}function pl(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"div",12),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.activeLink=Z.links[2].link)}),t._uU(1),t.qZA()}if(2&R){const b=t.oxw();t.s9C("routerLink",b.links[2].link),t.Q6J("active",b.activeLink===b.links[2].link),t.xp6(1),t.Oqu(b.links[2].name)}}let Is=(()=>{class R{constructor(b,G){this.store=b,this.router=G,this.faUserCog=en.gNZ,this.showBitcoind=!1,this.links=[{link:"app",name:"Application"},{link:"auth",name:"Authentication"},{link:"bconfig",name:"BitcoinD Config"}],this.activeLink="",this.unSubs=[new Yi.x,new Yi.x,new Yi.x]}ngOnInit(){const b=this.links.find(G=>this.router.url.includes(G.link));this.activeLink=b?b.link:this.links[0].link,this.router.events.pipe((0,Ki.R)(this.unSubs[0]),(0,dr.h)(G=>G instanceof Jn.Av)).subscribe({next:G=>{const Z=this.links.find(Fe=>G.urlAfterRedirects.includes(Fe.link));this.activeLink=Z?Z.link:this.links[0].link}}),this.store.select(Fr.Yj).pipe((0,Ki.R)(this.unSubs[1])).subscribe(G=>{this.appConfig=G}),this.store.select(Fr.dT).pipe((0,Ki.R)(this.unSubs[2])).subscribe(G=>{this.showBitcoind=!1,this.selNode=G,this.selNode.Settings&&this.selNode.Settings.bitcoindConfigPath&&""!==this.selNode.Settings.bitcoindConfigPath.trim()&&(this.showBitcoind=!0)})}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||R)(t.Y36(zi.yh),t.Y36(Jn.F0))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-settings"]],decls:16,vars:7,consts:[["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column",1,"padding-gap-x"],["fxLayout","column"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["tabindex","1","role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"],["tabindex","2","role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","state","click",4,"ngIf"],["role","tab","tabindex","3","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngIf"],["tabPanel",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch",1,"mat-tab-body-wrapper"],["tabindex","2","role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","state","click"],["role","tab","tabindex","3","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"]],template:function(G,Z){if(1&G&&(t.TgZ(0,"div",0),t._UZ(1,"fa-icon",1),t.TgZ(2,"span",2),t._uU(3,"Settings"),t.qZA()(),t.TgZ(4,"div",3)(5,"mat-card")(6,"mat-card-content",4)(7,"nav",5)(8,"div",6),t.NdJ("click",function(){return Z.activeLink=Z.links[0].link}),t._uU(9),t.qZA(),t.YNc(10,zc,2,5,"div",7)(11,pl,2,3,"div",8),t.qZA(),t._UZ(12,"mat-tab-nav-panel",null,9),t.TgZ(14,"div",10),t._UZ(15,"router-outlet"),t.qZA()()()()),2&G){const Fe=t.MAs(13);t.xp6(1),t.Q6J("icon",Z.faUserCog),t.xp6(6),t.Q6J("tabPanel",Fe),t.xp6(1),t.s9C("routerLink",Z.links[0].link),t.Q6J("active",Z.activeLink===Z.links[0].link),t.xp6(1),t.Oqu(Z.links[0].name),t.xp6(1),t.Q6J("ngIf",!+Z.appConfig.SSO.rtlSSO),t.xp6(1),t.Q6J("ngIf",Z.showBitcoind)}},dependencies:[on.O5,$r.BN,Xi.xw,Xi.Wh,Xi.yH,ar.a8,ar.dn,ra.BU,ra.sW,ra.Nj,Jn.lC,Jn.rH]})}return R})();var Sn=p(9103),Se=p(5980),dt=p(6223),Ye=p(2296),ut=p(5683),ti=p(8525),Ne=p(3680),ft=p(2159),_t=p(6985);function Pt(R,z){if(1&R&&(t.TgZ(0,"mat-option",17),t._uU(1),t.qZA()),2&R){const b=z.$implicit;t.Q6J("value",b.index),t.xp6(1),t.AsE(" ",b.lnNode," (",b.lnImplementation,") ")}}function Qt(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"form",2,3)(2,"div",4),t._UZ(3,"fa-icon",5),t.TgZ(4,"span",6),t._uU(5,"Default Node"),t.qZA()(),t.TgZ(6,"div",7)(7,"div",8),t._UZ(8,"fa-icon",9),t.TgZ(9,"span"),t._uU(10,"The setting will apply after RTL server restarts."),t.qZA()(),t.TgZ(11,"div",10)(12,"mat-form-field",11)(13,"mat-select",12),t.NdJ("ngModelChange",function(Z){t.CHM(b);const Fe=t.oxw();return t.KtG(Fe.appConfig.defaultNodeIndex=Z)}),t.YNc(14,Pt,2,3,"mat-option",13),t.qZA()()(),t.TgZ(15,"div",14)(16,"div",10)(17,"button",15),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.onResetSettings())}),t._uU(18,"Reset"),t.qZA(),t.TgZ(19,"button",16),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.onUpdateApplicationSettings())}),t._uU(20,"Update"),t.qZA()()()()()}if(2&R){const b=t.oxw();t.xp6(3),t.Q6J("icon",b.faWindowRestore),t.xp6(5),t.Q6J("icon",b.faInfoCircle),t.xp6(5),t.Q6J("ngModel",b.appConfig.defaultNodeIndex),t.xp6(1),t.Q6J("ngForOf",b.appConfig.nodes)}}let di=(()=>{class R{constructor(b,G){this.logger=b,this.store=G,this.faInfoCircle=en.sqG,this.faWindowRestore=en.wyP,this.faPlus=en.r8p,this.previousDefaultNode=0,this.unSubs=[new Yi.x,new Yi.x]}ngOnInit(){this.store.select(Fr.Yj).pipe((0,Ki.R)(this.unSubs[0])).subscribe(b=>{this.appConfig=b,this.previousDefaultNode=this.appConfig.defaultNodeIndex,this.logger.info(b)})}onAddNewNode(){this.logger.warn("ADD NEW NODE")}onUpdateApplicationSettings(){this.appConfig.defaultNodeIndex=this.appConfig.defaultNodeIndex?this.appConfig.defaultNodeIndex:this.appConfig&&this.appConfig.nodes&&this.appConfig.nodes.length&&this.appConfig.nodes.length>0&&this.appConfig.nodes[0].index?+this.appConfig.nodes[0].index:-1,this.store.dispatch((0,Sn.B1)({payload:{showSnackBar:!0,message:"Default Node Updated.",config:this.appConfig}}))}onResetSettings(){this.appConfig.defaultNodeIndex=this.previousDefaultNode}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||R)(t.Y36(Se.mQ),t.Y36(zi.yh))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-app-settings"]],decls:2,vars:1,consts:[["fxLayout","column","fxFlex","100",1,"padding-gap-x-large",3,"perfectScrollbar"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch","class","settings-container page-sub-title-container mt-1",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"settings-container","page-sub-title-container","mt-1"],["form","ngForm"],["fxLayout","row"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"my-2"],["fxLayout","row","fxFlex","100",1,"alert","alert-info"],[1,"mr-1","alert-icon",3,"icon"],["fxLayout","row","fxLayoutAlign","start start"],["fxLayout","column","fxLayoutAlign","start start"],["autoFocus","","tabindex","1","name","defaultNode",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["fxLayout","row","fxLayoutAlign","start start",1,"mt-1"],["mat-stroked-button","","color","primary","tabindex","2",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","tabindex","3",3,"click"],[3,"value"]],template:function(G,Z){1&G&&(t.TgZ(0,"div",0),t.YNc(1,Qt,21,4,"form",1),t.qZA()),2&G&&(t.xp6(1),t.Q6J("ngIf",Z.appConfig.nodes&&Z.appConfig.nodes.length&&Z.appConfig.nodes.length>0))},dependencies:[on.sg,on.O5,dt._Y,dt.JJ,dt.JL,dt.On,dt.F,$r.BN,Xi.xw,Xi.Wh,Xi.yH,Ye.lW,ut.KE,ti.gD,Ne.ey,ft.$V,_t.h]})}return R})();var ci=p(8927),Ei=p(8180),Di=p(7700),tn=p(3439),Ji=p(2703),fn=p(2939),Tn=p(2032),Fn=p(8257),Ar=p(2279),zr=p(7313);const fa=["stepper"];function aa(R,z){if(1&R&&t._uU(0),2&R){const b=t.oxw();t.Oqu(b.passwordFormLabel)}}function Da(R,z){1&R&&(t.TgZ(0,"mat-error"),t._uU(1,"Password is required."),t.qZA())}function Rr(R,z){if(1&R&&t._uU(0),2&R){const b=t.oxw(2);t.Oqu(b.secretFormLabel)}}function Lo(R,z){if(1&R&&t._UZ(0,"qr-code",33),2&R){const b=t.oxw(2);t.Q6J("value",b.otpauth)("size",180)("errorCorrectionLevel","L")}}function Ja(R,z){1&R&&(t.TgZ(0,"mat-error"),t._uU(1,"Secret Code is required."),t.qZA())}function Bn(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"mat-step",10)(1,"form",22),t.YNc(2,Rr,1,1,"ng-template",23),t.TgZ(3,"div",24),t.YNc(4,Lo,1,3,"qr-code",25),t.qZA(),t.TgZ(5,"div",26),t._UZ(6,"fa-icon",27),t.TgZ(7,"span"),t._uU(8,"You can use a compatible authentication app to get an authentication code when you log in to RTL. e.g.: Google Authenticator."),t.qZA()(),t.TgZ(9,"div",28)(10,"mat-form-field",13)(11,"mat-label"),t._uU(12,"Secret Code"),t.qZA(),t._UZ(13,"input",29),t.TgZ(14,"fa-icon",30),t.NdJ("copied",function(Z){t.CHM(b);const Fe=t.oxw();return t.KtG(Fe.onCopySecret(Z))}),t.qZA(),t.YNc(15,Ja,2,0,"mat-error",15),t.qZA()(),t.TgZ(16,"div",31)(17,"button",32),t._uU(18,"Next"),t.qZA()()()()}if(2&R){const b=t.oxw();t.Q6J("stepControl",b.secretFormGroup)("editable",b.flgEditable),t.xp6(1),t.Q6J("formGroup",b.secretFormGroup),t.xp6(3),t.Q6J("ngIf",b.otpauth),t.xp6(2),t.Q6J("icon",b.faInfoCircle),t.xp6(8),t.Q6J("icon",b.faCopy)("payload",null==b.secretFormGroup||null==b.secretFormGroup.controls||null==b.secretFormGroup.controls.secret?null:b.secretFormGroup.controls.secret.value),t.xp6(1),t.Q6J("ngIf",null==b.secretFormGroup||null==b.secretFormGroup.controls||null==b.secretFormGroup.controls.secret||null==b.secretFormGroup.controls.secret.errors?null:b.secretFormGroup.controls.secret.errors.required)}}function Jo(R,z){if(1&R&&t._uU(0),2&R){const b=t.oxw(2);t.Oqu(b.tokenFormLabel)}}function bs(R,z){1&R&&(t.TgZ(0,"mat-error"),t._uU(1,"Token is required."),t.qZA())}function Sr(R,z){1&R&&(t.TgZ(0,"mat-error"),t._uU(1,"Token is invalid."),t.qZA())}function Vc(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"div",7)(1,"div",28)(2,"mat-form-field",13)(3,"mat-label"),t._uU(4,"Token"),t.qZA(),t._UZ(5,"input",37),t.YNc(6,bs,2,0,"mat-error",15)(7,Sr,2,0,"mat-error",15),t.qZA()(),t.TgZ(8,"div",31)(9,"button",38),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw(2);return t.KtG(Z.onVerifyToken())}),t._uU(10),t.qZA()()()}if(2&R){const b=t.oxw(2);t.xp6(6),t.Q6J("ngIf",null==b.tokenFormGroup||null==b.tokenFormGroup.controls||null==b.tokenFormGroup.controls.token||null==b.tokenFormGroup.controls.token.errors?null:b.tokenFormGroup.controls.token.errors.required),t.xp6(1),t.Q6J("ngIf",null==b.tokenFormGroup||null==b.tokenFormGroup.controls||null==b.tokenFormGroup.controls.token||null==b.tokenFormGroup.controls.token.errors?null:b.tokenFormGroup.controls.token.errors.notValid),t.xp6(3),t.Oqu(null!=b.tokenFormGroup&&null!=b.tokenFormGroup.controls&&null!=b.tokenFormGroup.controls.token&&null!=b.tokenFormGroup.controls.token.errors&&b.tokenFormGroup.controls.token.errors.notValid?"Retry":"Verify")}}function pc(R,z){1&R&&(t.TgZ(0,"div")(1,"strong"),t._uU(2,"Success! You are all set."),t.qZA()())}function ks(R,z){if(1&R&&(t.TgZ(0,"mat-step",34)(1,"form",35),t.YNc(2,Jo,1,1,"ng-template",12)(3,Vc,11,3,"div",36)(4,pc,3,0,"div",15),t.qZA()()),2&R){const b=t.oxw();t.Q6J("stepControl",b.tokenFormGroup),t.xp6(1),t.Q6J("formGroup",b.tokenFormGroup),t.xp6(2),t.Q6J("ngIf",!b.flgValidated||!b.isTokenValid),t.xp6(1),t.Q6J("ngIf",b.flgValidated&&b.isTokenValid)}}function Bo(R,z){if(1&R&&t._uU(0),2&R){const b=t.oxw(2);t.Oqu(b.disableFormLabel)}}function k2(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"div",7)(1,"div",39),t._UZ(2,"fa-icon",27),t.TgZ(3,"span"),t._uU(4,"You are about to disable two-factor authentication security from RTL. Are you sure you want to turn it off?"),t.qZA()(),t.TgZ(5,"div",31)(6,"button",38),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw(2);return t.KtG(Z.onVerifyToken())}),t._uU(7,"Disable"),t.qZA()()()}if(2&R){const b=t.oxw(2);t.xp6(2),t.Q6J("icon",b.faExclamationTriangle)}}function gl(R,z){1&R&&(t.TgZ(0,"div")(1,"strong"),t._uU(2,"Two factor authentication removed from RTL."),t.qZA()())}function Bc(R,z){if(1&R&&(t.TgZ(0,"mat-step",34)(1,"form",35),t.YNc(2,Bo,1,1,"ng-template",12)(3,k2,8,1,"div",36)(4,gl,3,0,"div",15),t.qZA()()),2&R){const b=t.oxw();t.Q6J("stepControl",b.disableFormGroup),t.xp6(1),t.Q6J("formGroup",b.disableFormGroup),t.xp6(2),t.Q6J("ngIf",!b.flgValidated||!b.isTokenValid),t.xp6(1),t.Q6J("ngIf",b.flgValidated&&b.isTokenValid)}}let $o=(()=>{class R{constructor(b,G,Z,Fe,Lt,ei){this.dialogRef=b,this.data=G,this.store=Z,this.formBuilder=Fe,this.rtlEffects=Lt,this.snackBar=ei,this.faExclamationTriangle=en.eHv,this.faCopy=en.kZ_,this.faInfoCircle=en.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:["",[dt.kI.required]],password:["",[dt.kI.required]]}),this.secretFormGroup=this.formBuilder.group({secret:[{value:"",disabled:!0},dt.kI.required]}),this.tokenFormGroup=this.formBuilder.group({token:["",dt.kI.required]}),this.disableFormGroup=this.formBuilder.group({}),this.unSubs=[new Yi.x,new Yi.x]}ngOnInit(){this.appConfig=this.data.appConfig||null,this.showDisableStepper=!!this.appConfig?.enable2FA,this.secretFormGroup=this.formBuilder.group({secret:[{value:this.appConfig?.enable2FA?"":this.generateSecret(),disabled:!0},dt.kI.required]})}generateSecret(){const b=tn.authenticator.generateSecret();return this.otpauth=tn.authenticator.keyuri("","Ride The Lightning (RTL)",b),b}onAuthenticate(){if(!this.passwordFormGroup.controls.password.value)return!0;this.flgValidated=!1,this.store.dispatch((0,Sn.QO)({payload:ci(this.passwordFormGroup.controls.password.value).toString()})),this.rtlEffects.isAuthorizedRes.pipe((0,Ei.q)(1)).subscribe(b=>{"ERROR"!==b?(this.passwordFormGroup.controls.hiddenPassword.setValue(this.passwordFormGroup.controls.password.value),this.stepper.next()):(this.dialogRef.close(),this.snackBar.open("Unauthorized User. Logging out from RTL."))})}onCopySecret(b){this.snackBar.open("Secret code "+this.secretFormGroup.controls.secret.value+" copied.")}onVerifyToken(){if(this.appConfig?.enable2FA)this.appConfig.enable2FA=!1,this.appConfig.secret2FA="",this.store.dispatch((0,Sn.B1)({payload:{showSnackBar:!1,message:"Two factor authentication disabled successfully.",config:this.appConfig}})),this.generateSecret(),this.isTokenValid=!0;else{if(!this.tokenFormGroup.controls.token.value)return!0;if(this.isTokenValid=tn.authenticator.check(this.tokenFormGroup.controls.token.value,this.secretFormGroup.controls.secret.value),!this.isTokenValid)return this.tokenFormGroup.controls.token.setErrors({notValid:!0}),!0;this.appConfig.enable2FA=!0,this.appConfig.secret2FA=this.secretFormGroup.controls.secret.value,this.store.dispatch((0,Sn.B1)({payload:{showSnackBar:!1,message:"Two factor authentication enabled successfully.",config:this.appConfig}})),this.tokenFormGroup.controls.token.setValue("")}this.flgValidated=!0}stepSelectionChanged(b){switch(b.selectedIndex){case 0:default:this.passwordFormLabel="Authenticate with your RTL password";break;case 1:case 2:this.passwordFormLabel="User authenticated successfully"}b.selectedIndex<b.previouslySelectedIndex&&0===b.selectedIndex&&this.passwordFormGroup.controls.hiddenPassword.setValue("")}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||R)(t.Y36(Di.so),t.Y36(Di.WI),t.Y36(zi.yh),t.Y36(dt.QS),t.Y36(Ji.V),t.Y36(fn.ux))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-two-factor-auth"]],viewQuery:function(G,Z){if(1&G&&t.Gf(fa,5),2&G){let Fe;t.iGM(Fe=t.CRH())&&(Z.stepper=Fe.first)}},decls:30,vars:11,consts:[["fxLayout","row"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title"],["tabindex","15","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"mat-dialog-close"],[1,"padding-gap-x-large"],["fxLayout","column"],[3,"linear","selectionChange"],["stepper",""],[3,"stepControl","editable"],["fxLayout","column","fxLayoutAlign","space-between",1,"my-1","pr-1",3,"formGroup"],["matStepLabel",""],["fxLayout","column","fxFlex","100"],["autoFocus","","matInput","","type","password","tabindex","1","formControlName","password","required",""],[4,"ngIf"],["fxLayout","row",1,"mt-2"],["mat-button","","color","primary","tabindex","3","type","button",3,"click"],[3,"stepControl","editable",4,"ngIf"],[3,"stepControl",4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","end center"],["mat-button","","color","primary","tabindex","12","type","button","default","",3,"mat-dialog-close"],["fxLayout","column",1,"my-1","pr-1",3,"formGroup"],["matStepLabel","","disabled","true"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start"],[3,"value","size","errorCorrectionLevel",4,"ngIf"],["fxFlex","100",1,"w-100","alert","alert-info"],[1,"mt-1","mr-1","alert-icon",3,"icon"],["fxLayout","row","fxFlex","100","fxLayoutAlign","space-between stretch"],["autoFocus","","matInput","","type","text","tabindex","4","formControlName","secret","required",""],["matSuffix","","rtlClipboard","",3,"icon","payload","copied"],["fxLayout","row","fxLayoutAlign","start center","fxFlex","100",1,"mt-2"],["mat-button","","color","primary","tabindex","6","type","button","matStepperNext",""],[3,"value","size","errorCorrectionLevel"],[3,"stepControl"],["fxLayout","column","fxLayoutAlign","start",1,"my-1","pr-1",3,"formGroup"],["fxLayout","column",4,"ngIf"],["autoFocus","","matInput","","type","text","tabindex","7","formControlName","token","required",""],["mat-button","","color","primary","tabindex","8","type","button",3,"click"],["fxFlex","100",1,"w-100","alert","alert-warn"]],template:function(G,Z){1&G&&(t.TgZ(0,"div",0)(1,"div",1)(2,"mat-card-header",2)(3,"div",3)(4,"span",4),t._uU(5,"Setup Two Factor Authentication"),t.qZA()(),t.TgZ(6,"button",5),t._uU(7,"X"),t.qZA()(),t.TgZ(8,"mat-card-content",6)(9,"div",7)(10,"mat-vertical-stepper",8,9),t.NdJ("selectionChange",function(Lt){return Z.stepSelectionChanged(Lt)}),t.TgZ(12,"mat-step",10)(13,"form",11),t.YNc(14,aa,1,1,"ng-template",12),t.TgZ(15,"div",0)(16,"mat-form-field",13)(17,"mat-label"),t._uU(18,"Password"),t.qZA(),t._UZ(19,"input",14),t.YNc(20,Da,2,0,"mat-error",15),t.qZA()(),t.TgZ(21,"div",16)(22,"button",17),t.NdJ("click",function(){return Z.onAuthenticate()}),t._uU(23,"Confirm"),t.qZA()()()(),t.YNc(24,Bn,19,8,"mat-step",18)(25,ks,5,4,"mat-step",19)(26,Bc,5,4,"mat-step",19),t.qZA(),t.TgZ(27,"div",20)(28,"button",21),t._uU(29),t.qZA()()()()()()),2&G&&(t.xp6(6),t.Q6J("mat-dialog-close",!1),t.xp6(4),t.Q6J("linear",!0),t.xp6(2),t.Q6J("stepControl",Z.passwordFormGroup)("editable",Z.flgEditable),t.xp6(1),t.Q6J("formGroup",Z.passwordFormGroup),t.xp6(7),t.Q6J("ngIf",null==Z.passwordFormGroup||null==Z.passwordFormGroup.controls||null==Z.passwordFormGroup.controls.password||null==Z.passwordFormGroup.controls.password.errors?null:Z.passwordFormGroup.controls.password.errors.required),t.xp6(4),t.Q6J("ngIf",!Z.showDisableStepper),t.xp6(1),t.Q6J("ngIf",!Z.showDisableStepper),t.xp6(1),t.Q6J("ngIf",Z.showDisableStepper),t.xp6(2),t.Q6J("mat-dialog-close",!1),t.xp6(1),t.Oqu(Z.flgValidated&&Z.isTokenValid?"Close":"Cancel"))},dependencies:[on.O5,dt._Y,dt.Fj,dt.JJ,dt.JL,dt.Q7,dt.sg,dt.u,$r.BN,Xi.xw,Xi.Wh,Xi.yH,Di.ZT,Ye.lW,ar.dn,ar.dk,Tn.Nt,ut.KE,ut.hX,ut.TO,ut.R9,Fn.C0,Fn.VY,Fn.Vq,Fn.Ic,Ar.uU,zr.y,_t.h]})}return R})();var Yt=p(2154),Os=p(5813),Fa=p(6385);const u1=["authForm"];function _l(R,z){1&R&&(t.TgZ(0,"mat-error"),t._uU(1,"Current password is required."),t.qZA())}function Uc(R,z){if(1&R&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&R){const b=t.oxw(2);t.xp6(1),t.Oqu(b.errorMsg)}}function vl(R,z){if(1&R&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&R){const b=t.oxw(2);t.xp6(1),t.Oqu(b.errorConfirmMsg)}}function Pn(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"form",11,12)(2,"div",13),t._UZ(3,"fa-icon",5),t.TgZ(4,"span",6),t._uU(5,"Password"),t.qZA()(),t.TgZ(6,"mat-form-field")(7,"mat-label"),t._uU(8,"Current Password"),t.qZA(),t.TgZ(9,"input",14),t.NdJ("ngModelChange",function(Z){t.CHM(b);const Fe=t.oxw();return t.KtG(Fe.currPassword=Z)}),t.qZA(),t.YNc(10,_l,2,0,"mat-error",15),t.qZA(),t.TgZ(11,"mat-form-field")(12,"mat-label"),t._uU(13,"New Password"),t.qZA(),t.TgZ(14,"input",16),t.NdJ("ngModelChange",function(Z){t.CHM(b);const Fe=t.oxw();return t.KtG(Fe.newPassword=Z)}),t.qZA(),t.YNc(15,Uc,2,1,"mat-error",15),t.qZA(),t.TgZ(16,"mat-form-field")(17,"mat-label"),t._uU(18,"Confirm New Password"),t.qZA(),t.TgZ(19,"input",17),t.NdJ("ngModelChange",function(Z){t.CHM(b);const Fe=t.oxw();return t.KtG(Fe.confirmPassword=Z)}),t.qZA(),t.YNc(20,vl,2,1,"mat-error",15),t.qZA(),t.TgZ(21,"div",18)(22,"button",19),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.onResetPassword())}),t._uU(23,"Reset"),t.qZA(),t.TgZ(24,"button",20),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.onChangePassword())}),t._uU(25,"Change Password"),t.qZA()()()}if(2&R){const b=t.oxw();t.xp6(3),t.Q6J("icon",b.faLock),t.xp6(6),t.Q6J("ngModel",b.currPassword),t.xp6(1),t.Q6J("ngIf",!b.currPassword),t.xp6(4),t.Q6J("ngModel",b.newPassword),t.xp6(1),t.Q6J("ngIf",b.matchOldAndNewPasswords()),t.xp6(4),t.Q6J("ngModel",b.confirmPassword),t.xp6(1),t.Q6J("ngIf",b.matchNewPasswords())}}let Uo=(()=>{class R{constructor(b,G,Z,Fe,Lt){this.logger=b,this.store=G,this.actions=Z,this.router=Fe,this.sessionService=Lt,this.faInfoCircle=en.sqG,this.faUserLock=en.FJU,this.faUserClock=en.hnx,this.faLock=en.byT,this.currPassword="",this.newPassword="",this.confirmPassword="",this.errorMsg="",this.errorConfirmMsg="",this.initializeNodeData=!1,this.unSubs=[new Yi.x,new Yi.x,new Yi.x]}ngOnInit(){this.initializeNodeData="true"===this.sessionService.getItem("defaultPassword"),this.store.select(Fr.Yj).pipe((0,Ki.R)(this.unSubs[0])).subscribe(b=>{this.appConfig=b,this.logger.info(this.appConfig)}),this.store.select(Fr.dT).pipe((0,Ki.R)(this.unSubs[1])).subscribe(b=>{this.selNode=b}),this.actions.pipe((0,Ki.R)(this.unSubs[2]),(0,dr.h)(b=>b.type===Yt.pg.RESET_PASSWORD_RES)).subscribe(b=>{if(Yt.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||Yt.kO.includes(this.newPassword.toLowerCase()))return!0;this.store.dispatch((0,Sn.c0)({payload:{currPassword:ci(this.currPassword).toString(),newPassword:ci(this.newPassword).toString()}}))}matchOldAndNewPasswords(){let b=!1;return this.form&&this.form.controls&&this.form.controls.newpassword&&(this.newPassword?""!==this.currPassword&&""!==this.newPassword&&this.currPassword===this.newPassword?(this.form.controls.newpassword.setErrors({invalid:!0}),this.errorMsg="Old and New password cannot be same.",b=!0):Yt.kO.includes(this.newPassword.toLowerCase())?(this.form.controls.newpassword.setErrors({invalid:!0}),this.errorMsg=Yt.kO?.reduce((G,Z,Fe)=>Fe<Yt.kO.length-1?G+Z+'" / "':G+Z+'".','Password cannot be "'),b=!0):(this.form.controls.newpassword.setErrors(null),this.errorMsg="",b=!1):(this.form.controls.newpassword.setErrors({invalid:!0}),this.errorMsg="New password is required.",b=!0)),b}matchNewPasswords(){let b=!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.",b=!0):(this.form.controls.confirmpassword.setErrors(null),this.errorConfirmMsg="",b=!1):(this.form.controls.confirmpassword.setErrors({invalid:!0}),this.errorConfirmMsg="Confirm password is required.",b=!0)),b}on2FAuth(){this.store.dispatch((0,Sn.qR)({payload:{data:{appConfig:this.appConfig,component:$o}}}))}onResetPassword(){this.form.resetForm()}ngOnDestroy(){this.initializeNodeData&&this.store.dispatch((0,Sn.fk)({payload:{uiMessage:Yt.m6.NO_SPINNER,prevLnNodeIndex:-1,currentLnNode:this.selNode,isInitialSetup:!0}})),this.unSubs.forEach(b=>{b.next(),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||R)(t.Y36(Se.mQ),t.Y36(zi.yh),t.Y36(oo.eX),t.Y36(Jn.F0),t.Y36(Os.m))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-auth-settings"]],viewQuery:function(G,Z){if(1&G&&t.Gf(u1,5),2&G){let Fe;t.iGM(Fe=t.CRH())&&(Z.form=Fe.first)}},decls:15,vars:4,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"padding-gap-x-large"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch","class","page-sub-title-container mt-1",4,"ngIf"],[1,"my-2"],["fxLayout","column","fxLayoutAlign","start stretch"],[1,"mb-1","settings-container","page-sub-title-container","mt-1"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],[1,"alert","alert-info"],[1,"mt-1","mr-1","alert-icon",3,"icon"],[1,"mt-1"],["mat-flat-button","","color","primary","tabindex","6",1,"mb-2",3,"click"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"page-sub-title-container","mt-1"],["authForm","ngForm"],["fxLayout","row","fxLayoutAlign","start start",1,"mb-2"],["autoFocus","","matInput","","type","password","id","currpassword","name","currpassword","tabindex","1","required","",3,"ngModel","ngModelChange"],[4,"ngIf"],["matInput","","type","password","id","newpassword","name","newpassword","tabindex","2","required","",3,"ngModel","ngModelChange"],["matInput","","type","password","id","confirmpassword","name","confirmpassword","tabindex","3","required","",3,"ngModel","ngModelChange"],["fxLayout","row","fxLayoutAlign","start start",1,"mt-1"],["mat-stroked-button","","color","primary","type","reset","tabindex","4",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","tabindex","5","type","submit",3,"click"]],template:function(G,Z){1&G&&(t.TgZ(0,"div",0),t.YNc(1,Pn,26,7,"form",1),t._UZ(2,"mat-divider",2),t.TgZ(3,"div",3)(4,"div",4),t._UZ(5,"fa-icon",5),t.TgZ(6,"span",6),t._uU(7,"Two Factor Authentication"),t.qZA()(),t.TgZ(8,"div",7),t._UZ(9,"fa-icon",8),t.TgZ(10,"span"),t._uU(11,"Protect your account from unauthorized access by requiring a second authentication method in addition to your password."),t.qZA()(),t.TgZ(12,"div",9)(13,"button",10),t.NdJ("click",function(){return Z.on2FAuth()}),t._uU(14),t.qZA()()()()),2&G&&(t.xp6(1),t.Q6J("ngIf",null==Z.appConfig?null:Z.appConfig.allowPasswordUpdate),t.xp6(4),t.Q6J("icon",Z.faUserClock),t.xp6(4),t.Q6J("icon",Z.faInfoCircle),t.xp6(5),t.Oqu(Z.appConfig.enable2FA?"Disable 2FA":"Enable 2FA"))},dependencies:[on.O5,dt._Y,dt.Fj,dt.JJ,dt.JL,dt.Q7,dt.On,dt.F,$r.BN,Xi.xw,Xi.Wh,Xi.yH,Ye.lW,Tn.Nt,ut.KE,ut.hX,ut.TO,Fa.d,_t.h]})}return R})();var Gs=p(9038);function f1(R,z){1&R&&t._UZ(0,"mat-divider",7)}function ys(R,z){if(1&R&&(t.TgZ(0,"div",4)(1,"pre",5),t._uU(2),t.ALo(3,"json"),t.qZA(),t.YNc(4,f1,1,0,"mat-divider",6),t.qZA()),2&R){const b=t.oxw();t.xp6(2),t.Oqu(t.lcZ(3,2,b.configData)),t.xp6(2),t.Q6J("ngIf",""!==b.configData)}}function kh(R,z){if(1&R&&(t.TgZ(0,"h2"),t._uU(1),t.qZA()),2&R){const b=t.oxw().$implicit;t.xp6(1),t.Oqu(b)}}function m1(R,z){if(1&R&&(t.TgZ(0,"h4",14),t._uU(1),t.qZA()),2&R){const b=t.oxw().$implicit;t.xp6(1),t.Oqu(b)}}function Js(R,z){1&R&&t._UZ(0,"mat-divider",15),2&R&&t.Q6J("inset",!0)}function O2(R,z){if(1&R&&(t.TgZ(0,"mat-list-item")(1,"mat-card-subtitle",7),t.YNc(2,kh,2,1,"h2",10),t.qZA(),t.TgZ(3,"mat-card-subtitle",11),t.YNc(4,m1,2,1,"h4",12),t.qZA(),t.YNc(5,Js,1,1,"mat-divider",13),t.qZA()),2&R){const b=z.$implicit;t.xp6(2),t.Q6J("ngIf",b.indexOf("[")>=0),t.xp6(2),t.Q6J("ngIf",b.indexOf("[")<0),t.xp6(1),t.Q6J("ngIf",b.indexOf("[")<0)}}function P2(R,z){if(1&R&&(t.TgZ(0,"div",8)(1,"mat-list"),t.YNc(2,O2,6,3,"mat-list-item",9),t.qZA()()),2&R){const b=t.oxw();t.xp6(2),t.Q6J("ngForOf",b.configData)}}let vd=(()=>{class R{constructor(b,G,Z){this.store=b,this.rtlEffects=G,this.router=Z,this.configData="",this.fileFormat="INI",this.faCog=en.b7W,this.unSubs=[new Yi.x,new Yi.x]}ngOnInit(){this.store.dispatch((0,Sn.Q2)({payload:"bitcoind"})),this.rtlEffects.showLnConfig.pipe((0,Ki.R)(this.unSubs[1])).subscribe(b=>{const G=b.data;this.fileFormat=b.format,this.configData=""===G||!G||"INI"!==this.fileFormat&&"HOCON"!==this.fileFormat?""!==G&&G&&"JSON"===this.fileFormat?G:"":G.split("\n")})}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||R)(t.Y36(zi.yh),t.Y36(Ji.V),t.Y36(Jn.F0))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-bitcoin-config"]],decls:4,vars:2,consts:[["fxLayout","column","fxFlex","100"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start start"],["fxFlex","100","class","mb-6",4,"ngIf"],["fxFlex","100",4,"ngIf"],["fxFlex","100",1,"mb-6"],[1,"pre-wrap"],["class","my-1",4,"ngIf"],[1,"my-1"],["fxFlex","100"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"m-0"],["class","ml-4",4,"ngIf"],[3,"inset",4,"ngIf"],[1,"ml-4"],[3,"inset"]],template:function(G,Z){1&G&&(t.TgZ(0,"div",0)(1,"div",1),t.YNc(2,ys,5,4,"div",2)(3,P2,3,1,"div",3),t.qZA()()),2&G&&(t.xp6(2),t.Q6J("ngIf",""!==Z.configData&&"JSON"===Z.fileFormat),t.xp6(1),t.Q6J("ngIf",""!==Z.configData&&("INI"===Z.fileFormat||"HOCON"===Z.fileFormat)))},dependencies:[on.sg,on.O5,Xi.xw,Xi.Wh,Xi.yH,ar.$j,Gs.i$,Gs.Tg,Fa.d,on.Ts],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]})}return R})();function bl(R,z){1&R&&(t.TgZ(0,"mat-error"),t._uU(1,"Password is required."),t.qZA())}let bd=(()=>{class R{constructor(b,G,Z){this.dialogRef=b,this.store=G,this.rtlEffects=Z,this.password="",this.isAuthenticated=!1,this.unSubs=[new Yi.x,new Yi.x]}ngOnInit(){this.rtlEffects.isAuthorizedRes.pipe((0,Ei.q)(1)).subscribe(b=>{"ERROR"!==b?(this.isAuthenticated=!0,this.store.dispatch((0,Sn.M6)({payload:this.isAuthenticated}))):this.isAuthenticated=!1})}onAuthenticate(){if(!this.password)return!0;this.store.dispatch((0,Sn.QO)({payload:ci(this.password)}))}onClose(){this.store.dispatch((0,Sn.M6)({payload:this.isAuthenticated}))}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||R)(t.Y36(Di.so),t.Y36(zi.yh),t.Y36(Ji.V))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-is-authorized"]],decls:18,vars:2,consts:[["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],["fxLayout","row",1,"padding-gap-x-large"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch"],["autoFocus","","matInput","","type","password","id","password","name","password","tabindex","1","required","",3,"ngModel","ngModelChange"],[4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","end center",1,"mt-1"],["mat-button","","color","primary","tabindex","2","type","submit","default","",3,"click"]],template:function(G,Z){1&G&&(t.TgZ(0,"div",0)(1,"div",1)(2,"mat-card-header",2)(3,"div",3)(4,"span",4),t._uU(5,"Authenticate with your RTL Password"),t.qZA()(),t.TgZ(6,"button",5),t.NdJ("click",function(){return Z.onClose()}),t._uU(7,"X"),t.qZA()(),t.TgZ(8,"mat-card-content",6)(9,"form",7)(10,"mat-form-field")(11,"mat-label"),t._uU(12,"Password"),t.qZA(),t.TgZ(13,"input",8),t.NdJ("ngModelChange",function(Lt){return Z.password=Lt}),t.qZA(),t.YNc(14,bl,2,0,"mat-error",9),t.qZA(),t.TgZ(15,"div",10)(16,"button",11),t.NdJ("click",function(){return Z.onAuthenticate()}),t._uU(17,"Confirm"),t.qZA()()()()()()),2&G&&(t.xp6(13),t.Q6J("ngModel",Z.password),t.xp6(1),t.Q6J("ngIf",!Z.password))},dependencies:[on.O5,dt._Y,dt.Fj,dt.JJ,dt.JL,dt.Q7,dt.On,dt.F,Xi.xw,Xi.Wh,Xi.yH,Ye.lW,ar.dn,ar.dk,Tn.Nt,ut.KE,ut.hX,ut.TO,_t.h]})}return R})();const Ni=()=>({initial:!1});function or(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"div",13),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.activeLink=Z.links[2].link)}),t._uU(1),t.qZA()}if(2&R){const b=t.oxw();t.s9C("routerLink",b.links[2].link),t.Q6J("active",b.activeLink===b.links[2].link)("state",t.DdM(4,Ni)),t.xp6(1),t.Oqu(b.links[2].name)}}function yl(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"div",14),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.activeLink=Z.links[3].link)}),t._uU(1),t.qZA()}if(2&R){const b=t.oxw();t.s9C("routerLink",b.links[3].link),t.Q6J("active",b.activeLink===b.links[3].link),t.xp6(1),t.Oqu(b.links[3].name)}}function gc(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"div",15),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.showLnConfigClicked())}),t._uU(1),t.qZA()}if(2&R){const b=t.oxw();t.Q6J("active",b.activeLink===b.links[4].link),t.xp6(1),t.Oqu(b.links[4].name)}}let _r=(()=>{class R{constructor(b,G,Z,Fe){this.store=b,this.router=G,this.rtlEffects=Z,this.activatedRoute=Fe,this.faTools=en.CgH,this.showLnConfig=!1,this.lnImplementationStr="",this.links=[{link:"nodesettings",name:"Node Settings"},{link:"pglayout",name:"Page Layout"},{link:"services",name:"Services"},{link:"experimental",name:"Experimental"},{link:"lnconfig",name:this.lnImplementationStr}],this.activeLink="",this.unSubs=[new Yi.x,new Yi.x,new Yi.x,new Yi.x,new Yi.x]}ngOnInit(){const b=this.links.find(G=>this.router.url.includes(G.link));this.activeLink=b?b.link:this.links[0].link,this.router.events.pipe((0,Ki.R)(this.unSubs[0]),(0,dr.h)(G=>G instanceof Jn.Av)).subscribe({next:G=>{const Z=this.links.find(Fe=>G.urlAfterRedirects.includes(Fe.link));this.activeLink=Z?Z.link:this.links[0].link}}),this.store.select(Fr.Yj).pipe((0,Ki.R)(this.unSubs[1])).subscribe(G=>{this.appConfig=G}),this.store.select(Fr.dT).pipe((0,Ki.R)(this.unSubs[2])).subscribe(G=>{switch(this.showLnConfig=!1,this.selNode=G,this.selNode.lnImplementation?.toUpperCase()){case"CLN":this.lnImplementationStr="Core Lightning Config";break;case"ECL":this.lnImplementationStr="Eclair Config";break;default:this.lnImplementationStr="LND Config"}this.selNode.Authentication&&this.selNode.Authentication.configPath&&""!==this.selNode.Authentication.configPath.trim()&&(this.links[4].name=this.lnImplementationStr,this.showLnConfig=!0)})}showLnConfigClicked(){this.appConfig.SSO.rtlSSO?(this.activeLink=this.links[4].link,this.router.navigate(["./"+this.activeLink],{relativeTo:this.activatedRoute})):(this.store.dispatch((0,Sn.qR)({payload:{maxWidth:"50rem",data:{component:bd}}})),this.rtlEffects.closeAlert.pipe((0,Ki.R)(this.unSubs[3])).subscribe(b=>{b&&(this.activeLink=this.links[4].link,this.router.navigate(["./"+this.activeLink],{relativeTo:this.activatedRoute}))}))}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||R)(t.Y36(zi.yh),t.Y36(Jn.F0),t.Y36(Ji.V),t.Y36(Jn.gz))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-node-config"]],decls:19,vars:11,consts:[["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column",1,"padding-gap-x"],["fxLayout","column"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["tabindex","1","role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"],["tabindex","2","role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"],["tabindex","3","role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","state","click",4,"ngIf"],["tabindex","4","role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngIf"],["tabindex","5","role","tab","mat-tab-link","","class","mat-tab-label",3,"active","click",4,"ngIf"],["tabPanel",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch",1,"mat-tab-body-wrapper","mb-2"],["tabindex","3","role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","state","click"],["tabindex","4","role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"],["tabindex","5","role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","click"]],template:function(G,Z){if(1&G&&(t.TgZ(0,"div",0),t._UZ(1,"fa-icon",1),t.TgZ(2,"span",2),t._uU(3,"Node Config"),t.qZA()(),t.TgZ(4,"div",3)(5,"mat-card")(6,"mat-card-content",4)(7,"nav",5)(8,"div",6),t.NdJ("click",function(){return Z.activeLink=Z.links[0].link}),t._uU(9),t.qZA(),t.TgZ(10,"div",7),t.NdJ("click",function(){return Z.activeLink=Z.links[1].link}),t._uU(11),t.qZA(),t.YNc(12,or,2,5,"div",8)(13,yl,2,3,"div",9)(14,gc,2,2,"div",10),t.qZA(),t._UZ(15,"mat-tab-nav-panel",null,11),t.TgZ(17,"div",12),t._UZ(18,"router-outlet"),t.qZA()()()()),2&G){const Fe=t.MAs(16);t.xp6(1),t.Q6J("icon",Z.faTools),t.xp6(6),t.Q6J("tabPanel",Fe),t.xp6(1),t.s9C("routerLink",Z.links[0].link),t.Q6J("active",Z.activeLink===Z.links[0].link),t.xp6(1),t.Oqu(Z.links[0].name),t.xp6(1),t.s9C("routerLink",Z.links[1].link),t.Q6J("active",Z.activeLink===Z.links[1].link),t.xp6(1),t.Oqu(Z.links[1].name),t.xp6(1),t.Q6J("ngIf","ECL"!==(null==Z.selNode||null==Z.selNode.lnImplementation?null:Z.selNode.lnImplementation.toUpperCase())),t.xp6(1),t.Q6J("ngIf","CLN"===(null==Z.selNode||null==Z.selNode.lnImplementation?null:Z.selNode.lnImplementation.toUpperCase())),t.xp6(1),t.Q6J("ngIf",Z.showLnConfig)}},dependencies:[on.O5,$r.BN,Xi.xw,Xi.Wh,Xi.yH,ar.a8,ar.dn,ra.BU,ra.sW,ra.Nj,Jn.lC,Jn.rH]})}return R})();function cs(R,z){1&R&&t._UZ(0,"mat-divider",7)}function $s(R,z){if(1&R&&(t.TgZ(0,"div",4)(1,"pre",5),t._uU(2),t.ALo(3,"json"),t.qZA(),t.YNc(4,cs,1,0,"mat-divider",6),t.qZA()),2&R){const b=t.oxw();t.xp6(2),t.Oqu(t.lcZ(3,2,b.configData)),t.xp6(2),t.Q6J("ngIf",""!==b.configData)}}function Vr(R,z){if(1&R&&(t.TgZ(0,"h2"),t._uU(1),t.qZA()),2&R){const b=t.oxw().$implicit;t.xp6(1),t.Oqu(b)}}function za(R,z){if(1&R&&(t.TgZ(0,"h4",14),t._uU(1),t.qZA()),2&R){const b=t.oxw().$implicit;t.xp6(1),t.Oqu(b)}}function _c(R,z){1&R&&t._UZ(0,"mat-divider",15),2&R&&t.Q6J("inset",!0)}function xl(R,z){if(1&R&&(t.TgZ(0,"mat-list-item")(1,"mat-card-subtitle",7),t.YNc(2,Vr,2,1,"h2",10),t.qZA(),t.TgZ(3,"mat-card-subtitle",11),t.YNc(4,za,2,1,"h4",12),t.qZA(),t.YNc(5,_c,1,1,"mat-divider",13),t.qZA()),2&R){const b=z.$implicit;t.xp6(2),t.Q6J("ngIf",b.indexOf("[")>=0),t.xp6(2),t.Q6J("ngIf",b.indexOf("[")<0),t.xp6(1),t.Q6J("ngIf",b.indexOf("[")<0)}}function Cl(R,z){if(1&R&&(t.TgZ(0,"div",8)(1,"mat-list"),t.YNc(2,xl,6,3,"mat-list-item",9),t.qZA()()),2&R){const b=t.oxw();t.xp6(2),t.Q6J("ngForOf",b.configData)}}let Gc=(()=>{class R{constructor(b,G,Z){this.store=b,this.rtlEffects=G,this.router=Z,this.configData="",this.fileFormat="INI",this.faCog=en.b7W,this.unSubs=[new Yi.x,new Yi.x]}ngOnInit(){this.store.dispatch((0,Sn.Q2)({payload:"ln"})),this.rtlEffects.showLnConfig.pipe((0,Ki.R)(this.unSubs[1])).subscribe(b=>{const G=b.data;this.fileFormat=b.format,this.configData=""===G||!G||"INI"!==this.fileFormat&&"HOCON"!==this.fileFormat?""!==G&&G&&"JSON"===this.fileFormat?G:"":G.split("\n")})}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||R)(t.Y36(zi.yh),t.Y36(Ji.V),t.Y36(Jn.F0))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-lnp-config"]],decls:4,vars:2,consts:[["fxLayout","column","fxFlex","100"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start start"],["fxFlex","100","class","mb-6",4,"ngIf"],["fxFlex","100",4,"ngIf"],["fxFlex","100",1,"mb-6"],[1,"pre-wrap"],["class","my-1",4,"ngIf"],[1,"my-1"],["fxFlex","100"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"m-0"],["class","ml-4",4,"ngIf"],[3,"inset",4,"ngIf"],[1,"ml-4"],[3,"inset"]],template:function(G,Z){1&G&&(t.TgZ(0,"div",0)(1,"div",1),t.YNc(2,$s,5,4,"div",2)(3,Cl,3,1,"div",3),t.qZA()()),2&G&&(t.xp6(2),t.Q6J("ngIf",""!==Z.configData&&"JSON"===Z.fileFormat),t.xp6(1),t.Q6J("ngIf",""!==Z.configData&&("INI"===Z.fileFormat||"HOCON"===Z.fileFormat)))},dependencies:[on.sg,on.O5,Xi.xw,Xi.Wh,Xi.yH,ar.$j,Gs.i$,Gs.Tg,Fa.d,on.Ts],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]})}return R})();var sr=p(2249),Xn=p(234),kr=p(9191),ea=p(6339),pe=p(7509),Re=p(3305),_e=p(7466),He=p(2599);function pt(R,z){if(1&R&&(t.TgZ(0,"mat-option",35),t._uU(1),t.qZA()),2&R){const b=z.$implicit;t.Q6J("value",b.id),t.xp6(1),t.hij(" ",b.id," ")}}function Rt(R,z){1&R&&(t.TgZ(0,"mat-error"),t._uU(1,"Currency unit is required."),t.qZA())}function ni(R,z){if(1&R&&(t.TgZ(0,"mat-radio-button",36),t._uU(1),t.ALo(2,"titlecase"),t.qZA()),2&R){const b=z.$implicit,G=t.oxw();t.Q6J("value",b)("checked",G.selNode.Settings.userPersona===b),t.xp6(1),t.hij(" ",t.lcZ(2,3,b)," ")}}function Li(R,z){if(1&R&&(t.TgZ(0,"mat-radio-button",37),t._uU(1),t.qZA()),2&R){const b=z.$implicit;t.Q6J("value",b),t.xp6(1),t.hij("",b.name," ")}}const Ai=R=>({skin:!0,"selected-color":R});function cn(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"span",38)(1,"div",39),t.NdJ("click",function(){const Fe=t.CHM(b).$implicit,Lt=t.oxw();return t.KtG(Lt.changeThemeColor(Fe.id))}),t.ALo(2,"lowercase"),t.qZA(),t._uU(3),t.qZA()}if(2&R){const b=z.$implicit,G=t.oxw();t.xp6(1),t.Tol(t.lcZ(2,4,b.id)),t.Q6J("ngClass",t.VKq(6,Ai,G.selectedThemeColor===b.id)),t.xp6(2),t.hij(" ",b.name," ")}}let Qn=(()=>{class R{constructor(b,G,Z){this.logger=b,this.commonService=G,this.store=Z,this.faExclamationTriangle=en.eHv,this.faMoneyBillAlt=en.co4,this.faPaintBrush=en.XsY,this.faInfoCircle=en.sqG,this.faEyeSlash=en.Aq,this.userPersonas=[Yt.ol.OPERATOR,Yt.ol.MERCHANT],this.currencyUnits=Yt.Er,this.themeModes=Yt.wZ.modes,this.themeColors=Yt.wZ.themes,this.selectedThemeMode=Yt.wZ.modes[0],this.selectedThemeColor=Yt.wZ.themes[0].id,this.currencyUnit="BTC",this.smallerCurrencyUnit="Sats",this.showSettingOption=!0,this.screenSize="",this.screenSizeEnum=Yt.cu,this.unSubs=[new Yi.x,new Yi.x],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.store.select(Fr.dT).pipe((0,Ki.R)(this.unSubs[0])).subscribe(b=>{this.selNode=b,this.selectedThemeMode=this.themeModes.find(G=>this.selNode.Settings.themeMode===G.id)||this.themeModes[0],this.selectedThemeColor=this.selNode.Settings.themeColor,this.selNode.Settings.fiatConversion||(this.selNode.Settings.currencyUnit=""),this.previousSettings=JSON.parse(JSON.stringify(this.selNode.Settings)),this.logger.info(b)})}onCurrencyChange(b){this.selNode.Settings.currencyUnits=[...Yt.uA,b.value],this.store.dispatch((0,kr.JT)({payload:{userPersona:this.selNode.Settings.userPersona,channelBackupPath:this.selNode.Settings.channelBackupPath,selCurrencyUnit:b.value,currencyUnits:this.selNode.Settings.currencyUnits,fiatConversion:this.selNode.Settings.fiatConversion,unannouncedChannels:this.selNode.Settings.unannouncedChannels,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.Settings.swapServerUrl,boltzServerUrl:this.selNode.Settings.boltzServerUrl}})),this.store.dispatch((0,Xn.Mf)({payload:{userPersona:this.selNode.Settings.userPersona,channelBackupPath:this.selNode.Settings.channelBackupPath,selCurrencyUnit:b.value,currencyUnits:this.selNode.Settings.currencyUnits,fiatConversion:this.selNode.Settings.fiatConversion,unannouncedChannels:this.selNode.Settings.unannouncedChannels,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.Settings.swapServerUrl,boltzServerUrl:this.selNode.Settings.boltzServerUrl}})),this.store.dispatch((0,sr.Zr)({payload:{userPersona:this.selNode.Settings.userPersona,channelBackupPath:this.selNode.Settings.channelBackupPath,selCurrencyUnit:b.value,currencyUnits:this.selNode.Settings.currencyUnits,fiatConversion:this.selNode.Settings.fiatConversion,unannouncedChannels:this.selNode.Settings.unannouncedChannels,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.Settings.swapServerUrl,boltzServerUrl:this.selNode.Settings.boltzServerUrl}}))}toggleSettings(b,G){this.selNode.Settings[b]=!this.selNode.Settings[b]}changeThemeColor(b){this.selectedThemeColor=b,this.selNode.Settings.themeColor=b}chooseThemeMode(){this.selNode.Settings.themeMode=this.selectedThemeMode.id}onUpdateNodeSettings(){if(this.selNode.Settings.fiatConversion&&!this.selNode.Settings.currencyUnit)return!0;this.logger.info(this.selNode.Settings),this.store.dispatch((0,kr.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,Xn.Mf)({payload:{userPersona:this.selNode.Settings.userPersona,channelBackupPath:this.selNode.Settings.channelBackupPath,selCurrencyUnit:this.selNode.Settings.currencyUnit,currencyUnits:this.selNode.Settings.currencyUnits,fiatConversion:this.selNode.Settings.fiatConversion,unannouncedChannels:this.selNode.Settings.unannouncedChannels,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.Settings.swapServerUrl,boltzServerUrl:this.selNode.Settings.boltzServerUrl}})),this.store.dispatch((0,sr.Zr)({payload:{userPersona:this.selNode.Settings.userPersona,channelBackupPath:this.selNode.Settings.channelBackupPath,selCurrencyUnit:this.selNode.Settings.currencyUnit,currencyUnits:this.selNode.Settings.currencyUnits,fiatConversion:this.selNode.Settings.fiatConversion,unannouncedChannels:this.selNode.Settings.unannouncedChannels,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.Settings.swapServerUrl,boltzServerUrl:this.selNode.Settings.boltzServerUrl}}))}onResetSettings(){const b=this.selNode.index||-1;this.selNode.Settings=this.previousSettings,this.selectedThemeMode=this.themeModes.find(G=>G.id===this.previousSettings.themeMode)||this.themeModes[0],this.selectedThemeColor=this.previousSettings.themeColor,this.store.dispatch((0,Sn.fk)({payload:{uiMessage:Yt.m6.NO_SPINNER,prevLnNodeIndex:+b,currentLnNode:this.selNode,isInitialSetup:!0}}))}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||R)(t.Y36(Se.mQ),t.Y36(ea.v),t.Y36(zi.yh))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-node-settings"]],decls:78,vars:18,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",3,"perfectScrollbar"],["fxLayout","column","fxLayoutAlign","start stretch",1,"settings-container","page-sub-title-container"],["form","ngForm"],["displayMode","flat","multi","false"],["fxLayout","column",1,"flat-expansion-panel","mt-1"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column","fxLayoutAlign","start stretch"],["fxLayout","row","fxFlex","100",1,"alert","alert-info","mb-1"],[1,"mr-1","alert-icon",3,"icon"],["fxLayout","row wrap","fxLayoutAlign","start center"],["tabindex","1","color","primary","name","unannouncedChannels",3,"ngModel","ngModelChange","change"],["fxFlex","100",1,"alert","alert-warn"],["href","https://www.blockchain.com/api/exchange_rates_api","target","blank"],["tabindex","2","color","primary","name","fiatConversion",1,"mr-2",3,"ngModel","ngModelChange","change"],["autoFocus","","tabindex","3","name","currencyUnit",3,"disabled","required","ngModel","ngModelChange","selectionChange"],["currencyUnit","ngModel"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],["fxLayout","row","fxFlex","100",1,"alert","alert-info","mb-0"],["fxLayout","column","fxLayoutAlign","start start","fxFlex","100"],["color","primary","tabindex","1","name","userPersona",1,"radio-group",3,"ngModel","ngModelChange"],["class","radio-text mr-4",3,"value","checked",4,"ngFor","ngForOf"],[1,"mt-1"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start start"],["color","primary","name","themeMode",1,"radio-group",3,"ngModel","ngModelChange","change"],["tabindex","5","class","radio-text mr-4",3,"value",4,"ngFor","ngForOf"],["fxLayout","column","fxLayout.gt-xs","row","fxFlex","100","fxLayoutAlign","space-between stretch","fxLayoutAlign.gt-xs","start stretch"],["fxLayout","column","fxFlex.gt-xs","50","fxFlex.gt-md","40","fxLayoutAlign","space-between stretch"],["fxLayout","row","fxFlex","100","fxLayoutAlign","space-between start"],["fxLayout","row","class","theme-name",4,"ngFor","ngForOf"],["fxLayout","column","fxLayoutAlign","start start",1,"mt-1"],["fxLayout","row"],["mat-stroked-button","","color","primary","tabindex","10",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","tabindex","11",3,"click"],[3,"value"],[1,"radio-text","mr-4",3,"value","checked"],["tabindex","5",1,"radio-text","mr-4",3,"value"],["fxLayout","row",1,"theme-name"],["tabindex","9",3,"ngClass","click"]],template:function(G,Z){1&G&&(t.TgZ(0,"div",0)(1,"form",1,2)(3,"mat-accordion",3)(4,"mat-expansion-panel",4)(5,"mat-expansion-panel-header")(6,"mat-panel-title"),t._UZ(7,"fa-icon",5),t.TgZ(8,"span",6),t._uU(9,"Open Unannounced Channels"),t.qZA()()(),t.TgZ(10,"div",7)(11,"div",8),t._UZ(12,"fa-icon",9),t.TgZ(13,"span"),t._uU(14,"Use this control to toggle setting which defaults to opening unannounced channels only."),t.qZA()(),t.TgZ(15,"div",10)(16,"mat-slide-toggle",11),t.NdJ("ngModelChange",function(Lt){return Z.selNode.Settings.unannouncedChannels=Lt})("change",function(){return!Z.selNode.Settings.unannouncedChannels}),t._uU(17,"Open Unannounced Channels"),t.qZA()()()(),t.TgZ(18,"mat-expansion-panel",4)(19,"mat-expansion-panel-header")(20,"mat-panel-title"),t._UZ(21,"fa-icon",5),t.TgZ(22,"span",6),t._uU(23,"Balance Display"),t.qZA()()(),t.TgZ(24,"div",7)(25,"div",12),t._UZ(26,"fa-icon",9),t.TgZ(27,"span"),t._uU(28,"Fiat conversion calls "),t.TgZ(29,"strong")(30,"a",13),t._uU(31,"Blockchain.com"),t.qZA()(),t._uU(32," API to get conversion rates."),t.qZA()(),t.TgZ(33,"div",10)(34,"mat-slide-toggle",14),t.NdJ("ngModelChange",function(Lt){return Z.selNode.Settings.fiatConversion=Lt})("change",function(){return!Z.selNode.Settings.currencyUnit}),t._uU(35,"Enable Fiat Conversion"),t.qZA(),t.TgZ(36,"mat-form-field")(37,"mat-label"),t._uU(38,"Fiat Currency"),t.qZA(),t.TgZ(39,"mat-select",15,16),t.NdJ("ngModelChange",function(Lt){return Z.selNode.Settings.currencyUnit=Lt})("selectionChange",function(Lt){return Z.onCurrencyChange(Lt)}),t.YNc(41,pt,2,2,"mat-option",17),t.qZA(),t.YNc(42,Rt,2,0,"mat-error",18),t.qZA()()()(),t.TgZ(43,"mat-expansion-panel",4)(44,"mat-expansion-panel-header")(45,"mat-panel-title"),t._UZ(46,"fa-icon",5),t.TgZ(47,"span",6),t._uU(48,"Customization"),t.qZA()()(),t.TgZ(49,"div",7)(50,"div",19),t._UZ(51,"fa-icon",9),t.TgZ(52,"span"),t._uU(53,"Dashboard layout will be tailored based on the role selected to better serve its needs."),t.qZA()(),t.TgZ(54,"div",20)(55,"h4"),t._uU(56,"Dashboard Layout"),t.qZA(),t.TgZ(57,"mat-radio-group",21),t.NdJ("ngModelChange",function(Lt){return Z.selNode.Settings.userPersona=Lt}),t.YNc(58,ni,3,5,"mat-radio-button",22),t.qZA()(),t._UZ(59,"mat-divider",23),t.TgZ(60,"div",24)(61,"h4"),t._uU(62,"Mode"),t.qZA(),t.TgZ(63,"mat-radio-group",25),t.NdJ("ngModelChange",function(Lt){return Z.selectedThemeMode=Lt})("change",function(){return Z.chooseThemeMode()}),t.YNc(64,Li,2,2,"mat-radio-button",26),t.qZA()(),t._UZ(65,"mat-divider",23),t.TgZ(66,"div",27)(67,"div",28)(68,"h4"),t._uU(69,"Themes"),t.qZA(),t.TgZ(70,"div",29),t.YNc(71,cn,4,8,"span",30),t.qZA()()()()()()(),t.TgZ(72,"div",31)(73,"div",32)(74,"button",33),t.NdJ("click",function(){return Z.onResetSettings()}),t._uU(75,"Reset"),t.qZA(),t.TgZ(76,"button",34),t.NdJ("click",function(){return Z.onUpdateNodeSettings()}),t._uU(77,"Update"),t.qZA()()()()),2&G&&(t.xp6(7),t.Q6J("icon",Z.faEyeSlash),t.xp6(5),t.Q6J("icon",Z.faInfoCircle),t.xp6(4),t.Q6J("ngModel",Z.selNode.Settings.unannouncedChannels),t.xp6(5),t.Q6J("icon",Z.faMoneyBillAlt),t.xp6(5),t.Q6J("icon",Z.faExclamationTriangle),t.xp6(8),t.Q6J("ngModel",Z.selNode.Settings.fiatConversion),t.xp6(5),t.Q6J("disabled",!Z.selNode.Settings.fiatConversion)("required",Z.selNode.Settings.fiatConversion)("ngModel",Z.selNode.Settings.currencyUnit),t.xp6(2),t.Q6J("ngForOf",Z.currencyUnits),t.xp6(1),t.Q6J("ngIf",Z.selNode.Settings.fiatConversion&&!Z.selNode.Settings.currencyUnit),t.xp6(4),t.Q6J("icon",Z.faPaintBrush),t.xp6(5),t.Q6J("icon",Z.faInfoCircle),t.xp6(6),t.Q6J("ngModel",Z.selNode.Settings.userPersona),t.xp6(1),t.Q6J("ngForOf",Z.userPersonas),t.xp6(5),t.Q6J("ngModel",Z.selectedThemeMode),t.xp6(1),t.Q6J("ngForOf",Z.themeModes),t.xp6(7),t.Q6J("ngForOf",Z.themeColors))},dependencies:[on.mk,on.sg,on.O5,dt._Y,dt.JJ,dt.JL,dt.Q7,dt.On,dt.F,$r.BN,Xi.xw,Xi.Wh,Xi.yH,pe.oO,Ye.lW,Re.pp,Re.ib,Re.yz,Re.yK,ut.KE,ut.hX,ut.TO,Fa.d,_e.VQ,_e.U0,ti.gD,Ne.ey,He.Rr,ft.$V,_t.h,on.i8,on.rS],styles:["h4[_ngcontent-%COMP%]{margin:.75rem 0 .5rem}.theme-name[_ngcontent-%COMP%]{min-width:10rem}@media only screen and (max-width: 37.5em){.theme-name[_ngcontent-%COMP%]{min-width:unset}}.skin[_ngcontent-%COMP%]{width:1.25rem;height:1.25rem;border-radius:50%;cursor:pointer;margin-right:.5rem}.skin.selected-color[_ngcontent-%COMP%]{width:1rem;height:1rem;border:2px solid}.skin.purple[_ngcontent-%COMP%]{background-color:#5e4ea5}.skin.indigo[_ngcontent-%COMP%]{background-color:#3f51b5}.skin.teal[_ngcontent-%COMP%]{background-color:#00695c}.skin.pink[_ngcontent-%COMP%]{background-color:#d81b60}.skin.yellow[_ngcontent-%COMP%]{background-color:#a1842c}"]})}return R})();var $n=p(2460),Nr=p(3468),Io=p(7321),Zs=p(9930),Co=p(617),Ps=p(2596),ls=p(2995);const lo=R=>({error:R});function vc(R,z){if(1&R&&t.GkF(0,14),2&R){const b=t.oxw(),G=t.MAs(18);t.Q6J("ngTemplateOutlet",G)("ngTemplateOutletContext",t.VKq(2,lo,b.errorMessage))}}function Hr(R,z){if(1&R&&(t.TgZ(0,"mat-option",31),t._uU(1),t.qZA()),2&R){const b=z.$implicit;t.Q6J("value",b),t.xp6(1),t.hij(" ",b," ")}}function R2(R,z){if(1&R&&(t.TgZ(0,"mat-option",31),t._uU(1),t.ALo(2,"camelCaseWithSpaces"),t.ALo(3,"camelcaseWithReplace"),t.qZA()),2&R){const b=z.$implicit,G=t.oxw(3);t.Q6J("value",b),t.xp6(1),t.hij(" ","ECL"===G.selNode.lnImplementation?t.lcZ(2,2,b):t.xi3(3,4,b,"_")," ")}}function yd(R,z){if(1&R&&(t.TgZ(0,"mat-option",31),t._uU(1),t.qZA()),2&R){const b=z.$implicit;t.Q6J("value",b),t.xp6(1),t.hij(" ","desc"===b?"Descending":"Ascending"," ")}}function p1(R,z){if(1&R&&(t.TgZ(0,"mat-option",34),t._uU(1),t.ALo(2,"camelCaseWithSpaces"),t.ALo(3,"camelcaseWithReplace"),t.qZA()),2&R){const b=z.$implicit,G=t.oxw(2).$implicit,Z=t.oxw(2);t.Q6J("value",b.column)("disabled",G.columnSelection.length<=2&&G.columnSelection.includes(b.column)),t.xp6(1),t.hij(" ",b.label?b.label:"ECL"===Z.selNode.lnImplementation?t.lcZ(2,3,b.column):t.xi3(3,5,b.column,"_")," ")}}function Ws(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"mat-form-field",32)(1,"mat-label"),t._uU(2,"Column selection (Desktop Resolution)"),t.qZA(),t.TgZ(3,"mat-select",33),t.NdJ("ngModelChange",function(Z){t.CHM(b);const Fe=t.oxw().$implicit;return t.KtG(Fe.columnSelection=Z)})("selectionChange",function(){t.CHM(b);const Z=t.oxw().$implicit,Fe=t.oxw(2);return t.KtG(Fe.oncolumnSelectionChange(Z))}),t.YNc(4,p1,4,8,"mat-option",28),t.qZA()()}if(2&R){const b=t.oxw().$implicit,G=t.oxw().$implicit,Z=t.oxw();t.xp6(3),t.hYB("name","",G.pageId,"",b.tableId,"-columns-selection"),t.Q6J("ngModel",b.columnSelection),t.xp6(1),t.Q6J("ngForOf",Z.nodePageDefs[G.pageId][b.tableId].allowedColumns)}}function es(R,z){if(1&R&&(t.TgZ(0,"mat-option",34),t._uU(1),t.ALo(2,"camelCaseWithSpaces"),t.ALo(3,"camelcaseWithReplace"),t.qZA()),2&R){const b=z.$implicit,G=t.oxw().$implicit,Z=t.oxw(2);t.Q6J("value",b.column)("disabled",G.columnSelectionSM.length<=1&&G.columnSelectionSM.includes(b.column)||G.columnSelectionSM.length>=3&&!G.columnSelectionSM.includes(b.column)),t.xp6(1),t.hij(" ",b.label?b.label:"ECL"===Z.selNode.lnImplementation?t.lcZ(2,3,b.column):t.xi3(3,5,b.column,"_")," ")}}const Rs=R=>({"ml-minus-1":R});function ds(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"div",17)(1,"div",18)(2,"span",19),t._uU(3),t.ALo(4,"camelcaseWithReplace"),t.qZA(),t.TgZ(5,"mat-form-field",20)(6,"mat-label"),t._uU(7,"Records/Page"),t.qZA(),t.TgZ(8,"mat-select",21),t.NdJ("ngModelChange",function(Z){const Lt=t.CHM(b).$implicit;return t.KtG(Lt.recordsPerPage=Z)}),t.YNc(9,Hr,2,2,"mat-option",22),t.qZA()(),t.TgZ(10,"mat-form-field",20)(11,"mat-label"),t._uU(12,"Sort By"),t.qZA(),t.TgZ(13,"mat-select",23),t.NdJ("ngModelChange",function(Z){const Lt=t.CHM(b).$implicit;return t.KtG(Lt.sortBy=Z)}),t.YNc(14,R2,4,7,"mat-option",22),t.qZA()(),t.TgZ(15,"mat-form-field",20)(16,"mat-label"),t._uU(17,"Sort Order"),t.qZA(),t.TgZ(18,"mat-select",24),t.NdJ("ngModelChange",function(Z){const Lt=t.CHM(b).$implicit;return t.KtG(Lt.sortOrder=Z)}),t.YNc(19,yd,2,2,"mat-option",22),t.qZA()(),t.YNc(20,Ws,5,4,"mat-form-field",25),t.TgZ(21,"mat-form-field",26)(22,"mat-label"),t._uU(23,"Column Selection (Mobile Resolution)"),t.qZA(),t.TgZ(24,"mat-select",27),t.NdJ("ngModelChange",function(Z){const Lt=t.CHM(b).$implicit;return t.KtG(Lt.columnSelectionSM=Z)}),t.YNc(25,es,4,8,"mat-option",28),t.qZA()(),t.TgZ(26,"button",29),t.NdJ("click",function(){const Fe=t.CHM(b).$implicit,Lt=t.oxw().$implicit,ei=t.oxw();return t.KtG(ei.onTableReset(Lt.pageId,Fe))}),t.TgZ(27,"mat-icon",30),t._uU(28,"restore"),t.qZA()()()()}if(2&R){const b=z.$implicit,G=t.oxw().$implicit,Z=t.oxw();t.xp6(3),t.hij("",t.xi3(4,20,b.tableId,"_"),":"),t.xp6(5),t.hYB("name","",G.pageId,"",b.tableId,"-page-size-options"),t.Q6J("disabled",Z.nodePageDefs[G.pageId][b.tableId].disablePageSize)("ngModel",b.recordsPerPage),t.xp6(1),t.Q6J("ngForOf",Z.pageSizeOptions),t.xp6(4),t.hYB("name","",G.pageId,"",b.tableId,"-sort-by"),t.Q6J("ngModel",b.sortBy),t.xp6(1),t.Q6J("ngForOf",b.columnSelection),t.xp6(4),t.hYB("name","",G.pageId,"",b.tableId,"-sort-order"),t.Q6J("ngModel",b.sortOrder),t.xp6(1),t.Q6J("ngForOf",Z.sortOrders),t.xp6(1),t.Q6J("ngIf",Z.screenSize!==Z.screenSizeEnum.XS),t.xp6(4),t.hYB("name","",G.pageId,"",b.tableId,"-columns-selection-sm"),t.Q6J("ngModel",b.columnSelectionSM),t.xp6(1),t.Q6J("ngForOf",Z.nodePageDefs[G.pageId][b.tableId].allowedColumns),t.xp6(2),t.Q6J("ngClass",t.VKq(23,Rs,Z.screenSize===Z.screenSizeEnum.XS||Z.screenSize===Z.screenSizeEnum.SM))}}function Ns(R,z){if(1&R&&t.GkF(0,14),2&R){const b=t.oxw(2),G=t.MAs(18);t.Q6J("ngTemplateOutlet",G)("ngTemplateOutletContext",t.VKq(2,lo,b.errorMessage))}}const wl=R=>({"error-border":R});function Zc(R,z){if(1&R&&(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,ds,29,25,"div",16)(6,Ns,1,4,"ng-container",6),t.qZA()),2&R){const b=z.$implicit,G=t.oxw();t.Q6J("ngClass",t.VKq(7,wl,(null==G.errorMessage?null:G.errorMessage.page)===b.pageId)),t.xp6(3),t.Oqu(t.xi3(4,4,b.pageId,"_")),t.xp6(2),t.Q6J("ngForOf",b.tables),t.xp6(1),t.Q6J("ngIf",G.errorMessage&&(null==G.errorMessage?null:G.errorMessage.page)===b.pageId)}}function Wc(R,z){if(1&R&&(t.TgZ(0,"mat-panel-title"),t._uU(1),t.ALo(2,"titlecase"),t.qZA()),2&R){const b=t.oxw().error;t.xp6(1),t.hij("Page ",t.lcZ(2,1,b.page),"")}}function Yc(R,z){if(1&R&&(t.TgZ(0,"mat-list-item")(1,"mat-icon",39),t._uU(2,"close"),t.qZA(),t.TgZ(3,"span"),t._uU(4),t.qZA()()),2&R){const b=t.oxw().error;t.xp6(4),t.Oqu(b.message)}}function La(R,z){if(1&R&&(t.TgZ(0,"mat-list-item")(1,"mat-icon",39),t._uU(2,"close"),t.qZA(),t.TgZ(3,"span"),t._uU(4),t.ALo(5,"titlecase"),t.qZA()()),2&R){const b=z.$implicit;t.xp6(4),t.AsE("Table ",t.lcZ(5,2,b.table)," ",b.message,"")}}const Ml=R=>({"error-border p-2":R});function N2(R,z){if(1&R&&(t.TgZ(0,"div",35),t.YNc(1,Wc,3,3,"mat-panel-title",36),t.TgZ(2,"mat-list",37),t.YNc(3,Yc,5,1,"mat-list-item",36)(4,La,6,4,"mat-list-item",38),t.qZA()()),2&R){const b=z.error,G=t.oxw();t.Q6J("ngClass",t.VKq(4,Ml,"unknown"===G.errorMessage.page)),t.xp6(1),t.Q6J("ngIf","unknown"===G.errorMessage.page),t.xp6(2),t.Q6J("ngIf",b.message),t.xp6(1),t.Q6J("ngForOf",b.tables)}}let jc=(()=>{class R{constructor(b,G,Z,Fe){this.logger=b,this.commonService=G,this.store=Z,this.actions=Fe,this.faPenRuler=en.SoD,this.faExclamationTriangle=en.eHv,this.screenSize="",this.screenSizeEnum=Yt.cu,this.pageSizeOptions=Yt.TJ,this.pageSettings=[],this.initialPageSettings=[],this.defaultSettings=[],this.nodePageDefs={},this.sortOrders=Yt.zZ,this.apiCallStatus=null,this.apiCallStatusEnum=Yt.Bn,this.errorMessage=null,this.unSubs=[new Yi.x,new Yi.x,new Yi.x,new Yi.x],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.store.select(Fr.dT).pipe((0,Ki.R)(this.unSubs[0])).subscribe(b=>{switch(this.selNode=b,this.logger.info(this.selNode),this.selNode.lnImplementation){case"CLN":this.initialPageSettings=Object.assign([],Yt.gG),this.defaultSettings=Object.assign([],Yt.gG),this.nodePageDefs=Yt.At,this.store.select(Nr.AS).pipe((0,Ki.R)(this.unSubs[1]),(0,$n.M)(this.store.select(Nr.lw))).subscribe(([G,Z])=>{const Fe=JSON.parse(JSON.stringify(G.pageSettings));if(this.errorMessage=null,this.apiCallStatus=G.apiCallStatus,this.apiCallStatus.status===Yt.Bn.ERROR)this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=Fe,this.initialPageSettings=Fe;else{if(!Z?.enableOffers){const Lt=Fe.find(Mi=>"transactions"===Mi.pageId),ei=Lt?.tables.findIndex(Mi=>"offers"===Mi.tableId),fi=Lt?.tables.findIndex(Mi=>"offer_bookmarks"===Mi.tableId);ei>-1&&Lt?.tables.splice(ei,1),fi>-1&&Lt?.tables.splice(fi,1)}if(!Z?.enablePeerswap){const Lt=Fe.findIndex(ei=>"peerswap"===ei.pageId);Lt>-1&&Fe.splice(Lt,1)}this.pageSettings=Fe,this.initialPageSettings=Fe}this.logger.info(Fe)}),this.actions.pipe((0,Ki.R)(this.unSubs[2]),(0,dr.h)(G=>G.type===Yt.AB.UPDATE_API_CALL_STATUS_CLN||G.type===Yt.AB.SAVE_PAGE_SETTINGS_CLN)).subscribe(G=>{G.type===Yt.AB.UPDATE_API_CALL_STATUS_CLN&&G.payload.status===Yt.Bn.ERROR&&"SavePageSettings"===G.payload.action&&(this.errorMessage=JSON.parse(G.payload.message))});break;case"ECL":this.initialPageSettings=Object.assign([],Yt.c3),this.defaultSettings=Object.assign([],Yt.c3),this.nodePageDefs=Yt.Xk,this.store.select(Zs.nF).pipe((0,Ki.R)(this.unSubs[1]),(0,$n.M)(this.store.select(Zs.LR))).subscribe(([G,Z])=>{const Fe=JSON.parse(JSON.stringify(G.pageSettings));this.errorMessage=null,this.apiCallStatus=G.apiCallStatus,this.apiCallStatus.status===Yt.Bn.ERROR?(this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=Fe,this.initialPageSettings=Fe):(this.pageSettings=Fe,this.initialPageSettings=Fe),this.logger.info(Fe)}),this.actions.pipe((0,Ki.R)(this.unSubs[2]),(0,dr.h)(G=>G.type===Yt.lr.UPDATE_API_CALL_STATUS_ECL||G.type===Yt.lr.SAVE_PAGE_SETTINGS_ECL)).subscribe(G=>{G.type===Yt.lr.UPDATE_API_CALL_STATUS_ECL&&G.payload.status===Yt.Bn.ERROR&&"SavePageSettings"===G.payload.action&&(this.errorMessage=JSON.parse(G.payload.message))});break;default:this.initialPageSettings=Object.assign([],Yt.gK),this.defaultSettings=Object.assign([],Yt.gK),this.nodePageDefs=Yt.hG,this.store.select(Io.Pr).pipe((0,Ki.R)(this.unSubs[1]),(0,$n.M)(this.store.select(Io.$k))).subscribe(([G,Z])=>{const Fe=JSON.parse(JSON.stringify(G.pageSettings));if(this.errorMessage=null,this.apiCallStatus=G.apiCallStatus,this.apiCallStatus.status===Yt.Bn.ERROR)this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=Fe,this.initialPageSettings=Fe;else{if(!Z?.swapServerUrl||""===Z.swapServerUrl.trim()){const Lt=Fe.findIndex(ei=>"loop"===ei.pageId);Lt>-1&&Fe.splice(Lt,1)}if(!Z?.boltzServerUrl||""===Z.boltzServerUrl.trim()){const Lt=Fe.findIndex(ei=>"boltz"===ei.pageId);Lt>-1&&Fe.splice(Lt,1)}if(!Z?.enablePeerswap){const Lt=Fe.findIndex(ei=>"peerswap"===ei.pageId);Lt>-1&&Fe.splice(Lt,1)}this.pageSettings=Fe,this.initialPageSettings=Fe}this.logger.info(Fe)}),this.actions.pipe((0,Ki.R)(this.unSubs[2]),(0,dr.h)(G=>G.type===Yt.uR.UPDATE_API_CALL_STATUS_LND||G.type===Yt.uR.SAVE_PAGE_SETTINGS_LND)).subscribe(G=>{G.type===Yt.uR.UPDATE_API_CALL_STATUS_LND&&G.payload.status===Yt.Bn.ERROR&&"SavePageSettings"===G.payload.action&&(this.errorMessage=JSON.parse(G.payload.message))})}})}oncolumnSelectionChange(b){b.columnSelection&&(!b.sortBy||!b.columnSelection.includes(b.sortBy))&&(b.sortBy=b.columnSelection[0])}onUpdatePageSettings(){if(this.pageSettings.reduce((b,G)=>b||G.tables.reduce((Z,Fe)=>!(Fe.recordsPerPage&&Fe.sortBy&&Fe.sortOrder&&Fe.columnSelection&&Fe.columnSelection.length>=2),!1),!1))return!0;switch(this.errorMessage="",this.selNode.lnImplementation){case"CLN":this.store.dispatch((0,Xn.eF)({payload:this.pageSettings}));break;case"ECL":this.store.dispatch((0,sr.eF)({payload:this.pageSettings}));break;default:this.store.dispatch((0,kr.eF)({payload:this.pageSettings}))}}onTableReset(b,G){const Z=this.pageSettings.findIndex(ei=>ei.pageId===b),Fe=this.pageSettings[Z].tables.findIndex(ei=>ei.tableId===G.tableId),Lt=this.defaultSettings.find(ei=>ei.pageId===b)?.tables.find(ei=>ei.tableId===G.tableId)||this.pageSettings.find(ei=>ei.pageId===b)?.tables.find(ei=>ei.tableId===G.tableId);this.pageSettings[Z].tables.splice(Fe,1,Lt)}onResetPageSettings(b){"current"===b?(this.errorMessage=null,this.pageSettings=JSON.parse(JSON.stringify(this.initialPageSettings))):(this.errorMessage=null,this.pageSettings=JSON.parse(JSON.stringify(this.defaultSettings)))}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||R)(t.Y36(Se.mQ),t.Y36(ea.v),t.Y36(zi.yh),t.Y36(oo.eX))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-page-settings"]],decls:19,vars:3,consts:[["fxLayout","column","fxFlex","100",3,"perfectScrollbar"],["fxLayout","column","fxLayoutAlign","start stretch",1,"settings-container","page-sub-title-container","mt-1"],["form","ngForm"],["fxLayout","row"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],["displayMode","flat","multi","false"],["fxLayout","column","class","flat-expansion-panel mt-1","expanded","false",3,"ngClass",4,"ngFor","ngForOf"],["fxLayout","row",1,"mt-1"],["mat-stroked-button","","color","primary","tabindex","8",1,"mr-1",3,"click"],["mat-stroked-button","","color","primary","tabindex","9",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","tabindex","10",3,"click"],["errorObjectBlock",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["fxLayout","column","expanded","false",1,"flat-expansion-panel","mt-1",3,"ngClass"],["fxLayout","column","fxLayoutAlign","start stretch","class","padding-gap-x-large table-setting-row",4,"ngFor","ngForOf"],["fxLayout","column","fxLayoutAlign","start stretch",1,"padding-gap-x-large","table-setting-row"],["fxLayout","column","fxLayoutAlign","space-between stretch","fxLayout.gt-sm","row wrap","fxLayoutAlign.gt-sm","space-between center"],["fxFlex","10",1,"mb-2"],["fxLayout","column","fxFlex","10"],["tabindex","2","required","",3,"disabled","name","ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["tabindex","3","required","",3,"name","ngModel","ngModelChange"],["tabindex","4","required","",3,"name","ngModel","ngModelChange"],["fxFlex","35","matTooltip","Select a minimum of 2 columns",4,"ngIf"],["fxLayout","column","fxFlex","15","matTooltip","Select between 1 and 3 columns"],["tabindex","5","multiple","","required","",3,"name","ngModel","ngModelChange"],[3,"value","disabled",4,"ngFor","ngForOf"],["mat-icon-button","","color","primary","type","button","tabindex","7","matTooltip","Reset to Default",1,"mb-2",3,"click"],["color","primary",3,"ngClass"],[3,"value"],["fxFlex","35","matTooltip","Select a minimum of 2 columns"],["tabindex","6","multiple","","required","",3,"name","ngModel","ngModelChange","selectionChange"],[3,"value","disabled"],[3,"ngClass"],[4,"ngIf"],["role","list"],[4,"ngFor","ngForOf"],[1,"ml-1","icon-small","red"]],template:function(G,Z){1&G&&(t.TgZ(0,"div",0)(1,"form",1,2)(3,"div",3),t._UZ(4,"fa-icon",4),t.TgZ(5,"span",5),t._uU(6,"Grid Settings"),t.qZA()(),t.YNc(7,vc,1,4,"ng-container",6),t.TgZ(8,"mat-accordion",7),t.YNc(9,Zc,7,9,"mat-expansion-panel",8),t.qZA()(),t.TgZ(10,"div",9)(11,"button",10),t.NdJ("click",function(){return Z.onResetPageSettings("current")}),t._uU(12,"Reset"),t.qZA(),t.TgZ(13,"button",11),t.NdJ("click",function(){return Z.onResetPageSettings("default")}),t._uU(14,"Reset to Default"),t.qZA(),t.TgZ(15,"button",12),t.NdJ("click",function(){return Z.onUpdatePageSettings()}),t._uU(16,"Save"),t.qZA()()(),t.YNc(17,N2,5,6,"ng-template",null,13,t.W1O)),2&G&&(t.xp6(4),t.Q6J("icon",Z.faPenRuler),t.xp6(3),t.Q6J("ngIf",Z.errorMessage&&"unknown"===Z.errorMessage.page),t.xp6(2),t.Q6J("ngForOf",Z.pageSettings))},dependencies:[on.mk,on.sg,on.O5,on.tP,dt._Y,dt.JJ,dt.JL,dt.Q7,dt.On,dt.F,$r.BN,Xi.xw,Xi.Wh,Xi.yH,pe.oO,Ye.lW,Ye.RK,Re.pp,Re.ib,Re.yz,Re.yK,Co.Hw,ut.KE,ut.hX,Gs.i$,Gs.Tg,ti.gD,Ne.ey,Ps.gM,ft.$V,on.rS,ls.D3,ls.i1],styles:[".table-setting-row[_ngcontent-%COMP%]:not(:first-child){margin:.5rem 0}"]})}return R})();function Kc(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"div",11),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.activeLink=Z.links[0].link)}),t._uU(1),t.qZA()}if(2&R){const b=t.oxw();t.s9C("routerLink",b.links[0].link),t.Q6J("active",b.activeLink===b.links[0].link),t.xp6(1),t.Oqu(b.links[0].name)}}const bc=()=>({initial:!1});function Nf(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"div",12),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.activeLink=Z.links[1].link)}),t._uU(1),t.qZA()}if(2&R){const b=t.oxw();t.s9C("routerLink",b.links[1].link),t.Q6J("active",b.activeLink===b.links[1].link)("state",t.DdM(4,bc)),t.xp6(1),t.Oqu(b.links[1].name)}}function g1(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"div",13),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.activeLink=Z.links[2].link)}),t._uU(1),t.qZA()}if(2&R){const b=t.oxw();t.s9C("routerLink",b.links[2].link),t.Q6J("active",b.activeLink===b.links[2].link),t.xp6(1),t.Oqu(b.links[2].name)}}let Hf=(()=>{class R{constructor(b,G,Z){this.store=b,this.router=G,this.activatedRoute=Z,this.faLayerGroup=en.Krp,this.links=[{link:"loop",name:"Loop"},{link:"boltz",name:"Boltz"},{link:"noservice",name:"No Service"}],this.activeLink="",this.unSubs=[new Yi.x,new Yi.x,new Yi.x]}ngOnInit(){this.setActiveLink(),this.router.events.pipe((0,Ki.R)(this.unSubs[0]),(0,dr.h)(b=>b instanceof Jn.Av)).subscribe({next:b=>{this.setActiveLink()}}),this.store.select(Fr.dT).pipe((0,Ki.R)(this.unSubs[1])).subscribe(b=>{this.selNode=b,this.setActiveLink(),this.router.navigate(["./"+this.activeLink],{relativeTo:this.activatedRoute})})}setActiveLink(){this.activeLink=this.selNode&&this.selNode.Settings?this.selNode.Settings.swapServerUrl&&""!==this.selNode.Settings.swapServerUrl.trim()?this.links[0].link:this.selNode.Settings.boltzServerUrl&&""!==this.selNode.Settings.boltzServerUrl.trim()?this.links[1].link:this.selNode.Settings.enablePeerswap?this.links[2].link:this.links[this.links.length-1].link:this.links[this.links.length-1].link}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||R)(t.Y36(zi.yh),t.Y36(Jn.F0),t.Y36(Jn.gz))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-services-settings"]],decls:16,vars:5,consts:[["fxLayout","row","fxLayoutAlign","start center",1,"page-sub-title-container","my-1"],["fxLayout","row"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["tabindex","1","role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngIf"],["tabindex","2","role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","state","click",4,"ngIf"],["tabindex","3","role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngIf"],["tabPanel",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch",1,"mat-tab-body-wrapper"],["tabindex","1","role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"],["tabindex","2","role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","state","click"],["tabindex","3","role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"]],template:function(G,Z){if(1&G&&(t.TgZ(0,"div",0)(1,"div",1),t._UZ(2,"fa-icon",2),t.TgZ(3,"span",3),t._uU(4,"Services"),t.qZA()()(),t.TgZ(5,"div",4)(6,"mat-card")(7,"mat-card-content",4)(8,"nav",5),t.YNc(9,Kc,2,3,"div",6)(10,Nf,2,5,"div",7)(11,g1,2,3,"div",8),t.qZA(),t._UZ(12,"mat-tab-nav-panel",null,9),t.TgZ(14,"div",10),t._UZ(15,"router-outlet"),t.qZA()()()()),2&G){const Fe=t.MAs(13);t.xp6(2),t.Q6J("icon",Z.faLayerGroup),t.xp6(6),t.Q6J("tabPanel",Fe),t.xp6(1),t.Q6J("ngIf",""!==(null==Z.selNode||null==Z.selNode.Settings||null==Z.selNode.Settings.swapServerUrl?null:Z.selNode.Settings.swapServerUrl.trim())),t.xp6(1),t.Q6J("ngIf",""!==(null==Z.selNode||null==Z.selNode.Settings||null==Z.selNode.Settings.boltzServerUrl?null:Z.selNode.Settings.boltzServerUrl.trim())),t.xp6(1),t.Q6J("ngIf",""===(null==Z.selNode||null==Z.selNode.Settings||null==Z.selNode.Settings.swapServerUrl?null:Z.selNode.Settings.swapServerUrl.trim())&&""===(null==Z.selNode||null==Z.selNode.Settings||null==Z.selNode.Settings.boltzServerUrl?null:Z.selNode.Settings.boltzServerUrl.trim()))}},dependencies:[on.O5,$r.BN,Xi.xw,Xi.Wh,Xi.yH,ar.a8,ar.dn,ra.BU,ra.sW,ra.Nj,Jn.lC,Jn.rH]})}return R})();const xd=["form"];function Ff(R,z){1&R&&(t.TgZ(0,"mat-error"),t._uU(1,"Loop server URL is required."),t.qZA())}function Oh(R,z){1&R&&(t.TgZ(0,"mat-error"),t._uU(1,"Specify the loop server url with 'https://'."),t.qZA())}function pm(R,z){1&R&&(t.TgZ(0,"mat-error"),t._uU(1,"Loop macaroon path is required."),t.qZA())}let Sl=(()=>{class R{constructor(b,G){this.logger=b,this.store=G,this.faInfoCircle=en.sqG,this.enableLoop=!1,this.unSubs=[new Yi.x,new Yi.x]}ngOnInit(){this.store.select(Fr.dT).pipe((0,Ki.R)(this.unSubs[0])).subscribe(b=>{this.selNode=b,this.enableLoop=!(!b.Settings.swapServerUrl||""===b.Settings.swapServerUrl.trim()),this.previousSelNode=JSON.parse(JSON.stringify(this.selNode)),this.logger.info(b)})}onEnableServiceChanged(b){this.enableLoop=b.checked,this.enableLoop||(this.selNode.Authentication.swapMacaroonPath="",this.selNode.Settings.swapServerUrl="")}onUpdateService(){if(this.selNode.Settings.swapServerUrl&&""!==this.selNode.Settings.swapServerUrl.trim()&&!this.form.controls.srvrUrl.value.includes("https://")&&this.form.controls.srvrUrl.setErrors({invalid:!0}),this.enableLoop&&(!this.selNode.Settings.swapServerUrl||""===this.selNode.Settings.swapServerUrl.trim()||!this.selNode.Authentication.swapMacaroonPath||""===this.selNode.Authentication.swapMacaroonPath.trim()))return!0;this.logger.info(this.selNode)}onReset(){this.selNode=JSON.parse(JSON.stringify(this.previousSelNode)),this.enableLoop=!(!this.selNode.Settings.swapServerUrl||""===this.selNode.Settings.swapServerUrl.trim())}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||R)(t.Y36(Se.mQ),t.Y36(zi.yh))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-loop-service-settings"]],viewQuery:function(G,Z){if(1&G&&t.Gf(xd,7),2&G){let Fe;t.iGM(Fe=t.CRH())&&(Z.form=Fe.first)}},decls:38,vars:11,consts:[["fxLayout","column","fxFlex","100",3,"perfectScrollbar"],[1,"alert","alert-info","mt-1"],[1,"mr-1","alert-icon",3,"icon"],["href","https://github.com/lightninglabs/loop","target","_blank"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"settings-container","page-sub-title-container","mt-1"],["form","ngForm"],["fxLayout","column","fxFlex","50","fxLayoutAlign","start stretch"],["autoFocus","","tabindex","1","color","primary","name","loop",1,"ml-2",3,"ngModel","ngModelChange","change"],[1,"mb-2"],["matInput","","type","text","id","swapServerUrl","name","srvrUrl","tabindex","2",3,"required","disabled","ngModel","ngModelChange"],["srvrUrl","ngModel"],[4,"ngIf"],["matInput","","type","text","id","swapMacaroonPath","name","swapMacaroonPath","tabindex","3",3,"required","disabled","ngModel","ngModelChange"],["fxLayout","row",1,"mt-2"],["mat-stroked-button","","color","primary","type","reset","tabindex","4",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","type","submit","tabindex","5",3,"click"]],template:function(G,Z){if(1&G&&(t.TgZ(0,"div",0)(1,"div",1),t._UZ(2,"fa-icon",2),t.TgZ(3,"span"),t._uU(4,"Please ensure that "),t.TgZ(5,"strong"),t._uU(6,"loopd"),t.qZA(),t._uU(7," is running and accessible to RTL before enabling this service. Click "),t.TgZ(8,"strong")(9,"a",3),t._uU(10,"here"),t.qZA()(),t._uU(11," to learn more about the installation."),t.qZA()(),t.TgZ(12,"form",4,5)(14,"div",6)(15,"mat-slide-toggle",7),t.NdJ("ngModelChange",function(Lt){return Z.enableLoop=Lt})("change",function(Lt){return Z.onEnableServiceChanged(Lt)}),t._uU(16,"Enable Loop Service"),t.qZA(),t.TgZ(17,"mat-form-field",8)(18,"mat-label"),t._uU(19,"Loop Server URL"),t.qZA(),t.TgZ(20,"input",9,10),t.NdJ("ngModelChange",function(Lt){return Z.selNode.Settings.swapServerUrl=Lt}),t.qZA(),t.TgZ(22,"mat-hint"),t._uU(23,"Service url for loop server REST APIs, eg. https://127.0.0.1:8081"),t.qZA(),t.YNc(24,Ff,2,0,"mat-error",11)(25,Oh,2,0,"mat-error",11),t.qZA(),t.TgZ(26,"mat-form-field")(27,"mat-label"),t._uU(28,"Loop Macaroon Path"),t.qZA(),t.TgZ(29,"input",12),t.NdJ("ngModelChange",function(Lt){return Z.selNode.Authentication.swapMacaroonPath=Lt}),t.qZA(),t.TgZ(30,"mat-hint"),t._uU(31,"Path for the folder containing service 'loop.macaroon', eg. D:\\\\xyz\\\\AppData\\\\Local\\\\Loop\\\\testnet"),t.qZA(),t.YNc(32,pm,2,0,"mat-error",11),t.qZA()()(),t.TgZ(33,"div",13)(34,"button",14),t.NdJ("click",function(){return Z.onReset()}),t._uU(35,"Reset"),t.qZA(),t.TgZ(36,"button",15),t.NdJ("click",function(){return Z.onUpdateService()}),t._uU(37,"Update"),t.qZA()()()),2&G){const Fe=t.MAs(21);t.xp6(2),t.Q6J("icon",Z.faInfoCircle),t.xp6(13),t.Q6J("ngModel",Z.enableLoop),t.xp6(5),t.Q6J("required",Z.enableLoop)("disabled",!Z.enableLoop)("ngModel",Z.selNode.Settings.swapServerUrl),t.xp6(4),t.Q6J("ngIf",!Z.selNode.Settings.swapServerUrl&&Z.enableLoop),t.xp6(1),t.Q6J("ngIf",(null==Fe||null==Fe.errors?null:Fe.errors.invalid)&&Z.enableLoop),t.xp6(4),t.Q6J("required",Z.enableLoop)("disabled",!Z.enableLoop)("ngModel",Z.selNode.Authentication.swapMacaroonPath),t.xp6(3),t.Q6J("ngIf",!Z.selNode.Authentication.swapMacaroonPath&&Z.enableLoop)}},dependencies:[on.O5,dt._Y,dt.Fj,dt.JJ,dt.JL,dt.Q7,dt.On,dt.F,$r.BN,Xi.xw,Xi.Wh,Xi.yH,Ye.lW,Tn.Nt,ut.KE,ut.hX,ut.bx,ut.TO,He.Rr,ft.$V,_t.h],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]})}return R})();const _1=["form"];function zf(R,z){1&R&&(t.TgZ(0,"mat-error"),t._uU(1,"Boltz server URL is required."),t.qZA())}function El(R,z){1&R&&(t.TgZ(0,"mat-error"),t._uU(1,"Specify the boltz server url with 'https://'."),t.qZA())}function v1(R,z){1&R&&(t.TgZ(0,"mat-error"),t._uU(1,"Boltz macaroon path is required."),t.qZA())}let b1=(()=>{class R{constructor(b,G){this.logger=b,this.store=G,this.faInfoCircle=en.sqG,this.enableBoltz=!1,this.serverUrl="",this.macaroonPath="",this.unSubs=[new Yi.x,new Yi.x]}ngOnInit(){this.store.select(Fr.dT).pipe((0,Ki.R)(this.unSubs[0])).subscribe(b=>{this.selNode=b,this.enableBoltz=!(!b.Settings.boltzServerUrl||""===b.Settings.boltzServerUrl.trim()),this.serverUrl=this.selNode.Settings.boltzServerUrl||"",this.macaroonPath=this.selNode.Authentication.boltzMacaroonPath,this.previousSelNode=JSON.parse(JSON.stringify(this.selNode)),this.logger.info(b)})}onEnableServiceChanged(b){this.enableBoltz=b.checked,this.enableBoltz||(this.macaroonPath="",this.serverUrl="")}onUpdateService(){if(this.serverUrl&&""!==this.serverUrl.trim()&&!this.form.controls.srvrUrl.value.includes("https://")&&this.form.controls.srvrUrl.setErrors({invalid:!0}),this.enableBoltz&&(!this.serverUrl||""===this.serverUrl.trim()||!this.serverUrl.includes("https://")||!this.macaroonPath||""===this.macaroonPath.trim()))return!0;this.logger.info(this.selNode),this.selNode.Settings.boltzServerUrl=this.serverUrl,this.selNode.Authentication.boltzMacaroonPath=this.macaroonPath}onReset(){this.selNode=JSON.parse(JSON.stringify(this.previousSelNode)),this.serverUrl=this.selNode.Settings.boltzServerUrl||"",this.macaroonPath=this.selNode.Authentication.boltzMacaroonPath,this.enableBoltz=!(!this.serverUrl||""===this.serverUrl.trim())}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||R)(t.Y36(Se.mQ),t.Y36(zi.yh))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-boltz-service-settings"]],viewQuery:function(G,Z){if(1&G&&t.Gf(_1,7),2&G){let Fe;t.iGM(Fe=t.CRH())&&(Z.form=Fe.first)}},decls:38,vars:11,consts:[["fxLayout","column","fxFlex","100",3,"perfectScrollbar"],[1,"alert","alert-info","mt-1"],[1,"mr-1","alert-icon",3,"icon"],["href","https://docs.boltz.exchange/v/boltz-client/","target","_blank"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"settings-container","page-sub-title-container","mt-1"],["form","ngForm"],["fxLayout","column","fxFlex","50","fxLayoutAlign","start stretch"],["autoFocus","","tabindex","1","color","primary","name","boltz",1,"ml-2",3,"ngModel","ngModelChange","change"],[1,"mb-2"],["matInput","","type","text","id","boltzServerUrl","name","srvrUrl","tabindex","2",3,"required","disabled","ngModel","ngModelChange"],["srvrUrl","ngModel"],[4,"ngIf"],["matInput","","type","text","id","boltzMacaroonPath","name","boltzMacaroonPath","tabindex","3",3,"required","disabled","ngModel","ngModelChange"],["fxLayout","row",1,"mt-2"],["mat-stroked-button","","color","primary","type","reset","tabindex","4",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","type","submit","tabindex","5",3,"click"]],template:function(G,Z){if(1&G&&(t.TgZ(0,"div",0)(1,"div",1),t._UZ(2,"fa-icon",2),t.TgZ(3,"span"),t._uU(4,"Please ensure that "),t.TgZ(5,"strong"),t._uU(6,"boltzd"),t.qZA(),t._uU(7," is running and accessible to RTL before enabling this service. Click "),t.TgZ(8,"strong")(9,"a",3),t._uU(10,"here"),t.qZA()(),t._uU(11," to learn more about the installation."),t.qZA()(),t.TgZ(12,"form",4,5)(14,"div",6)(15,"mat-slide-toggle",7),t.NdJ("ngModelChange",function(Lt){return Z.enableBoltz=Lt})("change",function(Lt){return Z.onEnableServiceChanged(Lt)}),t._uU(16,"Enable Boltz Service"),t.qZA(),t.TgZ(17,"mat-form-field",8)(18,"mat-label"),t._uU(19,"Boltz Server URL"),t.qZA(),t.TgZ(20,"input",9,10),t.NdJ("ngModelChange",function(Lt){return Z.serverUrl=Lt}),t.qZA(),t.TgZ(22,"mat-hint"),t._uU(23,"Service url for boltz server REST APIs, eg. https://127.0.0.1:9003"),t.qZA(),t.YNc(24,zf,2,0,"mat-error",11)(25,El,2,0,"mat-error",11),t.qZA(),t.TgZ(26,"mat-form-field")(27,"mat-label"),t._uU(28,"Boltz Macaroon Path"),t.qZA(),t.TgZ(29,"input",12),t.NdJ("ngModelChange",function(Lt){return Z.macaroonPath=Lt}),t.qZA(),t.TgZ(30,"mat-hint"),t._uU(31,"Path for the folder containing boltz 'admin.macaroon', eg. D:\\\\xyz\\\\AppData\\\\Boltz\\\\testnet"),t.qZA(),t.YNc(32,v1,2,0,"mat-error",11),t.qZA()()(),t.TgZ(33,"div",13)(34,"button",14),t.NdJ("click",function(){return Z.onReset()}),t._uU(35,"Reset"),t.qZA(),t.TgZ(36,"button",15),t.NdJ("click",function(){return Z.onUpdateService()}),t._uU(37,"Update"),t.qZA()()()),2&G){const Fe=t.MAs(21);t.xp6(2),t.Q6J("icon",Z.faInfoCircle),t.xp6(13),t.Q6J("ngModel",Z.enableBoltz),t.xp6(5),t.Q6J("required",Z.enableBoltz)("disabled",!Z.enableBoltz)("ngModel",Z.serverUrl),t.xp6(4),t.Q6J("ngIf",(!Z.serverUrl||""===Z.serverUrl.trim())&&Z.enableBoltz),t.xp6(1),t.Q6J("ngIf",(null==Fe||null==Fe.errors?null:Fe.errors.invalid)&&Z.enableBoltz),t.xp6(4),t.Q6J("required",Z.enableBoltz)("disabled",!Z.enableBoltz)("ngModel",Z.macaroonPath),t.xp6(3),t.Q6J("ngIf",!Z.macaroonPath&&Z.enableBoltz)}},dependencies:[on.O5,dt._Y,dt.Fj,dt.JJ,dt.JL,dt.Q7,dt.On,dt.F,$r.BN,Xi.xw,Xi.Wh,Xi.yH,Ye.lW,Tn.Nt,ut.KE,ut.hX,ut.bx,ut.TO,He.Rr,ft.$V,_t.h],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]})}return R})(),Qc=(()=>{class R{constructor(){}static#e=this.\u0275fac=function(G){return new(G||R)};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-ln-services"]],decls:1,vars:0,template:function(G,Z){1&G&&t._UZ(0,"router-outlet")},dependencies:[Jn.lC]})}return R})();var Tl=p(5487),y1=p(3149),qc=p(1476),ko=p(3566),mr=p(5313),Xc=p(6007);function Cd(R,z){if(1&R&&(t.TgZ(0,"mat-option",37),t._uU(1),t.qZA()),2&R){const b=z.$implicit,G=t.oxw();t.Q6J("value",b),t.xp6(1),t.Oqu(G.getLabel(b))}}function Ph(R,z){1&R&&t._UZ(0,"mat-progress-bar",38)}function x1(R,z){1&R&&(t.TgZ(0,"th",39),t._uU(1,"State"),t.qZA())}function H2(R,z){if(1&R&&(t.TgZ(0,"td",40),t._uU(1),t.qZA()),2&R){const b=z.$implicit,G=t.oxw();t.xp6(1),t.Oqu(G.LoopStateEnum[null==b?null:b.state])}}function Vf(R,z){1&R&&(t.TgZ(0,"th",39),t._uU(1,"Initiation Time"),t.qZA())}function F2(R,z){if(1&R&&(t.TgZ(0,"td",40),t._uU(1),t.ALo(2,"date"),t.qZA()),2&R){const b=z.$implicit;t.xp6(1),t.Oqu(t.xi3(2,1,(null==b?null:b.initiation_time)/1e6,"dd/MMM/y HH:mm"))}}function Rh(R,z){1&R&&(t.TgZ(0,"th",39),t._uU(1,"Last Update Time"),t.qZA())}function Nh(R,z){if(1&R&&(t.TgZ(0,"td",40),t._uU(1),t.ALo(2,"date"),t.qZA()),2&R){const b=z.$implicit;t.xp6(1),t.Oqu(t.xi3(2,1,(null==b?null:b.last_update_time)/1e6,"dd/MMM/y HH:mm"))}}function ec(R,z){1&R&&(t.TgZ(0,"th",41),t._uU(1,"Amount (Sats)"),t.qZA())}function z2(R,z){if(1&R&&(t.TgZ(0,"td",40)(1,"span",42),t._uU(2),t.ALo(3,"number"),t.qZA()()),2&R){const b=z.$implicit;t.xp6(2),t.Oqu(t.lcZ(3,1,null==b?null:b.amt))}}function C1(R,z){1&R&&(t.TgZ(0,"th",41),t._uU(1,"Cost Server (Sats)"),t.qZA())}function tc(R,z){if(1&R&&(t.TgZ(0,"td",40)(1,"span",42),t._uU(2),t.ALo(3,"number"),t.qZA()()),2&R){const b=z.$implicit;t.xp6(2),t.Oqu(t.lcZ(3,1,null==b?null:b.cost_server))}}function Hh(R,z){1&R&&(t.TgZ(0,"th",41),t._uU(1,"Cost Offchain (Sats)"),t.qZA())}function V2(R,z){if(1&R&&(t.TgZ(0,"td",40)(1,"span",42),t._uU(2),t.ALo(3,"number"),t.qZA()()),2&R){const b=z.$implicit;t.xp6(2),t.Oqu(t.lcZ(3,1,null==b?null:b.cost_offchain))}}function wd(R,z){1&R&&(t.TgZ(0,"th",41),t._uU(1,"Cost Onchain (Sats)"),t.qZA())}function Jc(R,z){if(1&R&&(t.TgZ(0,"td",40)(1,"span",42),t._uU(2),t.ALo(3,"number"),t.qZA()()),2&R){const b=z.$implicit;t.xp6(2),t.hij(" ",t.lcZ(3,1,null==b?null:b.cost_onchain)," ")}}function Al(R,z){1&R&&(t.TgZ(0,"th",39),t._uU(1,"HTLC Address"),t.qZA())}const Va=R=>({width:R});function Fh(R,z){if(1&R&&(t.TgZ(0,"td",40)(1,"span",43)(2,"span",44),t._uU(3),t.qZA()()()),2&R){const b=z.$implicit,G=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,Va,G.screenSize===G.screenSizeEnum.XS?"6rem":G.colWidth)),t.xp6(2),t.Oqu(null==b?null:b.htlc_address)}}function zh(R,z){1&R&&(t.TgZ(0,"th",39),t._uU(1,"ID"),t.qZA())}function B2(R,z){if(1&R&&(t.TgZ(0,"td",40)(1,"span",43)(2,"span",44),t._uU(3),t.qZA()()()),2&R){const b=z.$implicit,G=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,Va,G.screenSize===G.screenSizeEnum.XS?"6rem":G.colWidth)),t.xp6(2),t.Oqu(null==b?null:b.id)}}function Bf(R,z){1&R&&(t.TgZ(0,"th",39),t._uU(1,"ID (Bytes)"),t.qZA())}function Vh(R,z){if(1&R&&(t.TgZ(0,"td",40)(1,"span",43)(2,"span",44),t._uU(3),t.qZA()()()),2&R){const b=z.$implicit,G=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,Va,G.screenSize===G.screenSizeEnum.XS?"6rem":G.colWidth)),t.xp6(2),t.Oqu(null==b?null:b.id_bytes)}}function Dl(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"th",45)(1,"div",46)(2,"mat-select",47),t._UZ(3,"mat-select-trigger"),t.TgZ(4,"mat-option",48),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.onDownloadCSV())}),t._uU(5,"Download CSV"),t.qZA()()()()}}function Ll(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"td",49)(1,"button",50),t.NdJ("click",function(Z){const Lt=t.CHM(b).$implicit,ei=t.oxw();return t.KtG(ei.onSwapClick(Lt,Z))}),t._uU(2,"View Info"),t.qZA()()}}function yc(R,z){if(1&R&&(t.TgZ(0,"p"),t._uU(1),t.qZA()),2&R){const b=t.oxw(2);t.xp6(1),t.Oqu(b.emptyTableMessage)}}function Il(R,z){if(1&R&&(t.TgZ(0,"td",51),t.YNc(1,yc,2,1,"p",52),t.qZA()),2&R){const b=t.oxw();t.xp6(1),t.Q6J("ngIf",!(null!=b.listSwaps&&b.listSwaps.data)||(null==b.listSwaps||null==b.listSwaps.data?null:b.listSwaps.data.length)<1)}}const kl=R=>({"display-none":R});function Md(R,z){if(1&R&&t._UZ(0,"tr",53),2&R){const b=t.oxw();t.Q6J("ngClass",t.VKq(1,kl,(null==b.listSwaps?null:b.listSwaps.data)&&(null==b.listSwaps||null==b.listSwaps.data?null:b.listSwaps.data.length)>0))}}function Ys(R,z){1&R&&t._UZ(0,"tr",54)}function gm(R,z){1&R&&t._UZ(0,"tr",55)}const U2=()=>["all"],_m=R=>({"overflow-auto error-border":R,"overflow-auto":!0}),Uf=()=>["no_swap"];let Gf=(()=>{class R{constructor(b,G,Z,Fe,Lt,ei){this.logger=b,this.commonService=G,this.store=Z,this.loopService=Fe,this.datePipe=Lt,this.camelCaseWithReplace=ei,this.selectedSwapType=Yt.$I.LOOP_OUT,this.swapsData=[],this.flgLoading=[!0],this.emptyTableMessage="No swaps available.",this.nodePageDefs=Yt.hG,this.selFilterBy="all",this.colWidth="20rem",this.PAGE_ID="loop",this.tableSetting={tableId:"loop",recordsPerPage:Yt.IV,sortBy:"initiation_time",sortOrder:Yt.Pi.DESCENDING},this.LoopStateEnum=Yt.Fq,this.faHistory=en.qO$,this.swapCaption="Loop Out",this.displayedColumns=[],this.listSwaps=new mr.by([]),this.selFilter="",this.pageSize=Yt.IV,this.pageSizeOptions=Yt.TJ,this.screenSize="",this.screenSizeEnum=Yt.cu,this.unSubs=[new Yi.x,new Yi.x,new Yi.x],this.screenSize=this.commonService.getScreenSize()}ngOnChanges(b){this.swapCaption=this.selectedSwapType===Yt.$I.LOOP_IN?"Loop In":"Loop Out",this.loadSwapsTable(this.swapsData)}ngOnInit(){this.store.select(Io.Pr).pipe((0,Ki.R)(this.unSubs[0])).subscribe(b=>{this.tableSetting=b.pageSettings.find(G=>G.pageId===this.PAGE_ID)?.tables.find(G=>G.tableId===this.tableSetting.tableId)||Yt.gK.find(G=>G.pageId===this.PAGE_ID)?.tables.find(G=>G.tableId===this.tableSetting.tableId),this.displayedColumns=this.screenSize===Yt.cu.XS||this.screenSize===Yt.cu.SM?JSON.parse(JSON.stringify(this.tableSetting.columnSelectionSM)):JSON.parse(JSON.stringify(this.tableSetting.columnSelection)),this.displayedColumns.push("actions"),this.pageSize=this.tableSetting.recordsPerPage?+this.tableSetting.recordsPerPage:Yt.IV,this.swapsData&&this.sort&&this.paginator&&this.displayedColumns.length>0&&this.loadSwapsTable(this.swapsData),this.colWidth=this.displayedColumns.length?this.commonService.getContainerSize().width/this.displayedColumns.length/14+"rem":"20rem",this.logger.info(this.displayedColumns)})}ngAfterViewInit(){this.swapsData&&this.swapsData.length>0&&this.loadSwapsTable(this.swapsData)}applyFilter(){this.listSwaps.filter=this.selFilter.trim().toLowerCase()}getLabel(b){const G=this.nodePageDefs[this.PAGE_ID][this.tableSetting.tableId].allowedColumns.find(Z=>Z.column===b);return G?G.label?G.label:this.camelCaseWithReplace.transform(G.column,"_"):this.commonService.titleCase(b)}setFilterPredicate(){this.listSwaps.filterPredicate=(b,G)=>{let Z="";switch(this.selFilterBy){case"all":Z=JSON.stringify(b).toLowerCase();break;case"state":Z=b?.state?this.LoopStateEnum[b?.state]:"";break;case"initiation_time":case"last_update_time":Z=this.datePipe.transform(new Date((b[this.selFilterBy]||0)/1e6),"dd/MMM/y HH:mm")?.toLowerCase()||"";break;default:Z=typeof b[this.selFilterBy]>"u"?"":"string"==typeof b[this.selFilterBy]?b[this.selFilterBy].toLowerCase():"boolean"==typeof b[this.selFilterBy]?b[this.selFilterBy]?"yes":"no":b[this.selFilterBy].toString()}return"state"===this.selFilterBy?0===Z.indexOf(G):Z.includes(G)}}onSwapClick(b,G){this.loopService.getSwap(b.id_bytes?.replace(/\//g,"_")?.replace(/\+/g,"-")||"").pipe((0,Ki.R)(this.unSubs[1])).subscribe(Z=>{this.store.dispatch((0,Sn.qR)({payload:{data:{type:Yt.n_.INFORMATION,alertTitle:this.swapCaption+" Status",message:[[{key:"state",value:Yt.Fq[Z.state||""],title:"Status",width:50,type:Yt.Gi.STRING},{key:"amt",value:Z.amt,title:"Amount (Sats)",width:50,type:Yt.Gi.NUMBER}],[{key:"initiation_time",value:(Z.initiation_time||0)/1e9,title:"Initiation Time",width:50,type:Yt.Gi.DATE_TIME},{key:"last_update_time",value:(Z.last_update_time||0)/1e9,title:"Last Update Time",width:50,type:Yt.Gi.DATE_TIME}],[{key:"cost_server",value:Z.cost_server,title:"Server Cost (Sats)",width:33,type:Yt.Gi.NUMBER},{key:"cost_offchain",value:Z.cost_offchain,title:"Offchain Cost (Sats)",width:33,type:Yt.Gi.NUMBER},{key:"cost_onchain",value:Z.cost_onchain,title:"Onchain Cost (Sats)",width:34,type:Yt.Gi.NUMBER}],[{key:"id_bytes",value:Z.id_bytes,title:"ID",width:100,type:Yt.Gi.STRING}],[{key:"htlc_address",value:Z.htlc_address,title:"HTLC Address",width:100,type:Yt.Gi.STRING}]],openedBy:"SWAP"}}}))})}loadSwapsTable(b){this.listSwaps=new mr.by([...b]),this.listSwaps.sort=this.sort,this.listSwaps.sortingDataAccessor=(G,Z)=>G[Z]&&isNaN(G[Z])?G[Z].toLocaleLowerCase():G[Z]?+G[Z]:null,this.listSwaps.paginator=this.paginator,this.setFilterPredicate(),this.applyFilter(),this.logger.info(this.listSwaps)}onDownloadCSV(){this.listSwaps.data&&this.listSwaps.data.length>0&&this.commonService.downloadFile(this.listSwaps.data,this.selectedSwapType===Yt.$I.LOOP_IN?"Loop in":"Loop out")}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||R)(t.Y36(Se.mQ),t.Y36(ea.v),t.Y36(zi.yh),t.Y36(y1.W),t.Y36(on.uU),t.Y36(ls.D3))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-swaps"]],viewQuery:function(G,Z){if(1&G&&(t.Gf(ko.YE,5),t.Gf(qc.NW,5)),2&G){let Fe;t.iGM(Fe=t.CRH())&&(Z.sort=Fe.first),t.iGM(Fe=t.CRH())&&(Z.paginator=Fe.first)}},inputs:{selectedSwapType:"selectedSwapType",swapsData:"swapsData",flgLoading:"flgLoading",emptyTableMessage:"emptyTableMessage"},features:[t._Bn([{provide:ti.PG,useValue:{overlayPanelClass:"rtl-select-overlay"}},{provide:qc.ye,useValue:(0,Yt.pt)("Swaps")}]),t.TTD],decls:61,vars:20,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","start start",1,"card-content-gap"],["fxLayout","column","fxLayout.gt-xs","row","fxLayoutAlign.gt-xs","start center","fxLayoutAlign","start stretch","fxFlex","100",1,"page-sub-title-container","w-100"],["fxFlex","70"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxFlex.gt-xs","30","fxLayoutAlign.gt-xs","space-between center","fxLayout","row","fxLayoutAlign","space-between stretch"],["fxLayout","column","fxFlex","49"],["tabindex","1","name","filterBy",3,"ngModel","ngModelChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],["matInput","","name","filter",3,"ngModel","ngModelChange","input","keyup"],["fxLayout","row","fxLayoutAlign","start center",1,"w-100"],["fxFlex","100",1,"table-container",3,"perfectScrollbar"],["mode","indeterminate",4,"ngIf"],["mat-table","","matSort","",3,"matSortActive","matSortDirection","dataSource","ngClass"],["table",""],["matColumnDef","state"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","initiation_time"],["matColumnDef","last_update_time"],["matColumnDef","amt"],["mat-header-cell","","mat-sort-header","","arrowPosition","before",4,"matHeaderCellDef"],["matColumnDef","cost_server"],["matColumnDef","cost_offchain"],["matColumnDef","cost_onchain"],["matColumnDef","htlc_address"],["matColumnDef","id"],["matColumnDef","id_bytes"],["matColumnDef","actions"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","","fxLayoutAlign","end center",4,"matCellDef"],["matColumnDef","no_swap"],["mat-footer-cell","","colspan","4",4,"matFooterCellDef"],["mat-footer-row","",3,"ngClass",4,"matFooterRowDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"mb-1",3,"pageSize","pageSizeOptions","showFirstLastButtons"],[3,"value"],["mode","indeterminate"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-cell","","mat-sort-header","","arrowPosition","before"],["fxLayoutAlign","end center"],["fxLayout.gt-xs","row",1,"ellipsis-parent",3,"ngStyle"],[1,"ellipsis-child"],["mat-header-cell",""],["fxLayoutAlign","center center",1,"bordered-box","table-actions-select"],["placeholder","Actions","tabindex","1",1,"mr-0"],[3,"click"],["mat-cell","","fxLayoutAlign","end center"],["mat-stroked-button","","color","primary","type","button","tabindex","4",1,"table-actions-button",3,"click"],["mat-footer-cell","","colspan","4"],[4,"ngIf"],["mat-footer-row","",3,"ngClass"],["mat-header-row",""],["mat-row",""]],template:function(G,Z){1&G&&(t.TgZ(0,"div",0)(1,"div",1)(2,"div",2),t._UZ(3,"fa-icon",3),t.TgZ(4,"span",4),t._uU(5),t.qZA()(),t.TgZ(6,"div",5)(7,"mat-form-field",6)(8,"mat-label"),t._uU(9,"Filter By"),t.qZA(),t.TgZ(10,"mat-select",7),t.NdJ("ngModelChange",function(Lt){return Z.selFilterBy=Lt})("selectionChange",function(){return Z.selFilter="",Z.applyFilter()}),t.TgZ(11,"perfect-scrollbar"),t.YNc(12,Cd,2,2,"mat-option",8),t.qZA()()(),t.TgZ(13,"mat-form-field",6)(14,"mat-label"),t._uU(15,"Filter"),t.qZA(),t.TgZ(16,"input",9),t.NdJ("ngModelChange",function(Lt){return Z.selFilter=Lt})("input",function(){return Z.applyFilter()})("keyup",function(){return Z.applyFilter()}),t.qZA()()()(),t.TgZ(17,"div",10)(18,"div",11),t.YNc(19,Ph,1,0,"mat-progress-bar",12),t.TgZ(20,"table",13,14),t.ynx(22,15),t.YNc(23,x1,2,0,"th",16)(24,H2,2,1,"td",17),t.BQk(),t.ynx(25,18),t.YNc(26,Vf,2,0,"th",16)(27,F2,3,4,"td",17),t.BQk(),t.ynx(28,19),t.YNc(29,Rh,2,0,"th",16)(30,Nh,3,4,"td",17),t.BQk(),t.ynx(31,20),t.YNc(32,ec,2,0,"th",21)(33,z2,4,3,"td",17),t.BQk(),t.ynx(34,22),t.YNc(35,C1,2,0,"th",21)(36,tc,4,3,"td",17),t.BQk(),t.ynx(37,23),t.YNc(38,Hh,2,0,"th",21)(39,V2,4,3,"td",17),t.BQk(),t.ynx(40,24),t.YNc(41,wd,2,0,"th",21)(42,Jc,4,3,"td",17),t.BQk(),t.ynx(43,25),t.YNc(44,Al,2,0,"th",16)(45,Fh,4,4,"td",17),t.BQk(),t.ynx(46,26),t.YNc(47,zh,2,0,"th",16)(48,B2,4,4,"td",17),t.BQk(),t.ynx(49,27),t.YNc(50,Bf,2,0,"th",16)(51,Vh,4,4,"td",17),t.BQk(),t.ynx(52,28),t.YNc(53,Dl,6,0,"th",29)(54,Ll,3,0,"td",30),t.BQk(),t.ynx(55,31),t.YNc(56,Il,2,1,"td",32),t.BQk(),t.YNc(57,Md,1,3,"tr",33)(58,Ys,1,0,"tr",34)(59,gm,1,0,"tr",35),t.qZA(),t._UZ(60,"mat-paginator",36),t.qZA()()()),2&G&&(t.xp6(3),t.Q6J("icon",Z.faHistory),t.xp6(2),t.hij("",Z.swapCaption," History"),t.xp6(5),t.Q6J("ngModel",Z.selFilterBy),t.xp6(2),t.Q6J("ngForOf",t.DdM(16,U2).concat(Z.displayedColumns.slice(0,-1))),t.xp6(4),t.Q6J("ngModel",Z.selFilter),t.xp6(3),t.Q6J("ngIf",!0===Z.flgLoading[0]),t.xp6(1),t.Q6J("matSortActive",Z.tableSetting.sortBy)("matSortDirection",Z.tableSetting.sortOrder)("dataSource",Z.listSwaps)("ngClass",t.VKq(17,_m,"error"===Z.flgLoading[0])),t.xp6(37),t.Q6J("matFooterRowDef",t.DdM(19,Uf)),t.xp6(1),t.Q6J("matHeaderRowDef",Z.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",Z.displayedColumns),t.xp6(1),t.Q6J("pageSize",Z.pageSize)("pageSizeOptions",Z.pageSizeOptions)("showFirstLastButtons",Z.screenSize!==Z.screenSizeEnum.XS))},dependencies:[on.mk,on.sg,on.O5,on.PC,dt.Fj,dt.JJ,dt.On,$r.BN,Xi.xw,Xi.Wh,Xi.yH,pe.oO,pe.Zl,Ye.lW,Tn.Nt,ut.KE,ut.hX,Xc.pW,ti.gD,ti.$L,Ne.ey,ko.YE,ko.nU,mr.BZ,mr.fO,mr.as,mr.w1,mr.Dz,mr.nj,mr.mD,mr.Ke,mr.ge,mr.ev,mr.yh,mr.XQ,mr.Gk,mr.Q2,qc.NW,ft.Vv,ft.$V,on.JJ,on.uU]})}return R})();const Zf=R=>["../",R];function Sd(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"div",11),t.NdJ("click",function(){const Fe=t.CHM(b).$implicit,Lt=t.oxw();return t.KtG(Lt.onSelectedIndexChange(Fe))}),t._uU(1),t.qZA()}if(2&R){const b=z.$implicit,G=t.oxw();t.Q6J("active",G.activeTab.link===b.link)("routerLink",t.VKq(3,Zf,b.link)),t.xp6(1),t.Oqu(b.name)}}let G2=(()=>{class R{constructor(b,G,Z){this.router=b,this.loopService=G,this.store=Z,this.faInfinity=en.vqe,this.loopInfo=null,this.targetConf=2,this.inAmount=25e4,this.quotes=[],this.LoopTypeEnum=Yt.$I,this.selectedSwapType=Yt.$I.LOOP_OUT,this.storedSwaps=[],this.filteredSwaps=[],this.emptyTableMessage="No swap data available.",this.flgLoading=[!0],this.links=[{link:"loopout",name:"Loop Out"},{link:"loopin",name:"Loop In"}],this.activeTab=this.links[0],this.unSubs=[new Yi.x,new Yi.x,new Yi.x,new Yi.x,new Yi.x,new Yi.x]}ngOnInit(){this.store.dispatch((0,Sn.ac)({payload:Yt.m6.GET_LOOP_INFO})),this.loopService.getLoopInfo().pipe((0,Ki.R)(this.unSubs[4])).subscribe({next:G=>{this.store.dispatch((0,Sn.uO)({payload:Yt.m6.GET_LOOP_INFO})),this.loopInfo=G,this.loopInfo&&this.loopInfo.version&&(this.loopInfo.version=this.loopInfo.version.split(" ")[0])},error:G=>{this.store.dispatch((0,Sn.uO)({payload:Yt.m6.GET_LOOP_INFO})),this.loopInfo.version=" Unknown"}}),this.loopService.listSwaps();const b=this.links.find(G=>this.router.url.includes(G.link));this.activeTab=b||this.links[0],this.selectedSwapType=b&&"loopin"===b.link?Yt.$I.LOOP_IN:Yt.$I.LOOP_OUT,this.router.events.pipe((0,Ki.R)(this.unSubs[0]),(0,dr.h)(G=>G instanceof Jn.Av)).subscribe({next:G=>{const Z=this.links.find(Fe=>G.urlAfterRedirects.includes(Fe.link));this.activeTab=Z||this.links[0],this.selectedSwapType=Z&&"loopin"===Z.link?Yt.$I.LOOP_IN:Yt.$I.LOOP_OUT}}),this.loopService.swapsChanged.pipe((0,Ki.R)(this.unSubs[1])).subscribe({next:G=>{this.flgLoading[0]=!1,this.storedSwaps=G,this.filteredSwaps=this.storedSwaps?.filter(Z=>Z.type===this.selectedSwapType)},error:G=>{this.flgLoading[0]="error",this.emptyTableMessage=G.message?G.message:"No loop "+(this.selectedSwapType===Yt.$I.LOOP_IN?"in":"out")+" available."}})}onSelectedIndexChange(b){this.selectedSwapType="loopin"===b.link?Yt.$I.LOOP_IN:Yt.$I.LOOP_OUT,this.filteredSwaps=this.storedSwaps?.filter(G=>G.type===this.selectedSwapType)}onLoop(b){b===Yt.$I.LOOP_IN?this.loopService.getLoopInTermsAndQuotes(this.targetConf).pipe((0,Ki.R)(this.unSubs[2])).subscribe({next:G=>{this.store.dispatch((0,Sn.qR)({payload:{data:{minQuote:G[0],maxQuote:G[1],direction:b,component:Tl.a}}}))}}):this.loopService.getLoopOutTermsAndQuotes(this.targetConf).pipe((0,Ki.R)(this.unSubs[3])).subscribe({next:G=>{this.store.dispatch((0,Sn.qR)({payload:{data:{minQuote:G[0],maxQuote:G[1],direction:b,component:Tl.a}}}))}})}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||R)(t.Y36(Jn.F0),t.Y36(y1.W),t.Y36(zi.yh))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-loop"]],decls:15,vars:9,consts:[["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column",1,"padding-gap-x"],["fxLayout","column"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["tabindex","1","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngFor","ngForOf"],["tabPanel",""],["fxLayout","row","fxLayoutAlign","start start",1,"padding-gap-x-large","mt-1"],["mat-flat-button","","color","primary","type","button","tabindex","2",3,"click"],["fxLayout","row","fxFlex","100",3,"selectedSwapType","swapsData","flgLoading","emptyTableMessage"],["tabindex","1","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"]],template:function(G,Z){if(1&G&&(t.TgZ(0,"div",0),t._UZ(1,"fa-icon",1),t.TgZ(2,"span",2),t._uU(3),t.qZA()(),t.TgZ(4,"div",3)(5,"mat-card")(6,"mat-card-content",4)(7,"nav",5),t.YNc(8,Sd,2,5,"div",6),t.qZA(),t._UZ(9,"mat-tab-nav-panel",null,7),t.TgZ(11,"div",8)(12,"button",9),t.NdJ("click",function(){return Z.onLoop(Z.selectedSwapType)}),t._uU(13),t.qZA()(),t._UZ(14,"rtl-swaps",10),t.qZA()()()),2&G){const Fe=t.MAs(10);t.xp6(1),t.Q6J("icon",Z.faInfinity),t.xp6(2),t.hij("Loop (v",(null==Z.loopInfo?null:Z.loopInfo.version)||" Unknown",")"),t.xp6(4),t.Q6J("tabPanel",Fe),t.xp6(1),t.Q6J("ngForOf",Z.links),t.xp6(5),t.hij("Start ",Z.activeTab.name,""),t.xp6(1),t.Q6J("selectedSwapType",Z.selectedSwapType)("swapsData",Z.filteredSwaps)("flgLoading",Z.flgLoading)("emptyTableMessage",Z.emptyTableMessage)}},dependencies:[on.sg,$r.BN,Xi.xw,Xi.Wh,Xi.yH,Ye.lW,ar.a8,ar.dn,ra.BU,ra.sW,ra.Nj,Jn.rH,Gf]})}return R})();var Go=p(8291),Bh=p(5619),Ed=p(8504),Ia=p(6306),xc=p(3315);let Hs=(()=>{class R{constructor(b,G,Z,Fe){this.httpClient=b,this.logger=G,this.store=Z,this.commonService=Fe,this.swapUrl="",this.swaps={},this.boltzInfo=null,this.boltzInfoChanged=new Bh.X(null),this.swapsChanged=new Bh.X({}),this.unSubs=[new Yi.x,new Yi.x,new Yi.x,new Yi.x,new Yi.x]}getSwapsList(){return this.swaps}listSwaps(){this.store.dispatch((0,Sn.ac)({payload:Yt.m6.GET_BOLTZ_SWAPS})),this.swapUrl=Yt.T5+Yt.vv.BOLTZ_API+"/listSwaps",this.httpClient.get(this.swapUrl).pipe((0,Ki.R)(this.unSubs[0])).subscribe({next:b=>{this.store.dispatch((0,Sn.uO)({payload:Yt.m6.GET_BOLTZ_SWAPS})),this.swaps=b,this.swapsChanged.next(this.swaps)},error:b=>this.swapsChanged.error(this.handleErrorWithAlert(Yt.m6.GET_BOLTZ_SWAPS,this.swapUrl,b))})}swapInfo(b){return this.swapUrl=Yt.T5+Yt.vv.BOLTZ_API+"/swapInfo/"+b,this.httpClient.get(this.swapUrl).pipe((0,Ia.K)(G=>(0,ha.of)(this.handleErrorWithAlert(Yt.m6.NO_SPINNER,this.swapUrl,G))))}getBoltzInfo(){this.store.dispatch((0,Sn.ac)({payload:Yt.m6.GET_BOLTZ_INFO})),this.swapUrl=Yt.T5+Yt.vv.BOLTZ_API+"/info",this.httpClient.get(this.swapUrl).pipe((0,Ki.R)(this.unSubs[1])).subscribe({next:b=>{this.store.dispatch((0,Sn.uO)({payload:Yt.m6.GET_BOLTZ_INFO})),this.boltzInfo=b,this.boltzInfoChanged.next(this.boltzInfo)},error:b=>(this.boltzInfo={version:"2.0.0"},this.boltzInfoChanged.next(this.boltzInfo),(0,ha.of)(this.handleErrorWithoutAlert(Yt.m6.GET_BOLTZ_INFO,this.swapUrl,b)))})}serviceInfo(){return this.store.dispatch((0,Sn.ac)({payload:Yt.m6.GET_SERVICE_INFO})),this.swapUrl=Yt.T5+Yt.vv.BOLTZ_API+"/serviceInfo",this.httpClient.get(this.swapUrl).pipe((0,Ki.R)(this.unSubs[2]),(0,Pr.U)(b=>(this.store.dispatch((0,Sn.uO)({payload:Yt.m6.GET_SERVICE_INFO})),b)),(0,Ia.K)(b=>(0,ha.of)(this.handleErrorWithAlert(Yt.m6.GET_SERVICE_INFO,this.swapUrl,b))))}swapOut(b,G,Z){const Fe={amount:b,address:G,acceptZeroConf:Z};return this.swapUrl=Yt.T5+Yt.vv.BOLTZ_API+"/createreverseswap",this.httpClient.post(this.swapUrl,Fe).pipe((0,Ia.K)(Lt=>this.handleErrorWithoutAlert("Swap Out for Address: "+G,Yt.m6.NO_SPINNER,Lt)))}swapIn(b,G){const Z={amount:b,sendFromInternal:G};return this.swapUrl=Yt.T5+Yt.vv.BOLTZ_API+"/createswap",this.httpClient.post(this.swapUrl,Z).pipe((0,Ia.K)(Fe=>this.handleErrorWithoutAlert("Swap In for Amount: "+b,Yt.m6.NO_SPINNER,Fe)))}handleErrorWithoutAlert(b,G,Z){let Fe="";return this.logger.error("ERROR IN: "+b+"\n"+JSON.stringify(Z)),this.store.dispatch((0,Sn.uO)({payload:G})),401===Z.status?(Fe="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,Sn.kS)())):503===Z.status?(Fe="Unable to Connect to Boltz Server.",this.store.dispatch((0,Sn.qR)({payload:{data:{type:"ERROR",alertTitle:"Boltz Not Connected",message:{code:Z.status,message:"Unable to Connect to Boltz Server",URL:b},component:xc.H}}}))):Fe=this.commonService.extractErrorMessage(Z),(0,Ed._)(()=>new Error(Fe))}handleErrorWithAlert(b,G,Z){let Fe="";if(401===Z.status&&(this.logger.info("Redirecting to Login"),this.store.dispatch((0,Sn.kS)())),this.logger.error(Z),this.store.dispatch((0,Sn.uO)({payload:b})),401===Z.status)Fe="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,Sn.kS)());else if(503===Z.status)Fe="Unable to Connect to Boltz Server.",setTimeout(()=>{this.store.dispatch((0,Sn.qR)({payload:{data:{type:"ERROR",alertTitle:"Boltz Not Connected",message:{code:Z.status,message:"Unable to Connect to Boltz Server",URL:G},component:xc.H}}}))},100);else{Fe=this.commonService.extractErrorMessage(Z);const Lt=Z.error&&Z.error.error&&Z.error.error.code?Z.error.error.code:Z.error&&Z.error.code?Z.error.code:Z.code?Z.code:Z.status;setTimeout(()=>{this.store.dispatch((0,Sn.qR)({payload:{data:{type:Yt.n_.ERROR,alertTitle:"ERROR",message:{code:Lt,message:Fe,URL:G},component:xc.H}}}))},100)}return{message:Fe}}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||R)(t.LFG(bo.eN),t.LFG(Se.mQ),t.LFG(zi.yh),t.LFG(ea.v))};static#t=this.\u0275prov=t.Yz7({token:R,factory:R.\u0275fac})}return R})();function Wf(R,z){1&R&&t.GkF(0)}function Zo(R,z){if(1&R&&(t.TgZ(0,"div",4)(1,"span",5),t._uU(2),t.qZA()()),2&R){const b=t.oxw();t.xp6(2),t.Oqu(null!=b.swapStatus&&b.swapStatus.error?null==b.swapStatus?null:b.swapStatus.error:"Unknown Error.")}}function hs(R,z){if(1&R&&(t.TgZ(0,"div",7)(1,"h4",8),t._uU(2,"Routing Fee (mSats)"),t.qZA(),t.TgZ(3,"span",5),t._uU(4),t.ALo(5,"number"),t.qZA()()),2&R){const b=t.oxw(2);t.xp6(4),t.Oqu(t.lcZ(5,1,null==b.swapStatus?null:b.swapStatus.routingFeeMilliSat))}}function Td(R,z){if(1&R&&(t.TgZ(0,"div",7)(1,"h4",8),t._uU(2,"Claim Transaction ID"),t.qZA(),t.TgZ(3,"span",5),t._uU(4),t.qZA()()),2&R){const b=t.oxw(2);t.xp6(4),t.Oqu(null==b.swapStatus?null:b.swapStatus.claimTransactionId)}}function ic(R,z){if(1&R&&(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.YNc(7,hs,6,3,"div",9)(8,Td,5,1,"div",9),t.qZA(),t._UZ(9,"mat-divider",10),t.TgZ(10,"div",6)(11,"div",11)(12,"h4",8),t._uU(13,"Lockup Address"),t.qZA(),t.TgZ(14,"span",5),t._uU(15),t.qZA()()()()),2&R){const b=t.oxw();t.xp6(6),t.Oqu(null==b.swapStatus?null:b.swapStatus.id),t.xp6(1),t.Q6J("ngIf",b.acceptZeroConf),t.xp6(1),t.Q6J("ngIf",b.acceptZeroConf),t.xp6(7),t.Oqu(null==b.swapStatus?null:b.swapStatus.lockupAddress)}}function Ol(R,z){1&R&&(t.TgZ(0,"span",22),t._uU(1,"N/A"),t.qZA())}function w1(R,z){1&R&&(t.TgZ(0,"span",23),t._uU(1,"QR Code Not Applicable"),t.qZA())}function Pl(R,z){1&R&&t._UZ(0,"mat-divider",24),2&R&&t.Q6J("inset",!0)}function Ad(R,z){if(1&R&&(t.TgZ(0,"div",6)(1,"div",11)(2,"h4",8),t._uU(3,"Transaction ID"),t.qZA(),t.TgZ(4,"span",5),t._uU(5),t.qZA()()()),2&R){const b=t.oxw(2);t.xp6(5),t.Oqu(null==b.swapStatus?null:b.swapStatus.txId)}}function Yf(R,z){if(1&R&&(t.TgZ(0,"div",6)(1,"div",25)(2,"h4",8),t._uU(3,"ID"),t.qZA(),t.TgZ(4,"span",5),t._uU(5),t.qZA()(),t.TgZ(6,"div",25)(7,"h4",8),t._uU(8,"Expected Amount (Sats)"),t.qZA(),t.TgZ(9,"span",5),t._uU(10),t.ALo(11,"number"),t.qZA()()()),2&R){const b=t.oxw(2);t.xp6(5),t.Oqu(null==b.swapStatus?null:b.swapStatus.id),t.xp6(5),t.Oqu(t.lcZ(11,2,null==b.swapStatus?null:b.swapStatus.expectedAmount))}}function us(R,z){1&R&&t._UZ(0,"mat-divider",10)}function Z2(R,z){if(1&R&&(t.TgZ(0,"div",6)(1,"div",11)(2,"h4",8),t._uU(3,"Address"),t.qZA(),t.TgZ(4,"span",5),t._uU(5),t.qZA()()()),2&R){const b=t.oxw(2);t.xp6(5),t.Oqu(null==b.swapStatus?null:b.swapStatus.address)}}function Rl(R,z){1&R&&t._UZ(0,"mat-divider",10)}function vm(R,z){if(1&R&&(t.TgZ(0,"div",6)(1,"div",11)(2,"h4",8),t._uU(3,"BIP 21"),t.qZA(),t.TgZ(4,"span",5),t._uU(5),t.qZA()()()),2&R){const b=t.oxw(2);t.xp6(5),t.Oqu(null==b.swapStatus?null:b.swapStatus.bip21)}}const W2=R=>({"display-none":R});function jf(R,z){if(1&R&&(t.TgZ(0,"div",12)(1,"div",13),t._UZ(2,"qr-code",14),t.YNc(3,Ol,2,0,"span",15),t.qZA(),t.TgZ(4,"div",16)(5,"div",4)(6,"div",17),t._UZ(7,"qr-code",14),t.YNc(8,w1,2,0,"span",18),t.qZA(),t.YNc(9,Pl,1,1,"mat-divider",19)(10,Ad,6,1,"div",20)(11,Yf,12,4,"div",20)(12,us,1,0,"mat-divider",21)(13,Z2,6,1,"div",20)(14,Rl,1,0,"mat-divider",21)(15,vm,6,1,"div",20),t.qZA()()()),2&R){const b=t.oxw();t.xp6(1),t.Q6J("fxLayoutAlign",""!==((null==b.swapStatus?null:b.swapStatus.txId)||(null==b.swapStatus?null:b.swapStatus.address))?"center start":"center center")("ngClass",t.VKq(19,W2,b.screenSize===b.screenSizeEnum.XS||b.screenSize===b.screenSizeEnum.SM)),t.xp6(1),t.Q6J("value",(null==b.swapStatus?null:b.swapStatus.txId)||(null==b.swapStatus?null:b.swapStatus.address))("size",b.qrWidth)("errorCorrectionLevel","L"),t.xp6(1),t.Q6J("ngIf",""===((null==b.swapStatus?null:b.swapStatus.txId)||(null==b.swapStatus?null:b.swapStatus.address))),t.xp6(3),t.Q6J("fxLayoutAlign",""!==((null==b.swapStatus?null:b.swapStatus.txId)||(null==b.swapStatus?null:b.swapStatus.address))?"center start":"center center")("ngClass",t.VKq(21,W2,b.screenSize!==b.screenSizeEnum.XS&&b.screenSize!==b.screenSizeEnum.SM)),t.xp6(1),t.Q6J("value",(null==b.swapStatus?null:b.swapStatus.txId)||(null==b.swapStatus?null:b.swapStatus.address))("size",b.qrWidth)("errorCorrectionLevel","L"),t.xp6(1),t.Q6J("ngIf",""===((null==b.swapStatus?null:b.swapStatus.txId)||(null==b.swapStatus?null:b.swapStatus.address))),t.xp6(1),t.Q6J("ngIf",b.screenSize===b.screenSizeEnum.XS||b.screenSize===b.screenSizeEnum.SM),t.xp6(1),t.Q6J("ngIf",b.sendFromInternal),t.xp6(1),t.Q6J("ngIf",!b.sendFromInternal),t.xp6(1),t.Q6J("ngIf",!b.sendFromInternal),t.xp6(1),t.Q6J("ngIf",!b.sendFromInternal),t.xp6(1),t.Q6J("ngIf",!b.sendFromInternal),t.xp6(1),t.Q6J("ngIf",!b.sendFromInternal)}}let Kf=(()=>{class R{constructor(b){this.commonService=b,this.swapStatus=null,this.direction=Yt.hc.SWAP_OUT,this.acceptZeroConf=!1,this.sendFromInternal=!0,this.qrWidth=240,this.screenSize="",this.screenSizeEnum=Yt.cu,this.swapTypeEnum=Yt.hc}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),this.screenSize===Yt.cu.XS&&(this.qrWidth=180)}static#e=this.\u0275fac=function(G){return new(G||R)(t.Y36(ea.v))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-boltz-swap-status"]],inputs:{swapStatus:"swapStatus",direction:"direction",acceptZeroConf:"acceptZeroConf",sendFromInternal:"sendFromInternal"},decls:7,vars:1,consts:[[4,"ngTemplateOutlet"],["swapFailedBlock",""],["swapOutBlock",""],["swapInBlock",""],["fxLayout","column"],[1,"foreground-secondary-text"],["fxLayout","row"],["fxFlex","33"],["fxLayoutAlign","start",1,"font-bold-500"],["fxFlex","33",4,"ngIf"],[1,"w-100","my-1"],["fxFlex","100"],["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"],["class","font-size-300",4,"ngIf"],["fxFlex","65"],["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"],["class","w-100 my-1",4,"ngIf"],[1,"font-size-300"],[1,"font-size-120"],[1,"my-1",3,"inset"],["fxFlex","50"]],template:function(G,Z){if(1&G&&t.YNc(0,Wf,1,0,"ng-container",0)(1,Zo,3,1,"ng-template",null,1,t.W1O)(3,ic,16,4,"ng-template",null,2,t.W1O)(5,jf,16,23,"ng-template",null,3,t.W1O),2&G){const Fe=t.MAs(2),Lt=t.MAs(4),ei=t.MAs(6);t.Q6J("ngTemplateOutlet",null!=Z.swapStatus&&Z.swapStatus.error?Fe:Z.direction===Z.swapTypeEnum.SWAP_OUT?Lt:ei)}},dependencies:[on.mk,on.O5,on.tP,Xi.xw,Xi.Wh,Xi.yH,pe.oO,Fa.d,Ar.uU,on.JJ]})}return R})(),Y2=(()=>{class R{constructor(){this.serviceInfo={},this.direction=Yt.hc.SWAP_OUT,this.swapTypeEnum=Yt.hc}static#e=this.\u0275fac=function(G){return new(G||R)};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-boltz-service-info"]],inputs:{serviceInfo:"serviceInfo",direction:"direction"},decls:33,vars:13,consts:[["fxFlex","100",1,"flat-expansion-panel","mb-1",3,"expanded"],["fxLayoutAlign","start center","fxFlex","100"],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch"],["fxLayout","row"],["fxFlex","50"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"foreground-secondary-text"],[1,"w-100","my-1"]],template:function(G,Z){1&G&&(t.TgZ(0,"mat-expansion-panel",0)(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"span",1),t._uU(4,"Service Information"),t.qZA()()(),t.TgZ(5,"div",2)(6,"div",3)(7,"div",4)(8,"h4",5),t._uU(9,"Minimum Amount (Sats)"),t.qZA(),t.TgZ(10,"span",6),t._uU(11),t.ALo(12,"number"),t.qZA()(),t.TgZ(13,"div",4)(14,"h4",5),t._uU(15,"Maximum Amount (Sats)"),t.qZA(),t.TgZ(16,"span",6),t._uU(17),t.ALo(18,"number"),t.qZA()()(),t._UZ(19,"mat-divider",7),t.TgZ(20,"div",3)(21,"div",4)(22,"h4",5),t._uU(23,"Fee Percentage"),t.qZA(),t.TgZ(24,"span",6),t._uU(25),t.ALo(26,"number"),t.qZA()(),t.TgZ(27,"div",4)(28,"h4",5),t._uU(29,"Miner Fee (Sats)"),t.qZA(),t.TgZ(30,"span",6),t._uU(31),t.ALo(32,"number"),t.qZA()()()()()),2&G&&(t.Q6J("expanded",!0),t.xp6(11),t.Oqu(t.lcZ(12,5,null==Z.serviceInfo||null==Z.serviceInfo.limits?null:Z.serviceInfo.limits.minimal)),t.xp6(6),t.Oqu(t.lcZ(18,7,null==Z.serviceInfo||null==Z.serviceInfo.limits?null:Z.serviceInfo.limits.maximal)),t.xp6(8),t.Oqu(t.lcZ(26,9,null==Z.serviceInfo||null==Z.serviceInfo.fees?null:Z.serviceInfo.fees.percentage)),t.xp6(6),t.Oqu(t.lcZ(32,11,Z.direction===Z.swapTypeEnum.SWAP_OUT?null==Z.serviceInfo||null==Z.serviceInfo.fees||null==Z.serviceInfo.fees.miner?null:Z.serviceInfo.fees.miner.reverse:null==Z.serviceInfo||null==Z.serviceInfo.fees||null==Z.serviceInfo.fees.miner?null:Z.serviceInfo.fees.miner.normal)))},dependencies:[Xi.xw,Xi.Wh,Xi.yH,Re.ib,Re.yz,Re.yK,Fa.d,on.JJ]})}return R})();var Dd=p(3214);function Uh(R,z){1&R&&t.GkF(0)}const xs=(R,z)=>({"small-svg":R,"large-svg":z});function Nl(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(Z){t.CHM(b);const Fe=t.oxw();return t.KtG(Fe.onSwipe(Z))}),t.O4$(),t.TgZ(1,"svg",7),t._UZ(2,"path",8)(3,"path",9)(4,"path",10)(5,"path",11)(6,"path",12)(7,"path",13)(8,"path",14)(9,"path",15)(10,"path",16)(11,"path",17),t.qZA(),t.kcU(),t.TgZ(12,"div",18)(13,"mat-card-title"),t._uU(14,"Boltz Submarine Swaps explained."),t.qZA()(),t.TgZ(15,"div",19)(16,"mat-card-subtitle",20),t._uU(17," Boltz is a privacy-first account free exchange and a Lightning service provider. By doing a Submarine Swap on Boltz, you can swap your on-chain Bitcoin for Lightning Bitcoin. "),t.qZA()()()}if(2&R){const b=t.oxw();t.Q6J("@sliderAnimation",b.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,xs,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function Cc(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(Z){t.CHM(b);const Fe=t.oxw();return t.KtG(Fe.onSwipe(Z))}),t.O4$(),t.TgZ(1,"svg",21),t._UZ(2,"path",22)(3,"path",23)(4,"path",24)(5,"path",25)(6,"path",26)(7,"path",27)(8,"path",28),t.qZA(),t.kcU(),t.TgZ(9,"div",18)(10,"mat-card-title"),t._uU(11,"Step 1: Deciding to Submarine Swap"),t.qZA()(),t.TgZ(12,"div",19)(13,"mat-card-subtitle",20),t._uU(14," You have one or more Lightning channels that are running low on outbound liquidity and you want to fund it using your on-chain Bitcoin. "),t.qZA()()()}if(2&R){const b=t.oxw();t.Q6J("@sliderAnimation",b.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,xs,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function Ld(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(Z){t.CHM(b);const Fe=t.oxw();return t.KtG(Fe.onSwipe(Z))}),t.O4$(),t.TgZ(1,"svg",29),t._UZ(2,"path",30)(3,"path",31)(4,"path",32)(5,"path",33)(6,"path",34)(7,"circle",35)(8,"rect",36),t.TgZ(9,"defs")(10,"pattern",37),t._UZ(11,"use",38),t.qZA(),t._UZ(12,"image",39),t.qZA()(),t.kcU(),t.TgZ(13,"div",18)(14,"mat-card-title"),t._uU(15,"Step 2: Sending the on-chain funds"),t.qZA()(),t.TgZ(16,"div",19)(17,"mat-card-subtitle",20),t._uU(18," You send the on-chain funds to an address which can only be spent by Boltz when it pays a Lightning invoice to your node. "),t.qZA()()()}if(2&R){const b=t.oxw();t.Q6J("@sliderAnimation",b.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,xs,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function M1(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(Z){t.CHM(b);const Fe=t.oxw();return t.KtG(Fe.onSwipe(Z))}),t.O4$(),t.TgZ(1,"svg",40)(2,"g",41),t._UZ(3,"path",42)(4,"path",43)(5,"path",44)(6,"path",45)(7,"path",46),t.qZA(),t.TgZ(8,"defs")(9,"clipPath",47),t._UZ(10,"rect",48),t.qZA()()(),t.kcU(),t.TgZ(11,"div",18)(12,"mat-card-title"),t._uU(13,"Step 3: Receiving the funds on Lightning"),t.qZA()(),t.TgZ(14,"div",19)(15,"mat-card-subtitle",20),t._uU(16," Boltz pays the Lightning invoice to your node and claims the on-chain funds locked in the previous step. "),t.qZA()()()}if(2&R){const b=t.oxw();t.Q6J("@sliderAnimation",b.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,xs,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function wc(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(Z){t.CHM(b);const Fe=t.oxw();return t.KtG(Fe.onSwipe(Z))}),t.O4$(),t.TgZ(1,"svg",49),t._UZ(2,"path",50)(3,"path",51)(4,"path",52)(5,"path",53)(6,"path",54),t.qZA(),t.kcU(),t.TgZ(7,"div",18)(8,"mat-card-title"),t._uU(9,"Done!"),t.qZA()(),t.TgZ(10,"div",19)(11,"mat-card-subtitle",20),t._uU(12," You swapped your on-chain Bitcoin for Lightning Bitcoin, while also adding outbound capacity for your channels in the process - all in a non-custodial manner. "),t.qZA()()()}if(2&R){const b=t.oxw();t.Q6J("@sliderAnimation",b.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,xs,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}let S1=(()=>{class R{constructor(b){this.commonService=b,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new t.vpe,this.screenSize="",this.screenSizeEnum=Yt.cu}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(b){2===b.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===b.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}static#e=this.\u0275fac=function(G){return new(G||R)(t.Y36(ea.v))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-boltz-swapin-info-graphics"]],inputs:{animationDirection:"animationDirection",stepNumber:"stepNumber"},outputs:{stepNumberChange:"stepNumberChange"},decls:11,vars:1,consts:[[4,"ngTemplateOutlet"],["swapStepBlock1",""],["swapStepBlock2",""],["swapStepBlock3",""],["swapStepBlock4",""],["swapStepBlock5",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between center",3,"swipe"],["fxFlex","30","width","323","height","323","viewBox","0 0 323 323","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M53.8333 134.583H80.75L94.2083 161.5L117.792 134.961C121.616 130.658 125.869 126.602 131.194 124.413C136.45 122.252 142.103 121.125 147.842 121.125H242.25C286.847 121.125 323 157.278 323 201.875C323 246.472 286.847 282.625 242.25 282.625H147.842C142.103 282.625 136.45 281.497 131.194 279.337C125.869 277.149 121.616 273.092 117.792 268.79L94.2083 242.25L80.75 269.167H53.8333L67.2917 228.792L53.8333 201.875L67.2917 174.958L53.8333 134.583Z",1,"fill-color-0"],["d","M26.9167 107.667H53.8333L67.2917 134.583L90.8755 108.044C94.6993 103.741 98.9527 99.6849 104.277 97.4963C109.534 95.3357 115.187 94.2083 120.925 94.2083H215.333C259.93 94.2083 296.083 130.361 296.083 174.958C296.083 219.555 259.93 255.708 215.333 255.708H120.925C115.187 255.708 109.534 254.581 104.277 252.42C98.9527 250.232 94.6993 246.176 90.8755 241.873L67.2917 215.333L53.8333 242.25H26.9167L40.375 201.875L26.9167 174.958L40.375 148.042L26.9167 107.667Z",1,"stroke-color-thick"],["d","M134.583 215.333C142.016 215.333 148.042 209.308 148.042 201.875C148.042 194.442 142.016 188.417 134.583 188.417C127.151 188.417 121.125 194.442 121.125 201.875C121.125 209.308 127.151 215.333 134.583 215.333Z",1,"fill-color-15"],["d","M107.667 188.417C115.1 188.417 121.125 182.391 121.125 174.958C121.125 167.526 115.1 161.5 107.667 161.5C100.234 161.5 94.2083 167.526 94.2083 174.958C94.2083 182.391 100.234 188.417 107.667 188.417Z",1,"stroke-color-thick"],["d","M201.875 215.333C209.308 215.333 215.333 209.308 215.333 201.875C215.333 194.442 209.308 188.417 201.875 188.417C194.442 188.417 188.417 194.442 188.417 201.875C188.417 209.308 194.442 215.333 201.875 215.333Z",1,"fill-color-15"],["d","M174.958 188.417C182.391 188.417 188.417 182.391 188.417 174.958C188.417 167.526 182.391 161.5 174.958 161.5C167.526 161.5 161.5 167.526 161.5 174.958C161.5 182.391 167.526 188.417 174.958 188.417Z",1,"stroke-color-thick"],["d","M269.167 215.333C276.599 215.333 282.625 209.308 282.625 201.875C282.625 194.442 276.599 188.417 269.167 188.417C261.734 188.417 255.708 194.442 255.708 201.875C255.708 209.308 261.734 215.333 269.167 215.333Z",1,"fill-color-15"],["d","M242.25 188.417C249.683 188.417 255.708 182.391 255.708 174.958C255.708 167.526 249.683 161.5 242.25 161.5C234.817 161.5 228.792 167.526 228.792 174.958C228.792 182.391 234.817 188.417 242.25 188.417Z",1,"stroke-color-thick"],["d","M189.321 97C186.935 97 185 98.9345 185 101.321V112.679C185 115.065 186.935 117 189.321 117H237.679C240.065 117 242 115.065 242 112.679V101.321C242 98.9345 240.065 97 237.679 97H189.321Z",1,"fill-color-15"],["d","M161.5 67.2917V94.2083H215.333V67.2917H161.5Z",1,"stroke-color-thick"],["fxFlex","20","fxLayoutAlign","center end"],["fxFlex","40"],[1,"font-size-120"],["fxFlex","30","width","347","height","169","viewBox","0 0 347 169","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M89 157.417V41.5833C89 35.2125 92.75 30 97.3333 30H230.667C235.25 30 239 35.2125 239 41.5833V157.417C239 163.787 235.25 169 230.667 169H97.3333C92.75 169 89 163.787 89 157.417Z",1,"fill-color-0"],["d","M6.25 134.625V18.375C6.25 11.9812 11.4812 6.75 17.875 6.75H203.875C210.269 6.75 215.5 11.9812 215.5 18.375V134.625C215.5 141.019 210.269 146.25 203.875 146.25H17.875C11.4812 146.25 6.25 141.019 6.25 134.625Z",1,"stroke-color-thin"],["d","M256.188 123H238.75V76.5H256.188C259.442 76.5 262 79.0575 262 82.3125V117.188C262 120.443 259.442 123 256.188 123Z",1,"fill-color-15"],["d","M232.938 99.75H215.5V53.25H232.938C236.193 53.25 238.75 55.8075 238.75 59.0625V93.9375C238.75 97.1925 236.193 99.75 232.938 99.75Z",1,"stroke-color-thin"],["d","M146 53V87.875",1,"stroke-color-thin"],["d","M146 122.634V122.749",1,"stroke-color-thin"],["d","M344.698 95.3022C346.74 97.3445 346.74 100.656 344.698 102.698L311.418 135.978C309.376 138.02 306.065 138.02 304.022 135.978C301.98 133.935 301.98 130.624 304.022 128.582L333.604 99L304.022 69.418C301.98 67.3758 301.98 64.0647 304.022 62.0225C306.065 59.9803 309.376 59.9803 311.418 62.0225L344.698 95.3022ZM277 93.7706L341 93.7706V104.229L277 104.229V93.7706Z",1,"fill-color-15"],["fxFlex","30","width","454","height","243","viewBox","0 0 454 243","fill","none","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["d","M141.75 172.125C178.098 172.125 207.562 142.66 207.562 106.312C207.562 69.9653 178.098 40.5 141.75 40.5C105.403 40.5 75.9375 69.9653 75.9375 106.312C75.9375 142.66 105.403 172.125 141.75 172.125Z",1,"fill-color-0"],["d","M121.5 151.875C157.848 151.875 187.312 122.41 187.312 86.0625C187.312 49.7153 157.848 20.25 121.5 20.25C85.1528 20.25 55.6875 49.7153 55.6875 86.0625C55.6875 122.41 85.1528 151.875 121.5 151.875Z",1,"stroke-color-thiner"],["d","M20.25 192.375H222.75",1,"stroke-color-thiner"],["d","M192.375 222.75L222.75 192.375L192.375 162",1,"stroke-color-thiner"],["fill-rule","evenodd","clip-rule","evenodd","d","M161.033 82.5635C162.307 74.0523 155.826 69.4769 146.965 66.4247L149.84 54.8952L142.822 53.1462L140.023 64.3718C138.178 63.9121 136.283 63.4783 134.4 63.0486L137.219 51.749L130.205 50L127.328 61.5255C125.801 61.1777 124.302 60.8338 122.847 60.4721L122.855 60.4361L113.177 58.0194L111.31 65.5152C111.31 65.5152 116.517 66.7085 116.407 66.7825C119.249 67.4921 119.763 69.373 119.677 70.8641L116.403 83.9987C116.599 84.0487 116.852 84.1206 117.132 84.2326C117.096 84.2236 117.06 84.2146 117.023 84.2054C116.981 84.1948 116.938 84.184 116.894 84.1731C116.732 84.1323 116.563 84.09 116.391 84.0487L111.801 102.448C111.453 103.312 110.572 104.607 108.585 104.115C108.655 104.217 103.484 102.842 103.484 102.842L100 110.875L109.133 113.152C110.152 113.408 111.16 113.67 112.156 113.93L112.158 113.931L112.159 113.931C112.823 114.104 113.481 114.276 114.136 114.443L111.232 126.105L118.242 127.854L121.118 116.316C123.033 116.836 124.892 117.316 126.711 117.768L123.844 129.251L130.862 131L133.767 119.361C145.734 121.625 154.733 120.712 158.521 109.888C161.573 101.173 158.369 96.1458 152.072 92.8677C156.658 91.8103 160.112 88.794 161.033 82.5635ZM144.998 105.049C143.008 113.044 130.493 109.739 124.766 108.226L124.766 108.226C124.251 108.09 123.791 107.969 123.398 107.871L127.252 92.4219C127.73 92.5412 128.314 92.6723 128.976 92.8208L128.976 92.8208C134.899 94.1498 147.037 96.8734 144.998 105.049ZM130.167 85.6513C134.942 86.9255 145.356 89.7047 147.17 82.4376C149.022 75.0044 138.901 72.7637 133.957 71.6694C133.401 71.5463 132.911 71.4377 132.51 71.3379L129.016 85.3499C129.346 85.4322 129.733 85.5356 130.167 85.6513Z",1,"fill-color-15"],["cx","371.815","cy","95.815","r","81.815",1,"fill-color-boltz-bk"],["x","313.615","y","82.836","width","110.745","height","30.1472","fill","url(#pattern0)"],["id","pattern0","patternContentUnits","objectBoundingBox","width","1","height","1"],[0,"xlink","href","#image0","transform","scale(0.00185185 0.00680272)"],["id","image0","width","540","height","147",0,"xlink","href","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAACTCAYAAADFh8BYAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAACHKADAAQAAAABAAAAkwAAAABS37hiAABAAElEQVR4Aex9CaAkVXV2VfebfWWG1QWQRYddNgmCO6CiIGrAKC6gUWOIUROz/CYm+OdP/P9f82viEmNUcCFRUVFQlMUIgpIoCgwO2ww7IjLMMMub5b3XXfWf75z7Vd2urn69vK5+/d7Ufa/qnDr33HPPdm/drqquDoNdvMTxhSPBE5vODuL6BUEcHiDumBcE8Y+DYORT4V4fu3YXd09pfumB0gOlB0oPlB7oiwfCvkiZoULiDe9eGtSCH8RxfCJMCOUvlj/AIAyjoBL/abjHJz4+Q80r1S49UHqg9EDpgdIDQ+OBXXbBEW/8i2XB+ParZYHxHDohlrAAB0QJw2AiCOccGu75sXVGKfelB0oPlB4oPVB6oPRALx6o9NJopreJ469Xg4ltX8NiA8sLLDD8xQYWHbrwiOM5QVC7YKbbW+pfeqD0QOmB0gOlB6bbAyPTrcC09P/bH39EbqO8NF1mRKoGbqbYAgRQCkAU47mOspQeKD1QeqD0QOmB0gNT8MAud4UjfvyCt8Rx9D5dbMg9kwT6OK95xHrtY/EU/Fs2LT1QeqD0QOmB0gOlB8QDu9SCI37sghPievyvSeR1QSFHgD7uGPRmSxj8POEvkdIDpQdKD5QeKD1QeqAnD+wyt1TiJ9731Hhi52WytJinFzDy3OUueOitFNTjAkcU3ZDHWtJKD5QeKD3QLw/Ej55/TL0e7tcveamcmqCY5gGDoFqdf0P4lM8+oQflrvTAgD2wSyw45F0b84PHHr9MntvYJ5RbJ/aYqHgat1FwZUNvp7gHRYWEdQdKWAk3BXvt+UM7KvelB0oPlB4oxgMT9VjeAxS9FXMTv56vPeFDDz8IAW2cspLpixdos/XWGIsNm9XiaOeL5eBHspWl9MDAPbBLLDii3zz2OfHs8fCuLDpSJxN3kDUpjP+9Gl64M21QYqUHSg+UHijAA3Gkc5N+IBIcEAVzkbfeUJq/c2z8zJSzAJEljAgJQ85qfusSLz0wWA/M+gVH/Ngf/GW9Hp8Lt+av/jmkwUHcBmclnnMRqGUpPVB6oPRAoR6QVYVe2ZDVgS06bA5Cn/xcZP1z+eEWJBl+tk0WLNl6d6WjUFtK4aUHWnhgVi844t+883T5sPD3/BQAH/i4fFvFDW77WqwNVqMJfke4zydvbuG3klx6oPRA6YH+eUDWF7z6Sgjh7RYQ4PH5iRNm24O/LKUHpssDs/ZbKvGj71glnxX+I4qj1EZ+VAD0ced9DlLAOIi+MF1BKfstPVB6YNfzgLtmwactxAG4HYIrHQZ9HDRsfhvDcaUkLfhQhQJIPK0tsdIDg/VAejIebL+F9hY/+d7lcRxeHkX1pRh8HGxYRigO6AYrIQcpoFwFqVeqI5cUqmQpvPRA6YHSA4kHbE7CIbC0ELcFhtFJw9xmuH5I8hYnkGKbzoCC68yWii2x0gPT4IFZd0sFry2v/+bar8lgOxj+bBi8GIMcf6jDg1T45wNVimuj74d7fvoxwcrSgwfih9940EQU/lleU/mcJS9/CQNAFOKARRR8vsOq2j7npThX2j3rE8by6H+4Qz447qxUgh0y4T8hv/b368pI8Os54fyHy68eFhHNXVAmhok3ZyV4h8MFCxF7ds3GmwnbBf1YmjwUHph1C47oNz/8R3l3xmnwbu5YFWIyVjkGCW1kBtVK9aKhiM4MVaIWB/vIQu8deerb3MlLwRKjzHM0CEXD/CoxsUkziVqDWNYBorAtubP3sPP5PX2kYSiyYiegiZ/6JD3JzTcwY2IP6kFcC4PxeFsw/uCbHpeF7K2ShLdVK+F/VaPFPwr3+5cnG5QvD0oP0AO6IraPR0i9dErKyX+Xm2iKFv7XaN1nKMlhE4z819wELEvpgWn2wKxacNQeeft5UVR7j/68vDhWx5gMPH+sNQw7DEoQ3ODEya8ShhuCffb57jTHZeZ37xYAGRc32WXzoUyaLjCMD6Gd8DFnWpAYLtarQFfXJFwI2t7BpN7jt/7THMntT/iT/og7GWqf4C6FbLGCjuJoTyGeJvTT5FtSQT3cUh974I03i6Dvz60El4RP/8q6RJ8SKT2AS26SLMwzwtx8FFbWq+NcLuY5MTf/8xhLWumBAXhg1iw44kfeeWI9qH/GX+0nZwF3NsAgBcrBqrjsXLW6Wz5oXCLv3hgfgO/LLsQDmBAREYNwSWOU9EhY0phlPtGhrfxxkWnS/JhaLSnMD/Ij+CobDbUIopc3SGjUh32lSwxKZvtGflLFzKpwniD9nTBWDy4ce+Dcm8KwctGcfatfDsOLy3e90FG7KIwj3NxDzjXmjx4JGRAlm3/ZfPYl+C2yWWp15b70wGA9wFvZg+21z73FG37/aVFY+5YMxnkNA4srf0DZ9KTmoL/yx2DmgB4JRi7us3q7pDhMjPiz5YBB4IgDIXAthDggDigb/ggVBwtorUqmvbKRJgdsC6h/rg/kAxc9hGgLHkIfV6LsmDfMIfAABzQ8hbRbfRLHJ8pDzZ8de3Di/rEHz/3zeP1bl1BmCXdhDzBXAV1uEiKTUAhzvZRpbw388YK3jpal9MD0eGDGLzji+H0Lajvib0dRvLcORR1wGGCy6XV6B5Nr9jxFpAPXTgloE94ePvUzt0xPKGZnrzx5Jyd0cb/S3BlaoyE7d6gIaQ1n8xbuwW0wFP32keISTQc1B6xW9z3tMhO46iY06qtZg/7dhj6As7S3P95beP7PxLaxdeMPveE8wbULti/hruEB5hMSSxMgIYj9Ssj3Q+H5n99tSS090JMHZvyCo/7o5s/LGeZYWN80ucuJR2k4AelJCEx2gsrjr5Tv3oBbBlqyMcOxv8mBi6Gcxj2cPFCWMlRxf2HpP6AhbdG+adOn7IQO6OPk9WUIrn05SB182KSPKtV6R93lfTF7RvX4op0PnnvD2P2vX9W6RVkzGz0gjx5rbvm5pLnh5Txy16cxdwjVL8hXFEBsyGNC4OUFDvNPuZ8WD8zoZzgmHnnrB+Iofr0MIy0YajIkGz4QuOGn9awDRPH55WnuWmVk7r9rRbnrgwfMx00+F7LSGDT0hInQFcaLEEHSJ+4dgXRChFLnWIqgLELI9XF21ClkW8K28hJFtIeu7Y/jk8Tmn8szHu+ct/8lZT52GqdZwse8Jpz2/J9mv8oPb86dePjeI+WL7cfJkuy4MIqPkxl+N3m4/6Nz97vkE9OsXtl9lx6YsQuO2iPnv1Im878zeznJY5gCt+GKlT+/Fgk+4vpVMRCkJAM7Dr4b7v2Zx41a7qfqAX7q0ofaEAfGROLDB93QB/FW9RpOMDLEwLPFq2snrzFDbC2iNCdD20+ib7brqcrL01ceWl0s32u5ZOcDb3juvP2e+cdheGF6WS6rQHk8qzxgC1R9ysfsYm4T5lnr1eXlE2nWNJnx8iRNKw3vUBp/5LLDwnrluCiMj5c55LixB+46UsybS8XMVHgpWEZaCWeOB2bkgiP+zfmH1iaiS+TUJbeEkIJuEOklcRxaWloYUtzud+KyOOfv9HQRVoOLjb/c98MDnNZs0YcTu8XBru5iIWi9NF0BEDJpnejB6HtRds1SiuVIvjTqSZjVF6mlujsGAPZJiWyLY+KEWXld2R9HF4w/ePfKOH7Hm8PwsxPsr4Sz0wPMe8JOrGQuptlOjBBSfLwTqcXzyJWLyvgDdz8zrITHy92k4+phdNzYg986WlRdEMn7bDCFcwwRFq9V2UPRHphxC45407t2m9i6/TvimKXpQLIB5c5p3hV0d889Sd2sO62dnATWV58y58psbXncuwe4wMDKwk7Y3rSRg5JkJ2jGLad/O2PLbORaSNBj0oSd32jlo5f8dAeIgogDs8gDEcxrn70KppO/1AOiaI6JAOZa0tbTJ6GhAdqyDxyjONV9lKSs/XL8e2MPbFkon/5eE4bn1LV9uZuVHtC8lFxhDuYayVz18q2b/J+uRzh2PvSWA8OgJrdEouPltTTHyWLjGBlTS+SWuJrJz4jZ/G/ygbPfv0rdxFMShtYDM2rBgUtuEw999+syIg+CR/VkILM3TwbZkws4rPBkYZ+s9QQgFRzYMtC/Un6CdK7qC5BpLT2DGu7O0I0RyelM2ml8kvYIlGyuIdGkWhClJYRG/uzr67M5ArHaXmBPhSsPQhUmUhN9HD4F+yW/zxy7/5v/LPpd0JOOZaPh94DkB/OeUJXOJChzNUkvQZSWEKSVEszkbP4PYsKXH85cOD6++WVRGB4X1oPj5LcFjotrO3eDKSy8xszjBIrundif8JfIjPLAIPKvbw6pP/Ldj8kq4ZTk7KODUXbM5MwtFczx/EBAJTSZeeDgSDjn4gypPJyqB5KYiCDgLSbEpm7YjhCNedkCopSOyZktudx0BAY8+QTo+nbV+DYAlDEIGbgCYTQcEfdvu7EN6pPJvJU91IsQfMBb8UOmX9iO0NkvVv7hzvted9f8A75WPijn+2u24Yw7YZ/zvxYWf41jorbtMHmP2TeR+Dp00+GVjoXEvkwASSdsYX8QcUBl2peHQ+2BGfO12PGH3vzWehS/GycCLBq4cCCEl4m3quc5CNDOSxGucvwyfPrnVg91lGagclgG4E+CkkDgWgjlQHkcNNzxoy02DZqDPs56E6h7Q70+0I+e8B3kHEWYtmqJNenXZI/IVnvQb6q7YVanMsCjfGADr5Um+Z4MyGu0P/jo2MPnHsG2JZw9HojwtVjEe9L4azKnOaH88EGaT0luMd/y8r9wt9WcFaKX6NG//Pftb3mNpHDryg5698CMWHBM/Pr858oPav0LzGw8V3Cg2UA1N5CGcWk4IDYsRAi5OJGnky7q3X1lyzwP4DMU4uSmhwRaNGxatUlS4qECDOby64QlTG4C1biB5jY0T2Kpshp3eGU0ir46Wl8f7XDQrCaBoJh2BrE3nVL90MR01saurcmCPN8GH0ddXn8mK5Xvy1B+z36xc259fOJieeBuRl2ZNE+V+8k8gIk4N1+8+GMMTDX/J9Ohn3WwJdceN8I4YrrJf9/+crnRz2gNTtbQLzjiX5//9Hhi4luRTLZ6QpBBx2RFAioOqDgOdZpWD/JEBJi3SbKPzwmD/1Dmctc3D/hnQ5tQbPLRCUhiQagxwQSE+Lg/rRMc0MeTernKARzP3yTP4IDmYgwjgLOAB4X8yBejudzR2pRfDyfZUTb7Ux2dTdaT6U0RPs3nZXu1qyv7g2N2PHjHeyi/hLPDAziBal57UPMF+epozHvC3vJ/sP7qf/7b+B/6E9dg3TxjehvquMUPv2/BRG3i23I62CvXo9lslsGpoxNQN7TyTybErV72V4RP+9KGXNklsWcP1OQSR3JCdQsBHkMo8NaFdRYjC5/gyaHheqJ2sQWeFuLWwPoSDqeHTt6CA/o46yFK21hzE0uROMrknPIKje3bQYjQNkByCztzCuih7JJDQerBX8aPn704t3lJnOEe0ICLDUnADU8OBdF/GwEwtpv8B3/hRb7A3WocoO8p57/YX17hKDyKhXQw1AuOiejxi+TKxjE6wjCs9ESVnjyyyctEbpXs/gnG4RcV4tVSqJ2Yxcl6gcFB4NkNk6fyCNSJFDHGv1sgZGOMuKEAGm6LhzRHUIscgQyTTYh+iLNeuYWPRXWRA+qJZ4asHZ4dElzqCPP6N6XQMYSYHELK9GFv9se7j28P/5g6l3CWeEBzFjvkGOc7w2mh5VySXkLuLv8pp3BYaP4H8sWXssxEDwxt3MYeOvev5Cvar8OAkvGnG3IYuMvlZOK3B0ndvXr9xoGFonlwWltX+9i8/Q66yvBy33cPuDO6LgLd5MlJ1IcaX/C6KPN2R6tbICpPeCkDehuNFkAWisls5udEnvZJXsBm/kb57AvQx61PdOv6BySPg2zjQ79P4J3aX69H7ymf5Ui8PgsQu6nSafyZQzCceWhOcPnXMv8H5KqC8x8P2ZZl5nlgKBcctYfeeKY8JCqvLc+u3u0k0fFg46ATmP2Th0W/LK+MLv47YjMvJ6ZVY06erWM8repJ540TumlD2tR168L+PcfuX3P61HssJQyTB7qI/zCp3TdddnX7++bIIRU0dAuOsQffclg9ir4it1L0AgUWCmkhDujjKUcDhlU2ilttN8Bg5ItWWe6L8ECrBUO7CaW5nlcSGPMshPbMBYTa8LT/ydsbv/H4uMnM9sV+CJs919x/qpNq2qRfu/rW+ssYOa9Zg5Iykz3QnD+t4285CmvTfGzffjDegR6+LuzVp/l463rKyY5FtijhTPLAUC044offtiKOJy6XRFyCMYRbJYSKi2cJ4WQ/YRVnkmNSx4YlC6F3f0W+3/Czeft9cQ1klKUID9S82152lQrxwWbPQxgELgFSGqCP8zkHcBgfsObSlAPCQlozd/cUpA8KoI8bVWsc6vTXI7PZ0s/wIuwXv7w8jt89L9WlxGa2B9KxMCz536s/kftF53+vupXtps8D/jcYp08L6Rn3o8cevPtSQQ7gkxZ6PpI6QijYiGOSt5dVo86ODOJYCR60AYAHjsKLQS5LgR5wgdJXoQjuXomiHfoxtEWIfa21F200+ljIMDM0yCKJnaAOs7dbLWRzBHXUAf0TB0RpV69M3i7LX6T9ouP8nQ/85kTp/jpPhRKdgR6I8JsiLue6Ub/b/A+C4u8i41cGMeRQisp/ueVuHZT7GeWBoVlwjD14z8fl5Uwv1kz1HvxMVw2WxHZCMB8Tb3VyyEYCfJUwHJtTCb6arSuP++0BmxCw5xpAe+A84aDWSVzc/NS0aGRb1ifChCAn97rE9F91cvMnoITZdQ6pjsYqQsyIirsVEfGkXtpCvkxwc+VHslbIBL+b4PuKxAPzPdZoII4gi9QEcQSt69F+7T+WMVMuONQVM3mHS81IiWy+MHcAtWQJyB1LIq3GMPAOHZ6OLydlAMASPGtP3/J/qK7ND8Cds6SLoVhw7Hjg9b8fx/ULbOZ3IwYObsrWyb0uF+2VgbCpvYxEuUnz7XC/f39yckll7VQ94J//fbw5qE0zqHRNmnFDF4ushxhhYuGB35qWHzSL7z977x1x/WR51Oj8MIjk1oZO+8mHVN9mH++z/dJf+Bz4pyyzxQONkx7znjAZCAlB7PZwveIhBF7xw1xIGjxEetHe8nPex/uV/2H5WypFh7AQ+dO+4Jh48PUny0Oin9Ixg8zEvJ1kKHGcgGSxoO9BkOndXQEBVR6c09OTMigGScZvNG8P3rBysUcp0cI84GZBhsMdWojkwIWIi0NCqOPjWfU4eQIOavLM6oDj8BmXPibgG9jG1r3u8CisfVqutjwvO8HryQC2FmC/SIUfn6mw3M1oD/hf8+w0/2FwNt/YlhB5x1+MHZSD5khHE0x45H0B+T8oW8p++uuBab0wFT/65n0narVvykQ9N1lkJIsNGMpZGpALC4NcUhAqt2uLWyfYdDg6qLLC8NF5+7/6GvCWpWAPmPvTyQaBYrAI81RoDLmETQgqCxDTaAqTSTVPzgBp8w762q/mH3AEbm18QtWznekNW6F/QfZLnu8Xx2fLa//LMis8gFxBAdRNdglszn+d64RBoRsrwJP2efmnHRS3m5DlxqT992H8F6d9KblID0zbgiN+9B0Lx8Z2fkeM25MG6kCRAw6eLAQfeXycfPqWfRlsgNhQCPUgir4UhufUFS93xXqAJ1hMfjrpYRK0iZGQcfMheDXGbA8tgQ95wTtdFh70rT+W50q+1qB/8fZXxu6L9hty95TqtfMAvpDncoUwyftJ8h8PKaMAYsOShBC4jjUHgQ+scPwWn/8DM6nsaOoemLZbKmM7N10st0OebXdQ0oGgg83ZZXUYTEawwSRjCAPIFR8njRBfodXB527ByAOjF7OuhAV7gJMbYsdJR9C8p9Z9TRB/a5LG2J8o8XQ6aob1KfUFixe9bcfW0ZPEjqepXQXbD1/Uw2CZ78OZiss31So7fr36KSPj8cpaVF1UqdQX1aPKokoYLZKoy53UyrZKpbItrkTbqlF129xKsN7d2pqpJjfozbwnTCo5loSQzX8dC0LnaGFbQJRs/QC+pOI6dhqZQqK4kfs1/stfUzF/zrT9tCw4xu4754PyyxRn5wyHBv9xnBGikgMrYfQI5CNUfncgC4+b5h9w6d1JuxIp1APJQpDxSeYf+RQmMeHzF+ADTn7irNeJCm3dhKVt8UlO40rhhZrSlfBw7y9v237vWR+V0+PHtSFVLMR+U60S1WfUD7lJ7MLxB1+zKqoFJ8s8cKRYcYDE/8Dt627ZXwI9b1xzIg7quBYZ1oMIb7FG/MMoqEd1OemGwURcDyaEvm3dq7ZLBt0nGXGfpMS91aB6SzCneuOC/S+9X1rMoIIRkI6FzvLfzGOK2ZGe4QW1AaMf1oSBH9oG5RCOZzHJioM6vvsw/pESZZl5Hhj4gmPs/nPOiuL6h/R8If6yEwcd1zhYSE0hspY8oBK3wdW8gPHrw4tSOSVWrAcmJDIWk8YFgkQIH3Hwn3wN1RYbCb836UJHx65QdUYKqAA9GsrdgiVzPr9jc+0jMunOKdp+nEiiOBz6BceO+16zX1yPXytxf/62ta8+WQK6EsHTE5CLOY79k67WW7pMFv+FMokcLoIOR8bV5S+cqAfb1r7qUfni0I3ybYYfLawE3woPuuxxyBveYiOgW/sRf8ylXFBYe/Oj2srFGs/QHd5E37b2LDyPdHpWftZ/GI7wuw5LxWU8R/V5yXjG4kKEcJ7v1/iX/v5k2z1nnZ/VL6uPKtaooCkLmuqbHoqm/2/RwZd9ymo63+9Yd9YH5TUq56FFUz5n7E+clfTfZv4TmbQJ8hlrQJR+2g957eSDxy/UzamTb381+OeFB377n9BuoAuOsYded3h9vP5l1crXOsGptsF845HA1sAmczjJ+M35ab15TwfEjvlx/PWkmxIp3AOY+FA0JoI3xsybgBwf+cGob5N1DRozAgJtAOrAdXmgHQ3RLtzz0tFt6866WfLyxELtF5t1DFT1GsAQecBUGZWvDlfqE2dLDF8vJ6HfERjKlR8JcZ/i7+y3nHGZQtlh+BRxzjlygjtnexB+cnTtWf8ZVsKvLqzE3wqf8e1NQ+csGQfMe0LoOGn+T26/mcgxQmjUTvZ7ie/kypMUjjngOZOyzr/JeG3UuLD8D4LdRL/d2LdC1dXlltNH5wmlY+dKxhfUuBIGu5GlG1iP4t2lnwPQhvMYIdSQq3iTzH/WE3Xoav5Dfy4e/bBf9Xe+sR8WcfnXQ/x9++WJhhVm5QAXHPEjb165c2z75TLlLOYoglJcEUIhTkSAVhAG4AwH8U7rnZggviw88BubeVTCAXjALQIZOUL0nAyOTtTITnCdtBkCHrH3Z2LoibSbEKr12/5KUNkyBCYnKoze9+qjglr0l2Ft/Gx5TquqNie1/bdfHOpJz6BSJ7VV4TlV7sKcKvdfPiW3YS6uzhn5yPz9vnlfhnv4DjvJ/zb269mOPGGnbxqVSyLiuOycDE9zFlZnUS5hxoOMDCGq+53/7eLfaD8UkM2dQlRtwQEjd9UVOnZdZoH9tNmPVT/in57P8ZbvARS8tnzHztFL5amvZ2D1jinAFhuIPRYdLonxkKfgyuMe9NTVvtORiQqIzXj99ilNebC2NL6LBmBm2UWeBxAkFAY5C1mnTBZ7oK1yQOWwDWW7tsME5OE+u4RPHbN285i2OOWZ753aj/FTCYdjwbHj3lefvG3tmVcGtfqtEsHfk7FXbYoX7Sbsg/3oA37AnyROAoFr/4TgiwK52Bn/QX28ds/oPWf++9h9r8UzJENTeol/N/Z3ZSj85XwH6OPqV8QQhdCOGvesA8zbwE0eQQu3H2dT9AeIDYXQjrrfT3YWpW15tvt1rtdpt9/XSXA/5j6exBJ6s02e5zJ1A7mlsuO+1bh/8yJE1r+iwTgTQl+dNBLFWUMI7YGbFeaA9PIsyBgfqQO0t4fnHXDkfwbBNxOpJTIID1jMONdrXHK61QhJJSCKroalKVfFiDFX2VovdRpiE69thnMXy9tsMUlbOhZpfxTWp/UKx7aHznxKPBZ8rFavndM4Qm08Kq1FvPoS/1bOlcTQ/JHc0rmCiSK6SGRw5eX1ovPrtq494zOLR6p/NQy3WnrK/y7sryVXj+mMfKiPfIhcxs5Gp/DqtXY40CiYr/EQL+dt5Rc28kM1pQ1Z/Gm15h9sSDRmTRdQLwaZgTPd/ux4YewYz57i7105mmxt1oXHW7PKvex3iBF/iISEMQlEJuLfQeBaCPNEuqse+Jiim3pDcEDFPQg5wiep9EV5R4KOnzyRJa1YDzBRGaIsRD5Y6Cw3JCGEoomB5LBpwEHjS0M9WaoUa1V76TKvLwQXdEbJ2s3jqdoPOfNrizZqJwPeyQvHqqNrz3hvtCO4S8bxOXndD8J+5AH9KUnjfK4TgFMpzZSsPvKJsiLz4R9uq0V37Vh75hvzbBgELdY7/aJnl/kPe7qxf6qfMHW+Rp/QUzYUQj3I7LL+ZpwI+5H/3dif1QfeM5rZklG/w8PWp5dsf7SbcLjspw8Im81nrLuNPyUVuuCQJ9OfL6vfT7IzLq4BsamzHQSeHWzgAE0hcC2E7tAHXEkBygbO6rzqF32WEh+MB1olZDZhJfw6YQH6ONtnIXLBZCC6k+TCYMxs2YvcPlzp20pGnwbct9nHUZe3Ze2XNr8OD75k4Fc4tq99zdO2rxu7UULwsTCMl0D3PP1hN232cdrmt/Fx1mdh1n7I9POAfbGdL1NxUZgQM4TyAUbRXrUo+rIsoC6P7z9ruckd3B46+bpS/yycqv2dPsFBy+EjFPWV7P15W+dxqUsg+LycBo5C6OO0y7fZx1mfhVO1H3ZoP7QI4wx/0HUKz15DZp7+vs0+Trv8Nj7O+iws0n71gShJqPqKbwjVd6IkYRJ3oUH3PP3R1ndrYQsOfA0uqsffkN8ImCMWwAozxEEY5SuouJhCCKPU2YSQIaXBGe6KB+576b0v7QZXP8AoD6iEwQ3zn37pOm1Y7qbFA4yXxjInhk1KIQFQAGVDUhMqjkPyCD6sJY7CQ6Fb0faLS28ftA+2rjvjxVEw8UuxTb554sYlxqmHU6fi7Xf9iyP8vti/TQY4sknBUsfmGaYRobaJ4zNGJ+o364OvqZDBYVQGULZ2+e/b7OOpwuYf2t/pFY6K+As3SvBPqC6EYIpU1A4s+inO/n2dfJz1TbBg+038JPFvUqgzwmyxX2MtJgMy7oRJ3HuIP71YyIIjfuxNi6J69B25TLgHAtwyGM4C1pMX0BIjhaYwLQX0cVebWYDI9/AvtppyP1APTMjnqFZB9AMruC4UHbRFo2QD4ojFiZ5ERHMHQSLO+oHa1WFnMrHKLeH4eblJ3G/7w3CgC47Re854v1w8vFq+3rqHnkA0NhYrjQnsQ6AAfVvpO58meF/ir4lhHXAxCohNVXEQOHROIRLKaNba4XF8YFCbuElsfQPpRUP4gXlPCEWhK6GPa4USrJ76tbO/0ysc+IFMja/6Lo2nT5uN8acfu4aIBTbxVwKBoxD6OGiyDWX+i2o2Tswextz0TWkdx99bZXgovDH1IkqE27du/aIMlaPgeFHPApAzODQwXr1vgI8rnycLMimXUHm8GUa+c7994dLdLoX4skynBzRCooCLmuaB4IB5OdFWVY5eN2Lb8g+eYdu6M0+VXt13z4u2P75lUBbKw5V/LxPkR+T2gzxw6eKpndPGPE1Y5/j7Hn/IRS6YfJ03BAf0cdabhtTJNQXRTyfBpe0CuRj8lW33vOId1mZY9lAUhQr3Yr9J6Gjvj1E/drMx/j2fDb18anIq6wBl833o+7apXStCP+JPnaSPrDh0SxpwX0df967jD2EFfC12+7pX/Y1MSq9tUNT6EuXdwzX6CdbDWU9DAX2c9WokDlzwlO45r8E5wTfCPb6wNWlaIoP1AGLhx8P17pagEkH7A5m0fAUZX4s5Hq6zFngg2OVQfsPpo8bx/1DbC7ZfrqLUFy2Yf9UgDB295xUfkZuxH2CsWsbPt9nHnZJt2zcZ0z7+k+WBLTqQitKz04dQu/J19HGplEM8DfaZrXe/8o+a1BoYof/2T0X1tvHzfejjrtO27ZuU67/9LePf43RCDVV132Yfnwn25+ibDUfb+PkyiHsPcfS8pssqguPt9575GgF/C6VMsRSmpxXWmAQ/WEwEQMNTqO3VAKMpD3oBb9Jf2os8en6x9VDup9MDFkdM3hYrrCOBp2tKwxE526CtnxU4Tgu/vgZIPK2dfmzb2jPeJva9kJoUbP8N4dMvLfwbKlvufsVHxY73Iy7mc4P0PyFt9mHB9ktXqU5p3rTOH1+3PDyrrxzLK1WiTxS/6Og1//trf+ITOfmaL2zcmm/TvhBzxp0waeshWX/2f/ynOvUj/p7qHaP8bJzXYKbZn9UXPmUeALdYG2TcCSezn3WdPkNE/pZw9L4zj4xr8ZfkzYLyVfI0BCkmTbFg4G0PHFr28SvdYoyapxAdYQgaDUcp3iDTqnSP+2H2Pfb4gfkHXn5depnEYyrRgXiAiWvhlgT1gubjWWXQjm2ydTi2OoN59dNJ27H2jBfUorr+FgNSHYW2+Db7uHGl++7sD7+dtiwG23L3K98eBtGf0h4blejLDMzGIzPEC7ZftMjNF+d80TLr/3z+1HfN/My1+OOjd52+bvGqK3+Qcvcf60w/6tS9/fi1mY6KfBTF5Z1sPBl3wtkU/17fNKoX7uEsKVl/ZfMJPKC1KkXHvzP56XydtYdxJ+wk/r6tfbnCET/6+t3ljbnfkcXGIpzwYZRubnUkR/qHjoGlhTigtSFEe0SPEDjqEpjHDw600XdvuAxIOyuxAXlgQvpBIloypgsIjY2LaSvcbwMcMSfU+KsNyIXhKqP3nP4eeYnUNaLVPNgGnX1bWtmbpfttaDehb7/QxoKRyleL9MKOe05/fiWIdAEFHagHIfSB/oS0mxB8xAE72fw27IfQt59288MNoOHwPRKHeoETfUMXxsQg5RLmy2dPcTWuBF/ded+ZzyKlnzCSy86+r6AT9SLM1w+2grcz+7vV2fpu7S/obP61+IKfdvh4J7FnO0Lre/Lxb7Hu3H7TqZU93XqH/BY76k048+xHLFEIzU+gwJa8eMDWdvFHe5YpX+GI43fMGV376Dcky/aHRrjK4DRD5hmuSqFLzUaDOFQ6aSBISW0VMbZ4YVI1idOJRNqzkfCjRXVu/EWVVe6mzQOWiAh/NoZ2QmB9VkHSCVGfh/u0rIxBHcuLr+Zuu3v7OfJR8M+jKD5C+3W5Tv0KtP+LSw64/LdF2brj3jP2rdXq3xQ75vh9tLOHdhO24/dlA2c7Qp/m43496H5prOOEYpBTESHa+fzECX25Ms0sm5ioXR6vPff4ot59wn4Ju9LPKeu3TeZGzpHJ9eMGy5oP5Ef28Jct7eLJvgnb8Wflsx0h6vNwn9ZKhtFpQ2fxz8rq5DisyJeII7tyRL0IZ5r91Jswa387e9iOEPzy8HUiZsoLDlls/LMsMl4AiXoJTpK04dqCP7KTBGbwbfXqKwfclEwTjfUG7QSm/enJzN1GAQF9heH1C/a/4n4clmU6PcAYQwf7hEltGE87Bp+3aExw0NIaO4KklCb34iryfMHzlLHFDmdLXHHhWZM4YDelEtTnxpVwtyCurJCHJ/eVtieN3rPtBLFsQZLWKrBBQ03JfttfCcNoZKTy0W7075ZXFhuflzjtnvF41/bY8C8o/h0YxczKzZ8O2ufY/8zRaCN8X8C3V/zc6SD/O9A/a38HTTIsvk7iDRx2MZ675U9HdzH2N1qTMbXHQ/nWlteysYeZb//U7IH9uuZwHprSgmPb2le8Sz7Z/QEHM2T6eM5g1c4tCKZB48nHadUjUFmVcK3odaaKkKWn5EJVf66yA5lYo4KXdzmJd9q+XRe+fFmkPb5k4cI1g3jor51exdS7TGDGMeggM4e14wwhwy9PBOkspxBNXT2g/M2Va1o/Bs5Faiocnchiw/WlEAQRRxoOmwp1s+Y2WkR+BD00MbBzOkOXpuLqOBLA42xQ1kx1IqsFf579ssT+4vwDv7u2qes+EbbcffrvyyR6iukrCtMGJWQdlO00YyDb0leZ6l7shz81D6Tr7CeubPy1W2eC2WPm0N1Z7ZPcZGgZO0AtWDyFb5dv7Xx98TO/d21T+ykRnKLsU2TlxX8q9tOK9mrKSVRD7emkjWZz/Dv3TqP//AUHZNBHQAX34smpI82/yfn7HX/0yzHRaIM7ouqAKNTdy/90zBpL476FPY6p5wWHfCf/BVG99k/UK+3UpxAn5EQBpZptsRMHHEJ+QBoAfrRPr2gQBzR5Ul+vv11ODm/HcSy/Rw0/1SguSQQjZCcrdFsXfnZPHNDk2Ykt1c/o6Z66ugaZ/mBLLaEFwej2bcHWu1/x9cqC6vsW7Xv5o6mc2YA5p6srBG/lEvUH7PX4EQDyg04ZwmV5b1fGtJXwgsaYEDc+NACXFEJ0A9x1l+CsB29DIaNBVU0u4TFHrD/qhYaN/Nav0Cgf1X7/efyT2F+phOsXL5r3Zw0q9vFg+92vfGotqHlXTxrtmW77La7TH/96VP+3+PGzjwj3vHS0b+5n3AlVMHPH4jBl+zt981di1K4e/8QRHSKN/ur3+J9y/KGeP/8Q5/zUZGWjPb2N/1RoTw+N7rj/rP2DqP4NUYVXqp1EXzlOCgYbHQU+TNop9HGbtH1ZqcKTYTzpAPYmz++zUYYvu7UOje19m32c9pme0Tn17RM/ie89e1lruTOtRpZVjIEHcZbGH6HiSoHfuMFW+hGshreSp7zK02F7GVgqEwPMwylfNXR6mn7oIdVHlrRQUJpKXqNGeAkTGWjvNkGsP4GKoz1o7s+kQyY3SAduBXJQKE/WOu8Ln3bZBqvt/34invhHeYvoslQ/05A9Tbf96jvnS+DqK8LEb63958fcx+lftVvk8Q92A2dJ7Jdn1rZt2PpXpE8d4kMT+yEUitpmUHHoBho3tFEetGE7QmsH3Whf0OFHTJNmcnLtl76Y94Tsw4fQzddXZYHm/qCz0mTfkf4ZedqmG/u9MZ+Nf8OPfsBpXRTfZh+fSfar3ohGQ3wsQnRFkv/Cx7gT+nYTh/14IJql6wUHXlteGxu/XAS6+7sQxWRphOhU1YUBHp7ysy2gFOVx0Me1EtWmOKCPu2o0JKfhrk+V2w95Kp194IC42WnHKe7b7OMpXyJj/9Hatn9Q8bNk587nelIHjsGNjbg7VA8CT7wmcVIcUDatc9BvS3kQbUIV0zbA0FbbSyNCLPqIJ/WOF7LzNuX35IEJtIRZ6vz+IQOFsoAozRGIu8Pu7A+DLyxe9f1LrIf+70fvfuVRMiHoT8wn+nkxoN2Eid1qlOlDlO37aj+6EMHaR9KB0ax3Fxs5gI7Y/Jj7eFLveCkuC1WGJw+dg6YwDP5YXgewF/ueKkzy3usP+lAH4FO1Xy6xdlToB/YNmNjt7LdAmE4Uqjo6Up6+Pg04bCYchP1qj3RIe7Rv5AkNmCKkHEDFZUcIhDggtmGynzr5UP0FPacQf3+R4eMidvIinYajm5/4sqxZ5Il8uAqF0I6627MtoI9Tik/zcav3Fx0+ztYWXTmiB9EHcO0rT57REueCE4MrKcQBfTxh6BLxZUQv7rLxULPTQ+pL0ZQ+lWnLcED5QzgINUyyS6AgWuegthDBCVT3yZGDqEFbQuDol9BiCf5EO+UGPwtko2gfHs76hJUiQNAmRlBUCHZk/SsufaoPUAfc/aluggPqJrsECgI+vToWxj9Z8qyl70r0KACJ4trf4T06EE39iCfdmYFms+KyI9RWaQuQzVYHaTchbAOPg4ndQoPNukBAneDUR5oaDuj6JUQNZBACR/+EwFFHCNwKodYqif3hAHhSiAoUOQvj8Z0fSOqmiEBPtZtQCOi7v/Z3tuLoxH5zCxwBw7GjpwwqRXyeQMXlmFBqNDYODsZ+65/6QnNngKE972eH/RYti6SPJ26BmShmriFKa21/en0j6PQCm3YRyLsGLpRkebUdSZ+SOHwOgjQfWjLZBAo6VCINx8QBtejIEi5AFJFvow0tc9oLH3UwBtNH2+XxS49wIr48i0KcjlV90KXWYqdfs1WYkDyEfQPmFZUnFZQHLtLAT9zBfUCbLaWVzVn76HtCTRIwOZeqb5BnrqHFzGKXykr9TzmEJiqtt4i2zoFm/jTvtC6b86KYxt8pqPoKY6pvGme0zxbqSUi7CVVOHKwJ5yx6TRheOp5t36/jzfecfkJcr50BeYkugjfZMwD7ZU65TZT4mSx9HpdPRL+Vr709XonDqiizRxQGe1biYC+ZxE4Sv68y+9P4UnfCZnsmnwOa+dvFP3zn9nWnfXThQVc/bLr0vledaYqD6v8+5n+XU/60xF89WJD9k41/nhe6jqC78o52TePFo+XJZZ4SctwT9jv+k9lP/RJdPN2hB0rTOU8q2s1/Fe97qx3e0QuCrXee/to4rn3QPgBZNqjy4mwGClQ6XLXjgdNWvy4rOL8228QvA0uLg9rcG2xW6e8dP6NjjT2Gxh7oSEJz/iT6Z/RJpx7rt5/2i6yB/QiX56DCUF5xwoJR8RaLyGRB2aLelhqIGJMICS5qu8MmA1AJWYwdcSefsScEH994q7La8UM08s3v38Npax/tvzWszj11yUGXPdFkax8JYX3C3iY6TfbLF8puFDdeUh2Jv7fwoKs6OnnvvOcVB0zEtdPlm3LniSuOVXcMOP4y2c6r1cI/kr7/Qvuf6i6jf7/zXx6h70jDyrzqH4/U6+7qjZfgSeL7tFTk+ER8thz9Qx/zX8RhxLn+BMBF8vD0x+eMBPpSurT3TjFfd+JhMG9Otbdno0aq/2teGH0i7Z0yQSFOmHINCpOYnCQuuxj9cd4jLHr+kx9R/fXI3MpFtLWjBcfo3S89qh7VvmhRF9VdodKEIKe1lhhKIzELJQZIniQmYPYK6xSCnuEnnVCbsg9ln/zTDPUmtAUIUtuSA3TSVHamA7YjRLXXvdkGGolZ6NsTB9eo+Nm2o/GEsM/Hs/aa61vmhHpYFw/OmQBoQ99C3mTyUd9NgSyehNGOuOoAQq4CqLBCXQhB9XHHloAG+8Nrls5feE74jG9vSuoLQLaue/We8fjoWbmii7Y/DO6vBJU/W7Lqqm/m9j8Jcf4zv3efVH9STvqf2nLPy94YRtGHJRpPndS/k8jLrerI/uA8eQncB/tyBaoh/nkauXxkwuemH4hTK4ufceVjvUjYctdpv23wP3OdEEJ9PNtJ5/ZvmH/Q1euyzafjeMnB318v/WIbuhLff9by8Yntf9KzYh3lf9MErN3JFLkhrMw5dcEB33uQ/bd9hmPr2pfvUY+C70iDRUmiQAkmDaEw+Lni4+zMJmccYUBwUBCmXAnmC/HxhCGDUBenn66yBQfkiptQWzbxm124RKSXiYSJMI+/gSYHvoo+rnzG7NCM/TLpLlm89GMp3yzGfMcIrv51kH73oTAYD2Ll4eSBp1QGXZaRjza2IGF7uRivcvJzgvmR5IzqJm0gF1uTPMptkTPUizCjn+qufVh7s0WvI3546arnvqzoxQbUqo+Pni9W6DfOBmm/vKDxn5ZWq4csOaT7xQbdCSi3YOJlz7rqy0uWzX+m4F/UOvgZW1O8+h9/+VbPnpvvfjJ/wabKtN/JVRpRtXmzXLUc83HyQrLljOsDNqO0sN8qi9036JPtKqOf8gqN9mShb7OPSxTL0sYD8aNnLNy6c/uVklVHwnfmv/7nP+PCuFtMw63VcM7Lljzze3f6ak664MBry6OJ+jflva37qcJIFg5glyRI7CRJZBGhOKCPu4FE3laDQRX1Bh36Ig249GT9Azr5hMrn6ZT0AZ25QQZwQMW1gdAEygadCRUXHkLjd22dPL9P4PpHiCPigLKhb0LqEcpbcQW/QF4AtkOkz7oCn6Cob3J8AlfCJ86lTRBtUcfCq0+APs569a8cAPo469tB9kV9oL7SYIaZksJ2wrRJ9/bLPZ4nlyyc+5EwvLDweVV8hMx/O00ZlP0SnP+1ZNU17w0P/v4Y+54qDJ9yxXa5UnJ+UAk/PfD4R+GU3jyKiZg550P4hDEx3I6Kyn/00c9S1Pif9MTVTwNmqCz87MKWzTsvk3FwIufBTkxhrjEHe5n/ZNE/Jm9DftWiVVfenO1z0rhtvuu+T8rs+rxOTxYyibjJWSZZD6fyMBx4q8kgayz6VX6BmrgQK3/4x4YlAqGPs14dDZZWJx+hawF0uhGyX0LVAHLwB+j4CVV3TwblEKocrw3aoch8/z+XPevq7+vBLNo5TyXxg/3qIw+auS4GLmjOKwyh+VsYKU99jyPxXwPuONTPgrM/8CjN8aNP0FggF4XyiSvR0UlTHsjBX4fysvpAFmhpoS6AkIwSrdiybXzd5jtOex8mDiUVtNt892nHSp8HOqu0F2qBA+Ksb/C58+Nk/syzX57+/Jtlh177wSJM0qsdq66+oFqpfJxxJ6SehHn2+TQfb2e/rNpehKvBvduEtaXvbRwZJYVSn8k/1Ys0aZH1N/iz9veuY+ct6a+sPpAAWlos41NrUWN+SO2mH1L7vVc7pKJKTD0QxxdWtt616RJJltPy4l9E/ieuD+XdmWHldbLw/1FC85CWC47Nd5x6QRDF79DQY2LBhkJoB7pHOlhK4LB1sqS1wFCcTLZX2S6pBOdAATQcD3hKK3eLRHsFnkiyvk2uL1sYwCO8hCoDump7tGv+g634A9TNGqsM2/l9KKeQDaLGtXbQeMmF9rJI+vbSVVd9CPhsK2nM0jgy0Qlhc6MHXZyFzvbgAc6Ci1EogD5u1GZ5jIfV+L1ZC8oGxNZugPp9qg5oB11c+yxsJ8/XCLjqIFA0WSELj/+3+a5Nd2258zT99oiS+7yrxvErIJJ6t9N3qvbLguCaJYde83d9NqNJ3OJnLXu/PAz8y0HFXxKnEtfqpzcp0iHBlhtp/BkPNAfOkvU/6KQBz+ZTvv3gLK5Qd8B2+ZTVV9tIO8qAlsBZaKvcjitLCw9svuunn5Gvt/+u+ZZnHBz53rbG9C393S5e9D+gbiKGsIJP/XHlrXJOwyMYuSU3bFvveumLpO3HIUkVUomC4cQL3J2AoRxwQMXRH2hqmJ1ogEOGypE6Qm0HPrR1fyoa/MJk3RieyBe6yocQFeRB9Kp9GwQOFsIcdtTKhmI6G4+1U1yUIEzsNsUg2Ppz0Pruwv4guH3J7ru9CZ/ITIfZtYc/zCcWA1rnxwF4dmO8kvaUI1B9jliB5v6IA+Zt4l+lA/o4eVVH14fiyi6yqBjkAnfys/yqB9rzjzgg2mhTg8AhCoXisxBtrDvXPoqeEUX1yzff8ZKPF3G1Qx4deCVsQ7+qr3ROmNhtCqkPtM7jl1bWthP7w2DHvOrcPzAPFLuXBzjrc6Lg9yuVSl0U1NgXHf8oiHTx1otlmIgZd0Lf17ABG/4IfZz1WejbrHgvynXTRh74Uy1djqCp2uFkwDYUwLwNvJ3YL75WOeWu0QOb7jjlf8tbwN/OPGiKP/w72TlMnK/xYnCE3wXE8g7HsoFHN0QbOP7C8H3LDr3qS40aNR41LTh23HWaTHC1S6M4GpFnN0SYBJabZoIcO2WgN3BAxaVjQmmoihCqEU45ESgNoTiUcRBA+zGouNQROmbjRzMU8BP6uFGtf8HpHMigHiqvXf8iswj7xUcb5lUqr+rr7zA4m4cC1OSrdy43VB/grlg8ERPzbRainfK0aE85CaTshF+CqjQEN413kgNSpzmQ8Aub8icSGxHWJfyN8kWY9qMQOPgI/bZOaq/2i8j3bL7zyZ9uuueUAxoV7P1o9P7T9xZljx2U/fJtlAvdN0t6V7qLlosOu/YWyTJ5GNvygHEnTOxmnPJksw5Q8Unj/1I895Ynph1N9JS0sbmVsB/6qa2+/e0UmWo9fumygPyfqlq7QvtNd57yl3JO/IskTwc4/4Vx+KFlq675p3Z+blhwyI8RLR6LIry2fGVuQyQSCqBsmswOWmKD7HiMUfdCRSMPd2gDLa8+M9pVttAA2Q8hRXpQNNQjQB/3WLpD2Zfrvxf75cpRTR6o+d0Fq66+v7vOZxi385FqTb91YgJ5k/aMNWLp4a6+OQbiYZXBMwTaAbf2VifZIDw+znrLK9cPdfAhVtQ4BtTVNcRDviuoQ2Eb4krsYNfU3umitkfHhrX4xi13vuSZHUhqy1LfOf5i8UFIP6gPtP8i7JcHYeeMtJ2Q2irdJUN1ZM7/lWtbE4wvbQX0cdZPKf5xvHTrXfce16WKjeyTxb8P+S8/zNfYX7+P9BeVRSjs8G3ptB+/jeKUI9C3333W7FTsbOfbdOdL3im/8PxhzHWW15iTsMFvhI0536/8l3fofGLZYddeKB21LcmCQzoPNz+x8ctxVD+crUwh5A0VNbxVvXAZL6AaCnNhcH5pJ1/uYbuGgPhEDFkG/bapdPYFaJfmCHlKIESb7KdNn2a4yeur/WH4niWHXHsd5M/mkvrMcgJxsA1WM06IweQ+bucjxhPQ8DTuaT9pf838bJffU5N+HAvQ2+meQFjWZE9/7Rf5+0gXP9q87qUH5WvcBTWO9ORIn+S1bLJHOlca7HS2JnAS+8Mw+mo/v5GSp2seTd+REAZXso62Avo467Owa/ujuLcFh7rT8pR9ZnXJO/ZtMHzy/O/oxUt5HXVIqwe24oANZkcK88YjbU350zHUYZe7PNumNaecIzfmP91J/JvzJR0HeY5sig/j6sa/3J75ytJV17wnr20eLVlwbFrzkv8pKyT9Lnnr4NuAsMQRXLV3UHA9dFBx76SPNqa8Qd+QVLGMfK0gLeVKMdYB5slPaYnOerIzfpNDGcLhJtCi7Jf+/mXZoT/8dKr/7MVwnxAbfEno+5eWow6lU35fho9TnkRcUUD9wwDBH2DOBmbK8XHyUnfqBx7q3Ak/5FAG+yH0ZVF+O37Uy/aUaOf4j7avffnTIKPXIs9v6Ns5fX2Iu34S3akf+urFfgnBxb3qOdV28nHlYtqThZBNm32cfIxdp/aLc3pbcGDe7GC8UFfq5+usuDiaMMl7L/8Lvr4RVOUPutFfxFvpCz6UTvkhxwo/jLrDXRRsvuslLwvi+lfEL3ouR8xRNPaMO6HNHRqfVvGgf1nv56QfK/QhM/wVSw953vlCZ1BAnrSokpvXvPjlouJfQ00rgEgaHBkEDiUIVTFngFSgUusJqbAPIUvbaT/t5fttrZ3pYDqmOPmoG6CPsz4L1TronhTiBdgfBNcvO/SgjleCiUozFunMh9mY+HHzcfL5NB9nPdwFnAU8KIA+blTsyWv6Gp205nqTbXkM3NfB5Kd5Ddk+zeelvlno8/g4+Tza08YndspEc2HyocF072xv7eJjBmG/uP7OZYf9588606z/XMsPOfB78q2GJ+A7FEI7Yqz7Fn97xboJ73wv3eflk0/zcdjg5YK2RT0KIXDaSn7Qii31JOeLzP9ibZgZ0rfc+eLnRrX4m3Lmn4OYM+6EsCIv/qSZlT3mfxBfv3Th08+RdwV1tYatxA+fvUB+/VXeSc8Bl0JTPJ1coaBvjCnc+56yAH28tcTJnePL8PHO5aW2wx8mow/2h+GDI3Pnnx2Gn5V7ybtGge9ss5zBXIjN/GoQuBVCd9gAWAcImag06OMmS07w2tYgcOhAaPE0mrK5euDUF3KMz/ozPupgR/7el0kZjZCyAdEytQG4FUJ32ABYB5i2hSx5xvAFm++4vqff8Nh69/UHi7jFWf2tD+urE/2y7RttN33lJui0vrYf4070utHXlS72aYZPOf6HYE6l/KnDSeKvVWlOIF6d5P/UdWotATdU4Md04zEg2jXqa5Joox017lkH6Ldt5NrVjkbvftFRUT3+njxisJB+hX86iT9zHj4jzniZj83XwK0QusMw+MXy6pIzwmdcvNNROgaVzVvX/4l0HVEB2gAAPCxJREFU9ow84c3KpAqih+Z6SzSTleKJMS4RNfPMSxCSKNtOnvEKP9qwHaEpZLJcvcoTPOlfExb9tdpUiMkAl5Odtk9pytlUn9qMPlz7bXG1cqZ7334ie1dBuJr2P2GRZj5ALFAsJuYzP2aNPmfbVvKaYiaMSksaSD8qhDnAvlWJpl2TPGjq4t7EnEPQroSedO/wlHWK9sfxhzbd+aKuP1XH9fAA8zk0oQ6pVsRoK6CPs74dNPun/4cJw0r1liTuBcZffFQZ3fHk/u380lyPWwT0cZH539xzkZSi8r9InYdd9uY1Lz2oXguvktXFcuhKHwP3x6jiUknYj/yXBc1dleril4WrLt+K/rotFXkG8xQ2yioLQ0AD9HHQSCdEPQqhj7O9TwOeTnSc/LPQ5xHc9aFQdZNB6qD/AChaoVCX1v0bH/ewBaWVfbS1VT3ask/gchlXflQ7fMuKVT9cjeNdsWR9ipgbjbGGV8zv+f5hnfGzLWPQVh6+aogCqLjIIUz6ZR/KqOyQa5tP83HWZ6HPIxIyOQWZtCFfPtr7hbpZP2xL+0XanKAef8Rv0QkuVzX3ze+/sT+TRRqOiJs+duzjPo/Uiv1zRuJbTM707WXavSWJe8Hxr9ejp/fP0kZ/Z+MP/5PWGBungdoqOCDx/inXQhJ1li4Lyv8WHc968va7X/zUOBi7Rl5bsRfjTthZ/CU2veZ/GD40d978U5c+64qef7m6Im8kOxoK+4nRKmp8NgQQG9oQUsak0A0OaWl/6Jc0lZU+ZOg/rNJKJtYfqoNAxUUWYSLXk99KDumwG3ir0rX9QXDh8kN+1PWvYLbqf2bS6U9AH6c1Po08PrSIWoR9nDw+zcdZj36As4AHBdDHldh2x/zoNGfSvlvpQ91Yn4W+TT5OPhkzQfyiLWtOObmt8g0MoSw4irdfFuBji5558B0NXU/DwchI5BY9vs0+3plSHcU/xmKu2yILAs1TxpXQj7mPd1oPPcA7XYV9U1/oQZqPsz4LfZt9HP7atYp8HX7lWK1+tZyi9k9zxfeJj9OP8JHvb/CgAPq4Elvu5AHRx+XnAk5dePD3H2nJ1EGFfEsq/o3wLTNeKEalpcadfAlVbzyQSv1lNpFfSpQmVLyxvSgprFgEWH1jLXpspFh30gJkKaqJHKTSTRZkWlEOx+lIDaBRfkOVHmTbN/LTbkJTV3iS7lvbLwumby0/9Dp5hTO1b+59NlPoM6QGcKaI4eI3F2R/YQl/gGxt6B0626BFzHJC8kqeUAsu8n0MLkYVErI5aFLTmDA/mVPt+MNKuESU3COoBHsI7x5ix960DbJpa2pfSkvr+2O/2uLGYxRO/I0cn6a0DnYybuWkCKsbx5TFQ35CgEZpQERgEi/DWY2ufDzH/juG4dmlhQdf98imX73gSdFvN0sQy6ci7Jdrm+Lb3ko3+a89cD4GlNLsf8u1JJ5dPeKnInvaFZ3/QZSO4Z4UnGGN4jUvXLypVv+BqH2o5awzoNv4Z8ZzR/lfCTcL30uXHvLDe6bqthF5//l/ylWOVakgS9z02MMYY8KM8saZtpdXCmFOk/sKjqa4cLnDZOC3kEc2QvBrIjt+4kxuqxf5lKcKJa1NvYY96whR6eMNzKlcym9hv0zAty3fff6bZZBPIiwje9YdmulwEQqh4a3dQtcSWo5Iq4TgoWEwsfyw65JfOoXsQZcda07ZdyysnSYGnio2vlIsXWgaDsB+MRa5j5OJ/Lz5qXiWQ66o/aITH8ivFON9Hpbu8G2LkDRNSBII0vL7gaBUoHweWZ/PNw3UMMCl4N20Z+ZTo7pNStFWQJT8BanfTOIRxfv4lG5wqkWYuDIhePkvghn/ZA50tJZ9Fv0iDn0PB5Q1f3HcE0IvX9esnjSTsKX9PX03K9vbzDiO17583uax7ZeLL5rem9N1/OlYwvb5v2MkGDlj6WE/vLUf3hqJFsz9QLBt7HQZUPtDB/avwvHRBZniPsJkjVN+VFOTDH/StiHbyJwDtZ+0v+b2WQ2pLaBT1UEcZ7lB80tj6xz+jD2d2C99PhGMVM8K9756m9/XroTjbYbMiXY+Vp+KcwCT4qFu3rLETBgM8dkyVQM7XHDYtQ9JZ5/DNrrmhXtPBPFfibLvEPv1V16LtJ9G0ndRPTpHaB0tOGSBIgsj8yDbQx5xQhsCWNRYb6CTZpTGPdiUJyGHWxJ0mhG5dY1Pak1a0FZUECekrd3YL9/KEd92V3BbPdHNV5E4YY5Y6ooqLD5xzCsaxMkT4mcHCi7ap+sDamtOuGPiLp2SXKF+yubbSpzQyYl2kSsc8vtJ1U2/evyrkhsvcqY3Ad937eLf1FgIfnvigBKjiWo1+N2lh/7whrx2vdAqKw68dvO8ufNPkjz9OhJeB5imvkRYOtVBIBC4DjoHyUdIPkK/rUkRGWKB1iPbgCOJHLQu8BZR0AFlk+oEwjqpBA3Q8BSihroAYkMhBK5tHQRu/AYNT2VoT9qf9YH+VJaDefzyjuiJoBq+drdDrntAxJdFPdDodYsg9vYHFqN15i4XVqSN3NUYrrL4sOse2+3wH79bHhY+XD4J323aFWe/7wv0Jcev7tQj8uZPXXCYDMlta6/NKRcHGGqEPm5UrXEoGH1bHTmMNzts+kEYy+LH19HsBq2f9ocxfFtMYWxa6ysrFymcQ4krcWA7+lh7d71afthY5+g3vl7G/7CN/SJcKyf9cNOa335e/KMv5EQfU48/Y2PxMHnN+S/nt0h+guMtyw79cfKW3n7YqBfYFq265lER9jr5us276sHOw6pxtGcqnCY6in+oZ2ChEypLA0NzI5+XrIQN7nRNE5oMokiu11XkC31yI12uIZ8pE+DbyAXor84SOv0rBHSDQ3aHCVRpjkcvlwoREAUDgZdQHUGBChHM2lqwUCH8715x6I9/bEy79t6fRHxcfaeOc/4hbi5HEMWxcgCIkqlXsqt2HMY3RHsZpGs3PfiKE4MtWy4TtV5QlP1qMl2lMD546x0vPHzJodf9qgN36LsiqBshHG44HI8CLwN33s4cukFgLMplfJQnNxWH5gqH5JTpojkmyubo2xf7w7D393CobgyqKEjXu3D4+a8GkNXV5zZoGE8JozYvasf4Q76PZ9Mpa1+n439X+LVYeeboY+K7tyQ+gy/d+FMI53YdfyfEpQFjQ5jkf1z5o2VHXP8f6KKfpeGO3rLDrtoowvt2+aSfimZlbVx90vvh/dRR4ioZWHopyC1qsnOjLkgcD+XZ9GhHMYIAmRyTxBldDlwnnzIAZWHyqd2OvPFffVqJw52yIPN8ThzQikRAURcJ4qwGUx4Omk83YUOzX77f956Ue69nPrljK97/cAAXw321n9Z6fqjZzxO0XXDIh6fklgrFAOKTselon5SJJ/FiX4Ro5OM49koUD88tFZksNqe5lq90P+wXyT1c4UD+e2PBVy8Pz6Op39040rMUCNljZRrYrrDxPzALpqejJ9c8/2/lwe73aO95sc6jKXM23tljNATNF6ANrbWO/+pfrTji+n9Jqf3DGhYc/RNbrKRNq08+QFa4J6vPPN/ZggKTpnOy+FTRBt8yAKJjk++lTnnT9hoctocwbWP1jkto4XXLjxh5b7FWzzDpLgbmzvQqEKygO3MtUh8Lh2sPH6vLHTPxSWXkCh48UX6sbMum21/4ujiu/VR6T362fFLdu7S/2T/xczqyNI70qnRTe7c4TBYYoo/iLh5NsrMByQisVMLiHxpoUqoFIZRvNcmEKga1zq8+2C8fWKotNGhPnnL8dcZKxxhtBRxE0XWqJAHyQIr2ihyyw5TmHTegndo/KHsalBvMwZNrXvDuuF6/EL1lhlMyF9Kf7eqTXKe/2vi3Elb+cbcjrv+HoiydkbfC6kF0PnKYCwtAw1OoodKklx2gAsNxVQR/Pk1xBAP/Tl4WagKAh0WiLlc27h+ZN0deW37d8Eys1G86IUaEbOotB4GrTwnVz3heB3Gz53agMnAWiEFx4hRRWkKw+mHdLz/iupuDSniJ2i5K9tt+nUfEF4DY5MpF8mvPk/lEvqWyQ50KJvgyKcxvaowK0lKMtRgOigMCUR0MGh4vhYShKHG0RG2ForCZdhOqkjACBdDHldhAUQ7ZJRAI7I/i7cbd+R63CJj3hGhN1QAVlx0hkKb4g0/oqhMEYGw5aAHCQYFFzijMA+infXv69C3/CzRhOkVvvP15b4yj2j9RB3GdFkDFZUfYU/zRuFX+h+FFyw+//s+sx2L2M27BIQmLL5u+yaUyvNfSMxy4gD6eNmBbQK7CDSIu2Q1DV+Ml0A3j0SCsvmrps67r+c1rqS6zDDOX2uAQnL70/Wy4eRTPyuDPfGzQvNy4FwbzvZM/E7w2Uqn+Y1H2YwJXn+DEIpsMjv3xnf12fpGT4g7lF0ZCjQRkOJrKdjjloQ6llT3QxRQyIMLdO35An94ShfEy2KR/9Jeo1G/75YS/o1tLMRH3kv8aI6RAK3vEWo2nWd2tWt3z+1c4RC/NFwctd0wfzRHVzbTrevx3r9nQt9j4qxecIYG8SO7pyyku/0/IWgOouMSdkHlMyLgTJnkPCZl8kaciv7Xi8L3fLlczIbmwMuMWHBtuP/El8lrX/eAwdb2DPk5nItuVDx6XDYAQOOoITZ7jB58Un+bzoo0ESJY+8ZtXHPnj25W53DV4AP7SjckNKH/qbwfpe0Lf3xSGiQil1YREvmGG+hBnGN9alP2QyyLv1JGHJuqH8rgVlDnNfQpnWxtPxk9a8xjQKCK27g/8fv9+DBUPg6G5whHGoerCnGq0tZ/293CFQ7r3fWe6Wd4Dnyz/G/zvcoHxQTvgbE+5xUG7OglbdEPvXr70a/zLj5YVZ8I0SH5y9fNeEEd1fFN0hHkANZirjB9jCYg/FEIfZ31e/ClTG6uM8Nrl85e8IQwvxW/vFVpm3IJDTvXntfYIJ0qbPOxUZSc5TXRJfEIGlRAy/asgPp72l8qXoP3N7kfchG8hlCXrAfmuPy7r6uVe+NycDgfbEHEQ3kQdIfkIjV9qld+GEHFA3bJ9D+mxaH+96S4K9tF+uBbyABUXKFNx2wWHfHVzB/UgRByIA2JjLAAVRz/syPEDtOQfoiscEoOlah9u2Tn7fJt9nPW92C+iu7/CQf96PlddMTqExj/iiX7O9wgJw0JoVVwA8CrvAO78Oht831Ff38fAwUOYz9/C/lm03pBnEo+Nw+gKWRrOh5/oBz/WfYs/cqkh/8P/XlEdebU8bzaGfCm6zKiHRuO7TlqyYWctfdeAZq+4iBDeEoeycDGRQK1P2TEwwe0P0LTWMQO4DjzR31h+xE/+PttSWctdEIyMBHF9wjwhoweDJTlLwYk6y1icbE8PSxNMQMrjHEmcztegQYbxOq6hB2E88vNYnlnU/OyX/WI1fcUch1/kpV4r2zlELoRs8Lzekl1jh37cGACwb3O5JrQFkHyCk18u0eovWjru6Qami+ZQZ6rQDsJO7A/Date3WOWqrYVDdGNMVcPJ8l8YyOvHX4eKhcPGCZTmcWdmT43Liz/GuvrO5Uff8r86SIOm5o7JWm9Z/cJVtXjiBxK/JcpXdPwx4cJ1mhLhmmp10enhYVeNTqZjP+tm1BWOjeP13xNPeV85g/dQAH1cic07nrQAfdxxctACGp5Cypfhc+uKPfZ8S9H3upqVn0EUvM2QIVFfi+7O5zr5wL/uD1YprVPz/DAT77TtNPJVwvrj8IHa2m/7s36IApu8JrM3DB5CtX8lz8cna+rX+W3sk5OTmcQ/8H42wW85WHzjvacsk7G7j/bq+atJf2EgrRMNyQuouMiW1wU93EnbnnioO/0LIaTlCWSdz5/H10ca/aB66biHjqJAP/N/Flzh2Ljm5H0ngvFr5IHh3Tt2f148ScsTwjpAD5cr9PfPmxec5l6FkdeyENqMWnDE9eg8eCFdEBhOz2QXDOQjZNtW/FiEgxfQ8BRivEjt+nDO3FeFT7mi66fQ2eeuDnn/ENBw3A5wS26cjtXRBg1vjLGywologm2GlDAc2QRVzVaDtJtQLO3afl3AiB8AFYf/Qvk2RtsSy0kRvkcxSHcSao0lfssxR15AH0dbFInhbpvuev4z7Gj69uG2sWeLKaKiN+sWZH81jnUx1721EsEu819jrlal8U/ywMVOhHavyhRaMA/yRPQt/2fUmavZE1vXnbZnXIuuldg8rd/jf/L4Y34IH6tU4lMXrfoJXvg50DJjbqlsvuOEgyfG4+diQOp7AcRNxG2Qmt/8sQU+8uR6FeMQo8ONR+UVQp48YZuQV72+dsVhN/Y4meRqMIuJ5tSMi5vsNffzxNd80sLgIQ8a4xlqlWnim+QNKyEOJ5boRJBRkLYBomRhW/vVD84pFBB38qBm/DDGir+wRvOm/jwa6sFhOloATIa0skORZzgfdldyrXaMNLxfm0/TTm5ZHA3bkuRJ9BWS4PADSj/sl9dw9HyFo0/xTxIpa09SYeYWsJdXnag/zcHYwyY7au7O6phTqXb0Q1Z/jn+5b9gsbIZQcLVtfHT0KrHt4F7thx+0KJQdj+ls58Am/wXhk5Kfpy0/4sf3Toe7Zsw6cWIM796wJEsuX4rHSMtzHhcOgLkbphfUuT/IAM7CpAeU7YIVR/3sBtaVsDcPZHyq/gaNMYD3DQdMJysXgyb+3rQYfKt6LViBXvttvy4YxCuAhmsfba9wjFSrD/EkS6hewdkCBdDHjarjxaolSqjXBYZBXQ2iMpkNrVFUj481bPr28lsIRyOjzNbUX9Co3/ZX5o082L2lHAHQEn+AGssEIndQQ6i4HBDCDm3jIHCrNWi1Six2l4m/3xl0RwHElrXH7AbV2eJBn7/wr1NIv0WU+OGzF8Sj278r1j3btwcW25/5pJ395LaYp/mMdswD4CbNoODbxOmvmM5vVs6IBUccX1gRL75J/TfpzlwMJ+umE6bgnDyzUOPANnrgpFt7nVAhK44/ufLon/+bqyxBBx7gAk+uF+mJCdDHWQ9R5mcnVGOmRI2b1gkt4ddwYAce12YGAPmxtAMKs9/3A3zVwZsul9YWyuvP5W0cnm/V1zILEuKMQJx8Pg04Jk1C4OAjNDzGt2aeO90hkicsToQOao+DtMmHUF55YISHk8enAQcbIXAx/9EpvZdHBGgBlE11cdBwpx/YGHdCNMy0T2QpUvwukpWA+SEd99C77+O/eFP63kMcv2POxo0Pf0Oe8jk5ySfpRePK3jLxs5i3mf86iL8sQsbDSuU1K4/86U3sajrgjFhwbLztylOjqP40OMi/okG85RUPnQ2kEaCPQ5AWRgrQx121AAnUj1Yevfh9KaXEuvEAB1OrAeaHxceTPnyijycMMwOJ4uAk3xfU2jfJx1nfkLc5DM1jQPI4jrYl7Vsg4VFX49PO3Zr3KrfVGPDHhS0m0AZNsGF+JPTnSnYLm+Vk8/wn73jufqQNGj6x5kS87v1g7VdtFYwGYNwrDXZiQyH0cau35pPYHwa/UBE97HzVkuY+0ccdQ178jdbKnkRyYQjzAB34Oe/j7Nw3ycdZb7GRI1R6DJJTyU8FJLxDjOBD88bVq78kvjmdfoC6nkkNeGJKG4ZO4i+3N2W9XTl35RE/vTqRO03IjFhwRFF0nvmHE0H+YGIgAfM2TCTGY+2J5/FqXRjcN3depXxteYHJaTGwiUnj4GIkkdI/nNHwB6gbcUDdClSuT6LxyUbmjZPzxPXHfvjCFVkhy1HbBQe4ZRqykyN8y0I88bdorjTMfCLb4RorwfWP0MVD40V5AqU6jCY4hr2KQaG14Hy1AbpnN+gAGgtx8uE0oLTO7BcP9bjgwLdccvzpaIne8LHqA52pN6GQcD0dBRAbeAm1nVUXuc/Gf7K+es7/OBqaF8pNZh/rNqz+wafEVvmWZWPp2X6NPeNOKLLz4h+E71x51E/lysr0l6FfcGy899hlksBnYXDZeDHo4zbw7FMHcJsaxPfwv7dhIOAY0MfJw7YqL4xHq5XgVUsP+dmG6Q/TTNQAg8D8TIgj4upjPYZt6YBBLFDSmBhu1Jm537D69tfLQ4srBmK/DAw56XW04JCHqjs4OTI2FjuLAGlpbNJ4pePQj7VMrOfJxvAOLJDx/S+cLx/wmib6zhWgrZ3ZL28z7cCnrXung1J/pj5u3cqr4aIC0Mc9lqJRs8H85ee8j095/Mfh0Lwyv50/N972O38vVyL+oK/2t+rUj7ng8mNsf77yqP/6XCv2QdOHfsFR3xq8XpJzPhwjE6n6B9DH6TQLKKc5ORKH6x+gCwQh2qCO0MdlkRhXgsobVxx1s9znLkv3HsBLv2zC4Ve+APEH/xMyFoTohzig4SnUiGkcjUbe7vUbXAtcSpUHFt9flP30EyEsk9s3v+3EwmqlcqPvY/qTEDKIA+ZtfkyAZzfYbbRg/w2/eq58cBhseWLz9reIVsupe1Zfsy+1DdoZzfQkzvZZ6MsTS+vVOQF+Gbjnku3Pl+/jWT14jI4pw8fTenlHTqEFD/anecD49z3/g2jfQs3ok/ANt534fvmw8YG+299yPHrxr1T+94qjbvpIn0zpi5ihX3DI15/OZwLLE25itDyEJlBxD8ooM4cQ6pGjuQFgA9GbXIRXaWjjbXL017sfffN3+uLhXVwIJz9OeHZ1VxYdMjv7eKt6uA98LMTZnvRhhRtXX/lBse2IVvaBTj/4uG8fbYaNxFvVY3yEQeW+Tvyx7PAbfxFWQl2cUJ6vg4+zPgt9nfL6hAwUhfXoExvWnjCwS+Gja164t0z0H4ZPWhXYg0K7fJt9nPVZyLYqJAj+a9lhN210eFcAX8DL6y8jv6P4W8ewmXYTdqVSX5g17tBE8iDPPp/m4/QzlADOQlxIxwq/V0OO4YEbbj3hrfLsoZ7wYVuefT7Nx9vaL5YnvmjwgsVaSP+6+5E3/Y/h8YZpMtQLjidWH7tK3Pcct17Qz0rA4V/6mBDmND1AI5VKcw2UV3buUD2gNMVkp3Xh1/c8+pf/QFIJe/MABxhaA29V/EED3B90lNEIjQciJxHbqruB0jeu/p2Xi45/U6z9mMhgFnY2qVWq0b2dGKpvy42D75svO5sQG2NhfRvN4pHiJk81c4GSuqfK0yUD+8S1c3z7J0Sr3aATJ3CoYnmWr6+fgz5udplNjTjkOD+Ewfc68XseTygzcdf9ubibe9P4i0ZOp3QxC9nY8BLgogv0oY/QF/BWBTqhUD/wAmf7Zmh1chVv+cbbTm77m0EmffD7Dbed8FrR/bPoGTa0Kr3abz5W6SLfoPRkfYXx11Yc9fI/bNXndNKHesERT9Tf6idc4lBOrh4UV6sfCe3ABdpFR+sE55/KczKAS7Ru2X2f8PzpDMhs6RvziM0l+MSNgliI53V0GPRjS1w5bQQBbSrZAdrEMCSEjbcd/664Xv+O2CW3VFCKsV/9LDuF0ov4J96tsqCjKxzQSvi/x9uTOO6+uDHm7KOt1Ad2k6bxD6K3r7/td87svp/uWjxx23PeLFn2u5Zv0jPGvWywlZB2E3bXA7lT+yuV3hcc8gVlNzZMV0rPwmz+q59ll/rbcLbL2l/0mx7lF7Tli7EWc8adUOPfx/EfhLXfp53DBDfcfsKp8kT2v4u9VfoCsN/2Ixc07oRwQhj+YPejjn5TGF4o18yGrwztgiOOz5ZghW+UUagrXjgXISPUYY5JBD5FEoPP4RoEJRuNkw14dAA6frBrW8AweLw6d468tvwX5WvL4Y8pFsRFY+PB3kT6UjgpG+Rk2pvcYlqtv+2kZ62/9fiv1qPg0zLi9at7tKC3HtkasNl+oWhOK4TH4/DO8LDrRjvua2FwtbRKft206SohenUv3OtEZqO21oI0HGGYhlH9Gxtuec7ZncjrhWfDrce9VTq6KK8t/ISS+MvhSgTubAX0cdZPAu9dccR/r56kvscqeg/QYk2o85qjtbIn22nRFzjkMcUn0adpa73TgqwunR2zdZ790Xmb15yoL9TrTFbxXHJl43eienSZrB/n+pr33rMvpU38w/gnu++512vD8LPulzN777WolkO74HjiF2tfJg/b7APDO1owOL4Gfo8Guq1IHMQCBgsPXcjE43I38DUrj/h5z68kVvnlLvFAEjNvkrRpCCwcREAdniwC5VhpoGPD8pHQx1kv1dNcnrzlhcs33vqcVz5x6/HfCKKxO0T/1w3WfvjCinzCvJF4J3Dlwf+9Rbz69Va8OkaksrU9jINB47eJ0ccthqan1M4R7D823Pact7Xqt1f6hluOe6/I/pz0LXOb9ZfC7qWaDe3tlw9CU/smAD6PMu8Jk7yHHcj9VvlPO2EfcUAfR13xpRoF8q2+yeOf6iX6qK0O0m7CNvZLbJZPjE98oXirOuth423HHS6vcLhSbFqEvLHcSWFqN+MyNfsb5YW3jcSLXznsv/NV9BW2ziKVwyUhOa+ZjEBx0KGWOCBKpl4vhwgNMKda+WWlEVbiP9zz6Nt+Ykzlvh8eSFwuA4+/aQO5FhLQXC8KESM7xlxjPHbc9NscKk8iBxjH1fWrn/OGoC5XcatyQQxF0AAooJYsgZWOP3OYyIJMFMj15FfqMpmEoXyqimSr7C56HFsPR4+QD8S2eIcdfsoVaD/Uo28B9TgIblCki10lqP5bPai9BU3UryLKJstm+eBJYqcNQJBNbEbRug7slzdzVMVnn5NF2tmVMH7/VL8Rtn71CccG9egf5WHyF6giTh+85xTfEND3nUI/hwNqwWu4wetex92L/eL72vw5wcUmsMc9sgeqyNZp/qOnbPzNFpOF+ib78bBIgSWqhhsCuYzCHDF/iv9hmBSzrT/j3wl81eO3HPfJPZ69+L1heF3RF3C0y7zdptXHHzBRi6+WPNoNMRiU/S7+6xbOqb508RHX6Q9E5uk3LLShXHDgMtnOndvOwH1NDig4zHCZQFw0ccmTtPx6aS8VTHYdzaAkyY+JKP7nvY5Z/Xm0L0v/PcBYEWYnoGyPFk+Lu9a5E7YfM+BO3py4Vr9E29RsgaAnlBrizhMK4i0fH5Ocqbuccfx1mwxDgdaf7OV+iE7cINTw0TOF8tNUMqdo3gjRZEUuT5UPOydKUddvQfaLK8wXBoNowdwFP0z06BBZcfR//eSJW46/Q8bCoVSdUCdPyLHzhQDzLSBKU7yUqFW6o92Evr5gkOOXisRT1t963MVBFH5596MX/aTTE0e85uy5G8YeeL4s9d4S12vnqivE+dqHC4L2qycAsyjbvy1AzCboQ7sJYabik9gvi5zLFx9282No33ORHyNT30q+UEeVxVwXiGL2WMxxTF5AFLUHbZwlWfsloZWvqN28BSMbdo6mV/QZd8Ksvlk9wEcerevM/gvW3zr67A23HP/n8hMUXX0tGeeasfHxl4Rh5Qj5APNb+Xbip7I6tTtef8ex+0yMB9eIy/WKvHO9NqPdhLSN8crK7sX+kcrI+YsOf/n6OH55savJrLIdH/+tfEazFf1QLjjGdm5/g2TdPLPHjfQ84zgrEGZmB5IJIYmnChUXBj/c65gVf5onuqT17gGd0twE2CxFplUNKeOK6FhkjJd0g1bD05vETxorzZfv402fWDFJY2I26dqbHCQ54fCGCYDM0iR7hcV1bipDc8dLaL1Mti/U/usXHXrDbybrfZI6vAnRJtsB2y+fwquy2HibePNtG24d3fL4L4+7RmL233Ll8fGoHj4ezqmsD+tRRZ4P2LMSxHvEUbSXROa5T4zf92IJ66LQWx/qlQpLEDUVphQdf5lM5dsw/SouUTXRLM38OWvK+c/E75e6GTmLD9p7485b78NwaNFTYfl/knwYkIXzcT+X24o/qFbCm+TK2T2VkeqmJavqWzbfvmDxRLxzz5Ew3GuiHu1ViStHSq6cNj4+fpxMGRV9ZicIbhdzul5wBGPBp6X9ARlXtDjsv/31qHbD+luu0P6Y64AoufkvdAZHhwr4wJxT2snLadJECoMr7hLiIagYygWHBO88m8BttUv3ICmAG8REYjggima50lq6T3kgQ9junT9/0TmdfprSDspdhx6owcMteEl3MZNU109lnGBd6NJzXmMONAttHDL21XwMapOPvQ4617CR24h+tii/kK21yyk5snzUzFGc9klPDfrTFta7bj1AyQaz7Wk3IXrkWPCEeGiDRf/hVXSFrpy7/+eeGLvvL6TRvpQIATqmEh2Kt1+uFuA9HfKVQtnsIlQQT9TUy7iihBnA9JM9EHfkDkRfi+Cg4i8K/OceR998HTSZWrEraYw7YZfxb2v/1HRs3zoML62v/+Wxj0gUnp7PXWj+46V3x4sTjueFyXCiHuy8BV6056InXCZFyCTNn3wtu6HKFc8ljbfsbE7Il1Gs/YPO/+z8lTf/0WL4Y+guwWy87cjDZZI71oLFjAD0cVfrRiUmRZuUhSsdqcbk753lstjYKpehzuz1JT2+yBLP9wASMfcPscJfi5jxRA1oOAev5QDaIhf4h0OlGVnrQLN8Ma5GfkdDnmiueBCSHK2VftqXp0G2f62HyFZ/sBt/gNoX1FCFobSz2WB39ofb51QX9vx7CeFhl45L539nurTWD7qjACrubFWyh7O+CRZmvyplO1URO6ejg6avo8Hn6ncPgs/RABkXQhGokgghSZ5/+Wsc96tYzHuJv2hAuwlVWxyYzdgPqNyQ9pjB4Ff8tfBv4fa7/jX2gqvTCHt0ji42KAo+1v+M3Wa12T209ltcNF9axAdWodA6HCoNZA9nvUFtoruhW3BMTNTPT9Uz49QSmOUSo1WyGh9aO+uzUNrjl/MqYXjuymNuuSPtp8QG5gEudwGxIVSEOQkLvTShgaA0pkTalvLAA5ylW/6mDiCIQoA6HNDH2V87SN2oL8QBB4RI2ymk3YQqGnwojp9tK9Xgc8uPvFG/kmgM3e93f/aSi0XeOmvJDnDEToE6fMjsVz/4vjUjUtVpDn1N/4OP7bQNbWUDEEkD6nCBcu3pypXH/OwmbdaPnYjuNf4d298PPdvJiOPrW7LQ1/Q/3AkccBD2sy/2D0WBD6qwL/Y/dPZDIRQXkARXRMiuvsfxP1QLjjh+4Ugchee2NNbZnILJnZP1jS5UovCv9zh2td3wSgWVWL890CIhbdGIvJWpFTwy8Ah9PKknXyJP2gBvMSBUFmrZTm7Qmnz05doSksdBv23iDu1LBVq/mChA44SRhawD9Ns6gX4fppfpSnk+TXGRQWjyKFeg+kBVmQirlY+6LnoGuL0orvkT7Y9SfBuAD6H99ANUpu6AihcV/0owFo5U/pRu6gsU35rOBhWnHfA9Nj0rM/aAKITWTilsl7Vf+YvdhXPCH6uuqi/Um0w/p7MbR4XbD13ajP+evMN5QOU7m2k3oZLNF7DTt3Uq47+r+Kt+ogMgdXBQ9fF0VD+AD8XxT3X8D9WC47c3rz9dkmEvBiML5ROFBgnQx8nnOxC4PtrhIHDZvrr3c371YfNguR+IBzIJi3GpsRGguMZSiahooGk94oZq7BTxoKD+IPFxqcovvgzB9dBBv4qN3XATzaCdFUI9ytjXQMNBpl77QE5KlfWX2tyz/WHwhX69Q2aPY395hbwaVd6SaIW2DrX9omoyBzjcqd8M/CALrocO+lVs2Mp++XHHD+1+5C/wMFwfS5oL0MXXzUsYJo726+e8j/dRqa5FqV9C9wOCg8h/0bCf8e/aYDSAnb6tFOLTBNeYOmj5lsZcBFi9g4XE3zq1HBLc78OvStR3yJTHv5MzVA+NysLzPHw5jIbDSOAc9E7nlkCWI9rCIBsKTcnhL/bee+lbWzYuKwrygMUkjSIjalHGRIH7tpwsVQk0YSFOCLqHN0qTOqwsMch1tQlekU+aa8o2cpj0zXvHyB3Vx3VCPKlvo2+W35Rt7DGlQb0p2h+G6+fOm/cB2NKvMm9R5T07tkXyeuZ4j6w97fTN8qe2Mmj0BWAf7IcM2UwaEMEKjr8sNn658tlL+vqbMPqlWOiNQlf5eB5N6hu9CcLk9kPkIIpo8UNR+Q1pdGhAo8bt8inxBZtDeQ9vlCZ1bexHU7aBKM1XNwZx3EtB7KjUrpD/9Fniq4Z46KUA9avV0+N2NDRXOLbcfOzuMtm/EoFDEmLDxEGoOAILmvsjDqgbUgm4phTTCu4Jfjt3bvWs8Ok3Ja9wTpxVIgV5AHFA/CDeoIaJuIuhRQknXYsauIGzEGd9FoKPPMA1Xxz0cdTlF1VQqkxf4yENR8St3vpqrW+Wv2j7ZQC/v98PPy991i+eEMPf1eiL4bQfOg42/uEOeRXc+f3+dhsmYtpB6NsGWt7m8wD3c97HUTfIUqniq8Izdfx356nGk2jjfFH0+Iemfr74Mffx1hY16mt8pOGIOKDNe4Tsl7CxrfHTfqsbom+pbI+2nyvpqb89kYwsGKvWmPKNBuEIdBTWZyCsDYNx+bnu16w8avUjxlvuB+EBiaX+IX7AkphaTIQoNMvGFEIxnya4tnVQj4gD5mxIF9ABfZy81gXyxIo/KNmOMK895RBCCnAW1Rc091ek/dLLFbsfc8uX2Hc/4V7H3PJNuTL0YfqC9mYh+pwu+7O64NiPmY+Tt0lfFzvW+218PKkPg7euOPb/t3etMXZVVfieM3f6VCxtZ4YpD1tUhLRAOzNtobwMglhNeBiRYtSUABHjDxOj+E78YQw+0R8S+SMxEiQSFDUgjxgaUAq10047FJGBQqEPoEUstPIovcfvW2uvc/Y9c2/n0XvPnal7z9zzrbPPfq1vrb3Pvvuex4YmvDPFWc98iYiP+JND2TOZWOPjt9mXLa2rpekw5/QNj8IYDzXT/00nH32dfdnSHNr+emvyWMnBKzjSLGIv7ImtsJ1c+o/cf4xHw2F8Uudh+mf8VE/OJGnLNquphJjKdSS2ROO0TSabspKaaSWXpE7VZTkSktJ1XcseH9PT5zRj2DaEAbEpSiLyo6NAOgERmyLObCod1NIxLYMhRS6ZOvRlicRmWIf34jSN8wvzGinOtQvysPYwv+nAAlz9gpAlu0NtWVVzmdlVCzS9DGvV58WlelvBUr3uxHE8VJ5V/qwW3pxtx5JLvg3V/jwR9afti7Y/6vt+R8/G25vBNk9avu+J7c3uhp79x69/c5806nMDE/2wWf4/fv0P3f/99o9axuPiaSIzk6Hkb1L/b5b+vg9avzcUfWDUFNkHuePQ9DaUdKa/7EyQFY6X1y1cjA63mA2lckSRcVIwtGmFIVKqsg79vCxDyomin3Uve+IWp2uAohjgmMZ+7fftenXTcAxENXaGUgY2KapdOYiZjekPIhOZUP4tT67MUZTPprD8usGOEV07DNkOqd8hZQmGtQodh/542uTrcVy5bPb7+vfWKrJRcXzFdTTzXbhrTJ7AqMVSNwbRUbkvWn+/PrE62mJ/TbN/FP0Bk42GPnNDiXTbovy/uPlGae7ijfegM29J+0GVwp7eFIvSn+5r4wDltK9ix3yb7RlLcJPFovp/S/zf+DCOhLex9/8JscLxTkmfvSEGg2JyAskpRJJlbHYoPgNDG9rTRw0x63qga+mirxhPAVvFgDtByahjndohbKmdVNG3/2hb6+bY8AP9g/eIRJQP/YgyUWTuMq5OECfDMaIvu+Q8sTEQVc6QsRoMNWUWh/hce8aqP75M7Eva4pVzFm/a4iprKnSc/PfXZ8Qx3jURbVJtWqt/Xtli7B/d1TntA6vAgW/YfFMOax9PyIRrOG4P5Z+5Wsalf66MZu2SL7z78FtaPnUTJTOEnmP1/3xbx6X/GPjN11d73+lWQP/P199w/f0xz5ddxTrm0ZLZuKdxxgETUrbgyxNghSNZ39sOr+O7U9BCfAwpy/KNQ8iimENVUhU31QxhhKdnTGu/go/ZtbiARTPg7CnVUq4dfJ+mTLsaUtZSDFmGykSRnb9w4Ko1YFvNmho5+G2EOeVbif62mE5SJV5zZOVZuVqCtlfb6LcdWV3Q/NY+jbQ4S5OhX4bpbUhNtVZFELMviaOPdi0ZKPTNxu/u2bh76rTp5+P80a/tbY3+yqLjwphpsv2h7x2dPbMulyexZmZruMRvfmZ3w7z9G6F/wxs+QoFzlwz8EX7z83rJ1J+y+T11bqb+I/X/eu0cfbz1de25ms/ihpcy0fT3x1CVYRHvnKztHX//b/kKx64K3gqbVHiHiljDUHecoaiwnVAc+sSkZsQxzEdeS8rli2edNnhYT11MywzCuBigfeQDu6ZYw8a+HSnLYOOQcv7DE7k5vZzU5Usn/INoX0ANXX4qkJYDQWQiBR5zKLJrI6e3MsWVtjgdqBP/DF1axlnI6zPW9GyK8UDZ+zwfJ+3nFT3ZML14J0w5af8wGvRwi/QXLoq0P17+9auO3pOubPQdKcapjxW+Ldb5vaFn+9QPDld/v86i5I6k/avoIY9ZPzFk/dTV0PQ2bIb+7OtSLpECgqHuHd42r08D+3/h/t+o8U+/4imvLZ9wJMnB1ZmJbeAm1vowpaXxZZcWjy3H8U/P6338nzwaQqsYwMvb0Iv5obkMKctg45CyJlEUmYMus/GkLoNRhpKbpmYpLAMfjhmGKnOiwDjNNxztmObDVvITfTktX9qigxLbxbJTdPX49VFX1tlQ/UulB6eX2ns7+vo3oMqWhdl9/Xs7e2afH8XxjcIDWiK6OjS9Dc3uhqQYbAvVRP6JrR2KLNxpuSxHcjhUmeojJ4vBR7l3dnHt8O3BMqo/zJflt7KIqRwlb2Px9wudvYNXF7VKGmMkLkJ/sld0iPr6D0wptX8KFL9Cm+s/pYlm//EzYz7WlP5PRydpZIzgkHJT/N8vHxVIPUD6J+tLkS3BQcYdSn+9pBaJEFo64XhpcFEX3rS3UpRAY8QBHYo7QpkUPcXS9F6cKh5/s3v50N1ULITWMpA5oHNKGI2OSu81pMx0hiIjjSE9mYcNfVk9P0tr9VFryU8BQepyqLKrH56FlEyCYKh7/lbqZAok0Q/bTFnbzjIpE3253nFmlnZoIZKXcZZedUUFKA8J38At3d/o6p39kaP65NkYftNaIvPbflfvpi+jeTiBJK/7Ovuy6ePHmd6Gprch81Trr5xrXLWs/Cj3lkfyi61QjgtSF2SiyiPYPyo939YWn9PVt+mXVkYRiAUO8QHTJdOPjVfdSY/J2fGMs9HpX4Q2w+vAZPX59nLblVDyzQlt/+FNHzkGF+CYf9EGlIm+bMcRqX5IY7o0hmI/lzezL6pvqP1H8P+ctmwmg2sucOzj34RZ4ajsf/szeNNe2YyjijkNRc38xo4RfZk2iW7rXv6vH+RzhP1WMaA2kk4EW43axr5ZRcbGkIL0AId+b6ijptbPbNoGJrM4X86OWzpWmnXOdMBALGULVla9/Hp87PpjIv7XqNR+amffphuKWNI3fUaLnX2Dd5SiqUtA0b3M02j9xeZmd8Mm2h8a8Ar0m6dNKS2eu3jTutHy0PB0oisJdR/RmbW4iAb4P0trRZizZOCBtlJ5JZzl9br1F6C/9Vm2wWTrp3XbNcKBye7/9dqvY52OgzbuGeb5Mw4N6bMqZ+S1dIUD126sRouy1phM9DuW62ymCFFkNxvEbdDru4859uqsoCBNXgb0Qs5SiejLtTUyh059InVyN0BLNs/HahdTN9YuKJWLzfiLHYLF1c10GAfwg8wjUdR2UdfSzRd09fU/cxhFNT0r29e1dHAlXhz3SVT2QmMq9G3uy7VLb4T98WVlY1spXtHVO3hd66/98nX25ebpX7vk5sR2LB1YE5XL5+KkNVS7Bl9nX66duhH2r11yq2J9nX25dnuarb+NdY0a/1o24dj52Af7MG1YpDTqyQH72OVW/3hM4zRVfptgHRKO++KUg/Gl0YI1b+aPh/1WMuBO+P7E0SaKDv3OkrXUlg+Iej2EoaaHR1iZ8A4NhlkpqSRpsUd09RrWqt+P8+W0vJzgp1E51z5r6yHqhxrv4KT3p6gturBr6eNnYTn//lw1E3q3q2fznaUp8Sm4aPc7MNlu44G9V3g3HAX/tLWG5tsfbRvCe1Gu6ew7eencvs2PTQySm6v/O6UCH8RRh9DOJQMD0fS5PfCO3zCJ9SFN3lz9pS7nh1avYZ3mjiqaZWg5GU50/ze9DamoyURfrkeCn0Zly8cx2ev/roCWvbwtOXhgNZvkB/+CG43HUo4MQJoSHLjfx/Qo0r+FC1Ium7viqR1+OUGeQAz44wealdsVp+YSnTmuympnasF9Oq6iiCo755F45xdMmaV1PoMYudpajml55kcaZWW7AiXSl11GB5zpq5/atw9OiiibZtXp02h32FLhjaxsNS8C/W1pWunWrlMHX8rlnFS7x5y+eT8a/L3khTN/8vKu164Cq3gGTrKgnv7GA+2uNlfOVVY7kQC1u9kIEWSNmZ2JTNZ0zGFpNQG3w+xfivqxonFDR98nfs+Hm5VKzXtSOVs0uqADNfXw/VP1Mp1Q0mHq37IBP0dC58I1+xD1uV3rF94SR9GNlUpyOpM0W/98+Xl/yTVzVLu48YEtr53Woh3mdv9/xj/HTkv8Lxl6/9Sdeyq8gAgOxgHbDQ4C7HjaOnUOr7PJKEOTaYI4jj5/zPKnH61t6RDbSgbMpmZfIoOeYDKbj3S8pg7OP3iME1J4jCD3h5XP4/Qz/KXHXZxE5DZS3iHS549LsQnK1uKH1+/8G77Ka6eextntMTyW/L4ZUfl+Pt8iV/2k33UvSLwpSS6/eff6Jy+CbVZhQnYJOvpRVG6YfRw/9fyjJiHjsD++mLwIL/gdVpFuP6ZncK2WOxEmGpmG2XiX9Y/sqCeNQ3/z/9avb3h6QOzu2/Jgkny356X+O1fhJ9QvJZVkmY0J1Sm9vcPQ38YCYqOCcDtC/6/n36ZrveM12+g1XcajSTD+mR4tmXDs2H3wYjRgNhtRbXhjUtF8wtBPj1nxT7uXP/NrxoUwcRkw+xqypb48Ust1ENZvPpKWrsHO7VyFZcmu5yTV5Vf7FMtDA/RbsorptyrsMkYhRT8OstVNlIDljTh+Az/v4Se96A0Utg9ZdwJ3YBDZjju1t0Xlts1JW7TZrQJYxiMa3e2keLR16Z7k2Q9Ne/nfe1biW+ylGCDPgX0WjFb58dof+WjILcCHYIs7O3suX6OrGaOtufB0qUf5NY9X/6yMan8u28w4S9ByydnlNjTkthf7TzsjqhzEzQTRJeiLxzVaf5ZX1f9L0au4ruBhfBG4v9xevmtcZKBMf8ypJdeKG01dTdcf7mF1aHuq/aU6DnvCn0MA9bJJk6atwYWQrkdrOrllbBZuXzv/bgwHHxvW+mEVUnnTkAdVxqB137wz+z5e1D3yw5oVIgIDgYFxM7B7fW837o48C9357EqSLER/PhED1wlYDSnLNKGqy2OHk8l00Ko5JrxZiuLnkHBrFMWb4iT6G27BfOToJQP/GXcjQ8aWMgB/iF75x6K+g3FyLqb0y9CYZbD8fNgYYpWDYN/isiNMwWBHkijCs1VKz+ILwBB85IlSnGzGz2ob5vQMPokTJpOFUAADZpcCqtIqdq8/pfvtt994ARZuy7xBj9nSOJEhv1xEP8Ptgk/NmPGe5WEwUc7CNjBwJDCAn2DaXhwYOj6qHDgRPz4dDZ1morPPEMQr5JK4UsEzSf6Lycd+DA/7S23xfuzviduirXNOH9gZThpHghccWgeulO3Z++oJlQMH34s5wjxMRGZiSgEfiWbgiVI8acA3nH/QV+LSPlwUvKcytbKjc9Hgy8FHDs1vEUcLn3DsWDv/eiytyvMyWDm9JG2Ere24bzP55Ro84XBvnCRnzFvx3JNFkBPqCAwEBgIDgYHAQGCgMQwUflssVkdX6zRDVzFUVmX0an/EYOrqyzyKOQie51a5Mkw2lKuwDQwEBgIDgYHAwGRioNAJxwtr5y/HTOIUWdbAfEN+OnGoP6doHFc8dNVDLwhkLPa/fvyZ2/4ymcgNbQ0MBAYCA4GBwEBgQBko9C6V6GDlKt5ByAmEBu5QdtMLd3EYf0qxIEej6NZjV2z7kcUFDAwEBgIDgYHAQGBgcjFQ2ApH8uz8aZg8XIEVjowhk4m+bCk4D4lK646dF19rUQEDA4GBwEBgIDAQGJh8DBQ24dixq3IBZhWz7A4UUmUrGUSVM+TKB6J3YZZyWbTgufDY8snnW6HFgYHAQGAgMBAYSBko7CcV3P/Me+7dQ0L4KGgGPlGPsv6kIlHpJnqrPU4u7VixfWcaFYTAQGAgMBAYCAwEBiYlA4WtcOAWk6VkyFY1KNuzfIj88FiGlWu7V2xv3Wui2cAQAgOBgcBAYCAwEBhoCAOFTTiSKOHLeqoWM/xbX30ZD2j58XFn7ZA3CTZEy1BIYCAwEBgIDAQGAgMtZaCwCQcuydjK6zfkeg0i/hgMReYKR6l073FnXfM1ORg2gYHAQGAgMBAYCAwcEQwUNuGIytFNmE0c0Ks1ONmwu1UMufiRrJs5fdqqCf6SpSPC8EGJwEBgIDAQGAgMFMlAYROO48/YPoRJxvX48DGiAF3tMMTu2plTZl44u2/r3iIJCHUFBgIDgYHAQGAgMNB8BnTBofn1pDVse3jeBaj0i5hynIe5x1t4y+Mz2P/F8WefdEcUrXknTRiEwEBgIDAQGAgMBAaOGAb+B5nwCpLPLNx7AAAAAElFTkSuQmCC"],["fxFlex","30","width","295","height","295","viewBox","0 0 295 295","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["clip-path","url(#clip0)"],["d","M182.629 183.635C213.842 170.774 228.719 135.046 215.857 103.833C202.996 72.6204 167.268 57.7435 136.055 70.6048C104.843 83.4659 89.966 119.195 102.827 150.407C115.688 181.62 151.417 196.496 182.629 183.635Z",1,"fill-color-0"],["d","M154.81 93.8059C152.146 100.719 149.483 108.164 146.287 115.608C146.287 115.608 146.287 116.672 147.353 116.672H169.191C169.191 116.672 169.191 117.204 169.723 117.736L137.765 153.364C137.233 152.832 137.233 152.301 137.233 151.769L148.418 127.839V125.712H126.047V123.585L153.212 93.8059H154.81Z",1,"fill-color-15"],["d","M158.075 173.411C189.288 160.55 204.164 124.822 191.303 93.6088C178.442 62.3964 142.714 47.5195 111.501 60.3808C80.2885 73.2419 65.4118 108.971 78.2729 140.183C91.1342 171.396 126.863 186.272 158.075 173.411Z",1,"stroke-color-thinest"],["d","M259.352 172.363L85.4595 244.016",1,"stroke-color-thinest"],["d","M122.291 259.352L85.4593 244.016L100.795 207.184",1,"stroke-color-thinest"],["id","clip0"],["width","225.692","height","225.692","transform","translate(0 85.9831) rotate(-22.3941)",1,"fill-color-30"],["fxFlex","30","width","300","height","300","viewBox","0 0 300 300","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M50 237.5V112.5C50 105.625 55.625 100 62.5 100H262.5C269.375 100 275 105.625 275 112.5V237.5C275 244.375 269.375 250 262.5 250H62.5C55.625 250 50 244.375 50 237.5Z",1,"fill-color-0"],["d","M25 212.5V87.5C25 80.625 30.625 75 37.5 75H237.5C244.375 75 250 80.625 250 87.5V212.5C250 219.375 244.375 225 237.5 225H37.5C30.625 225 25 219.375 25 212.5Z",1,"stroke-color"],["d","M293.75 200H275V150H293.75C297.25 150 300 152.75 300 156.25V193.75C300 197.25 297.25 200 293.75 200Z",1,"fill-color-0"],["d","M268.75 175H250V125H268.75C272.25 125 275 127.75 275 131.25V168.75C275 172.25 272.25 175 268.75 175Z",1,"stroke-color"],["d","M137.5 187.5L156.25 150H118.75L137.5 112.5",1,"stroke-color"]],template:function(G,Z){if(1&G&&t.YNc(0,Uh,1,0,"ng-container",0)(1,Nl,18,5,"ng-template",null,1,t.W1O)(3,Cc,15,5,"ng-template",null,2,t.W1O)(5,Ld,19,5,"ng-template",null,3,t.W1O)(7,M1,17,5,"ng-template",null,4,t.W1O)(9,wc,13,5,"ng-template",null,5,t.W1O),2&G){const Fe=t.MAs(2),Lt=t.MAs(4),ei=t.MAs(6),fi=t.MAs(8),Mi=t.MAs(10);t.Q6J("ngTemplateOutlet",1===Z.stepNumber?Fe:2===Z.stepNumber?Lt:3===Z.stepNumber?ei:4===Z.stepNumber?fi:Mi)}},dependencies:[on.mk,on.tP,Xi.xw,Xi.Wh,Xi.yH,pe.oO,ar.$j,ar.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:[Dd.l]}})}return R})();function Gh(R,z){1&R&&t.GkF(0)}const $c=(R,z)=>({"small-svg":R,"large-svg":z});function j2(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(Z){t.CHM(b);const Fe=t.oxw();return t.KtG(Fe.onSwipe(Z))}),t.O4$(),t.TgZ(1,"svg",7),t._UZ(2,"path",8)(3,"path",9)(4,"path",10)(5,"path",11)(6,"path",12)(7,"path",13)(8,"path",14)(9,"path",15)(10,"path",16)(11,"path",17),t.qZA(),t.kcU(),t.TgZ(12,"div",18)(13,"mat-card-title"),t._uU(14,"Boltz Reverse Submarine Swap explained."),t.qZA()(),t.TgZ(15,"div",19)(16,"mat-card-subtitle",20),t._uU(17," Boltz is a privacy-first account free exchange and a Lightning Service Provider. By doing a Reverse Submarine Swap on Boltz, you can swap your Lightning Bitcoin for on-chain Bitcoin. "),t.qZA()()()}if(2&R){const b=t.oxw();t.Q6J("@sliderAnimation",b.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,$c,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function Id(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(Z){t.CHM(b);const Fe=t.oxw();return t.KtG(Fe.onSwipe(Z))}),t.O4$(),t.TgZ(1,"svg",21)(2,"g",22),t._UZ(3,"path",23)(4,"path",24)(5,"path",25)(6,"path",26)(7,"path",27)(8,"path",28),t.qZA(),t._UZ(9,"path",29),t.TgZ(10,"defs")(11,"clipPath",30),t._UZ(12,"rect",31),t.qZA()()(),t.kcU(),t.TgZ(13,"div",18)(14,"mat-card-title"),t._uU(15,"Step 1: Deciding to Reverse Submarine Swap"),t.qZA()(),t.TgZ(16,"div",19)(17,"mat-card-subtitle",20),t._uU(18," You have one or more channels that are running low on inbound capacity or you want to move some of your Lightning Bitcoin to your onchain wallet. "),t.qZA()()()}if(2&R){const b=t.oxw();t.Q6J("@sliderAnimation",b.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,$c,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function Zh(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(Z){t.CHM(b);const Fe=t.oxw();return t.KtG(Fe.onSwipe(Z))}),t.O4$(),t.TgZ(1,"svg",32),t._UZ(2,"path",33)(3,"path",34)(4,"path",35)(5,"path",36)(6,"path",37)(7,"circle",38)(8,"rect",39),t.TgZ(9,"defs")(10,"pattern",40),t._UZ(11,"use",41),t.qZA(),t._UZ(12,"image",42),t.qZA()(),t.kcU(),t.TgZ(13,"div",18)(14,"mat-card-title"),t._uU(15,"Step 2: Paying the Lightning Invoice"),t.qZA()(),t.TgZ(16,"div",19)(17,"mat-card-subtitle",20),t._uU(18," Your Boltz client generates a secret which is sent to Boltz. In return Boltz sends a Lightning invoice based on that secret. Your Lightning node pays that invoice which moves some of your local balance to the other side of the channel. "),t.qZA()()()}if(2&R){const b=t.oxw();t.Q6J("@sliderAnimation",b.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,$c,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function Qf(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(Z){t.CHM(b);const Fe=t.oxw();return t.KtG(Fe.onSwipe(Z))}),t.O4$(),t.TgZ(1,"svg",43)(2,"g",22),t._UZ(3,"path",44)(4,"path",45)(5,"path",46)(6,"path",47)(7,"path",48),t.qZA(),t.TgZ(8,"defs")(9,"clipPath",30),t._UZ(10,"rect",49),t.qZA()()(),t.kcU(),t.TgZ(11,"div",18)(12,"mat-card-title"),t._uU(13,"Step 3: Receiving the funds on-chain"),t.qZA()(),t.TgZ(14,"div",19)(15,"mat-card-subtitle",20),t._uU(16," In return for paying the invoice, Boltz locks on-chain BTC. Your node claims that onchain BTC to your wallet and by doing that, reveals the secret. With that secret Boltz can settle the Lightning invoice paid by your node. "),t.qZA()()()}if(2&R){const b=t.oxw();t.Q6J("@sliderAnimation",b.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,$c,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function Wh(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(Z){t.CHM(b);const Fe=t.oxw();return t.KtG(Fe.onSwipe(Z))}),t.O4$(),t.TgZ(1,"svg",50),t._UZ(2,"path",51)(3,"path",52)(4,"path",53)(5,"path",54)(6,"path",55),t.qZA(),t.kcU(),t.TgZ(7,"div",18)(8,"mat-card-title"),t._uU(9,"Done!"),t.qZA()(),t.TgZ(10,"div",19)(11,"mat-card-subtitle",20),t._uU(12," You have now successfully received your funds in your on-chain wallet and also spent your local balance to increase the inbound capacity of your node - all in a non-custodial manner. "),t.qZA()()()}if(2&R){const b=t.oxw();t.Q6J("@sliderAnimation",b.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,$c,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}let Hl=(()=>{class R{constructor(b){this.commonService=b,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new t.vpe,this.screenSize="",this.screenSizeEnum=Yt.cu}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(b){2===b.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===b.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}static#e=this.\u0275fac=function(G){return new(G||R)(t.Y36(ea.v))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-boltz-swapout-info-graphics"]],inputs:{animationDirection:"animationDirection",stepNumber:"stepNumber"},outputs:{stepNumberChange:"stepNumberChange"},decls:11,vars:1,consts:[[4,"ngTemplateOutlet"],["swapStepBlock1",""],["swapStepBlock2",""],["swapStepBlock3",""],["swapStepBlock4",""],["swapStepBlock5",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between center",3,"swipe"],["fxFlex","30","width","368","height","368","viewBox","0 0 368 368","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M306.667 153.333H276L260.667 184L233.797 153.763C229.441 148.861 224.595 144.24 218.529 141.746C212.54 139.284 206.099 138 199.561 138H92C41.19 138 1.52588e-05 179.19 1.52588e-05 230C1.52588e-05 280.81 41.19 322 92 322H199.561C206.099 322 212.54 320.715 218.529 318.254C224.595 315.761 229.441 311.139 233.797 306.237L260.667 276L276 306.667H306.667L291.333 260.667L306.667 230L291.333 199.333L306.667 153.333Z",1,"fill-color-0"],["d","M337.333 122.667H306.667L291.333 153.333L264.464 123.097C260.107 118.194 255.261 113.573 249.195 111.079C243.206 108.618 236.766 107.333 230.228 107.333H122.667C71.8566 107.333 30.6667 148.523 30.6667 199.333C30.6667 250.143 71.8566 291.333 122.667 291.333H230.228C236.766 291.333 243.206 290.048 249.195 287.587C255.261 285.094 260.107 280.473 264.464 275.571L291.333 245.333L306.667 276H337.333L322 230L337.333 199.333L322 168.667L337.333 122.667Z",1,"stroke-color-thicker"],["d","M214.667 245.333C206.198 245.333 199.333 238.468 199.333 230C199.333 221.532 206.198 214.667 214.667 214.667C223.135 214.667 230 221.532 230 230C230 238.468 223.135 245.333 214.667 245.333Z",1,"fill-color-15"],["d","M245.333 214.667C236.865 214.667 230 207.802 230 199.333C230 190.865 236.865 184 245.333 184C253.802 184 260.667 190.865 260.667 199.333C260.667 207.802 253.802 214.667 245.333 214.667Z",1,"stroke-color-thicker"],["d","M138 245.333C129.532 245.333 122.667 238.468 122.667 230C122.667 221.532 129.532 214.667 138 214.667C146.468 214.667 153.333 221.532 153.333 230C153.333 238.468 146.468 245.333 138 245.333Z",1,"fill-color-15"],["d","M168.667 214.667C160.198 214.667 153.333 207.802 153.333 199.333C153.333 190.865 160.198 184 168.667 184C177.135 184 184 190.865 184 199.333C184 207.802 177.135 214.667 168.667 214.667Z",1,"stroke-color-thicker"],["d","M61.3334 245.333C52.865 245.333 46 238.468 46 230C46 221.532 52.865 214.667 61.3334 214.667C69.8017 214.667 76.6667 221.532 76.6667 230C76.6667 238.468 69.8017 245.333 61.3334 245.333Z",1,"fill-color-15"],["d","M92 214.667C83.5316 214.667 76.6666 207.802 76.6666 199.333C76.6666 190.865 83.5316 184 92 184C100.468 184 107.333 190.865 107.333 199.333C107.333 207.802 100.468 214.667 92 214.667Z",1,"stroke-color-thicker"],["d","M239.077 111C241.796 111 244 113.204 244 115.923V126.077C244 128.796 241.796 131 239.077 131H191.923C189.204 131 187 128.796 187 126.077V115.923C187 113.204 189.204 111 191.923 111H239.077Z",1,"fill-color-15"],["d","M184 76.6666V107.333H122.667V76.6666H184Z",1,"stroke-color-thicker"],["fxFlex","20","fxLayoutAlign","center end"],["fxFlex","40"],[1,"font-size-120"],["fxFlex","30","width","383","height","279","viewBox","0 0 383 279","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["clip-path","url(#clip0)"],["d","M267.882 220.417V104.583C267.882 98.2125 263.809 93 258.832 93H114.029C109.051 93 104.978 98.2125 104.978 104.583V220.417C104.978 226.787 109.051 232 114.029 232H258.832C263.809 232 267.882 226.787 267.882 220.417Z",1,"fill-color-0"],["d","M357.75 197.625V81.375C357.75 74.9812 352.069 69.75 345.125 69.75H143.125C136.181 69.75 130.5 74.9812 130.5 81.375V197.625C130.5 204.019 136.181 209.25 143.125 209.25H345.125C352.069 209.25 357.75 204.019 357.75 197.625Z",1,"stroke-color-thin"],["d","M86.3125 186H105.25V139.5H86.3125C82.7775 139.5 80 142.057 80 145.312V180.188C80 183.443 82.7775 186 86.3125 186Z",1,"fill-color-15"],["d","M111.562 162.75H130.5V116.25H111.562C108.027 116.25 105.25 118.807 105.25 122.062V156.938C105.25 160.193 108.027 162.75 111.562 162.75Z",1,"stroke-color-thin"],["d","M205.979 116V150.875",1,"stroke-color-thin"],["d","M205.979 185.634V185.749",1,"stroke-color-thin"],["d","M2.44963 159.45C0.488815 161.41 0.488815 164.59 2.44963 166.55L34.403 198.504C36.3638 200.465 39.5429 200.465 41.5037 198.504C43.4645 196.543 43.4645 193.364 41.5037 191.403L13.1007 163L41.5037 134.597C43.4645 132.636 43.4645 129.457 41.5037 127.496C39.5429 125.535 36.3638 125.535 34.403 127.496L2.44963 159.45ZM65 157.979H6V168.021H65V157.979Z",1,"fill-color-15"],["id","clip0"],["width","303","height","279","transform","matrix(-1 0 0 1 383 0)",1,"fill-color-30"],["fxFlex","30","width","454","height","243","viewBox","0 0 454 243","fill","none","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["d","M141.75 172.125C178.098 172.125 207.562 142.66 207.562 106.312C207.562 69.9653 178.098 40.5 141.75 40.5C105.403 40.5 75.9375 69.9653 75.9375 106.312C75.9375 142.66 105.403 172.125 141.75 172.125Z",1,"fill-color-0"],["d","M121.5 151.875C157.848 151.875 187.312 122.41 187.312 86.0625C187.312 49.7153 157.848 20.25 121.5 20.25C85.1528 20.25 55.6875 49.7153 55.6875 86.0625C55.6875 122.41 85.1528 151.875 121.5 151.875Z",1,"stroke-color-thiner"],["d","M20.25 192.375H222.75",1,"stroke-color-thiner"],["d","M192.375 222.75L222.75 192.375L192.375 162",1,"stroke-color-thiner"],["d","M138.762 67C136.099 73.913 133.436 81.3578 130.24 88.8025C130.24 88.8025 130.24 89.8661 131.305 89.8661H153.143C153.143 89.8661 153.143 90.3979 153.676 90.9296L121.718 126.558C121.185 126.026 121.185 125.495 121.185 124.963L132.371 101.033V98.9062H110V96.7791L137.164 67H138.762Z",1,"fill-color-15"],["cx","371.815","cy","95.815","r","81.815",1,"fill-color-boltz-bk"],["x","317","y","81","width","110.745","height","30.1472","fill","url(#pattern0)"],["id","pattern0","patternContentUnits","objectBoundingBox","width","1","height","1"],[0,"xlink","href","#image0","transform","scale(0.00185185 0.00680272)"],["id","image0","width","540","height","147",0,"xlink","href","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAACTCAYAAADFh8BYAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAACHKADAAQAAAABAAAAkwAAAABS37hiAABAAElEQVR4Aex9CaAkVXV2VfebfWWG1QWQRYddNgmCO6CiIGrAKC6gUWOIUROz/CYm+OdP/P9f82viEmNUcCFRUVFQlMUIgpIoCgwO2ww7IjLMMMub5b3XXfWf75z7Vd2urn69vK5+/d7Ufa/qnDr33HPPdm/drqquDoNdvMTxhSPBE5vODuL6BUEcHiDumBcE8Y+DYORT4V4fu3YXd09pfumB0gOlB0oPlB7oiwfCvkiZoULiDe9eGtSCH8RxfCJMCOUvlj/AIAyjoBL/abjHJz4+Q80r1S49UHqg9EDpgdIDQ+OBXXbBEW/8i2XB+ParZYHxHDohlrAAB0QJw2AiCOccGu75sXVGKfelB0oPlB4oPVB6oPRALx6o9NJopreJ469Xg4ltX8NiA8sLLDD8xQYWHbrwiOM5QVC7YKbbW+pfeqD0QOmB0gOlB6bbAyPTrcC09P/bH39EbqO8NF1mRKoGbqbYAgRQCkAU47mOspQeKD1QeqD0QOmB0gNT8MAud4UjfvyCt8Rx9D5dbMg9kwT6OK95xHrtY/EU/Fs2LT1QeqD0QOmB0gOlB8QDu9SCI37sghPievyvSeR1QSFHgD7uGPRmSxj8POEvkdIDpQdKD5QeKD1QeqAnD+wyt1TiJ9731Hhi52WytJinFzDy3OUueOitFNTjAkcU3ZDHWtJKD5QeKD3QLw/Ej55/TL0e7tcveamcmqCY5gGDoFqdf0P4lM8+oQflrvTAgD2wSyw45F0b84PHHr9MntvYJ5RbJ/aYqHgat1FwZUNvp7gHRYWEdQdKWAk3BXvt+UM7KvelB0oPlB4oxgMT9VjeAxS9FXMTv56vPeFDDz8IAW2cspLpixdos/XWGIsNm9XiaOeL5eBHspWl9MDAPbBLLDii3zz2OfHs8fCuLDpSJxN3kDUpjP+9Gl64M21QYqUHSg+UHijAA3Gkc5N+IBIcEAVzkbfeUJq/c2z8zJSzAJEljAgJQ85qfusSLz0wWA/M+gVH/Ngf/GW9Hp8Lt+av/jmkwUHcBmclnnMRqGUpPVB6oPRAoR6QVYVe2ZDVgS06bA5Cn/xcZP1z+eEWJBl+tk0WLNl6d6WjUFtK4aUHWnhgVi844t+883T5sPD3/BQAH/i4fFvFDW77WqwNVqMJfke4zydvbuG3klx6oPRA6YH+eUDWF7z6Sgjh7RYQ4PH5iRNm24O/LKUHpssDs/ZbKvGj71glnxX+I4qj1EZ+VAD0ced9DlLAOIi+MF1BKfstPVB6YNfzgLtmwactxAG4HYIrHQZ9HDRsfhvDcaUkLfhQhQJIPK0tsdIDg/VAejIebL+F9hY/+d7lcRxeHkX1pRh8HGxYRigO6AYrIQcpoFwFqVeqI5cUqmQpvPRA6YHSA4kHbE7CIbC0ELcFhtFJw9xmuH5I8hYnkGKbzoCC68yWii2x0gPT4IFZd0sFry2v/+bar8lgOxj+bBi8GIMcf6jDg1T45wNVimuj74d7fvoxwcrSgwfih9940EQU/lleU/mcJS9/CQNAFOKARRR8vsOq2j7npThX2j3rE8by6H+4Qz447qxUgh0y4T8hv/b368pI8Os54fyHy68eFhHNXVAmhok3ZyV4h8MFCxF7ds3GmwnbBf1YmjwUHph1C47oNz/8R3l3xmnwbu5YFWIyVjkGCW1kBtVK9aKhiM4MVaIWB/vIQu8deerb3MlLwRKjzHM0CEXD/CoxsUkziVqDWNYBorAtubP3sPP5PX2kYSiyYiegiZ/6JD3JzTcwY2IP6kFcC4PxeFsw/uCbHpeF7K2ShLdVK+F/VaPFPwr3+5cnG5QvD0oP0AO6IraPR0i9dErKyX+Xm2iKFv7XaN1nKMlhE4z819wELEvpgWn2wKxacNQeeft5UVR7j/68vDhWx5gMPH+sNQw7DEoQ3ODEya8ShhuCffb57jTHZeZ37xYAGRc32WXzoUyaLjCMD6Gd8DFnWpAYLtarQFfXJFwI2t7BpN7jt/7THMntT/iT/og7GWqf4C6FbLGCjuJoTyGeJvTT5FtSQT3cUh974I03i6Dvz60El4RP/8q6RJ8SKT2AS26SLMwzwtx8FFbWq+NcLuY5MTf/8xhLWumBAXhg1iw44kfeeWI9qH/GX+0nZwF3NsAgBcrBqrjsXLW6Wz5oXCLv3hgfgO/LLsQDmBAREYNwSWOU9EhY0phlPtGhrfxxkWnS/JhaLSnMD/Ij+CobDbUIopc3SGjUh32lSwxKZvtGflLFzKpwniD9nTBWDy4ce+Dcm8KwctGcfatfDsOLy3e90FG7KIwj3NxDzjXmjx4JGRAlm3/ZfPYl+C2yWWp15b70wGA9wFvZg+21z73FG37/aVFY+5YMxnkNA4srf0DZ9KTmoL/yx2DmgB4JRi7us3q7pDhMjPiz5YBB4IgDIXAthDggDigb/ggVBwtorUqmvbKRJgdsC6h/rg/kAxc9hGgLHkIfV6LsmDfMIfAABzQ8hbRbfRLHJ8pDzZ8de3Di/rEHz/3zeP1bl1BmCXdhDzBXAV1uEiKTUAhzvZRpbw388YK3jpal9MD0eGDGLzji+H0Lajvib0dRvLcORR1wGGCy6XV6B5Nr9jxFpAPXTgloE94ePvUzt0xPKGZnrzx5Jyd0cb/S3BlaoyE7d6gIaQ1n8xbuwW0wFP32keISTQc1B6xW9z3tMhO46iY06qtZg/7dhj6As7S3P95beP7PxLaxdeMPveE8wbULti/hruEB5hMSSxMgIYj9Ssj3Q+H5n99tSS090JMHZvyCo/7o5s/LGeZYWN80ucuJR2k4AelJCEx2gsrjr5Tv3oBbBlqyMcOxv8mBi6Gcxj2cPFCWMlRxf2HpP6AhbdG+adOn7IQO6OPk9WUIrn05SB182KSPKtV6R93lfTF7RvX4op0PnnvD2P2vX9W6RVkzGz0gjx5rbvm5pLnh5Txy16cxdwjVL8hXFEBsyGNC4OUFDvNPuZ8WD8zoZzgmHnnrB+Iofr0MIy0YajIkGz4QuOGn9awDRPH55WnuWmVk7r9rRbnrgwfMx00+F7LSGDT0hInQFcaLEEHSJ+4dgXRChFLnWIqgLELI9XF21ClkW8K28hJFtIeu7Y/jk8Tmn8szHu+ct/8lZT52GqdZwse8Jpz2/J9mv8oPb86dePjeI+WL7cfJkuy4MIqPkxl+N3m4/6Nz97vkE9OsXtl9lx6YsQuO2iPnv1Im878zeznJY5gCt+GKlT+/Fgk+4vpVMRCkJAM7Dr4b7v2Zx41a7qfqAX7q0ofaEAfGROLDB93QB/FW9RpOMDLEwLPFq2snrzFDbC2iNCdD20+ib7brqcrL01ceWl0s32u5ZOcDb3juvP2e+cdheGF6WS6rQHk8qzxgC1R9ysfsYm4T5lnr1eXlE2nWNJnx8iRNKw3vUBp/5LLDwnrluCiMj5c55LixB+46UsybS8XMVHgpWEZaCWeOB2bkgiP+zfmH1iaiS+TUJbeEkIJuEOklcRxaWloYUtzud+KyOOfv9HQRVoOLjb/c98MDnNZs0YcTu8XBru5iIWi9NF0BEDJpnejB6HtRds1SiuVIvjTqSZjVF6mlujsGAPZJiWyLY+KEWXld2R9HF4w/ePfKOH7Hm8PwsxPsr4Sz0wPMe8JOrGQuptlOjBBSfLwTqcXzyJWLyvgDdz8zrITHy92k4+phdNzYg986WlRdEMn7bDCFcwwRFq9V2UPRHphxC45407t2m9i6/TvimKXpQLIB5c5p3hV0d889Sd2sO62dnATWV58y58psbXncuwe4wMDKwk7Y3rSRg5JkJ2jGLad/O2PLbORaSNBj0oSd32jlo5f8dAeIgogDs8gDEcxrn70KppO/1AOiaI6JAOZa0tbTJ6GhAdqyDxyjONV9lKSs/XL8e2MPbFkon/5eE4bn1LV9uZuVHtC8lFxhDuYayVz18q2b/J+uRzh2PvSWA8OgJrdEouPltTTHyWLjGBlTS+SWuJrJz4jZ/G/ygbPfv0rdxFMShtYDM2rBgUtuEw999+syIg+CR/VkILM3TwbZkws4rPBkYZ+s9QQgFRzYMtC/Un6CdK7qC5BpLT2DGu7O0I0RyelM2ml8kvYIlGyuIdGkWhClJYRG/uzr67M5ArHaXmBPhSsPQhUmUhN9HD4F+yW/zxy7/5v/LPpd0JOOZaPh94DkB/OeUJXOJChzNUkvQZSWEKSVEszkbP4PYsKXH85cOD6++WVRGB4X1oPj5LcFjotrO3eDKSy8xszjBIrundif8JfIjPLAIPKvbw6pP/Ldj8kq4ZTk7KODUXbM5MwtFczx/EBAJTSZeeDgSDjn4gypPJyqB5KYiCDgLSbEpm7YjhCNedkCopSOyZktudx0BAY8+QTo+nbV+DYAlDEIGbgCYTQcEfdvu7EN6pPJvJU91IsQfMBb8UOmX9iO0NkvVv7hzvted9f8A75WPijn+2u24Yw7YZ/zvxYWf41jorbtMHmP2TeR+Dp00+GVjoXEvkwASSdsYX8QcUBl2peHQ+2BGfO12PGH3vzWehS/GycCLBq4cCCEl4m3quc5CNDOSxGucvwyfPrnVg91lGagclgG4E+CkkDgWgjlQHkcNNzxoy02DZqDPs56E6h7Q70+0I+e8B3kHEWYtmqJNenXZI/IVnvQb6q7YVanMsCjfGADr5Um+Z4MyGu0P/jo2MPnHsG2JZw9HojwtVjEe9L4azKnOaH88EGaT0luMd/y8r9wt9WcFaKX6NG//Pftb3mNpHDryg5698CMWHBM/Pr858oPav0LzGw8V3Cg2UA1N5CGcWk4IDYsRAi5OJGnky7q3X1lyzwP4DMU4uSmhwRaNGxatUlS4qECDOby64QlTG4C1biB5jY0T2Kpshp3eGU0ir46Wl8f7XDQrCaBoJh2BrE3nVL90MR01saurcmCPN8GH0ddXn8mK5Xvy1B+z36xc259fOJieeBuRl2ZNE+V+8k8gIk4N1+8+GMMTDX/J9Ohn3WwJdceN8I4YrrJf9/+crnRz2gNTtbQLzjiX5//9Hhi4luRTLZ6QpBBx2RFAioOqDgOdZpWD/JEBJi3SbKPzwmD/1Dmctc3D/hnQ5tQbPLRCUhiQagxwQSE+Lg/rRMc0MeTernKARzP3yTP4IDmYgwjgLOAB4X8yBejudzR2pRfDyfZUTb7Ux2dTdaT6U0RPs3nZXu1qyv7g2N2PHjHeyi/hLPDAziBal57UPMF+epozHvC3vJ/sP7qf/7b+B/6E9dg3TxjehvquMUPv2/BRG3i23I62CvXo9lslsGpoxNQN7TyTybErV72V4RP+9KGXNklsWcP1OQSR3JCdQsBHkMo8NaFdRYjC5/gyaHheqJ2sQWeFuLWwPoSDqeHTt6CA/o46yFK21hzE0uROMrknPIKje3bQYjQNkByCztzCuih7JJDQerBX8aPn704t3lJnOEe0ICLDUnADU8OBdF/GwEwtpv8B3/hRb7A3WocoO8p57/YX17hKDyKhXQw1AuOiejxi+TKxjE6wjCs9ESVnjyyyctEbpXs/gnG4RcV4tVSqJ2Yxcl6gcFB4NkNk6fyCNSJFDHGv1sgZGOMuKEAGm6LhzRHUIscgQyTTYh+iLNeuYWPRXWRA+qJZ4asHZ4dElzqCPP6N6XQMYSYHELK9GFv9se7j28P/5g6l3CWeEBzFjvkGOc7w2mh5VySXkLuLv8pp3BYaP4H8sWXssxEDwxt3MYeOvev5Cvar8OAkvGnG3IYuMvlZOK3B0ndvXr9xoGFonlwWltX+9i8/Q66yvBy33cPuDO6LgLd5MlJ1IcaX/C6KPN2R6tbICpPeCkDehuNFkAWisls5udEnvZJXsBm/kb57AvQx61PdOv6BySPg2zjQ79P4J3aX69H7ymf5Ui8PgsQu6nSafyZQzCceWhOcPnXMv8H5KqC8x8P2ZZl5nlgKBcctYfeeKY8JCqvLc+u3u0k0fFg46ATmP2Th0W/LK+MLv47YjMvJ6ZVY06erWM8repJ540TumlD2tR168L+PcfuX3P61HssJQyTB7qI/zCp3TdddnX7++bIIRU0dAuOsQffclg9ir4it1L0AgUWCmkhDujjKUcDhlU2ilttN8Bg5ItWWe6L8ECrBUO7CaW5nlcSGPMshPbMBYTa8LT/ydsbv/H4uMnM9sV+CJs919x/qpNq2qRfu/rW+ssYOa9Zg5Iykz3QnD+t4285CmvTfGzffjDegR6+LuzVp/l463rKyY5FtijhTPLAUC044offtiKOJy6XRFyCMYRbJYSKi2cJ4WQ/YRVnkmNSx4YlC6F3f0W+3/Czeft9cQ1klKUID9S82152lQrxwWbPQxgELgFSGqCP8zkHcBgfsObSlAPCQlozd/cUpA8KoI8bVWsc6vTXI7PZ0s/wIuwXv7w8jt89L9WlxGa2B9KxMCz536s/kftF53+vupXtps8D/jcYp08L6Rn3o8cevPtSQQ7gkxZ6PpI6QijYiGOSt5dVo86ODOJYCR60AYAHjsKLQS5LgR5wgdJXoQjuXomiHfoxtEWIfa21F200+ljIMDM0yCKJnaAOs7dbLWRzBHXUAf0TB0RpV69M3i7LX6T9ouP8nQ/85kTp/jpPhRKdgR6I8JsiLue6Ub/b/A+C4u8i41cGMeRQisp/ueVuHZT7GeWBoVlwjD14z8fl5Uwv1kz1HvxMVw2WxHZCMB8Tb3VyyEYCfJUwHJtTCb6arSuP++0BmxCw5xpAe+A84aDWSVzc/NS0aGRb1ifChCAn97rE9F91cvMnoITZdQ6pjsYqQsyIirsVEfGkXtpCvkxwc+VHslbIBL+b4PuKxAPzPdZoII4gi9QEcQSt69F+7T+WMVMuONQVM3mHS81IiWy+MHcAtWQJyB1LIq3GMPAOHZ6OLydlAMASPGtP3/J/qK7ND8Cds6SLoVhw7Hjg9b8fx/ULbOZ3IwYObsrWyb0uF+2VgbCpvYxEuUnz7XC/f39yckll7VQ94J//fbw5qE0zqHRNmnFDF4ushxhhYuGB35qWHzSL7z977x1x/WR51Oj8MIjk1oZO+8mHVN9mH++z/dJf+Bz4pyyzxQONkx7znjAZCAlB7PZwveIhBF7xw1xIGjxEetHe8nPex/uV/2H5WypFh7AQ+dO+4Jh48PUny0Oin9Ixg8zEvJ1kKHGcgGSxoO9BkOndXQEBVR6c09OTMigGScZvNG8P3rBysUcp0cI84GZBhsMdWojkwIWIi0NCqOPjWfU4eQIOavLM6oDj8BmXPibgG9jG1r3u8CisfVqutjwvO8HryQC2FmC/SIUfn6mw3M1oD/hf8+w0/2FwNt/YlhB5x1+MHZSD5khHE0x45H0B+T8oW8p++uuBab0wFT/65n0narVvykQ9N1lkJIsNGMpZGpALC4NcUhAqt2uLWyfYdDg6qLLC8NF5+7/6GvCWpWAPmPvTyQaBYrAI81RoDLmETQgqCxDTaAqTSTVPzgBp8w762q/mH3AEbm18QtWznekNW6F/QfZLnu8Xx2fLa//LMis8gFxBAdRNdglszn+d64RBoRsrwJP2efmnHRS3m5DlxqT992H8F6d9KblID0zbgiN+9B0Lx8Z2fkeM25MG6kCRAw6eLAQfeXycfPqWfRlsgNhQCPUgir4UhufUFS93xXqAJ1hMfjrpYRK0iZGQcfMheDXGbA8tgQ95wTtdFh70rT+W50q+1qB/8fZXxu6L9hty95TqtfMAvpDncoUwyftJ8h8PKaMAYsOShBC4jjUHgQ+scPwWn/8DM6nsaOoemLZbKmM7N10st0OebXdQ0oGgg83ZZXUYTEawwSRjCAPIFR8njRBfodXB527ByAOjF7OuhAV7gJMbYsdJR9C8p9Z9TRB/a5LG2J8o8XQ6aob1KfUFixe9bcfW0ZPEjqepXQXbD1/Uw2CZ78OZiss31So7fr36KSPj8cpaVF1UqdQX1aPKokoYLZKoy53UyrZKpbItrkTbqlF129xKsN7d2pqpJjfozbwnTCo5loSQzX8dC0LnaGFbQJRs/QC+pOI6dhqZQqK4kfs1/stfUzF/zrT9tCw4xu4754PyyxRn5wyHBv9xnBGikgMrYfQI5CNUfncgC4+b5h9w6d1JuxIp1APJQpDxSeYf+RQmMeHzF+ADTn7irNeJCm3dhKVt8UlO40rhhZrSlfBw7y9v237vWR+V0+PHtSFVLMR+U60S1WfUD7lJ7MLxB1+zKqoFJ8s8cKRYcYDE/8Dt627ZXwI9b1xzIg7quBYZ1oMIb7FG/MMoqEd1OemGwURcDyaEvm3dq7ZLBt0nGXGfpMS91aB6SzCneuOC/S+9X1rMoIIRkI6FzvLfzGOK2ZGe4QW1AaMf1oSBH9oG5RCOZzHJioM6vvsw/pESZZl5Hhj4gmPs/nPOiuL6h/R8If6yEwcd1zhYSE0hspY8oBK3wdW8gPHrw4tSOSVWrAcmJDIWk8YFgkQIH3Hwn3wN1RYbCb836UJHx65QdUYKqAA9GsrdgiVzPr9jc+0jMunOKdp+nEiiOBz6BceO+16zX1yPXytxf/62ta8+WQK6EsHTE5CLOY79k67WW7pMFv+FMokcLoIOR8bV5S+cqAfb1r7qUfni0I3ybYYfLawE3woPuuxxyBveYiOgW/sRf8ylXFBYe/Oj2srFGs/QHd5E37b2LDyPdHpWftZ/GI7wuw5LxWU8R/V5yXjG4kKEcJ7v1/iX/v5k2z1nnZ/VL6uPKtaooCkLmuqbHoqm/2/RwZd9ymo63+9Yd9YH5TUq56FFUz5n7E+clfTfZv4TmbQJ8hlrQJR+2g957eSDxy/UzamTb381+OeFB377n9BuoAuOsYded3h9vP5l1crXOsGptsF845HA1sAmczjJ+M35ab15TwfEjvlx/PWkmxIp3AOY+FA0JoI3xsybgBwf+cGob5N1DRozAgJtAOrAdXmgHQ3RLtzz0tFt6866WfLyxELtF5t1DFT1GsAQecBUGZWvDlfqE2dLDF8vJ6HfERjKlR8JcZ/i7+y3nHGZQtlh+BRxzjlygjtnexB+cnTtWf8ZVsKvLqzE3wqf8e1NQ+csGQfMe0LoOGn+T26/mcgxQmjUTvZ7ie/kypMUjjngOZOyzr/JeG3UuLD8D4LdRL/d2LdC1dXlltNH5wmlY+dKxhfUuBIGu5GlG1iP4t2lnwPQhvMYIdSQq3iTzH/WE3Xoav5Dfy4e/bBf9Xe+sR8WcfnXQ/x9++WJhhVm5QAXHPEjb165c2z75TLlLOYoglJcEUIhTkSAVhAG4AwH8U7rnZggviw88BubeVTCAXjALQIZOUL0nAyOTtTITnCdtBkCHrH3Z2LoibSbEKr12/5KUNkyBCYnKoze9+qjglr0l2Ft/Gx5TquqNie1/bdfHOpJz6BSJ7VV4TlV7sKcKvdfPiW3YS6uzhn5yPz9vnlfhnv4DjvJ/zb269mOPGGnbxqVSyLiuOycDE9zFlZnUS5hxoOMDCGq+53/7eLfaD8UkM2dQlRtwQEjd9UVOnZdZoH9tNmPVT/in57P8ZbvARS8tnzHztFL5amvZ2D1jinAFhuIPRYdLonxkKfgyuMe9NTVvtORiQqIzXj99ilNebC2NL6LBmBm2UWeBxAkFAY5C1mnTBZ7oK1yQOWwDWW7tsME5OE+u4RPHbN285i2OOWZ753aj/FTCYdjwbHj3lefvG3tmVcGtfqtEsHfk7FXbYoX7Sbsg/3oA37AnyROAoFr/4TgiwK52Bn/QX28ds/oPWf++9h9r8UzJENTeol/N/Z3ZSj85XwH6OPqV8QQhdCOGvesA8zbwE0eQQu3H2dT9AeIDYXQjrrfT3YWpW15tvt1rtdpt9/XSXA/5j6exBJ6s02e5zJ1A7mlsuO+1bh/8yJE1r+iwTgTQl+dNBLFWUMI7YGbFeaA9PIsyBgfqQO0t4fnHXDkfwbBNxOpJTIID1jMONdrXHK61QhJJSCKroalKVfFiDFX2VovdRpiE69thnMXy9tsMUlbOhZpfxTWp/UKx7aHznxKPBZ8rFavndM4Qm08Kq1FvPoS/1bOlcTQ/JHc0rmCiSK6SGRw5eX1ovPrtq494zOLR6p/NQy3WnrK/y7sryVXj+mMfKiPfIhcxs5Gp/DqtXY40CiYr/EQL+dt5Rc28kM1pQ1Z/Gm15h9sSDRmTRdQLwaZgTPd/ux4YewYz57i7105mmxt1oXHW7PKvex3iBF/iISEMQlEJuLfQeBaCPNEuqse+Jiim3pDcEDFPQg5wiep9EV5R4KOnzyRJa1YDzBRGaIsRD5Y6Cw3JCGEoomB5LBpwEHjS0M9WaoUa1V76TKvLwQXdEbJ2s3jqdoPOfNrizZqJwPeyQvHqqNrz3hvtCO4S8bxOXndD8J+5AH9KUnjfK4TgFMpzZSsPvKJsiLz4R9uq0V37Vh75hvzbBgELdY7/aJnl/kPe7qxf6qfMHW+Rp/QUzYUQj3I7LL+ZpwI+5H/3dif1QfeM5rZklG/w8PWp5dsf7SbcLjspw8Im81nrLuNPyUVuuCQJ9OfL6vfT7IzLq4BsamzHQSeHWzgAE0hcC2E7tAHXEkBygbO6rzqF32WEh+MB1olZDZhJfw6YQH6ONtnIXLBZCC6k+TCYMxs2YvcPlzp20pGnwbct9nHUZe3Ze2XNr8OD75k4Fc4tq99zdO2rxu7UULwsTCMl0D3PP1hN232cdrmt/Fx1mdh1n7I9POAfbGdL1NxUZgQM4TyAUbRXrUo+rIsoC6P7z9ruckd3B46+bpS/yycqv2dPsFBy+EjFPWV7P15W+dxqUsg+LycBo5C6OO0y7fZx1mfhVO1H3ZoP7QI4wx/0HUKz15DZp7+vs0+Trv8Nj7O+iws0n71gShJqPqKbwjVd6IkYRJ3oUH3PP3R1ndrYQsOfA0uqsffkN8ImCMWwAozxEEY5SuouJhCCKPU2YSQIaXBGe6KB+576b0v7QZXP8AoD6iEwQ3zn37pOm1Y7qbFA4yXxjInhk1KIQFQAGVDUhMqjkPyCD6sJY7CQ6Fb0faLS28ftA+2rjvjxVEw8UuxTb554sYlxqmHU6fi7Xf9iyP8vti/TQY4sknBUsfmGaYRobaJ4zNGJ+o364OvqZDBYVQGULZ2+e/b7OOpwuYf2t/pFY6K+As3SvBPqC6EYIpU1A4s+inO/n2dfJz1TbBg+038JPFvUqgzwmyxX2MtJgMy7oRJ3HuIP71YyIIjfuxNi6J69B25TLgHAtwyGM4C1pMX0BIjhaYwLQX0cVebWYDI9/AvtppyP1APTMjnqFZB9AMruC4UHbRFo2QD4ojFiZ5ERHMHQSLO+oHa1WFnMrHKLeH4eblJ3G/7w3CgC47Re854v1w8vFq+3rqHnkA0NhYrjQnsQ6AAfVvpO58meF/ir4lhHXAxCohNVXEQOHROIRLKaNba4XF8YFCbuElsfQPpRUP4gXlPCEWhK6GPa4USrJ76tbO/0ysc+IFMja/6Lo2nT5uN8acfu4aIBTbxVwKBoxD6OGiyDWX+i2o2Tswextz0TWkdx99bZXgovDH1IkqE27du/aIMlaPgeFHPApAzODQwXr1vgI8rnycLMimXUHm8GUa+c7994dLdLoX4skynBzRCooCLmuaB4IB5OdFWVY5eN2Lb8g+eYdu6M0+VXt13z4u2P75lUBbKw5V/LxPkR+T2gzxw6eKpndPGPE1Y5/j7Hn/IRS6YfJ03BAf0cdabhtTJNQXRTyfBpe0CuRj8lW33vOId1mZY9lAUhQr3Yr9J6Gjvj1E/drMx/j2fDb18anIq6wBl833o+7apXStCP+JPnaSPrDh0SxpwX0df967jD2EFfC12+7pX/Y1MSq9tUNT6EuXdwzX6CdbDWU9DAX2c9WokDlzwlO45r8E5wTfCPb6wNWlaIoP1AGLhx8P17pagEkH7A5m0fAUZX4s5Hq6zFngg2OVQfsPpo8bx/1DbC7ZfrqLUFy2Yf9UgDB295xUfkZuxH2CsWsbPt9nHnZJt2zcZ0z7+k+WBLTqQitKz04dQu/J19HGplEM8DfaZrXe/8o+a1BoYof/2T0X1tvHzfejjrtO27ZuU67/9LePf43RCDVV132Yfnwn25+ibDUfb+PkyiHsPcfS8pssqguPt9575GgF/C6VMsRSmpxXWmAQ/WEwEQMNTqO3VAKMpD3oBb9Jf2os8en6x9VDup9MDFkdM3hYrrCOBp2tKwxE526CtnxU4Tgu/vgZIPK2dfmzb2jPeJva9kJoUbP8N4dMvLfwbKlvufsVHxY73Iy7mc4P0PyFt9mHB9ktXqU5p3rTOH1+3PDyrrxzLK1WiTxS/6Og1//trf+ITOfmaL2zcmm/TvhBzxp0waeshWX/2f/ynOvUj/p7qHaP8bJzXYKbZn9UXPmUeALdYG2TcCSezn3WdPkNE/pZw9L4zj4xr8ZfkzYLyVfI0BCkmTbFg4G0PHFr28SvdYoyapxAdYQgaDUcp3iDTqnSP+2H2Pfb4gfkHXn5depnEYyrRgXiAiWvhlgT1gubjWWXQjm2ydTi2OoN59dNJ27H2jBfUorr+FgNSHYW2+Db7uHGl++7sD7+dtiwG23L3K98eBtGf0h4blejLDMzGIzPEC7ZftMjNF+d80TLr/3z+1HfN/My1+OOjd52+bvGqK3+Qcvcf60w/6tS9/fi1mY6KfBTF5Z1sPBl3wtkU/17fNKoX7uEsKVl/ZfMJPKC1KkXHvzP56XydtYdxJ+wk/r6tfbnCET/6+t3ljbnfkcXGIpzwYZRubnUkR/qHjoGlhTigtSFEe0SPEDjqEpjHDw600XdvuAxIOyuxAXlgQvpBIloypgsIjY2LaSvcbwMcMSfU+KsNyIXhKqP3nP4eeYnUNaLVPNgGnX1bWtmbpfttaDehb7/QxoKRyleL9MKOe05/fiWIdAEFHagHIfSB/oS0mxB8xAE72fw27IfQt59288MNoOHwPRKHeoETfUMXxsQg5RLmy2dPcTWuBF/ded+ZzyKlnzCSy86+r6AT9SLM1w+2grcz+7vV2fpu7S/obP61+IKfdvh4J7FnO0Lre/Lxb7Hu3H7TqZU93XqH/BY76k048+xHLFEIzU+gwJa8eMDWdvFHe5YpX+GI43fMGV376Dcky/aHRrjK4DRD5hmuSqFLzUaDOFQ6aSBISW0VMbZ4YVI1idOJRNqzkfCjRXVu/EWVVe6mzQOWiAh/NoZ2QmB9VkHSCVGfh/u0rIxBHcuLr+Zuu3v7OfJR8M+jKD5C+3W5Tv0KtP+LSw64/LdF2brj3jP2rdXq3xQ75vh9tLOHdhO24/dlA2c7Qp/m43496H5prOOEYpBTESHa+fzECX25Ms0sm5ioXR6vPff4ot59wn4Ju9LPKeu3TeZGzpHJ9eMGy5oP5Ef28Jct7eLJvgnb8Wflsx0h6vNwn9ZKhtFpQ2fxz8rq5DisyJeII7tyRL0IZ5r91Jswa387e9iOEPzy8HUiZsoLDlls/LMsMl4AiXoJTpK04dqCP7KTBGbwbfXqKwfclEwTjfUG7QSm/enJzN1GAQF9heH1C/a/4n4clmU6PcAYQwf7hEltGE87Bp+3aExw0NIaO4KklCb34iryfMHzlLHFDmdLXHHhWZM4YDelEtTnxpVwtyCurJCHJ/eVtieN3rPtBLFsQZLWKrBBQ03JfttfCcNoZKTy0W7075ZXFhuflzjtnvF41/bY8C8o/h0YxczKzZ8O2ufY/8zRaCN8X8C3V/zc6SD/O9A/a38HTTIsvk7iDRx2MZ675U9HdzH2N1qTMbXHQ/nWlteysYeZb//U7IH9uuZwHprSgmPb2le8Sz7Z/QEHM2T6eM5g1c4tCKZB48nHadUjUFmVcK3odaaKkKWn5EJVf66yA5lYo4KXdzmJd9q+XRe+fFmkPb5k4cI1g3jor51exdS7TGDGMeggM4e14wwhwy9PBOkspxBNXT2g/M2Va1o/Bs5Faiocnchiw/WlEAQRRxoOmwp1s+Y2WkR+BD00MbBzOkOXpuLqOBLA42xQ1kx1IqsFf579ssT+4vwDv7u2qes+EbbcffrvyyR6iukrCtMGJWQdlO00YyDb0leZ6l7shz81D6Tr7CeubPy1W2eC2WPm0N1Z7ZPcZGgZO0AtWDyFb5dv7Xx98TO/d21T+ykRnKLsU2TlxX8q9tOK9mrKSVRD7emkjWZz/Dv3TqP//AUHZNBHQAX34smpI82/yfn7HX/0yzHRaIM7ouqAKNTdy/90zBpL476FPY6p5wWHfCf/BVG99k/UK+3UpxAn5EQBpZptsRMHHEJ+QBoAfrRPr2gQBzR5Ul+vv11ODm/HcSy/Rw0/1SguSQQjZCcrdFsXfnZPHNDk2Ykt1c/o6Z66ugaZ/mBLLaEFwej2bcHWu1/x9cqC6vsW7Xv5o6mc2YA5p6srBG/lEvUH7PX4EQDyg04ZwmV5b1fGtJXwgsaYEDc+NACXFEJ0A9x1l+CsB29DIaNBVU0u4TFHrD/qhYaN/Nav0Cgf1X7/efyT2F+phOsXL5r3Zw0q9vFg+92vfGotqHlXTxrtmW77La7TH/96VP+3+PGzjwj3vHS0b+5n3AlVMHPH4jBl+zt981di1K4e/8QRHSKN/ur3+J9y/KGeP/8Q5/zUZGWjPb2N/1RoTw+N7rj/rP2DqP4NUYVXqp1EXzlOCgYbHQU+TNop9HGbtH1ZqcKTYTzpAPYmz++zUYYvu7UOje19m32c9pme0Tn17RM/ie89e1lruTOtRpZVjIEHcZbGH6HiSoHfuMFW+hGshreSp7zK02F7GVgqEwPMwylfNXR6mn7oIdVHlrRQUJpKXqNGeAkTGWjvNkGsP4GKoz1o7s+kQyY3SAduBXJQKE/WOu8Ln3bZBqvt/34invhHeYvoslQ/05A9Tbf96jvnS+DqK8LEb63958fcx+lftVvk8Q92A2dJ7Jdn1rZt2PpXpE8d4kMT+yEUitpmUHHoBho3tFEetGE7QmsH3Whf0OFHTJNmcnLtl76Y94Tsw4fQzddXZYHm/qCz0mTfkf4ZedqmG/u9MZ+Nf8OPfsBpXRTfZh+fSfar3ohGQ3wsQnRFkv/Cx7gT+nYTh/14IJql6wUHXlteGxu/XAS6+7sQxWRphOhU1YUBHp7ysy2gFOVx0Me1EtWmOKCPu2o0JKfhrk+V2w95Kp194IC42WnHKe7b7OMpXyJj/9Hatn9Q8bNk587nelIHjsGNjbg7VA8CT7wmcVIcUDatc9BvS3kQbUIV0zbA0FbbSyNCLPqIJ/WOF7LzNuX35IEJtIRZ6vz+IQOFsoAozRGIu8Pu7A+DLyxe9f1LrIf+70fvfuVRMiHoT8wn+nkxoN2Eid1qlOlDlO37aj+6EMHaR9KB0ax3Fxs5gI7Y/Jj7eFLveCkuC1WGJw+dg6YwDP5YXgewF/ueKkzy3usP+lAH4FO1Xy6xdlToB/YNmNjt7LdAmE4Uqjo6Up6+Pg04bCYchP1qj3RIe7Rv5AkNmCKkHEDFZUcIhDggtmGynzr5UP0FPacQf3+R4eMidvIinYajm5/4sqxZ5Il8uAqF0I6627MtoI9Tik/zcav3Fx0+ztYWXTmiB9EHcO0rT57REueCE4MrKcQBfTxh6BLxZUQv7rLxULPTQ+pL0ZQ+lWnLcED5QzgINUyyS6AgWuegthDBCVT3yZGDqEFbQuDol9BiCf5EO+UGPwtko2gfHs76hJUiQNAmRlBUCHZk/SsufaoPUAfc/aluggPqJrsECgI+vToWxj9Z8qyl70r0KACJ4trf4T06EE39iCfdmYFms+KyI9RWaQuQzVYHaTchbAOPg4ndQoPNukBAneDUR5oaDuj6JUQNZBACR/+EwFFHCNwKodYqif3hAHhSiAoUOQvj8Z0fSOqmiEBPtZtQCOi7v/Z3tuLoxH5zCxwBw7GjpwwqRXyeQMXlmFBqNDYODsZ+65/6QnNngKE972eH/RYti6SPJ26BmShmriFKa21/en0j6PQCm3YRyLsGLpRkebUdSZ+SOHwOgjQfWjLZBAo6VCINx8QBtejIEi5AFJFvow0tc9oLH3UwBtNH2+XxS49wIr48i0KcjlV90KXWYqdfs1WYkDyEfQPmFZUnFZQHLtLAT9zBfUCbLaWVzVn76HtCTRIwOZeqb5BnrqHFzGKXykr9TzmEJiqtt4i2zoFm/jTvtC6b86KYxt8pqPoKY6pvGme0zxbqSUi7CVVOHKwJ5yx6TRheOp5t36/jzfecfkJcr50BeYkugjfZMwD7ZU65TZT4mSx9HpdPRL+Vr709XonDqiizRxQGe1biYC+ZxE4Sv68y+9P4UnfCZnsmnwOa+dvFP3zn9nWnfXThQVc/bLr0vledaYqD6v8+5n+XU/60xF89WJD9k41/nhe6jqC78o52TePFo+XJZZ4SctwT9jv+k9lP/RJdPN2hB0rTOU8q2s1/Fe97qx3e0QuCrXee/to4rn3QPgBZNqjy4mwGClQ6XLXjgdNWvy4rOL8228QvA0uLg9rcG2xW6e8dP6NjjT2Gxh7oSEJz/iT6Z/RJpx7rt5/2i6yB/QiX56DCUF5xwoJR8RaLyGRB2aLelhqIGJMICS5qu8MmA1AJWYwdcSefsScEH994q7La8UM08s3v38Npax/tvzWszj11yUGXPdFkax8JYX3C3iY6TfbLF8puFDdeUh2Jv7fwoKs6OnnvvOcVB0zEtdPlm3LniSuOVXcMOP4y2c6r1cI/kr7/Qvuf6i6jf7/zXx6h70jDyrzqH4/U6+7qjZfgSeL7tFTk+ER8thz9Qx/zX8RhxLn+BMBF8vD0x+eMBPpSurT3TjFfd+JhMG9Otbdno0aq/2teGH0i7Z0yQSFOmHINCpOYnCQuuxj9cd4jLHr+kx9R/fXI3MpFtLWjBcfo3S89qh7VvmhRF9VdodKEIKe1lhhKIzELJQZIniQmYPYK6xSCnuEnnVCbsg9ln/zTDPUmtAUIUtuSA3TSVHamA7YjRLXXvdkGGolZ6NsTB9eo+Nm2o/GEsM/Hs/aa61vmhHpYFw/OmQBoQ99C3mTyUd9NgSyehNGOuOoAQq4CqLBCXQhB9XHHloAG+8Nrls5feE74jG9vSuoLQLaue/We8fjoWbmii7Y/DO6vBJU/W7Lqqm/m9j8Jcf4zv3efVH9STvqf2nLPy94YRtGHJRpPndS/k8jLrerI/uA8eQncB/tyBaoh/nkauXxkwuemH4hTK4ufceVjvUjYctdpv23wP3OdEEJ9PNtJ5/ZvmH/Q1euyzafjeMnB318v/WIbuhLff9by8Yntf9KzYh3lf9MErN3JFLkhrMw5dcEB33uQ/bd9hmPr2pfvUY+C70iDRUmiQAkmDaEw+Lni4+zMJmccYUBwUBCmXAnmC/HxhCGDUBenn66yBQfkiptQWzbxm124RKSXiYSJMI+/gSYHvoo+rnzG7NCM/TLpLlm89GMp3yzGfMcIrv51kH73oTAYD2Ll4eSBp1QGXZaRjza2IGF7uRivcvJzgvmR5IzqJm0gF1uTPMptkTPUizCjn+qufVh7s0WvI3546arnvqzoxQbUqo+Pni9W6DfOBmm/vKDxn5ZWq4csOaT7xQbdCSi3YOJlz7rqy0uWzX+m4F/UOvgZW1O8+h9/+VbPnpvvfjJ/wabKtN/JVRpRtXmzXLUc83HyQrLljOsDNqO0sN8qi9036JPtKqOf8gqN9mShb7OPSxTL0sYD8aNnLNy6c/uVklVHwnfmv/7nP+PCuFtMw63VcM7Lljzze3f6ak664MBry6OJ+jflva37qcJIFg5glyRI7CRJZBGhOKCPu4FE3laDQRX1Bh36Ig249GT9Azr5hMrn6ZT0AZ25QQZwQMW1gdAEygadCRUXHkLjd22dPL9P4PpHiCPigLKhb0LqEcpbcQW/QF4AtkOkz7oCn6Cob3J8AlfCJ86lTRBtUcfCq0+APs569a8cAPo469tB9kV9oL7SYIaZksJ2wrRJ9/bLPZ4nlyyc+5EwvLDweVV8hMx/O00ZlP0SnP+1ZNU17w0P/v4Y+54qDJ9yxXa5UnJ+UAk/PfD4R+GU3jyKiZg550P4hDEx3I6Kyn/00c9S1Pif9MTVTwNmqCz87MKWzTsvk3FwIufBTkxhrjEHe5n/ZNE/Jm9DftWiVVfenO1z0rhtvuu+T8rs+rxOTxYyibjJWSZZD6fyMBx4q8kgayz6VX6BmrgQK3/4x4YlAqGPs14dDZZWJx+hawF0uhGyX0LVAHLwB+j4CVV3TwblEKocrw3aoch8/z+XPevq7+vBLNo5TyXxg/3qIw+auS4GLmjOKwyh+VsYKU99jyPxXwPuONTPgrM/8CjN8aNP0FggF4XyiSvR0UlTHsjBX4fysvpAFmhpoS6AkIwSrdiybXzd5jtOex8mDiUVtNt892nHSp8HOqu0F2qBA+Ksb/C58+Nk/syzX57+/Jtlh177wSJM0qsdq66+oFqpfJxxJ6SehHn2+TQfb2e/rNpehKvBvduEtaXvbRwZJYVSn8k/1Ys0aZH1N/iz9veuY+ct6a+sPpAAWlos41NrUWN+SO2mH1L7vVc7pKJKTD0QxxdWtt616RJJltPy4l9E/ieuD+XdmWHldbLw/1FC85CWC47Nd5x6QRDF79DQY2LBhkJoB7pHOlhK4LB1sqS1wFCcTLZX2S6pBOdAATQcD3hKK3eLRHsFnkiyvk2uL1sYwCO8hCoDump7tGv+g634A9TNGqsM2/l9KKeQDaLGtXbQeMmF9rJI+vbSVVd9CPhsK2nM0jgy0Qlhc6MHXZyFzvbgAc6Ci1EogD5u1GZ5jIfV+L1ZC8oGxNZugPp9qg5oB11c+yxsJ8/XCLjqIFA0WSELj/+3+a5Nd2258zT99oiS+7yrxvErIJJ6t9N3qvbLguCaJYde83d9NqNJ3OJnLXu/PAz8y0HFXxKnEtfqpzcp0iHBlhtp/BkPNAfOkvU/6KQBz+ZTvv3gLK5Qd8B2+ZTVV9tIO8qAlsBZaKvcjitLCw9svuunn5Gvt/+u+ZZnHBz53rbG9C393S5e9D+gbiKGsIJP/XHlrXJOwyMYuSU3bFvveumLpO3HIUkVUomC4cQL3J2AoRxwQMXRH2hqmJ1ogEOGypE6Qm0HPrR1fyoa/MJk3RieyBe6yocQFeRB9Kp9GwQOFsIcdtTKhmI6G4+1U1yUIEzsNsUg2Ppz0Pruwv4guH3J7ru9CZ/ITIfZtYc/zCcWA1rnxwF4dmO8kvaUI1B9jliB5v6IA+Zt4l+lA/o4eVVH14fiyi6yqBjkAnfys/yqB9rzjzgg2mhTg8AhCoXisxBtrDvXPoqeEUX1yzff8ZKPF3G1Qx4deCVsQ7+qr3ROmNhtCqkPtM7jl1bWthP7w2DHvOrcPzAPFLuXBzjrc6Lg9yuVSl0U1NgXHf8oiHTx1otlmIgZd0Lf17ABG/4IfZz1WejbrHgvynXTRh74Uy1djqCp2uFkwDYUwLwNvJ3YL75WOeWu0QOb7jjlf8tbwN/OPGiKP/w72TlMnK/xYnCE3wXE8g7HsoFHN0QbOP7C8H3LDr3qS40aNR41LTh23HWaTHC1S6M4GpFnN0SYBJabZoIcO2WgN3BAxaVjQmmoihCqEU45ESgNoTiUcRBA+zGouNQROmbjRzMU8BP6uFGtf8HpHMigHiqvXf8iswj7xUcb5lUqr+rr7zA4m4cC1OSrdy43VB/grlg8ERPzbRainfK0aE85CaTshF+CqjQEN413kgNSpzmQ8Aub8icSGxHWJfyN8kWY9qMQOPgI/bZOaq/2i8j3bL7zyZ9uuueUAxoV7P1o9P7T9xZljx2U/fJtlAvdN0t6V7qLlosOu/YWyTJ5GNvygHEnTOxmnPJksw5Q8Unj/1I895Ynph1N9JS0sbmVsB/6qa2+/e0UmWo9fumygPyfqlq7QvtNd57yl3JO/IskTwc4/4Vx+KFlq675p3Z+blhwyI8RLR6LIry2fGVuQyQSCqBsmswOWmKD7HiMUfdCRSMPd2gDLa8+M9pVttAA2Q8hRXpQNNQjQB/3WLpD2Zfrvxf75cpRTR6o+d0Fq66+v7vOZxi385FqTb91YgJ5k/aMNWLp4a6+OQbiYZXBMwTaAbf2VifZIDw+znrLK9cPdfAhVtQ4BtTVNcRDviuoQ2Eb4krsYNfU3umitkfHhrX4xi13vuSZHUhqy1LfOf5i8UFIP6gPtP8i7JcHYeeMtJ2Q2irdJUN1ZM7/lWtbE4wvbQX0cdZPKf5xvHTrXfce16WKjeyTxb8P+S8/zNfYX7+P9BeVRSjs8G3ptB+/jeKUI9C3333W7FTsbOfbdOdL3im/8PxhzHWW15iTsMFvhI0536/8l3fofGLZYddeKB21LcmCQzoPNz+x8ctxVD+crUwh5A0VNbxVvXAZL6AaCnNhcH5pJ1/uYbuGgPhEDFkG/bapdPYFaJfmCHlKIESb7KdNn2a4yeur/WH4niWHXHsd5M/mkvrMcgJxsA1WM06IweQ+bucjxhPQ8DTuaT9pf838bJffU5N+HAvQ2+meQFjWZE9/7Rf5+0gXP9q87qUH5WvcBTWO9ORIn+S1bLJHOlca7HS2JnAS+8Mw+mo/v5GSp2seTd+REAZXso62Avo467Owa/ujuLcFh7rT8pR9ZnXJO/ZtMHzy/O/oxUt5HXVIqwe24oANZkcK88YjbU350zHUYZe7PNumNaecIzfmP91J/JvzJR0HeY5sig/j6sa/3J75ytJV17wnr20eLVlwbFrzkv8pKyT9Lnnr4NuAsMQRXLV3UHA9dFBx76SPNqa8Qd+QVLGMfK0gLeVKMdYB5slPaYnOerIzfpNDGcLhJtCi7Jf+/mXZoT/8dKr/7MVwnxAbfEno+5eWow6lU35fho9TnkRcUUD9wwDBH2DOBmbK8XHyUnfqBx7q3Ak/5FAG+yH0ZVF+O37Uy/aUaOf4j7avffnTIKPXIs9v6Ns5fX2Iu34S3akf+urFfgnBxb3qOdV28nHlYtqThZBNm32cfIxdp/aLc3pbcGDe7GC8UFfq5+usuDiaMMl7L/8Lvr4RVOUPutFfxFvpCz6UTvkhxwo/jLrDXRRsvuslLwvi+lfEL3ouR8xRNPaMO6HNHRqfVvGgf1nv56QfK/QhM/wVSw953vlCZ1BAnrSokpvXvPjlouJfQ00rgEgaHBkEDiUIVTFngFSgUusJqbAPIUvbaT/t5fttrZ3pYDqmOPmoG6CPsz4L1TronhTiBdgfBNcvO/SgjleCiUozFunMh9mY+HHzcfL5NB9nPdwFnAU8KIA+blTsyWv6Gp205nqTbXkM3NfB5Kd5Ddk+zeelvlno8/g4+Tza08YndspEc2HyocF072xv7eJjBmG/uP7OZYf9588606z/XMsPOfB78q2GJ+A7FEI7Yqz7Fn97xboJ73wv3eflk0/zcdjg5YK2RT0KIXDaSn7Qii31JOeLzP9ibZgZ0rfc+eLnRrX4m3Lmn4OYM+6EsCIv/qSZlT3mfxBfv3Th08+RdwV1tYatxA+fvUB+/VXeSc8Bl0JTPJ1coaBvjCnc+56yAH28tcTJnePL8PHO5aW2wx8mow/2h+GDI3Pnnx2Gn5V7ybtGge9ss5zBXIjN/GoQuBVCd9gAWAcImag06OMmS07w2tYgcOhAaPE0mrK5euDUF3KMz/ozPupgR/7el0kZjZCyAdEytQG4FUJ32ABYB5i2hSx5xvAFm++4vqff8Nh69/UHi7jFWf2tD+urE/2y7RttN33lJui0vrYf4070utHXlS72aYZPOf6HYE6l/KnDSeKvVWlOIF6d5P/UdWotATdU4Md04zEg2jXqa5Joox017lkH6Ldt5NrVjkbvftFRUT3+njxisJB+hX86iT9zHj4jzniZj83XwK0QusMw+MXy6pIzwmdcvNNROgaVzVvX/4l0HVEB2gAAPCxJREFU9ow84c3KpAqih+Z6SzSTleKJMS4RNfPMSxCSKNtOnvEKP9qwHaEpZLJcvcoTPOlfExb9tdpUiMkAl5Odtk9pytlUn9qMPlz7bXG1cqZ7334ie1dBuJr2P2GRZj5ALFAsJuYzP2aNPmfbVvKaYiaMSksaSD8qhDnAvlWJpl2TPGjq4t7EnEPQroSedO/wlHWK9sfxhzbd+aKuP1XH9fAA8zk0oQ6pVsRoK6CPs74dNPun/4cJw0r1liTuBcZffFQZ3fHk/u380lyPWwT0cZH539xzkZSi8r9InYdd9uY1Lz2oXguvktXFcuhKHwP3x6jiUknYj/yXBc1dleril4WrLt+K/rotFXkG8xQ2yioLQ0AD9HHQSCdEPQqhj7O9TwOeTnSc/LPQ5xHc9aFQdZNB6qD/AChaoVCX1v0bH/ewBaWVfbS1VT3ask/gchlXflQ7fMuKVT9cjeNdsWR9ipgbjbGGV8zv+f5hnfGzLWPQVh6+aogCqLjIIUz6ZR/KqOyQa5tP83HWZ6HPIxIyOQWZtCFfPtr7hbpZP2xL+0XanKAef8Rv0QkuVzX3ze+/sT+TRRqOiJs+duzjPo/Uiv1zRuJbTM707WXavSWJe8Hxr9ejp/fP0kZ/Z+MP/5PWGBungdoqOCDx/inXQhJ1li4Lyv8WHc968va7X/zUOBi7Rl5bsRfjTthZ/CU2veZ/GD40d978U5c+64qef7m6Im8kOxoK+4nRKmp8NgQQG9oQUsak0A0OaWl/6Jc0lZU+ZOg/rNJKJtYfqoNAxUUWYSLXk99KDumwG3ir0rX9QXDh8kN+1PWvYLbqf2bS6U9AH6c1Po08PrSIWoR9nDw+zcdZj36As4AHBdDHldh2x/zoNGfSvlvpQ91Yn4W+TT5OPhkzQfyiLWtOObmt8g0MoSw4irdfFuBji5558B0NXU/DwchI5BY9vs0+3plSHcU/xmKu2yILAs1TxpXQj7mPd1oPPcA7XYV9U1/oQZqPsz4LfZt9HP7atYp8HX7lWK1+tZyi9k9zxfeJj9OP8JHvb/CgAPq4Elvu5AHRx+XnAk5dePD3H2nJ1EGFfEsq/o3wLTNeKEalpcadfAlVbzyQSv1lNpFfSpQmVLyxvSgprFgEWH1jLXpspFh30gJkKaqJHKTSTRZkWlEOx+lIDaBRfkOVHmTbN/LTbkJTV3iS7lvbLwumby0/9Dp5hTO1b+59NlPoM6QGcKaI4eI3F2R/YQl/gGxt6B0626BFzHJC8kqeUAsu8n0MLkYVErI5aFLTmDA/mVPt+MNKuESU3COoBHsI7x5ix960DbJpa2pfSkvr+2O/2uLGYxRO/I0cn6a0DnYybuWkCKsbx5TFQ35CgEZpQERgEi/DWY2ufDzH/juG4dmlhQdf98imX73gSdFvN0sQy6ci7Jdrm+Lb3ko3+a89cD4GlNLsf8u1JJ5dPeKnInvaFZ3/QZSO4Z4UnGGN4jUvXLypVv+BqH2o5awzoNv4Z8ZzR/lfCTcL30uXHvLDe6bqthF5//l/ylWOVakgS9z02MMYY8KM8saZtpdXCmFOk/sKjqa4cLnDZOC3kEc2QvBrIjt+4kxuqxf5lKcKJa1NvYY96whR6eMNzKlcym9hv0zAty3fff6bZZBPIiwje9YdmulwEQqh4a3dQtcSWo5Iq4TgoWEwsfyw65JfOoXsQZcda07ZdyysnSYGnio2vlIsXWgaDsB+MRa5j5OJ/Lz5qXiWQ66o/aITH8ivFON9Hpbu8G2LkDRNSBII0vL7gaBUoHweWZ/PNw3UMMCl4N20Z+ZTo7pNStFWQJT8BanfTOIRxfv4lG5wqkWYuDIhePkvghn/ZA50tJZ9Fv0iDn0PB5Q1f3HcE0IvX9esnjSTsKX9PX03K9vbzDiO17583uax7ZeLL5rem9N1/OlYwvb5v2MkGDlj6WE/vLUf3hqJFsz9QLBt7HQZUPtDB/avwvHRBZniPsJkjVN+VFOTDH/StiHbyJwDtZ+0v+b2WQ2pLaBT1UEcZ7lB80tj6xz+jD2d2C99PhGMVM8K9756m9/XroTjbYbMiXY+Vp+KcwCT4qFu3rLETBgM8dkyVQM7XHDYtQ9JZ5/DNrrmhXtPBPFfibLvEPv1V16LtJ9G0ndRPTpHaB0tOGSBIgsj8yDbQx5xQhsCWNRYb6CTZpTGPdiUJyGHWxJ0mhG5dY1Pak1a0FZUECekrd3YL9/KEd92V3BbPdHNV5E4YY5Y6ooqLD5xzCsaxMkT4mcHCi7ap+sDamtOuGPiLp2SXKF+yubbSpzQyYl2kSsc8vtJ1U2/evyrkhsvcqY3Ad937eLf1FgIfnvigBKjiWo1+N2lh/7whrx2vdAqKw68dvO8ufNPkjz9OhJeB5imvkRYOtVBIBC4DjoHyUdIPkK/rUkRGWKB1iPbgCOJHLQu8BZR0AFlk+oEwjqpBA3Q8BSihroAYkMhBK5tHQRu/AYNT2VoT9qf9YH+VJaDefzyjuiJoBq+drdDrntAxJdFPdDodYsg9vYHFqN15i4XVqSN3NUYrrL4sOse2+3wH79bHhY+XD4J323aFWe/7wv0Jcev7tQj8uZPXXCYDMlta6/NKRcHGGqEPm5UrXEoGH1bHTmMNzts+kEYy+LH19HsBq2f9ocxfFtMYWxa6ysrFymcQ4krcWA7+lh7d71afthY5+g3vl7G/7CN/SJcKyf9cNOa335e/KMv5EQfU48/Y2PxMHnN+S/nt0h+guMtyw79cfKW3n7YqBfYFq265lER9jr5us276sHOw6pxtGcqnCY6in+oZ2ChEypLA0NzI5+XrIQN7nRNE5oMokiu11XkC31yI12uIZ8pE+DbyAXor84SOv0rBHSDQ3aHCVRpjkcvlwoREAUDgZdQHUGBChHM2lqwUCH8715x6I9/bEy79t6fRHxcfaeOc/4hbi5HEMWxcgCIkqlXsqt2HMY3RHsZpGs3PfiKE4MtWy4TtV5QlP1qMl2lMD546x0vPHzJodf9qgN36LsiqBshHG44HI8CLwN33s4cukFgLMplfJQnNxWH5gqH5JTpojkmyubo2xf7w7D393CobgyqKEjXu3D4+a8GkNXV5zZoGE8JozYvasf4Q76PZ9Mpa1+n439X+LVYeeboY+K7tyQ+gy/d+FMI53YdfyfEpQFjQ5jkf1z5o2VHXP8f6KKfpeGO3rLDrtoowvt2+aSfimZlbVx90vvh/dRR4ioZWHopyC1qsnOjLkgcD+XZ9GhHMYIAmRyTxBldDlwnnzIAZWHyqd2OvPFffVqJw52yIPN8ThzQikRAURcJ4qwGUx4Omk83YUOzX77f956Ue69nPrljK97/cAAXw321n9Z6fqjZzxO0XXDIh6fklgrFAOKTselon5SJJ/FiX4Ro5OM49koUD88tFZksNqe5lq90P+wXyT1c4UD+e2PBVy8Pz6Op39040rMUCNljZRrYrrDxPzALpqejJ9c8/2/lwe73aO95sc6jKXM23tljNATNF6ANrbWO/+pfrTji+n9Jqf3DGhYc/RNbrKRNq08+QFa4J6vPPN/ZggKTpnOy+FTRBt8yAKJjk++lTnnT9hoctocwbWP1jkto4XXLjxh5b7FWzzDpLgbmzvQqEKygO3MtUh8Lh2sPH6vLHTPxSWXkCh48UX6sbMum21/4ujiu/VR6T362fFLdu7S/2T/xczqyNI70qnRTe7c4TBYYoo/iLh5NsrMByQisVMLiHxpoUqoFIZRvNcmEKga1zq8+2C8fWKotNGhPnnL8dcZKxxhtBRxE0XWqJAHyQIr2ihyyw5TmHTegndo/KHsalBvMwZNrXvDuuF6/EL1lhlMyF9Kf7eqTXKe/2vi3Elb+cbcjrv+HoiydkbfC6kF0PnKYCwtAw1OoodKklx2gAsNxVQR/Pk1xBAP/Tl4WagKAh0WiLlc27h+ZN0deW37d8Eys1G86IUaEbOotB4GrTwnVz3heB3Gz53agMnAWiEFx4hRRWkKw+mHdLz/iupuDSniJ2i5K9tt+nUfEF4DY5MpF8mvPk/lEvqWyQ50KJvgyKcxvaowK0lKMtRgOigMCUR0MGh4vhYShKHG0RG2ForCZdhOqkjACBdDHldhAUQ7ZJRAI7I/i7cbd+R63CJj3hGhN1QAVlx0hkKb4g0/oqhMEYGw5aAHCQYFFzijMA+infXv69C3/CzRhOkVvvP15b4yj2j9RB3GdFkDFZUfYU/zRuFX+h+FFyw+//s+sx2L2M27BIQmLL5u+yaUyvNfSMxy4gD6eNmBbQK7CDSIu2Q1DV+Ml0A3j0SCsvmrps67r+c1rqS6zDDOX2uAQnL70/Wy4eRTPyuDPfGzQvNy4FwbzvZM/E7w2Uqn+Y1H2YwJXn+DEIpsMjv3xnf12fpGT4g7lF0ZCjQRkOJrKdjjloQ6llT3QxRQyIMLdO35An94ShfEy2KR/9Jeo1G/75YS/o1tLMRH3kv8aI6RAK3vEWo2nWd2tWt3z+1c4RC/NFwctd0wfzRHVzbTrevx3r9nQt9j4qxecIYG8SO7pyyku/0/IWgOouMSdkHlMyLgTJnkPCZl8kaciv7Xi8L3fLlczIbmwMuMWHBtuP/El8lrX/eAwdb2DPk5nItuVDx6XDYAQOOoITZ7jB58Un+bzoo0ESJY+8ZtXHPnj25W53DV4AP7SjckNKH/qbwfpe0Lf3xSGiQil1YREvmGG+hBnGN9alP2QyyLv1JGHJuqH8rgVlDnNfQpnWxtPxk9a8xjQKCK27g/8fv9+DBUPg6G5whHGoerCnGq0tZ/293CFQ7r3fWe6Wd4Dnyz/G/zvcoHxQTvgbE+5xUG7OglbdEPvXr70a/zLj5YVZ8I0SH5y9fNeEEd1fFN0hHkANZirjB9jCYg/FEIfZ31e/ClTG6uM8Nrl85e8IQwvxW/vFVpm3IJDTvXntfYIJ0qbPOxUZSc5TXRJfEIGlRAy/asgPp72l8qXoP3N7kfchG8hlCXrAfmuPy7r6uVe+NycDgfbEHEQ3kQdIfkIjV9qld+GEHFA3bJ9D+mxaH+96S4K9tF+uBbyABUXKFNx2wWHfHVzB/UgRByIA2JjLAAVRz/syPEDtOQfoiscEoOlah9u2Tn7fJt9nPW92C+iu7/CQf96PlddMTqExj/iiX7O9wgJw0JoVVwA8CrvAO78Oht831Ff38fAwUOYz9/C/lm03pBnEo+Nw+gKWRrOh5/oBz/WfYs/cqkh/8P/XlEdebU8bzaGfCm6zKiHRuO7TlqyYWctfdeAZq+4iBDeEoeycDGRQK1P2TEwwe0P0LTWMQO4DjzR31h+xE/+PttSWctdEIyMBHF9wjwhoweDJTlLwYk6y1icbE8PSxNMQMrjHEmcztegQYbxOq6hB2E88vNYnlnU/OyX/WI1fcUch1/kpV4r2zlELoRs8Lzekl1jh37cGACwb3O5JrQFkHyCk18u0eovWjru6Qami+ZQZ6rQDsJO7A/Date3WOWqrYVDdGNMVcPJ8l8YyOvHX4eKhcPGCZTmcWdmT43Liz/GuvrO5Uff8r86SIOm5o7JWm9Z/cJVtXjiBxK/JcpXdPwx4cJ1mhLhmmp10enhYVeNTqZjP+tm1BWOjeP13xNPeV85g/dQAH1cic07nrQAfdxxctACGp5Cypfhc+uKPfZ8S9H3upqVn0EUvM2QIVFfi+7O5zr5wL/uD1YprVPz/DAT77TtNPJVwvrj8IHa2m/7s36IApu8JrM3DB5CtX8lz8cna+rX+W3sk5OTmcQ/8H42wW85WHzjvacsk7G7j/bq+atJf2EgrRMNyQuouMiW1wU93EnbnnioO/0LIaTlCWSdz5/H10ca/aB66biHjqJAP/N/Flzh2Ljm5H0ngvFr5IHh3Tt2f148ScsTwjpAD5cr9PfPmxec5l6FkdeyENqMWnDE9eg8eCFdEBhOz2QXDOQjZNtW/FiEgxfQ8BRivEjt+nDO3FeFT7mi66fQ2eeuDnn/ENBw3A5wS26cjtXRBg1vjLGywologm2GlDAc2QRVzVaDtJtQLO3afl3AiB8AFYf/Qvk2RtsSy0kRvkcxSHcSao0lfssxR15AH0dbFInhbpvuev4z7Gj69uG2sWeLKaKiN+sWZH81jnUx1721EsEu819jrlal8U/ywMVOhHavyhRaMA/yRPQt/2fUmavZE1vXnbZnXIuuldg8rd/jf/L4Y34IH6tU4lMXrfoJXvg50DJjbqlsvuOEgyfG4+diQOp7AcRNxG2Qmt/8sQU+8uR6FeMQo8ONR+UVQp48YZuQV72+dsVhN/Y4meRqMIuJ5tSMi5vsNffzxNd80sLgIQ8a4xlqlWnim+QNKyEOJ5boRJBRkLYBomRhW/vVD84pFBB38qBm/DDGir+wRvOm/jwa6sFhOloATIa0skORZzgfdldyrXaMNLxfm0/TTm5ZHA3bkuRJ9BWS4PADSj/sl9dw9HyFo0/xTxIpa09SYeYWsJdXnag/zcHYwyY7au7O6phTqXb0Q1Z/jn+5b9gsbIZQcLVtfHT0KrHt4F7thx+0KJQdj+ls58Am/wXhk5Kfpy0/4sf3Toe7Zsw6cWIM796wJEsuX4rHSMtzHhcOgLkbphfUuT/IAM7CpAeU7YIVR/3sBtaVsDcPZHyq/gaNMYD3DQdMJysXgyb+3rQYfKt6LViBXvttvy4YxCuAhmsfba9wjFSrD/EkS6hewdkCBdDHjarjxaolSqjXBYZBXQ2iMpkNrVFUj481bPr28lsIRyOjzNbUX9Co3/ZX5o082L2lHAHQEn+AGssEIndQQ6i4HBDCDm3jIHCrNWi1Six2l4m/3xl0RwHElrXH7AbV2eJBn7/wr1NIv0WU+OGzF8Sj278r1j3btwcW25/5pJ395LaYp/mMdswD4CbNoODbxOmvmM5vVs6IBUccX1gRL75J/TfpzlwMJ+umE6bgnDyzUOPANnrgpFt7nVAhK44/ufLon/+bqyxBBx7gAk+uF+mJCdDHWQ9R5mcnVGOmRI2b1gkt4ddwYAce12YGAPmxtAMKs9/3A3zVwZsul9YWyuvP5W0cnm/V1zILEuKMQJx8Pg04Jk1C4OAjNDzGt2aeO90hkicsToQOao+DtMmHUF55YISHk8enAQcbIXAx/9EpvZdHBGgBlE11cdBwpx/YGHdCNMy0T2QpUvwukpWA+SEd99C77+O/eFP63kMcv2POxo0Pf0Oe8jk5ySfpRePK3jLxs5i3mf86iL8sQsbDSuU1K4/86U3sajrgjFhwbLztylOjqP40OMi/okG85RUPnQ2kEaCPQ5AWRgrQx121AAnUj1Yevfh9KaXEuvEAB1OrAeaHxceTPnyijycMMwOJ4uAk3xfU2jfJx1nfkLc5DM1jQPI4jrYl7Vsg4VFX49PO3Zr3KrfVGPDHhS0m0AZNsGF+JPTnSnYLm+Vk8/wn73jufqQNGj6x5kS87v1g7VdtFYwGYNwrDXZiQyH0cau35pPYHwa/UBE97HzVkuY+0ccdQ178jdbKnkRyYQjzAB34Oe/j7Nw3ycdZb7GRI1R6DJJTyU8FJLxDjOBD88bVq78kvjmdfoC6nkkNeGJKG4ZO4i+3N2W9XTl35RE/vTqRO03IjFhwRFF0nvmHE0H+YGIgAfM2TCTGY+2J5/FqXRjcN3depXxteYHJaTGwiUnj4GIkkdI/nNHwB6gbcUDdClSuT6LxyUbmjZPzxPXHfvjCFVkhy1HbBQe4ZRqykyN8y0I88bdorjTMfCLb4RorwfWP0MVD40V5AqU6jCY4hr2KQaG14Hy1AbpnN+gAGgtx8uE0oLTO7BcP9bjgwLdccvzpaIne8LHqA52pN6GQcD0dBRAbeAm1nVUXuc/Gf7K+es7/OBqaF8pNZh/rNqz+wafEVvmWZWPp2X6NPeNOKLLz4h+E71x51E/lysr0l6FfcGy899hlksBnYXDZeDHo4zbw7FMHcJsaxPfwv7dhIOAY0MfJw7YqL4xHq5XgVUsP+dmG6Q/TTNQAg8D8TIgj4upjPYZt6YBBLFDSmBhu1Jm537D69tfLQ4srBmK/DAw56XW04JCHqjs4OTI2FjuLAGlpbNJ4pePQj7VMrOfJxvAOLJDx/S+cLx/wmib6zhWgrZ3ZL28z7cCnrXung1J/pj5u3cqr4aIC0Mc9lqJRs8H85ee8j095/Mfh0Lwyv50/N972O38vVyL+oK/2t+rUj7ng8mNsf77yqP/6XCv2QdOHfsFR3xq8XpJzPhwjE6n6B9DH6TQLKKc5ORKH6x+gCwQh2qCO0MdlkRhXgsobVxx1s9znLkv3HsBLv2zC4Ve+APEH/xMyFoTohzig4SnUiGkcjUbe7vUbXAtcSpUHFt9flP30EyEsk9s3v+3EwmqlcqPvY/qTEDKIA+ZtfkyAZzfYbbRg/w2/eq58cBhseWLz9reIVsupe1Zfsy+1DdoZzfQkzvZZ6MsTS+vVOQF+Gbjnku3Pl+/jWT14jI4pw8fTenlHTqEFD/anecD49z3/g2jfQs3ok/ANt534fvmw8YG+299yPHrxr1T+94qjbvpIn0zpi5ihX3DI15/OZwLLE25itDyEJlBxD8ooM4cQ6pGjuQFgA9GbXIRXaWjjbXL017sfffN3+uLhXVwIJz9OeHZ1VxYdMjv7eKt6uA98LMTZnvRhhRtXX/lBse2IVvaBTj/4uG8fbYaNxFvVY3yEQeW+Tvyx7PAbfxFWQl2cUJ6vg4+zPgt9nfL6hAwUhfXoExvWnjCwS+Gja164t0z0H4ZPWhXYg0K7fJt9nPVZyLYqJAj+a9lhN210eFcAX8DL6y8jv6P4W8ewmXYTdqVSX5g17tBE8iDPPp/m4/QzlADOQlxIxwq/V0OO4YEbbj3hrfLsoZ7wYVuefT7Nx9vaL5YnvmjwgsVaSP+6+5E3/Y/h8YZpMtQLjidWH7tK3Pcct17Qz0rA4V/6mBDmND1AI5VKcw2UV3buUD2gNMVkp3Xh1/c8+pf/QFIJe/MABxhaA29V/EED3B90lNEIjQciJxHbqruB0jeu/p2Xi45/U6z9mMhgFnY2qVWq0b2dGKpvy42D75svO5sQG2NhfRvN4pHiJk81c4GSuqfK0yUD+8S1c3z7J0Sr3aATJ3CoYnmWr6+fgz5udplNjTjkOD+Ewfc68XseTygzcdf9ubibe9P4i0ZOp3QxC9nY8BLgogv0oY/QF/BWBTqhUD/wAmf7Zmh1chVv+cbbTm77m0EmffD7Dbed8FrR/bPoGTa0Kr3abz5W6SLfoPRkfYXx11Yc9fI/bNXndNKHesERT9Tf6idc4lBOrh4UV6sfCe3ABdpFR+sE55/KczKAS7Ru2X2f8PzpDMhs6RvziM0l+MSNgliI53V0GPRjS1w5bQQBbSrZAdrEMCSEjbcd/664Xv+O2CW3VFCKsV/9LDuF0ov4J96tsqCjKxzQSvi/x9uTOO6+uDHm7KOt1Ad2k6bxD6K3r7/td87svp/uWjxx23PeLFn2u5Zv0jPGvWywlZB2E3bXA7lT+yuV3hcc8gVlNzZMV0rPwmz+q59ll/rbcLbL2l/0mx7lF7Tli7EWc8adUOPfx/EfhLXfp53DBDfcfsKp8kT2v4u9VfoCsN/2Ixc07oRwQhj+YPejjn5TGF4o18yGrwztgiOOz5ZghW+UUagrXjgXISPUYY5JBD5FEoPP4RoEJRuNkw14dAA6frBrW8AweLw6d468tvwX5WvL4Y8pFsRFY+PB3kT6UjgpG+Rk2pvcYlqtv+2kZ62/9fiv1qPg0zLi9at7tKC3HtkasNl+oWhOK4TH4/DO8LDrRjvua2FwtbRKft206SohenUv3OtEZqO21oI0HGGYhlH9Gxtuec7ZncjrhWfDrce9VTq6KK8t/ISS+MvhSgTubAX0cdZPAu9dccR/r56kvscqeg/QYk2o85qjtbIn22nRFzjkMcUn0adpa73TgqwunR2zdZ790Xmb15yoL9TrTFbxXHJl43eienSZrB/n+pr33rMvpU38w/gnu++512vD8LPulzN777WolkO74HjiF2tfJg/b7APDO1owOL4Gfo8Guq1IHMQCBgsPXcjE43I38DUrj/h5z68kVvnlLvFAEjNvkrRpCCwcREAdniwC5VhpoGPD8pHQx1kv1dNcnrzlhcs33vqcVz5x6/HfCKKxO0T/1w3WfvjCinzCvJF4J3Dlwf+9Rbz69Va8OkaksrU9jINB47eJ0ccthqan1M4R7D823Pact7Xqt1f6hluOe6/I/pz0LXOb9ZfC7qWaDe3tlw9CU/smAD6PMu8Jk7yHHcj9VvlPO2EfcUAfR13xpRoF8q2+yeOf6iX6qK0O0m7CNvZLbJZPjE98oXirOuth423HHS6vcLhSbFqEvLHcSWFqN+MyNfsb5YW3jcSLXznsv/NV9BW2ziKVwyUhOa+ZjEBx0KGWOCBKpl4vhwgNMKda+WWlEVbiP9zz6Nt+Ykzlvh8eSFwuA4+/aQO5FhLQXC8KESM7xlxjPHbc9NscKk8iBxjH1fWrn/OGoC5XcatyQQxF0AAooJYsgZWOP3OYyIJMFMj15FfqMpmEoXyqimSr7C56HFsPR4+QD8S2eIcdfsoVaD/Uo28B9TgIblCki10lqP5bPai9BU3UryLKJstm+eBJYqcNQJBNbEbRug7slzdzVMVnn5NF2tmVMH7/VL8Rtn71CccG9egf5WHyF6giTh+85xTfEND3nUI/hwNqwWu4wetex92L/eL72vw5wcUmsMc9sgeqyNZp/qOnbPzNFpOF+ib78bBIgSWqhhsCuYzCHDF/iv9hmBSzrT/j3wl81eO3HPfJPZ69+L1heF3RF3C0y7zdptXHHzBRi6+WPNoNMRiU/S7+6xbOqb508RHX6Q9E5uk3LLShXHDgMtnOndvOwH1NDig4zHCZQFw0ccmTtPx6aS8VTHYdzaAkyY+JKP7nvY5Z/Xm0L0v/PcBYEWYnoGyPFk+Lu9a5E7YfM+BO3py4Vr9E29RsgaAnlBrizhMK4i0fH5Ocqbuccfx1mwxDgdaf7OV+iE7cINTw0TOF8tNUMqdo3gjRZEUuT5UPOydKUddvQfaLK8wXBoNowdwFP0z06BBZcfR//eSJW46/Q8bCoVSdUCdPyLHzhQDzLSBKU7yUqFW6o92Evr5gkOOXisRT1t963MVBFH5596MX/aTTE0e85uy5G8YeeL4s9d4S12vnqivE+dqHC4L2qycAsyjbvy1AzCboQ7sJYabik9gvi5zLFx9282No33ORHyNT30q+UEeVxVwXiGL2WMxxTF5AFLUHbZwlWfsloZWvqN28BSMbdo6mV/QZd8Ksvlk9wEcerevM/gvW3zr67A23HP/n8hMUXX0tGeeasfHxl4Rh5Qj5APNb+Xbip7I6tTtef8ex+0yMB9eIy/WKvHO9NqPdhLSN8crK7sX+kcrI+YsOf/n6OH55savJrLIdH/+tfEazFf1QLjjGdm5/g2TdPLPHjfQ84zgrEGZmB5IJIYmnChUXBj/c65gVf5onuqT17gGd0twE2CxFplUNKeOK6FhkjJd0g1bD05vETxorzZfv402fWDFJY2I26dqbHCQ54fCGCYDM0iR7hcV1bipDc8dLaL1Mti/U/usXHXrDbybrfZI6vAnRJtsB2y+fwquy2HibePNtG24d3fL4L4+7RmL233Ll8fGoHj4ezqmsD+tRRZ4P2LMSxHvEUbSXROa5T4zf92IJ66LQWx/qlQpLEDUVphQdf5lM5dsw/SouUTXRLM38OWvK+c/E75e6GTmLD9p7485b78NwaNFTYfl/knwYkIXzcT+X24o/qFbCm+TK2T2VkeqmJavqWzbfvmDxRLxzz5Ew3GuiHu1ViStHSq6cNj4+fpxMGRV9ZicIbhdzul5wBGPBp6X9ARlXtDjsv/31qHbD+luu0P6Y64AoufkvdAZHhwr4wJxT2snLadJECoMr7hLiIagYygWHBO88m8BttUv3ICmAG8REYjggima50lq6T3kgQ9junT9/0TmdfprSDspdhx6owcMteEl3MZNU109lnGBd6NJzXmMONAttHDL21XwMapOPvQ4617CR24h+tii/kK21yyk5snzUzFGc9klPDfrTFta7bj1AyQaz7Wk3IXrkWPCEeGiDRf/hVXSFrpy7/+eeGLvvL6TRvpQIATqmEh2Kt1+uFuA9HfKVQtnsIlQQT9TUy7iihBnA9JM9EHfkDkRfi+Cg4i8K/OceR998HTSZWrEraYw7YZfxb2v/1HRs3zoML62v/+Wxj0gUnp7PXWj+46V3x4sTjueFyXCiHuy8BV6056InXCZFyCTNn3wtu6HKFc8ljbfsbE7Il1Gs/YPO/+z8lTf/0WL4Y+guwWy87cjDZZI71oLFjAD0cVfrRiUmRZuUhSsdqcbk753lstjYKpehzuz1JT2+yBLP9wASMfcPscJfi5jxRA1oOAev5QDaIhf4h0OlGVnrQLN8Ma5GfkdDnmiueBCSHK2VftqXp0G2f62HyFZ/sBt/gNoX1FCFobSz2WB39ofb51QX9vx7CeFhl45L539nurTWD7qjACrubFWyh7O+CRZmvyplO1URO6ejg6avo8Hn6ncPgs/RABkXQhGokgghSZ5/+Wsc96tYzHuJv2hAuwlVWxyYzdgPqNyQ9pjB4Ff8tfBv4fa7/jX2gqvTCHt0ji42KAo+1v+M3Wa12T209ltcNF9axAdWodA6HCoNZA9nvUFtoruhW3BMTNTPT9Uz49QSmOUSo1WyGh9aO+uzUNrjl/MqYXjuymNuuSPtp8QG5gEudwGxIVSEOQkLvTShgaA0pkTalvLAA5ylW/6mDiCIQoA6HNDH2V87SN2oL8QBB4RI2ymk3YQqGnwojp9tK9Xgc8uPvFG/kmgM3e93f/aSi0XeOmvJDnDEToE6fMjsVz/4vjUjUtVpDn1N/4OP7bQNbWUDEEkD6nCBcu3pypXH/OwmbdaPnYjuNf4d298PPdvJiOPrW7LQ1/Q/3AkccBD2sy/2D0WBD6qwL/Y/dPZDIRQXkARXRMiuvsfxP1QLjjh+4Ugchee2NNbZnILJnZP1jS5UovCv9zh2td3wSgWVWL890CIhbdGIvJWpFTwy8Ah9PKknXyJP2gBvMSBUFmrZTm7Qmnz05doSksdBv23iDu1LBVq/mChA44SRhawD9Ns6gX4fppfpSnk+TXGRQWjyKFeg+kBVmQirlY+6LnoGuL0orvkT7Y9SfBuAD6H99ANUpu6AihcV/0owFo5U/pRu6gsU35rOBhWnHfA9Nj0rM/aAKITWTilsl7Vf+YvdhXPCH6uuqi/Um0w/p7MbR4XbD13ajP+evMN5QOU7m2k3oZLNF7DTt3Uq47+r+Kt+ogMgdXBQ9fF0VD+AD8XxT3X8D9WC47c3rz9dkmEvBiML5ROFBgnQx8nnOxC4PtrhIHDZvrr3c371YfNguR+IBzIJi3GpsRGguMZSiahooGk94oZq7BTxoKD+IPFxqcovvgzB9dBBv4qN3XATzaCdFUI9ytjXQMNBpl77QE5KlfWX2tyz/WHwhX69Q2aPY395hbwaVd6SaIW2DrX9omoyBzjcqd8M/CALrocO+lVs2Mp++XHHD+1+5C/wMFwfS5oL0MXXzUsYJo726+e8j/dRqa5FqV9C9wOCg8h/0bCf8e/aYDSAnb6tFOLTBNeYOmj5lsZcBFi9g4XE3zq1HBLc78OvStR3yJTHv5MzVA+NysLzPHw5jIbDSOAc9E7nlkCWI9rCIBsKTcnhL/bee+lbWzYuKwrygMUkjSIjalHGRIH7tpwsVQk0YSFOCLqHN0qTOqwsMch1tQlekU+aa8o2cpj0zXvHyB3Vx3VCPKlvo2+W35Rt7DGlQb0p2h+G6+fOm/cB2NKvMm9R5T07tkXyeuZ4j6w97fTN8qe2Mmj0BWAf7IcM2UwaEMEKjr8sNn658tlL+vqbMPqlWOiNQlf5eB5N6hu9CcLk9kPkIIpo8UNR+Q1pdGhAo8bt8inxBZtDeQ9vlCZ1bexHU7aBKM1XNwZx3EtB7KjUrpD/9Fniq4Z46KUA9avV0+N2NDRXOLbcfOzuMtm/EoFDEmLDxEGoOAILmvsjDqgbUgm4phTTCu4Jfjt3bvWs8Ok3Ja9wTpxVIgV5AHFA/CDeoIaJuIuhRQknXYsauIGzEGd9FoKPPMA1Xxz0cdTlF1VQqkxf4yENR8St3vpqrW+Wv2j7ZQC/v98PPy991i+eEMPf1eiL4bQfOg42/uEOeRXc+f3+dhsmYtpB6NsGWt7m8wD3c97HUTfIUqniq8Izdfx356nGk2jjfFH0+Iemfr74Mffx1hY16mt8pOGIOKDNe4Tsl7CxrfHTfqsbom+pbI+2nyvpqb89kYwsGKvWmPKNBuEIdBTWZyCsDYNx+bnu16w8avUjxlvuB+EBiaX+IX7AkphaTIQoNMvGFEIxnya4tnVQj4gD5mxIF9ABfZy81gXyxIo/KNmOMK895RBCCnAW1Rc091ek/dLLFbsfc8uX2Hc/4V7H3PJNuTL0YfqC9mYh+pwu+7O64NiPmY+Tt0lfFzvW+218PKkPg7euOPb/t3etMXZVVfieM3f6VCxtZ4YpD1tUhLRAOzNtobwMglhNeBiRYtSUABHjDxOj+E78YQw+0R8S+SMxEiQSFDUgjxgaUAq10047FJGBQqEPoEUstPIovcfvW2uvc/Y9c2/n0XvPnal7z9zzrbPPfq1vrb3Pvvuex4YmvDPFWc98iYiP+JND2TOZWOPjt9mXLa2rpekw5/QNj8IYDzXT/00nH32dfdnSHNr+emvyWMnBKzjSLGIv7ImtsJ1c+o/cf4xHw2F8Uudh+mf8VE/OJGnLNquphJjKdSS2ROO0TSabspKaaSWXpE7VZTkSktJ1XcseH9PT5zRj2DaEAbEpSiLyo6NAOgERmyLObCod1NIxLYMhRS6ZOvRlicRmWIf34jSN8wvzGinOtQvysPYwv+nAAlz9gpAlu0NtWVVzmdlVCzS9DGvV58WlelvBUr3uxHE8VJ5V/qwW3pxtx5JLvg3V/jwR9afti7Y/6vt+R8/G25vBNk9avu+J7c3uhp79x69/c5806nMDE/2wWf4/fv0P3f/99o9axuPiaSIzk6Hkb1L/b5b+vg9avzcUfWDUFNkHuePQ9DaUdKa/7EyQFY6X1y1cjA63mA2lckSRcVIwtGmFIVKqsg79vCxDyomin3Uve+IWp2uAohjgmMZ+7fftenXTcAxENXaGUgY2KapdOYiZjekPIhOZUP4tT67MUZTPprD8usGOEV07DNkOqd8hZQmGtQodh/542uTrcVy5bPb7+vfWKrJRcXzFdTTzXbhrTJ7AqMVSNwbRUbkvWn+/PrE62mJ/TbN/FP0Bk42GPnNDiXTbovy/uPlGae7ijfegM29J+0GVwp7eFIvSn+5r4wDltK9ix3yb7RlLcJPFovp/S/zf+DCOhLex9/8JscLxTkmfvSEGg2JyAskpRJJlbHYoPgNDG9rTRw0x63qga+mirxhPAVvFgDtByahjndohbKmdVNG3/2hb6+bY8AP9g/eIRJQP/YgyUWTuMq5OECfDMaIvu+Q8sTEQVc6QsRoMNWUWh/hce8aqP75M7Eva4pVzFm/a4iprKnSc/PfXZ8Qx3jURbVJtWqt/Xtli7B/d1TntA6vAgW/YfFMOax9PyIRrOG4P5Z+5Wsalf66MZu2SL7z78FtaPnUTJTOEnmP1/3xbx6X/GPjN11d73+lWQP/P199w/f0xz5ddxTrm0ZLZuKdxxgETUrbgyxNghSNZ39sOr+O7U9BCfAwpy/KNQ8iimENVUhU31QxhhKdnTGu/go/ZtbiARTPg7CnVUq4dfJ+mTLsaUtZSDFmGykSRnb9w4Ko1YFvNmho5+G2EOeVbif62mE5SJV5zZOVZuVqCtlfb6LcdWV3Q/NY+jbQ4S5OhX4bpbUhNtVZFELMviaOPdi0ZKPTNxu/u2bh76rTp5+P80a/tbY3+yqLjwphpsv2h7x2dPbMulyexZmZruMRvfmZ3w7z9G6F/wxs+QoFzlwz8EX7z83rJ1J+y+T11bqb+I/X/eu0cfbz1de25ms/ihpcy0fT3x1CVYRHvnKztHX//b/kKx64K3gqbVHiHiljDUHecoaiwnVAc+sSkZsQxzEdeS8rli2edNnhYT11MywzCuBigfeQDu6ZYw8a+HSnLYOOQcv7DE7k5vZzU5Usn/INoX0ANXX4qkJYDQWQiBR5zKLJrI6e3MsWVtjgdqBP/DF1axlnI6zPW9GyK8UDZ+zwfJ+3nFT3ZML14J0w5af8wGvRwi/QXLoq0P17+9auO3pOubPQdKcapjxW+Ldb5vaFn+9QPDld/v86i5I6k/avoIY9ZPzFk/dTV0PQ2bIb+7OtSLpECgqHuHd42r08D+3/h/t+o8U+/4imvLZ9wJMnB1ZmJbeAm1vowpaXxZZcWjy3H8U/P6338nzwaQqsYwMvb0Iv5obkMKctg45CyJlEUmYMus/GkLoNRhpKbpmYpLAMfjhmGKnOiwDjNNxztmObDVvITfTktX9qigxLbxbJTdPX49VFX1tlQ/UulB6eX2ns7+vo3oMqWhdl9/Xs7e2afH8XxjcIDWiK6OjS9Dc3uhqQYbAvVRP6JrR2KLNxpuSxHcjhUmeojJ4vBR7l3dnHt8O3BMqo/zJflt7KIqRwlb2Px9wudvYNXF7VKGmMkLkJ/sld0iPr6D0wptX8KFL9Cm+s/pYlm//EzYz7WlP5PRydpZIzgkHJT/N8vHxVIPUD6J+tLkS3BQcYdSn+9pBaJEFo64XhpcFEX3rS3UpRAY8QBHYo7QpkUPcXS9F6cKh5/s3v50N1ULITWMpA5oHNKGI2OSu81pMx0hiIjjSE9mYcNfVk9P0tr9VFryU8BQepyqLKrH56FlEyCYKh7/lbqZAok0Q/bTFnbzjIpE3253nFmlnZoIZKXcZZedUUFKA8J38At3d/o6p39kaP65NkYftNaIvPbflfvpi+jeTiBJK/7Ovuy6ePHmd6Gprch81Trr5xrXLWs/Cj3lkfyi61QjgtSF2SiyiPYPyo939YWn9PVt+mXVkYRiAUO8QHTJdOPjVfdSY/J2fGMs9HpX4Q2w+vAZPX59nLblVDyzQlt/+FNHzkGF+CYf9EGlIm+bMcRqX5IY7o0hmI/lzezL6pvqP1H8P+ctmwmg2sucOzj34RZ4ajsf/szeNNe2YyjijkNRc38xo4RfZk2iW7rXv6vH+RzhP1WMaA2kk4EW43axr5ZRcbGkIL0AId+b6ijptbPbNoGJrM4X86OWzpWmnXOdMBALGULVla9/Hp87PpjIv7XqNR+amffphuKWNI3fUaLnX2Dd5SiqUtA0b3M02j9xeZmd8Mm2h8a8Ar0m6dNKS2eu3jTutHy0PB0oisJdR/RmbW4iAb4P0trRZizZOCBtlJ5JZzl9br1F6C/9Vm2wWTrp3XbNcKBye7/9dqvY52OgzbuGeb5Mw4N6bMqZ+S1dIUD126sRouy1phM9DuW62ymCFFkNxvEbdDru4859uqsoCBNXgb0Qs5SiejLtTUyh059InVyN0BLNs/HahdTN9YuKJWLzfiLHYLF1c10GAfwg8wjUdR2UdfSzRd09fU/cxhFNT0r29e1dHAlXhz3SVT2QmMq9G3uy7VLb4T98WVlY1spXtHVO3hd66/98nX25ebpX7vk5sR2LB1YE5XL5+KkNVS7Bl9nX66duhH2r11yq2J9nX25dnuarb+NdY0a/1o24dj52Af7MG1YpDTqyQH72OVW/3hM4zRVfptgHRKO++KUg/Gl0YI1b+aPh/1WMuBO+P7E0SaKDv3OkrXUlg+Iej2EoaaHR1iZ8A4NhlkpqSRpsUd09RrWqt+P8+W0vJzgp1E51z5r6yHqhxrv4KT3p6gturBr6eNnYTn//lw1E3q3q2fznaUp8Sm4aPc7MNlu44G9V3g3HAX/tLWG5tsfbRvCe1Gu6ew7eencvs2PTQySm6v/O6UCH8RRh9DOJQMD0fS5PfCO3zCJ9SFN3lz9pS7nh1avYZ3mjiqaZWg5GU50/ze9DamoyURfrkeCn0Zly8cx2ev/roCWvbwtOXhgNZvkB/+CG43HUo4MQJoSHLjfx/Qo0r+FC1Ium7viqR1+OUGeQAz44wealdsVp+YSnTmuympnasF9Oq6iiCo755F45xdMmaV1PoMYudpajml55kcaZWW7AiXSl11GB5zpq5/atw9OiiibZtXp02h32FLhjaxsNS8C/W1pWunWrlMHX8rlnFS7x5y+eT8a/L3khTN/8vKu164Cq3gGTrKgnv7GA+2uNlfOVVY7kQC1u9kIEWSNmZ2JTNZ0zGFpNQG3w+xfivqxonFDR98nfs+Hm5VKzXtSOVs0uqADNfXw/VP1Mp1Q0mHq37IBP0dC58I1+xD1uV3rF94SR9GNlUpyOpM0W/98+Xl/yTVzVLu48YEtr53Woh3mdv9/xj/HTkv8Lxl6/9Sdeyq8gAgOxgHbDQ4C7HjaOnUOr7PJKEOTaYI4jj5/zPKnH61t6RDbSgbMpmZfIoOeYDKbj3S8pg7OP3iME1J4jCD3h5XP4/Qz/KXHXZxE5DZS3iHS549LsQnK1uKH1+/8G77Ka6eextntMTyW/L4ZUfl+Pt8iV/2k33UvSLwpSS6/eff6Jy+CbVZhQnYJOvpRVG6YfRw/9fyjJiHjsD++mLwIL/gdVpFuP6ZncK2WOxEmGpmG2XiX9Y/sqCeNQ3/z/9avb3h6QOzu2/Jgkny356X+O1fhJ9QvJZVkmY0J1Sm9vcPQ38YCYqOCcDtC/6/n36ZrveM12+g1XcajSTD+mR4tmXDs2H3wYjRgNhtRbXhjUtF8wtBPj1nxT7uXP/NrxoUwcRkw+xqypb48Ust1ENZvPpKWrsHO7VyFZcmu5yTV5Vf7FMtDA/RbsorptyrsMkYhRT8OstVNlIDljTh+Az/v4Se96A0Utg9ZdwJ3YBDZjju1t0Xlts1JW7TZrQJYxiMa3e2keLR16Z7k2Q9Ne/nfe1biW+ylGCDPgX0WjFb58dof+WjILcCHYIs7O3suX6OrGaOtufB0qUf5NY9X/6yMan8u28w4S9ByydnlNjTkthf7TzsjqhzEzQTRJeiLxzVaf5ZX1f9L0au4ruBhfBG4v9xevmtcZKBMf8ypJdeKG01dTdcf7mF1aHuq/aU6DnvCn0MA9bJJk6atwYWQrkdrOrllbBZuXzv/bgwHHxvW+mEVUnnTkAdVxqB137wz+z5e1D3yw5oVIgIDgYFxM7B7fW837o48C9357EqSLER/PhED1wlYDSnLNKGqy2OHk8l00Ko5JrxZiuLnkHBrFMWb4iT6G27BfOToJQP/GXcjQ8aWMgB/iF75x6K+g3FyLqb0y9CYZbD8fNgYYpWDYN/isiNMwWBHkijCs1VKz+ILwBB85IlSnGzGz2ob5vQMPokTJpOFUAADZpcCqtIqdq8/pfvtt994ARZuy7xBj9nSOJEhv1xEP8Ptgk/NmPGe5WEwUc7CNjBwJDCAn2DaXhwYOj6qHDgRPz4dDZ1morPPEMQr5JK4UsEzSf6Lycd+DA/7S23xfuzviduirXNOH9gZThpHghccWgeulO3Z++oJlQMH34s5wjxMRGZiSgEfiWbgiVI8acA3nH/QV+LSPlwUvKcytbKjc9Hgy8FHDs1vEUcLn3DsWDv/eiytyvMyWDm9JG2Ere24bzP55Ro84XBvnCRnzFvx3JNFkBPqCAwEBgIDgYHAQGCgMQwUflssVkdX6zRDVzFUVmX0an/EYOrqyzyKOQie51a5Mkw2lKuwDQwEBgIDgYHAwGRioNAJxwtr5y/HTOIUWdbAfEN+OnGoP6doHFc8dNVDLwhkLPa/fvyZ2/4ymcgNbQ0MBAYCA4GBwEBgQBko9C6V6GDlKt5ByAmEBu5QdtMLd3EYf0qxIEej6NZjV2z7kcUFDAwEBgIDgYHAQGBgcjFQ2ApH8uz8aZg8XIEVjowhk4m+bCk4D4lK646dF19rUQEDA4GBwEBgIDAQGJh8DBQ24dixq3IBZhWz7A4UUmUrGUSVM+TKB6J3YZZyWbTgufDY8snnW6HFgYHAQGAgMBAYSBko7CcV3P/Me+7dQ0L4KGgGPlGPsv6kIlHpJnqrPU4u7VixfWcaFYTAQGAgMBAYCAwEBiYlA4WtcOAWk6VkyFY1KNuzfIj88FiGlWu7V2xv3Wui2cAQAgOBgcBAYCAwEBhoCAOFTTiSKOHLeqoWM/xbX30ZD2j58XFn7ZA3CTZEy1BIYCAwEBgIDAQGAgMtZaCwCQcuydjK6zfkeg0i/hgMReYKR6l073FnXfM1ORg2gYHAQGAgMBAYCAwcEQwUNuGIytFNmE0c0Ks1ONmwu1UMufiRrJs5fdqqCf6SpSPC8EGJwEBgIDAQGAgMFMlAYROO48/YPoRJxvX48DGiAF3tMMTu2plTZl44u2/r3iIJCHUFBgIDgYHAQGAgMNB8BnTBofn1pDVse3jeBaj0i5hynIe5x1t4y+Mz2P/F8WefdEcUrXknTRiEwEBgIDAQGAgMBAaOGAb+B5nwCpLPLNx7AAAAAElFTkSuQmCC"],["fxFlex","30","width","295","height","295","viewBox","0 0 295 295","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M182.629 183.635C213.842 170.774 228.719 135.046 215.857 103.833C202.996 72.6204 167.268 57.7435 136.055 70.6048C104.843 83.4659 89.966 119.195 102.827 150.407C115.688 181.62 151.417 196.496 182.629 183.635Z",1,"fill-color-0"],["fill-rule","evenodd","clip-rule","evenodd","d","M169.522 122.093C171.059 115.241 166.054 111.136 159.022 108.13L162.04 98.916L156.431 97.0797L153.493 106.051C152.019 105.569 150.502 105.104 148.995 104.643L151.953 95.613L146.348 93.7769L143.329 102.988C142.106 102.615 140.906 102.247 139.743 101.867L139.752 101.838L132.017 99.3019L130.057 105.293C130.057 105.293 134.224 106.57 134.131 106.624C136.402 107.369 136.71 108.93 136.552 110.138L133.115 120.635C133.271 120.687 133.473 120.761 133.695 120.869C133.66 120.857 133.626 120.846 133.591 120.834C133.562 120.825 133.534 120.816 133.505 120.806C133.375 120.763 133.24 120.719 133.102 120.675L128.284 135.38C127.95 136.062 127.157 137.065 125.569 136.548C125.62 136.635 121.492 135.211 121.492 135.211L118.184 141.544L125.483 143.935C126.298 144.203 127.103 144.476 127.899 144.746L127.901 144.747C128.431 144.927 128.956 145.105 129.479 145.28L126.429 154.6L132.031 156.436L135.051 147.215C136.579 147.75 138.064 148.25 139.517 148.725L136.509 157.902L142.118 159.739L145.166 150.437C154.773 152.984 162.15 152.77 165.87 144.183C168.867 137.27 166.555 132.99 161.623 129.952C165.417 129.361 168.406 127.109 169.522 122.093ZM155.149 139.449C153.059 145.84 143.068 142.413 138.496 140.845L138.496 140.845C138.085 140.704 137.718 140.578 137.404 140.476L141.449 128.129C141.831 128.254 142.299 128.395 142.829 128.555L142.829 128.555C147.571 129.985 157.289 132.916 155.149 139.449ZM144.22 122.79C148.031 124.108 156.343 126.982 158.247 121.175C160.192 115.234 152.086 112.815 148.127 111.634C147.682 111.501 147.289 111.383 146.969 111.279L143.301 122.477C143.565 122.563 143.874 122.67 144.22 122.79Z",1,"fill-color-15"],["d","M158.075 173.411C189.288 160.55 204.164 124.822 191.303 93.6088C178.442 62.3964 142.714 47.5195 111.501 60.3808C80.2885 73.2419 65.4118 108.971 78.2729 140.183C91.1342 171.396 126.863 186.272 158.075 173.411Z",1,"stroke-color-thinest"],["d","M259.352 172.363L85.4595 244.016",1,"stroke-color-thinest"],["d","M122.291 259.352L85.4593 244.016L100.795 207.184",1,"stroke-color-thinest"],["width","225.692","height","225.692","transform","translate(0 85.983) rotate(-22.3941)",1,"fill-color-30"],["fxFlex","30","width","298","height","300","viewBox","0 0 298 300","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M248.333 237.5V112.5C248.333 105.625 242.746 100 235.917 100H37.2501C30.421 100 24.8335 105.625 24.8335 112.5V237.5C24.8335 244.375 30.421 250 37.2501 250H235.917C242.746 250 248.333 244.375 248.333 237.5Z",1,"fill-color-0"],["d","M273.167 212.5V87.5C273.167 80.625 267.579 75 260.75 75H62.0832C55.254 75 49.6665 80.625 49.6665 87.5V212.5C49.6665 219.375 55.254 225 62.0832 225H260.75C267.579 225 273.167 219.375 273.167 212.5Z",1,"stroke-color"],["d","M6.20851 200H24.8335V150H6.20851C2.73185 150 0.000183105 152.75 0.000183105 156.25V193.75C0.000183105 197.25 2.73185 200 6.20851 200Z",1,"fill-color-0"],["d","M31.0415 175H49.6665V125H31.0415C27.5648 125 24.8331 127.75 24.8331 131.25V168.75C24.8331 172.25 27.5648 175 31.0415 175Z",1,"stroke-color"],["d","M161.417 187.5L142.792 150H180.042L161.417 112.5",1,"stroke-color"]],template:function(G,Z){if(1&G&&t.YNc(0,Gh,1,0,"ng-container",0)(1,j2,18,5,"ng-template",null,1,t.W1O)(3,Id,19,5,"ng-template",null,2,t.W1O)(5,Zh,19,5,"ng-template",null,3,t.W1O)(7,Qf,17,5,"ng-template",null,4,t.W1O)(9,Wh,13,5,"ng-template",null,5,t.W1O),2&G){const Fe=t.MAs(2),Lt=t.MAs(4),ei=t.MAs(6),fi=t.MAs(8),Mi=t.MAs(10);t.Q6J("ngTemplateOutlet",1===Z.stepNumber?Fe:2===Z.stepNumber?Lt:3===Z.stepNumber?ei:4===Z.stepNumber?fi:Mi)}},dependencies:[on.mk,on.tP,Xi.xw,Xi.Wh,Xi.yH,pe.oO,ar.$j,ar.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:[Dd.l]}})}return R})();const el=["stepper"];function K2(R,z){if(1&R&&t._uU(0),2&R){const b=t.oxw(2);t.Oqu(b.inputFormLabel)}}function qf(R,z){1&R&&(t.TgZ(0,"mat-error"),t._uU(1,"Amount is required."),t.qZA())}function E1(R,z){if(1&R&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"number"),t.qZA()),2&R){const b=t.oxw(2);t.xp6(1),t.hij("Amount must be greater than or equal to ",t.lcZ(2,1,null==b.serviceInfo||null==b.serviceInfo.limits?null:b.serviceInfo.limits.minimal),".")}}function tl(R,z){if(1&R&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"number"),t.qZA()),2&R){const b=t.oxw(2);t.xp6(1),t.hij("Amount must be less than or equal to ",t.lcZ(2,1,null==b.serviceInfo||null==b.serviceInfo.limits?null:b.serviceInfo.limits.maximal),".")}}function bm(R,z){1&R&&(t.TgZ(0,"div",41)(1,"div",42)(2,"mat-slide-toggle",43),t._uU(3,"Accept Zero Conf"),t.qZA(),t.TgZ(4,"mat-icon",44),t._uU(5,"info_outline"),t.qZA()()())}function kd(R,z){1&R&&(t.TgZ(0,"div",41)(1,"div",42)(2,"mat-slide-toggle",45),t._uU(3,"Send from Internal Wallet"),t.qZA(),t.TgZ(4,"mat-icon",46),t._uU(5,"info_outline"),t.qZA()()())}function Fl(R,z){1&R&&(t.TgZ(0,"button",47),t._uU(1,"Next"),t.qZA())}function Xf(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"button",48),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw(2);return t.KtG(Z.onSwap())}),t._uU(1),t.qZA()}if(2&R){const b=t.oxw(2);t.xp6(1),t.hij("Initiate ",b.swapDirectionCaption,"")}}function nc(R,z){if(1&R&&t._uU(0),2&R){const b=t.oxw(3);t.Oqu(b.addressFormLabel)}}function T1(R,z){1&R&&(t.TgZ(0,"mat-error"),t._uU(1,"Address is required."),t.qZA())}function Mc(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"mat-step",15)(1,"form",16),t.YNc(2,nc,1,1,"ng-template",17),t.TgZ(3,"div",49)(4,"mat-radio-group",50),t.NdJ("change",function(Z){t.CHM(b);const Fe=t.oxw(2);return t.KtG(Fe.onAddressTypeChange(Z))}),t.TgZ(5,"mat-radio-button",51),t._uU(6,"Node Local Address"),t.qZA(),t.TgZ(7,"mat-radio-button",52),t._uU(8,"External Address"),t.qZA()(),t.TgZ(9,"mat-form-field",53)(10,"mat-label"),t._uU(11,"Address"),t.qZA(),t._UZ(12,"input",54),t.YNc(13,T1,2,0,"mat-error",24),t.qZA()(),t.TgZ(14,"div",26)(15,"button",55),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw(2);return t.KtG(Z.onSwap())}),t._uU(16),t.qZA()()()()}if(2&R){const b=t.oxw(2);t.Q6J("stepControl",b.addressFormGroup)("editable",b.flgEditable),t.xp6(1),t.Q6J("formGroup",b.addressFormGroup),t.xp6(11),t.Q6J("required","external"===b.addressFormGroup.controls.addressType.value),t.xp6(1),t.Q6J("ngIf",null==b.addressFormGroup.controls.address.errors?null:b.addressFormGroup.controls.address.errors.required),t.xp6(3),t.hij("Initiate ",b.swapDirectionCaption,"")}}function zl(R,z){if(1&R&&t._uU(0),2&R){const b=t.oxw(2);t.hij("",b.swapDirectionCaption," Status")}}function A1(R,z){if(1&R&&(t.TgZ(0,"mat-icon",56),t._uU(1),t.qZA()),2&R){const b=t.oxw(2);t.xp6(1),t.Oqu(b.swapStatus&&null!=b.swapStatus&&b.swapStatus.id?"check":"close")}}function ja(R,z){1&R&&t._UZ(0,"div")}function Q2(R,z){1&R&&t._UZ(0,"mat-progress-bar",57)}function Od(R,z){if(1&R&&(t.TgZ(0,"h4",58),t._uU(1),t.qZA()),2&R){const b=t.oxw(2);t.xp6(1),t.Oqu(b.swapStatus&&b.swapStatus.error?b.swapDirectionCaption+" failed.":b.swapStatus&&b.swapStatus.id?b.swapDirectionCaption+" request placed successfully. You can check the status of the request on the 'Boltz' menu.":b.swapDirectionCaption+" request placed successfully.")}}function vr(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"button",59),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw(2);return t.KtG(Z.onRestart())}),t._uU(1,"Start Again"),t.qZA()}}function Jf(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"div",3)(1,"div",4)(2,"mat-card-header",5)(3,"div",6)(4,"span",7),t._uU(5),t.qZA()(),t.TgZ(6,"div",8)(7,"button",9),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.showInfo())}),t._uU(8,"?"),t.qZA(),t.TgZ(9,"button",10),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.onClose())}),t._uU(10,"X"),t.qZA()()(),t.TgZ(11,"mat-card-content",11)(12,"div",12)(13,"mat-vertical-stepper",13,14),t.NdJ("selectionChange",function(Z){t.CHM(b);const Fe=t.oxw();return t.KtG(Fe.stepSelectionChanged(Z))}),t.TgZ(15,"mat-step",15)(16,"form",16),t.YNc(17,K2,1,1,"ng-template",17),t.TgZ(18,"div",18),t._UZ(19,"rtl-boltz-service-info",19),t.qZA(),t.TgZ(20,"div",20)(21,"mat-form-field",21)(22,"mat-label"),t._uU(23,"Amount"),t.qZA(),t._UZ(24,"input",22),t.TgZ(25,"mat-hint"),t._uU(26),t.ALo(27,"number"),t.ALo(28,"number"),t.qZA(),t.TgZ(29,"span",23),t._uU(30,"Sats"),t.qZA(),t.YNc(31,qf,2,0,"mat-error",24)(32,E1,3,3,"mat-error",24)(33,tl,3,3,"mat-error",24),t.qZA(),t.YNc(34,bm,6,0,"div",25)(35,kd,6,0,"div",25),t.qZA(),t.TgZ(36,"div",26),t.YNc(37,Fl,2,0,"button",27)(38,Xf,2,1,"button",28),t.qZA()()(),t.YNc(39,Mc,17,6,"mat-step",29),t.TgZ(40,"mat-step",30)(41,"form",16),t.YNc(42,zl,1,1,"ng-template",17),t.TgZ(43,"div",31)(44,"mat-expansion-panel",32)(45,"mat-expansion-panel-header")(46,"mat-panel-title")(47,"span",33),t._uU(48),t.YNc(49,A1,2,1,"mat-icon",34),t.qZA()()(),t.YNc(50,ja,1,0,"div",35),t.qZA(),t.YNc(51,Q2,1,0,"mat-progress-bar",36),t.qZA(),t.YNc(52,Od,2,1,"h4",37),t.TgZ(53,"div",26),t.YNc(54,vr,2,0,"button",38),t.qZA()()()(),t.TgZ(55,"div",39)(56,"button",40),t._uU(57,"Close"),t.qZA()()()()()()}if(2&R){const b=t.oxw(),G=t.MAs(2);t.Q6J("@opacityAnimation",void 0),t.xp6(3),t.Q6J("fxFlex",b.screenSize===b.screenSizeEnum.XS||b.screenSize===b.screenSizeEnum.SM?"83":"91"),t.xp6(2),t.Oqu(b.swapDirectionCaption),t.xp6(1),t.Q6J("fxFlex",b.screenSize===b.screenSizeEnum.XS||b.screenSize===b.screenSizeEnum.SM?"17":"9"),t.xp6(7),t.Q6J("linear",!0),t.xp6(2),t.Q6J("stepControl",b.inputFormGroup)("editable",b.flgEditable),t.xp6(1),t.Q6J("formGroup",b.inputFormGroup),t.xp6(3),t.Q6J("serviceInfo",b.serviceInfo)("direction",b.direction),t.xp6(5),t.Q6J("step",1e3),t.xp6(2),t.AsE("Range: ",t.lcZ(27,32,null==b.serviceInfo||null==b.serviceInfo.limits?null:b.serviceInfo.limits.minimal),"-",t.lcZ(28,34,null==b.serviceInfo||null==b.serviceInfo.limits?null:b.serviceInfo.limits.maximal),""),t.xp6(5),t.Q6J("ngIf",null==b.inputFormGroup||null==b.inputFormGroup.controls||null==b.inputFormGroup.controls.amount||null==b.inputFormGroup.controls.amount.errors?null:b.inputFormGroup.controls.amount.errors.required),t.xp6(1),t.Q6J("ngIf",null==b.inputFormGroup||null==b.inputFormGroup.controls||null==b.inputFormGroup.controls.amount||null==b.inputFormGroup.controls.amount.errors?null:b.inputFormGroup.controls.amount.errors.min),t.xp6(1),t.Q6J("ngIf",null==b.inputFormGroup||null==b.inputFormGroup.controls||null==b.inputFormGroup.controls.amount||null==b.inputFormGroup.controls.amount.errors?null:b.inputFormGroup.controls.amount.errors.max),t.xp6(1),t.Q6J("ngIf",b.direction===b.swapTypeEnum.SWAP_OUT),t.xp6(1),t.Q6J("ngIf",b.direction===b.swapTypeEnum.SWAP_IN&&b.isSendFromInternalCompatible),t.xp6(2),t.Q6J("ngIf",b.direction===b.swapTypeEnum.SWAP_OUT),t.xp6(1),t.Q6J("ngIf",b.direction===b.swapTypeEnum.SWAP_IN),t.xp6(1),t.Q6J("ngIf",b.direction===b.swapTypeEnum.SWAP_OUT),t.xp6(1),t.Q6J("stepControl",b.statusFormGroup),t.xp6(1),t.Q6J("formGroup",b.statusFormGroup),t.xp6(3),t.Q6J("expanded",!!b.swapStatus),t.xp6(4),t.Oqu(b.swapStatus?b.swapStatus.id?b.swapDirectionCaption+" request details":b.swapDirectionCaption+" error details":"Waiting for "+b.swapDirectionCaption+" request..."),t.xp6(1),t.Q6J("ngIf",b.swapStatus),t.xp6(1),t.Q6J("ngIf",!b.swapStatus)("ngIfElse",G),t.xp6(1),t.Q6J("ngIf",!b.swapStatus),t.xp6(1),t.Q6J("ngIf",b.swapStatus),t.xp6(2),t.Q6J("ngIf",b.swapStatus&&(b.swapStatus.error||!b.swapStatus.id)),t.xp6(2),t.Q6J("mat-dialog-close",!1)}}function rc(R,z){if(1&R&&t._UZ(0,"rtl-boltz-swap-status",60),2&R){const b=t.oxw();t.Q6J("swapStatus",b.swapStatus)("direction",b.direction)("acceptZeroConf",null==b.inputFormGroup||null==b.inputFormGroup.controls?null:b.inputFormGroup.controls.acceptZeroConf.value)("sendFromInternal",null==b.inputFormGroup||null==b.inputFormGroup.controls?null:b.inputFormGroup.controls.sendFromInternal.value)}}function Vl(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"rtl-boltz-swapout-info-graphics",76),t.NdJ("stepNumberChange",function(Z){t.CHM(b);const Fe=t.oxw(2);return t.KtG(Fe.stepNumber=Z)}),t.qZA()}if(2&R){const b=t.oxw(2);t.Q6J("animationDirection",b.animationDirection)("stepNumber",b.stepNumber)}}function Pd(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"rtl-boltz-swapin-info-graphics",76),t.NdJ("stepNumberChange",function(Z){t.CHM(b);const Fe=t.oxw(2);return t.KtG(Fe.stepNumber=Z)}),t.qZA()}if(2&R){const b=t.oxw(2);t.Q6J("animationDirection",b.animationDirection)("stepNumber",b.stepNumber)}}const Rd=(R,z)=>({"dot-primary":R,"dot-primary-lighter":z});function q2(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"span",77),t.NdJ("click",function(){const Fe=t.CHM(b).$implicit,Lt=t.oxw(2);return t.KtG(Lt.onStepChanged(Fe))}),t._UZ(1,"p",78),t.qZA()}if(2&R){const b=z.$implicit,G=t.oxw(2);t.xp6(1),t.Q6J("ngClass",t.WLB(1,Rd,G.stepNumber===b,G.stepNumber!==b))}}function Sc(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"button",79),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw(2);return t.KtG(Z.onReadMore())}),t._uU(1,"Read More"),t.qZA()}}function X2(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"button",80),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw(2);return t.KtG(Z.onStepChanged(4))}),t._uU(1,"Back"),t.qZA()}}function D1(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"button",81),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw(2);return Z.flgShowInfo=!1,t.KtG(Z.stepNumber=1)}),t._uU(1,"Close"),t.qZA()}}function Bl(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"button",82),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw(2);return Z.flgShowInfo=!1,t.KtG(Z.stepNumber=1)}),t._uU(1,"Close"),t.qZA()}}function Yh(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"button",83),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw(2);return t.KtG(Z.onStepChanged(Z.stepNumber-1))}),t._uU(1,"Back"),t.qZA()}}function L1(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"button",84),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw(2);return t.KtG(Z.onStepChanged(Z.stepNumber+1))}),t._uU(1,"Next"),t.qZA()}}const I1=()=>[1,2,3,4,5];function fs(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"div",61)(1,"div",18)(2,"mat-card-header",62)(3,"div",63),t._UZ(4,"span",7),t.qZA(),t.TgZ(5,"div",64)(6,"button",10),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return Z.flgShowInfo=!1,t.KtG(Z.stepNumber=1)}),t._uU(7,"X"),t.qZA()()(),t.TgZ(8,"mat-card-content",65),t.YNc(9,Vl,1,2,"rtl-boltz-swapout-info-graphics",66)(10,Pd,1,2,"rtl-boltz-swapin-info-graphics",66),t.qZA(),t.TgZ(11,"div",67),t.YNc(12,q2,2,4,"span",68),t.qZA(),t.TgZ(13,"div",69),t.YNc(14,Sc,2,0,"button",70)(15,X2,2,0,"button",71)(16,D1,2,0,"button",72)(17,Bl,2,0,"button",73)(18,Yh,2,0,"button",74)(19,L1,2,0,"button",75),t.qZA()()()}if(2&R){const b=t.oxw();t.Q6J("@opacityAnimation",void 0),t.xp6(9),t.Q6J("ngIf",b.direction===b.swapTypeEnum.SWAP_OUT),t.xp6(1),t.Q6J("ngIf",b.direction===b.swapTypeEnum.SWAP_IN),t.xp6(2),t.Q6J("ngForOf",t.DdM(10,I1)),t.xp6(2),t.Q6J("ngIf",5===b.stepNumber),t.xp6(1),t.Q6J("ngIf",5===b.stepNumber),t.xp6(1),t.Q6J("ngIf",5===b.stepNumber),t.xp6(1),t.Q6J("ngIf",b.stepNumber<5),t.xp6(1),t.Q6J("ngIf",b.stepNumber>1&&b.stepNumber<5),t.xp6(1),t.Q6J("ngIf",b.stepNumber<5)}}let il=(()=>{class R{constructor(b,G,Z,Fe,Lt,ei,fi){this.dialogRef=b,this.data=G,this.boltzService=Z,this.formBuilder=Fe,this.decimalPipe=Lt,this.logger=ei,this.commonService=fi,this.faInfoCircle=en.sqG,this.boltzInfo=null,this.serviceInfo={fees:{percentage:null,miner:{normal:null,reverse:null}},limits:{minimal:1e4,maximal:5e7}},this.swapTypeEnum=Yt.hc,this.direction=Yt.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=Yt.cu,this.animationDirection="forward",this.flgEditable=!0,this.isSendFromInternalCompatible=!0,this.unSubs=[new Yi.x,new Yi.x,new Yi.x,new Yi.x,new Yi.x,new Yi.x]}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),this.serviceInfo=this.data.serviceInfo,this.direction=this.data.direction||Yt.hc.SWAP_OUT,this.swapDirectionCaption=this.direction===Yt.hc.SWAP_OUT?"Swap Out":"Swap in",this.inputFormLabel="Amount to "+this.swapDirectionCaption,this.inputFormGroup=this.formBuilder.group({amount:[this.serviceInfo.limits?.minimal,[dt.kI.required,dt.kI.min(this.serviceInfo.limits?.minimal||0),dt.kI.max(this.serviceInfo.limits?.maximal||0)]],acceptZeroConf:[!1],sendFromInternal:[!0]}),this.addressFormGroup=this.formBuilder.group({addressType:["local",[dt.kI.required]],address:[{value:"",disabled:!0}]}),this.statusFormGroup=this.formBuilder.group({}),this.onFormValueChanges(),this.boltzService.boltzInfoChanged.pipe((0,Ki.R)(this.unSubs[0])).subscribe({next:b=>{this.boltzInfo=b,this.isSendFromInternalCompatible=this.commonService.isVersionCompatible(this.boltzInfo.version,"2.0.0")},error:b=>{this.boltzInfo={version:"2.0.0"},this.logger.error(b)}})}ngAfterViewInit(){this.direction===Yt.hc.SWAP_OUT&&this.addressFormGroup.setErrors({Invalid:!0})}onFormValueChanges(){this.direction===Yt.hc.SWAP_OUT&&this.addressFormGroup.valueChanges.pipe((0,Ki.R)(this.unSubs[1])).subscribe(b=>{this.addressFormGroup.setErrors({Invalid:!0})})}onAddressTypeChange(b){"external"===b.value?(this.addressFormGroup.controls.address.setValidators([dt.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===Yt.hc.SWAP_OUT&&"external"===this.addressFormGroup.controls.addressType.value&&(!this.addressFormGroup.controls.address.value||""===this.addressFormGroup.controls.address.value.trim()))return!0;this.flgEditable=!1,this.stepper.selected?.stepControl.setErrors(null),this.stepper.next(),this.direction===Yt.hc.SWAP_IN?this.boltzService.swapIn(this.inputFormGroup.controls.amount.value,this.isSendFromInternalCompatible?this.inputFormGroup.controls.sendFromInternal.value:null).pipe((0,Ki.R)(this.unSubs[2])).subscribe({next:b=>{this.swapStatus=b,this.boltzService.listSwaps(),this.flgEditable=!0},error:b=>{this.swapStatus={error:b},this.flgEditable=!0,this.logger.error(b)}}):this.boltzService.swapOut(this.inputFormGroup.controls.amount.value,"external"===this.addressFormGroup.controls.addressType.value?this.addressFormGroup.controls.address.value:"",this.inputFormGroup.controls.acceptZeroConf.value).pipe((0,Ki.R)(this.unSubs[3])).subscribe({next:G=>{this.swapStatus=G,this.boltzService.listSwaps(),this.flgEditable=!0},error:G=>{this.swapStatus={error:G},this.flgEditable=!0,this.logger.error(G)}})}stepSelectionChanged(b){switch(b.selectedIndex){case 0:default:this.inputFormLabel="Amount to "+this.swapDirectionCaption,this.addressFormLabel="Withdrawal Address";break;case 1:this.inputFormLabel=this.inputFormGroup.controls.amount.value?this.direction===Yt.hc.SWAP_IN?this.swapDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Send from Internal Wallet: "+(this.inputFormGroup.controls.sendFromInternal.value?"Yes":"No"):this.swapDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Zero Conf: "+(this.inputFormGroup.controls.acceptZeroConf.value?"Yes":"No"):"Amount to "+this.swapDirectionCaption,this.addressFormLabel="Withdrawal Address"}b.selectedIndex<b.previouslySelectedIndex&&b.selectedStep.stepControl.setErrors({Invalid:!0})}onClose(){this.dialogRef.close(!0)}showInfo(){this.flgShowInfo=!0}onReadMore(){this.direction===Yt.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(b){this.animationDirection=b<this.stepNumber?"backward":"forward",this.stepNumber=b}onRestart(){this.stepper.reset(),this.flgEditable=!0,this.inputFormGroup.reset({amount:this.serviceInfo.limits?.minimal,acceptZeroConf:!1,sendFromInternal:!0}),this.statusFormGroup.reset(),this.addressFormGroup.reset({addressType:"local",address:""}),this.addressFormGroup.controls.address.disable(),this.swapStatus=null}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||R)(t.Y36(Di.so),t.Y36(Di.WI),t.Y36(Hs),t.Y36(dt.QS),t.Y36(on.JJ),t.Y36(Se.mQ),t.Y36(ea.v))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-boltz-swap-modal"]],viewQuery:function(G,Z){if(1&G&&t.Gf(el,5),2&G){let Fe;t.iGM(Fe=t.CRH())&&(Z.stepper=Fe.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","end end",3,"fxFlex"],["tabindex","21","mat-button","",1,"btn-close-x","p-0",3,"click"],["tabindex","22","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large"],["fxLayout","column"],[3,"linear","selectionChange"],["stepper",""],[3,"stepControl","editable"],["fxLayout","column","fxLayoutAlign","start","fxLayoutAlign.gt-sm","space-between",1,"my-1",3,"formGroup"],["matStepLabel",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch"],[3,"serviceInfo","direction"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between center",1,"mt-1"],["fxLayout","column","fxFlex","48"],["autoFocus","","matInput","","type","number","tabindex","1","formControlName","amount","required","",3,"step"],["matSuffix",""],[4,"ngIf"],["fxLayout","column","fxFlex","48","fxLayoutAlign","start stretch",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"],["fxLayout","column","fxFlex","48","fxLayoutAlign","start stretch"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start center"],["fxLayoutAlign","start center","tabindex","2","color","primary","formControlName","acceptZeroConf","name","acceptZeroConf"],["matTooltip","Only recommended for smaller payments, involves trust in Boltz","matTooltipPosition","above",1,"info-icon","mt-2"],["fxLayoutAlign","start center","tabindex","2","color","primary","formControlName","sendFromInternal","name","sendFromInternal"],["matTooltip","Pay from the node's onchain wallet","matTooltipPosition","above",1,"info-icon","mt-2"],["mat-button","","color","primary","tabindex","2","type","button","matStepperNext",""],["mat-button","","color","primary","tabindex","3","type","button",3,"click"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between stretch",1,"mt-1"],["color","primary","name","addressType","formControlName","addressType","fxFlex","100","fxLayoutAlign","space-between stretch",3,"change"],["fxFlex","48","tabindex","8","value","local"],["fxFlex","48","tabindex","9","value","external"],["fxLayout","column","fxFlex","100",1,"mt-1"],["matInput","","tabindex","10","formControlName","address",3,"required"],["mat-button","","color","primary","tabindex","11","type","button",3,"click"],[1,"ml-1","icon-small"],["fxFlex","100","color","primary","mode","indeterminate"],["fxLayoutAlign","start",1,"font-bold-500","mt-2"],["mat-button","","color","primary","tabindex","13","type","button",3,"click"],["fxLayout","column",3,"swapStatus","direction","acceptZeroConf","sendFromInternal"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"info-graphics-container"],["fxLayout","row","fxFlex","8","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],["fxFlex","5","fxLayoutAlign","end center"],["fxLayout","column","fxFlex","70","fxLayoutAlign","space-between center",1,"padding-gap-x-large"],["fxFlex","100",3,"animationDirection","stepNumber","stepNumberChange",4,"ngIf"],["fxLayout","row","fxFlex","10","fxLayoutAlign","center end",1,"padding-gap-x-large","padding-gap-bottom-large"],["tabindex","21","fxLayoutAlign","center center","class","dots-stepper-block",3,"click",4,"ngFor","ngForOf"],["fxLayout","row","fxFlex","10","fxLayoutAlign","end end",1,"padding-gap-x-large","padding-gap-bottom-large"],["mat-button","","class","mr-1","color","primary","tabindex","15","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","16","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","17","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","18","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","19","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","20","type","button",3,"click",4,"ngIf"],["fxFlex","100",3,"animationDirection","stepNumber","stepNumberChange"],["tabindex","21","fxLayoutAlign","center center",1,"dots-stepper-block",3,"click"],[1,"dot","tiny-dot","mr-0",3,"ngClass"],["mat-button","","color","primary","tabindex","15","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","16","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","17","type","button",3,"click"],["mat-button","","color","primary","tabindex","18","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","19","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","20","type","button",3,"click"]],template:function(G,Z){1&G&&t.YNc(0,Jf,58,36,"div",0)(1,rc,1,4,"ng-template",null,1,t.W1O)(3,fs,20,11,"div",2),2&G&&(t.Q6J("ngIf",!Z.flgShowInfo),t.xp6(3),t.Q6J("ngIf",Z.flgShowInfo))},dependencies:[on.mk,on.sg,on.O5,dt._Y,dt.Fj,dt.wV,dt.JJ,dt.JL,dt.Q7,dt.sg,dt.u,Xi.xw,Xi.Wh,Xi.yH,pe.oO,Di.ZT,Ye.lW,ar.dn,ar.dk,Re.ib,Re.yz,Re.yK,Co.Hw,Tn.Nt,ut.KE,ut.hX,ut.bx,ut.TO,ut.R9,Xc.pW,_e.VQ,_e.U0,He.Rr,Ps.gM,Fn.C0,Fn.VY,Fn.Vq,Fn.Ic,_t.h,Kf,Y2,S1,Hl,on.JJ],styles:[".dots-stepper-block[_ngcontent-%COMP%]{width:3rem}.info-graphics-container[_ngcontent-%COMP%]{max-height:30rem;min-height:30rem;overflow-x:hidden}"],data:{animation:[Go._]}})}return R})();function Ul(R,z){if(1&R&&(t.TgZ(0,"mat-option",42),t._uU(1),t.qZA()),2&R){const b=z.$implicit,G=t.oxw();t.Q6J("value",b),t.xp6(1),t.Oqu(G.getLabel(b))}}function jh(R,z){1&R&&t._UZ(0,"mat-progress-bar",43)}function Kh(R,z){1&R&&(t.TgZ(0,"th",44),t._uU(1,"Status"),t.qZA())}function J2(R,z){if(1&R&&(t.TgZ(0,"td",45),t._uU(1),t.qZA()),2&R){const b=z.$implicit,G=t.oxw();t.xp6(1),t.Oqu(G.swapStateEnum[null==b?null:b.status])}}function nl(R,z){1&R&&(t.TgZ(0,"th",44),t._uU(1,"Swap ID"),t.qZA())}function Qh(R,z){if(1&R&&(t.TgZ(0,"td",45),t._uU(1),t.qZA()),2&R){const b=z.$implicit;t.xp6(1),t.Oqu(null==b?null:b.id)}}function $2(R,z){1&R&&(t.TgZ(0,"th",44),t._uU(1,"Claim Address"),t.qZA())}const Ec=R=>({width:R});function k1(R,z){if(1&R&&(t.TgZ(0,"td",45)(1,"span",46)(2,"span",47),t._uU(3),t.qZA()()()),2&R){const b=z.$implicit,G=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,Ec,G.screenSize===G.screenSizeEnum.XS?"6rem":G.colWidth)),t.xp6(2),t.Oqu(null==b?null:b.claimAddress)}}function qh(R,z){1&R&&(t.TgZ(0,"th",44),t._uU(1,"Lockup Address"),t.qZA())}function O1(R,z){if(1&R&&(t.TgZ(0,"td",45)(1,"span",46)(2,"span",47),t._uU(3),t.qZA()()()),2&R){const b=z.$implicit,G=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,Ec,G.screenSize===G.screenSizeEnum.XS?"6rem":G.colWidth)),t.xp6(2),t.Oqu(null==b?null:b.lockupAddress)}}function e0(R,z){1&R&&(t.TgZ(0,"th",48),t._uU(1,"Onchain Amount (Sats)"),t.qZA())}function t0(R,z){if(1&R&&(t.TgZ(0,"td",45)(1,"span",49),t._uU(2),t.ALo(3,"number"),t.qZA()()),2&R){const b=z.$implicit;t.xp6(2),t.Oqu(t.lcZ(3,1,null==b?null:b.onchainAmount))}}function Xh(R,z){1&R&&(t.TgZ(0,"th",48),t._uU(1,"Expected Amount (Sats)"),t.qZA())}function n0(R,z){if(1&R&&(t.TgZ(0,"td",45)(1,"span",49),t._uU(2),t.ALo(3,"number"),t.qZA()()),2&R){const b=z.$implicit;t.xp6(2),t.Oqu(t.lcZ(3,1,null==b?null:b.expectedAmount))}}function r0(R,z){1&R&&(t.TgZ(0,"th",44),t._uU(1,"Error"),t.qZA())}function a0(R,z){if(1&R&&(t.TgZ(0,"td",45)(1,"span",46)(2,"span",47),t._uU(3),t.qZA()()()),2&R){const b=z.$implicit,G=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,Ec,G.screenSize===G.screenSizeEnum.XS?"6rem":G.colWidth)),t.xp6(2),t.Oqu(null==b?null:b.error)}}function o0(R,z){1&R&&(t.TgZ(0,"th",44),t._uU(1,"Private Key"),t.qZA())}function Jh(R,z){if(1&R&&(t.TgZ(0,"td",45)(1,"span",46)(2,"span",47),t._uU(3),t.qZA()()()),2&R){const b=z.$implicit,G=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,Ec,G.screenSize===G.screenSizeEnum.XS?"6rem":G.colWidth)),t.xp6(2),t.Oqu(null==b?null:b.privateKey)}}function $h(R,z){1&R&&(t.TgZ(0,"th",44),t._uU(1,"Preimage"),t.qZA())}function s0(R,z){if(1&R&&(t.TgZ(0,"td",45)(1,"span",46)(2,"span",47),t._uU(3),t.qZA()()()),2&R){const b=z.$implicit,G=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,Ec,G.screenSize===G.screenSizeEnum.XS?"6rem":G.colWidth)),t.xp6(2),t.Oqu(null==b?null:b.preimage)}}function Nd(R,z){1&R&&(t.TgZ(0,"th",44),t._uU(1,"Redeem Script"),t.qZA())}function ms(R,z){if(1&R&&(t.TgZ(0,"td",45)(1,"span",46)(2,"span",47),t._uU(3),t.qZA()()()),2&R){const b=z.$implicit,G=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,Ec,G.screenSize===G.screenSizeEnum.XS?"6rem":G.colWidth)),t.xp6(2),t.Oqu(null==b?null:b.redeemScript)}}function Gl(R,z){1&R&&(t.TgZ(0,"th",44),t._uU(1,"Invoice"),t.qZA())}function ac(R,z){if(1&R&&(t.TgZ(0,"td",45)(1,"span",46)(2,"span",47),t._uU(3),t.qZA()()()),2&R){const b=z.$implicit,G=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,Ec,G.screenSize===G.screenSizeEnum.XS?"6rem":G.colWidth)),t.xp6(2),t.Oqu(null==b?null:b.invoice)}}function P1(R,z){1&R&&(t.TgZ(0,"th",48),t._uU(1,"Timeout Block Height"),t.qZA())}function Hd(R,z){if(1&R&&(t.TgZ(0,"td",45)(1,"span",49),t._uU(2),t.ALo(3,"number"),t.qZA()()),2&R){const b=z.$implicit;t.xp6(2),t.Oqu(t.lcZ(3,1,null==b?null:b.timeoutBlockHeight))}}function Zl(R,z){1&R&&(t.TgZ(0,"th",44),t._uU(1,"Lockup Tx ID"),t.qZA())}function c0(R,z){if(1&R&&(t.TgZ(0,"td",45),t._uU(1),t.qZA()),2&R){const b=z.$implicit;t.xp6(1),t.Oqu(null==b?null:b.lockupTransactionId)}}function l0(R,z){1&R&&(t.TgZ(0,"th",44),t._uU(1,"Claim Tx ID"),t.qZA())}function Fd(R,z){if(1&R&&(t.TgZ(0,"td",45),t._uU(1),t.qZA()),2&R){const b=z.$implicit;t.xp6(1),t.Oqu(null==b?null:b.claimTransactionId)}}function eu(R,z){1&R&&(t.TgZ(0,"th",44),t._uU(1,"Refund Tx ID"),t.qZA())}function js(R,z){if(1&R&&(t.TgZ(0,"td",45),t._uU(1),t.qZA()),2&R){const b=z.$implicit;t.xp6(1),t.Oqu(null==b?null:b.refundTransactionId)}}function d0(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"th",50)(1,"div",51)(2,"mat-select",52),t._UZ(3,"mat-select-trigger"),t.TgZ(4,"mat-option",53),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.onDownloadCSV())}),t._uU(5,"Download CSV"),t.qZA()()()()}}function tu(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"td",54)(1,"button",55),t.NdJ("click",function(Z){const Lt=t.CHM(b).$implicit,ei=t.oxw();return t.KtG(ei.onSwapClick(Lt,Z))}),t._uU(2,"View Info"),t.qZA()()}}function h0(R,z){if(1&R&&(t.TgZ(0,"p"),t._uU(1),t.qZA()),2&R){const b=t.oxw(2);t.xp6(1),t.Oqu(b.emptyTableMessage)}}function zd(R,z){if(1&R&&(t.TgZ(0,"td",56),t.YNc(1,h0,2,1,"p",57),t.qZA()),2&R){const b=t.oxw();t.xp6(1),t.Q6J("ngIf",!(null!=b.listSwaps&&b.listSwaps.data)||(null==b.listSwaps||null==b.listSwaps.data?null:b.listSwaps.data.length)<1)}}const $f=R=>({"display-none":R});function u0(R,z){if(1&R&&t._UZ(0,"tr",58),2&R){const b=t.oxw();t.Q6J("ngClass",t.VKq(1,$f,(null==b.listSwaps?null:b.listSwaps.data)&&(null==b.listSwaps||null==b.listSwaps.data?null:b.listSwaps.data.length)>0))}}function f0(R,z){1&R&&t._UZ(0,"tr",59)}function m0(R,z){1&R&&t._UZ(0,"tr",60)}const iu=()=>["all"],p0=R=>({"overflow-auto error-border":R,"overflow-auto":!0}),g0=()=>["no_swap"];let _0=(()=>{class R{constructor(b,G,Z,Fe,Lt){this.logger=b,this.commonService=G,this.store=Z,this.boltzService=Fe,this.camelCaseWithReplace=Lt,this.selectedSwapType=Yt.hc.SWAP_OUT,this.swapsData=[],this.flgLoading=[!0],this.emptyTableMessage="No swaps available.",this.nodePageDefs=Yt.hG,this.selFilterBy="all",this.colWidth="20rem",this.PAGE_ID="boltz",this.tableSettingSwapOut={tableId:"swap_out",recordsPerPage:Yt.IV,sortBy:"status",sortOrder:Yt.Pi.DESCENDING},this.tableSettingSwapIn={tableId:"swap_in",recordsPerPage:Yt.IV,sortBy:"status",sortOrder:Yt.Pi.DESCENDING},this.swapStateEnum=Yt.Qw,this.swapTypeEnum=Yt.hc,this.faHistory=en.qO$,this.swapCaption="Swap Out",this.displayedColumns=[],this.listSwaps=new mr.by([]),this.selFilter="",this.pageSize=Yt.IV,this.pageSizeOptions=Yt.TJ,this.screenSize="",this.screenSizeEnum=Yt.cu,this.unSubs=[new Yi.x,new Yi.x,new Yi.x],this.screenSize=this.commonService.getScreenSize()}ngOnChanges(b){b.selectedSwapType&&!b.selectedSwapType.firstChange&&this.setTableColumns(),this.swapCaption=this.selectedSwapType===Yt.hc.SWAP_IN?"Swap In":"Swap Out",this.loadSwapsTable(this.swapsData)}ngOnInit(){this.store.select(Io.Pr).pipe((0,Ki.R)(this.unSubs[0])).subscribe(b=>{this.tableSettingSwapOut=b.pageSettings.find(G=>G.pageId===this.PAGE_ID)?.tables.find(G=>G.tableId===this.tableSettingSwapOut.tableId)||Yt.gK.find(G=>G.pageId===this.PAGE_ID)?.tables.find(G=>G.tableId===this.tableSettingSwapOut.tableId),this.tableSettingSwapIn=b.pageSettings.find(G=>G.pageId===this.PAGE_ID)?.tables.find(G=>G.tableId===this.tableSettingSwapIn.tableId)||Yt.gK.find(G=>G.pageId===this.PAGE_ID)?.tables.find(G=>G.tableId===this.tableSettingSwapIn.tableId),this.setTableColumns(),this.swapsData&&this.sort&&this.paginator&&this.displayedColumns.length>0&&this.loadSwapsTable(this.swapsData),this.colWidth=this.displayedColumns.length?this.commonService.getContainerSize().width/this.displayedColumns.length/14+"rem":"20rem",this.logger.info(this.displayedColumns)})}ngAfterViewInit(){this.swapsData&&this.swapsData.length>0&&this.loadSwapsTable(this.swapsData)}setTableColumns(){this.selectedSwapType===Yt.hc.SWAP_IN?(this.displayedColumns=this.screenSize===Yt.cu.XS||this.screenSize===Yt.cu.SM?JSON.parse(JSON.stringify(this.tableSettingSwapIn.columnSelectionSM)):JSON.parse(JSON.stringify(this.tableSettingSwapIn.columnSelection)),this.displayedColumns.push("actions"),this.pageSize=this.tableSettingSwapIn.recordsPerPage?+this.tableSettingSwapIn.recordsPerPage:Yt.IV):(this.displayedColumns=this.screenSize===Yt.cu.XS||this.screenSize===Yt.cu.SM?JSON.parse(JSON.stringify(this.tableSettingSwapOut.columnSelectionSM)):JSON.parse(JSON.stringify(this.tableSettingSwapOut.columnSelection)),this.displayedColumns.push("actions"),this.pageSize=this.tableSettingSwapOut.recordsPerPage?+this.tableSettingSwapOut.recordsPerPage:Yt.IV)}applyFilter(){this.listSwaps&&""!==this.selFilter&&(this.listSwaps.filter=this.selFilter.trim().toLowerCase())}getLabel(b){const Z=this.nodePageDefs[this.PAGE_ID][this.selectedSwapType===Yt.hc.SWAP_IN?this.tableSettingSwapIn.tableId:this.tableSettingSwapOut.tableId].allowedColumns.find(Fe=>Fe.column===b);return Z?Z.label?Z.label:this.camelCaseWithReplace.transform(Z.column,"_"):this.commonService.titleCase(b)}setFilterPredicate(){this.listSwaps.filterPredicate=(b,G)=>{let Z="";switch(this.selFilterBy){case"all":Z=JSON.stringify(b).toLowerCase();break;case"status":Z=b?.status?this.swapStateEnum[b?.status]:"";break;default:Z=typeof b[this.selFilterBy]>"u"?"":"string"==typeof b[this.selFilterBy]?b[this.selFilterBy].toLowerCase():"boolean"==typeof b[this.selFilterBy]?b[this.selFilterBy]?"yes":"no":b[this.selFilterBy].toString()}return"status"===this.selFilterBy?0===Z.indexOf(G):Z.includes(G)}}onSwapClick(b,G){this.boltzService.swapInfo(b.id||"").pipe((0,Ki.R)(this.unSubs[1])).subscribe(Z=>{this.store.dispatch((0,Sn.qR)({payload:{data:{type:Yt.n_.INFORMATION,alertTitle:this.swapCaption+" Status",message:[[{key:"status",value:Yt.Qw[(Z=this.selectedSwapType===Yt.hc.SWAP_IN?Z.swap:Z.reverseSwap).status],title:"Status",width:50,type:Yt.Gi.STRING},{key:"id",value:Z.id,title:"ID",width:50,type:Yt.Gi.STRING}],[{key:"amount",value:Z.onchainAmount?Z.onchainAmount:Z.expectedAmount?Z.expectedAmount:0,title:Z.onchainAmount?"Onchain Amount (Sats)":Z.expectedAmount?"Expected Amount (Sats)":"Amount (Sats)",width:50,type:Yt.Gi.NUMBER},{key:"timeoutBlockHeight",value:Z.timeoutBlockHeight,title:"Timeout Block Height",width:50,type:Yt.Gi.NUMBER}],[{key:"address",value:Z.claimAddress?Z.claimAddress:Z.lockupAddress?Z.lockupAddress:"",title:Z.claimAddress?"Claim Address":Z.lockupAddress?"Lockup Address":"Address",width:100,type:Yt.Gi.STRING}],[{key:"invoice",value:Z.invoice,title:"Invoice",width:100,type:Yt.Gi.STRING}],[{key:"privateKey",value:Z.privateKey,title:"Private Key",width:100,type:Yt.Gi.STRING}],[{key:"preimage",value:Z.preimage,title:"Preimage",width:100,type:Yt.Gi.STRING}],[{key:"redeemScript",value:Z.redeemScript,title:"Redeem Script",width:100,type:Yt.Gi.STRING}],[{key:"lockupTransactionId",value:Z.lockupTransactionId,title:"Lockup Transaction ID",width:50,type:Yt.Gi.STRING},{key:"transactionId",value:Z.claimTransactionId?Z.claimTransactionId:Z.refundTransactionId?Z.refundTransactionId:"",title:Z.claimTransactionId?"Claim Transaction ID":Z.refundTransactionId?"Refund Transaction ID":"Transaction ID",width:50,type:Yt.Gi.STRING}]],openedBy:"SWAP"}}}))})}loadSwapsTable(b){this.listSwaps=new mr.by(b?[...b]:[]),this.listSwaps.sort=this.sort,this.listSwaps.sortingDataAccessor=(G,Z)=>G[Z]&&isNaN(G[Z])?G[Z].toLocaleLowerCase():G[Z]?+G[Z]:null,this.paginator&&this.paginator.firstPage(),this.listSwaps.paginator=this.paginator,this.setFilterPredicate(),this.applyFilter(),this.logger.info(this.listSwaps)}onDownloadCSV(){this.listSwaps.data&&this.listSwaps.data.length>0&&this.commonService.downloadFile(this.listSwaps.data,this.selectedSwapType===Yt.hc.SWAP_IN?"Swap in":"Swap out")}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||R)(t.Y36(Se.mQ),t.Y36(ea.v),t.Y36(zi.yh),t.Y36(Hs),t.Y36(ls.D3))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-boltz-swaps"]],viewQuery:function(G,Z){if(1&G&&(t.Gf(ko.YE,5),t.Gf(qc.NW,5)),2&G){let Fe;t.iGM(Fe=t.CRH())&&(Z.sort=Fe.first),t.iGM(Fe=t.CRH())&&(Z.paginator=Fe.first)}},inputs:{selectedSwapType:"selectedSwapType",swapsData:"swapsData",flgLoading:"flgLoading",emptyTableMessage:"emptyTableMessage"},features:[t._Bn([{provide:ti.PG,useValue:{overlayPanelClass:"rtl-select-overlay"}},{provide:qc.ye,useValue:(0,Yt.pt)("Swaps")}]),t.TTD],decls:76,vars:20,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","start start",1,"card-content-gap"],["fxLayout","column","fxLayout.gt-xs","row","fxLayoutAlign.gt-xs","start center","fxLayoutAlign","start stretch","fxFlex","100",1,"page-sub-title-container","w-100"],["fxFlex","70"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxFlex.gt-xs","30","fxLayoutAlign.gt-xs","space-between center","fxLayout","row","fxLayoutAlign","space-between stretch"],["fxLayout","column","fxFlex","49"],["tabindex","1","name","filterBy",3,"ngModel","ngModelChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],["matInput","","name","filter",3,"ngModel","ngModelChange","input","keyup"],["fxLayout","row","fxLayoutAlign","start center",1,"w-100"],["fxFlex","100",1,"table-container",3,"perfectScrollbar"],["mode","indeterminate",4,"ngIf"],["mat-table","","matSort","",3,"matSortActive","matSortDirection","dataSource","ngClass"],["table",""],["matColumnDef","status"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","id"],["matColumnDef","claimAddress"],["matColumnDef","lockupAddress"],["matColumnDef","onchainAmount"],["mat-header-cell","","mat-sort-header","","arrowPosition","before",4,"matHeaderCellDef"],["matColumnDef","expectedAmount"],["matColumnDef","error"],["matColumnDef","privateKey"],["matColumnDef","preimage"],["matColumnDef","redeemScript"],["matColumnDef","invoice"],["matColumnDef","timeoutBlockHeight"],["matColumnDef","lockupTransactionId"],["matColumnDef","claimTransactionId"],["matColumnDef","refundTransactionId"],["matColumnDef","actions"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","","fxLayoutAlign","end center",4,"matCellDef"],["matColumnDef","no_swap"],["mat-footer-cell","","colspan","4",4,"matFooterCellDef"],["mat-footer-row","",3,"ngClass",4,"matFooterRowDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"mb-1",3,"pageSize","pageSizeOptions","showFirstLastButtons"],[3,"value"],["mode","indeterminate"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["fxLayout.gt-xs","row",1,"ellipsis-parent",3,"ngStyle"],[1,"ellipsis-child"],["mat-header-cell","","mat-sort-header","","arrowPosition","before"],["fxLayoutAlign","end center"],["mat-header-cell",""],["fxLayoutAlign","center center",1,"bordered-box","table-actions-select"],["placeholder","Actions","tabindex","1",1,"mr-0"],[3,"click"],["mat-cell","","fxLayoutAlign","end center"],["mat-stroked-button","","color","primary","type","button","tabindex","4",1,"table-actions-button",3,"click"],["mat-footer-cell","","colspan","4"],[4,"ngIf"],["mat-footer-row","",3,"ngClass"],["mat-header-row",""],["mat-row",""]],template:function(G,Z){1&G&&(t.TgZ(0,"div",0)(1,"div",1)(2,"div",2),t._UZ(3,"fa-icon",3),t.TgZ(4,"span",4),t._uU(5),t.qZA()(),t.TgZ(6,"div",5)(7,"mat-form-field",6)(8,"mat-label"),t._uU(9,"Filter By"),t.qZA(),t.TgZ(10,"mat-select",7),t.NdJ("ngModelChange",function(Lt){return Z.selFilterBy=Lt})("selectionChange",function(){return Z.selFilter="",Z.applyFilter()}),t.TgZ(11,"perfect-scrollbar"),t.YNc(12,Ul,2,2,"mat-option",8),t.qZA()()(),t.TgZ(13,"mat-form-field",6)(14,"mat-label"),t._uU(15,"Filter"),t.qZA(),t.TgZ(16,"input",9),t.NdJ("ngModelChange",function(Lt){return Z.selFilter=Lt})("input",function(){return Z.applyFilter()})("keyup",function(){return Z.applyFilter()}),t.qZA()()()(),t.TgZ(17,"div",10)(18,"div",11),t.YNc(19,jh,1,0,"mat-progress-bar",12),t.TgZ(20,"table",13,14),t.ynx(22,15),t.YNc(23,Kh,2,0,"th",16)(24,J2,2,1,"td",17),t.BQk(),t.ynx(25,18),t.YNc(26,nl,2,0,"th",16)(27,Qh,2,1,"td",17),t.BQk(),t.ynx(28,19),t.YNc(29,$2,2,0,"th",16)(30,k1,4,4,"td",17),t.BQk(),t.ynx(31,20),t.YNc(32,qh,2,0,"th",16)(33,O1,4,4,"td",17),t.BQk(),t.ynx(34,21),t.YNc(35,e0,2,0,"th",22)(36,t0,4,3,"td",17),t.BQk(),t.ynx(37,23),t.YNc(38,Xh,2,0,"th",22)(39,n0,4,3,"td",17),t.BQk(),t.ynx(40,24),t.YNc(41,r0,2,0,"th",16)(42,a0,4,4,"td",17),t.BQk(),t.ynx(43,25),t.YNc(44,o0,2,0,"th",16)(45,Jh,4,4,"td",17),t.BQk(),t.ynx(46,26),t.YNc(47,$h,2,0,"th",16)(48,s0,4,4,"td",17),t.BQk(),t.ynx(49,27),t.YNc(50,Nd,2,0,"th",16)(51,ms,4,4,"td",17),t.BQk(),t.ynx(52,28),t.YNc(53,Gl,2,0,"th",16)(54,ac,4,4,"td",17),t.BQk(),t.ynx(55,29),t.YNc(56,P1,2,0,"th",22)(57,Hd,4,3,"td",17),t.BQk(),t.ynx(58,30),t.YNc(59,Zl,2,0,"th",16)(60,c0,2,1,"td",17),t.BQk(),t.ynx(61,31),t.YNc(62,l0,2,0,"th",16)(63,Fd,2,1,"td",17),t.BQk(),t.ynx(64,32),t.YNc(65,eu,2,0,"th",16)(66,js,2,1,"td",17),t.BQk(),t.ynx(67,33),t.YNc(68,d0,6,0,"th",34)(69,tu,3,0,"td",35),t.BQk(),t.ynx(70,36),t.YNc(71,zd,2,1,"td",37),t.BQk(),t.YNc(72,u0,1,3,"tr",38)(73,f0,1,0,"tr",39)(74,m0,1,0,"tr",40),t.qZA(),t._UZ(75,"mat-paginator",41),t.qZA()()()),2&G&&(t.xp6(3),t.Q6J("icon",Z.faHistory),t.xp6(2),t.hij("",Z.swapCaption," History"),t.xp6(5),t.Q6J("ngModel",Z.selFilterBy),t.xp6(2),t.Q6J("ngForOf",t.DdM(16,iu).concat(Z.displayedColumns.slice(0,-1))),t.xp6(4),t.Q6J("ngModel",Z.selFilter),t.xp6(3),t.Q6J("ngIf",!0===Z.flgLoading[0]),t.xp6(1),t.Q6J("matSortActive",Z.selectedSwapType===Z.swapTypeEnum.SWAP_IN?Z.tableSettingSwapIn.sortBy:Z.tableSettingSwapOut.sortBy)("matSortDirection",Z.selectedSwapType===Z.swapTypeEnum.SWAP_IN?Z.tableSettingSwapIn.sortOrder:Z.tableSettingSwapOut.sortOrder)("dataSource",Z.listSwaps)("ngClass",t.VKq(17,p0,"error"===Z.flgLoading[0])),t.xp6(52),t.Q6J("matFooterRowDef",t.DdM(19,g0)),t.xp6(1),t.Q6J("matHeaderRowDef",Z.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",Z.displayedColumns),t.xp6(1),t.Q6J("pageSize",Z.pageSize)("pageSizeOptions",Z.pageSizeOptions)("showFirstLastButtons",Z.screenSize!==Z.screenSizeEnum.XS))},dependencies:[on.mk,on.sg,on.O5,on.PC,dt.Fj,dt.JJ,dt.On,$r.BN,Xi.xw,Xi.Wh,Xi.yH,pe.oO,pe.Zl,Ye.lW,Tn.Nt,ut.KE,ut.hX,Xc.pW,ti.gD,ti.$L,Ne.ey,ko.YE,ko.nU,mr.BZ,mr.fO,mr.as,mr.w1,mr.Dz,mr.nj,mr.mD,mr.Ke,mr.ge,mr.ev,mr.yh,mr.XQ,mr.Gk,mr.Q2,qc.NW,ft.Vv,ft.$V,on.JJ]})}return R})();const rl=R=>["../",R];function Wo(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"div",16),t.NdJ("click",function(){const Fe=t.CHM(b).$implicit,Lt=t.oxw();return t.KtG(Lt.onSelectedIndexChange(Fe))}),t._uU(1),t.qZA()}if(2&R){const b=z.$implicit,G=t.oxw();t.Q6J("active",G.activeTab.link===b.link)("routerLink",t.VKq(3,rl,b.link)),t.xp6(1),t.Oqu(b.name)}}let oc=(()=>{class R{constructor(b,G,Z){this.router=b,this.store=G,this.boltzService=Z,this.swapTypeEnum=Yt.hc,this.selectedSwapType=Yt.hc.SWAP_OUT,this.swaps={},this.swapsData=[],this.emptyTableMessage="No swap data available.",this.flgLoading=[!0],this.links=[{link:"swapout",name:"Swap Out"},{link:"swapin",name:"Swap In"}],this.activeTab=this.links[0],this.unSubs=[new Yi.x,new Yi.x,new Yi.x,new Yi.x]}ngOnInit(){this.boltzService.getBoltzInfo(),this.boltzService.listSwaps();const b=this.links.find(G=>this.router.url.includes(G.link));this.activeTab=b||this.links[0],this.selectedSwapType=b&&"swapin"===b.link?Yt.hc.SWAP_IN:Yt.hc.SWAP_OUT,this.router.events.pipe((0,Ki.R)(this.unSubs[0]),(0,dr.h)(G=>G instanceof Jn.Av)).subscribe({next:G=>{const Z=this.links.find(Fe=>G.urlAfterRedirects.includes(Fe.link));this.activeTab=Z||this.links[0],this.selectedSwapType=Z&&"swapin"===Z.link?Yt.hc.SWAP_IN:Yt.hc.SWAP_OUT}}),this.boltzService.swapsChanged.pipe((0,Ki.R)(this.unSubs[1])).subscribe({next:G=>{this.swaps=G,this.swapsData=this.selectedSwapType===Yt.hc.SWAP_IN&&G.swaps?G.swaps:this.selectedSwapType===Yt.hc.SWAP_OUT&&G.reverseSwaps?G.reverseSwaps:[],this.flgLoading[0]=!1},error:G=>{this.flgLoading[0]="error",this.emptyTableMessage=G.message?G.message:"No swap "+(this.selectedSwapType===Yt.hc.SWAP_IN?"in":"out")+" available."}})}onSelectedIndexChange(b){"swapin"===b.link?(this.selectedSwapType=Yt.hc.SWAP_IN,this.swapsData=this.swaps.swaps||[]):(this.selectedSwapType=Yt.hc.SWAP_OUT,this.swapsData=this.swaps.reverseSwaps||[])}onSwap(b){this.boltzService.serviceInfo().pipe((0,Ki.R)(this.unSubs[2])).subscribe({next:G=>{this.store.dispatch((0,Sn.qR)({payload:{data:{serviceInfo:G,direction:b,component:il}}}))}})}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||R)(t.Y36(Jn.F0),t.Y36(zi.yh),t.Y36(Hs))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-boltz-root"]],decls:20,vars:7,consts:[["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],["viewBox","0 0 78 78","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",1,"botlz-icon-sm","mr-1"],["id","Logo","stroke","none","stroke-width","1","fill","none","fill-rule","evenodd"],["id","Group"],["id","Oval","cx","39","cy","39","r","37.5",1,"boltz-icon"],["d","M36.4583326,43.7755404 L40.53965,35.2316544 L39.4324865,35.2316544 L46.0754873,17.6071752 C46.292579,17.0204094 46.3287609,16.5159331 46.1840331,16.0937464 C46.0393053,15.671561 45.7860319,15.3674444 45.4242131,15.1813966 C45.0623942,14.9953487 44.6535376,14.9524146 44.1976433,15.0525945 C43.7417511,15.1527743 43.3256596,15.4461573 42.9493689,15.9327433 L22.6078557,40.7701025 C22.2026186,41.2710003 22,41.7575877 22,42.2298646 C22,42.6735173 22.1592003,43.0420366 22.477601,43.3354226 C22.7960017,43.6288058 23.1940025,43.7755404 23.6716036,43.7755404 L36.4583326,43.7755404 Z","id","Path",1,"boltz-icon-fill"],["d","M44.4883879,63.7755404 L48.8604707,55.165009 L47.6744296,55.165009 L54.7906978,37.4030526 C55.0232558,36.8117097 55.0620155,36.3032983 54.9069768,35.8778185 C54.7519381,35.4523399 54.4806208,35.1458511 54.0930248,34.958352 C53.7054289,34.7708528 53.2674441,34.7275839 52.7790706,34.8285452 C52.2906992,34.9295065 51.8449641,35.2251779 51.4418653,35.7155595 L29.6511611,60.746659 C29.2170537,61.251464 29,61.7418469 29,62.2178078 C29,62.6649211 29.1705423,63.036315 29.5116268,63.3319895 C29.8527113,63.6276613 30.2790669,63.7755404 30.7906936,63.7755404 L44.4883879,63.7755404 Z","id","Path-Copy","transform","translate(42.000000, 49.275540) rotate(-180.000000) translate(-42.000000, -49.275540) ",1,"boltz-icon-fill"],[1,"page-title"],["fxLayout","column",1,"padding-gap-x"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["tabindex","1","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngFor","ngForOf"],["tabPanel",""],["fxLayout","row","fxLayoutAlign","start start",1,"padding-gap-x-large","mt-1"],["mat-flat-button","","color","primary","type","button","tabindex","2",3,"click"],["fxLayout","row","fxFlex","100",3,"selectedSwapType","swapsData","flgLoading","emptyTableMessage"],["tabindex","1","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"]],template:function(G,Z){if(1&G&&(t.TgZ(0,"div",0),t.O4$(),t.TgZ(1,"svg",1)(2,"g",2)(3,"g",3),t._UZ(4,"circle",4)(5,"path",5)(6,"path",6),t.qZA()()(),t.kcU(),t.TgZ(7,"span",7),t._uU(8,"Boltz"),t.qZA()(),t.TgZ(9,"div",8)(10,"mat-card")(11,"mat-card-content",9)(12,"nav",10),t.YNc(13,Wo,2,5,"div",11),t.qZA(),t._UZ(14,"mat-tab-nav-panel",null,12),t.TgZ(16,"div",13)(17,"button",14),t.NdJ("click",function(){return Z.onSwap(Z.selectedSwapType)}),t._uU(18),t.qZA()(),t._UZ(19,"rtl-boltz-swaps",15),t.qZA()()()),2&G){const Fe=t.MAs(15);t.xp6(12),t.Q6J("tabPanel",Fe),t.xp6(1),t.Q6J("ngForOf",Z.links),t.xp6(5),t.hij("Start ",Z.activeTab.name,""),t.xp6(1),t.Q6J("selectedSwapType",Z.selectedSwapType)("swapsData",Z.swapsData)("flgLoading",Z.flgLoading)("emptyTableMessage",Z.emptyTableMessage)}},dependencies:[on.sg,Xi.xw,Xi.Wh,Xi.yH,Ye.lW,ar.a8,ar.dn,ra.BU,ra.sW,ra.Nj,Jn.rH,_0]})}return R})();class ka{constructor(z){this.help=z}}function b0(R,z){if(1&R&&(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&R){const b=t.oxw().$implicit,G=t.oxw();t.xp6(3),t.Oqu(b.help.question),t.xp6(2),t.Q6J("innerHTML",b.help.answer,t.oJD),t.xp6(1),t.Q6J("routerLink",G.flgLoggedIn?b.help.link:"/login"),t.xp6(1),t.Oqu(G.flgLoggedIn?b.help.linkCaption:"Login to go to the page")}}function y0(R,z){if(1&R&&(t.TgZ(0,"div",6),t.YNc(1,b0,8,4,"mat-expansion-panel",7),t.qZA()),2&R){const b=z.$implicit,G=t.oxw();t.xp6(1),t.Q6J("ngIf","ALL"===b.help.lnImplementation||b.help.lnImplementation===G.selNode.lnImplementation)}}let x0=(()=>{class R{constructor(b,G){this.store=b,this.sessionService=G,this.helpTopics=[],this.faQuestion=en.Psp,this.LNPLink="/lnd/",this.flgLoggedIn=!1,this.unSubs=[new Yi.x,new Yi.x,new Yi.x,new Yi.x]}ngOnInit(){this.store.select(Fr.dT).pipe((0,Ki.R)(this.unSubs[0])).subscribe(b=>{this.selNode=b,this.selNode.lnImplementation&&""!==this.selNode.lnImplementation.trim()&&(this.LNPLink="/"+this.selNode.lnImplementation.toLowerCase()+"/",this.addHelpTopics())}),this.sessionService.watchSession().pipe((0,Ki.R)(this.unSubs[1])).subscribe(b=>{this.flgLoggedIn=!!b.token}),this.sessionService.getItem("token")&&(this.flgLoggedIn=!0)}addHelpTopics(){this.helpTopics=[],this.helpTopics.push(new ka({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 ka({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 ka({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 ka({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 ka({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 ka({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 ka({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 ka({question:"Offers",answer:'Send offer payments, create offer invoices and bookmark paid offers on your node.\nGo to the "Transactions" page under the "Lightning" menu :\nPayment for bolt12 offer invoice can be done on "Payments" tab:\n 1. Click on "Send Payment" button.\n 2. Select "Offer" option on the modal.\n 2. Offer Request - Input offer request (Bolt12 format) in the input box.\n 3. Bookmark - Select the checkbox to bookmark this offer for future use.\nOffers tab is for creating bolt12 offer invoice on your node:\n 1. Click on "Create Offer" button.\n 2. Description - Description you want to provide on the offer invoice.\n 3. Amount - Amount for the offer invoice.\n 4. issuer - issuer of the offer.\nPaid offer bookmarks shows the list of paid offers saved for future payments.\n',link:this.LNPLink+"transactions/offers",linkCaption:"Offers",lnImplementation:"CLN"})),this.helpTopics.push(new ka({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 ka({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 ka({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 ka({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 ka({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 ka({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 ka({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 ka({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 ka({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/nodesettings",linkCaption:"Node Settings",lnImplementation:"ALL"})),this.helpTopics.push(new ka({question:"Application Settings",answer:'RTL also offers certain customizations on the application level\nGo to top right menu "Settings" page to access these options.\nDefault Node Option\nIf you are managing multiple nodes via RTL UI, you can select the default node to load upon login.\nAuthentication Option\nPassword and 2FA update options are available here.\nShow Bitcoin Config (if configured)\n Shows bitcoin config file.\n',link:"../settings/app",linkCaption:"Application Settings",lnImplementation:"ALL"}))}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||R)(t.Y36(zi.yh),t.Y36(Os.m))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-help"]],decls:8,vars:2,consts:[["fxLayout","column","fxFlex","100"],["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start start",1,"padding-gap-x"],["fxFlex","100",4,"ngFor","ngForOf"],["fxFlex","100"],["class","flat-expansion-panel help-expansion mb-2px",4,"ngIf"],[1,"flat-expansion-panel","help-expansion","mb-2px"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start start"],[1,"pre-wrap",3,"innerHTML"],[1,"mt-2",3,"routerLink"]],template:function(G,Z){1&G&&(t.TgZ(0,"div",0)(1,"div",1),t._UZ(2,"fa-icon",2),t.TgZ(3,"span",3),t._uU(4,"Help"),t.qZA()(),t.TgZ(5,"div",4)(6,"div",0),t.YNc(7,y0,2,1,"div",5),t.qZA()()()),2&G&&(t.xp6(2),t.Q6J("icon",Z.faQuestion),t.xp6(5),t.Q6J("ngForOf",Z.helpTopics))},dependencies:[on.sg,on.O5,$r.BN,Xi.xw,Xi.Wh,Xi.yH,Re.ib,Re.yz,Re.yK,Re.u4,Jn.rH],styles:[".mat-mdc-card-content[_ngcontent-%COMP%]{margin-bottom:4px}"]})}return R})();var C0=p(2572);function nu(R,z){1&R&&(t.TgZ(0,"mat-error"),t._uU(1,"Token is required."),t.qZA())}let w0=(()=>{class R{constructor(b,G){this.dialogRef=b,this.store=G,this.token=""}onClose(){this.dialogRef.close(null)}onVerifyToken(){if(!this.token)return!0;this.dialogRef.close(),this.store.dispatch((0,Sn.M6)({payload:{twoFAToken:this.token}}))}static#e=this.\u0275fac=function(G){return new(G||R)(t.Y36(Di.so),t.Y36(zi.yh))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-login-token"]],decls:19,vars:2,consts:[["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],["fxLayout","row",1,"padding-gap-x-large"],["fxLayout","column","fxFlex","100",3,"ngSubmit"],["tokenForm","ngForm"],["autoFocus","","matInput","","type","text","id","token","name","token","tabindex","2","required","",3,"ngModel","ngModelChange"],[4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","end center",1,"mt-1"],["mat-button","","color","primary","tabindex","4","type","submit"]],template:function(G,Z){1&G&&(t.TgZ(0,"div",0)(1,"div",1)(2,"mat-card-header",2)(3,"div",3)(4,"span",4),t._uU(5,"Two Factor Token"),t.qZA()(),t.TgZ(6,"button",5),t.NdJ("click",function(){return Z.onClose()}),t._uU(7,"X"),t.qZA()(),t.TgZ(8,"mat-card-content",6)(9,"form",7,8),t.NdJ("ngSubmit",function(){return Z.onVerifyToken()}),t.TgZ(11,"mat-form-field")(12,"mat-label"),t._uU(13,"Token"),t.qZA(),t.TgZ(14,"input",9),t.NdJ("ngModelChange",function(Lt){return Z.token=Lt}),t.qZA(),t.YNc(15,nu,2,0,"mat-error",10),t.qZA(),t.TgZ(16,"div",11)(17,"button",12),t._uU(18,"Verify Token"),t.qZA()()()()()()),2&G&&(t.xp6(14),t.Q6J("ngModel",Z.token),t.xp6(1),t.Q6J("ngIf",!Z.token))},dependencies:[on.O5,dt._Y,dt.Fj,dt.JJ,dt.JL,dt.Q7,dt.On,dt.F,Xi.xw,Xi.Wh,Xi.yH,Ye.lW,ar.dn,ar.dk,Tn.Nt,ut.KE,ut.hX,ut.TO,_t.h]})}return R})();function ru(R,z){1&R&&(t.TgZ(0,"mat-error"),t._uU(1,"Password is required."),t.qZA())}function t3(R,z){if(1&R&&(t.TgZ(0,"p",20)(1,"mat-icon",21),t._uU(2,"close"),t.qZA(),t._uU(3),t.qZA()),2&R){const b=t.oxw();t.xp6(3),t.hij(" ",b.loginErrorMessage," ")}}const R1=R=>({"padding-gap-large":R}),au=(R,z)=>({"font-size-200":R,"font-size-300":z});let ou=(()=>{class R{constructor(b,G,Z,Fe){this.logger=b,this.store=G,this.rtlEffects=Z,this.commonService=Fe,this.faUnlockAlt=en.B$L,this.password="",this.rtlSSO=0,this.rtlCookiePath="",this.accessKey="",this.flgShow=!1,this.screenSize="",this.screenSizeEnum=Yt.cu,this.loginErrorMessage="",this.apiCallStatusEnum=Yt.Bn,this.unSubs=[new Yi.x,new Yi.x,new Yi.x]}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),(0,C0.a)([this.store.select(Fr.ul),this.store.select(Fr.Sr)]).pipe((0,Ki.R)(this.unSubs[0])).subscribe(([b,G])=>{this.loginErrorMessage="",b.status===Yt.Bn.ERROR&&(this.loginErrorMessage=this.loginErrorMessage+("object"==typeof b.message?JSON.stringify(b.message):b.message),this.logger.error(b.message)),G.status===Yt.Bn.ERROR&&(this.loginErrorMessage=this.loginErrorMessage+("object"==typeof G.message?JSON.stringify(G.message):G.message),this.logger.error(G.message))}),this.store.select(Fr.Yj).pipe((0,Ki.R)(this.unSubs[1])).subscribe(b=>{this.appConfig=b,this.logger.info(b)})}onLogin(){if(!this.password)return!0;this.loginErrorMessage="",this.appConfig.enable2FA?(this.store.dispatch((0,Sn.qR)({payload:{maxWidth:"35rem",data:{component:w0}}})),this.rtlEffects.closeAlert.pipe((0,Ei.q)(1)).subscribe(b=>{b&&this.store.dispatch((0,Sn.x4)({payload:{password:ci(this.password),defaultPassword:Yt.kO.includes(this.password.toLowerCase()),twoFAToken:b.twoFAToken}}))})):this.store.dispatch((0,Sn.x4)({payload:{password:ci(this.password),defaultPassword:Yt.kO.includes(this.password.toLowerCase())}}))}resetData(){this.password="",this.loginErrorMessage="",this.flgShow=!1}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||R)(t.Y36(Se.mQ),t.Y36(zi.yh),t.Y36(Ji.V),t.Y36(ea.v))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-login"]],decls:28,vars:13,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"login-container"],["fxLayout","row","fxFlex.gt-sm","35","fxLayoutAlign","center center"],["fxLayout","row","fxFlex","45","fxLayoutAlign","center stretch"],["fxLayout","column","fxLayout.gt-sm","row","fxFlex","100","fxLayoutAlign","stretch stretch"],["fxFlex","35","fxLayoutAlign","center center",1,"bg-primary"],["alt","RTL Logo","src","assets/images/RTL-Horse-BY.svg",1,"rtl-logo-svg"],["fxFlex","65","fxLayout","column","fxLayoutAlign","center stretch",3,"ngClass"],["fxLayout","row","fxLayoutAlign","center center",1,"page-title-container","mt-2","p-0"],[1,"font-bold-500",3,"ngClass"],[1,"page-title"],[1,"pb-2"],["fxLayout","column","fxLayoutAlign","start space-between"],["loginForm","ngForm"],["autoFocus","","matInput","","id","password","name","password","tabindex","1","required","",3,"type","ngModel","ngModelChange"],["mat-icon-button","","matSuffix","","tabindex","2","type","button",3,"click"],[4,"ngIf"],["fxFlex","100","class","color-warn pre-wrap","fxLayoutAlign","start start",4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","end center",1,"mt-2"],["mat-stroked-button","","color","primary","tabindex","2","type","reset",1,"mr-1","mb-2",3,"click"],["mat-flat-button","","color","primary","tabindex","3","type","submit",3,"click"],["fxFlex","100","fxLayoutAlign","start start",1,"color-warn","pre-wrap"],[1,"mr-1","icon-small"]],template:function(G,Z){1&G&&(t.TgZ(0,"div",0)(1,"div",1)(2,"mat-card",2)(3,"div",3)(4,"div",4),t._UZ(5,"img",5),t.qZA(),t.TgZ(6,"div",6)(7,"mat-card-header",7)(8,"mat-card-title",8)(9,"span",9),t._uU(10,"Welcome"),t.qZA()()(),t.TgZ(11,"mat-card-content",10)(12,"form",11,12)(14,"mat-form-field")(15,"mat-label"),t._uU(16,"Password"),t.qZA(),t.TgZ(17,"input",13),t.NdJ("ngModelChange",function(Lt){return Z.password=Lt}),t.qZA(),t.TgZ(18,"button",14),t.NdJ("click",function(){return Z.flgShow=!Z.flgShow}),t.TgZ(19,"mat-icon"),t._uU(20),t.qZA()(),t.YNc(21,ru,2,0,"mat-error",15),t.qZA(),t.YNc(22,t3,4,1,"p",16),t.TgZ(23,"div",17)(24,"button",18),t.NdJ("click",function(){return Z.resetData()}),t._uU(25,"Clear"),t.qZA(),t.TgZ(26,"button",19),t.NdJ("click",function(){return Z.onLogin()}),t._uU(27,"Login"),t.qZA()()()()()()()()()),2&G&&(t.xp6(6),t.Q6J("ngClass",t.VKq(8,R1,Z.screenSize===Z.screenSizeEnum.XS)),t.xp6(2),t.Q6J("ngClass",t.WLB(10,au,Z.screenSize===Z.screenSizeEnum.XS,Z.screenSize!==Z.screenSizeEnum.XS)),t.xp6(9),t.Q6J("type",Z.flgShow?"text":"password")("ngModel",Z.password),t.xp6(1),t.uIk("aria-label","Hide password"),t.xp6(2),t.Oqu(Z.flgShow?"visibility_off":"visibility"),t.xp6(1),t.Q6J("ngIf",!Z.password),t.xp6(1),t.Q6J("ngIf",""!==Z.loginErrorMessage))},dependencies:[on.mk,on.O5,dt._Y,dt.Fj,dt.JJ,dt.JL,dt.Q7,dt.On,dt.F,Xi.xw,Xi.Wh,Xi.yH,pe.oO,Ye.lW,Ye.RK,ar.a8,ar.dn,ar.dk,ar.n5,Co.Hw,Tn.Nt,ut.KE,ut.hX,ut.TO,ut.R9,_t.h],styles:[".login-container[_ngcontent-%COMP%]{height:60vh;margin-top:15%}.login-container[_ngcontent-%COMP%] .mat-mdc-card[_ngcontent-%COMP%]{height:30rem}.login-container[_ngcontent-%COMP%] .rtl-logo-svg[_ngcontent-%COMP%]{width:100%}@media only screen and (max-width: 56.25em){.login-container[_ngcontent-%COMP%] .rtl-logo-svg[_ngcontent-%COMP%]{width:37%}}@media only screen and (max-width: 37.5em){.login-container[_ngcontent-%COMP%] .rtl-logo-svg[_ngcontent-%COMP%]{width:70%}}.login-container[_ngcontent-%COMP%] .material-icons.mat-icon[_ngcontent-%COMP%]{font-size:90%;cursor:pointer}"]})}return R})();var Bd=p(4740);let i3=(()=>{class R{constructor(b,G){this.activatedRoute=b,this.router=G,this.error={errorCode:"",errorMessage:""},this.faTimes=en.NBC,this.unsubs=[new Yi.x,new Yi.x]}ngOnInit(){this.activatedRoute.paramMap.pipe((0,Ki.R)(this.unsubs[0])).subscribe(b=>{this.error=window.history.state})}goToHelp(){this.router.navigate(["/help"])}static#e=this.\u0275fac=function(G){return new(G||R)(t.Y36(Jn.gz),t.Y36(Jn.F0))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-error"]],decls:13,vars:3,consts:[["fxLayout","row","fxFlex","100","fxLayoutAlign","center center"],["fxLayout","column","fxFlex","60","fxLayoutAlign","start center"],["fxLayout","row","fxLayoutAlign","center center",1,"page-title-container","padding-gap-large"],[1,"font-size-300","font-bold-500"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column","fxLayoutAlign","center center",1,"padding-gap-large"],[1,"box-text","font-size-120"],["fxLayout","row","fxLayoutAlign","center","fxFlex","80"],["mat-flat-button","","color","primary","type","button",1,"mt-2",3,"click"]],template:function(G,Z){1&G&&(t.TgZ(0,"div",0)(1,"mat-card",1)(2,"mat-card-header",2)(3,"mat-card-title",3),t._UZ(4,"fa-icon",4),t.TgZ(5,"span",5),t._uU(6),t.qZA()()(),t.TgZ(7,"mat-card-content",6)(8,"div",7),t._uU(9),t.qZA(),t.TgZ(10,"span",8)(11,"button",9),t.NdJ("click",function(){return Z.goToHelp()}),t._uU(12,"Go To Help"),t.qZA()()()()()),2&G&&(t.xp6(4),t.Q6J("icon",Z.faTimes),t.xp6(2),t.hij("Error ",Z.error.errorCode,""),t.xp6(3),t.Oqu(Z.error.errorMessage))},dependencies:[$r.BN,Xi.xw,Xi.Wh,Xi.yH,Ye.lW,ar.a8,ar.dn,ar.dk,ar.n5],encapsulation:2})}return R})();var wo=p(5525),Tc=p(6046),M0=p(3362),n3=p(6082);function su(R,z){1&R&&t._UZ(0,"span",16)}function Wl(R,z){1&R&&t._UZ(0,"span",17)}function al(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"form",18,4)(2,"div",19),t._UZ(3,"fa-icon",2),t.TgZ(4,"span"),t._uU(5,"Please ensure that "),t.TgZ(6,"strong"),t._uU(7,"experimental-offers"),t.qZA(),t._uU(8," flag is set to true in the Core Lightning config before enabling it in RTL. Click "),t.TgZ(9,"strong")(10,"a",20),t._uU(11,"here"),t.qZA()(),t._uU(12," to learn more about Core Lightning offers."),t.qZA()(),t.TgZ(13,"h4",21),t._uU(14,"Description"),t.qZA(),t.TgZ(15,"span"),t._uU(16,"Offers is a draft specification (also referred as BOLT12) for Lightning nodes and wallets, with experimental support in Core Lightning."),t.qZA(),t.TgZ(17,"h4",21),t._uU(18,"Links"),t.qZA(),t.TgZ(19,"span")(20,"a",22),t._uU(21,"Core lightning Bolt12"),t.qZA()(),t._UZ(22,"mat-divider",23),t.TgZ(23,"div",24),t._UZ(24,"fa-icon",2),t.TgZ(25,"span"),t._uU(26,"Do not get an Offer tattoo until spec is fully ratified!"),t.qZA()(),t.TgZ(27,"mat-slide-toggle",25),t.NdJ("ngModelChange",function(Z){t.CHM(b);const Fe=t.oxw(2);return t.KtG(Fe.enableOffers=Z)})("change",function(){t.CHM(b);const Z=t.oxw(2);return t.KtG(Z.onUpdateFeature())}),t._uU(28),t.qZA()()}if(2&R){const b=t.oxw(2);t.xp6(3),t.Q6J("icon",b.faInfoCircle),t.xp6(19),t.Q6J("inset",!0),t.xp6(2),t.Q6J("icon",b.faExclamationTriangle),t.xp6(3),t.Q6J("ngModel",b.enableOffers),t.xp6(1),t.hij("Enable Offers ",b.enableOffers?"(You can find Offers under Lightning -> Transactions -> Offers)":"","")}}function Ud(R,z){if(1&R&&(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&R){const b=t.oxw(3);t.xp6(2),t.Q6J("icon",b.faExclamationTriangle)}}function Gd(R,z){if(1&R&&(t.TgZ(0,"mat-option",47),t._uU(1),t.ALo(2,"titlecase"),t.qZA()),2&R){const b=z.$implicit;t.Q6J("value",b),t.xp6(1),t.hij(" ",t.lcZ(2,2,b.id)," ")}}function ol(R,z){if(1&R&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&R){const b=t.oxw(4);t.xp6(1),t.hij("",b.selPolicyType.placeholder," is required.")}}function N1(R,z){if(1&R&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&R){const b=t.oxw(4);t.xp6(1),t.AsE("",b.selPolicyType.placeholder," must be greater than or equal to ",b.selPolicyType.min,".")}}function cu(R,z){if(1&R&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&R){const b=t.oxw(4);t.xp6(1),t.AsE("",b.selPolicyType.placeholder," must be less than or equal to ",b.selPolicyType.max,".")}}function S0(R,z){1&R&&(t.TgZ(0,"mat-error"),t._uU(1,"Lease base fee is required."),t.qZA())}function E0(R,z){1&R&&(t.TgZ(0,"mat-error"),t._uU(1,"Lease base basis is required."),t.qZA())}function Yl(R,z){1&R&&(t.TgZ(0,"mat-error"),t._uU(1,"Max channel routing base fee is required."),t.qZA())}function H1(R,z){1&R&&(t.TgZ(0,"mat-error"),t._uU(1,"Max channel routing fee rate is required."),t.qZA())}const F1=(R,z)=>({"alert-danger":R,"alert-info":z});function z1(R,z){if(1&R&&(t.TgZ(0,"h4",48)(1,"span",49),t._uU(2),t.qZA()()),2&R){const b=t.oxw(4);t.xp6(1),t.Q6J("ngClass",t.WLB(2,F1,!!b.updateMsg.error,!!b.updateMsg.data)),t.xp6(1),t.hij(" ",b.updateMsg.error&&""!==b.updateMsg.error?"Error: "+b.updateMsg.error||0:b.updateMsg.data&&""!==b.updateMsg.data?b.updateMsg.data:"Successfully Updated the Funding Policy!"," ")}}function Zd(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"div",30)(1,"div",31),t._UZ(2,"fa-icon",2),t.TgZ(3,"span"),t._uU(4,"These config changes should be configured permanently via the config file on your CLN node otherwise the policy would need to be configured again, if your node restarts."),t.qZA()(),t.TgZ(5,"div",32)(6,"mat-form-field",33)(7,"mat-label"),t._uU(8,"Policy"),t.qZA(),t.TgZ(9,"mat-select",34),t.NdJ("ngModelChange",function(Z){t.CHM(b);const Fe=t.oxw(3);return t.KtG(Fe.selPolicyType=Z)})("selectionChange",function(){t.CHM(b);const Z=t.oxw(3);return t.KtG(Z.policyMod=null)}),t.YNc(10,Gd,3,4,"mat-option",35),t.qZA()(),t.TgZ(11,"mat-form-field",36)(12,"mat-label"),t._uU(13),t.qZA(),t.TgZ(14,"input",37,38),t.NdJ("ngModelChange",function(Z){t.CHM(b);const Fe=t.oxw(3);return t.KtG(Fe.policyMod=Z)}),t.qZA(),t.TgZ(16,"mat-hint"),t._uU(17),t.qZA(),t.YNc(18,ol,2,1,"mat-error",26)(19,N1,2,2,"mat-error",26)(20,cu,2,2,"mat-error",26),t.qZA()(),t.TgZ(21,"div",32)(22,"mat-form-field",36)(23,"mat-label"),t._uU(24,"Lease Base Fee (Sats)"),t.qZA(),t.TgZ(25,"input",39),t.NdJ("ngModelChange",function(Z){t.CHM(b);const Fe=t.oxw(3);return t.KtG(Fe.lease_fee_base_sat=Z)}),t.qZA(),t.YNc(26,S0,2,0,"mat-error",26),t.qZA(),t.TgZ(27,"mat-form-field",36)(28,"mat-label"),t._uU(29,"Lease Base Basis (bps)"),t.qZA(),t.TgZ(30,"input",40),t.NdJ("ngModelChange",function(Z){t.CHM(b);const Fe=t.oxw(3);return t.KtG(Fe.lease_fee_basis=Z)}),t.qZA(),t.YNc(31,E0,2,0,"mat-error",26),t.qZA()(),t.TgZ(32,"div",32)(33,"mat-form-field",36)(34,"mat-label"),t._uU(35,"Max Channel Routing Base Fee (Sats)"),t.qZA(),t.TgZ(36,"input",41),t.NdJ("ngModelChange",function(Z){t.CHM(b);const Fe=t.oxw(3);return t.KtG(Fe.channelFeeMaxBaseSat=Z)}),t.qZA(),t.YNc(37,Yl,2,0,"mat-error",26),t.qZA(),t.TgZ(38,"mat-form-field",36)(39,"mat-label"),t._uU(40,"Max Channel Routing Fee Rate (ppm)"),t.qZA(),t.TgZ(41,"input",42),t.NdJ("ngModelChange",function(Z){t.CHM(b);const Fe=t.oxw(3);return t.KtG(Fe.channelFeeMaxProportional=Z)}),t.qZA(),t.YNc(42,H1,2,0,"mat-error",26),t.qZA()(),t.YNc(43,z1,3,5,"h4",43),t.TgZ(44,"div",44)(45,"button",45),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw(3);return t.KtG(Z.onResetPolicy())}),t._uU(46,"Reset"),t.qZA(),t.TgZ(47,"button",46),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw(3);return t.KtG(Z.onUpdateFundingPolicy())}),t._uU(48,"Update"),t.qZA()()()}if(2&R){const b=t.oxw(3);t.xp6(2),t.Q6J("icon",b.faExclamationTriangle),t.xp6(7),t.Q6J("ngModel",b.selPolicyType),t.xp6(1),t.Q6J("ngForOf",b.policyTypes),t.xp6(3),t.Oqu(b.selPolicyType.placeholder),t.xp6(1),t.Q6J("step","fixed"===b.selPolicyType.id?1e3:10)("min",b.selPolicyType.min)("max",b.selPolicyType.max)("ngModel",b.policyMod),t.xp6(3),t.lnq("",b.selPolicyType.placeholder," should be between ",b.selPolicyType.min," and ",b.selPolicyType.max,""),t.xp6(1),t.Q6J("ngIf",!b.policyMod),t.xp6(1),t.Q6J("ngIf",b.policyMod<b.selPolicyType.min),t.xp6(1),t.Q6J("ngIf",b.policyMod>b.selPolicyType.max),t.xp6(5),t.Q6J("ngModel",b.lease_fee_base_sat),t.xp6(1),t.Q6J("ngIf",!b.lease_fee_base_sat),t.xp6(4),t.Q6J("ngModel",b.lease_fee_basis),t.xp6(1),t.Q6J("ngIf",!b.lease_fee_basis),t.xp6(5),t.Q6J("ngModel",b.channelFeeMaxBaseSat),t.xp6(1),t.Q6J("ngIf",!b.channelFeeMaxBaseSat),t.xp6(4),t.Q6J("ngModel",b.channelFeeMaxProportional),t.xp6(1),t.Q6J("ngIf",!b.channelFeeMaxProportional),t.xp6(1),t.Q6J("ngIf",b.flgUpdateCalled)}}function lu(R,z){if(1&R&&(t.TgZ(0,"form",18,4),t.YNc(2,Ud,12,1,"div",26)(3,Zd,49,23,"div",27),t.qZA()),2&R){const b=t.oxw(2);t.xp6(2),t.Q6J("ngIf",!b.features[1].enabled),t.xp6(1),t.Q6J("ngIf",b.features[1].enabled)}}function sl(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"mat-expansion-panel",9),t.NdJ("opened",function(){const Fe=t.CHM(b).index,Lt=t.oxw();return t.KtG(Lt.onPanelExpanded(Fe))}),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,su,1,0,"span",12)(7,Wl,1,0,"span",13),t._uU(8),t.qZA()()(),t.TgZ(9,"div",14),t.YNc(10,al,29,5,"form",15)(11,lu,4,2,"form",15),t.qZA()()}if(2&R){const b=z.$implicit,G=z.index;t.Q6J("expanded",!1),t.xp6(4),t.Oqu(b.name),t.xp6(2),t.Q6J("ngIf",b.enabled),t.xp6(1),t.Q6J("ngIf",!b.enabled),t.xp6(1),t.hij(" ",b.enabled?"Enabled":"Disabled"," "),t.xp6(2),t.Q6J("ngIf",0===G),t.xp6(1),t.Q6J("ngIf",1===G)}}let cc=(()=>{class R{constructor(b,G,Z,Fe){this.logger=b,this.store=G,this.dataService=Z,this.commonService=Fe,this.faInfoCircle=en.sqG,this.faExclamationTriangle=en.eHv,this.faCode=en.dT$,this.features=[{name:"Offers",enabled:!1},{name:"Channel Funding Policy",enabled:!1}],this.enableOffers=!1,this.fundingPolicy={},this.policyTypes=Yt.gB,this.selPolicyType=Yt.gB[0],this.flgUpdateCalled=!1,this.updateMsg={},this.unSubs=[new Yi.x,new Yi.x,new Yi.x,new Yi.x,new Yi.x]}ngOnInit(){this.dataService.listConfigs().pipe((0,Ki.R)(this.unSubs[0])).subscribe({next:b=>{this.logger.info("Received List Configs: "+JSON.stringify(b)),this.features[1].enabled=!!b["experimental-dual-fund"]},error:b=>{this.logger.error("List Configs Error: "+JSON.stringify(b)),this.features[1].enabled=!1}}),this.store.select(Fr.dT).pipe((0,Ki.R)(this.unSubs[1])).subscribe(b=>{this.selNode=b,this.enableOffers=this.selNode.Settings.enableOffers||!1,this.features[0].enabled=this.enableOffers,this.logger.info(this.selNode)}),this.store.select(Nr.XP).pipe((0,Ki.R)(this.unSubs[2])).subscribe(b=>{this.policyTypes[2].max=b.balance.totalBalance||1e3})}onPanelExpanded(b){1===b&&!this.fundingPolicy.policy&&this.dataService.getOrUpdateFunderPolicy().pipe((0,Ki.R)(this.unSubs[3])).subscribe(G=>{this.logger.info("Received Funder Update Policy: "+JSON.stringify(G)),this.fundingPolicy=G,this.fundingPolicy.policy&&(this.selPolicyType=Yt.gB.find(Z=>Z.id===this.fundingPolicy.policy)||this.policyTypes[0]),this.policyMod=this.fundingPolicy.policy_mod||0===this.fundingPolicy.policy_mod?this.fundingPolicy.policy_mod:null,this.lease_fee_base_sat=this.fundingPolicy.lease_fee_base_msat?this.fundingPolicy.lease_fee_base_msat/1e3:0===this.fundingPolicy.lease_fee_base_msat?0:null,this.lease_fee_basis=this.fundingPolicy.lease_fee_basis||0===this.fundingPolicy.lease_fee_basis?this.fundingPolicy.lease_fee_basis:null,this.channelFeeMaxBaseSat=this.fundingPolicy.channel_fee_max_base_msat?this.fundingPolicy.channel_fee_max_base_msat/1e3:0===this.fundingPolicy.channel_fee_max_base_msat?0:null,this.channelFeeMaxProportional=this.fundingPolicy.channel_fee_max_proportional_thousandths||0===this.fundingPolicy.channel_fee_max_proportional_thousandths?1e3*this.fundingPolicy.channel_fee_max_proportional_thousandths:null})}onUpdateFeature(){this.logger.info(this.selNode),this.selNode.Settings.enableOffers=this.enableOffers,this.features[0].enabled=this.enableOffers}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,Ki.R)(this.unSubs[4])).subscribe({next:b=>{this.logger.info(b),this.fundingPolicy=b,this.updateMsg={data:"Compact Lease: "+b.compact_lease},setTimeout(()=>{this.flgUpdateCalled=!1},5e3)},error:b=>{this.logger.error(b),this.updateMsg={error:this.commonService.extractErrorMessage(b,"Error in updating funder policy")},setTimeout(()=>{this.flgUpdateCalled=!1},5e3)}})}onResetPolicy(){this.flgUpdateCalled=!1,this.updateMsg={},this.selPolicyType=this.fundingPolicy.policy?Yt.gB.find(b=>b.id===this.fundingPolicy.policy)||this.policyTypes[0]:Yt.gB[0],this.policyMod=this.fundingPolicy.policy_mod||0===this.fundingPolicy.policy_mod?this.fundingPolicy.policy_mod:null,this.lease_fee_base_sat=this.fundingPolicy.lease_fee_base_msat?this.fundingPolicy.lease_fee_base_msat/1e3:0===this.fundingPolicy.lease_fee_base_msat?0:null,this.lease_fee_basis=this.fundingPolicy.lease_fee_basis||0===this.fundingPolicy.lease_fee_basis?this.fundingPolicy.lease_fee_basis:null,this.channelFeeMaxBaseSat=this.fundingPolicy.channel_fee_max_base_msat?this.fundingPolicy.channel_fee_max_base_msat/1e3:0===this.fundingPolicy.channel_fee_max_base_msat?0:null,this.channelFeeMaxProportional=this.fundingPolicy.channel_fee_max_proportional_thousandths||0===this.fundingPolicy.channel_fee_max_proportional_thousandths?1e3*this.fundingPolicy.channel_fee_max_proportional_thousandths:null}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||R)(t.Y36(Se.mQ),t.Y36(zi.yh),t.Y36(Tc.D),t.Y36(ea.v))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-experimental-settings"]],decls:13,vars:3,consts:[["fxLayout","column","fxFlex","100",3,"perfectScrollbar"],[1,"alert","alert-info","mt-1"],[1,"mr-1","alert-icon",3,"icon"],["fxLayout","column","fxLayoutAlign","start stretch",1,"page-sub-title-container","mt-1"],["form","ngForm"],["fxLayout","row"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["class","flat-expansion-panel my-1",3,"expanded","opened",4,"ngFor","ngForOf"],[1,"flat-expansion-panel","my-1",3,"expanded","opened"],["fxFlex","100","fxLayoutAlign","space-between center"],[1,"font-bold-500"],["class","dot green",4,"ngIf"],["class","dot yellow",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch","class","page-sub-title-container",4,"ngIf"],[1,"dot","green"],[1,"dot","yellow"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"page-sub-title-container"],["fxFlex","100",1,"alert","alert-info"],["href","http://bolt12.org","target","_blank"],[1,"mt-2"],["href","https://github.com/lightningnetwork/lightning-rfc/pull/798 ","target","blank"],[1,"my-2",3,"inset"],[1,"alert","alert-warn"],["autoFocus","","tabindex","1","color","primary","name","enableOfr",1,"my-1",3,"ngModel","ngModelChange","change"],[4,"ngIf"],["fxLayout","column",4,"ngIf"],["fxFlex","100","fxLayout","row",1,"alert","alert-warn"],["href","https://medium.com/blockstream/setting-up-liquidity-ads-in-c-lightning-54e4c59c091d","target","_blank"],["fxLayout","column"],["fxFlex","100","fxLayout","row",1,"alert","alert-warn","mb-2"],["fxLayout","column","fxLayout.gt-sm","row","fxFlex","100","fxLayoutAlign.gt-sm","space-between center","fxLayoutAlign","start stretch"],["fxLayout","column","fxFlex","49","fxLayoutAlign","start end"],["autofocus","","tabindex","1","name","policy",3,"ngModel","ngModelChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],["fxLayout","column","fxFlex","49"],["matInput","","type","number","tabindex","2","required","","name","plcMod",3,"step","min","max","ngModel","ngModelChange"],["plcMod","ngModel"],["matInput","","type","number","step","100","min","0","tabindex","3","required","","name","lease_fee_base_sat",3,"ngModel","ngModelChange"],["matInput","","type","number","step","1","min","0","tabindex","4","required","","name","lease_fee_basis",3,"ngModel","ngModelChange"],["matInput","","type","number","step","100","min","0","tabindex","5","required","","name","channelFeeMaxBaseSat",3,"ngModel","ngModelChange"],["matInput","","type","number","step","1000","min","0","tabindex","6","required","","name","channelFeeMaxProportional",3,"ngModel","ngModelChange"],["fxLayoutAlign","start stretch","class","font-bold-500 mt-2",4,"ngIf"],["fxLayout","row",1,"my-1"],["mat-stroked-button","","color","primary","tabindex","7",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","tabindex","8",3,"click"],[3,"value"],["fxLayoutAlign","start stretch",1,"font-bold-500","mt-2"],["fxFlex","100",1,"alert",3,"ngClass"]],template:function(G,Z){1&G&&(t.TgZ(0,"div",0)(1,"div",1),t._UZ(2,"fa-icon",2),t.TgZ(3,"span"),t._uU(4,"Experimental features should be enabled with caution. Many such features may be implementation specific and not ratified for the BOLT spec. Enabling these may still result in a broken experience. Referencing relevant feature documentation is highly advised before enabling."),t.qZA()(),t.TgZ(5,"form",3,4)(7,"div",5),t._UZ(8,"fa-icon",6),t.TgZ(9,"span",7),t._uU(10,"Features"),t.qZA()(),t.TgZ(11,"mat-accordion"),t.YNc(12,sl,12,7,"mat-expansion-panel",8),t.qZA()()()),2&G&&(t.xp6(2),t.Q6J("icon",Z.faInfoCircle),t.xp6(6),t.Q6J("icon",Z.faCode),t.xp6(4),t.Q6J("ngForOf",Z.features))},dependencies:[on.mk,on.sg,on.O5,dt._Y,dt.Fj,dt.wV,dt.JJ,dt.JL,dt.Q7,dt.qQ,dt.Fd,dt.On,dt.F,$r.BN,Xi.xw,Xi.Wh,Xi.yH,pe.oO,Ye.lW,Re.pp,Re.ib,Re.yz,Re.yK,Tn.Nt,ut.KE,ut.hX,ut.bx,ut.TO,Fa.d,ti.gD,Ne.ey,He.Rr,ft.$V,_t.h,M0.F,n3.q,on.rS],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]})}return R})(),V1=(()=>{class R{constructor(){}static#e=this.\u0275fac=function(G){return new(G||R)};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-no-service-found"]],decls:6,vars:0,consts:[["fxLayout","column",1,"padding-gap-x"],["fxLayout","column",1,"padding-gap-large"],["fxLayout","column","fxLayoutAlign","start start"],[1,"box-text"]],template:function(G,Z){1&G&&(t.TgZ(0,"div",0)(1,"mat-card")(2,"mat-card-content",1)(3,"div",2)(4,"div",3),t._uU(5,"No Service Found!"),t.qZA()()()()())},dependencies:[Xi.xw,Xi.Wh,ar.a8,ar.dn],encapsulation:2})}return R})();const du=[{path:"",pathMatch:"full",redirectTo:"login"},{path:"lnd",loadChildren:()=>Promise.all([p.e(758),p.e(570)]).then(p.bind(p,4570)).then(R=>R.LNDModule),canActivate:[(0,wo.a1)()]},{path:"cln",loadChildren:()=>Promise.all([p.e(758),p.e(125)]).then(p.bind(p,7125)).then(R=>R.CLNModule),canActivate:[(0,wo.a1)()]},{path:"ecl",loadChildren:()=>Promise.all([p.e(758),p.e(456)]).then(p.bind(p,6456)).then(R=>R.ECLModule),canActivate:[(0,wo.a1)()]},{path:"settings",component:Is,canActivate:[(0,wo.a1)()],children:[{path:"",pathMatch:"full",redirectTo:"app"},{path:"app",component:di,canActivate:[(0,wo.a1)()]},{path:"auth",component:Uo,canActivate:[(0,wo.a1)()]},{path:"bconfig",component:vd,canActivate:[(0,wo.a1)()]}]},{path:"config",component:_r,canActivate:[(0,wo.a1)()],children:[{path:"",pathMatch:"full",redirectTo:"nodesettings"},{path:"nodesettings",component:Qn,canActivate:[(0,wo.a1)()]},{path:"pglayout",component:jc,canActivate:[(0,wo.a1)()]},{path:"services",component:Hf,canActivate:[(0,wo.a1)()],children:[{path:"",pathMatch:"full",redirectTo:"loop"},{path:"loop",component:Sl,canActivate:[(0,wo.a1)()]},{path:"boltz",component:b1,canActivate:[(0,wo.a1)()]},{path:"noservice",component:V1}]},{path:"experimental",component:cc,canActivate:[(0,wo.a1)()]},{path:"lnconfig",component:Gc,canActivate:[(0,wo.a1)()]}]},{path:"services",component:Qc,canActivate:[(0,wo.a1)()],children:[{path:"",pathMatch:"full",redirectTo:"loop"},{path:"loop",pathMatch:"full",redirectTo:"loop/loopout"},{path:"loop/:selTab",component:G2},{path:"boltz",pathMatch:"full",redirectTo:"boltz/swapout"},{path:"boltz/:selTab",component:oc}]},{path:"help",component:x0},{path:"login",component:ou},{path:"error",component:i3},{path:"**",component:Bd.w}],hu=Jn.Bz.forRoot(du,{onSameUrlNavigation:"reload",scrollPositionRestoration:"enabled"});var T0=p(8339),Wd=p(5256),uu=p(5940),ho=p(2651),B1=p(1274),jl=p(1894),ts=p(8445);const ps={LNDChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:en.HLz,link:"/lnd/home",userPersona:Yt.ol.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:en.nNP,link:"/lnd/onchain",userPersona:Yt.ol.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:en.BDt,link:"/lnd/connections",userPersona:Yt.ol.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:en.FVb,link:"/lnd/connections",userPersona:Yt.ol.ALL},{id:32,parentId:3,name:"Transactions",iconType:"FA",icon:en.Ssp,link:"/lnd/transactions",userPersona:Yt.ol.ALL},{id:33,parentId:3,name:"Routing",iconType:"FA",icon:en.SuH,link:"/lnd/routing",userPersona:Yt.ol.ALL},{id:34,parentId:3,name:"Reports",iconType:"FA",icon:en.koM,link:"/lnd/reports",userPersona:Yt.ol.ALL},{id:35,parentId:3,name:"Graph Lookup",iconType:"FA",icon:en.wn1,link:"/lnd/graph",userPersona:Yt.ol.ALL},{id:36,parentId:3,name:"Sign/Verify",iconType:"FA",icon:en.hkK,link:"/lnd/messages",userPersona:Yt.ol.ALL},{id:37,parentId:3,name:"Backup",iconType:"FA",icon:en.q7m,link:"/lnd/channelbackup",userPersona:Yt.ol.ALL},{id:38,parentId:3,name:"Network",iconType:"FA",icon:en.TmZ,link:"/lnd/network",userPersona:Yt.ol.OPERATOR},{id:39,parentId:3,name:"Node/Network",iconType:"FA",icon:en.xf3,link:"/lnd/network",userPersona:Yt.ol.MERCHANT}]},{id:4,parentId:0,name:"Services",iconType:"FA",icon:en.Krp,link:"/services/loop",userPersona:Yt.ol.ALL,children:[{id:41,parentId:4,name:"Loop",iconType:"FA",icon:en.vqe,link:"/services/loop",userPersona:Yt.ol.ALL},{id:42,parentId:4,name:"Boltz",iconType:"SVG",icon:"boltzIconBlock",link:"/services/boltz",userPersona:Yt.ol.ALL}]},{id:5,parentId:0,name:"Node Config",iconType:"FA",icon:en.CgH,link:"/config",userPersona:Yt.ol.ALL},{id:6,parentId:0,name:"Help",iconType:"FA",icon:en.Psp,link:"/help",userPersona:Yt.ol.ALL}],CLNChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:en.HLz,link:"/cln/home",userPersona:Yt.ol.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:en.nNP,link:"/cln/onchain",userPersona:Yt.ol.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:en.BDt,link:"/cln/connections",userPersona:Yt.ol.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:en.FVb,link:"/cln/connections",userPersona:Yt.ol.ALL},{id:32,parentId:3,name:"Liquidity Ads",iconType:"FA",icon:en.Acd,link:"/cln/liquidityads",userPersona:Yt.ol.ALL},{id:33,parentId:3,name:"Transactions",iconType:"FA",icon:en.Ssp,link:"/cln/transactions",userPersona:Yt.ol.ALL},{id:34,parentId:3,name:"Routing",iconType:"FA",icon:en.SuH,link:"/cln/routing",userPersona:Yt.ol.ALL},{id:35,parentId:3,name:"Reports",iconType:"FA",icon:en.koM,link:"/cln/reports",userPersona:Yt.ol.ALL},{id:36,parentId:3,name:"Graph Lookup",iconType:"FA",icon:en.wn1,link:"/cln/graph",userPersona:Yt.ol.ALL},{id:37,parentId:3,name:"Sign/Verify",iconType:"FA",icon:en.hkK,link:"/cln/messages",userPersona:Yt.ol.ALL},{id:38,parentId:3,name:"Fee Rates",iconType:"FA",icon:en.USL,link:"/cln/rates",userPersona:Yt.ol.OPERATOR},{id:39,parentId:3,name:"Node/Fee Rates",iconType:"FA",icon:en.xf3,link:"/cln/rates",userPersona:Yt.ol.MERCHANT}]},{id:4,parentId:0,name:"Services",iconType:"FA",icon:en.Krp,link:"/services/loop",userPersona:Yt.ol.ALL,children:[{id:42,parentId:4,name:"Boltz",iconType:"SVG",icon:"boltzIconBlock",link:"/services/boltz",userPersona:Yt.ol.ALL}]},{id:5,parentId:0,name:"Node Config",iconType:"FA",icon:en.CgH,link:"/config",userPersona:Yt.ol.ALL},{id:6,parentId:0,name:"Help",iconType:"FA",icon:en.Psp,link:"/help",userPersona:Yt.ol.ALL}],ECLChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:en.HLz,link:"/ecl/home",userPersona:Yt.ol.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:en.nNP,link:"/ecl/onchain",userPersona:Yt.ol.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:en.BDt,link:"/ecl/connections",userPersona:Yt.ol.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:en.FVb,link:"/ecl/connections",userPersona:Yt.ol.ALL},{id:32,parentId:3,name:"Transactions",iconType:"FA",icon:en.Ssp,link:"/ecl/transactions",userPersona:Yt.ol.ALL},{id:33,parentId:3,name:"Routing",iconType:"FA",icon:en.SuH,link:"/ecl/routing",userPersona:Yt.ol.ALL},{id:34,parentId:3,name:"Reports",iconType:"FA",icon:en.koM,link:"/ecl/reports",userPersona:Yt.ol.ALL},{id:35,parentId:3,name:"Graph Lookup",iconType:"FA",icon:en.wn1,link:"/ecl/graph",userPersona:Yt.ol.ALL}]},{id:4,parentId:0,name:"Node Config",iconType:"FA",icon:en.CgH,link:"/config",userPersona:Yt.ol.ALL},{id:5,parentId:0,name:"Help",iconType:"FA",icon:en.Psp,link:"/help",userPersona:Yt.ol.ALL}]};function G1(R,z){if(1&R&&(t.TgZ(0,"mat-option",11),t._uU(1),t.qZA()),2&R){const b=z.$implicit;t.Q6J("value",b.index),t.xp6(1),t.AsE(" ",b.lnNode," (",b.lnImplementation,") ")}}function A0(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"mat-select",9),t.NdJ("selectionChange",function(Z){t.CHM(b);const Fe=t.oxw();return t.KtG(Fe.onNodeSelectionChange(Z.value))}),t.TgZ(1,"perfect-scrollbar"),t.YNc(2,G1,2,3,"mat-option",10),t.qZA()()}if(2&R){const b=t.oxw();t.Q6J("value",b.selConfigNodeIndex),t.xp6(2),t.Q6J("ngForOf",b.appConfig.nodes)}}function D0(R,z){if(1&R&&(t.TgZ(0,"span",21),t.GkF(1,22),t.qZA()),2&R){const b=t.oxw().$implicit;t.oxw(2);const G=t.MAs(11);t.xp6(1),t.Q6J("ngTemplateOutlet","boltzIconBlock"===b.icon?G:null)}}function fu(R,z){if(1&R&&t._UZ(0,"fa-icon",23),2&R){const b=t.oxw().$implicit;t.Q6J("icon",b.icon)}}function Yd(R,z){if(1&R&&(t.TgZ(0,"mat-icon",24),t._uU(1),t.qZA()),2&R){const b=t.oxw().$implicit;t.xp6(1),t.Oqu(b.icon)}}function mu(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"mat-tree-node",15)(1,"div",16),t.NdJ("click",function(){const Fe=t.CHM(b).$implicit,Lt=t.oxw(2);return t.KtG(Lt.onChildNavClicked(Fe))}),t.TgZ(2,"div",17),t.YNc(3,D0,2,1,"span",18)(4,fu,1,1,"fa-icon",19)(5,Yd,2,1,"mat-icon",20),t.TgZ(6,"span"),t._uU(7),t.qZA()()()()}if(2&R){const b=z.$implicit;t.s9C("routerLink",b.link),t.xp6(3),t.Q6J("ngIf","SVG"===b.iconType),t.xp6(1),t.Q6J("ngIf","FA"===b.iconType),t.xp6(1),t.Q6J("ngIf",!b.iconType),t.xp6(2),t.Oqu(b.name)}}function L0(R,z){if(1&R&&(t.TgZ(0,"span",32),t.GkF(1,22),t.qZA()),2&R){const b=t.oxw().$implicit;t.xp6(1),t.Q6J("ngTemplateOutlet",b.icon)}}function lc(R,z){if(1&R&&t._UZ(0,"fa-icon",23),2&R){const b=t.oxw().$implicit;t.Q6J("icon",b.icon)}}function I0(R,z){if(1&R&&(t.TgZ(0,"mat-icon",24),t._uU(1),t.qZA()),2&R){const b=t.oxw().$implicit;t.xp6(1),t.Oqu(b.icon)}}function Z1(R,z){if(1&R&&(t.TgZ(0,"mat-nested-tree-node",25)(1,"div",26)(2,"div",27),t.YNc(3,L0,2,1,"span",28)(4,lc,1,1,"fa-icon",19)(5,I0,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&R){const b=z.$implicit,G=t.oxw(2);t.xp6(3),t.Q6J("ngIf","SVG"===b.iconType),t.xp6(1),t.Q6J("ngIf","FA"===b.iconType),t.xp6(1),t.Q6J("ngIf",!b.iconType),t.xp6(2),t.Oqu(b.name),t.xp6(1),t.uIk("aria-label","toggle "+b.name),t.xp6(2),t.Oqu(G.treeControlNested.isExpanded(b)?"arrow_drop_up":"arrow_drop_down"),t.xp6(1),t.ekj("tree-children-invisible",!G.treeControlNested.isExpanded(b))}}function k0(R,z){if(1&R&&(t.TgZ(0,"mat-tree",5,12),t.YNc(2,mu,8,5,"mat-tree-node",13)(3,Z1,13,8,"mat-nested-tree-node",14),t.qZA()),2&R){const b=t.oxw();t.Q6J("dataSource",b.navMenus)("treeControl",b.treeControlNested),t.xp6(3),t.Q6J("matTreeNodeDefWhen",b.hasChild)}}function Kl(R,z){if(1&R&&(t.TgZ(0,"span",37),t.GkF(1,22),t.qZA()),2&R){const b=t.oxw().$implicit;t.xp6(1),t.Q6J("ngTemplateOutlet",b.icon)}}function cl(R,z){if(1&R&&t._UZ(0,"fa-icon",38),2&R){const b=t.oxw().$implicit;t.s9C("matTooltip",b.name),t.Q6J("icon",b.icon)}}function O0(R,z){if(1&R&&(t.TgZ(0,"mat-icon",39),t._uU(1),t.qZA()),2&R){const b=t.oxw().$implicit;t.s9C("matTooltip",b.name),t.xp6(1),t.Oqu(b.icon)}}function P0(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"mat-tree-node",33),t.NdJ("click",function(){const Fe=t.CHM(b).$implicit,Lt=t.oxw();return t.KtG(Lt.onShowData(Fe))}),t.YNc(1,Kl,2,1,"span",34)(2,cl,1,2,"fa-icon",35)(3,O0,2,2,"mat-icon",36),t.TgZ(4,"span"),t._uU(5),t.qZA()()}if(2&R){const b=z.$implicit;t.xp6(1),t.Q6J("ngIf","SVG"===b.iconType),t.xp6(1),t.Q6J("ngIf","FA"===b.iconType),t.xp6(1),t.Q6J("ngIf",!b.iconType),t.xp6(2),t.Oqu(b.name)}}function W1(R,z){if(1&R&&(t.TgZ(0,"span",32),t.GkF(1,22),t.qZA()),2&R){const b=t.oxw().$implicit;t.xp6(1),t.Q6J("ngTemplateOutlet",b.icon)}}function Y1(R,z){if(1&R&&t._UZ(0,"fa-icon",38),2&R){const b=t.oxw().$implicit;t.s9C("matTooltip",b.name),t.Q6J("icon",b.icon)}}function dc(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"mat-tree-node",33),t.NdJ("click",function(){const Fe=t.CHM(b).$implicit,Lt=t.oxw(2);return t.KtG(Lt.onClick(Fe))}),t.YNc(1,W1,2,1,"span",28)(2,Y1,1,2,"fa-icon",35),t.TgZ(3,"span"),t._uU(4),t.qZA()()}if(2&R){const b=z.$implicit;t.xp6(1),t.Q6J("ngIf","SVG"===b.iconType),t.xp6(1),t.Q6J("ngIf","FA"===b.iconType),t.xp6(2),t.Oqu(b.name)}}function Ac(R,z){if(1&R&&(t.TgZ(0,"mat-tree",5),t.YNc(1,dc,5,3,"mat-tree-node",6),t.qZA()),2&R){const b=t.oxw();t.Q6J("dataSource",b.navMenusLogout)("treeControl",b.treeControlLogout)}}function Ql(R,z){1&R&&(t.O4$(),t.TgZ(0,"svg",40)(1,"g",41)(2,"g",42),t._UZ(3,"circle",43)(4,"path",44)(5,"path",45),t.qZA()()())}let pu=(()=>{class R{constructor(b,G,Z,Fe,Lt,ei){this.logger=b,this.commonService=G,this.sessionService=Z,this.store=Fe,this.actions=Lt,this.rtlEffects=ei,this.ChildNavClicked=new t.vpe,this.faEject=en.KOR,this.faEye=en.Mdf,this.version="",this.information={},this.informationChain={},this.flgLoading=!0,this.logoutNode=[{id:200,parentId:0,name:"Logout",iconType:"FA",icon:en.KOR}],this.showDataNodes=[{id:1e3,parentId:0,name:"Public Key",iconType:"FA",icon:en.Mdf}],this.showLogout=!1,this.numPendingChannels=0,this.smallScreen=!1,this.childRootRoute="",this.userPersonaEnum=Yt.ol,this.unSubs=[new Yi.x,new Yi.x,new Yi.x,new Yi.x,new Yi.x,new Yi.x],this.treeControlNested=new jl.VY(fi=>fi.children),this.treeControlLogout=new jl.VY(fi=>fi.children),this.treeControlShowData=new jl.VY(fi=>fi.children),this.navMenus=new ts.WX,this.navMenusLogout=new ts.WX,this.navMenusShowData=new ts.WX,this.hasChild=(fi,Mi)=>!!Mi.children&&Mi.children.length>0,this.version=Yt.q4,ps.LNDChildren&&200===ps.LNDChildren[ps.LNDChildren.length-1].id&&ps.LNDChildren.pop(),this.navMenus.data=ps.LNDChildren||[],this.navMenusLogout.data=this.logoutNode,this.navMenusShowData.data=this.showDataNodes}ngOnInit(){const b=this.sessionService.getItem("token");this.showLogout=!!b,this.flgLoading=!!b,this.store.select(Fr.Yj).pipe((0,Ki.R)(this.unSubs[0])).subscribe(G=>{this.appConfig=G}),this.store.select(Fr.gW).pipe((0,Ki.R)(this.unSubs[1])).subscribe(G=>{if(this.information=G.nodeDate,this.information.identity_pubkey){if(this.information.chains&&"string"==typeof this.information.chains[0])this.informationChain.chain=this.information.chains[0].toString(),this.informationChain.network=this.information.testnet?"Testnet":"Mainnet";else if(this.information&&this.information.chains&&this.information.chains.length&&this.information.chains.length>0&&"object"==typeof this.information.chains[0]&&this.information.chains[0].hasOwnProperty("chain")){const Z=this.information.chains[0];this.informationChain.chain=Z.chain,this.informationChain.network=Z.network}}else this.informationChain.chain="",this.informationChain.network="";this.flgLoading=!this.information.identity_pubkey,window.innerWidth<=414&&(this.smallScreen=!0),this.selNode=G.selNode,this.selConfigNodeIndex=+(G.selNode?.index||0),this.selNode&&this.selNode.lnImplementation&&this.filterSideMenuNodes(),this.logger.info(G)}),this.sessionService.watchSession().pipe((0,Ki.R)(this.unSubs[2])).subscribe(G=>{this.showLogout=!!G.token,this.flgLoading=!!G.token}),this.actions.pipe((0,Ki.R)(this.unSubs[3]),(0,dr.h)(G=>G.type===Yt.pg.LOGOUT)).subscribe(G=>{this.showLogout=!1})}onClick(b){"Logout"===b.name&&(this.store.dispatch((0,Sn.c1)({payload:{data:{type:Yt.n_.CONFIRM,alertTitle:"Logout",titleMessage:"Logout from this device?",noBtnText:"Cancel",yesBtnText:"Logout"}}})),this.rtlEffects.closeConfirm.pipe((0,Ki.R)(this.unSubs[4])).subscribe(G=>{G&&(this.showLogout=!1,this.store.dispatch((0,Sn.kS)()))})),this.ChildNavClicked.emit(b)}onChildNavClicked(b){this.ChildNavClicked.emit(b)}filterSideMenuNodes(){switch(this.selNode?.lnImplementation?.toUpperCase()){case"CLN":this.loadCLNMenu();break;case"ECL":this.loadECLMenu();break;default:this.loadLNDMenu()}}loadLNDMenu(){let b=[];b=JSON.parse(JSON.stringify(ps.LNDChildren)),this.navMenus.data=b?.filter(G=>G.children&&G.children.length?(G.children=G.children?.filter(Z=>(Z.userPersona===Yt.ol.ALL||Z.userPersona===this.selNode.Settings.userPersona)&&"/services/loop"!==Z.link&&"/services/boltz"!==Z.link||"/services/loop"===Z.link&&this.selNode.Settings.swapServerUrl&&""!==this.selNode.Settings.swapServerUrl.trim()||"/services/boltz"===Z.link&&this.selNode.Settings.boltzServerUrl&&""!==this.selNode.Settings.boltzServerUrl.trim()),G.children.length>0):G.userPersona===Yt.ol.ALL||G.userPersona===this.selNode.Settings.userPersona)}loadCLNMenu(){let b=[];b=JSON.parse(JSON.stringify(ps.CLNChildren)),this.navMenus.data=b?.filter(G=>G.children&&G.children.length?(G.children=G.children?.filter(Z=>(Z.userPersona===Yt.ol.ALL||Z.userPersona===this.selNode.Settings.userPersona)&&"/services/peerswap"!==Z.link||"/services/peerswap"===Z.link&&this.selNode.Settings.enablePeerswap||"/services/boltz"===Z.link&&this.selNode.Settings.boltzServerUrl&&""!==this.selNode.Settings.boltzServerUrl.trim()),G.children.length>0):G.userPersona===Yt.ol.ALL||G.userPersona===this.selNode.Settings.userPersona)}loadECLMenu(){this.navMenus.data=JSON.parse(JSON.stringify(ps.ECLChildren))}onShowData(b){this.store.dispatch((0,Sn.tj)()),this.ChildNavClicked.emit("showData")}onNodeSelectionChange(b){const G=this.selConfigNodeIndex;this.selConfigNodeIndex=b;const Z=this.appConfig.nodes.find(Fe=>+Fe.index===b);this.store.dispatch((0,Sn.fk)({payload:{uiMessage:Yt.m6.UPDATE_SELECTED_NODE,prevLnNodeIndex:+G,currentLnNode:Z||null,isInitialSetup:!1}})),this.ChildNavClicked.emit("selectNode")}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||R)(t.Y36(Se.mQ),t.Y36(ea.v),t.Y36(Os.m),t.Y36(zi.yh),t.Y36(oo.eX),t.Y36(Ji.V))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-side-navigation"]],viewQuery:function(G,Z){if(1&G&&t.Gf(ts.gi,5),2&G){let Fe;t.iGM(Fe=t.CRH())&&(Z.tree=Fe.first)}},outputs:{ChildNavClicked:"ChildNavClicked"},decls:12,vars:5,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between start",3,"perfectScrollbar"],["fxLayout","column","fxFlex","90","fxLayoutAlign","start stretch",1,"w-100"],["class","m-2 multi-node-select",3,"value","selectionChange",4,"ngIf"],[1,"w-100"],[3,"dataSource","treeControl",4,"ngIf"],[3,"dataSource","treeControl"],[3,"click",4,"matTreeNodeDef"],["fxLayout","column","fxLayoutAlign","end stretch",1,"w-100"],["boltzIconBlock",""],[1,"m-2","multi-node-select",3,"value","selectionChange"],["tabindex","1",3,"value",4,"ngFor","ngForOf"],["tabindex","1",3,"value"],["tree",""],["matTreeNodeToggle","","routerLinkActive","active-link",3,"routerLink",4,"matTreeNodeDef"],["fxLayout","column","matTreeNodeToggle","",4,"matTreeNodeDef","matTreeNodeDefWhen"],["matTreeNodeToggle","","routerLinkActive","active-link",3,"routerLink"],["tabindex","2",3,"click"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start center"],["class","fa-icon-small mr-2","fxLayout","row","fxFlex","100","fxLayoutAlign","start center",4,"ngIf"],["class","fa-icon-small mr-2",3,"icon",4,"ngIf"],["class","mat-icon-36",4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start center",1,"fa-icon-small","mr-2"],[3,"ngTemplateOutlet"],[1,"fa-icon-small","mr-2",3,"icon"],[1,"mat-icon-36"],["fxLayout","column","matTreeNodeToggle",""],["fxLayout","row","fxLayoutAlign","start center",1,"mat-nested-tree-node-parent"],["fxFlex","80","fxLayoutAlign","start center"],["class","mr-2",4,"ngIf"],["fxFlex","20","mat-icon-button","","fxLayoutAlign","end center",1,"btn-icon-small"],[1,"mat-nested-tree-node-child"],["matTreeNodeOutlet",""],[1,"mr-2"],[3,"click"],["class","fa-icon-small mr-2",4,"ngIf"],["class","fa-icon-small mr-2","matTooltipPosition","right",3,"icon","matTooltip",4,"ngIf"],["class","mat-icon-36","matTooltipPosition","right",3,"matTooltip",4,"ngIf"],[1,"fa-icon-small","mr-2"],["matTooltipPosition","right",1,"fa-icon-small","mr-2",3,"icon","matTooltip"],["matTooltipPosition","right",1,"mat-icon-36",3,"matTooltip"],["viewBox","0 0 78 78","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink"],["id","Logo","stroke","none","stroke-width","1","fill","none","fill-rule","evenodd"],["id","Group"],["id","Oval","cx","39","cy","39","r","37.5",1,"boltz-icon"],["d","M36.4583326,43.7755404 L40.53965,35.2316544 L39.4324865,35.2316544 L46.0754873,17.6071752 C46.292579,17.0204094 46.3287609,16.5159331 46.1840331,16.0937464 C46.0393053,15.671561 45.7860319,15.3674444 45.4242131,15.1813966 C45.0623942,14.9953487 44.6535376,14.9524146 44.1976433,15.0525945 C43.7417511,15.1527743 43.3256596,15.4461573 42.9493689,15.9327433 L22.6078557,40.7701025 C22.2026186,41.2710003 22,41.7575877 22,42.2298646 C22,42.6735173 22.1592003,43.0420366 22.477601,43.3354226 C22.7960017,43.6288058 23.1940025,43.7755404 23.6716036,43.7755404 L36.4583326,43.7755404 Z","id","Path",1,"boltz-icon-fill"],["d","M44.4883879,63.7755404 L48.8604707,55.165009 L47.6744296,55.165009 L54.7906978,37.4030526 C55.0232558,36.8117097 55.0620155,36.3032983 54.9069768,35.8778185 C54.7519381,35.4523399 54.4806208,35.1458511 54.0930248,34.958352 C53.7054289,34.7708528 53.2674441,34.7275839 52.7790706,34.8285452 C52.2906992,34.9295065 51.8449641,35.2251779 51.4418653,35.7155595 L29.6511611,60.746659 C29.2170537,61.251464 29,61.7418469 29,62.2178078 C29,62.6649211 29.1705423,63.036315 29.5116268,63.3319895 C29.8527113,63.6276613 30.2790669,63.7755404 30.7906936,63.7755404 L44.4883879,63.7755404 Z","id","Path-Copy","transform","translate(42.000000, 49.275540) rotate(-180.000000) translate(-42.000000, -49.275540) ",1,"boltz-icon-fill"]],template:function(G,Z){1&G&&(t.TgZ(0,"div",0)(1,"div",1),t.YNc(2,A0,3,2,"mat-select",2),t._UZ(3,"mat-divider",3),t.YNc(4,k0,4,3,"mat-tree",4),t._UZ(5,"mat-divider",3),t.TgZ(6,"mat-tree",5),t.YNc(7,P0,6,4,"mat-tree-node",6),t.qZA()(),t.TgZ(8,"div",7),t.YNc(9,Ac,2,2,"mat-tree",4),t.qZA()(),t.YNc(10,Ql,6,0,"ng-template",null,8,t.W1O)),2&G&&(t.xp6(2),t.Q6J("ngIf",Z.appConfig.nodes.length>1),t.xp6(2),t.Q6J("ngIf",null==Z.selNode.Settings?null:Z.selNode.Settings.lnServerUrl),t.xp6(2),t.Q6J("dataSource",Z.navMenusShowData)("treeControl",Z.treeControlShowData),t.xp6(3),t.Q6J("ngIf",Z.showLogout))},dependencies:[on.sg,on.O5,on.tP,$r.BN,Xi.xw,Xi.Wh,Xi.yH,Ye.RK,Co.Hw,Fa.d,ts.GZ,ts.fQ,ts.eu,ts.gi,ts.uo,ts.Ar,ti.gD,Ne.ey,Ps.gM,Jn.rH,Jn.Od,ft.Vv,ft.$V],styles:[".tree-children-invisible[_ngcontent-%COMP%]{display:none}"]})}return R})();var ql=p(7988);function jd(R,z){if(1&R&&(t.TgZ(0,"p",14),t._UZ(1,"fa-icon",3),t.TgZ(2,"span"),t._uU(3),t.qZA()()),2&R){const b=t.oxw();t.xp6(1),t.Q6J("icon",b.faCode),t.xp6(2),t.hij("API Version: ",null==b.information?null:b.information.api_version,"")}}function R0(R,z){if(1&R&&(t.TgZ(0,"p",15),t._UZ(1,"fa-icon",3),t.TgZ(2,"span",16),t._uU(3,"Settings"),t.qZA()()),2&R){const b=t.oxw();t.xp6(1),t.Q6J("icon",b.faUserCog)}}function gu(R,z){if(1&R&&(t.TgZ(0,"p",17),t._UZ(1,"fa-icon",3),t.TgZ(2,"span",18),t._uU(3,"Help"),t.qZA()()),2&R){const b=t.oxw();t.xp6(1),t.Q6J("icon",b.faQuestion)}}function _u(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"p",19),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.onClick())}),t._UZ(1,"fa-icon",3),t.TgZ(2,"span"),t._uU(3,"Logout"),t.qZA()()}if(2&R){const b=t.oxw();t.xp6(1),t.Q6J("icon",b.faEject)}}let vu=(()=>{class R{constructor(b,G,Z,Fe,Lt){this.logger=b,this.sessionService=G,this.store=Z,this.rtlEffects=Fe,this.actions=Lt,this.faUserCog=en.gNZ,this.faCodeBranch=en.mh3,this.faCode=en.dT$,this.faCog=en.b7W,this.faQuestion=en.Psp,this.faEject=en.KOR,this.version="",this.information={},this.informationChain={},this.flgLoading=!0,this.showLogout=!1,this.unSubs=[new Yi.x,new Yi.x,new Yi.x,new Yi.x],this.version=Yt.q4}ngOnInit(){this.store.select(Fr.R4).pipe((0,Ki.R)(this.unSubs[0])).subscribe(b=>{if(this.information=b,this.flgLoading=!this.information.identity_pubkey,this.information.identity_pubkey){if(this.information.chains&&"string"==typeof this.information.chains[0])this.informationChain.chain=this.information.chains[0].toString(),this.informationChain.network=this.information.testnet?"Testnet":"Mainnet";else if(this.information&&this.information.chains&&this.information.chains.length&&this.information.chains.length>0&&"object"==typeof this.information.chains[0]&&this.information.chains[0].hasOwnProperty("chain")){const G=this.information.chains[0];this.informationChain.chain=G.chain,this.informationChain.network=G.network}}else this.informationChain.chain="",this.informationChain.network="";this.logger.info(b)}),this.sessionService.watchSession().pipe((0,Ki.R)(this.unSubs[1])).subscribe(b=>{this.showLogout=!!b.token,this.flgLoading=!!b.token}),this.actions.pipe((0,Ki.R)(this.unSubs[2]),(0,dr.h)(b=>b.type===Yt.pg.LOGOUT)).subscribe(()=>{this.showLogout=!1})}onClick(){this.store.dispatch((0,Sn.c1)({payload:{data:{type:Yt.n_.CONFIRM,alertTitle:"Logout",titleMessage:"Logout from this device?",noBtnText:"Cancel",yesBtnText:"Logout"}}})),this.rtlEffects.closeConfirm.pipe((0,Ki.R)(this.unSubs[3])).subscribe(b=>{b&&(this.showLogout=!1,this.store.dispatch((0,Sn.kS)()))})}onDonate(){window.open("https://www.ridethelightning.info/donate/","_blank")}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||R)(t.Y36(Se.mQ),t.Y36(Os.m),t.Y36(zi.yh),t.Y36(Ji.V),t.Y36(oo.eX))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-top-menu"]],decls:20,vars:8,consts:[[1,"top-menu",3,"overlapTrigger"],["topMenu","matMenu"],["tabindex","1","mat-menu-item","",1,"cursor-default"],[1,"fa-icon-small","mr-1",3,"icon"],["tabindex","2","mat-menu-item","","class","cursor-default",4,"ngIf"],["tabindex","3","mat-menu-item","","routerLink","/settings",4,"ngIf"],["tabindex","4","mat-menu-item","","routerLink","/help",4,"ngIf"],["mat-menu-item","","tabindex","5","fxLayoutAlign","start center",3,"click"],["fill","currentColor","version","1.1","viewBox","0 0 64 64",0,"xml","space","preserve","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",1,"svg-donation"],["d","M62.519,17.698l-12-14c-0.659-0.768-1.786-0.923-2.628-0.362l-8.712,5.808l-16.688,4.172 c-2.485,0.622-4.537,2.412-5.487,4.791L12.21,30.09C10.206,32.512,9,35.618,9,39c0,2.974,0.939,5.73,2.527,8H5 c-2.206,0-4,1.794-4,4v6c0,2.206,1.794,4,4,4h36c2.206,0,4-1.794,4-4v-6c0-2.206-1.794-4-4-4h-6.522 c0.375-0.535,0.713-1.1,1.013-1.691l4.291-2.452l3.378-0.965c2.619-0.749,4.903-2.269,6.604-4.395 c1.39-1.736,2.317-3.813,2.682-6.006l0.412-2.472l9.48-8.532C63.145,19.76,63.225,18.523,62.519,17.698z M34.428,30.929 c-1.487-2.094-3.517-3.732-5.842-4.75L29.207,25h7.058l0.588,4.11L34.428,30.929z M31.225,33.331l-0.373,0.28 c-1.772,1.329-2.889,3.273-3.146,5.473c-0.257,2.2,0.382,4.348,1.8,6.048l0.667,0.8C28.315,47.845,25.742,49,23,49 c-5.514,0-10-4.486-10-10s4.486-10,10-10C26.299,29,29.376,30.663,31.225,33.331z M41,57H5v-6h10.826c2.101,1.261,4.55,2,7.174,2 c2.571,0,5.041-0.723,7.176-2H41V57z M49.662,26.513c-0.336,0.303-0.561,0.711-0.635,1.158L48.5,30.833 c-0.253,1.521-0.896,2.96-1.86,4.165c-1.18,1.475-2.763,2.529-4.579,3.048l-3.61,1.031c-0.155,0.044-0.303,0.106-0.443,0.187 l-5.541,3.166c-0.63-0.826-0.909-1.843-0.788-2.882c0.128-1.1,0.687-2.072,1.573-2.737l6.001-4.5 c1.169-0.877,1.767-2.32,1.56-3.766l-0.587-4.11C39.946,22.477,38.244,21,36.266,21h-7.059c-1.489,0-2.845,0.818-3.539,2.136 l-1.037,1.969C24.093,25.041,23.549,25,23,25c-1.685,0-3.294,0.314-4.791,0.862l2.509-6.271c0.476-1.189,1.501-2.084,2.743-2.395 l17.024-4.256c0.223-0.056,0.434-0.149,0.625-0.276l7.525-5.017l9.576,11.172L49.662,26.513z"],["tabindex","6","mat-menu-item","",3,"click",4,"ngIf"],["tabindex","7","mat-icon-button","",3,"matMenuTriggerFor"],["alt","RTL Logo","src","assets/images/RTL-Horse-BY.svg",1,"rtl-log-top"],[1,"rtl-logo-dropdown","color-white"],["tabindex","2","mat-menu-item","",1,"cursor-default"],["tabindex","3","mat-menu-item","","routerLink","/settings"],["routerLink","/settings"],["tabindex","4","mat-menu-item","","routerLink","/help"],["routerLink","/help"],["tabindex","6","mat-menu-item","",3,"click"]],template:function(G,Z){if(1&G&&(t.TgZ(0,"mat-menu",0,1)(2,"p",2),t._UZ(3,"fa-icon",3),t.TgZ(4,"span"),t._uU(5),t.qZA()(),t.YNc(6,jd,4,2,"p",4)(7,R0,4,1,"p",5)(8,gu,4,1,"p",6),t.TgZ(9,"p",7),t.NdJ("click",function(){return Z.onDonate()}),t.O4$(),t.TgZ(10,"svg",8)(11,"g"),t._UZ(12,"path",9),t.qZA()(),t.kcU(),t.TgZ(13,"span"),t._uU(14,"Donate"),t.qZA()(),t.YNc(15,_u,4,1,"p",10),t.qZA(),t.TgZ(16,"button",11),t._UZ(17,"img",12),t.TgZ(18,"mat-icon",13),t._uU(19,"arrow_drop_down"),t.qZA()()),2&G){const Fe=t.MAs(1);t.Q6J("overlapTrigger",!1),t.xp6(3),t.Q6J("icon",Z.faCodeBranch),t.xp6(2),t.hij("Version: ",Z.version,""),t.xp6(1),t.Q6J("ngIf",null==Z.information?null:Z.information.api_version),t.xp6(1),t.Q6J("ngIf",Z.showLogout),t.xp6(1),t.Q6J("ngIf",Z.showLogout),t.xp6(7),t.Q6J("ngIf",Z.showLogout),t.xp6(1),t.Q6J("matMenuTriggerFor",Fe)}},dependencies:[on.O5,$r.BN,Xi.Wh,Ye.RK,Co.Hw,ql.VK,ql.OP,ql.p6,Jn.rH],styles:[".mat-mdc-icon-button img.rtl-log-top{width:2rem;height:2rem}.mat-icon.material-icons.mat-icon-no-color.rtl-logo-dropdown{height:2rem}\n"],encapsulation:2})}return R})();const N0=["sideNavigation"],bu=["sideNavContent"];function H0(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"button",15),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.sideNavToggle())}),t.TgZ(1,"mat-icon",16),t._uU(2,"menu"),t.qZA()()}if(2&R){const b=t.oxw();t.Q6J("matTooltip",b.flgSideNavOpened?"Hide Navigation Menu":"Show Navigation Menu")("matTooltipDisabled",b.smallScreen)}}function Xl(R,z){1&R&&(t.O4$(),t._UZ(0,"path",21))}function Jl(R,z){1&R&&(t.O4$(),t._UZ(0,"path",22))}function Kd(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"button",17),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.flgSidenavPinned=!Z.flgSidenavPinned)}),t.O4$(),t.TgZ(1,"svg",18),t.YNc(2,Xl,1,0,"path",19)(3,Jl,1,0,"path",20),t.qZA()()}if(2&R){const b=t.oxw();t.Q6J("matTooltip",b.flgSidenavPinned?"Unpin Navigation Menu":"Pin Navigation Menu"),t.xp6(2),t.Q6J("ngIf",!b.flgSidenavPinned),t.xp6(1),t.Q6J("ngIf",b.flgSidenavPinned)}}function yu(R,z){if(1&R&&(t.TgZ(0,"span",23),t._uU(1),t.qZA()),2&R){const b=t.oxw();t.xp6(1),t.Oqu(b.information.alias?"RTL - "+b.information.alias:"RTL")}}function F0(R,z){if(1&R&&(t.TgZ(0,"span",24),t._uU(1),t.qZA()),2&R){const b=t.oxw();t.xp6(1),t.Oqu(b.information.alias?"Ride The Lightning - "+b.information.alias:"Ride The Lightning")}}function Qd(R,z){1&R&&(t.TgZ(0,"div",25),t._UZ(1,"mat-spinner",26),t.TgZ(2,"h4"),t._uU(3,"Loading RTL..."),t.qZA()())}const $l=(R,z)=>[R,z];let Dc=(()=>{class R{constructor(b,G,Z,Fe,Lt,ei,fi,Mi,ln){this.logger=b,this.commonService=G,this.store=Z,this.actions=Fe,this.userIdle=Lt,this.router=ei,this.sessionService=fi,this.breakpointObserver=Mi,this.renderer=ln,this.information={},this.flgLoading=[!0],this.flgSideNavOpened=!0,this.flgCopied=!1,this.accessKey="",this.xSmallScreen=!1,this.smallScreen=!1,this.flgSidenavPinned=!0,this.flgLoggedIn=!1,this.unSubs=[new Yi.x,new Yi.x,new Yi.x,new Yi.x,new Yi.x,new Yi.x,new Yi.x,new Yi.x]}ngOnInit(){this.router.events.subscribe(b=>{b instanceof Jn.m2&&document.getElementsByTagName("mat-sidenav-content")[0].scrollTo(0,0)}),this.breakpointObserver.observe([Vn.u3.XSmall,Vn.u3.TabletPortrait,Vn.u3.Small,Vn.u3.Medium,Vn.u3.Large,Vn.u3.XLarge]).pipe((0,Ki.R)(this.unSubs[0])).subscribe(b=>{b.breakpoints[Vn.u3.XSmall]?(this.commonService.setScreenSize(Yt.cu.XS),this.smallScreen=!0):b.breakpoints[Vn.u3.TabletPortrait]?(this.commonService.setScreenSize(Yt.cu.SM),this.smallScreen=!0):b.breakpoints[Vn.u3.Small]||b.breakpoints[Vn.u3.Medium]?(this.commonService.setScreenSize(Yt.cu.MD),this.smallScreen=!1):b.breakpoints[Vn.u3.Large]?(this.commonService.setScreenSize(Yt.cu.LG),this.smallScreen=!1):(this.commonService.setScreenSize(Yt.cu.XL),this.smallScreen=!1)}),this.store.dispatch((0,Sn.ey)()),this.accessKey=this.readAccessKey()||"",this.store.select(Fr.dT).pipe((0,Ki.R)(this.unSubs[1])).subscribe(b=>{this.sessionService.getItem("token")?(this.flgLoggedIn=!0,this.userIdle.startWatching()):(this.flgLoggedIn=!1,this.flgLoading[0]=!1),this.selNode=b}),this.store.select(Fr.Yj).pipe((0,Ki.R)(this.unSubs[2])).subscribe(b=>{this.appConfig=b}),this.store.select(Fr.R4).pipe((0,Ki.R)(this.unSubs[3])).subscribe(b=>{this.information=b,this.flgLoading[0]=!this.information.identity_pubkey,this.logger.info(this.information)}),"true"===this.sessionService.getItem("defaultPassword")&&(this.flgSideNavOpened=!1),this.actions.pipe((0,Ki.R)(this.unSubs[4]),(0,dr.h)(b=>b.type===Yt.pg.FETCH_APPLICATION_SETTINGS||b.type===Yt.pg.LOGIN||b.type===Yt.pg.LOGOUT)).subscribe(b=>{b.type===Yt.pg.SET_APPLICATION_SETTINGS&&(this.sessionService.getItem("token")||(+b.payload.SSO.rtlSSO?!this.accessKey||this.accessKey.trim().length<32?this.router.navigate(["./error"],{state:{errorCode:"406",errorMessage:"Access key too short. It should be at least 32 characters long."}}):this.store.dispatch((0,Sn.x4)({payload:{password:ci(this.accessKey).toString(),defaultPassword:!1}})):this.router.navigate(["./login"]))),b.type===Yt.pg.LOGIN&&(this.flgLoggedIn=!0,this.userIdle.startWatching(),this.userIdle.resetTimer(),setTimeout(()=>{this.commonService.setContainerSize(this.sideNavContent.elementRef.nativeElement.clientWidth,this.sideNavContent.elementRef.nativeElement.clientHeight)},1e3)),b.type===Yt.pg.LOGOUT&&(this.flgLoggedIn=!1,this.userIdle.stopWatching(),this.userIdle.stopTimer())}),this.userIdle.onTimerStart().pipe((0,Ki.R)(this.unSubs[5])).subscribe(b=>{this.logger.info("Counting Down: "+(11-b))}),this.userIdle.onTimeout().pipe((0,Ki.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,Sn.ts)()),this.store.dispatch((0,Sn.qR)({payload:{data:{type:Yt.n_.WARNING,alertTitle:"Logging out",titleMessage:"Time limit exceeded for session inactivity."}}})),this.store.dispatch((0,Sn.kS)()))}),"true"===this.sessionService.getItem("defaultPassword")&&(this.flgSideNavOpened=!1)}readAccessKey(){const b=window.location.href;return b.includes("access-key=")?b.substring(b.lastIndexOf("access-key=")+11).trim():null}ngAfterViewInit(){(this.smallScreen||!this.flgLoggedIn)&&this.sideNavigation.close(),this.commonService.setContainerSize(this.sideNavContent.elementRef.nativeElement.clientWidth,this.sideNavContent.elementRef.nativeElement.clientHeight)}sideNavToggle(){this.flgSideNavOpened=!this.flgSideNavOpened,this.sideNavigation.toggle()}onNavigationClicked(b){this.smallScreen&&(this.flgSideNavOpened=!this.flgSideNavOpened,this.sideNavigation.close())}backdropClicked(){(!this.flgSidenavPinned||this.smallScreen)&&(this.flgSideNavOpened=!this.flgSideNavOpened,this.sideNavigation.close())}copiedText(b){this.flgCopied=!0,setTimeout(()=>{this.flgCopied=!1},5e3),this.logger.info("Copied Text: "+b)}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||R)(t.Y36(Se.mQ),t.Y36(ea.v),t.Y36(zi.yh),t.Y36(oo.eX),t.Y36(Us),t.Y36(Jn.F0),t.Y36(Os.m),t.Y36(Vn.Yg),t.Y36(t.Qsj))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-app"]],viewQuery:function(G,Z){if(1&G&&(t.Gf(N0,5),t.Gf(bu,5)),2&G){let Fe;t.iGM(Fe=t.CRH())&&(Z.sideNavigation=Fe.first),t.iGM(Fe=t.CRH())&&(Z.sideNavContent=Fe.first)}},decls:22,vars:15,consts:[["fxLayout","column","id","rtl-container",1,"rtl-container","medium",3,"ngClass"],["fxLayout","row","fxLayoutAlign","space-between center",1,"bg-primary","rtl-top-toolbar"],["mat-icon-button","","matTooltipPosition","right",3,"matTooltip","matTooltipDisabled","click",4,"ngIf"],["mat-icon-button","","matTooltipPosition","right",3,"matTooltip","click",4,"ngIf"],["class","font-weight-500",4,"ngIf"],["class","font-size-120 font-weight-500",4,"ngIf"],[3,"backdropClick"],[1,"sidenav","mat-elevation-z6",3,"perfectScrollbar","opened","mode"],["sideNavigation",""],["fxFlex","100",3,"ChildNavClicked"],[3,"perfectScrollbar"],["sideNavContent",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"inner-sidenav-content"],["outlet","outlet"],["class","rtl-spinner",4,"ngIf"],["mat-icon-button","","matTooltipPosition","right",3,"matTooltip","matTooltipDisabled","click"],[1,"color-white"],["mat-icon-button","","matTooltipPosition","right",3,"matTooltip","click"],["width","20","height","20","viewBox","0 0 24 24",1,"icon-pinned"],["fill","currentColor","d","M16,12V4H17V2H7V4H8V12L6,14V16H11.2V22H12.8V16H18V14L16,12Z",4,"ngIf"],["fill","currentColor","d","M2,5.27L3.28,4L20,20.72L18.73,22L12.8,16.07V22H11.2V16H6V14L8,12V11.27L2,5.27M16,12L18,14V16H17.82L8,6.18V4H7V2H17V4H16V12Z",4,"ngIf"],["fill","currentColor","d","M16,12V4H17V2H7V4H8V12L6,14V16H11.2V22H12.8V16H18V14L16,12Z"],["fill","currentColor","d","M2,5.27L3.28,4L20,20.72L18.73,22L12.8,16.07V22H11.2V16H6V14L8,12V11.27L2,5.27M16,12L18,14V16H17.82L8,6.18V4H7V2H17V4H16V12Z"],[1,"font-weight-500"],[1,"font-size-120","font-weight-500"],[1,"rtl-spinner"],["color","accent"]],template:function(G,Z){1&G&&(t.TgZ(0,"div",0),t.ALo(1,"lowercase"),t.ALo(2,"lowercase"),t.TgZ(3,"mat-toolbar",1)(4,"div"),t.YNc(5,H0,3,2,"button",2)(6,Kd,4,3,"button",3),t.qZA(),t.TgZ(7,"div"),t.YNc(8,yu,2,1,"span",4)(9,F0,2,1,"span",5),t.qZA(),t.TgZ(10,"div"),t._UZ(11,"rtl-top-menu"),t.qZA()(),t.TgZ(12,"mat-sidenav-container",6),t.NdJ("backdropClick",function(){return Z.backdropClicked()}),t.TgZ(13,"mat-sidenav",7,8)(15,"rtl-side-navigation",9),t.NdJ("ChildNavClicked",function(Lt){return Z.onNavigationClicked(Lt)}),t.qZA()(),t.TgZ(16,"mat-sidenav-content",10,11)(18,"div",12),t._UZ(19,"router-outlet",null,13),t.qZA()()(),t.YNc(21,Qd,4,0,"div",14),t.qZA()),2&G&&(t.Q6J("ngClass",t.WLB(12,$l,t.lcZ(1,8,Z.selNode.Settings.themeColor),t.lcZ(2,10,Z.selNode.Settings.themeMode))),t.xp6(5),t.Q6J("ngIf",Z.flgLoggedIn),t.xp6(1),t.Q6J("ngIf",!Z.smallScreen&&Z.flgLoggedIn),t.xp6(2),t.Q6J("ngIf",Z.smallScreen),t.xp6(1),t.Q6J("ngIf",!Z.smallScreen),t.xp6(4),t.Q6J("opened",Z.flgSideNavOpened&&Z.flgLoggedIn)("mode",Z.flgSidenavPinned&&!Z.smallScreen?"side":"over"),t.xp6(8),t.Q6J("ngIf",!Z.selNode.Settings.themeColor))},dependencies:[on.mk,on.O5,Xi.xw,Xi.Wh,Xi.yH,pe.oO,Ye.RK,Co.Hw,uu.Ou,ho.JX,ho.TM,ho.Rh,B1.Ye,Ps.gM,ft.$V,pu,vu,Jn.lC,on.i8],styles:[".inline-spinner[_ngcontent-%COMP%]{display:inline-flex!important;top:0!important}"],data:{animation:[Wd.g]}})}return R})(),z0=(()=>{class R{constructor(b){this.sessionService=b}intercept(b,G){if(this.sessionService.getItem("token")){const Z=b.clone({headers:b.headers.set("Authorization","Bearer "+this.sessionService.getItem("token")),withCredentials:!0});return G.handle(Z)}return G.handle(b)}static#e=this.\u0275fac=function(G){return new(G||R)(t.LFG(Os.m))};static#t=this.\u0275prov=t.Yz7({token:R,factory:R.\u0275fac})}return R})();var V0=p(2285),xu=p(168),r3=p(9125),e1=p(9337);const B0={userPersona:"OPERATOR",themeMode:"DAY",themeColor:"PURPLE",channelBackupPath:"",selCurrencyUnit:"USD",unannouncedChannels:!1,fiatConversion:!1,currencyUnits:["Sats","BTC","USD"],bitcoindConfigPath:"",enableOffers:!1,enablePeerswap:!1},qd={configPath:"",swapMacaroonPath:"",boltzMacaroonPath:""},Xd={apiURL:"",apisCallStatus:{Login:{status:Yt.Bn.UN_INITIATED},IsAuthorized:{status:Yt.Bn.UN_INITIATED}},selNode:{index:1,lnNode:"Node 1",Settings:B0,Authentication:qd,lnImplementation:"LND"},appConfig:{defaultNodeIndex:-1,selectedNodeIndex:-1,SSO:{rtlSSO:0,logoutRedirectLink:""},enable2FA:!1,secret2FA:"",allowPasswordUpdate:!0,nodes:[{Settings:B0,Authentication:qd}]},nodeData:{}},Jd=(0,zi.Lq)(Xd,(0,zi.on)(Sn.qi,(R,{payload:z})=>{const b=JSON.parse(JSON.stringify(R.apisCallStatus));return z.action&&(b[z.action]={status:z.status,statusCode:z.statusCode,message:z.message,URL:z.URL,filePath:z.filePath}),{...R,apisCallStatus:b}}),(0,zi.on)(Sn.vI,(R,{payload:z})=>({...Xd,apisCallStatus:R.apisCallStatus,appConfig:R.appConfig,selNode:z})),(0,zi.on)(Sn.fk,(R,{payload:z})=>({...R,selNode:z.currentLnNode})),(0,zi.on)(Sn._V,(R,{payload:z})=>({...R,nodeData:z})),(0,zi.on)(Sn.IM,(R,{payload:z})=>({...R,appConfig:z}))),j1={apisCallStatus:{FetchPageSettings:{status:Yt.Bn.UN_INITIATED},FetchInfo:{status:Yt.Bn.UN_INITIATED},FetchFees:{status:Yt.Bn.UN_INITIATED},FetchPeers:{status:Yt.Bn.UN_INITIATED},FetchClosedChannels:{status:Yt.Bn.UN_INITIATED},FetchPendingChannels:{status:Yt.Bn.UN_INITIATED},FetchAllChannels:{status:Yt.Bn.UN_INITIATED},FetchBalanceBlockchain:{status:Yt.Bn.UN_INITIATED},FetchInvoices:{status:Yt.Bn.UN_INITIATED},FetchPayments:{status:Yt.Bn.UN_INITIATED},FetchForwardingHistory:{status:Yt.Bn.UN_INITIATED},FetchUTXOs:{status:Yt.Bn.UN_INITIATED},FetchTransactions:{status:Yt.Bn.UN_INITIATED},FetchLightningTransactions:{status:Yt.Bn.UN_INITIATED},FetchNetwork:{status:Yt.Bn.UN_INITIATED}},nodeSettings:{userPersona:Yt.ol.OPERATOR,unannouncedChannels:!1,fiatConversion:!1,channelBackupPath:"",currencyUnits:[],selCurrencyUnit:"",lnImplementation:"",swapServerUrl:""},pageSettings:Yt.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 $d=!1,ll=!1;const t1=(0,zi.Lq)(j1,(0,zi.on)(kr.PC,(R,{payload:z})=>{const b=JSON.parse(JSON.stringify(R.apisCallStatus));return z.action&&(b[z.action]={status:z.status,statusCode:z.statusCode,message:z.message,URL:z.URL,filePath:z.filePath}),{...R,apisCallStatus:b}}),(0,zi.on)(kr.JT,(R,{payload:z})=>({...R,nodeSettings:z})),(0,zi.on)(kr.Ll,(R,{payload:z})=>({...j1,nodeSettings:z})),(0,zi.on)(kr.CX,(R,{payload:z})=>({...R,information:z})),(0,zi.on)(kr.Z8,(R,{payload:z})=>({...R,peers:z})),(0,zi.on)(kr.EK,(R,{payload:z})=>{const b=[...R.peers],G=R.peers.findIndex(Z=>Z.pub_key===z.pubkey);return G>-1&&b.splice(G,1),{...R,peers:b}}),(0,zi.on)(kr.YP,(R,{payload:z})=>{const b=R.listInvoices;return b.invoices?.unshift(z),{...R,listInvoices:b}}),(0,zi.on)(kr.aL,(R,{payload:z})=>{const b=R.listInvoices;return b.invoices=b.invoices?.map(G=>G.payment_request===z.payment_request?z:G),{...R,listInvoices:b}}),(0,zi.on)(kr.qY,(R,{payload:z})=>{const b=R.listPayments;return b.payments=b.payments?.map(G=>G.payment_hash===z.payment_hash?z:G),{...R,listPayments:b}}),(0,zi.on)(kr.RX,(R,{payload:z})=>({...R,fees:z})),(0,zi.on)(kr._L,(R,{payload:z})=>({...R,closedChannels:z})),(0,zi.on)(kr.TW,(R,{payload:z})=>({...R,pendingChannels:z.pendingChannels,pendingChannelsSummary:z.pendingChannelsSummary})),(0,zi.on)(kr.as,(R,{payload:z})=>{let b=0,G=0,Z=0,Fe=0,Lt=0,ei=0;return z&&z.forEach(fi=>{fi.local_balance||(fi.local_balance=0),!0===fi.active?(Lt+=+fi.local_balance,Z+=1,fi.local_balance?b=+b+ +fi.local_balance:fi.local_balance=0,fi.remote_balance?G=+G+ +fi.remote_balance:fi.remote_balance=0):(ei+=+fi.local_balance,Fe+=1)}),{...R,channels:z,channelsSummary:{active:{num_channels:Z,capacity:Lt},inactive:{num_channels:Fe,capacity:ei}},lightningBalance:{local:b,remote:G}}}),(0,zi.on)(kr.OG,(R,{payload:z})=>{const b=[...R.channels],G=R.channels.findIndex(Z=>Z.channel_point===z.channelPoint);return G>-1&&b.splice(G,1),{...R,channels:b}}),(0,zi.on)(kr.Jl,(R,{payload:z})=>({...R,blockchainBalance:z})),(0,zi.on)(kr.ks,(R,{payload:z})=>({...R,networkInfo:z})),(0,zi.on)(kr.Nr,(R,{payload:z})=>(z.total_invoices||(z.total_invoices=R.listInvoices.total_invoices),{...R,listInvoices:z})),(0,zi.on)(kr.Lf,(R,{payload:z})=>{if($d=!0,z.length&&ll){const b=[...R.utxos];return b.forEach(G=>{const Z=z.find(Fe=>Fe.tx_hash===G.outpoint?.txid_str);G.label=Z&&Z.label?Z.label:""}),{...R,utxos:b,transactions:z}}return{...R,transactions:z}}),(0,zi.on)(kr.UH,(R,{payload:z})=>{if(ll=!0,z.length&&$d){const b=[...R.transactions];z.forEach(G=>{const Z=b.find(Fe=>Fe.tx_hash===G.outpoint?.txid_str);G.label=Z&&Z.label?Z.label:""})}return{...R,utxos:z}}),(0,zi.on)(kr.HI,(R,{payload:z})=>{const b={listInvoicesAll:R.allLightningTransactions.listInvoicesAll,listPaymentsAll:z};return{...R,listPayments:z,allLightningTransactions:b}}),(0,zi.on)(kr.Fr,(R,{payload:z})=>{const b={listInvoicesAll:z.listInvoicesAll,listPaymentsAll:R.listPayments};return{...R,allLightningTransactions:b}}),(0,zi.on)(kr.QJ,(R,{payload:z})=>{const b=[...R.channels,...R.closedChannels];let G=z.forwarding_events?JSON.parse(JSON.stringify(z)):{};return G.forwarding_events&&(G=e2(G,b)),{...R,forwardingHistory:G}}),(0,zi.on)(kr.pd,(R,{payload:z})=>{const b=[];return Yt.gK.forEach(G=>{const Z=z&&z.length&&z.length>0?z.find(Fe=>Fe.pageId===G.pageId):null;if(Z){const Fe=JSON.parse(JSON.stringify(Z.tables));Z.tables=[],G.tables.forEach(Lt=>{const ei=Fe.find(fi=>fi.tableId===Lt.tableId)||null;Z.tables.push(ei||JSON.parse(JSON.stringify(Lt)))}),b.push(Z)}else b.push(JSON.parse(JSON.stringify(G)))}),{...R,pageSettings:b}})),e2=(R,z)=>(R.forwarding_events.forEach(b=>{if(z&&z.length>0)for(let G=0;G<z.length;G++){if(z[G].chan_id?.toString()===b.chan_id_in&&(b.alias_in=z[G].remote_alias?z[G].remote_alias:b.chan_id_in,b.alias_out)||z[G].chan_id?.toString()===b.chan_id_out&&(b.alias_out=z[G].remote_alias?z[G].remote_alias:b.chan_id_out,b.alias_in))return;G===z.length-1&&(b.alias_in||(b.alias_in=b.chan_id_in),b.alias_out||(b.alias_out=b.chan_id_out))}else b.alias_in=b.chan_id_in,b.alias_out=b.chan_id_out}),R),K1={apisCallStatus:{FetchPageSettings:{status:Yt.Bn.UN_INITIATED},FetchInfo:{status:Yt.Bn.UN_INITIATED},FetchInvoices:{status:Yt.Bn.UN_INITIATED},FetchChannels:{status:Yt.Bn.UN_INITIATED},FetchUTXOBalances:{status:Yt.Bn.UN_INITIATED},FetchFeeRatesperkb:{status:Yt.Bn.UN_INITIATED},FetchFeeRatesperkw:{status:Yt.Bn.UN_INITIATED},FetchPeers:{status:Yt.Bn.UN_INITIATED},FetchPayments:{status:Yt.Bn.UN_INITIATED},FetchForwardingHistoryS:{status:Yt.Bn.UN_INITIATED},FetchForwardingHistoryF:{status:Yt.Bn.UN_INITIATED},FetchForwardingHistoryL:{status:Yt.Bn.UN_INITIATED},FetchOffers:{status:Yt.Bn.UN_INITIATED},FetchOfferBookmarks:{status:Yt.Bn.UN_INITIATED}},nodeSettings:{userPersona:Yt.ol.OPERATOR,unannouncedChannels:!1,selCurrencyUnit:"USD",fiatConversion:!1,channelBackupPath:"",currencyUnits:[],enableOffers:!1,enablePeerswap:!1},pageSettings:Yt.gG,information:{},fees:{},feeRatesPerKB:{},feeRatesPerKW:{},balance:{},localRemoteBalance:{localBalance:-1,remoteBalance:-1},peers:[],activeChannels:[],pendingChannels:[],inactiveChannels:[],payments:[],forwardingHistory:{},failedForwardingHistory:{},localFailedForwardingHistory:{},invoices:{invoices:[]},utxos:[],offers:[],offersBookmarks:[]},Q1=(0,zi.Lq)(K1,(0,zi.on)(Xn.Hc,(R,{payload:z})=>{const b=JSON.parse(JSON.stringify(R.apisCallStatus));return z.action&&(b[z.action]={status:z.status,statusCode:z.statusCode,message:z.message,URL:z.URL,filePath:z.filePath}),{...R,apisCallStatus:b}}),(0,zi.on)(Xn.Mf,(R,{payload:z})=>({...R,nodeSettings:z})),(0,zi.on)(Xn.mI,(R,{payload:z})=>({...K1,nodeSettings:z})),(0,zi.on)(Xn.CX,(R,{payload:z})=>({...R,information:z,fees:{feeCollected:z.fees_collected_msat}})),(0,zi.on)(Xn.I8,(R,{payload:z})=>z.perkb?{...R,feeRatesPerKB:z}:z.perkw?{...R,feeRatesPerKW:z}:{...R}),(0,zi.on)(Xn.nE,(R,{payload:z})=>({...R,utxos:z.utxos||[],balance:z.balance,localRemoteBalance:z.localRemoteBalance})),(0,zi.on)(Xn.Z8,(R,{payload:z})=>({...R,peers:z})),(0,zi.on)(Xn.X3,(R,{payload:z})=>({...R,peers:[...R.peers,z]})),(0,zi.on)(Xn.EK,(R,{payload:z})=>{const b=[...R.peers],G=R.peers.findIndex(Z=>Z.id===z.id);return G>-1&&b.splice(G,1),{...R,peers:b}}),(0,zi.on)(Xn.as,(R,{payload:z})=>({...R,activeChannels:z.activeChannels,pendingChannels:z.pendingChannels,inactiveChannels:z.inactiveChannels})),(0,zi.on)(Xn.OG,(R,{payload:z})=>{const b=[...R.peers];return b.forEach(G=>{G.id===z.id&&(G.connected=!1,delete G.netaddr)}),{...R,peers:b}}),(0,zi.on)(Xn.HI,(R,{payload:z})=>({...R,payments:z})),(0,zi.on)(Xn.QJ,(R,{payload:z})=>{const b=[...R.activeChannels,...R.pendingChannels,...R.inactiveChannels],G=t2(z.listForwards,b);switch(z.listForwards=G,z.status){case Yt.OO.SETTLED:const Z=R.fees;return Z.totalTxCount=z.totalForwards||0,{...R,fees:Z,forwardingHistory:z};case Yt.OO.FAILED:return{...R,failedForwardingHistory:z};case Yt.OO.LOCAL_FAILED:return{...R,localFailedForwardingHistory:z};default:return{...R}}}),(0,zi.on)(Xn.YP,(R,{payload:z})=>{const b=R.invoices;return b.invoices?.unshift(z),{...R,invoices:b}}),(0,zi.on)(Xn.Nr,(R,{payload:z})=>({...R,invoices:z})),(0,zi.on)(Xn.aL,(R,{payload:z})=>{const b=R.invoices;return b.invoices=b.invoices?.map(G=>(G.label===z.label&&(G.amount_received_msat=z.msat,G.payment_preimage=z.preimage,G.status="paid"),G)),{...R,invoices:b}}),(0,zi.on)(Xn.Zu,(R,{payload:z})=>({...R,offers:z})),(0,zi.on)(Xn.ZH,(R,{payload:z})=>{const b=R.offers;return b?.unshift(z),{...R,offers:b}}),(0,zi.on)(Xn.JK,(R,{payload:z})=>{const b=[...R.offers],G=R.offers.findIndex(Z=>Z.offer_id===z.offer.offer_id);return G>-1&&b.splice(G,1,z.offer),{...R,offers:b}}),(0,zi.on)(Xn.d7,(R,{payload:z})=>({...R,offersBookmarks:z})),(0,zi.on)(Xn.e9,(R,{payload:z})=>{const b=[...R.offersBookmarks],G=b.findIndex(Z=>Z.bolt12===z.bolt12);if(G<0)b?.unshift(z);else{const Z={...b[G]};Z.title=z.title,Z.amountMSat=z.amountMSat,Z.lastUpdatedAt=z.lastUpdatedAt,Z.description=z.description,Z.issuer=z.issuer,b.splice(G,1,Z)}return{...R,offersBookmarks:b}}),(0,zi.on)(Xn.en,(R,{payload:z})=>{const b=[...R.offersBookmarks],G=R.offersBookmarks.findIndex(Z=>Z.bolt12===z.bolt12);return G>-1&&b.splice(G,1),{...R,offersBookmarks:b}}),(0,zi.on)(Xn.pd,(R,{payload:z})=>{const b=[];return Yt.gG.forEach(G=>{const Z=z&&z.length&&z.length>0?z.find(Fe=>Fe.pageId===G.pageId):null;if(Z){const Fe=JSON.parse(JSON.stringify(Z.tables));Z.tables=[],G.tables.forEach(Lt=>{const ei=Fe.find(fi=>fi.tableId===Lt.tableId)||null;Z.tables.push(ei||JSON.parse(JSON.stringify(Lt)))}),b.push(Z)}else b.push(JSON.parse(JSON.stringify(G)))}),{...R,pageSettings:b}})),t2=(R,z)=>(R&&R.length>0?R.forEach((b,G)=>{if(z&&z.length>0)for(let Z=0;Z<z.length;Z++){if(z[Z].short_channel_id&&z[Z].short_channel_id===b.in_channel&&(b.in_channel_alias=z[Z].alias?z[Z].alias:b.in_channel,b.out_channel_alias)||z[Z].short_channel_id&&z[Z].short_channel_id?.toString()===b.out_channel&&(b.out_channel_alias=z[Z].alias?z[Z].alias:b.out_channel,b.in_channel_alias))return;Z===z.length-1&&(b.in_channel_alias||(b.in_channel_alias=b.in_channel?b.in_channel:"-"),b.out_channel_alias||(b.out_channel_alias=b.out_channel?b.out_channel:"-"))}else b.in_channel_alias=b.in_channel?b.in_channel:"-",b.out_channel_alias=b.out_channel?b.out_channel:"-"}):R=[],R),q1={apisCallStatus:{FetchPageSettings:{status:Yt.Bn.UN_INITIATED},FetchInfo:{status:Yt.Bn.UN_INITIATED},FetchFees:{status:Yt.Bn.UN_INITIATED},FetchChannels:{status:Yt.Bn.UN_INITIATED},FetchOnchainBalance:{status:Yt.Bn.UN_INITIATED},FetchPeers:{status:Yt.Bn.UN_INITIATED},FetchPayments:{status:Yt.Bn.UN_INITIATED},FetchInvoices:{status:Yt.Bn.UN_INITIATED},FetchTransactions:{status:Yt.Bn.UN_INITIATED}},nodeSettings:{userPersona:Yt.ol.OPERATOR,unannouncedChannels:!1,selCurrencyUnit:"USD",fiatConversion:!1,channelBackupPath:"",currencyUnits:[]},pageSettings:Yt.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:[]},dl=(0,zi.Lq)(q1,(0,zi.on)(sr.QZ,(R,{payload:z})=>{const b=JSON.parse(JSON.stringify(R.apisCallStatus));return z.action&&(b[z.action]={status:z.status,statusCode:z.statusCode,message:z.message,URL:z.URL,filePath:z.filePath}),{...R,apisCallStatus:b}}),(0,zi.on)(sr.Zr,(R,{payload:z})=>({...R,nodeSettings:z})),(0,zi.on)(sr.Fd,(R,{payload:z})=>({...q1,nodeSettings:z})),(0,zi.on)(sr.CX,(R,{payload:z})=>({...R,information:z})),(0,zi.on)(sr.RX,(R,{payload:z})=>({...R,fees:z})),(0,zi.on)(sr.eN,(R,{payload:z})=>({...R,activeChannels:z})),(0,zi.on)(sr.TW,(R,{payload:z})=>({...R,pendingChannels:z})),(0,zi.on)(sr.i,(R,{payload:z})=>({...R,inactiveChannels:z})),(0,zi.on)(sr.HG,(R,{payload:z})=>({...R,channelsStatus:z})),(0,zi.on)(sr.Bw,(R,{payload:z})=>({...R,onchainBalance:z})),(0,zi.on)(sr.On,(R,{payload:z})=>({...R,lightningBalance:z})),(0,zi.on)(sr.Z8,(R,{payload:z})=>({...R,peers:z})),(0,zi.on)(sr.EK,(R,{payload:z})=>{const b=[...R.peers],G=R.peers.findIndex(Z=>Z.nodeId===z.nodeId);return G>-1&&b.splice(G,1),{...R,peers:b}}),(0,zi.on)(sr.OG,(R,{payload:z})=>{const b=[...R.activeChannels],G=R.activeChannels.findIndex(Z=>Z.channelId===z.channelId);return G>-1&&b.splice(G,1),{...R,activeChannels:b}}),(0,zi.on)(sr.HI,(R,{payload:z})=>{if(z&&z.sent){const b=[...R.activeChannels,...R.pendingChannels,...R.inactiveChannels];z.sent?.map(G=>{const Z=R.peers.find(Fe=>Fe.nodeId===G.recipientNodeId);return G.recipientNodeAlias=Z?Z.alias:G.recipientNodeId,G.parts&&G.parts?.map(Fe=>{const Lt=b.find(ei=>ei.channelId===Fe.toChannelId);return Fe.toChannelAlias=Lt?Lt.alias:Fe.toChannelId,G.parts}),z.sent})}if(z&&z.relayed){const b=[...R.activeChannels,...R.pendingChannels,...R.inactiveChannels];z.relayed.forEach(G=>{G=U0(G,b)})}return{...R,payments:z}}),(0,zi.on)(sr.Lf,(R,{payload:z})=>({...R,transactions:z})),(0,zi.on)(sr.YP,(R,{payload:z})=>{const b=R.invoices;return b?.unshift(z),{...R,invoices:b}}),(0,zi.on)(sr.Nr,(R,{payload:z})=>({...R,invoices:z})),(0,zi.on)(sr.aL,(R,{payload:z})=>{let b=R.invoices;return b=b?.map(G=>{if(G.paymentHash===z.paymentHash){if(z.hasOwnProperty("type")){const Z=JSON.parse(JSON.stringify(G));return Z.amountSettled=z.parts&&z.parts.length&&z.parts.length>0&&z.parts[0].amount?(z.parts[0].amount||0)/1e3:0,Z.receivedAt=z.parts&&z.parts.length&&z.parts.length>0&&z.parts[0].timestamp?Math.round((z.parts[0].timestamp||0)/1e3):0,Z.status="received",Z}return z}return G}),{...R,invoices:b}}),(0,zi.on)(sr.DJ,(R,{payload:z})=>{let b=R.pendingChannels;return b=b?.map(G=>(G.channelId===z.channelId&&G.nodeId===z.remoteNodeId&&(z.currentState=z.currentState?.replace(/_/g," "),G.state=z.currentState),G)),{...R,pendingChannels:b}}),(0,zi.on)(sr.ti,(R,{payload:z})=>{const b=R.payments,G=U0(z,[...R.activeChannels,...R.pendingChannels,...R.inactiveChannels]);b.relayed?.unshift(G);const Z=(z.amountIn||0)-(z.amountOut||0),Fe={localBalance:R.lightningBalance.localBalance+Z,remoteBalance:R.lightningBalance.remoteBalance-Z},Lt=R.channelsStatus;Lt.active&&(Lt.active.capacity=(R.channelsStatus?.active?.capacity||0)+Z);const ei={daily_fee:(R.fees.daily_fee||0)+Z,daily_txs:(R.fees.daily_txs||0)+1,weekly_fee:(R.fees.weekly_fee||0)+Z,weekly_txs:(R.fees.weekly_txs||0)+1,monthly_fee:(R.fees.monthly_fee||0)+Z,monthly_txs:(R.fees.monthly_txs||0)+1},fi=R.activeChannels;let Mi=!1,ln=!1;for(const qi of fi){if(qi.channelId===z.fromChannelId){Mi=!0;const On=(qi.toLocal||0)+(qi.toRemote||0);qi.toLocal=(qi.toLocal||0)+G.amountIn,qi.toRemote=(qi.toRemote||0)-G.amountIn,qi.balancedness=0===On?1:+(1-Math.abs((qi.toLocal-qi.toRemote)/On)).toFixed(3)}if(qi.channelId===z.toChannelId){ln=!0;const On=(qi.toLocal||0)+(qi.toRemote||0);qi.toLocal=(qi.toLocal||0)-G.amountOut,qi.toRemote=(qi.toRemote||0)+G.amountOut,qi.balancedness=0===On?1:+(1-Math.abs((qi.toLocal-qi.toRemote)/On)).toFixed(3)}if(ln&&Mi)break}return{...R,payments:b,lightningBalance:Fe,channelStatus:Lt,fees:ei,activeChannels:fi}}),(0,zi.on)(sr.pd,(R,{payload:z})=>{const b=[];return Yt.c3.forEach(G=>{const Z=z&&z.length&&z.length>0?z.find(Fe=>Fe.pageId===G.pageId):null;if(Z){const Fe=JSON.parse(JSON.stringify(Z.tables));Z.tables=[],G.tables.forEach(Lt=>{const ei=Fe.find(fi=>fi.tableId===Lt.tableId)||null;Z.tables.push(ei||JSON.parse(JSON.stringify(Lt)))}),b.push(Z)}else b.push(JSON.parse(JSON.stringify(G)))}),{...R,pageSettings:b}})),U0=(R,z)=>{if("payment-relayed"===R.type)if(z&&z.length>0)for(let b=0;b<z.length;b++){if(z[b].channelId?.toString()===R.fromChannelId&&(R.fromChannelAlias=z[b].alias?z[b].alias:R.fromChannelId,R.fromShortChannelId=z[b].shortChannelId?z[b].shortChannelId:"",R.toChannelAlias)||z[b].channelId?.toString()===R.toChannelId&&(R.toChannelAlias=z[b].alias?z[b].alias:R.toChannelId,R.toShortChannelId=z[b].shortChannelId?z[b].shortChannelId:"",R.fromChannelAlias))return R;b===z.length-1&&(R.fromChannelAlias||(R.fromChannelAlias=R.fromChannelId?.substring(0,17)+"...",R.fromShortChannelId=""),R.toChannelAlias||(R.toChannelAlias=R.toChannelId?.substring(0,17)+"...",R.toShortChannelId=""))}else R.fromChannelAlias=R.fromChannelId?.substring(0,17)+"...",R.fromShortChannelId="",R.toChannelAlias=R.toChannelId?.substring(0,17)+"...",R.toShortChannelId="";else if(R.type="trampoline-payment-relayed"){if(z&&z.length>0)for(let Z=0;Z<z.length;Z++)R.incoming?.forEach(Fe=>{z[Z].channelId?.toString()===Fe.channelId&&(Fe.channelAlias=z[Z].alias?z[Z].alias:Fe.channelId,Fe.shortChannelId=z[Z].shortChannelId?z[Z].shortChannelId:"")}),R.outgoing?.forEach(Fe=>{z[Z].channelId?.toString()===Fe.channelId&&(Fe.channelAlias=z[Z].alias?z[Z].alias:Fe.channelId,Fe.shortChannelId=z[Z].shortChannelId?z[Z].shortChannelId:"")}),Z===z.length-1&&(R.incoming&&R.incoming.length&&R.incoming.length>0&&!R.incoming[0].channelAlias&&R.incoming?.forEach(Fe=>{Fe.channelAlias=Fe.channelId?.substring(0,17)+"...",Fe.shortChannelId=""}),R.outgoing&&R.outgoing.length&&R.outgoing.length>0&&!R.outgoing[0].channelAlias&&R.outgoing?.forEach(Fe=>{Fe.channelAlias=Fe.channelId?.substring(0,17)+"...",Fe.shortChannelId=""}));else R.incoming?.forEach(Z=>{Z.channelAlias=Z.channelId?.substring(0,17)+"...",Z.shortChannelId=""}),R.outgoing?.forEach(Z=>{Z.channelAlias=Z.channelId?.substring(0,17)+"...",Z.shortChannelId=""});const b=R.incoming?.reduce((Z,Fe)=>Z+Fe.amount,0)||0;R.amountIn=Math.round(b/1e3),R.fromChannelId=R.incoming&&R.incoming.length?R.incoming[0].channelId:"",R.fromChannelAlias=R.incoming&&R.incoming.length?R.incoming[0].channelAlias:"",R.fromShortChannelId=R.incoming&&R.incoming.length?R.incoming[0].shortChannelId:"";const G=R.outgoing?.reduce((Z,Fe)=>Z+Fe.amount,0)||0;R.amountOut=Math.round(G/1e3),R.toChannelId=R.outgoing&&R.outgoing.length?R.outgoing[0].channelId:"",R.toChannelAlias=R.outgoing&&R.outgoing.length?R.outgoing[0].channelAlias:"",R.toShortChannelId=R.outgoing&&R.outgoing.length?R.outgoing[0].shortChannelId:""}return R};let X1=!1;(0,t.X6Q)()&&(X1=!0);let Cu=(()=>{class R{static#e=this.\u0275fac=function(G){return new(G||R)};static#t=this.\u0275mod=t.oAB({type:R,bootstrap:[Dc]});static#i=this.\u0275inj=t.cJS({providers:[Vo({idle:Yt.k_-10,timeout:10,ping:12e3}),{provide:bo.TP,useClass:z0,multi:!0},Os.m,Tc.D,V0.d,y1.W,ea.v,Hs],imports:[Fi,T0.m,hu,Vn.xu,e.t6,zi.Aw.forRoot({root:Jd,lnd:t1,cln:Q1,ecl:dl},{runtimeChecks:{strictStateImmutability:!1,strictActionImmutability:!1}}),oo.sQ.forRoot([Ji.V,xu.l,r3.J,e1.o]),X1?Ln.FT.instrument({connectInZone:!0}):[]]})}return R})();e.q6().bootstrapModule(Cu).catch(R=>console.error(R))},9599:(ze,q)=>{"use strict";function p(me){return Object.keys(me).map(he=>me[he])}var me;Object.defineProperty(q,"__esModule",{value:!0}),(me=q.HashAlgorithms||(q.HashAlgorithms={})).SHA1="sha1",me.SHA256="sha256",me.SHA512="sha512";const e=p(q.HashAlgorithms);!function(me){me.ASCII="ascii",me.BASE64="base64",me.HEX="hex",me.LATIN1="latin1",me.UTF8="utf8"}(q.KeyEncodings||(q.KeyEncodings={}));const t=p(q.KeyEncodings);!function(me){me.HOTP="hotp",me.TOTP="totp"}(q.Strategy||(q.Strategy={}));const y=p(q.Strategy),A=()=>{throw new Error("Please provide an options.createDigest implementation.")};function l(me){return/^(\d+)$/.test(me)}function x(me,he,xe){return me.length>=he?me:`${Array(he+1).join(xe)}${me}`.slice(-1*he)}function m(me){const he=`otpauth://${me.type}/{labelPrefix}:{accountName}?secret={secret}{query}`,xe=[];if(y.indexOf(me.type)<0)throw new Error(`Expecting options.type to be one of ${y.join(", ")}. Received ${me.type}.`);if("hotp"===me.type){if(null==me.counter||"number"!=typeof me.counter)throw new Error('Expecting options.counter to be a number when options.type is "hotp".');xe.push(`&counter=${me.counter}`)}return"totp"===me.type&&me.step&&xe.push(`&period=${me.step}`),me.digits&&xe.push(`&digits=${me.digits}`),me.algorithm&&xe.push(`&algorithm=${me.algorithm.toUpperCase()}`),me.issuer&&xe.push(`&issuer=${encodeURIComponent(me.issuer)}`),he.replace("{labelPrefix}",encodeURIComponent(me.issuer||me.accountName)).replace("{accountName}",encodeURIComponent(me.accountName)).replace("{secret}",me.secret).replace("{query}",xe.join(""))}class P{constructor(he={}){this._defaultOptions=Object.freeze({...he}),this._options=Object.freeze({})}create(he={}){return new P(he)}clone(he={}){const xe=this.create({...this._defaultOptions,...he});return xe.options=this._options,xe}get options(){return Object.freeze({...this._defaultOptions,...this._options})}set options(he){this._options=Object.freeze({...this._options,...he})}allOptions(){return this.options}resetOptions(){this._options=Object.freeze({})}}function d(me){if("function"!=typeof me.createDigest)throw new Error("Expecting options.createDigest to be a function.");if("function"!=typeof me.createHmacKey)throw new Error("Expecting options.createHmacKey to be a function.");if("number"!=typeof me.digits)throw new Error("Expecting options.digits to be a number.");if(!me.algorithm||e.indexOf(me.algorithm)<0)throw new Error(`Expecting options.algorithm to be one of ${e.join(", ")}. Received ${me.algorithm}.`);if(!me.encoding||t.indexOf(me.encoding)<0)throw new Error(`Expecting options.encoding to be one of ${t.join(", ")}. Received ${me.encoding}.`)}const E=(me,he,xe)=>Buffer.from(he,xe).toString("hex");function M(){return{algorithm:q.HashAlgorithms.SHA1,createHmacKey:E,createDigest:A,digits:6,encoding:q.KeyEncodings.ASCII}}function I(me){const he={...M(),...me};return d(he),Object.freeze(he)}function k(me){return x(me.toString(16),16,"0")}function V(me,he){const xe=Buffer.from(me,"hex"),de=15&xe[xe.length-1],qe=((127&xe[de])<<24|(255&xe[de+1])<<16|(255&xe[de+2])<<8|255&xe[de+3])%Math.pow(10,he);return x(String(qe),he,"0")}function W(me,he,xe){const de=xe.digest||function B(me,he,xe){const de=k(he),ge=xe.createHmacKey(xe.algorithm,me,xe.encoding);return xe.createDigest(xe.algorithm,ge,de)}(me,he,xe);return V(de,xe.digits)}function j(me,he,xe,de){return!!l(me)&&me===W(he,xe,de)}function K(me,he,xe,de,ge){return m({algorithm:ge.algorithm,digits:ge.digits,type:q.Strategy.HOTP,accountName:me,counter:de,issuer:he,secret:xe})}class X extends P{create(he={}){return new X(he)}allOptions(){return I(this.options)}generate(he,xe){return W(he,xe,this.allOptions())}check(he,xe,de){return j(he,xe,de,this.allOptions())}verify(he){if("object"!=typeof he)throw new Error("Expecting argument 0 of verify to be an object");return this.check(he.token,he.secret,he.counter)}keyuri(he,xe,de,ge){return K(he,xe,de,ge,this.allOptions())}}function ie(me){if("number"==typeof me)return[Math.abs(me),Math.abs(me)];if(Array.isArray(me)){const[he,xe]=me;if("number"==typeof he&&"number"==typeof xe)return[Math.abs(he),Math.abs(xe)]}throw new Error("Expecting options.window to be an number or [number, number].")}function ae(me){if(d(me),ie(me.window),"number"!=typeof me.epoch)throw new Error("Expecting options.epoch to be a number.");if("number"!=typeof me.step)throw new Error("Expecting options.step to be a number.")}const fe=(me,he,xe)=>{const de=me.length,ge=Buffer.from(me,he).toString("hex");if(de<xe){const qe=new Array(xe-de+1).join(ge);return Buffer.from(qe,"hex").slice(0,xe).toString("hex")}return ge},se=(me,he,xe)=>{switch(me){case q.HashAlgorithms.SHA1:return fe(he,xe,20);case q.HashAlgorithms.SHA256:return fe(he,xe,32);case q.HashAlgorithms.SHA512:return fe(he,xe,64);default:throw new Error(`Expecting algorithm to be one of ${e.join(", ")}. Received ${me}.`)}};function Me(){return{algorithm:q.HashAlgorithms.SHA1,createDigest:A,createHmacKey:se,digits:6,encoding:q.KeyEncodings.ASCII,epoch:Date.now(),step:30,window:0}}function $(me){const he={...Me(),...me};return ae(he),Object.freeze(he)}function ue(me,he){return Math.floor(me/he/1e3)}function S(me,he){return W(me,ue(he.epoch,he.step),he)}function n(me,he,xe,de){const ge=[];if(0===de)return ge;for(let qe=1;qe<=de;qe++)ge.push(me+he*qe*xe);return ge}function s(me,he,xe){const de=ie(xe),ge=1e3*he;return{current:me,past:n(me,-1,ge,de[0]),future:n(me,1,ge,de[1])}}function f(me,he,xe){return!!l(me)&&me===S(he,xe)}function h(me,he,xe,de){let ge=null;return me.some((qe,oe)=>!!f(he,xe,{...de,epoch:qe})&&(ge=oe+1,!0)),ge}function w(me,he,xe){if(f(me,he,xe))return 0;const de=s(xe.epoch,xe.step,xe.window),ge=h(de.past,me,he,xe);return null!==ge?-1*ge:h(de.future,me,he,xe)}function D(me,he){return Math.floor(me/1e3)%he}function O(me,he){return he-D(me,he)}function v(me,he,xe,de){return m({algorithm:de.algorithm,digits:de.digits,step:de.step,type:q.Strategy.TOTP,accountName:me,issuer:he,secret:xe})}class r extends X{create(he={}){return new r(he)}allOptions(){return $(this.options)}generate(he){return S(he,this.allOptions())}checkDelta(he,xe){return w(he,xe,this.allOptions())}check(he,xe){return"number"==typeof this.checkDelta(he,xe)}verify(he){if("object"!=typeof he)throw new Error("Expecting argument 0 of verify to be an object");return this.check(he.token,he.secret)}timeRemaining(){const he=this.allOptions();return O(he.epoch,he.step)}timeUsed(){const he=this.allOptions();return D(he.epoch,he.step)}keyuri(he,xe,de){return v(he,xe,de,this.allOptions())}}function g(me){if(ae(me),"function"!=typeof me.keyDecoder)throw new Error("Expecting options.keyDecoder to be a function.");if(me.keyEncoder&&"function"!=typeof me.keyEncoder)throw new Error("Expecting options.keyEncoder to be a function.")}function H(){return{algorithm:q.HashAlgorithms.SHA1,createDigest:A,createHmacKey:se,digits:6,encoding:q.KeyEncodings.HEX,epoch:Date.now(),step:30,window:0}}function N(me){const he={...H(),...me};return g(he),Object.freeze(he)}function ee(me,he){return he.keyEncoder(me,he.encoding)}function De(me,he){return he.keyDecoder(me,he.encoding)}function ot(me,he){return ee(he.createRandomBytes(me,he.encoding),he)}function je(me,he){return S(De(me,he),he)}function Je(me,he,xe){return w(me,De(he,xe),xe)}class ye extends r{create(he={}){return new ye(he)}allOptions(){return N(this.options)}generate(he){return je(he,this.allOptions())}checkDelta(he,xe){return Je(he,xe,this.allOptions())}encode(he){return ee(he,this.allOptions())}decode(he){return De(he,this.allOptions())}generateSecret(he=10){return ot(he,this.allOptions())}}q.Authenticator=ye,q.HASH_ALGORITHMS=e,q.HOTP=X,q.KEY_ENCODINGS=t,q.OTP=P,q.STRATEGY=y,q.TOTP=r,q.authenticatorCheckWithWindow=Je,q.authenticatorDecoder=De,q.authenticatorDefaultOptions=H,q.authenticatorEncoder=ee,q.authenticatorGenerateSecret=ot,q.authenticatorOptionValidator=g,q.authenticatorOptions=N,q.authenticatorToken=je,q.createDigestPlaceholder=A,q.hotpCheck=j,q.hotpCounter=k,q.hotpCreateHmacKey=E,q.hotpDefaultOptions=M,q.hotpDigestToToken=V,q.hotpKeyuri=K,q.hotpOptions=I,q.hotpOptionsValidator=d,q.hotpToken=W,q.isTokenValid=l,q.keyuri=m,q.objectValues=p,q.padStart=x,q.totpCheck=f,q.totpCheckByEpoch=h,q.totpCheckWithWindow=w,q.totpCounter=ue,q.totpCreateHmacKey=se,q.totpDefaultOptions=Me,q.totpEpochAvailable=s,q.totpKeyuri=v,q.totpOptions=$,q.totpOptionsValidator=ae,q.totpPadSecret=fe,q.totpTimeRemaining=O,q.totpTimeUsed=D,q.totpToken=S},1239:(ze,q,p)=>{"use strict";Object.defineProperty(q,"__esModule",{value:!0});var t=function e(l){return l&&"object"==typeof l&&"default"in l?l.default:l}(p(7903));q.createDigest=(l,x,m)=>t.createHmac(l,Buffer.from(x,"hex")).update(Buffer.from(m,"hex")).digest().toString("hex"),q.createRandomBytes=(l,x)=>t.randomBytes(l).toString(x)},3637:(ze,q,p)=>{"use strict";Object.defineProperty(q,"__esModule",{value:!0});var t=function e(l){return l&&"object"==typeof l&&"default"in l?l.default:l}(p(5852));q.keyDecoder=(l,x)=>t.decode(l).toString(x),q.keyEncoder=(l,x)=>t.encode(Buffer.from(l,x).toString("ascii")).toString().replace(/=/g,"")},6981:(ze,q,p)=>{"use strict";Object.defineProperty(q,"__esModule",{value:!0});var e=p(1239),t=p(3637),y=p(9599);const A=new y.HOTP({createDigest:e.createDigest}),l=new y.TOTP({createDigest:e.createDigest}),x=new y.Authenticator({createDigest:e.createDigest,createRandomBytes:e.createRandomBytes,keyDecoder:t.keyDecoder,keyEncoder:t.keyEncoder});q.authenticator=x,q.hotp=A,q.totp=l},7414:(ze,q,p)=>{"use strict";const e=q;e.bignum=p(5047),e.define=p(302).define,e.base=p(510),e.constants=p(4155),e.decoders=p(1301),e.encoders=p(3693)},302:(ze,q,p)=>{"use strict";const e=p(3693),t=p(1301),y=p(6698);function l(x,m){this.name=x,this.body=m,this.decoders={},this.encoders={}}q.define=function(m,P){return new l(m,P)},l.prototype._createNamed=function(m){const P=this.name;function d(E){this._initNamed(E,P)}return y(d,m),d.prototype._initNamed=function(M,I){m.call(this,M,I)},new d(this)},l.prototype._getDecoder=function(m){return this.decoders.hasOwnProperty(m=m||"der")||(this.decoders[m]=this._createNamed(t[m])),this.decoders[m]},l.prototype.decode=function(m,P,d){return this._getDecoder(P).decode(m,d)},l.prototype._getEncoder=function(m){return this.encoders.hasOwnProperty(m=m||"der")||(this.encoders[m]=this._createNamed(e[m])),this.encoders[m]},l.prototype.encode=function(m,P,d){return this._getEncoder(P).encode(m,d)}},5720:(ze,q,p)=>{"use strict";const e=p(6698),t=p(5684).b,y=p(4179).Buffer;function A(x,m){t.call(this,m),y.isBuffer(x)?(this.base=x,this.offset=0,this.length=x.length):this.error("Input not Buffer")}function l(x,m){if(Array.isArray(x))this.length=0,this.value=x.map(function(P){return l.isEncoderBuffer(P)||(P=new l(P,m)),this.length+=P.length,P},this);else if("number"==typeof x){if(!(0<=x&&x<=255))return m.error("non-byte EncoderBuffer value");this.value=x,this.length=1}else if("string"==typeof x)this.value=x,this.length=y.byteLength(x);else{if(!y.isBuffer(x))return m.error("Unsupported type: "+typeof x);this.value=x,this.length=x.length}}e(A,t),q.C=A,A.isDecoderBuffer=function(m){return m instanceof A||"object"==typeof m&&y.isBuffer(m.base)&&"DecoderBuffer"===m.constructor.name&&"number"==typeof m.offset&&"number"==typeof m.length&&"function"==typeof m.save&&"function"==typeof m.restore&&"function"==typeof m.isEmpty&&"function"==typeof m.readUInt8&&"function"==typeof m.skip&&"function"==typeof m.raw},A.prototype.save=function(){return{offset:this.offset,reporter:t.prototype.save.call(this)}},A.prototype.restore=function(m){const P=new A(this.base);return P.offset=m.offset,P.length=this.offset,this.offset=m.offset,t.prototype.restore.call(this,m.reporter),P},A.prototype.isEmpty=function(){return this.offset===this.length},A.prototype.readUInt8=function(m){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(m||"DecoderBuffer overrun")},A.prototype.skip=function(m,P){if(!(this.offset+m<=this.length))return this.error(P||"DecoderBuffer overrun");const d=new A(this.base);return d._reporterState=this._reporterState,d.offset=this.offset,d.length=this.offset+m,this.offset+=m,d},A.prototype.raw=function(m){return this.base.slice(m?m.offset:this.offset,this.length)},q.R=l,l.isEncoderBuffer=function(m){return m instanceof l||"object"==typeof m&&"EncoderBuffer"===m.constructor.name&&"number"==typeof m.length&&"function"==typeof m.join},l.prototype.join=function(m,P){return m||(m=y.alloc(this.length)),P||(P=0),0===this.length||(Array.isArray(this.value)?this.value.forEach(function(d){d.join(m,P),P+=d.length}):("number"==typeof this.value?m[P]=this.value:"string"==typeof this.value?m.write(this.value,P):y.isBuffer(this.value)&&this.value.copy(m,P),P+=this.length)),m}},510:(ze,q,p)=>{"use strict";const e=q;e.Reporter=p(5684).b,e.DecoderBuffer=p(5720).C,e.EncoderBuffer=p(5720).R,e.Node=p(8533)},8533:(ze,q,p)=>{"use strict";const e=p(5684).b,t=p(5720).R,y=p(5720).C,A=p(7798),l=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],x=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(l);function P(E,M,I){const k={};this._baseState=k,k.name=I,k.enc=E,k.parent=M||null,k.children=null,k.tag=null,k.args=null,k.reverseArgs=null,k.choice=null,k.optional=!1,k.any=!1,k.obj=!1,k.use=null,k.useDecoder=null,k.key=null,k.default=null,k.explicit=null,k.implicit=null,k.contains=null,k.parent||(k.children=[],this._wrap())}ze.exports=P;const d=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];P.prototype.clone=function(){const M=this._baseState,I={};d.forEach(function(V){I[V]=M[V]});const k=new this.constructor(I.parent);return k._baseState=I,k},P.prototype._wrap=function(){const M=this._baseState;x.forEach(function(I){this[I]=function(){const V=new this.constructor(this);return M.children.push(V),V[I].apply(V,arguments)}},this)},P.prototype._init=function(M){const I=this._baseState;A(null===I.parent),M.call(this),I.children=I.children.filter(function(k){return k._baseState.parent===this},this),A.equal(I.children.length,1,"Root node can have only one child")},P.prototype._useArgs=function(M){const I=this._baseState,k=M.filter(function(V){return V instanceof this.constructor},this);M=M.filter(function(V){return!(V instanceof this.constructor)},this),0!==k.length&&(A(null===I.children),I.children=k,k.forEach(function(V){V._baseState.parent=this},this)),0!==M.length&&(A(null===I.args),I.args=M,I.reverseArgs=M.map(function(V){if("object"!=typeof V||V.constructor!==Object)return V;const B={};return Object.keys(V).forEach(function(W){W==(0|W)&&(W|=0),B[V[W]]=W}),B}))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach(function(E){P.prototype[E]=function(){throw new Error(E+" not implemented for encoding: "+this._baseState.enc)}}),l.forEach(function(E){P.prototype[E]=function(){const I=this._baseState,k=Array.prototype.slice.call(arguments);return A(null===I.tag),I.tag=E,this._useArgs(k),this}}),P.prototype.use=function(M){A(M);const I=this._baseState;return A(null===I.use),I.use=M,this},P.prototype.optional=function(){return this._baseState.optional=!0,this},P.prototype.def=function(M){const I=this._baseState;return A(null===I.default),I.default=M,I.optional=!0,this},P.prototype.explicit=function(M){const I=this._baseState;return A(null===I.explicit&&null===I.implicit),I.explicit=M,this},P.prototype.implicit=function(M){const I=this._baseState;return A(null===I.explicit&&null===I.implicit),I.implicit=M,this},P.prototype.obj=function(){const M=this._baseState,I=Array.prototype.slice.call(arguments);return M.obj=!0,0!==I.length&&this._useArgs(I),this},P.prototype.key=function(M){const I=this._baseState;return A(null===I.key),I.key=M,this},P.prototype.any=function(){return this._baseState.any=!0,this},P.prototype.choice=function(M){const I=this._baseState;return A(null===I.choice),I.choice=M,this._useArgs(Object.keys(M).map(function(k){return M[k]})),this},P.prototype.contains=function(M){const I=this._baseState;return A(null===I.use),I.contains=M,this},P.prototype._decode=function(M,I){const k=this._baseState;if(null===k.parent)return M.wrapResult(k.children[0]._decode(M,I));let j,V=k.default,B=!0,W=null;if(null!==k.key&&(W=M.enterKey(k.key)),k.optional){let K=null;if(null!==k.explicit?K=k.explicit:null!==k.implicit?K=k.implicit:null!==k.tag&&(K=k.tag),null!==K||k.any){if(B=this._peekTag(M,K,k.any),M.isError(B))return B}else{const X=M.save();try{null===k.choice?this._decodeGeneric(k.tag,M,I):this._decodeChoice(M,I),B=!0}catch{B=!1}M.restore(X)}}if(k.obj&&B&&(j=M.enterObject()),B){if(null!==k.explicit){const X=this._decodeTag(M,k.explicit);if(M.isError(X))return X;M=X}const K=M.offset;if(null===k.use&&null===k.choice){let X;k.any&&(X=M.save());const ie=this._decodeTag(M,null!==k.implicit?k.implicit:k.tag,k.any);if(M.isError(ie))return ie;k.any?V=M.raw(X):M=ie}if(I&&I.track&&null!==k.tag&&I.track(M.path(),K,M.length,"tagged"),I&&I.track&&null!==k.tag&&I.track(M.path(),M.offset,M.length,"content"),k.any||(V=null===k.choice?this._decodeGeneric(k.tag,M,I):this._decodeChoice(M,I)),M.isError(V))return V;if(!k.any&&null===k.choice&&null!==k.children&&k.children.forEach(function(ie){ie._decode(M,I)}),k.contains&&("octstr"===k.tag||"bitstr"===k.tag)){const X=new y(V);V=this._getUse(k.contains,M._reporterState.obj)._decode(X,I)}}return k.obj&&B&&(V=M.leaveObject(j)),null===k.key||null===V&&!0!==B?null!==W&&M.exitKey(W):M.leaveKey(W,k.key,V),V},P.prototype._decodeGeneric=function(M,I,k){const V=this._baseState;return"seq"===M||"set"===M?null:"seqof"===M||"setof"===M?this._decodeList(I,M,V.args[0],k):/str$/.test(M)?this._decodeStr(I,M,k):"objid"===M&&V.args?this._decodeObjid(I,V.args[0],V.args[1],k):"objid"===M?this._decodeObjid(I,null,null,k):"gentime"===M||"utctime"===M?this._decodeTime(I,M,k):"null_"===M?this._decodeNull(I,k):"bool"===M?this._decodeBool(I,k):"objDesc"===M?this._decodeStr(I,M,k):"int"===M||"enum"===M?this._decodeInt(I,V.args&&V.args[0],k):null!==V.use?this._getUse(V.use,I._reporterState.obj)._decode(I,k):I.error("unknown tag: "+M)},P.prototype._getUse=function(M,I){const k=this._baseState;return k.useDecoder=this._use(M,I),A(null===k.useDecoder._baseState.parent),k.useDecoder=k.useDecoder._baseState.children[0],k.implicit!==k.useDecoder._baseState.implicit&&(k.useDecoder=k.useDecoder.clone(),k.useDecoder._baseState.implicit=k.implicit),k.useDecoder},P.prototype._decodeChoice=function(M,I){const k=this._baseState;let V=null,B=!1;return Object.keys(k.choice).some(function(W){const j=M.save(),K=k.choice[W];try{const X=K._decode(M,I);if(M.isError(X))return!1;V={type:W,value:X},B=!0}catch{return M.restore(j),!1}return!0},this),B?V:M.error("Choice not matched")},P.prototype._createEncoderBuffer=function(M){return new t(M,this.reporter)},P.prototype._encode=function(M,I,k){const V=this._baseState;if(null!==V.default&&V.default===M)return;const B=this._encodeValue(M,I,k);return void 0===B||this._skipDefault(B,I,k)?void 0:B},P.prototype._encodeValue=function(M,I,k){const V=this._baseState;if(null===V.parent)return V.children[0]._encode(M,I||new e);let B=null;if(this.reporter=I,V.optional&&void 0===M){if(null===V.default)return;M=V.default}let W=null,j=!1;if(V.any)B=this._createEncoderBuffer(M);else if(V.choice)B=this._encodeChoice(M,I);else if(V.contains)W=this._getUse(V.contains,k)._encode(M,I),j=!0;else if(V.children)W=V.children.map(function(K){if("null_"===K._baseState.tag)return K._encode(null,I,M);if(null===K._baseState.key)return I.error("Child should have a key");const X=I.enterKey(K._baseState.key);if("object"!=typeof M)return I.error("Child expected, but input is not object");const ie=K._encode(M[K._baseState.key],I,M);return I.leaveKey(X),ie},this).filter(function(K){return K}),W=this._createEncoderBuffer(W);else if("seqof"===V.tag||"setof"===V.tag){if(!V.args||1!==V.args.length)return I.error("Too many args for : "+V.tag);if(!Array.isArray(M))return I.error("seqof/setof, but data is not Array");const K=this.clone();K._baseState.implicit=null,W=this._createEncoderBuffer(M.map(function(X){return this._getUse(this._baseState.args[0],M)._encode(X,I)},K))}else null!==V.use?B=this._getUse(V.use,k)._encode(M,I):(W=this._encodePrimitive(V.tag,M),j=!0);if(!V.any&&null===V.choice){const K=null!==V.implicit?V.implicit:V.tag,X=null===V.implicit?"universal":"context";null===K?null===V.use&&I.error("Tag could be omitted only for .use()"):null===V.use&&(B=this._encodeComposite(K,j,X,W))}return null!==V.explicit&&(B=this._encodeComposite(V.explicit,!1,"context",B)),B},P.prototype._encodeChoice=function(M,I){const k=this._baseState,V=k.choice[M.type];return V||A(!1,M.type+" not found in "+JSON.stringify(Object.keys(k.choice))),V._encode(M.value,I)},P.prototype._encodePrimitive=function(M,I){const k=this._baseState;if(/str$/.test(M))return this._encodeStr(I,M);if("objid"===M&&k.args)return this._encodeObjid(I,k.reverseArgs[0],k.args[1]);if("objid"===M)return this._encodeObjid(I,null,null);if("gentime"===M||"utctime"===M)return this._encodeTime(I,M);if("null_"===M)return this._encodeNull();if("int"===M||"enum"===M)return this._encodeInt(I,k.args&&k.reverseArgs[0]);if("bool"===M)return this._encodeBool(I);if("objDesc"===M)return this._encodeStr(I,M);throw new Error("Unsupported tag: "+M)},P.prototype._isNumstr=function(M){return/^[0-9 ]*$/.test(M)},P.prototype._isPrintstr=function(M){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(M)}},5684:(ze,q,p)=>{"use strict";const e=p(6698);function t(A){this._reporterState={obj:null,path:[],options:A||{},errors:[]}}function y(A,l){this.path=A,this.rethrow(l)}q.b=t,t.prototype.isError=function(l){return l instanceof y},t.prototype.save=function(){const l=this._reporterState;return{obj:l.obj,pathLen:l.path.length}},t.prototype.restore=function(l){const x=this._reporterState;x.obj=l.obj,x.path=x.path.slice(0,l.pathLen)},t.prototype.enterKey=function(l){return this._reporterState.path.push(l)},t.prototype.exitKey=function(l){const x=this._reporterState;x.path=x.path.slice(0,l-1)},t.prototype.leaveKey=function(l,x,m){const P=this._reporterState;this.exitKey(l),null!==P.obj&&(P.obj[x]=m)},t.prototype.path=function(){return this._reporterState.path.join("/")},t.prototype.enterObject=function(){const l=this._reporterState,x=l.obj;return l.obj={},x},t.prototype.leaveObject=function(l){const x=this._reporterState,m=x.obj;return x.obj=l,m},t.prototype.error=function(l){let x;const m=this._reporterState,P=l instanceof y;if(x=P?l:new y(m.path.map(function(d){return"["+JSON.stringify(d)+"]"}).join(""),l.message||l,l.stack),!m.options.partial)throw x;return P||m.errors.push(x),x},t.prototype.wrapResult=function(l){const x=this._reporterState;return x.options.partial?{result:this.isError(l)?null:l,errors:x.errors}:l},e(y,Error),y.prototype.rethrow=function(l){if(this.message=l+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,y),!this.stack)try{throw new Error(this.message)}catch(x){this.stack=x.stack}return this}},5086:(ze,q)=>{"use strict";function p(e){const t={};return Object.keys(e).forEach(function(y){(0|y)==y&&(y|=0),t[e[y]]=y}),t}q.tagClass={0:"universal",1:"application",2:"context",3:"private"},q.tagClassByName=p(q.tagClass),q.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},q.tagByName=p(q.tag)},4155:(ze,q,p)=>{"use strict";const e=q;e._reverse=function(y){const A={};return Object.keys(y).forEach(function(l){(0|l)==l&&(l|=0),A[y[l]]=l}),A},e.der=p(5086)},6835:(ze,q,p)=>{"use strict";const e=p(6698),t=p(5047),y=p(5720).C,A=p(8533),l=p(5086);function x(E){this.enc="der",this.name=E.name,this.entity=E,this.tree=new m,this.tree._init(E.body)}function m(E){A.call(this,"der",E)}function P(E,M){let I=E.readUInt8(M);if(E.isError(I))return I;const k=l.tagClass[I>>6],V=0==(32&I);if(31==(31&I)){let W=I;for(I=0;128==(128&W);){if(W=E.readUInt8(M),E.isError(W))return W;I<<=7,I|=127&W}}else I&=31;return{cls:k,primitive:V,tag:I,tagStr:l.tag[I]}}function d(E,M,I){let k=E.readUInt8(I);if(E.isError(k))return k;if(!M&&128===k)return null;if(!(128&k))return k;const V=127&k;if(V>4)return E.error("length octect is too long");k=0;for(let B=0;B<V;B++){k<<=8;const W=E.readUInt8(I);if(E.isError(W))return W;k|=W}return k}ze.exports=x,x.prototype.decode=function(M,I){return y.isDecoderBuffer(M)||(M=new y(M,I)),this.tree._decode(M,I)},e(m,A),m.prototype._peekTag=function(M,I,k){if(M.isEmpty())return!1;const V=M.save(),B=P(M,'Failed to peek tag: "'+I+'"');return M.isError(B)?B:(M.restore(V),B.tag===I||B.tagStr===I||B.tagStr+"of"===I||k)},m.prototype._decodeTag=function(M,I,k){const V=P(M,'Failed to decode tag of "'+I+'"');if(M.isError(V))return V;let B=d(M,V.primitive,'Failed to get length of "'+I+'"');if(M.isError(B))return B;if(!k&&V.tag!==I&&V.tagStr!==I&&V.tagStr+"of"!==I)return M.error('Failed to match tag: "'+I+'"');if(V.primitive||null!==B)return M.skip(B,'Failed to match body of: "'+I+'"');const W=M.save(),j=this._skipUntilEnd(M,'Failed to skip indefinite length body: "'+this.tag+'"');return M.isError(j)?j:(B=M.offset-W.offset,M.restore(W),M.skip(B,'Failed to match body of: "'+I+'"'))},m.prototype._skipUntilEnd=function(M,I){for(;;){const k=P(M,I);if(M.isError(k))return k;const V=d(M,k.primitive,I);if(M.isError(V))return V;let B;if(B=k.primitive||null!==V?M.skip(V):this._skipUntilEnd(M,I),M.isError(B))return B;if("end"===k.tagStr)break}},m.prototype._decodeList=function(M,I,k,V){const B=[];for(;!M.isEmpty();){const W=this._peekTag(M,"end");if(M.isError(W))return W;const j=k.decode(M,"der",V);if(M.isError(j)&&W)break;B.push(j)}return B},m.prototype._decodeStr=function(M,I){if("bitstr"===I){const k=M.readUInt8();return M.isError(k)?k:{unused:k,data:M.raw()}}if("bmpstr"===I){const k=M.raw();if(k.length%2==1)return M.error("Decoding of string type: bmpstr length mismatch");let V="";for(let B=0;B<k.length/2;B++)V+=String.fromCharCode(k.readUInt16BE(2*B));return V}if("numstr"===I){const k=M.raw().toString("ascii");return this._isNumstr(k)?k:M.error("Decoding of string type: numstr unsupported characters")}if("octstr"===I)return M.raw();if("objDesc"===I)return M.raw();if("printstr"===I){const k=M.raw().toString("ascii");return this._isPrintstr(k)?k:M.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(I)?M.raw().toString():M.error("Decoding of string type: "+I+" unsupported")},m.prototype._decodeObjid=function(M,I,k){let V;const B=[];let W=0,j=0;for(;!M.isEmpty();)j=M.readUInt8(),W<<=7,W|=127&j,128&j||(B.push(W),W=0);if(128&j&&B.push(W),V=k?B:[B[0]/40|0,B[0]%40].concat(B.slice(1)),I){let ie=I[V.join(" ")];void 0===ie&&(ie=I[V.join(".")]),void 0!==ie&&(V=ie)}return V},m.prototype._decodeTime=function(M,I){const k=M.raw().toString();let V,B,W,j,K,X;if("gentime"===I)V=0|k.slice(0,4),B=0|k.slice(4,6),W=0|k.slice(6,8),j=0|k.slice(8,10),K=0|k.slice(10,12),X=0|k.slice(12,14);else{if("utctime"!==I)return M.error("Decoding "+I+" time is not supported yet");V=0|k.slice(0,2),B=0|k.slice(2,4),W=0|k.slice(4,6),j=0|k.slice(6,8),K=0|k.slice(8,10),X=0|k.slice(10,12),V=V<70?2e3+V:1900+V}return Date.UTC(V,B-1,W,j,K,X,0)},m.prototype._decodeNull=function(){return null},m.prototype._decodeBool=function(M){const I=M.readUInt8();return M.isError(I)?I:0!==I},m.prototype._decodeInt=function(M,I){const k=M.raw();let V=new t(k);return I&&(V=I[V.toString(10)]||V),V},m.prototype._use=function(M,I){return"function"==typeof M&&(M=M(I)),M._getDecoder("der").tree}},1301:(ze,q,p)=>{"use strict";const e=q;e.der=p(6835),e.pem=p(2208)},2208:(ze,q,p)=>{"use strict";const e=p(6698),t=p(4179).Buffer,y=p(6835);function A(l){y.call(this,l),this.enc="pem"}e(A,y),ze.exports=A,A.prototype.decode=function(x,m){const P=x.toString().split(/[\r\n]+/g),d=m.label.toUpperCase(),E=/^-----(BEGIN|END) ([^-]+)-----$/;let M=-1,I=-1;for(let B=0;B<P.length;B++){const W=P[B].match(E);if(null!==W&&W[2]===d){if(-1!==M){if("END"!==W[1])break;I=B;break}if("BEGIN"!==W[1])break;M=B}}if(-1===M||-1===I)throw new Error("PEM section not found for: "+d);const k=P.slice(M+1,I).join("");k.replace(/[^a-z0-9+/=]+/gi,"");const V=t.from(k,"base64");return y.prototype.decode.call(this,V,m)}},9133:(ze,q,p)=>{"use strict";const e=p(6698),t=p(4179).Buffer,y=p(8533),A=p(5086);function l(d){this.enc="der",this.name=d.name,this.entity=d,this.tree=new x,this.tree._init(d.body)}function x(d){y.call(this,"der",d)}function m(d){return d<10?"0"+d:d}ze.exports=l,l.prototype.encode=function(E,M){return this.tree._encode(E,M).join()},e(x,y),x.prototype._encodeComposite=function(E,M,I,k){const V=function P(d,E,M,I){let k;if("seqof"===d?d="seq":"setof"===d&&(d="set"),A.tagByName.hasOwnProperty(d))k=A.tagByName[d];else{if("number"!=typeof d||(0|d)!==d)return I.error("Unknown tag: "+d);k=d}return k>=31?I.error("Multi-octet tag encoding unsupported"):(E||(k|=32),k|=A.tagClassByName[M||"universal"]<<6,k)}(E,M,I,this.reporter);if(k.length<128){const j=t.alloc(2);return j[0]=V,j[1]=k.length,this._createEncoderBuffer([j,k])}let B=1;for(let j=k.length;j>=256;j>>=8)B++;const W=t.alloc(2+B);W[0]=V,W[1]=128|B;for(let j=1+B,K=k.length;K>0;j--,K>>=8)W[j]=255&K;return this._createEncoderBuffer([W,k])},x.prototype._encodeStr=function(E,M){if("bitstr"===M)return this._createEncoderBuffer([0|E.unused,E.data]);if("bmpstr"===M){const I=t.alloc(2*E.length);for(let k=0;k<E.length;k++)I.writeUInt16BE(E.charCodeAt(k),2*k);return this._createEncoderBuffer(I)}return"numstr"===M?this._isNumstr(E)?this._createEncoderBuffer(E):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===M?this._isPrintstr(E)?this._createEncoderBuffer(E):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(E):this.reporter.error("Encoding of string type: "+M+" unsupported")},x.prototype._encodeObjid=function(E,M,I){if("string"==typeof E){if(!M)return this.reporter.error("string objid given, but no values map found");if(!M.hasOwnProperty(E))return this.reporter.error("objid not found in values map");E=M[E].split(/[\s.]+/g);for(let W=0;W<E.length;W++)E[W]|=0}else if(Array.isArray(E)){E=E.slice();for(let W=0;W<E.length;W++)E[W]|=0}if(!Array.isArray(E))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(E));if(!I){if(E[1]>=40)return this.reporter.error("Second objid identifier OOB");E.splice(0,2,40*E[0]+E[1])}let k=0;for(let W=0;W<E.length;W++){let j=E[W];for(k++;j>=128;j>>=7)k++}const V=t.alloc(k);let B=V.length-1;for(let W=E.length-1;W>=0;W--){let j=E[W];for(V[B--]=127&j;(j>>=7)>0;)V[B--]=128|127&j}return this._createEncoderBuffer(V)},x.prototype._encodeTime=function(E,M){let I;const k=new Date(E);return"gentime"===M?I=[m(k.getUTCFullYear()),m(k.getUTCMonth()+1),m(k.getUTCDate()),m(k.getUTCHours()),m(k.getUTCMinutes()),m(k.getUTCSeconds()),"Z"].join(""):"utctime"===M?I=[m(k.getUTCFullYear()%100),m(k.getUTCMonth()+1),m(k.getUTCDate()),m(k.getUTCHours()),m(k.getUTCMinutes()),m(k.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+M+" time is not supported yet"),this._encodeStr(I,"octstr")},x.prototype._encodeNull=function(){return this._createEncoderBuffer("")},x.prototype._encodeInt=function(E,M){if("string"==typeof E){if(!M)return this.reporter.error("String int or enum given, but no values map");if(!M.hasOwnProperty(E))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(E));E=M[E]}if("number"!=typeof E&&!t.isBuffer(E)){const V=E.toArray();!E.sign&&128&V[0]&&V.unshift(0),E=t.from(V)}if(t.isBuffer(E)){let V=E.length;0===E.length&&V++;const B=t.alloc(V);return E.copy(B),0===E.length&&(B[0]=0),this._createEncoderBuffer(B)}if(E<128)return this._createEncoderBuffer(E);if(E<256)return this._createEncoderBuffer([0,E]);let I=1;for(let V=E;V>=256;V>>=8)I++;const k=new Array(I);for(let V=k.length-1;V>=0;V--)k[V]=255&E,E>>=8;return 128&k[0]&&k.unshift(0),this._createEncoderBuffer(t.from(k))},x.prototype._encodeBool=function(E){return this._createEncoderBuffer(E?255:0)},x.prototype._use=function(E,M){return"function"==typeof E&&(E=E(M)),E._getEncoder("der").tree},x.prototype._skipDefault=function(E,M,I){const k=this._baseState;let V;if(null===k.default)return!1;const B=E.join();if(void 0===k.defaultBuffer&&(k.defaultBuffer=this._encodeValue(k.default,M,I).join()),B.length!==k.defaultBuffer.length)return!1;for(V=0;V<B.length;V++)if(B[V]!==k.defaultBuffer[V])return!1;return!0}},3693:(ze,q,p)=>{"use strict";const e=q;e.der=p(9133),e.pem=p(7900)},7900:(ze,q,p)=>{"use strict";const e=p(6698),t=p(9133);function y(A){t.call(this,A),this.enc="pem"}e(y,t),ze.exports=y,y.prototype.encode=function(l,x){const P=t.prototype.encode.call(this,l).toString("base64"),d=["-----BEGIN "+x.label+"-----"];for(let E=0;E<P.length;E+=64)d.push(P.slice(E,E+64));return d.push("-----END "+x.label+"-----"),d.join("\n")}},5047:function(ze,q,p){!function(e,t){"use strict";function y(S,n){if(!S)throw new Error(n||"Assertion failed")}function A(S,n){S.super_=n;var s=function(){};s.prototype=n.prototype,S.prototype=new s,S.prototype.constructor=S}function l(S,n,s){if(l.isBN(S))return S;this.negative=0,this.words=null,this.length=0,this.red=null,null!==S&&(("le"===n||"be"===n)&&(s=n,n=10),this._init(S||0,n||10,s||"be"))}var x;"object"==typeof e?e.exports=l:t.BN=l,l.BN=l,l.wordSize=26;try{x=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:p(950).Buffer}catch{}function m(S,n){var s=S.charCodeAt(n);return s>=65&&s<=70?s-55:s>=97&&s<=102?s-87:s-48&15}function P(S,n,s){var f=m(S,s);return s-1>=n&&(f|=m(S,s-1)<<4),f}function d(S,n,s,f){for(var h=0,w=Math.min(S.length,s),D=n;D<w;D++){var O=S.charCodeAt(D)-48;h*=f,h+=O>=49?O-49+10:O>=17?O-17+10:O}return h}l.isBN=function(n){return n instanceof l||null!==n&&"object"==typeof n&&n.constructor.wordSize===l.wordSize&&Array.isArray(n.words)},l.max=function(n,s){return n.cmp(s)>0?n:s},l.min=function(n,s){return n.cmp(s)<0?n:s},l.prototype._init=function(n,s,f){if("number"==typeof n)return this._initNumber(n,s,f);if("object"==typeof n)return this._initArray(n,s,f);"hex"===s&&(s=16),y(s===(0|s)&&s>=2&&s<=36);var h=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h<n.length&&(16===s?this._parseHex(n,h,f):(this._parseBase(n,s,h),"le"===f&&this._initArray(this.toArray(),s,f)))},l.prototype._initNumber=function(n,s,f){n<0&&(this.negative=1,n=-n),n<67108864?(this.words=[67108863&n],this.length=1):n<4503599627370496?(this.words=[67108863&n,n/67108864&67108863],this.length=2):(y(n<9007199254740992),this.words=[67108863&n,n/67108864&67108863,1],this.length=3),"le"===f&&this._initArray(this.toArray(),s,f)},l.prototype._initArray=function(n,s,f){if(y("number"==typeof n.length),n.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(n.length/3),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var w,D,O=0;if("be"===f)for(h=n.length-1,w=0;h>=0;h-=3)this.words[w]|=(D=n[h]|n[h-1]<<8|n[h-2]<<16)<<O&67108863,this.words[w+1]=D>>>26-O&67108863,(O+=24)>=26&&(O-=26,w++);else if("le"===f)for(h=0,w=0;h<n.length;h+=3)this.words[w]|=(D=n[h]|n[h+1]<<8|n[h+2]<<16)<<O&67108863,this.words[w+1]=D>>>26-O&67108863,(O+=24)>=26&&(O-=26,w++);return this.strip()},l.prototype._parseHex=function(n,s,f){this.length=Math.ceil((n.length-s)/6),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var O,w=0,D=0;if("be"===f)for(h=n.length-1;h>=s;h-=2)O=P(n,s,h)<<w,this.words[D]|=67108863&O,w>=18?(w-=18,this.words[D+=1]|=O>>>26):w+=8;else for(h=(n.length-s)%2==0?s+1:s;h<n.length;h+=2)O=P(n,s,h)<<w,this.words[D]|=67108863&O,w>=18?(w-=18,this.words[D+=1]|=O>>>26):w+=8;this.strip()},l.prototype._parseBase=function(n,s,f){this.words=[0],this.length=1;for(var h=0,w=1;w<=67108863;w*=s)h++;h--,w=w/s|0;for(var D=n.length-f,O=D%h,v=Math.min(D,D-O)+f,r=0,g=f;g<v;g+=h)r=d(n,g,g+h,s),this.imuln(w),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r);if(0!==O){var H=1;for(r=d(n,g,n.length,s),g=0;g<O;g++)H*=s;this.imuln(H),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r)}this.strip()},l.prototype.copy=function(n){n.words=new Array(this.length);for(var s=0;s<this.length;s++)n.words[s]=this.words[s];n.length=this.length,n.negative=this.negative,n.red=this.red},l.prototype.clone=function(){var n=new l(null);return this.copy(n),n},l.prototype._expand=function(n){for(;this.length<n;)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 E=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],M=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],I=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function V(S,n,s){s.negative=n.negative^S.negative;var f=S.length+n.length|0;s.length=f,f=f-1|0;var h=0|S.words[0],w=0|n.words[0],D=h*w,v=D/67108864|0;s.words[0]=67108863&D;for(var r=1;r<f;r++){for(var g=v>>>26,H=67108863&v,N=Math.min(r,n.length-1),ee=Math.max(0,r-S.length+1);ee<=N;ee++)g+=(D=(h=0|S.words[r-ee|0])*(w=0|n.words[ee])+H)/67108864|0,H=67108863&D;s.words[r]=0|H,v=0|g}return 0!==v?s.words[r]=0|v:s.length--,s.strip()}l.prototype.toString=function(n,s){var f;if(s=0|s||1,16===(n=n||10)||"hex"===n){f="";for(var h=0,w=0,D=0;D<this.length;D++){var O=this.words[D],v=(16777215&(O<<h|w)).toString(16);f=0!=(w=O>>>24-h&16777215)||D!==this.length-1?E[6-v.length]+v+f:v+f,(h+=2)>=26&&(h-=26,D--)}for(0!==w&&(f=w.toString(16)+f);f.length%s!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}if(n===(0|n)&&n>=2&&n<=36){var r=M[n],g=I[n];f="";var H=this.clone();for(H.negative=0;!H.isZero();){var N=H.modn(g).toString(n);f=(H=H.idivn(g)).isZero()?N+f:E[r-N.length]+N+f}for(this.isZero()&&(f="0"+f);f.length%s!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}y(!1,"Base should be between 2 and 36")},l.prototype.toNumber=function(){var n=this.words[0];return 2===this.length?n+=67108864*this.words[1]:3===this.length&&1===this.words[2]?n+=4503599627370496+67108864*this.words[1]:this.length>2&&y(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-n:n},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(n,s){return y(typeof x<"u"),this.toArrayLike(x,n,s)},l.prototype.toArray=function(n,s){return this.toArrayLike(Array,n,s)},l.prototype.toArrayLike=function(n,s,f){var h=this.byteLength(),w=f||Math.max(1,h);y(h<=w,"byte array longer than desired length"),y(w>0,"Requested array length <= 0"),this.strip();var v,r,D="le"===s,O=new n(w),g=this.clone();if(D){for(r=0;!g.isZero();r++)v=g.andln(255),g.iushrn(8),O[r]=v;for(;r<w;r++)O[r]=0}else{for(r=0;r<w-h;r++)O[r]=0;for(r=0;!g.isZero();r++)v=g.andln(255),g.iushrn(8),O[w-r-1]=v}return O},l.prototype._countBits=Math.clz32?function(n){return 32-Math.clz32(n)}:function(n){var s=n,f=0;return s>=4096&&(f+=13,s>>>=13),s>=64&&(f+=7,s>>>=7),s>=8&&(f+=4,s>>>=4),s>=2&&(f+=2,s>>>=2),f+s},l.prototype._zeroBits=function(n){if(0===n)return 26;var s=n,f=0;return 8191&s||(f+=13,s>>>=13),127&s||(f+=7,s>>>=7),15&s||(f+=4,s>>>=4),3&s||(f+=2,s>>>=2),1&s||f++,f},l.prototype.bitLength=function(){var s=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+s},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,s=0;s<this.length;s++){var f=this._zeroBits(this.words[s]);if(n+=f,26!==f)break}return n},l.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},l.prototype.toTwos=function(n){return 0!==this.negative?this.abs().inotn(n).iaddn(1):this.clone()},l.prototype.fromTwos=function(n){return this.testn(n-1)?this.notn(n).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(n){for(;this.length<n.length;)this.words[this.length++]=0;for(var s=0;s<n.length;s++)this.words[s]=this.words[s]|n.words[s];return this.strip()},l.prototype.ior=function(n){return y(0==(this.negative|n.negative)),this.iuor(n)},l.prototype.or=function(n){return this.length>n.length?this.clone().ior(n):n.clone().ior(this)},l.prototype.uor=function(n){return this.length>n.length?this.clone().iuor(n):n.clone().iuor(this)},l.prototype.iuand=function(n){var s;s=this.length>n.length?n:this;for(var f=0;f<s.length;f++)this.words[f]=this.words[f]&n.words[f];return this.length=s.length,this.strip()},l.prototype.iand=function(n){return y(0==(this.negative|n.negative)),this.iuand(n)},l.prototype.and=function(n){return this.length>n.length?this.clone().iand(n):n.clone().iand(this)},l.prototype.uand=function(n){return this.length>n.length?this.clone().iuand(n):n.clone().iuand(this)},l.prototype.iuxor=function(n){var s,f;this.length>n.length?(s=this,f=n):(s=n,f=this);for(var h=0;h<f.length;h++)this.words[h]=s.words[h]^f.words[h];if(this!==s)for(;h<s.length;h++)this.words[h]=s.words[h];return this.length=s.length,this.strip()},l.prototype.ixor=function(n){return y(0==(this.negative|n.negative)),this.iuxor(n)},l.prototype.xor=function(n){return this.length>n.length?this.clone().ixor(n):n.clone().ixor(this)},l.prototype.uxor=function(n){return this.length>n.length?this.clone().iuxor(n):n.clone().iuxor(this)},l.prototype.inotn=function(n){y("number"==typeof n&&n>=0);var s=0|Math.ceil(n/26),f=n%26;this._expand(s),f>0&&s--;for(var h=0;h<s;h++)this.words[h]=67108863&~this.words[h];return f>0&&(this.words[h]=~this.words[h]&67108863>>26-f),this.strip()},l.prototype.notn=function(n){return this.clone().inotn(n)},l.prototype.setn=function(n,s){y("number"==typeof n&&n>=0);var f=n/26|0,h=n%26;return this._expand(f+1),this.words[f]=s?this.words[f]|1<<h:this.words[f]&~(1<<h),this.strip()},l.prototype.iadd=function(n){var s,f,h;if(0!==this.negative&&0===n.negative)return this.negative=0,s=this.isub(n),this.negative^=1,this._normSign();if(0===this.negative&&0!==n.negative)return n.negative=0,s=this.isub(n),n.negative=1,s._normSign();this.length>n.length?(f=this,h=n):(f=n,h=this);for(var w=0,D=0;D<h.length;D++)this.words[D]=67108863&(s=(0|f.words[D])+(0|h.words[D])+w),w=s>>>26;for(;0!==w&&D<f.length;D++)this.words[D]=67108863&(s=(0|f.words[D])+w),w=s>>>26;if(this.length=f.length,0!==w)this.words[this.length]=w,this.length++;else if(f!==this)for(;D<f.length;D++)this.words[D]=f.words[D];return this},l.prototype.add=function(n){var s;return 0!==n.negative&&0===this.negative?(n.negative=0,s=this.sub(n),n.negative^=1,s):0===n.negative&&0!==this.negative?(this.negative=0,s=n.sub(this),this.negative=1,s):this.length>n.length?this.clone().iadd(n):n.clone().iadd(this)},l.prototype.isub=function(n){if(0!==n.negative){n.negative=0;var s=this.iadd(n);return n.negative=1,s._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var h,w,f=this.cmp(n);if(0===f)return this.negative=0,this.length=1,this.words[0]=0,this;f>0?(h=this,w=n):(h=n,w=this);for(var D=0,O=0;O<w.length;O++)D=(s=(0|h.words[O])-(0|w.words[O])+D)>>26,this.words[O]=67108863&s;for(;0!==D&&O<h.length;O++)D=(s=(0|h.words[O])+D)>>26,this.words[O]=67108863&s;if(0===D&&O<h.length&&h!==this)for(;O<h.length;O++)this.words[O]=h.words[O];return this.length=Math.max(this.length,O),h!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(n){return this.clone().isub(n)};var B=function(n,s,f){var v,r,g,h=n.words,w=s.words,D=f.words,O=0,H=0|h[0],N=8191&H,ee=H>>>13,De=0|h[1],ot=8191&De,je=De>>>13,Je=0|h[2],ye=8191&Je,me=Je>>>13,he=0|h[3],xe=8191&he,de=he>>>13,ge=0|h[4],qe=8191&ge,oe=ge>>>13,ve=0|h[5],le=8191&ve,Ge=ve>>>13,We=0|h[6],wt=8191&We,mt=We>>>13,kt=0|h[7],Ae=8191&kt,Be=kt>>>13,it=0|h[8],$e=8191&it,ke=it>>>13,st=0|h[9],Ke=8191&st,Et=st>>>13,ct=0|w[0],te=8191&ct,Pe=ct>>>13,$t=0|w[1],Ze=8191&$t,Qe=$t>>>13,zt=0|w[2],xt=8191&zt,Ot=zt>>>13,yt=0|w[3],nt=8191&yt,Ee=yt>>>13,tt=0|w[4],Ue=8191&tt,Xe=tt>>>13,gt=0|w[5],Le=8191&gt,be=gt>>>13,J=0|w[6],re=8191&J,Ie=J>>>13,Nt=0|w[7],At=8191&Nt,Zt=Nt>>>13,mi=0|w[8],Jt=8191&mi,Xt=mi>>>13,Hi=0|w[9],li=8191&Hi,hi=Hi>>>13;f.negative=n.negative^s.negative,f.length=19;var un=(O+(v=Math.imul(N,te))|0)+((8191&(r=(r=Math.imul(N,Pe))+Math.imul(ee,te)|0))<<13)|0;O=((g=Math.imul(ee,Pe))+(r>>>13)|0)+(un>>>26)|0,un&=67108863,v=Math.imul(ot,te),r=(r=Math.imul(ot,Pe))+Math.imul(je,te)|0,g=Math.imul(je,Pe);var Qi=(O+(v=v+Math.imul(N,Ze)|0)|0)+((8191&(r=(r=r+Math.imul(N,Qe)|0)+Math.imul(ee,Ze)|0))<<13)|0;O=((g=g+Math.imul(ee,Qe)|0)+(r>>>13)|0)+(Qi>>>26)|0,Qi&=67108863,v=Math.imul(ye,te),r=(r=Math.imul(ye,Pe))+Math.imul(me,te)|0,g=Math.imul(me,Pe),v=v+Math.imul(ot,Ze)|0,r=(r=r+Math.imul(ot,Qe)|0)+Math.imul(je,Ze)|0,g=g+Math.imul(je,Qe)|0;var xi=(O+(v=v+Math.imul(N,xt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ot)|0)+Math.imul(ee,xt)|0))<<13)|0;O=((g=g+Math.imul(ee,Ot)|0)+(r>>>13)|0)+(xi>>>26)|0,xi&=67108863,v=Math.imul(xe,te),r=(r=Math.imul(xe,Pe))+Math.imul(de,te)|0,g=Math.imul(de,Pe),v=v+Math.imul(ye,Ze)|0,r=(r=r+Math.imul(ye,Qe)|0)+Math.imul(me,Ze)|0,g=g+Math.imul(me,Qe)|0,v=v+Math.imul(ot,xt)|0,r=(r=r+Math.imul(ot,Ot)|0)+Math.imul(je,xt)|0,g=g+Math.imul(je,Ot)|0;var sn=(O+(v=v+Math.imul(N,nt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ee)|0)+Math.imul(ee,nt)|0))<<13)|0;O=((g=g+Math.imul(ee,Ee)|0)+(r>>>13)|0)+(sn>>>26)|0,sn&=67108863,v=Math.imul(qe,te),r=(r=Math.imul(qe,Pe))+Math.imul(oe,te)|0,g=Math.imul(oe,Pe),v=v+Math.imul(xe,Ze)|0,r=(r=r+Math.imul(xe,Qe)|0)+Math.imul(de,Ze)|0,g=g+Math.imul(de,Qe)|0,v=v+Math.imul(ye,xt)|0,r=(r=r+Math.imul(ye,Ot)|0)+Math.imul(me,xt)|0,g=g+Math.imul(me,Ot)|0,v=v+Math.imul(ot,nt)|0,r=(r=r+Math.imul(ot,Ee)|0)+Math.imul(je,nt)|0,g=g+Math.imul(je,Ee)|0;var at=(O+(v=v+Math.imul(N,Ue)|0)|0)+((8191&(r=(r=r+Math.imul(N,Xe)|0)+Math.imul(ee,Ue)|0))<<13)|0;O=((g=g+Math.imul(ee,Xe)|0)+(r>>>13)|0)+(at>>>26)|0,at&=67108863,v=Math.imul(le,te),r=(r=Math.imul(le,Pe))+Math.imul(Ge,te)|0,g=Math.imul(Ge,Pe),v=v+Math.imul(qe,Ze)|0,r=(r=r+Math.imul(qe,Qe)|0)+Math.imul(oe,Ze)|0,g=g+Math.imul(oe,Qe)|0,v=v+Math.imul(xe,xt)|0,r=(r=r+Math.imul(xe,Ot)|0)+Math.imul(de,xt)|0,g=g+Math.imul(de,Ot)|0,v=v+Math.imul(ye,nt)|0,r=(r=r+Math.imul(ye,Ee)|0)+Math.imul(me,nt)|0,g=g+Math.imul(me,Ee)|0,v=v+Math.imul(ot,Ue)|0,r=(r=r+Math.imul(ot,Xe)|0)+Math.imul(je,Ue)|0,g=g+Math.imul(je,Xe)|0;var oi=(O+(v=v+Math.imul(N,Le)|0)|0)+((8191&(r=(r=r+Math.imul(N,be)|0)+Math.imul(ee,Le)|0))<<13)|0;O=((g=g+Math.imul(ee,be)|0)+(r>>>13)|0)+(oi>>>26)|0,oi&=67108863,v=Math.imul(wt,te),r=(r=Math.imul(wt,Pe))+Math.imul(mt,te)|0,g=Math.imul(mt,Pe),v=v+Math.imul(le,Ze)|0,r=(r=r+Math.imul(le,Qe)|0)+Math.imul(Ge,Ze)|0,g=g+Math.imul(Ge,Qe)|0,v=v+Math.imul(qe,xt)|0,r=(r=r+Math.imul(qe,Ot)|0)+Math.imul(oe,xt)|0,g=g+Math.imul(oe,Ot)|0,v=v+Math.imul(xe,nt)|0,r=(r=r+Math.imul(xe,Ee)|0)+Math.imul(de,nt)|0,g=g+Math.imul(de,Ee)|0,v=v+Math.imul(ye,Ue)|0,r=(r=r+Math.imul(ye,Xe)|0)+Math.imul(me,Ue)|0,g=g+Math.imul(me,Xe)|0,v=v+Math.imul(ot,Le)|0,r=(r=r+Math.imul(ot,be)|0)+Math.imul(je,Le)|0,g=g+Math.imul(je,be)|0;var Ce=(O+(v=v+Math.imul(N,re)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ie)|0)+Math.imul(ee,re)|0))<<13)|0;O=((g=g+Math.imul(ee,Ie)|0)+(r>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,v=Math.imul(Ae,te),r=(r=Math.imul(Ae,Pe))+Math.imul(Be,te)|0,g=Math.imul(Be,Pe),v=v+Math.imul(wt,Ze)|0,r=(r=r+Math.imul(wt,Qe)|0)+Math.imul(mt,Ze)|0,g=g+Math.imul(mt,Qe)|0,v=v+Math.imul(le,xt)|0,r=(r=r+Math.imul(le,Ot)|0)+Math.imul(Ge,xt)|0,g=g+Math.imul(Ge,Ot)|0,v=v+Math.imul(qe,nt)|0,r=(r=r+Math.imul(qe,Ee)|0)+Math.imul(oe,nt)|0,g=g+Math.imul(oe,Ee)|0,v=v+Math.imul(xe,Ue)|0,r=(r=r+Math.imul(xe,Xe)|0)+Math.imul(de,Ue)|0,g=g+Math.imul(de,Xe)|0,v=v+Math.imul(ye,Le)|0,r=(r=r+Math.imul(ye,be)|0)+Math.imul(me,Le)|0,g=g+Math.imul(me,be)|0,v=v+Math.imul(ot,re)|0,r=(r=r+Math.imul(ot,Ie)|0)+Math.imul(je,re)|0,g=g+Math.imul(je,Ie)|0;var St=(O+(v=v+Math.imul(N,At)|0)|0)+((8191&(r=(r=r+Math.imul(N,Zt)|0)+Math.imul(ee,At)|0))<<13)|0;O=((g=g+Math.imul(ee,Zt)|0)+(r>>>13)|0)+(St>>>26)|0,St&=67108863,v=Math.imul($e,te),r=(r=Math.imul($e,Pe))+Math.imul(ke,te)|0,g=Math.imul(ke,Pe),v=v+Math.imul(Ae,Ze)|0,r=(r=r+Math.imul(Ae,Qe)|0)+Math.imul(Be,Ze)|0,g=g+Math.imul(Be,Qe)|0,v=v+Math.imul(wt,xt)|0,r=(r=r+Math.imul(wt,Ot)|0)+Math.imul(mt,xt)|0,g=g+Math.imul(mt,Ot)|0,v=v+Math.imul(le,nt)|0,r=(r=r+Math.imul(le,Ee)|0)+Math.imul(Ge,nt)|0,g=g+Math.imul(Ge,Ee)|0,v=v+Math.imul(qe,Ue)|0,r=(r=r+Math.imul(qe,Xe)|0)+Math.imul(oe,Ue)|0,g=g+Math.imul(oe,Xe)|0,v=v+Math.imul(xe,Le)|0,r=(r=r+Math.imul(xe,be)|0)+Math.imul(de,Le)|0,g=g+Math.imul(de,be)|0,v=v+Math.imul(ye,re)|0,r=(r=r+Math.imul(ye,Ie)|0)+Math.imul(me,re)|0,g=g+Math.imul(me,Ie)|0,v=v+Math.imul(ot,At)|0,r=(r=r+Math.imul(ot,Zt)|0)+Math.imul(je,At)|0,g=g+Math.imul(je,Zt)|0;var Ft=(O+(v=v+Math.imul(N,Jt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Xt)|0)+Math.imul(ee,Jt)|0))<<13)|0;O=((g=g+Math.imul(ee,Xt)|0)+(r>>>13)|0)+(Ft>>>26)|0,Ft&=67108863,v=Math.imul(Ke,te),r=(r=Math.imul(Ke,Pe))+Math.imul(Et,te)|0,g=Math.imul(Et,Pe),v=v+Math.imul($e,Ze)|0,r=(r=r+Math.imul($e,Qe)|0)+Math.imul(ke,Ze)|0,g=g+Math.imul(ke,Qe)|0,v=v+Math.imul(Ae,xt)|0,r=(r=r+Math.imul(Ae,Ot)|0)+Math.imul(Be,xt)|0,g=g+Math.imul(Be,Ot)|0,v=v+Math.imul(wt,nt)|0,r=(r=r+Math.imul(wt,Ee)|0)+Math.imul(mt,nt)|0,g=g+Math.imul(mt,Ee)|0,v=v+Math.imul(le,Ue)|0,r=(r=r+Math.imul(le,Xe)|0)+Math.imul(Ge,Ue)|0,g=g+Math.imul(Ge,Xe)|0,v=v+Math.imul(qe,Le)|0,r=(r=r+Math.imul(qe,be)|0)+Math.imul(oe,Le)|0,g=g+Math.imul(oe,be)|0,v=v+Math.imul(xe,re)|0,r=(r=r+Math.imul(xe,Ie)|0)+Math.imul(de,re)|0,g=g+Math.imul(de,Ie)|0,v=v+Math.imul(ye,At)|0,r=(r=r+Math.imul(ye,Zt)|0)+Math.imul(me,At)|0,g=g+Math.imul(me,Zt)|0,v=v+Math.imul(ot,Jt)|0,r=(r=r+Math.imul(ot,Xt)|0)+Math.imul(je,Jt)|0,g=g+Math.imul(je,Xt)|0;var Dt=(O+(v=v+Math.imul(N,li)|0)|0)+((8191&(r=(r=r+Math.imul(N,hi)|0)+Math.imul(ee,li)|0))<<13)|0;O=((g=g+Math.imul(ee,hi)|0)+(r>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,v=Math.imul(Ke,Ze),r=(r=Math.imul(Ke,Qe))+Math.imul(Et,Ze)|0,g=Math.imul(Et,Qe),v=v+Math.imul($e,xt)|0,r=(r=r+Math.imul($e,Ot)|0)+Math.imul(ke,xt)|0,g=g+Math.imul(ke,Ot)|0,v=v+Math.imul(Ae,nt)|0,r=(r=r+Math.imul(Ae,Ee)|0)+Math.imul(Be,nt)|0,g=g+Math.imul(Be,Ee)|0,v=v+Math.imul(wt,Ue)|0,r=(r=r+Math.imul(wt,Xe)|0)+Math.imul(mt,Ue)|0,g=g+Math.imul(mt,Xe)|0,v=v+Math.imul(le,Le)|0,r=(r=r+Math.imul(le,be)|0)+Math.imul(Ge,Le)|0,g=g+Math.imul(Ge,be)|0,v=v+Math.imul(qe,re)|0,r=(r=r+Math.imul(qe,Ie)|0)+Math.imul(oe,re)|0,g=g+Math.imul(oe,Ie)|0,v=v+Math.imul(xe,At)|0,r=(r=r+Math.imul(xe,Zt)|0)+Math.imul(de,At)|0,g=g+Math.imul(de,Zt)|0,v=v+Math.imul(ye,Jt)|0,r=(r=r+Math.imul(ye,Xt)|0)+Math.imul(me,Jt)|0,g=g+Math.imul(me,Xt)|0;var It=(O+(v=v+Math.imul(ot,li)|0)|0)+((8191&(r=(r=r+Math.imul(ot,hi)|0)+Math.imul(je,li)|0))<<13)|0;O=((g=g+Math.imul(je,hi)|0)+(r>>>13)|0)+(It>>>26)|0,It&=67108863,v=Math.imul(Ke,xt),r=(r=Math.imul(Ke,Ot))+Math.imul(Et,xt)|0,g=Math.imul(Et,Ot),v=v+Math.imul($e,nt)|0,r=(r=r+Math.imul($e,Ee)|0)+Math.imul(ke,nt)|0,g=g+Math.imul(ke,Ee)|0,v=v+Math.imul(Ae,Ue)|0,r=(r=r+Math.imul(Ae,Xe)|0)+Math.imul(Be,Ue)|0,g=g+Math.imul(Be,Xe)|0,v=v+Math.imul(wt,Le)|0,r=(r=r+Math.imul(wt,be)|0)+Math.imul(mt,Le)|0,g=g+Math.imul(mt,be)|0,v=v+Math.imul(le,re)|0,r=(r=r+Math.imul(le,Ie)|0)+Math.imul(Ge,re)|0,g=g+Math.imul(Ge,Ie)|0,v=v+Math.imul(qe,At)|0,r=(r=r+Math.imul(qe,Zt)|0)+Math.imul(oe,At)|0,g=g+Math.imul(oe,Zt)|0,v=v+Math.imul(xe,Jt)|0,r=(r=r+Math.imul(xe,Xt)|0)+Math.imul(de,Jt)|0,g=g+Math.imul(de,Xt)|0;var Ut=(O+(v=v+Math.imul(ye,li)|0)|0)+((8191&(r=(r=r+Math.imul(ye,hi)|0)+Math.imul(me,li)|0))<<13)|0;O=((g=g+Math.imul(me,hi)|0)+(r>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,v=Math.imul(Ke,nt),r=(r=Math.imul(Ke,Ee))+Math.imul(Et,nt)|0,g=Math.imul(Et,Ee),v=v+Math.imul($e,Ue)|0,r=(r=r+Math.imul($e,Xe)|0)+Math.imul(ke,Ue)|0,g=g+Math.imul(ke,Xe)|0,v=v+Math.imul(Ae,Le)|0,r=(r=r+Math.imul(Ae,be)|0)+Math.imul(Be,Le)|0,g=g+Math.imul(Be,be)|0,v=v+Math.imul(wt,re)|0,r=(r=r+Math.imul(wt,Ie)|0)+Math.imul(mt,re)|0,g=g+Math.imul(mt,Ie)|0,v=v+Math.imul(le,At)|0,r=(r=r+Math.imul(le,Zt)|0)+Math.imul(Ge,At)|0,g=g+Math.imul(Ge,Zt)|0,v=v+Math.imul(qe,Jt)|0,r=(r=r+Math.imul(qe,Xt)|0)+Math.imul(oe,Jt)|0,g=g+Math.imul(oe,Xt)|0;var ai=(O+(v=v+Math.imul(xe,li)|0)|0)+((8191&(r=(r=r+Math.imul(xe,hi)|0)+Math.imul(de,li)|0))<<13)|0;O=((g=g+Math.imul(de,hi)|0)+(r>>>13)|0)+(ai>>>26)|0,ai&=67108863,v=Math.imul(Ke,Ue),r=(r=Math.imul(Ke,Xe))+Math.imul(Et,Ue)|0,g=Math.imul(Et,Xe),v=v+Math.imul($e,Le)|0,r=(r=r+Math.imul($e,be)|0)+Math.imul(ke,Le)|0,g=g+Math.imul(ke,be)|0,v=v+Math.imul(Ae,re)|0,r=(r=r+Math.imul(Ae,Ie)|0)+Math.imul(Be,re)|0,g=g+Math.imul(Be,Ie)|0,v=v+Math.imul(wt,At)|0,r=(r=r+Math.imul(wt,Zt)|0)+Math.imul(mt,At)|0,g=g+Math.imul(mt,Zt)|0,v=v+Math.imul(le,Jt)|0,r=(r=r+Math.imul(le,Xt)|0)+Math.imul(Ge,Jt)|0,g=g+Math.imul(Ge,Xt)|0;var _i=(O+(v=v+Math.imul(qe,li)|0)|0)+((8191&(r=(r=r+Math.imul(qe,hi)|0)+Math.imul(oe,li)|0))<<13)|0;O=((g=g+Math.imul(oe,hi)|0)+(r>>>13)|0)+(_i>>>26)|0,_i&=67108863,v=Math.imul(Ke,Le),r=(r=Math.imul(Ke,be))+Math.imul(Et,Le)|0,g=Math.imul(Et,be),v=v+Math.imul($e,re)|0,r=(r=r+Math.imul($e,Ie)|0)+Math.imul(ke,re)|0,g=g+Math.imul(ke,Ie)|0,v=v+Math.imul(Ae,At)|0,r=(r=r+Math.imul(Ae,Zt)|0)+Math.imul(Be,At)|0,g=g+Math.imul(Be,Zt)|0,v=v+Math.imul(wt,Jt)|0,r=(r=r+Math.imul(wt,Xt)|0)+Math.imul(mt,Jt)|0,g=g+Math.imul(mt,Xt)|0;var bi=(O+(v=v+Math.imul(le,li)|0)|0)+((8191&(r=(r=r+Math.imul(le,hi)|0)+Math.imul(Ge,li)|0))<<13)|0;O=((g=g+Math.imul(Ge,hi)|0)+(r>>>13)|0)+(bi>>>26)|0,bi&=67108863,v=Math.imul(Ke,re),r=(r=Math.imul(Ke,Ie))+Math.imul(Et,re)|0,g=Math.imul(Et,Ie),v=v+Math.imul($e,At)|0,r=(r=r+Math.imul($e,Zt)|0)+Math.imul(ke,At)|0,g=g+Math.imul(ke,Zt)|0,v=v+Math.imul(Ae,Jt)|0,r=(r=r+Math.imul(Ae,Xt)|0)+Math.imul(Be,Jt)|0,g=g+Math.imul(Be,Xt)|0;var Oi=(O+(v=v+Math.imul(wt,li)|0)|0)+((8191&(r=(r=r+Math.imul(wt,hi)|0)+Math.imul(mt,li)|0))<<13)|0;O=((g=g+Math.imul(mt,hi)|0)+(r>>>13)|0)+(Oi>>>26)|0,Oi&=67108863,v=Math.imul(Ke,At),r=(r=Math.imul(Ke,Zt))+Math.imul(Et,At)|0,g=Math.imul(Et,Zt),v=v+Math.imul($e,Jt)|0,r=(r=r+Math.imul($e,Xt)|0)+Math.imul(ke,Jt)|0,g=g+Math.imul(ke,Xt)|0;var Bi=(O+(v=v+Math.imul(Ae,li)|0)|0)+((8191&(r=(r=r+Math.imul(Ae,hi)|0)+Math.imul(Be,li)|0))<<13)|0;O=((g=g+Math.imul(Be,hi)|0)+(r>>>13)|0)+(Bi>>>26)|0,Bi&=67108863,v=Math.imul(Ke,Jt),r=(r=Math.imul(Ke,Xt))+Math.imul(Et,Jt)|0,g=Math.imul(Et,Xt);var Vi=(O+(v=v+Math.imul($e,li)|0)|0)+((8191&(r=(r=r+Math.imul($e,hi)|0)+Math.imul(ke,li)|0))<<13)|0;O=((g=g+Math.imul(ke,hi)|0)+(r>>>13)|0)+(Vi>>>26)|0,Vi&=67108863;var Kt=(O+(v=Math.imul(Ke,li))|0)+((8191&(r=(r=Math.imul(Ke,hi))+Math.imul(Et,li)|0))<<13)|0;return O=((g=Math.imul(Et,hi))+(r>>>13)|0)+(Kt>>>26)|0,Kt&=67108863,D[0]=un,D[1]=Qi,D[2]=xi,D[3]=sn,D[4]=at,D[5]=oi,D[6]=Ce,D[7]=St,D[8]=Ft,D[9]=Dt,D[10]=It,D[11]=Ut,D[12]=ai,D[13]=_i,D[14]=bi,D[15]=Oi,D[16]=Bi,D[17]=Vi,D[18]=Kt,0!==O&&(D[19]=O,f.length++),f};function j(S,n,s){return(new K).mulp(S,n,s)}function K(S,n){this.x=S,this.y=n}Math.imul||(B=V),l.prototype.mulTo=function(n,s){var f,h=this.length+n.length;return f=10===this.length&&10===n.length?B(this,n,s):h<63?V(this,n,s):h<1024?function W(S,n,s){s.negative=n.negative^S.negative,s.length=S.length+n.length;for(var f=0,h=0,w=0;w<s.length-1;w++){var D=h;h=0;for(var O=67108863&f,v=Math.min(w,n.length-1),r=Math.max(0,w-S.length+1);r<=v;r++){var ee=(0|S.words[w-r])*(0|n.words[r]),De=67108863&ee;O=67108863&(De=De+O|0),h+=(D=(D=D+(ee/67108864|0)|0)+(De>>>26)|0)>>>26,D&=67108863}s.words[w]=O,f=D,D=h}return 0!==f?s.words[w]=f:s.length--,s.strip()}(this,n,s):j(this,n,s),f},K.prototype.makeRBT=function(n){for(var s=new Array(n),f=l.prototype._countBits(n)-1,h=0;h<n;h++)s[h]=this.revBin(h,f,n);return s},K.prototype.revBin=function(n,s,f){if(0===n||n===f-1)return n;for(var h=0,w=0;w<s;w++)h|=(1&n)<<s-w-1,n>>=1;return h},K.prototype.permute=function(n,s,f,h,w,D){for(var O=0;O<D;O++)h[O]=s[n[O]],w[O]=f[n[O]]},K.prototype.transform=function(n,s,f,h,w,D){this.permute(D,n,s,f,h,w);for(var O=1;O<w;O<<=1)for(var v=O<<1,r=Math.cos(2*Math.PI/v),g=Math.sin(2*Math.PI/v),H=0;H<w;H+=v)for(var N=r,ee=g,De=0;De<O;De++){var ot=f[H+De],je=h[H+De],Je=f[H+De+O],ye=h[H+De+O],me=N*Je-ee*ye;ye=N*ye+ee*Je,f[H+De]=ot+(Je=me),h[H+De]=je+ye,f[H+De+O]=ot-Je,h[H+De+O]=je-ye,De!==v&&(me=r*N-g*ee,ee=r*ee+g*N,N=me)}},K.prototype.guessLen13b=function(n,s){var f=1|Math.max(s,n),h=1&f,w=0;for(f=f/2|0;f;f>>>=1)w++;return 1<<w+1+h},K.prototype.conjugate=function(n,s,f){if(!(f<=1))for(var h=0;h<f/2;h++){var w=n[h];n[h]=n[f-h-1],n[f-h-1]=w,w=s[h],s[h]=-s[f-h-1],s[f-h-1]=-w}},K.prototype.normalize13b=function(n,s){for(var f=0,h=0;h<s/2;h++){var w=8192*Math.round(n[2*h+1]/s)+Math.round(n[2*h]/s)+f;n[h]=67108863&w,f=w<67108864?0:w/67108864|0}return n},K.prototype.convert13b=function(n,s,f,h){for(var w=0,D=0;D<s;D++)f[2*D]=8191&(w+=0|n[D]),f[2*D+1]=8191&(w>>>=13),w>>>=13;for(D=2*s;D<h;++D)f[D]=0;y(0===w),y(0==(-8192&w))},K.prototype.stub=function(n){for(var s=new Array(n),f=0;f<n;f++)s[f]=0;return s},K.prototype.mulp=function(n,s,f){var h=2*this.guessLen13b(n.length,s.length),w=this.makeRBT(h),D=this.stub(h),O=new Array(h),v=new Array(h),r=new Array(h),g=new Array(h),H=new Array(h),N=new Array(h),ee=f.words;ee.length=h,this.convert13b(n.words,n.length,O,h),this.convert13b(s.words,s.length,g,h),this.transform(O,D,v,r,h,w),this.transform(g,D,H,N,h,w);for(var De=0;De<h;De++){var ot=v[De]*H[De]-r[De]*N[De];r[De]=v[De]*N[De]+r[De]*H[De],v[De]=ot}return this.conjugate(v,r,h),this.transform(v,r,ee,D,h,w),this.conjugate(ee,D,h),this.normalize13b(ee,h),f.negative=n.negative^s.negative,f.length=n.length+s.length,f.strip()},l.prototype.mul=function(n){var s=new l(null);return s.words=new Array(this.length+n.length),this.mulTo(n,s)},l.prototype.mulf=function(n){var s=new l(null);return s.words=new Array(this.length+n.length),j(this,n,s)},l.prototype.imul=function(n){return this.clone().mulTo(n,this)},l.prototype.imuln=function(n){y("number"==typeof n),y(n<67108864);for(var s=0,f=0;f<this.length;f++){var h=(0|this.words[f])*n,w=(67108863&h)+(67108863&s);s>>=26,s+=h/67108864|0,s+=w>>>26,this.words[f]=67108863&w}return 0!==s&&(this.words[f]=s,this.length++),this},l.prototype.muln=function(n){return this.clone().imuln(n)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(n){var s=function k(S){for(var n=new Array(S.bitLength()),s=0;s<n.length;s++){var h=s%26;n[s]=(S.words[s/26|0]&1<<h)>>>h}return n}(n);if(0===s.length)return new l(1);for(var f=this,h=0;h<s.length&&0===s[h];h++,f=f.sqr());if(++h<s.length)for(var w=f.sqr();h<s.length;h++,w=w.sqr())0!==s[h]&&(f=f.mul(w));return f},l.prototype.iushln=function(n){y("number"==typeof n&&n>=0);var w,s=n%26,f=(n-s)/26,h=67108863>>>26-s<<26-s;if(0!==s){var D=0;for(w=0;w<this.length;w++){var O=this.words[w]&h;this.words[w]=(0|this.words[w])-O<<s|D,D=O>>>26-s}D&&(this.words[w]=D,this.length++)}if(0!==f){for(w=this.length-1;w>=0;w--)this.words[w+f]=this.words[w];for(w=0;w<f;w++)this.words[w]=0;this.length+=f}return this.strip()},l.prototype.ishln=function(n){return y(0===this.negative),this.iushln(n)},l.prototype.iushrn=function(n,s,f){var h;y("number"==typeof n&&n>=0),h=s?(s-s%26)/26:0;var w=n%26,D=Math.min((n-w)/26,this.length),O=67108863^67108863>>>w<<w,v=f;if(h-=D,h=Math.max(0,h),v){for(var r=0;r<D;r++)v.words[r]=this.words[r];v.length=D}if(0!==D)if(this.length>D)for(this.length-=D,r=0;r<this.length;r++)this.words[r]=this.words[r+D];else this.words[0]=0,this.length=1;var g=0;for(r=this.length-1;r>=0&&(0!==g||r>=h);r--){var H=0|this.words[r];this.words[r]=g<<26-w|H>>>w,g=H&O}return v&&0!==g&&(v.words[v.length++]=g),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(n,s,f){return y(0===this.negative),this.iushrn(n,s,f)},l.prototype.shln=function(n){return this.clone().ishln(n)},l.prototype.ushln=function(n){return this.clone().iushln(n)},l.prototype.shrn=function(n){return this.clone().ishrn(n)},l.prototype.ushrn=function(n){return this.clone().iushrn(n)},l.prototype.testn=function(n){y("number"==typeof n&&n>=0);var s=n%26,f=(n-s)/26;return!(this.length<=f||!(this.words[f]&1<<s))},l.prototype.imaskn=function(n){y("number"==typeof n&&n>=0);var s=n%26,f=(n-s)/26;return y(0===this.negative,"imaskn works only with positive numbers"),this.length<=f?this:(0!==s&&f++,this.length=Math.min(f,this.length),0!==s&&(this.words[this.length-1]&=67108863^67108863>>>s<<s),this.strip())},l.prototype.maskn=function(n){return this.clone().imaskn(n)},l.prototype.iaddn=function(n){return y("number"==typeof n),y(n<67108864),n<0?this.isubn(-n):0!==this.negative?1===this.length&&(0|this.words[0])<n?(this.words[0]=n-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(n),this.negative=1,this):this._iaddn(n)},l.prototype._iaddn=function(n){this.words[0]+=n;for(var s=0;s<this.length&&this.words[s]>=67108864;s++)this.words[s]-=67108864,s===this.length-1?this.words[s+1]=1:this.words[s+1]++;return this.length=Math.max(this.length,s+1),this},l.prototype.isubn=function(n){if(y("number"==typeof n),y(n<67108864),n<0)return this.iaddn(-n);if(0!==this.negative)return this.negative=0,this.iaddn(n),this.negative=1,this;if(this.words[0]-=n,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var s=0;s<this.length&&this.words[s]<0;s++)this.words[s]+=67108864,this.words[s+1]-=1;return this.strip()},l.prototype.addn=function(n){return this.clone().iaddn(n)},l.prototype.subn=function(n){return this.clone().isubn(n)},l.prototype.iabs=function(){return this.negative=0,this},l.prototype.abs=function(){return this.clone().iabs()},l.prototype._ishlnsubmul=function(n,s,f){var w;this._expand(n.length+f);var D,O=0;for(w=0;w<n.length;w++){D=(0|this.words[w+f])+O;var v=(0|n.words[w])*s;O=((D-=67108863&v)>>26)-(v/67108864|0),this.words[w+f]=67108863&D}for(;w<this.length-f;w++)O=(D=(0|this.words[w+f])+O)>>26,this.words[w+f]=67108863&D;if(0===O)return this.strip();for(y(-1===O),O=0,w=0;w<this.length;w++)O=(D=-(0|this.words[w])+O)>>26,this.words[w]=67108863&D;return this.negative=1,this.strip()},l.prototype._wordDiv=function(n,s){var f,h=this.clone(),w=n,D=0|w.words[w.length-1];0!=(f=26-this._countBits(D))&&(w=w.ushln(f),h.iushln(f),D=0|w.words[w.length-1]);var r,v=h.length-w.length;if("mod"!==s){(r=new l(null)).length=v+1,r.words=new Array(r.length);for(var g=0;g<r.length;g++)r.words[g]=0}var H=h.clone()._ishlnsubmul(w,1,v);0===H.negative&&(h=H,r&&(r.words[v]=1));for(var N=v-1;N>=0;N--){var ee=67108864*(0|h.words[w.length+N])+(0|h.words[w.length+N-1]);for(ee=Math.min(ee/D|0,67108863),h._ishlnsubmul(w,ee,N);0!==h.negative;)ee--,h.negative=0,h._ishlnsubmul(w,1,N),h.isZero()||(h.negative^=1);r&&(r.words[N]=ee)}return r&&r.strip(),h.strip(),"div"!==s&&0!==f&&h.iushrn(f),{div:r||null,mod:h}},l.prototype.divmod=function(n,s,f){return y(!n.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===n.negative?(D=this.neg().divmod(n,s),"mod"!==s&&(h=D.div.neg()),"div"!==s&&(w=D.mod.neg(),f&&0!==w.negative&&w.iadd(n)),{div:h,mod:w}):0===this.negative&&0!==n.negative?(D=this.divmod(n.neg(),s),"mod"!==s&&(h=D.div.neg()),{div:h,mod:D.mod}):this.negative&n.negative?(D=this.neg().divmod(n.neg(),s),"div"!==s&&(w=D.mod.neg(),f&&0!==w.negative&&w.isub(n)),{div:D.div,mod:w}):n.length>this.length||this.cmp(n)<0?{div:new l(0),mod:this}:1===n.length?"div"===s?{div:this.divn(n.words[0]),mod:null}:"mod"===s?{div:null,mod:new l(this.modn(n.words[0]))}:{div:this.divn(n.words[0]),mod:new l(this.modn(n.words[0]))}:this._wordDiv(n,s);var h,w,D},l.prototype.div=function(n){return this.divmod(n,"div",!1).div},l.prototype.mod=function(n){return this.divmod(n,"mod",!1).mod},l.prototype.umod=function(n){return this.divmod(n,"mod",!0).mod},l.prototype.divRound=function(n){var s=this.divmod(n);if(s.mod.isZero())return s.div;var f=0!==s.div.negative?s.mod.isub(n):s.mod,h=n.ushrn(1),w=n.andln(1),D=f.cmp(h);return D<0||1===w&&0===D?s.div:0!==s.div.negative?s.div.isubn(1):s.div.iaddn(1)},l.prototype.modn=function(n){y(n<=67108863);for(var s=(1<<26)%n,f=0,h=this.length-1;h>=0;h--)f=(s*f+(0|this.words[h]))%n;return f},l.prototype.idivn=function(n){y(n<=67108863);for(var s=0,f=this.length-1;f>=0;f--){var h=(0|this.words[f])+67108864*s;this.words[f]=h/n|0,s=h%n}return this.strip()},l.prototype.divn=function(n){return this.clone().idivn(n)},l.prototype.egcd=function(n){y(0===n.negative),y(!n.isZero());var s=this,f=n.clone();s=0!==s.negative?s.umod(n):s.clone();for(var h=new l(1),w=new l(0),D=new l(0),O=new l(1),v=0;s.isEven()&&f.isEven();)s.iushrn(1),f.iushrn(1),++v;for(var r=f.clone(),g=s.clone();!s.isZero();){for(var H=0,N=1;!(s.words[0]&N)&&H<26;++H,N<<=1);if(H>0)for(s.iushrn(H);H-- >0;)(h.isOdd()||w.isOdd())&&(h.iadd(r),w.isub(g)),h.iushrn(1),w.iushrn(1);for(var ee=0,De=1;!(f.words[0]&De)&&ee<26;++ee,De<<=1);if(ee>0)for(f.iushrn(ee);ee-- >0;)(D.isOdd()||O.isOdd())&&(D.iadd(r),O.isub(g)),D.iushrn(1),O.iushrn(1);s.cmp(f)>=0?(s.isub(f),h.isub(D),w.isub(O)):(f.isub(s),D.isub(h),O.isub(w))}return{a:D,b:O,gcd:f.iushln(v)}},l.prototype._invmp=function(n){y(0===n.negative),y(!n.isZero());var H,s=this,f=n.clone();s=0!==s.negative?s.umod(n):s.clone();for(var h=new l(1),w=new l(0),D=f.clone();s.cmpn(1)>0&&f.cmpn(1)>0;){for(var O=0,v=1;!(s.words[0]&v)&&O<26;++O,v<<=1);if(O>0)for(s.iushrn(O);O-- >0;)h.isOdd()&&h.iadd(D),h.iushrn(1);for(var r=0,g=1;!(f.words[0]&g)&&r<26;++r,g<<=1);if(r>0)for(f.iushrn(r);r-- >0;)w.isOdd()&&w.iadd(D),w.iushrn(1);s.cmp(f)>=0?(s.isub(f),h.isub(w)):(f.isub(s),w.isub(h))}return(H=0===s.cmpn(1)?h:w).cmpn(0)<0&&H.iadd(n),H},l.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var s=this.clone(),f=n.clone();s.negative=0,f.negative=0;for(var h=0;s.isEven()&&f.isEven();h++)s.iushrn(1),f.iushrn(1);for(;;){for(;s.isEven();)s.iushrn(1);for(;f.isEven();)f.iushrn(1);var w=s.cmp(f);if(w<0){var D=s;s=f,f=D}else if(0===w||0===f.cmpn(1))break;s.isub(f)}return f.iushln(h)},l.prototype.invm=function(n){return this.egcd(n).a.umod(n)},l.prototype.isEven=function(){return 0==(1&this.words[0])},l.prototype.isOdd=function(){return 1==(1&this.words[0])},l.prototype.andln=function(n){return this.words[0]&n},l.prototype.bincn=function(n){y("number"==typeof n);var s=n%26,f=(n-s)/26,h=1<<s;if(this.length<=f)return this._expand(f+1),this.words[f]|=h,this;for(var w=h,D=f;0!==w&&D<this.length;D++){var O=0|this.words[D];w=(O+=w)>>>26,this.words[D]=O&=67108863}return 0!==w&&(this.words[D]=w,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(n){var f,s=n<0;if(0!==this.negative&&!s)return-1;if(0===this.negative&&s)return 1;if(this.strip(),this.length>1)f=1;else{s&&(n=-n),y(n<=67108863,"Number is too big");var h=0|this.words[0];f=h===n?0:h<n?-1:1}return 0!==this.negative?0|-f:f},l.prototype.cmp=function(n){if(0!==this.negative&&0===n.negative)return-1;if(0===this.negative&&0!==n.negative)return 1;var s=this.ucmp(n);return 0!==this.negative?0|-s:s},l.prototype.ucmp=function(n){if(this.length>n.length)return 1;if(this.length<n.length)return-1;for(var s=0,f=this.length-1;f>=0;f--){var h=0|this.words[f],w=0|n.words[f];if(h!==w){h<w?s=-1:h>w&&(s=1);break}}return s},l.prototype.gtn=function(n){return 1===this.cmpn(n)},l.prototype.gt=function(n){return 1===this.cmp(n)},l.prototype.gten=function(n){return this.cmpn(n)>=0},l.prototype.gte=function(n){return this.cmp(n)>=0},l.prototype.ltn=function(n){return-1===this.cmpn(n)},l.prototype.lt=function(n){return-1===this.cmp(n)},l.prototype.lten=function(n){return this.cmpn(n)<=0},l.prototype.lte=function(n){return this.cmp(n)<=0},l.prototype.eqn=function(n){return 0===this.cmpn(n)},l.prototype.eq=function(n){return 0===this.cmp(n)},l.red=function(n){return new $(n)},l.prototype.toRed=function(n){return y(!this.red,"Already a number in reduction context"),y(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},l.prototype.fromRed=function(){return y(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(n){return this.red=n,this},l.prototype.forceRed=function(n){return y(!this.red,"Already a number in reduction context"),this._forceRed(n)},l.prototype.redAdd=function(n){return y(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},l.prototype.redIAdd=function(n){return y(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},l.prototype.redSub=function(n){return y(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},l.prototype.redISub=function(n){return y(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},l.prototype.redShl=function(n){return y(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},l.prototype.redMul=function(n){return y(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},l.prototype.redIMul=function(n){return y(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},l.prototype.redSqr=function(){return y(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return y(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return y(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return y(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return y(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(n){return y(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var X={k256:null,p224:null,p192:null,p25519:null};function ie(S,n){this.name=S,this.p=new l(n,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function ae(){ie.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function fe(){ie.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function se(){ie.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function Me(){ie.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function $(S){if("string"==typeof S){var n=l._prime(S);this.m=n.p,this.prime=n}else y(S.gtn(1),"modulus must be greater than 1"),this.m=S,this.prime=null}function ue(S){$.call(this,S),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}ie.prototype._tmp=function(){var n=new l(null);return n.words=new Array(Math.ceil(this.n/13)),n},ie.prototype.ireduce=function(n){var f,s=n;do{this.split(s,this.tmp),f=(s=(s=this.imulK(s)).iadd(this.tmp)).bitLength()}while(f>this.n);var h=f<this.n?-1:s.ucmp(this.p);return 0===h?(s.words[0]=0,s.length=1):h>0?s.isub(this.p):void 0!==s.strip?s.strip():s._strip(),s},ie.prototype.split=function(n,s){n.iushrn(this.n,0,s)},ie.prototype.imulK=function(n){return n.imul(this.k)},A(ae,ie),ae.prototype.split=function(n,s){for(var f=4194303,h=Math.min(n.length,9),w=0;w<h;w++)s.words[w]=n.words[w];if(s.length=h,n.length<=9)return n.words[0]=0,void(n.length=1);var D=n.words[9];for(s.words[s.length++]=D&f,w=10;w<n.length;w++){var O=0|n.words[w];n.words[w-10]=(O&f)<<4|D>>>22,D=O}n.words[w-10]=D>>>=22,n.length-=0===D&&n.length>10?10:9},ae.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var s=0,f=0;f<n.length;f++){var h=0|n.words[f];n.words[f]=67108863&(s+=977*h),s=64*h+(s/67108864|0)}return 0===n.words[n.length-1]&&(n.length--,0===n.words[n.length-1]&&n.length--),n},A(fe,ie),A(se,ie),A(Me,ie),Me.prototype.imulK=function(n){for(var s=0,f=0;f<n.length;f++){var h=19*(0|n.words[f])+s,w=67108863&h;h>>>=26,n.words[f]=w,s=h}return 0!==s&&(n.words[n.length++]=s),n},l._prime=function(n){if(X[n])return X[n];var s;if("k256"===n)s=new ae;else if("p224"===n)s=new fe;else if("p192"===n)s=new se;else{if("p25519"!==n)throw new Error("Unknown prime "+n);s=new Me}return X[n]=s,s},$.prototype._verify1=function(n){y(0===n.negative,"red works only with positives"),y(n.red,"red works only with red numbers")},$.prototype._verify2=function(n,s){y(0==(n.negative|s.negative),"red works only with positives"),y(n.red&&n.red===s.red,"red works only with red numbers")},$.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},$.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},$.prototype.add=function(n,s){this._verify2(n,s);var f=n.add(s);return f.cmp(this.m)>=0&&f.isub(this.m),f._forceRed(this)},$.prototype.iadd=function(n,s){this._verify2(n,s);var f=n.iadd(s);return f.cmp(this.m)>=0&&f.isub(this.m),f},$.prototype.sub=function(n,s){this._verify2(n,s);var f=n.sub(s);return f.cmpn(0)<0&&f.iadd(this.m),f._forceRed(this)},$.prototype.isub=function(n,s){this._verify2(n,s);var f=n.isub(s);return f.cmpn(0)<0&&f.iadd(this.m),f},$.prototype.shl=function(n,s){return this._verify1(n),this.imod(n.ushln(s))},$.prototype.imul=function(n,s){return this._verify2(n,s),this.imod(n.imul(s))},$.prototype.mul=function(n,s){return this._verify2(n,s),this.imod(n.mul(s))},$.prototype.isqr=function(n){return this.imul(n,n.clone())},$.prototype.sqr=function(n){return this.mul(n,n)},$.prototype.sqrt=function(n){if(n.isZero())return n.clone();var s=this.m.andln(3);if(y(s%2==1),3===s){var f=this.m.add(new l(1)).iushrn(2);return this.pow(n,f)}for(var h=this.m.subn(1),w=0;!h.isZero()&&0===h.andln(1);)w++,h.iushrn(1);y(!h.isZero());var D=new l(1).toRed(this),O=D.redNeg(),v=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new l(2*r*r).toRed(this);0!==this.pow(r,v).cmp(O);)r.redIAdd(O);for(var g=this.pow(r,h),H=this.pow(n,h.addn(1).iushrn(1)),N=this.pow(n,h),ee=w;0!==N.cmp(D);){for(var De=N,ot=0;0!==De.cmp(D);ot++)De=De.redSqr();y(ot<ee);var je=this.pow(g,new l(1).iushln(ee-ot-1));H=H.redMul(je),g=je.redSqr(),N=N.redMul(g),ee=ot}return H},$.prototype.invm=function(n){var s=n._invmp(this.m);return 0!==s.negative?(s.negative=0,this.imod(s).redNeg()):this.imod(s)},$.prototype.pow=function(n,s){if(s.isZero())return new l(1).toRed(this);if(0===s.cmpn(1))return n.clone();var h=new Array(16);h[0]=new l(1).toRed(this),h[1]=n;for(var w=2;w<h.length;w++)h[w]=this.mul(h[w-1],n);var D=h[0],O=0,v=0,r=s.bitLength()%26;for(0===r&&(r=26),w=s.length-1;w>=0;w--){for(var g=s.words[w],H=r-1;H>=0;H--){var N=g>>H&1;D!==h[0]&&(D=this.sqr(D)),0!==N||0!==O?(O<<=1,O|=N,(4==++v||0===w&&0===H)&&(D=this.mul(D,h[O]),v=0,O=0)):v=0}r=26}return D},$.prototype.convertTo=function(n){var s=n.umod(this.m);return s===n?s.clone():s},$.prototype.convertFrom=function(n){var s=n.clone();return s.red=null,s},l.mont=function(n){return new ue(n)},A(ue,$),ue.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},ue.prototype.convertFrom=function(n){var s=this.imod(n.mul(this.rinv));return s.red=null,s},ue.prototype.imul=function(n,s){if(n.isZero()||s.isZero())return n.words[0]=0,n.length=1,n;var f=n.imul(s),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),w=f.isub(h).iushrn(this.shift),D=w;return w.cmp(this.m)>=0?D=w.isub(this.m):w.cmpn(0)<0&&(D=w.iadd(this.m)),D._forceRed(this)},ue.prototype.mul=function(n,s){if(n.isZero()||s.isZero())return new l(0)._forceRed(this);var f=n.mul(s),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),w=f.isub(h).iushrn(this.shift),D=w;return w.cmp(this.m)>=0?D=w.isub(this.m):w.cmpn(0)<0&&(D=w.iadd(this.m)),D._forceRed(this)},ue.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(ze=p.nmd(ze),this)},9919:(ze,q)=>{"use strict";q.byteLength=function m(k){var V=x(k),W=V[1];return 3*(V[0]+W)/4-W},q.toByteArray=function d(k){var V,ae,B=x(k),W=B[0],j=B[1],K=new t(function P(k,V,B){return 3*(V+B)/4-B}(0,W,j)),X=0,ie=j>0?W-4:W;for(ae=0;ae<ie;ae+=4)V=e[k.charCodeAt(ae)]<<18|e[k.charCodeAt(ae+1)]<<12|e[k.charCodeAt(ae+2)]<<6|e[k.charCodeAt(ae+3)],K[X++]=V>>16&255,K[X++]=V>>8&255,K[X++]=255&V;return 2===j&&(V=e[k.charCodeAt(ae)]<<2|e[k.charCodeAt(ae+1)]>>4,K[X++]=255&V),1===j&&(V=e[k.charCodeAt(ae)]<<10|e[k.charCodeAt(ae+1)]<<4|e[k.charCodeAt(ae+2)]>>2,K[X++]=V>>8&255,K[X++]=255&V),K},q.fromByteArray=function I(k){for(var V,B=k.length,W=B%3,j=[],K=16383,X=0,ie=B-W;X<ie;X+=K)j.push(M(k,X,X+K>ie?ie:X+K));return 1===W?j.push(p[(V=k[B-1])>>2]+p[V<<4&63]+"=="):2===W&&j.push(p[(V=(k[B-2]<<8)+k[B-1])>>10]+p[V>>4&63]+p[V<<2&63]+"="),j.join("")};for(var p=[],e=[],t=typeof Uint8Array<"u"?Uint8Array:Array,y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",A=0;A<64;++A)p[A]=y[A],e[y.charCodeAt(A)]=A;function x(k){var V=k.length;if(V%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var B=k.indexOf("=");return-1===B&&(B=V),[B,B===V?0:4-B%4]}function E(k){return p[k>>18&63]+p[k>>12&63]+p[k>>6&63]+p[63&k]}function M(k,V,B){for(var j=[],K=V;K<B;K+=3)j.push(E((k[K]<<16&16711680)+(k[K+1]<<8&65280)+(255&k[K+2])));return j.join("")}e["-".charCodeAt(0)]=62,e["_".charCodeAt(0)]=63},2662:function(ze,q,p){!function(e,t){"use strict";function y(f,h){if(!f)throw new Error(h||"Assertion failed")}function A(f,h){f.super_=h;var w=function(){};w.prototype=h.prototype,f.prototype=new w,f.prototype.constructor=f}function l(f,h,w){if(l.isBN(f))return f;this.negative=0,this.words=null,this.length=0,this.red=null,null!==f&&(("le"===h||"be"===h)&&(w=h,h=10),this._init(f||0,h||10,w||"be"))}var x;"object"==typeof e?e.exports=l:t.BN=l,l.BN=l,l.wordSize=26;try{x=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:p(6601).Buffer}catch{}function m(f,h){var w=f.charCodeAt(h);return w>=48&&w<=57?w-48:w>=65&&w<=70?w-55:w>=97&&w<=102?w-87:void y(!1,"Invalid character in "+f)}function P(f,h,w){var D=m(f,w);return w-1>=h&&(D|=m(f,w-1)<<4),D}function d(f,h,w,D){for(var O=0,v=0,r=Math.min(f.length,w),g=h;g<r;g++){var H=f.charCodeAt(g)-48;O*=D,v=H>=49?H-49+10:H>=17?H-17+10:H,y(H>=0&&v<D,"Invalid character"),O+=v}return O}function E(f,h){f.words=h.words,f.length=h.length,f.negative=h.negative,f.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,w){return h.cmp(w)>0?h:w},l.min=function(h,w){return h.cmp(w)<0?h:w},l.prototype._init=function(h,w,D){if("number"==typeof h)return this._initNumber(h,w,D);if("object"==typeof h)return this._initArray(h,w,D);"hex"===w&&(w=16),y(w===(0|w)&&w>=2&&w<=36);var O=0;"-"===(h=h.toString().replace(/\s+/g,""))[0]&&(O++,this.negative=1),O<h.length&&(16===w?this._parseHex(h,O,D):(this._parseBase(h,w,O),"le"===D&&this._initArray(this.toArray(),w,D)))},l.prototype._initNumber=function(h,w,D){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):(y(h<9007199254740992),this.words=[67108863&h,h/67108864&67108863,1],this.length=3),"le"===D&&this._initArray(this.toArray(),w,D)},l.prototype._initArray=function(h,w,D){if(y("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 O=0;O<this.length;O++)this.words[O]=0;var v,r,g=0;if("be"===D)for(O=h.length-1,v=0;O>=0;O-=3)this.words[v]|=(r=h[O]|h[O-1]<<8|h[O-2]<<16)<<g&67108863,this.words[v+1]=r>>>26-g&67108863,(g+=24)>=26&&(g-=26,v++);else if("le"===D)for(O=0,v=0;O<h.length;O+=3)this.words[v]|=(r=h[O]|h[O+1]<<8|h[O+2]<<16)<<g&67108863,this.words[v+1]=r>>>26-g&67108863,(g+=24)>=26&&(g-=26,v++);return this._strip()},l.prototype._parseHex=function(h,w,D){this.length=Math.ceil((h.length-w)/6),this.words=new Array(this.length);for(var O=0;O<this.length;O++)this.words[O]=0;var g,v=0,r=0;if("be"===D)for(O=h.length-1;O>=w;O-=2)g=P(h,w,O)<<v,this.words[r]|=67108863&g,v>=18?(v-=18,this.words[r+=1]|=g>>>26):v+=8;else for(O=(h.length-w)%2==0?w+1:w;O<h.length;O+=2)g=P(h,w,O)<<v,this.words[r]|=67108863&g,v>=18?(v-=18,this.words[r+=1]|=g>>>26):v+=8;this._strip()},l.prototype._parseBase=function(h,w,D){this.words=[0],this.length=1;for(var O=0,v=1;v<=67108863;v*=w)O++;O--,v=v/w|0;for(var r=h.length-D,g=r%O,H=Math.min(r,r-g)+D,N=0,ee=D;ee<H;ee+=O)N=d(h,ee,ee+O,w),this.imuln(v),this.words[0]+N<67108864?this.words[0]+=N:this._iaddn(N);if(0!==g){var De=1;for(N=d(h,ee,h.length,w),ee=0;ee<g;ee++)De*=w;this.imuln(De),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 w=0;w<this.length;w++)h.words[w]=this.words[w];h.length=this.length,h.negative=this.negative,h.red=this.red},l.prototype._move=function(h){E(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 I=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],k=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],V=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function j(f,h,w){w.negative=h.negative^f.negative;var D=f.length+h.length|0;w.length=D,D=D-1|0;var O=0|f.words[0],v=0|h.words[0],r=O*v,H=r/67108864|0;w.words[0]=67108863&r;for(var N=1;N<D;N++){for(var ee=H>>>26,De=67108863&H,ot=Math.min(N,h.length-1),je=Math.max(0,N-f.length+1);je<=ot;je++)ee+=(r=(O=0|f.words[N-je|0])*(v=0|h.words[je])+De)/67108864|0,De=67108863&r;w.words[N]=0|De,H=0|ee}return 0!==H?w.words[N]=0|H:w.length--,w._strip()}l.prototype.toString=function(h,w){var D;if(w=0|w||1,16===(h=h||10)||"hex"===h){D="";for(var O=0,v=0,r=0;r<this.length;r++){var g=this.words[r],H=(16777215&(g<<O|v)).toString(16);v=g>>>24-O&16777215,(O+=2)>=26&&(O-=26,r--),D=0!==v||r!==this.length-1?I[6-H.length]+H+D:H+D}for(0!==v&&(D=v.toString(16)+D);D.length%w!=0;)D="0"+D;return 0!==this.negative&&(D="-"+D),D}if(h===(0|h)&&h>=2&&h<=36){var N=k[h],ee=V[h];D="";var De=this.clone();for(De.negative=0;!De.isZero();){var ot=De.modrn(ee).toString(h);D=(De=De.idivn(ee)).isZero()?ot+D:I[N-ot.length]+ot+D}for(this.isZero()&&(D="0"+D);D.length%w!=0;)D="0"+D;return 0!==this.negative&&(D="-"+D),D}y(!1,"Base should be between 2 and 36")},l.prototype.toNumber=function(){var h=this.words[0];return 2===this.length?h+=67108864*this.words[1]:3===this.length&&1===this.words[2]?h+=4503599627370496+67108864*this.words[1]:this.length>2&&y(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-h:h},l.prototype.toJSON=function(){return this.toString(16,2)},x&&(l.prototype.toBuffer=function(h,w){return this.toArrayLike(x,h,w)}),l.prototype.toArray=function(h,w){return this.toArrayLike(Array,h,w)},l.prototype.toArrayLike=function(h,w,D){this._strip();var O=this.byteLength(),v=D||Math.max(1,O);y(O<=v,"byte array longer than desired length"),y(v>0,"Requested array length <= 0");var r=function(h,w){return h.allocUnsafe?h.allocUnsafe(w):new h(w)}(h,v);return this["_toArrayLike"+("le"===w?"LE":"BE")](r,O),r},l.prototype._toArrayLikeLE=function(h,w){for(var D=0,O=0,v=0,r=0;v<this.length;v++){var g=this.words[v]<<r|O;h[D++]=255&g,D<h.length&&(h[D++]=g>>8&255),D<h.length&&(h[D++]=g>>16&255),6===r?(D<h.length&&(h[D++]=g>>24&255),O=0,r=0):(O=g>>>24,r+=2)}if(D<h.length)for(h[D++]=O;D<h.length;)h[D++]=0},l.prototype._toArrayLikeBE=function(h,w){for(var D=h.length-1,O=0,v=0,r=0;v<this.length;v++){var g=this.words[v]<<r|O;h[D--]=255&g,D>=0&&(h[D--]=g>>8&255),D>=0&&(h[D--]=g>>16&255),6===r?(D>=0&&(h[D--]=g>>24&255),O=0,r=0):(O=g>>>24,r+=2)}if(D>=0)for(h[D--]=O;D>=0;)h[D--]=0},l.prototype._countBits=Math.clz32?function(h){return 32-Math.clz32(h)}:function(h){var w=h,D=0;return w>=4096&&(D+=13,w>>>=13),w>=64&&(D+=7,w>>>=7),w>=8&&(D+=4,w>>>=4),w>=2&&(D+=2,w>>>=2),D+w},l.prototype._zeroBits=function(h){if(0===h)return 26;var w=h,D=0;return 8191&w||(D+=13,w>>>=13),127&w||(D+=7,w>>>=7),15&w||(D+=4,w>>>=4),3&w||(D+=2,w>>>=2),1&w||D++,D},l.prototype.bitLength=function(){var w=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+w},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var h=0,w=0;w<this.length;w++){var D=this._zeroBits(this.words[w]);if(h+=D,26!==D)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 w=0;w<h.length;w++)this.words[w]=this.words[w]|h.words[w];return this._strip()},l.prototype.ior=function(h){return y(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 w;w=this.length>h.length?h:this;for(var D=0;D<w.length;D++)this.words[D]=this.words[D]&h.words[D];return this.length=w.length,this._strip()},l.prototype.iand=function(h){return y(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 w,D;this.length>h.length?(w=this,D=h):(w=h,D=this);for(var O=0;O<D.length;O++)this.words[O]=w.words[O]^D.words[O];if(this!==w)for(;O<w.length;O++)this.words[O]=w.words[O];return this.length=w.length,this._strip()},l.prototype.ixor=function(h){return y(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){y("number"==typeof h&&h>=0);var w=0|Math.ceil(h/26),D=h%26;this._expand(w),D>0&&w--;for(var O=0;O<w;O++)this.words[O]=67108863&~this.words[O];return D>0&&(this.words[O]=~this.words[O]&67108863>>26-D),this._strip()},l.prototype.notn=function(h){return this.clone().inotn(h)},l.prototype.setn=function(h,w){y("number"==typeof h&&h>=0);var D=h/26|0,O=h%26;return this._expand(D+1),this.words[D]=w?this.words[D]|1<<O:this.words[D]&~(1<<O),this._strip()},l.prototype.iadd=function(h){var w,D,O;if(0!==this.negative&&0===h.negative)return this.negative=0,w=this.isub(h),this.negative^=1,this._normSign();if(0===this.negative&&0!==h.negative)return h.negative=0,w=this.isub(h),h.negative=1,w._normSign();this.length>h.length?(D=this,O=h):(D=h,O=this);for(var v=0,r=0;r<O.length;r++)this.words[r]=67108863&(w=(0|D.words[r])+(0|O.words[r])+v),v=w>>>26;for(;0!==v&&r<D.length;r++)this.words[r]=67108863&(w=(0|D.words[r])+v),v=w>>>26;if(this.length=D.length,0!==v)this.words[this.length]=v,this.length++;else if(D!==this)for(;r<D.length;r++)this.words[r]=D.words[r];return this},l.prototype.add=function(h){var w;return 0!==h.negative&&0===this.negative?(h.negative=0,w=this.sub(h),h.negative^=1,w):0===h.negative&&0!==this.negative?(this.negative=0,w=h.sub(this),this.negative=1,w):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 w=this.iadd(h);return h.negative=1,w._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(h),this.negative=1,this._normSign();var O,v,D=this.cmp(h);if(0===D)return this.negative=0,this.length=1,this.words[0]=0,this;D>0?(O=this,v=h):(O=h,v=this);for(var r=0,g=0;g<v.length;g++)r=(w=(0|O.words[g])-(0|v.words[g])+r)>>26,this.words[g]=67108863&w;for(;0!==r&&g<O.length;g++)r=(w=(0|O.words[g])+r)>>26,this.words[g]=67108863&w;if(0===r&&g<O.length&&O!==this)for(;g<O.length;g++)this.words[g]=O.words[g];return this.length=Math.max(this.length,g),O!==this&&(this.negative=1),this._strip()},l.prototype.sub=function(h){return this.clone().isub(h)};var K=function(h,w,D){var H,N,ee,O=h.words,v=w.words,r=D.words,g=0,De=0|O[0],ot=8191&De,je=De>>>13,Je=0|O[1],ye=8191&Je,me=Je>>>13,he=0|O[2],xe=8191&he,de=he>>>13,ge=0|O[3],qe=8191&ge,oe=ge>>>13,ve=0|O[4],le=8191&ve,Ge=ve>>>13,We=0|O[5],wt=8191&We,mt=We>>>13,kt=0|O[6],Ae=8191&kt,Be=kt>>>13,it=0|O[7],$e=8191&it,ke=it>>>13,st=0|O[8],Ke=8191&st,Et=st>>>13,ct=0|O[9],te=8191&ct,Pe=ct>>>13,$t=0|v[0],Ze=8191&$t,Qe=$t>>>13,zt=0|v[1],xt=8191&zt,Ot=zt>>>13,yt=0|v[2],nt=8191&yt,Ee=yt>>>13,tt=0|v[3],Ue=8191&tt,Xe=tt>>>13,gt=0|v[4],Le=8191&gt,be=gt>>>13,J=0|v[5],re=8191&J,Ie=J>>>13,Nt=0|v[6],At=8191&Nt,Zt=Nt>>>13,mi=0|v[7],Jt=8191&mi,Xt=mi>>>13,Hi=0|v[8],li=8191&Hi,hi=Hi>>>13,un=0|v[9],Qi=8191&un,xi=un>>>13;D.negative=h.negative^w.negative,D.length=19;var sn=(g+(H=Math.imul(ot,Ze))|0)+((8191&(N=(N=Math.imul(ot,Qe))+Math.imul(je,Ze)|0))<<13)|0;g=((ee=Math.imul(je,Qe))+(N>>>13)|0)+(sn>>>26)|0,sn&=67108863,H=Math.imul(ye,Ze),N=(N=Math.imul(ye,Qe))+Math.imul(me,Ze)|0,ee=Math.imul(me,Qe);var at=(g+(H=H+Math.imul(ot,xt)|0)|0)+((8191&(N=(N=N+Math.imul(ot,Ot)|0)+Math.imul(je,xt)|0))<<13)|0;g=((ee=ee+Math.imul(je,Ot)|0)+(N>>>13)|0)+(at>>>26)|0,at&=67108863,H=Math.imul(xe,Ze),N=(N=Math.imul(xe,Qe))+Math.imul(de,Ze)|0,ee=Math.imul(de,Qe),H=H+Math.imul(ye,xt)|0,N=(N=N+Math.imul(ye,Ot)|0)+Math.imul(me,xt)|0,ee=ee+Math.imul(me,Ot)|0;var oi=(g+(H=H+Math.imul(ot,nt)|0)|0)+((8191&(N=(N=N+Math.imul(ot,Ee)|0)+Math.imul(je,nt)|0))<<13)|0;g=((ee=ee+Math.imul(je,Ee)|0)+(N>>>13)|0)+(oi>>>26)|0,oi&=67108863,H=Math.imul(qe,Ze),N=(N=Math.imul(qe,Qe))+Math.imul(oe,Ze)|0,ee=Math.imul(oe,Qe),H=H+Math.imul(xe,xt)|0,N=(N=N+Math.imul(xe,Ot)|0)+Math.imul(de,xt)|0,ee=ee+Math.imul(de,Ot)|0,H=H+Math.imul(ye,nt)|0,N=(N=N+Math.imul(ye,Ee)|0)+Math.imul(me,nt)|0,ee=ee+Math.imul(me,Ee)|0;var Ce=(g+(H=H+Math.imul(ot,Ue)|0)|0)+((8191&(N=(N=N+Math.imul(ot,Xe)|0)+Math.imul(je,Ue)|0))<<13)|0;g=((ee=ee+Math.imul(je,Xe)|0)+(N>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,H=Math.imul(le,Ze),N=(N=Math.imul(le,Qe))+Math.imul(Ge,Ze)|0,ee=Math.imul(Ge,Qe),H=H+Math.imul(qe,xt)|0,N=(N=N+Math.imul(qe,Ot)|0)+Math.imul(oe,xt)|0,ee=ee+Math.imul(oe,Ot)|0,H=H+Math.imul(xe,nt)|0,N=(N=N+Math.imul(xe,Ee)|0)+Math.imul(de,nt)|0,ee=ee+Math.imul(de,Ee)|0,H=H+Math.imul(ye,Ue)|0,N=(N=N+Math.imul(ye,Xe)|0)+Math.imul(me,Ue)|0,ee=ee+Math.imul(me,Xe)|0;var St=(g+(H=H+Math.imul(ot,Le)|0)|0)+((8191&(N=(N=N+Math.imul(ot,be)|0)+Math.imul(je,Le)|0))<<13)|0;g=((ee=ee+Math.imul(je,be)|0)+(N>>>13)|0)+(St>>>26)|0,St&=67108863,H=Math.imul(wt,Ze),N=(N=Math.imul(wt,Qe))+Math.imul(mt,Ze)|0,ee=Math.imul(mt,Qe),H=H+Math.imul(le,xt)|0,N=(N=N+Math.imul(le,Ot)|0)+Math.imul(Ge,xt)|0,ee=ee+Math.imul(Ge,Ot)|0,H=H+Math.imul(qe,nt)|0,N=(N=N+Math.imul(qe,Ee)|0)+Math.imul(oe,nt)|0,ee=ee+Math.imul(oe,Ee)|0,H=H+Math.imul(xe,Ue)|0,N=(N=N+Math.imul(xe,Xe)|0)+Math.imul(de,Ue)|0,ee=ee+Math.imul(de,Xe)|0,H=H+Math.imul(ye,Le)|0,N=(N=N+Math.imul(ye,be)|0)+Math.imul(me,Le)|0,ee=ee+Math.imul(me,be)|0;var Ft=(g+(H=H+Math.imul(ot,re)|0)|0)+((8191&(N=(N=N+Math.imul(ot,Ie)|0)+Math.imul(je,re)|0))<<13)|0;g=((ee=ee+Math.imul(je,Ie)|0)+(N>>>13)|0)+(Ft>>>26)|0,Ft&=67108863,H=Math.imul(Ae,Ze),N=(N=Math.imul(Ae,Qe))+Math.imul(Be,Ze)|0,ee=Math.imul(Be,Qe),H=H+Math.imul(wt,xt)|0,N=(N=N+Math.imul(wt,Ot)|0)+Math.imul(mt,xt)|0,ee=ee+Math.imul(mt,Ot)|0,H=H+Math.imul(le,nt)|0,N=(N=N+Math.imul(le,Ee)|0)+Math.imul(Ge,nt)|0,ee=ee+Math.imul(Ge,Ee)|0,H=H+Math.imul(qe,Ue)|0,N=(N=N+Math.imul(qe,Xe)|0)+Math.imul(oe,Ue)|0,ee=ee+Math.imul(oe,Xe)|0,H=H+Math.imul(xe,Le)|0,N=(N=N+Math.imul(xe,be)|0)+Math.imul(de,Le)|0,ee=ee+Math.imul(de,be)|0,H=H+Math.imul(ye,re)|0,N=(N=N+Math.imul(ye,Ie)|0)+Math.imul(me,re)|0,ee=ee+Math.imul(me,Ie)|0;var Dt=(g+(H=H+Math.imul(ot,At)|0)|0)+((8191&(N=(N=N+Math.imul(ot,Zt)|0)+Math.imul(je,At)|0))<<13)|0;g=((ee=ee+Math.imul(je,Zt)|0)+(N>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,H=Math.imul($e,Ze),N=(N=Math.imul($e,Qe))+Math.imul(ke,Ze)|0,ee=Math.imul(ke,Qe),H=H+Math.imul(Ae,xt)|0,N=(N=N+Math.imul(Ae,Ot)|0)+Math.imul(Be,xt)|0,ee=ee+Math.imul(Be,Ot)|0,H=H+Math.imul(wt,nt)|0,N=(N=N+Math.imul(wt,Ee)|0)+Math.imul(mt,nt)|0,ee=ee+Math.imul(mt,Ee)|0,H=H+Math.imul(le,Ue)|0,N=(N=N+Math.imul(le,Xe)|0)+Math.imul(Ge,Ue)|0,ee=ee+Math.imul(Ge,Xe)|0,H=H+Math.imul(qe,Le)|0,N=(N=N+Math.imul(qe,be)|0)+Math.imul(oe,Le)|0,ee=ee+Math.imul(oe,be)|0,H=H+Math.imul(xe,re)|0,N=(N=N+Math.imul(xe,Ie)|0)+Math.imul(de,re)|0,ee=ee+Math.imul(de,Ie)|0,H=H+Math.imul(ye,At)|0,N=(N=N+Math.imul(ye,Zt)|0)+Math.imul(me,At)|0,ee=ee+Math.imul(me,Zt)|0;var It=(g+(H=H+Math.imul(ot,Jt)|0)|0)+((8191&(N=(N=N+Math.imul(ot,Xt)|0)+Math.imul(je,Jt)|0))<<13)|0;g=((ee=ee+Math.imul(je,Xt)|0)+(N>>>13)|0)+(It>>>26)|0,It&=67108863,H=Math.imul(Ke,Ze),N=(N=Math.imul(Ke,Qe))+Math.imul(Et,Ze)|0,ee=Math.imul(Et,Qe),H=H+Math.imul($e,xt)|0,N=(N=N+Math.imul($e,Ot)|0)+Math.imul(ke,xt)|0,ee=ee+Math.imul(ke,Ot)|0,H=H+Math.imul(Ae,nt)|0,N=(N=N+Math.imul(Ae,Ee)|0)+Math.imul(Be,nt)|0,ee=ee+Math.imul(Be,Ee)|0,H=H+Math.imul(wt,Ue)|0,N=(N=N+Math.imul(wt,Xe)|0)+Math.imul(mt,Ue)|0,ee=ee+Math.imul(mt,Xe)|0,H=H+Math.imul(le,Le)|0,N=(N=N+Math.imul(le,be)|0)+Math.imul(Ge,Le)|0,ee=ee+Math.imul(Ge,be)|0,H=H+Math.imul(qe,re)|0,N=(N=N+Math.imul(qe,Ie)|0)+Math.imul(oe,re)|0,ee=ee+Math.imul(oe,Ie)|0,H=H+Math.imul(xe,At)|0,N=(N=N+Math.imul(xe,Zt)|0)+Math.imul(de,At)|0,ee=ee+Math.imul(de,Zt)|0,H=H+Math.imul(ye,Jt)|0,N=(N=N+Math.imul(ye,Xt)|0)+Math.imul(me,Jt)|0,ee=ee+Math.imul(me,Xt)|0;var Ut=(g+(H=H+Math.imul(ot,li)|0)|0)+((8191&(N=(N=N+Math.imul(ot,hi)|0)+Math.imul(je,li)|0))<<13)|0;g=((ee=ee+Math.imul(je,hi)|0)+(N>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,H=Math.imul(te,Ze),N=(N=Math.imul(te,Qe))+Math.imul(Pe,Ze)|0,ee=Math.imul(Pe,Qe),H=H+Math.imul(Ke,xt)|0,N=(N=N+Math.imul(Ke,Ot)|0)+Math.imul(Et,xt)|0,ee=ee+Math.imul(Et,Ot)|0,H=H+Math.imul($e,nt)|0,N=(N=N+Math.imul($e,Ee)|0)+Math.imul(ke,nt)|0,ee=ee+Math.imul(ke,Ee)|0,H=H+Math.imul(Ae,Ue)|0,N=(N=N+Math.imul(Ae,Xe)|0)+Math.imul(Be,Ue)|0,ee=ee+Math.imul(Be,Xe)|0,H=H+Math.imul(wt,Le)|0,N=(N=N+Math.imul(wt,be)|0)+Math.imul(mt,Le)|0,ee=ee+Math.imul(mt,be)|0,H=H+Math.imul(le,re)|0,N=(N=N+Math.imul(le,Ie)|0)+Math.imul(Ge,re)|0,ee=ee+Math.imul(Ge,Ie)|0,H=H+Math.imul(qe,At)|0,N=(N=N+Math.imul(qe,Zt)|0)+Math.imul(oe,At)|0,ee=ee+Math.imul(oe,Zt)|0,H=H+Math.imul(xe,Jt)|0,N=(N=N+Math.imul(xe,Xt)|0)+Math.imul(de,Jt)|0,ee=ee+Math.imul(de,Xt)|0,H=H+Math.imul(ye,li)|0,N=(N=N+Math.imul(ye,hi)|0)+Math.imul(me,li)|0,ee=ee+Math.imul(me,hi)|0;var ai=(g+(H=H+Math.imul(ot,Qi)|0)|0)+((8191&(N=(N=N+Math.imul(ot,xi)|0)+Math.imul(je,Qi)|0))<<13)|0;g=((ee=ee+Math.imul(je,xi)|0)+(N>>>13)|0)+(ai>>>26)|0,ai&=67108863,H=Math.imul(te,xt),N=(N=Math.imul(te,Ot))+Math.imul(Pe,xt)|0,ee=Math.imul(Pe,Ot),H=H+Math.imul(Ke,nt)|0,N=(N=N+Math.imul(Ke,Ee)|0)+Math.imul(Et,nt)|0,ee=ee+Math.imul(Et,Ee)|0,H=H+Math.imul($e,Ue)|0,N=(N=N+Math.imul($e,Xe)|0)+Math.imul(ke,Ue)|0,ee=ee+Math.imul(ke,Xe)|0,H=H+Math.imul(Ae,Le)|0,N=(N=N+Math.imul(Ae,be)|0)+Math.imul(Be,Le)|0,ee=ee+Math.imul(Be,be)|0,H=H+Math.imul(wt,re)|0,N=(N=N+Math.imul(wt,Ie)|0)+Math.imul(mt,re)|0,ee=ee+Math.imul(mt,Ie)|0,H=H+Math.imul(le,At)|0,N=(N=N+Math.imul(le,Zt)|0)+Math.imul(Ge,At)|0,ee=ee+Math.imul(Ge,Zt)|0,H=H+Math.imul(qe,Jt)|0,N=(N=N+Math.imul(qe,Xt)|0)+Math.imul(oe,Jt)|0,ee=ee+Math.imul(oe,Xt)|0,H=H+Math.imul(xe,li)|0,N=(N=N+Math.imul(xe,hi)|0)+Math.imul(de,li)|0,ee=ee+Math.imul(de,hi)|0;var _i=(g+(H=H+Math.imul(ye,Qi)|0)|0)+((8191&(N=(N=N+Math.imul(ye,xi)|0)+Math.imul(me,Qi)|0))<<13)|0;g=((ee=ee+Math.imul(me,xi)|0)+(N>>>13)|0)+(_i>>>26)|0,_i&=67108863,H=Math.imul(te,nt),N=(N=Math.imul(te,Ee))+Math.imul(Pe,nt)|0,ee=Math.imul(Pe,Ee),H=H+Math.imul(Ke,Ue)|0,N=(N=N+Math.imul(Ke,Xe)|0)+Math.imul(Et,Ue)|0,ee=ee+Math.imul(Et,Xe)|0,H=H+Math.imul($e,Le)|0,N=(N=N+Math.imul($e,be)|0)+Math.imul(ke,Le)|0,ee=ee+Math.imul(ke,be)|0,H=H+Math.imul(Ae,re)|0,N=(N=N+Math.imul(Ae,Ie)|0)+Math.imul(Be,re)|0,ee=ee+Math.imul(Be,Ie)|0,H=H+Math.imul(wt,At)|0,N=(N=N+Math.imul(wt,Zt)|0)+Math.imul(mt,At)|0,ee=ee+Math.imul(mt,Zt)|0,H=H+Math.imul(le,Jt)|0,N=(N=N+Math.imul(le,Xt)|0)+Math.imul(Ge,Jt)|0,ee=ee+Math.imul(Ge,Xt)|0,H=H+Math.imul(qe,li)|0,N=(N=N+Math.imul(qe,hi)|0)+Math.imul(oe,li)|0,ee=ee+Math.imul(oe,hi)|0;var bi=(g+(H=H+Math.imul(xe,Qi)|0)|0)+((8191&(N=(N=N+Math.imul(xe,xi)|0)+Math.imul(de,Qi)|0))<<13)|0;g=((ee=ee+Math.imul(de,xi)|0)+(N>>>13)|0)+(bi>>>26)|0,bi&=67108863,H=Math.imul(te,Ue),N=(N=Math.imul(te,Xe))+Math.imul(Pe,Ue)|0,ee=Math.imul(Pe,Xe),H=H+Math.imul(Ke,Le)|0,N=(N=N+Math.imul(Ke,be)|0)+Math.imul(Et,Le)|0,ee=ee+Math.imul(Et,be)|0,H=H+Math.imul($e,re)|0,N=(N=N+Math.imul($e,Ie)|0)+Math.imul(ke,re)|0,ee=ee+Math.imul(ke,Ie)|0,H=H+Math.imul(Ae,At)|0,N=(N=N+Math.imul(Ae,Zt)|0)+Math.imul(Be,At)|0,ee=ee+Math.imul(Be,Zt)|0,H=H+Math.imul(wt,Jt)|0,N=(N=N+Math.imul(wt,Xt)|0)+Math.imul(mt,Jt)|0,ee=ee+Math.imul(mt,Xt)|0,H=H+Math.imul(le,li)|0,N=(N=N+Math.imul(le,hi)|0)+Math.imul(Ge,li)|0,ee=ee+Math.imul(Ge,hi)|0;var Oi=(g+(H=H+Math.imul(qe,Qi)|0)|0)+((8191&(N=(N=N+Math.imul(qe,xi)|0)+Math.imul(oe,Qi)|0))<<13)|0;g=((ee=ee+Math.imul(oe,xi)|0)+(N>>>13)|0)+(Oi>>>26)|0,Oi&=67108863,H=Math.imul(te,Le),N=(N=Math.imul(te,be))+Math.imul(Pe,Le)|0,ee=Math.imul(Pe,be),H=H+Math.imul(Ke,re)|0,N=(N=N+Math.imul(Ke,Ie)|0)+Math.imul(Et,re)|0,ee=ee+Math.imul(Et,Ie)|0,H=H+Math.imul($e,At)|0,N=(N=N+Math.imul($e,Zt)|0)+Math.imul(ke,At)|0,ee=ee+Math.imul(ke,Zt)|0,H=H+Math.imul(Ae,Jt)|0,N=(N=N+Math.imul(Ae,Xt)|0)+Math.imul(Be,Jt)|0,ee=ee+Math.imul(Be,Xt)|0,H=H+Math.imul(wt,li)|0,N=(N=N+Math.imul(wt,hi)|0)+Math.imul(mt,li)|0,ee=ee+Math.imul(mt,hi)|0;var Bi=(g+(H=H+Math.imul(le,Qi)|0)|0)+((8191&(N=(N=N+Math.imul(le,xi)|0)+Math.imul(Ge,Qi)|0))<<13)|0;g=((ee=ee+Math.imul(Ge,xi)|0)+(N>>>13)|0)+(Bi>>>26)|0,Bi&=67108863,H=Math.imul(te,re),N=(N=Math.imul(te,Ie))+Math.imul(Pe,re)|0,ee=Math.imul(Pe,Ie),H=H+Math.imul(Ke,At)|0,N=(N=N+Math.imul(Ke,Zt)|0)+Math.imul(Et,At)|0,ee=ee+Math.imul(Et,Zt)|0,H=H+Math.imul($e,Jt)|0,N=(N=N+Math.imul($e,Xt)|0)+Math.imul(ke,Jt)|0,ee=ee+Math.imul(ke,Xt)|0,H=H+Math.imul(Ae,li)|0,N=(N=N+Math.imul(Ae,hi)|0)+Math.imul(Be,li)|0,ee=ee+Math.imul(Be,hi)|0;var Vi=(g+(H=H+Math.imul(wt,Qi)|0)|0)+((8191&(N=(N=N+Math.imul(wt,xi)|0)+Math.imul(mt,Qi)|0))<<13)|0;g=((ee=ee+Math.imul(mt,xi)|0)+(N>>>13)|0)+(Vi>>>26)|0,Vi&=67108863,H=Math.imul(te,At),N=(N=Math.imul(te,Zt))+Math.imul(Pe,At)|0,ee=Math.imul(Pe,Zt),H=H+Math.imul(Ke,Jt)|0,N=(N=N+Math.imul(Ke,Xt)|0)+Math.imul(Et,Jt)|0,ee=ee+Math.imul(Et,Xt)|0,H=H+Math.imul($e,li)|0,N=(N=N+Math.imul($e,hi)|0)+Math.imul(ke,li)|0,ee=ee+Math.imul(ke,hi)|0;var Kt=(g+(H=H+Math.imul(Ae,Qi)|0)|0)+((8191&(N=(N=N+Math.imul(Ae,xi)|0)+Math.imul(Be,Qi)|0))<<13)|0;g=((ee=ee+Math.imul(Be,xi)|0)+(N>>>13)|0)+(Kt>>>26)|0,Kt&=67108863,H=Math.imul(te,Jt),N=(N=Math.imul(te,Xt))+Math.imul(Pe,Jt)|0,ee=Math.imul(Pe,Xt),H=H+Math.imul(Ke,li)|0,N=(N=N+Math.imul(Ke,hi)|0)+Math.imul(Et,li)|0,ee=ee+Math.imul(Et,hi)|0;var vi=(g+(H=H+Math.imul($e,Qi)|0)|0)+((8191&(N=(N=N+Math.imul($e,xi)|0)+Math.imul(ke,Qi)|0))<<13)|0;g=((ee=ee+Math.imul(ke,xi)|0)+(N>>>13)|0)+(vi>>>26)|0,vi&=67108863,H=Math.imul(te,li),N=(N=Math.imul(te,hi))+Math.imul(Pe,li)|0,ee=Math.imul(Pe,hi);var ne=(g+(H=H+Math.imul(Ke,Qi)|0)|0)+((8191&(N=(N=N+Math.imul(Ke,xi)|0)+Math.imul(Et,Qi)|0))<<13)|0;g=((ee=ee+Math.imul(Et,xi)|0)+(N>>>13)|0)+(ne>>>26)|0,ne&=67108863;var lt=(g+(H=Math.imul(te,Qi))|0)+((8191&(N=(N=Math.imul(te,xi))+Math.imul(Pe,Qi)|0))<<13)|0;return g=((ee=Math.imul(Pe,xi))+(N>>>13)|0)+(lt>>>26)|0,lt&=67108863,r[0]=sn,r[1]=at,r[2]=oi,r[3]=Ce,r[4]=St,r[5]=Ft,r[6]=Dt,r[7]=It,r[8]=Ut,r[9]=ai,r[10]=_i,r[11]=bi,r[12]=Oi,r[13]=Bi,r[14]=Vi,r[15]=Kt,r[16]=vi,r[17]=ne,r[18]=lt,0!==g&&(r[19]=g,D.length++),D};function X(f,h,w){w.negative=h.negative^f.negative,w.length=f.length+h.length;for(var D=0,O=0,v=0;v<w.length-1;v++){var r=O;O=0;for(var g=67108863&D,H=Math.min(v,h.length-1),N=Math.max(0,v-f.length+1);N<=H;N++){var je=(0|f.words[v-N])*(0|h.words[N]),Je=67108863&je;g=67108863&(Je=Je+g|0),O+=(r=(r=r+(je/67108864|0)|0)+(Je>>>26)|0)>>>26,r&=67108863}w.words[v]=g,D=r,r=O}return 0!==D?w.words[v]=D:w.length--,w._strip()}function ie(f,h,w){return X(f,h,w)}function ae(f,h){this.x=f,this.y=h}Math.imul||(K=j),l.prototype.mulTo=function(h,w){var O=this.length+h.length;return 10===this.length&&10===h.length?K(this,h,w):O<63?j(this,h,w):O<1024?X(this,h,w):ie(this,h,w)},ae.prototype.makeRBT=function(h){for(var w=new Array(h),D=l.prototype._countBits(h)-1,O=0;O<h;O++)w[O]=this.revBin(O,D,h);return w},ae.prototype.revBin=function(h,w,D){if(0===h||h===D-1)return h;for(var O=0,v=0;v<w;v++)O|=(1&h)<<w-v-1,h>>=1;return O},ae.prototype.permute=function(h,w,D,O,v,r){for(var g=0;g<r;g++)O[g]=w[h[g]],v[g]=D[h[g]]},ae.prototype.transform=function(h,w,D,O,v,r){this.permute(r,h,w,D,O,v);for(var g=1;g<v;g<<=1)for(var H=g<<1,N=Math.cos(2*Math.PI/H),ee=Math.sin(2*Math.PI/H),De=0;De<v;De+=H)for(var ot=N,je=ee,Je=0;Je<g;Je++){var ye=D[De+Je],me=O[De+Je],he=D[De+Je+g],xe=O[De+Je+g],de=ot*he-je*xe;xe=ot*xe+je*he,D[De+Je]=ye+(he=de),O[De+Je]=me+xe,D[De+Je+g]=ye-he,O[De+Je+g]=me-xe,Je!==H&&(de=N*ot-ee*je,je=N*je+ee*ot,ot=de)}},ae.prototype.guessLen13b=function(h,w){var D=1|Math.max(w,h),O=1&D,v=0;for(D=D/2|0;D;D>>>=1)v++;return 1<<v+1+O},ae.prototype.conjugate=function(h,w,D){if(!(D<=1))for(var O=0;O<D/2;O++){var v=h[O];h[O]=h[D-O-1],h[D-O-1]=v,v=w[O],w[O]=-w[D-O-1],w[D-O-1]=-v}},ae.prototype.normalize13b=function(h,w){for(var D=0,O=0;O<w/2;O++){var v=8192*Math.round(h[2*O+1]/w)+Math.round(h[2*O]/w)+D;h[O]=67108863&v,D=v<67108864?0:v/67108864|0}return h},ae.prototype.convert13b=function(h,w,D,O){for(var v=0,r=0;r<w;r++)D[2*r]=8191&(v+=0|h[r]),D[2*r+1]=8191&(v>>>=13),v>>>=13;for(r=2*w;r<O;++r)D[r]=0;y(0===v),y(0==(-8192&v))},ae.prototype.stub=function(h){for(var w=new Array(h),D=0;D<h;D++)w[D]=0;return w},ae.prototype.mulp=function(h,w,D){var O=2*this.guessLen13b(h.length,w.length),v=this.makeRBT(O),r=this.stub(O),g=new Array(O),H=new Array(O),N=new Array(O),ee=new Array(O),De=new Array(O),ot=new Array(O),je=D.words;je.length=O,this.convert13b(h.words,h.length,g,O),this.convert13b(w.words,w.length,ee,O),this.transform(g,r,H,N,O,v),this.transform(ee,r,De,ot,O,v);for(var Je=0;Je<O;Je++){var ye=H[Je]*De[Je]-N[Je]*ot[Je];N[Je]=H[Je]*ot[Je]+N[Je]*De[Je],H[Je]=ye}return this.conjugate(H,N,O),this.transform(H,N,je,r,O,v),this.conjugate(je,r,O),this.normalize13b(je,O),D.negative=h.negative^w.negative,D.length=h.length+w.length,D._strip()},l.prototype.mul=function(h){var w=new l(null);return w.words=new Array(this.length+h.length),this.mulTo(h,w)},l.prototype.mulf=function(h){var w=new l(null);return w.words=new Array(this.length+h.length),ie(this,h,w)},l.prototype.imul=function(h){return this.clone().mulTo(h,this)},l.prototype.imuln=function(h){var w=h<0;w&&(h=-h),y("number"==typeof h),y(h<67108864);for(var D=0,O=0;O<this.length;O++){var v=(0|this.words[O])*h,r=(67108863&v)+(67108863&D);D>>=26,D+=v/67108864|0,D+=r>>>26,this.words[O]=67108863&r}return 0!==D&&(this.words[O]=D,this.length++),w?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 w=function W(f){for(var h=new Array(f.bitLength()),w=0;w<h.length;w++)h[w]=f.words[w/26|0]>>>w%26&1;return h}(h);if(0===w.length)return new l(1);for(var D=this,O=0;O<w.length&&0===w[O];O++,D=D.sqr());if(++O<w.length)for(var v=D.sqr();O<w.length;O++,v=v.sqr())0!==w[O]&&(D=D.mul(v));return D},l.prototype.iushln=function(h){y("number"==typeof h&&h>=0);var v,w=h%26,D=(h-w)/26,O=67108863>>>26-w<<26-w;if(0!==w){var r=0;for(v=0;v<this.length;v++){var g=this.words[v]&O;this.words[v]=(0|this.words[v])-g<<w|r,r=g>>>26-w}r&&(this.words[v]=r,this.length++)}if(0!==D){for(v=this.length-1;v>=0;v--)this.words[v+D]=this.words[v];for(v=0;v<D;v++)this.words[v]=0;this.length+=D}return this._strip()},l.prototype.ishln=function(h){return y(0===this.negative),this.iushln(h)},l.prototype.iushrn=function(h,w,D){var O;y("number"==typeof h&&h>=0),O=w?(w-w%26)/26:0;var v=h%26,r=Math.min((h-v)/26,this.length),g=67108863^67108863>>>v<<v,H=D;if(O-=r,O=Math.max(0,O),H){for(var N=0;N<r;N++)H.words[N]=this.words[N];H.length=r}if(0!==r)if(this.length>r)for(this.length-=r,N=0;N<this.length;N++)this.words[N]=this.words[N+r];else this.words[0]=0,this.length=1;var ee=0;for(N=this.length-1;N>=0&&(0!==ee||N>=O);N--){var De=0|this.words[N];this.words[N]=ee<<26-v|De>>>v,ee=De&g}return H&&0!==ee&&(H.words[H.length++]=ee),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},l.prototype.ishrn=function(h,w,D){return y(0===this.negative),this.iushrn(h,w,D)},l.prototype.shln=function(h){return this.clone().ishln(h)},l.prototype.ushln=function(h){return this.clone().iushln(h)},l.prototype.shrn=function(h){return this.clone().ishrn(h)},l.prototype.ushrn=function(h){return this.clone().iushrn(h)},l.prototype.testn=function(h){y("number"==typeof h&&h>=0);var w=h%26,D=(h-w)/26;return!(this.length<=D||!(this.words[D]&1<<w))},l.prototype.imaskn=function(h){y("number"==typeof h&&h>=0);var w=h%26,D=(h-w)/26;return y(0===this.negative,"imaskn works only with positive numbers"),this.length<=D?this:(0!==w&&D++,this.length=Math.min(D,this.length),0!==w&&(this.words[this.length-1]&=67108863^67108863>>>w<<w),this._strip())},l.prototype.maskn=function(h){return this.clone().imaskn(h)},l.prototype.iaddn=function(h){return y("number"==typeof h),y(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 w=0;w<this.length&&this.words[w]>=67108864;w++)this.words[w]-=67108864,w===this.length-1?this.words[w+1]=1:this.words[w+1]++;return this.length=Math.max(this.length,w+1),this},l.prototype.isubn=function(h){if(y("number"==typeof h),y(h<67108864),h<0)return this.iaddn(-h);if(0!==this.negative)return this.negative=0,this.iaddn(h),this.negative=1,this;if(this.words[0]-=h,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var w=0;w<this.length&&this.words[w]<0;w++)this.words[w]+=67108864,this.words[w+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,w,D){var v;this._expand(h.length+D);var r,g=0;for(v=0;v<h.length;v++){r=(0|this.words[v+D])+g;var H=(0|h.words[v])*w;g=((r-=67108863&H)>>26)-(H/67108864|0),this.words[v+D]=67108863&r}for(;v<this.length-D;v++)g=(r=(0|this.words[v+D])+g)>>26,this.words[v+D]=67108863&r;if(0===g)return this._strip();for(y(-1===g),g=0,v=0;v<this.length;v++)g=(r=-(0|this.words[v])+g)>>26,this.words[v]=67108863&r;return this.negative=1,this._strip()},l.prototype._wordDiv=function(h,w){var D,O=this.clone(),v=h,r=0|v.words[v.length-1];0!=(D=26-this._countBits(r))&&(v=v.ushln(D),O.iushln(D),r=0|v.words[v.length-1]);var N,H=O.length-v.length;if("mod"!==w){(N=new l(null)).length=H+1,N.words=new Array(N.length);for(var ee=0;ee<N.length;ee++)N.words[ee]=0}var De=O.clone()._ishlnsubmul(v,1,H);0===De.negative&&(O=De,N&&(N.words[H]=1));for(var ot=H-1;ot>=0;ot--){var je=67108864*(0|O.words[v.length+ot])+(0|O.words[v.length+ot-1]);for(je=Math.min(je/r|0,67108863),O._ishlnsubmul(v,je,ot);0!==O.negative;)je--,O.negative=0,O._ishlnsubmul(v,1,ot),O.isZero()||(O.negative^=1);N&&(N.words[ot]=je)}return N&&N._strip(),O._strip(),"div"!==w&&0!==D&&O.iushrn(D),{div:N||null,mod:O}},l.prototype.divmod=function(h,w,D){return y(!h.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===h.negative?(r=this.neg().divmod(h,w),"mod"!==w&&(O=r.div.neg()),"div"!==w&&(v=r.mod.neg(),D&&0!==v.negative&&v.iadd(h)),{div:O,mod:v}):0===this.negative&&0!==h.negative?(r=this.divmod(h.neg(),w),"mod"!==w&&(O=r.div.neg()),{div:O,mod:r.mod}):this.negative&h.negative?(r=this.neg().divmod(h.neg(),w),"div"!==w&&(v=r.mod.neg(),D&&0!==v.negative&&v.isub(h)),{div:r.div,mod:v}):h.length>this.length||this.cmp(h)<0?{div:new l(0),mod:this}:1===h.length?"div"===w?{div:this.divn(h.words[0]),mod:null}:"mod"===w?{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,w);var O,v,r},l.prototype.div=function(h){return this.divmod(h,"div",!1).div},l.prototype.mod=function(h){return this.divmod(h,"mod",!1).mod},l.prototype.umod=function(h){return this.divmod(h,"mod",!0).mod},l.prototype.divRound=function(h){var w=this.divmod(h);if(w.mod.isZero())return w.div;var D=0!==w.div.negative?w.mod.isub(h):w.mod,O=h.ushrn(1),v=h.andln(1),r=D.cmp(O);return r<0||1===v&&0===r?w.div:0!==w.div.negative?w.div.isubn(1):w.div.iaddn(1)},l.prototype.modrn=function(h){var w=h<0;w&&(h=-h),y(h<=67108863);for(var D=(1<<26)%h,O=0,v=this.length-1;v>=0;v--)O=(D*O+(0|this.words[v]))%h;return w?-O:O},l.prototype.modn=function(h){return this.modrn(h)},l.prototype.idivn=function(h){var w=h<0;w&&(h=-h),y(h<=67108863);for(var D=0,O=this.length-1;O>=0;O--){var v=(0|this.words[O])+67108864*D;this.words[O]=v/h|0,D=v%h}return this._strip(),w?this.ineg():this},l.prototype.divn=function(h){return this.clone().idivn(h)},l.prototype.egcd=function(h){y(0===h.negative),y(!h.isZero());var w=this,D=h.clone();w=0!==w.negative?w.umod(h):w.clone();for(var O=new l(1),v=new l(0),r=new l(0),g=new l(1),H=0;w.isEven()&&D.isEven();)w.iushrn(1),D.iushrn(1),++H;for(var N=D.clone(),ee=w.clone();!w.isZero();){for(var De=0,ot=1;!(w.words[0]&ot)&&De<26;++De,ot<<=1);if(De>0)for(w.iushrn(De);De-- >0;)(O.isOdd()||v.isOdd())&&(O.iadd(N),v.isub(ee)),O.iushrn(1),v.iushrn(1);for(var je=0,Je=1;!(D.words[0]&Je)&&je<26;++je,Je<<=1);if(je>0)for(D.iushrn(je);je-- >0;)(r.isOdd()||g.isOdd())&&(r.iadd(N),g.isub(ee)),r.iushrn(1),g.iushrn(1);w.cmp(D)>=0?(w.isub(D),O.isub(r),v.isub(g)):(D.isub(w),r.isub(O),g.isub(v))}return{a:r,b:g,gcd:D.iushln(H)}},l.prototype._invmp=function(h){y(0===h.negative),y(!h.isZero());var De,w=this,D=h.clone();w=0!==w.negative?w.umod(h):w.clone();for(var O=new l(1),v=new l(0),r=D.clone();w.cmpn(1)>0&&D.cmpn(1)>0;){for(var g=0,H=1;!(w.words[0]&H)&&g<26;++g,H<<=1);if(g>0)for(w.iushrn(g);g-- >0;)O.isOdd()&&O.iadd(r),O.iushrn(1);for(var N=0,ee=1;!(D.words[0]&ee)&&N<26;++N,ee<<=1);if(N>0)for(D.iushrn(N);N-- >0;)v.isOdd()&&v.iadd(r),v.iushrn(1);w.cmp(D)>=0?(w.isub(D),O.isub(v)):(D.isub(w),v.isub(O))}return(De=0===w.cmpn(1)?O:v).cmpn(0)<0&&De.iadd(h),De},l.prototype.gcd=function(h){if(this.isZero())return h.abs();if(h.isZero())return this.abs();var w=this.clone(),D=h.clone();w.negative=0,D.negative=0;for(var O=0;w.isEven()&&D.isEven();O++)w.iushrn(1),D.iushrn(1);for(;;){for(;w.isEven();)w.iushrn(1);for(;D.isEven();)D.iushrn(1);var v=w.cmp(D);if(v<0){var r=w;w=D,D=r}else if(0===v||0===D.cmpn(1))break;w.isub(D)}return D.iushln(O)},l.prototype.invm=function(h){return this.egcd(h).a.umod(h)},l.prototype.isEven=function(){return 0==(1&this.words[0])},l.prototype.isOdd=function(){return 1==(1&this.words[0])},l.prototype.andln=function(h){return this.words[0]&h},l.prototype.bincn=function(h){y("number"==typeof h);var w=h%26,D=(h-w)/26,O=1<<w;if(this.length<=D)return this._expand(D+1),this.words[D]|=O,this;for(var v=O,r=D;0!==v&&r<this.length;r++){var g=0|this.words[r];v=(g+=v)>>>26,this.words[r]=g&=67108863}return 0!==v&&(this.words[r]=v,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(h){var D,w=h<0;if(0!==this.negative&&!w)return-1;if(0===this.negative&&w)return 1;if(this._strip(),this.length>1)D=1;else{w&&(h=-h),y(h<=67108863,"Number is too big");var O=0|this.words[0];D=O===h?0:O<h?-1:1}return 0!==this.negative?0|-D:D},l.prototype.cmp=function(h){if(0!==this.negative&&0===h.negative)return-1;if(0===this.negative&&0!==h.negative)return 1;var w=this.ucmp(h);return 0!==this.negative?0|-w:w},l.prototype.ucmp=function(h){if(this.length>h.length)return 1;if(this.length<h.length)return-1;for(var w=0,D=this.length-1;D>=0;D--){var O=0|this.words[D],v=0|h.words[D];if(O!==v){O<v?w=-1:O>v&&(w=1);break}}return w},l.prototype.gtn=function(h){return 1===this.cmpn(h)},l.prototype.gt=function(h){return 1===this.cmp(h)},l.prototype.gten=function(h){return this.cmpn(h)>=0},l.prototype.gte=function(h){return this.cmp(h)>=0},l.prototype.ltn=function(h){return-1===this.cmpn(h)},l.prototype.lt=function(h){return-1===this.cmp(h)},l.prototype.lten=function(h){return this.cmpn(h)<=0},l.prototype.lte=function(h){return this.cmp(h)<=0},l.prototype.eqn=function(h){return 0===this.cmpn(h)},l.prototype.eq=function(h){return 0===this.cmp(h)},l.red=function(h){return new n(h)},l.prototype.toRed=function(h){return y(!this.red,"Already a number in reduction context"),y(0===this.negative,"red works only with positives"),h.convertTo(this)._forceRed(h)},l.prototype.fromRed=function(){return y(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(h){return this.red=h,this},l.prototype.forceRed=function(h){return y(!this.red,"Already a number in reduction context"),this._forceRed(h)},l.prototype.redAdd=function(h){return y(this.red,"redAdd works only with red numbers"),this.red.add(this,h)},l.prototype.redIAdd=function(h){return y(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,h)},l.prototype.redSub=function(h){return y(this.red,"redSub works only with red numbers"),this.red.sub(this,h)},l.prototype.redISub=function(h){return y(this.red,"redISub works only with red numbers"),this.red.isub(this,h)},l.prototype.redShl=function(h){return y(this.red,"redShl works only with red numbers"),this.red.shl(this,h)},l.prototype.redMul=function(h){return y(this.red,"redMul works only with red numbers"),this.red._verify2(this,h),this.red.mul(this,h)},l.prototype.redIMul=function(h){return y(this.red,"redMul works only with red numbers"),this.red._verify2(this,h),this.red.imul(this,h)},l.prototype.redSqr=function(){return y(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return y(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return y(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return y(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return y(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(h){return y(this.red&&!h.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,h)};var fe={k256:null,p224:null,p192:null,p25519:null};function se(f,h){this.name=f,this.p=new l(h,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function Me(){se.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function $(){se.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ue(){se.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function S(){se.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function n(f){if("string"==typeof f){var h=l._prime(f);this.m=h.p,this.prime=h}else y(f.gtn(1),"modulus must be greater than 1"),this.m=f,this.prime=null}function s(f){n.call(this,f),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}se.prototype._tmp=function(){var h=new l(null);return h.words=new Array(Math.ceil(this.n/13)),h},se.prototype.ireduce=function(h){var D,w=h;do{this.split(w,this.tmp),D=(w=(w=this.imulK(w)).iadd(this.tmp)).bitLength()}while(D>this.n);var O=D<this.n?-1:w.ucmp(this.p);return 0===O?(w.words[0]=0,w.length=1):O>0?w.isub(this.p):void 0!==w.strip?w.strip():w._strip(),w},se.prototype.split=function(h,w){h.iushrn(this.n,0,w)},se.prototype.imulK=function(h){return h.imul(this.k)},A(Me,se),Me.prototype.split=function(h,w){for(var D=4194303,O=Math.min(h.length,9),v=0;v<O;v++)w.words[v]=h.words[v];if(w.length=O,h.length<=9)return h.words[0]=0,void(h.length=1);var r=h.words[9];for(w.words[w.length++]=r&D,v=10;v<h.length;v++){var g=0|h.words[v];h.words[v-10]=(g&D)<<4|r>>>22,r=g}h.words[v-10]=r>>>=22,h.length-=0===r&&h.length>10?10:9},Me.prototype.imulK=function(h){h.words[h.length]=0,h.words[h.length+1]=0,h.length+=2;for(var w=0,D=0;D<h.length;D++){var O=0|h.words[D];h.words[D]=67108863&(w+=977*O),w=64*O+(w/67108864|0)}return 0===h.words[h.length-1]&&(h.length--,0===h.words[h.length-1]&&h.length--),h},A($,se),A(ue,se),A(S,se),S.prototype.imulK=function(h){for(var w=0,D=0;D<h.length;D++){var O=19*(0|h.words[D])+w,v=67108863&O;O>>>=26,h.words[D]=v,w=O}return 0!==w&&(h.words[h.length++]=w),h},l._prime=function(h){if(fe[h])return fe[h];var w;if("k256"===h)w=new Me;else if("p224"===h)w=new $;else if("p192"===h)w=new ue;else{if("p25519"!==h)throw new Error("Unknown prime "+h);w=new S}return fe[h]=w,w},n.prototype._verify1=function(h){y(0===h.negative,"red works only with positives"),y(h.red,"red works only with red numbers")},n.prototype._verify2=function(h,w){y(0==(h.negative|w.negative),"red works only with positives"),y(h.red&&h.red===w.red,"red works only with red numbers")},n.prototype.imod=function(h){return this.prime?this.prime.ireduce(h)._forceRed(this):(E(h,h.umod(this.m)._forceRed(this)),h)},n.prototype.neg=function(h){return h.isZero()?h.clone():this.m.sub(h)._forceRed(this)},n.prototype.add=function(h,w){this._verify2(h,w);var D=h.add(w);return D.cmp(this.m)>=0&&D.isub(this.m),D._forceRed(this)},n.prototype.iadd=function(h,w){this._verify2(h,w);var D=h.iadd(w);return D.cmp(this.m)>=0&&D.isub(this.m),D},n.prototype.sub=function(h,w){this._verify2(h,w);var D=h.sub(w);return D.cmpn(0)<0&&D.iadd(this.m),D._forceRed(this)},n.prototype.isub=function(h,w){this._verify2(h,w);var D=h.isub(w);return D.cmpn(0)<0&&D.iadd(this.m),D},n.prototype.shl=function(h,w){return this._verify1(h),this.imod(h.ushln(w))},n.prototype.imul=function(h,w){return this._verify2(h,w),this.imod(h.imul(w))},n.prototype.mul=function(h,w){return this._verify2(h,w),this.imod(h.mul(w))},n.prototype.isqr=function(h){return this.imul(h,h.clone())},n.prototype.sqr=function(h){return this.mul(h,h)},n.prototype.sqrt=function(h){if(h.isZero())return h.clone();var w=this.m.andln(3);if(y(w%2==1),3===w){var D=this.m.add(new l(1)).iushrn(2);return this.pow(h,D)}for(var O=this.m.subn(1),v=0;!O.isZero()&&0===O.andln(1);)v++,O.iushrn(1);y(!O.isZero());var r=new l(1).toRed(this),g=r.redNeg(),H=this.m.subn(1).iushrn(1),N=this.m.bitLength();for(N=new l(2*N*N).toRed(this);0!==this.pow(N,H).cmp(g);)N.redIAdd(g);for(var ee=this.pow(N,O),De=this.pow(h,O.addn(1).iushrn(1)),ot=this.pow(h,O),je=v;0!==ot.cmp(r);){for(var Je=ot,ye=0;0!==Je.cmp(r);ye++)Je=Je.redSqr();y(ye<je);var me=this.pow(ee,new l(1).iushln(je-ye-1));De=De.redMul(me),ee=me.redSqr(),ot=ot.redMul(ee),je=ye}return De},n.prototype.invm=function(h){var w=h._invmp(this.m);return 0!==w.negative?(w.negative=0,this.imod(w).redNeg()):this.imod(w)},n.prototype.pow=function(h,w){if(w.isZero())return new l(1).toRed(this);if(0===w.cmpn(1))return h.clone();var O=new Array(16);O[0]=new l(1).toRed(this),O[1]=h;for(var v=2;v<O.length;v++)O[v]=this.mul(O[v-1],h);var r=O[0],g=0,H=0,N=w.bitLength()%26;for(0===N&&(N=26),v=w.length-1;v>=0;v--){for(var ee=w.words[v],De=N-1;De>=0;De--){var ot=ee>>De&1;r!==O[0]&&(r=this.sqr(r)),0!==ot||0!==g?(g<<=1,g|=ot,(4==++H||0===v&&0===De)&&(r=this.mul(r,O[g]),H=0,g=0)):H=0}N=26}return r},n.prototype.convertTo=function(h){var w=h.umod(this.m);return w===h?w.clone():w},n.prototype.convertFrom=function(h){var w=h.clone();return w.red=null,w},l.mont=function(h){return new s(h)},A(s,n),s.prototype.convertTo=function(h){return this.imod(h.ushln(this.shift))},s.prototype.convertFrom=function(h){var w=this.imod(h.mul(this.rinv));return w.red=null,w},s.prototype.imul=function(h,w){if(h.isZero()||w.isZero())return h.words[0]=0,h.length=1,h;var D=h.imul(w),O=D.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),v=D.isub(O).iushrn(this.shift),r=v;return v.cmp(this.m)>=0?r=v.isub(this.m):v.cmpn(0)<0&&(r=v.iadd(this.m)),r._forceRed(this)},s.prototype.mul=function(h,w){if(h.isZero()||w.isZero())return new l(0)._forceRed(this);var D=h.mul(w),O=D.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),v=D.isub(O).iushrn(this.shift),r=v;return v.cmp(this.m)>=0?r=v.isub(this.m):v.cmpn(0)<0&&(r=v.iadd(this.m)),r._forceRed(this)},s.prototype.invm=function(h){return this.imod(h._invmp(this.m).mul(this.r2))._forceRed(this)}}(ze=p.nmd(ze),this)},82:(ze,q,p)=>{var e;function t(A){this.rand=A}if(ze.exports=function(l){return e||(e=new t(null)),e.generate(l)},ze.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 x=new Uint8Array(l),m=0;m<x.length;m++)x[m]=this.rand.getByte();return x},"object"==typeof self)self.crypto&&self.crypto.getRandomValues?t.prototype._rand=function(l){var x=new Uint8Array(l);return self.crypto.getRandomValues(x),x}:self.msCrypto&&self.msCrypto.getRandomValues?t.prototype._rand=function(l){var x=new Uint8Array(l);return self.msCrypto.getRandomValues(x),x}:"object"==typeof window&&(t.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var y=p(7903);if("function"!=typeof y.randomBytes)throw new Error("Not supported");t.prototype._rand=function(l){return y.randomBytes(l)}}catch{}},6403:(ze,q,p)=>{var e=p(843).Buffer;function t(P){e.isBuffer(P)||(P=e.from(P));for(var d=P.length/4|0,E=new Array(d),M=0;M<d;M++)E[M]=P.readUInt32BE(4*M);return E}function y(P){for(;0<P.length;P++)P[0]=0}function A(P,d,E,M,I){for(var ae,fe,se,Me,k=E[0],V=E[1],B=E[2],W=E[3],j=P[0]^d[0],K=P[1]^d[1],X=P[2]^d[2],ie=P[3]^d[3],$=4,ue=1;ue<I;ue++)ae=k[j>>>24]^V[K>>>16&255]^B[X>>>8&255]^W[255&ie]^d[$++],fe=k[K>>>24]^V[X>>>16&255]^B[ie>>>8&255]^W[255&j]^d[$++],se=k[X>>>24]^V[ie>>>16&255]^B[j>>>8&255]^W[255&K]^d[$++],Me=k[ie>>>24]^V[j>>>16&255]^B[K>>>8&255]^W[255&X]^d[$++],j=ae,K=fe,X=se,ie=Me;return ae=(M[j>>>24]<<24|M[K>>>16&255]<<16|M[X>>>8&255]<<8|M[255&ie])^d[$++],fe=(M[K>>>24]<<24|M[X>>>16&255]<<16|M[ie>>>8&255]<<8|M[255&j])^d[$++],se=(M[X>>>24]<<24|M[ie>>>16&255]<<16|M[j>>>8&255]<<8|M[255&K])^d[$++],Me=(M[ie>>>24]<<24|M[j>>>16&255]<<16|M[K>>>8&255]<<8|M[255&X])^d[$++],[ae>>>=0,fe>>>=0,se>>>=0,Me>>>=0]}var l=[0,1,2,4,8,16,32,64,128,27,54],x=function(){for(var P=new Array(256),d=0;d<256;d++)P[d]=d<128?d<<1:d<<1^283;for(var E=[],M=[],I=[[],[],[],[]],k=[[],[],[],[]],V=0,B=0,W=0;W<256;++W){var j=B^B<<1^B<<2^B<<3^B<<4;E[V]=j=j>>>8^255&j^99,M[j]=V;var K=P[V],X=P[K],ie=P[X],ae=257*P[j]^16843008*j;I[0][V]=ae<<24|ae>>>8,I[1][V]=ae<<16|ae>>>16,I[2][V]=ae<<8|ae>>>24,I[3][V]=ae,k[0][j]=(ae=16843009*ie^65537*X^257*K^16843008*V)<<24|ae>>>8,k[1][j]=ae<<16|ae>>>16,k[2][j]=ae<<8|ae>>>24,k[3][j]=ae,0===V?V=B=1:(V=K^P[P[P[ie^K]]],B^=P[P[B]])}return{SBOX:E,INV_SBOX:M,SUB_MIX:I,INV_SUB_MIX:k}}();function m(P){this._key=t(P),this._reset()}m.blockSize=16,m.keySize=32,m.prototype.blockSize=m.blockSize,m.prototype.keySize=m.keySize,m.prototype._reset=function(){for(var P=this._key,d=P.length,E=d+6,M=4*(E+1),I=[],k=0;k<d;k++)I[k]=P[k];for(k=d;k<M;k++){var V=I[k-1];k%d==0?(V=x.SBOX[(V=V<<8|V>>>24)>>>24]<<24|x.SBOX[V>>>16&255]<<16|x.SBOX[V>>>8&255]<<8|x.SBOX[255&V],V^=l[k/d|0]<<24):d>6&&k%d==4&&(V=x.SBOX[V>>>24]<<24|x.SBOX[V>>>16&255]<<16|x.SBOX[V>>>8&255]<<8|x.SBOX[255&V]),I[k]=I[k-d]^V}for(var B=[],W=0;W<M;W++){var j=M-W,K=I[j-(W%4?0:4)];B[W]=W<4||j<=4?K:x.INV_SUB_MIX[0][x.SBOX[K>>>24]]^x.INV_SUB_MIX[1][x.SBOX[K>>>16&255]]^x.INV_SUB_MIX[2][x.SBOX[K>>>8&255]]^x.INV_SUB_MIX[3][x.SBOX[255&K]]}this._nRounds=E,this._keySchedule=I,this._invKeySchedule=B},m.prototype.encryptBlockRaw=function(P){return A(P=t(P),this._keySchedule,x.SUB_MIX,x.SBOX,this._nRounds)},m.prototype.encryptBlock=function(P){var d=this.encryptBlockRaw(P),E=e.allocUnsafe(16);return E.writeUInt32BE(d[0],0),E.writeUInt32BE(d[1],4),E.writeUInt32BE(d[2],8),E.writeUInt32BE(d[3],12),E},m.prototype.decryptBlock=function(P){var d=(P=t(P))[1];P[1]=P[3],P[3]=d;var E=A(P,this._invKeySchedule,x.INV_SUB_MIX,x.INV_SBOX,this._nRounds),M=e.allocUnsafe(16);return M.writeUInt32BE(E[0],0),M.writeUInt32BE(E[3],4),M.writeUInt32BE(E[2],8),M.writeUInt32BE(E[1],12),M},m.prototype.scrub=function(){y(this._keySchedule),y(this._invKeySchedule),y(this._key)},ze.exports.AES=m},6087:(ze,q,p)=>{var e=p(6403),t=p(843).Buffer,y=p(6420),A=p(6698),l=p(1503),x=p(3636),m=p(9107);function E(M,I,k,V){y.call(this);var B=t.alloc(4,0);this._cipher=new e.AES(I);var W=this._cipher.encryptBlock(B);this._ghash=new l(W),k=function d(M,I,k){if(12===I.length)return M._finID=t.concat([I,t.from([0,0,0,1])]),t.concat([I,t.from([0,0,0,2])]);var V=new l(k),B=I.length,W=B%16;V.update(I),W&&V.update(t.alloc(W=16-W,0)),V.update(t.alloc(8,0));var j=8*B,K=t.alloc(8);K.writeUIntBE(j,0,8),V.update(K),M._finID=V.state;var X=t.from(M._finID);return m(X),X}(this,k,W),this._prev=t.from(k),this._cache=t.allocUnsafe(0),this._secCache=t.allocUnsafe(0),this._decrypt=V,this._alen=0,this._len=0,this._mode=M,this._authTag=null,this._called=!1}A(E,y),E.prototype._update=function(M){if(!this._called&&this._alen){var I=16-this._alen%16;I<16&&(I=t.alloc(I,0),this._ghash.update(I))}this._called=!0;var k=this._mode.encrypt(this,M);return this._ghash.update(this._decrypt?M:k),this._len+=M.length,k},E.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var M=x(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function P(M,I){var k=0;M.length!==I.length&&k++;for(var V=Math.min(M.length,I.length),B=0;B<V;++B)k+=M[B]^I[B];return k}(M,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=M,this._cipher.scrub()},E.prototype.getAuthTag=function(){if(this._decrypt||!t.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},E.prototype.setAuthTag=function(I){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=I},E.prototype.setAAD=function(I){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(I),this._alen+=I.length},ze.exports=E},2489:(ze,q,p)=>{var e=p(2689),t=p(46),y=p(4946);q.createCipher=q.Cipher=e.createCipher,q.createCipheriv=q.Cipheriv=e.createCipheriv,q.createDecipher=q.Decipher=t.createDecipher,q.createDecipheriv=q.Decipheriv=t.createDecipheriv,q.listCiphers=q.getCiphers=function A(){return Object.keys(y)}},46:(ze,q,p)=>{var e=p(6087),t=p(843).Buffer,y=p(2421),A=p(9354),l=p(6420),x=p(6403),m=p(6505);function d(V,B,W){l.call(this),this._cache=new E,this._last=void 0,this._cipher=new x.AES(B),this._prev=t.from(W),this._mode=V,this._autopadding=!0}function E(){this.cache=t.allocUnsafe(0)}function I(V,B,W){var j=y[V.toLowerCase()];if(!j)throw new TypeError("invalid suite type");if("string"==typeof W&&(W=t.from(W)),"GCM"!==j.mode&&W.length!==j.iv)throw new TypeError("invalid iv length "+W.length);if("string"==typeof B&&(B=t.from(B)),B.length!==j.key/8)throw new TypeError("invalid key length "+B.length);return"stream"===j.type?new A(j.module,B,W,!0):"auth"===j.type?new e(j.module,B,W,!0):new d(j.module,B,W)}p(6698)(d,l),d.prototype._update=function(V){this._cache.add(V);for(var B,W,j=[];B=this._cache.get(this._autopadding);)W=this._mode.decrypt(this,B),j.push(W);return t.concat(j)},d.prototype._final=function(){var V=this._cache.flush();if(this._autopadding)return function M(V){var B=V[15];if(B<1||B>16)throw new Error("unable to decrypt data");for(var W=-1;++W<B;)if(V[W+(16-B)]!==B)throw new Error("unable to decrypt data");if(16!==B)return V.slice(0,16-B)}(this._mode.decrypt(this,V));if(V)throw new Error("data not multiple of block length")},d.prototype.setAutoPadding=function(V){return this._autopadding=!!V,this},E.prototype.add=function(V){this.cache=t.concat([this.cache,V])},E.prototype.get=function(V){var B;if(V){if(this.cache.length>16)return B=this.cache.slice(0,16),this.cache=this.cache.slice(16),B}else if(this.cache.length>=16)return B=this.cache.slice(0,16),this.cache=this.cache.slice(16),B;return null},E.prototype.flush=function(){if(this.cache.length)return this.cache},q.createDecipher=function k(V,B){var W=y[V.toLowerCase()];if(!W)throw new TypeError("invalid suite type");var j=m(B,!1,W.key,W.iv);return I(V,j.key,j.iv)},q.createDecipheriv=I},2689:(ze,q,p)=>{var e=p(2421),t=p(6087),y=p(843).Buffer,A=p(9354),l=p(6420),x=p(6403),m=p(6505);function d(V,B,W){l.call(this),this._cache=new M,this._cipher=new x.AES(B),this._prev=y.from(W),this._mode=V,this._autopadding=!0}p(6698)(d,l),d.prototype._update=function(V){this._cache.add(V);for(var B,W,j=[];B=this._cache.get();)W=this._mode.encrypt(this,B),j.push(W);return y.concat(j)};var E=y.alloc(16,16);function M(){this.cache=y.allocUnsafe(0)}function I(V,B,W){var j=e[V.toLowerCase()];if(!j)throw new TypeError("invalid suite type");if("string"==typeof B&&(B=y.from(B)),B.length!==j.key/8)throw new TypeError("invalid key length "+B.length);if("string"==typeof W&&(W=y.from(W)),"GCM"!==j.mode&&W.length!==j.iv)throw new TypeError("invalid iv length "+W.length);return"stream"===j.type?new A(j.module,B,W):"auth"===j.type?new t(j.module,B,W):new d(j.module,B,W)}d.prototype._final=function(){var V=this._cache.flush();if(this._autopadding)return V=this._mode.encrypt(this,V),this._cipher.scrub(),V;if(!V.equals(E))throw this._cipher.scrub(),new Error("data not multiple of block length")},d.prototype.setAutoPadding=function(V){return this._autopadding=!!V,this},M.prototype.add=function(V){this.cache=y.concat([this.cache,V])},M.prototype.get=function(){if(this.cache.length>15){var V=this.cache.slice(0,16);return this.cache=this.cache.slice(16),V}return null},M.prototype.flush=function(){for(var V=16-this.cache.length,B=y.allocUnsafe(V),W=-1;++W<V;)B.writeUInt8(V,W);return y.concat([this.cache,B])},q.createCipheriv=I,q.createCipher=function k(V,B){var W=e[V.toLowerCase()];if(!W)throw new TypeError("invalid suite type");var j=m(B,!1,W.key,W.iv);return I(V,j.key,j.iv)}},1503:(ze,q,p)=>{var e=p(843).Buffer,t=e.alloc(16,0);function A(x){var m=e.allocUnsafe(16);return m.writeUInt32BE(x[0]>>>0,0),m.writeUInt32BE(x[1]>>>0,4),m.writeUInt32BE(x[2]>>>0,8),m.writeUInt32BE(x[3]>>>0,12),m}function l(x){this.h=x,this.state=e.alloc(16,0),this.cache=e.allocUnsafe(0)}l.prototype.ghash=function(x){for(var m=-1;++m<x.length;)this.state[m]^=x[m];this._multiply()},l.prototype._multiply=function(){for(var P,E,x=function y(x){return[x.readUInt32BE(0),x.readUInt32BE(4),x.readUInt32BE(8),x.readUInt32BE(12)]}(this.h),m=[0,0,0,0],M=-1;++M<128;){for(0!=(this.state[~~(M/8)]&1<<7-M%8)&&(m[0]^=x[0],m[1]^=x[1],m[2]^=x[2],m[3]^=x[3]),E=0!=(1&x[3]),P=3;P>0;P--)x[P]=x[P]>>>1|(1&x[P-1])<<31;x[0]=x[0]>>>1,E&&(x[0]=x[0]^225<<24)}this.state=A(m)},l.prototype.update=function(x){this.cache=e.concat([this.cache,x]);for(var m;this.cache.length>=16;)m=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(m)},l.prototype.final=function(x,m){return this.cache.length&&this.ghash(e.concat([this.cache,t],16)),this.ghash(A([0,x,0,m])),this.state},ze.exports=l},9107:ze=>{ze.exports=function q(p){for(var t,e=p.length;e--;){if(255!==(t=p.readUInt8(e))){t++,p.writeUInt8(t,e);break}p.writeUInt8(0,e)}}},1175:(ze,q,p)=>{var e=p(3636);q.encrypt=function(t,y){var A=e(y,t._prev);return t._prev=t._cipher.encryptBlock(A),t._prev},q.decrypt=function(t,y){var A=t._prev;t._prev=y;var l=t._cipher.decryptBlock(y);return e(l,A)}},3631:(ze,q,p)=>{var e=p(843).Buffer,t=p(3636);function y(A,l,x){var m=l.length,P=t(l,A._cache);return A._cache=A._cache.slice(m),A._prev=e.concat([A._prev,x?l:P]),P}q.encrypt=function(A,l,x){for(var P,m=e.allocUnsafe(0);l.length;){if(0===A._cache.length&&(A._cache=A._cipher.encryptBlock(A._prev),A._prev=e.allocUnsafe(0)),!(A._cache.length<=l.length)){m=e.concat([m,y(A,l,x)]);break}m=e.concat([m,y(A,l.slice(0,P=A._cache.length),x)]),l=l.slice(P)}return m}},3892:(ze,q,p)=>{var e=p(843).Buffer;function t(A,l,x){for(var M,I,P=-1,E=0;++P<8;)E+=(128&(I=A._cipher.encryptBlock(A._prev)[0]^(M=l&1<<7-P?128:0)))>>P%8,A._prev=y(A._prev,x?M:I);return E}function y(A,l){var x=A.length,m=-1,P=e.allocUnsafe(A.length);for(A=e.concat([A,e.from([l])]);++m<x;)P[m]=A[m]<<1|A[m+1]>>7;return P}q.encrypt=function(A,l,x){for(var m=l.length,P=e.allocUnsafe(m),d=-1;++d<m;)P[d]=t(A,l[d],x);return P}},6787:(ze,q,p)=>{var e=p(843).Buffer;function t(y,A,l){var m=y._cipher.encryptBlock(y._prev)[0]^A;return y._prev=e.concat([y._prev.slice(1),e.from([l?A:m])]),m}q.encrypt=function(y,A,l){for(var x=A.length,m=e.allocUnsafe(x),P=-1;++P<x;)m[P]=t(y,A[P],l);return m}},5268:(ze,q,p)=>{var e=p(3636),t=p(843).Buffer,y=p(9107);function A(x){var m=x._cipher.encryptBlockRaw(x._prev);return y(x._prev),m}q.encrypt=function(x,m){var P=Math.ceil(m.length/16),d=x._cache.length;x._cache=t.concat([x._cache,t.allocUnsafe(16*P)]);for(var E=0;E<P;E++){var M=A(x),I=d+16*E;x._cache.writeUInt32BE(M[0],I+0),x._cache.writeUInt32BE(M[1],I+4),x._cache.writeUInt32BE(M[2],I+8),x._cache.writeUInt32BE(M[3],I+12)}var k=x._cache.slice(0,m.length);return x._cache=x._cache.slice(m.length),e(m,k)}},5995:(ze,q)=>{q.encrypt=function(p,e){return p._cipher.encryptBlock(e)},q.decrypt=function(p,e){return p._cipher.decryptBlock(e)}},2421:(ze,q,p)=>{var e={ECB:p(5995),CBC:p(1175),CFB:p(3631),CFB8:p(6787),CFB1:p(3892),OFB:p(4532),CTR:p(5268),GCM:p(5268)},t=p(4946);for(var y in t)t[y].module=e[t[y].mode];ze.exports=t},4532:(ze,q,p)=>{var e=p(3636);function t(y){return y._prev=y._cipher.encryptBlock(y._prev),y._prev}q.encrypt=function(y,A){for(;y._cache.length<A.length;)y._cache=Buffer.concat([y._cache,t(y)]);var l=y._cache.slice(0,A.length);return y._cache=y._cache.slice(A.length),e(A,l)}},9354:(ze,q,p)=>{var e=p(6403),t=p(843).Buffer,y=p(6420);function l(x,m,P,d){y.call(this),this._cipher=new e.AES(m),this._prev=t.from(P),this._cache=t.allocUnsafe(0),this._secCache=t.allocUnsafe(0),this._decrypt=d,this._mode=x}p(6698)(l,y),l.prototype._update=function(x){return this._mode.encrypt(this,x,this._decrypt)},l.prototype._final=function(){this._cipher.scrub()},ze.exports=l},5600:(ze,q,p)=>{var e=p(4948),t=p(2489),y=p(2421),A=p(9402),l=p(6505);function P(M,I,k){if(M=M.toLowerCase(),y[M])return t.createCipheriv(M,I,k);if(A[M])return new e({key:I,iv:k,mode:M});throw new TypeError("invalid suite type")}function d(M,I,k){if(M=M.toLowerCase(),y[M])return t.createDecipheriv(M,I,k);if(A[M])return new e({key:I,iv:k,mode:M,decrypt:!0});throw new TypeError("invalid suite type")}q.createCipher=q.Cipher=function x(M,I){var k,V;if(M=M.toLowerCase(),y[M])k=y[M].key,V=y[M].iv;else{if(!A[M])throw new TypeError("invalid suite type");k=8*A[M].key,V=A[M].iv}var B=l(I,!1,k,V);return P(M,B.key,B.iv)},q.createCipheriv=q.Cipheriv=P,q.createDecipher=q.Decipher=function m(M,I){var k,V;if(M=M.toLowerCase(),y[M])k=y[M].key,V=y[M].iv;else{if(!A[M])throw new TypeError("invalid suite type");k=8*A[M].key,V=A[M].iv}var B=l(I,!1,k,V);return d(M,B.key,B.iv)},q.createDecipheriv=q.Decipheriv=d,q.listCiphers=q.getCiphers=function E(){return Object.keys(A).concat(t.getCiphers())}},4948:(ze,q,p)=>{var e=p(6420),t=p(132),y=p(6698),A=p(843).Buffer,l={"des-ede3-cbc":t.CBC.instantiate(t.EDE),"des-ede3":t.EDE,"des-ede-cbc":t.CBC.instantiate(t.EDE),"des-ede":t.EDE,"des-cbc":t.CBC.instantiate(t.DES),"des-ecb":t.DES};function x(m){e.call(this);var E,P=m.mode.toLowerCase(),d=l[P];E=m.decrypt?"decrypt":"encrypt";var M=m.key;A.isBuffer(M)||(M=A.from(M)),("des-ede"===P||"des-ede-cbc"===P)&&(M=A.concat([M,M.slice(0,8)]));var I=m.iv;A.isBuffer(I)||(I=A.from(I)),this._des=d.create({key:M,iv:I,type:E})}l.des=l["des-cbc"],l.des3=l["des-ede3-cbc"],ze.exports=x,y(x,e),x.prototype._update=function(m){return A.from(this._des.update(m))},x.prototype._final=function(){return A.from(this._des.final())}},9402:(ze,q)=>{q["des-ecb"]={key:8,iv:0},q["des-cbc"]=q.des={key:8,iv:8},q["des-ede3-cbc"]=q.des3={key:24,iv:8},q["des-ede3"]={key:24,iv:0},q["des-ede-cbc"]={key:16,iv:8},q["des-ede"]={key:16,iv:0}},1946:(ze,q,p)=>{var e=p(2662),t=p(4019);function A(x){var P,m=x.modulus.byteLength();do{P=new e(t(m))}while(P.cmp(x.modulus)>=0||!P.umod(x.prime1)||!P.umod(x.prime2));return P}function l(x,m){var P=function y(x){var m=A(x);return{blinder:m.toRed(e.mont(x.modulus)).redPow(new e(x.publicExponent)).fromRed(),unblinder:m.invm(x.modulus)}}(m),d=m.modulus.byteLength(),E=new e(x).mul(P.blinder).umod(m.modulus),M=E.toRed(e.mont(m.prime1)),I=E.toRed(e.mont(m.prime2)),k=m.coefficient,V=m.prime1,B=m.prime2,W=M.redPow(m.exponent1).fromRed(),j=I.redPow(m.exponent2).fromRed(),K=W.isub(j).imul(k).umod(V).imul(B);return j.iadd(K).imul(P.unblinder).umod(m.modulus).toArrayLike(Buffer,"be",d)}l.getr=A,ze.exports=l},1699:(ze,q,p)=>{"use strict";ze.exports=p(5207)},7686:(ze,q,p)=>{"use strict";var e=p(843).Buffer,t=p(6362),y=p(6745),A=p(6698),l=p(3602),x=p(1173),m=p(5207);function P(I){y.Writable.call(this);var k=m[I];if(!k)throw new Error("Unknown message digest");this._hashType=k.hash,this._hash=t(k.hash),this._tag=k.id,this._signType=k.sign}function d(I){y.Writable.call(this);var k=m[I];if(!k)throw new Error("Unknown message digest");this._hash=t(k.hash),this._tag=k.id,this._signType=k.sign}function E(I){return new P(I)}function M(I){return new d(I)}Object.keys(m).forEach(function(I){m[I].id=e.from(m[I].id,"hex"),m[I.toLowerCase()]=m[I]}),A(P,y.Writable),P.prototype._write=function(k,V,B){this._hash.update(k),B()},P.prototype.update=function(k,V){return this._hash.update("string"==typeof k?e.from(k,V):k),this},P.prototype.sign=function(k,V){this.end();var B=this._hash.digest(),W=l(B,k,this._hashType,this._signType,this._tag);return V?W.toString(V):W},A(d,y.Writable),d.prototype._write=function(k,V,B){this._hash.update(k),B()},d.prototype.update=function(k,V){return this._hash.update("string"==typeof k?e.from(k,V):k),this},d.prototype.verify=function(k,V,B){var W="string"==typeof V?e.from(V,B):V;this.end();var j=this._hash.digest();return x(W,j,k,this._signType,this._tag)},ze.exports={Sign:E,Verify:M,createSign:E,createVerify:M}},3602:(ze,q,p)=>{"use strict";var e=p(843).Buffer,t=p(5825),y=p(1946),A=p(8651).ec,l=p(2662),x=p(7983),m=p(1308);function k(K,X,ie,ae){if((K=e.from(K.toArray())).length<X.byteLength()){var fe=e.alloc(X.byteLength()-K.length);K=e.concat([fe,K])}var se=ie.length,Me=function B(K,X){K=(K=V(K,X)).mod(X);var ie=e.from(K.toArray());if(ie.length<X.byteLength()){var ae=e.alloc(X.byteLength()-ie.length);ie=e.concat([ae,ie])}return ie}(ie,X),$=e.alloc(se);$.fill(1);var ue=e.alloc(se);return ue=t(ae,ue).update($).update(e.from([0])).update(K).update(Me).digest(),$=t(ae,ue).update($).digest(),{k:ue=t(ae,ue).update($).update(e.from([1])).update(K).update(Me).digest(),v:$=t(ae,ue).update($).digest()}}function V(K,X){var ie=new l(K),ae=(K.length<<3)-X.bitLength();return ae>0&&ie.ishrn(ae),ie}function W(K,X,ie){var ae,fe;do{for(ae=e.alloc(0);8*ae.length<K.bitLength();)X.v=t(ie,X.k).update(X.v).digest(),ae=e.concat([ae,X.v]);fe=V(ae,K),X.k=t(ie,X.k).update(X.v).update(e.from([0])).digest(),X.v=t(ie,X.k).update(X.v).digest()}while(-1!==fe.cmp(K));return fe}function j(K,X,ie,ae){return K.toRed(l.mont(ie)).redPow(X).fromRed().mod(ae)}ze.exports=function d(K,X,ie,ae,fe){var se=x(X);if(se.curve){if("ecdsa"!==ae&&"ecdsa/rsa"!==ae)throw new Error("wrong private key type");return function E(K,X){var ie=m[X.curve.join(".")];if(!ie)throw new Error("unknown curve "+X.curve.join("."));var se=new A(ie).keyFromPrivate(X.privateKey).sign(K);return e.from(se.toDER())}(K,se)}if("dsa"===se.type){if("dsa"!==ae)throw new Error("wrong private key type");return function M(K,X,ie){for(var ue,ae=X.params.priv_key,fe=X.params.p,se=X.params.q,Me=X.params.g,$=new l(0),S=V(K,se).mod(se),n=!1,s=k(ae,se,K,ie);!1===n;)$=j(Me,ue=W(se,s,ie),fe,se),0===(n=ue.invm(se).imul(S.add(ae.mul($))).mod(se)).cmpn(0)&&(n=!1,$=new l(0));return function I(K,X){K=K.toArray(),X=X.toArray(),128&K[0]&&(K=[0].concat(K)),128&X[0]&&(X=[0].concat(X));var ae=[48,K.length+X.length+4,2,K.length];return ae=ae.concat(K,[2,X.length],X),e.from(ae)}($,n)}(K,se,ie)}if("rsa"!==ae&&"ecdsa/rsa"!==ae)throw new Error("wrong private key type");if(void 0!==X.padding&&1!==X.padding)throw new Error("illegal or unsupported padding mode");K=e.concat([fe,K]);for(var Me=se.modulus.byteLength(),$=[0,1];K.length+$.length+1<Me;)$.push(255);$.push(0);for(var ue=-1;++ue<K.length;)$.push(K[ue]);return y($,se)},ze.exports.getKey=k,ze.exports.makeKey=W},1173:(ze,q,p)=>{"use strict";var e=p(843).Buffer,t=p(2662),y=p(8651).ec,A=p(7983),l=p(1308);function d(E,M){if(E.cmpn(0)<=0)throw new Error("invalid sig");if(E.cmp(M)>=0)throw new Error("invalid sig")}ze.exports=function x(E,M,I,k,V){var B=A(I);if("ec"===B.type){if("ecdsa"!==k&&"ecdsa/rsa"!==k)throw new Error("wrong public key type");return function m(E,M,I){var k=l[I.data.algorithm.curve.join(".")];if(!k)throw new Error("unknown curve "+I.data.algorithm.curve.join("."));return new y(k).verify(M,E,I.data.subjectPrivateKey.data)}(E,M,B)}if("dsa"===B.type){if("dsa"!==k)throw new Error("wrong public key type");return function P(E,M,I){var k=I.data.p,V=I.data.q,B=I.data.g,W=I.data.pub_key,j=A.signature.decode(E,"der"),K=j.s,X=j.r;d(K,V),d(X,V);var ie=t.mont(k),ae=K.invm(V);return 0===B.toRed(ie).redPow(new t(M).mul(ae).mod(V)).fromRed().mul(W.toRed(ie).redPow(X.mul(ae).mod(V)).fromRed()).mod(k).mod(V).cmp(X)}(E,M,B)}if("rsa"!==k&&"ecdsa/rsa"!==k)throw new Error("wrong public key type");M=e.concat([V,M]);for(var W=B.modulus.byteLength(),j=[1],K=0;M.length+j.length+2<W;)j.push(255),K+=1;j.push(0);for(var X=-1;++X<M.length;)j.push(M[X]);j=e.from(j);var ie=t.mont(B.modulus);E=(E=new t(E).toRed(ie)).redPow(new t(B.publicExponent)),E=e.from(E.fromRed().toArray());var ae=K<8?1:0;for(W=Math.min(E.length,j.length),E.length!==j.length&&(ae=1),X=-1;++X<W;)ae|=E[X]^j[X];return 0===ae}},3636:ze=>{ze.exports=function(p,e){for(var t=Math.min(p.length,e.length),y=new Buffer(t),A=0;A<t;++A)y[A]=p[A]^e[A];return y}},9007:(ze,q,p)=>{"use strict";var e=p(9919),t=p(2601),y="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;q.Buffer=m,q.SlowBuffer=function K(oe){return+oe!=oe&&(oe=0),m.alloc(+oe)},q.INSPECT_MAX_BYTES=50;var A=2147483647;function x(oe){if(oe>A)throw new RangeError('The value "'+oe+'" is invalid for option "size"');var ve=new Uint8Array(oe);return Object.setPrototypeOf(ve,m.prototype),ve}function m(oe,ve,le){if("number"==typeof oe){if("string"==typeof ve)throw new TypeError('The "string" argument must be of type string. Received type number');return M(oe)}return P(oe,ve,le)}function P(oe,ve,le){if("string"==typeof oe)return function I(oe,ve){if(("string"!=typeof ve||""===ve)&&(ve="utf8"),!m.isEncoding(ve))throw new TypeError("Unknown encoding: "+ve);var le=0|X(oe,ve),Ge=x(le),We=Ge.write(oe,ve);return We!==le&&(Ge=Ge.slice(0,We)),Ge}(oe,ve);if(ArrayBuffer.isView(oe))return function V(oe){if(de(oe,Uint8Array)){var ve=new Uint8Array(oe);return B(ve.buffer,ve.byteOffset,ve.byteLength)}return k(oe)}(oe);if(null==oe)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof oe);if(de(oe,ArrayBuffer)||oe&&de(oe.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(de(oe,SharedArrayBuffer)||oe&&de(oe.buffer,SharedArrayBuffer)))return B(oe,ve,le);if("number"==typeof oe)throw new TypeError('The "value" argument must not be of type number. Received type number');var Ge=oe.valueOf&&oe.valueOf();if(null!=Ge&&Ge!==oe)return m.from(Ge,ve,le);var We=function W(oe){if(m.isBuffer(oe)){var ve=0|j(oe.length),le=x(ve);return 0===le.length||oe.copy(le,0,0,ve),le}return void 0!==oe.length?"number"!=typeof oe.length||ge(oe.length)?x(0):k(oe):"Buffer"===oe.type&&Array.isArray(oe.data)?k(oe.data):void 0}(oe);if(We)return We;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof oe[Symbol.toPrimitive])return m.from(oe[Symbol.toPrimitive]("string"),ve,le);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof oe)}function d(oe){if("number"!=typeof oe)throw new TypeError('"size" argument must be of type number');if(oe<0)throw new RangeError('The value "'+oe+'" is invalid for option "size"')}function M(oe){return d(oe),x(oe<0?0:0|j(oe))}function k(oe){for(var ve=oe.length<0?0:0|j(oe.length),le=x(ve),Ge=0;Ge<ve;Ge+=1)le[Ge]=255&oe[Ge];return le}function B(oe,ve,le){if(ve<0||oe.byteLength<ve)throw new RangeError('"offset" is outside of buffer bounds');if(oe.byteLength<ve+(le||0))throw new RangeError('"length" is outside of buffer bounds');var Ge;return Ge=void 0===ve&&void 0===le?new Uint8Array(oe):void 0===le?new Uint8Array(oe,ve):new Uint8Array(oe,ve,le),Object.setPrototypeOf(Ge,m.prototype),Ge}function j(oe){if(oe>=A)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+A.toString(16)+" bytes");return 0|oe}function X(oe,ve){if(m.isBuffer(oe))return oe.length;if(ArrayBuffer.isView(oe)||de(oe,ArrayBuffer))return oe.byteLength;if("string"!=typeof oe)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof oe);var le=oe.length,Ge=arguments.length>2&&!0===arguments[2];if(!Ge&&0===le)return 0;for(var We=!1;;)switch(ve){case"ascii":case"latin1":case"binary":return le;case"utf8":case"utf-8":return Je(oe).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*le;case"hex":return le>>>1;case"base64":return he(oe).length;default:if(We)return Ge?-1:Je(oe).length;ve=(""+ve).toLowerCase(),We=!0}}function ie(oe,ve,le){var Ge=!1;if((void 0===ve||ve<0)&&(ve=0),ve>this.length||((void 0===le||le>this.length)&&(le=this.length),le<=0)||(le>>>=0)<=(ve>>>=0))return"";for(oe||(oe="utf8");;)switch(oe){case"hex":return v(this,ve,le);case"utf8":case"utf-8":return f(this,ve,le);case"ascii":return D(this,ve,le);case"latin1":case"binary":return O(this,ve,le);case"base64":return s(this,ve,le);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r(this,ve,le);default:if(Ge)throw new TypeError("Unknown encoding: "+oe);oe=(oe+"").toLowerCase(),Ge=!0}}function ae(oe,ve,le){var Ge=oe[ve];oe[ve]=oe[le],oe[le]=Ge}function fe(oe,ve,le,Ge,We){if(0===oe.length)return-1;if("string"==typeof le?(Ge=le,le=0):le>2147483647?le=2147483647:le<-2147483648&&(le=-2147483648),ge(le=+le)&&(le=We?0:oe.length-1),le<0&&(le=oe.length+le),le>=oe.length){if(We)return-1;le=oe.length-1}else if(le<0){if(!We)return-1;le=0}if("string"==typeof ve&&(ve=m.from(ve,Ge)),m.isBuffer(ve))return 0===ve.length?-1:se(oe,ve,le,Ge,We);if("number"==typeof ve)return ve&=255,"function"==typeof Uint8Array.prototype.indexOf?We?Uint8Array.prototype.indexOf.call(oe,ve,le):Uint8Array.prototype.lastIndexOf.call(oe,ve,le):se(oe,[ve],le,Ge,We);throw new TypeError("val must be string, number or Buffer")}function se(oe,ve,le,Ge,We){var Be,wt=1,mt=oe.length,kt=ve.length;if(void 0!==Ge&&("ucs2"===(Ge=String(Ge).toLowerCase())||"ucs-2"===Ge||"utf16le"===Ge||"utf-16le"===Ge)){if(oe.length<2||ve.length<2)return-1;wt=2,mt/=2,kt/=2,le/=2}function Ae(st,Ke){return 1===wt?st[Ke]:st.readUInt16BE(Ke*wt)}if(We){var it=-1;for(Be=le;Be<mt;Be++)if(Ae(oe,Be)===Ae(ve,-1===it?0:Be-it)){if(-1===it&&(it=Be),Be-it+1===kt)return it*wt}else-1!==it&&(Be-=Be-it),it=-1}else for(le+kt>mt&&(le=mt-kt),Be=le;Be>=0;Be--){for(var $e=!0,ke=0;ke<kt;ke++)if(Ae(oe,Be+ke)!==Ae(ve,ke)){$e=!1;break}if($e)return Be}return-1}function Me(oe,ve,le,Ge){le=Number(le)||0;var We=oe.length-le;Ge?(Ge=Number(Ge))>We&&(Ge=We):Ge=We;var wt=ve.length;Ge>wt/2&&(Ge=wt/2);for(var mt=0;mt<Ge;++mt){var kt=parseInt(ve.substr(2*mt,2),16);if(ge(kt))return mt;oe[le+mt]=kt}return mt}function $(oe,ve,le,Ge){return xe(Je(ve,oe.length-le),oe,le,Ge)}function ue(oe,ve,le,Ge){return xe(function ye(oe){for(var ve=[],le=0;le<oe.length;++le)ve.push(255&oe.charCodeAt(le));return ve}(ve),oe,le,Ge)}function S(oe,ve,le,Ge){return xe(he(ve),oe,le,Ge)}function n(oe,ve,le,Ge){return xe(function me(oe,ve){for(var le,Ge,wt=[],mt=0;mt<oe.length&&!((ve-=2)<0);++mt)Ge=(le=oe.charCodeAt(mt))>>8,wt.push(le%256),wt.push(Ge);return wt}(ve,oe.length-le),oe,le,Ge)}function s(oe,ve,le){return e.fromByteArray(0===ve&&le===oe.length?oe:oe.slice(ve,le))}function f(oe,ve,le){le=Math.min(oe.length,le);for(var Ge=[],We=ve;We<le;){var Ae,Be,it,$e,wt=oe[We],mt=null,kt=wt>239?4:wt>223?3:wt>191?2:1;if(We+kt<=le)switch(kt){case 1:wt<128&&(mt=wt);break;case 2:128==(192&(Ae=oe[We+1]))&&($e=(31&wt)<<6|63&Ae)>127&&(mt=$e);break;case 3:Be=oe[We+2],128==(192&(Ae=oe[We+1]))&&128==(192&Be)&&($e=(15&wt)<<12|(63&Ae)<<6|63&Be)>2047&&($e<55296||$e>57343)&&(mt=$e);break;case 4:Be=oe[We+2],it=oe[We+3],128==(192&(Ae=oe[We+1]))&&128==(192&Be)&&128==(192&it)&&($e=(15&wt)<<18|(63&Ae)<<12|(63&Be)<<6|63&it)>65535&&$e<1114112&&(mt=$e)}null===mt?(mt=65533,kt=1):mt>65535&&(Ge.push((mt-=65536)>>>10&1023|55296),mt=56320|1023&mt),Ge.push(mt),We+=kt}return function w(oe){var ve=oe.length;if(ve<=h)return String.fromCharCode.apply(String,oe);for(var le="",Ge=0;Ge<ve;)le+=String.fromCharCode.apply(String,oe.slice(Ge,Ge+=h));return le}(Ge)}q.kMaxLength=A,!(m.TYPED_ARRAY_SUPPORT=function l(){try{var oe=new Uint8Array(1),ve={foo:function(){return 42}};return Object.setPrototypeOf(ve,Uint8Array.prototype),Object.setPrototypeOf(oe,ve),42===oe.foo()}catch{return!1}}())&&typeof console<"u"&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(m.prototype,"parent",{enumerable:!0,get:function(){if(m.isBuffer(this))return this.buffer}}),Object.defineProperty(m.prototype,"offset",{enumerable:!0,get:function(){if(m.isBuffer(this))return this.byteOffset}}),m.poolSize=8192,m.from=function(oe,ve,le){return P(oe,ve,le)},Object.setPrototypeOf(m.prototype,Uint8Array.prototype),Object.setPrototypeOf(m,Uint8Array),m.alloc=function(oe,ve,le){return function E(oe,ve,le){return d(oe),oe<=0?x(oe):void 0!==ve?"string"==typeof le?x(oe).fill(ve,le):x(oe).fill(ve):x(oe)}(oe,ve,le)},m.allocUnsafe=function(oe){return M(oe)},m.allocUnsafeSlow=function(oe){return M(oe)},m.isBuffer=function(ve){return null!=ve&&!0===ve._isBuffer&&ve!==m.prototype},m.compare=function(ve,le){if(de(ve,Uint8Array)&&(ve=m.from(ve,ve.offset,ve.byteLength)),de(le,Uint8Array)&&(le=m.from(le,le.offset,le.byteLength)),!m.isBuffer(ve)||!m.isBuffer(le))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ve===le)return 0;for(var Ge=ve.length,We=le.length,wt=0,mt=Math.min(Ge,We);wt<mt;++wt)if(ve[wt]!==le[wt]){Ge=ve[wt],We=le[wt];break}return Ge<We?-1:We<Ge?1:0},m.isEncoding=function(ve){switch(String(ve).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}},m.concat=function(ve,le){if(!Array.isArray(ve))throw new TypeError('"list" argument must be an Array of Buffers');if(0===ve.length)return m.alloc(0);var Ge;if(void 0===le)for(le=0,Ge=0;Ge<ve.length;++Ge)le+=ve[Ge].length;var We=m.allocUnsafe(le),wt=0;for(Ge=0;Ge<ve.length;++Ge){var mt=ve[Ge];if(de(mt,Uint8Array))wt+mt.length>We.length?m.from(mt).copy(We,wt):Uint8Array.prototype.set.call(We,mt,wt);else{if(!m.isBuffer(mt))throw new TypeError('"list" argument must be an Array of Buffers');mt.copy(We,wt)}wt+=mt.length}return We},m.byteLength=X,m.prototype._isBuffer=!0,m.prototype.swap16=function(){var ve=this.length;if(ve%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var le=0;le<ve;le+=2)ae(this,le,le+1);return this},m.prototype.swap32=function(){var ve=this.length;if(ve%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var le=0;le<ve;le+=4)ae(this,le,le+3),ae(this,le+1,le+2);return this},m.prototype.swap64=function(){var ve=this.length;if(ve%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var le=0;le<ve;le+=8)ae(this,le,le+7),ae(this,le+1,le+6),ae(this,le+2,le+5),ae(this,le+3,le+4);return this},m.prototype.toLocaleString=m.prototype.toString=function(){var ve=this.length;return 0===ve?"":0===arguments.length?f(this,0,ve):ie.apply(this,arguments)},m.prototype.equals=function(ve){if(!m.isBuffer(ve))throw new TypeError("Argument must be a Buffer");return this===ve||0===m.compare(this,ve)},m.prototype.inspect=function(){var ve="",le=q.INSPECT_MAX_BYTES;return ve=this.toString("hex",0,le).replace(/(.{2})/g,"$1 ").trim(),this.length>le&&(ve+=" ... "),"<Buffer "+ve+">"},y&&(m.prototype[y]=m.prototype.inspect),m.prototype.compare=function(ve,le,Ge,We,wt){if(de(ve,Uint8Array)&&(ve=m.from(ve,ve.offset,ve.byteLength)),!m.isBuffer(ve))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof ve);if(void 0===le&&(le=0),void 0===Ge&&(Ge=ve?ve.length:0),void 0===We&&(We=0),void 0===wt&&(wt=this.length),le<0||Ge>ve.length||We<0||wt>this.length)throw new RangeError("out of range index");if(We>=wt&&le>=Ge)return 0;if(We>=wt)return-1;if(le>=Ge)return 1;if(this===ve)return 0;for(var mt=(wt>>>=0)-(We>>>=0),kt=(Ge>>>=0)-(le>>>=0),Ae=Math.min(mt,kt),Be=this.slice(We,wt),it=ve.slice(le,Ge),$e=0;$e<Ae;++$e)if(Be[$e]!==it[$e]){mt=Be[$e],kt=it[$e];break}return mt<kt?-1:kt<mt?1:0},m.prototype.includes=function(ve,le,Ge){return-1!==this.indexOf(ve,le,Ge)},m.prototype.indexOf=function(ve,le,Ge){return fe(this,ve,le,Ge,!0)},m.prototype.lastIndexOf=function(ve,le,Ge){return fe(this,ve,le,Ge,!1)},m.prototype.write=function(ve,le,Ge,We){if(void 0===le)We="utf8",Ge=this.length,le=0;else if(void 0===Ge&&"string"==typeof le)We=le,Ge=this.length,le=0;else{if(!isFinite(le))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");le>>>=0,isFinite(Ge)?(Ge>>>=0,void 0===We&&(We="utf8")):(We=Ge,Ge=void 0)}var wt=this.length-le;if((void 0===Ge||Ge>wt)&&(Ge=wt),ve.length>0&&(Ge<0||le<0)||le>this.length)throw new RangeError("Attempt to write outside buffer bounds");We||(We="utf8");for(var mt=!1;;)switch(We){case"hex":return Me(this,ve,le,Ge);case"utf8":case"utf-8":return $(this,ve,le,Ge);case"ascii":case"latin1":case"binary":return ue(this,ve,le,Ge);case"base64":return S(this,ve,le,Ge);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n(this,ve,le,Ge);default:if(mt)throw new TypeError("Unknown encoding: "+We);We=(""+We).toLowerCase(),mt=!0}},m.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var h=4096;function D(oe,ve,le){var Ge="";le=Math.min(oe.length,le);for(var We=ve;We<le;++We)Ge+=String.fromCharCode(127&oe[We]);return Ge}function O(oe,ve,le){var Ge="";le=Math.min(oe.length,le);for(var We=ve;We<le;++We)Ge+=String.fromCharCode(oe[We]);return Ge}function v(oe,ve,le){var Ge=oe.length;(!ve||ve<0)&&(ve=0),(!le||le<0||le>Ge)&&(le=Ge);for(var We="",wt=ve;wt<le;++wt)We+=qe[oe[wt]];return We}function r(oe,ve,le){for(var Ge=oe.slice(ve,le),We="",wt=0;wt<Ge.length-1;wt+=2)We+=String.fromCharCode(Ge[wt]+256*Ge[wt+1]);return We}function g(oe,ve,le){if(oe%1!=0||oe<0)throw new RangeError("offset is not uint");if(oe+ve>le)throw new RangeError("Trying to access beyond buffer length")}function H(oe,ve,le,Ge,We,wt){if(!m.isBuffer(oe))throw new TypeError('"buffer" argument must be a Buffer instance');if(ve>We||ve<wt)throw new RangeError('"value" argument is out of bounds');if(le+Ge>oe.length)throw new RangeError("Index out of range")}function N(oe,ve,le,Ge,We,wt){if(le+Ge>oe.length)throw new RangeError("Index out of range");if(le<0)throw new RangeError("Index out of range")}function ee(oe,ve,le,Ge,We){return ve=+ve,le>>>=0,We||N(oe,0,le,4),t.write(oe,ve,le,Ge,23,4),le+4}function De(oe,ve,le,Ge,We){return ve=+ve,le>>>=0,We||N(oe,0,le,8),t.write(oe,ve,le,Ge,52,8),le+8}m.prototype.slice=function(ve,le){var Ge=this.length;(ve=~~ve)<0?(ve+=Ge)<0&&(ve=0):ve>Ge&&(ve=Ge),(le=void 0===le?Ge:~~le)<0?(le+=Ge)<0&&(le=0):le>Ge&&(le=Ge),le<ve&&(le=ve);var We=this.subarray(ve,le);return Object.setPrototypeOf(We,m.prototype),We},m.prototype.readUintLE=m.prototype.readUIntLE=function(ve,le,Ge){ve>>>=0,le>>>=0,Ge||g(ve,le,this.length);for(var We=this[ve],wt=1,mt=0;++mt<le&&(wt*=256);)We+=this[ve+mt]*wt;return We},m.prototype.readUintBE=m.prototype.readUIntBE=function(ve,le,Ge){ve>>>=0,le>>>=0,Ge||g(ve,le,this.length);for(var We=this[ve+--le],wt=1;le>0&&(wt*=256);)We+=this[ve+--le]*wt;return We},m.prototype.readUint8=m.prototype.readUInt8=function(ve,le){return ve>>>=0,le||g(ve,1,this.length),this[ve]},m.prototype.readUint16LE=m.prototype.readUInt16LE=function(ve,le){return ve>>>=0,le||g(ve,2,this.length),this[ve]|this[ve+1]<<8},m.prototype.readUint16BE=m.prototype.readUInt16BE=function(ve,le){return ve>>>=0,le||g(ve,2,this.length),this[ve]<<8|this[ve+1]},m.prototype.readUint32LE=m.prototype.readUInt32LE=function(ve,le){return ve>>>=0,le||g(ve,4,this.length),(this[ve]|this[ve+1]<<8|this[ve+2]<<16)+16777216*this[ve+3]},m.prototype.readUint32BE=m.prototype.readUInt32BE=function(ve,le){return ve>>>=0,le||g(ve,4,this.length),16777216*this[ve]+(this[ve+1]<<16|this[ve+2]<<8|this[ve+3])},m.prototype.readIntLE=function(ve,le,Ge){ve>>>=0,le>>>=0,Ge||g(ve,le,this.length);for(var We=this[ve],wt=1,mt=0;++mt<le&&(wt*=256);)We+=this[ve+mt]*wt;return We>=(wt*=128)&&(We-=Math.pow(2,8*le)),We},m.prototype.readIntBE=function(ve,le,Ge){ve>>>=0,le>>>=0,Ge||g(ve,le,this.length);for(var We=le,wt=1,mt=this[ve+--We];We>0&&(wt*=256);)mt+=this[ve+--We]*wt;return mt>=(wt*=128)&&(mt-=Math.pow(2,8*le)),mt},m.prototype.readInt8=function(ve,le){return ve>>>=0,le||g(ve,1,this.length),128&this[ve]?-1*(255-this[ve]+1):this[ve]},m.prototype.readInt16LE=function(ve,le){ve>>>=0,le||g(ve,2,this.length);var Ge=this[ve]|this[ve+1]<<8;return 32768&Ge?4294901760|Ge:Ge},m.prototype.readInt16BE=function(ve,le){ve>>>=0,le||g(ve,2,this.length);var Ge=this[ve+1]|this[ve]<<8;return 32768&Ge?4294901760|Ge:Ge},m.prototype.readInt32LE=function(ve,le){return ve>>>=0,le||g(ve,4,this.length),this[ve]|this[ve+1]<<8|this[ve+2]<<16|this[ve+3]<<24},m.prototype.readInt32BE=function(ve,le){return ve>>>=0,le||g(ve,4,this.length),this[ve]<<24|this[ve+1]<<16|this[ve+2]<<8|this[ve+3]},m.prototype.readFloatLE=function(ve,le){return ve>>>=0,le||g(ve,4,this.length),t.read(this,ve,!0,23,4)},m.prototype.readFloatBE=function(ve,le){return ve>>>=0,le||g(ve,4,this.length),t.read(this,ve,!1,23,4)},m.prototype.readDoubleLE=function(ve,le){return ve>>>=0,le||g(ve,8,this.length),t.read(this,ve,!0,52,8)},m.prototype.readDoubleBE=function(ve,le){return ve>>>=0,le||g(ve,8,this.length),t.read(this,ve,!1,52,8)},m.prototype.writeUintLE=m.prototype.writeUIntLE=function(ve,le,Ge,We){ve=+ve,le>>>=0,Ge>>>=0,We||H(this,ve,le,Ge,Math.pow(2,8*Ge)-1,0);var mt=1,kt=0;for(this[le]=255&ve;++kt<Ge&&(mt*=256);)this[le+kt]=ve/mt&255;return le+Ge},m.prototype.writeUintBE=m.prototype.writeUIntBE=function(ve,le,Ge,We){ve=+ve,le>>>=0,Ge>>>=0,We||H(this,ve,le,Ge,Math.pow(2,8*Ge)-1,0);var mt=Ge-1,kt=1;for(this[le+mt]=255&ve;--mt>=0&&(kt*=256);)this[le+mt]=ve/kt&255;return le+Ge},m.prototype.writeUint8=m.prototype.writeUInt8=function(ve,le,Ge){return ve=+ve,le>>>=0,Ge||H(this,ve,le,1,255,0),this[le]=255&ve,le+1},m.prototype.writeUint16LE=m.prototype.writeUInt16LE=function(ve,le,Ge){return ve=+ve,le>>>=0,Ge||H(this,ve,le,2,65535,0),this[le]=255&ve,this[le+1]=ve>>>8,le+2},m.prototype.writeUint16BE=m.prototype.writeUInt16BE=function(ve,le,Ge){return ve=+ve,le>>>=0,Ge||H(this,ve,le,2,65535,0),this[le]=ve>>>8,this[le+1]=255&ve,le+2},m.prototype.writeUint32LE=m.prototype.writeUInt32LE=function(ve,le,Ge){return ve=+ve,le>>>=0,Ge||H(this,ve,le,4,4294967295,0),this[le+3]=ve>>>24,this[le+2]=ve>>>16,this[le+1]=ve>>>8,this[le]=255&ve,le+4},m.prototype.writeUint32BE=m.prototype.writeUInt32BE=function(ve,le,Ge){return ve=+ve,le>>>=0,Ge||H(this,ve,le,4,4294967295,0),this[le]=ve>>>24,this[le+1]=ve>>>16,this[le+2]=ve>>>8,this[le+3]=255&ve,le+4},m.prototype.writeIntLE=function(ve,le,Ge,We){if(ve=+ve,le>>>=0,!We){var wt=Math.pow(2,8*Ge-1);H(this,ve,le,Ge,wt-1,-wt)}var mt=0,kt=1,Ae=0;for(this[le]=255&ve;++mt<Ge&&(kt*=256);)ve<0&&0===Ae&&0!==this[le+mt-1]&&(Ae=1),this[le+mt]=(ve/kt>>0)-Ae&255;return le+Ge},m.prototype.writeIntBE=function(ve,le,Ge,We){if(ve=+ve,le>>>=0,!We){var wt=Math.pow(2,8*Ge-1);H(this,ve,le,Ge,wt-1,-wt)}var mt=Ge-1,kt=1,Ae=0;for(this[le+mt]=255&ve;--mt>=0&&(kt*=256);)ve<0&&0===Ae&&0!==this[le+mt+1]&&(Ae=1),this[le+mt]=(ve/kt>>0)-Ae&255;return le+Ge},m.prototype.writeInt8=function(ve,le,Ge){return ve=+ve,le>>>=0,Ge||H(this,ve,le,1,127,-128),ve<0&&(ve=255+ve+1),this[le]=255&ve,le+1},m.prototype.writeInt16LE=function(ve,le,Ge){return ve=+ve,le>>>=0,Ge||H(this,ve,le,2,32767,-32768),this[le]=255&ve,this[le+1]=ve>>>8,le+2},m.prototype.writeInt16BE=function(ve,le,Ge){return ve=+ve,le>>>=0,Ge||H(this,ve,le,2,32767,-32768),this[le]=ve>>>8,this[le+1]=255&ve,le+2},m.prototype.writeInt32LE=function(ve,le,Ge){return ve=+ve,le>>>=0,Ge||H(this,ve,le,4,2147483647,-2147483648),this[le]=255&ve,this[le+1]=ve>>>8,this[le+2]=ve>>>16,this[le+3]=ve>>>24,le+4},m.prototype.writeInt32BE=function(ve,le,Ge){return ve=+ve,le>>>=0,Ge||H(this,ve,le,4,2147483647,-2147483648),ve<0&&(ve=4294967295+ve+1),this[le]=ve>>>24,this[le+1]=ve>>>16,this[le+2]=ve>>>8,this[le+3]=255&ve,le+4},m.prototype.writeFloatLE=function(ve,le,Ge){return ee(this,ve,le,!0,Ge)},m.prototype.writeFloatBE=function(ve,le,Ge){return ee(this,ve,le,!1,Ge)},m.prototype.writeDoubleLE=function(ve,le,Ge){return De(this,ve,le,!0,Ge)},m.prototype.writeDoubleBE=function(ve,le,Ge){return De(this,ve,le,!1,Ge)},m.prototype.copy=function(ve,le,Ge,We){if(!m.isBuffer(ve))throw new TypeError("argument should be a Buffer");if(Ge||(Ge=0),!We&&0!==We&&(We=this.length),le>=ve.length&&(le=ve.length),le||(le=0),We>0&&We<Ge&&(We=Ge),We===Ge||0===ve.length||0===this.length)return 0;if(le<0)throw new RangeError("targetStart out of bounds");if(Ge<0||Ge>=this.length)throw new RangeError("Index out of range");if(We<0)throw new RangeError("sourceEnd out of bounds");We>this.length&&(We=this.length),ve.length-le<We-Ge&&(We=ve.length-le+Ge);var wt=We-Ge;return this===ve&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(le,Ge,We):Uint8Array.prototype.set.call(ve,this.subarray(Ge,We),le),wt},m.prototype.fill=function(ve,le,Ge,We){if("string"==typeof ve){if("string"==typeof le?(We=le,le=0,Ge=this.length):"string"==typeof Ge&&(We=Ge,Ge=this.length),void 0!==We&&"string"!=typeof We)throw new TypeError("encoding must be a string");if("string"==typeof We&&!m.isEncoding(We))throw new TypeError("Unknown encoding: "+We);if(1===ve.length){var wt=ve.charCodeAt(0);("utf8"===We&&wt<128||"latin1"===We)&&(ve=wt)}}else"number"==typeof ve?ve&=255:"boolean"==typeof ve&&(ve=Number(ve));if(le<0||this.length<le||this.length<Ge)throw new RangeError("Out of range index");if(Ge<=le)return this;var mt;if(le>>>=0,Ge=void 0===Ge?this.length:Ge>>>0,ve||(ve=0),"number"==typeof ve)for(mt=le;mt<Ge;++mt)this[mt]=ve;else{var kt=m.isBuffer(ve)?ve:m.from(ve,We),Ae=kt.length;if(0===Ae)throw new TypeError('The value "'+ve+'" is invalid for argument "value"');for(mt=0;mt<Ge-le;++mt)this[mt+le]=kt[mt%Ae]}return this};var ot=/[^+/0-9A-Za-z-_]/g;function Je(oe,ve){ve=ve||1/0;for(var le,Ge=oe.length,We=null,wt=[],mt=0;mt<Ge;++mt){if((le=oe.charCodeAt(mt))>55295&&le<57344){if(!We){if(le>56319){(ve-=3)>-1&&wt.push(239,191,189);continue}if(mt+1===Ge){(ve-=3)>-1&&wt.push(239,191,189);continue}We=le;continue}if(le<56320){(ve-=3)>-1&&wt.push(239,191,189),We=le;continue}le=65536+(We-55296<<10|le-56320)}else We&&(ve-=3)>-1&&wt.push(239,191,189);if(We=null,le<128){if((ve-=1)<0)break;wt.push(le)}else if(le<2048){if((ve-=2)<0)break;wt.push(le>>6|192,63&le|128)}else if(le<65536){if((ve-=3)<0)break;wt.push(le>>12|224,le>>6&63|128,63&le|128)}else{if(!(le<1114112))throw new Error("Invalid code point");if((ve-=4)<0)break;wt.push(le>>18|240,le>>12&63|128,le>>6&63|128,63&le|128)}}return wt}function he(oe){return e.toByteArray(function je(oe){if((oe=(oe=oe.split("=")[0]).trim().replace(ot,"")).length<2)return"";for(;oe.length%4!=0;)oe+="=";return oe}(oe))}function xe(oe,ve,le,Ge){for(var We=0;We<Ge&&!(We+le>=ve.length||We>=oe.length);++We)ve[We+le]=oe[We];return We}function de(oe,ve){return oe instanceof ve||null!=oe&&null!=oe.constructor&&null!=oe.constructor.name&&oe.constructor.name===ve.name}function ge(oe){return oe!=oe}var qe=function(){for(var oe="0123456789abcdef",ve=new Array(256),le=0;le<16;++le)for(var Ge=16*le,We=0;We<16;++We)ve[Ge+We]=oe[le]+oe[We];return ve}()},6420:(ze,q,p)=>{var e=p(843).Buffer,t=p(1793).Transform,y=p(2024).s;function l(x){t.call(this),this.hashMode="string"==typeof x,this.hashMode?this[x]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}p(6698)(l,t),l.prototype.update=function(x,m,P){"string"==typeof x&&(x=e.from(x,m));var d=this._update(x);return this.hashMode?this:(P&&(d=this._toString(d,P)),d)},l.prototype.setAutoPadding=function(){},l.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},l.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},l.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},l.prototype._transform=function(x,m,P){var d;try{this.hashMode?this._update(x):this.push(this._update(x))}catch(E){d=E}finally{P(d)}},l.prototype._flush=function(x){var m;try{this.push(this.__final())}catch(P){m=P}x(m)},l.prototype._finalOrDigest=function(x){var m=this.__final()||e.alloc(0);return x&&(m=this._toString(m,x,!0)),m},l.prototype._toString=function(x,m,P){if(this._decoder||(this._decoder=new y(m),this._encoding=m),this._encoding!==m)throw new Error("can't switch encodings");var d=this._decoder.write(x);return P&&(d+=this._decoder.end()),d},ze.exports=l},188:function(ze){!function(q){"use strict";var p={bytesToHex:function(y){return function e(y){return y.map(function(A){return function t(y,A){return y.length>A?y:Array(A-y.length+1).join("0")+y}(A.toString(16),2)}).join("")}(y)},hexToBytes:function(y){if(y.length%2==1)throw new Error("hexToBytes can't have a string with an odd number of characters.");return 0===y.indexOf("0x")&&(y=y.slice(2)),y.match(/../g).map(function(A){return parseInt(A,16)})}};ze.exports?ze.exports=p:q.convertHex=p}(this)},5486:function(ze){!function(q){"use strict";var p={bytesToString:function(e){return e.map(function(t){return String.fromCharCode(t)}).join("")},stringToBytes:function(e){return e.split("").map(function(t){return t.charCodeAt(0)})}};p.UTF8={bytesToString:function(e){return decodeURIComponent(escape(p.bytesToString(e)))},stringToBytes:function(e){return p.stringToBytes(unescape(encodeURIComponent(e)))}},ze.exports?ze.exports=p:q.convertString=p}(this)},8840:(ze,q,p)=>{var e=p(8651),t=p(3185);ze.exports=function(m){return new A(m)};var y={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function A(x){this.curveType=y[x],this.curveType||(this.curveType={name:x}),this.curve=new e.ec(this.curveType.name),this.keys=void 0}function l(x,m,P){Array.isArray(x)||(x=x.toArray());var d=new Buffer(x);if(P&&d.length<P){var E=new Buffer(P-d.length);E.fill(0),d=Buffer.concat([E,d])}return m?d.toString(m):d}y.p224=y.secp224r1,y.p256=y.secp256r1=y.prime256v1,y.p192=y.secp192r1=y.prime192v1,y.p384=y.secp384r1,y.p521=y.secp521r1,A.prototype.generateKeys=function(x,m){return this.keys=this.curve.genKeyPair(),this.getPublicKey(x,m)},A.prototype.computeSecret=function(x,m,P){return m=m||"utf8",Buffer.isBuffer(x)||(x=new Buffer(x,m)),l(this.curve.keyFromPublic(x).getPublic().mul(this.keys.getPrivate()).getX(),P,this.curveType.byteLength)},A.prototype.getPublicKey=function(x,m){var P=this.keys.getPublic("compressed"===m,!0);return"hybrid"===m&&(P[0]=P[P.length-1]%2?7:6),l(P,x)},A.prototype.getPrivateKey=function(x){return l(this.keys.getPrivate(),x)},A.prototype.setPublicKey=function(x,m){return m=m||"utf8",Buffer.isBuffer(x)||(x=new Buffer(x,m)),this.keys._importPublic(x),this},A.prototype.setPrivateKey=function(x,m){m=m||"utf8",Buffer.isBuffer(x)||(x=new Buffer(x,m));var P=new t(x);return P=P.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(P),this}},3185:function(ze,q,p){!function(e,t){"use strict";function y(S,n){if(!S)throw new Error(n||"Assertion failed")}function A(S,n){S.super_=n;var s=function(){};s.prototype=n.prototype,S.prototype=new s,S.prototype.constructor=S}function l(S,n,s){if(l.isBN(S))return S;this.negative=0,this.words=null,this.length=0,this.red=null,null!==S&&(("le"===n||"be"===n)&&(s=n,n=10),this._init(S||0,n||10,s||"be"))}var x;"object"==typeof e?e.exports=l:t.BN=l,l.BN=l,l.wordSize=26;try{x=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:p(8623).Buffer}catch{}function m(S,n){var s=S.charCodeAt(n);return s>=65&&s<=70?s-55:s>=97&&s<=102?s-87:s-48&15}function P(S,n,s){var f=m(S,s);return s-1>=n&&(f|=m(S,s-1)<<4),f}function d(S,n,s,f){for(var h=0,w=Math.min(S.length,s),D=n;D<w;D++){var O=S.charCodeAt(D)-48;h*=f,h+=O>=49?O-49+10:O>=17?O-17+10:O}return h}l.isBN=function(n){return n instanceof l||null!==n&&"object"==typeof n&&n.constructor.wordSize===l.wordSize&&Array.isArray(n.words)},l.max=function(n,s){return n.cmp(s)>0?n:s},l.min=function(n,s){return n.cmp(s)<0?n:s},l.prototype._init=function(n,s,f){if("number"==typeof n)return this._initNumber(n,s,f);if("object"==typeof n)return this._initArray(n,s,f);"hex"===s&&(s=16),y(s===(0|s)&&s>=2&&s<=36);var h=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h<n.length&&(16===s?this._parseHex(n,h,f):(this._parseBase(n,s,h),"le"===f&&this._initArray(this.toArray(),s,f)))},l.prototype._initNumber=function(n,s,f){n<0&&(this.negative=1,n=-n),n<67108864?(this.words=[67108863&n],this.length=1):n<4503599627370496?(this.words=[67108863&n,n/67108864&67108863],this.length=2):(y(n<9007199254740992),this.words=[67108863&n,n/67108864&67108863,1],this.length=3),"le"===f&&this._initArray(this.toArray(),s,f)},l.prototype._initArray=function(n,s,f){if(y("number"==typeof n.length),n.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(n.length/3),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var w,D,O=0;if("be"===f)for(h=n.length-1,w=0;h>=0;h-=3)this.words[w]|=(D=n[h]|n[h-1]<<8|n[h-2]<<16)<<O&67108863,this.words[w+1]=D>>>26-O&67108863,(O+=24)>=26&&(O-=26,w++);else if("le"===f)for(h=0,w=0;h<n.length;h+=3)this.words[w]|=(D=n[h]|n[h+1]<<8|n[h+2]<<16)<<O&67108863,this.words[w+1]=D>>>26-O&67108863,(O+=24)>=26&&(O-=26,w++);return this.strip()},l.prototype._parseHex=function(n,s,f){this.length=Math.ceil((n.length-s)/6),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var O,w=0,D=0;if("be"===f)for(h=n.length-1;h>=s;h-=2)O=P(n,s,h)<<w,this.words[D]|=67108863&O,w>=18?(w-=18,this.words[D+=1]|=O>>>26):w+=8;else for(h=(n.length-s)%2==0?s+1:s;h<n.length;h+=2)O=P(n,s,h)<<w,this.words[D]|=67108863&O,w>=18?(w-=18,this.words[D+=1]|=O>>>26):w+=8;this.strip()},l.prototype._parseBase=function(n,s,f){this.words=[0],this.length=1;for(var h=0,w=1;w<=67108863;w*=s)h++;h--,w=w/s|0;for(var D=n.length-f,O=D%h,v=Math.min(D,D-O)+f,r=0,g=f;g<v;g+=h)r=d(n,g,g+h,s),this.imuln(w),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r);if(0!==O){var H=1;for(r=d(n,g,n.length,s),g=0;g<O;g++)H*=s;this.imuln(H),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r)}this.strip()},l.prototype.copy=function(n){n.words=new Array(this.length);for(var s=0;s<this.length;s++)n.words[s]=this.words[s];n.length=this.length,n.negative=this.negative,n.red=this.red},l.prototype.clone=function(){var n=new l(null);return this.copy(n),n},l.prototype._expand=function(n){for(;this.length<n;)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 E=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],M=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],I=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function V(S,n,s){s.negative=n.negative^S.negative;var f=S.length+n.length|0;s.length=f,f=f-1|0;var h=0|S.words[0],w=0|n.words[0],D=h*w,v=D/67108864|0;s.words[0]=67108863&D;for(var r=1;r<f;r++){for(var g=v>>>26,H=67108863&v,N=Math.min(r,n.length-1),ee=Math.max(0,r-S.length+1);ee<=N;ee++)g+=(D=(h=0|S.words[r-ee|0])*(w=0|n.words[ee])+H)/67108864|0,H=67108863&D;s.words[r]=0|H,v=0|g}return 0!==v?s.words[r]=0|v:s.length--,s.strip()}l.prototype.toString=function(n,s){var f;if(s=0|s||1,16===(n=n||10)||"hex"===n){f="";for(var h=0,w=0,D=0;D<this.length;D++){var O=this.words[D],v=(16777215&(O<<h|w)).toString(16);f=0!=(w=O>>>24-h&16777215)||D!==this.length-1?E[6-v.length]+v+f:v+f,(h+=2)>=26&&(h-=26,D--)}for(0!==w&&(f=w.toString(16)+f);f.length%s!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}if(n===(0|n)&&n>=2&&n<=36){var r=M[n],g=I[n];f="";var H=this.clone();for(H.negative=0;!H.isZero();){var N=H.modn(g).toString(n);f=(H=H.idivn(g)).isZero()?N+f:E[r-N.length]+N+f}for(this.isZero()&&(f="0"+f);f.length%s!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}y(!1,"Base should be between 2 and 36")},l.prototype.toNumber=function(){var n=this.words[0];return 2===this.length?n+=67108864*this.words[1]:3===this.length&&1===this.words[2]?n+=4503599627370496+67108864*this.words[1]:this.length>2&&y(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-n:n},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(n,s){return y(typeof x<"u"),this.toArrayLike(x,n,s)},l.prototype.toArray=function(n,s){return this.toArrayLike(Array,n,s)},l.prototype.toArrayLike=function(n,s,f){var h=this.byteLength(),w=f||Math.max(1,h);y(h<=w,"byte array longer than desired length"),y(w>0,"Requested array length <= 0"),this.strip();var v,r,D="le"===s,O=new n(w),g=this.clone();if(D){for(r=0;!g.isZero();r++)v=g.andln(255),g.iushrn(8),O[r]=v;for(;r<w;r++)O[r]=0}else{for(r=0;r<w-h;r++)O[r]=0;for(r=0;!g.isZero();r++)v=g.andln(255),g.iushrn(8),O[w-r-1]=v}return O},l.prototype._countBits=Math.clz32?function(n){return 32-Math.clz32(n)}:function(n){var s=n,f=0;return s>=4096&&(f+=13,s>>>=13),s>=64&&(f+=7,s>>>=7),s>=8&&(f+=4,s>>>=4),s>=2&&(f+=2,s>>>=2),f+s},l.prototype._zeroBits=function(n){if(0===n)return 26;var s=n,f=0;return 8191&s||(f+=13,s>>>=13),127&s||(f+=7,s>>>=7),15&s||(f+=4,s>>>=4),3&s||(f+=2,s>>>=2),1&s||f++,f},l.prototype.bitLength=function(){var s=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+s},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,s=0;s<this.length;s++){var f=this._zeroBits(this.words[s]);if(n+=f,26!==f)break}return n},l.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},l.prototype.toTwos=function(n){return 0!==this.negative?this.abs().inotn(n).iaddn(1):this.clone()},l.prototype.fromTwos=function(n){return this.testn(n-1)?this.notn(n).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(n){for(;this.length<n.length;)this.words[this.length++]=0;for(var s=0;s<n.length;s++)this.words[s]=this.words[s]|n.words[s];return this.strip()},l.prototype.ior=function(n){return y(0==(this.negative|n.negative)),this.iuor(n)},l.prototype.or=function(n){return this.length>n.length?this.clone().ior(n):n.clone().ior(this)},l.prototype.uor=function(n){return this.length>n.length?this.clone().iuor(n):n.clone().iuor(this)},l.prototype.iuand=function(n){var s;s=this.length>n.length?n:this;for(var f=0;f<s.length;f++)this.words[f]=this.words[f]&n.words[f];return this.length=s.length,this.strip()},l.prototype.iand=function(n){return y(0==(this.negative|n.negative)),this.iuand(n)},l.prototype.and=function(n){return this.length>n.length?this.clone().iand(n):n.clone().iand(this)},l.prototype.uand=function(n){return this.length>n.length?this.clone().iuand(n):n.clone().iuand(this)},l.prototype.iuxor=function(n){var s,f;this.length>n.length?(s=this,f=n):(s=n,f=this);for(var h=0;h<f.length;h++)this.words[h]=s.words[h]^f.words[h];if(this!==s)for(;h<s.length;h++)this.words[h]=s.words[h];return this.length=s.length,this.strip()},l.prototype.ixor=function(n){return y(0==(this.negative|n.negative)),this.iuxor(n)},l.prototype.xor=function(n){return this.length>n.length?this.clone().ixor(n):n.clone().ixor(this)},l.prototype.uxor=function(n){return this.length>n.length?this.clone().iuxor(n):n.clone().iuxor(this)},l.prototype.inotn=function(n){y("number"==typeof n&&n>=0);var s=0|Math.ceil(n/26),f=n%26;this._expand(s),f>0&&s--;for(var h=0;h<s;h++)this.words[h]=67108863&~this.words[h];return f>0&&(this.words[h]=~this.words[h]&67108863>>26-f),this.strip()},l.prototype.notn=function(n){return this.clone().inotn(n)},l.prototype.setn=function(n,s){y("number"==typeof n&&n>=0);var f=n/26|0,h=n%26;return this._expand(f+1),this.words[f]=s?this.words[f]|1<<h:this.words[f]&~(1<<h),this.strip()},l.prototype.iadd=function(n){var s,f,h;if(0!==this.negative&&0===n.negative)return this.negative=0,s=this.isub(n),this.negative^=1,this._normSign();if(0===this.negative&&0!==n.negative)return n.negative=0,s=this.isub(n),n.negative=1,s._normSign();this.length>n.length?(f=this,h=n):(f=n,h=this);for(var w=0,D=0;D<h.length;D++)this.words[D]=67108863&(s=(0|f.words[D])+(0|h.words[D])+w),w=s>>>26;for(;0!==w&&D<f.length;D++)this.words[D]=67108863&(s=(0|f.words[D])+w),w=s>>>26;if(this.length=f.length,0!==w)this.words[this.length]=w,this.length++;else if(f!==this)for(;D<f.length;D++)this.words[D]=f.words[D];return this},l.prototype.add=function(n){var s;return 0!==n.negative&&0===this.negative?(n.negative=0,s=this.sub(n),n.negative^=1,s):0===n.negative&&0!==this.negative?(this.negative=0,s=n.sub(this),this.negative=1,s):this.length>n.length?this.clone().iadd(n):n.clone().iadd(this)},l.prototype.isub=function(n){if(0!==n.negative){n.negative=0;var s=this.iadd(n);return n.negative=1,s._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var h,w,f=this.cmp(n);if(0===f)return this.negative=0,this.length=1,this.words[0]=0,this;f>0?(h=this,w=n):(h=n,w=this);for(var D=0,O=0;O<w.length;O++)D=(s=(0|h.words[O])-(0|w.words[O])+D)>>26,this.words[O]=67108863&s;for(;0!==D&&O<h.length;O++)D=(s=(0|h.words[O])+D)>>26,this.words[O]=67108863&s;if(0===D&&O<h.length&&h!==this)for(;O<h.length;O++)this.words[O]=h.words[O];return this.length=Math.max(this.length,O),h!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(n){return this.clone().isub(n)};var B=function(n,s,f){var v,r,g,h=n.words,w=s.words,D=f.words,O=0,H=0|h[0],N=8191&H,ee=H>>>13,De=0|h[1],ot=8191&De,je=De>>>13,Je=0|h[2],ye=8191&Je,me=Je>>>13,he=0|h[3],xe=8191&he,de=he>>>13,ge=0|h[4],qe=8191&ge,oe=ge>>>13,ve=0|h[5],le=8191&ve,Ge=ve>>>13,We=0|h[6],wt=8191&We,mt=We>>>13,kt=0|h[7],Ae=8191&kt,Be=kt>>>13,it=0|h[8],$e=8191&it,ke=it>>>13,st=0|h[9],Ke=8191&st,Et=st>>>13,ct=0|w[0],te=8191&ct,Pe=ct>>>13,$t=0|w[1],Ze=8191&$t,Qe=$t>>>13,zt=0|w[2],xt=8191&zt,Ot=zt>>>13,yt=0|w[3],nt=8191&yt,Ee=yt>>>13,tt=0|w[4],Ue=8191&tt,Xe=tt>>>13,gt=0|w[5],Le=8191&gt,be=gt>>>13,J=0|w[6],re=8191&J,Ie=J>>>13,Nt=0|w[7],At=8191&Nt,Zt=Nt>>>13,mi=0|w[8],Jt=8191&mi,Xt=mi>>>13,Hi=0|w[9],li=8191&Hi,hi=Hi>>>13;f.negative=n.negative^s.negative,f.length=19;var un=(O+(v=Math.imul(N,te))|0)+((8191&(r=(r=Math.imul(N,Pe))+Math.imul(ee,te)|0))<<13)|0;O=((g=Math.imul(ee,Pe))+(r>>>13)|0)+(un>>>26)|0,un&=67108863,v=Math.imul(ot,te),r=(r=Math.imul(ot,Pe))+Math.imul(je,te)|0,g=Math.imul(je,Pe);var Qi=(O+(v=v+Math.imul(N,Ze)|0)|0)+((8191&(r=(r=r+Math.imul(N,Qe)|0)+Math.imul(ee,Ze)|0))<<13)|0;O=((g=g+Math.imul(ee,Qe)|0)+(r>>>13)|0)+(Qi>>>26)|0,Qi&=67108863,v=Math.imul(ye,te),r=(r=Math.imul(ye,Pe))+Math.imul(me,te)|0,g=Math.imul(me,Pe),v=v+Math.imul(ot,Ze)|0,r=(r=r+Math.imul(ot,Qe)|0)+Math.imul(je,Ze)|0,g=g+Math.imul(je,Qe)|0;var xi=(O+(v=v+Math.imul(N,xt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ot)|0)+Math.imul(ee,xt)|0))<<13)|0;O=((g=g+Math.imul(ee,Ot)|0)+(r>>>13)|0)+(xi>>>26)|0,xi&=67108863,v=Math.imul(xe,te),r=(r=Math.imul(xe,Pe))+Math.imul(de,te)|0,g=Math.imul(de,Pe),v=v+Math.imul(ye,Ze)|0,r=(r=r+Math.imul(ye,Qe)|0)+Math.imul(me,Ze)|0,g=g+Math.imul(me,Qe)|0,v=v+Math.imul(ot,xt)|0,r=(r=r+Math.imul(ot,Ot)|0)+Math.imul(je,xt)|0,g=g+Math.imul(je,Ot)|0;var sn=(O+(v=v+Math.imul(N,nt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ee)|0)+Math.imul(ee,nt)|0))<<13)|0;O=((g=g+Math.imul(ee,Ee)|0)+(r>>>13)|0)+(sn>>>26)|0,sn&=67108863,v=Math.imul(qe,te),r=(r=Math.imul(qe,Pe))+Math.imul(oe,te)|0,g=Math.imul(oe,Pe),v=v+Math.imul(xe,Ze)|0,r=(r=r+Math.imul(xe,Qe)|0)+Math.imul(de,Ze)|0,g=g+Math.imul(de,Qe)|0,v=v+Math.imul(ye,xt)|0,r=(r=r+Math.imul(ye,Ot)|0)+Math.imul(me,xt)|0,g=g+Math.imul(me,Ot)|0,v=v+Math.imul(ot,nt)|0,r=(r=r+Math.imul(ot,Ee)|0)+Math.imul(je,nt)|0,g=g+Math.imul(je,Ee)|0;var at=(O+(v=v+Math.imul(N,Ue)|0)|0)+((8191&(r=(r=r+Math.imul(N,Xe)|0)+Math.imul(ee,Ue)|0))<<13)|0;O=((g=g+Math.imul(ee,Xe)|0)+(r>>>13)|0)+(at>>>26)|0,at&=67108863,v=Math.imul(le,te),r=(r=Math.imul(le,Pe))+Math.imul(Ge,te)|0,g=Math.imul(Ge,Pe),v=v+Math.imul(qe,Ze)|0,r=(r=r+Math.imul(qe,Qe)|0)+Math.imul(oe,Ze)|0,g=g+Math.imul(oe,Qe)|0,v=v+Math.imul(xe,xt)|0,r=(r=r+Math.imul(xe,Ot)|0)+Math.imul(de,xt)|0,g=g+Math.imul(de,Ot)|0,v=v+Math.imul(ye,nt)|0,r=(r=r+Math.imul(ye,Ee)|0)+Math.imul(me,nt)|0,g=g+Math.imul(me,Ee)|0,v=v+Math.imul(ot,Ue)|0,r=(r=r+Math.imul(ot,Xe)|0)+Math.imul(je,Ue)|0,g=g+Math.imul(je,Xe)|0;var oi=(O+(v=v+Math.imul(N,Le)|0)|0)+((8191&(r=(r=r+Math.imul(N,be)|0)+Math.imul(ee,Le)|0))<<13)|0;O=((g=g+Math.imul(ee,be)|0)+(r>>>13)|0)+(oi>>>26)|0,oi&=67108863,v=Math.imul(wt,te),r=(r=Math.imul(wt,Pe))+Math.imul(mt,te)|0,g=Math.imul(mt,Pe),v=v+Math.imul(le,Ze)|0,r=(r=r+Math.imul(le,Qe)|0)+Math.imul(Ge,Ze)|0,g=g+Math.imul(Ge,Qe)|0,v=v+Math.imul(qe,xt)|0,r=(r=r+Math.imul(qe,Ot)|0)+Math.imul(oe,xt)|0,g=g+Math.imul(oe,Ot)|0,v=v+Math.imul(xe,nt)|0,r=(r=r+Math.imul(xe,Ee)|0)+Math.imul(de,nt)|0,g=g+Math.imul(de,Ee)|0,v=v+Math.imul(ye,Ue)|0,r=(r=r+Math.imul(ye,Xe)|0)+Math.imul(me,Ue)|0,g=g+Math.imul(me,Xe)|0,v=v+Math.imul(ot,Le)|0,r=(r=r+Math.imul(ot,be)|0)+Math.imul(je,Le)|0,g=g+Math.imul(je,be)|0;var Ce=(O+(v=v+Math.imul(N,re)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ie)|0)+Math.imul(ee,re)|0))<<13)|0;O=((g=g+Math.imul(ee,Ie)|0)+(r>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,v=Math.imul(Ae,te),r=(r=Math.imul(Ae,Pe))+Math.imul(Be,te)|0,g=Math.imul(Be,Pe),v=v+Math.imul(wt,Ze)|0,r=(r=r+Math.imul(wt,Qe)|0)+Math.imul(mt,Ze)|0,g=g+Math.imul(mt,Qe)|0,v=v+Math.imul(le,xt)|0,r=(r=r+Math.imul(le,Ot)|0)+Math.imul(Ge,xt)|0,g=g+Math.imul(Ge,Ot)|0,v=v+Math.imul(qe,nt)|0,r=(r=r+Math.imul(qe,Ee)|0)+Math.imul(oe,nt)|0,g=g+Math.imul(oe,Ee)|0,v=v+Math.imul(xe,Ue)|0,r=(r=r+Math.imul(xe,Xe)|0)+Math.imul(de,Ue)|0,g=g+Math.imul(de,Xe)|0,v=v+Math.imul(ye,Le)|0,r=(r=r+Math.imul(ye,be)|0)+Math.imul(me,Le)|0,g=g+Math.imul(me,be)|0,v=v+Math.imul(ot,re)|0,r=(r=r+Math.imul(ot,Ie)|0)+Math.imul(je,re)|0,g=g+Math.imul(je,Ie)|0;var St=(O+(v=v+Math.imul(N,At)|0)|0)+((8191&(r=(r=r+Math.imul(N,Zt)|0)+Math.imul(ee,At)|0))<<13)|0;O=((g=g+Math.imul(ee,Zt)|0)+(r>>>13)|0)+(St>>>26)|0,St&=67108863,v=Math.imul($e,te),r=(r=Math.imul($e,Pe))+Math.imul(ke,te)|0,g=Math.imul(ke,Pe),v=v+Math.imul(Ae,Ze)|0,r=(r=r+Math.imul(Ae,Qe)|0)+Math.imul(Be,Ze)|0,g=g+Math.imul(Be,Qe)|0,v=v+Math.imul(wt,xt)|0,r=(r=r+Math.imul(wt,Ot)|0)+Math.imul(mt,xt)|0,g=g+Math.imul(mt,Ot)|0,v=v+Math.imul(le,nt)|0,r=(r=r+Math.imul(le,Ee)|0)+Math.imul(Ge,nt)|0,g=g+Math.imul(Ge,Ee)|0,v=v+Math.imul(qe,Ue)|0,r=(r=r+Math.imul(qe,Xe)|0)+Math.imul(oe,Ue)|0,g=g+Math.imul(oe,Xe)|0,v=v+Math.imul(xe,Le)|0,r=(r=r+Math.imul(xe,be)|0)+Math.imul(de,Le)|0,g=g+Math.imul(de,be)|0,v=v+Math.imul(ye,re)|0,r=(r=r+Math.imul(ye,Ie)|0)+Math.imul(me,re)|0,g=g+Math.imul(me,Ie)|0,v=v+Math.imul(ot,At)|0,r=(r=r+Math.imul(ot,Zt)|0)+Math.imul(je,At)|0,g=g+Math.imul(je,Zt)|0;var Ft=(O+(v=v+Math.imul(N,Jt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Xt)|0)+Math.imul(ee,Jt)|0))<<13)|0;O=((g=g+Math.imul(ee,Xt)|0)+(r>>>13)|0)+(Ft>>>26)|0,Ft&=67108863,v=Math.imul(Ke,te),r=(r=Math.imul(Ke,Pe))+Math.imul(Et,te)|0,g=Math.imul(Et,Pe),v=v+Math.imul($e,Ze)|0,r=(r=r+Math.imul($e,Qe)|0)+Math.imul(ke,Ze)|0,g=g+Math.imul(ke,Qe)|0,v=v+Math.imul(Ae,xt)|0,r=(r=r+Math.imul(Ae,Ot)|0)+Math.imul(Be,xt)|0,g=g+Math.imul(Be,Ot)|0,v=v+Math.imul(wt,nt)|0,r=(r=r+Math.imul(wt,Ee)|0)+Math.imul(mt,nt)|0,g=g+Math.imul(mt,Ee)|0,v=v+Math.imul(le,Ue)|0,r=(r=r+Math.imul(le,Xe)|0)+Math.imul(Ge,Ue)|0,g=g+Math.imul(Ge,Xe)|0,v=v+Math.imul(qe,Le)|0,r=(r=r+Math.imul(qe,be)|0)+Math.imul(oe,Le)|0,g=g+Math.imul(oe,be)|0,v=v+Math.imul(xe,re)|0,r=(r=r+Math.imul(xe,Ie)|0)+Math.imul(de,re)|0,g=g+Math.imul(de,Ie)|0,v=v+Math.imul(ye,At)|0,r=(r=r+Math.imul(ye,Zt)|0)+Math.imul(me,At)|0,g=g+Math.imul(me,Zt)|0,v=v+Math.imul(ot,Jt)|0,r=(r=r+Math.imul(ot,Xt)|0)+Math.imul(je,Jt)|0,g=g+Math.imul(je,Xt)|0;var Dt=(O+(v=v+Math.imul(N,li)|0)|0)+((8191&(r=(r=r+Math.imul(N,hi)|0)+Math.imul(ee,li)|0))<<13)|0;O=((g=g+Math.imul(ee,hi)|0)+(r>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,v=Math.imul(Ke,Ze),r=(r=Math.imul(Ke,Qe))+Math.imul(Et,Ze)|0,g=Math.imul(Et,Qe),v=v+Math.imul($e,xt)|0,r=(r=r+Math.imul($e,Ot)|0)+Math.imul(ke,xt)|0,g=g+Math.imul(ke,Ot)|0,v=v+Math.imul(Ae,nt)|0,r=(r=r+Math.imul(Ae,Ee)|0)+Math.imul(Be,nt)|0,g=g+Math.imul(Be,Ee)|0,v=v+Math.imul(wt,Ue)|0,r=(r=r+Math.imul(wt,Xe)|0)+Math.imul(mt,Ue)|0,g=g+Math.imul(mt,Xe)|0,v=v+Math.imul(le,Le)|0,r=(r=r+Math.imul(le,be)|0)+Math.imul(Ge,Le)|0,g=g+Math.imul(Ge,be)|0,v=v+Math.imul(qe,re)|0,r=(r=r+Math.imul(qe,Ie)|0)+Math.imul(oe,re)|0,g=g+Math.imul(oe,Ie)|0,v=v+Math.imul(xe,At)|0,r=(r=r+Math.imul(xe,Zt)|0)+Math.imul(de,At)|0,g=g+Math.imul(de,Zt)|0,v=v+Math.imul(ye,Jt)|0,r=(r=r+Math.imul(ye,Xt)|0)+Math.imul(me,Jt)|0,g=g+Math.imul(me,Xt)|0;var It=(O+(v=v+Math.imul(ot,li)|0)|0)+((8191&(r=(r=r+Math.imul(ot,hi)|0)+Math.imul(je,li)|0))<<13)|0;O=((g=g+Math.imul(je,hi)|0)+(r>>>13)|0)+(It>>>26)|0,It&=67108863,v=Math.imul(Ke,xt),r=(r=Math.imul(Ke,Ot))+Math.imul(Et,xt)|0,g=Math.imul(Et,Ot),v=v+Math.imul($e,nt)|0,r=(r=r+Math.imul($e,Ee)|0)+Math.imul(ke,nt)|0,g=g+Math.imul(ke,Ee)|0,v=v+Math.imul(Ae,Ue)|0,r=(r=r+Math.imul(Ae,Xe)|0)+Math.imul(Be,Ue)|0,g=g+Math.imul(Be,Xe)|0,v=v+Math.imul(wt,Le)|0,r=(r=r+Math.imul(wt,be)|0)+Math.imul(mt,Le)|0,g=g+Math.imul(mt,be)|0,v=v+Math.imul(le,re)|0,r=(r=r+Math.imul(le,Ie)|0)+Math.imul(Ge,re)|0,g=g+Math.imul(Ge,Ie)|0,v=v+Math.imul(qe,At)|0,r=(r=r+Math.imul(qe,Zt)|0)+Math.imul(oe,At)|0,g=g+Math.imul(oe,Zt)|0,v=v+Math.imul(xe,Jt)|0,r=(r=r+Math.imul(xe,Xt)|0)+Math.imul(de,Jt)|0,g=g+Math.imul(de,Xt)|0;var Ut=(O+(v=v+Math.imul(ye,li)|0)|0)+((8191&(r=(r=r+Math.imul(ye,hi)|0)+Math.imul(me,li)|0))<<13)|0;O=((g=g+Math.imul(me,hi)|0)+(r>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,v=Math.imul(Ke,nt),r=(r=Math.imul(Ke,Ee))+Math.imul(Et,nt)|0,g=Math.imul(Et,Ee),v=v+Math.imul($e,Ue)|0,r=(r=r+Math.imul($e,Xe)|0)+Math.imul(ke,Ue)|0,g=g+Math.imul(ke,Xe)|0,v=v+Math.imul(Ae,Le)|0,r=(r=r+Math.imul(Ae,be)|0)+Math.imul(Be,Le)|0,g=g+Math.imul(Be,be)|0,v=v+Math.imul(wt,re)|0,r=(r=r+Math.imul(wt,Ie)|0)+Math.imul(mt,re)|0,g=g+Math.imul(mt,Ie)|0,v=v+Math.imul(le,At)|0,r=(r=r+Math.imul(le,Zt)|0)+Math.imul(Ge,At)|0,g=g+Math.imul(Ge,Zt)|0,v=v+Math.imul(qe,Jt)|0,r=(r=r+Math.imul(qe,Xt)|0)+Math.imul(oe,Jt)|0,g=g+Math.imul(oe,Xt)|0;var ai=(O+(v=v+Math.imul(xe,li)|0)|0)+((8191&(r=(r=r+Math.imul(xe,hi)|0)+Math.imul(de,li)|0))<<13)|0;O=((g=g+Math.imul(de,hi)|0)+(r>>>13)|0)+(ai>>>26)|0,ai&=67108863,v=Math.imul(Ke,Ue),r=(r=Math.imul(Ke,Xe))+Math.imul(Et,Ue)|0,g=Math.imul(Et,Xe),v=v+Math.imul($e,Le)|0,r=(r=r+Math.imul($e,be)|0)+Math.imul(ke,Le)|0,g=g+Math.imul(ke,be)|0,v=v+Math.imul(Ae,re)|0,r=(r=r+Math.imul(Ae,Ie)|0)+Math.imul(Be,re)|0,g=g+Math.imul(Be,Ie)|0,v=v+Math.imul(wt,At)|0,r=(r=r+Math.imul(wt,Zt)|0)+Math.imul(mt,At)|0,g=g+Math.imul(mt,Zt)|0,v=v+Math.imul(le,Jt)|0,r=(r=r+Math.imul(le,Xt)|0)+Math.imul(Ge,Jt)|0,g=g+Math.imul(Ge,Xt)|0;var _i=(O+(v=v+Math.imul(qe,li)|0)|0)+((8191&(r=(r=r+Math.imul(qe,hi)|0)+Math.imul(oe,li)|0))<<13)|0;O=((g=g+Math.imul(oe,hi)|0)+(r>>>13)|0)+(_i>>>26)|0,_i&=67108863,v=Math.imul(Ke,Le),r=(r=Math.imul(Ke,be))+Math.imul(Et,Le)|0,g=Math.imul(Et,be),v=v+Math.imul($e,re)|0,r=(r=r+Math.imul($e,Ie)|0)+Math.imul(ke,re)|0,g=g+Math.imul(ke,Ie)|0,v=v+Math.imul(Ae,At)|0,r=(r=r+Math.imul(Ae,Zt)|0)+Math.imul(Be,At)|0,g=g+Math.imul(Be,Zt)|0,v=v+Math.imul(wt,Jt)|0,r=(r=r+Math.imul(wt,Xt)|0)+Math.imul(mt,Jt)|0,g=g+Math.imul(mt,Xt)|0;var bi=(O+(v=v+Math.imul(le,li)|0)|0)+((8191&(r=(r=r+Math.imul(le,hi)|0)+Math.imul(Ge,li)|0))<<13)|0;O=((g=g+Math.imul(Ge,hi)|0)+(r>>>13)|0)+(bi>>>26)|0,bi&=67108863,v=Math.imul(Ke,re),r=(r=Math.imul(Ke,Ie))+Math.imul(Et,re)|0,g=Math.imul(Et,Ie),v=v+Math.imul($e,At)|0,r=(r=r+Math.imul($e,Zt)|0)+Math.imul(ke,At)|0,g=g+Math.imul(ke,Zt)|0,v=v+Math.imul(Ae,Jt)|0,r=(r=r+Math.imul(Ae,Xt)|0)+Math.imul(Be,Jt)|0,g=g+Math.imul(Be,Xt)|0;var Oi=(O+(v=v+Math.imul(wt,li)|0)|0)+((8191&(r=(r=r+Math.imul(wt,hi)|0)+Math.imul(mt,li)|0))<<13)|0;O=((g=g+Math.imul(mt,hi)|0)+(r>>>13)|0)+(Oi>>>26)|0,Oi&=67108863,v=Math.imul(Ke,At),r=(r=Math.imul(Ke,Zt))+Math.imul(Et,At)|0,g=Math.imul(Et,Zt),v=v+Math.imul($e,Jt)|0,r=(r=r+Math.imul($e,Xt)|0)+Math.imul(ke,Jt)|0,g=g+Math.imul(ke,Xt)|0;var Bi=(O+(v=v+Math.imul(Ae,li)|0)|0)+((8191&(r=(r=r+Math.imul(Ae,hi)|0)+Math.imul(Be,li)|0))<<13)|0;O=((g=g+Math.imul(Be,hi)|0)+(r>>>13)|0)+(Bi>>>26)|0,Bi&=67108863,v=Math.imul(Ke,Jt),r=(r=Math.imul(Ke,Xt))+Math.imul(Et,Jt)|0,g=Math.imul(Et,Xt);var Vi=(O+(v=v+Math.imul($e,li)|0)|0)+((8191&(r=(r=r+Math.imul($e,hi)|0)+Math.imul(ke,li)|0))<<13)|0;O=((g=g+Math.imul(ke,hi)|0)+(r>>>13)|0)+(Vi>>>26)|0,Vi&=67108863;var Kt=(O+(v=Math.imul(Ke,li))|0)+((8191&(r=(r=Math.imul(Ke,hi))+Math.imul(Et,li)|0))<<13)|0;return O=((g=Math.imul(Et,hi))+(r>>>13)|0)+(Kt>>>26)|0,Kt&=67108863,D[0]=un,D[1]=Qi,D[2]=xi,D[3]=sn,D[4]=at,D[5]=oi,D[6]=Ce,D[7]=St,D[8]=Ft,D[9]=Dt,D[10]=It,D[11]=Ut,D[12]=ai,D[13]=_i,D[14]=bi,D[15]=Oi,D[16]=Bi,D[17]=Vi,D[18]=Kt,0!==O&&(D[19]=O,f.length++),f};function j(S,n,s){return(new K).mulp(S,n,s)}function K(S,n){this.x=S,this.y=n}Math.imul||(B=V),l.prototype.mulTo=function(n,s){var f,h=this.length+n.length;return f=10===this.length&&10===n.length?B(this,n,s):h<63?V(this,n,s):h<1024?function W(S,n,s){s.negative=n.negative^S.negative,s.length=S.length+n.length;for(var f=0,h=0,w=0;w<s.length-1;w++){var D=h;h=0;for(var O=67108863&f,v=Math.min(w,n.length-1),r=Math.max(0,w-S.length+1);r<=v;r++){var ee=(0|S.words[w-r])*(0|n.words[r]),De=67108863&ee;O=67108863&(De=De+O|0),h+=(D=(D=D+(ee/67108864|0)|0)+(De>>>26)|0)>>>26,D&=67108863}s.words[w]=O,f=D,D=h}return 0!==f?s.words[w]=f:s.length--,s.strip()}(this,n,s):j(this,n,s),f},K.prototype.makeRBT=function(n){for(var s=new Array(n),f=l.prototype._countBits(n)-1,h=0;h<n;h++)s[h]=this.revBin(h,f,n);return s},K.prototype.revBin=function(n,s,f){if(0===n||n===f-1)return n;for(var h=0,w=0;w<s;w++)h|=(1&n)<<s-w-1,n>>=1;return h},K.prototype.permute=function(n,s,f,h,w,D){for(var O=0;O<D;O++)h[O]=s[n[O]],w[O]=f[n[O]]},K.prototype.transform=function(n,s,f,h,w,D){this.permute(D,n,s,f,h,w);for(var O=1;O<w;O<<=1)for(var v=O<<1,r=Math.cos(2*Math.PI/v),g=Math.sin(2*Math.PI/v),H=0;H<w;H+=v)for(var N=r,ee=g,De=0;De<O;De++){var ot=f[H+De],je=h[H+De],Je=f[H+De+O],ye=h[H+De+O],me=N*Je-ee*ye;ye=N*ye+ee*Je,f[H+De]=ot+(Je=me),h[H+De]=je+ye,f[H+De+O]=ot-Je,h[H+De+O]=je-ye,De!==v&&(me=r*N-g*ee,ee=r*ee+g*N,N=me)}},K.prototype.guessLen13b=function(n,s){var f=1|Math.max(s,n),h=1&f,w=0;for(f=f/2|0;f;f>>>=1)w++;return 1<<w+1+h},K.prototype.conjugate=function(n,s,f){if(!(f<=1))for(var h=0;h<f/2;h++){var w=n[h];n[h]=n[f-h-1],n[f-h-1]=w,w=s[h],s[h]=-s[f-h-1],s[f-h-1]=-w}},K.prototype.normalize13b=function(n,s){for(var f=0,h=0;h<s/2;h++){var w=8192*Math.round(n[2*h+1]/s)+Math.round(n[2*h]/s)+f;n[h]=67108863&w,f=w<67108864?0:w/67108864|0}return n},K.prototype.convert13b=function(n,s,f,h){for(var w=0,D=0;D<s;D++)f[2*D]=8191&(w+=0|n[D]),f[2*D+1]=8191&(w>>>=13),w>>>=13;for(D=2*s;D<h;++D)f[D]=0;y(0===w),y(0==(-8192&w))},K.prototype.stub=function(n){for(var s=new Array(n),f=0;f<n;f++)s[f]=0;return s},K.prototype.mulp=function(n,s,f){var h=2*this.guessLen13b(n.length,s.length),w=this.makeRBT(h),D=this.stub(h),O=new Array(h),v=new Array(h),r=new Array(h),g=new Array(h),H=new Array(h),N=new Array(h),ee=f.words;ee.length=h,this.convert13b(n.words,n.length,O,h),this.convert13b(s.words,s.length,g,h),this.transform(O,D,v,r,h,w),this.transform(g,D,H,N,h,w);for(var De=0;De<h;De++){var ot=v[De]*H[De]-r[De]*N[De];r[De]=v[De]*N[De]+r[De]*H[De],v[De]=ot}return this.conjugate(v,r,h),this.transform(v,r,ee,D,h,w),this.conjugate(ee,D,h),this.normalize13b(ee,h),f.negative=n.negative^s.negative,f.length=n.length+s.length,f.strip()},l.prototype.mul=function(n){var s=new l(null);return s.words=new Array(this.length+n.length),this.mulTo(n,s)},l.prototype.mulf=function(n){var s=new l(null);return s.words=new Array(this.length+n.length),j(this,n,s)},l.prototype.imul=function(n){return this.clone().mulTo(n,this)},l.prototype.imuln=function(n){y("number"==typeof n),y(n<67108864);for(var s=0,f=0;f<this.length;f++){var h=(0|this.words[f])*n,w=(67108863&h)+(67108863&s);s>>=26,s+=h/67108864|0,s+=w>>>26,this.words[f]=67108863&w}return 0!==s&&(this.words[f]=s,this.length++),this},l.prototype.muln=function(n){return this.clone().imuln(n)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(n){var s=function k(S){for(var n=new Array(S.bitLength()),s=0;s<n.length;s++){var h=s%26;n[s]=(S.words[s/26|0]&1<<h)>>>h}return n}(n);if(0===s.length)return new l(1);for(var f=this,h=0;h<s.length&&0===s[h];h++,f=f.sqr());if(++h<s.length)for(var w=f.sqr();h<s.length;h++,w=w.sqr())0!==s[h]&&(f=f.mul(w));return f},l.prototype.iushln=function(n){y("number"==typeof n&&n>=0);var w,s=n%26,f=(n-s)/26,h=67108863>>>26-s<<26-s;if(0!==s){var D=0;for(w=0;w<this.length;w++){var O=this.words[w]&h;this.words[w]=(0|this.words[w])-O<<s|D,D=O>>>26-s}D&&(this.words[w]=D,this.length++)}if(0!==f){for(w=this.length-1;w>=0;w--)this.words[w+f]=this.words[w];for(w=0;w<f;w++)this.words[w]=0;this.length+=f}return this.strip()},l.prototype.ishln=function(n){return y(0===this.negative),this.iushln(n)},l.prototype.iushrn=function(n,s,f){var h;y("number"==typeof n&&n>=0),h=s?(s-s%26)/26:0;var w=n%26,D=Math.min((n-w)/26,this.length),O=67108863^67108863>>>w<<w,v=f;if(h-=D,h=Math.max(0,h),v){for(var r=0;r<D;r++)v.words[r]=this.words[r];v.length=D}if(0!==D)if(this.length>D)for(this.length-=D,r=0;r<this.length;r++)this.words[r]=this.words[r+D];else this.words[0]=0,this.length=1;var g=0;for(r=this.length-1;r>=0&&(0!==g||r>=h);r--){var H=0|this.words[r];this.words[r]=g<<26-w|H>>>w,g=H&O}return v&&0!==g&&(v.words[v.length++]=g),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(n,s,f){return y(0===this.negative),this.iushrn(n,s,f)},l.prototype.shln=function(n){return this.clone().ishln(n)},l.prototype.ushln=function(n){return this.clone().iushln(n)},l.prototype.shrn=function(n){return this.clone().ishrn(n)},l.prototype.ushrn=function(n){return this.clone().iushrn(n)},l.prototype.testn=function(n){y("number"==typeof n&&n>=0);var s=n%26,f=(n-s)/26;return!(this.length<=f||!(this.words[f]&1<<s))},l.prototype.imaskn=function(n){y("number"==typeof n&&n>=0);var s=n%26,f=(n-s)/26;return y(0===this.negative,"imaskn works only with positive numbers"),this.length<=f?this:(0!==s&&f++,this.length=Math.min(f,this.length),0!==s&&(this.words[this.length-1]&=67108863^67108863>>>s<<s),this.strip())},l.prototype.maskn=function(n){return this.clone().imaskn(n)},l.prototype.iaddn=function(n){return y("number"==typeof n),y(n<67108864),n<0?this.isubn(-n):0!==this.negative?1===this.length&&(0|this.words[0])<n?(this.words[0]=n-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(n),this.negative=1,this):this._iaddn(n)},l.prototype._iaddn=function(n){this.words[0]+=n;for(var s=0;s<this.length&&this.words[s]>=67108864;s++)this.words[s]-=67108864,s===this.length-1?this.words[s+1]=1:this.words[s+1]++;return this.length=Math.max(this.length,s+1),this},l.prototype.isubn=function(n){if(y("number"==typeof n),y(n<67108864),n<0)return this.iaddn(-n);if(0!==this.negative)return this.negative=0,this.iaddn(n),this.negative=1,this;if(this.words[0]-=n,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var s=0;s<this.length&&this.words[s]<0;s++)this.words[s]+=67108864,this.words[s+1]-=1;return this.strip()},l.prototype.addn=function(n){return this.clone().iaddn(n)},l.prototype.subn=function(n){return this.clone().isubn(n)},l.prototype.iabs=function(){return this.negative=0,this},l.prototype.abs=function(){return this.clone().iabs()},l.prototype._ishlnsubmul=function(n,s,f){var w;this._expand(n.length+f);var D,O=0;for(w=0;w<n.length;w++){D=(0|this.words[w+f])+O;var v=(0|n.words[w])*s;O=((D-=67108863&v)>>26)-(v/67108864|0),this.words[w+f]=67108863&D}for(;w<this.length-f;w++)O=(D=(0|this.words[w+f])+O)>>26,this.words[w+f]=67108863&D;if(0===O)return this.strip();for(y(-1===O),O=0,w=0;w<this.length;w++)O=(D=-(0|this.words[w])+O)>>26,this.words[w]=67108863&D;return this.negative=1,this.strip()},l.prototype._wordDiv=function(n,s){var f,h=this.clone(),w=n,D=0|w.words[w.length-1];0!=(f=26-this._countBits(D))&&(w=w.ushln(f),h.iushln(f),D=0|w.words[w.length-1]);var r,v=h.length-w.length;if("mod"!==s){(r=new l(null)).length=v+1,r.words=new Array(r.length);for(var g=0;g<r.length;g++)r.words[g]=0}var H=h.clone()._ishlnsubmul(w,1,v);0===H.negative&&(h=H,r&&(r.words[v]=1));for(var N=v-1;N>=0;N--){var ee=67108864*(0|h.words[w.length+N])+(0|h.words[w.length+N-1]);for(ee=Math.min(ee/D|0,67108863),h._ishlnsubmul(w,ee,N);0!==h.negative;)ee--,h.negative=0,h._ishlnsubmul(w,1,N),h.isZero()||(h.negative^=1);r&&(r.words[N]=ee)}return r&&r.strip(),h.strip(),"div"!==s&&0!==f&&h.iushrn(f),{div:r||null,mod:h}},l.prototype.divmod=function(n,s,f){return y(!n.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===n.negative?(D=this.neg().divmod(n,s),"mod"!==s&&(h=D.div.neg()),"div"!==s&&(w=D.mod.neg(),f&&0!==w.negative&&w.iadd(n)),{div:h,mod:w}):0===this.negative&&0!==n.negative?(D=this.divmod(n.neg(),s),"mod"!==s&&(h=D.div.neg()),{div:h,mod:D.mod}):this.negative&n.negative?(D=this.neg().divmod(n.neg(),s),"div"!==s&&(w=D.mod.neg(),f&&0!==w.negative&&w.isub(n)),{div:D.div,mod:w}):n.length>this.length||this.cmp(n)<0?{div:new l(0),mod:this}:1===n.length?"div"===s?{div:this.divn(n.words[0]),mod:null}:"mod"===s?{div:null,mod:new l(this.modn(n.words[0]))}:{div:this.divn(n.words[0]),mod:new l(this.modn(n.words[0]))}:this._wordDiv(n,s);var h,w,D},l.prototype.div=function(n){return this.divmod(n,"div",!1).div},l.prototype.mod=function(n){return this.divmod(n,"mod",!1).mod},l.prototype.umod=function(n){return this.divmod(n,"mod",!0).mod},l.prototype.divRound=function(n){var s=this.divmod(n);if(s.mod.isZero())return s.div;var f=0!==s.div.negative?s.mod.isub(n):s.mod,h=n.ushrn(1),w=n.andln(1),D=f.cmp(h);return D<0||1===w&&0===D?s.div:0!==s.div.negative?s.div.isubn(1):s.div.iaddn(1)},l.prototype.modn=function(n){y(n<=67108863);for(var s=(1<<26)%n,f=0,h=this.length-1;h>=0;h--)f=(s*f+(0|this.words[h]))%n;return f},l.prototype.idivn=function(n){y(n<=67108863);for(var s=0,f=this.length-1;f>=0;f--){var h=(0|this.words[f])+67108864*s;this.words[f]=h/n|0,s=h%n}return this.strip()},l.prototype.divn=function(n){return this.clone().idivn(n)},l.prototype.egcd=function(n){y(0===n.negative),y(!n.isZero());var s=this,f=n.clone();s=0!==s.negative?s.umod(n):s.clone();for(var h=new l(1),w=new l(0),D=new l(0),O=new l(1),v=0;s.isEven()&&f.isEven();)s.iushrn(1),f.iushrn(1),++v;for(var r=f.clone(),g=s.clone();!s.isZero();){for(var H=0,N=1;!(s.words[0]&N)&&H<26;++H,N<<=1);if(H>0)for(s.iushrn(H);H-- >0;)(h.isOdd()||w.isOdd())&&(h.iadd(r),w.isub(g)),h.iushrn(1),w.iushrn(1);for(var ee=0,De=1;!(f.words[0]&De)&&ee<26;++ee,De<<=1);if(ee>0)for(f.iushrn(ee);ee-- >0;)(D.isOdd()||O.isOdd())&&(D.iadd(r),O.isub(g)),D.iushrn(1),O.iushrn(1);s.cmp(f)>=0?(s.isub(f),h.isub(D),w.isub(O)):(f.isub(s),D.isub(h),O.isub(w))}return{a:D,b:O,gcd:f.iushln(v)}},l.prototype._invmp=function(n){y(0===n.negative),y(!n.isZero());var H,s=this,f=n.clone();s=0!==s.negative?s.umod(n):s.clone();for(var h=new l(1),w=new l(0),D=f.clone();s.cmpn(1)>0&&f.cmpn(1)>0;){for(var O=0,v=1;!(s.words[0]&v)&&O<26;++O,v<<=1);if(O>0)for(s.iushrn(O);O-- >0;)h.isOdd()&&h.iadd(D),h.iushrn(1);for(var r=0,g=1;!(f.words[0]&g)&&r<26;++r,g<<=1);if(r>0)for(f.iushrn(r);r-- >0;)w.isOdd()&&w.iadd(D),w.iushrn(1);s.cmp(f)>=0?(s.isub(f),h.isub(w)):(f.isub(s),w.isub(h))}return(H=0===s.cmpn(1)?h:w).cmpn(0)<0&&H.iadd(n),H},l.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var s=this.clone(),f=n.clone();s.negative=0,f.negative=0;for(var h=0;s.isEven()&&f.isEven();h++)s.iushrn(1),f.iushrn(1);for(;;){for(;s.isEven();)s.iushrn(1);for(;f.isEven();)f.iushrn(1);var w=s.cmp(f);if(w<0){var D=s;s=f,f=D}else if(0===w||0===f.cmpn(1))break;s.isub(f)}return f.iushln(h)},l.prototype.invm=function(n){return this.egcd(n).a.umod(n)},l.prototype.isEven=function(){return 0==(1&this.words[0])},l.prototype.isOdd=function(){return 1==(1&this.words[0])},l.prototype.andln=function(n){return this.words[0]&n},l.prototype.bincn=function(n){y("number"==typeof n);var s=n%26,f=(n-s)/26,h=1<<s;if(this.length<=f)return this._expand(f+1),this.words[f]|=h,this;for(var w=h,D=f;0!==w&&D<this.length;D++){var O=0|this.words[D];w=(O+=w)>>>26,this.words[D]=O&=67108863}return 0!==w&&(this.words[D]=w,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(n){var f,s=n<0;if(0!==this.negative&&!s)return-1;if(0===this.negative&&s)return 1;if(this.strip(),this.length>1)f=1;else{s&&(n=-n),y(n<=67108863,"Number is too big");var h=0|this.words[0];f=h===n?0:h<n?-1:1}return 0!==this.negative?0|-f:f},l.prototype.cmp=function(n){if(0!==this.negative&&0===n.negative)return-1;if(0===this.negative&&0!==n.negative)return 1;var s=this.ucmp(n);return 0!==this.negative?0|-s:s},l.prototype.ucmp=function(n){if(this.length>n.length)return 1;if(this.length<n.length)return-1;for(var s=0,f=this.length-1;f>=0;f--){var h=0|this.words[f],w=0|n.words[f];if(h!==w){h<w?s=-1:h>w&&(s=1);break}}return s},l.prototype.gtn=function(n){return 1===this.cmpn(n)},l.prototype.gt=function(n){return 1===this.cmp(n)},l.prototype.gten=function(n){return this.cmpn(n)>=0},l.prototype.gte=function(n){return this.cmp(n)>=0},l.prototype.ltn=function(n){return-1===this.cmpn(n)},l.prototype.lt=function(n){return-1===this.cmp(n)},l.prototype.lten=function(n){return this.cmpn(n)<=0},l.prototype.lte=function(n){return this.cmp(n)<=0},l.prototype.eqn=function(n){return 0===this.cmpn(n)},l.prototype.eq=function(n){return 0===this.cmp(n)},l.red=function(n){return new $(n)},l.prototype.toRed=function(n){return y(!this.red,"Already a number in reduction context"),y(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},l.prototype.fromRed=function(){return y(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(n){return this.red=n,this},l.prototype.forceRed=function(n){return y(!this.red,"Already a number in reduction context"),this._forceRed(n)},l.prototype.redAdd=function(n){return y(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},l.prototype.redIAdd=function(n){return y(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},l.prototype.redSub=function(n){return y(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},l.prototype.redISub=function(n){return y(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},l.prototype.redShl=function(n){return y(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},l.prototype.redMul=function(n){return y(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},l.prototype.redIMul=function(n){return y(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},l.prototype.redSqr=function(){return y(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return y(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return y(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return y(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return y(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(n){return y(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var X={k256:null,p224:null,p192:null,p25519:null};function ie(S,n){this.name=S,this.p=new l(n,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function ae(){ie.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function fe(){ie.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function se(){ie.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function Me(){ie.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function $(S){if("string"==typeof S){var n=l._prime(S);this.m=n.p,this.prime=n}else y(S.gtn(1),"modulus must be greater than 1"),this.m=S,this.prime=null}function ue(S){$.call(this,S),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}ie.prototype._tmp=function(){var n=new l(null);return n.words=new Array(Math.ceil(this.n/13)),n},ie.prototype.ireduce=function(n){var f,s=n;do{this.split(s,this.tmp),f=(s=(s=this.imulK(s)).iadd(this.tmp)).bitLength()}while(f>this.n);var h=f<this.n?-1:s.ucmp(this.p);return 0===h?(s.words[0]=0,s.length=1):h>0?s.isub(this.p):void 0!==s.strip?s.strip():s._strip(),s},ie.prototype.split=function(n,s){n.iushrn(this.n,0,s)},ie.prototype.imulK=function(n){return n.imul(this.k)},A(ae,ie),ae.prototype.split=function(n,s){for(var f=4194303,h=Math.min(n.length,9),w=0;w<h;w++)s.words[w]=n.words[w];if(s.length=h,n.length<=9)return n.words[0]=0,void(n.length=1);var D=n.words[9];for(s.words[s.length++]=D&f,w=10;w<n.length;w++){var O=0|n.words[w];n.words[w-10]=(O&f)<<4|D>>>22,D=O}n.words[w-10]=D>>>=22,n.length-=0===D&&n.length>10?10:9},ae.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var s=0,f=0;f<n.length;f++){var h=0|n.words[f];n.words[f]=67108863&(s+=977*h),s=64*h+(s/67108864|0)}return 0===n.words[n.length-1]&&(n.length--,0===n.words[n.length-1]&&n.length--),n},A(fe,ie),A(se,ie),A(Me,ie),Me.prototype.imulK=function(n){for(var s=0,f=0;f<n.length;f++){var h=19*(0|n.words[f])+s,w=67108863&h;h>>>=26,n.words[f]=w,s=h}return 0!==s&&(n.words[n.length++]=s),n},l._prime=function(n){if(X[n])return X[n];var s;if("k256"===n)s=new ae;else if("p224"===n)s=new fe;else if("p192"===n)s=new se;else{if("p25519"!==n)throw new Error("Unknown prime "+n);s=new Me}return X[n]=s,s},$.prototype._verify1=function(n){y(0===n.negative,"red works only with positives"),y(n.red,"red works only with red numbers")},$.prototype._verify2=function(n,s){y(0==(n.negative|s.negative),"red works only with positives"),y(n.red&&n.red===s.red,"red works only with red numbers")},$.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},$.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},$.prototype.add=function(n,s){this._verify2(n,s);var f=n.add(s);return f.cmp(this.m)>=0&&f.isub(this.m),f._forceRed(this)},$.prototype.iadd=function(n,s){this._verify2(n,s);var f=n.iadd(s);return f.cmp(this.m)>=0&&f.isub(this.m),f},$.prototype.sub=function(n,s){this._verify2(n,s);var f=n.sub(s);return f.cmpn(0)<0&&f.iadd(this.m),f._forceRed(this)},$.prototype.isub=function(n,s){this._verify2(n,s);var f=n.isub(s);return f.cmpn(0)<0&&f.iadd(this.m),f},$.prototype.shl=function(n,s){return this._verify1(n),this.imod(n.ushln(s))},$.prototype.imul=function(n,s){return this._verify2(n,s),this.imod(n.imul(s))},$.prototype.mul=function(n,s){return this._verify2(n,s),this.imod(n.mul(s))},$.prototype.isqr=function(n){return this.imul(n,n.clone())},$.prototype.sqr=function(n){return this.mul(n,n)},$.prototype.sqrt=function(n){if(n.isZero())return n.clone();var s=this.m.andln(3);if(y(s%2==1),3===s){var f=this.m.add(new l(1)).iushrn(2);return this.pow(n,f)}for(var h=this.m.subn(1),w=0;!h.isZero()&&0===h.andln(1);)w++,h.iushrn(1);y(!h.isZero());var D=new l(1).toRed(this),O=D.redNeg(),v=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new l(2*r*r).toRed(this);0!==this.pow(r,v).cmp(O);)r.redIAdd(O);for(var g=this.pow(r,h),H=this.pow(n,h.addn(1).iushrn(1)),N=this.pow(n,h),ee=w;0!==N.cmp(D);){for(var De=N,ot=0;0!==De.cmp(D);ot++)De=De.redSqr();y(ot<ee);var je=this.pow(g,new l(1).iushln(ee-ot-1));H=H.redMul(je),g=je.redSqr(),N=N.redMul(g),ee=ot}return H},$.prototype.invm=function(n){var s=n._invmp(this.m);return 0!==s.negative?(s.negative=0,this.imod(s).redNeg()):this.imod(s)},$.prototype.pow=function(n,s){if(s.isZero())return new l(1).toRed(this);if(0===s.cmpn(1))return n.clone();var h=new Array(16);h[0]=new l(1).toRed(this),h[1]=n;for(var w=2;w<h.length;w++)h[w]=this.mul(h[w-1],n);var D=h[0],O=0,v=0,r=s.bitLength()%26;for(0===r&&(r=26),w=s.length-1;w>=0;w--){for(var g=s.words[w],H=r-1;H>=0;H--){var N=g>>H&1;D!==h[0]&&(D=this.sqr(D)),0!==N||0!==O?(O<<=1,O|=N,(4==++v||0===w&&0===H)&&(D=this.mul(D,h[O]),v=0,O=0)):v=0}r=26}return D},$.prototype.convertTo=function(n){var s=n.umod(this.m);return s===n?s.clone():s},$.prototype.convertFrom=function(n){var s=n.clone();return s.red=null,s},l.mont=function(n){return new ue(n)},A(ue,$),ue.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},ue.prototype.convertFrom=function(n){var s=this.imod(n.mul(this.rinv));return s.red=null,s},ue.prototype.imul=function(n,s){if(n.isZero()||s.isZero())return n.words[0]=0,n.length=1,n;var f=n.imul(s),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),w=f.isub(h).iushrn(this.shift),D=w;return w.cmp(this.m)>=0?D=w.isub(this.m):w.cmpn(0)<0&&(D=w.iadd(this.m)),D._forceRed(this)},ue.prototype.mul=function(n,s){if(n.isZero()||s.isZero())return new l(0)._forceRed(this);var f=n.mul(s),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),w=f.isub(h).iushrn(this.shift),D=w;return w.cmp(this.m)>=0?D=w.isub(this.m):w.cmpn(0)<0&&(D=w.iadd(this.m)),D._forceRed(this)},ue.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(ze=p.nmd(ze),this)},6362:(ze,q,p)=>{"use strict";var e=p(6698),t=p(5829),y=p(9706),A=p(7965),l=p(6420);function x(m){l.call(this,"digest"),this._hash=m}e(x,l),x.prototype._update=function(m){this._hash.update(m)},x.prototype._final=function(){return this._hash.digest()},ze.exports=function(P){return"md5"===(P=P.toLowerCase())?new t:"rmd160"===P||"ripemd160"===P?new y:new x(A(P))}},7588:(ze,q,p)=>{var e=p(5829);ze.exports=function(t){return(new e).update(t).digest()}},5825:(ze,q,p)=>{"use strict";var e=p(6698),t=p(5922),y=p(6420),A=p(843).Buffer,l=p(7588),x=p(9706),m=p(7965),P=A.alloc(128);function d(E,M){y.call(this,"digest"),"string"==typeof M&&(M=A.from(M));var I="sha512"===E||"sha384"===E?128:64;this._alg=E,this._key=M,M.length>I?M=("rmd160"===E?new x:m(E)).update(M).digest():M.length<I&&(M=A.concat([M,P],I));for(var V=this._ipad=A.allocUnsafe(I),B=this._opad=A.allocUnsafe(I),W=0;W<I;W++)V[W]=54^M[W],B[W]=92^M[W];this._hash="rmd160"===E?new x:m(E),this._hash.update(V)}e(d,y),d.prototype._update=function(E){this._hash.update(E)},d.prototype._final=function(){var E=this._hash.digest();return("rmd160"===this._alg?new x:m(this._alg)).update(this._opad).update(E).digest()},ze.exports=function(M,I){return"rmd160"===(M=M.toLowerCase())||"ripemd160"===M?new d("rmd160",I):"md5"===M?new t(l,I):new d(M,I)}},5922:(ze,q,p)=>{"use strict";var e=p(6698),t=p(843).Buffer,y=p(6420),A=t.alloc(128),l=64;function x(m,P){y.call(this,"digest"),"string"==typeof P&&(P=t.from(P)),this._alg=m,this._key=P,P.length>l?P=m(P):P.length<l&&(P=t.concat([P,A],l));for(var d=this._ipad=t.allocUnsafe(l),E=this._opad=t.allocUnsafe(l),M=0;M<l;M++)d[M]=54^P[M],E[M]=92^P[M];this._hash=[d]}e(x,y),x.prototype._update=function(m){this._hash.push(m)},x.prototype._final=function(){var m=this._alg(t.concat(this._hash));return this._alg(t.concat([this._opad,m]))},ze.exports=x},7903:(ze,q,p)=>{"use strict";q.randomBytes=q.rng=q.pseudoRandomBytes=q.prng=p(4019),q.createHash=q.Hash=p(6362),q.createHmac=q.Hmac=p(5825);var e=p(1699),t=Object.keys(e),y=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(t);q.getHashes=function(){return y};var A=p(7100);q.pbkdf2=A.pbkdf2,q.pbkdf2Sync=A.pbkdf2Sync;var l=p(5600);q.Cipher=l.Cipher,q.createCipher=l.createCipher,q.Cipheriv=l.Cipheriv,q.createCipheriv=l.createCipheriv,q.Decipher=l.Decipher,q.createDecipher=l.createDecipher,q.Decipheriv=l.Decipheriv,q.createDecipheriv=l.createDecipheriv,q.getCiphers=l.getCiphers,q.listCiphers=l.listCiphers;var x=p(5144);q.DiffieHellmanGroup=x.DiffieHellmanGroup,q.createDiffieHellmanGroup=x.createDiffieHellmanGroup,q.getDiffieHellman=x.getDiffieHellman,q.createDiffieHellman=x.createDiffieHellman,q.DiffieHellman=x.DiffieHellman;var m=p(7686);q.createSign=m.createSign,q.Sign=m.Sign,q.createVerify=m.createVerify,q.Verify=m.Verify,q.createECDH=p(8840);var P=p(7050);q.publicEncrypt=P.publicEncrypt,q.privateEncrypt=P.privateEncrypt,q.publicDecrypt=P.publicDecrypt,q.privateDecrypt=P.privateDecrypt;var d=p(1237);q.randomFill=d.randomFill,q.randomFillSync=d.randomFillSync,q.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},q.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},132:(ze,q,p)=>{"use strict";q.utils=p(2294),q.Cipher=p(9484),q.DES=p(4374),q.CBC=p(2066),q.EDE=p(9710)},2066:(ze,q,p)=>{"use strict";var e=p(7798),t=p(6698),y={};function A(x){e.equal(x.length,8,"Invalid IV length"),this.iv=new Array(8);for(var m=0;m<this.iv.length;m++)this.iv[m]=x[m]}q.instantiate=function l(x){function m(M){x.call(this,M),this._cbcInit()}t(m,x);for(var P=Object.keys(y),d=0;d<P.length;d++){var E=P[d];m.prototype[E]=y[E]}return m.create=function(I){return new m(I)},m},y._cbcInit=function(){var m=new A(this.options.iv);this._cbcState=m},y._update=function(m,P,d,E){var I=this.constructor.super_.prototype,k=this._cbcState.iv;if("encrypt"===this.type){for(var V=0;V<this.blockSize;V++)k[V]^=m[P+V];for(I._update.call(this,k,0,d,E),V=0;V<this.blockSize;V++)k[V]=d[E+V]}else{for(I._update.call(this,m,P,d,E),V=0;V<this.blockSize;V++)d[E+V]^=k[V];for(V=0;V<this.blockSize;V++)k[V]=m[P+V]}}},9484:(ze,q,p)=>{"use strict";var e=p(7798);function t(y){this.options=y,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0,this.padding=!1!==y.padding}ze.exports=t,t.prototype._init=function(){},t.prototype.update=function(A){return 0===A.length?[]:"decrypt"===this.type?this._updateDecrypt(A):this._updateEncrypt(A)},t.prototype._buffer=function(A,l){for(var x=Math.min(this.buffer.length-this.bufferOff,A.length-l),m=0;m<x;m++)this.buffer[this.bufferOff+m]=A[l+m];return this.bufferOff+=x,x},t.prototype._flushBuffer=function(A,l){return this._update(this.buffer,0,A,l),this.bufferOff=0,this.blockSize},t.prototype._updateEncrypt=function(A){var l=0,x=0,P=new Array(((this.bufferOff+A.length)/this.blockSize|0)*this.blockSize);0!==this.bufferOff&&(l+=this._buffer(A,l),this.bufferOff===this.buffer.length&&(x+=this._flushBuffer(P,x)));for(var d=A.length-(A.length-l)%this.blockSize;l<d;l+=this.blockSize)this._update(A,l,P,x),x+=this.blockSize;for(;l<A.length;l++,this.bufferOff++)this.buffer[this.bufferOff]=A[l];return P},t.prototype._updateDecrypt=function(A){for(var l=0,x=0,m=Math.ceil((this.bufferOff+A.length)/this.blockSize)-1,P=new Array(m*this.blockSize);m>0;m--)l+=this._buffer(A,l),x+=this._flushBuffer(P,x);return l+=this._buffer(A,l),P},t.prototype.final=function(A){var l,x;return A&&(l=this.update(A)),x="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),l?l.concat(x):x},t.prototype._pad=function(A,l){if(0===l)return!1;for(;l<A.length;)A[l++]=0;return!0},t.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var A=new Array(this.blockSize);return this._update(this.buffer,0,A,0),A},t.prototype._unpad=function(A){return A},t.prototype._finalDecrypt=function(){e.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var A=new Array(this.blockSize);return this._flushBuffer(A,0),this._unpad(A)}},4374:(ze,q,p)=>{"use strict";var e=p(7798),t=p(6698),y=p(2294),A=p(9484);function l(){this.tmp=new Array(2),this.keys=null}function x(P){A.call(this,P);var d=new l;this._desState=d,this.deriveKeys(d,P.key)}t(x,A),ze.exports=x,x.create=function(d){return new x(d)};var m=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];x.prototype.deriveKeys=function(d,E){d.keys=new Array(32),e.equal(E.length,this.blockSize,"Invalid key length");var M=y.readUInt32BE(E,0),I=y.readUInt32BE(E,4);y.pc1(M,I,d.tmp,0),M=d.tmp[0],I=d.tmp[1];for(var k=0;k<d.keys.length;k+=2){var V=m[k>>>1];M=y.r28shl(M,V),I=y.r28shl(I,V),y.pc2(M,I,d.keys,k)}},x.prototype._update=function(d,E,M,I){var k=this._desState,V=y.readUInt32BE(d,E),B=y.readUInt32BE(d,E+4);y.ip(V,B,k.tmp,0),V=k.tmp[0],B=k.tmp[1],"encrypt"===this.type?this._encrypt(k,V,B,k.tmp,0):this._decrypt(k,V,B,k.tmp,0),B=k.tmp[1],y.writeUInt32BE(M,V=k.tmp[0],I),y.writeUInt32BE(M,B,I+4)},x.prototype._pad=function(d,E){if(!1===this.padding)return!1;for(var M=d.length-E,I=E;I<d.length;I++)d[I]=M;return!0},x.prototype._unpad=function(d){if(!1===this.padding)return d;for(var E=d[d.length-1],M=d.length-E;M<d.length;M++)e.equal(d[M],E);return d.slice(0,d.length-E)},x.prototype._encrypt=function(d,E,M,I,k){for(var V=E,B=M,W=0;W<d.keys.length;W+=2){var j=d.keys[W],K=d.keys[W+1];y.expand(B,d.tmp,0);var X=y.substitute(j^=d.tmp[0],K^=d.tmp[1]),ae=B;B=(V^y.permute(X))>>>0,V=ae}y.rip(B,V,I,k)},x.prototype._decrypt=function(d,E,M,I,k){for(var V=M,B=E,W=d.keys.length-2;W>=0;W-=2){var j=d.keys[W],K=d.keys[W+1];y.expand(V,d.tmp,0);var X=y.substitute(j^=d.tmp[0],K^=d.tmp[1]),ae=V;V=(B^y.permute(X))>>>0,B=ae}y.rip(V,B,I,k)}},9710:(ze,q,p)=>{"use strict";var e=p(7798),t=p(6698),y=p(9484),A=p(4374);function l(m,P){e.equal(P.length,24,"Invalid key length");var d=P.slice(0,8),E=P.slice(8,16),M=P.slice(16,24);this.ciphers="encrypt"===m?[A.create({type:"encrypt",key:d}),A.create({type:"decrypt",key:E}),A.create({type:"encrypt",key:M})]:[A.create({type:"decrypt",key:M}),A.create({type:"encrypt",key:E}),A.create({type:"decrypt",key:d})]}function x(m){y.call(this,m);var P=new l(this.type,this.options.key);this._edeState=P}t(x,y),ze.exports=x,x.create=function(P){return new x(P)},x.prototype._update=function(P,d,E,M){var I=this._edeState;I.ciphers[0]._update(P,d,E,M),I.ciphers[1]._update(E,M,E,M),I.ciphers[2]._update(E,M,E,M)},x.prototype._pad=A.prototype._pad,x.prototype._unpad=A.prototype._unpad},2294:(ze,q)=>{"use strict";q.readUInt32BE=function(A,l){return(A[0+l]<<24|A[1+l]<<16|A[2+l]<<8|A[3+l])>>>0},q.writeUInt32BE=function(A,l,x){A[0+x]=l>>>24,A[1+x]=l>>>16&255,A[2+x]=l>>>8&255,A[3+x]=255&l},q.ip=function(A,l,x,m){for(var P=0,d=0,E=6;E>=0;E-=2){for(var M=0;M<=24;M+=8)P<<=1,P|=l>>>M+E&1;for(M=0;M<=24;M+=8)P<<=1,P|=A>>>M+E&1}for(E=6;E>=0;E-=2){for(M=1;M<=25;M+=8)d<<=1,d|=l>>>M+E&1;for(M=1;M<=25;M+=8)d<<=1,d|=A>>>M+E&1}x[m+0]=P>>>0,x[m+1]=d>>>0},q.rip=function(A,l,x,m){for(var P=0,d=0,E=0;E<4;E++)for(var M=24;M>=0;M-=8)P<<=1,P|=l>>>M+E&1,P<<=1,P|=A>>>M+E&1;for(E=4;E<8;E++)for(M=24;M>=0;M-=8)d<<=1,d|=l>>>M+E&1,d<<=1,d|=A>>>M+E&1;x[m+0]=P>>>0,x[m+1]=d>>>0},q.pc1=function(A,l,x,m){for(var P=0,d=0,E=7;E>=5;E--){for(var M=0;M<=24;M+=8)P<<=1,P|=l>>M+E&1;for(M=0;M<=24;M+=8)P<<=1,P|=A>>M+E&1}for(M=0;M<=24;M+=8)P<<=1,P|=l>>M+E&1;for(E=1;E<=3;E++){for(M=0;M<=24;M+=8)d<<=1,d|=l>>M+E&1;for(M=0;M<=24;M+=8)d<<=1,d|=A>>M+E&1}for(M=0;M<=24;M+=8)d<<=1,d|=A>>M+E&1;x[m+0]=P>>>0,x[m+1]=d>>>0},q.r28shl=function(A,l){return A<<l&268435455|A>>>28-l};var p=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];q.pc2=function(A,l,x,m){for(var P=0,d=0,E=p.length>>>1,M=0;M<E;M++)P<<=1,P|=A>>>p[M]&1;for(M=E;M<p.length;M++)d<<=1,d|=l>>>p[M]&1;x[m+0]=P>>>0,x[m+1]=d>>>0},q.expand=function(A,l,x){var m=0,P=0;m=(1&A)<<5|A>>>27;for(var d=23;d>=15;d-=4)m<<=6,m|=A>>>d&63;for(d=11;d>=3;d-=4)P|=A>>>d&63,P<<=6;P|=(31&A)<<1|A>>>31,l[x+0]=m>>>0,l[x+1]=P>>>0};var e=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];q.substitute=function(A,l){for(var x=0,m=0;m<4;m++)x<<=4,x|=e[64*m+(A>>>18-6*m&63)];for(m=0;m<4;m++)x<<=4,x|=e[256+64*m+(l>>>18-6*m&63)];return x>>>0};var t=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];q.permute=function(A){for(var l=0,x=0;x<t.length;x++)l<<=1,l|=A>>>t[x]&1;return l>>>0},q.padSplit=function(A,l,x){for(var m=A.toString(2);m.length<l;)m="0"+m;for(var P=[],d=0;d<l;d+=x)P.push(m.slice(d,d+x));return P.join(" ")}},5144:(ze,q,p)=>{var e=p(1096),t=p(9799),y=p(5580),l={binary:!0,hex:!0,base64:!0};q.DiffieHellmanGroup=q.createDiffieHellmanGroup=q.getDiffieHellman=function A(m){var P=new Buffer(t[m].prime,"hex"),d=new Buffer(t[m].gen,"hex");return new y(P,d)},q.createDiffieHellman=q.DiffieHellman=function x(m,P,d,E){return Buffer.isBuffer(P)||void 0===l[P]?x(m,"binary",P,d):(P=P||"binary",E=E||"binary",d=d||new Buffer([2]),Buffer.isBuffer(d)||(d=new Buffer(d,E)),"number"==typeof m?new y(e(m,d),d,!0):(Buffer.isBuffer(m)||(m=new Buffer(m,P)),new y(m,d,!0)))}},5580:(ze,q,p)=>{var e=p(7301),y=new(p(8606)),A=new e(24),l=new e(11),x=new e(10),m=new e(3),P=new e(7),d=p(1096),E=p(4019);function M(j,K){return K=K||"utf8",Buffer.isBuffer(j)||(j=new Buffer(j,K)),this._pub=new e(j),this}function I(j,K){return K=K||"utf8",Buffer.isBuffer(j)||(j=new Buffer(j,K)),this._priv=new e(j),this}ze.exports=B;var k={};function B(j,K,X){this.setGenerator(K),this.__prime=new e(j),this._prime=e.mont(this.__prime),this._primeLen=j.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,X?(this.setPublicKey=M,this.setPrivateKey=I):this._primeCode=8}function W(j,K){var X=new Buffer(j.toArray());return K?X.toString(K):X}Object.defineProperty(B.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function V(j,K){var X=K.toString("hex"),ie=[X,j.toString(16)].join("_");if(ie in k)return k[ie];var fe,ae=0;if(j.isEven()||!d.simpleSieve||!d.fermatTest(j)||!y.test(j))return ae+=1,k[ie]=ae+="02"===X||"05"===X?8:4,ae;switch(y.test(j.shrn(1))||(ae+=2),X){case"02":j.mod(A).cmp(l)&&(ae+=8);break;case"05":(fe=j.mod(x)).cmp(m)&&fe.cmp(P)&&(ae+=8);break;default:ae+=4}return k[ie]=ae,ae}(this.__prime,this.__gen)),this._primeCode}}),B.prototype.generateKeys=function(){return this._priv||(this._priv=new e(E(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},B.prototype.computeSecret=function(j){var K=(j=(j=new e(j)).toRed(this._prime)).redPow(this._priv).fromRed(),X=new Buffer(K.toArray()),ie=this.getPrime();if(X.length<ie.length){var ae=new Buffer(ie.length-X.length);ae.fill(0),X=Buffer.concat([ae,X])}return X},B.prototype.getPublicKey=function(K){return W(this._pub,K)},B.prototype.getPrivateKey=function(K){return W(this._priv,K)},B.prototype.getPrime=function(j){return W(this.__prime,j)},B.prototype.getGenerator=function(j){return W(this._gen,j)},B.prototype.setGenerator=function(j,K){return K=K||"utf8",Buffer.isBuffer(j)||(j=new Buffer(j,K)),this.__gen=j,this._gen=new e(j),this}},1096:(ze,q,p)=>{var e=p(4019);ze.exports=ae,ae.simpleSieve=X,ae.fermatTest=ie;var t=p(7301),y=new t(24),l=new(p(8606)),x=new t(1),m=new t(2),P=new t(5),M=(new t(16),new t(8),new t(10)),I=new t(3),V=(new t(7),new t(11)),B=new t(4),j=(new t(12),null);function X(fe){for(var se=function K(){if(null!==j)return j;var se=[];se[0]=2;for(var Me=1,$=3;$<1048576;$+=2){for(var ue=Math.ceil(Math.sqrt($)),S=0;S<Me&&se[S]<=ue&&$%se[S]!=0;S++);Me!==S&&se[S]<=ue||(se[Me++]=$)}return j=se,se}(),Me=0;Me<se.length;Me++)if(0===fe.modn(se[Me]))return 0===fe.cmpn(se[Me]);return!0}function ie(fe){var se=t.mont(fe);return 0===m.toRed(se).redPow(fe.subn(1)).fromRed().cmpn(1)}function ae(fe,se){if(fe<16)return new t(2===se||5===se?[140,123]:[140,39]);se=new t(se);for(var Me,$;;){for(Me=new t(e(Math.ceil(fe/8)));Me.bitLength()>fe;)Me.ishrn(1);if(Me.isEven()&&Me.iadd(x),Me.testn(1)||Me.iadd(m),se.cmp(m)){if(!se.cmp(P))for(;Me.mod(M).cmp(I);)Me.iadd(B)}else for(;Me.mod(y).cmp(V);)Me.iadd(B);if(X($=Me.shrn(1))&&X(Me)&&ie($)&&ie(Me)&&l.test($)&&l.test(Me))return Me}}},7301:function(ze,q,p){!function(e,t){"use strict";function y(S,n){if(!S)throw new Error(n||"Assertion failed")}function A(S,n){S.super_=n;var s=function(){};s.prototype=n.prototype,S.prototype=new s,S.prototype.constructor=S}function l(S,n,s){if(l.isBN(S))return S;this.negative=0,this.words=null,this.length=0,this.red=null,null!==S&&(("le"===n||"be"===n)&&(s=n,n=10),this._init(S||0,n||10,s||"be"))}var x;"object"==typeof e?e.exports=l:t.BN=l,l.BN=l,l.wordSize=26;try{x=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:p(7748).Buffer}catch{}function m(S,n){var s=S.charCodeAt(n);return s>=65&&s<=70?s-55:s>=97&&s<=102?s-87:s-48&15}function P(S,n,s){var f=m(S,s);return s-1>=n&&(f|=m(S,s-1)<<4),f}function d(S,n,s,f){for(var h=0,w=Math.min(S.length,s),D=n;D<w;D++){var O=S.charCodeAt(D)-48;h*=f,h+=O>=49?O-49+10:O>=17?O-17+10:O}return h}l.isBN=function(n){return n instanceof l||null!==n&&"object"==typeof n&&n.constructor.wordSize===l.wordSize&&Array.isArray(n.words)},l.max=function(n,s){return n.cmp(s)>0?n:s},l.min=function(n,s){return n.cmp(s)<0?n:s},l.prototype._init=function(n,s,f){if("number"==typeof n)return this._initNumber(n,s,f);if("object"==typeof n)return this._initArray(n,s,f);"hex"===s&&(s=16),y(s===(0|s)&&s>=2&&s<=36);var h=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h<n.length&&(16===s?this._parseHex(n,h,f):(this._parseBase(n,s,h),"le"===f&&this._initArray(this.toArray(),s,f)))},l.prototype._initNumber=function(n,s,f){n<0&&(this.negative=1,n=-n),n<67108864?(this.words=[67108863&n],this.length=1):n<4503599627370496?(this.words=[67108863&n,n/67108864&67108863],this.length=2):(y(n<9007199254740992),this.words=[67108863&n,n/67108864&67108863,1],this.length=3),"le"===f&&this._initArray(this.toArray(),s,f)},l.prototype._initArray=function(n,s,f){if(y("number"==typeof n.length),n.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(n.length/3),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var w,D,O=0;if("be"===f)for(h=n.length-1,w=0;h>=0;h-=3)this.words[w]|=(D=n[h]|n[h-1]<<8|n[h-2]<<16)<<O&67108863,this.words[w+1]=D>>>26-O&67108863,(O+=24)>=26&&(O-=26,w++);else if("le"===f)for(h=0,w=0;h<n.length;h+=3)this.words[w]|=(D=n[h]|n[h+1]<<8|n[h+2]<<16)<<O&67108863,this.words[w+1]=D>>>26-O&67108863,(O+=24)>=26&&(O-=26,w++);return this.strip()},l.prototype._parseHex=function(n,s,f){this.length=Math.ceil((n.length-s)/6),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var O,w=0,D=0;if("be"===f)for(h=n.length-1;h>=s;h-=2)O=P(n,s,h)<<w,this.words[D]|=67108863&O,w>=18?(w-=18,this.words[D+=1]|=O>>>26):w+=8;else for(h=(n.length-s)%2==0?s+1:s;h<n.length;h+=2)O=P(n,s,h)<<w,this.words[D]|=67108863&O,w>=18?(w-=18,this.words[D+=1]|=O>>>26):w+=8;this.strip()},l.prototype._parseBase=function(n,s,f){this.words=[0],this.length=1;for(var h=0,w=1;w<=67108863;w*=s)h++;h--,w=w/s|0;for(var D=n.length-f,O=D%h,v=Math.min(D,D-O)+f,r=0,g=f;g<v;g+=h)r=d(n,g,g+h,s),this.imuln(w),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r);if(0!==O){var H=1;for(r=d(n,g,n.length,s),g=0;g<O;g++)H*=s;this.imuln(H),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r)}this.strip()},l.prototype.copy=function(n){n.words=new Array(this.length);for(var s=0;s<this.length;s++)n.words[s]=this.words[s];n.length=this.length,n.negative=this.negative,n.red=this.red},l.prototype.clone=function(){var n=new l(null);return this.copy(n),n},l.prototype._expand=function(n){for(;this.length<n;)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 E=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],M=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],I=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function V(S,n,s){s.negative=n.negative^S.negative;var f=S.length+n.length|0;s.length=f,f=f-1|0;var h=0|S.words[0],w=0|n.words[0],D=h*w,v=D/67108864|0;s.words[0]=67108863&D;for(var r=1;r<f;r++){for(var g=v>>>26,H=67108863&v,N=Math.min(r,n.length-1),ee=Math.max(0,r-S.length+1);ee<=N;ee++)g+=(D=(h=0|S.words[r-ee|0])*(w=0|n.words[ee])+H)/67108864|0,H=67108863&D;s.words[r]=0|H,v=0|g}return 0!==v?s.words[r]=0|v:s.length--,s.strip()}l.prototype.toString=function(n,s){var f;if(s=0|s||1,16===(n=n||10)||"hex"===n){f="";for(var h=0,w=0,D=0;D<this.length;D++){var O=this.words[D],v=(16777215&(O<<h|w)).toString(16);f=0!=(w=O>>>24-h&16777215)||D!==this.length-1?E[6-v.length]+v+f:v+f,(h+=2)>=26&&(h-=26,D--)}for(0!==w&&(f=w.toString(16)+f);f.length%s!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}if(n===(0|n)&&n>=2&&n<=36){var r=M[n],g=I[n];f="";var H=this.clone();for(H.negative=0;!H.isZero();){var N=H.modn(g).toString(n);f=(H=H.idivn(g)).isZero()?N+f:E[r-N.length]+N+f}for(this.isZero()&&(f="0"+f);f.length%s!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}y(!1,"Base should be between 2 and 36")},l.prototype.toNumber=function(){var n=this.words[0];return 2===this.length?n+=67108864*this.words[1]:3===this.length&&1===this.words[2]?n+=4503599627370496+67108864*this.words[1]:this.length>2&&y(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-n:n},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(n,s){return y(typeof x<"u"),this.toArrayLike(x,n,s)},l.prototype.toArray=function(n,s){return this.toArrayLike(Array,n,s)},l.prototype.toArrayLike=function(n,s,f){var h=this.byteLength(),w=f||Math.max(1,h);y(h<=w,"byte array longer than desired length"),y(w>0,"Requested array length <= 0"),this.strip();var v,r,D="le"===s,O=new n(w),g=this.clone();if(D){for(r=0;!g.isZero();r++)v=g.andln(255),g.iushrn(8),O[r]=v;for(;r<w;r++)O[r]=0}else{for(r=0;r<w-h;r++)O[r]=0;for(r=0;!g.isZero();r++)v=g.andln(255),g.iushrn(8),O[w-r-1]=v}return O},l.prototype._countBits=Math.clz32?function(n){return 32-Math.clz32(n)}:function(n){var s=n,f=0;return s>=4096&&(f+=13,s>>>=13),s>=64&&(f+=7,s>>>=7),s>=8&&(f+=4,s>>>=4),s>=2&&(f+=2,s>>>=2),f+s},l.prototype._zeroBits=function(n){if(0===n)return 26;var s=n,f=0;return 8191&s||(f+=13,s>>>=13),127&s||(f+=7,s>>>=7),15&s||(f+=4,s>>>=4),3&s||(f+=2,s>>>=2),1&s||f++,f},l.prototype.bitLength=function(){var s=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+s},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,s=0;s<this.length;s++){var f=this._zeroBits(this.words[s]);if(n+=f,26!==f)break}return n},l.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},l.prototype.toTwos=function(n){return 0!==this.negative?this.abs().inotn(n).iaddn(1):this.clone()},l.prototype.fromTwos=function(n){return this.testn(n-1)?this.notn(n).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(n){for(;this.length<n.length;)this.words[this.length++]=0;for(var s=0;s<n.length;s++)this.words[s]=this.words[s]|n.words[s];return this.strip()},l.prototype.ior=function(n){return y(0==(this.negative|n.negative)),this.iuor(n)},l.prototype.or=function(n){return this.length>n.length?this.clone().ior(n):n.clone().ior(this)},l.prototype.uor=function(n){return this.length>n.length?this.clone().iuor(n):n.clone().iuor(this)},l.prototype.iuand=function(n){var s;s=this.length>n.length?n:this;for(var f=0;f<s.length;f++)this.words[f]=this.words[f]&n.words[f];return this.length=s.length,this.strip()},l.prototype.iand=function(n){return y(0==(this.negative|n.negative)),this.iuand(n)},l.prototype.and=function(n){return this.length>n.length?this.clone().iand(n):n.clone().iand(this)},l.prototype.uand=function(n){return this.length>n.length?this.clone().iuand(n):n.clone().iuand(this)},l.prototype.iuxor=function(n){var s,f;this.length>n.length?(s=this,f=n):(s=n,f=this);for(var h=0;h<f.length;h++)this.words[h]=s.words[h]^f.words[h];if(this!==s)for(;h<s.length;h++)this.words[h]=s.words[h];return this.length=s.length,this.strip()},l.prototype.ixor=function(n){return y(0==(this.negative|n.negative)),this.iuxor(n)},l.prototype.xor=function(n){return this.length>n.length?this.clone().ixor(n):n.clone().ixor(this)},l.prototype.uxor=function(n){return this.length>n.length?this.clone().iuxor(n):n.clone().iuxor(this)},l.prototype.inotn=function(n){y("number"==typeof n&&n>=0);var s=0|Math.ceil(n/26),f=n%26;this._expand(s),f>0&&s--;for(var h=0;h<s;h++)this.words[h]=67108863&~this.words[h];return f>0&&(this.words[h]=~this.words[h]&67108863>>26-f),this.strip()},l.prototype.notn=function(n){return this.clone().inotn(n)},l.prototype.setn=function(n,s){y("number"==typeof n&&n>=0);var f=n/26|0,h=n%26;return this._expand(f+1),this.words[f]=s?this.words[f]|1<<h:this.words[f]&~(1<<h),this.strip()},l.prototype.iadd=function(n){var s,f,h;if(0!==this.negative&&0===n.negative)return this.negative=0,s=this.isub(n),this.negative^=1,this._normSign();if(0===this.negative&&0!==n.negative)return n.negative=0,s=this.isub(n),n.negative=1,s._normSign();this.length>n.length?(f=this,h=n):(f=n,h=this);for(var w=0,D=0;D<h.length;D++)this.words[D]=67108863&(s=(0|f.words[D])+(0|h.words[D])+w),w=s>>>26;for(;0!==w&&D<f.length;D++)this.words[D]=67108863&(s=(0|f.words[D])+w),w=s>>>26;if(this.length=f.length,0!==w)this.words[this.length]=w,this.length++;else if(f!==this)for(;D<f.length;D++)this.words[D]=f.words[D];return this},l.prototype.add=function(n){var s;return 0!==n.negative&&0===this.negative?(n.negative=0,s=this.sub(n),n.negative^=1,s):0===n.negative&&0!==this.negative?(this.negative=0,s=n.sub(this),this.negative=1,s):this.length>n.length?this.clone().iadd(n):n.clone().iadd(this)},l.prototype.isub=function(n){if(0!==n.negative){n.negative=0;var s=this.iadd(n);return n.negative=1,s._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var h,w,f=this.cmp(n);if(0===f)return this.negative=0,this.length=1,this.words[0]=0,this;f>0?(h=this,w=n):(h=n,w=this);for(var D=0,O=0;O<w.length;O++)D=(s=(0|h.words[O])-(0|w.words[O])+D)>>26,this.words[O]=67108863&s;for(;0!==D&&O<h.length;O++)D=(s=(0|h.words[O])+D)>>26,this.words[O]=67108863&s;if(0===D&&O<h.length&&h!==this)for(;O<h.length;O++)this.words[O]=h.words[O];return this.length=Math.max(this.length,O),h!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(n){return this.clone().isub(n)};var B=function(n,s,f){var v,r,g,h=n.words,w=s.words,D=f.words,O=0,H=0|h[0],N=8191&H,ee=H>>>13,De=0|h[1],ot=8191&De,je=De>>>13,Je=0|h[2],ye=8191&Je,me=Je>>>13,he=0|h[3],xe=8191&he,de=he>>>13,ge=0|h[4],qe=8191&ge,oe=ge>>>13,ve=0|h[5],le=8191&ve,Ge=ve>>>13,We=0|h[6],wt=8191&We,mt=We>>>13,kt=0|h[7],Ae=8191&kt,Be=kt>>>13,it=0|h[8],$e=8191&it,ke=it>>>13,st=0|h[9],Ke=8191&st,Et=st>>>13,ct=0|w[0],te=8191&ct,Pe=ct>>>13,$t=0|w[1],Ze=8191&$t,Qe=$t>>>13,zt=0|w[2],xt=8191&zt,Ot=zt>>>13,yt=0|w[3],nt=8191&yt,Ee=yt>>>13,tt=0|w[4],Ue=8191&tt,Xe=tt>>>13,gt=0|w[5],Le=8191&gt,be=gt>>>13,J=0|w[6],re=8191&J,Ie=J>>>13,Nt=0|w[7],At=8191&Nt,Zt=Nt>>>13,mi=0|w[8],Jt=8191&mi,Xt=mi>>>13,Hi=0|w[9],li=8191&Hi,hi=Hi>>>13;f.negative=n.negative^s.negative,f.length=19;var un=(O+(v=Math.imul(N,te))|0)+((8191&(r=(r=Math.imul(N,Pe))+Math.imul(ee,te)|0))<<13)|0;O=((g=Math.imul(ee,Pe))+(r>>>13)|0)+(un>>>26)|0,un&=67108863,v=Math.imul(ot,te),r=(r=Math.imul(ot,Pe))+Math.imul(je,te)|0,g=Math.imul(je,Pe);var Qi=(O+(v=v+Math.imul(N,Ze)|0)|0)+((8191&(r=(r=r+Math.imul(N,Qe)|0)+Math.imul(ee,Ze)|0))<<13)|0;O=((g=g+Math.imul(ee,Qe)|0)+(r>>>13)|0)+(Qi>>>26)|0,Qi&=67108863,v=Math.imul(ye,te),r=(r=Math.imul(ye,Pe))+Math.imul(me,te)|0,g=Math.imul(me,Pe),v=v+Math.imul(ot,Ze)|0,r=(r=r+Math.imul(ot,Qe)|0)+Math.imul(je,Ze)|0,g=g+Math.imul(je,Qe)|0;var xi=(O+(v=v+Math.imul(N,xt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ot)|0)+Math.imul(ee,xt)|0))<<13)|0;O=((g=g+Math.imul(ee,Ot)|0)+(r>>>13)|0)+(xi>>>26)|0,xi&=67108863,v=Math.imul(xe,te),r=(r=Math.imul(xe,Pe))+Math.imul(de,te)|0,g=Math.imul(de,Pe),v=v+Math.imul(ye,Ze)|0,r=(r=r+Math.imul(ye,Qe)|0)+Math.imul(me,Ze)|0,g=g+Math.imul(me,Qe)|0,v=v+Math.imul(ot,xt)|0,r=(r=r+Math.imul(ot,Ot)|0)+Math.imul(je,xt)|0,g=g+Math.imul(je,Ot)|0;var sn=(O+(v=v+Math.imul(N,nt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ee)|0)+Math.imul(ee,nt)|0))<<13)|0;O=((g=g+Math.imul(ee,Ee)|0)+(r>>>13)|0)+(sn>>>26)|0,sn&=67108863,v=Math.imul(qe,te),r=(r=Math.imul(qe,Pe))+Math.imul(oe,te)|0,g=Math.imul(oe,Pe),v=v+Math.imul(xe,Ze)|0,r=(r=r+Math.imul(xe,Qe)|0)+Math.imul(de,Ze)|0,g=g+Math.imul(de,Qe)|0,v=v+Math.imul(ye,xt)|0,r=(r=r+Math.imul(ye,Ot)|0)+Math.imul(me,xt)|0,g=g+Math.imul(me,Ot)|0,v=v+Math.imul(ot,nt)|0,r=(r=r+Math.imul(ot,Ee)|0)+Math.imul(je,nt)|0,g=g+Math.imul(je,Ee)|0;var at=(O+(v=v+Math.imul(N,Ue)|0)|0)+((8191&(r=(r=r+Math.imul(N,Xe)|0)+Math.imul(ee,Ue)|0))<<13)|0;O=((g=g+Math.imul(ee,Xe)|0)+(r>>>13)|0)+(at>>>26)|0,at&=67108863,v=Math.imul(le,te),r=(r=Math.imul(le,Pe))+Math.imul(Ge,te)|0,g=Math.imul(Ge,Pe),v=v+Math.imul(qe,Ze)|0,r=(r=r+Math.imul(qe,Qe)|0)+Math.imul(oe,Ze)|0,g=g+Math.imul(oe,Qe)|0,v=v+Math.imul(xe,xt)|0,r=(r=r+Math.imul(xe,Ot)|0)+Math.imul(de,xt)|0,g=g+Math.imul(de,Ot)|0,v=v+Math.imul(ye,nt)|0,r=(r=r+Math.imul(ye,Ee)|0)+Math.imul(me,nt)|0,g=g+Math.imul(me,Ee)|0,v=v+Math.imul(ot,Ue)|0,r=(r=r+Math.imul(ot,Xe)|0)+Math.imul(je,Ue)|0,g=g+Math.imul(je,Xe)|0;var oi=(O+(v=v+Math.imul(N,Le)|0)|0)+((8191&(r=(r=r+Math.imul(N,be)|0)+Math.imul(ee,Le)|0))<<13)|0;O=((g=g+Math.imul(ee,be)|0)+(r>>>13)|0)+(oi>>>26)|0,oi&=67108863,v=Math.imul(wt,te),r=(r=Math.imul(wt,Pe))+Math.imul(mt,te)|0,g=Math.imul(mt,Pe),v=v+Math.imul(le,Ze)|0,r=(r=r+Math.imul(le,Qe)|0)+Math.imul(Ge,Ze)|0,g=g+Math.imul(Ge,Qe)|0,v=v+Math.imul(qe,xt)|0,r=(r=r+Math.imul(qe,Ot)|0)+Math.imul(oe,xt)|0,g=g+Math.imul(oe,Ot)|0,v=v+Math.imul(xe,nt)|0,r=(r=r+Math.imul(xe,Ee)|0)+Math.imul(de,nt)|0,g=g+Math.imul(de,Ee)|0,v=v+Math.imul(ye,Ue)|0,r=(r=r+Math.imul(ye,Xe)|0)+Math.imul(me,Ue)|0,g=g+Math.imul(me,Xe)|0,v=v+Math.imul(ot,Le)|0,r=(r=r+Math.imul(ot,be)|0)+Math.imul(je,Le)|0,g=g+Math.imul(je,be)|0;var Ce=(O+(v=v+Math.imul(N,re)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ie)|0)+Math.imul(ee,re)|0))<<13)|0;O=((g=g+Math.imul(ee,Ie)|0)+(r>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,v=Math.imul(Ae,te),r=(r=Math.imul(Ae,Pe))+Math.imul(Be,te)|0,g=Math.imul(Be,Pe),v=v+Math.imul(wt,Ze)|0,r=(r=r+Math.imul(wt,Qe)|0)+Math.imul(mt,Ze)|0,g=g+Math.imul(mt,Qe)|0,v=v+Math.imul(le,xt)|0,r=(r=r+Math.imul(le,Ot)|0)+Math.imul(Ge,xt)|0,g=g+Math.imul(Ge,Ot)|0,v=v+Math.imul(qe,nt)|0,r=(r=r+Math.imul(qe,Ee)|0)+Math.imul(oe,nt)|0,g=g+Math.imul(oe,Ee)|0,v=v+Math.imul(xe,Ue)|0,r=(r=r+Math.imul(xe,Xe)|0)+Math.imul(de,Ue)|0,g=g+Math.imul(de,Xe)|0,v=v+Math.imul(ye,Le)|0,r=(r=r+Math.imul(ye,be)|0)+Math.imul(me,Le)|0,g=g+Math.imul(me,be)|0,v=v+Math.imul(ot,re)|0,r=(r=r+Math.imul(ot,Ie)|0)+Math.imul(je,re)|0,g=g+Math.imul(je,Ie)|0;var St=(O+(v=v+Math.imul(N,At)|0)|0)+((8191&(r=(r=r+Math.imul(N,Zt)|0)+Math.imul(ee,At)|0))<<13)|0;O=((g=g+Math.imul(ee,Zt)|0)+(r>>>13)|0)+(St>>>26)|0,St&=67108863,v=Math.imul($e,te),r=(r=Math.imul($e,Pe))+Math.imul(ke,te)|0,g=Math.imul(ke,Pe),v=v+Math.imul(Ae,Ze)|0,r=(r=r+Math.imul(Ae,Qe)|0)+Math.imul(Be,Ze)|0,g=g+Math.imul(Be,Qe)|0,v=v+Math.imul(wt,xt)|0,r=(r=r+Math.imul(wt,Ot)|0)+Math.imul(mt,xt)|0,g=g+Math.imul(mt,Ot)|0,v=v+Math.imul(le,nt)|0,r=(r=r+Math.imul(le,Ee)|0)+Math.imul(Ge,nt)|0,g=g+Math.imul(Ge,Ee)|0,v=v+Math.imul(qe,Ue)|0,r=(r=r+Math.imul(qe,Xe)|0)+Math.imul(oe,Ue)|0,g=g+Math.imul(oe,Xe)|0,v=v+Math.imul(xe,Le)|0,r=(r=r+Math.imul(xe,be)|0)+Math.imul(de,Le)|0,g=g+Math.imul(de,be)|0,v=v+Math.imul(ye,re)|0,r=(r=r+Math.imul(ye,Ie)|0)+Math.imul(me,re)|0,g=g+Math.imul(me,Ie)|0,v=v+Math.imul(ot,At)|0,r=(r=r+Math.imul(ot,Zt)|0)+Math.imul(je,At)|0,g=g+Math.imul(je,Zt)|0;var Ft=(O+(v=v+Math.imul(N,Jt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Xt)|0)+Math.imul(ee,Jt)|0))<<13)|0;O=((g=g+Math.imul(ee,Xt)|0)+(r>>>13)|0)+(Ft>>>26)|0,Ft&=67108863,v=Math.imul(Ke,te),r=(r=Math.imul(Ke,Pe))+Math.imul(Et,te)|0,g=Math.imul(Et,Pe),v=v+Math.imul($e,Ze)|0,r=(r=r+Math.imul($e,Qe)|0)+Math.imul(ke,Ze)|0,g=g+Math.imul(ke,Qe)|0,v=v+Math.imul(Ae,xt)|0,r=(r=r+Math.imul(Ae,Ot)|0)+Math.imul(Be,xt)|0,g=g+Math.imul(Be,Ot)|0,v=v+Math.imul(wt,nt)|0,r=(r=r+Math.imul(wt,Ee)|0)+Math.imul(mt,nt)|0,g=g+Math.imul(mt,Ee)|0,v=v+Math.imul(le,Ue)|0,r=(r=r+Math.imul(le,Xe)|0)+Math.imul(Ge,Ue)|0,g=g+Math.imul(Ge,Xe)|0,v=v+Math.imul(qe,Le)|0,r=(r=r+Math.imul(qe,be)|0)+Math.imul(oe,Le)|0,g=g+Math.imul(oe,be)|0,v=v+Math.imul(xe,re)|0,r=(r=r+Math.imul(xe,Ie)|0)+Math.imul(de,re)|0,g=g+Math.imul(de,Ie)|0,v=v+Math.imul(ye,At)|0,r=(r=r+Math.imul(ye,Zt)|0)+Math.imul(me,At)|0,g=g+Math.imul(me,Zt)|0,v=v+Math.imul(ot,Jt)|0,r=(r=r+Math.imul(ot,Xt)|0)+Math.imul(je,Jt)|0,g=g+Math.imul(je,Xt)|0;var Dt=(O+(v=v+Math.imul(N,li)|0)|0)+((8191&(r=(r=r+Math.imul(N,hi)|0)+Math.imul(ee,li)|0))<<13)|0;O=((g=g+Math.imul(ee,hi)|0)+(r>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,v=Math.imul(Ke,Ze),r=(r=Math.imul(Ke,Qe))+Math.imul(Et,Ze)|0,g=Math.imul(Et,Qe),v=v+Math.imul($e,xt)|0,r=(r=r+Math.imul($e,Ot)|0)+Math.imul(ke,xt)|0,g=g+Math.imul(ke,Ot)|0,v=v+Math.imul(Ae,nt)|0,r=(r=r+Math.imul(Ae,Ee)|0)+Math.imul(Be,nt)|0,g=g+Math.imul(Be,Ee)|0,v=v+Math.imul(wt,Ue)|0,r=(r=r+Math.imul(wt,Xe)|0)+Math.imul(mt,Ue)|0,g=g+Math.imul(mt,Xe)|0,v=v+Math.imul(le,Le)|0,r=(r=r+Math.imul(le,be)|0)+Math.imul(Ge,Le)|0,g=g+Math.imul(Ge,be)|0,v=v+Math.imul(qe,re)|0,r=(r=r+Math.imul(qe,Ie)|0)+Math.imul(oe,re)|0,g=g+Math.imul(oe,Ie)|0,v=v+Math.imul(xe,At)|0,r=(r=r+Math.imul(xe,Zt)|0)+Math.imul(de,At)|0,g=g+Math.imul(de,Zt)|0,v=v+Math.imul(ye,Jt)|0,r=(r=r+Math.imul(ye,Xt)|0)+Math.imul(me,Jt)|0,g=g+Math.imul(me,Xt)|0;var It=(O+(v=v+Math.imul(ot,li)|0)|0)+((8191&(r=(r=r+Math.imul(ot,hi)|0)+Math.imul(je,li)|0))<<13)|0;O=((g=g+Math.imul(je,hi)|0)+(r>>>13)|0)+(It>>>26)|0,It&=67108863,v=Math.imul(Ke,xt),r=(r=Math.imul(Ke,Ot))+Math.imul(Et,xt)|0,g=Math.imul(Et,Ot),v=v+Math.imul($e,nt)|0,r=(r=r+Math.imul($e,Ee)|0)+Math.imul(ke,nt)|0,g=g+Math.imul(ke,Ee)|0,v=v+Math.imul(Ae,Ue)|0,r=(r=r+Math.imul(Ae,Xe)|0)+Math.imul(Be,Ue)|0,g=g+Math.imul(Be,Xe)|0,v=v+Math.imul(wt,Le)|0,r=(r=r+Math.imul(wt,be)|0)+Math.imul(mt,Le)|0,g=g+Math.imul(mt,be)|0,v=v+Math.imul(le,re)|0,r=(r=r+Math.imul(le,Ie)|0)+Math.imul(Ge,re)|0,g=g+Math.imul(Ge,Ie)|0,v=v+Math.imul(qe,At)|0,r=(r=r+Math.imul(qe,Zt)|0)+Math.imul(oe,At)|0,g=g+Math.imul(oe,Zt)|0,v=v+Math.imul(xe,Jt)|0,r=(r=r+Math.imul(xe,Xt)|0)+Math.imul(de,Jt)|0,g=g+Math.imul(de,Xt)|0;var Ut=(O+(v=v+Math.imul(ye,li)|0)|0)+((8191&(r=(r=r+Math.imul(ye,hi)|0)+Math.imul(me,li)|0))<<13)|0;O=((g=g+Math.imul(me,hi)|0)+(r>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,v=Math.imul(Ke,nt),r=(r=Math.imul(Ke,Ee))+Math.imul(Et,nt)|0,g=Math.imul(Et,Ee),v=v+Math.imul($e,Ue)|0,r=(r=r+Math.imul($e,Xe)|0)+Math.imul(ke,Ue)|0,g=g+Math.imul(ke,Xe)|0,v=v+Math.imul(Ae,Le)|0,r=(r=r+Math.imul(Ae,be)|0)+Math.imul(Be,Le)|0,g=g+Math.imul(Be,be)|0,v=v+Math.imul(wt,re)|0,r=(r=r+Math.imul(wt,Ie)|0)+Math.imul(mt,re)|0,g=g+Math.imul(mt,Ie)|0,v=v+Math.imul(le,At)|0,r=(r=r+Math.imul(le,Zt)|0)+Math.imul(Ge,At)|0,g=g+Math.imul(Ge,Zt)|0,v=v+Math.imul(qe,Jt)|0,r=(r=r+Math.imul(qe,Xt)|0)+Math.imul(oe,Jt)|0,g=g+Math.imul(oe,Xt)|0;var ai=(O+(v=v+Math.imul(xe,li)|0)|0)+((8191&(r=(r=r+Math.imul(xe,hi)|0)+Math.imul(de,li)|0))<<13)|0;O=((g=g+Math.imul(de,hi)|0)+(r>>>13)|0)+(ai>>>26)|0,ai&=67108863,v=Math.imul(Ke,Ue),r=(r=Math.imul(Ke,Xe))+Math.imul(Et,Ue)|0,g=Math.imul(Et,Xe),v=v+Math.imul($e,Le)|0,r=(r=r+Math.imul($e,be)|0)+Math.imul(ke,Le)|0,g=g+Math.imul(ke,be)|0,v=v+Math.imul(Ae,re)|0,r=(r=r+Math.imul(Ae,Ie)|0)+Math.imul(Be,re)|0,g=g+Math.imul(Be,Ie)|0,v=v+Math.imul(wt,At)|0,r=(r=r+Math.imul(wt,Zt)|0)+Math.imul(mt,At)|0,g=g+Math.imul(mt,Zt)|0,v=v+Math.imul(le,Jt)|0,r=(r=r+Math.imul(le,Xt)|0)+Math.imul(Ge,Jt)|0,g=g+Math.imul(Ge,Xt)|0;var _i=(O+(v=v+Math.imul(qe,li)|0)|0)+((8191&(r=(r=r+Math.imul(qe,hi)|0)+Math.imul(oe,li)|0))<<13)|0;O=((g=g+Math.imul(oe,hi)|0)+(r>>>13)|0)+(_i>>>26)|0,_i&=67108863,v=Math.imul(Ke,Le),r=(r=Math.imul(Ke,be))+Math.imul(Et,Le)|0,g=Math.imul(Et,be),v=v+Math.imul($e,re)|0,r=(r=r+Math.imul($e,Ie)|0)+Math.imul(ke,re)|0,g=g+Math.imul(ke,Ie)|0,v=v+Math.imul(Ae,At)|0,r=(r=r+Math.imul(Ae,Zt)|0)+Math.imul(Be,At)|0,g=g+Math.imul(Be,Zt)|0,v=v+Math.imul(wt,Jt)|0,r=(r=r+Math.imul(wt,Xt)|0)+Math.imul(mt,Jt)|0,g=g+Math.imul(mt,Xt)|0;var bi=(O+(v=v+Math.imul(le,li)|0)|0)+((8191&(r=(r=r+Math.imul(le,hi)|0)+Math.imul(Ge,li)|0))<<13)|0;O=((g=g+Math.imul(Ge,hi)|0)+(r>>>13)|0)+(bi>>>26)|0,bi&=67108863,v=Math.imul(Ke,re),r=(r=Math.imul(Ke,Ie))+Math.imul(Et,re)|0,g=Math.imul(Et,Ie),v=v+Math.imul($e,At)|0,r=(r=r+Math.imul($e,Zt)|0)+Math.imul(ke,At)|0,g=g+Math.imul(ke,Zt)|0,v=v+Math.imul(Ae,Jt)|0,r=(r=r+Math.imul(Ae,Xt)|0)+Math.imul(Be,Jt)|0,g=g+Math.imul(Be,Xt)|0;var Oi=(O+(v=v+Math.imul(wt,li)|0)|0)+((8191&(r=(r=r+Math.imul(wt,hi)|0)+Math.imul(mt,li)|0))<<13)|0;O=((g=g+Math.imul(mt,hi)|0)+(r>>>13)|0)+(Oi>>>26)|0,Oi&=67108863,v=Math.imul(Ke,At),r=(r=Math.imul(Ke,Zt))+Math.imul(Et,At)|0,g=Math.imul(Et,Zt),v=v+Math.imul($e,Jt)|0,r=(r=r+Math.imul($e,Xt)|0)+Math.imul(ke,Jt)|0,g=g+Math.imul(ke,Xt)|0;var Bi=(O+(v=v+Math.imul(Ae,li)|0)|0)+((8191&(r=(r=r+Math.imul(Ae,hi)|0)+Math.imul(Be,li)|0))<<13)|0;O=((g=g+Math.imul(Be,hi)|0)+(r>>>13)|0)+(Bi>>>26)|0,Bi&=67108863,v=Math.imul(Ke,Jt),r=(r=Math.imul(Ke,Xt))+Math.imul(Et,Jt)|0,g=Math.imul(Et,Xt);var Vi=(O+(v=v+Math.imul($e,li)|0)|0)+((8191&(r=(r=r+Math.imul($e,hi)|0)+Math.imul(ke,li)|0))<<13)|0;O=((g=g+Math.imul(ke,hi)|0)+(r>>>13)|0)+(Vi>>>26)|0,Vi&=67108863;var Kt=(O+(v=Math.imul(Ke,li))|0)+((8191&(r=(r=Math.imul(Ke,hi))+Math.imul(Et,li)|0))<<13)|0;return O=((g=Math.imul(Et,hi))+(r>>>13)|0)+(Kt>>>26)|0,Kt&=67108863,D[0]=un,D[1]=Qi,D[2]=xi,D[3]=sn,D[4]=at,D[5]=oi,D[6]=Ce,D[7]=St,D[8]=Ft,D[9]=Dt,D[10]=It,D[11]=Ut,D[12]=ai,D[13]=_i,D[14]=bi,D[15]=Oi,D[16]=Bi,D[17]=Vi,D[18]=Kt,0!==O&&(D[19]=O,f.length++),f};function j(S,n,s){return(new K).mulp(S,n,s)}function K(S,n){this.x=S,this.y=n}Math.imul||(B=V),l.prototype.mulTo=function(n,s){var f,h=this.length+n.length;return f=10===this.length&&10===n.length?B(this,n,s):h<63?V(this,n,s):h<1024?function W(S,n,s){s.negative=n.negative^S.negative,s.length=S.length+n.length;for(var f=0,h=0,w=0;w<s.length-1;w++){var D=h;h=0;for(var O=67108863&f,v=Math.min(w,n.length-1),r=Math.max(0,w-S.length+1);r<=v;r++){var ee=(0|S.words[w-r])*(0|n.words[r]),De=67108863&ee;O=67108863&(De=De+O|0),h+=(D=(D=D+(ee/67108864|0)|0)+(De>>>26)|0)>>>26,D&=67108863}s.words[w]=O,f=D,D=h}return 0!==f?s.words[w]=f:s.length--,s.strip()}(this,n,s):j(this,n,s),f},K.prototype.makeRBT=function(n){for(var s=new Array(n),f=l.prototype._countBits(n)-1,h=0;h<n;h++)s[h]=this.revBin(h,f,n);return s},K.prototype.revBin=function(n,s,f){if(0===n||n===f-1)return n;for(var h=0,w=0;w<s;w++)h|=(1&n)<<s-w-1,n>>=1;return h},K.prototype.permute=function(n,s,f,h,w,D){for(var O=0;O<D;O++)h[O]=s[n[O]],w[O]=f[n[O]]},K.prototype.transform=function(n,s,f,h,w,D){this.permute(D,n,s,f,h,w);for(var O=1;O<w;O<<=1)for(var v=O<<1,r=Math.cos(2*Math.PI/v),g=Math.sin(2*Math.PI/v),H=0;H<w;H+=v)for(var N=r,ee=g,De=0;De<O;De++){var ot=f[H+De],je=h[H+De],Je=f[H+De+O],ye=h[H+De+O],me=N*Je-ee*ye;ye=N*ye+ee*Je,f[H+De]=ot+(Je=me),h[H+De]=je+ye,f[H+De+O]=ot-Je,h[H+De+O]=je-ye,De!==v&&(me=r*N-g*ee,ee=r*ee+g*N,N=me)}},K.prototype.guessLen13b=function(n,s){var f=1|Math.max(s,n),h=1&f,w=0;for(f=f/2|0;f;f>>>=1)w++;return 1<<w+1+h},K.prototype.conjugate=function(n,s,f){if(!(f<=1))for(var h=0;h<f/2;h++){var w=n[h];n[h]=n[f-h-1],n[f-h-1]=w,w=s[h],s[h]=-s[f-h-1],s[f-h-1]=-w}},K.prototype.normalize13b=function(n,s){for(var f=0,h=0;h<s/2;h++){var w=8192*Math.round(n[2*h+1]/s)+Math.round(n[2*h]/s)+f;n[h]=67108863&w,f=w<67108864?0:w/67108864|0}return n},K.prototype.convert13b=function(n,s,f,h){for(var w=0,D=0;D<s;D++)f[2*D]=8191&(w+=0|n[D]),f[2*D+1]=8191&(w>>>=13),w>>>=13;for(D=2*s;D<h;++D)f[D]=0;y(0===w),y(0==(-8192&w))},K.prototype.stub=function(n){for(var s=new Array(n),f=0;f<n;f++)s[f]=0;return s},K.prototype.mulp=function(n,s,f){var h=2*this.guessLen13b(n.length,s.length),w=this.makeRBT(h),D=this.stub(h),O=new Array(h),v=new Array(h),r=new Array(h),g=new Array(h),H=new Array(h),N=new Array(h),ee=f.words;ee.length=h,this.convert13b(n.words,n.length,O,h),this.convert13b(s.words,s.length,g,h),this.transform(O,D,v,r,h,w),this.transform(g,D,H,N,h,w);for(var De=0;De<h;De++){var ot=v[De]*H[De]-r[De]*N[De];r[De]=v[De]*N[De]+r[De]*H[De],v[De]=ot}return this.conjugate(v,r,h),this.transform(v,r,ee,D,h,w),this.conjugate(ee,D,h),this.normalize13b(ee,h),f.negative=n.negative^s.negative,f.length=n.length+s.length,f.strip()},l.prototype.mul=function(n){var s=new l(null);return s.words=new Array(this.length+n.length),this.mulTo(n,s)},l.prototype.mulf=function(n){var s=new l(null);return s.words=new Array(this.length+n.length),j(this,n,s)},l.prototype.imul=function(n){return this.clone().mulTo(n,this)},l.prototype.imuln=function(n){y("number"==typeof n),y(n<67108864);for(var s=0,f=0;f<this.length;f++){var h=(0|this.words[f])*n,w=(67108863&h)+(67108863&s);s>>=26,s+=h/67108864|0,s+=w>>>26,this.words[f]=67108863&w}return 0!==s&&(this.words[f]=s,this.length++),this},l.prototype.muln=function(n){return this.clone().imuln(n)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(n){var s=function k(S){for(var n=new Array(S.bitLength()),s=0;s<n.length;s++){var h=s%26;n[s]=(S.words[s/26|0]&1<<h)>>>h}return n}(n);if(0===s.length)return new l(1);for(var f=this,h=0;h<s.length&&0===s[h];h++,f=f.sqr());if(++h<s.length)for(var w=f.sqr();h<s.length;h++,w=w.sqr())0!==s[h]&&(f=f.mul(w));return f},l.prototype.iushln=function(n){y("number"==typeof n&&n>=0);var w,s=n%26,f=(n-s)/26,h=67108863>>>26-s<<26-s;if(0!==s){var D=0;for(w=0;w<this.length;w++){var O=this.words[w]&h;this.words[w]=(0|this.words[w])-O<<s|D,D=O>>>26-s}D&&(this.words[w]=D,this.length++)}if(0!==f){for(w=this.length-1;w>=0;w--)this.words[w+f]=this.words[w];for(w=0;w<f;w++)this.words[w]=0;this.length+=f}return this.strip()},l.prototype.ishln=function(n){return y(0===this.negative),this.iushln(n)},l.prototype.iushrn=function(n,s,f){var h;y("number"==typeof n&&n>=0),h=s?(s-s%26)/26:0;var w=n%26,D=Math.min((n-w)/26,this.length),O=67108863^67108863>>>w<<w,v=f;if(h-=D,h=Math.max(0,h),v){for(var r=0;r<D;r++)v.words[r]=this.words[r];v.length=D}if(0!==D)if(this.length>D)for(this.length-=D,r=0;r<this.length;r++)this.words[r]=this.words[r+D];else this.words[0]=0,this.length=1;var g=0;for(r=this.length-1;r>=0&&(0!==g||r>=h);r--){var H=0|this.words[r];this.words[r]=g<<26-w|H>>>w,g=H&O}return v&&0!==g&&(v.words[v.length++]=g),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(n,s,f){return y(0===this.negative),this.iushrn(n,s,f)},l.prototype.shln=function(n){return this.clone().ishln(n)},l.prototype.ushln=function(n){return this.clone().iushln(n)},l.prototype.shrn=function(n){return this.clone().ishrn(n)},l.prototype.ushrn=function(n){return this.clone().iushrn(n)},l.prototype.testn=function(n){y("number"==typeof n&&n>=0);var s=n%26,f=(n-s)/26;return!(this.length<=f||!(this.words[f]&1<<s))},l.prototype.imaskn=function(n){y("number"==typeof n&&n>=0);var s=n%26,f=(n-s)/26;return y(0===this.negative,"imaskn works only with positive numbers"),this.length<=f?this:(0!==s&&f++,this.length=Math.min(f,this.length),0!==s&&(this.words[this.length-1]&=67108863^67108863>>>s<<s),this.strip())},l.prototype.maskn=function(n){return this.clone().imaskn(n)},l.prototype.iaddn=function(n){return y("number"==typeof n),y(n<67108864),n<0?this.isubn(-n):0!==this.negative?1===this.length&&(0|this.words[0])<n?(this.words[0]=n-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(n),this.negative=1,this):this._iaddn(n)},l.prototype._iaddn=function(n){this.words[0]+=n;for(var s=0;s<this.length&&this.words[s]>=67108864;s++)this.words[s]-=67108864,s===this.length-1?this.words[s+1]=1:this.words[s+1]++;return this.length=Math.max(this.length,s+1),this},l.prototype.isubn=function(n){if(y("number"==typeof n),y(n<67108864),n<0)return this.iaddn(-n);if(0!==this.negative)return this.negative=0,this.iaddn(n),this.negative=1,this;if(this.words[0]-=n,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var s=0;s<this.length&&this.words[s]<0;s++)this.words[s]+=67108864,this.words[s+1]-=1;return this.strip()},l.prototype.addn=function(n){return this.clone().iaddn(n)},l.prototype.subn=function(n){return this.clone().isubn(n)},l.prototype.iabs=function(){return this.negative=0,this},l.prototype.abs=function(){return this.clone().iabs()},l.prototype._ishlnsubmul=function(n,s,f){var w;this._expand(n.length+f);var D,O=0;for(w=0;w<n.length;w++){D=(0|this.words[w+f])+O;var v=(0|n.words[w])*s;O=((D-=67108863&v)>>26)-(v/67108864|0),this.words[w+f]=67108863&D}for(;w<this.length-f;w++)O=(D=(0|this.words[w+f])+O)>>26,this.words[w+f]=67108863&D;if(0===O)return this.strip();for(y(-1===O),O=0,w=0;w<this.length;w++)O=(D=-(0|this.words[w])+O)>>26,this.words[w]=67108863&D;return this.negative=1,this.strip()},l.prototype._wordDiv=function(n,s){var f,h=this.clone(),w=n,D=0|w.words[w.length-1];0!=(f=26-this._countBits(D))&&(w=w.ushln(f),h.iushln(f),D=0|w.words[w.length-1]);var r,v=h.length-w.length;if("mod"!==s){(r=new l(null)).length=v+1,r.words=new Array(r.length);for(var g=0;g<r.length;g++)r.words[g]=0}var H=h.clone()._ishlnsubmul(w,1,v);0===H.negative&&(h=H,r&&(r.words[v]=1));for(var N=v-1;N>=0;N--){var ee=67108864*(0|h.words[w.length+N])+(0|h.words[w.length+N-1]);for(ee=Math.min(ee/D|0,67108863),h._ishlnsubmul(w,ee,N);0!==h.negative;)ee--,h.negative=0,h._ishlnsubmul(w,1,N),h.isZero()||(h.negative^=1);r&&(r.words[N]=ee)}return r&&r.strip(),h.strip(),"div"!==s&&0!==f&&h.iushrn(f),{div:r||null,mod:h}},l.prototype.divmod=function(n,s,f){return y(!n.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===n.negative?(D=this.neg().divmod(n,s),"mod"!==s&&(h=D.div.neg()),"div"!==s&&(w=D.mod.neg(),f&&0!==w.negative&&w.iadd(n)),{div:h,mod:w}):0===this.negative&&0!==n.negative?(D=this.divmod(n.neg(),s),"mod"!==s&&(h=D.div.neg()),{div:h,mod:D.mod}):this.negative&n.negative?(D=this.neg().divmod(n.neg(),s),"div"!==s&&(w=D.mod.neg(),f&&0!==w.negative&&w.isub(n)),{div:D.div,mod:w}):n.length>this.length||this.cmp(n)<0?{div:new l(0),mod:this}:1===n.length?"div"===s?{div:this.divn(n.words[0]),mod:null}:"mod"===s?{div:null,mod:new l(this.modn(n.words[0]))}:{div:this.divn(n.words[0]),mod:new l(this.modn(n.words[0]))}:this._wordDiv(n,s);var h,w,D},l.prototype.div=function(n){return this.divmod(n,"div",!1).div},l.prototype.mod=function(n){return this.divmod(n,"mod",!1).mod},l.prototype.umod=function(n){return this.divmod(n,"mod",!0).mod},l.prototype.divRound=function(n){var s=this.divmod(n);if(s.mod.isZero())return s.div;var f=0!==s.div.negative?s.mod.isub(n):s.mod,h=n.ushrn(1),w=n.andln(1),D=f.cmp(h);return D<0||1===w&&0===D?s.div:0!==s.div.negative?s.div.isubn(1):s.div.iaddn(1)},l.prototype.modn=function(n){y(n<=67108863);for(var s=(1<<26)%n,f=0,h=this.length-1;h>=0;h--)f=(s*f+(0|this.words[h]))%n;return f},l.prototype.idivn=function(n){y(n<=67108863);for(var s=0,f=this.length-1;f>=0;f--){var h=(0|this.words[f])+67108864*s;this.words[f]=h/n|0,s=h%n}return this.strip()},l.prototype.divn=function(n){return this.clone().idivn(n)},l.prototype.egcd=function(n){y(0===n.negative),y(!n.isZero());var s=this,f=n.clone();s=0!==s.negative?s.umod(n):s.clone();for(var h=new l(1),w=new l(0),D=new l(0),O=new l(1),v=0;s.isEven()&&f.isEven();)s.iushrn(1),f.iushrn(1),++v;for(var r=f.clone(),g=s.clone();!s.isZero();){for(var H=0,N=1;!(s.words[0]&N)&&H<26;++H,N<<=1);if(H>0)for(s.iushrn(H);H-- >0;)(h.isOdd()||w.isOdd())&&(h.iadd(r),w.isub(g)),h.iushrn(1),w.iushrn(1);for(var ee=0,De=1;!(f.words[0]&De)&&ee<26;++ee,De<<=1);if(ee>0)for(f.iushrn(ee);ee-- >0;)(D.isOdd()||O.isOdd())&&(D.iadd(r),O.isub(g)),D.iushrn(1),O.iushrn(1);s.cmp(f)>=0?(s.isub(f),h.isub(D),w.isub(O)):(f.isub(s),D.isub(h),O.isub(w))}return{a:D,b:O,gcd:f.iushln(v)}},l.prototype._invmp=function(n){y(0===n.negative),y(!n.isZero());var H,s=this,f=n.clone();s=0!==s.negative?s.umod(n):s.clone();for(var h=new l(1),w=new l(0),D=f.clone();s.cmpn(1)>0&&f.cmpn(1)>0;){for(var O=0,v=1;!(s.words[0]&v)&&O<26;++O,v<<=1);if(O>0)for(s.iushrn(O);O-- >0;)h.isOdd()&&h.iadd(D),h.iushrn(1);for(var r=0,g=1;!(f.words[0]&g)&&r<26;++r,g<<=1);if(r>0)for(f.iushrn(r);r-- >0;)w.isOdd()&&w.iadd(D),w.iushrn(1);s.cmp(f)>=0?(s.isub(f),h.isub(w)):(f.isub(s),w.isub(h))}return(H=0===s.cmpn(1)?h:w).cmpn(0)<0&&H.iadd(n),H},l.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var s=this.clone(),f=n.clone();s.negative=0,f.negative=0;for(var h=0;s.isEven()&&f.isEven();h++)s.iushrn(1),f.iushrn(1);for(;;){for(;s.isEven();)s.iushrn(1);for(;f.isEven();)f.iushrn(1);var w=s.cmp(f);if(w<0){var D=s;s=f,f=D}else if(0===w||0===f.cmpn(1))break;s.isub(f)}return f.iushln(h)},l.prototype.invm=function(n){return this.egcd(n).a.umod(n)},l.prototype.isEven=function(){return 0==(1&this.words[0])},l.prototype.isOdd=function(){return 1==(1&this.words[0])},l.prototype.andln=function(n){return this.words[0]&n},l.prototype.bincn=function(n){y("number"==typeof n);var s=n%26,f=(n-s)/26,h=1<<s;if(this.length<=f)return this._expand(f+1),this.words[f]|=h,this;for(var w=h,D=f;0!==w&&D<this.length;D++){var O=0|this.words[D];w=(O+=w)>>>26,this.words[D]=O&=67108863}return 0!==w&&(this.words[D]=w,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(n){var f,s=n<0;if(0!==this.negative&&!s)return-1;if(0===this.negative&&s)return 1;if(this.strip(),this.length>1)f=1;else{s&&(n=-n),y(n<=67108863,"Number is too big");var h=0|this.words[0];f=h===n?0:h<n?-1:1}return 0!==this.negative?0|-f:f},l.prototype.cmp=function(n){if(0!==this.negative&&0===n.negative)return-1;if(0===this.negative&&0!==n.negative)return 1;var s=this.ucmp(n);return 0!==this.negative?0|-s:s},l.prototype.ucmp=function(n){if(this.length>n.length)return 1;if(this.length<n.length)return-1;for(var s=0,f=this.length-1;f>=0;f--){var h=0|this.words[f],w=0|n.words[f];if(h!==w){h<w?s=-1:h>w&&(s=1);break}}return s},l.prototype.gtn=function(n){return 1===this.cmpn(n)},l.prototype.gt=function(n){return 1===this.cmp(n)},l.prototype.gten=function(n){return this.cmpn(n)>=0},l.prototype.gte=function(n){return this.cmp(n)>=0},l.prototype.ltn=function(n){return-1===this.cmpn(n)},l.prototype.lt=function(n){return-1===this.cmp(n)},l.prototype.lten=function(n){return this.cmpn(n)<=0},l.prototype.lte=function(n){return this.cmp(n)<=0},l.prototype.eqn=function(n){return 0===this.cmpn(n)},l.prototype.eq=function(n){return 0===this.cmp(n)},l.red=function(n){return new $(n)},l.prototype.toRed=function(n){return y(!this.red,"Already a number in reduction context"),y(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},l.prototype.fromRed=function(){return y(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(n){return this.red=n,this},l.prototype.forceRed=function(n){return y(!this.red,"Already a number in reduction context"),this._forceRed(n)},l.prototype.redAdd=function(n){return y(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},l.prototype.redIAdd=function(n){return y(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},l.prototype.redSub=function(n){return y(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},l.prototype.redISub=function(n){return y(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},l.prototype.redShl=function(n){return y(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},l.prototype.redMul=function(n){return y(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},l.prototype.redIMul=function(n){return y(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},l.prototype.redSqr=function(){return y(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return y(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return y(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return y(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return y(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(n){return y(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var X={k256:null,p224:null,p192:null,p25519:null};function ie(S,n){this.name=S,this.p=new l(n,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function ae(){ie.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function fe(){ie.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function se(){ie.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function Me(){ie.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function $(S){if("string"==typeof S){var n=l._prime(S);this.m=n.p,this.prime=n}else y(S.gtn(1),"modulus must be greater than 1"),this.m=S,this.prime=null}function ue(S){$.call(this,S),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}ie.prototype._tmp=function(){var n=new l(null);return n.words=new Array(Math.ceil(this.n/13)),n},ie.prototype.ireduce=function(n){var f,s=n;do{this.split(s,this.tmp),f=(s=(s=this.imulK(s)).iadd(this.tmp)).bitLength()}while(f>this.n);var h=f<this.n?-1:s.ucmp(this.p);return 0===h?(s.words[0]=0,s.length=1):h>0?s.isub(this.p):void 0!==s.strip?s.strip():s._strip(),s},ie.prototype.split=function(n,s){n.iushrn(this.n,0,s)},ie.prototype.imulK=function(n){return n.imul(this.k)},A(ae,ie),ae.prototype.split=function(n,s){for(var f=4194303,h=Math.min(n.length,9),w=0;w<h;w++)s.words[w]=n.words[w];if(s.length=h,n.length<=9)return n.words[0]=0,void(n.length=1);var D=n.words[9];for(s.words[s.length++]=D&f,w=10;w<n.length;w++){var O=0|n.words[w];n.words[w-10]=(O&f)<<4|D>>>22,D=O}n.words[w-10]=D>>>=22,n.length-=0===D&&n.length>10?10:9},ae.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var s=0,f=0;f<n.length;f++){var h=0|n.words[f];n.words[f]=67108863&(s+=977*h),s=64*h+(s/67108864|0)}return 0===n.words[n.length-1]&&(n.length--,0===n.words[n.length-1]&&n.length--),n},A(fe,ie),A(se,ie),A(Me,ie),Me.prototype.imulK=function(n){for(var s=0,f=0;f<n.length;f++){var h=19*(0|n.words[f])+s,w=67108863&h;h>>>=26,n.words[f]=w,s=h}return 0!==s&&(n.words[n.length++]=s),n},l._prime=function(n){if(X[n])return X[n];var s;if("k256"===n)s=new ae;else if("p224"===n)s=new fe;else if("p192"===n)s=new se;else{if("p25519"!==n)throw new Error("Unknown prime "+n);s=new Me}return X[n]=s,s},$.prototype._verify1=function(n){y(0===n.negative,"red works only with positives"),y(n.red,"red works only with red numbers")},$.prototype._verify2=function(n,s){y(0==(n.negative|s.negative),"red works only with positives"),y(n.red&&n.red===s.red,"red works only with red numbers")},$.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},$.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},$.prototype.add=function(n,s){this._verify2(n,s);var f=n.add(s);return f.cmp(this.m)>=0&&f.isub(this.m),f._forceRed(this)},$.prototype.iadd=function(n,s){this._verify2(n,s);var f=n.iadd(s);return f.cmp(this.m)>=0&&f.isub(this.m),f},$.prototype.sub=function(n,s){this._verify2(n,s);var f=n.sub(s);return f.cmpn(0)<0&&f.iadd(this.m),f._forceRed(this)},$.prototype.isub=function(n,s){this._verify2(n,s);var f=n.isub(s);return f.cmpn(0)<0&&f.iadd(this.m),f},$.prototype.shl=function(n,s){return this._verify1(n),this.imod(n.ushln(s))},$.prototype.imul=function(n,s){return this._verify2(n,s),this.imod(n.imul(s))},$.prototype.mul=function(n,s){return this._verify2(n,s),this.imod(n.mul(s))},$.prototype.isqr=function(n){return this.imul(n,n.clone())},$.prototype.sqr=function(n){return this.mul(n,n)},$.prototype.sqrt=function(n){if(n.isZero())return n.clone();var s=this.m.andln(3);if(y(s%2==1),3===s){var f=this.m.add(new l(1)).iushrn(2);return this.pow(n,f)}for(var h=this.m.subn(1),w=0;!h.isZero()&&0===h.andln(1);)w++,h.iushrn(1);y(!h.isZero());var D=new l(1).toRed(this),O=D.redNeg(),v=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new l(2*r*r).toRed(this);0!==this.pow(r,v).cmp(O);)r.redIAdd(O);for(var g=this.pow(r,h),H=this.pow(n,h.addn(1).iushrn(1)),N=this.pow(n,h),ee=w;0!==N.cmp(D);){for(var De=N,ot=0;0!==De.cmp(D);ot++)De=De.redSqr();y(ot<ee);var je=this.pow(g,new l(1).iushln(ee-ot-1));H=H.redMul(je),g=je.redSqr(),N=N.redMul(g),ee=ot}return H},$.prototype.invm=function(n){var s=n._invmp(this.m);return 0!==s.negative?(s.negative=0,this.imod(s).redNeg()):this.imod(s)},$.prototype.pow=function(n,s){if(s.isZero())return new l(1).toRed(this);if(0===s.cmpn(1))return n.clone();var h=new Array(16);h[0]=new l(1).toRed(this),h[1]=n;for(var w=2;w<h.length;w++)h[w]=this.mul(h[w-1],n);var D=h[0],O=0,v=0,r=s.bitLength()%26;for(0===r&&(r=26),w=s.length-1;w>=0;w--){for(var g=s.words[w],H=r-1;H>=0;H--){var N=g>>H&1;D!==h[0]&&(D=this.sqr(D)),0!==N||0!==O?(O<<=1,O|=N,(4==++v||0===w&&0===H)&&(D=this.mul(D,h[O]),v=0,O=0)):v=0}r=26}return D},$.prototype.convertTo=function(n){var s=n.umod(this.m);return s===n?s.clone():s},$.prototype.convertFrom=function(n){var s=n.clone();return s.red=null,s},l.mont=function(n){return new ue(n)},A(ue,$),ue.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},ue.prototype.convertFrom=function(n){var s=this.imod(n.mul(this.rinv));return s.red=null,s},ue.prototype.imul=function(n,s){if(n.isZero()||s.isZero())return n.words[0]=0,n.length=1,n;var f=n.imul(s),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),w=f.isub(h).iushrn(this.shift),D=w;return w.cmp(this.m)>=0?D=w.isub(this.m):w.cmpn(0)<0&&(D=w.iadd(this.m)),D._forceRed(this)},ue.prototype.mul=function(n,s){if(n.isZero()||s.isZero())return new l(0)._forceRed(this);var f=n.mul(s),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),w=f.isub(h).iushrn(this.shift),D=w;return w.cmp(this.m)>=0?D=w.isub(this.m):w.cmpn(0)<0&&(D=w.iadd(this.m)),D._forceRed(this)},ue.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(ze=p.nmd(ze),this)},7206:ze=>{"use strict";var q={single_source_shortest_paths:function(p,e,t){var y={},A={};A[e]=0;var x,m,P,d,E,I,l=q.PriorityQueue.make();for(l.push(e,0);!l.empty();)for(P in d=(x=l.pop()).cost,E=p[m=x.value]||{})E.hasOwnProperty(P)&&(I=d+E[P],(typeof A[P]>"u"||A[P]>I)&&(A[P]=I,l.push(P,I),y[P]=m));if(typeof t<"u"&&typeof A[t]>"u"){var B=["Could not find a path from ",e," to ",t,"."].join("");throw new Error(B)}return y},extract_shortest_path_from_predecessor_list:function(p,e){for(var t=[],y=e;y;)t.push(y),y=p[y];return t.reverse(),t},find_path:function(p,e,t){var y=q.single_source_shortest_paths(p,e,t);return q.extract_shortest_path_from_predecessor_list(y,t)},PriorityQueue:{make:function(p){var y,e=q.PriorityQueue,t={};for(y in p=p||{},e)e.hasOwnProperty(y)&&(t[y]=e[y]);return t.queue=[],t.sorter=p.sorter||e.default_sorter,t},default_sorter:function(p,e){return p.cost-e.cost},push:function(p,e){this.queue.push({value:p,cost:e}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};ze.exports=q},8651:(ze,q,p)=>{"use strict";var e=q;e.version=p(8597).i8,e.utils=p(6767),e.rand=p(82),e.curve=p(9132),e.curves=p(8049),e.ec=p(6443),e.eddsa=p(9577)},1324:(ze,q,p)=>{"use strict";var e=p(1387),t=p(6767),y=t.getNAF,A=t.getJSF,l=t.assert;function x(P,d){this.type=P,this.p=new e(d.p,16),this.red=d.prime?e.red(d.prime):e.mont(this.p),this.zero=new e(0).toRed(this.red),this.one=new e(1).toRed(this.red),this.two=new e(2).toRed(this.red),this.n=d.n&&new e(d.n,16),this.g=d.g&&this.pointFromJSON(d.g,d.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var E=this.n&&this.p.div(this.n);!E||E.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function m(P,d){this.curve=P,this.type=d,this.precomputed=null}ze.exports=x,x.prototype.point=function(){throw new Error("Not implemented")},x.prototype.validate=function(){throw new Error("Not implemented")},x.prototype._fixedNafMul=function(d,E){l(d.precomputed);var M=d._getDoubles(),I=y(E,1,this._bitLength),k=(1<<M.step+1)-(M.step%2==0?2:1);k/=3;var B,W,V=[];for(B=0;B<I.length;B+=M.step){W=0;for(var j=B+M.step-1;j>=B;j--)W=(W<<1)+I[j];V.push(W)}for(var K=this.jpoint(null,null,null),X=this.jpoint(null,null,null),ie=k;ie>0;ie--){for(B=0;B<V.length;B++)(W=V[B])===ie?X=X.mixedAdd(M.points[B]):W===-ie&&(X=X.mixedAdd(M.points[B].neg()));K=K.add(X)}return K.toP()},x.prototype._wnafMul=function(d,E){for(var M=4,I=d._getNAFPoints(M),k=I.points,V=y(E,M=I.wnd,this._bitLength),B=this.jpoint(null,null,null),W=V.length-1;W>=0;W--){for(var j=0;W>=0&&0===V[W];W--)j++;if(W>=0&&j++,B=B.dblp(j),W<0)break;var K=V[W];l(0!==K),B="affine"===d.type?B.mixedAdd(K>0?k[K-1>>1]:k[-K-1>>1].neg()):B.add(K>0?k[K-1>>1]:k[-K-1>>1].neg())}return"affine"===d.type?B.toP():B},x.prototype._wnafMulAdd=function(d,E,M,I,k){var K,X,ie,V=this._wnafT1,B=this._wnafT2,W=this._wnafT3,j=0;for(K=0;K<I;K++){var ae=(ie=E[K])._getNAFPoints(d);V[K]=ae.wnd,B[K]=ae.points}for(K=I-1;K>=1;K-=2){var fe=K-1,se=K;if(1===V[fe]&&1===V[se]){var Me=[E[fe],null,null,E[se]];0===E[fe].y.cmp(E[se].y)?(Me[1]=E[fe].add(E[se]),Me[2]=E[fe].toJ().mixedAdd(E[se].neg())):0===E[fe].y.cmp(E[se].y.redNeg())?(Me[1]=E[fe].toJ().mixedAdd(E[se]),Me[2]=E[fe].add(E[se].neg())):(Me[1]=E[fe].toJ().mixedAdd(E[se]),Me[2]=E[fe].toJ().mixedAdd(E[se].neg()));var $=[-3,-1,-5,-7,0,7,5,1,3],ue=A(M[fe],M[se]);for(j=Math.max(ue[0].length,j),W[fe]=new Array(j),W[se]=new Array(j),X=0;X<j;X++)W[fe][X]=$[3*(1+(0|ue[0][X]))+(1+(0|ue[1][X]))],W[se][X]=0,B[fe]=Me}else W[fe]=y(M[fe],V[fe],this._bitLength),W[se]=y(M[se],V[se],this._bitLength),j=Math.max(W[fe].length,j),j=Math.max(W[se].length,j)}var s=this.jpoint(null,null,null),f=this._wnafT4;for(K=j;K>=0;K--){for(var h=0;K>=0;){var w=!0;for(X=0;X<I;X++)f[X]=0|W[X][K],0!==f[X]&&(w=!1);if(!w)break;h++,K--}if(K>=0&&h++,s=s.dblp(h),K<0)break;for(X=0;X<I;X++){var D=f[X];0!==D&&(D>0?ie=B[X][D-1>>1]:D<0&&(ie=B[X][-D-1>>1].neg()),s="affine"===ie.type?s.mixedAdd(ie):s.add(ie))}}for(K=0;K<I;K++)B[K]=null;return k?s:s.toP()},x.BasePoint=m,m.prototype.eq=function(){throw new Error("Not implemented")},m.prototype.validate=function(){return this.curve.validate(this)},x.prototype.decodePoint=function(d,E){d=t.toArray(d,E);var M=this.p.byteLength();if((4===d[0]||6===d[0]||7===d[0])&&d.length-1==2*M)return 6===d[0]?l(d[d.length-1]%2==0):7===d[0]&&l(d[d.length-1]%2==1),this.point(d.slice(1,1+M),d.slice(1+M,1+2*M));if((2===d[0]||3===d[0])&&d.length-1===M)return this.pointFromX(d.slice(1,1+M),3===d[0]);throw new Error("Unknown point format")},m.prototype.encodeCompressed=function(d){return this.encode(d,!0)},m.prototype._encode=function(d){var E=this.curve.p.byteLength(),M=this.getX().toArray("be",E);return d?[this.getY().isEven()?2:3].concat(M):[4].concat(M,this.getY().toArray("be",E))},m.prototype.encode=function(d,E){return t.encode(this._encode(E),d)},m.prototype.precompute=function(d){if(this.precomputed)return this;var E={doubles:null,naf:null,beta:null};return E.naf=this._getNAFPoints(8),E.doubles=this._getDoubles(4,d),E.beta=this._getBeta(),this.precomputed=E,this},m.prototype._hasDoubles=function(d){if(!this.precomputed)return!1;var E=this.precomputed.doubles;return!!E&&E.points.length>=Math.ceil((d.bitLength()+1)/E.step)},m.prototype._getDoubles=function(d,E){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var M=[this],I=this,k=0;k<E;k+=d){for(var V=0;V<d;V++)I=I.dbl();M.push(I)}return{step:d,points:M}},m.prototype._getNAFPoints=function(d){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var E=[this],M=(1<<d)-1,I=1===M?null:this.dbl(),k=1;k<M;k++)E[k]=E[k-1].add(I);return{wnd:d,points:E}},m.prototype._getBeta=function(){return null},m.prototype.dblp=function(d){for(var E=this,M=0;M<d;M++)E=E.dbl();return E}},7665:(ze,q,p)=>{"use strict";var e=p(6767),t=p(1387),y=p(6698),A=p(1324),l=e.assert;function x(P){this.twisted=1!=(0|P.a),this.mOneA=this.twisted&&-1==(0|P.a),this.extended=this.mOneA,A.call(this,"edwards",P),this.a=new t(P.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new t(P.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new t(P.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),l(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|P.c)}function m(P,d,E,M,I){A.BasePoint.call(this,P,"projective"),null===d&&null===E&&null===M?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new t(d,16),this.y=new t(E,16),this.z=M?new t(M,16):this.curve.one,this.t=I&&new t(I,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}y(x,A),ze.exports=x,x.prototype._mulA=function(d){return this.mOneA?d.redNeg():this.a.redMul(d)},x.prototype._mulC=function(d){return this.oneC?d:this.c.redMul(d)},x.prototype.jpoint=function(d,E,M,I){return this.point(d,E,M,I)},x.prototype.pointFromX=function(d,E){(d=new t(d,16)).red||(d=d.toRed(this.red));var M=d.redSqr(),I=this.c2.redSub(this.a.redMul(M)),k=this.one.redSub(this.c2.redMul(this.d).redMul(M)),V=I.redMul(k.redInvm()),B=V.redSqrt();if(0!==B.redSqr().redSub(V).cmp(this.zero))throw new Error("invalid point");var W=B.fromRed().isOdd();return(E&&!W||!E&&W)&&(B=B.redNeg()),this.point(d,B)},x.prototype.pointFromY=function(d,E){(d=new t(d,16)).red||(d=d.toRed(this.red));var M=d.redSqr(),I=M.redSub(this.c2),k=M.redMul(this.d).redMul(this.c2).redSub(this.a),V=I.redMul(k.redInvm());if(0===V.cmp(this.zero)){if(E)throw new Error("invalid point");return this.point(this.zero,d)}var B=V.redSqrt();if(0!==B.redSqr().redSub(V).cmp(this.zero))throw new Error("invalid point");return B.fromRed().isOdd()!==E&&(B=B.redNeg()),this.point(B,d)},x.prototype.validate=function(d){if(d.isInfinity())return!0;d.normalize();var E=d.x.redSqr(),M=d.y.redSqr(),I=E.redMul(this.a).redAdd(M),k=this.c2.redMul(this.one.redAdd(this.d.redMul(E).redMul(M)));return 0===I.cmp(k)},y(m,A.BasePoint),x.prototype.pointFromJSON=function(d){return m.fromJSON(this,d)},x.prototype.point=function(d,E,M,I){return new m(this,d,E,M,I)},m.fromJSON=function(d,E){return new m(d,E[0],E[1],E[2])},m.prototype.inspect=function(){return this.isInfinity()?"<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)+">"},m.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},m.prototype._extDbl=function(){var d=this.x.redSqr(),E=this.y.redSqr(),M=this.z.redSqr();M=M.redIAdd(M);var I=this.curve._mulA(d),k=this.x.redAdd(this.y).redSqr().redISub(d).redISub(E),V=I.redAdd(E),B=V.redSub(M),W=I.redSub(E),j=k.redMul(B),K=V.redMul(W),X=k.redMul(W),ie=B.redMul(V);return this.curve.point(j,K,ie,X)},m.prototype._projDbl=function(){var I,k,V,B,W,j,d=this.x.redAdd(this.y).redSqr(),E=this.x.redSqr(),M=this.y.redSqr();if(this.curve.twisted){var K=(B=this.curve._mulA(E)).redAdd(M);this.zOne?(I=d.redSub(E).redSub(M).redMul(K.redSub(this.curve.two)),k=K.redMul(B.redSub(M)),V=K.redSqr().redSub(K).redSub(K)):(W=this.z.redSqr(),j=K.redSub(W).redISub(W),I=d.redSub(E).redISub(M).redMul(j),k=K.redMul(B.redSub(M)),V=K.redMul(j))}else B=E.redAdd(M),W=this.curve._mulC(this.z).redSqr(),j=B.redSub(W).redSub(W),I=this.curve._mulC(d.redISub(B)).redMul(j),k=this.curve._mulC(B).redMul(E.redISub(M)),V=B.redMul(j);return this.curve.point(I,k,V)},m.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},m.prototype._extAdd=function(d){var E=this.y.redSub(this.x).redMul(d.y.redSub(d.x)),M=this.y.redAdd(this.x).redMul(d.y.redAdd(d.x)),I=this.t.redMul(this.curve.dd).redMul(d.t),k=this.z.redMul(d.z.redAdd(d.z)),V=M.redSub(E),B=k.redSub(I),W=k.redAdd(I),j=M.redAdd(E),K=V.redMul(B),X=W.redMul(j),ie=V.redMul(j),ae=B.redMul(W);return this.curve.point(K,X,ae,ie)},m.prototype._projAdd=function(d){var X,ie,E=this.z.redMul(d.z),M=E.redSqr(),I=this.x.redMul(d.x),k=this.y.redMul(d.y),V=this.curve.d.redMul(I).redMul(k),B=M.redSub(V),W=M.redAdd(V),j=this.x.redAdd(this.y).redMul(d.x.redAdd(d.y)).redISub(I).redISub(k),K=E.redMul(B).redMul(j);return this.curve.twisted?(X=E.redMul(W).redMul(k.redSub(this.curve._mulA(I))),ie=B.redMul(W)):(X=E.redMul(W).redMul(k.redSub(I)),ie=this.curve._mulC(B).redMul(W)),this.curve.point(K,X,ie)},m.prototype.add=function(d){return this.isInfinity()?d:d.isInfinity()?this:this.curve.extended?this._extAdd(d):this._projAdd(d)},m.prototype.mul=function(d){return this._hasDoubles(d)?this.curve._fixedNafMul(this,d):this.curve._wnafMul(this,d)},m.prototype.mulAdd=function(d,E,M){return this.curve._wnafMulAdd(1,[this,E],[d,M],2,!1)},m.prototype.jmulAdd=function(d,E,M){return this.curve._wnafMulAdd(1,[this,E],[d,M],2,!0)},m.prototype.normalize=function(){if(this.zOne)return this;var d=this.z.redInvm();return this.x=this.x.redMul(d),this.y=this.y.redMul(d),this.t&&(this.t=this.t.redMul(d)),this.z=this.curve.one,this.zOne=!0,this},m.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},m.prototype.getX=function(){return this.normalize(),this.x.fromRed()},m.prototype.getY=function(){return this.normalize(),this.y.fromRed()},m.prototype.eq=function(d){return this===d||0===this.getX().cmp(d.getX())&&0===this.getY().cmp(d.getY())},m.prototype.eqXToP=function(d){var E=d.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(E))return!0;for(var M=d.clone(),I=this.curve.redN.redMul(this.z);;){if(M.iadd(this.curve.n),M.cmp(this.curve.p)>=0)return!1;if(E.redIAdd(I),0===this.x.cmp(E))return!0}},m.prototype.toP=m.prototype.normalize,m.prototype.mixedAdd=m.prototype.add},9132:(ze,q,p)=>{"use strict";var e=q;e.base=p(1324),e.short=p(9996),e.mont=p(9253),e.edwards=p(7665)},9253:(ze,q,p)=>{"use strict";var e=p(1387),t=p(6698),y=p(1324),A=p(6767);function l(m){y.call(this,"mont",m),this.a=new e(m.a,16).toRed(this.red),this.b=new e(m.b,16).toRed(this.red),this.i4=new e(4).toRed(this.red).redInvm(),this.two=new e(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function x(m,P,d){y.BasePoint.call(this,m,"projective"),null===P&&null===d?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new e(P,16),this.z=new e(d,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}t(l,y),ze.exports=l,l.prototype.validate=function(P){var d=P.normalize().x,E=d.redSqr(),M=E.redMul(d).redAdd(E.redMul(this.a)).redAdd(d);return 0===M.redSqrt().redSqr().cmp(M)},t(x,y.BasePoint),l.prototype.decodePoint=function(P,d){return this.point(A.toArray(P,d),1)},l.prototype.point=function(P,d){return new x(this,P,d)},l.prototype.pointFromJSON=function(P){return x.fromJSON(this,P)},x.prototype.precompute=function(){},x.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},x.fromJSON=function(P,d){return new x(P,d[0],d[1]||P.one)},x.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)+">"},x.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},x.prototype.dbl=function(){var d=this.x.redAdd(this.z).redSqr(),M=this.x.redSub(this.z).redSqr(),I=d.redSub(M),k=d.redMul(M),V=I.redMul(M.redAdd(this.curve.a24.redMul(I)));return this.curve.point(k,V)},x.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},x.prototype.diffAdd=function(P,d){var E=this.x.redAdd(this.z),M=this.x.redSub(this.z),I=P.x.redAdd(P.z),V=P.x.redSub(P.z).redMul(E),B=I.redMul(M),W=d.z.redMul(V.redAdd(B).redSqr()),j=d.x.redMul(V.redISub(B).redSqr());return this.curve.point(W,j)},x.prototype.mul=function(P){for(var d=P.clone(),E=this,M=this.curve.point(null,null),k=[];0!==d.cmpn(0);d.iushrn(1))k.push(d.andln(1));for(var V=k.length-1;V>=0;V--)0===k[V]?(E=E.diffAdd(M,this),M=M.dbl()):(M=E.diffAdd(M,this),E=E.dbl());return M},x.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},x.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},x.prototype.eq=function(P){return 0===this.getX().cmp(P.getX())},x.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},x.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},9996:(ze,q,p)=>{"use strict";var e=p(6767),t=p(1387),y=p(6698),A=p(1324),l=e.assert;function x(d){A.call(this,"short",d),this.a=new t(d.a,16).toRed(this.red),this.b=new t(d.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(d),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function m(d,E,M,I){A.BasePoint.call(this,d,"affine"),null===E&&null===M?(this.x=null,this.y=null,this.inf=!0):(this.x=new t(E,16),this.y=new t(M,16),I&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function P(d,E,M,I){A.BasePoint.call(this,d,"jacobian"),null===E&&null===M&&null===I?(this.x=this.curve.one,this.y=this.curve.one,this.z=new t(0)):(this.x=new t(E,16),this.y=new t(M,16),this.z=new t(I,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}y(x,A),ze.exports=x,x.prototype._getEndomorphism=function(E){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var M,I;if(E.beta)M=new t(E.beta,16).toRed(this.red);else{var k=this._getEndoRoots(this.p);M=(M=k[0].cmp(k[1])<0?k[0]:k[1]).toRed(this.red)}if(E.lambda)I=new t(E.lambda,16);else{var V=this._getEndoRoots(this.n);0===this.g.mul(V[0]).x.cmp(this.g.x.redMul(M))?I=V[0]:l(0===this.g.mul(I=V[1]).x.cmp(this.g.x.redMul(M)))}return{beta:M,lambda:I,basis:E.basis?E.basis.map(function(W){return{a:new t(W.a,16),b:new t(W.b,16)}}):this._getEndoBasis(I)}}},x.prototype._getEndoRoots=function(E){var M=E===this.p?this.red:t.mont(E),I=new t(2).toRed(M).redInvm(),k=I.redNeg(),V=new t(3).toRed(M).redNeg().redSqrt().redMul(I);return[k.redAdd(V).fromRed(),k.redSub(V).fromRed()]},x.prototype._getEndoBasis=function(E){for(var K,X,ie,ae,fe,se,Me,ue,S,M=this.n.ushrn(Math.floor(this.n.bitLength()/2)),I=E,k=this.n.clone(),V=new t(1),B=new t(0),W=new t(0),j=new t(1),$=0;0!==I.cmpn(0);){var n=k.div(I);ue=k.sub(n.mul(I)),S=W.sub(n.mul(V));var s=j.sub(n.mul(B));if(!ie&&ue.cmp(M)<0)K=Me.neg(),X=V,ie=ue.neg(),ae=S;else if(ie&&2==++$)break;Me=ue,k=I,I=ue,W=V,V=S,j=B,B=s}fe=ue.neg(),se=S;var f=ie.sqr().add(ae.sqr());return fe.sqr().add(se.sqr()).cmp(f)>=0&&(fe=K,se=X),ie.negative&&(ie=ie.neg(),ae=ae.neg()),fe.negative&&(fe=fe.neg(),se=se.neg()),[{a:ie,b:ae},{a:fe,b:se}]},x.prototype._endoSplit=function(E){var M=this.endo.basis,I=M[0],k=M[1],V=k.b.mul(E).divRound(this.n),B=I.b.neg().mul(E).divRound(this.n),W=V.mul(I.a),j=B.mul(k.a),K=V.mul(I.b),X=B.mul(k.b);return{k1:E.sub(W).sub(j),k2:K.add(X).neg()}},x.prototype.pointFromX=function(E,M){(E=new t(E,16)).red||(E=E.toRed(this.red));var I=E.redSqr().redMul(E).redIAdd(E.redMul(this.a)).redIAdd(this.b),k=I.redSqrt();if(0!==k.redSqr().redSub(I).cmp(this.zero))throw new Error("invalid point");var V=k.fromRed().isOdd();return(M&&!V||!M&&V)&&(k=k.redNeg()),this.point(E,k)},x.prototype.validate=function(E){if(E.inf)return!0;var M=E.x,I=E.y,k=this.a.redMul(M),V=M.redSqr().redMul(M).redIAdd(k).redIAdd(this.b);return 0===I.redSqr().redISub(V).cmpn(0)},x.prototype._endoWnafMulAdd=function(E,M,I){for(var k=this._endoWnafT1,V=this._endoWnafT2,B=0;B<E.length;B++){var W=this._endoSplit(M[B]),j=E[B],K=j._getBeta();W.k1.negative&&(W.k1.ineg(),j=j.neg(!0)),W.k2.negative&&(W.k2.ineg(),K=K.neg(!0)),k[2*B]=j,k[2*B+1]=K,V[2*B]=W.k1,V[2*B+1]=W.k2}for(var X=this._wnafMulAdd(1,k,V,2*B,I),ie=0;ie<2*B;ie++)k[ie]=null,V[ie]=null;return X},y(m,A.BasePoint),x.prototype.point=function(E,M,I){return new m(this,E,M,I)},x.prototype.pointFromJSON=function(E,M){return m.fromJSON(this,E,M)},m.prototype._getBeta=function(){if(this.curve.endo){var E=this.precomputed;if(E&&E.beta)return E.beta;var M=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(E){var I=this.curve,k=function(V){return I.point(V.x.redMul(I.endo.beta),V.y)};E.beta=M,M.precomputed={beta:null,naf:E.naf&&{wnd:E.naf.wnd,points:E.naf.points.map(k)},doubles:E.doubles&&{step:E.doubles.step,points:E.doubles.points.map(k)}}}return M}},m.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]},m.fromJSON=function(E,M,I){"string"==typeof M&&(M=JSON.parse(M));var k=E.point(M[0],M[1],I);if(!M[2])return k;function V(W){return E.point(W[0],W[1],I)}var B=M[2];return k.precomputed={beta:null,doubles:B.doubles&&{step:B.doubles.step,points:[k].concat(B.doubles.points.map(V))},naf:B.naf&&{wnd:B.naf.wnd,points:[k].concat(B.naf.points.map(V))}},k},m.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)+">"},m.prototype.isInfinity=function(){return this.inf},m.prototype.add=function(E){if(this.inf)return E;if(E.inf)return this;if(this.eq(E))return this.dbl();if(this.neg().eq(E))return this.curve.point(null,null);if(0===this.x.cmp(E.x))return this.curve.point(null,null);var M=this.y.redSub(E.y);0!==M.cmpn(0)&&(M=M.redMul(this.x.redSub(E.x).redInvm()));var I=M.redSqr().redISub(this.x).redISub(E.x),k=M.redMul(this.x.redSub(I)).redISub(this.y);return this.curve.point(I,k)},m.prototype.dbl=function(){if(this.inf)return this;var E=this.y.redAdd(this.y);if(0===E.cmpn(0))return this.curve.point(null,null);var M=this.curve.a,I=this.x.redSqr(),k=E.redInvm(),V=I.redAdd(I).redIAdd(I).redIAdd(M).redMul(k),B=V.redSqr().redISub(this.x.redAdd(this.x)),W=V.redMul(this.x.redSub(B)).redISub(this.y);return this.curve.point(B,W)},m.prototype.getX=function(){return this.x.fromRed()},m.prototype.getY=function(){return this.y.fromRed()},m.prototype.mul=function(E){return E=new t(E,16),this.isInfinity()?this:this._hasDoubles(E)?this.curve._fixedNafMul(this,E):this.curve.endo?this.curve._endoWnafMulAdd([this],[E]):this.curve._wnafMul(this,E)},m.prototype.mulAdd=function(E,M,I){var k=[this,M],V=[E,I];return this.curve.endo?this.curve._endoWnafMulAdd(k,V):this.curve._wnafMulAdd(1,k,V,2)},m.prototype.jmulAdd=function(E,M,I){var k=[this,M],V=[E,I];return this.curve.endo?this.curve._endoWnafMulAdd(k,V,!0):this.curve._wnafMulAdd(1,k,V,2,!0)},m.prototype.eq=function(E){return this===E||this.inf===E.inf&&(this.inf||0===this.x.cmp(E.x)&&0===this.y.cmp(E.y))},m.prototype.neg=function(E){if(this.inf)return this;var M=this.curve.point(this.x,this.y.redNeg());if(E&&this.precomputed){var I=this.precomputed,k=function(V){return V.neg()};M.precomputed={naf:I.naf&&{wnd:I.naf.wnd,points:I.naf.points.map(k)},doubles:I.doubles&&{step:I.doubles.step,points:I.doubles.points.map(k)}}}return M},m.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},y(P,A.BasePoint),x.prototype.jpoint=function(E,M,I){return new P(this,E,M,I)},P.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var E=this.z.redInvm(),M=E.redSqr(),I=this.x.redMul(M),k=this.y.redMul(M).redMul(E);return this.curve.point(I,k)},P.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},P.prototype.add=function(E){if(this.isInfinity())return E;if(E.isInfinity())return this;var M=E.z.redSqr(),I=this.z.redSqr(),k=this.x.redMul(M),V=E.x.redMul(I),B=this.y.redMul(M.redMul(E.z)),W=E.y.redMul(I.redMul(this.z)),j=k.redSub(V),K=B.redSub(W);if(0===j.cmpn(0))return 0!==K.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var X=j.redSqr(),ie=X.redMul(j),ae=k.redMul(X),fe=K.redSqr().redIAdd(ie).redISub(ae).redISub(ae),se=K.redMul(ae.redISub(fe)).redISub(B.redMul(ie)),Me=this.z.redMul(E.z).redMul(j);return this.curve.jpoint(fe,se,Me)},P.prototype.mixedAdd=function(E){if(this.isInfinity())return E.toJ();if(E.isInfinity())return this;var M=this.z.redSqr(),I=this.x,k=E.x.redMul(M),V=this.y,B=E.y.redMul(M).redMul(this.z),W=I.redSub(k),j=V.redSub(B);if(0===W.cmpn(0))return 0!==j.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var K=W.redSqr(),X=K.redMul(W),ie=I.redMul(K),ae=j.redSqr().redIAdd(X).redISub(ie).redISub(ie),fe=j.redMul(ie.redISub(ae)).redISub(V.redMul(X)),se=this.z.redMul(W);return this.curve.jpoint(ae,fe,se)},P.prototype.dblp=function(E){if(0===E)return this;if(this.isInfinity())return this;if(!E)return this.dbl();var M;if(this.curve.zeroA||this.curve.threeA){var I=this;for(M=0;M<E;M++)I=I.dbl();return I}var k=this.curve.a,V=this.curve.tinv,B=this.x,W=this.y,j=this.z,K=j.redSqr().redSqr(),X=W.redAdd(W);for(M=0;M<E;M++){var ie=B.redSqr(),ae=X.redSqr(),fe=ae.redSqr(),se=ie.redAdd(ie).redIAdd(ie).redIAdd(k.redMul(K)),Me=B.redMul(ae),$=se.redSqr().redISub(Me.redAdd(Me)),ue=Me.redISub($),S=se.redMul(ue);S=S.redIAdd(S).redISub(fe);var n=X.redMul(j);M+1<E&&(K=K.redMul(fe)),B=$,j=n,X=S}return this.curve.jpoint(B,X.redMul(V),j)},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 E,M,I;if(this.zOne){var k=this.x.redSqr(),V=this.y.redSqr(),B=V.redSqr(),W=this.x.redAdd(V).redSqr().redISub(k).redISub(B);W=W.redIAdd(W);var j=k.redAdd(k).redIAdd(k),K=j.redSqr().redISub(W).redISub(W),X=B.redIAdd(B);X=(X=X.redIAdd(X)).redIAdd(X),E=K,M=j.redMul(W.redISub(K)).redISub(X),I=this.y.redAdd(this.y)}else{var ie=this.x.redSqr(),ae=this.y.redSqr(),fe=ae.redSqr(),se=this.x.redAdd(ae).redSqr().redISub(ie).redISub(fe);se=se.redIAdd(se);var Me=ie.redAdd(ie).redIAdd(ie),$=Me.redSqr(),ue=fe.redIAdd(fe);ue=(ue=ue.redIAdd(ue)).redIAdd(ue),E=$.redISub(se).redISub(se),M=Me.redMul(se.redISub(E)).redISub(ue),I=(I=this.y.redMul(this.z)).redIAdd(I)}return this.curve.jpoint(E,M,I)},P.prototype._threeDbl=function(){var E,M,I;if(this.zOne){var k=this.x.redSqr(),V=this.y.redSqr(),B=V.redSqr(),W=this.x.redAdd(V).redSqr().redISub(k).redISub(B);W=W.redIAdd(W);var j=k.redAdd(k).redIAdd(k).redIAdd(this.curve.a),K=j.redSqr().redISub(W).redISub(W);E=K;var X=B.redIAdd(B);X=(X=X.redIAdd(X)).redIAdd(X),M=j.redMul(W.redISub(K)).redISub(X),I=this.y.redAdd(this.y)}else{var ie=this.z.redSqr(),ae=this.y.redSqr(),fe=this.x.redMul(ae),se=this.x.redSub(ie).redMul(this.x.redAdd(ie));se=se.redAdd(se).redIAdd(se);var Me=fe.redIAdd(fe),$=(Me=Me.redIAdd(Me)).redAdd(Me);E=se.redSqr().redISub($),I=this.y.redAdd(this.z).redSqr().redISub(ae).redISub(ie);var ue=ae.redSqr();ue=(ue=(ue=ue.redIAdd(ue)).redIAdd(ue)).redIAdd(ue),M=se.redMul(Me.redISub(E)).redISub(ue)}return this.curve.jpoint(E,M,I)},P.prototype._dbl=function(){var E=this.curve.a,M=this.x,I=this.y,k=this.z,V=k.redSqr().redSqr(),B=M.redSqr(),W=I.redSqr(),j=B.redAdd(B).redIAdd(B).redIAdd(E.redMul(V)),K=M.redAdd(M),X=(K=K.redIAdd(K)).redMul(W),ie=j.redSqr().redISub(X.redAdd(X)),ae=X.redISub(ie),fe=W.redSqr();fe=(fe=(fe=fe.redIAdd(fe)).redIAdd(fe)).redIAdd(fe);var se=j.redMul(ae).redISub(fe),Me=I.redAdd(I).redMul(k);return this.curve.jpoint(ie,se,Me)},P.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var E=this.x.redSqr(),M=this.y.redSqr(),I=this.z.redSqr(),k=M.redSqr(),V=E.redAdd(E).redIAdd(E),B=V.redSqr(),W=this.x.redAdd(M).redSqr().redISub(E).redISub(k),j=(W=(W=(W=W.redIAdd(W)).redAdd(W).redIAdd(W)).redISub(B)).redSqr(),K=k.redIAdd(k);K=(K=(K=K.redIAdd(K)).redIAdd(K)).redIAdd(K);var X=V.redIAdd(W).redSqr().redISub(B).redISub(j).redISub(K),ie=M.redMul(X);ie=(ie=ie.redIAdd(ie)).redIAdd(ie);var ae=this.x.redMul(j).redISub(ie);ae=(ae=ae.redIAdd(ae)).redIAdd(ae);var fe=this.y.redMul(X.redMul(K.redISub(X)).redISub(W.redMul(j)));fe=(fe=(fe=fe.redIAdd(fe)).redIAdd(fe)).redIAdd(fe);var se=this.z.redAdd(W).redSqr().redISub(I).redISub(j);return this.curve.jpoint(ae,fe,se)},P.prototype.mul=function(E,M){return E=new t(E,M),this.curve._wnafMul(this,E)},P.prototype.eq=function(E){if("affine"===E.type)return this.eq(E.toJ());if(this===E)return!0;var M=this.z.redSqr(),I=E.z.redSqr();if(0!==this.x.redMul(I).redISub(E.x.redMul(M)).cmpn(0))return!1;var k=M.redMul(this.z),V=I.redMul(E.z);return 0===this.y.redMul(V).redISub(E.y.redMul(k)).cmpn(0)},P.prototype.eqXToP=function(E){var M=this.z.redSqr(),I=E.toRed(this.curve.red).redMul(M);if(0===this.x.cmp(I))return!0;for(var k=E.clone(),V=this.curve.redN.redMul(M);;){if(k.iadd(this.curve.n),k.cmp(this.curve.p)>=0)return!1;if(I.redIAdd(V),0===this.x.cmp(I))return!0}},P.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},P.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},8049:(ze,q,p)=>{"use strict";var P,e=q,t=p(1076),y=p(9132),l=p(6767).assert;function x(d){this.curve="short"===d.type?new y.short(d):"edwards"===d.type?new y.edwards(d):new y.mont(d),this.g=this.curve.g,this.n=this.curve.n,this.hash=d.hash,l(this.g.validate(),"Invalid curve"),l(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function m(d,E){Object.defineProperty(e,d,{configurable:!0,enumerable:!0,get:function(){var M=new x(E);return Object.defineProperty(e,d,{configurable:!0,enumerable:!0,value:M}),M}})}e.PresetCurve=x,m("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:t.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),m("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:t.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),m("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:t.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),m("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:t.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),m("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:t.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),m("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:t.sha256,gRed:!1,g:["9"]}),m("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:t.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{P=p(7274)}catch{P=void 0}m("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:t.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",P]})},6443:(ze,q,p)=>{"use strict";var e=p(1387),t=p(2447),y=p(6767),A=p(8049),l=p(82),x=y.assert,m=p(1373),P=p(7746);function d(E){if(!(this instanceof d))return new d(E);"string"==typeof E&&(x(Object.prototype.hasOwnProperty.call(A,E),"Unknown curve "+E),E=A[E]),E instanceof A.PresetCurve&&(E={curve:E}),this.curve=E.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=E.curve.g,this.g.precompute(E.curve.n.bitLength()+1),this.hash=E.hash||E.curve.hash}ze.exports=d,d.prototype.keyPair=function(M){return new m(this,M)},d.prototype.keyFromPrivate=function(M,I){return m.fromPrivate(this,M,I)},d.prototype.keyFromPublic=function(M,I){return m.fromPublic(this,M,I)},d.prototype.genKeyPair=function(M){M||(M={});for(var I=new t({hash:this.hash,pers:M.pers,persEnc:M.persEnc||"utf8",entropy:M.entropy||l(this.hash.hmacStrength),entropyEnc:M.entropy&&M.entropyEnc||"utf8",nonce:this.n.toArray()}),k=this.n.byteLength(),V=this.n.sub(new e(2));;){var B=new e(I.generate(k));if(!(B.cmp(V)>0))return B.iaddn(1),this.keyFromPrivate(B)}},d.prototype._truncateToN=function(M,I){var k=8*M.byteLength()-this.n.bitLength();return k>0&&(M=M.ushrn(k)),!I&&M.cmp(this.n)>=0?M.sub(this.n):M},d.prototype.sign=function(M,I,k,V){"object"==typeof k&&(V=k,k=null),V||(V={}),I=this.keyFromPrivate(I,k),M=this._truncateToN(new e(M,16));for(var B=this.n.byteLength(),W=I.getPrivate().toArray("be",B),j=M.toArray("be",B),K=new t({hash:this.hash,entropy:W,nonce:j,pers:V.pers,persEnc:V.persEnc||"utf8"}),X=this.n.sub(new e(1)),ie=0;;ie++){var ae=V.k?V.k(ie):new e(K.generate(this.n.byteLength()));if(!((ae=this._truncateToN(ae,!0)).cmpn(1)<=0||ae.cmp(X)>=0)){var fe=this.g.mul(ae);if(!fe.isInfinity()){var se=fe.getX(),Me=se.umod(this.n);if(0!==Me.cmpn(0)){var $=ae.invm(this.n).mul(Me.mul(I.getPrivate()).iadd(M));if(0!==($=$.umod(this.n)).cmpn(0)){var ue=(fe.getY().isOdd()?1:0)|(0!==se.cmp(Me)?2:0);return V.canonical&&$.cmp(this.nh)>0&&($=this.n.sub($),ue^=1),new P({r:Me,s:$,recoveryParam:ue})}}}}}},d.prototype.verify=function(M,I,k,V){M=this._truncateToN(new e(M,16)),k=this.keyFromPublic(k,V);var B=(I=new P(I,"hex")).r,W=I.s;if(B.cmpn(1)<0||B.cmp(this.n)>=0||W.cmpn(1)<0||W.cmp(this.n)>=0)return!1;var ie,j=W.invm(this.n),K=j.mul(M).umod(this.n),X=j.mul(B).umod(this.n);return this.curve._maxwellTrick?!(ie=this.g.jmulAdd(K,k.getPublic(),X)).isInfinity()&&ie.eqXToP(B):!(ie=this.g.mulAdd(K,k.getPublic(),X)).isInfinity()&&0===ie.getX().umod(this.n).cmp(B)},d.prototype.recoverPubKey=function(E,M,I,k){x((3&I)===I,"The recovery param is more than two bits"),M=new P(M,k);var V=this.n,B=new e(E),W=M.r,j=M.s,K=1&I,X=I>>1;if(W.cmp(this.curve.p.umod(this.curve.n))>=0&&X)throw new Error("Unable to find sencond key candinate");W=this.curve.pointFromX(X?W.add(this.curve.n):W,K);var ie=M.r.invm(V),ae=V.sub(B).mul(ie).umod(V),fe=j.mul(ie).umod(V);return this.g.mulAdd(ae,W,fe)},d.prototype.getKeyRecoveryParam=function(E,M,I,k){if(null!==(M=new P(M,k)).recoveryParam)return M.recoveryParam;for(var V=0;V<4;V++){var B;try{B=this.recoverPubKey(E,M,V)}catch{continue}if(B.eq(I))return V}throw new Error("Unable to find valid recovery factor")}},1373:(ze,q,p)=>{"use strict";var e=p(1387),y=p(6767).assert;function A(l,x){this.ec=l,this.priv=null,this.pub=null,x.priv&&this._importPrivate(x.priv,x.privEnc),x.pub&&this._importPublic(x.pub,x.pubEnc)}ze.exports=A,A.fromPublic=function(x,m,P){return m instanceof A?m:new A(x,{pub:m,pubEnc:P})},A.fromPrivate=function(x,m,P){return m instanceof A?m:new A(x,{priv:m,privEnc:P})},A.prototype.validate=function(){var x=this.getPublic();return x.isInfinity()?{result:!1,reason:"Invalid public key"}:x.validate()?x.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},A.prototype.getPublic=function(x,m){return"string"==typeof x&&(m=x,x=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),m?this.pub.encode(m,x):this.pub},A.prototype.getPrivate=function(x){return"hex"===x?this.priv.toString(16,2):this.priv},A.prototype._importPrivate=function(x,m){this.priv=new e(x,m||16),this.priv=this.priv.umod(this.ec.curve.n)},A.prototype._importPublic=function(x,m){if(x.x||x.y)return"mont"===this.ec.curve.type?y(x.x,"Need x coordinate"):("short"===this.ec.curve.type||"edwards"===this.ec.curve.type)&&y(x.x&&x.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(x.x,x.y));this.pub=this.ec.curve.decodePoint(x,m)},A.prototype.derive=function(x){return x.validate()||y(x.validate(),"public point not validated"),x.mul(this.priv).getX()},A.prototype.sign=function(x,m,P){return this.ec.sign(x,this,m,P)},A.prototype.verify=function(x,m){return this.ec.verify(x,m,this)},A.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},7746:(ze,q,p)=>{"use strict";var e=p(1387),t=p(6767),y=t.assert;function A(d,E){if(d instanceof A)return d;this._importDER(d,E)||(y(d.r&&d.s,"Signature without r or s"),this.r=new e(d.r,16),this.s=new e(d.s,16),this.recoveryParam=void 0===d.recoveryParam?null:d.recoveryParam)}function l(){this.place=0}function x(d,E){var M=d[E.place++];if(!(128&M))return M;var I=15&M;if(0===I||I>4)return!1;for(var k=0,V=0,B=E.place;V<I;V++,B++)k<<=8,k|=d[B],k>>>=0;return!(k<=127)&&(E.place=B,k)}function m(d){for(var E=0,M=d.length-1;!d[E]&&!(128&d[E+1])&&E<M;)E++;return 0===E?d:d.slice(E)}function P(d,E){if(E<128)d.push(E);else{var M=1+(Math.log(E)/Math.LN2>>>3);for(d.push(128|M);--M;)d.push(E>>>(M<<3)&255);d.push(E)}}ze.exports=A,A.prototype._importDER=function(E,M){E=t.toArray(E,M);var I=new l;if(48!==E[I.place++])return!1;var k=x(E,I);if(!1===k||k+I.place!==E.length||2!==E[I.place++])return!1;var V=x(E,I);if(!1===V)return!1;var B=E.slice(I.place,V+I.place);if(I.place+=V,2!==E[I.place++])return!1;var W=x(E,I);if(!1===W||E.length!==W+I.place)return!1;var j=E.slice(I.place,W+I.place);if(0===B[0]){if(!(128&B[1]))return!1;B=B.slice(1)}if(0===j[0]){if(!(128&j[1]))return!1;j=j.slice(1)}return this.r=new e(B),this.s=new e(j),this.recoveryParam=null,!0},A.prototype.toDER=function(E){var M=this.r.toArray(),I=this.s.toArray();for(128&M[0]&&(M=[0].concat(M)),128&I[0]&&(I=[0].concat(I)),M=m(M),I=m(I);!(I[0]||128&I[1]);)I=I.slice(1);var k=[2];P(k,M.length),(k=k.concat(M)).push(2),P(k,I.length);var V=k.concat(I),B=[48];return P(B,V.length),B=B.concat(V),t.encode(B,E)}},9577:(ze,q,p)=>{"use strict";var e=p(1076),t=p(8049),y=p(6767),A=y.assert,l=y.parseBytes,x=p(7012),m=p(8062);function P(d){if(A("ed25519"===d,"only tested with ed25519 so far"),!(this instanceof P))return new P(d);this.curve=d=t[d].curve,this.g=d.g,this.g.precompute(d.n.bitLength()+1),this.pointClass=d.point().constructor,this.encodingLength=Math.ceil(d.n.bitLength()/8),this.hash=e.sha512}ze.exports=P,P.prototype.sign=function(E,M){E=l(E);var I=this.keyFromSecret(M),k=this.hashInt(I.messagePrefix(),E),V=this.g.mul(k),B=this.encodePoint(V),W=this.hashInt(B,I.pubBytes(),E).mul(I.priv()),j=k.add(W).umod(this.curve.n);return this.makeSignature({R:V,S:j,Rencoded:B})},P.prototype.verify=function(E,M,I){E=l(E),M=this.makeSignature(M);var k=this.keyFromPublic(I),V=this.hashInt(M.Rencoded(),k.pubBytes(),E),B=this.g.mul(M.S());return M.R().add(k.pub().mul(V)).eq(B)},P.prototype.hashInt=function(){for(var E=this.hash(),M=0;M<arguments.length;M++)E.update(arguments[M]);return y.intFromLE(E.digest()).umod(this.curve.n)},P.prototype.keyFromPublic=function(E){return x.fromPublic(this,E)},P.prototype.keyFromSecret=function(E){return x.fromSecret(this,E)},P.prototype.makeSignature=function(E){return E instanceof m?E:new m(this,E)},P.prototype.encodePoint=function(E){var M=E.getY().toArray("le",this.encodingLength);return M[this.encodingLength-1]|=E.getX().isOdd()?128:0,M},P.prototype.decodePoint=function(E){var M=(E=y.parseBytes(E)).length-1,I=E.slice(0,M).concat(-129&E[M]),k=0!=(128&E[M]),V=y.intFromLE(I);return this.curve.pointFromY(V,k)},P.prototype.encodeInt=function(E){return E.toArray("le",this.encodingLength)},P.prototype.decodeInt=function(E){return y.intFromLE(E)},P.prototype.isPoint=function(E){return E instanceof this.pointClass}},7012:(ze,q,p)=>{"use strict";var e=p(6767),t=e.assert,y=e.parseBytes,A=e.cachedProperty;function l(x,m){this.eddsa=x,this._secret=y(m.secret),x.isPoint(m.pub)?this._pub=m.pub:this._pubBytes=y(m.pub)}l.fromPublic=function(m,P){return P instanceof l?P:new l(m,{pub:P})},l.fromSecret=function(m,P){return P instanceof l?P:new l(m,{secret:P})},l.prototype.secret=function(){return this._secret},A(l,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),A(l,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),A(l,"privBytes",function(){var m=this.eddsa,P=this.hash(),d=m.encodingLength-1,E=P.slice(0,m.encodingLength);return E[0]&=248,E[d]&=127,E[d]|=64,E}),A(l,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),A(l,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),A(l,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),l.prototype.sign=function(m){return t(this._secret,"KeyPair can only verify"),this.eddsa.sign(m,this)},l.prototype.verify=function(m,P){return this.eddsa.verify(m,P,this)},l.prototype.getSecret=function(m){return t(this._secret,"KeyPair is public only"),e.encode(this.secret(),m)},l.prototype.getPublic=function(m){return e.encode(this.pubBytes(),m)},ze.exports=l},8062:(ze,q,p)=>{"use strict";var e=p(1387),t=p(6767),y=t.assert,A=t.cachedProperty,l=t.parseBytes;function x(m,P){this.eddsa=m,"object"!=typeof P&&(P=l(P)),Array.isArray(P)&&(P={R:P.slice(0,m.encodingLength),S:P.slice(m.encodingLength)}),y(P.R&&P.S,"Signature without R or S"),m.isPoint(P.R)&&(this._R=P.R),P.S instanceof e&&(this._S=P.S),this._Rencoded=Array.isArray(P.R)?P.R:P.Rencoded,this._Sencoded=Array.isArray(P.S)?P.S:P.Sencoded}A(x,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),A(x,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),A(x,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),A(x,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),x.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},x.prototype.toHex=function(){return t.encode(this.toBytes(),"hex").toUpperCase()},ze.exports=x},7274:ze=>{ze.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},6767:(ze,q,p)=>{"use strict";var e=q,t=p(1387),y=p(7798),A=p(8247);e.assert=y,e.toArray=A.toArray,e.zero2=A.zero2,e.toHex=A.toHex,e.encode=A.encode,e.getNAF=function l(E,M,I){var k=new Array(Math.max(E.bitLength(),I)+1);k.fill(0);for(var V=1<<M+1,B=E.clone(),W=0;W<k.length;W++){var j,K=B.andln(V-1);B.isOdd()?B.isubn(j=K>(V>>1)-1?(V>>1)-K:K):j=0,k[W]=j,B.iushrn(1)}return k},e.getJSF=function x(E,M){var I=[[],[]];E=E.clone(),M=M.clone();for(var B,k=0,V=0;E.cmpn(-k)>0||M.cmpn(-V)>0;){var K,X,W=E.andln(3)+k&3,j=M.andln(3)+V&3;3===W&&(W=-1),3===j&&(j=-1),K=1&W?3!=(B=E.andln(7)+k&7)&&5!==B||2!==j?W:-W:0,I[0].push(K),X=1&j?3!=(B=M.andln(7)+V&7)&&5!==B||2!==W?j:-j:0,I[1].push(X),2*k===K+1&&(k=1-k),2*V===X+1&&(V=1-V),E.iushrn(1),M.iushrn(1)}return I},e.cachedProperty=function m(E,M,I){var k="_"+M;E.prototype[M]=function(){return void 0!==this[k]?this[k]:this[k]=I.call(this)}},e.parseBytes=function P(E){return"string"==typeof E?e.toArray(E,"hex"):E},e.intFromLE=function d(E){return new t(E,"hex","le")}},1387:function(ze,q,p){!function(e,t){"use strict";function y(S,n){if(!S)throw new Error(n||"Assertion failed")}function A(S,n){S.super_=n;var s=function(){};s.prototype=n.prototype,S.prototype=new s,S.prototype.constructor=S}function l(S,n,s){if(l.isBN(S))return S;this.negative=0,this.words=null,this.length=0,this.red=null,null!==S&&(("le"===n||"be"===n)&&(s=n,n=10),this._init(S||0,n||10,s||"be"))}var x;"object"==typeof e?e.exports=l:t.BN=l,l.BN=l,l.wordSize=26;try{x=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:p(5568).Buffer}catch{}function m(S,n){var s=S.charCodeAt(n);return s>=65&&s<=70?s-55:s>=97&&s<=102?s-87:s-48&15}function P(S,n,s){var f=m(S,s);return s-1>=n&&(f|=m(S,s-1)<<4),f}function d(S,n,s,f){for(var h=0,w=Math.min(S.length,s),D=n;D<w;D++){var O=S.charCodeAt(D)-48;h*=f,h+=O>=49?O-49+10:O>=17?O-17+10:O}return h}l.isBN=function(n){return n instanceof l||null!==n&&"object"==typeof n&&n.constructor.wordSize===l.wordSize&&Array.isArray(n.words)},l.max=function(n,s){return n.cmp(s)>0?n:s},l.min=function(n,s){return n.cmp(s)<0?n:s},l.prototype._init=function(n,s,f){if("number"==typeof n)return this._initNumber(n,s,f);if("object"==typeof n)return this._initArray(n,s,f);"hex"===s&&(s=16),y(s===(0|s)&&s>=2&&s<=36);var h=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h<n.length&&(16===s?this._parseHex(n,h,f):(this._parseBase(n,s,h),"le"===f&&this._initArray(this.toArray(),s,f)))},l.prototype._initNumber=function(n,s,f){n<0&&(this.negative=1,n=-n),n<67108864?(this.words=[67108863&n],this.length=1):n<4503599627370496?(this.words=[67108863&n,n/67108864&67108863],this.length=2):(y(n<9007199254740992),this.words=[67108863&n,n/67108864&67108863,1],this.length=3),"le"===f&&this._initArray(this.toArray(),s,f)},l.prototype._initArray=function(n,s,f){if(y("number"==typeof n.length),n.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(n.length/3),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var w,D,O=0;if("be"===f)for(h=n.length-1,w=0;h>=0;h-=3)this.words[w]|=(D=n[h]|n[h-1]<<8|n[h-2]<<16)<<O&67108863,this.words[w+1]=D>>>26-O&67108863,(O+=24)>=26&&(O-=26,w++);else if("le"===f)for(h=0,w=0;h<n.length;h+=3)this.words[w]|=(D=n[h]|n[h+1]<<8|n[h+2]<<16)<<O&67108863,this.words[w+1]=D>>>26-O&67108863,(O+=24)>=26&&(O-=26,w++);return this.strip()},l.prototype._parseHex=function(n,s,f){this.length=Math.ceil((n.length-s)/6),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var O,w=0,D=0;if("be"===f)for(h=n.length-1;h>=s;h-=2)O=P(n,s,h)<<w,this.words[D]|=67108863&O,w>=18?(w-=18,this.words[D+=1]|=O>>>26):w+=8;else for(h=(n.length-s)%2==0?s+1:s;h<n.length;h+=2)O=P(n,s,h)<<w,this.words[D]|=67108863&O,w>=18?(w-=18,this.words[D+=1]|=O>>>26):w+=8;this.strip()},l.prototype._parseBase=function(n,s,f){this.words=[0],this.length=1;for(var h=0,w=1;w<=67108863;w*=s)h++;h--,w=w/s|0;for(var D=n.length-f,O=D%h,v=Math.min(D,D-O)+f,r=0,g=f;g<v;g+=h)r=d(n,g,g+h,s),this.imuln(w),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r);if(0!==O){var H=1;for(r=d(n,g,n.length,s),g=0;g<O;g++)H*=s;this.imuln(H),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r)}this.strip()},l.prototype.copy=function(n){n.words=new Array(this.length);for(var s=0;s<this.length;s++)n.words[s]=this.words[s];n.length=this.length,n.negative=this.negative,n.red=this.red},l.prototype.clone=function(){var n=new l(null);return this.copy(n),n},l.prototype._expand=function(n){for(;this.length<n;)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 E=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],M=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],I=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function V(S,n,s){s.negative=n.negative^S.negative;var f=S.length+n.length|0;s.length=f,f=f-1|0;var h=0|S.words[0],w=0|n.words[0],D=h*w,v=D/67108864|0;s.words[0]=67108863&D;for(var r=1;r<f;r++){for(var g=v>>>26,H=67108863&v,N=Math.min(r,n.length-1),ee=Math.max(0,r-S.length+1);ee<=N;ee++)g+=(D=(h=0|S.words[r-ee|0])*(w=0|n.words[ee])+H)/67108864|0,H=67108863&D;s.words[r]=0|H,v=0|g}return 0!==v?s.words[r]=0|v:s.length--,s.strip()}l.prototype.toString=function(n,s){var f;if(s=0|s||1,16===(n=n||10)||"hex"===n){f="";for(var h=0,w=0,D=0;D<this.length;D++){var O=this.words[D],v=(16777215&(O<<h|w)).toString(16);f=0!=(w=O>>>24-h&16777215)||D!==this.length-1?E[6-v.length]+v+f:v+f,(h+=2)>=26&&(h-=26,D--)}for(0!==w&&(f=w.toString(16)+f);f.length%s!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}if(n===(0|n)&&n>=2&&n<=36){var r=M[n],g=I[n];f="";var H=this.clone();for(H.negative=0;!H.isZero();){var N=H.modn(g).toString(n);f=(H=H.idivn(g)).isZero()?N+f:E[r-N.length]+N+f}for(this.isZero()&&(f="0"+f);f.length%s!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}y(!1,"Base should be between 2 and 36")},l.prototype.toNumber=function(){var n=this.words[0];return 2===this.length?n+=67108864*this.words[1]:3===this.length&&1===this.words[2]?n+=4503599627370496+67108864*this.words[1]:this.length>2&&y(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-n:n},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(n,s){return y(typeof x<"u"),this.toArrayLike(x,n,s)},l.prototype.toArray=function(n,s){return this.toArrayLike(Array,n,s)},l.prototype.toArrayLike=function(n,s,f){var h=this.byteLength(),w=f||Math.max(1,h);y(h<=w,"byte array longer than desired length"),y(w>0,"Requested array length <= 0"),this.strip();var v,r,D="le"===s,O=new n(w),g=this.clone();if(D){for(r=0;!g.isZero();r++)v=g.andln(255),g.iushrn(8),O[r]=v;for(;r<w;r++)O[r]=0}else{for(r=0;r<w-h;r++)O[r]=0;for(r=0;!g.isZero();r++)v=g.andln(255),g.iushrn(8),O[w-r-1]=v}return O},l.prototype._countBits=Math.clz32?function(n){return 32-Math.clz32(n)}:function(n){var s=n,f=0;return s>=4096&&(f+=13,s>>>=13),s>=64&&(f+=7,s>>>=7),s>=8&&(f+=4,s>>>=4),s>=2&&(f+=2,s>>>=2),f+s},l.prototype._zeroBits=function(n){if(0===n)return 26;var s=n,f=0;return 8191&s||(f+=13,s>>>=13),127&s||(f+=7,s>>>=7),15&s||(f+=4,s>>>=4),3&s||(f+=2,s>>>=2),1&s||f++,f},l.prototype.bitLength=function(){var s=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+s},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,s=0;s<this.length;s++){var f=this._zeroBits(this.words[s]);if(n+=f,26!==f)break}return n},l.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},l.prototype.toTwos=function(n){return 0!==this.negative?this.abs().inotn(n).iaddn(1):this.clone()},l.prototype.fromTwos=function(n){return this.testn(n-1)?this.notn(n).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(n){for(;this.length<n.length;)this.words[this.length++]=0;for(var s=0;s<n.length;s++)this.words[s]=this.words[s]|n.words[s];return this.strip()},l.prototype.ior=function(n){return y(0==(this.negative|n.negative)),this.iuor(n)},l.prototype.or=function(n){return this.length>n.length?this.clone().ior(n):n.clone().ior(this)},l.prototype.uor=function(n){return this.length>n.length?this.clone().iuor(n):n.clone().iuor(this)},l.prototype.iuand=function(n){var s;s=this.length>n.length?n:this;for(var f=0;f<s.length;f++)this.words[f]=this.words[f]&n.words[f];return this.length=s.length,this.strip()},l.prototype.iand=function(n){return y(0==(this.negative|n.negative)),this.iuand(n)},l.prototype.and=function(n){return this.length>n.length?this.clone().iand(n):n.clone().iand(this)},l.prototype.uand=function(n){return this.length>n.length?this.clone().iuand(n):n.clone().iuand(this)},l.prototype.iuxor=function(n){var s,f;this.length>n.length?(s=this,f=n):(s=n,f=this);for(var h=0;h<f.length;h++)this.words[h]=s.words[h]^f.words[h];if(this!==s)for(;h<s.length;h++)this.words[h]=s.words[h];return this.length=s.length,this.strip()},l.prototype.ixor=function(n){return y(0==(this.negative|n.negative)),this.iuxor(n)},l.prototype.xor=function(n){return this.length>n.length?this.clone().ixor(n):n.clone().ixor(this)},l.prototype.uxor=function(n){return this.length>n.length?this.clone().iuxor(n):n.clone().iuxor(this)},l.prototype.inotn=function(n){y("number"==typeof n&&n>=0);var s=0|Math.ceil(n/26),f=n%26;this._expand(s),f>0&&s--;for(var h=0;h<s;h++)this.words[h]=67108863&~this.words[h];return f>0&&(this.words[h]=~this.words[h]&67108863>>26-f),this.strip()},l.prototype.notn=function(n){return this.clone().inotn(n)},l.prototype.setn=function(n,s){y("number"==typeof n&&n>=0);var f=n/26|0,h=n%26;return this._expand(f+1),this.words[f]=s?this.words[f]|1<<h:this.words[f]&~(1<<h),this.strip()},l.prototype.iadd=function(n){var s,f,h;if(0!==this.negative&&0===n.negative)return this.negative=0,s=this.isub(n),this.negative^=1,this._normSign();if(0===this.negative&&0!==n.negative)return n.negative=0,s=this.isub(n),n.negative=1,s._normSign();this.length>n.length?(f=this,h=n):(f=n,h=this);for(var w=0,D=0;D<h.length;D++)this.words[D]=67108863&(s=(0|f.words[D])+(0|h.words[D])+w),w=s>>>26;for(;0!==w&&D<f.length;D++)this.words[D]=67108863&(s=(0|f.words[D])+w),w=s>>>26;if(this.length=f.length,0!==w)this.words[this.length]=w,this.length++;else if(f!==this)for(;D<f.length;D++)this.words[D]=f.words[D];return this},l.prototype.add=function(n){var s;return 0!==n.negative&&0===this.negative?(n.negative=0,s=this.sub(n),n.negative^=1,s):0===n.negative&&0!==this.negative?(this.negative=0,s=n.sub(this),this.negative=1,s):this.length>n.length?this.clone().iadd(n):n.clone().iadd(this)},l.prototype.isub=function(n){if(0!==n.negative){n.negative=0;var s=this.iadd(n);return n.negative=1,s._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var h,w,f=this.cmp(n);if(0===f)return this.negative=0,this.length=1,this.words[0]=0,this;f>0?(h=this,w=n):(h=n,w=this);for(var D=0,O=0;O<w.length;O++)D=(s=(0|h.words[O])-(0|w.words[O])+D)>>26,this.words[O]=67108863&s;for(;0!==D&&O<h.length;O++)D=(s=(0|h.words[O])+D)>>26,this.words[O]=67108863&s;if(0===D&&O<h.length&&h!==this)for(;O<h.length;O++)this.words[O]=h.words[O];return this.length=Math.max(this.length,O),h!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(n){return this.clone().isub(n)};var B=function(n,s,f){var v,r,g,h=n.words,w=s.words,D=f.words,O=0,H=0|h[0],N=8191&H,ee=H>>>13,De=0|h[1],ot=8191&De,je=De>>>13,Je=0|h[2],ye=8191&Je,me=Je>>>13,he=0|h[3],xe=8191&he,de=he>>>13,ge=0|h[4],qe=8191&ge,oe=ge>>>13,ve=0|h[5],le=8191&ve,Ge=ve>>>13,We=0|h[6],wt=8191&We,mt=We>>>13,kt=0|h[7],Ae=8191&kt,Be=kt>>>13,it=0|h[8],$e=8191&it,ke=it>>>13,st=0|h[9],Ke=8191&st,Et=st>>>13,ct=0|w[0],te=8191&ct,Pe=ct>>>13,$t=0|w[1],Ze=8191&$t,Qe=$t>>>13,zt=0|w[2],xt=8191&zt,Ot=zt>>>13,yt=0|w[3],nt=8191&yt,Ee=yt>>>13,tt=0|w[4],Ue=8191&tt,Xe=tt>>>13,gt=0|w[5],Le=8191&gt,be=gt>>>13,J=0|w[6],re=8191&J,Ie=J>>>13,Nt=0|w[7],At=8191&Nt,Zt=Nt>>>13,mi=0|w[8],Jt=8191&mi,Xt=mi>>>13,Hi=0|w[9],li=8191&Hi,hi=Hi>>>13;f.negative=n.negative^s.negative,f.length=19;var un=(O+(v=Math.imul(N,te))|0)+((8191&(r=(r=Math.imul(N,Pe))+Math.imul(ee,te)|0))<<13)|0;O=((g=Math.imul(ee,Pe))+(r>>>13)|0)+(un>>>26)|0,un&=67108863,v=Math.imul(ot,te),r=(r=Math.imul(ot,Pe))+Math.imul(je,te)|0,g=Math.imul(je,Pe);var Qi=(O+(v=v+Math.imul(N,Ze)|0)|0)+((8191&(r=(r=r+Math.imul(N,Qe)|0)+Math.imul(ee,Ze)|0))<<13)|0;O=((g=g+Math.imul(ee,Qe)|0)+(r>>>13)|0)+(Qi>>>26)|0,Qi&=67108863,v=Math.imul(ye,te),r=(r=Math.imul(ye,Pe))+Math.imul(me,te)|0,g=Math.imul(me,Pe),v=v+Math.imul(ot,Ze)|0,r=(r=r+Math.imul(ot,Qe)|0)+Math.imul(je,Ze)|0,g=g+Math.imul(je,Qe)|0;var xi=(O+(v=v+Math.imul(N,xt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ot)|0)+Math.imul(ee,xt)|0))<<13)|0;O=((g=g+Math.imul(ee,Ot)|0)+(r>>>13)|0)+(xi>>>26)|0,xi&=67108863,v=Math.imul(xe,te),r=(r=Math.imul(xe,Pe))+Math.imul(de,te)|0,g=Math.imul(de,Pe),v=v+Math.imul(ye,Ze)|0,r=(r=r+Math.imul(ye,Qe)|0)+Math.imul(me,Ze)|0,g=g+Math.imul(me,Qe)|0,v=v+Math.imul(ot,xt)|0,r=(r=r+Math.imul(ot,Ot)|0)+Math.imul(je,xt)|0,g=g+Math.imul(je,Ot)|0;var sn=(O+(v=v+Math.imul(N,nt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ee)|0)+Math.imul(ee,nt)|0))<<13)|0;O=((g=g+Math.imul(ee,Ee)|0)+(r>>>13)|0)+(sn>>>26)|0,sn&=67108863,v=Math.imul(qe,te),r=(r=Math.imul(qe,Pe))+Math.imul(oe,te)|0,g=Math.imul(oe,Pe),v=v+Math.imul(xe,Ze)|0,r=(r=r+Math.imul(xe,Qe)|0)+Math.imul(de,Ze)|0,g=g+Math.imul(de,Qe)|0,v=v+Math.imul(ye,xt)|0,r=(r=r+Math.imul(ye,Ot)|0)+Math.imul(me,xt)|0,g=g+Math.imul(me,Ot)|0,v=v+Math.imul(ot,nt)|0,r=(r=r+Math.imul(ot,Ee)|0)+Math.imul(je,nt)|0,g=g+Math.imul(je,Ee)|0;var at=(O+(v=v+Math.imul(N,Ue)|0)|0)+((8191&(r=(r=r+Math.imul(N,Xe)|0)+Math.imul(ee,Ue)|0))<<13)|0;O=((g=g+Math.imul(ee,Xe)|0)+(r>>>13)|0)+(at>>>26)|0,at&=67108863,v=Math.imul(le,te),r=(r=Math.imul(le,Pe))+Math.imul(Ge,te)|0,g=Math.imul(Ge,Pe),v=v+Math.imul(qe,Ze)|0,r=(r=r+Math.imul(qe,Qe)|0)+Math.imul(oe,Ze)|0,g=g+Math.imul(oe,Qe)|0,v=v+Math.imul(xe,xt)|0,r=(r=r+Math.imul(xe,Ot)|0)+Math.imul(de,xt)|0,g=g+Math.imul(de,Ot)|0,v=v+Math.imul(ye,nt)|0,r=(r=r+Math.imul(ye,Ee)|0)+Math.imul(me,nt)|0,g=g+Math.imul(me,Ee)|0,v=v+Math.imul(ot,Ue)|0,r=(r=r+Math.imul(ot,Xe)|0)+Math.imul(je,Ue)|0,g=g+Math.imul(je,Xe)|0;var oi=(O+(v=v+Math.imul(N,Le)|0)|0)+((8191&(r=(r=r+Math.imul(N,be)|0)+Math.imul(ee,Le)|0))<<13)|0;O=((g=g+Math.imul(ee,be)|0)+(r>>>13)|0)+(oi>>>26)|0,oi&=67108863,v=Math.imul(wt,te),r=(r=Math.imul(wt,Pe))+Math.imul(mt,te)|0,g=Math.imul(mt,Pe),v=v+Math.imul(le,Ze)|0,r=(r=r+Math.imul(le,Qe)|0)+Math.imul(Ge,Ze)|0,g=g+Math.imul(Ge,Qe)|0,v=v+Math.imul(qe,xt)|0,r=(r=r+Math.imul(qe,Ot)|0)+Math.imul(oe,xt)|0,g=g+Math.imul(oe,Ot)|0,v=v+Math.imul(xe,nt)|0,r=(r=r+Math.imul(xe,Ee)|0)+Math.imul(de,nt)|0,g=g+Math.imul(de,Ee)|0,v=v+Math.imul(ye,Ue)|0,r=(r=r+Math.imul(ye,Xe)|0)+Math.imul(me,Ue)|0,g=g+Math.imul(me,Xe)|0,v=v+Math.imul(ot,Le)|0,r=(r=r+Math.imul(ot,be)|0)+Math.imul(je,Le)|0,g=g+Math.imul(je,be)|0;var Ce=(O+(v=v+Math.imul(N,re)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ie)|0)+Math.imul(ee,re)|0))<<13)|0;O=((g=g+Math.imul(ee,Ie)|0)+(r>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,v=Math.imul(Ae,te),r=(r=Math.imul(Ae,Pe))+Math.imul(Be,te)|0,g=Math.imul(Be,Pe),v=v+Math.imul(wt,Ze)|0,r=(r=r+Math.imul(wt,Qe)|0)+Math.imul(mt,Ze)|0,g=g+Math.imul(mt,Qe)|0,v=v+Math.imul(le,xt)|0,r=(r=r+Math.imul(le,Ot)|0)+Math.imul(Ge,xt)|0,g=g+Math.imul(Ge,Ot)|0,v=v+Math.imul(qe,nt)|0,r=(r=r+Math.imul(qe,Ee)|0)+Math.imul(oe,nt)|0,g=g+Math.imul(oe,Ee)|0,v=v+Math.imul(xe,Ue)|0,r=(r=r+Math.imul(xe,Xe)|0)+Math.imul(de,Ue)|0,g=g+Math.imul(de,Xe)|0,v=v+Math.imul(ye,Le)|0,r=(r=r+Math.imul(ye,be)|0)+Math.imul(me,Le)|0,g=g+Math.imul(me,be)|0,v=v+Math.imul(ot,re)|0,r=(r=r+Math.imul(ot,Ie)|0)+Math.imul(je,re)|0,g=g+Math.imul(je,Ie)|0;var St=(O+(v=v+Math.imul(N,At)|0)|0)+((8191&(r=(r=r+Math.imul(N,Zt)|0)+Math.imul(ee,At)|0))<<13)|0;O=((g=g+Math.imul(ee,Zt)|0)+(r>>>13)|0)+(St>>>26)|0,St&=67108863,v=Math.imul($e,te),r=(r=Math.imul($e,Pe))+Math.imul(ke,te)|0,g=Math.imul(ke,Pe),v=v+Math.imul(Ae,Ze)|0,r=(r=r+Math.imul(Ae,Qe)|0)+Math.imul(Be,Ze)|0,g=g+Math.imul(Be,Qe)|0,v=v+Math.imul(wt,xt)|0,r=(r=r+Math.imul(wt,Ot)|0)+Math.imul(mt,xt)|0,g=g+Math.imul(mt,Ot)|0,v=v+Math.imul(le,nt)|0,r=(r=r+Math.imul(le,Ee)|0)+Math.imul(Ge,nt)|0,g=g+Math.imul(Ge,Ee)|0,v=v+Math.imul(qe,Ue)|0,r=(r=r+Math.imul(qe,Xe)|0)+Math.imul(oe,Ue)|0,g=g+Math.imul(oe,Xe)|0,v=v+Math.imul(xe,Le)|0,r=(r=r+Math.imul(xe,be)|0)+Math.imul(de,Le)|0,g=g+Math.imul(de,be)|0,v=v+Math.imul(ye,re)|0,r=(r=r+Math.imul(ye,Ie)|0)+Math.imul(me,re)|0,g=g+Math.imul(me,Ie)|0,v=v+Math.imul(ot,At)|0,r=(r=r+Math.imul(ot,Zt)|0)+Math.imul(je,At)|0,g=g+Math.imul(je,Zt)|0;var Ft=(O+(v=v+Math.imul(N,Jt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Xt)|0)+Math.imul(ee,Jt)|0))<<13)|0;O=((g=g+Math.imul(ee,Xt)|0)+(r>>>13)|0)+(Ft>>>26)|0,Ft&=67108863,v=Math.imul(Ke,te),r=(r=Math.imul(Ke,Pe))+Math.imul(Et,te)|0,g=Math.imul(Et,Pe),v=v+Math.imul($e,Ze)|0,r=(r=r+Math.imul($e,Qe)|0)+Math.imul(ke,Ze)|0,g=g+Math.imul(ke,Qe)|0,v=v+Math.imul(Ae,xt)|0,r=(r=r+Math.imul(Ae,Ot)|0)+Math.imul(Be,xt)|0,g=g+Math.imul(Be,Ot)|0,v=v+Math.imul(wt,nt)|0,r=(r=r+Math.imul(wt,Ee)|0)+Math.imul(mt,nt)|0,g=g+Math.imul(mt,Ee)|0,v=v+Math.imul(le,Ue)|0,r=(r=r+Math.imul(le,Xe)|0)+Math.imul(Ge,Ue)|0,g=g+Math.imul(Ge,Xe)|0,v=v+Math.imul(qe,Le)|0,r=(r=r+Math.imul(qe,be)|0)+Math.imul(oe,Le)|0,g=g+Math.imul(oe,be)|0,v=v+Math.imul(xe,re)|0,r=(r=r+Math.imul(xe,Ie)|0)+Math.imul(de,re)|0,g=g+Math.imul(de,Ie)|0,v=v+Math.imul(ye,At)|0,r=(r=r+Math.imul(ye,Zt)|0)+Math.imul(me,At)|0,g=g+Math.imul(me,Zt)|0,v=v+Math.imul(ot,Jt)|0,r=(r=r+Math.imul(ot,Xt)|0)+Math.imul(je,Jt)|0,g=g+Math.imul(je,Xt)|0;var Dt=(O+(v=v+Math.imul(N,li)|0)|0)+((8191&(r=(r=r+Math.imul(N,hi)|0)+Math.imul(ee,li)|0))<<13)|0;O=((g=g+Math.imul(ee,hi)|0)+(r>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,v=Math.imul(Ke,Ze),r=(r=Math.imul(Ke,Qe))+Math.imul(Et,Ze)|0,g=Math.imul(Et,Qe),v=v+Math.imul($e,xt)|0,r=(r=r+Math.imul($e,Ot)|0)+Math.imul(ke,xt)|0,g=g+Math.imul(ke,Ot)|0,v=v+Math.imul(Ae,nt)|0,r=(r=r+Math.imul(Ae,Ee)|0)+Math.imul(Be,nt)|0,g=g+Math.imul(Be,Ee)|0,v=v+Math.imul(wt,Ue)|0,r=(r=r+Math.imul(wt,Xe)|0)+Math.imul(mt,Ue)|0,g=g+Math.imul(mt,Xe)|0,v=v+Math.imul(le,Le)|0,r=(r=r+Math.imul(le,be)|0)+Math.imul(Ge,Le)|0,g=g+Math.imul(Ge,be)|0,v=v+Math.imul(qe,re)|0,r=(r=r+Math.imul(qe,Ie)|0)+Math.imul(oe,re)|0,g=g+Math.imul(oe,Ie)|0,v=v+Math.imul(xe,At)|0,r=(r=r+Math.imul(xe,Zt)|0)+Math.imul(de,At)|0,g=g+Math.imul(de,Zt)|0,v=v+Math.imul(ye,Jt)|0,r=(r=r+Math.imul(ye,Xt)|0)+Math.imul(me,Jt)|0,g=g+Math.imul(me,Xt)|0;var It=(O+(v=v+Math.imul(ot,li)|0)|0)+((8191&(r=(r=r+Math.imul(ot,hi)|0)+Math.imul(je,li)|0))<<13)|0;O=((g=g+Math.imul(je,hi)|0)+(r>>>13)|0)+(It>>>26)|0,It&=67108863,v=Math.imul(Ke,xt),r=(r=Math.imul(Ke,Ot))+Math.imul(Et,xt)|0,g=Math.imul(Et,Ot),v=v+Math.imul($e,nt)|0,r=(r=r+Math.imul($e,Ee)|0)+Math.imul(ke,nt)|0,g=g+Math.imul(ke,Ee)|0,v=v+Math.imul(Ae,Ue)|0,r=(r=r+Math.imul(Ae,Xe)|0)+Math.imul(Be,Ue)|0,g=g+Math.imul(Be,Xe)|0,v=v+Math.imul(wt,Le)|0,r=(r=r+Math.imul(wt,be)|0)+Math.imul(mt,Le)|0,g=g+Math.imul(mt,be)|0,v=v+Math.imul(le,re)|0,r=(r=r+Math.imul(le,Ie)|0)+Math.imul(Ge,re)|0,g=g+Math.imul(Ge,Ie)|0,v=v+Math.imul(qe,At)|0,r=(r=r+Math.imul(qe,Zt)|0)+Math.imul(oe,At)|0,g=g+Math.imul(oe,Zt)|0,v=v+Math.imul(xe,Jt)|0,r=(r=r+Math.imul(xe,Xt)|0)+Math.imul(de,Jt)|0,g=g+Math.imul(de,Xt)|0;var Ut=(O+(v=v+Math.imul(ye,li)|0)|0)+((8191&(r=(r=r+Math.imul(ye,hi)|0)+Math.imul(me,li)|0))<<13)|0;O=((g=g+Math.imul(me,hi)|0)+(r>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,v=Math.imul(Ke,nt),r=(r=Math.imul(Ke,Ee))+Math.imul(Et,nt)|0,g=Math.imul(Et,Ee),v=v+Math.imul($e,Ue)|0,r=(r=r+Math.imul($e,Xe)|0)+Math.imul(ke,Ue)|0,g=g+Math.imul(ke,Xe)|0,v=v+Math.imul(Ae,Le)|0,r=(r=r+Math.imul(Ae,be)|0)+Math.imul(Be,Le)|0,g=g+Math.imul(Be,be)|0,v=v+Math.imul(wt,re)|0,r=(r=r+Math.imul(wt,Ie)|0)+Math.imul(mt,re)|0,g=g+Math.imul(mt,Ie)|0,v=v+Math.imul(le,At)|0,r=(r=r+Math.imul(le,Zt)|0)+Math.imul(Ge,At)|0,g=g+Math.imul(Ge,Zt)|0,v=v+Math.imul(qe,Jt)|0,r=(r=r+Math.imul(qe,Xt)|0)+Math.imul(oe,Jt)|0,g=g+Math.imul(oe,Xt)|0;var ai=(O+(v=v+Math.imul(xe,li)|0)|0)+((8191&(r=(r=r+Math.imul(xe,hi)|0)+Math.imul(de,li)|0))<<13)|0;O=((g=g+Math.imul(de,hi)|0)+(r>>>13)|0)+(ai>>>26)|0,ai&=67108863,v=Math.imul(Ke,Ue),r=(r=Math.imul(Ke,Xe))+Math.imul(Et,Ue)|0,g=Math.imul(Et,Xe),v=v+Math.imul($e,Le)|0,r=(r=r+Math.imul($e,be)|0)+Math.imul(ke,Le)|0,g=g+Math.imul(ke,be)|0,v=v+Math.imul(Ae,re)|0,r=(r=r+Math.imul(Ae,Ie)|0)+Math.imul(Be,re)|0,g=g+Math.imul(Be,Ie)|0,v=v+Math.imul(wt,At)|0,r=(r=r+Math.imul(wt,Zt)|0)+Math.imul(mt,At)|0,g=g+Math.imul(mt,Zt)|0,v=v+Math.imul(le,Jt)|0,r=(r=r+Math.imul(le,Xt)|0)+Math.imul(Ge,Jt)|0,g=g+Math.imul(Ge,Xt)|0;var _i=(O+(v=v+Math.imul(qe,li)|0)|0)+((8191&(r=(r=r+Math.imul(qe,hi)|0)+Math.imul(oe,li)|0))<<13)|0;O=((g=g+Math.imul(oe,hi)|0)+(r>>>13)|0)+(_i>>>26)|0,_i&=67108863,v=Math.imul(Ke,Le),r=(r=Math.imul(Ke,be))+Math.imul(Et,Le)|0,g=Math.imul(Et,be),v=v+Math.imul($e,re)|0,r=(r=r+Math.imul($e,Ie)|0)+Math.imul(ke,re)|0,g=g+Math.imul(ke,Ie)|0,v=v+Math.imul(Ae,At)|0,r=(r=r+Math.imul(Ae,Zt)|0)+Math.imul(Be,At)|0,g=g+Math.imul(Be,Zt)|0,v=v+Math.imul(wt,Jt)|0,r=(r=r+Math.imul(wt,Xt)|0)+Math.imul(mt,Jt)|0,g=g+Math.imul(mt,Xt)|0;var bi=(O+(v=v+Math.imul(le,li)|0)|0)+((8191&(r=(r=r+Math.imul(le,hi)|0)+Math.imul(Ge,li)|0))<<13)|0;O=((g=g+Math.imul(Ge,hi)|0)+(r>>>13)|0)+(bi>>>26)|0,bi&=67108863,v=Math.imul(Ke,re),r=(r=Math.imul(Ke,Ie))+Math.imul(Et,re)|0,g=Math.imul(Et,Ie),v=v+Math.imul($e,At)|0,r=(r=r+Math.imul($e,Zt)|0)+Math.imul(ke,At)|0,g=g+Math.imul(ke,Zt)|0,v=v+Math.imul(Ae,Jt)|0,r=(r=r+Math.imul(Ae,Xt)|0)+Math.imul(Be,Jt)|0,g=g+Math.imul(Be,Xt)|0;var Oi=(O+(v=v+Math.imul(wt,li)|0)|0)+((8191&(r=(r=r+Math.imul(wt,hi)|0)+Math.imul(mt,li)|0))<<13)|0;O=((g=g+Math.imul(mt,hi)|0)+(r>>>13)|0)+(Oi>>>26)|0,Oi&=67108863,v=Math.imul(Ke,At),r=(r=Math.imul(Ke,Zt))+Math.imul(Et,At)|0,g=Math.imul(Et,Zt),v=v+Math.imul($e,Jt)|0,r=(r=r+Math.imul($e,Xt)|0)+Math.imul(ke,Jt)|0,g=g+Math.imul(ke,Xt)|0;var Bi=(O+(v=v+Math.imul(Ae,li)|0)|0)+((8191&(r=(r=r+Math.imul(Ae,hi)|0)+Math.imul(Be,li)|0))<<13)|0;O=((g=g+Math.imul(Be,hi)|0)+(r>>>13)|0)+(Bi>>>26)|0,Bi&=67108863,v=Math.imul(Ke,Jt),r=(r=Math.imul(Ke,Xt))+Math.imul(Et,Jt)|0,g=Math.imul(Et,Xt);var Vi=(O+(v=v+Math.imul($e,li)|0)|0)+((8191&(r=(r=r+Math.imul($e,hi)|0)+Math.imul(ke,li)|0))<<13)|0;O=((g=g+Math.imul(ke,hi)|0)+(r>>>13)|0)+(Vi>>>26)|0,Vi&=67108863;var Kt=(O+(v=Math.imul(Ke,li))|0)+((8191&(r=(r=Math.imul(Ke,hi))+Math.imul(Et,li)|0))<<13)|0;return O=((g=Math.imul(Et,hi))+(r>>>13)|0)+(Kt>>>26)|0,Kt&=67108863,D[0]=un,D[1]=Qi,D[2]=xi,D[3]=sn,D[4]=at,D[5]=oi,D[6]=Ce,D[7]=St,D[8]=Ft,D[9]=Dt,D[10]=It,D[11]=Ut,D[12]=ai,D[13]=_i,D[14]=bi,D[15]=Oi,D[16]=Bi,D[17]=Vi,D[18]=Kt,0!==O&&(D[19]=O,f.length++),f};function j(S,n,s){return(new K).mulp(S,n,s)}function K(S,n){this.x=S,this.y=n}Math.imul||(B=V),l.prototype.mulTo=function(n,s){var f,h=this.length+n.length;return f=10===this.length&&10===n.length?B(this,n,s):h<63?V(this,n,s):h<1024?function W(S,n,s){s.negative=n.negative^S.negative,s.length=S.length+n.length;for(var f=0,h=0,w=0;w<s.length-1;w++){var D=h;h=0;for(var O=67108863&f,v=Math.min(w,n.length-1),r=Math.max(0,w-S.length+1);r<=v;r++){var ee=(0|S.words[w-r])*(0|n.words[r]),De=67108863&ee;O=67108863&(De=De+O|0),h+=(D=(D=D+(ee/67108864|0)|0)+(De>>>26)|0)>>>26,D&=67108863}s.words[w]=O,f=D,D=h}return 0!==f?s.words[w]=f:s.length--,s.strip()}(this,n,s):j(this,n,s),f},K.prototype.makeRBT=function(n){for(var s=new Array(n),f=l.prototype._countBits(n)-1,h=0;h<n;h++)s[h]=this.revBin(h,f,n);return s},K.prototype.revBin=function(n,s,f){if(0===n||n===f-1)return n;for(var h=0,w=0;w<s;w++)h|=(1&n)<<s-w-1,n>>=1;return h},K.prototype.permute=function(n,s,f,h,w,D){for(var O=0;O<D;O++)h[O]=s[n[O]],w[O]=f[n[O]]},K.prototype.transform=function(n,s,f,h,w,D){this.permute(D,n,s,f,h,w);for(var O=1;O<w;O<<=1)for(var v=O<<1,r=Math.cos(2*Math.PI/v),g=Math.sin(2*Math.PI/v),H=0;H<w;H+=v)for(var N=r,ee=g,De=0;De<O;De++){var ot=f[H+De],je=h[H+De],Je=f[H+De+O],ye=h[H+De+O],me=N*Je-ee*ye;ye=N*ye+ee*Je,f[H+De]=ot+(Je=me),h[H+De]=je+ye,f[H+De+O]=ot-Je,h[H+De+O]=je-ye,De!==v&&(me=r*N-g*ee,ee=r*ee+g*N,N=me)}},K.prototype.guessLen13b=function(n,s){var f=1|Math.max(s,n),h=1&f,w=0;for(f=f/2|0;f;f>>>=1)w++;return 1<<w+1+h},K.prototype.conjugate=function(n,s,f){if(!(f<=1))for(var h=0;h<f/2;h++){var w=n[h];n[h]=n[f-h-1],n[f-h-1]=w,w=s[h],s[h]=-s[f-h-1],s[f-h-1]=-w}},K.prototype.normalize13b=function(n,s){for(var f=0,h=0;h<s/2;h++){var w=8192*Math.round(n[2*h+1]/s)+Math.round(n[2*h]/s)+f;n[h]=67108863&w,f=w<67108864?0:w/67108864|0}return n},K.prototype.convert13b=function(n,s,f,h){for(var w=0,D=0;D<s;D++)f[2*D]=8191&(w+=0|n[D]),f[2*D+1]=8191&(w>>>=13),w>>>=13;for(D=2*s;D<h;++D)f[D]=0;y(0===w),y(0==(-8192&w))},K.prototype.stub=function(n){for(var s=new Array(n),f=0;f<n;f++)s[f]=0;return s},K.prototype.mulp=function(n,s,f){var h=2*this.guessLen13b(n.length,s.length),w=this.makeRBT(h),D=this.stub(h),O=new Array(h),v=new Array(h),r=new Array(h),g=new Array(h),H=new Array(h),N=new Array(h),ee=f.words;ee.length=h,this.convert13b(n.words,n.length,O,h),this.convert13b(s.words,s.length,g,h),this.transform(O,D,v,r,h,w),this.transform(g,D,H,N,h,w);for(var De=0;De<h;De++){var ot=v[De]*H[De]-r[De]*N[De];r[De]=v[De]*N[De]+r[De]*H[De],v[De]=ot}return this.conjugate(v,r,h),this.transform(v,r,ee,D,h,w),this.conjugate(ee,D,h),this.normalize13b(ee,h),f.negative=n.negative^s.negative,f.length=n.length+s.length,f.strip()},l.prototype.mul=function(n){var s=new l(null);return s.words=new Array(this.length+n.length),this.mulTo(n,s)},l.prototype.mulf=function(n){var s=new l(null);return s.words=new Array(this.length+n.length),j(this,n,s)},l.prototype.imul=function(n){return this.clone().mulTo(n,this)},l.prototype.imuln=function(n){y("number"==typeof n),y(n<67108864);for(var s=0,f=0;f<this.length;f++){var h=(0|this.words[f])*n,w=(67108863&h)+(67108863&s);s>>=26,s+=h/67108864|0,s+=w>>>26,this.words[f]=67108863&w}return 0!==s&&(this.words[f]=s,this.length++),this},l.prototype.muln=function(n){return this.clone().imuln(n)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(n){var s=function k(S){for(var n=new Array(S.bitLength()),s=0;s<n.length;s++){var h=s%26;n[s]=(S.words[s/26|0]&1<<h)>>>h}return n}(n);if(0===s.length)return new l(1);for(var f=this,h=0;h<s.length&&0===s[h];h++,f=f.sqr());if(++h<s.length)for(var w=f.sqr();h<s.length;h++,w=w.sqr())0!==s[h]&&(f=f.mul(w));return f},l.prototype.iushln=function(n){y("number"==typeof n&&n>=0);var w,s=n%26,f=(n-s)/26,h=67108863>>>26-s<<26-s;if(0!==s){var D=0;for(w=0;w<this.length;w++){var O=this.words[w]&h;this.words[w]=(0|this.words[w])-O<<s|D,D=O>>>26-s}D&&(this.words[w]=D,this.length++)}if(0!==f){for(w=this.length-1;w>=0;w--)this.words[w+f]=this.words[w];for(w=0;w<f;w++)this.words[w]=0;this.length+=f}return this.strip()},l.prototype.ishln=function(n){return y(0===this.negative),this.iushln(n)},l.prototype.iushrn=function(n,s,f){var h;y("number"==typeof n&&n>=0),h=s?(s-s%26)/26:0;var w=n%26,D=Math.min((n-w)/26,this.length),O=67108863^67108863>>>w<<w,v=f;if(h-=D,h=Math.max(0,h),v){for(var r=0;r<D;r++)v.words[r]=this.words[r];v.length=D}if(0!==D)if(this.length>D)for(this.length-=D,r=0;r<this.length;r++)this.words[r]=this.words[r+D];else this.words[0]=0,this.length=1;var g=0;for(r=this.length-1;r>=0&&(0!==g||r>=h);r--){var H=0|this.words[r];this.words[r]=g<<26-w|H>>>w,g=H&O}return v&&0!==g&&(v.words[v.length++]=g),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(n,s,f){return y(0===this.negative),this.iushrn(n,s,f)},l.prototype.shln=function(n){return this.clone().ishln(n)},l.prototype.ushln=function(n){return this.clone().iushln(n)},l.prototype.shrn=function(n){return this.clone().ishrn(n)},l.prototype.ushrn=function(n){return this.clone().iushrn(n)},l.prototype.testn=function(n){y("number"==typeof n&&n>=0);var s=n%26,f=(n-s)/26;return!(this.length<=f||!(this.words[f]&1<<s))},l.prototype.imaskn=function(n){y("number"==typeof n&&n>=0);var s=n%26,f=(n-s)/26;return y(0===this.negative,"imaskn works only with positive numbers"),this.length<=f?this:(0!==s&&f++,this.length=Math.min(f,this.length),0!==s&&(this.words[this.length-1]&=67108863^67108863>>>s<<s),this.strip())},l.prototype.maskn=function(n){return this.clone().imaskn(n)},l.prototype.iaddn=function(n){return y("number"==typeof n),y(n<67108864),n<0?this.isubn(-n):0!==this.negative?1===this.length&&(0|this.words[0])<n?(this.words[0]=n-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(n),this.negative=1,this):this._iaddn(n)},l.prototype._iaddn=function(n){this.words[0]+=n;for(var s=0;s<this.length&&this.words[s]>=67108864;s++)this.words[s]-=67108864,s===this.length-1?this.words[s+1]=1:this.words[s+1]++;return this.length=Math.max(this.length,s+1),this},l.prototype.isubn=function(n){if(y("number"==typeof n),y(n<67108864),n<0)return this.iaddn(-n);if(0!==this.negative)return this.negative=0,this.iaddn(n),this.negative=1,this;if(this.words[0]-=n,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var s=0;s<this.length&&this.words[s]<0;s++)this.words[s]+=67108864,this.words[s+1]-=1;return this.strip()},l.prototype.addn=function(n){return this.clone().iaddn(n)},l.prototype.subn=function(n){return this.clone().isubn(n)},l.prototype.iabs=function(){return this.negative=0,this},l.prototype.abs=function(){return this.clone().iabs()},l.prototype._ishlnsubmul=function(n,s,f){var w;this._expand(n.length+f);var D,O=0;for(w=0;w<n.length;w++){D=(0|this.words[w+f])+O;var v=(0|n.words[w])*s;O=((D-=67108863&v)>>26)-(v/67108864|0),this.words[w+f]=67108863&D}for(;w<this.length-f;w++)O=(D=(0|this.words[w+f])+O)>>26,this.words[w+f]=67108863&D;if(0===O)return this.strip();for(y(-1===O),O=0,w=0;w<this.length;w++)O=(D=-(0|this.words[w])+O)>>26,this.words[w]=67108863&D;return this.negative=1,this.strip()},l.prototype._wordDiv=function(n,s){var f,h=this.clone(),w=n,D=0|w.words[w.length-1];0!=(f=26-this._countBits(D))&&(w=w.ushln(f),h.iushln(f),D=0|w.words[w.length-1]);var r,v=h.length-w.length;if("mod"!==s){(r=new l(null)).length=v+1,r.words=new Array(r.length);for(var g=0;g<r.length;g++)r.words[g]=0}var H=h.clone()._ishlnsubmul(w,1,v);0===H.negative&&(h=H,r&&(r.words[v]=1));for(var N=v-1;N>=0;N--){var ee=67108864*(0|h.words[w.length+N])+(0|h.words[w.length+N-1]);for(ee=Math.min(ee/D|0,67108863),h._ishlnsubmul(w,ee,N);0!==h.negative;)ee--,h.negative=0,h._ishlnsubmul(w,1,N),h.isZero()||(h.negative^=1);r&&(r.words[N]=ee)}return r&&r.strip(),h.strip(),"div"!==s&&0!==f&&h.iushrn(f),{div:r||null,mod:h}},l.prototype.divmod=function(n,s,f){return y(!n.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===n.negative?(D=this.neg().divmod(n,s),"mod"!==s&&(h=D.div.neg()),"div"!==s&&(w=D.mod.neg(),f&&0!==w.negative&&w.iadd(n)),{div:h,mod:w}):0===this.negative&&0!==n.negative?(D=this.divmod(n.neg(),s),"mod"!==s&&(h=D.div.neg()),{div:h,mod:D.mod}):this.negative&n.negative?(D=this.neg().divmod(n.neg(),s),"div"!==s&&(w=D.mod.neg(),f&&0!==w.negative&&w.isub(n)),{div:D.div,mod:w}):n.length>this.length||this.cmp(n)<0?{div:new l(0),mod:this}:1===n.length?"div"===s?{div:this.divn(n.words[0]),mod:null}:"mod"===s?{div:null,mod:new l(this.modn(n.words[0]))}:{div:this.divn(n.words[0]),mod:new l(this.modn(n.words[0]))}:this._wordDiv(n,s);var h,w,D},l.prototype.div=function(n){return this.divmod(n,"div",!1).div},l.prototype.mod=function(n){return this.divmod(n,"mod",!1).mod},l.prototype.umod=function(n){return this.divmod(n,"mod",!0).mod},l.prototype.divRound=function(n){var s=this.divmod(n);if(s.mod.isZero())return s.div;var f=0!==s.div.negative?s.mod.isub(n):s.mod,h=n.ushrn(1),w=n.andln(1),D=f.cmp(h);return D<0||1===w&&0===D?s.div:0!==s.div.negative?s.div.isubn(1):s.div.iaddn(1)},l.prototype.modn=function(n){y(n<=67108863);for(var s=(1<<26)%n,f=0,h=this.length-1;h>=0;h--)f=(s*f+(0|this.words[h]))%n;return f},l.prototype.idivn=function(n){y(n<=67108863);for(var s=0,f=this.length-1;f>=0;f--){var h=(0|this.words[f])+67108864*s;this.words[f]=h/n|0,s=h%n}return this.strip()},l.prototype.divn=function(n){return this.clone().idivn(n)},l.prototype.egcd=function(n){y(0===n.negative),y(!n.isZero());var s=this,f=n.clone();s=0!==s.negative?s.umod(n):s.clone();for(var h=new l(1),w=new l(0),D=new l(0),O=new l(1),v=0;s.isEven()&&f.isEven();)s.iushrn(1),f.iushrn(1),++v;for(var r=f.clone(),g=s.clone();!s.isZero();){for(var H=0,N=1;!(s.words[0]&N)&&H<26;++H,N<<=1);if(H>0)for(s.iushrn(H);H-- >0;)(h.isOdd()||w.isOdd())&&(h.iadd(r),w.isub(g)),h.iushrn(1),w.iushrn(1);for(var ee=0,De=1;!(f.words[0]&De)&&ee<26;++ee,De<<=1);if(ee>0)for(f.iushrn(ee);ee-- >0;)(D.isOdd()||O.isOdd())&&(D.iadd(r),O.isub(g)),D.iushrn(1),O.iushrn(1);s.cmp(f)>=0?(s.isub(f),h.isub(D),w.isub(O)):(f.isub(s),D.isub(h),O.isub(w))}return{a:D,b:O,gcd:f.iushln(v)}},l.prototype._invmp=function(n){y(0===n.negative),y(!n.isZero());var H,s=this,f=n.clone();s=0!==s.negative?s.umod(n):s.clone();for(var h=new l(1),w=new l(0),D=f.clone();s.cmpn(1)>0&&f.cmpn(1)>0;){for(var O=0,v=1;!(s.words[0]&v)&&O<26;++O,v<<=1);if(O>0)for(s.iushrn(O);O-- >0;)h.isOdd()&&h.iadd(D),h.iushrn(1);for(var r=0,g=1;!(f.words[0]&g)&&r<26;++r,g<<=1);if(r>0)for(f.iushrn(r);r-- >0;)w.isOdd()&&w.iadd(D),w.iushrn(1);s.cmp(f)>=0?(s.isub(f),h.isub(w)):(f.isub(s),w.isub(h))}return(H=0===s.cmpn(1)?h:w).cmpn(0)<0&&H.iadd(n),H},l.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var s=this.clone(),f=n.clone();s.negative=0,f.negative=0;for(var h=0;s.isEven()&&f.isEven();h++)s.iushrn(1),f.iushrn(1);for(;;){for(;s.isEven();)s.iushrn(1);for(;f.isEven();)f.iushrn(1);var w=s.cmp(f);if(w<0){var D=s;s=f,f=D}else if(0===w||0===f.cmpn(1))break;s.isub(f)}return f.iushln(h)},l.prototype.invm=function(n){return this.egcd(n).a.umod(n)},l.prototype.isEven=function(){return 0==(1&this.words[0])},l.prototype.isOdd=function(){return 1==(1&this.words[0])},l.prototype.andln=function(n){return this.words[0]&n},l.prototype.bincn=function(n){y("number"==typeof n);var s=n%26,f=(n-s)/26,h=1<<s;if(this.length<=f)return this._expand(f+1),this.words[f]|=h,this;for(var w=h,D=f;0!==w&&D<this.length;D++){var O=0|this.words[D];w=(O+=w)>>>26,this.words[D]=O&=67108863}return 0!==w&&(this.words[D]=w,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(n){var f,s=n<0;if(0!==this.negative&&!s)return-1;if(0===this.negative&&s)return 1;if(this.strip(),this.length>1)f=1;else{s&&(n=-n),y(n<=67108863,"Number is too big");var h=0|this.words[0];f=h===n?0:h<n?-1:1}return 0!==this.negative?0|-f:f},l.prototype.cmp=function(n){if(0!==this.negative&&0===n.negative)return-1;if(0===this.negative&&0!==n.negative)return 1;var s=this.ucmp(n);return 0!==this.negative?0|-s:s},l.prototype.ucmp=function(n){if(this.length>n.length)return 1;if(this.length<n.length)return-1;for(var s=0,f=this.length-1;f>=0;f--){var h=0|this.words[f],w=0|n.words[f];if(h!==w){h<w?s=-1:h>w&&(s=1);break}}return s},l.prototype.gtn=function(n){return 1===this.cmpn(n)},l.prototype.gt=function(n){return 1===this.cmp(n)},l.prototype.gten=function(n){return this.cmpn(n)>=0},l.prototype.gte=function(n){return this.cmp(n)>=0},l.prototype.ltn=function(n){return-1===this.cmpn(n)},l.prototype.lt=function(n){return-1===this.cmp(n)},l.prototype.lten=function(n){return this.cmpn(n)<=0},l.prototype.lte=function(n){return this.cmp(n)<=0},l.prototype.eqn=function(n){return 0===this.cmpn(n)},l.prototype.eq=function(n){return 0===this.cmp(n)},l.red=function(n){return new $(n)},l.prototype.toRed=function(n){return y(!this.red,"Already a number in reduction context"),y(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},l.prototype.fromRed=function(){return y(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(n){return this.red=n,this},l.prototype.forceRed=function(n){return y(!this.red,"Already a number in reduction context"),this._forceRed(n)},l.prototype.redAdd=function(n){return y(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},l.prototype.redIAdd=function(n){return y(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},l.prototype.redSub=function(n){return y(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},l.prototype.redISub=function(n){return y(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},l.prototype.redShl=function(n){return y(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},l.prototype.redMul=function(n){return y(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},l.prototype.redIMul=function(n){return y(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},l.prototype.redSqr=function(){return y(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return y(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return y(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return y(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return y(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(n){return y(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var X={k256:null,p224:null,p192:null,p25519:null};function ie(S,n){this.name=S,this.p=new l(n,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function ae(){ie.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function fe(){ie.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function se(){ie.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function Me(){ie.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function $(S){if("string"==typeof S){var n=l._prime(S);this.m=n.p,this.prime=n}else y(S.gtn(1),"modulus must be greater than 1"),this.m=S,this.prime=null}function ue(S){$.call(this,S),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}ie.prototype._tmp=function(){var n=new l(null);return n.words=new Array(Math.ceil(this.n/13)),n},ie.prototype.ireduce=function(n){var f,s=n;do{this.split(s,this.tmp),f=(s=(s=this.imulK(s)).iadd(this.tmp)).bitLength()}while(f>this.n);var h=f<this.n?-1:s.ucmp(this.p);return 0===h?(s.words[0]=0,s.length=1):h>0?s.isub(this.p):void 0!==s.strip?s.strip():s._strip(),s},ie.prototype.split=function(n,s){n.iushrn(this.n,0,s)},ie.prototype.imulK=function(n){return n.imul(this.k)},A(ae,ie),ae.prototype.split=function(n,s){for(var f=4194303,h=Math.min(n.length,9),w=0;w<h;w++)s.words[w]=n.words[w];if(s.length=h,n.length<=9)return n.words[0]=0,void(n.length=1);var D=n.words[9];for(s.words[s.length++]=D&f,w=10;w<n.length;w++){var O=0|n.words[w];n.words[w-10]=(O&f)<<4|D>>>22,D=O}n.words[w-10]=D>>>=22,n.length-=0===D&&n.length>10?10:9},ae.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var s=0,f=0;f<n.length;f++){var h=0|n.words[f];n.words[f]=67108863&(s+=977*h),s=64*h+(s/67108864|0)}return 0===n.words[n.length-1]&&(n.length--,0===n.words[n.length-1]&&n.length--),n},A(fe,ie),A(se,ie),A(Me,ie),Me.prototype.imulK=function(n){for(var s=0,f=0;f<n.length;f++){var h=19*(0|n.words[f])+s,w=67108863&h;h>>>=26,n.words[f]=w,s=h}return 0!==s&&(n.words[n.length++]=s),n},l._prime=function(n){if(X[n])return X[n];var s;if("k256"===n)s=new ae;else if("p224"===n)s=new fe;else if("p192"===n)s=new se;else{if("p25519"!==n)throw new Error("Unknown prime "+n);s=new Me}return X[n]=s,s},$.prototype._verify1=function(n){y(0===n.negative,"red works only with positives"),y(n.red,"red works only with red numbers")},$.prototype._verify2=function(n,s){y(0==(n.negative|s.negative),"red works only with positives"),y(n.red&&n.red===s.red,"red works only with red numbers")},$.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},$.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},$.prototype.add=function(n,s){this._verify2(n,s);var f=n.add(s);return f.cmp(this.m)>=0&&f.isub(this.m),f._forceRed(this)},$.prototype.iadd=function(n,s){this._verify2(n,s);var f=n.iadd(s);return f.cmp(this.m)>=0&&f.isub(this.m),f},$.prototype.sub=function(n,s){this._verify2(n,s);var f=n.sub(s);return f.cmpn(0)<0&&f.iadd(this.m),f._forceRed(this)},$.prototype.isub=function(n,s){this._verify2(n,s);var f=n.isub(s);return f.cmpn(0)<0&&f.iadd(this.m),f},$.prototype.shl=function(n,s){return this._verify1(n),this.imod(n.ushln(s))},$.prototype.imul=function(n,s){return this._verify2(n,s),this.imod(n.imul(s))},$.prototype.mul=function(n,s){return this._verify2(n,s),this.imod(n.mul(s))},$.prototype.isqr=function(n){return this.imul(n,n.clone())},$.prototype.sqr=function(n){return this.mul(n,n)},$.prototype.sqrt=function(n){if(n.isZero())return n.clone();var s=this.m.andln(3);if(y(s%2==1),3===s){var f=this.m.add(new l(1)).iushrn(2);return this.pow(n,f)}for(var h=this.m.subn(1),w=0;!h.isZero()&&0===h.andln(1);)w++,h.iushrn(1);y(!h.isZero());var D=new l(1).toRed(this),O=D.redNeg(),v=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new l(2*r*r).toRed(this);0!==this.pow(r,v).cmp(O);)r.redIAdd(O);for(var g=this.pow(r,h),H=this.pow(n,h.addn(1).iushrn(1)),N=this.pow(n,h),ee=w;0!==N.cmp(D);){for(var De=N,ot=0;0!==De.cmp(D);ot++)De=De.redSqr();y(ot<ee);var je=this.pow(g,new l(1).iushln(ee-ot-1));H=H.redMul(je),g=je.redSqr(),N=N.redMul(g),ee=ot}return H},$.prototype.invm=function(n){var s=n._invmp(this.m);return 0!==s.negative?(s.negative=0,this.imod(s).redNeg()):this.imod(s)},$.prototype.pow=function(n,s){if(s.isZero())return new l(1).toRed(this);if(0===s.cmpn(1))return n.clone();var h=new Array(16);h[0]=new l(1).toRed(this),h[1]=n;for(var w=2;w<h.length;w++)h[w]=this.mul(h[w-1],n);var D=h[0],O=0,v=0,r=s.bitLength()%26;for(0===r&&(r=26),w=s.length-1;w>=0;w--){for(var g=s.words[w],H=r-1;H>=0;H--){var N=g>>H&1;D!==h[0]&&(D=this.sqr(D)),0!==N||0!==O?(O<<=1,O|=N,(4==++v||0===w&&0===H)&&(D=this.mul(D,h[O]),v=0,O=0)):v=0}r=26}return D},$.prototype.convertTo=function(n){var s=n.umod(this.m);return s===n?s.clone():s},$.prototype.convertFrom=function(n){var s=n.clone();return s.red=null,s},l.mont=function(n){return new ue(n)},A(ue,$),ue.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},ue.prototype.convertFrom=function(n){var s=this.imod(n.mul(this.rinv));return s.red=null,s},ue.prototype.imul=function(n,s){if(n.isZero()||s.isZero())return n.words[0]=0,n.length=1,n;var f=n.imul(s),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),w=f.isub(h).iushrn(this.shift),D=w;return w.cmp(this.m)>=0?D=w.isub(this.m):w.cmpn(0)<0&&(D=w.iadd(this.m)),D._forceRed(this)},ue.prototype.mul=function(n,s){if(n.isZero()||s.isZero())return new l(0)._forceRed(this);var f=n.mul(s),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),w=f.isub(h).iushrn(this.shift),D=w;return w.cmp(this.m)>=0?D=w.isub(this.m):w.cmpn(0)<0&&(D=w.iadd(this.m)),D._forceRed(this)},ue.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(ze=p.nmd(ze),this)},6119:ze=>{"use strict";ze.exports=function(p){for(var e=[],t=p.length,y=0;y<t;y++){var A=p.charCodeAt(y);if(A>=55296&&A<=56319&&t>y+1){var l=p.charCodeAt(y+1);l>=56320&&l<=57343&&(A=1024*(A-55296)+l-56320+65536,y+=1)}A<128?e.push(A):A<2048?(e.push(A>>6|192),e.push(63&A|128)):A<55296||A>=57344&&A<65536?(e.push(A>>12|224),e.push(A>>6&63|128),e.push(63&A|128)):A>=65536&&A<=1114111?(e.push(A>>18|240),e.push(A>>12&63|128),e.push(A>>6&63|128),e.push(63&A|128)):e.push(239,191,189)}return new Uint8Array(e).buffer}},2016:ze=>{"use strict";var e,q="object"==typeof Reflect?Reflect:null,p=q&&"function"==typeof q.apply?q.apply:function(ie,ae,fe){return Function.prototype.apply.call(ie,ae,fe)};e=q&&"function"==typeof q.ownKeys?q.ownKeys:Object.getOwnPropertySymbols?function(ie){return Object.getOwnPropertyNames(ie).concat(Object.getOwnPropertySymbols(ie))}:function(ie){return Object.getOwnPropertyNames(ie)};var y=Number.isNaN||function(ie){return ie!=ie};function A(){A.init.call(this)}ze.exports=A,ze.exports.once=function W(X,ie){return new Promise(function(ae,fe){function se($){X.removeListener(ie,Me),fe($)}function Me(){"function"==typeof X.removeListener&&X.removeListener("error",se),ae([].slice.call(arguments))}K(X,ie,Me,{once:!0}),"error"!==ie&&function j(X,ie,ae){"function"==typeof X.on&&K(X,"error",ie,ae)}(X,se,{once:!0})})},A.EventEmitter=A,A.prototype._events=void 0,A.prototype._eventsCount=0,A.prototype._maxListeners=void 0;var l=10;function x(X){if("function"!=typeof X)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof X)}function m(X){return void 0===X._maxListeners?A.defaultMaxListeners:X._maxListeners}function P(X,ie,ae,fe){var se,Me,$;if(x(ae),void 0===(Me=X._events)?(Me=X._events=Object.create(null),X._eventsCount=0):(void 0!==Me.newListener&&(X.emit("newListener",ie,ae.listener?ae.listener:ae),Me=X._events),$=Me[ie]),void 0===$)$=Me[ie]=ae,++X._eventsCount;else if("function"==typeof $?$=Me[ie]=fe?[ae,$]:[$,ae]:fe?$.unshift(ae):$.push(ae),(se=m(X))>0&&$.length>se&&!$.warned){$.warned=!0;var ue=new Error("Possible EventEmitter memory leak detected. "+$.length+" "+String(ie)+" listeners added. Use emitter.setMaxListeners() to increase limit");ue.name="MaxListenersExceededWarning",ue.emitter=X,ue.type=ie,ue.count=$.length,function t(X){console&&console.warn&&console.warn(X)}(ue)}return X}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function E(X,ie,ae){var fe={fired:!1,wrapFn:void 0,target:X,type:ie,listener:ae},se=d.bind(fe);return se.listener=ae,fe.wrapFn=se,se}function M(X,ie,ae){var fe=X._events;if(void 0===fe)return[];var se=fe[ie];return void 0===se?[]:"function"==typeof se?ae?[se.listener||se]:[se]:ae?function B(X){for(var ie=new Array(X.length),ae=0;ae<ie.length;++ae)ie[ae]=X[ae].listener||X[ae];return ie}(se):k(se,se.length)}function I(X){var ie=this._events;if(void 0!==ie){var ae=ie[X];if("function"==typeof ae)return 1;if(void 0!==ae)return ae.length}return 0}function k(X,ie){for(var ae=new Array(ie),fe=0;fe<ie;++fe)ae[fe]=X[fe];return ae}function K(X,ie,ae,fe){if("function"==typeof X.on)fe.once?X.once(ie,ae):X.on(ie,ae);else{if("function"!=typeof X.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof X);X.addEventListener(ie,function se(Me){fe.once&&X.removeEventListener(ie,se),ae(Me)})}}Object.defineProperty(A,"defaultMaxListeners",{enumerable:!0,get:function(){return l},set:function(X){if("number"!=typeof X||X<0||y(X))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+X+".");l=X}}),A.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},A.prototype.setMaxListeners=function(ie){if("number"!=typeof ie||ie<0||y(ie))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+ie+".");return this._maxListeners=ie,this},A.prototype.getMaxListeners=function(){return m(this)},A.prototype.emit=function(ie){for(var ae=[],fe=1;fe<arguments.length;fe++)ae.push(arguments[fe]);var se="error"===ie,Me=this._events;if(void 0!==Me)se=se&&void 0===Me.error;else if(!se)return!1;if(se){var $;if(ae.length>0&&($=ae[0]),$ instanceof Error)throw $;var ue=new Error("Unhandled error."+($?" ("+$.message+")":""));throw ue.context=$,ue}var S=Me[ie];if(void 0===S)return!1;if("function"==typeof S)p(S,this,ae);else{var n=S.length,s=k(S,n);for(fe=0;fe<n;++fe)p(s[fe],this,ae)}return!0},A.prototype.on=A.prototype.addListener=function(ie,ae){return P(this,ie,ae,!1)},A.prototype.prependListener=function(ie,ae){return P(this,ie,ae,!0)},A.prototype.once=function(ie,ae){return x(ae),this.on(ie,E(this,ie,ae)),this},A.prototype.prependOnceListener=function(ie,ae){return x(ae),this.prependListener(ie,E(this,ie,ae)),this},A.prototype.off=A.prototype.removeListener=function(ie,ae){var fe,se,Me,$,ue;if(x(ae),void 0===(se=this._events))return this;if(void 0===(fe=se[ie]))return this;if(fe===ae||fe.listener===ae)0==--this._eventsCount?this._events=Object.create(null):(delete se[ie],se.removeListener&&this.emit("removeListener",ie,fe.listener||ae));else if("function"!=typeof fe){for(Me=-1,$=fe.length-1;$>=0;$--)if(fe[$]===ae||fe[$].listener===ae){ue=fe[$].listener,Me=$;break}if(Me<0)return this;0===Me?fe.shift():function V(X,ie){for(;ie+1<X.length;ie++)X[ie]=X[ie+1];X.pop()}(fe,Me),1===fe.length&&(se[ie]=fe[0]),void 0!==se.removeListener&&this.emit("removeListener",ie,ue||ae)}return this},A.prototype.removeAllListeners=function(ie){var ae,fe,se;if(void 0===(fe=this._events))return this;if(void 0===fe.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==fe[ie]&&(0==--this._eventsCount?this._events=Object.create(null):delete fe[ie]),this;if(0===arguments.length){var $,Me=Object.keys(fe);for(se=0;se<Me.length;++se)"removeListener"!==($=Me[se])&&this.removeAllListeners($);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(ae=fe[ie]))this.removeListener(ie,ae);else if(void 0!==ae)for(se=ae.length-1;se>=0;se--)this.removeListener(ie,ae[se]);return this},A.prototype.listeners=function(ie){return M(this,ie,!0)},A.prototype.rawListeners=function(ie){return M(this,ie,!1)},A.listenerCount=function(X,ie){return"function"==typeof X.listenerCount?X.listenerCount(ie):I.call(X,ie)},A.prototype.listenerCount=I,A.prototype.eventNames=function(){return this._eventsCount>0?e(this._events):[]}},6505:(ze,q,p)=>{var e=p(843).Buffer,t=p(5829);ze.exports=function y(A,l,x,m){if(e.isBuffer(A)||(A=e.from(A,"binary")),l&&(e.isBuffer(l)||(l=e.from(l,"binary")),8!==l.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var P=x/8,d=e.alloc(P),E=e.alloc(m||0),M=e.alloc(0);P>0||m>0;){var I=new t;I.update(M),I.update(A),l&&I.update(l),M=I.digest();var k=0;if(P>0){var V=d.length-P;k=Math.min(P,M.length),M.copy(d,V,0,k),P-=k}if(k<M.length&&m>0){var B=E.length-m,W=Math.min(m,M.length-k);M.copy(E,B,k,k+W),m-=W}}return M.fill(0),{key:d,iv:E}}},380:(ze,q,p)=>{"use strict";var e=p(843).Buffer,t=p(6745).Transform;function l(x){t.call(this),this._block=e.allocUnsafe(x),this._blockSize=x,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}p(6698)(l,t),l.prototype._transform=function(x,m,P){var d=null;try{this.update(x,m)}catch(E){d=E}P(d)},l.prototype._flush=function(x){var m=null;try{this.push(this.digest())}catch(P){m=P}x(m)},l.prototype.update=function(x,m){if(function A(x,m){if(!e.isBuffer(x)&&"string"!=typeof x)throw new TypeError(m+" must be a string or a buffer")}(x,"Data"),this._finalized)throw new Error("Digest already called");e.isBuffer(x)||(x=e.from(x,m));for(var P=this._block,d=0;this._blockOffset+x.length-d>=this._blockSize;){for(var E=this._blockOffset;E<this._blockSize;)P[E++]=x[d++];this._update(),this._blockOffset=0}for(;d<x.length;)P[this._blockOffset++]=x[d++];for(var M=0,I=8*x.length;I>0;++M)this._length[M]+=I,(I=this._length[M]/4294967296|0)>0&&(this._length[M]-=4294967296*I);return this},l.prototype._update=function(){throw new Error("_update is not implemented")},l.prototype.digest=function(x){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var m=this._digest();void 0!==x&&(m=m.toString(x)),this._block.fill(0),this._blockOffset=0;for(var P=0;P<4;++P)this._length[P]=0;return m},l.prototype._digest=function(){throw new Error("_digest is not implemented")},ze.exports=l},1076:(ze,q,p)=>{var e=q;e.utils=p(9875),e.common=p(2085),e.sha=p(7658),e.ripemd=p(8344),e.hmac=p(6192),e.sha1=e.sha.sha1,e.sha256=e.sha.sha256,e.sha224=e.sha.sha224,e.sha384=e.sha.sha384,e.sha512=e.sha.sha512,e.ripemd160=e.ripemd.ripemd160},2085:(ze,q,p)=>{"use strict";var e=p(9875),t=p(7798);function y(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}q.BlockHash=y,y.prototype.update=function(l,x){if(l=e.toArray(l,x),this.pending=this.pending?this.pending.concat(l):l,this.pendingTotal+=l.length,this.pending.length>=this._delta8){var m=(l=this.pending).length%this._delta8;this.pending=l.slice(l.length-m,l.length),0===this.pending.length&&(this.pending=null),l=e.join32(l,0,l.length-m,this.endian);for(var P=0;P<l.length;P+=this._delta32)this._update(l,P,P+this._delta32)}return this},y.prototype.digest=function(l){return this.update(this._pad()),t(null===this.pending),this._digest(l)},y.prototype._pad=function(){var l=this.pendingTotal,x=this._delta8,m=x-(l+this.padLength)%x,P=new Array(m+this.padLength);P[0]=128;for(var d=1;d<m;d++)P[d]=0;if(l<<=3,"big"===this.endian){for(var E=8;E<this.padLength;E++)P[d++]=0;P[d++]=0,P[d++]=0,P[d++]=0,P[d++]=0,P[d++]=l>>>24&255,P[d++]=l>>>16&255,P[d++]=l>>>8&255,P[d++]=255&l}else for(P[d++]=255&l,P[d++]=l>>>8&255,P[d++]=l>>>16&255,P[d++]=l>>>24&255,P[d++]=0,P[d++]=0,P[d++]=0,P[d++]=0,E=8;E<this.padLength;E++)P[d++]=0;return P}},6192:(ze,q,p)=>{"use strict";var e=p(9875),t=p(7798);function y(A,l,x){if(!(this instanceof y))return new y(A,l,x);this.Hash=A,this.blockSize=A.blockSize/8,this.outSize=A.outSize/8,this.inner=null,this.outer=null,this._init(e.toArray(l,x))}ze.exports=y,y.prototype._init=function(l){l.length>this.blockSize&&(l=(new this.Hash).update(l).digest()),t(l.length<=this.blockSize);for(var x=l.length;x<this.blockSize;x++)l.push(0);for(x=0;x<l.length;x++)l[x]^=54;for(this.inner=(new this.Hash).update(l),x=0;x<l.length;x++)l[x]^=106;this.outer=(new this.Hash).update(l)},y.prototype.update=function(l,x){return this.inner.update(l,x),this},y.prototype.digest=function(l){return this.outer.update(this.inner.digest()),this.outer.digest(l)}},8344:(ze,q,p)=>{"use strict";var e=p(9875),t=p(2085),y=e.rotl32,A=e.sum32,l=e.sum32_3,x=e.sum32_4,m=t.BlockHash;function P(){if(!(this instanceof P))return new P;m.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function d(W,j,K,X){return W<=15?j^K^X:W<=31?j&K|~j&X:W<=47?(j|~K)^X:W<=63?j&X|K&~X:j^(K|~X)}function M(W){return W<=15?1352829926:W<=31?1548603684:W<=47?1836072691:W<=63?2053994217:0}e.inherits(P,m),q.ripemd160=P,P.blockSize=512,P.outSize=160,P.hmacStrength=192,P.padLength=64,P.prototype._update=function(j,K){for(var X=this.h[0],ie=this.h[1],ae=this.h[2],fe=this.h[3],se=this.h[4],Me=X,$=ie,ue=ae,S=fe,n=se,s=0;s<80;s++){var f=A(y(x(X,d(s,ie,ae,fe),j[I[s]+K],(W=s)<=15?0:W<=31?1518500249:W<=47?1859775393:W<=63?2400959708:2840853838),V[s]),se);X=se,se=fe,fe=y(ae,10),ae=ie,ie=f,f=A(y(x(Me,d(79-s,$,ue,S),j[k[s]+K],M(s)),B[s]),n),Me=n,n=S,S=y(ue,10),ue=$,$=f}var W;f=l(this.h[1],ae,S),this.h[1]=l(this.h[2],fe,n),this.h[2]=l(this.h[3],se,Me),this.h[3]=l(this.h[4],X,$),this.h[4]=l(this.h[0],ie,ue),this.h[0]=f},P.prototype._digest=function(j){return"hex"===j?e.toHex32(this.h,"little"):e.split32(this.h,"little")};var I=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],k=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],V=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],B=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},7658:(ze,q,p)=>{"use strict";q.sha1=p(5010),q.sha224=p(3578),q.sha256=p(7857),q.sha384=p(8723),q.sha512=p(5304)},5010:(ze,q,p)=>{"use strict";var e=p(9875),t=p(2085),y=p(7221),A=e.rotl32,l=e.sum32,x=e.sum32_5,m=y.ft_1,P=t.BlockHash,d=[1518500249,1859775393,2400959708,3395469782];function E(){if(!(this instanceof E))return new E;P.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}e.inherits(E,P),ze.exports=E,E.blockSize=512,E.outSize=160,E.hmacStrength=80,E.padLength=64,E.prototype._update=function(I,k){for(var V=this.W,B=0;B<16;B++)V[B]=I[k+B];for(;B<V.length;B++)V[B]=A(V[B-3]^V[B-8]^V[B-14]^V[B-16],1);var W=this.h[0],j=this.h[1],K=this.h[2],X=this.h[3],ie=this.h[4];for(B=0;B<V.length;B++){var ae=~~(B/20),fe=x(A(W,5),m(ae,j,K,X),ie,V[B],d[ae]);ie=X,X=K,K=A(j,30),j=W,W=fe}this.h[0]=l(this.h[0],W),this.h[1]=l(this.h[1],j),this.h[2]=l(this.h[2],K),this.h[3]=l(this.h[3],X),this.h[4]=l(this.h[4],ie)},E.prototype._digest=function(I){return"hex"===I?e.toHex32(this.h,"big"):e.split32(this.h,"big")}},3578:(ze,q,p)=>{"use strict";var e=p(9875),t=p(7857);function y(){if(!(this instanceof y))return new y;t.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}e.inherits(y,t),ze.exports=y,y.blockSize=512,y.outSize=224,y.hmacStrength=192,y.padLength=64,y.prototype._digest=function(l){return"hex"===l?e.toHex32(this.h.slice(0,7),"big"):e.split32(this.h.slice(0,7),"big")}},7857:(ze,q,p)=>{"use strict";var e=p(9875),t=p(2085),y=p(7221),A=p(7798),l=e.sum32,x=e.sum32_4,m=e.sum32_5,P=y.ch32,d=y.maj32,E=y.s0_256,M=y.s1_256,I=y.g0_256,k=y.g1_256,V=t.BlockHash,B=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function W(){if(!(this instanceof W))return new W;V.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=B,this.W=new Array(64)}e.inherits(W,V),ze.exports=W,W.blockSize=512,W.outSize=256,W.hmacStrength=192,W.padLength=64,W.prototype._update=function(K,X){for(var ie=this.W,ae=0;ae<16;ae++)ie[ae]=K[X+ae];for(;ae<ie.length;ae++)ie[ae]=x(k(ie[ae-2]),ie[ae-7],I(ie[ae-15]),ie[ae-16]);var fe=this.h[0],se=this.h[1],Me=this.h[2],$=this.h[3],ue=this.h[4],S=this.h[5],n=this.h[6],s=this.h[7];for(A(this.k.length===ie.length),ae=0;ae<ie.length;ae++){var f=m(s,M(ue),P(ue,S,n),this.k[ae],ie[ae]),h=l(E(fe),d(fe,se,Me));s=n,n=S,S=ue,ue=l($,f),$=Me,Me=se,se=fe,fe=l(f,h)}this.h[0]=l(this.h[0],fe),this.h[1]=l(this.h[1],se),this.h[2]=l(this.h[2],Me),this.h[3]=l(this.h[3],$),this.h[4]=l(this.h[4],ue),this.h[5]=l(this.h[5],S),this.h[6]=l(this.h[6],n),this.h[7]=l(this.h[7],s)},W.prototype._digest=function(K){return"hex"===K?e.toHex32(this.h,"big"):e.split32(this.h,"big")}},8723:(ze,q,p)=>{"use strict";var e=p(9875),t=p(5304);function y(){if(!(this instanceof y))return new y;t.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}e.inherits(y,t),ze.exports=y,y.blockSize=1024,y.outSize=384,y.hmacStrength=192,y.padLength=128,y.prototype._digest=function(l){return"hex"===l?e.toHex32(this.h.slice(0,12),"big"):e.split32(this.h.slice(0,12),"big")}},5304:(ze,q,p)=>{"use strict";var e=p(9875),t=p(2085),y=p(7798),A=e.rotr64_hi,l=e.rotr64_lo,x=e.shr64_hi,m=e.shr64_lo,P=e.sum64,d=e.sum64_hi,E=e.sum64_lo,M=e.sum64_4_hi,I=e.sum64_4_lo,k=e.sum64_5_hi,V=e.sum64_5_lo,B=t.BlockHash,W=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function j(){if(!(this instanceof j))return new j;B.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=W,this.W=new Array(160)}function K(f,h,w,D,O){var v=f&w^~f&O;return v<0&&(v+=4294967296),v}function X(f,h,w,D,O,v){var r=h&D^~h&v;return r<0&&(r+=4294967296),r}function ie(f,h,w,D,O){var v=f&w^f&O^w&O;return v<0&&(v+=4294967296),v}function ae(f,h,w,D,O,v){var r=h&D^h&v^D&v;return r<0&&(r+=4294967296),r}function fe(f,h){var v=A(f,h,28)^A(h,f,2)^A(h,f,7);return v<0&&(v+=4294967296),v}function se(f,h){var v=l(f,h,28)^l(h,f,2)^l(h,f,7);return v<0&&(v+=4294967296),v}function Me(f,h){var v=A(f,h,14)^A(f,h,18)^A(h,f,9);return v<0&&(v+=4294967296),v}function $(f,h){var v=l(f,h,14)^l(f,h,18)^l(h,f,9);return v<0&&(v+=4294967296),v}function ue(f,h){var v=A(f,h,1)^A(f,h,8)^x(f,h,7);return v<0&&(v+=4294967296),v}function S(f,h){var v=l(f,h,1)^l(f,h,8)^m(f,h,7);return v<0&&(v+=4294967296),v}function n(f,h){var v=A(f,h,19)^A(h,f,29)^x(f,h,6);return v<0&&(v+=4294967296),v}function s(f,h){var v=l(f,h,19)^l(h,f,29)^m(f,h,6);return v<0&&(v+=4294967296),v}e.inherits(j,B),ze.exports=j,j.blockSize=1024,j.outSize=512,j.hmacStrength=192,j.padLength=128,j.prototype._prepareBlock=function(h,w){for(var D=this.W,O=0;O<32;O++)D[O]=h[w+O];for(;O<D.length;O+=2){var v=n(D[O-4],D[O-3]),r=s(D[O-4],D[O-3]),g=D[O-14],H=D[O-13],N=ue(D[O-30],D[O-29]),ee=S(D[O-30],D[O-29]),De=D[O-32],ot=D[O-31];D[O]=M(v,r,g,H,N,ee,De,ot),D[O+1]=I(v,r,g,H,N,ee,De,ot)}},j.prototype._update=function(h,w){this._prepareBlock(h,w);var D=this.W,O=this.h[0],v=this.h[1],r=this.h[2],g=this.h[3],H=this.h[4],N=this.h[5],ee=this.h[6],De=this.h[7],ot=this.h[8],je=this.h[9],Je=this.h[10],ye=this.h[11],me=this.h[12],he=this.h[13],xe=this.h[14],de=this.h[15];y(this.k.length===D.length);for(var ge=0;ge<D.length;ge+=2){var qe=xe,oe=de,ve=Me(ot,je),le=$(ot,je),Ge=K(ot,0,Je,0,me),We=X(0,je,0,ye,0,he),wt=this.k[ge],mt=this.k[ge+1],kt=D[ge],Ae=D[ge+1],Be=k(qe,oe,ve,le,Ge,We,wt,mt,kt,Ae),it=V(qe,oe,ve,le,Ge,We,wt,mt,kt,Ae);qe=fe(O,v),oe=se(O,v),ve=ie(O,0,r,0,H),le=ae(0,v,0,g,0,N);var $e=d(qe,oe,ve,le),ke=E(qe,oe,ve,le);xe=me,de=he,me=Je,he=ye,Je=ot,ye=je,ot=d(ee,De,Be,it),je=E(De,De,Be,it),ee=H,De=N,H=r,N=g,r=O,g=v,O=d(Be,it,$e,ke),v=E(Be,it,$e,ke)}P(this.h,0,O,v),P(this.h,2,r,g),P(this.h,4,H,N),P(this.h,6,ee,De),P(this.h,8,ot,je),P(this.h,10,Je,ye),P(this.h,12,me,he),P(this.h,14,xe,de)},j.prototype._digest=function(h){return"hex"===h?e.toHex32(this.h,"big"):e.split32(this.h,"big")}},7221:(ze,q,p)=>{"use strict";var t=p(9875).rotr32;function A(M,I,k){return M&I^~M&k}function l(M,I,k){return M&I^M&k^I&k}function x(M,I,k){return M^I^k}q.ft_1=function y(M,I,k,V){return 0===M?A(I,k,V):1===M||3===M?x(I,k,V):2===M?l(I,k,V):void 0},q.ch32=A,q.maj32=l,q.p32=x,q.s0_256=function m(M){return t(M,2)^t(M,13)^t(M,22)},q.s1_256=function P(M){return t(M,6)^t(M,11)^t(M,25)},q.g0_256=function d(M){return t(M,7)^t(M,18)^M>>>3},q.g1_256=function E(M){return t(M,17)^t(M,19)^M>>>10}},9875:(ze,q,p)=>{"use strict";var e=p(7798),t=p(6698);function y(s,f){return!(55296!=(64512&s.charCodeAt(f))||f<0||f+1>=s.length)&&56320==(64512&s.charCodeAt(f+1))}function x(s){return(s>>>24|s>>>8&65280|s<<8&16711680|(255&s)<<24)>>>0}function P(s){return 1===s.length?"0"+s:s}function d(s){return 7===s.length?"0"+s:6===s.length?"00"+s:5===s.length?"000"+s:4===s.length?"0000"+s:3===s.length?"00000"+s:2===s.length?"000000"+s:1===s.length?"0000000"+s:s}q.inherits=t,q.toArray=function A(s,f){if(Array.isArray(s))return s.slice();if(!s)return[];var h=[];if("string"==typeof s)if(f){if("hex"===f)for((s=s.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(s="0"+s),D=0;D<s.length;D+=2)h.push(parseInt(s[D]+s[D+1],16))}else for(var w=0,D=0;D<s.length;D++){var O=s.charCodeAt(D);O<128?h[w++]=O:O<2048?(h[w++]=O>>6|192,h[w++]=63&O|128):y(s,D)?(O=65536+((1023&O)<<10)+(1023&s.charCodeAt(++D)),h[w++]=O>>18|240,h[w++]=O>>12&63|128,h[w++]=O>>6&63|128,h[w++]=63&O|128):(h[w++]=O>>12|224,h[w++]=O>>6&63|128,h[w++]=63&O|128)}else for(D=0;D<s.length;D++)h[D]=0|s[D];return h},q.toHex=function l(s){for(var f="",h=0;h<s.length;h++)f+=P(s[h].toString(16));return f},q.htonl=x,q.toHex32=function m(s,f){for(var h="",w=0;w<s.length;w++){var D=s[w];"little"===f&&(D=x(D)),h+=d(D.toString(16))}return h},q.zero2=P,q.zero8=d,q.join32=function E(s,f,h,w){var D=h-f;e(D%4==0);for(var O=new Array(D/4),v=0,r=f;v<O.length;v++,r+=4)O[v]=("big"===w?s[r]<<24|s[r+1]<<16|s[r+2]<<8|s[r+3]:s[r+3]<<24|s[r+2]<<16|s[r+1]<<8|s[r])>>>0;return O},q.split32=function M(s,f){for(var h=new Array(4*s.length),w=0,D=0;w<s.length;w++,D+=4){var O=s[w];"big"===f?(h[D]=O>>>24,h[D+1]=O>>>16&255,h[D+2]=O>>>8&255,h[D+3]=255&O):(h[D+3]=O>>>24,h[D+2]=O>>>16&255,h[D+1]=O>>>8&255,h[D]=255&O)}return h},q.rotr32=function I(s,f){return s>>>f|s<<32-f},q.rotl32=function k(s,f){return s<<f|s>>>32-f},q.sum32=function V(s,f){return s+f>>>0},q.sum32_3=function B(s,f,h){return s+f+h>>>0},q.sum32_4=function W(s,f,h,w){return s+f+h+w>>>0},q.sum32_5=function j(s,f,h,w,D){return s+f+h+w+D>>>0},q.sum64=function K(s,f,h,w){var v=w+s[f+1]>>>0;s[f]=(v<w?1:0)+h+s[f]>>>0,s[f+1]=v},q.sum64_hi=function X(s,f,h,w){return(f+w>>>0<f?1:0)+s+h>>>0},q.sum64_lo=function ie(s,f,h,w){return f+w>>>0},q.sum64_4_hi=function ae(s,f,h,w,D,O,v,r){var g=0,H=f;return g+=(H=H+w>>>0)<f?1:0,g+=(H=H+O>>>0)<O?1:0,s+h+D+v+(g+=(H=H+r>>>0)<r?1:0)>>>0},q.sum64_4_lo=function fe(s,f,h,w,D,O,v,r){return f+w+O+r>>>0},q.sum64_5_hi=function se(s,f,h,w,D,O,v,r,g,H){var N=0,ee=f;return N+=(ee=ee+w>>>0)<f?1:0,N+=(ee=ee+O>>>0)<O?1:0,N+=(ee=ee+r>>>0)<r?1:0,s+h+D+v+g+(N+=(ee=ee+H>>>0)<H?1:0)>>>0},q.sum64_5_lo=function Me(s,f,h,w,D,O,v,r,g,H){return f+w+O+r+H>>>0},q.rotr64_hi=function $(s,f,h){return(f<<32-h|s>>>h)>>>0},q.rotr64_lo=function ue(s,f,h){return(s<<32-h|f>>>h)>>>0},q.shr64_hi=function S(s,f,h){return s>>>h},q.shr64_lo=function n(s,f,h){return(s<<32-h|f>>>h)>>>0}},2447:(ze,q,p)=>{"use strict";var e=p(1076),t=p(8247),y=p(7798);function A(l){if(!(this instanceof A))return new A(l);this.hash=l.hash,this.predResist=!!l.predResist,this.outLen=this.hash.outSize,this.minEntropy=l.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var x=t.toArray(l.entropy,l.entropyEnc||"hex"),m=t.toArray(l.nonce,l.nonceEnc||"hex"),P=t.toArray(l.pers,l.persEnc||"hex");y(x.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(x,m,P)}ze.exports=A,A.prototype._init=function(x,m,P){var d=x.concat(m).concat(P);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var E=0;E<this.V.length;E++)this.K[E]=0,this.V[E]=1;this._update(d),this._reseed=1,this.reseedInterval=281474976710656},A.prototype._hmac=function(){return new e.hmac(this.hash,this.K)},A.prototype._update=function(x){var m=this._hmac().update(this.V).update([0]);x&&(m=m.update(x)),this.K=m.digest(),this.V=this._hmac().update(this.V).digest(),x&&(this.K=this._hmac().update(this.V).update([1]).update(x).digest(),this.V=this._hmac().update(this.V).digest())},A.prototype.reseed=function(x,m,P,d){"string"!=typeof m&&(d=P,P=m,m=null),x=t.toArray(x,m),P=t.toArray(P,d),y(x.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(x.concat(P||[])),this._reseed=1},A.prototype.generate=function(x,m,P,d){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof m&&(d=P,P=m,m=null),P&&(P=t.toArray(P,d||"hex"),this._update(P));for(var E=[];E.length<x;)this.V=this._hmac().update(this.V).digest(),E=E.concat(this.V);var M=E.slice(0,x);return this._update(P),this._reseed++,t.encode(M,m)}},2601:(ze,q)=>{q.read=function(p,e,t,y,A){var l,x,m=8*A-y-1,P=(1<<m)-1,d=P>>1,E=-7,M=t?A-1:0,I=t?-1:1,k=p[e+M];for(M+=I,l=k&(1<<-E)-1,k>>=-E,E+=m;E>0;l=256*l+p[e+M],M+=I,E-=8);for(x=l&(1<<-E)-1,l>>=-E,E+=y;E>0;x=256*x+p[e+M],M+=I,E-=8);if(0===l)l=1-d;else{if(l===P)return x?NaN:1/0*(k?-1:1);x+=Math.pow(2,y),l-=d}return(k?-1:1)*x*Math.pow(2,l-y)},q.write=function(p,e,t,y,A,l){var x,m,P,d=8*l-A-1,E=(1<<d)-1,M=E>>1,I=23===A?Math.pow(2,-24)-Math.pow(2,-77):0,k=y?0:l-1,V=y?1:-1,B=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(m=isNaN(e)?1:0,x=E):(x=Math.floor(Math.log(e)/Math.LN2),e*(P=Math.pow(2,-x))<1&&(x--,P*=2),(e+=x+M>=1?I/P:I*Math.pow(2,1-M))*P>=2&&(x++,P/=2),x+M>=E?(m=0,x=E):x+M>=1?(m=(e*P-1)*Math.pow(2,A),x+=M):(m=e*Math.pow(2,M-1)*Math.pow(2,A),x=0));A>=8;p[t+k]=255&m,k+=V,m/=256,A-=8);for(x=x<<A|m,d+=A;d>0;p[t+k]=255&x,k+=V,x/=256,d-=8);p[t+k-V]|=128*B}},6698:ze=>{ze.exports="function"==typeof Object.create?function(p,e){e&&(p.super_=e,p.prototype=Object.create(e.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}))}:function(p,e){if(e){p.super_=e;var t=function(){};t.prototype=e.prototype,p.prototype=new t,p.prototype.constructor=p}}},5829:(ze,q,p)=>{"use strict";var e=p(6698),t=p(380),y=p(843).Buffer,A=new Array(16);function l(){t.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function x(M,I){return M<<I|M>>>32-I}function m(M,I,k,V,B,W,j){return x(M+(I&k|~I&V)+B+W|0,j)+I|0}function P(M,I,k,V,B,W,j){return x(M+(I&V|k&~V)+B+W|0,j)+I|0}function d(M,I,k,V,B,W,j){return x(M+(I^k^V)+B+W|0,j)+I|0}function E(M,I,k,V,B,W,j){return x(M+(k^(I|~V))+B+W|0,j)+I|0}e(l,t),l.prototype._update=function(){for(var M=A,I=0;I<16;++I)M[I]=this._block.readInt32LE(4*I);var k=this._a,V=this._b,B=this._c,W=this._d;k=m(k,V,B,W,M[0],3614090360,7),W=m(W,k,V,B,M[1],3905402710,12),B=m(B,W,k,V,M[2],606105819,17),V=m(V,B,W,k,M[3],3250441966,22),k=m(k,V,B,W,M[4],4118548399,7),W=m(W,k,V,B,M[5],1200080426,12),B=m(B,W,k,V,M[6],2821735955,17),V=m(V,B,W,k,M[7],4249261313,22),k=m(k,V,B,W,M[8],1770035416,7),W=m(W,k,V,B,M[9],2336552879,12),B=m(B,W,k,V,M[10],4294925233,17),V=m(V,B,W,k,M[11],2304563134,22),k=m(k,V,B,W,M[12],1804603682,7),W=m(W,k,V,B,M[13],4254626195,12),B=m(B,W,k,V,M[14],2792965006,17),k=P(k,V=m(V,B,W,k,M[15],1236535329,22),B,W,M[1],4129170786,5),W=P(W,k,V,B,M[6],3225465664,9),B=P(B,W,k,V,M[11],643717713,14),V=P(V,B,W,k,M[0],3921069994,20),k=P(k,V,B,W,M[5],3593408605,5),W=P(W,k,V,B,M[10],38016083,9),B=P(B,W,k,V,M[15],3634488961,14),V=P(V,B,W,k,M[4],3889429448,20),k=P(k,V,B,W,M[9],568446438,5),W=P(W,k,V,B,M[14],3275163606,9),B=P(B,W,k,V,M[3],4107603335,14),V=P(V,B,W,k,M[8],1163531501,20),k=P(k,V,B,W,M[13],2850285829,5),W=P(W,k,V,B,M[2],4243563512,9),B=P(B,W,k,V,M[7],1735328473,14),k=d(k,V=P(V,B,W,k,M[12],2368359562,20),B,W,M[5],4294588738,4),W=d(W,k,V,B,M[8],2272392833,11),B=d(B,W,k,V,M[11],1839030562,16),V=d(V,B,W,k,M[14],4259657740,23),k=d(k,V,B,W,M[1],2763975236,4),W=d(W,k,V,B,M[4],1272893353,11),B=d(B,W,k,V,M[7],4139469664,16),V=d(V,B,W,k,M[10],3200236656,23),k=d(k,V,B,W,M[13],681279174,4),W=d(W,k,V,B,M[0],3936430074,11),B=d(B,W,k,V,M[3],3572445317,16),V=d(V,B,W,k,M[6],76029189,23),k=d(k,V,B,W,M[9],3654602809,4),W=d(W,k,V,B,M[12],3873151461,11),B=d(B,W,k,V,M[15],530742520,16),k=E(k,V=d(V,B,W,k,M[2],3299628645,23),B,W,M[0],4096336452,6),W=E(W,k,V,B,M[7],1126891415,10),B=E(B,W,k,V,M[14],2878612391,15),V=E(V,B,W,k,M[5],4237533241,21),k=E(k,V,B,W,M[12],1700485571,6),W=E(W,k,V,B,M[3],2399980690,10),B=E(B,W,k,V,M[10],4293915773,15),V=E(V,B,W,k,M[1],2240044497,21),k=E(k,V,B,W,M[8],1873313359,6),W=E(W,k,V,B,M[15],4264355552,10),B=E(B,W,k,V,M[6],2734768916,15),V=E(V,B,W,k,M[13],1309151649,21),k=E(k,V,B,W,M[4],4149444226,6),W=E(W,k,V,B,M[11],3174756917,10),B=E(B,W,k,V,M[2],718787259,15),V=E(V,B,W,k,M[9],3951481745,21),this._a=this._a+k|0,this._b=this._b+V|0,this._c=this._c+B|0,this._d=this._d+W|0},l.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var M=y.allocUnsafe(16);return M.writeInt32LE(this._a,0),M.writeInt32LE(this._b,4),M.writeInt32LE(this._c,8),M.writeInt32LE(this._d,12),M},ze.exports=l},8606:(ze,q,p)=>{var e=p(303),t=p(82);function y(A){this.rand=A||new t.Rand}ze.exports=y,y.create=function(l){return new y(l)},y.prototype._randbelow=function(l){var x=l.bitLength(),m=Math.ceil(x/8);do{var P=new e(this.rand.generate(m))}while(P.cmp(l)>=0);return P},y.prototype._randrange=function(l,x){var m=x.sub(l);return l.add(this._randbelow(m))},y.prototype.test=function(l,x,m){var P=l.bitLength(),d=e.mont(l),E=new e(1).toRed(d);x||(x=Math.max(1,P/48|0));for(var M=l.subn(1),I=0;!M.testn(I);I++);for(var k=l.shrn(I),V=M.toRed(d);x>0;x--){var W=this._randrange(new e(2),M);m&&m(W);var j=W.toRed(d).redPow(k);if(0!==j.cmp(E)&&0!==j.cmp(V)){for(var K=1;K<I;K++){if(0===(j=j.redSqr()).cmp(E))return!1;if(0===j.cmp(V))break}if(K===I)return!1}}return!0},y.prototype.getDivisor=function(l,x){var m=l.bitLength(),P=e.mont(l),d=new e(1).toRed(P);x||(x=Math.max(1,m/48|0));for(var E=l.subn(1),M=0;!E.testn(M);M++);for(var I=l.shrn(M),k=E.toRed(P);x>0;x--){var V=this._randrange(new e(2),E),B=l.gcd(V);if(0!==B.cmpn(1))return B;var W=V.toRed(P).redPow(I);if(0!==W.cmp(d)&&0!==W.cmp(k)){for(var j=1;j<M;j++){if(0===(W=W.redSqr()).cmp(d))return W.fromRed().subn(1).gcd(l);if(0===W.cmp(k))break}if(j===M)return(W=W.redSqr()).fromRed().subn(1).gcd(l)}}return!1}},303:function(ze,q,p){!function(e,t){"use strict";function y(S,n){if(!S)throw new Error(n||"Assertion failed")}function A(S,n){S.super_=n;var s=function(){};s.prototype=n.prototype,S.prototype=new s,S.prototype.constructor=S}function l(S,n,s){if(l.isBN(S))return S;this.negative=0,this.words=null,this.length=0,this.red=null,null!==S&&(("le"===n||"be"===n)&&(s=n,n=10),this._init(S||0,n||10,s||"be"))}var x;"object"==typeof e?e.exports=l:t.BN=l,l.BN=l,l.wordSize=26;try{x=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:p(6619).Buffer}catch{}function m(S,n){var s=S.charCodeAt(n);return s>=65&&s<=70?s-55:s>=97&&s<=102?s-87:s-48&15}function P(S,n,s){var f=m(S,s);return s-1>=n&&(f|=m(S,s-1)<<4),f}function d(S,n,s,f){for(var h=0,w=Math.min(S.length,s),D=n;D<w;D++){var O=S.charCodeAt(D)-48;h*=f,h+=O>=49?O-49+10:O>=17?O-17+10:O}return h}l.isBN=function(n){return n instanceof l||null!==n&&"object"==typeof n&&n.constructor.wordSize===l.wordSize&&Array.isArray(n.words)},l.max=function(n,s){return n.cmp(s)>0?n:s},l.min=function(n,s){return n.cmp(s)<0?n:s},l.prototype._init=function(n,s,f){if("number"==typeof n)return this._initNumber(n,s,f);if("object"==typeof n)return this._initArray(n,s,f);"hex"===s&&(s=16),y(s===(0|s)&&s>=2&&s<=36);var h=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h<n.length&&(16===s?this._parseHex(n,h,f):(this._parseBase(n,s,h),"le"===f&&this._initArray(this.toArray(),s,f)))},l.prototype._initNumber=function(n,s,f){n<0&&(this.negative=1,n=-n),n<67108864?(this.words=[67108863&n],this.length=1):n<4503599627370496?(this.words=[67108863&n,n/67108864&67108863],this.length=2):(y(n<9007199254740992),this.words=[67108863&n,n/67108864&67108863,1],this.length=3),"le"===f&&this._initArray(this.toArray(),s,f)},l.prototype._initArray=function(n,s,f){if(y("number"==typeof n.length),n.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(n.length/3),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var w,D,O=0;if("be"===f)for(h=n.length-1,w=0;h>=0;h-=3)this.words[w]|=(D=n[h]|n[h-1]<<8|n[h-2]<<16)<<O&67108863,this.words[w+1]=D>>>26-O&67108863,(O+=24)>=26&&(O-=26,w++);else if("le"===f)for(h=0,w=0;h<n.length;h+=3)this.words[w]|=(D=n[h]|n[h+1]<<8|n[h+2]<<16)<<O&67108863,this.words[w+1]=D>>>26-O&67108863,(O+=24)>=26&&(O-=26,w++);return this.strip()},l.prototype._parseHex=function(n,s,f){this.length=Math.ceil((n.length-s)/6),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var O,w=0,D=0;if("be"===f)for(h=n.length-1;h>=s;h-=2)O=P(n,s,h)<<w,this.words[D]|=67108863&O,w>=18?(w-=18,this.words[D+=1]|=O>>>26):w+=8;else for(h=(n.length-s)%2==0?s+1:s;h<n.length;h+=2)O=P(n,s,h)<<w,this.words[D]|=67108863&O,w>=18?(w-=18,this.words[D+=1]|=O>>>26):w+=8;this.strip()},l.prototype._parseBase=function(n,s,f){this.words=[0],this.length=1;for(var h=0,w=1;w<=67108863;w*=s)h++;h--,w=w/s|0;for(var D=n.length-f,O=D%h,v=Math.min(D,D-O)+f,r=0,g=f;g<v;g+=h)r=d(n,g,g+h,s),this.imuln(w),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r);if(0!==O){var H=1;for(r=d(n,g,n.length,s),g=0;g<O;g++)H*=s;this.imuln(H),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r)}this.strip()},l.prototype.copy=function(n){n.words=new Array(this.length);for(var s=0;s<this.length;s++)n.words[s]=this.words[s];n.length=this.length,n.negative=this.negative,n.red=this.red},l.prototype.clone=function(){var n=new l(null);return this.copy(n),n},l.prototype._expand=function(n){for(;this.length<n;)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 E=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],M=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],I=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function V(S,n,s){s.negative=n.negative^S.negative;var f=S.length+n.length|0;s.length=f,f=f-1|0;var h=0|S.words[0],w=0|n.words[0],D=h*w,v=D/67108864|0;s.words[0]=67108863&D;for(var r=1;r<f;r++){for(var g=v>>>26,H=67108863&v,N=Math.min(r,n.length-1),ee=Math.max(0,r-S.length+1);ee<=N;ee++)g+=(D=(h=0|S.words[r-ee|0])*(w=0|n.words[ee])+H)/67108864|0,H=67108863&D;s.words[r]=0|H,v=0|g}return 0!==v?s.words[r]=0|v:s.length--,s.strip()}l.prototype.toString=function(n,s){var f;if(s=0|s||1,16===(n=n||10)||"hex"===n){f="";for(var h=0,w=0,D=0;D<this.length;D++){var O=this.words[D],v=(16777215&(O<<h|w)).toString(16);f=0!=(w=O>>>24-h&16777215)||D!==this.length-1?E[6-v.length]+v+f:v+f,(h+=2)>=26&&(h-=26,D--)}for(0!==w&&(f=w.toString(16)+f);f.length%s!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}if(n===(0|n)&&n>=2&&n<=36){var r=M[n],g=I[n];f="";var H=this.clone();for(H.negative=0;!H.isZero();){var N=H.modn(g).toString(n);f=(H=H.idivn(g)).isZero()?N+f:E[r-N.length]+N+f}for(this.isZero()&&(f="0"+f);f.length%s!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}y(!1,"Base should be between 2 and 36")},l.prototype.toNumber=function(){var n=this.words[0];return 2===this.length?n+=67108864*this.words[1]:3===this.length&&1===this.words[2]?n+=4503599627370496+67108864*this.words[1]:this.length>2&&y(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-n:n},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(n,s){return y(typeof x<"u"),this.toArrayLike(x,n,s)},l.prototype.toArray=function(n,s){return this.toArrayLike(Array,n,s)},l.prototype.toArrayLike=function(n,s,f){var h=this.byteLength(),w=f||Math.max(1,h);y(h<=w,"byte array longer than desired length"),y(w>0,"Requested array length <= 0"),this.strip();var v,r,D="le"===s,O=new n(w),g=this.clone();if(D){for(r=0;!g.isZero();r++)v=g.andln(255),g.iushrn(8),O[r]=v;for(;r<w;r++)O[r]=0}else{for(r=0;r<w-h;r++)O[r]=0;for(r=0;!g.isZero();r++)v=g.andln(255),g.iushrn(8),O[w-r-1]=v}return O},l.prototype._countBits=Math.clz32?function(n){return 32-Math.clz32(n)}:function(n){var s=n,f=0;return s>=4096&&(f+=13,s>>>=13),s>=64&&(f+=7,s>>>=7),s>=8&&(f+=4,s>>>=4),s>=2&&(f+=2,s>>>=2),f+s},l.prototype._zeroBits=function(n){if(0===n)return 26;var s=n,f=0;return 8191&s||(f+=13,s>>>=13),127&s||(f+=7,s>>>=7),15&s||(f+=4,s>>>=4),3&s||(f+=2,s>>>=2),1&s||f++,f},l.prototype.bitLength=function(){var s=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+s},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,s=0;s<this.length;s++){var f=this._zeroBits(this.words[s]);if(n+=f,26!==f)break}return n},l.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},l.prototype.toTwos=function(n){return 0!==this.negative?this.abs().inotn(n).iaddn(1):this.clone()},l.prototype.fromTwos=function(n){return this.testn(n-1)?this.notn(n).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(n){for(;this.length<n.length;)this.words[this.length++]=0;for(var s=0;s<n.length;s++)this.words[s]=this.words[s]|n.words[s];return this.strip()},l.prototype.ior=function(n){return y(0==(this.negative|n.negative)),this.iuor(n)},l.prototype.or=function(n){return this.length>n.length?this.clone().ior(n):n.clone().ior(this)},l.prototype.uor=function(n){return this.length>n.length?this.clone().iuor(n):n.clone().iuor(this)},l.prototype.iuand=function(n){var s;s=this.length>n.length?n:this;for(var f=0;f<s.length;f++)this.words[f]=this.words[f]&n.words[f];return this.length=s.length,this.strip()},l.prototype.iand=function(n){return y(0==(this.negative|n.negative)),this.iuand(n)},l.prototype.and=function(n){return this.length>n.length?this.clone().iand(n):n.clone().iand(this)},l.prototype.uand=function(n){return this.length>n.length?this.clone().iuand(n):n.clone().iuand(this)},l.prototype.iuxor=function(n){var s,f;this.length>n.length?(s=this,f=n):(s=n,f=this);for(var h=0;h<f.length;h++)this.words[h]=s.words[h]^f.words[h];if(this!==s)for(;h<s.length;h++)this.words[h]=s.words[h];return this.length=s.length,this.strip()},l.prototype.ixor=function(n){return y(0==(this.negative|n.negative)),this.iuxor(n)},l.prototype.xor=function(n){return this.length>n.length?this.clone().ixor(n):n.clone().ixor(this)},l.prototype.uxor=function(n){return this.length>n.length?this.clone().iuxor(n):n.clone().iuxor(this)},l.prototype.inotn=function(n){y("number"==typeof n&&n>=0);var s=0|Math.ceil(n/26),f=n%26;this._expand(s),f>0&&s--;for(var h=0;h<s;h++)this.words[h]=67108863&~this.words[h];return f>0&&(this.words[h]=~this.words[h]&67108863>>26-f),this.strip()},l.prototype.notn=function(n){return this.clone().inotn(n)},l.prototype.setn=function(n,s){y("number"==typeof n&&n>=0);var f=n/26|0,h=n%26;return this._expand(f+1),this.words[f]=s?this.words[f]|1<<h:this.words[f]&~(1<<h),this.strip()},l.prototype.iadd=function(n){var s,f,h;if(0!==this.negative&&0===n.negative)return this.negative=0,s=this.isub(n),this.negative^=1,this._normSign();if(0===this.negative&&0!==n.negative)return n.negative=0,s=this.isub(n),n.negative=1,s._normSign();this.length>n.length?(f=this,h=n):(f=n,h=this);for(var w=0,D=0;D<h.length;D++)this.words[D]=67108863&(s=(0|f.words[D])+(0|h.words[D])+w),w=s>>>26;for(;0!==w&&D<f.length;D++)this.words[D]=67108863&(s=(0|f.words[D])+w),w=s>>>26;if(this.length=f.length,0!==w)this.words[this.length]=w,this.length++;else if(f!==this)for(;D<f.length;D++)this.words[D]=f.words[D];return this},l.prototype.add=function(n){var s;return 0!==n.negative&&0===this.negative?(n.negative=0,s=this.sub(n),n.negative^=1,s):0===n.negative&&0!==this.negative?(this.negative=0,s=n.sub(this),this.negative=1,s):this.length>n.length?this.clone().iadd(n):n.clone().iadd(this)},l.prototype.isub=function(n){if(0!==n.negative){n.negative=0;var s=this.iadd(n);return n.negative=1,s._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var h,w,f=this.cmp(n);if(0===f)return this.negative=0,this.length=1,this.words[0]=0,this;f>0?(h=this,w=n):(h=n,w=this);for(var D=0,O=0;O<w.length;O++)D=(s=(0|h.words[O])-(0|w.words[O])+D)>>26,this.words[O]=67108863&s;for(;0!==D&&O<h.length;O++)D=(s=(0|h.words[O])+D)>>26,this.words[O]=67108863&s;if(0===D&&O<h.length&&h!==this)for(;O<h.length;O++)this.words[O]=h.words[O];return this.length=Math.max(this.length,O),h!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(n){return this.clone().isub(n)};var B=function(n,s,f){var v,r,g,h=n.words,w=s.words,D=f.words,O=0,H=0|h[0],N=8191&H,ee=H>>>13,De=0|h[1],ot=8191&De,je=De>>>13,Je=0|h[2],ye=8191&Je,me=Je>>>13,he=0|h[3],xe=8191&he,de=he>>>13,ge=0|h[4],qe=8191&ge,oe=ge>>>13,ve=0|h[5],le=8191&ve,Ge=ve>>>13,We=0|h[6],wt=8191&We,mt=We>>>13,kt=0|h[7],Ae=8191&kt,Be=kt>>>13,it=0|h[8],$e=8191&it,ke=it>>>13,st=0|h[9],Ke=8191&st,Et=st>>>13,ct=0|w[0],te=8191&ct,Pe=ct>>>13,$t=0|w[1],Ze=8191&$t,Qe=$t>>>13,zt=0|w[2],xt=8191&zt,Ot=zt>>>13,yt=0|w[3],nt=8191&yt,Ee=yt>>>13,tt=0|w[4],Ue=8191&tt,Xe=tt>>>13,gt=0|w[5],Le=8191&gt,be=gt>>>13,J=0|w[6],re=8191&J,Ie=J>>>13,Nt=0|w[7],At=8191&Nt,Zt=Nt>>>13,mi=0|w[8],Jt=8191&mi,Xt=mi>>>13,Hi=0|w[9],li=8191&Hi,hi=Hi>>>13;f.negative=n.negative^s.negative,f.length=19;var un=(O+(v=Math.imul(N,te))|0)+((8191&(r=(r=Math.imul(N,Pe))+Math.imul(ee,te)|0))<<13)|0;O=((g=Math.imul(ee,Pe))+(r>>>13)|0)+(un>>>26)|0,un&=67108863,v=Math.imul(ot,te),r=(r=Math.imul(ot,Pe))+Math.imul(je,te)|0,g=Math.imul(je,Pe);var Qi=(O+(v=v+Math.imul(N,Ze)|0)|0)+((8191&(r=(r=r+Math.imul(N,Qe)|0)+Math.imul(ee,Ze)|0))<<13)|0;O=((g=g+Math.imul(ee,Qe)|0)+(r>>>13)|0)+(Qi>>>26)|0,Qi&=67108863,v=Math.imul(ye,te),r=(r=Math.imul(ye,Pe))+Math.imul(me,te)|0,g=Math.imul(me,Pe),v=v+Math.imul(ot,Ze)|0,r=(r=r+Math.imul(ot,Qe)|0)+Math.imul(je,Ze)|0,g=g+Math.imul(je,Qe)|0;var xi=(O+(v=v+Math.imul(N,xt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ot)|0)+Math.imul(ee,xt)|0))<<13)|0;O=((g=g+Math.imul(ee,Ot)|0)+(r>>>13)|0)+(xi>>>26)|0,xi&=67108863,v=Math.imul(xe,te),r=(r=Math.imul(xe,Pe))+Math.imul(de,te)|0,g=Math.imul(de,Pe),v=v+Math.imul(ye,Ze)|0,r=(r=r+Math.imul(ye,Qe)|0)+Math.imul(me,Ze)|0,g=g+Math.imul(me,Qe)|0,v=v+Math.imul(ot,xt)|0,r=(r=r+Math.imul(ot,Ot)|0)+Math.imul(je,xt)|0,g=g+Math.imul(je,Ot)|0;var sn=(O+(v=v+Math.imul(N,nt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ee)|0)+Math.imul(ee,nt)|0))<<13)|0;O=((g=g+Math.imul(ee,Ee)|0)+(r>>>13)|0)+(sn>>>26)|0,sn&=67108863,v=Math.imul(qe,te),r=(r=Math.imul(qe,Pe))+Math.imul(oe,te)|0,g=Math.imul(oe,Pe),v=v+Math.imul(xe,Ze)|0,r=(r=r+Math.imul(xe,Qe)|0)+Math.imul(de,Ze)|0,g=g+Math.imul(de,Qe)|0,v=v+Math.imul(ye,xt)|0,r=(r=r+Math.imul(ye,Ot)|0)+Math.imul(me,xt)|0,g=g+Math.imul(me,Ot)|0,v=v+Math.imul(ot,nt)|0,r=(r=r+Math.imul(ot,Ee)|0)+Math.imul(je,nt)|0,g=g+Math.imul(je,Ee)|0;var at=(O+(v=v+Math.imul(N,Ue)|0)|0)+((8191&(r=(r=r+Math.imul(N,Xe)|0)+Math.imul(ee,Ue)|0))<<13)|0;O=((g=g+Math.imul(ee,Xe)|0)+(r>>>13)|0)+(at>>>26)|0,at&=67108863,v=Math.imul(le,te),r=(r=Math.imul(le,Pe))+Math.imul(Ge,te)|0,g=Math.imul(Ge,Pe),v=v+Math.imul(qe,Ze)|0,r=(r=r+Math.imul(qe,Qe)|0)+Math.imul(oe,Ze)|0,g=g+Math.imul(oe,Qe)|0,v=v+Math.imul(xe,xt)|0,r=(r=r+Math.imul(xe,Ot)|0)+Math.imul(de,xt)|0,g=g+Math.imul(de,Ot)|0,v=v+Math.imul(ye,nt)|0,r=(r=r+Math.imul(ye,Ee)|0)+Math.imul(me,nt)|0,g=g+Math.imul(me,Ee)|0,v=v+Math.imul(ot,Ue)|0,r=(r=r+Math.imul(ot,Xe)|0)+Math.imul(je,Ue)|0,g=g+Math.imul(je,Xe)|0;var oi=(O+(v=v+Math.imul(N,Le)|0)|0)+((8191&(r=(r=r+Math.imul(N,be)|0)+Math.imul(ee,Le)|0))<<13)|0;O=((g=g+Math.imul(ee,be)|0)+(r>>>13)|0)+(oi>>>26)|0,oi&=67108863,v=Math.imul(wt,te),r=(r=Math.imul(wt,Pe))+Math.imul(mt,te)|0,g=Math.imul(mt,Pe),v=v+Math.imul(le,Ze)|0,r=(r=r+Math.imul(le,Qe)|0)+Math.imul(Ge,Ze)|0,g=g+Math.imul(Ge,Qe)|0,v=v+Math.imul(qe,xt)|0,r=(r=r+Math.imul(qe,Ot)|0)+Math.imul(oe,xt)|0,g=g+Math.imul(oe,Ot)|0,v=v+Math.imul(xe,nt)|0,r=(r=r+Math.imul(xe,Ee)|0)+Math.imul(de,nt)|0,g=g+Math.imul(de,Ee)|0,v=v+Math.imul(ye,Ue)|0,r=(r=r+Math.imul(ye,Xe)|0)+Math.imul(me,Ue)|0,g=g+Math.imul(me,Xe)|0,v=v+Math.imul(ot,Le)|0,r=(r=r+Math.imul(ot,be)|0)+Math.imul(je,Le)|0,g=g+Math.imul(je,be)|0;var Ce=(O+(v=v+Math.imul(N,re)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ie)|0)+Math.imul(ee,re)|0))<<13)|0;O=((g=g+Math.imul(ee,Ie)|0)+(r>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,v=Math.imul(Ae,te),r=(r=Math.imul(Ae,Pe))+Math.imul(Be,te)|0,g=Math.imul(Be,Pe),v=v+Math.imul(wt,Ze)|0,r=(r=r+Math.imul(wt,Qe)|0)+Math.imul(mt,Ze)|0,g=g+Math.imul(mt,Qe)|0,v=v+Math.imul(le,xt)|0,r=(r=r+Math.imul(le,Ot)|0)+Math.imul(Ge,xt)|0,g=g+Math.imul(Ge,Ot)|0,v=v+Math.imul(qe,nt)|0,r=(r=r+Math.imul(qe,Ee)|0)+Math.imul(oe,nt)|0,g=g+Math.imul(oe,Ee)|0,v=v+Math.imul(xe,Ue)|0,r=(r=r+Math.imul(xe,Xe)|0)+Math.imul(de,Ue)|0,g=g+Math.imul(de,Xe)|0,v=v+Math.imul(ye,Le)|0,r=(r=r+Math.imul(ye,be)|0)+Math.imul(me,Le)|0,g=g+Math.imul(me,be)|0,v=v+Math.imul(ot,re)|0,r=(r=r+Math.imul(ot,Ie)|0)+Math.imul(je,re)|0,g=g+Math.imul(je,Ie)|0;var St=(O+(v=v+Math.imul(N,At)|0)|0)+((8191&(r=(r=r+Math.imul(N,Zt)|0)+Math.imul(ee,At)|0))<<13)|0;O=((g=g+Math.imul(ee,Zt)|0)+(r>>>13)|0)+(St>>>26)|0,St&=67108863,v=Math.imul($e,te),r=(r=Math.imul($e,Pe))+Math.imul(ke,te)|0,g=Math.imul(ke,Pe),v=v+Math.imul(Ae,Ze)|0,r=(r=r+Math.imul(Ae,Qe)|0)+Math.imul(Be,Ze)|0,g=g+Math.imul(Be,Qe)|0,v=v+Math.imul(wt,xt)|0,r=(r=r+Math.imul(wt,Ot)|0)+Math.imul(mt,xt)|0,g=g+Math.imul(mt,Ot)|0,v=v+Math.imul(le,nt)|0,r=(r=r+Math.imul(le,Ee)|0)+Math.imul(Ge,nt)|0,g=g+Math.imul(Ge,Ee)|0,v=v+Math.imul(qe,Ue)|0,r=(r=r+Math.imul(qe,Xe)|0)+Math.imul(oe,Ue)|0,g=g+Math.imul(oe,Xe)|0,v=v+Math.imul(xe,Le)|0,r=(r=r+Math.imul(xe,be)|0)+Math.imul(de,Le)|0,g=g+Math.imul(de,be)|0,v=v+Math.imul(ye,re)|0,r=(r=r+Math.imul(ye,Ie)|0)+Math.imul(me,re)|0,g=g+Math.imul(me,Ie)|0,v=v+Math.imul(ot,At)|0,r=(r=r+Math.imul(ot,Zt)|0)+Math.imul(je,At)|0,g=g+Math.imul(je,Zt)|0;var Ft=(O+(v=v+Math.imul(N,Jt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Xt)|0)+Math.imul(ee,Jt)|0))<<13)|0;O=((g=g+Math.imul(ee,Xt)|0)+(r>>>13)|0)+(Ft>>>26)|0,Ft&=67108863,v=Math.imul(Ke,te),r=(r=Math.imul(Ke,Pe))+Math.imul(Et,te)|0,g=Math.imul(Et,Pe),v=v+Math.imul($e,Ze)|0,r=(r=r+Math.imul($e,Qe)|0)+Math.imul(ke,Ze)|0,g=g+Math.imul(ke,Qe)|0,v=v+Math.imul(Ae,xt)|0,r=(r=r+Math.imul(Ae,Ot)|0)+Math.imul(Be,xt)|0,g=g+Math.imul(Be,Ot)|0,v=v+Math.imul(wt,nt)|0,r=(r=r+Math.imul(wt,Ee)|0)+Math.imul(mt,nt)|0,g=g+Math.imul(mt,Ee)|0,v=v+Math.imul(le,Ue)|0,r=(r=r+Math.imul(le,Xe)|0)+Math.imul(Ge,Ue)|0,g=g+Math.imul(Ge,Xe)|0,v=v+Math.imul(qe,Le)|0,r=(r=r+Math.imul(qe,be)|0)+Math.imul(oe,Le)|0,g=g+Math.imul(oe,be)|0,v=v+Math.imul(xe,re)|0,r=(r=r+Math.imul(xe,Ie)|0)+Math.imul(de,re)|0,g=g+Math.imul(de,Ie)|0,v=v+Math.imul(ye,At)|0,r=(r=r+Math.imul(ye,Zt)|0)+Math.imul(me,At)|0,g=g+Math.imul(me,Zt)|0,v=v+Math.imul(ot,Jt)|0,r=(r=r+Math.imul(ot,Xt)|0)+Math.imul(je,Jt)|0,g=g+Math.imul(je,Xt)|0;var Dt=(O+(v=v+Math.imul(N,li)|0)|0)+((8191&(r=(r=r+Math.imul(N,hi)|0)+Math.imul(ee,li)|0))<<13)|0;O=((g=g+Math.imul(ee,hi)|0)+(r>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,v=Math.imul(Ke,Ze),r=(r=Math.imul(Ke,Qe))+Math.imul(Et,Ze)|0,g=Math.imul(Et,Qe),v=v+Math.imul($e,xt)|0,r=(r=r+Math.imul($e,Ot)|0)+Math.imul(ke,xt)|0,g=g+Math.imul(ke,Ot)|0,v=v+Math.imul(Ae,nt)|0,r=(r=r+Math.imul(Ae,Ee)|0)+Math.imul(Be,nt)|0,g=g+Math.imul(Be,Ee)|0,v=v+Math.imul(wt,Ue)|0,r=(r=r+Math.imul(wt,Xe)|0)+Math.imul(mt,Ue)|0,g=g+Math.imul(mt,Xe)|0,v=v+Math.imul(le,Le)|0,r=(r=r+Math.imul(le,be)|0)+Math.imul(Ge,Le)|0,g=g+Math.imul(Ge,be)|0,v=v+Math.imul(qe,re)|0,r=(r=r+Math.imul(qe,Ie)|0)+Math.imul(oe,re)|0,g=g+Math.imul(oe,Ie)|0,v=v+Math.imul(xe,At)|0,r=(r=r+Math.imul(xe,Zt)|0)+Math.imul(de,At)|0,g=g+Math.imul(de,Zt)|0,v=v+Math.imul(ye,Jt)|0,r=(r=r+Math.imul(ye,Xt)|0)+Math.imul(me,Jt)|0,g=g+Math.imul(me,Xt)|0;var It=(O+(v=v+Math.imul(ot,li)|0)|0)+((8191&(r=(r=r+Math.imul(ot,hi)|0)+Math.imul(je,li)|0))<<13)|0;O=((g=g+Math.imul(je,hi)|0)+(r>>>13)|0)+(It>>>26)|0,It&=67108863,v=Math.imul(Ke,xt),r=(r=Math.imul(Ke,Ot))+Math.imul(Et,xt)|0,g=Math.imul(Et,Ot),v=v+Math.imul($e,nt)|0,r=(r=r+Math.imul($e,Ee)|0)+Math.imul(ke,nt)|0,g=g+Math.imul(ke,Ee)|0,v=v+Math.imul(Ae,Ue)|0,r=(r=r+Math.imul(Ae,Xe)|0)+Math.imul(Be,Ue)|0,g=g+Math.imul(Be,Xe)|0,v=v+Math.imul(wt,Le)|0,r=(r=r+Math.imul(wt,be)|0)+Math.imul(mt,Le)|0,g=g+Math.imul(mt,be)|0,v=v+Math.imul(le,re)|0,r=(r=r+Math.imul(le,Ie)|0)+Math.imul(Ge,re)|0,g=g+Math.imul(Ge,Ie)|0,v=v+Math.imul(qe,At)|0,r=(r=r+Math.imul(qe,Zt)|0)+Math.imul(oe,At)|0,g=g+Math.imul(oe,Zt)|0,v=v+Math.imul(xe,Jt)|0,r=(r=r+Math.imul(xe,Xt)|0)+Math.imul(de,Jt)|0,g=g+Math.imul(de,Xt)|0;var Ut=(O+(v=v+Math.imul(ye,li)|0)|0)+((8191&(r=(r=r+Math.imul(ye,hi)|0)+Math.imul(me,li)|0))<<13)|0;O=((g=g+Math.imul(me,hi)|0)+(r>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,v=Math.imul(Ke,nt),r=(r=Math.imul(Ke,Ee))+Math.imul(Et,nt)|0,g=Math.imul(Et,Ee),v=v+Math.imul($e,Ue)|0,r=(r=r+Math.imul($e,Xe)|0)+Math.imul(ke,Ue)|0,g=g+Math.imul(ke,Xe)|0,v=v+Math.imul(Ae,Le)|0,r=(r=r+Math.imul(Ae,be)|0)+Math.imul(Be,Le)|0,g=g+Math.imul(Be,be)|0,v=v+Math.imul(wt,re)|0,r=(r=r+Math.imul(wt,Ie)|0)+Math.imul(mt,re)|0,g=g+Math.imul(mt,Ie)|0,v=v+Math.imul(le,At)|0,r=(r=r+Math.imul(le,Zt)|0)+Math.imul(Ge,At)|0,g=g+Math.imul(Ge,Zt)|0,v=v+Math.imul(qe,Jt)|0,r=(r=r+Math.imul(qe,Xt)|0)+Math.imul(oe,Jt)|0,g=g+Math.imul(oe,Xt)|0;var ai=(O+(v=v+Math.imul(xe,li)|0)|0)+((8191&(r=(r=r+Math.imul(xe,hi)|0)+Math.imul(de,li)|0))<<13)|0;O=((g=g+Math.imul(de,hi)|0)+(r>>>13)|0)+(ai>>>26)|0,ai&=67108863,v=Math.imul(Ke,Ue),r=(r=Math.imul(Ke,Xe))+Math.imul(Et,Ue)|0,g=Math.imul(Et,Xe),v=v+Math.imul($e,Le)|0,r=(r=r+Math.imul($e,be)|0)+Math.imul(ke,Le)|0,g=g+Math.imul(ke,be)|0,v=v+Math.imul(Ae,re)|0,r=(r=r+Math.imul(Ae,Ie)|0)+Math.imul(Be,re)|0,g=g+Math.imul(Be,Ie)|0,v=v+Math.imul(wt,At)|0,r=(r=r+Math.imul(wt,Zt)|0)+Math.imul(mt,At)|0,g=g+Math.imul(mt,Zt)|0,v=v+Math.imul(le,Jt)|0,r=(r=r+Math.imul(le,Xt)|0)+Math.imul(Ge,Jt)|0,g=g+Math.imul(Ge,Xt)|0;var _i=(O+(v=v+Math.imul(qe,li)|0)|0)+((8191&(r=(r=r+Math.imul(qe,hi)|0)+Math.imul(oe,li)|0))<<13)|0;O=((g=g+Math.imul(oe,hi)|0)+(r>>>13)|0)+(_i>>>26)|0,_i&=67108863,v=Math.imul(Ke,Le),r=(r=Math.imul(Ke,be))+Math.imul(Et,Le)|0,g=Math.imul(Et,be),v=v+Math.imul($e,re)|0,r=(r=r+Math.imul($e,Ie)|0)+Math.imul(ke,re)|0,g=g+Math.imul(ke,Ie)|0,v=v+Math.imul(Ae,At)|0,r=(r=r+Math.imul(Ae,Zt)|0)+Math.imul(Be,At)|0,g=g+Math.imul(Be,Zt)|0,v=v+Math.imul(wt,Jt)|0,r=(r=r+Math.imul(wt,Xt)|0)+Math.imul(mt,Jt)|0,g=g+Math.imul(mt,Xt)|0;var bi=(O+(v=v+Math.imul(le,li)|0)|0)+((8191&(r=(r=r+Math.imul(le,hi)|0)+Math.imul(Ge,li)|0))<<13)|0;O=((g=g+Math.imul(Ge,hi)|0)+(r>>>13)|0)+(bi>>>26)|0,bi&=67108863,v=Math.imul(Ke,re),r=(r=Math.imul(Ke,Ie))+Math.imul(Et,re)|0,g=Math.imul(Et,Ie),v=v+Math.imul($e,At)|0,r=(r=r+Math.imul($e,Zt)|0)+Math.imul(ke,At)|0,g=g+Math.imul(ke,Zt)|0,v=v+Math.imul(Ae,Jt)|0,r=(r=r+Math.imul(Ae,Xt)|0)+Math.imul(Be,Jt)|0,g=g+Math.imul(Be,Xt)|0;var Oi=(O+(v=v+Math.imul(wt,li)|0)|0)+((8191&(r=(r=r+Math.imul(wt,hi)|0)+Math.imul(mt,li)|0))<<13)|0;O=((g=g+Math.imul(mt,hi)|0)+(r>>>13)|0)+(Oi>>>26)|0,Oi&=67108863,v=Math.imul(Ke,At),r=(r=Math.imul(Ke,Zt))+Math.imul(Et,At)|0,g=Math.imul(Et,Zt),v=v+Math.imul($e,Jt)|0,r=(r=r+Math.imul($e,Xt)|0)+Math.imul(ke,Jt)|0,g=g+Math.imul(ke,Xt)|0;var Bi=(O+(v=v+Math.imul(Ae,li)|0)|0)+((8191&(r=(r=r+Math.imul(Ae,hi)|0)+Math.imul(Be,li)|0))<<13)|0;O=((g=g+Math.imul(Be,hi)|0)+(r>>>13)|0)+(Bi>>>26)|0,Bi&=67108863,v=Math.imul(Ke,Jt),r=(r=Math.imul(Ke,Xt))+Math.imul(Et,Jt)|0,g=Math.imul(Et,Xt);var Vi=(O+(v=v+Math.imul($e,li)|0)|0)+((8191&(r=(r=r+Math.imul($e,hi)|0)+Math.imul(ke,li)|0))<<13)|0;O=((g=g+Math.imul(ke,hi)|0)+(r>>>13)|0)+(Vi>>>26)|0,Vi&=67108863;var Kt=(O+(v=Math.imul(Ke,li))|0)+((8191&(r=(r=Math.imul(Ke,hi))+Math.imul(Et,li)|0))<<13)|0;return O=((g=Math.imul(Et,hi))+(r>>>13)|0)+(Kt>>>26)|0,Kt&=67108863,D[0]=un,D[1]=Qi,D[2]=xi,D[3]=sn,D[4]=at,D[5]=oi,D[6]=Ce,D[7]=St,D[8]=Ft,D[9]=Dt,D[10]=It,D[11]=Ut,D[12]=ai,D[13]=_i,D[14]=bi,D[15]=Oi,D[16]=Bi,D[17]=Vi,D[18]=Kt,0!==O&&(D[19]=O,f.length++),f};function j(S,n,s){return(new K).mulp(S,n,s)}function K(S,n){this.x=S,this.y=n}Math.imul||(B=V),l.prototype.mulTo=function(n,s){var f,h=this.length+n.length;return f=10===this.length&&10===n.length?B(this,n,s):h<63?V(this,n,s):h<1024?function W(S,n,s){s.negative=n.negative^S.negative,s.length=S.length+n.length;for(var f=0,h=0,w=0;w<s.length-1;w++){var D=h;h=0;for(var O=67108863&f,v=Math.min(w,n.length-1),r=Math.max(0,w-S.length+1);r<=v;r++){var ee=(0|S.words[w-r])*(0|n.words[r]),De=67108863&ee;O=67108863&(De=De+O|0),h+=(D=(D=D+(ee/67108864|0)|0)+(De>>>26)|0)>>>26,D&=67108863}s.words[w]=O,f=D,D=h}return 0!==f?s.words[w]=f:s.length--,s.strip()}(this,n,s):j(this,n,s),f},K.prototype.makeRBT=function(n){for(var s=new Array(n),f=l.prototype._countBits(n)-1,h=0;h<n;h++)s[h]=this.revBin(h,f,n);return s},K.prototype.revBin=function(n,s,f){if(0===n||n===f-1)return n;for(var h=0,w=0;w<s;w++)h|=(1&n)<<s-w-1,n>>=1;return h},K.prototype.permute=function(n,s,f,h,w,D){for(var O=0;O<D;O++)h[O]=s[n[O]],w[O]=f[n[O]]},K.prototype.transform=function(n,s,f,h,w,D){this.permute(D,n,s,f,h,w);for(var O=1;O<w;O<<=1)for(var v=O<<1,r=Math.cos(2*Math.PI/v),g=Math.sin(2*Math.PI/v),H=0;H<w;H+=v)for(var N=r,ee=g,De=0;De<O;De++){var ot=f[H+De],je=h[H+De],Je=f[H+De+O],ye=h[H+De+O],me=N*Je-ee*ye;ye=N*ye+ee*Je,f[H+De]=ot+(Je=me),h[H+De]=je+ye,f[H+De+O]=ot-Je,h[H+De+O]=je-ye,De!==v&&(me=r*N-g*ee,ee=r*ee+g*N,N=me)}},K.prototype.guessLen13b=function(n,s){var f=1|Math.max(s,n),h=1&f,w=0;for(f=f/2|0;f;f>>>=1)w++;return 1<<w+1+h},K.prototype.conjugate=function(n,s,f){if(!(f<=1))for(var h=0;h<f/2;h++){var w=n[h];n[h]=n[f-h-1],n[f-h-1]=w,w=s[h],s[h]=-s[f-h-1],s[f-h-1]=-w}},K.prototype.normalize13b=function(n,s){for(var f=0,h=0;h<s/2;h++){var w=8192*Math.round(n[2*h+1]/s)+Math.round(n[2*h]/s)+f;n[h]=67108863&w,f=w<67108864?0:w/67108864|0}return n},K.prototype.convert13b=function(n,s,f,h){for(var w=0,D=0;D<s;D++)f[2*D]=8191&(w+=0|n[D]),f[2*D+1]=8191&(w>>>=13),w>>>=13;for(D=2*s;D<h;++D)f[D]=0;y(0===w),y(0==(-8192&w))},K.prototype.stub=function(n){for(var s=new Array(n),f=0;f<n;f++)s[f]=0;return s},K.prototype.mulp=function(n,s,f){var h=2*this.guessLen13b(n.length,s.length),w=this.makeRBT(h),D=this.stub(h),O=new Array(h),v=new Array(h),r=new Array(h),g=new Array(h),H=new Array(h),N=new Array(h),ee=f.words;ee.length=h,this.convert13b(n.words,n.length,O,h),this.convert13b(s.words,s.length,g,h),this.transform(O,D,v,r,h,w),this.transform(g,D,H,N,h,w);for(var De=0;De<h;De++){var ot=v[De]*H[De]-r[De]*N[De];r[De]=v[De]*N[De]+r[De]*H[De],v[De]=ot}return this.conjugate(v,r,h),this.transform(v,r,ee,D,h,w),this.conjugate(ee,D,h),this.normalize13b(ee,h),f.negative=n.negative^s.negative,f.length=n.length+s.length,f.strip()},l.prototype.mul=function(n){var s=new l(null);return s.words=new Array(this.length+n.length),this.mulTo(n,s)},l.prototype.mulf=function(n){var s=new l(null);return s.words=new Array(this.length+n.length),j(this,n,s)},l.prototype.imul=function(n){return this.clone().mulTo(n,this)},l.prototype.imuln=function(n){y("number"==typeof n),y(n<67108864);for(var s=0,f=0;f<this.length;f++){var h=(0|this.words[f])*n,w=(67108863&h)+(67108863&s);s>>=26,s+=h/67108864|0,s+=w>>>26,this.words[f]=67108863&w}return 0!==s&&(this.words[f]=s,this.length++),this},l.prototype.muln=function(n){return this.clone().imuln(n)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(n){var s=function k(S){for(var n=new Array(S.bitLength()),s=0;s<n.length;s++){var h=s%26;n[s]=(S.words[s/26|0]&1<<h)>>>h}return n}(n);if(0===s.length)return new l(1);for(var f=this,h=0;h<s.length&&0===s[h];h++,f=f.sqr());if(++h<s.length)for(var w=f.sqr();h<s.length;h++,w=w.sqr())0!==s[h]&&(f=f.mul(w));return f},l.prototype.iushln=function(n){y("number"==typeof n&&n>=0);var w,s=n%26,f=(n-s)/26,h=67108863>>>26-s<<26-s;if(0!==s){var D=0;for(w=0;w<this.length;w++){var O=this.words[w]&h;this.words[w]=(0|this.words[w])-O<<s|D,D=O>>>26-s}D&&(this.words[w]=D,this.length++)}if(0!==f){for(w=this.length-1;w>=0;w--)this.words[w+f]=this.words[w];for(w=0;w<f;w++)this.words[w]=0;this.length+=f}return this.strip()},l.prototype.ishln=function(n){return y(0===this.negative),this.iushln(n)},l.prototype.iushrn=function(n,s,f){var h;y("number"==typeof n&&n>=0),h=s?(s-s%26)/26:0;var w=n%26,D=Math.min((n-w)/26,this.length),O=67108863^67108863>>>w<<w,v=f;if(h-=D,h=Math.max(0,h),v){for(var r=0;r<D;r++)v.words[r]=this.words[r];v.length=D}if(0!==D)if(this.length>D)for(this.length-=D,r=0;r<this.length;r++)this.words[r]=this.words[r+D];else this.words[0]=0,this.length=1;var g=0;for(r=this.length-1;r>=0&&(0!==g||r>=h);r--){var H=0|this.words[r];this.words[r]=g<<26-w|H>>>w,g=H&O}return v&&0!==g&&(v.words[v.length++]=g),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(n,s,f){return y(0===this.negative),this.iushrn(n,s,f)},l.prototype.shln=function(n){return this.clone().ishln(n)},l.prototype.ushln=function(n){return this.clone().iushln(n)},l.prototype.shrn=function(n){return this.clone().ishrn(n)},l.prototype.ushrn=function(n){return this.clone().iushrn(n)},l.prototype.testn=function(n){y("number"==typeof n&&n>=0);var s=n%26,f=(n-s)/26;return!(this.length<=f||!(this.words[f]&1<<s))},l.prototype.imaskn=function(n){y("number"==typeof n&&n>=0);var s=n%26,f=(n-s)/26;return y(0===this.negative,"imaskn works only with positive numbers"),this.length<=f?this:(0!==s&&f++,this.length=Math.min(f,this.length),0!==s&&(this.words[this.length-1]&=67108863^67108863>>>s<<s),this.strip())},l.prototype.maskn=function(n){return this.clone().imaskn(n)},l.prototype.iaddn=function(n){return y("number"==typeof n),y(n<67108864),n<0?this.isubn(-n):0!==this.negative?1===this.length&&(0|this.words[0])<n?(this.words[0]=n-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(n),this.negative=1,this):this._iaddn(n)},l.prototype._iaddn=function(n){this.words[0]+=n;for(var s=0;s<this.length&&this.words[s]>=67108864;s++)this.words[s]-=67108864,s===this.length-1?this.words[s+1]=1:this.words[s+1]++;return this.length=Math.max(this.length,s+1),this},l.prototype.isubn=function(n){if(y("number"==typeof n),y(n<67108864),n<0)return this.iaddn(-n);if(0!==this.negative)return this.negative=0,this.iaddn(n),this.negative=1,this;if(this.words[0]-=n,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var s=0;s<this.length&&this.words[s]<0;s++)this.words[s]+=67108864,this.words[s+1]-=1;return this.strip()},l.prototype.addn=function(n){return this.clone().iaddn(n)},l.prototype.subn=function(n){return this.clone().isubn(n)},l.prototype.iabs=function(){return this.negative=0,this},l.prototype.abs=function(){return this.clone().iabs()},l.prototype._ishlnsubmul=function(n,s,f){var w;this._expand(n.length+f);var D,O=0;for(w=0;w<n.length;w++){D=(0|this.words[w+f])+O;var v=(0|n.words[w])*s;O=((D-=67108863&v)>>26)-(v/67108864|0),this.words[w+f]=67108863&D}for(;w<this.length-f;w++)O=(D=(0|this.words[w+f])+O)>>26,this.words[w+f]=67108863&D;if(0===O)return this.strip();for(y(-1===O),O=0,w=0;w<this.length;w++)O=(D=-(0|this.words[w])+O)>>26,this.words[w]=67108863&D;return this.negative=1,this.strip()},l.prototype._wordDiv=function(n,s){var f,h=this.clone(),w=n,D=0|w.words[w.length-1];0!=(f=26-this._countBits(D))&&(w=w.ushln(f),h.iushln(f),D=0|w.words[w.length-1]);var r,v=h.length-w.length;if("mod"!==s){(r=new l(null)).length=v+1,r.words=new Array(r.length);for(var g=0;g<r.length;g++)r.words[g]=0}var H=h.clone()._ishlnsubmul(w,1,v);0===H.negative&&(h=H,r&&(r.words[v]=1));for(var N=v-1;N>=0;N--){var ee=67108864*(0|h.words[w.length+N])+(0|h.words[w.length+N-1]);for(ee=Math.min(ee/D|0,67108863),h._ishlnsubmul(w,ee,N);0!==h.negative;)ee--,h.negative=0,h._ishlnsubmul(w,1,N),h.isZero()||(h.negative^=1);r&&(r.words[N]=ee)}return r&&r.strip(),h.strip(),"div"!==s&&0!==f&&h.iushrn(f),{div:r||null,mod:h}},l.prototype.divmod=function(n,s,f){return y(!n.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===n.negative?(D=this.neg().divmod(n,s),"mod"!==s&&(h=D.div.neg()),"div"!==s&&(w=D.mod.neg(),f&&0!==w.negative&&w.iadd(n)),{div:h,mod:w}):0===this.negative&&0!==n.negative?(D=this.divmod(n.neg(),s),"mod"!==s&&(h=D.div.neg()),{div:h,mod:D.mod}):this.negative&n.negative?(D=this.neg().divmod(n.neg(),s),"div"!==s&&(w=D.mod.neg(),f&&0!==w.negative&&w.isub(n)),{div:D.div,mod:w}):n.length>this.length||this.cmp(n)<0?{div:new l(0),mod:this}:1===n.length?"div"===s?{div:this.divn(n.words[0]),mod:null}:"mod"===s?{div:null,mod:new l(this.modn(n.words[0]))}:{div:this.divn(n.words[0]),mod:new l(this.modn(n.words[0]))}:this._wordDiv(n,s);var h,w,D},l.prototype.div=function(n){return this.divmod(n,"div",!1).div},l.prototype.mod=function(n){return this.divmod(n,"mod",!1).mod},l.prototype.umod=function(n){return this.divmod(n,"mod",!0).mod},l.prototype.divRound=function(n){var s=this.divmod(n);if(s.mod.isZero())return s.div;var f=0!==s.div.negative?s.mod.isub(n):s.mod,h=n.ushrn(1),w=n.andln(1),D=f.cmp(h);return D<0||1===w&&0===D?s.div:0!==s.div.negative?s.div.isubn(1):s.div.iaddn(1)},l.prototype.modn=function(n){y(n<=67108863);for(var s=(1<<26)%n,f=0,h=this.length-1;h>=0;h--)f=(s*f+(0|this.words[h]))%n;return f},l.prototype.idivn=function(n){y(n<=67108863);for(var s=0,f=this.length-1;f>=0;f--){var h=(0|this.words[f])+67108864*s;this.words[f]=h/n|0,s=h%n}return this.strip()},l.prototype.divn=function(n){return this.clone().idivn(n)},l.prototype.egcd=function(n){y(0===n.negative),y(!n.isZero());var s=this,f=n.clone();s=0!==s.negative?s.umod(n):s.clone();for(var h=new l(1),w=new l(0),D=new l(0),O=new l(1),v=0;s.isEven()&&f.isEven();)s.iushrn(1),f.iushrn(1),++v;for(var r=f.clone(),g=s.clone();!s.isZero();){for(var H=0,N=1;!(s.words[0]&N)&&H<26;++H,N<<=1);if(H>0)for(s.iushrn(H);H-- >0;)(h.isOdd()||w.isOdd())&&(h.iadd(r),w.isub(g)),h.iushrn(1),w.iushrn(1);for(var ee=0,De=1;!(f.words[0]&De)&&ee<26;++ee,De<<=1);if(ee>0)for(f.iushrn(ee);ee-- >0;)(D.isOdd()||O.isOdd())&&(D.iadd(r),O.isub(g)),D.iushrn(1),O.iushrn(1);s.cmp(f)>=0?(s.isub(f),h.isub(D),w.isub(O)):(f.isub(s),D.isub(h),O.isub(w))}return{a:D,b:O,gcd:f.iushln(v)}},l.prototype._invmp=function(n){y(0===n.negative),y(!n.isZero());var H,s=this,f=n.clone();s=0!==s.negative?s.umod(n):s.clone();for(var h=new l(1),w=new l(0),D=f.clone();s.cmpn(1)>0&&f.cmpn(1)>0;){for(var O=0,v=1;!(s.words[0]&v)&&O<26;++O,v<<=1);if(O>0)for(s.iushrn(O);O-- >0;)h.isOdd()&&h.iadd(D),h.iushrn(1);for(var r=0,g=1;!(f.words[0]&g)&&r<26;++r,g<<=1);if(r>0)for(f.iushrn(r);r-- >0;)w.isOdd()&&w.iadd(D),w.iushrn(1);s.cmp(f)>=0?(s.isub(f),h.isub(w)):(f.isub(s),w.isub(h))}return(H=0===s.cmpn(1)?h:w).cmpn(0)<0&&H.iadd(n),H},l.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var s=this.clone(),f=n.clone();s.negative=0,f.negative=0;for(var h=0;s.isEven()&&f.isEven();h++)s.iushrn(1),f.iushrn(1);for(;;){for(;s.isEven();)s.iushrn(1);for(;f.isEven();)f.iushrn(1);var w=s.cmp(f);if(w<0){var D=s;s=f,f=D}else if(0===w||0===f.cmpn(1))break;s.isub(f)}return f.iushln(h)},l.prototype.invm=function(n){return this.egcd(n).a.umod(n)},l.prototype.isEven=function(){return 0==(1&this.words[0])},l.prototype.isOdd=function(){return 1==(1&this.words[0])},l.prototype.andln=function(n){return this.words[0]&n},l.prototype.bincn=function(n){y("number"==typeof n);var s=n%26,f=(n-s)/26,h=1<<s;if(this.length<=f)return this._expand(f+1),this.words[f]|=h,this;for(var w=h,D=f;0!==w&&D<this.length;D++){var O=0|this.words[D];w=(O+=w)>>>26,this.words[D]=O&=67108863}return 0!==w&&(this.words[D]=w,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(n){var f,s=n<0;if(0!==this.negative&&!s)return-1;if(0===this.negative&&s)return 1;if(this.strip(),this.length>1)f=1;else{s&&(n=-n),y(n<=67108863,"Number is too big");var h=0|this.words[0];f=h===n?0:h<n?-1:1}return 0!==this.negative?0|-f:f},l.prototype.cmp=function(n){if(0!==this.negative&&0===n.negative)return-1;if(0===this.negative&&0!==n.negative)return 1;var s=this.ucmp(n);return 0!==this.negative?0|-s:s},l.prototype.ucmp=function(n){if(this.length>n.length)return 1;if(this.length<n.length)return-1;for(var s=0,f=this.length-1;f>=0;f--){var h=0|this.words[f],w=0|n.words[f];if(h!==w){h<w?s=-1:h>w&&(s=1);break}}return s},l.prototype.gtn=function(n){return 1===this.cmpn(n)},l.prototype.gt=function(n){return 1===this.cmp(n)},l.prototype.gten=function(n){return this.cmpn(n)>=0},l.prototype.gte=function(n){return this.cmp(n)>=0},l.prototype.ltn=function(n){return-1===this.cmpn(n)},l.prototype.lt=function(n){return-1===this.cmp(n)},l.prototype.lten=function(n){return this.cmpn(n)<=0},l.prototype.lte=function(n){return this.cmp(n)<=0},l.prototype.eqn=function(n){return 0===this.cmpn(n)},l.prototype.eq=function(n){return 0===this.cmp(n)},l.red=function(n){return new $(n)},l.prototype.toRed=function(n){return y(!this.red,"Already a number in reduction context"),y(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},l.prototype.fromRed=function(){return y(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(n){return this.red=n,this},l.prototype.forceRed=function(n){return y(!this.red,"Already a number in reduction context"),this._forceRed(n)},l.prototype.redAdd=function(n){return y(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},l.prototype.redIAdd=function(n){return y(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},l.prototype.redSub=function(n){return y(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},l.prototype.redISub=function(n){return y(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},l.prototype.redShl=function(n){return y(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},l.prototype.redMul=function(n){return y(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},l.prototype.redIMul=function(n){return y(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},l.prototype.redSqr=function(){return y(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return y(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return y(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return y(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return y(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(n){return y(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var X={k256:null,p224:null,p192:null,p25519:null};function ie(S,n){this.name=S,this.p=new l(n,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function ae(){ie.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function fe(){ie.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function se(){ie.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function Me(){ie.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function $(S){if("string"==typeof S){var n=l._prime(S);this.m=n.p,this.prime=n}else y(S.gtn(1),"modulus must be greater than 1"),this.m=S,this.prime=null}function ue(S){$.call(this,S),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}ie.prototype._tmp=function(){var n=new l(null);return n.words=new Array(Math.ceil(this.n/13)),n},ie.prototype.ireduce=function(n){var f,s=n;do{this.split(s,this.tmp),f=(s=(s=this.imulK(s)).iadd(this.tmp)).bitLength()}while(f>this.n);var h=f<this.n?-1:s.ucmp(this.p);return 0===h?(s.words[0]=0,s.length=1):h>0?s.isub(this.p):void 0!==s.strip?s.strip():s._strip(),s},ie.prototype.split=function(n,s){n.iushrn(this.n,0,s)},ie.prototype.imulK=function(n){return n.imul(this.k)},A(ae,ie),ae.prototype.split=function(n,s){for(var f=4194303,h=Math.min(n.length,9),w=0;w<h;w++)s.words[w]=n.words[w];if(s.length=h,n.length<=9)return n.words[0]=0,void(n.length=1);var D=n.words[9];for(s.words[s.length++]=D&f,w=10;w<n.length;w++){var O=0|n.words[w];n.words[w-10]=(O&f)<<4|D>>>22,D=O}n.words[w-10]=D>>>=22,n.length-=0===D&&n.length>10?10:9},ae.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var s=0,f=0;f<n.length;f++){var h=0|n.words[f];n.words[f]=67108863&(s+=977*h),s=64*h+(s/67108864|0)}return 0===n.words[n.length-1]&&(n.length--,0===n.words[n.length-1]&&n.length--),n},A(fe,ie),A(se,ie),A(Me,ie),Me.prototype.imulK=function(n){for(var s=0,f=0;f<n.length;f++){var h=19*(0|n.words[f])+s,w=67108863&h;h>>>=26,n.words[f]=w,s=h}return 0!==s&&(n.words[n.length++]=s),n},l._prime=function(n){if(X[n])return X[n];var s;if("k256"===n)s=new ae;else if("p224"===n)s=new fe;else if("p192"===n)s=new se;else{if("p25519"!==n)throw new Error("Unknown prime "+n);s=new Me}return X[n]=s,s},$.prototype._verify1=function(n){y(0===n.negative,"red works only with positives"),y(n.red,"red works only with red numbers")},$.prototype._verify2=function(n,s){y(0==(n.negative|s.negative),"red works only with positives"),y(n.red&&n.red===s.red,"red works only with red numbers")},$.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},$.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},$.prototype.add=function(n,s){this._verify2(n,s);var f=n.add(s);return f.cmp(this.m)>=0&&f.isub(this.m),f._forceRed(this)},$.prototype.iadd=function(n,s){this._verify2(n,s);var f=n.iadd(s);return f.cmp(this.m)>=0&&f.isub(this.m),f},$.prototype.sub=function(n,s){this._verify2(n,s);var f=n.sub(s);return f.cmpn(0)<0&&f.iadd(this.m),f._forceRed(this)},$.prototype.isub=function(n,s){this._verify2(n,s);var f=n.isub(s);return f.cmpn(0)<0&&f.iadd(this.m),f},$.prototype.shl=function(n,s){return this._verify1(n),this.imod(n.ushln(s))},$.prototype.imul=function(n,s){return this._verify2(n,s),this.imod(n.imul(s))},$.prototype.mul=function(n,s){return this._verify2(n,s),this.imod(n.mul(s))},$.prototype.isqr=function(n){return this.imul(n,n.clone())},$.prototype.sqr=function(n){return this.mul(n,n)},$.prototype.sqrt=function(n){if(n.isZero())return n.clone();var s=this.m.andln(3);if(y(s%2==1),3===s){var f=this.m.add(new l(1)).iushrn(2);return this.pow(n,f)}for(var h=this.m.subn(1),w=0;!h.isZero()&&0===h.andln(1);)w++,h.iushrn(1);y(!h.isZero());var D=new l(1).toRed(this),O=D.redNeg(),v=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new l(2*r*r).toRed(this);0!==this.pow(r,v).cmp(O);)r.redIAdd(O);for(var g=this.pow(r,h),H=this.pow(n,h.addn(1).iushrn(1)),N=this.pow(n,h),ee=w;0!==N.cmp(D);){for(var De=N,ot=0;0!==De.cmp(D);ot++)De=De.redSqr();y(ot<ee);var je=this.pow(g,new l(1).iushln(ee-ot-1));H=H.redMul(je),g=je.redSqr(),N=N.redMul(g),ee=ot}return H},$.prototype.invm=function(n){var s=n._invmp(this.m);return 0!==s.negative?(s.negative=0,this.imod(s).redNeg()):this.imod(s)},$.prototype.pow=function(n,s){if(s.isZero())return new l(1).toRed(this);if(0===s.cmpn(1))return n.clone();var h=new Array(16);h[0]=new l(1).toRed(this),h[1]=n;for(var w=2;w<h.length;w++)h[w]=this.mul(h[w-1],n);var D=h[0],O=0,v=0,r=s.bitLength()%26;for(0===r&&(r=26),w=s.length-1;w>=0;w--){for(var g=s.words[w],H=r-1;H>=0;H--){var N=g>>H&1;D!==h[0]&&(D=this.sqr(D)),0!==N||0!==O?(O<<=1,O|=N,(4==++v||0===w&&0===H)&&(D=this.mul(D,h[O]),v=0,O=0)):v=0}r=26}return D},$.prototype.convertTo=function(n){var s=n.umod(this.m);return s===n?s.clone():s},$.prototype.convertFrom=function(n){var s=n.clone();return s.red=null,s},l.mont=function(n){return new ue(n)},A(ue,$),ue.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},ue.prototype.convertFrom=function(n){var s=this.imod(n.mul(this.rinv));return s.red=null,s},ue.prototype.imul=function(n,s){if(n.isZero()||s.isZero())return n.words[0]=0,n.length=1,n;var f=n.imul(s),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),w=f.isub(h).iushrn(this.shift),D=w;return w.cmp(this.m)>=0?D=w.isub(this.m):w.cmpn(0)<0&&(D=w.iadd(this.m)),D._forceRed(this)},ue.prototype.mul=function(n,s){if(n.isZero()||s.isZero())return new l(0)._forceRed(this);var f=n.mul(s),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),w=f.isub(h).iushrn(this.shift),D=w;return w.cmp(this.m)>=0?D=w.isub(this.m):w.cmpn(0)<0&&(D=w.iadd(this.m)),D._forceRed(this)},ue.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(ze=p.nmd(ze),this)},7798:ze=>{function q(p,e){if(!p)throw new Error(e||"Assertion failed")}ze.exports=q,q.equal=function(e,t,y){if(e!=t)throw new Error(y||"Assertion failed: "+e+" != "+t)}},8247:(ze,q)=>{"use strict";var p=q;function t(A){return 1===A.length?"0"+A:A}function y(A){for(var l="",x=0;x<A.length;x++)l+=t(A[x].toString(16));return l}p.toArray=function e(A,l){if(Array.isArray(A))return A.slice();if(!A)return[];var x=[];if("string"!=typeof A){for(var m=0;m<A.length;m++)x[m]=0|A[m];return x}if("hex"===l)for((A=A.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(A="0"+A),m=0;m<A.length;m+=2)x.push(parseInt(A[m]+A[m+1],16));else for(m=0;m<A.length;m++){var P=A.charCodeAt(m),d=P>>8,E=255&P;d?x.push(d,E):x.push(E)}return x},p.zero2=t,p.toHex=y,p.encode=function(l,x){return"hex"===x?y(l):l}},3439:(ze,q,p)=>{"use strict";Object.defineProperty(q,"__esModule",{value:!0});var e=p(6981);Object.keys(e).forEach(function(t){"default"!==t&&Object.defineProperty(q,t,{enumerable:!0,get:function(){return e[t]}})})},1322:(ze,q,p)=>{"use strict";var e=p(7414);q.certificate=p(7290);var t=e.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});q.RSAPrivateKey=t;var y=e.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});q.RSAPublicKey=y;var A=e.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(l),this.key("subjectPublicKey").bitstr())});q.PublicKey=A;var l=e.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),x=e.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(l),this.key("subjectPrivateKey").octstr())});q.PrivateKey=x;var m=e.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});q.EncryptedPrivateKey=m;var P=e.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())});q.DSAPrivateKey=P,q.DSAparam=e.define("DSAparam",function(){this.int()});var d=e.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(E),this.key("publicKey").optional().explicit(1).bitstr())});q.ECPrivateKey=d;var E=e.define("ECParameters",function(){this.choice({namedCurve:this.objid()})});q.signature=e.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},7290:(ze,q,p)=>{"use strict";var e=p(7414),t=e.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),y=e.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),A=e.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),l=e.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(A),this.key("subjectPublicKey").bitstr())}),x=e.define("RelativeDistinguishedName",function(){this.setof(y)}),m=e.define("RDNSequence",function(){this.seqof(x)}),P=e.define("Name",function(){this.choice({rdnSequence:this.use(m)})}),d=e.define("Validity",function(){this.seq().obj(this.key("notBefore").use(t),this.key("notAfter").use(t))}),E=e.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),M=e.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(A),this.key("issuer").use(P),this.key("validity").use(d),this.key("subject").use(P),this.key("subjectPublicKeyInfo").use(l),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(E).optional())}),I=e.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(M),this.key("signatureAlgorithm").use(A),this.key("signatureValue").bitstr())});ze.exports=I},7520:(ze,q,p)=>{var e=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,t=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,y=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,A=p(6505),l=p(2489),x=p(843).Buffer;ze.exports=function(m,P){var M,d=m.toString(),E=d.match(e);if(E){var k="aes"+E[1],V=x.from(E[2],"hex"),B=x.from(E[3].replace(/[\r\n]/g,""),"base64"),W=A(P,V.slice(0,8),parseInt(E[1],10)).key,j=[],K=l.createDecipheriv(k,W,V);j.push(K.update(B)),j.push(K.final()),M=x.concat(j)}else{var I=d.match(y);M=x.from(I[2].replace(/[\r\n]/g,""),"base64")}return{tag:d.match(t)[1],data:M}}},7983:(ze,q,p)=>{var e=p(1322),t=p(2562),y=p(7520),A=p(2489),l=p(7100),x=p(843).Buffer;function m(d){var E;"object"==typeof d&&!x.isBuffer(d)&&(E=d.passphrase,d=d.key),"string"==typeof d&&(d=x.from(d));var V,B,M=y(d,E),I=M.tag,k=M.data;switch(I){case"CERTIFICATE":B=e.certificate.decode(k,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(B||(B=e.PublicKey.decode(k,"der")),V=B.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return e.RSAPublicKey.decode(B.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return B.subjectPrivateKey=B.subjectPublicKey,{type:"ec",data:B};case"1.2.840.10040.4.1":return B.algorithm.params.pub_key=e.DSAparam.decode(B.subjectPublicKey.data,"der"),{type:"dsa",data:B.algorithm.params};default:throw new Error("unknown key id "+V)}case"ENCRYPTED PRIVATE KEY":k=function P(d,E){var M=d.algorithm.decrypt.kde.kdeparams.salt,I=parseInt(d.algorithm.decrypt.kde.kdeparams.iters.toString(),10),k=t[d.algorithm.decrypt.cipher.algo.join(".")],V=d.algorithm.decrypt.cipher.iv,B=d.subjectPrivateKey,W=parseInt(k.split("-")[1],10)/8,j=l.pbkdf2Sync(E,M,I,W,"sha1"),K=A.createDecipheriv(k,j,V),X=[];return X.push(K.update(B)),X.push(K.final()),x.concat(X)}(k=e.EncryptedPrivateKey.decode(k,"der"),E);case"PRIVATE KEY":switch(V=(B=e.PrivateKey.decode(k,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return e.RSAPrivateKey.decode(B.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:B.algorithm.curve,privateKey:e.ECPrivateKey.decode(B.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return B.algorithm.params.priv_key=e.DSAparam.decode(B.subjectPrivateKey,"der"),{type:"dsa",params:B.algorithm.params};default:throw new Error("unknown key id "+V)}case"RSA PUBLIC KEY":return e.RSAPublicKey.decode(k,"der");case"RSA PRIVATE KEY":return e.RSAPrivateKey.decode(k,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:e.DSAPrivateKey.decode(k,"der")};case"EC PRIVATE KEY":return{curve:(k=e.ECPrivateKey.decode(k,"der")).parameters.value,privateKey:k.privateKey};default:throw new Error("unknown key type "+I)}}ze.exports=m,m.signature=e.signature},7100:(ze,q,p)=>{q.pbkdf2=p(8781),q.pbkdf2Sync=p(8047)},8781:(ze,q,p)=>{var x,M,e=p(843).Buffer,t=p(4881),y=p(7107),A=p(8047),l=p(7306),m=global.crypto&&global.crypto.subtle,P={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},d=[];function I(){return M||(M=global.process&&global.process.nextTick?global.process.nextTick:global.queueMicrotask?global.queueMicrotask:global.setImmediate?global.setImmediate:global.setTimeout)}function k(B,W,j,K,X){return m.importKey("raw",B,{name:"PBKDF2"},!1,["deriveBits"]).then(function(ie){return m.deriveBits({name:"PBKDF2",salt:W,iterations:j,hash:{name:X}},ie,K<<3)}).then(function(ie){return e.from(ie)})}ze.exports=function(B,W,j,K,X,ie){"function"==typeof X&&(ie=X,X=void 0);var ae=P[(X=X||"sha1").toLowerCase()];if(ae&&"function"==typeof global.Promise){if(t(j,K),B=l(B,y,"Password"),W=l(W,y,"Salt"),"function"!=typeof ie)throw new Error("No callback provided to pbkdf2");!function V(B,W){B.then(function(j){I()(function(){W(null,j)})},function(j){I()(function(){W(j)})})}(function E(B){if(global.process&&!global.process.browser||!m||!m.importKey||!m.deriveBits)return Promise.resolve(!1);if(void 0!==d[B])return d[B];var W=k(x=x||e.alloc(8),x,10,128,B).then(function(){return!0}).catch(function(){return!1});return d[B]=W,W}(ae).then(function(fe){return fe?k(B,W,j,K,ae):A(B,W,j,K,X)}),ie)}else I()(function(){var fe;try{fe=A(B,W,j,K,X)}catch(se){return ie(se)}ie(null,fe)})}},7107:ze=>{var q;q=global.process&&global.process.browser?"utf-8":global.process&&global.process.version?parseInt(process.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary":"utf-8",ze.exports=q},4881:ze=>{var q=Math.pow(2,30)-1;ze.exports=function(p,e){if("number"!=typeof p)throw new TypeError("Iterations not a number");if(p<0)throw new TypeError("Bad iterations");if("number"!=typeof e)throw new TypeError("Key length not a number");if(e<0||e>q||e!=e)throw new TypeError("Bad key length")}},8047:(ze,q,p)=>{var e=p(7588),t=p(9706),y=p(7965),A=p(843).Buffer,l=p(4881),x=p(7107),m=p(7306),P=A.alloc(128),d={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function E(k,V,B){var W=function M(k){return"rmd160"===k||"ripemd160"===k?function B(W){return(new t).update(W).digest()}:"md5"===k?e:function V(W){return y(k).update(W).digest()}}(k),j="sha512"===k||"sha384"===k?128:64;V.length>j?V=W(V):V.length<j&&(V=A.concat([V,P],j));for(var K=A.allocUnsafe(j+d[k]),X=A.allocUnsafe(j+d[k]),ie=0;ie<j;ie++)K[ie]=54^V[ie],X[ie]=92^V[ie];var ae=A.allocUnsafe(j+B+4);K.copy(ae,0,0,j),this.ipad1=ae,this.ipad2=K,this.opad=X,this.alg=k,this.blocksize=j,this.hash=W,this.size=d[k]}E.prototype.run=function(k,V){return k.copy(V,this.blocksize),this.hash(V).copy(this.opad,this.blocksize),this.hash(this.opad)},ze.exports=function I(k,V,B,W,j){l(B,W);var K=new E(j=j||"sha1",k=m(k,x,"Password"),(V=m(V,x,"Salt")).length),X=A.allocUnsafe(W),ie=A.allocUnsafe(V.length+4);V.copy(ie,0,0,V.length);for(var ae=0,fe=d[j],se=Math.ceil(W/fe),Me=1;Me<=se;Me++){ie.writeUInt32BE(Me,V.length);for(var $=K.run(ie,K.ipad1),ue=$,S=1;S<B;S++){ue=K.run(ue,K.ipad2);for(var n=0;n<fe;n++)$[n]^=ue[n]}$.copy(X,ae),ae+=fe}return X}},7306:(ze,q,p)=>{var e=p(843).Buffer;ze.exports=function(t,y,A){if(e.isBuffer(t))return t;if("string"==typeof t)return e.from(t,y);if(ArrayBuffer.isView(t))return e.from(t.buffer);throw new TypeError(A+" must be a string, a Buffer, a typed array or a DataView")}},7050:(ze,q,p)=>{q.publicEncrypt=p(5737),q.privateDecrypt=p(5252),q.privateEncrypt=function(t,y){return q.publicEncrypt(t,y,!0)},q.publicDecrypt=function(t,y){return q.privateDecrypt(t,y,!0)}},6517:(ze,q,p)=>{var e=p(6362),t=p(843).Buffer;function y(A){var l=t.allocUnsafe(4);return l.writeUInt32BE(A,0),l}ze.exports=function(A,l){for(var P,x=t.alloc(0),m=0;x.length<l;)P=y(m++),x=t.concat([x,e("sha1").update(A).update(P).digest()]);return x.slice(0,l)}},8211:function(ze,q,p){!function(e,t){"use strict";function y(S,n){if(!S)throw new Error(n||"Assertion failed")}function A(S,n){S.super_=n;var s=function(){};s.prototype=n.prototype,S.prototype=new s,S.prototype.constructor=S}function l(S,n,s){if(l.isBN(S))return S;this.negative=0,this.words=null,this.length=0,this.red=null,null!==S&&(("le"===n||"be"===n)&&(s=n,n=10),this._init(S||0,n||10,s||"be"))}var x;"object"==typeof e?e.exports=l:t.BN=l,l.BN=l,l.wordSize=26;try{x=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:p(7108).Buffer}catch{}function m(S,n){var s=S.charCodeAt(n);return s>=65&&s<=70?s-55:s>=97&&s<=102?s-87:s-48&15}function P(S,n,s){var f=m(S,s);return s-1>=n&&(f|=m(S,s-1)<<4),f}function d(S,n,s,f){for(var h=0,w=Math.min(S.length,s),D=n;D<w;D++){var O=S.charCodeAt(D)-48;h*=f,h+=O>=49?O-49+10:O>=17?O-17+10:O}return h}l.isBN=function(n){return n instanceof l||null!==n&&"object"==typeof n&&n.constructor.wordSize===l.wordSize&&Array.isArray(n.words)},l.max=function(n,s){return n.cmp(s)>0?n:s},l.min=function(n,s){return n.cmp(s)<0?n:s},l.prototype._init=function(n,s,f){if("number"==typeof n)return this._initNumber(n,s,f);if("object"==typeof n)return this._initArray(n,s,f);"hex"===s&&(s=16),y(s===(0|s)&&s>=2&&s<=36);var h=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h<n.length&&(16===s?this._parseHex(n,h,f):(this._parseBase(n,s,h),"le"===f&&this._initArray(this.toArray(),s,f)))},l.prototype._initNumber=function(n,s,f){n<0&&(this.negative=1,n=-n),n<67108864?(this.words=[67108863&n],this.length=1):n<4503599627370496?(this.words=[67108863&n,n/67108864&67108863],this.length=2):(y(n<9007199254740992),this.words=[67108863&n,n/67108864&67108863,1],this.length=3),"le"===f&&this._initArray(this.toArray(),s,f)},l.prototype._initArray=function(n,s,f){if(y("number"==typeof n.length),n.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(n.length/3),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var w,D,O=0;if("be"===f)for(h=n.length-1,w=0;h>=0;h-=3)this.words[w]|=(D=n[h]|n[h-1]<<8|n[h-2]<<16)<<O&67108863,this.words[w+1]=D>>>26-O&67108863,(O+=24)>=26&&(O-=26,w++);else if("le"===f)for(h=0,w=0;h<n.length;h+=3)this.words[w]|=(D=n[h]|n[h+1]<<8|n[h+2]<<16)<<O&67108863,this.words[w+1]=D>>>26-O&67108863,(O+=24)>=26&&(O-=26,w++);return this.strip()},l.prototype._parseHex=function(n,s,f){this.length=Math.ceil((n.length-s)/6),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var O,w=0,D=0;if("be"===f)for(h=n.length-1;h>=s;h-=2)O=P(n,s,h)<<w,this.words[D]|=67108863&O,w>=18?(w-=18,this.words[D+=1]|=O>>>26):w+=8;else for(h=(n.length-s)%2==0?s+1:s;h<n.length;h+=2)O=P(n,s,h)<<w,this.words[D]|=67108863&O,w>=18?(w-=18,this.words[D+=1]|=O>>>26):w+=8;this.strip()},l.prototype._parseBase=function(n,s,f){this.words=[0],this.length=1;for(var h=0,w=1;w<=67108863;w*=s)h++;h--,w=w/s|0;for(var D=n.length-f,O=D%h,v=Math.min(D,D-O)+f,r=0,g=f;g<v;g+=h)r=d(n,g,g+h,s),this.imuln(w),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r);if(0!==O){var H=1;for(r=d(n,g,n.length,s),g=0;g<O;g++)H*=s;this.imuln(H),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r)}this.strip()},l.prototype.copy=function(n){n.words=new Array(this.length);for(var s=0;s<this.length;s++)n.words[s]=this.words[s];n.length=this.length,n.negative=this.negative,n.red=this.red},l.prototype.clone=function(){var n=new l(null);return this.copy(n),n},l.prototype._expand=function(n){for(;this.length<n;)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 E=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],M=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],I=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function V(S,n,s){s.negative=n.negative^S.negative;var f=S.length+n.length|0;s.length=f,f=f-1|0;var h=0|S.words[0],w=0|n.words[0],D=h*w,v=D/67108864|0;s.words[0]=67108863&D;for(var r=1;r<f;r++){for(var g=v>>>26,H=67108863&v,N=Math.min(r,n.length-1),ee=Math.max(0,r-S.length+1);ee<=N;ee++)g+=(D=(h=0|S.words[r-ee|0])*(w=0|n.words[ee])+H)/67108864|0,H=67108863&D;s.words[r]=0|H,v=0|g}return 0!==v?s.words[r]=0|v:s.length--,s.strip()}l.prototype.toString=function(n,s){var f;if(s=0|s||1,16===(n=n||10)||"hex"===n){f="";for(var h=0,w=0,D=0;D<this.length;D++){var O=this.words[D],v=(16777215&(O<<h|w)).toString(16);f=0!=(w=O>>>24-h&16777215)||D!==this.length-1?E[6-v.length]+v+f:v+f,(h+=2)>=26&&(h-=26,D--)}for(0!==w&&(f=w.toString(16)+f);f.length%s!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}if(n===(0|n)&&n>=2&&n<=36){var r=M[n],g=I[n];f="";var H=this.clone();for(H.negative=0;!H.isZero();){var N=H.modn(g).toString(n);f=(H=H.idivn(g)).isZero()?N+f:E[r-N.length]+N+f}for(this.isZero()&&(f="0"+f);f.length%s!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}y(!1,"Base should be between 2 and 36")},l.prototype.toNumber=function(){var n=this.words[0];return 2===this.length?n+=67108864*this.words[1]:3===this.length&&1===this.words[2]?n+=4503599627370496+67108864*this.words[1]:this.length>2&&y(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-n:n},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(n,s){return y(typeof x<"u"),this.toArrayLike(x,n,s)},l.prototype.toArray=function(n,s){return this.toArrayLike(Array,n,s)},l.prototype.toArrayLike=function(n,s,f){var h=this.byteLength(),w=f||Math.max(1,h);y(h<=w,"byte array longer than desired length"),y(w>0,"Requested array length <= 0"),this.strip();var v,r,D="le"===s,O=new n(w),g=this.clone();if(D){for(r=0;!g.isZero();r++)v=g.andln(255),g.iushrn(8),O[r]=v;for(;r<w;r++)O[r]=0}else{for(r=0;r<w-h;r++)O[r]=0;for(r=0;!g.isZero();r++)v=g.andln(255),g.iushrn(8),O[w-r-1]=v}return O},l.prototype._countBits=Math.clz32?function(n){return 32-Math.clz32(n)}:function(n){var s=n,f=0;return s>=4096&&(f+=13,s>>>=13),s>=64&&(f+=7,s>>>=7),s>=8&&(f+=4,s>>>=4),s>=2&&(f+=2,s>>>=2),f+s},l.prototype._zeroBits=function(n){if(0===n)return 26;var s=n,f=0;return 8191&s||(f+=13,s>>>=13),127&s||(f+=7,s>>>=7),15&s||(f+=4,s>>>=4),3&s||(f+=2,s>>>=2),1&s||f++,f},l.prototype.bitLength=function(){var s=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+s},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,s=0;s<this.length;s++){var f=this._zeroBits(this.words[s]);if(n+=f,26!==f)break}return n},l.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},l.prototype.toTwos=function(n){return 0!==this.negative?this.abs().inotn(n).iaddn(1):this.clone()},l.prototype.fromTwos=function(n){return this.testn(n-1)?this.notn(n).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(n){for(;this.length<n.length;)this.words[this.length++]=0;for(var s=0;s<n.length;s++)this.words[s]=this.words[s]|n.words[s];return this.strip()},l.prototype.ior=function(n){return y(0==(this.negative|n.negative)),this.iuor(n)},l.prototype.or=function(n){return this.length>n.length?this.clone().ior(n):n.clone().ior(this)},l.prototype.uor=function(n){return this.length>n.length?this.clone().iuor(n):n.clone().iuor(this)},l.prototype.iuand=function(n){var s;s=this.length>n.length?n:this;for(var f=0;f<s.length;f++)this.words[f]=this.words[f]&n.words[f];return this.length=s.length,this.strip()},l.prototype.iand=function(n){return y(0==(this.negative|n.negative)),this.iuand(n)},l.prototype.and=function(n){return this.length>n.length?this.clone().iand(n):n.clone().iand(this)},l.prototype.uand=function(n){return this.length>n.length?this.clone().iuand(n):n.clone().iuand(this)},l.prototype.iuxor=function(n){var s,f;this.length>n.length?(s=this,f=n):(s=n,f=this);for(var h=0;h<f.length;h++)this.words[h]=s.words[h]^f.words[h];if(this!==s)for(;h<s.length;h++)this.words[h]=s.words[h];return this.length=s.length,this.strip()},l.prototype.ixor=function(n){return y(0==(this.negative|n.negative)),this.iuxor(n)},l.prototype.xor=function(n){return this.length>n.length?this.clone().ixor(n):n.clone().ixor(this)},l.prototype.uxor=function(n){return this.length>n.length?this.clone().iuxor(n):n.clone().iuxor(this)},l.prototype.inotn=function(n){y("number"==typeof n&&n>=0);var s=0|Math.ceil(n/26),f=n%26;this._expand(s),f>0&&s--;for(var h=0;h<s;h++)this.words[h]=67108863&~this.words[h];return f>0&&(this.words[h]=~this.words[h]&67108863>>26-f),this.strip()},l.prototype.notn=function(n){return this.clone().inotn(n)},l.prototype.setn=function(n,s){y("number"==typeof n&&n>=0);var f=n/26|0,h=n%26;return this._expand(f+1),this.words[f]=s?this.words[f]|1<<h:this.words[f]&~(1<<h),this.strip()},l.prototype.iadd=function(n){var s,f,h;if(0!==this.negative&&0===n.negative)return this.negative=0,s=this.isub(n),this.negative^=1,this._normSign();if(0===this.negative&&0!==n.negative)return n.negative=0,s=this.isub(n),n.negative=1,s._normSign();this.length>n.length?(f=this,h=n):(f=n,h=this);for(var w=0,D=0;D<h.length;D++)this.words[D]=67108863&(s=(0|f.words[D])+(0|h.words[D])+w),w=s>>>26;for(;0!==w&&D<f.length;D++)this.words[D]=67108863&(s=(0|f.words[D])+w),w=s>>>26;if(this.length=f.length,0!==w)this.words[this.length]=w,this.length++;else if(f!==this)for(;D<f.length;D++)this.words[D]=f.words[D];return this},l.prototype.add=function(n){var s;return 0!==n.negative&&0===this.negative?(n.negative=0,s=this.sub(n),n.negative^=1,s):0===n.negative&&0!==this.negative?(this.negative=0,s=n.sub(this),this.negative=1,s):this.length>n.length?this.clone().iadd(n):n.clone().iadd(this)},l.prototype.isub=function(n){if(0!==n.negative){n.negative=0;var s=this.iadd(n);return n.negative=1,s._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var h,w,f=this.cmp(n);if(0===f)return this.negative=0,this.length=1,this.words[0]=0,this;f>0?(h=this,w=n):(h=n,w=this);for(var D=0,O=0;O<w.length;O++)D=(s=(0|h.words[O])-(0|w.words[O])+D)>>26,this.words[O]=67108863&s;for(;0!==D&&O<h.length;O++)D=(s=(0|h.words[O])+D)>>26,this.words[O]=67108863&s;if(0===D&&O<h.length&&h!==this)for(;O<h.length;O++)this.words[O]=h.words[O];return this.length=Math.max(this.length,O),h!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(n){return this.clone().isub(n)};var B=function(n,s,f){var v,r,g,h=n.words,w=s.words,D=f.words,O=0,H=0|h[0],N=8191&H,ee=H>>>13,De=0|h[1],ot=8191&De,je=De>>>13,Je=0|h[2],ye=8191&Je,me=Je>>>13,he=0|h[3],xe=8191&he,de=he>>>13,ge=0|h[4],qe=8191&ge,oe=ge>>>13,ve=0|h[5],le=8191&ve,Ge=ve>>>13,We=0|h[6],wt=8191&We,mt=We>>>13,kt=0|h[7],Ae=8191&kt,Be=kt>>>13,it=0|h[8],$e=8191&it,ke=it>>>13,st=0|h[9],Ke=8191&st,Et=st>>>13,ct=0|w[0],te=8191&ct,Pe=ct>>>13,$t=0|w[1],Ze=8191&$t,Qe=$t>>>13,zt=0|w[2],xt=8191&zt,Ot=zt>>>13,yt=0|w[3],nt=8191&yt,Ee=yt>>>13,tt=0|w[4],Ue=8191&tt,Xe=tt>>>13,gt=0|w[5],Le=8191&gt,be=gt>>>13,J=0|w[6],re=8191&J,Ie=J>>>13,Nt=0|w[7],At=8191&Nt,Zt=Nt>>>13,mi=0|w[8],Jt=8191&mi,Xt=mi>>>13,Hi=0|w[9],li=8191&Hi,hi=Hi>>>13;f.negative=n.negative^s.negative,f.length=19;var un=(O+(v=Math.imul(N,te))|0)+((8191&(r=(r=Math.imul(N,Pe))+Math.imul(ee,te)|0))<<13)|0;O=((g=Math.imul(ee,Pe))+(r>>>13)|0)+(un>>>26)|0,un&=67108863,v=Math.imul(ot,te),r=(r=Math.imul(ot,Pe))+Math.imul(je,te)|0,g=Math.imul(je,Pe);var Qi=(O+(v=v+Math.imul(N,Ze)|0)|0)+((8191&(r=(r=r+Math.imul(N,Qe)|0)+Math.imul(ee,Ze)|0))<<13)|0;O=((g=g+Math.imul(ee,Qe)|0)+(r>>>13)|0)+(Qi>>>26)|0,Qi&=67108863,v=Math.imul(ye,te),r=(r=Math.imul(ye,Pe))+Math.imul(me,te)|0,g=Math.imul(me,Pe),v=v+Math.imul(ot,Ze)|0,r=(r=r+Math.imul(ot,Qe)|0)+Math.imul(je,Ze)|0,g=g+Math.imul(je,Qe)|0;var xi=(O+(v=v+Math.imul(N,xt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ot)|0)+Math.imul(ee,xt)|0))<<13)|0;O=((g=g+Math.imul(ee,Ot)|0)+(r>>>13)|0)+(xi>>>26)|0,xi&=67108863,v=Math.imul(xe,te),r=(r=Math.imul(xe,Pe))+Math.imul(de,te)|0,g=Math.imul(de,Pe),v=v+Math.imul(ye,Ze)|0,r=(r=r+Math.imul(ye,Qe)|0)+Math.imul(me,Ze)|0,g=g+Math.imul(me,Qe)|0,v=v+Math.imul(ot,xt)|0,r=(r=r+Math.imul(ot,Ot)|0)+Math.imul(je,xt)|0,g=g+Math.imul(je,Ot)|0;var sn=(O+(v=v+Math.imul(N,nt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ee)|0)+Math.imul(ee,nt)|0))<<13)|0;O=((g=g+Math.imul(ee,Ee)|0)+(r>>>13)|0)+(sn>>>26)|0,sn&=67108863,v=Math.imul(qe,te),r=(r=Math.imul(qe,Pe))+Math.imul(oe,te)|0,g=Math.imul(oe,Pe),v=v+Math.imul(xe,Ze)|0,r=(r=r+Math.imul(xe,Qe)|0)+Math.imul(de,Ze)|0,g=g+Math.imul(de,Qe)|0,v=v+Math.imul(ye,xt)|0,r=(r=r+Math.imul(ye,Ot)|0)+Math.imul(me,xt)|0,g=g+Math.imul(me,Ot)|0,v=v+Math.imul(ot,nt)|0,r=(r=r+Math.imul(ot,Ee)|0)+Math.imul(je,nt)|0,g=g+Math.imul(je,Ee)|0;var at=(O+(v=v+Math.imul(N,Ue)|0)|0)+((8191&(r=(r=r+Math.imul(N,Xe)|0)+Math.imul(ee,Ue)|0))<<13)|0;O=((g=g+Math.imul(ee,Xe)|0)+(r>>>13)|0)+(at>>>26)|0,at&=67108863,v=Math.imul(le,te),r=(r=Math.imul(le,Pe))+Math.imul(Ge,te)|0,g=Math.imul(Ge,Pe),v=v+Math.imul(qe,Ze)|0,r=(r=r+Math.imul(qe,Qe)|0)+Math.imul(oe,Ze)|0,g=g+Math.imul(oe,Qe)|0,v=v+Math.imul(xe,xt)|0,r=(r=r+Math.imul(xe,Ot)|0)+Math.imul(de,xt)|0,g=g+Math.imul(de,Ot)|0,v=v+Math.imul(ye,nt)|0,r=(r=r+Math.imul(ye,Ee)|0)+Math.imul(me,nt)|0,g=g+Math.imul(me,Ee)|0,v=v+Math.imul(ot,Ue)|0,r=(r=r+Math.imul(ot,Xe)|0)+Math.imul(je,Ue)|0,g=g+Math.imul(je,Xe)|0;var oi=(O+(v=v+Math.imul(N,Le)|0)|0)+((8191&(r=(r=r+Math.imul(N,be)|0)+Math.imul(ee,Le)|0))<<13)|0;O=((g=g+Math.imul(ee,be)|0)+(r>>>13)|0)+(oi>>>26)|0,oi&=67108863,v=Math.imul(wt,te),r=(r=Math.imul(wt,Pe))+Math.imul(mt,te)|0,g=Math.imul(mt,Pe),v=v+Math.imul(le,Ze)|0,r=(r=r+Math.imul(le,Qe)|0)+Math.imul(Ge,Ze)|0,g=g+Math.imul(Ge,Qe)|0,v=v+Math.imul(qe,xt)|0,r=(r=r+Math.imul(qe,Ot)|0)+Math.imul(oe,xt)|0,g=g+Math.imul(oe,Ot)|0,v=v+Math.imul(xe,nt)|0,r=(r=r+Math.imul(xe,Ee)|0)+Math.imul(de,nt)|0,g=g+Math.imul(de,Ee)|0,v=v+Math.imul(ye,Ue)|0,r=(r=r+Math.imul(ye,Xe)|0)+Math.imul(me,Ue)|0,g=g+Math.imul(me,Xe)|0,v=v+Math.imul(ot,Le)|0,r=(r=r+Math.imul(ot,be)|0)+Math.imul(je,Le)|0,g=g+Math.imul(je,be)|0;var Ce=(O+(v=v+Math.imul(N,re)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ie)|0)+Math.imul(ee,re)|0))<<13)|0;O=((g=g+Math.imul(ee,Ie)|0)+(r>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,v=Math.imul(Ae,te),r=(r=Math.imul(Ae,Pe))+Math.imul(Be,te)|0,g=Math.imul(Be,Pe),v=v+Math.imul(wt,Ze)|0,r=(r=r+Math.imul(wt,Qe)|0)+Math.imul(mt,Ze)|0,g=g+Math.imul(mt,Qe)|0,v=v+Math.imul(le,xt)|0,r=(r=r+Math.imul(le,Ot)|0)+Math.imul(Ge,xt)|0,g=g+Math.imul(Ge,Ot)|0,v=v+Math.imul(qe,nt)|0,r=(r=r+Math.imul(qe,Ee)|0)+Math.imul(oe,nt)|0,g=g+Math.imul(oe,Ee)|0,v=v+Math.imul(xe,Ue)|0,r=(r=r+Math.imul(xe,Xe)|0)+Math.imul(de,Ue)|0,g=g+Math.imul(de,Xe)|0,v=v+Math.imul(ye,Le)|0,r=(r=r+Math.imul(ye,be)|0)+Math.imul(me,Le)|0,g=g+Math.imul(me,be)|0,v=v+Math.imul(ot,re)|0,r=(r=r+Math.imul(ot,Ie)|0)+Math.imul(je,re)|0,g=g+Math.imul(je,Ie)|0;var St=(O+(v=v+Math.imul(N,At)|0)|0)+((8191&(r=(r=r+Math.imul(N,Zt)|0)+Math.imul(ee,At)|0))<<13)|0;O=((g=g+Math.imul(ee,Zt)|0)+(r>>>13)|0)+(St>>>26)|0,St&=67108863,v=Math.imul($e,te),r=(r=Math.imul($e,Pe))+Math.imul(ke,te)|0,g=Math.imul(ke,Pe),v=v+Math.imul(Ae,Ze)|0,r=(r=r+Math.imul(Ae,Qe)|0)+Math.imul(Be,Ze)|0,g=g+Math.imul(Be,Qe)|0,v=v+Math.imul(wt,xt)|0,r=(r=r+Math.imul(wt,Ot)|0)+Math.imul(mt,xt)|0,g=g+Math.imul(mt,Ot)|0,v=v+Math.imul(le,nt)|0,r=(r=r+Math.imul(le,Ee)|0)+Math.imul(Ge,nt)|0,g=g+Math.imul(Ge,Ee)|0,v=v+Math.imul(qe,Ue)|0,r=(r=r+Math.imul(qe,Xe)|0)+Math.imul(oe,Ue)|0,g=g+Math.imul(oe,Xe)|0,v=v+Math.imul(xe,Le)|0,r=(r=r+Math.imul(xe,be)|0)+Math.imul(de,Le)|0,g=g+Math.imul(de,be)|0,v=v+Math.imul(ye,re)|0,r=(r=r+Math.imul(ye,Ie)|0)+Math.imul(me,re)|0,g=g+Math.imul(me,Ie)|0,v=v+Math.imul(ot,At)|0,r=(r=r+Math.imul(ot,Zt)|0)+Math.imul(je,At)|0,g=g+Math.imul(je,Zt)|0;var Ft=(O+(v=v+Math.imul(N,Jt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Xt)|0)+Math.imul(ee,Jt)|0))<<13)|0;O=((g=g+Math.imul(ee,Xt)|0)+(r>>>13)|0)+(Ft>>>26)|0,Ft&=67108863,v=Math.imul(Ke,te),r=(r=Math.imul(Ke,Pe))+Math.imul(Et,te)|0,g=Math.imul(Et,Pe),v=v+Math.imul($e,Ze)|0,r=(r=r+Math.imul($e,Qe)|0)+Math.imul(ke,Ze)|0,g=g+Math.imul(ke,Qe)|0,v=v+Math.imul(Ae,xt)|0,r=(r=r+Math.imul(Ae,Ot)|0)+Math.imul(Be,xt)|0,g=g+Math.imul(Be,Ot)|0,v=v+Math.imul(wt,nt)|0,r=(r=r+Math.imul(wt,Ee)|0)+Math.imul(mt,nt)|0,g=g+Math.imul(mt,Ee)|0,v=v+Math.imul(le,Ue)|0,r=(r=r+Math.imul(le,Xe)|0)+Math.imul(Ge,Ue)|0,g=g+Math.imul(Ge,Xe)|0,v=v+Math.imul(qe,Le)|0,r=(r=r+Math.imul(qe,be)|0)+Math.imul(oe,Le)|0,g=g+Math.imul(oe,be)|0,v=v+Math.imul(xe,re)|0,r=(r=r+Math.imul(xe,Ie)|0)+Math.imul(de,re)|0,g=g+Math.imul(de,Ie)|0,v=v+Math.imul(ye,At)|0,r=(r=r+Math.imul(ye,Zt)|0)+Math.imul(me,At)|0,g=g+Math.imul(me,Zt)|0,v=v+Math.imul(ot,Jt)|0,r=(r=r+Math.imul(ot,Xt)|0)+Math.imul(je,Jt)|0,g=g+Math.imul(je,Xt)|0;var Dt=(O+(v=v+Math.imul(N,li)|0)|0)+((8191&(r=(r=r+Math.imul(N,hi)|0)+Math.imul(ee,li)|0))<<13)|0;O=((g=g+Math.imul(ee,hi)|0)+(r>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,v=Math.imul(Ke,Ze),r=(r=Math.imul(Ke,Qe))+Math.imul(Et,Ze)|0,g=Math.imul(Et,Qe),v=v+Math.imul($e,xt)|0,r=(r=r+Math.imul($e,Ot)|0)+Math.imul(ke,xt)|0,g=g+Math.imul(ke,Ot)|0,v=v+Math.imul(Ae,nt)|0,r=(r=r+Math.imul(Ae,Ee)|0)+Math.imul(Be,nt)|0,g=g+Math.imul(Be,Ee)|0,v=v+Math.imul(wt,Ue)|0,r=(r=r+Math.imul(wt,Xe)|0)+Math.imul(mt,Ue)|0,g=g+Math.imul(mt,Xe)|0,v=v+Math.imul(le,Le)|0,r=(r=r+Math.imul(le,be)|0)+Math.imul(Ge,Le)|0,g=g+Math.imul(Ge,be)|0,v=v+Math.imul(qe,re)|0,r=(r=r+Math.imul(qe,Ie)|0)+Math.imul(oe,re)|0,g=g+Math.imul(oe,Ie)|0,v=v+Math.imul(xe,At)|0,r=(r=r+Math.imul(xe,Zt)|0)+Math.imul(de,At)|0,g=g+Math.imul(de,Zt)|0,v=v+Math.imul(ye,Jt)|0,r=(r=r+Math.imul(ye,Xt)|0)+Math.imul(me,Jt)|0,g=g+Math.imul(me,Xt)|0;var It=(O+(v=v+Math.imul(ot,li)|0)|0)+((8191&(r=(r=r+Math.imul(ot,hi)|0)+Math.imul(je,li)|0))<<13)|0;O=((g=g+Math.imul(je,hi)|0)+(r>>>13)|0)+(It>>>26)|0,It&=67108863,v=Math.imul(Ke,xt),r=(r=Math.imul(Ke,Ot))+Math.imul(Et,xt)|0,g=Math.imul(Et,Ot),v=v+Math.imul($e,nt)|0,r=(r=r+Math.imul($e,Ee)|0)+Math.imul(ke,nt)|0,g=g+Math.imul(ke,Ee)|0,v=v+Math.imul(Ae,Ue)|0,r=(r=r+Math.imul(Ae,Xe)|0)+Math.imul(Be,Ue)|0,g=g+Math.imul(Be,Xe)|0,v=v+Math.imul(wt,Le)|0,r=(r=r+Math.imul(wt,be)|0)+Math.imul(mt,Le)|0,g=g+Math.imul(mt,be)|0,v=v+Math.imul(le,re)|0,r=(r=r+Math.imul(le,Ie)|0)+Math.imul(Ge,re)|0,g=g+Math.imul(Ge,Ie)|0,v=v+Math.imul(qe,At)|0,r=(r=r+Math.imul(qe,Zt)|0)+Math.imul(oe,At)|0,g=g+Math.imul(oe,Zt)|0,v=v+Math.imul(xe,Jt)|0,r=(r=r+Math.imul(xe,Xt)|0)+Math.imul(de,Jt)|0,g=g+Math.imul(de,Xt)|0;var Ut=(O+(v=v+Math.imul(ye,li)|0)|0)+((8191&(r=(r=r+Math.imul(ye,hi)|0)+Math.imul(me,li)|0))<<13)|0;O=((g=g+Math.imul(me,hi)|0)+(r>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,v=Math.imul(Ke,nt),r=(r=Math.imul(Ke,Ee))+Math.imul(Et,nt)|0,g=Math.imul(Et,Ee),v=v+Math.imul($e,Ue)|0,r=(r=r+Math.imul($e,Xe)|0)+Math.imul(ke,Ue)|0,g=g+Math.imul(ke,Xe)|0,v=v+Math.imul(Ae,Le)|0,r=(r=r+Math.imul(Ae,be)|0)+Math.imul(Be,Le)|0,g=g+Math.imul(Be,be)|0,v=v+Math.imul(wt,re)|0,r=(r=r+Math.imul(wt,Ie)|0)+Math.imul(mt,re)|0,g=g+Math.imul(mt,Ie)|0,v=v+Math.imul(le,At)|0,r=(r=r+Math.imul(le,Zt)|0)+Math.imul(Ge,At)|0,g=g+Math.imul(Ge,Zt)|0,v=v+Math.imul(qe,Jt)|0,r=(r=r+Math.imul(qe,Xt)|0)+Math.imul(oe,Jt)|0,g=g+Math.imul(oe,Xt)|0;var ai=(O+(v=v+Math.imul(xe,li)|0)|0)+((8191&(r=(r=r+Math.imul(xe,hi)|0)+Math.imul(de,li)|0))<<13)|0;O=((g=g+Math.imul(de,hi)|0)+(r>>>13)|0)+(ai>>>26)|0,ai&=67108863,v=Math.imul(Ke,Ue),r=(r=Math.imul(Ke,Xe))+Math.imul(Et,Ue)|0,g=Math.imul(Et,Xe),v=v+Math.imul($e,Le)|0,r=(r=r+Math.imul($e,be)|0)+Math.imul(ke,Le)|0,g=g+Math.imul(ke,be)|0,v=v+Math.imul(Ae,re)|0,r=(r=r+Math.imul(Ae,Ie)|0)+Math.imul(Be,re)|0,g=g+Math.imul(Be,Ie)|0,v=v+Math.imul(wt,At)|0,r=(r=r+Math.imul(wt,Zt)|0)+Math.imul(mt,At)|0,g=g+Math.imul(mt,Zt)|0,v=v+Math.imul(le,Jt)|0,r=(r=r+Math.imul(le,Xt)|0)+Math.imul(Ge,Jt)|0,g=g+Math.imul(Ge,Xt)|0;var _i=(O+(v=v+Math.imul(qe,li)|0)|0)+((8191&(r=(r=r+Math.imul(qe,hi)|0)+Math.imul(oe,li)|0))<<13)|0;O=((g=g+Math.imul(oe,hi)|0)+(r>>>13)|0)+(_i>>>26)|0,_i&=67108863,v=Math.imul(Ke,Le),r=(r=Math.imul(Ke,be))+Math.imul(Et,Le)|0,g=Math.imul(Et,be),v=v+Math.imul($e,re)|0,r=(r=r+Math.imul($e,Ie)|0)+Math.imul(ke,re)|0,g=g+Math.imul(ke,Ie)|0,v=v+Math.imul(Ae,At)|0,r=(r=r+Math.imul(Ae,Zt)|0)+Math.imul(Be,At)|0,g=g+Math.imul(Be,Zt)|0,v=v+Math.imul(wt,Jt)|0,r=(r=r+Math.imul(wt,Xt)|0)+Math.imul(mt,Jt)|0,g=g+Math.imul(mt,Xt)|0;var bi=(O+(v=v+Math.imul(le,li)|0)|0)+((8191&(r=(r=r+Math.imul(le,hi)|0)+Math.imul(Ge,li)|0))<<13)|0;O=((g=g+Math.imul(Ge,hi)|0)+(r>>>13)|0)+(bi>>>26)|0,bi&=67108863,v=Math.imul(Ke,re),r=(r=Math.imul(Ke,Ie))+Math.imul(Et,re)|0,g=Math.imul(Et,Ie),v=v+Math.imul($e,At)|0,r=(r=r+Math.imul($e,Zt)|0)+Math.imul(ke,At)|0,g=g+Math.imul(ke,Zt)|0,v=v+Math.imul(Ae,Jt)|0,r=(r=r+Math.imul(Ae,Xt)|0)+Math.imul(Be,Jt)|0,g=g+Math.imul(Be,Xt)|0;var Oi=(O+(v=v+Math.imul(wt,li)|0)|0)+((8191&(r=(r=r+Math.imul(wt,hi)|0)+Math.imul(mt,li)|0))<<13)|0;O=((g=g+Math.imul(mt,hi)|0)+(r>>>13)|0)+(Oi>>>26)|0,Oi&=67108863,v=Math.imul(Ke,At),r=(r=Math.imul(Ke,Zt))+Math.imul(Et,At)|0,g=Math.imul(Et,Zt),v=v+Math.imul($e,Jt)|0,r=(r=r+Math.imul($e,Xt)|0)+Math.imul(ke,Jt)|0,g=g+Math.imul(ke,Xt)|0;var Bi=(O+(v=v+Math.imul(Ae,li)|0)|0)+((8191&(r=(r=r+Math.imul(Ae,hi)|0)+Math.imul(Be,li)|0))<<13)|0;O=((g=g+Math.imul(Be,hi)|0)+(r>>>13)|0)+(Bi>>>26)|0,Bi&=67108863,v=Math.imul(Ke,Jt),r=(r=Math.imul(Ke,Xt))+Math.imul(Et,Jt)|0,g=Math.imul(Et,Xt);var Vi=(O+(v=v+Math.imul($e,li)|0)|0)+((8191&(r=(r=r+Math.imul($e,hi)|0)+Math.imul(ke,li)|0))<<13)|0;O=((g=g+Math.imul(ke,hi)|0)+(r>>>13)|0)+(Vi>>>26)|0,Vi&=67108863;var Kt=(O+(v=Math.imul(Ke,li))|0)+((8191&(r=(r=Math.imul(Ke,hi))+Math.imul(Et,li)|0))<<13)|0;return O=((g=Math.imul(Et,hi))+(r>>>13)|0)+(Kt>>>26)|0,Kt&=67108863,D[0]=un,D[1]=Qi,D[2]=xi,D[3]=sn,D[4]=at,D[5]=oi,D[6]=Ce,D[7]=St,D[8]=Ft,D[9]=Dt,D[10]=It,D[11]=Ut,D[12]=ai,D[13]=_i,D[14]=bi,D[15]=Oi,D[16]=Bi,D[17]=Vi,D[18]=Kt,0!==O&&(D[19]=O,f.length++),f};function j(S,n,s){return(new K).mulp(S,n,s)}function K(S,n){this.x=S,this.y=n}Math.imul||(B=V),l.prototype.mulTo=function(n,s){var f,h=this.length+n.length;return f=10===this.length&&10===n.length?B(this,n,s):h<63?V(this,n,s):h<1024?function W(S,n,s){s.negative=n.negative^S.negative,s.length=S.length+n.length;for(var f=0,h=0,w=0;w<s.length-1;w++){var D=h;h=0;for(var O=67108863&f,v=Math.min(w,n.length-1),r=Math.max(0,w-S.length+1);r<=v;r++){var ee=(0|S.words[w-r])*(0|n.words[r]),De=67108863&ee;O=67108863&(De=De+O|0),h+=(D=(D=D+(ee/67108864|0)|0)+(De>>>26)|0)>>>26,D&=67108863}s.words[w]=O,f=D,D=h}return 0!==f?s.words[w]=f:s.length--,s.strip()}(this,n,s):j(this,n,s),f},K.prototype.makeRBT=function(n){for(var s=new Array(n),f=l.prototype._countBits(n)-1,h=0;h<n;h++)s[h]=this.revBin(h,f,n);return s},K.prototype.revBin=function(n,s,f){if(0===n||n===f-1)return n;for(var h=0,w=0;w<s;w++)h|=(1&n)<<s-w-1,n>>=1;return h},K.prototype.permute=function(n,s,f,h,w,D){for(var O=0;O<D;O++)h[O]=s[n[O]],w[O]=f[n[O]]},K.prototype.transform=function(n,s,f,h,w,D){this.permute(D,n,s,f,h,w);for(var O=1;O<w;O<<=1)for(var v=O<<1,r=Math.cos(2*Math.PI/v),g=Math.sin(2*Math.PI/v),H=0;H<w;H+=v)for(var N=r,ee=g,De=0;De<O;De++){var ot=f[H+De],je=h[H+De],Je=f[H+De+O],ye=h[H+De+O],me=N*Je-ee*ye;ye=N*ye+ee*Je,f[H+De]=ot+(Je=me),h[H+De]=je+ye,f[H+De+O]=ot-Je,h[H+De+O]=je-ye,De!==v&&(me=r*N-g*ee,ee=r*ee+g*N,N=me)}},K.prototype.guessLen13b=function(n,s){var f=1|Math.max(s,n),h=1&f,w=0;for(f=f/2|0;f;f>>>=1)w++;return 1<<w+1+h},K.prototype.conjugate=function(n,s,f){if(!(f<=1))for(var h=0;h<f/2;h++){var w=n[h];n[h]=n[f-h-1],n[f-h-1]=w,w=s[h],s[h]=-s[f-h-1],s[f-h-1]=-w}},K.prototype.normalize13b=function(n,s){for(var f=0,h=0;h<s/2;h++){var w=8192*Math.round(n[2*h+1]/s)+Math.round(n[2*h]/s)+f;n[h]=67108863&w,f=w<67108864?0:w/67108864|0}return n},K.prototype.convert13b=function(n,s,f,h){for(var w=0,D=0;D<s;D++)f[2*D]=8191&(w+=0|n[D]),f[2*D+1]=8191&(w>>>=13),w>>>=13;for(D=2*s;D<h;++D)f[D]=0;y(0===w),y(0==(-8192&w))},K.prototype.stub=function(n){for(var s=new Array(n),f=0;f<n;f++)s[f]=0;return s},K.prototype.mulp=function(n,s,f){var h=2*this.guessLen13b(n.length,s.length),w=this.makeRBT(h),D=this.stub(h),O=new Array(h),v=new Array(h),r=new Array(h),g=new Array(h),H=new Array(h),N=new Array(h),ee=f.words;ee.length=h,this.convert13b(n.words,n.length,O,h),this.convert13b(s.words,s.length,g,h),this.transform(O,D,v,r,h,w),this.transform(g,D,H,N,h,w);for(var De=0;De<h;De++){var ot=v[De]*H[De]-r[De]*N[De];r[De]=v[De]*N[De]+r[De]*H[De],v[De]=ot}return this.conjugate(v,r,h),this.transform(v,r,ee,D,h,w),this.conjugate(ee,D,h),this.normalize13b(ee,h),f.negative=n.negative^s.negative,f.length=n.length+s.length,f.strip()},l.prototype.mul=function(n){var s=new l(null);return s.words=new Array(this.length+n.length),this.mulTo(n,s)},l.prototype.mulf=function(n){var s=new l(null);return s.words=new Array(this.length+n.length),j(this,n,s)},l.prototype.imul=function(n){return this.clone().mulTo(n,this)},l.prototype.imuln=function(n){y("number"==typeof n),y(n<67108864);for(var s=0,f=0;f<this.length;f++){var h=(0|this.words[f])*n,w=(67108863&h)+(67108863&s);s>>=26,s+=h/67108864|0,s+=w>>>26,this.words[f]=67108863&w}return 0!==s&&(this.words[f]=s,this.length++),this},l.prototype.muln=function(n){return this.clone().imuln(n)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(n){var s=function k(S){for(var n=new Array(S.bitLength()),s=0;s<n.length;s++){var h=s%26;n[s]=(S.words[s/26|0]&1<<h)>>>h}return n}(n);if(0===s.length)return new l(1);for(var f=this,h=0;h<s.length&&0===s[h];h++,f=f.sqr());if(++h<s.length)for(var w=f.sqr();h<s.length;h++,w=w.sqr())0!==s[h]&&(f=f.mul(w));return f},l.prototype.iushln=function(n){y("number"==typeof n&&n>=0);var w,s=n%26,f=(n-s)/26,h=67108863>>>26-s<<26-s;if(0!==s){var D=0;for(w=0;w<this.length;w++){var O=this.words[w]&h;this.words[w]=(0|this.words[w])-O<<s|D,D=O>>>26-s}D&&(this.words[w]=D,this.length++)}if(0!==f){for(w=this.length-1;w>=0;w--)this.words[w+f]=this.words[w];for(w=0;w<f;w++)this.words[w]=0;this.length+=f}return this.strip()},l.prototype.ishln=function(n){return y(0===this.negative),this.iushln(n)},l.prototype.iushrn=function(n,s,f){var h;y("number"==typeof n&&n>=0),h=s?(s-s%26)/26:0;var w=n%26,D=Math.min((n-w)/26,this.length),O=67108863^67108863>>>w<<w,v=f;if(h-=D,h=Math.max(0,h),v){for(var r=0;r<D;r++)v.words[r]=this.words[r];v.length=D}if(0!==D)if(this.length>D)for(this.length-=D,r=0;r<this.length;r++)this.words[r]=this.words[r+D];else this.words[0]=0,this.length=1;var g=0;for(r=this.length-1;r>=0&&(0!==g||r>=h);r--){var H=0|this.words[r];this.words[r]=g<<26-w|H>>>w,g=H&O}return v&&0!==g&&(v.words[v.length++]=g),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(n,s,f){return y(0===this.negative),this.iushrn(n,s,f)},l.prototype.shln=function(n){return this.clone().ishln(n)},l.prototype.ushln=function(n){return this.clone().iushln(n)},l.prototype.shrn=function(n){return this.clone().ishrn(n)},l.prototype.ushrn=function(n){return this.clone().iushrn(n)},l.prototype.testn=function(n){y("number"==typeof n&&n>=0);var s=n%26,f=(n-s)/26;return!(this.length<=f||!(this.words[f]&1<<s))},l.prototype.imaskn=function(n){y("number"==typeof n&&n>=0);var s=n%26,f=(n-s)/26;return y(0===this.negative,"imaskn works only with positive numbers"),this.length<=f?this:(0!==s&&f++,this.length=Math.min(f,this.length),0!==s&&(this.words[this.length-1]&=67108863^67108863>>>s<<s),this.strip())},l.prototype.maskn=function(n){return this.clone().imaskn(n)},l.prototype.iaddn=function(n){return y("number"==typeof n),y(n<67108864),n<0?this.isubn(-n):0!==this.negative?1===this.length&&(0|this.words[0])<n?(this.words[0]=n-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(n),this.negative=1,this):this._iaddn(n)},l.prototype._iaddn=function(n){this.words[0]+=n;for(var s=0;s<this.length&&this.words[s]>=67108864;s++)this.words[s]-=67108864,s===this.length-1?this.words[s+1]=1:this.words[s+1]++;return this.length=Math.max(this.length,s+1),this},l.prototype.isubn=function(n){if(y("number"==typeof n),y(n<67108864),n<0)return this.iaddn(-n);if(0!==this.negative)return this.negative=0,this.iaddn(n),this.negative=1,this;if(this.words[0]-=n,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var s=0;s<this.length&&this.words[s]<0;s++)this.words[s]+=67108864,this.words[s+1]-=1;return this.strip()},l.prototype.addn=function(n){return this.clone().iaddn(n)},l.prototype.subn=function(n){return this.clone().isubn(n)},l.prototype.iabs=function(){return this.negative=0,this},l.prototype.abs=function(){return this.clone().iabs()},l.prototype._ishlnsubmul=function(n,s,f){var w;this._expand(n.length+f);var D,O=0;for(w=0;w<n.length;w++){D=(0|this.words[w+f])+O;var v=(0|n.words[w])*s;O=((D-=67108863&v)>>26)-(v/67108864|0),this.words[w+f]=67108863&D}for(;w<this.length-f;w++)O=(D=(0|this.words[w+f])+O)>>26,this.words[w+f]=67108863&D;if(0===O)return this.strip();for(y(-1===O),O=0,w=0;w<this.length;w++)O=(D=-(0|this.words[w])+O)>>26,this.words[w]=67108863&D;return this.negative=1,this.strip()},l.prototype._wordDiv=function(n,s){var f,h=this.clone(),w=n,D=0|w.words[w.length-1];0!=(f=26-this._countBits(D))&&(w=w.ushln(f),h.iushln(f),D=0|w.words[w.length-1]);var r,v=h.length-w.length;if("mod"!==s){(r=new l(null)).length=v+1,r.words=new Array(r.length);for(var g=0;g<r.length;g++)r.words[g]=0}var H=h.clone()._ishlnsubmul(w,1,v);0===H.negative&&(h=H,r&&(r.words[v]=1));for(var N=v-1;N>=0;N--){var ee=67108864*(0|h.words[w.length+N])+(0|h.words[w.length+N-1]);for(ee=Math.min(ee/D|0,67108863),h._ishlnsubmul(w,ee,N);0!==h.negative;)ee--,h.negative=0,h._ishlnsubmul(w,1,N),h.isZero()||(h.negative^=1);r&&(r.words[N]=ee)}return r&&r.strip(),h.strip(),"div"!==s&&0!==f&&h.iushrn(f),{div:r||null,mod:h}},l.prototype.divmod=function(n,s,f){return y(!n.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===n.negative?(D=this.neg().divmod(n,s),"mod"!==s&&(h=D.div.neg()),"div"!==s&&(w=D.mod.neg(),f&&0!==w.negative&&w.iadd(n)),{div:h,mod:w}):0===this.negative&&0!==n.negative?(D=this.divmod(n.neg(),s),"mod"!==s&&(h=D.div.neg()),{div:h,mod:D.mod}):this.negative&n.negative?(D=this.neg().divmod(n.neg(),s),"div"!==s&&(w=D.mod.neg(),f&&0!==w.negative&&w.isub(n)),{div:D.div,mod:w}):n.length>this.length||this.cmp(n)<0?{div:new l(0),mod:this}:1===n.length?"div"===s?{div:this.divn(n.words[0]),mod:null}:"mod"===s?{div:null,mod:new l(this.modn(n.words[0]))}:{div:this.divn(n.words[0]),mod:new l(this.modn(n.words[0]))}:this._wordDiv(n,s);var h,w,D},l.prototype.div=function(n){return this.divmod(n,"div",!1).div},l.prototype.mod=function(n){return this.divmod(n,"mod",!1).mod},l.prototype.umod=function(n){return this.divmod(n,"mod",!0).mod},l.prototype.divRound=function(n){var s=this.divmod(n);if(s.mod.isZero())return s.div;var f=0!==s.div.negative?s.mod.isub(n):s.mod,h=n.ushrn(1),w=n.andln(1),D=f.cmp(h);return D<0||1===w&&0===D?s.div:0!==s.div.negative?s.div.isubn(1):s.div.iaddn(1)},l.prototype.modn=function(n){y(n<=67108863);for(var s=(1<<26)%n,f=0,h=this.length-1;h>=0;h--)f=(s*f+(0|this.words[h]))%n;return f},l.prototype.idivn=function(n){y(n<=67108863);for(var s=0,f=this.length-1;f>=0;f--){var h=(0|this.words[f])+67108864*s;this.words[f]=h/n|0,s=h%n}return this.strip()},l.prototype.divn=function(n){return this.clone().idivn(n)},l.prototype.egcd=function(n){y(0===n.negative),y(!n.isZero());var s=this,f=n.clone();s=0!==s.negative?s.umod(n):s.clone();for(var h=new l(1),w=new l(0),D=new l(0),O=new l(1),v=0;s.isEven()&&f.isEven();)s.iushrn(1),f.iushrn(1),++v;for(var r=f.clone(),g=s.clone();!s.isZero();){for(var H=0,N=1;!(s.words[0]&N)&&H<26;++H,N<<=1);if(H>0)for(s.iushrn(H);H-- >0;)(h.isOdd()||w.isOdd())&&(h.iadd(r),w.isub(g)),h.iushrn(1),w.iushrn(1);for(var ee=0,De=1;!(f.words[0]&De)&&ee<26;++ee,De<<=1);if(ee>0)for(f.iushrn(ee);ee-- >0;)(D.isOdd()||O.isOdd())&&(D.iadd(r),O.isub(g)),D.iushrn(1),O.iushrn(1);s.cmp(f)>=0?(s.isub(f),h.isub(D),w.isub(O)):(f.isub(s),D.isub(h),O.isub(w))}return{a:D,b:O,gcd:f.iushln(v)}},l.prototype._invmp=function(n){y(0===n.negative),y(!n.isZero());var H,s=this,f=n.clone();s=0!==s.negative?s.umod(n):s.clone();for(var h=new l(1),w=new l(0),D=f.clone();s.cmpn(1)>0&&f.cmpn(1)>0;){for(var O=0,v=1;!(s.words[0]&v)&&O<26;++O,v<<=1);if(O>0)for(s.iushrn(O);O-- >0;)h.isOdd()&&h.iadd(D),h.iushrn(1);for(var r=0,g=1;!(f.words[0]&g)&&r<26;++r,g<<=1);if(r>0)for(f.iushrn(r);r-- >0;)w.isOdd()&&w.iadd(D),w.iushrn(1);s.cmp(f)>=0?(s.isub(f),h.isub(w)):(f.isub(s),w.isub(h))}return(H=0===s.cmpn(1)?h:w).cmpn(0)<0&&H.iadd(n),H},l.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var s=this.clone(),f=n.clone();s.negative=0,f.negative=0;for(var h=0;s.isEven()&&f.isEven();h++)s.iushrn(1),f.iushrn(1);for(;;){for(;s.isEven();)s.iushrn(1);for(;f.isEven();)f.iushrn(1);var w=s.cmp(f);if(w<0){var D=s;s=f,f=D}else if(0===w||0===f.cmpn(1))break;s.isub(f)}return f.iushln(h)},l.prototype.invm=function(n){return this.egcd(n).a.umod(n)},l.prototype.isEven=function(){return 0==(1&this.words[0])},l.prototype.isOdd=function(){return 1==(1&this.words[0])},l.prototype.andln=function(n){return this.words[0]&n},l.prototype.bincn=function(n){y("number"==typeof n);var s=n%26,f=(n-s)/26,h=1<<s;if(this.length<=f)return this._expand(f+1),this.words[f]|=h,this;for(var w=h,D=f;0!==w&&D<this.length;D++){var O=0|this.words[D];w=(O+=w)>>>26,this.words[D]=O&=67108863}return 0!==w&&(this.words[D]=w,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(n){var f,s=n<0;if(0!==this.negative&&!s)return-1;if(0===this.negative&&s)return 1;if(this.strip(),this.length>1)f=1;else{s&&(n=-n),y(n<=67108863,"Number is too big");var h=0|this.words[0];f=h===n?0:h<n?-1:1}return 0!==this.negative?0|-f:f},l.prototype.cmp=function(n){if(0!==this.negative&&0===n.negative)return-1;if(0===this.negative&&0!==n.negative)return 1;var s=this.ucmp(n);return 0!==this.negative?0|-s:s},l.prototype.ucmp=function(n){if(this.length>n.length)return 1;if(this.length<n.length)return-1;for(var s=0,f=this.length-1;f>=0;f--){var h=0|this.words[f],w=0|n.words[f];if(h!==w){h<w?s=-1:h>w&&(s=1);break}}return s},l.prototype.gtn=function(n){return 1===this.cmpn(n)},l.prototype.gt=function(n){return 1===this.cmp(n)},l.prototype.gten=function(n){return this.cmpn(n)>=0},l.prototype.gte=function(n){return this.cmp(n)>=0},l.prototype.ltn=function(n){return-1===this.cmpn(n)},l.prototype.lt=function(n){return-1===this.cmp(n)},l.prototype.lten=function(n){return this.cmpn(n)<=0},l.prototype.lte=function(n){return this.cmp(n)<=0},l.prototype.eqn=function(n){return 0===this.cmpn(n)},l.prototype.eq=function(n){return 0===this.cmp(n)},l.red=function(n){return new $(n)},l.prototype.toRed=function(n){return y(!this.red,"Already a number in reduction context"),y(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},l.prototype.fromRed=function(){return y(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(n){return this.red=n,this},l.prototype.forceRed=function(n){return y(!this.red,"Already a number in reduction context"),this._forceRed(n)},l.prototype.redAdd=function(n){return y(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},l.prototype.redIAdd=function(n){return y(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},l.prototype.redSub=function(n){return y(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},l.prototype.redISub=function(n){return y(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},l.prototype.redShl=function(n){return y(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},l.prototype.redMul=function(n){return y(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},l.prototype.redIMul=function(n){return y(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},l.prototype.redSqr=function(){return y(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return y(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return y(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return y(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return y(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(n){return y(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var X={k256:null,p224:null,p192:null,p25519:null};function ie(S,n){this.name=S,this.p=new l(n,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function ae(){ie.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function fe(){ie.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function se(){ie.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function Me(){ie.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function $(S){if("string"==typeof S){var n=l._prime(S);this.m=n.p,this.prime=n}else y(S.gtn(1),"modulus must be greater than 1"),this.m=S,this.prime=null}function ue(S){$.call(this,S),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}ie.prototype._tmp=function(){var n=new l(null);return n.words=new Array(Math.ceil(this.n/13)),n},ie.prototype.ireduce=function(n){var f,s=n;do{this.split(s,this.tmp),f=(s=(s=this.imulK(s)).iadd(this.tmp)).bitLength()}while(f>this.n);var h=f<this.n?-1:s.ucmp(this.p);return 0===h?(s.words[0]=0,s.length=1):h>0?s.isub(this.p):void 0!==s.strip?s.strip():s._strip(),s},ie.prototype.split=function(n,s){n.iushrn(this.n,0,s)},ie.prototype.imulK=function(n){return n.imul(this.k)},A(ae,ie),ae.prototype.split=function(n,s){for(var f=4194303,h=Math.min(n.length,9),w=0;w<h;w++)s.words[w]=n.words[w];if(s.length=h,n.length<=9)return n.words[0]=0,void(n.length=1);var D=n.words[9];for(s.words[s.length++]=D&f,w=10;w<n.length;w++){var O=0|n.words[w];n.words[w-10]=(O&f)<<4|D>>>22,D=O}n.words[w-10]=D>>>=22,n.length-=0===D&&n.length>10?10:9},ae.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var s=0,f=0;f<n.length;f++){var h=0|n.words[f];n.words[f]=67108863&(s+=977*h),s=64*h+(s/67108864|0)}return 0===n.words[n.length-1]&&(n.length--,0===n.words[n.length-1]&&n.length--),n},A(fe,ie),A(se,ie),A(Me,ie),Me.prototype.imulK=function(n){for(var s=0,f=0;f<n.length;f++){var h=19*(0|n.words[f])+s,w=67108863&h;h>>>=26,n.words[f]=w,s=h}return 0!==s&&(n.words[n.length++]=s),n},l._prime=function(n){if(X[n])return X[n];var s;if("k256"===n)s=new ae;else if("p224"===n)s=new fe;else if("p192"===n)s=new se;else{if("p25519"!==n)throw new Error("Unknown prime "+n);s=new Me}return X[n]=s,s},$.prototype._verify1=function(n){y(0===n.negative,"red works only with positives"),y(n.red,"red works only with red numbers")},$.prototype._verify2=function(n,s){y(0==(n.negative|s.negative),"red works only with positives"),y(n.red&&n.red===s.red,"red works only with red numbers")},$.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},$.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},$.prototype.add=function(n,s){this._verify2(n,s);var f=n.add(s);return f.cmp(this.m)>=0&&f.isub(this.m),f._forceRed(this)},$.prototype.iadd=function(n,s){this._verify2(n,s);var f=n.iadd(s);return f.cmp(this.m)>=0&&f.isub(this.m),f},$.prototype.sub=function(n,s){this._verify2(n,s);var f=n.sub(s);return f.cmpn(0)<0&&f.iadd(this.m),f._forceRed(this)},$.prototype.isub=function(n,s){this._verify2(n,s);var f=n.isub(s);return f.cmpn(0)<0&&f.iadd(this.m),f},$.prototype.shl=function(n,s){return this._verify1(n),this.imod(n.ushln(s))},$.prototype.imul=function(n,s){return this._verify2(n,s),this.imod(n.imul(s))},$.prototype.mul=function(n,s){return this._verify2(n,s),this.imod(n.mul(s))},$.prototype.isqr=function(n){return this.imul(n,n.clone())},$.prototype.sqr=function(n){return this.mul(n,n)},$.prototype.sqrt=function(n){if(n.isZero())return n.clone();var s=this.m.andln(3);if(y(s%2==1),3===s){var f=this.m.add(new l(1)).iushrn(2);return this.pow(n,f)}for(var h=this.m.subn(1),w=0;!h.isZero()&&0===h.andln(1);)w++,h.iushrn(1);y(!h.isZero());var D=new l(1).toRed(this),O=D.redNeg(),v=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new l(2*r*r).toRed(this);0!==this.pow(r,v).cmp(O);)r.redIAdd(O);for(var g=this.pow(r,h),H=this.pow(n,h.addn(1).iushrn(1)),N=this.pow(n,h),ee=w;0!==N.cmp(D);){for(var De=N,ot=0;0!==De.cmp(D);ot++)De=De.redSqr();y(ot<ee);var je=this.pow(g,new l(1).iushln(ee-ot-1));H=H.redMul(je),g=je.redSqr(),N=N.redMul(g),ee=ot}return H},$.prototype.invm=function(n){var s=n._invmp(this.m);return 0!==s.negative?(s.negative=0,this.imod(s).redNeg()):this.imod(s)},$.prototype.pow=function(n,s){if(s.isZero())return new l(1).toRed(this);if(0===s.cmpn(1))return n.clone();var h=new Array(16);h[0]=new l(1).toRed(this),h[1]=n;for(var w=2;w<h.length;w++)h[w]=this.mul(h[w-1],n);var D=h[0],O=0,v=0,r=s.bitLength()%26;for(0===r&&(r=26),w=s.length-1;w>=0;w--){for(var g=s.words[w],H=r-1;H>=0;H--){var N=g>>H&1;D!==h[0]&&(D=this.sqr(D)),0!==N||0!==O?(O<<=1,O|=N,(4==++v||0===w&&0===H)&&(D=this.mul(D,h[O]),v=0,O=0)):v=0}r=26}return D},$.prototype.convertTo=function(n){var s=n.umod(this.m);return s===n?s.clone():s},$.prototype.convertFrom=function(n){var s=n.clone();return s.red=null,s},l.mont=function(n){return new ue(n)},A(ue,$),ue.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},ue.prototype.convertFrom=function(n){var s=this.imod(n.mul(this.rinv));return s.red=null,s},ue.prototype.imul=function(n,s){if(n.isZero()||s.isZero())return n.words[0]=0,n.length=1,n;var f=n.imul(s),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),w=f.isub(h).iushrn(this.shift),D=w;return w.cmp(this.m)>=0?D=w.isub(this.m):w.cmpn(0)<0&&(D=w.iadd(this.m)),D._forceRed(this)},ue.prototype.mul=function(n,s){if(n.isZero()||s.isZero())return new l(0)._forceRed(this);var f=n.mul(s),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),w=f.isub(h).iushrn(this.shift),D=w;return w.cmp(this.m)>=0?D=w.isub(this.m):w.cmpn(0)<0&&(D=w.iadd(this.m)),D._forceRed(this)},ue.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(ze=p.nmd(ze),this)},5252:(ze,q,p)=>{var e=p(7983),t=p(6517),y=p(1817),A=p(8211),l=p(1946),x=p(6362),m=p(735),P=p(843).Buffer;ze.exports=function(k,V,B){var W;W=k.padding?k.padding:B?1:4;var X,j=e(k),K=j.modulus.byteLength();if(V.length>K||new A(V).cmp(j.modulus)>=0)throw new Error("decryption error");X=B?m(new A(V),j):l(V,j);var ie=P.alloc(K-X.length);if(X=P.concat([ie,X],K),4===W)return function d(I,k){var V=I.modulus.byteLength(),B=x("sha1").update(P.alloc(0)).digest(),W=B.length;if(0!==k[0])throw new Error("decryption error");var j=k.slice(1,W+1),K=k.slice(W+1),X=y(j,t(K,W)),ie=y(K,t(X,V-W-1));if(function M(I,k){I=P.from(I),k=P.from(k);var V=0,B=I.length;I.length!==k.length&&(V++,B=Math.min(I.length,k.length));for(var W=-1;++W<B;)V+=I[W]^k[W];return V}(B,ie.slice(0,W)))throw new Error("decryption error");for(var ae=W;0===ie[ae];)ae++;if(1!==ie[ae++])throw new Error("decryption error");return ie.slice(ae)}(j,X);if(1===W)return function E(I,k,V){for(var B=k.slice(0,2),W=2,j=0;0!==k[W++];)if(W>=k.length){j++;break}var K=k.slice(2,W-1);if(("0002"!==B.toString("hex")&&!V||"0001"!==B.toString("hex")&&V)&&j++,K.length<8&&j++,j)throw new Error("decryption error");return k.slice(W)}(0,X,B);if(3===W)return X;throw new Error("unknown padding")}},5737:(ze,q,p)=>{var e=p(7983),t=p(4019),y=p(6362),A=p(6517),l=p(1817),x=p(8211),m=p(735),P=p(1946),d=p(843).Buffer;ze.exports=function(V,B,W){var j;j=V.padding?V.padding:W?1:4;var X,K=e(V);if(4===j)X=function E(k,V){var B=k.modulus.byteLength(),W=V.length,j=y("sha1").update(d.alloc(0)).digest(),K=j.length,X=2*K;if(W>B-X-2)throw new Error("message too long");var ie=d.alloc(B-W-X-2),ae=B-K-1,fe=t(K),se=l(d.concat([j,ie,d.alloc(1,1),V],ae),A(fe,ae)),Me=l(fe,A(se,K));return new x(d.concat([d.alloc(1),Me,se],B))}(K,B);else if(1===j)X=function M(k,V,B){var K,W=V.length,j=k.modulus.byteLength();if(W>j-11)throw new Error("message too long");return K=B?d.alloc(j-W-3,255):function I(k){for(var K,V=d.allocUnsafe(k),B=0,W=t(2*k),j=0;B<k;)j===W.length&&(W=t(2*k),j=0),(K=W[j++])&&(V[B++]=K);return V}(j-W-3),new x(d.concat([d.from([0,B?1:2]),K,d.alloc(1),V],j))}(K,B,W);else{if(3!==j)throw new Error("unknown padding");if((X=new x(B)).cmp(K.modulus)>=0)throw new Error("data too long for modulus")}return W?P(X,K):m(X,K)}},735:(ze,q,p)=>{var e=p(8211),t=p(843).Buffer;ze.exports=function y(A,l){return t.from(A.toRed(e.mont(l.modulus)).redPow(new e(l.publicExponent)).fromRed().toArray())}},1817:ze=>{ze.exports=function(p,e){for(var t=p.length,y=-1;++y<t;)p[y]^=e[y];return p}},2839:(ze,q,p)=>{const e=p(8310),t=p(6208),y=p(6422),A=p(7772);function l(x,m,P,d,E){const M=[].slice.call(arguments,1),I=M.length,k="function"==typeof M[I-1];if(!k&&!e())throw new Error("Callback required as last argument");if(!k){if(I<1)throw new Error("Too few arguments provided");return 1===I?(P=m,m=d=void 0):2===I&&!m.getContext&&(d=P,P=m,m=void 0),new Promise(function(V,B){try{const W=t.create(P,d);V(x(W,m,d))}catch(W){B(W)}})}if(I<2)throw new Error("Too few arguments provided");2===I?(E=P,P=m,m=d=void 0):3===I&&(m.getContext&&typeof E>"u"?(E=d,d=void 0):(E=d,d=P,P=m,m=void 0));try{const V=t.create(P,d);E(null,x(V,m,d))}catch(V){E(V)}}q.create=t.create,q.toCanvas=l.bind(null,y.render),q.toDataURL=l.bind(null,y.renderToDataURL),q.toString=l.bind(null,function(x,m,P){return A.render(x,P)})},8310:ze=>{ze.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},5281:(ze,q,p)=>{const e=p(8922).getSymbolSize;q.getRowColCoords=function(y){if(1===y)return[];const A=Math.floor(y/7)+2,l=e(y),x=145===l?26:2*Math.ceil((l-13)/(2*A-2)),m=[l-7];for(let P=1;P<A-1;P++)m[P]=m[P-1]-x;return m.push(6),m.reverse()},q.getPositions=function(y){const A=[],l=q.getRowColCoords(y),x=l.length;for(let m=0;m<x;m++)for(let P=0;P<x;P++)0===m&&0===P||0===m&&P===x-1||m===x-1&&0===P||A.push([l[m],l[P]]);return A}},120:(ze,q,p)=>{const e=p(3298),t=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function y(A){this.mode=e.ALPHANUMERIC,this.data=A}y.getBitsLength=function(l){return 11*Math.floor(l/2)+l%2*6},y.prototype.getLength=function(){return this.data.length},y.prototype.getBitsLength=function(){return y.getBitsLength(this.data.length)},y.prototype.write=function(l){let x;for(x=0;x+2<=this.data.length;x+=2){let m=45*t.indexOf(this.data[x]);m+=t.indexOf(this.data[x+1]),l.put(m,11)}this.data.length%2&&l.put(t.indexOf(this.data[x]),6)},ze.exports=y},6509:ze=>{function q(){this.buffer=[],this.length=0}q.prototype={get:function(p){const e=Math.floor(p/8);return 1==(this.buffer[e]>>>7-p%8&1)},put:function(p,e){for(let t=0;t<e;t++)this.putBit(1==(p>>>e-t-1&1))},getLengthInBits:function(){return this.length},putBit:function(p){const e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),p&&(this.buffer[e]|=128>>>this.length%8),this.length++}},ze.exports=q},5147:ze=>{function q(p){if(!p||p<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=p,this.data=new Uint8Array(p*p),this.reservedBit=new Uint8Array(p*p)}q.prototype.set=function(p,e,t,y){const A=p*this.size+e;this.data[A]=t,y&&(this.reservedBit[A]=!0)},q.prototype.get=function(p,e){return this.data[p*this.size+e]},q.prototype.xor=function(p,e,t){this.data[p*this.size+e]^=t},q.prototype.isReserved=function(p,e){return this.reservedBit[p*this.size+e]},ze.exports=q},277:(ze,q,p)=>{const e=p(6119),t=p(3298);function y(A){this.mode=t.BYTE,"string"==typeof A&&(A=e(A)),this.data=new Uint8Array(A)}y.getBitsLength=function(l){return 8*l},y.prototype.getLength=function(){return this.data.length},y.prototype.getBitsLength=function(){return y.getBitsLength(this.data.length)},y.prototype.write=function(A){for(let l=0,x=this.data.length;l<x;l++)A.put(this.data[l],8)},ze.exports=y},7191:(ze,q,p)=>{const e=p(4505),t=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],y=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];q.getBlocksCount=function(l,x){switch(x){case e.L:return t[4*(l-1)+0];case e.M:return t[4*(l-1)+1];case e.Q:return t[4*(l-1)+2];case e.H:return t[4*(l-1)+3];default:return}},q.getTotalCodewordsCount=function(l,x){switch(x){case e.L:return y[4*(l-1)+0];case e.M:return y[4*(l-1)+1];case e.Q:return y[4*(l-1)+2];case e.H:return y[4*(l-1)+3];default:return}}},4505:(ze,q)=>{q.L={bit:1},q.M={bit:0},q.Q={bit:3},q.H={bit:2},q.isValid=function(t){return t&&typeof t.bit<"u"&&t.bit>=0&&t.bit<4},q.from=function(t,y){if(q.isValid(t))return t;try{return function p(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"l":case"low":return q.L;case"m":case"medium":return q.M;case"q":case"quartile":return q.Q;case"h":case"high":return q.H;default:throw new Error("Unknown EC Level: "+e)}}(t)}catch{return y}}},5232:(ze,q,p)=>{const e=p(8922).getSymbolSize;q.getPositions=function(A){const l=e(A);return[[0,0],[l-7,0],[0,l-7]]}},8508:(ze,q,p)=>{const e=p(8922),A=e.getBCHDigit(1335);q.getEncodedBits=function(x,m){const P=x.bit<<3|m;let d=P<<10;for(;e.getBCHDigit(d)-A>=0;)d^=1335<<e.getBCHDigit(d)-A;return 21522^(P<<10|d)}},1674:(ze,q)=>{const p=new Uint8Array(512),e=new Uint8Array(256);(function(){let y=1;for(let A=0;A<255;A++)p[A]=y,e[y]=A,y<<=1,256&y&&(y^=285);for(let A=255;A<512;A++)p[A]=p[A-255]})(),q.log=function(y){if(y<1)throw new Error("log("+y+")");return e[y]},q.exp=function(y){return p[y]},q.mul=function(y,A){return 0===y||0===A?0:p[e[y]+e[A]]}},9995:(ze,q,p)=>{const e=p(3298),t=p(8922);function y(A){this.mode=e.KANJI,this.data=A}y.getBitsLength=function(l){return 13*l},y.prototype.getLength=function(){return this.data.length},y.prototype.getBitsLength=function(){return y.getBitsLength(this.data.length)},y.prototype.write=function(A){let l;for(l=0;l<this.data.length;l++){let x=t.toSJIS(this.data[l]);if(x>=33088&&x<=40956)x-=33088;else{if(!(x>=57408&&x<=60351))throw new Error("Invalid SJIS character: "+this.data[l]+"\nMake sure your charset is UTF-8");x-=49472}x=192*(x>>>8&255)+(255&x),A.put(x,13)}},ze.exports=y},9023:(ze,q)=>{q.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};function e(t,y,A){switch(t){case q.Patterns.PATTERN000:return(y+A)%2==0;case q.Patterns.PATTERN001:return y%2==0;case q.Patterns.PATTERN010:return A%3==0;case q.Patterns.PATTERN011:return(y+A)%3==0;case q.Patterns.PATTERN100:return(Math.floor(y/2)+Math.floor(A/3))%2==0;case q.Patterns.PATTERN101:return y*A%2+y*A%3==0;case q.Patterns.PATTERN110:return(y*A%2+y*A%3)%2==0;case q.Patterns.PATTERN111:return(y*A%3+(y+A)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}}q.isValid=function(y){return null!=y&&""!==y&&!isNaN(y)&&y>=0&&y<=7},q.from=function(y){return q.isValid(y)?parseInt(y,10):void 0},q.getPenaltyN1=function(y){const A=y.size;let l=0,x=0,m=0,P=null,d=null;for(let E=0;E<A;E++){x=m=0,P=d=null;for(let M=0;M<A;M++){let I=y.get(E,M);I===P?x++:(x>=5&&(l+=x-5+3),P=I,x=1),I=y.get(M,E),I===d?m++:(m>=5&&(l+=m-5+3),d=I,m=1)}x>=5&&(l+=x-5+3),m>=5&&(l+=m-5+3)}return l},q.getPenaltyN2=function(y){const A=y.size;let l=0;for(let x=0;x<A-1;x++)for(let m=0;m<A-1;m++){const P=y.get(x,m)+y.get(x,m+1)+y.get(x+1,m)+y.get(x+1,m+1);(4===P||0===P)&&l++}return 3*l},q.getPenaltyN3=function(y){const A=y.size;let l=0,x=0,m=0;for(let P=0;P<A;P++){x=m=0;for(let d=0;d<A;d++)x=x<<1&2047|y.get(P,d),d>=10&&(1488===x||93===x)&&l++,m=m<<1&2047|y.get(d,P),d>=10&&(1488===m||93===m)&&l++}return 40*l},q.getPenaltyN4=function(y){let A=0;const l=y.data.length;for(let m=0;m<l;m++)A+=y.data[m];return 10*Math.abs(Math.ceil(100*A/l/5)-10)},q.applyMask=function(y,A){const l=A.size;for(let x=0;x<l;x++)for(let m=0;m<l;m++)A.isReserved(m,x)||A.xor(m,x,e(y,m,x))},q.getBestMask=function(y,A){const l=Object.keys(q.Patterns).length;let x=0,m=1/0;for(let P=0;P<l;P++){A(P),q.applyMask(P,y);const d=q.getPenaltyN1(y)+q.getPenaltyN2(y)+q.getPenaltyN3(y)+q.getPenaltyN4(y);q.applyMask(P,y),d<m&&(m=d,x=P)}return x}},3298:(ze,q,p)=>{const e=p(6161),t=p(2427);q.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},q.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},q.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},q.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},q.MIXED={bit:-1},q.getCharCountIndicator=function(l,x){if(!l.ccBits)throw new Error("Invalid mode: "+l);if(!e.isValid(x))throw new Error("Invalid version: "+x);return x>=1&&x<10?l.ccBits[0]:x<27?l.ccBits[1]:l.ccBits[2]},q.getBestModeForData=function(l){return t.testNumeric(l)?q.NUMERIC:t.testAlphanumeric(l)?q.ALPHANUMERIC:t.testKanji(l)?q.KANJI:q.BYTE},q.toString=function(l){if(l&&l.id)return l.id;throw new Error("Invalid mode")},q.isValid=function(l){return l&&l.bit&&l.ccBits},q.from=function(l,x){if(q.isValid(l))return l;try{return function y(A){if("string"!=typeof A)throw new Error("Param is not a string");switch(A.toLowerCase()){case"numeric":return q.NUMERIC;case"alphanumeric":return q.ALPHANUMERIC;case"kanji":return q.KANJI;case"byte":return q.BYTE;default:throw new Error("Unknown mode: "+A)}}(l)}catch{return x}}},8722:(ze,q,p)=>{const e=p(3298);function t(y){this.mode=e.NUMERIC,this.data=y.toString()}t.getBitsLength=function(A){return 10*Math.floor(A/3)+(A%3?A%3*3+1:0)},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(A){let l,x,m;for(l=0;l+3<=this.data.length;l+=3)x=this.data.substr(l,3),m=parseInt(x,10),A.put(m,10);const P=this.data.length-l;P>0&&(x=this.data.substr(l),m=parseInt(x,10),A.put(m,3*P+1))},ze.exports=t},2376:(ze,q,p)=>{const e=p(1674);q.mul=function(y,A){const l=new Uint8Array(y.length+A.length-1);for(let x=0;x<y.length;x++)for(let m=0;m<A.length;m++)l[x+m]^=e.mul(y[x],A[m]);return l},q.mod=function(y,A){let l=new Uint8Array(y);for(;l.length-A.length>=0;){const x=l[0];for(let P=0;P<A.length;P++)l[P]^=e.mul(A[P],x);let m=0;for(;m<l.length&&0===l[m];)m++;l=l.slice(m)}return l},q.generateECPolynomial=function(y){let A=new Uint8Array([1]);for(let l=0;l<y;l++)A=q.mul(A,new Uint8Array([1,e.exp(l)]));return A}},6208:(ze,q,p)=>{const e=p(8922),t=p(4505),y=p(6509),A=p(5147),l=p(5281),x=p(5232),m=p(9023),P=p(7191),d=p(1297),E=p(9467),M=p(8508),I=p(3298),k=p(1799);function K(se,Me,$){const ue=se.size,S=M.getEncodedBits(Me,$);let n,s;for(n=0;n<15;n++)s=1==(S>>n&1),se.set(n<6?n:n<8?n+1:ue-15+n,8,s,!0),se.set(8,n<8?ue-n-1:n<9?15-n-1+1:15-n-1,s,!0);se.set(ue-8,8,1,!0)}function fe(se,Me,$,ue){let S;if(Array.isArray(se))S=k.fromArray(se);else{if("string"!=typeof se)throw new Error("Invalid data");{let w=Me;if(!w){const D=k.rawSplit(se);w=E.getBestVersionForData(D,$)}S=k.fromString(se,w||40)}}const n=E.getBestVersionForData(S,$);if(!n)throw new Error("The amount of data is too big to be stored in a QR Code");if(Me){if(Me<n)throw new Error("\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: "+n+".\n")}else Me=n;const s=function ie(se,Me,$){const ue=new y;$.forEach(function(h){ue.put(h.mode.bit,4),ue.put(h.getLength(),I.getCharCountIndicator(h.mode,se)),h.write(ue)});const s=8*(e.getSymbolTotalCodewords(se)-P.getTotalCodewordsCount(se,Me));for(ue.getLengthInBits()+4<=s&&ue.put(0,4);ue.getLengthInBits()%8!=0;)ue.putBit(0);const f=(s-ue.getLengthInBits())/8;for(let h=0;h<f;h++)ue.put(h%2?17:236,8);return function ae(se,Me,$){const ue=e.getSymbolTotalCodewords(Me),n=ue-P.getTotalCodewordsCount(Me,$),s=P.getBlocksCount(Me,$),h=s-ue%s,w=Math.floor(ue/s),D=Math.floor(n/s),O=D+1,v=w-D,r=new d(v);let g=0;const H=new Array(s),N=new Array(s);let ee=0;const De=new Uint8Array(se.buffer);for(let me=0;me<s;me++){const he=me<h?D:O;H[me]=De.slice(g,g+he),N[me]=r.encode(H[me]),g+=he,ee=Math.max(ee,he)}const ot=new Uint8Array(ue);let Je,ye,je=0;for(Je=0;Je<ee;Je++)for(ye=0;ye<s;ye++)Je<H[ye].length&&(ot[je++]=H[ye][Je]);for(Je=0;Je<v;Je++)for(ye=0;ye<s;ye++)ot[je++]=N[ye][Je];return ot}(ue,se,Me)}(Me,$,S),f=e.getSymbolSize(Me),h=new A(f);return function V(se,Me){const $=se.size,ue=x.getPositions(Me);for(let S=0;S<ue.length;S++){const n=ue[S][0],s=ue[S][1];for(let f=-1;f<=7;f++)if(!(n+f<=-1||$<=n+f))for(let h=-1;h<=7;h++)s+h<=-1||$<=s+h||se.set(n+f,s+h,f>=0&&f<=6&&(0===h||6===h)||h>=0&&h<=6&&(0===f||6===f)||f>=2&&f<=4&&h>=2&&h<=4,!0)}}(h,Me),function B(se){const Me=se.size;for(let $=8;$<Me-8;$++){const ue=$%2==0;se.set($,6,ue,!0),se.set(6,$,ue,!0)}}(h),function W(se,Me){const $=l.getPositions(Me);for(let ue=0;ue<$.length;ue++){const S=$[ue][0],n=$[ue][1];for(let s=-2;s<=2;s++)for(let f=-2;f<=2;f++)se.set(S+s,n+f,-2===s||2===s||-2===f||2===f||0===s&&0===f,!0)}}(h,Me),K(h,$,0),Me>=7&&function j(se,Me){const $=se.size,ue=E.getEncodedBits(Me);let S,n,s;for(let f=0;f<18;f++)S=Math.floor(f/3),n=f%3+$-8-3,s=1==(ue>>f&1),se.set(S,n,s,!0),se.set(n,S,s,!0)}(h,Me),function X(se,Me){const $=se.size;let ue=-1,S=$-1,n=7,s=0;for(let f=$-1;f>0;f-=2)for(6===f&&f--;;){for(let h=0;h<2;h++)if(!se.isReserved(S,f-h)){let w=!1;s<Me.length&&(w=1==(Me[s]>>>n&1)),se.set(S,f-h,w),n--,-1===n&&(s++,n=7)}if(S+=ue,S<0||$<=S){S-=ue,ue=-ue;break}}}(h,s),isNaN(ue)&&(ue=m.getBestMask(h,K.bind(null,h,$))),m.applyMask(ue,h),K(h,$,ue),{modules:h,version:Me,errorCorrectionLevel:$,maskPattern:ue,segments:S}}q.create=function(Me,$){if(typeof Me>"u"||""===Me)throw new Error("No input text");let S,n,ue=t.M;return typeof $<"u"&&(ue=t.from($.errorCorrectionLevel,t.M),S=E.from($.version),n=m.from($.maskPattern),$.toSJISFunc&&e.setToSJISFunction($.toSJISFunc)),fe(Me,S,ue,n)}},1297:(ze,q,p)=>{const e=p(2376);function t(y){this.genPoly=void 0,this.degree=y,this.degree&&this.initialize(this.degree)}t.prototype.initialize=function(A){this.degree=A,this.genPoly=e.generateECPolynomial(this.degree)},t.prototype.encode=function(A){if(!this.genPoly)throw new Error("Encoder not initialized");const l=new Uint8Array(A.length+this.degree);l.set(A);const x=e.mod(l,this.genPoly),m=this.degree-x.length;if(m>0){const P=new Uint8Array(this.degree);return P.set(x,m),P}return x},ze.exports=t},2427:(ze,q)=>{const p="[0-9]+";let t="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";t=t.replace(/u/g,"\\u");const y="(?:(?![A-Z0-9 $%*+\\-./:]|"+t+")(?:.|[\r\n]))+";q.KANJI=new RegExp(t,"g"),q.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),q.BYTE=new RegExp(y,"g"),q.NUMERIC=new RegExp(p,"g"),q.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");const A=new RegExp("^"+t+"$"),l=new RegExp("^"+p+"$"),x=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");q.testKanji=function(P){return A.test(P)},q.testNumeric=function(P){return l.test(P)},q.testAlphanumeric=function(P){return x.test(P)}},1799:(ze,q,p)=>{const e=p(3298),t=p(8722),y=p(120),A=p(277),l=p(9995),x=p(2427),m=p(8922),P=p(7206);function d(j){return unescape(encodeURIComponent(j)).length}function E(j,K,X){const ie=[];let ae;for(;null!==(ae=j.exec(X));)ie.push({data:ae[0],index:ae.index,mode:K,length:ae[0].length});return ie}function M(j){const K=E(x.NUMERIC,e.NUMERIC,j),X=E(x.ALPHANUMERIC,e.ALPHANUMERIC,j);let ie,ae;return m.isKanjiModeEnabled()?(ie=E(x.BYTE,e.BYTE,j),ae=E(x.KANJI,e.KANJI,j)):(ie=E(x.BYTE_KANJI,e.BYTE,j),ae=[]),K.concat(X,ie,ae).sort(function(se,Me){return se.index-Me.index}).map(function(se){return{data:se.data,mode:se.mode,length:se.length}})}function I(j,K){switch(K){case e.NUMERIC:return t.getBitsLength(j);case e.ALPHANUMERIC:return y.getBitsLength(j);case e.KANJI:return l.getBitsLength(j);case e.BYTE:return A.getBitsLength(j)}}function W(j,K){let X;const ie=e.getBestModeForData(j);if(X=e.from(K,ie),X!==e.BYTE&&X.bit<ie.bit)throw new Error('"'+j+'" cannot be encoded with mode '+e.toString(X)+".\n Suggested mode is: "+e.toString(ie));switch(X===e.KANJI&&!m.isKanjiModeEnabled()&&(X=e.BYTE),X){case e.NUMERIC:return new t(j);case e.ALPHANUMERIC:return new y(j);case e.KANJI:return new l(j);case e.BYTE:return new A(j)}}q.fromArray=function(K){return K.reduce(function(X,ie){return"string"==typeof ie?X.push(W(ie,null)):ie.data&&X.push(W(ie.data,ie.mode)),X},[])},q.fromString=function(K,X){const ae=function V(j){const K=[];for(let X=0;X<j.length;X++){const ie=j[X];switch(ie.mode){case e.NUMERIC:K.push([ie,{data:ie.data,mode:e.ALPHANUMERIC,length:ie.length},{data:ie.data,mode:e.BYTE,length:ie.length}]);break;case e.ALPHANUMERIC:K.push([ie,{data:ie.data,mode:e.BYTE,length:ie.length}]);break;case e.KANJI:K.push([ie,{data:ie.data,mode:e.BYTE,length:d(ie.data)}]);break;case e.BYTE:K.push([{data:ie.data,mode:e.BYTE,length:d(ie.data)}])}}return K}(M(K,m.isKanjiModeEnabled())),fe=function B(j,K){const X={},ie={start:{}};let ae=["start"];for(let fe=0;fe<j.length;fe++){const se=j[fe],Me=[];for(let $=0;$<se.length;$++){const ue=se[$],S=""+fe+$;Me.push(S),X[S]={node:ue,lastCount:0},ie[S]={};for(let n=0;n<ae.length;n++){const s=ae[n];X[s]&&X[s].node.mode===ue.mode?(ie[s][S]=I(X[s].lastCount+ue.length,ue.mode)-I(X[s].lastCount,ue.mode),X[s].lastCount+=ue.length):(X[s]&&(X[s].lastCount=ue.length),ie[s][S]=I(ue.length,ue.mode)+4+e.getCharCountIndicator(ue.mode,K))}}ae=Me}for(let fe=0;fe<ae.length;fe++)ie[ae[fe]].end=0;return{map:ie,table:X}}(ae,X),se=P.find_path(fe.map,"start","end"),Me=[];for(let $=1;$<se.length-1;$++)Me.push(fe.table[se[$]].node);return q.fromArray(function k(j){return j.reduce(function(K,X){const ie=K.length-1>=0?K[K.length-1]:null;return ie&&ie.mode===X.mode?(K[K.length-1].data+=X.data,K):(K.push(X),K)},[])}(Me))},q.rawSplit=function(K){return q.fromArray(M(K,m.isKanjiModeEnabled()))}},8922:(ze,q)=>{let p;const e=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];q.getSymbolSize=function(y){if(!y)throw new Error('"version" cannot be null or undefined');if(y<1||y>40)throw new Error('"version" should be in range from 1 to 40');return 4*y+17},q.getSymbolTotalCodewords=function(y){return e[y]},q.getBCHDigit=function(t){let y=0;for(;0!==t;)y++,t>>>=1;return y},q.setToSJISFunction=function(y){if("function"!=typeof y)throw new Error('"toSJISFunc" is not a valid function.');p=y},q.isKanjiModeEnabled=function(){return typeof p<"u"},q.toSJIS=function(y){return p(y)}},6161:(ze,q)=>{q.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}},9467:(ze,q,p)=>{const e=p(8922),t=p(7191),y=p(4505),A=p(3298),l=p(6161),m=e.getBCHDigit(7973);function d(I,k){return A.getCharCountIndicator(I,k)+4}function E(I,k){let V=0;return I.forEach(function(B){const W=d(B.mode,k);V+=W+B.getBitsLength()}),V}q.from=function(k,V){return l.isValid(k)?parseInt(k,10):V},q.getCapacity=function(k,V,B){if(!l.isValid(k))throw new Error("Invalid QR Code version");typeof B>"u"&&(B=A.BYTE);const K=8*(e.getSymbolTotalCodewords(k)-t.getTotalCodewordsCount(k,V));if(B===A.MIXED)return K;const X=K-d(B,k);switch(B){case A.NUMERIC:return Math.floor(X/10*3);case A.ALPHANUMERIC:return Math.floor(X/11*2);case A.KANJI:return Math.floor(X/13);default:return Math.floor(X/8)}},q.getBestVersionForData=function(k,V){let B;const W=y.from(V,y.M);if(Array.isArray(k)){if(k.length>1)return function M(I,k){for(let V=1;V<=40;V++)if(E(I,V)<=q.getCapacity(V,k,A.MIXED))return V}(k,W);if(0===k.length)return 1;B=k[0]}else B=k;return function P(I,k,V){for(let B=1;B<=40;B++)if(k<=q.getCapacity(B,V,I))return B}(B.mode,B.getLength(),W)},q.getEncodedBits=function(k){if(!l.isValid(k)||k<7)throw new Error("Invalid QR Code version");let V=k<<12;for(;e.getBCHDigit(V)-m>=0;)V^=7973<<e.getBCHDigit(V)-m;return k<<12|V}},6422:(ze,q,p)=>{const e=p(1101);q.render=function(l,x,m){let P=m,d=x;typeof P>"u"&&(!x||!x.getContext)&&(P=x,x=void 0),x||(d=function y(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}()),P=e.getOptions(P);const E=e.getImageWidth(l.modules.size,P),M=d.getContext("2d"),I=M.createImageData(E,E);return e.qrToImageData(I.data,l,P),function t(A,l,x){A.clearRect(0,0,l.width,l.height),l.style||(l.style={}),l.height=x,l.width=x,l.style.height=x+"px",l.style.width=x+"px"}(M,d,E),M.putImageData(I,0,0),d},q.renderToDataURL=function(l,x,m){let P=m;return typeof P>"u"&&(!x||!x.getContext)&&(P=x,x=void 0),P||(P={}),q.render(l,x,P).toDataURL(P.type||"image/png",(P.rendererOpts||{}).quality)}},7772:(ze,q,p)=>{const e=p(1101);function t(l,x){const m=l.a/255,P=x+'="'+l.hex+'"';return m<1?P+" "+x+'-opacity="'+m.toFixed(2).slice(1)+'"':P}function y(l,x,m){let P=l+x;return typeof m<"u"&&(P+=" "+m),P}q.render=function(x,m,P){const d=e.getOptions(m),E=x.modules.size,M=x.modules.data,I=E+2*d.margin,k=d.color.light.a?"<path "+t(d.color.light,"fill")+' d="M0 0h'+I+"v"+I+'H0z"/>':"",V="<path "+t(d.color.dark,"stroke")+' d="'+function A(l,x,m){let P="",d=0,E=!1,M=0;for(let I=0;I<l.length;I++){const k=Math.floor(I%x),V=Math.floor(I/x);!k&&!E&&(E=!0),l[I]?(M++,I>0&&k>0&&l[I-1]||(P+=E?y("M",k+m,.5+V+m):y("m",d,0),d=0,E=!1),k+1<x&&l[I+1]||(P+=y("h",M),M=0)):d++}return P}(M,E,d.margin)+'"/>',j='<svg xmlns="http://www.w3.org/2000/svg" '+(d.width?'width="'+d.width+'" height="'+d.width+'" ':"")+'viewBox="0 0 '+I+" "+I+'" shape-rendering="crispEdges">'+k+V+"</svg>\n";return"function"==typeof P&&P(null,j),j}},1101:(ze,q)=>{function p(e){if("number"==typeof e&&(e=e.toString()),"string"!=typeof e)throw new Error("Color should be defined as hex string");let t=e.slice().replace("#","").split("");if(t.length<3||5===t.length||t.length>8)throw new Error("Invalid hex color: "+e);(3===t.length||4===t.length)&&(t=Array.prototype.concat.apply([],t.map(function(A){return[A,A]}))),6===t.length&&t.push("F","F");const y=parseInt(t.join(""),16);return{r:y>>24&255,g:y>>16&255,b:y>>8&255,a:255&y,hex:"#"+t.slice(0,6).join("")}}q.getOptions=function(t){t||(t={}),t.color||(t.color={});const A=t.width&&t.width>=21?t.width:void 0;return{width:A,scale:A?4:t.scale||4,margin:typeof t.margin>"u"||null===t.margin||t.margin<0?4:t.margin,color:{dark:p(t.color.dark||"#000000ff"),light:p(t.color.light||"#ffffffff")},type:t.type,rendererOpts:t.rendererOpts||{}}},q.getScale=function(t,y){return y.width&&y.width>=t+2*y.margin?y.width/(t+2*y.margin):y.scale},q.getImageWidth=function(t,y){const A=q.getScale(t,y);return Math.floor((t+2*y.margin)*A)},q.qrToImageData=function(t,y,A){const l=y.modules.size,x=y.modules.data,m=q.getScale(l,A),P=Math.floor((l+2*A.margin)*m),d=A.margin*m,E=[A.color.light,A.color.dark];for(let M=0;M<P;M++)for(let I=0;I<P;I++){let k=4*(M*P+I),V=A.color.light;M>=d&&I>=d&&M<P-d&&I<P-d&&(V=E[x[Math.floor((M-d)/m)*l+Math.floor((I-d)/m)]?1:0]),t[k++]=V.r,t[k++]=V.g,t[k++]=V.b,t[k]=V.a}}},4019:(ze,q,p)=>{"use strict";var e=65536,A=p(843).Buffer,l=global.crypto||global.msCrypto;ze.exports=l&&l.getRandomValues?function x(m,P){if(m>4294967295)throw new RangeError("requested too many random bytes");var d=A.allocUnsafe(m);if(m>0)if(m>e)for(var E=0;E<m;E+=e)l.getRandomValues(d.slice(E,E+e));else l.getRandomValues(d);return"function"==typeof P?process.nextTick(function(){P(null,d)}):d}:function y(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}},1237:(ze,q,p)=>{"use strict";function e(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var t=p(843),y=p(4019),A=t.Buffer,l=t.kMaxLength,x=global.crypto||global.msCrypto,m=Math.pow(2,32)-1;function P(k,V){if("number"!=typeof k||k!=k)throw new TypeError("offset must be a number");if(k>m||k<0)throw new TypeError("offset must be a uint32");if(k>l||k>V)throw new RangeError("offset out of range")}function d(k,V,B){if("number"!=typeof k||k!=k)throw new TypeError("size must be a number");if(k>m||k<0)throw new TypeError("size must be a uint32");if(k+V>B||k>l)throw new RangeError("buffer too small")}function M(k,V,B,W){if(process.browser){var K=new Uint8Array(k.buffer,V,B);return x.getRandomValues(K),W?void process.nextTick(function(){W(null,k)}):k}if(!W)return y(B).copy(k,V),k;y(B,function(ie,ae){if(ie)return W(ie);ae.copy(k,V),W(null,k)})}x&&x.getRandomValues||!process.browser?(q.randomFill=function E(k,V,B,W){if(!(A.isBuffer(k)||k instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof V)W=V,V=0,B=k.length;else if("function"==typeof B)W=B,B=k.length-V;else if("function"!=typeof W)throw new TypeError('"cb" argument must be a function');return P(V,k.length),d(B,V,k.length),M(k,V,B,W)},q.randomFillSync=function I(k,V,B){if(typeof V>"u"&&(V=0),!(A.isBuffer(k)||k instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return P(V,k.length),void 0===B&&(B=k.length-V),d(B,V,k.length),M(k,V,B)}):(q.randomFill=e,q.randomFillSync=e)},7218:ze=>{"use strict";var p={};function e(x,m,P){P||(P=Error);var E=function(M){function I(k,V,B){return M.call(this,function d(M,I,k){return"string"==typeof m?m:m(M,I,k)}(k,V,B))||this}return function q(x,m){x.prototype=Object.create(m.prototype),x.prototype.constructor=x,x.__proto__=m}(I,M),I}(P);E.prototype.name=P.name,E.prototype.code=x,p[x]=E}function t(x,m){if(Array.isArray(x)){var P=x.length;return x=x.map(function(d){return String(d)}),P>2?"one of ".concat(m," ").concat(x.slice(0,P-1).join(", "),", or ")+x[P-1]:2===P?"one of ".concat(m," ").concat(x[0]," or ").concat(x[1]):"of ".concat(m," ").concat(x[0])}return"of ".concat(m," ").concat(String(x))}e("ERR_INVALID_OPT_VALUE",function(x,m){return'The value "'+m+'" is invalid for option "'+x+'"'},TypeError),e("ERR_INVALID_ARG_TYPE",function(x,m,P){var d,E;if("string"==typeof m&&function y(x,m,P){return x.substr(!P||P<0?0:+P,m.length)===m}(m,"not ")?(d="must not be",m=m.replace(/^not /,"")):d="must be",function A(x,m,P){return(void 0===P||P>x.length)&&(P=x.length),x.substring(P-m.length,P)===m}(x," argument"))E="The ".concat(x," ").concat(d," ").concat(t(m,"type"));else{var M=function l(x,m,P){return"number"!=typeof P&&(P=0),!(P+m.length>x.length)&&-1!==x.indexOf(m,P)}(x,".")?"property":"argument";E='The "'.concat(x,'" ').concat(M," ").concat(d," ").concat(t(m,"type"))}return E+". Received type ".concat(typeof P)},TypeError),e("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),e("ERR_METHOD_NOT_IMPLEMENTED",function(x){return"The "+x+" method is not implemented"}),e("ERR_STREAM_PREMATURE_CLOSE","Premature close"),e("ERR_STREAM_DESTROYED",function(x){return"Cannot call "+x+" 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(x){return"Unknown encoding: "+x},TypeError),e("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),ze.exports.q=p},247:(ze,q,p)=>{"use strict";var e=Object.keys||function(E){var M=[];for(var I in E)M.push(I);return M};ze.exports=m;var t=p(309),y=p(6563);p(6698)(m,t);for(var A=e(y.prototype),l=0;l<A.length;l++){var x=A[l];m.prototype[x]||(m.prototype[x]=y.prototype[x])}function m(E){if(!(this instanceof m))return new m(E);t.call(this,E),y.call(this,E),this.allowHalfOpen=!0,E&&(!1===E.readable&&(this.readable=!1),!1===E.writable&&(this.writable=!1),!1===E.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",P)))}function P(){this._writableState.ended||process.nextTick(d,this)}function d(E){E.end()}Object.defineProperty(m.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(m.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(m.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(m.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(M){void 0===this._readableState||void 0===this._writableState||(this._readableState.destroyed=M,this._writableState.destroyed=M)}})},5096:(ze,q,p)=>{"use strict";ze.exports=t;var e=p(6307);function t(y){if(!(this instanceof t))return new t(y);e.call(this,y)}p(6698)(t,e),t.prototype._transform=function(y,A,l){l(null,y)}},309:(ze,q,p)=>{"use strict";var e;ze.exports=S,S.ReadableState=ue,p(2016);var E,y=function(ge,qe){return ge.listeners(qe).length},A=p(8240),l=p(9007).Buffer,x=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},d=p(4616);E=d&&d.debuglog?d.debuglog("stream"):function(){};var ie,ae,fe,M=p(2960),I=p(5601),V=p(8782).getHighWaterMark,B=p(7218).q,W=B.ERR_INVALID_ARG_TYPE,j=B.ERR_STREAM_PUSH_AFTER_EOF,K=B.ERR_METHOD_NOT_IMPLEMENTED,X=B.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;p(6698)(S,A);var se=I.errorOrDestroy,Me=["error","close","destroy","pause","resume"];function ue(de,ge,qe){e=e||p(247),"boolean"!=typeof qe&&(qe=ge instanceof e),this.objectMode=!!(de=de||{}).objectMode,qe&&(this.objectMode=this.objectMode||!!de.readableObjectMode),this.highWaterMark=V(this,de,"readableHighWaterMark",qe),this.buffer=new M,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==de.emitClose,this.autoDestroy=!!de.autoDestroy,this.destroyed=!1,this.defaultEncoding=de.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,de.encoding&&(ie||(ie=p(2024).s),this.decoder=new ie(de.encoding),this.encoding=de.encoding)}function S(de){if(e=e||p(247),!(this instanceof S))return new S(de);this._readableState=new ue(de,this,this instanceof e),this.readable=!0,de&&("function"==typeof de.read&&(this._read=de.read),"function"==typeof de.destroy&&(this._destroy=de.destroy)),A.call(this)}function n(de,ge,qe,oe,ve){E("readableAddChunk",ge);var Ge,le=de._readableState;if(null===ge)le.reading=!1,function O(de,ge){if(E("onEofChunk"),!ge.ended){if(ge.decoder){var qe=ge.decoder.end();qe&&qe.length&&(ge.buffer.push(qe),ge.length+=ge.objectMode?1:qe.length)}ge.ended=!0,ge.sync?v(de):(ge.needReadable=!1,ge.emittedReadable||(ge.emittedReadable=!0,r(de)))}}(de,le);else if(ve||(Ge=function f(de,ge){var qe;return!function P(de){return l.isBuffer(de)||de instanceof x}(ge)&&"string"!=typeof ge&&void 0!==ge&&!de.objectMode&&(qe=new W("chunk",["string","Buffer","Uint8Array"],ge)),qe}(le,ge)),Ge)se(de,Ge);else if(le.objectMode||ge&&ge.length>0)if("string"!=typeof ge&&!le.objectMode&&Object.getPrototypeOf(ge)!==l.prototype&&(ge=function m(de){return l.from(de)}(ge)),oe)le.endEmitted?se(de,new X):s(de,le,ge,!0);else if(le.ended)se(de,new j);else{if(le.destroyed)return!1;le.reading=!1,le.decoder&&!qe?(ge=le.decoder.write(ge),le.objectMode||0!==ge.length?s(de,le,ge,!1):g(de,le)):s(de,le,ge,!1)}else oe||(le.reading=!1,g(de,le));return!le.ended&&(le.length<le.highWaterMark||0===le.length)}function s(de,ge,qe,oe){ge.flowing&&0===ge.length&&!ge.sync?(ge.awaitDrain=0,de.emit("data",qe)):(ge.length+=ge.objectMode?1:qe.length,oe?ge.buffer.unshift(qe):ge.buffer.push(qe),ge.needReadable&&v(de)),g(de,ge)}Object.defineProperty(S.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(ge){this._readableState&&(this._readableState.destroyed=ge)}}),S.prototype.destroy=I.destroy,S.prototype._undestroy=I.undestroy,S.prototype._destroy=function(de,ge){ge(de)},S.prototype.push=function(de,ge){var oe,qe=this._readableState;return qe.objectMode?oe=!0:"string"==typeof de&&((ge=ge||qe.defaultEncoding)!==qe.encoding&&(de=l.from(de,ge),ge=""),oe=!0),n(this,de,ge,!1,oe)},S.prototype.unshift=function(de){return n(this,de,null,!0,!1)},S.prototype.isPaused=function(){return!1===this._readableState.flowing},S.prototype.setEncoding=function(de){ie||(ie=p(2024).s);var ge=new ie(de);this._readableState.decoder=ge,this._readableState.encoding=this._readableState.decoder.encoding;for(var qe=this._readableState.buffer.head,oe="";null!==qe;)oe+=ge.write(qe.data),qe=qe.next;return this._readableState.buffer.clear(),""!==oe&&this._readableState.buffer.push(oe),this._readableState.length=oe.length,this};var h=1073741824;function D(de,ge){return de<=0||0===ge.length&&ge.ended?0:ge.objectMode?1:de!=de?ge.flowing&&ge.length?ge.buffer.head.data.length:ge.length:(de>ge.highWaterMark&&(ge.highWaterMark=function w(de){return de>=h?de=h:(de--,de|=de>>>1,de|=de>>>2,de|=de>>>4,de|=de>>>8,de|=de>>>16,de++),de}(de)),de<=ge.length?de:ge.ended?ge.length:(ge.needReadable=!0,0))}function v(de){var ge=de._readableState;E("emitReadable",ge.needReadable,ge.emittedReadable),ge.needReadable=!1,ge.emittedReadable||(E("emitReadable",ge.flowing),ge.emittedReadable=!0,process.nextTick(r,de))}function r(de){var ge=de._readableState;E("emitReadable_",ge.destroyed,ge.length,ge.ended),!ge.destroyed&&(ge.length||ge.ended)&&(de.emit("readable"),ge.emittedReadable=!1),ge.needReadable=!ge.flowing&&!ge.ended&&ge.length<=ge.highWaterMark,Je(de)}function g(de,ge){ge.readingMore||(ge.readingMore=!0,process.nextTick(H,de,ge))}function H(de,ge){for(;!ge.reading&&!ge.ended&&(ge.length<ge.highWaterMark||ge.flowing&&0===ge.length);){var qe=ge.length;if(E("maybeReadMore read 0"),de.read(0),qe===ge.length)break}ge.readingMore=!1}function ee(de){var ge=de._readableState;ge.readableListening=de.listenerCount("readable")>0,ge.resumeScheduled&&!ge.paused?ge.flowing=!0:de.listenerCount("data")>0&&de.resume()}function De(de){E("readable nexttick read 0"),de.read(0)}function je(de,ge){E("resume",ge.reading),ge.reading||de.read(0),ge.resumeScheduled=!1,de.emit("resume"),Je(de),ge.flowing&&!ge.reading&&de.read(0)}function Je(de){var ge=de._readableState;for(E("flow",ge.flowing);ge.flowing&&null!==de.read(););}function ye(de,ge){return 0===ge.length?null:(ge.objectMode?qe=ge.buffer.shift():!de||de>=ge.length?(qe=ge.decoder?ge.buffer.join(""):1===ge.buffer.length?ge.buffer.first():ge.buffer.concat(ge.length),ge.buffer.clear()):qe=ge.buffer.consume(de,ge.decoder),qe);var qe}function me(de){var ge=de._readableState;E("endReadable",ge.endEmitted),ge.endEmitted||(ge.ended=!0,process.nextTick(he,ge,de))}function he(de,ge){if(E("endReadableNT",de.endEmitted,de.length),!de.endEmitted&&0===de.length&&(de.endEmitted=!0,ge.readable=!1,ge.emit("end"),de.autoDestroy)){var qe=ge._writableState;(!qe||qe.autoDestroy&&qe.finished)&&ge.destroy()}}function xe(de,ge){for(var qe=0,oe=de.length;qe<oe;qe++)if(de[qe]===ge)return qe;return-1}S.prototype.read=function(de){E("read",de),de=parseInt(de,10);var ge=this._readableState,qe=de;if(0!==de&&(ge.emittedReadable=!1),0===de&&ge.needReadable&&((0!==ge.highWaterMark?ge.length>=ge.highWaterMark:ge.length>0)||ge.ended))return E("read: emitReadable",ge.length,ge.ended),0===ge.length&&ge.ended?me(this):v(this),null;if(0===(de=D(de,ge))&&ge.ended)return 0===ge.length&&me(this),null;var ve,oe=ge.needReadable;return E("need readable",oe),(0===ge.length||ge.length-de<ge.highWaterMark)&&E("length less than watermark",oe=!0),ge.ended||ge.reading?E("reading or ended",oe=!1):oe&&(E("do read"),ge.reading=!0,ge.sync=!0,0===ge.length&&(ge.needReadable=!0),this._read(ge.highWaterMark),ge.sync=!1,ge.reading||(de=D(qe,ge))),null===(ve=de>0?ye(de,ge):null)?(ge.needReadable=ge.length<=ge.highWaterMark,de=0):(ge.length-=de,ge.awaitDrain=0),0===ge.length&&(ge.ended||(ge.needReadable=!0),qe!==de&&ge.ended&&me(this)),null!==ve&&this.emit("data",ve),ve},S.prototype._read=function(de){se(this,new K("_read()"))},S.prototype.pipe=function(de,ge){var qe=this,oe=this._readableState;switch(oe.pipesCount){case 0:oe.pipes=de;break;case 1:oe.pipes=[oe.pipes,de];break;default:oe.pipes.push(de)}oe.pipesCount+=1,E("pipe count=%d opts=%j",oe.pipesCount,ge);var le=ge&&!1===ge.end||de===process.stdout||de===process.stderr?ke:We;function We(){E("onend"),de.end()}oe.endEmitted?process.nextTick(le):qe.once("end",le),de.on("unpipe",function Ge(st,Ke){E("onunpipe"),st===qe&&Ke&&!1===Ke.hasUnpiped&&(Ke.hasUnpiped=!0,function kt(){E("cleanup"),de.removeListener("close",it),de.removeListener("finish",$e),de.removeListener("drain",wt),de.removeListener("error",Be),de.removeListener("unpipe",Ge),qe.removeListener("end",We),qe.removeListener("end",ke),qe.removeListener("data",Ae),mt=!0,oe.awaitDrain&&(!de._writableState||de._writableState.needDrain)&&wt()}())});var wt=function N(de){return function(){var qe=de._readableState;E("pipeOnDrain",qe.awaitDrain),qe.awaitDrain&&qe.awaitDrain--,0===qe.awaitDrain&&y(de,"data")&&(qe.flowing=!0,Je(de))}}(qe);de.on("drain",wt);var mt=!1;function Ae(st){E("ondata");var Ke=de.write(st);E("dest.write",Ke),!1===Ke&&((1===oe.pipesCount&&oe.pipes===de||oe.pipesCount>1&&-1!==xe(oe.pipes,de))&&!mt&&(E("false write response, pause",oe.awaitDrain),oe.awaitDrain++),qe.pause())}function Be(st){E("onerror",st),ke(),de.removeListener("error",Be),0===y(de,"error")&&se(de,st)}function it(){de.removeListener("finish",$e),ke()}function $e(){E("onfinish"),de.removeListener("close",it),ke()}function ke(){E("unpipe"),qe.unpipe(de)}return qe.on("data",Ae),function $(de,ge,qe){if("function"==typeof de.prependListener)return de.prependListener(ge,qe);de._events&&de._events[ge]?Array.isArray(de._events[ge])?de._events[ge].unshift(qe):de._events[ge]=[qe,de._events[ge]]:de.on(ge,qe)}(de,"error",Be),de.once("close",it),de.once("finish",$e),de.emit("pipe",qe),oe.flowing||(E("pipe resume"),qe.resume()),de},S.prototype.unpipe=function(de){var ge=this._readableState,qe={hasUnpiped:!1};if(0===ge.pipesCount)return this;if(1===ge.pipesCount)return de&&de!==ge.pipes||(de||(de=ge.pipes),ge.pipes=null,ge.pipesCount=0,ge.flowing=!1,de&&de.emit("unpipe",this,qe)),this;if(!de){var oe=ge.pipes,ve=ge.pipesCount;ge.pipes=null,ge.pipesCount=0,ge.flowing=!1;for(var le=0;le<ve;le++)oe[le].emit("unpipe",this,{hasUnpiped:!1});return this}var Ge=xe(ge.pipes,de);return-1===Ge||(ge.pipes.splice(Ge,1),ge.pipesCount-=1,1===ge.pipesCount&&(ge.pipes=ge.pipes[0]),de.emit("unpipe",this,qe)),this},S.prototype.addListener=S.prototype.on=function(de,ge){var qe=A.prototype.on.call(this,de,ge),oe=this._readableState;return"data"===de?(oe.readableListening=this.listenerCount("readable")>0,!1!==oe.flowing&&this.resume()):"readable"===de&&!oe.endEmitted&&!oe.readableListening&&(oe.readableListening=oe.needReadable=!0,oe.flowing=!1,oe.emittedReadable=!1,E("on readable",oe.length,oe.reading),oe.length?v(this):oe.reading||process.nextTick(De,this)),qe},S.prototype.removeListener=function(de,ge){var qe=A.prototype.removeListener.call(this,de,ge);return"readable"===de&&process.nextTick(ee,this),qe},S.prototype.removeAllListeners=function(de){var ge=A.prototype.removeAllListeners.apply(this,arguments);return("readable"===de||void 0===de)&&process.nextTick(ee,this),ge},S.prototype.resume=function(){var de=this._readableState;return de.flowing||(E("resume"),de.flowing=!de.readableListening,function ot(de,ge){ge.resumeScheduled||(ge.resumeScheduled=!0,process.nextTick(je,de,ge))}(this,de)),de.paused=!1,this},S.prototype.pause=function(){return E("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(E("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},S.prototype.wrap=function(de){var ge=this,qe=this._readableState,oe=!1;for(var ve in de.on("end",function(){if(E("wrapped end"),qe.decoder&&!qe.ended){var Ge=qe.decoder.end();Ge&&Ge.length&&ge.push(Ge)}ge.push(null)}),de.on("data",function(Ge){E("wrapped data"),qe.decoder&&(Ge=qe.decoder.write(Ge)),qe.objectMode&&null==Ge||!(qe.objectMode||Ge&&Ge.length)||ge.push(Ge)||(oe=!0,de.pause())}),de)void 0===this[ve]&&"function"==typeof de[ve]&&(this[ve]=function(We){return function(){return de[We].apply(de,arguments)}}(ve));for(var le=0;le<Me.length;le++)de.on(Me[le],this.emit.bind(this,Me[le]));return this._read=function(Ge){E("wrapped _read",Ge),oe&&(oe=!1,de.resume())},this},"function"==typeof Symbol&&(S.prototype[Symbol.asyncIterator]=function(){return void 0===ae&&(ae=p(457)),ae(this)}),Object.defineProperty(S.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(S.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(S.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(ge){this._readableState&&(this._readableState.flowing=ge)}}),S._fromList=ye,Object.defineProperty(S.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(S.from=function(de,ge){return void 0===fe&&(fe=p(3335)),fe(S,de,ge)})},6307:(ze,q,p)=>{"use strict";ze.exports=P;var e=p(7218).q,t=e.ERR_METHOD_NOT_IMPLEMENTED,y=e.ERR_MULTIPLE_CALLBACK,A=e.ERR_TRANSFORM_ALREADY_TRANSFORMING,l=e.ERR_TRANSFORM_WITH_LENGTH_0,x=p(247);function m(M,I){var k=this._transformState;k.transforming=!1;var V=k.writecb;if(null===V)return this.emit("error",new y);k.writechunk=null,k.writecb=null,null!=I&&this.push(I),V(M);var B=this._readableState;B.reading=!1,(B.needReadable||B.length<B.highWaterMark)&&this._read(B.highWaterMark)}function P(M){if(!(this instanceof P))return new P(M);x.call(this,M),this._transformState={afterTransform:m.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,M&&("function"==typeof M.transform&&(this._transform=M.transform),"function"==typeof M.flush&&(this._flush=M.flush)),this.on("prefinish",d)}function d(){var M=this;"function"!=typeof this._flush||this._readableState.destroyed?E(this,null,null):this._flush(function(I,k){E(M,I,k)})}function E(M,I,k){if(I)return M.emit("error",I);if(null!=k&&M.push(k),M._writableState.length)throw new l;if(M._transformState.transforming)throw new A;return M.push(null)}p(6698)(P,x),P.prototype.push=function(M,I){return this._transformState.needTransform=!1,x.prototype.push.call(this,M,I)},P.prototype._transform=function(M,I,k){k(new t("_transform()"))},P.prototype._write=function(M,I,k){var V=this._transformState;if(V.writecb=k,V.writechunk=M,V.writeencoding=I,!V.transforming){var B=this._readableState;(V.needTransform||B.needReadable||B.length<B.highWaterMark)&&this._read(B.highWaterMark)}},P.prototype._read=function(M){var I=this._transformState;null===I.writechunk||I.transforming?I.needTransform=!0:(I.transforming=!0,this._transform(I.writechunk,I.writeencoding,I.afterTransform))},P.prototype._destroy=function(M,I){x.prototype._destroy.call(this,M,function(k){I(k)})}},6563:(ze,q,p)=>{"use strict";function t(Je){var ye=this;this.next=null,this.entry=null,this.finish=function(){!function je(Je,ye,me){var he=Je.entry;for(Je.entry=null;he;){var xe=he.callback;ye.pendingcb--,xe(me),he=he.next}ye.corkedRequestsFree.next=Je}(ye,Je)}}var y;ze.exports=ue,ue.WritableState=Me;var $,A={deprecate:p(496)},l=p(8240),x=p(9007).Buffer,m=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},E=p(5601),I=p(8782).getHighWaterMark,k=p(7218).q,V=k.ERR_INVALID_ARG_TYPE,B=k.ERR_METHOD_NOT_IMPLEMENTED,W=k.ERR_MULTIPLE_CALLBACK,j=k.ERR_STREAM_CANNOT_PIPE,K=k.ERR_STREAM_DESTROYED,X=k.ERR_STREAM_NULL_VALUES,ie=k.ERR_STREAM_WRITE_AFTER_END,ae=k.ERR_UNKNOWN_ENCODING,fe=E.errorOrDestroy;function se(){}function Me(Je,ye,me){y=y||p(247),"boolean"!=typeof me&&(me=ye instanceof y),this.objectMode=!!(Je=Je||{}).objectMode,me&&(this.objectMode=this.objectMode||!!Je.writableObjectMode),this.highWaterMark=I(this,Je,"writableHighWaterMark",me),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1,this.decodeStrings=!(!1===Je.decodeStrings),this.defaultEncoding=Je.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(xe){!function O(Je,ye){var me=Je._writableState,he=me.sync,xe=me.writecb;if("function"!=typeof xe)throw new W;if(function D(Je){Je.writing=!1,Je.writecb=null,Je.length-=Je.writelen,Je.writelen=0}(me),ye)!function w(Je,ye,me,he,xe){--ye.pendingcb,me?(process.nextTick(xe,he),process.nextTick(De,Je,ye),Je._writableState.errorEmitted=!0,fe(Je,he)):(xe(he),Je._writableState.errorEmitted=!0,fe(Je,he),De(Je,ye))}(Je,me,he,ye,xe);else{var de=H(me)||Je.destroyed;!de&&!me.corked&&!me.bufferProcessing&&me.bufferedRequest&&g(Je,me),he?process.nextTick(v,Je,me,de,xe):v(Je,me,de,xe)}}(ye,xe)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==Je.emitClose,this.autoDestroy=!!Je.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new t(this)}function ue(Je){var ye=this instanceof(y=y||p(247));if(!ye&&!$.call(ue,this))return new ue(Je);this._writableState=new Me(Je,this,ye),this.writable=!0,Je&&("function"==typeof Je.write&&(this._write=Je.write),"function"==typeof Je.writev&&(this._writev=Je.writev),"function"==typeof Je.destroy&&(this._destroy=Je.destroy),"function"==typeof Je.final&&(this._final=Je.final)),l.call(this)}function h(Je,ye,me,he,xe,de,ge){ye.writelen=he,ye.writecb=ge,ye.writing=!0,ye.sync=!0,ye.destroyed?ye.onwrite(new K("write")):me?Je._writev(xe,ye.onwrite):Je._write(xe,de,ye.onwrite),ye.sync=!1}function v(Je,ye,me,he){me||function r(Je,ye){0===ye.length&&ye.needDrain&&(ye.needDrain=!1,Je.emit("drain"))}(Je,ye),ye.pendingcb--,he(),De(Je,ye)}function g(Je,ye){ye.bufferProcessing=!0;var me=ye.bufferedRequest;if(Je._writev&&me&&me.next){var xe=new Array(ye.bufferedRequestCount),de=ye.corkedRequestsFree;de.entry=me;for(var ge=0,qe=!0;me;)xe[ge]=me,me.isBuf||(qe=!1),me=me.next,ge+=1;xe.allBuffers=qe,h(Je,ye,!0,ye.length,xe,"",de.finish),ye.pendingcb++,ye.lastBufferedRequest=null,de.next?(ye.corkedRequestsFree=de.next,de.next=null):ye.corkedRequestsFree=new t(ye),ye.bufferedRequestCount=0}else{for(;me;){var oe=me.chunk;if(h(Je,ye,!1,ye.objectMode?1:oe.length,oe,me.encoding,me.callback),me=me.next,ye.bufferedRequestCount--,ye.writing)break}null===me&&(ye.lastBufferedRequest=null)}ye.bufferedRequest=me,ye.bufferProcessing=!1}function H(Je){return Je.ending&&0===Je.length&&null===Je.bufferedRequest&&!Je.finished&&!Je.writing}function N(Je,ye){Je._final(function(me){ye.pendingcb--,me&&fe(Je,me),ye.prefinished=!0,Je.emit("prefinish"),De(Je,ye)})}function De(Je,ye){var me=H(ye);if(me&&(function ee(Je,ye){!ye.prefinished&&!ye.finalCalled&&("function"!=typeof Je._final||ye.destroyed?(ye.prefinished=!0,Je.emit("prefinish")):(ye.pendingcb++,ye.finalCalled=!0,process.nextTick(N,Je,ye)))}(Je,ye),0===ye.pendingcb&&(ye.finished=!0,Je.emit("finish"),ye.autoDestroy))){var he=Je._readableState;(!he||he.autoDestroy&&he.endEmitted)&&Je.destroy()}return me}p(6698)(ue,l),Me.prototype.getBuffer=function(){for(var ye=this.bufferedRequest,me=[];ye;)me.push(ye),ye=ye.next;return me},function(){try{Object.defineProperty(Me.prototype,"buffer",{get:A.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?($=Function.prototype[Symbol.hasInstance],Object.defineProperty(ue,Symbol.hasInstance,{value:function(ye){return!!$.call(this,ye)||this===ue&&ye&&ye._writableState instanceof Me}})):$=function(ye){return ye instanceof this},ue.prototype.pipe=function(){fe(this,new j)},ue.prototype.write=function(Je,ye,me){var he=this._writableState,xe=!1,de=!he.objectMode&&function d(Je){return x.isBuffer(Je)||Je instanceof m}(Je);return de&&!x.isBuffer(Je)&&(Je=function P(Je){return x.from(Je)}(Je)),"function"==typeof ye&&(me=ye,ye=null),de?ye="buffer":ye||(ye=he.defaultEncoding),"function"!=typeof me&&(me=se),he.ending?function S(Je,ye){var me=new ie;fe(Je,me),process.nextTick(ye,me)}(this,me):(de||function n(Je,ye,me,he){var xe;return null===me?xe=new X:"string"!=typeof me&&!ye.objectMode&&(xe=new V("chunk",["string","Buffer"],me)),!xe||(fe(Je,xe),process.nextTick(he,xe),!1)}(this,he,Je,me))&&(he.pendingcb++,xe=function f(Je,ye,me,he,xe,de){if(!me){var ge=function s(Je,ye,me){return!Je.objectMode&&!1!==Je.decodeStrings&&"string"==typeof ye&&(ye=x.from(ye,me)),ye}(ye,he,xe);he!==ge&&(me=!0,xe="buffer",he=ge)}var qe=ye.objectMode?1:he.length;ye.length+=qe;var oe=ye.length<ye.highWaterMark;if(oe||(ye.needDrain=!0),ye.writing||ye.corked){var ve=ye.lastBufferedRequest;ye.lastBufferedRequest={chunk:he,encoding:xe,isBuf:me,callback:de,next:null},ve?ve.next=ye.lastBufferedRequest:ye.bufferedRequest=ye.lastBufferedRequest,ye.bufferedRequestCount+=1}else h(Je,ye,!1,qe,he,xe,de);return oe}(this,he,de,Je,ye,me)),xe},ue.prototype.cork=function(){this._writableState.corked++},ue.prototype.uncork=function(){var Je=this._writableState;Je.corked&&(Je.corked--,!Je.writing&&!Je.corked&&!Je.bufferProcessing&&Je.bufferedRequest&&g(this,Je))},ue.prototype.setDefaultEncoding=function(ye){if("string"==typeof ye&&(ye=ye.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((ye+"").toLowerCase())>-1))throw new ae(ye);return this._writableState.defaultEncoding=ye,this},Object.defineProperty(ue.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(ue.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),ue.prototype._write=function(Je,ye,me){me(new B("_write()"))},ue.prototype._writev=null,ue.prototype.end=function(Je,ye,me){var he=this._writableState;return"function"==typeof Je?(me=Je,Je=null,ye=null):"function"==typeof ye&&(me=ye,ye=null),null!=Je&&this.write(Je,ye),he.corked&&(he.corked=1,this.uncork()),he.ending||function ot(Je,ye,me){ye.ending=!0,De(Je,ye),me&&(ye.finished?process.nextTick(me):Je.once("finish",me)),ye.ended=!0,Je.writable=!1}(this,he,me),this},Object.defineProperty(ue.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(ue.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(ye){this._writableState&&(this._writableState.destroyed=ye)}}),ue.prototype.destroy=E.destroy,ue.prototype._undestroy=E.undestroy,ue.prototype._destroy=function(Je,ye){ye(Je)}},457:(ze,q,p)=>{"use strict";var e;function t(ie,ae,fe){return ae=function y(ie){var ae=function A(ie,ae){if("object"!=typeof ie||null===ie)return ie;var fe=ie[Symbol.toPrimitive];if(void 0!==fe){var se=fe.call(ie,ae||"default");if("object"!=typeof se)return se;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===ae?String:Number)(ie)}(ie,"string");return"symbol"==typeof ae?ae:String(ae)}(ae),ae in ie?Object.defineProperty(ie,ae,{value:fe,enumerable:!0,configurable:!0,writable:!0}):ie[ae]=fe,ie}var l=p(4618),x=Symbol("lastResolve"),m=Symbol("lastReject"),P=Symbol("error"),d=Symbol("ended"),E=Symbol("lastPromise"),M=Symbol("handlePromise"),I=Symbol("stream");function k(ie,ae){return{value:ie,done:ae}}function V(ie){var ae=ie[x];if(null!==ae){var fe=ie[I].read();null!==fe&&(ie[E]=null,ie[x]=null,ie[m]=null,ae(k(fe,!1)))}}function B(ie){process.nextTick(V,ie)}var j=Object.getPrototypeOf(function(){}),K=Object.setPrototypeOf((t(e={get stream(){return this[I]},next:function(){var ae=this,fe=this[P];if(null!==fe)return Promise.reject(fe);if(this[d])return Promise.resolve(k(void 0,!0));if(this[I].destroyed)return new Promise(function(ue,S){process.nextTick(function(){ae[P]?S(ae[P]):ue(k(void 0,!0))})});var Me,se=this[E];if(se)Me=new Promise(function W(ie,ae){return function(fe,se){ie.then(function(){ae[d]?fe(k(void 0,!0)):ae[M](fe,se)},se)}}(se,this));else{var $=this[I].read();if(null!==$)return Promise.resolve(k($,!1));Me=new Promise(this[M])}return this[E]=Me,Me}},Symbol.asyncIterator,function(){return this}),t(e,"return",function(){var ae=this;return new Promise(function(fe,se){ae[I].destroy(null,function(Me){Me?se(Me):fe(k(void 0,!0))})})}),e),j);ze.exports=function(ae){var fe,se=Object.create(K,(t(fe={},I,{value:ae,writable:!0}),t(fe,x,{value:null,writable:!0}),t(fe,m,{value:null,writable:!0}),t(fe,P,{value:null,writable:!0}),t(fe,d,{value:ae._readableState.endEmitted,writable:!0}),t(fe,M,{value:function($,ue){var S=se[I].read();S?(se[E]=null,se[x]=null,se[m]=null,$(k(S,!1))):(se[x]=$,se[m]=ue)},writable:!0}),fe));return se[E]=null,l(ae,function(Me){if(Me&&"ERR_STREAM_PREMATURE_CLOSE"!==Me.code){var $=se[m];return null!==$&&(se[E]=null,se[x]=null,se[m]=null,$(Me)),void(se[P]=Me)}var ue=se[x];null!==ue&&(se[E]=null,se[x]=null,se[m]=null,ue(k(void 0,!0))),se[d]=!0}),ae.on("readable",B.bind(null,se)),se}},2960:(ze,q,p)=>{"use strict";function e(B,W){var j=Object.keys(B);if(Object.getOwnPropertySymbols){var K=Object.getOwnPropertySymbols(B);W&&(K=K.filter(function(X){return Object.getOwnPropertyDescriptor(B,X).enumerable})),j.push.apply(j,K)}return j}function t(B){for(var W=1;W<arguments.length;W++){var j=null!=arguments[W]?arguments[W]:{};W%2?e(Object(j),!0).forEach(function(K){y(B,K,j[K])}):Object.getOwnPropertyDescriptors?Object.defineProperties(B,Object.getOwnPropertyDescriptors(j)):e(Object(j)).forEach(function(K){Object.defineProperty(B,K,Object.getOwnPropertyDescriptor(j,K))})}return B}function y(B,W,j){return(W=m(W))in B?Object.defineProperty(B,W,{value:j,enumerable:!0,configurable:!0,writable:!0}):B[W]=j,B}function l(B,W){for(var j=0;j<W.length;j++){var K=W[j];K.enumerable=K.enumerable||!1,K.configurable=!0,"value"in K&&(K.writable=!0),Object.defineProperty(B,m(K.key),K)}}function m(B){var W=function P(B,W){if("object"!=typeof B||null===B)return B;var j=B[Symbol.toPrimitive];if(void 0!==j){var K=j.call(B,W||"default");if("object"!=typeof K)return K;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===W?String:Number)(B)}(B,"string");return"symbol"==typeof W?W:String(W)}var E=p(9007).Buffer,I=p(2361).inspect,k=I&&I.custom||"inspect";function V(B,W,j){E.prototype.copy.call(B,W,j)}ze.exports=function(){function B(){(function A(B,W){if(!(B instanceof W))throw new TypeError("Cannot call a class as a function")})(this,B),this.head=null,this.tail=null,this.length=0}return function x(B,W,j){W&&l(B.prototype,W),j&&l(B,j),Object.defineProperty(B,"prototype",{writable:!1})}(B,[{key:"push",value:function(j){var K={data:j,next:null};this.length>0?this.tail.next=K:this.head=K,this.tail=K,++this.length}},{key:"unshift",value:function(j){var K={data:j,next:this.head};0===this.length&&(this.tail=K),this.head=K,++this.length}},{key:"shift",value:function(){if(0!==this.length){var j=this.head.data;return this.head=1===this.length?this.tail=null:this.head.next,--this.length,j}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(j){if(0===this.length)return"";for(var K=this.head,X=""+K.data;K=K.next;)X+=j+K.data;return X}},{key:"concat",value:function(j){if(0===this.length)return E.alloc(0);for(var K=E.allocUnsafe(j>>>0),X=this.head,ie=0;X;)V(X.data,K,ie),ie+=X.data.length,X=X.next;return K}},{key:"consume",value:function(j,K){var X;return j<this.head.data.length?(X=this.head.data.slice(0,j),this.head.data=this.head.data.slice(j)):X=j===this.head.data.length?this.shift():K?this._getString(j):this._getBuffer(j),X}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(j){var K=this.head,X=1,ie=K.data;for(j-=ie.length;K=K.next;){var ae=K.data,fe=j>ae.length?ae.length:j;if(ie+=fe===ae.length?ae:ae.slice(0,j),0==(j-=fe)){fe===ae.length?(++X,this.head=K.next?K.next:this.tail=null):(this.head=K,K.data=ae.slice(fe));break}++X}return this.length-=X,ie}},{key:"_getBuffer",value:function(j){var K=E.allocUnsafe(j),X=this.head,ie=1;for(X.data.copy(K),j-=X.data.length;X=X.next;){var ae=X.data,fe=j>ae.length?ae.length:j;if(ae.copy(K,K.length-j,0,fe),0==(j-=fe)){fe===ae.length?(++ie,this.head=X.next?X.next:this.tail=null):(this.head=X,X.data=ae.slice(fe));break}++ie}return this.length-=ie,K}},{key:k,value:function(j,K){return I(this,t(t({},K),{},{depth:0,customInspect:!1}))}}]),B}()},5601:ze=>{"use strict";function p(l,x){y(l,x),e(l)}function e(l){l._writableState&&!l._writableState.emitClose||l._readableState&&!l._readableState.emitClose||l.emit("close")}function y(l,x){l.emit("error",x)}ze.exports={destroy:function q(l,x){var m=this;return this._readableState&&this._readableState.destroyed||this._writableState&&this._writableState.destroyed?(x?x(l):l&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(y,this,l)):process.nextTick(y,this,l)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(l||null,function(E){!x&&E?m._writableState?m._writableState.errorEmitted?process.nextTick(e,m):(m._writableState.errorEmitted=!0,process.nextTick(p,m,E)):process.nextTick(p,m,E):x?(process.nextTick(e,m),x(E)):process.nextTick(e,m)}),this)},undestroy:function t(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function A(l,x){var m=l._readableState,P=l._writableState;m&&m.autoDestroy||P&&P.autoDestroy?l.destroy(x):l.emit("error",x)}}},4618:(ze,q,p)=>{"use strict";var e=p(7218).q.ERR_STREAM_PREMATURE_CLOSE;function y(){}ze.exports=function l(x,m,P){if("function"==typeof m)return l(x,null,m);m||(m={}),P=function t(x){var m=!1;return function(){if(!m){m=!0;for(var P=arguments.length,d=new Array(P),E=0;E<P;E++)d[E]=arguments[E];x.apply(this,d)}}}(P||y);var d=m.readable||!1!==m.readable&&x.readable,E=m.writable||!1!==m.writable&&x.writable,M=function(){x.writable||k()},I=x._writableState&&x._writableState.finished,k=function(){E=!1,I=!0,d||P.call(x)},V=x._readableState&&x._readableState.endEmitted,B=function(){d=!1,V=!0,E||P.call(x)},W=function(ie){P.call(x,ie)},j=function(){var ie;return d&&!V?((!x._readableState||!x._readableState.ended)&&(ie=new e),P.call(x,ie)):E&&!I?((!x._writableState||!x._writableState.ended)&&(ie=new e),P.call(x,ie)):void 0},K=function(){x.req.on("finish",k)};return function A(x){return x.setHeader&&"function"==typeof x.abort}(x)?(x.on("complete",k),x.on("abort",j),x.req?K():x.on("request",K)):E&&!x._writableState&&(x.on("end",M),x.on("close",M)),x.on("end",B),x.on("finish",k),!1!==m.error&&x.on("error",W),x.on("close",j),function(){x.removeListener("complete",k),x.removeListener("abort",j),x.removeListener("request",K),x.req&&x.req.removeListener("finish",k),x.removeListener("end",M),x.removeListener("close",M),x.removeListener("finish",k),x.removeListener("end",B),x.removeListener("error",W),x.removeListener("close",j)}}},3335:ze=>{ze.exports=function(){throw new Error("Readable.from is not available in the browser")}},4514:(ze,q,p)=>{"use strict";var e,y=p(7218).q,A=y.ERR_MISSING_ARGS,l=y.ERR_STREAM_DESTROYED;function x(k){if(k)throw k}function d(k){k()}function E(k,V){return k.pipe(V)}ze.exports=function I(){for(var k=arguments.length,V=new Array(k),B=0;B<k;B++)V[B]=arguments[B];var W=function M(k){return k.length&&"function"==typeof k[k.length-1]?k.pop():x}(V);if(Array.isArray(V[0])&&(V=V[0]),V.length<2)throw new A("streams");var j,K=V.map(function(X,ie){var ae=ie<V.length-1;return function P(k,V,B,W){W=function t(k){var V=!1;return function(){V||(V=!0,k.apply(void 0,arguments))}}(W);var j=!1;k.on("close",function(){j=!0}),void 0===e&&(e=p(4618)),e(k,{readable:V,writable:B},function(X){if(X)return W(X);j=!0,W()});var K=!1;return function(X){if(!j&&!K){if(K=!0,function m(k){return k.setHeader&&"function"==typeof k.abort}(k))return k.abort();if("function"==typeof k.destroy)return k.destroy();W(X||new l("pipe"))}}}(X,ae,ie>0,function(se){j||(j=se),se&&K.forEach(d),!ae&&(K.forEach(d),W(j))})});return V.reduce(E)}},8782:(ze,q,p)=>{"use strict";var e=p(7218).q.ERR_INVALID_OPT_VALUE;ze.exports={getHighWaterMark:function y(A,l,x,m){var P=function t(A,l,x){return null!=A.highWaterMark?A.highWaterMark:l?A[x]:null}(l,m,x);if(null!=P){if(!isFinite(P)||Math.floor(P)!==P||P<0)throw new e(m?x:"highWaterMark",P);return Math.floor(P)}return A.objectMode?16:16384}}},8240:(ze,q,p)=>{ze.exports=p(2016).EventEmitter},6745:(ze,q,p)=>{(q=ze.exports=p(309)).Stream=q,q.Readable=q,q.Writable=p(6563),q.Duplex=p(247),q.Transform=p(6307),q.PassThrough=p(5096),q.finished=p(4618),q.pipeline=p(4514)},2178:ze=>{"use strict";function q(t){return t instanceof Buffer?Buffer.from(t):new t.constructor(t.buffer.slice(),t.byteOffset,t.length)}ze.exports=function p(t){return(t=t||{}).circles?function e(t){var y=[],A=[];return t.proto?function m(P){if("object"!=typeof P||null===P)return P;if(P instanceof Date)return new Date(P);if(Array.isArray(P))return l(P,m);if(P instanceof Map)return new Map(l(Array.from(P),m));if(P instanceof Set)return new Set(l(Array.from(P),m));var d={};for(var E in y.push(P),A.push(d),P){var M=P[E];if("object"!=typeof M||null===M)d[E]=M;else if(M instanceof Date)d[E]=new Date(M);else if(M instanceof Map)d[E]=new Map(l(Array.from(M),m));else if(M instanceof Set)d[E]=new Set(l(Array.from(M),m));else if(ArrayBuffer.isView(M))d[E]=q(M);else{var I=y.indexOf(M);d[E]=-1!==I?A[I]:m(M)}}return y.pop(),A.pop(),d}:function x(P){if("object"!=typeof P||null===P)return P;if(P instanceof Date)return new Date(P);if(Array.isArray(P))return l(P,x);if(P instanceof Map)return new Map(l(Array.from(P),x));if(P instanceof Set)return new Set(l(Array.from(P),x));var d={};for(var E in y.push(P),A.push(d),P)if(!1!==Object.hasOwnProperty.call(P,E)){var M=P[E];if("object"!=typeof M||null===M)d[E]=M;else if(M instanceof Date)d[E]=new Date(M);else if(M instanceof Map)d[E]=new Map(l(Array.from(M),x));else if(M instanceof Set)d[E]=new Set(l(Array.from(M),x));else if(ArrayBuffer.isView(M))d[E]=q(M);else{var I=y.indexOf(M);d[E]=-1!==I?A[I]:x(M)}}return y.pop(),A.pop(),d};function l(P,d){for(var E=Object.keys(P),M=new Array(E.length),I=0;I<E.length;I++){var k=E[I],V=P[k];if("object"!=typeof V||null===V)M[k]=V;else if(V instanceof Date)M[k]=new Date(V);else if(ArrayBuffer.isView(V))M[k]=q(V);else{var B=y.indexOf(V);M[k]=-1!==B?A[B]:d(V)}}return M}}(t):t.proto?function l(x){if("object"!=typeof x||null===x)return x;if(x instanceof Date)return new Date(x);if(Array.isArray(x))return y(x,l);if(x instanceof Map)return new Map(y(Array.from(x),l));if(x instanceof Set)return new Set(y(Array.from(x),l));var m={};for(var P in x){var d=x[P];m[P]="object"!=typeof d||null===d?d:d instanceof Date?new Date(d):d instanceof Map?new Map(y(Array.from(d),l)):d instanceof Set?new Set(y(Array.from(d),l)):ArrayBuffer.isView(d)?q(d):l(d)}return m}:function A(x){if("object"!=typeof x||null===x)return x;if(x instanceof Date)return new Date(x);if(Array.isArray(x))return y(x,A);if(x instanceof Map)return new Map(y(Array.from(x),A));if(x instanceof Set)return new Set(y(Array.from(x),A));var m={};for(var P in x)if(!1!==Object.hasOwnProperty.call(x,P)){var d=x[P];m[P]="object"!=typeof d||null===d?d:d instanceof Date?new Date(d):d instanceof Map?new Map(y(Array.from(d),A)):d instanceof Set?new Set(y(Array.from(d),A)):ArrayBuffer.isView(d)?q(d):A(d)}return m};function y(x,m){for(var P=Object.keys(x),d=new Array(P.length),E=0;E<P.length;E++){var M=P[E],I=x[M];d[M]="object"!=typeof I||null===I?I:I instanceof Date?new Date(I):ArrayBuffer.isView(I)?q(I):m(I)}return d}}},9706:(ze,q,p)=>{"use strict";var e=p(9007).Buffer,t=p(6698),y=p(380),A=new Array(16),l=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],x=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],m=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],P=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],d=[0,1518500249,1859775393,2400959708,2840853838],E=[1352829926,1548603684,1836072691,2053994217,0];function M(){y.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function I(K,X){return K<<X|K>>>32-X}function k(K,X,ie,ae,fe,se,Me,$){return I(K+(X^ie^ae)+se+Me|0,$)+fe|0}function V(K,X,ie,ae,fe,se,Me,$){return I(K+(X&ie|~X&ae)+se+Me|0,$)+fe|0}function B(K,X,ie,ae,fe,se,Me,$){return I(K+((X|~ie)^ae)+se+Me|0,$)+fe|0}function W(K,X,ie,ae,fe,se,Me,$){return I(K+(X&ae|ie&~ae)+se+Me|0,$)+fe|0}function j(K,X,ie,ae,fe,se,Me,$){return I(K+(X^(ie|~ae))+se+Me|0,$)+fe|0}t(M,y),M.prototype._update=function(){for(var K=A,X=0;X<16;++X)K[X]=this._block.readInt32LE(4*X);for(var ie=0|this._a,ae=0|this._b,fe=0|this._c,se=0|this._d,Me=0|this._e,$=0|this._a,ue=0|this._b,S=0|this._c,n=0|this._d,s=0|this._e,f=0;f<80;f+=1){var h,w;f<16?(h=k(ie,ae,fe,se,Me,K[l[f]],d[0],m[f]),w=j($,ue,S,n,s,K[x[f]],E[0],P[f])):f<32?(h=V(ie,ae,fe,se,Me,K[l[f]],d[1],m[f]),w=W($,ue,S,n,s,K[x[f]],E[1],P[f])):f<48?(h=B(ie,ae,fe,se,Me,K[l[f]],d[2],m[f]),w=B($,ue,S,n,s,K[x[f]],E[2],P[f])):f<64?(h=W(ie,ae,fe,se,Me,K[l[f]],d[3],m[f]),w=V($,ue,S,n,s,K[x[f]],E[3],P[f])):(h=j(ie,ae,fe,se,Me,K[l[f]],d[4],m[f]),w=k($,ue,S,n,s,K[x[f]],E[4],P[f])),ie=Me,Me=se,se=I(fe,10),fe=ae,ae=h,$=s,s=n,n=I(S,10),S=ue,ue=w}var D=this._b+fe+n|0;this._b=this._c+se+s|0,this._c=this._d+Me+$|0,this._d=this._e+ie+ue|0,this._e=this._a+ae+S|0,this._a=D},M.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var K=e.alloc?e.alloc(20):new e(20);return K.writeInt32LE(this._a,0),K.writeInt32LE(this._b,4),K.writeInt32LE(this._c,8),K.writeInt32LE(this._d,12),K.writeInt32LE(this._e,16),K},ze.exports=M},5619:(ze,q,p)=>{"use strict";p.d(q,{X:()=>t});var e=p(8645);class t extends e.x{constructor(A){super(),this._value=A}get value(){return this.getValue()}_subscribe(A){const l=super._subscribe(A);return!l.closed&&A.next(this._value),l}getValue(){const{hasError:A,thrownError:l,_value:x}=this;if(A)throw l;return this._throwIfClosed(),x}next(A){super.next(this._value=A)}}},5592:(ze,q,p)=>{"use strict";p.d(q,{y:()=>P});var e=p(305),t=p(7394),y=p(4850),A=p(8407),l=p(2653),x=p(4674),m=p(1441);let P=(()=>{class I{constructor(V){V&&(this._subscribe=V)}lift(V){const B=new I;return B.source=this,B.operator=V,B}subscribe(V,B,W){const j=function M(I){return I&&I instanceof e.Lv||function E(I){return I&&(0,x.m)(I.next)&&(0,x.m)(I.error)&&(0,x.m)(I.complete)}(I)&&(0,t.Nn)(I)}(V)?V:new e.Hp(V,B,W);return(0,m.x)(()=>{const{operator:K,source:X}=this;j.add(K?K.call(j,X):X?this._subscribe(j):this._trySubscribe(j))}),j}_trySubscribe(V){try{return this._subscribe(V)}catch(B){V.error(B)}}forEach(V,B){return new(B=d(B))((W,j)=>{const K=new e.Hp({next:X=>{try{V(X)}catch(ie){j(ie),K.unsubscribe()}},error:j,complete:W});this.subscribe(K)})}_subscribe(V){var B;return null===(B=this.source)||void 0===B?void 0:B.subscribe(V)}[y.L](){return this}pipe(...V){return(0,A.U)(V)(this)}toPromise(V){return new(V=d(V))((B,W)=>{let j;this.subscribe(K=>j=K,K=>W(K),()=>B(j))})}}return I.create=k=>new I(k),I})();function d(I){var k;return null!==(k=I??l.config.Promise)&&void 0!==k?k:Promise}},7328:(ze,q,p)=>{"use strict";p.d(q,{t:()=>y});var e=p(8645),t=p(4552);class y extends e.x{constructor(l=1/0,x=1/0,m=t.l){super(),this._bufferSize=l,this._windowTime=x,this._timestampProvider=m,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=x===1/0,this._bufferSize=Math.max(1,l),this._windowTime=Math.max(1,x)}next(l){const{isStopped:x,_buffer:m,_infiniteTimeWindow:P,_timestampProvider:d,_windowTime:E}=this;x||(m.push(l),!P&&m.push(d.now()+E)),this._trimBuffer(),super.next(l)}_subscribe(l){this._throwIfClosed(),this._trimBuffer();const x=this._innerSubscribe(l),{_infiniteTimeWindow:m,_buffer:P}=this,d=P.slice();for(let E=0;E<d.length&&!l.closed;E+=m?1:2)l.next(d[E]);return this._checkFinalizedStatuses(l),x}_trimBuffer(){const{_bufferSize:l,_timestampProvider:x,_buffer:m,_infiniteTimeWindow:P}=this,d=(P?1:2)*l;if(l<1/0&&d<m.length&&m.splice(0,m.length-d),!P){const E=x.now();let M=0;for(let I=1;I<m.length&&m[I]<=E;I+=2)M=I;M&&m.splice(0,M+1)}}}},8645:(ze,q,p)=>{"use strict";p.d(q,{u:()=>P,x:()=>m});var e=p(5592),t=p(7394);const A=(0,p(2306).d)(d=>function(){d(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var l=p(9039),x=p(1441);let m=(()=>{class d extends e.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(M){const I=new P(this,this);return I.operator=M,I}_throwIfClosed(){if(this.closed)throw new A}next(M){(0,x.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const I of this.currentObservers)I.next(M)}})}error(M){(0,x.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=M;const{observers:I}=this;for(;I.length;)I.shift().error(M)}})}complete(){(0,x.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:M}=this;for(;M.length;)M.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var M;return(null===(M=this.observers)||void 0===M?void 0:M.length)>0}_trySubscribe(M){return this._throwIfClosed(),super._trySubscribe(M)}_subscribe(M){return this._throwIfClosed(),this._checkFinalizedStatuses(M),this._innerSubscribe(M)}_innerSubscribe(M){const{hasError:I,isStopped:k,observers:V}=this;return I||k?t.Lc:(this.currentObservers=null,V.push(M),new t.w0(()=>{this.currentObservers=null,(0,l.P)(V,M)}))}_checkFinalizedStatuses(M){const{hasError:I,thrownError:k,isStopped:V}=this;I?M.error(k):V&&M.complete()}asObservable(){const M=new e.y;return M.source=this,M}}return d.create=(E,M)=>new P(E,M),d})();class P extends m{constructor(E,M){super(),this.destination=E,this.source=M}next(E){var M,I;null===(I=null===(M=this.destination)||void 0===M?void 0:M.next)||void 0===I||I.call(M,E)}error(E){var M,I;null===(I=null===(M=this.destination)||void 0===M?void 0:M.error)||void 0===I||I.call(M,E)}complete(){var E,M;null===(M=null===(E=this.destination)||void 0===E?void 0:E.complete)||void 0===M||M.call(E)}_subscribe(E){var M,I;return null!==(I=null===(M=this.source)||void 0===M?void 0:M.subscribe(E))&&void 0!==I?I:t.Lc}}},305:(ze,q,p)=>{"use strict";p.d(q,{Hp:()=>W,Lv:()=>I});var e=p(4674),t=p(7394),y=p(2653),A=p(3894),l=p(2420);const x=d("C",void 0,void 0);function d(ae,fe,se){return{kind:ae,value:fe,error:se}}var E=p(7599),M=p(1441);class I extends t.w0{constructor(fe){super(),this.isStopped=!1,fe?(this.destination=fe,(0,t.Nn)(fe)&&fe.add(this)):this.destination=ie}static create(fe,se,Me){return new W(fe,se,Me)}next(fe){this.isStopped?X(function P(ae){return d("N",ae,void 0)}(fe),this):this._next(fe)}error(fe){this.isStopped?X(function m(ae){return d("E",void 0,ae)}(fe),this):(this.isStopped=!0,this._error(fe))}complete(){this.isStopped?X(x,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(fe){this.destination.next(fe)}_error(fe){try{this.destination.error(fe)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const k=Function.prototype.bind;function V(ae,fe){return k.call(ae,fe)}class B{constructor(fe){this.partialObserver=fe}next(fe){const{partialObserver:se}=this;if(se.next)try{se.next(fe)}catch(Me){j(Me)}}error(fe){const{partialObserver:se}=this;if(se.error)try{se.error(fe)}catch(Me){j(Me)}else j(fe)}complete(){const{partialObserver:fe}=this;if(fe.complete)try{fe.complete()}catch(se){j(se)}}}class W extends I{constructor(fe,se,Me){let $;if(super(),(0,e.m)(fe)||!fe)$={next:fe??void 0,error:se??void 0,complete:Me??void 0};else{let ue;this&&y.config.useDeprecatedNextContext?(ue=Object.create(fe),ue.unsubscribe=()=>this.unsubscribe(),$={next:fe.next&&V(fe.next,ue),error:fe.error&&V(fe.error,ue),complete:fe.complete&&V(fe.complete,ue)}):$=fe}this.destination=new B($)}}function j(ae){y.config.useDeprecatedSynchronousErrorHandling?(0,M.O)(ae):(0,A.h)(ae)}function X(ae,fe){const{onStoppedNotification:se}=y.config;se&&E.z.setTimeout(()=>se(ae,fe))}const ie={closed:!0,next:l.Z,error:function K(ae){throw ae},complete:l.Z}},7394:(ze,q,p)=>{"use strict";p.d(q,{Lc:()=>x,w0:()=>l,Nn:()=>m});var e=p(4674);const y=(0,p(2306).d)(d=>function(M){d(this),this.message=M?`${M.length} errors occurred during unsubscription:\n${M.map((I,k)=>`${k+1}) ${I.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=M});var A=p(9039);class l{constructor(E){this.initialTeardown=E,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let E;if(!this.closed){this.closed=!0;const{_parentage:M}=this;if(M)if(this._parentage=null,Array.isArray(M))for(const V of M)V.remove(this);else M.remove(this);const{initialTeardown:I}=this;if((0,e.m)(I))try{I()}catch(V){E=V instanceof y?V.errors:[V]}const{_finalizers:k}=this;if(k){this._finalizers=null;for(const V of k)try{P(V)}catch(B){E=E??[],B instanceof y?E=[...E,...B.errors]:E.push(B)}}if(E)throw new y(E)}}add(E){var M;if(E&&E!==this)if(this.closed)P(E);else{if(E instanceof l){if(E.closed||E._hasParent(this))return;E._addParent(this)}(this._finalizers=null!==(M=this._finalizers)&&void 0!==M?M:[]).push(E)}}_hasParent(E){const{_parentage:M}=this;return M===E||Array.isArray(M)&&M.includes(E)}_addParent(E){const{_parentage:M}=this;this._parentage=Array.isArray(M)?(M.push(E),M):M?[M,E]:E}_removeParent(E){const{_parentage:M}=this;M===E?this._parentage=null:Array.isArray(M)&&(0,A.P)(M,E)}remove(E){const{_finalizers:M}=this;M&&(0,A.P)(M,E),E instanceof l&&E._removeParent(this)}}l.EMPTY=(()=>{const d=new l;return d.closed=!0,d})();const x=l.EMPTY;function m(d){return d instanceof l||d&&"closed"in d&&(0,e.m)(d.remove)&&(0,e.m)(d.add)&&(0,e.m)(d.unsubscribe)}function P(d){(0,e.m)(d)?d():d.unsubscribe()}},2653:(ze,q,p)=>{"use strict";p.d(q,{config:()=>e});const e={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},3168:(ze,q,p)=>{"use strict";p.d(q,{c:()=>x});var e=p(5592),t=p(7394),y=p(6196),A=p(8251),l=p(9360);class x extends e.y{constructor(P,d){super(),this.source=P,this.subjectFactory=d,this._subject=null,this._refCount=0,this._connection=null,(0,l.A)(P)&&(this.lift=P.lift)}_subscribe(P){return this.getSubject().subscribe(P)}getSubject(){const P=this._subject;return(!P||P.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:P}=this;this._subject=this._connection=null,P?.unsubscribe()}connect(){let P=this._connection;if(!P){P=this._connection=new t.w0;const d=this.getSubject();P.add(this.source.subscribe((0,A.x)(d,void 0,()=>{this._teardown(),d.complete()},E=>{this._teardown(),d.error(E)},()=>this._teardown()))),P.closed&&(this._connection=null,P=t.w0.EMPTY)}return P}refCount(){return(0,y.x)()(this)}}},2572:(ze,q,p)=>{"use strict";p.d(q,{a:()=>E});var e=p(5592),t=p(7453),y=p(9666),A=p(2737),l=p(7400),x=p(9940),m=p(2714),P=p(8251),d=p(7103);function E(...k){const V=(0,x.yG)(k),B=(0,x.jO)(k),{args:W,keys:j}=(0,t.D)(k);if(0===W.length)return(0,y.D)([],V);const K=new e.y(function M(k,V,B=A.y){return W=>{I(V,()=>{const{length:j}=k,K=new Array(j);let X=j,ie=j;for(let ae=0;ae<j;ae++)I(V,()=>{const fe=(0,y.D)(k[ae],V);let se=!1;fe.subscribe((0,P.x)(W,Me=>{K[ae]=Me,se||(se=!0,ie--),ie||W.next(B(K.slice()))},()=>{--X||W.complete()}))},W)},W)}}(W,V,j?X=>(0,m.n)(j,X):A.y));return B?K.pipe((0,l.Z)(B)):K}function I(k,V,B){k?(0,d.f)(B,k,V):V()}},5211:(ze,q,p)=>{"use strict";p.d(q,{z:()=>l});var e=p(7537),y=p(9940),A=p(9666);function l(...x){return function t(){return(0,e.J)(1)}()((0,A.D)(x,(0,y.yG)(x)))}},4911:(ze,q,p)=>{"use strict";p.d(q,{P:()=>y});var e=p(5592),t=p(4829);function y(A){return new e.y(l=>{(0,t.Xf)(A()).subscribe(l)})}},6232:(ze,q,p)=>{"use strict";p.d(q,{E:()=>t});const t=new(p(5592).y)(l=>l.complete())},9315:(ze,q,p)=>{"use strict";p.d(q,{D:()=>P});var e=p(5592),t=p(7453),y=p(4829),A=p(9940),l=p(8251),x=p(7400),m=p(2714);function P(...d){const E=(0,A.jO)(d),{args:M,keys:I}=(0,t.D)(d),k=new e.y(V=>{const{length:B}=M;if(!B)return void V.complete();const W=new Array(B);let j=B,K=B;for(let X=0;X<B;X++){let ie=!1;(0,y.Xf)(M[X]).subscribe((0,l.x)(V,ae=>{ie||(ie=!0,K--),W[X]=ae},()=>j--,void 0,()=>{(!j||!ie)&&(K||V.next(I?(0,m.n)(I,W):W),V.complete())}))}});return E?k.pipe((0,x.Z)(E)):k}},9666:(ze,q,p)=>{"use strict";p.d(q,{D:()=>se});var e=p(4829),t=p(3093),y=p(9360);function A(Me,$=0){return(0,y.e)((ue,S)=>{S.add(Me.schedule(()=>ue.subscribe(S),$))})}var m=p(5592),d=p(4971),E=p(4674),M=p(7103);function k(Me,$){if(!Me)throw new Error("Iterable cannot be null");return new m.y(ue=>{(0,M.f)(ue,$,()=>{const S=Me[Symbol.asyncIterator]();(0,M.f)(ue,$,()=>{S.next().then(n=>{n.done?ue.complete():ue.next(n.value)})},0,!0)})})}var V=p(8382),B=p(4026),W=p(4266),j=p(3664),K=p(5726),X=p(9853),ie=p(541);function se(Me,$){return $?function fe(Me,$){if(null!=Me){if((0,V.c)(Me))return function l(Me,$){return(0,e.Xf)(Me).pipe(A($),(0,t.Q)($))}(Me,$);if((0,W.z)(Me))return function P(Me,$){return new m.y(ue=>{let S=0;return $.schedule(function(){S===Me.length?ue.complete():(ue.next(Me[S++]),ue.closed||this.schedule())})})}(Me,$);if((0,B.t)(Me))return function x(Me,$){return(0,e.Xf)(Me).pipe(A($),(0,t.Q)($))}(Me,$);if((0,K.D)(Me))return k(Me,$);if((0,j.T)(Me))return function I(Me,$){return new m.y(ue=>{let S;return(0,M.f)(ue,$,()=>{S=Me[d.h](),(0,M.f)(ue,$,()=>{let n,s;try{({value:n,done:s}=S.next())}catch(f){return void ue.error(f)}s?ue.complete():ue.next(n)},0,!0)}),()=>(0,E.m)(S?.return)&&S.return()})}(Me,$);if((0,ie.L)(Me))return function ae(Me,$){return k((0,ie.Q)(Me),$)}(Me,$)}throw(0,X.z)(Me)}(Me,$):(0,e.Xf)(Me)}},2438:(ze,q,p)=>{"use strict";p.d(q,{R:()=>E});var e=p(4829),t=p(5592),y=p(1631),A=p(4266),l=p(4674),x=p(7400);const m=["addListener","removeListener"],P=["addEventListener","removeEventListener"],d=["on","off"];function E(B,W,j,K){if((0,l.m)(j)&&(K=j,j=void 0),K)return E(B,W,j).pipe((0,x.Z)(K));const[X,ie]=function V(B){return(0,l.m)(B.addEventListener)&&(0,l.m)(B.removeEventListener)}(B)?P.map(ae=>fe=>B[ae](W,fe,j)):function I(B){return(0,l.m)(B.addListener)&&(0,l.m)(B.removeListener)}(B)?m.map(M(B,W)):function k(B){return(0,l.m)(B.on)&&(0,l.m)(B.off)}(B)?d.map(M(B,W)):[];if(!X&&(0,A.z)(B))return(0,y.z)(ae=>E(ae,W,j))((0,e.Xf)(B));if(!X)throw new TypeError("Invalid event target");return new t.y(ae=>{const fe=(...se)=>ae.next(1<se.length?se:se[0]);return X(fe),()=>ie(fe)})}function M(B,W){return j=>K=>B[j](W,K)}},4829:(ze,q,p)=>{"use strict";p.d(q,{Xf:()=>k});var e=p(7582),t=p(4266),y=p(4026),A=p(5592),l=p(8382),x=p(5726),m=p(9853),P=p(3664),d=p(541),E=p(4674),M=p(3894),I=p(4850);function k(ae){if(ae instanceof A.y)return ae;if(null!=ae){if((0,l.c)(ae))return function V(ae){return new A.y(fe=>{const se=ae[I.L]();if((0,E.m)(se.subscribe))return se.subscribe(fe);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(ae);if((0,t.z)(ae))return function B(ae){return new A.y(fe=>{for(let se=0;se<ae.length&&!fe.closed;se++)fe.next(ae[se]);fe.complete()})}(ae);if((0,y.t)(ae))return function W(ae){return new A.y(fe=>{ae.then(se=>{fe.closed||(fe.next(se),fe.complete())},se=>fe.error(se)).then(null,M.h)})}(ae);if((0,x.D)(ae))return K(ae);if((0,P.T)(ae))return function j(ae){return new A.y(fe=>{for(const se of ae)if(fe.next(se),fe.closed)return;fe.complete()})}(ae);if((0,d.L)(ae))return function X(ae){return K((0,d.Q)(ae))}(ae)}throw(0,m.z)(ae)}function K(ae){return new A.y(fe=>{(function ie(ae,fe){var se,Me,$,ue;return(0,e.mG)(this,void 0,void 0,function*(){try{for(se=(0,e.KL)(ae);!(Me=yield se.next()).done;)if(fe.next(Me.value),fe.closed)return}catch(S){$={error:S}}finally{try{Me&&!Me.done&&(ue=se.return)&&(yield ue.call(se))}finally{if($)throw $.error}}fe.complete()})})(ae,fe).catch(se=>fe.error(se))})}},3019:(ze,q,p)=>{"use strict";p.d(q,{T:()=>x});var e=p(7537),t=p(4829),y=p(6232),A=p(9940),l=p(9666);function x(...m){const P=(0,A.yG)(m),d=(0,A._6)(m,1/0),E=m;return E.length?1===E.length?(0,t.Xf)(E[0]):(0,e.J)(d)((0,l.D)(E,P)):y.E}},2096:(ze,q,p)=>{"use strict";p.d(q,{of:()=>y});var e=p(9940),t=p(9666);function y(...A){const l=(0,e.yG)(A);return(0,t.D)(A,l)}},8504:(ze,q,p)=>{"use strict";p.d(q,{_:()=>y});var e=p(5592),t=p(4674);function y(A,l){const x=(0,t.m)(A)?A:()=>A,m=P=>P.error(x());return new e.y(l?P=>l.schedule(m,0,P):m)}},9080:(ze,q,p)=>{"use strict";p.d(q,{H:()=>l});var e=p(5592),t=p(6321),y=p(671),A=p(93);function l(x=0,m,P=t.P){let d=-1;return null!=m&&((0,y.K)(m)?P=m:d=m),new e.y(E=>{let M=(0,A.q)(x)?+x-P.now():x;M<0&&(M=0);let I=0;return P.schedule(function(){E.closed||(E.next(I++),0<=d?this.schedule(void 0,d):E.complete())},M)})}},8251:(ze,q,p)=>{"use strict";p.d(q,{Q:()=>y,x:()=>t});var e=p(305);function t(A,l,x,m,P){return new y(A,l,x,m,P)}class y extends e.Lv{constructor(l,x,m,P,d,E){super(l),this.onFinalize=d,this.shouldUnsubscribe=E,this._next=x?function(M){try{x(M)}catch(I){l.error(I)}}:super._next,this._error=P?function(M){try{P(M)}catch(I){l.error(I)}finally{this.unsubscribe()}}:super._error,this._complete=m?function(){try{m()}catch(M){l.error(M)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var l;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:x}=this;super.unsubscribe(),!x&&(null===(l=this.onFinalize)||void 0===l||l.call(this))}}}},9028:(ze,q,p)=>{"use strict";p.d(q,{e:()=>m});var e=p(6321),t=p(9360),y=p(4829),A=p(8251),x=p(9080);function m(P,d=e.z){return function l(P){return(0,t.e)((d,E)=>{let M=!1,I=null,k=null,V=!1;const B=()=>{if(k?.unsubscribe(),k=null,M){M=!1;const j=I;I=null,E.next(j)}V&&E.complete()},W=()=>{k=null,V&&E.complete()};d.subscribe((0,A.x)(E,j=>{M=!0,I=j,k||(0,y.Xf)(P(j)).subscribe(k=(0,A.x)(E,B,W))},()=>{V=!0,(!M||!k||k.closed)&&E.complete()}))})}(()=>(0,x.H)(P,d))}},6306:(ze,q,p)=>{"use strict";p.d(q,{K:()=>A});var e=p(4829),t=p(8251),y=p(9360);function A(l){return(0,y.e)((x,m)=>{let E,P=null,d=!1;P=x.subscribe((0,t.x)(m,void 0,void 0,M=>{E=(0,e.Xf)(l(M,A(l)(x))),P?(P.unsubscribe(),P=null,E.subscribe(m)):d=!0})),d&&(P.unsubscribe(),P=null,E.subscribe(m))})}},6328:(ze,q,p)=>{"use strict";p.d(q,{b:()=>y});var e=p(1631),t=p(4674);function y(A,l){return(0,t.m)(l)?(0,e.z)(A,l,1):(0,e.z)(A,1)}},3620:(ze,q,p)=>{"use strict";p.d(q,{b:()=>A});var e=p(6321),t=p(9360),y=p(8251);function A(l,x=e.z){return(0,t.e)((m,P)=>{let d=null,E=null,M=null;const I=()=>{if(d){d.unsubscribe(),d=null;const V=E;E=null,P.next(V)}};function k(){const V=M+l,B=x.now();if(B<V)return d=this.schedule(void 0,V-B),void P.add(d);I()}m.subscribe((0,y.x)(P,V=>{E=V,M=x.now(),d||(d=x.schedule(k,l),P.add(d))},()=>{I(),P.complete()},void 0,()=>{E=d=null}))})}},3572:(ze,q,p)=>{"use strict";p.d(q,{d:()=>y});var e=p(9360),t=p(8251);function y(A){return(0,e.e)((l,x)=>{let m=!1;l.subscribe((0,t.x)(x,P=>{m=!0,x.next(P)},()=>{m||x.next(A),x.complete()}))})}},932:(ze,q,p)=>{"use strict";p.d(q,{g:()=>E});var e=p(6321),t=p(5211),y=p(8180),A=p(7538),l=p(975),x=p(1631),m=p(4829);function P(M,I){return I?k=>(0,t.z)(I.pipe((0,y.q)(1),(0,A.l)()),k.pipe(P(M))):(0,x.z)((k,V)=>(0,m.Xf)(M(k,V)).pipe((0,y.q)(1),(0,l.h)(k)))}var d=p(9080);function E(M,I=e.z){const k=(0,d.H)(M,I);return P(()=>k)}},3997:(ze,q,p)=>{"use strict";p.d(q,{x:()=>A});var e=p(2737),t=p(9360),y=p(8251);function A(x,m=e.y){return x=x??l,(0,t.e)((P,d)=>{let E,M=!0;P.subscribe((0,y.x)(d,I=>{const k=m(I);(M||!x(E,k))&&(M=!1,E=k,d.next(I))}))})}function l(x,m){return x===m}},2181:(ze,q,p)=>{"use strict";p.d(q,{h:()=>y});var e=p(9360),t=p(8251);function y(A,l){return(0,e.e)((x,m)=>{let P=0;x.subscribe((0,t.x)(m,d=>A.call(l,d,P++)&&m.next(d)))})}},4716:(ze,q,p)=>{"use strict";p.d(q,{x:()=>t});var e=p(9360);function t(y){return(0,e.e)((A,l)=>{try{A.subscribe(l)}finally{l.add(y)}})}},1374:(ze,q,p)=>{"use strict";p.d(q,{P:()=>m});var e=p(6973),t=p(2181),y=p(8180),A=p(3572),l=p(3026),x=p(2737);function m(P,d){const E=arguments.length>=2;return M=>M.pipe(P?(0,t.h)((I,k)=>P(I,k,M)):x.y,(0,y.q)(1),E?(0,A.d)(d):(0,l.T)(()=>new e.K))}},7538:(ze,q,p)=>{"use strict";p.d(q,{l:()=>A});var e=p(9360),t=p(8251),y=p(2420);function A(){return(0,e.e)((l,x)=>{l.subscribe((0,t.x)(x,y.Z))})}},7398:(ze,q,p)=>{"use strict";p.d(q,{U:()=>y});var e=p(9360),t=p(8251);function y(A,l){return(0,e.e)((x,m)=>{let P=0;x.subscribe((0,t.x)(m,d=>{m.next(A.call(l,d,P++))}))})}},975:(ze,q,p)=>{"use strict";p.d(q,{h:()=>t});var e=p(7398);function t(y){return(0,e.U)(()=>y)}},7537:(ze,q,p)=>{"use strict";p.d(q,{J:()=>y});var e=p(1631),t=p(2737);function y(A=1/0){return(0,e.z)(t.y,A)}},1631:(ze,q,p)=>{"use strict";p.d(q,{z:()=>P});var e=p(7398),t=p(4829),y=p(9360),A=p(7103),l=p(8251),m=p(4674);function P(d,E,M=1/0){return(0,m.m)(E)?P((I,k)=>(0,e.U)((V,B)=>E(I,V,k,B))((0,t.Xf)(d(I,k))),M):("number"==typeof E&&(M=E),(0,y.e)((I,k)=>function x(d,E,M,I,k,V,B,W){const j=[];let K=0,X=0,ie=!1;const ae=()=>{ie&&!j.length&&!K&&E.complete()},fe=Me=>K<I?se(Me):j.push(Me),se=Me=>{V&&E.next(Me),K++;let $=!1;(0,t.Xf)(M(Me,X++)).subscribe((0,l.x)(E,ue=>{k?.(ue),V?fe(ue):E.next(ue)},()=>{$=!0},void 0,()=>{if($)try{for(K--;j.length&&K<I;){const ue=j.shift();B?(0,A.f)(E,B,()=>se(ue)):se(ue)}ae()}catch(ue){E.error(ue)}}))};return d.subscribe((0,l.x)(E,fe,()=>{ie=!0,ae()})),()=>{W?.()}}(I,k,d,M)))}},3093:(ze,q,p)=>{"use strict";p.d(q,{Q:()=>A});var e=p(7103),t=p(9360),y=p(8251);function A(l,x=0){return(0,t.e)((m,P)=>{m.subscribe((0,y.x)(P,d=>(0,e.f)(P,l,()=>P.next(d),x),()=>(0,e.f)(P,l,()=>P.complete(),x),d=>(0,e.f)(P,l,()=>P.error(d),x)))})}},6196:(ze,q,p)=>{"use strict";p.d(q,{x:()=>y});var e=p(9360),t=p(8251);function y(){return(0,e.e)((A,l)=>{let x=null;A._refCount++;const m=(0,t.x)(l,void 0,void 0,void 0,()=>{if(!A||A._refCount<=0||0<--A._refCount)return void(x=null);const P=A._connection,d=x;x=null,P&&(!d||P===d)&&P.unsubscribe(),l.unsubscribe()});A.subscribe(m),m.closed||(x=A.connect())})}},6699:(ze,q,p)=>{"use strict";p.d(q,{R:()=>A});var e=p(9360),t=p(8251);function A(l,x){return(0,e.e)(function y(l,x,m,P,d){return(E,M)=>{let I=m,k=x,V=0;E.subscribe((0,t.x)(M,B=>{const W=V++;k=I?l(k,B,W):(I=!0,B),P&&M.next(k)},d&&(()=>{I&&M.next(k),M.complete()})))}}(l,x,arguments.length>=2,!0))}},3020:(ze,q,p)=>{"use strict";p.d(q,{B:()=>l});var e=p(4829),t=p(8645),y=p(305),A=p(9360);function l(m={}){const{connector:P=(()=>new t.x),resetOnError:d=!0,resetOnComplete:E=!0,resetOnRefCountZero:M=!0}=m;return I=>{let k,V,B,W=0,j=!1,K=!1;const X=()=>{V?.unsubscribe(),V=void 0},ie=()=>{X(),k=B=void 0,j=K=!1},ae=()=>{const fe=k;ie(),fe?.unsubscribe()};return(0,A.e)((fe,se)=>{W++,!K&&!j&&X();const Me=B=B??P();se.add(()=>{W--,0===W&&!K&&!j&&(V=x(ae,M))}),Me.subscribe(se),!k&&W>0&&(k=new y.Hp({next:$=>Me.next($),error:$=>{K=!0,X(),V=x(ie,d,$),Me.error($)},complete:()=>{j=!0,X(),V=x(ie,E),Me.complete()}}),(0,e.Xf)(fe).subscribe(k))})(I)}}function x(m,P,...d){if(!0===P)return void m();if(!1===P)return;const E=new y.Hp({next:()=>{E.unsubscribe(),m()}});return(0,e.Xf)(P(...d)).subscribe(E)}},836:(ze,q,p)=>{"use strict";p.d(q,{T:()=>t});var e=p(2181);function t(y){return(0,e.h)((A,l)=>y<=l)}},7921:(ze,q,p)=>{"use strict";p.d(q,{O:()=>A});var e=p(5211),t=p(9940),y=p(9360);function A(...l){const x=(0,t.yG)(l);return(0,y.e)((m,P)=>{(x?(0,e.z)(l,m,x):(0,e.z)(l,m)).subscribe(P)})}},4664:(ze,q,p)=>{"use strict";p.d(q,{w:()=>A});var e=p(4829),t=p(9360),y=p(8251);function A(l,x){return(0,t.e)((m,P)=>{let d=null,E=0,M=!1;const I=()=>M&&!d&&P.complete();m.subscribe((0,y.x)(P,k=>{d?.unsubscribe();let V=0;const B=E++;(0,e.Xf)(l(k,B)).subscribe(d=(0,y.x)(P,W=>P.next(x?x(k,W,B,V++):W),()=>{d=null,I()}))},()=>{M=!0,I()}))})}},8180:(ze,q,p)=>{"use strict";p.d(q,{q:()=>A});var e=p(6232),t=p(9360),y=p(8251);function A(l){return l<=0?()=>e.E:(0,t.e)((x,m)=>{let P=0;x.subscribe((0,y.x)(m,d=>{++P<=l&&(m.next(d),l<=P&&m.complete())}))})}},9773:(ze,q,p)=>{"use strict";p.d(q,{R:()=>l});var e=p(9360),t=p(8251),y=p(4829),A=p(2420);function l(x){return(0,e.e)((m,P)=>{(0,y.Xf)(x).subscribe((0,t.x)(P,()=>P.complete(),A.Z)),!P.closed&&m.subscribe(P)})}},9397:(ze,q,p)=>{"use strict";p.d(q,{b:()=>l});var e=p(4674),t=p(9360),y=p(8251),A=p(2737);function l(x,m,P){const d=(0,e.m)(x)||m||P?{next:x,error:m,complete:P}:x;return d?(0,t.e)((E,M)=>{var I;null===(I=d.subscribe)||void 0===I||I.call(d);let k=!0;E.subscribe((0,y.x)(M,V=>{var B;null===(B=d.next)||void 0===B||B.call(d,V),M.next(V)},()=>{var V;k=!1,null===(V=d.complete)||void 0===V||V.call(d),M.complete()},V=>{var B;k=!1,null===(B=d.error)||void 0===B||B.call(d,V),M.error(V)},()=>{var V,B;k&&(null===(V=d.unsubscribe)||void 0===V||V.call(d)),null===(B=d.finalize)||void 0===B||B.call(d)}))}):A.y}},3026:(ze,q,p)=>{"use strict";p.d(q,{T:()=>A});var e=p(6973),t=p(9360),y=p(8251);function A(x=l){return(0,t.e)((m,P)=>{let d=!1;m.subscribe((0,y.x)(P,E=>{d=!0,P.next(E)},()=>d?P.complete():P.error(x())))})}function l(){return new e.K}},5178:(ze,q,p)=>{"use strict";p.d(q,{V:()=>d});var e=p(6321),t=p(93),y=p(9360),A=p(4829),l=p(2306),x=p(8251),m=p(7103);const P=(0,l.d)(M=>function(k=null){M(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=k});function d(M,I){const{first:k,each:V,with:B=E,scheduler:W=I??e.z,meta:j=null}=(0,t.q)(M)?{first:M}:"number"==typeof M?{each:M}:M;if(null==k&&null==V)throw new TypeError("No timeout provided.");return(0,y.e)((K,X)=>{let ie,ae,fe=null,se=0;const Me=$=>{ae=(0,m.f)(X,W,()=>{try{ie.unsubscribe(),(0,A.Xf)(B({meta:j,lastValue:fe,seen:se})).subscribe(X)}catch(ue){X.error(ue)}},$)};ie=K.subscribe((0,x.x)(X,$=>{ae?.unsubscribe(),se++,X.next(fe=$),V>0&&Me(V)},void 0,void 0,()=>{ae?.closed||ae?.unsubscribe(),fe=null})),!se&&Me(null!=k?"number"==typeof k?k:+k-W.now():V)})}function E(M){throw new P(M)}},2460:(ze,q,p)=>{"use strict";p.d(q,{M:()=>m});var e=p(9360),t=p(8251),y=p(4829),A=p(2737),l=p(2420),x=p(9940);function m(...P){const d=(0,x.jO)(P);return(0,e.e)((E,M)=>{const I=P.length,k=new Array(I);let V=P.map(()=>!1),B=!1;for(let W=0;W<I;W++)(0,y.Xf)(P[W]).subscribe((0,t.x)(M,j=>{k[W]=j,!B&&!V[W]&&(V[W]=!0,(B=V.every(A.y))&&(V=null))},l.Z));E.subscribe((0,t.x)(M,W=>{if(B){const j=[W,...k];M.next(d?d(...j):j)}}))})}},1954:(ze,q,p)=>{"use strict";p.d(q,{o:()=>l});var e=p(7394);class t extends e.w0{constructor(m,P){super()}schedule(m,P=0){return this}}const y={setInterval(x,m,...P){const{delegate:d}=y;return d?.setInterval?d.setInterval(x,m,...P):setInterval(x,m,...P)},clearInterval(x){const{delegate:m}=y;return(m?.clearInterval||clearInterval)(x)},delegate:void 0};var A=p(9039);class l extends t{constructor(m,P){super(m,P),this.scheduler=m,this.work=P,this.pending=!1}schedule(m,P=0){var d;if(this.closed)return this;this.state=m;const E=this.id,M=this.scheduler;return null!=E&&(this.id=this.recycleAsyncId(M,E,P)),this.pending=!0,this.delay=P,this.id=null!==(d=this.id)&&void 0!==d?d:this.requestAsyncId(M,this.id,P),this}requestAsyncId(m,P,d=0){return y.setInterval(m.flush.bind(m,this),d)}recycleAsyncId(m,P,d=0){if(null!=d&&this.delay===d&&!1===this.pending)return P;null!=P&&y.clearInterval(P)}execute(m,P){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const d=this._execute(m,P);if(d)return d;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(m,P){let E,d=!1;try{this.work(m)}catch(M){d=!0,E=M||new Error("Scheduled action threw falsy error")}if(d)return this.unsubscribe(),E}unsubscribe(){if(!this.closed){const{id:m,scheduler:P}=this,{actions:d}=P;this.work=this.state=this.scheduler=null,this.pending=!1,(0,A.P)(d,this),null!=m&&(this.id=this.recycleAsyncId(P,m,null)),this.delay=null,super.unsubscribe()}}}},2631:(ze,q,p)=>{"use strict";p.d(q,{v:()=>y});var e=p(4552);class t{constructor(l,x=t.now){this.schedulerActionCtor=l,this.now=x}schedule(l,x=0,m){return new this.schedulerActionCtor(this,l).schedule(m,x)}}t.now=e.l.now;class y extends t{constructor(l,x=t.now){super(l,x),this.actions=[],this._active=!1}flush(l){const{actions:x}=this;if(this._active)return void x.push(l);let m;this._active=!0;do{if(m=l.execute(l.state,l.delay))break}while(l=x.shift());if(this._active=!1,m){for(;l=x.shift();)l.unsubscribe();throw m}}}},6410:(ze,q,p)=>{"use strict";p.d(q,{E:()=>V});var e=p(1954);let y,t=1;const A={};function l(W){return W in A&&(delete A[W],!0)}const x={setImmediate(W){const j=t++;return A[j]=!0,y||(y=Promise.resolve()),y.then(()=>l(j)&&W()),j},clearImmediate(W){l(W)}},{setImmediate:P,clearImmediate:d}=x,E={setImmediate(...W){const{delegate:j}=E;return(j?.setImmediate||P)(...W)},clearImmediate(W){const{delegate:j}=E;return(j?.clearImmediate||d)(W)},delegate:void 0};var I=p(2631);const V=new class k extends I.v{flush(j){this._active=!0;const K=this._scheduled;this._scheduled=void 0;const{actions:X}=this;let ie;j=j||X.shift();do{if(ie=j.execute(j.state,j.delay))break}while((j=X[0])&&j.id===K&&X.shift());if(this._active=!1,ie){for(;(j=X[0])&&j.id===K&&X.shift();)j.unsubscribe();throw ie}}}(class M extends e.o{constructor(j,K){super(j,K),this.scheduler=j,this.work=K}requestAsyncId(j,K,X=0){return null!==X&&X>0?super.requestAsyncId(j,K,X):(j.actions.push(this),j._scheduled||(j._scheduled=E.setImmediate(j.flush.bind(j,void 0))))}recycleAsyncId(j,K,X=0){var ie;if(null!=X?X>0:this.delay>0)return super.recycleAsyncId(j,K,X);const{actions:ae}=j;null!=K&&(null===(ie=ae[ae.length-1])||void 0===ie?void 0:ie.id)!==K&&(E.clearImmediate(K),j._scheduled===K&&(j._scheduled=void 0))}})},6321:(ze,q,p)=>{"use strict";p.d(q,{P:()=>A,z:()=>y});var e=p(1954);const y=new(p(2631).v)(e.o),A=y},4552:(ze,q,p)=>{"use strict";p.d(q,{l:()=>e});const e={now:()=>(e.delegate||Date).now(),delegate:void 0}},2381:(ze,q,p)=>{"use strict";p.d(q,{N:()=>l});var e=p(1954),y=p(2631);const l=new class A extends y.v{}(class t extends e.o{constructor(P,d){super(P,d),this.scheduler=P,this.work=d}schedule(P,d=0){return d>0?super.schedule(P,d):(this.delay=d,this.state=P,this.scheduler.flush(this),this)}execute(P,d){return d>0||this.closed?super.execute(P,d):this._execute(P,d)}requestAsyncId(P,d,E=0){return null!=E&&E>0||null==E&&this.delay>0?super.requestAsyncId(P,d,E):(P.flush(this),0)}})},7599:(ze,q,p)=>{"use strict";p.d(q,{z:()=>e});const e={setTimeout(t,y,...A){const{delegate:l}=e;return l?.setTimeout?l.setTimeout(t,y,...A):setTimeout(t,y,...A)},clearTimeout(t){const{delegate:y}=e;return(y?.clearTimeout||clearTimeout)(t)},delegate:void 0}},4971:(ze,q,p)=>{"use strict";p.d(q,{h:()=>t});const t=function e(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4850:(ze,q,p)=>{"use strict";p.d(q,{L:()=>e});const e="function"==typeof Symbol&&Symbol.observable||"@@observable"},6973:(ze,q,p)=>{"use strict";p.d(q,{K:()=>t});const t=(0,p(2306).d)(y=>function(){y(this),this.name="EmptyError",this.message="no elements in sequence"})},9940:(ze,q,p)=>{"use strict";p.d(q,{_6:()=>x,jO:()=>A,yG:()=>l});var e=p(4674),t=p(671);function y(m){return m[m.length-1]}function A(m){return(0,e.m)(y(m))?m.pop():void 0}function l(m){return(0,t.K)(y(m))?m.pop():void 0}function x(m,P){return"number"==typeof y(m)?m.pop():P}},7453:(ze,q,p)=>{"use strict";p.d(q,{D:()=>l});const{isArray:e}=Array,{getPrototypeOf:t,prototype:y,keys:A}=Object;function l(m){if(1===m.length){const P=m[0];if(e(P))return{args:P,keys:null};if(function x(m){return m&&"object"==typeof m&&t(m)===y}(P)){const d=A(P);return{args:d.map(E=>P[E]),keys:d}}}return{args:m,keys:null}}},9039:(ze,q,p)=>{"use strict";function e(t,y){if(t){const A=t.indexOf(y);0<=A&&t.splice(A,1)}}p.d(q,{P:()=>e})},2306:(ze,q,p)=>{"use strict";function e(t){const A=t(l=>{Error.call(l),l.stack=(new Error).stack});return A.prototype=Object.create(Error.prototype),A.prototype.constructor=A,A}p.d(q,{d:()=>e})},2714:(ze,q,p)=>{"use strict";function e(t,y){return t.reduce((A,l,x)=>(A[l]=y[x],A),{})}p.d(q,{n:()=>e})},1441:(ze,q,p)=>{"use strict";p.d(q,{O:()=>A,x:()=>y});var e=p(2653);let t=null;function y(l){if(e.config.useDeprecatedSynchronousErrorHandling){const x=!t;if(x&&(t={errorThrown:!1,error:null}),l(),x){const{errorThrown:m,error:P}=t;if(t=null,m)throw P}}else l()}function A(l){e.config.useDeprecatedSynchronousErrorHandling&&t&&(t.errorThrown=!0,t.error=l)}},7103:(ze,q,p)=>{"use strict";function e(t,y,A,l=0,x=!1){const m=y.schedule(function(){A(),x?t.add(this.schedule(null,l)):this.unsubscribe()},l);if(t.add(m),!x)return m}p.d(q,{f:()=>e})},2737:(ze,q,p)=>{"use strict";function e(t){return t}p.d(q,{y:()=>e})},4266:(ze,q,p)=>{"use strict";p.d(q,{z:()=>e});const e=t=>t&&"number"==typeof t.length&&"function"!=typeof t},5726:(ze,q,p)=>{"use strict";p.d(q,{D:()=>t});var e=p(4674);function t(y){return Symbol.asyncIterator&&(0,e.m)(y?.[Symbol.asyncIterator])}},93:(ze,q,p)=>{"use strict";function e(t){return t instanceof Date&&!isNaN(t)}p.d(q,{q:()=>e})},4674:(ze,q,p)=>{"use strict";function e(t){return"function"==typeof t}p.d(q,{m:()=>e})},8382:(ze,q,p)=>{"use strict";p.d(q,{c:()=>y});var e=p(4850),t=p(4674);function y(A){return(0,t.m)(A[e.L])}},3664:(ze,q,p)=>{"use strict";p.d(q,{T:()=>y});var e=p(4971),t=p(4674);function y(A){return(0,t.m)(A?.[e.h])}},2664:(ze,q,p)=>{"use strict";p.d(q,{b:()=>y});var e=p(5592),t=p(4674);function y(A){return!!A&&(A instanceof e.y||(0,t.m)(A.lift)&&(0,t.m)(A.subscribe))}},4026:(ze,q,p)=>{"use strict";p.d(q,{t:()=>t});var e=p(4674);function t(y){return(0,e.m)(y?.then)}},541:(ze,q,p)=>{"use strict";p.d(q,{L:()=>A,Q:()=>y});var e=p(7582),t=p(4674);function y(l){return(0,e.FC)(this,arguments,function*(){const m=l.getReader();try{for(;;){const{value:P,done:d}=yield(0,e.qq)(m.read());if(d)return yield(0,e.qq)(void 0);yield yield(0,e.qq)(P)}}finally{m.releaseLock()}})}function A(l){return(0,t.m)(l?.getReader)}},671:(ze,q,p)=>{"use strict";p.d(q,{K:()=>t});var e=p(4674);function t(y){return y&&(0,e.m)(y.schedule)}},9360:(ze,q,p)=>{"use strict";p.d(q,{A:()=>t,e:()=>y});var e=p(4674);function t(A){return(0,e.m)(A?.lift)}function y(A){return l=>{if(t(l))return l.lift(function(x){try{return A(x,this)}catch(m){this.error(m)}});throw new TypeError("Unable to lift unknown Observable type")}}},7400:(ze,q,p)=>{"use strict";p.d(q,{Z:()=>A});var e=p(7398);const{isArray:t}=Array;function A(l){return(0,e.U)(x=>function y(l,x){return t(x)?l(...x):l(x)}(l,x))}},2420:(ze,q,p)=>{"use strict";function e(){}p.d(q,{Z:()=>e})},8407:(ze,q,p)=>{"use strict";p.d(q,{U:()=>y,z:()=>t});var e=p(2737);function t(...A){return y(A)}function y(A){return 0===A.length?e.y:1===A.length?A[0]:function(x){return A.reduce((m,P)=>P(m),x)}}},3894:(ze,q,p)=>{"use strict";p.d(q,{h:()=>y});var e=p(2653),t=p(7599);function y(A){t.z.setTimeout(()=>{const{onUnhandledError:l}=e.config;if(!l)throw A;l(A)})}},9853:(ze,q,p)=>{"use strict";function e(t){return new TypeError(`You provided ${null!==t&&"object"==typeof t?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}p.d(q,{z:()=>e})},843:(ze,q,p)=>{var e=p(9007),t=e.Buffer;function y(l,x){for(var m in l)x[m]=l[m]}function A(l,x,m){return t(l,x,m)}t.from&&t.alloc&&t.allocUnsafe&&t.allocUnsafeSlow?ze.exports=e:(y(e,q),q.Buffer=A),A.prototype=Object.create(t.prototype),y(t,A),A.from=function(l,x,m){if("number"==typeof l)throw new TypeError("Argument must not be a number");return t(l,x,m)},A.alloc=function(l,x,m){if("number"!=typeof l)throw new TypeError("Argument must be a number");var P=t(l);return void 0!==x?"string"==typeof m?P.fill(x,m):P.fill(x):P.fill(0),P},A.allocUnsafe=function(l){if("number"!=typeof l)throw new TypeError("Argument must be a number");return t(l)},A.allocUnsafeSlow=function(l){if("number"!=typeof l)throw new TypeError("Argument must be a number");return e.SlowBuffer(l)}},4179:(ze,q,p)=>{"use strict";var A,e=p(9007),t=e.Buffer,y={};for(A in e)e.hasOwnProperty(A)&&("SlowBuffer"===A||"Buffer"===A||(y[A]=e[A]));var l=y.Buffer={};for(A in t)t.hasOwnProperty(A)&&("allocUnsafe"===A||"allocUnsafeSlow"===A||(l[A]=t[A]));if(y.Buffer.prototype=t.prototype,(!l.from||l.from===Uint8Array.from)&&(l.from=function(x,m,P){if("number"==typeof x)throw new TypeError('The "value" argument must not be of type number. Received type '+typeof x);if(x&&typeof x.length>"u")throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof x);return t(x,m,P)}),l.alloc||(l.alloc=function(x,m,P){if("number"!=typeof x)throw new TypeError('The "size" argument must be of type number. Received type '+typeof x);if(x<0||x>=2*(1<<30))throw new RangeError('The value "'+x+'" is invalid for option "size"');var d=t(x);return m&&0!==m.length?"string"==typeof P?d.fill(m,P):d.fill(m):d.fill(0),d}),!y.kStringMaxLength)try{y.kStringMaxLength=process.binding("buffer").kStringMaxLength}catch{}y.constants||(y.constants={MAX_LENGTH:y.kMaxLength},y.kStringMaxLength&&(y.constants.MAX_STRING_LENGTH=y.kStringMaxLength)),ze.exports=y},3581:(ze,q,p)=>{var e=p(843).Buffer;function t(y,A){this._block=e.alloc(y),this._finalSize=A,this._blockSize=y,this._len=0}t.prototype.update=function(y,A){"string"==typeof y&&(y=e.from(y,A=A||"utf8"));for(var l=this._block,x=this._blockSize,m=y.length,P=this._len,d=0;d<m;){for(var E=P%x,M=Math.min(m-d,x-E),I=0;I<M;I++)l[E+I]=y[d+I];d+=M,(P+=M)%x==0&&this._update(l)}return this._len+=m,this},t.prototype.digest=function(y){var A=this._len%this._blockSize;this._block[A]=128,this._block.fill(0,A+1),A>=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 x=(4294967295&l)>>>0;this._block.writeUInt32BE((l-x)/4294967296,this._blockSize-8),this._block.writeUInt32BE(x,this._blockSize-4)}this._update(this._block);var P=this._hash();return y?P.toString(y):P},t.prototype._update=function(){throw new Error("_update must be implemented by subclass")},ze.exports=t},7965:(ze,q,p)=>{var e=ze.exports=function(y){y=y.toLowerCase();var A=e[y];if(!A)throw new Error(y+" is not supported (we accept pull requests)");return new A};e.sha=p(7915),e.sha1=p(1229),e.sha224=p(2959),e.sha256=p(450),e.sha384=p(1723),e.sha512=p(7914)},7915:(ze,q,p)=>{var e=p(6698),t=p(3581),y=p(843).Buffer,A=[1518500249,1859775393,-1894007588,-899497514],l=new Array(80);function x(){this.init(),this._w=l,t.call(this,64,56)}function m(E){return E<<5|E>>>27}function P(E){return E<<30|E>>>2}function d(E,M,I,k){return 0===E?M&I|~M&k:2===E?M&I|M&k|I&k:M^I^k}e(x,t),x.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},x.prototype._update=function(E){for(var M=this._w,I=0|this._a,k=0|this._b,V=0|this._c,B=0|this._d,W=0|this._e,j=0;j<16;++j)M[j]=E.readInt32BE(4*j);for(;j<80;++j)M[j]=M[j-3]^M[j-8]^M[j-14]^M[j-16];for(var K=0;K<80;++K){var X=~~(K/20),ie=m(I)+d(X,k,V,B)+W+M[K]+A[X]|0;W=B,B=V,V=P(k),k=I,I=ie}this._a=I+this._a|0,this._b=k+this._b|0,this._c=V+this._c|0,this._d=B+this._d|0,this._e=W+this._e|0},x.prototype._hash=function(){var E=y.allocUnsafe(20);return E.writeInt32BE(0|this._a,0),E.writeInt32BE(0|this._b,4),E.writeInt32BE(0|this._c,8),E.writeInt32BE(0|this._d,12),E.writeInt32BE(0|this._e,16),E},ze.exports=x},1229:(ze,q,p)=>{var e=p(6698),t=p(3581),y=p(843).Buffer,A=[1518500249,1859775393,-1894007588,-899497514],l=new Array(80);function x(){this.init(),this._w=l,t.call(this,64,56)}function m(M){return M<<1|M>>>31}function P(M){return M<<5|M>>>27}function d(M){return M<<30|M>>>2}function E(M,I,k,V){return 0===M?I&k|~I&V:2===M?I&k|I&V|k&V:I^k^V}e(x,t),x.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},x.prototype._update=function(M){for(var I=this._w,k=0|this._a,V=0|this._b,B=0|this._c,W=0|this._d,j=0|this._e,K=0;K<16;++K)I[K]=M.readInt32BE(4*K);for(;K<80;++K)I[K]=m(I[K-3]^I[K-8]^I[K-14]^I[K-16]);for(var X=0;X<80;++X){var ie=~~(X/20),ae=P(k)+E(ie,V,B,W)+j+I[X]+A[ie]|0;j=W,W=B,B=d(V),V=k,k=ae}this._a=k+this._a|0,this._b=V+this._b|0,this._c=B+this._c|0,this._d=W+this._d|0,this._e=j+this._e|0},x.prototype._hash=function(){var M=y.allocUnsafe(20);return M.writeInt32BE(0|this._a,0),M.writeInt32BE(0|this._b,4),M.writeInt32BE(0|this._c,8),M.writeInt32BE(0|this._d,12),M.writeInt32BE(0|this._e,16),M},ze.exports=x},2959:(ze,q,p)=>{var e=p(6698),t=p(450),y=p(3581),A=p(843).Buffer,l=new Array(64);function x(){this.init(),this._w=l,y.call(this,64,56)}e(x,t),x.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},x.prototype._hash=function(){var m=A.allocUnsafe(28);return m.writeInt32BE(this._a,0),m.writeInt32BE(this._b,4),m.writeInt32BE(this._c,8),m.writeInt32BE(this._d,12),m.writeInt32BE(this._e,16),m.writeInt32BE(this._f,20),m.writeInt32BE(this._g,24),m},ze.exports=x},450:(ze,q,p)=>{var e=p(6698),t=p(3581),y=p(843).Buffer,A=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],l=new Array(64);function x(){this.init(),this._w=l,t.call(this,64,56)}function m(k,V,B){return B^k&(V^B)}function P(k,V,B){return k&V|B&(k|V)}function d(k){return(k>>>2|k<<30)^(k>>>13|k<<19)^(k>>>22|k<<10)}function E(k){return(k>>>6|k<<26)^(k>>>11|k<<21)^(k>>>25|k<<7)}function M(k){return(k>>>7|k<<25)^(k>>>18|k<<14)^k>>>3}function I(k){return(k>>>17|k<<15)^(k>>>19|k<<13)^k>>>10}e(x,t),x.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},x.prototype._update=function(k){for(var V=this._w,B=0|this._a,W=0|this._b,j=0|this._c,K=0|this._d,X=0|this._e,ie=0|this._f,ae=0|this._g,fe=0|this._h,se=0;se<16;++se)V[se]=k.readInt32BE(4*se);for(;se<64;++se)V[se]=I(V[se-2])+V[se-7]+M(V[se-15])+V[se-16]|0;for(var Me=0;Me<64;++Me){var $=fe+E(X)+m(X,ie,ae)+A[Me]+V[Me]|0,ue=d(B)+P(B,W,j)|0;fe=ae,ae=ie,ie=X,X=K+$|0,K=j,j=W,W=B,B=$+ue|0}this._a=B+this._a|0,this._b=W+this._b|0,this._c=j+this._c|0,this._d=K+this._d|0,this._e=X+this._e|0,this._f=ie+this._f|0,this._g=ae+this._g|0,this._h=fe+this._h|0},x.prototype._hash=function(){var k=y.allocUnsafe(32);return k.writeInt32BE(this._a,0),k.writeInt32BE(this._b,4),k.writeInt32BE(this._c,8),k.writeInt32BE(this._d,12),k.writeInt32BE(this._e,16),k.writeInt32BE(this._f,20),k.writeInt32BE(this._g,24),k.writeInt32BE(this._h,28),k},ze.exports=x},1723:(ze,q,p)=>{var e=p(6698),t=p(7914),y=p(3581),A=p(843).Buffer,l=new Array(160);function x(){this.init(),this._w=l,y.call(this,128,112)}e(x,t),x.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},x.prototype._hash=function(){var m=A.allocUnsafe(48);function P(d,E,M){m.writeInt32BE(d,M),m.writeInt32BE(E,M+4)}return P(this._ah,this._al,0),P(this._bh,this._bl,8),P(this._ch,this._cl,16),P(this._dh,this._dl,24),P(this._eh,this._el,32),P(this._fh,this._fl,40),m},ze.exports=x},7914:(ze,q,p)=>{var e=p(6698),t=p(3581),y=p(843).Buffer,A=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],l=new Array(160);function x(){this.init(),this._w=l,t.call(this,128,112)}function m(W,j,K){return K^W&(j^K)}function P(W,j,K){return W&j|K&(W|j)}function d(W,j){return(W>>>28|j<<4)^(j>>>2|W<<30)^(j>>>7|W<<25)}function E(W,j){return(W>>>14|j<<18)^(W>>>18|j<<14)^(j>>>9|W<<23)}function M(W,j){return(W>>>1|j<<31)^(W>>>8|j<<24)^W>>>7}function I(W,j){return(W>>>1|j<<31)^(W>>>8|j<<24)^(W>>>7|j<<25)}function k(W,j){return(W>>>19|j<<13)^(j>>>29|W<<3)^W>>>6}function V(W,j){return(W>>>19|j<<13)^(j>>>29|W<<3)^(W>>>6|j<<26)}function B(W,j){return W>>>0<j>>>0?1:0}e(x,t),x.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},x.prototype._update=function(W){for(var j=this._w,K=0|this._ah,X=0|this._bh,ie=0|this._ch,ae=0|this._dh,fe=0|this._eh,se=0|this._fh,Me=0|this._gh,$=0|this._hh,ue=0|this._al,S=0|this._bl,n=0|this._cl,s=0|this._dl,f=0|this._el,h=0|this._fl,w=0|this._gl,D=0|this._hl,O=0;O<32;O+=2)j[O]=W.readInt32BE(4*O),j[O+1]=W.readInt32BE(4*O+4);for(;O<160;O+=2){var v=j[O-30],r=j[O-30+1],g=M(v,r),H=I(r,v),N=k(v=j[O-4],r=j[O-4+1]),ee=V(r,v),je=j[O-32],Je=j[O-32+1],ye=H+j[O-14+1]|0,me=g+j[O-14]+B(ye,H)|0;me=(me=me+N+B(ye=ye+ee|0,ee)|0)+je+B(ye=ye+Je|0,Je)|0,j[O]=me,j[O+1]=ye}for(var he=0;he<160;he+=2){me=j[he],ye=j[he+1];var xe=P(K,X,ie),de=P(ue,S,n),ge=d(K,ue),qe=d(ue,K),oe=E(fe,f),ve=E(f,fe),le=A[he],Ge=A[he+1],We=m(fe,se,Me),wt=m(f,h,w),mt=D+ve|0,kt=$+oe+B(mt,D)|0;kt=(kt=(kt=kt+We+B(mt=mt+wt|0,wt)|0)+le+B(mt=mt+Ge|0,Ge)|0)+me+B(mt=mt+ye|0,ye)|0;var Ae=qe+de|0,Be=ge+xe+B(Ae,qe)|0;$=Me,D=w,Me=se,w=h,se=fe,h=f,fe=ae+kt+B(f=s+mt|0,s)|0,ae=ie,s=n,ie=X,n=S,X=K,S=ue,K=kt+Be+B(ue=mt+Ae|0,mt)|0}this._al=this._al+ue|0,this._bl=this._bl+S|0,this._cl=this._cl+n|0,this._dl=this._dl+s|0,this._el=this._el+f|0,this._fl=this._fl+h|0,this._gl=this._gl+w|0,this._hl=this._hl+D|0,this._ah=this._ah+K+B(this._al,ue)|0,this._bh=this._bh+X+B(this._bl,S)|0,this._ch=this._ch+ie+B(this._cl,n)|0,this._dh=this._dh+ae+B(this._dl,s)|0,this._eh=this._eh+fe+B(this._el,f)|0,this._fh=this._fh+se+B(this._fl,h)|0,this._gh=this._gh+Me+B(this._gl,w)|0,this._hh=this._hh+$+B(this._hl,D)|0},x.prototype._hash=function(){var W=y.allocUnsafe(64);function j(K,X,ie){W.writeInt32BE(K,ie),W.writeInt32BE(X,ie+4)}return j(this._ah,this._al,0),j(this._bh,this._bl,8),j(this._ch,this._cl,16),j(this._dh,this._dl,24),j(this._eh,this._el,32),j(this._fh,this._fl,40),j(this._gh,this._gl,48),j(this._hh,this._hl,56),W},ze.exports=x},8927:function(ze,q,p){!function(e){"use strict";var t={};ze.exports?(t.bytesToHex=p(188).bytesToHex,t.convertString=p(5486),ze.exports=P):(t.bytesToHex=e.convertHex.bytesToHex,t.convertString=e.convertString,e.sha256=P);var y=[];!function(){function d(k){for(var V=Math.sqrt(k),B=2;B<=V;B++)if(!(k%B))return!1;return!0}for(var M=2,I=0;I<64;)d(M)&&(y[I]=4294967296*((k=Math.pow(M,1/3))-(0|k))|0,I++),M++;var k}();var A=function(d){for(var E=[],M=0,I=0;M<d.length;M++,I+=8)E[I>>>5]|=d[M]<<24-I%32;return E},l=function(d){for(var E=[],M=0;M<32*d.length;M+=8)E.push(d[M>>>5]>>>24-M%32&255);return E},x=[],m=function(d,E,M){for(var I=d[0],k=d[1],V=d[2],B=d[3],W=d[4],j=d[5],K=d[6],X=d[7],ie=0;ie<64;ie++){if(ie<16)x[ie]=0|E[M+ie];else{var ae=x[ie-15],se=x[ie-2];x[ie]=((ae<<25|ae>>>7)^(ae<<14|ae>>>18)^ae>>>3)+x[ie-7]+((se<<15|se>>>17)^(se<<13|se>>>19)^se>>>10)+x[ie-16]}var ue=I&k^I&V^k&V,s=X+((W<<26|W>>>6)^(W<<21|W>>>11)^(W<<7|W>>>25))+(W&j^~W&K)+y[ie]+x[ie];X=K,K=j,j=W,W=B+s|0,B=V,V=k,k=I,I=s+(((I<<30|I>>>2)^(I<<19|I>>>13)^(I<<10|I>>>22))+ue)|0}d[0]=d[0]+I|0,d[1]=d[1]+k|0,d[2]=d[2]+V|0,d[3]=d[3]+B|0,d[4]=d[4]+W|0,d[5]=d[5]+j|0,d[6]=d[6]+K|0,d[7]=d[7]+X|0};function P(d,E){d.constructor===String&&(d=t.convertString.UTF8.stringToBytes(d));var M=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],I=A(d),k=8*d.length;I[k>>5]|=128<<24-k%32,I[15+(k+64>>9<<4)]=k;for(var V=0;V<I.length;V+=16)m(M,I,V);var B=l(M);return E&&E.asBytes?B:E&&E.asString?t.convertString.bytesToString(B):t.bytesToHex(B)}P.x2=function(d,E){return P(P(d,{asBytes:!0}),E)}}(this)},1793:(ze,q,p)=>{ze.exports=y;var e=p(2016).EventEmitter;function y(){e.call(this)}p(6698)(y,e),y.Readable=p(309),y.Writable=p(6563),y.Duplex=p(247),y.Transform=p(6307),y.PassThrough=p(5096),y.finished=p(4618),y.pipeline=p(4514),y.Stream=y,y.prototype.pipe=function(A,l){var x=this;function m(V){A.writable&&!1===A.write(V)&&x.pause&&x.pause()}function P(){x.readable&&x.resume&&x.resume()}x.on("data",m),A.on("drain",P),!A._isStdio&&(!l||!1!==l.end)&&(x.on("end",E),x.on("close",M));var d=!1;function E(){d||(d=!0,A.end())}function M(){d||(d=!0,"function"==typeof A.destroy&&A.destroy())}function I(V){if(k(),0===e.listenerCount(this,"error"))throw V}function k(){x.removeListener("data",m),A.removeListener("drain",P),x.removeListener("end",E),x.removeListener("close",M),x.removeListener("error",I),A.removeListener("error",I),x.removeListener("end",k),x.removeListener("close",k),A.removeListener("close",k)}return x.on("error",I),A.on("error",I),x.on("end",k),x.on("close",k),A.on("close",k),A.emit("pipe",x),A}},2024:(ze,q,p)=>{"use strict";var e=p(843).Buffer,t=e.isEncoding||function(K){switch((K=""+K)&&K.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function l(K){var X;switch(this.encoding=function A(K){var X=function y(K){if(!K)return"utf8";for(var X;;)switch(K){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return K;default:if(X)return;K=(""+K).toLowerCase(),X=!0}}(K);if("string"!=typeof X&&(e.isEncoding===t||!t(K)))throw new Error("Unknown encoding: "+K);return X||K}(K),this.encoding){case"utf16le":this.text=I,this.end=k,X=4;break;case"utf8":this.fillLast=d,X=4;break;case"base64":this.text=V,this.end=B,X=3;break;default:return this.write=W,void(this.end=j)}this.lastNeed=0,this.lastTotal=0,this.lastChar=e.allocUnsafe(X)}function x(K){return K<=127?0:K>>5==6?2:K>>4==14?3:K>>3==30?4:K>>6==2?-1:-2}function d(K){var X=this.lastTotal-this.lastNeed,ie=function P(K,X,ie){if(128!=(192&X[0]))return K.lastNeed=0,"\ufffd";if(K.lastNeed>1&&X.length>1){if(128!=(192&X[1]))return K.lastNeed=1,"\ufffd";if(K.lastNeed>2&&X.length>2&&128!=(192&X[2]))return K.lastNeed=2,"\ufffd"}}(this,K);return void 0!==ie?ie:this.lastNeed<=K.length?(K.copy(this.lastChar,X,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(K.copy(this.lastChar,X,0,K.length),void(this.lastNeed-=K.length))}function I(K,X){if((K.length-X)%2==0){var ie=K.toString("utf16le",X);if(ie){var ae=ie.charCodeAt(ie.length-1);if(ae>=55296&&ae<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=K[K.length-2],this.lastChar[1]=K[K.length-1],ie.slice(0,-1)}return ie}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=K[K.length-1],K.toString("utf16le",X,K.length-1)}function k(K){var X=K&&K.length?this.write(K):"";return this.lastNeed?X+this.lastChar.toString("utf16le",0,this.lastTotal-this.lastNeed):X}function V(K,X){var ie=(K.length-X)%3;return 0===ie?K.toString("base64",X):(this.lastNeed=3-ie,this.lastTotal=3,1===ie?this.lastChar[0]=K[K.length-1]:(this.lastChar[0]=K[K.length-2],this.lastChar[1]=K[K.length-1]),K.toString("base64",X,K.length-ie))}function B(K){var X=K&&K.length?this.write(K):"";return this.lastNeed?X+this.lastChar.toString("base64",0,3-this.lastNeed):X}function W(K){return K.toString(this.encoding)}function j(K){return K&&K.length?this.write(K):""}q.s=l,l.prototype.write=function(K){if(0===K.length)return"";var X,ie;if(this.lastNeed){if(void 0===(X=this.fillLast(K)))return"";ie=this.lastNeed,this.lastNeed=0}else ie=0;return ie<K.length?X?X+this.text(K,ie):this.text(K,ie):X||""},l.prototype.end=function M(K){var X=K&&K.length?this.write(K):"";return this.lastNeed?X+"\ufffd":X},l.prototype.text=function E(K,X){var ie=function m(K,X,ie){var ae=X.length-1;if(ae<ie)return 0;var fe=x(X[ae]);return fe>=0?(fe>0&&(K.lastNeed=fe-1),fe):--ae<ie||-2===fe?0:(fe=x(X[ae]))>=0?(fe>0&&(K.lastNeed=fe-2),fe):--ae<ie||-2===fe?0:(fe=x(X[ae]))>=0?(fe>0&&(2===fe?fe=0:K.lastNeed=fe-3),fe):0}(this,K,X);if(!this.lastNeed)return K.toString("utf8",X);this.lastTotal=ie;var ae=K.length-(ie-this.lastNeed);return K.copy(this.lastChar,0,ae),K.toString("utf8",X,ae)},l.prototype.fillLast=function(K){if(this.lastNeed<=K.length)return K.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);K.copy(this.lastChar,this.lastTotal-this.lastNeed,0,K.length),this.lastNeed-=K.length}},5852:(ze,q,p)=>{var e=p(1156);q.encode=e.encode,q.decode=e.decode},1156:(ze,q)=>{"use strict";var e=[255,255,26,27,28,29,30,31,255,255,255,255,255,255,255,255,255,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,255,255,255,255,255,255,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,255,255,255,255,255];q.encode=function(y){Buffer.isBuffer(y)||(y=new Buffer(y));for(var A=0,l=0,x=0,m=0,P=new Buffer(8*function t(y){var A=Math.floor(y.length/5);return y.length%5==0?A:A+1}(y));A<y.length;){var d=y[A];x>3?(m=(m=d&255>>x)<<(x=(x+5)%8)|(A+1<y.length?y[A+1]:0)>>8-x,A++):(m=d>>8-(x+5)&31,0==(x=(x+5)%8)&&A++),P[l]="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567".charCodeAt(m),l++}for(A=l;A<P.length;A++)P[A]=61;return P},q.decode=function(y){var x,A=0,l=0,m=0;Buffer.isBuffer(y)||(y=new Buffer(y));for(var P=new Buffer(Math.ceil(5*y.length/8)),d=0;d<y.length&&61!==y[d];d++){var E=y[d]-48;if(!(E<e.length))throw new Error("Invalid input - it is not base32 encoded string");l=e[E],A<=3?0==(A=(A+5)%8)?(P[m]=x|=l,m++,x=0):x|=255&l<<8-A:(P[m]=x|=255&l>>>(A=(A+5)%8),m++,x=255&l<<8-A)}return P.slice(0,m)}},496:ze=>{function p(e){try{if(!global.localStorage)return!1}catch{return!1}var t=global.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}ze.exports=function q(e,t){if(p("noDeprecation"))return e;var y=!1;return function A(){if(!y){if(p("throwDeprecation"))throw new Error(t);p("traceDeprecation")?console.trace(t):console.warn(t),y=!0}return e.apply(this,arguments)}}},950:()=>{},6601:()=>{},8623:()=>{},7748:()=>{},5568:()=>{},6619:()=>{},7108:()=>{},2361:()=>{},4616:()=>{},6825:(ze,q,p)=>{"use strict";p.d(q,{F4:()=>P,IO:()=>k,SB:()=>m,X$:()=>t,ZE:()=>Me,ZN:()=>se,eR:()=>d,jt:()=>y,k1:()=>$,l3:()=>e,oB:()=>x,pV:()=>M,ru:()=>A,vP:()=>l});const e="*";function t(ue,S){return{type:7,name:ue,definitions:S,options:{}}}function y(ue,S=null){return{type:4,styles:S,timings:ue}}function A(ue,S=null){return{type:3,steps:ue,options:S}}function l(ue,S=null){return{type:2,steps:ue,options:S}}function x(ue){return{type:6,styles:ue,offset:null}}function m(ue,S,n){return{type:0,name:ue,styles:S,options:n}}function P(ue){return{type:5,steps:ue}}function d(ue,S,n=null){return{type:1,expr:ue,animation:S,options:n}}function M(ue=null){return{type:9,options:ue}}function k(ue,S,n=null){return{type:11,selector:ue,animation:S,options:n}}class se{constructor(S=0,n=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=S+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(S=>S()),this._onDoneFns=[])}onStart(S){this._originalOnStartFns.push(S),this._onStartFns.push(S)}onDone(S){this._originalOnDoneFns.push(S),this._onDoneFns.push(S)}onDestroy(S){this._onDestroyFns.push(S)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(S=>S()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(S=>S()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(S){this._position=this.totalTime?S*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(S){const n="start"==S?this._onStartFns:this._onDoneFns;n.forEach(s=>s()),n.length=0}}class Me{constructor(S){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=S;let n=0,s=0,f=0;const h=this.players.length;0==h?queueMicrotask(()=>this._onFinish()):this.players.forEach(w=>{w.onDone(()=>{++n==h&&this._onFinish()}),w.onDestroy(()=>{++s==h&&this._onDestroy()}),w.onStart(()=>{++f==h&&this._onStart()})}),this.totalTime=this.players.reduce((w,D)=>Math.max(w,D.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(S=>S()),this._onDoneFns=[])}init(){this.players.forEach(S=>S.init())}onStart(S){this._onStartFns.push(S)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(S=>S()),this._onStartFns=[])}onDone(S){this._onDoneFns.push(S)}onDestroy(S){this._onDestroyFns.push(S)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(S=>S.play())}pause(){this.players.forEach(S=>S.pause())}restart(){this.players.forEach(S=>S.restart())}finish(){this._onFinish(),this.players.forEach(S=>S.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(S=>S.destroy()),this._onDestroyFns.forEach(S=>S()),this._onDestroyFns=[])}reset(){this.players.forEach(S=>S.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(S){const n=S*this.totalTime;this.players.forEach(s=>{const f=s.totalTime?Math.min(1,n/s.totalTime):1;s.setPosition(f)})}getPosition(){const S=this.players.reduce((n,s)=>null===n||s.totalTime>n.totalTime?s:n,null);return null!=S?S.getPosition():0}beforeDestroy(){this.players.forEach(S=>{S.beforeDestroy&&S.beforeDestroy()})}triggerCallback(S){const n="start"==S?this._onStartFns:this._onDoneFns;n.forEach(s=>s()),n.length=0}}const $="!"},4300:(ze,q,p)=>{"use strict";p.d(q,{$s:()=>n,Em:()=>D,Kd:()=>Et,X6:()=>We,Zf:()=>ae,iD:()=>fe,ic:()=>v,kH:()=>Ze,mK:()=>ge,qV:()=>de,qm:()=>Ot,rt:()=>yt,s1:()=>w,tE:()=>$t,yG:()=>wt});var e=p(6814),t=p(9212),y=p(2831),A=p(8645),l=p(7394),x=p(5619),m=p(2096),P=p(6028),d=p(9397),E=p(3620),M=p(2181),I=p(7398),k=p(8180),V=p(836),B=p(3997),W=p(9773),j=p(7131),K=p(2495),X=p(1088);const ie=" ";function ae(nt,Ee,tt){const Ue=se(nt,Ee);Ue.some(Xe=>Xe.trim()==tt.trim())||(Ue.push(tt.trim()),nt.setAttribute(Ee,Ue.join(ie)))}function fe(nt,Ee,tt){const Xe=se(nt,Ee).filter(gt=>gt!=tt.trim());Xe.length?nt.setAttribute(Ee,Xe.join(ie)):nt.removeAttribute(Ee)}function se(nt,Ee){return(nt.getAttribute(Ee)||"").match(/\S+/g)||[]}const $="cdk-describedby-message",ue="cdk-describedby-host";let S=0,n=(()=>{class nt{constructor(tt,Ue){this._platform=Ue,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+S++,this._document=tt,this._id=(0,t.f3M)(t.AFp)+"-"+S++}describe(tt,Ue,Xe){if(!this._canBeDescribed(tt,Ue))return;const gt=s(Ue,Xe);"string"!=typeof Ue?(f(Ue,this._id),this._messageRegistry.set(gt,{messageElement:Ue,referenceCount:0})):this._messageRegistry.has(gt)||this._createMessageElement(Ue,Xe),this._isElementDescribedByMessage(tt,gt)||this._addMessageReference(tt,gt)}removeDescription(tt,Ue,Xe){if(!Ue||!this._isElementNode(tt))return;const gt=s(Ue,Xe);if(this._isElementDescribedByMessage(tt,gt)&&this._removeMessageReference(tt,gt),"string"==typeof Ue){const Le=this._messageRegistry.get(gt);Le&&0===Le.referenceCount&&this._deleteMessageElement(gt)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const tt=this._document.querySelectorAll(`[${ue}="${this._id}"]`);for(let Ue=0;Ue<tt.length;Ue++)this._removeCdkDescribedByReferenceIds(tt[Ue]),tt[Ue].removeAttribute(ue);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(tt,Ue){const Xe=this._document.createElement("div");f(Xe,this._id),Xe.textContent=tt,Ue&&Xe.setAttribute("role",Ue),this._createMessagesContainer(),this._messagesContainer.appendChild(Xe),this._messageRegistry.set(s(tt,Ue),{messageElement:Xe,referenceCount:0})}_deleteMessageElement(tt){this._messageRegistry.get(tt)?.messageElement?.remove(),this._messageRegistry.delete(tt)}_createMessagesContainer(){if(this._messagesContainer)return;const tt="cdk-describedby-message-container",Ue=this._document.querySelectorAll(`.${tt}[platform="server"]`);for(let gt=0;gt<Ue.length;gt++)Ue[gt].remove();const Xe=this._document.createElement("div");Xe.style.visibility="hidden",Xe.classList.add(tt),Xe.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&Xe.setAttribute("platform","server"),this._document.body.appendChild(Xe),this._messagesContainer=Xe}_removeCdkDescribedByReferenceIds(tt){const Ue=se(tt,"aria-describedby").filter(Xe=>0!=Xe.indexOf($));tt.setAttribute("aria-describedby",Ue.join(" "))}_addMessageReference(tt,Ue){const Xe=this._messageRegistry.get(Ue);ae(tt,"aria-describedby",Xe.messageElement.id),tt.setAttribute(ue,this._id),Xe.referenceCount++}_removeMessageReference(tt,Ue){const Xe=this._messageRegistry.get(Ue);Xe.referenceCount--,fe(tt,"aria-describedby",Xe.messageElement.id),tt.removeAttribute(ue)}_isElementDescribedByMessage(tt,Ue){const Xe=se(tt,"aria-describedby"),gt=this._messageRegistry.get(Ue),Le=gt&&gt.messageElement.id;return!!Le&&-1!=Xe.indexOf(Le)}_canBeDescribed(tt,Ue){if(!this._isElementNode(tt))return!1;if(Ue&&"object"==typeof Ue)return!0;const Xe=null==Ue?"":`${Ue}`.trim(),gt=tt.getAttribute("aria-label");return!(!Xe||gt&&gt.trim()===Xe)}_isElementNode(tt){return tt.nodeType===this._document.ELEMENT_NODE}static#e=this.\u0275fac=function(Ue){return new(Ue||nt)(t.LFG(e.K0),t.LFG(y.t4))};static#t=this.\u0275prov=t.Yz7({token:nt,factory:nt.\u0275fac,providedIn:"root"})}return nt})();function s(nt,Ee){return"string"==typeof nt?`${Ee||""}/${nt}`:nt}function f(nt,Ee){nt.id||(nt.id=`${$}-${Ee}-${S++}`)}class h{constructor(Ee){this._items=Ee,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new A.x,this._typeaheadSubscription=l.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=tt=>tt.disabled,this._pressedLetters=[],this.tabOut=new A.x,this.change=new A.x,Ee instanceof t.n_E&&(this._itemChangesSubscription=Ee.changes.subscribe(tt=>{if(this._activeItem){const Xe=tt.toArray().indexOf(this._activeItem);Xe>-1&&Xe!==this._activeItemIndex&&(this._activeItemIndex=Xe)}}))}skipPredicate(Ee){return this._skipPredicateFn=Ee,this}withWrap(Ee=!0){return this._wrap=Ee,this}withVerticalOrientation(Ee=!0){return this._vertical=Ee,this}withHorizontalOrientation(Ee){return this._horizontal=Ee,this}withAllowedModifierKeys(Ee){return this._allowedModifierKeys=Ee,this}withTypeAhead(Ee=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,d.b)(tt=>this._pressedLetters.push(tt)),(0,E.b)(Ee),(0,M.h)(()=>this._pressedLetters.length>0),(0,I.U)(()=>this._pressedLetters.join(""))).subscribe(tt=>{const Ue=this._getItemsArray();for(let Xe=1;Xe<Ue.length+1;Xe++){const gt=(this._activeItemIndex+Xe)%Ue.length,Le=Ue[gt];if(!this._skipPredicateFn(Le)&&0===Le.getLabel().toUpperCase().trim().indexOf(tt)){this.setActiveItem(gt);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(Ee=!0){return this._homeAndEnd=Ee,this}withPageUpDown(Ee=!0,tt=10){return this._pageUpAndDown={enabled:Ee,delta:tt},this}setActiveItem(Ee){const tt=this._activeItem;this.updateActiveItem(Ee),this._activeItem!==tt&&this.change.next(this._activeItemIndex)}onKeydown(Ee){const tt=Ee.keyCode,Xe=["altKey","ctrlKey","metaKey","shiftKey"].every(gt=>!Ee[gt]||this._allowedModifierKeys.indexOf(gt)>-1);switch(tt){case P.Mf:return void this.tabOut.next();case P.JH:if(this._vertical&&Xe){this.setNextItemActive();break}return;case P.LH:if(this._vertical&&Xe){this.setPreviousItemActive();break}return;case P.SV:if(this._horizontal&&Xe){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case P.oh:if(this._horizontal&&Xe){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case P.Sd:if(this._homeAndEnd&&Xe){this.setFirstItemActive();break}return;case P.uR:if(this._homeAndEnd&&Xe){this.setLastItemActive();break}return;case P.Ku:if(this._pageUpAndDown.enabled&&Xe){const gt=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(gt>0?gt:0,1);break}return;case P.VM:if(this._pageUpAndDown.enabled&&Xe){const gt=this._activeItemIndex+this._pageUpAndDown.delta,Le=this._getItemsArray().length;this._setActiveItemByIndex(gt<Le?gt:Le-1,-1);break}return;default:return void((Xe||(0,P.Vb)(Ee,"shiftKey"))&&(Ee.key&&1===Ee.key.length?this._letterKeyStream.next(Ee.key.toLocaleUpperCase()):(tt>=P.A&&tt<=P.Z||tt>=P.xE&&tt<=P.aO)&&this._letterKeyStream.next(String.fromCharCode(tt))))}this._pressedLetters=[],Ee.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(Ee){const tt=this._getItemsArray(),Ue="number"==typeof Ee?Ee:tt.indexOf(Ee);this._activeItem=tt[Ue]??null,this._activeItemIndex=Ue}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(Ee){this._wrap?this._setActiveInWrapMode(Ee):this._setActiveInDefaultMode(Ee)}_setActiveInWrapMode(Ee){const tt=this._getItemsArray();for(let Ue=1;Ue<=tt.length;Ue++){const Xe=(this._activeItemIndex+Ee*Ue+tt.length)%tt.length;if(!this._skipPredicateFn(tt[Xe]))return void this.setActiveItem(Xe)}}_setActiveInDefaultMode(Ee){this._setActiveItemByIndex(this._activeItemIndex+Ee,Ee)}_setActiveItemByIndex(Ee,tt){const Ue=this._getItemsArray();if(Ue[Ee]){for(;this._skipPredicateFn(Ue[Ee]);)if(!Ue[Ee+=tt])return;this.setActiveItem(Ee)}}_getItemsArray(){return this._items instanceof t.n_E?this._items.toArray():this._items}}class w extends h{setActiveItem(Ee){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(Ee),this.activeItem&&this.activeItem.setActiveStyles()}}class D extends h{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(Ee){return this._origin=Ee,this}setActiveItem(Ee){super.setActiveItem(Ee),this.activeItem&&this.activeItem.focus(this._origin)}}let v=(()=>{class nt{constructor(tt){this._platform=tt}isDisabled(tt){return tt.hasAttribute("disabled")}isVisible(tt){return function g(nt){return!!(nt.offsetWidth||nt.offsetHeight||"function"==typeof nt.getClientRects&&nt.getClientRects().length)}(tt)&&"visible"===getComputedStyle(tt).visibility}isTabbable(tt){if(!this._platform.isBrowser)return!1;const Ue=function r(nt){try{return nt.frameElement}catch{return null}}(function he(nt){return nt.ownerDocument&&nt.ownerDocument.defaultView||window}(tt));if(Ue&&(-1===Je(Ue)||!this.isVisible(Ue)))return!1;let Xe=tt.nodeName.toLowerCase(),gt=Je(tt);return tt.hasAttribute("contenteditable")?-1!==gt:!("iframe"===Xe||"object"===Xe||this._platform.WEBKIT&&this._platform.IOS&&!function ye(nt){let Ee=nt.nodeName.toLowerCase(),tt="input"===Ee&&nt.type;return"text"===tt||"password"===tt||"select"===Ee||"textarea"===Ee}(tt))&&("audio"===Xe?!!tt.hasAttribute("controls")&&-1!==gt:"video"===Xe?-1!==gt&&(null!==gt||this._platform.FIREFOX||tt.hasAttribute("controls")):tt.tabIndex>=0)}isFocusable(tt,Ue){return function me(nt){return!function N(nt){return function De(nt){return"input"==nt.nodeName.toLowerCase()}(nt)&&"hidden"==nt.type}(nt)&&(function H(nt){let Ee=nt.nodeName.toLowerCase();return"input"===Ee||"select"===Ee||"button"===Ee||"textarea"===Ee}(nt)||function ee(nt){return function ot(nt){return"a"==nt.nodeName.toLowerCase()}(nt)&&nt.hasAttribute("href")}(nt)||nt.hasAttribute("contenteditable")||je(nt))}(tt)&&!this.isDisabled(tt)&&(Ue?.ignoreVisibility||this.isVisible(tt))}static#e=this.\u0275fac=function(Ue){return new(Ue||nt)(t.LFG(y.t4))};static#t=this.\u0275prov=t.Yz7({token:nt,factory:nt.\u0275fac,providedIn:"root"})}return nt})();function je(nt){if(!nt.hasAttribute("tabindex")||void 0===nt.tabIndex)return!1;let Ee=nt.getAttribute("tabindex");return!(!Ee||isNaN(parseInt(Ee,10)))}function Je(nt){if(!je(nt))return null;const Ee=parseInt(nt.getAttribute("tabindex")||"",10);return isNaN(Ee)?-1:Ee}class xe{get enabled(){return this._enabled}set enabled(Ee){this._enabled=Ee,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Ee,this._startAnchor),this._toggleAnchorTabIndex(Ee,this._endAnchor))}constructor(Ee,tt,Ue,Xe,gt=!1){this._element=Ee,this._checker=tt,this._ngZone=Ue,this._document=Xe,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,gt||this.attachAnchors()}destroy(){const Ee=this._startAnchor,tt=this._endAnchor;Ee&&(Ee.removeEventListener("focus",this.startAnchorListener),Ee.remove()),tt&&(tt.removeEventListener("focus",this.endAnchorListener),tt.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(Ee){return new Promise(tt=>{this._executeOnStable(()=>tt(this.focusInitialElement(Ee)))})}focusFirstTabbableElementWhenReady(Ee){return new Promise(tt=>{this._executeOnStable(()=>tt(this.focusFirstTabbableElement(Ee)))})}focusLastTabbableElementWhenReady(Ee){return new Promise(tt=>{this._executeOnStable(()=>tt(this.focusLastTabbableElement(Ee)))})}_getRegionBoundary(Ee){const tt=this._element.querySelectorAll(`[cdk-focus-region-${Ee}], [cdkFocusRegion${Ee}], [cdk-focus-${Ee}]`);return"start"==Ee?tt.length?tt[0]:this._getFirstTabbableElement(this._element):tt.length?tt[tt.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(Ee){const tt=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(tt){if(!this._checker.isFocusable(tt)){const Ue=this._getFirstTabbableElement(tt);return Ue?.focus(Ee),!!Ue}return tt.focus(Ee),!0}return this.focusFirstTabbableElement(Ee)}focusFirstTabbableElement(Ee){const tt=this._getRegionBoundary("start");return tt&&tt.focus(Ee),!!tt}focusLastTabbableElement(Ee){const tt=this._getRegionBoundary("end");return tt&&tt.focus(Ee),!!tt}hasAttached(){return this._hasAttached}_getFirstTabbableElement(Ee){if(this._checker.isFocusable(Ee)&&this._checker.isTabbable(Ee))return Ee;const tt=Ee.children;for(let Ue=0;Ue<tt.length;Ue++){const Xe=tt[Ue].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(tt[Ue]):null;if(Xe)return Xe}return null}_getLastTabbableElement(Ee){if(this._checker.isFocusable(Ee)&&this._checker.isTabbable(Ee))return Ee;const tt=Ee.children;for(let Ue=tt.length-1;Ue>=0;Ue--){const Xe=tt[Ue].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(tt[Ue]):null;if(Xe)return Xe}return null}_createAnchor(){const Ee=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,Ee),Ee.classList.add("cdk-visually-hidden"),Ee.classList.add("cdk-focus-trap-anchor"),Ee.setAttribute("aria-hidden","true"),Ee}_toggleAnchorTabIndex(Ee,tt){Ee?tt.setAttribute("tabindex","0"):tt.removeAttribute("tabindex")}toggleAnchors(Ee){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Ee,this._startAnchor),this._toggleAnchorTabIndex(Ee,this._endAnchor))}_executeOnStable(Ee){this._ngZone.isStable?Ee():this._ngZone.onStable.pipe((0,k.q)(1)).subscribe(Ee)}}let de=(()=>{class nt{constructor(tt,Ue,Xe){this._checker=tt,this._ngZone=Ue,this._document=Xe}create(tt,Ue=!1){return new xe(tt,this._checker,this._ngZone,this._document,Ue)}static#e=this.\u0275fac=function(Ue){return new(Ue||nt)(t.LFG(v),t.LFG(t.R0b),t.LFG(e.K0))};static#t=this.\u0275prov=t.Yz7({token:nt,factory:nt.\u0275fac,providedIn:"root"})}return nt})(),ge=(()=>{class nt{get enabled(){return this.focusTrap.enabled}set enabled(tt){this.focusTrap.enabled=tt}constructor(tt,Ue,Xe){this._elementRef=tt,this._focusTrapFactory=Ue,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(tt){const Ue=tt.autoCapture;Ue&&!Ue.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,y.ht)(),this.focusTrap.focusInitialElementWhenReady()}static#e=this.\u0275fac=function(Ue){return new(Ue||nt)(t.Y36(t.SBq),t.Y36(de),t.Y36(e.K0))};static#t=this.\u0275dir=t.lG2({type:nt,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled",t.VuI],autoCapture:["cdkTrapFocusAutoCapture","autoCapture",t.VuI]},exportAs:["cdkTrapFocus"],features:[t.Xq5,t.TTD]})}return nt})();function We(nt){return 0===nt.buttons||0===nt.detail}function wt(nt){const Ee=nt.touches&&nt.touches[0]||nt.changedTouches&&nt.changedTouches[0];return!(!Ee||-1!==Ee.identifier||null!=Ee.radiusX&&1!==Ee.radiusX||null!=Ee.radiusY&&1!==Ee.radiusY)}const mt=new t.OlP("cdk-input-modality-detector-options"),kt={ignoreKeys:[P.zL,P.jx,P.b2,P.MW,P.JU]},Be=(0,y.i$)({passive:!0,capture:!0});let it=(()=>{class nt{get mostRecentModality(){return this._modality.value}constructor(tt,Ue,Xe,gt){this._platform=tt,this._mostRecentTarget=null,this._modality=new x.X(null),this._lastTouchMs=0,this._onKeydown=Le=>{this._options?.ignoreKeys?.some(be=>be===Le.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,y.sA)(Le))},this._onMousedown=Le=>{Date.now()-this._lastTouchMs<650||(this._modality.next(We(Le)?"keyboard":"mouse"),this._mostRecentTarget=(0,y.sA)(Le))},this._onTouchstart=Le=>{wt(Le)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,y.sA)(Le))},this._options={...kt,...gt},this.modalityDetected=this._modality.pipe((0,V.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,B.x)()),tt.isBrowser&&Ue.runOutsideAngular(()=>{Xe.addEventListener("keydown",this._onKeydown,Be),Xe.addEventListener("mousedown",this._onMousedown,Be),Xe.addEventListener("touchstart",this._onTouchstart,Be)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Be),document.removeEventListener("mousedown",this._onMousedown,Be),document.removeEventListener("touchstart",this._onTouchstart,Be))}static#e=this.\u0275fac=function(Ue){return new(Ue||nt)(t.LFG(y.t4),t.LFG(t.R0b),t.LFG(e.K0),t.LFG(mt,8))};static#t=this.\u0275prov=t.Yz7({token:nt,factory:nt.\u0275fac,providedIn:"root"})}return nt})();const $e=new t.OlP("liveAnnouncerElement",{providedIn:"root",factory:function ke(){return null}}),st=new t.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Ke=0,Et=(()=>{class nt{constructor(tt,Ue,Xe,gt){this._ngZone=Ue,this._defaultOptions=gt,this._document=Xe,this._liveElement=tt||this._createLiveElement()}announce(tt,...Ue){const Xe=this._defaultOptions;let gt,Le;return 1===Ue.length&&"number"==typeof Ue[0]?Le=Ue[0]:[gt,Le]=Ue,this.clear(),clearTimeout(this._previousTimeout),gt||(gt=Xe&&Xe.politeness?Xe.politeness:"polite"),null==Le&&Xe&&(Le=Xe.duration),this._liveElement.setAttribute("aria-live",gt),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(be=>this._currentResolve=be)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=tt,"number"==typeof Le&&(this._previousTimeout=setTimeout(()=>this.clear(),Le)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const tt="cdk-live-announcer-element",Ue=this._document.getElementsByClassName(tt),Xe=this._document.createElement("div");for(let gt=0;gt<Ue.length;gt++)Ue[gt].remove();return Xe.classList.add(tt),Xe.classList.add("cdk-visually-hidden"),Xe.setAttribute("aria-atomic","true"),Xe.setAttribute("aria-live","polite"),Xe.id="cdk-live-announcer-"+Ke++,this._document.body.appendChild(Xe),Xe}_exposeAnnouncerToModals(tt){const Ue=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let Xe=0;Xe<Ue.length;Xe++){const gt=Ue[Xe],Le=gt.getAttribute("aria-owns");Le?-1===Le.indexOf(tt)&&gt.setAttribute("aria-owns",Le+" "+tt):gt.setAttribute("aria-owns",tt)}}static#e=this.\u0275fac=function(Ue){return new(Ue||nt)(t.LFG($e,8),t.LFG(t.R0b),t.LFG(e.K0),t.LFG(st,8))};static#t=this.\u0275prov=t.Yz7({token:nt,factory:nt.\u0275fac,providedIn:"root"})}return nt})();const te=new t.OlP("cdk-focus-monitor-default-options"),Pe=(0,y.i$)({passive:!0,capture:!0});let $t=(()=>{class nt{constructor(tt,Ue,Xe,gt,Le){this._ngZone=tt,this._platform=Ue,this._inputModalityDetector=Xe,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new A.x,this._rootNodeFocusAndBlurListener=be=>{for(let re=(0,y.sA)(be);re;re=re.parentElement)"focus"===be.type?this._onFocus(be,re):this._onBlur(be,re)},this._document=gt,this._detectionMode=Le?.detectionMode||0}monitor(tt,Ue=!1){const Xe=(0,K.fI)(tt);if(!this._platform.isBrowser||1!==Xe.nodeType)return(0,m.of)();const gt=(0,y.kV)(Xe)||this._getDocument(),Le=this._elementInfo.get(Xe);if(Le)return Ue&&(Le.checkChildren=!0),Le.subject;const be={checkChildren:Ue,subject:new A.x,rootNode:gt};return this._elementInfo.set(Xe,be),this._registerGlobalListeners(be),be.subject}stopMonitoring(tt){const Ue=(0,K.fI)(tt),Xe=this._elementInfo.get(Ue);Xe&&(Xe.subject.complete(),this._setClasses(Ue),this._elementInfo.delete(Ue),this._removeGlobalListeners(Xe))}focusVia(tt,Ue,Xe){const gt=(0,K.fI)(tt);gt===this._getDocument().activeElement?this._getClosestElementsInfo(gt).forEach(([be,J])=>this._originChanged(be,Ue,J)):(this._setOrigin(Ue),"function"==typeof gt.focus&&gt.focus(Xe))}ngOnDestroy(){this._elementInfo.forEach((tt,Ue)=>this.stopMonitoring(Ue))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(tt){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(tt)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:tt&&this._isLastInteractionFromInputLabel(tt)?"mouse":"program"}_shouldBeAttributedToTouch(tt){return 1===this._detectionMode||!!tt?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(tt,Ue){tt.classList.toggle("cdk-focused",!!Ue),tt.classList.toggle("cdk-touch-focused","touch"===Ue),tt.classList.toggle("cdk-keyboard-focused","keyboard"===Ue),tt.classList.toggle("cdk-mouse-focused","mouse"===Ue),tt.classList.toggle("cdk-program-focused","program"===Ue)}_setOrigin(tt,Ue=!1){this._ngZone.runOutsideAngular(()=>{this._origin=tt,this._originFromTouchInteraction="touch"===tt&&Ue,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(tt,Ue){const Xe=this._elementInfo.get(Ue),gt=(0,y.sA)(tt);!Xe||!Xe.checkChildren&&Ue!==gt||this._originChanged(Ue,this._getFocusOrigin(gt),Xe)}_onBlur(tt,Ue){const Xe=this._elementInfo.get(Ue);!Xe||Xe.checkChildren&&tt.relatedTarget instanceof Node&&Ue.contains(tt.relatedTarget)||(this._setClasses(Ue),this._emitOrigin(Xe,null))}_emitOrigin(tt,Ue){tt.subject.observers.length&&this._ngZone.run(()=>tt.subject.next(Ue))}_registerGlobalListeners(tt){if(!this._platform.isBrowser)return;const Ue=tt.rootNode,Xe=this._rootNodeFocusListenerCount.get(Ue)||0;Xe||this._ngZone.runOutsideAngular(()=>{Ue.addEventListener("focus",this._rootNodeFocusAndBlurListener,Pe),Ue.addEventListener("blur",this._rootNodeFocusAndBlurListener,Pe)}),this._rootNodeFocusListenerCount.set(Ue,Xe+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,W.R)(this._stopInputModalityDetector)).subscribe(gt=>{this._setOrigin(gt,!0)}))}_removeGlobalListeners(tt){const Ue=tt.rootNode;if(this._rootNodeFocusListenerCount.has(Ue)){const Xe=this._rootNodeFocusListenerCount.get(Ue);Xe>1?this._rootNodeFocusListenerCount.set(Ue,Xe-1):(Ue.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Pe),Ue.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Pe),this._rootNodeFocusListenerCount.delete(Ue))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(tt,Ue,Xe){this._setClasses(tt,Ue),this._emitOrigin(Xe,Ue),this._lastFocusOrigin=Ue}_getClosestElementsInfo(tt){const Ue=[];return this._elementInfo.forEach((Xe,gt)=>{(gt===tt||Xe.checkChildren&&gt.contains(tt))&&Ue.push([gt,Xe])}),Ue}_isLastInteractionFromInputLabel(tt){const{_mostRecentTarget:Ue,mostRecentModality:Xe}=this._inputModalityDetector;if("mouse"!==Xe||!Ue||Ue===tt||"INPUT"!==tt.nodeName&&"TEXTAREA"!==tt.nodeName||tt.disabled)return!1;const gt=tt.labels;if(gt)for(let Le=0;Le<gt.length;Le++)if(gt[Le].contains(Ue))return!0;return!1}static#e=this.\u0275fac=function(Ue){return new(Ue||nt)(t.LFG(t.R0b),t.LFG(y.t4),t.LFG(it),t.LFG(e.K0,8),t.LFG(te,8))};static#t=this.\u0275prov=t.Yz7({token:nt,factory:nt.\u0275fac,providedIn:"root"})}return nt})(),Ze=(()=>{class nt{constructor(tt,Ue){this._elementRef=tt,this._focusMonitor=Ue,this._focusOrigin=null,this.cdkFocusChange=new t.vpe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const tt=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(tt,1===tt.nodeType&&tt.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(Ue=>{this._focusOrigin=Ue,this.cdkFocusChange.emit(Ue)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static#e=this.\u0275fac=function(Ue){return new(Ue||nt)(t.Y36(t.SBq),t.Y36($t))};static#t=this.\u0275dir=t.lG2({type:nt,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return nt})();const Qe="cdk-high-contrast-black-on-white",zt="cdk-high-contrast-white-on-black",xt="cdk-high-contrast-active";let Ot=(()=>{class nt{constructor(tt,Ue){this._platform=tt,this._document=Ue,this._breakpointSubscription=(0,t.f3M)(X.Yg).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const tt=this._document.createElement("div");tt.style.backgroundColor="rgb(1,2,3)",tt.style.position="absolute",this._document.body.appendChild(tt);const Ue=this._document.defaultView||window,Xe=Ue&&Ue.getComputedStyle?Ue.getComputedStyle(tt):null,gt=(Xe&&Xe.backgroundColor||"").replace(/ /g,"");switch(tt.remove(),gt){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const tt=this._document.body.classList;tt.remove(xt,Qe,zt),this._hasCheckedHighContrastMode=!0;const Ue=this.getHighContrastMode();1===Ue?tt.add(xt,Qe):2===Ue&&tt.add(xt,zt)}}static#e=this.\u0275fac=function(Ue){return new(Ue||nt)(t.LFG(y.t4),t.LFG(e.K0))};static#t=this.\u0275prov=t.Yz7({token:nt,factory:nt.\u0275fac,providedIn:"root"})}return nt})(),yt=(()=>{class nt{constructor(tt){tt._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(Ue){return new(Ue||nt)(t.LFG(Ot))};static#t=this.\u0275mod=t.oAB({type:nt});static#i=this.\u0275inj=t.cJS({imports:[j.Q8]})}return nt})()},9388:(ze,q,p)=>{"use strict";p.d(q,{Is:()=>m,vT:()=>d});var e=p(9212),t=p(6814);const y=new e.OlP("cdk-dir-doc",{providedIn:"root",factory:function A(){return(0,e.f3M)(t.K0)}}),l=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let m=(()=>{class E{constructor(I){this.value="ltr",this.change=new e.vpe,I&&(this.value=function x(E){const M=E?.toLowerCase()||"";return"auto"===M&&typeof navigator<"u"&&navigator?.language?l.test(navigator.language)?"rtl":"ltr":"rtl"===M?"rtl":"ltr"}((I.body?I.body.dir:null)||(I.documentElement?I.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(k){return new(k||E)(e.LFG(y,8))};static#t=this.\u0275prov=e.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"})}return E})(),d=(()=>{class E{static#e=this.\u0275fac=function(k){return new(k||E)};static#t=this.\u0275mod=e.oAB({type:E});static#i=this.\u0275inj=e.cJS({})}return E})()},2495:(ze,q,p)=>{"use strict";p.d(q,{Eq:()=>l,HM:()=>x,Ig:()=>t,du:()=>P,fI:()=>m,su:()=>y,t6:()=>A});var e=p(9212);function t(d){return null!=d&&"false"!=`${d}`}function y(d,E=0){return A(d)?Number(d):E}function A(d){return!isNaN(parseFloat(d))&&!isNaN(Number(d))}function l(d){return Array.isArray(d)?d:[d]}function x(d){return null==d?"":"string"==typeof d?d:`${d}px`}function m(d){return d instanceof e.SBq?d.nativeElement:d}function P(d,E=/\s+/){const M=[];if(null!=d){const I=Array.isArray(d)?d:`${d}`.split(E);for(const k of I){const V=`${k}`.trim();V&&M.push(V)}}return M}},8337:(ze,q,p)=>{"use strict";p.d(q,{A8:()=>M,Ov:()=>d,Z9:()=>l,eX:()=>P,k:()=>I,o2:()=>A,yy:()=>m});var e=p(3168),t=p(8645),y=p(9212);class A{}function l(k){return k&&"function"==typeof k.connect&&!(k instanceof e.c)}class m{applyChanges(V,B,W,j,K){V.forEachOperation((X,ie,ae)=>{let fe,se;if(null==X.previousIndex){const Me=W(X,ie,ae);fe=B.createEmbeddedView(Me.templateRef,Me.context,Me.index),se=1}else null==ae?(B.remove(ie),se=3):(fe=B.get(ie),B.move(fe,ae),se=2);K&&K({context:fe?.context,operation:se,record:X})})}detach(){}}class P{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(V,B,W,j,K){V.forEachOperation((X,ie,ae)=>{let fe,se;null==X.previousIndex?(fe=this._insertView(()=>W(X,ie,ae),ae,B,j(X)),se=fe?1:0):null==ae?(this._detachAndCacheView(ie,B),se=3):(fe=this._moveView(ie,ae,B,j(X)),se=2),K&&K({context:fe?.context,operation:se,record:X})})}detach(){for(const V of this._viewCache)V.destroy();this._viewCache=[]}_insertView(V,B,W,j){const K=this._insertViewFromCache(B,W);if(K)return void(K.context.$implicit=j);const X=V();return W.createEmbeddedView(X.templateRef,X.context,X.index)}_detachAndCacheView(V,B){const W=B.detach(V);this._maybeCacheView(W,B)}_moveView(V,B,W,j){const K=W.get(V);return W.move(K,B),K.context.$implicit=j,K}_maybeCacheView(V,B){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(V);else{const W=B.indexOf(V);-1===W?V.destroy():B.remove(W)}}_insertViewFromCache(V,B){const W=this._viewCache.pop();return W&&B.insert(W,V),W||null}}class d{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(V=!1,B,W=!0,j){this._multiple=V,this._emitChanges=W,this.compareWith=j,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new t.x,B&&B.length&&(V?B.forEach(K=>this._markSelected(K)):this._markSelected(B[0]),this._selectedToEmit.length=0)}select(...V){this._verifyValueAssignment(V),V.forEach(W=>this._markSelected(W));const B=this._hasQueuedChanges();return this._emitChangeEvent(),B}deselect(...V){this._verifyValueAssignment(V),V.forEach(W=>this._unmarkSelected(W));const B=this._hasQueuedChanges();return this._emitChangeEvent(),B}setSelection(...V){this._verifyValueAssignment(V);const B=this.selected,W=new Set(V);V.forEach(K=>this._markSelected(K)),B.filter(K=>!W.has(K)).forEach(K=>this._unmarkSelected(K));const j=this._hasQueuedChanges();return this._emitChangeEvent(),j}toggle(V){return this.isSelected(V)?this.deselect(V):this.select(V)}clear(V=!0){this._unmarkAll();const B=this._hasQueuedChanges();return V&&this._emitChangeEvent(),B}isSelected(V){return this._selection.has(this._getConcreteValue(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){V=this._getConcreteValue(V),this.isSelected(V)||(this._multiple||this._unmarkAll(),this.isSelected(V)||this._selection.add(V),this._emitChanges&&this._selectedToEmit.push(V))}_unmarkSelected(V){V=this._getConcreteValue(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){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(V){if(this.compareWith){for(let B of this._selection)if(this.compareWith(V,B))return B;return V}return V}}let M=(()=>{class k{constructor(){this._listeners=[]}notify(B,W){for(let j of this._listeners)j(B,W)}listen(B){return this._listeners.push(B),()=>{this._listeners=this._listeners.filter(W=>B!==W)}}ngOnDestroy(){this._listeners=[]}static#e=this.\u0275fac=function(W){return new(W||k)};static#t=this.\u0275prov=y.Yz7({token:k,factory:k.\u0275fac,providedIn:"root"})}return k})();const I=new y.OlP("_ViewRepeater")},6028:(ze,q,p)=>{"use strict";p.d(q,{A:()=>N,JH:()=>ie,JU:()=>x,K5:()=>l,Ku:()=>k,LH:()=>K,L_:()=>I,MW:()=>st,Mf:()=>y,SV:()=>X,Sd:()=>W,VM:()=>V,Vb:()=>Oe,Z:()=>ke,ZH:()=>t,aO:()=>O,b2:()=>lt,hY:()=>M,jx:()=>m,oh:()=>j,uR:()=>B,xE:()=>$,yY:()=>Me,zL:()=>P});const t=8,y=9,l=13,x=16,m=17,P=18,M=27,I=32,k=33,V=34,B=35,W=36,j=37,K=38,X=39,ie=40,Me=46,$=48,O=57,N=65,ke=90,st=91,lt=224;function Oe(Ct,...Ht){return Ht.length?Ht.some(Ii=>Ct[Ii]):Ct.altKey||Ct.shiftKey||Ct.ctrlKey||Ct.metaKey}},1088:(ze,q,p)=>{"use strict";p.d(q,{Yg:()=>ie,u3:()=>fe,xu:()=>V});var e=p(9212),t=p(2495),y=p(8645),A=p(2572),l=p(5211),x=p(5592),m=p(8180),P=p(836),d=p(3620),E=p(7398),M=p(7921),I=p(9773),k=p(2831);let V=(()=>{class se{static#e=this.\u0275fac=function(ue){return new(ue||se)};static#t=this.\u0275mod=e.oAB({type:se});static#i=this.\u0275inj=e.cJS({})}return se})();const B=new Set;let W,j=(()=>{class se{constructor($,ue){this._platform=$,this._nonce=ue,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):X}matchMedia($){return(this._platform.WEBKIT||this._platform.BLINK)&&function K(se,Me){if(!B.has(se))try{W||(W=document.createElement("style"),Me&&(W.nonce=Me),W.setAttribute("type","text/css"),document.head.appendChild(W)),W.sheet&&(W.sheet.insertRule(`@media ${se} {body{ }}`,0),B.add(se))}catch($){console.error($)}}($,this._nonce),this._matchMedia($)}static#e=this.\u0275fac=function(ue){return new(ue||se)(e.LFG(k.t4),e.LFG(e.Ojb,8))};static#t=this.\u0275prov=e.Yz7({token:se,factory:se.\u0275fac,providedIn:"root"})}return se})();function X(se){return{matches:"all"===se||""===se,media:se,addListener:()=>{},removeListener:()=>{}}}let ie=(()=>{class se{constructor($,ue){this._mediaMatcher=$,this._zone=ue,this._queries=new Map,this._destroySubject=new y.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched($){return ae((0,t.Eq)($)).some(S=>this._registerQuery(S).mql.matches)}observe($){const S=ae((0,t.Eq)($)).map(s=>this._registerQuery(s).observable);let n=(0,A.a)(S);return n=(0,l.z)(n.pipe((0,m.q)(1)),n.pipe((0,P.T)(1),(0,d.b)(0))),n.pipe((0,E.U)(s=>{const f={matches:!1,breakpoints:{}};return s.forEach(({matches:h,query:w})=>{f.matches=f.matches||h,f.breakpoints[w]=h}),f}))}_registerQuery($){if(this._queries.has($))return this._queries.get($);const ue=this._mediaMatcher.matchMedia($),n={observable:new x.y(s=>{const f=h=>this._zone.run(()=>s.next(h));return ue.addListener(f),()=>{ue.removeListener(f)}}).pipe((0,M.O)(ue),(0,E.U)(({matches:s})=>({query:$,matches:s})),(0,I.R)(this._destroySubject)),mql:ue};return this._queries.set($,n),n}static#e=this.\u0275fac=function(ue){return new(ue||se)(e.LFG(j),e.LFG(e.R0b))};static#t=this.\u0275prov=e.Yz7({token:se,factory:se.\u0275fac,providedIn:"root"})}return se})();function ae(se){return se.map(Me=>Me.split(",")).reduce((Me,$)=>Me.concat($)).map(Me=>Me.trim())}const fe={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},7131:(ze,q,p)=>{"use strict";p.d(q,{Q8:()=>d,wD:()=>P});var e=p(2495),t=p(9212),y=p(5592),A=p(8645),l=p(3620);let x=(()=>{class E{create(I){return typeof MutationObserver>"u"?null:new MutationObserver(I)}static#e=this.\u0275fac=function(k){return new(k||E)};static#t=this.\u0275prov=t.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"})}return E})(),m=(()=>{class E{constructor(I){this._mutationObserverFactory=I,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((I,k)=>this._cleanupObserver(k))}observe(I){const k=(0,e.fI)(I);return new y.y(V=>{const W=this._observeElement(k).subscribe(V);return()=>{W.unsubscribe(),this._unobserveElement(k)}})}_observeElement(I){if(this._observedElements.has(I))this._observedElements.get(I).count++;else{const k=new A.x,V=this._mutationObserverFactory.create(B=>k.next(B));V&&V.observe(I,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(I,{observer:V,stream:k,count:1})}return this._observedElements.get(I).stream}_unobserveElement(I){this._observedElements.has(I)&&(this._observedElements.get(I).count--,this._observedElements.get(I).count||this._cleanupObserver(I))}_cleanupObserver(I){if(this._observedElements.has(I)){const{observer:k,stream:V}=this._observedElements.get(I);k&&k.disconnect(),V.complete(),this._observedElements.delete(I)}}static#e=this.\u0275fac=function(k){return new(k||E)(t.LFG(x))};static#t=this.\u0275prov=t.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"})}return E})(),P=(()=>{class E{get disabled(){return this._disabled}set disabled(I){this._disabled=I,this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(I){this._debounce=(0,e.su)(I),this._subscribe()}constructor(I,k,V){this._contentObserver=I,this._elementRef=k,this._ngZone=V,this.event=new t.vpe,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const I=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?I.pipe((0,l.b)(this.debounce)):I).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}static#e=this.\u0275fac=function(k){return new(k||E)(t.Y36(m),t.Y36(t.SBq),t.Y36(t.R0b))};static#t=this.\u0275dir=t.lG2({type:E,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled",t.VuI],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],features:[t.Xq5]})}return E})(),d=(()=>{class E{static#e=this.\u0275fac=function(k){return new(k||E)};static#t=this.\u0275mod=t.oAB({type:E});static#i=this.\u0275inj=t.cJS({providers:[x]})}return E})()},3651:(ze,q,p)=>{"use strict";p.d(q,{pI:()=>le,xu:()=>ve,_G:()=>ee,aV:()=>ge,X_:()=>S,Xj:()=>r,U8:()=>wt,Iu:()=>g});var e=p(5407),t=p(6814),y=p(9212),A=p(2495),l=p(2831),x=p(2181),m=p(8180),P=p(9773),d=p(9360),E=p(8251),I=p(9388),k=p(8484),V=p(8645),B=p(7394),W=p(3019),j=p(6028);const K=(0,l.Mq)();class X{constructor(Ae,Be){this._viewportRuler=Ae,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=Be}attach(){}enable(){if(this._canBeEnabled()){const Ae=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=Ae.style.left||"",this._previousHTMLStyles.top=Ae.style.top||"",Ae.style.left=(0,A.HM)(-this._previousScrollPosition.left),Ae.style.top=(0,A.HM)(-this._previousScrollPosition.top),Ae.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const Ae=this._document.documentElement,it=Ae.style,$e=this._document.body.style,ke=it.scrollBehavior||"",st=$e.scrollBehavior||"";this._isEnabled=!1,it.left=this._previousHTMLStyles.left,it.top=this._previousHTMLStyles.top,Ae.classList.remove("cdk-global-scrollblock"),K&&(it.scrollBehavior=$e.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),K&&(it.scrollBehavior=ke,$e.scrollBehavior=st)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const Be=this._document.body,it=this._viewportRuler.getViewportSize();return Be.scrollHeight>it.height||Be.scrollWidth>it.width}}class ae{constructor(Ae,Be,it,$e){this._scrollDispatcher=Ae,this._ngZone=Be,this._viewportRuler=it,this._config=$e,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(Ae){this._overlayRef=Ae}enable(){if(this._scrollSubscription)return;const Ae=this._scrollDispatcher.scrolled(0).pipe((0,x.h)(Be=>!Be||!this._overlayRef.overlayElement.contains(Be.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=Ae.subscribe(()=>{const Be=this._viewportRuler.getViewportScrollPosition().top;Math.abs(Be-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=Ae.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class fe{enable(){}disable(){}attach(){}}function se(kt,Ae){return Ae.some(Be=>kt.bottom<Be.top||kt.top>Be.bottom||kt.right<Be.left||kt.left>Be.right)}function Me(kt,Ae){return Ae.some(Be=>kt.top<Be.top||kt.bottom>Be.bottom||kt.left<Be.left||kt.right>Be.right)}class ${constructor(Ae,Be,it,$e){this._scrollDispatcher=Ae,this._viewportRuler=Be,this._ngZone=it,this._config=$e,this._scrollSubscription=null}attach(Ae){this._overlayRef=Ae}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const Be=this._overlayRef.overlayElement.getBoundingClientRect(),{width:it,height:$e}=this._viewportRuler.getViewportSize();se(Be,[{width:it,height:$e,bottom:$e,right:it,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let ue=(()=>{class kt{constructor(Be,it,$e,ke){this._scrollDispatcher=Be,this._viewportRuler=it,this._ngZone=$e,this.noop=()=>new fe,this.close=st=>new ae(this._scrollDispatcher,this._ngZone,this._viewportRuler,st),this.block=()=>new X(this._viewportRuler,this._document),this.reposition=st=>new $(this._scrollDispatcher,this._viewportRuler,this._ngZone,st),this._document=ke}static#e=this.\u0275fac=function(it){return new(it||kt)(y.LFG(e.mF),y.LFG(e.rL),y.LFG(y.R0b),y.LFG(t.K0))};static#t=this.\u0275prov=y.Yz7({token:kt,factory:kt.\u0275fac,providedIn:"root"})}return kt})();class S{constructor(Ae){if(this.scrollStrategy=new fe,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,Ae){const Be=Object.keys(Ae);for(const it of Be)void 0!==Ae[it]&&(this[it]=Ae[it])}}}class f{constructor(Ae,Be){this.connectionPair=Ae,this.scrollableViewProperties=Be}}let D=(()=>{class kt{constructor(Be){this._attachedOverlays=[],this._document=Be}ngOnDestroy(){this.detach()}add(Be){this.remove(Be),this._attachedOverlays.push(Be)}remove(Be){const it=this._attachedOverlays.indexOf(Be);it>-1&&this._attachedOverlays.splice(it,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(it){return new(it||kt)(y.LFG(t.K0))};static#t=this.\u0275prov=y.Yz7({token:kt,factory:kt.\u0275fac,providedIn:"root"})}return kt})(),O=(()=>{class kt extends D{constructor(Be,it){super(Be),this._ngZone=it,this._keydownListener=$e=>{const ke=this._attachedOverlays;for(let st=ke.length-1;st>-1;st--)if(ke[st]._keydownEvents.observers.length>0){const Ke=ke[st]._keydownEvents;this._ngZone?this._ngZone.run(()=>Ke.next($e)):Ke.next($e);break}}}add(Be){super.add(Be),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static#e=this.\u0275fac=function(it){return new(it||kt)(y.LFG(t.K0),y.LFG(y.R0b,8))};static#t=this.\u0275prov=y.Yz7({token:kt,factory:kt.\u0275fac,providedIn:"root"})}return kt})(),v=(()=>{class kt extends D{constructor(Be,it,$e){super(Be),this._platform=it,this._ngZone=$e,this._cursorStyleIsSet=!1,this._pointerDownListener=ke=>{this._pointerDownEventTarget=(0,l.sA)(ke)},this._clickListener=ke=>{const st=(0,l.sA)(ke),Ke="click"===ke.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:st;this._pointerDownEventTarget=null;const Et=this._attachedOverlays.slice();for(let ct=Et.length-1;ct>-1;ct--){const te=Et[ct];if(te._outsidePointerEvents.observers.length<1||!te.hasAttached())continue;if(te.overlayElement.contains(st)||te.overlayElement.contains(Ke))break;const Pe=te._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>Pe.next(ke)):Pe.next(ke)}}}add(Be){if(super.add(Be),!this._isAttached){const it=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(it)):this._addEventListeners(it),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=it.style.cursor,it.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const Be=this._document.body;Be.removeEventListener("pointerdown",this._pointerDownListener,!0),Be.removeEventListener("click",this._clickListener,!0),Be.removeEventListener("auxclick",this._clickListener,!0),Be.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(Be.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(Be){Be.addEventListener("pointerdown",this._pointerDownListener,!0),Be.addEventListener("click",this._clickListener,!0),Be.addEventListener("auxclick",this._clickListener,!0),Be.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(it){return new(it||kt)(y.LFG(t.K0),y.LFG(l.t4),y.LFG(y.R0b,8))};static#t=this.\u0275prov=y.Yz7({token:kt,factory:kt.\u0275fac,providedIn:"root"})}return kt})(),r=(()=>{class kt{constructor(Be,it){this._platform=it,this._document=Be}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const Be="cdk-overlay-container";if(this._platform.isBrowser||(0,l.Oy)()){const $e=this._document.querySelectorAll(`.${Be}[platform="server"], .${Be}[platform="test"]`);for(let ke=0;ke<$e.length;ke++)$e[ke].remove()}const it=this._document.createElement("div");it.classList.add(Be),(0,l.Oy)()?it.setAttribute("platform","test"):this._platform.isBrowser||it.setAttribute("platform","server"),this._document.body.appendChild(it),this._containerElement=it}static#e=this.\u0275fac=function(it){return new(it||kt)(y.LFG(t.K0),y.LFG(l.t4))};static#t=this.\u0275prov=y.Yz7({token:kt,factory:kt.\u0275fac,providedIn:"root"})}return kt})();class g{constructor(Ae,Be,it,$e,ke,st,Ke,Et,ct,te=!1){this._portalOutlet=Ae,this._host=Be,this._pane=it,this._config=$e,this._ngZone=ke,this._keyboardDispatcher=st,this._document=Ke,this._location=Et,this._outsideClickDispatcher=ct,this._animationsDisabled=te,this._backdropElement=null,this._backdropClick=new V.x,this._attachments=new V.x,this._detachments=new V.x,this._locationChanges=B.w0.EMPTY,this._backdropClickHandler=Pe=>this._backdropClick.next(Pe),this._backdropTransitionendHandler=Pe=>{this._disposeBackdrop(Pe.target)},this._keydownEvents=new V.x,this._outsidePointerEvents=new V.x,$e.scrollStrategy&&(this._scrollStrategy=$e.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=$e.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(Ae){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const Be=this._portalOutlet.attach(Ae);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,m.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof Be?.onDestroy&&Be.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),Be}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const Ae=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),Ae}dispose(){const Ae=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,Ae&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(Ae){Ae!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=Ae,this.hasAttached()&&(Ae.attach(this),this.updatePosition()))}updateSize(Ae){this._config={...this._config,...Ae},this._updateElementSize()}setDirection(Ae){this._config={...this._config,direction:Ae},this._updateElementDirection()}addPanelClass(Ae){this._pane&&this._toggleClasses(this._pane,Ae,!0)}removePanelClass(Ae){this._pane&&this._toggleClasses(this._pane,Ae,!1)}getDirection(){const Ae=this._config.direction;return Ae?"string"==typeof Ae?Ae:Ae.value:"ltr"}updateScrollStrategy(Ae){Ae!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=Ae,this.hasAttached()&&(Ae.attach(this),Ae.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const Ae=this._pane.style;Ae.width=(0,A.HM)(this._config.width),Ae.height=(0,A.HM)(this._config.height),Ae.minWidth=(0,A.HM)(this._config.minWidth),Ae.minHeight=(0,A.HM)(this._config.minHeight),Ae.maxWidth=(0,A.HM)(this._config.maxWidth),Ae.maxHeight=(0,A.HM)(this._config.maxHeight)}_togglePointerEvents(Ae){this._pane.style.pointerEvents=Ae?"":"none"}_attachBackdrop(){const Ae="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(Ae)})}):this._backdropElement.classList.add(Ae)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const Ae=this._backdropElement;if(Ae){if(this._animationsDisabled)return void this._disposeBackdrop(Ae);Ae.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{Ae.addEventListener("transitionend",this._backdropTransitionendHandler)}),Ae.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(Ae)},500))}}_toggleClasses(Ae,Be,it){const $e=(0,A.Eq)(Be||[]).filter(ke=>!!ke);$e.length&&(it?Ae.classList.add(...$e):Ae.classList.remove(...$e))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const Ae=this._ngZone.onStable.pipe((0,P.R)((0,W.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),Ae.unsubscribe())})})}_disposeScrollStrategy(){const Ae=this._scrollStrategy;Ae&&(Ae.disable(),Ae.detach&&Ae.detach())}_disposeBackdrop(Ae){Ae&&(Ae.removeEventListener("click",this._backdropClickHandler),Ae.removeEventListener("transitionend",this._backdropTransitionendHandler),Ae.remove(),this._backdropElement===Ae&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const H="cdk-overlay-connected-position-bounding-box",N=/([A-Za-z%]+)$/;class ee{get positions(){return this._preferredPositions}constructor(Ae,Be,it,$e,ke){this._viewportRuler=Be,this._document=it,this._platform=$e,this._overlayContainer=ke,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 V.x,this._resizeSubscription=B.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(Ae)}attach(Ae){this._validatePositions(),Ae.hostElement.classList.add(H),this._overlayRef=Ae,this._boundingBox=Ae.hostElement,this._pane=Ae.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const Ae=this._originRect,Be=this._overlayRect,it=this._viewportRect,$e=this._containerRect,ke=[];let st;for(let Ke of this._preferredPositions){let Et=this._getOriginPoint(Ae,$e,Ke),ct=this._getOverlayPoint(Et,Be,Ke),te=this._getOverlayFit(ct,Be,it,Ke);if(te.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(Ke,Et);this._canFitWithFlexibleDimensions(te,ct,it)?ke.push({position:Ke,origin:Et,overlayRect:Be,boundingBoxRect:this._calculateBoundingBoxRect(Et,Ke)}):(!st||st.overlayFit.visibleArea<te.visibleArea)&&(st={overlayFit:te,overlayPoint:ct,originPoint:Et,position:Ke,overlayRect:Be})}if(ke.length){let Ke=null,Et=-1;for(const ct of ke){const te=ct.boundingBoxRect.width*ct.boundingBoxRect.height*(ct.position.weight||1);te>Et&&(Et=te,Ke=ct)}return this._isPushed=!1,void this._applyPosition(Ke.position,Ke.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(st.position,st.originPoint);this._applyPosition(st.position,st.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&De(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(H),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const Ae=this._lastPosition;if(Ae){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const Be=this._getOriginPoint(this._originRect,this._containerRect,Ae);this._applyPosition(Ae,Be)}else this.apply()}withScrollableContainers(Ae){return this._scrollables=Ae,this}withPositions(Ae){return this._preferredPositions=Ae,-1===Ae.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(Ae){return this._viewportMargin=Ae,this}withFlexibleDimensions(Ae=!0){return this._hasFlexibleDimensions=Ae,this}withGrowAfterOpen(Ae=!0){return this._growAfterOpen=Ae,this}withPush(Ae=!0){return this._canPush=Ae,this}withLockedPosition(Ae=!0){return this._positionLocked=Ae,this}setOrigin(Ae){return this._origin=Ae,this}withDefaultOffsetX(Ae){return this._offsetX=Ae,this}withDefaultOffsetY(Ae){return this._offsetY=Ae,this}withTransformOriginOn(Ae){return this._transformOriginSelector=Ae,this}_getOriginPoint(Ae,Be,it){let $e,ke;if("center"==it.originX)$e=Ae.left+Ae.width/2;else{const st=this._isRtl()?Ae.right:Ae.left,Ke=this._isRtl()?Ae.left:Ae.right;$e="start"==it.originX?st:Ke}return Be.left<0&&($e-=Be.left),ke="center"==it.originY?Ae.top+Ae.height/2:"top"==it.originY?Ae.top:Ae.bottom,Be.top<0&&(ke-=Be.top),{x:$e,y:ke}}_getOverlayPoint(Ae,Be,it){let $e,ke;return $e="center"==it.overlayX?-Be.width/2:"start"===it.overlayX?this._isRtl()?-Be.width:0:this._isRtl()?0:-Be.width,ke="center"==it.overlayY?-Be.height/2:"top"==it.overlayY?0:-Be.height,{x:Ae.x+$e,y:Ae.y+ke}}_getOverlayFit(Ae,Be,it,$e){const ke=je(Be);let{x:st,y:Ke}=Ae,Et=this._getOffset($e,"x"),ct=this._getOffset($e,"y");Et&&(st+=Et),ct&&(Ke+=ct);let $t=0-Ke,Ze=Ke+ke.height-it.height,Qe=this._subtractOverflows(ke.width,0-st,st+ke.width-it.width),zt=this._subtractOverflows(ke.height,$t,Ze),xt=Qe*zt;return{visibleArea:xt,isCompletelyWithinViewport:ke.width*ke.height===xt,fitsInViewportVertically:zt===ke.height,fitsInViewportHorizontally:Qe==ke.width}}_canFitWithFlexibleDimensions(Ae,Be,it){if(this._hasFlexibleDimensions){const $e=it.bottom-Be.y,ke=it.right-Be.x,st=ot(this._overlayRef.getConfig().minHeight),Ke=ot(this._overlayRef.getConfig().minWidth);return(Ae.fitsInViewportVertically||null!=st&&st<=$e)&&(Ae.fitsInViewportHorizontally||null!=Ke&&Ke<=ke)}return!1}_pushOverlayOnScreen(Ae,Be,it){if(this._previousPushAmount&&this._positionLocked)return{x:Ae.x+this._previousPushAmount.x,y:Ae.y+this._previousPushAmount.y};const $e=je(Be),ke=this._viewportRect,st=Math.max(Ae.x+$e.width-ke.width,0),Ke=Math.max(Ae.y+$e.height-ke.height,0),Et=Math.max(ke.top-it.top-Ae.y,0),ct=Math.max(ke.left-it.left-Ae.x,0);let te=0,Pe=0;return te=$e.width<=ke.width?ct||-st:Ae.x<this._viewportMargin?ke.left-it.left-Ae.x:0,Pe=$e.height<=ke.height?Et||-Ke:Ae.y<this._viewportMargin?ke.top-it.top-Ae.y:0,this._previousPushAmount={x:te,y:Pe},{x:Ae.x+te,y:Ae.y+Pe}}_applyPosition(Ae,Be){if(this._setTransformOrigin(Ae),this._setOverlayElementStyles(Be,Ae),this._setBoundingBoxStyles(Be,Ae),Ae.panelClass&&this._addPanelClasses(Ae.panelClass),this._lastPosition=Ae,this._positionChanges.observers.length){const it=this._getScrollVisibility(),$e=new f(Ae,it);this._positionChanges.next($e)}this._isInitialRender=!1}_setTransformOrigin(Ae){if(!this._transformOriginSelector)return;const Be=this._boundingBox.querySelectorAll(this._transformOriginSelector);let it,$e=Ae.overlayY;it="center"===Ae.overlayX?"center":this._isRtl()?"start"===Ae.overlayX?"right":"left":"start"===Ae.overlayX?"left":"right";for(let ke=0;ke<Be.length;ke++)Be[ke].style.transformOrigin=`${it} ${$e}`}_calculateBoundingBoxRect(Ae,Be){const it=this._viewportRect,$e=this._isRtl();let ke,st,Ke,te,Pe,$t;if("top"===Be.overlayY)st=Ae.y,ke=it.height-st+this._viewportMargin;else if("bottom"===Be.overlayY)Ke=it.height-Ae.y+2*this._viewportMargin,ke=it.height-Ke+this._viewportMargin;else{const Ze=Math.min(it.bottom-Ae.y+it.top,Ae.y),Qe=this._lastBoundingBoxSize.height;ke=2*Ze,st=Ae.y-Ze,ke>Qe&&!this._isInitialRender&&!this._growAfterOpen&&(st=Ae.y-Qe/2)}if("end"===Be.overlayX&&!$e||"start"===Be.overlayX&&$e)$t=it.width-Ae.x+this._viewportMargin,te=Ae.x-this._viewportMargin;else if("start"===Be.overlayX&&!$e||"end"===Be.overlayX&&$e)Pe=Ae.x,te=it.right-Ae.x;else{const Ze=Math.min(it.right-Ae.x+it.left,Ae.x),Qe=this._lastBoundingBoxSize.width;te=2*Ze,Pe=Ae.x-Ze,te>Qe&&!this._isInitialRender&&!this._growAfterOpen&&(Pe=Ae.x-Qe/2)}return{top:st,left:Pe,bottom:Ke,right:$t,width:te,height:ke}}_setBoundingBoxStyles(Ae,Be){const it=this._calculateBoundingBoxRect(Ae,Be);!this._isInitialRender&&!this._growAfterOpen&&(it.height=Math.min(it.height,this._lastBoundingBoxSize.height),it.width=Math.min(it.width,this._lastBoundingBoxSize.width));const $e={};if(this._hasExactPosition())$e.top=$e.left="0",$e.bottom=$e.right=$e.maxHeight=$e.maxWidth="",$e.width=$e.height="100%";else{const ke=this._overlayRef.getConfig().maxHeight,st=this._overlayRef.getConfig().maxWidth;$e.height=(0,A.HM)(it.height),$e.top=(0,A.HM)(it.top),$e.bottom=(0,A.HM)(it.bottom),$e.width=(0,A.HM)(it.width),$e.left=(0,A.HM)(it.left),$e.right=(0,A.HM)(it.right),$e.alignItems="center"===Be.overlayX?"center":"end"===Be.overlayX?"flex-end":"flex-start",$e.justifyContent="center"===Be.overlayY?"center":"bottom"===Be.overlayY?"flex-end":"flex-start",ke&&($e.maxHeight=(0,A.HM)(ke)),st&&($e.maxWidth=(0,A.HM)(st))}this._lastBoundingBoxSize=it,De(this._boundingBox.style,$e)}_resetBoundingBoxStyles(){De(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){De(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(Ae,Be){const it={},$e=this._hasExactPosition(),ke=this._hasFlexibleDimensions,st=this._overlayRef.getConfig();if($e){const te=this._viewportRuler.getViewportScrollPosition();De(it,this._getExactOverlayY(Be,Ae,te)),De(it,this._getExactOverlayX(Be,Ae,te))}else it.position="static";let Ke="",Et=this._getOffset(Be,"x"),ct=this._getOffset(Be,"y");Et&&(Ke+=`translateX(${Et}px) `),ct&&(Ke+=`translateY(${ct}px)`),it.transform=Ke.trim(),st.maxHeight&&($e?it.maxHeight=(0,A.HM)(st.maxHeight):ke&&(it.maxHeight="")),st.maxWidth&&($e?it.maxWidth=(0,A.HM)(st.maxWidth):ke&&(it.maxWidth="")),De(this._pane.style,it)}_getExactOverlayY(Ae,Be,it){let $e={top:"",bottom:""},ke=this._getOverlayPoint(Be,this._overlayRect,Ae);return this._isPushed&&(ke=this._pushOverlayOnScreen(ke,this._overlayRect,it)),"bottom"===Ae.overlayY?$e.bottom=this._document.documentElement.clientHeight-(ke.y+this._overlayRect.height)+"px":$e.top=(0,A.HM)(ke.y),$e}_getExactOverlayX(Ae,Be,it){let st,$e={left:"",right:""},ke=this._getOverlayPoint(Be,this._overlayRect,Ae);return this._isPushed&&(ke=this._pushOverlayOnScreen(ke,this._overlayRect,it)),st=this._isRtl()?"end"===Ae.overlayX?"left":"right":"end"===Ae.overlayX?"right":"left","right"===st?$e.right=this._document.documentElement.clientWidth-(ke.x+this._overlayRect.width)+"px":$e.left=(0,A.HM)(ke.x),$e}_getScrollVisibility(){const Ae=this._getOriginRect(),Be=this._pane.getBoundingClientRect(),it=this._scrollables.map($e=>$e.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Me(Ae,it),isOriginOutsideView:se(Ae,it),isOverlayClipped:Me(Be,it),isOverlayOutsideView:se(Be,it)}}_subtractOverflows(Ae,...Be){return Be.reduce((it,$e)=>it-Math.max($e,0),Ae)}_getNarrowedViewportRect(){const Ae=this._document.documentElement.clientWidth,Be=this._document.documentElement.clientHeight,it=this._viewportRuler.getViewportScrollPosition();return{top:it.top+this._viewportMargin,left:it.left+this._viewportMargin,right:it.left+Ae-this._viewportMargin,bottom:it.top+Be-this._viewportMargin,width:Ae-2*this._viewportMargin,height:Be-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(Ae,Be){return"x"===Be?null==Ae.offsetX?this._offsetX:Ae.offsetX:null==Ae.offsetY?this._offsetY:Ae.offsetY}_validatePositions(){}_addPanelClasses(Ae){this._pane&&(0,A.Eq)(Ae).forEach(Be=>{""!==Be&&-1===this._appliedPanelClasses.indexOf(Be)&&(this._appliedPanelClasses.push(Be),this._pane.classList.add(Be))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(Ae=>{this._pane.classList.remove(Ae)}),this._appliedPanelClasses=[])}_getOriginRect(){const Ae=this._origin;if(Ae instanceof y.SBq)return Ae.nativeElement.getBoundingClientRect();if(Ae instanceof Element)return Ae.getBoundingClientRect();const Be=Ae.width||0,it=Ae.height||0;return{top:Ae.y,bottom:Ae.y+it,left:Ae.x,right:Ae.x+Be,height:it,width:Be}}}function De(kt,Ae){for(let Be in Ae)Ae.hasOwnProperty(Be)&&(kt[Be]=Ae[Be]);return kt}function ot(kt){if("number"!=typeof kt&&null!=kt){const[Ae,Be]=kt.split(N);return Be&&"px"!==Be?null:parseFloat(Ae)}return kt||null}function je(kt){return{top:Math.floor(kt.top),right:Math.floor(kt.right),bottom:Math.floor(kt.bottom),left:Math.floor(kt.left),width:Math.floor(kt.width),height:Math.floor(kt.height)}}const me="cdk-global-overlay-wrapper";class he{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(Ae){const Be=Ae.getConfig();this._overlayRef=Ae,this._width&&!Be.width&&Ae.updateSize({width:this._width}),this._height&&!Be.height&&Ae.updateSize({height:this._height}),Ae.hostElement.classList.add(me),this._isDisposed=!1}top(Ae=""){return this._bottomOffset="",this._topOffset=Ae,this._alignItems="flex-start",this}left(Ae=""){return this._xOffset=Ae,this._xPosition="left",this}bottom(Ae=""){return this._topOffset="",this._bottomOffset=Ae,this._alignItems="flex-end",this}right(Ae=""){return this._xOffset=Ae,this._xPosition="right",this}start(Ae=""){return this._xOffset=Ae,this._xPosition="start",this}end(Ae=""){return this._xOffset=Ae,this._xPosition="end",this}width(Ae=""){return this._overlayRef?this._overlayRef.updateSize({width:Ae}):this._width=Ae,this}height(Ae=""){return this._overlayRef?this._overlayRef.updateSize({height:Ae}):this._height=Ae,this}centerHorizontally(Ae=""){return this.left(Ae),this._xPosition="center",this}centerVertically(Ae=""){return this.top(Ae),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const Ae=this._overlayRef.overlayElement.style,Be=this._overlayRef.hostElement.style,it=this._overlayRef.getConfig(),{width:$e,height:ke,maxWidth:st,maxHeight:Ke}=it,Et=!("100%"!==$e&&"100vw"!==$e||st&&"100%"!==st&&"100vw"!==st),ct=!("100%"!==ke&&"100vh"!==ke||Ke&&"100%"!==Ke&&"100vh"!==Ke),te=this._xPosition,Pe=this._xOffset,$t="rtl"===this._overlayRef.getConfig().direction;let Ze="",Qe="",zt="";Et?zt="flex-start":"center"===te?(zt="center",$t?Qe=Pe:Ze=Pe):$t?"left"===te||"end"===te?(zt="flex-end",Ze=Pe):("right"===te||"start"===te)&&(zt="flex-start",Qe=Pe):"left"===te||"start"===te?(zt="flex-start",Ze=Pe):("right"===te||"end"===te)&&(zt="flex-end",Qe=Pe),Ae.position=this._cssPosition,Ae.marginLeft=Et?"0":Ze,Ae.marginTop=ct?"0":this._topOffset,Ae.marginBottom=this._bottomOffset,Ae.marginRight=Et?"0":Qe,Be.justifyContent=zt,Be.alignItems=ct?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const Ae=this._overlayRef.overlayElement.style,Be=this._overlayRef.hostElement,it=Be.style;Be.classList.remove(me),it.justifyContent=it.alignItems=Ae.marginTop=Ae.marginBottom=Ae.marginLeft=Ae.marginRight=Ae.position="",this._overlayRef=null,this._isDisposed=!0}}let xe=(()=>{class kt{constructor(Be,it,$e,ke){this._viewportRuler=Be,this._document=it,this._platform=$e,this._overlayContainer=ke}global(){return new he}flexibleConnectedTo(Be){return new ee(Be,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(it){return new(it||kt)(y.LFG(e.rL),y.LFG(t.K0),y.LFG(l.t4),y.LFG(r))};static#t=this.\u0275prov=y.Yz7({token:kt,factory:kt.\u0275fac,providedIn:"root"})}return kt})(),de=0,ge=(()=>{class kt{constructor(Be,it,$e,ke,st,Ke,Et,ct,te,Pe,$t,Ze){this.scrollStrategies=Be,this._overlayContainer=it,this._componentFactoryResolver=$e,this._positionBuilder=ke,this._keyboardDispatcher=st,this._injector=Ke,this._ngZone=Et,this._document=ct,this._directionality=te,this._location=Pe,this._outsideClickDispatcher=$t,this._animationsModuleType=Ze}create(Be){const it=this._createHostElement(),$e=this._createPaneElement(it),ke=this._createPortalOutlet($e),st=new S(Be);return st.direction=st.direction||this._directionality.value,new g(ke,it,$e,st,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(Be){const it=this._document.createElement("div");return it.id="cdk-overlay-"+de++,it.classList.add("cdk-overlay-pane"),Be.appendChild(it),it}_createHostElement(){const Be=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(Be),Be}_createPortalOutlet(Be){return this._appRef||(this._appRef=this._injector.get(y.z2F)),new k.u0(Be,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(it){return new(it||kt)(y.LFG(ue),y.LFG(r),y.LFG(y._Vd),y.LFG(xe),y.LFG(O),y.LFG(y.zs3),y.LFG(y.R0b),y.LFG(t.K0),y.LFG(I.Is),y.LFG(t.Ye),y.LFG(v),y.LFG(y.QbO,8))};static#t=this.\u0275prov=y.Yz7({token:kt,factory:kt.\u0275fac,providedIn:"root"})}return kt})();const qe=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],oe=new y.OlP("cdk-connected-overlay-scroll-strategy");let ve=(()=>{class kt{constructor(Be){this.elementRef=Be}static#e=this.\u0275fac=function(it){return new(it||kt)(y.Y36(y.SBq))};static#t=this.\u0275dir=y.lG2({type:kt,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}return kt})(),le=(()=>{class kt{get offsetX(){return this._offsetX}set offsetX(Be){this._offsetX=Be,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(Be){this._offsetY=Be,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(Be){this._disposeOnNavigation=Be}constructor(Be,it,$e,ke,st){this._overlay=Be,this._dir=st,this._backdropSubscription=B.w0.EMPTY,this._attachSubscription=B.w0.EMPTY,this._detachSubscription=B.w0.EMPTY,this._positionSubscription=B.w0.EMPTY,this._disposeOnNavigation=!1,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new y.vpe,this.positionChange=new y.vpe,this.attach=new y.vpe,this.detach=new y.vpe,this.overlayKeydown=new y.vpe,this.overlayOutsideClick=new y.vpe,this._templatePortal=new k.UE(it,$e),this._scrollStrategyFactory=ke,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(Be){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),Be.origin&&this.open&&this._position.apply()),Be.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=qe);const Be=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=Be.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=Be.detachments().subscribe(()=>this.detach.emit()),Be.keydownEvents().subscribe(it=>{this.overlayKeydown.next(it),it.keyCode===j.hY&&!this.disableClose&&!(0,j.Vb)(it)&&(it.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(it=>{this.overlayOutsideClick.next(it)})}_buildConfig(){const Be=this._position=this.positionStrategy||this._createPositionStrategy(),it=new S({direction:this._dir,positionStrategy:Be,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||0===this.width)&&(it.width=this.width),(this.height||0===this.height)&&(it.height=this.height),(this.minWidth||0===this.minWidth)&&(it.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(it.minHeight=this.minHeight),this.backdropClass&&(it.backdropClass=this.backdropClass),this.panelClass&&(it.panelClass=this.panelClass),it}_updatePositionStrategy(Be){const it=this.positions.map($e=>({originX:$e.originX,originY:$e.originY,overlayX:$e.overlayX,overlayY:$e.overlayY,offsetX:$e.offsetX||this.offsetX,offsetY:$e.offsetY||this.offsetY,panelClass:$e.panelClass||void 0}));return Be.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(it).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const Be=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(Be),Be}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof ve?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(Be=>{this.backdropClick.emit(Be)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function M(kt,Ae=!1){return(0,d.e)((Be,it)=>{let $e=0;Be.subscribe((0,E.x)(it,ke=>{const st=kt(ke,$e++);(st||Ae)&&it.next(ke),!st&&it.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(Be=>{this.positionChange.emit(Be),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static#e=this.\u0275fac=function(it){return new(it||kt)(y.Y36(ge),y.Y36(y.Rgc),y.Y36(y.s_b),y.Y36(oe),y.Y36(I.Is,8))};static#t=this.\u0275dir=y.lG2({type:kt,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop",y.VuI],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition",y.VuI],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",y.VuI],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen",y.VuI],push:["cdkConnectedOverlayPush","push",y.VuI],disposeOnNavigation:["cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",y.VuI]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[y.Xq5,y.TTD]})}return kt})();const We={provide:oe,deps:[ge],useFactory:function Ge(kt){return()=>kt.scrollStrategies.reposition()}};let wt=(()=>{class kt{static#e=this.\u0275fac=function(it){return new(it||kt)};static#t=this.\u0275mod=y.oAB({type:kt});static#i=this.\u0275inj=y.cJS({providers:[ge,We],imports:[I.vT,k.eL,e.Cl,e.Cl]})}return kt})()},2831:(ze,q,p)=>{"use strict";p.d(q,{Mq:()=>V,Oy:()=>ae,_i:()=>B,ht:()=>X,i$:()=>M,kV:()=>K,qK:()=>P,sA:()=>ie,t4:()=>A});var e=p(9212),t=p(6814);let y;try{y=typeof Intl<"u"&&Intl.v8BreakIterator}catch{y=!1}let x,A=(()=>{class fe{constructor(Me){this._platformId=Me,this.isBrowser=this._platformId?(0,t.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!y)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static#e=this.\u0275fac=function($){return new($||fe)(e.LFG(e.Lbi))};static#t=this.\u0275prov=e.Yz7({token:fe,factory:fe.\u0275fac,providedIn:"root"})}return fe})();const m=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function P(){if(x)return x;if("object"!=typeof document||!document)return x=new Set(m),x;let fe=document.createElement("input");return x=new Set(m.filter(se=>(fe.setAttribute("type",se),fe.type===se))),x}let d,I,k,W;function M(fe){return function E(){if(null==d&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>d=!0}))}finally{d=d||!1}return d}()?fe:!!fe.capture}function V(){if(null==k){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return k=!1,k;if("scrollBehavior"in document.documentElement.style)k=!0;else{const fe=Element.prototype.scrollTo;k=!!fe&&!/\{\s*\[native code\]\s*\}/.test(fe.toString())}}return k}function B(){if("object"!=typeof document||!document)return 0;if(null==I){const fe=document.createElement("div"),se=fe.style;fe.dir="rtl",se.width="1px",se.overflow="auto",se.visibility="hidden",se.pointerEvents="none",se.position="absolute";const Me=document.createElement("div"),$=Me.style;$.width="2px",$.height="1px",fe.appendChild(Me),document.body.appendChild(fe),I=0,0===fe.scrollLeft&&(fe.scrollLeft=1,I=0===fe.scrollLeft?1:2),fe.remove()}return I}function K(fe){if(function j(){if(null==W){const fe=typeof document<"u"?document.head:null;W=!(!fe||!fe.createShadowRoot&&!fe.attachShadow)}return W}()){const se=fe.getRootNode?fe.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&se instanceof ShadowRoot)return se}return null}function X(){let fe=typeof document<"u"&&document?document.activeElement:null;for(;fe&&fe.shadowRoot;){const se=fe.shadowRoot.activeElement;if(se===fe)break;fe=se}return fe}function ie(fe){return fe.composedPath?fe.composedPath()[0]:fe.target}function ae(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},8484:(ze,q,p)=>{"use strict";p.d(q,{C5:()=>E,Pl:()=>X,UE:()=>M,eL:()=>ae,en:()=>k,ig:()=>j,u0:()=>B});var e=p(9212),t=p(6814);class d{attach(Me){return this._attachedHost=Me,Me.attach(this)}detach(){let Me=this._attachedHost;null!=Me&&(this._attachedHost=null,Me.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(Me){this._attachedHost=Me}}class E extends d{constructor(Me,$,ue,S,n){super(),this.component=Me,this.viewContainerRef=$,this.injector=ue,this.componentFactoryResolver=S,this.projectableNodes=n}}class M extends d{constructor(Me,$,ue,S){super(),this.templateRef=Me,this.viewContainerRef=$,this.context=ue,this.injector=S}get origin(){return this.templateRef.elementRef}attach(Me,$=this.context){return this.context=$,super.attach(Me)}detach(){return this.context=void 0,super.detach()}}class I extends d{constructor(Me){super(),this.element=Me instanceof e.SBq?Me.nativeElement:Me}}class k{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(Me){return Me instanceof E?(this._attachedPortal=Me,this.attachComponentPortal(Me)):Me instanceof M?(this._attachedPortal=Me,this.attachTemplatePortal(Me)):this.attachDomPortal&&Me instanceof I?(this._attachedPortal=Me,this.attachDomPortal(Me)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(Me){this._disposeFn=Me}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class B extends k{constructor(Me,$,ue,S,n){super(),this.outletElement=Me,this._componentFactoryResolver=$,this._appRef=ue,this._defaultInjector=S,this.attachDomPortal=s=>{const f=s.element,h=this._document.createComment("dom-portal");f.parentNode.insertBefore(h,f),this.outletElement.appendChild(f),this._attachedPortal=s,super.setDisposeFn(()=>{h.parentNode&&h.parentNode.replaceChild(f,h)})},this._document=n}attachComponentPortal(Me){const ue=(Me.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Me.component);let S;return Me.viewContainerRef?(S=Me.viewContainerRef.createComponent(ue,Me.viewContainerRef.length,Me.injector||Me.viewContainerRef.injector,Me.projectableNodes||void 0),this.setDisposeFn(()=>S.destroy())):(S=ue.create(Me.injector||this._defaultInjector||e.zs3.NULL),this._appRef.attachView(S.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(S.hostView),S.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(S)),this._attachedPortal=Me,S}attachTemplatePortal(Me){let $=Me.viewContainerRef,ue=$.createEmbeddedView(Me.templateRef,Me.context,{injector:Me.injector});return ue.rootNodes.forEach(S=>this.outletElement.appendChild(S)),ue.detectChanges(),this.setDisposeFn(()=>{let S=$.indexOf(ue);-1!==S&&$.remove(S)}),this._attachedPortal=Me,ue}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(Me){return Me.hostView.rootNodes[0]}}let j=(()=>{class se extends M{constructor($,ue){super($,ue)}static#e=this.\u0275fac=function(ue){return new(ue||se)(e.Y36(e.Rgc),e.Y36(e.s_b))};static#t=this.\u0275dir=e.lG2({type:se,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[e.qOj]})}return se})(),X=(()=>{class se extends k{constructor($,ue,S){super(),this._componentFactoryResolver=$,this._viewContainerRef=ue,this._isInitialized=!1,this.attached=new e.vpe,this.attachDomPortal=n=>{const s=n.element,f=this._document.createComment("dom-portal");n.setAttachedHost(this),s.parentNode.insertBefore(f,s),this._getRootNode().appendChild(s),this._attachedPortal=n,super.setDisposeFn(()=>{f.parentNode&&f.parentNode.replaceChild(s,f)})},this._document=S}get portal(){return this._attachedPortal}set portal($){this.hasAttached()&&!$&&!this._isInitialized||(this.hasAttached()&&super.detach(),$&&super.attach($),this._attachedPortal=$||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal($){$.setAttachedHost(this);const ue=null!=$.viewContainerRef?$.viewContainerRef:this._viewContainerRef,n=($.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory($.component),s=ue.createComponent(n,ue.length,$.injector||ue.injector,$.projectableNodes||void 0);return ue!==this._viewContainerRef&&this._getRootNode().appendChild(s.hostView.rootNodes[0]),super.setDisposeFn(()=>s.destroy()),this._attachedPortal=$,this._attachedRef=s,this.attached.emit(s),s}attachTemplatePortal($){$.setAttachedHost(this);const ue=this._viewContainerRef.createEmbeddedView($.templateRef,$.context,{injector:$.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=$,this._attachedRef=ue,this.attached.emit(ue),ue}_getRootNode(){const $=this._viewContainerRef.element.nativeElement;return $.nodeType===$.ELEMENT_NODE?$:$.parentNode}static#e=this.\u0275fac=function(ue){return new(ue||se)(e.Y36(e._Vd),e.Y36(e.s_b),e.Y36(t.K0))};static#t=this.\u0275dir=e.lG2({type:se,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[e.qOj]})}return se})(),ae=(()=>{class se{static#e=this.\u0275fac=function(ue){return new(ue||se)};static#t=this.\u0275mod=e.oAB({type:se});static#i=this.\u0275inj=e.cJS({})}return se})()},5407:(ze,q,p)=>{"use strict";p.d(q,{PQ:()=>f,ZD:()=>ot,mF:()=>s,Cl:()=>je,rL:()=>w});var e=p(2495),t=p(9212),y=p(8645),A=p(2096),l=p(5592),x=p(2438),m=p(1954),P=p(7394);const d={schedule(Je){let ye=requestAnimationFrame,me=cancelAnimationFrame;const{delegate:he}=d;he&&(ye=he.requestAnimationFrame,me=he.cancelAnimationFrame);const xe=ye(de=>{me=void 0,Je(de)});return new P.w0(()=>me?.(xe))},requestAnimationFrame(...Je){const{delegate:ye}=d;return(ye?.requestAnimationFrame||requestAnimationFrame)(...Je)},cancelAnimationFrame(...Je){const{delegate:ye}=d;return(ye?.cancelAnimationFrame||cancelAnimationFrame)(...Je)},delegate:void 0};var M=p(2631);new class I extends M.v{flush(ye){this._active=!0;const me=this._scheduled;this._scheduled=void 0;const{actions:he}=this;let xe;ye=ye||he.shift();do{if(xe=ye.execute(ye.state,ye.delay))break}while((ye=he[0])&&ye.id===me&&he.shift());if(this._active=!1,xe){for(;(ye=he[0])&&ye.id===me&&he.shift();)ye.unsubscribe();throw xe}}}(class E extends m.o{constructor(ye,me){super(ye,me),this.scheduler=ye,this.work=me}requestAsyncId(ye,me,he=0){return null!==he&&he>0?super.requestAsyncId(ye,me,he):(ye.actions.push(this),ye._scheduled||(ye._scheduled=d.requestAnimationFrame(()=>ye.flush(void 0))))}recycleAsyncId(ye,me,he=0){var xe;if(null!=he?he>0:this.delay>0)return super.recycleAsyncId(ye,me,he);const{actions:de}=ye;null!=me&&(null===(xe=de[de.length-1])||void 0===xe?void 0:xe.id)!==me&&(d.cancelAnimationFrame(me),ye._scheduled=void 0)}});p(6410);var W=p(9028),j=p(2181),K=p(9773),X=p(2831),ie=p(6814),ae=p(9388);let s=(()=>{class Je{constructor(me,he,xe){this._ngZone=me,this._platform=he,this._scrolled=new y.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=xe}register(me){this.scrollContainers.has(me)||this.scrollContainers.set(me,me.elementScrolled().subscribe(()=>this._scrolled.next(me)))}deregister(me){const he=this.scrollContainers.get(me);he&&(he.unsubscribe(),this.scrollContainers.delete(me))}scrolled(me=20){return this._platform.isBrowser?new l.y(he=>{this._globalSubscription||this._addGlobalListener();const xe=me>0?this._scrolled.pipe((0,W.e)(me)).subscribe(he):this._scrolled.subscribe(he);return this._scrolledCount++,()=>{xe.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,A.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((me,he)=>this.deregister(he)),this._scrolled.complete()}ancestorScrolled(me,he){const xe=this.getAncestorScrollContainers(me);return this.scrolled(he).pipe((0,j.h)(de=>!de||xe.indexOf(de)>-1))}getAncestorScrollContainers(me){const he=[];return this.scrollContainers.forEach((xe,de)=>{this._scrollableContainsElement(de,me)&&he.push(de)}),he}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(me,he){let xe=(0,e.fI)(he),de=me.getElementRef().nativeElement;do{if(xe==de)return!0}while(xe=xe.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const me=this._getWindow();return(0,x.R)(me.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(he){return new(he||Je)(t.LFG(t.R0b),t.LFG(X.t4),t.LFG(ie.K0,8))};static#t=this.\u0275prov=t.Yz7({token:Je,factory:Je.\u0275fac,providedIn:"root"})}return Je})(),f=(()=>{class Je{constructor(me,he,xe,de){this.elementRef=me,this.scrollDispatcher=he,this.ngZone=xe,this.dir=de,this._destroyed=new y.x,this._elementScrolled=new l.y(ge=>this.ngZone.runOutsideAngular(()=>(0,x.R)(this.elementRef.nativeElement,"scroll").pipe((0,K.R)(this._destroyed)).subscribe(ge)))}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(me){const he=this.elementRef.nativeElement,xe=this.dir&&"rtl"==this.dir.value;null==me.left&&(me.left=xe?me.end:me.start),null==me.right&&(me.right=xe?me.start:me.end),null!=me.bottom&&(me.top=he.scrollHeight-he.clientHeight-me.bottom),xe&&0!=(0,X._i)()?(null!=me.left&&(me.right=he.scrollWidth-he.clientWidth-me.left),2==(0,X._i)()?me.left=me.right:1==(0,X._i)()&&(me.left=me.right?-me.right:me.right)):null!=me.right&&(me.left=he.scrollWidth-he.clientWidth-me.right),this._applyScrollToOptions(me)}_applyScrollToOptions(me){const he=this.elementRef.nativeElement;(0,X.Mq)()?he.scrollTo(me):(null!=me.top&&(he.scrollTop=me.top),null!=me.left&&(he.scrollLeft=me.left))}measureScrollOffset(me){const he="left",de=this.elementRef.nativeElement;if("top"==me)return de.scrollTop;if("bottom"==me)return de.scrollHeight-de.clientHeight-de.scrollTop;const ge=this.dir&&"rtl"==this.dir.value;return"start"==me?me=ge?"right":he:"end"==me&&(me=ge?he:"right"),ge&&2==(0,X._i)()?me==he?de.scrollWidth-de.clientWidth-de.scrollLeft:de.scrollLeft:ge&&1==(0,X._i)()?me==he?de.scrollLeft+de.scrollWidth-de.clientWidth:-de.scrollLeft:me==he?de.scrollLeft:de.scrollWidth-de.clientWidth-de.scrollLeft}static#e=this.\u0275fac=function(he){return new(he||Je)(t.Y36(t.SBq),t.Y36(s),t.Y36(t.R0b),t.Y36(ae.Is,8))};static#t=this.\u0275dir=t.lG2({type:Je,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0})}return Je})(),w=(()=>{class Je{constructor(me,he,xe){this._platform=me,this._change=new y.x,this._changeListener=de=>{this._change.next(de)},this._document=xe,he.runOutsideAngular(()=>{if(me.isBrowser){const de=this._getWindow();de.addEventListener("resize",this._changeListener),de.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const me=this._getWindow();me.removeEventListener("resize",this._changeListener),me.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const me={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),me}getViewportRect(){const me=this.getViewportScrollPosition(),{width:he,height:xe}=this.getViewportSize();return{top:me.top,left:me.left,bottom:me.top+xe,right:me.left+he,height:xe,width:he}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const me=this._document,he=this._getWindow(),xe=me.documentElement,de=xe.getBoundingClientRect();return{top:-de.top||me.body.scrollTop||he.scrollY||xe.scrollTop||0,left:-de.left||me.body.scrollLeft||he.scrollX||xe.scrollLeft||0}}change(me=20){return me>0?this._change.pipe((0,W.e)(me)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const me=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:me.innerWidth,height:me.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(he){return new(he||Je)(t.LFG(X.t4),t.LFG(t.R0b),t.LFG(ie.K0,8))};static#t=this.\u0275prov=t.Yz7({token:Je,factory:Je.\u0275fac,providedIn:"root"})}return Je})(),ot=(()=>{class Je{static#e=this.\u0275fac=function(he){return new(he||Je)};static#t=this.\u0275mod=t.oAB({type:Je});static#i=this.\u0275inj=t.cJS({})}return Je})(),je=(()=>{class Je{static#e=this.\u0275fac=function(he){return new(he||Je)};static#t=this.\u0275mod=t.oAB({type:Je});static#i=this.\u0275inj=t.cJS({imports:[ae.vT,ot,ae.vT,ot]})}return Je})()},1657:(ze,q,p)=>{"use strict";p.d(q,{B8:()=>X,KL:()=>I,U5:()=>fe,be:()=>K,gx:()=>j,po:()=>ae,st:()=>ie,u6:()=>k});var e=p(4300),t=p(9388),y=p(6028),A=p(9212),l=p(2831),x=p(8645),m=p(2096),P=p(7921),d=p(9773);function E(se,Me){1&se&&A.Hsn(0)}const M=["*"];let I=(()=>{class se{constructor($){this._elementRef=$}focus(){this._elementRef.nativeElement.focus()}static#e=this.\u0275fac=function(ue){return new(ue||se)(A.Y36(A.SBq))};static#t=this.\u0275dir=A.lG2({type:se,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]})}return se})(),k=(()=>{class se{constructor($){this.template=$}static#e=this.\u0275fac=function(ue){return new(ue||se)(A.Y36(A.Rgc))};static#t=this.\u0275dir=A.lG2({type:se,selectors:[["","cdkStepLabel",""]]})}return se})(),V=0;const j=new A.OlP("STEPPER_GLOBAL_OPTIONS");let K=(()=>{class se{get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed($){this._completedOverride=$}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return null==this._customError?this._getDefaultError():this._customError}set hasError($){this._customError=$}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}constructor($,ue){this._stepper=$,this.interacted=!1,this.interactedStream=new A.vpe,this.editable=!0,this.optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=ue||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType}select(){this._stepper.selected=this}reset(){this.interacted=!1,null!=this._completedOverride&&(this._completedOverride=!1),null!=this._customError&&(this._customError=!1),this.stepControl&&this.stepControl.reset()}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}_showError(){return this._stepperOptions.showError??null!=this._customError}static#e=this.\u0275fac=function(ue){return new(ue||se)(A.Y36((0,A.Gpc)(()=>X)),A.Y36(j,8))};static#t=this.\u0275cmp=A.Xpm({type:se,selectors:[["cdk-step"]],contentQueries:function(ue,S,n){if(1&ue&&A.Suo(n,k,5),2&ue){let s;A.iGM(s=A.CRH())&&(S.stepLabel=s.first)}},viewQuery:function(ue,S){if(1&ue&&A.Gf(A.Rgc,7),2&ue){let n;A.iGM(n=A.CRH())&&(S.content=n.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],state:"state",editable:["editable","editable",A.VuI],optional:["optional","optional",A.VuI],completed:["completed","completed",A.VuI],hasError:["hasError","hasError",A.VuI]},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[A.Xq5,A.TTD],ngContentSelectors:M,decls:1,vars:0,template:function(ue,S){1&ue&&(A.F$t(),A.YNc(0,E,1,0,"ng-template"))},encapsulation:2,changeDetection:0})}return se})(),X=(()=>{class se{get selectedIndex(){return this._selectedIndex}set selectedIndex($){this.steps&&this._steps?(this._isValidIndex($),this.selected?._markAsInteracted(),this._selectedIndex!==$&&!this._anyControlsInvalidOrPending($)&&($>=this._selectedIndex||this.steps.toArray()[$].editable)&&this._updateSelectedItemIndex($)):this._selectedIndex=$}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected($){this.selectedIndex=$&&this.steps?this.steps.toArray().indexOf($):-1}get orientation(){return this._orientation}set orientation($){this._orientation=$,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===$)}constructor($,ue,S){this._dir=$,this._changeDetectorRef=ue,this._elementRef=S,this._destroyed=new x.x,this.steps=new A.n_E,this._sortedHeaders=new A.n_E,this.linear=!1,this._selectedIndex=0,this.selectionChange=new A.vpe,this.selectedIndexChange=new A.vpe,this._orientation="horizontal",this._groupId=V++}ngAfterContentInit(){this._steps.changes.pipe((0,P.O)(this._steps),(0,d.R)(this._destroyed)).subscribe($=>{this.steps.reset($.filter(ue=>ue._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe((0,P.O)(this._stepHeader),(0,d.R)(this._destroyed)).subscribe($=>{this._sortedHeaders.reset($.toArray().sort((ue,S)=>ue._elementRef.nativeElement.compareDocumentPosition(S._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new e.Em(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:(0,m.of)()).pipe((0,P.O)(this._layoutDirection()),(0,d.R)(this._destroyed)).subscribe($=>this._keyManager.withHorizontalOrientation($)),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($=>$.reset()),this._stateChanged()}_getStepLabelId($){return`cdk-step-label-${this._groupId}-${$}`}_getStepContentId($){return`cdk-step-content-${this._groupId}-${$}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection($){const ue=$-this._selectedIndex;return ue<0?"rtl"===this._layoutDirection()?"next":"previous":ue>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType($,ue="number"){const S=this.steps.toArray()[$],n=this._isCurrentStep($);return S._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(S,n):this._getGuidelineLogic(S,n,ue)}_getDefaultIndicatorLogic($,ue){return $._showError()&&$.hasError&&!ue?"error":!$.completed||ue?"number":$.editable?"edit":"done"}_getGuidelineLogic($,ue,S="number"){return $._showError()&&$.hasError&&!ue?"error":$.completed&&!ue?"done":$.completed&&ue?S:$.editable&&ue?"edit":S}_isCurrentStep($){return this._selectedIndex===$}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex($){const ue=this.steps.toArray();this.selectionChange.emit({selectedIndex:$,previouslySelectedIndex:this._selectedIndex,selectedStep:ue[$],previouslySelectedStep:ue[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem($):this._keyManager.updateActiveItem($),this._selectedIndex=$,this.selectedIndexChange.emit(this._selectedIndex),this._stateChanged()}_onKeydown($){const ue=(0,y.Vb)($),S=$.keyCode,n=this._keyManager;null==n.activeItemIndex||ue||S!==y.L_&&S!==y.K5?n.setFocusOrigin("keyboard").onKeydown($):(this.selectedIndex=n.activeItemIndex,$.preventDefault())}_anyControlsInvalidOrPending($){return!!(this.linear&&$>=0)&&this.steps.toArray().slice(0,$).some(ue=>{const S=ue.stepControl;return(S?S.invalid||S.pending||!ue.interacted:!ue.completed)&&!ue.optional&&!ue._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const $=this._elementRef.nativeElement,ue=(0,l.ht)();return $===ue||$.contains(ue)}_isValidIndex($){return $>-1&&(!this.steps||$<this.steps.length)}static#e=this.\u0275fac=function(ue){return new(ue||se)(A.Y36(t.Is,8),A.Y36(A.sBO),A.Y36(A.SBq))};static#t=this.\u0275dir=A.lG2({type:se,selectors:[["","cdkStepper",""]],contentQueries:function(ue,S,n){if(1&ue&&(A.Suo(n,K,5),A.Suo(n,I,5)),2&ue){let s;A.iGM(s=A.CRH())&&(S._steps=s),A.iGM(s=A.CRH())&&(S._stepHeader=s)}},inputs:{linear:["linear","linear",A.VuI],selectedIndex:["selectedIndex","selectedIndex",A.Cb_],selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange",selectedIndexChange:"selectedIndexChange"},exportAs:["cdkStepper"],features:[A.Xq5]})}return se})(),ie=(()=>{class se{constructor($){this._stepper=$,this.type="submit"}static#e=this.\u0275fac=function(ue){return new(ue||se)(A.Y36(X))};static#t=this.\u0275dir=A.lG2({type:se,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(ue,S){1&ue&&A.NdJ("click",function(){return S._stepper.next()}),2&ue&&A.Ikx("type",S.type)},inputs:{type:"type"}})}return se})(),ae=(()=>{class se{constructor($){this._stepper=$,this.type="button"}static#e=this.\u0275fac=function(ue){return new(ue||se)(A.Y36(X))};static#t=this.\u0275dir=A.lG2({type:se,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(ue,S){1&ue&&A.NdJ("click",function(){return S._stepper.previous()}),2&ue&&A.Ikx("type",S.type)},inputs:{type:"type"}})}return se})(),fe=(()=>{class se{static#e=this.\u0275fac=function(ue){return new(ue||se)};static#t=this.\u0275mod=A.oAB({type:se});static#i=this.\u0275inj=A.cJS({imports:[t.vT]})}return se})()},1894:(ze,q,p)=>{"use strict";p.d(q,{HI:()=>B,Hs:()=>$,Ud:()=>h,VY:()=>V,XJ:()=>f,Xx:()=>n,_0:()=>Me,cu:()=>W,nZ:()=>D,rO:()=>K});var e=p(8337),t=p(2664),y=p(8645),A=p(5619),l=p(2096),x=p(8180),m=p(2181),P=p(9773),d=p(9212),E=p(2495),M=p(9388);class I{constructor(){this.expansionModel=new e.Ov(!0)}toggle(v){this.expansionModel.toggle(this._trackByValue(v))}expand(v){this.expansionModel.select(this._trackByValue(v))}collapse(v){this.expansionModel.deselect(this._trackByValue(v))}isExpanded(v){return this.expansionModel.isSelected(this._trackByValue(v))}toggleDescendants(v){this.expansionModel.isSelected(this._trackByValue(v))?this.collapseDescendants(v):this.expandDescendants(v)}collapseAll(){this.expansionModel.clear()}expandDescendants(v){let r=[v];r.push(...this.getDescendants(v)),this.expansionModel.select(...r.map(g=>this._trackByValue(g)))}collapseDescendants(v){let r=[v];r.push(...this.getDescendants(v)),this.expansionModel.deselect(...r.map(g=>this._trackByValue(g)))}_trackByValue(v){return this.trackBy?this.trackBy(v):v}}class V extends I{constructor(v,r){super(),this.getChildren=v,this.options=r,this.options&&(this.trackBy=this.options.trackBy)}expandAll(){this.expansionModel.clear();const v=this.dataNodes.reduce((r,g)=>[...r,...this.getDescendants(g),g],[]);this.expansionModel.select(...v.map(r=>this._trackByValue(r)))}getDescendants(v){const r=[];return this._getDescendants(r,v),r.splice(1)}_getDescendants(v,r){v.push(r);const g=this.getChildren(r);Array.isArray(g)?g.forEach(H=>this._getDescendants(v,H)):(0,t.b)(g)&&g.pipe((0,x.q)(1),(0,m.h)(Boolean)).subscribe(H=>{for(const N of H)this._getDescendants(v,N)})}}const B=new d.OlP("CDK_TREE_NODE_OUTLET_NODE");let W=(()=>{class O{constructor(r,g){this.viewContainer=r,this._node=g}static#e=this.\u0275fac=function(g){return new(g||O)(d.Y36(d.s_b),d.Y36(B,8))};static#t=this.\u0275dir=d.lG2({type:O,selectors:[["","cdkTreeNodeOutlet",""]]})}return O})();class j{constructor(v){this.$implicit=v}}let K=(()=>{class O{constructor(r){this.template=r}static#e=this.\u0275fac=function(g){return new(g||O)(d.Y36(d.Rgc))};static#t=this.\u0275dir=d.lG2({type:O,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:["cdkTreeNodeDefWhen","when"]}})}return O})(),Me=(()=>{class O{get dataSource(){return this._dataSource}set dataSource(r){this._dataSource!==r&&this._switchDataSource(r)}constructor(r,g){this._differs=r,this._changeDetectorRef=g,this._onDestroy=new y.x,this._levels=new Map,this.viewChange=new A.X({start:0,end:Number.MAX_VALUE})}ngOnInit(){this._dataDiffer=this._differs.find([]).create(this.trackBy)}ngOnDestroy(){this._nodeOutlet.viewContainer.clear(),this.viewChange.complete(),this._onDestroy.next(),this._onDestroy.complete(),this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null)}ngAfterContentChecked(){const r=this._nodeDefs.filter(g=>!g.when);this._defaultNodeDef=r[0],this.dataSource&&this._nodeDefs&&!this._dataSubscription&&this._observeRenderChanges()}_switchDataSource(r){this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),r||this._nodeOutlet.viewContainer.clear(),this._dataSource=r,this._nodeDefs&&this._observeRenderChanges()}_observeRenderChanges(){let r;(0,e.Z9)(this._dataSource)?r=this._dataSource.connect(this):(0,t.b)(this._dataSource)?r=this._dataSource:Array.isArray(this._dataSource)&&(r=(0,l.of)(this._dataSource)),r&&(this._dataSubscription=r.pipe((0,P.R)(this._onDestroy)).subscribe(g=>this.renderNodeChanges(g)))}renderNodeChanges(r,g=this._dataDiffer,H=this._nodeOutlet.viewContainer,N){const ee=g.diff(r);ee&&(ee.forEachOperation((De,ot,je)=>{if(null==De.previousIndex)this.insertNode(r[je],je,H,N);else if(null==je)H.remove(ot),this._levels.delete(De.item);else{const Je=H.get(ot);H.move(Je,je)}}),this._changeDetectorRef.detectChanges())}_getNodeDef(r,g){return 1===this._nodeDefs.length?this._nodeDefs.first:this._nodeDefs.find(N=>N.when&&N.when(g,r))||this._defaultNodeDef}insertNode(r,g,H,N){const ee=this._getNodeDef(r,g),De=new j(r);De.level=this.treeControl.getLevel?this.treeControl.getLevel(r):typeof N<"u"&&this._levels.has(N)?this._levels.get(N)+1:0,this._levels.set(r,De.level),(H||this._nodeOutlet.viewContainer).createEmbeddedView(ee.template,De,g),$.mostRecentTreeNode&&($.mostRecentTreeNode.data=r)}static#e=this.\u0275fac=function(g){return new(g||O)(d.Y36(d.ZZ4),d.Y36(d.sBO))};static#t=this.\u0275cmp=d.Xpm({type:O,selectors:[["cdk-tree"]],contentQueries:function(g,H,N){if(1&g&&d.Suo(N,K,5),2&g){let ee;d.iGM(ee=d.CRH())&&(H._nodeDefs=ee)}},viewQuery:function(g,H){if(1&g&&d.Gf(W,7),2&g){let N;d.iGM(N=d.CRH())&&(H._nodeOutlet=N.first)}},hostAttrs:["role","tree",1,"cdk-tree"],inputs:{dataSource:"dataSource",treeControl:"treeControl",trackBy:"trackBy"},exportAs:["cdkTree"],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(g,H){1&g&&d.GkF(0,0)},dependencies:[W],encapsulation:2})}return O})(),$=(()=>{class O{get role(){return"treeitem"}set role(r){this._elementRef.nativeElement.setAttribute("role",r)}static#e=this.mostRecentTreeNode=null;get data(){return this._data}set data(r){r!==this._data&&(this._data=r,this._setRoleFromData(),this._dataChanges.next())}get isExpanded(){return this._tree.treeControl.isExpanded(this._data)}get level(){return this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._data):this._parentNodeAriaLevel}constructor(r,g){this._elementRef=r,this._tree=g,this._destroyed=new y.x,this._dataChanges=new y.x,O.mostRecentTreeNode=this,this.role="treeitem"}ngOnInit(){this._parentNodeAriaLevel=function ue(O){let v=O.parentElement;for(;v&&!S(v);)v=v.parentElement;return v?v.classList.contains("cdk-nested-tree-node")?(0,E.su)(v.getAttribute("aria-level")):0:-1}(this._elementRef.nativeElement),this._elementRef.nativeElement.setAttribute("aria-level",`${this.level+1}`)}ngOnDestroy(){O.mostRecentTreeNode===this&&(O.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}_setRoleFromData(){this.role="treeitem"}static#t=this.\u0275fac=function(g){return new(g||O)(d.Y36(d.SBq),d.Y36(Me))};static#i=this.\u0275dir=d.lG2({type:O,selectors:[["cdk-tree-node"]],hostAttrs:[1,"cdk-tree-node"],hostVars:1,hostBindings:function(g,H){2&g&&d.uIk("aria-expanded",H.isExpanded)},inputs:{role:"role"},exportAs:["cdkTreeNode"]})}return O})();function S(O){const v=O.classList;return!(!v?.contains("cdk-nested-tree-node")&&!v?.contains("cdk-tree"))}let n=(()=>{class O extends ${constructor(r,g,H){super(r,g),this._differs=H}ngAfterContentInit(){this._dataDiffer=this._differs.find([]).create(this._tree.trackBy);const r=this._tree.treeControl.getChildren(this.data);Array.isArray(r)?this.updateChildrenNodes(r):(0,t.b)(r)&&r.pipe((0,P.R)(this._destroyed)).subscribe(g=>this.updateChildrenNodes(g)),this.nodeOutlet.changes.pipe((0,P.R)(this._destroyed)).subscribe(()=>this.updateChildrenNodes())}ngOnInit(){super.ngOnInit()}ngOnDestroy(){this._clear(),super.ngOnDestroy()}updateChildrenNodes(r){const g=this._getNodeOutlet();r&&(this._children=r),g&&this._children?this._tree.renderNodeChanges(this._children,this._dataDiffer,g.viewContainer,this._data):this._dataDiffer.diff([])}_clear(){const r=this._getNodeOutlet();r&&(r.viewContainer.clear(),this._dataDiffer.diff([]))}_getNodeOutlet(){const r=this.nodeOutlet;return r&&r.find(g=>!g._node||g._node===this)}static#e=this.\u0275fac=function(g){return new(g||O)(d.Y36(d.SBq),d.Y36(Me),d.Y36(d.ZZ4))};static#t=this.\u0275dir=d.lG2({type:O,selectors:[["cdk-nested-tree-node"]],contentQueries:function(g,H,N){if(1&g&&d.Suo(N,W,5),2&g){let ee;d.iGM(ee=d.CRH())&&(H.nodeOutlet=ee)}},hostAttrs:[1,"cdk-nested-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["cdkNestedTreeNode"],features:[d._Bn([{provide:$,useExisting:O},{provide:B,useExisting:O}]),d.qOj]})}return O})();const s=/([A-Za-z%]+)$/;let f=(()=>{class O{get level(){return this._level}set level(r){this._setLevelInput(r)}get indent(){return this._indent}set indent(r){this._setIndentInput(r)}constructor(r,g,H,N){this._treeNode=r,this._tree=g,this._element=H,this._dir=N,this._destroyed=new y.x,this.indentUnits="px",this._indent=40,this._setPadding(),N&&N.change.pipe((0,P.R)(this._destroyed)).subscribe(()=>this._setPadding(!0)),r._dataChanges.subscribe(()=>this._setPadding())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){const r=this._treeNode.data&&this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._treeNode.data):null,g=null==this._level?r:this._level;return"number"==typeof g?`${g*this._indent}${this.indentUnits}`:null}_setPadding(r=!1){const g=this._paddingIndent();if(g!==this._currentPadding||r){const H=this._element.nativeElement,N=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",ee="paddingLeft"===N?"paddingRight":"paddingLeft";H.style[N]=g||"",H.style[ee]="",this._currentPadding=g}}_setLevelInput(r){this._level=(0,E.su)(r,null),this._setPadding()}_setIndentInput(r){let g=r,H="px";if("string"==typeof r){const N=r.split(s);g=N[0],H=N[1]||H}this.indentUnits=H,this._indent=(0,E.su)(g),this._setPadding()}static#e=this.\u0275fac=function(g){return new(g||O)(d.Y36($),d.Y36(Me),d.Y36(d.SBq),d.Y36(M.Is,8))};static#t=this.\u0275dir=d.lG2({type:O,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:["cdkTreeNodePadding","level"],indent:["cdkTreeNodePaddingIndent","indent"]}})}return O})(),h=(()=>{class O{get recursive(){return this._recursive}set recursive(r){this._recursive=(0,E.Ig)(r)}constructor(r,g){this._tree=r,this._treeNode=g,this._recursive=!1}_toggle(r){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),r.stopPropagation()}static#e=this.\u0275fac=function(g){return new(g||O)(d.Y36(Me),d.Y36($))};static#t=this.\u0275dir=d.lG2({type:O,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(g,H){1&g&&d.NdJ("click",function(ee){return H._toggle(ee)})},inputs:{recursive:["cdkTreeNodeToggleRecursive","recursive"]}})}return O})(),D=(()=>{class O{static#e=this.\u0275fac=function(g){return new(g||O)};static#t=this.\u0275mod=d.oAB({type:O});static#i=this.\u0275inj=d.cJS({})}return O})()},6814:(ze,q,p)=>{"use strict";p.d(q,{Do:()=>W,ED:()=>hn,EM:()=>Eo,HT:()=>A,JF:()=>ba,JJ:()=>Ir,K0:()=>x,Mx:()=>Ut,NF:()=>na,Nd:()=>Ga,O5:()=>lt,OU:()=>Or,Ov:()=>xn,PC:()=>Gi,PM:()=>Na,RF:()=>gn,S$:()=>k,Ts:()=>Kn,V_:()=>P,Ye:()=>j,b0:()=>B,bD:()=>Sa,ez:()=>Gn,gd:()=>tr,i8:()=>jn,mk:()=>bi,n9:()=>qn,q:()=>y,rS:()=>Er,sg:()=>Kt,tP:()=>rn,uU:()=>ca,w_:()=>l});var e=p(9212);let t=null;function y(){return t}function A(Se){t||(t=Se)}class l{}const x=new e.OlP("DocumentToken");let m=(()=>{class Se{historyGo(Ye){throw new Error("Not implemented")}static#e=this.\u0275fac=function(ut){return new(ut||Se)};static#t=this.\u0275prov=e.Yz7({token:Se,factory:()=>(0,e.f3M)(d),providedIn:"platform"})}return Se})();const P=new e.OlP("Location Initialized");let d=(()=>{class Se extends m{constructor(){super(),this._doc=(0,e.f3M)(x),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return y().getBaseHref(this._doc)}onPopState(Ye){const ut=y().getGlobalEventTarget(this._doc,"window");return ut.addEventListener("popstate",Ye,!1),()=>ut.removeEventListener("popstate",Ye)}onHashChange(Ye){const ut=y().getGlobalEventTarget(this._doc,"window");return ut.addEventListener("hashchange",Ye,!1),()=>ut.removeEventListener("hashchange",Ye)}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(Ye){this._location.pathname=Ye}pushState(Ye,ut,ti){this._history.pushState(Ye,ut,ti)}replaceState(Ye,ut,ti){this._history.replaceState(Ye,ut,ti)}forward(){this._history.forward()}back(){this._history.back()}historyGo(Ye=0){this._history.go(Ye)}getState(){return this._history.state}static#e=this.\u0275fac=function(ut){return new(ut||Se)};static#t=this.\u0275prov=e.Yz7({token:Se,factory:()=>new Se,providedIn:"platform"})}return Se})();function E(Se,dt){if(0==Se.length)return dt;if(0==dt.length)return Se;let Ye=0;return Se.endsWith("/")&&Ye++,dt.startsWith("/")&&Ye++,2==Ye?Se+dt.substring(1):1==Ye?Se+dt:Se+"/"+dt}function M(Se){const dt=Se.match(/#|\?|$/),Ye=dt&&dt.index||Se.length;return Se.slice(0,Ye-("/"===Se[Ye-1]?1:0))+Se.slice(Ye)}function I(Se){return Se&&"?"!==Se[0]?"?"+Se:Se}let k=(()=>{class Se{historyGo(Ye){throw new Error("Not implemented")}static#e=this.\u0275fac=function(ut){return new(ut||Se)};static#t=this.\u0275prov=e.Yz7({token:Se,factory:()=>(0,e.f3M)(B),providedIn:"root"})}return Se})();const V=new e.OlP("appBaseHref");let B=(()=>{class Se extends k{constructor(Ye,ut){super(),this._platformLocation=Ye,this._removeListenerFns=[],this._baseHref=ut??this._platformLocation.getBaseHrefFromDOM()??(0,e.f3M)(x).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Ye){this._removeListenerFns.push(this._platformLocation.onPopState(Ye),this._platformLocation.onHashChange(Ye))}getBaseHref(){return this._baseHref}prepareExternalUrl(Ye){return E(this._baseHref,Ye)}path(Ye=!1){const ut=this._platformLocation.pathname+I(this._platformLocation.search),ti=this._platformLocation.hash;return ti&&Ye?`${ut}${ti}`:ut}pushState(Ye,ut,ti,Ne){const ft=this.prepareExternalUrl(ti+I(Ne));this._platformLocation.pushState(Ye,ut,ft)}replaceState(Ye,ut,ti,Ne){const ft=this.prepareExternalUrl(ti+I(Ne));this._platformLocation.replaceState(Ye,ut,ft)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Ye=0){this._platformLocation.historyGo?.(Ye)}static#e=this.\u0275fac=function(ut){return new(ut||Se)(e.LFG(m),e.LFG(V,8))};static#t=this.\u0275prov=e.Yz7({token:Se,factory:Se.\u0275fac,providedIn:"root"})}return Se})(),W=(()=>{class Se extends k{constructor(Ye,ut){super(),this._platformLocation=Ye,this._baseHref="",this._removeListenerFns=[],null!=ut&&(this._baseHref=ut)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Ye){this._removeListenerFns.push(this._platformLocation.onPopState(Ye),this._platformLocation.onHashChange(Ye))}getBaseHref(){return this._baseHref}path(Ye=!1){let ut=this._platformLocation.hash;return null==ut&&(ut="#"),ut.length>0?ut.substring(1):ut}prepareExternalUrl(Ye){const ut=E(this._baseHref,Ye);return ut.length>0?"#"+ut:ut}pushState(Ye,ut,ti,Ne){let ft=this.prepareExternalUrl(ti+I(Ne));0==ft.length&&(ft=this._platformLocation.pathname),this._platformLocation.pushState(Ye,ut,ft)}replaceState(Ye,ut,ti,Ne){let ft=this.prepareExternalUrl(ti+I(Ne));0==ft.length&&(ft=this._platformLocation.pathname),this._platformLocation.replaceState(Ye,ut,ft)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Ye=0){this._platformLocation.historyGo?.(Ye)}static#e=this.\u0275fac=function(ut){return new(ut||Se)(e.LFG(m),e.LFG(V,8))};static#t=this.\u0275prov=e.Yz7({token:Se,factory:Se.\u0275fac})}return Se})(),j=(()=>{class Se{constructor(Ye){this._subject=new e.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=Ye;const ut=this._locationStrategy.getBaseHref();this._basePath=function ae(Se){if(new RegExp("^(https?:)?//").test(Se)){const[,Ye]=Se.split(/\/\/[^\/]+/);return Ye}return Se}(M(ie(ut))),this._locationStrategy.onPopState(ti=>{this._subject.emit({url:this.path(!0),pop:!0,state:ti.state,type:ti.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(Ye=!1){return this.normalize(this._locationStrategy.path(Ye))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(Ye,ut=""){return this.path()==this.normalize(Ye+I(ut))}normalize(Ye){return Se.stripTrailingSlash(function X(Se,dt){if(!Se||!dt.startsWith(Se))return dt;const Ye=dt.substring(Se.length);return""===Ye||["/",";","?","#"].includes(Ye[0])?Ye:dt}(this._basePath,ie(Ye)))}prepareExternalUrl(Ye){return Ye&&"/"!==Ye[0]&&(Ye="/"+Ye),this._locationStrategy.prepareExternalUrl(Ye)}go(Ye,ut="",ti=null){this._locationStrategy.pushState(ti,"",Ye,ut),this._notifyUrlChangeListeners(this.prepareExternalUrl(Ye+I(ut)),ti)}replaceState(Ye,ut="",ti=null){this._locationStrategy.replaceState(ti,"",Ye,ut),this._notifyUrlChangeListeners(this.prepareExternalUrl(Ye+I(ut)),ti)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(Ye=0){this._locationStrategy.historyGo?.(Ye)}onUrlChange(Ye){return this._urlChangeListeners.push(Ye),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(ut=>{this._notifyUrlChangeListeners(ut.url,ut.state)})),()=>{const ut=this._urlChangeListeners.indexOf(Ye);this._urlChangeListeners.splice(ut,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(Ye="",ut){this._urlChangeListeners.forEach(ti=>ti(Ye,ut))}subscribe(Ye,ut,ti){return this._subject.subscribe({next:Ye,error:ut,complete:ti})}static#e=this.normalizeQueryParams=I;static#t=this.joinWithSlash=E;static#i=this.stripTrailingSlash=M;static#n=this.\u0275fac=function(ut){return new(ut||Se)(e.LFG(k))};static#r=this.\u0275prov=e.Yz7({token:Se,factory:()=>function K(){return new j((0,e.LFG)(k))}(),providedIn:"root"})}return Se})();function ie(Se){return Se.replace(/\/index.html$/,"")}var se=function(Se){return Se[Se.Decimal=0]="Decimal",Se[Se.Percent=1]="Percent",Se[Se.Currency=2]="Currency",Se[Se.Scientific=3]="Scientific",Se}(se||{}),$=function(Se){return Se[Se.Format=0]="Format",Se[Se.Standalone=1]="Standalone",Se}($||{}),ue=function(Se){return Se[Se.Narrow=0]="Narrow",Se[Se.Abbreviated=1]="Abbreviated",Se[Se.Wide=2]="Wide",Se[Se.Short=3]="Short",Se}(ue||{}),S=function(Se){return Se[Se.Short=0]="Short",Se[Se.Medium=1]="Medium",Se[Se.Long=2]="Long",Se[Se.Full=3]="Full",Se}(S||{}),n=function(Se){return Se[Se.Decimal=0]="Decimal",Se[Se.Group=1]="Group",Se[Se.List=2]="List",Se[Se.PercentSign=3]="PercentSign",Se[Se.PlusSign=4]="PlusSign",Se[Se.MinusSign=5]="MinusSign",Se[Se.Exponential=6]="Exponential",Se[Se.SuperscriptingExponent=7]="SuperscriptingExponent",Se[Se.PerMille=8]="PerMille",Se[Se.Infinity=9]="Infinity",Se[Se.NaN=10]="NaN",Se[Se.TimeSeparator=11]="TimeSeparator",Se[Se.CurrencyDecimal=12]="CurrencyDecimal",Se[Se.CurrencyGroup=13]="CurrencyGroup",Se}(n||{});function g(Se,dt){return qe((0,e.cg1)(Se)[e.wAp.DateFormat],dt)}function H(Se,dt){return qe((0,e.cg1)(Se)[e.wAp.TimeFormat],dt)}function N(Se,dt){return qe((0,e.cg1)(Se)[e.wAp.DateTimeFormat],dt)}function ee(Se,dt){const Ye=(0,e.cg1)(Se),ut=Ye[e.wAp.NumberSymbols][dt];if(typeof ut>"u"){if(dt===n.CurrencyDecimal)return Ye[e.wAp.NumberSymbols][n.Decimal];if(dt===n.CurrencyGroup)return Ye[e.wAp.NumberSymbols][n.Group]}return ut}function he(Se){if(!Se[e.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${Se[e.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function qe(Se,dt){for(let Ye=dt;Ye>-1;Ye--)if(typeof Se[Ye]<"u")return Se[Ye];throw new Error("Locale data API: locale data undefined")}function oe(Se){const[dt,Ye]=Se.split(":");return{hours:+dt,minutes:+Ye}}const We=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,wt={},mt=/((?:[^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 kt=function(Se){return Se[Se.Short=0]="Short",Se[Se.ShortGMT=1]="ShortGMT",Se[Se.Long=2]="Long",Se[Se.Extended=3]="Extended",Se}(kt||{}),Ae=function(Se){return Se[Se.FullYear=0]="FullYear",Se[Se.Month=1]="Month",Se[Se.Date=2]="Date",Se[Se.Hours=3]="Hours",Se[Se.Minutes=4]="Minutes",Se[Se.Seconds=5]="Seconds",Se[Se.FractionalSeconds=6]="FractionalSeconds",Se[Se.Day=7]="Day",Se}(Ae||{}),Be=function(Se){return Se[Se.DayPeriods=0]="DayPeriods",Se[Se.Days=1]="Days",Se[Se.Months=2]="Months",Se[Se.Eras=3]="Eras",Se}(Be||{});function it(Se,dt,Ye,ut){let ti=function Le(Se){if(J(Se))return Se;if("number"==typeof Se&&!isNaN(Se))return new Date(Se);if("string"==typeof Se){if(Se=Se.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(Se)){const[ti,Ne=1,ft=1]=Se.split("-").map(_t=>+_t);return $e(ti,Ne-1,ft)}const Ye=parseFloat(Se);if(!isNaN(Se-Ye))return new Date(Ye);let ut;if(ut=Se.match(We))return function be(Se){const dt=new Date(0);let Ye=0,ut=0;const ti=Se[8]?dt.setUTCFullYear:dt.setFullYear,Ne=Se[8]?dt.setUTCHours:dt.setHours;Se[9]&&(Ye=Number(Se[9]+Se[10]),ut=Number(Se[9]+Se[11])),ti.call(dt,Number(Se[1]),Number(Se[2])-1,Number(Se[3]));const ft=Number(Se[4]||0)-Ye,_t=Number(Se[5]||0)-ut,Pt=Number(Se[6]||0),Qt=Math.floor(1e3*parseFloat("0."+(Se[7]||0)));return Ne.call(dt,ft,_t,Pt,Qt),dt}(ut)}const dt=new Date(Se);if(!J(dt))throw new Error(`Unable to convert "${Se}" into a date`);return dt}(Se);dt=ke(Ye,dt)||dt;let _t,ft=[];for(;dt;){if(_t=mt.exec(dt),!_t){ft.push(dt);break}{ft=ft.concat(_t.slice(1));const di=ft.pop();if(!di)break;dt=di}}let Pt=ti.getTimezoneOffset();ut&&(Pt=Ue(ut,Pt),ti=function gt(Se,dt,Ye){const ut=Ye?-1:1,ti=Se.getTimezoneOffset();return function Xe(Se,dt){return(Se=new Date(Se.getTime())).setMinutes(Se.getMinutes()+dt),Se}(Se,ut*(Ue(dt,ti)-ti))}(ti,ut,!0));let Qt="";return ft.forEach(di=>{const ci=function tt(Se){if(Ee[Se])return Ee[Se];let dt;switch(Se){case"G":case"GG":case"GGG":dt=Pe(Be.Eras,ue.Abbreviated);break;case"GGGG":dt=Pe(Be.Eras,ue.Wide);break;case"GGGGG":dt=Pe(Be.Eras,ue.Narrow);break;case"y":dt=ct(Ae.FullYear,1,0,!1,!0);break;case"yy":dt=ct(Ae.FullYear,2,0,!0,!0);break;case"yyy":dt=ct(Ae.FullYear,3,0,!1,!0);break;case"yyyy":dt=ct(Ae.FullYear,4,0,!1,!0);break;case"Y":dt=nt(1);break;case"YY":dt=nt(2,!0);break;case"YYY":dt=nt(3);break;case"YYYY":dt=nt(4);break;case"M":case"L":dt=ct(Ae.Month,1,1);break;case"MM":case"LL":dt=ct(Ae.Month,2,1);break;case"MMM":dt=Pe(Be.Months,ue.Abbreviated);break;case"MMMM":dt=Pe(Be.Months,ue.Wide);break;case"MMMMM":dt=Pe(Be.Months,ue.Narrow);break;case"LLL":dt=Pe(Be.Months,ue.Abbreviated,$.Standalone);break;case"LLLL":dt=Pe(Be.Months,ue.Wide,$.Standalone);break;case"LLLLL":dt=Pe(Be.Months,ue.Narrow,$.Standalone);break;case"w":dt=yt(1);break;case"ww":dt=yt(2);break;case"W":dt=yt(1,!0);break;case"d":dt=ct(Ae.Date,1);break;case"dd":dt=ct(Ae.Date,2);break;case"c":case"cc":dt=ct(Ae.Day,1);break;case"ccc":dt=Pe(Be.Days,ue.Abbreviated,$.Standalone);break;case"cccc":dt=Pe(Be.Days,ue.Wide,$.Standalone);break;case"ccccc":dt=Pe(Be.Days,ue.Narrow,$.Standalone);break;case"cccccc":dt=Pe(Be.Days,ue.Short,$.Standalone);break;case"E":case"EE":case"EEE":dt=Pe(Be.Days,ue.Abbreviated);break;case"EEEE":dt=Pe(Be.Days,ue.Wide);break;case"EEEEE":dt=Pe(Be.Days,ue.Narrow);break;case"EEEEEE":dt=Pe(Be.Days,ue.Short);break;case"a":case"aa":case"aaa":dt=Pe(Be.DayPeriods,ue.Abbreviated);break;case"aaaa":dt=Pe(Be.DayPeriods,ue.Wide);break;case"aaaaa":dt=Pe(Be.DayPeriods,ue.Narrow);break;case"b":case"bb":case"bbb":dt=Pe(Be.DayPeriods,ue.Abbreviated,$.Standalone,!0);break;case"bbbb":dt=Pe(Be.DayPeriods,ue.Wide,$.Standalone,!0);break;case"bbbbb":dt=Pe(Be.DayPeriods,ue.Narrow,$.Standalone,!0);break;case"B":case"BB":case"BBB":dt=Pe(Be.DayPeriods,ue.Abbreviated,$.Format,!0);break;case"BBBB":dt=Pe(Be.DayPeriods,ue.Wide,$.Format,!0);break;case"BBBBB":dt=Pe(Be.DayPeriods,ue.Narrow,$.Format,!0);break;case"h":dt=ct(Ae.Hours,1,-12);break;case"hh":dt=ct(Ae.Hours,2,-12);break;case"H":dt=ct(Ae.Hours,1);break;case"HH":dt=ct(Ae.Hours,2);break;case"m":dt=ct(Ae.Minutes,1);break;case"mm":dt=ct(Ae.Minutes,2);break;case"s":dt=ct(Ae.Seconds,1);break;case"ss":dt=ct(Ae.Seconds,2);break;case"S":dt=ct(Ae.FractionalSeconds,1);break;case"SS":dt=ct(Ae.FractionalSeconds,2);break;case"SSS":dt=ct(Ae.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":dt=Ze(kt.Short);break;case"ZZZZZ":dt=Ze(kt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":dt=Ze(kt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":dt=Ze(kt.Long);break;default:return null}return Ee[Se]=dt,dt}(di);Qt+=ci?ci(ti,Ye,Pt):"''"===di?"'":di.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Qt}function $e(Se,dt,Ye){const ut=new Date(0);return ut.setFullYear(Se,dt,Ye),ut.setHours(0,0,0),ut}function ke(Se,dt){const Ye=function f(Se){return(0,e.cg1)(Se)[e.wAp.LocaleId]}(Se);if(wt[Ye]=wt[Ye]||{},wt[Ye][dt])return wt[Ye][dt];let ut="";switch(dt){case"shortDate":ut=g(Se,S.Short);break;case"mediumDate":ut=g(Se,S.Medium);break;case"longDate":ut=g(Se,S.Long);break;case"fullDate":ut=g(Se,S.Full);break;case"shortTime":ut=H(Se,S.Short);break;case"mediumTime":ut=H(Se,S.Medium);break;case"longTime":ut=H(Se,S.Long);break;case"fullTime":ut=H(Se,S.Full);break;case"short":const ti=ke(Se,"shortTime"),Ne=ke(Se,"shortDate");ut=st(N(Se,S.Short),[ti,Ne]);break;case"medium":const ft=ke(Se,"mediumTime"),_t=ke(Se,"mediumDate");ut=st(N(Se,S.Medium),[ft,_t]);break;case"long":const Pt=ke(Se,"longTime"),Qt=ke(Se,"longDate");ut=st(N(Se,S.Long),[Pt,Qt]);break;case"full":const di=ke(Se,"fullTime"),ci=ke(Se,"fullDate");ut=st(N(Se,S.Full),[di,ci])}return ut&&(wt[Ye][dt]=ut),ut}function st(Se,dt){return dt&&(Se=Se.replace(/\{([^}]+)}/g,function(Ye,ut){return null!=dt&&ut in dt?dt[ut]:Ye})),Se}function Ke(Se,dt,Ye="-",ut,ti){let Ne="";(Se<0||ti&&Se<=0)&&(ti?Se=1-Se:(Se=-Se,Ne=Ye));let ft=String(Se);for(;ft.length<dt;)ft="0"+ft;return ut&&(ft=ft.slice(ft.length-dt)),Ne+ft}function ct(Se,dt,Ye=0,ut=!1,ti=!1){return function(Ne,ft){let _t=function te(Se,dt){switch(Se){case Ae.FullYear:return dt.getFullYear();case Ae.Month:return dt.getMonth();case Ae.Date:return dt.getDate();case Ae.Hours:return dt.getHours();case Ae.Minutes:return dt.getMinutes();case Ae.Seconds:return dt.getSeconds();case Ae.FractionalSeconds:return dt.getMilliseconds();case Ae.Day:return dt.getDay();default:throw new Error(`Unknown DateType value "${Se}".`)}}(Se,Ne);if((Ye>0||_t>-Ye)&&(_t+=Ye),Se===Ae.Hours)0===_t&&-12===Ye&&(_t=12);else if(Se===Ae.FractionalSeconds)return function Et(Se,dt){return Ke(Se,3).substring(0,dt)}(_t,dt);const Pt=ee(ft,n.MinusSign);return Ke(_t,dt,Pt,ut,ti)}}function Pe(Se,dt,Ye=$.Format,ut=!1){return function(ti,Ne){return function $t(Se,dt,Ye,ut,ti,Ne){switch(Ye){case Be.Months:return function D(Se,dt,Ye){const ut=(0,e.cg1)(Se),Ne=qe([ut[e.wAp.MonthsFormat],ut[e.wAp.MonthsStandalone]],dt);return qe(Ne,Ye)}(dt,ti,ut)[Se.getMonth()];case Be.Days:return function w(Se,dt,Ye){const ut=(0,e.cg1)(Se),Ne=qe([ut[e.wAp.DaysFormat],ut[e.wAp.DaysStandalone]],dt);return qe(Ne,Ye)}(dt,ti,ut)[Se.getDay()];case Be.DayPeriods:const ft=Se.getHours(),_t=Se.getMinutes();if(Ne){const Qt=function xe(Se){const dt=(0,e.cg1)(Se);return he(dt),(dt[e.wAp.ExtraData][2]||[]).map(ut=>"string"==typeof ut?oe(ut):[oe(ut[0]),oe(ut[1])])}(dt),di=function de(Se,dt,Ye){const ut=(0,e.cg1)(Se);he(ut);const Ne=qe([ut[e.wAp.ExtraData][0],ut[e.wAp.ExtraData][1]],dt)||[];return qe(Ne,Ye)||[]}(dt,ti,ut),ci=Qt.findIndex(Ei=>{if(Array.isArray(Ei)){const[Di,tn]=Ei,Ji=ft>=Di.hours&&_t>=Di.minutes,fn=ft<tn.hours||ft===tn.hours&&_t<tn.minutes;if(Di.hours<tn.hours){if(Ji&&fn)return!0}else if(Ji||fn)return!0}else if(Ei.hours===ft&&Ei.minutes===_t)return!0;return!1});if(-1!==ci)return di[ci]}return function h(Se,dt,Ye){const ut=(0,e.cg1)(Se),Ne=qe([ut[e.wAp.DayPeriodsFormat],ut[e.wAp.DayPeriodsStandalone]],dt);return qe(Ne,Ye)}(dt,ti,ut)[ft<12?0:1];case Be.Eras:return function O(Se,dt){return qe((0,e.cg1)(Se)[e.wAp.Eras],dt)}(dt,ut)[Se.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${Ye}`)}}(ti,Ne,Se,dt,Ye,ut)}}function Ze(Se){return function(dt,Ye,ut){const ti=-1*ut,Ne=ee(Ye,n.MinusSign),ft=ti>0?Math.floor(ti/60):Math.ceil(ti/60);switch(Se){case kt.Short:return(ti>=0?"+":"")+Ke(ft,2,Ne)+Ke(Math.abs(ti%60),2,Ne);case kt.ShortGMT:return"GMT"+(ti>=0?"+":"")+Ke(ft,1,Ne);case kt.Long:return"GMT"+(ti>=0?"+":"")+Ke(ft,2,Ne)+":"+Ke(Math.abs(ti%60),2,Ne);case kt.Extended:return 0===ut?"Z":(ti>=0?"+":"")+Ke(ft,2,Ne)+":"+Ke(Math.abs(ti%60),2,Ne);default:throw new Error(`Unknown zone width "${Se}"`)}}}const Qe=0,zt=4;function Ot(Se){return $e(Se.getFullYear(),Se.getMonth(),Se.getDate()+(zt-Se.getDay()))}function yt(Se,dt=!1){return function(Ye,ut){let ti;if(dt){const Ne=new Date(Ye.getFullYear(),Ye.getMonth(),1).getDay()-1,ft=Ye.getDate();ti=1+Math.floor((ft+Ne)/7)}else{const Ne=Ot(Ye),ft=function xt(Se){const dt=$e(Se,Qe,1).getDay();return $e(Se,0,1+(dt<=zt?zt:zt+7)-dt)}(Ne.getFullYear()),_t=Ne.getTime()-ft.getTime();ti=1+Math.round(_t/6048e5)}return Ke(ti,Se,ee(ut,n.MinusSign))}}function nt(Se,dt=!1){return function(Ye,ut){return Ke(Ot(Ye).getFullYear(),Se,ee(ut,n.MinusSign),dt)}}const Ee={};function Ue(Se,dt){Se=Se.replace(/:/g,"");const Ye=Date.parse("Jan 01, 1970 00:00:00 "+Se)/6e4;return isNaN(Ye)?dt:Ye}function J(Se){return Se instanceof Date&&!isNaN(Se.valueOf())}const re=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function Ce(Se){const dt=parseInt(Se);if(isNaN(dt))throw new Error("Invalid integer literal when parsing "+Se);return dt}function Ut(Se,dt){dt=encodeURIComponent(dt);for(const Ye of Se.split(";")){const ut=Ye.indexOf("="),[ti,Ne]=-1==ut?[Ye,""]:[Ye.slice(0,ut),Ye.slice(ut+1)];if(ti.trim()===dt)return decodeURIComponent(Ne)}return null}const ai=/\s+/,_i=[];let bi=(()=>{class Se{constructor(Ye,ut,ti,Ne){this._iterableDiffers=Ye,this._keyValueDiffers=ut,this._ngEl=ti,this._renderer=Ne,this.initialClasses=_i,this.stateMap=new Map}set klass(Ye){this.initialClasses=null!=Ye?Ye.trim().split(ai):_i}set ngClass(Ye){this.rawClass="string"==typeof Ye?Ye.trim().split(ai):Ye}ngDoCheck(){for(const ut of this.initialClasses)this._updateState(ut,!0);const Ye=this.rawClass;if(Array.isArray(Ye)||Ye instanceof Set)for(const ut of Ye)this._updateState(ut,!0);else if(null!=Ye)for(const ut of Object.keys(Ye))this._updateState(ut,!!Ye[ut]);this._applyStateDiff()}_updateState(Ye,ut){const ti=this.stateMap.get(Ye);void 0!==ti?(ti.enabled!==ut&&(ti.changed=!0,ti.enabled=ut),ti.touched=!0):this.stateMap.set(Ye,{enabled:ut,changed:!0,touched:!0})}_applyStateDiff(){for(const Ye of this.stateMap){const ut=Ye[0],ti=Ye[1];ti.changed?(this._toggleClass(ut,ti.enabled),ti.changed=!1):ti.touched||(ti.enabled&&this._toggleClass(ut,!1),this.stateMap.delete(ut)),ti.touched=!1}}_toggleClass(Ye,ut){(Ye=Ye.trim()).length>0&&Ye.split(ai).forEach(ti=>{ut?this._renderer.addClass(this._ngEl.nativeElement,ti):this._renderer.removeClass(this._ngEl.nativeElement,ti)})}static#e=this.\u0275fac=function(ut){return new(ut||Se)(e.Y36(e.ZZ4),e.Y36(e.aQg),e.Y36(e.SBq),e.Y36(e.Qsj))};static#t=this.\u0275dir=e.lG2({type:Se,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return Se})();class Vi{constructor(dt,Ye,ut,ti){this.$implicit=dt,this.ngForOf=Ye,this.index=ut,this.count=ti}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Kt=(()=>{class Se{set ngForOf(Ye){this._ngForOf=Ye,this._ngForOfDirty=!0}set ngForTrackBy(Ye){this._trackByFn=Ye}get ngForTrackBy(){return this._trackByFn}constructor(Ye,ut,ti){this._viewContainer=Ye,this._template=ut,this._differs=ti,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(Ye){Ye&&(this._template=Ye)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const Ye=this._ngForOf;!this._differ&&Ye&&(this._differ=this._differs.find(Ye).create(this.ngForTrackBy))}if(this._differ){const Ye=this._differ.diff(this._ngForOf);Ye&&this._applyChanges(Ye)}}_applyChanges(Ye){const ut=this._viewContainer;Ye.forEachOperation((ti,Ne,ft)=>{if(null==ti.previousIndex)ut.createEmbeddedView(this._template,new Vi(ti.item,this._ngForOf,-1,-1),null===ft?void 0:ft);else if(null==ft)ut.remove(null===Ne?void 0:Ne);else if(null!==Ne){const _t=ut.get(Ne);ut.move(_t,ft),vi(_t,ti)}});for(let ti=0,Ne=ut.length;ti<Ne;ti++){const _t=ut.get(ti).context;_t.index=ti,_t.count=Ne,_t.ngForOf=this._ngForOf}Ye.forEachIdentityChange(ti=>{vi(ut.get(ti.currentIndex),ti)})}static ngTemplateContextGuard(Ye,ut){return!0}static#e=this.\u0275fac=function(ut){return new(ut||Se)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(e.ZZ4))};static#t=this.\u0275dir=e.lG2({type:Se,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return Se})();function vi(Se,dt){Se.context.$implicit=dt.item}let lt=(()=>{class Se{constructor(Ye,ut){this._viewContainer=Ye,this._context=new Oe,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=ut}set ngIf(Ye){this._context.$implicit=this._context.ngIf=Ye,this._updateView()}set ngIfThen(Ye){Ct("ngIfThen",Ye),this._thenTemplateRef=Ye,this._thenViewRef=null,this._updateView()}set ngIfElse(Ye){Ct("ngIfElse",Ye),this._elseTemplateRef=Ye,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(Ye,ut){return!0}static#e=this.\u0275fac=function(ut){return new(ut||Se)(e.Y36(e.s_b),e.Y36(e.Rgc))};static#t=this.\u0275dir=e.lG2({type:Se,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return Se})();class Oe{constructor(){this.$implicit=null,this.ngIf=null}}function Ct(Se,dt){if(dt&&!dt.createEmbeddedView)throw new Error(`${Se} must be a TemplateRef, but received '${(0,e.AaK)(dt)}'.`)}class Ii{constructor(dt,Ye){this._viewContainerRef=dt,this._templateRef=Ye,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(dt){dt&&!this._created?this.create():!dt&&this._created&&this.destroy()}}let gn=(()=>{class Se{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(Ye){this._ngSwitch=Ye,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(Ye){this._defaultViews.push(Ye)}_matchCase(Ye){const ut=Ye===this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||ut,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),ut}_updateDefaultCases(Ye){if(this._defaultViews.length>0&&Ye!==this._defaultUsed){this._defaultUsed=Ye;for(const ut of this._defaultViews)ut.enforceState(Ye)}}static#e=this.\u0275fac=function(ut){return new(ut||Se)};static#t=this.\u0275dir=e.lG2({type:Se,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return Se})(),qn=(()=>{class Se{constructor(Ye,ut,ti){this.ngSwitch=ti,ti._addCase(),this._view=new Ii(Ye,ut)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(ut){return new(ut||Se)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(gn,9))};static#t=this.\u0275dir=e.lG2({type:Se,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return Se})(),hn=(()=>{class Se{constructor(Ye,ut,ti){ti._addDefault(new Ii(Ye,ut))}static#e=this.\u0275fac=function(ut){return new(ut||Se)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(gn,9))};static#t=this.\u0275dir=e.lG2({type:Se,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return Se})(),Gi=(()=>{class Se{constructor(Ye,ut,ti){this._ngEl=Ye,this._differs=ut,this._renderer=ti,this._ngStyle=null,this._differ=null}set ngStyle(Ye){this._ngStyle=Ye,!this._differ&&Ye&&(this._differ=this._differs.find(Ye).create())}ngDoCheck(){if(this._differ){const Ye=this._differ.diff(this._ngStyle);Ye&&this._applyChanges(Ye)}}_setStyle(Ye,ut){const[ti,Ne]=Ye.split("."),ft=-1===ti.indexOf("-")?void 0:e.JOm.DashCase;null!=ut?this._renderer.setStyle(this._ngEl.nativeElement,ti,Ne?`${ut}${Ne}`:ut,ft):this._renderer.removeStyle(this._ngEl.nativeElement,ti,ft)}_applyChanges(Ye){Ye.forEachRemovedItem(ut=>this._setStyle(ut.key,null)),Ye.forEachAddedItem(ut=>this._setStyle(ut.key,ut.currentValue)),Ye.forEachChangedItem(ut=>this._setStyle(ut.key,ut.currentValue))}static#e=this.\u0275fac=function(ut){return new(ut||Se)(e.Y36(e.SBq),e.Y36(e.aQg),e.Y36(e.Qsj))};static#t=this.\u0275dir=e.lG2({type:Se,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return Se})(),rn=(()=>{class Se{constructor(Ye){this._viewContainerRef=Ye,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(Ye){if(this._shouldRecreateView(Ye)){const ut=this._viewContainerRef;if(this._viewRef&&ut.remove(ut.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const ti=this._createContextForwardProxy();this._viewRef=ut.createEmbeddedView(this.ngTemplateOutlet,ti,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(Ye){return!!Ye.ngTemplateOutlet||!!Ye.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(Ye,ut,ti)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,ut,ti),get:(Ye,ut,ti)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,ut,ti)}})}static#e=this.\u0275fac=function(ut){return new(ut||Se)(e.Y36(e.s_b))};static#t=this.\u0275dir=e.lG2({type:Se,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[e.TTD]})}return Se})();function wi(Se,dt){return new e.vHH(2100,!1)}class pi{createSubscription(dt,Ye){return(0,e.rg0)(()=>dt.subscribe({next:Ye,error:ut=>{throw ut}}))}dispose(dt){(0,e.rg0)(()=>dt.unsubscribe())}}class yi{createSubscription(dt,Ye){return dt.then(Ye,ut=>{throw ut})}dispose(dt){}}const Ui=new yi,$i=new pi;let xn=(()=>{class Se{constructor(Ye){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=Ye}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(Ye){return this._obj?Ye!==this._obj?(this._dispose(),this.transform(Ye)):this._latestValue:(Ye&&this._subscribe(Ye),this._latestValue)}_subscribe(Ye){this._obj=Ye,this._strategy=this._selectStrategy(Ye),this._subscription=this._strategy.createSubscription(Ye,ut=>this._updateLatestValue(Ye,ut))}_selectStrategy(Ye){if((0,e.QGY)(Ye))return Ui;if((0,e.F4k)(Ye))return $i;throw wi()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(Ye,ut){Ye===this._obj&&(this._latestValue=ut,this._ref.markForCheck())}static#e=this.\u0275fac=function(ut){return new(ut||Se)(e.Y36(e.sBO,16))};static#t=this.\u0275pipe=e.Yjl({name:"async",type:Se,pure:!1,standalone:!0})}return Se})(),jn=(()=>{class Se{transform(Ye){if(null==Ye)return null;if("string"!=typeof Ye)throw wi();return Ye.toLowerCase()}static#e=this.\u0275fac=function(ut){return new(ut||Se)};static#t=this.\u0275pipe=e.Yjl({name:"lowercase",type:Se,pure:!0,standalone:!0})}return Se})();const Hn=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let Er=(()=>{class Se{transform(Ye){if(null==Ye)return null;if("string"!=typeof Ye)throw wi();return Ye.replace(Hn,ut=>ut[0].toUpperCase()+ut.slice(1).toLowerCase())}static#e=this.\u0275fac=function(ut){return new(ut||Se)};static#t=this.\u0275pipe=e.Yjl({name:"titlecase",type:Se,pure:!0,standalone:!0})}return Se})(),tr=(()=>{class Se{transform(Ye){if(null==Ye)return null;if("string"!=typeof Ye)throw wi();return Ye.toUpperCase()}static#e=this.\u0275fac=function(ut){return new(ut||Se)};static#t=this.\u0275pipe=e.Yjl({name:"uppercase",type:Se,pure:!0,standalone:!0})}return Se})();const sa=new e.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),ga=new e.OlP("DATE_PIPE_DEFAULT_OPTIONS");let ca=(()=>{class Se{constructor(Ye,ut,ti){this.locale=Ye,this.defaultTimezone=ut,this.defaultOptions=ti}transform(Ye,ut,ti,Ne){if(null==Ye||""===Ye||Ye!=Ye)return null;try{return it(Ye,ut??this.defaultOptions?.dateFormat??"mediumDate",Ne||this.locale,ti??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(ft){throw wi()}}static#e=this.\u0275fac=function(ut){return new(ut||Se)(e.Y36(e.soG,16),e.Y36(sa,24),e.Y36(ga,24))};static#t=this.\u0275pipe=e.Yjl({name:"date",type:Se,pure:!0,standalone:!0})}return Se})(),Kn=(()=>{class Se{transform(Ye){return JSON.stringify(Ye,null,2)}static#e=this.\u0275fac=function(ut){return new(ut||Se)};static#t=this.\u0275pipe=e.Yjl({name:"json",type:Se,pure:!1,standalone:!0})}return Se})(),Ga=(()=>{class Se{constructor(Ye){this.differs=Ye,this.keyValues=[],this.compareFn=va}transform(Ye,ut=va){if(!Ye||!(Ye instanceof Map)&&"object"!=typeof Ye)return null;this.differ||(this.differ=this.differs.find(Ye).create());const ti=this.differ.diff(Ye),Ne=ut!==this.compareFn;return ti&&(this.keyValues=[],ti.forEachItem(ft=>{this.keyValues.push(function _a(Se,dt){return{key:Se,value:dt}}(ft.key,ft.currentValue))})),(ti||Ne)&&(this.keyValues.sort(ut),this.compareFn=ut),this.keyValues}static#e=this.\u0275fac=function(ut){return new(ut||Se)(e.Y36(e.aQg,16))};static#t=this.\u0275pipe=e.Yjl({name:"keyvalue",type:Se,pure:!1,standalone:!0})}return Se})();function va(Se,dt){const Ye=Se.key,ut=dt.key;if(Ye===ut)return 0;if(void 0===Ye)return 1;if(void 0===ut)return-1;if(null===Ye)return 1;if(null===ut)return-1;if("string"==typeof Ye&&"string"==typeof ut)return Ye<ut?-1:1;if("number"==typeof Ye&&"number"==typeof ut)return Ye-ut;if("boolean"==typeof Ye&&"boolean"==typeof ut)return Ye<ut?-1:1;const ti=String(Ye),Ne=String(ut);return ti==Ne?0:ti<Ne?-1:1}let Ir=(()=>{class Se{constructor(Ye){this._locale=Ye}transform(Ye,ut,ti){if(!function qr(Se){return!(null==Se||""===Se||Se!=Se)}(Ye))return null;ti=ti||this._locale;try{return function Qi(Se,dt,Ye){return function li(Se,dt,Ye,ut,ti,Ne,ft=!1){let _t="",Pt=!1;if(isFinite(Se)){let Qt=function at(Se){let ut,ti,Ne,ft,_t,dt=Math.abs(Se)+"",Ye=0;for((ti=dt.indexOf("."))>-1&&(dt=dt.replace(".","")),(Ne=dt.search(/e/i))>0?(ti<0&&(ti=Ne),ti+=+dt.slice(Ne+1),dt=dt.substring(0,Ne)):ti<0&&(ti=dt.length),Ne=0;"0"===dt.charAt(Ne);Ne++);if(Ne===(_t=dt.length))ut=[0],ti=1;else{for(_t--;"0"===dt.charAt(_t);)_t--;for(ti-=Ne,ut=[],ft=0;Ne<=_t;Ne++,ft++)ut[ft]=Number(dt.charAt(Ne))}return ti>22&&(ut=ut.splice(0,21),Ye=ti-1,ti=1),{digits:ut,exponent:Ye,integerLen:ti}}(Se);ft&&(Qt=function sn(Se){if(0===Se.digits[0])return Se;const dt=Se.digits.length-Se.integerLen;return Se.exponent?Se.exponent+=2:(0===dt?Se.digits.push(0,0):1===dt&&Se.digits.push(0),Se.integerLen+=2),Se}(Qt));let di=dt.minInt,ci=dt.minFrac,Ei=dt.maxFrac;if(Ne){const Fn=Ne.match(re);if(null===Fn)throw new Error(`${Ne} is not a valid digit info`);const Ar=Fn[1],zr=Fn[3],fa=Fn[5];null!=Ar&&(di=Ce(Ar)),null!=zr&&(ci=Ce(zr)),null!=fa?Ei=Ce(fa):null!=zr&&ci>Ei&&(Ei=ci)}!function oi(Se,dt,Ye){if(dt>Ye)throw new Error(`The minimum number of digits after fraction (${dt}) is higher than the maximum (${Ye}).`);let ut=Se.digits,ti=ut.length-Se.integerLen;const Ne=Math.min(Math.max(dt,ti),Ye);let ft=Ne+Se.integerLen,_t=ut[ft];if(ft>0){ut.splice(Math.max(Se.integerLen,ft));for(let ci=ft;ci<ut.length;ci++)ut[ci]=0}else{ti=Math.max(0,ti),Se.integerLen=1,ut.length=Math.max(1,ft=Ne+1),ut[0]=0;for(let ci=1;ci<ft;ci++)ut[ci]=0}if(_t>=5)if(ft-1<0){for(let ci=0;ci>ft;ci--)ut.unshift(0),Se.integerLen++;ut.unshift(1),Se.integerLen++}else ut[ft-1]++;for(;ti<Math.max(0,Ne);ti++)ut.push(0);let Pt=0!==Ne;const Qt=dt+Se.integerLen,di=ut.reduceRight(function(ci,Ei,Di,tn){return tn[Di]=(Ei+=ci)<10?Ei:Ei-10,Pt&&(0===tn[Di]&&Di>=Qt?tn.pop():Pt=!1),Ei>=10?1:0},0);di&&(ut.unshift(di),Se.integerLen++)}(Qt,ci,Ei);let Di=Qt.digits,tn=Qt.integerLen;const Ji=Qt.exponent;let fn=[];for(Pt=Di.every(Fn=>!Fn);tn<di;tn++)Di.unshift(0);for(;tn<0;tn++)Di.unshift(0);tn>0?fn=Di.splice(tn,Di.length):(fn=Di,Di=[0]);const Tn=[];for(Di.length>=dt.lgSize&&Tn.unshift(Di.splice(-dt.lgSize,Di.length).join(""));Di.length>dt.gSize;)Tn.unshift(Di.splice(-dt.gSize,Di.length).join(""));Di.length&&Tn.unshift(Di.join("")),_t=Tn.join(ee(Ye,ut)),fn.length&&(_t+=ee(Ye,ti)+fn.join("")),Ji&&(_t+=ee(Ye,n.Exponential)+"+"+Ji)}else _t=ee(Ye,n.Infinity);return _t=Se<0&&!Pt?dt.negPre+_t+dt.negSuf:dt.posPre+_t+dt.posSuf,_t}(Se,function xi(Se,dt="-"){const Ye={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},ut=Se.split(";"),ti=ut[0],Ne=ut[1],ft=-1!==ti.indexOf(".")?ti.split("."):[ti.substring(0,ti.lastIndexOf("0")+1),ti.substring(ti.lastIndexOf("0")+1)],_t=ft[0],Pt=ft[1]||"";Ye.posPre=_t.substring(0,_t.indexOf("#"));for(let di=0;di<Pt.length;di++){const ci=Pt.charAt(di);"0"===ci?Ye.minFrac=Ye.maxFrac=di+1:"#"===ci?Ye.maxFrac=di+1:Ye.posSuf+=ci}const Qt=_t.split(",");if(Ye.gSize=Qt[1]?Qt[1].length:0,Ye.lgSize=Qt[2]||Qt[1]?(Qt[2]||Qt[1]).length:0,Ne){const di=ti.length-Ye.posPre.length-Ye.posSuf.length,ci=Ne.indexOf("#");Ye.negPre=Ne.substring(0,ci).replace(/'/g,""),Ye.negSuf=Ne.slice(ci+di).replace(/'/g,"")}else Ye.negPre=dt+Ye.posPre,Ye.negSuf=Ye.posSuf;return Ye}(function De(Se,dt){return(0,e.cg1)(Se)[e.wAp.NumberFormats][dt]}(dt,se.Decimal),ee(dt,n.MinusSign)),dt,n.Group,n.Decimal,Ye)}(function Ma(Se){if("string"==typeof Se&&!isNaN(Number(Se)-parseFloat(Se)))return Number(Se);if("number"!=typeof Se)throw new Error(`${Se} is not a number`);return Se}(Ye),ti,ut)}catch(Ne){throw wi()}}static#e=this.\u0275fac=function(ut){return new(ut||Se)(e.Y36(e.soG,16))};static#t=this.\u0275pipe=e.Yjl({name:"number",type:Se,pure:!0,standalone:!0})}return Se})();let Or=(()=>{class Se{transform(Ye,ut,ti){if(null==Ye)return null;if(!this.supports(Ye))throw wi();return Ye.slice(ut,ti)}supports(Ye){return"string"==typeof Ye||Array.isArray(Ye)}static#e=this.\u0275fac=function(ut){return new(ut||Se)};static#t=this.\u0275pipe=e.Yjl({name:"slice",type:Se,pure:!1,standalone:!0})}return Se})(),Gn=(()=>{class Se{static#e=this.\u0275fac=function(ut){return new(ut||Se)};static#t=this.\u0275mod=e.oAB({type:Se});static#i=this.\u0275inj=e.cJS({})}return Se})();const Sa="browser",io="server";function na(Se){return Se===Sa}function Na(Se){return Se===io}let Eo=(()=>{class Se{static#e=this.\u0275prov=(0,e.Yz7)({token:Se,providedIn:"root",factory:()=>new _o((0,e.LFG)(x),window)})}return Se})();class _o{constructor(dt,Ye){this.document=dt,this.window=Ye,this.offset=()=>[0,0]}setOffset(dt){this.offset=Array.isArray(dt)?()=>dt:dt}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(dt){this.supportsScrolling()&&this.window.scrollTo(dt[0],dt[1])}scrollToAnchor(dt){if(!this.supportsScrolling())return;const Ye=function Xr(Se,dt){const Ye=Se.getElementById(dt)||Se.getElementsByName(dt)[0];if(Ye)return Ye;if("function"==typeof Se.createTreeWalker&&Se.body&&"function"==typeof Se.body.attachShadow){const ut=Se.createTreeWalker(Se.body,NodeFilter.SHOW_ELEMENT);let ti=ut.currentNode;for(;ti;){const Ne=ti.shadowRoot;if(Ne){const ft=Ne.getElementById(dt)||Ne.querySelector(`[name="${dt}"]`);if(ft)return ft}ti=ut.nextNode()}}return null}(this.document,dt);Ye&&(this.scrollToElement(Ye),Ye.focus())}setHistoryScrollRestoration(dt){this.supportsScrolling()&&(this.window.history.scrollRestoration=dt)}scrollToElement(dt){const Ye=dt.getBoundingClientRect(),ut=Ye.left+this.window.pageXOffset,ti=Ye.top+this.window.pageYOffset,Ne=this.offset();this.window.scrollTo(ut-Ne[0],ti-Ne[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class ba{}},9862:(ze,q,p)=>{"use strict";p.d(q,{JF:()=>Zt,LE:()=>fe,TP:()=>xe,eN:()=>g}),p(5861);var t=p(9212),y=p(2096),A=p(5592),l=p(9666),x=p(6328),m=p(2181),P=p(7398),d=p(4716),E=p(4664),M=p(6814);class I{}class k{}class V{constructor(It){this.normalizedNames=new Map,this.lazyUpdate=null,It?"string"==typeof It?this.lazyInit=()=>{this.headers=new Map,It.split("\n").forEach(Ut=>{const ai=Ut.indexOf(":");if(ai>0){const _i=Ut.slice(0,ai),bi=_i.toLowerCase(),Oi=Ut.slice(ai+1).trim();this.maybeSetNormalizedName(_i,bi),this.headers.has(bi)?this.headers.get(bi).push(Oi):this.headers.set(bi,[Oi])}})}:typeof Headers<"u"&&It instanceof Headers?(this.headers=new Map,It.forEach((Ut,ai)=>{this.setHeaderEntries(ai,Ut)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(It).forEach(([Ut,ai])=>{this.setHeaderEntries(Ut,ai)})}:this.headers=new Map}has(It){return this.init(),this.headers.has(It.toLowerCase())}get(It){this.init();const Ut=this.headers.get(It.toLowerCase());return Ut&&Ut.length>0?Ut[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(It){return this.init(),this.headers.get(It.toLowerCase())||null}append(It,Ut){return this.clone({name:It,value:Ut,op:"a"})}set(It,Ut){return this.clone({name:It,value:Ut,op:"s"})}delete(It,Ut){return this.clone({name:It,value:Ut,op:"d"})}maybeSetNormalizedName(It,Ut){this.normalizedNames.has(Ut)||this.normalizedNames.set(Ut,It)}init(){this.lazyInit&&(this.lazyInit instanceof V?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(It=>this.applyUpdate(It)),this.lazyUpdate=null))}copyFrom(It){It.init(),Array.from(It.headers.keys()).forEach(Ut=>{this.headers.set(Ut,It.headers.get(Ut)),this.normalizedNames.set(Ut,It.normalizedNames.get(Ut))})}clone(It){const Ut=new V;return Ut.lazyInit=this.lazyInit&&this.lazyInit instanceof V?this.lazyInit:this,Ut.lazyUpdate=(this.lazyUpdate||[]).concat([It]),Ut}applyUpdate(It){const Ut=It.name.toLowerCase();switch(It.op){case"a":case"s":let ai=It.value;if("string"==typeof ai&&(ai=[ai]),0===ai.length)return;this.maybeSetNormalizedName(It.name,Ut);const _i=("a"===It.op?this.headers.get(Ut):void 0)||[];_i.push(...ai),this.headers.set(Ut,_i);break;case"d":const bi=It.value;if(bi){let Oi=this.headers.get(Ut);if(!Oi)return;Oi=Oi.filter(Bi=>-1===bi.indexOf(Bi)),0===Oi.length?(this.headers.delete(Ut),this.normalizedNames.delete(Ut)):this.headers.set(Ut,Oi)}else this.headers.delete(Ut),this.normalizedNames.delete(Ut)}}setHeaderEntries(It,Ut){const ai=(Array.isArray(Ut)?Ut:[Ut]).map(bi=>bi.toString()),_i=It.toLowerCase();this.headers.set(_i,ai),this.maybeSetNormalizedName(It,_i)}forEach(It){this.init(),Array.from(this.normalizedNames.keys()).forEach(Ut=>It(this.normalizedNames.get(Ut),this.headers.get(Ut)))}}class W{encodeKey(It){return ie(It)}encodeValue(It){return ie(It)}decodeKey(It){return decodeURIComponent(It)}decodeValue(It){return decodeURIComponent(It)}}const K=/%(\d[a-f0-9])/gi,X={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ie(Dt){return encodeURIComponent(Dt).replace(K,(It,Ut)=>X[Ut]??It)}function ae(Dt){return`${Dt}`}class fe{constructor(It={}){if(this.updates=null,this.cloneFrom=null,this.encoder=It.encoder||new W,It.fromString){if(It.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function j(Dt,It){const Ut=new Map;return Dt.length>0&&Dt.replace(/^\?/,"").split("&").forEach(_i=>{const bi=_i.indexOf("="),[Oi,Bi]=-1==bi?[It.decodeKey(_i),""]:[It.decodeKey(_i.slice(0,bi)),It.decodeValue(_i.slice(bi+1))],Vi=Ut.get(Oi)||[];Vi.push(Bi),Ut.set(Oi,Vi)}),Ut}(It.fromString,this.encoder)}else It.fromObject?(this.map=new Map,Object.keys(It.fromObject).forEach(Ut=>{const ai=It.fromObject[Ut],_i=Array.isArray(ai)?ai.map(ae):[ae(ai)];this.map.set(Ut,_i)})):this.map=null}has(It){return this.init(),this.map.has(It)}get(It){this.init();const Ut=this.map.get(It);return Ut?Ut[0]:null}getAll(It){return this.init(),this.map.get(It)||null}keys(){return this.init(),Array.from(this.map.keys())}append(It,Ut){return this.clone({param:It,value:Ut,op:"a"})}appendAll(It){const Ut=[];return Object.keys(It).forEach(ai=>{const _i=It[ai];Array.isArray(_i)?_i.forEach(bi=>{Ut.push({param:ai,value:bi,op:"a"})}):Ut.push({param:ai,value:_i,op:"a"})}),this.clone(Ut)}set(It,Ut){return this.clone({param:It,value:Ut,op:"s"})}delete(It,Ut){return this.clone({param:It,value:Ut,op:"d"})}toString(){return this.init(),this.keys().map(It=>{const Ut=this.encoder.encodeKey(It);return this.map.get(It).map(ai=>Ut+"="+this.encoder.encodeValue(ai)).join("&")}).filter(It=>""!==It).join("&")}clone(It){const Ut=new fe({encoder:this.encoder});return Ut.cloneFrom=this.cloneFrom||this,Ut.updates=(this.updates||[]).concat(It),Ut}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(It=>this.map.set(It,this.cloneFrom.map.get(It))),this.updates.forEach(It=>{switch(It.op){case"a":case"s":const Ut=("a"===It.op?this.map.get(It.param):void 0)||[];Ut.push(ae(It.value)),this.map.set(It.param,Ut);break;case"d":if(void 0===It.value){this.map.delete(It.param);break}{let ai=this.map.get(It.param)||[];const _i=ai.indexOf(ae(It.value));-1!==_i&&ai.splice(_i,1),ai.length>0?this.map.set(It.param,ai):this.map.delete(It.param)}}}),this.cloneFrom=this.updates=null)}}class Me{constructor(){this.map=new Map}set(It,Ut){return this.map.set(It,Ut),this}get(It){return this.map.has(It)||this.map.set(It,It.defaultValue()),this.map.get(It)}delete(It){return this.map.delete(It),this}has(It){return this.map.has(It)}keys(){return this.map.keys()}}function ue(Dt){return typeof ArrayBuffer<"u"&&Dt instanceof ArrayBuffer}function S(Dt){return typeof Blob<"u"&&Dt instanceof Blob}function n(Dt){return typeof FormData<"u"&&Dt instanceof FormData}class f{constructor(It,Ut,ai,_i){let bi;if(this.url=Ut,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=It.toUpperCase(),function $(Dt){switch(Dt){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||_i?(this.body=void 0!==ai?ai:null,bi=_i):bi=ai,bi&&(this.reportProgress=!!bi.reportProgress,this.withCredentials=!!bi.withCredentials,bi.responseType&&(this.responseType=bi.responseType),bi.headers&&(this.headers=bi.headers),bi.context&&(this.context=bi.context),bi.params&&(this.params=bi.params),this.transferCache=bi.transferCache),this.headers||(this.headers=new V),this.context||(this.context=new Me),this.params){const Oi=this.params.toString();if(0===Oi.length)this.urlWithParams=Ut;else{const Bi=Ut.indexOf("?");this.urlWithParams=Ut+(-1===Bi?"?":Bi<Ut.length-1?"&":"")+Oi}}else this.params=new fe,this.urlWithParams=Ut}serializeBody(){return null===this.body?null:ue(this.body)||S(this.body)||n(this.body)||function s(Dt){return typeof URLSearchParams<"u"&&Dt instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof fe?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||n(this.body)?null:S(this.body)?this.body.type||null:ue(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof fe?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(It={}){const Ut=It.method||this.method,ai=It.url||this.url,_i=It.responseType||this.responseType,bi=void 0!==It.body?It.body:this.body,Oi=void 0!==It.withCredentials?It.withCredentials:this.withCredentials,Bi=void 0!==It.reportProgress?It.reportProgress:this.reportProgress;let Vi=It.headers||this.headers,Kt=It.params||this.params;const vi=It.context??this.context;return void 0!==It.setHeaders&&(Vi=Object.keys(It.setHeaders).reduce((ne,lt)=>ne.set(lt,It.setHeaders[lt]),Vi)),It.setParams&&(Kt=Object.keys(It.setParams).reduce((ne,lt)=>ne.set(lt,It.setParams[lt]),Kt)),new f(Ut,ai,bi,{params:Kt,headers:Vi,context:vi,reportProgress:Bi,responseType:_i,withCredentials:Oi})}}var h=function(Dt){return Dt[Dt.Sent=0]="Sent",Dt[Dt.UploadProgress=1]="UploadProgress",Dt[Dt.ResponseHeader=2]="ResponseHeader",Dt[Dt.DownloadProgress=3]="DownloadProgress",Dt[Dt.Response=4]="Response",Dt[Dt.User=5]="User",Dt}(h||{});class w{constructor(It,Ut=200,ai="OK"){this.headers=It.headers||new V,this.status=void 0!==It.status?It.status:Ut,this.statusText=It.statusText||ai,this.url=It.url||null,this.ok=this.status>=200&&this.status<300}}class D extends w{constructor(It={}){super(It),this.type=h.ResponseHeader}clone(It={}){return new D({headers:It.headers||this.headers,status:void 0!==It.status?It.status:this.status,statusText:It.statusText||this.statusText,url:It.url||this.url||void 0})}}class O extends w{constructor(It={}){super(It),this.type=h.Response,this.body=void 0!==It.body?It.body:null}clone(It={}){return new O({body:void 0!==It.body?It.body:this.body,headers:It.headers||this.headers,status:void 0!==It.status?It.status:this.status,statusText:It.statusText||this.statusText,url:It.url||this.url||void 0})}}class v extends w{constructor(It){super(It,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${It.url||"(unknown url)"}`:`Http failure response for ${It.url||"(unknown url)"}: ${It.status} ${It.statusText}`,this.error=It.error||null}}function r(Dt,It){return{body:It,headers:Dt.headers,context:Dt.context,observe:Dt.observe,params:Dt.params,reportProgress:Dt.reportProgress,responseType:Dt.responseType,withCredentials:Dt.withCredentials,transferCache:Dt.transferCache}}let g=(()=>{class Dt{constructor(Ut){this.handler=Ut}request(Ut,ai,_i={}){let bi;if(Ut instanceof f)bi=Ut;else{let Vi,Kt;Vi=_i.headers instanceof V?_i.headers:new V(_i.headers),_i.params&&(Kt=_i.params instanceof fe?_i.params:new fe({fromObject:_i.params})),bi=new f(Ut,ai,void 0!==_i.body?_i.body:null,{headers:Vi,context:_i.context,params:Kt,reportProgress:_i.reportProgress,responseType:_i.responseType||"json",withCredentials:_i.withCredentials,transferCache:_i.transferCache})}const Oi=(0,y.of)(bi).pipe((0,x.b)(Vi=>this.handler.handle(Vi)));if(Ut instanceof f||"events"===_i.observe)return Oi;const Bi=Oi.pipe((0,m.h)(Vi=>Vi instanceof O));switch(_i.observe||"body"){case"body":switch(bi.responseType){case"arraybuffer":return Bi.pipe((0,P.U)(Vi=>{if(null!==Vi.body&&!(Vi.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Vi.body}));case"blob":return Bi.pipe((0,P.U)(Vi=>{if(null!==Vi.body&&!(Vi.body instanceof Blob))throw new Error("Response is not a Blob.");return Vi.body}));case"text":return Bi.pipe((0,P.U)(Vi=>{if(null!==Vi.body&&"string"!=typeof Vi.body)throw new Error("Response is not a string.");return Vi.body}));default:return Bi.pipe((0,P.U)(Vi=>Vi.body))}case"response":return Bi;default:throw new Error(`Unreachable: unhandled observe type ${_i.observe}}`)}}delete(Ut,ai={}){return this.request("DELETE",Ut,ai)}get(Ut,ai={}){return this.request("GET",Ut,ai)}head(Ut,ai={}){return this.request("HEAD",Ut,ai)}jsonp(Ut,ai){return this.request("JSONP",Ut,{params:(new fe).append(ai,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Ut,ai={}){return this.request("OPTIONS",Ut,ai)}patch(Ut,ai,_i={}){return this.request("PATCH",Ut,r(_i,ai))}post(Ut,ai,_i={}){return this.request("POST",Ut,r(_i,ai))}put(Ut,ai,_i={}){return this.request("PUT",Ut,r(_i,ai))}static#e=this.\u0275fac=function(ai){return new(ai||Dt)(t.LFG(I))};static#t=this.\u0275prov=t.Yz7({token:Dt,factory:Dt.\u0275fac})}return Dt})();function ye(Dt,It){return It(Dt)}function me(Dt,It){return(Ut,ai)=>It.intercept(Ut,{handle:_i=>Dt(_i,ai)})}const xe=new t.OlP(""),de=new t.OlP(""),ge=new t.OlP(""),qe=new t.OlP("");function oe(){let Dt=null;return(It,Ut)=>{null===Dt&&(Dt=((0,t.f3M)(xe,{optional:!0})??[]).reduceRight(me,ye));const ai=(0,t.f3M)(t.HDt),_i=ai.add();return Dt(It,Ut).pipe((0,d.x)(()=>ai.remove(_i)))}}let Ge=(()=>{class Dt extends I{constructor(Ut,ai){super(),this.backend=Ut,this.injector=ai,this.chain=null,this.pendingTasks=(0,t.f3M)(t.HDt);const _i=(0,t.f3M)(qe,{optional:!0});this.backend=_i??Ut}handle(Ut){if(null===this.chain){const _i=Array.from(new Set([...this.injector.get(de),...this.injector.get(ge,[])]));this.chain=_i.reduceRight((bi,Oi)=>function he(Dt,It,Ut){return(ai,_i)=>Ut.runInContext(()=>It(ai,bi=>Dt(bi,_i)))}(bi,Oi,this.injector),ye)}const ai=this.pendingTasks.add();return this.chain(Ut,_i=>this.backend.handle(_i)).pipe((0,d.x)(()=>this.pendingTasks.remove(ai)))}static#e=this.\u0275fac=function(ai){return new(ai||Dt)(t.LFG(k),t.LFG(t.lqb))};static#t=this.\u0275prov=t.Yz7({token:Dt,factory:Dt.\u0275fac})}return Dt})();const Et=/^\)\]\}',?\n/;let te=(()=>{class Dt{constructor(Ut){this.xhrFactory=Ut}handle(Ut){if("JSONP"===Ut.method)throw new t.vHH(-2800,!1);const ai=this.xhrFactory;return(ai.\u0275loadImpl?(0,l.D)(ai.\u0275loadImpl()):(0,y.of)(null)).pipe((0,E.w)(()=>new A.y(bi=>{const Oi=ai.build();if(Oi.open(Ut.method,Ut.urlWithParams),Ut.withCredentials&&(Oi.withCredentials=!0),Ut.headers.forEach((Ht,Ii)=>Oi.setRequestHeader(Ht,Ii.join(","))),Ut.headers.has("Accept")||Oi.setRequestHeader("Accept","application/json, text/plain, */*"),!Ut.headers.has("Content-Type")){const Ht=Ut.detectContentTypeHeader();null!==Ht&&Oi.setRequestHeader("Content-Type",Ht)}if(Ut.responseType){const Ht=Ut.responseType.toLowerCase();Oi.responseType="json"!==Ht?Ht:"text"}const Bi=Ut.serializeBody();let Vi=null;const Kt=()=>{if(null!==Vi)return Vi;const Ht=Oi.statusText||"OK",Ii=new V(Oi.getAllResponseHeaders()),gn=function ct(Dt){return"responseURL"in Dt&&Dt.responseURL?Dt.responseURL:/^X-Request-URL:/m.test(Dt.getAllResponseHeaders())?Dt.getResponseHeader("X-Request-URL"):null}(Oi)||Ut.url;return Vi=new D({headers:Ii,status:Oi.status,statusText:Ht,url:gn}),Vi},vi=()=>{let{headers:Ht,status:Ii,statusText:gn,url:qn}=Kt(),hn=null;204!==Ii&&(hn=typeof Oi.response>"u"?Oi.responseText:Oi.response),0===Ii&&(Ii=hn?200:0);let pr=Ii>=200&&Ii<300;if("json"===Ut.responseType&&"string"==typeof hn){const ia=hn;hn=hn.replace(Et,"");try{hn=""!==hn?JSON.parse(hn):null}catch(Dr){hn=ia,pr&&(pr=!1,hn={error:Dr,text:hn})}}pr?(bi.next(new O({body:hn,headers:Ht,status:Ii,statusText:gn,url:qn||void 0})),bi.complete()):bi.error(new v({error:hn,headers:Ht,status:Ii,statusText:gn,url:qn||void 0}))},ne=Ht=>{const{url:Ii}=Kt(),gn=new v({error:Ht,status:Oi.status||0,statusText:Oi.statusText||"Unknown Error",url:Ii||void 0});bi.error(gn)};let lt=!1;const Oe=Ht=>{lt||(bi.next(Kt()),lt=!0);let Ii={type:h.DownloadProgress,loaded:Ht.loaded};Ht.lengthComputable&&(Ii.total=Ht.total),"text"===Ut.responseType&&Oi.responseText&&(Ii.partialText=Oi.responseText),bi.next(Ii)},Ct=Ht=>{let Ii={type:h.UploadProgress,loaded:Ht.loaded};Ht.lengthComputable&&(Ii.total=Ht.total),bi.next(Ii)};return Oi.addEventListener("load",vi),Oi.addEventListener("error",ne),Oi.addEventListener("timeout",ne),Oi.addEventListener("abort",ne),Ut.reportProgress&&(Oi.addEventListener("progress",Oe),null!==Bi&&Oi.upload&&Oi.upload.addEventListener("progress",Ct)),Oi.send(Bi),bi.next({type:h.Sent}),()=>{Oi.removeEventListener("error",ne),Oi.removeEventListener("abort",ne),Oi.removeEventListener("load",vi),Oi.removeEventListener("timeout",ne),Ut.reportProgress&&(Oi.removeEventListener("progress",Oe),null!==Bi&&Oi.upload&&Oi.upload.removeEventListener("progress",Ct)),Oi.readyState!==Oi.DONE&&Oi.abort()}})))}static#e=this.\u0275fac=function(ai){return new(ai||Dt)(t.LFG(M.JF))};static#t=this.\u0275prov=t.Yz7({token:Dt,factory:Dt.\u0275fac})}return Dt})();const Pe=new t.OlP("XSRF_ENABLED"),Ze=new t.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),zt=new t.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class xt{}let Ot=(()=>{class Dt{constructor(Ut,ai,_i){this.doc=Ut,this.platform=ai,this.cookieName=_i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const Ut=this.doc.cookie||"";return Ut!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,M.Mx)(Ut,this.cookieName),this.lastCookieString=Ut),this.lastToken}static#e=this.\u0275fac=function(ai){return new(ai||Dt)(t.LFG(M.K0),t.LFG(t.Lbi),t.LFG(Ze))};static#t=this.\u0275prov=t.Yz7({token:Dt,factory:Dt.\u0275fac})}return Dt})();function yt(Dt,It){const Ut=Dt.url.toLowerCase();if(!(0,t.f3M)(Pe)||"GET"===Dt.method||"HEAD"===Dt.method||Ut.startsWith("http://")||Ut.startsWith("https://"))return It(Dt);const ai=(0,t.f3M)(xt).getToken(),_i=(0,t.f3M)(zt);return null!=ai&&!Dt.headers.has(_i)&&(Dt=Dt.clone({headers:Dt.headers.set(_i,ai)})),It(Dt)}var Ee=function(Dt){return Dt[Dt.Interceptors=0]="Interceptors",Dt[Dt.LegacyInterceptors=1]="LegacyInterceptors",Dt[Dt.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Dt[Dt.NoXsrfProtection=3]="NoXsrfProtection",Dt[Dt.JsonpSupport=4]="JsonpSupport",Dt[Dt.RequestsMadeViaParent=5]="RequestsMadeViaParent",Dt[Dt.Fetch=6]="Fetch",Dt}(Ee||{});function Ue(...Dt){const It=[g,te,Ge,{provide:I,useExisting:Ge},{provide:k,useExisting:te},{provide:de,useValue:yt,multi:!0},{provide:Pe,useValue:!0},{provide:xt,useClass:Ot}];for(const Ut of Dt)It.push(...Ut.\u0275providers);return(0,t.MR2)(It)}const gt=new t.OlP("LEGACY_INTERCEPTOR_FN");function Le(){return function tt(Dt,It){return{\u0275kind:Dt,\u0275providers:It}}(Ee.LegacyInterceptors,[{provide:gt,useFactory:oe},{provide:de,useExisting:gt,multi:!0}])}let Zt=(()=>{class Dt{static#e=this.\u0275fac=function(ai){return new(ai||Dt)};static#t=this.\u0275mod=t.oAB({type:Dt});static#i=this.\u0275inj=t.cJS({providers:[Ue(Le())]})}return Dt})()},9212:(ze,q,p)=>{"use strict";function e(i,a){return Object.is(i,a)}p.d(q,{QbO:()=>u0,tb:()=>wg,AFp:()=>d0,ip1:()=>gg,hGG:()=>q7,z2F:()=>Dh,Ojb:()=>f0,sBO:()=>ih,Sil:()=>Ey,_Vd:()=>q0,EJc:()=>xy,ktI:()=>xa,Xts:()=>nc,SBq:()=>l2,lqb:()=>fs,qLn:()=>n1,vpe:()=>zs,tBr:()=>Ld,XFs:()=>vi,OlP:()=>hn,zs3:()=>ms,ZZ4:()=>C3,aQg:()=>Ru,soG:()=>nm,YKP:()=>R_,h0i:()=>A2,R0b:()=>fo,FiY:()=>M1,Lbi:()=>zd,g9A:()=>h0,n_E:()=>Ef,Qsj:()=>Vm,FYo:()=>v3,JOm:()=>F1,q3G:()=>$1,tp0:()=>S1,Rgc:()=>D2,dDg:()=>Qy,eoX:()=>H7,GfV:()=>Um,s_b:()=>g4,ifc:()=>Or,T8G:()=>q3,gHi:()=>O1,dUe:()=>rh,VuI:()=>_v,Flj:()=>Gm,MMx:()=>q6,Lck:()=>Y4,eFA:()=>F7,Gpc:()=>$e,f3M:()=>Kn,X6Q:()=>cx,$WT:()=>rr,MR2:()=>A1,Cb_:()=>vv,_c5:()=>mx,qFp:()=>Nx,r_H:()=>qh,tdS:()=>Pu,rg0:()=>$g,c2e:()=>E7,zSh:()=>D1,HDt:()=>D7,wAp:()=>xh,vHH:()=>te,lri:()=>N7,rWj:()=>yg,JZr:()=>ct,EiD:()=>wm,mCW:()=>hr,qzn:()=>Oa,JVY:()=>qs,pB0:()=>kc,eBb:()=>G0,L6k:()=>Xs,LAX:()=>Ic,cg1:()=>I4,kuF:()=>Pe,kL8:()=>O5,dqk:()=>Ii,Z0I:()=>Ut,eJc:()=>ac,QGY:()=>k6,F4k:()=>O6,RDi:()=>eu,AaK:()=>kt,z3N:()=>eo,qOj:()=>e4,Xq5:()=>Gp,TTD:()=>Ji,_Bn:()=>j6,jDz:()=>H_,xp6:()=>lp,uIk:()=>cf,Tol:()=>oa,Gre:()=>xr,ekj:()=>Br,um2:()=>i5,Suo:()=>a7,Xpm:()=>Wr,lG2:()=>Ti,Yz7:()=>St,cJS:()=>Dt,oAB:()=>Ao,Yjl:()=>Mt,Y36:()=>id,_UZ:()=>y6,GkF:()=>x6,BQk:()=>D4,ynx:()=>bf,qZA:()=>A4,TgZ:()=>vf,EpF:()=>k5,n5z:()=>zh,Ikx:()=>C6,LFG:()=>gr,$8M:()=>Dl,$Z:()=>D3,NdJ:()=>P6,CRH:()=>o7,kcU:()=>p1,O4$:()=>R2,oxw:()=>s_,ALo:()=>X_,lcZ:()=>ng,xi3:()=>J_,Dn7:()=>$_,Hsn:()=>l_,F$t:()=>c_,Q6J:()=>Yn,s9C:()=>R6,MGl:()=>U4,hYB:()=>G4,DdM:()=>W_,VKq:()=>Y_,WLB:()=>Q4,kEZ:()=>j_,iGM:()=>n7,MAs:()=>m_,wJu:()=>s5,SjG:()=>a5,x6l:()=>n5,KtG:()=>gc,Jf7:()=>p0,CHM:()=>yl,oJD:()=>Mm,P3R:()=>d3,Udp:()=>wn,WFA:()=>V4,d8E:()=>L4,YNc:()=>fh,W1O:()=>c7,_uU:()=>E_,Oqu:()=>Mh,hij:()=>Z4,AsE:()=>B6,lnq:()=>U6,HOy:()=>G6,Gf:()=>r7});let t=null,y=!1,A=1;const l=Symbol("SIGNAL");function x(i){const a=t;return t=i,a}const E={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function M(i){if(y)throw new Error("");if(null===t)return;t.consumerOnSignalRead(i);const a=t.nextProducerIndex++;Me(t),a<t.producerNode.length&&t.producerNode[a]!==i&&se(t)&&fe(t.producerNode[a],t.producerIndexOfThis[a]),t.producerNode[a]!==i&&(t.producerNode[a]=i,t.producerIndexOfThis[a]=se(t)?ae(i,t,a):0),t.producerLastReadVersion[a]=i.version}function k(i){if((!se(i)||i.dirty)&&(i.dirty||i.lastCleanEpoch!==A)){if(!i.producerMustRecompute(i)&&!X(i))return i.dirty=!1,void(i.lastCleanEpoch=A);i.producerRecomputeValue(i),i.dirty=!1,i.lastCleanEpoch=A}}function V(i){if(void 0===i.liveConsumerNode)return;const a=y;y=!0;try{for(const c of i.liveConsumerNode)c.dirty||W(c)}finally{y=a}}function B(){return!1!==t?.consumerAllowSignalWrites}function W(i){i.dirty=!0,V(i),i.consumerMarkedDirty?.(i)}function j(i){return i&&(i.nextProducerIndex=0),x(i)}function K(i,a){if(x(a),i&&void 0!==i.producerNode&&void 0!==i.producerIndexOfThis&&void 0!==i.producerLastReadVersion){if(se(i))for(let c=i.nextProducerIndex;c<i.producerNode.length;c++)fe(i.producerNode[c],i.producerIndexOfThis[c]);for(;i.producerNode.length>i.nextProducerIndex;)i.producerNode.pop(),i.producerLastReadVersion.pop(),i.producerIndexOfThis.pop()}}function X(i){Me(i);for(let a=0;a<i.producerNode.length;a++){const c=i.producerNode[a],_=i.producerLastReadVersion[a];if(_!==c.version||(k(c),_!==c.version))return!0}return!1}function ae(i,a,c){if($(i),Me(i),0===i.liveConsumerNode.length)for(let _=0;_<i.producerNode.length;_++)i.producerIndexOfThis[_]=ae(i.producerNode[_],i,_);return i.liveConsumerIndexOfThis.push(c),i.liveConsumerNode.push(a)-1}function fe(i,a){if($(i),Me(i),1===i.liveConsumerNode.length)for(let _=0;_<i.producerNode.length;_++)fe(i.producerNode[_],i.producerIndexOfThis[_]);const c=i.liveConsumerNode.length-1;if(i.liveConsumerNode[a]=i.liveConsumerNode[c],i.liveConsumerIndexOfThis[a]=i.liveConsumerIndexOfThis[c],i.liveConsumerNode.length--,i.liveConsumerIndexOfThis.length--,a<i.liveConsumerNode.length){const _=i.liveConsumerIndexOfThis[a],T=i.liveConsumerNode[a];Me(T),T.producerIndexOfThis[_]=a}}function se(i){return i.consumerIsAlwaysLive||(i?.liveConsumerNode?.length??0)>0}function Me(i){i.producerNode??=[],i.producerIndexOfThis??=[],i.producerLastReadVersion??=[]}function $(i){i.liveConsumerNode??=[],i.liveConsumerIndexOfThis??=[]}const S=Symbol("UNSET"),n=Symbol("COMPUTING"),s=Symbol("ERRORED"),f=(()=>({...E,value:S,dirty:!0,error:null,equal:e,producerMustRecompute:i=>i.value===S||i.value===n,producerRecomputeValue(i){if(i.value===n)throw new Error("Detected cycle in computations.");const a=i.value;i.value=n;const c=j(i);let _;try{_=i.computation()}catch(T){_=s,i.error=T}finally{K(i,c)}a!==S&&a!==s&&_!==s&&i.equal(a,_)?i.value=a:(i.value=_,i.version++)}}))();let w=function h(){throw new Error};function D(){w()}let v=null;function N(i,a){B()||D();const c=i.value;Object.is(c,a)||i.equal(c,a)||(i.value=a,function je(i){i.version++,function I(){A++}(),V(i),v?.()}(i))}const ot=(()=>({...E,equal:e,value:void 0}))();var xe=p(8645),de=p(7394),ge=p(5592),qe=p(3019),oe=p(5619),ve=p(2096),le=p(3020),Ge=p(4664),We=p(3997);function wt(i){for(let a in i)if(i[a]===wt)return a;throw Error("Could not find renamed property on target object.")}function mt(i,a){for(const c in a)a.hasOwnProperty(c)&&!i.hasOwnProperty(c)&&(i[c]=a[c])}function kt(i){if("string"==typeof i)return i;if(Array.isArray(i))return"["+i.map(kt).join(", ")+"]";if(null==i)return""+i;if(i.overriddenName)return`${i.overriddenName}`;if(i.name)return`${i.name}`;const a=i.toString();if(null==a)return""+a;const c=a.indexOf("\n");return-1===c?a:a.substring(0,c)}function Ae(i,a){return null==i||""===i?null===a?"":a:null==a||""===a?i:i+" "+a}const it=wt({__forward_ref__:wt});function $e(i){return i.__forward_ref__=$e,i.toString=function(){return kt(this())},i}function ke(i){return st(i)?i():i}function st(i){return"function"==typeof i&&i.hasOwnProperty(it)&&i.__forward_ref__===$e}function Ke(i){return i&&!!i.\u0275providers}const ct="https://g.co/ng/security#xss";class te extends Error{constructor(a,c){super(Pe(a,c)),this.code=a}}function Pe(i,a){return`NG0${Math.abs(i)}${a?": "+a:""}`}const $t=wt({\u0275cmp:wt}),Ze=wt({\u0275dir:wt}),Qe=wt({\u0275pipe:wt}),zt=wt({\u0275mod:wt}),xt=wt({\u0275fac:wt}),Ot=wt({__NG_ELEMENT_ID__:wt}),yt=wt({__NG_ENV_ID__:wt});function nt(i){return"string"==typeof i?i:null==i?"":String(i)}function be(i,a){throw new te(-201,!1)}function Qi(i,a){null==i&&function xi(i,a,c,_){throw new Error(`ASSERTION ERROR: ${i}`+(null==_?"":` [Expected=> ${c} ${_} ${a} <=Actual]`))}(a,i,null,"!=")}function St(i){return{token:i.token,providedIn:i.providedIn||null,factory:i.factory,value:void 0}}function Dt(i){return{providers:i.providers||[],imports:i.imports||[]}}function It(i){return ai(i,Oi)||ai(i,Vi)}function Ut(i){return null!==It(i)}function ai(i,a){return i.hasOwnProperty(a)?i[a]:null}function bi(i){return i&&(i.hasOwnProperty(Bi)||i.hasOwnProperty(Kt))?i[Bi]:null}const Oi=wt({\u0275prov:wt}),Bi=wt({\u0275inj:wt}),Vi=wt({ngInjectableDef:wt}),Kt=wt({ngInjectorDef:wt});var vi=function(i){return i[i.Default=0]="Default",i[i.Host=1]="Host",i[i.Self=2]="Self",i[i.SkipSelf=4]="SkipSelf",i[i.Optional=8]="Optional",i}(vi||{});let ne;function lt(){return ne}function Oe(i){const a=ne;return ne=i,a}function Ct(i,a,c){const _=It(i);return _&&"root"==_.providedIn?void 0===_.value?_.value=_.factory():_.value:c&vi.Optional?null:void 0!==a?a:void be(kt(i))}const Ii=globalThis;class hn{constructor(a,c){this._desc=a,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof c?this.__NG_ELEMENT_ID__=c:void 0!==c&&(this.\u0275prov=St({token:this,providedIn:c.providedIn||"root",factory:c.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const $i={},xn="__NG_DI_FLAG__",jn="ngTempTokenPath",Er=/\n/gm,Cr="__source";let sa;function ca(i){const a=sa;return sa=i,a}function Ua(i,a=vi.Default){if(void 0===sa)throw new te(-203,!1);return null===sa?Ct(i,void 0,a):sa.get(i,a&vi.Optional?null:void 0,a)}function gr(i,a=vi.Default){return(lt()||Ua)(ke(i),a)}function Kn(i,a=vi.Default){return gr(i,_a(a))}function _a(i){return typeof i>"u"||"number"==typeof i?i:0|(i.optional&&8)|(i.host&&1)|(i.self&&2)|(i.skipSelf&&4)}function Ga(i){const a=[];for(let c=0;c<i.length;c++){const _=ke(i[c]);if(Array.isArray(_)){if(0===_.length)throw new te(900,!1);let T,F=vi.Default;for(let Q=0;Q<_.length;Q++){const ce=_[Q],we=Ir(ce);"number"==typeof we?-1===we?T=ce.token:F|=we:T=ce}a.push(gr(T,F))}else a.push(gr(_))}return a}function va(i,a){return i[xn]=a,i.prototype[xn]=a,i}function Ir(i){return i[xn]}function qr(i){return{toString:i}.toString()}var Ma=function(i){return i[i.OnPush=0]="OnPush",i[i.Default=1]="Default",i}(Ma||{}),Or=function(i){return i[i.Emulated=0]="Emulated",i[i.None=2]="None",i[i.ShadowDom=3]="ShadowDom",i}(Or||{});const fr={},Gn=[];function Sa(i,a,c){let _=i.length;for(;;){const T=i.indexOf(a,c);if(-1===T)return T;if(0===T||i.charCodeAt(T-1)<=32){const F=a.length;if(T+F===_||i.charCodeAt(T+F)<=32)return T}c=T+1}}function io(i,a,c){let _=0;for(;_<c.length;){const T=c[_];if("number"==typeof T){if(0!==T)break;_++;const F=c[_++],Q=c[_++],ce=c[_++];i.setAttribute(a,Q,ce,F)}else{const F=T,Q=c[++_];qo(F)?i.setProperty(a,F,Q):i.setAttribute(a,F,Q),_++}}return _}function Tr(i){return 3===i||4===i||6===i}function qo(i){return 64===i.charCodeAt(0)}function na(i,a){if(null!==a&&0!==a.length)if(null===i||0===i.length)i=a.slice();else{let c=-1;for(let _=0;_<a.length;_++){const T=a[_];"number"==typeof T?c=T:0===c||Na(i,c,T,null,-1===c||2===c?a[++_]:null)}}return i}function Na(i,a,c,_,T){let F=0,Q=i.length;if(-1===a)Q=-1;else for(;F<i.length;){const ce=i[F++];if("number"==typeof ce){if(ce===a){Q=-1;break}if(ce>a){Q=F-1;break}}}for(;F<i.length;){const ce=i[F];if("number"==typeof ce)break;if(ce===c){if(null===_)return void(null!==T&&(i[F+1]=T));if(_===i[F+1])return void(i[F+2]=T)}F++,null!==_&&F++,null!==T&&F++}-1!==Q&&(i.splice(Q,0,a),F=Q+1),i.splice(F++,0,c),null!==_&&i.splice(F++,0,_),null!==T&&i.splice(F++,0,T)}const Ha="ng-template";function go(i,a,c){let _=0,T=!0;for(;_<i.length;){let F=i[_++];if("string"==typeof F&&T){const Q=i[_++];if(c&&"class"===F&&-1!==Sa(Q.toLowerCase(),a,0))return!0}else{if(1===F){for(;_<i.length&&"string"==typeof(F=i[_++]);)if(F.toLowerCase()===a)return!0;return!1}"number"==typeof F&&(T=!1)}}return!1}function no(i){return 4===i.type&&i.value!==Ha}function Eo(i,a,c){return a===(4!==i.type||c?i.value:Ha)}function _o(i,a,c){let _=4;const T=i.attrs||[],F=function Za(i){for(let a=0;a<i.length;a++)if(Tr(i[a]))return a;return i.length}(T);let Q=!1;for(let ce=0;ce<a.length;ce++){const we=a[ce];if("number"!=typeof we){if(!Q)if(4&_){if(_=2|1&_,""!==we&&!Eo(i,we,c)||""===we&&1===a.length){if(Xr(_))return!1;Q=!0}}else{const rt=8&_?we:a[++ce];if(8&_&&null!==i.attrs){if(!go(i.attrs,rt,c)){if(Xr(_))return!1;Q=!0}continue}const Bt=da(8&_?"class":we,T,no(i),c);if(-1===Bt){if(Xr(_))return!1;Q=!0;continue}if(""!==rt){let ri;ri=Bt>F?"":T[Bt+1].toLowerCase();const ui=8&_?ri:null;if(ui&&-1!==Sa(ui,rt,0)||2&_&&rt!==ri){if(Xr(_))return!1;Q=!0}}}}else{if(!Q&&!Xr(_)&&!Xr(we))return!1;if(Q&&Xr(we))continue;Q=!1,_=we|1&_}}return Xr(_)||Q}function Xr(i){return 0==(1&i)}function da(i,a,c,_){if(null===a)return-1;let T=0;if(_||!c){let F=!1;for(;T<a.length;){const Q=a[T];if(Q===i)return T;if(3===Q||6===Q)F=!0;else{if(1===Q||2===Q){let ce=a[++T];for(;"string"==typeof ce;)ce=a[++T];continue}if(4===Q)break;if(0===Q){T+=4;continue}}T+=F?1:2}return-1}return function Jr(i,a){let c=i.indexOf(4);if(c>-1)for(c++;c<i.length;){const _=i[c];if("number"==typeof _)return-1;if(_===a)return c;c++}return-1}(a,i)}function ba(i,a,c=!1){for(let _=0;_<a.length;_++)if(_o(i,a[_],c))return!0;return!1}function vs(i,a){e:for(let c=0;c<a.length;c++){const _=a[c];if(i.length===_.length){for(let T=0;T<i.length;T++)if(i[T]!==_[T])continue e;return!0}}return!1}function ro(i,a){return i?":not("+a.trim()+")":a}function To(i){let a=i[0],c=1,_=2,T="",F=!1;for(;c<i.length;){let Q=i[c];if("string"==typeof Q)if(2&_){const ce=i[++c];T+="["+Q+(ce.length>0?'="'+ce+'"':"")+"]"}else 8&_?T+="."+Q:4&_&&(T+=" "+Q);else""!==T&&!Xr(Q)&&(a+=ro(F,T),T=""),_=Q,F=F||!Xr(_);c++}return""!==T&&(a+=ro(F,T)),a}function Wr(i){return qr(()=>{const a=Yr(i),c={...a,decls:i.decls,vars:i.vars,template:i.template,consts:i.consts||null,ngContentSelectors:i.ngContentSelectors,onPush:i.changeDetection===Ma.OnPush,directiveDefs:null,pipeDefs:null,dependencies:a.standalone&&i.dependencies||null,getStandaloneInjector:null,signals:i.signals??!1,data:i.data||{},encapsulation:i.encapsulation||Or.Emulated,styles:i.styles||Gn,_:null,schemas:i.schemas||null,tView:null,id:""};on(c);const _=i.dependencies;return c.directiveDefs=Wa(_,!1),c.pipeDefs=Wa(_,!0),c.id=function bt(i){let a=0;const c=[i.selectors,i.ngContentSelectors,i.hostVars,i.hostAttrs,i.consts,i.vars,i.decls,i.encapsulation,i.standalone,i.signals,i.exportAs,JSON.stringify(i.inputs),JSON.stringify(i.outputs),Object.getOwnPropertyNames(i.type.prototype),!!i.contentQueries,!!i.viewQuery].join("|");for(const T of c)a=Math.imul(31,a)+T.charCodeAt(0)<<0;return a+=2147483648,"c"+a}(c),c})}function Fo(i){return ii(i)||Si(i)}function vo(i){return null!==i}function Ao(i){return qr(()=>({type:i.type,bootstrap:i.bootstrap||Gn,declarations:i.declarations||Gn,imports:i.imports||Gn,exports:i.exports||Gn,transitiveCompileScopes:null,schemas:i.schemas||null,id:i.id||null}))}function Vt(i,a){if(null==i)return fr;const c={};for(const _ in i)if(i.hasOwnProperty(_)){let T=i[_],F=T;Array.isArray(T)&&(F=T[1],T=T[0]),c[T]=_,a&&(a[T]=F)}return c}function Ti(i){return qr(()=>{const a=Yr(i);return on(a),a})}function Mt(i){return{type:i.type,name:i.name,factory:null,pure:!1!==i.pure,standalone:!0===i.standalone,onDestroy:i.type.prototype.ngOnDestroy||null}}function ii(i){return i[$t]||null}function Si(i){return i[Ze]||null}function Zi(i){return i[Qe]||null}function rr(i){const a=ii(i)||Si(i)||Zi(i);return null!==a&&a.standalone}function cr(i,a){const c=i[zt]||null;if(!c&&!0===a)throw new Error(`Type ${kt(i)} does not have '\u0275mod' property.`);return c}function Yr(i){const a={};return{type:i.type,providersResolver:null,factory:null,hostBindings:i.hostBindings||null,hostVars:i.hostVars||0,hostAttrs:i.hostAttrs||null,contentQueries:i.contentQueries||null,declaredInputs:a,inputTransforms:null,inputConfig:i.inputs||fr,exportAs:i.exportAs||null,standalone:!0===i.standalone,signals:!0===i.signals,selectors:i.selectors||Gn,viewQuery:i.viewQuery||null,features:i.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Vt(i.inputs,a),outputs:Vt(i.outputs),debugInfo:null}}function on(i){i.features?.forEach(a=>a(i))}function Wa(i,a){if(!i)return null;const c=a?Zi:Fo;return()=>("function"==typeof i?i():i).map(_=>c(_)).filter(vo)}const Ve=0,vt=1,qt=2,Fi=3,Cn=4,Mr=5,Ea=6,bo=7,Vn=8,zi=9,oo=10,Ln=11,Yi=12,Ts=13,yo=14,br=15,Do=16,Ya=17,Ta=18,ha=19,As=20,so=21,zo=22,xo=23,An=25,Xo=1,dr=7,ss=9,Ki=10;var Ds=function(i){return i[i.None=0]="None",i[i.HasTransplantedViews=2]="HasTransplantedViews",i[i.HasChildViewsToRefresh=4]="HasChildViewsToRefresh",i}(Ds||{});function ua(i){return Array.isArray(i)&&"object"==typeof i[Xo]}function Pr(i){return Array.isArray(i)&&!0===i[Xo]}function Ls(i){return 0!=(4&i.flags)}function Vo(i){return i.componentOffset>-1}function Us(i){return 1==(1&i.flags)}function co(i){return!!i.template}function Jn(i){return 0!=(512&i[qt])}function Di(i,a){return i.hasOwnProperty(xt)?i[xt]:null}class tn{constructor(a,c,_){this.previousValue=a,this.currentValue=c,this.firstChange=_}isFirstChange(){return this.firstChange}}function Ji(){return fn}function fn(i){return i.type.prototype.ngOnChanges&&(i.setInput=Fn),Tn}function Tn(){const i=zr(this),a=i?.current;if(a){const c=i.previous;if(c===fr)i.previous=a;else for(let _ in a)c[_]=a[_];i.current=null,this.ngOnChanges(a)}}function Fn(i,a,c,_){const T=this.declaredInputs[c],F=zr(i)||function fa(i,a){return i[Ar]=a}(i,{previous:fr,current:null}),Q=F.current||(F.current={}),ce=F.previous,we=ce[T];Q[T]=new tn(we&&we.currentValue,a,ce===fr),i[_]=a}Ji.ngInherit=!0;const Ar="__ngSimpleChanges__";function zr(i){return i[Ar]||null}const Rr=function(i,a,c){},Lo="svg";function Bn(i){for(;Array.isArray(i);)i=i[Ve];return i}function bs(i,a){return Bn(a[i])}function Sr(i,a){return Bn(a[i.index])}function pc(i,a){return i.data[a]}function ks(i,a){return i[a]}function Bo(i,a){const c=a[i];return ua(c)?c:c[Ve]}function gl(i){return 128==(128&i[qt])}function $o(i,a){return null==a?null:i[a]}function Yt(i){i[Ya]=0}function Os(i){1024&i[qt]||(i[qt]|=1024,gl(i)&&_l(i))}function u1(i){9216&i[qt]&&_l(i)}function _l(i){let a=i[Fi];for(;null!==a&&!(Pr(a)&&a[qt]&Ds.HasChildViewsToRefresh||ua(a)&&8192&a[qt]);){if(Pr(a))a[qt]|=Ds.HasChildViewsToRefresh;else if(a[qt]|=8192,!gl(a))break;a=a[Fi]}}function Uc(i,a){if(256==(256&i[qt]))throw new te(911,!1);null===i[so]&&(i[so]=[]),i[so].push(a)}const Pn={lFrame:Io(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function m1(){return Pn.bindingsEnabled}function Js(){return null!==Pn.skipHydrationRootTNode}function Ni(){return Pn.lFrame.lView}function or(){return Pn.lFrame.tView}function yl(i){return Pn.lFrame.contextLView=i,i[Vn]}function gc(i){return Pn.lFrame.contextLView=null,i}function _r(){let i=cs();for(;null!==i&&64===i.type;)i=i.parent;return i}function cs(){return Pn.lFrame.currentTNode}function Vr(i,a){const c=Pn.lFrame;c.currentTNode=i,c.isParent=a}function za(){return Pn.lFrame.isParent}function _c(){Pn.lFrame.isParent=!1}function sr(){const i=Pn.lFrame;let a=i.bindingRootIndex;return-1===a&&(a=i.bindingRootIndex=i.tView.bindingStartIndex),a}function Xn(){return Pn.lFrame.bindingIndex}function ea(){return Pn.lFrame.bindingIndex++}function pe(i){const a=Pn.lFrame,c=a.bindingIndex;return a.bindingIndex=a.bindingIndex+i,c}function He(i,a){const c=Pn.lFrame;c.bindingIndex=c.bindingRootIndex=i,Rt(a)}function Rt(i){Pn.lFrame.currentDirectiveIndex=i}function ni(i){const a=Pn.lFrame.currentDirectiveIndex;return-1===a?null:i[a]}function Li(){return Pn.lFrame.currentQueryIndex}function Ai(i){Pn.lFrame.currentQueryIndex=i}function cn(i){const a=i[vt];return 2===a.type?a.declTNode:1===a.type?i[Mr]:null}function Qn(i,a,c){if(c&vi.SkipSelf){let T=a,F=i;for(;!(T=T.parent,null!==T||c&vi.Host||(T=cn(F),null===T||(F=F[yo],10&T.type))););if(null===T)return!1;a=T,i=F}const _=Pn.lFrame=Nr();return _.currentTNode=a,_.lView=i,!0}function $n(i){const a=Nr(),c=i[vt];Pn.lFrame=a,a.currentTNode=c.firstChild,a.lView=i,a.tView=c,a.contextLView=i,a.bindingIndex=c.bindingStartIndex,a.inI18n=!1}function Nr(){const i=Pn.lFrame,a=null===i?null:i.child;return null===a?Io(i):a}function Io(i){const a={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:i,child:null,inI18n:!1};return null!==i&&(i.child=a),a}function Zs(){const i=Pn.lFrame;return Pn.lFrame=i.parent,i.currentTNode=null,i.lView=null,i}const Co=Zs;function Ps(){const i=Zs();i.isParent=!0,i.tView=null,i.selectedIndex=-1,i.contextLView=null,i.elementDepthCount=0,i.currentDirectiveIndex=-1,i.currentNamespace=null,i.bindingRootIndex=-1,i.bindingIndex=-1,i.currentQueryIndex=0}function lo(){return Pn.lFrame.selectedIndex}function vc(i){Pn.lFrame.selectedIndex=i}function Hr(){const i=Pn.lFrame;return pc(i.tView,i.selectedIndex)}function R2(){Pn.lFrame.currentNamespace=Lo}function p1(){!function Ws(){Pn.lFrame.currentNamespace=null}()}let Rs=!0;function ds(){return Rs}function Ns(i){Rs=i}function Zc(i,a){for(let c=a.directiveStart,_=a.directiveEnd;c<_;c++){const F=i.data[c].type.prototype,{ngAfterContentInit:Q,ngAfterContentChecked:ce,ngAfterViewInit:we,ngAfterViewChecked:rt,ngOnDestroy:Tt}=F;Q&&(i.contentHooks??=[]).push(-c,Q),ce&&((i.contentHooks??=[]).push(c,ce),(i.contentCheckHooks??=[]).push(c,ce)),we&&(i.viewHooks??=[]).push(-c,we),rt&&((i.viewHooks??=[]).push(c,rt),(i.viewCheckHooks??=[]).push(c,rt)),null!=Tt&&(i.destroyHooks??=[]).push(c,Tt)}}function Wc(i,a,c){Ml(i,a,3,c)}function Yc(i,a,c,_){(3&i[qt])===c&&Ml(i,a,c,_)}function La(i,a){let c=i[qt];(3&c)===a&&(c&=16383,c+=1,i[qt]=c)}function Ml(i,a,c,_){const F=_??-1,Q=a.length-1;let ce=0;for(let we=void 0!==_?65535&i[Ya]:0;we<Q;we++)if("number"==typeof a[we+1]){if(ce=a[we],null!=_&&ce>=_)break}else a[we]<0&&(i[Ya]+=65536),(ce<F||-1==F)&&(jc(i,c,a,we),i[Ya]=(4294901760&i[Ya])+we+2),we++}function N2(i,a){Rr(4,i,a);const c=x(null);try{a.call(i)}finally{x(c),Rr(5,i,a)}}function jc(i,a,c,_){const T=c[_]<0,F=c[_+1],ce=i[T?-c[_]:c[_]];T?i[qt]>>14<i[Ya]>>16&&(3&i[qt])===a&&(i[qt]+=16384,N2(ce,F)):N2(ce,F)}const Kc=-1;class bc{constructor(a,c,_){this.factory=a,this.resolving=!1,this.canSeeViewProviders=c,this.injectImpl=_}}function Sl(i){return i!==Kc}function _1(i){return 32767&i}function El(i,a){let c=function zf(i){return i>>16}(i),_=a;for(;c>0;)_=_[yo],c--;return _}let v1=!0;function b1(i){const a=v1;return v1=i,a}const Tl=255,y1=5;let qc=0;const ko={};function Xc(i,a){const c=Ph(i,a);if(-1!==c)return c;const _=a[vt];_.firstCreatePass&&(i.injectorIndex=a.length,Cd(_.data,i),Cd(a,null),Cd(_.blueprint,null));const T=x1(i,a),F=i.injectorIndex;if(Sl(T)){const Q=_1(T),ce=El(T,a),we=ce[vt].data;for(let rt=0;rt<8;rt++)a[F+rt]=ce[Q+rt]|we[Q+rt]}return a[F+8]=T,F}function Cd(i,a){i.push(0,0,0,0,0,0,0,0,a)}function Ph(i,a){return-1===i.injectorIndex||i.parent&&i.parent.injectorIndex===i.injectorIndex||null===a[i.injectorIndex+8]?-1:i.injectorIndex}function x1(i,a){if(i.parent&&-1!==i.parent.injectorIndex)return i.parent.injectorIndex;let c=0,_=null,T=a;for(;null!==T;){if(_=Vh(T),null===_)return Kc;if(c++,T=T[yo],-1!==_.injectorIndex)return _.injectorIndex|c<<16}return Kc}function H2(i,a,c){!function mr(i,a,c){let _;"string"==typeof c?_=c.charCodeAt(0)||0:c.hasOwnProperty(Ot)&&(_=c[Ot]),null==_&&(_=c[Ot]=qc++);const T=_&Tl;a.data[i+(T>>y1)]|=1<<T}(i,a,c)}function F2(i,a,c){if(c&vi.Optional||void 0!==i)return i;be()}function Rh(i,a,c,_){if(c&vi.Optional&&void 0===_&&(_=null),!(c&(vi.Self|vi.Host))){const T=i[zi],F=Oe(void 0);try{return T?T.get(a,_,c&vi.Optional):Ct(a,_,c&vi.Optional)}finally{Oe(F)}}return F2(_,0,c)}function Nh(i,a,c,_=vi.Default,T){if(null!==i){if(2048&a[qt]&&!(_&vi.Self)){const Q=function Bf(i,a,c,_,T){let F=i,Q=a;for(;null!==F&&null!==Q&&2048&Q[qt]&&!(512&Q[qt]);){const ce=ec(F,Q,c,_|vi.Self,ko);if(ce!==ko)return ce;let we=F.parent;if(!we){const rt=Q[As];if(rt){const Tt=rt.get(c,ko,_);if(Tt!==ko)return Tt}we=Vh(Q),Q=Q[yo]}F=we}return T}(i,a,c,_,ko);if(Q!==ko)return Q}const F=ec(i,a,c,_,ko);if(F!==ko)return F}return Rh(a,c,_,T)}function ec(i,a,c,_,T){const F=function Hh(i){if("string"==typeof i)return i.charCodeAt(0)||0;const a=i.hasOwnProperty(Ot)?i[Ot]:void 0;return"number"==typeof a?a>=0?a&Tl:Fh:a}(c);if("function"==typeof F){if(!Qn(a,i,_))return _&vi.Host?F2(T,0,_):Rh(a,c,_,T);try{let Q;if(Q=F(_),null!=Q||_&vi.Optional)return Q;be()}finally{Co()}}else if("number"==typeof F){let Q=null,ce=Ph(i,a),we=Kc,rt=_&vi.Host?a[br][Mr]:null;for((-1===ce||_&vi.SkipSelf)&&(we=-1===ce?x1(i,a):a[ce+8],we!==Kc&&wd(_,!1)?(Q=a[vt],ce=_1(we),a=El(we,a)):ce=-1);-1!==ce;){const Tt=a[vt];if(V2(F,ce,Tt.data)){const Bt=z2(ce,a,c,Q,_,rt);if(Bt!==ko)return Bt}we=a[ce+8],we!==Kc&&wd(_,a[vt].data[ce+8]===rt)&&V2(F,ce,a)?(Q=Tt,ce=_1(we),a=El(we,a)):ce=-1}}return T}function z2(i,a,c,_,T,F){const Q=a[vt],ce=Q.data[i+8],Tt=C1(ce,Q,c,null==_?Vo(ce)&&v1:_!=Q&&0!=(3&ce.type),T&vi.Host&&F===ce);return null!==Tt?tc(a,Q,Tt,ce):ko}function C1(i,a,c,_,T){const F=i.providerIndexes,Q=a.data,ce=1048575&F,we=i.directiveStart,Tt=F>>20,ri=T?ce+Tt:i.directiveEnd;for(let ui=_?ce:ce+Tt;ui<ri;ui++){const Ri=Q[ui];if(ui<we&&c===Ri||ui>=we&&Ri.type===c)return ui}if(T){const ui=Q[we];if(ui&&co(ui)&&ui.type===c)return we}return null}function tc(i,a,c,_){let T=i[c];const F=a.data;if(function Nf(i){return i instanceof bc}(T)){const Q=T;Q.resolving&&function Xe(i,a){const c=a?`. Dependency path: ${a.join(" > ")} > ${i}`:"";throw new te(-200,`Circular dependency in DI detected for ${i}${c}`)}(function Ee(i){return"function"==typeof i?i.name||i.toString():"object"==typeof i&&null!=i&&"function"==typeof i.type?i.type.name||i.type.toString():nt(i)}(F[c]));const ce=b1(Q.canSeeViewProviders);Q.resolving=!0;const rt=Q.injectImpl?Oe(Q.injectImpl):null;Qn(i,_,vi.Default);try{T=i[c]=Q.factory(void 0,F,i,_),a.firstCreatePass&&c>=_.directiveStart&&function wl(i,a,c){const{ngOnChanges:_,ngOnInit:T,ngDoCheck:F}=a.type.prototype;if(_){const Q=fn(a);(c.preOrderHooks??=[]).push(i,Q),(c.preOrderCheckHooks??=[]).push(i,Q)}T&&(c.preOrderHooks??=[]).push(0-i,T),F&&((c.preOrderHooks??=[]).push(i,F),(c.preOrderCheckHooks??=[]).push(i,F))}(c,F[c],a)}finally{null!==rt&&Oe(rt),b1(ce),Q.resolving=!1,Co()}}return T}function V2(i,a,c){return!!(c[a+(i>>y1)]&1<<i)}function wd(i,a){return!(i&vi.Self||i&vi.Host&&a)}class Va{constructor(a,c){this._tNode=a,this._lView=c}get(a,c,_){return Nh(this._tNode,this._lView,a,_a(_),c)}}function Fh(){return new Va(_r(),Ni())}function zh(i){return qr(()=>{const a=i.prototype.constructor,c=a[xt]||B2(a),_=Object.prototype;let T=Object.getPrototypeOf(i.prototype).constructor;for(;T&&T!==_;){const F=T[xt]||B2(T);if(F&&F!==c)return F;T=Object.getPrototypeOf(T)}return F=>new F})}function B2(i){return st(i)?()=>{const a=B2(ke(i));return a&&a()}:Di(i)}function Vh(i){const a=i[vt],c=a.type;return 2===c?a.declTNode:1===c?i[Mr]:null}function Dl(i){return function Vf(i,a){if("class"===a)return i.classes;if("style"===a)return i.styles;const c=i.attrs;if(c){const _=c.length;let T=0;for(;T<_;){const F=c[T];if(Tr(F))break;if(0===F)T+=2;else if("number"==typeof F)for(T++;T<_&&"string"==typeof c[T];)T++;else{if(F===a)return c[T+1];T+=2}}}return null}(_r(),i)}const yc="__parameters__";function Ys(i,a,c){return qr(()=>{const _=function Md(i){return function(...c){if(i){const _=i(...c);for(const T in _)this[T]=_[T]}}}(a);function T(...F){if(this instanceof T)return _.apply(this,F),this;const Q=new T(...F);return ce.annotation=Q,ce;function ce(we,rt,Tt){const Bt=we.hasOwnProperty(yc)?we[yc]:Object.defineProperty(we,yc,{value:[]})[yc];for(;Bt.length<=Tt;)Bt.push(null);return(Bt[Tt]=Bt[Tt]||[]).push(Q),we}}return c&&(T.prototype=Object.create(c.prototype)),T.prototype.ngMetadataName=i,T.annotationCls=T,T})}function hs(i,a){i.forEach(c=>Array.isArray(c)?hs(c,a):a(c))}function Td(i,a,c){a>=i.length?i.push(c):i.splice(a,0,c)}function ic(i,a){return a>=i.length-1?i.pop():i.splice(a,1)[0]}function Ol(i,a){const c=[];for(let _=0;_<i;_++)c.push(a);return c}function us(i,a,c){let _=Rl(i,a);return _>=0?i[1|_]=c:(_=~_,function Ad(i,a,c,_){let T=i.length;if(T==a)i.push(c,_);else if(1===T)i.push(_,i[0]),i[0]=c;else{for(T--,i.push(i[T-1],i[T]);T>a;)i[T]=i[T-2],T--;i[a]=c,i[a+1]=_}}(i,_,a,c)),_}function Z2(i,a){const c=Rl(i,a);if(c>=0)return i[1|c]}function Rl(i,a){return function W2(i,a,c){let _=0,T=i.length>>c;for(;T!==_;){const F=_+(T-_>>1),Q=i[F<<c];if(a===Q)return F<<c;Q>a?T=F:_=F+1}return~(T<<c)}(i,a,1)}const Ld=va(Ys("Inject",i=>({token:i})),-1),M1=va(Ys("Optional"),8),S1=va(Ys("SkipSelf"),4),nc=new hn("ENVIRONMENT_INITIALIZER"),T1=new hn("INJECTOR",-1),Mc=new hn("INJECTOR_DEF_TYPES");class zl{get(a,c=$i){if(c===$i){const _=new Error(`NullInjectorError: No provider for ${kt(a)}!`);throw _.name="NullInjectorError",_}return c}}function A1(i){return{\u0275providers:i}}function ja(...i){return{\u0275providers:Q2(0,i),\u0275fromNgModule:!0}}function Q2(i,...a){const c=[],_=new Set;let T;const F=Q=>{c.push(Q)};return hs(a,Q=>{const ce=Q;vr(ce,F,[],_)&&(T||=[],T.push(ce))}),void 0!==T&&Od(T,F),c}function Od(i,a){for(let c=0;c<i.length;c++){const{ngModule:_,providers:T}=i[c];rc(T,F=>{a(F,_)})}}function vr(i,a,c,_){if(!(i=ke(i)))return!1;let T=null,F=bi(i);const Q=!F&&ii(i);if(F||Q){if(Q&&!Q.standalone)return!1;T=i}else{const we=i.ngModule;if(F=bi(we),!F)return!1;T=we}const ce=_.has(T);if(Q){if(ce)return!1;if(_.add(T),Q.dependencies){const we="function"==typeof Q.dependencies?Q.dependencies():Q.dependencies;for(const rt of we)vr(rt,a,c,_)}}else{if(!F)return!1;{if(null!=F.imports&&!ce){let rt;_.add(T);try{hs(F.imports,Tt=>{vr(Tt,a,c,_)&&(rt||=[],rt.push(Tt))})}finally{}void 0!==rt&&Od(rt,a)}if(!ce){const rt=Di(T)||(()=>new T);a({provide:T,useFactory:rt,deps:Gn},T),a({provide:Mc,useValue:T,multi:!0},T),a({provide:nc,useValue:()=>gr(T),multi:!0},T)}const we=F.providers;if(null!=we&&!ce){const rt=i;rc(we,Tt=>{a(Tt,rt)})}}}return T!==i&&void 0!==i.providers}function rc(i,a){for(let c of i)Ke(c)&&(c=c.\u0275providers),Array.isArray(c)?rc(c,a):a(c)}const Vl=wt({provide:String,useValue:wt});function Pd(i){return null!==i&&"object"==typeof i&&Vl in i}function Sc(i){return"function"==typeof i}const D1=new hn("Set Injector scope."),Bl={},Yh={};let L1;function I1(){return void 0===L1&&(L1=new zl),L1}class fs{}class il extends fs{get destroyed(){return this._destroyed}constructor(a,c,_,T){super(),this.parent=c,this.source=_,this.scopes=T,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,k1(a,Q=>this.processProvider(Q)),this.records.set(T1,nl(void 0,this)),T.has("environment")&&this.records.set(fs,nl(void 0,this));const F=this.records.get(D1);null!=F&&"string"==typeof F.value&&this.scopes.add(F.value),this.injectorDefTypes=new Set(this.get(Mc,Gn,vi.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const c of this._ngOnDestroyHooks)c.ngOnDestroy();const a=this._onDestroyHooks;this._onDestroyHooks=[];for(const c of a)c()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(a){return this.assertNotDestroyed(),this._onDestroyHooks.push(a),()=>this.removeOnDestroy(a)}runInContext(a){this.assertNotDestroyed();const c=ca(this),_=Oe(void 0);try{return a()}finally{ca(c),Oe(_)}}get(a,c=$i,_=vi.Default){if(this.assertNotDestroyed(),a.hasOwnProperty(yt))return a[yt](this);_=_a(_);const F=ca(this),Q=Oe(void 0);try{if(!(_&vi.SkipSelf)){let we=this.records.get(a);if(void 0===we){const rt=function Ec(i){return"function"==typeof i||"object"==typeof i&&i instanceof hn}(a)&&It(a);we=rt&&this.injectableDefInScope(rt)?nl(Ul(a),Bl):null,this.records.set(a,we)}if(null!=we)return this.hydrate(a,we)}return(_&vi.Self?I1():this.parent).get(a,c=_&vi.Optional&&c===$i?null:c)}catch(ce){if("NullInjectorError"===ce.name){if((ce[jn]=ce[jn]||[]).unshift(kt(a)),F)throw ce;return function la(i,a,c,_){const T=i[jn];throw a[Cr]&&T.unshift(a[Cr]),i.message=function So(i,a,c,_=null){i=i&&"\n"===i.charAt(0)&&"\u0275"==i.charAt(1)?i.slice(2):i;let T=kt(a);if(Array.isArray(a))T=a.map(kt).join(" -> ");else if("object"==typeof a){let F=[];for(let Q in a)if(a.hasOwnProperty(Q)){let ce=a[Q];F.push(Q+":"+("string"==typeof ce?JSON.stringify(ce):kt(ce)))}T=`{${F.join(", ")}}`}return`${c}${_?"("+_+")":""}[${T}]: ${i.replace(Er,"\n ")}`}("\n"+i.message,T,c,_),i.ngTokenPath=T,i[jn]=null,i}(ce,a,"R3InjectorError",this.source)}throw ce}finally{Oe(Q),ca(F)}}resolveInjectorInitializers(){const a=ca(this),c=Oe(void 0);try{const T=this.get(nc,Gn,vi.Self);for(const F of T)F()}finally{ca(a),Oe(c)}}toString(){const a=[],c=this.records;for(const _ of c.keys())a.push(kt(_));return`R3Injector[${a.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new te(205,!1)}processProvider(a){let c=Sc(a=ke(a))?a:ke(a&&a.provide);const _=function Kh(i){return Pd(i)?nl(void 0,i.useValue):nl(J2(i),Bl)}(a);if(Sc(a)||!0!==a.multi)this.records.get(c);else{let T=this.records.get(c);T||(T=nl(void 0,Bl,!0),T.factory=()=>Ga(T.multi),this.records.set(c,T)),c=a,T.multi.push(a)}this.records.set(c,_)}hydrate(a,c){return c.value===Bl&&(c.value=Yh,c.value=c.factory()),"object"==typeof c.value&&c.value&&function $2(i){return null!==i&&"object"==typeof i&&"function"==typeof i.ngOnDestroy}(c.value)&&this._ngOnDestroyHooks.add(c.value),c.value}injectableDefInScope(a){if(!a.providedIn)return!1;const c=ke(a.providedIn);return"string"==typeof c?"any"===c||this.scopes.has(c):this.injectorDefTypes.has(c)}removeOnDestroy(a){const c=this._onDestroyHooks.indexOf(a);-1!==c&&this._onDestroyHooks.splice(c,1)}}function Ul(i){const a=It(i),c=null!==a?a.factory:Di(i);if(null!==c)return c;if(i instanceof hn)throw new te(204,!1);if(i instanceof Function)return function jh(i){const a=i.length;if(a>0)throw Ol(a,"?"),new te(204,!1);const c=function _i(i){return i&&(i[Oi]||i[Vi])||null}(i);return null!==c?()=>c.factory(i):()=>new i}(i);throw new te(204,!1)}function J2(i,a,c){let _;if(Sc(i)){const T=ke(i);return Di(T)||Ul(T)}if(Pd(i))_=()=>ke(i.useValue);else if(function q2(i){return!(!i||!i.useFactory)}(i))_=()=>i.useFactory(...Ga(i.deps||[]));else if(function Rd(i){return!(!i||!i.useExisting)}(i))_=()=>gr(ke(i.useExisting));else{const T=ke(i&&(i.useClass||i.provide));if(!function Qh(i){return!!i.deps}(i))return Di(T)||Ul(T);_=()=>new T(...Ga(i.deps))}return _}function nl(i,a,c=!1){return{factory:i,value:a,multi:c?[]:void 0}}function k1(i,a){for(const c of i)Array.isArray(c)?k1(c,a):c&&Ke(c)?k1(c.\u0275providers,a):a(c)}function qh(i,a){i instanceof il&&i.assertNotDestroyed();const _=ca(i),T=Oe(void 0);try{return a()}finally{ca(_),Oe(T)}}function O1(i){if(!lt()&&!function ga(){return sa}())throw new te(-203,!1)}function s0(i,a=null,c=null,_){const T=Nd(i,a,c,_);return T.resolveInjectorInitializers(),T}function Nd(i,a=null,c=null,_,T=new Set){const F=[c||Gn,ja(i)];return _=_||("object"==typeof i?void 0:kt(i)),new il(F,a||I1(),_||null,T)}let Fd,ms=(()=>{class i{static#e=this.THROW_IF_NOT_FOUND=$i;static#t=this.NULL=new zl;static create(c,_){if(Array.isArray(c))return s0({name:""},_,c,"");{const T=c.name??"";return s0({name:T},c.parent,c.providers,T)}}static#i=this.\u0275prov=St({token:i,providedIn:"any",factory:()=>gr(T1)});static#n=this.__NG_ELEMENT_ID__=-1}return i})();function ac(i){return!!cr(i)}function eu(i){Fd=i}function js(){if(void 0!==Fd)return Fd;if(typeof document<"u")return document;throw new te(210,!1)}const d0=new hn("AppId",{providedIn:"root",factory:()=>tu}),tu="ng",h0=new hn("Platform Initializer"),zd=new hn("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),u0=new hn("AnimationModuleType"),f0=new hn("CSP nonce",{providedIn:"root",factory:()=>js().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function p0(i){return i.ownerDocument.defaultView}function Wo(i){return i instanceof Function?i():i}function Yl(i){return 128==(128&i.flags)}var F1=function(i){return i[i.Important=1]="Important",i[i.DashCase=2]="DashCase",i}(F1||{});const z1=/^>|^->|<!--|-->|--!>|<!-$/g,Zd=/(<|>)/g,lu="\u200b$1\u200b";const cc=new Map;let V1=0;const ts="__ngContext__";function uo(i,a){ua(a)?(i[ts]=a[ha],function hu(i){cc.set(i[ha],i)}(a)):i[ts]=a}let Z1;function k0(i,a){return Z1(i,a)}function cl(i){const a=i[Fi];return Pr(a)?a[Fi]:a}function W1(i){return dc(i[Yi])}function Y1(i){return dc(i[Cn])}function dc(i){for(;null!==i&&!Pr(i);)i=i[Cn];return i}function Ac(i,a,c,_,T){if(null!=_){let F,Q=!1;Pr(_)?F=_:ua(_)&&(Q=!0,_=_[Ve]);const ce=Bn(_);0===i&&null!==c?null==T?z0(a,c,ce):Dc(a,c,ce,T||null,!0):1===i&&null!==c?Dc(a,c,ce,T||null,!0):2===i?function Q1(i,a,c){const _=e1(i,a);_&&function xu(i,a,c,_){i.removeChild(a,c,_)}(i,_,a,c)}(a,ce,Q):3===i&&a.destroyNode(ce),null!=F&&function Cu(i,a,c,_,T){const F=c[dr];F!==Bn(c)&&Ac(a,i,_,F,T);for(let ce=Ki;ce<c.length;ce++){const we=c[ce];dl(we[vt],we,i,a,_,F)}}(a,i,F,c,T)}}function ql(i,a){return i.createComment(function sl(i){return i.replace(z1,a=>a.replace(Zd,lu))}(a))}function jd(i,a,c){return i.createElement(a,c)}function H0(i,a){const c=i[ss],_=c.indexOf(a);c.splice(_,1)}function Xl(i,a){if(i.length<=Ki)return;const c=Ki+a,_=i[c];if(_){const T=_[Do];null!==T&&T!==i&&H0(T,_),a>0&&(i[c-1][Cn]=_[Cn]);const F=ic(i,Ki+a);!function R0(i,a){dl(i,a,a[Ln],2,null,null),a[Ve]=null,a[Mr]=null}(_[vt],_);const Q=F[Ta];null!==Q&&Q.detachView(F[vt]),_[Fi]=null,_[Cn]=null,_[qt]&=-129}return _}function Jl(i,a){if(!(256&a[qt])){const c=a[Ln];a[xo]&&function ie(i){if(Me(i),se(i))for(let a=0;a<i.producerNode.length;a++)fe(i.producerNode[a],i.producerIndexOfThis[a]);i.producerNode.length=i.producerLastReadVersion.length=i.producerIndexOfThis.length=0,i.liveConsumerNode&&(i.liveConsumerNode.length=i.liveConsumerIndexOfThis.length=0)}(a[xo]),c.destroyNode&&dl(i,a,c,3,null,null),function vu(i){let a=i[Yi];if(!a)return Kd(i[vt],i);for(;a;){let c=null;if(ua(a))c=a[Yi];else{const _=a[Ki];_&&(c=_)}if(!c){for(;a&&!a[Cn]&&a!==i;)ua(a)&&Kd(a[vt],a),a=a[Fi];null===a&&(a=i),ua(a)&&Kd(a[vt],a),c=a&&a[Cn]}a=c}}(a)}}function Kd(i,a){if(!(256&a[qt])){a[qt]&=-129,a[qt]|=256,function F0(i,a){let c;if(null!=i&&null!=(c=i.destroyHooks))for(let _=0;_<c.length;_+=2){const T=a[c[_]];if(!(T instanceof bc)){const F=c[_+1];if(Array.isArray(F))for(let Q=0;Q<F.length;Q+=2){const ce=T[F[Q]],we=F[Q+1];Rr(4,ce,we);try{we.call(ce)}finally{Rr(5,ce,we)}}else{Rr(4,T,F);try{F.call(T)}finally{Rr(5,T,F)}}}}}(i,a),function yu(i,a){const c=i.cleanup,_=a[bo];if(null!==c)for(let F=0;F<c.length-1;F+=2)if("string"==typeof c[F]){const Q=c[F+3];Q>=0?_[Q]():_[-Q].unsubscribe(),F+=2}else c[F].call(_[c[F+1]]);null!==_&&(a[bo]=null);const T=a[so];if(null!==T){a[so]=null;for(let F=0;F<T.length;F++)(0,T[F])()}}(i,a),1===a[vt].type&&a[Ln].destroy();const c=a[Do];if(null!==c&&Pr(a[Fi])){c!==a[Fi]&&H0(c,a);const _=a[Ta];null!==_&&_.detachView(i)}!function Wd(i){cc.delete(i[ha])}(a)}}function Qd(i,a,c){return function $l(i,a,c){let _=a;for(;null!==_&&40&_.type;)_=(a=_).parent;if(null===_)return c[Ve];{const{componentOffset:T}=_;if(T>-1){const{encapsulation:F}=i.data[_.directiveStart+T];if(F===Or.None||F===Or.Emulated)return null}return Sr(_,c)}}(i,a.parent,c)}function Dc(i,a,c,_,T){i.insertBefore(a,c,_,T)}function z0(i,a,c){i.appendChild(a,c)}function V0(i,a,c,_,T){null!==_?Dc(i,a,c,_,T):z0(i,a,c)}function e1(i,a){return i.parentNode(a)}function qd(i,a,c){return Jd(i,a,c)}let j1,Z,qi,Jd=function Xd(i,a,c){return 40&i.type?Sr(i,c):null};function ll(i,a,c,_){const T=Qd(i,_,a),F=a[Ln],ce=qd(_.parent||a[Mr],_,a);if(null!=T)if(Array.isArray(c))for(let we=0;we<c.length;we++)V0(F,T,c[we],ce,!1);else V0(F,T,c,ce,!1);void 0!==j1&&j1(F,_,a,c,T)}function t1(i,a){if(null!==a){const c=a.type;if(3&c)return Sr(a,i);if(4&c)return K1(-1,i[a.index]);if(8&c){const _=a.child;if(null!==_)return t1(i,_);{const T=i[a.index];return Pr(T)?K1(-1,T):Bn(T)}}if(32&c)return k0(a,i)()||Bn(i[a.index]);{const _=e2(i,a);return null!==_?Array.isArray(_)?_[0]:t1(cl(i[br]),_):t1(i,a.next)}}return null}function e2(i,a){return null!==a?i[br][Mr].projection[a.projection]:null}function K1(i,a){const c=Ki+i+1;if(c<a.length){const _=a[c],T=_[vt].firstChild;if(null!==T)return t1(_,T)}return a[dr]}function q1(i,a,c,_,T,F,Q){for(;null!=c;){const ce=_[c.index],we=c.type;if(Q&&0===a&&(ce&&uo(Bn(ce),_),c.flags|=2),32!=(32&c.flags))if(8&we)q1(i,a,c.child,_,T,F,!1),Ac(a,i,T,ce,F);else if(32&we){const rt=k0(c,_);let Tt;for(;Tt=rt();)Ac(a,i,T,Tt,F);Ac(a,i,T,ce,F)}else 16&we?X1(i,a,_,c,T,F):Ac(a,i,T,ce,F);c=Q?c.projectionNext:c.next}}function dl(i,a,c,_,T,F){q1(c,_,i.firstChild,a,T,F,!1)}function X1(i,a,c,_,T,F){const Q=c[br],we=Q[Mr].projection[_.projection];if(Array.isArray(we))for(let rt=0;rt<we.length;rt++)Ac(a,i,T,we[rt],F);else{let rt=we;const Tt=Q[Fi];Yl(_)&&(rt.flags|=128),q1(i,a,rt,Tt,T,F,!0)}}function b(i,a,c){""===c?i.removeAttribute(a,"class"):i.setAttribute(a,"class",c)}function G(i,a,c){const{mergedAttrs:_,classes:T,styles:F}=c;null!==_&&io(i,a,_),null!==T&&b(i,a,T),null!==F&&function z(i,a,c){i.setAttribute(a,"style",c)}(i,a,F)}function Lt(i){return function Fe(){if(void 0===Z&&(Z=null,Ii.trustedTypes))try{Z=Ii.trustedTypes.createPolicy("angular",{createHTML:i=>i,createScript:i=>i,createScriptURL:i=>i})}catch{}return Z}()?.createHTML(i)||i}function On(){if(void 0===qi&&(qi=null,Ii.trustedTypes))try{qi=Ii.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:i=>i,createScript:i=>i,createScriptURL:i=>i})}catch{}return qi}function Nn(i){return On()?.createHTML(i)||i}function Dn(i){return On()?.createScriptURL(i)||i}class lr{constructor(a){this.changingThisBreaksApplicationSecurity=a}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ct})`}}class ya extends lr{getTypeName(){return"HTML"}}class Ka extends lr{getTypeName(){return"Style"}}class Oo extends lr{getTypeName(){return"Script"}}class $a extends lr{getTypeName(){return"URL"}}class Lc extends lr{getTypeName(){return"ResourceURL"}}function eo(i){return i instanceof lr?i.changingThisBreaksApplicationSecurity:i}function Oa(i,a){const c=function Qs(i){return i instanceof lr&&i.getTypeName()||null}(i);if(null!=c&&c!==a){if("ResourceURL"===c&&"URL"===a)return!0;throw new Error(`Required a safe ${a}, got a ${c} (see ${ct})`)}return c===a}function qs(i){return new ya(i)}function Xs(i){return new Ka(i)}function G0(i){return new Oo(i)}function Ic(i){return new $a(i)}function kc(i){return new Lc(i)}class J1{constructor(a){this.inertDocumentHelper=a}getInertBodyElement(a){a="<body><remove></remove>"+a;try{const c=(new window.DOMParser).parseFromString(Lt(a),"text/html").body;return null===c?this.inertDocumentHelper.getInertBodyElement(a):(c.removeChild(c.firstChild),c)}catch{return null}}}class bn{constructor(a){this.defaultDoc=a,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(a){const c=this.inertDocument.createElement("template");return c.innerHTML=Lt(a),c}}const zn=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function hr(i){return(i=String(i)).match(zn)?i:"unsafe:"+i}function jr(i){const a={};for(const c of i.split(","))a[c]=!0;return a}function Yo(...i){const a={};for(const c of i)for(const _ in c)c.hasOwnProperty(_)&&(a[_]=!0);return a}const is=jr("area,br,col,hr,img,wbr"),Cs=jr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ma=jr("rp,rt"),Fs=Yo(is,Yo(Cs,jr("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")),Yo(ma,jr("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")),Yo(ma,Cs)),ns=jr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),xm=Yo(ns,jr("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"),jr("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")),a3=jr("script,style,template");class Ug{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(a){let c=a.firstChild,_=!0;for(;c;)if(c.nodeType===Node.ELEMENT_NODE?_=this.startElement(c):c.nodeType===Node.TEXT_NODE?this.chars(c.nodeValue):this.sanitizedSomething=!0,_&&c.firstChild)c=c.firstChild;else for(;c;){c.nodeType===Node.ELEMENT_NODE&&this.endElement(c);let T=this.checkClobberedElement(c,c.nextSibling);if(T){c=T;break}c=this.checkClobberedElement(c,c.parentNode)}return this.buf.join("")}startElement(a){const c=a.nodeName.toLowerCase();if(!Fs.hasOwnProperty(c))return this.sanitizedSomething=!0,!a3.hasOwnProperty(c);this.buf.push("<"),this.buf.push(c);const _=a.attributes;for(let T=0;T<_.length;T++){const F=_.item(T),Q=F.name,ce=Q.toLowerCase();if(!xm.hasOwnProperty(ce)){this.sanitizedSomething=!0;continue}let we=F.value;ns[ce]&&(we=hr(we)),this.buf.push(" ",Q,'="',Cm(we),'"')}return this.buf.push(">"),!0}endElement(a){const c=a.nodeName.toLowerCase();Fs.hasOwnProperty(c)&&!is.hasOwnProperty(c)&&(this.buf.push("</"),this.buf.push(c),this.buf.push(">"))}chars(a){this.buf.push(Cm(a))}checkClobberedElement(a,c){if(c&&(a.compareDocumentPosition(c)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${a.outerHTML}`);return c}}const Gg=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o3=/([^\#-~ |!])/g;function Cm(i){return i.replace(/&/g,"&amp;").replace(Gg,function(a){return"&#"+(1024*(a.charCodeAt(0)-55296)+(a.charCodeAt(1)-56320)+65536)+";"}).replace(o3,function(a){return"&#"+a.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let a2;function wm(i,a){let c=null;try{a2=a2||function n2(i){const a=new bn(i);return function In(){try{return!!(new window.DOMParser).parseFromString(Lt(""),"text/html")}catch{return!1}}()?new J1(a):a}(i);let _=a?String(a):"";c=a2.getInertBodyElement(_);let T=5,F=_;do{if(0===T)throw new Error("Failed to sanitize html because the input is unstable");T--,_=F,F=c.innerHTML,c=a2.getInertBodyElement(_)}while(_!==F);return Lt((new Ug).sanitizeChildren(o2(c)||c))}finally{if(c){const _=o2(c)||c;for(;_.firstChild;)_.removeChild(_.firstChild)}}}function o2(i){return"content"in i&&function Zg(i){return i.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===i.nodeName}(i)?i.content:null}var $1=function(i){return i[i.NONE=0]="NONE",i[i.HTML=1]="HTML",i[i.STYLE=2]="STYLE",i[i.SCRIPT=3]="SCRIPT",i[i.URL=4]="URL",i[i.RESOURCE_URL=5]="RESOURCE_URL",i}($1||{});function Mm(i){const a=Z0();return a?Nn(a.sanitize($1.HTML,i)||""):Oa(i,"HTML")?Nn(eo(i)):wm(js(),nt(i))}function Sm(i){const a=Z0();return a?a.sanitize($1.URL,i)||"":Oa(i,"URL")?eo(i):hr(nt(i))}function c3(i){const a=Z0();if(a)return Dn(a.sanitize($1.RESOURCE_URL,i)||"");if(Oa(i,"ResourceURL"))return Dn(eo(i));throw new te(904,!1)}function d3(i,a,c){return function Am(i,a){return"src"===a&&("embed"===i||"frame"===i||"iframe"===i||"media"===i||"script"===i)||"href"===a&&("base"===i||"link"===i)?c3:Sm}(a,c)(i)}function Z0(){const i=Ni();return i&&i[oo].sanitizer}let Im=(i,a,c)=>null;function Lu(i,a,c=!1){return Im(i,a,c)}class Fm{}class p3{}class _3{resolveComponentFactory(a){throw function jg(i){const a=Error(`No component factory found for ${kt(i)}.`);return a.ngComponent=i,a}(a)}}let q0=(()=>{class i{static#e=this.NULL=new _3}return i})();function zm(){return c2(_r(),Ni())}function c2(i,a){return new l2(Sr(i,a))}let l2=(()=>{class i{constructor(c){this.nativeElement=c}static#e=this.__NG_ELEMENT_ID__=zm}return i})();function Kg(i){return i instanceof l2?i.nativeElement:i}class v3{}let Vm=(()=>{class i{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function Qg(){const i=Ni(),c=Bo(_r().index,i);return(ua(c)?c:i)[Ln]}()}return i})(),Bm=(()=>{class i{static#e=this.\u0275prov=St({token:i,providedIn:"root",factory:()=>null})}return i})();class Um{constructor(a){this.full=a,this.major=a.split(".")[0],this.minor=a.split(".")[1],this.patch=a.split(".").slice(2).join(".")}}const qg=new Um("17.0.4"),b3={};function Gm(i,a){const c=function ue(i){const a=Object.create(f);a.computation=i;const c=()=>{if(k(a),M(a),a.value===s)throw a.error;return a.value};return c[l]=a,c}(i);return a?.equal&&(c[l].equal=a.equal),c}function Pu(i,a){const c=function r(i){const a=Object.create(ot);a.value=i;const c=()=>(M(a),a.value);return c[l]=a,c}(i),_=c[l];return a?.equal&&(_.equal=a.equal),c.set=T=>N(_,T),c.update=T=>function ee(i,a){B()||D(),N(i,a(i.value))}(_,T),c.asReadonly=Jg.bind(c),c}function Jg(){const i=this[l];if(void 0===i.readonlyFn){const a=()=>this();a[l]=i,i.readonlyFn=a}return i.readonlyFn}function $g(i){const a=x(null);try{return i()}finally{x(a)}}function d2(i){return!!y3(i)&&(Array.isArray(i)||!(i instanceof Map)&&Symbol.iterator in i)}function y3(i){return null!==i&&("function"==typeof i||"object"==typeof i)}class Wm{constructor(){}supports(a){return d2(a)}create(a){return new t8(a)}}const Ym=(i,a)=>a;class t8{constructor(a){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=a||Ym}forEachItem(a){let c;for(c=this._itHead;null!==c;c=c._next)a(c)}forEachOperation(a){let c=this._itHead,_=this._removalsHead,T=0,F=null;for(;c||_;){const Q=!_||c&&c.currentIndex<x3(_,T,F)?c:_,ce=x3(Q,T,F),we=Q.currentIndex;if(Q===_)T--,_=_._nextRemoved;else if(c=c._next,null==Q.previousIndex)T++;else{F||(F=[]);const rt=ce-T,Tt=we-T;if(rt!=Tt){for(let ri=0;ri<rt;ri++){const ui=ri<F.length?F[ri]:F[ri]=0,Ri=ui+ri;Tt<=Ri&&Ri<rt&&(F[ri]=ui+1)}F[Q.previousIndex]=Tt-rt}}ce!==we&&a(Q,ce,we)}}forEachPreviousItem(a){let c;for(c=this._previousItHead;null!==c;c=c._nextPrevious)a(c)}forEachAddedItem(a){let c;for(c=this._additionsHead;null!==c;c=c._nextAdded)a(c)}forEachMovedItem(a){let c;for(c=this._movesHead;null!==c;c=c._nextMoved)a(c)}forEachRemovedItem(a){let c;for(c=this._removalsHead;null!==c;c=c._nextRemoved)a(c)}forEachIdentityChange(a){let c;for(c=this._identityChangesHead;null!==c;c=c._nextIdentityChange)a(c)}diff(a){if(null==a&&(a=[]),!d2(a))throw new te(900,!1);return this.check(a)?this:null}onDestroy(){}check(a){this._reset();let T,F,Q,c=this._itHead,_=!1;if(Array.isArray(a)){this.length=a.length;for(let ce=0;ce<this.length;ce++)F=a[ce],Q=this._trackByFn(ce,F),null!==c&&Object.is(c.trackById,Q)?(_&&(c=this._verifyReinsertion(c,F,Q,ce)),Object.is(c.item,F)||this._addIdentityChange(c,F)):(c=this._mismatch(c,F,Q,ce),_=!0),c=c._next}else T=0,function Zm(i,a){if(Array.isArray(i))for(let c=0;c<i.length;c++)a(i[c]);else{const c=i[Symbol.iterator]();let _;for(;!(_=c.next()).done;)a(_.value)}}(a,ce=>{Q=this._trackByFn(T,ce),null!==c&&Object.is(c.trackById,Q)?(_&&(c=this._verifyReinsertion(c,ce,Q,T)),Object.is(c.item,ce)||this._addIdentityChange(c,ce)):(c=this._mismatch(c,ce,Q,T),_=!0),c=c._next,T++}),this.length=T;return this._truncate(c),this.collection=a,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let a;for(a=this._previousItHead=this._itHead;null!==a;a=a._next)a._nextPrevious=a._next;for(a=this._additionsHead;null!==a;a=a._nextAdded)a.previousIndex=a.currentIndex;for(this._additionsHead=this._additionsTail=null,a=this._movesHead;null!==a;a=a._nextMoved)a.previousIndex=a.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(a,c,_,T){let F;return null===a?F=this._itTail:(F=a._prev,this._remove(a)),null!==(a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(_,null))?(Object.is(a.item,c)||this._addIdentityChange(a,c),this._reinsertAfter(a,F,T)):null!==(a=null===this._linkedRecords?null:this._linkedRecords.get(_,T))?(Object.is(a.item,c)||this._addIdentityChange(a,c),this._moveAfter(a,F,T)):a=this._addAfter(new jm(c,_),F,T),a}_verifyReinsertion(a,c,_,T){let F=null===this._unlinkedRecords?null:this._unlinkedRecords.get(_,null);return null!==F?a=this._reinsertAfter(F,a._prev,T):a.currentIndex!=T&&(a.currentIndex=T,this._addToMoves(a,T)),a}_truncate(a){for(;null!==a;){const c=a._next;this._addToRemovals(this._unlink(a)),a=c}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(a,c,_){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(a);const T=a._prevRemoved,F=a._nextRemoved;return null===T?this._removalsHead=F:T._nextRemoved=F,null===F?this._removalsTail=T:F._prevRemoved=T,this._insertAfter(a,c,_),this._addToMoves(a,_),a}_moveAfter(a,c,_){return this._unlink(a),this._insertAfter(a,c,_),this._addToMoves(a,_),a}_addAfter(a,c,_){return this._insertAfter(a,c,_),this._additionsTail=null===this._additionsTail?this._additionsHead=a:this._additionsTail._nextAdded=a,a}_insertAfter(a,c,_){const T=null===c?this._itHead:c._next;return a._next=T,a._prev=c,null===T?this._itTail=a:T._prev=a,null===c?this._itHead=a:c._next=a,null===this._linkedRecords&&(this._linkedRecords=new Qm),this._linkedRecords.put(a),a.currentIndex=_,a}_remove(a){return this._addToRemovals(this._unlink(a))}_unlink(a){null!==this._linkedRecords&&this._linkedRecords.remove(a);const c=a._prev,_=a._next;return null===c?this._itHead=_:c._next=_,null===_?this._itTail=c:_._prev=c,a}_addToMoves(a,c){return a.previousIndex===c||(this._movesTail=null===this._movesTail?this._movesHead=a:this._movesTail._nextMoved=a),a}_addToRemovals(a){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Qm),this._unlinkedRecords.put(a),a.currentIndex=null,a._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=a,a._prevRemoved=null):(a._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=a),a}_addIdentityChange(a,c){return a.item=c,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=a:this._identityChangesTail._nextIdentityChange=a,a}}class jm{constructor(a,c){this.item=a,this.trackById=c,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Km{constructor(){this._head=null,this._tail=null}add(a){null===this._head?(this._head=this._tail=a,a._nextDup=null,a._prevDup=null):(this._tail._nextDup=a,a._prevDup=this._tail,a._nextDup=null,this._tail=a)}get(a,c){let _;for(_=this._head;null!==_;_=_._nextDup)if((null===c||c<=_.currentIndex)&&Object.is(_.trackById,a))return _;return null}remove(a){const c=a._prevDup,_=a._nextDup;return null===c?this._head=_:c._nextDup=_,null===_?this._tail=c:_._prevDup=c,null===this._head}}class Qm{constructor(){this.map=new Map}put(a){const c=a.trackById;let _=this.map.get(c);_||(_=new Km,this.map.set(c,_)),_.add(a)}get(a,c){const T=this.map.get(a);return T?T.get(a,c):null}remove(a){const c=a.trackById;return this.map.get(c).remove(a)&&this.map.delete(c),a}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function x3(i,a,c){const _=i.previousIndex;if(null===_)return _;let T=0;return c&&_<c.length&&(T=c[_]),_+a+T}class qm{constructor(){}supports(a){return a instanceof Map||y3(a)}create(){return new i8}}class i8{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(a){let c;for(c=this._mapHead;null!==c;c=c._next)a(c)}forEachPreviousItem(a){let c;for(c=this._previousMapHead;null!==c;c=c._nextPrevious)a(c)}forEachChangedItem(a){let c;for(c=this._changesHead;null!==c;c=c._nextChanged)a(c)}forEachAddedItem(a){let c;for(c=this._additionsHead;null!==c;c=c._nextAdded)a(c)}forEachRemovedItem(a){let c;for(c=this._removalsHead;null!==c;c=c._nextRemoved)a(c)}diff(a){if(a){if(!(a instanceof Map||y3(a)))throw new te(900,!1)}else a=new Map;return this.check(a)?this:null}onDestroy(){}check(a){this._reset();let c=this._mapHead;if(this._appendAfter=null,this._forEach(a,(_,T)=>{if(c&&c.key===T)this._maybeAddToChanges(c,_),this._appendAfter=c,c=c._next;else{const F=this._getOrCreateRecordForKey(T,_);c=this._insertBeforeOrAppend(c,F)}}),c){c._prev&&(c._prev._next=null),this._removalsHead=c;for(let _=c;null!==_;_=_._nextRemoved)_===this._mapHead&&(this._mapHead=null),this._records.delete(_.key),_._nextRemoved=_._next,_.previousValue=_.currentValue,_.currentValue=null,_._prev=null,_._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(a,c){if(a){const _=a._prev;return c._next=a,c._prev=_,a._prev=c,_&&(_._next=c),a===this._mapHead&&(this._mapHead=c),this._appendAfter=a,a}return this._appendAfter?(this._appendAfter._next=c,c._prev=this._appendAfter):this._mapHead=c,this._appendAfter=c,null}_getOrCreateRecordForKey(a,c){if(this._records.has(a)){const T=this._records.get(a);this._maybeAddToChanges(T,c);const F=T._prev,Q=T._next;return F&&(F._next=Q),Q&&(Q._prev=F),T._next=null,T._prev=null,T}const _=new n8(a);return this._records.set(a,_),_.currentValue=c,this._addToAdditions(_),_}_reset(){if(this.isDirty){let a;for(this._previousMapHead=this._mapHead,a=this._previousMapHead;null!==a;a=a._next)a._nextPrevious=a._next;for(a=this._changesHead;null!==a;a=a._nextChanged)a.previousValue=a.currentValue;for(a=this._additionsHead;null!=a;a=a._nextAdded)a.previousValue=a.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(a,c){Object.is(c,a.currentValue)||(a.previousValue=a.currentValue,a.currentValue=c,this._addToChanges(a))}_addToAdditions(a){null===this._additionsHead?this._additionsHead=this._additionsTail=a:(this._additionsTail._nextAdded=a,this._additionsTail=a)}_addToChanges(a){null===this._changesHead?this._changesHead=this._changesTail=a:(this._changesTail._nextChanged=a,this._changesTail=a)}_forEach(a,c){a instanceof Map?a.forEach(c):Object.keys(a).forEach(_=>c(a[_],_))}}class n8{constructor(a){this.key=a,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Xm(){return new C3([new Wm])}let C3=(()=>{class i{static#e=this.\u0275prov=St({token:i,providedIn:"root",factory:Xm});constructor(c){this.factories=c}static create(c,_){if(null!=_){const T=_.factories.slice();c=c.concat(T)}return new i(c)}static extend(c){return{provide:i,useFactory:_=>i.create(c,_||Xm()),deps:[[i,new S1,new M1]]}}find(c){const _=this.factories.find(T=>T.supports(c));if(null!=_)return _;throw new te(901,!1)}}return i})();function Jm(){return new Ru([new qm])}let Ru=(()=>{class i{static#e=this.\u0275prov=St({token:i,providedIn:"root",factory:Jm});constructor(c){this.factories=c}static create(c,_){if(_){const T=_.factories.slice();c=c.concat(T)}return new i(c)}static extend(c){return{provide:i,useFactory:_=>i.create(c,_||Jm()),deps:[[i,new S1,new M1]]}}find(c){const _=this.factories.find(T=>T.supports(c));if(_)return _;throw new te(901,!1)}}return i})();function h2(i,a,c,_,T=!1){for(;null!==c;){const F=a[c.index];null!==F&&_.push(Bn(F)),Pr(F)&&ep(F,_);const Q=c.type;if(8&Q)h2(i,a,c.child,_);else if(32&Q){const ce=k0(c,a);let we;for(;we=ce();)_.push(we)}else if(16&Q){const ce=e2(a,c);if(Array.isArray(ce))_.push(...ce);else{const we=cl(a[br]);h2(we[vt],we,ce,_,!0)}}c=T?c.projectionNext:c.next}return _}function ep(i,a){for(let c=Ki;c<i.length;c++){const _=i[c],T=_[vt].firstChild;null!==T&&h2(_[vt],_,T,a)}i[dr]!==i[Ve]&&a.push(i[dr])}let w3=[];const Nu={...E,consumerIsAlwaysLive:!0,consumerMarkedDirty:i=>{_l(i.lView)},consumerOnSignalRead(){this.lView[xo]=this}};function M3(i){return i.ngOriginalError}class n1{constructor(){this._console=console}handleError(a){const c=this._findOriginalError(a);this._console.error("ERROR",a),c&&this._console.error("ORIGINAL ERROR",c)}_findOriginalError(a){let c=a&&M3(a);for(;c&&M3(c);)c=M3(c);return c||null}}const rp=new hn("",{providedIn:"root",factory:()=>!1}),ir={};function lp(i){dp(or(),Ni(),lo()+i,!1)}function dp(i,a,c,_){if(!_)if(3==(3&a[qt])){const F=i.preOrderCheckHooks;null!==F&&Wc(a,F,c)}else{const F=i.preOrderHooks;null!==F&&Yc(a,F,0,c)}vc(c)}function id(i,a=vi.Default){const c=Ni();return null===c?gr(i,a):Nh(_r(),c,ke(i),a)}function D3(){throw new Error("invalid")}function X0(i,a,c,_,T,F,Q,ce,we,rt,Tt){const Bt=a.blueprint.slice();return Bt[Ve]=T,Bt[qt]=140|_,(null!==rt||i&&2048&i[qt])&&(Bt[qt]|=2048),Yt(Bt),Bt[Fi]=Bt[yo]=i,Bt[Vn]=c,Bt[oo]=Q||i&&i[oo],Bt[Ln]=ce||i&&i[Ln],Bt[zi]=we||i&&i[zi]||null,Bt[Mr]=F,Bt[ha]=function du(){return V1++}(),Bt[Ea]=Tt,Bt[As]=rt,Bt[br]=2==a.type?i[br]:Bt,Bt}function hl(i,a,c,_,T){let F=i.data[a];if(null===F)F=function Fu(i,a,c,_,T){const F=cs(),Q=za(),we=i.data[a]=function d8(i,a,c,_,T,F){let Q=a?a.injectorIndex:-1,ce=0;return Js()&&(ce|=128),{type:c,index:_,insertBeforeIndex:null,injectorIndex:Q,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:ce,providerIndexes:0,value:T,attrs:F,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:a,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,Q?F:F&&F.parent,c,a,_,T);return null===i.firstChild&&(i.firstChild=we),null!==F&&(Q?null==F.child&&null!==we.parent&&(F.child=we):null===F.next&&(F.next=we,we.prev=F)),we}(i,a,c,_,T),function Re(){return Pn.lFrame.inI18n}()&&(F.flags|=32);else if(64&F.type){F.type=c,F.value=_,F.attrs=T;const Q=function $s(){const i=Pn.lFrame,a=i.currentTNode;return i.isParent?a:a.parent}();F.injectorIndex=null===Q?-1:Q.injectorIndex}return Vr(F,!0),F}function J0(i,a,c,_){if(0===c)return-1;const T=a.length;for(let F=0;F<c;F++)a.push(_),i.blueprint.push(_),i.data.push(null);return T}function L3(i,a,c,_,T){const F=lo(),Q=2&_;try{vc(-1),Q&&a.length>An&&dp(i,a,An,!1),Rr(Q?2:0,T),c(_,T)}finally{vc(F),Rr(Q?3:1,T)}}function zu(i,a,c){if(Ls(a)){const _=x(null);try{const F=a.directiveEnd;for(let Q=a.directiveStart;Q<F;Q++){const ce=i.data[Q];ce.contentQueries&&ce.contentQueries(1,c[Q],Q)}}finally{x(_)}}}function I3(i,a,c){m1()&&(function g8(i,a,c,_){const T=c.directiveStart,F=c.directiveEnd;Vo(c)&&function Bu(i,a,c){const _=Sr(a,i),T=O3(c);let Q=16;c.signals?Q=4096:c.onPush&&(Q=64);const ce=fl(i,X0(i,T,null,Q,_,a,null,i[oo].rendererFactory.createRenderer(_,c),null,null,null));i[a.index]=ce}(a,c,i.data[T+c.componentOffset]),i.firstCreatePass||Xc(c,a),uo(_,a);const Q=c.initialInputs;for(let ce=T;ce<F;ce++){const we=i.data[ce],rt=tc(a,i,ce,c);uo(rt,a),null!==Q&&Cp(0,ce-T,rt,we,0,Q),co(we)&&(Bo(c.index,a)[Vn]=tc(a,i,ce,c))}}(i,a,c,Sr(c,a)),64==(64&c.flags)&&F3(i,a,c))}function k3(i,a,c=Sr){const _=a.localNames;if(null!==_){let T=a.index+1;for(let F=0;F<_.length;F+=2){const Q=_[F+1],ce=-1===Q?c(a,i):i[Q];i[T++]=ce}}}function O3(i){const a=i.tView;return null===a||a.incompleteFirstPass?i.tView=P3(1,null,i.template,i.decls,i.vars,i.directiveDefs,i.pipeDefs,i.viewQuery,i.schemas,i.consts,i.id):a}function P3(i,a,c,_,T,F,Q,ce,we,rt,Tt){const Bt=An+_,ri=Bt+T,ui=function c8(i,a){const c=[];for(let _=0;_<a;_++)c.push(_<i?null:ir);return c}(Bt,ri),Ri="function"==typeof rt?rt():rt;return ui[vt]={type:i,blueprint:ui,template:c,queries:null,viewQuery:ce,declTNode:a,data:ui.slice().fill(null,Bt),bindingStartIndex:Bt,expandoStartIndex:ri,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 F?F():F,pipeRegistry:"function"==typeof Q?Q():Q,firstChild:null,schemas:we,consts:Ri,incompleteFirstPass:!1,ssrId:Tt}}let R3=i=>null;function gp(i,a,c,_){for(let T in i)if(i.hasOwnProperty(T)){c=null===c?{}:c;const F=i[T];null===_?_p(c,a,T,F):_.hasOwnProperty(T)&&_p(c,a,_[T],F)}return c}function _p(i,a,c,_){i.hasOwnProperty(c)?i[c].push(a,_):i[c]=[a,_]}function ws(i,a,c,_,T,F,Q,ce){const we=Sr(a,c);let Tt,rt=a.inputs;!ce&&null!=rt&&(Tt=rt[_])?(m2(i,c,Tt,_,T),Vo(a)&&function u8(i,a){const c=Bo(a,i);16&c[qt]||(c[qt]|=64)}(c,a.index)):3&a.type&&(_=function vp(i){return"class"===i?"className":"for"===i?"htmlFor":"formaction"===i?"formAction":"innerHtml"===i?"innerHTML":"readonly"===i?"readOnly":"tabindex"===i?"tabIndex":i}(_),T=null!=Q?Q(T,a.value||"",_):T,F.setProperty(we,_,T))}function N3(i,a,c,_){if(m1()){const T=null===_?null:{"":-1},F=function yp(i,a){const c=i.directiveRegistry;let _=null,T=null;if(c)for(let F=0;F<c.length;F++){const Q=c[F];if(ba(a,Q.selectors,!1))if(_||(_=[]),co(Q))if(null!==Q.findHostDirectiveDefs){const ce=[];T=T||new Map,Q.findHostDirectiveDefs(Q,ce,T),_.unshift(...ce,Q),Vu(i,a,ce.length)}else _.unshift(Q),Vu(i,a,0);else T=T||new Map,Q.findHostDirectiveDefs?.(Q,_,T),_.push(Q)}return null===_?null:[_,T]}(i,c);let Q,ce;null===F?Q=ce=null:[Q,ce]=F,null!==Q&&H3(i,a,c,Q,T,ce),T&&function xp(i,a,c){if(a){const _=i.localNames=[];for(let T=0;T<a.length;T+=2){const F=c[a[T+1]];if(null==F)throw new te(-301,!1);_.push(a[T],F)}}}(c,_,T)}c.mergedAttrs=na(c.mergedAttrs,c.attrs)}function H3(i,a,c,_,T,F){for(let rt=0;rt<_.length;rt++)H2(Xc(c,a),i,_[rt].type);!function ul(i,a,c){i.flags|=1,i.directiveStart=a,i.directiveEnd=a+c,i.providerIndexes=a}(c,i.data.length,_.length);for(let rt=0;rt<_.length;rt++){const Tt=_[rt];Tt.providersResolver&&Tt.providersResolver(Tt)}let Q=!1,ce=!1,we=J0(i,a,_.length,null);for(let rt=0;rt<_.length;rt++){const Tt=_[rt];c.mergedAttrs=na(c.mergedAttrs,Tt.hostAttrs),z3(i,c,a,we,Tt),ur(we,Tt,T),null!==Tt.contentQueries&&(c.flags|=4),(null!==Tt.hostBindings||null!==Tt.hostAttrs||0!==Tt.hostVars)&&(c.flags|=64);const Bt=Tt.type.prototype;!Q&&(Bt.ngOnChanges||Bt.ngOnInit||Bt.ngDoCheck)&&((i.preOrderHooks??=[]).push(c.index),Q=!0),!ce&&(Bt.ngOnChanges||Bt.ngDoCheck)&&((i.preOrderCheckHooks??=[]).push(c.index),ce=!0),we++}!function h8(i,a,c){const T=a.directiveEnd,F=i.data,Q=a.attrs,ce=[];let we=null,rt=null;for(let Tt=a.directiveStart;Tt<T;Tt++){const Bt=F[Tt],ri=c?c.get(Bt):null,Ri=ri?ri.outputs:null;we=gp(Bt.inputs,Tt,we,ri?ri.inputs:null),rt=gp(Bt.outputs,Tt,rt,Ri);const ji=null===we||null===Q||no(a)?null:V3(we,Tt,Q);ce.push(ji)}null!==we&&(we.hasOwnProperty("class")&&(a.flags|=8),we.hasOwnProperty("style")&&(a.flags|=16)),a.initialInputs=ce,a.inputs=we,a.outputs=rt}(i,c,F)}function F3(i,a,c){const _=c.directiveStart,T=c.directiveEnd,F=c.index,Q=function pt(){return Pn.lFrame.currentDirectiveIndex}();try{vc(F);for(let ce=_;ce<T;ce++){const we=i.data[ce],rt=a[ce];Rt(ce),(null!==we.hostBindings||0!==we.hostVars||null!==we.hostAttrs)&&bp(we,rt)}}finally{vc(-1),Rt(Q)}}function bp(i,a){null!==i.hostBindings&&i.hostBindings(1,a)}function Vu(i,a,c){a.componentOffset=c,(i.components??=[]).push(a.index)}function ur(i,a,c){if(c){if(a.exportAs)for(let _=0;_<a.exportAs.length;_++)c[a.exportAs[_]]=i;co(a)&&(c[""]=i)}}function z3(i,a,c,_,T){i.data[_]=T;const F=T.factory||(T.factory=Di(T.type)),Q=new bc(F,co(T),id);i.blueprint[_]=Q,c[_]=Q,function m8(i,a,c,_,T){const F=T.hostBindings;if(F){let Q=i.hostBindingOpCodes;null===Q&&(Q=i.hostBindingOpCodes=[]);const ce=~a.index;(function p8(i){let a=i.length;for(;a>0;){const c=i[--a];if("number"==typeof c&&c<0)return c}return 0})(Q)!=ce&&Q.push(ce),Q.push(c,_,F)}}(i,a,_,J0(i,c,T.hostVars,ir),T)}function Ba(i,a,c,_,T,F){const Q=Sr(i,a);!function Uu(i,a,c,_,T,F,Q){if(null==F)i.removeAttribute(a,T,c);else{const ce=null==Q?nt(F):Q(F,_||"",T);i.setAttribute(a,T,ce,c)}}(a[Ln],Q,F,i.value,c,_,T)}function Cp(i,a,c,_,T,F){const Q=F[a];if(null!==Q)for(let ce=0;ce<Q.length;)u2(_,c,Q[ce++],Q[ce++],Q[ce++])}function u2(i,a,c,_,T){const F=x(null);try{const Q=i.inputTransforms;null!==Q&&Q.hasOwnProperty(_)&&(T=Q[_].call(a,T)),null!==i.setInput?i.setInput(a,T,c,_):a[_]=T}finally{x(F)}}function V3(i,a,c){let _=null,T=0;for(;T<c.length;){const F=c[T];if(0!==F)if(5!==F){if("number"==typeof F)break;if(i.hasOwnProperty(F)){null===_&&(_=[]);const Q=i[F];for(let ce=0;ce<Q.length;ce+=2)if(Q[ce]===a){_.push(F,Q[ce+1],c[T+1]);break}}T+=2}else T+=2;else T+=4}return _}function $0(i,a,c,_){return[i,!0,0,a,null,_,null,c,null,null]}function Pc(i,a){const c=i.contentQueries;if(null!==c){const _=x(null);try{for(let T=0;T<c.length;T+=2){const Q=c[T+1];if(-1!==Q){const ce=i.data[Q];Ai(c[T]),ce.contentQueries(2,a[Q],Q)}}}finally{x(_)}}}function fl(i,a){return i[Yi]?i[Ts][Cn]=a:i[Yi]=a,i[Ts]=a,a}function kn(i,a,c){Ai(0);const _=x(null);try{a(i,c)}finally{x(_)}}function nd(i){return i[bo]||(i[bo]=[])}function eh(i){return i.cleanup||(i.cleanup=[])}function Gu(i,a,c){return(null===i||co(i))&&(c=function Jo(i){for(;Array.isArray(i);){if("object"==typeof i[Xo])return i;i=i[Ve]}return null}(c[a.index])),c[Ln]}function f2(i,a){const c=i[zi],_=c?c.get(n1,null):null;_&&_.handleError(a)}function m2(i,a,c,_,T){for(let F=0;F<c.length;){const Q=c[F++],ce=c[F++];u2(i.data[Q],a[Q],_,ce,T)}}function Rc(i,a,c){const _=bs(a,i);!function pu(i,a,c){i.setValue(a,c)}(i[Ln],_,c)}function Yu(i,a,c,_){const T=a[qt];if(256==(256&T))return;a[oo].inlineEffectRunner?.flush(),$n(a);let Q=null,ce=null;(function ju(i){return 2!==i.type})(i)&&(ce=function tp(i){return i[xo]??function ip(i){const a=w3.pop()??Object.create(Nu);return a.lView=i,a}(i)}(a),Q=j(ce));try{Yt(a),function kr(i){return Pn.lFrame.bindingIndex=i}(i.bindingStartIndex),null!==c&&L3(i,a,c,2,_);const we=3==(3&T);if(we){const Bt=i.preOrderCheckHooks;null!==Bt&&Wc(a,Bt,null)}else{const Bt=i.preOrderHooks;null!==Bt&&Yc(a,Bt,0,null),La(a,0)}if(function U3(i){for(let a=W1(i);null!==a;a=Y1(a)){if(!(a[qt]&Ds.HasTransplantedViews))continue;const c=a[ss];for(let _=0;_<c.length;_++){Os(c[_])}}}(a),Ku(a,0),null!==i.contentQueries&&Pc(i,a),we){const Bt=i.contentCheckHooks;null!==Bt&&Wc(a,Bt)}else{const Bt=i.contentHooks;null!==Bt&&Yc(a,Bt,1),La(a,1)}!function hp(i,a){const c=i.hostBindingOpCodes;if(null!==c)try{for(let _=0;_<c.length;_++){const T=c[_];if(T<0)vc(~T);else{const F=T,Q=c[++_],ce=c[++_];He(Q,F),ce(2,a[F])}}}finally{vc(-1)}}(i,a);const rt=i.components;null!==rt&&Hc(a,rt,0);const Tt=i.viewQuery;if(null!==Tt&&kn(2,Tt,_),we){const Bt=i.viewCheckHooks;null!==Bt&&Wc(a,Bt)}else{const Bt=i.viewHooks;null!==Bt&&Yc(a,Bt,2),La(a,2)}if(!0===i.firstUpdatePass&&(i.firstUpdatePass=!1),a[zo]){for(const Bt of a[zo])Bt();a[zo]=null}a[qt]&=-73}catch(we){throw _l(a),we}finally{null!==ce&&(K(ce,Q),function a8(i){i.lView[xo]!==i&&(i.lView=null,w3.push(i))}(ce)),Ps()}}function Ku(i,a){for(let c=W1(i);null!==c;c=Y1(c)){c[qt]&=~Ds.HasChildViewsToRefresh;for(let _=Ki;_<c.length;_++)th(c[_],a)}}function Nc(i,a,c){th(Bo(a,i),c)}function th(i,a){gl(i)&&Qu(i,a)}function Qu(i,a){const _=i[vt],T=i[qt],F=i[xo];let Q=!!(0===a&&16&T);if(Q||=!!(64&T&&0===a),Q||=!!(1024&T),Q||=!(!F?.dirty||!X(F)),F&&(F.dirty=!1),i[qt]&=-9217,Q)Yu(_,i,_.template,i[Vn]);else if(8192&T){Ku(i,1);const ce=_.components;null!==ce&&Hc(i,ce,1)}}function Hc(i,a,c){for(let _=0;_<a.length;_++)Nc(i,a[_],c)}function r1(i){for(;i;){i[qt]|=64;const a=cl(i);if(Jn(i)&&!a)return i;i=a}return null}class rd{get rootNodes(){const a=this._lView,c=a[vt];return h2(c,a,c.firstChild,[])}constructor(a,c,_=!0){this._lView=a,this._cdRefInjectingView=c,this.notifyErrorHandler=_,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Vn]}set context(a){this._lView[Vn]=a}get destroyed(){return 256==(256&this._lView[qt])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const a=this._lView[Fi];if(Pr(a)){const c=a[8],_=c?c.indexOf(this):-1;_>-1&&(Xl(a,_),ic(c,_))}this._attachedToViewContainer=!1}Jl(this._lView[vt],this._lView)}onDestroy(a){Uc(this._lView,a)}markForCheck(){r1(this._cdRefInjectingView||this._lView)}detach(){this._lView[qt]&=-129}reattach(){u1(this._lView),this._lView[qt]|=128}detectChanges(){!function B3(i,a=!0){const c=i[oo],_=c.rendererFactory,T=c.afterRenderEventManager;_.begin?.(),T?.begin();try{const Q=i[vt];Yu(Q,i,Q.template,i[Vn]),function Wu(i){let a=0;for(;9216&i[qt]||i[xo]?.dirty;){if(100===a)throw new te(103,!1);a++,Qu(i,1)}}(i)}catch(Q){throw a&&f2(i,Q),Q}finally{_.end?.(),c.inlineEffectRunner?.flush(),T?.end()}}(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new te(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function _u(i,a){dl(i,a,a[Ln],2,null,null)}(this._lView[vt],this._lView)}attachToAppRef(a){if(this._attachedToViewContainer)throw new te(902,!1);this._appRef=a}}let ih=(()=>{class i{static#e=this.__NG_ELEMENT_ID__=p2}return i})();function p2(i){return function a1(i,a,c){if(Vo(i)&&!c){const _=Bo(i.index,a);return new rd(_,_)}return 47&i.type?new rd(a[br],a):null}(_r(),Ni(),16==(16&i))}let xa=(()=>{class i{static#e=this.__NG_ELEMENT_ID__=W3;static#t=this.__NG_ENV_ID__=c=>c}return i})();class g2 extends xa{constructor(a){super(),this._lView=a}onDestroy(a){return Uc(this._lView,a),()=>function vl(i,a){if(null===i[so])return;const c=i[so].indexOf(a);-1!==c&&i[so].splice(c,1)}(this._lView,a)}}function W3(){return new g2(Ni())}function rh(i,a){if(null!==function m(){return t}())throw new te(-602,!1)}const Ju=new Set;function o1(i){Ju.has(i)||(Ju.add(i),performance?.mark?.("mark_use_counter",{detail:{feature:i}}))}function _2(i){return a=>{setTimeout(i,void 0,a)}}const zs=class Ep extends xe.x{constructor(a=!1){super(),this.__isAsync=a}emit(a){super.next(a)}subscribe(a,c,_){let T=a,F=c||(()=>null),Q=_;if(a&&"object"==typeof a){const we=a;T=we.next?.bind(we),F=we.error?.bind(we),Q=we.complete?.bind(we)}this.__isAsync&&(F=_2(F),T&&(T=_2(T)),Q&&(Q=_2(Q)));const ce=super.subscribe({next:T,error:F,complete:Q});return a instanceof de.w0&&a.add(ce),ce}};function $u(...i){}class fo{constructor({enableLongStackTrace:a=!1,shouldCoalesceEventChangeDetection:c=!1,shouldCoalesceRunChangeDetection:_=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new zs(!1),this.onMicrotaskEmpty=new zs(!1),this.onStable=new zs(!1),this.onError=new zs(!1),typeof Zone>"u")throw new te(908,!1);Zone.assertZonePatched();const T=this;T._nesting=0,T._outer=T._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(T._inner=T._inner.fork(new Zone.TaskTrackingZoneSpec)),a&&Zone.longStackTraceZoneSpec&&(T._inner=T._inner.fork(Zone.longStackTraceZoneSpec)),T.shouldCoalesceEventChangeDetection=!_&&c,T.shouldCoalesceRunChangeDetection=_,T.lastRequestAnimationFrameId=-1,T.nativeRequestAnimationFrame=function oh(){const i="function"==typeof Ii.requestAnimationFrame;let a=Ii[i?"requestAnimationFrame":"setTimeout"],c=Ii[i?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&a&&c){const _=a[Zone.__symbol__("OriginalDelegate")];_&&(a=_);const T=c[Zone.__symbol__("OriginalDelegate")];T&&(c=T)}return{nativeRequestAnimationFrame:a,nativeCancelAnimationFrame:c}}().nativeRequestAnimationFrame,function ef(i){const a=()=>{!function Ms(i){i.isCheckStableRunning||-1!==i.lastRequestAnimationFrameId||(i.lastRequestAnimationFrameId=i.nativeRequestAnimationFrame.call(Ii,()=>{i.fakeTopEventTask||(i.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{i.lastRequestAnimationFrameId=-1,sh(i),i.isCheckStableRunning=!0,K3(i),i.isCheckStableRunning=!1},void 0,()=>{},()=>{})),i.fakeTopEventTask.invoke()}),sh(i))}(i)};i._inner=i._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(c,_,T,F,Q,ce)=>{if(function v8(i){return!(!Array.isArray(i)||1!==i.length)&&!0===i[0].data?.__ignore_ng_zone__}(ce))return c.invokeTask(T,F,Q,ce);try{return tf(i),c.invokeTask(T,F,Q,ce)}finally{(i.shouldCoalesceEventChangeDetection&&"eventTask"===F.type||i.shouldCoalesceRunChangeDetection)&&a(),Tp(i)}},onInvoke:(c,_,T,F,Q,ce,we)=>{try{return tf(i),c.invoke(T,F,Q,ce,we)}finally{i.shouldCoalesceRunChangeDetection&&a(),Tp(i)}},onHasTask:(c,_,T,F)=>{c.hasTask(T,F),_===T&&("microTask"==F.change?(i._hasPendingMicrotasks=F.microTask,sh(i),K3(i)):"macroTask"==F.change&&(i.hasPendingMacrotasks=F.macroTask))},onHandleError:(c,_,T,F)=>(c.handleError(T,F),i.runOutsideAngular(()=>i.onError.emit(F)),!1)})}(T)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!fo.isInAngularZone())throw new te(909,!1)}static assertNotInAngularZone(){if(fo.isInAngularZone())throw new te(909,!1)}run(a,c,_){return this._inner.run(a,c,_)}runTask(a,c,_,T){const F=this._inner,Q=F.scheduleEventTask("NgZoneEvent: "+T,a,_8,$u,$u);try{return F.runTask(Q,c,_)}finally{F.cancelTask(Q)}}runGuarded(a,c,_){return this._inner.runGuarded(a,c,_)}runOutsideAngular(a){return this._outer.run(a)}}const _8={};function K3(i){if(0==i._nesting&&!i.hasPendingMicrotasks&&!i.isStable)try{i._nesting++,i.onMicrotaskEmpty.emit(null)}finally{if(i._nesting--,!i.hasPendingMicrotasks)try{i.runOutsideAngular(()=>i.onStable.emit(null))}finally{i.isStable=!0}}}function sh(i){i.hasPendingMicrotasks=!!(i._hasPendingMicrotasks||(i.shouldCoalesceEventChangeDetection||i.shouldCoalesceRunChangeDetection)&&-1!==i.lastRequestAnimationFrameId)}function tf(i){i._nesting++,i.isStable&&(i.isStable=!1,i.onUnstable.emit(null))}function Tp(i){i._nesting--,K3(i)}class Ap{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new zs,this.onMicrotaskEmpty=new zs,this.onStable=new zs,this.onError=new zs}run(a,c,_){return a.apply(c,_)}runGuarded(a,c,_){return a.apply(c,_)}runOutsideAngular(a){return a()}runTask(a,c,_,T){return a.apply(c,_)}}const Dp=new hn("",{providedIn:"root",factory:Lp});function Lp(){const i=Kn(fo);let a=!0;const c=new ge.y(T=>{a=i.isStable&&!i.hasPendingMacrotasks&&!i.hasPendingMicrotasks,i.runOutsideAngular(()=>{T.next(a),T.complete()})}),_=new ge.y(T=>{let F;i.runOutsideAngular(()=>{F=i.onStable.subscribe(()=>{fo.assertNotInAngularZone(),queueMicrotask(()=>{!a&&!i.hasPendingMacrotasks&&!i.hasPendingMicrotasks&&(a=!0,T.next(!0))})})});const Q=i.onUnstable.subscribe(()=>{fo.assertInAngularZone(),a&&(a=!1,i.runOutsideAngular(()=>{T.next(!1)}))});return()=>{F.unsubscribe(),Q.unsubscribe()}});return(0,qe.T)(c,_.pipe((0,le.B)()))}var s1=function(i){return i[i.EarlyRead=0]="EarlyRead",i[i.Write=1]="Write",i[i.MixedReadWrite=2]="MixedReadWrite",i[i.Read=3]="Read",i}(s1||{});const Ip={destroy(){}};function q3(i,a){!a&&O1();const c=a?.injector??Kn(ms);if(!function oc(i){return"browser"===(i??Kn(ms)).get(zd)}(c))return Ip;o1("NgAfterNextRender");const _=c.get(Vs),T=_.handler??=new J3,F=a?.phase??s1.MixedReadWrite,Q=()=>{T.unregister(we),ce()},ce=c.get(xa).onDestroy(Q),we=new X3(c,F,()=>{Q(),i()});return T.register(we),{destroy:Q}}class X3{constructor(a,c,_){this.phase=c,this.callbackFn=_,this.zone=a.get(fo),this.errorHandler=a.get(n1,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(a){this.errorHandler?.handleError(a)}}}class J3{constructor(){this.executingCallbacks=!1,this.buckets={[s1.EarlyRead]:new Set,[s1.Write]:new Set,[s1.MixedReadWrite]:new Set,[s1.Read]:new Set},this.deferredCallbacks=new Set}validateBegin(){if(this.executingCallbacks)throw new te(102,!1)}register(a){(this.executingCallbacks?this.deferredCallbacks:this.buckets[a.phase]).add(a)}unregister(a){this.buckets[a.phase].delete(a),this.deferredCallbacks.delete(a)}execute(){this.executingCallbacks=!0;for(const a of Object.values(this.buckets))for(const c of a)c.invoke();this.executingCallbacks=!1;for(const a of this.deferredCallbacks)this.buckets[a.phase].add(a);this.deferredCallbacks.clear()}destroy(){for(const a of Object.values(this.buckets))a.clear();this.deferredCallbacks.clear()}}let Vs=(()=>{class i{constructor(){this.renderDepth=0,this.handler=null,this.internalCallbacks=[]}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){if(this.renderDepth--,0===this.renderDepth){for(const c of this.internalCallbacks)c();this.internalCallbacks.length=0,this.handler?.execute()}}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=St({token:i,providedIn:"root",factory:()=>new i})}return i})();function ad(i,a){const c=Bo(a,i),_=c[vt];!function kp(i,a){for(let c=a.length;c<i.blueprint.length;c++)a.push(i.blueprint[c])}(_,c);const T=c[Ve];null!==T&&null===c[Ea]&&(c[Ea]=Lu(T,c[zi])),nf(_,c,c[Vn])}function nf(i,a,c){$n(a);try{const _=i.viewQuery;null!==_&&kn(1,_,c);const T=i.template;null!==T&&L3(i,a,T,1,c),i.firstCreatePass&&(i.firstCreatePass=!1),i.staticContentQueries&&Pc(i,a),i.staticViewQueries&&kn(2,i.viewQuery,c);const F=i.components;null!==F&&function y8(i,a){for(let c=0;c<a.length;c++)ad(i,a[c])}(a,F)}catch(_){throw i.firstCreatePass&&(i.incompleteFirstPass=!0,i.firstCreatePass=!1),_}finally{a[qt]&=-5,Ps()}}function ch(i,a,c){let _=c?i.styles:null,T=c?i.classes:null,F=0;if(null!==a)for(let Q=0;Q<a.length;Q++){const ce=a[Q];"number"==typeof ce?F=ce:1==F?T=Ae(T,ce):2==F&&(_=Ae(_,ce+": "+a[++Q]+";"))}c?i.styles=_:i.stylesWithoutHost=_,c?i.classes=T:i.classesWithoutHost=T}class Op extends q0{constructor(a){super(),this.ngModule=a}resolveComponentFactory(a){const c=ii(a);return new od(c,this.ngModule)}}function Pp(i){const a=[];for(let c in i)i.hasOwnProperty(c)&&a.push({propName:i[c],templateName:c});return a}class Rp{constructor(a,c){this.injector=a,this.parentInjector=c}get(a,c,_){_=_a(_);const T=this.injector.get(a,b3,_);return T!==b3||c===b3?T:this.parentInjector.get(a,c,_)}}class od extends p3{get inputs(){const a=this.componentDef,c=a.inputTransforms,_=Pp(a.inputs);if(null!==c)for(const T of _)c.hasOwnProperty(T.propName)&&(T.transform=c[T.propName]);return _}get outputs(){return Pp(this.componentDef.outputs)}constructor(a,c){super(),this.componentDef=a,this.ngModule=c,this.componentType=a.type,this.selector=function Xa(i){return i.map(To).join(",")}(a.selectors),this.ngContentSelectors=a.ngContentSelectors?a.ngContentSelectors:[],this.isBoundToModule=!!c}create(a,c,_,T){let F=(T=T||this.ngModule)instanceof fs?T:T?.injector;F&&null!==this.componentDef.getStandaloneInjector&&(F=this.componentDef.getStandaloneInjector(F)||F);const Q=F?new Rp(a,F):a,ce=Q.get(v3,null);if(null===ce)throw new te(407,!1);const Tt={rendererFactory:ce,sanitizer:Q.get(Bm,null),inlineEffectRunner:null,afterRenderEventManager:Q.get(Vs,null)},Bt=ce.createRenderer(null,this.componentDef),ri=this.componentDef.selectors[0][0]||"div",ui=_?function up(i,a,c,_){const F=_.get(rp,!1)||c===Or.ShadowDom,Q=i.selectRootElement(a,F);return function fp(i){R3(i)}(Q),Q}(Bt,_,this.componentDef.encapsulation,Q):jd(Bt,ri,function $3(i){const a=i.toLowerCase();return"svg"===a?Lo:"math"===a?"math":null}(ri)),dn=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let yn=null;null!==ui&&(yn=Lu(ui,Q,!0));const Wi=P3(0,null,null,1,0,null,null,null,null,null,null),Wn=X0(null,Wi,null,dn,null,null,Tt,Bt,Q,null,yn);let wr,Zr;$n(Wn);try{const po=this.componentDef;let I2,Vg=null;po.findHostDirectiveDefs?(I2=[],Vg=new Map,po.findHostDirectiveDefs(po,I2,Vg),I2.push(po)):I2=[po];const Hx=function C8(i,a){const c=i[vt],_=An;return i[_]=a,hl(c,_,2,"#host",null)}(Wn,ui),Fx=function rf(i,a,c,_,T,F,Q){const ce=T[vt];!function w8(i,a,c,_){for(const T of i)a.mergedAttrs=na(a.mergedAttrs,T.hostAttrs);null!==a.mergedAttrs&&(ch(a,a.mergedAttrs,!0),null!==c&&G(_,c,a))}(_,i,a,Q);let we=null;null!==a&&(we=Lu(a,T[zi]));const rt=F.rendererFactory.createRenderer(a,c);let Tt=16;c.signals?Tt=4096:c.onPush&&(Tt=64);const Bt=X0(T,O3(c),null,Tt,T[i.index],i,F,rt,null,null,we);return ce.firstCreatePass&&Vu(ce,i,_.length-1),fl(T,Bt),T[i.index]=Bt}(Hx,ui,po,I2,Wn,Tt,Bt);Zr=pc(Wi,An),ui&&function Hp(i,a,c,_){if(_)io(i,c,["ng-version",qg.full]);else{const{attrs:T,classes:F}=function ao(i){const a=[],c=[];let _=1,T=2;for(;_<i.length;){let F=i[_];if("string"==typeof F)2===T?""!==F&&a.push(F,i[++_]):8===T&&c.push(F);else{if(!Xr(T))break;T=F}_++}return{attrs:a,classes:c}}(a.selectors[0]);T&&io(i,c,T),F&&F.length>0&&b(i,c,F.join(" "))}}(Bt,po,ui,_),void 0!==c&&function M8(i,a,c){const _=i.projection=[];for(let T=0;T<a.length;T++){const F=c[T];_.push(null!=F?Array.from(F):null)}}(Zr,this.ngContentSelectors,c),wr=function Np(i,a,c,_,T,F){const Q=_r(),ce=T[vt],we=Sr(Q,T);H3(ce,T,Q,c,null,_);for(let Tt=0;Tt<c.length;Tt++)uo(tc(T,ce,Q.directiveStart+Tt,Q),T);F3(ce,T,Q),we&&uo(we,T);const rt=tc(T,ce,Q.directiveStart+Q.componentOffset,Q);if(i[Vn]=T[Vn]=rt,null!==F)for(const Tt of F)Tt(rt,a);return zu(ce,Q,i),rt}(Fx,po,I2,Vg,Wn,[Fp]),nf(Wi,Wn,null)}finally{Ps()}return new x8(this.componentType,wr,c2(Zr,Wn),Wn,Zr)}}class x8 extends Fm{constructor(a,c,_,T,F){super(),this.location=_,this._rootLView=T,this._tNode=F,this.previousInputValues=null,this.instance=c,this.hostView=this.changeDetectorRef=new rd(T,void 0,!1),this.componentType=a}setInput(a,c){const _=this._tNode.inputs;let T;if(null!==_&&(T=_[a])){if(this.previousInputValues??=new Map,this.previousInputValues.has(a)&&Object.is(this.previousInputValues.get(a),c))return;const F=this._rootLView;m2(F[vt],F,T,a,c),this.previousInputValues.set(a,c),r1(Bo(this._tNode.index,F))}}get injector(){return new Va(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(a){this.hostView.onDestroy(a)}}function Fp(){const i=_r();Zc(Ni()[vt],i)}function e4(i){let a=function zp(i){return Object.getPrototypeOf(i.prototype).constructor}(i.type),c=!0;const _=[i];for(;a;){let T;if(co(i))T=a.\u0275cmp||a.\u0275dir;else{if(a.\u0275cmp)throw new te(903,!1);T=a.\u0275dir}if(T){if(c){_.push(T);const Q=i;Q.inputs=af(i.inputs),Q.inputTransforms=af(i.inputTransforms),Q.declaredInputs=af(i.declaredInputs),Q.outputs=af(i.outputs);const ce=T.hostBindings;ce&&t4(i,ce);const we=T.viewQuery,rt=T.contentQueries;if(we&&Vp(i,we),rt&&E8(i,rt),mt(i.inputs,T.inputs),mt(i.declaredInputs,T.declaredInputs),mt(i.outputs,T.outputs),null!==T.inputTransforms&&(null===Q.inputTransforms&&(Q.inputTransforms={}),mt(Q.inputTransforms,T.inputTransforms)),co(T)&&T.data.animation){const Tt=i.data;Tt.animation=(Tt.animation||[]).concat(T.data.animation)}}const F=T.features;if(F)for(let Q=0;Q<F.length;Q++){const ce=F[Q];ce&&ce.ngInherit&&ce(i),ce===e4&&(c=!1)}}a=Object.getPrototypeOf(a)}!function S8(i){let a=0,c=null;for(let _=i.length-1;_>=0;_--){const T=i[_];T.hostVars=a+=T.hostVars,T.hostAttrs=na(T.hostAttrs,c=na(c,T.hostAttrs))}}(_)}function af(i){return i===fr?{}:i===Gn?[]:i}function Vp(i,a){const c=i.viewQuery;i.viewQuery=c?(_,T)=>{a(_,T),c(_,T)}:a}function E8(i,a){const c=i.contentQueries;i.contentQueries=c?(_,T,F)=>{a(_,T,F),c(_,T,F)}:a}function t4(i,a){const c=i.hostBindings;i.hostBindings=c?(_,T)=>{a(_,T),c(_,T)}:a}function Gp(i){const a=i.inputConfig,c={};for(const _ in a)if(a.hasOwnProperty(_)){const T=a[_];Array.isArray(T)&&T[2]&&(c[_]=T[2])}i.inputTransforms=c}function hc(i,a,c){return i[a]=c}function to(i,a,c){return!Object.is(i[a],c)&&(i[a]=c,!0)}function sd(i,a,c,_){const T=to(i,a,c);return to(i,a+1,_)||T}function dh(i,a,c,_,T){const F=sd(i,a,c,_);return to(i,a+2,T)||F}function cf(i,a,c,_){const T=Ni();return to(T,ea(),a)&&(or(),Ba(Hr(),T,i,a,c,_)),cf}function v2(i,a,c,_){return to(i,ea(),c)?a+nt(c)+_:ir}function Fc(i,a,c,_,T,F){const ce=sd(i,Xn(),c,T);return pe(2),ce?a+nt(c)+_+nt(T)+F:ir}function b2(i,a,c,_,T,F,Q,ce,we,rt){const Bt=function Bs(i,a,c,_,T,F){const Q=sd(i,a,c,_);return sd(i,a+2,T,F)||Q}(i,Xn(),c,T,Q,we);return pe(4),Bt?a+nt(c)+_+nt(T)+F+nt(Q)+ce+nt(we)+rt:ir}function lf(i,a){return i<<17|a<<2}function c1(i){return i>>17&32767}function df(i){return 2|i}function l1(i){return(131068&i)>>2}function c4(i,a){return-131069&i|a<<2}function hf(i){return 1|i}function C(i,a,c,_,T){const F=i[c+1],Q=null===a;let ce=_?c1(F):l1(F),we=!1;for(;0!==ce&&(!1===we||Q);){const Tt=i[ce+1];U(i[ce],a)&&(we=!0,i[ce+1]=_?hf(Tt):df(Tt)),ce=_?c1(Tt):l1(Tt)}we&&(i[c+1]=_?df(F):hf(F))}function U(i,a){return null===i||null==a||(Array.isArray(i)?i[1]:i)===a||!(!Array.isArray(i)||"string"!=typeof a)&&Rl(i,a)>=0}const Y={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Te(i){return i.substring(Y.key,Y.keyEnd)}function Gt(i,a){const c=Y.textEnd;return c===a?-1:(a=Y.keyEnd=function an(i,a,c){for(;a<c&&i.charCodeAt(a)>32;)a++;return a}(i,Y.key=a,c),ki(i,a,c))}function ki(i,a,c){for(;a<c&&i.charCodeAt(a)<=32;)a++;return a}function Yn(i,a,c){const _=Ni();return to(_,ea(),a)&&ws(or(),Hr(),_,i,a,_[Ln],c,!1),Yn}function Un(i,a,c,_,T){const Q=T?"class":"style";m2(i,c,a.inputs[Q],Q,_)}function wn(i,a,c){return Kr(i,a,c,!1),wn}function Br(i,a){return Kr(i,a,null,!0),Br}function oa(i){er(fd,Mn,i,!0)}function Mn(i,a){for(let c=function Wt(i){return function Ci(i){Y.key=0,Y.keyEnd=0,Y.value=0,Y.valueEnd=0,Y.textEnd=i.length}(i),Gt(i,ki(i,0,Y.textEnd))}(a);c>=0;c=Gt(a,c))us(i,Te(a),!0)}function Kr(i,a,c,_){const T=Ni(),F=or(),Q=pe(2);F.firstUpdatePass&&gs(F,i,Q,_),a!==ir&&to(T,Q,a)&&d1(F,F.data[lo()],T,T[Ln],i,T[Q+1]=function vn(i,a){return null==i||""===i||("string"==typeof a?i+=a:"object"==typeof i&&(i=kt(eo(i)))),i}(a,c),_,Q)}function er(i,a,c,_){const T=or(),F=pe(2);T.firstUpdatePass&&gs(T,null,F,_);const Q=Ni();if(c!==ir&&to(Q,F,c)){const ce=T.data[lo()];if(nr(ce,_)&&!ta(T,F)){let we=_?ce.classesWithoutHost:ce.stylesWithoutHost;null!==we&&(c=Ae(we,c||"")),Un(T,ce,Q,c,_)}else!function md(i,a,c,_,T,F,Q,ce){T===ir&&(T=Gn);let we=0,rt=0,Tt=0<T.length?T[0]:null,Bt=0<F.length?F[0]:null;for(;null!==Tt||null!==Bt;){const ri=we<T.length?T[we+1]:void 0,ui=rt<F.length?F[rt+1]:void 0;let ji,Ri=null;Tt===Bt?(we+=2,rt+=2,ri!==ui&&(Ri=Bt,ji=ui)):null===Bt||null!==Tt&&Tt<Bt?(we+=2,Ri=Tt):(rt+=2,Ri=Bt,ji=ui),null!==Ri&&d1(i,a,c,_,Ri,ji,Q,ce),Tt=we<T.length?T[we]:null,Bt=rt<F.length?F[rt]:null}}(T,ce,Q,Q[Ln],Q[F+1],Q[F+1]=function qa(i,a,c){if(null==c||""===c)return Gn;const _=[],T=eo(c);if(Array.isArray(T))for(let F=0;F<T.length;F++)i(_,T[F],!0);else if("object"==typeof T)for(const F in T)T.hasOwnProperty(F)&&i(_,F,T[F]);else"string"==typeof T&&a(_,T);return _}(i,a,c),_,F)}}function ta(i,a){return a>=i.expandoStartIndex}function gs(i,a,c,_){const T=i.data;if(null===T[c+1]){const F=T[lo()],Q=ta(i,c);nr(F,_)&&null===a&&!Q&&(a=!1),a=function Ca(i,a,c,_){const T=ni(i);let F=_?a.residualClasses:a.residualStyles;if(null===T)0===(_?a.classBindings:a.styleBindings)&&(c=pa(c=Qa(null,i,a,c,_),a.attrs,_),F=null);else{const Q=a.directiveStylingLast;if(-1===Q||i[Q]!==T)if(c=Qa(T,i,a,c,_),null===F){let we=function wa(i,a,c){const _=c?a.classBindings:a.styleBindings;if(0!==l1(_))return i[c1(_)]}(i,a,_);void 0!==we&&Array.isArray(we)&&(we=Qa(null,i,a,we[1],_),we=pa(we,a.attrs,_),function Ko(i,a,c,_){i[c1(c?a.classBindings:a.styleBindings)]=_}(i,a,_,we))}else F=function Ur(i,a,c){let _;const T=a.directiveEnd;for(let F=1+a.directiveStylingLast;F<T;F++)_=pa(_,i[F].hostAttrs,c);return pa(_,a.attrs,c)}(i,a,_)}return void 0!==F&&(_?a.residualClasses=F:a.residualStyles=F),c}(T,F,a,_),function L(i,a,c,_,T,F){let Q=F?a.classBindings:a.styleBindings,ce=c1(Q),we=l1(Q);i[_]=c;let Tt,rt=!1;if(Array.isArray(c)?(Tt=c[1],(null===Tt||Rl(c,Tt)>0)&&(rt=!0)):Tt=c,T)if(0!==we){const ri=c1(i[ce+1]);i[_+1]=lf(ri,ce),0!==ri&&(i[ri+1]=c4(i[ri+1],_)),i[ce+1]=function Kp(i,a){return 131071&i|a<<17}(i[ce+1],_)}else i[_+1]=lf(ce,0),0!==ce&&(i[ce+1]=c4(i[ce+1],_)),ce=_;else i[_+1]=lf(we,0),0===ce?ce=_:i[we+1]=c4(i[we+1],_),we=_;rt&&(i[_+1]=df(i[_+1])),C(i,Tt,_,!0),C(i,Tt,_,!1),function o(i,a,c,_,T){const F=T?i.residualClasses:i.residualStyles;null!=F&&"string"==typeof a&&Rl(F,a)>=0&&(c[_+1]=hf(c[_+1]))}(a,Tt,i,_,F),Q=lf(ce,we),F?a.classBindings=Q:a.styleBindings=Q}(T,F,a,c,Q,_)}}function Qa(i,a,c,_,T){let F=null;const Q=c.directiveEnd;let ce=c.directiveStylingLast;for(-1===ce?ce=c.directiveStart:ce++;ce<Q&&(F=a[ce],_=pa(_,F.hostAttrs,T),F!==i);)ce++;return null!==i&&(c.directiveStylingLast=ce),_}function pa(i,a,c){const _=c?1:2;let T=-1;if(null!==a)for(let F=0;F<a.length;F++){const Q=a[F];"number"==typeof Q?T=Q:T===_&&(Array.isArray(i)||(i=void 0===i?[]:["",i]),us(i,Q,!!c||a[++F]))}return void 0===i?null:i}function fd(i,a,c){const _=String(a);""!==_&&!_.includes(" ")&&us(i,_,c)}function d1(i,a,c,_,T,F,Q,ce){if(!(3&a.type))return;const we=i.data,rt=we[ce+1],Tt=function Qp(i){return 1==(1&i)}(rt)?Ro(we,a,c,T,l1(rt),Q):void 0;uc(Tt)||(uc(F)||function k8(i){return 2==(2&i)}(rt)&&(F=Ro(we,null,c,T,ce,Q)),function R(i,a,c,_,T){if(a)T?i.addClass(c,_):i.removeClass(c,_);else{let F=-1===_.indexOf("-")?void 0:F1.DashCase;null==T?i.removeStyle(c,_,F):("string"==typeof T&&T.endsWith("!important")&&(T=T.slice(0,-10),F|=F1.Important),i.setStyle(c,_,T,F))}}(_,Q,bs(lo(),c),T,F))}function Ro(i,a,c,_,T,F){const Q=null===a;let ce;for(;T>0;){const we=i[T],rt=Array.isArray(we),Tt=rt?we[1]:we,Bt=null===Tt;let ri=c[T+1];ri===ir&&(ri=Bt?Gn:void 0);let ui=Bt?Z2(ri,_):Tt===_?ri:void 0;if(rt&&!uc(ui)&&(ui=Z2(we,_)),uc(ui)&&(ce=ui,Q))return ce;const Ri=i[T+1];T=Q?c1(Ri):l1(Ri)}if(null!==a){let we=F?a.residualClasses:a.residualStyles;null!=we&&(ce=Z2(we,_))}return ce}function uc(i){return void 0!==i}function nr(i,a){return 0!=(i.flags&(a?8:16))}function xr(i,a,c){er(us,Mn,v2(Ni(),i,a,c),!0)}let e6=(i,a)=>null;function M2(i,a){return e6(i,a)}class Kv{destroy(a){}updateValue(a,c){}swap(a,c){const _=Math.min(a,c),T=Math.max(a,c),F=this.detach(T);if(T-_>1){const Q=this.detach(_);this.attach(_,F),this.attach(T,Q)}else this.attach(_,F)}move(a,c){this.attach(c,this.detach(a))}}function p4(i,a,c,_,T){return i===c&&Object.is(a,_)?1:Object.is(T(i,a),T(c,_))?-1:0}function t6(i,a,c,_){return!(void 0===a||!a.has(_)||(i.attach(c,a.get(_)),a.delete(_),0))}function i6(i,a,c,_,T){if(t6(i,a,_,c(_,T)))i.updateValue(_,T);else{const F=i.create(_,T);i.attach(_,F)}}function W8(i,a,c,_){const T=new Set;for(let F=a;F<=c;F++)T.add(_(F,i.at(F)));return T}class Y8{constructor(){this.map=new Map}has(a){const c=this.map.get(a);return void 0!==c&&c.length>0}delete(a){const c=this.map.get(a);return void 0!==c&&(c.shift(),!0)}get(a){const c=this.map.get(a);return void 0!==c&&c.length>0?c[0]:void 0}set(a,c){this.map.has(a)?this.map.get(a)?.push(c):this.map.set(a,[c])}forEach(a){for(const[c,_]of this.map)for(const T of _)a(T,c)}}function mf(i,a,c,_){const T=a.tView,ce=X0(i,T,c,4096&i[qt]?4096:16,null,a,null,null,null,_?.injector??null,_?.dehydratedView??null);ce[Do]=i[a.index];const rt=i[Ta];return null!==rt&&(ce[Ta]=rt.createEmbeddedView(T)),nf(T,ce,c),ce}function j8(i,a){const c=Ki+a;if(c<i.length)return i[c]}function uh(i,a){return!a||Yl(i)}function S2(i,a,c,_=!0){const T=a[vt];if(function N0(i,a,c,_){const T=Ki+_,F=c.length;_>0&&(c[T-1][Cn]=a),_<F-Ki?(a[Cn]=c[T],Td(c,Ki+_,a)):(c.push(a),a[Cn]=null),a[Fi]=c;const Q=a[Do];null!==Q&&c!==Q&&function bu(i,a){const c=i[ss];a[br]!==a[Fi][Fi][br]&&(i[qt]|=Ds.HasTransplantedViews),null===c?i[ss]=[a]:c.push(a)}(Q,a);const ce=a[Ta];null!==ce&&ce.insertView(i),u1(a),a[qt]|=128}(T,a,i,c),_){const F=K1(c,i),Q=a[Ln],ce=e1(Q,i[dr]);null!==ce&&function gu(i,a,c,_,T,F){_[Ve]=T,_[Mr]=a,dl(i,_,c,1,T,F)}(T,i[Mr],Q,a,ce,F)}}function n6(i,a){const c=Xl(i,a);return void 0!==c&&Jl(c[vt],c),c}let g4=(()=>{class i{static#e=this.__NG_ELEMENT_ID__=K8}return i})();function K8(){return a6(_r(),Ni())}const Qv=g4,Q8=class extends Qv{constructor(a,c,_){super(),this._lContainer=a,this._hostTNode=c,this._hostLView=_}get element(){return c2(this._hostTNode,this._hostLView)}get injector(){return new Va(this._hostTNode,this._hostLView)}get parentInjector(){const a=x1(this._hostTNode,this._hostLView);if(Sl(a)){const c=El(a,this._hostLView),_=_1(a);return new Va(c[vt].data[_+8],c)}return new Va(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(a){const c=q8(this._lContainer);return null!==c&&c[a]||null}get length(){return this._lContainer.length-Ki}createEmbeddedView(a,c,_){let T,F;"number"==typeof _?T=_:null!=_&&(T=_.index,F=_.injector);const Q=M2(this._lContainer,a.ssrId),ce=a.createEmbeddedViewImpl(c||{},F,Q);return this.insertImpl(ce,T,uh(this._hostTNode,Q)),ce}createComponent(a,c,_,T,F){const Q=a&&!function Hs(i){return"function"==typeof i}(a);let ce;if(Q)ce=c;else{const Ri=c||{};ce=Ri.index,_=Ri.injector,T=Ri.projectableNodes,F=Ri.environmentInjector||Ri.ngModuleRef}const we=Q?a:new od(ii(a)),rt=_||this.parentInjector;if(!F&&null==we.ngModule){const ji=(Q?rt:this.parentInjector).get(fs,null);ji&&(F=ji)}const Tt=ii(we.componentType??{}),Bt=M2(this._lContainer,Tt?.id??null),ui=we.create(rt,T,Bt?.firstChild??null,F);return this.insertImpl(ui.hostView,ce,uh(this._hostTNode,Bt)),ui}insert(a,c){return this.insertImpl(a,c,!0)}insertImpl(a,c,_){const T=a._lView;if(function Bc(i){return Pr(i[Fi])}(T)){const ce=this.indexOf(a);if(-1!==ce)this.detach(ce);else{const we=T[Fi],rt=new Q8(we,we[Mr],we[Fi]);rt.detach(rt.indexOf(a))}}const F=this._adjustIndex(c),Q=this._lContainer;return S2(Q,T,F,_),a.attachToViewContainerRef(),Td(r6(Q),F,a),a}move(a,c){return this.insert(a,c)}indexOf(a){const c=q8(this._lContainer);return null!==c?c.indexOf(a):-1}remove(a){const c=this._adjustIndex(a,-1),_=Xl(this._lContainer,c);_&&(ic(r6(this._lContainer),c),Jl(_[vt],_))}detach(a){const c=this._adjustIndex(a,-1),_=Xl(this._lContainer,c);return _&&null!=ic(r6(this._lContainer),c)?new rd(_):null}_adjustIndex(a,c=0){return a??this.length+c}};function q8(i){return i[8]}function r6(i){return i[8]||(i[8]=[])}function a6(i,a){let c;const _=a[i.index];return Pr(_)?c=_:(c=$0(_,a,null,i),a[i.index]=c,fl(a,c)),X8(c,a,i,_),new Q8(c,i,a)}let X8=function $8(i,a,c,_){if(i[dr])return;let T;T=8&c.type?Bn(_):function qv(i,a){const c=i[Ln],_=c.createComment(""),T=Sr(a,i);return Dc(c,e1(c,T),_,function B0(i,a){return i.nextSibling(a)}(c,T),!1),_}(a,c),i[dr]=T},o6=(i,a,c)=>!1;function fh(i,a,c,_,T,F,Q,ce){const we=Ni(),rt=or(),Tt=i+An,Bt=rt.firstCreatePass?function s6(i,a,c,_,T,F,Q,ce,we){const rt=a.consts,Tt=hl(a,i,4,Q||null,$o(rt,ce));N3(a,c,Tt,$o(rt,we)),Zc(a,Tt);const Bt=Tt.tView=P3(2,Tt,_,T,F,a.directiveRegistry,a.pipeRegistry,null,a.schemas,rt,null);return null!==a.queries&&(a.queries.template(a,Tt),Bt.queries=a.queries.embeddedTView(Tt)),Tt}(Tt,rt,we,a,c,_,T,F,Q):rt.data[Tt];Vr(Bt,!1);const ri=e5(rt,we,Bt,i);ds()&&ll(rt,we,ri,Bt),uo(ri,we);const ui=$0(ri,we,ri,Bt);return we[Tt]=ui,fl(we,ui),function J8(i,a,c){return o6(i,a,c)}(ui,Bt,we),Us(Bt)&&I3(rt,we,Bt),null!=Q&&k3(we,Bt,ce),fh}let e5=function t5(i,a,c,_){return Ns(!0),a[Ln].createComment("")};function i5(i,a,c){o1("NgControlFlow");const _=Ni(),T=ea(),F=_4(_,An+i);if(to(_,T,a)){const ce=x(null);try{if(n6(F,0),-1!==a){const we=c6(_[vt],An+a),rt=M2(F,we.tView.ssrId);S2(F,mf(_,we,c,{dehydratedView:rt}),0,uh(we,rt))}}finally{x(ce)}}else{const ce=j8(F,0);void 0!==ce&&(ce[Vn]=c)}}class t9{constructor(a,c,_){this.lContainer=a,this.$implicit=c,this.$index=_}get $count(){return this.lContainer.length-Ki}}function n5(i,a){return a}class r5{constructor(a,c,_){this.hasEmptyBlock=a,this.trackByFn=c,this.liveCollection=_}}function a5(i,a,c,_,T,F,Q,ce,we,rt,Tt){o1("NgControlFlow");const Bt=void 0!==we,ri=Ni(),ui=ce?Q.bind(ri[br][Vn]):Q,Ri=new r5(Bt,ui);ri[An+i]=Ri,fh(i+1,a,c,_,T,F),Bt&&fh(i+2,we,rt,Tt)}class o5 extends Kv{constructor(a,c,_){super(),this.lContainer=a,this.hostLView=c,this.templateTNode=_,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Ki}at(a){return this.getLView(a)[Vn].$implicit}attach(a,c){const _=c[Ea];this.needsIndexUpdate||=a!==this.length,S2(this.lContainer,c,a,uh(this.templateTNode,_))}detach(a){return this.needsIndexUpdate||=a!==this.length-1,function c5(i,a){return Xl(i,a)}(this.lContainer,a)}create(a,c){const _=M2(this.lContainer,this.templateTNode.tView.ssrId);return mf(this.hostLView,this.templateTNode,new t9(this.lContainer,c,a),{dehydratedView:_})}destroy(a){Jl(a[vt],a)}updateValue(a,c){this.getLView(a)[Vn].$implicit=c}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let a=0;a<this.length;a++)this.getLView(a)[Vn].$index=a}getLView(a){return function n9(i,a){return j8(i,a)}(this.lContainer,a)}}function s5(i){const a=x(null),c=lo();try{const _=Ni(),T=_[vt],F=_[c];if(void 0===F.liveCollection){const ce=c+1,we=_4(_,ce),rt=c6(T,ce);F.liveCollection=new o5(we,_,rt)}else F.liveCollection.reset();const Q=F.liveCollection;if(function Z8(i,a,c){let _,T,F=0,Q=i.length-1;if(Array.isArray(a)){let ce=a.length-1;for(;F<=Q&&F<=ce;){const we=i.at(F),rt=a[F],Tt=p4(F,we,F,rt,c);if(0!==Tt){Tt<0&&i.updateValue(F,rt),F++;continue}const Bt=i.at(Q),ri=a[ce],ui=p4(Q,Bt,ce,ri,c);if(0!==ui){ui<0&&i.updateValue(Q,ri),Q--,ce--;continue}const Ri=c(F,we),ji=c(Q,Bt),dn=c(F,rt);if(Object.is(dn,ji)){const yn=c(ce,ri);Object.is(yn,Ri)?(i.swap(F,Q),i.updateValue(Q,ri),ce--,Q--):i.move(Q,F),i.updateValue(F,rt),F++}else if(_??=new Y8,T??=W8(i,F,Q,c),t6(i,_,F,dn))i.updateValue(F,rt),F++,Q++;else if(T.has(dn))_.set(Ri,i.detach(F)),Q--;else{const yn=i.create(F,a[F]);i.attach(F,yn),F++,Q++}}for(;F<=ce;)i6(i,_,c,F,a[F]),F++}else if(null!=a){const ce=a[Symbol.iterator]();let we=ce.next();for(;!we.done&&F<=Q;){const rt=i.at(F),Tt=we.value,Bt=p4(F,rt,F,Tt,c);if(0!==Bt)Bt<0&&i.updateValue(F,Tt),F++,we=ce.next();else{_??=new Y8,T??=W8(i,F,Q,c);const ri=c(F,Tt);if(t6(i,_,F,ri))i.updateValue(F,Tt),F++,Q++,we=ce.next();else if(T.has(ri)){const ui=c(F,rt);_.set(ui,i.detach(F)),Q--}else i.attach(F,i.create(F,Tt)),F++,Q++,we=ce.next()}}for(;!we.done;)i6(i,_,c,i.length,we.value),we=ce.next()}for(;F<=Q;)i.destroy(i.detach(Q--));_?.forEach(ce=>{i.destroy(ce)})}(Q,i,F.trackByFn),Q.updateIndexes(),F.hasEmptyBlock){const ce=ea(),we=0===Q.length;if(to(_,ce,we)){const rt=c+2,Tt=_4(_,rt);if(we){const Bt=c6(T,rt),ri=M2(Tt,Bt.tView.ssrId);S2(Tt,mf(_,Bt,void 0,{dehydratedView:ri}),0,uh(Bt,ri))}else n6(Tt,0)}}}finally{x(a)}}function _4(i,a){return i[a]}function c6(i,a){return pc(i,a)}function vf(i,a,c,_){const T=Ni(),F=or(),Q=An+i,ce=T[Ln],we=F.firstCreatePass?function T9(i,a,c,_,T,F){const Q=a.consts,we=hl(a,i,2,_,$o(Q,T));return N3(a,c,we,$o(Q,F)),null!==we.attrs&&ch(we,we.attrs,!1),null!==we.mergedAttrs&&ch(we,we.mergedAttrs,!0),null!==a.queries&&a.queries.elementStart(a,we),we}(Q,F,T,a,c,_):F.data[Q],rt=D5(F,T,we,ce,a,i);T[Q]=rt;const Tt=Us(we);return Vr(we,!0),G(ce,rt,we),32!=(32&we.flags)&&ds()&&ll(F,T,rt,we),0===function f1(){return Pn.lFrame.elementDepthCount}()&&uo(rt,T),function ys(){Pn.lFrame.elementDepthCount++}(),Tt&&(I3(F,T,we),zu(F,we,T)),null!==_&&k3(T,we),vf}function A4(){let i=_r();za()?_c():(i=i.parent,Vr(i,!1));const a=i;(function O2(i){return Pn.skipHydrationRootTNode===i})(a)&&function bd(){Pn.skipHydrationRootTNode=null}(),function kh(){Pn.lFrame.elementDepthCount--}();const c=or();return c.firstCreatePass&&(Zc(c,i),Ls(i)&&c.queries.elementEnd(i)),null!=a.classesWithoutHost&&function xd(i){return 0!=(8&i.flags)}(a)&&Un(c,a,Ni(),a.classesWithoutHost,!0),null!=a.stylesWithoutHost&&function Ff(i){return 0!=(16&i.flags)}(a)&&Un(c,a,Ni(),a.stylesWithoutHost,!1),A4}function y6(i,a,c,_){return vf(i,a,c,_),A4(),y6}let D5=(i,a,c,_,T,F)=>(Ns(!0),jd(_,T,function es(){return Pn.lFrame.currentNamespace}()));function bf(i,a,c){const _=Ni(),T=or(),F=i+An,Q=T.firstCreatePass?function L9(i,a,c,_,T){const F=a.consts,Q=$o(F,_),ce=hl(a,i,8,"ng-container",Q);return null!==Q&&ch(ce,Q,!0),N3(a,c,ce,$o(F,T)),null!==a.queries&&a.queries.elementStart(a,ce),ce}(F,T,_,a,c):T.data[F];Vr(Q,!0);const ce=L5(T,_,Q,i);return _[F]=ce,ds()&&ll(T,_,ce,Q),uo(ce,_),Us(Q)&&(I3(T,_,Q),zu(T,Q,_)),null!=c&&k3(_,Q),bf}function D4(){let i=_r();const a=or();return za()?_c():(i=i.parent,Vr(i,!1)),a.firstCreatePass&&(Zc(a,i),Ls(i)&&a.queries.elementEnd(i)),D4}function x6(i,a,c){return bf(i,a,c),D4(),x6}let L5=(i,a,c,_)=>(Ns(!0),ql(a[Ln],""));function k5(){return Ni()}function C6(i,a,c){const _=Ni();return to(_,ea(),a)&&ws(or(),Hr(),_,i,a,_[Ln],c,!0),C6}function L4(i,a,c){const _=Ni();if(to(_,ea(),a)){const F=or(),Q=Hr();ws(F,Q,_,i,a,Gu(ni(F.data),Q,_),c,!0)}return L4}const T2=void 0;var O9=["en",[["a","p"],["AM","PM"],T2],[["AM","PM"],T2,T2],[["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"]],T2,[["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"]],T2,[["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}",T2,"{1} 'at' {0}",T2],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function k9(i){const c=Math.floor(Math.abs(i)),_=i.toString().replace(/^[^.]*\.?/,"").length;return 1===c&&0===_?1:5}];let yh={};function I4(i){const a=function P9(i){return i.toLowerCase().replace(/_/g,"-")}(i);let c=P5(a);if(c)return c;const _=a.split("-")[0];if(c=P5(_),c)return c;if("en"===_)return O9;throw new te(701,!1)}function O5(i){return I4(i)[xh.PluralCase]}function P5(i){return i in yh||(yh[i]=Ii.ng&&Ii.ng.common&&Ii.ng.common.locales&&Ii.ng.common.locales[i]),yh[i]}var xh=function(i){return i[i.LocaleId=0]="LocaleId",i[i.DayPeriodsFormat=1]="DayPeriodsFormat",i[i.DayPeriodsStandalone=2]="DayPeriodsStandalone",i[i.DaysFormat=3]="DaysFormat",i[i.DaysStandalone=4]="DaysStandalone",i[i.MonthsFormat=5]="MonthsFormat",i[i.MonthsStandalone=6]="MonthsStandalone",i[i.Eras=7]="Eras",i[i.FirstDayOfWeek=8]="FirstDayOfWeek",i[i.WeekendRange=9]="WeekendRange",i[i.DateFormat=10]="DateFormat",i[i.TimeFormat=11]="TimeFormat",i[i.DateTimeFormat=12]="DateTimeFormat",i[i.NumberSymbols=13]="NumberSymbols",i[i.NumberFormats=14]="NumberFormats",i[i.CurrencyCode=15]="CurrencyCode",i[i.CurrencySymbol=16]="CurrencySymbol",i[i.CurrencyName=17]="CurrencyName",i[i.Currencies=18]="Currencies",i[i.Directionality=19]="Directionality",i[i.PluralCase=20]="PluralCase",i[i.ExtraData=21]="ExtraData",i}(xh||{});const Ch="en-US";let w6=Ch;function k6(i){return!!i&&"function"==typeof i.then}function O6(i){return!!i&&"function"==typeof i.subscribe}function P6(i,a,c,_){const T=Ni(),F=or(),Q=_r();return B4(F,T,T[Ln],Q,i,a,_),P6}function V4(i,a){const c=_r(),_=Ni(),T=or();return B4(T,_,Gu(ni(T.data),c,_),c,i,a),V4}function B4(i,a,c,_,T,F,Q){const ce=Us(_),rt=i.firstCreatePass&&eh(i),Tt=a[Vn],Bt=nd(a);let ri=!0;if(3&_.type||Q){const ji=Sr(_,a),dn=Q?Q(ji):ji,yn=Bt.length,Wi=Q?wr=>Q(Bn(wr[_.index])):_.index;let Wn=null;if(!Q&&ce&&(Wn=function bb(i,a,c,_){const T=i.cleanup;if(null!=T)for(let F=0;F<T.length-1;F+=2){const Q=T[F];if(Q===c&&T[F+1]===_){const ce=a[bo],we=T[F+2];return ce.length>we?ce[we]:null}"string"==typeof Q&&(F+=2)}return null}(i,a,T,_.index)),null!==Wn)(Wn.__ngLastListenerFn__||Wn).__ngNextListenerFn__=F,Wn.__ngLastListenerFn__=F,ri=!1;else{F=o_(_,a,Tt,F,!1);const wr=c.listen(dn,T,F);Bt.push(F,wr),rt&&rt.push(T,Wi,yn,yn+1)}}else F=o_(_,a,Tt,F,!1);const ui=_.outputs;let Ri;if(ri&&null!==ui&&(Ri=ui[T])){const ji=Ri.length;if(ji)for(let dn=0;dn<ji;dn+=2){const Zr=a[Ri[dn]][Ri[dn+1]].subscribe(F),po=Bt.length;Bt.push(F,Zr),rt&&rt.push(T,_.index,po,-(po+1))}}}function a_(i,a,c,_){try{return Rr(6,a,c),!1!==c(_)}catch(T){return f2(i,T),!1}finally{Rr(7,a,c)}}function o_(i,a,c,_,T){return function F(Q){if(Q===Function)return _;r1(i.componentOffset>-1?Bo(i.index,a):a);let we=a_(a,c,_,Q),rt=F.__ngNextListenerFn__;for(;rt;)we=a_(a,c,rt,Q)&&we,rt=rt.__ngNextListenerFn__;return T&&!1===we&&Q.preventDefault(),we}}function s_(i=1){return function ls(i){return(Pn.lFrame.contextLView=function Fa(i,a){for(;i>0;)a=a[yo],i--;return a}(i,Pn.lFrame.contextLView))[Vn]}(i)}function yb(i,a){let c=null;const _=function Ho(i){const a=i.attrs;if(null!=a){const c=a.indexOf(5);if(!(1&c))return a[c+1]}return null}(i);for(let T=0;T<a.length;T++){const F=a[T];if("*"!==F){if(null===_?ba(i,F,!0):vs(_,F))return T}else c=T}return c}function c_(i){const a=Ni()[br][Mr];if(!a.projection){const _=a.projection=Ol(i?i.length:1,null),T=_.slice();let F=a.child;for(;null!==F;){const Q=i?yb(F,i):0;null!==Q&&(T[Q]?T[Q].projectionNext=F:_[Q]=F,T[Q]=F),F=F.next}}}function l_(i,a=0,c){const _=Ni(),T=or(),F=hl(T,An+i,16,null,c||null);null===F.projection&&(F.projection=a),_c(),(!_[Ea]||Js())&&32!=(32&F.flags)&&function U0(i,a,c){X1(a[Ln],0,a,c,Qd(i,c,a),qd(c.parent||a[Mr],c,a))}(T,_,F)}function R6(i,a,c){return U4(i,"",a,"",c),R6}function U4(i,a,c,_,T){const F=Ni(),Q=v2(F,a,c,_);return Q!==ir&&ws(or(),Hr(),F,i,Q,F[Ln],T,!1),U4}function G4(i,a,c,_,T,F,Q){const ce=Ni(),we=Fc(ce,a,c,_,T,F);return we!==ir&&ws(or(),Hr(),ce,i,we,ce[Ln],Q,!1),G4}function m_(i){return ks(function xl(){return Pn.lFrame.contextLView}(),An+i)}function E_(i,a=""){const c=Ni(),_=or(),T=i+An,F=_.firstCreatePass?hl(_,T,1,a,null):_.data[T],Q=V6(_,c,F,a,i);c[T]=Q,ds()&&ll(_,c,Q,F),Vr(F,!1)}let V6=(i,a,c,_,T)=>(Ns(!0),function Ql(i,a){return i.createText(a)}(a[Ln],_));function Mh(i){return Z4("",i,""),Mh}function Z4(i,a,c){const _=Ni(),T=v2(_,i,a,c);return T!==ir&&Rc(_,lo(),T),Z4}function B6(i,a,c,_,T){const F=Ni(),Q=Fc(F,i,a,c,_,T);return Q!==ir&&Rc(F,lo(),Q),B6}function U6(i,a,c,_,T,F,Q){const ce=Ni(),we=function ld(i,a,c,_,T,F,Q,ce){const rt=dh(i,Xn(),c,T,Q);return pe(3),rt?a+nt(c)+_+nt(T)+F+nt(Q)+ce:ir}(ce,i,a,c,_,T,F,Q);return we!==ir&&Rc(ce,lo(),we),U6}function G6(i,a,c,_,T,F,Q,ce,we){const rt=Ni(),Tt=b2(rt,i,a,c,_,T,F,Q,ce,we);return Tt!==ir&&Rc(rt,lo(),Tt),G6}function Z6(i,a,c,_,T){if(i=ke(i),Array.isArray(i))for(let F=0;F<i.length;F++)Z6(i[F],a,c,_,T);else{const F=or(),Q=Ni(),ce=_r();let we=Sc(i)?i:ke(i.provide);const rt=J2(i),Tt=1048575&ce.providerIndexes,Bt=ce.directiveStart,ri=ce.providerIndexes>>20;if(Sc(i)||!i.multi){const ui=new bc(rt,T,id),Ri=W6(we,a,T?Tt:Tt+ri,Bt);-1===Ri?(H2(Xc(ce,Q),F,we),W4(F,i,a.length),a.push(we),ce.directiveStart++,ce.directiveEnd++,T&&(ce.providerIndexes+=1048576),c.push(ui),Q.push(ui)):(c[Ri]=ui,Q[Ri]=ui)}else{const ui=W6(we,a,Tt+ri,Bt),Ri=W6(we,a,Tt,Tt+ri),dn=Ri>=0&&c[Ri];if(T&&!dn||!T&&!(ui>=0&&c[ui])){H2(Xc(ce,Q),F,we);const yn=function Ib(i,a,c,_,T){const F=new bc(i,c,id);return F.multi=[],F.index=a,F.componentProviders=0,O_(F,T,_&&!c),F}(T?P_:Lb,c.length,T,_,rt);!T&&dn&&(c[Ri].providerFactory=yn),W4(F,i,a.length,0),a.push(we),ce.directiveStart++,ce.directiveEnd++,T&&(ce.providerIndexes+=1048576),c.push(yn),Q.push(yn)}else W4(F,i,ui>-1?ui:Ri,O_(c[T?Ri:ui],rt,!T&&_));!T&&_&&dn&&c[Ri].componentProviders++}}}function W4(i,a,c,_){const T=Sc(a),F=function X2(i){return!!i.useClass}(a);if(T||F){const we=(F?ke(a.useClass):a).prototype.ngOnDestroy;if(we){const rt=i.destroyHooks||(i.destroyHooks=[]);if(!T&&a.multi){const Tt=rt.indexOf(c);-1===Tt?rt.push(c,[_,we]):rt[Tt+1].push(_,we)}else rt.push(c,we)}}}function O_(i,a,c){return c&&i.componentProviders++,i.multi.push(a)-1}function W6(i,a,c,_){for(let T=c;T<_;T++)if(a[T]===i)return T;return-1}function Lb(i,a,c,_){return Y6(this.multi,[])}function P_(i,a,c,_){const T=this.multi;let F;if(this.providerFactory){const Q=this.providerFactory.componentProviders,ce=tc(c,c[vt],this.providerFactory.index,_);F=ce.slice(0,Q),Y6(T,F);for(let we=Q;we<ce.length;we++)F.push(ce[we])}else F=[],Y6(T,F);return F}function Y6(i,a){for(let c=0;c<i.length;c++)a.push((0,i[c])());return a}function j6(i,a=[]){return c=>{c.providersResolver=(_,T)=>function k_(i,a,c){const _=or();if(_.firstCreatePass){const T=co(i);Z6(c,_.data,_.blueprint,T,!0),Z6(a,_.data,_.blueprint,T,!1)}}(_,T?T(i):i,a)}}class A2{}class R_{}function Y4(i,a){return new K6(i,a??null,[])}class K6 extends A2{constructor(a,c,_){super(),this._parent=c,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Op(this);const T=cr(a);this._bootstrapComponents=Wo(T.bootstrap),this._r3Injector=Nd(a,c,[{provide:A2,useValue:this},{provide:q0,useValue:this.componentFactoryResolver},..._],kt(a),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(a)}get injector(){return this._r3Injector}destroy(){const a=this._r3Injector;!a.destroyed&&a.destroy(),this.destroyCbs.forEach(c=>c()),this.destroyCbs=null}onDestroy(a){this.destroyCbs.push(a)}}class Q6 extends R_{constructor(a){super(),this.moduleType=a}create(a){return new K6(this.moduleType,a,[])}}class N_ extends A2{constructor(a){super(),this.componentFactoryResolver=new Op(this),this.instance=null;const c=new il([...a.providers,{provide:A2,useValue:this},{provide:q0,useValue:this.componentFactoryResolver}],a.parent||I1(),a.debugName,new Set(["environment"]));this.injector=c,a.runEnvironmentInitializers&&c.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(a){this.injector.onDestroy(a)}}function q6(i,a,c=null){return new N_({providers:i,parent:a,debugName:c,runEnvironmentInitializers:!0}).injector}let Ob=(()=>{class i{constructor(c){this._injector=c,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(c){if(!c.standalone)return null;if(!this.cachedInjectors.has(c)){const _=Q2(0,c.type),T=_.length>0?q6([_],this._injector,`Standalone[${c.type.name}]`):null;this.cachedInjectors.set(c,T)}return this.cachedInjectors.get(c)}ngOnDestroy(){try{for(const c of this.cachedInjectors.values())null!==c&&c.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=St({token:i,providedIn:"environment",factory:()=>new i(gr(fs))})}return i})();function H_(i){o1("NgStandalone"),i.getStandaloneInjector=a=>a.get(Ob).getOrCreateStandaloneInjector(i)}function W_(i,a,c){const _=sr()+i,T=Ni();return T[_]===ir?hc(T,_,c?a.call(c):a()):function lh(i,a){return i[a]}(T,_)}function Y_(i,a,c,_){return Q_(Ni(),sr(),i,a,c,_)}function Q4(i,a,c,_,T){return q_(Ni(),sr(),i,a,c,_,T)}function j_(i,a,c,_,T,F){return tg(Ni(),sr(),i,a,c,_,T,F)}function Sf(i,a){const c=i[a];return c===ir?void 0:c}function Q_(i,a,c,_,T,F){const Q=a+c;return to(i,Q,T)?hc(i,Q+1,F?_.call(F,T):_(T)):Sf(i,Q+1)}function q_(i,a,c,_,T,F,Q){const ce=a+c;return sd(i,ce,T,F)?hc(i,ce+2,Q?_.call(Q,T,F):_(T,F)):Sf(i,ce+2)}function tg(i,a,c,_,T,F,Q,ce){const we=a+c;return dh(i,we,T,F,Q)?hc(i,we+3,ce?_.call(ce,T,F,Q):_(T,F,Q)):Sf(i,we+3)}function X_(i,a){const c=or();let _;const T=i+An;c.firstCreatePass?(_=function Wb(i,a){if(a)for(let c=a.length-1;c>=0;c--){const _=a[c];if(i===_.name)return _}}(a,c.pipeRegistry),c.data[T]=_,_.onDestroy&&(c.destroyHooks??=[]).push(T,_.onDestroy)):_=c.data[T];const F=_.factory||(_.factory=Di(_.type)),ce=Oe(id);try{const we=b1(!1),rt=F();return b1(we),function xb(i,a,c,_){c>=i.data.length&&(i.data[c]=null,i.blueprint[c]=null),a[c]=_}(c,Ni(),T,rt),rt}finally{Oe(ce)}}function ng(i,a,c){const _=i+An,T=Ni(),F=ks(T,_);return Eh(T,_)?Q_(T,sr(),a,F.transform,c,F):F.transform(c)}function J_(i,a,c,_){const T=i+An,F=Ni(),Q=ks(F,T);return Eh(F,T)?q_(F,sr(),a,Q.transform,c,_,Q):Q.transform(c,_)}function $_(i,a,c,_,T){const F=i+An,Q=Ni(),ce=ks(Q,F);return Eh(Q,F)?tg(Q,sr(),a,ce.transform,c,_,T,ce):ce.transform(c,_,T)}function Eh(i,a){return i[vt].data[a].pure}function Qb(){return this._results[Symbol.iterator]()}class Ef{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new zs)}constructor(a=!1){this._emitDistinctChangesOnly=a,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const c=Ef.prototype;c[Symbol.iterator]||(c[Symbol.iterator]=Qb)}get(a){return this._results[a]}map(a){return this._results.map(a)}filter(a){return this._results.filter(a)}find(a){return this._results.find(a)}reduce(a,c){return this._results.reduce(a,c)}forEach(a){this._results.forEach(a)}some(a){return this._results.some(a)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(a,c){this.dirty=!1;const _=function Zo(i){return i.flat(Number.POSITIVE_INFINITY)}(a);(this._changesDetected=!function Wf(i,a,c){if(i.length!==a.length)return!1;for(let _=0;_<i.length;_++){let T=i[_],F=a[_];if(c&&(T=c(T),F=c(F)),F!==T)return!1}return!0}(this._results,_,c))&&(this._results=_,this.length=_.length,this.last=_[this.length-1],this.first=_[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let D2=(()=>{class i{static#e=this.__NG_ELEMENT_ID__=Jb}return i})();const qb=D2,Xb=class extends qb{constructor(a,c,_){super(),this._declarationLView=a,this._declarationTContainer=c,this.elementRef=_}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(a,c){return this.createEmbeddedViewImpl(a,c)}createEmbeddedViewImpl(a,c,_){const T=mf(this._declarationLView,this._declarationTContainer,a,{injector:c,dehydratedView:_});return new rd(T)}};function Jb(){return X4(_r(),Ni())}function X4(i,a){return 4&i.type?new Xb(a,i,c2(i,a)):null}class rg{constructor(a){this.queryList=a,this.matches=null}clone(){return new rg(this.queryList)}setDirty(){this.queryList.setDirty()}}class Tf{constructor(a=[]){this.queries=a}createEmbeddedView(a){const c=a.queries;if(null!==c){const _=null!==a.contentQueries?a.contentQueries[0]:c.length,T=[];for(let F=0;F<_;F++){const Q=c.getByIndex(F);T.push(this.queries[Q.indexInDeclarationView].clone())}return new Tf(T)}return null}insertView(a){this.dirtyQueriesWithMatches(a)}detachView(a){this.dirtyQueriesWithMatches(a)}dirtyQueriesWithMatches(a){for(let c=0;c<this.queries.length;c++)null!==$4(a,c).matches&&this.queries[c].setDirty()}}class e7{constructor(a,c,_=null){this.predicate=a,this.flags=c,this.read=_}}class ag{constructor(a=[]){this.queries=a}elementStart(a,c){for(let _=0;_<this.queries.length;_++)this.queries[_].elementStart(a,c)}elementEnd(a){for(let c=0;c<this.queries.length;c++)this.queries[c].elementEnd(a)}embeddedTView(a){let c=null;for(let _=0;_<this.length;_++){const T=null!==c?c.length:0,F=this.getByIndex(_).embeddedTView(a,T);F&&(F.indexInDeclarationView=_,null!==c?c.push(F):c=[F])}return null!==c?new ag(c):null}template(a,c){for(let _=0;_<this.queries.length;_++)this.queries[_].template(a,c)}getByIndex(a){return this.queries[a]}get length(){return this.queries.length}track(a){this.queries.push(a)}}class og{constructor(a,c=-1){this.metadata=a,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=c}elementStart(a,c){this.isApplyingToNode(c)&&this.matchTNode(a,c)}elementEnd(a){this._declarationNodeIndex===a.index&&(this._appliesToNextNode=!1)}template(a,c){this.elementStart(a,c)}embeddedTView(a,c){return this.isApplyingToNode(a)?(this.crossesNgTemplate=!0,this.addMatch(-a.index,c),new og(this.metadata)):null}isApplyingToNode(a){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const c=this._declarationNodeIndex;let _=a.parent;for(;null!==_&&8&_.type&&_.index!==c;)_=_.parent;return c===(null!==_?_.index:-1)}return this._appliesToNextNode}matchTNode(a,c){const _=this.metadata.predicate;if(Array.isArray(_))for(let T=0;T<_.length;T++){const F=_[T];this.matchTNodeWithReadOption(a,c,$b(c,F)),this.matchTNodeWithReadOption(a,c,C1(c,a,F,!1,!1))}else _===D2?4&c.type&&this.matchTNodeWithReadOption(a,c,-1):this.matchTNodeWithReadOption(a,c,C1(c,a,_,!1,!1))}matchTNodeWithReadOption(a,c,_){if(null!==_){const T=this.metadata.read;if(null!==T)if(T===l2||T===g4||T===D2&&4&c.type)this.addMatch(c.index,-2);else{const F=C1(c,a,T,!1,!1);null!==F&&this.addMatch(c.index,F)}else this.addMatch(c.index,_)}}addMatch(a,c){null===this.matches?this.matches=[a,c]:this.matches.push(a,c)}}function $b(i,a){const c=i.localNames;if(null!==c)for(let _=0;_<c.length;_+=2)if(c[_]===a)return c[_+1];return null}function ey(i,a,c,_){return-1===c?function t7(i,a){return 11&i.type?c2(i,a):4&i.type?X4(i,a):null}(a,i):-2===c?function ty(i,a,c){return c===l2?c2(a,i):c===D2?X4(a,i):c===g4?a6(a,i):void 0}(i,a,_):tc(i,i[vt],c,a)}function i7(i,a,c,_){const T=a[Ta].queries[_];if(null===T.matches){const F=i.data,Q=c.matches,ce=[];for(let we=0;we<Q.length;we+=2){const rt=Q[we];ce.push(rt<0?null:ey(a,F[rt],Q[we+1],c.metadata.read))}T.matches=ce}return T.matches}function J4(i,a,c,_){const T=i.queries.getByIndex(c),F=T.matches;if(null!==F){const Q=i7(i,a,T,c);for(let ce=0;ce<F.length;ce+=2){const we=F[ce];if(we>0)_.push(Q[ce/2]);else{const rt=F[ce+1],Tt=a[-we];for(let Bt=Ki;Bt<Tt.length;Bt++){const ri=Tt[Bt];ri[Do]===ri[Fi]&&J4(ri[vt],ri,rt,_)}if(null!==Tt[ss]){const Bt=Tt[ss];for(let ri=0;ri<Bt.length;ri++){const ui=Bt[ri];J4(ui[vt],ui,rt,_)}}}}}return _}function n7(i){const a=Ni(),c=or(),_=Li();Ai(_+1);const T=$4(c,_);if(i.dirty&&function k2(i){return 4==(4&i[qt])}(a)===(2==(2&T.metadata.flags))){if(null===T.matches)i.reset([]);else{const F=T.crossesNgTemplate?J4(c,a,_,[]):i7(c,a,T,_);i.reset(F,Kg),i.notifyOnChanges()}return!0}return!1}function r7(i,a,c){const _=or();_.firstCreatePass&&(s7(_,new e7(i,a,c),-1),2==(2&a)&&(_.staticViewQueries=!0)),sg(_,Ni(),a)}function a7(i,a,c,_){const T=or();if(T.firstCreatePass){const F=_r();s7(T,new e7(a,c,_),F.index),function ny(i,a){const c=i.contentQueries||(i.contentQueries=[]);a!==(c.length?c[c.length-1]:-1)&&c.push(i.queries.length-1,a)}(T,i),2==(2&c)&&(T.staticContentQueries=!0)}sg(T,Ni(),c)}function o7(){return function iy(i,a){return i[Ta].queries[a].queryList}(Ni(),Li())}function sg(i,a,c){const _=new Ef(4==(4&c));(function pp(i,a,c,_){const T=nd(a);T.push(c),i.firstCreatePass&&eh(i).push(_,T.length-1)})(i,a,_,_.destroy),null===a[Ta]&&(a[Ta]=new Tf),a[Ta].queries.push(new rg(_))}function s7(i,a,c){null===i.queries&&(i.queries=new ag),i.queries.track(new og(a,c))}function $4(i,a){return i.queries.getByIndex(a)}function c7(i,a){return X4(i,a)}const gg=new hn("Application Initializer");let _g=(()=>{class i{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((c,_)=>{this.resolve=c,this.reject=_}),this.appInits=Kn(gg,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const c=[];for(const T of this.appInits){const F=T();if(k6(F))c.push(F);else if(O6(F)){const Q=new Promise((ce,we)=>{F.subscribe({complete:ce,error:we})});c.push(Q)}}const _=()=>{this.done=!0,this.resolve()};Promise.all(c).then(()=>{_()}).catch(T=>{this.reject(T)}),0===c.length&&_(),this.initialized=!0}static#e=this.\u0275fac=function(_){return new(_||i)};static#t=this.\u0275prov=St({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),E7=(()=>{class i{log(c){console.log(c)}warn(c){console.warn(c)}static#e=this.\u0275fac=function(_){return new(_||i)};static#t=this.\u0275prov=St({token:i,factory:i.\u0275fac,providedIn:"platform"})}return i})();const nm=new hn("LocaleId",{providedIn:"root",factory:()=>Kn(nm,vi.Optional|vi.SkipSelf)||function T7(){return typeof $localize<"u"&&$localize.locale||Ch}()}),xy=new hn("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let D7=(()=>{class i{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new oe.X(!1)}add(){this.hasPendingTasks.next(!0);const c=this.taskId++;return this.pendingTasks.add(c),c}remove(c){this.pendingTasks.delete(c),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(_){return new(_||i)};static#t=this.\u0275prov=St({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();class Sy{constructor(a,c){this.ngModuleFactory=a,this.componentFactories=c}}let Ey=(()=>{class i{compileModuleSync(c){return new Q6(c)}compileModuleAsync(c){return Promise.resolve(this.compileModuleSync(c))}compileModuleAndAllComponentsSync(c){const _=this.compileModuleSync(c),F=Wo(cr(c).declarations).reduce((Q,ce)=>{const we=ii(ce);return we&&Q.push(new od(we)),Q},[]);return new Sy(_,F)}compileModuleAndAllComponentsAsync(c){return Promise.resolve(this.compileModuleAndAllComponentsSync(c))}clearCache(){}clearCacheFor(c){}getModuleId(c){}static#e=this.\u0275fac=function(_){return new(_||i)};static#t=this.\u0275prov=St({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();const N7=new hn(""),yg=new hn("");let xg,Qy=(()=>{class i{constructor(c,_,T){this._ngZone=c,this.registry=_,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,xg||(function qy(i){xg=i}(T),T.addToWindow(_)),this._watchAngularEvents(),c.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{fo.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let c=this._callbacks.pop();clearTimeout(c.timeoutId),c.doneCb(this._didWork)}this._didWork=!1});else{let c=this.getPendingTasks();this._callbacks=this._callbacks.filter(_=>!_.updateCb||!_.updateCb(c)||(clearTimeout(_.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(c=>({source:c.source,creationLocation:c.creationLocation,data:c.data})):[]}addCallback(c,_,T){let F=-1;_&&_>0&&(F=setTimeout(()=>{this._callbacks=this._callbacks.filter(Q=>Q.timeoutId!==F),c(this._didWork,this.getPendingTasks())},_)),this._callbacks.push({doneCb:c,timeoutId:F,updateCb:T})}whenStable(c,_,T){if(T&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(c,_,T),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(c){this.registry.registerApplication(c,this)}unregisterApplication(c){this.registry.unregisterApplication(c)}findProviders(c,_,T){return[]}static#e=this.\u0275fac=function(_){return new(_||i)(gr(fo),gr(H7),gr(yg))};static#t=this.\u0275prov=St({token:i,factory:i.\u0275fac})}return i})(),H7=(()=>{class i{constructor(){this._applications=new Map}registerApplication(c,_){this._applications.set(c,_)}unregisterApplication(c){this._applications.delete(c)}unregisterAllApplications(){this._applications.clear()}getTestability(c){return this._applications.get(c)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(c,_=!0){return xg?.findTestabilityInTree(this,c,_)??null}static#e=this.\u0275fac=function(_){return new(_||i)};static#t=this.\u0275prov=St({token:i,factory:i.\u0275fac,providedIn:"platform"})}return i})(),_d=null;const Cg=new hn("AllowMultipleToken"),am=new hn("PlatformDestroyListeners"),wg=new hn("appBootstrapListener");function F7(i,a,c=[]){const _=`Platform: ${a}`,T=new hn(_);return(F=[])=>{let Q=Tg();if(!Q||Q.injector.get(Cg,!1)){const ce=[...c,...F,{provide:T,useValue:!0}];i?i(ce):function ex(i){if(_d&&!_d.get(Cg,!1))throw new te(400,!1);(function Mg(){!function O(i){w=i}(()=>{throw new te(600,!1)})})(),_d=i;const a=i.get(z7);(function Sg(i){i.get(h0,null)?.forEach(c=>c())})(i)}(function Eg(i=[],a){return ms.create({name:a,providers:[{provide:D1,useValue:"platform"},{provide:am,useValue:new Set([()=>_d=null])},...i]})}(ce,_))}return function ix(i){const a=Tg();if(!a)throw new te(401,!1);return a}()}}function Tg(){return _d?.get(z7)??null}let z7=(()=>{class i{constructor(c){this._injector=c,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(c,_){const T=function B7(i="zone.js",a){return"noop"===i?new Ap:"zone.js"===i?new fo(a):i}(_?.ngZone,function V7(i){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:i?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:i?.runCoalescing??!1}}({eventCoalescing:_?.ngZoneEventCoalescing,runCoalescing:_?.ngZoneRunCoalescing}));return T.run(()=>{const F=function kb(i,a,c){return new K6(i,a,c)}(c.moduleType,this.injector,function W7(i){return[{provide:fo,useFactory:i},{provide:nc,multi:!0,useFactory:()=>{const a=Kn(rx,{optional:!0});return()=>a.initialize()}},{provide:Z7,useFactory:nx},{provide:Dp,useFactory:Lp}]}(()=>T)),Q=F.injector.get(n1,null);return T.runOutsideAngular(()=>{const ce=T.onError.subscribe({next:we=>{Q.handleError(we)}});F.onDestroy(()=>{om(this._modules,F),ce.unsubscribe()})}),function U7(i,a,c){try{const _=c();return k6(_)?_.catch(T=>{throw a.runOutsideAngular(()=>i.handleError(T)),T}):_}catch(_){throw a.runOutsideAngular(()=>i.handleError(_)),_}}(Q,T,()=>{const ce=F.injector.get(_g);return ce.runInitializers(),ce.donePromise.then(()=>(function N5(i){Qi(i,"Expected localeId to be defined"),"string"==typeof i&&(w6=i.toLowerCase().replace(/_/g,"-"))}(F.injector.get(nm,Ch)||Ch),this._moduleDoBootstrap(F),F))})})}bootstrapModule(c,_=[]){const T=G7({},_);return function Xy(i,a,c){const _=new Q6(c);return Promise.resolve(_)}(0,0,c).then(F=>this.bootstrapModuleFactory(F,T))}_moduleDoBootstrap(c){const _=c.injector.get(Dh);if(c._bootstrapComponents.length>0)c._bootstrapComponents.forEach(T=>_.bootstrap(T));else{if(!c.instance.ngDoBootstrap)throw new te(-403,!1);c.instance.ngDoBootstrap(_)}this._modules.push(c)}onDestroy(c){this._destroyListeners.push(c)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new te(404,!1);this._modules.slice().forEach(_=>_.destroy()),this._destroyListeners.forEach(_=>_());const c=this._injector.get(am,null);c&&(c.forEach(_=>_()),c.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(_){return new(_||i)(gr(ms))};static#t=this.\u0275prov=St({token:i,factory:i.\u0275fac,providedIn:"platform"})}return i})();function G7(i,a){return Array.isArray(a)?a.reduce(G7,i):{...i,...a}}let Dh=(()=>{class i{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Kn(Z7),this.zoneIsStable=Kn(Dp),this.componentTypes=[],this.components=[],this.isStable=Kn(D7).hasPendingTasks.pipe((0,Ge.w)(c=>c?(0,ve.of)(!1):this.zoneIsStable),(0,We.x)(),(0,le.B)()),this._injector=Kn(fs)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(c,_){const T=c instanceof p3;if(!this._injector.get(_g).done)throw!T&&rr(c),new te(405,!1);let Q;Q=T?c:this._injector.get(q0).resolveComponentFactory(c),this.componentTypes.push(Q.componentType);const ce=function Jy(i){return i.isBoundToModule}(Q)?void 0:this._injector.get(A2),rt=Q.create(ms.NULL,[],_||Q.selector,ce),Tt=rt.location.nativeElement,Bt=rt.injector.get(N7,null);return Bt?.registerApplication(Tt),rt.onDestroy(()=>{this.detachView(rt.hostView),om(this.components,rt),Bt?.unregisterApplication(Tt)}),this._loadComponent(rt),rt}tick(){if(this._runningTick)throw new te(101,!1);try{this._runningTick=!0;for(let c of this._views)c.detectChanges()}catch(c){this.internalErrorHandler(c)}finally{this._runningTick=!1}}attachView(c){const _=c;this._views.push(_),_.attachToAppRef(this)}detachView(c){const _=c;om(this._views,_),_.detachFromAppRef()}_loadComponent(c){this.attachView(c.hostView),this.tick(),this.components.push(c);const _=this._injector.get(wg,[]);[...this._bootstrapListeners,..._].forEach(T=>T(c))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(c=>c()),this._views.slice().forEach(c=>c.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(c){return this._destroyListeners.push(c),()=>om(this._destroyListeners,c)}destroy(){if(this._destroyed)throw new te(406,!1);const c=this._injector;c.destroy&&!c.destroyed&&c.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(_){return new(_||i)};static#t=this.\u0275prov=St({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function om(i,a){const c=i.indexOf(a);c>-1&&i.splice(c,1)}const Z7=new hn("",{providedIn:"root",factory:()=>Kn(n1).handleError.bind(void 0)});function nx(){const i=Kn(fo),a=Kn(n1);return c=>i.runOutsideAngular(()=>a.handleError(c))}let rx=(()=>{class i{constructor(){this.zone=Kn(fo),this.applicationRef=Kn(Dh)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(_){return new(_||i)};static#t=this.\u0275prov=St({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function cx(){return!1}const mx=F7(null,"core",[]);let q7=(()=>{class i{constructor(c){}static#e=this.\u0275fac=function(_){return new(_||i)(gr(Dh))};static#t=this.\u0275mod=Ao({type:i});static#i=this.\u0275inj=Dt({})}return i})();function _v(i){return"boolean"==typeof i?i:null!=i&&"false"!==i}function vv(i,a=NaN){return isNaN(parseFloat(i))||isNaN(Number(i))?a:Number(i)}function Nx(i){const a=ii(i);if(!a)return null;const c=new od(a);return{get selector(){return c.selector},get type(){return c.componentType},get inputs(){return c.inputs},get outputs(){return c.outputs},get ngContentSelectors(){return c.ngContentSelectors},get isStandalone(){return a.standalone},get isSignal(){return a.signals}}}},1993:(ze,q,p)=>{"use strict";p.d(q,{O4:()=>A});var e=p(9212);function A(l,x){const m=!x?.manualCleanup;m&&!x?.injector&&(0,e.gHi)(A);const P=m?x?.injector?.get(e.ktI)??(0,e.f3M)(e.ktI):null;let d;d=(0,e.tdS)(x?.requireSync?{kind:0}:{kind:1,value:x?.initialValue});const E=l.subscribe({next:M=>d.set({kind:1,value:M}),error:M=>{if(x?.rejectErrors)throw M;d.set({kind:2,error:M})}});return P?.onDestroy(E.unsubscribe.bind(E)),(0,e.Flj)(()=>{const M=d();switch(M.kind){case 1:return M.value;case 2:throw M.error;case 0:throw new e.vHH(601,"`toSignal()` called with `requireSync` but `Observable` did not emit synchronously.")}})}},5766:(ze,q,p)=>{"use strict";function e(E){for(let M in E){let I=E[M]??"";switch(M){case"display":E.display="flex"===I?["-webkit-flex","flex"]:"inline-flex"===I?["-webkit-inline-flex","inline-flex"]:I;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":E["-webkit-"+M]=I;break;case"flex-direction":E["-webkit-flex-direction"]=I,E["flex-direction"]=I;break;case"order":E.order=E["-webkit-"+M]=isNaN(+I)?"0":I}}return E}p.d(q,{Ar:()=>A,GK:()=>e,iQ:()=>y,kt:()=>d,tj:()=>x});const t="inline",y=["row","column","row-reverse","column-reverse"];function A(E){let[M,I,k]=l(E);return function P(E,M=null,I=!1){return{display:I?"inline-flex":"flex","box-sizing":"border-box","flex-direction":E,"flex-wrap":M||null}}(M,I,k)}function l(E){E=E?.toLowerCase()??"";let[M,I,k]=E.split(" ");return y.find(V=>V===M)||(M=y[0]),I===t&&(I=k!==t?k:"",k=t),[M,m(I),!!k]}function x(E){let[M]=l(E);return M.indexOf("row")>-1}function m(E){if(E)switch(E.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":E="wrap-reverse";break;case"no":case"none":case"nowrap":E="nowrap";break;default:E="wrap"}return E}function d(E,...M){if(null==E)throw TypeError("Cannot convert undefined or null to object");for(let I of M)if(null!=I)for(let k in I)I.hasOwnProperty(k)&&(E[k]=I[k]);return E}},1462:(ze,q,p)=>{"use strict";p.d(q,{Bs:()=>X,FL:()=>te,IR:()=>k,Ot:()=>Ke,QI:()=>ae,RK:()=>fe,WU:()=>j,g5:()=>W,iR:()=>wt,wY:()=>K,yB:()=>Ge});var e=p(9212),t=p(6814),y=p(5619),A=p(5592),l=p(3019),x=p(8645),m=p(5766),P=p(2181),d=p(9397);const M={provide:e.tb,useFactory:function E(Pe,$t){return()=>{if((0,t.NF)($t)){const Ze=Array.from(Pe.querySelectorAll(`[class*=${I}]`)),Qe=/\bflex-layout-.+?\b/g;Ze.forEach(zt=>{zt.classList.contains(`${I}ssr`)&&zt.parentNode?zt.parentNode.removeChild(zt):zt.className.replace(Qe,"")})}}},deps:[t.K0,e.Lbi],multi:!0},I="flex-layout-";let k=(()=>{class Pe{}return Pe.\u0275fac=function(Ze){return new(Ze||Pe)},Pe.\u0275mod=e.oAB({type:Pe}),Pe.\u0275inj=e.cJS({providers:[M]}),Pe})();class V{constructor($t=!1,Ze="all",Qe="",zt="",xt=0){this.matches=$t,this.mediaQuery=Ze,this.mqAlias=Qe,this.suffix=zt,this.priority=xt,this.property=""}clone(){return new V(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let B=(()=>{class Pe{constructor(){this.stylesheet=new Map}addStyleToElement(Ze,Qe,zt){const xt=this.stylesheet.get(Ze);xt?xt.set(Qe,zt):this.stylesheet.set(Ze,new Map([[Qe,zt]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(Ze,Qe){const zt=this.stylesheet.get(Ze);let xt="";if(zt){const Ot=zt.get(Qe);("number"==typeof Ot||"string"==typeof Ot)&&(xt=Ot+"")}return xt}}return Pe.\u0275fac=function(Ze){return new(Ze||Pe)},Pe.\u0275prov=e.Yz7({token:Pe,factory:Pe.\u0275fac,providedIn:"root"}),Pe})();const W={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},j=new e.OlP("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>W}),K=new e.OlP("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),X=new e.OlP("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function ie(Pe,$t){return Pe=Pe?.clone()??new V,$t&&(Pe.mqAlias=$t.alias,Pe.mediaQuery=$t.mediaQuery,Pe.suffix=$t.suffix,Pe.priority=$t.priority),Pe}class ae{constructor(){this.shouldCache=!0}sideEffect($t,Ze,Qe){}}let fe=(()=>{class Pe{constructor(Ze,Qe,zt,xt){this._serverStylesheet=Ze,this._serverModuleLoaded=Qe,this._platformId=zt,this.layoutConfig=xt}applyStyleToElement(Ze,Qe,zt=null){let xt={};"string"==typeof Qe&&(xt[Qe]=zt,Qe=xt),xt=this.layoutConfig.disableVendorPrefixes?Qe:(0,m.GK)(Qe),this._applyMultiValueStyleToElement(xt,Ze)}applyStyleToElements(Ze,Qe=[]){const zt=this.layoutConfig.disableVendorPrefixes?Ze:(0,m.GK)(Ze);Qe.forEach(xt=>{this._applyMultiValueStyleToElement(zt,xt)})}getFlowDirection(Ze){const Qe="flex-direction";let zt=this.lookupStyle(Ze,Qe);return[zt||"row",this.lookupInlineStyle(Ze,Qe)||(0,t.PM)(this._platformId)&&this._serverModuleLoaded?zt:""]}hasWrap(Ze){return"wrap"===this.lookupStyle(Ze,"flex-wrap")}lookupAttributeValue(Ze,Qe){return Ze.getAttribute(Qe)??""}lookupInlineStyle(Ze,Qe){return(0,t.NF)(this._platformId)?Ze.style.getPropertyValue(Qe):function se(Pe,$t){return ue(Pe)[$t]??""}(Ze,Qe)}lookupStyle(Ze,Qe,zt=!1){let xt="";return Ze&&((xt=this.lookupInlineStyle(Ze,Qe))||((0,t.NF)(this._platformId)?zt||(xt=getComputedStyle(Ze).getPropertyValue(Qe)):this._serverModuleLoaded&&(xt=this._serverStylesheet.getStyleForElement(Ze,Qe)))),xt?xt.trim():""}_applyMultiValueStyleToElement(Ze,Qe){Object.keys(Ze).sort().forEach(zt=>{const xt=Ze[zt],Ot=Array.isArray(xt)?xt:[xt];Ot.sort();for(let yt of Ot)yt=yt?yt+"":"",(0,t.NF)(this._platformId)||!this._serverModuleLoaded?(0,t.NF)(this._platformId)?Qe.style.setProperty(zt,yt):Me(Qe,zt,yt):this._serverStylesheet.addStyleToElement(Qe,zt,yt)})}}return Pe.\u0275fac=function(Ze){return new(Ze||Pe)(e.LFG(B),e.LFG(K),e.LFG(e.Lbi),e.LFG(j))},Pe.\u0275prov=e.Yz7({token:Pe,factory:Pe.\u0275fac,providedIn:"root"}),Pe})();function Me(Pe,$t,Ze){$t=$t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const Qe=ue(Pe);Qe[$t]=Ze??"",function $(Pe,$t){let Ze="";for(const Qe in $t)$t[Qe]&&(Ze+=`${Qe}:${$t[Qe]};`);Pe.setAttribute("style",Ze)}(Pe,Qe)}function ue(Pe){const $t={},Ze=Pe.getAttribute("style");if(Ze){const Qe=Ze.split(/;+/g);for(let zt=0;zt<Qe.length;zt++){const xt=Qe[zt].trim();if(xt.length>0){const Ot=xt.indexOf(":");if(-1===Ot)throw new Error(`Invalid CSS style: ${xt}`);$t[xt.substr(0,Ot).trim()]=xt.substr(Ot+1).trim()}}}return $t}function S(Pe,$t){return($t&&$t.priority||0)-(Pe&&Pe.priority||0)}function n(Pe,$t){return(Pe.priority||0)-($t.priority||0)}let s=(()=>{class Pe{constructor(Ze,Qe,zt){this._zone=Ze,this._platformId=Qe,this._document=zt,this.source=new y.X(new V(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const Ze=[];return this.registry.forEach((Qe,zt)=>{Qe.matches&&Ze.push(zt)}),Ze}isActive(Ze){return this.registry.get(Ze)?.matches??this.registerQuery(Ze).some(zt=>zt.matches)}observe(Ze,Qe=!1){if(Ze&&Ze.length){const zt=this._observable$.pipe((0,P.h)(Ot=>!Qe||Ze.indexOf(Ot.mediaQuery)>-1)),xt=new A.y(Ot=>{const yt=this.registerQuery(Ze);if(yt.length){const nt=yt.pop();yt.forEach(Ee=>{Ot.next(Ee)}),this.source.next(nt)}Ot.complete()});return(0,l.T)(xt,zt)}return this._observable$}registerQuery(Ze){const Qe=Array.isArray(Ze)?Ze:[Ze],zt=[];return function h(Pe,$t){const Ze=Pe.filter(Qe=>!f[Qe]);if(Ze.length>0){const Qe=Ze.join(", ");try{const zt=$t.createElement("style");zt.setAttribute("type","text/css"),zt.styleSheet||zt.appendChild($t.createTextNode(`\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${Qe} {.fx-query-test{ }}\n`)),$t.head.appendChild(zt),Ze.forEach(xt=>f[xt]=zt)}catch(zt){console.error(zt)}}}(Qe,this._document),Qe.forEach(xt=>{const Ot=nt=>{this._zone.run(()=>this.source.next(new V(nt.matches,xt)))};let yt=this.registry.get(xt);yt||(yt=this.buildMQL(xt),yt.addListener(Ot),this.pendingRemoveListenerFns.push(()=>yt.removeListener(Ot)),this.registry.set(xt,yt)),yt.matches&&zt.push(new V(!0,xt))}),zt}ngOnDestroy(){let Ze;for(;Ze=this.pendingRemoveListenerFns.pop();)Ze()}buildMQL(Ze){return function D(Pe,$t){return $t&&window.matchMedia("all").addListener?window.matchMedia(Pe):function w(Pe){const $t=new EventTarget;return $t.matches="all"===Pe||""===Pe,$t.media=Pe,$t.addListener=()=>{},$t.removeListener=()=>{},$t.addEventListener=()=>{},$t.dispatchEvent=()=>!1,$t.onchange=null,$t}(Pe)}(Ze,(0,t.NF)(this._platformId))}}return Pe.\u0275fac=function(Ze){return new(Ze||Pe)(e.LFG(e.R0b),e.LFG(e.Lbi),e.LFG(t.K0))},Pe.\u0275prov=e.Yz7({token:Pe,factory:Pe.\u0275fac,providedIn:"root"}),Pe})();const f={},O=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.98px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.98px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.98px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.98px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.98px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.98px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.98px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.98px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.98px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],v="(orientation: portrait) and (max-width: 599.98px)",r="(orientation: landscape) and (max-width: 959.98px)",g="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",H="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",N="(orientation: portrait) and (min-width: 840px)",ee="(orientation: landscape) and (min-width: 1280px)",De={HANDSET:`${v}, ${r}`,TABLET:`${g} , ${H}`,WEB:`${N}, ${ee} `,HANDSET_PORTRAIT:`${v}`,TABLET_PORTRAIT:`${g} `,WEB_PORTRAIT:`${N}`,HANDSET_LANDSCAPE:`${r}`,TABLET_LANDSCAPE:`${H}`,WEB_LANDSCAPE:`${ee}`},ot=[{alias:"handset",priority:2e3,mediaQuery:De.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:De.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:De.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:De.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:De.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:De.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:De.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:De.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:De.WEB_PORTRAIT,overlapping:!0}],je=/(\.|-|_)/g;function Je(Pe){let $t=Pe.length>0?Pe.charAt(0):"",Ze=Pe.length>1?Pe.slice(1):"";return $t.toUpperCase()+Ze}const xe=new e.OlP("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const Pe=(0,e.f3M)(X),$t=(0,e.f3M)(j),Ze=[].concat.apply([],(Pe||[]).map(zt=>Array.isArray(zt)?zt:[zt]));return function he(Pe,$t=[]){const Ze={};return Pe.forEach(Qe=>{Ze[Qe.alias]=Qe}),$t.forEach(Qe=>{Ze[Qe.alias]?(0,m.kt)(Ze[Qe.alias],Qe):Ze[Qe.alias]=Qe}),function me(Pe){return Pe.forEach($t=>{$t.suffix||($t.suffix=function ye(Pe){return Pe.replace(je,"|").split("|").map(Je).join("")}($t.alias),$t.overlapping=!!$t.overlapping)}),Pe}(Object.keys(Ze).map(Qe=>Ze[Qe]))}(($t.disableDefaultBps?[]:O).concat($t.addOrientationBps?ot:[]),Ze)}});let de=(()=>{class Pe{constructor(Ze){this.findByMap=new Map,this.items=[...Ze].sort(n)}findByAlias(Ze){return Ze?this.findWithPredicate(Ze,Qe=>Qe.alias===Ze):null}findByQuery(Ze){return this.findWithPredicate(Ze,Qe=>Qe.mediaQuery===Ze)}get overlappings(){return this.items.filter(Ze=>Ze.overlapping)}get aliases(){return this.items.map(Ze=>Ze.alias)}get suffixes(){return this.items.map(Ze=>Ze?.suffix??"")}findWithPredicate(Ze,Qe){let zt=this.findByMap.get(Ze);return zt||(zt=this.items.find(Qe)??null,this.findByMap.set(Ze,zt)),zt??null}}return Pe.\u0275fac=function(Ze){return new(Ze||Pe)(e.LFG(xe))},Pe.\u0275prov=e.Yz7({token:Pe,factory:Pe.\u0275fac,providedIn:"root"}),Pe})();const ge="print",qe={alias:ge,mediaQuery:ge,priority:1e3};let oe=(()=>{class Pe{constructor(Ze,Qe,zt){this.breakpoints=Ze,this.layoutConfig=Qe,this._document=zt,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new ve,this.deactivations=[]}withPrintQuery(Ze){return[...Ze,ge]}isPrintEvent(Ze){return Ze.mediaQuery.startsWith(ge)}get printAlias(){return[...this.layoutConfig.printWithBreakpoints??[]]}get printBreakPoints(){return this.printAlias.map(Ze=>this.breakpoints.findByAlias(Ze)).filter(Ze=>null!==Ze)}getEventBreakpoints({mediaQuery:Ze}){const Qe=this.breakpoints.findByQuery(Ze);return(Qe?[...this.printBreakPoints,Qe]:this.printBreakPoints).sort(S)}updateEvent(Ze){let Qe=this.breakpoints.findByQuery(Ze.mediaQuery);return this.isPrintEvent(Ze)&&(Qe=this.getEventBreakpoints(Ze)[0],Ze.mediaQuery=Qe?.mediaQuery??""),ie(Ze,Qe)}registerBeforeAfterPrintHooks(Ze){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const Qe=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(Ze,this.getEventBreakpoints(new V(!0,ge))),Ze.updateStyles())},zt=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(Ze),Ze.updateStyles())};this._document.defaultView.addEventListener("beforeprint",Qe),this._document.defaultView.addEventListener("afterprint",zt),this.beforePrintEventListeners.push(Qe),this.afterPrintEventListeners.push(zt)}interceptEvents(Ze){return Qe=>{this.isPrintEvent(Qe)?Qe.matches&&!this.isPrinting?(this.startPrinting(Ze,this.getEventBreakpoints(Qe)),Ze.updateStyles()):!Qe.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(Ze),Ze.updateStyles()):this.collectActivations(Ze,Qe)}}blockPropagation(){return Ze=>!(this.isPrinting||this.isPrintEvent(Ze))}startPrinting(Ze,Qe){this.isPrinting=!0,this.formerActivations=Ze.activatedBreakpoints,Ze.activatedBreakpoints=this.queue.addPrintBreakpoints(Qe)}stopPrinting(Ze){Ze.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(Ze,Qe){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent)return void(this.deactivations=[]);if(!Qe.matches){const zt=this.breakpoints.findByQuery(Qe.mediaQuery);if(zt){const xt=this.formerActivations&&this.formerActivations.includes(zt),Ot=!this.formerActivations&&Ze.activatedBreakpoints.includes(zt);(xt||Ot)&&(this.deactivations.push(zt),this.deactivations.sort(S))}}}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(Ze=>this._document.defaultView.removeEventListener("beforeprint",Ze)),this.afterPrintEventListeners.forEach(Ze=>this._document.defaultView.removeEventListener("afterprint",Ze)))}}return Pe.\u0275fac=function(Ze){return new(Ze||Pe)(e.LFG(de),e.LFG(j),e.LFG(t.K0))},Pe.\u0275prov=e.Yz7({token:Pe,factory:Pe.\u0275fac,providedIn:"root"}),Pe})();class ve{constructor(){this.printBreakpoints=[]}addPrintBreakpoints($t){return $t.push(qe),$t.sort(S),$t.forEach(Ze=>this.addBreakpoint(Ze)),this.printBreakpoints}addBreakpoint($t){$t&&void 0===this.printBreakpoints.find(Qe=>Qe.mediaQuery===$t.mediaQuery)&&(this.printBreakpoints=function le(Pe){return Pe?.mediaQuery.startsWith(ge)??!1}($t)?[$t,...this.printBreakpoints]:[...this.printBreakpoints,$t])}clear(){this.printBreakpoints=[]}}let Ge=(()=>{class Pe{constructor(Ze,Qe,zt){this.matchMedia=Ze,this.breakpoints=Qe,this.hook=zt,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 x.x,this.observeActivations()}get activatedAlias(){return this.activatedBreakpoints[0]?.alias??""}set activatedBreakpoints(Ze){this._activatedBreakpoints=[...Ze]}get activatedBreakpoints(){return[...this._activatedBreakpoints]}set useFallbacks(Ze){this._useFallbacks=Ze}onMediaChange(Ze){const Qe=this.findByQuery(Ze.mediaQuery);if(Qe){Ze=ie(Ze,Qe);const zt=this.activatedBreakpoints.indexOf(Qe);Ze.matches&&-1===zt?(this._activatedBreakpoints.push(Qe),this._activatedBreakpoints.sort(S),this.updateStyles()):!Ze.matches&&-1!==zt&&(this._activatedBreakpoints.splice(zt,1),this._activatedBreakpoints.sort(S),this.updateStyles())}}init(Ze,Qe,zt,xt,Ot=[]){We(this.updateMap,Ze,Qe,zt),We(this.clearMap,Ze,Qe,xt),this.buildElementKeyMap(Ze,Qe),this.watchExtraTriggers(Ze,Qe,Ot)}getValue(Ze,Qe,zt){const xt=this.elementMap.get(Ze);if(xt){const Ot=void 0!==zt?xt.get(zt):this.getActivatedValues(xt,Qe);if(Ot)return Ot.get(Qe)}}hasValue(Ze,Qe){const zt=this.elementMap.get(Ze);if(zt){const xt=this.getActivatedValues(zt,Qe);if(xt)return void 0!==xt.get(Qe)||!1}return!1}setValue(Ze,Qe,zt,xt){let Ot=this.elementMap.get(Ze);if(Ot){const nt=(Ot.get(xt)??new Map).set(Qe,zt);Ot.set(xt,nt),this.elementMap.set(Ze,Ot)}else Ot=(new Map).set(xt,(new Map).set(Qe,zt)),this.elementMap.set(Ze,Ot);const yt=this.getValue(Ze,Qe);void 0!==yt&&this.updateElement(Ze,Qe,yt)}trackValue(Ze,Qe){return this.subject.asObservable().pipe((0,P.h)(zt=>zt.element===Ze&&zt.key===Qe))}updateStyles(){this.elementMap.forEach((Ze,Qe)=>{const zt=new Set(this.elementKeyMap.get(Qe));let xt=this.getActivatedValues(Ze);xt&&xt.forEach((Ot,yt)=>{this.updateElement(Qe,yt,Ot),zt.delete(yt)}),zt.forEach(Ot=>{if(xt=this.getActivatedValues(Ze,Ot),xt){const yt=xt.get(Ot);this.updateElement(Qe,Ot,yt)}else this.clearElement(Qe,Ot)})})}clearElement(Ze,Qe){const zt=this.clearMap.get(Ze);if(zt){const xt=zt.get(Qe);xt&&(xt(),this.subject.next({element:Ze,key:Qe,value:""}))}}updateElement(Ze,Qe,zt){const xt=this.updateMap.get(Ze);if(xt){const Ot=xt.get(Qe);Ot&&(Ot(zt),this.subject.next({element:Ze,key:Qe,value:zt}))}}releaseElement(Ze){const Qe=this.watcherMap.get(Ze);Qe&&(Qe.forEach(xt=>xt.unsubscribe()),this.watcherMap.delete(Ze));const zt=this.elementMap.get(Ze);zt&&(zt.forEach((xt,Ot)=>zt.delete(Ot)),this.elementMap.delete(Ze))}triggerUpdate(Ze,Qe){const zt=this.elementMap.get(Ze);if(zt){const xt=this.getActivatedValues(zt,Qe);xt&&(Qe?this.updateElement(Ze,Qe,xt.get(Qe)):xt.forEach((Ot,yt)=>this.updateElement(Ze,yt,Ot)))}}buildElementKeyMap(Ze,Qe){let zt=this.elementKeyMap.get(Ze);zt||(zt=new Set,this.elementKeyMap.set(Ze,zt)),zt.add(Qe)}watchExtraTriggers(Ze,Qe,zt){if(zt&&zt.length){let xt=this.watcherMap.get(Ze);if(xt||(xt=new Map,this.watcherMap.set(Ze,xt)),!xt.get(Qe)){const yt=(0,l.T)(...zt).subscribe(()=>{const nt=this.getValue(Ze,Qe);this.updateElement(Ze,Qe,nt)});xt.set(Qe,yt)}}}findByQuery(Ze){return this.breakpoints.findByQuery(Ze)}getActivatedValues(Ze,Qe){for(let xt=0;xt<this.activatedBreakpoints.length;xt++){const yt=Ze.get(this.activatedBreakpoints[xt].alias);if(yt&&(void 0===Qe||yt.has(Qe)&&null!=yt.get(Qe)))return yt}if(!this._useFallbacks)return;const zt=Ze.get("");return void 0===Qe||zt&&zt.has(Qe)?zt:void 0}observeActivations(){const Ze=this.breakpoints.items.map(Qe=>Qe.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(Ze)).pipe((0,d.b)(this.hook.interceptEvents(this)),(0,P.h)(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return Pe.\u0275fac=function(Ze){return new(Ze||Pe)(e.LFG(s),e.LFG(de),e.LFG(oe))},Pe.\u0275prov=e.Yz7({token:Pe,factory:Pe.\u0275fac,providedIn:"root"}),Pe})();function We(Pe,$t,Ze,Qe){if(void 0!==Qe){const zt=Pe.get($t)??new Map;zt.set(Ze,Qe),Pe.set($t,zt)}}let wt=(()=>{class Pe{constructor(Ze,Qe,zt,xt){this.elementRef=Ze,this.styleBuilder=Qe,this.styler=zt,this.marshal=xt,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new x.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(Ze){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,Ze,this.marshal.activatedAlias)}ngOnChanges(Ze){Object.keys(Ze).forEach(Qe=>{if(-1!==this.inputs.indexOf(Qe)){const zt=Qe.split(".").slice(1).join(".");this.setValue(Ze[Qe].currentValue,zt)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(Ze=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),Ze)}addStyles(Ze,Qe){const zt=this.styleBuilder,xt=zt.shouldCache;let Ot=this.styleCache.get(Ze);(!Ot||!xt)&&(Ot=zt.buildStyles(Ze,Qe),xt&&this.styleCache.set(Ze,Ot)),this.mru={...Ot},this.applyStyleToElement(Ot),zt.sideEffect(Ze,Ot,Qe)}clearStyles(){Object.keys(this.mru).forEach(Ze=>{this.mru[Ze]=""}),this.applyStyleToElement(this.mru),this.mru={},this.currentValue=void 0}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(Ze,Qe=!1){if(Ze){const[zt,xt]=this.styler.getFlowDirection(Ze);if(!xt&&Qe){const Ot=(0,m.Ar)(zt);this.styler.applyStyleToElements(Ot,[Ze])}return zt.trim()}return"row"}hasWrap(Ze){return this.styler.hasWrap(Ze)}applyStyleToElement(Ze,Qe,zt=this.nativeElement){this.styler.applyStyleToElement(zt,Ze,Qe)}setValue(Ze,Qe){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,Ze,Qe)}updateWithValue(Ze){this.currentValue!==Ze&&(this.addStyles(Ze),this.currentValue=Ze)}}return Pe.\u0275fac=function(Ze){return new(Ze||Pe)(e.Y36(e.SBq),e.Y36(ae),e.Y36(fe),e.Y36(Ge))},Pe.\u0275dir=e.lG2({type:Pe,features:[e.TTD]}),Pe})();function Ke(Pe,$t="1",Ze="1"){let Qe=[$t,Ze,Pe],zt=Pe.indexOf("calc");if(zt>0){Qe[2]=Et(Pe.substring(zt).trim());let xt=Pe.substr(0,zt).trim().split(" ");2==xt.length&&(Qe[0]=xt[0],Qe[1]=xt[1])}else if(0==zt)Qe[2]=Et(Pe.trim());else{let xt=Pe.split(" ");Qe=3===xt.length?xt:[$t,Ze,Pe]}return Qe}function Et(Pe){return Pe.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}EventTarget;const ct="x";function te(Pe,$t){if(void 0===$t)return Pe;const Ze=Qe=>{const zt=+Qe.slice(0,-ct.length);return Pe.endsWith(ct)&&!isNaN(zt)?`${zt*$t.value}${$t.unit}`:Pe};return Pe.includes(" ")?Pe.split(" ").map(Ze).join(" "):Ze(Pe)}},7509:(ze,q,p)=>{"use strict";p.d(q,{Zl:()=>D,aT:()=>r,oO:()=>W});var e=p(9212),t=p(1462),y=p(6814),x=(p(2495),p(9773),p(6593));let k=(()=>{class g extends t.iR{constructor(N,ee,De,ot,je,Je,ye){super(N,null,ee,De),this.ngClassInstance=ye,this.DIRECTIVE_KEY="ngClass",this.ngClassInstance||(this.ngClassInstance=new y.mk(ot,je,N,Je)),this.init(),this.setValue("","")}set klass(N){this.ngClassInstance.klass=N,this.setValue(N,"")}updateWithValue(N){this.ngClassInstance.ngClass=N,this.ngClassInstance.ngDoCheck()}ngDoCheck(){this.ngClassInstance.ngDoCheck()}}return g.\u0275fac=function(N){return new(N||g)(e.Y36(e.SBq),e.Y36(t.RK),e.Y36(t.yB),e.Y36(e.ZZ4),e.Y36(e.aQg),e.Y36(e.Qsj),e.Y36(y.mk,10))},g.\u0275dir=e.lG2({type:g,inputs:{klass:["class","klass"]},features:[e.qOj]}),g})();const V=["ngClass","ngClass.xs","ngClass.sm","ngClass.md","ngClass.lg","ngClass.xl","ngClass.lt-sm","ngClass.lt-md","ngClass.lt-lg","ngClass.lt-xl","ngClass.gt-xs","ngClass.gt-sm","ngClass.gt-md","ngClass.gt-lg"];let W=(()=>{class g extends k{constructor(){super(...arguments),this.inputs=V}}return g.\u0275fac=(()=>{let H;return function(ee){return(H||(H=e.n5z(g)))(ee||g)}})(),g.\u0275dir=e.lG2({type:g,selectors:[["","ngClass",""],["","ngClass.xs",""],["","ngClass.sm",""],["","ngClass.md",""],["","ngClass.lg",""],["","ngClass.xl",""],["","ngClass.lt-sm",""],["","ngClass.lt-md",""],["","ngClass.lt-lg",""],["","ngClass.lt-xl",""],["","ngClass.gt-xs",""],["","ngClass.gt-sm",""],["","ngClass.gt-md",""],["","ngClass.gt-lg",""]],inputs:{ngClass:"ngClass","ngClass.xs":"ngClass.xs","ngClass.sm":"ngClass.sm","ngClass.md":"ngClass.md","ngClass.lg":"ngClass.lg","ngClass.xl":"ngClass.xl","ngClass.lt-sm":"ngClass.lt-sm","ngClass.lt-md":"ngClass.lt-md","ngClass.lt-lg":"ngClass.lt-lg","ngClass.lt-xl":"ngClass.lt-xl","ngClass.gt-xs":"ngClass.gt-xs","ngClass.gt-sm":"ngClass.gt-sm","ngClass.gt-md":"ngClass.gt-md","ngClass.gt-lg":"ngClass.gt-lg"},features:[e.qOj]}),g})();class se{constructor(H,N,ee=!0){this.key=H,this.value=N,this.key=ee?H.replace(/['"]/g,"").trim():H.trim(),this.value=ee?N.replace(/['"]/g,"").trim():N.trim(),this.value=this.value.replace(/;/,"")}}function Me(g){let H=typeof g;return"object"===H?g.constructor===Array?"array":g.constructor===Set?"set":"object":H}function n(g){const[H,...N]=g.split(":");return new se(H,N.join(":"))}function s(g,H){return H.key&&(g[H.key]=H.value),g}let f=(()=>{class g extends t.iR{constructor(N,ee,De,ot,je,Je,ye,me,he){super(N,null,ee,De),this.sanitizer=ot,this.ngStyleInstance=ye,this.DIRECTIVE_KEY="ngStyle",this.ngStyleInstance||(this.ngStyleInstance=new y.PC(N,je,Je)),this.init();const xe=this.nativeElement.getAttribute("style")??"";this.fallbackStyles=this.buildStyleMap(xe),this.isServer=me&&(0,y.PM)(he)}updateWithValue(N){const ee=this.buildStyleMap(N);this.ngStyleInstance.ngStyle={...this.fallbackStyles,...ee},this.isServer&&this.applyStyleToElement(ee),this.ngStyleInstance.ngDoCheck()}clearStyles(){this.ngStyleInstance.ngStyle=this.fallbackStyles,this.ngStyleInstance.ngDoCheck()}buildStyleMap(N){const ee=De=>this.sanitizer.sanitize(e.q3G.STYLE,De)??"";if(N)switch(Me(N)){case"string":return O(function $(g,H=";"){return String(g).trim().split(H).map(N=>N.trim()).filter(N=>""!==N)}(N),ee);case"array":return O(N,ee);default:return function S(g,H){let N=[];return"set"===Me(g)?g.forEach(ee=>N.push(ee)):Object.keys(g).forEach(ee=>{N.push(`${ee}:${g[ee]}`)}),function ue(g,H){return g.map(n).filter(ee=>!!ee).map(ee=>(H&&(ee.value=H(ee.value)),ee)).reduce(s,{})}(N,H)}(N,ee)}return{}}ngDoCheck(){this.ngStyleInstance.ngDoCheck()}}return g.\u0275fac=function(N){return new(N||g)(e.Y36(e.SBq),e.Y36(t.RK),e.Y36(t.yB),e.Y36(x.H7),e.Y36(e.aQg),e.Y36(e.Qsj),e.Y36(y.PC,10),e.Y36(t.wY),e.Y36(e.Lbi))},g.\u0275dir=e.lG2({type:g,features:[e.qOj]}),g})();const h=["ngStyle","ngStyle.xs","ngStyle.sm","ngStyle.md","ngStyle.lg","ngStyle.xl","ngStyle.lt-sm","ngStyle.lt-md","ngStyle.lt-lg","ngStyle.lt-xl","ngStyle.gt-xs","ngStyle.gt-sm","ngStyle.gt-md","ngStyle.gt-lg"];let D=(()=>{class g extends f{constructor(){super(...arguments),this.inputs=h}}return g.\u0275fac=(()=>{let H;return function(ee){return(H||(H=e.n5z(g)))(ee||g)}})(),g.\u0275dir=e.lG2({type:g,selectors:[["","ngStyle",""],["","ngStyle.xs",""],["","ngStyle.sm",""],["","ngStyle.md",""],["","ngStyle.lg",""],["","ngStyle.xl",""],["","ngStyle.lt-sm",""],["","ngStyle.lt-md",""],["","ngStyle.lt-lg",""],["","ngStyle.lt-xl",""],["","ngStyle.gt-xs",""],["","ngStyle.gt-sm",""],["","ngStyle.gt-md",""],["","ngStyle.gt-lg",""]],inputs:{ngStyle:"ngStyle","ngStyle.xs":"ngStyle.xs","ngStyle.sm":"ngStyle.sm","ngStyle.md":"ngStyle.md","ngStyle.lg":"ngStyle.lg","ngStyle.xl":"ngStyle.xl","ngStyle.lt-sm":"ngStyle.lt-sm","ngStyle.lt-md":"ngStyle.lt-md","ngStyle.lt-lg":"ngStyle.lt-lg","ngStyle.lt-xl":"ngStyle.lt-xl","ngStyle.gt-xs":"ngStyle.gt-xs","ngStyle.gt-sm":"ngStyle.gt-sm","ngStyle.gt-md":"ngStyle.gt-md","ngStyle.gt-lg":"ngStyle.gt-lg"},features:[e.qOj]}),g})();function O(g,H){return g.map(n).filter(ee=>!!ee).map(ee=>(H&&(ee.value=H(ee.value)),ee)).reduce(s,{})}let r=(()=>{class g{}return g.\u0275fac=function(N){return new(N||g)},g.\u0275mod=e.oAB({type:g}),g.\u0275inj=e.cJS({imports:[t.IR]}),g})()},3814:(ze,q,p)=>{"use strict";p.d(q,{Wh:()=>Ke,ae:()=>Ot,xw:()=>M,yH:()=>w});var e=p(9212),t=p(9388),y=p(1462),A=p(5766),x=(p(8645),p(9773));let m=(()=>{class yt extends y.QI{buildStyles(Ee,{display:tt}){const Ue=(0,A.Ar)(Ee);return{...Ue,display:"none"===tt?tt:Ue.display}}}return yt.\u0275fac=(()=>{let nt;return function(tt){return(nt||(nt=e.n5z(yt)))(tt||yt)}})(),yt.\u0275prov=e.Yz7({token:yt,factory:yt.\u0275fac,providedIn:"root"}),yt})();const P=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"];let E=(()=>{class yt extends y.iR{constructor(Ee,tt,Ue,Xe,gt){super(Ee,Ue,tt,Xe),this._config=gt,this.DIRECTIVE_KEY="layout",this.init()}updateWithValue(Ee){const Ue=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=I.get(Ue)??new Map,I.set(Ue,this.styleCache),this.currentValue!==Ee&&(this.addStyles(Ee,{display:Ue}),this.currentValue=Ee)}}return yt.\u0275fac=function(Ee){return new(Ee||yt)(e.Y36(e.SBq),e.Y36(y.RK),e.Y36(m),e.Y36(y.yB),e.Y36(y.WU))},yt.\u0275dir=e.lG2({type:yt,features:[e.qOj]}),yt})(),M=(()=>{class yt extends E{constructor(){super(...arguments),this.inputs=P}}return yt.\u0275fac=(()=>{let nt;return function(tt){return(nt||(nt=e.n5z(yt)))(tt||yt)}})(),yt.\u0275dir=e.lG2({type:yt,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[e.qOj]}),yt})();const I=new Map;let n=(()=>{class yt extends y.QI{constructor(Ee){super(),this.layoutConfig=Ee}buildStyles(Ee,tt){let[Ue,Xe,...gt]=Ee.split(" "),Le=gt.join(" ");const be=tt.direction.indexOf("column")>-1?"column":"row",J=(0,A.tj)(be)?"max-width":"max-height",re=(0,A.tj)(be)?"min-width":"min-height",Ie=String(Le).indexOf("calc")>-1,Nt=Ie||"auto"===Le,At=String(Le).indexOf("%")>-1&&!Ie,Zt=String(Le).indexOf("px")>-1||String(Le).indexOf("rem")>-1||String(Le).indexOf("em")>-1||String(Le).indexOf("vw")>-1||String(Le).indexOf("vh")>-1;let mi=Ie||Zt;Ue="0"==Ue?0:Ue,Xe="0"==Xe?0:Xe;const Jt=!Ue&&!Xe;let Xt={};const Hi={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(Le||""){case"":Le="row"===be?"0%":!1!==this.layoutConfig.useColumnBasisZero?"0.000000001px":"auto";break;case"initial":case"nogrow":Ue=0,Le="auto";break;case"grow":Le="100%";break;case"noshrink":Xe=0,Le="auto";break;case"auto":break;case"none":Ue=0,Xe=0,Le="auto";break;default:!mi&&!At&&!isNaN(Le)&&(Le+="%"),"0%"===Le&&(mi=!0),"0px"===Le&&(Le="0%"),Xt=(0,A.kt)(Hi,Ie?{"flex-grow":Ue,"flex-shrink":Xe,"flex-basis":mi?Le:"100%"}:{flex:`${Ue} ${Xe} ${mi?Le:"100%"}`})}return Xt.flex||Xt["flex-grow"]||(Xt=(0,A.kt)(Hi,Ie?{"flex-grow":Ue,"flex-shrink":Xe,"flex-basis":Le}:{flex:`${Ue} ${Xe} ${Le}`})),"0%"!==Le&&"0px"!==Le&&"0.000000001px"!==Le&&"auto"!==Le&&(Xt[re]=Jt||mi&&Ue?Le:null,Xt[J]=Jt||!Nt&&Xe?Le:null),Xt[re]||Xt[J]?tt.hasWrap&&(Xt[Ie?"flex-basis":"flex"]=Xt[J]?Ie?Xt[J]:`${Ue} ${Xe} ${Xt[J]}`:Ie?Xt[re]:`${Ue} ${Xe} ${Xt[re]}`):Xt=(0,A.kt)(Hi,Ie?{"flex-grow":Ue,"flex-shrink":Xe,"flex-basis":Le}:{flex:`${Ue} ${Xe} ${Le}`}),(0,A.kt)(Xt,{"box-sizing":"border-box"})}}return yt.\u0275fac=function(Ee){return new(Ee||yt)(e.LFG(y.WU))},yt.\u0275prov=e.Yz7({token:yt,factory:yt.\u0275fac,providedIn:"root"}),yt})();const s=["fxFlex","fxFlex.xs","fxFlex.sm","fxFlex.md","fxFlex.lg","fxFlex.xl","fxFlex.lt-sm","fxFlex.lt-md","fxFlex.lt-lg","fxFlex.lt-xl","fxFlex.gt-xs","fxFlex.gt-sm","fxFlex.gt-md","fxFlex.gt-lg"];let h=(()=>{class yt extends y.iR{constructor(Ee,tt,Ue,Xe,gt){super(Ee,Xe,tt,gt),this.layoutConfig=Ue,this.marshal=gt,this.DIRECTIVE_KEY="flex",this.direction=void 0,this.wrap=void 0,this.flexGrow="1",this.flexShrink="1",this.init()}get shrink(){return this.flexShrink}set shrink(Ee){this.flexShrink=Ee||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(Ee){this.flexGrow=Ee||"1",this.triggerReflow()}ngOnInit(){this.parentElement&&(this.marshal.trackValue(this.parentElement,"layout").pipe((0,x.R)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe((0,x.R)(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}onLayoutChange(Ee){const Ue=Ee.value.split(" ");this.direction=Ue[0],this.wrap=void 0!==Ue[1]&&"wrap"===Ue[1],this.triggerUpdate()}updateWithValue(Ee){void 0===this.direction&&(this.direction=this.getFlexFlowDirection(this.parentElement,!1!==this.layoutConfig.addFlexToParent)),void 0===this.wrap&&(this.wrap=this.hasWrap(this.parentElement));const Ue=this.direction,Xe=Ue.startsWith("row"),gt=this.wrap;Xe&&gt?this.styleCache=v:Xe&&!gt?this.styleCache=D:!Xe&&gt?this.styleCache=r:!Xe&&!gt&&(this.styleCache=O);const Le=String(Ee).replace(";",""),be=(0,y.Ot)(Le,this.flexGrow,this.flexShrink);this.addStyles(be.join(" "),{direction:Ue,hasWrap:gt})}triggerReflow(){const Ee=this.activatedValue;if(void 0!==Ee){const tt=(0,y.Ot)(Ee+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,tt.join(" "))}}}return yt.\u0275fac=function(Ee){return new(Ee||yt)(e.Y36(e.SBq),e.Y36(y.RK),e.Y36(y.WU),e.Y36(n),e.Y36(y.yB))},yt.\u0275dir=e.lG2({type:yt,inputs:{shrink:["fxShrink","shrink"],grow:["fxGrow","grow"]},features:[e.qOj]}),yt})(),w=(()=>{class yt extends h{constructor(){super(...arguments),this.inputs=s}}return yt.\u0275fac=(()=>{let nt;return function(tt){return(nt||(nt=e.n5z(yt)))(tt||yt)}})(),yt.\u0275dir=e.lG2({type:yt,selectors:[["","fxFlex",""],["","fxFlex.xs",""],["","fxFlex.sm",""],["","fxFlex.md",""],["","fxFlex.lg",""],["","fxFlex.xl",""],["","fxFlex.lt-sm",""],["","fxFlex.lt-md",""],["","fxFlex.lt-lg",""],["","fxFlex.lt-xl",""],["","fxFlex.gt-xs",""],["","fxFlex.gt-sm",""],["","fxFlex.gt-md",""],["","fxFlex.gt-lg",""]],inputs:{fxFlex:"fxFlex","fxFlex.xs":"fxFlex.xs","fxFlex.sm":"fxFlex.sm","fxFlex.md":"fxFlex.md","fxFlex.lg":"fxFlex.lg","fxFlex.xl":"fxFlex.xl","fxFlex.lt-sm":"fxFlex.lt-sm","fxFlex.lt-md":"fxFlex.lt-md","fxFlex.lt-lg":"fxFlex.lt-lg","fxFlex.lt-xl":"fxFlex.lt-xl","fxFlex.gt-xs":"fxFlex.gt-xs","fxFlex.gt-sm":"fxFlex.gt-sm","fxFlex.gt-md":"fxFlex.gt-md","fxFlex.gt-lg":"fxFlex.gt-lg"},features:[e.qOj]}),yt})();const D=new Map,O=new Map,v=new Map,r=new Map;let it=(()=>{class yt extends y.QI{buildStyles(Ee,tt){const Ue={},[Xe,gt]=Ee.split(" ");switch(Xe){case"center":Ue["justify-content"]="center";break;case"space-around":Ue["justify-content"]="space-around";break;case"space-between":Ue["justify-content"]="space-between";break;case"space-evenly":Ue["justify-content"]="space-evenly";break;case"end":case"flex-end":Ue["justify-content"]="flex-end";break;default:Ue["justify-content"]="flex-start"}switch(gt){case"start":case"flex-start":Ue["align-items"]=Ue["align-content"]="flex-start";break;case"center":Ue["align-items"]=Ue["align-content"]="center";break;case"end":case"flex-end":Ue["align-items"]=Ue["align-content"]="flex-end";break;case"space-between":Ue["align-content"]="space-between",Ue["align-items"]="stretch";break;case"space-around":Ue["align-content"]="space-around",Ue["align-items"]="stretch";break;case"baseline":Ue["align-content"]="stretch",Ue["align-items"]="baseline";break;default:Ue["align-items"]=Ue["align-content"]="stretch"}return(0,A.kt)(Ue,{display:tt.inline?"inline-flex":"flex","flex-direction":tt.layout,"box-sizing":"border-box","max-width":"stretch"===gt?(0,A.tj)(tt.layout)?null:"100%":null,"max-height":"stretch"===gt&&(0,A.tj)(tt.layout)?"100%":null})}}return yt.\u0275fac=(()=>{let nt;return function(tt){return(nt||(nt=e.n5z(yt)))(tt||yt)}})(),yt.\u0275prov=e.Yz7({token:yt,factory:yt.\u0275fac,providedIn:"root"}),yt})();const $e=["fxLayoutAlign","fxLayoutAlign.xs","fxLayoutAlign.sm","fxLayoutAlign.md","fxLayoutAlign.lg","fxLayoutAlign.xl","fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg"];let st=(()=>{class yt extends y.iR{constructor(Ee,tt,Ue,Xe){super(Ee,Ue,tt,Xe),this.DIRECTIVE_KEY="layout-align",this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe((0,x.R)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(Ee){const tt=this.layout||"row",Ue=this.inline;"row"===tt&&Ue?this.styleCache=$t:"row"!==tt||Ue?"row-reverse"===tt&&Ue?this.styleCache=Qe:"row-reverse"!==tt||Ue?"column"===tt&&Ue?this.styleCache=Ze:"column"!==tt||Ue?"column-reverse"===tt&&Ue?this.styleCache=zt:"column-reverse"===tt&&!Ue&&(this.styleCache=Pe):this.styleCache=ct:this.styleCache=te:this.styleCache=Et,this.addStyles(Ee,{layout:tt,inline:Ue})}onLayoutChange(Ee){const tt=Ee.value.split(" ");this.layout=tt[0],this.inline=Ee.value.includes("inline"),A.iQ.find(Ue=>Ue===this.layout)||(this.layout="row"),this.triggerUpdate()}}return yt.\u0275fac=function(Ee){return new(Ee||yt)(e.Y36(e.SBq),e.Y36(y.RK),e.Y36(it),e.Y36(y.yB))},yt.\u0275dir=e.lG2({type:yt,features:[e.qOj]}),yt})(),Ke=(()=>{class yt extends st{constructor(){super(...arguments),this.inputs=$e}}return yt.\u0275fac=(()=>{let nt;return function(tt){return(nt||(nt=e.n5z(yt)))(tt||yt)}})(),yt.\u0275dir=e.lG2({type:yt,selectors:[["","fxLayoutAlign",""],["","fxLayoutAlign.xs",""],["","fxLayoutAlign.sm",""],["","fxLayoutAlign.md",""],["","fxLayoutAlign.lg",""],["","fxLayoutAlign.xl",""],["","fxLayoutAlign.lt-sm",""],["","fxLayoutAlign.lt-md",""],["","fxLayoutAlign.lt-lg",""],["","fxLayoutAlign.lt-xl",""],["","fxLayoutAlign.gt-xs",""],["","fxLayoutAlign.gt-sm",""],["","fxLayoutAlign.gt-md",""],["","fxLayoutAlign.gt-lg",""]],inputs:{fxLayoutAlign:"fxLayoutAlign","fxLayoutAlign.xs":"fxLayoutAlign.xs","fxLayoutAlign.sm":"fxLayoutAlign.sm","fxLayoutAlign.md":"fxLayoutAlign.md","fxLayoutAlign.lg":"fxLayoutAlign.lg","fxLayoutAlign.xl":"fxLayoutAlign.xl","fxLayoutAlign.lt-sm":"fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md":"fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg":"fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl":"fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs":"fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm":"fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md":"fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg":"fxLayoutAlign.gt-lg"},features:[e.qOj]}),yt})();const Et=new Map,ct=new Map,te=new Map,Pe=new Map,$t=new Map,Ze=new Map,Qe=new Map,zt=new Map;let Ot=(()=>{class yt{}return yt.\u0275fac=function(Ee){return new(Ee||yt)},yt.\u0275mod=e.oAB({type:yt}),yt.\u0275inj=e.cJS({imports:[y.IR,t.vT]}),yt})()},6223:(ze,q,p)=>{"use strict";p.d(q,{Cf:()=>j,F:()=>ne,Fd:()=>no,Fj:()=>V,JJ:()=>ve,JL:()=>le,JU:()=>P,On:()=>jt,Q7:()=>ba,QS:()=>cr,UX:()=>Wa,Zs:()=>Ho,_Y:()=>wi,a5:()=>de,kI:()=>ie,oH:()=>ga,p4:()=>Ht,qQ:()=>_o,qu:()=>Zi,sg:()=>Ua,u:()=>Ir,u5:()=>on,wV:()=>yi});var e=p(9212),t=p(6814),y=p(9666),A=p(9315),l=p(7398);let x=(()=>{class ht{constructor(Ve,vt){this._renderer=Ve,this._elementRef=vt,this.onChange=qt=>{},this.onTouched=()=>{}}setProperty(Ve,vt){this._renderer.setProperty(this._elementRef.nativeElement,Ve,vt)}registerOnTouched(Ve){this.onTouched=Ve}registerOnChange(Ve){this.onChange=Ve}setDisabledState(Ve){this.setProperty("disabled",Ve)}static#e=this.\u0275fac=function(vt){return new(vt||ht)(e.Y36(e.Qsj),e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:ht})}return ht})(),m=(()=>{class ht extends x{static#e=this.\u0275fac=(()=>{let Ve;return function(qt){return(Ve||(Ve=e.n5z(ht)))(qt||ht)}})();static#t=this.\u0275dir=e.lG2({type:ht,features:[e.qOj]})}return ht})();const P=new e.OlP("NgValueAccessor"),M={provide:P,useExisting:(0,e.Gpc)(()=>V),multi:!0},k=new e.OlP("CompositionEventMode");let V=(()=>{class ht extends x{constructor(Ve,vt,qt){super(Ve,vt),this._compositionMode=qt,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function I(){const ht=(0,t.q)()?(0,t.q)().getUserAgent():"";return/android (\d+)/.test(ht.toLowerCase())}())}writeValue(Ve){this.setProperty("value",Ve??"")}_handleInput(Ve){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(Ve)}_compositionStart(){this._composing=!0}_compositionEnd(Ve){this._composing=!1,this._compositionMode&&this.onChange(Ve)}static#e=this.\u0275fac=function(vt){return new(vt||ht)(e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(k,8))};static#t=this.\u0275dir=e.lG2({type:ht,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(vt,qt){1&vt&&e.NdJ("input",function(Cn){return qt._handleInput(Cn.target.value)})("blur",function(){return qt.onTouched()})("compositionstart",function(){return qt._compositionStart()})("compositionend",function(Cn){return qt._compositionEnd(Cn.target.value)})},features:[e._Bn([M]),e.qOj]})}return ht})();function B(ht){return null==ht||("string"==typeof ht||Array.isArray(ht))&&0===ht.length}function W(ht){return null!=ht&&"number"==typeof ht.length}const j=new e.OlP("NgValidators"),K=new e.OlP("NgAsyncValidators"),X=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class ie{static min(bt){return ae(bt)}static max(bt){return fe(bt)}static required(bt){return se(bt)}static requiredTrue(bt){return Me(bt)}static email(bt){return function $(ht){return B(ht.value)||X.test(ht.value)?null:{email:!0}}(bt)}static minLength(bt){return function ue(ht){return bt=>B(bt.value)||!W(bt.value)?null:bt.value.length<ht?{minlength:{requiredLength:ht,actualLength:bt.value.length}}:null}(bt)}static maxLength(bt){return function S(ht){return bt=>W(bt.value)&&bt.value.length>ht?{maxlength:{requiredLength:ht,actualLength:bt.value.length}}:null}(bt)}static pattern(bt){return function n(ht){if(!ht)return s;let bt,Ve;return"string"==typeof ht?(Ve="","^"!==ht.charAt(0)&&(Ve+="^"),Ve+=ht,"$"!==ht.charAt(ht.length-1)&&(Ve+="$"),bt=new RegExp(Ve)):(Ve=ht.toString(),bt=ht),vt=>{if(B(vt.value))return null;const qt=vt.value;return bt.test(qt)?null:{pattern:{requiredPattern:Ve,actualValue:qt}}}}(bt)}static nullValidator(bt){return null}static compose(bt){return r(bt)}static composeAsync(bt){return H(bt)}}function ae(ht){return bt=>{if(B(bt.value)||B(ht))return null;const Ve=parseFloat(bt.value);return!isNaN(Ve)&&Ve<ht?{min:{min:ht,actual:bt.value}}:null}}function fe(ht){return bt=>{if(B(bt.value)||B(ht))return null;const Ve=parseFloat(bt.value);return!isNaN(Ve)&&Ve>ht?{max:{max:ht,actual:bt.value}}:null}}function se(ht){return B(ht.value)?{required:!0}:null}function Me(ht){return!0===ht.value?null:{required:!0}}function s(ht){return null}function f(ht){return null!=ht}function h(ht){return(0,e.QGY)(ht)?(0,y.D)(ht):ht}function w(ht){let bt={};return ht.forEach(Ve=>{bt=null!=Ve?{...bt,...Ve}:bt}),0===Object.keys(bt).length?null:bt}function D(ht,bt){return bt.map(Ve=>Ve(ht))}function v(ht){return ht.map(bt=>function O(ht){return!ht.validate}(bt)?bt:Ve=>bt.validate(Ve))}function r(ht){if(!ht)return null;const bt=ht.filter(f);return 0==bt.length?null:function(Ve){return w(D(Ve,bt))}}function g(ht){return null!=ht?r(v(ht)):null}function H(ht){if(!ht)return null;const bt=ht.filter(f);return 0==bt.length?null:function(Ve){const vt=D(Ve,bt).map(h);return(0,A.D)(vt).pipe((0,l.U)(w))}}function N(ht){return null!=ht?H(v(ht)):null}function ee(ht,bt){return null===ht?[bt]:Array.isArray(ht)?[...ht,bt]:[ht,bt]}function De(ht){return ht._rawValidators}function ot(ht){return ht._rawAsyncValidators}function je(ht){return ht?Array.isArray(ht)?ht:[ht]:[]}function Je(ht,bt){return Array.isArray(ht)?ht.includes(bt):ht===bt}function ye(ht,bt){const Ve=je(bt);return je(ht).forEach(qt=>{Je(Ve,qt)||Ve.push(qt)}),Ve}function me(ht,bt){return je(bt).filter(Ve=>!Je(ht,Ve))}class he{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(bt){this._rawValidators=bt||[],this._composedValidatorFn=g(this._rawValidators)}_setAsyncValidators(bt){this._rawAsyncValidators=bt||[],this._composedAsyncValidatorFn=N(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(bt){this._onDestroyCallbacks.push(bt)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(bt=>bt()),this._onDestroyCallbacks=[]}reset(bt=void 0){this.control&&this.control.reset(bt)}hasError(bt,Ve){return!!this.control&&this.control.hasError(bt,Ve)}getError(bt,Ve){return this.control?this.control.getError(bt,Ve):null}}class xe extends he{get formDirective(){return null}get path(){return null}}class de extends he{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class ge{constructor(bt){this._cd=bt}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let ve=(()=>{class ht extends ge{constructor(Ve){super(Ve)}static#e=this.\u0275fac=function(vt){return new(vt||ht)(e.Y36(de,2))};static#t=this.\u0275dir=e.lG2({type:ht,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(vt,qt){2&vt&&e.ekj("ng-untouched",qt.isUntouched)("ng-touched",qt.isTouched)("ng-pristine",qt.isPristine)("ng-dirty",qt.isDirty)("ng-valid",qt.isValid)("ng-invalid",qt.isInvalid)("ng-pending",qt.isPending)},features:[e.qOj]})}return ht})(),le=(()=>{class ht extends ge{constructor(Ve){super(Ve)}static#e=this.\u0275fac=function(vt){return new(vt||ht)(e.Y36(xe,10))};static#t=this.\u0275dir=e.lG2({type:ht,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(vt,qt){2&vt&&e.ekj("ng-untouched",qt.isUntouched)("ng-touched",qt.isTouched)("ng-pristine",qt.isPristine)("ng-dirty",qt.isDirty)("ng-valid",qt.isValid)("ng-invalid",qt.isInvalid)("ng-pending",qt.isPending)("ng-submitted",qt.isSubmitted)},features:[e.qOj]})}return ht})();const Ze="VALID",Qe="INVALID",zt="PENDING",xt="DISABLED";function Ot(ht){return(tt(ht)?ht.validators:ht)||null}function nt(ht,bt){return(tt(bt)?bt.asyncValidators:ht)||null}function tt(ht){return null!=ht&&!Array.isArray(ht)&&"object"==typeof ht}function Ue(ht,bt,Ve){const vt=ht.controls;if(!(bt?Object.keys(vt):vt).length)throw new e.vHH(1e3,"");if(!vt[Ve])throw new e.vHH(1001,"")}function Xe(ht,bt,Ve){ht._forEachChild((vt,qt)=>{if(void 0===Ve[qt])throw new e.vHH(1002,"")})}class gt{constructor(bt,Ve){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(bt),this._assignAsyncValidators(Ve)}get validator(){return this._composedValidatorFn}set validator(bt){this._rawValidators=this._composedValidatorFn=bt}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(bt){this._rawAsyncValidators=this._composedAsyncValidatorFn=bt}get parent(){return this._parent}get valid(){return this.status===Ze}get invalid(){return this.status===Qe}get pending(){return this.status==zt}get disabled(){return this.status===xt}get enabled(){return this.status!==xt}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(bt){this._assignValidators(bt)}setAsyncValidators(bt){this._assignAsyncValidators(bt)}addValidators(bt){this.setValidators(ye(bt,this._rawValidators))}addAsyncValidators(bt){this.setAsyncValidators(ye(bt,this._rawAsyncValidators))}removeValidators(bt){this.setValidators(me(bt,this._rawValidators))}removeAsyncValidators(bt){this.setAsyncValidators(me(bt,this._rawAsyncValidators))}hasValidator(bt){return Je(this._rawValidators,bt)}hasAsyncValidator(bt){return Je(this._rawAsyncValidators,bt)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(bt={}){this.touched=!0,this._parent&&!bt.onlySelf&&this._parent.markAsTouched(bt)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(bt=>bt.markAllAsTouched())}markAsUntouched(bt={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(Ve=>{Ve.markAsUntouched({onlySelf:!0})}),this._parent&&!bt.onlySelf&&this._parent._updateTouched(bt)}markAsDirty(bt={}){this.pristine=!1,this._parent&&!bt.onlySelf&&this._parent.markAsDirty(bt)}markAsPristine(bt={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(Ve=>{Ve.markAsPristine({onlySelf:!0})}),this._parent&&!bt.onlySelf&&this._parent._updatePristine(bt)}markAsPending(bt={}){this.status=zt,!1!==bt.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!bt.onlySelf&&this._parent.markAsPending(bt)}disable(bt={}){const Ve=this._parentMarkedDirty(bt.onlySelf);this.status=xt,this.errors=null,this._forEachChild(vt=>{vt.disable({...bt,onlySelf:!0})}),this._updateValue(),!1!==bt.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...bt,skipPristineCheck:Ve}),this._onDisabledChange.forEach(vt=>vt(!0))}enable(bt={}){const Ve=this._parentMarkedDirty(bt.onlySelf);this.status=Ze,this._forEachChild(vt=>{vt.enable({...bt,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:bt.emitEvent}),this._updateAncestors({...bt,skipPristineCheck:Ve}),this._onDisabledChange.forEach(vt=>vt(!1))}_updateAncestors(bt){this._parent&&!bt.onlySelf&&(this._parent.updateValueAndValidity(bt),bt.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(bt){this._parent=bt}getRawValue(){return this.value}updateValueAndValidity(bt={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ze||this.status===zt)&&this._runAsyncValidator(bt.emitEvent)),!1!==bt.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!bt.onlySelf&&this._parent.updateValueAndValidity(bt)}_updateTreeValidity(bt={emitEvent:!0}){this._forEachChild(Ve=>Ve._updateTreeValidity(bt)),this.updateValueAndValidity({onlySelf:!0,emitEvent:bt.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?xt:Ze}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(bt){if(this.asyncValidator){this.status=zt,this._hasOwnPendingAsyncValidator=!0;const Ve=h(this.asyncValidator(this));this._asyncValidationSubscription=Ve.subscribe(vt=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(vt,{emitEvent:bt})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(bt,Ve={}){this.errors=bt,this._updateControlsErrors(!1!==Ve.emitEvent)}get(bt){let Ve=bt;return null==Ve||(Array.isArray(Ve)||(Ve=Ve.split(".")),0===Ve.length)?null:Ve.reduce((vt,qt)=>vt&&vt._find(qt),this)}getError(bt,Ve){const vt=Ve?this.get(Ve):this;return vt&&vt.errors?vt.errors[bt]:null}hasError(bt,Ve){return!!this.getError(bt,Ve)}get root(){let bt=this;for(;bt._parent;)bt=bt._parent;return bt}_updateControlsErrors(bt){this.status=this._calculateStatus(),bt&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(bt)}_initObservables(){this.valueChanges=new e.vpe,this.statusChanges=new e.vpe}_calculateStatus(){return this._allControlsDisabled()?xt:this.errors?Qe:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(zt)?zt:this._anyControlsHaveStatus(Qe)?Qe:Ze}_anyControlsHaveStatus(bt){return this._anyControls(Ve=>Ve.status===bt)}_anyControlsDirty(){return this._anyControls(bt=>bt.dirty)}_anyControlsTouched(){return this._anyControls(bt=>bt.touched)}_updatePristine(bt={}){this.pristine=!this._anyControlsDirty(),this._parent&&!bt.onlySelf&&this._parent._updatePristine(bt)}_updateTouched(bt={}){this.touched=this._anyControlsTouched(),this._parent&&!bt.onlySelf&&this._parent._updateTouched(bt)}_registerOnCollectionChange(bt){this._onCollectionChange=bt}_setUpdateStrategy(bt){tt(bt)&&null!=bt.updateOn&&(this._updateOn=bt.updateOn)}_parentMarkedDirty(bt){return!bt&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(bt){return null}_assignValidators(bt){this._rawValidators=Array.isArray(bt)?bt.slice():bt,this._composedValidatorFn=function yt(ht){return Array.isArray(ht)?g(ht):ht||null}(this._rawValidators)}_assignAsyncValidators(bt){this._rawAsyncValidators=Array.isArray(bt)?bt.slice():bt,this._composedAsyncValidatorFn=function Ee(ht){return Array.isArray(ht)?N(ht):ht||null}(this._rawAsyncValidators)}}class Le extends gt{constructor(bt,Ve,vt){super(Ot(Ve),nt(vt,Ve)),this.controls=bt,this._initObservables(),this._setUpdateStrategy(Ve),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(bt,Ve){return this.controls[bt]?this.controls[bt]:(this.controls[bt]=Ve,Ve.setParent(this),Ve._registerOnCollectionChange(this._onCollectionChange),Ve)}addControl(bt,Ve,vt={}){this.registerControl(bt,Ve),this.updateValueAndValidity({emitEvent:vt.emitEvent}),this._onCollectionChange()}removeControl(bt,Ve={}){this.controls[bt]&&this.controls[bt]._registerOnCollectionChange(()=>{}),delete this.controls[bt],this.updateValueAndValidity({emitEvent:Ve.emitEvent}),this._onCollectionChange()}setControl(bt,Ve,vt={}){this.controls[bt]&&this.controls[bt]._registerOnCollectionChange(()=>{}),delete this.controls[bt],Ve&&this.registerControl(bt,Ve),this.updateValueAndValidity({emitEvent:vt.emitEvent}),this._onCollectionChange()}contains(bt){return this.controls.hasOwnProperty(bt)&&this.controls[bt].enabled}setValue(bt,Ve={}){Xe(this,0,bt),Object.keys(bt).forEach(vt=>{Ue(this,!0,vt),this.controls[vt].setValue(bt[vt],{onlySelf:!0,emitEvent:Ve.emitEvent})}),this.updateValueAndValidity(Ve)}patchValue(bt,Ve={}){null!=bt&&(Object.keys(bt).forEach(vt=>{const qt=this.controls[vt];qt&&qt.patchValue(bt[vt],{onlySelf:!0,emitEvent:Ve.emitEvent})}),this.updateValueAndValidity(Ve))}reset(bt={},Ve={}){this._forEachChild((vt,qt)=>{vt.reset(bt?bt[qt]:null,{onlySelf:!0,emitEvent:Ve.emitEvent})}),this._updatePristine(Ve),this._updateTouched(Ve),this.updateValueAndValidity(Ve)}getRawValue(){return this._reduceChildren({},(bt,Ve,vt)=>(bt[vt]=Ve.getRawValue(),bt))}_syncPendingControls(){let bt=this._reduceChildren(!1,(Ve,vt)=>!!vt._syncPendingControls()||Ve);return bt&&this.updateValueAndValidity({onlySelf:!0}),bt}_forEachChild(bt){Object.keys(this.controls).forEach(Ve=>{const vt=this.controls[Ve];vt&&bt(vt,Ve)})}_setUpControls(){this._forEachChild(bt=>{bt.setParent(this),bt._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(bt){for(const[Ve,vt]of Object.entries(this.controls))if(this.contains(Ve)&&bt(vt))return!0;return!1}_reduceValue(){return this._reduceChildren({},(Ve,vt,qt)=>((vt.enabled||this.disabled)&&(Ve[qt]=vt.value),Ve))}_reduceChildren(bt,Ve){let vt=bt;return this._forEachChild((qt,Fi)=>{vt=Ve(vt,qt,Fi)}),vt}_allControlsDisabled(){for(const bt of Object.keys(this.controls))if(this.controls[bt].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(bt){return this.controls.hasOwnProperty(bt)?this.controls[bt]:null}}class Ie extends Le{}const At=new e.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>Zt}),Zt="always";function mi(ht,bt){return[...bt.path,ht]}function Jt(ht,bt,Ve=Zt){hi(ht,bt),bt.valueAccessor.writeValue(ht.value),(ht.disabled||"always"===Ve)&&bt.valueAccessor.setDisabledState?.(ht.disabled),function Qi(ht,bt){bt.valueAccessor.registerOnChange(Ve=>{ht._pendingValue=Ve,ht._pendingChange=!0,ht._pendingDirty=!0,"change"===ht.updateOn&&sn(ht,bt)})}(ht,bt),function at(ht,bt){const Ve=(vt,qt)=>{bt.valueAccessor.writeValue(vt),qt&&bt.viewToModelUpdate(vt)};ht.registerOnChange(Ve),bt._registerOnDestroy(()=>{ht._unregisterOnChange(Ve)})}(ht,bt),function xi(ht,bt){bt.valueAccessor.registerOnTouched(()=>{ht._pendingTouched=!0,"blur"===ht.updateOn&&ht._pendingChange&&sn(ht,bt),"submit"!==ht.updateOn&&ht.markAsTouched()})}(ht,bt),function li(ht,bt){if(bt.valueAccessor.setDisabledState){const Ve=vt=>{bt.valueAccessor.setDisabledState(vt)};ht.registerOnDisabledChange(Ve),bt._registerOnDestroy(()=>{ht._unregisterOnDisabledChange(Ve)})}}(ht,bt)}function Xt(ht,bt,Ve=!0){const vt=()=>{};bt.valueAccessor&&(bt.valueAccessor.registerOnChange(vt),bt.valueAccessor.registerOnTouched(vt)),un(ht,bt),ht&&(bt._invokeOnDestroyCallbacks(),ht._registerOnCollectionChange(()=>{}))}function Hi(ht,bt){ht.forEach(Ve=>{Ve.registerOnValidatorChange&&Ve.registerOnValidatorChange(bt)})}function hi(ht,bt){const Ve=De(ht);null!==bt.validator?ht.setValidators(ee(Ve,bt.validator)):"function"==typeof Ve&&ht.setValidators([Ve]);const vt=ot(ht);null!==bt.asyncValidator?ht.setAsyncValidators(ee(vt,bt.asyncValidator)):"function"==typeof vt&&ht.setAsyncValidators([vt]);const qt=()=>ht.updateValueAndValidity();Hi(bt._rawValidators,qt),Hi(bt._rawAsyncValidators,qt)}function un(ht,bt){let Ve=!1;if(null!==ht){if(null!==bt.validator){const qt=De(ht);if(Array.isArray(qt)&&qt.length>0){const Fi=qt.filter(Cn=>Cn!==bt.validator);Fi.length!==qt.length&&(Ve=!0,ht.setValidators(Fi))}}if(null!==bt.asyncValidator){const qt=ot(ht);if(Array.isArray(qt)&&qt.length>0){const Fi=qt.filter(Cn=>Cn!==bt.asyncValidator);Fi.length!==qt.length&&(Ve=!0,ht.setAsyncValidators(Fi))}}}const vt=()=>{};return Hi(bt._rawValidators,vt),Hi(bt._rawAsyncValidators,vt),Ve}function sn(ht,bt){ht._pendingDirty&&ht.markAsDirty(),ht.setValue(ht._pendingValue,{emitModelToViewChange:!1}),bt.viewToModelUpdate(ht._pendingValue),ht._pendingChange=!1}function oi(ht,bt){hi(ht,bt)}function ai(ht,bt){if(!ht.hasOwnProperty("model"))return!1;const Ve=ht.model;return!!Ve.isFirstChange()||!Object.is(bt,Ve.currentValue)}function bi(ht,bt){ht._syncPendingControls(),bt.forEach(Ve=>{const vt=Ve.control;"submit"===vt.updateOn&&vt._pendingChange&&(Ve.viewToModelUpdate(vt._pendingValue),vt._pendingChange=!1)})}function Oi(ht,bt){if(!bt)return null;let Ve,vt,qt;return Array.isArray(bt),bt.forEach(Fi=>{Fi.constructor===V?Ve=Fi:function _i(ht){return Object.getPrototypeOf(ht.constructor)===m}(Fi)?vt=Fi:qt=Fi}),qt||vt||Ve||null}const Kt={provide:xe,useExisting:(0,e.Gpc)(()=>ne)},vi=(()=>Promise.resolve())();let ne=(()=>{class ht extends xe{constructor(Ve,vt,qt){super(),this.callSetDisabledState=qt,this.submitted=!1,this._directives=new Set,this.ngSubmit=new e.vpe,this.form=new Le({},g(Ve),N(vt))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(Ve){vi.then(()=>{const vt=this._findContainer(Ve.path);Ve.control=vt.registerControl(Ve.name,Ve.control),Jt(Ve.control,Ve,this.callSetDisabledState),Ve.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(Ve)})}getControl(Ve){return this.form.get(Ve.path)}removeControl(Ve){vi.then(()=>{const vt=this._findContainer(Ve.path);vt&&vt.removeControl(Ve.name),this._directives.delete(Ve)})}addFormGroup(Ve){vi.then(()=>{const vt=this._findContainer(Ve.path),qt=new Le({});oi(qt,Ve),vt.registerControl(Ve.name,qt),qt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(Ve){vi.then(()=>{const vt=this._findContainer(Ve.path);vt&&vt.removeControl(Ve.name)})}getFormGroup(Ve){return this.form.get(Ve.path)}updateModel(Ve,vt){vi.then(()=>{this.form.get(Ve.path).setValue(vt)})}setValue(Ve){this.control.setValue(Ve)}onSubmit(Ve){return this.submitted=!0,bi(this.form,this._directives),this.ngSubmit.emit(Ve),"dialog"===Ve?.target?.method}onReset(){this.resetForm()}resetForm(Ve=void 0){this.form.reset(Ve),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(Ve){return Ve.pop(),Ve.length?this.form.get(Ve):this.form}static#e=this.\u0275fac=function(vt){return new(vt||ht)(e.Y36(j,10),e.Y36(K,10),e.Y36(At,8))};static#t=this.\u0275dir=e.lG2({type:ht,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(vt,qt){1&vt&&e.NdJ("submit",function(Cn){return qt.onSubmit(Cn)})("reset",function(){return qt.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e._Bn([Kt]),e.qOj]})}return ht})();function lt(ht,bt){const Ve=ht.indexOf(bt);Ve>-1&&ht.splice(Ve,1)}function Oe(ht){return"object"==typeof ht&&null!==ht&&2===Object.keys(ht).length&&"value"in ht&&"disabled"in ht}const Ct=class extends gt{constructor(bt=null,Ve,vt){super(Ot(Ve),nt(vt,Ve)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(bt),this._setUpdateStrategy(Ve),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),tt(Ve)&&(Ve.nonNullable||Ve.initialValueIsDefault)&&(this.defaultValue=Oe(bt)?bt.value:bt)}setValue(bt,Ve={}){this.value=this._pendingValue=bt,this._onChange.length&&!1!==Ve.emitModelToViewChange&&this._onChange.forEach(vt=>vt(this.value,!1!==Ve.emitViewToModelChange)),this.updateValueAndValidity(Ve)}patchValue(bt,Ve={}){this.setValue(bt,Ve)}reset(bt=this.defaultValue,Ve={}){this._applyFormState(bt),this.markAsPristine(Ve),this.markAsUntouched(Ve),this.setValue(this.value,Ve),this._pendingChange=!1}_updateValue(){}_anyControls(bt){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(bt){this._onChange.push(bt)}_unregisterOnChange(bt){lt(this._onChange,bt)}registerOnDisabledChange(bt){this._onDisabledChange.push(bt)}_unregisterOnDisabledChange(bt){lt(this._onDisabledChange,bt)}_forEachChild(bt){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(bt){Oe(bt)?(this.value=this._pendingValue=bt.value,bt.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=bt}},Ht=Ct,Gi={provide:de,useExisting:(0,e.Gpc)(()=>jt)},rn=(()=>Promise.resolve())();let jt=(()=>{class ht extends de{constructor(Ve,vt,qt,Fi,Cn,Mr){super(),this._changeDetectorRef=Cn,this.callSetDisabledState=Mr,this.control=new Ct,this._registered=!1,this.name="",this.update=new e.vpe,this._parent=Ve,this._setValidators(vt),this._setAsyncValidators(qt),this.valueAccessor=Oi(0,Fi)}ngOnChanges(Ve){if(this._checkForErrors(),!this._registered||"name"in Ve){if(this._registered&&(this._checkName(),this.formDirective)){const vt=Ve.name.previousValue;this.formDirective.removeControl({name:vt,path:this._getPath(vt)})}this._setUpControl()}"isDisabled"in Ve&&this._updateDisabled(Ve),ai(Ve,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(Ve){this.viewModel=Ve,this.update.emit(Ve)}_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(){Jt(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(Ve){rn.then(()=>{this.control.setValue(Ve,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(Ve){const vt=Ve.isDisabled.currentValue,qt=0!==vt&&(0,e.VuI)(vt);rn.then(()=>{qt&&!this.control.disabled?this.control.disable():!qt&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(Ve){return this._parent?mi(Ve,this._parent):[Ve]}static#e=this.\u0275fac=function(vt){return new(vt||ht)(e.Y36(xe,9),e.Y36(j,10),e.Y36(K,10),e.Y36(P,10),e.Y36(e.sBO,8),e.Y36(At,8))};static#t=this.\u0275dir=e.lG2({type:ht,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[e._Bn([Gi]),e.qOj,e.TTD]})}return ht})(),wi=(()=>{class ht{static#e=this.\u0275fac=function(vt){return new(vt||ht)};static#t=this.\u0275dir=e.lG2({type:ht,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return ht})();const pi={provide:P,useExisting:(0,e.Gpc)(()=>yi),multi:!0};let yi=(()=>{class ht extends m{writeValue(Ve){this.setProperty("value",Ve??"")}registerOnChange(Ve){this.onChange=vt=>{Ve(""==vt?null:parseFloat(vt))}}static#e=this.\u0275fac=(()=>{let Ve;return function(qt){return(Ve||(Ve=e.n5z(ht)))(qt||ht)}})();static#t=this.\u0275dir=e.lG2({type:ht,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(vt,qt){1&vt&&e.NdJ("input",function(Cn){return qt.onChange(Cn.target.value)})("blur",function(){return qt.onTouched()})},features:[e._Bn([pi]),e.qOj]})}return ht})(),xn=(()=>{class ht{static#e=this.\u0275fac=function(vt){return new(vt||ht)};static#t=this.\u0275mod=e.oAB({type:ht});static#i=this.\u0275inj=e.cJS({})}return ht})();const Cr=new e.OlP("NgModelWithFormControlWarning"),sa={provide:de,useExisting:(0,e.Gpc)(()=>ga)};let ga=(()=>{class ht extends de{set isDisabled(Ve){}static#e=this._ngModelWarningSentOnce=!1;constructor(Ve,vt,qt,Fi,Cn){super(),this._ngModelWarningConfig=Fi,this.callSetDisabledState=Cn,this.update=new e.vpe,this._ngModelWarningSent=!1,this._setValidators(Ve),this._setAsyncValidators(vt),this.valueAccessor=Oi(0,qt)}ngOnChanges(Ve){if(this._isControlChanged(Ve)){const vt=Ve.form.previousValue;vt&&Xt(vt,this,!1),Jt(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}ai(Ve,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Xt(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(Ve){this.viewModel=Ve,this.update.emit(Ve)}_isControlChanged(Ve){return Ve.hasOwnProperty("form")}static#t=this.\u0275fac=function(vt){return new(vt||ht)(e.Y36(j,10),e.Y36(K,10),e.Y36(P,10),e.Y36(Cr,8),e.Y36(At,8))};static#i=this.\u0275dir=e.lG2({type:ht,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[e._Bn([sa]),e.qOj,e.TTD]})}return ht})();const ca={provide:xe,useExisting:(0,e.Gpc)(()=>Ua)};let Ua=(()=>{class ht extends xe{constructor(Ve,vt,qt){super(),this.callSetDisabledState=qt,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new e.vpe,this._setValidators(Ve),this._setAsyncValidators(vt)}ngOnChanges(Ve){this._checkFormPresent(),Ve.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(un(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(Ve){const vt=this.form.get(Ve.path);return Jt(vt,Ve,this.callSetDisabledState),vt.updateValueAndValidity({emitEvent:!1}),this.directives.push(Ve),vt}getControl(Ve){return this.form.get(Ve.path)}removeControl(Ve){Xt(Ve.control||null,Ve,!1),function Bi(ht,bt){const Ve=ht.indexOf(bt);Ve>-1&&ht.splice(Ve,1)}(this.directives,Ve)}addFormGroup(Ve){this._setUpFormContainer(Ve)}removeFormGroup(Ve){this._cleanUpFormContainer(Ve)}getFormGroup(Ve){return this.form.get(Ve.path)}addFormArray(Ve){this._setUpFormContainer(Ve)}removeFormArray(Ve){this._cleanUpFormContainer(Ve)}getFormArray(Ve){return this.form.get(Ve.path)}updateModel(Ve,vt){this.form.get(Ve.path).setValue(vt)}onSubmit(Ve){return this.submitted=!0,bi(this.form,this.directives),this.ngSubmit.emit(Ve),"dialog"===Ve?.target?.method}onReset(){this.resetForm()}resetForm(Ve=void 0){this.form.reset(Ve),this.submitted=!1}_updateDomValue(){this.directives.forEach(Ve=>{const vt=Ve.control,qt=this.form.get(Ve.path);vt!==qt&&(Xt(vt||null,Ve),(ht=>ht instanceof Ct)(qt)&&(Jt(qt,Ve,this.callSetDisabledState),Ve.control=qt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(Ve){const vt=this.form.get(Ve.path);oi(vt,Ve),vt.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(Ve){if(this.form){const vt=this.form.get(Ve.path);vt&&function Ce(ht,bt){return un(ht,bt)}(vt,Ve)&&vt.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){hi(this.form,this),this._oldForm&&un(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(vt){return new(vt||ht)(e.Y36(j,10),e.Y36(K,10),e.Y36(At,8))};static#t=this.\u0275dir=e.lG2({type:ht,selectors:[["","formGroup",""]],hostBindings:function(vt,qt){1&vt&&e.NdJ("submit",function(Cn){return qt.onSubmit(Cn)})("reset",function(){return qt.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e._Bn([ca]),e.qOj,e.TTD]})}return ht})();const va={provide:de,useExisting:(0,e.Gpc)(()=>Ir)};let Ir=(()=>{class ht extends de{set isDisabled(Ve){}static#e=this._ngModelWarningSentOnce=!1;constructor(Ve,vt,qt,Fi,Cn){super(),this._ngModelWarningConfig=Cn,this._added=!1,this.name=null,this.update=new e.vpe,this._ngModelWarningSent=!1,this._parent=Ve,this._setValidators(vt),this._setAsyncValidators(qt),this.valueAccessor=Oi(0,Fi)}ngOnChanges(Ve){this._added||this._setUpControl(),ai(Ve,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(Ve){this.viewModel=Ve,this.update.emit(Ve)}get path(){return mi(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(vt){return new(vt||ht)(e.Y36(xe,13),e.Y36(j,10),e.Y36(K,10),e.Y36(P,10),e.Y36(Cr,8))};static#i=this.\u0275dir=e.lG2({type:ht,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[e._Bn([va]),e.qOj,e.TTD]})}return ht})();function Na(ht){return"number"==typeof ht?ht:parseFloat(ht)}let Ha=(()=>{class ht{constructor(){this._validator=s}ngOnChanges(Ve){if(this.inputName in Ve){const vt=this.normalizeInput(Ve[this.inputName].currentValue);this._enabled=this.enabled(vt),this._validator=this._enabled?this.createValidator(vt):s,this._onChange&&this._onChange()}}validate(Ve){return this._validator(Ve)}registerOnValidatorChange(Ve){this._onChange=Ve}enabled(Ve){return null!=Ve}static#e=this.\u0275fac=function(vt){return new(vt||ht)};static#t=this.\u0275dir=e.lG2({type:ht,features:[e.TTD]})}return ht})();const go={provide:j,useExisting:(0,e.Gpc)(()=>no),multi:!0};let no=(()=>{class ht extends Ha{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=Ve=>Na(Ve),this.createValidator=Ve=>fe(Ve)}static#e=this.\u0275fac=(()=>{let Ve;return function(qt){return(Ve||(Ve=e.n5z(ht)))(qt||ht)}})();static#t=this.\u0275dir=e.lG2({type:ht,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(vt,qt){2&vt&&e.uIk("max",qt._enabled?qt.max:null)},inputs:{max:"max"},features:[e._Bn([go]),e.qOj]})}return ht})();const Eo={provide:j,useExisting:(0,e.Gpc)(()=>_o),multi:!0};let _o=(()=>{class ht extends Ha{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=Ve=>Na(Ve),this.createValidator=Ve=>ae(Ve)}static#e=this.\u0275fac=(()=>{let Ve;return function(qt){return(Ve||(Ve=e.n5z(ht)))(qt||ht)}})();static#t=this.\u0275dir=e.lG2({type:ht,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(vt,qt){2&vt&&e.uIk("min",qt._enabled?qt.min:null)},inputs:{min:"min"},features:[e._Bn([Eo]),e.qOj]})}return ht})();const Xr={provide:j,useExisting:(0,e.Gpc)(()=>ba),multi:!0},da={provide:j,useExisting:(0,e.Gpc)(()=>Ho),multi:!0};let ba=(()=>{class ht extends Ha{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e.VuI,this.createValidator=Ve=>se}enabled(Ve){return Ve}static#e=this.\u0275fac=(()=>{let Ve;return function(qt){return(Ve||(Ve=e.n5z(ht)))(qt||ht)}})();static#t=this.\u0275dir=e.lG2({type:ht,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(vt,qt){2&vt&&e.uIk("required",qt._enabled?"":null)},inputs:{required:"required"},features:[e._Bn([Xr]),e.qOj]})}return ht})(),Ho=(()=>{class ht extends ba{constructor(){super(...arguments),this.createValidator=Ve=>Me}static#e=this.\u0275fac=(()=>{let Ve;return function(qt){return(Ve||(Ve=e.n5z(ht)))(qt||ht)}})();static#t=this.\u0275dir=e.lG2({type:ht,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(vt,qt){2&vt&&e.uIk("required",qt._enabled?"":null)},features:[e._Bn([da]),e.qOj]})}return ht})(),Vt=(()=>{class ht{static#e=this.\u0275fac=function(vt){return new(vt||ht)};static#t=this.\u0275mod=e.oAB({type:ht});static#i=this.\u0275inj=e.cJS({imports:[xn]})}return ht})();class Ti extends gt{constructor(bt,Ve,vt){super(Ot(Ve),nt(vt,Ve)),this.controls=bt,this._initObservables(),this._setUpdateStrategy(Ve),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(bt){return this.controls[this._adjustIndex(bt)]}push(bt,Ve={}){this.controls.push(bt),this._registerControl(bt),this.updateValueAndValidity({emitEvent:Ve.emitEvent}),this._onCollectionChange()}insert(bt,Ve,vt={}){this.controls.splice(bt,0,Ve),this._registerControl(Ve),this.updateValueAndValidity({emitEvent:vt.emitEvent})}removeAt(bt,Ve={}){let vt=this._adjustIndex(bt);vt<0&&(vt=0),this.controls[vt]&&this.controls[vt]._registerOnCollectionChange(()=>{}),this.controls.splice(vt,1),this.updateValueAndValidity({emitEvent:Ve.emitEvent})}setControl(bt,Ve,vt={}){let qt=this._adjustIndex(bt);qt<0&&(qt=0),this.controls[qt]&&this.controls[qt]._registerOnCollectionChange(()=>{}),this.controls.splice(qt,1),Ve&&(this.controls.splice(qt,0,Ve),this._registerControl(Ve)),this.updateValueAndValidity({emitEvent:vt.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(bt,Ve={}){Xe(this,0,bt),bt.forEach((vt,qt)=>{Ue(this,!1,qt),this.at(qt).setValue(vt,{onlySelf:!0,emitEvent:Ve.emitEvent})}),this.updateValueAndValidity(Ve)}patchValue(bt,Ve={}){null!=bt&&(bt.forEach((vt,qt)=>{this.at(qt)&&this.at(qt).patchValue(vt,{onlySelf:!0,emitEvent:Ve.emitEvent})}),this.updateValueAndValidity(Ve))}reset(bt=[],Ve={}){this._forEachChild((vt,qt)=>{vt.reset(bt[qt],{onlySelf:!0,emitEvent:Ve.emitEvent})}),this._updatePristine(Ve),this._updateTouched(Ve),this.updateValueAndValidity(Ve)}getRawValue(){return this.controls.map(bt=>bt.getRawValue())}clear(bt={}){this.controls.length<1||(this._forEachChild(Ve=>Ve._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:bt.emitEvent}))}_adjustIndex(bt){return bt<0?bt+this.length:bt}_syncPendingControls(){let bt=this.controls.reduce((Ve,vt)=>!!vt._syncPendingControls()||Ve,!1);return bt&&this.updateValueAndValidity({onlySelf:!0}),bt}_forEachChild(bt){this.controls.forEach((Ve,vt)=>{bt(Ve,vt)})}_updateValue(){this.value=this.controls.filter(bt=>bt.enabled||this.disabled).map(bt=>bt.value)}_anyControls(bt){return this.controls.some(Ve=>Ve.enabled&&bt(Ve))}_setUpControls(){this._forEachChild(bt=>this._registerControl(bt))}_allControlsDisabled(){for(const bt of this.controls)if(bt.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(bt){bt.setParent(this),bt._registerOnCollectionChange(this._onCollectionChange)}_find(bt){return this.at(bt)??null}}function Si(ht){return!!ht&&(void 0!==ht.asyncValidators||void 0!==ht.validators||void 0!==ht.updateOn)}let Zi=(()=>{class ht{constructor(){this.useNonNullable=!1}get nonNullable(){const Ve=new ht;return Ve.useNonNullable=!0,Ve}group(Ve,vt=null){const qt=this._reduceControls(Ve);let Fi={};return Si(vt)?Fi=vt:null!==vt&&(Fi.validators=vt.validator,Fi.asyncValidators=vt.asyncValidator),new Le(qt,Fi)}record(Ve,vt=null){const qt=this._reduceControls(Ve);return new Ie(qt,vt)}control(Ve,vt,qt){let Fi={};return this.useNonNullable?(Si(vt)?Fi=vt:(Fi.validators=vt,Fi.asyncValidators=qt),new Ct(Ve,{...Fi,nonNullable:!0})):new Ct(Ve,vt,qt)}array(Ve,vt,qt){const Fi=Ve.map(Cn=>this._createControl(Cn));return new Ti(Fi,vt,qt)}_reduceControls(Ve){const vt={};return Object.keys(Ve).forEach(qt=>{vt[qt]=this._createControl(Ve[qt])}),vt}_createControl(Ve){return Ve instanceof Ct||Ve instanceof gt?Ve:Array.isArray(Ve)?this.control(Ve[0],Ve.length>1?Ve[1]:null,Ve.length>2?Ve[2]:null):this.control(Ve)}static#e=this.\u0275fac=function(vt){return new(vt||ht)};static#t=this.\u0275prov=e.Yz7({token:ht,factory:ht.\u0275fac,providedIn:"root"})}return ht})(),cr=(()=>{class ht extends Zi{group(Ve,vt=null){return super.group(Ve,vt)}control(Ve,vt,qt){return super.control(Ve,vt,qt)}array(Ve,vt,qt){return super.array(Ve,vt,qt)}static#e=this.\u0275fac=(()=>{let Ve;return function(qt){return(Ve||(Ve=e.n5z(ht)))(qt||ht)}})();static#t=this.\u0275prov=e.Yz7({token:ht,factory:ht.\u0275fac,providedIn:"root"})}return ht})(),on=(()=>{class ht{static withConfig(Ve){return{ngModule:ht,providers:[{provide:At,useValue:Ve.callSetDisabledState??Zt}]}}static#e=this.\u0275fac=function(vt){return new(vt||ht)};static#t=this.\u0275mod=e.oAB({type:ht});static#i=this.\u0275inj=e.cJS({imports:[Vt]})}return ht})(),Wa=(()=>{class ht{static withConfig(Ve){return{ngModule:ht,providers:[{provide:Cr,useValue:Ve.warnOnNgModelWithFormControl??"always"},{provide:At,useValue:Ve.callSetDisabledState??Zt}]}}static#e=this.\u0275fac=function(vt){return new(vt||ht)};static#t=this.\u0275mod=e.oAB({type:ht});static#i=this.\u0275inj=e.cJS({imports:[Vt]})}return ht})()},4630:(ze,q,p)=>{"use strict";p.d(q,{Bb:()=>Je,XC:()=>r,ZL:()=>je});var e=p(9212),t=p(3680),y=p(6814),A=p(5407),l=p(3651),x=p(4300),m=p(2495),P=p(2831),d=p(6825),E=p(7394),M=p(8645),I=p(4911),k=p(3019),V=p(2096),B=p(2438),W=p(6028),j=p(8484),K=p(6223),X=p(5683),ie=p(7921),ae=p(4664),fe=p(8180),se=p(2181),Me=p(7398),$=p(9397),ue=p(932),S=p(9388);const n=["panel"];function s(ye,me){if(1&ye){const he=e.EpF();e.TgZ(0,"div",0,1),e.NdJ("@panelAnimation.done",function(de){e.CHM(he);const ge=e.oxw();return e.KtG(ge._animationDone.next(de))}),e.Hsn(2),e.qZA()}if(2&ye){const he=me.id,xe=e.oxw();e.Q6J("id",xe.id)("ngClass",xe._classList)("@panelAnimation",xe.isOpen?"visible":"hidden"),e.uIk("aria-label",xe.ariaLabel||null)("aria-labelledby",xe._getPanelAriaLabelledby(he))}}const f=["*"],h=(0,d.X$)("panelAnimation",[(0,d.SB)("void, hidden",(0,d.oB)({opacity:0,transform:"scaleY(0.8)"})),(0,d.eR)(":enter, hidden => visible",[(0,d.ru)([(0,d.jt)("0.03s linear",(0,d.oB)({opacity:1})),(0,d.jt)("0.12s cubic-bezier(0, 0, 0.2, 1)",(0,d.oB)({transform:"scaleY(1)"}))])]),(0,d.eR)(":leave, visible => hidden",[(0,d.jt)("0.075s linear",(0,d.oB)({opacity:0}))])]);let w=0;class D{constructor(me,he){this.source=me,this.option=he}}const O=new e.OlP("mat-autocomplete-default-options",{providedIn:"root",factory:function v(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}});let r=(()=>{class ye{get isOpen(){return this._isOpen&&this.showPanel}_setColor(he){this._color=he,this._setThemeClasses(this._classList)}set classList(he){this._classList=he&&he.length?(0,m.du)(he).reduce((xe,de)=>(xe[de]=!0,xe),{}):{},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(he){this._hideSingleSelectionIndicator=he,this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const he of this.options)he._changeDetectorRef.markForCheck()}constructor(he,xe,de,ge){this._changeDetectorRef=he,this._elementRef=xe,this._defaults=de,this._activeOptionChanges=E.w0.EMPTY,this._visibleClass="mat-mdc-autocomplete-visible",this._hiddenClass="mat-mdc-autocomplete-hidden",this._animationDone=new e.vpe,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new e.vpe,this.opened=new e.vpe,this.closed=new e.vpe,this.optionActivated=new e.vpe,this._classList={},this.id="mat-autocomplete-"+w++,this.inertGroups=ge?.SAFARI||!1,this.autoActiveFirstOption=!!de.autoActiveFirstOption,this.autoSelectActiveOption=!!de.autoSelectActiveOption,this.requireSelection=!!de.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new x.s1(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(he=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[he]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe(),this._animationDone.complete()}_setScrollTop(he){this.panel&&(this.panel.nativeElement.scrollTop=he)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(he){const xe=new D(this,he);this.optionSelected.emit(xe)}_getPanelAriaLabelledby(he){return this.ariaLabel?null:this.ariaLabelledby?(he?he+" ":"")+this.ariaLabelledby:he}_setVisibilityClasses(he){he[this._visibleClass]=this.showPanel,he[this._hiddenClass]=!this.showPanel}_setThemeClasses(he){he["mat-primary"]="primary"===this._color,he["mat-warn"]="warn"===this._color,he["mat-accent"]="accent"===this._color}_skipPredicate(){return!1}static#e=this.\u0275fac=function(xe){return new(xe||ye)(e.Y36(e.sBO),e.Y36(e.SBq),e.Y36(O),e.Y36(P.t4))};static#t=this.\u0275cmp=e.Xpm({type:ye,selectors:[["mat-autocomplete"]],contentQueries:function(xe,de,ge){if(1&xe&&(e.Suo(ge,t.ey,5),e.Suo(ge,t.K7,5)),2&xe){let qe;e.iGM(qe=e.CRH())&&(de.options=qe),e.iGM(qe=e.CRH())&&(de.optionGroups=qe)}},viewQuery:function(xe,de){if(1&xe&&(e.Gf(e.Rgc,7),e.Gf(n,5)),2&xe){let ge;e.iGM(ge=e.CRH())&&(de.template=ge.first),e.iGM(ge=e.CRH())&&(de.panel=ge.first)}},hostAttrs:["ngSkipHydration","",1,"mat-mdc-autocomplete"],inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:["autoActiveFirstOption","autoActiveFirstOption",e.VuI],autoSelectActiveOption:["autoSelectActiveOption","autoSelectActiveOption",e.VuI],requireSelection:["requireSelection","requireSelection",e.VuI],panelWidth:"panelWidth",disableRipple:["disableRipple","disableRipple",e.VuI],classList:["class","classList"],hideSingleSelectionIndicator:["hideSingleSelectionIndicator","hideSingleSelectionIndicator",e.VuI]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],features:[e._Bn([{provide:t.HF,useExisting:ye}]),e.Xq5],ngContentSelectors:f,decls:1,vars:0,consts:[["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id","ngClass"],["panel",""]],template:function(xe,de){1&xe&&(e.F$t(),e.YNc(0,s,3,5,"ng-template"))},dependencies:[y.mk],styles:["div.mat-mdc-autocomplete-panel{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-autocomplete-background-color)}.cdk-high-contrast-active div.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[h]},changeDetection:0})}return ye})();const H={provide:K.JU,useExisting:(0,e.Gpc)(()=>je),multi:!0},ee=new e.OlP("mat-autocomplete-scroll-strategy"),ot={provide:ee,deps:[l.aV],useFactory:function De(ye){return()=>ye.scrollStrategies.reposition()}};let je=(()=>{class ye{constructor(he,xe,de,ge,qe,oe,ve,le,Ge,We,wt){this._element=he,this._overlay=xe,this._viewContainerRef=de,this._zone=ge,this._changeDetectorRef=qe,this._dir=ve,this._formField=le,this._document=Ge,this._viewportRuler=We,this._defaults=wt,this._componentDestroyed=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=E.w0.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new M.x,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._aboveClass="mat-mdc-autocomplete-panel-above",this._overlayAttached=!1,this.optionSelections=(0,I.P)(()=>{const mt=this.autocomplete?this.autocomplete.options:null;return mt?mt.changes.pipe((0,ie.O)(mt),(0,ae.w)(()=>(0,k.T)(...mt.map(kt=>kt.onSelectionChange)))):this._zone.onStable.pipe((0,fe.q)(1),(0,ae.w)(()=>this.optionSelections))}),this._handlePanelKeydown=mt=>{(mt.keyCode===W.hY&&!(0,W.Vb)(mt)||mt.keyCode===W.LH&&(0,W.Vb)(mt,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),mt.stopPropagation(),mt.preventDefault())},this._trackedModal=null,this._scrollStrategy=oe}ngAfterViewInit(){const he=this._getWindow();typeof he<"u"&&this._zone.runOutsideAngular(()=>he.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(he){he.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const he=this._getWindow();typeof he<"u"&&he.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel(),this._trackedModal&&(0,x.Zf)(this._trackedModal,"aria-owns",this.autocomplete.id)}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal)&&(0,x.iD)(this._trackedModal,"aria-owns",this.autocomplete.id)}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,k.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,se.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,se.h)(()=>this._overlayAttached)):(0,V.of)()).pipe((0,Me.U)(he=>he instanceof t.rN?he:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,k.T)((0,B.R)(this._document,"click"),(0,B.R)(this._document,"auxclick"),(0,B.R)(this._document,"touchend")).pipe((0,se.h)(he=>{const xe=(0,P.sA)(he),de=this._formField?this._formField._elementRef.nativeElement:null,ge=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&xe!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!de||!de.contains(xe))&&(!ge||!ge.contains(xe))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(xe)}))}writeValue(he){Promise.resolve(null).then(()=>this._assignOptionValue(he))}registerOnChange(he){this._onChange=he}registerOnTouched(he){this._onTouched=he}setDisabledState(he){this._element.nativeElement.disabled=he}_handleKeydown(he){const xe=he.keyCode,de=(0,W.Vb)(he);if(xe===W.hY&&!de&&he.preventDefault(),this.activeOption&&xe===W.K5&&this.panelOpen&&!de)this.activeOption._selectViaInteraction(),this._resetActiveItem(),he.preventDefault();else if(this.autocomplete){const ge=this.autocomplete._keyManager.activeItem,qe=xe===W.LH||xe===W.JH;xe===W.Mf||qe&&!de&&this.panelOpen?this.autocomplete._keyManager.onKeydown(he):qe&&this._canOpen()&&this.openPanel(),(qe||this.autocomplete._keyManager.activeItem!==ge)&&(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(he){let xe=he.target,de=xe.value;"number"===xe.type&&(de=""==de?null:parseFloat(de)),this._previousValue!==de&&(this._previousValue=de,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(de),de||this._clearPreviousSelectedOption(null,!1),this._canOpen()&&this._document.activeElement===he.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(he=!1){this._formField&&"auto"===this._formField.floatLabel&&(he?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const he=this._zone.onStable.pipe((0,fe.q)(1)),xe=this.autocomplete.options.changes.pipe((0,$.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,ue.g)(0));return(0,k.T)(he,xe).pipe((0,ae.w)(()=>(this._zone.run(()=>{const de=this.panelOpen;this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),de!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit())}),this.panelClosingActions)),(0,fe.q)(1)).subscribe(de=>this._setValueAndClose(de))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(he){const xe=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(he):he;this._updateNativeInputValue(xe??"")}_updateNativeInputValue(he){he||this._clearPreviousSelectedOption(null,!1),this._formField?this._formField._control.value=he:this._element.nativeElement.value=he,this._previousValue=he}_setValueAndClose(he){const xe=this.autocomplete,de=he?he.source:this._pendingAutoselectedOption;de?(this._clearPreviousSelectedOption(de),this._assignOptionValue(de.value),this._onChange(de.value),xe._emitSelectEvent(de),this._element.nativeElement.focus()):xe.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),xe._animationDone?xe._animationDone.pipe((0,fe.q)(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(he,xe){this.autocomplete?.options?.forEach(de=>{de!==he&&de.selected&&de.deselect(xe)})}_attachOverlay(){let he=this._overlayRef;he?(this._positionStrategy.setOrigin(this._getConnectedElement()),he.updateSize({width:this._getPanelWidth()})):(this._portal=new j.UE(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),he=this._overlay.create(this._getOverlayConfig()),this._overlayRef=he,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&he&&he.updateSize({width:this._getPanelWidth()})})),he&&!he.hasAttached()&&(he.attach(this._portal),this._valueOnAttach=this._element.nativeElement.value,this._closingActionsSubscription=this._subscribeToClosingActions());const xe=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&xe!==this.panelOpen&&this._emitOpened()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){const he=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=he.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=he.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new l.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const he=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(he),this._positionStrategy=he,he}_setStrategyPositions(he){const xe=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],de=this._aboveClass,ge=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:de},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:de}];let qe;qe="above"===this.position?ge:"below"===this.position?xe:[...xe,...ge],he.withPositions(qe)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const he=this.autocomplete;if(he.autoActiveFirstOption){let xe=-1;for(let de=0;de<he.options.length;de++)if(!he.options.get(de).disabled){xe=de;break}he._keyManager.setActiveItem(xe)}else he._keyManager.setActiveItem(-1)}_canOpen(){const he=this._element.nativeElement;return!he.readOnly&&!he.disabled&&!this.autocompleteDisabled}_getWindow(){return this._document?.defaultView||window}_scrollToOption(he){const xe=this.autocomplete,de=(0,t.CB)(he,xe.options,xe.optionGroups);if(0===he&&1===de)xe._setScrollTop(0);else if(xe.panel){const ge=xe.options.toArray()[he];if(ge){const qe=ge._getHostElement(),oe=(0,t.jH)(qe.offsetTop,qe.offsetHeight,xe._getScrollTop(),xe.panel.nativeElement.offsetHeight);xe._setScrollTop(oe)}}}_applyModalPanelOwnership(){const he=this._element.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!he)return;const xe=this.autocomplete.id;this._trackedModal&&(0,x.iD)(this._trackedModal,"aria-owns",xe),(0,x.Zf)(he,"aria-owns",xe),this._trackedModal=he}_clearFromModal(){this._trackedModal&&((0,x.iD)(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}static#e=this.\u0275fac=function(xe){return new(xe||ye)(e.Y36(e.SBq),e.Y36(l.aV),e.Y36(e.s_b),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(ee),e.Y36(S.Is,8),e.Y36(X.G_,9),e.Y36(y.K0,8),e.Y36(A.rL),e.Y36(O,8))};static#t=this.\u0275dir=e.lG2({type:ye,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(xe,de){1&xe&&e.NdJ("focusin",function(){return de._handleFocus()})("blur",function(){return de._onTouched()})("input",function(qe){return de._handleInput(qe)})("keydown",function(qe){return de._handleKeydown(qe)})("click",function(){return de._handleClick()}),2&xe&&e.uIk("autocomplete",de.autocompleteAttribute)("role",de.autocompleteDisabled?null:"combobox")("aria-autocomplete",de.autocompleteDisabled?null:"list")("aria-activedescendant",de.panelOpen&&de.activeOption?de.activeOption.id:null)("aria-expanded",de.autocompleteDisabled?null:de.panelOpen.toString())("aria-controls",de.autocompleteDisabled||!de.panelOpen||null==de.autocomplete?null:de.autocomplete.id)("aria-haspopup",de.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled",e.VuI]},exportAs:["matAutocompleteTrigger"],features:[e._Bn([H]),e.Xq5,e.TTD]})}return ye})(),Je=(()=>{class ye{static#e=this.\u0275fac=function(xe){return new(xe||ye)};static#t=this.\u0275mod=e.oAB({type:ye});static#i=this.\u0275inj=e.cJS({providers:[ot],imports:[l.U8,t.Ng,t.BQ,y.ez,A.ZD,t.Ng,t.BQ]})}return ye})()},9014:(ze,q,p)=>{"use strict";p.d(q,{g:()=>P,k:()=>m});var e=p(9212),t=p(3680),y=p(4300),A=p(6814);let l=0;const x="mat-badge-content";let m=(()=>{class d{get color(){return this._color}set color(M){this._setColor(M),this._color=M}get content(){return this._content}set content(M){this._updateRenderedContent(M)}get description(){return this._description}set description(M){this._updateDescription(M)}constructor(M,I,k,V,B){this._ngZone=M,this._elementRef=I,this._ariaDescriber=k,this._renderer=V,this._animationMode=B,this._color="primary",this.overlap=!0,this.position="above after",this.size="medium",this._id=l++,this._isInitialized=!1,this._interactivityChecker=(0,e.f3M)(y.ic),this._document=(0,e.f3M)(A.K0)}isAbove(){return-1===this.position.indexOf("below")}isAfter(){return-1===this.position.indexOf("before")}getBadgeElement(){return this._badgeElement}ngOnInit(){this._clearExistingBadges(),this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content)),this._isInitialized=!0}ngOnDestroy(){this._renderer.destroyNode&&(this._renderer.destroyNode(this._badgeElement),this._inlineBadgeDescription?.remove()),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description)}_isHostInteractive(){return this._interactivityChecker.isFocusable(this._elementRef.nativeElement,{ignoreVisibility:!0})}_createBadgeElement(){const M=this._renderer.createElement("span"),I="mat-badge-active";return M.setAttribute("id",`mat-badge-content-${this._id}`),M.setAttribute("aria-hidden","true"),M.classList.add(x),"NoopAnimations"===this._animationMode&&M.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(M),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{M.classList.add(I)})}):M.classList.add(I),M}_updateRenderedContent(M){const I=`${M??""}`.trim();this._isInitialized&&I&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=I),this._content=I}_updateDescription(M){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),(!M||this._isHostInteractive())&&this._removeInlineDescription(),this._description=M,this._isHostInteractive()?this._ariaDescriber.describe(this._elementRef.nativeElement,M):this._updateInlineDescription()}_updateInlineDescription(){this._inlineBadgeDescription||(this._inlineBadgeDescription=this._document.createElement("span"),this._inlineBadgeDescription.classList.add("cdk-visually-hidden")),this._inlineBadgeDescription.textContent=this.description,this._badgeElement?.appendChild(this._inlineBadgeDescription)}_removeInlineDescription(){this._inlineBadgeDescription?.remove(),this._inlineBadgeDescription=void 0}_setColor(M){const I=this._elementRef.nativeElement.classList;I.remove(`mat-badge-${this._color}`),M&&I.add(`mat-badge-${M}`)}_clearExistingBadges(){const M=this._elementRef.nativeElement.querySelectorAll(`:scope > .${x}`);for(const I of Array.from(M))I!==this._badgeElement&&I.remove()}static#e=this.\u0275fac=function(I){return new(I||d)(e.Y36(e.R0b),e.Y36(e.SBq),e.Y36(y.$s),e.Y36(e.Qsj),e.Y36(e.QbO,8))};static#t=this.\u0275dir=e.lG2({type:d,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(I,k){2&I&&e.ekj("mat-badge-overlap",k.overlap)("mat-badge-above",k.isAbove())("mat-badge-below",!k.isAbove())("mat-badge-before",!k.isAfter())("mat-badge-after",k.isAfter())("mat-badge-small","small"===k.size)("mat-badge-medium","medium"===k.size)("mat-badge-large","large"===k.size)("mat-badge-hidden",k.hidden||!k.content)("mat-badge-disabled",k.disabled)},inputs:{color:["matBadgeColor","color"],overlap:["matBadgeOverlap","overlap",e.VuI],disabled:["matBadgeDisabled","disabled",e.VuI],position:["matBadgePosition","position"],content:["matBadge","content"],description:["matBadgeDescription","description"],size:["matBadgeSize","size"],hidden:["matBadgeHidden","hidden",e.VuI]},features:[e.Xq5]})}return d})(),P=(()=>{class d{static#e=this.\u0275fac=function(I){return new(I||d)};static#t=this.\u0275mod=e.oAB({type:d});static#i=this.\u0275inj=e.cJS({imports:[y.rt,t.BQ,t.BQ]})}return d})()},2296:(ze,q,p)=>{"use strict";p.d(q,{RK:()=>f,lW:()=>ae,nh:()=>S,ot:()=>w});var e=p(2831),t=p(9212),y=p(4300),A=p(3680);const l=["mat-button",""],x=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],m=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],M=["mat-mini-fab",""],k=["mat-icon-button",""],V=["*"],j=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}];let K=(()=>{class D{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(v){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,v)}get disableRipple(){return this._disableRipple}set disableRipple(v){this._disableRipple=v,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(v){this._disabled=v,this._updateRippleDisabled()}constructor(v,r,g,H){this._elementRef=v,this._platform=r,this._ngZone=g,this._animationMode=H,this._focusMonitor=(0,t.f3M)(y.tE),this._rippleLoader=(0,t.f3M)(A.Fq),this._isFab=!1,this._disableRipple=!1,this._disabled=!1,this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-button-ripple"});const N=this._elementRef.nativeElement,ee=N.classList;for(const{attribute:De,mdcClasses:ot}of j)N.hasAttribute(De)&&ee.add(...ot)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(v="program",r){v?this._focusMonitor.focusVia(this._elementRef.nativeElement,v,r):this._elementRef.nativeElement.focus(r)}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static#e=this.\u0275fac=function(r){t.$Z()};static#t=this.\u0275dir=t.lG2({type:D,inputs:{color:"color",disableRipple:["disableRipple","disableRipple",t.VuI],disabled:["disabled","disabled",t.VuI]},features:[t.Xq5]})}return D})(),ae=(()=>{class D extends K{constructor(v,r,g,H){super(v,r,g,H)}static#e=this.\u0275fac=function(r){return new(r||D)(t.Y36(t.SBq),t.Y36(e.t4),t.Y36(t.R0b),t.Y36(t.QbO,8))};static#t=this.\u0275cmp=t.Xpm({type:D,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:9,hostBindings:function(r,g){2&r&&(t.uIk("disabled",g.disabled||null),t.Tol(g.color?"mat-"+g.color:""),t.ekj("_mat-animation-noopable","NoopAnimations"===g._animationMode)("mat-unthemed",!g.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[t.qOj],attrs:l,ngContentSelectors:m,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(r,g){1&r&&(t.F$t(x),t._UZ(0,"span",0),t.Hsn(1),t.TgZ(2,"span",1),t.Hsn(3,1),t.qZA(),t.Hsn(4,2),t._UZ(5,"span",2)(6,"span",3)),2&r&&t.ekj("mdc-button__ripple",!g._isFab)("mdc-fab__ripple",g._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);--mdc-text-button-container-shape:4px;--mdc-text-button-container-height:36px;--mdc-text-button-keep-touch-target:false}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);--mdc-filled-button-container-shape:4px;--mdc-filled-button-container-elevation:0;--mdc-filled-button-disabled-container-elevation:0;--mdc-filled-button-focus-container-elevation:0;--mdc-filled-button-hover-container-elevation:0;--mdc-filled-button-keep-touch-target:false;--mdc-filled-button-pressed-container-elevation:0}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);--mdc-protected-button-container-shape:4px;--mdc-protected-button-keep-touch-target:false}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled][disabled]{box-shadow:none}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);--mdc-outlined-button-keep-touch-target:false;--mdc-outlined-button-outline-width:1px;--mdc-outlined-button-container-shape:4px}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return D})();const se=new t.OlP("mat-mdc-fab-default-options",{providedIn:"root",factory:Me});function Me(){return{color:"accent"}}const $=Me();let S=(()=>{class D extends K{constructor(v,r,g,H,N){super(v,r,g,H),this._options=N,this._isFab=!0,this._options=this._options||$,this.color=this._options.color||$.color}static#e=this.\u0275fac=function(r){return new(r||D)(t.Y36(t.SBq),t.Y36(e.t4),t.Y36(t.R0b),t.Y36(t.QbO,8),t.Y36(se,8))};static#t=this.\u0275cmp=t.Xpm({type:D,selectors:[["button","mat-mini-fab",""]],hostVars:9,hostBindings:function(r,g){2&r&&(t.uIk("disabled",g.disabled||null),t.Tol(g.color?"mat-"+g.color:""),t.ekj("_mat-animation-noopable","NoopAnimations"===g._animationMode)("mat-unthemed",!g.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[t.qOj],attrs:M,ngContentSelectors:m,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(r,g){1&r&&(t.F$t(x),t._UZ(0,"span",0),t.Hsn(1),t.TgZ(2,"span",1),t.Hsn(3,1),t.qZA(),t.Hsn(4,2),t._UZ(5,"span",2)(6,"span",3)),2&r&&t.ekj("mdc-button__ripple",!g._isFab)("mdc-fab__ripple",g._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab:hover{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mdc-fab.mdc-ripple-upgraded--background-focused,.mdc-fab:not(.mdc-ripple-upgraded):focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family);font-size:var(--mdc-typography-button-font-size);line-height:var(--mdc-typography-button-line-height);font-weight:var(--mdc-typography-button-font-weight);letter-spacing:var(--mdc-typography-button-letter-spacing);text-decoration:var(--mdc-typography-button-text-decoration);text-transform:var(--mdc-typography-button-text-transform);border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab,.mat-mdc-mini-fab{background-color:var(--mdc-fab-container-color)}.mat-mdc-fab .mdc-fab__icon,.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-extended-fab{font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);flex-shrink:0;color:var(--mat-fab-foreground-color, inherit)}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity)}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity)}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12);color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}'],encapsulation:2,changeDetection:0})}return D})(),f=(()=>{class D extends K{constructor(v,r,g,H){super(v,r,g,H),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static#e=this.\u0275fac=function(r){return new(r||D)(t.Y36(t.SBq),t.Y36(e.t4),t.Y36(t.R0b),t.Y36(t.QbO,8))};static#t=this.\u0275cmp=t.Xpm({type:D,selectors:[["button","mat-icon-button",""]],hostVars:9,hostBindings:function(r,g){2&r&&(t.uIk("disabled",g.disabled||null),t.Tol(g.color?"mat-"+g.color:""),t.ekj("_mat-animation-noopable","NoopAnimations"===g._animationMode)("mat-unthemed",!g.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[t.qOj],attrs:k,ngContentSelectors:V,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(r,g){1&r&&(t.F$t(),t._UZ(0,"span",0),t.Hsn(1),t._UZ(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;border-radius:50%;flex-shrink:0;text-align:center;font-size:var(--mdc-icon-button-icon-size);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return D})(),w=(()=>{class D{static#e=this.\u0275fac=function(r){return new(r||D)};static#t=this.\u0275mod=t.oAB({type:D});static#i=this.\u0275inj=t.cJS({imports:[A.BQ,A.si,A.BQ]})}return D})()},5195:(ze,q,p)=>{"use strict";p.d(q,{$j:()=>V,QW:()=>$,a8:()=>E,dk:()=>W,dn:()=>k,n5:()=>M});var e=p(9212),t=p(6814),y=p(3680);const A=["*"],m=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],P=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],d=new e.OlP("MAT_CARD_CONFIG");let E=(()=>{class ue{constructor(n){this.appearance=n?.appearance||"raised"}static#e=this.\u0275fac=function(s){return new(s||ue)(e.Y36(d,8))};static#t=this.\u0275cmp=e.Xpm({type:ue,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(s,f){2&s&&e.ekj("mat-mdc-card-outlined","outlined"===f.appearance)("mdc-card--outlined","outlined"===f.appearance)},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:A,decls:1,vars:0,template:function(s,f){1&s&&(e.F$t(),e.Hsn(0))},styles:['.mdc-card{display:flex;flex-direction:column;box-sizing:border-box}.mdc-card::after{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none;pointer-events:none}@media screen and (forced-colors: active){.mdc-card::after{border-color:CanvasText}}.mdc-card--outlined::after{border:none}.mdc-card__content{border-radius:inherit;height:100%}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__media--square::before{margin-top:100%}.mdc-card__media--16-9::before{margin-top:56.25%}.mdc-card__media-content{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box}.mdc-card__primary-action{display:flex;flex-direction:column;box-sizing:border-box;position:relative;outline:none;color:inherit;text-decoration:none;cursor:pointer;overflow:hidden}.mdc-card__primary-action:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__primary-action:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mdc-card__actions--full-bleed{padding:0}.mdc-card__action-buttons,.mdc-card__action-icons{display:flex;flex-direction:row;align-items:center;box-sizing:border-box}.mdc-card__action-icons{color:rgba(0, 0, 0, 0.6);flex-grow:1;justify-content:flex-end}.mdc-card__action-buttons+.mdc-card__action-icons{margin-left:16px;margin-right:0}[dir=rtl] .mdc-card__action-buttons+.mdc-card__action-icons,.mdc-card__action-buttons+.mdc-card__action-icons[dir=rtl]{margin-left:0;margin-right:16px}.mdc-card__action{display:inline-flex;flex-direction:row;align-items:center;box-sizing:border-box;justify-content:center;cursor:pointer;user-select:none}.mdc-card__action:focus{outline:none}.mdc-card__action--button{margin-left:0;margin-right:8px;padding:0 8px}[dir=rtl] .mdc-card__action--button,.mdc-card__action--button[dir=rtl]{margin-left:8px;margin-right:0}.mdc-card__action--button:last-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-card__action--button:last-child,.mdc-card__action--button:last-child[dir=rtl]{margin-left:0;margin-right:0}.mdc-card__actions--full-bleed .mdc-card__action--button{justify-content:space-between;width:100%;height:auto;max-height:none;margin:0;padding:8px 16px;text-align:left}[dir=rtl] .mdc-card__actions--full-bleed .mdc-card__action--button,.mdc-card__actions--full-bleed .mdc-card__action--button[dir=rtl]{text-align:right}.mdc-card__action--icon{margin:-6px 0;padding:12px}.mdc-card__action--icon:not(:disabled){color:rgba(0, 0, 0, 0.6)}.mat-mdc-card{border-radius:var(--mdc-elevated-card-container-shape);background-color:var(--mdc-elevated-card-container-color);border-width:0;border-style:solid;border-color:var(--mdc-elevated-card-container-color);box-shadow:var(--mdc-elevated-card-container-elevation)}.mat-mdc-card .mdc-card::after{border-radius:var(--mdc-elevated-card-container-shape)}.mat-mdc-card-outlined{border-width:var(--mdc-outlined-card-outline-width);border-style:solid;border-color:var(--mdc-outlined-card-outline-color);border-radius:var(--mdc-outlined-card-container-shape);background-color:var(--mdc-outlined-card-container-color);box-shadow:var(--mdc-outlined-card-container-elevation)}.mat-mdc-card-outlined .mdc-card::after{border-radius:var(--mdc-outlined-card-container-shape)}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font);line-height:var(--mat-card-title-text-line-height);font-size:var(--mat-card-title-text-size);letter-spacing:var(--mat-card-title-text-tracking);font-weight:var(--mat-card-title-text-weight)}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color);font-family:var(--mat-card-subtitle-text-font);line-height:var(--mat-card-subtitle-text-line-height);font-size:var(--mat-card-subtitle-text-size);letter-spacing:var(--mat-card-subtitle-text-tracking);font-weight:var(--mat-card-subtitle-text-weight)}.mat-mdc-card{position:relative}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}'],encapsulation:2,changeDetection:0})}return ue})(),M=(()=>{class ue{static#e=this.\u0275fac=function(s){return new(s||ue)};static#t=this.\u0275dir=e.lG2({type:ue,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]})}return ue})(),k=(()=>{class ue{static#e=this.\u0275fac=function(s){return new(s||ue)};static#t=this.\u0275dir=e.lG2({type:ue,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]})}return ue})(),V=(()=>{class ue{static#e=this.\u0275fac=function(s){return new(s||ue)};static#t=this.\u0275dir=e.lG2({type:ue,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"]})}return ue})(),W=(()=>{class ue{static#e=this.\u0275fac=function(s){return new(s||ue)};static#t=this.\u0275cmp=e.Xpm({type:ue,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:P,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(s,f){1&s&&(e.F$t(m),e.Hsn(0),e.TgZ(1,"div",0),e.Hsn(2,1),e.qZA(),e.Hsn(3,2))},encapsulation:2,changeDetection:0})}return ue})(),$=(()=>{class ue{static#e=this.\u0275fac=function(s){return new(s||ue)};static#t=this.\u0275mod=e.oAB({type:ue});static#i=this.\u0275inj=e.cJS({imports:[y.BQ,t.ez,y.BQ]})}return ue})()},5986:(ze,q,p)=>{"use strict";p.d(q,{oG:()=>k,p9:()=>j});var e=p(9212),t=p(6223),y=p(3680);const A=["input"],l=["label"],x=["*"],m=new e.OlP("mat-checkbox-default-options",{providedIn:"root",factory:P});function P(){return{color:"accent",clickAction:"check-indeterminate"}}const d={provide:t.JU,useExisting:(0,e.Gpc)(()=>k),multi:!0};class E{}let M=0;const I=P();let k=(()=>{class K{focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(ie){const ae=new E;return ae.source=this,ae.checked=ie,ae}_getAnimationTargetElement(){return this._inputElement?.nativeElement}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(ie,ae,fe,se,Me,$){this._elementRef=ie,this._changeDetectorRef=ae,this._ngZone=fe,this._animationMode=Me,this._options=$,this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"},this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new e.vpe,this.indeterminateChange=new e.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||I,this.color=this._options.color||I.color,this.tabIndex=parseInt(se)||0,this.id=this._uniqueId="mat-mdc-checkbox-"+ ++M}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(ie){ie!=this.checked&&(this._checked=ie,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(ie){ie!==this.disabled&&(this._disabled=ie,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(ie){const ae=ie!=this._indeterminate;this._indeterminate=ie,ae&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(ie){this.checked=!!ie}registerOnChange(ie){this._controlValueAccessorChangeFn=ie}registerOnTouched(ie){this._onTouched=ie}setDisabledState(ie){this.disabled=ie}_transitionCheckState(ie){let ae=this._currentCheckState,fe=this._getAnimationTargetElement();if(ae!==ie&&fe&&(this._currentAnimationClass&&fe.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(ae,ie),this._currentCheckState=ie,this._currentAnimationClass.length>0)){fe.classList.add(this._currentAnimationClass);const se=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{fe.classList.remove(se)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){const ie=this._options?.clickAction;this.disabled||"noop"===ie?!this.disabled&&"noop"===ie&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==ie&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(ie){ie.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(ie,ae){if("NoopAnimations"===this._animationMode)return"";switch(ie){case 0:if(1===ae)return this._animationClasses.uncheckedToChecked;if(3==ae)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===ae?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===ae?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===ae?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(ie){const ae=this._inputElement;ae&&(ae.nativeElement.indeterminate=ie)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(ie){ie.target&&this._labelElement.nativeElement.contains(ie.target)&&ie.stopPropagation()}static#e=this.\u0275fac=function(ae){return new(ae||K)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(e.R0b),e.$8M("tabindex"),e.Y36(e.QbO,8),e.Y36(m,8))};static#t=this.\u0275cmp=e.Xpm({type:K,selectors:[["mat-checkbox"]],viewQuery:function(ae,fe){if(1&ae&&(e.Gf(A,5),e.Gf(l,5),e.Gf(y.wG,5)),2&ae){let se;e.iGM(se=e.CRH())&&(fe._inputElement=se.first),e.iGM(se=e.CRH())&&(fe._labelElement=se.first),e.iGM(se=e.CRH())&&(fe.ripple=se.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:14,hostBindings:function(ae,fe){2&ae&&(e.Ikx("id",fe.id),e.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null),e.Tol(fe.color?"mat-"+fe.color:"mat-accent"),e.ekj("_mat-animation-noopable","NoopAnimations"===fe._animationMode)("mdc-checkbox--disabled",fe.disabled)("mat-mdc-checkbox-disabled",fe.disabled)("mat-mdc-checkbox-checked",fe.checked))},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:["required","required",e.VuI],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:["disableRipple","disableRipple",e.VuI],tabIndex:["tabIndex","tabIndex",ie=>null==ie?void 0:(0,e.Cb_)(ie)],color:"color",checked:["checked","checked",e.VuI],disabled:["disabled","disabled",e.VuI],indeterminate:["indeterminate","indeterminate",e.VuI]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[e._Bn([d]),e.Xq5],ngContentSelectors:x,decls:15,vars:20,consts:[[1,"mdc-form-field",3,"click"],[1,"mdc-checkbox"],["checkbox",""],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","indeterminate","disabled","id","required","tabIndex","blur","click","change"],["input",""],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"],["label",""]],template:function(ae,fe){if(1&ae&&(e.F$t(),e.TgZ(0,"div",0),e.NdJ("click",function(Me){return fe._preventBubblingFromLabel(Me)}),e.TgZ(1,"div",1,2)(3,"div",3),e.NdJ("click",function(){return fe._onTouchTargetClick()}),e.qZA(),e.TgZ(4,"input",4,5),e.NdJ("blur",function(){return fe._onBlur()})("click",function(){return fe._onInputClick()})("change",function(Me){return fe._onInteractionEvent(Me)}),e.qZA(),e._UZ(6,"div",6),e.TgZ(7,"div",7),e.O4$(),e.TgZ(8,"svg",8),e._UZ(9,"path",9),e.qZA(),e.kcU(),e._UZ(10,"div",10),e.qZA(),e._UZ(11,"div",11),e.qZA(),e.TgZ(12,"label",12,13),e.Hsn(14),e.qZA()()),2&ae){const se=e.MAs(2);e.ekj("mdc-form-field--align-end","before"==fe.labelPosition),e.xp6(4),e.ekj("mdc-checkbox--selected",fe.checked),e.Q6J("checked",fe.checked)("indeterminate",fe.indeterminate)("disabled",fe.disabled)("id",fe.inputId)("required",fe.required)("tabIndex",fe.disabled?-1:fe.tabIndex),e.uIk("aria-label",fe.ariaLabel||null)("aria-labelledby",fe.ariaLabelledby)("aria-describedby",fe.ariaDescribedby)("aria-checked",fe.indeterminate?"mixed":null)("name",fe.name)("value",fe.value),e.xp6(7),e.Q6J("matRippleTrigger",se)("matRippleDisabled",fe.disableRipple||fe.disabled)("matRippleCentered",!0),e.xp6(1),e.Q6J("for",fe.inputId)}},dependencies:[y.wG],styles:['.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}}.mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}}.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2)}.mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:focus:not(:checked):not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color);background-color:var(--mdc-checkbox-selected-focus-icon-color)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default}.mat-mdc-checkbox label:empty{display:none}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return K})(),W=(()=>{class K{static#e=this.\u0275fac=function(ae){return new(ae||K)};static#t=this.\u0275mod=e.oAB({type:K});static#i=this.\u0275inj=e.cJS({})}return K})(),j=(()=>{class K{static#e=this.\u0275fac=function(ae){return new(ae||K)};static#t=this.\u0275mod=e.oAB({type:K});static#i=this.\u0275inj=e.cJS({imports:[y.BQ,y.si,W,y.BQ,W]})}return K})()},2557:(ze,q,p)=>{"use strict";p.d(q,{HS:()=>he,Hi:()=>st});var e=p(2495),t=p(9212),y=p(6814),A=p(3680),l=p(4300),x=p(8645),m=p(3019),P=p(8180),I=(p(9773),p(7921),p(4664),p(6028));function W(Ke,Et){1&Ke&&(t.TgZ(0,"span",7),t.Hsn(1,1),t.qZA())}function j(Ke,Et){1&Ke&&(t.TgZ(0,"span",8),t.Hsn(1,2),t.qZA())}p(9388),p(6223),p(5683);const K=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],X=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],O=new t.OlP("mat-chips-default-options"),v=new t.OlP("MatChipAvatar"),r=new t.OlP("MatChipTrailingIcon"),g=new t.OlP("MatChipRemove"),H=new t.OlP("MatChip");class N{}const ee=(0,A.sb)(N,-1);let De=(()=>{class Ke extends ee{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(ct){this._disabled=(0,e.Ig)(ct)}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(ct,te){super(),this._elementRef=ct,this._parentChip=te,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this._allowFocusWhenDisabled=!1,"BUTTON"===ct.nativeElement.nodeName&&ct.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(ct){!this.disabled&&this.isInteractive&&this._isPrimary&&(ct.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(ct){(ct.keyCode===I.K5||ct.keyCode===I.L_)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(ct.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}static#e=this.\u0275fac=function(te){return new(te||Ke)(t.Y36(t.SBq),t.Y36(H))};static#t=this.\u0275dir=t.lG2({type:Ke,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(te,Pe){1&te&&t.NdJ("click",function(Ze){return Pe._handleClick(Ze)})("keydown",function(Ze){return Pe._handleKeydown(Ze)}),2&te&&(t.uIk("tabindex",Pe._getTabindex())("disabled",Pe._getDisabledAttribute())("aria-disabled",Pe.disabled),t.ekj("mdc-evolution-chip__action--primary",Pe._isPrimary)("mdc-evolution-chip__action--presentational",!Pe.isInteractive)("mdc-evolution-chip__action--trailing",!Pe._isPrimary))},inputs:{disabled:"disabled",tabIndex:"tabIndex",isInteractive:"isInteractive",_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},features:[t.qOj]})}return Ke})(),ye=0;const me=(0,A.sb)((0,A.pj)((0,A.Kr)((0,A.Id)(class{constructor(Ke){this._elementRef=Ke}})),"primary"),-1);let he=(()=>{class Ke extends me{_hasFocus(){return this._hasFocusInternal}get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(ct){this._value=ct}get removable(){return this._removable}set removable(ct){this._removable=(0,e.Ig)(ct)}get highlighted(){return this._highlighted}set highlighted(ct){this._highlighted=(0,e.Ig)(ct)}get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(ct){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,ct)}constructor(ct,te,Pe,$t,Ze,Qe,zt,xt){super(te),this._changeDetectorRef=ct,this._ngZone=Pe,this._focusMonitor=$t,this._globalRippleOptions=zt,this._onFocus=new x.x,this._onBlur=new x.x,this.role=null,this._hasFocusInternal=!1,this.id="mat-mdc-chip-"+ye++,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this._removable=!0,this._highlighted=!1,this.removed=new t.vpe,this.destroyed=new t.vpe,this.basicChipAttrName="mat-basic-chip",this._rippleLoader=(0,t.f3M)(A.Fq),this._document=Ze,this._animationsDisabled="NoopAnimations"===Qe,null!=xt&&(this.tabIndex=parseInt(xt)??this.defaultTabIndex),this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){const ct=this._elementRef.nativeElement;this._isBasicChip=ct.hasAttribute(this.basicChipAttrName)||ct.tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=(0,m.T)(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!(!this.trailingIcon&&!this.removeIcon)}_handleKeydown(ct){(ct.keyCode===I.ZH||ct.keyCode===I.yY)&&(ct.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(ct){return this._getActions().find(te=>{const Pe=te._elementRef.nativeElement;return Pe===ct||Pe.contains(ct)})}_getActions(){const ct=[];return this.primaryAction&&ct.push(this.primaryAction),this.removeIcon&&ct.push(this.removeIcon),this.trailingIcon&&ct.push(this.trailingIcon),ct}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(ct=>{const te=null!==ct;te!==this._hasFocusInternal&&(this._hasFocusInternal=te,te?this._onFocus.next({chip:this}):this._ngZone.onStable.pipe((0,P.q)(1)).subscribe(()=>this._ngZone.run(()=>this._onBlur.next({chip:this}))))})}static#e=this.\u0275fac=function(te){return new(te||Ke)(t.Y36(t.sBO),t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(l.tE),t.Y36(y.K0),t.Y36(t.QbO,8),t.Y36(A.Y2,8),t.$8M("tabindex"))};static#t=this.\u0275cmp=t.Xpm({type:Ke,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(te,Pe,$t){if(1&te&&(t.Suo($t,v,5),t.Suo($t,r,5),t.Suo($t,g,5),t.Suo($t,v,5),t.Suo($t,r,5),t.Suo($t,g,5)),2&te){let Ze;t.iGM(Ze=t.CRH())&&(Pe.leadingIcon=Ze.first),t.iGM(Ze=t.CRH())&&(Pe.trailingIcon=Ze.first),t.iGM(Ze=t.CRH())&&(Pe.removeIcon=Ze.first),t.iGM(Ze=t.CRH())&&(Pe._allLeadingIcons=Ze),t.iGM(Ze=t.CRH())&&(Pe._allTrailingIcons=Ze),t.iGM(Ze=t.CRH())&&(Pe._allRemoveIcons=Ze)}},viewQuery:function(te,Pe){if(1&te&&t.Gf(De,5),2&te){let $t;t.iGM($t=t.CRH())&&(Pe.primaryAction=$t.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:30,hostBindings:function(te,Pe){1&te&&t.NdJ("keydown",function(Ze){return Pe._handleKeydown(Ze)}),2&te&&(t.Ikx("id",Pe.id),t.uIk("role",Pe.role)("tabindex",Pe.role?Pe.tabIndex:null)("aria-label",Pe.ariaLabel),t.ekj("mdc-evolution-chip",!Pe._isBasicChip)("mdc-evolution-chip--disabled",Pe.disabled)("mdc-evolution-chip--with-trailing-action",Pe._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",Pe.leadingIcon)("mdc-evolution-chip--with-primary-icon",Pe.leadingIcon)("mdc-evolution-chip--with-avatar",Pe.leadingIcon)("mat-mdc-chip-with-avatar",Pe.leadingIcon)("mat-mdc-chip-highlighted",Pe.highlighted)("mat-mdc-chip-disabled",Pe.disabled)("mat-mdc-basic-chip",Pe._isBasicChip)("mat-mdc-standard-chip",!Pe._isBasicChip)("mat-mdc-chip-with-trailing-icon",Pe._hasTrailingIcon())("_mat-animation-noopable",Pe._animationsDisabled))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",id:"id",ariaLabel:["aria-label","ariaLabel"],ariaDescription:["aria-description","ariaDescription"],value:"value",removable:"removable",highlighted:"highlighted"},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[t._Bn([{provide:H,useExisting:Ke}]),t.qOj],ngContentSelectors:X,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(te,Pe){1&te&&(t.F$t(K),t._UZ(0,"span",0),t.TgZ(1,"span",1)(2,"span",2),t.YNc(3,W,2,0,"span",3),t.TgZ(4,"span",4),t.Hsn(5),t._UZ(6,"span",5),t.qZA()()(),t.YNc(7,j,2,0,"span",6)),2&te&&(t.xp6(2),t.Q6J("isInteractive",!1),t.xp6(1),t.um2(3,Pe.leadingIcon?3:-1),t.xp6(4),t.um2(7,Pe._hasTrailingIcon()?7:-1))},dependencies:[De],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{flex-basis:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return Ke})(),st=(()=>{class Ke{static#e=this.\u0275fac=function(te){return new(te||Ke)};static#t=this.\u0275mod=t.oAB({type:Ke});static#i=this.\u0275inj=t.cJS({providers:[A.rD,{provide:O,useValue:{separatorKeyCodes:[I.K5]}}],imports:[A.BQ,A.si,A.BQ]})}return Ke})()},3680:(ze,q,p)=>{"use strict";p.d(q,{yN:()=>ie,mZ:()=>ae,_A:()=>r,rD:()=>ye,sG:()=>g,Ad:()=>O,K7:()=>Et,HF:()=>st,Y2:()=>Ae,BQ:()=>Me,uc:()=>de,XK:()=>je,ey:()=>$t,Ng:()=>zt,rN:()=>Pe,us:()=>ke,wG:()=>Be,Fq:()=>Ue,si:()=>it,LF:()=>ee,IR:()=>mt,CB:()=>Ze,jH:()=>Qe,pj:()=>s,Kr:()=>f,Id:()=>n,FD:()=>w,dB:()=>D,sb:()=>h});var e=p(9212),t=p(4300),y=p(9388),l=p(6814),x=p(2831),m=p(2495),P=p(5592),d=p(8645),E=p(6028);const k=["text"];function V(Xe,gt){if(1&Xe&&e._UZ(0,"mat-pseudo-checkbox",6),2&Xe){const Le=e.oxw();e.Q6J("disabled",Le.disabled)("state",Le.selected?"checked":"unchecked")}}function B(Xe,gt){if(1&Xe&&e._UZ(0,"mat-pseudo-checkbox",7),2&Xe){const Le=e.oxw();e.Q6J("disabled",Le.disabled)}}function W(Xe,gt){if(1&Xe&&(e.TgZ(0,"span",8),e._uU(1),e.qZA()),2&Xe){const Le=e.oxw();e.xp6(1),e.hij("(",Le.group.label,")")}}const j=[[["mat-icon"]],"*"],K=["mat-icon","*"];let ie=(()=>{class Xe{static#e=this.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)";static#t=this.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)";static#i=this.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)";static#n=this.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)"}return Xe})(),ae=(()=>{class Xe{static#e=this.COMPLEX="375ms";static#t=this.ENTERING="225ms";static#i=this.EXITING="195ms"}return Xe})();const se=new e.OlP("mat-sanity-checks",{providedIn:"root",factory:function fe(){return!0}});let Me=(()=>{class Xe{constructor(Le,be,J){this._sanityChecks=be,this._document=J,this._hasDoneGlobalChecks=!1,Le._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(Le){return!(0,x.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[Le])}static#e=this.\u0275fac=function(be){return new(be||Xe)(e.LFG(t.qm),e.LFG(se,8),e.LFG(l.K0))};static#t=this.\u0275mod=e.oAB({type:Xe});static#i=this.\u0275inj=e.cJS({imports:[y.vT,y.vT]})}return Xe})();function n(Xe){return class extends Xe{get disabled(){return this._disabled}set disabled(gt){this._disabled=(0,m.Ig)(gt)}constructor(...gt){super(...gt),this._disabled=!1}}}function s(Xe,gt){return class extends Xe{get color(){return this._color}set color(Le){const be=Le||this.defaultColor;be!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),be&&this._elementRef.nativeElement.classList.add(`mat-${be}`),this._color=be)}constructor(...Le){super(...Le),this.defaultColor=gt,this.color=gt}}}function f(Xe){return class extends Xe{get disableRipple(){return this._disableRipple}set disableRipple(gt){this._disableRipple=(0,m.Ig)(gt)}constructor(...gt){super(...gt),this._disableRipple=!1}}}function h(Xe,gt=0){return class extends Xe{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(Le){this._tabIndex=null!=Le?(0,m.su)(Le):this.defaultTabIndex}constructor(...Le){super(...Le),this._tabIndex=gt,this.defaultTabIndex=gt}}}function w(Xe){return class extends Xe{updateErrorState(){const gt=this.errorState,re=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);re!==gt&&(this.errorState=re,this.stateChanges.next())}constructor(...gt){super(...gt),this.errorState=!1}}}function D(Xe){return class extends Xe{constructor(...gt){super(...gt),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new P.y(Le=>{this._isInitialized?this._notifySubscriber(Le):this._pendingSubscribers.push(Le)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(gt){gt.next(),gt.complete()}}}const O=new e.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function v(){return(0,e.f3M)(e.soG)}});class r{constructor(){this._localeChanges=new d.x,this.localeChanges=this._localeChanges}getValidDateOrNull(gt){return this.isDateInstance(gt)&&this.isValid(gt)?gt:null}deserialize(gt){return null==gt||this.isDateInstance(gt)&&this.isValid(gt)?gt:this.invalid()}setLocale(gt){this.locale=gt,this._localeChanges.next()}compareDate(gt,Le){return this.getYear(gt)-this.getYear(Le)||this.getMonth(gt)-this.getMonth(Le)||this.getDate(gt)-this.getDate(Le)}sameDate(gt,Le){if(gt&&Le){let be=this.isValid(gt),J=this.isValid(Le);return be&&J?!this.compareDate(gt,Le):be==J}return gt==Le}clampDate(gt,Le,be){return Le&&this.compareDate(gt,Le)<0?Le:be&&this.compareDate(gt,be)>0?be:gt}}const g=new e.OlP("mat-date-formats"),H=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function N(Xe,gt){const Le=Array(Xe);for(let be=0;be<Xe;be++)Le[be]=gt(be);return Le}let ee=(()=>{class Xe extends r{constructor(Le){super(),this.useUtcForDisplay=!1,this._matDateLocale=(0,e.f3M)(O,{optional:!0}),void 0!==Le&&(this._matDateLocale=Le),super.setLocale(this._matDateLocale)}getYear(Le){return Le.getFullYear()}getMonth(Le){return Le.getMonth()}getDate(Le){return Le.getDate()}getDayOfWeek(Le){return Le.getDay()}getMonthNames(Le){const be=new Intl.DateTimeFormat(this.locale,{month:Le,timeZone:"utc"});return N(12,J=>this._format(be,new Date(2017,J,1)))}getDateNames(){const Le=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return N(31,be=>this._format(Le,new Date(2017,0,be+1)))}getDayOfWeekNames(Le){const be=new Intl.DateTimeFormat(this.locale,{weekday:Le,timeZone:"utc"});return N(7,J=>this._format(be,new Date(2017,0,J+1)))}getYearName(Le){const be=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(be,Le)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(Le){return this.getDate(this._createDateWithOverflow(this.getYear(Le),this.getMonth(Le)+1,0))}clone(Le){return new Date(Le.getTime())}createDate(Le,be,J){let re=this._createDateWithOverflow(Le,be,J);return re.getMonth(),re}today(){return new Date}parse(Le,be){return"number"==typeof Le?new Date(Le):Le?new Date(Date.parse(Le)):null}format(Le,be){if(!this.isValid(Le))throw Error("NativeDateAdapter: Cannot format invalid date.");const J=new Intl.DateTimeFormat(this.locale,{...be,timeZone:"utc"});return this._format(J,Le)}addCalendarYears(Le,be){return this.addCalendarMonths(Le,12*be)}addCalendarMonths(Le,be){let J=this._createDateWithOverflow(this.getYear(Le),this.getMonth(Le)+be,this.getDate(Le));return this.getMonth(J)!=((this.getMonth(Le)+be)%12+12)%12&&(J=this._createDateWithOverflow(this.getYear(J),this.getMonth(J),0)),J}addCalendarDays(Le,be){return this._createDateWithOverflow(this.getYear(Le),this.getMonth(Le),this.getDate(Le)+be)}toIso8601(Le){return[Le.getUTCFullYear(),this._2digit(Le.getUTCMonth()+1),this._2digit(Le.getUTCDate())].join("-")}deserialize(Le){if("string"==typeof Le){if(!Le)return null;if(H.test(Le)){let be=new Date(Le);if(this.isValid(be))return be}}return super.deserialize(Le)}isDateInstance(Le){return Le instanceof Date}isValid(Le){return!isNaN(Le.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(Le,be,J){const re=new Date;return re.setFullYear(Le,be,J),re.setHours(0,0,0,0),re}_2digit(Le){return("00"+Le).slice(-2)}_format(Le,be){const J=new Date;return J.setUTCFullYear(be.getFullYear(),be.getMonth(),be.getDate()),J.setUTCHours(be.getHours(),be.getMinutes(),be.getSeconds(),be.getMilliseconds()),Le.format(J)}static#e=this.\u0275fac=function(be){return new(be||Xe)(e.LFG(O,8))};static#t=this.\u0275prov=e.Yz7({token:Xe,factory:Xe.\u0275fac})}return Xe})();const De={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let ot=(()=>{class Xe{static#e=this.\u0275fac=function(be){return new(be||Xe)};static#t=this.\u0275mod=e.oAB({type:Xe});static#i=this.\u0275inj=e.cJS({providers:[{provide:r,useClass:ee}]})}return Xe})(),je=(()=>{class Xe{static#e=this.\u0275fac=function(be){return new(be||Xe)};static#t=this.\u0275mod=e.oAB({type:Xe});static#i=this.\u0275inj=e.cJS({providers:[{provide:g,useValue:De}],imports:[ot]})}return Xe})(),ye=(()=>{class Xe{isErrorState(Le,be){return!!(Le&&Le.invalid&&(Le.touched||be&&be.submitted))}static#e=this.\u0275fac=function(be){return new(be||Xe)};static#t=this.\u0275prov=e.Yz7({token:Xe,factory:Xe.\u0275fac,providedIn:"root"})}return Xe})(),de=(()=>{class Xe{static#e=this.\u0275fac=function(be){return new(be||Xe)};static#t=this.\u0275mod=e.oAB({type:Xe});static#i=this.\u0275inj=e.cJS({imports:[Me,Me]})}return Xe})();class ge{constructor(gt,Le,be,J=!1){this._renderer=gt,this.element=Le,this.config=be,this._animationForciblyDisabledThroughCss=J,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const qe=(0,x.i$)({passive:!0,capture:!0});class oe{constructor(){this._events=new Map,this._delegateEventHandler=gt=>{const Le=(0,x.sA)(gt);Le&&this._events.get(gt.type)?.forEach((be,J)=>{(J===Le||J.contains(Le))&&be.forEach(re=>re.handleEvent(gt))})}}addHandler(gt,Le,be,J){const re=this._events.get(Le);if(re){const Ie=re.get(be);Ie?Ie.add(J):re.set(be,new Set([J]))}else this._events.set(Le,new Map([[be,new Set([J])]])),gt.runOutsideAngular(()=>{document.addEventListener(Le,this._delegateEventHandler,qe)})}removeHandler(gt,Le,be){const J=this._events.get(gt);if(!J)return;const re=J.get(Le);re&&(re.delete(be),0===re.size&&J.delete(Le),0===J.size&&(this._events.delete(gt),document.removeEventListener(gt,this._delegateEventHandler,qe)))}}const ve={enterDuration:225,exitDuration:150},Ge=(0,x.i$)({passive:!0,capture:!0}),We=["mousedown","touchstart"],wt=["mouseup","mouseleave","touchend","touchcancel"];class mt{static#e=this._eventManager=new oe;constructor(gt,Le,be,J){this._target=gt,this._ngZone=Le,this._platform=J,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,J.isBrowser&&(this._containerElement=(0,m.fI)(be))}fadeInRipple(gt,Le,be={}){const J=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),re={...ve,...be.animation};be.centered&&(gt=J.left+J.width/2,Le=J.top+J.height/2);const Ie=be.radius||function kt(Xe,gt,Le){const be=Math.max(Math.abs(Xe-Le.left),Math.abs(Xe-Le.right)),J=Math.max(Math.abs(gt-Le.top),Math.abs(gt-Le.bottom));return Math.sqrt(be*be+J*J)}(gt,Le,J),Nt=gt-J.left,At=Le-J.top,Zt=re.enterDuration,mi=document.createElement("div");mi.classList.add("mat-ripple-element"),mi.style.left=Nt-Ie+"px",mi.style.top=At-Ie+"px",mi.style.height=2*Ie+"px",mi.style.width=2*Ie+"px",null!=be.color&&(mi.style.backgroundColor=be.color),mi.style.transitionDuration=`${Zt}ms`,this._containerElement.appendChild(mi);const Jt=window.getComputedStyle(mi),Hi=Jt.transitionDuration,li="none"===Jt.transitionProperty||"0s"===Hi||"0s, 0s"===Hi||0===J.width&&0===J.height,hi=new ge(this,mi,be,li);mi.style.transform="scale3d(1, 1, 1)",hi.state=0,be.persistent||(this._mostRecentTransientRipple=hi);let un=null;return!li&&(Zt||re.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Qi=()=>this._finishRippleTransition(hi),xi=()=>this._destroyRipple(hi);mi.addEventListener("transitionend",Qi),mi.addEventListener("transitioncancel",xi),un={onTransitionEnd:Qi,onTransitionCancel:xi}}),this._activeRipples.set(hi,un),(li||!Zt)&&this._finishRippleTransition(hi),hi}fadeOutRipple(gt){if(2===gt.state||3===gt.state)return;const Le=gt.element,be={...ve,...gt.config.animation};Le.style.transitionDuration=`${be.exitDuration}ms`,Le.style.opacity="0",gt.state=2,(gt._animationForciblyDisabledThroughCss||!be.exitDuration)&&this._finishRippleTransition(gt)}fadeOutAll(){this._getActiveRipples().forEach(gt=>gt.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(gt=>{gt.config.persistent||gt.fadeOut()})}setupTriggerEvents(gt){const Le=(0,m.fI)(gt);!this._platform.isBrowser||!Le||Le===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=Le,We.forEach(be=>{mt._eventManager.addHandler(this._ngZone,be,Le,this)}))}handleEvent(gt){"mousedown"===gt.type?this._onMousedown(gt):"touchstart"===gt.type?this._onTouchStart(gt):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{wt.forEach(Le=>{this._triggerElement.addEventListener(Le,this,Ge)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(gt){0===gt.state?this._startFadeOutTransition(gt):2===gt.state&&this._destroyRipple(gt)}_startFadeOutTransition(gt){const Le=gt===this._mostRecentTransientRipple,{persistent:be}=gt.config;gt.state=1,!be&&(!Le||!this._isPointerDown)&&gt.fadeOut()}_destroyRipple(gt){const Le=this._activeRipples.get(gt)??null;this._activeRipples.delete(gt),this._activeRipples.size||(this._containerRect=null),gt===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),gt.state=3,null!==Le&&(gt.element.removeEventListener("transitionend",Le.onTransitionEnd),gt.element.removeEventListener("transitioncancel",Le.onTransitionCancel)),gt.element.remove()}_onMousedown(gt){const Le=(0,t.X6)(gt),be=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!Le&&!be&&(this._isPointerDown=!0,this.fadeInRipple(gt.clientX,gt.clientY,this._target.rippleConfig))}_onTouchStart(gt){if(!this._target.rippleDisabled&&!(0,t.yG)(gt)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const Le=gt.changedTouches;if(Le)for(let be=0;be<Le.length;be++)this.fadeInRipple(Le[be].clientX,Le[be].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(gt=>{!gt.config.persistent&&(1===gt.state||gt.config.terminateOnPointerUp&&0===gt.state)&&gt.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const gt=this._triggerElement;gt&&(We.forEach(Le=>mt._eventManager.removeHandler(Le,gt,this)),this._pointerUpEventsRegistered&&wt.forEach(Le=>gt.removeEventListener(Le,this,Ge)))}}const Ae=new e.OlP("mat-ripple-global-options");let Be=(()=>{class Xe{get disabled(){return this._disabled}set disabled(Le){Le&&this.fadeOutAllNonPersistent(),this._disabled=Le,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(Le){this._trigger=Le,this._setupTriggerEventsIfEnabled()}constructor(Le,be,J,re,Ie){this._elementRef=Le,this._animationMode=Ie,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=re||{},this._rippleRenderer=new mt(this,be,Le,J)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(Le,be=0,J){return"number"==typeof Le?this._rippleRenderer.fadeInRipple(Le,be,{...this.rippleConfig,...J}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...Le})}static#e=this.\u0275fac=function(be){return new(be||Xe)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(x.t4),e.Y36(Ae,8),e.Y36(e.QbO,8))};static#t=this.\u0275dir=e.lG2({type:Xe,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(be,J){2&be&&e.ekj("mat-ripple-unbounded",J.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return Xe})(),it=(()=>{class Xe{static#e=this.\u0275fac=function(be){return new(be||Xe)};static#t=this.\u0275mod=e.oAB({type:Xe});static#i=this.\u0275inj=e.cJS({imports:[Me,Me]})}return Xe})(),$e=(()=>{class Xe{constructor(Le){this._animationMode=Le,this.state="unchecked",this.disabled=!1,this.appearance="full"}static#e=this.\u0275fac=function(be){return new(be||Xe)(e.Y36(e.QbO,8))};static#t=this.\u0275cmp=e.Xpm({type:Xe,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(be,J){2&be&&e.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===J.state)("mat-pseudo-checkbox-checked","checked"===J.state)("mat-pseudo-checkbox-disabled",J.disabled)("mat-pseudo-checkbox-minimal","minimal"===J.appearance)("mat-pseudo-checkbox-full","full"===J.appearance)("_mat-animation-noopable","NoopAnimations"===J._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(be,J){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0})}return Xe})(),ke=(()=>{class Xe{static#e=this.\u0275fac=function(be){return new(be||Xe)};static#t=this.\u0275mod=e.oAB({type:Xe});static#i=this.\u0275inj=e.cJS({imports:[Me]})}return Xe})();const st=new e.OlP("MAT_OPTION_PARENT_COMPONENT"),Et=new e.OlP("MatOptgroup");let te=0;class Pe{constructor(gt,Le=!1){this.source=gt,this.isUserInput=Le}}let $t=(()=>{class Xe{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(Le){this._disabled=Le}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(Le,be,J,re){this._element=Le,this._changeDetectorRef=be,this._parent=J,this.group=re,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+te++,this.onSelectionChange=new e.vpe,this._stateChanges=new d.x}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(Le=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),Le&&this._emitSelectionChangeEvent())}deselect(Le=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),Le&&this._emitSelectionChangeEvent())}focus(Le,be){const J=this._getHostElement();"function"==typeof J.focus&&J.focus(be)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(Le){(Le.keyCode===E.K5||Le.keyCode===E.L_)&&!(0,E.Vb)(Le)&&(this._selectViaInteraction(),Le.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const Le=this.viewValue;Le!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=Le)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(Le=!1){this.onSelectionChange.emit(new Pe(this,Le))}static#e=this.\u0275fac=function(be){return new(be||Xe)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(st,8),e.Y36(Et,8))};static#t=this.\u0275cmp=e.Xpm({type:Xe,selectors:[["mat-option"]],viewQuery:function(be,J){if(1&be&&e.Gf(k,7),2&be){let re;e.iGM(re=e.CRH())&&(J._text=re.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(be,J){1&be&&e.NdJ("click",function(){return J._selectViaInteraction()})("keydown",function(Ie){return J._handleKeydown(Ie)}),2&be&&(e.Ikx("id",J.id),e.uIk("aria-selected",J.selected)("aria-disabled",J.disabled.toString()),e.ekj("mdc-list-item--selected",J.selected)("mat-mdc-option-multiple",J.multiple)("mat-mdc-option-active",J.active)("mdc-list-item--disabled",J.disabled))},inputs:{value:"value",id:"id",disabled:["disabled","disabled",e.VuI]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],features:[e.Xq5],ngContentSelectors:K,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox","aria-hidden","true",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","aria-hidden","true","appearance","minimal",3,"disabled"],["class","cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(be,J){1&be&&(e.F$t(j),e.YNc(0,V,1,2,"mat-pseudo-checkbox",0),e.Hsn(1),e.TgZ(2,"span",1,2),e.Hsn(4,1),e.qZA(),e.YNc(5,B,1,1,"mat-pseudo-checkbox",3)(6,W,2,1,"span",4),e._UZ(7,"div",5)),2&be&&(e.um2(0,J.multiple?0:-1),e.xp6(5),e.um2(5,J.multiple||!J.selected||J.hideSingleSelectionIndicator?-1:5),e.xp6(1),e.um2(6,J.group&&J.group._inert?6:-1),e.xp6(1),e.Q6J("matRippleTrigger",J._getHostElement())("matRippleDisabled",J.disabled||J.disableRipple))},dependencies:[Be,$e],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return Xe})();function Ze(Xe,gt,Le){if(Le.length){let be=gt.toArray(),J=Le.toArray(),re=0;for(let Ie=0;Ie<Xe+1;Ie++)be[Ie].group&&be[Ie].group===J[re]&&re++;return re}return 0}function Qe(Xe,gt,Le,be){return Xe<Le?Xe:Xe+gt>Le+be?Math.max(0,Xe-be+gt):Le}let zt=(()=>{class Xe{static#e=this.\u0275fac=function(be){return new(be||Xe)};static#t=this.\u0275mod=e.oAB({type:Xe});static#i=this.\u0275inj=e.cJS({imports:[it,Me,ke]})}return Xe})();const xt={capture:!0},Ot=["focus","click","mouseenter","touchstart"],yt="mat-ripple-loader-uninitialized",nt="mat-ripple-loader-class-name",Ee="mat-ripple-loader-centered",tt="mat-ripple-loader-disabled";let Ue=(()=>{class Xe{constructor(){this._document=(0,e.f3M)(l.K0,{optional:!0}),this._animationMode=(0,e.f3M)(e.QbO,{optional:!0}),this._globalRippleOptions=(0,e.f3M)(Ae,{optional:!0}),this._platform=(0,e.f3M)(x.t4),this._ngZone=(0,e.f3M)(e.R0b),this._onInteraction=Le=>{if(!(Le.target instanceof HTMLElement))return;const J=Le.target.closest(`[${yt}]`);J&&this.createRipple(J)},this._ngZone.runOutsideAngular(()=>{for(const Le of Ot)this._document?.addEventListener(Le,this._onInteraction,xt)})}ngOnDestroy(){for(const Le of Ot)this._document?.removeEventListener(Le,this._onInteraction,xt)}configureRipple(Le,be){Le.setAttribute(yt,""),(be.className||!Le.hasAttribute(nt))&&Le.setAttribute(nt,be.className||""),be.centered&&Le.setAttribute(Ee,""),be.disabled&&Le.setAttribute(tt,"")}getRipple(Le){return Le.matRipple?Le.matRipple:this.createRipple(Le)}setDisabled(Le,be){const J=Le.matRipple;J?J.disabled=be:be?Le.setAttribute(tt,""):Le.removeAttribute(tt)}createRipple(Le){if(!this._document)return;Le.querySelector(".mat-ripple")?.remove();const be=this._document.createElement("span");be.classList.add("mat-ripple",Le.getAttribute(nt)),Le.append(be);const J=new Be(new e.SBq(be),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return J._isInitialized=!0,J.trigger=Le,J.centered=Le.hasAttribute(Ee),J.disabled=Le.hasAttribute(tt),this.attachRipple(Le,J),J}attachRipple(Le,be){Le.removeAttribute(yt),Le.matRipple=be}static#e=this.\u0275fac=function(be){return new(be||Xe)};static#t=this.\u0275prov=e.Yz7({token:Xe,factory:Xe.\u0275fac,providedIn:"root"})}return Xe})()},8034:(ze,q,p)=>{"use strict";p.d(q,{FA:()=>Vi,Mq:()=>At,hl:()=>li,nW:()=>un});var e=p(4300),t=p(3651),y=p(8484),A=p(6814),l=p(9212),x=p(2296),m=p(5407),P=p(3680),d=p(8645),E=p(7394),M=p(3019),I=p(2096),k=p(6028),V=p(9388),B=p(2831),W=p(8180),j=p(7921),K=p(2181),X=p(2495),ie=p(6825),ae=p(6223),fe=p(5683),se=p(2032);const Me=["mat-calendar-body",""];function $(Kt,vi){if(1&Kt&&(l.TgZ(0,"tr",0)(1,"td",2),l._uU(2),l.qZA()()),2&Kt){const ne=l.oxw();l.xp6(1),l.Udp("padding-top",ne._cellPadding)("padding-bottom",ne._cellPadding),l.uIk("colspan",ne.numCols),l.xp6(1),l.hij(" ",ne.label," ")}}function ue(Kt,vi){if(1&Kt&&(l.TgZ(0,"td",2),l._uU(1),l.qZA()),2&Kt){const ne=l.oxw(2);l.Udp("padding-top",ne._cellPadding)("padding-bottom",ne._cellPadding),l.uIk("colspan",ne._firstRowOffset),l.xp6(1),l.hij(" ",ne._firstRowOffset>=ne.labelMinRequiredCells?ne.label:""," ")}}function S(Kt,vi){if(1&Kt){const ne=l.EpF();l.TgZ(0,"td",5)(1,"button",6),l.NdJ("click",function(Oe){const Ht=l.CHM(ne).$implicit,Ii=l.oxw(2);return l.KtG(Ii._cellClicked(Ht,Oe))})("focus",function(Oe){const Ht=l.CHM(ne).$implicit,Ii=l.oxw(2);return l.KtG(Ii._emitActiveDateChange(Ht,Oe))}),l.TgZ(2,"span",7),l._uU(3),l.qZA(),l._UZ(4,"span",8),l.qZA()()}if(2&Kt){const ne=vi.$implicit,lt=vi.$index,Oe=l.oxw().$index,Ct=l.oxw();l.Udp("width",Ct._cellWidth)("padding-top",Ct._cellPadding)("padding-bottom",Ct._cellPadding),l.uIk("data-mat-row",Oe)("data-mat-col",lt),l.xp6(1),l.ekj("mat-calendar-body-disabled",!ne.enabled)("mat-calendar-body-active",Ct._isActiveCell(Oe,lt))("mat-calendar-body-range-start",Ct._isRangeStart(ne.compareValue))("mat-calendar-body-range-end",Ct._isRangeEnd(ne.compareValue))("mat-calendar-body-in-range",Ct._isInRange(ne.compareValue))("mat-calendar-body-comparison-bridge-start",Ct._isComparisonBridgeStart(ne.compareValue,Oe,lt))("mat-calendar-body-comparison-bridge-end",Ct._isComparisonBridgeEnd(ne.compareValue,Oe,lt))("mat-calendar-body-comparison-start",Ct._isComparisonStart(ne.compareValue))("mat-calendar-body-comparison-end",Ct._isComparisonEnd(ne.compareValue))("mat-calendar-body-in-comparison-range",Ct._isInComparisonRange(ne.compareValue))("mat-calendar-body-preview-start",Ct._isPreviewStart(ne.compareValue))("mat-calendar-body-preview-end",Ct._isPreviewEnd(ne.compareValue))("mat-calendar-body-in-preview",Ct._isInPreview(ne.compareValue)),l.Q6J("ngClass",ne.cssClasses)("tabindex",Ct._isActiveCell(Oe,lt)?0:-1),l.uIk("aria-label",ne.ariaLabel)("aria-disabled",!ne.enabled||null)("aria-pressed",Ct._isSelected(ne.compareValue))("aria-current",Ct.todayValue===ne.compareValue?"date":null)("aria-describedby",Ct._getDescribedby(ne.compareValue)),l.xp6(1),l.ekj("mat-calendar-body-selected",Ct._isSelected(ne.compareValue))("mat-calendar-body-comparison-identical",Ct._isComparisonIdentical(ne.compareValue))("mat-calendar-body-today",Ct.todayValue===ne.compareValue),l.xp6(1),l.hij(" ",ne.displayValue," ")}}function n(Kt,vi){if(1&Kt&&(l.TgZ(0,"tr",3),l.YNc(1,ue,2,6,"td",4),l.SjG(2,S,5,48,"td",9,l.x6l),l.qZA()),2&Kt){const ne=vi.$implicit,lt=vi.$index,Oe=l.oxw();l.xp6(1),l.um2(1,0===lt&&Oe._firstRowOffset?1:-1),l.xp6(1),l.wJu(ne)}}function s(Kt,vi){if(1&Kt&&(l.TgZ(0,"th",4)(1,"span",5),l._uU(2),l.qZA(),l.TgZ(3,"span",6),l._uU(4),l.qZA()()),2&Kt){const ne=vi.$implicit;l.xp6(2),l.Oqu(ne.long),l.xp6(2),l.Oqu(ne.narrow)}}const f=["*"];function h(Kt,vi){}function w(Kt,vi){if(1&Kt){const ne=l.EpF();l.TgZ(0,"mat-month-view",2),l.NdJ("activeDateChange",function(Oe){l.CHM(ne);const Ct=l.oxw();return l.KtG(Ct.activeDate=Oe)})("_userSelection",function(Oe){l.CHM(ne);const Ct=l.oxw();return l.KtG(Ct._dateSelected(Oe))})("dragStarted",function(Oe){l.CHM(ne);const Ct=l.oxw();return l.KtG(Ct._dragStarted(Oe))})("dragEnded",function(Oe){l.CHM(ne);const Ct=l.oxw();return l.KtG(Ct._dragEnded(Oe))}),l.qZA()}if(2&Kt){const ne=l.oxw();l.Q6J("activeDate",ne.activeDate)("selected",ne.selected)("dateFilter",ne.dateFilter)("maxDate",ne.maxDate)("minDate",ne.minDate)("dateClass",ne.dateClass)("comparisonStart",ne.comparisonStart)("comparisonEnd",ne.comparisonEnd)("startDateAccessibleName",ne.startDateAccessibleName)("endDateAccessibleName",ne.endDateAccessibleName)("activeDrag",ne._activeDrag)}}function D(Kt,vi){if(1&Kt){const ne=l.EpF();l.TgZ(0,"mat-year-view",3),l.NdJ("activeDateChange",function(Oe){l.CHM(ne);const Ct=l.oxw();return l.KtG(Ct.activeDate=Oe)})("monthSelected",function(Oe){l.CHM(ne);const Ct=l.oxw();return l.KtG(Ct._monthSelectedInYearView(Oe))})("selectedChange",function(Oe){l.CHM(ne);const Ct=l.oxw();return l.KtG(Ct._goToDateInView(Oe,"month"))}),l.qZA()}if(2&Kt){const ne=l.oxw();l.Q6J("activeDate",ne.activeDate)("selected",ne.selected)("dateFilter",ne.dateFilter)("maxDate",ne.maxDate)("minDate",ne.minDate)("dateClass",ne.dateClass)}}function O(Kt,vi){if(1&Kt){const ne=l.EpF();l.TgZ(0,"mat-multi-year-view",4),l.NdJ("activeDateChange",function(Oe){l.CHM(ne);const Ct=l.oxw();return l.KtG(Ct.activeDate=Oe)})("yearSelected",function(Oe){l.CHM(ne);const Ct=l.oxw();return l.KtG(Ct._yearSelectedInMultiYearView(Oe))})("selectedChange",function(Oe){l.CHM(ne);const Ct=l.oxw();return l.KtG(Ct._goToDateInView(Oe,"year"))}),l.qZA()}if(2&Kt){const ne=l.oxw();l.Q6J("activeDate",ne.activeDate)("selected",ne.selected)("dateFilter",ne.dateFilter)("maxDate",ne.maxDate)("minDate",ne.minDate)("dateClass",ne.dateClass)}}function v(Kt,vi){}const r=["button"];function g(Kt,vi){1&Kt&&(l.O4$(),l.TgZ(0,"svg",3),l._UZ(1,"path",4),l.qZA())}const H=[[["","matDatepickerToggleIcon",""]]],N=["[matDatepickerToggleIcon]"];let Je=(()=>{class Kt{constructor(){this.changes=new d.x,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year",this.startDateLabel="Start date",this.endDateLabel="End date"}formatYearRange(ne,lt){return`${ne} \u2013 ${lt}`}formatYearRangeLabel(ne,lt){return`${ne} to ${lt}`}static#e=this.\u0275fac=function(lt){return new(lt||Kt)};static#t=this.\u0275prov=l.Yz7({token:Kt,factory:Kt.\u0275fac,providedIn:"root"})}return Kt})();class ye{constructor(vi,ne,lt,Oe,Ct={},Ht=vi,Ii){this.value=vi,this.displayValue=ne,this.ariaLabel=lt,this.enabled=Oe,this.cssClasses=Ct,this.compareValue=Ht,this.rawValue=Ii}}let me=1;const he=(0,B.i$)({passive:!1,capture:!0}),xe=(0,B.i$)({passive:!0,capture:!0}),de=(0,B.i$)({passive:!0});let ge=(()=>{class Kt{ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}constructor(ne,lt){this._elementRef=ne,this._ngZone=lt,this._platform=(0,l.f3M)(B.t4),this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new l.vpe,this.previewChange=new l.vpe,this.activeDateChange=new l.vpe,this.dragStarted=new l.vpe,this.dragEnded=new l.vpe,this._didDragSinceMouseDown=!1,this._enterHandler=Oe=>{if(this._skipNextFocus&&"focus"===Oe.type)this._skipNextFocus=!1;else if(Oe.target&&this.isRange){const Ct=this._getCellFromElement(Oe.target);Ct&&this._ngZone.run(()=>this.previewChange.emit({value:Ct.enabled?Ct:null,event:Oe}))}},this._touchmoveHandler=Oe=>{if(!this.isRange)return;const Ct=We(Oe),Ht=Ct?this._getCellFromElement(Ct):null;Ct!==Oe.target&&(this._didDragSinceMouseDown=!0),oe(Oe.target)&&Oe.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:Ht?.enabled?Ht:null,event:Oe}))},this._leaveHandler=Oe=>{null!==this.previewEnd&&this.isRange&&("blur"!==Oe.type&&(this._didDragSinceMouseDown=!0),Oe.target&&this._getCellFromElement(Oe.target)&&(!Oe.relatedTarget||!this._getCellFromElement(Oe.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:Oe})))},this._mousedownHandler=Oe=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;const Ct=Oe.target&&this._getCellFromElement(Oe.target);!Ct||!this._isInRange(Ct.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:Ct.rawValue,event:Oe})})},this._mouseupHandler=Oe=>{if(!this.isRange)return;const Ct=oe(Oe.target);Ct?Ct.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{const Ht=this._getCellFromElement(Ct);this.dragEnded.emit({value:Ht?.rawValue??null,event:Oe})}):this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:Oe})})},this._touchendHandler=Oe=>{const Ct=We(Oe);Ct&&this._mouseupHandler({target:Ct})},this._id="mat-calendar-body-"+me++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,lt.runOutsideAngular(()=>{const Oe=ne.nativeElement;Oe.addEventListener("touchmove",this._touchmoveHandler,he),Oe.addEventListener("mouseenter",this._enterHandler,xe),Oe.addEventListener("focus",this._enterHandler,xe),Oe.addEventListener("mouseleave",this._leaveHandler,xe),Oe.addEventListener("blur",this._leaveHandler,xe),Oe.addEventListener("mousedown",this._mousedownHandler,de),Oe.addEventListener("touchstart",this._mousedownHandler,de),this._platform.isBrowser&&(window.addEventListener("mouseup",this._mouseupHandler),window.addEventListener("touchend",this._touchendHandler))})}_cellClicked(ne,lt){this._didDragSinceMouseDown||ne.enabled&&this.selectedValueChange.emit({value:ne.value,event:lt})}_emitActiveDateChange(ne,lt){ne.enabled&&this.activeDateChange.emit({value:ne.value,event:lt})}_isSelected(ne){return this.startValue===ne||this.endValue===ne}ngOnChanges(ne){const lt=ne.numCols,{rows:Oe,numCols:Ct}=this;(ne.rows||lt)&&(this._firstRowOffset=Oe&&Oe.length&&Oe[0].length?Ct-Oe[0].length:0),(ne.cellAspectRatio||lt||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/Ct+"%"),(lt||!this._cellWidth)&&(this._cellWidth=100/Ct+"%")}ngOnDestroy(){const ne=this._elementRef.nativeElement;ne.removeEventListener("touchmove",this._touchmoveHandler,he),ne.removeEventListener("mouseenter",this._enterHandler,xe),ne.removeEventListener("focus",this._enterHandler,xe),ne.removeEventListener("mouseleave",this._leaveHandler,xe),ne.removeEventListener("blur",this._leaveHandler,xe),ne.removeEventListener("mousedown",this._mousedownHandler,de),ne.removeEventListener("touchstart",this._mousedownHandler,de),this._platform.isBrowser&&(window.removeEventListener("mouseup",this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler))}_isActiveCell(ne,lt){let Oe=ne*this.numCols+lt;return ne&&(Oe-=this._firstRowOffset),Oe==this.activeCell}_focusActiveCell(ne=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,W.q)(1)).subscribe(()=>{setTimeout(()=>{const lt=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");lt&&(ne||(this._skipNextFocus=!0),lt.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(ne){return ve(ne,this.startValue,this.endValue)}_isRangeEnd(ne){return le(ne,this.startValue,this.endValue)}_isInRange(ne){return Ge(ne,this.startValue,this.endValue,this.isRange)}_isComparisonStart(ne){return ve(ne,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(ne,lt,Oe){if(!this._isComparisonStart(ne)||this._isRangeStart(ne)||!this._isInRange(ne))return!1;let Ct=this.rows[lt][Oe-1];if(!Ct){const Ht=this.rows[lt-1];Ct=Ht&&Ht[Ht.length-1]}return Ct&&!this._isRangeEnd(Ct.compareValue)}_isComparisonBridgeEnd(ne,lt,Oe){if(!this._isComparisonEnd(ne)||this._isRangeEnd(ne)||!this._isInRange(ne))return!1;let Ct=this.rows[lt][Oe+1];if(!Ct){const Ht=this.rows[lt+1];Ct=Ht&&Ht[0]}return Ct&&!this._isRangeStart(Ct.compareValue)}_isComparisonEnd(ne){return le(ne,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(ne){return Ge(ne,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(ne){return this.comparisonStart===this.comparisonEnd&&ne===this.comparisonStart}_isPreviewStart(ne){return ve(ne,this.previewStart,this.previewEnd)}_isPreviewEnd(ne){return le(ne,this.previewStart,this.previewEnd)}_isInPreview(ne){return Ge(ne,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(ne){return this.isRange?this.startValue===ne&&this.endValue===ne?`${this._startDateLabelId} ${this._endDateLabelId}`:this.startValue===ne?this._startDateLabelId:this.endValue===ne?this._endDateLabelId:null:null}_getCellFromElement(ne){const lt=oe(ne);if(lt){const Oe=lt.getAttribute("data-mat-row"),Ct=lt.getAttribute("data-mat-col");if(Oe&&Ct)return this.rows[parseInt(Oe)][parseInt(Ct)]}return null}static#e=this.\u0275fac=function(lt){return new(lt||Kt)(l.Y36(l.SBq),l.Y36(l.R0b))};static#t=this.\u0275cmp=l.Xpm({type:Kt,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[l.TTD],attrs:Me,decls:7,vars:5,consts:[["aria-hidden","true"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",3,"paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click","focus"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"]],template:function(lt,Oe){1&lt&&(l.YNc(0,$,3,6,"tr",0),l.SjG(1,n,4,1,"tr",3,l.x6l),l.TgZ(3,"label",1),l._uU(4),l.qZA(),l.TgZ(5,"label",1),l._uU(6),l.qZA()),2&lt&&(l.um2(0,Oe._firstRowOffset<Oe.labelMinRequiredCells?0:-1),l.xp6(1),l.wJu(Oe.rows),l.xp6(2),l.Q6J("id",Oe._startDateLabelId),l.xp6(1),l.hij(" ",Oe.startDateAccessibleName,"\n"),l.xp6(1),l.Q6J("id",Oe._endDateLabelId),l.xp6(1),l.hij(" ",Oe.endDateAccessibleName,"\n"))},dependencies:[A.mk],styles:['.mat-calendar-body{min-width:224px}.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-outline-color)}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.7142857143%;padding-right:4.7142857143%;font-size:var(--mat-datepicker-calendar-body-label-text-size);font-weight:var(--mat-datepicker-calendar-body-label-text-weight);color:var(--mat-datepicker-calendar-body-label-text-color)}.mat-calendar-body-hidden-label{display:none}.mat-calendar-body-cell-container{position:relative;height:0;line-height:0}.mat-calendar-body-cell{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);position:absolute;top:0;left:0;width:100%;height:100%;background:none;text-align:center;outline:none;font-family:inherit;margin:0}.mat-calendar-body-cell::-moz-focus-inner{border:0}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:"";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;display:block;height:90%;width:100%}.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-start::after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,.mat-calendar-body-comparison-start::after,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,[dir=rtl] .mat-calendar-body-comparison-start::after,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,.mat-calendar-body-comparison-end::after,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,[dir=rtl] .mat-calendar-body-comparison-end::after,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after{width:90%}.mat-calendar-body-in-preview{color:var(--mat-datepicker-calendar-date-preview-state-outline-color)}.mat-calendar-body-in-preview .mat-calendar-body-cell-preview{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:0;border-right:dashed 1px}.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:0;border-left:dashed 1px}.mat-calendar-body-disabled{cursor:default}.mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:var(--mat-datepicker-calendar-date-disabled-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-disabled-state-outline-color)}.cdk-high-contrast-active .mat-calendar-body-disabled{opacity:.5}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px;color:var(--mat-datepicker-calendar-date-text-color);border-color:var(--mat-datepicker-calendar-date-outline-color)}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-focus-state-background-color)}@media(hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-hover-state-background-color)}}.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color);color:var(--mat-datepicker-calendar-date-selected-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-disabled-state-background-color)}.mat-calendar-body-selected.mat-calendar-body-today{box-shadow:inset 0 0 0 1px var(--mat-datepicker-calendar-date-today-selected-state-outline-color)}.mat-calendar-body-in-range::before{background:var(--mat-datepicker-calendar-date-in-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.mat-calendar-body-comparison-bridge-start::before,[dir=rtl] .mat-calendar-body-comparison-bridge-end::before{background:linear-gradient(to right, var(--mat-datepicker-calendar-date-in-range-state-background-color) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 50%)}.mat-calendar-body-comparison-bridge-end::before,[dir=rtl] .mat-calendar-body-comparison-bridge-start::before{background:linear-gradient(to left, var(--mat-datepicker-calendar-date-in-range-state-background-color) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range::after{background:var(--mat-datepicker-calendar-date-in-overlap-range-state-background-color)}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:var(--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color)}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}[dir=rtl] .mat-calendar-body-label{text-align:right}'],encapsulation:2,changeDetection:0})}return Kt})();function qe(Kt){return"TD"===Kt?.nodeName}function oe(Kt){let vi;return qe(Kt)?vi=Kt:qe(Kt.parentNode)?vi=Kt.parentNode:qe(Kt.parentNode?.parentNode)&&(vi=Kt.parentNode.parentNode),null!=vi?.getAttribute("data-mat-row")?vi:null}function ve(Kt,vi,ne){return null!==ne&&vi!==ne&&Kt<ne&&Kt===vi}function le(Kt,vi,ne){return null!==vi&&vi!==ne&&Kt>=vi&&Kt===ne}function Ge(Kt,vi,ne,lt){return lt&&null!==vi&&null!==ne&&vi!==ne&&Kt>=vi&&Kt<=ne}function We(Kt){const vi=Kt.changedTouches[0];return document.elementFromPoint(vi.clientX,vi.clientY)}class wt{constructor(vi,ne){this.start=vi,this.end=ne}}let mt=(()=>{class Kt{constructor(ne,lt){this.selection=ne,this._adapter=lt,this._selectionChanged=new d.x,this.selectionChanged=this._selectionChanged,this.selection=ne}updateSelection(ne,lt){const Oe=this.selection;this.selection=ne,this._selectionChanged.next({selection:ne,source:lt,oldValue:Oe})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(ne){return this._adapter.isDateInstance(ne)&&this._adapter.isValid(ne)}static#e=this.\u0275fac=function(lt){l.$Z()};static#t=this.\u0275prov=l.Yz7({token:Kt,factory:Kt.\u0275fac})}return Kt})(),kt=(()=>{class Kt extends mt{constructor(ne){super(null,ne)}add(ne){super.updateSelection(ne,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const ne=new Kt(this._adapter);return ne.updateSelection(this.selection,this),ne}static#e=this.\u0275fac=function(lt){return new(lt||Kt)(l.LFG(P._A))};static#t=this.\u0275prov=l.Yz7({token:Kt,factory:Kt.\u0275fac})}return Kt})();const it={provide:mt,deps:[[new l.FiY,new l.tp0,mt],P._A],useFactory:function Be(Kt,vi){return Kt||new kt(vi)}},st=new l.OlP("MAT_DATE_RANGE_SELECTION_STRATEGY");let Pe=(()=>{class Kt{get activeDate(){return this._activeDate}set activeDate(ne){const lt=this._activeDate,Oe=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ne))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Oe,this.minDate,this.maxDate),this._hasSameMonthAndYear(lt,this._activeDate)||this._init()}get selected(){return this._selected}set selected(ne){this._selected=ne instanceof wt?ne:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ne)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(ne){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ne))}get maxDate(){return this._maxDate}set maxDate(ne){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ne))}constructor(ne,lt,Oe,Ct,Ht){this._changeDetectorRef=ne,this._dateFormats=lt,this._dateAdapter=Oe,this._dir=Ct,this._rangeStrategy=Ht,this._rerenderSubscription=E.w0.EMPTY,this.activeDrag=null,this.selectedChange=new l.vpe,this._userSelection=new l.vpe,this.dragStarted=new l.vpe,this.dragEnded=new l.vpe,this.activeDateChange=new l.vpe,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,j.O)(null)).subscribe(()=>this._init())}ngOnChanges(ne){const lt=ne.comparisonStart||ne.comparisonEnd;lt&&!lt.firstChange&&this._setRanges(this.selected),ne.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(ne){const lt=ne.value,Oe=this._getDateFromDayOfMonth(lt);let Ct,Ht;this._selected instanceof wt?(Ct=this._getDateInCurrentMonth(this._selected.start),Ht=this._getDateInCurrentMonth(this._selected.end)):Ct=Ht=this._getDateInCurrentMonth(this._selected),(Ct!==lt||Ht!==lt)&&this.selectedChange.emit(Oe),this._userSelection.emit({value:Oe,event:ne.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(ne){const Oe=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(ne.value),this._dateAdapter.compareDate(Oe,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(ne){const lt=this._activeDate,Oe=this._isRtl();switch(ne.keyCode){case k.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Oe?1:-1);break;case k.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Oe?-1:1);break;case k.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case k.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case k.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case k.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case k.Ku:this.activeDate=ne.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case k.VM:this.activeDate=ne.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case k.K5:case k.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&ne.preventDefault());case k.hY:return void(null!=this._previewEnd&&!(0,k.Vb)(ne)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:ne}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:ne})),ne.preventDefault(),ne.stopPropagation()));default:return}this._dateAdapter.compareDate(lt,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),ne.preventDefault()}_handleCalendarBodyKeyup(ne){(ne.keyCode===k.L_||ne.keyCode===k.K5)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:ne}),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 ne=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(ne)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(ne){this._matCalendarBody._focusActiveCell(ne)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:ne,value:lt}){if(this._rangeStrategy){const Oe=lt?lt.rawValue:null,Ct=this._rangeStrategy.createPreview(Oe,this.selected,ne);if(this._previewStart=this._getCellCompareValue(Ct.start),this._previewEnd=this._getCellCompareValue(Ct.end),this.activeDrag&&Oe){const Ht=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,Oe,ne);Ht&&(this._previewStart=this._getCellCompareValue(Ht.start),this._previewEnd=this._getCellCompareValue(Ht.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(ne){if(this.activeDrag)if(ne.value){const lt=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,ne.value,ne.event);this.dragEnded.emit({value:lt??null,event:ne.event})}else this.dragEnded.emit({value:null,event:ne.event})}_getDateFromDayOfMonth(ne){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),ne)}_initWeekdays(){const ne=this._dateAdapter.getFirstDayOfWeek(),lt=this._dateAdapter.getDayOfWeekNames("narrow");let Ct=this._dateAdapter.getDayOfWeekNames("long").map((Ht,Ii)=>({long:Ht,narrow:lt[Ii]}));this._weekdays=Ct.slice(ne).concat(Ct.slice(0,ne))}_createWeekCells(){const ne=this._dateAdapter.getNumDaysInMonth(this.activeDate),lt=this._dateAdapter.getDateNames();this._weeks=[[]];for(let Oe=0,Ct=this._firstWeekOffset;Oe<ne;Oe++,Ct++){7==Ct&&(this._weeks.push([]),Ct=0);const Ht=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),Oe+1),Ii=this._shouldEnableDate(Ht),gn=this._dateAdapter.format(Ht,this._dateFormats.display.dateA11yLabel),qn=this.dateClass?this.dateClass(Ht,"month"):void 0;this._weeks[this._weeks.length-1].push(new ye(Oe+1,lt[Oe],gn,Ii,qn,this._getCellCompareValue(Ht),Ht))}}_shouldEnableDate(ne){return!!ne&&(!this.minDate||this._dateAdapter.compareDate(ne,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(ne,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(ne))}_getDateInCurrentMonth(ne){return ne&&this._hasSameMonthAndYear(ne,this.activeDate)?this._dateAdapter.getDate(ne):null}_hasSameMonthAndYear(ne,lt){return!(!ne||!lt||this._dateAdapter.getMonth(ne)!=this._dateAdapter.getMonth(lt)||this._dateAdapter.getYear(ne)!=this._dateAdapter.getYear(lt))}_getCellCompareValue(ne){if(ne){const lt=this._dateAdapter.getYear(ne),Oe=this._dateAdapter.getMonth(ne),Ct=this._dateAdapter.getDate(ne);return new Date(lt,Oe,Ct).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(ne){ne instanceof wt?(this._rangeStart=this._getCellCompareValue(ne.start),this._rangeEnd=this._getCellCompareValue(ne.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(ne),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(ne){return!this.dateFilter||this.dateFilter(ne)}_clearPreview(){this._previewStart=this._previewEnd=null}static#e=this.\u0275fac=function(lt){return new(lt||Kt)(l.Y36(l.sBO),l.Y36(P.sG,8),l.Y36(P._A,8),l.Y36(V.Is,8),l.Y36(st,8))};static#t=this.\u0275cmp=l.Xpm({type:Kt,selectors:[["mat-month-view"]],viewQuery:function(lt,Oe){if(1&lt&&l.Gf(ge,5),2&lt){let Ct;l.iGM(Ct=l.CRH())&&(Oe._matCalendarBody=Ct.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[l.TTD],decls:8,vars:14,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName","selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown"],["scope","col"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(lt,Oe){1&lt&&(l.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),l.SjG(3,s,5,2,"th",4,l.x6l),l.qZA(),l.TgZ(5,"tr"),l._UZ(6,"th",2),l.qZA()(),l.TgZ(7,"tbody",3),l.NdJ("selectedValueChange",function(Ht){return Oe._dateSelected(Ht)})("activeDateChange",function(Ht){return Oe._updateActiveDate(Ht)})("previewChange",function(Ht){return Oe._previewChanged(Ht)})("dragStarted",function(Ht){return Oe.dragStarted.emit(Ht)})("dragEnded",function(Ht){return Oe._dragEnded(Ht)})("keyup",function(Ht){return Oe._handleCalendarBodyKeyup(Ht)})("keydown",function(Ht){return Oe._handleCalendarBodyKeydown(Ht)}),l.qZA()()),2&lt&&(l.xp6(3),l.wJu(Oe._weekdays),l.xp6(4),l.Q6J("label",Oe._monthLabel)("rows",Oe._weeks)("todayValue",Oe._todayDate)("startValue",Oe._rangeStart)("endValue",Oe._rangeEnd)("comparisonStart",Oe._comparisonRangeStart)("comparisonEnd",Oe._comparisonRangeEnd)("previewStart",Oe._previewStart)("previewEnd",Oe._previewEnd)("isRange",Oe._isRange)("labelMinRequiredCells",3)("activeCell",Oe._dateAdapter.getDate(Oe.activeDate)-1)("startDateAccessibleName",Oe.startDateAccessibleName)("endDateAccessibleName",Oe.endDateAccessibleName))},dependencies:[ge],encapsulation:2,changeDetection:0})}return Kt})();const $t=24;let Qe=(()=>{class Kt{get activeDate(){return this._activeDate}set activeDate(ne){let lt=this._activeDate;const Oe=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ne))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Oe,this.minDate,this.maxDate),zt(this._dateAdapter,lt,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(ne){this._selected=ne instanceof wt?ne:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ne)),this._setSelectedYear(ne)}get minDate(){return this._minDate}set minDate(ne){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ne))}get maxDate(){return this._maxDate}set maxDate(ne){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ne))}constructor(ne,lt,Oe){this._changeDetectorRef=ne,this._dateAdapter=lt,this._dir=Oe,this._rerenderSubscription=E.w0.EMPTY,this.selectedChange=new l.vpe,this.yearSelected=new l.vpe,this.activeDateChange=new l.vpe,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,j.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const lt=this._dateAdapter.getYear(this._activeDate)-xt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let Oe=0,Ct=[];Oe<$t;Oe++)Ct.push(lt+Oe),4==Ct.length&&(this._years.push(Ct.map(Ht=>this._createCellForYear(Ht))),Ct=[]);this._changeDetectorRef.markForCheck()}_yearSelected(ne){const lt=ne.value,Oe=this._dateAdapter.createDate(lt,0,1),Ct=this._getDateFromYear(lt);this.yearSelected.emit(Oe),this.selectedChange.emit(Ct)}_updateActiveDate(ne){const Oe=this._activeDate;this.activeDate=this._getDateFromYear(ne.value),this._dateAdapter.compareDate(Oe,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(ne){const lt=this._activeDate,Oe=this._isRtl();switch(ne.keyCode){case k.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Oe?1:-1);break;case k.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Oe?-1:1);break;case k.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case k.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case k.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-xt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case k.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,$t-xt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case k.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,ne.altKey?10*-$t:-$t);break;case k.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,ne.altKey?10*$t:$t);break;case k.K5:case k.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(lt,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),ne.preventDefault()}_handleCalendarBodyKeyup(ne){(ne.keyCode===k.L_||ne.keyCode===k.K5)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:ne}),this._selectionKeyPressed=!1)}_getActiveCell(){return xt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(ne){const lt=this._dateAdapter.getMonth(this.activeDate),Oe=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(ne,lt,1));return this._dateAdapter.createDate(ne,lt,Math.min(this._dateAdapter.getDate(this.activeDate),Oe))}_createCellForYear(ne){const lt=this._dateAdapter.createDate(ne,0,1),Oe=this._dateAdapter.getYearName(lt),Ct=this.dateClass?this.dateClass(lt,"multi-year"):void 0;return new ye(ne,Oe,Oe,this._shouldEnableYear(ne),Ct)}_shouldEnableYear(ne){if(null==ne||this.maxDate&&ne>this._dateAdapter.getYear(this.maxDate)||this.minDate&&ne<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(let Oe=this._dateAdapter.createDate(ne,0,1);this._dateAdapter.getYear(Oe)==ne;Oe=this._dateAdapter.addCalendarDays(Oe,1))if(this.dateFilter(Oe))return!0;return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedYear(ne){if(this._selectedYear=null,ne instanceof wt){const lt=ne.start||ne.end;lt&&(this._selectedYear=this._dateAdapter.getYear(lt))}else ne&&(this._selectedYear=this._dateAdapter.getYear(ne))}static#e=this.\u0275fac=function(lt){return new(lt||Kt)(l.Y36(l.sBO),l.Y36(P._A,8),l.Y36(V.Is,8))};static#t=this.\u0275cmp=l.Xpm({type:Kt,selectors:[["mat-multi-year-view"]],viewQuery:function(lt,Oe){if(1&lt&&l.Gf(ge,5),2&lt){let Ct;l.iGM(Ct=l.CRH())&&(Oe._matCalendarBody=Ct.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(lt,Oe){1&lt&&(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(Ht){return Oe._yearSelected(Ht)})("activeDateChange",function(Ht){return Oe._updateActiveDate(Ht)})("keyup",function(Ht){return Oe._handleCalendarBodyKeyup(Ht)})("keydown",function(Ht){return Oe._handleCalendarBodyKeydown(Ht)}),l.qZA()()),2&lt&&(l.xp6(4),l.Q6J("rows",Oe._years)("todayValue",Oe._todayYear)("startValue",Oe._selectedYear)("endValue",Oe._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",Oe._getActiveCell()))},dependencies:[ge],encapsulation:2,changeDetection:0})}return Kt})();function zt(Kt,vi,ne,lt,Oe){const Ct=Kt.getYear(vi),Ht=Kt.getYear(ne),Ii=Ot(Kt,lt,Oe);return Math.floor((Ct-Ii)/$t)===Math.floor((Ht-Ii)/$t)}function xt(Kt,vi,ne,lt){return function yt(Kt,vi){return(Kt%vi+vi)%vi}(Kt.getYear(vi)-Ot(Kt,ne,lt),$t)}function Ot(Kt,vi,ne){let lt=0;return ne?lt=Kt.getYear(ne)-$t+1:vi&&(lt=Kt.getYear(vi)),lt}let nt=(()=>{class Kt{get activeDate(){return this._activeDate}set activeDate(ne){let lt=this._activeDate;const Oe=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ne))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Oe,this.minDate,this.maxDate),this._dateAdapter.getYear(lt)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(ne){this._selected=ne instanceof wt?ne:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ne)),this._setSelectedMonth(ne)}get minDate(){return this._minDate}set minDate(ne){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ne))}get maxDate(){return this._maxDate}set maxDate(ne){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ne))}constructor(ne,lt,Oe,Ct){this._changeDetectorRef=ne,this._dateFormats=lt,this._dateAdapter=Oe,this._dir=Ct,this._rerenderSubscription=E.w0.EMPTY,this.selectedChange=new l.vpe,this.monthSelected=new l.vpe,this.activeDateChange=new l.vpe,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,j.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(ne){const lt=ne.value,Oe=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),lt,1);this.monthSelected.emit(Oe);const Ct=this._getDateFromMonth(lt);this.selectedChange.emit(Ct)}_updateActiveDate(ne){const Oe=this._activeDate;this.activeDate=this._getDateFromMonth(ne.value),this._dateAdapter.compareDate(Oe,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(ne){const lt=this._activeDate,Oe=this._isRtl();switch(ne.keyCode){case k.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Oe?1:-1);break;case k.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Oe?-1:1);break;case k.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case k.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case k.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case k.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case k.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,ne.altKey?-10:-1);break;case k.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,ne.altKey?10:1);break;case k.K5:case k.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(lt,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),ne.preventDefault()}_handleCalendarBodyKeyup(ne){(ne.keyCode===k.L_||ne.keyCode===k.K5)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:ne}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let ne=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(lt=>lt.map(Oe=>this._createCellForMonth(Oe,ne[Oe]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(ne){return ne&&this._dateAdapter.getYear(ne)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(ne):null}_getDateFromMonth(ne){const lt=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),ne,1),Oe=this._dateAdapter.getNumDaysInMonth(lt);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),ne,Math.min(this._dateAdapter.getDate(this.activeDate),Oe))}_createCellForMonth(ne,lt){const Oe=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),ne,1),Ct=this._dateAdapter.format(Oe,this._dateFormats.display.monthYearA11yLabel),Ht=this.dateClass?this.dateClass(Oe,"year"):void 0;return new ye(ne,lt.toLocaleUpperCase(),Ct,this._shouldEnableMonth(ne),Ht)}_shouldEnableMonth(ne){const lt=this._dateAdapter.getYear(this.activeDate);if(null==ne||this._isYearAndMonthAfterMaxDate(lt,ne)||this._isYearAndMonthBeforeMinDate(lt,ne))return!1;if(!this.dateFilter)return!0;for(let Ct=this._dateAdapter.createDate(lt,ne,1);this._dateAdapter.getMonth(Ct)==ne;Ct=this._dateAdapter.addCalendarDays(Ct,1))if(this.dateFilter(Ct))return!0;return!1}_isYearAndMonthAfterMaxDate(ne,lt){if(this.maxDate){const Oe=this._dateAdapter.getYear(this.maxDate),Ct=this._dateAdapter.getMonth(this.maxDate);return ne>Oe||ne===Oe&&lt>Ct}return!1}_isYearAndMonthBeforeMinDate(ne,lt){if(this.minDate){const Oe=this._dateAdapter.getYear(this.minDate),Ct=this._dateAdapter.getMonth(this.minDate);return ne<Oe||ne===Oe&&lt<Ct}return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedMonth(ne){this._selectedMonth=ne instanceof wt?this._getMonthInCurrentYear(ne.start)||this._getMonthInCurrentYear(ne.end):this._getMonthInCurrentYear(ne)}static#e=this.\u0275fac=function(lt){return new(lt||Kt)(l.Y36(l.sBO),l.Y36(P.sG,8),l.Y36(P._A,8),l.Y36(V.Is,8))};static#t=this.\u0275cmp=l.Xpm({type:Kt,selectors:[["mat-year-view"]],viewQuery:function(lt,Oe){if(1&lt&&l.Gf(ge,5),2&lt){let Ct;l.iGM(Ct=l.CRH())&&(Oe._matCalendarBody=Ct.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(lt,Oe){1&lt&&(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(Ht){return Oe._monthSelected(Ht)})("activeDateChange",function(Ht){return Oe._updateActiveDate(Ht)})("keyup",function(Ht){return Oe._handleCalendarBodyKeyup(Ht)})("keydown",function(Ht){return Oe._handleCalendarBodyKeydown(Ht)}),l.qZA()()),2&lt&&(l.xp6(4),l.Q6J("label",Oe._yearLabel)("rows",Oe._months)("todayValue",Oe._todayMonth)("startValue",Oe._selectedMonth)("endValue",Oe._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",Oe._dateAdapter.getMonth(Oe.activeDate)))},dependencies:[ge],encapsulation:2,changeDetection:0})}return Kt})(),Ee=1,tt=(()=>{class Kt{constructor(ne,lt,Oe,Ct,Ht){this._intl=ne,this.calendar=lt,this._dateAdapter=Oe,this._dateFormats=Ct,this._id="mat-calendar-header-"+Ee++,this._periodButtonLabelId=`${this._id}-period-label`,this.calendar.stateChanges.subscribe(()=>Ht.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:-$t)}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:$t)}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(ne,lt){return"month"==this.calendar.currentView?this._dateAdapter.getYear(ne)==this._dateAdapter.getYear(lt)&&this._dateAdapter.getMonth(ne)==this._dateAdapter.getMonth(lt):"year"==this.calendar.currentView?this._dateAdapter.getYear(ne)==this._dateAdapter.getYear(lt):zt(this._dateAdapter,ne,lt,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){const lt=this._dateAdapter.getYear(this.calendar.activeDate)-xt(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),Oe=lt+$t-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(lt,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(Oe,0,1))]}static#e=this.\u0275fac=function(lt){return new(lt||Kt)(l.Y36(Je),l.Y36((0,l.Gpc)(()=>Ue)),l.Y36(P._A,8),l.Y36(P.sG,8),l.Y36(l.sBO))};static#t=this.\u0275cmp=l.Xpm({type:Kt,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:f,decls:13,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","aria-live","polite",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"],[1,"mat-calendar-hidden-label",3,"id"]],template:function(lt,Oe){1&lt&&(l.F$t(),l.TgZ(0,"div",0)(1,"div",1)(2,"button",2),l.NdJ("click",function(){return Oe.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 Oe.previousClicked()}),l.qZA(),l.TgZ(10,"button",8),l.NdJ("click",function(){return Oe.nextClicked()}),l.qZA()()(),l.TgZ(11,"label",9),l._uU(12),l.qZA()),2&lt&&(l.xp6(2),l.uIk("aria-label",Oe.periodButtonLabel)("aria-describedby",Oe._periodButtonLabelId),l.xp6(2),l.Oqu(Oe.periodButtonText),l.xp6(1),l.ekj("mat-calendar-invert","month"!==Oe.calendar.currentView),l.xp6(4),l.Q6J("disabled",!Oe.previousEnabled()),l.uIk("aria-label",Oe.prevButtonLabel),l.xp6(1),l.Q6J("disabled",!Oe.nextEnabled()),l.uIk("aria-label",Oe.nextButtonLabel),l.xp6(1),l.Q6J("id",Oe._periodButtonLabelId),l.xp6(1),l.Oqu(Oe.periodButtonDescription))},dependencies:[x.lW,x.RK],encapsulation:2,changeDetection:0})}return Kt})(),Ue=(()=>{class Kt{get startAt(){return this._startAt}set startAt(ne){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ne))}get selected(){return this._selected}set selected(ne){this._selected=ne instanceof wt?ne:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ne))}get minDate(){return this._minDate}set minDate(ne){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ne))}get maxDate(){return this._maxDate}set maxDate(ne){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ne))}get activeDate(){return this._clampedActiveDate}set activeDate(ne){this._clampedActiveDate=this._dateAdapter.clampDate(ne,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(ne){const lt=this._currentView!==ne?ne:null;this._currentView=ne,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),lt&&this.viewChanged.emit(lt)}constructor(ne,lt,Oe,Ct){this._dateAdapter=lt,this._dateFormats=Oe,this._changeDetectorRef=Ct,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new l.vpe,this.yearSelected=new l.vpe,this.monthSelected=new l.vpe,this.viewChanged=new l.vpe(!0),this._userSelection=new l.vpe,this._userDragDrop=new l.vpe,this._activeDrag=null,this.stateChanges=new d.x,this._intlChanges=ne.changes.subscribe(()=>{Ct.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new y.C5(this.headerComponent||tt),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(ne){const lt=ne.minDate&&!this._dateAdapter.sameDate(ne.minDate.previousValue,ne.minDate.currentValue)?ne.minDate:void 0,Oe=ne.maxDate&&!this._dateAdapter.sameDate(ne.maxDate.previousValue,ne.maxDate.currentValue)?ne.maxDate:void 0,Ct=lt||Oe||ne.dateFilter;if(Ct&&!Ct.firstChange){const Ht=this._getCurrentViewComponent();Ht&&(this._changeDetectorRef.detectChanges(),Ht._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(ne){const lt=ne.value;(this.selected instanceof wt||lt&&!this._dateAdapter.sameDate(lt,this.selected))&&this.selectedChange.emit(lt),this._userSelection.emit(ne)}_yearSelectedInMultiYearView(ne){this.yearSelected.emit(ne)}_monthSelectedInYearView(ne){this.monthSelected.emit(ne)}_goToDateInView(ne,lt){this.activeDate=ne,this.currentView=lt}_dragStarted(ne){this._activeDrag=ne}_dragEnded(ne){this._activeDrag&&(ne.value&&this._userDragDrop.emit(ne),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}static#e=this.\u0275fac=function(lt){return new(lt||Kt)(l.Y36(Je),l.Y36(P._A,8),l.Y36(P.sG,8),l.Y36(l.sBO))};static#t=this.\u0275cmp=l.Xpm({type:Kt,selectors:[["mat-calendar"]],viewQuery:function(lt,Oe){if(1&lt&&(l.Gf(Pe,5),l.Gf(nt,5),l.Gf(Qe,5)),2&lt){let Ct;l.iGM(Ct=l.CRH())&&(Oe.monthView=Ct.first),l.iGM(Ct=l.CRH())&&(Oe.yearView=Ct.first),l.iGM(Ct=l.CRH())&&(Oe.multiYearView=Ct.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],features:[l._Bn([it]),l.TTD],decls:5,vars:2,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(lt,Oe){if(1&lt&&(l.YNc(0,h,0,0,"ng-template",0),l.TgZ(1,"div",1),l.YNc(2,w,1,11)(3,D,1,6)(4,O,1,6),l.qZA()),2&lt){let Ct;l.Q6J("cdkPortalOutlet",Oe._calendarHeaderPortal),l.xp6(2),l.um2(2,"month"===(Ct=Oe.currentView)?2:"year"===Ct?3:"multi-year"===Ct?4:-1)}},dependencies:[e.kH,y.Pl,Pe,nt,Qe],styles:['.mat-calendar{display:block;font-family:var(--mat-datepicker-calendar-text-font);font-size:var(--mat-datepicker-calendar-text-size)}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px;font-size:var(--mat-datepicker-calendar-period-button-text-size);font-weight:var(--mat-datepicker-calendar-period-button-text-weight)}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle;fill:var(--mat-datepicker-calendar-period-button-icon-color)}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-datepicker-content .mat-calendar-previous-button,.mat-datepicker-content .mat-calendar-next-button{color:var(--mat-datepicker-calendar-navigation-button-icon-color)}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0;color:var(--mat-datepicker-calendar-header-text-color);font-size:var(--mat-datepicker-calendar-header-text-size);font-weight:var(--mat-datepicker-calendar-header-text-weight)}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px;background:var(--mat-datepicker-calendar-header-divider-color)}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}.mat-calendar-hidden-label{display:none}'],encapsulation:2,changeDetection:0})}return Kt})();const Xe={transformPanel:(0,ie.X$)("transformPanel",[(0,ie.eR)("void => enter-dropdown",(0,ie.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,ie.F4)([(0,ie.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,ie.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,ie.eR)("void => enter-dialog",(0,ie.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,ie.F4)([(0,ie.oB)({opacity:0,transform:"scale(0.7)"}),(0,ie.oB)({transform:"none",opacity:1})]))),(0,ie.eR)("* => void",(0,ie.jt)("100ms linear",(0,ie.oB)({opacity:0})))]),fadeInCalendar:(0,ie.X$)("fadeInCalendar",[(0,ie.SB)("void",(0,ie.oB)({opacity:0})),(0,ie.SB)("enter",(0,ie.oB)({opacity:1})),(0,ie.eR)("void => *",(0,ie.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let gt=0;const Le=new l.OlP("mat-datepicker-scroll-strategy"),J={provide:Le,deps:[t.aV],useFactory:function be(Kt){return()=>Kt.scrollStrategies.reposition()}},re=(0,P.pj)(class{constructor(Kt){this._elementRef=Kt}});let Ie=(()=>{class Kt extends re{constructor(ne,lt,Oe,Ct,Ht,Ii){super(ne),this._changeDetectorRef=lt,this._globalModel=Oe,this._dateAdapter=Ct,this._rangeSelectionStrategy=Ht,this._subscriptions=new E.w0,this._animationDone=new d.x,this._isAnimating=!1,this._actionsPortal=null,this._closeButtonText=Ii.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(ne){const lt=this._model.selection,Oe=ne.value,Ct=lt instanceof wt;if(Ct&&this._rangeSelectionStrategy){const Ht=this._rangeSelectionStrategy.selectionFinished(Oe,lt,ne.event);this._model.updateSelection(Ht,this)}else Oe&&(Ct||!this._dateAdapter.sameDate(Oe,lt))&&this._model.add(Oe);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(ne){this._model.updateSelection(ne.value,this)}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_handleAnimationEvent(ne){this._isAnimating="start"===ne.phaseName,this._isAnimating||this._animationDone.next()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(ne,lt){this._model=ne?this._globalModel.clone():this._globalModel,this._actionsPortal=ne,lt&&this._changeDetectorRef.detectChanges()}static#e=this.\u0275fac=function(lt){return new(lt||Kt)(l.Y36(l.SBq),l.Y36(l.sBO),l.Y36(mt),l.Y36(P._A),l.Y36(st,8),l.Y36(Je))};static#t=this.\u0275cmp=l.Xpm({type:Kt,selectors:[["mat-datepicker-content"]],viewQuery:function(lt,Oe){if(1&lt&&l.Gf(Ue,5),2&lt){let Ct;l.iGM(Ct=l.CRH())&&(Oe._calendar=Ct.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(lt,Oe){1&lt&&l.WFA("@transformPanel.start",function(Ht){return Oe._handleAnimationEvent(Ht)})("@transformPanel.done",function(Ht){return Oe._handleAnimationEvent(Ht)}),2&lt&&(l.d8E("@transformPanel",Oe._animationState),l.ekj("mat-datepicker-content-touch",Oe.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[l.qOj],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(lt,Oe){if(1&lt&&(l.TgZ(0,"div",0)(1,"mat-calendar",1),l.NdJ("yearSelected",function(Ht){return Oe.datepicker._selectYear(Ht)})("monthSelected",function(Ht){return Oe.datepicker._selectMonth(Ht)})("viewChanged",function(Ht){return Oe.datepicker._viewChanged(Ht)})("_userSelection",function(Ht){return Oe._handleUserSelection(Ht)})("_userDragDrop",function(Ht){return Oe._handleUserDragDrop(Ht)}),l.qZA(),l.YNc(2,v,0,0,"ng-template",2),l.TgZ(3,"button",3),l.NdJ("focus",function(){return Oe._closeButtonFocused=!0})("blur",function(){return Oe._closeButtonFocused=!1})("click",function(){return Oe.datepicker.close()}),l._uU(4),l.qZA()()),2&lt){let Ct;l.ekj("mat-datepicker-content-container-with-custom-header",Oe.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",Oe._actionsPortal),l.uIk("aria-modal",!0)("aria-labelledby",null!==(Ct=Oe._dialogLabelId)&&void 0!==Ct?Ct:void 0),l.xp6(1),l.Q6J("id",Oe.datepicker.id)("ngClass",Oe.datepicker.panelClass)("startAt",Oe.datepicker.startAt)("startView",Oe.datepicker.startView)("minDate",Oe.datepicker._getMinDate())("maxDate",Oe.datepicker._getMaxDate())("dateFilter",Oe.datepicker._getDateFilter())("headerComponent",Oe.datepicker.calendarHeaderComponent)("selected",Oe._getSelected())("dateClass",Oe.datepicker.dateClass)("comparisonStart",Oe.comparisonStart)("comparisonEnd",Oe.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",Oe.startDateAccessibleName)("endDateAccessibleName",Oe.endDateAccessibleName),l.xp6(1),l.Q6J("cdkPortalOutlet",Oe._actionsPortal),l.xp6(1),l.ekj("cdk-visually-hidden",!Oe._closeButtonFocused),l.Q6J("color",Oe.color||"primary"),l.xp6(1),l.Oqu(Oe._closeButtonText)}},dependencies:[A.mk,x.lW,e.mK,y.Pl,Ue],styles:[".mat-datepicker-content{box-shadow:0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);display:block;border-radius:4px;background-color:var(--mat-datepicker-calendar-container-background-color);color:var(--mat-datepicker-calendar-container-text-color)}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{box-shadow:0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);display:block;max-height:80vh;position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}"],encapsulation:2,data:{animation:[Xe.transformPanel,Xe.fadeInCalendar]},changeDetection:0})}return Kt})(),Nt=(()=>{class Kt{get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(ne){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ne))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(ne){this._color=ne}get touchUi(){return this._touchUi}set touchUi(ne){this._touchUi=(0,X.Ig)(ne)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(ne){const lt=(0,X.Ig)(ne);lt!==this._disabled&&(this._disabled=lt,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(ne){this._restoreFocus=(0,X.Ig)(ne)}get panelClass(){return this._panelClass}set panelClass(ne){this._panelClass=(0,X.du)(ne)}get opened(){return this._opened}set opened(ne){(0,X.Ig)(ne)?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}constructor(ne,lt,Oe,Ct,Ht,Ii,gn){this._overlay=ne,this._ngZone=lt,this._viewContainerRef=Oe,this._dateAdapter=Ht,this._dir=Ii,this._model=gn,this._inputStateChanges=E.w0.EMPTY,this._document=(0,l.f3M)(A.K0),this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new l.vpe,this.monthSelected=new l.vpe,this.viewChanged=new l.vpe(!0),this.openedStream=new l.vpe,this.closedStream=new l.vpe,this._opened=!1,this.id="mat-datepicker-"+gt++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new d.x,this._scrollStrategy=Ct}ngOnChanges(ne){const lt=ne.xPosition||ne.yPosition;if(lt&&!lt.firstChange&&this._overlayRef){const Oe=this._overlayRef.getConfig().positionStrategy;Oe instanceof t._G&&(this._setConnectedPositions(Oe),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(ne){this._model.add(ne)}_selectYear(ne){this.yearSelected.emit(ne)}_selectMonth(ne){this.monthSelected.emit(ne)}_viewChanged(ne){this.viewChanged.emit(ne)}registerInput(ne){return this._inputStateChanges.unsubscribe(),this.datepickerInput=ne,this._inputStateChanges=ne.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(ne){this._actionsPortal=ne,this._componentRef?.instance._assignActions(ne,!0)}removeActions(ne){ne===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this._focusedElementBeforeOpen=(0,B.ht)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;const ne=this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,lt=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:Oe,location:Ct}=this._componentRef;Oe._startExitAnimation(),Oe._animationDone.pipe((0,W.q)(1)).subscribe(()=>{const Ht=this._document.activeElement;ne&&(!Ht||Ht===this._document.activeElement||Ct.nativeElement.contains(Ht))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}ne?setTimeout(lt):lt()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(ne){ne.datepicker=this,ne.color=this.color,ne._dialogLabelId=this.datepickerInput.getOverlayLabelId(),ne._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();const ne=this.touchUi,lt=new y.C5(Ie,this._viewContainerRef),Oe=this._overlayRef=this._overlay.create(new t.X_({positionStrategy:ne?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[ne?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:ne?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(ne?"dialog":"popup")}));this._getCloseStream(Oe).subscribe(Ct=>{Ct&&Ct.preventDefault(),this.close()}),Oe.keydownEvents().subscribe(Ct=>{const Ht=Ct.keyCode;(Ht===k.LH||Ht===k.JH||Ht===k.oh||Ht===k.SV||Ht===k.Ku||Ht===k.VM)&&Ct.preventDefault()}),this._componentRef=Oe.attach(lt),this._forwardContentValues(this._componentRef.instance),ne||this._ngZone.onStable.pipe((0,W.q)(1)).subscribe(()=>Oe.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const ne=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(ne)}_setConnectedPositions(ne){const lt="end"===this.xPosition?"end":"start",Oe="start"===lt?"end":"start",Ct="above"===this.yPosition?"bottom":"top",Ht="top"===Ct?"bottom":"top";return ne.withPositions([{originX:lt,originY:Ht,overlayX:lt,overlayY:Ct},{originX:lt,originY:Ct,overlayX:lt,overlayY:Ht},{originX:Oe,originY:Ht,overlayX:Oe,overlayY:Ct},{originX:Oe,originY:Ct,overlayX:Oe,overlayY:Ht}])}_getCloseStream(ne){const lt=["ctrlKey","shiftKey","metaKey"];return(0,M.T)(ne.backdropClick(),ne.detachments(),ne.keydownEvents().pipe((0,K.h)(Oe=>Oe.keyCode===k.hY&&!(0,k.Vb)(Oe)||this.datepickerInput&&(0,k.Vb)(Oe,"altKey")&&Oe.keyCode===k.LH&&lt.every(Ct=>!(0,k.Vb)(Oe,Ct)))))}static#e=this.\u0275fac=function(lt){return new(lt||Kt)(l.Y36(t.aV),l.Y36(l.R0b),l.Y36(l.s_b),l.Y36(Le),l.Y36(P._A,8),l.Y36(V.Is,8),l.Y36(mt))};static#t=this.\u0275dir=l.lG2({type:Kt,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:"touchUi",disabled:"disabled",xPosition:"xPosition",yPosition:"yPosition",restoreFocus:"restoreFocus",dateClass:"dateClass",panelClass:"panelClass",opened:"opened"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[l.TTD]})}return Kt})(),At=(()=>{class Kt extends Nt{static#e=this.\u0275fac=(()=>{let ne;return function(Oe){return(ne||(ne=l.n5z(Kt)))(Oe||Kt)}})();static#t=this.\u0275cmp=l.Xpm({type:Kt,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[l._Bn([it,{provide:Nt,useExisting:Kt}]),l.qOj],decls:0,vars:0,template:function(lt,Oe){},encapsulation:2,changeDetection:0})}return Kt})();class Zt{constructor(vi,ne){this.target=vi,this.targetElement=ne,this.value=this.target.value}}let mi=(()=>{class Kt{get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(ne){this._assignValueProgrammatically(ne)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(ne){const lt=(0,X.Ig)(ne),Oe=this._elementRef.nativeElement;this._disabled!==lt&&(this._disabled=lt,this.stateChanges.next(void 0)),lt&&this._isInitialized&&Oe.blur&&Oe.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(ne){this._model=ne,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(lt=>{if(this._shouldHandleChangeEvent(lt)){const Oe=this._getValueFromModel(lt.selection);this._lastValueValid=this._isValidValue(Oe),this._cvaOnChange(Oe),this._onTouched(),this._formatValue(Oe),this.dateInput.emit(new Zt(this,this._elementRef.nativeElement)),this.dateChange.emit(new Zt(this,this._elementRef.nativeElement))}})}constructor(ne,lt,Oe){this._elementRef=ne,this._dateAdapter=lt,this._dateFormats=Oe,this.dateChange=new l.vpe,this.dateInput=new l.vpe,this.stateChanges=new d.x,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=E.w0.EMPTY,this._localeSubscription=E.w0.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=Ct=>{const Ht=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Ct.value));return!Ht||this._matchesFilter(Ht)?null:{matDatepickerFilter:!0}},this._minValidator=Ct=>{const Ht=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Ct.value)),Ii=this._getMinDate();return!Ii||!Ht||this._dateAdapter.compareDate(Ii,Ht)<=0?null:{matDatepickerMin:{min:Ii,actual:Ht}}},this._maxValidator=Ct=>{const Ht=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Ct.value)),Ii=this._getMaxDate();return!Ii||!Ht||this._dateAdapter.compareDate(Ii,Ht)>=0?null:{matDatepickerMax:{max:Ii,actual:Ht}}},this._lastValueValid=!1,this._localeSubscription=lt.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(ne){(function Jt(Kt,vi){const ne=Object.keys(Kt);for(let lt of ne){const{previousValue:Oe,currentValue:Ct}=Kt[lt];if(!vi.isDateInstance(Oe)||!vi.isDateInstance(Ct))return!0;if(!vi.sameDate(Oe,Ct))return!0}return!1})(ne,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(ne){this._validatorOnChange=ne}validate(ne){return this._validator?this._validator(ne):null}writeValue(ne){this._assignValueProgrammatically(ne)}registerOnChange(ne){this._cvaOnChange=ne}registerOnTouched(ne){this._onTouched=ne}setDisabledState(ne){this.disabled=ne}_onKeydown(ne){(0,k.Vb)(ne,"altKey")&&ne.keyCode===k.JH&&["ctrlKey","shiftKey","metaKey"].every(Ct=>!(0,k.Vb)(ne,Ct))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),ne.preventDefault())}_onInput(ne){const lt=this._lastValueValid;let Oe=this._dateAdapter.parse(ne,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(Oe),Oe=this._dateAdapter.getValidDateOrNull(Oe);const Ct=!this._dateAdapter.sameDate(Oe,this.value);!Oe||Ct?this._cvaOnChange(Oe):(ne&&!this.value&&this._cvaOnChange(Oe),lt!==this._lastValueValid&&this._validatorOnChange()),Ct&&(this._assignValue(Oe),this.dateInput.emit(new Zt(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new Zt(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(ne){this._elementRef.nativeElement.value=null!=ne?this._dateAdapter.format(ne,this._dateFormats.display.dateInput):""}_assignValue(ne){this._model?(this._assignValueToModel(ne),this._pendingValue=null):this._pendingValue=ne}_isValidValue(ne){return!ne||this._dateAdapter.isValid(ne)}_parentDisabled(){return!1}_assignValueProgrammatically(ne){ne=this._dateAdapter.deserialize(ne),this._lastValueValid=this._isValidValue(ne),ne=this._dateAdapter.getValidDateOrNull(ne),this._assignValue(ne),this._formatValue(ne)}_matchesFilter(ne){const lt=this._getDateFilter();return!lt||lt(ne)}static#e=this.\u0275fac=function(lt){return new(lt||Kt)(l.Y36(l.SBq),l.Y36(P._A,8),l.Y36(P.sG,8))};static#t=this.\u0275dir=l.lG2({type:Kt,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[l.TTD]})}return Kt})();const Xt={provide:ae.JU,useExisting:(0,l.Gpc)(()=>li),multi:!0},Hi={provide:ae.Cf,useExisting:(0,l.Gpc)(()=>li),multi:!0};let li=(()=>{class Kt extends mi{set matDatepicker(ne){ne&&(this._datepicker=ne,this._closedSubscription=ne.closedStream.subscribe(()=>this._onTouched()),this._registerModel(ne.registerInput(this)))}get min(){return this._min}set min(ne){const lt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ne));this._dateAdapter.sameDate(lt,this._min)||(this._min=lt,this._validatorOnChange())}get max(){return this._max}set max(ne){const lt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ne));this._dateAdapter.sameDate(lt,this._max)||(this._max=lt,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(ne){const lt=this._matchesFilter(this.value);this._dateFilter=ne,this._matchesFilter(this.value)!==lt&&this._validatorOnChange()}constructor(ne,lt,Oe,Ct){super(ne,lt,Oe),this._formField=Ct,this._closedSubscription=E.w0.EMPTY,this._validator=ae.kI.compose(super._getValidators())}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(ne){return ne}_assignValueToModel(ne){this._model&&this._model.updateSelection(ne,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(ne){return ne.source!==this}static#e=this.\u0275fac=function(lt){return new(lt||Kt)(l.Y36(l.SBq),l.Y36(P._A,8),l.Y36(P.sG,8),l.Y36(fe.G_,8))};static#t=this.\u0275dir=l.lG2({type:Kt,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(lt,Oe){1&lt&&l.NdJ("input",function(Ht){return Oe._onInput(Ht.target.value)})("change",function(){return Oe._onChange()})("blur",function(){return Oe._onBlur()})("keydown",function(Ht){return Oe._onKeydown(Ht)}),2&lt&&(l.Ikx("disabled",Oe.disabled),l.uIk("aria-haspopup",Oe._datepicker?"dialog":null)("aria-owns",(null==Oe._datepicker?null:Oe._datepicker.opened)&&Oe._datepicker.id||null)("min",Oe.min?Oe._dateAdapter.toIso8601(Oe.min):null)("max",Oe.max?Oe._dateAdapter.toIso8601(Oe.max):null)("data-mat-calendar",Oe._datepicker?Oe._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[l._Bn([Xt,Hi,{provide:se.Jk,useExisting:Kt}]),l.qOj]})}return Kt})(),hi=(()=>{class Kt{static#e=this.\u0275fac=function(lt){return new(lt||Kt)};static#t=this.\u0275dir=l.lG2({type:Kt,selectors:[["","matDatepickerToggleIcon",""]]})}return Kt})(),un=(()=>{class Kt{get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(ne){this._disabled=(0,X.Ig)(ne)}constructor(ne,lt,Oe){this._intl=ne,this._changeDetectorRef=lt,this._stateChanges=E.w0.EMPTY;const Ct=Number(Oe);this.tabIndex=Ct||0===Ct?Ct:null}ngOnChanges(ne){ne.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(ne){this.datepicker&&!this.disabled&&(this.datepicker.open(),ne.stopPropagation())}_watchStateChanges(){const ne=this.datepicker?this.datepicker.stateChanges:(0,I.of)(),lt=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,I.of)(),Oe=this.datepicker?(0,M.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,I.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,M.T)(this._intl.changes,ne,lt,Oe).subscribe(()=>this._changeDetectorRef.markForCheck())}static#e=this.\u0275fac=function(lt){return new(lt||Kt)(l.Y36(Je),l.Y36(l.sBO),l.$8M("tabindex"))};static#t=this.\u0275cmp=l.Xpm({type:Kt,selectors:[["mat-datepicker-toggle"]],contentQueries:function(lt,Oe,Ct){if(1&lt&&l.Suo(Ct,hi,5),2&lt){let Ht;l.iGM(Ht=l.CRH())&&(Oe._customIcon=Ht.first)}},viewQuery:function(lt,Oe){if(1&lt&&l.Gf(r,5),2&lt){let Ct;l.iGM(Ct=l.CRH())&&(Oe._button=Ct.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(lt,Oe){1&lt&&l.NdJ("click",function(Ht){return Oe._open(Ht)}),2&lt&&(l.uIk("tabindex",null)("data-mat-calendar",Oe.datepicker?Oe.datepicker.id:null),l.ekj("mat-datepicker-toggle-active",Oe.datepicker&&Oe.datepicker.opened)("mat-accent",Oe.datepicker&&"accent"===Oe.datepicker.color)("mat-warn",Oe.datepicker&&"warn"===Oe.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[l.TTD],ngContentSelectors:N,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(lt,Oe){1&lt&&(l.F$t(H),l.TgZ(0,"button",0,1),l.YNc(2,g,2,0,":svg:svg",2),l.Hsn(3),l.qZA()),2&lt&&(l.Q6J("disabled",Oe.disabled)("disableRipple",Oe.disableRipple),l.uIk("aria-haspopup",Oe.datepicker?"dialog":null)("aria-label",Oe.ariaLabel||Oe._intl.openCalendarLabel)("tabindex",Oe.disabled?-1:Oe.tabIndex),l.xp6(2),l.um2(2,Oe._customIcon?-1:2))},dependencies:[x.RK],styles:[".mat-datepicker-toggle{pointer-events:auto;color:var(--mat-datepicker-toggle-icon-color)}.mat-datepicker-toggle-active{color:var(--mat-datepicker-toggle-active-state-icon-color)}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}"],encapsulation:2,changeDetection:0})}return Kt})(),Vi=(()=>{class Kt{static#e=this.\u0275fac=function(lt){return new(lt||Kt)};static#t=this.\u0275mod=l.oAB({type:Kt});static#i=this.\u0275inj=l.cJS({providers:[Je,J],imports:[A.ez,x.ot,t.U8,e.rt,y.eL,P.BQ,m.ZD]})}return Kt})()},7700:(ze,q,p)=>{"use strict";p.d(q,{WI:()=>ye,Bq:()=>me,uw:()=>qe,ZT:()=>ve,Is:()=>kt,so:()=>je});var e=p(3651),t=p(6814),y=p(9212),A=p(4300),l=p(2831),x=p(8484),m=p(6028),P=p(8645),d=p(4911),E=p(2096),M=p(9388),I=p(7921);function k(it,$e){}class V{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}}let W=(()=>{class it extends x.en{constructor(ke,st,Ke,Et,ct,te,Pe,$t){super(),this._elementRef=ke,this._focusTrapFactory=st,this._config=Et,this._interactivityChecker=ct,this._ngZone=te,this._overlayRef=Pe,this._focusMonitor=$t,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this.attachDomPortal=Ze=>{this._portalOutlet.hasAttached();const Qe=this._portalOutlet.attachDomPortal(Ze);return this._contentAttached(),Qe},this._document=Ke,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(ke){this._portalOutlet.hasAttached();const st=this._portalOutlet.attachComponentPortal(ke);return this._contentAttached(),st}attachTemplatePortal(ke){this._portalOutlet.hasAttached();const st=this._portalOutlet.attachTemplatePortal(ke);return this._contentAttached(),st}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(ke,st){this._interactivityChecker.isFocusable(ke)||(ke.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const Ke=()=>{ke.removeEventListener("blur",Ke),ke.removeEventListener("mousedown",Ke),ke.removeAttribute("tabindex")};ke.addEventListener("blur",Ke),ke.addEventListener("mousedown",Ke)})),ke.focus(st)}_focusByCssSelector(ke,st){let Ke=this._elementRef.nativeElement.querySelector(ke);Ke&&this._forceFocus(Ke,st)}_trapFocus(){const ke=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||ke.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(st=>{st||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const ke=this._config.restoreFocus;let st=null;if("string"==typeof ke?st=this._document.querySelector(ke):"boolean"==typeof ke?st=ke?this._elementFocusedBeforeDialogWasOpened:null:ke&&(st=ke),this._config.restoreFocus&&st&&"function"==typeof st.focus){const Ke=(0,l.ht)(),Et=this._elementRef.nativeElement;(!Ke||Ke===this._document.body||Ke===Et||Et.contains(Ke))&&(this._focusMonitor?(this._focusMonitor.focusVia(st,this._closeInteractionType),this._closeInteractionType=null):st.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const ke=this._elementRef.nativeElement,st=(0,l.ht)();return ke===st||ke.contains(st)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,l.ht)())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static#e=this.\u0275fac=function(st){return new(st||it)(y.Y36(y.SBq),y.Y36(A.qV),y.Y36(t.K0,8),y.Y36(V),y.Y36(A.ic),y.Y36(y.R0b),y.Y36(e.Iu),y.Y36(A.tE))};static#t=this.\u0275cmp=y.Xpm({type:it,selectors:[["cdk-dialog-container"]],viewQuery:function(st,Ke){if(1&st&&y.Gf(x.Pl,7),2&st){let Et;y.iGM(Et=y.CRH())&&(Ke._portalOutlet=Et.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(st,Ke){2&st&&y.uIk("id",Ke._config.id||null)("role",Ke._config.role)("aria-modal",Ke._config.ariaModal)("aria-labelledby",Ke._config.ariaLabel?null:Ke._ariaLabelledByQueue[0])("aria-label",Ke._config.ariaLabel)("aria-describedby",Ke._config.ariaDescribedBy||null)},standalone:!0,features:[y.qOj,y.jDz],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(st,Ke){1&st&&y.YNc(0,k,0,0,"ng-template",0)},dependencies:[x.eL,x.Pl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}return it})();class j{constructor($e,ke){this.overlayRef=$e,this.config=ke,this.closed=new P.x,this.disableClose=ke.disableClose,this.backdropClick=$e.backdropClick(),this.keydownEvents=$e.keydownEvents(),this.outsidePointerEvents=$e.outsidePointerEvents(),this.id=ke.id,this.keydownEvents.subscribe(st=>{st.keyCode===m.hY&&!this.disableClose&&!(0,m.Vb)(st)&&(st.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=$e.detachments().subscribe(()=>{!1!==ke.closeOnOverlayDetachments&&this.close()})}close($e,ke){if(this.containerInstance){const st=this.closed;this.containerInstance._closeInteractionType=ke?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),st.next($e),st.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize($e="",ke=""){return this.overlayRef.updateSize({width:$e,height:ke}),this}addPanelClass($e){return this.overlayRef.addPanelClass($e),this}removePanelClass($e){return this.overlayRef.removePanelClass($e),this}}const K=new y.OlP("DialogScrollStrategy",{providedIn:"root",factory:()=>{const it=(0,y.f3M)(e.aV);return()=>it.scrollStrategies.block()}}),X=new y.OlP("DialogData"),ie=new y.OlP("DefaultDialogConfig");let se=0,Me=(()=>{class it{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(ke,st,Ke,Et,ct,te){this._overlay=ke,this._injector=st,this._defaultOptions=Ke,this._parentDialog=Et,this._overlayContainer=ct,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new P.x,this._afterOpenedAtThisLevel=new P.x,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,d.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,I.O)(void 0))),this._scrollStrategy=te}open(ke,st){(st={...this._defaultOptions||new V,...st}).id=st.id||"cdk-dialog-"+se++,st.id&&this.getDialogById(st.id);const Et=this._getOverlayConfig(st),ct=this._overlay.create(Et),te=new j(ct,st),Pe=this._attachContainer(ct,te,st);return te.containerInstance=Pe,this._attachDialogContent(ke,te,Pe,st),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(te),te.closed.subscribe(()=>this._removeOpenDialog(te,!0)),this.afterOpened.next(te),te}closeAll(){$(this.openDialogs,ke=>ke.close())}getDialogById(ke){return this.openDialogs.find(st=>st.id===ke)}ngOnDestroy(){$(this._openDialogsAtThisLevel,ke=>{!1===ke.config.closeOnDestroy&&this._removeOpenDialog(ke,!1)}),$(this._openDialogsAtThisLevel,ke=>ke.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(ke){const st=new e.X_({positionStrategy:ke.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:ke.scrollStrategy||this._scrollStrategy(),panelClass:ke.panelClass,hasBackdrop:ke.hasBackdrop,direction:ke.direction,minWidth:ke.minWidth,minHeight:ke.minHeight,maxWidth:ke.maxWidth,maxHeight:ke.maxHeight,width:ke.width,height:ke.height,disposeOnNavigation:ke.closeOnNavigation});return ke.backdropClass&&(st.backdropClass=ke.backdropClass),st}_attachContainer(ke,st,Ke){const Et=Ke.injector||Ke.viewContainerRef?.injector,ct=[{provide:V,useValue:Ke},{provide:j,useValue:st},{provide:e.Iu,useValue:ke}];let te;Ke.container?"function"==typeof Ke.container?te=Ke.container:(te=Ke.container.type,ct.push(...Ke.container.providers(Ke))):te=W;const Pe=new x.C5(te,Ke.viewContainerRef,y.zs3.create({parent:Et||this._injector,providers:ct}),Ke.componentFactoryResolver);return ke.attach(Pe).instance}_attachDialogContent(ke,st,Ke,Et){if(ke instanceof y.Rgc){const ct=this._createInjector(Et,st,Ke,void 0);let te={$implicit:Et.data,dialogRef:st};Et.templateContext&&(te={...te,..."function"==typeof Et.templateContext?Et.templateContext():Et.templateContext}),Ke.attachTemplatePortal(new x.UE(ke,null,te,ct))}else{const ct=this._createInjector(Et,st,Ke,this._injector),te=Ke.attachComponentPortal(new x.C5(ke,Et.viewContainerRef,ct,Et.componentFactoryResolver));st.componentRef=te,st.componentInstance=te.instance}}_createInjector(ke,st,Ke,Et){const ct=ke.injector||ke.viewContainerRef?.injector,te=[{provide:X,useValue:ke.data},{provide:j,useValue:st}];return ke.providers&&("function"==typeof ke.providers?te.push(...ke.providers(st,ke,Ke)):te.push(...ke.providers)),ke.direction&&(!ct||!ct.get(M.Is,null,{optional:!0}))&&te.push({provide:M.Is,useValue:{value:ke.direction,change:(0,E.of)()}}),y.zs3.create({parent:ct||Et,providers:te})}_removeOpenDialog(ke,st){const Ke=this.openDialogs.indexOf(ke);Ke>-1&&(this.openDialogs.splice(Ke,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((Et,ct)=>{Et?ct.setAttribute("aria-hidden",Et):ct.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),st&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const ke=this._overlayContainer.getContainerElement();if(ke.parentElement){const st=ke.parentElement.children;for(let Ke=st.length-1;Ke>-1;Ke--){const Et=st[Ke];Et!==ke&&"SCRIPT"!==Et.nodeName&&"STYLE"!==Et.nodeName&&!Et.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(Et,Et.getAttribute("aria-hidden")),Et.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const ke=this._parentDialog;return ke?ke._getAfterAllClosed():this._afterAllClosedAtThisLevel}static#e=this.\u0275fac=function(st){return new(st||it)(y.LFG(e.aV),y.LFG(y.zs3),y.LFG(ie,8),y.LFG(it,12),y.LFG(e.Xj),y.LFG(K))};static#t=this.\u0275prov=y.Yz7({token:it,factory:it.\u0275fac,providedIn:"root"})}return it})();function $(it,$e){let ke=it.length;for(;ke--;)$e(it[ke])}let ue=(()=>{class it{static#e=this.\u0275fac=function(st){return new(st||it)};static#t=this.\u0275mod=y.oAB({type:it});static#i=this.\u0275inj=y.cJS({providers:[Me],imports:[e.U8,x.eL,A.rt,W,x.eL]})}return it})();var S=p(2495),n=p(3019),s=p(2181),f=p(8180),h=p(3680);function D(it,$e){}p(6825);class O{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const v="mdc-dialog--open",r="mdc-dialog--opening",g="mdc-dialog--closing";let ee=(()=>{class it extends W{constructor(ke,st,Ke,Et,ct,te,Pe,$t,Ze){super(ke,st,Ke,Et,ct,te,Pe,Ze),this._animationMode=$t,this._animationStateChanged=new y.vpe,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?ot(this._config.enterAnimationDuration)??150:0,this._exitAnimationDuration=this._animationsEnabled?ot(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(De,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(r,v)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(v),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(v),this._animationsEnabled?(this._hostElement.style.setProperty(De,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(g)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(r,g)}_waitForAnimationToComplete(ke,st){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(st,ke)}_requestAnimationFrame(ke){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(ke):ke()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(ke){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:ke})}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}attachComponentPortal(ke){const st=super.attachComponentPortal(ke);return st.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),st}static#e=this.\u0275fac=function(st){return new(st||it)(y.Y36(y.SBq),y.Y36(A.qV),y.Y36(t.K0,8),y.Y36(O),y.Y36(A.ic),y.Y36(y.R0b),y.Y36(e.Iu),y.Y36(y.QbO,8),y.Y36(A.tE))};static#t=this.\u0275cmp=y.Xpm({type:it,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(st,Ke){2&st&&(y.Ikx("id",Ke._config.id),y.uIk("aria-modal",Ke._config.ariaModal)("role",Ke._config.role)("aria-labelledby",Ke._config.ariaLabel?null:Ke._ariaLabelledByQueue[0])("aria-label",Ke._config.ariaLabel)("aria-describedby",Ke._config.ariaDescribedBy||null),y.ekj("_mat-animation-noopable",!Ke._animationsEnabled))},standalone:!0,features:[y.qOj,y.jDz],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(st,Ke){1&st&&(y.TgZ(0,"div",0)(1,"div",1),y.YNc(2,D,0,0,"ng-template",2),y.qZA()())},dependencies:[x.eL,x.Pl],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto;outline:0}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{width:100%;height:100%}.mat-mdc-dialog-component-host{display:contents}.mat-mdc-dialog-container{--mdc-dialog-container-elevation: var(--mdc-dialog-container-elevation-shadow);outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, 4px)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87))}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6))}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2})}return it})();const De="--mat-dialog-transition-duration";function ot(it){return null==it?null:"number"==typeof it?it:it.endsWith("ms")?(0,S.su)(it.substring(0,it.length-2)):it.endsWith("s")?1e3*(0,S.su)(it.substring(0,it.length-1)):"0"===it?0:null}class je{constructor($e,ke,st){this._ref=$e,this._containerInstance=st,this._afterOpened=new P.x,this._beforeClosed=new P.x,this._state=0,this.disableClose=ke.disableClose,this.id=$e.id,st._animationStateChanged.pipe((0,s.h)(Ke=>"opened"===Ke.state),(0,f.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),st._animationStateChanged.pipe((0,s.h)(Ke=>"closed"===Ke.state),(0,f.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),$e.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,n.T)(this.backdropClick(),this.keydownEvents().pipe((0,s.h)(Ke=>Ke.keyCode===m.hY&&!this.disableClose&&!(0,m.Vb)(Ke)))).subscribe(Ke=>{this.disableClose||(Ke.preventDefault(),Je(this,"keydown"===Ke.type?"keyboard":"mouse"))})}close($e){this._result=$e,this._containerInstance._animationStateChanged.pipe((0,s.h)(ke=>"closing"===ke.state),(0,f.q)(1)).subscribe(ke=>{this._beforeClosed.next($e),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),ke.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition($e){let ke=this._ref.config.positionStrategy;return $e&&($e.left||$e.right)?$e.left?ke.left($e.left):ke.right($e.right):ke.centerHorizontally(),$e&&($e.top||$e.bottom)?$e.top?ke.top($e.top):ke.bottom($e.bottom):ke.centerVertically(),this._ref.updatePosition(),this}updateSize($e="",ke=""){return this._ref.updateSize($e,ke),this}addPanelClass($e){return this._ref.addPanelClass($e),this}removePanelClass($e){return this._ref.removePanelClass($e),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function Je(it,$e,ke){return it._closeInteractionType=$e,it.close(ke)}const ye=new y.OlP("MatMdcDialogData"),me=new y.OlP("mat-mdc-dialog-default-options"),he=new y.OlP("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{const it=(0,y.f3M)(e.aV);return()=>it.scrollStrategies.block()}});let ge=0,qe=(()=>{class it{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const ke=this._parentDialog;return ke?ke._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(ke,st,Ke,Et,ct,te,Pe,$t){this._overlay=ke,this._defaultOptions=Et,this._scrollStrategy=ct,this._parentDialog=te,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new P.x,this._afterOpenedAtThisLevel=new P.x,this.dialogConfigClass=O,this.afterAllClosed=(0,d.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,I.O)(void 0))),this._dialog=st.get(Me),this._dialogRefConstructor=je,this._dialogContainerType=ee,this._dialogDataToken=ye}open(ke,st){let Ke;(st={...this._defaultOptions||new O,...st}).id=st.id||"mat-mdc-dialog-"+ge++,st.scrollStrategy=st.scrollStrategy||this._scrollStrategy();const Et=this._dialog.open(ke,{...st,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:st},{provide:V,useValue:st}]},templateContext:()=>({dialogRef:Ke}),providers:(ct,te,Pe)=>(Ke=new this._dialogRefConstructor(ct,st,Pe),Ke.updatePosition(st?.position),[{provide:this._dialogContainerType,useValue:Pe},{provide:this._dialogDataToken,useValue:te.data},{provide:this._dialogRefConstructor,useValue:Ke}])});return Ke.componentRef=Et.componentRef,Ke.componentInstance=Et.componentInstance,this.openDialogs.push(Ke),this.afterOpened.next(Ke),Ke.afterClosed().subscribe(()=>{const ct=this.openDialogs.indexOf(Ke);ct>-1&&(this.openDialogs.splice(ct,1),this.openDialogs.length||this._getAfterAllClosed().next())}),Ke}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(ke){return this.openDialogs.find(st=>st.id===ke)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(ke){let st=ke.length;for(;st--;)ke[st].close()}static#e=this.\u0275fac=function(st){return new(st||it)(y.LFG(e.aV),y.LFG(y.zs3),y.LFG(t.Ye,8),y.LFG(me,8),y.LFG(he),y.LFG(it,12),y.LFG(e.Xj),y.LFG(y.QbO,8))};static#t=this.\u0275prov=y.Yz7({token:it,factory:it.\u0275fac,providedIn:"root"})}return it})(),ve=(()=>{class it{constructor(ke,st,Ke){this.dialogRef=ke,this._elementRef=st,this._dialog=Ke,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=function wt(it,$e){let ke=it.nativeElement.parentElement;for(;ke&&!ke.classList.contains("mat-mdc-dialog-container");)ke=ke.parentElement;return ke?$e.find(st=>st.id===ke.id):null}(this._elementRef,this._dialog.openDialogs))}ngOnChanges(ke){const st=ke._matDialogClose||ke._matDialogCloseResult;st&&(this.dialogResult=st.currentValue)}_onButtonClick(ke){Je(this.dialogRef,0===ke.screenX&&0===ke.screenY?"keyboard":"mouse",this.dialogResult)}static#e=this.\u0275fac=function(st){return new(st||it)(y.Y36(je,8),y.Y36(y.SBq),y.Y36(qe))};static#t=this.\u0275dir=y.lG2({type:it,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(st,Ke){1&st&&y.NdJ("click",function(ct){return Ke._onButtonClick(ct)}),2&st&&y.uIk("aria-label",Ke.ariaLabel||null)("type",Ke.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],standalone:!0,features:[y.TTD]})}return it})();let kt=(()=>{class it{static#e=this.\u0275fac=function(st){return new(st||it)};static#t=this.\u0275mod=y.oAB({type:it});static#i=this.\u0275inj=y.cJS({providers:[qe],imports:[ue,e.U8,x.eL,h.BQ,ee,h.BQ]})}return it})()},6385:(ze,q,p)=>{"use strict";p.d(q,{d:()=>A,t:()=>l});var e=p(9212),t=p(2495),y=p(3680);let A=(()=>{class x{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(P){this._vertical=(0,t.Ig)(P)}get inset(){return this._inset}set inset(P){this._inset=(0,t.Ig)(P)}static#e=this.\u0275fac=function(d){return new(d||x)};static#t=this.\u0275cmp=e.Xpm({type:x,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(d,E){2&d&&(e.uIk("aria-orientation",E.vertical?"vertical":"horizontal"),e.ekj("mat-divider-vertical",E.vertical)("mat-divider-horizontal",!E.vertical)("mat-divider-inset",E.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(d,E){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color);border-top-width:var(--mat-divider-width)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color);border-right-width:var(--mat-divider-width)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0})}return x})(),l=(()=>{class x{static#e=this.\u0275fac=function(d){return new(d||x)};static#t=this.\u0275mod=e.oAB({type:x});static#i=this.\u0275inj=e.cJS({imports:[y.BQ,y.BQ]})}return x})()},3305:(ze,q,p)=>{"use strict";p.d(q,{pp:()=>ye,To:()=>me,ib:()=>H,u4:()=>je,yz:()=>ot,yK:()=>Je});var e=p(9212),t=p(8337),y=p(8645),A=p(7394);let l=0;const x=new e.OlP("CdkAccordion");let m=(()=>{class he{constructor(){this._stateChanges=new y.x,this._openCloseAllActions=new y.x,this.id="cdk-accordion-"+l++,this.multi=!1}openAll(){this.multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(de){this._stateChanges.next(de)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}static#e=this.\u0275fac=function(ge){return new(ge||he)};static#t=this.\u0275dir=e.lG2({type:he,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:["multi","multi",e.VuI]},exportAs:["cdkAccordion"],features:[e._Bn([{provide:x,useExisting:he}]),e.Xq5,e.TTD]})}return he})(),P=0,d=(()=>{class he{get expanded(){return this._expanded}set expanded(de){this._expanded!==de&&(this._expanded=de,this.expandedChange.emit(de),de?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}constructor(de,ge,qe){this.accordion=de,this._changeDetectorRef=ge,this._expansionDispatcher=qe,this._openCloseAllSubscription=A.w0.EMPTY,this.closed=new e.vpe,this.opened=new e.vpe,this.destroyed=new e.vpe,this.expandedChange=new e.vpe,this.id="cdk-accordion-child-"+P++,this._expanded=!1,this.disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=qe.listen((oe,ve)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===ve&&this.id!==oe&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(de=>{this.disabled||(this.expanded=de)})}static#e=this.\u0275fac=function(ge){return new(ge||he)(e.Y36(x,12),e.Y36(e.sBO),e.Y36(t.A8))};static#t=this.\u0275dir=e.lG2({type:he,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:["expanded","expanded",e.VuI],disabled:["disabled","disabled",e.VuI]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[e._Bn([{provide:x,useValue:void 0}]),e.Xq5]})}return he})(),E=(()=>{class he{static#e=this.\u0275fac=function(ge){return new(ge||he)};static#t=this.\u0275mod=e.oAB({type:he});static#i=this.\u0275inj=e.cJS({})}return he})();var M=p(8484),I=p(3680),k=p(2495),V=p(4300),B=p(3997),W=p(7921),j=p(2181),K=p(8180),X=p(6028),ie=p(6232),ae=p(3019),fe=p(6825),se=p(6814);const Me=["body"];function $(he,xe){}const ue=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],S=["mat-expansion-panel-header","*","mat-action-row"];function n(he,xe){if(1&he&&e._UZ(0,"span",2),2&he){const de=e.oxw();e.Q6J("@indicatorRotate",de._getExpandedState())}}const s=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],f=["mat-panel-title","mat-panel-description","*"],h=new e.OlP("MAT_ACCORDION"),w="225ms cubic-bezier(0.4,0.0,0.2,1)",D={indicatorRotate:(0,fe.X$)("indicatorRotate",[(0,fe.SB)("collapsed, void",(0,fe.oB)({transform:"rotate(0deg)"})),(0,fe.SB)("expanded",(0,fe.oB)({transform:"rotate(180deg)"})),(0,fe.eR)("expanded <=> collapsed, void => collapsed",(0,fe.jt)(w))]),bodyExpansion:(0,fe.X$)("bodyExpansion",[(0,fe.SB)("collapsed, void",(0,fe.oB)({height:"0px",visibility:"hidden"})),(0,fe.SB)("expanded",(0,fe.oB)({height:"*",visibility:""})),(0,fe.eR)("expanded <=> collapsed, void => collapsed",(0,fe.jt)(w))])},O=new e.OlP("MAT_EXPANSION_PANEL");let v=(()=>{class he{constructor(de,ge){this._template=de,this._expansionPanel=ge}static#e=this.\u0275fac=function(ge){return new(ge||he)(e.Y36(e.Rgc),e.Y36(O,8))};static#t=this.\u0275dir=e.lG2({type:he,selectors:[["ng-template","matExpansionPanelContent",""]]})}return he})(),r=0;const g=new e.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let H=(()=>{class he extends d{get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(de){this._hideToggle=(0,k.Ig)(de)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(de){this._togglePosition=de}constructor(de,ge,qe,oe,ve,le,Ge){super(de,ge,qe),this._viewContainerRef=oe,this._animationMode=le,this._hideToggle=!1,this.afterExpand=new e.vpe,this.afterCollapse=new e.vpe,this._inputChanges=new y.x,this._headerId="mat-expansion-panel-header-"+r++,this._bodyAnimationDone=new y.x,this.accordion=de,this._document=ve,this._bodyAnimationDone.pipe((0,B.x)((We,wt)=>We.fromState===wt.fromState&&We.toState===wt.toState)).subscribe(We=>{"void"!==We.fromState&&("expanded"===We.toState?this.afterExpand.emit():"collapsed"===We.toState&&this.afterCollapse.emit())}),Ge&&(this.hideToggle=Ge.hideToggle)}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe((0,W.O)(null),(0,j.h)(()=>this.expanded&&!this._portal),(0,K.q)(1)).subscribe(()=>{this._portal=new M.UE(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(de){this._inputChanges.next(de)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const de=this._document.activeElement,ge=this._body.nativeElement;return de===ge||ge.contains(de)}return!1}static#e=this.\u0275fac=function(ge){return new(ge||he)(e.Y36(h,12),e.Y36(e.sBO),e.Y36(t.A8),e.Y36(e.s_b),e.Y36(se.K0),e.Y36(e.QbO,8),e.Y36(g,8))};static#t=this.\u0275cmp=e.Xpm({type:he,selectors:[["mat-expansion-panel"]],contentQueries:function(ge,qe,oe){if(1&ge&&e.Suo(oe,v,5),2&ge){let ve;e.iGM(ve=e.CRH())&&(qe._lazyContent=ve.first)}},viewQuery:function(ge,qe){if(1&ge&&e.Gf(Me,5),2&ge){let oe;e.iGM(oe=e.CRH())&&(qe._body=oe.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(ge,qe){2&ge&&e.ekj("mat-expanded",qe.expanded)("_mat-animation-noopable","NoopAnimations"===qe._animationMode)("mat-expansion-panel-spacing",qe._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[e._Bn([{provide:h,useValue:void 0},{provide:O,useExisting:he}]),e.qOj,e.TTD],ngContentSelectors:S,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(ge,qe){1&ge&&(e.F$t(ue),e.Hsn(0),e.TgZ(1,"div",0,1),e.NdJ("@bodyExpansion.done",function(ve){return qe._bodyAnimationDone.next(ve)}),e.TgZ(3,"div",2),e.Hsn(4,1),e.YNc(5,$,0,0,"ng-template",3),e.qZA(),e.Hsn(6,2),e.qZA()),2&ge&&(e.xp6(1),e.Q6J("@bodyExpansion",qe._getExpandedState())("id",qe.id),e.uIk("aria-labelledby",qe._headerId),e.xp6(4),e.Q6J("cdkPortalOutlet",qe._portal))},dependencies:[M.Pl],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative;background:var(--mat-expansion-container-background-color);color:var(--mat-expansion-container-text-color);border-radius:var(--mat-expansion-container-shape)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape);border-top-left-radius:var(--mat-expansion-container-shape)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape);border-bottom-left-radius:var(--mat-expansion-container-shape)}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;font-family:var(--mat-expansion-container-text-font);font-size:var(--mat-expansion-container-text-size);font-weight:var(--mat-expansion-container-text-weight);line-height:var(--mat-expansion-container-text-line-height);letter-spacing:var(--mat-expansion-container-text-tracking)}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color)}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[D.bodyExpansion]},changeDetection:0})}return he})();class ee{}const De=(0,I.sb)(ee);let ot=(()=>{class he extends De{constructor(de,ge,qe,oe,ve,le,Ge){super(),this.panel=de,this._element=ge,this._focusMonitor=qe,this._changeDetectorRef=oe,this._animationMode=le,this._parentChangeSubscription=A.w0.EMPTY;const We=de.accordion?de.accordion._stateChanges.pipe((0,j.h)(wt=>!(!wt.hideToggle&&!wt.togglePosition))):ie.E;this.tabIndex=parseInt(Ge||"")||0,this._parentChangeSubscription=(0,ae.T)(de.opened,de.closed,We,de._inputChanges.pipe((0,j.h)(wt=>!!(wt.hideToggle||wt.disabled||wt.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),de.closed.pipe((0,j.h)(()=>de._containsFocus())).subscribe(()=>qe.focusVia(ge,"program")),ve&&(this.expandedHeight=ve.expandedHeight,this.collapsedHeight=ve.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const de=this._isExpanded();return de&&this.expandedHeight?this.expandedHeight:!de&&this.collapsedHeight?this.collapsedHeight:null}_keydown(de){switch(de.keyCode){case X.L_:case X.K5:(0,X.Vb)(de)||(de.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(de))}}focus(de,ge){de?this._focusMonitor.focusVia(this._element,de,ge):this._element.nativeElement.focus(ge)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(de=>{de&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}static#e=this.\u0275fac=function(ge){return new(ge||he)(e.Y36(H,1),e.Y36(e.SBq),e.Y36(V.tE),e.Y36(e.sBO),e.Y36(g,8),e.Y36(e.QbO,8),e.$8M("tabindex"))};static#t=this.\u0275cmp=e.Xpm({type:he,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(ge,qe){1&ge&&e.NdJ("click",function(){return qe._toggle()})("keydown",function(ve){return qe._keydown(ve)}),2&ge&&(e.uIk("id",qe.panel._headerId)("tabindex",qe.tabIndex)("aria-controls",qe._getPanelId())("aria-expanded",qe._isExpanded())("aria-disabled",qe.panel.disabled),e.Udp("height",qe._getHeaderHeight()),e.ekj("mat-expanded",qe._isExpanded())("mat-expansion-toggle-indicator-after","after"===qe._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===qe._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===qe._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[e.qOj],ngContentSelectors:f,decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator"],[1,"mat-expansion-indicator"]],template:function(ge,qe){1&ge&&(e.F$t(s),e.TgZ(0,"span",0),e.Hsn(1),e.Hsn(2,1),e.Hsn(3,2),e.qZA(),e.YNc(4,n,1,1,"span",1)),2&ge&&(e.ekj("mat-content-hide-toggle",!qe._showToggle()),e.xp6(4),e.um2(4,qe._showToggle()?4:-1))},styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-expansion-header-collapsed-state-height);font-family:var(--mat-expansion-header-text-font);font-size:var(--mat-expansion-header-text-size);font-weight:var(--mat-expansion-header-text-weight);line-height:var(--mat-expansion-header-text-line-height);letter-spacing:var(--mat-expansion-header-text-tracking)}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color)}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color)}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color)}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color)}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color)}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color)}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[D.indicatorRotate]},changeDetection:0})}return he})(),je=(()=>{class he{static#e=this.\u0275fac=function(ge){return new(ge||he)};static#t=this.\u0275dir=e.lG2({type:he,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]})}return he})(),Je=(()=>{class he{static#e=this.\u0275fac=function(ge){return new(ge||he)};static#t=this.\u0275dir=e.lG2({type:he,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]})}return he})(),ye=(()=>{class he extends m{constructor(){super(...arguments),this._ownHeaders=new e.n_E,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(de){this._hideToggle=(0,k.Ig)(de)}ngAfterContentInit(){this._headers.changes.pipe((0,W.O)(this._headers)).subscribe(de=>{this._ownHeaders.reset(de.filter(ge=>ge.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new V.Em(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(de){this._keyManager.onKeydown(de)}_handleHeaderFocus(de){this._keyManager.updateActiveItem(de)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}static#e=this.\u0275fac=(()=>{let de;return function(qe){return(de||(de=e.n5z(he)))(qe||he)}})();static#t=this.\u0275dir=e.lG2({type:he,selectors:[["mat-accordion"]],contentQueries:function(ge,qe,oe){if(1&ge&&e.Suo(oe,ot,5),2&ge){let ve;e.iGM(ve=e.CRH())&&(qe._headers=ve)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(ge,qe){2&ge&&e.ekj("mat-accordion-multi",qe.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[e._Bn([{provide:h,useExisting:he}]),e.qOj]})}return he})(),me=(()=>{class he{static#e=this.\u0275fac=function(ge){return new(ge||he)};static#t=this.\u0275mod=e.oAB({type:he});static#i=this.\u0275inj=e.cJS({imports:[I.BQ,E,M.eL]})}return he})()},5683:(ze,q,p)=>{"use strict";p.d(q,{G_:()=>ct,TO:()=>de,KE:()=>xt,Eo:()=>ke,lN:()=>Ot,bx:()=>qe,hX:()=>me,R9:()=>Ge});var e=p(9212),t=p(9388),y=p(2831),A=p(7394),l=p(8645),x=p(3019),m=p(9773),P=p(5592),d=p(2181),E=p(7328),M=p(3020);class V{constructor(nt){this._box=nt,this._destroyed=new l.x,this._resizeSubject=new l.x,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(Ee=>this._resizeSubject.next(Ee)))}observe(nt){return this._elementObservables.has(nt)||this._elementObservables.set(nt,new P.y(Ee=>{const tt=this._resizeSubject.subscribe(Ee);return this._resizeObserver?.observe(nt,{box:this._box}),()=>{this._resizeObserver?.unobserve(nt),tt.unsubscribe(),this._elementObservables.delete(nt)}}).pipe((0,d.h)(Ee=>Ee.some(tt=>tt.target===nt)),function I(yt,nt,Ee){let tt,Ue=!1;return yt&&"object"==typeof yt?({bufferSize:tt=1/0,windowTime:nt=1/0,refCount:Ue=!1,scheduler:Ee}=yt):tt=yt??1/0,(0,M.B)({connector:()=>new E.t(tt,nt,Ee),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:Ue})}({bufferSize:1,refCount:!0}),(0,m.R)(this._destroyed))),this._elementObservables.get(nt)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let B=(()=>{class yt{constructor(){this._observers=new Map,this._ngZone=(0,e.f3M)(e.R0b)}ngOnDestroy(){for(const[,Ee]of this._observers)Ee.destroy();this._observers.clear()}observe(Ee,tt){const Ue=tt?.box||"content-box";return this._observers.has(Ue)||this._observers.set(Ue,new V(Ue)),this._observers.get(Ue).observe(Ee)}static#e=this.\u0275fac=function(tt){return new(tt||yt)};static#t=this.\u0275prov=e.Yz7({token:yt,factory:yt.\u0275fac,providedIn:"root"})}return yt})();var W=p(2495),j=p(6825),K=p(6814),X=p(7131),ie=p(3680);const ae=["notch"],fe=["matFormFieldNotchedOutline",""],se=["*"],Me=["textField"],$=["iconPrefixContainer"],ue=["textPrefixContainer"];function S(yt,nt){1&yt&&e._UZ(0,"span",16)}function n(yt,nt){if(1&yt&&(e.TgZ(0,"label",14),e.Hsn(1,1),e.YNc(2,S,1,0,"span",15),e.qZA()),2&yt){const Ee=e.oxw(2);e.Q6J("floating",Ee._shouldLabelFloat())("monitorResize",Ee._hasOutline())("id",Ee._labelId),e.uIk("for",Ee._control.id),e.xp6(2),e.um2(2,!Ee.hideRequiredMarker&&Ee._control.required?2:-1)}}function s(yt,nt){if(1&yt&&e.YNc(0,n,3,5,"label",14),2&yt){const Ee=e.oxw();e.um2(0,Ee._hasFloatingLabel()?0:-1)}}function f(yt,nt){1&yt&&e._UZ(0,"div",17)}function h(yt,nt){}function w(yt,nt){if(1&yt&&e.YNc(0,h,0,0,"ng-template",9),2&yt){e.oxw(2);const Ee=e.MAs(1);e.Q6J("ngTemplateOutlet",Ee)}}function D(yt,nt){if(1&yt&&(e.TgZ(0,"div",5),e.YNc(1,w,1,1,null,9),e.qZA()),2&yt){const Ee=e.oxw();e.Q6J("matFormFieldNotchedOutlineOpen",Ee._shouldLabelFloat()),e.xp6(1),e.um2(1,Ee._forceDisplayInfixLabel()?-1:1)}}function O(yt,nt){1&yt&&(e.TgZ(0,"div",18,19),e.Hsn(2,2),e.qZA())}function v(yt,nt){1&yt&&(e.TgZ(0,"div",20,21),e.Hsn(2,3),e.qZA())}function r(yt,nt){}function g(yt,nt){if(1&yt&&e.YNc(0,r,0,0,"ng-template",9),2&yt){e.oxw();const Ee=e.MAs(1);e.Q6J("ngTemplateOutlet",Ee)}}function H(yt,nt){1&yt&&(e.TgZ(0,"div",22),e.Hsn(1,4),e.qZA())}function N(yt,nt){1&yt&&(e.TgZ(0,"div",23),e.Hsn(1,5),e.qZA())}function ee(yt,nt){1&yt&&e._UZ(0,"div",12)}function De(yt,nt){if(1&yt&&(e.TgZ(0,"div",24),e.Hsn(1,6),e.qZA()),2&yt){const Ee=e.oxw();e.Q6J("@transitionMessages",Ee._subscriptAnimationState)}}function ot(yt,nt){if(1&yt&&(e.TgZ(0,"mat-hint",26),e._uU(1),e.qZA()),2&yt){const Ee=e.oxw(2);e.Q6J("id",Ee._hintLabelId),e.xp6(1),e.Oqu(Ee.hintLabel)}}function je(yt,nt){if(1&yt&&(e.TgZ(0,"div",25),e.YNc(1,ot,2,2,"mat-hint",26),e.Hsn(2,7),e._UZ(3,"div",27),e.Hsn(4,8),e.qZA()),2&yt){const Ee=e.oxw();e.Q6J("@transitionMessages",Ee._subscriptAnimationState),e.xp6(1),e.um2(1,Ee.hintLabel?1:-1)}}const Je=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],ye=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let me=(()=>{class yt{static#e=this.\u0275fac=function(tt){return new(tt||yt)};static#t=this.\u0275dir=e.lG2({type:yt,selectors:[["mat-label"]]})}return yt})(),he=0;const xe=new e.OlP("MatError");let de=(()=>{class yt{constructor(Ee,tt){this.id="mat-mdc-error-"+he++,Ee||tt.nativeElement.setAttribute("aria-live","polite")}static#e=this.\u0275fac=function(tt){return new(tt||yt)(e.$8M("aria-live"),e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:yt,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(tt,Ue){2&tt&&e.Ikx("id",Ue.id)},inputs:{id:"id"},features:[e._Bn([{provide:xe,useExisting:yt}])]})}return yt})(),ge=0,qe=(()=>{class yt{constructor(){this.align="start",this.id="mat-mdc-hint-"+ge++}static#e=this.\u0275fac=function(tt){return new(tt||yt)};static#t=this.\u0275dir=e.lG2({type:yt,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(tt,Ue){2&tt&&(e.Ikx("id",Ue.id),e.uIk("align",null),e.ekj("mat-mdc-form-field-hint-end","end"===Ue.align))},inputs:{align:"align",id:"id"}})}return yt})();const oe=new e.OlP("MatPrefix"),le=new e.OlP("MatSuffix");let Ge=(()=>{class yt{constructor(){this._isText=!1}set _isTextSelector(Ee){this._isText=!0}static#e=this.\u0275fac=function(tt){return new(tt||yt)};static#t=this.\u0275dir=e.lG2({type:yt,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[e._Bn([{provide:le,useExisting:yt}])]})}return yt})();const We=new e.OlP("FloatingLabelParent");let wt=(()=>{class yt{get floating(){return this._floating}set floating(Ee){this._floating=Ee,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(Ee){this._monitorResize=Ee,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(Ee){this._elementRef=Ee,this._floating=!1,this._monitorResize=!1,this._resizeObserver=(0,e.f3M)(B),this._ngZone=(0,e.f3M)(e.R0b),this._parent=(0,e.f3M)(We),this._resizeSubscription=new A.w0}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function mt(yt){if(null!==yt.offsetParent)return yt.scrollWidth;const Ee=yt.cloneNode(!0);Ee.style.setProperty("position","absolute"),Ee.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(Ee);const tt=Ee.scrollWidth;return Ee.remove(),tt}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static#e=this.\u0275fac=function(tt){return new(tt||yt)(e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:yt,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(tt,Ue){2&tt&&e.ekj("mdc-floating-label--float-above",Ue.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return yt})();const kt="mdc-line-ripple--active",Ae="mdc-line-ripple--deactivating";let Be=(()=>{class yt{constructor(Ee,tt){this._elementRef=Ee,this._handleTransitionEnd=Ue=>{const Xe=this._elementRef.nativeElement.classList,gt=Xe.contains(Ae);"opacity"===Ue.propertyName&&gt&&Xe.remove(kt,Ae)},tt.runOutsideAngular(()=>{Ee.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const Ee=this._elementRef.nativeElement.classList;Ee.remove(Ae),Ee.add(kt)}deactivate(){this._elementRef.nativeElement.classList.add(Ae)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static#e=this.\u0275fac=function(tt){return new(tt||yt)(e.Y36(e.SBq),e.Y36(e.R0b))};static#t=this.\u0275dir=e.lG2({type:yt,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return yt})(),it=(()=>{class yt{constructor(Ee,tt){this._elementRef=Ee,this._ngZone=tt,this.open=!1}ngAfterViewInit(){const Ee=this._elementRef.nativeElement.querySelector(".mdc-floating-label");Ee?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(Ee.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>Ee.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(Ee){this._notch.nativeElement.style.width=this.open&&Ee?`calc(${Ee}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}static#e=this.\u0275fac=function(tt){return new(tt||yt)(e.Y36(e.SBq),e.Y36(e.R0b))};static#t=this.\u0275cmp=e.Xpm({type:yt,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(tt,Ue){if(1&tt&&e.Gf(ae,5),2&tt){let Xe;e.iGM(Xe=e.CRH())&&(Ue._notch=Xe.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(tt,Ue){2&tt&&e.ekj("mdc-notched-outline--notched",Ue.open)},inputs:{open:["matFormFieldNotchedOutlineOpen","open"]},attrs:fe,ngContentSelectors:se,decls:5,vars:0,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],["notch",""],[1,"mdc-notched-outline__trailing"]],template:function(tt,Ue){1&tt&&(e.F$t(),e._UZ(0,"div",0),e.TgZ(1,"div",1,2),e.Hsn(3),e.qZA(),e._UZ(4,"div",3))},encapsulation:2,changeDetection:0})}return yt})();const $e={transitionMessages:(0,j.X$)("transitionMessages",[(0,j.SB)("enter",(0,j.oB)({opacity:1,transform:"translateY(0%)"})),(0,j.eR)("void => enter",[(0,j.oB)({opacity:0,transform:"translateY(-5px)"}),(0,j.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let ke=(()=>{class yt{static#e=this.\u0275fac=function(tt){return new(tt||yt)};static#t=this.\u0275dir=e.lG2({type:yt})}return yt})();const ct=new e.OlP("MatFormField"),te=new e.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS");let Pe=0,xt=(()=>{class yt{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(Ee){this._hideRequiredMarker=(0,W.Ig)(Ee)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(Ee){Ee!==this._floatLabel&&(this._floatLabel=Ee,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(Ee){const tt=this._appearance;this._appearance=Ee||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==tt&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(Ee){this._subscriptSizing=Ee||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(Ee){this._hintLabel=Ee,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(Ee){this._explicitFormFieldControl=Ee}constructor(Ee,tt,Ue,Xe,gt,Le,be,J){this._elementRef=Ee,this._changeDetectorRef=tt,this._ngZone=Ue,this._dir=Xe,this._platform=gt,this._defaults=Le,this._animationMode=be,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+Pe++,this._hintLabelId="mat-mdc-hint-"+Pe++,this._subscriptAnimationState="",this._destroyed=new l.x,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,Le&&(Le.appearance&&(this.appearance=Le.appearance),this._hideRequiredMarker=!!Le?.hideRequiredMarker,Le.color&&(this.color=Le.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const Ee=this._control;Ee.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${Ee.controlType}`),Ee.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),Ee.ngControl&&Ee.ngControl.valueChanges&&Ee.ngControl.valueChanges.pipe((0,m.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(Ee=>!Ee._isText),this._hasTextPrefix=!!this._prefixChildren.find(Ee=>Ee._isText),this._hasIconSuffix=!!this._suffixChildren.find(Ee=>!Ee._isText),this._hasTextSuffix=!!this._suffixChildren.find(Ee=>Ee._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,x.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,m.R)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,m.R)(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(Ee){const tt=this._control?this._control.ngControl:null;return tt&&tt[Ee]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let Ee=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&Ee.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const tt=this._hintChildren?this._hintChildren.find(Xe=>"start"===Xe.align):null,Ue=this._hintChildren?this._hintChildren.find(Xe=>"end"===Xe.align):null;tt?Ee.push(tt.id):this._hintLabel&&Ee.push(this._hintLabelId),Ue&&Ee.push(Ue.id)}else this._errorChildren&&Ee.push(...this._errorChildren.map(tt=>tt.id));this._control.setDescribedByIds(Ee)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const Ee=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(Ee.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const tt=this._iconPrefixContainer?.nativeElement,Ue=this._textPrefixContainer?.nativeElement,Xe=tt?.getBoundingClientRect().width??0,gt=Ue?.getBoundingClientRect().width??0;Ee.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${Xe+gt}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const Ee=this._elementRef.nativeElement;if(Ee.getRootNode){const tt=Ee.getRootNode();return tt&&tt!==Ee}return document.documentElement.contains(Ee)}static#e=this.\u0275fac=function(tt){return new(tt||yt)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(e.R0b),e.Y36(t.Is),e.Y36(y.t4),e.Y36(te,8),e.Y36(e.QbO,8),e.Y36(K.K0))};static#t=this.\u0275cmp=e.Xpm({type:yt,selectors:[["mat-form-field"]],contentQueries:function(tt,Ue,Xe){if(1&tt&&(e.Suo(Xe,me,5),e.Suo(Xe,me,7),e.Suo(Xe,ke,5),e.Suo(Xe,oe,5),e.Suo(Xe,le,5),e.Suo(Xe,xe,5),e.Suo(Xe,qe,5)),2&tt){let gt;e.iGM(gt=e.CRH())&&(Ue._labelChildNonStatic=gt.first),e.iGM(gt=e.CRH())&&(Ue._labelChildStatic=gt.first),e.iGM(gt=e.CRH())&&(Ue._formFieldControl=gt.first),e.iGM(gt=e.CRH())&&(Ue._prefixChildren=gt),e.iGM(gt=e.CRH())&&(Ue._suffixChildren=gt),e.iGM(gt=e.CRH())&&(Ue._errorChildren=gt),e.iGM(gt=e.CRH())&&(Ue._hintChildren=gt)}},viewQuery:function(tt,Ue){if(1&tt&&(e.Gf(Me,5),e.Gf($,5),e.Gf(ue,5),e.Gf(wt,5),e.Gf(it,5),e.Gf(Be,5)),2&tt){let Xe;e.iGM(Xe=e.CRH())&&(Ue._textField=Xe.first),e.iGM(Xe=e.CRH())&&(Ue._iconPrefixContainer=Xe.first),e.iGM(Xe=e.CRH())&&(Ue._textPrefixContainer=Xe.first),e.iGM(Xe=e.CRH())&&(Ue._floatingLabel=Xe.first),e.iGM(Xe=e.CRH())&&(Ue._notchedOutline=Xe.first),e.iGM(Xe=e.CRH())&&(Ue._lineRipple=Xe.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(tt,Ue){2&tt&&e.ekj("mat-mdc-form-field-label-always-float",Ue._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",Ue._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",Ue._hasIconSuffix)("mat-form-field-invalid",Ue._control.errorState)("mat-form-field-disabled",Ue._control.disabled)("mat-form-field-autofilled",Ue._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===Ue._animationMode)("mat-form-field-appearance-fill","fill"==Ue.appearance)("mat-form-field-appearance-outline","outline"==Ue.appearance)("mat-form-field-hide-placeholder",Ue._hasFloatingLabel()&&!Ue._shouldLabelFloat())("mat-focused",Ue._control.focused)("mat-primary","accent"!==Ue.color&&"warn"!==Ue.color)("mat-accent","accent"===Ue.color)("mat-warn","warn"===Ue.color)("ng-untouched",Ue._shouldForward("untouched"))("ng-touched",Ue._shouldForward("touched"))("ng-pristine",Ue._shouldForward("pristine"))("ng-dirty",Ue._shouldForward("dirty"))("ng-valid",Ue._shouldForward("valid"))("ng-invalid",Ue._shouldForward("invalid"))("ng-pending",Ue._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[e._Bn([{provide:ct,useExisting:yt},{provide:We,useExisting:yt}])],ngContentSelectors:ye,decls:18,vars:21,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],["class","mat-mdc-form-field-icon-prefix"],["class","mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],["class","mat-mdc-form-field-text-suffix"],["class","mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(tt,Ue){if(1&tt&&(e.F$t(Je),e.YNc(0,s,1,1,"ng-template",null,0,e.W1O),e.TgZ(2,"div",1,2),e.NdJ("click",function(gt){return Ue._control.onContainerClick(gt)}),e.YNc(4,f,1,0,"div",3),e.TgZ(5,"div",4),e.YNc(6,D,2,2,"div",5)(7,O,3,0,"div",6)(8,v,3,0,"div",7),e.TgZ(9,"div",8),e.YNc(10,g,1,1,null,9),e.Hsn(11),e.qZA(),e.YNc(12,H,2,0,"div",10)(13,N,2,0,"div",11),e.qZA(),e.YNc(14,ee,1,0,"div",12),e.qZA(),e.TgZ(15,"div",13),e.YNc(16,De,2,1)(17,je,5,2),e.qZA()),2&tt){let Xe;e.xp6(2),e.ekj("mdc-text-field--filled",!Ue._hasOutline())("mdc-text-field--outlined",Ue._hasOutline())("mdc-text-field--no-label",!Ue._hasFloatingLabel())("mdc-text-field--disabled",Ue._control.disabled)("mdc-text-field--invalid",Ue._control.errorState),e.xp6(2),e.um2(4,Ue._hasOutline()||Ue._control.disabled?-1:4),e.xp6(2),e.um2(6,Ue._hasOutline()?6:-1),e.xp6(1),e.um2(7,Ue._hasIconPrefix?7:-1),e.xp6(1),e.um2(8,Ue._hasTextPrefix?8:-1),e.xp6(2),e.um2(10,!Ue._hasOutline()||Ue._forceDisplayInfixLabel()?10:-1),e.xp6(2),e.um2(12,Ue._hasTextSuffix?12:-1),e.xp6(1),e.um2(13,Ue._hasIconSuffix?13:-1),e.xp6(1),e.um2(14,Ue._hasOutline()?-1:14),e.xp6(1),e.ekj("mat-mdc-form-field-subscript-dynamic-size","dynamic"===Ue.subscriptSizing),e.xp6(1),e.um2(16,"error"===(Xe=Ue._getDisplayedMessages())?16:"hint"===Xe?17:-1)}},dependencies:[K.tP,qe,wt,it,Be],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 96px/0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px*2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color)}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-weight)}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color)}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity)}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color)}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[$e.transitionMessages]},changeDetection:0})}return yt})(),Ot=(()=>{class yt{static#e=this.\u0275fac=function(tt){return new(tt||yt)};static#t=this.\u0275mod=e.oAB({type:yt});static#i=this.\u0275inj=e.cJS({imports:[ie.BQ,K.ez,X.Q8,ie.BQ]})}return yt})()},3176:(ze,q,p)=>{"use strict";p.d(q,{DX:()=>I,Il:()=>$,N6:()=>ue});var e=p(9212),t=p(3680),y=p(2495),A=p(9388);const l=["*"];class d{constructor(){this.columnIndex=0,this.rowIndex=0}get rowCount(){return this.rowIndex+1}get rowspan(){const s=Math.max(...this.tracker);return s>1?this.rowCount+s-1:this.rowCount}update(s,f){this.columnIndex=0,this.rowIndex=0,this.tracker=new Array(s),this.tracker.fill(0,0,this.tracker.length),this.positions=f.map(h=>this._trackTile(h))}_trackTile(s){const f=this._findMatchingGap(s.colspan);return this._markTilePosition(f,s),this.columnIndex=f+s.colspan,new E(this.rowIndex,f)}_findMatchingGap(s){let f=-1,h=-1;do{this.columnIndex+s>this.tracker.length?(this._nextRow(),f=this.tracker.indexOf(0,this.columnIndex),h=this._findGapEndIndex(f)):(f=this.tracker.indexOf(0,this.columnIndex),-1!=f?(h=this._findGapEndIndex(f),this.columnIndex=f+1):(this._nextRow(),f=this.tracker.indexOf(0,this.columnIndex),h=this._findGapEndIndex(f)))}while(h-f<s||0==h);return Math.max(f,0)}_nextRow(){this.columnIndex=0,this.rowIndex++;for(let s=0;s<this.tracker.length;s++)this.tracker[s]=Math.max(0,this.tracker[s]-1)}_findGapEndIndex(s){for(let f=s+1;f<this.tracker.length;f++)if(0!=this.tracker[f])return f;return this.tracker.length}_markTilePosition(s,f){for(let h=0;h<f.colspan;h++)this.tracker[s+h]=f.rowspan}}class E{constructor(s,f){this.row=s,this.col=f}}const M=new e.OlP("MAT_GRID_LIST");let I=(()=>{class n{constructor(f,h){this._element=f,this._gridList=h,this._rowspan=1,this._colspan=1}get rowspan(){return this._rowspan}set rowspan(f){this._rowspan=Math.round((0,y.su)(f))}get colspan(){return this._colspan}set colspan(f){this._colspan=Math.round((0,y.su)(f))}_setStyle(f,h){this._element.nativeElement.style[f]=h}static#e=this.\u0275fac=function(h){return new(h||n)(e.Y36(e.SBq),e.Y36(M,8))};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["mat-grid-tile"]],hostAttrs:[1,"mat-grid-tile"],hostVars:2,hostBindings:function(h,w){2&h&&e.uIk("rowspan",w.rowspan)("colspan",w.colspan)},inputs:{rowspan:"rowspan",colspan:"colspan"},exportAs:["matGridTile"],ngContentSelectors:l,decls:2,vars:0,consts:[[1,"mat-grid-tile-content"]],template:function(h,w){1&h&&(e.F$t(),e.TgZ(0,"div",0),e.Hsn(1),e.qZA())},styles:[".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}.mat-grid-tile-header{font-size:var(--mat-grid-list-tile-header-primary-text-size)}.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-header-secondary-text-size)}.mat-grid-tile-footer{font-size:var(--mat-grid-list-tile-footer-primary-text-size)}.mat-grid-tile-footer .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-footer-secondary-text-size)}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}"],encapsulation:2,changeDetection:0})}return n})();const j=/^-?\d+((\.\d+)?[A-Za-z%$]?)+$/;class K{constructor(){this._rows=0,this._rowspan=0}init(s,f,h,w){this._gutterSize=se(s),this._rows=f.rowCount,this._rowspan=f.rowspan,this._cols=h,this._direction=w}getBaseTileSize(s,f){return`(${s}% - (${this._gutterSize} * ${f}))`}getTilePosition(s,f){return 0===f?"0":fe(`(${s} + ${this._gutterSize}) * ${f}`)}getTileSize(s,f){return`(${s} * ${f}) + (${f-1} * ${this._gutterSize})`}setStyle(s,f,h){let w=100/this._cols,D=(this._cols-1)/this._cols;this.setColStyles(s,h,w,D),this.setRowStyles(s,f,w,D)}setColStyles(s,f,h,w){let D=this.getBaseTileSize(h,w);s._setStyle("rtl"===this._direction?"right":"left",this.getTilePosition(D,f)),s._setStyle("width",fe(this.getTileSize(D,s.colspan)))}getGutterSpan(){return`${this._gutterSize} * (${this._rowspan} - 1)`}getTileSpan(s){return`${this._rowspan} * ${this.getTileSize(s,1)}`}getComputedHeight(){return null}}class X extends K{constructor(s){super(),this.fixedRowHeight=s}init(s,f,h,w){super.init(s,f,h,w),this.fixedRowHeight=se(this.fixedRowHeight),j.test(this.fixedRowHeight)}setRowStyles(s,f){s._setStyle("top",this.getTilePosition(this.fixedRowHeight,f)),s._setStyle("height",fe(this.getTileSize(this.fixedRowHeight,s.rowspan)))}getComputedHeight(){return["height",fe(`${this.getTileSpan(this.fixedRowHeight)} + ${this.getGutterSpan()}`)]}reset(s){s._setListStyle(["height",null]),s._tiles&&s._tiles.forEach(f=>{f._setStyle("top",null),f._setStyle("height",null)})}}class ie extends K{constructor(s){super(),this._parseRatio(s)}setRowStyles(s,f,h,w){this.baseTileHeight=this.getBaseTileSize(h/this.rowHeightRatio,w),s._setStyle("marginTop",this.getTilePosition(this.baseTileHeight,f)),s._setStyle("paddingTop",fe(this.getTileSize(this.baseTileHeight,s.rowspan)))}getComputedHeight(){return["paddingBottom",fe(`${this.getTileSpan(this.baseTileHeight)} + ${this.getGutterSpan()}`)]}reset(s){s._setListStyle(["paddingBottom",null]),s._tiles.forEach(f=>{f._setStyle("marginTop",null),f._setStyle("paddingTop",null)})}_parseRatio(s){const f=s.split(":");this.rowHeightRatio=parseFloat(f[0])/parseFloat(f[1])}}class ae extends K{setRowStyles(s,f){let D=this.getBaseTileSize(100/this._rowspan,(this._rows-1)/this._rows);s._setStyle("top",this.getTilePosition(D,f)),s._setStyle("height",fe(this.getTileSize(D,s.rowspan)))}reset(s){s._tiles&&s._tiles.forEach(f=>{f._setStyle("top",null),f._setStyle("height",null)})}}function fe(n){return`calc(${n})`}function se(n){return n.match(/([A-Za-z%]+)$/)?n:`${n}px`}let $=(()=>{class n{constructor(f,h){this._element=f,this._dir=h,this._gutter="1px"}get cols(){return this._cols}set cols(f){this._cols=Math.max(1,Math.round((0,y.su)(f)))}get gutterSize(){return this._gutter}set gutterSize(f){this._gutter=`${f??""}`}get rowHeight(){return this._rowHeight}set rowHeight(f){const h=`${f??""}`;h!==this._rowHeight&&(this._rowHeight=h,this._setTileStyler(this._rowHeight))}ngOnInit(){this._checkCols(),this._checkRowHeight()}ngAfterContentChecked(){this._layoutTiles()}_checkCols(){}_checkRowHeight(){this._rowHeight||this._setTileStyler("1:1")}_setTileStyler(f){this._tileStyler&&this._tileStyler.reset(this),this._tileStyler="fit"===f?new ae:f&&f.indexOf(":")>-1?new ie(f):new X(f)}_layoutTiles(){this._tileCoordinator||(this._tileCoordinator=new d);const f=this._tileCoordinator,h=this._tiles.filter(D=>!D._gridList||D._gridList===this),w=this._dir?this._dir.value:"ltr";this._tileCoordinator.update(this.cols,h),this._tileStyler.init(this.gutterSize,f,this.cols,w),h.forEach((D,O)=>{const v=f.positions[O];this._tileStyler.setStyle(D,v.row,v.col)}),this._setListStyle(this._tileStyler.getComputedHeight())}_setListStyle(f){f&&(this._element.nativeElement.style[f[0]]=f[1])}static#e=this.\u0275fac=function(h){return new(h||n)(e.Y36(e.SBq),e.Y36(A.Is,8))};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["mat-grid-list"]],contentQueries:function(h,w,D){if(1&h&&e.Suo(D,I,5),2&h){let O;e.iGM(O=e.CRH())&&(w._tiles=O)}},hostAttrs:[1,"mat-grid-list"],hostVars:1,hostBindings:function(h,w){2&h&&e.uIk("cols",w.cols)},inputs:{cols:"cols",gutterSize:"gutterSize",rowHeight:"rowHeight"},exportAs:["matGridList"],features:[e._Bn([{provide:M,useExisting:n}])],ngContentSelectors:l,decls:2,vars:0,template:function(h,w){1&h&&(e.F$t(),e.TgZ(0,"div"),e.Hsn(1),e.qZA())},styles:[".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}.mat-grid-tile-header{font-size:var(--mat-grid-list-tile-header-primary-text-size)}.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-header-secondary-text-size)}.mat-grid-tile-footer{font-size:var(--mat-grid-list-tile-footer-primary-text-size)}.mat-grid-tile-footer .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-footer-secondary-text-size)}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}"],encapsulation:2,changeDetection:0})}return n})(),ue=(()=>{class n{static#e=this.\u0275fac=function(h){return new(h||n)};static#t=this.\u0275mod=e.oAB({type:n});static#i=this.\u0275inj=e.cJS({imports:[t.uc,t.BQ,t.uc,t.BQ]})}return n})()},617:(ze,q,p)=>{"use strict";p.d(q,{Hw:()=>N,Ps:()=>ee});var e=p(9212),t=p(3680),y=p(2495),A=p(6814),l=p(2096),x=p(8504),m=p(9315),P=p(7394),d=p(9397),E=p(7398),M=p(6306),I=p(4716),k=p(3020),V=p(8180),B=p(9862),W=p(6593);const j=["*"];let K;function ie(De){return function X(){if(void 0===K&&(K=null,typeof window<"u")){const De=window;void 0!==De.trustedTypes&&(K=De.trustedTypes.createPolicy("angular#components",{createHTML:ot=>ot}))}return K}()?.createHTML(De)||De}function ae(De){return Error(`Unable to find icon with the name "${De}"`)}function se(De){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${De}".`)}function Me(De){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${De}".`)}class ${constructor(ot,je,Je){this.url=ot,this.svgText=je,this.options=Je}}let ue=(()=>{class De{constructor(je,Je,ye,me){this._httpClient=je,this._sanitizer=Je,this._errorHandler=me,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=ye}addSvgIcon(je,Je,ye){return this.addSvgIconInNamespace("",je,Je,ye)}addSvgIconLiteral(je,Je,ye){return this.addSvgIconLiteralInNamespace("",je,Je,ye)}addSvgIconInNamespace(je,Je,ye,me){return this._addSvgIconConfig(je,Je,new $(ye,null,me))}addSvgIconResolver(je){return this._resolvers.push(je),this}addSvgIconLiteralInNamespace(je,Je,ye,me){const he=this._sanitizer.sanitize(e.q3G.HTML,ye);if(!he)throw Me(ye);const xe=ie(he);return this._addSvgIconConfig(je,Je,new $("",xe,me))}addSvgIconSet(je,Je){return this.addSvgIconSetInNamespace("",je,Je)}addSvgIconSetLiteral(je,Je){return this.addSvgIconSetLiteralInNamespace("",je,Je)}addSvgIconSetInNamespace(je,Je,ye){return this._addSvgIconSetConfig(je,new $(Je,null,ye))}addSvgIconSetLiteralInNamespace(je,Je,ye){const me=this._sanitizer.sanitize(e.q3G.HTML,Je);if(!me)throw Me(Je);const he=ie(me);return this._addSvgIconSetConfig(je,new $("",he,ye))}registerFontClassAlias(je,Je=je){return this._fontCssClassesByAlias.set(je,Je),this}classNameForFontAlias(je){return this._fontCssClassesByAlias.get(je)||je}setDefaultFontSetClass(...je){return this._defaultFontSetClass=je,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(je){const Je=this._sanitizer.sanitize(e.q3G.RESOURCE_URL,je);if(!Je)throw se(je);const ye=this._cachedIconsByUrl.get(Je);return ye?(0,l.of)(s(ye)):this._loadSvgIconFromConfig(new $(je,null)).pipe((0,d.b)(me=>this._cachedIconsByUrl.set(Je,me)),(0,E.U)(me=>s(me)))}getNamedSvgIcon(je,Je=""){const ye=f(Je,je);let me=this._svgIconConfigs.get(ye);if(me)return this._getSvgFromConfig(me);if(me=this._getIconConfigFromResolvers(Je,je),me)return this._svgIconConfigs.set(ye,me),this._getSvgFromConfig(me);const he=this._iconSetConfigs.get(Je);return he?this._getSvgFromIconSetConfigs(je,he):(0,x._)(ae(ye))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(je){return je.svgText?(0,l.of)(s(this._svgElementFromConfig(je))):this._loadSvgIconFromConfig(je).pipe((0,E.U)(Je=>s(Je)))}_getSvgFromIconSetConfigs(je,Je){const ye=this._extractIconWithNameFromAnySet(je,Je);if(ye)return(0,l.of)(ye);const me=Je.filter(he=>!he.svgText).map(he=>this._loadSvgIconSetFromConfig(he).pipe((0,M.K)(xe=>{const ge=`Loading icon set URL: ${this._sanitizer.sanitize(e.q3G.RESOURCE_URL,he.url)} failed: ${xe.message}`;return this._errorHandler.handleError(new Error(ge)),(0,l.of)(null)})));return(0,m.D)(me).pipe((0,E.U)(()=>{const he=this._extractIconWithNameFromAnySet(je,Je);if(!he)throw ae(je);return he}))}_extractIconWithNameFromAnySet(je,Je){for(let ye=Je.length-1;ye>=0;ye--){const me=Je[ye];if(me.svgText&&me.svgText.toString().indexOf(je)>-1){const he=this._svgElementFromConfig(me),xe=this._extractSvgIconFromSet(he,je,me.options);if(xe)return xe}}return null}_loadSvgIconFromConfig(je){return this._fetchIcon(je).pipe((0,d.b)(Je=>je.svgText=Je),(0,E.U)(()=>this._svgElementFromConfig(je)))}_loadSvgIconSetFromConfig(je){return je.svgText?(0,l.of)(null):this._fetchIcon(je).pipe((0,d.b)(Je=>je.svgText=Je))}_extractSvgIconFromSet(je,Je,ye){const me=je.querySelector(`[id="${Je}"]`);if(!me)return null;const he=me.cloneNode(!0);if(he.removeAttribute("id"),"svg"===he.nodeName.toLowerCase())return this._setSvgAttributes(he,ye);if("symbol"===he.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(he),ye);const xe=this._svgElementFromString(ie("<svg></svg>"));return xe.appendChild(he),this._setSvgAttributes(xe,ye)}_svgElementFromString(je){const Je=this._document.createElement("DIV");Je.innerHTML=je;const ye=Je.querySelector("svg");if(!ye)throw Error("<svg> tag not found");return ye}_toSvgElement(je){const Je=this._svgElementFromString(ie("<svg></svg>")),ye=je.attributes;for(let me=0;me<ye.length;me++){const{name:he,value:xe}=ye[me];"id"!==he&&Je.setAttribute(he,xe)}for(let me=0;me<je.childNodes.length;me++)je.childNodes[me].nodeType===this._document.ELEMENT_NODE&&Je.appendChild(je.childNodes[me].cloneNode(!0));return Je}_setSvgAttributes(je,Je){return je.setAttribute("fit",""),je.setAttribute("height","100%"),je.setAttribute("width","100%"),je.setAttribute("preserveAspectRatio","xMidYMid meet"),je.setAttribute("focusable","false"),Je&&Je.viewBox&&je.setAttribute("viewBox",Je.viewBox),je}_fetchIcon(je){const{url:Je,options:ye}=je,me=ye?.withCredentials??!1;if(!this._httpClient)throw function fe(){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==Je)throw Error(`Cannot fetch icon from URL "${Je}".`);const he=this._sanitizer.sanitize(e.q3G.RESOURCE_URL,Je);if(!he)throw se(Je);const xe=this._inProgressUrlFetches.get(he);if(xe)return xe;const de=this._httpClient.get(he,{responseType:"text",withCredentials:me}).pipe((0,E.U)(ge=>ie(ge)),(0,I.x)(()=>this._inProgressUrlFetches.delete(he)),(0,k.B)());return this._inProgressUrlFetches.set(he,de),de}_addSvgIconConfig(je,Je,ye){return this._svgIconConfigs.set(f(je,Je),ye),this}_addSvgIconSetConfig(je,Je){const ye=this._iconSetConfigs.get(je);return ye?ye.push(Je):this._iconSetConfigs.set(je,[Je]),this}_svgElementFromConfig(je){if(!je.svgElement){const Je=this._svgElementFromString(je.svgText);this._setSvgAttributes(Je,je.options),je.svgElement=Je}return je.svgElement}_getIconConfigFromResolvers(je,Je){for(let ye=0;ye<this._resolvers.length;ye++){const me=this._resolvers[ye](Je,je);if(me)return h(me)?new $(me.url,null,me.options):new $(me,null)}}static#e=this.\u0275fac=function(Je){return new(Je||De)(e.LFG(B.eN,8),e.LFG(W.H7),e.LFG(A.K0,8),e.LFG(e.qLn))};static#t=this.\u0275prov=e.Yz7({token:De,factory:De.\u0275fac,providedIn:"root"})}return De})();function s(De){return De.cloneNode(!0)}function f(De,ot){return De+":"+ot}function h(De){return!(!De.url||!De.options)}const w=(0,t.pj)(class{constructor(De){this._elementRef=De}}),D=new e.OlP("MAT_ICON_DEFAULT_OPTIONS"),O=new e.OlP("mat-icon-location",{providedIn:"root",factory:function v(){const De=(0,e.f3M)(A.K0),ot=De?De.location:null;return{getPathname:()=>ot?ot.pathname+ot.search:""}}}),r=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],g=r.map(De=>`[${De}]`).join(", "),H=/^url\(['"]?#(.*?)['"]?\)$/;let N=(()=>{class De extends w{get inline(){return this._inline}set inline(je){this._inline=(0,y.Ig)(je)}get svgIcon(){return this._svgIcon}set svgIcon(je){je!==this._svgIcon&&(je?this._updateSvgIcon(je):this._svgIcon&&this._clearSvgElement(),this._svgIcon=je)}get fontSet(){return this._fontSet}set fontSet(je){const Je=this._cleanupFontValue(je);Je!==this._fontSet&&(this._fontSet=Je,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(je){const Je=this._cleanupFontValue(je);Je!==this._fontIcon&&(this._fontIcon=Je,this._updateFontIconClasses())}constructor(je,Je,ye,me,he,xe){super(je),this._iconRegistry=Je,this._location=me,this._errorHandler=he,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=P.w0.EMPTY,xe&&(xe.color&&(this.color=this.defaultColor=xe.color),xe.fontSet&&(this.fontSet=xe.fontSet)),ye||je.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(je){if(!je)return["",""];const Je=je.split(":");switch(Je.length){case 1:return["",Je[0]];case 2:return Je;default:throw Error(`Invalid icon name: "${je}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const je=this._elementsWithExternalReferences;if(je&&je.size){const Je=this._location.getPathname();Je!==this._previousPath&&(this._previousPath=Je,this._prependPathToReferences(Je))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(je){this._clearSvgElement();const Je=this._location.getPathname();this._previousPath=Je,this._cacheChildrenWithExternalReferences(je),this._prependPathToReferences(Je),this._elementRef.nativeElement.appendChild(je)}_clearSvgElement(){const je=this._elementRef.nativeElement;let Je=je.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();Je--;){const ye=je.childNodes[Je];(1!==ye.nodeType||"svg"===ye.nodeName.toLowerCase())&&ye.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const je=this._elementRef.nativeElement,Je=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(ye=>ye.length>0);this._previousFontSetClass.forEach(ye=>je.classList.remove(ye)),Je.forEach(ye=>je.classList.add(ye)),this._previousFontSetClass=Je,this.fontIcon!==this._previousFontIconClass&&!Je.includes("mat-ligature-font")&&(this._previousFontIconClass&&je.classList.remove(this._previousFontIconClass),this.fontIcon&&je.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(je){return"string"==typeof je?je.trim().split(" ")[0]:je}_prependPathToReferences(je){const Je=this._elementsWithExternalReferences;Je&&Je.forEach((ye,me)=>{ye.forEach(he=>{me.setAttribute(he.name,`url('${je}#${he.value}')`)})})}_cacheChildrenWithExternalReferences(je){const Je=je.querySelectorAll(g),ye=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let me=0;me<Je.length;me++)r.forEach(he=>{const xe=Je[me],de=xe.getAttribute(he),ge=de?de.match(H):null;if(ge){let qe=ye.get(xe);qe||(qe=[],ye.set(xe,qe)),qe.push({name:he,value:ge[1]})}})}_updateSvgIcon(je){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),je){const[Je,ye]=this._splitIconName(je);Je&&(this._svgNamespace=Je),ye&&(this._svgName=ye),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(ye,Je).pipe((0,V.q)(1)).subscribe(me=>this._setSvgElement(me),me=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${Je}:${ye}! ${me.message}`))})}}static#e=this.\u0275fac=function(Je){return new(Je||De)(e.Y36(e.SBq),e.Y36(ue),e.$8M("aria-hidden"),e.Y36(O),e.Y36(e.qLn),e.Y36(D,8))};static#t=this.\u0275cmp=e.Xpm({type:De,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(Je,ye){2&Je&&(e.uIk("data-mat-icon-type",ye._usingFontIcon()?"font":"svg")("data-mat-icon-name",ye._svgName||ye.fontIcon)("data-mat-icon-namespace",ye._svgNamespace||ye.fontSet)("fontIcon",ye._usingFontIcon()?ye.fontIcon:null),e.ekj("mat-icon-inline",ye.inline)("mat-icon-no-color","primary"!==ye.color&&"accent"!==ye.color&&"warn"!==ye.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[e.qOj],ngContentSelectors:j,decls:1,vars:0,template:function(Je,ye){1&Je&&(e.F$t(),e.Hsn(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0})}return De})(),ee=(()=>{class De{static#e=this.\u0275fac=function(Je){return new(Je||De)};static#t=this.\u0275mod=e.oAB({type:De});static#i=this.\u0275inj=e.cJS({imports:[t.BQ,t.BQ]})}return De})()},2032:(ze,q,p)=>{"use strict";p.d(q,{Jk:()=>B,Nt:()=>X,c:()=>ie});var e=p(2495),t=p(2831),y=p(9212),A=p(6232),l=p(8645);const x=(0,t.i$)({passive:!0});let m=(()=>{class ae{constructor(se,Me){this._platform=se,this._ngZone=Me,this._monitoredElements=new Map}monitor(se){if(!this._platform.isBrowser)return A.E;const Me=(0,e.fI)(se),$=this._monitoredElements.get(Me);if($)return $.subject;const ue=new l.x,S="cdk-text-field-autofilled",n=s=>{"cdk-text-field-autofill-start"!==s.animationName||Me.classList.contains(S)?"cdk-text-field-autofill-end"===s.animationName&&Me.classList.contains(S)&&(Me.classList.remove(S),this._ngZone.run(()=>ue.next({target:s.target,isAutofilled:!1}))):(Me.classList.add(S),this._ngZone.run(()=>ue.next({target:s.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{Me.addEventListener("animationstart",n,x),Me.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(Me,{subject:ue,unlisten:()=>{Me.removeEventListener("animationstart",n,x)}}),ue}stopMonitoring(se){const Me=(0,e.fI)(se),$=this._monitoredElements.get(Me);$&&($.unlisten(),$.subject.complete(),Me.classList.remove("cdk-text-field-autofill-monitored"),Me.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(Me))}ngOnDestroy(){this._monitoredElements.forEach((se,Me)=>this.stopMonitoring(Me))}static#e=this.\u0275fac=function(Me){return new(Me||ae)(y.LFG(t.t4),y.LFG(y.R0b))};static#t=this.\u0275prov=y.Yz7({token:ae,factory:ae.\u0275fac,providedIn:"root"})}return ae})(),E=(()=>{class ae{static#e=this.\u0275fac=function(Me){return new(Me||ae)};static#t=this.\u0275mod=y.oAB({type:ae});static#i=this.\u0275inj=y.cJS({})}return ae})();var M=p(6223),I=p(3680),k=p(5683);const B=new y.OlP("MAT_INPUT_VALUE_ACCESSOR"),W=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let j=0;const K=(0,I.FD)(class{constructor(ae,fe,se,Me){this._defaultErrorStateMatcher=ae,this._parentForm=fe,this._parentFormGroup=se,this.ngControl=Me,this.stateChanges=new l.x}});let X=(()=>{class ae extends K{get disabled(){return this._disabled}set disabled(se){this._disabled=(0,e.Ig)(se),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(se){this._id=se||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(M.kI.required)??!1}set required(se){this._required=(0,e.Ig)(se)}get type(){return this._type}set type(se){this._type=se||"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(se){se!==this.value&&(this._inputValueAccessor.value=se,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(se){this._readonly=(0,e.Ig)(se)}constructor(se,Me,$,ue,S,n,s,f,h,w){super(n,ue,S,$),this._elementRef=se,this._platform=Me,this._autofillMonitor=f,this._formField=w,this._uid="mat-input-"+j++,this.focused=!1,this.stateChanges=new l.x,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(v=>(0,t.qK)().has(v)),this._iOSKeyupListener=v=>{const r=v.target;!r.value&&0===r.selectionStart&&0===r.selectionEnd&&(r.setSelectionRange(1,1),r.setSelectionRange(0,0))};const D=this._elementRef.nativeElement,O=D.nodeName.toLowerCase();this._inputValueAccessor=s||D,this._previousNativeValue=this.value,this.id=this.id,Me.IOS&&h.runOutsideAngular(()=>{se.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===O,this._isTextarea="textarea"===O,this._isInFormField=!!w,this._isNativeSelect&&(this.controlType=D.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(se=>{this.autofilled=se.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(se){this._elementRef.nativeElement.focus(se)}_focusChanged(se){se!==this.focused&&(this.focused=se,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const se=this._elementRef.nativeElement.value;this._previousNativeValue!==se&&(this._previousNativeValue=se,this.stateChanges.next())}_dirtyCheckPlaceholder(){const se=this._getPlaceholder();if(se!==this._previousPlaceholder){const Me=this._elementRef.nativeElement;this._previousPlaceholder=se,se?Me.setAttribute("placeholder",se):Me.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){W.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let se=this._elementRef.nativeElement.validity;return se&&se.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const se=this._elementRef.nativeElement,Me=se.options[0];return this.focused||se.multiple||!this.empty||!!(se.selectedIndex>-1&&Me&&Me.label)}return this.focused||!this.empty}setDescribedByIds(se){se.length?this._elementRef.nativeElement.setAttribute("aria-describedby",se.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const se=this._elementRef.nativeElement;return this._isNativeSelect&&(se.multiple||se.size>1)}static#e=this.\u0275fac=function(Me){return new(Me||ae)(y.Y36(y.SBq),y.Y36(t.t4),y.Y36(M.a5,10),y.Y36(M.F,8),y.Y36(M.sg,8),y.Y36(I.rD),y.Y36(B,10),y.Y36(m),y.Y36(y.R0b),y.Y36(k.G_,8))};static#t=this.\u0275dir=y.lG2({type:ae,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(Me,$){1&Me&&y.NdJ("focus",function(){return $._focusChanged(!0)})("blur",function(){return $._focusChanged(!1)})("input",function(){return $._onInput()}),2&Me&&(y.Ikx("id",$.id)("disabled",$.disabled)("required",$.required),y.uIk("name",$.name||null)("readonly",$.readonly&&!$._isNativeSelect||null)("aria-invalid",$.empty&&$.required?null:$.errorState)("aria-required",$.required)("id",$.id),y.ekj("mat-input-server",$._isServer)("mat-mdc-form-field-textarea-control",$._isInFormField&&$._isTextarea)("mat-mdc-form-field-input-control",$._isInFormField)("mdc-text-field__input",$._isInFormField)("mat-mdc-native-select-inline",$._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[y._Bn([{provide:k.Eo,useExisting:ae}]),y.qOj,y.TTD]})}return ae})(),ie=(()=>{class ae{static#e=this.\u0275fac=function(Me){return new(Me||ae)};static#t=this.\u0275mod=y.oAB({type:ae});static#i=this.\u0275inj=y.cJS({imports:[I.BQ,k.lN,k.lN,E,I.BQ]})}return ae})()},9038:(ze,q,p)=>{"use strict";p.d(q,{Tg:()=>ve,i$:()=>oe,ie:()=>it});var e=p(9212),t=p(2495),y=p(2831),A=p(3680),l=p(7394),x=p(3019),P=(p(8645),p(7131)),d=p(6814),E=p(6385);p(4300),p(8337),p(6028),p(6223),p(9773);const W=["*"],K=["unscopedContent"],X=["text"],ie=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],ae=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"],N=new e.OlP("ListOption");let ee=(()=>{class $e{constructor(st){this._elementRef=st}static#e=this.\u0275fac=function(Ke){return new(Ke||$e)(e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:$e,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"]})}return $e})(),De=(()=>{class $e{constructor(st){this._elementRef=st}static#e=this.\u0275fac=function(Ke){return new(Ke||$e)(e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:$e,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"]})}return $e})(),ot=(()=>{class $e{static#e=this.\u0275fac=function(Ke){return new(Ke||$e)};static#t=this.\u0275dir=e.lG2({type:$e,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"]})}return $e})(),je=(()=>{class $e{constructor(st){this._listOption=st}_isAlignedAtStart(){return!this._listOption||"after"===this._listOption?._getTogglePosition()}static#e=this.\u0275fac=function(Ke){return new(Ke||$e)(e.Y36(N,8))};static#t=this.\u0275dir=e.lG2({type:$e,hostVars:4,hostBindings:function(Ke,Et){2&Ke&&e.ekj("mdc-list-item__start",Et._isAlignedAtStart())("mdc-list-item__end",!Et._isAlignedAtStart())}})}return $e})(),Je=(()=>{class $e extends je{static#e=this.\u0275fac=(()=>{let st;return function(Et){return(st||(st=e.n5z($e)))(Et||$e)}})();static#t=this.\u0275dir=e.lG2({type:$e,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],features:[e.qOj]})}return $e})(),ye=(()=>{class $e extends je{static#e=this.\u0275fac=(()=>{let st;return function(Et){return(st||(st=e.n5z($e)))(Et||$e)}})();static#t=this.\u0275dir=e.lG2({type:$e,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],features:[e.qOj]})}return $e})();const me=new e.OlP("MAT_LIST_CONFIG");let he=(()=>{class $e{constructor(){this._isNonInteractive=!0,this._disableRipple=!1,this._disabled=!1,this._defaultOptions=(0,e.f3M)(me,{optional:!0})}get disableRipple(){return this._disableRipple}set disableRipple(st){this._disableRipple=(0,t.Ig)(st)}get disabled(){return this._disabled}set disabled(st){this._disabled=(0,t.Ig)(st)}static#e=this.\u0275fac=function(Ke){return new(Ke||$e)};static#t=this.\u0275dir=e.lG2({type:$e,hostVars:1,hostBindings:function(Ke,Et){2&Ke&&e.uIk("aria-disabled",Et.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"}})}return $e})(),xe=(()=>{class $e{set lines(st){this._explicitLines=(0,t.su)(st,null),this._updateItemLines(!1)}get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(st){this._disableRipple=(0,t.Ig)(st)}get disabled(){return this._disabled||!!this._listBase?.disabled}set disabled(st){this._disabled=(0,t.Ig)(st)}get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}constructor(st,Ke,Et,ct,te,Pe){this._elementRef=st,this._ngZone=Ke,this._listBase=Et,this._platform=ct,this._explicitLines=null,this._disableRipple=!1,this._disabled=!1,this._subscriptions=new l.w0,this._rippleRenderer=null,this._hasUnscopedTextContent=!1,this.rippleConfig=te||{},this._hostElement=this._elementRef.nativeElement,this._isButtonElement="button"===this._hostElement.nodeName.toLowerCase(),this._noopAnimations="NoopAnimations"===Pe,Et&&!Et._isNonInteractive&&this._initInteractiveListItem(),this._isButtonElement&&!this._hostElement.hasAttribute("type")&&this._hostElement.setAttribute("type","button")}ngAfterViewInit(){this._monitorProjectedLinesAndTitle(),this._updateItemLines(!0)}ngOnDestroy(){this._subscriptions.unsubscribe(),null!==this._rippleRenderer&&this._rippleRenderer._removeTriggerEvents()}_hasIconOrAvatar(){return!(!this._avatars.length&&!this._icons.length)}_initInteractiveListItem(){this._hostElement.classList.add("mat-mdc-list-item-interactive"),this._rippleRenderer=new A.IR(this,this._ngZone,this._hostElement,this._platform),this._rippleRenderer.setupTriggerEvents(this._hostElement)}_monitorProjectedLinesAndTitle(){this._ngZone.runOutsideAngular(()=>{this._subscriptions.add((0,x.T)(this._lines.changes,this._titles.changes).subscribe(()=>this._updateItemLines(!1)))})}_updateItemLines(st){if(!this._lines||!this._titles||!this._unscopedContent)return;st&&this._checkDomForUnscopedTextContent();const Ke=this._explicitLines??this._inferLinesFromContent(),Et=this._unscopedContent.nativeElement;if(this._hostElement.classList.toggle("mat-mdc-list-item-single-line",Ke<=1),this._hostElement.classList.toggle("mdc-list-item--with-one-line",Ke<=1),this._hostElement.classList.toggle("mdc-list-item--with-two-lines",2===Ke),this._hostElement.classList.toggle("mdc-list-item--with-three-lines",3===Ke),this._hasUnscopedTextContent){const ct=0===this._titles.length&&1===Ke;Et.classList.toggle("mdc-list-item__primary-text",ct),Et.classList.toggle("mdc-list-item__secondary-text",!ct)}else Et.classList.remove("mdc-list-item__primary-text"),Et.classList.remove("mdc-list-item__secondary-text")}_inferLinesFromContent(){let st=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&(st+=1),st}_checkDomForUnscopedTextContent(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(st=>st.nodeType!==st.COMMENT_NODE).some(st=>!(!st.textContent||!st.textContent.trim()))}static#e=this.\u0275fac=function(Ke){return new(Ke||$e)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(he,8),e.Y36(y.t4),e.Y36(A.Y2,8),e.Y36(e.QbO,8))};static#t=this.\u0275dir=e.lG2({type:$e,contentQueries:function(Ke,Et,ct){if(1&Ke&&(e.Suo(ct,Je,4),e.Suo(ct,ye,4)),2&Ke){let te;e.iGM(te=e.CRH())&&(Et._avatars=te),e.iGM(te=e.CRH())&&(Et._icons=te)}},hostVars:4,hostBindings:function(Ke,Et){2&Ke&&(e.uIk("aria-disabled",Et.disabled)("disabled",Et._isButtonElement&&Et.disabled||null),e.ekj("mdc-list-item--disabled",Et.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"}})}return $e})(),oe=(()=>{class $e extends he{static#e=this.\u0275fac=(()=>{let st;return function(Et){return(st||(st=e.n5z($e)))(Et||$e)}})();static#t=this.\u0275cmp=e.Xpm({type:$e,selectors:[["mat-list"]],hostAttrs:[1,"mat-mdc-list","mat-mdc-list-base","mdc-list"],exportAs:["matList"],features:[e._Bn([{provide:he,useExisting:$e}]),e.qOj],ngContentSelectors:W,decls:1,vars:0,template:function(Ke,Et){1&Ke&&(e.F$t(),e.Hsn(0))},styles:['@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-list-divider::after{content:"";display:block;border-bottom-width:1px;border-bottom-style:solid}}.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item__wrapper{display:block}.mdc-list-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer}.mdc-list-item:focus{outline:none}.mdc-list-item.mdc-list-item--with-one-line{height:48px}.mdc-list-item.mdc-list-item--with-two-lines{height:64px}.mdc-list-item.mdc-list-item--with-three-lines{height:88px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--disabled,.mdc-list-item.mdc-list-item--non-interactive{cursor:auto}.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px double rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected:focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected:focus::before{border-color:CanvasText}}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__content[for]{pointer-events:none}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item__overline-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start,.mdc-list-item--with-leading-avatar .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-avatar .mdc-list-item__start{border-radius:50%}.mdc-list-item--with-leading-icon.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-leading-icon .mdc-list-item__start[dir=rtl]{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-thumbnail.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-thumbnail.mdc-list-item,.mdc-list-item--with-leading-thumbnail.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-thumbnail .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-thumbnail .mdc-list-item__start,.mdc-list-item--with-leading-thumbnail .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-image.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-image.mdc-list-item,.mdc-list-item--with-leading-image.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-image .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-image .mdc-list-item__start,.mdc-list-item--with-leading-image .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-video.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-video.mdc-list-item,.mdc-list-item--with-leading-video.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-video .mdc-list-item__start{margin-left:0;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-video .mdc-list-item__start,.mdc-list-item--with-leading-video .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-checkbox.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-radio.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-radio.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-radio .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-radio .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-switch.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-switch.mdc-list-item,.mdc-list-item--with-leading-switch.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-switch .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-switch .mdc-list-item__start,.mdc-list-item--with-leading-switch .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item,.mdc-list-item--with-trailing-icon.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-icon .mdc-list-item__end,.mdc-list-item--with-trailing-icon .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item,.mdc-list-item--with-trailing-meta.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-trailing-meta .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);line-height:var(--mdc-typography-caption-line-height);font-weight:var(--mdc-typography-caption-font-weight);letter-spacing:var(--mdc-typography-caption-letter-spacing);text-decoration:var(--mdc-typography-caption-text-decoration);text-transform:var(--mdc-typography-caption-text-transform)}.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-radio.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-radio .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-radio .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-switch.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-switch.mdc-list-item,.mdc-list-item--with-trailing-switch.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-switch .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-switch .mdc-list-item__end,.mdc-list-item--with-trailing-switch .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-switch.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item{padding-left:16px;padding-right:16px}[dir=rtl] .mdc-list-item,.mdc-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-list-group .mdc-deprecated-list{padding:0}.mdc-list-group__subheader{margin:calc((3rem - 1.5rem)/2) 16px}.mdc-list-divider{padding:0;background-clip:content-box}.mdc-list-divider.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset{padding-left:16px;padding-right:auto}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset,.mdc-list-divider.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:16px}.mdc-list-divider.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset{padding-left:auto;padding-right:16px}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset,.mdc-list-divider.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset[dir=rtl]{padding-left:16px;padding-right:auto}.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset{padding-left:0px;padding-right:auto}[dir=rtl] .mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:0px}[dir=rtl] .mdc-list-divider,.mdc-list-divider[dir=rtl]{padding:0}.mdc-list-item{background-color:var(--mdc-list-list-item-container-color)}.mdc-list-item.mdc-list-item--selected{background-color:var(--mdc-list-list-item-selected-container-color)}.mdc-list-item--with-one-line{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-avatar,.mdc-list-item--with-one-line.mdc-list-item--with-leading-icon,.mdc-list-item--with-one-line.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-one-line.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-one-line.mdc-list-item--with-leading-radio,.mdc-list-item--with-one-line.mdc-list-item--with-leading-switch{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-image,.mdc-list-item--with-one-line.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines.mdc-list-item--with-leading-avatar,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-icon,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-radio,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-switch,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-image,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-three-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mdc-list-list-item-one-line-container-height)}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mdc-list-list-item-two-line-container-height)}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mdc-list-list-item-three-line-container-height)}.mdc-list-item__primary-text{color:var(--mdc-list-list-item-label-text-color)}.mdc-list-item__primary-text{font-family:var(--mdc-list-list-item-label-text-font);line-height:var(--mdc-list-list-item-label-text-line-height);font-size:var(--mdc-list-list-item-label-text-size);font-weight:var(--mdc-list-list-item-label-text-weight);letter-spacing:var(--mdc-list-list-item-label-text-tracking)}.mdc-list-item__secondary-text{color:var(--mdc-list-list-item-supporting-text-color)}.mdc-list-item__secondary-text{font-family:var(--mdc-list-list-item-supporting-text-font);line-height:var(--mdc-list-list-item-supporting-text-line-height);font-size:var(--mdc-list-list-item-supporting-text-size);font-weight:var(--mdc-list-list-item-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-supporting-text-tracking)}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-leading-icon-color)}.mdc-list-item--with-leading-icon .mdc-list-item__start{width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start>i{font-size:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon{font-size:var(--mdc-list-list-item-leading-icon-size);width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon,.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mdc-list-list-item-leading-avatar-size);height:var(--mdc-list-list-item-leading-avatar-size)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-supporting-text-color)}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mdc-list-list-item-trailing-supporting-text-font);line-height:var(--mdc-list-list-item-trailing-supporting-text-line-height);font-size:var(--mdc-list-list-item-trailing-supporting-text-size);font-weight:var(--mdc-list-list-item-trailing-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-trailing-supporting-text-tracking)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-icon-color)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end>i{font-size:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon{font-size:var(--mdc-list-list-item-trailing-icon-size);width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon,.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-selected-trailing-icon-color)}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text,.mdc-list-item--disabled .mdc-list-item__overline-text{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-disabled-leading-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{opacity:var(--mdc-list-list-item-disabled-leading-icon-opacity)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-disabled-trailing-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{opacity:var(--mdc-list-list-item-disabled-trailing-icon-opacity)}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mdc-list-list-item-hover-label-text-color)}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mdc-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mdc-list-list-item-hover-trailing-icon-color)}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mdc-list-list-item-focus-label-text-color)}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mdc-list-list-item-disabled-label-text-color)}.mdc-list-item:hover::before{background-color:var(--mdc-list-list-item-hover-state-layer-color);opacity:var(--mdc-list-list-item-hover-state-layer-opacity)}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mdc-list-list-item-disabled-state-layer-color);opacity:var(--mdc-list-list-item-disabled-state-layer-opacity)}.mdc-list-item:focus::before{background-color:var(--mdc-list-list-item-focus-state-layer-color);opacity:var(--mdc-list-list-item-focus-state-layer-opacity)}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mdc-list-list-item-leading-avatar-shape);background-color:var(--mdc-list-list-item-leading-avatar-color)}.cdk-high-contrast-active a.mdc-list-item--activated::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:"";opacity:0;pointer-events:none}.mat-mdc-list-item>.mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-mdc-focus-indicator::before{content:""}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}'],encapsulation:2,changeDetection:0})}return $e})(),ve=(()=>{class $e extends xe{get activated(){return this._activated}set activated(st){this._activated=(0,t.Ig)(st)}constructor(st,Ke,Et,ct,te,Pe){super(st,Ke,Et,ct,te,Pe),this._activated=!1}_getAriaCurrent(){return"A"===this._hostElement.nodeName&&this._activated?"page":null}static#e=this.\u0275fac=function(Ke){return new(Ke||$e)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(he,8),e.Y36(y.t4),e.Y36(A.Y2,8),e.Y36(e.QbO,8))};static#t=this.\u0275cmp=e.Xpm({type:$e,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(Ke,Et,ct){if(1&Ke&&(e.Suo(ct,De,5),e.Suo(ct,ee,5),e.Suo(ct,ot,5)),2&Ke){let te;e.iGM(te=e.CRH())&&(Et._lines=te),e.iGM(te=e.CRH())&&(Et._titles=te),e.iGM(te=e.CRH())&&(Et._meta=te)}},viewQuery:function(Ke,Et){if(1&Ke&&(e.Gf(K,5),e.Gf(X,5)),2&Ke){let ct;e.iGM(ct=e.CRH())&&(Et._unscopedContent=ct.first),e.iGM(ct=e.CRH())&&(Et._itemText=ct.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:11,hostBindings:function(Ke,Et){2&Ke&&(e.uIk("aria-current",Et._getAriaCurrent()),e.ekj("mdc-list-item--activated",Et.activated)("mdc-list-item--with-leading-avatar",0!==Et._avatars.length)("mdc-list-item--with-leading-icon",0!==Et._icons.length)("mdc-list-item--with-trailing-meta",0!==Et._meta.length)("_mat-animation-noopable",Et._noopAnimations))},inputs:{activated:"activated"},exportAs:["matListItem"],features:[e.qOj],ngContentSelectors:ae,decls:10,vars:0,consts:[[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],["unscopedContent",""],[1,"mat-mdc-focus-indicator"]],template:function(Ke,Et){1&Ke&&(e.F$t(ie),e.Hsn(0),e.TgZ(1,"span",0),e.Hsn(2,1),e.Hsn(3,2),e.TgZ(4,"span",1,2),e.NdJ("cdkObserveContent",function(){return Et._updateItemLines(!0)}),e.Hsn(6,3),e.qZA()(),e.Hsn(7,4),e.Hsn(8,5),e._UZ(9,"div",3))},dependencies:[P.wD],encapsulation:2,changeDetection:0})}return $e})(),it=(()=>{class $e{static#e=this.\u0275fac=function(Ke){return new(Ke||$e)};static#t=this.\u0275mod=e.oAB({type:$e});static#i=this.\u0275inj=e.cJS({imports:[P.Q8,d.ez,A.BQ,A.si,A.us,E.t]})}return $e})()},7988:(ze,q,p)=>{"use strict";p.d(q,{OP:()=>f,Tx:()=>de,VK:()=>ot,p6:()=>xe});var e=p(9212),t=p(4300),y=p(6028),A=p(8645),l=p(3019),x=p(7394),m=p(2096),P=p(6410),d=p(7921),E=p(4664),M=p(8180),I=p(9773),k=p(2181),V=p(932),B=p(6814),W=p(3680),j=p(8484),K=p(6825),X=p(9388),ie=p(3651),ae=p(2831),fe=p(5407);const se=["mat-menu-item",""];function Me(ge,qe){1&ge&&(e.O4$(),e.TgZ(0,"svg",3),e._UZ(1,"polygon",4),e.qZA())}const $=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],ue=["mat-icon, [matMenuItemIcon]","*"];function S(ge,qe){if(1&ge){const oe=e.EpF();e.TgZ(0,"div",0),e.NdJ("keydown",function(le){e.CHM(oe);const Ge=e.oxw();return e.KtG(Ge._handleKeydown(le))})("click",function(){e.CHM(oe);const le=e.oxw();return e.KtG(le.closed.emit("click"))})("@transformMenu.start",function(le){e.CHM(oe);const Ge=e.oxw();return e.KtG(Ge._onAnimationStart(le))})("@transformMenu.done",function(le){e.CHM(oe);const Ge=e.oxw();return e.KtG(Ge._onAnimationDone(le))}),e.TgZ(1,"div",1),e.Hsn(2),e.qZA()()}if(2&ge){const oe=e.oxw();e.Q6J("id",oe.panelId)("ngClass",oe._classList)("@transformMenu",oe._panelAnimationState),e.uIk("aria-label",oe.ariaLabel||null)("aria-labelledby",oe.ariaLabelledby||null)("aria-describedby",oe.ariaDescribedby||null)}}const n=["*"],s=new e.OlP("MAT_MENU_PANEL");let f=(()=>{class ge{constructor(oe,ve,le,Ge,We){this._elementRef=oe,this._document=ve,this._focusMonitor=le,this._parentMenu=Ge,this._changeDetectorRef=We,this.role="menuitem",this.disabled=!1,this.disableRipple=!1,this._hovered=new A.x,this._focused=new A.x,this._highlighted=!1,this._triggersSubmenu=!1,Ge?.addItem?.(this)}focus(oe,ve){this._focusMonitor&&oe?this._focusMonitor.focusVia(this._getHostElement(),oe,ve):this._getHostElement().focus(ve),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(oe){this.disabled&&(oe.preventDefault(),oe.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const oe=this._elementRef.nativeElement.cloneNode(!0),ve=oe.querySelectorAll("mat-icon, .material-icons");for(let le=0;le<ve.length;le++)ve[le].remove();return oe.textContent?.trim()||""}_setHighlighted(oe){this._highlighted=oe,this._changeDetectorRef?.markForCheck()}_setTriggersSubmenu(oe){this._triggersSubmenu=oe,this._changeDetectorRef?.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}static#e=this.\u0275fac=function(ve){return new(ve||ge)(e.Y36(e.SBq),e.Y36(B.K0),e.Y36(t.tE),e.Y36(s,8),e.Y36(e.sBO))};static#t=this.\u0275cmp=e.Xpm({type:ge,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-mdc-focus-indicator"],hostVars:8,hostBindings:function(ve,le){1&ve&&e.NdJ("click",function(We){return le._checkDisabled(We)})("mouseenter",function(){return le._handleMouseEnter()}),2&ve&&(e.uIk("role",le.role)("tabindex",le._getTabIndex())("aria-disabled",le.disabled)("disabled",le.disabled||null),e.ekj("mat-mdc-menu-item-highlighted",le._highlighted)("mat-mdc-menu-item-submenu-trigger",le._triggersSubmenu))},inputs:{role:"role",disabled:["disabled","disabled",e.VuI],disableRipple:["disableRipple","disableRipple",e.VuI]},exportAs:["matMenuItem"],features:[e.Xq5],attrs:se,ngContentSelectors:ue,decls:5,vars:3,consts:[[1,"mat-mdc-menu-item-text"],["matRipple","",1,"mat-mdc-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-mdc-menu-submenu-icon","viewBox","0 0 5 10","focusable","false","aria-hidden","true"],["viewBox","0 0 5 10","focusable","false","aria-hidden","true",1,"mat-mdc-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(ve,le){1&ve&&(e.F$t($),e.Hsn(0),e.TgZ(1,"span",0),e.Hsn(2,1),e.qZA(),e._UZ(3,"div",1),e.YNc(4,Me,2,0,":svg:svg",2)),2&ve&&(e.xp6(3),e.Q6J("matRippleDisabled",le.disableRipple||le.disabled)("matRippleTrigger",le._getHostElement()),e.xp6(1),e.um2(4,le._triggersSubmenu?4:-1))},dependencies:[W.wG],encapsulation:2,changeDetection:0})}return ge})();const O=new e.OlP("MatMenuContent"),r={transformMenu:(0,K.X$)("transformMenu",[(0,K.SB)("void",(0,K.oB)({opacity:0,transform:"scale(0.8)"})),(0,K.eR)("void => enter",(0,K.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,K.oB)({opacity:1,transform:"scale(1)"}))),(0,K.eR)("* => void",(0,K.jt)("100ms 25ms linear",(0,K.oB)({opacity:0})))]),fadeInItems:(0,K.X$)("fadeInItems",[(0,K.SB)("showing",(0,K.oB)({opacity:1})),(0,K.eR)("void => *",[(0,K.oB)({opacity:0}),(0,K.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let N=0;const ee=new e.OlP("mat-menu-default-options",{providedIn:"root",factory:function De(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let ot=(()=>{class ge{get xPosition(){return this._xPosition}set xPosition(oe){this._xPosition=oe,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(oe){this._yPosition=oe,this.setPositionClasses()}set panelClass(oe){const ve=this._previousPanelClass;ve&&ve.length&&ve.split(" ").forEach(le=>{this._classList[le]=!1}),this._previousPanelClass=oe,oe&&oe.length&&(oe.split(" ").forEach(le=>{this._classList[le]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(oe){this.panelClass=oe}constructor(oe,ve,le,Ge){this._elementRef=oe,this._ngZone=ve,this._changeDetectorRef=Ge,this._elevationPrefix="mat-elevation-z",this._baseElevation=8,this._directDescendantItems=new e.n_E,this._classList={},this._panelAnimationState="void",this._animationDone=new A.x,this.closed=new e.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+N++,this.overlayPanelClass=le.overlayPanelClass||"",this._xPosition=le.xPosition,this._yPosition=le.yPosition,this.backdropClass=le.backdropClass,this.overlapTrigger=le.overlapTrigger,this.hasBackdrop=le.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new t.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,d.O)(this._directDescendantItems),(0,E.w)(oe=>(0,l.T)(...oe.map(ve=>ve._focused)))).subscribe(oe=>this._keyManager.updateActiveItem(oe)),this._directDescendantItems.changes.subscribe(oe=>{const ve=this._keyManager;if("enter"===this._panelAnimationState&&ve.activeItem?._hasFocus()){const le=oe.toArray(),Ge=Math.max(0,Math.min(le.length-1,ve.activeItemIndex||0));le[Ge]&&!le[Ge].disabled?ve.setActiveItem(Ge):ve.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe((0,d.O)(this._directDescendantItems),(0,E.w)(ve=>(0,l.T)(...ve.map(le=>le._hovered))))}addItem(oe){}removeItem(oe){}_handleKeydown(oe){const ve=oe.keyCode,le=this._keyManager;switch(ve){case y.hY:(0,y.Vb)(oe)||(oe.preventDefault(),this.closed.emit("keydown"));break;case y.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case y.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(ve===y.LH||ve===y.JH)&&le.setFocusOrigin("keyboard"),void le.onKeydown(oe)}oe.stopPropagation()}focusFirstItem(oe="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,M.q)(1)).subscribe(()=>{let ve=null;if(this._directDescendantItems.length&&(ve=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!ve||!ve.contains(document.activeElement)){const le=this._keyManager;le.setFocusOrigin(oe).setFirstItemActive(),!le.activeItem&&ve&&ve.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(oe){const ve=Math.min(this._baseElevation+oe,24),le=`${this._elevationPrefix}${ve}`,Ge=Object.keys(this._classList).find(We=>We.startsWith(this._elevationPrefix));(!Ge||Ge===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[le]=!0,this._previousElevation=le)}setPositionClasses(oe=this.xPosition,ve=this.yPosition){const le=this._classList;le["mat-menu-before"]="before"===oe,le["mat-menu-after"]="after"===oe,le["mat-menu-above"]="above"===ve,le["mat-menu-below"]="below"===ve,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(oe){this._animationDone.next(oe),this._isAnimating=!1}_onAnimationStart(oe){this._isAnimating=!0,"enter"===oe.toState&&0===this._keyManager.activeItemIndex&&(oe.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,d.O)(this._allItems)).subscribe(oe=>{this._directDescendantItems.reset(oe.filter(ve=>ve._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}static#e=this.\u0275fac=function(ve){return new(ve||ge)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(ee),e.Y36(e.sBO))};static#t=this.\u0275cmp=e.Xpm({type:ge,selectors:[["mat-menu"]],contentQueries:function(ve,le,Ge){if(1&ve&&(e.Suo(Ge,O,5),e.Suo(Ge,f,5),e.Suo(Ge,f,4)),2&ve){let We;e.iGM(We=e.CRH())&&(le.lazyContent=We.first),e.iGM(We=e.CRH())&&(le._allItems=We),e.iGM(We=e.CRH())&&(le.items=We)}},viewQuery:function(ve,le){if(1&ve&&e.Gf(e.Rgc,5),2&ve){let Ge;e.iGM(Ge=e.CRH())&&(le.templateRef=Ge.first)}},hostAttrs:["ngSkipHydration",""],hostVars:3,hostBindings:function(ve,le){2&ve&&e.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:["overlapTrigger","overlapTrigger",e.VuI],hasBackdrop:["hasBackdrop","hasBackdrop",oe=>null==oe?null:(0,e.VuI)(oe)],panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],features:[e._Bn([{provide:s,useExisting:ge}]),e.Xq5],ngContentSelectors:n,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content"]],template:function(ve,le){1&ve&&(e.F$t(),e.YNc(0,S,3,6,"ng-template"))},dependencies:[B.mk],styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;white-space:normal;font-family:var(--mat-menu-item-label-text-font);line-height:var(--mat-menu-item-label-text-line-height);font-size:var(--mat-menu-item-label-text-size);letter-spacing:var(--mat-menu-item-label-text-tracking);font-weight:var(--mat-menu-item-label-text-weight)}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape);background-color:var(--mat-menu-container-color);will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;align-items:center;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color)}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color)}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[r.transformMenu,r.fadeInItems]},changeDetection:0})}return ge})();const je=new e.OlP("mat-menu-scroll-strategy"),ye={provide:je,deps:[ie.aV],useFactory:function Je(ge){return()=>ge.scrollStrategies.reposition()}},me=(0,ae.i$)({passive:!0});let xe=(()=>{class ge{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(oe){this.menu=oe}get menu(){return this._menu}set menu(oe){oe!==this._menu&&(this._menu=oe,this._menuCloseSubscription.unsubscribe(),oe&&(this._menuCloseSubscription=oe.close.subscribe(ve=>{this._destroyMenu(ve),("click"===ve||"tab"===ve)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(ve)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(oe,ve,le,Ge,We,wt,mt,kt,Ae){this._overlay=oe,this._element=ve,this._viewContainerRef=le,this._menuItemInstance=wt,this._dir=mt,this._focusMonitor=kt,this._ngZone=Ae,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=x.w0.EMPTY,this._hoverSubscription=x.w0.EMPTY,this._menuCloseSubscription=x.w0.EMPTY,this._changeDetectorRef=(0,e.f3M)(e.sBO),this._handleTouchStart=Be=>{(0,t.yG)(Be)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new e.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new e.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=Ge,this._parentMaterialMenu=We instanceof ot?We:void 0,ve.nativeElement.addEventListener("touchstart",this._handleTouchStart,me)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,me),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 oe=this.menu;if(this._menuOpen||!oe)return;const ve=this._createOverlay(oe),le=ve.getConfig(),Ge=le.positionStrategy;this._setPosition(oe,Ge),le.hasBackdrop=null==oe.hasBackdrop?!this.triggersSubmenu():oe.hasBackdrop,ve.attach(this._getPortal(oe)),oe.lazyContent&&oe.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(oe),oe instanceof ot&&(oe._startAnimation(),oe._directDescendantItems.changes.pipe((0,I.R)(oe.close)).subscribe(()=>{Ge.withLockedPosition(!1).reapplyLastPosition(),Ge.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(oe,ve){this._focusMonitor&&oe?this._focusMonitor.focusVia(this._element,oe,ve):this._element.nativeElement.focus(ve)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(oe){if(!this._overlayRef||!this.menuOpen)return;const ve=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===oe||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,ve instanceof ot?(ve._resetAnimation(),ve.lazyContent?ve._animationDone.pipe((0,k.h)(le=>"void"===le.toState),(0,M.q)(1),(0,I.R)(ve.lazyContent._attached)).subscribe({next:()=>ve.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),ve?.lazyContent?.detach())}_initMenu(oe){oe.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,oe.direction=this.dir,this._setMenuElevation(oe),oe.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(oe){if(oe.setElevation){let ve=0,le=oe.parentMenu;for(;le;)ve++,le=le.parentMenu;oe.setElevation(ve)}}_setIsMenuOpen(oe){oe!==this._menuOpen&&(this._menuOpen=oe,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(oe),this._changeDetectorRef.markForCheck())}_createOverlay(oe){if(!this._overlayRef){const ve=this._getOverlayConfig(oe);this._subscribeToPositions(oe,ve.positionStrategy),this._overlayRef=this._overlay.create(ve),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(oe){return new ie.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:oe.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:oe.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(oe,ve){oe.setPositionClasses&&ve.positionChanges.subscribe(le=>{const Ge="start"===le.connectionPair.overlayX?"after":"before",We="top"===le.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>oe.setPositionClasses(Ge,We)):oe.setPositionClasses(Ge,We)})}_setPosition(oe,ve){let[le,Ge]="before"===oe.xPosition?["end","start"]:["start","end"],[We,wt]="above"===oe.yPosition?["bottom","top"]:["top","bottom"],[mt,kt]=[We,wt],[Ae,Be]=[le,Ge],it=0;if(this.triggersSubmenu()){if(Be=le="before"===oe.xPosition?"start":"end",Ge=Ae="end"===le?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const $e=this._parentMaterialMenu.items.first;this._parentInnerPadding=$e?$e._getHostElement().offsetTop:0}it="bottom"===We?this._parentInnerPadding:-this._parentInnerPadding}}else oe.overlapTrigger||(mt="top"===We?"bottom":"top",kt="top"===wt?"bottom":"top");ve.withPositions([{originX:le,originY:mt,overlayX:Ae,overlayY:We,offsetY:it},{originX:Ge,originY:mt,overlayX:Be,overlayY:We,offsetY:it},{originX:le,originY:kt,overlayX:Ae,overlayY:wt,offsetY:-it},{originX:Ge,originY:kt,overlayX:Be,overlayY:wt,offsetY:-it}])}_menuClosingActions(){const oe=this._overlayRef.backdropClick(),ve=this._overlayRef.detachments(),le=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,m.of)(),Ge=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,k.h)(We=>We!==this._menuItemInstance),(0,k.h)(()=>this._menuOpen)):(0,m.of)();return(0,l.T)(oe,le,Ge,ve)}_handleMousedown(oe){(0,t.X6)(oe)||(this._openedBy=0===oe.button?"mouse":void 0,this.triggersSubmenu()&&oe.preventDefault())}_handleKeydown(oe){const ve=oe.keyCode;(ve===y.K5||ve===y.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(ve===y.SV&&"ltr"===this.dir||ve===y.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(oe){this.triggersSubmenu()?(oe.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,k.h)(oe=>oe===this._menuItemInstance&&!oe.disabled),(0,V.g)(0,P.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof ot&&this.menu._isAnimating?this.menu._animationDone.pipe((0,M.q)(1),(0,V.g)(0,P.E),(0,I.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(oe){return(!this._portal||this._portal.templateRef!==oe.templateRef)&&(this._portal=new j.UE(oe.templateRef,this._viewContainerRef)),this._portal}static#e=this.\u0275fac=function(ve){return new(ve||ge)(e.Y36(ie.aV),e.Y36(e.SBq),e.Y36(e.s_b),e.Y36(je),e.Y36(s,8),e.Y36(f,10),e.Y36(X.Is,8),e.Y36(t.tE),e.Y36(e.R0b))};static#t=this.\u0275dir=e.lG2({type:ge,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(ve,le){1&ve&&e.NdJ("click",function(We){return le._handleClick(We)})("mousedown",function(We){return le._handleMousedown(We)})("keydown",function(We){return le._handleKeydown(We)}),2&ve&&e.uIk("aria-haspopup",le.menu?"menu":null)("aria-expanded",le.menuOpen)("aria-controls",le.menuOpen?le.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]})}return ge})(),de=(()=>{class ge{static#e=this.\u0275fac=function(ve){return new(ve||ge)};static#t=this.\u0275mod=e.oAB({type:ge});static#i=this.\u0275inj=e.cJS({providers:[ye],imports:[B.ez,W.si,W.BQ,ie.U8,fe.ZD,W.BQ]})}return ge})()},1476:(ze,q,p)=>{"use strict";p.d(q,{NW:()=>se,TU:()=>Me,ye:()=>B});var e=p(9212),t=p(8645),y=p(2296),A=p(8525),l=p(2596),x=p(3680),m=p(2495),P=p(5683);function d($,ue){if(1&$&&(e.TgZ(0,"mat-option",18),e._uU(1),e.qZA()),2&$){const S=ue.$implicit;e.Q6J("value",S),e.xp6(1),e.hij(" ",S," ")}}function E($,ue){if(1&$){const S=e.EpF();e.TgZ(0,"mat-form-field",16)(1,"mat-select",17),e.NdJ("selectionChange",function(s){e.CHM(S);const f=e.oxw(2);return e.KtG(f._changePageSize(s.value))}),e.SjG(2,d,2,2,"mat-option",18,e.x6l),e.qZA()()}if(2&$){const S=e.oxw(2);e.Q6J("appearance",S._formFieldAppearance)("color",S.color),e.xp6(1),e.Q6J("value",S.pageSize)("disabled",S.disabled)("aria-labelledby",S._pageSizeLabelId)("panelClass",S.selectConfig.panelClass||"")("disableOptionCentering",S.selectConfig.disableOptionCentering),e.xp6(1),e.wJu(S._displayedPageSizeOptions)}}function M($,ue){if(1&$&&(e.TgZ(0,"div",19),e._uU(1),e.qZA()),2&$){const S=e.oxw(2);e.xp6(1),e.Oqu(S.pageSize)}}function I($,ue){if(1&$&&(e.TgZ(0,"div",12)(1,"div",13),e._uU(2),e.qZA(),e.YNc(3,E,4,7,"mat-form-field",14)(4,M,2,1,"div",15),e.qZA()),2&$){const S=e.oxw();e.xp6(1),e.uIk("id",S._pageSizeLabelId),e.xp6(1),e.hij(" ",S._intl.itemsPerPageLabel," "),e.xp6(1),e.um2(3,S._displayedPageSizeOptions.length>1?3:-1),e.xp6(1),e.um2(4,S._displayedPageSizeOptions.length<=1?4:-1)}}function k($,ue){if(1&$){const S=e.EpF();e.TgZ(0,"button",20),e.NdJ("click",function(){e.CHM(S);const s=e.oxw();return e.KtG(s.firstPage())}),e.O4$(),e.TgZ(1,"svg",7),e._UZ(2,"path",21),e.qZA()()}if(2&$){const S=e.oxw();e.Q6J("matTooltip",S._intl.firstPageLabel)("matTooltipDisabled",S._previousButtonsDisabled())("matTooltipPosition","above")("disabled",S._previousButtonsDisabled()),e.uIk("aria-label",S._intl.firstPageLabel)}}function V($,ue){if(1&$){const S=e.EpF();e.O4$(),e.kcU(),e.TgZ(0,"button",22),e.NdJ("click",function(){e.CHM(S);const s=e.oxw();return e.KtG(s.lastPage())}),e.O4$(),e.TgZ(1,"svg",7),e._UZ(2,"path",23),e.qZA()()}if(2&$){const S=e.oxw();e.Q6J("matTooltip",S._intl.lastPageLabel)("matTooltipDisabled",S._nextButtonsDisabled())("matTooltipPosition","above")("disabled",S._nextButtonsDisabled()),e.uIk("aria-label",S._intl.lastPageLabel)}}let B=(()=>{class ${constructor(){this.changes=new t.x,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(S,n,s)=>{if(0==s||0==n)return`0 of ${s}`;const f=S*n;return`${f+1} \u2013 ${f<(s=Math.max(s,0))?Math.min(f+n,s):f+n} of ${s}`}}static#e=this.\u0275fac=function(n){return new(n||$)};static#t=this.\u0275prov=e.Yz7({token:$,factory:$.\u0275fac,providedIn:"root"})}return $})();const j={provide:B,deps:[[new e.FiY,new e.tp0,B]],useFactory:function W($){return $||new B}},ie=new e.OlP("MAT_PAGINATOR_DEFAULT_OPTIONS"),ae=(0,x.Id)((0,x.dB)(class{}));let fe=0,se=(()=>{class $ extends ae{get pageIndex(){return this._pageIndex}set pageIndex(S){this._pageIndex=Math.max((0,m.su)(S),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(S){this._length=(0,m.su)(S),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(S){this._pageSize=Math.max((0,m.su)(S),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(S){this._pageSizeOptions=(S||[]).map(n=>(0,m.su)(n)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(S){this._hidePageSize=(0,m.Ig)(S)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(S){this._showFirstLastButtons=(0,m.Ig)(S)}constructor(S,n,s){if(super(),this._intl=S,this._changeDetectorRef=n,this._pageSizeLabelId="mat-paginator-page-size-label-"+fe++,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.selectConfig={},this.page=new e.vpe,this._intlChanges=S.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),s){const{pageSize:f,pageSizeOptions:h,hidePageSize:w,showFirstLastButtons:D}=s;null!=f&&(this._pageSize=f),null!=h&&(this._pageSizeOptions=h),null!=w&&(this._hidePageSize=w),null!=D&&(this._showFirstLastButtons=D)}this._formFieldAppearance=s?.formFieldAppearance||"outline"}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const S=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(S)}previousPage(){if(!this.hasPreviousPage())return;const S=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(S)}firstPage(){if(!this.hasPreviousPage())return;const S=this.pageIndex;this.pageIndex=0,this._emitPageEvent(S)}lastPage(){if(!this.hasNextPage())return;const S=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(S)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const S=this.getNumberOfPages()-1;return this.pageIndex<S&&0!=this.pageSize}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(S){const s=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/S)||0,this.pageSize=S,this._emitPageEvent(s)}_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((S,n)=>S-n),this._changeDetectorRef.markForCheck())}_emitPageEvent(S){this.page.emit({previousPageIndex:S,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}static#e=this.\u0275fac=function(n){return new(n||$)(e.Y36(B),e.Y36(e.sBO),e.Y36(ie,8))};static#t=this.\u0275cmp=e.Xpm({type:$,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{disabled:"disabled",color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},exportAs:["matPaginator"],features:[e.qOj],decls:14,vars:14,consts:[[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],["class","mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-range-actions"],["aria-live","polite",1,"mat-mdc-paginator-range-label"],["mat-icon-button","","type","button","class","mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-mdc-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-page-size-label"],["class","mat-mdc-paginator-page-size-select",3,"appearance","color"],["class","mat-mdc-paginator-page-size-value"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],["hideSingleSelectionIndicator","",3,"value","disabled","aria-labelledby","panelClass","disableOptionCentering","selectionChange"],[3,"value"],[1,"mat-mdc-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(n,s){1&n&&(e.TgZ(0,"div",0)(1,"div",1),e.YNc(2,I,5,4,"div",2),e.TgZ(3,"div",3)(4,"div",4),e._uU(5),e.qZA(),e.YNc(6,k,3,5,"button",5),e.TgZ(7,"button",6),e.NdJ("click",function(){return s.previousPage()}),e.O4$(),e.TgZ(8,"svg",7),e._UZ(9,"path",8),e.qZA()(),e.kcU(),e.TgZ(10,"button",9),e.NdJ("click",function(){return s.nextPage()}),e.O4$(),e.TgZ(11,"svg",7),e._UZ(12,"path",10),e.qZA()(),e.YNc(13,V,3,5,"button",11),e.qZA()()()),2&n&&(e.xp6(2),e.um2(2,s.hidePageSize?-1:2),e.xp6(3),e.hij(" ",s._intl.getRangeLabel(s.pageIndex,s.pageSize,s.length)," "),e.xp6(1),e.um2(6,s.showFirstLastButtons?6:-1),e.xp6(1),e.Q6J("matTooltip",s._intl.previousPageLabel)("matTooltipDisabled",s._previousButtonsDisabled())("matTooltipPosition","above")("disabled",s._previousButtonsDisabled()),e.uIk("aria-label",s._intl.previousPageLabel),e.xp6(3),e.Q6J("matTooltip",s._intl.nextPageLabel)("matTooltipDisabled",s._nextButtonsDisabled())("matTooltipPosition","above")("disabled",s._nextButtonsDisabled()),e.uIk("aria-label",s._intl.nextPageLabel),e.xp6(3),e.um2(13,s.showFirstLastButtons?13:-1))},dependencies:[y.RK,P.KE,A.gD,x.ey,l.gM],styles:[".mat-mdc-paginator{display:block;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-paginator-container-text-color);background-color:var(--mat-paginator-container-background-color);font-family:var(--mat-paginator-container-text-font);line-height:var(--mat-paginator-container-text-line-height);font-size:var(--mat-paginator-container-text-size);font-weight:var(--mat-paginator-container-text-weight);letter-spacing:var(--mat-paginator-container-text-tracking)}.mat-mdc-paginator .mat-mdc-select-value{font-size:var(--mat-paginator-select-trigger-text-size)}.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-paginator .mat-mdc-select{line-height:1.5}.mat-mdc-paginator-outer-container{display:flex}.mat-mdc-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%;min-height:var(--mat-paginator-container-size)}.mat-mdc-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-mdc-paginator-page-size{margin-right:0;margin-left:8px}.mat-mdc-paginator-page-size-label{margin:0 4px}.mat-mdc-paginator-page-size-select{margin:0 4px;width:84px}.mat-mdc-paginator-range-label{margin:0 32px 0 24px}.mat-mdc-paginator-range-actions{display:flex;align-items:center}.mat-mdc-paginator-icon{display:inline-block;width:28px;fill:var(--mat-paginator-enabled-icon-color)}.mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon{fill:var(--mat-paginator-disabled-icon-color)}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon,.cdk-high-contrast-active .mat-mdc-paginator-icon{fill:currentColor;fill:CanvasText}.cdk-high-contrast-active .mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return $})(),Me=(()=>{class ${static#e=this.\u0275fac=function(n){return new(n||$)};static#t=this.\u0275mod=e.oAB({type:$});static#i=this.\u0275inj=e.cJS({providers:[j],imports:[y.ot,A.LD,l.AV]})}return $})()},6007:(ze,q,p)=>{"use strict";p.d(q,{Cv:()=>M,pW:()=>d});var e=p(9212),y=(p(6814),p(3680)),A=p(2495);const l=new e.OlP("MAT_PROGRESS_BAR_DEFAULT_OPTIONS"),P=(0,y.pj)(class{constructor(I){this._elementRef=I}},"primary");let d=(()=>{class I extends P{constructor(V,B,W,j,K){super(V),this._ngZone=B,this._changeDetectorRef=W,this._animationMode=j,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new e.vpe,this._mode="determinate",this._transitionendHandler=X=>{0===this.animationEnd.observers.length||!X.target||!X.target.classList.contains("mdc-linear-progress__primary-bar")||("determinate"===this.mode||"buffer"===this.mode)&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))},this._isNoopAnimation="NoopAnimations"===j,K&&(K.color&&(this.color=this.defaultColor=K.color),this.mode=K.mode||this.mode)}get value(){return this._value}set value(V){this._value=E((0,A.su)(V)),this._changeDetectorRef.markForCheck()}get bufferValue(){return this._bufferValue||0}set bufferValue(V){this._bufferValue=E((0,A.su)(V)),this._changeDetectorRef.markForCheck()}get mode(){return this._mode}set mode(V){this._mode=V,this._changeDetectorRef.markForCheck()}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._transitionendHandler)})}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._transitionendHandler)}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`}_getBufferBarFlexBasis(){return`${"buffer"===this.mode?this.bufferValue:100}%`}_isIndeterminate(){return"indeterminate"===this.mode||"query"===this.mode}static#e=this.\u0275fac=function(B){return new(B||I)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(e.QbO,8),e.Y36(l,8))};static#t=this.\u0275cmp=e.Xpm({type:I,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:8,hostBindings:function(B,W){2&B&&(e.uIk("aria-valuenow",W._isIndeterminate()?null:W.value)("mode",W.mode),e.ekj("_mat-animation-noopable",W._isNoopAnimation)("mdc-linear-progress--animation-ready",!W._isNoopAnimation)("mdc-linear-progress--indeterminate",W._isIndeterminate()))},inputs:{color:"color",value:"value",bufferValue:"bufferValue",mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[e.qOj],decls:7,vars:4,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(B,W){1&B&&(e.TgZ(0,"div",0),e._UZ(1,"div",1)(2,"div",2),e.qZA(),e.TgZ(3,"div",3),e._UZ(4,"span",4),e.qZA(),e.TgZ(5,"div",5),e._UZ(6,"span",4),e.qZA()),2&B&&(e.xp6(1),e.Udp("flex-basis",W._getBufferBarFlexBasis()),e.xp6(2),e.Udp("transform",W._getPrimaryBarTransform()))},styles:["@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half))}100%{transform:translateX(var(--mdc-linear-progress-primary-full))}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full))}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-primary-full-neg))}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter-neg))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full-neg))}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}@media screen and (forced-colors: active){.mdc-linear-progress{outline-color:CanvasText}}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden}.mdc-linear-progress__buffer-dots{background-repeat:repeat-x;flex:auto;transform:rotate(180deg);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");animation:mdc-linear-progress-buffering 250ms infinite linear}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__bar{right:0;-webkit-transform-origin:center right;transform-origin:center right}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__buffer-dots,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}.mdc-linear-progress--closed{opacity:0}.mdc-linear-progress--closed-animation-off .mdc-linear-progress__buffer-dots{animation:none}.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar,.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar .mdc-linear-progress__bar-inner{animation:none}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mdc-linear-progress-track-height) * -2.5))}}.mdc-linear-progress__bar-inner{border-color:var(--mdc-linear-progress-active-indicator-color)}@media(forced-colors: active){.mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-color:rgba(0,0,0,0);background-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill=''/%3E%3C/svg%3E\")}}.mdc-linear-progress{height:max(var(--mdc-linear-progress-track-height), var(--mdc-linear-progress-active-indicator-height))}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress{height:4px}}.mdc-linear-progress__bar{height:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__bar-inner{border-top-width:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__buffer{height:var(--mdc-linear-progress-track-height)}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-size:10px var(--mdc-linear-progress-track-height)}}.mdc-linear-progress__buffer{border-radius:var(--mdc-linear-progress-track-shape)}.mat-mdc-progress-bar{display:block;text-align:left;--mdc-linear-progress-primary-half: 83.67142%;--mdc-linear-progress-primary-full: 200.611057%;--mdc-linear-progress-secondary-quarter: 37.651913%;--mdc-linear-progress-secondary-half: 84.386165%;--mdc-linear-progress-secondary-full: 160.277782%;--mdc-linear-progress-primary-half-neg: -83.67142%;--mdc-linear-progress-primary-full-neg: -200.611057%;--mdc-linear-progress-secondary-quarter-neg: -37.651913%;--mdc-linear-progress-secondary-half-neg: -84.386165%;--mdc-linear-progress-secondary-full-neg: -160.277782%}[dir=rtl] .mat-mdc-progress-bar{text-align:right}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}"],encapsulation:2,changeDetection:0})}return I})();function E(I,k=0,V=100){return Math.max(k,Math.min(V,I))}let M=(()=>{class I{static#e=this.\u0275fac=function(B){return new(B||I)};static#t=this.\u0275mod=e.oAB({type:I});static#i=this.\u0275inj=e.cJS({imports:[y.BQ]})}return I})()},5940:(ze,q,p)=>{"use strict";p.d(q,{Cq:()=>V,Ou:()=>I});var e=p(9212),t=p(3680),y=p(2495),A=p(6814);const l=["determinateSpinner"];function x(B,W){if(1&B&&(e.O4$(),e.TgZ(0,"svg",11),e._UZ(1,"circle",12),e.qZA()),2&B){const j=e.oxw();e.uIk("viewBox",j._viewBox()),e.xp6(1),e.Udp("stroke-dasharray",j._strokeCircumference(),"px")("stroke-dashoffset",j._strokeCircumference()/2,"px")("stroke-width",j._circleStrokeWidth(),"%"),e.uIk("r",j._circleRadius())}}const m=(0,t.pj)(class{constructor(B){this._elementRef=B}},"primary"),P=new e.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function d(){return{diameter:E}}}),E=100;let I=(()=>{class B extends m{constructor(j,K,X){super(j),this.mode="mat-spinner"===this._elementRef.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate",this._value=0,this._diameter=E,this._noopAnimations="NoopAnimations"===K&&!!X&&!X._forceAnimations,X&&(X.color&&(this.color=this.defaultColor=X.color),X.diameter&&(this.diameter=X.diameter),X.strokeWidth&&(this.strokeWidth=X.strokeWidth))}get value(){return"determinate"===this.mode?this._value:0}set value(j){this._value=Math.max(0,Math.min(100,(0,y.su)(j)))}get diameter(){return this._diameter}set diameter(j){this._diameter=(0,y.su)(j)}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(j){this._strokeWidth=(0,y.su)(j)}_circleRadius(){return(this.diameter-10)/2}_viewBox(){const j=2*this._circleRadius()+this.strokeWidth;return`0 0 ${j} ${j}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return"determinate"===this.mode?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}static#e=this.\u0275fac=function(K){return new(K||B)(e.Y36(e.SBq),e.Y36(e.QbO,8),e.Y36(P))};static#t=this.\u0275cmp=e.Xpm({type:B,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(K,X){if(1&K&&e.Gf(l,5),2&K){let ie;e.iGM(ie=e.CRH())&&(X._determinateCircle=ie.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:16,hostBindings:function(K,X){2&K&&(e.uIk("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===X.mode?X.value:null)("mode",X.mode),e.Udp("width",X.diameter,"px")("height",X.diameter,"px")("--mdc-circular-progress-size",X.diameter+"px")("--mdc-circular-progress-active-indicator-width",X.diameter+"px"),e.ekj("_mat-animation-noopable",X._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===X.mode))},inputs:{color:"color",mode:"mode",value:"value",diameter:"diameter",strokeWidth:"strokeWidth"},exportAs:["matProgressSpinner"],features:[e.qOj],decls:14,vars:11,consts:[["circle",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["determinateSpinner",""],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(K,X){if(1&K&&(e.YNc(0,x,2,8,"ng-template",null,0,e.W1O),e.TgZ(2,"div",1,2),e.O4$(),e.TgZ(4,"svg",3),e._UZ(5,"circle",4),e.qZA()(),e.kcU(),e.TgZ(6,"div",5)(7,"div",6)(8,"div",7),e.GkF(9,8),e.qZA(),e.TgZ(10,"div",9),e.GkF(11,8),e.qZA(),e.TgZ(12,"div",10),e.GkF(13,8),e.qZA()()()),2&K){const ie=e.MAs(1);e.xp6(4),e.uIk("viewBox",X._viewBox()),e.xp6(1),e.Udp("stroke-dasharray",X._strokeCircumference(),"px")("stroke-dashoffset",X._strokeDashOffset(),"px")("stroke-width",X._circleStrokeWidth(),"%"),e.uIk("r",X._circleRadius()),e.xp6(4),e.Q6J("ngTemplateOutlet",ie),e.xp6(2),e.Q6J("ngTemplateOutlet",ie),e.xp6(2),e.Q6J("ngTemplateOutlet",ie)}},dependencies:[A.tP],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner .mdc-circular-progress{width:var(--mdc-circular-progress-size) !important;height:var(--mdc-circular-progress-size) !important}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}"],encapsulation:2,changeDetection:0})}return B})(),V=(()=>{class B{static#e=this.\u0275fac=function(K){return new(K||B)};static#t=this.\u0275mod=e.oAB({type:B});static#i=this.\u0275inj=e.cJS({imports:[A.ez,t.BQ]})}return B})()},7466:(ze,q,p)=>{"use strict";p.d(q,{Fk:()=>ie,U0:()=>X,VQ:()=>W});var e=p(9212),t=p(3680),y=p(4300),A=p(2495),l=p(8337),x=p(6223),m=p(6814);const P=["input"],d=["*"];let E=0;class M{constructor(fe,se){this.source=fe,this.value=se}}const I={provide:x.JU,useExisting:(0,e.Gpc)(()=>W),multi:!0},k=new e.OlP("MatRadioGroup"),V=new e.OlP("mat-radio-default-options",{providedIn:"root",factory:function B(){return{color:"accent"}}});let W=(()=>{class ae{get name(){return this._name}set name(se){this._name=se,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(se){this._labelPosition="before"===se?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(se){this._value!==se&&(this._value=se,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(se){this._selected=se,this.value=se?se.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(se){this._disabled=(0,A.Ig)(se),this._markRadiosForCheck()}get required(){return this._required}set required(se){this._required=(0,A.Ig)(se),this._markRadiosForCheck()}constructor(se){this._changeDetector=se,this._value=null,this._name="mat-radio-group-"+E++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new e.vpe}ngAfterContentInit(){this._isInitialized=!0,this._buttonChanges=this._radios.changes.subscribe(()=>{this.selected&&!this._radios.find(se=>se===this.selected)&&(this._selected=null)})}ngOnDestroy(){this._buttonChanges?.unsubscribe()}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(se=>{se.name=this.name,se._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(Me=>{Me.checked=this.value===Me.value,Me.checked&&(this._selected=Me)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new M(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(se=>se._markForCheck())}writeValue(se){this.value=se,this._changeDetector.markForCheck()}registerOnChange(se){this._controlValueAccessorChangeFn=se}registerOnTouched(se){this.onTouched=se}setDisabledState(se){this.disabled=se,this._changeDetector.markForCheck()}static#e=this.\u0275fac=function(Me){return new(Me||ae)(e.Y36(e.sBO))};static#t=this.\u0275dir=e.lG2({type:ae,selectors:[["mat-radio-group"]],contentQueries:function(Me,$,ue){if(1&Me&&e.Suo(ue,X,5),2&Me){let S;e.iGM(S=e.CRH())&&($._radios=S)}},hostAttrs:["role","radiogroup",1,"mat-mdc-radio-group"],inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"},exportAs:["matRadioGroup"],features:[e._Bn([I,{provide:k,useExisting:ae}])]})}return ae})();class j{constructor(fe){this._elementRef=fe}}const K=(0,t.Kr)((0,t.sb)(j));let X=(()=>{class ae extends K{get checked(){return this._checked}set checked(se){const Me=(0,A.Ig)(se);this._checked!==Me&&(this._checked=Me,Me&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!Me&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),Me&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(se){this._value!==se&&(this._value=se,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===se),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(se){this._labelPosition=se}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(se){this._setDisabled((0,A.Ig)(se))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(se){this._required=(0,A.Ig)(se)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(se){this._color=se}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(se,Me,$,ue,S,n,s,f){super(Me),this._changeDetector=$,this._focusMonitor=ue,this._radioDispatcher=S,this._providerOverride=s,this._uniqueId="mat-radio-"+ ++E,this.id=this._uniqueId,this.change=new e.vpe,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=se,this._noopAnimations="NoopAnimations"===n,f&&(this.tabIndex=(0,A.su)(f,0))}focus(se,Me){Me?this._focusMonitor.focusVia(this._inputElement,Me,se):this._inputElement.nativeElement.focus(se)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name),this._removeUniqueSelectionListener=this._radioDispatcher.listen((se,Me)=>{se!==this.id&&Me===this.name&&(this.checked=!1)})}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(se=>{!se&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new M(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(se){se.stopPropagation()}_onInputInteraction(se){if(se.stopPropagation(),!this.checked&&!this.disabled){const Me=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),Me&&this.radioGroup._emitChangeEvent())}}_onTouchTargetClick(se){this._onInputInteraction(se),this.disabled||this._inputElement.nativeElement.focus()}_setDisabled(se){this._disabled!==se&&(this._disabled=se,this._changeDetector.markForCheck())}_updateTabIndex(){const se=this.radioGroup;let Me;if(Me=se&&se.selected&&!this.disabled?se.selected===this?this.tabIndex:-1:this.tabIndex,Me!==this._previousTabIndex){const $=this._inputElement?.nativeElement;$&&($.setAttribute("tabindex",Me+""),this._previousTabIndex=Me)}}static#e=this.\u0275fac=function(Me){return new(Me||ae)(e.Y36(k,8),e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(y.tE),e.Y36(l.A8),e.Y36(e.QbO,8),e.Y36(V,8),e.$8M("tabindex"))};static#t=this.\u0275cmp=e.Xpm({type:ae,selectors:[["mat-radio-button"]],viewQuery:function(Me,$){if(1&Me&&e.Gf(P,5),2&Me){let ue;e.iGM(ue=e.CRH())&&($._inputElement=ue.first)}},hostAttrs:[1,"mat-mdc-radio-button"],hostVars:15,hostBindings:function(Me,$){1&Me&&e.NdJ("focus",function(){return $._inputElement.nativeElement.focus()}),2&Me&&(e.uIk("id",$.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),e.ekj("mat-primary","primary"===$.color)("mat-accent","accent"===$.color)("mat-warn","warn"===$.color)("mat-mdc-radio-checked",$.checked)("_mat-animation-noopable",$._noopAnimations))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex",id:"id",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},exportAs:["matRadioButton"],features:[e.qOj],ngContentSelectors:d,decls:13,vars:17,consts:[[1,"mdc-form-field"],["formField",""],[1,"mdc-radio"],[1,"mat-mdc-radio-touch-target",3,"click"],["type","radio",1,"mdc-radio__native-control",3,"id","checked","disabled","required","change"],["input",""],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner-circle"],["mat-ripple","",1,"mat-radio-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mdc-label",3,"for"]],template:function(Me,$){if(1&Me&&(e.F$t(),e.TgZ(0,"div",0,1)(2,"div",2)(3,"div",3),e.NdJ("click",function(S){return $._onTouchTargetClick(S)}),e.qZA(),e.TgZ(4,"input",4,5),e.NdJ("change",function(S){return $._onInputInteraction(S)}),e.qZA(),e.TgZ(6,"div",6),e._UZ(7,"div",7)(8,"div",8),e.qZA(),e.TgZ(9,"div",9),e._UZ(10,"div",10),e.qZA()(),e.TgZ(11,"label",11),e.Hsn(12),e.qZA()()),2&Me){const ue=e.MAs(1);e.ekj("mdc-form-field--align-end","before"==$.labelPosition),e.xp6(2),e.ekj("mdc-radio--disabled",$.disabled),e.xp6(2),e.Q6J("id",$.inputId)("checked",$.checked)("disabled",$.disabled)("required",$.required),e.uIk("name",$.name)("value",$.value)("aria-label",$.ariaLabel)("aria-labelledby",$.ariaLabelledby)("aria-describedby",$.ariaDescribedby),e.xp6(5),e.Q6J("matRippleTrigger",ue)("matRippleDisabled",$._isRippleDisabled())("matRippleCentered",!0),e.xp6(2),e.Q6J("for",$.inputId)}},dependencies:[t.wG],styles:['.mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color}.mdc-radio[hidden]{display:none}.mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:"";transition:opacity 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%;transition:border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%;transition:transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1}.mdc-radio--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-radio--touch .mdc-radio__native-control{top:calc((40px - 48px) / 2);right:calc((40px - 48px) / 2);left:calc((40px - 48px) / 2);width:48px;height:48px}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{border-color:CanvasText}}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{border-color:CanvasText}}.mdc-radio__native-control:checked+.mdc-radio__background,.mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio--disabled{cursor:default;pointer-events:none}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5);transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:disabled+.mdc-radio__background,[aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background{cursor:default}.mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12;transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mat-mdc-radio-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-radio-button .mdc-radio{padding:calc((var(--mdc-radio-state-layer-size) - 20px) / 2)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-selected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-disabled-selected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-unselected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{opacity:var(--mdc-radio-disabled-unselected-icon-opacity)}.mat-mdc-radio-button .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-focus-icon-color)}.mat-mdc-radio-button .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-focus-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{top:calc(-1 * (var(--mdc-radio-state-layer-size) - 20px) / 2);left:calc(-1 * (var(--mdc-radio-state-layer-size) - 20px) / 2);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control{top:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);right:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);left:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:not([disabled]):not(:focus)~.mdc-radio__background::before{opacity:.04;transform:scale(1)}.mat-mdc-radio-button.mat-mdc-radio-checked .mdc-radio__background::before{background-color:var(--mat-radio-checked-ripple-color)}.mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element{background-color:var(--mat-radio-checked-ripple-color)}.mat-mdc-radio-button .mdc-radio--disabled+label{color:var(--mat-radio-disabled-label-color)}.mat-mdc-radio-button .mat-radio-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:50%}.mat-mdc-radio-button .mat-radio-ripple .mat-ripple-element{opacity:.14}.mat-mdc-radio-button .mat-radio-ripple::before{border-radius:50%}.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__background::before,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__outer-circle,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__inner-circle{transition:none !important}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:focus:enabled:not(:checked)~.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-focus-icon-color, black)}.mat-mdc-radio-button.cdk-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-radio-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}[dir=rtl] .mat-mdc-radio-touch-target{left:0;right:50%;transform:translate(50%, -50%)}'],encapsulation:2,changeDetection:0})}return ae})(),ie=(()=>{class ae{static#e=this.\u0275fac=function(Me){return new(Me||ae)};static#t=this.\u0275mod=e.oAB({type:ae});static#i=this.\u0275inj=e.cJS({imports:[t.BQ,m.ez,t.si,t.BQ]})}return ae})()},8525:(ze,q,p)=>{"use strict";p.d(q,{$L:()=>me,LD:()=>he,PG:()=>ee,gD:()=>ye});var e=p(3651),t=p(6814),y=p(9212),A=p(3680),l=p(5683),x=p(5407),m=p(4300),P=p(9388),d=p(2495),E=p(8337),M=p(6028),I=p(6223),k=p(8645),V=p(4911),B=p(3019),W=p(7921),j=p(4664),K=p(8180),X=p(2181),ie=p(7398),ae=p(3997),fe=p(9773),se=p(6825);const Me=["trigger"],$=["panel"];function ue(xe,de){if(1&xe&&(y.TgZ(0,"span",9),y._uU(1),y.qZA()),2&xe){const ge=y.oxw();y.xp6(1),y.Oqu(ge.placeholder)}}function S(xe,de){1&xe&&y.Hsn(0)}function n(xe,de){if(1&xe&&(y.TgZ(0,"span",11),y._uU(1),y.qZA()),2&xe){const ge=y.oxw(2);y.xp6(1),y.Oqu(ge.triggerValue)}}function s(xe,de){if(1&xe&&(y.TgZ(0,"span",10),y.YNc(1,S,1,0)(2,n,2,1),y.qZA()),2&xe){const ge=y.oxw();y.xp6(1),y.um2(1,ge.customTrigger?1:2)}}function f(xe,de){if(1&xe){const ge=y.EpF();y.O4$(),y.kcU(),y.TgZ(0,"div",12,13),y.NdJ("@transformPanel.done",function(oe){y.CHM(ge);const ve=y.oxw();return y.KtG(ve._panelDoneAnimatingStream.next(oe.toState))})("keydown",function(oe){y.CHM(ge);const ve=y.oxw();return y.KtG(ve._handleKeydown(oe))}),y.Hsn(2,1),y.qZA()}if(2&xe){const ge=y.oxw();y.Gre("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",ge._getPanelTheme(),""),y.Q6J("ngClass",ge.panelClass)("@transformPanel","showing"),y.uIk("id",ge.id+"-panel")("aria-multiselectable",ge.multiple)("aria-label",ge.ariaLabel||null)("aria-labelledby",ge._getPanelAriaLabelledby())}}const h=[[["mat-select-trigger"]],"*"],w=["mat-select-trigger","*"],D={transformPanelWrap:(0,se.X$)("transformPanelWrap",[(0,se.eR)("* => void",(0,se.IO)("@transformPanel",[(0,se.pV)()],{optional:!0}))]),transformPanel:(0,se.X$)("transformPanel",[(0,se.SB)("void",(0,se.oB)({opacity:0,transform:"scale(1, 0.8)"})),(0,se.eR)("void => showing",(0,se.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,se.oB)({opacity:1,transform:"scale(1, 1)"}))),(0,se.eR)("* => void",(0,se.jt)("100ms linear",(0,se.oB)({opacity:0})))])};let g=0;const H=new y.OlP("mat-select-scroll-strategy"),ee=new y.OlP("MAT_SELECT_CONFIG"),De={provide:H,deps:[e.aV],useFactory:function N(xe){return()=>xe.scrollStrategies.reposition()}},ot=new y.OlP("MatSelectTrigger");class je{constructor(de,ge){this.source=de,this.value=ge}}const Je=(0,A.Kr)((0,A.sb)((0,A.Id)((0,A.FD)(class{constructor(xe,de,ge,qe,oe){this._elementRef=xe,this._defaultErrorStateMatcher=de,this._parentForm=ge,this._parentFormGroup=qe,this.ngControl=oe,this.stateChanges=new k.x}}))));let ye=(()=>{class xe extends Je{_scrollOptionIntoView(ge){const qe=this.options.toArray()[ge];if(qe){const oe=this.panel.nativeElement,ve=(0,A.CB)(ge,this.options,this.optionGroups),le=qe._getHostElement();oe.scrollTop=0===ge&&1===ve?0:(0,A.jH)(le.offsetTop,le.offsetHeight,oe.scrollTop,oe.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(ge){return new je(this,ge)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(ge){this._hideSingleSelectionIndicator=(0,d.Ig)(ge),this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(ge){this._placeholder=ge,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(I.kI.required)??!1}set required(ge){this._required=(0,d.Ig)(ge),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(ge){this._multiple=(0,d.Ig)(ge)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(ge){this._disableOptionCentering=(0,d.Ig)(ge)}get compareWith(){return this._compareWith}set compareWith(ge){this._compareWith=ge,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(ge){this._assignValue(ge)&&this._onChange(ge)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(ge){this._typeaheadDebounceInterval=(0,d.su)(ge)}get id(){return this._id}set id(ge){this._id=ge||this._uid,this.stateChanges.next()}constructor(ge,qe,oe,ve,le,Ge,We,wt,mt,kt,Ae,Be,it,$e){super(le,ve,We,wt,kt),this._viewportRuler=ge,this._changeDetectorRef=qe,this._ngZone=oe,this._dir=Ge,this._parentFormField=mt,this._liveAnnouncer=it,this._defaultOptions=$e,this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._panelOpen=!1,this._compareWith=(ke,st)=>ke===st,this._uid="mat-select-"+g++,this._triggerAriaLabelledBy=null,this._destroy=new k.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+g++,this._panelDoneAnimatingStream=new k.x,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this.optionSelectionChanges=(0,V.P)(()=>{const ke=this.options;return ke?ke.changes.pipe((0,W.O)(ke),(0,j.w)(()=>(0,B.T)(...ke.map(st=>st.onSelectionChange)))):this._ngZone.onStable.pipe((0,K.q)(1),(0,j.w)(()=>this.optionSelectionChanges))}),this.openedChange=new y.vpe,this._openedStream=this.openedChange.pipe((0,X.h)(ke=>ke),(0,ie.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,X.h)(ke=>!ke),(0,ie.U)(()=>{})),this.selectionChange=new y.vpe,this.valueChange=new y.vpe,this._trackedModal=null,this._skipPredicate=ke=>!this.panelOpen&&ke.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),null!=$e?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=$e.typeaheadDebounceInterval),this._scrollStrategyFactory=Be,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(Ae)||0,this.id=this.id}ngOnInit(){this._selectionModel=new E.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,ae.x)(),(0,fe.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe((0,fe.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,fe.R)(this._destroy)).subscribe(ge=>{ge.added.forEach(qe=>qe.select()),ge.removed.forEach(qe=>qe.deselect())}),this.options.changes.pipe((0,W.O)(null),(0,fe.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const ge=this._getTriggerAriaLabelledby(),qe=this.ngControl;if(ge!==this._triggerAriaLabelledBy){const oe=this._elementRef.nativeElement;this._triggerAriaLabelledBy=ge,ge?oe.setAttribute("aria-labelledby",ge):oe.removeAttribute("aria-labelledby")}qe&&(this._previousControl!==qe.control&&(void 0!==this._previousControl&&null!==qe.disabled&&qe.disabled!==this.disabled&&(this.disabled=qe.disabled),this._previousControl=qe.control),this.updateErrorState())}ngOnChanges(ge){(ge.disabled||ge.userAriaDescribedBy)&&this.stateChanges.next(),ge.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._canOpen()&&(this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck()),this.stateChanges.next()}_applyModalPanelOwnership(){const ge=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!ge)return;const qe=`${this.id}-panel`;this._trackedModal&&(0,m.iD)(this._trackedModal,"aria-owns",qe),(0,m.Zf)(ge,"aria-owns",qe),this._trackedModal=ge}_clearFromModal(){this._trackedModal&&((0,m.iD)(this._trackedModal,"aria-owns",`${this.id}-panel`),this._trackedModal=null)}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched()),this.stateChanges.next()}writeValue(ge){this._assignValue(ge)}registerOnChange(ge){this._onChange=ge}registerOnTouched(ge){this._onTouched=ge}setDisabledState(ge){this.disabled=ge,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 ge=this._selectionModel.selected.map(qe=>qe.viewValue);return this._isRtl()&&ge.reverse(),ge.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(ge){this.disabled||(this.panelOpen?this._handleOpenKeydown(ge):this._handleClosedKeydown(ge))}_handleClosedKeydown(ge){const qe=ge.keyCode,oe=qe===M.JH||qe===M.LH||qe===M.oh||qe===M.SV,ve=qe===M.K5||qe===M.L_,le=this._keyManager;if(!le.isTyping()&&ve&&!(0,M.Vb)(ge)||(this.multiple||ge.altKey)&&oe)ge.preventDefault(),this.open();else if(!this.multiple){const Ge=this.selected;le.onKeydown(ge);const We=this.selected;We&&Ge!==We&&this._liveAnnouncer.announce(We.viewValue,1e4)}}_handleOpenKeydown(ge){const qe=this._keyManager,oe=ge.keyCode,ve=oe===M.JH||oe===M.LH,le=qe.isTyping();if(ve&&ge.altKey)ge.preventDefault(),this.close();else if(le||oe!==M.K5&&oe!==M.L_||!qe.activeItem||(0,M.Vb)(ge))if(!le&&this._multiple&&oe===M.A&&ge.ctrlKey){ge.preventDefault();const Ge=this.options.some(We=>!We.disabled&&!We.selected);this.options.forEach(We=>{We.disabled||(Ge?We.select():We.deselect())})}else{const Ge=qe.activeItemIndex;qe.onKeydown(ge),this._multiple&&ve&&ge.shiftKey&&qe.activeItem&&qe.activeItemIndex!==Ge&&qe.activeItem._selectViaInteraction()}else ge.preventDefault(),qe.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,K.q)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(ge){if(this.options.forEach(qe=>qe.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&ge)Array.isArray(ge),ge.forEach(qe=>this._selectOptionByValue(qe)),this._sortValues();else{const qe=this._selectOptionByValue(ge);qe?this._keyManager.updateActiveItem(qe):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(ge){const qe=this.options.find(oe=>{if(this._selectionModel.isSelected(oe))return!1;try{return null!=oe.value&&this._compareWith(oe.value,ge)}catch{return!1}});return qe&&this._selectionModel.select(qe),qe}_assignValue(ge){return!!(ge!==this._value||this._multiple&&Array.isArray(ge))&&(this.options&&this._setSelectionByValue(ge),this._value=ge,!0)}_getOverlayWidth(ge){return"auto"===this.panelWidth?(ge instanceof e.xu?ge.elementRef:ge||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}_syncParentProperties(){if(this.options)for(const ge of this.options)ge._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new m.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const ge=(0,B.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,fe.R)(ge)).subscribe(qe=>{this._onSelect(qe.source,qe.isUserInput),qe.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,B.T)(...this.options.map(qe=>qe._stateChanges)).pipe((0,fe.R)(ge)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(ge,qe){const oe=this._selectionModel.isSelected(ge);null!=ge.value||this._multiple?(oe!==ge.selected&&(ge.selected?this._selectionModel.select(ge):this._selectionModel.deselect(ge)),qe&&this._keyManager.setActiveItem(ge),this.multiple&&(this._sortValues(),qe&&this.focus())):(ge.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(ge.value)),oe!==this._selectionModel.isSelected(ge)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const ge=this.options.toArray();this._selectionModel.sort((qe,oe)=>this.sortComparator?this.sortComparator(qe,oe,ge):ge.indexOf(qe)-ge.indexOf(oe)),this.stateChanges.next()}}_propagateChanges(ge){let qe;qe=this.multiple?this.selected.map(oe=>oe.value):this.selected?this.selected.value:ge,this._value=qe,this.valueChange.emit(qe),this._onChange(qe),this.selectionChange.emit(this._getChangeEvent(qe)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let ge=-1;for(let qe=0;qe<this.options.length;qe++)if(!this.options.get(qe).disabled){ge=qe;break}this._keyManager.setActiveItem(ge)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0}focus(ge){this._elementRef.nativeElement.focus(ge)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const ge=this._parentFormField?.getLabelId();return this.ariaLabelledby?(ge?ge+" ":"")+this.ariaLabelledby:ge}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const ge=this._parentFormField?.getLabelId();let qe=(ge?ge+" ":"")+this._valueId;return this.ariaLabelledby&&(qe+=" "+this.ariaLabelledby),qe}_panelDoneAnimating(ge){this.openedChange.emit(ge)}setDescribedByIds(ge){ge.length?this._elementRef.nativeElement.setAttribute("aria-describedby",ge.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static#e=this.\u0275fac=function(qe){return new(qe||xe)(y.Y36(x.rL),y.Y36(y.sBO),y.Y36(y.R0b),y.Y36(A.rD),y.Y36(y.SBq),y.Y36(P.Is,8),y.Y36(I.F,8),y.Y36(I.sg,8),y.Y36(l.G_,8),y.Y36(I.a5,10),y.$8M("tabindex"),y.Y36(H),y.Y36(m.Kd),y.Y36(ee,8))};static#t=this.\u0275cmp=y.Xpm({type:xe,selectors:[["mat-select"]],contentQueries:function(qe,oe,ve){if(1&qe&&(y.Suo(ve,ot,5),y.Suo(ve,A.ey,5),y.Suo(ve,A.K7,5)),2&qe){let le;y.iGM(le=y.CRH())&&(oe.customTrigger=le.first),y.iGM(le=y.CRH())&&(oe.options=le),y.iGM(le=y.CRH())&&(oe.optionGroups=le)}},viewQuery:function(qe,oe){if(1&qe&&(y.Gf(Me,5),y.Gf($,5),y.Gf(e.pI,5)),2&qe){let ve;y.iGM(ve=y.CRH())&&(oe.trigger=ve.first),y.iGM(ve=y.CRH())&&(oe.panel=ve.first),y.iGM(ve=y.CRH())&&(oe._overlayDir=ve.first)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox","ngSkipHydration","",1,"mat-mdc-select"],hostVars:19,hostBindings:function(qe,oe){1&qe&&y.NdJ("keydown",function(le){return oe._handleKeydown(le)})("focus",function(){return oe._onFocus()})("blur",function(){return oe._onBlur()}),2&qe&&(y.uIk("id",oe.id)("tabindex",oe.tabIndex)("aria-controls",oe.panelOpen?oe.id+"-panel":null)("aria-expanded",oe.panelOpen)("aria-label",oe.ariaLabel||null)("aria-required",oe.required.toString())("aria-disabled",oe.disabled.toString())("aria-invalid",oe.errorState)("aria-activedescendant",oe._getAriaActiveDescendant()),y.ekj("mat-mdc-select-disabled",oe.disabled)("mat-mdc-select-invalid",oe.errorState)("mat-mdc-select-required",oe.required)("mat-mdc-select-empty",oe.empty)("mat-mdc-select-multiple",oe.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",hideSingleSelectionIndicator:"hideSingleSelectionIndicator",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[y._Bn([{provide:l.Eo,useExisting:xe},{provide:A.HF,useExisting:xe}]),y.qOj,y.TTD],ngContentSelectors:w,decls:11,vars:8,consts:[["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],[1,"mat-mdc-select-value"],["class","mat-mdc-select-placeholder mat-mdc-select-min-line"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","backdropClick","attach","detach"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(qe,oe){if(1&qe&&(y.F$t(h),y.TgZ(0,"div",0,1),y.NdJ("click",function(){return oe.toggle()}),y.TgZ(3,"div",2),y.YNc(4,ue,2,1,"span",3)(5,s,3,1),y.qZA(),y.TgZ(6,"div",4)(7,"div",5),y.O4$(),y.TgZ(8,"svg",6),y._UZ(9,"path",7),y.qZA()()()(),y.YNc(10,f,3,9,"ng-template",8),y.NdJ("backdropClick",function(){return oe.close()})("attach",function(){return oe._onAttached()})("detach",function(){return oe.close()})),2&qe){const ve=y.MAs(1);y.xp6(3),y.uIk("id",oe._valueId),y.xp6(1),y.um2(4,oe.empty?4:5),y.xp6(6),y.Q6J("cdkConnectedOverlayPanelClass",oe._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",oe._scrollStrategy)("cdkConnectedOverlayOrigin",oe._preferredOverlayOrigin||ve)("cdkConnectedOverlayOpen",oe.panelOpen)("cdkConnectedOverlayPositions",oe._positions)("cdkConnectedOverlayWidth",oe._overlayWidth)}},dependencies:[t.mk,e.pI,e.xu],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color);font-family:var(--mat-select-trigger-text-font);line-height:var(--mat-select-trigger-text-line-height);font-size:var(--mat-select-trigger-text-size);font-weight:var(--mat-select-trigger-text-weight);letter-spacing:var(--mat-select-trigger-text-tracking)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:translateY(-8px)}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color)}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow{color:var(--mat-select-invalid-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color)}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[D.transformPanel]},changeDetection:0})}return xe})(),me=(()=>{class xe{static#e=this.\u0275fac=function(qe){return new(qe||xe)};static#t=this.\u0275dir=y.lG2({type:xe,selectors:[["mat-select-trigger"]],features:[y._Bn([{provide:ot,useExisting:xe}])]})}return xe})(),he=(()=>{class xe{static#e=this.\u0275fac=function(qe){return new(qe||xe)};static#t=this.\u0275mod=y.oAB({type:xe});static#i=this.\u0275inj=y.cJS({providers:[De],imports:[t.ez,e.U8,A.Ng,A.BQ,x.ZD,l.lN,A.Ng,A.BQ]})}return xe})()},2651:(ze,q,p)=>{"use strict";p.d(q,{JX:()=>ot,Rh:()=>De,SJ:()=>Je,TM:()=>je});var e=p(5407),t=p(9212),y=p(3680),A=p(4300),l=p(9388),x=p(2495),m=p(6028),P=p(2831),d=p(6814),E=p(8645),M=p(2438),I=p(3019),k=p(2181),V=p(7398),B=p(975),W=p(9773),j=p(3997),K=p(8180),X=p(7921),ie=p(3620),ae=p(6825);const fe=["*"],se=["content"];function Me(ye,me){if(1&ye){const he=t.EpF();t.TgZ(0,"div",1),t.NdJ("click",function(){t.CHM(he);const de=t.oxw();return t.KtG(de._onBackdropClicked())}),t.qZA()}if(2&ye){const he=t.oxw();t.ekj("mat-drawer-shown",he._isShowingBackdrop())}}function $(ye,me){1&ye&&(t.TgZ(0,"mat-drawer-content"),t.Hsn(1,2),t.qZA())}const ue=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],S=["mat-drawer","mat-drawer-content","*"];function n(ye,me){if(1&ye){const he=t.EpF();t.TgZ(0,"div",1),t.NdJ("click",function(){t.CHM(he);const de=t.oxw();return t.KtG(de._onBackdropClicked())}),t.qZA()}if(2&ye){const he=t.oxw();t.ekj("mat-drawer-shown",he._isShowingBackdrop())}}function s(ye,me){1&ye&&(t.TgZ(0,"mat-sidenav-content"),t.Hsn(1,2),t.qZA())}const f=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],h=["mat-sidenav","mat-sidenav-content","*"],D={transformDrawer:(0,ae.X$)("transform",[(0,ae.SB)("open, open-instant",(0,ae.oB)({transform:"none",visibility:"visible"})),(0,ae.SB)("void",(0,ae.oB)({"box-shadow":"none",visibility:"hidden"})),(0,ae.eR)("void => open-instant",(0,ae.jt)("0ms")),(0,ae.eR)("void <=> open, open-instant => void",(0,ae.jt)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},v=new t.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function g(){return!1}}),r=new t.OlP("MAT_DRAWER_CONTAINER");let H=(()=>{class ye extends e.PQ{constructor(he,xe,de,ge,qe){super(de,ge,qe),this._changeDetectorRef=he,this._container=xe}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}static#e=this.\u0275fac=function(xe){return new(xe||ye)(t.Y36(t.sBO),t.Y36((0,t.Gpc)(()=>ee)),t.Y36(t.SBq),t.Y36(e.mF),t.Y36(t.R0b))};static#t=this.\u0275cmp=t.Xpm({type:ye,selectors:[["mat-drawer-content"]],hostAttrs:["ngSkipHydration","",1,"mat-drawer-content"],hostVars:4,hostBindings:function(xe,de){2&xe&&t.Udp("margin-left",de._container._contentMargins.left,"px")("margin-right",de._container._contentMargins.right,"px")},features:[t._Bn([{provide:e.PQ,useExisting:ye}]),t.qOj],ngContentSelectors:fe,decls:1,vars:0,template:function(xe,de){1&xe&&(t.F$t(),t.Hsn(0))},encapsulation:2,changeDetection:0})}return ye})(),N=(()=>{class ye{get position(){return this._position}set position(he){(he="end"===he?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(he),this._position=he,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(he){this._mode=he,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(he){this._disableClose=(0,x.Ig)(he)}get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(he){("true"===he||"false"===he||null==he)&&(he=(0,x.Ig)(he)),this._autoFocus=he}get opened(){return this._opened}set opened(he){this.toggle((0,x.Ig)(he))}constructor(he,xe,de,ge,qe,oe,ve,le){this._elementRef=he,this._focusTrapFactory=xe,this._focusMonitor=de,this._platform=ge,this._ngZone=qe,this._interactivityChecker=oe,this._doc=ve,this._container=le,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new E.x,this._animationEnd=new E.x,this._animationState="void",this.openedChange=new t.vpe(!0),this._openedStream=this.openedChange.pipe((0,k.h)(Ge=>Ge),(0,V.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,k.h)(Ge=>Ge.fromState!==Ge.toState&&0===Ge.toState.indexOf("open")),(0,B.h)(void 0)),this._closedStream=this.openedChange.pipe((0,k.h)(Ge=>!Ge),(0,V.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,k.h)(Ge=>Ge.fromState!==Ge.toState&&"void"===Ge.toState),(0,B.h)(void 0)),this._destroyed=new E.x,this.onPositionChanged=new t.vpe,this._modeChanged=new E.x,this.openedChange.subscribe(Ge=>{Ge?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{(0,M.R)(this._elementRef.nativeElement,"keydown").pipe((0,k.h)(Ge=>Ge.keyCode===m.hY&&!this.disableClose&&!(0,m.Vb)(Ge)),(0,W.R)(this._destroyed)).subscribe(Ge=>this._ngZone.run(()=>{this.close(),Ge.stopPropagation(),Ge.preventDefault()}))}),this._animationEnd.pipe((0,j.x)((Ge,We)=>Ge.fromState===We.fromState&&Ge.toState===We.toState)).subscribe(Ge=>{const{fromState:We,toState:wt}=Ge;(0===wt.indexOf("open")&&"void"===We||"void"===wt&&0===We.indexOf("open"))&&this.openedChange.emit(this._opened)})}_forceFocus(he,xe){this._interactivityChecker.isFocusable(he)||(he.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const de=()=>{he.removeEventListener("blur",de),he.removeEventListener("mousedown",de),he.removeAttribute("tabindex")};he.addEventListener("blur",de),he.addEventListener("mousedown",de)})),he.focus(xe)}_focusByCssSelector(he,xe){let de=this._elementRef.nativeElement.querySelector(he);de&&this._forceFocus(de,xe)}_takeFocus(){if(!this._focusTrap)return;const he=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(xe=>{!xe&&"function"==typeof this._elementRef.nativeElement.focus&&he.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(he){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,he):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const he=this._doc.activeElement;return!!he&&this._elementRef.nativeElement.contains(he)}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(he){return this.toggle(!0,he)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(he=!this.opened,xe){he&&xe&&(this._openedVia=xe);const de=this._setOpen(he,!he&&this._isFocusWithinDrawer(),this._openedVia||"program");return he||(this._openedVia=null),de}_setOpen(he,xe,de){return this._opened=he,he?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",xe&&this._restoreFocus(de)),this._updateFocusTrapState(),new Promise(ge=>{this.openedChange.pipe((0,K.q)(1)).subscribe(qe=>ge(qe?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=!!this._container?.hasBackdrop)}_updatePositionInParent(he){const xe=this._elementRef.nativeElement,de=xe.parentNode;"end"===he?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),de.insertBefore(this._anchor,xe)),de.appendChild(xe)):this._anchor&&this._anchor.parentNode.insertBefore(xe,this._anchor)}static#e=this.\u0275fac=function(xe){return new(xe||ye)(t.Y36(t.SBq),t.Y36(A.qV),t.Y36(A.tE),t.Y36(P.t4),t.Y36(t.R0b),t.Y36(A.ic),t.Y36(d.K0,8),t.Y36(r,8))};static#t=this.\u0275cmp=t.Xpm({type:ye,selectors:[["mat-drawer"]],viewQuery:function(xe,de){if(1&xe&&t.Gf(se,5),2&xe){let ge;t.iGM(ge=t.CRH())&&(de._content=ge.first)}},hostAttrs:["tabIndex","-1","ngSkipHydration","",1,"mat-drawer"],hostVars:12,hostBindings:function(xe,de){1&xe&&t.WFA("@transform.start",function(qe){return de._animationStarted.next(qe)})("@transform.done",function(qe){return de._animationEnd.next(qe)}),2&xe&&(t.uIk("align",null),t.d8E("@transform",de._animationState),t.ekj("mat-drawer-end","end"===de.position)("mat-drawer-over","over"===de.mode)("mat-drawer-push","push"===de.mode)("mat-drawer-side","side"===de.mode)("mat-drawer-opened",de.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:fe,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(xe,de){1&xe&&(t.F$t(),t.TgZ(0,"div",0,1),t.Hsn(2),t.qZA())},dependencies:[e.PQ],encapsulation:2,data:{animation:[D.transformDrawer]},changeDetection:0})}return ye})(),ee=(()=>{class ye{get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(he){this._autosize=(0,x.Ig)(he)}get hasBackdrop(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)}set hasBackdrop(he){this._backdropOverride=null==he?null:(0,x.Ig)(he)}get scrollable(){return this._userContent||this._content}constructor(he,xe,de,ge,qe,oe=!1,ve){this._dir=he,this._element=xe,this._ngZone=de,this._changeDetectorRef=ge,this._animationMode=ve,this._drawers=new t.n_E,this.backdropClick=new t.vpe,this._destroyed=new E.x,this._doCheckSubject=new E.x,this._contentMargins={left:null,right:null},this._contentMarginChanges=new E.x,he&&he.change.pipe((0,W.R)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),qe.change().pipe((0,W.R)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=oe}ngAfterContentInit(){this._allDrawers.changes.pipe((0,X.O)(this._allDrawers),(0,W.R)(this._destroyed)).subscribe(he=>{this._drawers.reset(he.filter(xe=>!xe._container||xe._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,X.O)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(he=>{this._watchDrawerToggle(he),this._watchDrawerPosition(he),this._watchDrawerMode(he)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,ie.b)(10),(0,W.R)(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(he=>he.open())}close(){this._drawers.forEach(he=>he.close())}updateContentMargins(){let he=0,xe=0;if(this._left&&this._left.opened)if("side"==this._left.mode)he+=this._left._getWidth();else if("push"==this._left.mode){const de=this._left._getWidth();he+=de,xe-=de}if(this._right&&this._right.opened)if("side"==this._right.mode)xe+=this._right._getWidth();else if("push"==this._right.mode){const de=this._right._getWidth();xe+=de,he-=de}he=he||null,xe=xe||null,(he!==this._contentMargins.left||xe!==this._contentMargins.right)&&(this._contentMargins={left:he,right:xe},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(he){he._animationStarted.pipe((0,k.h)(xe=>xe.fromState!==xe.toState),(0,W.R)(this._drawers.changes)).subscribe(xe=>{"open-instant"!==xe.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==he.mode&&he.openedChange.pipe((0,W.R)(this._drawers.changes)).subscribe(()=>this._setContainerClass(he.opened))}_watchDrawerPosition(he){he&&he.onPositionChanged.pipe((0,W.R)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,K.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(he){he&&he._modeChanged.pipe((0,W.R)((0,I.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(he){const xe=this._element.nativeElement.classList,de="mat-drawer-container-has-open";he?xe.add(de):xe.remove(de)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(he=>{"end"==he.position?this._end=he:this._start=he}),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(he=>he&&!he.disableClose&&this._drawerHasBackdrop(he)).forEach(he=>he._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)}_isDrawerOpen(he){return null!=he&&he.opened}_drawerHasBackdrop(he){return null==this._backdropOverride?!!he&&"side"!==he.mode:this._backdropOverride}static#e=this.\u0275fac=function(xe){return new(xe||ye)(t.Y36(l.Is,8),t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(e.rL),t.Y36(v),t.Y36(t.QbO,8))};static#t=this.\u0275cmp=t.Xpm({type:ye,selectors:[["mat-drawer-container"]],contentQueries:function(xe,de,ge){if(1&xe&&(t.Suo(ge,H,5),t.Suo(ge,N,5)),2&xe){let qe;t.iGM(qe=t.CRH())&&(de._content=qe.first),t.iGM(qe=t.CRH())&&(de._allDrawers=qe)}},viewQuery:function(xe,de){if(1&xe&&t.Gf(H,5),2&xe){let ge;t.iGM(ge=t.CRH())&&(de._userContent=ge.first)}},hostAttrs:["ngSkipHydration","",1,"mat-drawer-container"],hostVars:2,hostBindings:function(xe,de){2&xe&&t.ekj("mat-drawer-container-explicit-backdrop",de._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[t._Bn([{provide:r,useExisting:ye}])],ngContentSelectors:S,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(xe,de){1&xe&&(t.F$t(ue),t.YNc(0,Me,1,2,"div",0),t.Hsn(1),t.Hsn(2,1),t.YNc(3,$,2,0,"mat-drawer-content")),2&xe&&(t.um2(0,de.hasBackdrop?0:-1),t.xp6(3),t.um2(3,de._content?-1:3))},dependencies:[H],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color);background-color:var(--mat-sidenav-content-background-color);box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color)}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{box-shadow:0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);position:relative;z-index:4;color:var(--mat-sidenav-container-text-color);background-color:var(--mat-sidenav-container-background-color);border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0})}return ye})(),De=(()=>{class ye extends H{constructor(he,xe,de,ge,qe){super(he,xe,de,ge,qe)}static#e=this.\u0275fac=function(xe){return new(xe||ye)(t.Y36(t.sBO),t.Y36((0,t.Gpc)(()=>je)),t.Y36(t.SBq),t.Y36(e.mF),t.Y36(t.R0b))};static#t=this.\u0275cmp=t.Xpm({type:ye,selectors:[["mat-sidenav-content"]],hostAttrs:["ngSkipHydration","",1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(xe,de){2&xe&&t.Udp("margin-left",de._container._contentMargins.left,"px")("margin-right",de._container._contentMargins.right,"px")},features:[t._Bn([{provide:e.PQ,useExisting:ye}]),t.qOj],ngContentSelectors:fe,decls:1,vars:0,template:function(xe,de){1&xe&&(t.F$t(),t.Hsn(0))},encapsulation:2,changeDetection:0})}return ye})(),ot=(()=>{class ye extends N{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(he){this._fixedInViewport=(0,x.Ig)(he)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(he){this._fixedTopGap=(0,x.su)(he)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(he){this._fixedBottomGap=(0,x.su)(he)}static#e=this.\u0275fac=(()=>{let he;return function(de){return(he||(he=t.n5z(ye)))(de||ye)}})();static#t=this.\u0275cmp=t.Xpm({type:ye,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1","ngSkipHydration","",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(xe,de){2&xe&&(t.uIk("align",null),t.Udp("top",de.fixedInViewport?de.fixedTopGap:null,"px")("bottom",de.fixedInViewport?de.fixedBottomGap:null,"px"),t.ekj("mat-drawer-end","end"===de.position)("mat-drawer-over","over"===de.mode)("mat-drawer-push","push"===de.mode)("mat-drawer-side","side"===de.mode)("mat-drawer-opened",de.opened)("mat-sidenav-fixed",de.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[t.qOj],ngContentSelectors:fe,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(xe,de){1&xe&&(t.F$t(),t.TgZ(0,"div",0,1),t.Hsn(2),t.qZA())},dependencies:[e.PQ],encapsulation:2,data:{animation:[D.transformDrawer]},changeDetection:0})}return ye})(),je=(()=>{class ye extends ee{constructor(){super(...arguments),this._allDrawers=void 0,this._content=void 0}static#e=this.\u0275fac=(()=>{let he;return function(de){return(he||(he=t.n5z(ye)))(de||ye)}})();static#t=this.\u0275cmp=t.Xpm({type:ye,selectors:[["mat-sidenav-container"]],contentQueries:function(xe,de,ge){if(1&xe&&(t.Suo(ge,De,5),t.Suo(ge,ot,5)),2&xe){let qe;t.iGM(qe=t.CRH())&&(de._content=qe.first),t.iGM(qe=t.CRH())&&(de._allDrawers=qe)}},hostAttrs:["ngSkipHydration","",1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(xe,de){2&xe&&t.ekj("mat-drawer-container-explicit-backdrop",de._backdropOverride)},exportAs:["matSidenavContainer"],features:[t._Bn([{provide:r,useExisting:ye}]),t.qOj],ngContentSelectors:h,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(xe,de){1&xe&&(t.F$t(f),t.YNc(0,n,1,2,"div",0),t.Hsn(1),t.Hsn(2,1),t.YNc(3,s,2,0,"mat-sidenav-content")),2&xe&&(t.um2(0,de.hasBackdrop?0:-1),t.xp6(3),t.um2(3,de._content?-1:3))},dependencies:[De],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color);background-color:var(--mat-sidenav-content-background-color);box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color)}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{box-shadow:0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);position:relative;z-index:4;color:var(--mat-sidenav-container-text-color);background-color:var(--mat-sidenav-container-background-color);border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0})}return ye})(),Je=(()=>{class ye{static#e=this.\u0275fac=function(xe){return new(xe||ye)};static#t=this.\u0275mod=t.oAB({type:ye});static#i=this.\u0275inj=t.cJS({imports:[y.BQ,e.ZD,e.ZD,y.BQ]})}return ye})()},2599:(ze,q,p)=>{"use strict";p.d(q,{Rr:()=>I,rP:()=>W});var e=p(9212),t=p(6223),y=p(4300),A=p(3680);const l=["switch"];function x(j,K){1&j&&(e.TgZ(0,"div",12),e.O4$(),e.TgZ(1,"svg",13),e._UZ(2,"path",14),e.qZA(),e.TgZ(3,"svg",15),e._UZ(4,"path",16),e.qZA()())}const m=["*"],P=new e.OlP("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1})}),d={provide:t.JU,useExisting:(0,e.Gpc)(()=>I),multi:!0};class E{constructor(K,X){this.source=K,this.checked=X}}let M=0,I=(()=>{class j{_createChangeEvent(X){return new E(this,X)}get buttonId(){return`${this.id||this._uniqueId}-button`}focus(){this._switchElement.nativeElement.focus()}get checked(){return this._checked}set checked(X){this._checked=X,this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(X,ie,ae,fe,se,Me){this._elementRef=X,this._focusMonitor=ie,this._changeDetectorRef=ae,this.defaults=se,this._onChange=$=>{},this._onTouched=()=>{},this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this.change=new e.vpe,this.toggleChange=new e.vpe,this.tabIndex=parseInt(fe)||0,this.color=se.color||"accent",this._noopAnimations="NoopAnimations"===Me,this.id=this._uniqueId="mat-mdc-slide-toggle-"+ ++M,this.hideIcon=se.hideIcon??!1,this._labelId=this._uniqueId+"-label"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(X=>{"keyboard"===X||"program"===X?(this._focused=!0,this._changeDetectorRef.markForCheck()):X||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(X){this.checked=!!X}registerOnChange(X){this._onChange=X}registerOnTouched(X){this._onTouched=X}setDisabledState(X){this.disabled=X,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}_handleClick(){this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new E(this,this.checked)))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}static#e=this.\u0275fac=function(ie){return new(ie||j)(e.Y36(e.SBq),e.Y36(y.tE),e.Y36(e.sBO),e.$8M("tabindex"),e.Y36(P),e.Y36(e.QbO,8))};static#t=this.\u0275cmp=e.Xpm({type:j,selectors:[["mat-slide-toggle"]],viewQuery:function(ie,ae){if(1&ie&&e.Gf(l,5),2&ie){let fe;e.iGM(fe=e.CRH())&&(ae._switchElement=fe.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(ie,ae){2&ie&&(e.Ikx("id",ae.id),e.uIk("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),e.Tol(ae.color?"mat-"+ae.color:""),e.ekj("mat-mdc-slide-toggle-focused",ae._focused)("mat-mdc-slide-toggle-checked",ae.checked)("_mat-animation-noopable",ae._noopAnimations))},inputs:{disabled:["disabled","disabled",e.VuI],disableRipple:["disableRipple","disableRipple",e.VuI],color:"color",tabIndex:["tabIndex","tabIndex",X=>null==X?0:(0,e.Cb_)(X)],name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:["required","required",e.VuI],checked:["checked","checked",e.VuI],hideIcon:["hideIcon","hideIcon",e.VuI]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[e._Bn([d]),e.Xq5],ngContentSelectors:m,decls:13,vars:25,consts:[[1,"mdc-form-field"],["role","switch","type","button",1,"mdc-switch",3,"tabIndex","disabled","click"],["switch",""],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],["class","mdc-switch__icons"],[1,"mdc-label",3,"for","click"],[1,"mdc-switch__icons"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(ie,ae){if(1&ie&&(e.F$t(),e.TgZ(0,"div",0)(1,"button",1,2),e.NdJ("click",function(){return ae._handleClick()}),e._UZ(3,"div",3),e.TgZ(4,"div",4)(5,"div",5)(6,"div",6),e._UZ(7,"div",7),e.qZA(),e.TgZ(8,"div",8),e._UZ(9,"div",9),e.qZA(),e.YNc(10,x,5,0,"div",10),e.qZA()()(),e.TgZ(11,"label",11),e.NdJ("click",function(se){return se.stopPropagation()}),e.Hsn(12),e.qZA()()),2&ie){const fe=e.MAs(2);e.ekj("mdc-form-field--align-end","before"==ae.labelPosition),e.xp6(1),e.ekj("mdc-switch--selected",ae.checked)("mdc-switch--unselected",!ae.checked)("mdc-switch--checked",ae.checked)("mdc-switch--disabled",ae.disabled),e.Q6J("tabIndex",ae.disabled?-1:ae.tabIndex)("disabled",ae.disabled),e.uIk("id",ae.buttonId)("name",ae.name)("aria-label",ae.ariaLabel)("aria-labelledby",ae._getAriaLabelledBy())("aria-describedby",ae.ariaDescribedby)("aria-required",ae.required||null)("aria-checked",ae.checked),e.xp6(8),e.Q6J("matRippleTrigger",fe)("matRippleDisabled",ae.disableRipple||ae.disabled)("matRippleCentered",!0),e.xp6(1),e.um2(10,ae.hideIcon?-1:10),e.xp6(1),e.Q6J("for",ae.buttonId),e.uIk("id",ae._labelId)}},dependencies:[A.wG],styles:['.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color)}.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative}.mdc-switch[hidden]{display:none}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%}@media screen and (forced-colors: active){.mdc-switch__track::before,.mdc-switch__track::after{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(-100%)}[dir=rtl] .mdc-switch__track::after,.mdc-switch__track[dir=rtl]::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track[dir=rtl]::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0)}[dir=rtl] .mdc-switch__handle-track,.mdc-switch__handle-track[dir=rtl]{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track,.mdc-switch--selected .mdc-switch__handle-track[dir=rtl]{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto}[dir=rtl] .mdc-switch__handle,.mdc-switch__handle[dir=rtl]{left:auto;right:0}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media screen and (forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mdc-switch{width:var(--mdc-switch-track-width)}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color)}.mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color)}.mdc-switch .mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation)}.mdc-switch .mdc-switch__focus-ring-wrapper,.mdc-switch .mdc-switch__handle{height:var(--mdc-switch-handle-height)}.mdc-switch:disabled .mdc-switch__handle::after{opacity:var(--mdc-switch-disabled-handle-opacity)}.mdc-switch .mdc-switch__handle{border-radius:var(--mdc-switch-handle-shape)}.mdc-switch .mdc-switch__handle{width:var(--mdc-switch-handle-width)}.mdc-switch .mdc-switch__handle-track{width:calc(100% - var(--mdc-switch-handle-width))}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:var(--mdc-switch-selected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:var(--mdc-switch-unselected-icon-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity)}.mdc-switch.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size);height:var(--mdc-switch-selected-icon-size)}.mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size);height:var(--mdc-switch-unselected-icon-size)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-hover-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-focus-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-pressed-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-hover-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-focus-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-pressed-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-selected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-selected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-unselected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-unselected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch .mdc-switch__ripple{height:var(--mdc-switch-state-layer-size);width:var(--mdc-switch-state-layer-size)}.mdc-switch .mdc-switch__track{height:var(--mdc-switch-track-height)}.mdc-switch:disabled .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity)}.mdc-switch:enabled .mdc-switch__track::after{background:var(--mdc-switch-selected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color)}.mdc-switch:enabled .mdc-switch__track::before{background:var(--mdc-switch-unselected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color)}.mdc-switch .mdc-switch__track{border-radius:var(--mdc-switch-track-shape)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation-shadow)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation-shadow)}.mat-mdc-slide-toggle .mdc-label{font-family:var(--mat-slide-toggle-label-text-font);font-size:var(--mat-slide-toggle-label-text-size);letter-spacing:var(--mat-slide-toggle-label-text-tracking);line-height:var(--mat-slide-toggle-label-text-line-height);font-weight:var(--mat-slide-toggle-label-text-weight)}.mat-mdc-slide-toggle{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle .mdc-switch__ripple::after{content:"";opacity:0}.mat-mdc-slide-toggle .mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:opacity 75ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-mdc-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-elevation-overlay,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}.mat-mdc-slide-toggle .mdc-switch:enabled+.mdc-label{cursor:pointer}'],encapsulation:2,changeDetection:0})}return j})(),B=(()=>{class j{static#e=this.\u0275fac=function(ie){return new(ie||j)};static#t=this.\u0275mod=e.oAB({type:j});static#i=this.\u0275inj=e.cJS({})}return j})(),W=(()=>{class j{static#e=this.\u0275fac=function(ie){return new(ie||j)};static#t=this.\u0275mod=e.oAB({type:j});static#i=this.\u0275inj=e.cJS({imports:[B,A.BQ,A.si,B,A.BQ]})}return j})()},2939:(ze,q,p)=>{"use strict";p.d(q,{Ve:()=>s,ZX:()=>w,ux:()=>f});var e=p(9212),t=p(6814),y=p(2296),A=p(8645),l=p(6825),x=p(8484),m=p(2831),P=p(8180),d=p(9773),E=p(4300),M=p(1088),I=p(3651),k=p(3680);function V(D,O){if(1&D){const v=e.EpF();e.TgZ(0,"div",1)(1,"button",2),e.NdJ("click",function(){e.CHM(v);const g=e.oxw();return e.KtG(g.action())}),e._uU(2),e.qZA()()}if(2&D){const v=e.oxw();e.xp6(2),e.hij(" ",v.data.action," ")}}const B=["label"];function W(D,O){}const j=Math.pow(2,31)-1;class K{constructor(O,v){this._overlayRef=v,this._afterDismissed=new A.x,this._afterOpened=new A.x,this._onAction=new A.x,this._dismissedByAction=!1,this.containerInstance=O,O._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(O){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(O,j))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}const X=new e.OlP("MatSnackBarData");class ie{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}let ae=(()=>{class D{static#e=this.\u0275fac=function(r){return new(r||D)};static#t=this.\u0275dir=e.lG2({type:D,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"],standalone:!0})}return D})(),fe=(()=>{class D{static#e=this.\u0275fac=function(r){return new(r||D)};static#t=this.\u0275dir=e.lG2({type:D,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"],standalone:!0})}return D})(),se=(()=>{class D{static#e=this.\u0275fac=function(r){return new(r||D)};static#t=this.\u0275dir=e.lG2({type:D,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"],standalone:!0})}return D})(),Me=(()=>{class D{constructor(v,r){this.snackBarRef=v,this.data=r}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static#e=this.\u0275fac=function(r){return new(r||D)(e.Y36(K),e.Y36(X))};static#t=this.\u0275cmp=e.Xpm({type:D,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],standalone:!0,features:[e.jDz],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(r,g){1&r&&(e.TgZ(0,"div",0),e._uU(1),e.qZA(),e.YNc(2,V,3,1,"div",1)),2&r&&(e.xp6(1),e.hij(" ",g.data.message,"\n"),e.xp6(1),e.um2(2,g.hasAction?2:-1))},dependencies:[y.ot,y.lW,ae,fe,se,t.ez],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0})}return D})();const $={snackBarState:(0,l.X$)("state",[(0,l.SB)("void, hidden",(0,l.oB)({transform:"scale(0.8)",opacity:0})),(0,l.SB)("visible",(0,l.oB)({transform:"scale(1)",opacity:1})),(0,l.eR)("* => visible",(0,l.jt)("150ms cubic-bezier(0, 0, 0.2, 1)")),(0,l.eR)("* => void, * => hidden",(0,l.jt)("75ms cubic-bezier(0.4, 0.0, 1, 1)",(0,l.oB)({opacity:0})))])};let ue=0,S=(()=>{class D extends x.en{constructor(v,r,g,H,N){super(),this._ngZone=v,this._elementRef=r,this._changeDetectorRef=g,this._platform=H,this.snackBarConfig=N,this._document=(0,e.f3M)(t.K0),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new A.x,this._onExit=new A.x,this._onEnter=new A.x,this._animationState="void",this._liveElementId="mat-snack-bar-container-live-"+ue++,this.attachDomPortal=ee=>{this._assertNotAttached();const De=this._portalOutlet.attachDomPortal(ee);return this._afterPortalAttached(),De},this._live="assertive"!==N.politeness||N.announcementMessage?"off"===N.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(v){this._assertNotAttached();const r=this._portalOutlet.attachComponentPortal(v);return this._afterPortalAttached(),r}attachTemplatePortal(v){this._assertNotAttached();const r=this._portalOutlet.attachTemplatePortal(v);return this._afterPortalAttached(),r}onAnimationEnd(v){const{fromState:r,toState:g}=v;if(("void"===g&&"void"!==r||"hidden"===g)&&this._completeExit(),"visible"===g){const H=this._onEnter;this._ngZone.run(()=>{H.next(),H.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe((0,P.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){const v=this._elementRef.nativeElement,r=this.snackBarConfig.panelClass;r&&(Array.isArray(r)?r.forEach(N=>v.classList.add(N)):v.classList.add(r)),this._exposeToModals();const g=this._label.nativeElement,H="mdc-snackbar__label";g.classList.toggle(H,!g.querySelector(`.${H}`))}_exposeToModals(){const v=this._liveElementId,r=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let g=0;g<r.length;g++){const H=r[g],N=H.getAttribute("aria-owns");this._trackedModals.add(H),N?-1===N.indexOf(v)&&H.setAttribute("aria-owns",N+" "+v):H.setAttribute("aria-owns",v)}}_clearFromModals(){this._trackedModals.forEach(v=>{const r=v.getAttribute("aria-owns");if(r){const g=r.replace(this._liveElementId,"").trim();g.length>0?v.setAttribute("aria-owns",g):v.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const v=this._elementRef.nativeElement.querySelector("[aria-hidden]"),r=this._elementRef.nativeElement.querySelector("[aria-live]");if(v&&r){let g=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&v.contains(document.activeElement)&&(g=document.activeElement),v.removeAttribute("aria-hidden"),r.appendChild(v),g?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static#e=this.\u0275fac=function(r){return new(r||D)(e.Y36(e.R0b),e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(m.t4),e.Y36(ie))};static#t=this.\u0275cmp=e.Xpm({type:D,selectors:[["mat-snack-bar-container"]],viewQuery:function(r,g){if(1&r&&(e.Gf(x.Pl,7),e.Gf(B,7)),2&r){let H;e.iGM(H=e.CRH())&&(g._portalOutlet=H.first),e.iGM(H=e.CRH())&&(g._label=H.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(r,g){1&r&&e.WFA("@state.done",function(N){return g.onAnimationEnd(N)}),2&r&&e.d8E("@state",g._animationState)},standalone:!0,features:[e.qOj,e.jDz],decls:6,vars:3,consts:[[1,"mdc-snackbar__surface"],[1,"mat-mdc-snack-bar-label"],["label",""],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(r,g){1&r&&(e.TgZ(0,"div",0)(1,"div",1,2)(3,"div",3),e.YNc(4,W,0,0,"ng-template",4),e.qZA(),e._UZ(5,"div"),e.qZA()()),2&r&&(e.xp6(5),e.uIk("aria-live",g._live)("role",g._role)("id",g._liveElementId))},dependencies:[x.eL,x.Pl],styles:['.mdc-snackbar{display:none;position:fixed;right:0;bottom:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;pointer-events:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-snackbar--opening,.mdc-snackbar--open,.mdc-snackbar--closing{display:flex}.mdc-snackbar--open .mdc-snackbar__label,.mdc-snackbar--open .mdc-snackbar__actions{visibility:visible}.mdc-snackbar__surface{padding-left:0;padding-right:8px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;transform:scale(0.8);opacity:0}.mdc-snackbar__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-snackbar__surface::before{border-color:CanvasText}}[dir=rtl] .mdc-snackbar__surface,.mdc-snackbar__surface[dir=rtl]{padding-left:8px;padding-right:0}.mdc-snackbar--open .mdc-snackbar__surface{transform:scale(1);opacity:1;pointer-events:auto}.mdc-snackbar--closing .mdc-snackbar__surface{transform:scale(1)}.mdc-snackbar__label{padding-left:16px;padding-right:8px;width:100%;flex-grow:1;box-sizing:border-box;margin:0;visibility:hidden;padding-top:14px;padding-bottom:14px}[dir=rtl] .mdc-snackbar__label,.mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px}.mdc-snackbar__label::before{display:inline;content:attr(data-mdc-snackbar-label-text)}.mdc-snackbar__actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;visibility:hidden}.mdc-snackbar__action+.mdc-snackbar__dismiss{margin-left:8px;margin-right:0}[dir=rtl] .mdc-snackbar__action+.mdc-snackbar__dismiss,.mdc-snackbar__action+.mdc-snackbar__dismiss[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-snack-bar-container{margin:8px;position:static}.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:344px}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:100%}}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container{width:100vw}}.mat-mdc-snack-bar-container .mdc-snackbar__surface{max-width:672px}.mat-mdc-snack-bar-container .mdc-snackbar__surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{background-color:var(--mdc-snackbar-container-color)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{border-radius:var(--mdc-snackbar-container-shape)}.mat-mdc-snack-bar-container .mdc-snackbar__label{color:var(--mdc-snackbar-supporting-text-color)}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-size:var(--mdc-snackbar-supporting-text-size);font-family:var(--mdc-snackbar-supporting-text-font);font-weight:var(--mdc-snackbar-supporting-text-weight);line-height:var(--mdc-snackbar-supporting-text-line-height)}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-snack-bar-button-color);--mat-text-button-state-layer-color:currentColor;--mat-text-button-ripple-color:currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}.mat-mdc-snack-bar-container .mdc-snackbar__label::before{display:none}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-handset .mdc-snackbar__surface{width:100%}'],encapsulation:2,data:{animation:[$.snackBarState]}})}return D})();const s=new e.OlP("mat-snack-bar-default-options",{providedIn:"root",factory:function n(){return new ie}});let f=(()=>{class D{get _openedSnackBarRef(){const v=this._parentSnackBar;return v?v._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(v){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=v:this._snackBarRefAtThisLevel=v}constructor(v,r,g,H,N,ee){this._overlay=v,this._live=r,this._injector=g,this._breakpointObserver=H,this._parentSnackBar=N,this._defaultConfig=ee,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=Me,this.snackBarContainerComponent=S,this.handsetCssClass="mat-mdc-snack-bar-handset"}openFromComponent(v,r){return this._attach(v,r)}openFromTemplate(v,r){return this._attach(v,r)}open(v,r="",g){const H={...this._defaultConfig,...g};return H.data={message:v,action:r},H.announcementMessage===v&&(H.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,H)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(v,r){const H=e.zs3.create({parent:r&&r.viewContainerRef&&r.viewContainerRef.injector||this._injector,providers:[{provide:ie,useValue:r}]}),N=new x.C5(this.snackBarContainerComponent,r.viewContainerRef,H),ee=v.attach(N);return ee.instance.snackBarConfig=r,ee.instance}_attach(v,r){const g={...new ie,...this._defaultConfig,...r},H=this._createOverlay(g),N=this._attachSnackBarContainer(H,g),ee=new K(N,H);if(v instanceof e.Rgc){const De=new x.UE(v,null,{$implicit:g.data,snackBarRef:ee});ee.instance=N.attachTemplatePortal(De)}else{const De=this._createInjector(g,ee),ot=new x.C5(v,void 0,De),je=N.attachComponentPortal(ot);ee.instance=je.instance}return this._breakpointObserver.observe(M.u3.HandsetPortrait).pipe((0,d.R)(H.detachments())).subscribe(De=>{H.overlayElement.classList.toggle(this.handsetCssClass,De.matches)}),g.announcementMessage&&N._onAnnounce.subscribe(()=>{this._live.announce(g.announcementMessage,g.politeness)}),this._animateSnackBar(ee,g),this._openedSnackBarRef=ee,this._openedSnackBarRef}_animateSnackBar(v,r){v.afterDismissed().subscribe(()=>{this._openedSnackBarRef==v&&(this._openedSnackBarRef=null),r.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{v.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):v.containerInstance.enter(),r.duration&&r.duration>0&&v.afterOpened().subscribe(()=>v._dismissAfter(r.duration))}_createOverlay(v){const r=new I.X_;r.direction=v.direction;let g=this._overlay.position().global();const H="rtl"===v.direction,N="left"===v.horizontalPosition||"start"===v.horizontalPosition&&!H||"end"===v.horizontalPosition&&H,ee=!N&&"center"!==v.horizontalPosition;return N?g.left("0"):ee?g.right("0"):g.centerHorizontally(),"top"===v.verticalPosition?g.top("0"):g.bottom("0"),r.positionStrategy=g,this._overlay.create(r)}_createInjector(v,r){return e.zs3.create({parent:v&&v.viewContainerRef&&v.viewContainerRef.injector||this._injector,providers:[{provide:K,useValue:r},{provide:X,useValue:v.data}]})}static#e=this.\u0275fac=function(r){return new(r||D)(e.LFG(I.aV),e.LFG(E.Kd),e.LFG(e.zs3),e.LFG(M.Yg),e.LFG(D,12),e.LFG(s))};static#t=this.\u0275prov=e.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})(),w=(()=>{class D{static#e=this.\u0275fac=function(r){return new(r||D)};static#t=this.\u0275mod=e.oAB({type:D});static#i=this.\u0275inj=e.cJS({providers:[f],imports:[I.U8,x.eL,y.ot,k.BQ,Me,S,k.BQ]})}return D})()},3566:(ze,q,p)=>{"use strict";p.d(q,{JX:()=>S,YE:()=>K,nU:()=>ue});var e=p(9212),t=p(4300),y=p(2495),A=p(6028),l=p(3680),x=p(8645),m=p(3019),P=p(6825);const d=["mat-sort-header",""];function E(n,s){if(1&n){const f=e.EpF();e.TgZ(0,"div",3),e.NdJ("@arrowPosition.start",function(){e.CHM(f);const w=e.oxw();return e.KtG(w._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){e.CHM(f);const w=e.oxw();return e.KtG(w._disableViewStateAnimation=!1)}),e._UZ(1,"div",4),e.TgZ(2,"div",5),e._UZ(3,"div",6)(4,"div",7)(5,"div",8),e.qZA()()}if(2&n){const f=e.oxw();e.Q6J("@arrowOpacity",f._getArrowViewState())("@arrowPosition",f._getArrowViewState())("@allowChildren",f._getArrowDirectionState()),e.xp6(2),e.Q6J("@indicator",f._getArrowDirectionState()),e.xp6(1),e.Q6J("@leftPointer",f._getArrowDirectionState()),e.xp6(1),e.Q6J("@rightPointer",f._getArrowDirectionState())}}const M=["*"],W=new e.OlP("MAT_SORT_DEFAULT_OPTIONS"),j=(0,l.dB)((0,l.Id)(class{}));let K=(()=>{class n extends j{get direction(){return this._direction}set direction(f){this._direction=f}get disableClear(){return this._disableClear}set disableClear(f){this._disableClear=(0,y.Ig)(f)}constructor(f){super(),this._defaultOptions=f,this.sortables=new Map,this._stateChanges=new x.x,this.start="asc",this._direction="",this.sortChange=new e.vpe}register(f){this.sortables.set(f.id,f)}deregister(f){this.sortables.delete(f.id)}sort(f){this.active!=f.id?(this.active=f.id,this.direction=f.start?f.start:this.start):this.direction=this.getNextSortDirection(f),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(f){if(!f)return"";let w=function X(n,s){let f=["asc","desc"];return"desc"==n&&f.reverse(),s||f.push(""),f}(f.start||this.start,f?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear),D=w.indexOf(this.direction)+1;return D>=w.length&&(D=0),w[D]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}static#e=this.\u0275fac=function(h){return new(h||n)(e.Y36(W,8))};static#t=this.\u0275dir=e.lG2({type:n,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],active:["matSortActive","active"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[e.qOj,e.TTD]})}return n})();const ie=l.mZ.ENTERING+" "+l.yN.STANDARD_CURVE,ae={indicator:(0,P.X$)("indicator",[(0,P.SB)("active-asc, asc",(0,P.oB)({transform:"translateY(0px)"})),(0,P.SB)("active-desc, desc",(0,P.oB)({transform:"translateY(10px)"})),(0,P.eR)("active-asc <=> active-desc",(0,P.jt)(ie))]),leftPointer:(0,P.X$)("leftPointer",[(0,P.SB)("active-asc, asc",(0,P.oB)({transform:"rotate(-45deg)"})),(0,P.SB)("active-desc, desc",(0,P.oB)({transform:"rotate(45deg)"})),(0,P.eR)("active-asc <=> active-desc",(0,P.jt)(ie))]),rightPointer:(0,P.X$)("rightPointer",[(0,P.SB)("active-asc, asc",(0,P.oB)({transform:"rotate(45deg)"})),(0,P.SB)("active-desc, desc",(0,P.oB)({transform:"rotate(-45deg)"})),(0,P.eR)("active-asc <=> active-desc",(0,P.jt)(ie))]),arrowOpacity:(0,P.X$)("arrowOpacity",[(0,P.SB)("desc-to-active, asc-to-active, active",(0,P.oB)({opacity:1})),(0,P.SB)("desc-to-hint, asc-to-hint, hint",(0,P.oB)({opacity:.54})),(0,P.SB)("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",(0,P.oB)({opacity:0})),(0,P.eR)("* => asc, * => desc, * => active, * => hint, * => void",(0,P.jt)("0ms")),(0,P.eR)("* <=> *",(0,P.jt)(ie))]),arrowPosition:(0,P.X$)("arrowPosition",[(0,P.eR)("* => desc-to-hint, * => desc-to-active",(0,P.jt)(ie,(0,P.F4)([(0,P.oB)({transform:"translateY(-25%)"}),(0,P.oB)({transform:"translateY(0)"})]))),(0,P.eR)("* => hint-to-desc, * => active-to-desc",(0,P.jt)(ie,(0,P.F4)([(0,P.oB)({transform:"translateY(0)"}),(0,P.oB)({transform:"translateY(25%)"})]))),(0,P.eR)("* => asc-to-hint, * => asc-to-active",(0,P.jt)(ie,(0,P.F4)([(0,P.oB)({transform:"translateY(25%)"}),(0,P.oB)({transform:"translateY(0)"})]))),(0,P.eR)("* => hint-to-asc, * => active-to-asc",(0,P.jt)(ie,(0,P.F4)([(0,P.oB)({transform:"translateY(0)"}),(0,P.oB)({transform:"translateY(-25%)"})]))),(0,P.SB)("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",(0,P.oB)({transform:"translateY(0)"})),(0,P.SB)("hint-to-desc, active-to-desc, desc",(0,P.oB)({transform:"translateY(-25%)"})),(0,P.SB)("hint-to-asc, active-to-asc, asc",(0,P.oB)({transform:"translateY(25%)"}))]),allowChildren:(0,P.X$)("allowChildren",[(0,P.eR)("* <=> *",[(0,P.IO)("@*",(0,P.pV)(),{optional:!0})])])};let fe=(()=>{class n{constructor(){this.changes=new x.x}static#e=this.\u0275fac=function(h){return new(h||n)};static#t=this.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();const Me={provide:fe,deps:[[new e.FiY,new e.tp0,fe]],useFactory:function se(n){return n||new fe}},$=(0,l.Id)(class{});let ue=(()=>{class n extends ${get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(f){this._updateSortActionDescription(f)}get disableClear(){return this._disableClear}set disableClear(f){this._disableClear=(0,y.Ig)(f)}constructor(f,h,w,D,O,v,r,g){super(),this._intl=f,this._changeDetectorRef=h,this._sort=w,this._columnDef=D,this._focusMonitor=O,this._elementRef=v,this._ariaDescriber=r,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._sortActionDescription="Sort",g?.arrowPosition&&(this.arrowPosition=g?.arrowPosition),this._handleStateChanges()}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(f=>{const h=!!f;h!==this._showIndicatorHint&&(this._setIndicatorHintVisible(h),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(f){this._isDisabled()&&f||(this._showIndicatorHint=f,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(f){this._viewState=f||{},this._disableViewStateAnimation&&(this._viewState={toState:f.toState})}_toggleOnInteraction(){this._sort.sort(this),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(f){!this._isDisabled()&&(f.keyCode===A.L_||f.keyCode===A.K5)&&(f.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const f=this._viewState.fromState;return(f?`${f}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(f){this._sortButton&&(this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription),this._ariaDescriber?.describe(this._sortButton,f)),this._sortActionDescription=f}_handleStateChanges(){this._rerenderSubscription=(0,m.T)(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}static#e=this.\u0275fac=function(h){return new(h||n)(e.Y36(fe),e.Y36(e.sBO),e.Y36(K,8),e.Y36("MAT_SORT_HEADER_COLUMN_DEF",8),e.Y36(t.tE),e.Y36(e.SBq),e.Y36(t.$s,8),e.Y36(W,8))};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(h,w){1&h&&e.NdJ("click",function(){return w._handleClick()})("keydown",function(O){return w._handleKeydown(O)})("mouseenter",function(){return w._setIndicatorHintVisible(!0)})("mouseleave",function(){return w._setIndicatorHintVisible(!1)}),2&h&&(e.uIk("aria-sort",w._getAriaSortAttribute()),e.ekj("mat-sort-header-disabled",w._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[e.qOj],attrs:d,ngContentSelectors:M,decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(h,w){1&h&&(e.F$t(),e.TgZ(0,"div",0)(1,"div",1),e.Hsn(2),e.qZA(),e.YNc(3,E,6,6,"div",2),e.qZA()),2&h&&(e.ekj("mat-sort-header-sorted",w._isSorted())("mat-sort-header-position-before","before"===w.arrowPosition),e.uIk("tabindex",w._isDisabled()?null:0)("role",w._isDisabled()?null:"button"),e.xp6(3),e.um2(3,w._renderArrow()?3:-1))},styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;color:var(--mat-sort-arrow-color);opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}"],encapsulation:2,data:{animation:[ae.indicator,ae.leftPointer,ae.rightPointer,ae.arrowOpacity,ae.arrowPosition,ae.allowChildren]},changeDetection:0})}return n})(),S=(()=>{class n{static#e=this.\u0275fac=function(h){return new(h||n)};static#t=this.\u0275mod=e.oAB({type:n});static#i=this.\u0275inj=e.cJS({providers:[Me],imports:[l.BQ]})}return n})()},8257:(ze,q,p)=>{"use strict";p.d(q,{C0:()=>qe,Ic:()=>ve,T5:()=>Ge,VY:()=>ee,Vq:()=>oe,fd:()=>le,z9:()=>de});var e=p(8484),t=p(1657),y=p(6814),A=p(9212),l=p(3680),x=p(617),m=p(4300),P=p(8645),d=p(7394),E=p(9388),M=p(4664),I=p(7398),k=p(7921),V=p(9773),B=p(3997),W=p(6825);function j(We,wt){if(1&We&&A.GkF(0,2),2&We){const mt=A.oxw();A.Q6J("ngTemplateOutlet",mt.iconOverrides[mt.state])("ngTemplateOutletContext",mt._getIconContext())}}function K(We,wt){if(1&We&&(A.TgZ(0,"span",7),A._uU(1),A.qZA()),2&We){const mt=A.oxw(2);A.xp6(1),A.Oqu(mt._getDefaultTextForState(mt.state))}}function X(We,wt){if(1&We&&(A.TgZ(0,"span",9),A._uU(1),A.qZA()),2&We){const mt=A.oxw(3);A.xp6(1),A.Oqu(mt._intl.completedLabel)}}function ie(We,wt){if(1&We&&(A.TgZ(0,"span",9),A._uU(1),A.qZA()),2&We){const mt=A.oxw(3);A.xp6(1),A.Oqu(mt._intl.editableLabel)}}function ae(We,wt){if(1&We&&(A.YNc(0,X,2,1,"span",8)(1,ie,2,1),A.TgZ(2,"mat-icon",7),A._uU(3),A.qZA()),2&We){const mt=A.oxw(2);A.um2(0,"done"===mt.state?0:"edit"===mt.state?1:-1),A.xp6(3),A.Oqu(mt._getDefaultTextForState(mt.state))}}function fe(We,wt){if(1&We&&A.YNc(0,K,2,1)(1,ae,4,2),2&We){const mt=A.oxw();let kt;A.um2(0,"number"===(kt=mt.state)?0:1)}}function se(We,wt){1&We&&(A.TgZ(0,"div",10),A.GkF(1,11),A.qZA()),2&We&&(A.xp6(1),A.Q6J("ngTemplateOutlet",wt.template))}function Me(We,wt){if(1&We&&(A.TgZ(0,"div",10),A._uU(1),A.qZA()),2&We){const mt=A.oxw();A.xp6(1),A.Oqu(mt.label)}}function $(We,wt){if(1&We&&(A.TgZ(0,"div",12),A._uU(1),A.qZA()),2&We){const mt=A.oxw();A.xp6(1),A.Oqu(mt._intl.optionalLabel)}}function ue(We,wt){if(1&We&&(A.TgZ(0,"div",13),A._uU(1),A.qZA()),2&We){const mt=A.oxw();A.xp6(1),A.Oqu(mt.errorMessage)}}function S(We,wt){}function n(We,wt){if(1&We&&(A.Hsn(0),A.YNc(1,S,0,0,"ng-template",0)),2&We){const mt=A.oxw();A.xp6(1),A.Q6J("cdkPortalOutlet",mt._portal)}}const s=["*"];function f(We,wt){1&We&&A._UZ(0,"div",6)}const h=(We,wt)=>({step:We,i:wt});function w(We,wt){if(1&We&&(A.GkF(0,4),A.YNc(1,f,1,0,"div",5)),2&We){const mt=wt.$implicit,kt=wt.$index,Ae=wt.$count;A.oxw(2);const Be=A.MAs(3);A.Q6J("ngTemplateOutlet",Be)("ngTemplateOutletContext",A.WLB(3,h,mt,kt)),A.xp6(1),A.um2(1,kt!==Ae-1?1:-1)}}const D=We=>({animationDuration:We}),O=(We,wt)=>({value:We,params:wt});function v(We,wt){if(1&We){const mt=A.EpF();A.TgZ(0,"div",7),A.NdJ("@horizontalStepTransition.done",function(Ae){A.CHM(mt);const Be=A.oxw(2);return A.KtG(Be._animationDone.next(Ae))}),A.GkF(1,8),A.qZA()}if(2&We){const mt=wt.$implicit,kt=wt.$index,Ae=A.oxw(2);A.ekj("mat-horizontal-stepper-content-inactive",Ae.selectedIndex!==kt),A.Q6J("@horizontalStepTransition",A.WLB(8,O,Ae._getAnimationDirection(kt),A.VKq(6,D,Ae._getAnimationDuration())))("id",Ae._getStepContentId(kt)),A.uIk("aria-labelledby",Ae._getStepLabelId(kt)),A.xp6(1),A.Q6J("ngTemplateOutlet",mt.content)}}function r(We,wt){if(1&We&&(A.TgZ(0,"div",1)(1,"div",2),A.SjG(2,w,2,6,null,null,A.x6l),A.qZA(),A.TgZ(4,"div",3),A.SjG(5,v,2,11,"div",9,A.x6l),A.qZA()()),2&We){const mt=A.oxw();A.xp6(2),A.wJu(mt.steps),A.xp6(3),A.wJu(mt.steps)}}function g(We,wt){if(1&We){const mt=A.EpF();A.TgZ(0,"div",10),A.GkF(1,4),A.TgZ(2,"div",11)(3,"div",12),A.NdJ("@verticalStepTransition.done",function(Ae){A.CHM(mt);const Be=A.oxw(2);return A.KtG(Be._animationDone.next(Ae))}),A.TgZ(4,"div",13),A.GkF(5,8),A.qZA()()()()}if(2&We){const mt=wt.$implicit,kt=wt.$index,Ae=wt.$count,Be=A.oxw(2),it=A.MAs(3);A.xp6(1),A.Q6J("ngTemplateOutlet",it)("ngTemplateOutletContext",A.WLB(10,h,mt,kt)),A.xp6(1),A.ekj("mat-stepper-vertical-line",kt!==Ae-1),A.xp6(1),A.ekj("mat-vertical-stepper-content-inactive",Be.selectedIndex!==kt),A.Q6J("@verticalStepTransition",A.WLB(15,O,Be._getAnimationDirection(kt),A.VKq(13,D,Be._getAnimationDuration())))("id",Be._getStepContentId(kt)),A.uIk("aria-labelledby",Be._getStepLabelId(kt)),A.xp6(2),A.Q6J("ngTemplateOutlet",mt.content)}}function H(We,wt){if(1&We&&A.SjG(0,g,6,18,"div",14,A.x6l),2&We){const mt=A.oxw();A.wJu(mt.steps)}}function N(We,wt){if(1&We){const mt=A.EpF();A.TgZ(0,"mat-step-header",15),A.NdJ("click",function(){const Be=A.CHM(mt).step;return A.KtG(Be.select())})("keydown",function(Ae){A.CHM(mt);const Be=A.oxw();return A.KtG(Be._onKeydown(Ae))}),A.qZA()}if(2&We){const mt=wt.step,kt=wt.i,Ae=A.oxw();A.ekj("mat-horizontal-stepper-header","horizontal"===Ae.orientation)("mat-vertical-stepper-header","vertical"===Ae.orientation),A.Q6J("tabIndex",Ae._getFocusIndex()===kt?0:-1)("id",Ae._getStepLabelId(kt))("index",kt)("state",Ae._getIndicatorType(kt,mt.state))("label",mt.stepLabel||mt.label)("selected",Ae.selectedIndex===kt)("active",Ae._stepIsNavigable(kt,mt))("optional",mt.optional)("errorMessage",mt.errorMessage)("iconOverrides",Ae._iconOverrides)("disableRipple",Ae.disableRipple||!Ae._stepIsNavigable(kt,mt))("color",mt.color||Ae.color),A.uIk("aria-posinset",kt+1)("aria-setsize",Ae.steps.length)("aria-controls",Ae._getStepContentId(kt))("aria-selected",Ae.selectedIndex==kt)("aria-label",mt.ariaLabel||null)("aria-labelledby",!mt.ariaLabel&&mt.ariaLabelledby?mt.ariaLabelledby:null)("aria-disabled",!Ae._stepIsNavigable(kt,mt)||null)}}let ee=(()=>{class We extends t.u6{static#e=this.\u0275fac=(()=>{let mt;return function(Ae){return(mt||(mt=A.n5z(We)))(Ae||We)}})();static#t=this.\u0275dir=A.lG2({type:We,selectors:[["","matStepLabel",""]],features:[A.qOj]})}return We})(),De=(()=>{class We{constructor(){this.changes=new P.x,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}static#e=this.\u0275fac=function(kt){return new(kt||We)};static#t=this.\u0275prov=A.Yz7({token:We,factory:We.\u0275fac,providedIn:"root"})}return We})();const je={provide:De,deps:[[new A.FiY,new A.tp0,De]],useFactory:function ot(We){return We||new De}},Je=(0,l.pj)(class extends t.KL{constructor(wt){super(wt)}},"primary");let ye=(()=>{class We extends Je{constructor(mt,kt,Ae,Be){super(Ae),this._intl=mt,this._focusMonitor=kt,this._intlSubscription=mt.changes.subscribe(()=>Be.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(mt,kt){mt?this._focusMonitor.focusVia(this._elementRef,mt,kt):this._elementRef.nativeElement.focus(kt)}_stringLabel(){return this.label instanceof ee?null:this.label}_templateLabel(){return this.label instanceof ee?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(mt){return"number"==mt?`${this.index+1}`:"edit"==mt?"create":"error"==mt?"warning":mt}static#e=this.\u0275fac=function(kt){return new(kt||We)(A.Y36(De),A.Y36(m.tE),A.Y36(A.SBq),A.Y36(A.sBO))};static#t=this.\u0275cmp=A.Xpm({type:We,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],inputs:{color:"color",state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple"},features:[A.qOj],decls:10,vars:17,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-step-label"],["class","mat-step-text-label"],["class","mat-step-optional"],["class","mat-step-sub-label-error"],["aria-hidden","true"],["class","cdk-visually-hidden"],[1,"cdk-visually-hidden"],[1,"mat-step-text-label"],[3,"ngTemplateOutlet"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"]],template:function(kt,Ae){if(1&kt&&(A._UZ(0,"div",0),A.TgZ(1,"div")(2,"div",1),A.YNc(3,j,1,2,"ng-container",2)(4,fe,2,1),A.qZA()(),A.TgZ(5,"div",3),A.YNc(6,se,2,1,"div",4)(7,Me,2,1)(8,$,2,1,"div",5)(9,ue,2,1,"div",6),A.qZA()),2&kt){let Be;A.Q6J("matRippleTrigger",Ae._getHostElement())("matRippleDisabled",Ae.disableRipple),A.xp6(1),A.Gre("mat-step-icon-state-",Ae.state," mat-step-icon"),A.ekj("mat-step-icon-selected",Ae.selected),A.xp6(2),A.um2(3,Ae.iconOverrides&&Ae.iconOverrides[Ae.state]?3:4),A.xp6(2),A.ekj("mat-step-label-active",Ae.active)("mat-step-label-selected",Ae.selected)("mat-step-label-error","error"==Ae.state),A.xp6(1),A.um2(6,(Be=Ae._templateLabel())?6:Ae._stringLabel()?7:-1,Be),A.xp6(2),A.um2(8,Ae.optional&&"error"!=Ae.state?8:-1),A.xp6(1),A.um2(9,"error"===Ae.state?9:-1)}},dependencies:[y.tP,x.Hw,l.wG],styles:['.mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-step-header:focus .mat-focus-indicator::before{content:""}.mat-step-header:hover[aria-disabled=true]{cursor:default}.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:var(--mat-stepper-header-hover-state-layer-color)}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused{background-color:var(--mat-stepper-header-focus-state-layer-color)}@media(hover: none){.mat-step-header:hover{background:none}}.cdk-high-contrast-active .mat-step-header{outline:solid 1px}.cdk-high-contrast-active .mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.cdk-high-contrast-active .mat-step-header[aria-disabled=true]{outline-color:GrayText}.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-label,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-icon,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-optional{color:GrayText}.mat-step-optional{font-size:12px;color:var(--mat-stepper-header-optional-label-text-color)}.mat-step-sub-label-error{font-size:12px;font-weight:normal}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative;color:var(--mat-stepper-header-icon-foreground-color);background-color:var(--mat-stepper-header-icon-background-color)}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error{background-color:var(--mat-stepper-header-error-state-icon-background-color);color:var(--mat-stepper-header-error-state-icon-foreground-color)}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle;font-family:var(--mat-stepper-header-label-text-font);font-size:var(--mat-stepper-header-label-text-size);font-weight:var(--mat-stepper-header-label-text-weight);color:var(--mat-stepper-header-label-text-color)}.mat-step-label.mat-step-label-active{color:var(--mat-stepper-header-selected-state-label-text-color)}.mat-step-label.mat-step-label-error{color:var(--mat-stepper-header-error-state-label-text-color);font-size:var(--mat-stepper-header-error-state-label-text-size)}.mat-step-label.mat-step-label-selected{font-size:var(--mat-stepper-header-selected-state-label-text-size);font-weight:var(--mat-stepper-header-selected-state-label-text-weight)}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-step-icon-selected{background-color:var(--mat-stepper-header-selected-state-icon-background-color);color:var(--mat-stepper-header-selected-state-icon-foreground-color)}.mat-step-icon-state-done{background-color:var(--mat-stepper-header-done-state-icon-background-color);color:var(--mat-stepper-header-done-state-icon-foreground-color)}.mat-step-icon-state-edit{background-color:var(--mat-stepper-header-edit-state-icon-background-color);color:var(--mat-stepper-header-edit-state-icon-foreground-color)}'],encapsulation:2,changeDetection:0})}return We})();const xe={horizontalStepTransition:(0,W.X$)("horizontalStepTransition",[(0,W.SB)("previous",(0,W.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),(0,W.SB)("current",(0,W.oB)({transform:"none",visibility:"inherit"})),(0,W.SB)("next",(0,W.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),(0,W.eR)("* => *",(0,W.ru)([(0,W.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),(0,W.IO)("@*",(0,W.pV)(),{optional:!0})]),{params:{animationDuration:"500ms"}})]),verticalStepTransition:(0,W.X$)("verticalStepTransition",[(0,W.SB)("previous",(0,W.oB)({height:"0px",visibility:"hidden"})),(0,W.SB)("next",(0,W.oB)({height:"0px",visibility:"hidden"})),(0,W.SB)("current",(0,W.oB)({height:"*",visibility:"inherit"})),(0,W.eR)("* <=> current",(0,W.ru)([(0,W.jt)("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),(0,W.IO)("@*",(0,W.pV)(),{optional:!0})]),{params:{animationDuration:"225ms"}})])};let de=(()=>{class We{constructor(mt){this.templateRef=mt}static#e=this.\u0275fac=function(kt){return new(kt||We)(A.Y36(A.Rgc))};static#t=this.\u0275dir=A.lG2({type:We,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}})}return We})(),ge=(()=>{class We{constructor(mt){this._template=mt}static#e=this.\u0275fac=function(kt){return new(kt||We)(A.Y36(A.Rgc))};static#t=this.\u0275dir=A.lG2({type:We,selectors:[["ng-template","matStepContent",""]]})}return We})(),qe=(()=>{class We extends t.be{constructor(mt,kt,Ae,Be){super(mt,Be),this._errorStateMatcher=kt,this._viewContainerRef=Ae,this._isSelected=d.w0.EMPTY,this.stepLabel=void 0}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe((0,M.w)(()=>this._stepper.selectionChange.pipe((0,I.U)(mt=>mt.selectedStep===this),(0,k.O)(this._stepper.selected===this)))).subscribe(mt=>{mt&&this._lazyContent&&!this._portal&&(this._portal=new e.UE(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(mt,kt){return this._errorStateMatcher.isErrorState(mt,kt)||!!(mt&&mt.invalid&&this.interacted)}static#e=this.\u0275fac=function(kt){return new(kt||We)(A.Y36((0,A.Gpc)(()=>oe)),A.Y36(l.rD,4),A.Y36(A.s_b),A.Y36(t.gx,8))};static#t=this.\u0275cmp=A.Xpm({type:We,selectors:[["mat-step"]],contentQueries:function(kt,Ae,Be){if(1&kt&&(A.Suo(Be,ee,5),A.Suo(Be,ge,5)),2&kt){let it;A.iGM(it=A.CRH())&&(Ae.stepLabel=it.first),A.iGM(it=A.CRH())&&(Ae._lazyContent=it.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[A._Bn([{provide:l.rD,useExisting:We},{provide:t.be,useExisting:We}]),A.qOj],ngContentSelectors:s,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(kt,Ae){1&kt&&(A.F$t(),A.YNc(0,n,2,1,"ng-template"))},dependencies:[e.Pl],encapsulation:2,changeDetection:0})}return We})(),oe=(()=>{class We extends t.B8{get animationDuration(){return this._animationDuration}set animationDuration(mt){this._animationDuration=/^\d+$/.test(mt)?mt+"ms":mt}constructor(mt,kt,Ae){super(mt,kt,Ae),this._stepHeader=void 0,this._steps=void 0,this.steps=new A.n_E,this.animationDone=new A.vpe,this.labelPosition="end",this.headerPosition="top",this._iconOverrides={},this._animationDone=new P.x,this._animationDuration="";const Be=Ae.nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===Be?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:mt,templateRef:kt})=>this._iconOverrides[mt]=kt),this.steps.changes.pipe((0,V.R)(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe((0,B.x)((mt,kt)=>mt.fromState===kt.fromState&&mt.toState===kt.toState),(0,V.R)(this._destroyed)).subscribe(mt=>{"current"===mt.toState&&this.animationDone.emit()})}_stepIsNavigable(mt,kt){return kt.completed||this.selectedIndex===mt||!this.linear}_getAnimationDuration(){return this.animationDuration?this.animationDuration:"horizontal"===this.orientation?"500ms":"225ms"}static#e=this.\u0275fac=function(kt){return new(kt||We)(A.Y36(E.Is,8),A.Y36(A.sBO),A.Y36(A.SBq))};static#t=this.\u0275cmp=A.Xpm({type:We,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(kt,Ae,Be){if(1&kt&&(A.Suo(Be,qe,5),A.Suo(Be,de,5)),2&kt){let it;A.iGM(it=A.CRH())&&(Ae._steps=it),A.iGM(it=A.CRH())&&(Ae._icons=it)}},viewQuery:function(kt,Ae){if(1&kt&&A.Gf(ye,5),2&kt){let Be;A.iGM(Be=A.CRH())&&(Ae._stepHeader=Be)}},hostAttrs:["role","tablist","ngSkipHydration",""],hostVars:11,hostBindings:function(kt,Ae){2&kt&&(A.uIk("aria-orientation",Ae.orientation),A.ekj("mat-stepper-horizontal","horizontal"===Ae.orientation)("mat-stepper-vertical","vertical"===Ae.orientation)("mat-stepper-label-position-end","horizontal"===Ae.orientation&&"end"==Ae.labelPosition)("mat-stepper-label-position-bottom","horizontal"===Ae.orientation&&"bottom"==Ae.labelPosition)("mat-stepper-header-position-bottom","bottom"===Ae.headerPosition))},inputs:{selectedIndex:"selectedIndex",disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[A._Bn([{provide:t.B8,useExisting:We}]),A.qOj],decls:4,vars:1,consts:[["stepTemplate",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-horizontal-stepper-header-container"],[1,"mat-horizontal-content-container"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","mat-stepper-horizontal-line"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],["class","mat-horizontal-stepper-content","role","tabpanel",3,"id","mat-horizontal-stepper-content-inactive"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],["class","mat-step"],[3,"tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color","click","keydown"]],template:function(kt,Ae){if(1&kt&&A.YNc(0,r,7,0)(1,H,2,0)(2,N,1,23,"ng-template",null,0,A.W1O),2&kt){let Be;A.um2(0,"horizontal"===(Be=Ae.orientation)?0:"vertical"===Be?1:-1)}},dependencies:[y.tP,ye],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block;font-family:var(--mat-stepper-container-text-font);background:var(--mat-stepper-container-color)}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-header-position-bottom .mat-horizontal-stepper-header-container{order:1}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px;border-top-color:var(--mat-stepper-line-color)}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative;top:calc(calc((var(--mat-stepper-header-height) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px;height:var(--mat-stepper-header-height)}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-horizontal-stepper-header::before,.mat-horizontal-stepper-header::after{border-top-color:var(--mat-stepper-line-color)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{padding:calc((var(--mat-stepper-header-height) - 24px) / 2) 24px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::after{top:calc(calc((var(--mat-stepper-header-height) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px;padding:calc((var(--mat-stepper-header-height) - 24px) / 2) 24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-wrapper{display:flex;flex-direction:column}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-inactive{height:0;overflow:hidden}.mat-horizontal-stepper-content:not(.mat-horizontal-stepper-content-inactive){visibility:inherit !important}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.cdk-high-contrast-active .mat-horizontal-content-container{outline:solid 1px}.mat-stepper-header-position-bottom .mat-horizontal-content-container{padding:24px 24px 0 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}.cdk-high-contrast-active .mat-vertical-content-container{outline:solid 1px}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid;border-left-color:var(--mat-stepper-line-color);top:calc(8px - calc((var(--mat-stepper-header-height) - 24px) / 2));bottom:calc(8px - calc((var(--mat-stepper-header-height) - 24px) / 2))}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-stepper-content:not(.mat-vertical-stepper-content-inactive){visibility:inherit !important}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}'],encapsulation:2,data:{animation:[xe.horizontalStepTransition,xe.verticalStepTransition]},changeDetection:0})}return We})(),ve=(()=>{class We extends t.st{static#e=this.\u0275fac=(()=>{let mt;return function(Ae){return(mt||(mt=A.n5z(We)))(Ae||We)}})();static#t=this.\u0275dir=A.lG2({type:We,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(kt,Ae){2&kt&&A.Ikx("type",Ae.type)},inputs:{type:"type"},features:[A.qOj]})}return We})(),le=(()=>{class We extends t.po{static#e=this.\u0275fac=(()=>{let mt;return function(Ae){return(mt||(mt=A.n5z(We)))(Ae||We)}})();static#t=this.\u0275dir=A.lG2({type:We,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(kt,Ae){2&kt&&A.Ikx("type",Ae.type)},inputs:{type:"type"},features:[A.qOj]})}return We})(),Ge=(()=>{class We{static#e=this.\u0275fac=function(kt){return new(kt||We)};static#t=this.\u0275mod=A.oAB({type:We});static#i=this.\u0275inj=A.cJS({providers:[je,l.rD],imports:[l.BQ,y.ez,e.eL,t.U5,x.Ps,l.si,l.BQ]})}return We})()},5313:(ze,q,p)=>{"use strict";p.d(q,{ev:()=>Ie,Dz:()=>Xe,w1:()=>be,yh:()=>re,mD:()=>Le,Q2:()=>Xt,Ke:()=>Zt,ge:()=>J,fO:()=>gt,XQ:()=>Jt,as:()=>At,Gk:()=>Hi,nj:()=>mi,BZ:()=>Ue,by:()=>sn,p0:()=>Qi});var e=p(9212),t=p(9388),y=p(8337),A=p(2831),l=p(5407),x=p(6814),m=p(8645),P=p(9666),d=p(5619),E=p(2664),M=p(2096),I=p(9773),k=p(8180),V=p(2495);const B=[[["caption"]],[["colgroup"],["col"]]],W=["caption","colgroup, col"];function X(at){return class extends at{get sticky(){return this._sticky}set sticky(oi){const Ce=this._sticky;this._sticky=(0,V.Ig)(oi),this._hasStickyChanged=Ce!==this._sticky}hasStickyChanged(){const oi=this._hasStickyChanged;return this._hasStickyChanged=!1,oi}resetStickyChanged(){this._hasStickyChanged=!1}constructor(...oi){super(...oi),this._sticky=!1,this._hasStickyChanged=!1}}}const ie=new e.OlP("CDK_TABLE");let fe=(()=>{class at{constructor(Ce){this.template=Ce}static#e=this.\u0275fac=function(St){return new(St||at)(e.Y36(e.Rgc))};static#t=this.\u0275dir=e.lG2({type:at,selectors:[["","cdkCellDef",""]]})}return at})(),se=(()=>{class at{constructor(Ce){this.template=Ce}static#e=this.\u0275fac=function(St){return new(St||at)(e.Y36(e.Rgc))};static#t=this.\u0275dir=e.lG2({type:at,selectors:[["","cdkHeaderCellDef",""]]})}return at})(),Me=(()=>{class at{constructor(Ce){this.template=Ce}static#e=this.\u0275fac=function(St){return new(St||at)(e.Y36(e.Rgc))};static#t=this.\u0275dir=e.lG2({type:at,selectors:[["","cdkFooterCellDef",""]]})}return at})();class ${}const ue=X($);let S=(()=>{class at extends ue{get name(){return this._name}set name(Ce){this._setNameInput(Ce)}get stickyEnd(){return this._stickyEnd}set stickyEnd(Ce){Ce!==this._stickyEnd&&(this._stickyEnd=Ce,this._hasStickyChanged=!0)}constructor(Ce){super(),this._table=Ce,this._stickyEnd=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(Ce){Ce&&(this._name=Ce,this.cssClassFriendlyName=Ce.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static#e=this.\u0275fac=function(St){return new(St||at)(e.Y36(ie,8))};static#t=this.\u0275dir=e.lG2({type:at,selectors:[["","cdkColumnDef",""]],contentQueries:function(St,Ft,Dt){if(1&St&&(e.Suo(Dt,fe,5),e.Suo(Dt,se,5),e.Suo(Dt,Me,5)),2&St){let It;e.iGM(It=e.CRH())&&(Ft.cell=It.first),e.iGM(It=e.CRH())&&(Ft.headerCell=It.first),e.iGM(It=e.CRH())&&(Ft.footerCell=It.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:["stickyEnd","stickyEnd",e.VuI]},features:[e._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:at}]),e.Xq5,e.qOj]})}return at})();class n{constructor(oi,Ce){Ce.nativeElement.classList.add(...oi._columnCssClassName)}}let s=(()=>{class at extends n{constructor(Ce,St){super(Ce,St)}static#e=this.\u0275fac=function(St){return new(St||at)(e.Y36(S),e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:at,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[e.qOj]})}return at})(),f=(()=>{class at extends n{constructor(Ce,St){if(super(Ce,St),1===Ce._table?._elementRef.nativeElement.nodeType){const Ft=Ce._table._elementRef.nativeElement.getAttribute("role");St.nativeElement.setAttribute("role","grid"===Ft||"treegrid"===Ft?"gridcell":"cell")}}static#e=this.\u0275fac=function(St){return new(St||at)(e.Y36(S),e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:at,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[e.qOj]})}return at})(),h=(()=>{class at extends n{constructor(Ce,St){if(super(Ce,St),1===Ce._table?._elementRef.nativeElement.nodeType){const Ft=Ce._table._elementRef.nativeElement.getAttribute("role");St.nativeElement.setAttribute("role","grid"===Ft||"treegrid"===Ft?"gridcell":"cell")}}static#e=this.\u0275fac=function(St){return new(St||at)(e.Y36(S),e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:at,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[e.qOj]})}return at})();class w{constructor(){this.tasks=[],this.endTasks=[]}}const D=new e.OlP("_COALESCED_STYLE_SCHEDULER");let O=(()=>{class at{constructor(Ce){this._ngZone=Ce,this._currentSchedule=null,this._destroyed=new m.x}schedule(Ce){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(Ce)}scheduleEnd(Ce){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(Ce)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new w,this._getScheduleObservable().pipe((0,I.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const Ce=this._currentSchedule;this._currentSchedule=new w;for(const St of Ce.tasks)St();for(const St of Ce.endTasks)St()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,P.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,k.q)(1))}static#e=this.\u0275fac=function(St){return new(St||at)(e.LFG(e.R0b))};static#t=this.\u0275prov=e.Yz7({token:at,factory:at.\u0275fac})}return at})(),r=(()=>{class at{constructor(Ce,St){this.template=Ce,this._differs=St}ngOnChanges(Ce){if(!this._columnsDiffer){const St=Ce.columns&&Ce.columns.currentValue||[];this._columnsDiffer=this._differs.find(St).create(),this._columnsDiffer.diff(St)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(Ce){return this instanceof N?Ce.headerCell.template:this instanceof ot?Ce.footerCell.template:Ce.cell.template}static#e=this.\u0275fac=function(St){return new(St||at)(e.Y36(e.Rgc),e.Y36(e.ZZ4))};static#t=this.\u0275dir=e.lG2({type:at,features:[e.TTD]})}return at})();class g extends r{}const H=X(g);let N=(()=>{class at extends H{constructor(Ce,St,Ft){super(Ce,St),this._table=Ft}ngOnChanges(Ce){super.ngOnChanges(Ce)}static#e=this.\u0275fac=function(St){return new(St||at)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(ie,8))};static#t=this.\u0275dir=e.lG2({type:at,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[e.qOj,e.TTD]})}return at})();class ee extends r{}const De=X(ee);let ot=(()=>{class at extends De{constructor(Ce,St,Ft){super(Ce,St),this._table=Ft}ngOnChanges(Ce){super.ngOnChanges(Ce)}static#e=this.\u0275fac=function(St){return new(St||at)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(ie,8))};static#t=this.\u0275dir=e.lG2({type:at,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[e.qOj,e.TTD]})}return at})(),je=(()=>{class at extends r{constructor(Ce,St,Ft){super(Ce,St),this._table=Ft}static#e=this.\u0275fac=function(St){return new(St||at)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(ie,8))};static#t=this.\u0275dir=e.lG2({type:at,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[e.qOj]})}return at})(),Je=(()=>{class at{static#e=this.mostRecentCellOutlet=null;constructor(Ce){this._viewContainer=Ce,at.mostRecentCellOutlet=this}ngOnDestroy(){at.mostRecentCellOutlet===this&&(at.mostRecentCellOutlet=null)}static#t=this.\u0275fac=function(St){return new(St||at)(e.Y36(e.s_b))};static#i=this.\u0275dir=e.lG2({type:at,selectors:[["","cdkCellOutlet",""]]})}return at})(),ye=(()=>{class at{static#e=this.\u0275fac=function(St){return new(St||at)};static#t=this.\u0275cmp=e.Xpm({type:at,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(St,Ft){1&St&&e.GkF(0,0)},dependencies:[Je],encapsulation:2})}return at})(),me=(()=>{class at{static#e=this.\u0275fac=function(St){return new(St||at)};static#t=this.\u0275cmp=e.Xpm({type:at,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(St,Ft){1&St&&e.GkF(0,0)},dependencies:[Je],encapsulation:2})}return at})(),he=(()=>{class at{static#e=this.\u0275fac=function(St){return new(St||at)};static#t=this.\u0275cmp=e.Xpm({type:at,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(St,Ft){1&St&&e.GkF(0,0)},dependencies:[Je],encapsulation:2})}return at})(),xe=(()=>{class at{constructor(Ce){this.templateRef=Ce,this._contentClassName="cdk-no-data-row"}static#e=this.\u0275fac=function(St){return new(St||at)(e.Y36(e.Rgc))};static#t=this.\u0275dir=e.lG2({type:at,selectors:[["ng-template","cdkNoDataRow",""]]})}return at})();const de=["top","bottom","left","right"];class ge{constructor(oi,Ce,St,Ft,Dt=!0,It=!0,Ut){this._isNativeHtmlTable=oi,this._stickCellCss=Ce,this.direction=St,this._coalescedStyleScheduler=Ft,this._isBrowser=Dt,this._needsPositionStickyOnElement=It,this._positionListener=Ut,this._cachedCellWidths=[],this._borderCellCss={top:`${Ce}-border-elem-top`,bottom:`${Ce}-border-elem-bottom`,left:`${Ce}-border-elem-left`,right:`${Ce}-border-elem-right`}}clearStickyPositioning(oi,Ce){const St=[];for(const Ft of oi)if(Ft.nodeType===Ft.ELEMENT_NODE){St.push(Ft);for(let Dt=0;Dt<Ft.children.length;Dt++)St.push(Ft.children[Dt])}this._coalescedStyleScheduler.schedule(()=>{for(const Ft of St)this._removeStickyStyle(Ft,Ce)})}updateStickyColumns(oi,Ce,St,Ft=!0){if(!oi.length||!this._isBrowser||!Ce.some(Bi=>Bi)&&!St.some(Bi=>Bi))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const Dt=oi[0],It=Dt.children.length,Ut=this._getCellWidths(Dt,Ft),ai=this._getStickyStartColumnPositions(Ut,Ce),_i=this._getStickyEndColumnPositions(Ut,St),bi=Ce.lastIndexOf(!0),Oi=St.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const Bi="rtl"===this.direction,Vi=Bi?"right":"left",Kt=Bi?"left":"right";for(const vi of oi)for(let ne=0;ne<It;ne++){const lt=vi.children[ne];Ce[ne]&&this._addStickyStyle(lt,Vi,ai[ne],ne===bi),St[ne]&&this._addStickyStyle(lt,Kt,_i[ne],ne===Oi)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===bi?[]:Ut.slice(0,bi+1).map((vi,ne)=>Ce[ne]?vi:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===Oi?[]:Ut.slice(Oi).map((vi,ne)=>St[ne+Oi]?vi:null).reverse()}))})}stickRows(oi,Ce,St){if(!this._isBrowser)return;const Ft="bottom"===St?oi.slice().reverse():oi,Dt="bottom"===St?Ce.slice().reverse():Ce,It=[],Ut=[],ai=[];for(let bi=0,Oi=0;bi<Ft.length;bi++){if(!Dt[bi])continue;It[bi]=Oi;const Bi=Ft[bi];ai[bi]=this._isNativeHtmlTable?Array.from(Bi.children):[Bi];const Vi=Bi.getBoundingClientRect().height;Oi+=Vi,Ut[bi]=Vi}const _i=Dt.lastIndexOf(!0);this._coalescedStyleScheduler.schedule(()=>{for(let bi=0;bi<Ft.length;bi++){if(!Dt[bi])continue;const Oi=It[bi],Bi=bi===_i;for(const Vi of ai[bi])this._addStickyStyle(Vi,St,Oi,Bi)}"top"===St?this._positionListener?.stickyHeaderRowsUpdated({sizes:Ut,offsets:It,elements:ai}):this._positionListener?.stickyFooterRowsUpdated({sizes:Ut,offsets:It,elements:ai})})}updateStickyFooterContainer(oi,Ce){if(!this._isNativeHtmlTable)return;const St=oi.querySelector("tfoot");this._coalescedStyleScheduler.schedule(()=>{Ce.some(Ft=>!Ft)?this._removeStickyStyle(St,["bottom"]):this._addStickyStyle(St,"bottom",0,!1)})}_removeStickyStyle(oi,Ce){for(const Ft of Ce)oi.style[Ft]="",oi.classList.remove(this._borderCellCss[Ft]);de.some(Ft=>-1===Ce.indexOf(Ft)&&oi.style[Ft])?oi.style.zIndex=this._getCalculatedZIndex(oi):(oi.style.zIndex="",this._needsPositionStickyOnElement&&(oi.style.position=""),oi.classList.remove(this._stickCellCss))}_addStickyStyle(oi,Ce,St,Ft){oi.classList.add(this._stickCellCss),Ft&&oi.classList.add(this._borderCellCss[Ce]),oi.style[Ce]=`${St}px`,oi.style.zIndex=this._getCalculatedZIndex(oi),this._needsPositionStickyOnElement&&(oi.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(oi){const Ce={top:100,bottom:10,left:1,right:1};let St=0;for(const Ft of de)oi.style[Ft]&&(St+=Ce[Ft]);return St?`${St}`:""}_getCellWidths(oi,Ce=!0){if(!Ce&&this._cachedCellWidths.length)return this._cachedCellWidths;const St=[],Ft=oi.children;for(let Dt=0;Dt<Ft.length;Dt++)St.push(Ft[Dt].getBoundingClientRect().width);return this._cachedCellWidths=St,St}_getStickyStartColumnPositions(oi,Ce){const St=[];let Ft=0;for(let Dt=0;Dt<oi.length;Dt++)Ce[Dt]&&(St[Dt]=Ft,Ft+=oi[Dt]);return St}_getStickyEndColumnPositions(oi,Ce){const St=[];let Ft=0;for(let Dt=oi.length;Dt>0;Dt--)Ce[Dt]&&(St[Dt]=Ft,Ft+=oi[Dt]);return St}}const kt=new e.OlP("CDK_SPL");let Be=(()=>{class at{constructor(Ce,St){this.viewContainer=Ce,this.elementRef=St}static#e=this.\u0275fac=function(St){return new(St||at)(e.Y36(e.s_b),e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:at,selectors:[["","rowOutlet",""]]})}return at})(),it=(()=>{class at{constructor(Ce,St){this.viewContainer=Ce,this.elementRef=St}static#e=this.\u0275fac=function(St){return new(St||at)(e.Y36(e.s_b),e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:at,selectors:[["","headerRowOutlet",""]]})}return at})(),$e=(()=>{class at{constructor(Ce,St){this.viewContainer=Ce,this.elementRef=St}static#e=this.\u0275fac=function(St){return new(St||at)(e.Y36(e.s_b),e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:at,selectors:[["","footerRowOutlet",""]]})}return at})(),ke=(()=>{class at{constructor(Ce,St){this.viewContainer=Ce,this.elementRef=St}static#e=this.\u0275fac=function(St){return new(St||at)(e.Y36(e.s_b),e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:at,selectors:[["","noDataRowOutlet",""]]})}return at})(),Et=(()=>{class at{get trackBy(){return this._trackByFn}set trackBy(Ce){this._trackByFn=Ce}get dataSource(){return this._dataSource}set dataSource(Ce){this._dataSource!==Ce&&this._switchDataSource(Ce)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(Ce){this._multiTemplateDataRows=Ce,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(Ce){this._fixedLayout=Ce,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(Ce,St,Ft,Dt,It,Ut,ai,_i,bi,Oi,Bi,Vi){this._differs=Ce,this._changeDetectorRef=St,this._elementRef=Ft,this._dir=It,this._platform=ai,this._viewRepeater=_i,this._coalescedStyleScheduler=bi,this._viewportRuler=Oi,this._stickyPositioningListener=Bi,this._ngZone=Vi,this._onDestroy=new m.x,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new e.vpe,this.viewChange=new d.X({start:0,end:Number.MAX_VALUE}),Dt||this._elementRef.nativeElement.setAttribute("role","table"),this._document=Ut,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((Ce,St)=>this.trackBy?this.trackBy(St.dataIndex,St.data):St),this._viewportRuler.change().pipe((0,I.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const St=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||St,this._forceRecalculateCellWidths=St,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(Ce=>{Ce.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,y.Z9)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const Ce=this._dataDiffer.diff(this._renderRows);if(!Ce)return this._updateNoDataRow(),void this.contentChanged.next();const St=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(Ce,St,(Ft,Dt,It)=>this._getEmbeddedViewArgs(Ft.item,It),Ft=>Ft.item.data,Ft=>{1===Ft.operation&&Ft.context&&this._renderCellTemplateForItem(Ft.record.item.rowDef,Ft.context)}),this._updateRowIndexContext(),Ce.forEachIdentityChange(Ft=>{St.get(Ft.currentIndex).context.$implicit=Ft.item.data}),this._updateNoDataRow(),this._ngZone&&e.R0b.isInAngularZone()?this._ngZone.onStable.pipe((0,k.q)(1),(0,I.R)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(Ce){this._customColumnDefs.add(Ce)}removeColumnDef(Ce){this._customColumnDefs.delete(Ce)}addRowDef(Ce){this._customRowDefs.add(Ce)}removeRowDef(Ce){this._customRowDefs.delete(Ce)}addHeaderRowDef(Ce){this._customHeaderRowDefs.add(Ce),this._headerRowDefChanged=!0}removeHeaderRowDef(Ce){this._customHeaderRowDefs.delete(Ce),this._headerRowDefChanged=!0}addFooterRowDef(Ce){this._customFooterRowDefs.add(Ce),this._footerRowDefChanged=!0}removeFooterRowDef(Ce){this._customFooterRowDefs.delete(Ce),this._footerRowDefChanged=!0}setNoDataRow(Ce){this._customNoDataRow=Ce}updateStickyHeaderRowStyles(){const Ce=this._getRenderedRows(this._headerRowOutlet),Ft=this._elementRef.nativeElement.querySelector("thead");Ft&&(Ft.style.display=Ce.length?"":"none");const Dt=this._headerRowDefs.map(It=>It.sticky);this._stickyStyler.clearStickyPositioning(Ce,["top"]),this._stickyStyler.stickRows(Ce,Dt,"top"),this._headerRowDefs.forEach(It=>It.resetStickyChanged())}updateStickyFooterRowStyles(){const Ce=this._getRenderedRows(this._footerRowOutlet),Ft=this._elementRef.nativeElement.querySelector("tfoot");Ft&&(Ft.style.display=Ce.length?"":"none");const Dt=this._footerRowDefs.map(It=>It.sticky);this._stickyStyler.clearStickyPositioning(Ce,["bottom"]),this._stickyStyler.stickRows(Ce,Dt,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,Dt),this._footerRowDefs.forEach(It=>It.resetStickyChanged())}updateStickyColumnStyles(){const Ce=this._getRenderedRows(this._headerRowOutlet),St=this._getRenderedRows(this._rowOutlet),Ft=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...Ce,...St,...Ft],["left","right"]),this._stickyColumnStylesNeedReset=!1),Ce.forEach((Dt,It)=>{this._addStickyColumnStyles([Dt],this._headerRowDefs[It])}),this._rowDefs.forEach(Dt=>{const It=[];for(let Ut=0;Ut<St.length;Ut++)this._renderRows[Ut].rowDef===Dt&&It.push(St[Ut]);this._addStickyColumnStyles(It,Dt)}),Ft.forEach((Dt,It)=>{this._addStickyColumnStyles([Dt],this._footerRowDefs[It])}),Array.from(this._columnDefsByName.values()).forEach(Dt=>Dt.resetStickyChanged())}_getAllRenderRows(){const Ce=[],St=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let Ft=0;Ft<this._data.length;Ft++){let Dt=this._data[Ft];const It=this._getRenderRowsForData(Dt,Ft,St.get(Dt));this._cachedRenderRowsMap.has(Dt)||this._cachedRenderRowsMap.set(Dt,new WeakMap);for(let Ut=0;Ut<It.length;Ut++){let ai=It[Ut];const _i=this._cachedRenderRowsMap.get(ai.data);_i.has(ai.rowDef)?_i.get(ai.rowDef).push(ai):_i.set(ai.rowDef,[ai]),Ce.push(ai)}}return Ce}_getRenderRowsForData(Ce,St,Ft){return this._getRowDefs(Ce,St).map(It=>{const Ut=Ft&&Ft.has(It)?Ft.get(It):[];if(Ut.length){const ai=Ut.shift();return ai.dataIndex=St,ai}return{data:Ce,rowDef:It,dataIndex:St}})}_cacheColumnDefs(){this._columnDefsByName.clear(),ct(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(St=>{this._columnDefsByName.has(St.name),this._columnDefsByName.set(St.name,St)})}_cacheRowDefs(){this._headerRowDefs=ct(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=ct(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=ct(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const Ce=this._rowDefs.filter(St=>!St.when);this._defaultRowDef=Ce[0]}_renderUpdatedColumns(){const Ce=(It,Ut)=>It||!!Ut.getColumnsDiff(),St=this._rowDefs.reduce(Ce,!1);St&&this._forceRenderDataRows();const Ft=this._headerRowDefs.reduce(Ce,!1);Ft&&this._forceRenderHeaderRows();const Dt=this._footerRowDefs.reduce(Ce,!1);return Dt&&this._forceRenderFooterRows(),St||Ft||Dt}_switchDataSource(Ce){this._data=[],(0,y.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),Ce||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=Ce}_observeRenderChanges(){if(!this.dataSource)return;let Ce;(0,y.Z9)(this.dataSource)?Ce=this.dataSource.connect(this):(0,E.b)(this.dataSource)?Ce=this.dataSource:Array.isArray(this.dataSource)&&(Ce=(0,M.of)(this.dataSource)),this._renderChangeSubscription=Ce.pipe((0,I.R)(this._onDestroy)).subscribe(St=>{this._data=St||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((Ce,St)=>this._renderRow(this._headerRowOutlet,Ce,St)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((Ce,St)=>this._renderRow(this._footerRowOutlet,Ce,St)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(Ce,St){const Ft=Array.from(St.columns||[]).map(Ut=>this._columnDefsByName.get(Ut)),Dt=Ft.map(Ut=>Ut.sticky),It=Ft.map(Ut=>Ut.stickyEnd);this._stickyStyler.updateStickyColumns(Ce,Dt,It,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(Ce){const St=[];for(let Ft=0;Ft<Ce.viewContainer.length;Ft++){const Dt=Ce.viewContainer.get(Ft);St.push(Dt.rootNodes[0])}return St}_getRowDefs(Ce,St){if(1==this._rowDefs.length)return[this._rowDefs[0]];let Ft=[];if(this.multiTemplateDataRows)Ft=this._rowDefs.filter(Dt=>!Dt.when||Dt.when(St,Ce));else{let Dt=this._rowDefs.find(It=>It.when&&It.when(St,Ce))||this._defaultRowDef;Dt&&Ft.push(Dt)}return Ft}_getEmbeddedViewArgs(Ce,St){return{templateRef:Ce.rowDef.template,context:{$implicit:Ce.data},index:St}}_renderRow(Ce,St,Ft,Dt={}){const It=Ce.viewContainer.createEmbeddedView(St.template,Dt,Ft);return this._renderCellTemplateForItem(St,Dt),It}_renderCellTemplateForItem(Ce,St){for(let Ft of this._getCellTemplates(Ce))Je.mostRecentCellOutlet&&Je.mostRecentCellOutlet._viewContainer.createEmbeddedView(Ft,St);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const Ce=this._rowOutlet.viewContainer;for(let St=0,Ft=Ce.length;St<Ft;St++){const It=Ce.get(St).context;It.count=Ft,It.first=0===St,It.last=St===Ft-1,It.even=St%2==0,It.odd=!It.even,this.multiTemplateDataRows?(It.dataIndex=this._renderRows[St].dataIndex,It.renderIndex=St):It.index=this._renderRows[St].dataIndex}}_getCellTemplates(Ce){return Ce&&Ce.columns?Array.from(Ce.columns,St=>{const Ft=this._columnDefsByName.get(St);return Ce.extractCellTemplate(Ft)}):[]}_applyNativeTableSections(){const Ce=this._document.createDocumentFragment(),St=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const Ft of St){const Dt=this._document.createElement(Ft.tag);Dt.setAttribute("role","rowgroup");for(const It of Ft.outlets)Dt.appendChild(It.elementRef.nativeElement);Ce.appendChild(Dt)}this._elementRef.nativeElement.appendChild(Ce)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const Ce=(St,Ft)=>St||Ft.hasStickyChanged();this._headerRowDefs.reduce(Ce,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(Ce,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(Ce,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new ge(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,M.of)()).pipe((0,I.R)(this._onDestroy)).subscribe(St=>{this._stickyStyler.direction=St,this.updateStickyColumnStyles()})}_getOwnDefs(Ce){return Ce.filter(St=>!St._table||St._table===this)}_updateNoDataRow(){const Ce=this._customNoDataRow||this._noDataRow;if(!Ce)return;const St=0===this._rowOutlet.viewContainer.length;if(St===this._isShowingNoDataRow)return;const Ft=this._noDataRowOutlet.viewContainer;if(St){const Dt=Ft.createEmbeddedView(Ce.templateRef),It=Dt.rootNodes[0];1===Dt.rootNodes.length&&It?.nodeType===this._document.ELEMENT_NODE&&(It.setAttribute("role","row"),It.classList.add(Ce._contentClassName))}else Ft.clear();this._isShowingNoDataRow=St,this._changeDetectorRef.markForCheck()}static#e=this.\u0275fac=function(St){return new(St||at)(e.Y36(e.ZZ4),e.Y36(e.sBO),e.Y36(e.SBq),e.$8M("role"),e.Y36(t.Is,8),e.Y36(x.K0),e.Y36(A.t4),e.Y36(y.k),e.Y36(D),e.Y36(l.rL),e.Y36(kt,12),e.Y36(e.R0b,8))};static#t=this.\u0275cmp=e.Xpm({type:at,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(St,Ft,Dt){if(1&St&&(e.Suo(Dt,xe,5),e.Suo(Dt,S,5),e.Suo(Dt,je,5),e.Suo(Dt,N,5),e.Suo(Dt,ot,5)),2&St){let It;e.iGM(It=e.CRH())&&(Ft._noDataRow=It.first),e.iGM(It=e.CRH())&&(Ft._contentColumnDefs=It),e.iGM(It=e.CRH())&&(Ft._contentRowDefs=It),e.iGM(It=e.CRH())&&(Ft._contentHeaderRowDefs=It),e.iGM(It=e.CRH())&&(Ft._contentFooterRowDefs=It)}},viewQuery:function(St,Ft){if(1&St&&(e.Gf(Be,7),e.Gf(it,7),e.Gf($e,7),e.Gf(ke,7)),2&St){let Dt;e.iGM(Dt=e.CRH())&&(Ft._rowOutlet=Dt.first),e.iGM(Dt=e.CRH())&&(Ft._headerRowOutlet=Dt.first),e.iGM(Dt=e.CRH())&&(Ft._footerRowOutlet=Dt.first),e.iGM(Dt=e.CRH())&&(Ft._noDataRowOutlet=Dt.first)}},hostAttrs:["ngSkipHydration","",1,"cdk-table"],hostVars:2,hostBindings:function(St,Ft){2&St&&e.ekj("cdk-table-fixed-layout",Ft.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:["multiTemplateDataRows","multiTemplateDataRows",e.VuI],fixedLayout:["fixedLayout","fixedLayout",e.VuI]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[e._Bn([{provide:ie,useExisting:at},{provide:y.k,useClass:y.yy},{provide:D,useClass:O},{provide:kt,useValue:null}]),e.Xq5],ngContentSelectors:W,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(St,Ft){1&St&&(e.F$t(B),e.Hsn(0),e.Hsn(1,1),e.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[Be,it,$e,ke],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2})}return at})();function ct(at,oi){return at.concat(Array.from(oi))}let $t=(()=>{class at{static#e=this.\u0275fac=function(St){return new(St||at)};static#t=this.\u0275mod=e.oAB({type:at});static#i=this.\u0275inj=e.cJS({imports:[l.Cl]})}return at})();var Ze=p(3680),Qe=p(3019),zt=p(2572),xt=p(7398);const Ot=[[["caption"]],[["colgroup"],["col"]]],yt=["caption","colgroup, col"];let Ue=(()=>{class at extends Et{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}ngOnInit(){super.ngOnInit(),this._isNativeHtmlTable&&this._elementRef.nativeElement.querySelector("tbody").classList.add("mdc-data-table__content")}static#e=this.\u0275fac=(()=>{let Ce;return function(Ft){return(Ce||(Ce=e.n5z(at)))(Ft||at)}})();static#t=this.\u0275cmp=e.Xpm({type:at,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:["ngSkipHydration","",1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(St,Ft){2&St&&e.ekj("mdc-table-fixed-layout",Ft.fixedLayout)},exportAs:["matTable"],features:[e._Bn([{provide:Et,useExisting:at},{provide:ie,useExisting:at},{provide:D,useClass:O},{provide:y.k,useClass:y.yy},{provide:kt,useValue:null}]),e.qOj],ngContentSelectors:yt,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(St,Ft){1&St&&(e.F$t(Ot),e.Hsn(0),e.Hsn(1,1),e.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[Be,it,$e,ke],styles:[".mat-mdc-table-sticky{position:sticky !important}.mdc-data-table{-webkit-overflow-scrolling:touch;display:inline-flex;flex-direction:column;box-sizing:border-box;position:relative}.mdc-data-table__table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.mdc-data-table__table{min-width:100%;border:0;white-space:nowrap;border-spacing:0;table-layout:fixed}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px 0 16px}.mdc-data-table__header-cell--checkbox,.mdc-data-table__cell--checkbox{padding-left:4px;padding-right:0}[dir=rtl] .mdc-data-table__header-cell--checkbox,[dir=rtl] .mdc-data-table__cell--checkbox,.mdc-data-table__header-cell--checkbox[dir=rtl],.mdc-data-table__cell--checkbox[dir=rtl]{padding-left:0;padding-right:4px}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color)}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-header-headline-font, Roboto, sans-serif);line-height:var(--mat-table-header-headline-line-height);font-size:var(--mat-table-header-headline-size, 14px);font-weight:var(--mat-table-header-headline-weight, 500)}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, Roboto, sans-serif);line-height:var(--mat-table-row-item-label-text-line-height);font-size:var(--mat-table-row-item-label-text-size, 14px);font-weight:var(--mat-table-row-item-label-text-weight)}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-footer-supporting-text-font, Roboto, sans-serif);line-height:var(--mat-table-footer-supporting-text-line-height);font-size:var(--mat-table-footer-supporting-text-size, 14px);font-weight:var(--mat-table-footer-supporting-text-weight);letter-spacing:var(--mat-table-footer-supporting-text-tracking)}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking);font-weight:inherit;line-height:inherit}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking);line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking)}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2})}return at})(),Xe=(()=>{class at extends fe{static#e=this.\u0275fac=(()=>{let Ce;return function(Ft){return(Ce||(Ce=e.n5z(at)))(Ft||at)}})();static#t=this.\u0275dir=e.lG2({type:at,selectors:[["","matCellDef",""]],features:[e._Bn([{provide:fe,useExisting:at}]),e.qOj]})}return at})(),gt=(()=>{class at extends se{static#e=this.\u0275fac=(()=>{let Ce;return function(Ft){return(Ce||(Ce=e.n5z(at)))(Ft||at)}})();static#t=this.\u0275dir=e.lG2({type:at,selectors:[["","matHeaderCellDef",""]],features:[e._Bn([{provide:se,useExisting:at}]),e.qOj]})}return at})(),Le=(()=>{class at extends Me{static#e=this.\u0275fac=(()=>{let Ce;return function(Ft){return(Ce||(Ce=e.n5z(at)))(Ft||at)}})();static#t=this.\u0275dir=e.lG2({type:at,selectors:[["","matFooterCellDef",""]],features:[e._Bn([{provide:Me,useExisting:at}]),e.qOj]})}return at})(),be=(()=>{class at extends S{get name(){return this._name}set name(Ce){this._setNameInput(Ce)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static#e=this.\u0275fac=(()=>{let Ce;return function(Ft){return(Ce||(Ce=e.n5z(at)))(Ft||at)}})();static#t=this.\u0275dir=e.lG2({type:at,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[e._Bn([{provide:S,useExisting:at},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:at}]),e.qOj]})}return at})(),J=(()=>{class at extends s{static#e=this.\u0275fac=(()=>{let Ce;return function(Ft){return(Ce||(Ce=e.n5z(at)))(Ft||at)}})();static#t=this.\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]})}return at})(),re=(()=>{class at extends f{static#e=this.\u0275fac=(()=>{let Ce;return function(Ft){return(Ce||(Ce=e.n5z(at)))(Ft||at)}})();static#t=this.\u0275dir=e.lG2({type:at,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:[1,"mat-mdc-footer-cell","mdc-data-table__cell"],features:[e.qOj]})}return at})(),Ie=(()=>{class at extends h{static#e=this.\u0275fac=(()=>{let Ce;return function(Ft){return(Ce||(Ce=e.n5z(at)))(Ft||at)}})();static#t=this.\u0275dir=e.lG2({type:at,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[e.qOj]})}return at})(),At=(()=>{class at extends N{static#e=this.\u0275fac=(()=>{let Ce;return function(Ft){return(Ce||(Ce=e.n5z(at)))(Ft||at)}})();static#t=this.\u0275dir=e.lG2({type:at,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[e._Bn([{provide:N,useExisting:at}]),e.qOj]})}return at})(),Zt=(()=>{class at extends ot{static#e=this.\u0275fac=(()=>{let Ce;return function(Ft){return(Ce||(Ce=e.n5z(at)))(Ft||at)}})();static#t=this.\u0275dir=e.lG2({type:at,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[e._Bn([{provide:ot,useExisting:at}]),e.qOj]})}return at})(),mi=(()=>{class at extends je{static#e=this.\u0275fac=(()=>{let Ce;return function(Ft){return(Ce||(Ce=e.n5z(at)))(Ft||at)}})();static#t=this.\u0275dir=e.lG2({type:at,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[e._Bn([{provide:je,useExisting:at}]),e.qOj]})}return at})(),Jt=(()=>{class at extends ye{static#e=this.\u0275fac=(()=>{let Ce;return function(Ft){return(Ce||(Ce=e.n5z(at)))(Ft||at)}})();static#t=this.\u0275cmp=e.Xpm({type:at,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[e._Bn([{provide:ye,useExisting:at}]),e.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(St,Ft){1&St&&e.GkF(0,0)},dependencies:[Je],encapsulation:2})}return at})(),Xt=(()=>{class at extends me{static#e=this.\u0275fac=(()=>{let Ce;return function(Ft){return(Ce||(Ce=e.n5z(at)))(Ft||at)}})();static#t=this.\u0275cmp=e.Xpm({type:at,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:me,useExisting:at}]),e.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(St,Ft){1&St&&e.GkF(0,0)},dependencies:[Je],encapsulation:2})}return at})(),Hi=(()=>{class at extends he{static#e=this.\u0275fac=(()=>{let Ce;return function(Ft){return(Ce||(Ce=e.n5z(at)))(Ft||at)}})();static#t=this.\u0275cmp=e.Xpm({type:at,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[e._Bn([{provide:he,useExisting:at}]),e.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(St,Ft){1&St&&e.GkF(0,0)},dependencies:[Je],encapsulation:2})}return at})(),Qi=(()=>{class at{static#e=this.\u0275fac=function(St){return new(St||at)};static#t=this.\u0275mod=e.oAB({type:at});static#i=this.\u0275inj=e.cJS({imports:[Ze.BQ,$t,Ze.BQ]})}return at})();class sn extends y.o2{get data(){return this._data.value}set data(oi){oi=Array.isArray(oi)?oi:[],this._data.next(oi),this._renderChangesSubscription||this._filterData(oi)}get filter(){return this._filter.value}set filter(oi){this._filter.next(oi),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(oi){this._sort=oi,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(oi){this._paginator=oi,this._updateChangeSubscription()}constructor(oi=[]){super(),this._renderData=new d.X([]),this._filter=new d.X(""),this._internalPageChanges=new m.x,this._renderChangesSubscription=null,this.sortingDataAccessor=(Ce,St)=>{const Ft=Ce[St];if((0,V.t6)(Ft)){const Dt=Number(Ft);return Dt<9007199254740991?Dt:Ft}return Ft},this.sortData=(Ce,St)=>{const Ft=St.active,Dt=St.direction;return Ft&&""!=Dt?Ce.sort((It,Ut)=>{let ai=this.sortingDataAccessor(It,Ft),_i=this.sortingDataAccessor(Ut,Ft);const bi=typeof ai,Oi=typeof _i;bi!==Oi&&("number"===bi&&(ai+=""),"number"===Oi&&(_i+=""));let Bi=0;return null!=ai&&null!=_i?ai>_i?Bi=1:ai<_i&&(Bi=-1):null!=ai?Bi=1:null!=_i&&(Bi=-1),Bi*("asc"==Dt?1:-1)}):Ce},this.filterPredicate=(Ce,St)=>{const Ft=Object.keys(Ce).reduce((It,Ut)=>It+Ce[Ut]+"\u25ec","").toLowerCase(),Dt=St.trim().toLowerCase();return-1!=Ft.indexOf(Dt)},this._data=new d.X(oi),this._updateChangeSubscription()}_updateChangeSubscription(){const oi=this._sort?(0,Qe.T)(this._sort.sortChange,this._sort.initialized):(0,M.of)(null),Ce=this._paginator?(0,Qe.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,M.of)(null),Ft=(0,zt.a)([this._data,this._filter]).pipe((0,xt.U)(([Ut])=>this._filterData(Ut))),Dt=(0,zt.a)([Ft,oi]).pipe((0,xt.U)(([Ut])=>this._orderData(Ut))),It=(0,zt.a)([Dt,Ce]).pipe((0,xt.U)(([Ut])=>this._pageData(Ut)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=It.subscribe(Ut=>this._renderData.next(Ut))}_filterData(oi){return this.filteredData=null==this.filter||""===this.filter?oi:oi.filter(Ce=>this.filterPredicate(Ce,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(oi){return this.sort?this.sortData(oi.slice(),this.sort):oi}_pageData(oi){if(!this.paginator)return oi;const Ce=this.paginator.pageIndex*this.paginator.pageSize;return oi.slice(Ce,Ce+this.paginator.pageSize)}_updatePaginator(oi){Promise.resolve().then(()=>{const Ce=this.paginator;if(Ce&&(Ce.length=oi,Ce.pageIndex>0)){const St=Math.ceil(Ce.length/Ce.pageSize)-1||0,Ft=Math.min(Ce.pageIndex,St);Ft!==Ce.pageIndex&&(Ce.pageIndex=Ft,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}}},4104:(ze,q,p)=>{"use strict";p.d(q,{BU:()=>nt,Nh:()=>Xe,Nj:()=>tt,SP:()=>xt,sW:()=>Ue,uD:()=>Ge,uX:()=>Ke});var e=p(6814),t=p(9212),y=p(3680),A=p(8484),l=p(7131),x=p(4300),m=p(9388),P=p(7394),d=p(8645),E=p(2438),M=p(2096),I=p(3019),k=p(6232),V=p(5592),B=p(9080),W=p(5619),j=p(7921),K=p(3997),X=p(9773),ie=p(8180),ae=p(4664),fe=p(836),se=p(2181),Me=p(6825),$=p(2495),ue=p(5407),S=p(2831),n=p(6028);function s(gt,Le){}const f=gt=>({animationDuration:gt}),h=(gt,Le)=>({value:gt,params:Le});function w(gt,Le){1&gt&&t.Hsn(0)}const D=["*"],O=["tabListContainer"],v=["tabList"],r=["tabListInner"],g=["nextPaginator"],H=["previousPaginator"],N=["tabBodyWrapper"],ee=["tabHeader"];function De(gt,Le){}function ot(gt,Le){if(1&gt&&t.YNc(0,De,0,0,"ng-template",10),2&gt){const be=t.oxw().$implicit;t.Q6J("cdkPortalOutlet",be.templateLabel)}}function je(gt,Le){if(1&gt&&t._uU(0),2&gt){const be=t.oxw().$implicit;t.Oqu(be.textLabel)}}function Je(gt,Le){if(1&gt){const be=t.EpF();t.TgZ(0,"div",4,5),t.NdJ("click",function(){const re=t.CHM(be),Ie=re.$implicit,Nt=re.$index,At=t.oxw(),Zt=t.MAs(1);return t.KtG(At._handleClick(Ie,Zt,Nt))})("cdkFocusChange",function(re){const Nt=t.CHM(be).$index,At=t.oxw();return t.KtG(At._tabFocusChanged(re,Nt))}),t._UZ(2,"span",6)(3,"div",7),t.TgZ(4,"span",8)(5,"span",9),t.YNc(6,ot,1,1,null,10)(7,je,1,1),t.qZA()()()}if(2&gt){const be=Le.$implicit,J=Le.$index,re=t.MAs(1),Ie=t.oxw();t.ekj("mdc-tab--active",Ie.selectedIndex===J),t.Q6J("id",Ie._getTabLabelId(J))("ngClass",be.labelClass)("disabled",be.disabled)("fitInkBarToContent",Ie.fitInkBarToContent),t.uIk("tabIndex",Ie._getTabIndex(J))("aria-posinset",J+1)("aria-setsize",Ie._tabs.length)("aria-controls",Ie._getTabContentId(J))("aria-selected",Ie.selectedIndex===J)("aria-label",be.ariaLabel||null)("aria-labelledby",!be.ariaLabel&&be.ariaLabelledby?be.ariaLabelledby:null),t.xp6(3),t.Q6J("matRippleTrigger",re)("matRippleDisabled",be.disabled||Ie.disableRipple),t.xp6(3),t.um2(6,be.templateLabel?6:7)}}function ye(gt,Le){if(1&gt){const be=t.EpF();t.TgZ(0,"mat-tab-body",11),t.NdJ("_onCentered",function(){t.CHM(be);const re=t.oxw();return t.KtG(re._removeTabBodyWrapperHeight())})("_onCentering",function(re){t.CHM(be);const Ie=t.oxw();return t.KtG(Ie._setTabBodyWrapperHeight(re))}),t.qZA()}if(2&gt){const be=Le.$implicit,J=Le.$index,re=t.oxw();t.ekj("mat-mdc-tab-body-active",re.selectedIndex===J),t.Q6J("id",re._getTabContentId(J))("ngClass",be.bodyClass)("content",be.content)("position",be.position)("origin",be.origin)("animationDuration",re.animationDuration)("preserveContent",re.preserveContent),t.uIk("tabindex",null!=re.contentTabIndex&&re.selectedIndex===J?re.contentTabIndex:null)("aria-labelledby",re._getTabLabelId(J))("aria-hidden",re.selectedIndex!==J)}}const me=["mat-tab-nav-bar",""],he=["mat-tab-link",""],xe={translateTab:(0,Me.X$)("translateTab",[(0,Me.SB)("center, void, left-origin-center, right-origin-center",(0,Me.oB)({transform:"none"})),(0,Me.SB)("left",(0,Me.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,Me.SB)("right",(0,Me.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,Me.eR)("* => left, * => right, left => center, right => center",(0,Me.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,Me.eR)("void => left-origin-center",[(0,Me.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,Me.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,Me.eR)("void => right-origin-center",[(0,Me.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,Me.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let de=(()=>{class gt extends A.Pl{constructor(be,J,re,Ie){super(be,J,Ie),this._host=re,this._centeringSub=P.w0.EMPTY,this._leavingSub=P.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,j.O)(this._host._isCenterPosition(this._host._position))).subscribe(be=>{be&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}static#e=this.\u0275fac=function(J){return new(J||gt)(t.Y36(t._Vd),t.Y36(t.s_b),t.Y36((0,t.Gpc)(()=>ge)),t.Y36(e.K0))};static#t=this.\u0275dir=t.lG2({type:gt,selectors:[["","matTabBodyHost",""]],features:[t.qOj]})}return gt})(),ge=(()=>{class gt{set position(be){this._positionIndex=be,this._computePositionAnimationState()}constructor(be,J,re){this._elementRef=be,this._dir=J,this._dirChangeSubscription=P.w0.EMPTY,this._translateTabComplete=new d.x,this._onCentering=new t.vpe,this._beforeCentering=new t.vpe,this._afterLeavingCenter=new t.vpe,this._onCentered=new t.vpe(!0),this.animationDuration="500ms",this.preserveContent=!1,J&&(this._dirChangeSubscription=J.change.subscribe(Ie=>{this._computePositionAnimationState(Ie),re.markForCheck()})),this._translateTabComplete.pipe((0,K.x)((Ie,Nt)=>Ie.fromState===Nt.fromState&&Ie.toState===Nt.toState)).subscribe(Ie=>{this._isCenterPosition(Ie.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(Ie.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(be){const J=this._isCenterPosition(be.toState);this._beforeCentering.emit(J),J&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(be){return"center"==be||"left-origin-center"==be||"right-origin-center"==be}_computePositionAnimationState(be=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==be?"left":"right":this._positionIndex>0?"ltr"==be?"right":"left":"center"}_computePositionFromOrigin(be){const J=this._getLayoutDirection();return"ltr"==J&&be<=0||"rtl"==J&&be>0?"left-origin-center":"right-origin-center"}static#e=this.\u0275fac=function(J){return new(J||gt)(t.Y36(t.SBq),t.Y36(m.Is,8),t.Y36(t.sBO))};static#t=this.\u0275cmp=t.Xpm({type:gt,selectors:[["mat-tab-body"]],viewQuery:function(J,re){if(1&J&&t.Gf(A.Pl,5),2&J){let Ie;t.iGM(Ie=t.CRH())&&(re._portalHost=Ie.first)}},hostAttrs:[1,"mat-mdc-tab-body"],inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"},decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(J,re){1&J&&(t.TgZ(0,"div",0,1),t.NdJ("@translateTab.start",function(Nt){return re._onTranslateTabStarted(Nt)})("@translateTab.done",function(Nt){return re._translateTabComplete.next(Nt)}),t.YNc(2,s,0,0,"ng-template",2),t.qZA()),2&J&&t.Q6J("@translateTab",t.WLB(3,h,re._position,t.VKq(1,f,re.animationDuration)))},dependencies:[de],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[xe.translateTab]}})}return gt})();const qe=new t.OlP("MatTabContent");let oe=(()=>{class gt{constructor(be){this.template=be}static#e=this.\u0275fac=function(J){return new(J||gt)(t.Y36(t.Rgc))};static#t=this.\u0275dir=t.lG2({type:gt,selectors:[["","matTabContent",""]],features:[t._Bn([{provide:qe,useExisting:gt}])]})}return gt})();const ve=new t.OlP("MatTabLabel"),le=new t.OlP("MAT_TAB");let Ge=(()=>{class gt extends A.ig{constructor(be,J,re){super(be,J),this._closestTab=re}static#e=this.\u0275fac=function(J){return new(J||gt)(t.Y36(t.Rgc),t.Y36(t.s_b),t.Y36(le,8))};static#t=this.\u0275dir=t.lG2({type:gt,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[t._Bn([{provide:ve,useExisting:gt}]),t.qOj]})}return gt})();const We="mdc-tab-indicator--active",wt="mdc-tab-indicator--no-transition";class mt{constructor(Le){this._items=Le}hide(){this._items.forEach(Le=>Le.deactivateInkBar())}alignToElement(Le){const be=this._items.find(re=>re.elementRef.nativeElement===Le),J=this._currentItem;if(be!==J&&(J?.deactivateInkBar(),be)){const re=J?.elementRef.nativeElement.getBoundingClientRect?.();be.activateInkBar(re),this._currentItem=be}}}function kt(gt){return class extends gt{constructor(...Le){super(...Le),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(Le){const be=(0,$.Ig)(Le);this._fitToContent!==be&&(this._fitToContent=be,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(Le){const be=this.elementRef.nativeElement;if(!Le||!be.getBoundingClientRect||!this._inkBarContentElement)return void be.classList.add(We);const J=be.getBoundingClientRect(),re=Le.width/J.width,Ie=Le.left-J.left;be.classList.add(wt),this._inkBarContentElement.style.setProperty("transform",`translateX(${Ie}px) scaleX(${re})`),be.getBoundingClientRect(),be.classList.remove(wt),be.classList.add(We),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(We)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const Le=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=Le.createElement("span"),this._inkBarContentElement=Le.createElement("span"),this._inkBarElement.className="mdc-tab-indicator",this._inkBarContentElement.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",this._inkBarElement.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement).appendChild(this._inkBarElement)}}}const it=kt((0,y.Id)(class{}));let $e=(()=>{class gt extends it{constructor(be){super(),this.elementRef=be}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static#e=this.\u0275fac=function(J){return new(J||gt)(t.Y36(t.SBq))};static#t=this.\u0275dir=t.lG2({type:gt,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(J,re){2&J&&(t.uIk("aria-disabled",!!re.disabled),t.ekj("mat-mdc-tab-disabled",re.disabled))},inputs:{disabled:"disabled",fitInkBarToContent:"fitInkBarToContent"},features:[t.qOj]})}return gt})();const ke=(0,y.Id)(class{}),st=new t.OlP("MAT_TAB_GROUP");let Ke=(()=>{class gt extends ke{get templateLabel(){return this._templateLabel}set templateLabel(be){this._setTemplateLabelInput(be)}get content(){return this._contentPortal}constructor(be,J){super(),this._viewContainerRef=be,this._closestTabGroup=J,this._explicitContent=void 0,this.textLabel="",this._contentPortal=null,this._stateChanges=new d.x,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(be){(be.hasOwnProperty("textLabel")||be.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new A.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(be){be&&be._closestTab===this&&(this._templateLabel=be)}static#e=this.\u0275fac=function(J){return new(J||gt)(t.Y36(t.s_b),t.Y36(st,8))};static#t=this.\u0275cmp=t.Xpm({type:gt,selectors:[["mat-tab"]],contentQueries:function(J,re,Ie){if(1&J&&(t.Suo(Ie,Ge,5),t.Suo(Ie,oe,7,t.Rgc)),2&J){let Nt;t.iGM(Nt=t.CRH())&&(re.templateLabel=Nt.first),t.iGM(Nt=t.CRH())&&(re._explicitContent=Nt.first)}},viewQuery:function(J,re){if(1&J&&t.Gf(t.Rgc,7),2&J){let Ie;t.iGM(Ie=t.CRH())&&(re._implicitContent=Ie.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[t._Bn([{provide:le,useExisting:gt}]),t.qOj,t.TTD],ngContentSelectors:D,decls:1,vars:0,template:function(J,re){1&J&&(t.F$t(),t.YNc(0,w,1,0,"ng-template"))},encapsulation:2})}return gt})();const Et=(0,S.i$)({passive:!0});let Pe=(()=>{class gt{get disablePagination(){return this._disablePagination}set disablePagination(be){this._disablePagination=(0,$.Ig)(be)}get selectedIndex(){return this._selectedIndex}set selectedIndex(be){be=(0,$.su)(be),this._selectedIndex!=be&&(this._selectedIndexChanged=!0,this._selectedIndex=be,this._keyManager&&this._keyManager.updateActiveItem(be))}constructor(be,J,re,Ie,Nt,At,Zt){this._elementRef=be,this._changeDetectorRef=J,this._viewportRuler=re,this._dir=Ie,this._ngZone=Nt,this._platform=At,this._animationMode=Zt,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new d.x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new d.x,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new t.vpe,this.indexFocused=new t.vpe,Nt.runOutsideAngular(()=>{(0,E.R)(be.nativeElement,"mouseleave").pipe((0,X.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){(0,E.R)(this._previousPaginator.nativeElement,"touchstart",Et).pipe((0,X.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,E.R)(this._nextPaginator.nativeElement,"touchstart",Et).pipe((0,X.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const be=this._dir?this._dir.change:(0,M.of)("ltr"),J=this._viewportRuler.change(150),re=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new x.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,ie.q)(1)).subscribe(re),(0,I.T)(be,J,this._items.changes,this._itemsResized()).pipe((0,X.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),re()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(Ie=>{this.indexFocused.emit(Ie),this._setTabFocus(Ie)})}_itemsResized(){return"function"!=typeof ResizeObserver?k.E:this._items.changes.pipe((0,j.O)(this._items),(0,ae.w)(be=>new V.y(J=>this._ngZone.runOutsideAngular(()=>{const re=new ResizeObserver(Ie=>J.next(Ie));return be.forEach(Ie=>re.observe(Ie.elementRef.nativeElement)),()=>{re.disconnect()}}))),(0,fe.T)(1),(0,se.h)(be=>be.some(J=>J.contentRect.width>0&&J.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(be){if(!(0,n.Vb)(be))switch(be.keyCode){case n.K5:case n.L_:if(this.focusIndex!==this.selectedIndex){const J=this._items.get(this.focusIndex);J&&!J.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(be))}break;default:this._keyManager.onKeydown(be)}}_onContentChanges(){const be=this._elementRef.nativeElement.textContent;be!==this._currentTextContent&&(this._currentTextContent=be||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(be){!this._isValidIndex(be)||this.focusIndex===be||!this._keyManager||this._keyManager.setActiveItem(be)}_isValidIndex(be){return!this._items||!!this._items.toArray()[be]}_setTabFocus(be){if(this._showPaginationControls&&this._scrollToLabel(be),this._items&&this._items.length){this._items.toArray()[be].focus();const J=this._tabListContainer.nativeElement;J.scrollLeft="ltr"==this._getLayoutDirection()?0:J.scrollWidth-J.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const be=this.scrollDistance,J="ltr"===this._getLayoutDirection()?-be:be;this._tabList.nativeElement.style.transform=`translateX(${Math.round(J)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(be){this._scrollTo(be)}_scrollHeader(be){return this._scrollTo(this._scrollDistance+("before"==be?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(be){this._stopInterval(),this._scrollHeader(be)}_scrollToLabel(be){if(this.disablePagination)return;const J=this._items?this._items.toArray()[be]:null;if(!J)return;const re=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:Ie,offsetWidth:Nt}=J.elementRef.nativeElement;let At,Zt;"ltr"==this._getLayoutDirection()?(At=Ie,Zt=At+Nt):(Zt=this._tabListInner.nativeElement.offsetWidth-Ie,At=Zt-Nt);const mi=this.scrollDistance,Jt=this.scrollDistance+re;At<mi?this.scrollDistance-=mi-At:Zt>Jt&&(this.scrollDistance+=Math.min(Zt-Jt,At-mi))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const be=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;be||(this.scrollDistance=0),be!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=be}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const be=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,J=be?be.elementRef.nativeElement:null;J?this._inkBar.alignToElement(J):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(be,J){J&&null!=J.button&&0!==J.button||(this._stopInterval(),(0,B.H)(650,100).pipe((0,X.R)((0,I.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:re,distance:Ie}=this._scrollHeader(be);(0===Ie||Ie>=re)&&this._stopInterval()}))}_scrollTo(be){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const J=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(J,be)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:J,distance:this._scrollDistance}}static#e=this.\u0275fac=function(J){return new(J||gt)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(ue.rL),t.Y36(m.Is,8),t.Y36(t.R0b),t.Y36(S.t4),t.Y36(t.QbO,8))};static#t=this.\u0275dir=t.lG2({type:gt,inputs:{disablePagination:"disablePagination"}})}return gt})(),$t=(()=>{class gt extends Pe{get disableRipple(){return this._disableRipple}set disableRipple(be){this._disableRipple=(0,$.Ig)(be)}constructor(be,J,re,Ie,Nt,At,Zt){super(be,J,re,Ie,Nt,At,Zt),this._disableRipple=!1}ngAfterContentInit(){this._inkBar=new mt(this._items),super.ngAfterContentInit()}_itemSelected(be){be.preventDefault()}static#e=this.\u0275fac=function(J){return new(J||gt)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(ue.rL),t.Y36(m.Is,8),t.Y36(t.R0b),t.Y36(S.t4),t.Y36(t.QbO,8))};static#t=this.\u0275cmp=t.Xpm({type:gt,selectors:[["mat-tab-header"]],contentQueries:function(J,re,Ie){if(1&J&&t.Suo(Ie,$e,4),2&J){let Nt;t.iGM(Nt=t.CRH())&&(re._items=Nt)}},viewQuery:function(J,re){if(1&J&&(t.Gf(O,7),t.Gf(v,7),t.Gf(r,7),t.Gf(g,5),t.Gf(H,5)),2&J){let Ie;t.iGM(Ie=t.CRH())&&(re._tabListContainer=Ie.first),t.iGM(Ie=t.CRH())&&(re._tabList=Ie.first),t.iGM(Ie=t.CRH())&&(re._tabListInner=Ie.first),t.iGM(Ie=t.CRH())&&(re._nextPaginator=Ie.first),t.iGM(Ie=t.CRH())&&(re._previousPaginator=Ie.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(J,re){2&J&&t.ekj("mat-mdc-tab-header-pagination-controls-enabled",re._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==re._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex",disableRipple:"disableRipple"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[t.qOj],ngContentSelectors:D,decls:13,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(J,re){1&J&&(t.F$t(),t.TgZ(0,"button",0,1),t.NdJ("click",function(){return re._handlePaginatorClick("before")})("mousedown",function(Nt){return re._handlePaginatorPress("before",Nt)})("touchend",function(){return re._stopInterval()}),t._UZ(2,"div",2),t.qZA(),t.TgZ(3,"div",3,4),t.NdJ("keydown",function(Nt){return re._handleKeydown(Nt)}),t.TgZ(5,"div",5,6),t.NdJ("cdkObserveContent",function(){return re._onContentChanges()}),t.TgZ(7,"div",7,8),t.Hsn(9),t.qZA()()(),t.TgZ(10,"button",9,10),t.NdJ("mousedown",function(Nt){return re._handlePaginatorPress("after",Nt)})("click",function(){return re._handlePaginatorClick("after")})("touchend",function(){return re._stopInterval()}),t._UZ(12,"div",2),t.qZA()),2&J&&(t.ekj("mat-mdc-tab-header-pagination-disabled",re._disableScrollBefore),t.Q6J("matRippleDisabled",re._disableScrollBefore||re.disableRipple)("disabled",re._disableScrollBefore||null),t.xp6(3),t.ekj("_mat-animation-noopable","NoopAnimations"===re._animationMode),t.xp6(7),t.ekj("mat-mdc-tab-header-pagination-disabled",re._disableScrollAfter),t.Q6J("matRippleDisabled",re._disableScrollAfter||re.disableRipple)("disabled",re._disableScrollAfter||null))},dependencies:[y.wG,l.wD],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2})}return gt})();const Ze=new t.OlP("MAT_TABS_CONFIG");let Qe=0;const zt=(0,y.pj)((0,y.Kr)(class{constructor(gt){this._elementRef=gt}}),"primary");let xt=(()=>{class gt extends zt{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(be){this._fitInkBarToContent=(0,$.Ig)(be),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(be){this._stretchTabs=(0,$.Ig)(be)}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(be){this._dynamicHeight=(0,$.Ig)(be)}get selectedIndex(){return this._selectedIndex}set selectedIndex(be){this._indexToSelect=(0,$.su)(be,null)}get animationDuration(){return this._animationDuration}set animationDuration(be){this._animationDuration=/^\d+$/.test(be+"")?be+"ms":be}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(be){this._contentTabIndex=(0,$.su)(be,null)}get disablePagination(){return this._disablePagination}set disablePagination(be){this._disablePagination=(0,$.Ig)(be)}get preserveContent(){return this._preserveContent}set preserveContent(be){this._preserveContent=(0,$.Ig)(be)}get backgroundColor(){return this._backgroundColor}set backgroundColor(be){const J=this._elementRef.nativeElement.classList;J.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),be&&J.add("mat-tabs-with-background",`mat-background-${be}`),this._backgroundColor=be}constructor(be,J,re,Ie){super(be),this._changeDetectorRef=J,this._animationMode=Ie,this._tabs=new t.n_E,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=P.w0.EMPTY,this._tabLabelSubscription=P.w0.EMPTY,this._fitInkBarToContent=!1,this._stretchTabs=!0,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new t.vpe,this.focusChange=new t.vpe,this.animationDone=new t.vpe,this.selectedTabChange=new t.vpe(!0),this._groupId=Qe++,this.animationDuration=re&&re.animationDuration?re.animationDuration:"500ms",this.disablePagination=!(!re||null==re.disablePagination)&&re.disablePagination,this.dynamicHeight=!(!re||null==re.dynamicHeight)&&re.dynamicHeight,this.contentTabIndex=re?.contentTabIndex??null,this.preserveContent=!!re?.preserveContent,this.fitInkBarToContent=!(!re||null==re.fitInkBarToContent)&&re.fitInkBarToContent,this.stretchTabs=!re||null==re.stretchTabs||re.stretchTabs}ngAfterContentChecked(){const be=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=be){const J=null==this._selectedIndex;if(!J){this.selectedTabChange.emit(this._createChangeEvent(be));const re=this._tabBodyWrapper.nativeElement;re.style.minHeight=re.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((re,Ie)=>re.isActive=Ie===be),J||(this.selectedIndexChange.emit(be),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((J,re)=>{J.position=re-be,null!=this._selectedIndex&&0==J.position&&!J.origin&&(J.origin=be-this._selectedIndex)}),this._selectedIndex!==be&&(this._selectedIndex=be,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const be=this._clampTabIndex(this._indexToSelect);if(be===this._selectedIndex){const J=this._tabs.toArray();let re;for(let Ie=0;Ie<J.length;Ie++)if(J[Ie].isActive){this._indexToSelect=this._selectedIndex=Ie,this._lastFocusedTabIndex=null,re=J[Ie];break}!re&&J[be]&&Promise.resolve().then(()=>{J[be].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(be))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,j.O)(this._allTabs)).subscribe(be=>{this._tabs.reset(be.filter(J=>J._closestTabGroup===this||!J._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(be){const J=this._tabHeader;J&&(J.focusIndex=be)}_focusChanged(be){this._lastFocusedTabIndex=be,this.focusChange.emit(this._createChangeEvent(be))}_createChangeEvent(be){const J=new Ot;return J.index=be,this._tabs&&this._tabs.length&&(J.tab=this._tabs.toArray()[be]),J}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,I.T)(...this._tabs.map(be=>be._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(be){return Math.min(this._tabs.length-1,Math.max(be||0,0))}_getTabLabelId(be){return`mat-tab-label-${this._groupId}-${be}`}_getTabContentId(be){return`mat-tab-content-${this._groupId}-${be}`}_setTabBodyWrapperHeight(be){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const J=this._tabBodyWrapper.nativeElement;J.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(J.style.height=be+"px")}_removeTabBodyWrapperHeight(){const be=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=be.clientHeight,be.style.height="",this.animationDone.emit()}_handleClick(be,J,re){J.focusIndex=re,be.disabled||(this.selectedIndex=re)}_getTabIndex(be){return be===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(be,J){be&&"mouse"!==be&&"touch"!==be&&(this._tabHeader.focusIndex=J)}static#e=this.\u0275fac=function(J){return new(J||gt)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(Ze,8),t.Y36(t.QbO,8))};static#t=this.\u0275cmp=t.Xpm({type:gt,selectors:[["mat-tab-group"]],contentQueries:function(J,re,Ie){if(1&J&&t.Suo(Ie,Ke,5),2&J){let Nt;t.iGM(Nt=t.CRH())&&(re._allTabs=Nt)}},viewQuery:function(J,re){if(1&J&&(t.Gf(N,5),t.Gf(ee,5)),2&J){let Ie;t.iGM(Ie=t.CRH())&&(re._tabBodyWrapper=Ie.first),t.iGM(Ie=t.CRH())&&(re._tabHeader=Ie.first)}},hostAttrs:["ngSkipHydration","",1,"mat-mdc-tab-group"],hostVars:8,hostBindings:function(J,re){2&J&&(t.Udp("--mat-tab-animation-duration",re.animationDuration),t.ekj("mat-mdc-tab-group-dynamic-height",re.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===re.headerPosition)("mat-mdc-tab-group-stretch-tabs",re.stretchTabs))},inputs:{color:"color",disableRipple:"disableRipple",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"],dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],features:[t._Bn([{provide:st,useExisting:gt}]),t.qOj],decls:8,vars:5,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],[1,"mat-mdc-tab-body-wrapper"],["tabBodyWrapper",""],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange"],["tabNode",""],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"],["class","mdc-tab mat-mdc-tab mat-mdc-focus-indicator","role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",3,"id","mdc-tab--active","ngClass","disabled","fitInkBarToContent"],["role","tabpanel",3,"id","mat-mdc-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent"]],template:function(J,re){1&J&&(t.TgZ(0,"mat-tab-header",0,1),t.NdJ("indexFocused",function(Nt){return re._focusChanged(Nt)})("selectFocusedIndex",function(Nt){return re.selectedIndex=Nt}),t.SjG(2,Je,8,16,"div",12,t.x6l),t.qZA(),t.TgZ(4,"div",2,3),t.SjG(6,ye,1,12,"mat-tab-body",13,t.x6l),t.qZA()),2&J&&(t.Q6J("selectedIndex",re.selectedIndex||0)("disableRipple",re.disableRipple)("disablePagination",re.disablePagination),t.xp6(2),t.wJu(re._tabs),t.xp6(2),t.ekj("_mat-animation-noopable","NoopAnimations"===re._animationMode),t.xp6(2),t.wJu(re._tabs))},dependencies:[e.mk,A.Pl,y.wG,x.kH,ge,$e,$t],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2})}return gt})();class Ot{}let yt=0,nt=(()=>{class gt extends Pe{get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(be){this._fitInkBarToContent.next((0,$.Ig)(be)),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(be){this._stretchTabs=(0,$.Ig)(be)}get animationDuration(){return this._animationDuration}set animationDuration(be){this._animationDuration=/^\d+$/.test(be+"")?be+"ms":be}get backgroundColor(){return this._backgroundColor}set backgroundColor(be){const J=this._elementRef.nativeElement.classList;J.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),be&&J.add("mat-tabs-with-background",`mat-background-${be}`),this._backgroundColor=be}get disableRipple(){return this._disableRipple}set disableRipple(be){this._disableRipple=(0,$.Ig)(be)}constructor(be,J,re,Ie,Nt,At,Zt,mi){super(be,Ie,Nt,J,re,At,Zt),this._fitInkBarToContent=new W.X(!1),this._stretchTabs=!0,this._disableRipple=!1,this.color="primary",this.disablePagination=!(!mi||null==mi.disablePagination)&&mi.disablePagination,this.fitInkBarToContent=!(!mi||null==mi.fitInkBarToContent)&&mi.fitInkBarToContent,this.stretchTabs=!mi||null==mi.stretchTabs||mi.stretchTabs}_itemSelected(){}ngAfterContentInit(){this._inkBar=new mt(this._items),this._items.changes.pipe((0,j.O)(null),(0,X.R)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}ngAfterViewInit(){super.ngAfterViewInit()}updateActiveLink(){if(!this._items)return;const be=this._items.toArray();for(let J=0;J<be.length;J++)if(be[J].active)return this.selectedIndex=J,this._changeDetectorRef.markForCheck(),void(this.tabPanel&&(this.tabPanel._activeTabId=be[J].id));this.selectedIndex=-1,this._inkBar.hide()}_getRole(){return this.tabPanel?"tablist":this._elementRef.nativeElement.getAttribute("role")}static#e=this.\u0275fac=function(J){return new(J||gt)(t.Y36(t.SBq),t.Y36(m.Is,8),t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(ue.rL),t.Y36(S.t4),t.Y36(t.QbO,8),t.Y36(Ze,8))};static#t=this.\u0275cmp=t.Xpm({type:gt,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(J,re,Ie){if(1&J&&t.Suo(Ie,tt,5),2&J){let Nt;t.iGM(Nt=t.CRH())&&(re._items=Nt)}},viewQuery:function(J,re){if(1&J&&(t.Gf(O,7),t.Gf(v,7),t.Gf(r,7),t.Gf(g,5),t.Gf(H,5)),2&J){let Ie;t.iGM(Ie=t.CRH())&&(re._tabListContainer=Ie.first),t.iGM(Ie=t.CRH())&&(re._tabList=Ie.first),t.iGM(Ie=t.CRH())&&(re._tabListInner=Ie.first),t.iGM(Ie=t.CRH())&&(re._nextPaginator=Ie.first),t.iGM(Ie=t.CRH())&&(re._previousPaginator=Ie.first)}},hostAttrs:[1,"mat-mdc-tab-nav-bar","mat-mdc-tab-header"],hostVars:17,hostBindings:function(J,re){2&J&&(t.uIk("role",re._getRole()),t.Udp("--mat-tab-animation-duration",re.animationDuration),t.ekj("mat-mdc-tab-header-pagination-controls-enabled",re._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==re._getLayoutDirection())("mat-mdc-tab-nav-bar-stretch-tabs",re.stretchTabs)("mat-primary","warn"!==re.color&&"accent"!==re.color)("mat-accent","accent"===re.color)("mat-warn","warn"===re.color)("_mat-animation-noopable","NoopAnimations"===re._animationMode))},inputs:{color:"color",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"],animationDuration:"animationDuration",backgroundColor:"backgroundColor",disableRipple:"disableRipple",tabPanel:"tabPanel"},exportAs:["matTabNavBar","matTabNav"],features:[t.qOj],attrs:me,ngContentSelectors:D,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(J,re){1&J&&(t.F$t(),t.TgZ(0,"button",0,1),t.NdJ("click",function(){return re._handlePaginatorClick("before")})("mousedown",function(Nt){return re._handlePaginatorPress("before",Nt)})("touchend",function(){return re._stopInterval()}),t._UZ(2,"div",2),t.qZA(),t.TgZ(3,"div",3,4),t.NdJ("keydown",function(Nt){return re._handleKeydown(Nt)}),t.TgZ(5,"div",5,6),t.NdJ("cdkObserveContent",function(){return re._onContentChanges()}),t.TgZ(7,"div",7,8),t.Hsn(9),t.qZA()()(),t.TgZ(10,"button",9,10),t.NdJ("mousedown",function(Nt){return re._handlePaginatorPress("after",Nt)})("click",function(){return re._handlePaginatorClick("after")})("touchend",function(){return re._stopInterval()}),t._UZ(12,"div",2),t.qZA()),2&J&&(t.ekj("mat-mdc-tab-header-pagination-disabled",re._disableScrollBefore),t.Q6J("matRippleDisabled",re._disableScrollBefore||re.disableRipple)("disabled",re._disableScrollBefore||null),t.xp6(10),t.ekj("mat-mdc-tab-header-pagination-disabled",re._disableScrollAfter),t.Q6J("matRippleDisabled",re._disableScrollAfter||re.disableRipple)("disabled",re._disableScrollAfter||null))},dependencies:[y.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{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-links{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:flex-end}.mat-mdc-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-focus-indicator::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab__ripple::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}"],encapsulation:2})}return gt})();const Ee=kt((0,y.sb)((0,y.Kr)((0,y.Id)(class{}))));let tt=(()=>{class gt extends Ee{get active(){return this._isActive}set active(be){const J=(0,$.Ig)(be);J!==this._isActive&&(this._isActive=J,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}constructor(be,J,re,Ie,Nt,At){super(),this._tabNavBar=be,this.elementRef=J,this._focusMonitor=Nt,this._destroyed=new d.x,this._isActive=!1,this.id="mat-tab-link-"+yt++,this.rippleConfig=re||{},this.tabIndex=parseInt(Ie)||0,"NoopAnimations"===At&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0}),be._fitInkBarToContent.pipe((0,X.R)(this._destroyed)).subscribe(Zt=>{this.fitInkBarToContent=Zt})}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),super.ngOnDestroy(),this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(be){(be.keyCode===n.L_||be.keyCode===n.K5)&&(this.disabled?be.preventDefault():this._tabNavBar.tabPanel&&this.elementRef.nativeElement.click())}_getAriaControls(){return this._tabNavBar.tabPanel?this._tabNavBar.tabPanel?.id:this.elementRef.nativeElement.getAttribute("aria-controls")}_getAriaSelected(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")}_getAriaCurrent(){return this.active&&!this._tabNavBar.tabPanel?"page":null}_getRole(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")}_getTabIndex(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.tabIndex}static#e=this.\u0275fac=function(J){return new(J||gt)(t.Y36(nt),t.Y36(t.SBq),t.Y36(y.Y2,8),t.$8M("tabindex"),t.Y36(x.tE),t.Y36(t.QbO,8))};static#t=this.\u0275cmp=t.Xpm({type:gt,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-mdc-focus-indicator"],hostVars:11,hostBindings:function(J,re){1&J&&t.NdJ("focus",function(){return re._handleFocus()})("keydown",function(Nt){return re._handleKeydown(Nt)}),2&J&&(t.uIk("aria-controls",re._getAriaControls())("aria-current",re._getAriaCurrent())("aria-disabled",re.disabled)("aria-selected",re._getAriaSelected())("id",re.id)("tabIndex",re._getTabIndex())("role",re._getRole()),t.ekj("mat-mdc-tab-disabled",re.disabled)("mdc-tab--active",re.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",active:"active",id:"id"},exportAs:["matTabLink"],features:[t.qOj],attrs:he,ngContentSelectors:D,decls:5,vars:2,consts:[[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"]],template:function(J,re){1&J&&(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&J&&(t.xp6(1),t.Q6J("matRippleTrigger",re.elementRef.nativeElement)("matRippleDisabled",re.rippleDisabled))},dependencies:[y.wG],styles:['.mat-mdc-tab-link{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab-link:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab-link:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link.mdc-tab{flex-grow:0}.mat-mdc-tab-link:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab-link:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab-link.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab-link.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab-link.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab-link .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab-link .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab-link:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab-link .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link{flex-grow:1}.mat-mdc-tab-link::before{margin:5px}@media(max-width: 599px){.mat-mdc-tab-link{min-width:72px}}'],encapsulation:2,changeDetection:0})}return gt})(),Ue=(()=>{class gt{constructor(){this.id="mat-tab-nav-panel-"+yt++}static#e=this.\u0275fac=function(J){return new(J||gt)};static#t=this.\u0275cmp=t.Xpm({type:gt,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(J,re){2&J&&t.uIk("aria-labelledby",re._activeTabId)("id",re.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:D,decls:1,vars:0,template:function(J,re){1&J&&(t.F$t(),t.Hsn(0))},encapsulation:2,changeDetection:0})}return gt})(),Xe=(()=>{class gt{static#e=this.\u0275fac=function(J){return new(J||gt)};static#t=this.\u0275mod=t.oAB({type:gt});static#i=this.\u0275inj=t.cJS({imports:[e.ez,y.BQ,A.eL,y.si,l.Q8,x.rt,y.BQ]})}return gt})()},1274:(ze,q,p)=>{"use strict";p.d(q,{Ye:()=>d,g0:()=>M});var e=p(9212),t=p(3680),y=p(2831),A=p(6814);const l=["*",[["mat-toolbar-row"]]],x=["*","mat-toolbar-row"],m=(0,t.pj)(class{constructor(I){this._elementRef=I}});let P=(()=>{class I{static#e=this.\u0275fac=function(B){return new(B||I)};static#t=this.\u0275dir=e.lG2({type:I,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]})}return I})(),d=(()=>{class I extends m{constructor(V,B,W){super(V),this._platform=B,this._document=W}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}static#e=this.\u0275fac=function(B){return new(B||I)(e.Y36(e.SBq),e.Y36(y.t4),e.Y36(A.K0))};static#t=this.\u0275cmp=e.Xpm({type:I,selectors:[["mat-toolbar"]],contentQueries:function(B,W,j){if(1&B&&e.Suo(j,P,5),2&B){let K;e.iGM(K=e.CRH())&&(W._toolbarRows=K)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(B,W){2&B&&e.ekj("mat-toolbar-multiple-rows",W._toolbarRows.length>0)("mat-toolbar-single-row",0===W._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[e.qOj],ngContentSelectors:x,decls:2,vars:0,template:function(B,W){1&B&&(e.F$t(l),e.Hsn(0),e.Hsn(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color);color:var(--mat-toolbar-container-text-color)}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font);font-size:var(--mat-toolbar-title-text-size);line-height:var(--mat-toolbar-title-text-line-height);font-weight:var(--mat-toolbar-title-text-weight);letter-spacing:var(--mat-toolbar-title-text-tracking);margin:0}.cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color: inherit;--mdc-outlined-button-label-text-color: inherit}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height)}}"],encapsulation:2,changeDetection:0})}return I})(),M=(()=>{class I{static#e=this.\u0275fac=function(B){return new(B||I)};static#t=this.\u0275mod=e.oAB({type:I});static#i=this.\u0275inj=e.cJS({imports:[t.BQ,t.BQ]})}return I})()},2596:(ze,q,p)=>{"use strict";p.d(q,{AV:()=>v,gM:()=>w});var e=p(9773),t=p(8180),y=p(2495),A=p(6028),l=p(9212),x=p(6814),m=p(2831),P=p(4300),d=p(9388),E=p(3651),M=p(5407),I=p(8484),k=p(8645),B=(p(6825),p(3680));const W=["tooltip"],X=new l.OlP("mat-tooltip-scroll-strategy"),ae={provide:X,deps:[E.aV],useFactory:function ie(r){return()=>r.scrollStrategies.reposition({scrollThrottle:20})}},se=new l.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function fe(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),$="tooltip-panel",ue=(0,m.i$)({passive:!0});let w=(()=>{class r{get position(){return this._position}set position(H){H!==this._position&&(this._position=H,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(H){this._positionAtOrigin=(0,y.Ig)(H),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(H){this._disabled=(0,y.Ig)(H),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(H){this._showDelay=(0,y.su)(H)}get hideDelay(){return this._hideDelay}set hideDelay(H){this._hideDelay=(0,y.su)(H),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(H){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=H?String(H).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(H){this._tooltipClass=H,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(H,N,ee,De,ot,je,Je,ye,me,he,xe,de){this._overlay=H,this._elementRef=N,this._scrollDispatcher=ee,this._viewContainerRef=De,this._ngZone=ot,this._platform=je,this._ariaDescriber=Je,this._focusMonitor=ye,this._dir=he,this._defaultOptions=xe,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=D,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new k.x,this._scrollStrategy=me,this._document=de,xe&&(this._showDelay=xe.showDelay,this._hideDelay=xe.hideDelay,xe.position&&(this.position=xe.position),xe.positionAtOrigin&&(this.positionAtOrigin=xe.positionAtOrigin),xe.touchGestures&&(this.touchGestures=xe.touchGestures)),he.change.pipe((0,e.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=8}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,e.R)(this._destroyed)).subscribe(H=>{H?"keyboard"===H&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const H=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([N,ee])=>{H.removeEventListener(N,ee,ue)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(H,this.message,"tooltip"),this._focusMonitor.stopMonitoring(H)}show(H=this.showDelay,N){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const ee=this._createOverlay(N);this._detach(),this._portal=this._portal||new I.C5(this._tooltipComponent,this._viewContainerRef);const De=this._tooltipInstance=ee.attach(this._portal).instance;De._triggerElement=this._elementRef.nativeElement,De._mouseLeaveHideDelay=this._hideDelay,De.afterHidden().pipe((0,e.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),De.show(H)}hide(H=this.hideDelay){const N=this._tooltipInstance;N&&(N.isVisible()?N.hide(H):(N._cancelPendingAnimations(),this._detach()))}toggle(H){this._isTooltipVisible()?this.hide():this.show(void 0,H)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(H){if(this._overlayRef){const De=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!H)&&De._origin instanceof l.SBq)return this._overlayRef;this._detach()}const N=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),ee=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&H||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(N);return ee.positionChanges.pipe((0,e.R)(this._destroyed)).subscribe(De=>{this._updateCurrentPositionClass(De.connectionPair),this._tooltipInstance&&De.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:ee,panelClass:`${this._cssClassPrefix}-${$}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,e.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,e.R)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,e.R)(this._destroyed)).subscribe(De=>{this._isTooltipVisible()&&De.keyCode===A.hY&&!(0,A.Vb)(De)&&(De.preventDefault(),De.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(H){const N=H.getConfig().positionStrategy,ee=this._getOrigin(),De=this._getOverlayPosition();N.withPositions([this._addOffset({...ee.main,...De.main}),this._addOffset({...ee.fallback,...De.fallback})])}_addOffset(H){const ee=!this._dir||"ltr"==this._dir.value;return"top"===H.originY?H.offsetY=-8:"bottom"===H.originY?H.offsetY=8:"start"===H.originX?H.offsetX=ee?-8:8:"end"===H.originX&&(H.offsetX=ee?8:-8),H}_getOrigin(){const H=!this._dir||"ltr"==this._dir.value,N=this.position;let ee;"above"==N||"below"==N?ee={originX:"center",originY:"above"==N?"top":"bottom"}:"before"==N||"left"==N&&H||"right"==N&&!H?ee={originX:"start",originY:"center"}:("after"==N||"right"==N&&H||"left"==N&&!H)&&(ee={originX:"end",originY:"center"});const{x:De,y:ot}=this._invertPosition(ee.originX,ee.originY);return{main:ee,fallback:{originX:De,originY:ot}}}_getOverlayPosition(){const H=!this._dir||"ltr"==this._dir.value,N=this.position;let ee;"above"==N?ee={overlayX:"center",overlayY:"bottom"}:"below"==N?ee={overlayX:"center",overlayY:"top"}:"before"==N||"left"==N&&H||"right"==N&&!H?ee={overlayX:"end",overlayY:"center"}:("after"==N||"right"==N&&H||"left"==N&&!H)&&(ee={overlayX:"start",overlayY:"center"});const{x:De,y:ot}=this._invertPosition(ee.overlayX,ee.overlayY);return{main:ee,fallback:{overlayX:De,overlayY:ot}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,t.q)(1),(0,e.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(H){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=H,this._tooltipInstance._markForCheck())}_invertPosition(H,N){return"above"===this.position||"below"===this.position?"top"===N?N="bottom":"bottom"===N&&(N="top"):"end"===H?H="start":"start"===H&&(H="end"),{x:H,y:N}}_updateCurrentPositionClass(H){const{overlayY:N,originX:ee,originY:De}=H;let ot;if(ot="center"===N?this._dir&&"rtl"===this._dir.value?"end"===ee?"left":"right":"start"===ee?"left":"right":"bottom"===N&&"top"===De?"above":"below",ot!==this._currentPosition){const je=this._overlayRef;if(je){const Je=`${this._cssClassPrefix}-${$}-`;je.removePanelClass(Je+this._currentPosition),je.addPanelClass(Je+ot)}this._currentPosition=ot}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",H=>{let N;this._setupPointerExitEventsIfNeeded(),void 0!==H.x&&void 0!==H.y&&(N=H),this.show(void 0,N)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",H=>{const N=H.targetTouches?.[0],ee=N?{x:N.clientX,y:N.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,ee),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const H=[];if(this._platformSupportsMouseEvents())H.push(["mouseleave",N=>{const ee=N.relatedTarget;(!ee||!this._overlayRef?.overlayElement.contains(ee))&&this.hide()}],["wheel",N=>this._wheelListener(N)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const N=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};H.push(["touchend",N],["touchcancel",N])}this._addListeners(H),this._passiveListeners.push(...H)}_addListeners(H){H.forEach(([N,ee])=>{this._elementRef.nativeElement.addEventListener(N,ee,ue)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(H){if(this._isTooltipVisible()){const N=this._document.elementFromPoint(H.clientX,H.clientY),ee=this._elementRef.nativeElement;N!==ee&&!ee.contains(N)&&this.hide()}}_disableNativeGesturesIfNecessary(){const H=this.touchGestures;if("off"!==H){const N=this._elementRef.nativeElement,ee=N.style;("on"===H||"INPUT"!==N.nodeName&&"TEXTAREA"!==N.nodeName)&&(ee.userSelect=ee.msUserSelect=ee.webkitUserSelect=ee.MozUserSelect="none"),("on"===H||!N.draggable)&&(ee.webkitUserDrag="none"),ee.touchAction="none",ee.webkitTapHighlightColor="transparent"}}static#e=this.\u0275fac=function(N){return new(N||r)(l.Y36(E.aV),l.Y36(l.SBq),l.Y36(M.mF),l.Y36(l.s_b),l.Y36(l.R0b),l.Y36(m.t4),l.Y36(P.$s),l.Y36(P.tE),l.Y36(X),l.Y36(d.Is),l.Y36(se,8),l.Y36(x.K0))};static#t=this.\u0275dir=l.lG2({type:r,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(N,ee){2&N&&l.ekj("mat-mdc-tooltip-disabled",ee.disabled)},inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}return r})(),D=(()=>{class r{constructor(H,N,ee){this._changeDetectorRef=H,this._elementRef=N,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new k.x,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled="NoopAnimations"===ee}show(H){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},H)}hide(H){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},H)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:H}){(!H||!this._triggerElement.contains(H))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const H=this._elementRef.nativeElement.getBoundingClientRect();return H.height>24&&H.width>=200}_handleAnimationEnd({animationName:H}){(H===this._showAnimation||H===this._hideAnimation)&&this._finalizeAnimation(H===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(H){H?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(H){const N=this._tooltip.nativeElement,ee=this._showAnimation,De=this._hideAnimation;if(N.classList.remove(H?De:ee),N.classList.add(H?ee:De),this._isVisible=H,H&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const ot=getComputedStyle(N);("0s"===ot.getPropertyValue("animation-duration")||"none"===ot.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}H&&this._onShow(),this._animationsDisabled&&(N.classList.add("_mat-animation-noopable"),this._finalizeAnimation(H))}static#e=this.\u0275fac=function(N){return new(N||r)(l.Y36(l.sBO),l.Y36(l.SBq),l.Y36(l.QbO,8))};static#t=this.\u0275cmp=l.Xpm({type:r,selectors:[["mat-tooltip-component"]],viewQuery:function(N,ee){if(1&N&&l.Gf(W,7),2&N){let De;l.iGM(De=l.CRH())&&(ee._tooltip=De.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(N,ee){1&N&&l.NdJ("mouseleave",function(ot){return ee._handleMouseLeave(ot)}),2&N&&l.Udp("zoom",ee.isVisible()?1:null)},decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(N,ee){1&N&&(l.TgZ(0,"div",0,1),l.NdJ("animationend",function(ot){return ee._handleAnimationEnd(ot)}),l.TgZ(2,"div",2),l._uU(3),l.qZA()()),2&N&&(l.ekj("mdc-tooltip--multiline",ee._isMultiline),l.Q6J("ngClass",ee.tooltipClass),l.xp6(3),l.Oqu(ee.message))},dependencies:[x.mk],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - 2*8px);margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - 2*8px);align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0})}return r})(),v=(()=>{class r{static#e=this.\u0275fac=function(N){return new(N||r)};static#t=this.\u0275mod=l.oAB({type:r});static#i=this.\u0275inj=l.cJS({providers:[ae],imports:[P.rt,x.ez,E.U8,B.BQ,B.BQ,M.ZD]})}return r})()},8445:(ze,q,p)=>{"use strict";p.d(q,{Ar:()=>V,GZ:()=>I,WX:()=>ae,dp:()=>K,eu:()=>W,fQ:()=>M,gi:()=>B,uo:()=>E});var e=p(1894),t=p(9212),y=p(3680),A=p(2495),l=p(8337),x=p(5619),m=p(3019),P=p(7398);const d=(0,y.sb)((0,y.Id)(e.Hs));let E=(()=>{class fe extends d{constructor(Me,$,ue){super(Me,$),this.tabIndex=Number(ue)||0}ngOnInit(){super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy()}static#e=this.\u0275fac=function($){return new($||fe)(t.Y36(t.SBq),t.Y36(e._0),t.$8M("tabindex"))};static#t=this.\u0275dir=t.lG2({type:fe,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:fe}]),t.qOj]})}return fe})(),M=(()=>{class fe extends e.rO{static#e=this.\u0275fac=(()=>{let Me;return function(ue){return(Me||(Me=t.n5z(fe)))(ue||fe)}})();static#t=this.\u0275dir=t.lG2({type:fe,selectors:[["","matTreeNodeDef",""]],inputs:{when:["matTreeNodeDefWhen","when"],data:["matTreeNode","data"]},features:[t._Bn([{provide:e.rO,useExisting:fe}]),t.qOj]})}return fe})(),I=(()=>{class fe extends e.Xx{get disabled(){return this._disabled}set disabled(Me){this._disabled=(0,A.Ig)(Me)}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(Me){this._tabIndex=Me??0}constructor(Me,$,ue,S){super(Me,$,ue),this._disabled=!1,this.tabIndex=Number(S)||0}ngOnInit(){super.ngOnInit()}ngAfterContentInit(){super.ngAfterContentInit()}ngOnDestroy(){super.ngOnDestroy()}static#e=this.\u0275fac=function($){return new($||fe)(t.Y36(t.SBq),t.Y36(e._0),t.Y36(t.ZZ4),t.$8M("tabindex"))};static#t=this.\u0275dir=t.lG2({type:fe,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:fe},{provide:e.Hs,useExisting:fe},{provide:e.HI,useExisting:fe}]),t.qOj]})}return fe})(),V=(()=>{class fe{constructor(Me,$){this.viewContainer=Me,this._node=$}static#e=this.\u0275fac=function($){return new($||fe)(t.Y36(t.s_b),t.Y36(e.HI,8))};static#t=this.\u0275dir=t.lG2({type:fe,selectors:[["","matTreeNodeOutlet",""]],features:[t._Bn([{provide:e.cu,useExisting:fe}])]})}return fe})(),B=(()=>{class fe extends e._0{constructor(){super(...arguments),this._nodeOutlet=void 0}static#e=this.\u0275fac=(()=>{let Me;return function(ue){return(Me||(Me=t.n5z(fe)))(ue||fe)}})();static#t=this.\u0275cmp=t.Xpm({type:fe,selectors:[["mat-tree"]],viewQuery:function($,ue){if(1&$&&t.Gf(V,7),2&$){let S;t.iGM(S=t.CRH())&&(ue._nodeOutlet=S.first)}},hostAttrs:["role","tree",1,"mat-tree"],exportAs:["matTree"],features:[t._Bn([{provide:e._0,useExisting:fe}]),t.qOj],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function($,ue){1&$&&t.GkF(0,0)},dependencies:[V],styles:[".mat-tree{display:block;background-color:var(--mat-tree-container-background-color)}.mat-tree-node,.mat-nested-tree-node{color:var(--mat-tree-node-text-color);font-family:var(--mat-tree-node-text-font);font-size:var(--mat-tree-node-text-size);font-weight:var(--mat-tree-node-text-weight)}.mat-tree-node{display:flex;align-items:center;flex:1;word-wrap:break-word;min-height:var(--mat-tree-node-min-height)}.mat-nested-tree-node{border-bottom-width:0}"],encapsulation:2})}return fe})(),W=(()=>{class fe extends e.Ud{static#e=this.\u0275fac=(()=>{let Me;return function(ue){return(Me||(Me=t.n5z(fe)))(ue||fe)}})();static#t=this.\u0275dir=t.lG2({type:fe,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:["matTreeNodeToggleRecursive","recursive"]},features:[t._Bn([{provide:e.Ud,useExisting:fe}]),t.qOj]})}return fe})(),K=(()=>{class fe{static#e=this.\u0275fac=function($){return new($||fe)};static#t=this.\u0275mod=t.oAB({type:fe});static#i=this.\u0275inj=t.cJS({imports:[e.nZ,y.BQ,y.BQ]})}return fe})();class ae extends l.o2{constructor(){super(...arguments),this._data=new x.X([])}get data(){return this._data.value}set data(se){this._data.next(se)}connect(se){return(0,m.T)(se.viewChange,this._data).pipe((0,P.U)(()=>this.data))}disconnect(){}}},6593:(ze,q,p)=>{"use strict";p.d(q,{Dx:()=>We,H7:()=>Qe,b2:()=>qe,q6:()=>he,se:()=>ue,t6:()=>Ze});var e=p(9212),t=p(6814);class y extends t.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class A extends y{static makeCurrent(){(0,t.HT)(new A)}onAndCancel(be,J,re){return be.addEventListener(J,re),()=>{be.removeEventListener(J,re)}}dispatchEvent(be,J){be.dispatchEvent(J)}remove(be){be.parentNode&&be.parentNode.removeChild(be)}createElement(be,J){return(J=J||this.getDefaultDocument()).createElement(be)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(be){return be.nodeType===Node.ELEMENT_NODE}isShadowRoot(be){return be instanceof DocumentFragment}getGlobalEventTarget(be,J){return"window"===J?window:"document"===J?be:"body"===J?be.body:null}getBaseHref(be){const J=function x(){return l=l||document.querySelector("base"),l?l.getAttribute("href"):null}();return null==J?null:function P(Le){m=m||document.createElement("a"),m.setAttribute("href",Le);const be=m.pathname;return"/"===be.charAt(0)?be:`/${be}`}(J)}resetBaseElement(){l=null}getUserAgent(){return window.navigator.userAgent}getCookie(be){return(0,t.Mx)(document.cookie,be)}}let m,l=null,E=(()=>{class Le{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(re){return new(re||Le)};static#t=this.\u0275prov=e.Yz7({token:Le,factory:Le.\u0275fac})}return Le})();const M=new e.OlP("EventManagerPlugins");let I=(()=>{class Le{constructor(J,re){this._zone=re,this._eventNameToPlugin=new Map,J.forEach(Ie=>{Ie.manager=this}),this._plugins=J.slice().reverse()}addEventListener(J,re,Ie){return this._findPluginFor(re).addEventListener(J,re,Ie)}getZone(){return this._zone}_findPluginFor(J){let re=this._eventNameToPlugin.get(J);if(re)return re;if(re=this._plugins.find(Nt=>Nt.supports(J)),!re)throw new e.vHH(5101,!1);return this._eventNameToPlugin.set(J,re),re}static#e=this.\u0275fac=function(re){return new(re||Le)(e.LFG(M),e.LFG(e.R0b))};static#t=this.\u0275prov=e.Yz7({token:Le,factory:Le.\u0275fac})}return Le})();class k{constructor(be){this._doc=be}}const V="ng-app-id";let B=(()=>{class Le{constructor(J,re,Ie,Nt={}){this.doc=J,this.appId=re,this.nonce=Ie,this.platformId=Nt,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,t.PM)(Nt),this.resetHostNodes()}addStyles(J){for(const re of J)1===this.changeUsageCount(re,1)&&this.onStyleAdded(re)}removeStyles(J){for(const re of J)this.changeUsageCount(re,-1)<=0&&this.onStyleRemoved(re)}ngOnDestroy(){const J=this.styleNodesInDOM;J&&(J.forEach(re=>re.remove()),J.clear());for(const re of this.getAllStyles())this.onStyleRemoved(re);this.resetHostNodes()}addHost(J){this.hostNodes.add(J);for(const re of this.getAllStyles())this.addStyleToHost(J,re)}removeHost(J){this.hostNodes.delete(J)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(J){for(const re of this.hostNodes)this.addStyleToHost(re,J)}onStyleRemoved(J){const re=this.styleRef;re.get(J)?.elements?.forEach(Ie=>Ie.remove()),re.delete(J)}collectServerRenderedStyles(){const J=this.doc.head?.querySelectorAll(`style[${V}="${this.appId}"]`);if(J?.length){const re=new Map;return J.forEach(Ie=>{null!=Ie.textContent&&re.set(Ie.textContent,Ie)}),re}return null}changeUsageCount(J,re){const Ie=this.styleRef;if(Ie.has(J)){const Nt=Ie.get(J);return Nt.usage+=re,Nt.usage}return Ie.set(J,{usage:re,elements:[]}),re}getStyleElement(J,re){const Ie=this.styleNodesInDOM,Nt=Ie?.get(re);if(Nt?.parentNode===J)return Ie.delete(re),Nt.removeAttribute(V),Nt;{const At=this.doc.createElement("style");return this.nonce&&At.setAttribute("nonce",this.nonce),At.textContent=re,this.platformIsServer&&At.setAttribute(V,this.appId),J.appendChild(At),At}}addStyleToHost(J,re){const Ie=this.getStyleElement(J,re),Nt=this.styleRef,At=Nt.get(re)?.elements;At?At.push(Ie):Nt.set(re,{elements:[Ie],usage:1})}resetHostNodes(){const J=this.hostNodes;J.clear(),J.add(this.doc.head)}static#e=this.\u0275fac=function(re){return new(re||Le)(e.LFG(t.K0),e.LFG(e.AFp),e.LFG(e.Ojb,8),e.LFG(e.Lbi))};static#t=this.\u0275prov=e.Yz7({token:Le,factory:Le.\u0275fac})}return Le})();const W={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},j=/%COMP%/g,K="%COMP%",X=`_nghost-${K}`,ie=`_ngcontent-${K}`,fe=new e.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!0});function $(Le,be){return be.map(J=>J.replace(j,Le))}let ue=(()=>{class Le{constructor(J,re,Ie,Nt,At,Zt,mi,Jt=null){this.eventManager=J,this.sharedStylesHost=re,this.appId=Ie,this.removeStylesOnCompDestroy=Nt,this.doc=At,this.platformId=Zt,this.ngZone=mi,this.nonce=Jt,this.rendererByCompId=new Map,this.platformIsServer=(0,t.PM)(Zt),this.defaultRenderer=new S(J,At,mi,this.platformIsServer)}createRenderer(J,re){if(!J||!re)return this.defaultRenderer;this.platformIsServer&&re.encapsulation===e.ifc.ShadowDom&&(re={...re,encapsulation:e.ifc.Emulated});const Ie=this.getOrCreateRenderer(J,re);return Ie instanceof D?Ie.applyToHost(J):Ie instanceof w&&Ie.applyStyles(),Ie}getOrCreateRenderer(J,re){const Ie=this.rendererByCompId;let Nt=Ie.get(re.id);if(!Nt){const At=this.doc,Zt=this.ngZone,mi=this.eventManager,Jt=this.sharedStylesHost,Xt=this.removeStylesOnCompDestroy,Hi=this.platformIsServer;switch(re.encapsulation){case e.ifc.Emulated:Nt=new D(mi,Jt,re,this.appId,Xt,At,Zt,Hi);break;case e.ifc.ShadowDom:return new h(mi,Jt,J,re,At,Zt,this.nonce,Hi);default:Nt=new w(mi,Jt,re,Xt,At,Zt,Hi)}Ie.set(re.id,Nt)}return Nt}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(re){return new(re||Le)(e.LFG(I),e.LFG(B),e.LFG(e.AFp),e.LFG(fe),e.LFG(t.K0),e.LFG(e.Lbi),e.LFG(e.R0b),e.LFG(e.Ojb))};static#t=this.\u0275prov=e.Yz7({token:Le,factory:Le.\u0275fac})}return Le})();class S{constructor(be,J,re,Ie){this.eventManager=be,this.doc=J,this.ngZone=re,this.platformIsServer=Ie,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(be,J){return J?this.doc.createElementNS(W[J]||J,be):this.doc.createElement(be)}createComment(be){return this.doc.createComment(be)}createText(be){return this.doc.createTextNode(be)}appendChild(be,J){(f(be)?be.content:be).appendChild(J)}insertBefore(be,J,re){be&&(f(be)?be.content:be).insertBefore(J,re)}removeChild(be,J){be&&be.removeChild(J)}selectRootElement(be,J){let re="string"==typeof be?this.doc.querySelector(be):be;if(!re)throw new e.vHH(-5104,!1);return J||(re.textContent=""),re}parentNode(be){return be.parentNode}nextSibling(be){return be.nextSibling}setAttribute(be,J,re,Ie){if(Ie){J=Ie+":"+J;const Nt=W[Ie];Nt?be.setAttributeNS(Nt,J,re):be.setAttribute(J,re)}else be.setAttribute(J,re)}removeAttribute(be,J,re){if(re){const Ie=W[re];Ie?be.removeAttributeNS(Ie,J):be.removeAttribute(`${re}:${J}`)}else be.removeAttribute(J)}addClass(be,J){be.classList.add(J)}removeClass(be,J){be.classList.remove(J)}setStyle(be,J,re,Ie){Ie&(e.JOm.DashCase|e.JOm.Important)?be.style.setProperty(J,re,Ie&e.JOm.Important?"important":""):be.style[J]=re}removeStyle(be,J,re){re&e.JOm.DashCase?be.style.removeProperty(J):be.style[J]=""}setProperty(be,J,re){null!=be&&(be[J]=re)}setValue(be,J){be.nodeValue=J}listen(be,J,re){if("string"==typeof be&&!(be=(0,t.q)().getGlobalEventTarget(this.doc,be)))throw new Error(`Unsupported event target ${be} for event ${J}`);return this.eventManager.addEventListener(be,J,this.decoratePreventDefault(re))}decoratePreventDefault(be){return J=>{if("__ngUnwrap__"===J)return be;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>be(J)):be(J))&&J.preventDefault()}}}function f(Le){return"TEMPLATE"===Le.tagName&&void 0!==Le.content}class h extends S{constructor(be,J,re,Ie,Nt,At,Zt,mi){super(be,Nt,At,mi),this.sharedStylesHost=J,this.hostEl=re,this.shadowRoot=re.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Jt=$(Ie.id,Ie.styles);for(const Xt of Jt){const Hi=document.createElement("style");Zt&&Hi.setAttribute("nonce",Zt),Hi.textContent=Xt,this.shadowRoot.appendChild(Hi)}}nodeOrShadowRoot(be){return be===this.hostEl?this.shadowRoot:be}appendChild(be,J){return super.appendChild(this.nodeOrShadowRoot(be),J)}insertBefore(be,J,re){return super.insertBefore(this.nodeOrShadowRoot(be),J,re)}removeChild(be,J){return super.removeChild(this.nodeOrShadowRoot(be),J)}parentNode(be){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(be)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class w extends S{constructor(be,J,re,Ie,Nt,At,Zt,mi){super(be,Nt,At,Zt),this.sharedStylesHost=J,this.removeStylesOnCompDestroy=Ie,this.styles=mi?$(mi,re.styles):re.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class D extends w{constructor(be,J,re,Ie,Nt,At,Zt,mi){const Jt=Ie+"-"+re.id;super(be,J,re,Nt,At,Zt,mi,Jt),this.contentAttr=function se(Le){return ie.replace(j,Le)}(Jt),this.hostAttr=function Me(Le){return X.replace(j,Le)}(Jt)}applyToHost(be){this.applyStyles(),this.setAttribute(be,this.hostAttr,"")}createElement(be,J){const re=super.createElement(be,J);return super.setAttribute(re,this.contentAttr,""),re}}let O=(()=>{class Le extends k{constructor(J){super(J)}supports(J){return!0}addEventListener(J,re,Ie){return J.addEventListener(re,Ie,!1),()=>this.removeEventListener(J,re,Ie)}removeEventListener(J,re,Ie){return J.removeEventListener(re,Ie)}static#e=this.\u0275fac=function(re){return new(re||Le)(e.LFG(t.K0))};static#t=this.\u0275prov=e.Yz7({token:Le,factory:Le.\u0275fac})}return Le})();const v=["alt","control","meta","shift"],r={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},g={alt:Le=>Le.altKey,control:Le=>Le.ctrlKey,meta:Le=>Le.metaKey,shift:Le=>Le.shiftKey};let H=(()=>{class Le extends k{constructor(J){super(J)}supports(J){return null!=Le.parseEventName(J)}addEventListener(J,re,Ie){const Nt=Le.parseEventName(re),At=Le.eventCallback(Nt.fullKey,Ie,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,t.q)().onAndCancel(J,Nt.domEventName,At))}static parseEventName(J){const re=J.toLowerCase().split("."),Ie=re.shift();if(0===re.length||"keydown"!==Ie&&"keyup"!==Ie)return null;const Nt=Le._normalizeKey(re.pop());let At="",Zt=re.indexOf("code");if(Zt>-1&&(re.splice(Zt,1),At="code."),v.forEach(Jt=>{const Xt=re.indexOf(Jt);Xt>-1&&(re.splice(Xt,1),At+=Jt+".")}),At+=Nt,0!=re.length||0===Nt.length)return null;const mi={};return mi.domEventName=Ie,mi.fullKey=At,mi}static matchEventFullKeyCode(J,re){let Ie=r[J.key]||J.key,Nt="";return re.indexOf("code.")>-1&&(Ie=J.code,Nt="code."),!(null==Ie||!Ie)&&(Ie=Ie.toLowerCase()," "===Ie?Ie="space":"."===Ie&&(Ie="dot"),v.forEach(At=>{At!==Ie&&(0,g[At])(J)&&(Nt+=At+".")}),Nt+=Ie,Nt===re)}static eventCallback(J,re,Ie){return Nt=>{Le.matchEventFullKeyCode(Nt,J)&&Ie.runGuarded(()=>re(Nt))}}static _normalizeKey(J){return"esc"===J?"escape":J}static#e=this.\u0275fac=function(re){return new(re||Le)(e.LFG(t.K0))};static#t=this.\u0275prov=e.Yz7({token:Le,factory:Le.\u0275fac})}return Le})();const he=(0,e.eFA)(e._c5,"browser",[{provide:e.Lbi,useValue:t.bD},{provide:e.g9A,useValue:function je(){A.makeCurrent()},multi:!0},{provide:t.K0,useFactory:function ye(){return(0,e.RDi)(document),document},deps:[]}]),xe=new e.OlP(""),de=[{provide:e.rWj,useClass:class d{addToWindow(be){e.dqk.getAngularTestability=(re,Ie=!0)=>{const Nt=be.findTestabilityInTree(re,Ie);if(null==Nt)throw new e.vHH(5103,!1);return Nt},e.dqk.getAllAngularTestabilities=()=>be.getAllTestabilities(),e.dqk.getAllAngularRootElements=()=>be.getAllRootElements(),e.dqk.frameworkStabilizers||(e.dqk.frameworkStabilizers=[]),e.dqk.frameworkStabilizers.push(re=>{const Ie=e.dqk.getAllAngularTestabilities();let Nt=Ie.length,At=!1;const Zt=function(mi){At=At||mi,Nt--,0==Nt&&re(At)};Ie.forEach(mi=>{mi.whenStable(Zt)})})}findTestabilityInTree(be,J,re){return null==J?null:be.getTestability(J)??(re?(0,t.q)().isShadowRoot(J)?this.findTestabilityInTree(be,J.host,!0):this.findTestabilityInTree(be,J.parentElement,!0):null)}},deps:[]},{provide:e.lri,useClass:e.dDg,deps:[e.R0b,e.eoX,e.rWj]},{provide:e.dDg,useClass:e.dDg,deps:[e.R0b,e.eoX,e.rWj]}],ge=[{provide:e.zSh,useValue:"root"},{provide:e.qLn,useFactory:function Je(){return new e.qLn},deps:[]},{provide:M,useClass:O,multi:!0,deps:[t.K0,e.R0b,e.Lbi]},{provide:M,useClass:H,multi:!0,deps:[t.K0]},ue,B,I,{provide:e.FYo,useExisting:ue},{provide:t.JF,useClass:E,deps:[]},[]];let qe=(()=>{class Le{constructor(J){}static withServerTransition(J){return{ngModule:Le,providers:[{provide:e.AFp,useValue:J.appId}]}}static#e=this.\u0275fac=function(re){return new(re||Le)(e.LFG(xe,12))};static#t=this.\u0275mod=e.oAB({type:Le});static#i=this.\u0275inj=e.cJS({providers:[...ge,...de],imports:[t.ez,e.hGG]})}return Le})(),We=(()=>{class Le{constructor(J){this._doc=J}getTitle(){return this._doc.title}setTitle(J){this._doc.title=J||""}static#e=this.\u0275fac=function(re){return new(re||Le)(e.LFG(t.K0))};static#t=this.\u0275prov=e.Yz7({token:Le,factory:function(re){let Ie=null;return Ie=re?new re:function Ge(){return new We((0,e.LFG)(t.K0))}(),Ie},providedIn:"root"})}return Le})();typeof window<"u"&&window;const Et={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},ct=new e.OlP("HammerGestureConfig"),te=new e.OlP("HammerLoader");let Pe=(()=>{class Le{constructor(){this.events=[],this.overrides={}}buildHammer(J){const re=new Hammer(J,this.options);re.get("pinch").set({enable:!0}),re.get("rotate").set({enable:!0});for(const Ie in this.overrides)re.get(Ie).set(this.overrides[Ie]);return re}static#e=this.\u0275fac=function(re){return new(re||Le)};static#t=this.\u0275prov=e.Yz7({token:Le,factory:Le.\u0275fac})}return Le})(),$t=(()=>{class Le extends k{constructor(J,re,Ie,Nt){super(J),this._config=re,this.console=Ie,this.loader=Nt,this._loaderPromise=null}supports(J){return!(!Et.hasOwnProperty(J.toLowerCase())&&!this.isCustomEvent(J)||!window.Hammer&&!this.loader)}addEventListener(J,re,Ie){const Nt=this.manager.getZone();if(re=re.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||Nt.runOutsideAngular(()=>this.loader());let At=!1,Zt=()=>{At=!0};return Nt.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?At||(Zt=this.addEventListener(J,re,Ie)):Zt=()=>{}}).catch(()=>{Zt=()=>{}})),()=>{Zt()}}return Nt.runOutsideAngular(()=>{const At=this._config.buildHammer(J),Zt=function(mi){Nt.runGuarded(function(){Ie(mi)})};return At.on(re,Zt),()=>{At.off(re,Zt),"function"==typeof At.destroy&&At.destroy()}})}isCustomEvent(J){return this._config.events.indexOf(J)>-1}static#e=this.\u0275fac=function(re){return new(re||Le)(e.LFG(t.K0),e.LFG(ct),e.LFG(e.c2e),e.LFG(te,8))};static#t=this.\u0275prov=e.Yz7({token:Le,factory:Le.\u0275fac})}return Le})(),Ze=(()=>{class Le{static#e=this.\u0275fac=function(re){return new(re||Le)};static#t=this.\u0275mod=e.oAB({type:Le});static#i=this.\u0275inj=e.cJS({providers:[{provide:M,useClass:$t,multi:!0,deps:[t.K0,ct,e.c2e,[new e.FiY,te]]},{provide:ct,useClass:Pe,deps:[]}]})}return Le})(),Qe=(()=>{class Le{static#e=this.\u0275fac=function(re){return new(re||Le)};static#t=this.\u0275prov=e.Yz7({token:Le,factory:function(re){let Ie=null;return Ie=re?new(re||Le):e.LFG(xt),Ie},providedIn:"root"})}return Le})(),xt=(()=>{class Le extends Qe{constructor(J){super(),this._doc=J}sanitize(J,re){if(null==re)return null;switch(J){case e.q3G.NONE:return re;case e.q3G.HTML:return(0,e.qzn)(re,"HTML")?(0,e.z3N)(re):(0,e.EiD)(this._doc,String(re)).toString();case e.q3G.STYLE:return(0,e.qzn)(re,"Style")?(0,e.z3N)(re):re;case e.q3G.SCRIPT:if((0,e.qzn)(re,"Script"))return(0,e.z3N)(re);throw new e.vHH(5200,!1);case e.q3G.URL:return(0,e.qzn)(re,"URL")?(0,e.z3N)(re):(0,e.mCW)(String(re));case e.q3G.RESOURCE_URL:if((0,e.qzn)(re,"ResourceURL"))return(0,e.z3N)(re);throw new e.vHH(5201,!1);default:throw new e.vHH(5202,!1)}}bypassSecurityTrustHtml(J){return(0,e.JVY)(J)}bypassSecurityTrustStyle(J){return(0,e.L6k)(J)}bypassSecurityTrustScript(J){return(0,e.eBb)(J)}bypassSecurityTrustUrl(J){return(0,e.LAX)(J)}bypassSecurityTrustResourceUrl(J){return(0,e.pB0)(J)}static#e=this.\u0275fac=function(re){return new(re||Le)(e.LFG(t.K0))};static#t=this.\u0275prov=e.Yz7({token:Le,factory:function(re){let Ie=null;return Ie=re?new re:function zt(Le){return new xt(Le.get(t.K0))}(e.LFG(e.zs3)),Ie},providedIn:"root"})}return Le})()},4190:(ze,q,p)=>{"use strict";p.d(q,{gz:()=>ga,gk:()=>ne,m2:()=>vi,Q3:()=>Oe,OD:()=>Kt,Av:()=>qn,F0:()=>Bn,rH:()=>Sr,Od:()=>Vc,Bz:()=>gc,lC:()=>Ir});var e=p(9212),t=p(2664),y=p(9666),A=p(2096),l=p(5619),x=p(2572),m=p(6973),P=p(5211),d=p(4911),E=p(8407),M=p(8504),I=p(6232),k=p(3168),V=p(8645),B=p(7394),W=p(6814),j=p(7398),K=p(4664),X=p(8180),ie=p(7921),ae=p(2181),fe=p(1631),se=p(1374),Me=p(6328),$=p(9397),ue=p(6306),S=p(6699),n=p(3572),s=p(9360),f=p(8251);function h(pe){return pe<=0?()=>I.E:(0,s.e)((Re,_e)=>{let He=[];Re.subscribe((0,f.x)(_e,pt=>{He.push(pt),pe<He.length&&He.shift()},()=>{for(const pt of He)_e.next(pt);_e.complete()},void 0,()=>{He=null}))})}var w=p(3026),D=p(2737),v=p(975),r=p(4716),g=p(6196),H=p(9773),N=p(7537),ee=p(6593);const De="primary",ot=Symbol("RouteTitle");class je{constructor(Re){this.params=Re||{}}has(Re){return Object.prototype.hasOwnProperty.call(this.params,Re)}get(Re){if(this.has(Re)){const _e=this.params[Re];return Array.isArray(_e)?_e[0]:_e}return null}getAll(Re){if(this.has(Re)){const _e=this.params[Re];return Array.isArray(_e)?_e:[_e]}return[]}get keys(){return Object.keys(this.params)}}function Je(pe){return new je(pe)}function ye(pe,Re,_e){const He=_e.path.split("/");if(He.length>pe.length||"full"===_e.pathMatch&&(Re.hasChildren()||He.length<pe.length))return null;const pt={};for(let Rt=0;Rt<He.length;Rt++){const ni=He[Rt],Li=pe[Rt];if(ni.startsWith(":"))pt[ni.substring(1)]=Li;else if(ni!==Li.path)return null}return{consumed:pe.slice(0,He.length),posParams:pt}}function he(pe,Re){const _e=pe?xe(pe):void 0,He=Re?xe(Re):void 0;if(!_e||!He||_e.length!=He.length)return!1;let pt;for(let Rt=0;Rt<_e.length;Rt++)if(pt=_e[Rt],!de(pe[pt],Re[pt]))return!1;return!0}function xe(pe){return[...Object.keys(pe),...Object.getOwnPropertySymbols(pe)]}function de(pe,Re){if(Array.isArray(pe)&&Array.isArray(Re)){if(pe.length!==Re.length)return!1;const _e=[...pe].sort(),He=[...Re].sort();return _e.every((pt,Rt)=>He[Rt]===pt)}return pe===Re}function ge(pe){return pe.length>0?pe[pe.length-1]:null}function qe(pe){return(0,t.b)(pe)?pe:(0,e.QGY)(pe)?(0,y.D)(Promise.resolve(pe)):(0,A.of)(pe)}const oe={exact:function We(pe,Re,_e){if(!st(pe.segments,Re.segments)||!Ae(pe.segments,Re.segments,_e)||pe.numberOfChildren!==Re.numberOfChildren)return!1;for(const He in Re.children)if(!pe.children[He]||!We(pe.children[He],Re.children[He],_e))return!1;return!0},subset:mt},ve={exact:function Ge(pe,Re){return he(pe,Re)},subset:function wt(pe,Re){return Object.keys(Re).length<=Object.keys(pe).length&&Object.keys(Re).every(_e=>de(pe[_e],Re[_e]))},ignored:()=>!0};function le(pe,Re,_e){return oe[_e.paths](pe.root,Re.root,_e.matrixParams)&&ve[_e.queryParams](pe.queryParams,Re.queryParams)&&!("exact"===_e.fragment&&pe.fragment!==Re.fragment)}function mt(pe,Re,_e){return kt(pe,Re,Re.segments,_e)}function kt(pe,Re,_e,He){if(pe.segments.length>_e.length){const pt=pe.segments.slice(0,_e.length);return!(!st(pt,_e)||Re.hasChildren()||!Ae(pt,_e,He))}if(pe.segments.length===_e.length){if(!st(pe.segments,_e)||!Ae(pe.segments,_e,He))return!1;for(const pt in Re.children)if(!pe.children[pt]||!mt(pe.children[pt],Re.children[pt],He))return!1;return!0}{const pt=_e.slice(0,pe.segments.length),Rt=_e.slice(pe.segments.length);return!!(st(pe.segments,pt)&&Ae(pe.segments,pt,He)&&pe.children[De])&&kt(pe.children[De],Re,Rt,He)}}function Ae(pe,Re,_e){return Re.every((He,pt)=>ve[_e](pe[pt].parameters,He.parameters))}class Be{constructor(Re=new it([],{}),_e={},He=null){this.root=Re,this.queryParams=_e,this.fragment=He}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Je(this.queryParams)),this._queryParamMap}toString(){return te.serialize(this)}}class it{constructor(Re,_e){this.segments=Re,this.children=_e,this.parent=null,Object.values(_e).forEach(He=>He.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Pe(this)}}class $e{constructor(Re,_e){this.path=Re,this.parameters=_e}get parameterMap(){return this._parameterMap||(this._parameterMap=Je(this.parameters)),this._parameterMap}toString(){return nt(this)}}function st(pe,Re){return pe.length===Re.length&&pe.every((_e,He)=>_e.path===Re[He].path)}let Et=(()=>{class pe{static#e=this.\u0275fac=function(He){return new(He||pe)};static#t=this.\u0275prov=e.Yz7({token:pe,factory:()=>new ct,providedIn:"root"})}return pe})();class ct{parse(Re){const _e=new Nt(Re);return new Be(_e.parseRootSegment(),_e.parseQueryParams(),_e.parseFragment())}serialize(Re){const _e=`/${$t(Re.root,!0)}`,He=function tt(pe){const Re=Object.keys(pe).map(_e=>{const He=pe[_e];return Array.isArray(He)?He.map(pt=>`${Qe(_e)}=${Qe(pt)}`).join("&"):`${Qe(_e)}=${Qe(He)}`}).filter(_e=>!!_e);return Re.length?`?${Re.join("&")}`:""}(Re.queryParams);return`${_e}${He}${"string"==typeof Re.fragment?`#${function zt(pe){return encodeURI(pe)}(Re.fragment)}`:""}`}}const te=new ct;function Pe(pe){return pe.segments.map(Re=>nt(Re)).join("/")}function $t(pe,Re){if(!pe.hasChildren())return Pe(pe);if(Re){const _e=pe.children[De]?$t(pe.children[De],!1):"",He=[];return Object.entries(pe.children).forEach(([pt,Rt])=>{pt!==De&&He.push(`${pt}:${$t(Rt,!1)}`)}),He.length>0?`${_e}(${He.join("//")})`:_e}{const _e=function Ke(pe,Re){let _e=[];return Object.entries(pe.children).forEach(([He,pt])=>{He===De&&(_e=_e.concat(Re(pt,He)))}),Object.entries(pe.children).forEach(([He,pt])=>{He!==De&&(_e=_e.concat(Re(pt,He)))}),_e}(pe,(He,pt)=>pt===De?[$t(pe.children[De],!1)]:[`${pt}:${$t(He,!1)}`]);return 1===Object.keys(pe.children).length&&null!=pe.children[De]?`${Pe(pe)}/${_e[0]}`:`${Pe(pe)}/(${_e.join("//")})`}}function Ze(pe){return encodeURIComponent(pe).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Qe(pe){return Ze(pe).replace(/%3B/gi,";")}function xt(pe){return Ze(pe).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ot(pe){return decodeURIComponent(pe)}function yt(pe){return Ot(pe.replace(/\+/g,"%20"))}function nt(pe){return`${xt(pe.path)}${function Ee(pe){return Object.keys(pe).map(Re=>`;${xt(Re)}=${xt(pe[Re])}`).join("")}(pe.parameters)}`}const Ue=/^[^\/()?;#]+/;function Xe(pe){const Re=pe.match(Ue);return Re?Re[0]:""}const gt=/^[^\/()?;=#]+/,be=/^[^=?&#]+/,re=/^[^&#]+/;class Nt{constructor(Re){this.url=Re,this.remaining=Re}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new it([],{}):new it([],this.parseChildren())}parseQueryParams(){const Re={};if(this.consumeOptional("?"))do{this.parseQueryParam(Re)}while(this.consumeOptional("&"));return Re}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const Re=[];for(this.peekStartsWith("(")||Re.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),Re.push(this.parseSegment());let _e={};this.peekStartsWith("/(")&&(this.capture("/"),_e=this.parseParens(!0));let He={};return this.peekStartsWith("(")&&(He=this.parseParens(!1)),(Re.length>0||Object.keys(_e).length>0)&&(He[De]=new it(Re,_e)),He}parseSegment(){const Re=Xe(this.remaining);if(""===Re&&this.peekStartsWith(";"))throw new e.vHH(4009,!1);return this.capture(Re),new $e(Ot(Re),this.parseMatrixParams())}parseMatrixParams(){const Re={};for(;this.consumeOptional(";");)this.parseParam(Re);return Re}parseParam(Re){const _e=function Le(pe){const Re=pe.match(gt);return Re?Re[0]:""}(this.remaining);if(!_e)return;this.capture(_e);let He="";if(this.consumeOptional("=")){const pt=Xe(this.remaining);pt&&(He=pt,this.capture(He))}Re[Ot(_e)]=Ot(He)}parseQueryParam(Re){const _e=function J(pe){const Re=pe.match(be);return Re?Re[0]:""}(this.remaining);if(!_e)return;this.capture(_e);let He="";if(this.consumeOptional("=")){const ni=function Ie(pe){const Re=pe.match(re);return Re?Re[0]:""}(this.remaining);ni&&(He=ni,this.capture(He))}const pt=yt(_e),Rt=yt(He);if(Re.hasOwnProperty(pt)){let ni=Re[pt];Array.isArray(ni)||(ni=[ni],Re[pt]=ni),ni.push(Rt)}else Re[pt]=Rt}parseParens(Re){const _e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const He=Xe(this.remaining),pt=this.remaining[He.length];if("/"!==pt&&")"!==pt&&";"!==pt)throw new e.vHH(4010,!1);let Rt;He.indexOf(":")>-1?(Rt=He.slice(0,He.indexOf(":")),this.capture(Rt),this.capture(":")):Re&&(Rt=De);const ni=this.parseChildren();_e[Rt]=1===Object.keys(ni).length?ni[De]:new it([],ni),this.consumeOptional("//")}return _e}peekStartsWith(Re){return this.remaining.startsWith(Re)}consumeOptional(Re){return!!this.peekStartsWith(Re)&&(this.remaining=this.remaining.substring(Re.length),!0)}capture(Re){if(!this.consumeOptional(Re))throw new e.vHH(4011,!1)}}function At(pe){return pe.segments.length>0?new it([],{[De]:pe}):pe}function Zt(pe){const Re={};for(const He of Object.keys(pe.children)){const Rt=Zt(pe.children[He]);if(He===De&&0===Rt.segments.length&&Rt.hasChildren())for(const[ni,Li]of Object.entries(Rt.children))Re[ni]=Li;else(Rt.segments.length>0||Rt.hasChildren())&&(Re[He]=Rt)}return function mi(pe){if(1===pe.numberOfChildren&&pe.children[De]){const Re=pe.children[De];return new it(pe.segments.concat(Re.segments),Re.children)}return pe}(new it(pe.segments,Re))}function Jt(pe){return pe instanceof Be}function Hi(pe){let Re;const pt=At(function _e(Rt){const ni={};for(const Ai of Rt.children){const cn=_e(Ai);ni[Ai.outlet]=cn}const Li=new it(Rt.url,ni);return Rt===pe&&(Re=Li),Li}(pe.root));return Re??pt}function li(pe,Re,_e,He){let pt=pe;for(;pt.parent;)pt=pt.parent;if(0===Re.length)return Qi(pt,pt,pt,_e,He);const Rt=function at(pe){if("string"==typeof pe[0]&&1===pe.length&&"/"===pe[0])return new sn(!0,0,pe);let Re=0,_e=!1;const He=pe.reduce((pt,Rt,ni)=>{if("object"==typeof Rt&&null!=Rt){if(Rt.outlets){const Li={};return Object.entries(Rt.outlets).forEach(([Ai,cn])=>{Li[Ai]="string"==typeof cn?cn.split("/"):cn}),[...pt,{outlets:Li}]}if(Rt.segmentPath)return[...pt,Rt.segmentPath]}return"string"!=typeof Rt?[...pt,Rt]:0===ni?(Rt.split("/").forEach((Li,Ai)=>{0==Ai&&"."===Li||(0==Ai&&""===Li?_e=!0:".."===Li?Re++:""!=Li&&pt.push(Li))}),pt):[...pt,Rt]},[]);return new sn(_e,Re,He)}(Re);if(Rt.toRoot())return Qi(pt,pt,new it([],{}),_e,He);const ni=function Ce(pe,Re,_e){if(pe.isAbsolute)return new oi(Re,!0,0);if(!_e)return new oi(Re,!1,NaN);if(null===_e.parent)return new oi(_e,!0,0);const He=hi(pe.commands[0])?0:1;return function St(pe,Re,_e){let He=pe,pt=Re,Rt=_e;for(;Rt>pt;){if(Rt-=pt,He=He.parent,!He)throw new e.vHH(4005,!1);pt=He.segments.length}return new oi(He,!1,pt-Rt)}(_e,_e.segments.length-1+He,pe.numberOfDoubleDots)}(Rt,pt,pe),Li=ni.processChildren?It(ni.segmentGroup,ni.index,Rt.commands):Dt(ni.segmentGroup,ni.index,Rt.commands);return Qi(pt,ni.segmentGroup,Li,_e,He)}function hi(pe){return"object"==typeof pe&&null!=pe&&!pe.outlets&&!pe.segmentPath}function un(pe){return"object"==typeof pe&&null!=pe&&pe.outlets}function Qi(pe,Re,_e,He,pt){let ni,Rt={};He&&Object.entries(He).forEach(([Ai,cn])=>{Rt[Ai]=Array.isArray(cn)?cn.map(Qn=>`${Qn}`):`${cn}`}),ni=pe===Re?_e:xi(pe,Re,_e);const Li=At(Zt(ni));return new Be(Li,Rt,pt)}function xi(pe,Re,_e){const He={};return Object.entries(pe.children).forEach(([pt,Rt])=>{He[pt]=Rt===Re?_e:xi(Rt,Re,_e)}),new it(pe.segments,He)}class sn{constructor(Re,_e,He){if(this.isAbsolute=Re,this.numberOfDoubleDots=_e,this.commands=He,Re&&He.length>0&&hi(He[0]))throw new e.vHH(4003,!1);const pt=He.find(un);if(pt&&pt!==ge(He))throw new e.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class oi{constructor(Re,_e,He){this.segmentGroup=Re,this.processChildren=_e,this.index=He}}function Dt(pe,Re,_e){if(pe||(pe=new it([],{})),0===pe.segments.length&&pe.hasChildren())return It(pe,Re,_e);const He=function Ut(pe,Re,_e){let He=0,pt=Re;const Rt={match:!1,pathIndex:0,commandIndex:0};for(;pt<pe.segments.length;){if(He>=_e.length)return Rt;const ni=pe.segments[pt],Li=_e[He];if(un(Li))break;const Ai=`${Li}`,cn=He<_e.length-1?_e[He+1]:null;if(pt>0&&void 0===Ai)break;if(Ai&&cn&&"object"==typeof cn&&void 0===cn.outlets){if(!Oi(Ai,cn,ni))return Rt;He+=2}else{if(!Oi(Ai,{},ni))return Rt;He++}pt++}return{match:!0,pathIndex:pt,commandIndex:He}}(pe,Re,_e),pt=_e.slice(He.commandIndex);if(He.match&&He.pathIndex<pe.segments.length){const Rt=new it(pe.segments.slice(0,He.pathIndex),{});return Rt.children[De]=new it(pe.segments.slice(He.pathIndex),pe.children),It(Rt,0,pt)}return He.match&&0===pt.length?new it(pe.segments,{}):He.match&&!pe.hasChildren()?ai(pe,Re,_e):He.match?It(pe,0,pt):ai(pe,Re,_e)}function It(pe,Re,_e){if(0===_e.length)return new it(pe.segments,{});{const He=function Ft(pe){return un(pe[0])?pe[0].outlets:{[De]:pe}}(_e),pt={};if(Object.keys(He).some(Rt=>Rt!==De)&&pe.children[De]&&1===pe.numberOfChildren&&0===pe.children[De].segments.length){const Rt=It(pe.children[De],Re,_e);return new it(pe.segments,Rt.children)}return Object.entries(He).forEach(([Rt,ni])=>{"string"==typeof ni&&(ni=[ni]),null!==ni&&(pt[Rt]=Dt(pe.children[Rt],Re,ni))}),Object.entries(pe.children).forEach(([Rt,ni])=>{void 0===He[Rt]&&(pt[Rt]=ni)}),new it(pe.segments,pt)}}function ai(pe,Re,_e){const He=pe.segments.slice(0,Re);let pt=0;for(;pt<_e.length;){const Rt=_e[pt];if(un(Rt)){const Ai=_i(Rt.outlets);return new it(He,Ai)}if(0===pt&&hi(_e[0])){He.push(new $e(pe.segments[Re].path,bi(_e[0]))),pt++;continue}const ni=un(Rt)?Rt.outlets[De]:`${Rt}`,Li=pt<_e.length-1?_e[pt+1]:null;ni&&Li&&hi(Li)?(He.push(new $e(ni,bi(Li))),pt+=2):(He.push(new $e(ni,{})),pt++)}return new it(He,{})}function _i(pe){const Re={};return Object.entries(pe).forEach(([_e,He])=>{"string"==typeof He&&(He=[He]),null!==He&&(Re[_e]=ai(new it([],{}),0,He))}),Re}function bi(pe){const Re={};return Object.entries(pe).forEach(([_e,He])=>Re[_e]=`${He}`),Re}function Oi(pe,Re,_e){return pe==_e.path&&he(Re,_e.parameters)}const Bi="imperative";class Vi{constructor(Re,_e){this.id=Re,this.url=_e}}class Kt extends Vi{constructor(Re,_e,He="imperative",pt=null){super(Re,_e),this.type=0,this.navigationTrigger=He,this.restoredState=pt}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class vi extends Vi{constructor(Re,_e,He){super(Re,_e),this.urlAfterRedirects=He,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class ne extends Vi{constructor(Re,_e,He,pt){super(Re,_e),this.reason=He,this.code=pt,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class lt extends Vi{constructor(Re,_e,He,pt){super(Re,_e),this.reason=He,this.code=pt,this.type=16}}class Oe extends Vi{constructor(Re,_e,He,pt){super(Re,_e),this.error=He,this.target=pt,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Ct extends Vi{constructor(Re,_e,He,pt){super(Re,_e),this.urlAfterRedirects=He,this.state=pt,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ht extends Vi{constructor(Re,_e,He,pt){super(Re,_e),this.urlAfterRedirects=He,this.state=pt,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ii extends Vi{constructor(Re,_e,He,pt,Rt){super(Re,_e),this.urlAfterRedirects=He,this.state=pt,this.shouldActivate=Rt,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class gn extends Vi{constructor(Re,_e,He,pt){super(Re,_e),this.urlAfterRedirects=He,this.state=pt,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class qn extends Vi{constructor(Re,_e,He,pt){super(Re,_e),this.urlAfterRedirects=He,this.state=pt,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class hn{constructor(Re){this.route=Re,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class pr{constructor(Re){this.route=Re,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ia{constructor(Re){this.snapshot=Re,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Dr{constructor(Re){this.snapshot=Re,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Qr{constructor(Re){this.snapshot=Re,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Gi{constructor(Re){this.snapshot=Re,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class rn{constructor(Re,_e,He){this.routerEvent=Re,this.position=_e,this.anchor=He,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class jt{}class wi{constructor(Re){this.url=Re}}class yi{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Ui,this.attachRef=null}}let Ui=(()=>{class pe{constructor(){this.contexts=new Map}onChildOutletCreated(_e,He){const pt=this.getOrCreateContext(_e);pt.outlet=He,this.contexts.set(_e,pt)}onChildOutletDestroyed(_e){const He=this.getContext(_e);He&&(He.outlet=null,He.attachRef=null)}onOutletDeactivated(){const _e=this.contexts;return this.contexts=new Map,_e}onOutletReAttached(_e){this.contexts=_e}getOrCreateContext(_e){let He=this.getContext(_e);return He||(He=new yi,this.contexts.set(_e,He)),He}getContext(_e){return this.contexts.get(_e)||null}static#e=this.\u0275fac=function(He){return new(He||pe)};static#t=this.\u0275prov=e.Yz7({token:pe,factory:pe.\u0275fac,providedIn:"root"})}return pe})();class $i{constructor(Re){this._root=Re}get root(){return this._root.value}parent(Re){const _e=this.pathFromRoot(Re);return _e.length>1?_e[_e.length-2]:null}children(Re){const _e=xn(Re,this._root);return _e?_e.children.map(He=>He.value):[]}firstChild(Re){const _e=xn(Re,this._root);return _e&&_e.children.length>0?_e.children[0].value:null}siblings(Re){const _e=jn(Re,this._root);return _e.length<2?[]:_e[_e.length-2].children.map(pt=>pt.value).filter(pt=>pt!==Re)}pathFromRoot(Re){return jn(Re,this._root).map(_e=>_e.value)}}function xn(pe,Re){if(pe===Re.value)return Re;for(const _e of Re.children){const He=xn(pe,_e);if(He)return He}return null}function jn(pe,Re){if(pe===Re.value)return[Re];for(const _e of Re.children){const He=jn(pe,_e);if(He.length)return He.unshift(Re),He}return[]}class Hn{constructor(Re,_e){this.value=Re,this.children=_e}toString(){return`TreeNode(${this.value})`}}function Er(pe){const Re={};return pe&&pe.children.forEach(_e=>Re[_e.value.outlet]=_e),Re}class tr extends $i{constructor(Re,_e){super(Re),this.snapshot=_e,Lr(this,Re)}toString(){return this.snapshot.toString()}}function Cr(pe,Re){const _e=function sa(pe,Re){const ni=new Ua([],{},{},"",{},De,Re,null,{});return new gr("",new Hn(ni,[]))}(0,Re),He=new l.X([new $e("",{})]),pt=new l.X({}),Rt=new l.X({}),ni=new l.X({}),Li=new l.X(""),Ai=new ga(He,pt,ni,Li,Rt,De,Re,_e.root);return Ai.snapshot=_e.root,new tr(new Hn(Ai,[]),_e)}class ga{constructor(Re,_e,He,pt,Rt,ni,Li,Ai){this.urlSubject=Re,this.paramsSubject=_e,this.queryParamsSubject=He,this.fragmentSubject=pt,this.dataSubject=Rt,this.outlet=ni,this.component=Li,this._futureSnapshot=Ai,this.title=this.dataSubject?.pipe((0,j.U)(cn=>cn[ot]))??(0,A.of)(void 0),this.url=Re,this.params=_e,this.queryParams=He,this.fragment=pt,this.data=Rt}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,j.U)(Re=>Je(Re)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,j.U)(Re=>Je(Re)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function ca(pe,Re,_e="emptyOnly"){let He;const{routeConfig:pt}=pe;return He=null===Re||"always"!==_e&&""!==pt?.path&&(Re.component||Re.routeConfig?.loadComponent)?{params:pe.params,data:pe.data,resolve:{...pe.data,...pe._resolvedData??{}}}:{params:{...Re.params,...pe.params},data:{...Re.data,...pe.data},resolve:{...pe.data,...Re.data,...pt?.data,...pe._resolvedData}},pt&&va(pt)&&(He.resolve[ot]=pt.title),He}class Ua{get title(){return this.data?.[ot]}constructor(Re,_e,He,pt,Rt,ni,Li,Ai,cn){this.url=Re,this.params=_e,this.queryParams=He,this.fragment=pt,this.data=Rt,this.outlet=ni,this.component=Li,this.routeConfig=Ai,this._resolve=cn}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Je(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Je(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(He=>He.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class gr extends $i{constructor(Re,_e){super(_e),this.url=Re,Lr(this,_e)}toString(){return Kn(this._root)}}function Lr(pe,Re){Re.value._routerState=pe,Re.children.forEach(_e=>Lr(pe,_e))}function Kn(pe){const Re=pe.children.length>0?` { ${pe.children.map(Kn).join(", ")} } `:"";return`${pe.value}${Re}`}function _a(pe){if(pe.snapshot){const Re=pe.snapshot,_e=pe._futureSnapshot;pe.snapshot=_e,he(Re.queryParams,_e.queryParams)||pe.queryParamsSubject.next(_e.queryParams),Re.fragment!==_e.fragment&&pe.fragmentSubject.next(_e.fragment),he(Re.params,_e.params)||pe.paramsSubject.next(_e.params),function me(pe,Re){if(pe.length!==Re.length)return!1;for(let _e=0;_e<pe.length;++_e)if(!he(pe[_e],Re[_e]))return!1;return!0}(Re.url,_e.url)||pe.urlSubject.next(_e.url),he(Re.data,_e.data)||pe.dataSubject.next(_e.data)}else pe.snapshot=pe._futureSnapshot,pe.dataSubject.next(pe._futureSnapshot.data)}function Ga(pe,Re){const _e=he(pe.params,Re.params)&&function ke(pe,Re){return st(pe,Re)&&pe.every((_e,He)=>he(_e.parameters,Re[He].parameters))}(pe.url,Re.url);return _e&&!(!pe.parent!=!Re.parent)&&(!pe.parent||Ga(pe.parent,Re.parent))}function va(pe){return"string"==typeof pe.title||null===pe.title}let Ir=(()=>{class pe{constructor(){this.activated=null,this._activatedRoute=null,this.name=De,this.activateEvents=new e.vpe,this.deactivateEvents=new e.vpe,this.attachEvents=new e.vpe,this.detachEvents=new e.vpe,this.parentContexts=(0,e.f3M)(Ui),this.location=(0,e.f3M)(e.s_b),this.changeDetector=(0,e.f3M)(e.sBO),this.environmentInjector=(0,e.f3M)(e.lqb),this.inputBinder=(0,e.f3M)(So,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(_e){if(_e.name){const{firstChange:He,previousValue:pt}=_e.name;if(He)return;this.isTrackedInParentContexts(pt)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(pt)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(_e){return this.parentContexts.getContext(_e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const _e=this.parentContexts.getContext(this.name);_e?.route&&(_e.attachRef?this.attach(_e.attachRef,_e.route):this.activateWith(_e.route,_e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new e.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new e.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new e.vHH(4012,!1);this.location.detach();const _e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(_e.instance),_e}attach(_e,He){this.activated=_e,this._activatedRoute=He,this.location.insert(_e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(_e.instance)}deactivate(){if(this.activated){const _e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(_e)}}activateWith(_e,He){if(this.isActivated)throw new e.vHH(4013,!1);this._activatedRoute=_e;const pt=this.location,ni=_e.snapshot.component,Li=this.parentContexts.getOrCreateContext(this.name).children,Ai=new la(_e,Li,pt.injector);this.activated=pt.createComponent(ni,{index:pt.length,injector:Ai,environmentInjector:He??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(He){return new(He||pe)};static#t=this.\u0275dir=e.lG2({type:pe,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[e.TTD]})}return pe})();class la{constructor(Re,_e,He){this.route=Re,this.childContexts=_e,this.parent=He}get(Re,_e){return Re===ga?this.route:Re===Ui?this.childContexts:this.parent.get(Re,_e)}}const So=new e.OlP("");let qr=(()=>{class pe{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(_e){this.unsubscribeFromRouteData(_e),this.subscribeToRouteData(_e)}unsubscribeFromRouteData(_e){this.outletDataSubscriptions.get(_e)?.unsubscribe(),this.outletDataSubscriptions.delete(_e)}subscribeToRouteData(_e){const{activatedRoute:He}=_e,pt=(0,x.a)([He.queryParams,He.params,He.data]).pipe((0,K.w)(([Rt,ni,Li],Ai)=>(Li={...Rt,...ni,...Li},0===Ai?(0,A.of)(Li):Promise.resolve(Li)))).subscribe(Rt=>{if(!_e.isActivated||!_e.activatedComponentRef||_e.activatedRoute!==He||null===He.component)return void this.unsubscribeFromRouteData(_e);const ni=(0,e.qFp)(He.component);if(ni)for(const{templateName:Li}of ni.inputs)_e.activatedComponentRef.setInput(Li,Rt[Li]);else this.unsubscribeFromRouteData(_e)});this.outletDataSubscriptions.set(_e,pt)}static#e=this.\u0275fac=function(He){return new(He||pe)};static#t=this.\u0275prov=e.Yz7({token:pe,factory:pe.\u0275fac})}return pe})();function Or(pe,Re,_e){if(_e&&pe.shouldReuseRoute(Re.value,_e.value.snapshot)){const He=_e.value;He._futureSnapshot=Re.value;const pt=function fr(pe,Re,_e){return Re.children.map(He=>{for(const pt of _e.children)if(pe.shouldReuseRoute(He.value,pt.value.snapshot))return Or(pe,He,pt);return Or(pe,He)})}(pe,Re,_e);return new Hn(He,pt)}{if(pe.shouldAttach(Re.value)){const Rt=pe.retrieve(Re.value);if(null!==Rt){const ni=Rt.route;return ni.value._futureSnapshot=Re.value,ni.children=Re.children.map(Li=>Or(pe,Li)),ni}}const He=function Gn(pe){return new ga(new l.X(pe.url),new l.X(pe.params),new l.X(pe.queryParams),new l.X(pe.fragment),new l.X(pe.data),pe.outlet,pe.component,pe)}(Re.value),pt=Re.children.map(Rt=>Or(pe,Rt));return new Hn(He,pt)}}const Sa="ngNavigationCancelingError";function io(pe,Re){const{redirectTo:_e,navigationBehaviorOptions:He}=Jt(Re)?{redirectTo:Re,navigationBehaviorOptions:void 0}:Re,pt=Tr(!1,0,Re);return pt.url=_e,pt.navigationBehaviorOptions=He,pt}function Tr(pe,Re,_e){const He=new Error("NavigationCancelingError: "+(pe||""));return He[Sa]=!0,He.cancellationCode=Re,_e&&(He.url=_e),He}function na(pe){return pe&&pe[Sa]}let Na=(()=>{class pe{static#e=this.\u0275fac=function(He){return new(He||pe)};static#t=this.\u0275cmp=e.Xpm({type:pe,selectors:[["ng-component"]],standalone:!0,features:[e.jDz],decls:1,vars:0,template:function(He,pt){1&He&&e._UZ(0,"router-outlet")},dependencies:[Ir],encapsulation:2})}return pe})();function Za(pe){const Re=pe.children&&pe.children.map(Za),_e=Re?{...pe,children:Re}:{...pe};return!_e.component&&!_e.loadComponent&&(Re||_e.loadChildren)&&_e.outlet&&_e.outlet!==De&&(_e.component=Na),_e}function Jr(pe){return pe.outlet||De}function ro(pe){if(!pe)return null;if(pe.routeConfig?._injector)return pe.routeConfig._injector;for(let Re=pe.parent;Re;Re=Re.parent){const _e=Re.routeConfig;if(_e?._loadedInjector)return _e._loadedInjector;if(_e?._injector)return _e._injector}return null}class ao{constructor(Re,_e,He,pt,Rt){this.routeReuseStrategy=Re,this.futureState=_e,this.currState=He,this.forwardEvent=pt,this.inputBindingEnabled=Rt}activate(Re){const _e=this.futureState._root,He=this.currState?this.currState._root:null;this.deactivateChildRoutes(_e,He,Re),_a(this.futureState.root),this.activateChildRoutes(_e,He,Re)}deactivateChildRoutes(Re,_e,He){const pt=Er(_e);Re.children.forEach(Rt=>{const ni=Rt.value.outlet;this.deactivateRoutes(Rt,pt[ni],He),delete pt[ni]}),Object.values(pt).forEach(Rt=>{this.deactivateRouteAndItsChildren(Rt,He)})}deactivateRoutes(Re,_e,He){const pt=Re.value,Rt=_e?_e.value:null;if(pt===Rt)if(pt.component){const ni=He.getContext(pt.outlet);ni&&this.deactivateChildRoutes(Re,_e,ni.children)}else this.deactivateChildRoutes(Re,_e,He);else Rt&&this.deactivateRouteAndItsChildren(_e,He)}deactivateRouteAndItsChildren(Re,_e){Re.value.component&&this.routeReuseStrategy.shouldDetach(Re.value.snapshot)?this.detachAndStoreRouteSubtree(Re,_e):this.deactivateRouteAndOutlet(Re,_e)}detachAndStoreRouteSubtree(Re,_e){const He=_e.getContext(Re.value.outlet),pt=He&&Re.value.component?He.children:_e,Rt=Er(Re);for(const ni of Object.keys(Rt))this.deactivateRouteAndItsChildren(Rt[ni],pt);if(He&&He.outlet){const ni=He.outlet.detach(),Li=He.children.onOutletDeactivated();this.routeReuseStrategy.store(Re.value.snapshot,{componentRef:ni,route:Re,contexts:Li})}}deactivateRouteAndOutlet(Re,_e){const He=_e.getContext(Re.value.outlet),pt=He&&Re.value.component?He.children:_e,Rt=Er(Re);for(const ni of Object.keys(Rt))this.deactivateRouteAndItsChildren(Rt[ni],pt);He&&(He.outlet&&(He.outlet.deactivate(),He.children.onOutletDeactivated()),He.attachRef=null,He.route=null)}activateChildRoutes(Re,_e,He){const pt=Er(_e);Re.children.forEach(Rt=>{this.activateRoutes(Rt,pt[Rt.value.outlet],He),this.forwardEvent(new Gi(Rt.value.snapshot))}),Re.children.length&&this.forwardEvent(new Dr(Re.value.snapshot))}activateRoutes(Re,_e,He){const pt=Re.value,Rt=_e?_e.value:null;if(_a(pt),pt===Rt)if(pt.component){const ni=He.getOrCreateContext(pt.outlet);this.activateChildRoutes(Re,_e,ni.children)}else this.activateChildRoutes(Re,_e,He);else if(pt.component){const ni=He.getOrCreateContext(pt.outlet);if(this.routeReuseStrategy.shouldAttach(pt.snapshot)){const Li=this.routeReuseStrategy.retrieve(pt.snapshot);this.routeReuseStrategy.store(pt.snapshot,null),ni.children.onOutletReAttached(Li.contexts),ni.attachRef=Li.componentRef,ni.route=Li.route.value,ni.outlet&&ni.outlet.attach(Li.componentRef,Li.route.value),_a(Li.route.value),this.activateChildRoutes(Re,null,ni.children)}else{const Li=ro(pt.snapshot);ni.attachRef=null,ni.route=pt,ni.injector=Li,ni.outlet&&ni.outlet.activateWith(pt,ni.injector),this.activateChildRoutes(Re,null,ni.children)}}else this.activateChildRoutes(Re,null,He)}}class Wr{constructor(Re){this.path=Re,this.route=this.path[this.path.length-1]}}class Fo{constructor(Re,_e){this.component=Re,this.route=_e}}function vo(pe,Re,_e){const He=pe._root;return Ti(He,Re?Re._root:null,_e,[He.value])}function Vt(pe,Re){const _e=Symbol(),He=Re.get(pe,_e);return He===_e?"function"!=typeof pe||(0,e.Z0I)(pe)?Re.get(pe):pe:He}function Ti(pe,Re,_e,He,pt={canDeactivateChecks:[],canActivateChecks:[]}){const Rt=Er(Re);return pe.children.forEach(ni=>{(function Mt(pe,Re,_e,He,pt={canDeactivateChecks:[],canActivateChecks:[]}){const Rt=pe.value,ni=Re?Re.value:null,Li=_e?_e.getContext(pe.value.outlet):null;if(ni&&Rt.routeConfig===ni.routeConfig){const Ai=function ii(pe,Re,_e){if("function"==typeof _e)return _e(pe,Re);switch(_e){case"pathParamsChange":return!st(pe.url,Re.url);case"pathParamsOrQueryParamsChange":return!st(pe.url,Re.url)||!he(pe.queryParams,Re.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ga(pe,Re)||!he(pe.queryParams,Re.queryParams);default:return!Ga(pe,Re)}}(ni,Rt,Rt.routeConfig.runGuardsAndResolvers);Ai?pt.canActivateChecks.push(new Wr(He)):(Rt.data=ni.data,Rt._resolvedData=ni._resolvedData),Ti(pe,Re,Rt.component?Li?Li.children:null:_e,He,pt),Ai&&Li&&Li.outlet&&Li.outlet.isActivated&&pt.canDeactivateChecks.push(new Fo(Li.outlet.component,ni))}else ni&&Si(Re,Li,pt),pt.canActivateChecks.push(new Wr(He)),Ti(pe,null,Rt.component?Li?Li.children:null:_e,He,pt)})(ni,Rt[ni.value.outlet],_e,He.concat([ni.value]),pt),delete Rt[ni.value.outlet]}),Object.entries(Rt).forEach(([ni,Li])=>Si(Li,_e.getContext(ni),pt)),pt}function Si(pe,Re,_e){const He=Er(pe),pt=pe.value;Object.entries(He).forEach(([Rt,ni])=>{Si(ni,pt.component?Re?Re.children.getContext(Rt):null:Re,_e)}),_e.canDeactivateChecks.push(new Fo(pt.component&&Re&&Re.outlet&&Re.outlet.isActivated?Re.outlet.component:null,pt))}function Zi(pe){return"function"==typeof pe}function vt(pe){return pe instanceof m.K||"EmptyError"===pe?.name}const qt=Symbol("INITIAL_VALUE");function Fi(){return(0,K.w)(pe=>(0,x.a)(pe.map(Re=>Re.pipe((0,X.q)(1),(0,ie.O)(qt)))).pipe((0,j.U)(Re=>{for(const _e of Re)if(!0!==_e){if(_e===qt)return qt;if(!1===_e||_e instanceof Be)return _e}return!0}),(0,ae.h)(Re=>Re!==qt),(0,X.q)(1)))}function Ts(pe){return(0,E.z)((0,$.b)(Re=>{if(Jt(Re))throw io(0,Re)}),(0,j.U)(Re=>!0===Re))}class br{constructor(Re){this.segmentGroup=Re||null}}class Do extends Error{constructor(Re){super(),this.urlTree=Re}}function Ya(pe){return(0,M._)(new br(pe))}class so{constructor(Re,_e){this.urlSerializer=Re,this.urlTree=_e}noMatchError(Re){return new e.vHH(4002,!1)}lineralizeSegments(Re,_e){let He=[],pt=_e.root;for(;;){if(He=He.concat(pt.segments),0===pt.numberOfChildren)return(0,A.of)(He);if(pt.numberOfChildren>1||!pt.children[De])return(0,M._)(new e.vHH(4e3,!1));pt=pt.children[De]}}applyRedirectCommands(Re,_e,He){const pt=this.applyRedirectCreateUrlTree(_e,this.urlSerializer.parse(_e),Re,He);if(_e.startsWith("/"))throw new Do(pt);return pt}applyRedirectCreateUrlTree(Re,_e,He,pt){const Rt=this.createSegmentGroup(Re,_e.root,He,pt);return new Be(Rt,this.createQueryParams(_e.queryParams,this.urlTree.queryParams),_e.fragment)}createQueryParams(Re,_e){const He={};return Object.entries(Re).forEach(([pt,Rt])=>{if("string"==typeof Rt&&Rt.startsWith(":")){const Li=Rt.substring(1);He[pt]=_e[Li]}else He[pt]=Rt}),He}createSegmentGroup(Re,_e,He,pt){const Rt=this.createSegments(Re,_e.segments,He,pt);let ni={};return Object.entries(_e.children).forEach(([Li,Ai])=>{ni[Li]=this.createSegmentGroup(Re,Ai,He,pt)}),new it(Rt,ni)}createSegments(Re,_e,He,pt){return _e.map(Rt=>Rt.path.startsWith(":")?this.findPosParam(Re,Rt,pt):this.findOrReturn(Rt,He))}findPosParam(Re,_e,He){const pt=He[_e.path.substring(1)];if(!pt)throw new e.vHH(4001,!1);return pt}findOrReturn(Re,_e){let He=0;for(const pt of _e){if(pt.path===Re.path)return _e.splice(He),pt;He++}return Re}}const zo={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function xo(pe,Re,_e,He,pt){const Rt=An(pe,Re,_e);return Rt.matched?(He=function Ha(pe,Re){return pe.providers&&!pe._injector&&(pe._injector=(0,e.MMx)(pe.providers,Re,`Route: ${pe.path}`)),pe._injector??Re}(Re,He),function yo(pe,Re,_e,He){const pt=Re.canMatch;if(!pt||0===pt.length)return(0,A.of)(!0);const Rt=pt.map(ni=>{const Li=Vt(ni,pe);return qe(function ht(pe){return pe&&Zi(pe.canMatch)}(Li)?Li.canMatch(Re,_e):pe.runInContext(()=>Li(Re,_e)))});return(0,A.of)(Rt).pipe(Fi(),Ts())}(He,Re,_e).pipe((0,j.U)(ni=>!0===ni?Rt:{...zo}))):(0,A.of)(Rt)}function An(pe,Re,_e){if(""===Re.path)return"full"===Re.pathMatch&&(pe.hasChildren()||_e.length>0)?{...zo}:{matched:!0,consumedSegments:[],remainingSegments:_e,parameters:{},positionalParamSegments:{}};const pt=(Re.matcher||ye)(_e,pe,Re);if(!pt)return{...zo};const Rt={};Object.entries(pt.posParams??{}).forEach(([Li,Ai])=>{Rt[Li]=Ai.path});const ni=pt.consumed.length>0?{...Rt,...pt.consumed[pt.consumed.length-1].parameters}:Rt;return{matched:!0,consumedSegments:pt.consumed,remainingSegments:_e.slice(pt.consumed.length),parameters:ni,positionalParamSegments:pt.posParams??{}}}function Xo(pe,Re,_e,He){return _e.length>0&&function Aa(pe,Re,_e){return _e.some(He=>Ki(pe,Re,He)&&Jr(He)!==De)}(pe,_e,He)?{segmentGroup:new it(Re,dr(He,new it(_e,pe.children))),slicedSegments:[]}:0===_e.length&&function ss(pe,Re,_e){return _e.some(He=>Ki(pe,Re,He))}(pe,_e,He)?{segmentGroup:new it(pe.segments,os(pe,0,_e,He,pe.children)),slicedSegments:_e}:{segmentGroup:new it(pe.segments,pe.children),slicedSegments:_e}}function os(pe,Re,_e,He,pt){const Rt={};for(const ni of He)if(Ki(pe,_e,ni)&&!pt[Jr(ni)]){const Li=new it([],{});Rt[Jr(ni)]=Li}return{...pt,...Rt}}function dr(pe,Re){const _e={};_e[De]=Re;for(const He of pe)if(""===He.path&&Jr(He)!==De){const pt=new it([],{});_e[Jr(He)]=pt}return _e}function Ki(pe,Re,_e){return(!(pe.hasChildren()||Re.length>0)||"full"!==_e.pathMatch)&&""===_e.path}class Pr{}class Us{constructor(Re,_e,He,pt,Rt,ni,Li){this.injector=Re,this.configLoader=_e,this.rootComponentType=He,this.config=pt,this.urlTree=Rt,this.paramsInheritanceStrategy=ni,this.urlSerializer=Li,this.applyRedirects=new so(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(Re){return new e.vHH(4002,!1)}recognize(){const Re=Xo(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(Re).pipe((0,j.U)(_e=>{const He=new Ua([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},De,this.rootComponentType,null,{}),pt=new Hn(He,_e),Rt=new gr("",pt),ni=function Xt(pe,Re,_e=null,He=null){return li(Hi(pe),Re,_e,He)}(He,[],this.urlTree.queryParams,this.urlTree.fragment);return ni.queryParams=this.urlTree.queryParams,Rt.url=this.urlSerializer.serialize(ni),this.inheritParamsAndData(Rt._root,null),{state:Rt,tree:ni}}))}match(Re){return this.processSegmentGroup(this.injector,this.config,Re,De).pipe((0,ue.K)(He=>{if(He instanceof Do)return this.urlTree=He.urlTree,this.match(He.urlTree.root);throw He instanceof br?this.noMatchError(He):He}))}inheritParamsAndData(Re,_e){const He=Re.value,pt=ca(He,_e,this.paramsInheritanceStrategy);He.params=Object.freeze(pt.params),He.data=Object.freeze(pt.data),Re.children.forEach(Rt=>this.inheritParamsAndData(Rt,He))}processSegmentGroup(Re,_e,He,pt){return 0===He.segments.length&&He.hasChildren()?this.processChildren(Re,_e,He):this.processSegment(Re,_e,He,He.segments,pt,!0).pipe((0,j.U)(Rt=>Rt instanceof Hn?[Rt]:[]))}processChildren(Re,_e,He){const pt=[];for(const Rt of Object.keys(He.children))"primary"===Rt?pt.unshift(Rt):pt.push(Rt);return(0,y.D)(pt).pipe((0,Me.b)(Rt=>{const ni=He.children[Rt],Li=function vs(pe,Re){const _e=pe.filter(He=>Jr(He)===Re);return _e.push(...pe.filter(He=>Jr(He)!==Re)),_e}(_e,Rt);return this.processSegmentGroup(Re,Li,ni,Rt)}),(0,S.R)((Rt,ni)=>(Rt.push(...ni),Rt)),(0,n.d)(null),function O(pe,Re){const _e=arguments.length>=2;return He=>He.pipe(pe?(0,ae.h)((pt,Rt)=>pe(pt,Rt,He)):D.y,h(1),_e?(0,n.d)(Re):(0,w.T)(()=>new m.K))}(),(0,fe.z)(Rt=>{if(null===Rt)return Ya(He);const ni=en(Rt);return function co(pe){pe.sort((Re,_e)=>Re.value.outlet===De?-1:_e.value.outlet===De?1:Re.value.outlet.localeCompare(_e.value.outlet))}(ni),(0,A.of)(ni)}))}processSegment(Re,_e,He,pt,Rt,ni){return(0,y.D)(_e).pipe((0,Me.b)(Li=>this.processSegmentAgainstRoute(Li._injector??Re,_e,Li,He,pt,Rt,ni).pipe((0,ue.K)(Ai=>{if(Ai instanceof br)return(0,A.of)(null);throw Ai}))),(0,se.P)(Li=>!!Li),(0,ue.K)(Li=>{if(vt(Li))return function ua(pe,Re,_e){return 0===Re.length&&!pe.children[_e]}(He,pt,Rt)?(0,A.of)(new Pr):Ya(He);throw Li}))}processSegmentAgainstRoute(Re,_e,He,pt,Rt,ni,Li){return function Ds(pe,Re,_e,He){return!!(Jr(pe)===He||He!==De&&Ki(Re,_e,pe))&&("**"===pe.path||An(Re,pe,_e).matched)}(He,pt,Rt,ni)?void 0===He.redirectTo?this.matchSegmentAgainstRoute(Re,pt,He,Rt,ni):this.allowRedirects&&Li?this.expandSegmentAgainstRouteUsingRedirect(Re,pt,_e,He,Rt,ni):Ya(pt):Ya(pt)}expandSegmentAgainstRouteUsingRedirect(Re,_e,He,pt,Rt,ni){const{matched:Li,consumedSegments:Ai,positionalParamSegments:cn,remainingSegments:Qn}="**"===pt.path?ar(Rt):An(_e,pt,Rt);if(!Li)return Ya(_e);pt.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const $n=this.applyRedirects.applyRedirectCommands(Ai,pt.redirectTo,cn);return this.applyRedirects.lineralizeSegments(pt,$n).pipe((0,fe.z)(Nr=>this.processSegment(Re,He,_e,Nr.concat(Qn),ni,!1)))}matchSegmentAgainstRoute(Re,_e,He,pt,Rt){let ni;return"**"===He.path?(ni=(0,A.of)(ar(pt)),_e.children={}):ni=xo(_e,He,pt,Re),ni.pipe((0,K.w)(Li=>Li.matched?this.getChildConfig(Re=He._injector??Re,He,pt).pipe((0,K.w)(({routes:Ai})=>{const cn=He._loadedInjector??Re,{consumedSegments:Qn,remainingSegments:$n,parameters:Nr}=Li,Io=new Ua(Qn,Nr,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function $r(pe){return pe.data||{}}(He),Jr(He),He.component??He._loadedComponent??null,He,function Xi(pe){return pe.resolve||{}}(He)),{segmentGroup:Zs,slicedSegments:Co}=Xo(_e,Qn,$n,Ai);if(0===Co.length&&Zs.hasChildren())return this.processChildren(cn,Ai,Zs).pipe((0,j.U)(ls=>null===ls?null:new Hn(Io,ls)));if(0===Ai.length&&0===Co.length)return(0,A.of)(new Hn(Io,[]));const Ps=Jr(He)===Rt;return this.processSegment(cn,Ai,Zs,Co,Ps?De:Rt,!0).pipe((0,j.U)(ls=>new Hn(Io,ls instanceof Hn?[ls]:[])))})):Ya(_e)))}getChildConfig(Re,_e,He){return _e.children?(0,A.of)({routes:_e.children,injector:Re}):_e.loadChildren?void 0!==_e._loadedRoutes?(0,A.of)({routes:_e._loadedRoutes,injector:_e._loadedInjector}):function Yi(pe,Re,_e,He){const pt=Re.canLoad;if(void 0===pt||0===pt.length)return(0,A.of)(!0);const Rt=pt.map(ni=>{const Li=Vt(ni,pe);return qe(function cr(pe){return pe&&Zi(pe.canLoad)}(Li)?Li.canLoad(Re,_e):pe.runInContext(()=>Li(Re,_e)))});return(0,A.of)(Rt).pipe(Fi(),Ts())}(Re,_e,He).pipe((0,fe.z)(pt=>pt?this.configLoader.loadChildren(Re,_e).pipe((0,$.b)(Rt=>{_e._loadedRoutes=Rt.routes,_e._loadedInjector=Rt.injector})):function As(pe){return(0,M._)(Tr(!1,3))}())):(0,A.of)({routes:[],injector:Re})}}function Jn(pe){const Re=pe.value.routeConfig;return Re&&""===Re.path}function en(pe){const Re=[],_e=new Set;for(const He of pe){if(!Jn(He)){Re.push(He);continue}const pt=Re.find(Rt=>He.value.routeConfig===Rt.value.routeConfig);void 0!==pt?(pt.children.push(...He.children),_e.add(pt)):Re.push(He)}for(const He of _e){const pt=en(He.children);Re.push(new Hn(He.value,pt))}return Re.filter(He=>!_e.has(He))}function ar(pe){return{matched:!0,parameters:pe.length>0?ge(pe).parameters:{},consumedSegments:pe,remainingSegments:[],positionalParamSegments:{}}}function mc(pe,Re){return(0,fe.z)(_e=>{const{targetSnapshot:He,guards:{canActivateChecks:pt}}=_e;if(!pt.length)return(0,A.of)(_e);const Rt=pt.map(cn=>cn.route),ni=new Set(Rt),Li=zc(Rt[0].parent).slice(1);let Ai=0;return(0,y.D)(Li).pipe((0,Me.b)(cn=>ni.has(cn)?function pl(pe,Re,_e,He){const pt=pe.routeConfig,Rt=pe._resolve;return void 0!==pt?.title&&!va(pt)&&(Rt[ot]=pt.title),function Is(pe,Re,_e,He){const pt=xe(pe);if(0===pt.length)return(0,A.of)({});const Rt={};return(0,y.D)(pt).pipe((0,fe.z)(ni=>function Sn(pe,Re,_e,He){const pt=ro(Re)??He,Rt=Vt(pe,pt);return qe(Rt.resolve?Rt.resolve(Re,_e):pt.runInContext(()=>Rt(Re,_e)))}(pe[ni],Re,_e,He).pipe((0,se.P)(),(0,$.b)(Li=>{Rt[ni]=Li}))),h(1),(0,v.h)(Rt),(0,ue.K)(ni=>vt(ni)?I.E:(0,M._)(ni)))}(Rt,pe,Re,He).pipe((0,j.U)(ni=>(pe._resolvedData=ni,pe.data=ca(pe,pe.parent,_e).resolve,null)))}(cn,He,pe,Re):(cn.data=ca(cn,cn.parent,pe).resolve,(0,A.of)(void 0))),(0,$.b)(()=>Ai++),h(1),(0,fe.z)(cn=>Ai===Li.length?(0,A.of)(_e):I.E))})}function zc(pe){const Re=pe.children.map(_e=>zc(_e)).flat();return[pe,...Re]}function Se(pe){return(0,K.w)(Re=>{const _e=pe(Re);return _e?(0,y.D)(_e).pipe((0,j.U)(()=>Re)):(0,A.of)(Re)})}let dt=(()=>{class pe{buildTitle(_e){let He,pt=_e.root;for(;void 0!==pt;)He=this.getResolvedTitleForRoute(pt)??He,pt=pt.children.find(Rt=>Rt.outlet===De);return He}getResolvedTitleForRoute(_e){return _e.data[ot]}static#e=this.\u0275fac=function(He){return new(He||pe)};static#t=this.\u0275prov=e.Yz7({token:pe,factory:()=>(0,e.f3M)(Ye),providedIn:"root"})}return pe})(),Ye=(()=>{class pe extends dt{constructor(_e){super(),this.title=_e}updateTitle(_e){const He=this.buildTitle(_e);void 0!==He&&this.title.setTitle(He)}static#e=this.\u0275fac=function(He){return new(He||pe)(e.LFG(ee.Dx))};static#t=this.\u0275prov=e.Yz7({token:pe,factory:pe.\u0275fac,providedIn:"root"})}return pe})();const ut=new e.OlP("",{providedIn:"root",factory:()=>({})}),ti=new e.OlP("ROUTES");let Ne=(()=>{class pe{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,e.f3M)(e.Sil)}loadComponent(_e){if(this.componentLoaders.get(_e))return this.componentLoaders.get(_e);if(_e._loadedComponent)return(0,A.of)(_e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(_e);const He=qe(_e.loadComponent()).pipe((0,j.U)(Pt),(0,$.b)(Rt=>{this.onLoadEndListener&&this.onLoadEndListener(_e),_e._loadedComponent=Rt}),(0,r.x)(()=>{this.componentLoaders.delete(_e)})),pt=new k.c(He,()=>new V.x).pipe((0,g.x)());return this.componentLoaders.set(_e,pt),pt}loadChildren(_e,He){if(this.childrenLoaders.get(He))return this.childrenLoaders.get(He);if(He._loadedRoutes)return(0,A.of)({routes:He._loadedRoutes,injector:He._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(He);const Rt=function ft(pe,Re,_e,He){return qe(pe.loadChildren()).pipe((0,j.U)(Pt),(0,fe.z)(pt=>pt instanceof e.YKP||Array.isArray(pt)?(0,A.of)(pt):(0,y.D)(Re.compileModuleAsync(pt))),(0,j.U)(pt=>{He&&He(pe);let Rt,ni,Li=!1;return Array.isArray(pt)?(ni=pt,!0):(Rt=pt.create(_e).injector,ni=Rt.get(ti,[],{optional:!0,self:!0}).flat()),{routes:ni.map(Za),injector:Rt}}))}(He,this.compiler,_e,this.onLoadEndListener).pipe((0,r.x)(()=>{this.childrenLoaders.delete(He)})),ni=new k.c(Rt,()=>new V.x).pipe((0,g.x)());return this.childrenLoaders.set(He,ni),ni}static#e=this.\u0275fac=function(He){return new(He||pe)};static#t=this.\u0275prov=e.Yz7({token:pe,factory:pe.\u0275fac,providedIn:"root"})}return pe})();function Pt(pe){return function _t(pe){return pe&&"object"==typeof pe&&"default"in pe}(pe)?pe.default:pe}let Qt=(()=>{class pe{static#e=this.\u0275fac=function(He){return new(He||pe)};static#t=this.\u0275prov=e.Yz7({token:pe,factory:()=>(0,e.f3M)(di),providedIn:"root"})}return pe})(),di=(()=>{class pe{shouldProcessUrl(_e){return!0}extract(_e){return _e}merge(_e,He){return _e}static#e=this.\u0275fac=function(He){return new(He||pe)};static#t=this.\u0275prov=e.Yz7({token:pe,factory:pe.\u0275fac,providedIn:"root"})}return pe})();const ci=new e.OlP(""),Ei=new e.OlP("");function Di(pe,Re,_e){const He=pe.get(Ei),pt=pe.get(W.K0);return pe.get(e.R0b).runOutsideAngular(()=>{if(!pt.startViewTransition||He.skipNextTransition)return He.skipNextTransition=!1,Promise.resolve();let Rt;const ni=new Promise(cn=>{Rt=cn}),Li=pt.startViewTransition(()=>(Rt(),function tn(pe){return new Promise(Re=>{(0,e.T8G)(Re,{injector:pe})})}(pe))),{onViewTransitionCreated:Ai}=He;return Ai&&(0,e.r_H)(pe,()=>Ai({transition:Li,from:Re,to:_e})),ni})}let Ji=(()=>{class pe{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new V.x,this.transitionAbortSubject=new V.x,this.configLoader=(0,e.f3M)(Ne),this.environmentInjector=(0,e.f3M)(e.lqb),this.urlSerializer=(0,e.f3M)(Et),this.rootContexts=(0,e.f3M)(Ui),this.location=(0,e.f3M)(W.Ye),this.inputBindingEnabled=null!==(0,e.f3M)(So,{optional:!0}),this.titleStrategy=(0,e.f3M)(dt),this.options=(0,e.f3M)(ut,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,e.f3M)(Qt),this.createViewTransition=(0,e.f3M)(ci,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,A.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=pt=>this.events.next(new pr(pt)),this.configLoader.onLoadStartListener=pt=>this.events.next(new hn(pt))}complete(){this.transitions?.complete()}handleNavigationRequest(_e){const He=++this.navigationId;this.transitions?.next({...this.transitions.value,..._e,id:He})}setupNavigations(_e,He,pt){return this.transitions=new l.X({id:0,currentUrlTree:He,currentRawUrl:He,extractedUrl:this.urlHandlingStrategy.extract(He),urlAfterRedirects:this.urlHandlingStrategy.extract(He),rawUrl:He,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Bi,restoredState:null,currentSnapshot:pt.snapshot,targetSnapshot:null,currentRouterState:pt,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,ae.h)(Rt=>0!==Rt.id),(0,j.U)(Rt=>({...Rt,extractedUrl:this.urlHandlingStrategy.extract(Rt.rawUrl)})),(0,K.w)(Rt=>{this.currentTransition=Rt;let ni=!1,Li=!1;return(0,A.of)(Rt).pipe((0,$.b)(Ai=>{this.currentNavigation={id:Ai.id,initialUrl:Ai.rawUrl,extractedUrl:Ai.extractedUrl,trigger:Ai.source,extras:Ai.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,K.w)(Ai=>{const cn=!_e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!cn&&"reload"!==(Ai.extras.onSameUrlNavigation??_e.onSameUrlNavigation)){const $n="";return this.events.next(new lt(Ai.id,this.urlSerializer.serialize(Ai.rawUrl),$n,0)),Ai.resolve(null),I.E}if(this.urlHandlingStrategy.shouldProcessUrl(Ai.rawUrl))return(0,A.of)(Ai).pipe((0,K.w)($n=>{const Nr=this.transitions?.getValue();return this.events.next(new Kt($n.id,this.urlSerializer.serialize($n.extractedUrl),$n.source,$n.restoredState)),Nr!==this.transitions?.getValue()?I.E:Promise.resolve($n)}),function ra(pe,Re,_e,He,pt,Rt){return(0,fe.z)(ni=>function Ls(pe,Re,_e,He,pt,Rt,ni="emptyOnly"){return new Us(pe,Re,_e,He,pt,ni,Rt).recognize()}(pe,Re,_e,He,ni.extractedUrl,pt,Rt).pipe((0,j.U)(({state:Li,tree:Ai})=>({...ni,targetSnapshot:Li,urlAfterRedirects:Ai}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,_e.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,$.b)($n=>{Rt.targetSnapshot=$n.targetSnapshot,Rt.urlAfterRedirects=$n.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:$n.urlAfterRedirects};const Nr=new Ct($n.id,this.urlSerializer.serialize($n.extractedUrl),this.urlSerializer.serialize($n.urlAfterRedirects),$n.targetSnapshot);this.events.next(Nr)}));if(cn&&this.urlHandlingStrategy.shouldProcessUrl(Ai.currentRawUrl)){const{id:$n,extractedUrl:Nr,source:Io,restoredState:Zs,extras:Co}=Ai,Ps=new Kt($n,this.urlSerializer.serialize(Nr),Io,Zs);this.events.next(Ps);const ls=Cr(0,this.rootComponentType).snapshot;return this.currentTransition=Rt={...Ai,targetSnapshot:ls,urlAfterRedirects:Nr,extras:{...Co,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=Nr,(0,A.of)(Rt)}{const $n="";return this.events.next(new lt(Ai.id,this.urlSerializer.serialize(Ai.extractedUrl),$n,1)),Ai.resolve(null),I.E}}),(0,$.b)(Ai=>{const cn=new Ht(Ai.id,this.urlSerializer.serialize(Ai.extractedUrl),this.urlSerializer.serialize(Ai.urlAfterRedirects),Ai.targetSnapshot);this.events.next(cn)}),(0,j.U)(Ai=>(this.currentTransition=Rt={...Ai,guards:vo(Ai.targetSnapshot,Ai.currentSnapshot,this.rootContexts)},Rt)),function Cn(pe,Re){return(0,fe.z)(_e=>{const{targetSnapshot:He,currentSnapshot:pt,guards:{canActivateChecks:Rt,canDeactivateChecks:ni}}=_e;return 0===ni.length&&0===Rt.length?(0,A.of)({..._e,guardsResult:!0}):function Mr(pe,Re,_e,He){return(0,y.D)(pe).pipe((0,fe.z)(pt=>function Ln(pe,Re,_e,He,pt){const Rt=Re&&Re.routeConfig?Re.routeConfig.canDeactivate:null;if(!Rt||0===Rt.length)return(0,A.of)(!0);const ni=Rt.map(Li=>{const Ai=ro(Re)??pt,cn=Vt(Li,Ai);return qe(function Wa(pe){return pe&&Zi(pe.canDeactivate)}(cn)?cn.canDeactivate(pe,Re,_e,He):Ai.runInContext(()=>cn(pe,Re,_e,He))).pipe((0,se.P)())});return(0,A.of)(ni).pipe(Fi())}(pt.component,pt.route,_e,Re,He)),(0,se.P)(pt=>!0!==pt,!0))}(ni,He,pt,pe).pipe((0,fe.z)(Li=>Li&&function rr(pe){return"boolean"==typeof pe}(Li)?function Ea(pe,Re,_e,He){return(0,y.D)(Re).pipe((0,Me.b)(pt=>(0,P.z)(function Vn(pe,Re){return null!==pe&&Re&&Re(new ia(pe)),(0,A.of)(!0)}(pt.route.parent,He),function bo(pe,Re){return null!==pe&&Re&&Re(new Qr(pe)),(0,A.of)(!0)}(pt.route,He),function oo(pe,Re,_e){const He=Re[Re.length-1],Rt=Re.slice(0,Re.length-1).reverse().map(ni=>function Ao(pe){const Re=pe.routeConfig?pe.routeConfig.canActivateChild:null;return Re&&0!==Re.length?{node:pe,guards:Re}:null}(ni)).filter(ni=>null!==ni).map(ni=>(0,d.P)(()=>{const Li=ni.guards.map(Ai=>{const cn=ro(ni.node)??_e,Qn=Vt(Ai,cn);return qe(function on(pe){return pe&&Zi(pe.canActivateChild)}(Qn)?Qn.canActivateChild(He,pe):cn.runInContext(()=>Qn(He,pe))).pipe((0,se.P)())});return(0,A.of)(Li).pipe(Fi())}));return(0,A.of)(Rt).pipe(Fi())}(pe,pt.path,_e),function zi(pe,Re,_e){const He=Re.routeConfig?Re.routeConfig.canActivate:null;if(!He||0===He.length)return(0,A.of)(!0);const pt=He.map(Rt=>(0,d.P)(()=>{const ni=ro(Re)??_e,Li=Vt(Rt,ni);return qe(function Yr(pe){return pe&&Zi(pe.canActivate)}(Li)?Li.canActivate(Re,pe):ni.runInContext(()=>Li(Re,pe))).pipe((0,se.P)())}));return(0,A.of)(pt).pipe(Fi())}(pe,pt.route,_e))),(0,se.P)(pt=>!0!==pt,!0))}(He,Rt,pe,Re):(0,A.of)(Li)),(0,j.U)(Li=>({..._e,guardsResult:Li})))})}(this.environmentInjector,Ai=>this.events.next(Ai)),(0,$.b)(Ai=>{if(Rt.guardsResult=Ai.guardsResult,Jt(Ai.guardsResult))throw io(0,Ai.guardsResult);const cn=new Ii(Ai.id,this.urlSerializer.serialize(Ai.extractedUrl),this.urlSerializer.serialize(Ai.urlAfterRedirects),Ai.targetSnapshot,!!Ai.guardsResult);this.events.next(cn)}),(0,ae.h)(Ai=>!!Ai.guardsResult||(this.cancelNavigationTransition(Ai,"",3),!1)),Se(Ai=>{if(Ai.guards.canActivateChecks.length)return(0,A.of)(Ai).pipe((0,$.b)(cn=>{const Qn=new gn(cn.id,this.urlSerializer.serialize(cn.extractedUrl),this.urlSerializer.serialize(cn.urlAfterRedirects),cn.targetSnapshot);this.events.next(Qn)}),(0,K.w)(cn=>{let Qn=!1;return(0,A.of)(cn).pipe(mc(this.paramsInheritanceStrategy,this.environmentInjector),(0,$.b)({next:()=>Qn=!0,complete:()=>{Qn||this.cancelNavigationTransition(cn,"",2)}}))}),(0,$.b)(cn=>{const Qn=new qn(cn.id,this.urlSerializer.serialize(cn.extractedUrl),this.urlSerializer.serialize(cn.urlAfterRedirects),cn.targetSnapshot);this.events.next(Qn)}))}),Se(Ai=>{const cn=Qn=>{const $n=[];Qn.routeConfig?.loadComponent&&!Qn.routeConfig._loadedComponent&&$n.push(this.configLoader.loadComponent(Qn.routeConfig).pipe((0,$.b)(Nr=>{Qn.component=Nr}),(0,j.U)(()=>{})));for(const Nr of Qn.children)$n.push(...cn(Nr));return $n};return(0,x.a)(cn(Ai.targetSnapshot.root)).pipe((0,n.d)(),(0,X.q)(1))}),Se(()=>this.afterPreactivation()),(0,K.w)(()=>{const{currentSnapshot:Ai,targetSnapshot:cn}=Rt,Qn=this.createViewTransition?.(this.environmentInjector,Ai.root,cn.root);return Qn?(0,y.D)(Qn).pipe((0,j.U)(()=>Rt)):(0,A.of)(Rt)}),(0,j.U)(Ai=>{const cn=function Ma(pe,Re,_e){const He=Or(pe,Re._root,_e?_e._root:void 0);return new tr(He,Re)}(_e.routeReuseStrategy,Ai.targetSnapshot,Ai.currentRouterState);return this.currentTransition=Rt={...Ai,targetRouterState:cn},this.currentNavigation.targetRouterState=cn,Rt}),(0,$.b)(()=>{this.events.next(new jt)}),((pe,Re,_e,He)=>(0,j.U)(pt=>(new ao(Re,pt.targetRouterState,pt.currentRouterState,_e,He).activate(pe),pt)))(this.rootContexts,_e.routeReuseStrategy,Ai=>this.events.next(Ai),this.inputBindingEnabled),(0,X.q)(1),(0,$.b)({next:Ai=>{ni=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new vi(Ai.id,this.urlSerializer.serialize(Ai.extractedUrl),this.urlSerializer.serialize(Ai.urlAfterRedirects))),this.titleStrategy?.updateTitle(Ai.targetRouterState.snapshot),Ai.resolve(!0)},complete:()=>{ni=!0}}),(0,H.R)(this.transitionAbortSubject.pipe((0,$.b)(Ai=>{throw Ai}))),(0,r.x)(()=>{ni||Li||this.cancelNavigationTransition(Rt,"",1),this.currentNavigation?.id===Rt.id&&(this.currentNavigation=null)}),(0,ue.K)(Ai=>{if(Li=!0,na(Ai))this.events.next(new ne(Rt.id,this.urlSerializer.serialize(Rt.extractedUrl),Ai.message,Ai.cancellationCode)),function qo(pe){return na(pe)&&Jt(pe.url)}(Ai)?this.events.next(new wi(Ai.url)):Rt.resolve(!1);else{this.events.next(new Oe(Rt.id,this.urlSerializer.serialize(Rt.extractedUrl),Ai,Rt.targetSnapshot??void 0));try{Rt.resolve(_e.errorHandler(Ai))}catch(cn){Rt.reject(cn)}}return I.E}))}))}cancelNavigationTransition(_e,He,pt){const Rt=new ne(_e.id,this.urlSerializer.serialize(_e.extractedUrl),He,pt);this.events.next(Rt),_e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(He){return new(He||pe)};static#t=this.\u0275prov=e.Yz7({token:pe,factory:pe.\u0275fac,providedIn:"root"})}return pe})();function fn(pe){return pe!==Bi}let Tn=(()=>{class pe{static#e=this.\u0275fac=function(He){return new(He||pe)};static#t=this.\u0275prov=e.Yz7({token:pe,factory:()=>(0,e.f3M)(Ar),providedIn:"root"})}return pe})();class Fn{shouldDetach(Re){return!1}store(Re,_e){}shouldAttach(Re){return!1}retrieve(Re){return null}shouldReuseRoute(Re,_e){return Re.routeConfig===_e.routeConfig}}let Ar=(()=>{class pe extends Fn{static#e=this.\u0275fac=(()=>{let _e;return function(pt){return(_e||(_e=e.n5z(pe)))(pt||pe)}})();static#t=this.\u0275prov=e.Yz7({token:pe,factory:pe.\u0275fac,providedIn:"root"})}return pe})(),zr=(()=>{class pe{static#e=this.\u0275fac=function(He){return new(He||pe)};static#t=this.\u0275prov=e.Yz7({token:pe,factory:()=>(0,e.f3M)(fa),providedIn:"root"})}return pe})(),fa=(()=>{class pe extends zr{constructor(){super(...arguments),this.location=(0,e.f3M)(W.Ye),this.urlSerializer=(0,e.f3M)(Et),this.options=(0,e.f3M)(ut,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,e.f3M)(Qt),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Be,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Cr(0,null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(_e){return this.location.subscribe(He=>{"popstate"===He.type&&_e(He.url,He.state)})}handleRouterEvent(_e,He){if(_e instanceof Kt)this.stateMemento=this.createStateMemento();else if(_e instanceof lt)this.rawUrlTree=He.initialUrl;else if(_e instanceof Ct){if("eager"===this.urlUpdateStrategy&&!He.extras.skipLocationChange){const pt=this.urlHandlingStrategy.merge(He.finalUrl,He.initialUrl);this.setBrowserUrl(pt,He)}}else _e instanceof jt?(this.currentUrlTree=He.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(He.finalUrl,He.initialUrl),this.routerState=He.targetRouterState,"deferred"===this.urlUpdateStrategy&&(He.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,He))):_e instanceof ne&&(3===_e.code||2===_e.code)?this.restoreHistory(He):_e instanceof Oe?this.restoreHistory(He,!0):_e instanceof vi&&(this.lastSuccessfulId=_e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(_e,He){const pt=this.urlSerializer.serialize(_e);if(this.location.isCurrentPathEqualTo(pt)||He.extras.replaceUrl){const ni={...He.extras.state,...this.generateNgRouterState(He.id,this.browserPageId)};this.location.replaceState(pt,"",ni)}else{const Rt={...He.extras.state,...this.generateNgRouterState(He.id,this.browserPageId+1)};this.location.go(pt,"",Rt)}}restoreHistory(_e,He=!1){if("computed"===this.canceledNavigationResolution){const Rt=this.currentPageId-this.browserPageId;0!==Rt?this.location.historyGo(Rt):this.currentUrlTree===_e.finalUrl&&0===Rt&&(this.resetState(_e),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(He&&this.resetState(_e),this.resetUrlToCurrentUrlTree())}resetState(_e){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,_e.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(_e,He){return"computed"===this.canceledNavigationResolution?{navigationId:_e,\u0275routerPageId:He}:{navigationId:_e}}static#e=this.\u0275fac=(()=>{let _e;return function(pt){return(_e||(_e=e.n5z(pe)))(pt||pe)}})();static#t=this.\u0275prov=e.Yz7({token:pe,factory:pe.\u0275fac,providedIn:"root"})}return pe})();var aa=function(pe){return pe[pe.COMPLETE=0]="COMPLETE",pe[pe.FAILED=1]="FAILED",pe[pe.REDIRECTING=2]="REDIRECTING",pe}(aa||{});function Da(pe,Re){pe.events.pipe((0,ae.h)(_e=>_e instanceof vi||_e instanceof ne||_e instanceof Oe||_e instanceof lt),(0,j.U)(_e=>_e instanceof vi||_e instanceof lt?aa.COMPLETE:_e instanceof ne&&(0===_e.code||1===_e.code)?aa.REDIRECTING:aa.FAILED),(0,ae.h)(_e=>_e!==aa.REDIRECTING),(0,X.q)(1)).subscribe(()=>{Re()})}function Rr(pe){throw pe}const Lo={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ja={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Bn=(()=>{class pe{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=(0,e.f3M)(e.c2e),this.stateManager=(0,e.f3M)(zr),this.options=(0,e.f3M)(ut,{optional:!0})||{},this.pendingTasks=(0,e.f3M)(e.HDt),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,e.f3M)(Ji),this.urlSerializer=(0,e.f3M)(Et),this.location=(0,e.f3M)(W.Ye),this.urlHandlingStrategy=(0,e.f3M)(Qt),this._events=new V.x,this.errorHandler=this.options.errorHandler||Rr,this.navigated=!1,this.routeReuseStrategy=(0,e.f3M)(Tn),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,e.f3M)(ti,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,e.f3M)(So,{optional:!0}),this.eventsSubscription=new B.w0,this.isNgZoneEnabled=(0,e.f3M)(e.R0b)instanceof e.R0b&&e.R0b.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:_e=>{this.console.warn(_e)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const _e=this.navigationTransitions.events.subscribe(He=>{try{const pt=this.navigationTransitions.currentTransition,Rt=this.navigationTransitions.currentNavigation;if(null!==pt&&null!==Rt)if(this.stateManager.handleRouterEvent(He,Rt),He instanceof ne&&0!==He.code&&1!==He.code)this.navigated=!0;else if(He instanceof vi)this.navigated=!0;else if(He instanceof wi){const ni=this.urlHandlingStrategy.merge(He.url,pt.currentRawUrl),Li={skipLocationChange:pt.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||fn(pt.source)};this.scheduleNavigation(ni,Bi,null,Li,{resolve:pt.resolve,reject:pt.reject,promise:pt.promise})}(function bs(pe){return!(pe instanceof jt||pe instanceof wi)})(He)&&this._events.next(He)}catch(pt){this.navigationTransitions.transitionAbortSubject.next(pt)}});this.eventsSubscription.add(_e)}resetRootComponentType(_e){this.routerState.root.component=_e,this.navigationTransitions.rootComponentType=_e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Bi,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((_e,He)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(_e,"popstate",He)},0)}))}navigateToSyncWithBrowser(_e,He,pt){const Rt={replaceUrl:!0},ni=pt?.navigationId?pt:null;if(pt){const Ai={...pt};delete Ai.navigationId,delete Ai.\u0275routerPageId,0!==Object.keys(Ai).length&&(Rt.state=Ai)}const Li=this.parseUrl(_e);this.scheduleNavigation(Li,He,ni,Rt)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(_e){this.config=_e.map(Za),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(_e,He={}){const{relativeTo:pt,queryParams:Rt,fragment:ni,queryParamsHandling:Li,preserveFragment:Ai}=He,cn=Ai?this.currentUrlTree.fragment:ni;let $n,Qn=null;switch(Li){case"merge":Qn={...this.currentUrlTree.queryParams,...Rt};break;case"preserve":Qn=this.currentUrlTree.queryParams;break;default:Qn=Rt||null}null!==Qn&&(Qn=this.removeEmptyProps(Qn));try{$n=Hi(pt?pt.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof _e[0]||!_e[0].startsWith("/"))&&(_e=[]),$n=this.currentUrlTree.root}return li($n,_e,Qn,cn??null)}navigateByUrl(_e,He={skipLocationChange:!1}){const pt=Jt(_e)?_e:this.parseUrl(_e),Rt=this.urlHandlingStrategy.merge(pt,this.rawUrlTree);return this.scheduleNavigation(Rt,Bi,null,He)}navigate(_e,He={skipLocationChange:!1}){return function Jo(pe){for(let Re=0;Re<pe.length;Re++)if(null==pe[Re])throw new e.vHH(4008,!1)}(_e),this.navigateByUrl(this.createUrlTree(_e,He),He)}serializeUrl(_e){return this.urlSerializer.serialize(_e)}parseUrl(_e){try{return this.urlSerializer.parse(_e)}catch{return this.urlSerializer.parse("/")}}isActive(_e,He){let pt;if(pt=!0===He?{...Lo}:!1===He?{...Ja}:He,Jt(_e))return le(this.currentUrlTree,_e,pt);const Rt=this.parseUrl(_e);return le(this.currentUrlTree,Rt,pt)}removeEmptyProps(_e){return Object.keys(_e).reduce((He,pt)=>{const Rt=_e[pt];return null!=Rt&&(He[pt]=Rt),He},{})}scheduleNavigation(_e,He,pt,Rt,ni){if(this.disposed)return Promise.resolve(!1);let Li,Ai,cn;ni?(Li=ni.resolve,Ai=ni.reject,cn=ni.promise):cn=new Promise(($n,Nr)=>{Li=$n,Ai=Nr});const Qn=this.pendingTasks.add();return Da(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Qn))}),this.navigationTransitions.handleNavigationRequest({source:He,restoredState:pt,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:_e,extras:Rt,resolve:Li,reject:Ai,promise:cn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),cn.catch($n=>Promise.reject($n))}static#e=this.\u0275fac=function(He){return new(He||pe)};static#t=this.\u0275prov=e.Yz7({token:pe,factory:pe.\u0275fac,providedIn:"root"})}return pe})(),Sr=(()=>{class pe{constructor(_e,He,pt,Rt,ni,Li){this.router=_e,this.route=He,this.tabIndexAttribute=pt,this.renderer=Rt,this.el=ni,this.locationStrategy=Li,this.href=null,this.commands=null,this.onChanges=new V.x,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const Ai=ni.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===Ai||"area"===Ai,this.isAnchorElement?this.subscription=_e.events.subscribe(cn=>{cn instanceof vi&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(_e){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",_e)}ngOnChanges(_e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(_e){null!=_e?(this.commands=Array.isArray(_e)?_e:[_e],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(_e,He,pt,Rt,ni){return!!(null===this.urlTree||this.isAnchorElement&&(0!==_e||He||pt||Rt||ni||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const _e=null===this.href?null:(0,e.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",_e)}applyAttributeValue(_e,He){const pt=this.renderer,Rt=this.el.nativeElement;null!==He?pt.setAttribute(Rt,_e,He):pt.removeAttribute(Rt,_e)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(He){return new(He||pe)(e.Y36(Bn),e.Y36(ga),e.$8M("tabindex"),e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(W.S$))};static#t=this.\u0275dir=e.lG2({type:pe,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(He,pt){1&He&&e.NdJ("click",function(ni){return pt.onClick(ni.button,ni.ctrlKey,ni.shiftKey,ni.altKey,ni.metaKey)}),2&He&&e.uIk("target",pt.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",e.VuI],skipLocationChange:["skipLocationChange","skipLocationChange",e.VuI],replaceUrl:["replaceUrl","replaceUrl",e.VuI],routerLink:"routerLink"},standalone:!0,features:[e.Xq5,e.TTD]})}return pe})(),Vc=(()=>{class pe{get isActive(){return this._isActive}constructor(_e,He,pt,Rt,ni){this.router=_e,this.element=He,this.renderer=pt,this.cdr=Rt,this.link=ni,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new e.vpe,this.routerEventsSubscription=_e.events.subscribe(Li=>{Li instanceof vi&&this.update()})}ngAfterContentInit(){(0,A.of)(this.links.changes,(0,A.of)(null)).pipe((0,N.J)()).subscribe(_e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const _e=[...this.links.toArray(),this.link].filter(He=>!!He).map(He=>He.onChanges);this.linkInputChangesSubscription=(0,y.D)(_e).pipe((0,N.J)()).subscribe(He=>{this._isActive!==this.isLinkActive(this.router)(He)&&this.update()})}set routerLinkActive(_e){const He=Array.isArray(_e)?_e:_e.split(" ");this.classes=He.filter(pt=>!!pt)}ngOnChanges(_e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const _e=this.hasActiveLinks();this._isActive!==_e&&(this._isActive=_e,this.cdr.markForCheck(),this.classes.forEach(He=>{_e?this.renderer.addClass(this.element.nativeElement,He):this.renderer.removeClass(this.element.nativeElement,He)}),_e&&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(_e))})}isLinkActive(_e){const He=function pc(pe){return!!pe.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return pt=>!!pt.urlTree&&_e.isActive(pt.urlTree,He)}hasActiveLinks(){const _e=this.isLinkActive(this.router);return this.link&&_e(this.link)||this.links.some(_e)}static#e=this.\u0275fac=function(He){return new(He||pe)(e.Y36(Bn),e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(e.sBO),e.Y36(Sr,8))};static#t=this.\u0275dir=e.lG2({type:pe,selectors:[["","routerLinkActive",""]],contentQueries:function(He,pt,Rt){if(1&He&&e.Suo(Rt,Sr,5),2&He){let ni;e.iGM(ni=e.CRH())&&(pt.links=ni)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[e.TTD]})}return pe})();class ks{}let gl=(()=>{class pe{constructor(_e,He,pt,Rt,ni){this.router=_e,this.injector=pt,this.preloadingStrategy=Rt,this.loader=ni}setUpPreloading(){this.subscription=this.router.events.pipe((0,ae.h)(_e=>_e instanceof vi),(0,Me.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(_e,He){const pt=[];for(const Rt of He){Rt.providers&&!Rt._injector&&(Rt._injector=(0,e.MMx)(Rt.providers,_e,`Route: ${Rt.path}`));const ni=Rt._injector??_e,Li=Rt._loadedInjector??ni;(Rt.loadChildren&&!Rt._loadedRoutes&&void 0===Rt.canLoad||Rt.loadComponent&&!Rt._loadedComponent)&&pt.push(this.preloadConfig(ni,Rt)),(Rt.children||Rt._loadedRoutes)&&pt.push(this.processRoutes(Li,Rt.children??Rt._loadedRoutes))}return(0,y.D)(pt).pipe((0,N.J)())}preloadConfig(_e,He){return this.preloadingStrategy.preload(He,()=>{let pt;pt=He.loadChildren&&void 0===He.canLoad?this.loader.loadChildren(_e,He):(0,A.of)(null);const Rt=pt.pipe((0,fe.z)(ni=>null===ni?(0,A.of)(void 0):(He._loadedRoutes=ni.routes,He._loadedInjector=ni.injector,this.processRoutes(ni.injector??_e,ni.routes))));if(He.loadComponent&&!He._loadedComponent){const ni=this.loader.loadComponent(He);return(0,y.D)([Rt,ni]).pipe((0,N.J)())}return Rt})}static#e=this.\u0275fac=function(He){return new(He||pe)(e.LFG(Bn),e.LFG(e.Sil),e.LFG(e.lqb),e.LFG(ks),e.LFG(Ne))};static#t=this.\u0275prov=e.Yz7({token:pe,factory:pe.\u0275fac,providedIn:"root"})}return pe})();const Bc=new e.OlP("");let $o=(()=>{class pe{constructor(_e,He,pt,Rt,ni={}){this.urlSerializer=_e,this.transitions=He,this.viewportScroller=pt,this.zone=Rt,this.options=ni,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},ni.scrollPositionRestoration=ni.scrollPositionRestoration||"disabled",ni.anchorScrolling=ni.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(_e=>{_e instanceof Kt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=_e.navigationTrigger,this.restoredId=_e.restoredState?_e.restoredState.navigationId:0):_e instanceof vi?(this.lastId=_e.id,this.scheduleScrollEvent(_e,this.urlSerializer.parse(_e.urlAfterRedirects).fragment)):_e instanceof lt&&0===_e.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(_e,this.urlSerializer.parse(_e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(_e=>{_e instanceof rn&&(_e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(_e.position):_e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(_e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(_e,He){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new rn(_e,"popstate"===this.lastSource?this.store[this.restoredId]:null,He))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(He){e.$Z()};static#t=this.\u0275prov=e.Yz7({token:pe,factory:pe.\u0275fac})}return pe})();function Fa(pe,Re){return{\u0275kind:pe,\u0275providers:Re}}function Pn(){const pe=(0,e.f3M)(e.zs3);return Re=>{const _e=pe.get(e.z2F);if(Re!==_e.components[0])return;const He=pe.get(Bn),pt=pe.get(Uo);1===pe.get(Gs)&&He.initialNavigation(),pe.get(m1,null,e.XFs.Optional)?.setUpPreloading(),pe.get(Bc,null,e.XFs.Optional)?.init(),He.resetRootComponentType(_e.componentTypes[0]),pt.closed||(pt.next(),pt.complete(),pt.unsubscribe())}}const Uo=new e.OlP("",{factory:()=>new V.x}),Gs=new e.OlP("",{providedIn:"root",factory:()=>1}),m1=new e.OlP("");function Js(pe){return Fa(0,[{provide:m1,useExisting:gl},{provide:ks,useExisting:pe}])}function bd(pe){return Fa(9,[{provide:ci,useValue:Di},{provide:Ei,useValue:{skipNextTransition:!!pe?.skipInitialTransition,...pe}}])}const or=new e.OlP("ROUTER_FORROOT_GUARD"),yl=[W.Ye,{provide:Et,useClass:ct},Bn,Ui,{provide:ga,useFactory:function Os(pe){return pe.routerState.root},deps:[Bn]},Ne,[]];let gc=(()=>{class pe{constructor(_e){}static forRoot(_e,He){return{ngModule:pe,providers:[yl,[],{provide:ti,multi:!0,useValue:_e},{provide:or,useFactory:Vr,deps:[[Bn,new e.FiY,new e.tp0]]},{provide:ut,useValue:He||{}},He?.useHash?{provide:W.S$,useClass:W.Do}:{provide:W.S$,useClass:W.b0},{provide:Bc,useFactory:()=>{const pe=(0,e.f3M)(W.EM),Re=(0,e.f3M)(e.R0b),_e=(0,e.f3M)(ut),He=(0,e.f3M)(Ji),pt=(0,e.f3M)(Et);return _e.scrollOffset&&pe.setOffset(_e.scrollOffset),new $o(pt,He,pe,Re,_e)}},He?.preloadingStrategy?Js(He.preloadingStrategy).\u0275providers:[],He?.initialNavigation?za(He):[],He?.bindToComponentInputs?Fa(8,[qr,{provide:So,useExisting:qr}]).\u0275providers:[],He?.enableViewTransitions?bd().\u0275providers:[],[{provide:_c,useFactory:Pn},{provide:e.tb,multi:!0,useExisting:_c}]]}}static forChild(_e){return{ngModule:pe,providers:[{provide:ti,multi:!0,useValue:_e}]}}static#e=this.\u0275fac=function(He){return new(He||pe)(e.LFG(or,8))};static#t=this.\u0275mod=e.oAB({type:pe});static#i=this.\u0275inj=e.cJS({})}return pe})();function Vr(pe){return"guarded"}function za(pe){return["disabled"===pe.initialNavigation?Fa(3,[{provide:e.ip1,multi:!0,useFactory:()=>{const Re=(0,e.f3M)(Bn);return()=>{Re.setUpLocationChangeListener()}}},{provide:Gs,useValue:2}]).\u0275providers:[],"enabledBlocking"===pe.initialNavigation?Fa(2,[{provide:Gs,useValue:0},{provide:e.ip1,multi:!0,deps:[e.zs3],useFactory:Re=>{const _e=Re.get(W.V_,Promise.resolve());return()=>_e.then(()=>new Promise(He=>{const pt=Re.get(Bn),Rt=Re.get(Uo);Da(pt,()=>{He(!0)}),Re.get(Ji).afterPreactivation=()=>(He(!0),Rt.closed?(0,A.of)(void 0):Rt),pt.initialNavigation()}))}}]).\u0275providers:[]]}const _c=new e.OlP("")},5597:(ze,q,p)=>{"use strict";p.d(q,{BN:()=>Is,uH:()=>ti});var e=p(9212);function t(Ne,ft){var _t=Object.keys(Ne);if(Object.getOwnPropertySymbols){var Pt=Object.getOwnPropertySymbols(Ne);ft&&(Pt=Pt.filter(function(Qt){return Object.getOwnPropertyDescriptor(Ne,Qt).enumerable})),_t.push.apply(_t,Pt)}return _t}function y(Ne){for(var ft=1;ft<arguments.length;ft++){var _t=null!=arguments[ft]?arguments[ft]:{};ft%2?t(Object(_t),!0).forEach(function(Pt){d(Ne,Pt,_t[Pt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ne,Object.getOwnPropertyDescriptors(_t)):t(Object(_t)).forEach(function(Pt){Object.defineProperty(Ne,Pt,Object.getOwnPropertyDescriptor(_t,Pt))})}return Ne}function A(Ne){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(ft){return typeof ft}:function(ft){return ft&&"function"==typeof Symbol&&ft.constructor===Symbol&&ft!==Symbol.prototype?"symbol":typeof ft})(Ne)}function m(Ne,ft){for(var _t=0;_t<ft.length;_t++){var Pt=ft[_t];Pt.enumerable=Pt.enumerable||!1,Pt.configurable=!0,"value"in Pt&&(Pt.writable=!0),Object.defineProperty(Ne,Pt.key,Pt)}}function d(Ne,ft,_t){return ft in Ne?Object.defineProperty(Ne,ft,{value:_t,enumerable:!0,configurable:!0,writable:!0}):Ne[ft]=_t,Ne}function I(Ne,ft){return function B(Ne){if(Array.isArray(Ne))return Ne}(Ne)||function j(Ne,ft){var _t=null==Ne?null:typeof Symbol<"u"&&Ne[Symbol.iterator]||Ne["@@iterator"];if(null!=_t){var ci,Ei,Pt=[],Qt=!0,di=!1;try{for(_t=_t.call(Ne);!(Qt=(ci=_t.next()).done)&&(Pt.push(ci.value),!ft||Pt.length!==ft);Qt=!0);}catch(Di){di=!0,Ei=Di}finally{try{!Qt&&null!=_t.return&&_t.return()}finally{if(di)throw Ei}}return Pt}}(Ne,ft)||K(Ne,ft)||function ae(){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 k(Ne){return function V(Ne){if(Array.isArray(Ne))return X(Ne)}(Ne)||function W(Ne){if(typeof Symbol<"u"&&null!=Ne[Symbol.iterator]||null!=Ne["@@iterator"])return Array.from(Ne)}(Ne)||K(Ne)||function ie(){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 K(Ne,ft){if(Ne){if("string"==typeof Ne)return X(Ne,ft);var _t=Object.prototype.toString.call(Ne).slice(8,-1);if("Object"===_t&&Ne.constructor&&(_t=Ne.constructor.name),"Map"===_t||"Set"===_t)return Array.from(Ne);if("Arguments"===_t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_t))return X(Ne,ft)}}function X(Ne,ft){(null==ft||ft>Ne.length)&&(ft=Ne.length);for(var _t=0,Pt=new Array(ft);_t<ft;_t++)Pt[_t]=Ne[_t];return Pt}var fe=function(){},se={},Me={},$=null,ue={mark:fe,measure:fe};try{typeof window<"u"&&(se=window),typeof document<"u"&&(Me=document),typeof MutationObserver<"u"&&($=MutationObserver),typeof performance<"u"&&(ue=performance)}catch{}var g,H,N,ee,De,n=(se.navigator||{}).userAgent,s=void 0===n?"":n,f=se,h=Me,w=$,D=ue,v=!!h.documentElement&&!!h.head&&"function"==typeof h.addEventListener&&"function"==typeof h.createElement,r=~s.indexOf("MSIE")||~s.indexOf("Trident/"),ot="___FONT_AWESOME___",Je="fa",ye="svg-inline--fa",me="data-fa-i2svg",he="data-fa-pseudo-element",xe="data-fa-pseudo-element-pending",de="data-prefix",ge="data-icon",qe="fontawesome-i2svg",oe="async",ve=["HTML","HEAD","STYLE","SCRIPT"],le=function(){try{return!0}catch{return!1}}(),Ge="classic",We="sharp",wt=[Ge,We];function mt(Ne){return new Proxy(Ne,{get:function(_t,Pt){return Pt in _t?_t[Pt]:_t[Ge]}})}var kt=mt((d(g={},Ge,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit","fa-kit":"kit"}),d(g,We,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light"}),g)),Ae=mt((d(H={},Ge,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),d(H,We,{solid:"fass",regular:"fasr",light:"fasl"}),H)),Be=mt((d(N={},Ge,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),d(N,We,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light"}),N)),it=mt((d(ee={},Ge,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),d(ee,We,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl"}),ee)),$e=/fa(s|r|l|t|d|b|k|ss|sr|sl)?[\-\ ]/,ke="fa-layers-text",st=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,Ke=mt((d(De={},Ge,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),d(De,We,{900:"fass",400:"fasr",300:"fasl"}),De)),Et=[1,2,3,4,5,6,7,8,9,10],ct=Et.concat([11,12,13,14,15,16,17,18,19,20]),te=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Pe={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},$t=new Set;Object.keys(Ae[Ge]).map($t.add.bind($t)),Object.keys(Ae[We]).map($t.add.bind($t));var Ze=[].concat(wt,k($t),["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",Pe.GROUP,Pe.SWAP_OPACITY,Pe.PRIMARY,Pe.SECONDARY]).concat(Et.map(function(Ne){return"".concat(Ne,"x")})).concat(ct.map(function(Ne){return"w-".concat(Ne)})),Qe=f.FontAwesomeConfig||{};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(Ne){var ft=I(Ne,2),Pt=ft[1],Qt=function xt(Ne){return""===Ne||"false"!==Ne&&("true"===Ne||Ne)}(function zt(Ne){var ft=h.querySelector("script["+Ne+"]");if(ft)return ft.getAttribute(Ne)}(ft[0]));null!=Qt&&(Qe[Pt]=Qt)});var yt={styleDefault:"solid",familyDefault:"classic",cssPrefix:Je,replacementClass:ye,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Qe.familyPrefix&&(Qe.cssPrefix=Qe.familyPrefix);var nt=y(y({},yt),Qe);nt.autoReplaceSvg||(nt.observeMutations=!1);var Ee={};Object.keys(yt).forEach(function(Ne){Object.defineProperty(Ee,Ne,{enumerable:!0,set:function(_t){nt[Ne]=_t,tt.forEach(function(Pt){return Pt(Ee)})},get:function(){return nt[Ne]}})}),Object.defineProperty(Ee,"familyPrefix",{enumerable:!0,set:function(ft){nt.cssPrefix=ft,tt.forEach(function(_t){return _t(Ee)})},get:function(){return nt.cssPrefix}}),f.FontAwesomeConfig=Ee;var tt=[],gt={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1},be="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function J(){for(var Ne=12,ft="";Ne-- >0;)ft+=be[62*Math.random()|0];return ft}function re(Ne){for(var ft=[],_t=(Ne||[]).length>>>0;_t--;)ft[_t]=Ne[_t];return ft}function Ie(Ne){return Ne.classList?re(Ne.classList):(Ne.getAttribute("class")||"").split(" ").filter(function(ft){return ft})}function Nt(Ne){return"".concat(Ne).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Zt(Ne){return Object.keys(Ne||{}).reduce(function(ft,_t){return ft+"".concat(_t,": ").concat(Ne[_t].trim(),";")},"")}function mi(Ne){return Ne.size!==gt.size||Ne.x!==gt.x||Ne.y!==gt.y||Ne.rotate!==gt.rotate||Ne.flipX||Ne.flipY}var Hi=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, none));\n transform: rotate(var(--fa-rotate-angle, none));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';function li(){var Ne=Je,ft=ye,_t=Ee.cssPrefix,Pt=Ee.replacementClass,Qt=Hi;if(_t!==Ne||Pt!==ft){var di=new RegExp("\\.".concat(Ne,"\\-"),"g"),ci=new RegExp("\\--".concat(Ne,"\\-"),"g"),Ei=new RegExp("\\.".concat(ft),"g");Qt=Qt.replace(di,".".concat(_t,"-")).replace(ci,"--".concat(_t,"-")).replace(Ei,".".concat(Pt))}return Qt}var hi=!1;function un(){Ee.autoAddCss&&!hi&&(function Le(Ne){if(Ne&&v){var ft=h.createElement("style");ft.setAttribute("type","text/css"),ft.innerHTML=Ne;for(var _t=h.head.childNodes,Pt=null,Qt=_t.length-1;Qt>-1;Qt--){var di=_t[Qt],ci=(di.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(ci)>-1&&(Pt=di)}h.head.insertBefore(ft,Pt)}}(li()),hi=!0)}var Qi={mixout:function(){return{dom:{css:li,insertCss:un}}},hooks:function(){return{beforeDOMElementCreation:function(){un()},beforeI2svg:function(){un()}}}},xi=f||{};xi[ot]||(xi[ot]={}),xi[ot].styles||(xi[ot].styles={}),xi[ot].hooks||(xi[ot].hooks={}),xi[ot].shims||(xi[ot].shims=[]);var sn=xi[ot],at=[],Ce=!1;function Ft(Ne){var ft=Ne.tag,_t=Ne.attributes,Pt=void 0===_t?{}:_t,Qt=Ne.children,di=void 0===Qt?[]:Qt;return"string"==typeof Ne?Nt(Ne):"<".concat(ft," ").concat(function At(Ne){return Object.keys(Ne||{}).reduce(function(ft,_t){return ft+"".concat(_t,'="').concat(Nt(Ne[_t]),'" ')},"").trim()}(Pt),">").concat(di.map(Ft).join(""),"</").concat(ft,">")}function Dt(Ne,ft,_t){if(Ne&&Ne[ft]&&Ne[ft][_t])return{prefix:ft,iconName:_t,icon:Ne[ft][_t]}}v&&((Ce=(h.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(h.readyState))||h.addEventListener("DOMContentLoaded",function Ne(){h.removeEventListener("DOMContentLoaded",Ne),Ce=1,at.map(function(ft){return ft()})}));var Ut=function(ft,_t,Pt,Qt){var Di,tn,Ji,di=Object.keys(ft),ci=di.length,Ei=void 0!==Qt?function(ft,_t){return function(Pt,Qt,di,ci){return ft.call(_t,Pt,Qt,di,ci)}}(_t,Qt):_t;for(void 0===Pt?(Di=1,Ji=ft[di[0]]):(Di=0,Ji=Pt);Di<ci;Di++)Ji=Ei(Ji,ft[tn=di[Di]],tn,ft);return Ji};function _i(Ne){var ft=function ai(Ne){for(var ft=[],_t=0,Pt=Ne.length;_t<Pt;){var Qt=Ne.charCodeAt(_t++);if(Qt>=55296&&Qt<=56319&&_t<Pt){var di=Ne.charCodeAt(_t++);56320==(64512&di)?ft.push(((1023&Qt)<<10)+(1023&di)+65536):(ft.push(Qt),_t--)}else ft.push(Qt)}return ft}(Ne);return 1===ft.length?ft[0].toString(16):null}function Oi(Ne){return Object.keys(Ne).reduce(function(ft,_t){var Pt=Ne[_t];return Pt.icon?ft[Pt.iconName]=Pt.icon:ft[_t]=Pt,ft},{})}function Bi(Ne,ft){var Pt=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,Qt=void 0!==Pt&&Pt,di=Oi(ft);"function"!=typeof sn.hooks.addPack||Qt?sn.styles[Ne]=y(y({},sn.styles[Ne]||{}),di):sn.hooks.addPack(Ne,Oi(ft)),"fas"===Ne&&Bi("fa",ft)}var Kt,vi,ne,lt=sn.styles,Oe=sn.shims,Ct=(d(Kt={},Ge,Object.values(Be[Ge])),d(Kt,We,Object.values(Be[We])),Kt),Ht=null,Ii={},gn={},qn={},hn={},pr={},ia=(d(vi={},Ge,Object.keys(kt[Ge])),d(vi,We,Object.keys(kt[We])),vi);var Gi=function(){var ft=function(di){return Ut(lt,function(ci,Ei,Di){return ci[Di]=Ut(Ei,di,{}),ci},{})};Ii=ft(function(Qt,di,ci){return di[3]&&(Qt[di[3]]=ci),di[2]&&di[2].filter(function(Di){return"number"==typeof Di}).forEach(function(Di){Qt[Di.toString(16)]=ci}),Qt}),gn=ft(function(Qt,di,ci){return Qt[ci]=ci,di[2]&&di[2].filter(function(Di){return"string"==typeof Di}).forEach(function(Di){Qt[Di]=ci}),Qt}),pr=ft(function(Qt,di,ci){var Ei=di[2];return Qt[ci]=ci,Ei.forEach(function(Di){Qt[Di]=ci}),Qt});var _t="far"in lt||Ee.autoFetchSvg,Pt=Ut(Oe,function(Qt,di){var ci=di[0],Ei=di[1],Di=di[2];return"far"===Ei&&!_t&&(Ei="fas"),"string"==typeof ci&&(Qt.names[ci]={prefix:Ei,iconName:Di}),"number"==typeof ci&&(Qt.unicodes[ci.toString(16)]={prefix:Ei,iconName:Di}),Qt},{names:{},unicodes:{}});qn=Pt.names,hn=Pt.unicodes,Ht=xn(Ee.styleDefault,{family:Ee.familyDefault})};function rn(Ne,ft){return(Ii[Ne]||{})[ft]}function wi(Ne,ft){return(pr[Ne]||{})[ft]}function pi(Ne){return qn[Ne]||{prefix:null,iconName:null}}function Ui(){return Ht}(function Ue(Ne){tt.push(Ne)})(function(Ne){Ht=xn(Ne.styleDefault,{family:Ee.familyDefault})}),Gi();var $i=function(){return{prefix:null,iconName:null,rest:[]}};function xn(Ne){var _t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).family,Pt=void 0===_t?Ge:_t;return Ae[Pt][Ne]||Ae[Pt][kt[Pt][Ne]]||(Ne in sn.styles?Ne:null)||null}var jn=(d(ne={},Ge,Object.keys(Be[Ge])),d(ne,We,Object.keys(Be[We])),ne);function Hn(Ne){var ft,Pt=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,Qt=void 0!==Pt&&Pt,di=(d(ft={},Ge,"".concat(Ee.cssPrefix,"-").concat(Ge)),d(ft,We,"".concat(Ee.cssPrefix,"-").concat(We)),ft),ci=null,Ei=Ge;(Ne.includes(di[Ge])||Ne.some(function(tn){return jn[Ge].includes(tn)}))&&(Ei=Ge),(Ne.includes(di[We])||Ne.some(function(tn){return jn[We].includes(tn)}))&&(Ei=We);var Di=Ne.reduce(function(tn,Ji){var fn=function Qr(Ne,ft){var _t=ft.split("-"),Pt=_t[0],Qt=_t.slice(1).join("-");return Pt!==Ne||""===Qt||function Dr(Ne){return~Ze.indexOf(Ne)}(Qt)?null:Qt}(Ee.cssPrefix,Ji);if(lt[Ji]?(Ji=Ct[Ei].includes(Ji)?it[Ei][Ji]:Ji,ci=Ji,tn.prefix=Ji):ia[Ei].indexOf(Ji)>-1?(ci=Ji,tn.prefix=xn(Ji,{family:Ei})):fn?tn.iconName=fn:Ji!==Ee.replacementClass&&Ji!==di[Ge]&&Ji!==di[We]&&tn.rest.push(Ji),!Qt&&tn.prefix&&tn.iconName){var Tn="fa"===ci?pi(tn.iconName):{},Fn=wi(tn.prefix,tn.iconName);Tn.prefix&&(ci=null),tn.iconName=Tn.iconName||Fn||tn.iconName,tn.prefix=Tn.prefix||tn.prefix,"far"===tn.prefix&&!lt.far&&lt.fas&&!Ee.autoFetchSvg&&(tn.prefix="fas")}return tn},$i());return(Ne.includes("fa-brands")||Ne.includes("fab"))&&(Di.prefix="fab"),(Ne.includes("fa-duotone")||Ne.includes("fad"))&&(Di.prefix="fad"),!Di.prefix&&Ei===We&&(lt.fass||Ee.autoFetchSvg)&&(Di.prefix="fass",Di.iconName=wi(Di.prefix,Di.iconName)||Di.iconName),("fa"===Di.prefix||"fa"===ci)&&(Di.prefix=Ui()||"fas"),Di}var Er=function(){function Ne(){(function x(Ne,ft){if(!(Ne instanceof ft))throw new TypeError("Cannot call a class as a function")})(this,Ne),this.definitions={}}return function P(Ne,ft,_t){ft&&m(Ne.prototype,ft),_t&&m(Ne,_t),Object.defineProperty(Ne,"prototype",{writable:!1})}(Ne,[{key:"add",value:function(){for(var _t=this,Pt=arguments.length,Qt=new Array(Pt),di=0;di<Pt;di++)Qt[di]=arguments[di];var ci=Qt.reduce(this._pullDefinitions,{});Object.keys(ci).forEach(function(Ei){_t.definitions[Ei]=y(y({},_t.definitions[Ei]||{}),ci[Ei]),Bi(Ei,ci[Ei]);var Di=Be[Ge][Ei];Di&&Bi(Di,ci[Ei]),Gi()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(_t,Pt){var Qt=Pt.prefix&&Pt.iconName&&Pt.icon?{0:Pt}:Pt;return Object.keys(Qt).map(function(di){var ci=Qt[di],Ei=ci.prefix,Di=ci.iconName,tn=ci.icon,Ji=tn[2];_t[Ei]||(_t[Ei]={}),Ji.length>0&&Ji.forEach(function(fn){"string"==typeof fn&&(_t[Ei][fn]=tn)}),_t[Ei][Di]=tn}),_t}}]),Ne}(),tr=[],Cr={},sa={},ga=Object.keys(sa);function Ua(Ne,ft){for(var _t=arguments.length,Pt=new Array(_t>2?_t-2:0),Qt=2;Qt<_t;Qt++)Pt[Qt-2]=arguments[Qt];return(Cr[Ne]||[]).forEach(function(ci){ft=ci.apply(null,[ft].concat(Pt))}),ft}function gr(Ne){for(var ft=arguments.length,_t=new Array(ft>1?ft-1:0),Pt=1;Pt<ft;Pt++)_t[Pt-1]=arguments[Pt];(Cr[Ne]||[]).forEach(function(di){di.apply(null,_t)})}function Lr(){var Ne=arguments[0],ft=Array.prototype.slice.call(arguments,1);return sa[Ne]?sa[Ne].apply(null,ft):void 0}function Kn(Ne){"fa"===Ne.prefix&&(Ne.prefix="fas");var ft=Ne.iconName,_t=Ne.prefix||Ui();if(ft)return ft=wi(_t,ft)||ft,Dt(_a.definitions,_t,ft)||Dt(sn.styles,_t,ft)}var _a=new Er,va={i2svg:function(){var ft=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return v?(gr("beforeI2svg",ft),Lr("pseudoElements2svg",ft),Lr("i2svg",ft)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var ft=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},_t=ft.autoReplaceSvgRoot;!1===Ee.autoReplaceSvg&&(Ee.autoReplaceSvg=!0),Ee.observeMutations=!0,function St(Ne){v&&(Ce?setTimeout(Ne,0):at.push(Ne))}(function(){So({autoReplaceSvgRoot:_t}),gr("watch",ft)})}},la={noAuto:function(){Ee.autoReplaceSvg=!1,Ee.observeMutations=!1,gr("noAuto")},config:Ee,dom:va,parse:{icon:function(ft){if(null===ft)return null;if("object"===A(ft)&&ft.prefix&&ft.iconName)return{prefix:ft.prefix,iconName:wi(ft.prefix,ft.iconName)||ft.iconName};if(Array.isArray(ft)&&2===ft.length){var _t=0===ft[1].indexOf("fa-")?ft[1].slice(3):ft[1],Pt=xn(ft[0]);return{prefix:Pt,iconName:wi(Pt,_t)||_t}}if("string"==typeof ft&&(ft.indexOf("".concat(Ee.cssPrefix,"-"))>-1||ft.match($e))){var Qt=Hn(ft.split(" "),{skipLookups:!0});return{prefix:Qt.prefix||Ui(),iconName:wi(Qt.prefix,Qt.iconName)||Qt.iconName}}if("string"==typeof ft){var di=Ui();return{prefix:di,iconName:wi(di,ft)||ft}}}},library:_a,findIconDefinition:Kn,toHtml:Ft},So=function(){var _t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,Pt=void 0===_t?h:_t;(Object.keys(sn.styles).length>0||Ee.autoFetchSvg)&&v&&Ee.autoReplaceSvg&&la.dom.i2svg({node:Pt})};function qr(Ne,ft){return Object.defineProperty(Ne,"abstract",{get:ft}),Object.defineProperty(Ne,"html",{get:function(){return Ne.abstract.map(function(Pt){return Ft(Pt)})}}),Object.defineProperty(Ne,"node",{get:function(){if(v){var Pt=h.createElement("div");return Pt.innerHTML=Ne.html,Pt.children}}}),Ne}function fr(Ne){var ft=Ne.icons,_t=ft.main,Pt=ft.mask,Qt=Ne.prefix,di=Ne.iconName,ci=Ne.transform,Ei=Ne.symbol,Di=Ne.title,tn=Ne.maskId,Ji=Ne.titleId,fn=Ne.extra,Tn=Ne.watchable,Fn=void 0!==Tn&&Tn,Ar=Pt.found?Pt:_t,zr=Ar.width,fa=Ar.height,aa="fak"===Qt,Da=[Ee.replacementClass,di?"".concat(Ee.cssPrefix,"-").concat(di):""].filter(function(Sr){return-1===fn.classes.indexOf(Sr)}).filter(function(Sr){return""!==Sr||!!Sr}).concat(fn.classes).join(" "),Rr={children:[],attributes:y(y({},fn.attributes),{},{"data-prefix":Qt,"data-icon":di,class:Da,role:fn.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(zr," ").concat(fa)})},Lo=aa&&!~fn.classes.indexOf("fa-fw")?{width:"".concat(zr/fa*16*.0625,"em")}:{};Fn&&(Rr.attributes[me]=""),Di&&(Rr.children.push({tag:"title",attributes:{id:Rr.attributes["aria-labelledby"]||"title-".concat(Ji||J())},children:[Di]}),delete Rr.attributes.title);var Ja=y(y({},Rr),{},{prefix:Qt,iconName:di,main:_t,mask:Pt,maskId:tn,transform:ci,symbol:Ei,styles:y(y({},Lo),fn.styles)}),Bn=Pt.found&&_t.found?Lr("generateAbstractMask",Ja)||{children:[],attributes:{}}:Lr("generateAbstractIcon",Ja)||{children:[],attributes:{}},bs=Bn.attributes;return Ja.children=Bn.children,Ja.attributes=bs,Ei?function Or(Ne){var _t=Ne.iconName,Pt=Ne.children,Qt=Ne.attributes,di=Ne.symbol,ci=!0===di?"".concat(Ne.prefix,"-").concat(Ee.cssPrefix,"-").concat(_t):di;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:y(y({},Qt),{},{id:ci}),children:Pt}]}]}(Ja):function Ma(Ne){var ft=Ne.children,_t=Ne.main,Pt=Ne.mask,Qt=Ne.attributes,di=Ne.styles,ci=Ne.transform;if(mi(ci)&&_t.found&&!Pt.found){var tn={x:_t.width/_t.height/2,y:.5};Qt.style=Zt(y(y({},di),{},{"transform-origin":"".concat(tn.x+ci.x/16,"em ").concat(tn.y+ci.y/16,"em")}))}return[{tag:"svg",attributes:Qt,children:ft}]}(Ja)}function Gn(Ne){var ft=Ne.content,_t=Ne.width,Pt=Ne.height,Qt=Ne.transform,di=Ne.title,ci=Ne.extra,Ei=Ne.watchable,Di=void 0!==Ei&&Ei,tn=y(y(y({},ci.attributes),di?{title:di}:{}),{},{class:ci.classes.join(" ")});Di&&(tn[me]="");var Ji=y({},ci.styles);mi(Qt)&&(Ji.transform=function Xt(Ne){var ft=Ne.transform,_t=Ne.width,Qt=Ne.height,di=void 0===Qt?16:Qt,ci=Ne.startCentered,Ei=void 0!==ci&&ci,Di="";return Di+=Ei&&r?"translate(".concat(ft.x/16-(void 0===_t?16:_t)/2,"em, ").concat(ft.y/16-di/2,"em) "):Ei?"translate(calc(-50% + ".concat(ft.x/16,"em), calc(-50% + ").concat(ft.y/16,"em)) "):"translate(".concat(ft.x/16,"em, ").concat(ft.y/16,"em) "),(Di+="scale(".concat(ft.size/16*(ft.flipX?-1:1),", ").concat(ft.size/16*(ft.flipY?-1:1),") "))+"rotate(".concat(ft.rotate,"deg) ")}({transform:Qt,startCentered:!0,width:_t,height:Pt}),Ji["-webkit-transform"]=Ji.transform);var fn=Zt(Ji);fn.length>0&&(tn.style=fn);var Tn=[];return Tn.push({tag:"span",attributes:tn,children:[ft]}),di&&Tn.push({tag:"span",attributes:{class:"sr-only"},children:[di]}),Tn}var io=sn.styles;function Tr(Ne){var ft=Ne[0],_t=Ne[1],di=I(Ne.slice(4),1)[0];return{found:!0,width:ft,height:_t,icon:Array.isArray(di)?{tag:"g",attributes:{class:"".concat(Ee.cssPrefix,"-").concat(Pe.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Ee.cssPrefix,"-").concat(Pe.SECONDARY),fill:"currentColor",d:di[0]}},{tag:"path",attributes:{class:"".concat(Ee.cssPrefix,"-").concat(Pe.PRIMARY),fill:"currentColor",d:di[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:di}}}}var qo={found:!1,width:512,height:512};function Na(Ne,ft){var _t=ft;return"fa"===ft&&null!==Ee.styleDefault&&(ft=Ui()),new Promise(function(Pt,Qt){if(Lr("missingIconAbstract"),"fa"===_t){var ci=pi(Ne)||{};Ne=ci.iconName||Ne,ft=ci.prefix||ft}if(Ne&&ft&&io[ft]&&io[ft][Ne])return Pt(Tr(io[ft][Ne]));(function na(Ne,ft){!le&&!Ee.showMissingIcons&&Ne&&console.error('Icon with name "'.concat(Ne,'" and prefix "').concat(ft,'" is missing.'))})(Ne,ft),Pt(y(y({},qo),{},{icon:Ee.showMissingIcons&&Ne&&Lr("missingIconAbstract")||{}}))})}var Ha=function(){},go=Ee.measurePerformance&&D&&D.mark&&D.measure?D:{mark:Ha,measure:Ha},no='FA "6.4.2"',_o=function(ft){go.mark("".concat(no," ").concat(ft," ends")),go.measure("".concat(no," ").concat(ft),"".concat(no," ").concat(ft," begins"),"".concat(no," ").concat(ft," ends"))},Xr={begin:function(ft){return go.mark("".concat(no," ").concat(ft," begins")),function(){return _o(ft)}},end:_o},da=function(){};function ba(Ne){return"string"==typeof(Ne.getAttribute?Ne.getAttribute(me):null)}function vs(Ne){return h.createElementNS("http://www.w3.org/2000/svg",Ne)}function ro(Ne){return h.createElement(Ne)}function To(Ne){var _t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,Pt=void 0===_t?"svg"===Ne.tag?vs:ro:_t;if("string"==typeof Ne)return h.createTextNode(Ne);var Qt=Pt(Ne.tag);return Object.keys(Ne.attributes||[]).forEach(function(ci){Qt.setAttribute(ci,Ne.attributes[ci])}),(Ne.children||[]).forEach(function(ci){Qt.appendChild(To(ci,{ceFn:Pt}))}),Qt}var ao={replace:function(ft){var _t=ft[0];if(_t.parentNode)if(ft[1].forEach(function(Qt){_t.parentNode.insertBefore(To(Qt),_t)}),null===_t.getAttribute(me)&&Ee.keepOriginalSource){var Pt=h.createComment(function Xa(Ne){var ft=" ".concat(Ne.outerHTML," ");return"".concat(ft,"Font Awesome fontawesome.com ")}(_t));_t.parentNode.replaceChild(Pt,_t)}else _t.remove()},nest:function(ft){var _t=ft[0],Pt=ft[1];if(~Ie(_t).indexOf(Ee.replacementClass))return ao.replace(ft);var Qt=new RegExp("".concat(Ee.cssPrefix,"-.*"));if(delete Pt[0].attributes.id,Pt[0].attributes.class){var di=Pt[0].attributes.class.split(" ").reduce(function(Ei,Di){return Di===Ee.replacementClass||Di.match(Qt)?Ei.toSvg.push(Di):Ei.toNode.push(Di),Ei},{toNode:[],toSvg:[]});Pt[0].attributes.class=di.toSvg.join(" "),0===di.toNode.length?_t.removeAttribute("class"):_t.setAttribute("class",di.toNode.join(" "))}var ci=Pt.map(function(Ei){return Ft(Ei)}).join("\n");_t.setAttribute(me,""),_t.innerHTML=ci}};function Wr(Ne){Ne()}function Fo(Ne,ft){var _t="function"==typeof ft?ft:da;if(0===Ne.length)_t();else{var Pt=Wr;Ee.mutateApproach===oe&&(Pt=f.requestAnimationFrame||Wr),Pt(function(){var Qt=function Jr(){return!0===Ee.autoReplaceSvg?ao.replace:ao[Ee.autoReplaceSvg]||ao.replace}(),di=Xr.begin("mutate");Ne.map(Qt),di(),_t()})}}var vo=!1;function Ao(){vo=!0}function Vt(){vo=!1}var Ti=null;function Mt(Ne){if(w&&Ee.observeMutations){var ft=Ne.treeCallback,_t=void 0===ft?da:ft,Pt=Ne.nodeCallback,Qt=void 0===Pt?da:Pt,di=Ne.pseudoElementsCallback,ci=void 0===di?da:di,Ei=Ne.observeMutationsRoot,Di=void 0===Ei?h:Ei;Ti=new w(function(tn){if(!vo){var Ji=Ui();re(tn).forEach(function(fn){if("childList"===fn.type&&fn.addedNodes.length>0&&!ba(fn.addedNodes[0])&&(Ee.searchPseudoElements&&ci(fn.target),_t(fn.target)),"attributes"===fn.type&&fn.target.parentNode&&Ee.searchPseudoElements&&ci(fn.target.parentNode),"attributes"===fn.type&&ba(fn.target)&&~te.indexOf(fn.attributeName))if("class"===fn.attributeName&&function Ho(Ne){var ft=Ne.getAttribute?Ne.getAttribute(de):null,_t=Ne.getAttribute?Ne.getAttribute(ge):null;return ft&&_t}(fn.target)){var Tn=Hn(Ie(fn.target)),Ar=Tn.iconName;fn.target.setAttribute(de,Tn.prefix||Ji),Ar&&fn.target.setAttribute(ge,Ar)}else(function Za(Ne){return Ne&&Ne.classList&&Ne.classList.contains&&Ne.classList.contains(Ee.replacementClass)})(fn.target)&&Qt(fn.target)})}}),v&&Ti.observe(Di,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Yr(Ne){var ft=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},_t=function Zi(Ne){var ft=Ne.getAttribute("data-prefix"),_t=Ne.getAttribute("data-icon"),Pt=void 0!==Ne.innerText?Ne.innerText.trim():"",Qt=Hn(Ie(Ne));return Qt.prefix||(Qt.prefix=Ui()),ft&&_t&&(Qt.prefix=ft,Qt.iconName=_t),Qt.iconName&&Qt.prefix||(Qt.prefix&&Pt.length>0&&(Qt.iconName=function jt(Ne,ft){return(gn[Ne]||{})[ft]}(Qt.prefix,Ne.innerText)||rn(Qt.prefix,_i(Ne.innerText))),!Qt.iconName&&Ee.autoFetchSvg&&Ne.firstChild&&Ne.firstChild.nodeType===Node.TEXT_NODE&&(Qt.iconName=Ne.firstChild.data)),Qt}(Ne),Pt=_t.iconName,Qt=_t.prefix,di=_t.rest,ci=function rr(Ne){var ft=re(Ne.attributes).reduce(function(Qt,di){return"class"!==Qt.name&&"style"!==Qt.name&&(Qt[di.name]=di.value),Qt},{}),_t=Ne.getAttribute("title"),Pt=Ne.getAttribute("data-fa-title-id");return Ee.autoA11y&&(_t?ft["aria-labelledby"]="".concat(Ee.replacementClass,"-title-").concat(Pt||J()):(ft["aria-hidden"]="true",ft.focusable="false")),ft}(Ne),Ei=Ua("parseNodeAttributes",{},Ne),Di=ft.styleParser?function Si(Ne){var ft=Ne.getAttribute("style"),_t=[];return ft&&(_t=ft.split(";").reduce(function(Pt,Qt){var di=Qt.split(":"),ci=di[0],Ei=di.slice(1);return ci&&Ei.length>0&&(Pt[ci]=Ei.join(":").trim()),Pt},{})),_t}(Ne):[];return y({iconName:Pt,title:Ne.getAttribute("title"),titleId:Ne.getAttribute("data-fa-title-id"),prefix:Qt,transform:gt,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:di,styles:Di,attributes:ci}},Ei)}var on=sn.styles;function Wa(Ne){var ft="nest"===Ee.autoReplaceSvg?Yr(Ne,{styleParser:!1}):Yr(Ne);return~ft.extra.classes.indexOf(ke)?Lr("generateLayersText",Ne,ft):Lr("generateSvgReplacementMutation",Ne,ft)}var ht=new Set;function bt(Ne){var ft=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!v)return Promise.resolve();var _t=h.documentElement.classList,Pt=function(fn){return _t.add("".concat(qe,"-").concat(fn))},Qt=function(fn){return _t.remove("".concat(qe,"-").concat(fn))},di=Ee.autoFetchSvg?ht:wt.map(function(Ji){return"fa-".concat(Ji)}).concat(Object.keys(on));di.includes("fa")||di.push("fa");var ci=[".".concat(ke,":not([").concat(me,"])")].concat(di.map(function(Ji){return".".concat(Ji,":not([").concat(me,"])")})).join(", ");if(0===ci.length)return Promise.resolve();var Ei=[];try{Ei=re(Ne.querySelectorAll(ci))}catch{}if(!(Ei.length>0))return Promise.resolve();Pt("pending"),Qt("complete");var Di=Xr.begin("onTree"),tn=Ei.reduce(function(Ji,fn){try{var Tn=Wa(fn);Tn&&Ji.push(Tn)}catch(Fn){le||"MissingIcon"===Fn.name&&console.error(Fn)}return Ji},[]);return new Promise(function(Ji,fn){Promise.all(tn).then(function(Tn){Fo(Tn,function(){Pt("active"),Pt("complete"),Qt("pending"),"function"==typeof ft&&ft(),Di(),Ji()})}).catch(function(Tn){Di(),fn(Tn)})})}function Ve(Ne){var ft=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Wa(Ne).then(function(_t){_t&&Fo([_t],ft)})}wt.map(function(Ne){ht.add("fa-".concat(Ne))}),Object.keys(kt[Ge]).map(ht.add.bind(ht)),Object.keys(kt[We]).map(ht.add.bind(ht)),ht=k(ht);var qt=function(ft){var _t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Pt=_t.transform,Qt=void 0===Pt?gt:Pt,di=_t.symbol,ci=void 0!==di&&di,Ei=_t.mask,Di=void 0===Ei?null:Ei,tn=_t.maskId,Ji=void 0===tn?null:tn,fn=_t.title,Tn=void 0===fn?null:fn,Fn=_t.titleId,Ar=void 0===Fn?null:Fn,zr=_t.classes,fa=void 0===zr?[]:zr,aa=_t.attributes,Da=void 0===aa?{}:aa,Rr=_t.styles,Lo=void 0===Rr?{}:Rr;if(ft){var Ja=ft.prefix,Bn=ft.iconName,Jo=ft.icon;return qr(y({type:"icon"},ft),function(){return gr("beforeDOMElementCreation",{iconDefinition:ft,params:_t}),Ee.autoA11y&&(Tn?Da["aria-labelledby"]="".concat(Ee.replacementClass,"-title-").concat(Ar||J()):(Da["aria-hidden"]="true",Da.focusable="false")),fr({icons:{main:Tr(Jo),mask:Di?Tr(Di.icon):{found:!1,width:null,height:null,icon:{}}},prefix:Ja,iconName:Bn,transform:y(y({},gt),Qt),symbol:ci,title:Tn,maskId:Ji,titleId:Ar,extra:{attributes:Da,styles:Lo,classes:fa}})})}},Fi={mixout:function(){return{icon:(Ne=qt,function(ft){var _t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Pt=(ft||{}).icon?ft:Kn(ft||{}),Qt=_t.mask;return Qt&&(Qt=(Qt||{}).icon?Qt:Kn(Qt||{})),Ne(Pt,y(y({},_t),{},{mask:Qt}))})};var Ne},hooks:function(){return{mutationObserverCallbacks:function(_t){return _t.treeCallback=bt,_t.nodeCallback=Ve,_t}}},provides:function(ft){ft.i2svg=function(_t){var Pt=_t.node,di=_t.callback;return bt(void 0===Pt?h:Pt,void 0===di?function(){}:di)},ft.generateSvgReplacementMutation=function(_t,Pt){var Qt=Pt.iconName,di=Pt.title,ci=Pt.titleId,Ei=Pt.prefix,Di=Pt.transform,tn=Pt.symbol,Ji=Pt.mask,fn=Pt.maskId,Tn=Pt.extra;return new Promise(function(Fn,Ar){Promise.all([Na(Qt,Ei),Ji.iconName?Na(Ji.iconName,Ji.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(zr){var fa=I(zr,2);Fn([_t,fr({icons:{main:fa[0],mask:fa[1]},prefix:Ei,iconName:Qt,transform:Di,symbol:tn,maskId:fn,title:di,titleId:ci,extra:Tn,watchable:!0})])}).catch(Ar)})},ft.generateAbstractIcon=function(_t){var tn,Pt=_t.children,Qt=_t.attributes,di=_t.main,ci=_t.transform,Di=Zt(_t.styles);return Di.length>0&&(Qt.style=Di),mi(ci)&&(tn=Lr("generateAbstractTransformGrouping",{main:di,transform:ci,containerWidth:di.width,iconWidth:di.width})),Pt.push(tn||di.icon),{children:Pt,attributes:Qt}}}},Cn={mixout:function(){return{layer:function(_t){var Pt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Qt=Pt.classes,di=void 0===Qt?[]:Qt;return qr({type:"layer"},function(){gr("beforeDOMElementCreation",{assembler:_t,params:Pt});var ci=[];return _t(function(Ei){Array.isArray(Ei)?Ei.map(function(Di){ci=ci.concat(Di.abstract)}):ci=ci.concat(Ei.abstract)}),[{tag:"span",attributes:{class:["".concat(Ee.cssPrefix,"-layers")].concat(k(di)).join(" ")},children:ci}]})}}}},Mr={mixout:function(){return{counter:function(_t){var Pt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Qt=Pt.title,di=void 0===Qt?null:Qt,ci=Pt.classes,Ei=void 0===ci?[]:ci,Di=Pt.attributes,tn=void 0===Di?{}:Di,Ji=Pt.styles,fn=void 0===Ji?{}:Ji;return qr({type:"counter",content:_t},function(){return gr("beforeDOMElementCreation",{content:_t,params:Pt}),function Sa(Ne){var ft=Ne.content,_t=Ne.title,Pt=Ne.extra,Qt=y(y(y({},Pt.attributes),_t?{title:_t}:{}),{},{class:Pt.classes.join(" ")}),di=Zt(Pt.styles);di.length>0&&(Qt.style=di);var ci=[];return ci.push({tag:"span",attributes:Qt,children:[ft]}),_t&&ci.push({tag:"span",attributes:{class:"sr-only"},children:[_t]}),ci}({content:_t.toString(),title:di,extra:{attributes:tn,styles:fn,classes:["".concat(Ee.cssPrefix,"-layers-counter")].concat(k(Ei))}})})}}}},Ea={mixout:function(){return{text:function(_t){var Pt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Qt=Pt.transform,di=void 0===Qt?gt:Qt,ci=Pt.title,Ei=void 0===ci?null:ci,Di=Pt.classes,tn=void 0===Di?[]:Di,Ji=Pt.attributes,fn=void 0===Ji?{}:Ji,Tn=Pt.styles,Fn=void 0===Tn?{}:Tn;return qr({type:"text",content:_t},function(){return gr("beforeDOMElementCreation",{content:_t,params:Pt}),Gn({content:_t,transform:y(y({},gt),di),title:Ei,extra:{attributes:fn,styles:Fn,classes:["".concat(Ee.cssPrefix,"-layers-text")].concat(k(tn))}})})}}},provides:function(ft){ft.generateLayersText=function(_t,Pt){var Qt=Pt.title,di=Pt.transform,ci=Pt.extra,Ei=null,Di=null;if(r){var tn=parseInt(getComputedStyle(_t).fontSize,10),Ji=_t.getBoundingClientRect();Ei=Ji.width/tn,Di=Ji.height/tn}return Ee.autoA11y&&!Qt&&(ci.attributes["aria-hidden"]="true"),Promise.resolve([_t,Gn({content:_t.innerHTML,width:Ei,height:Di,transform:di,title:Qt,extra:ci,watchable:!0})])}}},bo=new RegExp('"',"ug"),Vn=[1105920,1112319];function oo(Ne,ft){var _t="".concat(xe).concat(ft.replace(":","-"));return new Promise(function(Pt,Qt){if(null!==Ne.getAttribute(_t))return Pt();var ci=re(Ne.children).filter(function(Jo){return Jo.getAttribute(he)===ft})[0],Ei=f.getComputedStyle(Ne,ft),Di=Ei.getPropertyValue("font-family").match(st),tn=Ei.getPropertyValue("font-weight"),Ji=Ei.getPropertyValue("content");if(ci&&!Di)return Ne.removeChild(ci),Pt();if(Di&&"none"!==Ji&&""!==Ji){var fn=Ei.getPropertyValue("content"),Tn=~["Sharp"].indexOf(Di[2])?We:Ge,Fn=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(Di[2])?Ae[Tn][Di[2].toLowerCase()]:Ke[Tn][tn],Ar=function zi(Ne){var ft=Ne.replace(bo,""),_t=function bi(Ne,ft){var Qt,_t=Ne.length,Pt=Ne.charCodeAt(ft);return Pt>=55296&&Pt<=56319&&_t>ft+1&&(Qt=Ne.charCodeAt(ft+1))>=56320&&Qt<=57343?1024*(Pt-55296)+Qt-56320+65536:Pt}(ft,0),Pt=_t>=Vn[0]&&_t<=Vn[1],Qt=2===ft.length&&ft[0]===ft[1];return{value:_i(Qt?ft[0]:ft),isSecondary:Pt||Qt}}(fn),zr=Ar.value,fa=Ar.isSecondary,aa=Di[0].startsWith("FontAwesome"),Da=rn(Fn,zr),Rr=Da;if(aa){var Lo=function yi(Ne){var ft=hn[Ne],_t=rn("fas",Ne);return ft||(_t?{prefix:"fas",iconName:_t}:null)||{prefix:null,iconName:null}}(zr);Lo.iconName&&Lo.prefix&&(Da=Lo.iconName,Fn=Lo.prefix)}if(!Da||fa||ci&&ci.getAttribute(de)===Fn&&ci.getAttribute(ge)===Rr)Pt();else{Ne.setAttribute(_t,Rr),ci&&Ne.removeChild(ci);var Ja=function cr(){return{iconName:null,title:null,titleId:null,prefix:null,transform:gt,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}(),Bn=Ja.extra;Bn.attributes[he]=ft,Na(Da,Fn).then(function(Jo){var bs=fr(y(y({},Ja),{},{icons:{main:Jo,mask:$i()},prefix:Fn,iconName:Rr,extra:Bn,watchable:!0})),Sr=h.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===ft?Ne.insertBefore(Sr,Ne.firstChild):Ne.appendChild(Sr),Sr.outerHTML=bs.map(function(Vc){return Ft(Vc)}).join("\n"),Ne.removeAttribute(_t),Pt()}).catch(Qt)}}else Pt()})}function Ln(Ne){return Promise.all([oo(Ne,"::before"),oo(Ne,"::after")])}function Yi(Ne){return!(Ne.parentNode===document.head||~ve.indexOf(Ne.tagName.toUpperCase())||Ne.getAttribute(he)||Ne.parentNode&&"svg"===Ne.parentNode.tagName)}function Ts(Ne){if(v)return new Promise(function(ft,_t){var Pt=re(Ne.querySelectorAll("*")).filter(Yi).map(Ln),Qt=Xr.begin("searchPseudoElements");Ao(),Promise.all(Pt).then(function(){Qt(),Vt(),ft()}).catch(function(){Qt(),Vt(),_t()})})}var br=!1,Ya=function(ft){return ft.toLowerCase().split(" ").reduce(function(Pt,Qt){var di=Qt.toLowerCase().split("-"),ci=di[0],Ei=di.slice(1).join("-");if(ci&&"h"===Ei)return Pt.flipX=!0,Pt;if(ci&&"v"===Ei)return Pt.flipY=!0,Pt;if(Ei=parseFloat(Ei),isNaN(Ei))return Pt;switch(ci){case"grow":Pt.size=Pt.size+Ei;break;case"shrink":Pt.size=Pt.size-Ei;break;case"left":Pt.x=Pt.x-Ei;break;case"right":Pt.x=Pt.x+Ei;break;case"up":Pt.y=Pt.y-Ei;break;case"down":Pt.y=Pt.y+Ei;break;case"rotate":Pt.rotate=Pt.rotate+Ei}return Pt},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},ha={x:0,y:0,width:"100%",height:"100%"};function As(Ne){return Ne.attributes&&(Ne.attributes.fill||!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&(Ne.attributes.fill="black"),Ne}!function ca(Ne,ft){var _t=ft.mixoutsTo;tr=Ne,Cr={},Object.keys(sa).forEach(function(Pt){-1===ga.indexOf(Pt)&&delete sa[Pt]}),tr.forEach(function(Pt){var Qt=Pt.mixout?Pt.mixout():{};if(Object.keys(Qt).forEach(function(ci){"function"==typeof Qt[ci]&&(_t[ci]=Qt[ci]),"object"===A(Qt[ci])&&Object.keys(Qt[ci]).forEach(function(Ei){_t[ci]||(_t[ci]={}),_t[ci][Ei]=Qt[ci][Ei]})}),Pt.hooks){var di=Pt.hooks();Object.keys(di).forEach(function(ci){Cr[ci]||(Cr[ci]=[]),Cr[ci].push(di[ci])})}Pt.provides&&Pt.provides(sa)})}([Qi,Fi,Cn,Mr,Ea,{hooks:function(){return{mutationObserverCallbacks:function(_t){return _t.pseudoElementsCallback=Ts,_t}}},provides:function(ft){ft.pseudoElements2svg=function(_t){var Pt=_t.node;Ee.searchPseudoElements&&Ts(void 0===Pt?h:Pt)}}},{mixout:function(){return{dom:{unwatch:function(){Ao(),br=!0}}}},hooks:function(){return{bootstrap:function(){Mt(Ua("mutationObserverCallbacks",{}))},noAuto:function(){!function ii(){Ti&&Ti.disconnect()}()},watch:function(_t){var Pt=_t.observeMutationsRoot;br?Vt():Mt(Ua("mutationObserverCallbacks",{observeMutationsRoot:Pt}))}}}},{mixout:function(){return{parse:{transform:function(_t){return Ya(_t)}}}},hooks:function(){return{parseNodeAttributes:function(_t,Pt){var Qt=Pt.getAttribute("data-fa-transform");return Qt&&(_t.transform=Ya(Qt)),_t}}},provides:function(ft){ft.generateAbstractTransformGrouping=function(_t){var Pt=_t.main,Qt=_t.transform,ci=_t.iconWidth,Ei={transform:"translate(".concat(_t.containerWidth/2," 256)")},Di="translate(".concat(32*Qt.x,", ").concat(32*Qt.y,") "),tn="scale(".concat(Qt.size/16*(Qt.flipX?-1:1),", ").concat(Qt.size/16*(Qt.flipY?-1:1),") "),Ji="rotate(".concat(Qt.rotate," 0 0)"),Fn={outer:Ei,inner:{transform:"".concat(Di," ").concat(tn," ").concat(Ji)},path:{transform:"translate(".concat(ci/2*-1," -256)")}};return{tag:"g",attributes:y({},Fn.outer),children:[{tag:"g",attributes:y({},Fn.inner),children:[{tag:Pt.icon.tag,children:Pt.icon.children,attributes:y(y({},Pt.icon.attributes),Fn.path)}]}]}}}},{hooks:function(){return{parseNodeAttributes:function(_t,Pt){var Qt=Pt.getAttribute("data-fa-mask"),di=Qt?Hn(Qt.split(" ").map(function(ci){return ci.trim()})):$i();return di.prefix||(di.prefix=Ui()),_t.mask=di,_t.maskId=Pt.getAttribute("data-fa-mask-id"),_t}}},provides:function(ft){ft.generateAbstractMask=function(_t){var Ne,Pt=_t.children,Qt=_t.attributes,di=_t.main,ci=_t.mask,Ei=_t.maskId,Ji=di.icon,Tn=ci.icon,Fn=function Jt(Ne){var ft=Ne.transform,Pt=Ne.iconWidth,Qt={transform:"translate(".concat(Ne.containerWidth/2," 256)")},di="translate(".concat(32*ft.x,", ").concat(32*ft.y,") "),ci="scale(".concat(ft.size/16*(ft.flipX?-1:1),", ").concat(ft.size/16*(ft.flipY?-1:1),") "),Ei="rotate(".concat(ft.rotate," 0 0)");return{outer:Qt,inner:{transform:"".concat(di," ").concat(ci," ").concat(Ei)},path:{transform:"translate(".concat(Pt/2*-1," -256)")}}}({transform:_t.transform,containerWidth:ci.width,iconWidth:di.width}),Ar={tag:"rect",attributes:y(y({},ha),{},{fill:"white"})},zr=Ji.children?{children:Ji.children.map(As)}:{},fa={tag:"g",attributes:y({},Fn.inner),children:[As(y({tag:Ji.tag,attributes:y(y({},Ji.attributes),Fn.path)},zr))]},aa={tag:"g",attributes:y({},Fn.outer),children:[fa]},Da="mask-".concat(Ei||J()),Rr="clip-".concat(Ei||J()),Lo={tag:"mask",attributes:y(y({},ha),{},{id:Da,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[Ar,aa]},Ja={tag:"defs",children:[{tag:"clipPath",attributes:{id:Rr},children:(Ne=Tn,"g"===Ne.tag?Ne.children:[Ne])},Lo]};return Pt.push(Ja,{tag:"rect",attributes:y({fill:"currentColor","clip-path":"url(#".concat(Rr,")"),mask:"url(#".concat(Da,")")},ha)}),{children:Pt,attributes:Qt}}}},{provides:function(ft){var _t=!1;f.matchMedia&&(_t=f.matchMedia("(prefers-reduced-motion: reduce)").matches),ft.missingIconAbstract=function(){var Pt=[],Qt={fill:"currentColor"},di={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};Pt.push({tag:"path",attributes:y(y({},Qt),{},{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 ci=y(y({},di),{},{attributeName:"opacity"}),Ei={tag:"circle",attributes:y(y({},Qt),{},{cx:"256",cy:"364",r:"28"}),children:[]};return _t||Ei.children.push({tag:"animate",attributes:y(y({},di),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:y(y({},ci),{},{values:"1;0;1;1;0;1;"})}),Pt.push(Ei),Pt.push({tag:"path",attributes:y(y({},Qt),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:_t?[]:[{tag:"animate",attributes:y(y({},ci),{},{values:"1;0;0;0;0;1;"})}]}),_t||Pt.push({tag:"path",attributes:y(y({},Qt),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:y(y({},ci),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:Pt}}}},{hooks:function(){return{parseNodeAttributes:function(_t,Pt){var Qt=Pt.getAttribute("data-fa-symbol");return _t.symbol=null!==Qt&&(""===Qt||Qt),_t}}}}],{mixoutsTo:la});var Ki=la.parse,Pr=la.icon,co=p(6593);const Jn=["*"],$r=Ne=>{const ft={[`fa-${Ne.animation}`]:null!=Ne.animation&&!Ne.animation.startsWith("spin"),"fa-spin":"spin"===Ne.animation||"spin-reverse"===Ne.animation,"fa-spin-pulse":"spin-pulse"===Ne.animation||"spin-pulse-reverse"===Ne.animation,"fa-spin-reverse":"spin-reverse"===Ne.animation||"spin-pulse-reverse"===Ne.animation,"fa-pulse":"spin-pulse"===Ne.animation||"spin-pulse-reverse"===Ne.animation,"fa-fw":Ne.fixedWidth,"fa-border":Ne.border,"fa-inverse":Ne.inverse,"fa-layers-counter":Ne.counter,"fa-flip-horizontal":"horizontal"===Ne.flip||"both"===Ne.flip,"fa-flip-vertical":"vertical"===Ne.flip||"both"===Ne.flip,[`fa-${Ne.size}`]:null!==Ne.size,[`fa-rotate-${Ne.rotate}`]:null!==Ne.rotate,[`fa-pull-${Ne.pull}`]:null!==Ne.pull,[`fa-stack-${Ne.stackItemSize}`]:null!=Ne.stackItemSize};return Object.keys(ft).map(_t=>ft[_t]?_t:null).filter(_t=>_t)};let ra=(()=>{class Ne{constructor(){this.defaultPrefix="fas",this.fallbackIcon=null}static#e=this.\u0275fac=function(Pt){return new(Pt||Ne)};static#t=this.\u0275prov=e.Yz7({token:Ne,factory:Ne.\u0275fac,providedIn:"root"})}return Ne})(),mc=(()=>{class Ne{constructor(){this.definitions={}}addIcons(..._t){for(const Pt of _t){Pt.prefix in this.definitions||(this.definitions[Pt.prefix]={}),this.definitions[Pt.prefix][Pt.iconName]=Pt;for(const Qt of Pt.icon[2])"string"==typeof Qt&&(this.definitions[Pt.prefix][Qt]=Pt)}}addIconPacks(..._t){for(const Pt of _t){const Qt=Object.keys(Pt).map(di=>Pt[di]);this.addIcons(...Qt)}}getIconDefinition(_t,Pt){return _t in this.definitions&&Pt in this.definitions[_t]?this.definitions[_t][Pt]:null}static#e=this.\u0275fac=function(Pt){return new(Pt||Ne)};static#t=this.\u0275prov=e.Yz7({token:Ne,factory:Ne.\u0275fac,providedIn:"root"})}return Ne})(),zc=(()=>{class Ne{constructor(){this.stackItemSize="1x"}ngOnChanges(_t){if("size"in _t)throw new Error('fa-icon is not allowed to customize size when used inside fa-stack. Set size on the enclosing fa-stack instead: <fa-stack size="4x">...</fa-stack>.')}static#e=this.\u0275fac=function(Pt){return new(Pt||Ne)};static#t=this.\u0275dir=e.lG2({type:Ne,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},standalone:!0,features:[e.TTD]})}return Ne})(),pl=(()=>{class Ne{constructor(_t,Pt){this.renderer=_t,this.elementRef=Pt}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-stack")}ngOnChanges(_t){"size"in _t&&(null!=_t.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${_t.size.currentValue}`),null!=_t.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${_t.size.previousValue}`))}static#e=this.\u0275fac=function(Pt){return new(Pt||Ne)(e.Y36(e.Qsj),e.Y36(e.SBq))};static#t=this.\u0275cmp=e.Xpm({type:Ne,selectors:[["fa-stack"]],inputs:{size:"size"},standalone:!0,features:[e.TTD,e.jDz],ngContentSelectors:Jn,decls:1,vars:0,template:function(Pt,Qt){1&Pt&&(e.F$t(),e.Hsn(0))},encapsulation:2})}return Ne})(),Is=(()=>{class Ne{set spin(_t){this.animation=_t?"spin":void 0}set pulse(_t){this.animation=_t?"spin-pulse":void 0}constructor(_t,Pt,Qt,di,ci){this.sanitizer=_t,this.config=Pt,this.iconLibrary=Qt,this.stackItem=di,this.classes=[],null!=ci&&null==di&&console.error('FontAwesome: fa-icon and fa-duotone-icon elements must specify stackItemSize attribute when wrapped into fa-stack. Example: <fa-icon stackItemSize="2x"></fa-icon>.')}ngOnChanges(_t){if(null!=this.icon||null!=this.config.fallbackIcon){if(_t){const Qt=this.findIconDefinition(null!=this.icon?this.icon:this.config.fallbackIcon);if(null!=Qt){const di=this.buildParams();this.renderIcon(Qt,di)}}}else(()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")})()}render(){this.ngOnChanges({})}findIconDefinition(_t){const Pt=((Ne,ft)=>(Ne=>void 0!==Ne.prefix&&void 0!==Ne.iconName)(Ne)?Ne:"string"==typeof Ne?{prefix:ft,iconName:Ne}:{prefix:Ne[0],iconName:Ne[1]})(_t,this.config.defaultPrefix);return"icon"in Pt?Pt:this.iconLibrary.getIconDefinition(Pt.prefix,Pt.iconName)??((Ne=>{throw new Error(`Could not find icon with iconName=${Ne.iconName} and prefix=${Ne.prefix} in the icon library.`)})(Pt),null)}buildParams(){const _t={flip:this.flip,animation:this.animation,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:"boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth,stackItemSize:null!=this.stackItem?this.stackItem.stackItemSize:null},Pt="string"==typeof this.transform?Ki.transform(this.transform):this.transform;return{title:this.title,transform:Pt,classes:[...$r(_t),...this.classes],mask:null!=this.mask?this.findIconDefinition(this.mask):null,styles:null!=this.styles?this.styles:{},symbol:this.symbol,attributes:{role:this.a11yRole}}}renderIcon(_t,Pt){const Qt=Pr(_t,Pt);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(Qt.html.join("\n"))}static#e=this.\u0275fac=function(Pt){return new(Pt||Ne)(e.Y36(co.H7),e.Y36(ra),e.Y36(mc),e.Y36(zc,8),e.Y36(pl,8))};static#t=this.\u0275cmp=e.Xpm({type:Ne,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(Pt,Qt){2&Pt&&(e.Ikx("innerHTML",Qt.renderedIconHTML,e.oJD),e.uIk("title",Qt.title))},inputs:{icon:"icon",title:"title",animation:"animation",spin:"spin",pulse:"pulse",mask:"mask",styles:"styles",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",symbol:"symbol",rotate:"rotate",fixedWidth:"fixedWidth",classes:"classes",transform:"transform",a11yRole:"a11yRole"},standalone:!0,features:[e.TTD,e.jDz],decls:0,vars:0,template:function(Pt,Qt){},encapsulation:2})}return Ne})(),ti=(()=>{class Ne{static#e=this.\u0275fac=function(Pt){return new(Pt||Ne)};static#t=this.\u0275mod=e.oAB({type:Ne});static#i=this.\u0275inj=e.cJS({})}return Ne})()},590:(ze,q,p)=>{"use strict";p.d(q,{Acd:()=>Fh,Aq:()=>vl,B$L:()=>ha,BDt:()=>F4,CgH:()=>ws,CvI:()=>ph,DL8:()=>vv,FJU:()=>G4,FVb:()=>Uc,FlN:()=>_4,FpQ:()=>ef,HLz:()=>X6,KOR:()=>L3,Krp:()=>s2,Mdf:()=>Np,N2j:()=>wi,NBC:()=>vy,OS1:()=>T3,Psp:()=>Km,Pyt:()=>V4,Sbq:()=>Ze,SoD:()=>Tr,Ssp:()=>ow,SuH:()=>pp,TmZ:()=>ug,USL:()=>am,Vei:()=>$a,Vfw:()=>U8,X5K:()=>Z3,XsY:()=>fn,aj4:()=>Md,b7W:()=>E4,byT:()=>Tn,co4:()=>pd,d63:()=>hr,dLy:()=>Ef,dT$:()=>Ru,eHv:()=>rw,gNZ:()=>et,hkK:()=>Ct,hnx:()=>_w,kXW:()=>vf,kZ_:()=>tm,koM:()=>R1,mh3:()=>_2,nNP:()=>eg,q7m:()=>Ss,qO$:()=>ux,r8p:()=>im,sqG:()=>Z8,vqe:()=>av,wn1:()=>ig,wyP:()=>Wl,xf3:()=>wc});var Ze={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"]},Ct={prefix:"fas",iconName:"user-check",icon:[640,512,[],"f4fc","M96 128a128 128 0 1 1 256 0A128 128 0 1 1 96 128zM0 482.3C0 383.8 79.8 304 178.3 304h91.4C368.2 304 448 383.8 448 482.3c0 16.4-13.3 29.7-29.7 29.7H29.7C13.3 512 0 498.7 0 482.3zM625 177L497 305c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L591 143c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},wi={prefix:"fas",iconName:"box-archive",icon:[512,512,["archive"],"f187","M32 32H480c17.7 0 32 14.3 32 32V96c0 17.7-14.3 32-32 32H32C14.3 128 0 113.7 0 96V64C0 46.3 14.3 32 32 32zm0 128H480V416c0 35.3-28.7 64-64 64H96c-35.3 0-64-28.7-64-64V160zm128 80c0 8.8 7.2 16 16 16H336c8.8 0 16-7.2 16-16s-7.2-16-16-16H176c-8.8 0-16 7.2-16 16z"]},Tr={prefix:"fas",iconName:"pen-ruler",icon:[512,512,["pencil-ruler"],"f5ae","M469.3 19.3l23.4 23.4c25 25 25 65.5 0 90.5l-56.4 56.4L322.3 75.7l56.4-56.4c25-25 65.5-25 90.5 0zM44.9 353.2L299.7 98.3 413.7 212.3 158.8 467.1c-6.7 6.7-15.1 11.6-24.2 14.2l-104 29.7c-8.4 2.4-17.4 .1-23.6-6.1s-8.5-15.2-6.1-23.6l29.7-104c2.6-9.2 7.5-17.5 14.2-24.2zM249.4 103.4L103.4 249.4 16 161.9c-18.7-18.7-18.7-49.1 0-67.9L94.1 16c18.7-18.7 49.1-18.7 67.9 0l19.8 19.8c-.3 .3-.7 .6-1 .9l-64 64c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l64-64c.3-.3 .6-.7 .9-1l45.1 45.1zM408.6 262.6l45.1 45.1c-.3 .3-.7 .6-1 .9l-64 64c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l64-64c.3-.3 .6-.7 .9-1L496 350.1c18.7 18.7 18.7 49.1 0 67.9L417.9 496c-18.7 18.7-49.1 18.7-67.9 0l-87.4-87.4L408.6 262.6z"]},ha={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"]},fn={prefix:"fas",iconName:"paintbrush",icon:[576,512,[128396,"paint-brush"],"f1fc","M339.3 367.1c27.3-3.9 51.9-19.4 67.2-42.9L568.2 74.1c12.6-19.5 9.4-45.3-7.6-61.2S517.7-4.4 499.1 9.6L262.4 187.2c-24 18-38.2 46.1-38.4 76.1L339.3 367.1zm-19.6 25.4l-116-104.4C143.9 290.3 96 339.6 96 400c0 3.9 .2 7.8 .6 11.6C98.4 429.1 86.4 448 68.8 448H64c-17.7 0-32 14.3-32 32s14.3 32 32 32H208c61.9 0 112-50.1 112-112c0-2.5-.1-5-.2-7.5z"]},Tn={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"]},Uc={prefix:"fas",iconName:"users",icon:[640,512,[],"f0c0","M144 0a80 80 0 1 1 0 160A80 80 0 1 1 144 0zM512 0a80 80 0 1 1 0 160A80 80 0 1 1 512 0zM0 298.7C0 239.8 47.8 192 106.7 192h42.7c15.9 0 31 3.5 44.6 9.7c-1.3 7.2-1.9 14.7-1.9 22.3c0 38.2 16.8 72.5 43.3 96c-.2 0-.4 0-.7 0H21.3C9.6 320 0 310.4 0 298.7zM405.3 320c-.2 0-.4 0-.7 0c26.6-23.5 43.3-57.8 43.3-96c0-7.6-.7-15-1.9-22.3c13.6-6.3 28.7-9.7 44.6-9.7h42.7C592.2 192 640 239.8 640 298.7c0 11.8-9.6 21.3-21.3 21.3H405.3zM224 224a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zM128 485.3C128 411.7 187.7 352 261.3 352H378.7C452.3 352 512 411.7 512 485.3c0 14.7-11.9 26.7-26.7 26.7H154.7c-14.7 0-26.7-11.9-26.7-26.7z"]},vl={prefix:"fas",iconName:"eye-slash",icon:[640,512,[],"f070","M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zM223.1 149.5C248.6 126.2 282.7 112 320 112c79.5 0 144 64.5 144 144c0 24.9-6.3 48.3-17.4 68.7L408 294.5c8.4-19.3 10.6-41.4 4.8-63.3c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3c0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zM373 389.9c-16.4 6.5-34.3 10.1-53 10.1c-79.5 0-144-64.5-144-144c0-6.9 .5-13.6 1.4-20.2L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5L373 389.9z"]},Fh={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"]},Md={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"]},wc={prefix:"fas",iconName:"server",icon:[512,512,[],"f233","M64 32C28.7 32 0 60.7 0 96v64c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm280 72a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm48 24a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zM64 288c-35.3 0-64 28.7-64 64v64c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V352c0-35.3-28.7-64-64-64H64zm280 72a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm56 24a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z"]},R1={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"]},Wl={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"]},$a={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"]},hr={prefix:"fas",iconName:"arrows-turn-right",icon:[448,512,[],"e4c0","M297.4 9.4c12.5-12.5 32.8-12.5 45.3 0l96 96c12.5 12.5 12.5 32.8 0 45.3l-96 96c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L338.7 160H128c-35.3 0-64 28.7-64 64v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V224C0 153.3 57.3 96 128 96H338.7L297.4 54.6c-12.5-12.5-12.5-32.8 0-45.3zm-96 256c12.5-12.5 32.8-12.5 45.3 0l96 96c12.5 12.5 12.5 32.8 0 45.3l-96 96c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 416H96c-17.7 0-32 14.3-32 32v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V448c0-53 43-96 96-96H242.7l-41.4-41.4c-12.5-12.5-12.5-32.8 0-45.3z"]},s2={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"]},Km={prefix:"fas",iconName:"question",icon:[320,512,[10067,10068,61736],"3f","M80 160c0-35.3 28.7-64 64-64h32c35.3 0 64 28.7 64 64v3.6c0 21.8-11.1 42.1-29.4 53.8l-42.2 27.1c-25.2 16.2-40.4 44.1-40.4 74V320c0 17.7 14.3 32 32 32s32-14.3 32-32v-1.4c0-8.2 4.2-15.8 11-20.2l42.2-27.1c36.6-23.6 58.8-64.1 58.8-107.7V160c0-70.7-57.3-128-128-128H144C73.3 32 16 89.3 16 160c0 17.7 14.3 32 32 32s32-14.3 32-32zm80 320a40 40 0 1 0 0-80 40 40 0 1 0 0 80z"]},Ru={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"]},T3={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"]},L3={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"]},pp={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"]},ws={prefix:"fas",iconName:"screwdriver-wrench",icon:[512,512,["tools"],"f7d9","M78.6 5C69.1-2.4 55.6-1.5 47 7L7 47c-8.5 8.5-9.4 22-2.1 31.6l80 104c4.5 5.9 11.6 9.4 19 9.4h54.1l109 109c-14.7 29-10 65.4 14.3 89.6l112 112c12.5 12.5 32.8 12.5 45.3 0l64-64c12.5-12.5 12.5-32.8 0-45.3l-112-112c-24.2-24.2-60.6-29-89.6-14.3l-109-109V104c0-7.5-3.5-14.5-9.4-19L78.6 5zM19.9 396.1C7.2 408.8 0 426.1 0 444.1C0 481.6 30.4 512 67.9 512c18 0 35.3-7.2 48-19.9L233.7 374.3c-7.8-20.9-9-43.6-3.6-65.1l-61.7-61.7L19.9 396.1zM512 144c0-10.5-1.1-20.7-3.2-30.5c-2.4-11.2-16.1-14.1-24.2-6l-63.9 63.9c-3 3-7.1 4.7-11.3 4.7H352c-8.8 0-16-7.2-16-16V102.6c0-4.2 1.7-8.3 4.7-11.3l63.9-63.9c8.1-8.1 5.2-21.8-6-24.2C388.7 1.1 378.5 0 368 0C288.5 0 224 64.5 224 144l0 .8 85.3 85.3c36-9.1 75.8 .5 104 28.7L429 274.5c49-23 83-72.8 83-130.5zM56 432a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z"]},Z3={prefix:"fas",iconName:"wallet",icon:[512,512,[],"f555","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V192c0-35.3-28.7-64-64-64H80c-8.8 0-16-7.2-16-16s7.2-16 16-16H448c17.7 0 32-14.3 32-32s-14.3-32-32-32H64zM416 272a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},_2={prefix:"fas",iconName:"code-branch",icon:[448,512,[],"f126","M80 104a24 24 0 1 0 0-48 24 24 0 1 0 0 48zm80-24c0 32.8-19.7 61-48 73.3v87.8c18.8-10.9 40.7-17.1 64-17.1h96c35.3 0 64-28.7 64-64v-6.7C307.7 141 288 112.8 288 80c0-44.2 35.8-80 80-80s80 35.8 80 80c0 32.8-19.7 61-48 73.3V160c0 70.7-57.3 128-128 128H176c-35.3 0-64 28.7-64 64v6.7c28.3 12.3 48 40.5 48 73.3c0 44.2-35.8 80-80 80s-80-35.8-80-80c0-32.8 19.7-61 48-73.3V352 153.3C19.7 141 0 112.8 0 80C0 35.8 35.8 0 80 0s80 35.8 80 80zm232 0a24 24 0 1 0 -48 0 24 24 0 1 0 48 0zM80 456a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"]},ef={prefix:"fas",iconName:"route",icon:[512,512,[],"f4d7","M512 96c0 50.2-59.1 125.1-84.6 155c-3.8 4.4-9.4 6.1-14.5 5H320c-17.7 0-32 14.3-32 32s14.3 32 32 32h96c53 0 96 43 96 96s-43 96-96 96H139.6c8.7-9.9 19.3-22.6 30-36.8c6.3-8.4 12.8-17.6 19-27.2H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H320c-53 0-96-43-96-96s43-96 96-96h39.8c-21-31.5-39.8-67.7-39.8-96c0-53 43-96 96-96s96 43 96 96zM117.1 489.1c-3.8 4.3-7.2 8.1-10.1 11.3l-1.8 2-.2-.2c-6 4.6-14.6 4-20-1.8C59.8 473 0 402.5 0 352c0-53 43-96 96-96s96 43 96 96c0 30-21.1 67-43.5 97.9c-10.7 14.7-21.7 28-30.8 38.5l-.6 .7zM128 352a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zM416 128a32 32 0 1 0 0-64 32 32 0 1 0 0 64z"]},Np={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z"]},et={prefix:"fas",iconName:"user-gear",icon:[640,512,["user-cog"],"f4fe","M224 0a128 128 0 1 1 0 256A128 128 0 1 1 224 0zM178.3 304h91.4c11.8 0 23.4 1.2 34.5 3.3c-2.1 18.5 7.4 35.6 21.8 44.8c-16.6 10.6-26.7 31.6-20 53.3c4 12.9 9.4 25.5 16.4 37.6s15.2 23.1 24.4 33c15.7 16.9 39.6 18.4 57.2 8.7v.9c0 9.2 2.7 18.5 7.9 26.3H29.7C13.3 512 0 498.7 0 482.3C0 383.8 79.8 304 178.3 304zM436 218.2c0-7 4.5-13.3 11.3-14.8c10.5-2.4 21.5-3.7 32.7-3.7s22.2 1.3 32.7 3.7c6.8 1.5 11.3 7.8 11.3 14.8v30.6c7.9 3.4 15.4 7.7 22.3 12.8l24.9-14.3c6.1-3.5 13.7-2.7 18.5 2.4c7.6 8.1 14.3 17.2 20.1 27.2s10.3 20.4 13.5 31c2.1 6.7-1.1 13.7-7.2 17.2l-25 14.4c.4 4 .7 8.1 .7 12.3s-.2 8.2-.7 12.3l25 14.4c6.1 3.5 9.2 10.5 7.2 17.2c-3.3 10.6-7.8 21-13.5 31s-12.5 19.1-20.1 27.2c-4.8 5.1-12.5 5.9-18.5 2.4l-24.9-14.3c-6.9 5.1-14.3 9.4-22.3 12.8l0 30.6c0 7-4.5 13.3-11.3 14.8c-10.5 2.4-21.5 3.7-32.7 3.7s-22.2-1.3-32.7-3.7c-6.8-1.5-11.3-7.8-11.3-14.8V454.8c-8-3.4-15.6-7.7-22.5-12.9l-24.7 14.3c-6.1 3.5-13.7 2.7-18.5-2.4c-7.6-8.1-14.3-17.2-20.1-27.2s-10.3-20.4-13.5-31c-2.1-6.7 1.1-13.7 7.2-17.2l24.8-14.3c-.4-4.1-.7-8.2-.7-12.4s.2-8.3 .7-12.4L343.8 325c-6.1-3.5-9.2-10.5-7.2-17.2c3.3-10.6 7.7-21 13.5-31s12.5-19.1 20.1-27.2c4.8-5.1 12.4-5.9 18.5-2.4l24.8 14.3c6.9-5.1 14.5-9.4 22.5-12.9V218.2zm92.1 133.5a48.1 48.1 0 1 0 -96.1 0 48.1 48.1 0 1 0 96.1 0z"]},U8={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"]},Z8={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},_4={prefix:"fas",iconName:"dumbbell",icon:[640,512,[],"f44b","M96 64c0-17.7 14.3-32 32-32h32c17.7 0 32 14.3 32 32V224v64V448c0 17.7-14.3 32-32 32H128c-17.7 0-32-14.3-32-32V384H64c-17.7 0-32-14.3-32-32V288c-17.7 0-32-14.3-32-32s14.3-32 32-32V160c0-17.7 14.3-32 32-32H96V64zm448 0v64h32c17.7 0 32 14.3 32 32v64c17.7 0 32 14.3 32 32s-14.3 32-32 32v64c0 17.7-14.3 32-32 32H544v64c0 17.7-14.3 32-32 32H480c-17.7 0-32-14.3-32-32V288 224 64c0-17.7 14.3-32 32-32h32c17.7 0 32 14.3 32 32zM416 224v64H224V224H416z"]},ph={prefix:"fas",iconName:"money-bill-1",icon:[576,512,["money-bill-alt"],"f3d1","M64 64C28.7 64 0 92.7 0 128V384c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64H64zm64 320H64V320c35.3 0 64 28.7 64 64zM64 192V128h64c0 35.3-28.7 64-64 64zM448 384c0-35.3 28.7-64 64-64v64H448zm64-192c-35.3 0-64-28.7-64-64h64v64zM176 256a112 112 0 1 1 224 0 112 112 0 1 1 -224 0zm76-48c0 9.7 6.9 17.7 16 19.6V276h-4c-11 0-20 9-20 20s9 20 20 20h24 24c11 0 20-9 20-20s-9-20-20-20h-4V208c0-11-9-20-20-20H272c-11 0-20 9-20 20z"]},pd=ph,E4={prefix:"fas",iconName:"gear",icon:[512,512,[9881,"cog"],"f013","M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z"]},vf={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"]},Ss={prefix:"fas",iconName:"download",icon:[512,512,[],"f019","M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V274.7l-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7V32zM64 352c-35.3 0-64 28.7-64 64v32c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V416c0-35.3-28.7-64-64-64H346.5l-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352H64zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]},F4={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"]},V4={prefix:"fas",iconName:"arrows-turn-to-dots",icon:[512,512,[],"e4c1","M249.4 25.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3L269.3 96 416 96c53 0 96 43 96 96v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V192c0-17.7-14.3-32-32-32l-146.7 0 25.4 25.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0l-80-80c-12.5-12.5-12.5-32.8 0-45.3l80-80zm13.3 256l80 80c12.5 12.5 12.5 32.8 0 45.3l-80 80c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 416 96 416c-17.7 0-32 14.3-32 32v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V448c0-53 43-96 96-96l146.7 0-25.4-25.4c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0zM384 384a64 64 0 1 1 128 0 64 64 0 1 1 -128 0zM64 192A64 64 0 1 1 64 64a64 64 0 1 1 0 128z"]},G4={prefix:"fas",iconName:"user-lock",icon:[640,512,[],"f502","M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512H392.6c-5.4-9.4-8.6-20.3-8.6-32V352c0-2.1 .1-4.2 .3-6.3c-31-26-71-41.7-114.6-41.7H178.3zM528 240c17.7 0 32 14.3 32 32v48H496V272c0-17.7 14.3-32 32-32zm-80 32v48c-17.7 0-32 14.3-32 32V480c0 17.7 14.3 32 32 32H608c17.7 0 32-14.3 32-32V352c0-17.7-14.3-32-32-32V272c0-44.2-35.8-80-80-80s-80 35.8-80 80z"]},X6={prefix:"fas",iconName:"gauge-high",icon:[512,512,[62461,"tachometer-alt","tachometer-alt-fast"],"f625","M0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zM288 96a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zM256 416c35.3 0 64-28.7 64-64c0-17.4-6.9-33.1-18.1-44.6L366 161.7c5.3-12.1-.2-26.3-12.3-31.6s-26.3 .2-31.6 12.3L257.9 288c-.6 0-1.3 0-1.9 0c-35.3 0-64 28.7-64 64s28.7 64 64 64zM176 144a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zM96 288a32 32 0 1 0 0-64 32 32 0 1 0 0 64zm352-32a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]},eg={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"]},ig={prefix:"fas",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"]},Ef={prefix:"fas",iconName:"receipt",icon:[384,512,[129534],"f543","M14 2.2C22.5-1.7 32.5-.3 39.6 5.8L80 40.4 120.4 5.8c9-7.7 22.3-7.7 31.2 0L192 40.4 232.4 5.8c9-7.7 22.3-7.7 31.2 0L304 40.4 344.4 5.8c7.1-6.1 17.1-7.5 25.6-3.6s14 12.4 14 21.8V488c0 9.4-5.5 17.9-14 21.8s-18.5 2.5-25.6-3.6L304 471.6l-40.4 34.6c-9 7.7-22.3 7.7-31.2 0L192 471.6l-40.4 34.6c-9 7.7-22.3 7.7-31.2 0L80 471.6 39.6 506.2c-7.1 6.1-17.1 7.5-25.6 3.6S0 497.4 0 488V24C0 14.6 5.5 6.1 14 2.2zM96 144c-8.8 0-16 7.2-16 16s7.2 16 16 16H288c8.8 0 16-7.2 16-16s-7.2-16-16-16H96zM80 352c0 8.8 7.2 16 16 16H288c8.8 0 16-7.2 16-16s-7.2-16-16-16H96c-8.8 0-16 7.2-16 16zM96 240c-8.8 0-16 7.2-16 16s7.2 16 16 16H288c8.8 0 16-7.2 16-16s-7.2-16-16-16H96z"]},ug={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"]},tm={prefix:"fas",iconName:"copy",icon:[448,512,[],"f0c5","M208 0H332.1c12.7 0 24.9 5.1 33.9 14.1l67.9 67.9c9 9 14.1 21.2 14.1 33.9V336c0 26.5-21.5 48-48 48H208c-26.5 0-48-21.5-48-48V48c0-26.5 21.5-48 48-48zM48 128h80v64H64V448H256V416h64v48c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V176c0-26.5 21.5-48 48-48z"]},im={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32V224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H192V432c0 17.7 14.3 32 32 32s32-14.3 32-32V288H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V80z"]},vy={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"]},am={prefix:"fas",iconName:"percent",icon:[384,512,[62101,62785,"percentage"],"25","M374.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-320 320c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l320-320zM128 128A64 64 0 1 0 0 128a64 64 0 1 0 128 0zM384 384a64 64 0 1 0 -128 0 64 64 0 1 0 128 0z"]},ux={prefix:"fas",iconName:"clock-rotate-left",icon:[512,512,["history"],"f1da","M75 75L41 41C25.9 25.9 0 36.6 0 57.9V168c0 13.3 10.7 24 24 24H134.1c21.4 0 32.1-25.9 17-41l-30.8-30.8C155 85.5 203 64 256 64c106 0 192 86 192 192s-86 192-192 192c-40.8 0-78.6-12.7-109.7-34.4c-14.5-10.1-34.4-6.6-44.6 7.9s-6.6 34.4 7.9 44.6C151.2 495 201.7 512 256 512c141.4 0 256-114.6 256-256S397.4 0 256 0C185.3 0 121.3 28.7 75 75zm181 53c-13.3 0-24 10.7-24 24V256c0 6.4 2.5 12.5 7 17l72 72c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-65-65V152c0-13.3-10.7-24-24-24z"]},av={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"]},vv={prefix:"fas",iconName:"scale-balanced",icon:[640,512,[9878,"balance-scale"],"f24e","M384 32H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H398.4c-5.2 25.8-22.9 47.1-46.4 57.3V448H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H320 128c-17.7 0-32-14.3-32-32s14.3-32 32-32H288V153.3c-23.5-10.3-41.2-31.6-46.4-57.3H128c-17.7 0-32-14.3-32-32s14.3-32 32-32H256c14.6-19.4 37.8-32 64-32s49.4 12.6 64 32zm55.6 288H584.4L512 195.8 439.6 320zM512 416c-62.9 0-115.2-34-126-78.9c-2.6-11 1-22.3 6.7-32.1l95.2-163.2c5-8.6 14.2-13.8 24.1-13.8s19.1 5.3 24.1 13.8l95.2 163.2c5.7 9.8 9.3 21.1 6.7 32.1C627.2 382 574.9 416 512 416zM126.8 195.8L54.4 320H199.3L126.8 195.8zM.9 337.1c-2.6-11 1-22.3 6.7-32.1l95.2-163.2c5-8.6 14.2-13.8 24.1-13.8s19.1 5.3 24.1 13.8l95.2 163.2c5.7 9.8 9.3 21.1 6.7 32.1C242 382 189.7 416 126.8 416S11.7 382 .9 337.1z"]},rw={prefix:"fas",iconName:"triangle-exclamation",icon:[512,512,[9888,"exclamation-triangle","warning"],"f071","M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480H40c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24V296c0 13.3 10.7 24 24 24s24-10.7 24-24V184c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]},ow={prefix:"fas",iconName:"right-left",icon:[512,512,["exchange-alt"],"f362","M32 96l320 0V32c0-12.9 7.8-24.6 19.8-29.6s25.7-2.2 34.9 6.9l96 96c6 6 9.4 14.1 9.4 22.6s-3.4 16.6-9.4 22.6l-96 96c-9.2 9.2-22.9 11.9-34.9 6.9s-19.8-16.6-19.8-29.6V160L32 160c-17.7 0-32-14.3-32-32s14.3-32 32-32zM480 352c17.7 0 32 14.3 32 32s-14.3 32-32 32H160v64c0 12.9-7.8 24.6-19.8 29.6s-25.7 2.2-34.9-6.9l-96-96c-6-6-9.4-14.1-9.4-22.6s3.4-16.6 9.4-22.6l96-96c9.2-9.2 22.9-11.9 34.9-6.9s19.8 16.6 19.8 29.6l0 64H480z"]},_w={prefix:"fas",iconName:"user-clock",icon:[640,512,[],"f4fd","M224 0a128 128 0 1 1 0 256A128 128 0 1 1 224 0zM178.3 304h91.4c20.6 0 40.4 3.5 58.8 9.9C323 331 320 349.1 320 368c0 59.5 29.5 112.1 74.8 144H29.7C13.3 512 0 498.7 0 482.3C0 383.8 79.8 304 178.3 304zM352 368a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-80c-8.8 0-16 7.2-16 16v64c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16s-7.2-16-16-16H512V304c0-8.8-7.2-16-16-16z"]}},5154:(ze,q,p)=>{"use strict";p.d(q,{eX:()=>ee,sQ:()=>ct,GW:()=>n,l4:()=>De});var e=p(3019),t=p(5592),y=p(8645),A=p(7538),l=p(6232),x=p(2096),m=p(8504),P=p(4674);class E{constructor(zt,xt,Ot){this.kind=zt,this.value=xt,this.error=Ot,this.hasValue="N"===zt}observe(zt){return M(this,zt)}do(zt,xt,Ot){const{kind:yt,value:nt,error:Ee}=this;return"N"===yt?zt?.(nt):"E"===yt?xt?.(Ee):Ot?.()}accept(zt,xt,Ot){var yt;return(0,P.m)(null===(yt=zt)||void 0===yt?void 0:yt.next)?this.observe(zt):this.do(zt,xt,Ot)}toObservable(){const{kind:zt,value:xt,error:Ot}=this,yt="N"===zt?(0,x.of)(xt):"E"===zt?(0,m._)(()=>Ot):"C"===zt?l.E:0;if(!yt)throw new TypeError(`Unexpected notification kind ${zt}`);return yt}static createNext(zt){return new E("N",zt)}static createError(zt){return new E("E",void 0,zt)}static createComplete(){return E.completeNotification}}function M(Qe,zt){var xt,Ot,yt;const{kind:nt,value:Ee,error:tt}=Qe;if("string"!=typeof nt)throw new TypeError('Invalid notification, missing "kind"');"N"===nt?null===(xt=zt.next)||void 0===xt||xt.call(zt,Ee):"E"===nt?null===(Ot=zt.error)||void 0===Ot||Ot.call(zt,tt):null===(yt=zt.complete)||void 0===yt||yt.call(zt)}E.completeNotification=new E("C");var I=p(9360),k=p(8251),B=p(7398),W=p(6306),j=p(2181),K=p(4829);function X(Qe,zt,xt,Ot){return(0,I.e)((yt,nt)=>{let Ee;zt&&"function"!=typeof zt?({duration:xt,element:Ee,connector:Ot}=zt):Ee=zt;const tt=new Map,Ue=re=>{tt.forEach(re),re(nt)},Xe=re=>Ue(Ie=>Ie.error(re));let gt=0,Le=!1;const be=new k.Q(nt,re=>{try{const Ie=Qe(re);let Nt=tt.get(Ie);if(!Nt){tt.set(Ie,Nt=Ot?Ot():new y.x);const At=function J(re,Ie){const Nt=new t.y(At=>{gt++;const Zt=Ie.subscribe(At);return()=>{Zt.unsubscribe(),0==--gt&&Le&&be.unsubscribe()}});return Nt.key=re,Nt}(Ie,Nt);if(nt.next(At),xt){const Zt=(0,k.x)(Nt,()=>{Nt.complete(),Zt?.unsubscribe()},void 0,void 0,()=>tt.delete(Ie));be.add((0,K.Xf)(xt(At)).subscribe(Zt))}}Nt.next(Ee?Ee(re):re)}catch(Ie){Xe(Ie)}},()=>Ue(re=>re.complete()),Xe,()=>tt.clear(),()=>(Le=!0,0===gt));yt.subscribe(be)})}var ie=p(1631);function ae(Qe,zt){return zt?xt=>xt.pipe(ae((Ot,yt)=>(0,K.Xf)(Qe(Ot,yt)).pipe((0,B.U)((nt,Ee)=>zt(Ot,nt,yt,Ee))))):(0,I.e)((xt,Ot)=>{let yt=0,nt=null,Ee=!1;xt.subscribe((0,k.x)(Ot,tt=>{nt||(nt=(0,k.x)(Ot,void 0,()=>{nt=null,Ee&&Ot.complete()}),(0,K.Xf)(Qe(tt,yt++)).subscribe(nt))},()=>{Ee=!0,!nt&&Ot.complete()}))})}var se=p(8180),Me=p(9212),$=p(4221);const ue={dispatch:!0,functional:!1,useEffectsErrorHandler:!0},S="__@ngrx/effects_create__";function n(Qe,zt={}){const xt=zt.functional?Qe:Qe(),Ot={...ue,...zt};return Object.defineProperty(xt,S,{value:Ot}),xt}function w(Qe){return Object.getPrototypeOf(Qe)}function O(Qe){return"function"==typeof Qe}function v(Qe){return Qe.filter(O)}function g(Qe,zt,xt){const Ot=w(Qe),nt=Ot&&"Object"!==Ot.constructor.name?Ot.constructor.name:null,Ee=function h(Qe){return function s(Qe){return Object.getOwnPropertyNames(Qe).filter(Ot=>!(!Qe[Ot]||!Qe[Ot].hasOwnProperty(S))&&Qe[Ot][S].hasOwnProperty("dispatch")).map(Ot=>({propertyName:Ot,...Qe[Ot][S]}))}(Qe)}(Qe).map(({propertyName:tt,dispatch:Ue,useEffectsErrorHandler:Xe})=>{const gt="function"==typeof Qe[tt]?Qe[tt]():Qe[tt],Le=Xe?xt(gt,zt):gt;return!1===Ue?Le.pipe((0,A.l)()):Le.pipe(function V(){return(0,I.e)((Qe,zt)=>{Qe.subscribe((0,k.x)(zt,xt=>{zt.next(E.createNext(xt))},()=>{zt.next(E.createComplete()),zt.complete()},xt=>{zt.next(E.createError(xt)),zt.complete()}))})}()).pipe((0,B.U)(J=>({effect:Qe[tt],notification:J,propertyName:tt,sourceName:nt,sourceInstance:Qe})))});return(0,e.T)(...Ee)}function N(Qe,zt,xt=10){return Qe.pipe((0,W.K)(Ot=>(zt&&zt.handleError(Ot),xt<=1?Qe:N(Qe,zt,xt-1))))}let ee=(()=>{class Qe extends t.y{constructor(xt){super(),xt&&(this.source=xt)}lift(xt){const Ot=new Qe;return Ot.source=this,Ot.operator=xt,Ot}static#e=this.\u0275fac=function(Ot){return new(Ot||Qe)(Me.LFG($.Y$))};static#t=this.\u0275prov=Me.Yz7({token:Qe,factory:Qe.\u0275fac,providedIn:"root"})}return Qe})();function De(...Qe){return(0,j.h)(zt=>Qe.some(xt=>"string"==typeof xt?xt===zt.type:xt.type===zt.type))}const ot=new Me.OlP("@ngrx/effects Internal Root Guard"),je=new Me.OlP("@ngrx/effects User Provided Effects"),Je=new Me.OlP("@ngrx/effects Internal Root Effects"),ye=new Me.OlP("@ngrx/effects Internal Root Effects Instances"),me=new Me.OlP("@ngrx/effects Internal Feature Effects"),he=new Me.OlP("@ngrx/effects Internal Feature Effects Instance Groups"),xe=new Me.OlP("@ngrx/effects Effects Error Handler",{providedIn:"root",factory:()=>N}),de="@ngrx/effects/init";(0,$.PH)(de);function Ae(Qe){return Be(Qe,"ngrxOnInitEffects")}function Be(Qe,zt){return Qe&&zt in Qe&&"function"==typeof Qe[zt]}let it=(()=>{class Qe extends y.x{constructor(xt,Ot){super(),this.errorHandler=xt,this.effectsErrorHandler=Ot}addEffects(xt){this.next(xt)}toActions(){return this.pipe(X(xt=>function D(Qe){return!!Qe.constructor&&"Object"!==Qe.constructor.name&&"Function"!==Qe.constructor.name}(xt)?w(xt):xt),(0,ie.z)(xt=>xt.pipe(X($e))),(0,ie.z)(xt=>{const Ot=xt.pipe(ae(nt=>function ke(Qe,zt){return xt=>{const Ot=g(xt,Qe,zt);return function mt(Qe){return Be(Qe,"ngrxOnRunEffects")}(xt)?xt.ngrxOnRunEffects(Ot):Ot}}(this.errorHandler,this.effectsErrorHandler)(nt)),(0,B.U)(nt=>(function qe(Qe,zt){if("N"===Qe.notification.kind){const xt=Qe.notification.value;!function oe(Qe){return"function"!=typeof Qe&&Qe&&Qe.type&&"string"==typeof Qe.type}(xt)&&zt.handleError(new Error(`Effect ${function ve({propertyName:Qe,sourceInstance:zt,sourceName:xt}){const Ot="function"==typeof zt[Qe];return xt?`"${xt}.${String(Qe)}${Ot?"()":""}"`:`"${String(Qe)}()"`}(Qe)} dispatched an invalid action: ${function le(Qe){try{return JSON.stringify(Qe)}catch{return Qe}}(xt)}`))}}(nt,this.errorHandler),nt.notification)),(0,j.h)(nt=>"N"===nt.kind&&null!=nt.value),function fe(){return(0,I.e)((Qe,zt)=>{Qe.subscribe((0,k.x)(zt,xt=>M(xt,zt)))})}()),yt=xt.pipe((0,se.q)(1),(0,j.h)(Ae),(0,B.U)(nt=>nt.ngrxOnInitEffects()));return(0,e.T)(Ot,yt)}))}static#e=this.\u0275fac=function(Ot){return new(Ot||Qe)(Me.LFG(Me.qLn),Me.LFG(xe))};static#t=this.\u0275prov=Me.Yz7({token:Qe,factory:Qe.\u0275fac,providedIn:"root"})}return Qe})();function $e(Qe){return function We(Qe){return Be(Qe,"ngrxOnIdentifyEffects")}(Qe)?Qe.ngrxOnIdentifyEffects():""}let st=(()=>{class Qe{get isStarted(){return!!this.effectsSubscription}constructor(xt,Ot){this.effectSources=xt,this.store=Ot,this.effectsSubscription=null}start(){this.effectsSubscription||(this.effectsSubscription=this.effectSources.toActions().subscribe(this.store))}ngOnDestroy(){this.effectsSubscription&&(this.effectsSubscription.unsubscribe(),this.effectsSubscription=null)}static#e=this.\u0275fac=function(Ot){return new(Ot||Qe)(Me.LFG(it),Me.LFG($.yh))};static#t=this.\u0275prov=Me.Yz7({token:Qe,factory:Qe.\u0275fac,providedIn:"root"})}return Qe})(),Ke=(()=>{class Qe{constructor(xt,Ot,yt,nt,Ee,tt,Ue){this.sources=xt,Ot.start();for(const Xe of nt)xt.addEffects(Xe);yt.dispatch({type:de})}addEffects(xt){this.sources.addEffects(xt)}static#e=this.\u0275fac=function(Ot){return new(Ot||Qe)(Me.LFG(it),Me.LFG(st),Me.LFG($.yh),Me.LFG(ye),Me.LFG($.cr,8),Me.LFG($.CK,8),Me.LFG(ot,8))};static#t=this.\u0275mod=Me.oAB({type:Qe});static#i=this.\u0275inj=Me.cJS({})}return Qe})(),Et=(()=>{class Qe{constructor(xt,Ot,yt,nt){const Ee=Ot.flat();for(const tt of Ee)xt.addEffects(tt)}static#e=this.\u0275fac=function(Ot){return new(Ot||Qe)(Me.LFG(Ke),Me.LFG(he),Me.LFG($.cr,8),Me.LFG($.CK,8))};static#t=this.\u0275mod=Me.oAB({type:Qe});static#i=this.\u0275inj=Me.cJS({})}return Qe})(),ct=(()=>{class Qe{static forFeature(...xt){const Ot=xt.flat(),yt=v(Ot);return{ngModule:Et,providers:[yt,{provide:me,multi:!0,useValue:Ot},{provide:je,multi:!0,useValue:[]},{provide:he,multi:!0,useFactory:te,deps:[me,je]}]}}static forRoot(...xt){const Ot=xt.flat(),yt=v(Ot);return{ngModule:Ke,providers:[yt,{provide:Je,useValue:[Ot]},{provide:ot,useFactory:Pe},{provide:je,multi:!0,useValue:[]},{provide:ye,useFactory:te,deps:[Je,je]}]}}static#e=this.\u0275fac=function(Ot){return new(Ot||Qe)};static#t=this.\u0275mod=Me.oAB({type:Qe});static#i=this.\u0275inj=Me.cJS({})}return Qe})();function te(Qe,zt){const xt=[];for(const Ot of Qe)xt.push(...Ot);for(const Ot of zt)xt.push(...Ot);return xt.map(Ot=>function r(Qe){return Qe instanceof Me.OlP||O(Qe)}(Ot)?(0,Me.f3M)(Ot):Ot)}function Pe(){const Qe=(0,Me.f3M)(st,{optional:!0,skipSelf:!0}),zt=(0,Me.f3M)(Je,{self:!0});if((1!==zt.length||0!==zt[0].length)&&Qe)throw new TypeError("EffectsModule.forRoot() called twice. Feature modules should use EffectsModule.forFeature() instead.");return"guarded"}},7632:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{FT:()=>StoreDevtoolsModule});var _angular_core__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(9212),_ngrx_store__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(4221),rxjs__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(6232),rxjs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(5592),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(2096),rxjs__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(3019),rxjs__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(2381),rxjs__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(7328),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(3020),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(2181),rxjs_operators__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(7398),rxjs_operators__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(6328),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(5178),rxjs_operators__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(3620),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(6306),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(8180),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(9773),rxjs_operators__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(4664),rxjs_operators__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(836),rxjs_operators__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(3093),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(2460),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(6699),_angular_core_rxjs_interop__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(1993);const PERFORM_ACTION="PERFORM_ACTION",REFRESH="REFRESH",RESET="RESET",ROLLBACK="ROLLBACK",COMMIT="COMMIT",SWEEP="SWEEP",TOGGLE_ACTION="TOGGLE_ACTION",SET_ACTIONS_ACTIVE="SET_ACTIONS_ACTIVE",JUMP_TO_STATE="JUMP_TO_STATE",JUMP_TO_ACTION="JUMP_TO_ACTION",IMPORT_STATE="IMPORT_STATE",LOCK_CHANGES="LOCK_CHANGES",PAUSE_RECORDING="PAUSE_RECORDING";class PerformAction{constructor(q,p){if(this.action=q,this.timestamp=p,this.type=PERFORM_ACTION,typeof q.type>"u")throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?')}}class Refresh{constructor(){this.type=REFRESH}}class Reset{constructor(q){this.timestamp=q,this.type=RESET}}class Rollback{constructor(q){this.timestamp=q,this.type=ROLLBACK}}class Commit{constructor(q){this.timestamp=q,this.type=COMMIT}}class Sweep{constructor(){this.type=SWEEP}}class ToggleAction{constructor(q){this.id=q,this.type=TOGGLE_ACTION}}class SetActionsActive{constructor(q,p,e=!0){this.start=q,this.end=p,this.active=e,this.type=SET_ACTIONS_ACTIVE}}class JumpToState{constructor(q){this.index=q,this.type=JUMP_TO_STATE}}class JumpToAction{constructor(q){this.actionId=q,this.type=JUMP_TO_ACTION}}class ImportState{constructor(q){this.nextLiftedState=q,this.type=IMPORT_STATE}}class LockChanges{constructor(q){this.status=q,this.type=LOCK_CHANGES}}class PauseRecording{constructor(q){this.status=q,this.type=PAUSE_RECORDING}}class StoreDevtoolsConfig{constructor(){this.maxAge=!1}}const STORE_DEVTOOLS_CONFIG=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.OlP("@ngrx/store-devtools Options"),INITIAL_OPTIONS=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.OlP("@ngrx/store-devtools Initial Config");function noMonitor(){return null}const DEFAULT_NAME="NgRx Store DevTools";function createConfig(ze){const q={maxAge:!1,monitor:noMonitor,actionSanitizer:void 0,stateSanitizer:void 0,name:DEFAULT_NAME,serialize:!1,logOnly:!1,autoPause:!1,trace:!1,traceLimit:75,features:{pause:!0,lock:!0,persist:!0,export:!0,import:"custom",jump:!0,skip:!0,reorder:!0,dispatch:!0,test:!0},connectInZone:!1},p="function"==typeof ze?ze():ze,t=p.features||!!p.logOnly&&{pause:!0,export:!0,test:!0}||q.features;!0===t.import&&(t.import="custom");const y=Object.assign({},q,{features:t},p);if(y.maxAge&&y.maxAge<2)throw new Error(`Devtools 'maxAge' cannot be less than 2, got ${y.maxAge}`);return y}function difference(ze,q){return ze.filter(p=>q.indexOf(p)<0)}function unliftState(ze){const{computedStates:q,currentStateIndex:p}=ze;if(p>=q.length){const{state:t}=q[q.length-1];return t}const{state:e}=q[p];return e}function unliftAction(ze){return ze.actionsById[ze.nextActionId-1]}function liftAction(ze){return new PerformAction(ze,+Date.now())}function sanitizeActions(ze,q){return Object.keys(q).reduce((p,e)=>{const t=Number(e);return p[t]=sanitizeAction(ze,q[t],t),p},{})}function sanitizeAction(ze,q,p){return{...q,action:ze(q.action,p)}}function sanitizeStates(ze,q){return q.map((p,e)=>({state:sanitizeState(ze,p.state,e),error:p.error}))}function sanitizeState(ze,q,p){return ze(q,p)}function shouldFilterActions(ze){return ze.predicate||ze.actionsSafelist||ze.actionsBlocklist}function filterLiftedState(ze,q,p,e){const t=[],y={},A=[];return ze.stagedActionIds.forEach((l,x)=>{const m=ze.actionsById[l];m&&(x&&isActionFiltered(ze.computedStates[x],m,q,p,e)||(y[l]=m,t.push(l),A.push(ze.computedStates[x])))}),{...ze,stagedActionIds:t,actionsById:y,computedStates:A}}function isActionFiltered(ze,q,p,e,t){const y=p&&!p(ze,q.action),A=e&&!q.action.type.match(e.map(x=>escapeRegExp(x)).join("|")),l=t&&q.action.type.match(t.map(x=>escapeRegExp(x)).join("|"));return y||A||l}function escapeRegExp(ze){return ze.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function injectZoneConfig(ze){return{ngZone:ze?(0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.f3M)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.R0b):null,connectInZone:ze}}let DevtoolsDispatcher=(()=>{class ze extends _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.UO{static#e=this.\u0275fac=(()=>{let p;return function(t){return(p||(p=_angular_core__WEBPACK_IMPORTED_MODULE_0__.n5z(ze)))(t||ze)}})();static#t=this.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:ze,factory:ze.\u0275fac})}return ze})();const ExtensionActionTypes={START:"START",DISPATCH:"DISPATCH",STOP:"STOP",ACTION:"ACTION"},REDUX_DEVTOOLS_EXTENSION=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.OlP("@ngrx/store-devtools Redux Devtools Extension");let DevtoolsExtension=(()=>{class DevtoolsExtension{constructor(ze,q,p){this.config=q,this.dispatcher=p,this.zoneConfig=injectZoneConfig(this.config.connectInZone),this.devtoolsExtension=ze,this.createActionStreams()}notify(ze,q){if(this.devtoolsExtension)if(ze.type===PERFORM_ACTION){if(q.isLocked||q.isPaused)return;const p=unliftState(q);if(shouldFilterActions(this.config)&&isActionFiltered(p,ze,this.config.predicate,this.config.actionsSafelist,this.config.actionsBlocklist))return;const e=this.config.stateSanitizer?sanitizeState(this.config.stateSanitizer,p,q.currentStateIndex):p,t=this.config.actionSanitizer?sanitizeAction(this.config.actionSanitizer,ze,q.nextActionId):ze;this.sendToReduxDevtools(()=>this.extensionConnection.send(t,e))}else{const p={...q,stagedActionIds:q.stagedActionIds,actionsById:this.config.actionSanitizer?sanitizeActions(this.config.actionSanitizer,q.actionsById):q.actionsById,computedStates:this.config.stateSanitizer?sanitizeStates(this.config.stateSanitizer,q.computedStates):q.computedStates};this.sendToReduxDevtools(()=>this.devtoolsExtension.send(null,p,this.getExtensionConfig(this.config)))}}createChangesObservable(){return this.devtoolsExtension?new rxjs__WEBPACK_IMPORTED_MODULE_3__.y(ze=>{const q=this.zoneConfig.connectInZone?this.zoneConfig.ngZone.runOutsideAngular(()=>this.devtoolsExtension.connect(this.getExtensionConfig(this.config))):this.devtoolsExtension.connect(this.getExtensionConfig(this.config));return this.extensionConnection=q,q.init(),q.subscribe(p=>ze.next(p)),q.unsubscribe}):rxjs__WEBPACK_IMPORTED_MODULE_2__.E}createActionStreams(){const ze=this.createChangesObservable().pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.B)()),q=ze.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(l=>l.type===ExtensionActionTypes.START)),p=ze.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(l=>l.type===ExtensionActionTypes.STOP)),e=ze.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)(x=>x.type===_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.wb),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.V)(1e3),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.b)(1e3),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(()=>l),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.K)(()=>(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.of)(l)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.q)(1)):(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.of)(l))),y=ze.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(l=>l.type===ExtensionActionTypes.ACTION),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(l=>this.unwrapAction(l.payload))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.R)(p)),A=e.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.R)(p));this.start$=q.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.R)(p)),this.actions$=this.start$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.w)(()=>y)),this.liftedActions$=this.start$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.w)(()=>A))}unwrapAction(action){return"string"==typeof action?eval(`(${action})`):action}getExtensionConfig(ze){const q={name:ze.name,features:ze.features,serialize:ze.serialize,autoPause:ze.autoPause??!1,trace:ze.trace??!1,traceLimit:ze.traceLimit??75};return!1!==ze.maxAge&&(q.maxAge=ze.maxAge),q}sendToReduxDevtools(ze){try{ze()}catch(q){console.warn("@ngrx/store-devtools: something went wrong inside the redux devtools",q)}}static#_=this.\u0275fac=function ze(q){return new(q||DevtoolsExtension)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(REDUX_DEVTOOLS_EXTENSION),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(STORE_DEVTOOLS_CONFIG),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(DevtoolsDispatcher))};static#_2=this.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:DevtoolsExtension,factory:DevtoolsExtension.\u0275fac})}return DevtoolsExtension})();const INIT_ACTION={type:_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.qg},RECOMPUTE="@ngrx/store-devtools/recompute",RECOMPUTE_ACTION={type:RECOMPUTE};function computeNextEntry(ze,q,p,e,t){if(e)return{state:p,error:"Interrupted by an error up the chain"};let A,y=p;try{y=ze(p,q)}catch(l){A=l.toString(),t.handleError(l)}return{state:y,error:A}}function recomputeStates(ze,q,p,e,t,y,A,l,x){if(q>=ze.length&&ze.length===y.length)return ze;const m=ze.slice(0,q),P=y.length-(x?1:0);for(let d=q;d<P;d++){const E=y[d],M=t[E].action,I=m[d-1],k=I?I.state:e,V=I?I.error:void 0,W=A.indexOf(E)>-1?I:computeNextEntry(p,M,k,V,l);m.push(W)}return x&&m.push(ze[ze.length-1]),m}function liftInitialState(ze,q){return{monitorState:q(void 0,{}),nextActionId:1,actionsById:{0:liftAction(INIT_ACTION)},stagedActionIds:[0],skippedActionIds:[],committedState:ze,currentStateIndex:0,computedStates:[],isLocked:!1,isPaused:!1}}function liftReducerWith(ze,q,p,e,t={}){return y=>(A,l)=>{let{monitorState:x,actionsById:m,nextActionId:P,stagedActionIds:d,skippedActionIds:E,committedState:M,currentStateIndex:I,computedStates:k,isLocked:V,isPaused:B}=A||q;function W(X){let ie=X,ae=d.slice(1,ie+1);for(let fe=0;fe<ae.length;fe++){if(k[fe+1].error){ie=fe,ae=d.slice(1,ie+1);break}delete m[ae[fe]]}E=E.filter(fe=>-1===ae.indexOf(fe)),d=[0,...d.slice(ie+1)],M=k[ie].state,k=k.slice(ie),I=I>ie?I-ie:0}function j(){m={0:liftAction(INIT_ACTION)},P=1,d=[0],E=[],M=k[I].state,I=0,k=[]}A||(m=Object.create(m));let K=0;switch(l.type){case LOCK_CHANGES:V=l.status,K=1/0;break;case PAUSE_RECORDING:B=l.status,B?(d=[...d,P],m[P]=new PerformAction({type:"@ngrx/devtools/pause"},+Date.now()),P++,K=d.length-1,k=k.concat(k[k.length-1]),I===d.length-2&&I++,K=1/0):j();break;case RESET:m={0:liftAction(INIT_ACTION)},P=1,d=[0],E=[],M=ze,I=0,k=[];break;case COMMIT:j();break;case ROLLBACK:m={0:liftAction(INIT_ACTION)},P=1,d=[0],E=[],I=0,k=[];break;case TOGGLE_ACTION:{const{id:X}=l;E=-1===E.indexOf(X)?[X,...E]:E.filter(ae=>ae!==X),K=d.indexOf(X);break}case SET_ACTIONS_ACTIVE:{const{start:X,end:ie,active:ae}=l,fe=[];for(let se=X;se<ie;se++)fe.push(se);E=ae?difference(E,fe):[...E,...fe],K=d.indexOf(X);break}case JUMP_TO_STATE:I=l.index,K=1/0;break;case JUMP_TO_ACTION:{const X=d.indexOf(l.actionId);-1!==X&&(I=X),K=1/0;break}case SWEEP:d=difference(d,E),E=[],I=Math.min(I,d.length-1);break;case PERFORM_ACTION:{if(V)return A||q;if(B||A&&isActionFiltered(A.computedStates[I],l,t.predicate,t.actionsSafelist,t.actionsBlocklist)){const ie=k[k.length-1];k=[...k.slice(0,-1),computeNextEntry(y,l.action,ie.state,ie.error,p)],K=1/0;break}t.maxAge&&d.length===t.maxAge&&W(1),I===d.length-1&&I++;const X=P++;m[X]=l,d=[...d,X],K=d.length-1;break}case IMPORT_STATE:({monitorState:x,actionsById:m,nextActionId:P,stagedActionIds:d,skippedActionIds:E,committedState:M,currentStateIndex:I,computedStates:k,isLocked:V,isPaused:B}=l.nextLiftedState);break;case _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.qg:K=0,t.maxAge&&d.length>t.maxAge&&(k=recomputeStates(k,K,y,M,m,d,E,p,B),W(d.length-t.maxAge),K=1/0);break;case _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.wb:if(k.filter(ie=>ie.error).length>0)K=0,t.maxAge&&d.length>t.maxAge&&(k=recomputeStates(k,K,y,M,m,d,E,p,B),W(d.length-t.maxAge),K=1/0);else{if(!B&&!V){I===d.length-1&&I++;const ie=P++;m[ie]=new PerformAction(l,+Date.now()),d=[...d,ie],K=d.length-1,k=recomputeStates(k,K,y,M,m,d,E,p,B)}k=k.map(ie=>({...ie,state:y(ie.state,RECOMPUTE_ACTION)})),I=d.length-1,t.maxAge&&d.length>t.maxAge&&W(d.length-t.maxAge),K=1/0}break;default:K=1/0}return k=recomputeStates(k,K,y,M,m,d,E,p,B),x=e(x,l),{monitorState:x,actionsById:m,nextActionId:P,stagedActionIds:d,skippedActionIds:E,committedState:M,currentStateIndex:I,computedStates:k,isLocked:V,isPaused:B}}}let StoreDevtools=(()=>{class ze{constructor(p,e,t,y,A,l,x,m){const P=liftInitialState(x,m.monitor),d=liftReducerWith(x,P,l,m.monitor,m),E=(0,rxjs__WEBPACK_IMPORTED_MODULE_15__.T)((0,rxjs__WEBPACK_IMPORTED_MODULE_15__.T)(e.asObservable().pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_16__.T)(1)),y.actions$).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(liftAction)),p,y.liftedActions$).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.Q)(rxjs__WEBPACK_IMPORTED_MODULE_18__.N)),M=t.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(d)),I=injectZoneConfig(m.connectInZone),k=new rxjs__WEBPACK_IMPORTED_MODULE_19__.t(1);this.liftedStateSubscription=E.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.M)(M),emitInZone(I),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.R)(({state:W},[j,K])=>{let X=K(W,j);return j.type!==PERFORM_ACTION&&shouldFilterActions(m)&&(X=filterLiftedState(X,m.predicate,m.actionsSafelist,m.actionsBlocklist)),y.notify(j,X),{state:X,action:j}},{state:P,action:null})).subscribe(({state:W,action:j})=>{k.next(W),j.type===PERFORM_ACTION&&A.next(j.action)}),this.extensionStartSubscription=y.start$.pipe(emitInZone(I)).subscribe(()=>{this.refresh()});const V=k.asObservable(),B=V.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(unliftState));Object.defineProperty(B,"state",{value:(0,_angular_core_rxjs_interop__WEBPACK_IMPORTED_MODULE_22__.O4)(B,{manualCleanup:!0,requireSync:!0})}),this.dispatcher=p,this.liftedState=V,this.state=B}ngOnDestroy(){this.liftedStateSubscription.unsubscribe(),this.extensionStartSubscription.unsubscribe()}dispatch(p){this.dispatcher.next(p)}next(p){this.dispatcher.next(p)}error(p){}complete(){}performAction(p){this.dispatch(new PerformAction(p,+Date.now()))}refresh(){this.dispatch(new Refresh)}reset(){this.dispatch(new Reset(+Date.now()))}rollback(){this.dispatch(new Rollback(+Date.now()))}commit(){this.dispatch(new Commit(+Date.now()))}sweep(){this.dispatch(new Sweep)}toggleAction(p){this.dispatch(new ToggleAction(p))}jumpToAction(p){this.dispatch(new JumpToAction(p))}jumpToState(p){this.dispatch(new JumpToState(p))}importState(p){this.dispatch(new ImportState(p))}lockChanges(p){this.dispatch(new LockChanges(p))}pauseRecording(p){this.dispatch(new PauseRecording(p))}static#e=this.\u0275fac=function(e){return new(e||ze)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(DevtoolsDispatcher),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.UO),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.n$),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(DevtoolsExtension),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.Y$),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_angular_core__WEBPACK_IMPORTED_MODULE_0__.qLn),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.Y6),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(STORE_DEVTOOLS_CONFIG))};static#t=this.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:ze,factory:ze.\u0275fac})}return ze})();function emitInZone({ngZone:ze,connectInZone:q}){return p=>q?new rxjs__WEBPACK_IMPORTED_MODULE_3__.y(e=>p.subscribe({next:t=>ze.run(()=>e.next(t)),error:t=>ze.run(()=>e.error(t)),complete:()=>ze.run(()=>e.complete())})):p}const IS_EXTENSION_OR_MONITOR_PRESENT=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.OlP("@ngrx/store-devtools Is Devtools Extension or Monitor Present");function createIsExtensionOrMonitorPresent(ze,q){return!!ze||q.monitor!==noMonitor}function createReduxDevtoolsExtension(){const ze="__REDUX_DEVTOOLS_EXTENSION__";return"object"==typeof window&&typeof window[ze]<"u"?window[ze]:null}function provideStoreDevtools(ze={}){return(0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.MR2)([DevtoolsExtension,DevtoolsDispatcher,StoreDevtools,{provide:INITIAL_OPTIONS,useValue:ze},{provide:IS_EXTENSION_OR_MONITOR_PRESENT,deps:[REDUX_DEVTOOLS_EXTENSION,STORE_DEVTOOLS_CONFIG],useFactory:createIsExtensionOrMonitorPresent},{provide:REDUX_DEVTOOLS_EXTENSION,useFactory:createReduxDevtoolsExtension},{provide:STORE_DEVTOOLS_CONFIG,deps:[INITIAL_OPTIONS],useFactory:createConfig},{provide:_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.FR,deps:[StoreDevtools],useFactory:createStateObservable},{provide:_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.mK,useExisting:DevtoolsDispatcher}])}function createStateObservable(ze){return ze.state}let StoreDevtoolsModule=(()=>{class ze{static instrument(p={}){return{ngModule:ze,providers:[provideStoreDevtools(p)]}}static#e=this.\u0275fac=function(e){return new(e||ze)};static#t=this.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_0__.oAB({type:ze});static#i=this.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_0__.cJS({})}return ze})()},4221:(ze,q,p)=>{"use strict";p.d(q,{UO:()=>ue,qg:()=>$,Y6:()=>f,mK:()=>wt,n$:()=>We,Y$:()=>Be,FR:()=>$e,yh:()=>Et,CK:()=>Dr,Aw:()=>Qr,cr:()=>ia,wb:()=>mt,PH:()=>B,ZF:()=>Jt,Lq:()=>rn,P1:()=>At,on:()=>Gi,Ky:()=>W});var e=p(9212),t=p(5619),y=p(5592),A=p(8645),l=p(2381),x=p(3093),m=p(2460),P=p(6699),d=p(7398),M=p(3997),I=p(1993);const k={};function B(jt,wi){if(k[jt]=(k[jt]||0)+1,"function"==typeof wi)return K(jt,(...yi)=>({...wi(...yi),type:jt}));switch(wi?wi._as:"empty"){case"empty":return K(jt,()=>({type:jt}));case"props":return K(jt,yi=>({...yi,type:jt}));default:throw new Error("Unexpected config.")}}function W(){return{_as:"props",_p:void 0}}function K(jt,wi){return Object.defineProperty(wi,"type",{value:jt,writable:!1})}const $="@ngrx/store/init";let ue=(()=>{class jt extends t.X{constructor(){super({type:$})}next(pi){if("function"==typeof pi)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 pi>"u")throw new TypeError("Actions must be objects");if(typeof pi.type>"u")throw new TypeError("Actions must have a type property");super.next(pi)}complete(){}ngOnDestroy(){super.complete()}static#e=this.\u0275fac=function(yi){return new(yi||jt)};static#t=this.\u0275prov=e.Yz7({token:jt,factory:jt.\u0275fac})}return jt})();const S=[ue],n=new e.OlP("@ngrx/store Internal Root Guard"),s=new e.OlP("@ngrx/store Internal Initial State"),f=new e.OlP("@ngrx/store Initial State"),h=new e.OlP("@ngrx/store Reducer Factory"),w=new e.OlP("@ngrx/store Internal Reducer Factory Provider"),D=new e.OlP("@ngrx/store Initial Reducers"),O=new e.OlP("@ngrx/store Internal Initial Reducers"),v=new e.OlP("@ngrx/store Store Features"),r=new e.OlP("@ngrx/store Internal Store Reducers"),g=new e.OlP("@ngrx/store Internal Feature Reducers"),H=new e.OlP("@ngrx/store Internal Feature Configs"),N=new e.OlP("@ngrx/store Internal Store Features"),ee=new e.OlP("@ngrx/store Internal Feature Reducers Token"),De=new e.OlP("@ngrx/store Feature Reducers"),ot=new e.OlP("@ngrx/store User Provided Meta Reducers"),je=new e.OlP("@ngrx/store Meta Reducers"),Je=new e.OlP("@ngrx/store Internal Resolved Meta Reducers"),ye=new e.OlP("@ngrx/store User Runtime Checks Config"),me=new e.OlP("@ngrx/store Internal User Runtime Checks Config"),he=new e.OlP("@ngrx/store Internal Runtime Checks"),xe=new e.OlP("@ngrx/store Check if Action types are unique");function qe(jt,wi={}){const pi=Object.keys(jt),yi={};for(let $i=0;$i<pi.length;$i++){const xn=pi[$i];"function"==typeof jt[xn]&&(yi[xn]=jt[xn])}const Ui=Object.keys(yi);return function(xn,jn){xn=void 0===xn?wi:xn;let Hn=!1;const Er={};for(let tr=0;tr<Ui.length;tr++){const Cr=Ui[tr],ga=xn[Cr],ca=(0,yi[Cr])(ga,jn);Er[Cr]=ca,Hn=Hn||ca!==ga}return Hn?Er:xn}}function ve(...jt){return function(wi){if(0===jt.length)return wi;const pi=jt[jt.length-1];return jt.slice(0,-1).reduceRight((Ui,$i)=>$i(Ui),pi(wi))}}function le(jt,wi){return Array.isArray(wi)&&wi.length>0&&(jt=ve.apply(null,[...wi,jt])),(pi,yi)=>{const Ui=jt(pi);return($i,xn)=>Ui($i=void 0===$i?yi:$i,xn)}}new e.OlP("@ngrx/store Root Store Provider"),new e.OlP("@ngrx/store Feature State Provider");class We extends y.y{}class wt extends ue{}const mt="@ngrx/store/update-reducers";let kt=(()=>{class jt extends t.X{get currentReducers(){return this.reducers}constructor(pi,yi,Ui,$i){super($i(Ui,yi)),this.dispatcher=pi,this.initialState=yi,this.reducers=Ui,this.reducerFactory=$i}addFeature(pi){this.addFeatures([pi])}addFeatures(pi){const yi=pi.reduce((Ui,{reducers:$i,reducerFactory:xn,metaReducers:jn,initialState:Hn,key:Er})=>{const tr="function"==typeof $i?function Ge(jt){const wi=Array.isArray(jt)&&jt.length>0?ve(...jt):pi=>pi;return(pi,yi)=>(pi=wi(pi),(Ui,$i)=>pi(Ui=void 0===Ui?yi:Ui,$i))}(jn)($i,Hn):le(xn,jn)($i,Hn);return Ui[Er]=tr,Ui},{});this.addReducers(yi)}removeFeature(pi){this.removeFeatures([pi])}removeFeatures(pi){this.removeReducers(pi.map(yi=>yi.key))}addReducer(pi,yi){this.addReducers({[pi]:yi})}addReducers(pi){this.reducers={...this.reducers,...pi},this.updateReducers(Object.keys(pi))}removeReducer(pi){this.removeReducers([pi])}removeReducers(pi){pi.forEach(yi=>{this.reducers=function oe(jt,wi){return Object.keys(jt).filter(pi=>pi!==wi).reduce((pi,yi)=>Object.assign(pi,{[yi]:jt[yi]}),{})}(this.reducers,yi)}),this.updateReducers(pi)}updateReducers(pi){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:mt,features:pi})}ngOnDestroy(){this.complete()}static#e=this.\u0275fac=function(yi){return new(yi||jt)(e.LFG(wt),e.LFG(f),e.LFG(D),e.LFG(h))};static#t=this.\u0275prov=e.Yz7({token:jt,factory:jt.\u0275fac})}return jt})();const Ae=[kt,{provide:We,useExisting:kt},{provide:wt,useExisting:ue}];let Be=(()=>{class jt extends A.x{ngOnDestroy(){this.complete()}static#e=this.\u0275fac=(()=>{let pi;return function(Ui){return(pi||(pi=e.n5z(jt)))(Ui||jt)}})();static#t=this.\u0275prov=e.Yz7({token:jt,factory:jt.\u0275fac})}return jt})();const it=[Be];class $e extends y.y{}let ke=(()=>{class jt extends t.X{static#e=this.INIT=$;constructor(pi,yi,Ui,$i){super($i);const Er=pi.pipe((0,x.Q)(l.N)).pipe((0,m.M)(yi)).pipe((0,P.R)(st,{state:$i}));this.stateSubscription=Er.subscribe(({state:tr,action:Cr})=>{this.next(tr),Ui.next(Cr)}),this.state=(0,I.O4)(this,{manualCleanup:!0,requireSync:!0})}ngOnDestroy(){this.stateSubscription.unsubscribe(),this.complete()}static#t=this.\u0275fac=function(yi){return new(yi||jt)(e.LFG(ue),e.LFG(We),e.LFG(Be),e.LFG(f))};static#i=this.\u0275prov=e.Yz7({token:jt,factory:jt.\u0275fac})}return jt})();function st(jt={state:void 0},[wi,pi]){const{state:yi}=jt;return{state:pi(yi,wi),action:wi}}const Ke=[ke,{provide:$e,useExisting:ke}];let Et=(()=>{class jt extends y.y{constructor(pi,yi,Ui){super(),this.actionsObserver=yi,this.reducerManager=Ui,this.source=pi,this.state=pi.state}select(pi,...yi){return te.call(null,pi,...yi)(this)}selectSignal(pi,yi){return(0,e.Flj)(()=>pi(this.state()),yi)}lift(pi){const yi=new jt(this,this.actionsObserver,this.reducerManager);return yi.operator=pi,yi}dispatch(pi){this.actionsObserver.next(pi)}next(pi){this.actionsObserver.next(pi)}error(pi){this.actionsObserver.error(pi)}complete(){this.actionsObserver.complete()}addReducer(pi,yi){this.reducerManager.addReducer(pi,yi)}removeReducer(pi){this.reducerManager.removeReducer(pi)}static#e=this.\u0275fac=function(yi){return new(yi||jt)(e.LFG($e),e.LFG(ue),e.LFG(kt))};static#t=this.\u0275prov=e.Yz7({token:jt,factory:jt.\u0275fac})}return jt})();const ct=[Et];function te(jt,wi,...pi){return function(Ui){let $i;if("string"==typeof jt){const xn=[wi,...pi].filter(Boolean);$i=Ui.pipe(function E(...jt){const wi=jt.length;if(0===wi)throw new Error("list of properties cannot be empty.");return(0,d.U)(pi=>{let yi=pi;for(let Ui=0;Ui<wi;Ui++){const $i=yi?.[jt[Ui]];if(!(typeof $i<"u"))return;yi=$i}return yi})}(jt,...xn))}else{if("function"!=typeof jt)throw new TypeError(`Unexpected type '${typeof jt}' in select operator, expected 'string' or 'function'`);$i=Ui.pipe((0,d.U)(xn=>jt(xn,wi)))}return $i.pipe((0,M.x)())}}const Pe="https://ngrx.io/guide/store/configuration/runtime-checks";function $t(jt){return void 0===jt}function Ze(jt){return null===jt}function Qe(jt){return Array.isArray(jt)}function yt(jt){return"object"==typeof jt&&null!==jt}function tt(jt){return"function"==typeof jt}let gt=!1;function J(jt,wi){return jt===wi}function Nt(jt,wi=J,pi=J){let $i,yi=null,Ui=null;return{memoized:function Er(){if(void 0!==$i)return $i.result;if(!yi)return Ui=jt.apply(null,arguments),yi=arguments,Ui;if(!function re(jt,wi,pi){for(let yi=0;yi<jt.length;yi++)if(!pi(jt[yi],wi[yi]))return!0;return!1}(arguments,yi,wi))return Ui;const tr=jt.apply(null,arguments);return yi=arguments,pi(Ui,tr)?Ui:(Ui=tr,tr)},reset:function xn(){yi=null,Ui=null},setResult:function jn(tr=void 0){$i={result:tr}},clearResult:function Hn(){$i=void 0}}}function At(...jt){return function mi(jt,wi={stateFn:Zt}){return function(...pi){let yi=pi;if(Array.isArray(yi[0])){const[tr,...Cr]=yi;yi=[...tr,...Cr]}else 1===yi.length&&function Xt(jt){return!!jt&&"object"==typeof jt&&Object.values(jt).every(wi=>"function"==typeof wi)}(yi[0])&&(yi=function Hi(jt){const wi=Object.values(jt),pi=Object.keys(jt);return[...wi,(...Ui)=>pi.reduce(($i,xn,jn)=>({...$i,[xn]:Ui[jn]}),{})]}(yi[0]));const Ui=yi.slice(0,yi.length-1),$i=yi[yi.length-1],xn=Ui.filter(tr=>tr.release&&"function"==typeof tr.release),jn=jt(function(...tr){return $i.apply(null,tr)}),Hn=Nt(function(tr,Cr){return wi.stateFn.apply(null,[tr,Ui,Cr,jn])});return Object.assign(Hn.memoized,{release:function Er(){Hn.reset(),jn.reset(),xn.forEach(tr=>tr.release())},projector:jn.memoized,setResult:Hn.setResult,clearResult:Hn.clearResult})}}(Nt)(...jt)}function Zt(jt,wi,pi,yi){if(void 0===pi){const $i=wi.map(xn=>xn(jt));return yi.memoized.apply(null,$i)}const Ui=wi.map($i=>$i(jt,pi));return yi.memoized.apply(null,[...Ui,pi])}function Jt(jt){return At(wi=>{const pi=wi[jt];return!function be(){return gt}()&&(0,e.X6Q)()&&!(jt in wi)&&console.warn(`@ngrx/store: The feature name "${jt}" does not exist in the state, therefore createFeatureSelector cannot access it. Be sure it is imported in a loaded module using StoreModule.forRoot('${jt}', ...) or StoreModule.forFeature('${jt}', ...). If the default state is intended to be undefined, as is the case with router state, this development-only warning message can be ignored.`),pi},wi=>wi)}function Qi(jt){return jt instanceof e.OlP?(0,e.f3M)(jt):jt}function xi(jt,wi){return wi.map((pi,yi)=>{if(jt[yi]instanceof e.OlP){const Ui=(0,e.f3M)(jt[yi]);return{key:pi.key,reducerFactory:Ui.reducerFactory?Ui.reducerFactory:qe,metaReducers:Ui.metaReducers?Ui.metaReducers:[],initialState:Ui.initialState}}return pi})}function sn(jt){return jt.map(wi=>wi instanceof e.OlP?(0,e.f3M)(wi):wi)}function at(jt){return"function"==typeof jt?jt():jt}function oi(jt,wi){return jt.concat(wi)}function Ce(){if((0,e.f3M)(Et,{optional:!0,skipSelf:!0}))throw new TypeError("The root Store has been provided more than once. Feature modules should provide feature states instead.");return"guarded"}function Ft(jt){Object.freeze(jt);const wi=tt(jt);return Object.getOwnPropertyNames(jt).forEach(pi=>{if(!pi.startsWith("\u0275")&&function Xe(jt,wi){return Object.prototype.hasOwnProperty.call(jt,wi)}(jt,pi)&&(!wi||"caller"!==pi&&"callee"!==pi&&"arguments"!==pi)){const yi=jt[pi];(yt(yi)||tt(yi))&&!Object.isFrozen(yi)&&Ft(yi)}}),jt}function It(jt,wi=[]){return($t(jt)||Ze(jt))&&0===wi.length?{path:["root"],value:jt}:Object.keys(jt).reduce((yi,Ui)=>{if(yi)return yi;const $i=jt[Ui];return function Ue(jt){return tt(jt)&&jt.hasOwnProperty("\u0275cmp")}($i)?yi:!($t($i)||Ze($i)||function Ot(jt){return"number"==typeof jt}($i)||function xt(jt){return"boolean"==typeof jt}($i)||function zt(jt){return"string"==typeof jt}($i)||Qe($i))&&(function Ee(jt){if(!function nt(jt){return yt(jt)&&!Qe(jt)}(jt))return!1;const wi=Object.getPrototypeOf(jt);return wi===Object.prototype||null===wi}($i)?It($i,[...wi,Ui]):{path:[...wi,Ui],value:$i})},!1)}function Ut(jt,wi){if(!1===jt)return;const pi=jt.path.join("."),yi=new Error(`Detected unserializable ${wi} at "${pi}". ${Pe}#strict${wi}serializability`);throw yi.value=jt.value,yi.unserializablePath=pi,yi}function _i(jt){return(0,e.X6Q)()?{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!0,strictActionImmutability:!0,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1,...jt}:{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1}}function bi({strictActionSerializability:jt,strictStateSerializability:wi}){return pi=>jt||wi?function Dt(jt,wi){return function(pi,yi){wi.action(yi)&&Ut(It(yi),"action");const Ui=jt(pi,yi);return wi.state()&&Ut(It(Ui),"state"),Ui}}(pi,{action:yi=>jt&&!Bi(yi),state:()=>wi}):pi}function Oi({strictActionImmutability:jt,strictStateImmutability:wi}){return pi=>jt||wi?function St(jt,wi){return function(pi,yi){const Ui=wi.action(yi)?Ft(yi):yi,$i=jt(pi,Ui);return wi.state()?Ft($i):$i}}(pi,{action:yi=>jt&&!Bi(yi),state:()=>wi}):pi}function Bi(jt){return jt.type.startsWith("@ngrx")}function Vi({strictActionWithinNgZone:jt}){return wi=>jt?function ai(jt,wi){return function(pi,yi){if(wi.action(yi)&&!e.R0b.isInAngularZone())throw new Error(`Action '${yi.type}' running outside NgZone. ${Pe}#strictactionwithinngzone`);return jt(pi,yi)}}(wi,{action:pi=>jt&&!Bi(pi)}):wi}function Kt(jt){return[{provide:me,useValue:jt},{provide:ye,useFactory:ne,deps:[me]},{provide:he,deps:[ye],useFactory:_i},{provide:je,multi:!0,deps:[he],useFactory:Oi},{provide:je,multi:!0,deps:[he],useFactory:bi},{provide:je,multi:!0,deps:[he],useFactory:Vi}]}function vi(){return[{provide:xe,multi:!0,deps:[he],useFactory:lt}]}function ne(jt){return jt}function lt(jt){if(!jt.strictActionTypeUniqueness)return;const wi=Object.entries(k).filter(([,pi])=>pi>1).map(([pi])=>pi);if(wi.length)throw new Error(`Action types are registered more than once, ${wi.map(pi=>`"${pi}"`).join(", ")}. ${Pe}#strictactiontypeuniqueness`)}function Ct(jt={},wi={}){return[{provide:n,useFactory:Ce},{provide:s,useValue:wi.initialState},{provide:f,useFactory:at,deps:[s]},{provide:O,useValue:jt},{provide:r,useExisting:jt instanceof e.OlP?jt:O},{provide:D,deps:[O,[new e.tBr(r)]],useFactory:Qi},{provide:ot,useValue:wi.metaReducers?wi.metaReducers:[]},{provide:Je,deps:[je,ot],useFactory:oi},{provide:w,useValue:wi.reducerFactory?wi.reducerFactory:qe},{provide:h,deps:[w,Je],useFactory:le},S,Ae,it,Ke,ct,Kt(wi.runtimeChecks),vi()]}function pr(jt,wi,pi={}){return[{provide:H,multi:!0,useValue:jt instanceof Object?{}:pi},{provide:v,multi:!0,useValue:{key:jt instanceof Object?jt.name:jt,reducerFactory:pi instanceof e.OlP||!pi.reducerFactory?qe:pi.reducerFactory,metaReducers:pi instanceof e.OlP||!pi.metaReducers?[]:pi.metaReducers,initialState:pi instanceof e.OlP||!pi.initialState?void 0:pi.initialState}},{provide:N,deps:[H,v],useFactory:xi},{provide:g,multi:!0,useValue:jt instanceof Object?jt.reducer:wi},{provide:ee,multi:!0,useExisting:wi instanceof e.OlP?wi:g},{provide:De,multi:!0,deps:[g,[new e.tBr(ee)]],useFactory:sn},vi()]}let ia=(()=>{class jt{constructor(pi,yi,Ui,$i,xn,jn){}static#e=this.\u0275fac=function(yi){return new(yi||jt)(e.LFG(ue),e.LFG(We),e.LFG(Be),e.LFG(Et),e.LFG(n,8),e.LFG(xe,8))};static#t=this.\u0275mod=e.oAB({type:jt});static#i=this.\u0275inj=e.cJS({})}return jt})(),Dr=(()=>{class jt{constructor(pi,yi,Ui,$i,xn){this.features=pi,this.featureReducers=yi,this.reducerManager=Ui;const jn=pi.map((Hn,Er)=>{const Cr=yi.shift()[Er];return{...Hn,reducers:Cr,initialState:at(Hn.initialState)}});Ui.addFeatures(jn)}ngOnDestroy(){this.reducerManager.removeFeatures(this.features)}static#e=this.\u0275fac=function(yi){return new(yi||jt)(e.LFG(N),e.LFG(De),e.LFG(kt),e.LFG(ia),e.LFG(xe,8))};static#t=this.\u0275mod=e.oAB({type:jt});static#i=this.\u0275inj=e.cJS({})}return jt})(),Qr=(()=>{class jt{static forRoot(pi,yi){return{ngModule:ia,providers:[...Ct(pi,yi)]}}static forFeature(pi,yi,Ui={}){return{ngModule:Dr,providers:[...pr(pi,yi,Ui)]}}static#e=this.\u0275fac=function(yi){return new(yi||jt)};static#t=this.\u0275mod=e.oAB({type:jt});static#i=this.\u0275inj=e.cJS({})}return jt})();function Gi(...jt){return{reducer:jt.pop(),types:jt.map(yi=>yi.type)}}function rn(jt,...wi){const pi=new Map;for(const yi of wi)for(const Ui of yi.types){const $i=pi.get(Ui);pi.set(Ui,$i?(jn,Hn)=>yi.reducer($i(jn,Hn),Hn):yi.reducer)}return function(yi=jt,Ui){const $i=pi.get(Ui.type);return $i?$i(yi,Ui):yi}}},25:(ze,q,p)=>{"use strict";p.d(q,{H5:()=>od,K$:()=>Rp,a4:()=>hf});var e=p(9212),t=p(6814),y=p(7582),A=p(8484),l=p(2438),x=p(3620),m=p(6825);function P(){}function d(u){return null==u?P:function(){return this.querySelector(u)}}function I(){return[]}function k(u){return null==u?I:function(){return this.querySelectorAll(u)}}function W(u){return function(){return this.matches(u)}}function j(u){return function(L){return L.matches(u)}}var K=Array.prototype.find;function ie(){return this.firstElementChild}var fe=Array.prototype.filter;function se(){return Array.from(this.children)}function S(u){return new Array(u.length)}function s(u,L){this.ownerDocument=u.ownerDocument,this.namespaceURI=u.namespaceURI,this._next=null,this._parent=u,this.__data__=L}function h(u,L,o,C,U,Y){for(var et,Te=0,Wt=L.length,Gt=Y.length;Te<Gt;++Te)(et=L[Te])?(et.__data__=Y[Te],C[Te]=et):o[Te]=new s(u,Y[Te]);for(;Te<Wt;++Te)(et=L[Te])&&(U[Te]=et)}function w(u,L,o,C,U,Y,Te){var et,Wt,ki,Gt=new Map,si=L.length,gi=Y.length,Ci=new Array(si);for(et=0;et<si;++et)(Wt=L[et])&&(Ci[et]=ki=Te.call(Wt,Wt.__data__,et,L)+"",Gt.has(ki)?U[et]=Wt:Gt.set(ki,Wt));for(et=0;et<gi;++et)ki=Te.call(u,Y[et],et,Y)+"",(Wt=Gt.get(ki))?(C[et]=Wt,Wt.__data__=Y[et],Gt.delete(ki)):o[et]=new s(u,Y[et]);for(et=0;et<si;++et)(Wt=L[et])&&Gt.get(Ci[et])===Wt&&(U[et]=Wt)}function D(u){return u.__data__}function v(u){return"object"==typeof u&&"length"in u?u:Array.from(u)}function De(u,L){return u<L?-1:u>L?1:u>=L?0:NaN}s.prototype={constructor:s,appendChild:function(u){return this._parent.insertBefore(u,this._next)},insertBefore:function(u,L){return this._parent.insertBefore(u,L)},querySelector:function(u){return this._parent.querySelector(u)},querySelectorAll:function(u){return this._parent.querySelectorAll(u)}};var xe="http://www.w3.org/1999/xhtml";const de={svg:"http://www.w3.org/2000/svg",xhtml:xe,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function ge(u){var L=u+="",o=L.indexOf(":");return o>=0&&"xmlns"!==(L=u.slice(0,o))&&(u=u.slice(o+1)),de.hasOwnProperty(L)?{space:de[L],local:u}:u}function qe(u){return function(){this.removeAttribute(u)}}function oe(u){return function(){this.removeAttributeNS(u.space,u.local)}}function ve(u,L){return function(){this.setAttribute(u,L)}}function le(u,L){return function(){this.setAttributeNS(u.space,u.local,L)}}function Ge(u,L){return function(){var o=L.apply(this,arguments);null==o?this.removeAttribute(u):this.setAttribute(u,o)}}function We(u,L){return function(){var o=L.apply(this,arguments);null==o?this.removeAttributeNS(u.space,u.local):this.setAttributeNS(u.space,u.local,o)}}function mt(u){return u.ownerDocument&&u.ownerDocument.defaultView||u.document&&u||u.defaultView}function kt(u){return function(){this.style.removeProperty(u)}}function Ae(u,L,o){return function(){this.style.setProperty(u,L,o)}}function Be(u,L,o){return function(){var C=L.apply(this,arguments);null==C?this.style.removeProperty(u):this.style.setProperty(u,C,o)}}function $e(u,L){return u.style.getPropertyValue(L)||mt(u).getComputedStyle(u,null).getPropertyValue(L)}function ke(u){return function(){delete this[u]}}function st(u,L){return function(){this[u]=L}}function Ke(u,L){return function(){var o=L.apply(this,arguments);null==o?delete this[u]:this[u]=o}}function ct(u){return u.trim().split(/^|\s+/)}function te(u){return u.classList||new Pe(u)}function Pe(u){this._node=u,this._names=ct(u.getAttribute("class")||"")}function $t(u,L){for(var o=te(u),C=-1,U=L.length;++C<U;)o.add(L[C])}function Ze(u,L){for(var o=te(u),C=-1,U=L.length;++C<U;)o.remove(L[C])}function Qe(u){return function(){$t(this,u)}}function zt(u){return function(){Ze(this,u)}}function xt(u,L){return function(){(L.apply(this,arguments)?$t:Ze)(this,u)}}function yt(){this.textContent=""}function nt(u){return function(){this.textContent=u}}function Ee(u){return function(){var L=u.apply(this,arguments);this.textContent=L??""}}function Ue(){this.innerHTML=""}function Xe(u){return function(){this.innerHTML=u}}function gt(u){return function(){var L=u.apply(this,arguments);this.innerHTML=L??""}}function be(){this.nextSibling&&this.parentNode.appendChild(this)}function re(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function Nt(u){return function(){var L=this.ownerDocument,o=this.namespaceURI;return o===xe&&L.documentElement.namespaceURI===xe?L.createElement(u):L.createElementNS(o,u)}}function At(u){return function(){return this.ownerDocument.createElementNS(u.space,u.local)}}function Zt(u){var L=ge(u);return(L.local?At:Nt)(L)}function Jt(){return null}function Hi(){var u=this.parentNode;u&&u.removeChild(this)}function hi(){var u=this.cloneNode(!1),L=this.parentNode;return L?L.insertBefore(u,this.nextSibling):u}function un(){var u=this.cloneNode(!0),L=this.parentNode;return L?L.insertBefore(u,this.nextSibling):u}function oi(u){return function(){var L=this.__on;if(L){for(var Y,o=0,C=-1,U=L.length;o<U;++o)Y=L[o],u.type&&Y.type!==u.type||Y.name!==u.name?L[++C]=Y:this.removeEventListener(Y.type,Y.listener,Y.options);++C?L.length=C:delete this.__on}}}function Ce(u,L,o){return function(){var U,C=this.__on,Y=function sn(u){return function(L){u.call(this,L,this.__data__)}}(L);if(C)for(var Te=0,et=C.length;Te<et;++Te)if((U=C[Te]).type===u.type&&U.name===u.name)return this.removeEventListener(U.type,U.listener,U.options),this.addEventListener(U.type,U.listener=Y,U.options=o),void(U.value=L);this.addEventListener(u.type,Y,o),U={type:u.type,name:u.name,value:L,listener:Y,options:o},C?C.push(U):this.__on=[U]}}function Ft(u,L,o){var C=mt(u),U=C.CustomEvent;"function"==typeof U?U=new U(L,o):(U=C.document.createEvent("Event"),o?(U.initEvent(L,o.bubbles,o.cancelable),U.detail=o.detail):U.initEvent(L,!1,!1)),u.dispatchEvent(U)}function Dt(u,L){return function(){return Ft(this,u,L)}}function It(u,L){return function(){return Ft(this,u,L.apply(this,arguments))}}Pe.prototype={add:function(u){this._names.indexOf(u)<0&&(this._names.push(u),this._node.setAttribute("class",this._names.join(" ")))},remove:function(u){var L=this._names.indexOf(u);L>=0&&(this._names.splice(L,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(u){return this._names.indexOf(u)>=0}};var _i=[null];function bi(u,L){this._groups=u,this._parents=L}function Oi(){return new bi([[document.documentElement]],_i)}bi.prototype=Oi.prototype={constructor:bi,select:function E(u){"function"!=typeof u&&(u=d(u));for(var L=this._groups,o=L.length,C=new Array(o),U=0;U<o;++U)for(var Wt,Gt,Y=L[U],Te=Y.length,et=C[U]=new Array(Te),si=0;si<Te;++si)(Wt=Y[si])&&(Gt=u.call(Wt,Wt.__data__,si,Y))&&("__data__"in Wt&&(Gt.__data__=Wt.__data__),et[si]=Gt);return new bi(C,this._parents)},selectAll:function B(u){u="function"==typeof u?function V(u){return function(){return function M(u){return null==u?[]:Array.isArray(u)?u:Array.from(u)}(u.apply(this,arguments))}}(u):k(u);for(var L=this._groups,o=L.length,C=[],U=[],Y=0;Y<o;++Y)for(var Wt,Te=L[Y],et=Te.length,Gt=0;Gt<et;++Gt)(Wt=Te[Gt])&&(C.push(u.call(Wt,Wt.__data__,Gt,Te)),U.push(Wt));return new bi(C,U)},selectChild:function ae(u){return this.select(null==u?ie:function X(u){return function(){return K.call(this.children,u)}}("function"==typeof u?u:j(u)))},selectChildren:function $(u){return this.selectAll(null==u?se:function Me(u){return function(){return fe.call(this.children,u)}}("function"==typeof u?u:j(u)))},filter:function ue(u){"function"!=typeof u&&(u=W(u));for(var L=this._groups,o=L.length,C=new Array(o),U=0;U<o;++U)for(var Wt,Y=L[U],Te=Y.length,et=C[U]=[],Gt=0;Gt<Te;++Gt)(Wt=Y[Gt])&&u.call(Wt,Wt.__data__,Gt,Y)&&et.push(Wt);return new bi(C,this._parents)},data:function O(u,L){if(!arguments.length)return Array.from(this,D);var o=L?w:h,C=this._parents,U=this._groups;"function"!=typeof u&&(u=function f(u){return function(){return u}}(u));for(var Y=U.length,Te=new Array(Y),et=new Array(Y),Wt=new Array(Y),Gt=0;Gt<Y;++Gt){var si=C[Gt],gi=U[Gt],Ci=gi.length,ki=v(u.call(si,si&&si.__data__,Gt,C)),an=ki.length,En=et[Gt]=new Array(an),Pi=Te[Gt]=new Array(an);o(si,gi,En,Pi,Wt[Gt]=new Array(Ci),ki,L);for(var Yn,Un,Rn=0,mn=0;Rn<an;++Rn)if(Yn=En[Rn]){for(Rn>=mn&&(mn=Rn+1);!(Un=Pi[mn])&&++mn<an;);Yn._next=Un||null}}return(Te=new bi(Te,C))._enter=et,Te._exit=Wt,Te},enter:function n(){return new bi(this._enter||this._groups.map(S),this._parents)},exit:function r(){return new bi(this._exit||this._groups.map(S),this._parents)},join:function g(u,L,o){var C=this.enter(),U=this,Y=this.exit();return"function"==typeof u?(C=u(C))&&(C=C.selection()):C=C.append(u+""),null!=L&&(U=L(U))&&(U=U.selection()),null==o?Y.remove():o(Y),C&&U?C.merge(U).order():U},merge:function H(u){for(var L=u.selection?u.selection():u,o=this._groups,C=L._groups,U=o.length,Te=Math.min(U,C.length),et=new Array(U),Wt=0;Wt<Te;++Wt)for(var ki,Gt=o[Wt],si=C[Wt],gi=Gt.length,Ci=et[Wt]=new Array(gi),an=0;an<gi;++an)(ki=Gt[an]||si[an])&&(Ci[an]=ki);for(;Wt<U;++Wt)et[Wt]=o[Wt];return new bi(et,this._parents)},selection:function Bi(){return this},order:function N(){for(var u=this._groups,L=-1,o=u.length;++L<o;)for(var Te,C=u[L],U=C.length-1,Y=C[U];--U>=0;)(Te=C[U])&&(Y&&4^Te.compareDocumentPosition(Y)&&Y.parentNode.insertBefore(Te,Y),Y=Te);return this},sort:function ee(u){function L(gi,Ci){return gi&&Ci?u(gi.__data__,Ci.__data__):!gi-!Ci}u||(u=De);for(var o=this._groups,C=o.length,U=new Array(C),Y=0;Y<C;++Y){for(var Gt,Te=o[Y],et=Te.length,Wt=U[Y]=new Array(et),si=0;si<et;++si)(Gt=Te[si])&&(Wt[si]=Gt);Wt.sort(L)}return new bi(U,this._parents).order()},call:function ot(){var u=arguments[0];return arguments[0]=this,u.apply(null,arguments),this},nodes:function je(){return Array.from(this)},node:function Je(){for(var u=this._groups,L=0,o=u.length;L<o;++L)for(var C=u[L],U=0,Y=C.length;U<Y;++U){var Te=C[U];if(Te)return Te}return null},size:function ye(){let u=0;for(const L of this)++u;return u},empty:function me(){return!this.node()},each:function he(u){for(var L=this._groups,o=0,C=L.length;o<C;++o)for(var et,U=L[o],Y=0,Te=U.length;Y<Te;++Y)(et=U[Y])&&u.call(et,et.__data__,Y,U);return this},attr:function wt(u,L){var o=ge(u);if(arguments.length<2){var C=this.node();return o.local?C.getAttributeNS(o.space,o.local):C.getAttribute(o)}return this.each((null==L?o.local?oe:qe:"function"==typeof L?o.local?We:Ge:o.local?le:ve)(o,L))},style:function it(u,L,o){return arguments.length>1?this.each((null==L?kt:"function"==typeof L?Be:Ae)(u,L,o??"")):$e(this.node(),u)},property:function Et(u,L){return arguments.length>1?this.each((null==L?ke:"function"==typeof L?Ke:st)(u,L)):this.node()[u]},classed:function Ot(u,L){var o=ct(u+"");if(arguments.length<2){for(var C=te(this.node()),U=-1,Y=o.length;++U<Y;)if(!C.contains(o[U]))return!1;return!0}return this.each(("function"==typeof L?xt:L?Qe:zt)(o,L))},text:function tt(u){return arguments.length?this.each(null==u?yt:("function"==typeof u?Ee:nt)(u)):this.node().textContent},html:function Le(u){return arguments.length?this.each(null==u?Ue:("function"==typeof u?gt:Xe)(u)):this.node().innerHTML},raise:function J(){return this.each(be)},lower:function Ie(){return this.each(re)},append:function mi(u){var L="function"==typeof u?u:Zt(u);return this.select(function(){return this.appendChild(L.apply(this,arguments))})},insert:function Xt(u,L){var o="function"==typeof u?u:Zt(u),C=null==L?Jt:"function"==typeof L?L:d(L);return this.select(function(){return this.insertBefore(o.apply(this,arguments),C.apply(this,arguments)||null)})},remove:function li(){return this.each(Hi)},clone:function Qi(u){return this.select(u?un:hi)},datum:function xi(u){return arguments.length?this.property("__data__",u):this.node().__data__},on:function St(u,L,o){var U,Te,C=function at(u){return u.trim().split(/^|\s+/).map(function(L){var o="",C=L.indexOf(".");return C>=0&&(o=L.slice(C+1),L=L.slice(0,C)),{type:L,name:o}})}(u+""),Y=C.length;if(!(arguments.length<2)){for(et=L?Ce:oi,U=0;U<Y;++U)this.each(et(C[U],L,o));return this}var et=this.node().__on;if(et)for(var si,Wt=0,Gt=et.length;Wt<Gt;++Wt)for(U=0,si=et[Wt];U<Y;++U)if((Te=C[U]).type===si.type&&Te.name===si.name)return si.value},dispatch:function Ut(u,L){return this.each(("function"==typeof L?It:Dt)(u,L))},[Symbol.iterator]:function*ai(){for(var u=this._groups,L=0,o=u.length;L<o;++L)for(var Te,C=u[L],U=0,Y=C.length;U<Y;++U)(Te=C[U])&&(yield Te)}};const Vi=Oi;var vi={value:()=>{}};function ne(){for(var C,u=0,L=arguments.length,o={};u<L;++u){if(!(C=arguments[u]+"")||C in o||/[\s.]/.test(C))throw new Error("illegal type: "+C);o[C]=[]}return new lt(o)}function lt(u){this._=u}function Ct(u,L){for(var U,o=0,C=u.length;o<C;++o)if((U=u[o]).name===L)return U.value}function Ht(u,L,o){for(var C=0,U=u.length;C<U;++C)if(u[C].name===L){u[C]=vi,u=u.slice(0,C).concat(u.slice(C+1));break}return null!=o&&u.push({name:L,value:o}),u}lt.prototype=ne.prototype={constructor:lt,on:function(u,L){var U,o=this._,C=function Oe(u,L){return u.trim().split(/^|\s+/).map(function(o){var C="",U=o.indexOf(".");if(U>=0&&(C=o.slice(U+1),o=o.slice(0,U)),o&&!L.hasOwnProperty(o))throw new Error("unknown type: "+o);return{type:o,name:C}})}(u+"",o),Y=-1,Te=C.length;if(!(arguments.length<2)){if(null!=L&&"function"!=typeof L)throw new Error("invalid callback: "+L);for(;++Y<Te;)if(U=(u=C[Y]).type)o[U]=Ht(o[U],u.name,L);else if(null==L)for(U in o)o[U]=Ht(o[U],u.name,null);return this}for(;++Y<Te;)if((U=(u=C[Y]).type)&&(U=Ct(o[U],u.name)))return U},copy:function(){var u={},L=this._;for(var o in L)u[o]=L[o].slice();return new lt(u)},call:function(u,L){if((U=arguments.length-2)>0)for(var U,Y,o=new Array(U),C=0;C<U;++C)o[C]=arguments[C+2];if(!this._.hasOwnProperty(u))throw new Error("unknown type: "+u);for(C=0,U=(Y=this._[u]).length;C<U;++C)Y[C].value.apply(L,o)},apply:function(u,L,o){if(!this._.hasOwnProperty(u))throw new Error("unknown type: "+u);for(var C=this._[u],U=0,Y=C.length;U<Y;++U)C[U].value.apply(L,o)}};const Ii=ne;function Qr(u,L,o){u.prototype=L.prototype=o,o.constructor=u}function Gi(u,L){var o=Object.create(u.prototype);for(var C in L)o[C]=L[C];return o}function rn(){}var wi=1/.7,pi="\\s*([+-]?\\d+)\\s*",yi="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Ui="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",$i=/^#([0-9a-f]{3,8})$/,xn=new RegExp(`^rgb\\(${pi},${pi},${pi}\\)$`),jn=new RegExp(`^rgb\\(${Ui},${Ui},${Ui}\\)$`),Hn=new RegExp(`^rgba\\(${pi},${pi},${pi},${yi}\\)$`),Er=new RegExp(`^rgba\\(${Ui},${Ui},${Ui},${yi}\\)$`),tr=new RegExp(`^hsl\\(${yi},${Ui},${Ui}\\)$`),Cr=new RegExp(`^hsla\\(${yi},${Ui},${Ui},${yi}\\)$`),sa={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 ga(){return this.rgb().formatHex()}function gr(){return this.rgb().formatRgb()}function Lr(u){var L,o;return u=(u+"").trim().toLowerCase(),(L=$i.exec(u))?(o=L[1].length,L=parseInt(L[1],16),6===o?Kn(L):3===o?new Ir(L>>8&15|L>>4&240,L>>4&15|240&L,(15&L)<<4|15&L,1):8===o?_a(L>>24&255,L>>16&255,L>>8&255,(255&L)/255):4===o?_a(L>>12&15|L>>8&240,L>>8&15|L>>4&240,L>>4&15|240&L,((15&L)<<4|15&L)/255):null):(L=xn.exec(u))?new Ir(L[1],L[2],L[3],1):(L=jn.exec(u))?new Ir(255*L[1]/100,255*L[2]/100,255*L[3]/100,1):(L=Hn.exec(u))?_a(L[1],L[2],L[3],L[4]):(L=Er.exec(u))?_a(255*L[1]/100,255*L[2]/100,255*L[3]/100,L[4]):(L=tr.exec(u))?Gn(L[1],L[2]/100,L[3]/100,1):(L=Cr.exec(u))?Gn(L[1],L[2]/100,L[3]/100,L[4]):sa.hasOwnProperty(u)?Kn(sa[u]):"transparent"===u?new Ir(NaN,NaN,NaN,0):null}function Kn(u){return new Ir(u>>16&255,u>>8&255,255&u,1)}function _a(u,L,o,C){return C<=0&&(u=L=o=NaN),new Ir(u,L,o,C)}function va(u,L,o,C){return 1===arguments.length?function Ga(u){return u instanceof rn||(u=Lr(u)),u?new Ir((u=u.rgb()).r,u.g,u.b,u.opacity):new Ir}(u):new Ir(u,L,o,C??1)}function Ir(u,L,o,C){this.r=+u,this.g=+L,this.b=+o,this.opacity=+C}function la(){return`#${fr(this.r)}${fr(this.g)}${fr(this.b)}`}function qr(){const u=Ma(this.opacity);return`${1===u?"rgb(":"rgba("}${Or(this.r)}, ${Or(this.g)}, ${Or(this.b)}${1===u?")":`, ${u})`}`}function Ma(u){return isNaN(u)?1:Math.max(0,Math.min(1,u))}function Or(u){return Math.max(0,Math.min(255,Math.round(u)||0))}function fr(u){return((u=Or(u))<16?"0":"")+u.toString(16)}function Gn(u,L,o,C){return C<=0?u=L=o=NaN:o<=0||o>=1?u=L=NaN:L<=0&&(u=NaN),new Tr(u,L,o,C)}function Sa(u){if(u instanceof Tr)return new Tr(u.h,u.s,u.l,u.opacity);if(u instanceof rn||(u=Lr(u)),!u)return new Tr;if(u instanceof Tr)return u;var L=(u=u.rgb()).r/255,o=u.g/255,C=u.b/255,U=Math.min(L,o,C),Y=Math.max(L,o,C),Te=NaN,et=Y-U,Wt=(Y+U)/2;return et?(Te=L===Y?(o-C)/et+6*(o<C):o===Y?(C-L)/et+2:(L-o)/et+4,et/=Wt<.5?Y+U:2-Y-U,Te*=60):et=Wt>0&&Wt<1?0:Te,new Tr(Te,et,Wt,u.opacity)}function Tr(u,L,o,C){this.h=+u,this.s=+L,this.l=+o,this.opacity=+C}function qo(u){return(u=(u||0)%360)<0?u+360:u}function na(u){return Math.max(0,Math.min(1,u||0))}function Na(u,L,o){return 255*(u<60?L+(o-L)*u/60:u<180?o:u<240?L+(o-L)*(240-u)/60:L)}function Ha(u,L,o,C,U){var Y=u*u,Te=Y*u;return((1-3*u+3*Y-Te)*L+(4-6*Y+3*Te)*o+(1+3*u+3*Y-3*Te)*C+Te*U)/6}Qr(rn,Lr,{copy(u){return Object.assign(new this.constructor,this,u)},displayable(){return this.rgb().displayable()},hex:ga,formatHex:ga,formatHex8:function ca(){return this.rgb().formatHex8()},formatHsl:function Ua(){return Sa(this).formatHsl()},formatRgb:gr,toString:gr}),Qr(Ir,va,Gi(rn,{brighter(u){return u=null==u?wi:Math.pow(wi,u),new Ir(this.r*u,this.g*u,this.b*u,this.opacity)},darker(u){return u=null==u?.7:Math.pow(.7,u),new Ir(this.r*u,this.g*u,this.b*u,this.opacity)},rgb(){return this},clamp(){return new Ir(Or(this.r),Or(this.g),Or(this.b),Ma(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:la,formatHex:la,formatHex8:function So(){return`#${fr(this.r)}${fr(this.g)}${fr(this.b)}${fr(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:qr,toString:qr})),Qr(Tr,function io(u,L,o,C){return 1===arguments.length?Sa(u):new Tr(u,L,o,C??1)},Gi(rn,{brighter(u){return u=null==u?wi:Math.pow(wi,u),new Tr(this.h,this.s,this.l*u,this.opacity)},darker(u){return u=null==u?.7:Math.pow(.7,u),new Tr(this.h,this.s,this.l*u,this.opacity)},rgb(){var u=this.h%360+360*(this.h<0),L=isNaN(u)||isNaN(this.s)?0:this.s,o=this.l,C=o+(o<.5?o:1-o)*L,U=2*o-C;return new Ir(Na(u>=240?u-240:u+120,U,C),Na(u,U,C),Na(u<120?u+240:u-120,U,C),this.opacity)},clamp(){return new Tr(qo(this.h),na(this.s),na(this.l),Ma(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const u=Ma(this.opacity);return`${1===u?"hsl(":"hsla("}${qo(this.h)}, ${100*na(this.s)}%, ${100*na(this.l)}%${1===u?")":`, ${u})`}`}}));const Eo=u=>()=>u;function Ho(u,L){var o=L-u;return o?function _o(u,L){return function(o){return u+o*L}}(u,o):Eo(isNaN(u)?L:u)}const Za=function u(L){var o=function ba(u){return 1==(u=+u)?Ho:function(L,o){return o-L?function Xr(u,L,o){return u=Math.pow(u,o),L=Math.pow(L,o)-u,o=1/o,function(C){return Math.pow(u+C*L,o)}}(L,o,u):Eo(isNaN(L)?o:L)}}(L);function C(U,Y){var Te=o((U=va(U)).r,(Y=va(Y)).r),et=o(U.g,Y.g),Wt=o(U.b,Y.b),Gt=Ho(U.opacity,Y.opacity);return function(si){return U.r=Te(si),U.g=et(si),U.b=Wt(si),U.opacity=Gt(si),U+""}}return C.gamma=u,C}(1);function Jr(u){return function(L){var Te,et,o=L.length,C=new Array(o),U=new Array(o),Y=new Array(o);for(Te=0;Te<o;++Te)et=va(L[Te]),C[Te]=et.r||0,U[Te]=et.g||0,Y[Te]=et.b||0;return C=u(C),U=u(U),Y=u(Y),et.opacity=1,function(Wt){return et.r=C(Wt),et.g=U(Wt),et.b=Y(Wt),et+""}}}function Xa(u,L){var Te,o=L?L.length:0,C=u?Math.min(o,u.length):0,U=new Array(C),Y=new Array(o);for(Te=0;Te<C;++Te)U[Te]=Zi(u[Te],L[Te]);for(;Te<o;++Te)Y[Te]=L[Te];return function(et){for(Te=0;Te<C;++Te)Y[Te]=U[Te](et);return Y}}function ao(u,L){var o=new Date;return u=+u,L=+L,function(C){return o.setTime(u*(1-C)+L*C),o}}function Wr(u,L){return u=+u,L=+L,function(o){return u*(1-o)+L*o}}function Fo(u,L){var U,o={},C={};for(U in(null===u||"object"!=typeof u)&&(u={}),(null===L||"object"!=typeof L)&&(L={}),L)U in u?o[U]=Zi(u[U],L[U]):C[U]=L[U];return function(Y){for(U in o)C[U]=o[U](Y);return C}}Jr(function go(u){var L=u.length-1;return function(o){var C=o<=0?o=0:o>=1?(o=1,L-1):Math.floor(o*L),U=u[C],Y=u[C+1];return Ha((o-C/L)*L,C>0?u[C-1]:2*U-Y,U,Y,C<L-1?u[C+2]:2*Y-U)}}),Jr(function no(u){var L=u.length;return function(o){var C=Math.floor(((o%=1)<0?++o:o)*L);return Ha((o-C/L)*L,u[(C+L-1)%L],u[C%L],u[(C+1)%L],u[(C+2)%L])}});var vo=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Ao=new RegExp(vo.source,"g");function Mt(u,L){var C,U,Y,o=vo.lastIndex=Ao.lastIndex=0,Te=-1,et=[],Wt=[];for(u+="",L+="";(C=vo.exec(u))&&(U=Ao.exec(L));)(Y=U.index)>o&&(Y=L.slice(o,Y),et[Te]?et[Te]+=Y:et[++Te]=Y),(C=C[0])===(U=U[0])?et[Te]?et[Te]+=U:et[++Te]=U:(et[++Te]=null,Wt.push({i:Te,x:Wr(C,U)})),o=Ao.lastIndex;return o<L.length&&(Y=L.slice(o),et[Te]?et[Te]+=Y:et[++Te]=Y),et.length<2?Wt[0]?function Ti(u){return function(L){return u(L)+""}}(Wt[0].x):function Vt(u){return function(){return u}}(L):(L=Wt.length,function(Gt){for(var gi,si=0;si<L;++si)et[(gi=Wt[si]).i]=gi.x(Gt);return et.join("")})}function ii(u,L){L||(L=[]);var U,o=u?Math.min(L.length,u.length):0,C=L.slice();return function(Y){for(U=0;U<o;++U)C[U]=u[U]*(1-Y)+L[U]*Y;return C}}function Zi(u,L){var C,o=typeof L;return null==L||"boolean"===o?Eo(L):("number"===o?Wr:"string"===o?(C=Lr(L))?(L=C,Za):Mt:L instanceof Lr?Za:L instanceof Date?ao:function Si(u){return ArrayBuffer.isView(u)&&!(u instanceof DataView)}(L)?ii:Array.isArray(L)?Xa:"function"!=typeof L.valueOf&&"function"!=typeof L.toString||isNaN(L)?Fo:Wr)(u,L)}var bt,Ve,Yr=0,on=0,Wa=0,ht=1e3,vt=0,qt=0,Fi=0,Cn="object"==typeof performance&&performance.now?performance:Date,Mr="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(u){setTimeout(u,17)};function Ea(){return qt||(Mr(bo),qt=Cn.now()+Fi)}function bo(){qt=0}function Vn(){this._call=this._time=this._next=null}function zi(u,L,o){var C=new Vn;return C.restart(u,L,o),C}function Ln(){qt=(vt=Cn.now())+Fi,Yr=on=0;try{!function oo(){Ea(),++Yr;for(var L,u=bt;u;)(L=qt-u._time)>=0&&u._call.call(void 0,L),u=u._next;--Yr}()}finally{Yr=0,function Ts(){for(var u,o,L=bt,C=1/0;L;)L._call?(C>L._time&&(C=L._time),u=L,L=L._next):(o=L._next,L._next=null,L=u?u._next=o:bt=o);Ve=u,yo(C)}(),qt=0}}function Yi(){var u=Cn.now(),L=u-vt;L>ht&&(Fi-=L,vt=u)}function yo(u){Yr||(on&&(on=clearTimeout(on)),u-qt>24?(u<1/0&&(on=setTimeout(Ln,u-Cn.now()-Fi)),Wa&&(Wa=clearInterval(Wa))):(Wa||(vt=Cn.now(),Wa=setInterval(Yi,ht)),Yr=1,Mr(Ln)))}function br(u,L,o){var C=new Vn;return C.restart(U=>{C.stop(),u(U+L)},L=null==L?0:+L,o),C}Vn.prototype=zi.prototype={constructor:Vn,restart:function(u,L,o){if("function"!=typeof u)throw new TypeError("callback is not a function");o=(null==o?Ea():+o)+(null==L?0:+L),!this._next&&Ve!==this&&(Ve?Ve._next=this:bt=this,Ve=this),this._call=u,this._time=o,yo()},stop:function(){this._call&&(this._call=null,this._time=1/0,yo())}};var Do=Ii("start","end","cancel","interrupt"),Ya=[],Ta=0,so=3;function Xo(u,L,o,C,U,Y){var Te=u.__transition;if(Te){if(o in Te)return}else u.__transition={};!function ss(u,L,o){var U,C=u.__transition;function Te(Gt){var si,gi,Ci,ki;if(1!==o.state)return Wt();for(si in C)if((ki=C[si]).name===o.name){if(ki.state===so)return br(Te);4===ki.state?(ki.state=6,ki.timer.stop(),ki.on.call("interrupt",u,u.__data__,ki.index,ki.group),delete C[si]):+si<L&&(ki.state=6,ki.timer.stop(),ki.on.call("cancel",u,u.__data__,ki.index,ki.group),delete C[si])}if(br(function(){o.state===so&&(o.state=4,o.timer.restart(et,o.delay,o.time),et(Gt))}),o.state=2,o.on.call("start",u,u.__data__,o.index,o.group),2===o.state){for(o.state=so,U=new Array(Ci=o.tween.length),si=0,gi=-1;si<Ci;++si)(ki=o.tween[si].value.call(u,u.__data__,o.index,o.group))&&(U[++gi]=ki);U.length=gi+1}}function et(Gt){for(var si=Gt<o.duration?o.ease.call(null,Gt/o.duration):(o.timer.restart(Wt),o.state=5,1),gi=-1,Ci=U.length;++gi<Ci;)U[gi].call(u,si);5===o.state&&(o.on.call("end",u,u.__data__,o.index,o.group),Wt())}function Wt(){for(var Gt in o.state=6,o.timer.stop(),delete C[L],C)return;delete u.__transition}C[L]=o,o.timer=zi(function Y(Gt){o.state=1,o.timer.restart(Te,o.delay,o.time),o.delay<=Gt&&Te(Gt-o.delay)},0,o.time)}(u,o,{name:L,index:C,group:U,on:Do,tween:Ya,time:Y.time,delay:Y.delay,duration:Y.duration,ease:Y.ease,timer:null,state:Ta})}function os(u,L){var o=Aa(u,L);if(o.state>Ta)throw new Error("too late; already scheduled");return o}function dr(u,L){var o=Aa(u,L);if(o.state>so)throw new Error("too late; already running");return o}function Aa(u,L){var o=u.__transition;if(!o||!(o=o[L]))throw new Error("transition not found");return o}var Vo,ua=180/Math.PI,Pr={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Ls(u,L,o,C,U,Y){var Te,et,Wt;return(Te=Math.sqrt(u*u+L*L))&&(u/=Te,L/=Te),(Wt=u*o+L*C)&&(o-=u*Wt,C-=L*Wt),(et=Math.sqrt(o*o+C*C))&&(o/=et,C/=et,Wt/=et),u*C<L*o&&(u=-u,L=-L,Wt=-Wt,Te=-Te),{translateX:U,translateY:Y,rotate:Math.atan2(L,u)*ua,skewX:Math.atan(Wt)*ua,scaleX:Te,scaleY:et}}function Jn(u,L,o,C){function U(Gt){return Gt.length?Gt.pop()+" ":""}return function(Gt,si){var gi=[],Ci=[];return Gt=u(Gt),si=u(si),function Y(Gt,si,gi,Ci,ki,an){if(Gt!==gi||si!==Ci){var En=ki.push("translate(",null,L,null,o);an.push({i:En-4,x:Wr(Gt,gi)},{i:En-2,x:Wr(si,Ci)})}else(gi||Ci)&&ki.push("translate("+gi+L+Ci+o)}(Gt.translateX,Gt.translateY,si.translateX,si.translateY,gi,Ci),function Te(Gt,si,gi,Ci){Gt!==si?(Gt-si>180?si+=360:si-Gt>180&&(Gt+=360),Ci.push({i:gi.push(U(gi)+"rotate(",null,C)-2,x:Wr(Gt,si)})):si&&gi.push(U(gi)+"rotate("+si+C)}(Gt.rotate,si.rotate,gi,Ci),function et(Gt,si,gi,Ci){Gt!==si?Ci.push({i:gi.push(U(gi)+"skewX(",null,C)-2,x:Wr(Gt,si)}):si&&gi.push(U(gi)+"skewX("+si+C)}(Gt.skewX,si.skewX,gi,Ci),function Wt(Gt,si,gi,Ci,ki,an){if(Gt!==gi||si!==Ci){var En=ki.push(U(ki)+"scale(",null,",",null,")");an.push({i:En-4,x:Wr(Gt,gi)},{i:En-2,x:Wr(si,Ci)})}else(1!==gi||1!==Ci)&&ki.push(U(ki)+"scale("+gi+","+Ci+")")}(Gt.scaleX,Gt.scaleY,si.scaleX,si.scaleY,gi,Ci),Gt=si=null,function(ki){for(var Pi,an=-1,En=Ci.length;++an<En;)gi[(Pi=Ci[an]).i]=Pi.x(ki);return gi.join("")}}}var en=Jn(function Us(u){const L=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(u+"");return L.isIdentity?Pr:Ls(L.a,L.b,L.c,L.d,L.e,L.f)},"px, ","px)","deg)"),Fr=Jn(function co(u){return null!=u&&(Vo||(Vo=document.createElementNS("http://www.w3.org/2000/svg","g")),Vo.setAttribute("transform",u),u=Vo.transform.baseVal.consolidate())?Ls((u=u.matrix).a,u.b,u.c,u.d,u.e,u.f):Pr},", ",")",")");function $r(u,L){var o,C;return function(){var U=dr(this,u),Y=U.tween;if(Y!==o)for(var Te=0,et=(C=o=Y).length;Te<et;++Te)if(C[Te].name===L){(C=C.slice()).splice(Te,1);break}U.tween=C}}function Xi(u,L,o){var C,U;if("function"!=typeof o)throw new Error;return function(){var Y=dr(this,u),Te=Y.tween;if(Te!==C){U=(C=Te).slice();for(var et={name:L,value:o},Wt=0,Gt=U.length;Wt<Gt;++Wt)if(U[Wt].name===L){U[Wt]=et;break}Wt===Gt&&U.push(et)}Y.tween=U}}function ra(u,L,o){var C=u._id;return u.each(function(){var U=dr(this,C);(U.value||(U.value={}))[L]=o.apply(this,arguments)}),function(U){return Aa(U,C).value[L]}}function mc(u,L){var o;return("number"==typeof L?Wr:L instanceof Lr?Za:(o=Lr(L))?(L=o,Za):Mt)(u,L)}function zc(u){return function(){this.removeAttribute(u)}}function pl(u){return function(){this.removeAttributeNS(u.space,u.local)}}function Is(u,L,o){var C,Y,U=o+"";return function(){var Te=this.getAttribute(u);return Te===U?null:Te===C?Y:Y=L(C=Te,o)}}function Sn(u,L,o){var C,Y,U=o+"";return function(){var Te=this.getAttributeNS(u.space,u.local);return Te===U?null:Te===C?Y:Y=L(C=Te,o)}}function Se(u,L,o){var C,U,Y;return function(){var Te,Wt,et=o(this);return null==et?void this.removeAttribute(u):(Te=this.getAttribute(u))===(Wt=et+"")?null:Te===C&&Wt===U?Y:(U=Wt,Y=L(C=Te,et))}}function dt(u,L,o){var C,U,Y;return function(){var Te,Wt,et=o(this);return null==et?void this.removeAttributeNS(u.space,u.local):(Te=this.getAttributeNS(u.space,u.local))===(Wt=et+"")?null:Te===C&&Wt===U?Y:(U=Wt,Y=L(C=Te,et))}}function Ne(u,L){var o,C;function U(){var Y=L.apply(this,arguments);return Y!==C&&(o=(C=Y)&&function ti(u,L){return function(o){this.setAttributeNS(u.space,u.local,L.call(this,o))}}(u,Y)),o}return U._value=L,U}function ft(u,L){var o,C;function U(){var Y=L.apply(this,arguments);return Y!==C&&(o=(C=Y)&&function ut(u,L){return function(o){this.setAttribute(u,L.call(this,o))}}(u,Y)),o}return U._value=L,U}function Pt(u,L){return function(){os(this,u).delay=+L.apply(this,arguments)}}function Qt(u,L){return L=+L,function(){os(this,u).delay=L}}function ci(u,L){return function(){dr(this,u).duration=+L.apply(this,arguments)}}function Ei(u,L){return L=+L,function(){dr(this,u).duration=L}}var Bn=Vi.prototype.constructor;function Sr(u){return function(){this.style.removeProperty(u)}}var Pn=0;function Uo(u,L,o,C){this._groups=u,this._parents=L,this._name=o,this._id=C}function f1(){return++Pn}var ys=Vi.prototype;Uo.prototype=function Gs(u){return Vi().transition(u)}.prototype={constructor:Uo,select:function Lo(u){var L=this._name,o=this._id;"function"!=typeof u&&(u=d(u));for(var C=this._groups,U=C.length,Y=new Array(U),Te=0;Te<U;++Te)for(var si,gi,et=C[Te],Wt=et.length,Gt=Y[Te]=new Array(Wt),Ci=0;Ci<Wt;++Ci)(si=et[Ci])&&(gi=u.call(si,si.__data__,Ci,et))&&("__data__"in si&&(gi.__data__=si.__data__),Gt[Ci]=gi,Xo(Gt[Ci],L,o,Ci,Gt,Aa(si,o)));return new Uo(Y,this._parents,L,o)},selectAll:function Ja(u){var L=this._name,o=this._id;"function"!=typeof u&&(u=k(u));for(var C=this._groups,U=C.length,Y=[],Te=[],et=0;et<U;++et)for(var si,Wt=C[et],Gt=Wt.length,gi=0;gi<Gt;++gi)if(si=Wt[gi]){for(var ki,Ci=u.call(si,si.__data__,gi,Wt),an=Aa(si,o),En=0,Pi=Ci.length;En<Pi;++En)(ki=Ci[En])&&Xo(ki,L,o,En,Ci,an);Y.push(Ci),Te.push(si)}return new Uo(Y,Te,L,o)},selectChild:ys.selectChild,selectChildren:ys.selectChildren,filter:function Fn(u){"function"!=typeof u&&(u=W(u));for(var L=this._groups,o=L.length,C=new Array(o),U=0;U<o;++U)for(var Wt,Y=L[U],Te=Y.length,et=C[U]=[],Gt=0;Gt<Te;++Gt)(Wt=Y[Gt])&&u.call(Wt,Wt.__data__,Gt,Y)&&et.push(Wt);return new Uo(C,this._parents,this._name,this._id)},merge:function Ar(u){if(u._id!==this._id)throw new Error;for(var L=this._groups,o=u._groups,C=L.length,Y=Math.min(C,o.length),Te=new Array(C),et=0;et<Y;++et)for(var Ci,Wt=L[et],Gt=o[et],si=Wt.length,gi=Te[et]=new Array(si),ki=0;ki<si;++ki)(Ci=Wt[ki]||Gt[ki])&&(gi[ki]=Ci);for(;et<C;++et)Te[et]=L[et];return new Uo(Te,this._parents,this._name,this._id)},selection:function Jo(){return new Bn(this._groups,this._parents)},transition:function Uc(){for(var u=this._name,L=this._id,o=f1(),C=this._groups,U=C.length,Y=0;Y<U;++Y)for(var Wt,Te=C[Y],et=Te.length,Gt=0;Gt<et;++Gt)if(Wt=Te[Gt]){var si=Aa(Wt,L);Xo(Wt,u,o,Gt,Te,{time:si.time+si.delay+si.duration,delay:0,duration:si.duration,ease:si.ease})}return new Uo(C,this._parents,u,o)},call:ys.call,nodes:ys.nodes,node:ys.node,size:ys.size,empty:ys.empty,each:ys.each,on:function aa(u,L){var o=this._id;return arguments.length<2?Aa(this.node(),o).on.on(u):this.each(function fa(u,L,o){var C,U,Y=function zr(u){return(u+"").trim().split(/^|\s+/).every(function(L){var o=L.indexOf(".");return o>=0&&(L=L.slice(0,o)),!L||"start"===L})}(L)?os:dr;return function(){var Te=Y(this,u),et=Te.on;et!==C&&(U=(C=et).copy()).on(L,o),Te.on=U}}(o,u,L))},attr:function Ye(u,L){var o=ge(u),C="transform"===o?Fr:mc;return this.attrTween(u,"function"==typeof L?(o.local?dt:Se)(o,C,ra(this,"attr."+u,L)):null==L?(o.local?pl:zc)(o):(o.local?Sn:Is)(o,C,L))},attrTween:function _t(u,L){var o="attr."+u;if(arguments.length<2)return(o=this.tween(o))&&o._value;if(null==L)return this.tween(o,null);if("function"!=typeof L)throw new Error;var C=ge(u);return this.tween(o,(C.local?Ne:ft)(C,L))},style:function Bo(u,L,o){var C="transform"==(u+="")?en:mc;return null==L?this.styleTween(u,function bs(u,L){var o,C,U;return function(){var Y=$e(this,u),Te=(this.style.removeProperty(u),$e(this,u));return Y===Te?null:Y===o&&Te===C?U:U=L(o=Y,C=Te)}}(u,C)).on("end.style."+u,Sr(u)):"function"==typeof L?this.styleTween(u,function pc(u,L,o){var C,U,Y;return function(){var Te=$e(this,u),et=o(this),Wt=et+"";return null==et&&(this.style.removeProperty(u),Wt=et=$e(this,u)),Te===Wt?null:Te===C&&Wt===U?Y:(U=Wt,Y=L(C=Te,et))}}(u,C,ra(this,"style."+u,L))).each(function ks(u,L){var o,C,U,et,Y="style."+L,Te="end."+Y;return function(){var Wt=dr(this,u),Gt=Wt.on,si=null==Wt.value[Y]?et||(et=Sr(L)):void 0;(Gt!==o||U!==si)&&(C=(o=Gt).copy()).on(Te,U=si),Wt.on=C}}(this._id,u)):this.styleTween(u,function Vc(u,L,o){var C,Y,U=o+"";return function(){var Te=$e(this,u);return Te===U?null:Te===C?Y:Y=L(C=Te,o)}}(u,C,L),o).on("end.style."+u,null)},styleTween:function Bc(u,L,o){var C="style."+(u+="");if(arguments.length<2)return(C=this.tween(C))&&C._value;if(null==L)return this.tween(C,null);if("function"!=typeof L)throw new Error;return this.tween(C,function gl(u,L,o){var C,U;function Y(){var Te=L.apply(this,arguments);return Te!==U&&(C=(U=Te)&&function k2(u,L,o){return function(C){this.style.setProperty(u,L.call(this,C),o)}}(u,Te,o)),C}return Y._value=L,Y}(u,L,o??""))},text:function Os(u){return this.tween("text","function"==typeof u?function Yt(u){return function(){var L=u(this);this.textContent=L??""}}(ra(this,"text",u)):function $o(u){return function(){this.textContent=u}}(null==u?"":u+""))},textTween:function _l(u){var L="text";if(arguments.length<1)return(L=this.tween(L))&&L._value;if(null==u)return this.tween(L,null);if("function"!=typeof u)throw new Error;return this.tween(L,function u1(u){var L,o;function C(){var U=u.apply(this,arguments);return U!==o&&(L=(o=U)&&function Fa(u){return function(L){this.textContent=u.call(this,L)}}(U)),L}return C._value=u,C}(u))},remove:function Rr(){return this.on("end.remove",function Da(u){return function(){var L=this.parentNode;for(var o in this.__transition)if(+o!==u)return;L&&L.removeChild(this)}}(this._id))},tween:function ar(u,L){var o=this._id;if(u+="",arguments.length<2){for(var Te,C=Aa(this.node(),o).tween,U=0,Y=C.length;U<Y;++U)if((Te=C[U]).name===u)return Te.value;return null}return this.each((null==L?$r:Xi)(o,u,L))},delay:function di(u){var L=this._id;return arguments.length?this.each(("function"==typeof u?Pt:Qt)(L,u)):Aa(this.node(),L).delay},duration:function Di(u){var L=this._id;return arguments.length?this.each(("function"==typeof u?ci:Ei)(L,u)):Aa(this.node(),L).duration},ease:function Ji(u){var L=this._id;return arguments.length?this.each(function tn(u,L){if("function"!=typeof L)throw new Error;return function(){dr(this,u).ease=L}}(L,u)):Aa(this.node(),L).ease},easeVarying:function Tn(u){if("function"!=typeof u)throw new Error;return this.each(function fn(u,L){return function(){var o=L.apply(this,arguments);if("function"!=typeof o)throw new Error;dr(this,u).ease=o}}(this._id,u))},end:function vl(){var u,L,o=this,C=o._id,U=o.size();return new Promise(function(Y,Te){var et={value:Te},Wt={value:function(){0==--U&&Y()}};o.each(function(){var Gt=dr(this,C),si=Gt.on;si!==u&&((L=(u=si).copy())._.cancel.push(et),L._.interrupt.push(et),L._.end.push(Wt)),Gt.on=L}),0===U&&Y()})},[Symbol.iterator]:ys[Symbol.iterator]};var O2={time:null,delay:0,duration:250,ease:function Js(u){return((u*=2)<=1?u*u*u:(u-=2)*u*u+2)/2}};function P2(u,L){for(var o;!(o=u.__transition)||!(o=o[L]);)if(!(u=u.parentNode))throw new Error(`transition ${L} not found`);return o}Vi.prototype.interrupt=function Ds(u){return this.each(function(){!function Ki(u,L){var C,U,Te,o=u.__transition,Y=!0;if(o){for(Te in L=null==L?null:L+"",o)(C=o[Te]).name===L?(U=C.state>2&&C.state<5,C.state=6,C.timer.stop(),C.on.call(U?"interrupt":"cancel",u,u.__data__,C.index,C.group),delete o[Te]):Y=!1;Y&&delete u.__transition}}(this,u)})},Vi.prototype.transition=function vd(u){var L,o;u instanceof Uo?(L=u._id,u=u._name):(L=f1(),(o=O2).time=Ea(),u=null==u?null:u+"");for(var C=this._groups,U=C.length,Y=0;Y<U;++Y)for(var Wt,Te=C[Y],et=Te.length,Gt=0;Gt<et;++Gt)(Wt=Te[Gt])&&Xo(Wt,u,L,Gt,Te,o||P2(Wt,L));return new Uo(C,this._parents,u,L)};Math;function _e(u){return{type:u}}function Io(u,L){return null==u||null==L?NaN:u<L?-1:u>L?1:u>=L?0:NaN}function Zs(u,L){return null==u||null==L?NaN:L<u?-1:L>u?1:L>=u?0:NaN}function Co(u){let L,o,C;function U(et,Wt,Gt=0,si=et.length){if(Gt<si){if(0!==L(Wt,Wt))return si;do{const gi=Gt+si>>>1;o(et[gi],Wt)<0?Gt=gi+1:si=gi}while(Gt<si)}return Gt}return 2!==u.length?(L=Io,o=(et,Wt)=>Io(u(et),Wt),C=(et,Wt)=>u(et)-Wt):(L=u===Io||u===Zs?u:Ps,o=u,C=u),{left:U,center:function Te(et,Wt,Gt=0,si=et.length){const gi=U(et,Wt,Gt,si-1);return gi>Gt&&C(et[gi-1],Wt)>-C(et[gi],Wt)?gi-1:gi},right:function Y(et,Wt,Gt=0,si=et.length){if(Gt<si){if(0!==L(Wt,Wt))return si;do{const gi=Gt+si>>>1;o(et[gi],Wt)<=0?Gt=gi+1:si=gi}while(Gt<si)}return Gt}}}function Ps(){return 0}["w","e"].map(_e),["n","s"].map(_e),["n","w","e","s","nw","ne","sw","se"].map(_e);const ls=Math.sqrt(50),lo=Math.sqrt(10),vc=Math.sqrt(2);function Hr(u,L,o){const C=(L-u)/Math.max(0,o),U=Math.floor(Math.log10(C)),Y=C/Math.pow(10,U),Te=Y>=ls?10:Y>=lo?5:Y>=vc?2:1;let et,Wt,Gt;return U<0?(Gt=Math.pow(10,-U)/Te,et=Math.round(u*Gt),Wt=Math.round(L*Gt),et/Gt<u&&++et,Wt/Gt>L&&--Wt,Gt=-Gt):(Gt=Math.pow(10,U)*Te,et=Math.round(u/Gt),Wt=Math.round(L/Gt),et*Gt<u&&++et,Wt*Gt>L&&--Wt),Wt<et&&.5<=o&&o<2?Hr(u,L,2*o):[et,Wt,Gt]}function yd(u,L,o){return Hr(u=+u,L=+L,o=+o)[2]}function p1(u,L,o){o=+o;const C=(L=+L)<(u=+u),U=C?yd(L,u,o):yd(u,L,o);return(C?-1:1)*(U<0?1/-U:U)}const Ws=1e3,es=6e4,Rs=60*es,ds=24*Rs,Ns=7*ds,wl=30*ds,Zc=365*ds,Wc=new Date,Yc=new Date;function La(u,L,o,C){function U(Y){return u(Y=0===arguments.length?new Date:new Date(+Y)),Y}return U.floor=Y=>(u(Y=new Date(+Y)),Y),U.ceil=Y=>(u(Y=new Date(Y-1)),L(Y,1),u(Y),Y),U.round=Y=>{const Te=U(Y),et=U.ceil(Y);return Y-Te<et-Y?Te:et},U.offset=(Y,Te)=>(L(Y=new Date(+Y),null==Te?1:Math.floor(Te)),Y),U.range=(Y,Te,et)=>{const Wt=[];if(Y=U.ceil(Y),et=null==et?1:Math.floor(et),!(Y<Te&&et>0))return Wt;let Gt;do{Wt.push(Gt=new Date(+Y)),L(Y,et),u(Y)}while(Gt<Y&&Y<Te);return Wt},U.filter=Y=>La(Te=>{if(Te>=Te)for(;u(Te),!Y(Te);)Te.setTime(Te-1)},(Te,et)=>{if(Te>=Te)if(et<0)for(;++et<=0;)for(;L(Te,-1),!Y(Te););else for(;--et>=0;)for(;L(Te,1),!Y(Te););}),o&&(U.count=(Y,Te)=>(Wc.setTime(+Y),Yc.setTime(+Te),u(Wc),u(Yc),Math.floor(o(Wc,Yc))),U.every=Y=>(Y=Math.floor(Y),isFinite(Y)&&Y>0?Y>1?U.filter(C?Te=>C(Te)%Y==0:Te=>U.count(0,Te)%Y==0):U:null)),U}const Ml=La(()=>{},(u,L)=>{u.setTime(+u+L)},(u,L)=>L-u);Ml.every=u=>(u=Math.floor(u),isFinite(u)&&u>0?u>1?La(L=>{L.setTime(Math.floor(L/u)*u)},(L,o)=>{L.setTime(+L+o*u)},(L,o)=>(o-L)/u):Ml:null);const jc=La(u=>{u.setTime(u-u.getMilliseconds())},(u,L)=>{u.setTime(+u+L*Ws)},(u,L)=>(L-u)/Ws,u=>u.getUTCSeconds()),bc=La(u=>{u.setTime(u-u.getMilliseconds()-u.getSeconds()*Ws)},(u,L)=>{u.setTime(+u+L*es)},(u,L)=>(L-u)/es,u=>u.getMinutes()),g1=La(u=>{u.setUTCSeconds(0,0)},(u,L)=>{u.setTime(+u+L*es)},(u,L)=>(L-u)/es,u=>u.getUTCMinutes()),xd=La(u=>{u.setTime(u-u.getMilliseconds()-u.getSeconds()*Ws-u.getMinutes()*es)},(u,L)=>{u.setTime(+u+L*Rs)},(u,L)=>(L-u)/Rs,u=>u.getHours()),Oh=La(u=>{u.setUTCMinutes(0,0,0)},(u,L)=>{u.setTime(+u+L*Rs)},(u,L)=>(L-u)/Rs,u=>u.getUTCHours()),Sl=La(u=>u.setHours(0,0,0,0),(u,L)=>u.setDate(u.getDate()+L),(u,L)=>(L-u-(L.getTimezoneOffset()-u.getTimezoneOffset())*es)/ds,u=>u.getDate()-1),v1=(La(u=>{u.setUTCHours(0,0,0,0)},(u,L)=>{u.setUTCDate(u.getUTCDate()+L)},(u,L)=>(L-u)/ds,u=>u.getUTCDate()-1),La(u=>{u.setUTCHours(0,0,0,0)},(u,L)=>{u.setUTCDate(u.getUTCDate()+L)},(u,L)=>(L-u)/ds,u=>Math.floor(u/ds)));function Qc(u){return La(L=>{L.setDate(L.getDate()-(L.getDay()+7-u)%7),L.setHours(0,0,0,0)},(L,o)=>{L.setDate(L.getDate()+7*o)},(L,o)=>(o-L-(o.getTimezoneOffset()-L.getTimezoneOffset())*es)/Ns)}const Tl=Qc(0);function ec(u){return La(L=>{L.setUTCDate(L.getUTCDate()-(L.getUTCDay()+7-u)%7),L.setUTCHours(0,0,0,0)},(L,o)=>{L.setUTCDate(L.getUTCDate()+7*o)},(L,o)=>(o-L)/Ns)}Qc(1),Qc(2),Qc(3),Qc(4),Qc(5),Qc(6);const z2=ec(0),Dl=(ec(1),ec(2),ec(3),ec(4),ec(5),ec(6),La(u=>{u.setDate(1),u.setHours(0,0,0,0)},(u,L)=>{u.setMonth(u.getMonth()+L)},(u,L)=>L.getMonth()-u.getMonth()+12*(L.getFullYear()-u.getFullYear()),u=>u.getMonth())),yc=La(u=>{u.setUTCDate(1),u.setUTCHours(0,0,0,0)},(u,L)=>{u.setUTCMonth(u.getUTCMonth()+L)},(u,L)=>L.getUTCMonth()-u.getUTCMonth()+12*(L.getUTCFullYear()-u.getUTCFullYear()),u=>u.getUTCMonth()),kl=La(u=>{u.setMonth(0,1),u.setHours(0,0,0,0)},(u,L)=>{u.setFullYear(u.getFullYear()+L)},(u,L)=>L.getFullYear()-u.getFullYear(),u=>u.getFullYear());kl.every=u=>isFinite(u=Math.floor(u))&&u>0?La(L=>{L.setFullYear(Math.floor(L.getFullYear()/u)*u),L.setMonth(0,1),L.setHours(0,0,0,0)},(L,o)=>{L.setFullYear(L.getFullYear()+o*u)}):null;const Ys=La(u=>{u.setUTCMonth(0,1),u.setUTCHours(0,0,0,0)},(u,L)=>{u.setUTCFullYear(u.getUTCFullYear()+L)},(u,L)=>L.getUTCFullYear()-u.getUTCFullYear(),u=>u.getUTCFullYear());function U2(u,L,o,C,U,Y){const Te=[[jc,1,Ws],[jc,5,5e3],[jc,15,15e3],[jc,30,3e4],[Y,1,es],[Y,5,5*es],[Y,15,15*es],[Y,30,30*es],[U,1,Rs],[U,3,3*Rs],[U,6,6*Rs],[U,12,12*Rs],[C,1,ds],[C,2,2*ds],[o,1,Ns],[L,1,wl],[L,3,3*wl],[u,1,Zc]];function Wt(Gt,si,gi){const Ci=Math.abs(si-Gt)/gi,ki=Co(([,,Pi])=>Pi).right(Te,Ci);if(ki===Te.length)return u.every(p1(Gt/Zc,si/Zc,gi));if(0===ki)return Ml.every(Math.max(p1(Gt,si,gi),1));const[an,En]=Te[Ci/Te[ki-1][2]<Te[ki][2]/Ci?ki-1:ki];return an.every(En)}return[function et(Gt,si,gi){const Ci=si<Gt;Ci&&([Gt,si]=[si,Gt]);const ki=gi&&"function"==typeof gi.range?gi:Wt(Gt,si,gi),an=ki?ki.range(Gt,+si+1):[];return Ci?an.reverse():an},Wt]}Ys.every=u=>isFinite(u=Math.floor(u))&&u>0?La(L=>{L.setUTCFullYear(Math.floor(L.getUTCFullYear()/u)*u),L.setUTCMonth(0,1),L.setUTCHours(0,0,0,0)},(L,o)=>{L.setUTCFullYear(L.getUTCFullYear()+o*u)}):null;const[_m,Uf]=U2(Ys,yc,z2,v1,Oh,g1),[Gf,Zf]=U2(kl,Dl,Tl,Sl,xd,bc);var Sd=new Date,G2=new Date;function Go(u,L,o,C){function U(Y){return u(Y=0===arguments.length?new Date:new Date(+Y)),Y}return U.floor=function(Y){return u(Y=new Date(+Y)),Y},U.ceil=function(Y){return u(Y=new Date(Y-1)),L(Y,1),u(Y),Y},U.round=function(Y){var Te=U(Y),et=U.ceil(Y);return Y-Te<et-Y?Te:et},U.offset=function(Y,Te){return L(Y=new Date(+Y),null==Te?1:Math.floor(Te)),Y},U.range=function(Y,Te,et){var Gt,Wt=[];if(Y=U.ceil(Y),et=null==et?1:Math.floor(et),!(Y<Te&&et>0))return Wt;do{Wt.push(Gt=new Date(+Y)),L(Y,et),u(Y)}while(Gt<Y&&Y<Te);return Wt},U.filter=function(Y){return Go(function(Te){if(Te>=Te)for(;u(Te),!Y(Te);)Te.setTime(Te-1)},function(Te,et){if(Te>=Te)if(et<0)for(;++et<=0;)for(;L(Te,-1),!Y(Te););else for(;--et>=0;)for(;L(Te,1),!Y(Te););})},o&&(U.count=function(Y,Te){return Sd.setTime(+Y),G2.setTime(+Te),u(Sd),u(G2),Math.floor(o(Sd,G2))},U.every=function(Y){return Y=Math.floor(Y),isFinite(Y)&&Y>0?Y>1?U.filter(C?function(Te){return C(Te)%Y==0}:function(Te){return U.count(0,Te)%Y==0}):U:null}),U}const xc=864e5,Hs=7*xc;function hs(u){return Go(function(L){L.setUTCDate(L.getUTCDate()-(L.getUTCDay()+7-u)%7),L.setUTCHours(0,0,0,0)},function(L,o){L.setUTCDate(L.getUTCDate()+7*o)},function(L,o){return(o-L)/Hs})}var Td=hs(0),ic=hs(1),Pl=(hs(2),hs(3),hs(4));const Dd=(hs(5),hs(6),Go(function(u){u.setUTCHours(0,0,0,0)},function(u,L){u.setUTCDate(u.getUTCDate()+L)},function(u,L){return(L-u)/xc},function(u){return u.getUTCDate()-1}));function xs(u){return Go(function(L){L.setDate(L.getDate()-(L.getDay()+7-u)%7),L.setHours(0,0,0,0)},function(L,o){L.setDate(L.getDate()+7*o)},function(L,o){return(o-L-6e4*(o.getTimezoneOffset()-L.getTimezoneOffset()))/Hs})}var Nl=xs(0),Cc=xs(1),wc=(xs(2),xs(3),xs(4));const K2=(xs(5),xs(6),Go(u=>u.setHours(0,0,0,0),(u,L)=>u.setDate(u.getDate()+L),(u,L)=>(L-u-6e4*(L.getTimezoneOffset()-u.getTimezoneOffset()))/xc,u=>u.getDate()-1));var E1=Go(function(u){u.setMonth(0,1),u.setHours(0,0,0,0)},function(u,L){u.setFullYear(u.getFullYear()+L)},function(u,L){return L.getFullYear()-u.getFullYear()},function(u){return u.getFullYear()});E1.every=function(u){return isFinite(u=Math.floor(u))&&u>0?Go(function(L){L.setFullYear(Math.floor(L.getFullYear()/u)*u),L.setMonth(0,1),L.setHours(0,0,0,0)},function(L,o){L.setFullYear(L.getFullYear()+o*u)}):null};const tl=E1;var kd=Go(function(u){u.setUTCMonth(0,1),u.setUTCHours(0,0,0,0)},function(u,L){u.setUTCFullYear(u.getUTCFullYear()+L)},function(u,L){return L.getUTCFullYear()-u.getUTCFullYear()},function(u){return u.getUTCFullYear()});kd.every=function(u){return isFinite(u=Math.floor(u))&&u>0?Go(function(L){L.setUTCFullYear(Math.floor(L.getUTCFullYear()/u)*u),L.setUTCMonth(0,1),L.setUTCHours(0,0,0,0)},function(L,o){L.setUTCFullYear(L.getUTCFullYear()+o*u)}):null};const Fl=kd;function nc(u){if(0<=u.y&&u.y<100){var L=new Date(-1,u.m,u.d,u.H,u.M,u.S,u.L);return L.setFullYear(u.y),L}return new Date(u.y,u.m,u.d,u.H,u.M,u.S,u.L)}function T1(u){if(0<=u.y&&u.y<100){var L=new Date(Date.UTC(-1,u.m,u.d,u.H,u.M,u.S,u.L));return L.setUTCFullYear(u.y),L}return new Date(Date.UTC(u.y,u.m,u.d,u.H,u.M,u.S,u.L))}function Mc(u,L,o){return{y:u,m:L,d:o,H:0,M:0,S:0,L:0}}var A1={"-":"",_:" ",0:"0"},ja=/^\s*\d+/,Q2=/^%/,Od=/[\\^$*+?|[\]().{}]/g;function vr(u,L,o){var C=u<0?"-":"",U=(C?-u:u)+"",Y=U.length;return C+(Y<o?new Array(o-Y+1).join(L)+U:U)}function Jf(u){return u.replace(Od,"\\$&")}function rc(u){return new RegExp("^(?:"+u.map(Jf).join("|")+")","i")}function Vl(u){return new Map(u.map((L,o)=>[L.toLowerCase(),o]))}function Pd(u,L,o){var C=ja.exec(L.slice(o,o+1));return C?(u.w=+C[0],o+C[0].length):-1}function Rd(u,L,o){var C=ja.exec(L.slice(o,o+1));return C?(u.u=+C[0],o+C[0].length):-1}function q2(u,L,o){var C=ja.exec(L.slice(o,o+2));return C?(u.U=+C[0],o+C[0].length):-1}function Sc(u,L,o){var C=ja.exec(L.slice(o,o+2));return C?(u.V=+C[0],o+C[0].length):-1}function X2(u,L,o){var C=ja.exec(L.slice(o,o+2));return C?(u.W=+C[0],o+C[0].length):-1}function D1(u,L,o){var C=ja.exec(L.slice(o,o+4));return C?(u.y=+C[0],o+C[0].length):-1}function Bl(u,L,o){var C=ja.exec(L.slice(o,o+2));return C?(u.y=+C[0]+(+C[0]>68?1900:2e3),o+C[0].length):-1}function Yh(u,L,o){var C=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(L.slice(o,o+6));return C?(u.Z=C[1]?0:-(C[2]+(C[3]||"00")),o+C[0].length):-1}function L1(u,L,o){var C=ja.exec(L.slice(o,o+1));return C?(u.q=3*C[0]-3,o+C[0].length):-1}function I1(u,L,o){var C=ja.exec(L.slice(o,o+2));return C?(u.m=C[0]-1,o+C[0].length):-1}function fs(u,L,o){var C=ja.exec(L.slice(o,o+2));return C?(u.d=+C[0],o+C[0].length):-1}function il(u,L,o){var C=ja.exec(L.slice(o,o+3));return C?(u.m=0,u.d=+C[0],o+C[0].length):-1}function Ul(u,L,o){var C=ja.exec(L.slice(o,o+2));return C?(u.H=+C[0],o+C[0].length):-1}function jh(u,L,o){var C=ja.exec(L.slice(o,o+2));return C?(u.M=+C[0],o+C[0].length):-1}function Kh(u,L,o){var C=ja.exec(L.slice(o,o+2));return C?(u.S=+C[0],o+C[0].length):-1}function J2(u,L,o){var C=ja.exec(L.slice(o,o+3));return C?(u.L=+C[0],o+C[0].length):-1}function nl(u,L,o){var C=ja.exec(L.slice(o,o+6));return C?(u.L=Math.floor(C[0]/1e3),o+C[0].length):-1}function Qh(u,L,o){var C=Q2.exec(L.slice(o,o+1));return C?o+C[0].length:-1}function $2(u,L,o){var C=ja.exec(L.slice(o));return C?(u.Q=+C[0],o+C[0].length):-1}function Ec(u,L,o){var C=ja.exec(L.slice(o));return C?(u.s=+C[0],o+C[0].length):-1}function k1(u,L){return vr(u.getDate(),L,2)}function qh(u,L){return vr(u.getHours(),L,2)}function O1(u,L){return vr(u.getHours()%12||12,L,2)}function e0(u,L){return vr(1+K2.count(tl(u),u),L,3)}function t0(u,L){return vr(u.getMilliseconds(),L,3)}function Xh(u,L){return t0(u,L)+"000"}function n0(u,L){return vr(u.getMonth()+1,L,2)}function r0(u,L){return vr(u.getMinutes(),L,2)}function a0(u,L){return vr(u.getSeconds(),L,2)}function o0(u){var L=u.getDay();return 0===L?7:L}function Jh(u,L){return vr(Nl.count(tl(u)-1,u),L,2)}function $h(u){var L=u.getDay();return L>=4||0===L?wc(u):wc.ceil(u)}function s0(u,L){return u=$h(u),vr(wc.count(tl(u),u)+(4===tl(u).getDay()),L,2)}function Nd(u){return u.getDay()}function ms(u,L){return vr(Cc.count(tl(u)-1,u),L,2)}function Gl(u,L){return vr(u.getFullYear()%100,L,2)}function ac(u,L){return vr((u=$h(u)).getFullYear()%100,L,2)}function P1(u,L){return vr(u.getFullYear()%1e4,L,4)}function Hd(u,L){var o=u.getDay();return vr((u=o>=4||0===o?wc(u):wc.ceil(u)).getFullYear()%1e4,L,4)}function Zl(u){var L=u.getTimezoneOffset();return(L>0?"-":(L*=-1,"+"))+vr(L/60|0,"0",2)+vr(L%60,"0",2)}function c0(u,L){return vr(u.getUTCDate(),L,2)}function l0(u,L){return vr(u.getUTCHours(),L,2)}function Fd(u,L){return vr(u.getUTCHours()%12||12,L,2)}function eu(u,L){return vr(1+Dd.count(Fl(u),u),L,3)}function js(u,L){return vr(u.getUTCMilliseconds(),L,3)}function d0(u,L){return js(u,L)+"000"}function tu(u,L){return vr(u.getUTCMonth()+1,L,2)}function h0(u,L){return vr(u.getUTCMinutes(),L,2)}function zd(u,L){return vr(u.getUTCSeconds(),L,2)}function $f(u){var L=u.getUTCDay();return 0===L?7:L}function u0(u,L){return vr(Td.count(Fl(u)-1,u),L,2)}function f0(u){var L=u.getUTCDay();return L>=4||0===L?Pl(u):Pl.ceil(u)}function m0(u,L){return u=f0(u),vr(Pl.count(Fl(u),u)+(4===Fl(u).getUTCDay()),L,2)}function iu(u){return u.getUTCDay()}function p0(u,L){return vr(ic.count(Fl(u)-1,u),L,2)}function g0(u,L){return vr(u.getUTCFullYear()%100,L,2)}function _0(u,L){return vr((u=f0(u)).getUTCFullYear()%100,L,2)}function rl(u,L){return vr(u.getUTCFullYear()%1e4,L,4)}function Wo(u,L){var o=u.getUTCDay();return vr((u=o>=4||0===o?Pl(u):Pl.ceil(u)).getUTCFullYear()%1e4,L,4)}function oc(){return"+0000"}function Vd(){return"%"}function v0(u){return+u}function sc(u){return Math.floor(+u/1e3)}function C0(u){return null===u?NaN:+u}!function x0(u){(function zl(u){var L=u.dateTime,o=u.date,C=u.time,U=u.periods,Y=u.days,Te=u.shortDays,et=u.months,Wt=u.shortMonths,Gt=rc(U),si=Vl(U),gi=rc(Y),Ci=Vl(Y),ki=rc(Te),an=Vl(Te),En=rc(et),Pi=Vl(et),_n=rc(Wt),Rn=Vl(Wt),mn={a:function wa(vn){return Te[vn.getDay()]},A:function Ko(vn){return Y[vn.getDay()]},b:function Ur(vn){return Wt[vn.getMonth()]},B:function Qa(vn){return et[vn.getMonth()]},c:null,d:k1,e:k1,f:Xh,g:ac,G:Hd,H:qh,I:O1,j:e0,L:t0,m:n0,M:r0,p:function pa(vn){return U[+(vn.getHours()>=12)]},q:function qa(vn){return 1+~~(vn.getMonth()/3)},Q:v0,s:sc,S:a0,u:o0,U:Jh,V:s0,w:Nd,W:ms,x:null,X:null,y:Gl,Y:P1,Z:Zl,"%":Vd},Yn={a:function ud(vn){return Te[vn.getUTCDay()]},A:function fd(vn){return Y[vn.getUTCDay()]},b:function md(vn){return Wt[vn.getUTCMonth()]},B:function d1(vn){return et[vn.getUTCMonth()]},c:null,d:c0,e:c0,f:d0,g:_0,G:Wo,H:l0,I:Fd,j:eu,L:js,m:tu,M:h0,p:function Ro(vn){return U[+(vn.getUTCHours()>=12)]},q:function uc(vn){return 1+~~(vn.getUTCMonth()/3)},Q:v0,s:sc,S:zd,u:$f,U:u0,V:m0,w:iu,W:p0,x:null,X:null,y:g0,Y:rl,Z:oc,"%":Vd},Un={a:function oa(vn,nr,xr){var nn=ki.exec(nr.slice(xr));return nn?(vn.w=an.get(nn[0].toLowerCase()),xr+nn[0].length):-1},A:function Mn(vn,nr,xr){var nn=gi.exec(nr.slice(xr));return nn?(vn.w=Ci.get(nn[0].toLowerCase()),xr+nn[0].length):-1},b:function Kr(vn,nr,xr){var nn=_n.exec(nr.slice(xr));return nn?(vn.m=Rn.get(nn[0].toLowerCase()),xr+nn[0].length):-1},B:function er(vn,nr,xr){var nn=En.exec(nr.slice(xr));return nn?(vn.m=Pi.get(nn[0].toLowerCase()),xr+nn[0].length):-1},c:function ta(vn,nr,xr){return yr(vn,L,nr,xr)},d:fs,e:fs,f:nl,g:Bl,G:D1,H:Ul,I:Ul,j:il,L:J2,m:I1,M:jh,p:function rs(vn,nr,xr){var nn=Gt.exec(nr.slice(xr));return nn?(vn.p=si.get(nn[0].toLowerCase()),xr+nn[0].length):-1},q:L1,Q:$2,s:Ec,S:Kh,u:Rd,U:q2,V:Sc,w:Pd,W:X2,x:function gs(vn,nr,xr){return yr(vn,o,nr,xr)},X:function Ca(vn,nr,xr){return yr(vn,C,nr,xr)},y:Bl,Y:D1,Z:Yh,"%":Qh};function wn(vn,nr){return function(xr){var as,Zn,Ra,nn=[],Pa=-1,Gr=0,Qo=vn.length;for(xr instanceof Date||(xr=new Date(+xr));++Pa<Qo;)37===vn.charCodeAt(Pa)&&(nn.push(vn.slice(Gr,Pa)),null!=(Zn=A1[as=vn.charAt(++Pa)])?as=vn.charAt(++Pa):Zn="e"===as?" ":"0",(Ra=nr[as])&&(as=Ra(xr,Zn)),nn.push(as),Gr=Pa+1);return nn.push(vn.slice(Gr,Pa)),nn.join("")}}function Br(vn,nr){return function(xr){var Gr,Qo,nn=Mc(1900,void 0,1);if(yr(nn,vn,xr+="",0)!=xr.length)return null;if("Q"in nn)return new Date(nn.Q);if("s"in nn)return new Date(1e3*nn.s+("L"in nn?nn.L:0));if(nr&&!("Z"in nn)&&(nn.Z=0),"p"in nn&&(nn.H=nn.H%12+12*nn.p),void 0===nn.m&&(nn.m="q"in nn?nn.q:0),"V"in nn){if(nn.V<1||nn.V>53)return null;"w"in nn||(nn.w=1),"Z"in nn?(Qo=(Gr=T1(Mc(nn.y,0,1))).getUTCDay(),Gr=Qo>4||0===Qo?ic.ceil(Gr):ic(Gr),Gr=Dd.offset(Gr,7*(nn.V-1)),nn.y=Gr.getUTCFullYear(),nn.m=Gr.getUTCMonth(),nn.d=Gr.getUTCDate()+(nn.w+6)%7):(Qo=(Gr=nc(Mc(nn.y,0,1))).getDay(),Gr=Qo>4||0===Qo?Cc.ceil(Gr):Cc(Gr),Gr=K2.offset(Gr,7*(nn.V-1)),nn.y=Gr.getFullYear(),nn.m=Gr.getMonth(),nn.d=Gr.getDate()+(nn.w+6)%7)}else("W"in nn||"U"in nn)&&("w"in nn||(nn.w="u"in nn?nn.u%7:"W"in nn?1:0),Qo="Z"in nn?T1(Mc(nn.y,0,1)).getUTCDay():nc(Mc(nn.y,0,1)).getDay(),nn.m=0,nn.d="W"in nn?(nn.w+6)%7+7*nn.W-(Qo+5)%7:nn.w+7*nn.U-(Qo+6)%7);return"Z"in nn?(nn.H+=nn.Z/100|0,nn.M+=nn.Z%100,T1(nn)):nc(nn)}}function yr(vn,nr,xr,nn){for(var as,Zn,Pa=0,Gr=nr.length,Qo=xr.length;Pa<Gr;){if(nn>=Qo)return-1;if(37===(as=nr.charCodeAt(Pa++))){if(as=nr.charAt(Pa++),!(Zn=Un[as in A1?nr.charAt(Pa++):as])||(nn=Zn(vn,xr,nn))<0)return-1}else if(as!=xr.charCodeAt(nn++))return-1}return nn}return mn.x=wn(o,mn),mn.X=wn(C,mn),mn.c=wn(L,mn),Yn.x=wn(o,Yn),Yn.X=wn(C,Yn),Yn.c=wn(L,Yn),{format:function(vn){var nr=wn(vn+="",mn);return nr.toString=function(){return vn},nr},parse:function(vn){var nr=Br(vn+="",!1);return nr.toString=function(){return vn},nr},utcFormat:function(vn){var nr=wn(vn+="",Yn);return nr.toString=function(){return vn},nr},utcParse:function(vn){var nr=Br(vn+="",!0);return nr.toString=function(){return vn},nr}}})(u)}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});const ru=Co(Io).right,au=(Co(C0),ru);function ou(u,L){return u=+u,L=+L,function(o){return Math.round(u*(1-o)+L*o)}}function i3(u){return+u}var wo=[0,1];function Tc(u){return u}function M0(u,L){return(L-=u=+u)?function(o){return(o-u)/L}:function Bd(u){return function(){return u}}(isNaN(L)?NaN:.5)}function su(u,L,o){var C=u[0],U=u[1],Y=L[0],Te=L[1];return U<C?(C=M0(U,C),Y=o(Te,Y)):(C=M0(C,U),Y=o(Y,Te)),function(et){return Y(C(et))}}function Wl(u,L,o){var C=Math.min(u.length,L.length)-1,U=new Array(C),Y=new Array(C),Te=-1;for(u[C]<u[0]&&(u=u.slice().reverse(),L=L.slice().reverse());++Te<C;)U[Te]=M0(u[Te],u[Te+1]),Y[Te]=o(L[Te],L[Te+1]);return function(et){var Wt=au(u,et,1,C)-1;return Y[Wt](U[Wt](et))}}function Gd(){return function Ud(){var C,U,Y,et,Wt,Gt,u=wo,L=wo,o=Zi,Te=Tc;function si(){var Ci=Math.min(u.length,L.length);return Te!==Tc&&(Te=function n3(u,L){var o;return u>L&&(o=u,u=L,L=o),function(C){return Math.max(u,Math.min(L,C))}}(u[0],u[Ci-1])),et=Ci>2?Wl:su,Wt=Gt=null,gi}function gi(Ci){return null==Ci||isNaN(Ci=+Ci)?Y:(Wt||(Wt=et(u.map(C),L,o)))(C(Te(Ci)))}return gi.invert=function(Ci){return Te(U((Gt||(Gt=et(L,u.map(C),Wr)))(Ci)))},gi.domain=function(Ci){return arguments.length?(u=Array.from(Ci,i3),si()):u.slice()},gi.range=function(Ci){return arguments.length?(L=Array.from(Ci),si()):L.slice()},gi.rangeRound=function(Ci){return L=Array.from(Ci),o=ou,si()},gi.clamp=function(Ci){return arguments.length?(Te=!!Ci||Tc,si()):Te!==Tc},gi.interpolate=function(Ci){return arguments.length?(o=Ci,si()):o},gi.unknown=function(Ci){return arguments.length?(Y=Ci,gi):Y},function(Ci,ki){return C=Ci,U=ki,si()}}()(Tc,Tc)}function ol(u,L){switch(arguments.length){case 0:break;case 1:this.range(u);break;default:this.range(L).domain(u)}return this}var Wd,F1=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function z1(u){if(!(L=F1.exec(u)))throw new Error("invalid format: "+u);var L;return new Zd({fill:L[1],align:L[2],sign:L[3],symbol:L[4],zero:L[5],width:L[6],comma:L[7],precision:L[8]&&L[8].slice(1),trim:L[9],type:L[10]})}function Zd(u){this.fill=void 0===u.fill?" ":u.fill+"",this.align=void 0===u.align?">":u.align+"",this.sign=void 0===u.sign?"-":u.sign+"",this.symbol=void 0===u.symbol?"":u.symbol+"",this.zero=!!u.zero,this.width=void 0===u.width?void 0:+u.width,this.comma=!!u.comma,this.precision=void 0===u.precision?void 0:+u.precision,this.trim=!!u.trim,this.type=void 0===u.type?"":u.type+""}function sl(u,L){if((o=(u=L?u.toExponential(L-1):u.toExponential()).indexOf("e"))<0)return null;var o,C=u.slice(0,o);return[C.length>1?C[0]+C.slice(2):C,+u.slice(o+1)]}function cc(u){return(u=sl(Math.abs(u)))?u[1]:NaN}function ho(u,L){var o=sl(u,L);if(!o)return u+"";var C=o[0],U=o[1];return U<0?"0."+new Array(-U).join("0")+C:C.length>U+1?C.slice(0,U+1)+"."+C.slice(U+1):C+new Array(U-C.length+2).join("0")}z1.prototype=Zd.prototype,Zd.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const B1={"%":(u,L)=>(100*u).toFixed(L),b:u=>Math.round(u).toString(2),c:u=>u+"",d:function lu(u){return Math.abs(u=Math.round(u))>=1e21?u.toLocaleString("en").replace(/,/g,""):u.toString(10)},e:(u,L)=>u.toExponential(L),f:(u,L)=>u.toFixed(L),g:(u,L)=>u.toPrecision(L),o:u=>Math.round(u).toString(8),p:(u,L)=>ho(100*u,L),r:ho,s:function uu(u,L){var o=sl(u,L);if(!o)return u+"";var C=o[0],U=o[1],Y=U-(Wd=3*Math.max(-8,Math.min(8,Math.floor(U/3))))+1,Te=C.length;return Y===Te?C:Y>Te?C+new Array(Y-Te+1).join("0"):Y>0?C.slice(0,Y)+"."+C.slice(Y):"0."+new Array(1-Y).join("0")+sl(u,Math.max(0,L+Y-1))[0]},X:u=>Math.round(u).toString(16).toUpperCase(),x:u=>Math.round(u).toString(16)};function jl(u){return u}var ps,G1,A0,ts=Array.prototype.map,uo=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function L0(u){var L=u.domain;return u.ticks=function(o){var C=L();return function R2(u,L,o){if(!((o=+o)>0))return[];if((u=+u)==(L=+L))return[u];const C=L<u,[U,Y,Te]=C?Hr(L,u,o):Hr(u,L,o);if(!(Y>=U))return[];const et=Y-U+1,Wt=new Array(et);if(C)if(Te<0)for(let Gt=0;Gt<et;++Gt)Wt[Gt]=(Y-Gt)/-Te;else for(let Gt=0;Gt<et;++Gt)Wt[Gt]=(Y-Gt)*Te;else if(Te<0)for(let Gt=0;Gt<et;++Gt)Wt[Gt]=(U+Gt)/-Te;else for(let Gt=0;Gt<et;++Gt)Wt[Gt]=(U+Gt)*Te;return Wt}(C[0],C[C.length-1],o??10)},u.tickFormat=function(o,C){var U=L();return function mu(u,L,o,C){var Y,U=p1(u,L,o);switch((C=z1(C??",f")).type){case"s":var Te=Math.max(Math.abs(u),Math.abs(L));return null==C.precision&&!isNaN(Y=function V1(u,L){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(cc(L)/3)))-cc(Math.abs(u)))}(U,Te))&&(C.precision=Y),A0(C,Te);case"":case"e":case"g":case"p":case"r":null==C.precision&&!isNaN(Y=function fu(u,L){return u=Math.abs(u),L=Math.abs(L)-u,Math.max(0,cc(L)-cc(u))+1}(U,Math.max(Math.abs(u),Math.abs(L))))&&(C.precision=Y-("e"===C.type));break;case"f":case"%":null==C.precision&&!isNaN(Y=function Yd(u){return Math.max(0,-cc(Math.abs(u)))}(U))&&(C.precision=Y-2*("%"===C.type))}return G1(C)}(U[0],U[U.length-1],o??10,C)},u.nice=function(o){null==o&&(o=10);var Wt,Gt,C=L(),U=0,Y=C.length-1,Te=C[U],et=C[Y],si=10;for(et<Te&&(Gt=Te,Te=et,et=Gt,Gt=U,U=Y,Y=Gt);si-- >0;){if((Gt=yd(Te,et,o))===Wt)return C[U]=Te,C[Y]=et,L(C);if(Gt>0)Te=Math.floor(Te/Gt)*Gt,et=Math.ceil(et/Gt)*Gt;else{if(!(Gt<0))break;Te=Math.ceil(Te*Gt)/Gt,et=Math.floor(et*Gt)/Gt}Wt=Gt}return u},u}function lc(){var u=Gd();return u.copy=function(){return function al(u,L){return L.domain(u.domain()).range(u.range()).interpolate(u.interpolate()).clamp(u.clamp()).unknown(u.unknown())}(u,lc())},ol.apply(u,arguments),L0(u)}function I0(u,L,o){u=+u,L=+L,o=(U=arguments.length)<2?(L=u,u=0,1):U<3?1:+o;for(var C=-1,U=0|Math.max(0,Math.ceil((L-u)/o)),Y=new Array(U);++C<U;)Y[C]=u+C*o;return Y}!function D0(u){ps=function U1(u){var L=void 0===u.grouping||void 0===u.thousands?jl:function du(u,L){return function(o,C){for(var U=o.length,Y=[],Te=0,et=u[0],Wt=0;U>0&&et>0&&(Wt+et+1>C&&(et=Math.max(1,C-Wt)),Y.push(o.substring(U-=et,U+et)),!((Wt+=et+1)>C));)et=u[Te=(Te+1)%u.length];return Y.reverse().join(L)}}(ts.call(u.grouping,Number),u.thousands+""),o=void 0===u.currency?"":u.currency[0]+"",C=void 0===u.currency?"":u.currency[1]+"",U=void 0===u.decimal?".":u.decimal+"",Y=void 0===u.numerals?jl:function hu(u){return function(L){return L.replace(/[0-9]/g,function(o){return u[+o]})}}(ts.call(u.numerals,String)),Te=void 0===u.percent?"%":u.percent+"",et=void 0===u.minus?"\u2212":u.minus+"",Wt=void 0===u.nan?"NaN":u.nan+"";function Gt(gi){var Ci=(gi=z1(gi)).fill,ki=gi.align,an=gi.sign,En=gi.symbol,Pi=gi.zero,_n=gi.width,Rn=gi.comma,mn=gi.precision,Yn=gi.trim,Un=gi.type;"n"===Un?(Rn=!0,Un="g"):B1[Un]||(void 0===mn&&(mn=12),Yn=!0,Un="g"),(Pi||"0"===Ci&&"="===ki)&&(Pi=!0,Ci="0",ki="=");var wn="$"===En?o:"#"===En&&/[boxX]/.test(Un)?"0"+Un.toLowerCase():"",Br="$"===En?C:/[%p]/.test(Un)?Te:"",yr=B1[Un],rs=/[defgprs%]/.test(Un);function oa(Mn){var ta,gs,Ca,Kr=wn,er=Br;if("c"===Un)er=yr(Mn)+er,Mn="";else{var wa=(Mn=+Mn)<0||1/Mn<0;if(Mn=isNaN(Mn)?Wt:yr(Math.abs(Mn),mn),Yn&&(Mn=function T0(u){e:for(var U,L=u.length,o=1,C=-1;o<L;++o)switch(u[o]){case".":C=U=o;break;case"0":0===C&&(C=o),U=o;break;default:if(!+u[o])break e;C>0&&(C=0)}return C>0?u.slice(0,C)+u.slice(U+1):u}(Mn)),wa&&0==+Mn&&"+"!==an&&(wa=!1),Kr=(wa?"("===an?an:et:"-"===an||"("===an?"":an)+Kr,er=("s"===Un?uo[8+Wd/3]:"")+er+(wa&&"("===an?")":""),rs)for(ta=-1,gs=Mn.length;++ta<gs;)if(48>(Ca=Mn.charCodeAt(ta))||Ca>57){er=(46===Ca?U+Mn.slice(ta+1):Mn.slice(ta))+er,Mn=Mn.slice(0,ta);break}}Rn&&!Pi&&(Mn=L(Mn,1/0));var Ko=Kr.length+Mn.length+er.length,Ur=Ko<_n?new Array(_n-Ko+1).join(Ci):"";switch(Rn&&Pi&&(Mn=L(Ur+Mn,Ur.length?_n-er.length:1/0),Ur=""),ki){case"<":Mn=Kr+Mn+er+Ur;break;case"=":Mn=Kr+Ur+Mn+er;break;case"^":Mn=Ur.slice(0,Ko=Ur.length>>1)+Kr+Mn+er+Ur.slice(Ko);break;default:Mn=Ur+Kr+Mn+er}return Y(Mn)}return mn=void 0===mn?6:/[gprs]/.test(Un)?Math.max(1,Math.min(21,mn)):Math.max(0,Math.min(20,mn)),oa.toString=function(){return gi+""},oa}return{format:Gt,formatPrefix:function si(gi,Ci){var ki=Gt(((gi=z1(gi)).type="f",gi)),an=3*Math.max(-8,Math.min(8,Math.floor(cc(Ci)/3))),En=Math.pow(10,-an),Pi=uo[8+an/3];return function(_n){return ki(En*_n)+Pi}}}}(u),G1=ps.format,A0=ps.formatPrefix}({thousands:",",grouping:[3],currency:["$",""]});class Z1 extends Map{constructor(L,o=P0){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:o}}),null!=L)for(const[C,U]of L)this.set(C,U)}get(L){return super.get(Kl(this,L))}has(L){return super.has(Kl(this,L))}set(L,o){return super.set(function cl({_intern:u,_key:L},o){const C=L(o);return u.has(C)?u.get(C):(u.set(C,o),o)}(this,L),o)}delete(L){return super.delete(function O0({_intern:u,_key:L},o){const C=L(o);return u.has(C)&&(o=u.get(C),u.delete(C)),o}(this,L))}}function Kl({_intern:u,_key:L},o){const C=L(o);return u.has(C)?u.get(C):o}function P0(u){return null!==u&&"object"==typeof u?u.valueOf():u}const W1=Symbol("implicit");function Y1(){var u=new Z1,L=[],o=[],C=W1;function U(Y){let Te=u.get(Y);if(void 0===Te){if(C!==W1)return C;u.set(Y,Te=L.push(Y)-1)}return o[Te%o.length]}return U.domain=function(Y){if(!arguments.length)return L.slice();L=[],u=new Z1;for(const Te of Y)u.has(Te)||u.set(Te,L.push(Te)-1);return U},U.range=function(Y){return arguments.length?(o=Array.from(Y),U):o.slice()},U.unknown=function(Y){return arguments.length?(C=Y,U):C},U.copy=function(){return Y1(L,o).unknown(C)},ol.apply(U,arguments),U}function dc(){var Y,Te,u=Y1().unknown(void 0),L=u.domain,o=u.range,C=0,U=1,et=!1,Wt=0,Gt=0,si=.5;function gi(){var Ci=L().length,ki=U<C,an=ki?U:C,En=ki?C:U;Y=(En-an)/Math.max(1,Ci-Wt+2*Gt),et&&(Y=Math.floor(Y)),an+=(En-an-Y*(Ci-Wt))*si,Te=Y*(1-Wt),et&&(an=Math.round(an),Te=Math.round(Te));var Pi=I0(Ci).map(function(_n){return an+Y*_n});return o(ki?Pi.reverse():Pi)}return delete u.unknown,u.domain=function(Ci){return arguments.length?(L(Ci),gi()):L()},u.range=function(Ci){return arguments.length?([C,U]=Ci,C=+C,U=+U,gi()):[C,U]},u.rangeRound=function(Ci){return[C,U]=Ci,C=+C,U=+U,et=!0,gi()},u.bandwidth=function(){return Te},u.step=function(){return Y},u.round=function(Ci){return arguments.length?(et=!!Ci,gi()):et},u.padding=function(Ci){return arguments.length?(Wt=Math.min(1,Gt=+Ci),gi()):Wt},u.paddingInner=function(Ci){return arguments.length?(Wt=Math.min(1,Ci),gi()):Wt},u.paddingOuter=function(Ci){return arguments.length?(Gt=+Ci,gi()):Gt},u.align=function(Ci){return arguments.length?(si=Math.max(0,Math.min(1,Ci)),gi()):si},u.copy=function(){return dc(L(),[C,U]).round(et).paddingInner(Wt).paddingOuter(Gt).align(si)},ol.apply(gi(),arguments)}function ql(u,L,o=C0){if((C=u.length)&&!isNaN(L=+L)){if(L<=0||C<2)return+o(u[0],0,u);if(L>=1)return+o(u[C-1],C-1,u);var C,U=(C-1)*L,Y=Math.floor(U),Te=+o(u[Y],Y,u);return Te+(+o(u[Y+1],Y+1,u)-Te)*(U-Y)}}function R0(){var C,u=[],L=[],o=[];function U(){var Te=0,et=Math.max(1,L.length);for(o=new Array(et-1);++Te<et;)o[Te-1]=ql(u,Te/et);return Y}function Y(Te){return null==Te||isNaN(Te=+Te)?C:L[au(o,Te)]}return Y.invertExtent=function(Te){var et=L.indexOf(Te);return et<0?[NaN,NaN]:[et>0?o[et-1]:u[0],et<o.length?o[et]:u[u.length-1]]},Y.domain=function(Te){if(!arguments.length)return u.slice();u=[];for(let et of Te)null!=et&&!isNaN(et=+et)&&u.push(et);return u.sort(Io),U()},Y.range=function(Te){return arguments.length?(L=Array.from(Te),U()):L.slice()},Y.unknown=function(Te){return arguments.length?(C=Te,Y):C},Y.quantiles=function(){return o.slice()},Y.copy=function(){return R0().domain(u).range(L).unknown(C)},ol.apply(Y,arguments)}var gu=p(2178);const _u=["caretElm"];function vu(u,L){}const N0=u=>({model:u});function bu(u,L){if(1&u&&(e.TgZ(0,"span"),e.YNc(1,vu,0,0,"ng-template",5),e.qZA()),2&u){const o=e.oxw();e.xp6(1),e.Q6J("ngTemplateOutlet",o.template)("ngTemplateOutletContext",e.VKq(2,N0,o.context))}}function H0(u,L){if(1&u&&e._UZ(0,"span",6),2&u){const o=e.oxw();e.Q6J("innerHTML",o.title,e.oJD)}}function Xl(u,L){if(1&u&&(e.TgZ(0,"header",4)(1,"span",5),e._uU(2),e.qZA()()),2&u){const o=e.oxw();e.xp6(2),e.Oqu(o.title)}}function Jl(u,L){if(1&u){const o=e.EpF();e.TgZ(0,"li",6)(1,"ngx-charts-legend-entry",7),e.NdJ("select",function(U){e.CHM(o);const Y=e.oxw();return e.KtG(Y.labelClick.emit(U))})("activate",function(U){e.CHM(o);const Y=e.oxw();return e.KtG(Y.activate(U))})("deactivate",function(U){e.CHM(o);const Y=e.oxw();return e.KtG(Y.deactivate(U))}),e.qZA()()}if(2&u){const o=L.$implicit,C=e.oxw();e.xp6(1),e.Q6J("label",o.label)("formattedLabel",o.formattedLabel)("color",o.color)("isActive",C.isActive(o))}}function Kd(u,L){if(1&u&&(e.O4$(),e.kcU(),e._UZ(0,"ngx-charts-scale-legend",4)),2&u){const o=e.oxw();e.Q6J("horizontal",o.legendOptions&&o.legendOptions.position===o.LegendPosition.Below)("valueRange",o.legendOptions.domain)("colors",o.legendOptions.colors)("height",o.view[1])("width",o.legendWidth)}}function yu(u,L){if(1&u){const o=e.EpF();e.O4$(),e.kcU(),e.TgZ(0,"ngx-charts-legend",5),e.NdJ("labelClick",function(U){e.CHM(o);const Y=e.oxw();return e.KtG(Y.legendLabelClick.emit(U))})("labelActivate",function(U){e.CHM(o);const Y=e.oxw();return e.KtG(Y.legendLabelActivate.emit(U))})("labelDeactivate",function(U){e.CHM(o);const Y=e.oxw();return e.KtG(Y.legendLabelDeactivate.emit(U))}),e.qZA()}if(2&u){const o=e.oxw();e.Q6J("horizontal",o.legendOptions&&o.legendOptions.position===o.LegendPosition.Below)("data",o.legendOptions.domain)("title",o.legendOptions.title)("colors",o.legendOptions.colors)("height",o.view[1])("width",o.legendWidth)("activeEntries",o.activeEntries)}}const F0=["*"],Qd=["ngx-charts-axis-label",""],$l=["ticksel"],Dc=["ngx-charts-x-axis-ticks",""];function z0(u,L){1&u&&(e.O4$(),e.GkF(0))}function V0(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"tspan",10),e._uU(1),e.qZA()),2&u){const o=L.$implicit;e.uIk("y",12*L.index),e.xp6(1),e.hij(" ",o," ")}}function xu(u,L){if(1&u&&(e.O4$(),e.ynx(0),e.YNc(1,V0,2,2,"tspan",9),e.BQk()),2&u){const o=L.ngIf;e.xp6(1),e.Q6J("ngForOf",o)}}function r3(u,L){if(1&u&&(e.O4$(),e.YNc(0,xu,2,1,"ng-container",4)),2&u){const o=e.oxw(2).$implicit,C=e.oxw();e.Q6J("ngIf",C.tickChunks(o))}}function e1(u,L){if(1&u&&(e.O4$(),e._uU(0)),2&u){const o=e.oxw().ngIf,C=e.oxw(2);e.hij(" ",C.tickTrim(o)," ")}}function B0(u,L){if(1&u&&(e.O4$(),e.ynx(0),e.TgZ(1,"title"),e._uU(2),e.qZA(),e.TgZ(3,"text",5),e.YNc(4,z0,1,0,"ng-container",6),e.qZA(),e.YNc(5,r3,1,1,"ng-template",null,7,e.W1O)(7,e1,1,1,"ng-template",null,8,e.W1O),e.BQk()),2&u){const o=L.ngIf,C=e.MAs(6),U=e.MAs(8),Y=e.oxw(2);e.xp6(2),e.Oqu(o),e.xp6(1),e.uIk("text-anchor",Y.textAnchor)("transform",Y.textTransform),e.xp6(1),e.Q6J("ngIf",Y.isWrapTicksSupported)("ngIfThen",C)("ngIfElse",U)}}function qd(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"g",3),e.YNc(1,B0,9,6,"ng-container",4),e.qZA()),2&u){const o=L.$implicit,C=e.oxw();e.uIk("transform",C.tickTransform(o)),e.xp6(1),e.Q6J("ngIf",C.tickFormat(o))}}function Xd(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e._UZ(1,"line",11),e.qZA()),2&u){const o=e.oxw(2);e.uIk("transform",o.gridLineTransform()),e.xp6(1),e.uIk("y1",-o.gridLineHeight)}}function Jd(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,Xd,2,2,"g",4),e.qZA()),2&u){const o=L.$implicit,C=e.oxw();e.uIk("transform",C.tickTransform(o)),e.xp6(1),e.Q6J("ngIf",C.showGridLines)}}const j1=["ngx-charts-x-axis",""];function $d(u,L){if(1&u){const o=e.EpF();e.O4$(),e.TgZ(0,"g",2),e.NdJ("dimensionsChanged",function(U){e.CHM(o);const Y=e.oxw();return e.KtG(Y.emitTicksHeight(U))}),e.qZA()}if(2&u){const o=e.oxw();e.Q6J("trimTicks",o.trimTicks)("rotateTicks",o.rotateTicks)("maxTickLength",o.maxTickLength)("tickFormatting",o.tickFormatting)("tickArguments",o.tickArguments)("tickStroke",o.tickStroke)("scale",o.xScale)("orient",o.xOrient)("showGridLines",o.showGridLines)("gridLineHeight",o.dims.height)("width",o.dims.width)("tickValues",o.ticks)("wrapTicks",o.wrapTicks)}}function ll(u,L){if(1&u&&(e.O4$(),e._UZ(0,"g",3)),2&u){const o=e.oxw();e.Q6J("label",o.labelText)("offset",o.labelOffset)("orient",o.orientation.Bottom)("height",o.dims.height)("width",o.dims.width)}}const t1=["ngx-charts-y-axis-ticks",""];function e2(u,L){1&u&&(e.O4$(),e.GkF(0))}function K1(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"tspan",12),e._uU(1),e.qZA()),2&u){const o=L.$implicit,C=L.index,U=e.oxw(6);e.uIk("y",C*(8+U.tickSpacing)),e.xp6(1),e.hij(" ",o," ")}}function Q1(u,L){if(1&u&&(e.O4$(),e.ynx(0),e.YNc(1,K1,2,2,"tspan",11),e.BQk()),2&u){const o=e.oxw().ngIf;e.xp6(1),e.Q6J("ngForOf",o)}}function t2(u,L){if(1&u&&(e.O4$(),e.ynx(0),e.YNc(1,Q1,2,1,"ng-container",10),e.BQk()),2&u){const o=L.ngIf;e.oxw(2);const C=e.MAs(8);e.xp6(1),e.Q6J("ngIf",o.length>1)("ngIfElse",C)}}function q1(u,L){if(1&u&&(e.O4$(),e.YNc(0,t2,2,2,"ng-container",5)),2&u){const o=e.oxw(2).$implicit,C=e.oxw();e.Q6J("ngIf",C.tickChunks(o))}}function dl(u,L){if(1&u&&(e.O4$(),e._uU(0)),2&u){const o=e.oxw().ngIf,C=e.oxw(2);e.hij(" ",C.tickTrim(o)," ")}}function U0(u,L){if(1&u&&(e.O4$(),e.ynx(0),e.TgZ(1,"title"),e._uU(2),e.qZA(),e.TgZ(3,"text",6),e.YNc(4,e2,1,0,"ng-container",7),e.qZA(),e.YNc(5,q1,1,1,"ng-template",null,8,e.W1O)(7,dl,1,1,"ng-template",null,9,e.W1O),e.BQk()),2&u){const o=L.ngIf,C=e.MAs(6),U=e.MAs(8),Y=e.oxw(2);e.xp6(2),e.Oqu(o),e.xp6(1),e.Udp("font-size","12px"),e.uIk("dy",Y.dy)("x",Y.x1)("y",Y.y1)("text-anchor",Y.textAnchor),e.xp6(1),e.Q6J("ngIf",Y.wrapTicks)("ngIfThen",C)("ngIfElse",U)}}function X1(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"g",4),e.YNc(1,U0,9,10,"ng-container",5),e.qZA()),2&u){const o=L.$implicit,C=e.oxw();e.uIk("transform",C.transform(o)),e.xp6(1),e.Q6J("ngIf",C.tickFormat(o))}}function Cu(u,L){if(1&u&&(e.O4$(),e._UZ(0,"path",13)),2&u){const o=e.oxw();e.uIk("d",o.referenceAreaPath)("transform",o.gridLineTransform())}}function R(u,L){if(1&u&&(e.O4$(),e._UZ(0,"line",15)),2&u){const o=e.oxw(3);e.uIk("x2",o.gridLineWidth)}}function z(u,L){if(1&u&&(e.O4$(),e._UZ(0,"line",15)),2&u){const o=e.oxw(3);e.uIk("x2",-o.gridLineWidth)}}function b(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,R,1,1,"line",14)(2,z,1,1,"line",14),e.qZA()),2&u){const o=e.oxw(2);e.uIk("transform",o.gridLineTransform()),e.xp6(1),e.Q6J("ngIf",o.orient===o.Orientation.Left),e.xp6(1),e.Q6J("ngIf",o.orient===o.Orientation.Right)}}function G(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,b,3,3,"g",5),e.qZA()),2&u){const o=L.$implicit,C=e.oxw();e.uIk("transform",C.transform(o)),e.xp6(1),e.Q6J("ngIf",C.showGridLines)}}function Z(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"g")(1,"title"),e._uU(2),e.qZA(),e.TgZ(3,"text",17),e._uU(4),e.qZA()()),2&u){const o=e.oxw(2).$implicit,C=e.oxw();e.xp6(2),e.Oqu(C.tickTrim(C.tickFormat(o.value))),e.xp6(1),e.uIk("dy",C.dy)("y",-6)("x",C.gridLineWidth)("text-anchor",C.textAnchor),e.xp6(1),e.hij(" ",o.name," ")}}function Fe(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e._UZ(1,"line",16),e.YNc(2,Z,5,6,"g",5),e.qZA()),2&u){const o=e.oxw().$implicit,C=e.oxw();e.uIk("transform",C.transform(o.value)),e.xp6(1),e.uIk("x2",C.gridLineWidth)("transform",C.gridLineTransform()),e.xp6(1),e.Q6J("ngIf",C.showRefLabels)}}function Lt(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,Fe,3,4,"g",5),e.qZA()),2&u){const o=e.oxw();e.xp6(1),e.Q6J("ngIf",o.showRefLines)}}const ei=["ngx-charts-y-axis",""];function fi(u,L){if(1&u){const o=e.EpF();e.O4$(),e.TgZ(0,"g",2),e.NdJ("dimensionsChanged",function(U){e.CHM(o);const Y=e.oxw();return e.KtG(Y.emitTicksWidth(U))}),e.qZA()}if(2&u){const o=e.oxw();e.Q6J("trimTicks",o.trimTicks)("maxTickLength",o.maxTickLength)("tickFormatting",o.tickFormatting)("tickArguments",o.tickArguments)("tickValues",o.ticks)("tickStroke",o.tickStroke)("scale",o.yScale)("orient",o.yOrient)("showGridLines",o.showGridLines)("gridLineWidth",o.dims.width)("referenceLines",o.referenceLines)("showRefLines",o.showRefLines)("showRefLabels",o.showRefLabels)("height",o.dims.height)("wrapTicks",o.wrapTicks)}}function Mi(u,L){if(1&u&&(e.O4$(),e._UZ(0,"g",3)),2&u){const o=e.oxw();e.Q6J("label",o.labelText)("offset",o.labelOffset)("orient",o.yOrient)("height",o.dims.height)("width",o.dims.width)}}const ln=["ngx-charts-svg-linear-gradient",""];function qi(u,L){if(1&u&&(e.O4$(),e._UZ(0,"stop")),2&u){const o=L.$implicit;e.Udp("stop-color",o.color)("stop-opacity",o.opacity),e.uIk("offset",o.offset+"%")}}const Ka=["ngx-charts-grid-panel",""],Oo=["ngx-charts-grid-panel-series",""];function $a(u,L){if(1&u&&(e.O4$(),e._UZ(0,"g",1)),2&u){const o=L.$implicit;e.ekj("grid-panel",!0)("odd","odd"===o.class)("even","even"===o.class),e.Q6J("height",o.height)("width",o.width)("x",o.x)("y",o.y)}}const Cs=["tooltipTemplate"],Oc=(u,L)=>[u,L],o2=".ngx-charts-outer{animation:chartFadeIn linear .6s}@keyframes chartFadeIn{0%{opacity:0}20%{opacity:0}to{opacity:1}}.ngx-charts{float:left;overflow:visible}.ngx-charts .circle,.ngx-charts .cell,.ngx-charts .bar,.ngx-charts .node,.ngx-charts .link,.ngx-charts .arc{cursor:pointer}.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover,.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .node.active,.ngx-charts .node:hover,.ngx-charts .link.active,.ngx-charts .link:hover,.ngx-charts .card.active,.ngx-charts .card:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .bar:focus,.ngx-charts .cell:focus,.ngx-charts .arc:focus,.ngx-charts .node:focus,.ngx-charts .link:focus,.ngx-charts .card:focus{outline:none}.ngx-charts .bar.hidden,.ngx-charts .cell.hidden,.ngx-charts .arc.hidden,.ngx-charts .node.hidden,.ngx-charts .link.hidden,.ngx-charts .card.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .line-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .polar-series-path.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .area-series.inactive{transition:opacity .1s ease-in-out;opacity:.2}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{stroke:#ddd;stroke-width:1;fill:none}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-width:1;stroke-dasharray:5;stroke-dashoffset:5}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill-opacity:.05;fill:#000}.ngx-charts .gridline-path-dotted{stroke:#ddd;stroke-width:1;fill:none;stroke-dasharray:1,20;stroke-dashoffset:3}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:#0000000d}\n",Em=["ngx-charts-bar",""];function Tm(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"defs"),e._UZ(1,"g",2),e.qZA()),2&u){const o=e.oxw();e.xp6(1),e.Q6J("orientation",o.orientation)("name",o.gradientId)("stops",o.gradientStops)}}const Am=["ngx-charts-bar-label",""],km=["ngx-charts-series-vertical",""];function f3(u,L){if(1&u){const o=e.EpF();e.O4$(),e.TgZ(0,"g",2),e.NdJ("select",function(U){e.CHM(o);const Y=e.oxw(2);return e.KtG(Y.onClick(U))})("activate",function(U){e.CHM(o);const Y=e.oxw(2);return e.KtG(Y.activate.emit(U))})("deactivate",function(U){e.CHM(o);const Y=e.oxw(2);return e.KtG(Y.deactivate.emit(U))}),e.qZA()}if(2&u){const o=L.$implicit,C=e.oxw(2);e.Q6J("@animationState","active")("@.disabled",!C.animations)("width",o.width)("height",o.height)("x",o.x)("y",o.y)("fill",o.color)("stops",o.gradientStops)("data",o.data)("orientation",C.barOrientation.Vertical)("roundEdges",o.roundEdges)("gradient",C.gradient)("ariaLabel",o.ariaLabel)("isActive",C.isActive(o.data))("tooltipDisabled",C.tooltipDisabled)("tooltipPlacement",C.tooltipPlacement)("tooltipType",C.tooltipType)("tooltipTitle",C.tooltipTemplate?void 0:o.tooltipText)("tooltipTemplate",C.tooltipTemplate)("tooltipContext",o.data)("noBarWhenZero",C.noBarWhenZero)("animations",C.animations)}}function Lu(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,f3,1,22,"g",1),e.qZA()),2&u){const o=e.oxw();e.xp6(1),e.Q6J("ngForOf",o.bars)("ngForTrackBy",o.trackBy)}}function Iu(u,L){if(1&u){const o=e.EpF();e.O4$(),e.TgZ(0,"g",2),e.NdJ("select",function(U){e.CHM(o);const Y=e.oxw(2);return e.KtG(Y.onClick(U))})("activate",function(U){e.CHM(o);const Y=e.oxw(2);return e.KtG(Y.activate.emit(U))})("deactivate",function(U){e.CHM(o);const Y=e.oxw(2);return e.KtG(Y.deactivate.emit(U))}),e.qZA()}if(2&u){const o=L.$implicit,C=e.oxw(2);e.Q6J("width",o.width)("height",o.height)("x",o.x)("y",o.y)("fill",o.color)("stops",o.gradientStops)("data",o.data)("orientation",C.barOrientation.Vertical)("roundEdges",o.roundEdges)("gradient",C.gradient)("ariaLabel",o.ariaLabel)("isActive",C.isActive(o.data))("tooltipDisabled",C.tooltipDisabled)("tooltipPlacement",C.tooltipPlacement)("tooltipType",C.tooltipType)("tooltipTitle",C.tooltipTemplate?void 0:o.tooltipText)("tooltipTemplate",C.tooltipTemplate)("tooltipContext",o.data)("noBarWhenZero",C.noBarWhenZero)("animations",C.animations)}}function Om(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,Iu,1,20,"g",1),e.qZA()),2&u){const o=e.oxw();e.xp6(1),e.Q6J("ngForOf",o.bars)("ngForTrackBy",o.trackBy)}}function Pm(u,L){if(1&u){const o=e.EpF();e.O4$(),e.TgZ(0,"g",4),e.NdJ("dimensionsChanged",function(U){const Te=e.CHM(o).index,et=e.oxw(2);return e.KtG(et.dataLabelHeightChanged.emit({size:U,index:Te}))}),e.qZA()}if(2&u){const o=L.$implicit,C=e.oxw(2);e.Q6J("barX",o.x)("barY",o.y)("barWidth",o.width)("barHeight",o.height)("value",o.total)("valueFormatting",C.dataLabelFormatting)("orientation",C.barOrientation.Vertical)}}function Rm(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,Pm,1,7,"g",3),e.qZA()),2&u){const o=e.oxw();e.xp6(1),e.Q6J("ngForOf",o.barsForDataLabels)("ngForTrackBy",o.trackDataLabelBy)}}function Nm(u,L){if(1&u){const o=e.EpF();e.O4$(),e.TgZ(0,"g",5),e.NdJ("dimensionsChanged",function(U){e.CHM(o);const Y=e.oxw();return e.KtG(Y.updateXAxisHeight(U))}),e.qZA()}if(2&u){const o=e.oxw();e.Q6J("xScale",o.xScale)("dims",o.dims)("showGridLines",o.showGridLines)("showLabel",o.showXAxisLabel)("labelText",o.xAxisLabel)("trimTicks",o.trimXAxisTicks)("rotateTicks",o.rotateXAxisTicks)("maxTickLength",o.maxXAxisTickLength)("tickFormatting",o.xAxisTickFormatting)("ticks",o.xAxisTicks)("xAxisOffset",o.dataLabelMaxHeight.negative)("wrapTicks",o.wrapTicks)}}function K0(u,L){if(1&u){const o=e.EpF();e.O4$(),e.TgZ(0,"g",6),e.NdJ("dimensionsChanged",function(U){e.CHM(o);const Y=e.oxw();return e.KtG(Y.updateYAxisWidth(U))}),e.qZA()}if(2&u){const o=e.oxw();e.Q6J("yScale",o.yScale)("dims",o.dims)("showGridLines",o.showGridLines)("showLabel",o.showYAxisLabel)("labelText",o.yAxisLabel)("trimTicks",o.trimYAxisTicks)("maxTickLength",o.maxYAxisTickLength)("tickFormatting",o.yAxisTickFormatting)("ticks",o.yAxisTicks)("wrapTicks",o.wrapTicks)}}function ku(u,L){if(1&u){const o=e.EpF();e.O4$(),e.TgZ(0,"g",6),e.NdJ("dimensionsChanged",function(U){e.CHM(o);const Y=e.oxw();return e.KtG(Y.updateXAxisHeight(U))}),e.qZA()}if(2&u){const o=e.oxw();e.Q6J("xScale",o.groupScale)("dims",o.dims)("showLabel",o.showXAxisLabel)("labelText",o.xAxisLabel)("trimTicks",o.trimXAxisTicks)("rotateTicks",o.rotateXAxisTicks)("maxTickLength",o.maxXAxisTickLength)("tickFormatting",o.xAxisTickFormatting)("ticks",o.xAxisTicks)("xAxisOffset",o.dataLabelMaxHeight.negative)("wrapTicks",o.wrapTicks)}}function Hm(u,L){if(1&u){const o=e.EpF();e.O4$(),e.TgZ(0,"g",7),e.NdJ("dimensionsChanged",function(U){e.CHM(o);const Y=e.oxw();return e.KtG(Y.updateYAxisWidth(U))}),e.qZA()}if(2&u){const o=e.oxw();e.Q6J("yScale",o.valueScale)("dims",o.dims)("showGridLines",o.showGridLines)("showLabel",o.showYAxisLabel)("labelText",o.yAxisLabel)("trimTicks",o.trimYAxisTicks)("maxTickLength",o.maxYAxisTickLength)("tickFormatting",o.yAxisTickFormatting)("ticks",o.yAxisTicks)("wrapTicks",o.wrapTicks)}}function m3(u,L){if(1&u){const o=e.EpF();e.O4$(),e.TgZ(0,"g",9),e.NdJ("select",function(U){const Te=e.CHM(o).$implicit,et=e.oxw(2);return e.KtG(et.onClick(U,Te))})("activate",function(U){const Te=e.CHM(o).$implicit,et=e.oxw(2);return e.KtG(et.onActivate(U,Te))})("deactivate",function(U){const Te=e.CHM(o).$implicit,et=e.oxw(2);return e.KtG(et.onDeactivate(U,Te))})("dataLabelHeightChanged",function(U){const Te=e.CHM(o).index,et=e.oxw(2);return e.KtG(et.onDataLabelMaxHeightChanged(U,Te))}),e.qZA()}if(2&u){const o=L.$implicit,C=e.oxw(2);e.Q6J("@animationState","active")("activeEntries",C.activeEntries)("xScale",C.innerScale)("yScale",C.valueScale)("colors",C.colors)("series",o.series)("dims",C.dims)("gradient",C.gradient)("tooltipDisabled",C.tooltipDisabled)("tooltipTemplate",C.tooltipTemplate)("showDataLabel",C.showDataLabel)("dataLabelFormatting",C.dataLabelFormatting)("seriesName",o.name)("roundEdges",C.roundEdges)("animations",C.animations)("noBarWhenZero",C.noBarWhenZero),e.uIk("transform",C.groupTransform(o))}}function Ou(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,m3,1,17,"g",8),e.qZA()),2&u){const o=e.oxw();e.xp6(1),e.Q6J("ngForOf",o.results)("ngForTrackBy",o.trackBy)}}function Q0(u,L){if(1&u){const o=e.EpF();e.O4$(),e.TgZ(0,"g",9),e.NdJ("select",function(U){const Te=e.CHM(o).$implicit,et=e.oxw(2);return e.KtG(et.onClick(U,Te))})("activate",function(U){const Te=e.CHM(o).$implicit,et=e.oxw(2);return e.KtG(et.onActivate(U,Te))})("deactivate",function(U){const Te=e.CHM(o).$implicit,et=e.oxw(2);return e.KtG(et.onDeactivate(U,Te))})("dataLabelHeightChanged",function(U){const Te=e.CHM(o).index,et=e.oxw(2);return e.KtG(et.onDataLabelMaxHeightChanged(U,Te))}),e.qZA()}if(2&u){const o=L.$implicit,C=e.oxw(2);e.Q6J("activeEntries",C.activeEntries)("xScale",C.innerScale)("yScale",C.valueScale)("colors",C.colors)("series",o.series)("dims",C.dims)("gradient",C.gradient)("tooltipDisabled",C.tooltipDisabled)("tooltipTemplate",C.tooltipTemplate)("showDataLabel",C.showDataLabel)("dataLabelFormatting",C.dataLabelFormatting)("seriesName",o.name)("roundEdges",C.roundEdges)("animations",C.animations)("noBarWhenZero",C.noBarWhenZero),e.uIk("transform",C.groupTransform(o))}}function Fm(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,Q0,1,16,"g",8),e.qZA()),2&u){const o=e.oxw();e.xp6(1),e.Q6J("ngForOf",o.results)("ngForTrackBy",o.trackBy)}}function Vu(u,L,o){o=o||{};let C,U,Y,Te=null,et=0;function Wt(){et=!1===o.leading?0:+new Date,Te=null,Y=u.apply(C,U)}return function(){const Gt=+new Date;!et&&!1===o.leading&&(et=Gt);const si=L-(Gt-et);return C=this,U=arguments,si<=0?(clearTimeout(Te),Te=null,et=Gt,Y=u.apply(C,U)):!Te&&!1!==o.trailing&&(Te=setTimeout(Wt,si)),Y}}function xp(u,L){return function(C,U,Y){return{configurable:!0,enumerable:Y.enumerable,get:function(){return Object.defineProperty(this,U,{configurable:!0,enumerable:Y.enumerable,value:Vu(Y.value,u,L)}),this[U]}}}}var ur=function(u){return u.Top="top",u.Bottom="bottom",u.Left="left",u.Right="right",u.Center="center",u}(ur||{});function z3(u,L,o){return o===ur.Top?u.top-7:o===ur.Bottom?u.top+u.height-L.height+7:o===ur.Center?u.top+u.height/2-L.height/2:void 0}function Bu(u,L,o){return o===ur.Left?u.left-7:o===ur.Right?u.left+u.width-L.width+7:o===ur.Center?u.left+u.width/2-L.width/2:void 0}class Ba{static calculateVerticalAlignment(L,o,C){let U=z3(L,o,C);return U+o.height>window.innerHeight&&(U=window.innerHeight-o.height),U}static calculateVerticalCaret(L,o,C,U){let Y;U===ur.Top&&(Y=L.height/2-C.height/2+7),U===ur.Bottom&&(Y=o.height-L.height/2-C.height/2-7),U===ur.Center&&(Y=o.height/2-C.height/2);const Te=z3(L,o,U);return Te+o.height>window.innerHeight&&(Y+=Te+o.height-window.innerHeight),Y}static calculateHorizontalAlignment(L,o,C){let U=Bu(L,o,C);return U+o.width>window.innerWidth&&(U=window.innerWidth-o.width),U}static calculateHorizontalCaret(L,o,C,U){let Y;U===ur.Left&&(Y=L.width/2-C.width/2+7),U===ur.Right&&(Y=o.width-L.width/2-C.width/2-7),U===ur.Center&&(Y=o.width/2-C.width/2);const Te=Bu(L,o,U);return Te+o.width>window.innerWidth&&(Y+=Te+o.width-window.innerWidth),Y}static shouldFlip(L,o,C,U){let Y=!1;return C===ur.Right&&L.left+L.width+o.width+U>window.innerWidth&&(Y=!0),C===ur.Left&&L.left-o.width-U<0&&(Y=!0),C===ur.Top&&L.top-o.height-U<0&&(Y=!0),C===ur.Bottom&&L.top+L.height+o.height+U>window.innerHeight&&(Y=!0),Y}static positionCaret(L,o,C,U,Y){let Te=0,et=0;return L===ur.Right?(et=-7,Te=Ba.calculateVerticalCaret(C,o,U,Y)):L===ur.Left?(et=o.width,Te=Ba.calculateVerticalCaret(C,o,U,Y)):L===ur.Top?(Te=o.height,et=Ba.calculateHorizontalCaret(C,o,U,Y)):L===ur.Bottom&&(Te=-7,et=Ba.calculateHorizontalCaret(C,o,U,Y)),{top:Te,left:et}}static positionContent(L,o,C,U,Y){let Te=0,et=0;return L===ur.Right?(et=C.left+C.width+U,Te=Ba.calculateVerticalAlignment(C,o,Y)):L===ur.Left?(et=C.left-o.width-U,Te=Ba.calculateVerticalAlignment(C,o,Y)):L===ur.Top?(Te=C.top-o.height-U,et=Ba.calculateHorizontalAlignment(C,o,Y)):L===ur.Bottom&&(Te=C.top+C.height+U,et=Ba.calculateHorizontalAlignment(C,o,Y)),{top:Te,left:et}}static determinePlacement(L,o,C,U){if(Ba.shouldFlip(C,o,L,U)){if(L===ur.Right)return ur.Left;if(L===ur.Left)return ur.Right;if(L===ur.Top)return ur.Bottom;if(L===ur.Bottom)return ur.Top}return L}}let Uu=(()=>{class u{constructor(o,C,U){this.element=o,this.renderer=C,this.platformId=U}get cssClasses(){let o="ngx-charts-tooltip-content";return o+=` position-${this.placement}`,o+=` type-${this.type}`,o+=` ${this.cssClass}`,o}ngAfterViewInit(){setTimeout(this.position.bind(this))}position(){if(!(0,t.NF)(this.platformId))return;const o=this.element.nativeElement,C=this.host.nativeElement.getBoundingClientRect();if(!C.height&&!C.width)return;const U=o.getBoundingClientRect();this.checkFlip(C,U),this.positionContent(o,C,U),this.showCaret&&this.positionCaret(C,U),setTimeout(()=>this.renderer.addClass(o,"animate"),1)}positionContent(o,C,U){const{top:Y,left:Te}=Ba.positionContent(this.placement,U,C,this.spacing,this.alignment);this.renderer.setStyle(o,"top",`${Y}px`),this.renderer.setStyle(o,"left",`${Te}px`)}positionCaret(o,C){const U=this.caretElm.nativeElement,Y=U.getBoundingClientRect(),{top:Te,left:et}=Ba.positionCaret(this.placement,C,o,Y,this.alignment);this.renderer.setStyle(U,"top",`${Te}px`),this.renderer.setStyle(U,"left",`${et}px`)}checkFlip(o,C){this.placement=Ba.determinePlacement(this.placement,C,o,this.spacing)}onWindowResize(){this.position()}}return u.\u0275fac=function(o){return new(o||u)(e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(e.Lbi))},u.\u0275cmp=e.Xpm({type:u,selectors:[["ngx-tooltip-content"]],viewQuery:function(o,C){if(1&o&&e.Gf(_u,5),2&o){let U;e.iGM(U=e.CRH())&&(C.caretElm=U.first)}},hostVars:2,hostBindings:function(o,C){1&o&&e.NdJ("resize",function(){return C.onWindowResize()},!1,e.Jf7),2&o&&e.Tol(C.cssClasses)},inputs:{host:"host",showCaret:"showCaret",type:"type",placement:"placement",alignment:"alignment",spacing:"spacing",cssClass:"cssClass",title:"title",template:"template",context:"context"},decls:6,vars:6,consts:[[3,"hidden"],["caretElm",""],[1,"tooltip-content"],[4,"ngIf"],[3,"innerHTML",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"]],template:function(o,C){1&o&&(e.TgZ(0,"div"),e._UZ(1,"span",0,1),e.TgZ(3,"div",2),e.YNc(4,bu,2,4,"span",3)(5,H0,1,1,"span",4),e.qZA()()),2&o&&(e.xp6(1),e.Gre("tooltip-caret position-",C.placement,""),e.Q6J("hidden",!C.showCaret),e.xp6(3),e.Q6J("ngIf",!C.title),e.xp6(1),e.Q6J("ngIf",C.title))},dependencies:[t.O5,t.tP],styles:[".ngx-charts-tooltip-content{position:fixed;border-radius:3px;z-index:5000;display:block;font-weight:400;opacity:0;pointer-events:none!important}.ngx-charts-tooltip-content.type-popover{background:#fff;color:#060709;border:1px solid #72809b;box-shadow:0 1px 3px #0003,0 1px 1px #00000024,0 2px 1px -1px #0000001f;font-size:13px;padding:4px}.ngx-charts-tooltip-content.type-popover .tooltip-caret{position:absolute;z-index:5001;width:0;height:0}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-left{border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-right{border-top:7px solid transparent;border-bottom:7px solid transparent;border-right:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-bottom{border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #fff}.ngx-charts-tooltip-content.type-tooltip{color:#fff;background:rgba(0,0,0,.75);font-size:12px;padding:0 10px;text-align:center;pointer-events:auto}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-left{border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-right{border-top:7px solid transparent;border-bottom:7px solid transparent;border-right:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-bottom{border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content .tooltip-label{display:block;line-height:1em;padding:8px 5px 5px;font-size:1em}.ngx-charts-tooltip-content .tooltip-val{display:block;font-size:1.3em;line-height:1em;padding:0 5px 8px}.ngx-charts-tooltip-content .tooltip-caret{position:absolute;z-index:5001;width:0;height:0}.ngx-charts-tooltip-content.position-right{transform:translate(10px)}.ngx-charts-tooltip-content.position-left{transform:translate(-10px)}.ngx-charts-tooltip-content.position-top{transform:translateY(-10px)}.ngx-charts-tooltip-content.position-bottom{transform:translateY(10px)}.ngx-charts-tooltip-content.animate{opacity:1;transition:opacity .3s,transform .3s;transform:translate(0);pointer-events:auto}.area-tooltip-container{padding:5px 0;pointer-events:none}.tooltip-item{text-align:left;line-height:1.2em;padding:5px 0}.tooltip-item .tooltip-item-color{display:inline-block;height:12px;width:12px;margin-right:5px;color:#5b646b;border-radius:3px}\n"],encapsulation:2}),(0,y.gn)([xp(100)],u.prototype,"onWindowResize",null),u})();class Cp{constructor(L){this.injectionService=L,this.defaults={},this.components=new Map}getByType(L=this.type){return this.components.get(L)}create(L){return this.createByType(this.type,L)}createByType(L,o){o=this.assignDefaults(o);const C=this.injectComponent(L,o);return this.register(L,C),C}destroy(L){const o=this.components.get(L.componentType);if(o&&o.length){const C=o.indexOf(L);C>-1&&(o[C].destroy(),o.splice(C,1))}}destroyAll(){this.destroyByType(this.type)}destroyByType(L){const o=this.components.get(L);if(o&&o.length){let C=o.length-1;for(;C>=0;)this.destroy(o[C--])}}injectComponent(L,o){return this.injectionService.appendComponent(L,o)}assignDefaults(L){const o={...this.defaults.inputs},C={...this.defaults.outputs};return!L.inputs&&!L.outputs&&(L={inputs:L}),o&&(L.inputs={...o,...L.inputs}),C&&(L.outputs={...C,...L.outputs}),L}register(L,o){this.components.has(L)||this.components.set(L,[]),this.components.get(L).push(o)}}let V3=(()=>{class u{constructor(o,C,U){this.applicationRef=o,this.componentFactoryResolver=C,this.injector=U}static setGlobalRootViewContainer(o){u.globalRootViewContainer=o}getRootViewContainer(){if(this._container)return this._container;if(u.globalRootViewContainer)return u.globalRootViewContainer;if(this.applicationRef.components.length)return this.applicationRef.components[0];throw new Error("View Container not found! ngUpgrade needs to manually set this via setRootViewContainer or setGlobalRootViewContainer.")}setRootViewContainer(o){this._container=o}getComponentRootNode(o){return function u2(u){return u.element}(o)?o.element.nativeElement:o.hostView&&o.hostView.rootNodes.length>0?o.hostView.rootNodes[0]:o.location.nativeElement}getRootViewContainerNode(o){return this.getComponentRootNode(o)}projectComponentBindings(o,C){if(C){if(void 0!==C.inputs){const U=Object.getOwnPropertyNames(C.inputs);for(const Y of U)o.instance[Y]=C.inputs[Y]}if(void 0!==C.outputs){const U=Object.getOwnPropertyNames(C.outputs);for(const Y of U)o.instance[Y]=C.outputs[Y]}}return o}appendComponent(o,C={},U){U||(U=this.getRootViewContainer());const Y=this.getComponentRootNode(U),Te=new A.u0(Y,this.componentFactoryResolver,this.applicationRef,this.injector),et=new A.C5(o),Wt=Te.attach(et);return this.projectComponentBindings(Wt,C),Wt}}return u.globalRootViewContainer=null,u.\u0275fac=function(o){return new(o||u)(e.LFG(e.z2F),e.LFG(e._Vd),e.LFG(e.zs3))},u.\u0275prov=e.Yz7({token:u,factory:u.\u0275fac}),u})(),$0=(()=>{class u extends Cp{constructor(o){super(o),this.type=Uu}}return u.\u0275fac=function(o){return new(o||u)(e.LFG(V3))},u.\u0275prov=e.Yz7({token:u,factory:u.\u0275fac}),u})();var Pc=function(u){return u.Right="right",u.Below="below",u}(Pc||{}),fl=function(u){return u.ScaleLegend="scaleLegend",u.Legend="legend",u}(fl||{}),kn=function(u){return u.Time="time",u.Linear="linear",u.Ordinal="ordinal",u.Quantile="quantile",u}(kn||{});let wp=(()=>{class u{constructor(){this.horizontal=!1}ngOnChanges(o){const C=this.gradientString(this.colors.range(),this.colors.domain());this.gradient=`linear-gradient(to ${this.horizontal?"right":"bottom"}, ${C})`}gradientString(o,C){C.push(1);const U=[];return o.reverse().forEach((Y,Te)=>{U.push(`${Y} ${Math.round(100*C[Te])}%`)}),U.join(", ")}}return u.\u0275fac=function(o){return new(o||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["ngx-charts-scale-legend"]],inputs:{valueRange:"valueRange",colors:"colors",height:"height",width:"width",horizontal:"horizontal"},features:[e.TTD],decls:8,vars:10,consts:[[1,"scale-legend"],[1,"scale-legend-label"],[1,"scale-legend-wrap"]],template:function(o,C){1&o&&(e.TgZ(0,"div",0)(1,"div",1)(2,"span"),e._uU(3),e.qZA()(),e._UZ(4,"div",2),e.TgZ(5,"div",1)(6,"span"),e._uU(7),e.qZA()()()),2&o&&(e.Udp("height",C.horizontal?void 0:C.height,"px")("width",C.width,"px"),e.ekj("horizontal-legend",C.horizontal),e.xp6(3),e.Oqu(C.valueRange[1].toLocaleString()),e.xp6(1),e.Udp("background",C.gradient),e.xp6(3),e.Oqu(C.valueRange[0].toLocaleString()))},styles:[".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .scale-legend{text-align:center;display:flex;flex-direction:column}.chart-legend .scale-legend-wrap{display:inline-block;flex:1;width:30px;border-radius:5px;margin:0 auto}.chart-legend .scale-legend-label{font-size:12px}.chart-legend .horizontal-legend.scale-legend{flex-direction:row}.chart-legend .horizontal-legend .scale-legend-wrap{width:auto;height:30px;margin:0 16px}\n"],encapsulation:2,changeDetection:0}),u})();function nd(u){return u instanceof Date?u.toLocaleDateString():u.toLocaleString()}let Gu=(()=>{class u{constructor(){this.isActive=!1,this.select=new e.vpe,this.activate=new e.vpe,this.deactivate=new e.vpe,this.toggle=new e.vpe}get trimmedLabel(){return this.formattedLabel||"(empty)"}onMouseEnter(){this.activate.emit({name:this.label})}onMouseLeave(){this.deactivate.emit({name:this.label})}}return u.\u0275fac=function(o){return new(o||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["ngx-charts-legend-entry"]],hostBindings:function(o,C){1&o&&e.NdJ("mouseenter",function(){return C.onMouseEnter()})("mouseleave",function(){return C.onMouseLeave()})},inputs:{color:"color",label:"label",formattedLabel:"formattedLabel",isActive:"isActive"},outputs:{select:"select",activate:"activate",deactivate:"deactivate",toggle:"toggle"},decls:4,vars:6,consts:[["tabindex","-1",3,"title","click"],[1,"legend-label-color",3,"click"],[1,"legend-label-text"]],template:function(o,C){1&o&&(e.TgZ(0,"span",0),e.NdJ("click",function(){return C.select.emit(C.formattedLabel)}),e.TgZ(1,"span",1),e.NdJ("click",function(){return C.toggle.emit(C.formattedLabel)}),e.qZA(),e.TgZ(2,"span",2),e._uU(3),e.qZA()()),2&o&&(e.ekj("active",C.isActive),e.Q6J("title",C.formattedLabel),e.xp6(1),e.Udp("background-color",C.color),e.xp6(2),e.hij(" ",C.trimmedLabel," "))},encapsulation:2,changeDetection:0}),u})(),f2=(()=>{class u{constructor(o){this.cd=o,this.horizontal=!1,this.labelClick=new e.vpe,this.labelActivate=new e.vpe,this.labelDeactivate=new e.vpe,this.legendEntries=[]}ngOnChanges(o){this.update()}update(){this.cd.markForCheck(),this.legendEntries=this.getLegendEntries()}getLegendEntries(){const o=[];for(const C of this.data){const U=nd(C);-1===o.findIndex(Te=>Te.label===U)&&o.push({label:C,formattedLabel:U,color:this.colors.getColor(C)})}return o}isActive(o){return!!this.activeEntries&&void 0!==this.activeEntries.find(U=>o.label===U.name)}activate(o){this.labelActivate.emit(o)}deactivate(o){this.labelDeactivate.emit(o)}trackBy(o,C){return C.label}}return u.\u0275fac=function(o){return new(o||u)(e.Y36(e.sBO))},u.\u0275cmp=e.Xpm({type:u,selectors:[["ngx-charts-legend"]],inputs:{data:"data",title:"title",colors:"colors",height:"height",width:"width",activeEntries:"activeEntries",horizontal:"horizontal"},outputs:{labelClick:"labelClick",labelActivate:"labelActivate",labelDeactivate:"labelDeactivate"},features:[e.TTD],decls:5,vars:9,consts:[["class","legend-title",4,"ngIf"],[1,"legend-wrap"],[1,"legend-labels"],["class","legend-label",4,"ngFor","ngForOf","ngForTrackBy"],[1,"legend-title"],[1,"legend-title-text"],[1,"legend-label"],[3,"label","formattedLabel","color","isActive","select","activate","deactivate"]],template:function(o,C){1&o&&(e.TgZ(0,"div"),e.YNc(1,Xl,3,1,"header",0),e.TgZ(2,"div",1)(3,"ul",2),e.YNc(4,Jl,2,4,"li",3),e.qZA()()()),2&o&&(e.Udp("width",C.width,"px"),e.xp6(1),e.Q6J("ngIf",(null==C.title?null:C.title.length)>0),e.xp6(2),e.Udp("max-height",C.height-45,"px"),e.ekj("horizontal-legend",C.horizontal),e.xp6(1),e.Q6J("ngForOf",C.legendEntries)("ngForTrackBy",C.trackBy))},dependencies:[Gu,t.O5,t.sg],styles:[".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .legend-title{white-space:nowrap;overflow:hidden;margin-left:10px;margin-bottom:5px;font-size:14px;font-weight:700}.chart-legend ul,.chart-legend li{padding:0;margin:0;list-style:none}.chart-legend .horizontal-legend li{display:inline-block}.chart-legend .legend-wrap{width:calc(100% - 10px)}.chart-legend .legend-labels{line-height:85%;list-style:none;text-align:left;float:left;width:100%;border-radius:3px;overflow-y:auto;overflow-x:hidden;white-space:nowrap;background:rgba(0,0,0,.05)}.chart-legend .legend-label{cursor:pointer;font-size:90%;margin:8px;color:#afb7c8}.chart-legend .legend-label:hover{color:#000;transition:.2s}.chart-legend .legend-label .active .legend-label-text{color:#000}.chart-legend .legend-label-color{display:inline-block;height:15px;width:15px;margin-right:5px;color:#5b646b;border-radius:3px}.chart-legend .legend-label-text{display:inline-block;vertical-align:top;line-height:15px;font-size:12px;width:calc(100% - 20px);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chart-legend .legend-title-text{vertical-align:bottom;display:inline-block;line-height:16px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}\n"],encapsulation:2,changeDetection:0}),u})(),m2=(()=>{class u{constructor(){this.showLegend=!1,this.animations=!0,this.legendLabelClick=new e.vpe,this.legendLabelActivate=new e.vpe,this.legendLabelDeactivate=new e.vpe,this.LegendPosition=Pc,this.LegendType=fl}ngOnChanges(o){this.update()}update(){let o=0;this.showLegend&&(this.legendType=this.getLegendType(),(!this.legendOptions||this.legendOptions.position===Pc.Right)&&(o=this.legendType===fl.ScaleLegend?1:2)),this.chartWidth=Math.floor(this.view[0]*(12-o)/12),this.legendWidth=this.legendOptions&&this.legendOptions.position!==Pc.Right?this.chartWidth:Math.floor(this.view[0]*o/12)}getLegendType(){return this.legendOptions.scaleType===kn.Linear?fl.ScaleLegend:fl.Legend}}return u.\u0275fac=function(o){return new(o||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["ngx-charts-chart"]],inputs:{view:"view",showLegend:"showLegend",legendOptions:"legendOptions",legendType:"legendType",activeEntries:"activeEntries",animations:"animations"},outputs:{legendLabelClick:"legendLabelClick",legendLabelActivate:"legendLabelActivate",legendLabelDeactivate:"legendLabelDeactivate"},features:[e._Bn([$0]),e.TTD],ngContentSelectors:F0,decls:5,vars:8,consts:[[1,"ngx-charts-outer"],[1,"ngx-charts"],["class","chart-legend",3,"horizontal","valueRange","colors","height","width",4,"ngIf"],["class","chart-legend",3,"horizontal","data","title","colors","height","width","activeEntries","labelClick","labelActivate","labelDeactivate",4,"ngIf"],[1,"chart-legend",3,"horizontal","valueRange","colors","height","width"],[1,"chart-legend",3,"horizontal","data","title","colors","height","width","activeEntries","labelClick","labelActivate","labelDeactivate"]],template:function(o,C){1&o&&(e.F$t(),e.TgZ(0,"div",0),e.O4$(),e.TgZ(1,"svg",1),e.Hsn(2),e.qZA(),e.YNc(3,Kd,1,5,"ngx-charts-scale-legend",2)(4,yu,1,7,"ngx-charts-legend",3),e.qZA()),2&o&&(e.Udp("width",C.view[0],"px")("height",C.view[1],"px"),e.xp6(1),e.uIk("width",C.chartWidth)("height",C.view[1]),e.xp6(2),e.Q6J("ngIf",C.showLegend&&C.legendType===C.LegendType.ScaleLegend),e.xp6(1),e.Q6J("ngIf",C.showLegend&&C.legendType===C.LegendType.Legend))},dependencies:[wp,f2,t.O5],encapsulation:2,changeDetection:0}),u})(),Rc=(()=>{class u{constructor(o,C){this.element=o,this.zone=C,this.visible=new e.vpe,this.isVisible=!1,this.runCheck()}destroy(){clearTimeout(this.timeout)}onVisibilityChange(){this.zone.run(()=>{this.isVisible=!0,this.visible.emit(!0)})}runCheck(){const o=()=>{if(!this.element)return;const{offsetHeight:C,offsetWidth:U}=this.element.nativeElement;C&&U?(clearTimeout(this.timeout),this.onVisibilityChange()):(clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>o(),100)}))};this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>o())})}}return u.\u0275fac=function(o){return new(o||u)(e.Y36(e.SBq),e.Y36(e.R0b))},u.\u0275dir=e.lG2({type:u,selectors:[["visibility-observer"]],outputs:{visible:"visible"}}),u})();function Zu(u){return"[object Date]"===toString.call(u)}let Wu=(()=>{class u{constructor(o,C,U,Y){this.chartElement=o,this.zone=C,this.cd=U,this.platformId=Y,this.scheme="cool",this.schemeType=kn.Ordinal,this.animations=!0,this.select=new e.vpe}ngOnInit(){(0,t.PM)(this.platformId)&&(this.animations=!1)}ngAfterViewInit(){this.bindWindowResizeEvent(),this.visibilityObserver=new Rc(this.chartElement,this.zone),this.visibilityObserver.visible.subscribe(this.update.bind(this))}ngOnDestroy(){this.unbindEvents(),this.visibilityObserver&&(this.visibilityObserver.visible.unsubscribe(),this.visibilityObserver.destroy())}ngOnChanges(o){this.update()}update(){if(this.results=this.results?this.cloneData(this.results):[],this.view)this.width=this.view[0],this.height=this.view[1];else{const o=this.getContainerDims();o&&(this.width=o.width,this.height=o.height)}this.width||(this.width=600),this.height||(this.height=400),this.width=Math.floor(this.width),this.height=Math.floor(this.height),this.cd&&this.cd.markForCheck()}getContainerDims(){let o,C;const U=this.chartElement.nativeElement;if((0,t.NF)(this.platformId)&&null!==U.parentNode){const Y=U.parentNode.getBoundingClientRect();o=Y.width,C=Y.height}return o&&C?{width:o,height:C}:null}formatDates(){for(let o=0;o<this.results.length;o++){const C=this.results[o];if(C.label=C.name,Zu(C.label)&&(C.label=C.label.toLocaleDateString()),C.series)for(let U=0;U<C.series.length;U++){const Y=C.series[U];Y.label=Y.name,Zu(Y.label)&&(Y.label=Y.label.toLocaleDateString())}}}unbindEvents(){this.resizeSubscription&&this.resizeSubscription.unsubscribe()}bindWindowResizeEvent(){if(!(0,t.NF)(this.platformId))return;const C=(0,l.R)(window,"resize").pipe((0,x.b)(200)).subscribe(U=>{this.update(),this.cd&&this.cd.markForCheck()});this.resizeSubscription=C}cloneData(o){const C=[];for(const U of o){const Y={};if(void 0!==U.name&&(Y.name=U.name),void 0!==U.value&&(Y.value=U.value),void 0!==U.series){Y.series=[];for(const Te of U.series){const et=Object.assign({},Te);Y.series.push(et)}}void 0!==U.extra&&(Y.extra=JSON.parse(JSON.stringify(U.extra))),void 0!==U.source&&(Y.source=U.source),void 0!==U.target&&(Y.target=U.target),C.push(Y)}return C}}return u.\u0275fac=function(o){return new(o||u)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(e.Lbi))},u.\u0275cmp=e.Xpm({type:u,selectors:[["base-chart"]],inputs:{results:"results",view:"view",scheme:"scheme",schemeType:"schemeType",customColors:"customColors",animations:"animations"},outputs:{select:"select"},features:[e.TTD],decls:1,vars:0,template:function(o,C){1&o&&e._UZ(0,"div")},encapsulation:2}),u})();var Po=function(u){return u.Top="top",u.Bottom="bottom",u.Left="left",u.Right="right",u}(Po||{});let Yu=(()=>{class u{constructor(o){this.textHeight=25,this.margin=5,this.element=o.nativeElement}ngOnChanges(o){this.update()}update(){switch(this.strokeWidth="0.01",this.textAnchor="middle",this.transform="",this.orient){case Po.Top:case Po.Bottom:this.y=this.offset,this.x=this.width/2;break;case Po.Left:this.y=-(this.offset+this.textHeight+this.margin),this.x=-this.height/2,this.transform="rotate(270)";break;case Po.Right:this.y=this.offset+this.margin,this.x=-this.height/2,this.transform="rotate(270)"}}}return u.\u0275fac=function(o){return new(o||u)(e.Y36(e.SBq))},u.\u0275cmp=e.Xpm({type:u,selectors:[["g","ngx-charts-axis-label",""]],inputs:{orient:"orient",label:"label",offset:"offset",width:"width",height:"height"},features:[e.TTD],attrs:Qd,decls:2,vars:6,template:function(o,C){1&o&&(e.O4$(),e.TgZ(0,"text"),e._uU(1),e.qZA()),2&o&&(e.uIk("stroke-width",C.strokeWidth)("x",C.x)("y",C.y)("text-anchor",C.textAnchor)("transform",C.transform),e.xp6(1),e.hij(" ",C.label," "))},encapsulation:2,changeDetection:0}),u})();function ju(u,L=16){return"string"!=typeof u?"number"==typeof u?u+"":"":(u=u.trim()).length<=L?u:`${u.slice(0,L)}...`}function Ku(u,L){if(u.length>L){const o=[],C=Math.floor(u.length/L);for(let U=0;U<u.length;U++)U%C==0&&o.push(u[U]);u=o}return u}function U3(u,L,o){const C=(u||"").toString();let U=[];if(/\s/.test(C))U=C.split(/\s+/).reduce((Y,Te)=>{const et=(Y.pop()||"")+" ";return et.length+Te.length>L?[...Y,et.trim(),Te.trim()]:[...Y,et+Te]},[]);else{let Y=0;for(;Y<C.length;)U.push(C.substring(Y,Y+L)),Y+=L}return U.length>o&&(U=U.splice(0,o),U[U.length-1]+="..."),U}var Nc=function(u){return u.Start="start",u.Middle="middle",u.End="end",u}(Nc||{});let th=(()=>{class u{constructor(o){this.platformId=o,this.tickArguments=[5],this.tickStroke="#ccc",this.trimTicks=!0,this.maxTickLength=16,this.showGridLines=!1,this.rotateTicks=!0,this.wrapTicks=!1,this.dimensionsChanged=new e.vpe,this.verticalSpacing=20,this.rotateLabels=!1,this.innerTickSize=6,this.outerTickSize=6,this.tickPadding=3,this.textAnchor=Nc.Middle,this.maxTicksLength=0,this.maxAllowedLength=16,this.height=0,this.approxHeight=10,this.maxPossibleLengthForTickIfWrapped=16}get isWrapTicksSupported(){return this.wrapTicks&&this.scale.step}ngOnChanges(o){this.update()}ngAfterViewInit(){setTimeout(()=>this.updateDims())}updateDims(){if(!(0,t.NF)(this.platformId))return void this.dimensionsChanged.emit({height:this.approxHeight});const o=parseInt(this.ticksElement.nativeElement.getBoundingClientRect().height,10);o!==this.height&&(this.height=o,this.dimensionsChanged.emit({height:this.height}),setTimeout(()=>this.updateDims()))}update(){const o=this.scale;this.ticks=this.getTicks(),this.tickFormat=this.tickFormatting?this.tickFormatting:o.tickFormat?o.tickFormat.apply(o,this.tickArguments):function(U){return"Date"===U.constructor.name?U.toLocaleDateString():U.toLocaleString()};const C=this.rotateTicks?this.getRotationAngle(this.ticks):null;this.adjustedScale=this.scale.bandwidth?function(U){return this.scale(U)+.5*this.scale.bandwidth()}:this.scale,this.textTransform="",C&&0!==C?(this.textTransform=`rotate(${C})`,this.textAnchor=Nc.End,this.verticalSpacing=10):this.textAnchor=Nc.Middle,setTimeout(()=>this.updateDims())}getRotationAngle(o){let C=0;this.maxTicksLength=0;for(let gi=0;gi<o.length;gi++){const Ci=this.tickFormat(o[gi]).toString();let ki=Ci.length;this.trimTicks&&(ki=this.tickTrim(Ci).length),ki>this.maxTicksLength&&(this.maxTicksLength=ki)}const Te=7*Math.min(this.maxTicksLength,this.maxAllowedLength);let et=Te;const Wt=Math.floor(this.width/o.length);for(;et>Wt&&C>-90;)C-=30,et=Math.cos(C*(Math.PI/180))*Te;let Gt=14;if(this.isWrapTicksSupported){const gi=this.ticks.reduce((ki,an)=>an.length>ki.length?an:ki,"");Gt=14*(this.tickChunks(gi).length||1),this.maxPossibleLengthForTickIfWrapped=this.getMaxPossibleLengthForTick(gi)}const si=0!==C?Math.max(Math.abs(Math.sin(C*Math.PI/180))*this.maxTickLength*7,10):Gt;return this.approxHeight=Math.min(si,200),C}getTicks(){let o;const C=this.getMaxTicks(20),U=this.getMaxTicks(100);return this.tickValues?o=this.tickValues:this.scale.ticks?o=this.scale.ticks.apply(this.scale,[U]):(o=this.scale.domain(),o=Ku(o,C)),o}getMaxTicks(o){return Math.floor(this.width/o)}tickTransform(o){return"translate("+this.adjustedScale(o)+","+this.verticalSpacing+")"}gridLineTransform(){return`translate(0,${-this.verticalSpacing-5})`}tickTrim(o){return this.trimTicks?ju(o,this.maxTickLength):o}getMaxPossibleLengthForTick(o){if(this.scale.bandwidth){const U=Math.floor(this.scale.bandwidth()/7),Y=o.slice(0,U);return Math.max(Y.length,this.maxTickLength)}return this.maxTickLength}tickChunks(o){if(o.toString().length>this.maxTickLength&&this.scale.bandwidth){let U=this.rotateTicks?Math.floor(this.scale.step()/14):5;if(U<=1)return[this.tickTrim(o)];let Y=Math.max(this.maxPossibleLengthForTickIfWrapped,this.maxTickLength);return(0,t.NF)(this.platformId)||(Y=Math.floor(Math.min(this.approxHeight/5,Math.max(this.maxPossibleLengthForTickIfWrapped,this.maxTickLength)))),U=Math.min(U,5),U3(o,Y,U<1?1:U)}return[this.tickTrim(o)]}}return u.\u0275fac=function(o){return new(o||u)(e.Y36(e.Lbi))},u.\u0275cmp=e.Xpm({type:u,selectors:[["g","ngx-charts-x-axis-ticks",""]],viewQuery:function(o,C){if(1&o&&e.Gf($l,5),2&o){let U;e.iGM(U=e.CRH())&&(C.ticksElement=U.first)}},inputs:{scale:"scale",orient:"orient",tickArguments:"tickArguments",tickValues:"tickValues",tickStroke:"tickStroke",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showGridLines:"showGridLines",gridLineHeight:"gridLineHeight",width:"width",rotateTicks:"rotateTicks",wrapTicks:"wrapTicks"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[e.TTD],attrs:Dc,decls:4,vars:2,consts:[["ticksel",""],["class","tick",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],[1,"tick"],[4,"ngIf"],["stroke-width","0.01","font-size","12px"],[4,"ngIf","ngIfThen","ngIfElse"],["tmplMultilineTick",""],["tmplSinglelineTick",""],["x","0",4,"ngFor","ngForOf"],["x","0"],["y2","0",1,"gridline-path","gridline-path-vertical"]],template:function(o,C){1&o&&(e.O4$(),e.TgZ(0,"g",null,0),e.YNc(2,qd,2,2,"g",1),e.qZA(),e.YNc(3,Jd,2,2,"g",2)),2&o&&(e.xp6(2),e.Q6J("ngForOf",C.ticks),e.xp6(1),e.Q6J("ngForOf",C.ticks))},dependencies:[t.sg,t.O5],encapsulation:2,changeDetection:0}),u})(),Qu=(()=>{class u{constructor(){this.rotateTicks=!0,this.showGridLines=!1,this.xOrient=Po.Bottom,this.xAxisOffset=0,this.wrapTicks=!1,this.dimensionsChanged=new e.vpe,this.xAxisClassName="x axis",this.labelOffset=0,this.fill="none",this.stroke="stroke",this.tickStroke="#ccc",this.strokeWidth="none",this.padding=5,this.orientation=Po}ngOnChanges(o){this.update()}update(){this.transform=`translate(0,${this.xAxisOffset+this.padding+this.dims.height})`,typeof this.xAxisTickCount<"u"&&(this.tickArguments=[this.xAxisTickCount])}emitTicksHeight({height:o}){const C=o+25+5;C!==this.labelOffset&&(this.labelOffset=C,setTimeout(()=>{this.dimensionsChanged.emit({height:o})},0))}}return u.\u0275fac=function(o){return new(o||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["g","ngx-charts-x-axis",""]],viewQuery:function(o,C){if(1&o&&e.Gf(th,5),2&o){let U;e.iGM(U=e.CRH())&&(C.ticksComponent=U.first)}},inputs:{xScale:"xScale",dims:"dims",trimTicks:"trimTicks",rotateTicks:"rotateTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showGridLines:"showGridLines",showLabel:"showLabel",labelText:"labelText",ticks:"ticks",xAxisTickCount:"xAxisTickCount",xOrient:"xOrient",xAxisOffset:"xAxisOffset",wrapTicks:"wrapTicks"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[e.TTD],attrs:j1,decls:3,vars:4,consts:[["ngx-charts-x-axis-ticks","",3,"trimTicks","rotateTicks","maxTickLength","tickFormatting","tickArguments","tickStroke","scale","orient","showGridLines","gridLineHeight","width","tickValues","wrapTicks","dimensionsChanged",4,"ngIf"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width",4,"ngIf"],["ngx-charts-x-axis-ticks","",3,"trimTicks","rotateTicks","maxTickLength","tickFormatting","tickArguments","tickStroke","scale","orient","showGridLines","gridLineHeight","width","tickValues","wrapTicks","dimensionsChanged"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width"]],template:function(o,C){1&o&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,$d,1,13,"g",0)(2,ll,1,5,"g",1),e.qZA()),2&o&&(e.uIk("class",C.xAxisClassName)("transform",C.transform),e.xp6(1),e.Q6J("ngIf",C.xScale),e.xp6(1),e.Q6J("ngIf",C.showLabel))},dependencies:[th,Yu,t.O5],encapsulation:2,changeDetection:0}),u})();function Hc(u,L,o,C,U,[Y,Te,et,Wt]){let Gt="";return Gt=`M${[u+U,L]}`,Gt+="h"+((o=0===(o=Math.floor(o))?1:o)-2*U),Gt+=Te?`a${[U,U]} 0 0 1 ${[U,U]}`:`h${U}v${U}`,Gt+="v"+((C=0===(C=Math.floor(C))?1:C)-2*U),Gt+=Wt?`a${[U,U]} 0 0 1 ${[-U,U]}`:`v${U}h${-U}`,Gt+="h"+(2*U-o),Gt+=et?`a${[U,U]} 0 0 1 ${[-U,-U]}`:`h${-U}v${-U}`,Gt+="v"+(2*U-C),Gt+=Y?`a${[U,U]} 0 0 1 ${[U,-U]}`:`v${-U}h${U}`,Gt+="z",Gt}let r1=(()=>{class u{constructor(o){this.platformId=o,this.tickArguments=[5],this.tickStroke="#ccc",this.trimTicks=!0,this.maxTickLength=16,this.showGridLines=!1,this.showRefLabels=!1,this.showRefLines=!1,this.wrapTicks=!1,this.dimensionsChanged=new e.vpe,this.innerTickSize=6,this.tickPadding=3,this.verticalSpacing=20,this.textAnchor=Nc.Middle,this.width=0,this.outerTickSize=6,this.rotateLabels=!1,this.referenceLineLength=0,this.Orientation=Po}ngOnChanges(o){this.update()}ngAfterViewInit(){setTimeout(()=>this.updateDims())}updateDims(){if(!(0,t.NF)(this.platformId))return this.width=this.getApproximateAxisWidth(),void this.dimensionsChanged.emit({width:this.width});const o=parseInt(this.ticksElement.nativeElement.getBoundingClientRect().width,10);o!==this.width&&(this.width=o,this.dimensionsChanged.emit({width:o}),setTimeout(()=>this.updateDims()))}update(){const o=this.scale,C=this.orient===Po.Top||this.orient===Po.Right?-1:1;switch(this.tickSpacing=Math.max(this.innerTickSize,0)+this.tickPadding,this.ticks=this.getTicks(),this.tickFormat=this.tickFormatting?this.tickFormatting:o.tickFormat?o.tickFormat.apply(o,this.tickArguments):function(U){return"Date"===U.constructor.name?U.toLocaleDateString():U.toLocaleString()},this.adjustedScale=o.bandwidth?U=>{const Y=o(U)+.5*o.bandwidth();if(this.wrapTicks&&U.toString().length>this.maxTickLength){const Te=this.tickChunks(U).length;if(1===Te)return Y;const Gt=.5*o.bandwidth()-8*Te*.5;return o(U)+Gt}return Y}:o,this.showRefLines&&this.referenceLines&&this.setReferencelines(),this.orient){case Po.Top:case Po.Bottom:this.transform=function(U){return"translate("+this.adjustedScale(U)+",0)"},this.textAnchor=Nc.Middle,this.y2=this.innerTickSize*C,this.y1=this.tickSpacing*C,this.dy=C<0?"0em":".71em";break;case Po.Left:this.transform=function(U){return"translate(0,"+this.adjustedScale(U)+")"},this.textAnchor=Nc.End,this.x2=this.innerTickSize*-C,this.x1=this.tickSpacing*-C,this.dy=".32em";break;case Po.Right:this.transform=function(U){return"translate(0,"+this.adjustedScale(U)+")"},this.textAnchor=Nc.Start,this.x2=this.innerTickSize*-C,this.x1=this.tickSpacing*-C,this.dy=".32em"}setTimeout(()=>this.updateDims())}setReferencelines(){this.refMin=this.adjustedScale(Math.min.apply(null,this.referenceLines.map(o=>o.value))),this.refMax=this.adjustedScale(Math.max.apply(null,this.referenceLines.map(o=>o.value))),this.referenceLineLength=this.referenceLines.length,this.referenceAreaPath=Hc(0,this.refMax,this.gridLineWidth,this.refMin-this.refMax,0,[!1,!1,!1,!1])}getTicks(){let o;const C=this.getMaxTicks(20),U=this.getMaxTicks(50);return this.tickValues?o=this.tickValues:this.scale.ticks?o=this.scale.ticks.apply(this.scale,[U]):(o=this.scale.domain(),o=Ku(o,C)),o}getMaxTicks(o){return Math.floor(this.height/o)}tickTransform(o){return`translate(${this.adjustedScale(o)},${this.verticalSpacing})`}gridLineTransform(){return"translate(5,0)"}tickTrim(o){return this.trimTicks?ju(o,this.maxTickLength):o}getApproximateAxisWidth(){return 7*Math.max(...this.ticks.map(U=>this.tickTrim(this.tickFormat(U)).length))}tickChunks(o){if(o.toString().length>this.maxTickLength&&this.scale.bandwidth){const C=this.maxTickLength,U=Math.floor(this.scale.bandwidth()/15);return U<=1?[this.tickTrim(o)]:U3(o,C,Math.min(U,5))}return[this.tickFormat(o)]}}return u.\u0275fac=function(o){return new(o||u)(e.Y36(e.Lbi))},u.\u0275cmp=e.Xpm({type:u,selectors:[["g","ngx-charts-y-axis-ticks",""]],viewQuery:function(o,C){if(1&o&&e.Gf($l,5),2&o){let U;e.iGM(U=e.CRH())&&(C.ticksElement=U.first)}},inputs:{scale:"scale",orient:"orient",tickArguments:"tickArguments",tickValues:"tickValues",tickStroke:"tickStroke",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showGridLines:"showGridLines",gridLineWidth:"gridLineWidth",height:"height",referenceLines:"referenceLines",showRefLabels:"showRefLabels",showRefLines:"showRefLines",wrapTicks:"wrapTicks"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[e.TTD],attrs:t1,decls:6,vars:4,consts:[["ticksel",""],["class","tick",4,"ngFor","ngForOf"],["class","reference-area",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"tick"],[4,"ngIf"],["stroke-width","0.01"],[4,"ngIf","ngIfThen","ngIfElse"],["tmplMultilineTick",""],["tmplSinglelineTick",""],[4,"ngIf","ngIfElse"],["x","0",4,"ngFor","ngForOf"],["x","0"],[1,"reference-area"],["class","gridline-path gridline-path-horizontal","x1","0",4,"ngIf"],["x1","0",1,"gridline-path","gridline-path-horizontal"],["x1","0",1,"refline-path","gridline-path-horizontal"],[1,"refline-label"]],template:function(o,C){1&o&&(e.O4$(),e.TgZ(0,"g",null,0),e.YNc(2,X1,2,2,"g",1),e.qZA(),e.YNc(3,Cu,1,2,"path",2)(4,G,2,2,"g",3)(5,Lt,2,1,"g",3)),2&o&&(e.xp6(2),e.Q6J("ngForOf",C.ticks),e.xp6(1),e.Q6J("ngIf",C.referenceLineLength>1&&C.refMax&&C.refMin&&C.showRefLines),e.xp6(1),e.Q6J("ngForOf",C.ticks),e.xp6(1),e.Q6J("ngForOf",C.referenceLines))},dependencies:[t.sg,t.O5],encapsulation:2,changeDetection:0}),u})(),rd=(()=>{class u{constructor(){this.showGridLines=!1,this.yOrient=Po.Left,this.yAxisOffset=0,this.wrapTicks=!1,this.dimensionsChanged=new e.vpe,this.yAxisClassName="y axis",this.labelOffset=15,this.fill="none",this.stroke="#CCC",this.tickStroke="#CCC",this.strokeWidth=1,this.padding=5}ngOnChanges(o){this.update()}update(){this.offset=-(this.yAxisOffset+this.padding),this.yOrient===Po.Right?(this.labelOffset=65,this.transform=`translate(${this.offset+this.dims.width} , 0)`):this.transform=`translate(${this.offset} , 0)`,void 0!==this.yAxisTickCount&&(this.tickArguments=[this.yAxisTickCount])}emitTicksWidth({width:o}){o!==this.labelOffset&&this.yOrient===Po.Right?(this.labelOffset=o+this.labelOffset,setTimeout(()=>{this.dimensionsChanged.emit({width:o})},0)):o!==this.labelOffset&&(this.labelOffset=o,setTimeout(()=>{this.dimensionsChanged.emit({width:o})},0))}}return u.\u0275fac=function(o){return new(o||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["g","ngx-charts-y-axis",""]],viewQuery:function(o,C){if(1&o&&e.Gf(r1,5),2&o){let U;e.iGM(U=e.CRH())&&(C.ticksComponent=U.first)}},inputs:{yScale:"yScale",dims:"dims",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",ticks:"ticks",showGridLines:"showGridLines",showLabel:"showLabel",labelText:"labelText",yAxisTickCount:"yAxisTickCount",yOrient:"yOrient",referenceLines:"referenceLines",showRefLines:"showRefLines",showRefLabels:"showRefLabels",yAxisOffset:"yAxisOffset",wrapTicks:"wrapTicks"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[e.TTD],attrs:ei,decls:3,vars:4,consts:[["ngx-charts-y-axis-ticks","",3,"trimTicks","maxTickLength","tickFormatting","tickArguments","tickValues","tickStroke","scale","orient","showGridLines","gridLineWidth","referenceLines","showRefLines","showRefLabels","height","wrapTicks","dimensionsChanged",4,"ngIf"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width",4,"ngIf"],["ngx-charts-y-axis-ticks","",3,"trimTicks","maxTickLength","tickFormatting","tickArguments","tickValues","tickStroke","scale","orient","showGridLines","gridLineWidth","referenceLines","showRefLines","showRefLabels","height","wrapTicks","dimensionsChanged"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width"]],template:function(o,C){1&o&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,fi,1,15,"g",0)(2,Mi,1,5,"g",1),e.qZA()),2&o&&(e.uIk("class",C.yAxisClassName)("transform",C.transform),e.xp6(1),e.Q6J("ngIf",C.yScale),e.xp6(1),e.Q6J("ngIf",C.showLabel))},dependencies:[r1,Yu,t.O5],encapsulation:2,changeDetection:0}),u})(),ih=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[t.ez]]}),u})();var p2=function(u){return u.popover="popover",u.tooltip="tooltip",u}(p2||{}),a1=function(u){return u[u.all="all"]="all",u[u.focus="focus"]="focus",u[u.mouseover="mouseover"]="mouseover",u}(a1||{});let qu=(()=>{class u{constructor(o,C,U){this.tooltipService=o,this.viewContainerRef=C,this.renderer=U,this.tooltipCssClass="",this.tooltipAppendToBody=!0,this.tooltipSpacing=10,this.tooltipDisabled=!1,this.tooltipShowCaret=!0,this.tooltipPlacement=ur.Top,this.tooltipAlignment=ur.Center,this.tooltipType=p2.popover,this.tooltipCloseOnClickOutside=!0,this.tooltipCloseOnMouseLeave=!0,this.tooltipHideTimeout=300,this.tooltipShowTimeout=100,this.tooltipShowEvent=a1.all,this.tooltipImmediateExit=!1,this.show=new e.vpe,this.hide=new e.vpe}get listensForFocus(){return this.tooltipShowEvent===a1.all||this.tooltipShowEvent===a1.focus}get listensForHover(){return this.tooltipShowEvent===a1.all||this.tooltipShowEvent===a1.mouseover}ngOnDestroy(){this.hideTooltip(!0)}onFocus(){this.listensForFocus&&this.showTooltip()}onBlur(){this.listensForFocus&&this.hideTooltip(!0)}onMouseEnter(){this.listensForHover&&this.showTooltip()}onMouseLeave(o){if(this.listensForHover&&this.tooltipCloseOnMouseLeave){if(clearTimeout(this.timeout),this.component&&this.component.instance.element.nativeElement.contains(o))return;this.hideTooltip(this.tooltipImmediateExit)}}onMouseClick(){this.listensForHover&&this.hideTooltip(!0)}showTooltip(o){if(this.component||this.tooltipDisabled)return;const C=o?0:this.tooltipShowTimeout+(navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)?400:0);clearTimeout(this.timeout),this.timeout=setTimeout(()=>{this.tooltipService.destroyAll();const U=this.createBoundOptions();this.component=this.tooltipService.create(U),setTimeout(()=>{this.component&&this.addHideListeners(this.component.instance.element.nativeElement)},10),this.show.emit(!0)},C)}addHideListeners(o){this.mouseEnterContentEvent=this.renderer.listen(o,"mouseenter",()=>{clearTimeout(this.timeout)}),this.tooltipCloseOnMouseLeave&&(this.mouseLeaveContentEvent=this.renderer.listen(o,"mouseleave",()=>{this.hideTooltip(this.tooltipImmediateExit)})),this.tooltipCloseOnClickOutside&&(this.documentClickEvent=this.renderer.listen("window","click",C=>{o.contains(C.target)||this.hideTooltip()}))}hideTooltip(o=!1){if(!this.component)return;const C=()=>{this.mouseLeaveContentEvent&&this.mouseLeaveContentEvent(),this.mouseEnterContentEvent&&this.mouseEnterContentEvent(),this.documentClickEvent&&this.documentClickEvent(),this.hide.emit(!0),this.tooltipService.destroy(this.component),this.component=void 0};clearTimeout(this.timeout),o?C():this.timeout=setTimeout(C,this.tooltipHideTimeout)}createBoundOptions(){return{title:this.tooltipTitle,template:this.tooltipTemplate,host:this.viewContainerRef.element,placement:this.tooltipPlacement,alignment:this.tooltipAlignment,type:this.tooltipType,showCaret:this.tooltipShowCaret,cssClass:this.tooltipCssClass,spacing:this.tooltipSpacing,context:this.tooltipContext}}}return u.\u0275fac=function(o){return new(o||u)(e.Y36($0),e.Y36(e.s_b),e.Y36(e.Qsj))},u.\u0275dir=e.lG2({type:u,selectors:[["","ngx-tooltip",""]],hostBindings:function(o,C){1&o&&e.NdJ("focusin",function(){return C.onFocus()})("blur",function(){return C.onBlur()})("mouseenter",function(){return C.onMouseEnter()})("mouseleave",function(Y){return C.onMouseLeave(Y.target)})("click",function(){return C.onMouseClick()})},inputs:{tooltipCssClass:"tooltipCssClass",tooltipTitle:"tooltipTitle",tooltipAppendToBody:"tooltipAppendToBody",tooltipSpacing:"tooltipSpacing",tooltipDisabled:"tooltipDisabled",tooltipShowCaret:"tooltipShowCaret",tooltipPlacement:"tooltipPlacement",tooltipAlignment:"tooltipAlignment",tooltipType:"tooltipType",tooltipCloseOnClickOutside:"tooltipCloseOnClickOutside",tooltipCloseOnMouseLeave:"tooltipCloseOnMouseLeave",tooltipHideTimeout:"tooltipHideTimeout",tooltipShowTimeout:"tooltipShowTimeout",tooltipTemplate:"tooltipTemplate",tooltipShowEvent:"tooltipShowEvent",tooltipContext:"tooltipContext",tooltipImmediateExit:"tooltipImmediateExit"},outputs:{show:"show",hide:"hide"}}),u})(),G3=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({providers:[V3,$0],imports:[[t.ez]]}),u})();const Z3={};function nh(){let u=("0000"+(Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4);return u=`a${u}`,Z3[u]?nh():(Z3[u]=!0,u)}var xa=function(u){return u.Vertical="vertical",u.Horizontal="horizontal",u}(xa||{});let g2=(()=>{class u{constructor(){this.orientation=xa.Vertical}ngOnChanges(o){this.x1="0%",this.x2="0%",this.y1="0%",this.y2="0%",this.orientation===xa.Horizontal?this.x2="100%":this.orientation===xa.Vertical&&(this.y1="100%")}}return u.\u0275fac=function(o){return new(o||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["g","ngx-charts-svg-linear-gradient",""]],inputs:{orientation:"orientation",name:"name",stops:"stops"},features:[e.TTD],attrs:ln,decls:2,vars:6,consts:[[3,"id"],[3,"stop-color","stop-opacity",4,"ngFor","ngForOf"]],template:function(o,C){1&o&&(e.O4$(),e.TgZ(0,"linearGradient",0),e.YNc(1,qi,1,5,"stop",1),e.qZA()),2&o&&(e.Q6J("id",C.name),e.uIk("x1",C.x1)("y1",C.y1)("x2",C.x2)("y2",C.y2),e.xp6(1),e.Q6J("ngForOf",C.stops))},dependencies:[t.sg],encapsulation:2,changeDetection:0}),u})(),Xu=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["g","ngx-charts-grid-panel",""]],inputs:{width:"width",height:"height",x:"x",y:"y"},attrs:Ka,decls:1,vars:4,consts:[["stroke","none",1,"gridpanel"]],template:function(o,C){1&o&&(e.O4$(),e._UZ(0,"rect",0)),2&o&&e.uIk("height",C.height)("width",C.width)("x",C.x)("y",C.y)},encapsulation:2,changeDetection:0}),u})();var ah=function(u){return u.Odd="odd",u.Even="even",u}(ah||{});let zs,Y3=(()=>{class u{ngOnChanges(o){this.update()}update(){this.gridPanels=this.getGridPanels()}getGridPanels(){return this.data.map(o=>{let C,U,Y,Te,et,Wt=ah.Odd;if(this.orient===xa.Vertical){const Gt=this.xScale(o.name);Number.parseInt((Gt/this.xScale.step()).toString(),10)%2==1&&(Wt=ah.Even),C=this.xScale.bandwidth()*this.xScale.paddingInner(),U=this.xScale.bandwidth()+C,Y=this.dims.height,Te=this.xScale(o.name)-C/2,et=0}else if(this.orient===xa.Horizontal){const Gt=this.yScale(o.name);Number.parseInt((Gt/this.yScale.step()).toString(),10)%2==1&&(Wt=ah.Even),C=this.yScale.bandwidth()*this.yScale.paddingInner(),U=this.dims.width,Y=this.yScale.bandwidth()+C,Te=0,et=this.yScale(o.name)-C/2}return{name:o.name,class:Wt,height:Y,width:U,x:Te,y:et}})}}return u.\u0275fac=function(o){return new(o||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["g","ngx-charts-grid-panel-series",""]],inputs:{data:"data",dims:"dims",xScale:"xScale",yScale:"yScale",orient:"orient"},features:[e.TTD],attrs:Oo,decls:1,vars:1,consts:[["ngx-charts-grid-panel","",3,"height","width","x","y","grid-panel","odd","even",4,"ngFor","ngForOf"],["ngx-charts-grid-panel","",3,"height","width","x","y"]],template:function(o,C){1&o&&e.YNc(0,$a,1,10,"g",0),2&o&&e.Q6J("ngForOf",C.gridPanels)},dependencies:[Xu,t.sg],encapsulation:2,changeDetection:0}),u})();typeof window<"u"?zs=window:typeof global<"u"&&(zs=global);let Ms=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[t.ez,ih,G3],t.ez,ih,G3]}),u})();function ef({width:u,height:L,margins:o,showXAxis:C=!1,showYAxis:U=!1,xAxisHeight:Y=0,yAxisWidth:Te=0,showXLabel:et=!1,showYLabel:Wt=!1,showLegend:Gt=!1,legendType:si=kn.Ordinal,legendPosition:gi=Pc.Right,columns:Ci=12}){let ki=o[3],an=u,En=L-o[0]-o[2];return Gt&&gi===Pc.Right&&(Ci-=si===kn.Ordinal?2:1),an=an*Ci/12,an=an-o[1]-o[3],C&&(En-=5,En-=Y,et&&(En-=30)),U&&(an-=5,an-=Te,ki+=Te,ki+=10,Wt&&(an-=30,ki+=30)),an=Math.max(0,an),En=Math.max(0,En),{width:Math.floor(an),height:Math.floor(En),xOffset:Math.floor(ki)}}const sh=[{name:"vivid",selectable:!0,group:kn.Ordinal,domain:["#647c8a","#3f51b5","#2196f3","#00b862","#afdf0a","#a7b61a","#f3e562","#ff9800","#ff5722","#ff4514"]},{name:"natural",selectable:!0,group:kn.Ordinal,domain:["#bf9d76","#e99450","#d89f59","#f2dfa7","#a5d7c6","#7794b1","#afafaf","#707160","#ba9383","#d9d5c3"]},{name:"cool",selectable:!0,group:kn.Ordinal,domain:["#a8385d","#7aa3e5","#a27ea8","#aae3f5","#adcded","#a95963","#8796c0","#7ed3ed","#50abcc","#ad6886"]},{name:"fire",selectable:!0,group:kn.Ordinal,domain:["#ff3d00","#bf360c","#ff8f00","#ff6f00","#ff5722","#e65100","#ffca28","#ffab00"]},{name:"solar",selectable:!0,group:kn.Linear,domain:["#fff8e1","#ffecb3","#ffe082","#ffd54f","#ffca28","#ffc107","#ffb300","#ffa000","#ff8f00","#ff6f00"]},{name:"air",selectable:!0,group:kn.Linear,domain:["#e1f5fe","#b3e5fc","#81d4fa","#4fc3f7","#29b6f6","#03a9f4","#039be5","#0288d1","#0277bd","#01579b"]},{name:"aqua",selectable:!0,group:kn.Linear,domain:["#e0f7fa","#b2ebf2","#80deea","#4dd0e1","#26c6da","#00bcd4","#00acc1","#0097a7","#00838f","#006064"]},{name:"flame",selectable:!1,group:kn.Ordinal,domain:["#A10A28","#D3342D","#EF6D49","#FAAD67","#FDDE90","#DBED91","#A9D770","#6CBA67","#2C9653","#146738"]},{name:"ocean",selectable:!1,group:kn.Ordinal,domain:["#1D68FB","#33C0FC","#4AFFFE","#AFFFFF","#FFFC63","#FDBD2D","#FC8A25","#FA4F1E","#FA141B","#BA38D1"]},{name:"forest",selectable:!1,group:kn.Ordinal,domain:["#55C22D","#C1F33D","#3CC099","#AFFFFF","#8CFC9D","#76CFFA","#BA60FB","#EE6490","#C42A1C","#FC9F32"]},{name:"horizon",selectable:!1,group:kn.Ordinal,domain:["#2597FB","#65EBFD","#99FDD0","#FCEE4B","#FEFCFA","#FDD6E3","#FCB1A8","#EF6F7B","#CB96E8","#EFDEE0"]},{name:"neons",selectable:!1,group:kn.Ordinal,domain:["#FF3333","#FF33FF","#CC33FF","#0000FF","#33CCFF","#33FFFF","#33FF66","#CCFF33","#FFCC00","#FF6600"]},{name:"picnic",selectable:!1,group:kn.Ordinal,domain:["#FAC51D","#66BD6D","#FAA026","#29BB9C","#E96B56","#55ACD2","#B7332F","#2C83C9","#9166B8","#92E7E8"]},{name:"night",selectable:!1,group:kn.Ordinal,domain:["#2B1B5A","#501356","#183356","#28203F","#391B3C","#1E2B3C","#120634","#2D0432","#051932","#453080","#75267D","#2C507D","#4B3880","#752F7D","#35547D"]},{name:"nightLights",selectable:!1,group:kn.Ordinal,domain:["#4e31a5","#9c25a7","#3065ab","#57468b","#904497","#46648b","#32118d","#a00fb3","#1052a2","#6e51bd","#b63cc3","#6c97cb","#8671c1","#b455be","#7496c3"]}];class tf{constructor(L,o,C,U){"string"==typeof L&&(L=sh.find(Y=>Y.name===L)),this.colorDomain=L.domain,this.scaleType=o,this.domain=C,this.customColors=U,this.scale=this.generateColorScheme(L,o,this.domain)}generateColorScheme(L,o,C){let U;switch("string"==typeof L&&(L=sh.find(Y=>Y.name===L)),o){case kn.Quantile:U=R0().range(L.domain).domain(C);break;case kn.Ordinal:U=Y1().range(L.domain).domain(C);break;case kn.Linear:{const Y=[...L.domain];1===Y.length&&(Y.push(Y[0]),this.colorDomain=Y);const Te=I0(0,1,1/Y.length);U=lc().range(Y).domain(Te)}}return U}getColor(L){if(null==L)throw new Error("Value can not be null");if(this.scaleType===kn.Linear){const o=lc().domain(this.domain).range([0,1]);return this.scale(o(L))}{if("function"==typeof this.customColors)return this.customColors(L);const o=L.toString();let C;return this.customColors&&this.customColors.length>0&&(C=this.customColors.find(U=>U.name.toLowerCase()===o.toLowerCase())),C?C.value:this.scale(L)}}getLinearGradientStops(L,o){void 0===o&&(o=this.domain[0]);const C=lc().domain(this.domain).range([0,1]),U=dc().domain(this.colorDomain).range([0,1]),Y=this.getColor(L),Te=C(o),et=this.getColor(o),Wt=C(L);let Gt=1,si=Te;const gi=[];for(gi.push({color:et,offset:Te,originalOffset:Te,opacity:1});si<Wt&&Gt<this.colorDomain.length;){const Ci=this.colorDomain[Gt],ki=U(Ci);if(ki<=Te)Gt++;else{if(ki.toFixed(4)>=(Wt-U.bandwidth()).toFixed(4))break;gi.push({color:Ci,offset:ki,opacity:1}),si=ki,Gt++}}if(gi[gi.length-1].offset<100&&gi.push({color:Y,offset:Wt,opacity:1}),Wt===Te)gi[0].offset=0,gi[1].offset=100;else if(100!==gi[gi.length-1].offset)for(const Ci of gi)Ci.offset=(Ci.offset-Te)/(Wt-Te)*100;return gi}}let X3=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Ms]]}),u})(),J3=(()=>{class u{constructor(o){this.roundEdges=!0,this.gradient=!1,this.offset=0,this.isActive=!1,this.animations=!0,this.noBarWhenZero=!0,this.select=new e.vpe,this.activate=new e.vpe,this.deactivate=new e.vpe,this.hasGradient=!1,this.hideBar=!1,this.element=o.nativeElement}ngOnChanges(o){o.roundEdges&&this.loadAnimation(),this.update()}update(){this.gradientId="grad"+nh().toString(),this.gradientFill=`url(#${this.gradientId})`,this.gradient||this.stops?(this.gradientStops=this.getGradient(),this.hasGradient=!0):this.hasGradient=!1,this.updatePathEl(),this.checkToHideBar()}loadAnimation(){this.path=this.getStartingPath(),setTimeout(this.update.bind(this),100)}updatePathEl(){const o=function Kt(u){return"string"==typeof u?new bi([[document.querySelector(u)]],[document.documentElement]):new bi([[u]],_i)}(this.element).select(".bar"),C=this.getPath();this.animations?o.transition().duration(500).attr("d",C):o.attr("d",C)}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 C,o=this.getRadius();return this.roundEdges?this.orientation===xa.Vertical?(o=Math.min(this.height,o),C=Hc(this.x,this.y+this.height,this.width,1,0,this.edges)):this.orientation===xa.Horizontal&&(o=Math.min(this.width,o),C=Hc(this.x,this.y,1,this.height,0,this.edges)):this.orientation===xa.Vertical?C=Hc(this.x,this.y+this.height,this.width,1,0,this.edges):this.orientation===xa.Horizontal&&(C=Hc(this.x,this.y,1,this.height,0,this.edges)),C}getPath(){let C,o=this.getRadius();return this.roundEdges?this.orientation===xa.Vertical?(o=Math.min(this.height,o),C=Hc(this.x,this.y,this.width,this.height,o,this.edges)):this.orientation===xa.Horizontal&&(o=Math.min(this.width,o),C=Hc(this.x,this.y,this.width,this.height,o,this.edges)):C=Hc(this.x,this.y,this.width,this.height,o,this.edges),C}getRadius(){let o=0;return this.roundEdges&&this.height>5&&this.width>5&&(o=Math.floor(Math.min(5,this.height/2,this.width/2))),o}getStartOpacity(){return this.roundEdges?.2:.5}get edges(){let o=[!1,!1,!1,!1];return this.roundEdges&&(this.orientation===xa.Vertical?o=this.data.value>0?[!0,!0,!1,!1]:[!1,!1,!0,!0]:this.orientation===xa.Horizontal&&(o=this.data.value>0?[!1,!0,!1,!0]:[!0,!1,!0,!1])),o}onMouseEnter(){this.activate.emit(this.data)}onMouseLeave(){this.deactivate.emit(this.data)}checkToHideBar(){this.hideBar=this.noBarWhenZero&&(this.orientation===xa.Vertical&&0===this.height||this.orientation===xa.Horizontal&&0===this.width)}}return u.\u0275fac=function(o){return new(o||u)(e.Y36(e.SBq))},u.\u0275cmp=e.Xpm({type:u,selectors:[["g","ngx-charts-bar",""]],hostBindings:function(o,C){1&o&&e.NdJ("mouseenter",function(){return C.onMouseEnter()})("mouseleave",function(){return C.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:Em,decls:2,vars:8,consts:[[4,"ngIf"],["stroke","none","role","img","tabIndex","-1",1,"bar",3,"click"],["ngx-charts-svg-linear-gradient","",3,"orientation","name","stops"]],template:function(o,C){1&o&&(e.YNc(0,Tm,2,3,"defs",0),e.O4$(),e.TgZ(1,"path",1),e.NdJ("click",function(){return C.select.emit(C.data)}),e.qZA()),2&o&&(e.Q6J("ngIf",C.hasGradient),e.xp6(1),e.ekj("active",C.isActive)("hidden",C.hideBar),e.uIk("d",C.path)("aria-label",C.ariaLabel)("fill",C.hasGradient?C.gradientFill:C.fill))},dependencies:[g2,t.O5],encapsulation:2,changeDetection:0}),u})();var Vs=function(u){return u.Standard="standard",u.Normalized="normalized",u.Stacked="stacked",u}(Vs||{}),ad=function(u){return u.positive="positive",u.negative="negative",u}(ad||{});let kp=(()=>{class u{constructor(o){this.dimensionsChanged=new e.vpe,this.horizontalPadding=2,this.verticalPadding=5,this.element=o.nativeElement}ngOnChanges(o){this.update()}getSize(){return{height:this.element.getBoundingClientRect().height,width:this.element.getBoundingClientRect().width,negative:this.value<0}}ngAfterViewInit(){this.dimensionsChanged.emit(this.getSize())}update(){this.formatedValue=this.valueFormatting?this.valueFormatting(this.value):nd(this.value),"horizontal"===this.orientation?(this.x=this.barX+this.barWidth,this.value<0?(this.x=this.x-this.horizontalPadding,this.textAnchor="end"):(this.x=this.x+this.horizontalPadding,this.textAnchor="start"),this.y=this.barY+this.barHeight/2):(this.x=this.barX+this.barWidth/2,this.y=this.barY+this.barHeight,this.value<0?(this.y=this.y+this.verticalPadding,this.textAnchor="end"):(this.y=this.y-this.verticalPadding,this.textAnchor="start"),this.transform=`rotate(-45, ${this.x} , ${this.y})`)}}return u.\u0275fac=function(o){return new(o||u)(e.Y36(e.SBq))},u.\u0275cmp=e.Xpm({type:u,selectors:[["g","ngx-charts-bar-label",""]],inputs:{value:"value",valueFormatting:"valueFormatting",barX:"barX",barY:"barY",barWidth:"barWidth",barHeight:"barHeight",orientation:"orientation"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[e.TTD],attrs:Am,decls:2,vars:5,consts:[["alignment-baseline","middle",1,"textDataLabel"]],template:function(o,C){1&o&&(e.O4$(),e.TgZ(0,"text",0),e._uU(1),e.qZA()),2&o&&(e.uIk("text-anchor",C.textAnchor)("transform",C.transform)("x",C.x)("y",C.y),e.xp6(1),e.hij(" ",C.formatedValue," "))},styles:[".textDataLabel[_ngcontent-%COMP%]{font-size:11px}"],changeDetection:0}),u})(),$3=(()=>{class u{constructor(o){this.platformId=o,this.type=Vs.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=xa,this.isSSR=!1}ngOnInit(){(0,t.PM)(this.platformId)&&(this.isSSR=!0)}ngOnChanges(o){this.update()}update(){let o;this.updateTooltipSettings(),this.series.length&&(o=this.xScale.bandwidth()),o=Math.round(o);const C=Math.max(this.yScale.domain()[0],0),U={[ad.positive]:0,[ad.negative]:0};let Te,Y=ad.positive;this.type===Vs.Normalized&&(Te=this.series.map(et=>et.value).reduce((et,Wt)=>et+Wt,0)),this.bars=this.series.map((et,Wt)=>{let Gt=et.value;const si=this.getLabel(et),gi=nd(si);Y=Gt>0?ad.positive:ad.negative;const ki={value:Gt,label:si,roundEdges:this.roundEdges,data:et,width:o,formattedLabel:gi,height:0,x:0,y:0};if(this.type===Vs.Standard)ki.height=Math.abs(this.yScale(Gt)-this.yScale(C)),ki.x=this.xScale(si),ki.y=this.yScale(Gt<0?0:Gt);else if(this.type===Vs.Stacked){const En=U[Y],Pi=En+Gt;U[Y]+=Gt,ki.height=this.yScale(En)-this.yScale(Pi),ki.x=0,ki.y=this.yScale(Pi),ki.offset0=En,ki.offset1=Pi}else if(this.type===Vs.Normalized){let En=U[Y],Pi=En+Gt;U[Y]+=Gt,Te>0?(En=100*En/Te,Pi=100*Pi/Te):(En=0,Pi=0),ki.height=this.yScale(En)-this.yScale(Pi),ki.x=0,ki.y=this.yScale(Pi),ki.offset0=En,ki.offset1=Pi,Gt=(Pi-En).toFixed(2)+"%"}this.colors.scaleType===kn.Ordinal?ki.color=this.colors.getColor(si):this.type===Vs.Standard?(ki.color=this.colors.getColor(Gt),ki.gradientStops=this.colors.getLinearGradientStops(Gt)):(ki.color=this.colors.getColor(ki.offset1),ki.gradientStops=this.colors.getLinearGradientStops(ki.offset1,ki.offset0));let an=gi;return ki.ariaLabel=gi+" "+Gt.toLocaleString(),null!=this.seriesName&&(an=`${this.seriesName} \u2022 ${gi}`,ki.data.series=this.seriesName,ki.ariaLabel=this.seriesName+" "+ki.ariaLabel),ki.tooltipText=this.tooltipDisabled?void 0:`\n <span class="tooltip-label">${function eh(u){return u.toLocaleString().replace(/[&'`"<>]/g,L=>({"&":"&amp;","'":"&#x27;","`":"&#x60;",'"':"&quot;","<":"&lt;",">":"&gt;"}[L]))}(an)}</span>\n <span class="tooltip-val">${this.dataLabelFormatting?this.dataLabelFormatting(Gt):Gt.toLocaleString()}</span>\n `,ki}),this.updateDataLabels()}updateDataLabels(){if(this.type===Vs.Stacked){this.barsForDataLabels=[];const o={};o.series=this.seriesName;const C=this.series.map(Y=>Y.value).reduce((Y,Te)=>Te>0?Y+Te:Y,0),U=this.series.map(Y=>Y.value).reduce((Y,Te)=>Te<0?Y+Te:Y,0);o.total=C+U,o.x=0,o.y=0,o.height=this.yScale(o.total>0?C:U),o.width=this.xScale.bandwidth(),this.barsForDataLabels.push(o)}else this.barsForDataLabels=this.series.map(o=>{const C={};return C.series=this.seriesName??o.label,C.total=o.value,C.x=this.xScale(o.label),C.y=this.yScale(0),C.height=this.yScale(C.total)-this.yScale(0),C.width=this.xScale.bandwidth(),C})}updateTooltipSettings(){this.tooltipPlacement=this.tooltipDisabled?void 0:ur.Top,this.tooltipType=this.tooltipDisabled?void 0:p2.tooltip}isActive(o){return!!this.activeEntries&&void 0!==this.activeEntries.find(U=>o.name===U.name&&o.value===U.value)}onClick(o){this.select.emit(o)}getLabel(o){return o.label?o.label:o.name}trackBy(o,C){return C.label}trackDataLabelBy(o,C){return o+"#"+C.series+"#"+C.total}}return u.\u0275fac=function(o){return new(o||u)(e.Y36(e.Lbi))},u.\u0275cmp=e.Xpm({type:u,selectors:[["g","ngx-charts-series-vertical",""]],inputs:{dims:"dims",type:"type",series:"series",xScale:"xScale",yScale:"yScale",colors:"colors",gradient:"gradient",activeEntries:"activeEntries",seriesName:"seriesName",tooltipDisabled:"tooltipDisabled",tooltipTemplate:"tooltipTemplate",roundEdges:"roundEdges",animations:"animations",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero"},outputs:{select:"select",activate:"activate",deactivate:"deactivate",dataLabelHeightChanged:"dataLabelHeightChanged"},features:[e.TTD],attrs:km,decls:3,vars:3,consts:[[4,"ngIf"],["ngx-charts-bar","","ngx-tooltip","",3,"width","height","x","y","fill","stops","data","orientation","roundEdges","gradient","ariaLabel","isActive","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","noBarWhenZero","animations","select","activate","deactivate",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-bar","","ngx-tooltip","",3,"width","height","x","y","fill","stops","data","orientation","roundEdges","gradient","ariaLabel","isActive","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","noBarWhenZero","animations","select","activate","deactivate"],["ngx-charts-bar-label","",3,"barX","barY","barWidth","barHeight","value","valueFormatting","orientation","dimensionsChanged",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-bar-label","",3,"barX","barY","barWidth","barHeight","value","valueFormatting","orientation","dimensionsChanged"]],template:function(o,C){1&o&&e.YNc(0,Lu,2,2,"g",0)(1,Om,2,2,"g",0)(2,Rm,2,2,"g",0),2&o&&(e.Q6J("ngIf",!C.isSSR),e.xp6(1),e.Q6J("ngIf",C.isSSR),e.xp6(1),e.Q6J("ngIf",C.showDataLabel))},dependencies:[J3,kp,t.O5,t.sg,qu],encapsulation:2,data:{animation:[(0,m.X$)("animationState",[(0,m.eR)(":leave",[(0,m.oB)({opacity:1}),(0,m.jt)(500,(0,m.oB)({opacity:0}))])])]},changeDetection:0}),u})(),Rp=(()=>{class u extends Wu{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=Pc.Right,this.tooltipDisabled=!1,this.showGridLines=!0,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.barPadding=8,this.roundDomains=!1,this.roundEdges=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.wrapTicks=!1,this.activate=new e.vpe,this.deactivate=new e.vpe,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.dataLabelMaxHeight={negative:0,positive:0}}update(){super.update(),this.showDataLabel||(this.dataLabelMaxHeight={negative:0,positive:0}),this.margin=[10+this.dataLabelMaxHeight.positive,20,10+this.dataLabelMaxHeight.negative,20],this.dims=ef({width:this.width,height:this.height,margins:this.margin,showXAxis:this.xAxis,showYAxis:this.yAxis,xAxisHeight:this.xAxisHeight,yAxisWidth:this.yAxisWidth,showXLabel:this.showXAxisLabel,showYLabel:this.showYAxisLabel,showLegend:this.legend,legendType:this.schemeType,legendPosition:this.legendPosition}),this.formatDates(),this.showDataLabel&&(this.dims.height-=this.dataLabelMaxHeight.negative),this.xScale=this.getXScale(),this.yScale=this.getYScale(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]+this.dataLabelMaxHeight.negative})`}getXScale(){this.xDomain=this.getXDomain();const o=this.xDomain.length/(this.dims.width/this.barPadding+1);return dc().range([0,this.dims.width]).paddingInner(o).domain(this.xDomain)}getYScale(){this.yDomain=this.getYDomain();const o=lc().range([this.dims.height,0]).domain(this.yDomain);return this.roundDomains?o.nice():o}getXDomain(){return this.results.map(o=>o.label)}getYDomain(){const o=this.results.map(Y=>Y.value);let C=this.yScaleMin?Math.min(this.yScaleMin,...o):Math.min(0,...o);this.yAxisTicks&&!this.yAxisTicks.some(isNaN)&&(C=Math.min(C,...this.yAxisTicks));let U=this.yScaleMax?Math.max(this.yScaleMax,...o):Math.max(0,...o);return this.yAxisTicks&&!this.yAxisTicks.some(isNaN)&&(U=Math.max(U,...this.yAxisTicks)),[C,U]}onClick(o){this.select.emit(o)}setColors(){let o;o=this.schemeType===kn.Ordinal?this.xDomain:this.yDomain,this.colors=new tf(this.scheme,this.schemeType,o,this.customColors)}getLegendOptions(){const o={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return o.scaleType===kn.Ordinal?(o.domain=this.xDomain,o.colors=this.colors,o.title=this.legendTitle):(o.domain=this.yDomain,o.colors=this.colors.scale),o}updateYAxisWidth({width:o}){this.yAxisWidth=o,this.update()}updateXAxisHeight({height:o}){this.xAxisHeight=o,this.update()}onDataLabelMaxHeightChanged(o){o.size.negative?this.dataLabelMaxHeight.negative=Math.max(this.dataLabelMaxHeight.negative,o.size.height):this.dataLabelMaxHeight.positive=Math.max(this.dataLabelMaxHeight.positive,o.size.height),o.index===this.results.length-1&&setTimeout(()=>this.update())}onActivate(o,C=!1){o=this.results.find(Y=>C?Y.label===o.name:Y.name===o.name),!(this.activeEntries.findIndex(Y=>Y.name===o.name&&Y.value===o.value&&Y.series===o.series)>-1)&&(this.activeEntries=[o,...this.activeEntries],this.activate.emit({value:o,entries:this.activeEntries}))}onDeactivate(o,C=!1){o=this.results.find(Y=>C?Y.label===o.name:Y.name===o.name);const U=this.activeEntries.findIndex(Y=>Y.name===o.name&&Y.value===o.value&&Y.series===o.series);this.activeEntries.splice(U,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:o,entries:this.activeEntries})}}return u.\u0275fac=(()=>{let L;return function(C){return(L||(L=e.n5z(u)))(C||u)}})(),u.\u0275cmp=e.Xpm({type:u,selectors:[["ngx-charts-bar-vertical"]],contentQueries:function(o,C,U){if(1&o&&e.Suo(U,Cs,5),2&o){let Y;e.iGM(Y=e.CRH())&&(C.tooltipTemplate=Y.first)}},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",tooltipDisabled:"tooltipDisabled",gradient:"gradient",showGridLines:"showGridLines",activeEntries:"activeEntries",schemeType:"schemeType",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",barPadding:"barPadding",roundDomains:"roundDomains",roundEdges:"roundEdges",yScaleMax:"yScaleMax",yScaleMin:"yScaleMin",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero",wrapTicks:"wrapTicks"},outputs:{activate:"activate",deactivate:"deactivate"},features:[e.qOj],decls:5,vars:25,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelClick","legendLabelActivate","legendLabelDeactivate"],[1,"bar-chart","chart"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","wrapTicks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","wrapTicks","dimensionsChanged",4,"ngIf"],["ngx-charts-series-vertical","",3,"xScale","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","showDataLabel","dataLabelFormatting","activeEntries","roundEdges","animations","noBarWhenZero","activate","deactivate","select","dataLabelHeightChanged"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","wrapTicks","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","wrapTicks","dimensionsChanged"]],template:function(o,C){1&o&&(e.TgZ(0,"ngx-charts-chart",0),e.NdJ("legendLabelClick",function(Y){return C.onClick(Y)})("legendLabelActivate",function(Y){return C.onActivate(Y,!0)})("legendLabelDeactivate",function(Y){return C.onDeactivate(Y,!0)}),e.O4$(),e.TgZ(1,"g",1),e.YNc(2,Nm,1,12,"g",2)(3,K0,1,10,"g",3),e.TgZ(4,"g",4),e.NdJ("activate",function(Y){return C.onActivate(Y)})("deactivate",function(Y){return C.onDeactivate(Y)})("select",function(Y){return C.onClick(Y)})("dataLabelHeightChanged",function(Y){return C.onDataLabelMaxHeightChanged(Y)}),e.qZA()()()),2&o&&(e.Q6J("view",e.WLB(22,Oc,C.width,C.height))("showLegend",C.legend)("legendOptions",C.legendOptions)("activeEntries",C.activeEntries)("animations",C.animations),e.xp6(1),e.uIk("transform",C.transform),e.xp6(1),e.Q6J("ngIf",C.xAxis),e.xp6(1),e.Q6J("ngIf",C.yAxis),e.xp6(1),e.Q6J("xScale",C.xScale)("yScale",C.yScale)("colors",C.colors)("series",C.results)("dims",C.dims)("gradient",C.gradient)("tooltipDisabled",C.tooltipDisabled)("tooltipTemplate",C.tooltipTemplate)("showDataLabel",C.showDataLabel)("dataLabelFormatting",C.dataLabelFormatting)("activeEntries",C.activeEntries)("roundEdges",C.roundEdges)("animations",C.animations)("noBarWhenZero",C.noBarWhenZero))},dependencies:[m2,Qu,rd,$3,t.O5],styles:[o2],encapsulation:2,changeDetection:0}),u})(),od=(()=>{class u extends Wu{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=Pc.Right,this.tooltipDisabled=!1,this.scaleType=kn.Ordinal,this.showGridLines=!0,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.groupPadding=16,this.barPadding=8,this.roundDomains=!1,this.roundEdges=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.wrapTicks=!1,this.activate=new e.vpe,this.deactivate=new e.vpe,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.dataLabelMaxHeight={negative:0,positive:0},this.isSSR=!1,this.barOrientation=xa,this.trackBy=(o,C)=>C.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=ef({width:this.width,height:this.height,margins:this.margin,showXAxis:this.xAxis,showYAxis:this.yAxis,xAxisHeight:this.xAxisHeight,yAxisWidth:this.yAxisWidth,showXLabel:this.showXAxisLabel,showYLabel:this.showYAxisLabel,showLegend:this.legend,legendType:this.schemeType,legendPosition:this.legendPosition}),this.showDataLabel&&(this.dims.height-=this.dataLabelMaxHeight.negative),this.formatDates(),this.groupDomain=this.getGroupDomain(),this.innerDomain=this.getInnerDomain(),this.valueDomain=this.getValueDomain(),this.groupScale=this.getGroupScale(),this.innerScale=this.getInnerScale(),this.valueScale=this.getValueScale(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]+this.dataLabelMaxHeight.negative})`}onDataLabelMaxHeightChanged(o,C){o.size.negative?this.dataLabelMaxHeight.negative=Math.max(this.dataLabelMaxHeight.negative,o.size.height):this.dataLabelMaxHeight.positive=Math.max(this.dataLabelMaxHeight.positive,o.size.height),C===this.results.length-1&&setTimeout(()=>this.update())}getGroupScale(){const o=this.groupDomain.length/(this.dims.height/this.groupPadding+1);return dc().rangeRound([0,this.dims.width]).paddingInner(o).paddingOuter(o/2).domain(this.groupDomain)}getInnerScale(){const o=this.groupScale.bandwidth(),C=this.innerDomain.length/(o/this.barPadding+1);return dc().rangeRound([0,o]).paddingInner(C).domain(this.innerDomain)}getValueScale(){const o=lc().range([this.dims.height,0]).domain(this.valueDomain);return this.roundDomains?o.nice():o}getGroupDomain(){const o=[];for(const C of this.results)o.includes(C.label)||o.push(C.label);return o}getInnerDomain(){const o=[];for(const C of this.results)for(const U of C.series)o.includes(U.label)||o.push(U.label);return o}getValueDomain(){const o=[];for(const Y of this.results)for(const Te of Y.series)o.includes(Te.value)||o.push(Te.value);return[Math.min(0,...o),this.yScaleMax?Math.max(this.yScaleMax,...o):Math.max(0,...o)]}groupTransform(o){return`translate(${this.groupScale(o.label)}, 0)`}onClick(o,C){C&&(o.series=C.name),this.select.emit(o)}setColors(){let o;o=this.schemeType===kn.Ordinal?this.innerDomain:this.valueDomain,this.colors=new tf(this.scheme,this.schemeType,o,this.customColors)}getLegendOptions(){const o={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return o.scaleType===kn.Ordinal?(o.domain=this.innerDomain,o.colors=this.colors,o.title=this.legendTitle):(o.domain=this.valueDomain,o.colors=this.colors.scale),o}updateYAxisWidth({width:o}){this.yAxisWidth=o,this.update()}updateXAxisHeight({height:o}){this.xAxisHeight=o,this.update()}onActivate(o,C,U=!1){const Y=Object.assign({},o);C&&(Y.series=C.name);const Te=this.results.map(et=>et.series).flat().filter(et=>U?et.label===Y.name:et.name===Y.name&&et.series===Y.series);this.activeEntries=[...Te],this.activate.emit({value:Y,entries:this.activeEntries})}onDeactivate(o,C,U=!1){const Y=Object.assign({},o);C&&(Y.series=C.name),this.activeEntries=this.activeEntries.filter(Te=>U?Te.label!==Y.name:!(Te.name===Y.name&&Te.series===Y.series)),this.deactivate.emit({value:Y,entries:this.activeEntries})}}return u.\u0275fac=(()=>{let L;return function(C){return(L||(L=e.n5z(u)))(C||u)}})(),u.\u0275cmp=e.Xpm({type:u,selectors:[["ngx-charts-bar-vertical-2d"]],contentQueries:function(o,C,U){if(1&o&&e.Suo(U,Cs,5),2&o){let Y;e.iGM(Y=e.CRH())&&(C.tooltipTemplate=Y.first)}},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",tooltipDisabled:"tooltipDisabled",scaleType:"scaleType",gradient:"gradient",showGridLines:"showGridLines",activeEntries:"activeEntries",schemeType:"schemeType",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",groupPadding:"groupPadding",barPadding:"barPadding",roundDomains:"roundDomains",roundEdges:"roundEdges",yScaleMax:"yScaleMax",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero",wrapTicks:"wrapTicks"},outputs:{activate:"activate",deactivate:"deactivate"},features:[e.qOj],decls:7,vars:18,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelActivate","legendLabelDeactivate","legendLabelClick"],[1,"bar-chart","chart"],["ngx-charts-grid-panel-series","",3,"xScale","yScale","data","dims","orient"],["ngx-charts-x-axis","",3,"xScale","dims","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","wrapTicks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","wrapTicks","dimensionsChanged",4,"ngIf"],[4,"ngIf"],["ngx-charts-x-axis","",3,"xScale","dims","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","wrapTicks","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","wrapTicks","dimensionsChanged"],["ngx-charts-series-vertical","",3,"activeEntries","xScale","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","showDataLabel","dataLabelFormatting","seriesName","roundEdges","animations","noBarWhenZero","select","activate","deactivate","dataLabelHeightChanged",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-series-vertical","",3,"activeEntries","xScale","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","showDataLabel","dataLabelFormatting","seriesName","roundEdges","animations","noBarWhenZero","select","activate","deactivate","dataLabelHeightChanged"]],template:function(o,C){1&o&&(e.TgZ(0,"ngx-charts-chart",0),e.NdJ("legendLabelActivate",function(Y){return C.onActivate(Y,void 0,!0)})("legendLabelDeactivate",function(Y){return C.onDeactivate(Y,void 0,!0)})("legendLabelClick",function(Y){return C.onClick(Y)}),e.O4$(),e.TgZ(1,"g",1),e._UZ(2,"g",2),e.YNc(3,ku,1,11,"g",3)(4,Hm,1,10,"g",4)(5,Ou,2,2,"g",5),e.qZA(),e.YNc(6,Fm,2,2,"g",5),e.qZA()),2&o&&(e.Q6J("view",e.WLB(15,Oc,C.width,C.height))("showLegend",C.legend)("legendOptions",C.legendOptions)("activeEntries",C.activeEntries)("animations",C.animations),e.xp6(1),e.uIk("transform",C.transform),e.xp6(1),e.Q6J("xScale",C.groupScale)("yScale",C.valueScale)("data",C.results)("dims",C.dims)("orient",C.barOrientation.Vertical),e.xp6(1),e.Q6J("ngIf",C.xAxis),e.xp6(1),e.Q6J("ngIf",C.yAxis),e.xp6(1),e.Q6J("ngIf",!C.isSSR),e.xp6(1),e.Q6J("ngIf",C.isSSR))},dependencies:[m2,Y3,Qu,rd,$3,t.O5,t.sg],styles:[o2],encapsulation:2,data:{animation:[(0,m.X$)("animationState",[(0,m.eR)(":leave",[(0,m.oB)({opacity:1,transform:"*"}),(0,m.jt)(500,(0,m.oB)({opacity:0,transform:"scale(0)"}))])])]},changeDetection:0}),u})(),rf=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Ms]]}),u})();gu();let Fp=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Ms]]}),u})(),Vp=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Ms]]}),u})(),Bp=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Ms]]}),u})(),sf=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Ms]]}),u})();Math;let Fc=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Ms]]}),u})(),ld=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Ms,Fc,sf]]}),u})(),a4=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Ms]]}),u})(),C2=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Ms]]}),u})(),df=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Ms,Fc,rf]]}),u})(),Qp=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Ms]]}),u})(),hf=(()=>{class u{constructor(){!function l1(){typeof SVGElement<"u"&&typeof SVGElement.prototype.contains>"u"&&(SVGElement.prototype.contains=HTMLDivElement.prototype.contains)}()}}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[Ms,X3,rf,Fp,Vp,Bp,Qp,sf,ld,a4,Fc,C2,df]}),u})()},2279:(ze,q,p)=>{"use strict";p.d(q,{OF:()=>E,uU:()=>d});var e=p(5861),t=p(9212),y=p(2839),A=p(6814);function l(M,I){if(1&M&&t._UZ(0,"canvas",0),2&M){const k=t.oxw();t.Q6J("qrCode",k.value)("qrCodeErrorCorrectionLevel",k.errorCorrectionLevel)("qrCodeCenterImageSrc",k.centerImageSrc)("qrCodeCenterImageWidth",k.centerImageSize)("qrCodeCenterImageHeight",k.centerImageSize)("qrCodeMargin",k.margin)("width",k.size)("height",k.size)("darkColor",k.darkColor)("lightColor",k.lightColor)}}const x=/^#(?:[0-9a-fA-F]{3,4}){1,2}$/;let m=(()=>{class M{static#e=this.DEFAULT_ERROR_CORRECTION_LEVEL="M";static#t=this.DEFAULT_CENTER_IMAGE_SIZE=40;constructor(k){this.viewContainerRef=k,this.errorCorrectionLevel=M.DEFAULT_ERROR_CORRECTION_LEVEL,this.darkColor="#000000FF",this.lightColor="#FFFFFFFF",this.margin=16}ngOnChanges(){var k=this;return(0,e.Z)(function*(){if(!k.value)return;k.version&&k.version>40?(console.warn("[qrCode] max version is 40, clamping"),k.version=40):k.version&&k.version<1?(console.warn("[qrCode] min version is 1, clamping"),k.version=1):void 0!==k.version&&isNaN(k.version)&&(console.warn("[qrCode] version should be set to a number, defaulting to auto"),k.version=void 0);const V=k.viewContainerRef.element.nativeElement;if(!V)return;const B=V.getContext("2d");B&&B.clearRect(0,0,B.canvas.width,B.canvas.height);const W=k.errorCorrectionLevel??M.DEFAULT_ERROR_CORRECTION_LEVEL,j=x.test(k.darkColor)?k.darkColor:void 0,K=x.test(k.lightColor)?k.lightColor:void 0;(0,t.X6Q)()&&(!j&&k.darkColor&&console.error("[ng-qrcode] darkColor set to invalid value, must be RGBA hex color string, eg: #3050A1FF"),!K&&k.lightColor&&console.error("[ng-qrcode] lightColor set to invalid value, must be RGBA hex color string, eg: #3050A130")),yield y.toCanvas(V,k.value,{version:k.version,errorCorrectionLevel:W,width:k.width,margin:k.margin,color:{dark:j,light:K}});const X=k.centerImageSrc,ie=P(k.centerImageWidth,M.DEFAULT_CENTER_IMAGE_SIZE),ae=P(k.centerImageHeight,M.DEFAULT_CENTER_IMAGE_SIZE);if(X&&B){k.centerImage||(k.centerImage=new Image(ie,ae));const fe=k.centerImage;X!==k.centerImage.src&&(fe.src=X),ie!==k.centerImage.width&&(fe.width=ie),ae!==k.centerImage.height&&(fe.height=ae);const se=()=>{B.drawImage(fe,V.width/2-ie/2,V.height/2-ae/2,ie,ae)};fe.onload=se,fe.complete&&se()}})()}static#i=this.\u0275fac=function(V){return new(V||M)(t.Y36(t.s_b))};static#n=this.\u0275dir=t.lG2({type:M,selectors:[["canvas","qrCode",""]],inputs:{value:["qrCode","value"],version:["qrCodeVersion","version"],errorCorrectionLevel:["qrCodeErrorCorrectionLevel","errorCorrectionLevel"],width:"width",height:"height",darkColor:"darkColor",lightColor:"lightColor",centerImageSrc:["qrCodeCenterImageSrc","centerImageSrc"],centerImageWidth:["qrCodeCenterImageWidth","centerImageWidth"],centerImageHeight:["qrCodeCenterImageHeight","centerImageHeight"],margin:["qrCodeMargin","margin"]},features:[t.TTD]})}return M})();function P(M,I){return void 0===M||""===M?I:"string"==typeof M?parseInt(M,10):M}let d=(()=>{class M{static#e=this.\u0275fac=function(V){return new(V||M)};static#t=this.\u0275cmp=t.Xpm({type:M,selectors:[["qr-code"]],inputs:{value:"value",size:"size",darkColor:"darkColor",lightColor:"lightColor",errorCorrectionLevel:"errorCorrectionLevel",centerImageSrc:"centerImageSrc",centerImageSize:"centerImageSize",margin:"margin"},decls:1,vars:1,consts:[[3,"qrCode","qrCodeErrorCorrectionLevel","qrCodeCenterImageSrc","qrCodeCenterImageWidth","qrCodeCenterImageHeight","qrCodeMargin","width","height","darkColor","lightColor"]],template:function(V,B){1&V&&t.YNc(0,l,1,10,"canvas",0),2&V&&t.um2(0,B.value?0:-1)},dependencies:[m],encapsulation:2})}return M})(),E=(()=>{class M{static#e=this.\u0275fac=function(V){return new(V||M)};static#t=this.\u0275mod=t.oAB({type:M});static#i=this.\u0275inj=t.cJS({imports:[A.ez]})}return M})()},2159:(ze,q,p)=>{"use strict";p.d(q,{op:()=>yt,Vv:()=>gt,$V:()=>Xe,Xd:()=>be});var e=p(8645),t=p(2438),y=p(3019),A=p(9028),l=p(9773),x=p(3997),m=p(975),P=p(9212),d=p(6814);function E(J){return getComputedStyle(J)}function M(J,re){for(var Ie in re){var Nt=re[Ie];"number"==typeof Nt&&(Nt+="px"),J.style[Ie]=Nt}return J}function I(J){var re=document.createElement("div");return re.className=J,re}var k=typeof Element<"u"&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function V(J,re){if(!k)throw new Error("No element matching method supported");return k.call(J,re)}function B(J){J.remove?J.remove():J.parentNode&&J.parentNode.removeChild(J)}function W(J,re){return Array.prototype.filter.call(J.children,function(Ie){return V(Ie,re)})}var j={main:"ps",rtl:"ps__rtl",element:{thumb:function(J){return"ps__thumb-"+J},rail:function(J){return"ps__rail-"+J},consuming:"ps__child--consume"},state:{focus:"ps--focus",clicking:"ps--clicking",active:function(J){return"ps--active-"+J},scrolling:function(J){return"ps--scrolling-"+J}}},K={x:null,y:null};function X(J,re){var Ie=J.element.classList,Nt=j.state.scrolling(re);Ie.contains(Nt)?clearTimeout(K[re]):Ie.add(Nt)}function ie(J,re){K[re]=setTimeout(function(){return J.isAlive&&J.element.classList.remove(j.state.scrolling(re))},J.settings.scrollingThreshold)}var fe=function(re){this.element=re,this.handlers={}},se={isEmpty:{configurable:!0}};fe.prototype.bind=function(re,Ie){typeof this.handlers[re]>"u"&&(this.handlers[re]=[]),this.handlers[re].push(Ie),this.element.addEventListener(re,Ie,!1)},fe.prototype.unbind=function(re,Ie){var Nt=this;this.handlers[re]=this.handlers[re].filter(function(At){return!(!Ie||At===Ie)||(Nt.element.removeEventListener(re,At,!1),!1)})},fe.prototype.unbindAll=function(){for(var re in this.handlers)this.unbind(re)},se.isEmpty.get=function(){var J=this;return Object.keys(this.handlers).every(function(re){return 0===J.handlers[re].length})},Object.defineProperties(fe.prototype,se);var Me=function(){this.eventElements=[]};function $(J){if("function"==typeof window.CustomEvent)return new CustomEvent(J);var re=document.createEvent("CustomEvent");return re.initCustomEvent(J,!1,!1,void 0),re}function ue(J,re,Ie,Nt,At){var Zt;if(void 0===Nt&&(Nt=!0),void 0===At&&(At=!1),"top"===re)Zt=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==re)throw new Error("A proper axis should be provided");Zt=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function S(J,re,Ie,Nt,At){var Zt=Ie[0],mi=Ie[1],Jt=Ie[2],Xt=Ie[3],Hi=Ie[4],li=Ie[5];void 0===Nt&&(Nt=!0),void 0===At&&(At=!1);var hi=J.element;J.reach[Xt]=null,hi[Jt]<1&&(J.reach[Xt]="start"),hi[Jt]>J[Zt]-J[mi]-1&&(J.reach[Xt]="end"),re&&(hi.dispatchEvent($("ps-scroll-"+Xt)),re<0?hi.dispatchEvent($("ps-scroll-"+Hi)):re>0&&hi.dispatchEvent($("ps-scroll-"+li)),Nt&&function ae(J,re){X(J,re),ie(J,re)}(J,Xt)),J.reach[Xt]&&(re||At)&&hi.dispatchEvent($("ps-"+Xt+"-reach-"+J.reach[Xt]))}(J,Ie,Zt,Nt,At)}function n(J){return parseInt(J,10)||0}Me.prototype.eventElement=function(re){var Ie=this.eventElements.filter(function(Nt){return Nt.element===re})[0];return Ie||(Ie=new fe(re),this.eventElements.push(Ie)),Ie},Me.prototype.bind=function(re,Ie,Nt){this.eventElement(re).bind(Ie,Nt)},Me.prototype.unbind=function(re,Ie,Nt){var At=this.eventElement(re);At.unbind(Ie,Nt),At.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(At),1)},Me.prototype.unbindAll=function(){this.eventElements.forEach(function(re){return re.unbindAll()}),this.eventElements=[]},Me.prototype.once=function(re,Ie,Nt){var At=this.eventElement(re),Zt=function(mi){At.unbind(Ie,Zt),Nt(mi)};At.bind(Ie,Zt)};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 w(J){var re=J.element,Ie=Math.floor(re.scrollTop),Nt=re.getBoundingClientRect();J.containerWidth=Math.round(Nt.width),J.containerHeight=Math.round(Nt.height),J.contentWidth=re.scrollWidth,J.contentHeight=re.scrollHeight,re.contains(J.scrollbarXRail)||(W(re,j.element.rail("x")).forEach(function(At){return B(At)}),re.appendChild(J.scrollbarXRail)),re.contains(J.scrollbarYRail)||(W(re,j.element.rail("y")).forEach(function(At){return B(At)}),re.appendChild(J.scrollbarYRail)),!J.settings.suppressScrollX&&J.containerWidth+J.settings.scrollXMarginOffset<J.contentWidth?(J.scrollbarXActive=!0,J.railXWidth=J.containerWidth-J.railXMarginWidth,J.railXRatio=J.containerWidth/J.railXWidth,J.scrollbarXWidth=D(J,n(J.railXWidth*J.containerWidth/J.contentWidth)),J.scrollbarXLeft=n((J.negativeScrollAdjustment+re.scrollLeft)*(J.railXWidth-J.scrollbarXWidth)/(J.contentWidth-J.containerWidth))):J.scrollbarXActive=!1,!J.settings.suppressScrollY&&J.containerHeight+J.settings.scrollYMarginOffset<J.contentHeight?(J.scrollbarYActive=!0,J.railYHeight=J.containerHeight-J.railYMarginHeight,J.railYRatio=J.containerHeight/J.railYHeight,J.scrollbarYHeight=D(J,n(J.railYHeight*J.containerHeight/J.contentHeight)),J.scrollbarYTop=n(Ie*(J.railYHeight-J.scrollbarYHeight)/(J.contentHeight-J.containerHeight))):J.scrollbarYActive=!1,J.scrollbarXLeft>=J.railXWidth-J.scrollbarXWidth&&(J.scrollbarXLeft=J.railXWidth-J.scrollbarXWidth),J.scrollbarYTop>=J.railYHeight-J.scrollbarYHeight&&(J.scrollbarYTop=J.railYHeight-J.scrollbarYHeight),function O(J,re){var Ie={width:re.railXWidth},Nt=Math.floor(J.scrollTop);Ie.left=re.isRtl?re.negativeScrollAdjustment+J.scrollLeft+re.containerWidth-re.contentWidth:J.scrollLeft,re.isScrollbarXUsingBottom?Ie.bottom=re.scrollbarXBottom-Nt:Ie.top=re.scrollbarXTop+Nt,M(re.scrollbarXRail,Ie);var At={top:Nt,height:re.railYHeight};re.isScrollbarYUsingRight?At.right=re.isRtl?re.contentWidth-(re.negativeScrollAdjustment+J.scrollLeft)-re.scrollbarYRight-re.scrollbarYOuterWidth-9:re.scrollbarYRight-J.scrollLeft:At.left=re.isRtl?re.negativeScrollAdjustment+J.scrollLeft+2*re.containerWidth-re.contentWidth-re.scrollbarYLeft-re.scrollbarYOuterWidth:re.scrollbarYLeft+J.scrollLeft,M(re.scrollbarYRail,At),M(re.scrollbarX,{left:re.scrollbarXLeft,width:re.scrollbarXWidth-re.railBorderXWidth}),M(re.scrollbarY,{top:re.scrollbarYTop,height:re.scrollbarYHeight-re.railBorderYWidth})}(re,J),J.scrollbarXActive?re.classList.add(j.state.active("x")):(re.classList.remove(j.state.active("x")),J.scrollbarXWidth=0,J.scrollbarXLeft=0,re.scrollLeft=!0===J.isRtl?J.contentWidth:0),J.scrollbarYActive?re.classList.add(j.state.active("y")):(re.classList.remove(j.state.active("y")),J.scrollbarYHeight=0,J.scrollbarYTop=0,re.scrollTop=0)}function D(J,re){return J.settings.minScrollbarLength&&(re=Math.max(re,J.settings.minScrollbarLength)),J.settings.maxScrollbarLength&&(re=Math.min(re,J.settings.maxScrollbarLength)),re}function g(J,re){var Ie=re[0],Nt=re[1],At=re[2],Zt=re[3],mi=re[4],Jt=re[5],Xt=re[6],Hi=re[7],li=re[8],hi=J.element,un=null,Qi=null,xi=null;function sn(Ce){Ce.touches&&Ce.touches[0]&&(Ce[At]=Ce.touches[0].pageY),hi[Xt]=un+xi*(Ce[At]-Qi),X(J,Hi),w(J),Ce.stopPropagation(),Ce.type.startsWith("touch")&&Ce.changedTouches.length>1&&Ce.preventDefault()}function at(){ie(J,Hi),J[li].classList.remove(j.state.clicking),J.event.unbind(J.ownerDocument,"mousemove",sn)}function oi(Ce,St){un=hi[Xt],St&&Ce.touches&&(Ce[At]=Ce.touches[0].pageY),Qi=Ce[At],xi=(J[Nt]-J[Ie])/(J[Zt]-J[Jt]),St?J.event.bind(J.ownerDocument,"touchmove",sn):(J.event.bind(J.ownerDocument,"mousemove",sn),J.event.once(J.ownerDocument,"mouseup",at),Ce.preventDefault()),J[li].classList.add(j.state.clicking),Ce.stopPropagation()}J.event.bind(J[mi],"mousedown",function(Ce){oi(Ce)}),J.event.bind(J[mi],"touchstart",function(Ce){oi(Ce,!0)})}var ot={"click-rail":function v(J){J.event.bind(J.scrollbarY,"mousedown",function(Ie){return Ie.stopPropagation()}),J.event.bind(J.scrollbarYRail,"mousedown",function(Ie){var Nt=Ie.pageY-window.pageYOffset-J.scrollbarYRail.getBoundingClientRect().top;J.element.scrollTop+=(Nt>J.scrollbarYTop?1:-1)*J.containerHeight,w(J),Ie.stopPropagation()}),J.event.bind(J.scrollbarX,"mousedown",function(Ie){return Ie.stopPropagation()}),J.event.bind(J.scrollbarXRail,"mousedown",function(Ie){var Nt=Ie.pageX-window.pageXOffset-J.scrollbarXRail.getBoundingClientRect().left;J.element.scrollLeft+=(Nt>J.scrollbarXLeft?1:-1)*J.containerWidth,w(J),Ie.stopPropagation()})},"drag-thumb":function r(J){g(J,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),g(J,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function H(J){var re=J.element;J.event.bind(J.ownerDocument,"keydown",function(Zt){if(!(Zt.isDefaultPrevented&&Zt.isDefaultPrevented()||Zt.defaultPrevented)&&(V(re,":hover")||V(J.scrollbarX,":focus")||V(J.scrollbarY,":focus"))){var mi=document.activeElement?document.activeElement:J.ownerDocument.activeElement;if(mi){if("IFRAME"===mi.tagName)mi=mi.contentDocument.activeElement;else for(;mi.shadowRoot;)mi=mi.shadowRoot.activeElement;if(function s(J){return V(J,"input,[contenteditable]")||V(J,"select,[contenteditable]")||V(J,"textarea,[contenteditable]")||V(J,"button,[contenteditable]")}(mi))return}var Jt=0,Xt=0;switch(Zt.which){case 37:Jt=Zt.metaKey?-J.contentWidth:Zt.altKey?-J.containerWidth:-30;break;case 38:Xt=Zt.metaKey?J.contentHeight:Zt.altKey?J.containerHeight:30;break;case 39:Jt=Zt.metaKey?J.contentWidth:Zt.altKey?J.containerWidth:30;break;case 40:Xt=Zt.metaKey?-J.contentHeight:Zt.altKey?-J.containerHeight:-30;break;case 32:Xt=Zt.shiftKey?J.containerHeight:-J.containerHeight;break;case 33:Xt=J.containerHeight;break;case 34:Xt=-J.containerHeight;break;case 36:Xt=J.contentHeight;break;case 35:Xt=-J.contentHeight;break;default:return}J.settings.suppressScrollX&&0!==Jt||J.settings.suppressScrollY&&0!==Xt||(re.scrollTop-=Xt,re.scrollLeft+=Jt,w(J),function At(Zt,mi){var Jt=Math.floor(re.scrollTop);if(0===Zt){if(!J.scrollbarYActive)return!1;if(0===Jt&&mi>0||Jt>=J.contentHeight-J.containerHeight&&mi<0)return!J.settings.wheelPropagation}var Xt=re.scrollLeft;if(0===mi){if(!J.scrollbarXActive)return!1;if(0===Xt&&Zt<0||Xt>=J.contentWidth-J.containerWidth&&Zt>0)return!J.settings.wheelPropagation}return!0}(Jt,Xt)&&Zt.preventDefault())}})},wheel:function N(J){var re=J.element;function Zt(mi){var Jt=function Nt(mi){var Jt=mi.deltaX,Xt=-1*mi.deltaY;return(typeof Jt>"u"||typeof Xt>"u")&&(Jt=-1*mi.wheelDeltaX/6,Xt=mi.wheelDeltaY/6),mi.deltaMode&&1===mi.deltaMode&&(Jt*=10,Xt*=10),Jt!=Jt&&Xt!=Xt&&(Jt=0,Xt=mi.wheelDelta),mi.shiftKey?[-Xt,-Jt]:[Jt,Xt]}(mi),Xt=Jt[0],Hi=Jt[1];if(!function At(mi,Jt,Xt){if(!h.isWebKit&&re.querySelector("select:focus"))return!0;if(!re.contains(mi))return!1;for(var Hi=mi;Hi&&Hi!==re;){if(Hi.classList.contains(j.element.consuming))return!0;var li=E(Hi);if(Xt&&li.overflowY.match(/(scroll|auto)/)){var hi=Hi.scrollHeight-Hi.clientHeight;if(hi>0&&(Hi.scrollTop>0&&Xt<0||Hi.scrollTop<hi&&Xt>0))return!0}if(Jt&&li.overflowX.match(/(scroll|auto)/)){var un=Hi.scrollWidth-Hi.clientWidth;if(un>0&&(Hi.scrollLeft>0&&Jt<0||Hi.scrollLeft<un&&Jt>0))return!0}Hi=Hi.parentNode}return!1}(mi.target,Xt,Hi)){var li=!1;J.settings.useBothWheelAxes?J.scrollbarYActive&&!J.scrollbarXActive?(Hi?re.scrollTop-=Hi*J.settings.wheelSpeed:re.scrollTop+=Xt*J.settings.wheelSpeed,li=!0):J.scrollbarXActive&&!J.scrollbarYActive&&(Xt?re.scrollLeft+=Xt*J.settings.wheelSpeed:re.scrollLeft-=Hi*J.settings.wheelSpeed,li=!0):(re.scrollTop-=Hi*J.settings.wheelSpeed,re.scrollLeft+=Xt*J.settings.wheelSpeed),w(J),li=li||function Ie(mi,Jt){var Xt=Math.floor(re.scrollTop),Hi=0===re.scrollTop,li=Xt+re.offsetHeight===re.scrollHeight,hi=0===re.scrollLeft,un=re.scrollLeft+re.offsetWidth===re.scrollWidth;return!(Math.abs(Jt)>Math.abs(mi)?Hi||li:hi||un)||!J.settings.wheelPropagation}(Xt,Hi),li&&!mi.ctrlKey&&(mi.stopPropagation(),mi.preventDefault())}}typeof window.onwheel<"u"?J.event.bind(re,"wheel",Zt):typeof window.onmousewheel<"u"&&J.event.bind(re,"mousewheel",Zt)},touch:function ee(J){if(h.supportsTouch||h.supportsIePointer){var re=J.element,At={},Zt=0,mi={},Jt=null;h.supportsTouch?(J.event.bind(re,"touchstart",li),J.event.bind(re,"touchmove",un),J.event.bind(re,"touchend",Qi)):h.supportsIePointer&&(window.PointerEvent?(J.event.bind(re,"pointerdown",li),J.event.bind(re,"pointermove",un),J.event.bind(re,"pointerup",Qi)):window.MSPointerEvent&&(J.event.bind(re,"MSPointerDown",li),J.event.bind(re,"MSPointerMove",un),J.event.bind(re,"MSPointerUp",Qi)))}function Nt(xi,sn){re.scrollTop-=sn,re.scrollLeft-=xi,w(J)}function Xt(xi){return xi.targetTouches?xi.targetTouches[0]:xi}function Hi(xi){return!(xi.pointerType&&"pen"===xi.pointerType&&0===xi.buttons||!(xi.targetTouches&&1===xi.targetTouches.length||xi.pointerType&&"mouse"!==xi.pointerType&&xi.pointerType!==xi.MSPOINTER_TYPE_MOUSE))}function li(xi){if(Hi(xi)){var sn=Xt(xi);At.pageX=sn.pageX,At.pageY=sn.pageY,Zt=(new Date).getTime(),null!==Jt&&clearInterval(Jt)}}function un(xi){if(Hi(xi)){var sn=Xt(xi),at={pageX:sn.pageX,pageY:sn.pageY},oi=at.pageX-At.pageX,Ce=at.pageY-At.pageY;if(function hi(xi,sn,at){if(!re.contains(xi))return!1;for(var oi=xi;oi&&oi!==re;){if(oi.classList.contains(j.element.consuming))return!0;var Ce=E(oi);if(at&&Ce.overflowY.match(/(scroll|auto)/)){var St=oi.scrollHeight-oi.clientHeight;if(St>0&&(oi.scrollTop>0&&at<0||oi.scrollTop<St&&at>0))return!0}if(sn&&Ce.overflowX.match(/(scroll|auto)/)){var Ft=oi.scrollWidth-oi.clientWidth;if(Ft>0&&(oi.scrollLeft>0&&sn<0||oi.scrollLeft<Ft&&sn>0))return!0}oi=oi.parentNode}return!1}(xi.target,oi,Ce))return;Nt(oi,Ce),At=at;var St=(new Date).getTime(),Ft=St-Zt;Ft>0&&(mi.x=oi/Ft,mi.y=Ce/Ft,Zt=St),function Ie(xi,sn){var at=Math.floor(re.scrollTop),oi=re.scrollLeft,Ce=Math.abs(xi),St=Math.abs(sn);if(St>Ce){if(sn<0&&at===J.contentHeight-J.containerHeight||sn>0&&0===at)return 0===window.scrollY&&sn>0&&h.isChrome}else if(Ce>St&&(xi<0&&oi===J.contentWidth-J.containerWidth||xi>0&&0===oi))return!0;return!0}(oi,Ce)&&xi.preventDefault()}}function Qi(){J.settings.swipeEasing&&(clearInterval(Jt),Jt=setInterval(function(){J.isInitialized?clearInterval(Jt):mi.x||mi.y?Math.abs(mi.x)<.01&&Math.abs(mi.y)<.01?clearInterval(Jt):J.element?(Nt(30*mi.x,30*mi.y),mi.x*=.8,mi.y*=.8):clearInterval(Jt):clearInterval(Jt)},10))}}},je=function(re,Ie){var Nt=this;if(void 0===Ie&&(Ie={}),"string"==typeof re&&(re=document.querySelector(re)),!re||!re.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var At in this.element=re,re.classList.add(j.main),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1},Ie)this.settings[At]=Ie[At];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var li,Hi,Zt=function(){return re.classList.add(j.state.focus)},mi=function(){return re.classList.remove(j.state.focus)};this.isRtl="rtl"===E(re).direction,!0===this.isRtl&&re.classList.add(j.rtl),this.isNegativeScroll=(Hi=re.scrollLeft,re.scrollLeft=-1,li=re.scrollLeft<0,re.scrollLeft=Hi,li),this.negativeScrollAdjustment=this.isNegativeScroll?re.scrollWidth-re.clientWidth:0,this.event=new Me,this.ownerDocument=re.ownerDocument||document,this.scrollbarXRail=I(j.element.rail("x")),re.appendChild(this.scrollbarXRail),this.scrollbarX=I(j.element.thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",Zt),this.event.bind(this.scrollbarX,"blur",mi),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var Jt=E(this.scrollbarXRail);this.scrollbarXBottom=parseInt(Jt.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=n(Jt.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=n(Jt.borderLeftWidth)+n(Jt.borderRightWidth),M(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=n(Jt.marginLeft)+n(Jt.marginRight),M(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=I(j.element.rail("y")),re.appendChild(this.scrollbarYRail),this.scrollbarY=I(j.element.thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",Zt),this.event.bind(this.scrollbarY,"blur",mi),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var Xt=E(this.scrollbarYRail);this.scrollbarYRight=parseInt(Xt.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=n(Xt.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function f(J){var re=E(J);return n(re.width)+n(re.paddingLeft)+n(re.paddingRight)+n(re.borderLeftWidth)+n(re.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=n(Xt.borderTopWidth)+n(Xt.borderBottomWidth),M(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=n(Xt.marginTop)+n(Xt.marginBottom),M(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:re.scrollLeft<=0?"start":re.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:re.scrollTop<=0?"start":re.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach(function(Hi){return ot[Hi](Nt)}),this.lastScrollTop=Math.floor(re.scrollTop),this.lastScrollLeft=re.scrollLeft,this.event.bind(this.element,"scroll",function(Hi){return Nt.onScroll(Hi)}),w(this)};je.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,M(this.scrollbarXRail,{display:"block"}),M(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=n(E(this.scrollbarXRail).marginLeft)+n(E(this.scrollbarXRail).marginRight),this.railYMarginHeight=n(E(this.scrollbarYRail).marginTop)+n(E(this.scrollbarYRail).marginBottom),M(this.scrollbarXRail,{display:"none"}),M(this.scrollbarYRail,{display:"none"}),w(this),ue(this,"top",0,!1,!0),ue(this,"left",0,!1,!0),M(this.scrollbarXRail,{display:""}),M(this.scrollbarYRail,{display:""}))},je.prototype.onScroll=function(re){this.isAlive&&(w(this),ue(this,"top",this.element.scrollTop-this.lastScrollTop),ue(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},je.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),B(this.scrollbarX),B(this.scrollbarY),B(this.scrollbarXRail),B(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},je.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(re){return!re.match(/^ps([-_].+|)$/)}).join(" ")};const Je=je;var ye=function(){if(typeof Map<"u")return Map;function J(re,Ie){var Nt=-1;return re.some(function(At,Zt){return At[0]===Ie&&(Nt=Zt,!0)}),Nt}return function(){function re(){this.__entries__=[]}return Object.defineProperty(re.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),re.prototype.get=function(Ie){var Nt=J(this.__entries__,Ie),At=this.__entries__[Nt];return At&&At[1]},re.prototype.set=function(Ie,Nt){var At=J(this.__entries__,Ie);~At?this.__entries__[At][1]=Nt:this.__entries__.push([Ie,Nt])},re.prototype.delete=function(Ie){var Nt=this.__entries__,At=J(Nt,Ie);~At&&Nt.splice(At,1)},re.prototype.has=function(Ie){return!!~J(this.__entries__,Ie)},re.prototype.clear=function(){this.__entries__.splice(0)},re.prototype.forEach=function(Ie,Nt){void 0===Nt&&(Nt=null);for(var At=0,Zt=this.__entries__;At<Zt.length;At++){var mi=Zt[At];Ie.call(Nt,mi[1],mi[0])}},re}()}(),me=typeof window<"u"&&typeof document<"u"&&window.document===document,he=typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")(),xe="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(he):function(J){return setTimeout(function(){return J(Date.now())},1e3/60)},oe=["top","right","bottom","left","width","height","size","weight"],ve=typeof MutationObserver<"u",le=function(){function J(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function ge(J,re){var Ie=!1,Nt=!1,At=0;function Zt(){Ie&&(Ie=!1,J()),Nt&&Jt()}function mi(){xe(Zt)}function Jt(){var Xt=Date.now();if(Ie){if(Xt-At<2)return;Nt=!0}else Ie=!0,Nt=!1,setTimeout(mi,re);At=Xt}return Jt}(this.refresh.bind(this),20)}return J.prototype.addObserver=function(re){~this.observers_.indexOf(re)||this.observers_.push(re),this.connected_||this.connect_()},J.prototype.removeObserver=function(re){var Ie=this.observers_,Nt=Ie.indexOf(re);~Nt&&Ie.splice(Nt,1),!Ie.length&&this.connected_&&this.disconnect_()},J.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},J.prototype.updateObservers_=function(){var re=this.observers_.filter(function(Ie){return Ie.gatherActive(),Ie.hasActive()});return re.forEach(function(Ie){return Ie.broadcastActive()}),re.length>0},J.prototype.connect_=function(){!me||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),ve?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},J.prototype.disconnect_=function(){!me||!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)},J.prototype.onTransitionEnd_=function(re){var Ie=re.propertyName,Nt=void 0===Ie?"":Ie;oe.some(function(Zt){return!!~Nt.indexOf(Zt)})&&this.refresh()},J.getInstance=function(){return this.instance_||(this.instance_=new J),this.instance_},J.instance_=null,J}(),Ge=function(J,re){for(var Ie=0,Nt=Object.keys(re);Ie<Nt.length;Ie++){var At=Nt[Ie];Object.defineProperty(J,At,{value:re[At],enumerable:!1,writable:!1,configurable:!0})}return J},We=function(J){return J&&J.ownerDocument&&J.ownerDocument.defaultView||he},wt=Et(0,0,0,0);function mt(J){return parseFloat(J)||0}function kt(J){for(var re=[],Ie=1;Ie<arguments.length;Ie++)re[Ie-1]=arguments[Ie];return re.reduce(function(Nt,At){return Nt+mt(J["border-"+At+"-width"])},0)}var $e=typeof SVGGraphicsElement<"u"?function(J){return J instanceof We(J).SVGGraphicsElement}:function(J){return J instanceof We(J).SVGElement&&"function"==typeof J.getBBox};function st(J){return me?$e(J)?function Be(J){var re=J.getBBox();return Et(0,0,re.width,re.height)}(J):function it(J){var re=J.clientWidth,Ie=J.clientHeight;if(!re&&!Ie)return wt;var Nt=We(J).getComputedStyle(J),At=function Ae(J){for(var Ie={},Nt=0,At=["top","right","bottom","left"];Nt<At.length;Nt++){var Zt=At[Nt];Ie[Zt]=mt(J["padding-"+Zt])}return Ie}(Nt),Zt=At.left+At.right,mi=At.top+At.bottom,Jt=mt(Nt.width),Xt=mt(Nt.height);if("border-box"===Nt.boxSizing&&(Math.round(Jt+Zt)!==re&&(Jt-=kt(Nt,"left","right")+Zt),Math.round(Xt+mi)!==Ie&&(Xt-=kt(Nt,"top","bottom")+mi)),!function ke(J){return J===We(J).document.documentElement}(J)){var Hi=Math.round(Jt+Zt)-re,li=Math.round(Xt+mi)-Ie;1!==Math.abs(Hi)&&(Jt-=Hi),1!==Math.abs(li)&&(Xt-=li)}return Et(At.left,At.top,Jt,Xt)}(J):wt}function Et(J,re,Ie,Nt){return{x:J,y:re,width:Ie,height:Nt}}var ct=function(){function J(re){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Et(0,0,0,0),this.target=re}return J.prototype.isActive=function(){var re=st(this.target);return this.contentRect_=re,re.width!==this.broadcastWidth||re.height!==this.broadcastHeight},J.prototype.broadcastRect=function(){var re=this.contentRect_;return this.broadcastWidth=re.width,this.broadcastHeight=re.height,re},J}(),te=function J(re,Ie){var Nt=function Ke(J){var re=J.x,Ie=J.y,Nt=J.width,At=J.height,Zt=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,mi=Object.create(Zt.prototype);return Ge(mi,{x:re,y:Ie,width:Nt,height:At,top:Ie,right:re+Nt,bottom:At+Ie,left:re}),mi}(Ie);Ge(this,{target:re,contentRect:Nt})},Pe=function(){function J(re,Ie,Nt){if(this.activeObservations_=[],this.observations_=new ye,"function"!=typeof re)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=re,this.controller_=Ie,this.callbackCtx_=Nt}return J.prototype.observe=function(re){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u")&&Element instanceof Object){if(!(re instanceof We(re).Element))throw new TypeError('parameter 1 is not of type "Element".');var Ie=this.observations_;Ie.has(re)||(Ie.set(re,new ct(re)),this.controller_.addObserver(this),this.controller_.refresh())}},J.prototype.unobserve=function(re){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u")&&Element instanceof Object){if(!(re instanceof We(re).Element))throw new TypeError('parameter 1 is not of type "Element".');var Ie=this.observations_;Ie.has(re)&&(Ie.delete(re),Ie.size||this.controller_.removeObserver(this))}},J.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},J.prototype.gatherActive=function(){var re=this;this.clearActive(),this.observations_.forEach(function(Ie){Ie.isActive()&&re.activeObservations_.push(Ie)})},J.prototype.broadcastActive=function(){if(this.hasActive()){var re=this.callbackCtx_,Ie=this.activeObservations_.map(function(Nt){return new te(Nt.target,Nt.broadcastRect())});this.callback_.call(re,Ie,re),this.clearActive()}},J.prototype.clearActive=function(){this.activeObservations_.splice(0)},J.prototype.hasActive=function(){return this.activeObservations_.length>0},J}(),$t=typeof WeakMap<"u"?new WeakMap:new ye,Ze=function J(re){if(!(this instanceof J))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var Ie=le.getInstance(),Nt=new Pe(re,Ie,this);$t.set(this,Nt)};["observe","unobserve","disconnect"].forEach(function(J){Ze.prototype[J]=function(){var re;return(re=$t.get(this))[J].apply(re,arguments)}});const zt=typeof he.ResizeObserver<"u"?he.ResizeObserver:Ze;function xt(J,re){if(1&J&&(P.TgZ(0,"div",3),P._UZ(1,"div",4)(2,"div",5)(3,"div",6)(4,"div",7),P.qZA()),2&J){const Ie=P.oxw();P.ekj("ps-at-top",Ie.states.top)("ps-at-left",Ie.states.left)("ps-at-right",Ie.states.right)("ps-at-bottom",Ie.states.bottom),P.xp6(1),P.ekj("ps-indicator-show",Ie.indicatorY&&Ie.interaction),P.xp6(1),P.ekj("ps-indicator-show",Ie.indicatorX&&Ie.interaction),P.xp6(1),P.ekj("ps-indicator-show",Ie.indicatorX&&Ie.interaction),P.xp6(1),P.ekj("ps-indicator-show",Ie.indicatorY&&Ie.interaction)}}const Ot=["*"],yt=new P.OlP("PERFECT_SCROLLBAR_CONFIG");class nt{constructor(re,Ie,Nt,At){this.x=re,this.y=Ie,this.w=Nt,this.h=At}}class Ee{constructor(re,Ie){this.x=re,this.y=Ie}}const tt=["psScrollY","psScrollX","psScrollUp","psScrollDown","psScrollLeft","psScrollRight","psYReachEnd","psYReachStart","psXReachEnd","psXReachStart"];class Ue{constructor(re={}){this.assign(re)}assign(re={}){for(const Ie in re)this[Ie]=re[Ie]}}let Xe=(()=>{class J{constructor(Ie,Nt,At,Zt,mi){this.zone=Ie,this.differs=Nt,this.elementRef=At,this.platformId=Zt,this.defaults=mi,this.instance=null,this.ro=null,this.timeout=null,this.animation=null,this.configDiff=null,this.ngDestroy=new e.x,this.disabled=!1,this.psScrollY=new P.vpe,this.psScrollX=new P.vpe,this.psScrollUp=new P.vpe,this.psScrollDown=new P.vpe,this.psScrollLeft=new P.vpe,this.psScrollRight=new P.vpe,this.psYReachEnd=new P.vpe,this.psYReachStart=new P.vpe,this.psXReachEnd=new P.vpe,this.psXReachStart=new P.vpe}ngOnInit(){if(!this.disabled&&(0,d.NF)(this.platformId)){const Ie=new Ue(this.defaults);Ie.assign(this.config),this.zone.runOutsideAngular(()=>{this.instance=new Je(this.elementRef.nativeElement,Ie)}),this.configDiff||(this.configDiff=this.differs.find(this.config||{}).create(),this.configDiff.diff(this.config||{})),this.zone.runOutsideAngular(()=>{this.ro=new zt(()=>{this.update()}),this.elementRef.nativeElement.children[0]&&this.ro.observe(this.elementRef.nativeElement.children[0]),this.ro.observe(this.elementRef.nativeElement)}),this.zone.runOutsideAngular(()=>{tt.forEach(Nt=>{const At=Nt.replace(/([A-Z])/g,Zt=>`-${Zt.toLowerCase()}`);(0,t.R)(this.elementRef.nativeElement,At).pipe((0,A.e)(20),(0,l.R)(this.ngDestroy)).subscribe(Zt=>{this[Nt].emit(Zt)})})})}}ngOnDestroy(){(0,d.NF)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.complete(),this.ro&&this.ro.disconnect(),this.timeout&&typeof window<"u"&&window.clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.instance&&this.instance.destroy()}),this.instance=null)}ngDoCheck(){!this.disabled&&this.configDiff&&(0,d.NF)(this.platformId)&&this.configDiff.diff(this.config||{})&&(this.ngOnDestroy(),this.ngOnInit())}ngOnChanges(Ie){Ie.disabled&&!Ie.disabled.isFirstChange()&&(0,d.NF)(this.platformId)&&Ie.disabled.currentValue!==Ie.disabled.previousValue&&(!0===Ie.disabled.currentValue?this.ngOnDestroy():!1===Ie.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(Ie="scroll"){return new nt(this.elementRef.nativeElement[Ie+"Left"],this.elementRef.nativeElement[Ie+"Top"],this.elementRef.nativeElement[Ie+"Width"],this.elementRef.nativeElement[Ie+"Height"])}position(Ie=!1){return!Ie&&this.instance?new Ee(this.instance.reach.x||0,this.instance.reach.y||0):new Ee(this.elementRef.nativeElement.scrollLeft,this.elementRef.nativeElement.scrollTop)}scrollable(Ie="any"){const Nt=this.elementRef.nativeElement;return"any"===Ie?Nt.classList.contains("ps--active-x")||Nt.classList.contains("ps--active-y"):"both"===Ie?Nt.classList.contains("ps--active-x")&&Nt.classList.contains("ps--active-y"):Nt.classList.contains("ps--active-"+Ie)}scrollTo(Ie,Nt,At){this.disabled||(null==Nt&&null==At?this.animateScrolling("scrollTop",Ie,At):(null!=Ie&&this.animateScrolling("scrollLeft",Ie,At),null!=Nt&&this.animateScrolling("scrollTop",Nt,At)))}scrollToX(Ie,Nt){this.animateScrolling("scrollLeft",Ie,Nt)}scrollToY(Ie,Nt){this.animateScrolling("scrollTop",Ie,Nt)}scrollToTop(Ie,Nt){this.animateScrolling("scrollTop",Ie||0,Nt)}scrollToLeft(Ie,Nt){this.animateScrolling("scrollLeft",Ie||0,Nt)}scrollToRight(Ie,Nt){this.animateScrolling("scrollLeft",this.elementRef.nativeElement.scrollWidth-this.elementRef.nativeElement.clientWidth-(Ie||0),Nt)}scrollToBottom(Ie,Nt){this.animateScrolling("scrollTop",this.elementRef.nativeElement.scrollHeight-this.elementRef.nativeElement.clientHeight-(Ie||0),Nt)}scrollToElement(Ie,Nt,At){if("string"==typeof Ie&&(Ie=this.elementRef.nativeElement.querySelector(Ie)),Ie){const Zt=Ie.getBoundingClientRect(),mi=this.elementRef.nativeElement.getBoundingClientRect();this.elementRef.nativeElement.classList.contains("ps--active-x")&&this.animateScrolling("scrollLeft",Zt.left-mi.left+this.elementRef.nativeElement.scrollLeft+(Nt||0),At),this.elementRef.nativeElement.classList.contains("ps--active-y")&&this.animateScrolling("scrollTop",Zt.top-mi.top+this.elementRef.nativeElement.scrollTop+(Nt||0),At)}}animateScrolling(Ie,Nt,At){if(this.animation&&(window.cancelAnimationFrame(this.animation),this.animation=null),!At||typeof window>"u")this.elementRef.nativeElement[Ie]=Nt;else if(Nt!==this.elementRef.nativeElement[Ie]){let Zt=0,mi=0,Jt=performance.now(),Xt=this.elementRef.nativeElement[Ie];const Hi=(Xt-Nt)/2,li=hi=>{mi+=Math.PI/(At/(hi-Jt)),Zt=Math.round(Nt+Hi+Hi*Math.cos(mi)),this.elementRef.nativeElement[Ie]===Xt&&(mi>=Math.PI?this.animateScrolling(Ie,Nt,0):(this.elementRef.nativeElement[Ie]=Zt,Xt=this.elementRef.nativeElement[Ie],Jt=hi,this.animation=window.requestAnimationFrame(li)))};window.requestAnimationFrame(li)}}}return J.\u0275fac=function(Ie){return new(Ie||J)(P.Y36(P.R0b),P.Y36(P.aQg),P.Y36(P.SBq),P.Y36(P.Lbi),P.Y36(yt,8))},J.\u0275dir=P.lG2({type:J,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]}),J})(),gt=(()=>{class J{constructor(Ie,Nt,At){this.zone=Ie,this.cdRef=Nt,this.platformId=At,this.states={},this.indicatorX=!1,this.indicatorY=!1,this.interaction=!1,this.scrollPositionX=0,this.scrollPositionY=0,this.scrollDirectionX=0,this.scrollDirectionY=0,this.usePropagationX=!1,this.usePropagationY=!1,this.allowPropagationX=!1,this.allowPropagationY=!1,this.stateTimeout=null,this.ngDestroy=new e.x,this.stateUpdate=new e.x,this.disabled=!1,this.usePSClass=!0,this.autoPropagation=!1,this.scrollIndicators=!1,this.psScrollY=new P.vpe,this.psScrollX=new P.vpe,this.psScrollUp=new P.vpe,this.psScrollDown=new P.vpe,this.psScrollLeft=new P.vpe,this.psScrollRight=new P.vpe,this.psYReachEnd=new P.vpe,this.psYReachStart=new P.vpe,this.psXReachEnd=new P.vpe,this.psXReachStart=new P.vpe}ngOnInit(){(0,d.NF)(this.platformId)&&(this.stateUpdate.pipe((0,l.R)(this.ngDestroy),(0,x.x)((Ie,Nt)=>Ie===Nt&&!this.stateTimeout)).subscribe(Ie=>{this.stateTimeout&&typeof window<"u"&&(window.clearTimeout(this.stateTimeout),this.stateTimeout=null),"x"===Ie||"y"===Ie?(this.interaction=!1,"x"===Ie?(this.indicatorX=!1,this.states.left=!1,this.states.right=!1,this.autoPropagation&&this.usePropagationX&&(this.allowPropagationX=!1)):"y"===Ie&&(this.indicatorY=!1,this.states.top=!1,this.states.bottom=!1,this.autoPropagation&&this.usePropagationY&&(this.allowPropagationY=!1))):("left"===Ie||"right"===Ie?(this.states.left=!1,this.states.right=!1,this.states[Ie]=!0,this.autoPropagation&&this.usePropagationX&&(this.indicatorX=!0)):("top"===Ie||"bottom"===Ie)&&(this.states.top=!1,this.states.bottom=!1,this.states[Ie]=!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 Ie=this.directiveRef.elementRef.nativeElement;(0,t.R)(Ie,"wheel").pipe((0,l.R)(this.ngDestroy)).subscribe(Nt=>{!this.disabled&&this.autoPropagation&&this.checkPropagation(Nt,Nt.deltaX,Nt.deltaY)}),(0,t.R)(Ie,"touchmove").pipe((0,l.R)(this.ngDestroy)).subscribe(Nt=>{if(!this.disabled&&this.autoPropagation){const At=Nt.touches[0].clientX,Zt=Nt.touches[0].clientY;this.checkPropagation(Nt,At-this.scrollPositionX,Zt-this.scrollPositionY),this.scrollPositionX=At,this.scrollPositionY=Zt}}),(0,y.T)((0,t.R)(Ie,"ps-scroll-x").pipe((0,m.h)("x")),(0,t.R)(Ie,"ps-scroll-y").pipe((0,m.h)("y")),(0,t.R)(Ie,"ps-x-reach-end").pipe((0,m.h)("right")),(0,t.R)(Ie,"ps-y-reach-end").pipe((0,m.h)("bottom")),(0,t.R)(Ie,"ps-x-reach-start").pipe((0,m.h)("left")),(0,t.R)(Ie,"ps-y-reach-start").pipe((0,m.h)("top"))).pipe((0,l.R)(this.ngDestroy)).subscribe(Nt=>{!this.disabled&&(this.autoPropagation||this.scrollIndicators)&&this.stateUpdate.next(Nt)})}}),window.setTimeout(()=>{tt.forEach(Ie=>{this.directiveRef&&(this.directiveRef[Ie]=this[Ie])})},0))}ngOnDestroy(){(0,d.NF)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.unsubscribe(),this.stateTimeout&&typeof window<"u"&&window.clearTimeout(this.stateTimeout))}ngDoCheck(){if((0,d.NF)(this.platformId)&&!this.disabled&&this.autoPropagation&&this.directiveRef){const Ie=this.directiveRef.elementRef.nativeElement;this.usePropagationX=Ie.classList.contains("ps--active-x"),this.usePropagationY=Ie.classList.contains("ps--active-y")}}checkPropagation(Ie,Nt,At){this.interaction=!0;const Zt=Nt<0?-1:1,mi=At<0?-1:1;(this.usePropagationX&&this.usePropagationY||this.usePropagationX&&(!this.allowPropagationX||this.scrollDirectionX!==Zt)||this.usePropagationY&&(!this.allowPropagationY||this.scrollDirectionY!==mi))&&(Ie.preventDefault(),Ie.stopPropagation()),Nt&&(this.scrollDirectionX=Zt),At&&(this.scrollDirectionY=mi),this.stateUpdate.next("interaction"),this.cdRef.detectChanges()}}return J.\u0275fac=function(Ie){return new(Ie||J)(P.Y36(P.R0b),P.Y36(P.sBO),P.Y36(P.Lbi))},J.\u0275cmp=P.Xpm({type:J,selectors:[["perfect-scrollbar"]],viewQuery:function(Ie,Nt){if(1&Ie&&P.Gf(Xe,7),2&Ie){let At;P.iGM(At=P.CRH())&&(Nt.directiveRef=At.first)}},hostVars:4,hostBindings:function(Ie,Nt){2&Ie&&P.ekj("ps-show-limits",Nt.autoPropagation)("ps-show-active",Nt.scrollIndicators)},inputs:{disabled:"disabled",usePSClass:"usePSClass",autoPropagation:"autoPropagation",scrollIndicators:"scrollIndicators",config:"config"},outputs:{psScrollY:"psScrollY",psScrollX:"psScrollX",psScrollUp:"psScrollUp",psScrollDown:"psScrollDown",psScrollLeft:"psScrollLeft",psScrollRight:"psScrollRight",psYReachEnd:"psYReachEnd",psYReachStart:"psYReachStart",psXReachEnd:"psXReachEnd",psXReachStart:"psXReachStart"},exportAs:["ngxPerfectScrollbar"],ngContentSelectors:Ot,decls:4,vars:5,consts:[[2,"position","static",3,"perfectScrollbar","disabled"],[1,"ps-content"],["class","ps-overlay",3,"ps-at-top","ps-at-left","ps-at-right","ps-at-bottom",4,"ngIf"],[1,"ps-overlay"],[1,"ps-indicator-top"],[1,"ps-indicator-left"],[1,"ps-indicator-right"],[1,"ps-indicator-bottom"]],template:function(Ie,Nt){1&Ie&&(P.F$t(),P.TgZ(0,"div",0)(1,"div",1),P.Hsn(2),P.qZA(),P.YNc(3,xt,5,16,"div",2),P.qZA()),2&Ie&&(P.ekj("ps",Nt.usePSClass),P.Q6J("perfectScrollbar",Nt.config)("disabled",Nt.disabled),P.xp6(3),P.Q6J("ngIf",Nt.scrollIndicators))},dependencies:[Xe,d.O5],styles:["perfect-scrollbar{position:relative;display:block;overflow:hidden;width:100%;height:100%;max-width:100%;max-height:100%}perfect-scrollbar[hidden]{display:none}perfect-scrollbar[fxflex]{display:flex;flex-direction:column;height:auto;min-width:0;min-height:0}perfect-scrollbar[fxflex]>.ps{flex:1 1 auto;width:auto;height:auto;min-width:0;min-height:0;-webkit-box-flex:1}perfect-scrollbar[fxlayout]>.ps,perfect-scrollbar[fxlayout]>.ps>.ps-content{display:flex;flex:1 1 auto;flex-direction:inherit;align-items:inherit;align-content:inherit;justify-content:inherit;width:100%;height:100%;-webkit-box-align:inherit;-webkit-box-flex:1;-webkit-box-pack:inherit}perfect-scrollbar[fxlayout=row]>.ps,perfect-scrollbar[fxlayout=row]>.ps>.ps-content{flex-direction:row!important}perfect-scrollbar[fxlayout=column]>.ps,perfect-scrollbar[fxlayout=column]>.ps>.ps-content{flex-direction:column!important}perfect-scrollbar>.ps{position:static;display:block;width:100%;height:100%;max-width:100%;max-height:100%}perfect-scrollbar>.ps textarea{-ms-overflow-style:scrollbar}perfect-scrollbar>.ps>.ps-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:block;overflow:hidden;pointer-events:none}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom{position:absolute;opacity:0;transition:opacity .3s ease-in-out}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom{left:0;min-width:100%;min-height:24px}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right{top:0;min-width:24px;min-height:100%}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top{top:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left{left:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right{right:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom{bottom:0}perfect-scrollbar>.ps.ps--active-y>.ps__rail-y{top:0!important;right:0!important;left:auto!important;width:10px;cursor:default;transition:width .2s linear,opacity .2s linear,background-color .2s linear}perfect-scrollbar>.ps.ps--active-y>.ps__rail-y:hover,perfect-scrollbar>.ps.ps--active-y>.ps__rail-y.ps--clicking{width:15px}perfect-scrollbar>.ps.ps--active-x>.ps__rail-x{top:auto!important;bottom:0!important;left:0!important;height:10px;cursor:default;transition:height .2s linear,opacity .2s linear,background-color .2s linear}perfect-scrollbar>.ps.ps--active-x>.ps__rail-x:hover,perfect-scrollbar>.ps.ps--active-x>.ps__rail-x.ps--clicking{height:15px}perfect-scrollbar>.ps.ps--active-x.ps--active-y>.ps__rail-y{margin:0 0 10px}perfect-scrollbar>.ps.ps--active-x.ps--active-y>.ps__rail-x{margin:0 10px 0 0}perfect-scrollbar>.ps.ps--scrolling-y>.ps__rail-y,perfect-scrollbar>.ps.ps--scrolling-x>.ps__rail-x{opacity:.9;background-color:#eee}perfect-scrollbar.ps-show-always>.ps.ps--active-y>.ps__rail-y,perfect-scrollbar.ps-show-always>.ps.ps--active-x>.ps__rail-x{opacity:.6}perfect-scrollbar.ps-show-active>.ps.ps--active-y>.ps-overlay:not(.ps-at-top) .ps-indicator-top{opacity:1;background:linear-gradient(to bottom,rgba(255,255,255,.5) 0%,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active>.ps.ps--active-y>.ps-overlay:not(.ps-at-bottom) .ps-indicator-bottom{opacity:1;background:linear-gradient(to top,rgba(255,255,255,.5) 0%,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active>.ps.ps--active-x>.ps-overlay:not(.ps-at-left) .ps-indicator-left{opacity:1;background:linear-gradient(to right,rgba(255,255,255,.5) 0%,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active>.ps.ps--active-x>.ps-overlay:not(.ps-at-right) .ps-indicator-right{opacity:1;background:linear-gradient(to left,rgba(255,255,255,.5) 0%,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-top .ps-indicator-top{background:linear-gradient(to bottom,rgba(170,170,170,.5) 0%,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-bottom .ps-indicator-bottom{background:linear-gradient(to top,rgba(170,170,170,.5) 0%,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-left .ps-indicator-left{background:linear-gradient(to right,rgba(170,170,170,.5) 0%,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-right .ps-indicator-right{background:linear-gradient(to left,rgba(170,170,170,.5) 0%,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-top .ps-indicator-top.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-bottom .ps-indicator-bottom.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-left .ps-indicator-left.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-right .ps-indicator-right.ps-indicator-show{opacity:1}\n",".ps{overflow:hidden!important;overflow-anchor:none;-ms-overflow-style:none;touch-action:auto;-ms-touch-action:auto}.ps__rail-x{display:none;opacity:0;transition:background-color .2s linear,opacity .2s linear;-webkit-transition:background-color .2s linear,opacity .2s linear;height:15px;bottom:0px;position:absolute}.ps__rail-y{display:none;opacity:0;transition:background-color .2s linear,opacity .2s linear;-webkit-transition:background-color .2s linear,opacity .2s linear;width:15px;right:0;position:absolute}.ps--active-x>.ps__rail-x,.ps--active-y>.ps__rail-y{display:block;background-color:transparent}.ps:hover>.ps__rail-x,.ps:hover>.ps__rail-y,.ps--focus>.ps__rail-x,.ps--focus>.ps__rail-y,.ps--scrolling-x>.ps__rail-x,.ps--scrolling-y>.ps__rail-y{opacity:.6}.ps .ps__rail-x:hover,.ps .ps__rail-y:hover,.ps .ps__rail-x:focus,.ps .ps__rail-y:focus,.ps .ps__rail-x.ps--clicking,.ps .ps__rail-y.ps--clicking{background-color:#eee;opacity:.9}.ps__thumb-x{background-color:#aaa;border-radius:6px;transition:background-color .2s linear,height .2s ease-in-out;-webkit-transition:background-color .2s linear,height .2s ease-in-out;height:6px;bottom:2px;position:absolute}.ps__thumb-y{background-color:#aaa;border-radius:6px;transition:background-color .2s linear,width .2s ease-in-out;-webkit-transition:background-color .2s linear,width .2s ease-in-out;width:6px;right:2px;position:absolute}.ps__rail-x:hover>.ps__thumb-x,.ps__rail-x:focus>.ps__thumb-x,.ps__rail-x.ps--clicking .ps__thumb-x{background-color:#999;height:11px}.ps__rail-y:hover>.ps__thumb-y,.ps__rail-y:focus>.ps__thumb-y,.ps__rail-y.ps--clicking .ps__thumb-y{background-color:#999;width:11px}@supports (-ms-overflow-style: none){.ps{overflow:auto!important}}@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none){.ps{overflow:auto!important}}\n"],encapsulation:2}),J})(),be=(()=>{class J{}return J.\u0275fac=function(Ie){return new(Ie||J)},J.\u0275mod=P.oAB({type:J}),J.\u0275inj=P.cJS({imports:[[d.ez],d.ez]}),J})()},5861:(ze,q,p)=>{"use strict";function e(y,A,l,x,m,P,d){try{var E=y[P](d),M=E.value}catch(I){return void l(I)}E.done?A(M):Promise.resolve(M).then(x,m)}function t(y){return function(){var A=this,l=arguments;return new Promise(function(x,m){var P=y.apply(A,l);function d(M){e(P,x,m,d,E,"next",M)}function E(M){e(P,x,m,d,E,"throw",M)}d(void 0)})}}p.d(q,{Z:()=>t})},7582:(ze,q,p)=>{"use strict";function l(r,g,H,N){var ot,ee=arguments.length,De=ee<3?g:null===N?N=Object.getOwnPropertyDescriptor(g,H):N;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)De=Reflect.decorate(r,g,H,N);else for(var je=r.length-1;je>=0;je--)(ot=r[je])&&(De=(ee<3?ot(De):ee>3?ot(g,H,De):ot(g,H))||De);return ee>3&&De&&Object.defineProperty(g,H,De),De}function I(r,g,H,N){return new(H||(H=Promise))(function(De,ot){function je(me){try{ye(N.next(me))}catch(he){ot(he)}}function Je(me){try{ye(N.throw(me))}catch(he){ot(he)}}function ye(me){me.done?De(me.value):function ee(De){return De instanceof H?De:new H(function(ot){ot(De)})}(me.value).then(je,Je)}ye((N=N.apply(r,g||[])).next())})}function ae(r){return this instanceof ae?(this.v=r,this):new ae(r)}function fe(r,g,H){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ee,N=H.apply(r,g||[]),De=[];return ee={},ot("next"),ot("throw"),ot("return"),ee[Symbol.asyncIterator]=function(){return this},ee;function ot(xe){N[xe]&&(ee[xe]=function(de){return new Promise(function(ge,qe){De.push([xe,de,ge,qe])>1||je(xe,de)})})}function je(xe,de){try{!function Je(xe){xe.value instanceof ae?Promise.resolve(xe.value.v).then(ye,me):he(De[0][2],xe)}(N[xe](de))}catch(ge){he(De[0][3],ge)}}function ye(xe){je("next",xe)}function me(xe){je("throw",xe)}function he(xe,de){xe(de),De.shift(),De.length&&je(De[0][0],De[0][1])}}function Me(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var H,g=r[Symbol.asyncIterator];return g?g.call(r):(r=function W(r){var g="function"==typeof Symbol&&Symbol.iterator,H=g&&r[g],N=0;if(H)return H.call(r);if(r&&"number"==typeof r.length)return{next:function(){return r&&N>=r.length&&(r=void 0),{value:r&&r[N++],done:!r}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")}(r),H={},N("next"),N("throw"),N("return"),H[Symbol.asyncIterator]=function(){return this},H);function N(De){H[De]=r[De]&&function(ot){return new Promise(function(je,Je){!function ee(De,ot,je,Je){Promise.resolve(Je).then(function(ye){De({value:ye,done:je})},ot)}(je,Je,(ot=r[De](ot)).done,ot.value)})}}}p.d(q,{FC:()=>fe,KL:()=>Me,gn:()=>l,mG:()=>I,qq:()=>ae}),"function"==typeof SuppressedError&&SuppressedError},4946:ze=>{"use strict";ze.exports=JSON.parse('{"aes-128-ecb":{"cipher":"AES","key":128,"iv":0,"mode":"ECB","type":"block"},"aes-192-ecb":{"cipher":"AES","key":192,"iv":0,"mode":"ECB","type":"block"},"aes-256-ecb":{"cipher":"AES","key":256,"iv":0,"mode":"ECB","type":"block"},"aes-128-cbc":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes-192-cbc":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes-256-cbc":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes128":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes192":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes256":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes-128-cfb":{"cipher":"AES","key":128,"iv":16,"mode":"CFB","type":"stream"},"aes-192-cfb":{"cipher":"AES","key":192,"iv":16,"mode":"CFB","type":"stream"},"aes-256-cfb":{"cipher":"AES","key":256,"iv":16,"mode":"CFB","type":"stream"},"aes-128-cfb8":{"cipher":"AES","key":128,"iv":16,"mode":"CFB8","type":"stream"},"aes-192-cfb8":{"cipher":"AES","key":192,"iv":16,"mode":"CFB8","type":"stream"},"aes-256-cfb8":{"cipher":"AES","key":256,"iv":16,"mode":"CFB8","type":"stream"},"aes-128-cfb1":{"cipher":"AES","key":128,"iv":16,"mode":"CFB1","type":"stream"},"aes-192-cfb1":{"cipher":"AES","key":192,"iv":16,"mode":"CFB1","type":"stream"},"aes-256-cfb1":{"cipher":"AES","key":256,"iv":16,"mode":"CFB1","type":"stream"},"aes-128-ofb":{"cipher":"AES","key":128,"iv":16,"mode":"OFB","type":"stream"},"aes-192-ofb":{"cipher":"AES","key":192,"iv":16,"mode":"OFB","type":"stream"},"aes-256-ofb":{"cipher":"AES","key":256,"iv":16,"mode":"OFB","type":"stream"},"aes-128-ctr":{"cipher":"AES","key":128,"iv":16,"mode":"CTR","type":"stream"},"aes-192-ctr":{"cipher":"AES","key":192,"iv":16,"mode":"CTR","type":"stream"},"aes-256-ctr":{"cipher":"AES","key":256,"iv":16,"mode":"CTR","type":"stream"},"aes-128-gcm":{"cipher":"AES","key":128,"iv":12,"mode":"GCM","type":"auth"},"aes-192-gcm":{"cipher":"AES","key":192,"iv":12,"mode":"GCM","type":"auth"},"aes-256-gcm":{"cipher":"AES","key":256,"iv":12,"mode":"GCM","type":"auth"}}')},5207:ze=>{"use strict";ze.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},1308:ze=>{"use strict";ze.exports=JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}')},9799:ze=>{"use strict";ze.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},8597:ze=>{"use strict";ze.exports={i8:"6.5.4"}},2562:ze=>{"use strict";ze.exports=JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}')}},ze=>{ze(ze.s=7359)}]);