diff --git a/components/app/app.go b/components/app/app.go index e0a19e375..1fb23901a 100644 --- a/components/app/app.go +++ b/components/app/app.go @@ -7,7 +7,6 @@ import ( "github.com/iotaledger/hive.go/app" "github.com/iotaledger/hive.go/app/components/profiling" "github.com/iotaledger/hive.go/app/components/shutdown" - "github.com/iotaledger/iota-core/components/dashboard" dashboardmetrics "github.com/iotaledger/iota-core/components/dashboard_metrics" "github.com/iotaledger/iota-core/components/debugapi" "github.com/iotaledger/iota-core/components/inx" @@ -50,7 +49,6 @@ Command line flags: metricstracker.Component, protocol.Component, dashboardmetrics.Component, - dashboard.Component, prometheus.Component, inx.Component, ), diff --git a/components/dashboard/build.sh b/components/dashboard/build.sh deleted file mode 100755 index c01d623af..000000000 --- a/components/dashboard/build.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash -# -# Builds both the node dashboard and dagvisualizer - -echo "::: Building /plugins/dashboard/frontend :::" -rm -rf /frontend/build - -docker run -it --rm \ - -u $(id -u ${USER}):$(id -g ${USER}) \ - --volume="/etc/group:/etc/group:ro" \ - --volume="/etc/passwd:/etc/passwd:ro" \ - --volume="/etc/shadow:/etc/shadow:ro" \ - -v $(pwd):/tmp/mnt \ - -e YARN_CACHE_FOLDER=/tmp/ \ - -e HOME=/tmp/ \ - -w /tmp/mnt/frontend node:14.0 bash -c "yarn install && yarn build" diff --git a/components/dashboard/component.go b/components/dashboard/component.go deleted file mode 100644 index 3cc127fa5..000000000 --- a/components/dashboard/component.go +++ /dev/null @@ -1,195 +0,0 @@ -package dashboard - -import ( - "context" - "fmt" - "net" - "net/http" - "runtime" - "time" - - "github.com/labstack/echo/v4" - "github.com/labstack/echo/v4/middleware" - "github.com/libp2p/go-libp2p/core/host" - "go.uber.org/dig" - - "github.com/iotaledger/hive.go/app" - "github.com/iotaledger/hive.go/ierrors" - "github.com/iotaledger/iota-core/components/metricstracker" - "github.com/iotaledger/iota-core/pkg/daemon" - "github.com/iotaledger/iota-core/pkg/network" - "github.com/iotaledger/iota-core/pkg/protocol" -) - -func init() { - Component = &app.Component{ - Name: "Dashboard", - DepsFunc: func(cDeps dependencies) { deps = cDeps }, - Params: params, - Configure: configure, - Run: run, - IsEnabled: func(*dig.Container) bool { - return ParamsDashboard.Enabled - }, - } -} - -var NodeStartupTimestamp = time.Now() - -var ( - Component *app.Component - deps dependencies - - server *echo.Echo -) - -type dependencies struct { - dig.In - - Host host.Host - Protocol *protocol.Protocol - AppInfo *app.Info - NetworkManager network.Manager - MetricsTracker *metricstracker.MetricsTracker -} - -func configure() error { - configureServer() - return nil -} - -func run() error { - runWebSocketStreams(Component) - runLiveFeed(Component) - runVisualizer(Component) - runSlotsLiveFeed(Component) - - if err := Component.Daemon().BackgroundWorker("Dashboard", func(ctx context.Context) { - Component.LogInfo("Starting Dashboard ... done") - - stopped := make(chan struct{}) - go func(ctx context.Context) { - server.Server.BaseContext = func(_ net.Listener) context.Context { - // set BaseContext to be the same as the plugin, so that requests being processed don't hang the shutdown procedure - return ctx - } - - Component.LogInfof("%s started, bind-address=%s, basic-auth=%v", Component.Name, ParamsDashboard.BindAddress, ParamsDashboard.BasicAuth.Enabled) - if err := server.Start(ParamsDashboard.BindAddress); err != nil { - if !ierrors.Is(err, http.ErrServerClosed) { - Component.LogErrorf("Error serving: %w", err) - } - close(stopped) - } - }(ctx) - - // stop if we are shutting down or the server could not be started - select { - case <-ctx.Done(): - case <-stopped: - } - - Component.LogInfof("Stopping %s ...", Component.Name) - ctx, cancel := context.WithTimeout(context.Background(), time.Second) - defer cancel() - - if err := server.Shutdown(ctx); err != nil { - Component.LogWarnf("Error stopping: %s", err) - } - - Component.LogInfo("Stopping Dashboard ... done") - }, daemon.PriorityDashboard); err != nil { - Component.LogPanicf("failed to start worker: %s", err) - } - - return nil -} - -func configureServer() { - server = echo.New() - server.Use(middleware.CORSWithConfig(middleware.CORSConfig{ - Skipper: middleware.DefaultSkipper, - AllowOrigins: []string{"*"}, - AllowMethods: []string{http.MethodGet, http.MethodHead, http.MethodPut, http.MethodPatch, http.MethodPost, http.MethodDelete}, - })) - server.HideBanner = true - server.HidePort = true - server.Use(middleware.Recover()) - - if ParamsDashboard.BasicAuth.Enabled { - server.Use(middleware.BasicAuth(func(username, password string, _ echo.Context) (bool, error) { - if username == ParamsDashboard.BasicAuth.Username && - password == ParamsDashboard.BasicAuth.Password { - return true, nil - } - - return false, nil - })) - } - - setupRoutes(server) -} - -func currentNodeStatus() *nodestatus { - var m runtime.MemStats - runtime.ReadMemStats(&m) - status := &nodestatus{} - status.ID = deps.Host.ID().String() - - // node status - status.Version = deps.AppInfo.Version - status.Uptime = time.Since(NodeStartupTimestamp).Milliseconds() - - // memory metrics - status.Mem = &memmetrics{ - HeapSys: m.HeapSys, - HeapAlloc: m.HeapAlloc, - HeapIdle: m.HeapIdle, - HeapReleased: m.HeapReleased, - HeapObjects: m.HeapObjects, - NumGC: m.NumGC, - LastPauseGC: m.PauseNs[(m.NumGC+255)%256], - } - // get TangleTime - cl := deps.Protocol.Engines.Main.Get().Clock - syncStatus := deps.Protocol.Engines.Main.Get().SyncManager.SyncStatus() - - status.TangleTime = tangleTime{ - Synced: syncStatus.NodeSynced, - Bootstrapped: syncStatus.NodeBootstrapped, - AcceptedBlockSlot: int64(syncStatus.LastAcceptedBlockSlot), - ConfirmedBlockSlot: int64(syncStatus.LastConfirmedBlockSlot), - CommittedSlot: int64(syncStatus.LatestCommitment.Slot()), - ConfirmedSlot: int64(syncStatus.LatestFinalizedSlot), - ATT: cl.Accepted().Time().UnixNano(), - RATT: cl.Accepted().RelativeTime().UnixNano(), - CTT: cl.Confirmed().Time().UnixNano(), - RCTT: cl.Confirmed().RelativeTime().UnixNano(), - } - - return status -} - -func neighborMetrics() []neighbormetric { - if deps.NetworkManager == nil { - return []neighbormetric{} - } - - // gossip plugin might be disabled - neighbors := deps.NetworkManager.Neighbors() - if neighbors == nil { - return []neighbormetric{} - } - - stats := make([]neighbormetric, 0, len(neighbors)) - for _, neighbor := range neighbors { - stats = append(stats, neighbormetric{ - ID: neighbor.Peer().ID.String(), - Addresses: fmt.Sprintf("%s", neighbor.Peer().PeerAddresses), - PacketsRead: neighbor.PacketsRead(), - PacketsWritten: neighbor.PacketsWritten(), - }) - } - - return stats -} diff --git a/components/dashboard/explorer_routes.go b/components/dashboard/explorer_routes.go deleted file mode 100644 index 54cd0d540..000000000 --- a/components/dashboard/explorer_routes.go +++ /dev/null @@ -1,271 +0,0 @@ -package dashboard - -import ( - "encoding/json" - "net/http" - - "github.com/labstack/echo/v4" - - "github.com/iotaledger/hive.go/ierrors" - "github.com/iotaledger/hive.go/lo" - "github.com/iotaledger/inx-app/pkg/httpserver" - "github.com/iotaledger/iota-core/pkg/model" - "github.com/iotaledger/iota-core/pkg/protocol/engine/blocks" - iotago "github.com/iotaledger/iota.go/v4" - "github.com/iotaledger/iota.go/v4/api" - "github.com/iotaledger/iota.go/v4/hexutil" -) - -// SearchResult defines the struct of the SearchResult. -type SearchResult struct { - // Block is the *ExplorerBlock. - Block *ExplorerBlock `json:"block"` - // Address is the *ExplorerAddress. - Address *ExplorerAddress `json:"address"` -} - -func setupExplorerRoutes(routeGroup *echo.Group) { - routeGroup.GET("/block/:"+api.ParameterBlockID, func(c echo.Context) (err error) { - blockID, err := httpserver.ParseBlockIDParam(c, api.ParameterBlockID) - if err != nil { - return ierrors.Wrap(err, "failed to parse block ID") - } - - t, err := findBlock(blockID) - if err != nil { - return err - } - - return c.JSON(http.StatusOK, t) - }) - - routeGroup.GET("/transaction/:"+api.ParameterTransactionID, getTransaction) - routeGroup.GET("/transaction/:transactionID/metadata", getTransactionMetadata) - // routeGroup.GET("/transaction/:transactionID/attachments", ledgerstateAPI.GetTransactionAttachments) - routeGroup.GET("/output/:"+api.ParameterOutputID, getOutput) - // routeGroup.GET("/output/:outputID/metadata", ledgerstateAPI.GetOutputMetadata) - // routeGroup.GET("/output/:outputID/consumers", ledgerstateAPI.GetOutputConsumers) - routeGroup.GET("/slot/commitment/:"+api.ParameterCommitmentID, getSlotDetailsByID) - - routeGroup.GET("/search/:search", func(c echo.Context) error { - search := c.Param("search") - result := &SearchResult{} - - blockID, err := iotago.BlockIDFromHexString(search) - if err != nil { - return ierrors.WithMessagef(ErrInvalidParameter, "search ID %s", search) - } - - blk, err := findBlock(blockID) - if err != nil { - return err - } - result.Block = blk - - // addr, err := findAddress(search) - // if err != nil { - // return ierrors.Errorf("can't find address %s: %w", search, err) - // } - // result.Address = addr - - return c.JSON(http.StatusOK, result) - }) -} - -func findBlock(blockID iotago.BlockID) (explorerBlk *ExplorerBlock, err error) { - block, exists := deps.Protocol.Engines.Main.Get().Block(blockID) - if !exists { - return nil, ierrors.Errorf("block %s not found", blockID) - } - - cachedBlock, _ := deps.Protocol.Engines.Main.Get().BlockCache.Block(blockID) - - blockMetadata, err := deps.Protocol.Engines.Main.Get().BlockRetainer.BlockMetadata(blockID) - if err != nil { - return nil, ierrors.Wrapf(err, "failed to get block metadata for block %s", blockID) - } - - return createExplorerBlock(block, cachedBlock, blockMetadata), nil -} - -func createExplorerBlock(block *model.Block, cachedBlock *blocks.Block, blockMetadata *api.BlockMetadataResponse) *ExplorerBlock { - iotaBlk := block.ProtocolBlock() - - sigBytes, err := iotaBlk.Signature.Encode() - if err != nil { - return nil - } - - var payloadJSON []byte - basicBlock, isBasic := block.BasicBlock() - if isBasic { - payloadJSON, err = lo.PanicOnErr(deps.Protocol.APIForVersion(iotaBlk.Header.ProtocolVersion)).JSONEncode(basicBlock.Payload) - if err != nil { - return nil - } - } - - t := &ExplorerBlock{ - ID: block.ID().ToHex(), - NetworkID: iotaBlk.Header.NetworkID, - ProtocolVersion: iotaBlk.Header.ProtocolVersion, - SolidificationTimestamp: 0, - IssuanceTimestamp: iotaBlk.Header.IssuingTime.Unix(), - SequenceNumber: 0, - IssuerID: iotaBlk.Header.IssuerID.ToHex(), - Signature: hexutil.EncodeHex(sigBytes), - StrongParents: iotaBlk.Body.StrongParentIDs().ToHex(), - WeakParents: iotaBlk.Body.WeakParentIDs().ToHex(), - ShallowLikedParents: iotaBlk.Body.ShallowLikeParentIDs().ToHex(), - - PayloadType: func() iotago.PayloadType { - if isBasic && basicBlock.Payload != nil { - return basicBlock.Payload.PayloadType() - } - - return iotago.PayloadType(0) - }(), - Payload: func() json.RawMessage { - if isBasic && basicBlock.Payload != nil && basicBlock.Payload.PayloadType() == iotago.PayloadSignedTransaction { - tx, _ := basicBlock.Payload.(*iotago.SignedTransaction) - txResponse := NewTransaction(tx) - - //nolint:errchkjson - bytes, _ := json.Marshal(txResponse) - - return bytes - } - - return payloadJSON - }(), - TransactionID: func() string { - if isBasic && basicBlock.Payload != nil && basicBlock.Payload.PayloadType() == iotago.PayloadSignedTransaction { - tx, _ := basicBlock.Payload.(*iotago.SignedTransaction) - - return tx.MustID().ToHex() - } - - return "" - }(), - CommitmentID: iotaBlk.Header.SlotCommitmentID.ToHex(), - LatestConfirmedSlot: uint64(iotaBlk.Header.LatestFinalizedSlot), - } - - if cachedBlock != nil { - t.Solid = cachedBlock.IsSolid() - t.Booked = cachedBlock.IsBooked() - t.Acceptance = cachedBlock.IsAccepted() - t.Confirmation = cachedBlock.IsConfirmed() - t.Scheduled = cachedBlock.IsScheduled() - t.ObjectivelyInvalid = cachedBlock.IsInvalid() - t.StrongChildren = lo.Map(cachedBlock.StrongChildren(), func(childBlock *blocks.Block) string { - return childBlock.ID().ToHex() - }) - t.WeakChildren = lo.Map(cachedBlock.WeakChildren(), func(childBlock *blocks.Block) string { - return childBlock.ID().ToHex() - }) - t.LikedInsteadChildren = lo.Map(cachedBlock.ShallowLikeChildren(), func(childBlock *blocks.Block) string { - return childBlock.ID().ToHex() - }) - t.SpendIDs = lo.Map(cachedBlock.SpenderIDs().ToSlice(), func(spendID iotago.TransactionID) string { - return spendID.ToHex() - }) - } else { - switch blockMetadata.BlockState { - case api.BlockStateConfirmed, api.BlockStateFinalized: - t.Solid = true - t.Booked = true - t.Acceptance = true - t.Scheduled = true - t.Confirmation = true - case api.BlockStateDropped, api.BlockStateOrphaned: - t.ObjectivelyInvalid = true - } - } - - return t -} - -func getTransaction(c echo.Context) error { - txID, err := httpserver.ParseTransactionIDParam(c, api.ParameterTransactionID) - if err != nil { - return err - } - - // Get the first output of that transaction (using index 0) - outputID := iotago.OutputID{} - copy(outputID[:], txID[:]) - - output, err := deps.Protocol.Engines.Main.Get().Ledger.Output(outputID) - if err != nil { - return err - } - - block, exists := deps.Protocol.Engines.Main.Get().Block(output.BlockID()) - if !exists { - return ierrors.Errorf("block %s not found", output.BlockID().ToHex()) - } - - iotaTX, isTX := block.SignedTransaction() - if !isTX { - return ierrors.Errorf("block payload of block %s is not a signed transaction", output.BlockID().ToHex()) - } - - return httpserver.JSONResponse(c, http.StatusOK, NewTransaction(iotaTX)) -} - -func getTransactionMetadata(c echo.Context) error { - txID, err := httpserver.ParseTransactionIDParam(c, api.ParameterTransactionID) - if err != nil { - return err - } - - // Get the first output of that transaction (using index 0) - outputID := iotago.OutputID{} - copy(outputID[:], txID[:]) - txMetadata, exists := deps.Protocol.Engines.Main.Get().Ledger.MemPool().TransactionMetadata(txID) - if !exists { - return ierrors.Errorf("transaction metadata for transaction %s not found", txID.ToHex()) - } - - conflicts, _ := deps.Protocol.Engines.Main.Get().Ledger.SpendDAG().ConflictingSpenders(txID) - - return httpserver.JSONResponse(c, http.StatusOK, NewTransactionMetadata(txMetadata, conflicts)) -} - -func getOutput(c echo.Context) error { - outputID, err := httpserver.ParseOutputIDParam(c, api.ParameterOutputID) - if err != nil { - return err - } - - output, err := deps.Protocol.Engines.Main.Get().Ledger.Output(outputID) - if err != nil { - return err - } - - return httpserver.JSONResponse(c, http.StatusOK, NewOutputFromLedgerstateOutput(output)) -} - -func getSlotDetailsByID(c echo.Context) error { - commitmentID, err := httpserver.ParseCommitmentIDParam(c, api.ParameterCommitmentID) - if err != nil { - return err - } - - commitment, err := deps.Protocol.Engines.Main.Get().Storage.Commitments().Load(commitmentID.Slot()) - if err != nil { - return err - } - - if commitment.ID() != commitmentID { - return ierrors.Errorf("commitment in the store for slot %d does not match the given commitmentID (%s != %s)", commitmentID.Slot(), commitment.ID(), commitmentID) - } - - diffs, err := deps.Protocol.Engines.Main.Get().Ledger.SlotDiffs(commitmentID.Slot()) - if err != nil { - return err - } - - return httpserver.JSONResponse(c, http.StatusOK, NewSlotDetails(commitment, diffs)) -} diff --git a/components/dashboard/frontend/.gitignore b/components/dashboard/frontend/.gitignore deleted file mode 100644 index 0bd331b54..000000000 --- a/components/dashboard/frontend/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -.vscode -.DS_STORE -node_modules -.module-cache -*.log* -dist \ No newline at end of file diff --git a/components/dashboard/frontend/.prettierrc b/components/dashboard/frontend/.prettierrc deleted file mode 100644 index f38b57120..000000000 --- a/components/dashboard/frontend/.prettierrc +++ /dev/null @@ -1,8 +0,0 @@ -{ - "arrowParens": "always", - "semi": true, - "useTabs": false, - "tabWidth": 2, - "bracketSpacing": true, - "singleQuote": true -} diff --git a/components/dashboard/frontend/README.md b/components/dashboard/frontend/README.md deleted file mode 100644 index 1f0343ab3..000000000 --- a/components/dashboard/frontend/README.md +++ /dev/null @@ -1,53 +0,0 @@ -# iota-core Dashboard - -Programmed using modern web technologies. - -### Dashboard in dev mode - -There are two ways to launch dashboard in development mode: one using Docker, which doesn't require native installation -of any tools, and the other is running dashboard using natively installed tools. Docker approach has only been tested on -Linux. - -#### Docker - -1. Make sure to set `dashboard.dev` to true, to enable iota-core to serve assets from the webpack-dev-server. -2. Run `scripts/dashboard_dev_docker.sh` script. The script should be run from repository root directory. It will - install all needed npm modules and run a webpack-dev-server instance. The script exposes dashboard on port `9090` by - default, so it might be necessary to change it if port is already in use. -3. Set `dashboard.devDashboardAddress` config to IP of container running dashboard in dev mode. IP can be fetched by - running: `docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' iota-core-dashboard-dev` -4. Run iota-core docker-network. Using default port config, you should now be able to access the dashboard under - http://127.0.0.1:8081 - -The Dashboard is hot-reload enabled. - -#### Without Docker - -1. Make sure to set `dashboard.dev` to true, to enable iota-core to serve assets from the webpack-dev-server. -2. Install all needed npm modules via `yarn install`. -3. Run a webpack-dev-server instance by running `yarn start` within the `frontend` directory. -4. Using default port config, you should now be able to access the dashboard under http://127.0.0.1:8081 - -The Dashboard is hot-reload enabled. - -### Pack your changes - -We are using [pkger](https://github.com/markbates/pkger) to wrap all built frontend files into Go files. - -#### Docker - -Docker will mount all necessary files and directories and will create all resulting files in the iota-core repository -folder. This approach has only been tested on Linux. - -In order to build and package dashboard, run `scripts/pkger_docker.sh` from repository root directory. - -#### Without Docker - -1. [Install `pkger`](https://github.com/markbates/pkger#installation) if not already done. -2. Build Dashboard by running `yarn build` within the `frontend` directory. -3. Run `pkger`. -4. `pkged.go` under root directory of iota-core should have been modified. -5. Done. Now you can build iota-core and your Dashboard changes will be included within the binary. - -Alternatively, all necessary commands are compiled into a script `script/pkger.sh` that builds and packages dashboard -using natively installed tools. \ No newline at end of file diff --git a/components/dashboard/frontend/build/a1e7322de4eb5154c0c3.js b/components/dashboard/frontend/build/a1e7322de4eb5154c0c3.js deleted file mode 100644 index 9d732ea03..000000000 --- a/components/dashboard/frontend/build/a1e7322de4eb5154c0c3.js +++ /dev/null @@ -1 +0,0 @@ -!function(e){function r(r){for(var n,l,p=r[0],a=r[1],f=r[2],c=0,s=[];c=0;o--)(a=e[o])&&(l=(s<3?a(l):s>3?a(t,n,l):a(t,n))||l);return s>3&&l&&Object.defineProperty(t,n,l),l};let h=class extends r.Component{render(){return r.createElement(r.Fragment,null,"Uptime: ",this.props.nodeStore.uptime)}};h=m([Object(s.b)("nodeStore"),s.c],h);var g=h,b=function(e,t,n,r){var a,s=arguments.length,l=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,n,r);else for(var o=e.length-1;o>=0;o--)(a=e[o])&&(l=(s<3?a(l):s>3?a(t,n,l):a(t,n))||l);return s>3&&l&&Object.defineProperty(t,n,l),l};let y=class extends r.Component{render(){return r.createElement(r.Fragment,null,"Version: ",this.props.nodeStore.status.version)}};y=b([Object(s.b)("nodeStore"),s.c],y);var f=y,E=n(14),v=n(29),k={elements:{line:{tension:0}},animation:{duration:0},hover:{animationDuration:0},responsiveAnimationDuration:0},I=function(e,t,n,r){var a,s=arguments.length,l=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,n,r);else for(var o=e.length-1;o>=0;o--)(a=e[o])&&(l=(s<3?a(l):s>3?a(t,n,l):a(t,n))||l);return s>3&&l&&Object.defineProperty(t,n,l),l};const x=Object.assign({scales:{xAxes:[{ticks:{autoSkip:!0,maxTicksLimit:8,fontSize:8,minRotation:0,maxRotation:0},gridLines:{display:!1}}],yAxes:[{gridLines:{display:!1},ticks:{callback:function(e,t,n){return Math.abs(e)},fontSize:10,maxTicksLimit:4,beginAtZero:!0}}]},tooltips:{callbacks:{label:function(e,t){return`${t.datasets[e.datasetIndex].label} ${Math.abs(e.value)}`}}}},k);let S=class extends r.Component{render(){return r.createElement(E.a,null,r.createElement(E.a.Body,null,r.createElement(E.a.Title,null,"Blocks Per Second"),r.createElement("small",null,"BPS: ",this.props.nodeStore.last_mps_metric.mps,"."),r.createElement(v.Line,{height:50,data:this.props.nodeStore.mpsSeries,options:x})))}};S=I([Object(s.b)("nodeStore"),s.c],S);var j=S,O=function(e,t,n,r){var a,s=arguments.length,l=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,n,r);else for(var o=e.length-1;o>=0;o--)(a=e[o])&&(l=(s<3?a(l):s>3?a(t,n,l):a(t,n))||l);return s>3&&l&&Object.defineProperty(t,n,l),l};const w=Object.assign({scales:{xAxes:[{ticks:{autoSkip:!0,maxTicksLimit:8,fontSize:8,minRotation:0,maxRotation:0},gridLines:{display:!1}}],yAxes:[{gridLines:{display:!1},ticks:{callback:function(e,t,n){return Math.abs(e)},fontSize:10,maxTicksLimit:4,beginAtZero:!0}}]},tooltips:{callbacks:{label:function(e,t){return`${t.datasets[e.datasetIndex].label} ${Math.abs(e.value)}`}}}},k);let _=class extends r.Component{render(){return r.createElement(E.a,null,r.createElement(E.a.Body,null,r.createElement(E.a.Title,null,"Current Tips"),r.createElement("small",null,"Tips: ",this.props.nodeStore.last_tips_metric.totaltips,"."),r.createElement(v.Line,{height:50,data:this.props.nodeStore.tipsSeries,options:w})))}};_=O([Object(s.b)("nodeStore"),s.c],_);var R=_,D=n(2),C=n(28),N=function(e,t,n,r){var a,s=arguments.length,l=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,n,r);else for(var o=e.length-1;o>=0;o--)(a=e[o])&&(l=(s<3?a(l):s>3?a(t,n,l):a(t,n))||l);return s>3&&l&&Object.defineProperty(t,n,l),l};const T=Object.assign({scales:{xAxes:[{ticks:{autoSkip:!0,maxTicksLimit:8,fontSize:8,minRotation:0,maxRotation:0},showXLabels:10,gridLines:{display:!1}}],yAxes:[{gridLines:{display:!1},ticks:{callback:function(e,t,n){return C(Math.abs(e))},maxTicksLimit:3,fontSize:10}}]},tooltips:{callbacks:{label:function(e,t){return`${t.datasets[e.datasetIndex].label} ${C(Math.abs(e.value))}`}}}},k);let P=class extends r.Component{render(){let e=this.props.nodeStore.status.mem;return r.createElement(E.a,null,r.createElement(E.a.Body,null,r.createElement(E.a.Title,null,"Memory Usage"," ",C(e.heap_alloc)),r.createElement("small",null,"GC Cycles: ",e.num_gc," (Last Cycle: ",e.last_pause_gc/1e6,"ms) - "," ","Heap: "," ","[Obj: ",e.heap_objects,", In-Use: ",C(e.heap_sys-e.heap_idle),", Retained: ",C(e.heap_idle-e.heap_released),"]"),r.createElement(v.Line,{height:50,data:this.props.nodeStore.memSeries,options:T})))}};P=N([Object(s.b)("nodeStore"),s.c],P);var M=P,L=function(e,t,n,r){var a,s=arguments.length,l=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,n,r);else for(var o=e.length-1;o>=0;o--)(a=e[o])&&(l=(s<3?a(l):s>3?a(t,n,l):a(t,n))||l);return s>3&&l&&Object.defineProperty(t,n,l),l};const A=Object.assign({scales:{xAxes:[{ticks:{autoSkip:!0,maxTicksLimit:8,fontSize:8,minRotation:0,maxRotation:0},gridLines:{display:!1}}],yAxes:[{gridLines:{display:!1},ticks:{callback:function(e,t,n){return Math.abs(e)},fontSize:10,maxTicksLimit:4,beginAtZero:!0}}]},tooltips:{callbacks:{label:function(e,t){return`${t.datasets[e.datasetIndex].label} ${Math.abs(e.value)}`}}}},k);let B=class extends r.Component{render(){return r.createElement(E.a,null,r.createElement(E.a.Body,null,r.createElement(E.a.Title,null,"Component Counter Blocks Per Second"),r.createElement("div",{style:{display:"flex",flexDirection:"column"}},r.createElement("small",null,"BPS: ",this.props.nodeStore.last_component_counter_metric.store,"."),r.createElement("small",null,"Rate Setter - Estimate: ",this.props.nodeStore.last_rate_setter_metric.estimate)),r.createElement(v.Line,{height:50,data:this.props.nodeStore.componentSeries,options:A})))}};B=L([Object(s.b)("nodeStore"),s.c],B);var z=B,H=n(15),F=n(20),Z=function(e,t,n,r){var a,s=arguments.length,l=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,n,r);else for(var o=e.length-1;o>=0;o--)(a=e[o])&&(l=(s<3?a(l):s>3?a(t,n,l):a(t,n))||l);return s>3&&l&&Object.defineProperty(t,n,l),l};let U=class extends r.Component{render(){return r.createElement(E.a,null,r.createElement(E.a.Body,null,r.createElement(E.a.Title,null,"TangleTime Synced: ",this.props.nodeStore.status.tangleTime.synced?"Yes":"No"),r.createElement("small",null,r.createElement("div",null,r.createElement("hr",null),r.createElement("div",{className:"row"},r.createElement("div",{className:"col-12"},"Last Accepted Block: ",r.createElement(H.Link,{to:"/explorer/block/"+this.props.nodeStore.status.tangleTime.acceptedBlockID},this.props.nodeStore.status.tangleTime.acceptedBlockID))),r.createElement("div",{className:"row"},r.createElement("div",{className:"col-12"},"Last Confirmed Block: ",r.createElement(H.Link,{to:"/explorer/block/"+this.props.nodeStore.status.tangleTime.confirmedBlockID},this.props.nodeStore.status.tangleTime.confirmedBlockID))),r.createElement("div",{className:"row"},r.createElement("div",{className:"col-12"},"Last Confirmed Slot:",this.props.nodeStore.status.tangleTime.confirmedSlot)),r.createElement("div",{className:"row"},r.createElement("div",{className:"col-12"},"Last Committed Slot:",this.props.nodeStore.status.tangleTime.committedSlot)),r.createElement("hr",null),r.createElement("div",{className:"row"},r.createElement("div",{className:"col-3"},"Acceptance Time:"),r.createElement("div",{className:"col-3"},F(new Date(this.props.nodeStore.status.tangleTime.ATT/1e6),"dd.mm.yyyy HH:MM:ss")),r.createElement("div",{className:"col-3"},"Confirmation Time:"),r.createElement("div",{className:"col-3"},F(new Date(this.props.nodeStore.status.tangleTime.CTT/1e6),"dd.mm.yyyy HH:MM:ss"))),r.createElement("div",{className:"row"},r.createElement("div",{className:"col-3"},"Relative Acceptance Time:"),r.createElement("div",{className:"col-3"},F(new Date(this.props.nodeStore.status.tangleTime.RATT/1e6),"dd.mm.yyyy HH:MM:ss")),r.createElement("div",{className:"col-3"},"Relative Confirmation Time:"),r.createElement("div",{className:"col-3"},F(new Date(this.props.nodeStore.status.tangleTime.RCTT/1e6),"dd.mm.yyyy HH:MM:ss")))))))}};U=Z([Object(s.b)("nodeStore"),s.c],U);var V=U,W=function(e,t,n,r){var a,s=arguments.length,l=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,n,r);else for(var o=e.length-1;o>=0;o--)(a=e[o])&&(l=(s<3?a(l):s>3?a(t,n,l):a(t,n))||l);return s>3&&l&&Object.defineProperty(t,n,l),l};let J=class extends r.Component{render(){return r.createElement(r.Fragment,null,"Bootstrapped: ",this.props.nodeStore.status.tangleTime.bootstrapped?"Yes":"No")}};J=W([Object(s.b)("nodeStore"),s.c],J);var G=J,q=function(e,t,n,r){var a,s=arguments.length,l=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,n,r);else for(var o=e.length-1;o>=0;o--)(a=e[o])&&(l=(s<3?a(l):s>3?a(t,n,l):a(t,n))||l);return s>3&&l&&Object.defineProperty(t,n,l),l};let X=class extends r.Component{render(){return r.createElement(p.a,null,r.createElement("h3",null,"Dashboard"),r.createElement(d.a,{className:"mb-3"},r.createElement(u.a,null,r.createElement(E.a,null,r.createElement(E.a.Body,null,r.createElement(E.a.Title,null,"Node: ",this.props.nodeStore.status.id),r.createElement(d.a,null,r.createElement(u.a,null,r.createElement(D.a,{variant:"flush"},r.createElement(D.a.Item,null,r.createElement(g,null)))),r.createElement(u.a,null,r.createElement(D.a,{variant:"flush"},r.createElement(D.a.Item,null,r.createElement(G,null)))),r.createElement(u.a,null,r.createElement(D.a,{variant:"flush"},r.createElement(D.a.Item,null,r.createElement(f,null))))))))),r.createElement(d.a,{className:"mb-3"},r.createElement(u.a,null,r.createElement(V,null))),r.createElement(d.a,{className:"mb-3"},r.createElement(u.a,null,r.createElement(j,null))),r.createElement(d.a,{className:"mb-3"},r.createElement(u.a,null,r.createElement(R,null))),r.createElement(d.a,{className:"mb-3"},r.createElement(u.a,null,r.createElement(z,null))),r.createElement(d.a,{className:"mb-3"},r.createElement(u.a,null,r.createElement(M,null))))}};X=q([Object(s.b)("nodeStore"),s.c],X);var Q=n(16),$=n(25),Y=n(23),K=function(e,t,n,r){var a,s=arguments.length,l=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,n,r);else for(var o=e.length-1;o>=0;o--)(a=e[o])&&(l=(s<3?a(l):s>3?a(t,n,l):a(t,n))||l);return s>3&&l&&Object.defineProperty(t,n,l),l};let ee=class extends r.Component{constructor(){super(...arguments),this.updateSearch=e=>{this.props.explorerStore.updateSearch(e.target.value)},this.executeSearch=e=>{"Enter"===e.key&&this.props.explorerStore.searchAny()}}render(){let{search:e,searching:t}=this.props.explorerStore;return r.createElement(r.Fragment,null,r.createElement(d.a,{className:"mb-3"},r.createElement(u.a,null,r.createElement(Y.a,{className:"mb-3"},r.createElement($.a,{placeholder:"Address or Block ID","aria-label":"Address or Block ID","aria-describedby":"basic-addon1",value:e,onChange:this.updateSearch,onKeyUp:this.executeSearch,disabled:t})))))}};ee=K([Object(s.b)("nodeStore"),Object(s.b)("explorerStore"),s.c],ee);var te=n(71),ne=function(e,t,n,r){var a,s=arguments.length,l=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,n,r);else for(var o=e.length-1;o>=0;o--)(a=e[o])&&(l=(s<3?a(l):s>3?a(t,n,l):a(t,n))||l);return s>3&&l&&Object.defineProperty(t,n,l),l};let re=class extends r.Component{render(){let{blksLiveFeed:e}=this.props.explorerStore;return r.createElement(d.a,{className:"mb-3"},r.createElement(u.a,null,r.createElement(E.a,null,r.createElement(E.a.Body,null,r.createElement(E.a.Title,null,"Live Feed"),r.createElement(d.a,{className:"mb-3"},r.createElement(u.a,{xs:12,style:{height:"500px",overflow:"auto"}},r.createElement("h6",null,"Blocks"),r.createElement(te.a,null,r.createElement("thead",null,r.createElement("tr",null,r.createElement("td",null,"Id"),r.createElement("td",null,"Payload Type"))),r.createElement("tbody",null,e))))))))}};re=ne([Object(s.b)("nodeStore"),Object(s.b)("explorerStore"),s.c],re);var ae=function(e,t,n,r){var a,s=arguments.length,l=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,n,r);else for(var o=e.length-1;o>=0;o--)(a=e[o])&&(l=(s<3?a(l):s>3?a(t,n,l):a(t,n))||l);return s>3&&l&&Object.defineProperty(t,n,l),l};let se=class extends r.Component{constructor(){super(...arguments),this.updateSearch=e=>{this.txID=e.target.value},this.executeSearch=e=>{"Enter"===e.key&&this.props.explorerStore.routerStore.push("/explorer/transaction/"+this.txID)}}render(){let{searching:e}=this.props.explorerStore;return r.createElement(r.Fragment,null,r.createElement(d.a,{className:"mb-3"},r.createElement(u.a,null,r.createElement(Y.a,{className:"mb-3"},r.createElement($.a,{placeholder:"Transaction ID","aria-label":"Transaction ID","aria-describedby":"basic-addon1",value:this.txID,onChange:this.updateSearch,onKeyUp:this.executeSearch,disabled:e})))))}};se=ae([Object(s.b)("nodeStore"),Object(s.b)("explorerStore"),s.c],se);var le=function(e,t,n,r){var a,s=arguments.length,l=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,n,r);else for(var o=e.length-1;o>=0;o--)(a=e[o])&&(l=(s<3?a(l):s>3?a(t,n,l):a(t,n))||l);return s>3&&l&&Object.defineProperty(t,n,l),l};let oe=class extends r.Component{constructor(){super(...arguments),this.updateSearch=e=>{this.outputID=e.target.value},this.executeSearch=e=>{"Enter"===e.key&&this.props.explorerStore.routerStore.push("/explorer/output/"+this.outputID)}}render(){let{searching:e}=this.props.explorerStore;return r.createElement(r.Fragment,null,r.createElement(d.a,{className:"mb-3"},r.createElement(u.a,null,r.createElement(Y.a,{className:"mb-3"},r.createElement($.a,{placeholder:"Output ID","aria-label":"Output ID","aria-describedby":"basic-addon1",value:this.outputID,onChange:this.updateSearch,onKeyUp:this.executeSearch,disabled:e})))))}};oe=le([Object(s.b)("nodeStore"),Object(s.b)("explorerStore"),s.c],oe);var ie=function(e,t,n,r){var a,s=arguments.length,l=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,n,r);else for(var o=e.length-1;o>=0;o--)(a=e[o])&&(l=(s<3?a(l):s>3?a(t,n,l):a(t,n))||l);return s>3&&l&&Object.defineProperty(t,n,l),l};let ce=class extends r.Component{render(){return r.createElement(p.a,null,r.createElement("h3",null,"Tangle Explorer"),r.createElement(d.a,{className:"mb-3"},r.createElement(u.a,null,r.createElement("p",null,"Search for addresses, blocks, transactions, outputs and spends."))),r.createElement(d.a,null,r.createElement(u.a,null,r.createElement(ee,null)),r.createElement(u.a,null,r.createElement(se,null))),r.createElement(d.a,null,r.createElement(u.a,null,r.createElement(oe,null))),r.createElement(re,null),r.createElement("small",null,"This explorer implementation is heavily inspired by ",r.createElement("a",{href:"https://thetangle.org"},"thetangle.org"),"."))}};ce=ie([Object(s.b)("nodeStore"),s.c],ce);var pe=n(288),de=function(e,t,n,r){var a,s=arguments.length,l=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,n,r);else for(var o=e.length-1;o>=0;o--)(a=e[o])&&(l=(s<3?a(l):s>3?a(t,n,l):a(t,n))||l);return s>3&&l&&Object.defineProperty(t,n,l),l};let ue=class extends r.Component{constructor(){super(...arguments),this.updateSearch=e=>{this.props.explorerStore.updateSearch(e.target.value)},this.executeSearch=e=>{"Enter"===e.key&&this.props.explorerStore.searchAny()}}render(){let{search:e,searching:t}=this.props.explorerStore;return r.createElement(pe.a,{inline:!0,as:"div"},r.createElement($.a,{type:"text",onChange:this.updateSearch,placeholder:"Search the Tangle...",value:e,className:" mr-sm-2",disabled:t,onKeyUp:this.executeSearch}))}};ue=de([Object(s.b)("nodeStore"),Object(s.b)("explorerStore"),s.c],ue);var me,he=n(17),ge=n(44),be=n(3);!function(e){e[e.Status=0]="Status",e[e.BPSMetrics=1]="BPSMetrics",e[e.Block=2]="Block",e[e.NeighborStats=3]="NeighborStats",e[e.ComponentCounterMetrics=4]="ComponentCounterMetrics",e[e.TipsMetrics=5]="TipsMetrics",e[e.Vertex=6]="Vertex",e[e.TXAccepted=7]="TXAccepted",e[e.TipInfo=8]="TipInfo",e[e.Mana=9]="Mana",e[e.ManaMapOverall=10]="ManaMapOverall",e[e.ManaMapOnline=11]="ManaMapOnline",e[e.BlkManaDashboardAddress=12]="BlkManaDashboardAddress",e[e.RateSetter=13]="RateSetter",e[e.SpendSet=14]="SpendSet",e[e.Spend=15]="Spend",e[e.SlotInfo=16]="SlotInfo"}(me||(me={}));let ye={};function fe(e,t){ye[e]=t}function Ee(e){delete ye[e]}var ve,ke,Ie,xe;!function(e){e[e.TaggedData=0]="TaggedData",e[e.Transaction=1]="Transaction",e[e.Faucet=3]="Faucet"}(ve||(ve={}));class Se{}class je{}function Oe(e){switch(e){case ve.TaggedData:return"TaggedData";case ve.Transaction:return"Transaction";case ve.Faucet:return"Faucet";default:return"Unknown"}}class we extends r.Component{render(){return r.createElement("div",{className:"mb-2",key:this.props.token.id},r.createElement(D.a,null,r.createElement(D.a.Item,null,"ID: ",this.props.token.id),r.createElement(D.a.Item,null,"Amount: ",this.props.token.amount)))}}class _e extends r.Component{render(){return r.createElement("div",{className:"mb-2",key:"unlockCondition"+this.props.unlock.address},r.createElement(D.a,null,r.createElement(D.a.Item,null,"Address Type: ",this.props.unlock.address.type)),r.createElement(D.a,null,r.createElement(D.a.Item,null,"Address: ",this.props.unlock.address.pubKeyHash)))}}class Re extends r.Component{render(){return this.props.unlock.unixTime&&r.createElement("div",{className:"mb-2",key:"unlockCondition"+this.props.unlock.unixTime},r.createElement(D.a,null,r.createElement(D.a.Item,null,"Unix Time: ",this.props.unlock.unixTime)))}}class De extends r.Component{render(){return r.createElement("div",{className:"mb-2",key:"unlockCondition"+this.props.unlock.returnAddress},r.createElement(D.a,null,r.createElement(D.a.Item,null,"Return Address: ",this.props.unlock.returnAddress),r.createElement(D.a.Item,null,"Amount: ",this.props.unlock.amount)))}}class Ce extends r.Component{render(){return r.createElement("div",{className:"mb-2",key:"unlockCondition"+this.props.unlock.returnAddress},r.createElement(D.a,null,r.createElement(D.a.Item,null,"Return Address: ",this.props.unlock.returnAddress),r.createElement(D.a.Item,null,"Unix Time: ",this.props.unlock.unixTime)))}}function Ne(e){switch(e.type){case ke.Address:case ke.StateControllerAddress:case ke.GovernorAddress:return r.createElement(_e,{unlock:e});case ke.StorageDepositReturn:return r.createElement(De,{unlock:e});case ke.Expiration:return r.createElement(Ce,{unlock:e});case ke.Timelock:return r.createElement(Re,{unlock:e})}}!function(e){e[e.Address=0]="Address",e[e.StorageDepositReturn=1]="StorageDepositReturn",e[e.Timelock=2]="Timelock",e[e.Expiration=3]="Expiration",e[e.StateControllerAddress=4]="StateControllerAddress",e[e.GovernorAddress=5]="GovernorAddress",e[e.ImmutableAlias=6]="ImmutableAlias"}(ke||(ke={}));class Te extends r.Component{render(){return r.createElement("div",{className:"mb-2",key:"feature"+this.props.feature.address},r.createElement(D.a,null,r.createElement(D.a.Item,null,"Address: ",this.props.feature.address)))}}class Pe extends r.Component{render(){return r.createElement("div",{className:"mb-2",key:"feature"+this.props.feature.data},r.createElement(D.a,null,r.createElement(D.a.Item,null,"Data: ",this.props.feature.data)))}}class Me extends r.Component{render(){return r.createElement("div",{className:"mb-2",key:"feature"+this.props.feature.tag},r.createElement(D.a,null,r.createElement(D.a.Item,null,"Data: ",this.props.feature.tag)))}}function Le(e){switch(e.type){case Ie.Sender:case Ie.Issuer:return r.createElement(Te,{feature:e.feature});case Ie.Metadata:return r.createElement(Pe,{feature:e.feature});case Ie.Tag:return r.createElement(Me,{feature:e.feature})}}!function(e){e[e.Sender=0]="Sender",e[e.Issuer=1]="Issuer",e[e.Metadata=2]="Metadata",e[e.Tag=3]="Tag"}(Ie||(Ie={}));class Ae extends r.Component{render(){return r.createElement("div",{className:"mb-2",key:this.props.id.hex},r.createElement(D.a,null,r.createElement(D.a.Item,null,"Type: BasicOutput"),r.createElement(D.a.Item,null,"Amount: ",this.props.output.amount),r.createElement(D.a.Item,null,"OutputID: ",r.createElement("a",{href:"/explorer/output/"+this.props.id.hex},this.props.id.hex)),this.props.output.nativeTokens&&this.props.output.nativeTokens.map((e,t)=>r.createElement(we,{token:e})),this.props.output.unlockConditions&&this.props.output.unlockConditions.map((e,t)=>Ne(e)),this.props.output.features&&this.props.output.features.map((e,t)=>Le(e)),r.createElement(D.a.Item,null,"Transaction: ",r.createElement("a",{href:"/explorer/transaction/"+this.props.id.transactionID}," ",this.props.id.transactionID)),r.createElement(D.a.Item,null,"Output Index: ",this.props.id.outputIndex)))}}class Be extends r.Component{render(){return r.createElement("div",{className:"mb-2",key:this.props.id.hex},r.createElement(D.a,{style:{wordBreak:"break-word"}},r.createElement(D.a.Item,null,"Type: AliasOutput"),r.createElement(D.a.Item,null,"Amount: ",this.props.output.amount),r.createElement(D.a.Item,null,"OutputID: ",r.createElement("a",{href:"/explorer/output/"+this.props.id.hex},this.props.id.hex)),r.createElement(D.a.Item,null,"AliasID: ",this.props.output.aliasId),r.createElement(D.a.Item,null,"StateIndex: ",this.props.output.stateIndex),r.createElement(D.a.Item,null,"State Metadata: ",this.props.output.stateMetadata," "),r.createElement(D.a.Item,null,"Foundry Counter: ",this.props.output.foundryCounter),this.props.output.nativeTokens&&this.props.output.nativeTokens.map((e,t)=>r.createElement(we,{token:e})),this.props.output.unlockConditions&&this.props.output.unlockConditions.map((e,t)=>Ne(e)),this.props.output.features&&this.props.output.features.map((e,t)=>Le(e)),r.createElement(D.a.Item,null,"Transaction: ",r.createElement("a",{href:"/explorer/transaction/"+this.props.id.transactionID}," ",this.props.id.transactionID)),r.createElement(D.a.Item,null,"Output Index: ",this.props.id.outputIndex)))}}class ze extends r.Component{render(){return r.createElement("div",{className:"mb-2",key:this.props.id.hex},r.createElement(D.a,null,r.createElement(D.a.Item,null,"Type: FoundryOutput"),r.createElement(D.a.Item,null,"Amount: ",this.props.output.amount),r.createElement(D.a.Item,null,"OutputID: ",r.createElement("a",{href:"/explorer/output/"+this.props.id.hex},this.props.id.hex)),r.createElement(D.a.Item,null,"Serial Number: ",this.props.output.serialNumber),r.createElement(D.a.Item,null,"Token Scheme: ",this.props.output.tokenScheme),this.props.output.nativeTokens&&this.props.output.nativeTokens.map((e,t)=>r.createElement(we,{token:e})),this.props.output.unlockConditions&&this.props.output.unlockConditions.map((e,t)=>Ne(e)),this.props.output.features&&this.props.output.features.map((e,t)=>Le(e)),r.createElement(D.a.Item,null,"Transaction: ",r.createElement("a",{href:"/explorer/transaction/"+this.props.id.transactionID}," ",this.props.id.transactionID)),r.createElement(D.a.Item,null,"Output Index: ",this.props.id.outputIndex)))}}class He extends r.Component{render(){return r.createElement("div",{className:"mb-2",key:this.props.id.hex},r.createElement(D.a,null,r.createElement(D.a.Item,null,"Type: FoundryOutput"),r.createElement(D.a.Item,null,"Amount: ",this.props.output.amount),r.createElement(D.a.Item,null,"OutputID: ",r.createElement("a",{href:"/explorer/output/"+this.props.id.hex},this.props.id.hex)),r.createElement(D.a.Item,null,"NFT ID: ",this.props.output.nftId),this.props.output.nativeTokens&&this.props.output.nativeTokens.map((e,t)=>r.createElement(we,{token:e})),this.props.output.unlockConditions&&this.props.output.unlockConditions.map((e,t)=>Ne(e)),this.props.output.features&&this.props.output.features.map((e,t)=>Le(e)),r.createElement(D.a.Item,null,"Transaction: ",r.createElement("a",{href:"/explorer/transaction/"+this.props.id.transactionID}," ",this.props.id.transactionID)),r.createElement(D.a.Item,null,"Output Index: ",this.props.id.outputIndex)))}}function Fe(e){let t=e.outputID;switch(e.type){case xe.Basic:return r.createElement(Ae,{output:e.output,id:t});case xe.Alias:return r.createElement(Be,{output:e.output,id:t});case xe.Foundry:return r.createElement(ze,{output:e.output,id:t});case xe.NFT:return r.createElement(He,{output:e.output,id:t});default:return}}!function(e){e[e.Treasury=2]="Treasury",e[e.Basic=3]="Basic",e[e.Alias=4]="Alias",e[e.Foundry=5]="Foundry",e[e.NFT=6]="NFT"}(xe||(xe={}));var Ze=function(e,t,n,r){var a,s=arguments.length,l=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,n,r);else for(var o=e.length-1;o>=0;o--)(a=e[o])&&(l=(s<3?a(l):s>3?a(t,n,l):a(t,n))||l);return s>3&&l&&Object.defineProperty(t,n,l),l},Ue=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Ve=function(e,t,n,r){return new(n||(n=Promise))((function(a,s){function l(e){try{i(r.next(e))}catch(e){s(e)}}function o(e){try{i(r.throw(e))}catch(e){s(e)}}function i(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(l,o)}i((r=r.apply(e,t||[])).next())}))};const We="1111111111111111111111111111111111111111111111111111111111111111";class Je{}var Ge;!function(e){e[e.NotFound=1]="NotFound",e[e.BadRequest=2]="BadRequest"}(Ge||(Ge={}));class qe{constructor(e){this.latest_blocks=[],this.blk=null,this.addr=null,this.tx=null,this.txMetadata=null,this.txAttachments=[],this.output=null,this.outputMetadata=null,this.outputConsumers=null,this.pendingMana=null,this.tips=null,this.slotInfo=new Je,this.query_loading=!1,this.query_err=null,this.search="",this.search_result=null,this.searching=!1,this.searchAny=()=>Ve(this,void 0,void 0,(function*(){this.updateSearching(!0);try{let e=yield fetch("/api/search/"+this.search),t=yield e.json();this.updateSearchResult(t)}catch(e){this.updateQueryError(e)}})),this.resetSearch=()=>{this.search_result=null,this.searching=!1},this.updateSearchResult=e=>{this.search_result=e,this.searching=!1;let t=this.search;this.search="",this.search_result.block?this.routerStore.push("/explorer/block/"+t):this.search_result.address?this.routerStore.push("/explorer/address/"+t):this.routerStore.push("/explorer/404/"+t)},this.updateSearch=e=>{this.search=e},this.updateSearching=e=>this.searching=e,this.searchBlock=e=>Ve(this,void 0,void 0,(function*(){this.updateQueryLoading(!0);const t=yield this.fetchJson("get","/api/block/"+e);this.updateBlock(t)})),this.searchAddress=e=>Ve(this,void 0,void 0,(function*(){this.updateQueryLoading(!0);const t=yield this.fetchJson("get","/api/address/"+e);this.updateAddress(t)})),this.getSlotDetails=e=>Ve(this,void 0,void 0,(function*(){yield this.getSlotInfo(e)})),this.getTransaction=e=>Ve(this,void 0,void 0,(function*(){const t=yield this.fetchJson("get","/api/transaction/"+e);for(let e=0;eVe(this,void 0,void 0,(function*(){const t=yield this.fetchJson("get",`/api/transaction/${e}/attachments`);this.txAttachments=t})),this.getTransactionMetadata=e=>Ve(this,void 0,void 0,(function*(){const t=yield this.fetchJson("get",`/api/transaction/${e}/metadata`);this.txMetadata=t})),this.getOutput=e=>Ve(this,void 0,void 0,(function*(){const t=yield this.fetchJson("get","/api/output/"+e);this.output=t})),this.getOutputMetadata=e=>Ve(this,void 0,void 0,(function*(){const t=yield this.fetchJson("get",`/api/output/${e}/metadata`);this.outputMetadata=t})),this.getOutputConsumers=e=>Ve(this,void 0,void 0,(function*(){const t=yield this.fetchJson("get",`/api/output/${e}/consumers`);this.outputConsumers=t})),this.getPendingMana=e=>Ve(this,void 0,void 0,(function*(){const t=yield this.fetchJson("get","/api/mana/pending?OutputID="+e);this.pendingMana=t})),this.getSlotInfo=e=>Ve(this,void 0,void 0,(function*(){const t=yield this.fetchJson("get","/api/slot/commitment/"+e);this.slotInfo=t})),this.getTips=()=>Ve(this,void 0,void 0,(function*(){const e=yield this.fetchJson("get","/api/tips");this.tips=e})),this.reset=()=>{this.blk=null,this.query_err=null,this.tx=null,this.txMetadata=null,this.txAttachments=[],this.output=null,this.outputMetadata=null,this.outputConsumers=null,this.pendingMana=null,this.tips=null,this.slotInfo=new Je},this.updateAddress=e=>{this.addr=e,this.query_err=null,this.query_loading=!1},this.updateBlock=e=>{switch(this.blk=e,this.blk.spendIDs=this.blk.spendIDs?this.blk.spendIDs:[],this.blk.strongChildren=this.blk.strongChildren?this.blk.strongChildren:[],this.blk.weakChildren=this.blk.weakChildren?this.blk.weakChildren:[],this.blk.shallowLikeChildren=this.blk.shallowLikeChildren?this.blk.shallowLikeChildren:[],this.blk.strongParents=this.blk.strongParents?this.blk.strongParents:[],this.blk.weakParents=this.blk.weakParents?this.blk.weakParents:[],this.blk.shallowLikedParents=this.blk.shallowLikedParents?this.blk.shallowLikedParents:[],this.query_err=null,this.query_loading=!1,e.payloadType){case ve.Transaction:case ve.TaggedData:this.payload=e.payload;break;case ve.Faucet:this.payload=e.payload;default:this.payload=e.payload}},this.updateQueryLoading=e=>this.query_loading=e,this.updateQueryError=e=>{this.query_err=e,this.query_loading=!1,this.searching=!1},this.addLiveFeedBlock=e=>{-1===this.latest_blocks.findIndex(t=>t.id==e.id)&&(this.latest_blocks.length>=50&&this.latest_blocks.shift(),this.latest_blocks.push(e))},this.routerStore=e,fe(me.Block,this.addLiveFeedBlock)}get blksLiveFeed(){let e=[];for(let t=this.latest_blocks.length-1;t>=0;t--){let n=this.latest_blocks[t];e.push(r.createElement("tr",{key:n.id},r.createElement("td",null,r.createElement(H.Link,{to:"/explorer/block/"+n.id},n.id)),r.createElement("td",null,Oe(n.payload_type))))}return e}get tipsList(){let e=[];if(this.tips)for(let t=0;t=0;o--)(a=e[o])&&(l=(s<3?a(l):s>3?a(t,n,l):a(t,n))||l);return s>3&&l&&Object.defineProperty(t,n,l),l};let Ye=class extends r.Component{render(){let{payload:e}=this.props.explorerStore;return e&&r.createElement(r.Fragment,null,r.createElement(d.a,{className:"mb-3"},r.createElement(u.a,null,e.content_title,": "," ",e.content)))}};Ye=$e([Object(s.b)("explorerStore"),s.c],Ye);var Ke,et=n(0),tt=n(282);!function(e){e[e.Ed25519=0]="Ed25519",e[e.BLS=1]="BLS"}(Ke||(Ke={}));class nt extends r.Component{render(){let e=this.props.signature;return r.createElement(r.Fragment,null,r.createElement(d.a,{className:"mb-3"},r.createElement(u.a,null,r.createElement(D.a,null,r.createElement(D.a.Item,null,"Public Key: ",e.publicKey),r.createElement(D.a.Item,null,"Signature: ",e.signature)))))}}class rt extends r.Component{renderSignatureComponent(){switch(this.props.block.signatureType){case Ke.Ed25519:return r.createElement(nt,{signature:this.props.block.signature})}}render(){let e=this.props.block;return r.createElement(d.a,{className:"mb-3"},r.createElement(u.a,null,"Index: ",r.createElement(Q.a,{variant:"primary"},this.props.key),r.createElement(D.a,null,r.createElement(D.a.Item,null,"Type: ",e.type),e.signatureType&&r.createElement(D.a.Item,null,"Signature Type: ",function(e){switch(e){case Ke.Ed25519:return"Ed25519 Signature";case Ke.BLS:return"BLS Signature";default:return"Unknown Signature Type"}}(e.signatureType)),this.renderSignatureComponent())))}}const at={maxHeight:"1000px",overflow:"auto",width:"47%",fontSize:"85%"};class st extends r.Component{render(){let e=this.props.txID,t=this.props.tx;return t&&e&&r.createElement("div",null,r.createElement("h4",null,"Transaction"),r.createElement("p",null," ",e," "),r.createElement(d.a,{className:"mb-3"},r.createElement(u.a,null,r.createElement("div",{style:{marginTop:"10px",marginBottom:"20px",paddingBottom:"10px",borderBottom:"2px solid #eee"}},r.createElement("h5",null,"Transaction Essence")),r.createElement(D.a,null,r.createElement(D.a.Item,null,"ID: ",r.createElement("a",{href:"/explorer/transaction/"+e}," ",e)),r.createElement(D.a.Item,null,"Network ID: ",t.networkId),r.createElement(D.a.Item,null,"Creation Time: ",t.creationSlot),r.createElement(D.a.Item,null,r.createElement("div",{className:"d-flex justify-content-between align-items-center"},r.createElement("div",{className:"align-self-start input-output-list",style:at},r.createElement("span",null,"Inputs"),r.createElement("hr",null),t.inputs.map((e,t)=>r.createElement("div",{className:"mb-2",key:t},r.createElement("span",{className:"mb-2"},"Index: ",r.createElement(Q.a,{variant:"primary"},t)),r.createElement("div",{className:"mb-2",key:"input"+t},r.createElement(D.a,null,r.createElement(D.a.Item,null,"Output ID: ",e.referencedOutputID.hex)))))),r.createElement(et.b.Provider,{value:{color:"#00a0ff",size:"2em"}},r.createElement("div",null,r.createElement(tt.a,null))),r.createElement("div",{style:at},r.createElement("span",null,"Outputs"),r.createElement("hr",null),t.outputs.map((e,t)=>r.createElement("div",{className:"mb-2",key:t},r.createElement("span",{className:"mb-2"},"Index: ",r.createElement(Q.a,{variant:"primary"},t)),Fe(e)))))),t.payload&&r.createElement(D.a.Item,null,"Data payload: ",t.payload)))),r.createElement(d.a,{className:"mb-3"},r.createElement(u.a,null,r.createElement("div",{style:{marginBottom:"20px",paddingBottom:"10px",borderBottom:"2px solid #eee"}},r.createElement("h5",null,"Unlock Blocks")),r.createElement(r.Fragment,null,t.unlocks.map((e,t)=>r.createElement(rt,{block:e,key:t}))))))}}var lt=function(e,t,n,r){var a,s=arguments.length,l=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,n,r);else for(var o=e.length-1;o>=0;o--)(a=e[o])&&(l=(s<3?a(l):s>3?a(t,n,l):a(t,n))||l);return s>3&&l&&Object.defineProperty(t,n,l),l};let ot=class extends r.Component{render(){let{payload:e,blk:t}=this.props.explorerStore,n=t.txId,a=e;return r.createElement(p.a,null,r.createElement(st,{txID:n,tx:a}))}};ot=lt([Object(s.b)("explorerStore"),s.c],ot);var it=function(e,t,n,r){var a,s=arguments.length,l=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,n,r);else for(var o=e.length-1;o>=0;o--)(a=e[o])&&(l=(s<3?a(l):s>3?a(t,n,l):a(t,n))||l);return s>3&&l&&Object.defineProperty(t,n,l),l};let ct=class extends r.Component{render(){let{payload:e}=this.props.explorerStore;return e&&r.createElement(r.Fragment,null,r.createElement(d.a,{className:"mb-3"},r.createElement(u.a,null,r.createElement(D.a,null,r.createElement(D.a.Item,null,"Address: ",e.address),r.createElement(D.a.Item,null,"Access Mana Pledge ID: ",e.accessManaPledgeID),r.createElement(D.a.Item,null,"Consensus Mana Pledge ID: ",e.consensusManaPledgeID),r.createElement(D.a.Item,null,"Nonce: ",e.nonce)))))}};ct=it([Object(s.b)("explorerStore"),s.c],ct);var pt=function(e,t,n,r){var a,s=arguments.length,l=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,n,r);else for(var o=e.length-1;o>=0;o--)(a=e[o])&&(l=(s<3?a(l):s>3?a(t,n,l):a(t,n))||l);return s>3&&l&&Object.defineProperty(t,n,l),l};let dt=class extends r.Component{render(){let{payload:e}=this.props.explorerStore;return e&&r.createElement(r.Fragment,null,r.createElement(d.a,{className:"mb-3"},r.createElement(u.a,null,r.createElement(D.a,null,r.createElement(D.a.Item,null,"Tag: ",e.tag),r.createElement(D.a.Item,null,"Data: ",e.data)))))}};dt=pt([Object(s.b)("explorerStore"),s.c],dt);var ut=function(e,t,n,r){var a,s=arguments.length,l=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,n,r);else for(var o=e.length-1;o>=0;o--)(a=e[o])&&(l=(s<3?a(l):s>3?a(t,n,l):a(t,n))||l);return s>3&&l&&Object.defineProperty(t,n,l),l};let mt=class extends r.Component{componentDidMount(){this.props.explorerStore.resetSearch(),this.props.explorerStore.searchBlock(this.props.match.params.id)}componentWillUnmount(){this.props.explorerStore.reset()}getSnapshotBeforeUpdate(e,t){return e.match.params.id!==this.props.match.params.id&&this.props.explorerStore.searchBlock(this.props.match.params.id),null}getPayloadType(){return Oe(this.props.explorerStore.blk.payloadType)}renderPayload(){switch(this.props.explorerStore.blk.payloadType){case ve.Transaction:return this.props.explorerStore.blk.objectivelyInvalid?r.createElement(Ye,null):r.createElement(ot,null);case ve.TaggedData:return r.createElement(dt,null);case ve.Faucet:return r.createElement(ct,null);default:return r.createElement(Ye,null)}}render(){let{id:e}=this.props.match.params,{blk:t,query_loading:n,query_err:a}=this.props.explorerStore;return e===We?r.createElement(p.a,null,r.createElement("h3",null,"Genesis Block"),r.createElement("p",null,"In the beginning there was the genesis.")):a?r.createElement(p.a,null,r.createElement("h3",null,"Block not available - 404"),r.createElement("p",null,"Block with ID ",e," not found.")):r.createElement(p.a,null,r.createElement("h3",null,"Block"),r.createElement("p",null,e," "," ",t&&r.createElement(r.Fragment,null,r.createElement("br",null),r.createElement("span",null,r.createElement(Q.a,{variant:"light",style:{marginRight:10}},"Issuance Time: ",F(new Date(1e3*t.issuanceTimestamp),"dd.mm.yyyy HH:MM:ss")),r.createElement(Q.a,{variant:"light"},"Solidification Time: ",F(new Date(1e3*t.solidificationTimestamp),"dd.mm.yyyy HH:MM:ss"))))),t&&r.createElement(r.Fragment,null,r.createElement(d.a,{className:"mb-3"},r.createElement(u.a,null,r.createElement(D.a,null,r.createElement(D.a.Item,null,"Payload Type: ",this.getPayloadType()),r.createElement(D.a.Item,null,"Sequence Number: ",t.sequenceNumber),r.createElement(D.a.Item,null,"SpendIDs:",r.createElement(D.a,null,t.spendIDs.map((e,t)=>r.createElement(D.a.Item,{key:"SpendID"+t+1,className:"text-break"},e)))),r.createElement(D.a.Item,null,"Solid: ",t.solid?"Yes":"No"),r.createElement(D.a.Item,null,"Scheduled: ",t.scheduled?"Yes":"No"),r.createElement(D.a.Item,null,"Booked: ",t.booked?"Yes":"No"),r.createElement(D.a.Item,null,"Orphaned: ",t.orphaned?"Yes":"No"),r.createElement(D.a.Item,null,"Objectively Invalid: ",t.objectivelyInvalid?"Yes":"No"),r.createElement(D.a.Item,null,"Subjectively Invalid: ",t.subjectivelyInvalid?"Yes":"No"),r.createElement(D.a.Item,null,"Acceptance: ",t.acceptance?"Yes":"No"),r.createElement(D.a.Item,null,"Acceptance Time: ",F(new Date(1e3*t.acceptanceTime),"dd.mm.yyyy HH:MM:ss")),r.createElement(D.a.Item,null,"Confirmation: ",t.confirmation?"Yes":"No"),r.createElement(D.a.Item,null,"Confirmation Time: ",F(new Date(1e3*t.confirmationTime),"dd.mm.yyyy HH:MM:ss")),r.createElement(D.a.Item,null,"Confirmation by slot: ",t.confirmationBySlot?"Yes":"No"),r.createElement(D.a.Item,null,"Confirmation by slot time: ",F(new Date(1e3*t.confirmationBySlotTime),"dd.mm.yyyy HH:MM:ss"))))),r.createElement(d.a,{className:"mb-3"},r.createElement(u.a,null,r.createElement("h5",null,"Slot Commitment"),r.createElement(D.a,null,r.createElement(D.a.Item,null,"CommitmentID: ",t.commitmentID),r.createElement(D.a.Item,null,r.createElement(D.a,null,r.createElement(D.a.Item,null,"Index: ",t.commitment.index),r.createElement(D.a.Item,null,"prevID: ",t.commitment.prevID),r.createElement(D.a.Item,null,"rootsID: ",t.commitment.rootsID),r.createElement(D.a.Item,null,"Cumulative Weight: ",t.commitment.cumulativeWeight))),r.createElement(D.a.Item,null,"LatestConfirmedSlot: ",t.latestConfirmedSlot)))),!!t.rank&&r.createElement(d.a,{className:"mb-3"},r.createElement(u.a,null,r.createElement("h5",null,"Markers"),r.createElement(D.a,null,r.createElement(D.a.Item,null,"Rank: ",t.rank),r.createElement(D.a.Item,null,"SequenceID: ",t.sequenceID),r.createElement(D.a.Item,null,"PastMarkerGap: ",t.pastMarkerGap),r.createElement(D.a.Item,null,"IsPastMarker: ",t.isPastMarker?"Yes":"No"),r.createElement(D.a.Item,null,"Past markers: ",t.pastMarkers)))),r.createElement(d.a,{className:"mb-3"},r.createElement(u.a,null,r.createElement(D.a,null,r.createElement(D.a.Item,null,"IssuerID: ",t.issuerID),r.createElement(D.a.Item,{style:{overflow:"auto"}},"Block Signature: ",t.signature)))),r.createElement(d.a,null,r.createElement(u.a,null,r.createElement(D.a,null,t.strongParents.map((e,n)=>r.createElement(D.a.Item,{key:"Strong Parent"+n+1,className:"text-break"},"Strong Parents ",n+1,": "," ",r.createElement(H.Link,{to:"/explorer/block/"+t.strongParents[n]},t.strongParents[n])))))),r.createElement(d.a,null,r.createElement(u.a,null,r.createElement(D.a,null,t.weakParents.map((e,n)=>r.createElement(D.a.Item,{key:"Weak Parent"+n+1,className:"text-break"},"Weak Parents ",n+1,": "," ",r.createElement(H.Link,{to:"/explorer/block/"+t.weakParents[n]},t.weakParents[n])))))),r.createElement(d.a,null,r.createElement(u.a,null,r.createElement(D.a,null,t.shallowLikedParents.map((e,n)=>r.createElement(D.a.Item,{key:"Shallow Liked Parent"+n+1,className:"text-break"},"Shallow Liked Parents ",n+1,": "," ",r.createElement(H.Link,{to:"/explorer/block/"+t.shallowLikedParents[n]},t.shallowLikedParents[n])))))),r.createElement(d.a,null,r.createElement(u.a,null,r.createElement(D.a,null,t.strongChildren.map((e,n)=>r.createElement(D.a.Item,{key:"Strong Child"+n+1,className:"text-break"},"Strong Child ",n+1,": "," ",r.createElement(H.Link,{to:"/explorer/block/"+t.strongChildren[n]},t.strongChildren[n])))))),r.createElement(d.a,null,r.createElement(u.a,null,r.createElement(D.a,null,t.weakChildren.map((e,n)=>r.createElement(D.a.Item,{key:"Weak Child"+n+1,className:"text-break"},"Weak Child ",n+1,": "," ",r.createElement(H.Link,{to:"/explorer/block/"+t.weakChildren[n]},t.weakChildren[n])))))),r.createElement(d.a,null,r.createElement(u.a,null,r.createElement(D.a,null,t.shallowLikeChildren.map((e,n)=>r.createElement(D.a.Item,{key:"ShallowLike Child"+n+1,className:"text-break"},"ShallowLike Child ",n+1,": "," ",r.createElement(H.Link,{to:"/explorer/block/"+t.shallowLikeChildren[n]},t.shallowLikeChildren[n])))))),r.createElement(d.a,{className:"mb-3",style:{marginTop:"20px",marginBottom:"20px"}},r.createElement(u.a,null,r.createElement("h3",null,"Payload"))),r.createElement(d.a,{className:"mb-3"},r.createElement(u.a,null,this.renderPayload()))),r.createElement(d.a,{className:"mb-3"},r.createElement(u.a,null,n&&r.createElement(Qe.a,{animation:"border"}))))}};mt=ut([Object(s.b)("nodeStore"),Object(s.b)("explorerStore"),s.c],mt);var ht=n(289);function gt(e){let t="",n=Math.round(e);return t=n<1e3?n.toString(10)+" m":n<1e6?(n/1e3).toFixed(3)+" Km":n<1e9?(n/1e6).toFixed(3)+" Mm":n<1e12?(n/1e9).toFixed(3)+" Gm":n<1e15?(n/1e12).toFixed(3)+" Tm":(n/1e15).toFixed(3)+" Pm",t}var bt=n(281),yt=n(99),ft=function(e,t,n,r){var a,s=arguments.length,l=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,n,r);else for(var o=e.length-1;o>=0;o--)(a=e[o])&&(l=(s<3?a(l):s>3?a(t,n,l):a(t,n))||l);return s>3&&l&&Object.defineProperty(t,n,l),l};let Et=class extends r.Component{componentDidMount(){this.props.explorerStore.resetSearch(),this.props.explorerStore.searchAddress(this.props.match.params.id)}getSnapshotBeforeUpdate(e,t){return e.match.params.id!==this.props.match.params.id&&this.props.explorerStore.searchAddress(this.props.match.params.id),null}render(){let{id:e}=this.props.match.params,{addr:t,query_loading:n,query_err:a}=this.props.explorerStore,s=[],l=[],o=[];if(a)return r.createElement(p.a,null,r.createElement("h3",null,"Address not available - 404"),r.createElement("p",null,"Address ",e," not found."));if(t){t.explorerOutputs.forEach(e=>{e.metadata.consumerCount>0?s.push(e):l.push(e)});let e=(e,t)=>t.txTimestamp===e.txTimestamp?t.id.transactionID==e.id.transactionID?t.id.outputIndex-e.id.outputIndex:t.id.transactionID.localeCompare(e.id.transactionID):t.txTimestamp-e.txTimestamp;l.sort(e),s.sort(e)}return r.createElement(p.a,null,r.createElement("h3",{style:{marginBottom:"40px"}},"Address ",r.createElement("strong",null,e)," ",null!==t&&r.createElement("span",null,"(",t.explorerOutputs.length," Outputs)")),null!==t?r.createElement(r.Fragment,null,null!==t.explorerOutputs&&100===t.explorerOutputs.length&&r.createElement(ht.a,{variant:"warning"},"Max. 100 outputs are shown."),r.createElement(d.a,{className:"mb-3"},r.createElement(u.a,{xs:7},r.createElement(D.a,null,r.createElement("h4",null,"Available Balances"),0===o.length?"There are no balances currently available.":r.createElement("div",null,r.createElement(bt.a,{style:{textAlign:"center"},key:"header"},r.createElement(d.a,null,r.createElement(u.a,{xs:9},r.createElement("strong",null,"Color")),r.createElement(u.a,null,r.createElement("strong",null,"Balance")))),o)))),r.createElement(d.a,{className:"mb-3"},r.createElement(u.a,null,r.createElement(D.a,{variant:"flush"},r.createElement("h4",null,"Unspent Outputs"),0===l.length?"There are no unspent outputs currently available.":r.createElement("div",null,l.map(e=>r.createElement(vt,{output:e})))))),r.createElement(d.a,{className:"mb-3"},r.createElement(u.a,null,r.createElement(D.a,{variant:"flush"},r.createElement("h4",null,"Spent Outputs"),0===s.length?"There are no spent outputs currently available.":r.createElement("div",null,s.map(e=>r.createElement(vt,{output:e}))))))):r.createElement(d.a,{className:"mb-3"},r.createElement(u.a,null,n&&r.createElement(Qe.a,{animation:"border"}))))}};Et=ft([Object(s.b)("nodeStore"),Object(s.b)("explorerStore"),s.c],Et);class vt extends r.Component{constructor(e){super(e),this.state={enabled:!1}}render(){return r.createElement(D.a.Item,null,r.createElement(yt.a,{variant:It(this.props.output.output.type),onClick:()=>{this.setState({enabled:!this.state.enabled})},block:!0},r.createElement(d.a,null,r.createElement(u.a,{xs:6,style:{textAlign:"left"}},this.props.output.id.base58," "),r.createElement(u.a,{style:{textAlign:"left"}},function(e){switch(e){case xe.Basic:return"Basic Output";case xe.Alias:return"Alias Output";case xe.Foundry:return"Foundry Output";case xe.NFT:return"NFT Output";default:return}}(this.props.output.output.type)," "),r.createElement(u.a,{style:{textAlign:"left"}},new Date(1e3*this.props.output.txTimestamp).toLocaleString()))),r.createElement(d.a,{style:{fontSize:"90%"}},r.createElement(u.a,null,this.state.enabled?Fe(this.props.output.output):null),r.createElement(u.a,null,this.state.enabled?r.createElement(kt,{metadata:this.props.output.metadata,timestamp:this.props.output.txTimestamp,pendingMana:this.props.output.pendingMana}):null)))}}class kt extends r.Component{render(){let e=this.props.metadata,t=this.props.timestamp,n=this.props.pendingMana;return r.createElement(D.a,null,"SpendIDs:",r.createElement(D.a,null,e.spendIDs.map((e,t)=>r.createElement(D.a.Item,{key:"SpendID"+t+1,className:"text-break"},e))),r.createElement(D.a.Item,null,"Pending mana: ",gt(n)),r.createElement(D.a.Item,null,"Timestamp: ",new Date(1e3*t).toLocaleString()),r.createElement(D.a.Item,null,"Consumer Count: ",e.consumerCount),e.confirmedConsumer&&r.createElement(D.a.Item,null,"Confirmed Consumer: ",r.createElement("a",{href:"/explorer/transaction/"+e.confirmedConsumer},e.confirmedConsumer)," "))}}let It=e=>{switch(e){case xe.Basic:case xe.Alias:return"light";case xe.Foundry:return"success";case xe.NFT:return"info";default:return"danger"}};var xt=function(e,t,n,r){var a,s=arguments.length,l=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,n,r);else for(var o=e.length-1;o>=0;o--)(a=e[o])&&(l=(s<3?a(l):s>3?a(t,n,l):a(t,n))||l);return s>3&&l&&Object.defineProperty(t,n,l),l};let St=class extends r.Component{render(){let{search:e}=this.props.match.params;return r.createElement(p.a,null,r.createElement("h3",null,"Tangle Explorer 404"),r.createElement("p",null,"The search via '",e,"' did not yield any results."))}};St=xt([Object(s.b)("nodeStore"),Object(s.b)("explorerStore"),s.c],St);var jt=function(e,t,n,r){var a,s=arguments.length,l=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,n,r);else for(var o=e.length-1;o>=0;o--)(a=e[o])&&(l=(s<3?a(l):s>3?a(t,n,l):a(t,n))||l);return s>3&&l&&Object.defineProperty(t,n,l),l};const Ot=Object.assign({scales:{xAxes:[{ticks:{autoSkip:!0,maxTicksLimit:8,fontSize:8,minRotation:0,maxRotation:0},showXLabels:10,gridLines:{display:!1}}],yAxes:[{gridLines:{display:!1},ticks:{callback:function(e,t,n){return C(Math.abs(e))},maxTicksLimit:3,fontSize:10}}]},tooltips:{callbacks:{label:function(e,t){return`${t.datasets[e.datasetIndex].label} ${C(Math.abs(e.value))}`}}}},k);let wt=class extends r.Component{render(){let e=this.props.nodeStore.neighbor_metrics.get(this.props.identity),t=e.current;return r.createElement(d.a,{className:"mb-3"},r.createElement(u.a,null,r.createElement(E.a,null,r.createElement(E.a.Body,null,r.createElement(E.a.Title,null,r.createElement("h5",null,t.id)),r.createElement(d.a,{className:"mb-3"},r.createElement(u.a,null,r.createElement(D.a,{variant:"flush",as:"small"},r.createElement(D.a.Item,null,"Origin:"," ",t.connection_origin))),r.createElement(u.a,null,r.createElement(D.a,{variant:"flush",as:"small"},r.createElement(D.a.Item,null,"Address: ",t.address)))),r.createElement(d.a,{className:"mb-3"},r.createElement(u.a,null,r.createElement("h6",null,"Network (Tx/Rx)"),r.createElement(Q.a,{pill:!0,variant:"light"},"Total: ",t.packets_written," / ",t.packets_read)," ",r.createElement(Q.a,{pill:!0,variant:"light"},"Current: ",C(e.currentNetIO&&e.currentNetIO.tx)," / ",C(e.currentNetIO&&e.currentNetIO.rx)),r.createElement(v.Line,{height:30,data:e.netIOSeries,options:Ot})))))))}};wt=jt([Object(s.b)("nodeStore"),s.c],wt);var _t=function(e,t,n,r){var a,s=arguments.length,l=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,n,r);else for(var o=e.length-1;o>=0;o--)(a=e[o])&&(l=(s<3?a(l):s>3?a(t,n,l):a(t,n))||l);return s>3&&l&&Object.defineProperty(t,n,l),l};let Rt=class extends r.Component{render(){let e=[];return this.props.nodeStore.neighbor_metrics.forEach((t,n)=>{e.push(r.createElement(wt,{key:n,identity:n}))}),r.createElement(p.a,null,r.createElement("h3",null,"Neighbors ",e.length>0&&r.createElement("span",null,"(",e.length,")")),r.createElement("p",null,"Currently connected neighbors."),e)}};Rt=_t([Object(s.b)("nodeStore"),s.c],Rt);var Dt=n(57),Ct=n(103),Nt=function(e,t,n,r){var a,s=arguments.length,l=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,n,r);else for(var o=e.length-1;o>=0;o--)(a=e[o])&&(l=(s<3?a(l):s>3?a(t,n,l):a(t,n))||l);return s>3&&l&&Object.defineProperty(t,n,l),l};let Tt=class extends r.Component{constructor(){super(...arguments),this.updateVerticesLimit=e=>{this.props.visualizerStore.updateVerticesLimit(e.target.value)},this.pauseResumeVisualizer=e=>{this.props.visualizerStore.pauseResume()},this.updateSearch=e=>{this.props.visualizerStore.updateSearch(e.target.value)},this.searchAndHighlight=e=>{"Enter"===e.key&&this.props.visualizerStore.searchAndHighlight()},this.toggleBackgroundDataCollection=()=>{this.props.nodeStore.collecting?this.props.nodeStore.unregisterHandlers():this.props.nodeStore.registerHandlers()}}componentDidMount(){this.props.visualizerStore.start()}componentWillUnmount(){this.props.visualizerStore.stop(),this.props.nodeStore.registerHandlers()}render(){let{vertices:e,finalized_count:t,selected:n,verticesLimit:a,tips_count:s,paused:l,search:o}=this.props.visualizerStore,{last_mps_metric:i,collecting:c}=this.props.nodeStore;return r.createElement(p.a,null,r.createElement("h3",null,"Visualizer"),r.createElement(d.a,{className:"mb-1"},r.createElement(u.a,{xs:5},r.createElement(Y.a,{className:"mb-1",size:"sm"},r.createElement(Y.a.Prepend,null,r.createElement(Y.a.Text,{id:"vertices-limit"},"Vertices Limit")),r.createElement($.a,{placeholder:"limit",type:"number",value:a.toString(),onChange:this.updateVerticesLimit,"aria-label":"vertices-limit","aria-describedby":"vertices-limit"})),r.createElement(Y.a,{className:"mb-1",size:"sm"},r.createElement(Y.a.Prepend,null,r.createElement(Y.a.Text,{id:"vertices-limit"},"Search Vertex")),r.createElement($.a,{placeholder:"search",type:"text",value:o,onChange:this.updateSearch,"aria-label":"vertices-search",onKeyUp:this.searchAndHighlight,"aria-describedby":"vertices-search"})),r.createElement(Y.a,{className:"mb-1",size:"sm"},r.createElement(Ct.a,{trigger:["hover","focus"],placement:"right",overlay:r.createElement(Dt.a,{id:"popover-basic"},r.createElement(Dt.a.Content,null,"Ensures that only data needed for the visualizer is collected."))},r.createElement(yt.a,{variant:"outline-secondary",onClick:this.toggleBackgroundDataCollection,size:"sm"},c?"Stop Background Data Collection":"Collect Background data")),r.createElement("br",null)),r.createElement(Y.a,{className:"mb-1",size:"sm"},r.createElement(Ct.a,{trigger:["hover","focus"],placement:"right",overlay:r.createElement(Dt.a,{id:"popover-basic"},r.createElement(Dt.a.Content,null,"Pauses/resumes rendering the graph."))},r.createElement(yt.a,{onClick:this.pauseResumeVisualizer,size:"sm",variant:"outline-secondary"},l?"Resume Rendering":"Pause Rendering")))),r.createElement(u.a,{xs:{span:5,offset:2}},r.createElement("p",null,r.createElement(Q.a,{pill:!0,style:{background:"#b9b7bd",color:"white"}},"BLK Pending")," ",r.createElement(Q.a,{pill:!0,style:{background:"#6c71c4",color:"white"}},"BLK Confirmed")," ",r.createElement(Q.a,{pill:!0,style:{background:"#393e46",color:"white"}},"TX Pending")," ",r.createElement(Q.a,{pill:!0,style:{background:"#fad02c",color:"white"}},"TX Confirmed")," ",r.createElement(Q.a,{pill:!0,style:{background:"#cb4b16",color:"white"}},"Tip")," ",r.createElement(Q.a,{pill:!0,style:{background:"#b58900",color:"white"}},"Unknown"),r.createElement("br",null),"Vertices: ",e.size,", Tips: ",s,", Confirmed/UnConfirmed: ",t,"/",e.size-t,","," ","BPS: ",i.mps,r.createElement("br",null),"Selected: ",n?r.createElement(H.Link,{to:"/explorer/block/"+n.id},n.id.substr(0,10)):"-",r.createElement("br",null),n?n.strongParents&&r.createElement("span",null," Strong:"," ",n.strongParents.map(e=>r.createElement(H.Link,{to:"/explorer/block/"+e},e.substr(0,10)+" "))):"",r.createElement("br",null),n?n.weakParents&&r.createElement("span",null," Weak:"," ",n.weakParents.map(e=>r.createElement(H.Link,{to:"/explorer/block/"+e},e.substr(0,10)+" "))):"",r.createElement("br",null),n?n.shallowLikedParents&&r.createElement("span",null," Shallow Liked:"," ",n.shallowLikedParents.map(e=>r.createElement(H.Link,{to:"/explorer/block/"+e},e.substr(0,10)+" "))):""))),r.createElement("div",{className:"visualizer",style:{zIndex:-1,position:"absolute",top:0,left:0,width:"100%",height:"100%",background:"#ededed"},id:"visualizer"}))}};Tt=Nt([Object(s.b)("visualizerStore"),Object(s.b)("nodeStore"),s.c],Tt);var Pt=function(e,t,n,r){var a,s=arguments.length,l=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,n,r);else for(var o=e.length-1;o>=0;o--)(a=e[o])&&(l=(s<3?a(l):s>3?a(t,n,l):a(t,n))||l);return s>3&&l&&Object.defineProperty(t,n,l),l};let Mt=class extends r.Component{componentDidMount(){this.props.explorerStore.getTips()}componentWillUnmount(){this.props.explorerStore.reset()}render(){let{tipsList:e}=this.props.explorerStore;return r.createElement(p.a,null,r.createElement("h3",null,"Tips"),r.createElement(te.a,{bordered:!0},r.createElement("thead",null,r.createElement("tr",null,r.createElement("th",null,"BlockID"))),r.createElement("tbody",null,e)))}};Mt=Pt([Object(s.b)("nodeStore"),Object(s.b)("explorerStore"),s.c],Mt);var Lt=function(e,t,n,r){var a,s=arguments.length,l=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,n,r);else for(var o=e.length-1;o>=0;o--)(a=e[o])&&(l=(s<3?a(l):s>3?a(t,n,l):a(t,n))||l);return s>3&&l&&Object.defineProperty(t,n,l),l};let At=class extends r.Component{componentDidMount(){this.props.explorerStore.getTransaction(this.props.txId)}componentWillUnmount(){this.props.explorerStore.reset()}render(){let{txId:e}=this.props,{query_err:t,tx:n}=this.props.explorerStore;return t?r.createElement(p.a,null,r.createElement("h4",null,"Transaction not available - 404"),r.createElement("p",null,"Transaction with ID ",e," not found.")):r.createElement(st,{txID:e,tx:n})}};At=Lt([Object(s.b)("nodeStore"),Object(s.b)("explorerStore"),s.c],At);var Bt=function(e,t,n,r){var a,s=arguments.length,l=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,n,r);else for(var o=e.length-1;o>=0;o--)(a=e[o])&&(l=(s<3?a(l):s>3?a(t,n,l):a(t,n))||l);return s>3&&l&&Object.defineProperty(t,n,l),l};let zt=class extends r.Component{componentDidMount(){this.props.explorerStore.getTransactionMetadata(this.props.txId)}componentWillUnmount(){this.props.explorerStore.reset()}render(){let{txId:e}=this.props,{query_err:t,txMetadata:n}=this.props.explorerStore;return t?r.createElement(p.a,null,r.createElement("h4",null,"Metadata"),r.createElement("p",null," Metadata for transaction ID ",e," not found.")):r.createElement("div",{style:{marginTop:"20px",marginBottom:"20px"}},r.createElement("h4",null,"Metadata"),n&&r.createElement(D.a,null,r.createElement(D.a.Item,null,"SpendIDs:",r.createElement(D.a,null,n.spendIDs&&n.spendIDs.map((e,t)=>r.createElement(D.a.Item,{key:"SpendID"+t+1,className:"text-break"},r.createElement("a",{href:"/explorer/transaction/"+e},e))))),r.createElement(D.a.Item,null,"Booked: ",n.booked.toString()),r.createElement(D.a.Item,null,"Confirmation State: ",n.confirmationState)))}};zt=Bt([Object(s.b)("nodeStore"),Object(s.b)("explorerStore"),s.c],zt);var Ht=function(e,t,n,r){var a,s=arguments.length,l=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,n,r);else for(var o=e.length-1;o>=0;o--)(a=e[o])&&(l=(s<3?a(l):s>3?a(t,n,l):a(t,n))||l);return s>3&&l&&Object.defineProperty(t,n,l),l};let Ft=class extends r.Component{componentDidMount(){this.props.explorerStore.getTransactionAttachments(this.props.txId)}componentWillUnmount(){this.props.explorerStore.reset()}render(){let{txAttachments:e}=this.props.explorerStore;return r.createElement("div",{style:{marginTop:"20px",marginBottom:"20px"}},r.createElement("h4",null,"Attachments"),e&&e.blockIDs&&r.createElement(d.a,{className:"mb-3"},r.createElement(u.a,null,r.createElement(D.a,null,e.blockIDs.map((e,t)=>r.createElement(D.a.Item,{key:t},r.createElement("a",{href:"/explorer/block/"+e},e)))))))}};Ft=Ht([Object(s.b)("nodeStore"),Object(s.b)("explorerStore"),s.c],Ft);class Zt extends r.Component{render(){let{id:e}=this.props.match.params;return r.createElement(p.a,null,r.createElement(At,{txId:e}),r.createElement(zt,{txId:e}),r.createElement(Ft,{txId:e}))}}var Ut;!function(e){e[e.Undefined=0]="Undefined",e[e.Rejected=1]="Rejected",e[e.Pending=2]="Pending",e[e.Accepted=3]="Accepted",e[e.Confirmed=4]="Confirmed"}(Ut||(Ut={}));var Vt=function(e,t,n,r){var a,s=arguments.length,l=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,n,r);else for(var o=e.length-1;o>=0;o--)(a=e[o])&&(l=(s<3?a(l):s>3?a(t,n,l):a(t,n))||l);return s>3&&l&&Object.defineProperty(t,n,l),l};let Wt=class extends r.Component{componentDidMount(){this.props.explorerStore.getOutput(this.props.match.params.id),this.props.explorerStore.getPendingMana(this.props.match.params.id),this.props.explorerStore.getOutputMetadata(this.props.match.params.id),this.props.explorerStore.getOutputConsumers(this.props.match.params.id)}componentWillUnmount(){this.props.explorerStore.reset()}render(){let{id:e}=this.props.match.params,{query_err:t,output:n,pendingMana:a,outputMetadata:s,outputConsumers:l}=this.props.explorerStore;return t?r.createElement(p.a,null,r.createElement("h4",null,"Output not found - 404"),r.createElement("span",null,e)):r.createElement(p.a,null,r.createElement("h4",null,"Output"),n&&r.createElement("div",{className:"mb-2"},Fe(n),r.createElement(D.a,null,a&&r.createElement(D.a.Item,null,"Pending Mana",r.createElement("hr",null),r.createElement("div",null,"Value: ",gt(a.mana)),r.createElement("div",null,"Timestamp: ",new Date(1e3*a.timestamp).toLocaleString())))),r.createElement("h4",null,"Metadata"),s&&r.createElement("div",{className:"mb-2"},r.createElement(D.a,null,r.createElement(D.a.Item,null,"Transaction ID: ",r.createElement("a",{href:"/explorer/transaction/"+s.outputID.transactionID},s.outputID.transactionID)," "),"SpendIDs:",r.createElement(D.a,null,s.spendIDs.map((e,t)=>r.createElement(D.a.Item,{key:"SpendID"+t+1,className:"text-break"},e))),r.createElement(D.a.Item,null,"Consumer Count: ",s.consumerCount),r.createElement(D.a.Item,null,"Confirmed Consumer: ",r.createElement("a",{href:"/explorer/transaction/"+s.confirmedConsumer},s.confirmedConsumer)," "),r.createElement(D.a.Item,null,"Confirmation State: ",function(e){switch(e){case Ut.Undefined:return"Undefined";case Ut.Rejected:return"Rejected";case Ut.Pending:return"Pending";case Ut.Accepted:return"Accepted";case Ut.Confirmed:return"Confirmed";default:return"Undefined Confirmation State"}}(s.confirmationState)),r.createElement(D.a.Item,null,"Confirmation State Time: ",new Date(1e3*s.confirmationStateTime).toLocaleString()))),r.createElement("h4",null,"Consumers"),l&&r.createElement("div",null,r.createElement(D.a,null,l.consumers.map((e,t)=>{return r.createElement(D.a.Item,{key:t},r.createElement("div",null,"Transaction ID: ",r.createElement("a",{href:"/explorer/transaction/"+e.transactionID},e.transactionID)),r.createElement("div",null,"Valid: ","true"===(n=e.valid)?r.createElement(Q.a,{variant:"success"},"True"):"false"===n?r.createElement(Q.a,{variant:"danger"},"False"):r.createElement(Q.a,{variant:"warning"},"Maybe")," "));var n}))))}};Wt=Vt([Object(s.b)("nodeStore"),Object(s.b)("explorerStore"),s.c],Wt);var Jt=function(e,t,n,r){var a,s=arguments.length,l=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,n,r);else for(var o=e.length-1;o>=0;o--)(a=e[o])&&(l=(s<3?a(l):s>3?a(t,n,l):a(t,n))||l);return s>3&&l&&Object.defineProperty(t,n,l),l};let Gt=class extends r.Component{render(){let{slotLiveFeed:e}=this.props.slotStore;return r.createElement(p.a,null,r.createElement("h3",null,"Slots"),r.createElement(te.a,{bordered:!0},r.createElement("thead",null,r.createElement("tr",null,r.createElement("th",null,"Index"),r.createElement("th",null,"Commitment ID"))),r.createElement("tbody",null,e)))}};Gt=Jt([Object(s.b)("nodeStore"),Object(s.b)("slotStore"),s.c],Gt);var qt=function(e,t,n,r){var a,s=arguments.length,l=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,n,r);else for(var o=e.length-1;o>=0;o--)(a=e[o])&&(l=(s<3?a(l):s>3?a(t,n,l):a(t,n))||l);return s>3&&l&&Object.defineProperty(t,n,l),l};let Xt=class extends r.Component{componentDidMount(){const e=this.props.match.params.commitment;this.props.explorerStore.getSlotDetails(e)}componentWillUnmount(){this.props.explorerStore.reset()}render(){let{commitment:e}=this.props.match.params,{query_err:t,slotInfo:n}=this.props.explorerStore;return t?r.createElement(p.a,null,r.createElement("h4",null,"Slot not found - 404"),r.createElement("span",null,e)):r.createElement(p.a,null,r.createElement("h4",null,"Slot"),n&&r.createElement(D.a,null,r.createElement(D.a.Item,null,"ID: ",e),r.createElement(D.a.Item,null,"Index: ",n.index),r.createElement(D.a.Item,null,"RootsID: ",n.rootsID),r.createElement(D.a.Item,null,"PrevEC: ",n.prevID),r.createElement(D.a.Item,null,"Cumulative Weight: ",n.cumulativeWeight),r.createElement(D.a.Item,null,"Blocks:",n.blocks&&r.createElement(E.a,null,r.createElement(E.a.Body,null,r.createElement(d.a,{className:"mb-3"},r.createElement(u.a,{xs:12,style:{"max-height":"300px",overflow:"auto"}},r.createElement(te.a,null,r.createElement("tbody",null,n.blocks.map((e,t)=>r.createElement(D.a.Item,{key:t},r.createElement("a",{href:"/explorer/block/"+e},e)))))))))),r.createElement(D.a.Item,null,"Transactions:",n.transactions&&r.createElement(E.a,null,r.createElement(E.a.Body,null,r.createElement(d.a,{className:"mb-3"},r.createElement(u.a,{xs:12,style:{"max-height":"300px",overflow:"auto"}},r.createElement(te.a,null,r.createElement("tbody",null,n.transactions.map((e,t)=>r.createElement(D.a.Item,{key:t},r.createElement("a",{href:"/explorer/transaction/"+e},e)))))))))),r.createElement(D.a.Item,null," Created outputs:",n.createdOutputs&&r.createElement(E.a,null,r.createElement(E.a.Body,null,r.createElement(d.a,{className:"mb-3"},r.createElement(u.a,{xs:12,style:{"max-height":"300px",overflow:"auto"}},r.createElement(te.a,null,r.createElement("tbody",null,n.createdOutputs.map((e,t)=>r.createElement(D.a.Item,{key:t},r.createElement("a",{href:"/explorer/output/"+e},e)))))))))),r.createElement(D.a.Item,null," Spent outputs:",n.spentOutputs&&r.createElement(E.a,null,r.createElement(E.a.Body,null,r.createElement(d.a,{className:"mb-3"},r.createElement(u.a,{xs:12,style:{"max-height":"300px",overflow:"auto"}},r.createElement(te.a,null,r.createElement("tbody",null,n.spentOutputs.map((e,t)=>r.createElement(D.a.Item,{key:t},r.createElement("a",{href:"/explorer/output/"+e},e))))))))))))}};Xt=qt([Object(s.b)("explorerStore"),s.c],Xt);var Qt=function(e,t,n,r){var a,s=arguments.length,l=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,n,r);else for(var o=e.length-1;o>=0;o--)(a=e[o])&&(l=(s<3?a(l):s>3?a(t,n,l):a(t,n))||l);return s>3&&l&&Object.defineProperty(t,n,l),l};let $t=class extends r.Component{renderDevTool(){0}componentDidMount(){this.props.nodeStore.connect()}render(){return r.createElement("div",{className:"container"},r.createElement(i.a,{expand:"lg",bg:"light",variant:"light",className:"mb-4"},r.createElement(i.a.Brand,null,"iota-core"),r.createElement(c.a,{className:"mr-auto"},r.createElement(ge.LinkContainer,{to:"/dashboard"},r.createElement(c.a.Link,null,"Dashboard")),r.createElement(ge.LinkContainer,{to:"/neighbors"},r.createElement(c.a.Link,null,"Neighbors")),r.createElement(ge.LinkContainer,{to:"/explorer"},r.createElement(c.a.Link,null,"Explorer")),r.createElement(ge.LinkContainer,{to:"/visualizer"},r.createElement(c.a.Link,null,"Visualizer")),r.createElement(ge.LinkContainer,{to:"/slots"},r.createElement(c.a.Link,null,"Slot")),r.createElement(ge.LinkContainer,{to:"/tips"},r.createElement(c.a.Link,null,"Tips"))),r.createElement(i.a.Collapse,{className:"justify-content-end"},r.createElement(ue,null),r.createElement(i.a.Text,null,!this.props.nodeStore.websocketConnected&&r.createElement(Q.a,{variant:"danger"},"WS not connected!")))),r.createElement(he.g,null,r.createElement(he.d,{exact:!0,path:"/dashboard",component:X}),r.createElement(he.d,{exact:!0,path:"/neighbors",component:Rt}),r.createElement(he.d,{exact:!0,path:"/explorer/block/:id",component:mt}),r.createElement(he.d,{exact:!0,path:"/explorer/address/:id",component:Et}),r.createElement(he.d,{exact:!0,path:"/explorer/transaction/:id",component:Zt}),r.createElement(he.d,{exact:!0,path:"/explorer/output/:id",component:Wt}),r.createElement(he.d,{exact:!0,path:"/explorer/slot/commitment/:commitment",component:Xt}),r.createElement(he.d,{exact:!0,path:"/explorer/404/:search",component:St}),r.createElement(he.d,{exact:!0,path:"/slots",component:Gt}),r.createElement(he.d,{exact:!0,path:"/tips",component:Mt}),r.createElement(he.d,{exact:!0,path:"/explorer",component:ce}),r.createElement(he.d,{exact:!0,path:"/visualizer",component:Tt}),r.createElement(he.d,{exact:!0,path:"/visualizer/history",component:Tt}),r.createElement(he.c,{to:"/dashboard"})),this.props.children,this.renderDevTool())}};$t=Qt([Object(s.b)("nodeStore"),Object(s.b)("routerStore"),s.c],$t);const Yt=Object(o.hot)(({history:e})=>r.createElement($t,{history:e}));var Kt=n(102),en=function(e,t,n,r){var a,s=arguments.length,l=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,n,r);else for(var o=e.length-1;o>=0;o--)(a=e[o])&&(l=(s<3?a(l):s>3?a(t,n,l):a(t,n))||l);return s>3&&l&&Object.defineProperty(t,n,l),l},tn=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};class nn{}class rn{constructor(){this.mem=new sn,this.scheduler=new cn}}class an{}class sn{}class ln{}class on{}class cn{}class pn{constructor(){this.collected=[],this.network_io=[]}addMetric(e){e.ts=F(Date.now(),"HH:MM:ss"),this.collected.push(e),this.collected.length>hn&&this.collected.shift();let t=this.currentNetIO;t&&(this.network_io.length>hn&&this.network_io.shift(),this.network_io.push(t))}get current(){return this.collected[this.collected.length-1]}get secondLast(){let e=this.collected.length-2;if(!(e<0))return this.collected[e]}get currentNetIO(){return this.current&&this.secondLast?{tx:this.current.packets_written-this.secondLast.packets_written,rx:this.current.packets_read-this.secondLast.packets_read,ts:F(new Date,"HH:MM:ss")}:null}get netIOSeries(){let e=Object.assign({},un,mn("Tx","rgba(53, 180, 219,1)","rgba(53, 180, 219,0.4)")),t=Object.assign({},un,mn("Rx","rgba(235, 134, 52)","rgba(235, 134, 52,0.4)")),n=[];for(let r=0;r{fe(me.Status,this.updateStatus),fe(me.BPSMetrics,e=>{this.addBPSMetric(this.updateLastBPSMetric(e))}),fe(me.NeighborStats,this.updateNeighborMetrics),fe(me.TipsMetrics,this.updateLastTipsMetric),fe(me.ComponentCounterMetrics,this.updateLastComponentMetric),fe(me.RateSetter,this.updateLastRateSetterMetric),this.updateCollecting(!0)},this.unregisterHandlers=()=>{Ee(me.Status),Ee(me.BPSMetrics),Ee(me.NeighborStats),Ee(me.TipsMetrics),Ee(me.ComponentCounterMetrics),Ee(me.RateSetter),this.updateCollecting(!1)},this.updateCollecting=e=>{this.collecting=e},this.updateWebSocketConnected=e=>this.websocketConnected=e,this.updateStatus=e=>{e.mem.ts=F(Date.now(),"HH:MM:ss"),this.collected_mem_metrics.length>hn&&this.collected_mem_metrics.shift(),this.collected_mem_metrics.push(e.mem),this.status=e,e.scheduler.ts=F(Date.now(),"HH:MM:ss"),this.collected_scheduler_metrics.length>hn&&this.collected_scheduler_metrics.shift(),this.collected_scheduler_metrics.push(e.scheduler)},this.updateNeighborMetrics=e=>{if(!e)return;let t=[];for(let n=0;n{e.ts=F(Date.now(),"HH:MM:ss"),this.last_rate_setter_metric=e,this.collected_rate_setter_metrics.length>hn&&this.collected_rate_setter_metrics.shift(),this.collected_rate_setter_metrics.push(e)},this.updateLastBPSMetric=e=>{let t=new nn;return t.mps=e,t.ts=F(Date.now(),"HH:MM:ss"),this.last_mps_metric=t,t},this.addBPSMetric=e=>{this.collected_mps_metrics.length>hn&&this.collected_mps_metrics.shift(),this.collected_mps_metrics.push(e)},this.updateLastTipsMetric=e=>{e.ts=F(Date.now(),"HH:MM:ss"),this.last_tips_metric=e,this.collected_tips_metrics.length>hn&&this.collected_tips_metrics.shift(),this.collected_tips_metrics.push(e)},this.updateLastComponentMetric=e=>{e.ts=F(Date.now(),"HH:MM:ss"),this.last_component_counter_metric=e,this.collected_component_counter_metrics.length>hn&&this.collected_component_counter_metrics.shift(),this.collected_component_counter_metrics.push(e)},this.status.tangleTime=new an,this.status.tangleTime.ATT=0,this.status.tangleTime.RATT=0,this.status.tangleTime.CTT=0,this.status.tangleTime.RCTT=0,this.registerHandlers()}reset(){this.collected_mps_metrics=[],this.collected_mem_metrics=[],this.collected_scheduler_metrics=[],this.neighbor_metrics=new be.ObservableMap,this.collected_tips_metrics=[],this.collected_component_counter_metrics=[]}reconnect(){this.updateWebSocketConnected(!1),setTimeout(()=>{this.connect()},5e3)}connect(){!function(e,t,n,r){let a=window.location,s="ws:";"https:"===a.protocol&&(s="wss:"),s+="//"+a.host+e;let l=new WebSocket(s);l.onopen=t,l.onclose=n,l.onerror=r,l.onmessage=e=>{let t=JSON.parse(e.data),n=ye[t.type];n&&n(t.data)}}("/ws",()=>this.updateWebSocketConnected(!0),()=>this.reconnect(),()=>this.updateWebSocketConnected(!1))}get mpsSeries(){let e=Object.assign({},un,mn("BPS","rgba(67, 196, 99,1)","rgba(67, 196, 99,0.4)")),t=[];for(let n=0;n1&&(a+=e+" Days, "),t>=0&&(a+=t<10?"0"+t+":":t+":"),n>=0&&(a+=n<10?"0"+n+":":n+":"),r>=0&&(a+=r<10?"0"+r:r),a}get memSeries(){let e=Object.assign({},un,mn("Heap Sys","rgba(168, 50, 76,1)","rgba(168, 50, 76,0.4)")),t=Object.assign({},un,mn("Heap Alloc","rgba(222, 49, 87,1)","rgba(222, 49, 87,0.4)")),n=Object.assign({},un,mn("Heap Idle","rgba(222, 49, 182,1)","rgba(222, 49, 182,0.4)")),r=Object.assign({},un,mn("Heap Released","rgba(250, 76, 252,1)","rgba(250, 76, 252,0.4)")),a=[];for(let s=0;s=0;o--)(a=e[o])&&(l=(s<3?a(l):s>3?a(t,n,l):a(t,n))||l);return s>3&&l&&Object.defineProperty(t,n,l),l},En=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},vn=function(e,t,n,r){return new(n||(n=Promise))((function(a,s){function l(e){try{i(r.next(e))}catch(e){s(e)}}function o(e){try{i(r.throw(e))}catch(e){s(e)}}function i(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(l,o)}i((r=r.apply(e,t||[])).next())}))};!function(e){e[e.NotFound=0]="NotFound"}(bn||(bn={}));class kn{constructor(e){this.send_addr="",this.send_access_mana_node_id="",this.send_consensus_mana_node_id="",this.sending=!1,this.sendResult=null,this.query_error="",this.sendReq=()=>vn(this,void 0,void 0,(function*(){this.updateSending(!0);try{let e=yield fetch(`/api/faucet/${this.send_addr}?accessMana=${this.send_access_mana_node_id}&consensusMana=${this.send_consensus_mana_node_id}`);if(200!==e.status)return void this.updateQueryError(bn.NotFound);let t=yield e.json();setTimeout(()=>{this.updateSendResult(t)},2e3)}catch(e){this.updateQueryError(e)}})),this.updateSendResult=e=>{this.sending=!1,this.sendResult=e,this.routerStore.history.push("/explorer/address/"+this.send_addr)},this.updateSend=e=>{this.send_addr=e},this.updateSendAccessManaNodeID=e=>{this.send_access_mana_node_id=e},this.updateSendConsensusManaNodeID=e=>{this.send_consensus_mana_node_id=e},this.updateSending=e=>{this.sending=e,this.query_error=""},this.reset=()=>{this.send_addr=null,this.send_access_mana_node_id="",this.send_consensus_mana_node_id="",this.sending=!1,this.query_error=""},this.updateQueryError=e=>{this.sending=!1,this.query_error=e},this.routerStore=e}}fn([be.observable,En("design:type",String)],kn.prototype,"send_addr",void 0),fn([be.observable,En("design:type",String)],kn.prototype,"send_access_mana_node_id",void 0),fn([be.observable,En("design:type",String)],kn.prototype,"send_consensus_mana_node_id",void 0),fn([be.observable,En("design:type",Boolean)],kn.prototype,"sending",void 0),fn([be.observable,En("design:type",class{})],kn.prototype,"sendResult",void 0),fn([be.observable,En("design:type",String)],kn.prototype,"query_error",void 0),fn([be.action,En("design:type",Object)],kn.prototype,"updateSendResult",void 0),fn([be.action,En("design:type",Object)],kn.prototype,"updateSend",void 0),fn([be.action,En("design:type",Object)],kn.prototype,"updateSendAccessManaNodeID",void 0),fn([be.action,En("design:type",Object)],kn.prototype,"updateSendConsensusManaNodeID",void 0),fn([be.action,En("design:type",Object)],kn.prototype,"updateSending",void 0),fn([be.action,En("design:type",Object)],kn.prototype,"reset",void 0),fn([be.action,En("design:type",Object)],kn.prototype,"updateQueryError",void 0);var In=kn,xn=n(35),Sn=n.n(xn),jn=function(e,t,n,r){var a,s=arguments.length,l=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,n,r);else for(var o=e.length-1;o>=0;o--)(a=e[o])&&(l=(s<3?a(l):s>3?a(t,n,l):a(t,n))||l);return s>3&&l&&Object.defineProperty(t,n,l),l},On=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},wn=function(e,t,n,r){return new(n||(n=Promise))((function(a,s){function l(e){try{i(r.next(e))}catch(e){s(e)}}function o(e){try{i(r.throw(e))}catch(e){s(e)}}function i(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(l,o)}i((r=r.apply(e,t||[])).next())}))};class _n{}const Rn="#b9b7bd",Dn="#6c71c4",Cn="#393e46",Nn="#fad02c",Tn="#cb4b16",Pn="#b58900",Mn="#586e75",Ln="#e105f5",An="#51e05d",Bn="#859900";class zn{constructor(e){this.vertices=new be.ObservableMap,this.verticesLimit=1500,this.finalized_count=0,this.tips_count=0,this.verticesIncomingOrder=[],this.draw=!1,this.selected_via_click=!1,this.selected_origin_color=0,this.search="",this.paused=!1,this.fetchHistory=()=>wn(this,void 0,void 0,(function*(){try{let e=yield fetch("/api/visualizer/history");(yield e.json()).vertices.forEach(e=>{this.addVertex(e)})}catch(e){console.log("Fail to fetch history in visualizer",e)}})),this.updateSearch=e=>{this.search=e.trim()},this.searchAndHighlight=()=>{if(this.clearSelected(),!this.search)return;let e=this.vertices.keys(),t=null;for(const n of e)if(n.indexOf(this.search)>=0){t=n;break}t&&this.updateSelected(this.vertices.get(t),!1)},this.pauseResume=()=>{if(this.paused)return this.renderer.resume(),void(this.paused=!1);this.renderer.pause(),this.paused=!0},this.updateVerticesLimit=e=>{this.verticesLimit=e},this.updateTxStatus=e=>{let t=this.vertices.get(e.id);t&&(t.is_tx_accepted=e.is_tx_accepted,this.vertices.set(e.id,t),this.draw&&this.drawVertex(t))},this.addVertex=e=>{let t=this.vertices.get(e.id);t?!t.is_blk_confirmed&&e.is_blk_confirmed&&this.finalized_count++:(e.is_blk_confirmed&&this.finalized_count++,this.verticesIncomingOrder.push(e.id),this.checkLimit()),this.vertices.set(e.id,e),this.draw&&this.drawVertex(e)},this.addTipInfo=e=>wn(this,void 0,void 0,(function*(){let t=this.vertices.get(e.id);if(!t){t=new _n,t.id=e.id;let n=yield fetch("/api/block/"+e.id);if(200===n.status){let e=yield n.json();t.strongParents=e.strongParents,t.weakParents=e.weakParents,t.shallowLikedParents=e.shallowLikedParents,t.is_blk_confirmed=e.acceptance}this.verticesIncomingOrder.push(t.id)}this.tips_count+=e.is_tip?1:t.is_tip?-1:0,t.is_tip=e.is_tip,this.vertices.set(e.id,t),this.draw&&this.drawVertex(t)})),this.checkLimit=()=>{for(;this.verticesIncomingOrder.length>this.verticesLimit;){let e=this.verticesIncomingOrder.shift(),t=this.vertices.get(e);this.selected&&e===this.selected.id&&this.clearSelected(),this.draw&&this.graph.removeNode(e),t&&(t.is_blk_confirmed&&this.finalized_count--,t.is_tip&&this.tips_count--,this.vertices.delete(e))}},this.drawVertex=e=>{let t=this.graph.getNode(e.id);if(t){this.graphics.getNodeUI(e.id).color=Zn(this.colorForVertexState(e))}else t=this.graph.addNode(e.id,e);e.strongParents&&this.linkParents(e,t,e.strongParents),e.weakParents&&this.linkParents(e,t,e.weakParents),e.shallowLikedParents&&this.linkParents(e,t,e.shallowLikedParents)},this.linkParents=(e,t,n)=>{n.forEach(n=>{if(n&&(!t.links||!t.links.some(e=>e.fromId===n))){this.graph.getNode(n)?this.graph.addLink(n,e.id):console.log("link not added, parent doesn't exist",n)}})},this.colorForVertexState=e=>e?e.is_blk_confirmed?e.is_tx?e.is_tx_accepted?Nn:Cn:Dn:e.is_tip?Tn:e.is_tx?Cn:Rn:Pn,this.start=()=>{this.draw=!0,this.graph=Sn.a.Graph.graph();let e=Sn.a.Graph.View.webglGraphics();const t=Sn.a.Graph.Layout.forceDirected(this.graph,{springLength:10,springCoeff:1e-4,stableThreshold:.15,gravity:-2,dragCoeff:.02,timeStep:20,theta:.8});e.node(e=>e.data?Sn.a.Graph.View.webglSquare(20,this.colorForVertexState(e.data)):Sn.a.Graph.View.webglSquare(10,this.colorForVertexState(e.data))),e.link(()=>Sn.a.Graph.View.webglLine(Mn));let n=document.getElementById("visualizer");this.renderer=Sn.a.Graph.View.renderer(this.graph,{container:n,graphics:e,layout:t});let r=Sn.a.Graph.webglInputEvents(e,this.graph);r.mouseEnter(e=>{this.clearSelected(!0),this.updateSelected(e.data)}).mouseLeave(e=>{this.clearSelected(!1)}),r.click(e=>{this.clearSelected(!0),this.updateSelected(e.data,!0)}),this.graphics=e,this.renderer.run(),this.verticesIncomingOrder.forEach(e=>{let t=this.vertices.get(e);t&&this.drawVertex(t)})},this.stop=()=>{this.draw=!1,this.renderer.dispose(),this.graph=null,this.paused=!1,this.selected=null},this.updateSelected=(e,t)=>{if(!e)return;this.selected=e,this.selected_via_click=!!t;let n=this.graphics.getNodeUI(e.id);this.selected_origin_color=n.color,n.color=Zn(Bn),n.size=30;let r=this.graph.getNode(e.id);Fn(this.graph,r,e=>{},!0,e=>{this.graphics.getLinkUI(e.id).color=Zn(An)},[]),Fn(this.graph,r,e=>{},!1,e=>{this.graphics.getLinkUI(e.id).color=Zn(Ln)},[])},this.resetLinks=()=>{this.graph.forEachLink((function(e){this.graphics.getLinkUI(e.id).color=Zn(Mn)}))},this.clearSelected=e=>{if(!this.selected||this.selected_via_click&&!e)return;let t=this.graph.getNode(this.selected.id);if(!t)return void this.resetLinks();let n=this.graphics.getNodeUI(this.selected.id);n.color=this.selected_origin_color,n.size=20;Fn(this.graph,t,e=>{},!0,e=>{this.graphics.getLinkUI(e.id).color=Zn(Mn)},[]),Fn(this.graph,t,e=>{},!1,e=>{this.graphics.getLinkUI(e.id).color=Zn(Mn)},[]),this.selected=null,this.selected_via_click=!1},this.routerStore=e,fe(me.Vertex,this.addVertex),fe(me.TipInfo,this.addTipInfo),fe(me.TXAccepted,this.updateTxStatus)}}jn([be.observable,On("design:type",Object)],zn.prototype,"vertices",void 0),jn([be.observable,On("design:type",Object)],zn.prototype,"verticesLimit",void 0),jn([be.observable,On("design:type",Object)],zn.prototype,"finalized_count",void 0),jn([be.observable,On("design:type",Object)],zn.prototype,"tips_count",void 0),jn([be.observable,On("design:type",_n)],zn.prototype,"selected",void 0),jn([be.observable,On("design:type",String)],zn.prototype,"search",void 0),jn([be.observable,On("design:type",Boolean)],zn.prototype,"paused",void 0),jn([be.action,On("design:type",Object)],zn.prototype,"updateSearch",void 0),jn([be.action,On("design:type",Object)],zn.prototype,"searchAndHighlight",void 0),jn([be.action,On("design:type",Object)],zn.prototype,"pauseResume",void 0),jn([be.action,On("design:type",Object)],zn.prototype,"updateVerticesLimit",void 0),jn([be.action,On("design:type",Object)],zn.prototype,"updateTxStatus",void 0),jn([be.action,On("design:type",Object)],zn.prototype,"addVertex",void 0),jn([be.action,On("design:type",Object)],zn.prototype,"addTipInfo",void 0),jn([be.action,On("design:type",Object)],zn.prototype,"checkLimit",void 0),jn([be.action,On("design:type",Object)],zn.prototype,"updateSelected",void 0),jn([be.action,On("design:type",Object)],zn.prototype,"clearSelected",void 0);var Hn=zn;function Fn(e,t,n,r,a=!1,s=[]){s.push(t);let l=0;for(;s.length>l;){const t=s[l++];if(n(t))return!0;if(!t.links)return;for(const n of t.links)r||n.toId!==t.id||s.includes(e.getNode(n.fromId))?r&&n.fromId===t.id&&!s.includes(e.getNode(n.toId))&&(a&&a(n),s.push(e.getNode(n.toId))):(a&&a(n),s.push(e.getNode(n.fromId)))}}function Zn(e){let t=10414335;if("number"==typeof e)return e;if("string"==typeof e&&e)if(4===e.length&&(e=e.replace(/([^#])/g,"$1$1")),9===e.length)t=parseInt(e.substr(1),16);else{if(7!==e.length)throw'Color expected in hex format with preceding "#". E.g. #00ff00. Got value: '+e;t=parseInt(e.substr(1),16)<<8|255}return t}var Un=n(286),Vn=n.n(Un),Wn=n(287),Jn=n.n(Wn),Gn=function(e,t,n,r){var a,s=arguments.length,l=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,n,r);else for(var o=e.length-1;o>=0;o--)(a=e[o])&&(l=(s<3?a(l):s>3?a(t,n,l):a(t,n))||l);return s>3&&l&&Object.defineProperty(t,n,l),l},qn=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};class Xn{constructor(e,t,n){this.nodeID=e,this.time=t,this.txID=n}}class Qn extends Xn{constructor(e,t,n,r){super(e,t,n),this.amount=r}}class $n extends Xn{constructor(e,t,n,r){super(e,t,n),this.amount=r}}const Yn=r.createElement("tr",null,r.createElement("td",{key:"emptyRow",colSpan:4},"There are no nodes to view with the current search parameters.")),Kn=r.createElement(bt.a,{key:"emptyItem"},"There are no events to view with the current search parameters.");class er{constructor(){this.manaValues=[],this.prevManaValues=[0,0],this.accessNetworkRichest=[],this.totalAccessNetwork=0,this.accessActiveRichest=[],this.totalAccessActive=0,this.consensusNetworkRichest=[],this.totalConsensusNetwork=0,this.consensusActiveRichest=[],this.totalConsensusActive=0,this.searchNode="",this.searchTxID="",this.accessEvents=[],this.consensusEvents=[],this.initAccessEvents=[],this.initConsensusEvents=[],this.lastRemovedAccessEventTime=null,this.lastRemovedConsensusEventTime=null,this.lastInitRemovedAccessEventTime=null,this.lastInitRemovedConsensusEventTime=null,this.eventsUpdated=!1,this.displayedAccessEvents=[],this.displayedConsensusEvents=[],this.nodeNotSyncedListItem=r.createElement(bt.a,null,"Wait for node to be synced to display mana events."),this.addNewManaValue=e=>{this.ownID=this.ownID?this.ownID:e.nodeID,100===this.manaValues.length&&this.manaValues.shift();let t=[new Date(1e3*e.time),e.access,e.consensus];this.manaValues.length>0&&(this.prevManaValues=[this.manaValues[this.manaValues.length-1][1],this.manaValues[this.manaValues.length-1][2]]),this.manaValues.push(t)},this.updateNetworkRichest=e=>{switch(e.manaType){case"Access":this.totalAccessNetwork=e.totalMana,this.accessNetworkRichest=e.nodes;break;case"Consensus":this.totalConsensusNetwork=e.totalMana,this.consensusNetworkRichest=e.nodes}},this.updateActiveRichest=e=>{switch(e.manaType){case"Access":this.totalAccessActive=e.totalMana,this.accessActiveRichest=e.nodes;break;case"Consensus":this.totalConsensusActive=e.totalMana,this.consensusActiveRichest=e.nodes}},this.updateAllowedPledgeIDs=e=>{this.allowedPledgeIDs=e},this.addNewInitPledge=e=>{let t=[];switch(e.manaType){case"Access":if(t=this.initAccessEvents,t.length>=100){let e=t.shift();this.lastInitRemovedAccessEventTime=e.time}break;case"Consensus":if(t=this.initConsensusEvents,t.length>=100){let e=t.shift();this.lastInitRemovedConsensusEventTime=e.time}break;default:return}let n=new Qn(e.nodeID,new Date(1e3*e.time),e.txID,e.amount);t.push(n)},this.addNewPledge=e=>{let t=[];switch(e.manaType){case"Access":if(t=this.accessEvents,t.length>=100){let e=t.shift();this.lastRemovedAccessEventTime=e.time}break;case"Consensus":if(t=this.consensusEvents,t.length>=100){let e=t.shift();this.lastRemovedConsensusEventTime=e.time}break;default:return}let n=new Qn(e.nodeID,new Date(1e3*e.time),e.txID,e.amount);t.push(n),this.eventsUpdated=!0},this.addNewInitRevoke=e=>{let t=[];switch(e.manaType){case"Consensus":if(t=this.initConsensusEvents,t.length>=100){let e=t.shift();this.lastInitRemovedConsensusEventTime=e.time}break;default:return}let n=new $n(e.nodeID,new Date(1e3*e.time),e.txID,e.amount);t.push(n)},this.addNewRevoke=e=>{let t=[];switch(e.manaType){case"Consensus":if(t=this.consensusEvents,t.length>=100){let e=t.shift();this.lastRemovedConsensusEventTime=e.time}break;default:return}let n=new $n(e.nodeID,new Date(1e3*e.time),e.txID,e.amount);t.push(n),this.eventsUpdated=!0},this.initDone=()=>{this.accessEvents=this.initAccessEvents,this.lastRemovedAccessEventTime=this.lastInitRemovedAccessEventTime,this.consensusEvents=this.initConsensusEvents,this.lastRemovedConsensusEventTime=this.lastInitRemovedConsensusEventTime,this.displayedAccessEvents=[...this.accessEvents],this.displayedConsensusEvents=[...this.consensusEvents],setInterval(()=>{this.eventsUpdated&&(this.displayedAccessEvents=[...this.accessEvents],this.displayedConsensusEvents=[...this.consensusEvents],this.eventsUpdated=!1)},500)},this.nodeList=(e,t)=>{if(null===e||null==e)return[];let n=[],a=(e,a)=>{n.push(r.createElement("tr",{key:e.shortNodeID,style:{backgroundColor:e.shortNodeID===this.ownID?"#e8ffff":"white"}},r.createElement("td",{style:{borderTopLeftRadius:e.shortNodeID===this.ownID?"10px":"0",borderBottomLeftRadius:e.shortNodeID===this.ownID?"10px":"0"}}," ",a+1," "),r.createElement("td",null,e.shortNodeID),r.createElement("td",null,gt(e.mana)),r.createElement("td",{style:{borderTopRightRadius:e.shortNodeID===this.ownID?"10px":"0",borderBottomRightRadius:e.shortNodeID===this.ownID?"10px":"0"}},(e.mana/t*100).toFixed(2),"%")))};return e.forEach((e,t)=>{this.passesNodeFilter(e.shortNodeID)&&a(e,t)}),n},this.computeEventList=e=>{let t=[];if(t.push(r.createElement(bt.a,{style:{textAlign:"center"},key:"header"},r.createElement(d.a,null,r.createElement(u.a,{xs:1,className:"m-auto"}),r.createElement(u.a,null,"NodeID"),r.createElement(u.a,null,"Tx ID"),r.createElement(u.a,{xs:5},"Time")))),null==e)return t;return e.reverse().forEach((e,n)=>{this.passesNodeFilter(e.nodeID)&&this.passesTxFilter(e.txID)&&((e,n)=>{if(e instanceof Qn){let a=e=>r.createElement(Dt.a,{id:e.nodeID+n.toString()},r.createElement(Dt.a.Title,{as:"h3"},"Mana Pledged"),r.createElement(Dt.a.Content,null,r.createElement("div",null,"Base Mana: ",r.createElement("strong",null,"+",gt(e.amount))),r.createElement("div",null,"With Transaction: ",r.createElement("strong",null,r.createElement("a",{onClick:()=>navigator.clipboard.writeText(e.txID),href:"/explorer/transaction/"+e.txID},e.txID))),r.createElement("div",null,"To NodeID: ",r.createElement("strong",null,e.nodeID)),r.createElement("div",null,"Time of Pledge: ",r.createElement("strong",null,e.time.toLocaleTimeString()))));t.push(r.createElement(Ct.a,{key:e.nodeID+n.toString(),trigger:"focus",placement:"top",overlay:a(e)},r.createElement(bt.a,{style:{backgroundColor:"#41aea9",color:"white",textAlign:"center"},key:e.nodeID+n.toString(10),as:"button"},r.createElement(d.a,null,r.createElement(u.a,{xs:1,className:"m-auto"},r.createElement("img",{src:Vn.a,alt:"Plus",width:"20px",className:"d-block mx-auto"})),r.createElement(u.a,null,e.nodeID),r.createElement(u.a,null,e.txID.substring(0,7)+"..."),r.createElement(u.a,{xs:5},e.time.toLocaleString())))))}else if(e instanceof $n){let a=e=>r.createElement(Dt.a,{id:e.nodeID+n.toString()},r.createElement(Dt.a.Title,{as:"h3"},"Mana Revoked"),r.createElement(Dt.a.Content,null,r.createElement("div",null,"Base Mana 1: ",r.createElement("strong",null,"-",gt(e.amount))),r.createElement("div",null,"With Transaction: ",r.createElement("strong",null,r.createElement("a",{onClick:()=>navigator.clipboard.writeText(e.txID),href:"/explorer/transaction/"+e.txID},e.txID))),r.createElement("div",null,"From NodeID: ",r.createElement("strong",null,e.nodeID)),r.createElement("div",null,"Time of Revoke: ",r.createElement("strong",null,e.time.toLocaleTimeString()))));t.push(r.createElement(Ct.a,{key:e.nodeID+n.toString(),trigger:"focus",placement:"top",overlay:a(e)},r.createElement(bt.a,{style:{backgroundColor:"#213e3b",color:"white",textAlign:"center"},key:e.nodeID+n.toString(10),as:"button"},r.createElement(d.a,null,r.createElement(u.a,{xs:1},r.createElement("img",{src:Jn.a,alt:"Minus",width:"20px",className:""})),r.createElement(u.a,null,e.nodeID),r.createElement(u.a,null,e.txID.substring(0,7)+"..."),r.createElement(u.a,{xs:5},e.time.toLocaleString())))))}})(e,n)}),t},this.passesNodeFilter=e=>0===this.searchNode.trim().length||!!e.toLowerCase().includes(this.searchNode.toLowerCase()),this.passesTxFilter=e=>0===this.searchTxID.trim().length||!!e.toLowerCase().includes(this.searchTxID.toLowerCase()),this.manaValues=[],fe(me.Mana,this.addNewManaValue),fe(me.ManaMapOverall,this.updateNetworkRichest),fe(me.ManaMapOnline,this.updateActiveRichest)}updateNodeSearch(e){this.searchNode=e.trim()}updateTxSearch(e){this.searchTxID=e.trim()}get networkRichestFeedAccess(){let e=this.nodeList(this.accessNetworkRichest,this.totalAccessNetwork);return 0===e.length?[Yn]:e}get networkRichestFeedConsensus(){let e=this.nodeList(this.consensusNetworkRichest,this.totalConsensusNetwork);return 0===e.length?[Yn]:e}get activeRichestFeedAccess(){let e=this.nodeList(this.accessActiveRichest,this.totalAccessActive);return 0===e.length?[Yn]:e}get activeRichestFeedConsensus(){let e=this.nodeList(this.consensusActiveRichest,this.totalConsensusActive);return 0===e.length?[Yn]:e}get accessHistogramInput(){if(void 0===this.accessNetworkRichest||null===this.accessNetworkRichest)return[["",0]];let e=new Array;for(let t=0;te.shortNodeID===this.ownID;let n=this.accessNetworkRichest.findIndex(t);switch(n){case-1:break;default:e=(this.accessNetworkRichest.length-(n+1))/this.accessNetworkRichest.length*100}}return e}get consensusPercentile(){let e=0;if(void 0!==this.consensusNetworkRichest&&null!==this.consensusNetworkRichest){const t=e=>e.shortNodeID===this.ownID;let n=this.consensusNetworkRichest.findIndex(t);switch(n){case-1:break;default:e=(this.consensusNetworkRichest.length-(n+1))/this.consensusNetworkRichest.length*100}}return e}get accessEventList(){let e=this.computeEventList(this.displayedAccessEvents);return 1===e.length&&e.push(Kn),e}get consensusEventList(){let e=this.computeEventList(this.displayedConsensusEvents);return 1===e.length&&e.push(Kn),e}}Gn([be.observable,qn("design:type",Array)],er.prototype,"manaValues",void 0),Gn([be.observable,qn("design:type",Array)],er.prototype,"prevManaValues",void 0),Gn([be.observable,qn("design:type",Array)],er.prototype,"accessNetworkRichest",void 0),Gn([be.observable,qn("design:type",Number)],er.prototype,"totalAccessNetwork",void 0),Gn([be.observable,qn("design:type",Array)],er.prototype,"accessActiveRichest",void 0),Gn([be.observable,qn("design:type",Number)],er.prototype,"totalAccessActive",void 0),Gn([be.observable,qn("design:type",Array)],er.prototype,"consensusNetworkRichest",void 0),Gn([be.observable,qn("design:type",Number)],er.prototype,"totalConsensusNetwork",void 0),Gn([be.observable,qn("design:type",Array)],er.prototype,"consensusActiveRichest",void 0),Gn([be.observable,qn("design:type",Number)],er.prototype,"totalConsensusActive",void 0),Gn([be.observable,qn("design:type",Object)],er.prototype,"searchNode",void 0),Gn([be.observable,qn("design:type",Object)],er.prototype,"searchTxID",void 0),Gn([be.observable,qn("design:type",class{})],er.prototype,"allowedPledgeIDs",void 0),Gn([be.observable,qn("design:type",Date)],er.prototype,"lastRemovedAccessEventTime",void 0),Gn([be.observable,qn("design:type",Date)],er.prototype,"lastRemovedConsensusEventTime",void 0),Gn([be.observable,qn("design:type",Array)],er.prototype,"displayedAccessEvents",void 0),Gn([be.observable,qn("design:type",Array)],er.prototype,"displayedConsensusEvents",void 0),Gn([be.action,qn("design:type",Function),qn("design:paramtypes",[String]),qn("design:returntype",void 0)],er.prototype,"updateNodeSearch",null),Gn([be.action,qn("design:type",Function),qn("design:paramtypes",[String]),qn("design:returntype",void 0)],er.prototype,"updateTxSearch",null),Gn([be.action,qn("design:type",Object)],er.prototype,"addNewManaValue",void 0),Gn([be.action,qn("design:type",Object)],er.prototype,"updateNetworkRichest",void 0),Gn([be.action,qn("design:type",Object)],er.prototype,"updateActiveRichest",void 0),Gn([be.action,qn("design:type",Object)],er.prototype,"updateAllowedPledgeIDs",void 0),Gn([be.action,qn("design:type",Object)],er.prototype,"addNewInitPledge",void 0),Gn([be.action,qn("design:type",Object)],er.prototype,"addNewPledge",void 0),Gn([be.action,qn("design:type",Object)],er.prototype,"addNewInitRevoke",void 0),Gn([be.action,qn("design:type",Object)],er.prototype,"addNewRevoke",void 0),Gn([be.action,qn("design:type",Object)],er.prototype,"initDone",void 0),Gn([be.computed,qn("design:type",Object),qn("design:paramtypes",[])],er.prototype,"networkRichestFeedAccess",null),Gn([be.computed,qn("design:type",Object),qn("design:paramtypes",[])],er.prototype,"networkRichestFeedConsensus",null),Gn([be.computed,qn("design:type",Object),qn("design:paramtypes",[])],er.prototype,"activeRichestFeedAccess",null),Gn([be.computed,qn("design:type",Object),qn("design:paramtypes",[])],er.prototype,"activeRichestFeedConsensus",null),Gn([be.computed,qn("design:type",Object),qn("design:paramtypes",[])],er.prototype,"accessHistogramInput",null),Gn([be.computed,qn("design:type",Object),qn("design:paramtypes",[])],er.prototype,"consensusHistogramInput",null),Gn([be.computed,qn("design:type",Object),qn("design:paramtypes",[])],er.prototype,"accessPercentile",null),Gn([be.computed,qn("design:type",Object),qn("design:paramtypes",[])],er.prototype,"consensusPercentile",null),Gn([be.computed,qn("design:type",Object),qn("design:paramtypes",[])],er.prototype,"accessEventList",null),Gn([be.computed,qn("design:type",Object),qn("design:paramtypes",[])],er.prototype,"consensusEventList",null);var tr=er,nr=function(e,t,n,r){var a,s=arguments.length,l=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,n,r);else for(var o=e.length-1;o>=0;o--)(a=e[o])&&(l=(s<3?a(l):s>3?a(t,n,l):a(t,n))||l);return s>3&&l&&Object.defineProperty(t,n,l),l},rr=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},ar=function(e,t,n,r){return new(n||(n=Promise))((function(a,s){function l(e){try{i(r.next(e))}catch(e){s(e)}}function o(e){try{i(r.throw(e))}catch(e){s(e)}}function i(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(l,o)}i((r=r.apply(e,t||[])).next())}))};class sr{constructor(){this.liveFeed=[],this.addLiveFeed=e=>ar(this,void 0,void 0,(function*(){-1===this.liveFeed.findIndex(t=>t.id==e.id)&&(this.liveFeed.length>=100&&this.liveFeed.shift(),this.liveFeed.push(e))})),fe(me.SlotInfo,this.addLiveFeed)}get slotLiveFeed(){let e=[];for(let t=this.liveFeed.length-1;t>=0;t--){let n=this.liveFeed[t];e.push(r.createElement("tr",{key:n.id},r.createElement("td",null,n.index),r.createElement("td",null,r.createElement(H.Link,{to:"/explorer/slot/commitment/"+n.id},n.id))))}return e}}nr([be.observable,rr("design:type",Array)],sr.prototype,"liveFeed",void 0),nr([be.action,rr("design:type",Object)],sr.prototype,"addLiveFeed",void 0),nr([be.computed,rr("design:type",Object),rr("design:paramtypes",[])],sr.prototype,"slotLiveFeed",null);const lr=new Kt.RouterStore,or={routerStore:lr,nodeStore:new yn,explorerStore:new Xe(lr),faucetStore:new In(lr),visualizerStore:new Hn(lr),manaStore:new tr,slotStore:new sr},ir=Object(l.a)(),cr=Object(Kt.syncHistoryWithStore)(ir,lr);a.render(r.createElement(s.a,Object.assign({},or),r.createElement(he.e,{history:cr},r.createElement(Yt,{history:cr}))),document.getElementById("root"))}},[[434,1,2]]]); \ No newline at end of file diff --git a/components/dashboard/frontend/build/app.7343ba1c945034668914.js.map b/components/dashboard/frontend/build/app.7343ba1c945034668914.js.map deleted file mode 100644 index 2ee80b965..000000000 --- a/components/dashboard/frontend/build/app.7343ba1c945034668914.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///./assets/plus.svg","webpack:///./assets/minus.svg","webpack:///../node_modules/moment/locale sync ^\\.\\/.*$","webpack:///./app/components/Uptime.tsx","webpack:///./app/components/Version.tsx","webpack:///./app/misc/Chart.ts","webpack:///./app/components/BPSChart.tsx","webpack:///./app/components/TipsChart.tsx","webpack:///./app/components/MemChart.tsx","webpack:///./app/components/ComponentCounterChart.tsx","webpack:///./app/components/TangleTime.tsx","webpack:///./app/components/Bootstrapped.tsx","webpack:///./app/components/Dashboard.tsx","webpack:///./app/components/ExplorerSearchbar.tsx","webpack:///./app/components/ExplorerLiveFeed.tsx","webpack:///./app/components/ExplorerTransactionSearchbar.tsx","webpack:///./app/components/ExplorerOutputSearchbar.tsx","webpack:///./app/components/Explorer.tsx","webpack:///./app/components/NavExplorerSearchbar.tsx","webpack:///./app/misc/WS.ts","webpack:///./app/misc/Payload.ts","webpack:///./app/utils/condition.tsx","webpack:///./app/utils/feature.tsx","webpack:///./app/utils/output.tsx","webpack:///./app/components/NativeToken.tsx","webpack:///./app/components/Condition.tsx","webpack:///./app/components/Feature.tsx","webpack:///./app/components/BasicOutput.tsx","webpack:///./app/components/AliasOutput.tsx","webpack:///./app/components/FoundryOutput.tsx","webpack:///./app/components/NFTOutput.tsx","webpack:///./app/stores/ExplorerStore.tsx","webpack:///./app/components/BasicPayload.tsx","webpack:///./app/utils/unlock_block.ts","webpack:///./app/components/Ed25519Signature.tsx","webpack:///./app/components/UnlockBlock.tsx","webpack:///./app/components/Transaction.tsx","webpack:///./app/components/TransactionPayload.tsx","webpack:///./app/components/FaucetPayload.tsx","webpack:///./app/components/TaggedDataPayload.tsx","webpack:///./app/components/ExplorerBlockQueryResult.tsx","webpack:///./app/utils/index.ts","webpack:///./app/components/ExplorerAddressResult.tsx","webpack:///./app/components/Explorer404.tsx","webpack:///./app/components/Neighbor.tsx","webpack:///./app/components/Neighbors.tsx","webpack:///./app/components/Visualizer.tsx","webpack:///./app/components/Tips.tsx","webpack:///./app/components/ExplorerTransaction.tsx","webpack:///./app/components/ExplorerTransactionMetadata.tsx","webpack:///./app/components/ExplorerTransactionAttachments.tsx","webpack:///./app/components/ExplorerTransactionQueryResult.tsx","webpack:///./app/utils/confirmation_state.ts","webpack:///./app/components/ExplorerOutputQueryResult.tsx","webpack:///./app/components/SlotLiveFeed.tsx","webpack:///./app/components/ExplorerSlotQueryResult.tsx","webpack:///./app/components/Root.tsx","webpack:///./app/App.tsx","webpack:///./app/stores/NodeStore.ts","webpack:///./app/stores/FaucetStore.ts","webpack:///./app/stores/VisualizerStore.ts","webpack:///./app/stores/ManaStore.tsx","webpack:///./app/stores/SlotStore.tsx","webpack:///./main.tsx"],"names":["module","exports","map","webpackContext","req","id","webpackContextResolve","__webpack_require__","o","e","Error","code","keys","Object","resolve","this","props","nodeStore","uptime","status","version","defaultChartOptions","elements","line","tension","animation","duration","hover","animationDuration","responsiveAnimationDuration","lineChartOptions","assign","scales","xAxes","ticks","autoSkip","maxTicksLimit","fontSize","minRotation","maxRotation","gridLines","display","yAxes","callback","value","index","values","Math","abs","beginAtZero","tooltips","callbacks","label","tooltipItem","data","datasets","datasetIndex","Card","Body","Title","last_mps_metric","mps","height","mpsSeries","options","last_tips_metric","totaltips","tipsSeries","showXLabels","prettysize","mem","heap_alloc","num_gc","last_pause_gc","heap_objects","heap_sys","heap_idle","heap_released","memSeries","style","flexDirection","last_component_counter_metric","store","last_rate_setter_metric","estimate","componentSeries","tangleTime","synced","className","to","acceptedBlockID","confirmedBlockID","confirmedSlot","committedSlot","dateformat","Date","ATT","CTT","RATT","RCTT","bootstrapped","Container","Row","Col","ListGroup","variant","Item","ComponentCounterChart","updateSearch","explorerStore","target","executeSearch","key","searchAny","search","searching","InputGroup","FormControl","placeholder","onChange","onKeyUp","disabled","blksLiveFeed","xs","Table","txID","routerStore","push","outputID","href","Form","inline","as","type","WSMsgType","handlers","registerHandler","blkTypeID","handler","unregisterHandler","PayloadType","ConditionType","FeatureType","OutputType","Output","getPayloadType","p","TaggedData","Transaction","Faucet","token","amount","unlock","address","pubKeyHash","unixTime","returnAddress","conditionToComponent","cond","Address","StateControllerAddress","GovernorAddress","StorageDepositReturn","Expiration","Timelock","feature","tag","featureToComponent","feat","Sender","Issuer","Metadata","Tag","hex","output","nativeTokens","n","_","unlockConditions","c","features","f","transactionID","outputIndex","wordBreak","aliasId","stateIndex","stateMetadata","foundryCounter","serialNumber","tokenScheme","nftId","outputToComponent","Basic","Alias","Foundry","NFT","GenesisBlockID","SlotInfo","QueryError","latest_blocks","blk","addr","tx","txMetadata","txAttachments","outputMetadata","outputConsumers","pendingMana","tips","slotInfo","query_loading","query_err","search_result","updateSearching","res","fetch","result","json","updateSearchResult","err","updateQueryError","resetSearch","block","searchBlock","updateQueryLoading","fetchJson","updateBlock","searchAddress","updateAddress","getSlotDetails","getSlotInfo","getTransaction","i","inputs","length","inputID","referencedOutputID","referencedOutputRes","genOutput","getTransactionAttachments","attachments","getTransactionMetadata","getOutput","getOutputMetadata","getOutputConsumers","getPendingMana","getTips","reset","spendIDs","strongChildren","weakChildren","shallowLikeChildren","strongParents","weakParents","shallowLikedParents","payloadType","payload","loading","addLiveFeedBlock","findIndex","t","shift","Block","feed","payload_type","list","blkId","method","route","requestData","body","JSON","stringify","v","Uint8Array","Array","from","undefined","response","headers","ok","NotFound","BadRequest","content_title","content","SignatureType","signature","publicKey","signatureType","Ed25519","Badge","sigType","BLS","renderSignatureComponent","maxHeight","overflow","width","marginTop","marginBottom","paddingBottom","borderBottom","networkId","creationSlot","input","Provider","color","size","outputs","unlocks","txId","accessManaPledgeID","consensusManaPledgeID","nonce","match","params","prevProps","prevState","objectivelyInvalid","marginRight","issuanceTimestamp","solidificationTimestamp","sequenceNumber","solid","scheduled","booked","orphaned","subjectivelyInvalid","acceptance","acceptanceTime","confirmation","confirmationTime","confirmationBySlot","confirmationBySlotTime","commitmentID","commitment","prevID","rootsID","cumulativeWeight","latestConfirmedSlot","rank","sequenceID","pastMarkerGap","isPastMarker","pastMarkers","issuerID","renderPayload","Spinner","displayManaUnit","mana","roundedMana","round","toString","toFixed","spent","unspent","available_balances","explorerOutputs","forEach","metadata","consumerCount","timestampCompareFn","a","b","txTimestamp","localeCompare","sort","Alert","ListGroupItem","textAlign","super","state","enabled","Button","getVariant","onClick","setState","base58","outputTypeToName","toLocaleString","timestamp","confirmedConsumer","outputType","neighborMetrics","neighbor_metrics","get","identity","last","current","connection_origin","pill","packets_written","packets_read","currentNetIO","rx","netIOSeries","neighborsEle","k","updateVerticesLimit","visualizerStore","pauseResumeVisualizer","pauseResume","searchAndHighlight","toggleBackgroundDataCollection","collecting","unregisterHandlers","registerHandlers","start","stop","vertices","finalized_count","selected","verticesLimit","tips_count","paused","Prepend","Text","OverlayTrigger","trigger","placement","overlay","Popover","Content","span","offset","background","substr","parent","zIndex","position","top","left","tipsList","bordered","confirmationState","blockIDs","ConfirmationState","Undefined","Rejected","Pending","Accepted","Confirmed","resolveConfirmationState","confirmationStateTime","consumers","val","valid","slotLiveFeed","slotStore","blocks","transactions","createdOutputs","spentOutputs","s","connect","Navbar","expand","bg","Brand","Nav","Link","Collapse","websocketConnected","exact","path","component","children","renderDevTool","App","history","BPSMetric","Status","MemoryMetrics","scheduler","SchedulerMetric","TipsMetric","RateSetterMetric","collected","network_io","metric","ts","now","maxMetricsDataPoints","netIO","secondLast","chartSeriesOpts","series","labels","ComponentCounterMetric","fill","lineTension","backgroundColor","borderWidth","borderColor","borderCapStyle","borderDash","borderDashOffset","borderJoinStyle","pointBorderColor","pointBackgroundColor","pointBorderWidth","pointHoverBackgroundColor","pointHoverBorderColor","pointHoverBorderWidth","pointRadius","pointHitRadius","pointHoverRadius","name","bgColor","collected_mps_metrics","collected_rate_setter_metrics","collected_scheduler_metrics","collected_mem_metrics","collected_tips_metrics","collected_component_counter_metrics","updateStatus","BPSMetrics","addBPSMetric","updateLastBPSMetric","NeighborStats","updateNeighborMetrics","TipsMetrics","updateLastTipsMetric","ComponentCounterMetrics","updateLastComponentMetric","RateSetter","updateLastRateSetterMetric","updateCollecting","updateWebSocketConnected","connected","updated","neighbMetrics","addMetric","set","includes","delete","mpsMetric","tipsMetric","componentCounterMetric","setTimeout","onOpen","onClose","onError","loc","window","location","uri","protocol","host","ws","WebSocket","onopen","onclose","onerror","onmessage","parse","connectWebSocket","reconnect","stored","solidified","solidifier","booker","bufferSize","currentBufferSize","deficit","day","hour","minute","seconds","floor","str","heapSys","heapAlloc","heapIdle","heapReleased","FaucetStore","send_addr","send_access_mana_node_id","send_consensus_mana_node_id","sending","sendResult","query_error","sendReq","updateSending","updateSendResult","updateSend","updateSendAccessManaNodeID","access_mana","updateSendConsensusManaNodeID","consensus_mana","Vertex","COLOR","verticesIncomingOrder","draw","selected_via_click","selected_origin_color","fetchHistory","addVertex","console","log","trim","clearSelected","iter","found","indexOf","updateSelected","renderer","resume","pause","num","updateTxStatus","vert","existing","is_tx_accepted","drawVertex","is_blk_confirmed","checkLimit","addTipInfo","tipInfo","is_tip","deleteId","graph","removeNode","node","getNode","graphics","getNodeUI","parseColor","colorForVertexState","addNode","linkParents","parents","links","some","link","fromId","addLink","is_tx","Graph","View","webglGraphics","layout","Layout","forceDirected","springLength","springCoeff","stableThreshold","gravity","dragCoeff","timeStep","theta","webglSquare","webglLine","ele","document","getElementById","container","events","webglInputEvents","mouseEnter","mouseLeave","click","run","dispose","viaClick","nodeUI","vertexSize","dfsIterator","getLinkUI","resetLinks","forEachLink","force_clear","TipInfo","TXAccepted","cb","up","cbLinks","seenNodes","pointer","toId","parsedColor","replace","parseInt","ManaEvent","nodeID","time","PledgeEvent","RevokeEvent","emptyRow","colSpan","emptyListItem","manaValues","prevManaValues","accessNetworkRichest","totalAccessNetwork","accessActiveRichest","totalAccessActive","consensusNetworkRichest","totalConsensusNetwork","consensusActiveRichest","totalConsensusActive","searchNode","searchTxID","accessEvents","consensusEvents","initAccessEvents","initConsensusEvents","lastRemovedAccessEventTime","lastRemovedConsensusEventTime","lastInitRemovedAccessEventTime","lastInitRemovedConsensusEventTime","eventsUpdated","displayedAccessEvents","displayedConsensusEvents","nodeNotSyncedListItem","addNewManaValue","manaBlk","ownID","newManaData","access","consensus","updateNetworkRichest","manaType","totalMana","nodes","updateActiveRichest","updateAllowedPledgeIDs","allowedPledgeIDs","addNewInitPledge","lastRemoved","newData","addNewPledge","addNewInitRevoke","addNewRevoke","initDone","setInterval","nodeList","leaderBoard","manaSum","pushToFeed","shortNodeID","borderTopLeftRadius","borderBottomLeftRadius","borderTopRightRadius","borderBottomRightRadius","passesNodeFilter","computeEventList","evArr","reverse","event","passesTxFilter","element","popover","ev","navigator","clipboard","writeText","toLocaleTimeString","src","alt","substring","pushToEventFeed","toLowerCase","Mana","ManaMapOverall","ManaMapOnline","histInput","log10","per","isOwnID","liveFeed","addLiveFeed","info","stores","browserHistory"],"mappings":"2EAAAA,EAAOC,QAAU,k6B,kBCAjBD,EAAOC,QAAU,0vB,oBCAjB,IAAIC,EAAM,CACT,OAAQ,IACR,UAAW,IACX,OAAQ,IACR,UAAW,IACX,aAAc,IACd,UAAW,IACX,aAAc,IACd,UAAW,IACX,aAAc,IACd,UAAW,IACX,aAAc,IACd,UAAW,IACX,aAAc,IACd,UAAW,IACX,aAAc,IACd,UAAW,IACX,OAAQ,IACR,UAAW,IACX,O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9IjY2cHgiIHZpZXdCb3g9Ii0wLjUgLTAuNSA2NiA2NiI+PGRlZnMvPjxnPjxlbGxpcHNlIGN4PSIzMi41IiBjeT0iMzMiIHJ4PSIzMS41IiByeT0iMzEuNSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZmZmZmZmIiBzdHJva2Utd2lkdGg9IjMiIHBvaW50ZXItZXZlbnRzPSJhbGwiLz48cGF0aCBkPSJNIDE3IDMyLjg4IEwgNDcgMzIuODgiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2ZmZmZmZiIgc3Ryb2tlLXdpZHRoPSI2IiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHBvaW50ZXItZXZlbnRzPSJzdHJva2UiLz48L2c+PC9zdmc+\"","var map = {\n\t\"./af\": 107,\n\t\"./af.js\": 107,\n\t\"./ar\": 108,\n\t\"./ar-dz\": 109,\n\t\"./ar-dz.js\": 109,\n\t\"./ar-kw\": 110,\n\t\"./ar-kw.js\": 110,\n\t\"./ar-ly\": 111,\n\t\"./ar-ly.js\": 111,\n\t\"./ar-ma\": 112,\n\t\"./ar-ma.js\": 112,\n\t\"./ar-sa\": 113,\n\t\"./ar-sa.js\": 113,\n\t\"./ar-tn\": 114,\n\t\"./ar-tn.js\": 114,\n\t\"./ar.js\": 108,\n\t\"./az\": 115,\n\t\"./az.js\": 115,\n\t\"./be\": 116,\n\t\"./be.js\": 116,\n\t\"./bg\": 117,\n\t\"./bg.js\": 117,\n\t\"./bm\": 118,\n\t\"./bm.js\": 118,\n\t\"./bn\": 119,\n\t\"./bn-bd\": 120,\n\t\"./bn-bd.js\": 120,\n\t\"./bn.js\": 119,\n\t\"./bo\": 121,\n\t\"./bo.js\": 121,\n\t\"./br\": 122,\n\t\"./br.js\": 122,\n\t\"./bs\": 123,\n\t\"./bs.js\": 123,\n\t\"./ca\": 124,\n\t\"./ca.js\": 124,\n\t\"./cs\": 125,\n\t\"./cs.js\": 125,\n\t\"./cv\": 126,\n\t\"./cv.js\": 126,\n\t\"./cy\": 127,\n\t\"./cy.js\": 127,\n\t\"./da\": 128,\n\t\"./da.js\": 128,\n\t\"./de\": 129,\n\t\"./de-at\": 130,\n\t\"./de-at.js\": 130,\n\t\"./de-ch\": 131,\n\t\"./de-ch.js\": 131,\n\t\"./de.js\": 129,\n\t\"./dv\": 132,\n\t\"./dv.js\": 132,\n\t\"./el\": 133,\n\t\"./el.js\": 133,\n\t\"./en-au\": 134,\n\t\"./en-au.js\": 134,\n\t\"./en-ca\": 135,\n\t\"./en-ca.js\": 135,\n\t\"./en-gb\": 136,\n\t\"./en-gb.js\": 136,\n\t\"./en-ie\": 137,\n\t\"./en-ie.js\": 137,\n\t\"./en-il\": 138,\n\t\"./en-il.js\": 138,\n\t\"./en-in\": 139,\n\t\"./en-in.js\": 139,\n\t\"./en-nz\": 140,\n\t\"./en-nz.js\": 140,\n\t\"./en-sg\": 141,\n\t\"./en-sg.js\": 141,\n\t\"./eo\": 142,\n\t\"./eo.js\": 142,\n\t\"./es\": 143,\n\t\"./es-do\": 144,\n\t\"./es-do.js\": 144,\n\t\"./es-mx\": 145,\n\t\"./es-mx.js\": 145,\n\t\"./es-us\": 146,\n\t\"./es-us.js\": 146,\n\t\"./es.js\": 143,\n\t\"./et\": 147,\n\t\"./et.js\": 147,\n\t\"./eu\": 148,\n\t\"./eu.js\": 148,\n\t\"./fa\": 149,\n\t\"./fa.js\": 149,\n\t\"./fi\": 150,\n\t\"./fi.js\": 150,\n\t\"./fil\": 151,\n\t\"./fil.js\": 151,\n\t\"./fo\": 152,\n\t\"./fo.js\": 152,\n\t\"./fr\": 153,\n\t\"./fr-ca\": 154,\n\t\"./fr-ca.js\": 154,\n\t\"./fr-ch\": 155,\n\t\"./fr-ch.js\": 155,\n\t\"./fr.js\": 153,\n\t\"./fy\": 156,\n\t\"./fy.js\": 156,\n\t\"./ga\": 157,\n\t\"./ga.js\": 157,\n\t\"./gd\": 158,\n\t\"./gd.js\": 158,\n\t\"./gl\": 159,\n\t\"./gl.js\": 159,\n\t\"./gom-deva\": 160,\n\t\"./gom-deva.js\": 160,\n\t\"./gom-latn\": 161,\n\t\"./gom-latn.js\": 161,\n\t\"./gu\": 162,\n\t\"./gu.js\": 162,\n\t\"./he\": 163,\n\t\"./he.js\": 163,\n\t\"./hi\": 164,\n\t\"./hi.js\": 164,\n\t\"./hr\": 165,\n\t\"./hr.js\": 165,\n\t\"./hu\": 166,\n\t\"./hu.js\": 166,\n\t\"./hy-am\": 167,\n\t\"./hy-am.js\": 167,\n\t\"./id\": 168,\n\t\"./id.js\": 168,\n\t\"./is\": 169,\n\t\"./is.js\": 169,\n\t\"./it\": 170,\n\t\"./it-ch\": 171,\n\t\"./it-ch.js\": 171,\n\t\"./it.js\": 170,\n\t\"./ja\": 172,\n\t\"./ja.js\": 172,\n\t\"./jv\": 173,\n\t\"./jv.js\": 173,\n\t\"./ka\": 174,\n\t\"./ka.js\": 174,\n\t\"./kk\": 175,\n\t\"./kk.js\": 175,\n\t\"./km\": 176,\n\t\"./km.js\": 176,\n\t\"./kn\": 177,\n\t\"./kn.js\": 177,\n\t\"./ko\": 178,\n\t\"./ko.js\": 178,\n\t\"./ku\": 179,\n\t\"./ku.js\": 179,\n\t\"./ky\": 180,\n\t\"./ky.js\": 180,\n\t\"./lb\": 181,\n\t\"./lb.js\": 181,\n\t\"./lo\": 182,\n\t\"./lo.js\": 182,\n\t\"./lt\": 183,\n\t\"./lt.js\": 183,\n\t\"./lv\": 184,\n\t\"./lv.js\": 184,\n\t\"./me\": 185,\n\t\"./me.js\": 185,\n\t\"./mi\": 186,\n\t\"./mi.js\": 186,\n\t\"./mk\": 187,\n\t\"./mk.js\": 187,\n\t\"./ml\": 188,\n\t\"./ml.js\": 188,\n\t\"./mn\": 189,\n\t\"./mn.js\": 189,\n\t\"./mr\": 190,\n\t\"./mr.js\": 190,\n\t\"./ms\": 191,\n\t\"./ms-my\": 192,\n\t\"./ms-my.js\": 192,\n\t\"./ms.js\": 191,\n\t\"./mt\": 193,\n\t\"./mt.js\": 193,\n\t\"./my\": 194,\n\t\"./my.js\": 194,\n\t\"./nb\": 195,\n\t\"./nb.js\": 195,\n\t\"./ne\": 196,\n\t\"./ne.js\": 196,\n\t\"./nl\": 197,\n\t\"./nl-be\": 198,\n\t\"./nl-be.js\": 198,\n\t\"./nl.js\": 197,\n\t\"./nn\": 199,\n\t\"./nn.js\": 199,\n\t\"./oc-lnc\": 200,\n\t\"./oc-lnc.js\": 200,\n\t\"./pa-in\": 201,\n\t\"./pa-in.js\": 201,\n\t\"./pl\": 202,\n\t\"./pl.js\": 202,\n\t\"./pt\": 203,\n\t\"./pt-br\": 204,\n\t\"./pt-br.js\": 204,\n\t\"./pt.js\": 203,\n\t\"./ro\": 205,\n\t\"./ro.js\": 205,\n\t\"./ru\": 206,\n\t\"./ru.js\": 206,\n\t\"./sd\": 207,\n\t\"./sd.js\": 207,\n\t\"./se\": 208,\n\t\"./se.js\": 208,\n\t\"./si\": 209,\n\t\"./si.js\": 209,\n\t\"./sk\": 210,\n\t\"./sk.js\": 210,\n\t\"./sl\": 211,\n\t\"./sl.js\": 211,\n\t\"./sq\": 212,\n\t\"./sq.js\": 212,\n\t\"./sr\": 213,\n\t\"./sr-cyrl\": 214,\n\t\"./sr-cyrl.js\": 214,\n\t\"./sr.js\": 213,\n\t\"./ss\": 215,\n\t\"./ss.js\": 215,\n\t\"./sv\": 216,\n\t\"./sv.js\": 216,\n\t\"./sw\": 217,\n\t\"./sw.js\": 217,\n\t\"./ta\": 218,\n\t\"./ta.js\": 218,\n\t\"./te\": 219,\n\t\"./te.js\": 219,\n\t\"./tet\": 220,\n\t\"./tet.js\": 220,\n\t\"./tg\": 221,\n\t\"./tg.js\": 221,\n\t\"./th\": 222,\n\t\"./th.js\": 222,\n\t\"./tk\": 223,\n\t\"./tk.js\": 223,\n\t\"./tl-ph\": 224,\n\t\"./tl-ph.js\": 224,\n\t\"./tlh\": 225,\n\t\"./tlh.js\": 225,\n\t\"./tr\": 226,\n\t\"./tr.js\": 226,\n\t\"./tzl\": 227,\n\t\"./tzl.js\": 227,\n\t\"./tzm\": 228,\n\t\"./tzm-latn\": 229,\n\t\"./tzm-latn.js\": 229,\n\t\"./tzm.js\": 228,\n\t\"./ug-cn\": 230,\n\t\"./ug-cn.js\": 230,\n\t\"./uk\": 231,\n\t\"./uk.js\": 231,\n\t\"./ur\": 232,\n\t\"./ur.js\": 232,\n\t\"./uz\": 233,\n\t\"./uz-latn\": 234,\n\t\"./uz-latn.js\": 234,\n\t\"./uz.js\": 233,\n\t\"./vi\": 235,\n\t\"./vi.js\": 235,\n\t\"./x-pseudo\": 236,\n\t\"./x-pseudo.js\": 236,\n\t\"./yo\": 237,\n\t\"./yo.js\": 237,\n\t\"./zh-cn\": 238,\n\t\"./zh-cn.js\": 238,\n\t\"./zh-hk\": 239,\n\t\"./zh-hk.js\": 239,\n\t\"./zh-mo\": 240,\n\t\"./zh-mo.js\": 240,\n\t\"./zh-tw\": 241,\n\t\"./zh-tw.js\": 241\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 298;","import * as React from 'react';\r\nimport NodeStore from \"../stores/NodeStore\";\r\nimport {inject, observer} from \"mobx-react\";\r\n\r\ninterface Props {\r\n nodeStore?: NodeStore;\r\n}\r\n\r\n@inject(\"nodeStore\")\r\n@observer\r\nexport default class Uptime extends React.Component {\r\n render() {\r\n return (\r\n \r\n Uptime: {this.props.nodeStore.uptime}\r\n \r\n );\r\n }\r\n}\r\n","import * as React from 'react';\r\nimport NodeStore from \"../stores/NodeStore\";\r\nimport {inject, observer} from \"mobx-react\";\r\n\r\ninterface Props {\r\n nodeStore?: NodeStore;\r\n}\r\n\r\n@inject(\"nodeStore\")\r\n@observer\r\nexport default class Version extends React.Component {\r\n render() {\r\n return (\r\n \r\n Version: {this.props.nodeStore.status.version}\r\n \r\n );\r\n }\r\n}\r\n","\r\n// includes chart options to increase performance, by disabling chart animations\r\nexport var defaultChartOptions = {\r\n elements: {\r\n line: {\r\n tension: 0\r\n }\r\n },\r\n animation: {\r\n duration: 0\r\n },\r\n hover: {\r\n animationDuration: 0\r\n },\r\n responsiveAnimationDuration: 0\r\n};","import * as React from 'react';\r\nimport Card from \"react-bootstrap/Card\";\r\nimport NodeStore from \"../stores/NodeStore\";\r\nimport {inject, observer} from \"mobx-react\";\r\nimport {Line} from \"react-chartjs-2\";\r\nimport {defaultChartOptions} from \"../misc/Chart\";\r\n\r\ninterface Props {\r\n nodeStore?: NodeStore;\r\n}\r\n\r\nconst lineChartOptions = Object.assign({\r\n scales: {\r\n xAxes: [{\r\n ticks: {\r\n autoSkip: true,\r\n maxTicksLimit: 8,\r\n fontSize: 8,\r\n minRotation: 0,\r\n maxRotation: 0,\r\n },\r\n gridLines: {\r\n display: false\r\n }\r\n }],\r\n yAxes: [{\r\n gridLines: {\r\n display: false\r\n },\r\n ticks: {\r\n callback: function (value, index, values) {\r\n return Math.abs(value);\r\n },\r\n fontSize: 10,\r\n maxTicksLimit: 4,\r\n beginAtZero: true,\r\n },\r\n }],\r\n },\r\n tooltips: {\r\n callbacks: {\r\n label: function (tooltipItem, data) {\r\n let label = data.datasets[tooltipItem.datasetIndex].label;\r\n return `${label} ${Math.abs(tooltipItem.value)}`;\r\n }\r\n }\r\n }\r\n}, defaultChartOptions);\r\n\r\n@inject(\"nodeStore\")\r\n@observer\r\nexport default class BPSChart extends React.Component {\r\n render() {\r\n return (\r\n \r\n \r\n Blocks Per Second\r\n \r\n BPS: {this.props.nodeStore.last_mps_metric.mps}.\r\n \r\n\r\n \r\n \r\n \r\n );\r\n }\r\n}\r\n","import * as React from 'react';\r\nimport Card from \"react-bootstrap/Card\";\r\nimport NodeStore from \"../stores/NodeStore\";\r\nimport {inject, observer} from \"mobx-react\";\r\nimport {Line} from \"react-chartjs-2\";\r\nimport {defaultChartOptions} from \"../misc/Chart\";\r\n\r\ninterface Props {\r\n nodeStore?: NodeStore;\r\n}\r\n\r\nconst lineChartOptions = Object.assign({\r\n scales: {\r\n xAxes: [{\r\n ticks: {\r\n autoSkip: true,\r\n maxTicksLimit: 8,\r\n fontSize: 8,\r\n minRotation: 0,\r\n maxRotation: 0,\r\n },\r\n gridLines: {\r\n display: false\r\n }\r\n }],\r\n yAxes: [{\r\n gridLines: {\r\n display: false\r\n },\r\n ticks: {\r\n callback: function (value, index, values) {\r\n return Math.abs(value);\r\n },\r\n fontSize: 10,\r\n maxTicksLimit: 4,\r\n beginAtZero: true,\r\n },\r\n }],\r\n },\r\n tooltips: {\r\n callbacks: {\r\n label: function (tooltipItem, data) {\r\n let label = data.datasets[tooltipItem.datasetIndex].label;\r\n return `${label} ${Math.abs(tooltipItem.value)}`;\r\n }\r\n }\r\n }\r\n}, defaultChartOptions);\r\n\r\n@inject(\"nodeStore\")\r\n@observer\r\nexport default class TipsChart extends React.Component {\r\n render() {\r\n return (\r\n \r\n \r\n Current Tips\r\n \r\n Tips: {this.props.nodeStore.last_tips_metric.totaltips}.\r\n \r\n\r\n \r\n \r\n \r\n );\r\n }\r\n}\r\n","import * as React from 'react';\r\nimport Card from \"react-bootstrap/Card\";\r\nimport NodeStore from \"../stores/NodeStore\";\r\nimport {inject, observer} from \"mobx-react\";\r\nimport {Line} from \"react-chartjs-2\";\r\nimport {defaultChartOptions} from \"../misc/Chart\";\r\nimport * as prettysize from 'prettysize';\r\n\r\ninterface Props {\r\n nodeStore?: NodeStore;\r\n}\r\n\r\nconst lineChartOptions = Object.assign({\r\n scales: {\r\n xAxes: [{\r\n ticks: {\r\n autoSkip: true,\r\n maxTicksLimit: 8,\r\n fontSize: 8,\r\n minRotation: 0,\r\n maxRotation: 0,\r\n },\r\n showXLabels: 10,\r\n gridLines: {\r\n display: false\r\n }\r\n }],\r\n yAxes: [{\r\n gridLines: {\r\n display: false\r\n },\r\n ticks: {\r\n callback: function (value, index, values) {\r\n return prettysize(Math.abs(value));\r\n },\r\n maxTicksLimit: 3,\r\n fontSize: 10,\r\n },\r\n }],\r\n },\r\n tooltips: {\r\n callbacks: {\r\n label: function (tooltipItem, data) {\r\n let label = data.datasets[tooltipItem.datasetIndex].label;\r\n return `${label} ${prettysize(Math.abs(tooltipItem.value))}`;\r\n }\r\n }\r\n }\r\n}, defaultChartOptions);\r\n\r\n@inject(\"nodeStore\")\r\n@observer\r\nexport default class MemChart extends React.Component {\r\n render() {\r\n let mem = this.props.nodeStore.status.mem;\r\n return (\r\n \r\n \r\n \r\n Memory Usage{' '}\r\n {prettysize(mem.heap_alloc)}\r\n \r\n \r\n GC Cycles: {mem.num_gc} (Last Cycle: {mem.last_pause_gc / 1000000}ms) - {' '}\r\n Heap: {' '}\r\n [Obj: {mem.heap_objects}, In-Use: {prettysize(mem.heap_sys-mem.heap_idle)},\r\n Retained: {prettysize(mem.heap_idle - mem.heap_released)}]\r\n \r\n \r\n \r\n \r\n );\r\n }\r\n}\r\n","import * as React from 'react';\nimport Card from \"react-bootstrap/Card\";\nimport NodeStore from \"../stores/NodeStore\";\nimport {inject, observer} from \"mobx-react\";\nimport {Line} from \"react-chartjs-2\";\nimport {defaultChartOptions} from \"../misc/Chart\";\n\ninterface Props {\n nodeStore?: NodeStore;\n}\n\nconst lineChartOptions = Object.assign({\n scales: {\n xAxes: [{\n ticks: {\n autoSkip: true,\n maxTicksLimit: 8,\n fontSize: 8,\n minRotation: 0,\n maxRotation: 0,\n },\n gridLines: {\n display: false\n }\n }],\n yAxes: [{\n gridLines: {\n display: false\n },\n ticks: {\n callback: function (value, index, values) {\n return Math.abs(value);\n },\n fontSize: 10,\n maxTicksLimit: 4,\n beginAtZero: true,\n },\n }],\n },\n tooltips: {\n callbacks: {\n label: function (tooltipItem, data) {\n let label = data.datasets[tooltipItem.datasetIndex].label;\n return `${label} ${Math.abs(tooltipItem.value)}`;\n }\n }\n }\n}, defaultChartOptions);\n\n@inject(\"nodeStore\")\n@observer\nexport default class StoreChart extends React.Component {\n render() {\n const infoStyle = {\n display: \"flex\",\n flexDirection: \"column\"\n };\n return (\n \n \n Component Counter Blocks Per Second\n
\n \n BPS: {this.props.nodeStore.last_component_counter_metric.store}.\n \n \n Rate Setter - Estimate: {this.props.nodeStore.last_rate_setter_metric.estimate}\n \n
\n\n \n
\n
\n );\n }\n}\n","import * as React from 'react';\nimport NodeStore from \"../stores/NodeStore\";\nimport Card from \"react-bootstrap/Card\";\nimport {Link} from 'react-router-dom';\nimport {inject, observer} from \"mobx-react\";\nimport * as dateformat from 'dateformat';\n\ninterface Props {\n nodeStore?: NodeStore;\n}\n\n@inject(\"nodeStore\")\n@observer\nexport default class TangleTime extends React.Component {\n render() {\n return (\n \n \n TangleTime\n Synced: {this.props.nodeStore.status.tangleTime.synced ? \"Yes\" : \"No\"}\n \n
\n
\n
\n
Last Accepted Block: \n {this.props.nodeStore.status.tangleTime.acceptedBlockID}\n
\n
\n
\n
Last Confirmed Block: \n {this.props.nodeStore.status.tangleTime.confirmedBlockID}\n
\n
\n
\n
Last Confirmed Slot:\n {this.props.nodeStore.status.tangleTime.confirmedSlot}\n
\n
\n
\n
Last Committed Slot:\n {this.props.nodeStore.status.tangleTime.committedSlot}\n
\n
\n
\n
\n
\n Acceptance Time:\n
\n
\n {dateformat(new Date(this.props.nodeStore.status.tangleTime.ATT / 1000000), \"dd.mm.yyyy HH:MM:ss\")}\n
\n
\n Confirmation Time:\n
\n
\n {dateformat(new Date(this.props.nodeStore.status.tangleTime.CTT / 1000000), \"dd.mm.yyyy HH:MM:ss\")}\n
\n
\n
\n
\n Relative Acceptance Time:\n
\n
\n {dateformat(new Date(this.props.nodeStore.status.tangleTime.RATT / 1000000), \"dd.mm.yyyy HH:MM:ss\")}\n
\n
\n Relative Confirmation Time:\n
\n
\n {dateformat(new Date(this.props.nodeStore.status.tangleTime.RCTT / 1000000), \"dd.mm.yyyy HH:MM:ss\")}\n
\n
\n
\n
\n
\n
\n )\n ;\n }\n}\n","import * as React from 'react';\nimport NodeStore from \"../stores/NodeStore\";\nimport {inject, observer} from \"mobx-react\";\n\ninterface Props {\n nodeStore?: NodeStore;\n}\n\n@inject(\"nodeStore\")\n@observer\nexport default class Bootstrapped extends React.Component {\n render() {\n return (\n \n Bootstrapped: {this.props.nodeStore.status.tangleTime.bootstrapped ? \"Yes\" : \"No\"}\n \n );\n }\n}\n","import * as React from 'react';\r\nimport Container from \"react-bootstrap/Container\";\r\nimport Row from \"react-bootstrap/Row\";\r\nimport Col from \"react-bootstrap/Col\";\r\nimport Uptime from \"./Uptime\";\r\nimport Version from \"./Version\";\r\nimport BPSChart from \"./BPSChart\";\r\nimport TipsChart from \"./TipsChart\";\r\nimport NodeStore from \"../stores/NodeStore\";\r\nimport {inject, observer} from \"mobx-react\";\r\nimport ListGroup from \"react-bootstrap/ListGroup\";\r\nimport Card from \"react-bootstrap/Card\";\r\nimport MemChart from \"./MemChart\";\r\nimport ComponentCounterChart from \"./ComponentCounterChart\";\r\nimport TangleTime from \"./TangleTime\";\r\nimport Bootstrapped from \"./Bootstrapped\";\r\n\r\ninterface Props {\r\n nodeStore?: NodeStore;\r\n}\r\n\r\n@inject(\"nodeStore\")\r\n@observer\r\nexport class Dashboard extends React.Component {\r\n render() {\r\n return (\r\n \r\n

Dashboard

\r\n \r\n \r\n \r\n \r\n Node: {this.props.nodeStore.status.id}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n );\r\n }\r\n}\r\n","import * as React from 'react';\r\nimport {KeyboardEvent} from 'react';\r\nimport NodeStore from \"../stores/NodeStore\";\r\nimport {inject, observer} from \"mobx-react\";\r\nimport FormControl from \"react-bootstrap/FormControl\";\r\nimport ExplorerStore from \"../stores/ExplorerStore\";\r\nimport Row from \"react-bootstrap/Row\";\r\nimport Col from \"react-bootstrap/Col\";\r\nimport InputGroup from \"react-bootstrap/InputGroup\";\r\n\r\ninterface Props {\r\n nodeStore?: NodeStore;\r\n explorerStore?: ExplorerStore;\r\n}\r\n\r\n@inject(\"nodeStore\")\r\n@inject(\"explorerStore\")\r\n@observer\r\nexport class ExplorerSearchbar extends React.Component {\r\n\r\n updateSearch = (e) => {\r\n this.props.explorerStore.updateSearch(e.target.value);\r\n };\r\n\r\n executeSearch = (e: KeyboardEvent) => {\r\n if (e.key !== 'Enter') return;\r\n this.props.explorerStore.searchAny();\r\n };\r\n\r\n render() {\r\n let {search, searching} = this.props.explorerStore;\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n }\r\n}\r\n","import * as React from 'react';\r\nimport Row from \"react-bootstrap/Row\";\r\nimport Col from \"react-bootstrap/Col\";\r\nimport NodeStore from \"../stores/NodeStore\";\r\nimport {inject, observer} from \"mobx-react\";\r\nimport Card from \"react-bootstrap/Card\";\r\nimport ExplorerStore from \"../stores/ExplorerStore\";\r\nimport Table from \"react-bootstrap/Table\";\r\n\r\ninterface Props {\r\n nodeStore?: NodeStore;\r\n explorerStore?: ExplorerStore;\r\n}\r\n\r\n@inject(\"nodeStore\")\r\n@inject(\"explorerStore\")\r\n@observer\r\nexport class ExplorerLiveFeed extends React.Component {\r\n render() {\r\n let {blksLiveFeed} = this.props.explorerStore;\r\n return (\r\n \r\n \r\n \r\n \r\n Live Feed\r\n \r\n \r\n
Blocks
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {blksLiveFeed}\r\n \r\n
IdPayload Type
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n );\r\n }\r\n}\r\n","import * as React from 'react';\nimport {KeyboardEvent} from 'react';\nimport NodeStore from \"../stores/NodeStore\";\nimport {inject, observer} from \"mobx-react\";\nimport FormControl from \"react-bootstrap/FormControl\";\nimport ExplorerStore from \"../stores/ExplorerStore\";\nimport Row from \"react-bootstrap/Row\";\nimport Col from \"react-bootstrap/Col\";\nimport InputGroup from \"react-bootstrap/InputGroup\";\n\ninterface Props {\n nodeStore?: NodeStore;\n explorerStore?: ExplorerStore;\n}\n\n@inject(\"nodeStore\")\n@inject(\"explorerStore\")\n@observer\nexport class ExplorerTransactionSearchbar extends React.Component {\n txID: string;\n\n updateSearch = (e) => {\n this.txID =e.target.value;\n };\n\n executeSearch = (e: KeyboardEvent) => {\n if (e.key !== 'Enter') return;\n this.props.explorerStore.routerStore.push(`/explorer/transaction/${this.txID}`);\n };\n\n render() {\n let {searching} = this.props.explorerStore;\n\n return (\n \n \n \n \n \n \n \n \n \n );\n }\n}\n","import * as React from 'react';\nimport {KeyboardEvent} from 'react';\nimport NodeStore from \"../stores/NodeStore\";\nimport {inject, observer} from \"mobx-react\";\nimport FormControl from \"react-bootstrap/FormControl\";\nimport ExplorerStore from \"../stores/ExplorerStore\";\nimport Row from \"react-bootstrap/Row\";\nimport Col from \"react-bootstrap/Col\";\nimport InputGroup from \"react-bootstrap/InputGroup\";\n\ninterface Props {\n nodeStore?: NodeStore;\n explorerStore?: ExplorerStore;\n}\n\n@inject(\"nodeStore\")\n@inject(\"explorerStore\")\n@observer\nexport class ExplorerOutputSearchbar extends React.Component {\n outputID: string;\n\n updateSearch = (e) => {\n this.outputID =e.target.value;\n };\n\n executeSearch = (e: KeyboardEvent) => {\n if (e.key !== 'Enter') return;\n this.props.explorerStore.routerStore.push(`/explorer/output/${this.outputID}`);\n };\n\n render() {\n let {searching} = this.props.explorerStore;\n\n return (\n \n \n \n \n \n \n \n \n \n );\n }\n}\n","import * as React from 'react';\r\nimport Container from \"react-bootstrap/Container\";\r\nimport Row from \"react-bootstrap/Row\";\r\nimport Col from \"react-bootstrap/Col\";\r\nimport NodeStore from \"../stores/NodeStore\";\r\nimport {inject, observer} from \"mobx-react\";\r\nimport {ExplorerSearchbar} from \"./ExplorerSearchbar\";\r\nimport {ExplorerLiveFeed} from \"./ExplorerLiveFeed\";\r\nimport {ExplorerTransactionSearchbar} from \"./ExplorerTransactionSearchbar\";\r\nimport {ExplorerOutputSearchbar} from \"./ExplorerOutputSearchbar\";\r\n\r\ninterface Props {\r\n nodeStore?: NodeStore;\r\n}\r\n\r\n@inject(\"nodeStore\")\r\n@observer\r\nexport class Explorer extends React.Component {\r\n render() {\r\n return (\r\n \r\n

Tangle Explorer

\r\n \r\n \r\n

\r\n Search for addresses, blocks, transactions, outputs and spends.\r\n

\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n This explorer implementation is heavily inspired by thetangle.org.\r\n \r\n
\r\n );\r\n }\r\n}\r\n","import * as React from 'react';\r\nimport {KeyboardEvent} from 'react';\r\nimport NodeStore from \"../stores/NodeStore\";\r\nimport {inject, observer} from \"mobx-react\";\r\nimport FormControl from \"react-bootstrap/FormControl\";\r\nimport Form from \"react-bootstrap/Form\";\r\nimport ExplorerStore from \"../stores/ExplorerStore\";\r\n\r\ninterface Props {\r\n nodeStore?: NodeStore;\r\n explorerStore?: ExplorerStore;\r\n}\r\n\r\n@inject(\"nodeStore\")\r\n@inject(\"explorerStore\")\r\n@observer\r\nexport class NavExplorerSearchbar extends React.Component {\r\n\r\n updateSearch = (e) => {\r\n this.props.explorerStore.updateSearch(e.target.value);\r\n };\r\n\r\n executeSearch = (e: KeyboardEvent) => {\r\n if (e.key !== 'Enter') return;\r\n this.props.explorerStore.searchAny();\r\n };\r\n\r\n render() {\r\n let {search, searching} = this.props.explorerStore;\r\n return (\r\n
\r\n \r\n \r\n );\r\n }\r\n}\r\n","export enum WSMsgType {\r\n Status,\r\n BPSMetrics,\r\n Block,\r\n NeighborStats,\r\n ComponentCounterMetrics,\r\n TipsMetrics,\r\n Vertex,\r\n TXAccepted,\r\n TipInfo,\r\n Mana,\r\n ManaMapOverall,\r\n ManaMapOnline,\r\n BlkManaDashboardAddress,\r\n RateSetter,\r\n SpendSet,\r\n Spend,\r\n SlotInfo,\r\n}\r\n\r\nexport interface WSBlock {\r\n type: number;\r\n data: any;\r\n}\r\n\r\ntype DataHandler = (data: any) => void;\r\n\r\nlet handlers = {};\r\n\r\nexport function registerHandler(blkTypeID: number, handler: DataHandler) {\r\n handlers[blkTypeID] = handler;\r\n}\r\n\r\nexport function unregisterHandler(blkTypeID: number) {\r\n delete handlers[blkTypeID];\r\n}\r\n\r\nexport function connectWebSocket(path: string, onOpen, onClose, onError) {\r\n let loc = window.location;\r\n let uri = 'ws:';\r\n\r\n if (loc.protocol === 'https:') {\r\n uri = 'wss:';\r\n }\r\n uri += '//' + loc.host + path;\r\n\r\n let ws = new WebSocket(uri);\r\n\r\n ws.onopen = onOpen;\r\n ws.onclose = onClose;\r\n ws.onerror = onError;\r\n\r\n ws.onmessage = (e) => {\r\n let blk: WSBlock = JSON.parse(e.data);\r\n let handler = handlers[blk.type];\r\n if (!handler) {\r\n return;\r\n }\r\n handler(blk.data);\r\n };\r\n}\r\n","export enum PayloadType {\r\n TaggedData = 0,\r\n Transaction = 1,\r\n Faucet = 3,\r\n}\r\n\r\n// BasicPayload\r\nexport class BasicPayload {\r\n content_title: string;\r\n content: string;\r\n}\r\n\r\nexport class TaggedDataPayload {\r\n tag: string;\r\n data: string;\r\n}\r\n\r\nexport class FaucetPayload {\r\n address: string;\r\n accessManaPledgeID: string;\r\n consensusManaPledgeID: string;\r\n nonce: number;\r\n}\r\n\r\nexport class TransactionPayload {\r\n networkId: number;\r\n creationSlot: number;\r\n inputs: Array;\r\n outputs: Array;\r\n payload: any;\r\n unlocks: Array;\r\n}\r\n\r\nexport class Input {\r\n type: string;\r\n referencedOutputID: OutputID;\r\n output: Output;\r\n}\r\n\r\nexport class Output {\r\n outputID: OutputID;\r\n type: number;\r\n output: \r\n BasicOutput|\r\n AliasOutput|\r\n FoundryOutput|\r\n NFTOutput;\r\n}\r\n\r\nexport class OutputID {\r\n hex: string;\r\n transactionID: string;\r\n outputIndex: number;\r\n}\r\n\r\nexport class UnlockBlock {\r\n type: string;\r\n referencedIndex: number;\r\n signatureType: number;\r\n signature: SignatureEd25519;\r\n}\r\n\r\nexport class SignatureEd25519 {\r\n publicKey: string;\r\n signature: string;\r\n}\r\n\r\nexport class BasicOutput {\r\n amount: number\r\n nativeTokens?: Array;\r\n unlockConditions?: Array;\r\n features?: Array;\r\n}\r\n\r\nexport class AliasOutput {\r\n amount: number;\r\n nativeTokens?: Array;\r\n aliasId: string;\r\n stateIndex: number;\r\n stateMetadata?: string;\r\n foundryCounter: number;\r\n unlockConditions?: Array;\r\n features?: Array;\r\n immutableFeatures?: Array;\r\n}\r\n\r\nexport class FoundryOutput {\r\n amount: number;\r\n nativeTokens?: Array;\r\n serialNumber: number;\r\n tokenScheme: number; \r\n unlockConditions?: Array;\r\n features?: Array;\r\n immutableFeatures?: Array;\r\n}\r\n\r\nexport class NFTOutput {\r\n amount: number;\r\n nativeTokens?: Array;\r\n nftId: string; \r\n unlockConditions?: Array;\r\n features?: Array;\r\n immutableFeatures?: Array;\r\n}\r\n\r\nexport class Balance {\r\n value: number;\r\n color: string;\r\n}\r\n\r\nexport class Spend {\r\n tx_id: string;\r\n opinion: Opinion;\r\n}\r\n\r\nexport class Timestamp {\r\n blk_id: string;\r\n opinion: Opinion;\r\n}\r\n\r\n// @ts-ignore\r\nexport class Opinion {\r\n value: string;\r\n round: number;\r\n}\r\n\r\nexport class NativeToken {\r\n id: string;\r\n amount: number;\r\n}\r\n\r\n// address, stateController, Governor share the same struct\r\nexport class AddressUnlockCondition {\r\n type: number;\r\n address: Address;\r\n}\r\n\r\nexport class Address {\r\n type: number;\r\n pubKeyHash: string;\r\n}\r\nexport class StorageDepositReturnUnlockCondition {\r\n type: number;\r\n returnAddress: string;\r\n amount: number;\r\n}\r\n\r\nexport class TimelockUnlockCondition {\r\n type: number;\r\n unixTime?: number;\r\n}\r\n\r\nexport class ExpirationUnlockCondition {\r\n type: number;\r\n returnAddress: string;\r\n unixTime: number;\r\n}\r\n\r\nexport class Feature {\r\n type: number;\r\n feature:\r\n IssuerFeature |\r\n MetadataFeature |\r\n TagFeature;\r\n}\r\n\r\n// Issuer and sender share a struct\r\nexport class IssuerFeature {\r\n address: string\r\n}\r\n\r\nexport class MetadataFeature {\r\n data: string;\r\n}\r\n\r\nexport class TagFeature {\r\n tag: string;\r\n}\r\n\r\nexport function getPayloadType(p: number){\r\n switch (p) {\r\n case PayloadType.TaggedData:\r\n return \"TaggedData\"\r\n case PayloadType.Transaction:\r\n return \"Transaction\"\r\n case PayloadType.Faucet:\r\n return \"Faucet\"\r\n default:\r\n return \"Unknown\"\r\n }\r\n}\r\n","import { UnlockConditionAddress, UnlockConditionExpiration, UnlockConditionStorageDepositReturn, UnlockConditionTimelock } from \"app/components/Condition\";\nimport { AddressUnlockCondition, ExpirationUnlockCondition, StorageDepositReturnUnlockCondition, TimelockUnlockCondition } from \"app/misc/Payload\";\nimport * as React from 'react';\n\nexport enum ConditionType {\n Address = 0,\n StorageDepositReturn,\n Timelock,\n Expiration,\n StateControllerAddress,\n GovernorAddress,\n ImmutableAlias,\n}\n\nexport function resolveConditionType(condType: number) {\n switch (condType) {\n case ConditionType.Address:\n return \"Address Condition\";\n case ConditionType.StorageDepositReturn:\n return \"StorageDepositReturn Condition\";\n case ConditionType.Timelock:\n return \"Timelock Condition\";\n case ConditionType.Expiration:\n return \"Expiration Condition\";\n case ConditionType.StateControllerAddress:\n return \"StateControllerAddress Condition\";\n case ConditionType.GovernorAddress:\n return \"GovernorAddress Condition\";\n case ConditionType.ImmutableAlias:\n return \"ImmutableAlias Condition\";\n default:\n return \"Unknown Condition Type\";\n }\n}\n\nexport function conditionToComponent(cond: \n AddressUnlockCondition |\n StorageDepositReturnUnlockCondition |\n TimelockUnlockCondition |\n ExpirationUnlockCondition) {\n switch (cond.type) {\n case ConditionType.Address:\n case ConditionType.StateControllerAddress:\n case ConditionType.GovernorAddress:\n return ;\n case ConditionType.StorageDepositReturn:\n return ;\n case ConditionType.Expiration:\n return ;\n case ConditionType.Timelock:\n return ;\n }\n}","import { FeatureIssuer, FeatureMetadata, FeatureTag } from \"app/components/Feature\";\nimport { Feature, IssuerFeature, MetadataFeature, TagFeature } from \"app/misc/Payload\";\nimport * as React from 'react';\n\nexport enum FeatureType {\n Sender = 0,\n Issuer,\n Metadata,\n Tag,\n}\n\nexport function resolveSignatureType(sigType: number) {\n switch (sigType) {\n case FeatureType.Sender:\n return \"Sender Feature\";\n case FeatureType.Issuer:\n return \"Issuer Feature\";\n case FeatureType.Metadata:\n return \"Metadata Feature\";\n case FeatureType.Tag:\n return \"Tag Feature\";\n default:\n return \"Unknown Feature Type\";\n }\n}\n\n\nexport function featureToComponent(feat: Feature) {\n switch (feat.type) {\n case FeatureType.Sender:\n case FeatureType.Issuer:\n return ;\n case FeatureType.Metadata:\n return ;\n case FeatureType.Tag:\n return ;\n }\n}","import {\n BasicOutput as BasicJSON,\n AliasOutput as AliasJSON,\n FoundryOutput as FoundryJSON,\n NFTOutput as NFTJSON,\n Output,\n} from \"../misc/Payload\";\nimport * as React from \"react\";\nimport { BasicOutput } from \"app/components/BasicOutput\";\nimport { AliasOutput } from \"app/components/AliasOutput\";\nimport { FoundryOutput } from \"app/components/FoundryOutput\";\nimport { NFTOutput } from \"app/components/NFTOutput\";\n\nexport enum OutputType {\n Treasury = 2,\n Basic,\n Alias,\n Foundry,\n NFT,\n}\n\nexport function outputToComponent(output: Output) {\n let id = output.outputID\n switch (output.type) {\n case OutputType.Basic:\n return ;\n case OutputType.Alias:\n return ;\n case OutputType.Foundry:\n return ;\n case OutputType.NFT:\n return ;\n default:\n return;\n }\n}\n\n\nexport function outputTypeToName(type: number) {\n switch (type) {\n case OutputType.Basic:\n return \"Basic Output\";\n case OutputType.Alias:\n return \"Alias Output\";\n case OutputType.Foundry:\n return \"Foundry Output\";\n case OutputType.NFT:\n return \"NFT Output\";\n default:\n return;\n }\n}\n","import * as React from 'react';\nimport { NativeToken as NativeTokenJSON} from \"../misc/Payload\";\nimport ListGroup from \"react-bootstrap/ListGroup\";\n\n\ninterface Props {\n token: NativeTokenJSON;\n}\n\nexport class NativeToken extends React.Component {\n render() {\n return (\n
\n \n ID: {this.props.token.id}\n Amount: {this.props.token.amount}\n \n
\n );\n }\n}\n\n\n\n","import * as React from 'react';\nimport { \n TimelockUnlockCondition, \n AddressUnlockCondition,\n StorageDepositReturnUnlockCondition,\nExpirationUnlockCondition} from \"../misc/Payload\";\nimport ListGroup from \"react-bootstrap/ListGroup\";\n\ninterface AddressProps { \n unlock: AddressUnlockCondition;\n}\n\nexport class UnlockConditionAddress extends React.Component {\n render() {\n return (\n
\n \n Address Type: {this.props.unlock.address.type}\n \n \n Address: {this.props.unlock.address.pubKeyHash}\n \n
\n );\n }\n}\n\ninterface TimelockProps { \n unlock: TimelockUnlockCondition;\n}\n\nexport class UnlockConditionTimelock extends React.Component {\n render() {\n\n return (\n this.props.unlock.unixTime &&\n
\n \n Unix Time: {this.props.unlock.unixTime}\n \n
\n );\n }\n}\n\ninterface StorageDepositReturnProps { \n unlock: StorageDepositReturnUnlockCondition;\n}\n\nexport class UnlockConditionStorageDepositReturn extends React.Component {\n render() {\n\n return (\n
\n \n Return Address: {this.props.unlock.returnAddress}\n Amount: {this.props.unlock.amount}\n \n
\n );\n }\n}\n\ninterface ExpirationProps { \n unlock: ExpirationUnlockCondition;\n}\n\nexport class UnlockConditionExpiration extends React.Component {\n render() {\n\n return (\n
\n \n Return Address: {this.props.unlock.returnAddress}\n Unix Time: {this.props.unlock.unixTime}\n \n
\n );\n }\n}","import * as React from 'react';\nimport { \nIssuerFeature, MetadataFeature, TagFeature} from \"../misc/Payload\";\nimport ListGroup from \"react-bootstrap/ListGroup\";\n\ninterface IssuerProps { \n feature: IssuerFeature;\n}\n\nexport class FeatureIssuer extends React.Component {\n render() {\n return (\n
\n \n Address: {this.props.feature.address}\n \n
\n );\n }\n}\n\n\ninterface MetadataProps { \n feature: MetadataFeature;\n}\n\nexport class FeatureMetadata extends React.Component {\n render() {\n return (\n
\n \n Data: {this.props.feature.data}\n \n
\n );\n }\n}\n\ninterface TagProps { \n feature: TagFeature;\n}\n\nexport class FeatureTag extends React.Component {\n render() {\n return (\n
\n \n Data: {this.props.feature.tag}\n \n
\n );\n }\n}","import * as React from 'react';\nimport {OutputID, BasicOutput as BasicOutputJSON} from \"../misc/Payload\";\nimport ListGroup from \"react-bootstrap/ListGroup\";\nimport { NativeToken } from './NativeToken';\nimport { conditionToComponent } from 'app/utils/condition';\nimport { featureToComponent } from 'app/utils/feature';\n\ninterface Props {\n output: BasicOutputJSON\n id: OutputID;\n}\n\nexport class BasicOutput extends React.Component {\n render() {\n return (\n
\n \n Type: BasicOutput\n Amount: {this.props.output.amount}\n OutputID: {this.props.id.hex}\n {\n this.props.output.nativeTokens && this.props.output.nativeTokens.map((n, _) => )\n }\n {\n this.props.output.unlockConditions && this.props.output.unlockConditions.map((c, _) => conditionToComponent(c))\n }\n {\n this.props.output.features && this.props.output.features.map((f, _) => featureToComponent(f))\n }\n Transaction: {this.props.id.transactionID}\n Output Index: {this.props.id.outputIndex}\n \n
\n );\n }\n}","import * as React from 'react';\nimport {AliasOutput as AliasOutputJSON, OutputID} from \"../misc/Payload\";\nimport ListGroup from \"react-bootstrap/ListGroup\";\nimport { NativeToken } from './NativeToken';\nimport { conditionToComponent } from 'app/utils/condition';\nimport { featureToComponent } from 'app/utils/feature';\n\ninterface Props {\n output: AliasOutputJSON\n id: OutputID;\n}\n\nexport class AliasOutput extends React.Component {\n render() {\n return (\n
\n \n Type: AliasOutput\n Amount: {this.props.output.amount}\n OutputID: {this.props.id.hex}\n AliasID: {this.props.output.aliasId}\n StateIndex: {this.props.output.stateIndex}\n State Metadata: {this.props.output.stateMetadata} \n Foundry Counter: {this.props.output.foundryCounter}\n {\n this.props.output.nativeTokens && this.props.output.nativeTokens.map((n, _) => )\n }\n {\n this.props.output.unlockConditions && this.props.output.unlockConditions.map((c, _) => conditionToComponent(c))\n }\n {\n this.props.output.features && this.props.output.features.map((f, _) => featureToComponent(f))\n }\n Transaction: {this.props.id.transactionID}\n Output Index: {this.props.id.outputIndex}\n \n
\n );\n }\n}\n","import * as React from 'react';\nimport {OutputID, FoundryOutput as FoundryOutputJSON} from \"../misc/Payload\";\nimport ListGroup from \"react-bootstrap/ListGroup\";\nimport { NativeToken } from './NativeToken';\nimport { conditionToComponent } from 'app/utils/condition';\nimport { featureToComponent } from 'app/utils/feature';\n\ninterface Props {\n output: FoundryOutputJSON\n id: OutputID;\n}\n\nexport class FoundryOutput extends React.Component {\n render() {\n return (\n
\n \n Type: FoundryOutput\n Amount: {this.props.output.amount}\n OutputID: {this.props.id.hex}\n Serial Number: {this.props.output.serialNumber}\n Token Scheme: {this.props.output.tokenScheme} \n {\n this.props.output.nativeTokens && this.props.output.nativeTokens.map((n, _) => )\n }\n {\n this.props.output.unlockConditions && this.props.output.unlockConditions.map((c, _) => conditionToComponent(c))\n }\n {\n this.props.output.features && this.props.output.features.map((f, _) => featureToComponent(f))\n }\n Transaction: {this.props.id.transactionID}\n Output Index: {this.props.id.outputIndex}\n \n
\n );\n }\n}\n\n\n\n","import * as React from 'react';\nimport {OutputID, NFTOutput as NFTOutputJSON} from \"../misc/Payload\";\nimport {conditionToComponent} from \"../utils/condition\";\nimport ListGroup from \"react-bootstrap/ListGroup\";\nimport { featureToComponent } from 'app/utils/feature';\nimport { NativeToken } from './NativeToken';\n\ninterface Props {\n output: NFTOutputJSON\n id: OutputID;\n}\n\nexport class NFTOutput extends React.Component {\n render() {\n return (\n
\n \n Type: FoundryOutput\n Amount: {this.props.output.amount}\n OutputID: {this.props.id.hex}\n NFT ID: {this.props.output.nftId}\n {\n this.props.output.nativeTokens && this.props.output.nativeTokens.map((n, _) => )\n }\n {\n this.props.output.unlockConditions && this.props.output.unlockConditions.map((c, _) => conditionToComponent(c))\n }\n {\n this.props.output.features && this.props.output.features.map((f, _) => featureToComponent(f))\n }\n Transaction: {this.props.id.transactionID}\n Output Index: {this.props.id.outputIndex}\n \n
\n );\n }\n}\n\n\n\n","import { action, computed, observable } from 'mobx';\r\nimport { registerHandler, WSMsgType } from \"../misc/WS\";\r\nimport {\r\n BasicPayload,\r\n getPayloadType,\r\n Output,\r\n PayloadType,\r\n FaucetPayload,\r\n TransactionPayload,\r\n TaggedDataPayload,\r\n BasicOutput\r\n} from \"../misc/Payload\";\r\nimport * as React from \"react\";\r\nimport { Link } from 'react-router-dom';\r\nimport { RouterStore } from \"mobx-react-router\";\r\nimport { OutputType } from 'app/utils/output';\r\n\r\nexport const GenesisBlockID = \"1111111111111111111111111111111111111111111111111111111111111111\";\r\nexport const GenesisTransactionID = \"11111111111111111111111111111111\";\r\n\r\nexport class Block {\r\n id: string;\r\n networkID: number;\r\n protocolVersion: number;\r\n solidificationTimestamp: number;\r\n issuanceTimestamp: number;\r\n sequenceNumber: number;\r\n issuerID: string;\r\n signature: string;\r\n strongParents: Array;\r\n weakParents: Array;\r\n shallowLikedParents: Array;\r\n strongChildren: Array;\r\n weakChildren: Array;\r\n shallowLikeChildren: Array;\r\n solid: boolean;\r\n spendIDs: Array;\r\n scheduled: boolean;\r\n booked: boolean;\r\n orphaned: boolean;\r\n objectivelyInvalid: boolean;\r\n subjectivelyInvalid: boolean;\r\n acceptance: boolean;\r\n acceptanceTime: number;\r\n confirmation: boolean;\r\n confirmationTime: number;\r\n confirmationBySlot: boolean;\r\n confirmationBySlotTime: number;\r\n payloadType: number;\r\n payload: any;\r\n txId: string;\r\n rank: number;\r\n sequenceID: number;\r\n isPastMarker: boolean;\r\n pastMarkerGap: number;\r\n pastMarkers: string;\r\n commitmentID: string\r\n commitment: Commitment;\r\n latestConfirmedSlot: number;\r\n}\r\n\r\nexport class Commitment {\r\n index: number;\r\n prevID: string;\r\n rootsID: string;\r\n cumulativeWeight: number;\r\n}\r\nexport class AddressResult {\r\n address: string;\r\n explorerOutputs: Array;\r\n}\r\n\r\nexport class ExplorerOutput {\r\n id: OutputID;\r\n output: Output;\r\n metadata: OutputMetadata\r\n txTimestamp: number;\r\n pendingMana: number;\r\n}\r\n\r\nclass OutputID {\r\n base58: string;\r\n transactionID: string;\r\n outputIndex: number;\r\n}\r\n\r\nexport class OutputMetadata {\r\n outputID: OutputID;\r\n spendIDs: Array;\r\n consumerCount: number;\r\n confirmedConsumer: string // tx id of confirmed consumer\r\n confirmationState: number\r\n confirmationStateTime: number\r\n}\r\n\r\nclass OutputConsumer {\r\n transactionID: string;\r\n valid: string;\r\n}\r\n\r\nclass OutputConsumers {\r\n outputID: OutputID;\r\n consumers: Array\r\n}\r\n\r\nclass TransactionMetadata {\r\n transactionID: string;\r\n spendIDs: string[];\r\n booked: boolean;\r\n bookedTime: number;\r\n confirmationState: string;\r\n confirmationStateTime: number;\r\n}\r\n\r\nclass PendingMana {\r\n mana: number;\r\n outputID: string;\r\n error: string;\r\n timestamp: number;\r\n}\r\n\r\nclass SlotInfo {\r\n id: string;\r\n index: number;\r\n rootsID: string;\r\n prevID: string;\r\n cumulativeWeight: number;\r\n blocks: Array;\r\n transactions: Array;\r\n createdOutputs: Array;\r\n spentOutputs: Array;\r\n}\r\n\r\nclass SearchResult {\r\n block: BlockRef;\r\n address: AddressResult;\r\n}\r\n\r\nclass BlockRef {\r\n id: string;\r\n payload_type: number;\r\n}\r\n\r\nclass Tips {\r\n tips: Array\r\n}\r\n\r\nconst liveFeedSize = 50;\r\n\r\nenum QueryError {\r\n NotFound = 1,\r\n BadRequest = 2\r\n}\r\n\r\nexport class ExplorerStore {\r\n // live feed\r\n @observable latest_blocks: Array = [];\r\n\r\n // queries\r\n @observable blk: Block = null;\r\n @observable addr: AddressResult = null;\r\n @observable tx: any = null;\r\n @observable txMetadata: any = null;\r\n @observable txAttachments: any = [];\r\n @observable output: any = null;\r\n @observable outputMetadata: OutputMetadata = null;\r\n @observable outputConsumers: OutputConsumers = null;\r\n @observable pendingMana: PendingMana = null;\r\n @observable tips: Tips = null;\r\n @observable slotInfo: SlotInfo = new SlotInfo;\r\n\r\n // loading\r\n @observable query_loading: boolean = false;\r\n @observable query_err: any = null;\r\n\r\n // search\r\n @observable search: string = \"\";\r\n @observable search_result: SearchResult = null;\r\n @observable searching: boolean = false;\r\n @observable payload: any;\r\n @observable subpayload: any;\r\n\r\n routerStore: RouterStore;\r\n\r\n constructor(routerStore: RouterStore) {\r\n this.routerStore = routerStore;\r\n registerHandler(WSMsgType.Block, this.addLiveFeedBlock);\r\n }\r\n\r\n searchAny = async () => {\r\n this.updateSearching(true);\r\n try {\r\n let res = await fetch(`/api/search/${this.search}`);\r\n let result: SearchResult = await res.json();\r\n this.updateSearchResult(result);\r\n } catch (err) {\r\n this.updateQueryError(err);\r\n }\r\n };\r\n\r\n @action\r\n resetSearch = () => {\r\n this.search_result = null;\r\n this.searching = false;\r\n };\r\n\r\n @action\r\n updateSearchResult = (result: SearchResult) => {\r\n this.search_result = result;\r\n this.searching = false;\r\n let search = this.search;\r\n this.search = '';\r\n if (this.search_result.block) {\r\n this.routerStore.push(`/explorer/block/${search}`);\r\n return;\r\n }\r\n if (this.search_result.address) {\r\n this.routerStore.push(`/explorer/address/${search}`);\r\n return;\r\n }\r\n this.routerStore.push(`/explorer/404/${search}`);\r\n };\r\n\r\n @action\r\n updateSearch = (search: string) => {\r\n this.search = search;\r\n };\r\n\r\n @action\r\n updateSearching = (searching: boolean) => this.searching = searching;\r\n\r\n searchBlock = async (id: string) => {\r\n this.updateQueryLoading(true);\r\n const res = await this.fetchJson(\"get\", `/api/block/${id}`)\r\n\r\n this.updateBlock(res);\r\n };\r\n\r\n searchAddress = async (id: string) => {\r\n this.updateQueryLoading(true);\r\n const res = await this.fetchJson(\"get\", `/api/address/${id}`)\r\n this.updateAddress(res);\r\n };\r\n\r\n getSlotDetails = async (id: string) => {\r\n await this.getSlotInfo(id);\r\n }\r\n\r\n @action\r\n getTransaction = async (id: string) => {\r\n const tx = await this.fetchJson(\"get\", `/api/transaction/${id}`)\r\n \r\n for (let i = 0; i < tx.inputs.length; i++) {\r\n let inputID = tx.inputs[i] ? tx.inputs[i].referencedOutputID.hex : GenesisBlockID\r\n try {\r\n let referencedOutputRes = await fetch(`/api/output/${inputID}`)\r\n if (referencedOutputRes.status === 404) {\r\n let genOutput = new Output();\r\n genOutput.output = new BasicOutput();\r\n genOutput.output.amount = 0;\r\n genOutput.type = OutputType.Basic;\r\n genOutput.outputID = tx.inputs[i].referencedOutputID;\r\n tx.inputs[i].output = genOutput;\r\n }\r\n if (referencedOutputRes.status === 200) {\r\n tx.inputs[i].output = await referencedOutputRes.json()\r\n }\r\n } catch (err) {\r\n // ignore\r\n }\r\n this.tx = tx;\r\n }\r\n }\r\n\r\n @action\r\n getTransactionAttachments = async (id: string) => {\r\n const attachments = await this.fetchJson(\"get\", `/api/transaction/${id}/attachments`)\r\n this.txAttachments = attachments;\r\n }\r\n\r\n @action\r\n getTransactionMetadata = async (id: string) => {\r\n const res = await this.fetchJson(\"get\", `/api/transaction/${id}/metadata`)\r\n this.txMetadata = res;\r\n }\r\n\r\n @action\r\n getOutput = async (id: string) => {\r\n const output = await this.fetchJson(\"get\", `/api/output/${id}`)\r\n this.output = output;\r\n }\r\n\r\n @action\r\n getOutputMetadata = async (id: string) => {\r\n const res = await this.fetchJson(\"get\", `/api/output/${id}/metadata`)\r\n this.outputMetadata = res;\r\n }\r\n\r\n @action\r\n getOutputConsumers = async (id: string) => {\r\n const res = await this.fetchJson(\"get\", `/api/output/${id}/consumers`)\r\n this.outputConsumers = res;\r\n }\r\n\r\n @action\r\n getPendingMana = async (outputID: string) => {\r\n const res = await this.fetchJson(\"get\", `/api/mana/pending?OutputID=${outputID}`)\r\n this.pendingMana = res;\r\n }\r\n\r\n @action\r\n getSlotInfo = async (id: string) => {\r\n const res = await this.fetchJson(\"get\", `/api/slot/commitment/${id}`)\r\n this.slotInfo = res;\r\n }\r\n\r\n @action\r\n getTips = async () => {\r\n const res = await this.fetchJson(\"get\", \"/api/tips\")\r\n this.tips = res;\r\n }\r\n\r\n @action\r\n reset = () => {\r\n this.blk = null;\r\n this.query_err = null;\r\n // reset all variables\r\n this.tx = null;\r\n this.txMetadata = null;\r\n this.txAttachments = [];\r\n this.output = null;\r\n this.outputMetadata = null;\r\n this.outputConsumers = null;\r\n this.pendingMana = null;\r\n this.tips = null;\r\n this.slotInfo = new SlotInfo;\r\n };\r\n\r\n @action\r\n updateAddress = (addr: AddressResult) => {\r\n this.addr = addr;\r\n this.query_err = null;\r\n this.query_loading = false;\r\n };\r\n\r\n @action\r\n updateBlock = (blk: Block) => {\r\n this.blk = blk;\r\n this.blk.spendIDs = this.blk.spendIDs ? this.blk.spendIDs : []\r\n this.blk.strongChildren = this.blk.strongChildren ? this.blk.strongChildren : []\r\n this.blk.weakChildren = this.blk.weakChildren ? this.blk.weakChildren : []\r\n this.blk.shallowLikeChildren = this.blk.shallowLikeChildren ? this.blk.shallowLikeChildren : []\r\n this.blk.strongParents = this.blk.strongParents ? this.blk.strongParents : []\r\n this.blk.weakParents = this.blk.weakParents ? this.blk.weakParents : []\r\n this.blk.shallowLikedParents = this.blk.shallowLikedParents ? this.blk.shallowLikedParents : []\r\n\r\n this.query_err = null;\r\n this.query_loading = false;\r\n switch (blk.payloadType) {\r\n case PayloadType.Transaction:\r\n this.payload = blk.payload as TransactionPayload\r\n break;\r\n case PayloadType.TaggedData:\r\n this.payload = blk.payload as TaggedDataPayload\r\n break;\r\n case PayloadType.Faucet:\r\n this.payload = blk.payload as FaucetPayload\r\n default:\r\n this.payload = blk.payload as BasicPayload\r\n break;\r\n }\r\n };\r\n\r\n @action\r\n updateQueryLoading = (loading: boolean) => this.query_loading = loading;\r\n\r\n @action\r\n updateQueryError = (err: any) => {\r\n this.query_err = err;\r\n this.query_loading = false;\r\n this.searching = false;\r\n };\r\n\r\n @action\r\n addLiveFeedBlock = (blk: BlockRef) => {\r\n // prevent duplicates (should be fast with only size 10)\r\n if (this.latest_blocks.findIndex((t) => t.id == blk.id) === -1) {\r\n if (this.latest_blocks.length >= liveFeedSize) {\r\n this.latest_blocks.shift();\r\n }\r\n this.latest_blocks.push(blk);\r\n }\r\n };\r\n\r\n @computed\r\n get blksLiveFeed() {\r\n let feed = [];\r\n for (let i = this.latest_blocks.length - 1; i >= 0; i--) {\r\n let blk = this.latest_blocks[i];\r\n feed.push(\r\n \r\n \r\n \r\n {blk.id}\r\n \r\n \r\n \r\n {getPayloadType(blk.payload_type)}\r\n \r\n \r\n );\r\n }\r\n return feed;\r\n }\r\n\r\n @computed\r\n get tipsList() {\r\n let list = [];\r\n if (this.tips) {\r\n for (let i = 0; i < this.tips.tips.length; i++) {\r\n let blkId = this.tips.tips[i];\r\n list.push(\r\n \r\n \r\n \r\n {blkId}\r\n \r\n \r\n \r\n );\r\n }\r\n }\r\n return list;\r\n }\r\n\r\n async fetchJson(\r\n method: 'get' | 'delete',\r\n route: string,\r\n requestData?: T\r\n ): Promise {\r\n\r\n const body = requestData ? JSON.stringify(requestData, function (_, v) {\r\n // keep Uint8Array as it is\r\n if (v instanceof Uint8Array) {\r\n return Array.from(v);\r\n }\r\n return v;\r\n })\r\n : undefined;\r\n\r\n const response = await fetch(`${route}`, {\r\n method,\r\n headers: { 'Content-Type': 'application/json' },\r\n body\r\n });\r\n\r\n if (response.ok) {\r\n const responseData: U = await response.json();\r\n return responseData;\r\n }\r\n\r\n switch (response.status) {\r\n case 404:\r\n this.updateQueryError(QueryError.NotFound);\r\n break;\r\n case 400:\r\n this.updateQueryError(QueryError.BadRequest);\r\n break;\r\n default:\r\n this.updateQueryError('unexpected error')\r\n break;\r\n }\r\n return {} as U;\r\n }\r\n}\r\n\r\nexport default ExplorerStore;\r\n","import * as React from 'react';\r\nimport Row from \"react-bootstrap/Row\";\r\nimport Col from \"react-bootstrap/Col\";\r\nimport {inject, observer} from \"mobx-react\";\r\nimport ExplorerStore from \"../stores/ExplorerStore\";\r\n\r\ninterface Props {\r\n explorerStore?: ExplorerStore;\r\n}\r\n\r\n@inject(\"explorerStore\")\r\n@observer\r\nexport class BasicPayload extends React.Component {\r\n\r\n render() {\r\n let {payload} = this.props.explorerStore;\r\n return (\r\n payload &&\r\n \r\n \r\n \r\n {payload.content_title}: {' '} \r\n {payload.content}\r\n \r\n \r\n \r\n );\r\n }\r\n}\r\n","export enum SignatureType {\n Ed25519 = 0,\n BLS = 1,\n}\n\nexport function resolveSignatureType(sigType: number) {\n switch (sigType) {\n case SignatureType.Ed25519:\n return \"Ed25519 Signature\";\n case SignatureType.BLS:\n return \"BLS Signature\";\n default:\n return \"Unknown Signature Type\";\n }\n}","import * as React from 'react';\nimport Row from \"react-bootstrap/Row\";\nimport { Col, ListGroup } from 'react-bootstrap';\nimport { SignatureEd25519 } from 'app/misc/Payload';\n\ninterface Props {\n signature?: SignatureEd25519;\n}\n\nexport class Ed25519Signature extends React.Component {\n\n render() {\n let signature = this.props.signature;\n return (\n \n \n \n \n Public Key: {signature.publicKey}\n Signature: {signature.signature}\n \n \n \n \n );\n }\n}\n","import {UnlockBlock as unlockBlockJSON} from \"../misc/Payload\";\nimport * as React from \"react\";\nimport Row from \"react-bootstrap/Row\";\nimport Col from \"react-bootstrap/Col\";\nimport Badge from \"react-bootstrap/Badge\";\nimport ListGroup from \"react-bootstrap/ListGroup\";\nimport {SignatureType, resolveSignatureType} from \"../utils/unlock_block\";\nimport { Ed25519Signature } from \"./Ed25519Signature\";\n\ninterface UnlockProps {\n block: unlockBlockJSON;\n key: number;\n}\n\nexport class UnlockBlock extends React.Component {\n renderSignatureComponent() {\n switch (this.props.block.signatureType) {\n case SignatureType.Ed25519:\n return \n }\n }\n\n render() {\n let block = this.props.block;\n return (\n \n \n Index: {this.props.key}\n \n Type: {block.type}\n {\n block.signatureType && Signature Type: {resolveSignatureType(block.signatureType)}\n } \n {\n this.renderSignatureComponent()\n } \n \n \n \n );\n }\n}","import * as React from \"react\";\nimport Row from \"react-bootstrap/Row\";\nimport Col from \"react-bootstrap/Col\";\nimport ListGroup from \"react-bootstrap/ListGroup\";\nimport Badge from \"react-bootstrap/Badge\";\nimport {outputToComponent} from \"../utils/output\";\nimport {IconContext} from \"react-icons\";\nimport {FaChevronCircleRight} from \"react-icons/fa\";\nimport {UnlockBlock} from \"./UnlockBlock\";\nimport {TransactionPayload} from \"../misc/Payload\";\n\nconst style = {\n maxHeight: \"1000px\",\n overflow: \"auto\",\n width: \"47%\",\n fontSize: \"85%\",\n}\n\ninterface Props {\n txID?: string;\n tx?: TransactionPayload;\n}\n\nexport class Transaction extends React.Component {\n render() {\n let txID = this.props.txID;\n let tx = this.props.tx;\n return (\n tx && txID &&\n
\n

Transaction

\n

{txID}

\n \n \n
Transaction Essence
\n \n ID: {txID}\n Network ID: {tx.networkId}\n Creation Time: {tx.creationSlot}\n \n
\n
\n Inputs\n
\n {tx.inputs.map((input, i) => {\n return (\n
\n Index: {i}\n
\n \n Output ID: {input.referencedOutputID.hex}\n \n
\n
\n )\n })}\n
\n \n
\n \n
\n
\n
\n Outputs\n
\n {tx.outputs.map((output, i) => {\n return (\n
\n Index: {i}\n {outputToComponent(output)}\n
\n )\n })}\n
\n
\n
\n { tx.payload && Data payload: {tx.payload}}\n
\n \n
\n \n \n
Unlock Blocks
\n \n {\n tx.unlocks.map((block,index) => (\n \n ))}\n \n \n
\n
\n );\n }\n}","import * as React from 'react';\r\nimport {inject, observer} from \"mobx-react\";\r\nimport {ExplorerStore} from \"../stores/ExplorerStore\";\r\nimport {Transaction} from \"./Transaction\";\r\n// import {ExplorerTransactionMetadata} from \"./ExplorerTransactionMetadata\";\r\nimport Container from \"react-bootstrap/Container\";\r\n\r\ninterface Props {\r\n explorerStore?: ExplorerStore;\r\n}\r\n\r\n@inject(\"explorerStore\")\r\n@observer\r\nexport class TransactionPayload extends React.Component {\r\n render() {\r\n let {payload, blk} = this.props.explorerStore;\r\n let txID = blk.txId;\r\n let tx = payload;\r\n\r\n return (\r\n \r\n {/* */}\r\n \r\n \r\n );\r\n }\r\n}\r\n","import * as React from 'react';\nimport Row from \"react-bootstrap/Row\";\nimport Col from \"react-bootstrap/Col\";\nimport {inject, observer} from \"mobx-react\";\nimport {ExplorerStore} from \"../stores/ExplorerStore\";\nimport ListGroup from \"react-bootstrap/ListGroup\";\n\ninterface Props {\n explorerStore?: ExplorerStore;\n}\n\n@inject(\"explorerStore\")\n@observer\nexport class FaucetPayload extends React.Component {\n\n render() {\n let {payload} = this.props.explorerStore;\n return (\n payload &&\n \n \n \n \n \n Address: {payload.address}\n \n \n Access Mana Pledge ID: {payload.accessManaPledgeID}\n \n \n Consensus Mana Pledge ID: {payload.consensusManaPledgeID}\n \n \n Nonce: {payload.nonce}\n \n \n \n \n \n );\n }\n}\n","import * as React from 'react';\nimport Row from \"react-bootstrap/Row\";\nimport {inject, observer} from \"mobx-react\";\nimport ExplorerStore from \"../stores/ExplorerStore\";\nimport { Col, ListGroup } from 'react-bootstrap';\n\ninterface Props {\n explorerStore?: ExplorerStore;\n}\n\n@inject(\"explorerStore\")\n@observer\nexport class TaggedDataPayload extends React.Component {\n\n render() {\n let {payload} = this.props.explorerStore;\n \n return (\n payload &&\n \n \n \n \n Tag: {payload.tag}\n Data: {payload.data}\n \n \n \n \n );\n }\n}\n","import * as React from 'react';\r\nimport Container from \"react-bootstrap/Container\";\r\nimport Row from \"react-bootstrap/Row\";\r\nimport Col from \"react-bootstrap/Col\";\r\nimport NodeStore from \"../stores/NodeStore\";\r\nimport { inject, observer } from \"mobx-react\";\r\nimport ExplorerStore, { GenesisBlockID } from \"../stores/ExplorerStore\";\r\nimport Spinner from \"react-bootstrap/Spinner\";\r\nimport ListGroup from \"react-bootstrap/ListGroup\";\r\nimport Badge from \"react-bootstrap/Badge\";\r\nimport * as dateformat from 'dateformat';\r\nimport { Link } from 'react-router-dom';\r\nimport { BasicPayload } from './BasicPayload'\r\nimport { TransactionPayload } from './TransactionPayload'\r\nimport { getPayloadType, PayloadType } from '../misc/Payload'\r\nimport { FaucetPayload } from './FaucetPayload';\r\nimport { TaggedDataPayload } from './TaggedDataPayload';\r\n\r\ninterface Props {\r\n nodeStore?: NodeStore;\r\n explorerStore?: ExplorerStore;\r\n match?: {\r\n params: {\r\n id: string,\r\n }\r\n }\r\n}\r\n\r\n@inject(\"nodeStore\")\r\n@inject(\"explorerStore\")\r\n@observer\r\nexport class ExplorerBlockQueryResult extends React.Component {\r\n\r\n componentDidMount() {\r\n this.props.explorerStore.resetSearch();\r\n this.props.explorerStore.searchBlock(this.props.match.params.id);\r\n }\r\n\r\n componentWillUnmount() {\r\n this.props.explorerStore.reset();\r\n }\r\n\r\n getSnapshotBeforeUpdate(prevProps: Props, prevState) {\r\n if (prevProps.match.params.id !== this.props.match.params.id) {\r\n this.props.explorerStore.searchBlock(this.props.match.params.id);\r\n }\r\n return null;\r\n }\r\n\r\n getPayloadType() {\r\n return getPayloadType(this.props.explorerStore.blk.payloadType)\r\n }\r\n\r\n renderPayload() {\r\n switch (this.props.explorerStore.blk.payloadType) {\r\n case PayloadType.Transaction:\r\n if (!this.props.explorerStore.blk.objectivelyInvalid) {\r\n return \r\n }\r\n return \r\n case PayloadType.TaggedData:\r\n return \r\n case PayloadType.Faucet:\r\n return \r\n default:\r\n return \r\n }\r\n }\r\n\r\n render() {\r\n let { id } = this.props.match.params;\r\n let { blk, query_loading, query_err } = this.props.explorerStore;\r\n\r\n if (id === GenesisBlockID) {\r\n return (\r\n \r\n

Genesis Block

\r\n

In the beginning there was the genesis.

\r\n
\r\n );\r\n }\r\n\r\n if (query_err) {\r\n return (\r\n \r\n

Block not available - 404

\r\n

\r\n Block with ID {id} not found.\r\n

\r\n
\r\n );\r\n }\r\n return (\r\n \r\n

Block

\r\n

\r\n {id} {' '}\r\n {\r\n blk &&\r\n \r\n
\r\n \r\n \r\n Issuance Time: {dateformat(new Date(blk.issuanceTimestamp * 1000), \"dd.mm.yyyy HH:MM:ss\")}\r\n \r\n \r\n Solidification Time: {dateformat(new Date(blk.solidificationTimestamp * 1000), \"dd.mm.yyyy HH:MM:ss\")}\r\n \r\n \r\n
\r\n }\r\n

\r\n {\r\n blk &&\r\n \r\n \r\n \r\n \r\n \r\n Payload Type: {this.getPayloadType()}\r\n \r\n \r\n Sequence Number: {blk.sequenceNumber}\r\n \r\n \r\n SpendIDs:\r\n \r\n {\r\n blk.spendIDs.map((value, index) => {\r\n return (\r\n \r\n {value}\r\n \r\n )\r\n })\r\n }\r\n \r\n \r\n \r\n Solid: {blk.solid ? 'Yes' : 'No'}\r\n \r\n \r\n Scheduled: {blk.scheduled ? 'Yes' : 'No'}\r\n \r\n \r\n Booked: {blk.booked ? 'Yes' : 'No'}\r\n \r\n \r\n Orphaned: {blk.orphaned ? 'Yes' : 'No'}\r\n \r\n \r\n Objectively Invalid: {blk.objectivelyInvalid ? 'Yes' : 'No'}\r\n \r\n \r\n Subjectively Invalid: {blk.subjectivelyInvalid ? 'Yes' : 'No'}\r\n \r\n \r\n Acceptance: {blk.acceptance ? 'Yes' : 'No'}\r\n \r\n \r\n Acceptance\r\n Time: {dateformat(new Date(blk.acceptanceTime * 1000), \"dd.mm.yyyy HH:MM:ss\")}\r\n \r\n \r\n Confirmation: {blk.confirmation ? 'Yes' : 'No'}\r\n \r\n \r\n Confirmation\r\n Time: {dateformat(new Date(blk.confirmationTime * 1000), \"dd.mm.yyyy HH:MM:ss\")}\r\n \r\n \r\n Confirmation by slot: {blk.confirmationBySlot ? 'Yes' : 'No'}\r\n \r\n \r\n Confirmation by slot\r\n time: {dateformat(new Date(blk.confirmationBySlotTime * 1000), \"dd.mm.yyyy HH:MM:ss\")}\r\n \r\n \r\n \r\n \r\n\r\n {\r\n \r\n \r\n
Slot Commitment
\r\n \r\n \r\n CommitmentID: {blk.commitmentID}\r\n \r\n \r\n \r\n \r\n Index: {blk.commitment.index}\r\n \r\n \r\n prevID: {blk.commitment.prevID}\r\n \r\n \r\n rootsID: {blk.commitment.rootsID}\r\n \r\n \r\n Cumulative Weight: {blk.commitment.cumulativeWeight}\r\n \r\n \r\n \r\n \r\n LatestConfirmedSlot: {blk.latestConfirmedSlot}\r\n \r\n \r\n \r\n
\r\n }\r\n\r\n {\r\n !!blk.rank &&\r\n \r\n \r\n
Markers
\r\n \r\n \r\n Rank: {blk.rank}\r\n \r\n \r\n SequenceID: {blk.sequenceID}\r\n \r\n \r\n PastMarkerGap: {blk.pastMarkerGap}\r\n \r\n \r\n IsPastMarker: {blk.isPastMarker ? 'Yes' : 'No'}\r\n \r\n \r\n Past markers: {blk.pastMarkers}\r\n \r\n \r\n \r\n
\r\n }\r\n\r\n\r\n \r\n \r\n \r\n \r\n IssuerID: {blk.issuerID}\r\n \r\n \r\n Block Signature: {blk.signature}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n blk.strongParents.map((value, index) => {\r\n return (\r\n \r\n Strong Parents {index + 1}: {' '}\r\n \r\n {blk.strongParents[index]}\r\n \r\n \r\n )\r\n })\r\n }\r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n blk.weakParents.map((value, index) => {\r\n return (\r\n \r\n Weak Parents {index + 1}: {' '}\r\n \r\n {blk.weakParents[index]}\r\n \r\n \r\n )\r\n })\r\n }\r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n blk.shallowLikedParents.map((value, index) => {\r\n return (\r\n \r\n Shallow Liked Parents {index + 1}: {' '}\r\n \r\n {blk.shallowLikedParents[index]}\r\n \r\n \r\n )\r\n })\r\n }\r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n blk.strongChildren.map((value, index) => {\r\n return (\r\n \r\n Strong Child {index + 1}: {' '}\r\n \r\n {blk.strongChildren[index]}\r\n \r\n \r\n )\r\n })\r\n }\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n {\r\n blk.weakChildren.map((value, index) => {\r\n return (\r\n \r\n Weak Child {index + 1}: {' '}\r\n \r\n {blk.weakChildren[index]}\r\n \r\n \r\n )\r\n })\r\n }\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n {\r\n blk.shallowLikeChildren.map((value, index) => {\r\n return (\r\n \r\n ShallowLike Child {index + 1}: {' '}\r\n \r\n {blk.shallowLikeChildren[index]}\r\n \r\n \r\n )\r\n })\r\n }\r\n \r\n \r\n \r\n\r\n \r\n \r\n

Payload

\r\n \r\n
\r\n \r\n \r\n {this.renderPayload()}\r\n \r\n \r\n
\r\n }\r\n \r\n \r\n {query_loading && }\r\n \r\n \r\n
\r\n );\r\n }\r\n}\r\n","export function displayManaUnit(mana: number): string {\n let result = \"\"\n // round to nearest integer\n let roundedMana = Math.round(mana);\n if (roundedMana < 1000) {\n result = roundedMana.toString(10) + \" m\"; // mana\n } else if (roundedMana < 1000000) {\n result = (roundedMana / 1000).toFixed(3) + \" Km\"; // kilomana\n }\n else if (roundedMana < 1000000000) {\n result = (roundedMana / 1000000).toFixed(3) + \" Mm\"; // megamana\n }\n else if (roundedMana < 1000000000000) {\n result = (roundedMana / 1000000000).toFixed(3) + \" Gm\"; // gigamana\n }\n else if (roundedMana < 1000000000000000) {\n result = (roundedMana / 1000000000000).toFixed(3) + \" Tm\"; // terramana\n } else {\n result = (roundedMana / 1000000000000000).toFixed(3) + \" Pm\"; // petamana\n }\n return result\n}","import * as React from 'react';\r\nimport Container from \"react-bootstrap/Container\";\r\nimport Row from \"react-bootstrap/Row\";\r\nimport Col from \"react-bootstrap/Col\";\r\nimport NodeStore from \"../stores/NodeStore\";\r\nimport {inject, observer} from \"mobx-react\";\r\nimport {ExplorerStore, ExplorerOutput, OutputMetadata} from \"../stores/ExplorerStore\";\r\nimport Spinner from \"react-bootstrap/Spinner\";\r\nimport ListGroup from \"react-bootstrap/ListGroup\";\r\nimport Alert from \"react-bootstrap/Alert\";\r\nimport {displayManaUnit} from \"../utils\";\r\nimport {OutputType, outputToComponent, outputTypeToName} from \"../utils/output\";\r\nimport {Button, ListGroupItem} from \"react-bootstrap\";\r\n\r\ninterface Props {\r\n nodeStore?: NodeStore;\r\n explorerStore?: ExplorerStore;\r\n match?: {\r\n params: {\r\n id: string,\r\n }\r\n }\r\n}\r\n\r\n@inject(\"nodeStore\")\r\n@inject(\"explorerStore\")\r\n@observer\r\nexport class ExplorerAddressQueryResult extends React.Component {\r\n\r\n componentDidMount() {\r\n this.props.explorerStore.resetSearch();\r\n this.props.explorerStore.searchAddress(this.props.match.params.id);\r\n }\r\n\r\n getSnapshotBeforeUpdate(prevProps: Props, prevState) {\r\n if (prevProps.match.params.id !== this.props.match.params.id) {\r\n this.props.explorerStore.searchAddress(this.props.match.params.id);\r\n }\r\n return null;\r\n }\r\n\r\n render() {\r\n let {id} = this.props.match.params;\r\n let {addr, query_loading, query_err} = this.props.explorerStore;\r\n // spent outputs\r\n let spent: Array = [];\r\n // unspent outputs\r\n let unspent: Array = [];\r\n let available_balances = [];\r\n\r\n if (query_err) {\r\n return (\r\n \r\n

Address not available - 404

\r\n

\r\n Address {id} not found.\r\n

\r\n
\r\n );\r\n }\r\n\r\n if (addr) {\r\n // separate spent from unspent\r\n addr.explorerOutputs.forEach((o) => {\r\n if (o.metadata.consumerCount > 0) {\r\n spent.push(o);\r\n } else {\r\n unspent.push(o);\r\n }\r\n })\r\n\r\n let timestampCompareFn = (a: ExplorerOutput, b: ExplorerOutput) => {\r\n if (b.txTimestamp === a.txTimestamp) {\r\n // outputs have the same timestamp\r\n if (b.id.transactionID == a.id.transactionID) {\r\n // outputs belong to the same tx, sort based on index\r\n return b.id.outputIndex - a.id.outputIndex;\r\n }\r\n // same timestamp, but different tx\r\n return b.id.transactionID.localeCompare(a.id.transactionID);\r\n }\r\n return b.txTimestamp - a.txTimestamp;\r\n }\r\n\r\n // sort outputs\r\n unspent.sort(timestampCompareFn)\r\n spent.sort(timestampCompareFn)\r\n }\r\n return (\r\n \r\n

Address {id} {addr !== null && ({addr.explorerOutputs.length} Outputs)}

\r\n {\r\n addr !== null ?\r\n \r\n {\r\n addr.explorerOutputs !== null && addr.explorerOutputs.length === 100 &&\r\n \r\n Max. 100 outputs are shown.\r\n \r\n }\r\n \r\n \r\n \r\n

Available Balances

\r\n {available_balances.length === 0? \"There are no balances currently available.\" :
\r\n \r\n \r\n \r\n Color\r\n \r\n \r\n Balance\r\n \r\n \r\n \r\n {available_balances}\r\n
}\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n

Unspent Outputs

\r\n {unspent.length === 0? \"There are no unspent outputs currently available.\" :
\r\n {unspent.map((o) => {\r\n return \r\n })}\r\n
\r\n }\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n

Spent Outputs

\r\n {spent.length === 0? \"There are no spent outputs currently available.\" :
\r\n {spent.map((o) => {\r\n return \r\n })}\r\n
\r\n }\r\n
\r\n \r\n
\r\n
\r\n :\r\n \r\n \r\n {query_loading && }\r\n \r\n \r\n }\r\n
\r\n );\r\n }\r\n}\r\n\r\ninterface oProps {\r\n output: ExplorerOutput;\r\n}\r\n\r\nclass OutputButton extends React.Component {\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n enabled: false\r\n };\r\n }\r\n\r\n render() {\r\n return (\r\n \r\n { this.setState({enabled: !this.state.enabled})}}\r\n block\r\n >\r\n \r\n {this.props.output.id.base58} \r\n {outputTypeToName(this.props.output.output.type)} \r\n {new Date(this.props.output.txTimestamp * 1000).toLocaleString()}\r\n \r\n \r\n \r\n \r\n {\r\n this.state.enabled? outputToComponent(this.props.output.output): null\r\n }\r\n \r\n \r\n {\r\n this.state.enabled? : null\r\n }\r\n \r\n \r\n \r\n );\r\n }\r\n}\r\n\r\ninterface omProps {\r\n metadata: OutputMetadata;\r\n timestamp: number;\r\n pendingMana: number;\r\n}\r\n\r\nclass OutputMeta extends React.Component {\r\n render() {\r\n let metadata = this.props.metadata;\r\n let timestamp = this.props.timestamp;\r\n let pendingMana = this.props.pendingMana;\r\n return (\r\n \r\n SpendIDs: \r\n \r\n {\r\n metadata.spendIDs.map((value, index) => {\r\n return (\r\n \r\n {value}\r\n \r\n )\r\n })\r\n }\r\n \r\n Pending mana: {displayManaUnit(pendingMana)}\r\n Timestamp: {new Date(timestamp * 1000).toLocaleString()}\r\n Consumer Count: {metadata.consumerCount}\r\n { metadata.confirmedConsumer && Confirmed Consumer: {metadata.confirmedConsumer} }\r\n \r\n );\r\n }\r\n}\r\n\r\nlet getVariant = (outputType: number) => {\r\n switch (outputType) {\r\n case OutputType.Basic:\r\n return \"light\";\r\n case OutputType.Alias:\r\n return \"light\";\r\n case OutputType.Foundry:\r\n return \"success\";\r\n case OutputType.NFT:\r\n return \"info\";\r\n default:\r\n return \"danger\";\r\n }\r\n}","import * as React from 'react';\r\nimport Container from \"react-bootstrap/Container\";\r\nimport NodeStore from \"../stores/NodeStore\";\r\nimport {inject, observer} from \"mobx-react\";\r\nimport ExplorerStore from \"../stores/ExplorerStore\";\r\n\r\ninterface Props {\r\n nodeStore?: NodeStore;\r\n explorerStore?: ExplorerStore;\r\n match?: {\r\n params: {\r\n search: string,\r\n }\r\n }\r\n}\r\n\r\n@inject(\"nodeStore\")\r\n@inject(\"explorerStore\")\r\n@observer\r\nexport class Explorer404 extends React.Component {\r\n\r\n render() {\r\n let {search} = this.props.match.params;\r\n return (\r\n \r\n

Tangle Explorer 404

\r\n

\r\n The search via '{search}' did not yield any results.\r\n

\r\n
\r\n );\r\n }\r\n}\r\n","import * as React from 'react';\r\nimport Row from \"react-bootstrap/Row\";\r\nimport Col from \"react-bootstrap/Col\";\r\nimport NodeStore from \"../stores/NodeStore\";\r\nimport {inject, observer} from \"mobx-react\";\r\nimport ListGroup from \"react-bootstrap/ListGroup\";\r\nimport Card from \"react-bootstrap/Card\";\r\nimport * as prettysize from 'prettysize';\r\nimport Badge from \"react-bootstrap/Badge\";\r\nimport {defaultChartOptions} from \"../misc/Chart\";\r\nimport {Line} from \"react-chartjs-2\";\r\n\r\ninterface Props {\r\n nodeStore?: NodeStore;\r\n identity: string;\r\n}\r\n\r\nconst lineChartOptions = Object.assign({\r\n scales: {\r\n xAxes: [{\r\n ticks: {\r\n autoSkip: true,\r\n maxTicksLimit: 8,\r\n fontSize: 8,\r\n minRotation: 0,\r\n maxRotation: 0,\r\n },\r\n showXLabels: 10,\r\n gridLines: {\r\n display: false\r\n }\r\n }],\r\n yAxes: [{\r\n gridLines: {\r\n display: false\r\n },\r\n ticks: {\r\n callback: function (value, index, values) {\r\n return prettysize(Math.abs(value));\r\n },\r\n maxTicksLimit: 3,\r\n fontSize: 10,\r\n },\r\n }],\r\n },\r\n tooltips: {\r\n callbacks: {\r\n label: function (tooltipItem, data) {\r\n let label = data.datasets[tooltipItem.datasetIndex].label;\r\n return `${label} ${prettysize(Math.abs(tooltipItem.value))}`;\r\n }\r\n }\r\n }\r\n}, defaultChartOptions);\r\n\r\n@inject(\"nodeStore\")\r\n@observer\r\nexport class Neighbor extends React.Component {\r\n render() {\r\n let neighborMetrics = this.props.nodeStore.neighbor_metrics.get(this.props.identity);\r\n let last = neighborMetrics.current;\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n
\r\n {last.id}\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n Origin:\r\n {' '}\r\n {last.connection_origin}\r\n \r\n \r\n \r\n \r\n \r\n \r\n Address: {last.address}\r\n \r\n \r\n \r\n \r\n \r\n \r\n
Network (Tx/Rx)
\r\n \r\n {'Total: '}\r\n {last.packets_written}\r\n {' / '}\r\n {last.packets_read}\r\n \r\n {' '}\r\n \r\n {'Current: '}\r\n {prettysize(neighborMetrics.currentNetIO && neighborMetrics.currentNetIO.tx)}\r\n {' / '}\r\n {prettysize(neighborMetrics.currentNetIO && neighborMetrics.currentNetIO.rx)}\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n );\r\n }\r\n}\r\n","import * as React from 'react';\r\nimport Container from \"react-bootstrap/Container\";\r\nimport NodeStore from \"../stores/NodeStore\";\r\nimport {inject, observer} from \"mobx-react\";\r\nimport {Neighbor} from \"./Neighbor\";\r\n\r\ninterface Props {\r\n nodeStore?: NodeStore;\r\n}\r\n\r\n@inject(\"nodeStore\")\r\n@observer\r\nexport class Neighbors extends React.Component {\r\n render() {\r\n let neighborsEle = [];\r\n this.props.nodeStore.neighbor_metrics.forEach((v, k) => {\r\n neighborsEle.push();\r\n });\r\n return (\r\n \r\n

Neighbors {neighborsEle.length > 0 && ({neighborsEle.length})}

\r\n

\r\n Currently connected neighbors.\r\n

\r\n {neighborsEle}\r\n
\r\n );\r\n }\r\n}\r\n","import * as React from 'react';\r\nimport { KeyboardEvent } from 'react';\r\nimport Container from \"react-bootstrap/Container\";\r\nimport { inject, observer } from \"mobx-react\";\r\nimport { Link } from 'react-router-dom';\r\nimport VisualizerStore from \"../stores/VisualizerStore\";\r\nimport NodeStore from \"../stores/NodeStore\";\r\nimport Badge from \"react-bootstrap/Badge\";\r\nimport FormControl from \"react-bootstrap/FormControl\";\r\nimport InputGroup from \"react-bootstrap/InputGroup\";\r\nimport Row from \"react-bootstrap/Row\";\r\nimport Col from \"react-bootstrap/Col\";\r\nimport Button from \"react-bootstrap/Button\";\r\nimport Popover from \"react-bootstrap/Popover\";\r\nimport OverlayTrigger from \"react-bootstrap/OverlayTrigger\";\r\n\r\ninterface Props {\r\n visualizerStore?: VisualizerStore;\r\n nodeStore?: NodeStore;\r\n}\r\n\r\n@inject(\"visualizerStore\")\r\n@inject(\"nodeStore\")\r\n@observer\r\nexport class Visualizer extends React.Component {\r\n\r\n componentDidMount(): void {\r\n this.props.visualizerStore.start();\r\n }\r\n\r\n componentWillUnmount(): void {\r\n this.props.visualizerStore.stop();\r\n this.props.nodeStore.registerHandlers();\r\n }\r\n\r\n updateVerticesLimit = (e) => {\r\n this.props.visualizerStore.updateVerticesLimit(e.target.value);\r\n }\r\n\r\n pauseResumeVisualizer = (e) => {\r\n this.props.visualizerStore.pauseResume();\r\n }\r\n\r\n updateSearch = (e) => {\r\n this.props.visualizerStore.updateSearch(e.target.value);\r\n }\r\n\r\n searchAndHighlight = (e: KeyboardEvent) => {\r\n if (e.key !== 'Enter') return;\r\n this.props.visualizerStore.searchAndHighlight();\r\n }\r\n\r\n toggleBackgroundDataCollection = () => {\r\n if (this.props.nodeStore.collecting) {\r\n this.props.nodeStore.unregisterHandlers();\r\n return;\r\n }\r\n this.props.nodeStore.registerHandlers();\r\n }\r\n\r\n render() {\r\n let {\r\n vertices, finalized_count, selected,\r\n verticesLimit, tips_count, paused, search\r\n } = this.props.visualizerStore;\r\n let { last_mps_metric, collecting } = this.props.nodeStore;\r\n\r\n return (\r\n \r\n

Visualizer

\r\n \r\n \r\n \r\n \r\n Vertices Limit\r\n \r\n \r\n \r\n \r\n \r\n \r\n Search Vertex\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Ensures that only data needed for the visualizer is collected.\r\n \r\n }\r\n >\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n Pauses/resumes rendering the graph.\r\n \r\n }\r\n >\r\n \r\n \r\n \r\n \r\n \r\n

\r\n \r\n BLK Pending\r\n \r\n {' '}\r\n \r\n BLK Confirmed\r\n \r\n {' '}\r\n \r\n TX Pending\r\n \r\n {' '}\r\n \r\n TX Confirmed\r\n \r\n {' '}\r\n \r\n Tip\r\n \r\n {' '}\r\n \r\n Unknown\r\n \r\n
\r\n Vertices: {vertices.size}, Tips: {tips_count},\r\n Confirmed/UnConfirmed: {finalized_count}/{vertices.size - finalized_count},{' '}\r\n BPS: {last_mps_metric.mps}\r\n
\r\n Selected: {selected ?\r\n \r\n {selected.id.substr(0, 10)}\r\n \r\n : \"-\"}\r\n
\r\n {\r\n selected ? selected.strongParents &&\r\n Strong:{' '}\r\n {selected.strongParents.map((parent) => {\r\n return (\r\n \r\n {parent.substr(0, 10) + \" \"}\r\n \r\n )\r\n\r\n })}\r\n \r\n : \"\"\r\n }\r\n
\r\n {\r\n selected ? selected.weakParents &&\r\n Weak:{' '}\r\n {selected.weakParents.map((parent) => {\r\n return (\r\n \r\n {parent.substr(0, 10) + \" \"}\r\n \r\n )\r\n\r\n })}\r\n \r\n : \"\"\r\n }\r\n
\r\n {\r\n selected ? selected.shallowLikedParents &&\r\n Shallow Liked:{' '}\r\n {selected.shallowLikedParents.map((parent) => {\r\n return (\r\n \r\n {parent.substr(0, 10) + \" \"}\r\n \r\n )\r\n\r\n })}\r\n \r\n : \"\"\r\n }\r\n

\r\n \r\n
\r\n
\r\n \r\n );\r\n }\r\n}\r\n","import * as React from 'react';\nimport Container from \"react-bootstrap/Container\";\nimport NodeStore from \"../stores/NodeStore\";\nimport {inject, observer} from \"mobx-react\";\nimport ExplorerStore from \"../stores/ExplorerStore\";\nimport Table from \"react-bootstrap/Table\";\n\ninterface Props {\n nodeStore?: NodeStore;\n explorerStore?: ExplorerStore;\n}\n\n@inject(\"nodeStore\")\n@inject(\"explorerStore\")\n@observer\nexport class Tips extends React.Component {\n componentDidMount() {\n this.props.explorerStore.getTips();\n }\n componentWillUnmount() {\n this.props.explorerStore.reset();\n }\n render() {\n let {tipsList} = this.props.explorerStore;\n return (\n \n

Tips

\n \n \n \n \n \n \n \n {tipsList}\n \n
BlockID
\n
\n );\n }\n}","import * as React from 'react';\nimport Container from \"react-bootstrap/Container\";\nimport NodeStore from \"../stores/NodeStore\";\nimport { inject, observer } from \"mobx-react\";\nimport ExplorerStore from \"../stores/ExplorerStore\";\nimport {Transaction} from \"./Transaction\";\n\ninterface Props {\n nodeStore?: NodeStore;\n explorerStore?: ExplorerStore;\n txId: string\n}\n\n@inject(\"nodeStore\")\n@inject(\"explorerStore\")\n@observer\nexport class ExplorerTransaction extends React.Component {\n componentDidMount() {\n this.props.explorerStore.getTransaction(this.props.txId);\n }\n componentWillUnmount() {\n this.props.explorerStore.reset();\n }\n render() {\n let { txId } = this.props;\n let { query_err, tx } = this.props.explorerStore;\n if (query_err) {\n return (\n \n

Transaction not available - 404

\n

\n Transaction with ID {txId} not found.\n

\n
\n );\n }\n return \n }\n}","import * as React from 'react';\nimport Container from \"react-bootstrap/Container\";\nimport NodeStore from \"../stores/NodeStore\";\nimport { inject, observer } from \"mobx-react\";\nimport ExplorerStore from \"../stores/ExplorerStore\";\nimport ListGroup from \"react-bootstrap/ListGroup\";\n\ninterface Props {\n nodeStore?: NodeStore;\n explorerStore?: ExplorerStore;\n txId: string;\n}\n\n@inject(\"nodeStore\")\n@inject(\"explorerStore\")\n@observer\nexport class ExplorerTransactionMetadata extends React.Component {\n componentDidMount() {\n this.props.explorerStore.getTransactionMetadata(this.props.txId);\n }\n\n componentWillUnmount() {\n this.props.explorerStore.reset();\n }\n render() {\n let { txId } = this.props;\n let { query_err, txMetadata } = this.props.explorerStore;\n\n if (query_err) {\n return (\n \n

Metadata

\n

Metadata for transaction ID {txId} not found.

\n
\n );\n }\n return (\n
\n

Metadata

\n {txMetadata && \n \n SpendIDs: \n \n { \n txMetadata.spendIDs && txMetadata.spendIDs.map((value, index) => {\n return (\n \n {value}\n \n )\n })\n }\n \n \n Booked: {txMetadata.booked.toString()}\n {/* Booked time: {new Date(txMetadata.bookedTime * 1000).toLocaleString()} */}\n Confirmation State: {txMetadata.confirmationState}\n {/* Confirmation State Time: {new Date(txMetadata.confirmationStateTime * 1000).toLocaleString()} */}\n }\n
\n )\n }\n}\n","import * as React from 'react';\nimport Row from \"react-bootstrap/Row\";\nimport Col from \"react-bootstrap/Col\";\nimport NodeStore from \"../stores/NodeStore\";\nimport { inject, observer } from \"mobx-react\";\nimport ExplorerStore from \"../stores/ExplorerStore\";\nimport ListGroup from \"react-bootstrap/ListGroup\";\n\ninterface Props {\n nodeStore?: NodeStore;\n explorerStore?: ExplorerStore;\n txId: string\n}\n\n@inject(\"nodeStore\")\n@inject(\"explorerStore\")\n@observer\nexport class ExplorerTransactionAttachments extends React.Component {\n componentDidMount() {\n this.props.explorerStore.getTransactionAttachments(this.props.txId);\n }\n componentWillUnmount() {\n this.props.explorerStore.reset();\n }\n render() {\n let { txAttachments } = this.props.explorerStore;\n return (\n
\n

Attachments

\n {txAttachments && txAttachments.blockIDs && \n \n \n {txAttachments.blockIDs.map((blkId, i) => {\n return {blkId}\n })}\n \n \n }\n
\n )\n }\n}","import * as React from 'react';\nimport Container from \"react-bootstrap/Container\";\nimport { ExplorerTransaction } from \"./ExplorerTransaction\"\nimport { ExplorerTransactionMetadata } from \"./ExplorerTransactionMetadata\"\nimport { ExplorerTransactionAttachments } from \"./ExplorerTransactionAttachments\"\n\n\ninterface Props {\n match?: {\n params: {\n id: string,\n }\n }\n}\n\nexport class ExplorerTransactionQueryResult extends React.Component {\n render() {\n let { id } = this.props.match.params;\n return (\n \n \n \n \n \n )\n }\n}","export enum ConfirmationState {\n Undefined = 0,\n Rejected,\n Pending,\n Accepted,\n Confirmed,\n}\n\nexport function resolveConfirmationState(sigType: number) {\n switch (sigType) {\n case ConfirmationState.Undefined:\n return \"Undefined\";\n case ConfirmationState.Rejected:\n return \"Rejected\";\n case ConfirmationState.Pending:\n return \"Pending\";\n case ConfirmationState.Accepted:\n return \"Accepted\";\n case ConfirmationState.Confirmed:\n return \"Confirmed\";\n default:\n return \"Undefined Confirmation State\";\n }\n}\n","import * as React from 'react';\nimport Container from \"react-bootstrap/Container\";\nimport ListGroup from \"react-bootstrap/ListGroup\";\nimport NodeStore from \"../stores/NodeStore\";\nimport { inject, observer } from \"mobx-react\";\nimport ExplorerStore from \"../stores/ExplorerStore\";\nimport Badge from \"react-bootstrap/Badge\";\nimport {displayManaUnit} from \"../utils\";\nimport {outputToComponent} from \"../utils/output\";\nimport {resolveConfirmationState} from \"../utils/confirmation_state\";\n\ninterface Props {\n nodeStore?: NodeStore;\n explorerStore?: ExplorerStore;\n match?: {\n params: {\n id: string,\n }\n }\n}\n\n@inject(\"nodeStore\")\n@inject(\"explorerStore\")\n@observer\nexport class ExplorerOutputQueryResult extends React.Component {\n componentDidMount() {\n this.props.explorerStore.getOutput(this.props.match.params.id);\n this.props.explorerStore.getPendingMana(this.props.match.params.id);\n this.props.explorerStore.getOutputMetadata(this.props.match.params.id);\n this.props.explorerStore.getOutputConsumers(this.props.match.params.id);\n }\n\n componentWillUnmount() {\n this.props.explorerStore.reset();\n }\n render() {\n let {id} = this.props.match.params;\n let { query_err, output, pendingMana, outputMetadata, outputConsumers } = this.props.explorerStore;\n\n let renderTriBool = (val: string) => {\n if (val === \"true\"){\n return True\n }\n if (val === \"false\"){\n return False\n }\n return Maybe\n }\n\n if (query_err) {\n return (\n \n

Output not found - 404

\n {id}\n
\n );\n }\n return (\n \n

Output

\n {output &&
\n {outputToComponent(output)}\n \n {pendingMana && \n Pending Mana\n
\n
Value: {displayManaUnit(pendingMana.mana)}
\n
Timestamp: {new Date(pendingMana.timestamp * 1000).toLocaleString()}
\n
}\n
\n
}\n\n

Metadata

\n {outputMetadata &&
\n \n Transaction ID: {outputMetadata.outputID.transactionID} \n SpendIDs: \n \n {\n outputMetadata.spendIDs.map((value, index) => {\n return (\n \n {value}\n \n )\n })\n }\n \n Consumer Count: {outputMetadata.consumerCount}\n Confirmed Consumer: {outputMetadata.confirmedConsumer} \n Confirmation State: {resolveConfirmationState(outputMetadata.confirmationState)}\n Confirmation State Time: {new Date(outputMetadata.confirmationStateTime * 1000).toLocaleString()}\n \n
}\n\n

Consumers

\n {outputConsumers &&
\n \n {outputConsumers.consumers.map((c,i) => \n
Transaction ID: {c.transactionID}
\n
Valid: {renderTriBool(c.valid)}
\n
)}\n
\n
}\n
\n )\n }\n}\n","import { SlotStore } from '../stores/SlotStore';\nimport {inject, observer} from \"mobx-react\";\nimport NodeStore from '../stores/NodeStore';\nimport * as React from 'react';\nimport Container from \"react-bootstrap/Container\";\nimport { Table } from 'react-bootstrap';\n\ninterface Props {\n history: any;\n nodeStore?: NodeStore;\n slotStore?: SlotStore;\n}\n\n@inject(\"nodeStore\")\n@inject(\"slotStore\")\n@observer\nexport class SlotLiveFeed extends React.Component {\n render() {\n let {slotLiveFeed} = this.props.slotStore;\n return (\n \n

Slots

\n \n \n \n \n \n \n \n \n {slotLiveFeed}\n \n
IndexCommitment ID
\n
\n );\n }\n}\n","import * as React from 'react';\nimport Container from \"react-bootstrap/Container\";\nimport { inject, observer } from \"mobx-react\";\nimport ExplorerStore from \"../stores/ExplorerStore\";\nimport ListGroup from \"react-bootstrap/ListGroup\";\nimport { Card, Col, Row, Table } from 'react-bootstrap';\n\n\ninterface Props {\n explorerStore?: ExplorerStore;\n match?: {\n params: {\n commitment: string,\n }\n }\n}\n\n@inject(\"explorerStore\")\n@observer\nexport class ExplorerSlotQueryResult extends React.Component {\n componentDidMount() {\n const id = this.props.match.params.commitment;\n this.props.explorerStore.getSlotDetails(id);\n }\n\n componentWillUnmount() {\n this.props.explorerStore.reset();\n }\n\n render() {\n let {commitment} = this.props.match.params;\n let { query_err, slotInfo } = this.props.explorerStore;\n\n if (query_err) {\n return (\n \n

Slot not found - 404

\n {commitment}\n
\n );\n }\n return (\n \n

Slot

\n {slotInfo && \n ID: {commitment}\n Index: {slotInfo.index}\n RootsID: {slotInfo.rootsID}\n PrevEC: {slotInfo.prevID}\n Cumulative Weight: {slotInfo.cumulativeWeight}\n Blocks:\n {slotInfo.blocks && \n \n \n \n \n \n {slotInfo.blocks.map((b,i) => {b})}\n \n
\n \n
\n
\n
}\n
\n Transactions:\n {slotInfo.transactions && \n \n \n \n \n \n {slotInfo.transactions.map((t,i) => {t})}\n \n
\n \n
\n
\n
}\n
\n Created outputs:\n {slotInfo.createdOutputs && \n \n \n \n \n \n {slotInfo.createdOutputs.map((c,i) => {c})}\n \n
\n \n
\n
\n
}\n
\n Spent outputs:\n {slotInfo.spentOutputs && \n \n \n \n \n \n {slotInfo.spentOutputs.map((s,i) => {s})}\n \n
\n \n
\n
\n
}\n
\n
}\n
\n )\n }\n}\n","import * as React from 'react';\nimport {inject, observer} from \"mobx-react\";\nimport NodeStore from \"../stores/NodeStore\";\nimport Navbar from \"react-bootstrap/Navbar\";\nimport Nav from \"react-bootstrap/Nav\";\nimport {Dashboard} from \"./Dashboard\";\nimport Badge from \"react-bootstrap/Badge\";\nimport {RouterStore} from 'mobx-react-router';\nimport {Explorer} from \"./Explorer\";\nimport {NavExplorerSearchbar} from \"./NavExplorerSearchbar\";\nimport {Redirect, Route, Switch} from 'react-router-dom';\nimport {LinkContainer} from 'react-router-bootstrap';\nimport {ExplorerBlockQueryResult} from \"./ExplorerBlockQueryResult\";\nimport {ExplorerAddressQueryResult} from \"./ExplorerAddressResult\";\nimport {Explorer404} from \"./Explorer404\";\nimport {Neighbors} from \"./Neighbors\";\nimport {Visualizer} from \"./Visualizer\";\nimport {Tips} from \"./Tips\";\nimport {ExplorerTransactionQueryResult} from \"./ExplorerTransactionQueryResult\";\nimport {ExplorerOutputQueryResult} from \"./ExplorerOutputQueryResult\";\nimport { SlotLiveFeed } from './SlotLiveFeed';\nimport { ExplorerSlotQueryResult } from './ExplorerSlotQueryResult';\n\ninterface Props {\n history: any;\n routerStore?: RouterStore;\n nodeStore?: NodeStore;\n}\n\n@inject(\"nodeStore\")\n@inject(\"routerStore\")\n@observer\nexport class Root extends React.Component {\n renderDevTool() {\n if (process.env.NODE_ENV !== 'production') {\n const DevTools = require('mobx-react-devtools').default;\n return ;\n }\n }\n\n componentDidMount(): void {\n this.props.nodeStore.connect();\n }\n\n render() {\n return (\n
\n \n iota-core\n \n \n \n \n {!this.props.nodeStore.websocketConnected &&\n WS not connected!\n }\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.props.children}\n {this.renderDevTool()}\n
\n );\n }\n}\n","import * as React from 'react';\nimport {hot} from 'react-hot-loader/root';\nimport {Root} from './components/Root';\n\n// render react DOM\nexport const App = hot(({history}) => );\n","import {action, computed, observable, ObservableMap} from 'mobx';\r\nimport * as dateformat from 'dateformat';\r\nimport {connectWebSocket, registerHandler, unregisterHandler, WSMsgType} from \"../misc/WS\";\r\n\r\nclass BPSMetric {\r\n mps: number;\r\n ts: string;\r\n}\r\n\r\nclass Status {\r\n id: string;\r\n version: string;\r\n uptime: number;\r\n mem: MemoryMetrics = new MemoryMetrics();\r\n tangleTime: TangleTime;\r\n scheduler: SchedulerMetric = new SchedulerMetric();\r\n}\r\n\r\nclass TangleTime {\r\n synced: boolean;\r\n bootstrapped: boolean;\r\n ATT: number;\r\n RATT: number;\r\n CTT: number;\r\n RCTT: number;\r\n acceptedBlockID: string;\r\n confirmedBlockID: string;\r\n confirmedSlot: number;\r\n committedSlot: number;\r\n}\r\n\r\nclass MemoryMetrics {\r\n heap_sys: number;\r\n heap_alloc: number;\r\n heap_idle: number;\r\n heap_released: number;\r\n heap_objects: number;\r\n last_pause_gc: number;\r\n num_gc: number;\r\n ts: string;\r\n}\r\n\r\nclass TipsMetric {\r\n totaltips: number;\r\n ts: string;\r\n}\r\n\r\nclass NetworkIO {\r\n tx: number;\r\n rx: number;\r\n ts: string;\r\n}\r\n\r\nclass RateSetterMetric {\r\n size: number;\r\n estimate: string;\r\n rate: number;\r\n ts: string;\r\n}\r\n\r\nclass SchedulerMetric {\r\n running: number;\r\n rate: string;\r\n maxBufferSize: number;\r\n currentBufferSize: number;\r\n deficit: number;\r\n ts: string;\r\n\r\n}\r\n\r\nclass NeighborMetrics {\r\n @observable collected: Array = [];\r\n @observable network_io: Array = [];\r\n\r\n addMetric(metric: NeighborMetric) {\r\n metric.ts = dateformat(Date.now(), \"HH:MM:ss\");\r\n this.collected.push(metric);\r\n if (this.collected.length > maxMetricsDataPoints) {\r\n this.collected.shift();\r\n }\r\n let netIO = this.currentNetIO;\r\n if (netIO) {\r\n if (this.network_io.length > maxMetricsDataPoints) {\r\n this.network_io.shift();\r\n }\r\n this.network_io.push(netIO);\r\n }\r\n }\r\n\r\n get current() {\r\n return this.collected[this.collected.length - 1];\r\n }\r\n\r\n get secondLast() {\r\n let index = this.collected.length - 2;\r\n if (index < 0) {\r\n return\r\n }\r\n return this.collected[index];\r\n }\r\n\r\n get currentNetIO(): NetworkIO {\r\n if (this.current && this.secondLast) {\r\n return {\r\n tx: this.current.packets_written - this.secondLast.packets_written,\r\n rx: this.current.packets_read - this.secondLast.packets_read,\r\n ts: dateformat(new Date(), \"HH:MM:ss\"),\r\n };\r\n }\r\n return null;\r\n }\r\n\r\n @computed\r\n get netIOSeries() {\r\n let tx = Object.assign({}, chartSeriesOpts,\r\n series(\"Tx\", 'rgba(53, 180, 219,1)', 'rgba(53, 180, 219,0.4)')\r\n );\r\n let rx = Object.assign({}, chartSeriesOpts,\r\n series(\"Rx\", 'rgba(235, 134, 52)', 'rgba(235, 134, 52,0.4)')\r\n );\r\n\r\n let labels = [];\r\n for (let i = 0; i < this.network_io.length; i++) {\r\n let metric: NetworkIO = this.network_io[i];\r\n labels.push(metric.ts);\r\n tx.data.push(metric.tx);\r\n rx.data.push(-metric.rx);\r\n }\r\n\r\n return {\r\n labels: labels,\r\n datasets: [tx, rx],\r\n };\r\n }\r\n}\r\n\r\nclass NeighborMetric {\r\n id: string;\r\n address: string;\r\n connection_origin: number;\r\n packets_read: number;\r\n packets_written: number;\r\n ts: number;\r\n}\r\n\r\nclass ComponentCounterMetric {\r\n store: number;\r\n solidifier: number;\r\n scheduler: number;\r\n booker: number;\r\n ts: number;\r\n}\r\n\r\nconst chartSeriesOpts = {\r\n label: \"Incoming\", data: [],\r\n fill: true,\r\n lineTension: 0,\r\n backgroundColor: 'rgba(58, 60, 171,0.4)',\r\n borderWidth: 1,\r\n borderColor: 'rgba(58, 60, 171,1)',\r\n borderCapStyle: 'butt',\r\n borderDash: [],\r\n borderDashOffset: 0.0,\r\n borderJoinStyle: 'miter',\r\n pointBorderColor: 'rgba(58, 60, 171,1)',\r\n pointBackgroundColor: '#fff',\r\n pointBorderWidth: 1,\r\n pointHoverBackgroundColor: 'rgba(58, 60, 171,1)',\r\n pointHoverBorderColor: 'rgba(220,220,220,1)',\r\n pointHoverBorderWidth: 2,\r\n pointRadius: 0,\r\n pointHitRadius: 20,\r\n pointHoverRadius: 5,\r\n};\r\n\r\nfunction series(name: string, color: string, bgColor: string) {\r\n return {\r\n label: name, data: [],\r\n backgroundColor: bgColor,\r\n borderColor: color,\r\n pointBorderColor: color,\r\n pointHoverBackgroundColor: color,\r\n pointHoverBorderColor: 'rgba(220,220,220,1)',\r\n }\r\n}\r\n\r\nconst statusWebSocketPath = \"/ws\";\r\n\r\nconst maxMetricsDataPoints = 900;\r\n\r\nexport class NodeStore {\r\n @observable status: Status = new Status();\r\n @observable websocketConnected: boolean = false;\r\n @observable last_mps_metric: BPSMetric = new BPSMetric();\r\n @observable collected_mps_metrics: Array = [];\r\n @observable collected_rate_setter_metrics: Array = [];\r\n @observable last_rate_setter_metric: RateSetterMetric = new RateSetterMetric();\r\n @observable collected_scheduler_metrics: Array = [];\r\n @observable collected_mem_metrics: Array = [];\r\n @observable neighbor_metrics = new ObservableMap();\r\n @observable last_tips_metric: TipsMetric = new TipsMetric();\r\n @observable collected_tips_metrics: Array = [];\r\n @observable last_component_counter_metric: ComponentCounterMetric = new ComponentCounterMetric();\r\n @observable collected_component_counter_metrics: Array = [];\r\n @observable collecting: boolean = true;\r\n\r\n constructor() {\r\n this.status.tangleTime = new TangleTime;\r\n this.status.tangleTime.ATT = 0;\r\n this.status.tangleTime.RATT = 0;\r\n this.status.tangleTime.CTT = 0;\r\n this.status.tangleTime.RCTT = 0;\r\n this.registerHandlers();\r\n }\r\n\r\n registerHandlers = () => {\r\n registerHandler(WSMsgType.Status, this.updateStatus);\r\n registerHandler(WSMsgType.BPSMetrics, (mps: number) => {\r\n this.addBPSMetric(this.updateLastBPSMetric(mps));\r\n });\r\n registerHandler(WSMsgType.NeighborStats, this.updateNeighborMetrics);\r\n registerHandler(WSMsgType.TipsMetrics, this.updateLastTipsMetric);\r\n registerHandler(WSMsgType.ComponentCounterMetrics, this.updateLastComponentMetric);\r\n registerHandler(WSMsgType.RateSetter, this.updateLastRateSetterMetric)\r\n\r\n this.updateCollecting(true);\r\n }\r\n\r\n unregisterHandlers = () => {\r\n unregisterHandler(WSMsgType.Status);\r\n unregisterHandler(WSMsgType.BPSMetrics);\r\n unregisterHandler(WSMsgType.NeighborStats);\r\n unregisterHandler(WSMsgType.TipsMetrics);\r\n unregisterHandler(WSMsgType.ComponentCounterMetrics);\r\n unregisterHandler(WSMsgType.RateSetter);\r\n this.updateCollecting(false);\r\n }\r\n\r\n @action\r\n updateCollecting = (collecting: boolean) => {\r\n this.collecting = collecting;\r\n }\r\n\r\n @action\r\n reset() {\r\n this.collected_mps_metrics = [];\r\n this.collected_mem_metrics = [];\r\n this.collected_scheduler_metrics = [];\r\n this.neighbor_metrics = new ObservableMap();\r\n this.collected_tips_metrics = [];\r\n this.collected_component_counter_metrics = [];\r\n }\r\n\r\n reconnect() {\r\n this.updateWebSocketConnected(false);\r\n setTimeout(() => {\r\n this.connect();\r\n }, 5000);\r\n }\r\n\r\n connect() {\r\n connectWebSocket(statusWebSocketPath,\r\n () => this.updateWebSocketConnected(true),\r\n () => this.reconnect(),\r\n () => this.updateWebSocketConnected(false))\r\n }\r\n\r\n @action\r\n updateWebSocketConnected = (connected: boolean) => this.websocketConnected = connected;\r\n\r\n @action\r\n updateStatus = (status: Status) => {\r\n status.mem.ts = dateformat(Date.now(), \"HH:MM:ss\");\r\n if (this.collected_mem_metrics.length > maxMetricsDataPoints) {\r\n this.collected_mem_metrics.shift();\r\n }\r\n this.collected_mem_metrics.push(status.mem);\r\n this.status = status;\r\n\r\n status.scheduler.ts = dateformat(Date.now(), \"HH:MM:ss\");\r\n if (this.collected_scheduler_metrics.length > maxMetricsDataPoints) {\r\n this.collected_scheduler_metrics.shift();\r\n }\r\n this.collected_scheduler_metrics.push(status.scheduler);\r\n };\r\n\r\n\r\n @action\r\n updateNeighborMetrics = (neighborMetrics: Array) => {\r\n if (!neighborMetrics) {\r\n return;\r\n }\r\n let updated = [];\r\n for (let i = 0; i < neighborMetrics.length; i++) {\r\n let metric = neighborMetrics[i];\r\n let neighbMetrics: NeighborMetrics = this.neighbor_metrics.get(metric.id);\r\n if (!neighbMetrics) {\r\n neighbMetrics = new NeighborMetrics();\r\n }\r\n neighbMetrics.addMetric(metric);\r\n this.neighbor_metrics.set(metric.id, neighbMetrics);\r\n updated.push(metric.id);\r\n }\r\n // remove duplicates\r\n for (const k of this.neighbor_metrics.keys()) {\r\n if (!updated.includes(k)) {\r\n this.neighbor_metrics.delete(k);\r\n }\r\n }\r\n };\r\n\r\n @action\r\n updateLastRateSetterMetric = (metric: RateSetterMetric) => {\r\n metric.ts = dateformat(Date.now(), \"HH:MM:ss\");\r\n this.last_rate_setter_metric = metric;\r\n if (this.collected_rate_setter_metrics.length > maxMetricsDataPoints) {\r\n this.collected_rate_setter_metrics.shift();\r\n }\r\n this.collected_rate_setter_metrics.push(metric);\r\n };\r\n\r\n @action\r\n updateLastBPSMetric = (mps: number) => {\r\n let mpsMetric = new BPSMetric();\r\n mpsMetric.mps = mps;\r\n mpsMetric.ts = dateformat(Date.now(), \"HH:MM:ss\");\r\n this.last_mps_metric = mpsMetric;\r\n return mpsMetric;\r\n };\r\n\r\n @action\r\n addBPSMetric = (metric: BPSMetric) => {\r\n if (this.collected_mps_metrics.length > maxMetricsDataPoints) {\r\n this.collected_mps_metrics.shift();\r\n }\r\n this.collected_mps_metrics.push(metric);\r\n }\r\n\r\n @action\r\n updateLastTipsMetric = (tipsMetric: TipsMetric) => {\r\n tipsMetric.ts = dateformat(Date.now(), \"HH:MM:ss\");\r\n this.last_tips_metric = tipsMetric;\r\n if (this.collected_tips_metrics.length > maxMetricsDataPoints) {\r\n this.collected_tips_metrics.shift();\r\n }\r\n this.collected_tips_metrics.push(tipsMetric);\r\n };\r\n\r\n @action\r\n updateLastComponentMetric = (componentCounterMetric: ComponentCounterMetric) => {\r\n componentCounterMetric.ts = dateformat(Date.now(), \"HH:MM:ss\");\r\n this.last_component_counter_metric = componentCounterMetric;\r\n if (this.collected_component_counter_metrics.length > maxMetricsDataPoints) {\r\n this.collected_component_counter_metrics.shift()\r\n }\r\n this.collected_component_counter_metrics.push(componentCounterMetric);\r\n };\r\n\r\n @computed\r\n get mpsSeries() {\r\n let mps = Object.assign({}, chartSeriesOpts,\r\n series(\"BPS\", 'rgba(67, 196, 99,1)', 'rgba(67, 196, 99,0.4)')\r\n );\r\n\r\n let labels = [];\r\n for (let i = 0; i < this.collected_mps_metrics.length; i++) {\r\n let metric: BPSMetric = this.collected_mps_metrics[i];\r\n labels.push(metric.ts);\r\n mps.data.push(metric.mps);\r\n }\r\n\r\n return {\r\n labels: labels,\r\n datasets: [mps],\r\n };\r\n }\r\n\r\n @computed\r\n get tipsSeries() {\r\n let totaltips = Object.assign({}, chartSeriesOpts,\r\n series(\"All tips\", 'rgba(67, 196, 99,1)', 'rgba(67, 196, 99,0.4)')\r\n );\r\n\r\n let labels = [];\r\n for (let i = 0; i < this.collected_tips_metrics.length; i++) {\r\n let metric: TipsMetric = this.collected_tips_metrics[i];\r\n labels.push(metric.ts);\r\n totaltips.data.push(metric.totaltips);\r\n }\r\n\r\n return {\r\n labels: labels,\r\n datasets: [totaltips],\r\n };\r\n }\r\n\r\n @computed\r\n get componentSeries() {\r\n let stored = Object.assign({}, chartSeriesOpts,\r\n series(\"stored\", 'rgba(209,165,253,1)', 'rgba(209,165,253,0.4)')\r\n );\r\n let solidified = Object.assign({}, chartSeriesOpts,\r\n series(\"solidified\", 'rgba(165,209,253,1)', 'rgba(165,209,253,0.4)')\r\n );\r\n let scheduled = Object.assign({}, chartSeriesOpts,\r\n series(\"scheduled\", 'rgba(182, 141, 64,1)', 'rgba(182, 141, 64,0.4)')\r\n );\r\n let booked = Object.assign({}, chartSeriesOpts,\r\n series(\"booked\", 'rgba(5, 68, 94,1)', 'rgba(5, 68, 94,0.4)')\r\n );\r\n\r\n let labels = [];\r\n for (let i = 0; i < this.collected_component_counter_metrics.length; i++) {\r\n let metric: ComponentCounterMetric = this.collected_component_counter_metrics[i];\r\n labels.push(metric.ts);\r\n stored.data.push(metric.store);\r\n solidified.data.push(metric.solidifier);\r\n scheduled.data.push(metric.scheduler);\r\n booked.data.push(metric.booker);\r\n }\r\n\r\n return {\r\n labels: labels,\r\n datasets: [stored, solidified, scheduled, booked],\r\n };\r\n }\r\n\r\n @computed\r\n get bufferSizeSeries() {\r\n let bufferSize = Object.assign({}, chartSeriesOpts,\r\n series(\"buffer size\", 'rgba(209,165,253,1)', 'rgba(209,165,253,0.4)')\r\n );\r\n\r\n let labels = [];\r\n for (let i = 0; i < this.collected_scheduler_metrics.length; i++) {\r\n let metric: SchedulerMetric = this.collected_scheduler_metrics[i];\r\n labels.push(metric.ts);\r\n bufferSize.data.push(metric.currentBufferSize);\r\n }\r\n\r\n return {\r\n labels: labels,\r\n datasets: [bufferSize],\r\n };\r\n }\r\n\r\n @computed\r\n get deficitSeries() {\r\n let deficit = Object.assign({}, chartSeriesOpts,\r\n series(\"deficit\", 'rgba(182, 141, 64,1)', 'rgba(182, 141, 64,0.4)')\r\n );\r\n\r\n let labels = [];\r\n for (let i = 0; i < this.collected_scheduler_metrics.length; i++) {\r\n let metric: SchedulerMetric = this.collected_scheduler_metrics[i];\r\n labels.push(metric.ts);\r\n deficit.data.push(metric.deficit);\r\n }\r\n\r\n return {\r\n labels: labels,\r\n datasets: [deficit],\r\n };\r\n }\r\n\r\n @computed\r\n get neighborsSeries() {\r\n return {};\r\n }\r\n\r\n @computed\r\n get uptime() {\r\n let day, hour, minute, seconds;\r\n seconds = Math.floor(this.status.uptime / 1000);\r\n minute = Math.floor(seconds / 60);\r\n seconds = seconds % 60;\r\n hour = Math.floor(minute / 60);\r\n minute = minute % 60;\r\n day = Math.floor(hour / 24);\r\n hour = hour % 24;\r\n let str = \"\";\r\n if (day == 1) {\r\n str += day + \" Day, \";\r\n }\r\n if (day > 1) {\r\n str += day + \" Days, \";\r\n }\r\n if (hour >= 0) {\r\n if (hour < 10) {\r\n str += \"0\" + hour + \":\";\r\n } else {\r\n str += hour + \":\";\r\n }\r\n }\r\n if (minute >= 0) {\r\n if (minute < 10) {\r\n str += \"0\" + minute + \":\";\r\n } else {\r\n str += minute + \":\";\r\n }\r\n }\r\n if (seconds >= 0) {\r\n if (seconds < 10) {\r\n str += \"0\" + seconds;\r\n } else {\r\n str += seconds;\r\n }\r\n }\r\n\r\n return str;\r\n }\r\n\r\n @computed\r\n get memSeries() {\r\n let heapSys = Object.assign({}, chartSeriesOpts,\r\n series(\"Heap Sys\", 'rgba(168, 50, 76,1)', 'rgba(168, 50, 76,0.4)')\r\n );\r\n let heapAlloc = Object.assign({}, chartSeriesOpts,\r\n series(\"Heap Alloc\", 'rgba(222, 49, 87,1)', 'rgba(222, 49, 87,0.4)')\r\n );\r\n let heapIdle = Object.assign({}, chartSeriesOpts,\r\n series(\"Heap Idle\", 'rgba(222, 49, 182,1)', 'rgba(222, 49, 182,0.4)')\r\n );\r\n let heapReleased = Object.assign({}, chartSeriesOpts,\r\n series(\"Heap Released\", 'rgba(250, 76, 252,1)', 'rgba(250, 76, 252,0.4)')\r\n );\r\n\r\n let labels = [];\r\n for (let i = 0; i < this.collected_mem_metrics.length; i++) {\r\n let metric = this.collected_mem_metrics[i];\r\n labels.push(metric.ts);\r\n heapSys.data.push(metric.heap_sys);\r\n heapAlloc.data.push(metric.heap_alloc);\r\n heapIdle.data.push(metric.heap_idle);\r\n heapReleased.data.push(metric.heap_released);\r\n }\r\n\r\n return {\r\n labels: labels,\r\n datasets: [heapSys, heapAlloc, heapIdle, heapReleased],\r\n };\r\n }\r\n}\r\n\r\nexport default NodeStore;\r\n","import {action, observable} from 'mobx';\r\nimport {RouterStore} from \"mobx-react-router\";\r\n\r\nclass SendResult {\r\n BlkId: string;\r\n}\r\n\r\nenum QueryError {\r\n NotFound\r\n}\r\n\r\nexport class FaucetStore {\r\n // send request to faucet\r\n @observable send_addr: string = \"\";\r\n @observable send_access_mana_node_id: string = \"\";\r\n @observable send_consensus_mana_node_id: string = \"\";\r\n @observable sending: boolean = false;\r\n @observable sendResult: SendResult = null;\r\n @observable query_error: string = \"\";\r\n\r\n routerStore: RouterStore;\r\n\r\n constructor(routerStore: RouterStore) {\r\n this.routerStore = routerStore;\r\n }\r\n\r\n sendReq = async () => {\r\n this.updateSending(true);\r\n try {\r\n // send request\r\n let res = await fetch(`/api/faucet/${this.send_addr}?accessMana=${this.send_access_mana_node_id}&consensusMana=${this.send_consensus_mana_node_id}`);\r\n if (res.status !== 200) {\r\n this.updateQueryError(QueryError.NotFound);\r\n return;\r\n }\r\n let result: SendResult = await res.json();\r\n setTimeout(() => {\r\n this.updateSendResult(result);\r\n }, 2000);\r\n } catch (err) {\r\n this.updateQueryError(err);\r\n }\r\n };\r\n\r\n @action\r\n updateSendResult = (result: SendResult) => {\r\n this.sending = false;\r\n this.sendResult = result;\r\n this.routerStore.history.push(`/explorer/address/${this.send_addr}`);\r\n };\r\n\r\n @action\r\n updateSend = (send_addr: string) => {\r\n this.send_addr = send_addr;\r\n };\r\n\r\n @action\r\n updateSendAccessManaNodeID = (access_mana: string) => {\r\n this.send_access_mana_node_id = access_mana;\r\n }\r\n\r\n @action\r\n updateSendConsensusManaNodeID = (consensus_mana: string) => {\r\n this.send_consensus_mana_node_id = consensus_mana;\r\n }\r\n\r\n @action\r\n updateSending = (sending: boolean) => {\r\n this.sending = sending;\r\n this.query_error = \"\";\r\n };\r\n\r\n @action\r\n reset = () => {\r\n this.send_addr = null;\r\n this.send_access_mana_node_id = \"\";\r\n this.send_consensus_mana_node_id = \"\";\r\n this.sending = false;\r\n this.query_error = \"\";\r\n };\r\n\r\n @action\r\n updateQueryError = (err: any) => {\r\n this.sending = false;\r\n this.query_error = err;\r\n };\r\n}\r\n\r\nexport default FaucetStore;\r\n","import { action, observable, ObservableMap } from 'mobx';\r\nimport { registerHandler, WSMsgType } from \"../misc/WS\";\r\nimport { RouterStore } from \"mobx-react-router\";\r\nimport { default as Viva } from 'vivagraphjs';\r\nimport { Block } from './ExplorerStore';\r\n\r\nexport class Vertex {\r\n id: string;\r\n strongParents: Array;\r\n weakParents: Array;\r\n shallowLikedParents: Array;\r\n is_tip: boolean;\r\n is_blk_confirmed: boolean;\r\n is_tx_accepted: boolean;\r\n is_tx: boolean;\r\n}\r\n\r\nexport class TipInfo {\r\n id: string;\r\n is_tip: boolean;\r\n}\r\n\r\nclass history {\r\n vertices: Array;\r\n}\r\n\r\nconst COLOR = {\r\n BlockPending: \"#b9b7bd\",\r\n BlockConfirmed: \"#6c71c4\",\r\n TransactionPending: \"#393e46\",\r\n TransactionConfirmed: \"#fad02c\",\r\n Tip: \"#cb4b16\",\r\n Unknown: \"#b58900\",\r\n Line: \"#586e75\",\r\n SelectedPastConeLine: \"#e105f5\",\r\n SelectedFutureConeLine: \"#51e05d\",\r\n Selected: \"#859900\"\r\n}\r\n\r\nconst vertexSize = 20;\r\n\r\nexport class VisualizerStore {\r\n @observable vertices = new ObservableMap();\r\n @observable verticesLimit = 1500;\r\n @observable finalized_count = 0;\r\n @observable tips_count = 0;\r\n verticesIncomingOrder = [];\r\n draw: boolean = false;\r\n routerStore: RouterStore;\r\n\r\n // the currently selected vertex via hover\r\n @observable selected: Vertex;\r\n selected_via_click: boolean = false;\r\n selected_origin_color: number = 0;\r\n\r\n // search\r\n @observable search: string = \"\";\r\n\r\n // viva graph objs\r\n graph;\r\n graphics;\r\n renderer;\r\n @observable paused: boolean = false;\r\n\r\n constructor(routerStore: RouterStore) {\r\n this.routerStore = routerStore;\r\n registerHandler(WSMsgType.Vertex, this.addVertex);\r\n registerHandler(WSMsgType.TipInfo, this.addTipInfo);\r\n registerHandler(WSMsgType.TXAccepted, this.updateTxStatus);\r\n // this.fetchHistory();\r\n }\r\n\r\n fetchHistory = async () => {\r\n try {\r\n let res = await fetch(`/api/visualizer/history`);\r\n let history: history = await res.json();\r\n history.vertices.forEach(v => {\r\n this.addVertex(v);\r\n });\r\n } catch (err) {\r\n console.log(\"Fail to fetch history in visualizer\", err);\r\n }\r\n return\r\n }\r\n\r\n @action\r\n updateSearch = (search: string) => {\r\n this.search = search.trim();\r\n }\r\n\r\n @action\r\n searchAndHighlight = () => {\r\n this.clearSelected();\r\n if (!this.search) return;\r\n let iter: IterableIterator = this.vertices.keys();\r\n let found = null;\r\n for (const key of iter) {\r\n if (key.indexOf(this.search) >= 0) {\r\n found = key;\r\n break;\r\n }\r\n }\r\n if (!found) return;\r\n this.updateSelected(this.vertices.get(found), false);\r\n }\r\n\r\n @action\r\n pauseResume = () => {\r\n if (this.paused) {\r\n this.renderer.resume();\r\n this.paused = false;\r\n return;\r\n }\r\n this.renderer.pause();\r\n this.paused = true;\r\n }\r\n\r\n @action\r\n updateVerticesLimit = (num: number) => {\r\n this.verticesLimit = num;\r\n }\r\n\r\n @action\r\n updateTxStatus = (vert: Vertex) => { \r\n let existing = this.vertices.get(vert.id);\r\n if (!existing) {\r\n return\r\n }\r\n\r\n existing.is_tx_accepted = vert.is_tx_accepted;\r\n this.vertices.set(vert.id, existing);\r\n\r\n if (this.draw) {\r\n this.drawVertex(existing);\r\n }\r\n }\r\n\r\n @action\r\n addVertex = (vert: Vertex) => {\r\n let existing = this.vertices.get(vert.id);\r\n if (existing) {\r\n if (!existing.is_blk_confirmed && vert.is_blk_confirmed) {\r\n this.finalized_count++;\r\n }\r\n } else {\r\n if (vert.is_blk_confirmed) {\r\n this.finalized_count++;\r\n }\r\n this.verticesIncomingOrder.push(vert.id);\r\n this.checkLimit();\r\n }\r\n\r\n this.vertices.set(vert.id, vert);\r\n\r\n if (this.draw) {\r\n this.drawVertex(vert);\r\n }\r\n };\r\n\r\n @action\r\n addTipInfo = async (tipInfo: TipInfo) => {\r\n let v = this.vertices.get(tipInfo.id);\r\n if (!v) {\r\n v = new Vertex();\r\n v.id = tipInfo.id;\r\n\r\n // first seen as tip, get parents info\r\n let res = await fetch(`/api/block/${tipInfo.id}`);\r\n if (res.status === 200) {\r\n let blk: Block = await res.json();\r\n v.strongParents = blk.strongParents;\r\n v.weakParents = blk.weakParents;\r\n v.shallowLikedParents = blk.shallowLikedParents;\r\n v.is_blk_confirmed = blk.acceptance;\r\n }\r\n this.verticesIncomingOrder.push(v.id);\r\n }\r\n\r\n this.tips_count += tipInfo.is_tip ? 1 : v.is_tip ? -1 : 0;\r\n v.is_tip = tipInfo.is_tip;\r\n this.vertices.set(tipInfo.id, v);\r\n\r\n if (this.draw) {\r\n this.drawVertex(v);\r\n }\r\n };\r\n\r\n @action\r\n checkLimit = () => {\r\n while (this.verticesIncomingOrder.length > this.verticesLimit) {\r\n let deleteId = this.verticesIncomingOrder.shift();\r\n let vert = this.vertices.get(deleteId);\r\n // make sure we remove any markings if the vertex gets deleted\r\n if (this.selected && deleteId === this.selected.id) {\r\n this.clearSelected();\r\n }\r\n if (this.draw) {\r\n this.graph.removeNode(deleteId);\r\n }\r\n if (!vert) {\r\n continue;\r\n }\r\n if (vert.is_blk_confirmed) {\r\n this.finalized_count--;\r\n }\r\n if (vert.is_tip) {\r\n this.tips_count--;\r\n }\r\n this.vertices.delete(deleteId);\r\n }\r\n }\r\n\r\n drawVertex = (vert: Vertex) => {\r\n let node = this.graph.getNode(vert.id);\r\n if (node) {\r\n // update coloring\r\n let nodeUI = this.graphics.getNodeUI(vert.id);\r\n nodeUI.color = parseColor(this.colorForVertexState(vert));\r\n } else {\r\n node = this.graph.addNode(vert.id, vert);\r\n }\r\n\r\n if (vert.strongParents) {\r\n this.linkParents(vert, node, vert.strongParents)\r\n }\r\n\r\n if (vert.weakParents) {\r\n this.linkParents(vert, node, vert.weakParents)\r\n }\r\n\r\n if (vert.shallowLikedParents) {\r\n this.linkParents(vert, node, vert.shallowLikedParents)\r\n }\r\n }\r\n\r\n linkParents = (vert: Vertex, node: any, parents: Array) => {\r\n parents.forEach((value) => {\r\n // if value is valid AND (links is empty OR there is no between parent and children)\r\n if (value && ((!node.links || !node.links.some(link => link.fromId === value)))) {\r\n // draw the link only when the parent exists\r\n let parent = this.graph.getNode(value);\r\n if (parent) {\r\n this.graph.addLink(value, vert.id);\r\n } else {\r\n console.log(\"link not added, parent doesn't exist\", value);\r\n }\r\n }\r\n })\r\n }\r\n\r\n colorForVertexState = (vert: Vertex) => {\r\n if (!vert) {\r\n return COLOR.Unknown;\r\n }\r\n\r\n // finalized\r\n if (vert.is_blk_confirmed) {\r\n if (vert.is_tx) {\r\n if (vert.is_tx_accepted) {\r\n return COLOR.TransactionConfirmed;\r\n } else {\r\n return COLOR.TransactionPending;\r\n } \r\n }\r\n return COLOR.BlockConfirmed;\r\n }\r\n\r\n if (vert.is_tip) {\r\n return COLOR.Tip;\r\n }\r\n\r\n // pending\r\n if (vert.is_tx) {\r\n return COLOR.TransactionPending\r\n }\r\n return COLOR.BlockPending;\r\n }\r\n\r\n start = () => {\r\n this.draw = true;\r\n this.graph = Viva.Graph.graph();\r\n\r\n let graphics: any = Viva.Graph.View.webglGraphics();\r\n\r\n const layout = Viva.Graph.Layout.forceDirected(this.graph, {\r\n springLength: 10,\r\n springCoeff: 0.0001,\r\n stableThreshold: 0.15,\r\n gravity: -2,\r\n dragCoeff: 0.02,\r\n timeStep: 20,\r\n theta: 0.8,\r\n });\r\n\r\n graphics.node((node) => {\r\n if (!node.data) {\r\n return Viva.Graph.View.webglSquare(10, this.colorForVertexState(node.data));\r\n }\r\n return Viva.Graph.View.webglSquare(vertexSize, this.colorForVertexState(node.data));\r\n })\r\n graphics.link(() => Viva.Graph.View.webglLine(COLOR.Line));\r\n let ele = document.getElementById('visualizer');\r\n this.renderer = Viva.Graph.View.renderer(this.graph, {\r\n container: ele, graphics, layout,\r\n });\r\n\r\n let events = Viva.Graph.webglInputEvents(graphics, this.graph);\r\n\r\n events.mouseEnter((node) => {\r\n this.clearSelected(true);\r\n this.updateSelected(node.data);\r\n }).mouseLeave((node) => {\r\n this.clearSelected(false);\r\n });\r\n\r\n events.click((node) => {\r\n this.clearSelected(true);\r\n this.updateSelected(node.data, true);\r\n });\r\n\r\n this.graphics = graphics;\r\n this.renderer.run();\r\n\r\n // draw vertices by order\r\n this.verticesIncomingOrder.forEach((id) => {\r\n let v = this.vertices.get(id);\r\n if (v) {\r\n this.drawVertex(v);\r\n }\r\n })\r\n }\r\n\r\n stop = () => {\r\n this.draw = false;\r\n this.renderer.dispose();\r\n this.graph = null;\r\n this.paused = false;\r\n this.selected = null;\r\n }\r\n\r\n @action\r\n updateSelected = (vert: Vertex, viaClick?: boolean) => {\r\n if (!vert) return;\r\n\r\n this.selected = vert;\r\n this.selected_via_click = !!viaClick;\r\n\r\n // mutate links\r\n let nodeUI = this.graphics.getNodeUI(vert.id);\r\n this.selected_origin_color = nodeUI.color\r\n nodeUI.color = parseColor(COLOR.Selected);\r\n nodeUI.size = vertexSize * 1.5;\r\n\r\n let node = this.graph.getNode(vert.id);\r\n const seenForward = [];\r\n const seenBackwards = [];\r\n dfsIterator(this.graph, node, node => {\r\n }, true,\r\n link => {\r\n const linkUI = this.graphics.getLinkUI(link.id);\r\n linkUI.color = parseColor(COLOR.SelectedFutureConeLine);\r\n },\r\n seenBackwards\r\n );\r\n dfsIterator(this.graph, node, node => {\r\n }, false,\r\n link => {\r\n const linkUI = this.graphics.getLinkUI(link.id);\r\n linkUI.color = parseColor(COLOR.SelectedPastConeLine);\r\n },\r\n seenForward\r\n );\r\n }\r\n\r\n resetLinks = () => {\r\n this.graph.forEachLink(function (link) {\r\n const linkUI = this.graphics.getLinkUI(link.id);\r\n linkUI.color = parseColor(COLOR.Line);\r\n });\r\n }\r\n\r\n @action\r\n clearSelected = (force_clear?: boolean) => {\r\n if (!this.selected || (this.selected_via_click && !force_clear)) {\r\n return;\r\n }\r\n\r\n // clear link highlight\r\n let node = this.graph.getNode(this.selected.id);\r\n if (!node) {\r\n // clear links\r\n this.resetLinks();\r\n return;\r\n }\r\n\r\n let nodeUI = this.graphics.getNodeUI(this.selected.id);\r\n nodeUI.color = this.selected_origin_color;\r\n nodeUI.size = vertexSize;\r\n\r\n const seenForward = [];\r\n const seenBackwards = [];\r\n dfsIterator(this.graph, node, node => {\r\n }, true,\r\n link => {\r\n const linkUI = this.graphics.getLinkUI(link.id);\r\n linkUI.color = parseColor(COLOR.Line);\r\n },\r\n seenBackwards\r\n );\r\n dfsIterator(this.graph, node, node => {\r\n }, false,\r\n link => {\r\n const linkUI = this.graphics.getLinkUI(link.id);\r\n linkUI.color = parseColor(COLOR.Line);\r\n },\r\n seenForward\r\n );\r\n\r\n this.selected = null;\r\n this.selected_via_click = false;\r\n }\r\n\r\n}\r\n\r\nexport default VisualizerStore;\r\n\r\n// copied over and refactored from https://github.com/glumb/IOTAtangle\r\nfunction dfsIterator(graph, node, cb, up, cbLinks: any = false, seenNodes = []) {\r\n seenNodes.push(node);\r\n let pointer = 0;\r\n\r\n while (seenNodes.length > pointer) {\r\n const node = seenNodes[pointer++];\r\n\r\n if (cb(node)) return true;\r\n\r\n if (!node.links) {\r\n return\r\n }\r\n\r\n for (const link of node.links) {\r\n // parents\r\n if (!up && link.toId === node.id && !seenNodes.includes(graph.getNode(link.fromId))) {\r\n if (cbLinks) cbLinks(link);\r\n seenNodes.push(graph.getNode(link.fromId));\r\n continue;\r\n }\r\n\r\n // children\r\n if (up && link.fromId === node.id && !seenNodes.includes(graph.getNode(link.toId))) {\r\n if (cbLinks) cbLinks(link);\r\n seenNodes.push(graph.getNode(link.toId));\r\n }\r\n }\r\n }\r\n}\r\n\r\nfunction parseColor(color): any {\r\n let parsedColor = 0x009ee8ff;\r\n\r\n if (typeof color === 'number') {\r\n return color;\r\n }\r\n\r\n if (typeof color === 'string' && color) {\r\n if (color.length === 4) {\r\n // #rgb, duplicate each letter except first #.\r\n color = color.replace(/([^#])/g, '$1$1');\r\n }\r\n if (color.length === 9) {\r\n // #rrggbbaa\r\n parsedColor = parseInt(color.substr(1), 16);\r\n } else if (color.length === 7) {\r\n // or #rrggbb.\r\n parsedColor = (parseInt(color.substr(1), 16) << 8) | 0xff;\r\n } else {\r\n throw 'Color expected in hex format with preceding \"#\". E.g. #00ff00. Got value: ' + color;\r\n }\r\n }\r\n\r\n return parsedColor;\r\n}\r\n","import {action, computed, observable} from 'mobx';\nimport {registerHandler, WSMsgType} from \"../misc/WS\";\nimport * as React from \"react\";\nimport {Col, ListGroupItem, OverlayTrigger, Popover, Row} from \"react-bootstrap\";\nimport Plus from \"../../assets/plus.svg\";\nimport Minus from \"../../assets/minus.svg\";\nimport {displayManaUnit} from \"../utils\";\n\nclass ManaBlk {\n nodeID: string;\n access: number;\n consensus: number;\n // in s?\n time: number;\n}\n\nexport class Node {\n shortNodeID: string;\n nodeID: string;\n mana: number;\n}\n\nclass NetworkManaBlk {\n manaType: string;\n totalMana: number;\n nodes: Array;\n}\n\nexport class AllowedPledgeIDsBlk {\n accessFilter: PledgeIDFilter;\n consensusFilter: PledgeIDFilter;\n}\n\nexport class PledgeIDFilter {\n enabled: boolean;\n allowedNodeIDs: Array;\n}\n\nexport class AllowedNodeStr {\n shortID: string;\n fullID: string;\n}\n\nclass PledgeBlk {\n manaType: string;\n nodeID: string;\n time: number;\n txID: string;\n amount: number;\n}\n\nclass RevokeBlk {\n manaType: string;\n nodeID: string;\n time: number;\n txID: string;\n amount: number;\n}\n\nclass ManaEvent {\n nodeID: string;\n time: Date;\n txID: string;\n\n constructor(nodeID: string, time: Date, txID: string) {\n this.nodeID = nodeID;\n this.time = time;\n this.txID = txID;\n }\n}\n\nclass PledgeEvent extends ManaEvent{\n amount: number;\n\n constructor(nodeID: string, time: Date, txID: string, amount: number) {\n super(nodeID, time, txID);\n this.amount = amount;\n }\n}\n\nclass RevokeEvent extends ManaEvent {\n amount: number;\n\n constructor(nodeID: string, time: Date, txID: string, amount: number) {\n super(nodeID, time, txID);\n this.amount = amount;\n }\n}\n\nconst emptyRow = (\n There are no nodes to view with the current search parameters.\n)\nconst emptyListItem = (\n There are no events to view with the current search parameters.)\n\n// every 10 seconds, a new value arrives, so this is roughly 17 mins\nconst maxStoredManaValues = 100;\n// number of previous pledge/revoke events we keep track of. (/2 of plugins/dashboard/maxManaEventsBufferSize)\nconst maxEventsStored = 100;\n\nexport class ManaStore {\n // mana values\n @observable manaValues: Array = [];\n // first is accessm second consensus\n @observable prevManaValues: Array = [0,0];\n // list of richest access mana nodes in network, sorted in descending order\n @observable accessNetworkRichest: Array = [];\n @observable totalAccessNetwork: number = 0.0;\n // list of richest active access mana nodes in the network, sorted in descending order\n @observable accessActiveRichest: Array = [];\n @observable totalAccessActive: number = 0.0;\n // list of richest consensus mana nodes in their network, sorted in descending order\n @observable consensusNetworkRichest: Array = [];\n @observable totalConsensusNetwork: number = 0.0;\n // list of richest active consensus mana nodes in their network, sorted in descending order\n @observable consensusActiveRichest: Array = [];\n @observable totalConsensusActive: number = 0.0;\n\n @observable public searchNode = \"\";\n @observable public searchTxID = \"\";\n\n @observable public allowedPledgeIDs: AllowedPledgeIDsBlk;\n\n // internal arrays to store mana events\n accessEvents: Array = [];\n consensusEvents: Array = [];\n\n // internal arrays to store initial mana events\n initAccessEvents: Array = [];\n initConsensusEvents: Array = [];\n\n // info on latest removed events\n @observable lastRemovedAccessEventTime: Date = null;\n @observable lastRemovedConsensusEventTime: Date = null;\n\n lastInitRemovedAccessEventTime: Date = null;\n lastInitRemovedConsensusEventTime: Date = null;\n\n // only update displayed events when initial arrays were modified\n eventsUpdated: boolean = false;\n\n // mana events displayed in frontend\n @observable displayedAccessEvents: Array = [];\n @observable displayedConsensusEvents: Array = [];\n\n ownID: string;\n\n nodeNotSyncedListItem = (Wait for node to be synced to display mana events.);\n\n constructor() {\n this.manaValues = [];\n\n registerHandler(WSMsgType.Mana, this.addNewManaValue);\n registerHandler(WSMsgType.ManaMapOverall, this.updateNetworkRichest);\n registerHandler(WSMsgType.ManaMapOnline, this.updateActiveRichest);\n // registerHandler(WSMsgType.ManaAllowedPledge, this.updateAllowedPledgeIDs);\n // registerHandler(WSMsgType.ManaInitPledge, this.addNewInitPledge);\n // registerHandler(WSMsgType.ManaInitRevoke, this.addNewInitRevoke);\n // registerHandler(WSMsgType.ManaInitDone, this.initDone);\n // registerHandler(WSMsgType.ManaPledge, this.addNewPledge);\n // registerHandler(WSMsgType.ManaRevoke, this.addNewRevoke);\n };\n\n @action\n updateNodeSearch(searchNode: string): void {\n this.searchNode = searchNode.trim();\n }\n\n @action\n updateTxSearch(searchTxID: string): void {\n this.searchTxID = searchTxID.trim();\n }\n\n @action\n addNewManaValue = (manaBlk: ManaBlk) => {\n this.ownID = this.ownID? this.ownID : manaBlk.nodeID;\n if (this.manaValues.length === maxStoredManaValues) {\n // shift if we already have enough values\n this.manaValues.shift();\n }\n let newManaData = [new Date(manaBlk.time*1000), manaBlk.access, manaBlk.consensus];\n if (this.manaValues.length > 0){\n this.prevManaValues = [this.manaValues[this.manaValues.length -1][1] , this.manaValues[this.manaValues.length -1][2]]\n }\n this.manaValues.push(newManaData);\n }\n\n @action\n updateNetworkRichest = (blk: NetworkManaBlk) => {\n switch (blk.manaType) {\n case \"Access\":\n this.totalAccessNetwork = blk.totalMana;\n this.accessNetworkRichest = blk.nodes;\n break;\n case \"Consensus\":\n this.totalConsensusNetwork = blk.totalMana;\n this.consensusNetworkRichest = blk.nodes;\n break;\n }\n }\n\n @action\n updateActiveRichest = (blk: NetworkManaBlk) => {\n switch (blk.manaType) {\n case \"Access\":\n this.totalAccessActive = blk.totalMana;\n this.accessActiveRichest = blk.nodes;\n break;\n case \"Consensus\":\n this.totalConsensusActive = blk.totalMana;\n this.consensusActiveRichest = blk.nodes;\n break;\n }\n };\n\n @action\n updateAllowedPledgeIDs = (blk: AllowedPledgeIDsBlk) => {\n this.allowedPledgeIDs = blk;\n }\n\n @action\n addNewInitPledge = (blk: PledgeBlk) => {\n let store: Array = [];\n switch (blk.manaType) {\n case \"Access\":\n store = this.initAccessEvents;\n if (store.length >= maxEventsStored) {\n let lastRemoved = store.shift();\n this.lastInitRemovedAccessEventTime = lastRemoved.time;\n }\n break;\n case \"Consensus\":\n store = this.initConsensusEvents;\n if (store.length >= maxEventsStored) {\n let lastRemoved = store.shift();\n this.lastInitRemovedConsensusEventTime = lastRemoved.time;\n }\n break;\n default:\n return\n }\n let newData = new PledgeEvent(\n blk.nodeID,\n new Date(blk.time*1000),\n blk.txID,\n blk.amount,\n );\n store.push(newData);\n }\n\n @action\n addNewPledge = (blk: PledgeBlk) => {\n let store: Array = [];\n switch (blk.manaType) {\n case \"Access\":\n store = this.accessEvents;\n if (store.length >= maxEventsStored) {\n let lastRemoved = store.shift();\n this.lastRemovedAccessEventTime = lastRemoved.time;\n }\n break;\n case \"Consensus\":\n store = this.consensusEvents;\n if (store.length >= maxEventsStored) {\n let lastRemoved = store.shift();\n this.lastRemovedConsensusEventTime = lastRemoved.time;\n }\n break;\n default:\n return\n }\n let newData = new PledgeEvent(\n blk.nodeID,\n new Date(blk.time*1000),\n blk.txID,\n blk.amount,\n );\n store.push(newData);\n this.eventsUpdated = true;\n }\n\n @action\n addNewInitRevoke = (blk: RevokeBlk) => {\n let store: Array = [];\n switch (blk.manaType) {\n case \"Consensus\":\n store = this.initConsensusEvents;\n if (store.length >= maxEventsStored) {\n let lastRemoved = store.shift();\n this.lastInitRemovedConsensusEventTime = lastRemoved.time;\n }\n break;\n default:\n return;\n }\n let newData = new RevokeEvent(\n blk.nodeID,\n new Date(blk.time*1000),\n blk.txID,\n blk.amount\n );\n store.push(newData);\n }\n\n @action\n addNewRevoke = (blk: RevokeBlk) => {\n let store: Array = [];\n switch (blk.manaType) {\n case \"Consensus\":\n store = this.consensusEvents;\n if (store.length >= maxEventsStored) {\n let lastRemoved = store.shift();\n this.lastRemovedConsensusEventTime = lastRemoved.time;\n }\n break;\n default:\n return;\n }\n let newData = new RevokeEvent(\n blk.nodeID,\n new Date(blk.time*1000),\n blk.txID,\n blk.amount\n );\n store.push(newData);\n this.eventsUpdated = true;\n }\n\n @action\n initDone = () => {\n this.accessEvents = this.initAccessEvents;\n this.lastRemovedAccessEventTime = this.lastInitRemovedAccessEventTime;\n this.consensusEvents= this.initConsensusEvents;\n this.lastRemovedConsensusEventTime = this.lastInitRemovedConsensusEventTime;\n\n this.displayedAccessEvents = [...this.accessEvents]\n this.displayedConsensusEvents = [...this.consensusEvents]\n\n setInterval(() => {\n if (this.eventsUpdated) {\n this.displayedAccessEvents = [...this.accessEvents];\n this.displayedConsensusEvents = [...this.consensusEvents];\n this.eventsUpdated = false;\n }\n }, 500)\n }\n\n nodeList = (leaderBoard: Array, manaSum: number) => {\n if (leaderBoard === null || leaderBoard == undefined) {\n return []\n }\n let feed = [];\n let pushToFeed = (node: Node, i: number) => {\n feed.push(\n \n {i + 1} \n {node.shortNodeID}\n {displayManaUnit(node.mana)}\n {((node.mana / manaSum)*100.0).toFixed(2)}%\n \n );\n };\n let callback = (node: Node, i: number) => {\n if (this.passesNodeFilter(node.shortNodeID)){\n pushToFeed(node, i);\n }\n };\n leaderBoard.forEach(callback);\n return feed\n }\n\n @computed\n get networkRichestFeedAccess() {\n let result = this.nodeList(this.accessNetworkRichest, this.totalAccessNetwork);\n if (result.length === 0) {\n return [emptyRow];\n } else {\n return result;\n }\n }\n\n @computed\n get networkRichestFeedConsensus() {\n let result = this.nodeList(this.consensusNetworkRichest, this.totalConsensusNetwork);\n if (result.length === 0) {\n return [emptyRow];\n } else {\n return result;\n }\n }\n\n @computed\n get activeRichestFeedAccess() {\n let result = this.nodeList(this.accessActiveRichest, this.totalAccessActive);\n if (result.length === 0) {\n return [emptyRow];\n } else {\n return result;\n }\n }\n\n @computed\n get activeRichestFeedConsensus() {\n let result = this.nodeList(this.consensusActiveRichest, this.totalConsensusActive);\n if (result.length === 0) {\n return [emptyRow];\n } else {\n return result;\n }\n }\n\n @computed\n get accessHistogramInput() {\n if (this.accessNetworkRichest === undefined || this.accessNetworkRichest === null) {\n return [[\"\", 0]]\n }\n let histInput = new Array()\n for (let i = 0; i < this.accessNetworkRichest.length; i++) {\n histInput.push(\n [this.accessNetworkRichest[i].shortNodeID, Math.log10(this.accessNetworkRichest[i].mana)]\n )\n }\n return histInput\n }\n\n @computed\n get consensusHistogramInput() {\n if (this.consensusNetworkRichest === undefined || this.consensusNetworkRichest === null) {\n return [[\"\", 0]]\n }\n let histInput = new Array()\n for (let i = 0; i < this.consensusNetworkRichest.length; i++) {\n histInput.push(\n [this.consensusNetworkRichest[i].shortNodeID, Math.log10(this.consensusNetworkRichest[i].mana)]\n )\n }\n return histInput\n }\n\n @computed\n get accessPercentile() {\n let per = 0.0;\n // find id\n if (this.accessNetworkRichest !== undefined && this.accessNetworkRichest !== null) {\n const isOwnID = (element) => element.shortNodeID === this.ownID;\n let index = this.accessNetworkRichest.findIndex(isOwnID);\n switch (index) {\n case -1:\n break;\n default:\n per = ((this.accessNetworkRichest.length - (index + 1)) / this.accessNetworkRichest.length) * 100;\n break;\n }\n }\n return per\n }\n\n @computed\n get consensusPercentile() {\n let per = 0.0;\n // find id\n if ( this.consensusNetworkRichest !== undefined && this.consensusNetworkRichest !== null) {\n const isOwnID = (element) => element.shortNodeID === this.ownID;\n let index = this.consensusNetworkRichest.findIndex(isOwnID);\n switch (index) {\n case -1:\n break;\n default:\n per = ((this.consensusNetworkRichest.length - (index +1)) / this.consensusNetworkRichest.length) * 100;\n }\n }\n return per\n }\n\n computeEventList = (evArr: Array) => {\n let result = [];\n result.push(\n \n \n \n \n \n NodeID\n \n \n Tx ID\n \n \n Time\n \n \n \n )\n if (evArr === undefined || evArr === null) {\n return result\n }\n let pushToEventFeed = (element: ManaEvent, index) => {\n if (element instanceof PledgeEvent) {\n let popover = (ev: PledgeEvent) => {\n return (\n \n Mana Pledged\n \n
Base Mana: +{displayManaUnit(ev.amount)}
\n
With Transaction: navigator.clipboard.writeText(ev.txID)}\n href={`/explorer/transaction/${ev.txID}`}\n >{ev.txID}
\n
To NodeID: {ev.nodeID}
\n
Time of Pledge: {ev.time.toLocaleTimeString()}
\n
\n
\n )\n }\n result.push(\n \n do something on click}>\n as={'button'}\n >\n \n \n \"Plus\"\n \n \n {element.nodeID}\n \n \n {element.txID.substring(0, 7) + '...'}\n \n \n {element.time.toLocaleString()}\n \n \n \n \n )\n } else if (element instanceof RevokeEvent){\n let popover = (ev: RevokeEvent) => {\n return (\n \n Mana Revoked\n \n
Base Mana 1: -{displayManaUnit(ev.amount)}
\n
With Transaction: navigator.clipboard.writeText(ev.txID)}\n href={`/explorer/transaction/${ev.txID}`}\n >{ev.txID}
\n
From NodeID: {ev.nodeID}
\n
Time of Revoke: {ev.time.toLocaleTimeString()}
\n
\n
\n )\n }\n // it's a revoke event then\n result.push(\n \n do something on click}>\n as={'button'}\n >\n \n \n \"Minus\"\n \n \n {element.nodeID}\n \n \n {element.txID.substring(0, 7) + '...'}\n \n \n {element.time.toLocaleString()}\n \n \n \n \n )\n }\n };\n // && this.passesTimeFilter(event.time) {\n let callback = (event: ManaEvent, i: number) => {\n if (this.passesNodeFilter(event.nodeID) && this.passesTxFilter(event.txID)){\n pushToEventFeed(event, i);\n }\n };\n // reverse traverse bc oldest event is the first\n evArr.reverse().forEach(callback)\n return result;\n }\n\n @computed\n get accessEventList() {\n let result = this.computeEventList(this.displayedAccessEvents);\n if (result.length === 1) {\n result.push(emptyListItem);\n }\n return result;\n }\n\n @computed\n get consensusEventList() {\n let result = this.computeEventList(this.displayedConsensusEvents);\n if (result.length === 1) {\n result.push(emptyListItem);\n }\n return result;\n }\n\n passesNodeFilter = (nodeID: string) : boolean => {\n if (this.searchNode.trim().length === 0) {\n // node filter is disabled, anything passes the filter\n return true;\n } else if (nodeID.toLowerCase().includes(this.searchNode.toLowerCase())){\n // node filter is enabled, nodeID contains search term\n return true;\n }\n // filter enabled but nodeID doesn't pass\n return false;\n }\n\n passesTxFilter = (txID: string) : boolean => {\n if (this.searchTxID.trim().length === 0) {\n // txID filter is disabled, anything passes the filter\n return true;\n } else if (txID.toLowerCase().includes(this.searchTxID.toLowerCase())){\n // txID filter is enabled, txID contains search term\n return true;\n }\n // filter enabled but txID doesn't pass\n return false;\n }\n}\n\nexport default ManaStore;\n","import {computed, action, observable} from \"mobx\";\nimport { registerHandler, WSMsgType } from \"../misc/WS\";\nimport * as React from \"react\";\nimport {Link} from 'react-router-dom';\n\nconst liveFeedSize = 100;\n\nexport class SlotInfo {\n index: number;\n id: string;\n}\n\nexport class SlotStore {\n @observable liveFeed: Array = [];\n\n constructor() {\n registerHandler(WSMsgType.SlotInfo, this.addLiveFeed);\n }\n\n @action addLiveFeed = async (info: SlotInfo) => {\n if (this.liveFeed.findIndex((t) => t.id == info.id) === -1) {\n if (this.liveFeed.length >= liveFeedSize) {\n this.liveFeed.shift();\n }\n this.liveFeed.push(info);\n }\n }\n\n @computed\n get slotLiveFeed() {\n let feed = [];\n for (let i = this.liveFeed.length - 1; i >= 0; i--) {\n let info = this.liveFeed[i];\n feed.push(\n \n \n {info.index}\n \n \n \n {info.id}\n \n \n \n );\n }\n return feed;\n }\n}","import * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nimport {Provider} from 'mobx-react';\nimport {createBrowserHistory} from 'history';\nimport 'chartjs-plugin-streaming';\nimport {App} from './app/App';\nimport {RouterStore, syncHistoryWithStore} from 'mobx-react-router';\nimport {Router} from 'react-router-dom';\nimport NodeStore from \"./app/stores/NodeStore\";\nimport ExplorerStore from \"./app/stores/ExplorerStore\";\nimport FaucetStore from \"./app/stores/FaucetStore\";\nimport VisualizerStore from \"./app/stores/VisualizerStore\";\nimport ManaStore from \"./app/stores/ManaStore\";\nimport {SlotStore} from \"./app/stores/SlotStore\";\n\n// prepare MobX stores\nconst routerStore = new RouterStore();\nconst nodeStore = new NodeStore();\nconst explorerStore = new ExplorerStore(routerStore);\nconst faucetStore = new FaucetStore(routerStore);\nconst visualizerStore = new VisualizerStore(routerStore);\nconst manaStore = new ManaStore();\nconst slotStore = new SlotStore();\nconst stores = {\n \"routerStore\": routerStore,\n \"nodeStore\": nodeStore,\n \"explorerStore\": explorerStore,\n \"faucetStore\": faucetStore,\n \"visualizerStore\": visualizerStore,\n \"manaStore\": manaStore,\n \"slotStore\": slotStore\n};\n\nconst browserHistory = createBrowserHistory();\nconst history = syncHistoryWithStore(browserHistory, routerStore);\n\n// render react DOM\nReactDOM.render(\n \n \n \n \n ,\n document.getElementById('root')\n);\n"],"sourceRoot":""} \ No newline at end of file diff --git a/components/dashboard/frontend/build/index.html b/components/dashboard/frontend/build/index.html deleted file mode 100644 index bd4506986..000000000 --- a/components/dashboard/frontend/build/index.html +++ /dev/null @@ -1 +0,0 @@ - iota-core Dashboard
\ No newline at end of file diff --git a/components/dashboard/frontend/build/vendor.673a0c611e9ac940cbe9.js b/components/dashboard/frontend/build/vendor.673a0c611e9ac940cbe9.js deleted file mode 100644 index 1e13e8d24..000000000 --- a/components/dashboard/frontend/build/vendor.673a0c611e9ac940cbe9.js +++ /dev/null @@ -1,352 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[2],[function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return i}));var r=n(1),a={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},i=r.createContext&&r.createContext(a),o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function O(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,i=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)o.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return o}function E(){for(var e=[],t=0;t2&&Q("box");var n=V(t);return new De(e,$(n),n.name,!0,n.equals)},array:function(e,t){arguments.length>2&&Q("array");var n=V(t);return hn(e,$(n),n.name)},map:function(e,t){arguments.length>2&&Q("map");var n=V(t);return new Mn(e,$(n),n.name)},set:function(e,t){arguments.length>2&&Q("set");var n=V(t);return new xn(e,$(n),n.name)},object:function(e,t,n){"string"==typeof arguments[1]&&Q("object");var r=V(n);if(!1===r.proxy)return vt({},e,t,r);var a=gt(r),i=vt({},void 0,void 0,r),o=an(i);return bt(o,e,t,a),o},ref:J,shallow:q,deep:U,struct:G},X=function(e,t,n){if("string"==typeof arguments[1]||"symbol"==typeof arguments[1])return U.apply(null,arguments);if(Ht(e))return e;var r=f(e)?X.object(e,t,n):Array.isArray(e)?X.array(e,t):_(e)?X.map(e,t):y(e)?X.set(e,t):e;if(r!==e)return r;s(!1)};function Q(e){s("Expected one or two arguments to observable."+e+". Did you accidentally try to use observable."+e+" as decorator?")}Object.keys(K).forEach((function(e){return X[e]=K[e]}));var Z,ee,te=R(!1,(function(e,t,n,r,a){var i=n.get,o=n.set,s=a[0]||{};Tn(e).addComputedProp(e,t,D({get:i,set:o,context:e},s))})),ne=te({equals:Y.structural}),re=function(e,t,n){if("string"==typeof t)return te.apply(null,arguments);if(null!==e&&"object"==typeof e&&1===arguments.length)return te.apply(null,arguments);var r="object"==typeof t?t:{};return r.get=e,r.set="function"==typeof t?t:r.set,r.name=r.name||e.name||"",new Oe(r)};re.struct=ne,function(e){e[e.NOT_TRACKING=-1]="NOT_TRACKING",e[e.UP_TO_DATE=0]="UP_TO_DATE",e[e.POSSIBLY_STALE=1]="POSSIBLY_STALE",e[e.STALE=2]="STALE"}(Z||(Z={})),function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(ee||(ee={}));var ae=function(e){this.cause=e};function ie(e){return e instanceof ae}function oe(e){switch(e.dependenciesState){case Z.UP_TO_DATE:return!1;case Z.NOT_TRACKING:case Z.STALE:return!0;case Z.POSSIBLY_STALE:for(var t=me(!0),n=fe(),r=e.observing,a=r.length,i=0;i0;Re.computationDepth>0&&t&&s(!1),Re.allowStateChanges||!t&&"strict"!==Re.enforceActions||s(!1)}function le(e,t,n){var r=me(!0);_e(e),e.newObserving=new Array(e.observing.length+100),e.unboundDepsCount=0,e.runId=++Re.runId;var a,i=Re.trackingDerivation;if(Re.trackingDerivation=e,!0===Re.disableErrorBoundaries)a=t.call(n);else try{a=t.call(n)}catch(e){a=new ae(e)}return Re.trackingDerivation=i,function(e){for(var t=e.observing,n=e.observing=e.newObserving,r=Z.UP_TO_DATE,a=0,i=e.unboundDepsCount,o=0;or&&(r=s.dependenciesState)}n.length=a,e.newObserving=null,i=t.length;for(;i--;){0===(s=t[i]).diffValue&&We(s,e),s.diffValue=0}for(;a--;){var s;1===(s=n[a]).diffValue&&(s.diffValue=0,ze(s,e))}r!==Z.UP_TO_DATE&&(e.dependenciesState=r,e.onBecomeStale())}(e),pe(r),a}function de(e){var t=e.observing;e.observing=[];for(var n=t.length;n--;)We(t[n],e);e.dependenciesState=Z.NOT_TRACKING}function ce(e){var t=fe();try{return e()}finally{he(t)}}function fe(){var e=Re.trackingDerivation;return Re.trackingDerivation=null,e}function he(e){Re.trackingDerivation=e}function me(e){var t=Re.allowStateReads;return Re.allowStateReads=e,t}function pe(e){Re.allowStateReads=e}function _e(e){if(e.dependenciesState!==Z.UP_TO_DATE){e.dependenciesState=Z.UP_TO_DATE;for(var t=e.observing,n=t.length;n--;)t[n].lowestObserverState=Z.UP_TO_DATE}}var ye=0,ve=1,ge=Object.getOwnPropertyDescriptor((function(){}),"name");ge&&ge.configurable;function be(e,t,n){var r=function(){return Me(e,t,n||this,arguments)};return r.isMobxAction=!0,r}function Me(e,t,n,r){var a=we(e,n,r);try{return t.apply(n,r)}catch(e){throw a.error=e,e}finally{Le(a)}}function we(e,t,n){var r=0,a=fe();Ve();var i={prevDerivation:a,prevAllowStateChanges:ke(!0),prevAllowStateReads:me(!0),notifySpy:!1,startTime:r,actionId:ve++,parentActionId:ye};return ye=i.actionId,i}function Le(e){ye!==e.actionId&&s("invalid action stack. did you forget to finish an action?"),ye=e.parentActionId,void 0!==e.error&&(Re.suppressReactionErrors=!0),Ye(e.prevAllowStateChanges),pe(e.prevAllowStateReads),Ue(),he(e.prevDerivation),e.notifySpy,Re.suppressReactionErrors=!1}function xe(e,t){var n,r=ke(e);try{n=t()}finally{Ye(r)}return n}function ke(e){var t=Re.allowStateChanges;return Re.allowStateChanges=e,t}function Ye(e){Re.allowStateChanges=e}function Te(e){var t,n=Re.computationDepth;Re.computationDepth=0;try{t=e()}finally{Re.computationDepth=n}return t}var De=function(e){function t(t,n,r,a,i){void 0===r&&(r="ObservableValue@"+o()),void 0===a&&(a=!0),void 0===i&&(i=Y.default);var s=e.call(this,r)||this;return s.enhancer=n,s.name=r,s.equals=i,s.hasUnreportedChange=!1,s.value=n(t,void 0,r),s}return function(e,t){function n(){this.constructor=e}T(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.prototype.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.prototype.set=function(e){this.value;if((e=this.prepareNewValue(e))!==Re.UNCHANGED){0,this.setNewValue(e)}},t.prototype.prepareNewValue=function(e){if(ue(this),on(this)){var t=un(this,{object:this,type:"update",newValue:e});if(!t)return Re.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value,this.name),this.equals(this.value,e)?Re.UNCHANGED:e},t.prototype.setNewValue=function(e){var t=this.value;this.value=e,this.reportChanged(),ln(this)&&cn(this,{type:"update",object:this,newValue:e,oldValue:t})},t.prototype.get=function(){return this.reportObserved(),this.dehanceValue(this.value)},t.prototype.intercept=function(e){return sn(this,e)},t.prototype.observe=function(e,t){return t&&e({object:this,type:"update",newValue:this.value,oldValue:void 0}),dn(this,e)},t.prototype.toJSON=function(){return this.get()},t.prototype.toString=function(){return this.name+"["+this.value+"]"},t.prototype.valueOf=function(){return b(this.get())},t.prototype[Symbol.toPrimitive]=function(){return this.valueOf()},t}(L),Se=m("ObservableValue",De),Oe=function(){function e(e){this.dependenciesState=Z.NOT_TRACKING,this.observing=[],this.newObserving=null,this.isBeingObserved=!1,this.isPendingUnobservation=!1,this.observers=new Set,this.diffValue=0,this.runId=0,this.lastAccessedBy=0,this.lowestObserverState=Z.UP_TO_DATE,this.unboundDepsCount=0,this.__mapid="#"+o(),this.value=new ae(null),this.isComputing=!1,this.isRunningSetter=!1,this.isTracing=ee.NONE,u(e.get,"missing option for computed: get"),this.derivation=e.get,this.name=e.name||"ComputedValue@"+o(),e.set&&(this.setter=be(this.name+"-setter",e.set)),this.equals=e.equals||(e.compareStructural||e.struct?Y.structural:Y.default),this.scope=e.context,this.requiresReaction=!!e.requiresReaction,this.keepAlive=!!e.keepAlive}return e.prototype.onBecomeStale=function(){!function(e){if(e.lowestObserverState!==Z.UP_TO_DATE)return;e.lowestObserverState=Z.POSSIBLY_STALE,e.observers.forEach((function(t){t.dependenciesState===Z.UP_TO_DATE&&(t.dependenciesState=Z.POSSIBLY_STALE,t.isTracing!==ee.NONE&&Je(t,e),t.onBecomeStale())}))}(this)},e.prototype.onBecomeObserved=function(){this.onBecomeObservedListeners&&this.onBecomeObservedListeners.forEach((function(e){return e()}))},e.prototype.onBecomeUnobserved=function(){this.onBecomeUnobservedListeners&&this.onBecomeUnobservedListeners.forEach((function(e){return e()}))},e.prototype.get=function(){this.isComputing&&s("Cycle detected in computation "+this.name+": "+this.derivation),0!==Re.inBatch||0!==this.observers.size||this.keepAlive?(qe(this),oe(this)&&this.trackAndCompute()&&function(e){if(e.lowestObserverState===Z.STALE)return;e.lowestObserverState=Z.STALE,e.observers.forEach((function(t){t.dependenciesState===Z.POSSIBLY_STALE?t.dependenciesState=Z.STALE:t.dependenciesState===Z.UP_TO_DATE&&(e.lowestObserverState=Z.UP_TO_DATE)}))}(this)):oe(this)&&(this.warnAboutUntrackedRead(),Ve(),this.value=this.computeValue(!1),Ue());var e=this.value;if(ie(e))throw e.cause;return e},e.prototype.peek=function(){var e=this.computeValue(!1);if(ie(e))throw e.cause;return e},e.prototype.set=function(e){if(this.setter){u(!this.isRunningSetter,"The setter of computed value '"+this.name+"' is trying to update itself. Did you intend to update an _observable_ value, instead of the computed property?"),this.isRunningSetter=!0;try{this.setter.call(this.scope,e)}finally{this.isRunningSetter=!1}}else u(!1,!1)},e.prototype.trackAndCompute=function(){var e=this.value,t=this.dependenciesState===Z.NOT_TRACKING,n=this.computeValue(!0),r=t||ie(e)||ie(n)||!this.equals(e,n);return r&&(this.value=n),r},e.prototype.computeValue=function(e){var t;if(this.isComputing=!0,Re.computationDepth++,e)t=le(this,this.derivation,this.scope);else if(!0===Re.disableErrorBoundaries)t=this.derivation.call(this.scope);else try{t=this.derivation.call(this.scope)}catch(e){t=new ae(e)}return Re.computationDepth--,this.isComputing=!1,t},e.prototype.suspend=function(){this.keepAlive||(de(this),this.value=void 0)},e.prototype.observe=function(e,t){var n=this,r=!0,a=void 0;return lt((function(){var i=n.get();if(!r||t){var o=fe();e({type:"update",object:n,newValue:i,oldValue:a}),he(o)}r=!1,a=i}))},e.prototype.warnAboutUntrackedRead=function(){},e.prototype.toJSON=function(){return this.get()},e.prototype.toString=function(){return this.name+"["+this.derivation.toString()+"]"},e.prototype.valueOf=function(){return b(this.get())},e.prototype[Symbol.toPrimitive]=function(){return this.valueOf()},e}(),Ee=m("ComputedValue",Oe),je=["mobxGuid","spyListeners","enforceActions","computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","allowStateReads","disableErrorBoundaries","runId","UNCHANGED"],Pe=function(){this.version=5,this.UNCHANGED={},this.trackingDerivation=null,this.computationDepth=0,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!0,this.allowStateReads=!0,this.enforceActions=!1,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.computedConfigurable=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1},Ce={};function Ae(){return"undefined"!=typeof window?window:void 0!==r?r:"undefined"!=typeof self?self:Ce}var He=!0,Ne=!1,Re=function(){var e=Ae();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(He=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new Pe).version&&(He=!1),He?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new Pe):(setTimeout((function(){Ne||s("There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use `configure({ isolateGlobalState: true })`")}),1),new Pe)}();function Fe(){return Re}function Ie(){var e=new Pe;for(var t in e)-1===je.indexOf(t)&&(Re[t]=e[t]);Re.allowStateChanges=!Re.enforceActions}function ze(e,t){e.observers.add(t),e.lowestObserverState>t.dependenciesState&&(e.lowestObserverState=t.dependenciesState)}function We(e,t){e.observers.delete(t),0===e.observers.size&&Be(e)}function Be(e){!1===e.isPendingUnobservation&&(e.isPendingUnobservation=!0,Re.pendingUnobservations.push(e))}function Ve(){Re.inBatch++}function Ue(){if(0==--Re.inBatch){Xe();for(var e=Re.pendingUnobservations,t=0;t0&&Be(e),!1)}function Je(e,t){if(console.log("[mobx.trace] '"+e.name+"' is invalidated due to a change in: '"+t.name+"'"),e.isTracing===ee.BREAK){var n=[];!function e(t,n,r){if(n.length>=1e3)return void n.push("(and many more)");n.push(""+new Array(r).join("\t")+t.name),t.dependencies&&t.dependencies.forEach((function(t){return e(t,n,r+1)}))}(Mt(e),n,1),new Function("debugger;\n/*\nTracing '"+e.name+"'\n\nYou are entering this break point because derivation '"+e.name+"' is being traced and '"+t.name+"' is now forcing it to update.\nJust follow the stacktrace you should now see in the devtools to see precisely what piece of your code is causing this update\nThe stackframe you are looking for is at least ~6-8 stack-frames up.\n\n"+(e instanceof Oe?e.derivation.toString().replace(/[*]\//g,"/"):"")+"\n\nThe dependencies for this derivation are:\n\n"+n.join("\n")+"\n*/\n ")()}}var Ge=function(){function e(e,t,n,r){void 0===e&&(e="Reaction@"+o()),void 0===r&&(r=!1),this.name=e,this.onInvalidate=t,this.errorHandler=n,this.requiresObservable=r,this.observing=[],this.newObserving=[],this.dependenciesState=Z.NOT_TRACKING,this.diffValue=0,this.runId=0,this.unboundDepsCount=0,this.__mapid="#"+o(),this.isDisposed=!1,this._isScheduled=!1,this._isTrackPending=!1,this._isRunning=!1,this.isTracing=ee.NONE}return e.prototype.onBecomeStale=function(){this.schedule()},e.prototype.schedule=function(){this._isScheduled||(this._isScheduled=!0,Re.pendingReactions.push(this),Xe())},e.prototype.isScheduled=function(){return this._isScheduled},e.prototype.runReaction=function(){if(!this.isDisposed){if(Ve(),this._isScheduled=!1,oe(this)){this._isTrackPending=!0;try{this.onInvalidate(),this._isTrackPending}catch(e){this.reportExceptionInDerivation(e)}}Ue()}},e.prototype.track=function(e){if(!this.isDisposed){Ve();0,this._isRunning=!0;var t=le(this,e,void 0);this._isRunning=!1,this._isTrackPending=!1,this.isDisposed&&de(this),ie(t)&&this.reportExceptionInDerivation(t.cause),Ue()}},e.prototype.reportExceptionInDerivation=function(e){var t=this;if(this.errorHandler)this.errorHandler(e,this);else{if(Re.disableErrorBoundaries)throw e;var n="[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '"+this+"'";Re.suppressReactionErrors?console.warn("[mobx] (error in reaction '"+this.name+"' suppressed, fix error of causing action below)"):console.error(n,e),Re.globalReactionErrorHandlers.forEach((function(n){return n(e,t)}))}},e.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this._isRunning||(Ve(),de(this),Ue()))},e.prototype.getDisposer=function(){var e=this.dispose.bind(this);return e[w]=this,e},e.prototype.toString=function(){return"Reaction["+this.name+"]"},e.prototype.trace=function(e){void 0===e&&(e=!1),$t(this,e)},e}();function $e(e){return Re.globalReactionErrorHandlers.push(e),function(){var t=Re.globalReactionErrorHandlers.indexOf(e);t>=0&&Re.globalReactionErrorHandlers.splice(t,1)}}var Ke=function(e){return e()};function Xe(){Re.inBatch>0||Re.isRunningReactions||Ke(Qe)}function Qe(){Re.isRunningReactions=!0;for(var e=Re.pendingReactions,t=0;e.length>0;){100==++t&&(console.error("Reaction doesn't converge to a stable state after 100 iterations. Probably there is a cycle in the reactive function: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,a=n.length;r",e):2===arguments.length&&"function"==typeof t?be(e,t):1===arguments.length&&"string"==typeof e?rt(e):!0!==r?rt(t).apply(null,arguments):void h(e,t,be(e.name||t,n.value,this))};function ot(e,t){return Me("string"==typeof e?e:e.name||"","function"==typeof e?e:t,this,void 0)}function st(e){return"function"==typeof e&&!0===e.isMobxAction}function ut(e,t,n){h(e,t,be(t,n.bind(e)))}function lt(e,t){void 0===t&&(t=i);var n,r=t&&t.name||e.name||"Autorun@"+o();if(!t.scheduler&&!t.delay)n=new Ge(r,(function(){this.track(u)}),t.onError,t.requiresObservable);else{var a=ct(t),s=!1;n=new Ge(r,(function(){s||(s=!0,a((function(){s=!1,n.isDisposed||n.track(u)})))}),t.onError,t.requiresObservable)}function u(){e(n)}return n.schedule(),n.getDisposer()}it.bound=function(e,t,n,r){return!0===r?(ut(e,t,n.value),null):n?{configurable:!0,enumerable:!1,get:function(){return ut(this,t,n.value||n.initializer.call(this)),this[t]},set:nt}:{enumerable:!1,configurable:!0,set:function(e){ut(this,t,e)},get:function(){}}};var dt=function(e){return e()};function ct(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:dt}function ft(e,t,n){void 0===n&&(n=i);var r,a,s,u=n.name||"Reaction@"+o(),l=it(u,n.onError?(r=n.onError,a=t,function(){try{return a.apply(this,arguments)}catch(e){r.call(this,e)}}):t),d=!n.scheduler&&!n.delay,c=ct(n),f=!0,h=!1,m=n.compareStructural?Y.structural:n.equals||Y.default,p=new Ge(u,(function(){f||d?_():h||(h=!0,c(_))}),n.onError,n.requiresObservable);function _(){if(h=!1,!p.isDisposed){var t=!1;p.track((function(){var n=e(p);t=f||!m(s,n),s=n})),f&&n.fireImmediately&&l(s,p),f||!0!==t||l(s,p),f&&(f=!1)}}return p.schedule(),p.getDisposer()}function ht(e,t,n){return pt("onBecomeObserved",e,t,n)}function mt(e,t,n){return pt("onBecomeUnobserved",e,t,n)}function pt(e,t,n,r){var a="function"==typeof r?Pn(t,n):Pn(t),i="function"==typeof r?r:n,o=e+"Listeners";return a[o]?a[o].add(i):a[o]=new Set([i]),"function"!=typeof a[e]?s(!1):function(){var e=a[o];e&&(e.delete(i),0===e.size&&delete a[o])}}function _t(e){var t=e.enforceActions,n=e.computedRequiresReaction,r=e.computedConfigurable,a=e.disableErrorBoundaries,i=e.reactionScheduler,o=e.reactionRequiresObservable,u=e.observableRequiresReaction;if(!0===e.isolateGlobalState&&((Re.pendingReactions.length||Re.inBatch||Re.isRunningReactions)&&s("isolateGlobalState should be called before MobX is running any reactions"),Ne=!0,He&&(0==--Ae().__mobxInstanceCount&&(Ae().__mobxGlobals=void 0),Re=new Pe)),void 0!==t){var l=void 0;switch(t){case!0:case"observed":l=!0;break;case!1:case"never":l=!1;break;case"strict":case"always":l="strict";break;default:s("Invalid value for 'enforceActions': '"+t+"', expected 'never', 'always' or 'observed'")}Re.enforceActions=l,Re.allowStateChanges=!0!==l&&"strict"!==l}void 0!==n&&(Re.computedRequiresReaction=!!n),void 0!==o&&(Re.reactionRequiresObservable=!!o),void 0!==u&&(Re.observableRequiresReaction=!!u,Re.allowStateReads=!Re.observableRequiresReaction),void 0!==r&&(Re.computedConfigurable=!!r),void 0!==a&&(!0===a&&console.warn("WARNING: Debug feature only. MobX will NOT recover from errors when `disableErrorBoundaries` is enabled."),Re.disableErrorBoundaries=!!a),i&&et(i)}function yt(e,t){var n="function"==typeof e?e.prototype:e,r=function(e){var r=t[e];Array.isArray(r)||(r=[r]);var a=Object.getOwnPropertyDescriptor(n,e),i=r.reduce((function(t,r){return r(n,e,t)}),a);i&&Object.defineProperty(n,e,i)};for(var a in t)r(a);return e}function vt(e,t,n,r){var a=gt(r=V(r));return N(e),Tn(e,r.name,a.enhancer),t&&bt(e,t,n,a),e}function gt(e){return e.defaultDecorator||(!1===e.deep?J:U)}function bt(e,t,n,r){var a,i;Ve();try{var o=M(t);try{for(var s=S(o),u=s.next();!u.done;u=s.next()){var l=u.value,d=Object.getOwnPropertyDescriptor(t,l);0;var c=(n&&l in n?n[l]:d.get?te:r)(e,l,d,!0);c&&Object.defineProperty(e,l,c)}}catch(e){a={error:e}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(a)throw a.error}}}finally{Ue()}}function Mt(e,t){return wt(Pn(e,t))}function wt(e){var t,n,r={name:e.name};return e.observing&&e.observing.length>0&&(r.dependencies=(t=e.observing,n=[],t.forEach((function(e){-1===n.indexOf(e)&&n.push(e)})),n).map(wt)),r}function Lt(e,t){return xt(Pn(e,t))}function xt(e){var t={name:e.name};return function(e){return e.observers&&e.observers.size>0}(e)&&(t.observers=Array.from(function(e){return e.observers}(e)).map(xt)),t}var kt=0;function Yt(){this.message="FLOW_CANCELLED"}function Tt(e){return e instanceof Yt}function Dt(e){1!==arguments.length&&s("Flow expects 1 argument and cannot be used as decorator");var t=e.name||"";return function(){var n,r=this,a=arguments,i=++kt,o=it(t+" - runid: "+i+" - init",e).apply(r,a),s=void 0,u=new Promise((function(e,r){var a=0;function u(e){var n;s=void 0;try{n=it(t+" - runid: "+i+" - yield "+a++,o.next).call(o,e)}catch(e){return r(e)}d(n)}function l(e){var n;s=void 0;try{n=it(t+" - runid: "+i+" - yield "+a++,o.throw).call(o,e)}catch(e){return r(e)}d(n)}function d(t){if(!t||"function"!=typeof t.then)return t.done?e(t.value):(s=Promise.resolve(t.value)).then(u,l);t.then(d,r)}n=r,u(void 0)}));return u.cancel=it(t+" - runid: "+i+" - cancel",(function(){try{s&&St(s);var e=o.return(void 0),t=Promise.resolve(e.value);t.then(d,d),St(t),n(new Yt)}catch(e){n(e)}})),u}}function St(e){"function"==typeof e.cancel&&e.cancel()}function Ot(e,t,n){var r;if(wn(e)||vn(e)||Se(e))r=Cn(e);else{if(!jn(e))return s(!1);if("string"!=typeof t)return s(!1);r=Cn(e,t)}return void 0!==r.dehancer?s(!1):(r.dehancer="function"==typeof t?t:n,function(){r.dehancer=void 0})}function Et(e,t,n){return"function"==typeof n?function(e,t,n){return Cn(e,t).intercept(n)}(e,t,n):function(e,t){return Cn(e).intercept(t)}(e,t)}function jt(e,t){if(null==e)return!1;if(void 0!==t){if(!1===jn(e))return!1;if(!e[w].values.has(t))return!1;var n=Pn(e,t);return Ee(n)}return Ee(e)}function Pt(e){return arguments.length>1?s(!1):jt(e)}function Ct(e,t){return"string"!=typeof t?s(!1):jt(e,t)}function At(e,t){return null!=e&&(void 0!==t?!!jn(e)&&e[w].values.has(t):jn(e)||!!e[w]||x(e)||Ze(e)||Ee(e))}function Ht(e){return 1!==arguments.length&&s(!1),At(e)}function Nt(e,t){return"string"!=typeof t?s(!1):At(e,t)}function Rt(e){return jn(e)?e[w].getKeys():wn(e)||kn(e)?Array.from(e.keys()):vn(e)?e.map((function(e,t){return t})):s(!1)}function Ft(e){return jn(e)?Rt(e).map((function(t){return e[t]})):wn(e)?Rt(e).map((function(t){return e.get(t)})):kn(e)?Array.from(e.values()):vn(e)?e.slice():s(!1)}function It(e){return jn(e)?Rt(e).map((function(t){return[t,e[t]]})):wn(e)?Rt(e).map((function(t){return[t,e.get(t)]})):kn(e)?Array.from(e.entries()):vn(e)?e.map((function(e,t){return[t,e]})):s(!1)}function zt(e,t,n){if(2!==arguments.length||kn(e))if(jn(e)){var r=e[w],a=r.values.get(t);a?r.write(t,n):r.addObservableProp(t,n,r.defaultEnhancer)}else if(wn(e))e.set(t,n);else if(kn(e))e.add(t);else{if(!vn(e))return s(!1);"number"!=typeof t&&(t=parseInt(t,10)),u(t>=0,"Not a valid index: '"+t+"'"),Ve(),t>=e.length&&(e.length=t+1),e[t]=n,Ue()}else{Ve();var i=t;try{for(var o in i)zt(e,o,i[o])}finally{Ue()}}}function Wt(e,t){if(jn(e))e[w].remove(t);else if(wn(e))e.delete(t);else if(kn(e))e.delete(t);else{if(!vn(e))return s(!1);"number"!=typeof t&&(t=parseInt(t,10)),u(t>=0,"Not a valid index: '"+t+"'"),e.splice(t,1)}}function Bt(e,t){return jn(e)?Cn(e).has(t):wn(e)||kn(e)?e.has(t):vn(e)?t>=0&&t0}function sn(e,t){var n=e.interceptors||(e.interceptors=[]);return n.push(t),l((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function un(e,t){var n=fe();try{for(var r=E(e.interceptors||[]),a=0,i=r.length;a0}function dn(e,t){var n=e.changeListeners||(e.changeListeners=[]);return n.push(t),l((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function cn(e,t){var n=fe(),r=e.changeListeners;if(r){for(var a=0,i=(r=r.slice()).length;a0?e.map(this.dehancer):e},e.prototype.intercept=function(e){return sn(this,e)},e.prototype.observe=function(e,t){return void 0===t&&(t=!1),t&&e({object:this.proxy,type:"splice",index:0,added:this.values.slice(),addedCount:this.values.length,removed:[],removedCount:0}),dn(this,e)},e.prototype.getArrayLength=function(){return this.atom.reportObserved(),this.values.length},e.prototype.setArrayLength=function(e){if("number"!=typeof e||e<0)throw new Error("[mobx.array] Out of range: "+e);var t=this.values.length;if(e!==t)if(e>t){for(var n=new Array(e-t),r=0;ri?e=i:e<0&&(e=Math.max(0,i+e)),t=1===arguments.length?i-e:null==t?0:Math.max(0,Math.min(t,i-e)),void 0===n&&(n=a),on(this)){var o=un(this,{object:this.proxy,type:"splice",index:e,removedCount:t,added:n});if(!o)return a;t=o.removedCount,n=o.added}n=0===n.length?n:n.map((function(e){return r.enhancer(e,void 0)}));var s=this.spliceItemsIntoValues(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice(e,n,s),this.dehanceValues(s)},e.prototype.spliceItemsIntoValues=function(e,t,n){var r;if(n.length<1e4)return(r=this.values).splice.apply(r,E([e,t],n));var a=this.values.slice(e,e+t);return this.values=this.values.slice(0,e).concat(n,this.values.slice(e+t)),a},e.prototype.notifyArrayChildUpdate=function(e,t,n){var r=!this.owned&&!1,a=ln(this),i=a||r?{object:this.proxy,type:"update",index:e,newValue:t,oldValue:n}:null;this.atom.reportChanged(),a&&cn(this,i)},e.prototype.notifyArraySplice=function(e,t,n){var r=!this.owned&&!1,a=ln(this),i=a||r?{object:this.proxy,type:"splice",index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;this.atom.reportChanged(),a&&cn(this,i)},e}(),pn={intercept:function(e){return this[w].intercept(e)},observe:function(e,t){return void 0===t&&(t=!1),this[w].observe(e,t)},clear:function(){return this.splice(0)},replace:function(e){var t=this[w];return t.spliceWithArray(0,t.values.length,e)},toJS:function(){return this.slice()},toJSON:function(){return this.toJS()},splice:function(e,t){for(var n=[],r=2;r-1&&(this.splice(n,1),!0)},get:function(e){var t=this[w];if(t){if(e=0&&r++}t=Rn(t),n=Rn(n);var u="[object Array]"===s;if(!u){if("object"!=typeof t||"object"!=typeof n)return!1;var l=t.constructor,d=n.constructor;if(l!==d&&!("function"==typeof l&&l instanceof l&&"function"==typeof d&&d instanceof d)&&"constructor"in t&&"constructor"in n)return!1}if(0===r)return!1;r<0&&(r=-1);i=i||[];var c=(a=a||[]).length;for(;c--;)if(a[c]===t)return i[c]===n;if(a.push(t),i.push(n),u){if((c=t.length)!==n.length)return!1;for(;c--;)if(!e(t[c],n[c],r-1,a,i))return!1}else{var f=Object.keys(t),h=void 0;if(c=f.length,Object.keys(n).length!==c)return!1;for(;c--;)if(h=f[c],!Fn(n,h)||!e(t[h],n[h],r-1,a,i))return!1}return a.pop(),i.pop(),!0}(e,t,n)}function Rn(e){return vn(e)?e.slice():_(e)||wn(e)||y(e)||kn(e)?Array.from(e.entries()):e}function Fn(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function In(e){return e[Symbol.iterator]=zn,e}function zn(){return this}if("undefined"==typeof Proxy||"undefined"==typeof Symbol)throw new Error("[mobx] MobX 5+ requires Proxy and Symbol objects. If your environment doesn't support Symbol or Proxy objects, please downgrade to MobX 4. For React Native Android, consider upgrading JSCore.");"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:tt,extras:{getDebugName:An},$mobx:w})}.call(this,n(105),n(58))},function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t>>0;for(t=0;t0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+r}a.suppressDeprecationWarnings=!1,a.deprecationHandler=null,k=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var j=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,P=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,C={},A={};function H(e,t,n,r){var a=r;"string"==typeof r&&(a=function(){return this[r]()}),e&&(A[e]=a),t&&(A[t[0]]=function(){return E(a.apply(this,arguments),t[1],t[2])}),n&&(A[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function N(e,t){return e.isValid()?(t=R(t,e.localeData()),C[t]=C[t]||function(e){var t,n,r,a=e.match(j);for(t=0,n=a.length;t=0&&P.test(e);)e=e.replace(P,r),P.lastIndex=0,n-=1;return e}var F={};function I(e,t){var n=e.toLowerCase();F[n]=F[n+"s"]=F[t]=e}function z(e){return"string"==typeof e?F[e]||F[e.toLowerCase()]:void 0}function W(e){var t,n,r={};for(n in e)s(e,n)&&(t=z(n))&&(r[t]=e[n]);return r}var B={};function V(e,t){B[e]=t}function U(e){return e%4==0&&e%100!=0||e%400==0}function q(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function J(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=q(t)),n}function G(e,t){return function(n){return null!=n?(K(this,e,n),a.updateOffset(this,t),this):$(this,e)}}function $(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function K(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&U(e.year())&&1===e.month()&&29===e.date()?(n=J(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),we(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var X,Q=/\d/,Z=/\d\d/,ee=/\d{3}/,te=/\d{4}/,ne=/[+-]?\d{6}/,re=/\d\d?/,ae=/\d\d\d\d?/,ie=/\d\d\d\d\d\d?/,oe=/\d{1,3}/,se=/\d{1,4}/,ue=/[+-]?\d{1,6}/,le=/\d+/,de=/[+-]?\d+/,ce=/Z|[+-]\d\d:?\d\d/gi,fe=/Z|[+-]\d\d(?::?\d\d)?/gi,he=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function me(e,t,n){X[e]=D(t)?t:function(e,r){return e&&n?n:t}}function pe(e,t){return s(X,e)?X[e](t._strict,t._locale):new RegExp(_e(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,a){return t||n||r||a}))))}function _e(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}X={};var ye,ve={};function ge(e,t){var n,r,a=t;for("string"==typeof e&&(e=[e]),d(t)&&(a=function(e,n){n[t]=J(e)}),r=e.length,n=0;n68?1900:2e3)};var Pe=G("FullYear",!0);function Ce(e,t,n,r,a,i,o){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,a,i,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,a,i,o),s}function Ae(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function He(e,t,n){var r=7+t-n;return-(7+Ae(e,0,r).getUTCDay()-t)%7+r-1}function Ne(e,t,n,r,a){var i,o,s=1+7*(t-1)+(7+n-r)%7+He(e,r,a);return s<=0?o=je(i=e-1)+s:s>je(e)?(i=e+1,o=s-je(e)):(i=e,o=s),{year:i,dayOfYear:o}}function Re(e,t,n){var r,a,i=He(e.year(),t,n),o=Math.floor((e.dayOfYear()-i-1)/7)+1;return o<1?r=o+Fe(a=e.year()-1,t,n):o>Fe(e.year(),t,n)?(r=o-Fe(e.year(),t,n),a=e.year()+1):(a=e.year(),r=o),{week:r,year:a}}function Fe(e,t,n){var r=He(e,t,n),a=He(e+1,t,n);return(je(e)-r+a)/7}function Ie(e,t){return e.slice(t,7).concat(e.slice(0,t))}H("w",["ww",2],"wo","week"),H("W",["WW",2],"Wo","isoWeek"),I("week","w"),I("isoWeek","W"),V("week",5),V("isoWeek",5),me("w",re),me("ww",re,Z),me("W",re),me("WW",re,Z),be(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=J(e)})),H("d",0,"do","day"),H("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),H("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),H("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),H("e",0,0,"weekday"),H("E",0,0,"isoWeekday"),I("day","d"),I("weekday","e"),I("isoWeekday","E"),V("day",11),V("weekday",11),V("isoWeekday",11),me("d",re),me("e",re),me("E",re),me("dd",(function(e,t){return t.weekdaysMinRegex(e)})),me("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),me("dddd",(function(e,t){return t.weekdaysRegex(e)})),be(["dd","ddd","dddd"],(function(e,t,n,r){var a=n._locale.weekdaysParse(e,r,n._strict);null!=a?t.d=a:p(n).invalidWeekday=e})),be(["d","e","E"],(function(e,t,n,r){t[r]=J(e)}));var ze="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),We="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Be="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ve=he,Ue=he,qe=he;function Je(e,t,n){var r,a,i,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=m([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(a=ye.call(this._weekdaysParse,o))?a:null:"ddd"===t?-1!==(a=ye.call(this._shortWeekdaysParse,o))?a:null:-1!==(a=ye.call(this._minWeekdaysParse,o))?a:null:"dddd"===t?-1!==(a=ye.call(this._weekdaysParse,o))||-1!==(a=ye.call(this._shortWeekdaysParse,o))||-1!==(a=ye.call(this._minWeekdaysParse,o))?a:null:"ddd"===t?-1!==(a=ye.call(this._shortWeekdaysParse,o))||-1!==(a=ye.call(this._weekdaysParse,o))||-1!==(a=ye.call(this._minWeekdaysParse,o))?a:null:-1!==(a=ye.call(this._minWeekdaysParse,o))||-1!==(a=ye.call(this._weekdaysParse,o))||-1!==(a=ye.call(this._shortWeekdaysParse,o))?a:null}function Ge(){function e(e,t){return t.length-e.length}var t,n,r,a,i,o=[],s=[],u=[],l=[];for(t=0;t<7;t++)n=m([2e3,1]).day(t),r=_e(this.weekdaysMin(n,"")),a=_e(this.weekdaysShort(n,"")),i=_e(this.weekdays(n,"")),o.push(r),s.push(a),u.push(i),l.push(r),l.push(a),l.push(i);o.sort(e),s.sort(e),u.sort(e),l.sort(e),this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function $e(){return this.hours()%12||12}function Ke(e,t){H(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Xe(e,t){return t._meridiemParse}H("H",["HH",2],0,"hour"),H("h",["hh",2],0,$e),H("k",["kk",2],0,(function(){return this.hours()||24})),H("hmm",0,0,(function(){return""+$e.apply(this)+E(this.minutes(),2)})),H("hmmss",0,0,(function(){return""+$e.apply(this)+E(this.minutes(),2)+E(this.seconds(),2)})),H("Hmm",0,0,(function(){return""+this.hours()+E(this.minutes(),2)})),H("Hmmss",0,0,(function(){return""+this.hours()+E(this.minutes(),2)+E(this.seconds(),2)})),Ke("a",!0),Ke("A",!1),I("hour","h"),V("hour",13),me("a",Xe),me("A",Xe),me("H",re),me("h",re),me("k",re),me("HH",re,Z),me("hh",re,Z),me("kk",re,Z),me("hmm",ae),me("hmmss",ie),me("Hmm",ae),me("Hmmss",ie),ge(["H","HH"],3),ge(["k","kk"],(function(e,t,n){var r=J(e);t[3]=24===r?0:r})),ge(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),ge(["h","hh"],(function(e,t,n){t[3]=J(e),p(n).bigHour=!0})),ge("hmm",(function(e,t,n){var r=e.length-2;t[3]=J(e.substr(0,r)),t[4]=J(e.substr(r)),p(n).bigHour=!0})),ge("hmmss",(function(e,t,n){var r=e.length-4,a=e.length-2;t[3]=J(e.substr(0,r)),t[4]=J(e.substr(r,2)),t[5]=J(e.substr(a)),p(n).bigHour=!0})),ge("Hmm",(function(e,t,n){var r=e.length-2;t[3]=J(e.substr(0,r)),t[4]=J(e.substr(r))})),ge("Hmmss",(function(e,t,n){var r=e.length-4,a=e.length-2;t[3]=J(e.substr(0,r)),t[4]=J(e.substr(r,2)),t[5]=J(e.substr(a))}));var Qe,Ze=G("Hours",!0),et={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Le,monthsShort:xe,week:{dow:0,doy:6},weekdays:ze,weekdaysMin:Be,weekdaysShort:We,meridiemParse:/[ap]\.?m?\.?/i},tt={},nt={};function rt(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n0;){if(r=it(a.slice(0,t).join("-")))return r;if(n&&n.length>=t&&rt(a,n)>=t-1)break;t--}i++}return Qe}(e)}function lt(e){var t,n=e._a;return n&&-2===p(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>we(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,p(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),p(e)._overflowWeeks&&-1===t&&(t=7),p(e)._overflowWeekday&&-1===t&&(t=8),p(e).overflow=t),e}var dt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ct=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ft=/Z|[+-]\d\d(?::?\d\d)?/,ht=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],mt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],pt=/^\/?Date\((-?\d+)/i,_t=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,yt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function vt(e){var t,n,r,a,i,o,s=e._i,u=dt.exec(s)||ct.exec(s),l=ht.length,d=mt.length;if(u){for(p(e).iso=!0,t=0,n=l;t7)&&(u=!0)):(i=e._locale._week.dow,o=e._locale._week.doy,l=Re(Yt(),i,o),n=Mt(t.gg,e._a[0],l.year),r=Mt(t.w,l.week),null!=t.d?((a=t.d)<0||a>6)&&(u=!0):null!=t.e?(a=t.e+i,(t.e<0||t.e>6)&&(u=!0)):a=i),r<1||r>Fe(n,i,o)?p(e)._overflowWeeks=!0:null!=u?p(e)._overflowWeekday=!0:(s=Ne(n,r,a,i,o),e._a[0]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(o=Mt(e._a[0],r[0]),(e._dayOfYear>je(o)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),n=Ae(o,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=r[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?Ae:Ce).apply(null,s),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(p(e).weekdayMismatch=!0)}}function Lt(e){if(e._f!==a.ISO_8601)if(e._f!==a.RFC_2822){e._a=[],p(e).empty=!0;var t,n,r,i,o,s,u,l=""+e._i,d=l.length,c=0;for(u=(r=R(e._f,e._locale).match(j)||[]).length,t=0;t0&&p(e).unusedInput.push(o),l=l.slice(l.indexOf(n)+n.length),c+=n.length),A[i]?(n?p(e).empty=!1:p(e).unusedTokens.push(i),Me(i,n,e)):e._strict&&!n&&p(e).unusedTokens.push(i);p(e).charsLeftOver=d-c,l.length>0&&p(e).unusedInput.push(l),e._a[3]<=12&&!0===p(e).bigHour&&e._a[3]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),null!==(s=p(e).era)&&(e._a[0]=e._locale.erasConvertYear(s,e._a[0])),wt(e),lt(e)}else bt(e);else vt(e)}function xt(e){var t=e._i,n=e._f;return e._locale=e._locale||ut(e._l),null===t||void 0===n&&""===t?y({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),w(t)?new M(lt(t)):(c(t)?e._d=t:i(n)?function(e){var t,n,r,a,i,o,s=!1,u=e._f.length;if(0===u)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(a=0;athis?this:e:y()}));function St(e,t){var n,r;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return Yt();for(n=t[0],r=1;r=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function an(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function on(e,t){return t.erasAbbrRegex(e)}function sn(){var e,t,n=[],r=[],a=[],i=[],o=this.eras();for(e=0,t=o.length;e(i=Fe(e,r,a))&&(t=i),dn.call(this,e,t,n,r,a))}function dn(e,t,n,r,a){var i=Ne(e,t,n,r,a),o=Ae(i.year,0,i.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}H("N",0,0,"eraAbbr"),H("NN",0,0,"eraAbbr"),H("NNN",0,0,"eraAbbr"),H("NNNN",0,0,"eraName"),H("NNNNN",0,0,"eraNarrow"),H("y",["y",1],"yo","eraYear"),H("y",["yy",2],0,"eraYear"),H("y",["yyy",3],0,"eraYear"),H("y",["yyyy",4],0,"eraYear"),me("N",on),me("NN",on),me("NNN",on),me("NNNN",(function(e,t){return t.erasNameRegex(e)})),me("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),ge(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var a=n._locale.erasParse(e,r,n._strict);a?p(n).era=a:p(n).invalidEra=e})),me("y",le),me("yy",le),me("yyy",le),me("yyyy",le),me("yo",(function(e,t){return t._eraYearOrdinalRegex||le})),ge(["y","yy","yyy","yyyy"],0),ge(["yo"],(function(e,t,n,r){var a;n._locale._eraYearOrdinalRegex&&(a=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[0]=n._locale.eraYearOrdinalParse(e,a):t[0]=parseInt(e,10)})),H(0,["gg",2],0,(function(){return this.weekYear()%100})),H(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),un("gggg","weekYear"),un("ggggg","weekYear"),un("GGGG","isoWeekYear"),un("GGGGG","isoWeekYear"),I("weekYear","gg"),I("isoWeekYear","GG"),V("weekYear",1),V("isoWeekYear",1),me("G",de),me("g",de),me("GG",re,Z),me("gg",re,Z),me("GGGG",se,te),me("gggg",se,te),me("GGGGG",ue,ne),me("ggggg",ue,ne),be(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=J(e)})),be(["gg","GG"],(function(e,t,n,r){t[r]=a.parseTwoDigitYear(e)})),H("Q",0,"Qo","quarter"),I("quarter","Q"),V("quarter",7),me("Q",Q),ge("Q",(function(e,t){t[1]=3*(J(e)-1)})),H("D",["DD",2],"Do","date"),I("date","D"),V("date",9),me("D",re),me("DD",re,Z),me("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),ge(["D","DD"],2),ge("Do",(function(e,t){t[2]=J(e.match(re)[0])}));var cn=G("Date",!0);H("DDD",["DDDD",3],"DDDo","dayOfYear"),I("dayOfYear","DDD"),V("dayOfYear",4),me("DDD",oe),me("DDDD",ee),ge(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=J(e)})),H("m",["mm",2],0,"minute"),I("minute","m"),V("minute",14),me("m",re),me("mm",re,Z),ge(["m","mm"],4);var fn=G("Minutes",!1);H("s",["ss",2],0,"second"),I("second","s"),V("second",15),me("s",re),me("ss",re,Z),ge(["s","ss"],5);var hn,mn,pn=G("Seconds",!1);for(H("S",0,0,(function(){return~~(this.millisecond()/100)})),H(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),H(0,["SSS",3],0,"millisecond"),H(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),H(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),H(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),H(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),H(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),H(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),I("millisecond","ms"),V("millisecond",16),me("S",oe,Q),me("SS",oe,Z),me("SSS",oe,ee),hn="SSSS";hn.length<=9;hn+="S")me(hn,le);function _n(e,t){t[6]=J(1e3*("0."+e))}for(hn="S";hn.length<=9;hn+="S")ge(hn,_n);mn=G("Milliseconds",!1),H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var yn=M.prototype;function vn(e){return e}yn.add=Jt,yn.calendar=function(e,t){1===arguments.length&&(arguments[0]?Kt(arguments[0])?(e=arguments[0],t=void 0):Xt(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||Yt(),r=Nt(n,this).startOf("day"),i=a.calendarFormat(this,r)||"sameElse",o=t&&(D(t[i])?t[i].call(this,n):t[i]);return this.format(o||this.localeData().calendar(i,this,Yt(n)))},yn.clone=function(){return new M(this)},yn.diff=function(e,t,n){var r,a,i;if(!this.isValid())return NaN;if(!(r=Nt(e,this)).isValid())return NaN;switch(a=6e4*(r.utcOffset()-this.utcOffset()),t=z(t)){case"year":i=Qt(this,r)/12;break;case"month":i=Qt(this,r);break;case"quarter":i=Qt(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-a)/864e5;break;case"week":i=(this-r-a)/6048e5;break;default:i=this-r}return n?i:q(i)},yn.endOf=function(e){var t,n;if(void 0===(e=z(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?an:rn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-nn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-nn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-nn(t,1e3)-1}return this._d.setTime(t),a.updateOffset(this,!0),this},yn.format=function(e){e||(e=this.isUtc()?a.defaultFormatUtc:a.defaultFormat);var t=N(this,e);return this.localeData().postformat(t)},yn.from=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||Yt(e).isValid())?Wt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},yn.fromNow=function(e){return this.from(Yt(),e)},yn.to=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||Yt(e).isValid())?Wt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},yn.toNow=function(e){return this.to(Yt(),e)},yn.get=function(e){return D(this[e=z(e)])?this[e]():this},yn.invalidAt=function(){return p(this).overflow},yn.isAfter=function(e,t){var n=w(e)?e:Yt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=z(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()9999?N(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):D(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",N(n,"Z")):N(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},yn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r="moment",a="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",a="Z"),e="["+r+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=a+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(yn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),yn.toJSON=function(){return this.isValid()?this.toISOString():null},yn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},yn.unix=function(){return Math.floor(this.valueOf()/1e3)},yn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},yn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},yn.eraName=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;ethis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},yn.isLocal=function(){return!!this.isValid()&&!this._isUTC},yn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},yn.isUtc=Ft,yn.isUTC=Ft,yn.zoneAbbr=function(){return this._isUTC?"UTC":""},yn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},yn.dates=x("dates accessor is deprecated. Use date instead.",cn),yn.months=x("months accessor is deprecated. Use month instead",Oe),yn.years=x("years accessor is deprecated. Use year instead",Pe),yn.zone=x("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),yn.isDSTShifted=x("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!l(this._isDSTShifted))return this._isDSTShifted;var e,t={};return b(t,this),(t=xt(t))._a?(e=t._isUTC?m(t._a):Yt(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var r,a=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),o=0;for(r=0;r0):this._isDSTShifted=!1,this._isDSTShifted}));var gn=O.prototype;function bn(e,t,n,r){var a=ut(),i=m().set(r,t);return a[n](i,e)}function Mn(e,t,n){if(d(e)&&(t=e,e=void 0),e=e||"",null!=t)return bn(e,t,n,"month");var r,a=[];for(r=0;r<12;r++)a[r]=bn(e,r,n,"month");return a}function wn(e,t,n,r){"boolean"==typeof e?(d(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,d(t)&&(n=t,t=void 0),t=t||"");var a,i=ut(),o=e?i._week.dow:0,s=[];if(null!=n)return bn(t,(n+o)%7,r,"day");for(a=0;a<7;a++)s[a]=bn(t,(a+o)%7,r,"day");return s}gn.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return D(r)?r.call(t,n):r},gn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(j).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},gn.invalidDate=function(){return this._invalidDate},gn.ordinal=function(e){return this._ordinal.replace("%d",e)},gn.preparse=vn,gn.postformat=vn,gn.relativeTime=function(e,t,n,r){var a=this._relativeTime[n];return D(a)?a(e,t,n,r):a.replace(/%d/i,e)},gn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return D(n)?n(t):n.replace(/%s/i,t)},gn.set=function(e){var t,n;for(n in e)s(e,n)&&(D(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},gn.eras=function(e,t){var n,r,i,o=this._eras||ut("en")._eras;for(n=0,r=o.length;n=0)return u[r]},gn.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?a(e.since).year():a(e.since).year()+(t-e.offset)*n},gn.erasAbbrRegex=function(e){return s(this,"_erasAbbrRegex")||sn.call(this),e?this._erasAbbrRegex:this._erasRegex},gn.erasNameRegex=function(e){return s(this,"_erasNameRegex")||sn.call(this),e?this._erasNameRegex:this._erasRegex},gn.erasNarrowRegex=function(e){return s(this,"_erasNarrowRegex")||sn.call(this),e?this._erasNarrowRegex:this._erasRegex},gn.months=function(e,t){return e?i(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||ke).test(t)?"format":"standalone"][e.month()]:i(this._months)?this._months:this._months.standalone},gn.monthsShort=function(e,t){return e?i(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ke.test(t)?"format":"standalone"][e.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},gn.monthsParse=function(e,t,n){var r,a,i;if(this._monthsParseExact)return De.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(a=m([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},gn.monthsRegex=function(e){return this._monthsParseExact?(s(this,"_monthsRegex")||Ee.call(this),e?this._monthsStrictRegex:this._monthsRegex):(s(this,"_monthsRegex")||(this._monthsRegex=Te),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},gn.monthsShortRegex=function(e){return this._monthsParseExact?(s(this,"_monthsRegex")||Ee.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(s(this,"_monthsShortRegex")||(this._monthsShortRegex=Ye),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},gn.week=function(e){return Re(e,this._week.dow,this._week.doy).week},gn.firstDayOfYear=function(){return this._week.doy},gn.firstDayOfWeek=function(){return this._week.dow},gn.weekdays=function(e,t){var n=i(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ie(n,this._week.dow):e?n[e.day()]:n},gn.weekdaysMin=function(e){return!0===e?Ie(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},gn.weekdaysShort=function(e){return!0===e?Ie(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},gn.weekdaysParse=function(e,t,n){var r,a,i;if(this._weekdaysParseExact)return Je.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(a=m([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},gn.weekdaysRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=Ve),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},gn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ue),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},gn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=qe),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},gn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},gn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},ot("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===J(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),a.lang=x("moment.lang is deprecated. Use moment.locale instead.",ot),a.langData=x("moment.langData is deprecated. Use moment.localeData instead.",ut);var Ln=Math.abs;function xn(e,t,n,r){var a=Wt(t,n);return e._milliseconds+=r*a._milliseconds,e._days+=r*a._days,e._months+=r*a._months,e._bubble()}function kn(e){return e<0?Math.floor(e):Math.ceil(e)}function Yn(e){return 4800*e/146097}function Tn(e){return 146097*e/4800}function Dn(e){return function(){return this.as(e)}}var Sn=Dn("ms"),On=Dn("s"),En=Dn("m"),jn=Dn("h"),Pn=Dn("d"),Cn=Dn("w"),An=Dn("M"),Hn=Dn("Q"),Nn=Dn("y");function Rn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Fn=Rn("milliseconds"),In=Rn("seconds"),zn=Rn("minutes"),Wn=Rn("hours"),Bn=Rn("days"),Vn=Rn("months"),Un=Rn("years"),qn=Math.round,Jn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Gn(e,t,n,r,a){return a.relativeTime(t||1,!!n,e,r)}var $n=Math.abs;function Kn(e){return(e>0)-(e<0)||+e}function Xn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,a,i,o,s,u=$n(this._milliseconds)/1e3,l=$n(this._days),d=$n(this._months),c=this.asSeconds();return c?(e=q(u/60),t=q(e/60),u%=60,e%=60,n=q(d/12),d%=12,r=u?u.toFixed(3).replace(/\.?0+$/,""):"",a=c<0?"-":"",i=Kn(this._months)!==Kn(c)?"-":"",o=Kn(this._days)!==Kn(c)?"-":"",s=Kn(this._milliseconds)!==Kn(c)?"-":"",a+"P"+(n?i+n+"Y":"")+(d?i+d+"M":"")+(l?o+l+"D":"")+(t||e||u?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(u?s+r+"S":"")):"P0D"}var Qn=Et.prototype;return Qn.isValid=function(){return this._isValid},Qn.abs=function(){var e=this._data;return this._milliseconds=Ln(this._milliseconds),this._days=Ln(this._days),this._months=Ln(this._months),e.milliseconds=Ln(e.milliseconds),e.seconds=Ln(e.seconds),e.minutes=Ln(e.minutes),e.hours=Ln(e.hours),e.months=Ln(e.months),e.years=Ln(e.years),this},Qn.add=function(e,t){return xn(this,e,t,1)},Qn.subtract=function(e,t){return xn(this,e,t,-1)},Qn.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=z(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+Yn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Tn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},Qn.asMilliseconds=Sn,Qn.asSeconds=On,Qn.asMinutes=En,Qn.asHours=jn,Qn.asDays=Pn,Qn.asWeeks=Cn,Qn.asMonths=An,Qn.asQuarters=Hn,Qn.asYears=Nn,Qn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*J(this._months/12):NaN},Qn._bubble=function(){var e,t,n,r,a,i=this._milliseconds,o=this._days,s=this._months,u=this._data;return i>=0&&o>=0&&s>=0||i<=0&&o<=0&&s<=0||(i+=864e5*kn(Tn(s)+o),o=0,s=0),u.milliseconds=i%1e3,e=q(i/1e3),u.seconds=e%60,t=q(e/60),u.minutes=t%60,n=q(t/60),u.hours=n%24,o+=q(n/24),a=q(Yn(o)),s+=a,o-=kn(Tn(a)),r=q(s/12),s%=12,u.days=o,u.months=s,u.years=r,this},Qn.clone=function(){return Wt(this)},Qn.get=function(e){return e=z(e),this.isValid()?this[e+"s"]():NaN},Qn.milliseconds=Fn,Qn.seconds=In,Qn.minutes=zn,Qn.hours=Wn,Qn.days=Bn,Qn.weeks=function(){return q(this.days()/7)},Qn.months=Vn,Qn.years=Un,Qn.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,a=!1,i=Jn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(a=e),"object"==typeof t&&(i=Object.assign({},Jn,t),null!=t.s&&null==t.ss&&(i.ss=t.s-1)),n=this.localeData(),r=function(e,t,n,r){var a=Wt(e).abs(),i=qn(a.as("s")),o=qn(a.as("m")),s=qn(a.as("h")),u=qn(a.as("d")),l=qn(a.as("M")),d=qn(a.as("w")),c=qn(a.as("y")),f=i<=n.ss&&["s",i]||i0,f[4]=r,Gn.apply(null,f)}(this,!a,i,n),a&&(r=n.pastFuture(+this,r)),n.postformat(r)},Qn.toISOString=Xn,Qn.toString=Xn,Qn.toJSON=Xn,Qn.locale=Zt,Qn.localeData=tn,Qn.toIsoString=x("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Xn),Qn.lang=en,H("X",0,0,"unix"),H("x",0,0,"valueOf"),me("x",de),me("X",/[+-]?\d+(\.\d{1,3})?/),ge("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),ge("x",(function(e,t,n){n._d=new Date(J(e))})), -//! moment.js -a.version="2.29.4",t=Yt,a.fn=yn,a.min=function(){var e=[].slice.call(arguments,0);return St("isBefore",e)},a.max=function(){var e=[].slice.call(arguments,0);return St("isAfter",e)},a.now=function(){return Date.now?Date.now():+new Date},a.utc=m,a.unix=function(e){return Yt(1e3*e)},a.months=function(e,t){return Mn(e,t,"months")},a.isDate=c,a.locale=ot,a.invalid=y,a.duration=Wt,a.isMoment=w,a.weekdays=function(e,t,n){return wn(e,t,n,"weekdays")},a.parseZone=function(){return Yt.apply(null,arguments).parseZone()},a.localeData=ut,a.isDuration=jt,a.monthsShort=function(e,t){return Mn(e,t,"monthsShort")},a.weekdaysMin=function(e,t,n){return wn(e,t,n,"weekdaysMin")},a.defineLocale=st,a.updateLocale=function(e,t){if(null!=t){var n,r,a=et;null!=tt[e]&&null!=tt[e].parentLocale?tt[e].set(S(tt[e]._config,t)):(null!=(r=it(e))&&(a=r._config),t=S(a,t),null==r&&(t.abbr=e),(n=new O(t)).parentLocale=tt[e],tt[e]=n),ot(e)}else null!=tt[e]&&(null!=tt[e].parentLocale?(tt[e]=tt[e].parentLocale,e===ot()&&ot(e)):null!=tt[e]&&delete tt[e]);return tt[e]},a.locales=function(){return k(tt)},a.weekdaysShort=function(e,t,n){return wn(e,t,n,"weekdaysShort")},a.normalizeUnits=z,a.relativeTimeRounding=function(e){return void 0===e?qn:"function"==typeof e&&(qn=e,!0)},a.relativeTimeThreshold=function(e,t){return void 0!==Jn[e]&&(void 0===t?Jn[e]:(Jn[e]=t,"s"===e&&(Jn.ss=t-1),!0))},a.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},a.prototype=yn,a.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},a}()}).call(this,n(81)(e))},function(e,t,n){"use strict";n.d(t,"c",(function(){return _e})),n.d(t,"a",(function(){return Le})),n.d(t,"b",(function(){return K}));var r=n(3),a=n(1),i=n.n(a),o=n(22); -/** @license mobx-react v5.4.4 - * index.module.js - * - * Copyright (c) 2015 Michel Weststrate. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ -function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n6?u-6:0),d=6;d>",s=s||a,null==n[a]){if(t){var r=null===n[a]?"null":"undefined";return new Error("The "+o+" `"+s+"` is marked as required in `"+i+"`, but its value is `"+r+"`.")}return null}return e.apply(void 0,[n,a,i,o,s].concat(l))}))}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}function j(e){var t=s(e);return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function P(e,t){return E((function(n,a,i,o,s){return Object(r.untracked)((function(){if(e&&j(n[a])===t.toLowerCase())return null;var o;switch(t){case"Array":o=r.isObservableArray;break;case"Object":o=r.isObservableObject;break;case"Map":o=r.isObservableMap;break;default:throw new Error("Unexpected mobxType: ".concat(t))}var u=n[a];if(!o(u)){var l=function(e){var t=j(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}(u),d=e?" or javascript `"+t.toLowerCase()+"`":"";return new Error("Invalid prop `"+s+"` of type `"+l+"` supplied to `"+i+"`, expected `mobx.Observable"+t+"`"+d+".")}return null}))}))}function C(e,t){return E((function(n,a,i,o,s){for(var u=arguments.length,l=new Array(u>5?u-5:0),d=5;d2?r-2:0),i=2;i2?r-2:0),i=2;i",o=this._reactInternalInstance&&this._reactInternalInstance._rootNodeID||this._reactInternalInstance&&this._reactInternalInstance._debugID||this._reactInternalFiber&&this._reactInternalFiber._debugID;se(this,ae,!1),se(this,ie,!1);var s=e.bind(this),u=!1,l=new r.Reaction("".concat(i,"#").concat(o,".render()"),(function(){if(!u&&(u=!0,"function"==typeof t.componentWillReact&&t.componentWillReact(),!0!==t[Q])){var e=!0;try{se(t,ie,!0),t[ae]||a.Component.prototype.forceUpdate.call(t),e=!1}finally{se(t,ie,!1),e&&l.dispose()}}}));return l.reactComponent=this,n[X]=l,this.render=n,n.call(this)}var me={componentWillUnmount:function(){if(!0!==ee&&(this.render[X]&&this.render[X].dispose(),this[Q]=!0,Z)){var e=ue(this);e&&ne&&ne.delete(e),re.emit({event:"destroy",component:this,node:e})}},componentDidMount:function(){Z&&le(this)},componentDidUpdate:function(){Z&&le(this)},shouldComponentUpdate:function(e,t){return ee&&console.warn("[mobx-react] It seems that a re-rendering of a React component is triggered while in static (server-side) mode. Please make sure components are rendered only once server-side."),this.state!==t||!ce(this.props,e)}};function pe(e,t){var n=R("reactProp_".concat(t,"_valueHolder")),a=R("reactProp_".concat(t,"_atomHolder"));function i(){return this[a]||se(this,a,Object(r.createAtom)("reactive "+t)),this[a]}Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return i.call(this).reportObserved(),this[n]},set:function(e){this[ie]||ce(this[n],e)?se(this,n,e):(se(this,n,e),se(this,ae,!0),i.call(this).reportChanged(),se(this,ae,!1))}})}function _e(e,t){if("string"==typeof e)throw new Error("Store names should be provided as array");if(Array.isArray(e))return te||(te=!0,console.warn('Mobx observer: Using observer to inject stores is deprecated since 4.0. Use `@inject("store1", "store2") @observer ComponentClass` or `inject("store1", "store2")(observer(componentClass))` instead of `@observer(["store1", "store2"]) ComponentClass`')),t?K.apply(null,e)(_e(t)):function(t){return _e(e,t)};var n=e;if(!0===n.isMobxInjector&&console.warn("Mobx observer: You are trying to use 'observer' on a component that already has 'inject'. Please apply 'observer' before applying 'inject'"),n.__proto__===a.PureComponent&&console.warn("Mobx observer: You are using 'observer' on React.PureComponent. These two achieve two opposite goals and should not be used together"),oe&&n.$$typeof===oe){var r=n.render;if("function"!=typeof r)throw new Error("render property of ForwardRef was not a function");return Object(a.forwardRef)((function(){var e=arguments;return i.a.createElement(ye,null,(function(){return r.apply(void 0,e)}))}))}if(!("function"!=typeof n||n.prototype&&n.prototype.render||n.isReactClass||a.Component.isPrototypeOf(n))){var o,s,l=_e((s=o=function(e){function t(){return u(this,t),p(this,h(t).apply(this,arguments))}return f(t,e),d(t,[{key:"render",value:function(){return n.call(this,this.props,this.context)}}]),t}(a.Component),o.displayName=n.displayName||n.name,o.contextTypes=n.contextTypes,o.propTypes=n.propTypes,o.defaultProps=n.defaultProps,s));return S(l,n),l}if(!n)throw new Error("Please pass a valid component to 'observer'");var c=n.prototype||n;!function(e){["componentDidMount","componentWillUnmount","componentDidUpdate"].forEach((function(t){!function(e,t){V(e,t,me[t])}(e,t)})),e.shouldComponentUpdate?e.shouldComponentUpdate!==me.shouldComponentUpdate&&console.warn("Use `shouldComponentUpdate` in an `observer` based component breaks the behavior of `observer` and might lead to unexpected results. Manually implementing `sCU` should not be needed when using mobx-react."):e.shouldComponentUpdate=me.shouldComponentUpdate}(c),n.isMobXReactObserver=!0,pe(c,"props"),pe(c,"state");var m=c.render;return c.render=function(){return he.call(this,m)},n}var ye=_e((function(e){var t=e.children,n=e.inject,r=e.render,a=t||r;if(void 0===a)return null;if(!n)return a();console.warn(" is no longer supported. Please use inject on the enclosing component instead");var o=K(n)(a);return i.a.createElement(o,null)}));ye.displayName="Observer";var ve=function(e,t,n,r,a){var i="children"===t?"render":"children";return"function"==typeof e[t]&&"function"==typeof e[i]?new Error("Invalid prop,do not use children and render in the same time in`"+n):"function"!=typeof e[t]&&"function"!=typeof e[i]?new Error("Invalid prop `"+a+"` of type `"+s(e[t])+"` supplied to `"+n+"`, expected `function`."):void 0};function ge(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function be(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function Me(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}ye.propTypes={render:ve,children:ve},ge.__suppressDeprecationWarning=!0,be.__suppressDeprecationWarning=!0,Me.__suppressDeprecationWarning=!0;var we={children:!0,key:!0,ref:!0},Le=function(e){function t(e,n){var r;return u(this,t),(r=p(this,h(t).call(this,e,n))).state={},xe(e,r.state),r}return f(t,e),d(t,[{key:"render",value:function(){return a.Children.only(this.props.children)}},{key:"getChildContext",value:function(){var e={};return xe(this.context.mobxStores,e),xe(this.props,e),{mobxStores:e}}}],[{key:"getDerivedStateFromProps",value:function(e,t){if(!e)return null;if(!t)return e;if(Object.keys(e).filter(ke).length!==Object.keys(t).filter(ke).length&&console.warn("MobX Provider: The set of provided stores has changed. Please avoid changing stores as the change might not propagate to all children"),!e.suppressChangedStoreWarning)for(var n in e)ke(n)&&t[n]!==e[n]&&console.warn("MobX Provider: Provided store '"+n+"' has changed. Please avoid replacing stores as the change might not propagate to all children");return e}}]),t}(a.Component);function xe(e,t){if(e)for(var n in e)ke(n)&&(t[n]=e[n])}function ke(e){return!we[e]&&"suppressChangedStoreWarning"!==e}Le.contextTypes={mobxStores:A},Le.childContextTypes={mobxStores:A.isRequired},function(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,r=null,a=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?r="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(r="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?a="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(a="UNSAFE_componentWillUpdate"),null!==n||null!==r||null!==a){var i=e.displayName||e.name,o="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+i+" uses "+o+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==r?"\n "+r:"")+(null!==a?"\n "+a:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=ge,t.componentWillReceiveProps=be),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=Me;var s=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;s.call(this,e,t,r)}}}(Le);R("disposeOnUnmount");if(!a.Component)throw new Error("mobx-react requires React to be available");if(!r.spy)throw new Error("mobx-react requires mobx to be available");"function"==typeof o.unstable_batchedUpdates&&Object(r.configure)({reactionScheduler:o.unstable_batchedUpdates});if("object"===("undefined"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__?"undefined":s(__MOBX_DEVTOOLS_GLOBAL_HOOK__))){var Ye={spy:r.spy,extras:{getDebugName:r.getDebugName}},Te={renderReporter:re,componentByNodeRegistry:ne,componentByNodeRegistery:ne,trackComponents:function(){if("undefined"==typeof WeakMap)throw new Error("[mobx-react] tracking components is not supported in this browser.");Z||(Z=!0)}};__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobxReact(Te,Ye)}},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r=0||(a[n]=e[n]);return a}n.d(t,"a",(function(){return r}))},function(e,t,n){var r; -/*! - Copyright (c) 2017 Jed Watson. - Licensed under the MIT License (MIT), see - http://jedwatson.github.io/classnames -*/!function(){"use strict";var n={}.hasOwnProperty;function a(){for(var e=[],t=0;t0?"-":"+")+l(100*Math.floor(Math.abs(w)/60)+Math.abs(w)%60,4),S:["th","st","nd","rd"][m%10>3?0:(m%100-m%10!=10)*m%10],W:L,N:x};return t.replace(i,(function(e){return e in k?k[e]:e.slice(1,e.length-1)}))});function l(e,t){for(e=String(e),t=t||2;e.length=0;f--){var h=o[f];"."===h?i(o,f):".."===h?(i(o,f),c++):c&&(i(o,f),c--)}if(!l)for(;c--;c)o.unshift("..");!l||""===o[0]||o[0]&&a(o[0])||o.unshift("");var m=o.join("/");return n&&"/"!==m.substr(-1)&&(m+="/"),m};function s(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var u=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"==typeof t||"object"==typeof n){var r=s(t),a=s(n);return r!==t||a!==n?e(r,a):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1},l=n(26);function d(e){return"/"===e.charAt(0)?e:"/"+e}function c(e){return"/"===e.charAt(0)?e.substr(1):e}function f(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function h(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function m(e){var t=e.pathname,n=e.search,r=e.hash,a=t||"/";return n&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}function p(e,t,n,a){var i;"string"==typeof e?(i=function(e){var t=e||"/",n="",r="",a=t.indexOf("#");-1!==a&&(r=t.substr(a),t=t.substr(0,a));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e)).state=t:(void 0===(i=Object(r.a)({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(i.key=n),a?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=o(i.pathname,a.pathname)):i.pathname=a.pathname:i.pathname||(i.pathname="/"),i}function _(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&u(e.state,t.state)}function y(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,a){if(null!=e){var i="function"==typeof e?e(t,n):e;"string"==typeof i?"function"==typeof r?r(i,a):a(!0):a(!1!==i)}else a(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;rt?n.splice(t,n.length-t,r):n.push(r),c({action:"PUSH",location:r,index:t,entries:n})}}))},replace:function(e,t){var r=p(e,t,f(),b.location);d.confirmTransitionTo(r,"REPLACE",n,(function(e){e&&(b.entries[b.index]=r,c({action:"REPLACE",location:r}))}))},go:g,goBack:function(){g(-1)},goForward:function(){g(1)},canGo:function(e){var t=b.index+e;return t>=0&&t=c&&((d=String((e/c).toFixed(a))).indexOf(".0")===d.length-2&&(d=d.slice(0,-2)),s=d+(t?"":" ")+l)}s||(s="0"+(t?"":" ")+(n?r[0].slice(0,1):r[0]));return i&&(s=Number.parseFloat(s)),s}},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Chart",{enumerable:!0,get:function(){return i.default}}),t.defaults=t.Scatter=t.Bubble=t.Polar=t.Radar=t.HorizontalBar=t.Bar=t.Line=t.Pie=t.Doughnut=t.default=void 0;var r=u(n(1)),a=u(n(12)),i=u(n(106)),o=u(n(301)),s=u(n(363));function u(e){return e&&e.__esModule?e:{default:e}}function l(){return(l=Object.assign||function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t1;if(t&&a&&!r){var i=!1;e.forEach((function(e){e.label||(i=!0)})),i&&console.error('[react-chartjs-2] Warning: Each dataset needs a unique key. By default, the "label" property on each dataset is used. Alternatively, you may provide a "datasetKeyProvider" as a prop that returns a unique key.')}}},{key:"getCurrentDatasets",value:function(){return this.chartInstance&&this.chartInstance.config.data&&this.chartInstance.config.data.datasets||[]}},{key:"saveCurrentDatasets",value:function(){var e=this;this.datasets=this.datasets||{},this.getCurrentDatasets().forEach((function(t){e.datasets[e.props.datasetKeyProvider(t)]=t}))}},{key:"updateChart",value:function(){var e=this,t=this.props.options,n=this.memoizeDataProps(this.props);if(this.chartInstance){t&&(this.chartInstance.options=i.default.helpers.configMerge(this.chartInstance.options,t));var r=this.getCurrentDatasets(),a=n.datasets||[];this.checkDatasets(r);var o=(0,s.default)(r,this.props.datasetKeyProvider);this.chartInstance.config.data.datasets=a.map((function(t){var n=o[e.props.datasetKeyProvider(t)];if(n&&n.type===t.type&&t.data){n.data.splice(t.data.length),t.data.forEach((function(e,r){n.data[r]=t.data[r]}));t.data;var r=c(t,["data"]);return h(h({},n),r)}return t}));n.datasets;var u=c(n,["datasets"]);this.chartInstance.config.data=h(h({},this.chartInstance.config.data),u),this.chartInstance.update()}}},{key:"renderChart",value:function(){var e=this.props,t=e.options,r=e.legend,a=e.type,s=e.plugins,u=this.element,l=this.memoizeDataProps();void 0===r||(0,o.default)(n.defaultProps.legend,r)||(t.legend=r),this.chartInstance=new i.default(u,{type:a,data:l,options:t,plugins:s})}},{key:"destroyChart",value:function(){if(this.chartInstance){this.saveCurrentDatasets();var e=Object.values(this.datasets);this.chartInstance.config.data.datasets=e,this.chartInstance.destroy()}}},{key:"render",value:function(){var e=this.props,t=e.height,n=e.width,a=e.id;return r.default.createElement("canvas",{ref:this.ref,height:t,width:n,id:a,onClick:this.handleOnClick})}}]),n}(r.default.Component);L(k,"getLabelAsKey",(function(e){return e.label})),L(k,"propTypes",{data:a.default.oneOfType([a.default.object,a.default.func]).isRequired,getDatasetAtEvent:a.default.func,getElementAtEvent:a.default.func,getElementsAtEvent:a.default.func,height:a.default.number,legend:a.default.object,onElementsClick:a.default.func,options:a.default.object,plugins:a.default.arrayOf(a.default.object),redraw:a.default.bool,type:function(e,t,n){if(!i.default.controllers[e[t]])return new Error("Invalid chart type `"+e[t]+"` supplied to `"+n+"`.")},width:a.default.number,datasetKeyProvider:a.default.func}),L(k,"defaultProps",{legend:{display:!0,position:"bottom"},type:"doughnut",height:150,width:300,redraw:!1,options:{},datasetKeyProvider:k.getLabelAsKey});var Y=k;t.default=Y;var T=function(e){y(n,e);var t=g(n);function n(){return m(this,n),t.apply(this,arguments)}return _(n,[{key:"render",value:function(){var e=this;return r.default.createElement(k,l({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"doughnut"}))}}]),n}(r.default.Component);t.Doughnut=T;var D=function(e){y(n,e);var t=g(n);function n(){return m(this,n),t.apply(this,arguments)}return _(n,[{key:"render",value:function(){var e=this;return r.default.createElement(k,l({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"pie"}))}}]),n}(r.default.Component);t.Pie=D;var S=function(e){y(n,e);var t=g(n);function n(){return m(this,n),t.apply(this,arguments)}return _(n,[{key:"render",value:function(){var e=this;return r.default.createElement(k,l({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"line"}))}}]),n}(r.default.Component);t.Line=S;var O=function(e){y(n,e);var t=g(n);function n(){return m(this,n),t.apply(this,arguments)}return _(n,[{key:"render",value:function(){var e=this;return r.default.createElement(k,l({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"bar"}))}}]),n}(r.default.Component);t.Bar=O;var E=function(e){y(n,e);var t=g(n);function n(){return m(this,n),t.apply(this,arguments)}return _(n,[{key:"render",value:function(){var e=this;return r.default.createElement(k,l({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"horizontalBar"}))}}]),n}(r.default.Component);t.HorizontalBar=E;var j=function(e){y(n,e);var t=g(n);function n(){return m(this,n),t.apply(this,arguments)}return _(n,[{key:"render",value:function(){var e=this;return r.default.createElement(k,l({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"radar"}))}}]),n}(r.default.Component);t.Radar=j;var P=function(e){y(n,e);var t=g(n);function n(){return m(this,n),t.apply(this,arguments)}return _(n,[{key:"render",value:function(){var e=this;return r.default.createElement(k,l({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"polarArea"}))}}]),n}(r.default.Component);t.Polar=P;var C=function(e){y(n,e);var t=g(n);function n(){return m(this,n),t.apply(this,arguments)}return _(n,[{key:"render",value:function(){var e=this;return r.default.createElement(k,l({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"bubble"}))}}]),n}(r.default.Component);t.Bubble=C;var A=function(e){y(n,e);var t=g(n);function n(){return m(this,n),t.apply(this,arguments)}return _(n,[{key:"render",value:function(){var e=this;return r.default.createElement(k,l({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"scatter"}))}}]),n}(r.default.Component);t.Scatter=A;var H=i.default.defaults;t.defaults=H}).call(this,n(105))},function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return u}));var r=n(4),a=n(7),i=n(1);n(96);function o(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function s(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function u(e,t,n){var r=Object(i.useRef)(void 0!==e),a=Object(i.useState)(t),o=a[0],s=a[1],u=void 0!==e,l=r.current;return r.current=u,!u&&l&&o!==t&&s(t),[u?e:o,Object(i.useCallback)((function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),a=1;a1&&(r=Array.prototype.splice.call(arguments,1));for(var i=0;i>>19))+374761393+(t<<5)&4294967295)+3550635116^t<<9))+4251993797+(t<<3)&4294967295)^t>>>16)))/268435456};return{next:function(e){return Math.floor(n()*e)},nextDouble:function(){return n()}}}e.exports={random:n,randomIterator:function(e,t){var r=t||n();if("function"!=typeof r.next)throw new Error("customRandom does not match expected API: next() function is missing");return{forEach:function(t){var n,a,i;for(n=e.length-1;n>0;--n)a=r.next(n+1),i=e[a],e[a]=e[n],e[n]=i,t(i);e.length&&t(e[0])},shuffle:function(){var t,n,a;for(t=e.length-1;t>0;--t)n=r.next(t+1),a=e[n],e[n]=e[t],e[t]=a;return e}}}}},function(e,t,n){"use strict";var r=n(4),a=n(1),i=n.n(a),o=n(8),s=n.n(o);t.a=function(e){return i.a.forwardRef((function(t,n){return i.a.createElement("div",Object(r.a)({},t,{ref:n,className:s()(t.className,e)}))}))}},function(e,t,n){"use strict";var r=n(48);function a(e,t){return function(e){var t=Object(r.a)(e);return t&&t.defaultView||window}(e).getComputedStyle(e,t)}var i=/([A-Z])/g;var o=/^ms-/;function s(e){return function(e){return e.replace(i,"-$1").toLowerCase()}(e).replace(o,"-ms-")}var u=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;t.a=function(e,t){var n="",r="";if("string"==typeof t)return e.style.getPropertyValue(s(t))||a(e).getPropertyValue(s(t));Object.keys(t).forEach((function(a){var i=t[a];i||0===i?!function(e){return!(!e||!u.test(e))}(a)?n+=s(a)+": "+i+";":r+=a+"("+i+") ":e.style.removeProperty(s(a))})),r&&(n+="transform: "+r+";"),e.style.cssText+=";"+n}},function(e,t,n){"use strict";var r=n(4),a=n(7),i=n(8),o=n.n(i),s=n(1),u=n.n(s),l=n(30),d=n(19),c=n(10),f=u.a.forwardRef((function(e,t){var n=e.bsPrefix,i=e.className,s=e.as,l=Object(a.a)(e,["bsPrefix","className","as"]);n=Object(c.a)(n,"navbar-brand");var d=s||(l.href?"a":"span");return u.a.createElement(d,Object(r.a)({},l,{ref:t,className:o()(i,n)}))}));f.displayName="NavbarBrand";var h,m=f,p=n(55),_=n(73),y=n(31),v=n(37),g=n(74),b={height:["marginTop","marginBottom"],width:["marginLeft","marginRight"]};function M(e,t){var n=t["offset"+e[0].toUpperCase()+e.slice(1)],r=b[e];return n+parseInt(Object(p.a)(t,r[0]),10)+parseInt(Object(p.a)(t,r[1]),10)}var w=((h={})[y.c]="collapse",h[y.d]="collapsing",h[y.b]="collapsing",h[y.a]="collapse show",h),L={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,getDimensionValue:M},x=u.a.forwardRef((function(e,t){var n=e.onEnter,i=e.onEntering,l=e.onEntered,d=e.onExit,c=e.onExiting,f=e.className,h=e.children,m=e.dimension,p=void 0===m?"height":m,b=e.getDimensionValue,L=void 0===b?M:b,x=Object(a.a)(e,["onEnter","onEntering","onEntered","onExit","onExiting","className","children","dimension","getDimensionValue"]),k="function"==typeof p?p():p,Y=Object(s.useMemo)((function(){return Object(v.a)((function(e){e.style[k]="0"}),n)}),[k,n]),T=Object(s.useMemo)((function(){return Object(v.a)((function(e){var t="scroll"+k[0].toUpperCase()+k.slice(1);e.style[k]=e[t]+"px"}),i)}),[k,i]),D=Object(s.useMemo)((function(){return Object(v.a)((function(e){e.style[k]=null}),l)}),[k,l]),S=Object(s.useMemo)((function(){return Object(v.a)((function(e){e.style[k]=L(k,e)+"px",Object(g.a)(e)}),d)}),[d,L,k]),O=Object(s.useMemo)((function(){return Object(v.a)((function(e){e.style[k]=null}),c)}),[k,c]);return u.a.createElement(y.e,Object(r.a)({ref:t,addEndListener:_.a},x,{"aria-expanded":x.role?x.in:null,onEnter:Y,onEntering:T,onEntered:D,onExit:S,onExiting:O}),(function(e,t){return u.a.cloneElement(h,Object(r.a)({},t,{className:o()(f,h.props.className,w[e],"width"===k&&"width")}))}))}));x.defaultProps=L;var k=x,Y=n(36),T=u.a.forwardRef((function(e,t){var n=e.children,i=e.bsPrefix,o=Object(a.a)(e,["children","bsPrefix"]);return i=Object(c.a)(i,"navbar-collapse"),u.a.createElement(Y.a.Consumer,null,(function(e){return u.a.createElement(k,Object(r.a)({in:!(!e||!e.expanded)},o),u.a.createElement("div",{ref:t,className:i},n))}))}));T.displayName="NavbarCollapse";var D=T,S=n(34),O=u.a.forwardRef((function(e,t){var n=e.bsPrefix,i=e.className,l=e.children,d=e.label,f=e.as,h=void 0===f?"button":f,m=e.onClick,p=Object(a.a)(e,["bsPrefix","className","children","label","as","onClick"]);n=Object(c.a)(n,"navbar-toggler");var _=Object(s.useContext)(Y.a)||{},y=_.onToggle,v=_.expanded,g=Object(S.a)((function(e){m&&m(e),y&&y()}));return"button"===h&&(p.type="button"),u.a.createElement(h,Object(r.a)({},p,{ref:t,onClick:g,"aria-label":d,className:o()(i,n,!v&&"collapsed")}),l||u.a.createElement("span",{className:n+"-icon"}))}));O.displayName="NavbarToggle",O.defaultProps={label:"Toggle navigation"};var E=O,j=n(27),P=Object(d.a)("navbar-text",{Component:"span"}),C=u.a.forwardRef((function(e,t){var n=Object(l.a)(e,{expanded:"onToggle"}),i=n.bsPrefix,d=n.expand,f=n.variant,h=n.bg,m=n.fixed,p=n.sticky,_=n.className,y=n.children,v=n.as,g=void 0===v?"nav":v,b=n.expanded,M=n.onToggle,w=n.onSelect,L=n.collapseOnSelect,x=Object(a.a)(n,["bsPrefix","expand","variant","bg","fixed","sticky","className","children","as","expanded","onToggle","onSelect","collapseOnSelect"]),k=Object(c.a)(i,"navbar"),T=Object(s.useCallback)((function(){w&&w.apply(void 0,arguments),L&&b&&M&&M(!1)}),[w,L,b,M]);void 0===x.role&&"nav"!==g&&(x.role="navigation");var D=k+"-expand";"string"==typeof d&&(D=D+"-"+d);var S=Object(s.useMemo)((function(){return{onToggle:function(){return M&&M(!b)},bsPrefix:k,expanded:!!b}}),[k,b,M]);return u.a.createElement(Y.a.Provider,{value:S},u.a.createElement(j.a.Provider,{value:T},u.a.createElement(g,Object(r.a)({ref:t},x,{className:o()(_,k,d&&D,f&&k+"-"+f,h&&"bg-"+h,p&&"sticky-"+p,m&&"fixed-"+m)}),y)))}));C.defaultProps={expand:!0,variant:"light",collapseOnSelect:!1},C.displayName="Navbar",C.Brand=m,C.Toggle=E,C.Collapse=D,C.Text=P;t.a=C},function(e,t,n){"use strict";var r=n(4),a=n(7),i=n(8),o=n.n(i),s=n(1),u=n.n(s),l=(n(397),n(10)),d=u.a.forwardRef((function(e,t){var n=e.as,i=void 0===n?"div":n,s=e.bsPrefix,d=e.className,c=e.children,f=Object(a.a)(e,["as","bsPrefix","className","children"]);return s=Object(l.a)(s,"popover-header"),u.a.createElement(i,Object(r.a)({ref:t},f,{className:o()(s,d)}),c)})),c=u.a.forwardRef((function(e,t){var n=e.as,i=void 0===n?"div":n,s=e.bsPrefix,d=e.className,c=e.children,f=Object(a.a)(e,["as","bsPrefix","className","children"]);return s=Object(l.a)(s,"popover-body"),u.a.createElement(i,Object(r.a)({ref:t},f,{className:o()(d,s)}),c)})),f=u.a.forwardRef((function(e,t){var n=e.bsPrefix,i=e.placement,s=e.className,d=e.style,f=e.children,h=e.content,m=e.arrowProps,p=(e.popper,e.show,Object(a.a)(e,["bsPrefix","placement","className","style","children","content","arrowProps","popper","show"])),_=Object(l.a)(n,"popover"),y=((null==i?void 0:i.split("-"))||[])[0];return u.a.createElement("div",Object(r.a)({ref:t,role:"tooltip",style:d,"x-placement":y,className:o()(s,_,y&&"bs-popover-"+y)},p),u.a.createElement("div",Object(r.a)({className:"arrow"},m)),h?u.a.createElement(c,null,f):f)}));f.defaultProps={placement:"right"},f.Title=d,f.Content=c;t.a=f},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(303),a=n(304),i=n(305),o=n(306),s=n(307);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++te.length){var r=new Float32Array(e.length*n*2);return r.set(e),r}return e},copyArrayPart:n,swapArrayPart:r,getLocations:function(t,n){for(var r={},a=0;a=0}function f(e){return((o(e)?e.ownerDocument:e.document)||window.document).documentElement}function h(e){return"html"===l(e)?e:e.assignedSlot||e.parentNode||e.host||f(e)}function m(e){if(!s(e)||"fixed"===d(e).position)return null;var t=e.offsetParent;if(t){var n=f(t);if("body"===l(t)&&"static"===d(t).position&&"static"!==d(n).position)return n}return t}function p(e){for(var t=i(e),n=m(e);n&&c(n)&&"static"===d(n).position;)n=m(n);return n&&"body"===l(n)&&"static"===d(n).position?t:n||function(e){for(var t=h(e);s(t)&&["html","body"].indexOf(l(t))<0;){var n=d(t);if("none"!==n.transform||"none"!==n.perspective||n.willChange&&"auto"!==n.willChange)return t;t=t.parentNode}return null}(e)||t}function _(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function y(e,t,n){return Math.max(e,Math.min(t,n))}function v(e){return Object.assign(Object.assign({},{top:0,right:0,bottom:0,left:0}),e)}function g(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}n.d(t,"a",(function(){return se})),n.d(t,"b",(function(){return Y}));var b="top",M="bottom",w="right",L="left",x=[b,M,w,L],k=x.reduce((function(e,t){return e.concat([t+"-start",t+"-end"])}),[]),Y=[].concat(x,["auto"]).reduce((function(e,t){return e.concat([t,t+"-start",t+"-end"])}),[]),T=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];var D={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,i=e.name,o=n.elements.arrow,s=n.modifiersData.popperOffsets,u=r(n.placement),l=_(u),d=[L,w].indexOf(u)>=0?"height":"width";if(o&&s){var c=n.modifiersData[i+"#persistent"].padding,f=a(o),h="y"===l?b:L,m="y"===l?M:w,v=n.rects.reference[d]+n.rects.reference[l]-s[l]-n.rects.popper[d],g=s[l]-n.rects.reference[l],x=p(o),k=x?"y"===l?x.clientHeight||0:x.clientWidth||0:0,Y=v/2-g/2,T=c[h],D=k-f[d]-c[m],S=k/2-f[d]/2+Y,O=y(T,S,D),E=l;n.modifiersData[i]=((t={})[E]=O,t.centerOffset=O-S,t)}},effect:function(e){var t=e.state,n=e.options,r=e.name,a=n.element,i=void 0===a?"[data-popper-arrow]":a,o=n.padding,s=void 0===o?0:o;null!=i&&("string"!=typeof i||(i=t.elements.popper.querySelector(i)))&&u(t.elements.popper,i)&&(t.elements.arrow=i,t.modifiersData[r+"#persistent"]={padding:v("number"!=typeof s?s:g(s,x))})},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},S={top:"auto",right:"auto",bottom:"auto",left:"auto"};function O(e){var t,n=e.popper,r=e.popperRect,a=e.placement,o=e.offsets,s=e.position,u=e.gpuAcceleration,l=e.adaptive,d=function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:Math.round(t*r)/r||0,y:Math.round(n*r)/r||0}}(o),c=d.x,h=d.y,m=o.hasOwnProperty("x"),_=o.hasOwnProperty("y"),y=L,v=b,g=window;if(l){var x=p(n);x===i(n)&&(x=f(n)),a===b&&(v=M,h-=x.clientHeight-r.height,h*=u?1:-1),a===L&&(y=w,c-=x.clientWidth-r.width,c*=u?1:-1)}var k,Y=Object.assign({position:s},l&&S);return u?Object.assign(Object.assign({},Y),{},((k={})[v]=_?"0":"",k[y]=m?"0":"",k.transform=(g.devicePixelRatio||1)<2?"translate("+c+"px, "+h+"px)":"translate3d("+c+"px, "+h+"px, 0)",k)):Object.assign(Object.assign({},Y),{},((t={})[v]=_?h+"px":"",t[y]=m?c+"px":"",t.transform="",t))}var E={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,a=n.gpuAcceleration,i=void 0===a||a,o=n.adaptive,s=void 0===o||o,u={placement:r(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign(Object.assign({},t.styles.popper),O(Object.assign(Object.assign({},u),{},{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign(Object.assign({},t.styles.arrow),O(Object.assign(Object.assign({},u),{},{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1})))),t.attributes.popper=Object.assign(Object.assign({},t.attributes.popper),{},{"data-popper-placement":t.placement})},data:{}},j={passive:!0};var P={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,a=r.scroll,o=void 0===a||a,s=r.resize,u=void 0===s||s,l=i(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&d.forEach((function(e){e.addEventListener("scroll",n.update,j)})),u&&l.addEventListener("resize",n.update,j),function(){o&&d.forEach((function(e){e.removeEventListener("scroll",n.update,j)})),u&&l.removeEventListener("resize",n.update,j)}},data:{}},C={left:"right",right:"left",bottom:"top",top:"bottom"};function A(e){return e.replace(/left|right|bottom|top/g,(function(e){return C[e]}))}var H={start:"end",end:"start"};function N(e){return e.replace(/start|end/g,(function(e){return H[e]}))}function R(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function F(e){var t=i(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function I(e){return R(f(e)).left+F(e).scrollLeft}function z(e){var t=d(e),n=t.overflow,r=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+r)}function W(e,t){void 0===t&&(t=[]);var n=function e(t){return["html","body","#document"].indexOf(l(t))>=0?t.ownerDocument.body:s(t)&&z(t)?t:e(h(t))}(e),r="body"===l(n),a=i(n),o=r?[a].concat(a.visualViewport||[],z(n)?n:[]):n,u=t.concat(o);return r?u:u.concat(W(h(o)))}function B(e){return Object.assign(Object.assign({},e),{},{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function V(e,t){return"viewport"===t?B(function(e){var t=i(e),n=f(e),r=t.visualViewport,a=n.clientWidth,o=n.clientHeight,s=0,u=0;return r&&(a=r.width,o=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=r.offsetLeft,u=r.offsetTop)),{width:a,height:o,x:s+I(e),y:u}}(e)):s(t)?function(e){var t=R(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):B(function(e){var t=f(e),n=F(e),r=e.ownerDocument.body,a=Math.max(t.scrollWidth,t.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),i=Math.max(t.scrollHeight,t.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),o=-n.scrollLeft+I(e),s=-n.scrollTop;return"rtl"===d(r||t).direction&&(o+=Math.max(t.clientWidth,r?r.clientWidth:0)-a),{width:a,height:i,x:o,y:s}}(f(e)))}function U(e,t,n){var r="clippingParents"===t?function(e){var t=W(h(e)),n=["absolute","fixed"].indexOf(d(e).position)>=0&&s(e)?p(e):e;return o(n)?t.filter((function(e){return o(e)&&u(e,n)&&"body"!==l(e)})):[]}(e):[].concat(t),a=[].concat(r,[n]),i=a[0],c=a.reduce((function(t,n){var r=V(e,n);return t.top=Math.max(r.top,t.top),t.right=Math.min(r.right,t.right),t.bottom=Math.min(r.bottom,t.bottom),t.left=Math.max(r.left,t.left),t}),V(e,i));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}function q(e){return e.split("-")[1]}function J(e){var t,n=e.reference,a=e.element,i=e.placement,o=i?r(i):null,s=i?q(i):null,u=n.x+n.width/2-a.width/2,l=n.y+n.height/2-a.height/2;switch(o){case b:t={x:u,y:n.y-a.height};break;case M:t={x:u,y:n.y+n.height};break;case w:t={x:n.x+n.width,y:l};break;case L:t={x:n.x-a.width,y:l};break;default:t={x:n.x,y:n.y}}var d=o?_(o):null;if(null!=d){var c="y"===d?"height":"width";switch(s){case"start":t[d]=Math.floor(t[d])-Math.floor(n[c]/2-a[c]/2);break;case"end":t[d]=Math.floor(t[d])+Math.ceil(n[c]/2-a[c]/2)}}return t}function G(e,t){void 0===t&&(t={});var n=t,r=n.placement,a=void 0===r?e.placement:r,i=n.boundary,s=void 0===i?"clippingParents":i,u=n.rootBoundary,l=void 0===u?"viewport":u,d=n.elementContext,c=void 0===d?"popper":d,h=n.altBoundary,m=void 0!==h&&h,p=n.padding,_=void 0===p?0:p,y=v("number"!=typeof _?_:g(_,x)),L="popper"===c?"reference":"popper",k=e.elements.reference,Y=e.rects.popper,T=e.elements[m?L:c],D=U(o(T)?T:T.contextElement||f(e.elements.popper),s,l),S=R(k),O=J({reference:S,element:Y,strategy:"absolute",placement:a}),E=B(Object.assign(Object.assign({},Y),O)),j="popper"===c?E:S,P={top:D.top-j.top+y.top,bottom:j.bottom-D.bottom+y.bottom,left:D.left-j.left+y.left,right:j.right-D.right+y.right},C=e.modifiersData.offset;if("popper"===c&&C){var A=C[a];Object.keys(P).forEach((function(e){var t=[w,M].indexOf(e)>=0?1:-1,n=[b,M].indexOf(e)>=0?"y":"x";P[e]+=A[n]*t}))}return P}var $={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,a=e.name;if(!t.modifiersData[a]._skip){for(var i=n.mainAxis,o=void 0===i||i,s=n.altAxis,u=void 0===s||s,l=n.fallbackPlacements,d=n.padding,c=n.boundary,f=n.rootBoundary,h=n.altBoundary,m=n.flipVariations,p=void 0===m||m,_=n.allowedAutoPlacements,y=t.options.placement,v=r(y),g=l||(v===y||!p?[A(y)]:function(e){if("auto"===r(e))return[];var t=A(e);return[N(e),t,N(t)]}(y)),T=[y].concat(g).reduce((function(e,n){return e.concat("auto"===r(n)?function(e,t){void 0===t&&(t={});var n=t,a=n.placement,i=n.boundary,o=n.rootBoundary,s=n.padding,u=n.flipVariations,l=n.allowedAutoPlacements,d=void 0===l?Y:l,c=q(a),f=c?u?k:k.filter((function(e){return q(e)===c})):x,h=f.filter((function(e){return d.indexOf(e)>=0}));0===h.length&&(h=f);var m=h.reduce((function(t,n){return t[n]=G(e,{placement:n,boundary:i,rootBoundary:o,padding:s})[r(n)],t}),{});return Object.keys(m).sort((function(e,t){return m[e]-m[t]}))}(t,{placement:n,boundary:c,rootBoundary:f,padding:d,flipVariations:p,allowedAutoPlacements:_}):n)}),[]),D=t.rects.reference,S=t.rects.popper,O=new Map,E=!0,j=T[0],P=0;P=0,I=F?"width":"height",z=G(t,{placement:C,boundary:c,rootBoundary:f,altBoundary:h,padding:d}),W=F?R?w:L:R?M:b;D[I]>S[I]&&(W=A(W));var B=A(W),V=[];if(o&&V.push(z[H]<=0),u&&V.push(z[W]<=0,z[B]<=0),V.every((function(e){return e}))){j=C,E=!1;break}O.set(C,V)}if(E)for(var U=function(e){var t=T.find((function(t){var n=O.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return j=t,"break"},J=p?3:1;J>0;J--){if("break"===U(J))break}t.placement!==j&&(t.modifiersData[a]._skip=!0,t.placement=j,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function K(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function X(e){return[b,w,M,L].some((function(t){return e[t]>=0}))}var Q={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,a=t.rects.popper,i=t.modifiersData.preventOverflow,o=G(t,{elementContext:"reference"}),s=G(t,{altBoundary:!0}),u=K(o,r),l=K(s,a,i),d=X(u),c=X(l);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:l,isReferenceHidden:d,hasPopperEscaped:c},t.attributes.popper=Object.assign(Object.assign({},t.attributes.popper),{},{"data-popper-reference-hidden":d,"data-popper-escaped":c})}};var Z={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,a=e.name,i=n.offset,o=void 0===i?[0,0]:i,s=Y.reduce((function(e,n){return e[n]=function(e,t,n){var a=r(e),i=[L,b].indexOf(a)>=0?-1:1,o="function"==typeof n?n(Object.assign(Object.assign({},t),{},{placement:e})):n,s=o[0],u=o[1];return s=s||0,u=(u||0)*i,[L,w].indexOf(a)>=0?{x:u,y:s}:{x:s,y:u}}(n,t.rects,o),e}),{}),u=s[t.placement],l=u.x,d=u.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=d),t.modifiersData[a]=s}};var ee={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=J({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var te={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name,o=n.mainAxis,s=void 0===o||o,u=n.altAxis,l=void 0!==u&&u,d=n.boundary,c=n.rootBoundary,f=n.altBoundary,h=n.padding,m=n.tether,v=void 0===m||m,g=n.tetherOffset,x=void 0===g?0:g,k=G(t,{boundary:d,rootBoundary:c,padding:h,altBoundary:f}),Y=r(t.placement),T=q(t.placement),D=!T,S=_(Y),O="x"===S?"y":"x",E=t.modifiersData.popperOffsets,j=t.rects.reference,P=t.rects.popper,C="function"==typeof x?x(Object.assign(Object.assign({},t.rects),{},{placement:t.placement})):x,A={x:0,y:0};if(E){if(s){var H="y"===S?b:L,N="y"===S?M:w,R="y"===S?"height":"width",F=E[S],I=E[S]+k[H],z=E[S]-k[N],W=v?-P[R]/2:0,B="start"===T?j[R]:P[R],V="start"===T?-P[R]:-j[R],U=t.elements.arrow,J=v&&U?a(U):{width:0,height:0},$=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},K=$[H],X=$[N],Q=y(0,j[R],J[R]),Z=D?j[R]/2-W-Q-K-C:B-Q-K-C,ee=D?-j[R]/2+W+Q+X+C:V+Q+X+C,te=t.elements.arrow&&p(t.elements.arrow),ne=te?"y"===S?te.clientTop||0:te.clientLeft||0:0,re=t.modifiersData.offset?t.modifiersData.offset[t.placement][S]:0,ae=E[S]+Z-re-ne,ie=E[S]+ee-re,oe=y(v?Math.min(I,ae):I,F,v?Math.max(z,ie):z);E[S]=oe,A[S]=oe-F}if(l){var se="x"===S?b:L,ue="x"===S?M:w,le=E[O],de=y(le+k[se],le,le-k[ue]);E[O]=de,A[O]=de-le}t.modifiersData[i]=A}},requiresIfExists:["offset"]};function ne(e,t,n){void 0===n&&(n=!1);var r,a,o=f(t),u=R(e),d=s(t),c={scrollLeft:0,scrollTop:0},h={x:0,y:0};return(d||!d&&!n)&&(("body"!==l(t)||z(o))&&(c=(r=t)!==i(r)&&s(r)?{scrollLeft:(a=r).scrollLeft,scrollTop:a.scrollTop}:F(r)),s(t)?((h=R(t)).x+=t.clientLeft,h.y+=t.clientTop):o&&(h.x=I(o))),{x:u.left+c.scrollLeft-h.x,y:u.top+c.scrollTop-h.y,width:u.width,height:u.height}}function re(e){var t=new Map,n=new Set,r=[];return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||function e(a){n.add(a.name),[].concat(a.requires||[],a.requiresIfExists||[]).forEach((function(r){if(!n.has(r)){var a=t.get(r);a&&e(a)}})),r.push(a)}(e)})),r}var ae={placement:"bottom",modifiers:[],strategy:"absolute"};function ie(){for(var e=arguments.length,t=new Array(e),n=0;n=n.length&&(o=0),o<0&&(o=n.length-1),n[o]},D=function(e,t){null!=e&&(y&&y(e,t),x&&x(e,t))};Object(o.useEffect)((function(){if(Y.current&&L.current){var e=Y.current.querySelector("[data-rb-event-key].active");e&&e.focus()}L.current=!1}));var S=Object(l.a)(t,Y);return s.a.createElement(c.a.Provider,{value:D},s.a.createElement(d.a.Provider,{value:{role:g,activeKey:Object(c.b)(v),getControlledId:n||h,getControllerId:m||h}},s.a.createElement(_,Object(r.a)({},M,{onKeyDown:function(e){var t;switch(b&&b(e),e.key){case"ArrowLeft":case"ArrowUp":t=T(-1);break;case"ArrowRight":case"ArrowDown":t=T(1);break;default:return}t&&(e.preventDefault(),D(t.dataset.rbEventKey,e),L.current=!0,w())},ref:S,role:g}))))}));t.a=m},function(e,t,n){"use strict";function r(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}n.d(t,"a",(function(){return r}))},,function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){var r=n(302),a=n(52);e.exports=function e(t,n,i,o,s){return t===n||(null==t||null==n||!a(t)&&!a(n)?t!=t&&n!=n:r(t,n,i,o,e,s))}},function(e,t,n){var r=n(40)(n(32),"Map");e.exports=r},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){var r=n(319),a=n(326),i=n(328),o=n(329),s=n(330);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1&&e%1==0&&e<=9007199254740991}},function(e,t,n){var r=n(33),a=n(89),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,o=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!a(e))||(o.test(e)||!i.test(e)||null!=t&&e in Object(t))}},function(e,t,n){var r=n(51),a=n(52);e.exports=function(e){return"symbol"==typeof e||a(e)&&"[object Symbol]"==r(e)}},function(e,t,n){e.exports=function(e){"uniqueLinkId"in(e=e||{})&&(console.warn("ngraph.graph: Starting from version 0.14 `uniqueLinkId` is deprecated.\nUse `multigraph` option instead\n","\n","Note: there is also change in default behavior: From now own each graph\nis considered to be not a multigraph by default (each edge is unique)."),e.multigraph=e.uniqueLinkId);void 0===e.multigraph&&(e.multigraph=!1);var t="function"==typeof Object.create?Object.create(null):{},n=[],l={},d=0,c=0,f=Object.keys?O:E,h=e.multigraph?function(e,t,n){var r=u(e,t),a=l.hasOwnProperty(r);if(a||Y(e,t)){a||(l[r]=0);var i="@"+ ++l[r];r=u(e+i,t+i)}return new s(e,t,n,r)}:function(e,t,n){var r=u(e,t);return new s(e,t,n,r)},m=[],p=T,_=T,y=T,v=T,g={addNode:w,addLink:function(e,t,r){y();var a=L(e)||w(e),i=L(t)||w(t),s=h(e,t,r);n.push(s),o(a,s),e!==t&&o(i,s);return p(s,"add"),v(),s},removeLink:k,removeNode:x,getNode:L,getNodesCount:function(){return d},getLinksCount:function(){return n.length},getLinks:function(e){var t=L(e);return t?t.links:null},forEachNode:f,forEachLinkedNode:function(e,n,r){var a=L(e);if(a&&a.links&&"function"==typeof n)return r?function(e,n,r){for(var a=0;a=0&&r.links.splice(t,1),i&&(t=a(e,i.links))>=0&&i.links.splice(t,1),p(e,"remove"),v(),!0}function Y(e,t){var n,r=L(e);if(!r||!r.links)return null;for(n=0;n0&&(g.fire("changed",m),m.length=0)}function O(e){if("function"==typeof e)for(var n=Object.keys(t),r=0;rm&&(r=1),s(e,r,{x:e.touches[0].clientX,y:e.touches[0].clientY}),m=n,_(e),y(e)}},Y=function(e){h=!1,r.off("touchmove",k),r.off("touchend",Y),r.off("touchcancel",Y),d=null,o&&o(e)},T=function(e){if(1===e.touches.length)return function(e,n){_(e),y(e),c=n.clientX,f=n.clientY,d=e.target||e.srcElement,t&&t(e,{x:c,y:f}),h||(h=!0,r.on("touchmove",k),r.on("touchend",Y),r.on("touchcancel",Y))}(e,e.touches[0]);2===e.touches.length&&(_(e),y(e),m=x(e.touches[0],e.touches[1]))};return e.addEventListener("mousedown",b),e.addEventListener("touchstart",T),{onStart:function(e){return t=e,this},onDrag:function(e){return n=e,this},onStop:function(e){return o=e,this},onScroll:function(e){return L(e),this},release:function(){e.removeEventListener("mousedown",b),e.removeEventListener("touchstart",T),r.off("mousemove",g),r.off("mouseup",M),r.off("touchmove",k),r.off("touchend",Y),r.off("touchcancel",Y),L(null)}}};var r=n(261),a=n(263),i=n(264)},function(e,t){function n(e,t,n){if(e.hasOwnProperty(n)){if("function"==typeof t[n])return;t[n]=function(r){return void 0!==r?(e[n]=r,t):e[n]}}}e.exports=function(e,t,r){if("[object Array]"===Object.prototype.toString.call(r))for(var a=0;a1?t-1:0),r=1;r1)for(var n=1;n1&&(a-=1)),[360*a,100*i,100*l]},a.rgb.hwb=function(e){var t=e[0],n=e[1],r=e[2];return[a.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(n,r))*100,100*(r=1-1/255*Math.max(t,Math.max(n,r)))]},a.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,a=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-a)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-a-t)/(1-t)||0),100*t]},a.rgb.keyword=function(e){var r=n[e];if(r)return r;var a,i,o,s=1/0;for(var u in t)if(t.hasOwnProperty(u)){var l=t[u],d=(i=e,o=l,Math.pow(i[0]-o[0],2)+Math.pow(i[1]-o[1],2)+Math.pow(i[2]-o[2],2));d.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},a.rgb.lab=function(e){var t=a.rgb.xyz(e),n=t[0],r=t[1],i=t[2];return r/=100,i/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]},a.hsl.rgb=function(e){var t,n,r,a,i,o=e[0]/360,s=e[1]/100,u=e[2]/100;if(0===s)return[i=255*u,i,i];t=2*u-(n=u<.5?u*(1+s):u+s-u*s),a=[0,0,0];for(var l=0;l<3;l++)(r=o+1/3*-(l-1))<0&&r++,r>1&&r--,i=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,a[l]=255*i;return a},a.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,a=n,i=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,a*=i<=1?i:2-i,[t,100*(0===r?2*a/(i+a):2*n/(r+n)),(r+n)/2*100]},a.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,a=Math.floor(t)%6,i=t-Math.floor(t),o=255*r*(1-n),s=255*r*(1-n*i),u=255*r*(1-n*(1-i));switch(r*=255,a){case 0:return[r,u,o];case 1:return[s,r,o];case 2:return[o,r,u];case 3:return[o,s,r];case 4:return[u,o,r];case 5:return[r,o,s]}},a.hsv.hsl=function(e){var t,n,r,a=e[0],i=e[1]/100,o=e[2]/100,s=Math.max(o,.01);return r=(2-i)*o,n=i*s,[a,100*(n=(n/=(t=(2-i)*s)<=1?t:2-t)||0),100*(r/=2)]},a.hwb.rgb=function(e){var t,n,r,a,i,o,s,u=e[0]/360,l=e[1]/100,d=e[2]/100,c=l+d;switch(c>1&&(l/=c,d/=c),r=6*u-(t=Math.floor(6*u)),0!=(1&t)&&(r=1-r),a=l+r*((n=1-d)-l),t){default:case 6:case 0:i=n,o=a,s=l;break;case 1:i=a,o=n,s=l;break;case 2:i=l,o=n,s=a;break;case 3:i=l,o=a,s=n;break;case 4:i=a,o=l,s=n;break;case 5:i=n,o=l,s=a}return[255*i,255*o,255*s]},a.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,a=e[3]/100;return[255*(1-Math.min(1,t*(1-a)+a)),255*(1-Math.min(1,n*(1-a)+a)),255*(1-Math.min(1,r*(1-a)+a))]},a.xyz.rgb=function(e){var t,n,r,a=e[0]/100,i=e[1]/100,o=e[2]/100;return n=-.9689*a+1.8758*i+.0415*o,r=.0557*a+-.204*i+1.057*o,t=(t=3.2406*a+-1.5372*i+-.4986*o)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},a.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},a.lab.xyz=function(e){var t,n,r,a=e[0];t=e[1]/500+(n=(a+16)/116),r=n-e[2]/200;var i=Math.pow(n,3),o=Math.pow(t,3),s=Math.pow(r,3);return n=i>.008856?i:(n-16/116)/7.787,t=o>.008856?o:(t-16/116)/7.787,r=s>.008856?s:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},a.lab.lch=function(e){var t,n=e[0],r=e[1],a=e[2];return(t=360*Math.atan2(a,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+a*a),t]},a.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]},a.rgb.ansi16=function(e){var t=e[0],n=e[1],r=e[2],i=1 in arguments?arguments[1]:a.rgb.hsv(e)[2];if(0===(i=Math.round(i/50)))return 30;var o=30+(Math.round(r/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===i&&(o+=60),o},a.hsv.ansi16=function(e){return a.rgb.ansi16(a.hsv.rgb(e),e[2])},a.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},a.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},a.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},a.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},a.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},a.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,a=e[2]/255,i=Math.max(Math.max(n,r),a),o=Math.min(Math.min(n,r),a),s=i-o;return t=s<=0?0:i===n?(r-a)/s%6:i===r?2+(a-n)/s:4+(n-r)/s+4,t/=6,[360*(t%=1),100*s,100*(s<1?o/(1-s):0)]},a.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,a=0;return(r=n<.5?2*t*n:2*t*(1-n))<1&&(a=(n-.5*r)/(1-r)),[e[0],100*r,100*a]},a.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,a=0;return r<1&&(a=(n-r)/(1-r)),[e[0],100*r,100*a]},a.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var a,i=[0,0,0],o=t%1*6,s=o%1,u=1-s;switch(Math.floor(o)){case 0:i[0]=1,i[1]=s,i[2]=0;break;case 1:i[0]=u,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=s;break;case 3:i[0]=0,i[1]=u,i[2]=1;break;case 4:i[0]=s,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=u}return a=(1-n)*r,[255*(n*i[0]+a),255*(n*i[1]+a),255*(n*i[2]+a)]},a.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},a.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},a.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},a.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,a=0;return r<1&&(a=(n-r)/(1-r)),[e[0],100*r,100*a]},a.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},a.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},a.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},a.gray.hsl=a.gray.hsv=function(e){return[0,0,e[0]]},a.gray.hwb=function(e){return[0,100,e[0]]},a.gray.cmyk=function(e){return[0,0,0,e[0]]},a.gray.lab=function(e){return[e[0],0,0]},a.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},a.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}));function r(e){var t=function(){for(var e={},t=Object.keys(n),r=t.length,a=0;a1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==typeof n)for(var r=n.length,a=0;a1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))}));var s=o,u={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},l={getRgba:d,getHsla:c,getRgb:function(e){var t=d(e);return t&&t.slice(0,3)},getHsl:function(e){var t=c(e);return t&&t.slice(0,3)},getHwb:f,getAlpha:function(e){var t=d(e);return t||(t=c(e))||(t=f(e))?t[3]:void 0},hexString:function(e,t){return t=void 0!==t&&3===e.length?t:e[3],"#"+y(e[0])+y(e[1])+y(e[2])+(t>=0&&t<1?y(Math.round(255*t)):"")},rgbString:function(e,t){return t<1||e[3]&&e[3]<1?h(e,t):"rgb("+e[0]+", "+e[1]+", "+e[2]+")"},rgbaString:h,percentString:function(e,t){if(t<1||e[3]&&e[3]<1)return m(e,t);var n=Math.round(e[0]/255*100),r=Math.round(e[1]/255*100),a=Math.round(e[2]/255*100);return"rgb("+n+"%, "+r+"%, "+a+"%)"},percentaString:m,hslString:function(e,t){return t<1||e[3]&&e[3]<1?p(e,t):"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)"},hslaString:p,hwbString:function(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+(void 0!==t&&1!==t?", "+t:"")+")"},keyword:function(e){return v[e.slice(0,3)]}};function d(e){if(e){var t=[0,0,0],n=1,r=e.match(/^#([a-fA-F0-9]{3,4})$/i),a="";if(r){a=(r=r[1])[3];for(var i=0;in?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){var t=this.values.hsl;return t[2]+=t[2]*e,this.setValues("hsl",t),this},darken:function(e){var t=this.values.hsl;return t[2]-=t[2]*e,this.setValues("hsl",t),this},saturate:function(e){var t=this.values.hsl;return t[1]+=t[1]*e,this.setValues("hsl",t),this},desaturate:function(e){var t=this.values.hsl;return t[1]-=t[1]*e,this.setValues("hsl",t),this},whiten:function(e){var t=this.values.hwb;return t[1]+=t[1]*e,this.setValues("hwb",t),this},blacken:function(e){var t=this.values.hwb;return t[2]+=t[2]*e,this.setValues("hwb",t),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){var t=this.values.alpha;return this.setValues("alpha",t-t*e),this},opaquer:function(e){var t=this.values.alpha;return this.setValues("alpha",t+t*e),this},rotate:function(e){var t=this.values.hsl,n=(t[0]+e)%360;return t[0]=n<0?360+n:n,this.setValues("hsl",t),this},mix:function(e,t){var n=e,r=void 0===t?.5:t,a=2*r-1,i=this.alpha()-n.alpha(),o=((a*i==-1?a:(a+i)/(1+a*i))+1)/2,s=1-o;return this.rgb(o*this.red()+s*n.red(),o*this.green()+s*n.green(),o*this.blue()+s*n.blue()).alpha(this.alpha()*r+n.alpha()*(1-r))},toJSON:function(){return this.rgb()},clone:function(){var e,t,n=new b,r=this.values,a=n.values;for(var i in r)r.hasOwnProperty(i)&&(e=r[i],"[object Array]"===(t={}.toString.call(e))?a[i]=e.slice(0):"[object Number]"===t?a[i]=e:console.error("unexpected color value:",e));return n}},b.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},b.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},b.prototype.getValues=function(e){for(var t=this.values,n={},r=0;r=0;a--)t.call(n,e[a],a);else for(a=0;a=1?e:-(Math.sqrt(1-e*e)-1)},easeOutCirc:function(e){return Math.sqrt(1-(e-=1)*e)},easeInOutCirc:function(e){return(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},easeInElastic:function(e){var t=1.70158,n=0,r=1;return 0===e?0:1===e?1:(n||(n=.3),r<1?(r=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/r),-r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n))},easeOutElastic:function(e){var t=1.70158,n=0,r=1;return 0===e?0:1===e?1:(n||(n=.3),r<1?(r=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/r),r*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/n)+1)},easeInOutElastic:function(e){var t=1.70158,n=0,r=1;return 0===e?0:2==(e/=.5)?1:(n||(n=.45),r<1?(r=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/r),e<1?r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*-.5:r*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*.5+1)},easeInBack:function(e){var t=1.70158;return e*e*((t+1)*e-t)},easeOutBack:function(e){var t=1.70158;return(e-=1)*e*((t+1)*e+t)+1},easeInOutBack:function(e){var t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},easeInBounce:function(e){return 1-Y.easeOutBounce(1-e)},easeOutBounce:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:function(e){return e<.5?.5*Y.easeInBounce(2*e):.5*Y.easeOutBounce(2*e-1)+.5}},T={effects:Y};k.easingEffects=Y;var D=Math.PI,S=D/180,O=2*D,E=D/2,j=D/4,P=2*D/3,C={clear:function(e){e.ctx.clearRect(0,0,e.width,e.height)},roundedRect:function(e,t,n,r,a,i){if(i){var o=Math.min(i,a/2,r/2),s=t+o,u=n+o,l=t+r-o,d=n+a-o;e.moveTo(t,u),st.left-1e-6&&e.xt.top-1e-6&&e.y0&&this.requestAnimationFrame()},advance:function(){for(var e,t,n,r,a=this.animations,i=0;i=n?(W.callback(e.onAnimationComplete,[e],t),t.animating=!1,a.splice(i,1)):++i}},Z=W.options.resolve,ee=["push","pop","shift","splice","unshift"];function te(e,t){var n=e._chartjs;if(n){var r=n.listeners,a=r.indexOf(t);-1!==a&&r.splice(a,1),r.length>0||(ee.forEach((function(t){delete e[t]})),delete e._chartjs)}}var ne=function(e,t){this.initialize(e,t)};W.extend(ne.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(e,t){var n=this;n.chart=e,n.index=t,n.linkScales(),n.addElements(),n._type=n.getMeta().type},updateIndex:function(e){this.index=e},linkScales:function(){var e=this.getMeta(),t=this.chart,n=t.scales,r=this.getDataset(),a=t.options.scales;null!==e.xAxisID&&e.xAxisID in n&&!r.xAxisID||(e.xAxisID=r.xAxisID||a.xAxes[0].id),null!==e.yAxisID&&e.yAxisID in n&&!r.yAxisID||(e.yAxisID=r.yAxisID||a.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(e){return this.chart.scales[e]},_getValueScaleId:function(){return this.getMeta().yAxisID},_getIndexScaleId:function(){return this.getMeta().xAxisID},_getValueScale:function(){return this.getScaleForId(this._getValueScaleId())},_getIndexScale:function(){return this.getScaleForId(this._getIndexScaleId())},reset:function(){this._update(!0)},destroy:function(){this._data&&te(this._data,this)},createMetaDataset:function(){var e=this.datasetElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(e){var t=this.dataElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index,_index:e})},addElements:function(){var e,t,n=this.getMeta(),r=this.getDataset().data||[],a=n.data;for(e=0,t=r.length;en&&this.insertElements(n,r-n)},insertElements:function(e,t){for(var n=0;na?(i=a/t.innerRadius,e.arc(o,s,t.innerRadius-a,r+i,n-i,!0)):e.arc(o,s,a,r+Math.PI/2,n-Math.PI/2),e.closePath(),e.clip()}function oe(e,t,n){var r="inner"===t.borderAlign;r?(e.lineWidth=2*t.borderWidth,e.lineJoin="round"):(e.lineWidth=t.borderWidth,e.lineJoin="bevel"),n.fullCircles&&function(e,t,n,r){var a,i=n.endAngle;for(r&&(n.endAngle=n.startAngle+ae,ie(e,n),n.endAngle=i,n.endAngle===n.startAngle&&n.fullCircles&&(n.endAngle+=ae,n.fullCircles--)),e.beginPath(),e.arc(n.x,n.y,n.innerRadius,n.startAngle+ae,n.startAngle,!0),a=0;as;)a-=ae;for(;a=o&&a<=s,l=i>=n.innerRadius&&i<=n.outerRadius;return u&&l}return!1},getCenterPoint:function(){var e=this._view,t=(e.startAngle+e.endAngle)/2,n=(e.innerRadius+e.outerRadius)/2;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},getArea:function(){var e=this._view;return Math.PI*((e.endAngle-e.startAngle)/(2*Math.PI))*(Math.pow(e.outerRadius,2)-Math.pow(e.innerRadius,2))},tooltipPosition:function(){var e=this._view,t=e.startAngle+(e.endAngle-e.startAngle)/2,n=(e.outerRadius-e.innerRadius)/2+e.innerRadius;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},draw:function(){var e,t=this._chart.ctx,n=this._view,r="inner"===n.borderAlign?.33:0,a={x:n.x,y:n.y,innerRadius:n.innerRadius,outerRadius:Math.max(n.outerRadius-r,0),pixelMargin:r,startAngle:n.startAngle,endAngle:n.endAngle,fullCircles:Math.floor(n.circumference/ae)};if(t.save(),t.fillStyle=n.backgroundColor,t.strokeStyle=n.borderColor,a.fullCircles){for(a.endAngle=a.startAngle+ae,t.beginPath(),t.arc(a.x,a.y,a.outerRadius,a.startAngle,a.endAngle),t.arc(a.x,a.y,a.innerRadius,a.endAngle,a.startAngle,!0),t.closePath(),e=0;ee.x&&(t=ve(t,"left","right")):e.basen?n:r,r:u.right||a<0?0:a>t?t:a,b:u.bottom||i<0?0:i>n?n:i,l:u.left||o<0?0:o>t?t:o}}function be(e,t,n){var r=null===t,a=null===n,i=!(!e||r&&a)&&ye(e);return i&&(r||t>=i.left&&t<=i.right)&&(a||n>=i.top&&n<=i.bottom)}N._set("global",{elements:{rectangle:{backgroundColor:pe,borderColor:pe,borderSkipped:"bottom",borderWidth:0}}});var Me=$.extend({_type:"rectangle",draw:function(){var e=this._chart.ctx,t=this._view,n=function(e){var t=ye(e),n=t.right-t.left,r=t.bottom-t.top,a=ge(e,n/2,r/2);return{outer:{x:t.left,y:t.top,w:n,h:r},inner:{x:t.left+a.l,y:t.top+a.t,w:n-a.l-a.r,h:r-a.t-a.b}}}(t),r=n.outer,a=n.inner;e.fillStyle=t.backgroundColor,e.fillRect(r.x,r.y,r.w,r.h),r.w===a.w&&r.h===a.h||(e.save(),e.beginPath(),e.rect(r.x,r.y,r.w,r.h),e.clip(),e.fillStyle=t.borderColor,e.rect(a.x,a.y,a.w,a.h),e.fill("evenodd"),e.restore())},height:function(){var e=this._view;return e.base-e.y},inRange:function(e,t){return be(this._view,e,t)},inLabelRange:function(e,t){var n=this._view;return _e(n)?be(n,e,null):be(n,null,t)},inXRange:function(e){return be(this._view,e,null)},inYRange:function(e){return be(this._view,null,e)},getCenterPoint:function(){var e,t,n=this._view;return _e(n)?(e=n.x,t=(n.y+n.base)/2):(e=(n.x+n.base)/2,t=n.y),{x:e,y:t}},getArea:function(){var e=this._view;return _e(e)?e.width*Math.abs(e.y-e.base):e.height*Math.abs(e.x-e.base)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y}}}),we={},Le=se,xe=de,ke=me,Ye=Me;we.Arc=Le,we.Line=xe,we.Point=ke,we.Rectangle=Ye;var Te=W._deprecated,De=W.valueOrDefault;function Se(e,t,n){var r,a,i=n.barThickness,o=t.stackCount,s=t.pixels[e],u=W.isNullOrUndef(i)?function(e,t){var n,r,a,i,o=e._length;for(a=1,i=t.length;a0?Math.min(o,Math.abs(r-n)):o,n=r;return o}(t.scale,t.pixels):-1;return W.isNullOrUndef(i)?(r=u*n.categoryPercentage,a=n.barPercentage):(r=i*o,a=1),{chunk:r/o,ratio:a,start:s-r/2}}N._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),N._set("global",{datasets:{bar:{categoryPercentage:.8,barPercentage:.9}}});var Oe=re.extend({dataElementType:we.Rectangle,_dataElementOptions:["backgroundColor","borderColor","borderSkipped","borderWidth","barPercentage","barThickness","categoryPercentage","maxBarThickness","minBarLength"],initialize:function(){var e,t,n=this;re.prototype.initialize.apply(n,arguments),(e=n.getMeta()).stack=n.getDataset().stack,e.bar=!0,t=n._getIndexScale().options,Te("bar chart",t.barPercentage,"scales.[x/y]Axes.barPercentage","dataset.barPercentage"),Te("bar chart",t.barThickness,"scales.[x/y]Axes.barThickness","dataset.barThickness"),Te("bar chart",t.categoryPercentage,"scales.[x/y]Axes.categoryPercentage","dataset.categoryPercentage"),Te("bar chart",n._getValueScale().options.minBarLength,"scales.[x/y]Axes.minBarLength","dataset.minBarLength"),Te("bar chart",t.maxBarThickness,"scales.[x/y]Axes.maxBarThickness","dataset.maxBarThickness")},update:function(e){var t,n,r=this.getMeta().data;for(this._ruler=this.getRuler(),t=0,n=r.length;t=0&&p.min>=0?p.min:p.max,b=void 0===p.start?p.end:p.max>=0&&p.min>=0?p.max-p.min:p.min-p.max,M=m.length;if(y||void 0===y&&void 0!==v)for(r=0;r=0&&l.max>=0?l.max:l.min,(p.min<0&&i<0||p.max>=0&&i>0)&&(g+=i));return o=c.getPixelForValue(g),u=(s=c.getPixelForValue(g+b))-o,void 0!==_&&Math.abs(u)<_&&(u=_,s=b>=0&&!f||b<0&&f?o-_:o+_),{size:u,base:o,head:s,center:s+u/2}},calculateBarIndexPixels:function(e,t,n,r){var a="flex"===r.barThickness?function(e,t,n){var r,a=t.pixels,i=a[e],o=e>0?a[e-1]:null,s=e=Ae?-He:v<-Ae?He:0)+_,b=Math.cos(v),M=Math.sin(v),w=Math.cos(g),L=Math.sin(g),x=v<=0&&g>=0||g>=He,k=v<=Ne&&g>=Ne||g>=He+Ne,Y=v<=-Ne&&g>=-Ne||g>=Ae+Ne,T=v===-Ae||g>=Ae?-1:Math.min(b,b*p,w,w*p),D=Y?-1:Math.min(M,M*p,L,L*p),S=x?1:Math.max(b,b*p,w,w*p),O=k?1:Math.max(M,M*p,L,L*p);l=(S-T)/2,d=(O-D)/2,c=-(S+T)/2,f=-(O+D)/2}for(r=0,a=m.length;r0&&!isNaN(e)?He*(Math.abs(e)/t):0},getMaxBorderWidth:function(e){var t,n,r,a,i,o,s,u,l=0,d=this.chart;if(!e)for(t=0,n=d.data.datasets.length;t(l=s>l?s:l)?u:l);return l},setHoverStyle:function(e){var t=e._model,n=e._options,r=W.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth},t.backgroundColor=Ce(n.hoverBackgroundColor,r(n.backgroundColor)),t.borderColor=Ce(n.hoverBorderColor,r(n.borderColor)),t.borderWidth=Ce(n.hoverBorderWidth,n.borderWidth)},_getRingWeightOffset:function(e){for(var t=0,n=0;n0&&We(u[e-1]._model,s)&&(n.controlPointPreviousX=l(n.controlPointPreviousX,s.left,s.right),n.controlPointPreviousY=l(n.controlPointPreviousY,s.top,s.bottom)),e0&&(i=e.getDatasetMeta(i[0]._datasetIndex).data),i},"x-axis":function(e,t){return at(e,t,{intersect:!1})},point:function(e,t){return tt(e,Ze(t,e))},nearest:function(e,t,n){var r=Ze(t,e);n.axis=n.axis||"xy";var a=rt(n.axis);return nt(e,r,n.intersect,a)},x:function(e,t,n){var r=Ze(t,e),a=[],i=!1;return et(e,(function(e){e.inXRange(r.x)&&a.push(e),e.inRange(r.x,r.y)&&(i=!0)})),n.intersect&&!i&&(a=[]),a},y:function(e,t,n){var r=Ze(t,e),a=[],i=!1;return et(e,(function(e){e.inYRange(r.y)&&a.push(e),e.inRange(r.x,r.y)&&(i=!0)})),n.intersect&&!i&&(a=[]),a}}},ot=W.extend;function st(e,t){return W.where(e,(function(e){return e.pos===t}))}function ut(e,t){return e.sort((function(e,n){var r=t?n:e,a=t?e:n;return r.weight===a.weight?r.index-a.index:r.weight-a.weight}))}function lt(e,t,n,r){return Math.max(e[n],t[n])+Math.max(e[r],t[r])}function dt(e,t,n){var r,a,i=n.box,o=e.maxPadding;if(n.size&&(e[n.pos]-=n.size),n.size=n.horizontal?i.height:i.width,e[n.pos]+=n.size,i.getPadding){var s=i.getPadding();o.top=Math.max(o.top,s.top),o.left=Math.max(o.left,s.left),o.bottom=Math.max(o.bottom,s.bottom),o.right=Math.max(o.right,s.right)}if(r=t.outerWidth-lt(o,e,"left","right"),a=t.outerHeight-lt(o,e,"top","bottom"),r!==e.w||a!==e.h){e.w=r,e.h=a;var u=n.horizontal?[r,e.w]:[a,e.h];return!(u[0]===u[1]||isNaN(u[0])&&isNaN(u[1]))}}function ct(e,t){var n=t.maxPadding;function r(e){var r={left:0,top:0,right:0,bottom:0};return e.forEach((function(e){r[e]=Math.max(t[e],n[e])})),r}return r(e?["left","right"]:["top","bottom"])}function ft(e,t,n){var r,a,i,o,s,u,l=[];for(r=0,a=e.length;r div {\r\n\tposition: absolute;\r\n\twidth: 1000000px;\r\n\theight: 1000000px;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n\r\n.chartjs-size-monitor-shrink > div {\r\n\tposition: absolute;\r\n\twidth: 200%;\r\n\theight: 200%;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n"}))&&mt.default||mt,yt=["animationstart","webkitAnimationStart"],vt={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function gt(e,t){var n=W.getStyle(e,t),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?Number(r[1]):void 0}var bt=!!function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("e",null,t)}catch(e){}return e}()&&{passive:!0};function Mt(e,t,n){e.addEventListener(t,n,bt)}function wt(e,t,n){e.removeEventListener(t,n,bt)}function Lt(e,t,n,r,a){return{type:e,chart:t,native:a||null,x:void 0!==n?n:null,y:void 0!==r?r:null}}function xt(e){var t=document.createElement("div");return t.className=e||"",t}function kt(e,t,n){var r,a,i,o,s=e.$chartjs||(e.$chartjs={}),u=s.resizer=function(e){var t=xt("chartjs-size-monitor"),n=xt("chartjs-size-monitor-expand"),r=xt("chartjs-size-monitor-shrink");n.appendChild(xt()),r.appendChild(xt()),t.appendChild(n),t.appendChild(r),t._reset=function(){n.scrollLeft=1e6,n.scrollTop=1e6,r.scrollLeft=1e6,r.scrollTop=1e6};var a=function(){t._reset(),e()};return Mt(n,"scroll",a.bind(n,"expand")),Mt(r,"scroll",a.bind(r,"shrink")),t}((r=function(){if(s.resizer){var r=n.options.maintainAspectRatio&&e.parentNode,a=r?r.clientWidth:0;t(Lt("resize",n)),r&&r.clientWidth0){var i=e[0];i.label?n=i.label:i.xLabel?n=i.xLabel:a>0&&i.index-1?e.split("\n"):e}function Nt(e){var t=N.global;return{xPadding:e.xPadding,yPadding:e.yPadding,xAlign:e.xAlign,yAlign:e.yAlign,rtl:e.rtl,textDirection:e.textDirection,bodyFontColor:e.bodyFontColor,_bodyFontFamily:jt(e.bodyFontFamily,t.defaultFontFamily),_bodyFontStyle:jt(e.bodyFontStyle,t.defaultFontStyle),_bodyAlign:e.bodyAlign,bodyFontSize:jt(e.bodyFontSize,t.defaultFontSize),bodySpacing:e.bodySpacing,titleFontColor:e.titleFontColor,_titleFontFamily:jt(e.titleFontFamily,t.defaultFontFamily),_titleFontStyle:jt(e.titleFontStyle,t.defaultFontStyle),titleFontSize:jt(e.titleFontSize,t.defaultFontSize),_titleAlign:e.titleAlign,titleSpacing:e.titleSpacing,titleMarginBottom:e.titleMarginBottom,footerFontColor:e.footerFontColor,_footerFontFamily:jt(e.footerFontFamily,t.defaultFontFamily),_footerFontStyle:jt(e.footerFontStyle,t.defaultFontStyle),footerFontSize:jt(e.footerFontSize,t.defaultFontSize),_footerAlign:e.footerAlign,footerSpacing:e.footerSpacing,footerMarginTop:e.footerMarginTop,caretSize:e.caretSize,cornerRadius:e.cornerRadius,backgroundColor:e.backgroundColor,opacity:0,legendColorBackground:e.multiKeyBackground,displayColors:e.displayColors,borderColor:e.borderColor,borderWidth:e.borderWidth}}function Rt(e,t){return"center"===t?e.x+e.width/2:"right"===t?e.x+e.width-e.xPadding:e.x+e.xPadding}function Ft(e){return At([],Ht(e))}var It=$.extend({initialize:function(){this._model=Nt(this._options),this._lastActive=[]},getTitle:function(){var e=this,t=e._options,n=t.callbacks,r=n.beforeTitle.apply(e,arguments),a=n.title.apply(e,arguments),i=n.afterTitle.apply(e,arguments),o=[];return o=At(o,Ht(r)),o=At(o,Ht(a)),o=At(o,Ht(i))},getBeforeBody:function(){return Ft(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(e,t){var n=this,r=n._options.callbacks,a=[];return W.each(e,(function(e){var i={before:[],lines:[],after:[]};At(i.before,Ht(r.beforeLabel.call(n,e,t))),At(i.lines,r.label.call(n,e,t)),At(i.after,Ht(r.afterLabel.call(n,e,t))),a.push(i)})),a},getAfterBody:function(){return Ft(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var e=this,t=e._options.callbacks,n=t.beforeFooter.apply(e,arguments),r=t.footer.apply(e,arguments),a=t.afterFooter.apply(e,arguments),i=[];return i=At(i,Ht(n)),i=At(i,Ht(r)),i=At(i,Ht(a))},update:function(e){var t,n,r,a,i,o,s,u,l,d,c=this,f=c._options,h=c._model,m=c._model=Nt(f),p=c._active,_=c._data,y={xAlign:h.xAlign,yAlign:h.yAlign},v={x:h.x,y:h.y},g={width:h.width,height:h.height},b={x:h.caretX,y:h.caretY};if(p.length){m.opacity=1;var M=[],w=[];b=Ct[f.position].call(c,p,c._eventPosition);var L=[];for(t=0,n=p.length;tr.width&&(a=r.width-t.width),a<0&&(a=0)),"top"===d?i+=c:i-="bottom"===d?t.height+c:t.height/2,"center"===d?"left"===l?a+=c:"right"===l&&(a-=c):"left"===l?a-=f:"right"===l&&(a+=f),{x:a,y:i}}(m,g,y=function(e,t){var n,r,a,i,o,s=e._model,u=e._chart,l=e._chart.chartArea,d="center",c="center";s.yu.height-t.height&&(c="bottom");var f=(l.left+l.right)/2,h=(l.top+l.bottom)/2;"center"===c?(n=function(e){return e<=f},r=function(e){return e>f}):(n=function(e){return e<=t.width/2},r=function(e){return e>=u.width-t.width/2}),a=function(e){return e+t.width+s.caretSize+s.caretPadding>u.width},i=function(e){return e-t.width-s.caretSize-s.caretPadding<0},o=function(e){return e<=h?"top":"bottom"},n(s.x)?(d="left",a(s.x)&&(d="center",c=o(s.y))):r(s.x)&&(d="right",i(s.x)&&(d="center",c=o(s.y)));var m=e._options;return{xAlign:m.xAlign?m.xAlign:d,yAlign:m.yAlign?m.yAlign:c}}(this,g),c._chart)}else m.opacity=0;return m.xAlign=y.xAlign,m.yAlign=y.yAlign,m.x=v.x,m.y=v.y,m.width=g.width,m.height=g.height,m.caretX=b.x,m.caretY=b.y,c._model=m,e&&f.custom&&f.custom.call(c,m),c},drawCaret:function(e,t){var n=this._chart.ctx,r=this._view,a=this.getCaretPosition(e,t,r);n.lineTo(a.x1,a.y1),n.lineTo(a.x2,a.y2),n.lineTo(a.x3,a.y3)},getCaretPosition:function(e,t,n){var r,a,i,o,s,u,l=n.caretSize,d=n.cornerRadius,c=n.xAlign,f=n.yAlign,h=e.x,m=e.y,p=t.width,_=t.height;if("center"===f)s=m+_/2,"left"===c?(a=(r=h)-l,i=r,o=s+l,u=s-l):(a=(r=h+p)+l,i=r,o=s-l,u=s+l);else if("left"===c?(r=(a=h+d+l)-l,i=a+l):"right"===c?(r=(a=h+p-d-l)-l,i=a+l):(r=(a=n.caretX)-l,i=a+l),"top"===f)s=(o=m)-l,u=o;else{s=(o=m+_)+l,u=o;var y=i;i=r,r=y}return{x1:r,x2:a,x3:i,y1:o,y2:s,y3:u}},drawTitle:function(e,t,n){var r,a,i,o=t.title,s=o.length;if(s){var u=Pt(t.rtl,t.x,t.width);for(e.x=Rt(t,t._titleAlign),n.textAlign=u.textAlign(t._titleAlign),n.textBaseline="middle",r=t.titleFontSize,a=t.titleSpacing,n.fillStyle=t.titleFontColor,n.font=W.fontString(r,t._titleFontStyle,t._titleFontFamily),i=0;i0&&n.stroke()},draw:function(){var e=this._chart.ctx,t=this._view;if(0!==t.opacity){var n={width:t.width,height:t.height},r={x:t.x,y:t.y},a=Math.abs(t.opacity<.001)?0:t.opacity,i=t.title.length||t.beforeBody.length||t.body.length||t.afterBody.length||t.footer.length;this._options.enabled&&i&&(e.save(),e.globalAlpha=a,this.drawBackground(r,t,e,n),r.y+=t.yPadding,W.rtl.overrideTextDirection(e,t.textDirection),this.drawTitle(r,t,e),this.drawBody(r,t,e),this.drawFooter(r,t,e),W.rtl.restoreTextDirection(e,t.textDirection),e.restore())}},handleEvent:function(e){var t,n=this,r=n._options;return n._lastActive=n._lastActive||[],"mouseout"===e.type?n._active=[]:(n._active=n._chart.getElementsAtEventForMode(e,r.mode,r),r.reverse&&n._active.reverse()),(t=!W.arrayEquals(n._active,n._lastActive))&&(n._lastActive=n._active,(r.enabled||r.custom)&&(n._eventPosition={x:e.x,y:e.y},n.update(!0),n.pivot())),t}}),zt=Ct,Wt=It;Wt.positioners=zt;var Bt=W.valueOrDefault;function Vt(){return W.merge(Object.create(null),[].slice.call(arguments),{merger:function(e,t,n,r){if("xAxes"===e||"yAxes"===e){var a,i,o,s=n[e].length;for(t[e]||(t[e]=[]),a=0;a=t[e].length&&t[e].push({}),!t[e][a].type||o.type&&o.type!==t[e][a].type?W.merge(t[e][a],[Et.getScaleDefaults(i),o]):W.merge(t[e][a],o)}else W._merger(e,t,n,r)}})}function Ut(){return W.merge(Object.create(null),[].slice.call(arguments),{merger:function(e,t,n,r){var a=t[e]||Object.create(null),i=n[e];"scales"===e?t[e]=Vt(a,i):"scale"===e?t[e]=W.merge(a,[Et.getScaleDefaults(i.type),i]):W._merger(e,t,n,r)}})}function qt(e){var t=e.options;W.each(e.scales,(function(t){pt.removeBox(e,t)})),t=Ut(N.global,N[e.config.type],t),e.options=e.config.options=t,e.ensureScalesHaveIDs(),e.buildOrUpdateScales(),e.tooltip._options=t.tooltips,e.tooltip.initialize()}function Jt(e,t,n){var r,a=function(e){return e.id===r};do{r=t+n++}while(W.findIndex(e,a)>=0);return r}function Gt(e){return"top"===e||"bottom"===e}function $t(e,t){return function(n,r){return n[e]===r[e]?n[t]-r[t]:n[e]-r[e]}}N._set("global",{elements:{},events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive:!0,responsiveAnimationDuration:0});var Kt=function(e,t){return this.construct(e,t),this};W.extend(Kt.prototype,{construct:function(e,t){var n=this;t=function(e){var t=(e=e||Object.create(null)).data=e.data||{};return t.datasets=t.datasets||[],t.labels=t.labels||[],e.options=Ut(N.global,N[e.type],e.options||{}),e}(t);var r=St.acquireContext(e,t),a=r&&r.canvas,i=a&&a.height,o=a&&a.width;n.id=W.uid(),n.ctx=r,n.canvas=a,n.config=t,n.width=o,n.height=i,n.aspectRatio=i?o/i:null,n.options=t.options,n._bufferedRender=!1,n._layers=[],n.chart=n,n.controller=n,Kt.instances[n.id]=n,Object.defineProperty(n,"data",{get:function(){return n.config.data},set:function(e){n.config.data=e}}),r&&a?(n.initialize(),n.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var e=this;return Ot.notify(e,"beforeInit"),W.retinaScale(e,e.options.devicePixelRatio),e.bindEvents(),e.options.responsive&&e.resize(!0),e.initToolTip(),Ot.notify(e,"afterInit"),e},clear:function(){return W.canvas.clear(this),this},stop:function(){return Q.cancelAnimation(this),this},resize:function(e){var t=this,n=t.options,r=t.canvas,a=n.maintainAspectRatio&&t.aspectRatio||null,i=Math.max(0,Math.floor(W.getMaximumWidth(r))),o=Math.max(0,Math.floor(a?i/a:W.getMaximumHeight(r)));if((t.width!==i||t.height!==o)&&(r.width=t.width=i,r.height=t.height=o,r.style.width=i+"px",r.style.height=o+"px",W.retinaScale(t,n.devicePixelRatio),!e)){var s={width:i,height:o};Ot.notify(t,"resize",[s]),n.onResize&&n.onResize(t,s),t.stop(),t.update({duration:n.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var e=this.options,t=e.scales||{},n=e.scale;W.each(t.xAxes,(function(e,n){e.id||(e.id=Jt(t.xAxes,"x-axis-",n))})),W.each(t.yAxes,(function(e,n){e.id||(e.id=Jt(t.yAxes,"y-axis-",n))})),n&&(n.id=n.id||"scale")},buildOrUpdateScales:function(){var e=this,t=e.options,n=e.scales||{},r=[],a=Object.keys(n).reduce((function(e,t){return e[t]=!1,e}),{});t.scales&&(r=r.concat((t.scales.xAxes||[]).map((function(e){return{options:e,dtype:"category",dposition:"bottom"}})),(t.scales.yAxes||[]).map((function(e){return{options:e,dtype:"linear",dposition:"left"}})))),t.scale&&r.push({options:t.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),W.each(r,(function(t){var r=t.options,i=r.id,o=Bt(r.type,t.dtype);Gt(r.position)!==Gt(t.dposition)&&(r.position=t.dposition),a[i]=!0;var s=null;if(i in n&&n[i].type===o)(s=n[i]).options=r,s.ctx=e.ctx,s.chart=e;else{var u=Et.getScaleConstructor(o);if(!u)return;s=new u({id:i,type:o,options:r,ctx:e.ctx,chart:e}),n[s.id]=s}s.mergeTicksOptions(),t.isDefault&&(e.scale=s)})),W.each(a,(function(e,t){e||delete n[t]})),e.scales=n,Et.addScalesToLayout(this)},buildOrUpdateControllers:function(){var e,t,n=this,r=[],a=n.data.datasets;for(e=0,t=a.length;e=0;--n)this.drawDataset(t[n],e);Ot.notify(this,"afterDatasetsDraw",[e])}},drawDataset:function(e,t){var n={meta:e,index:e.index,easingValue:t};!1!==Ot.notify(this,"beforeDatasetDraw",[n])&&(e.controller.draw(t),Ot.notify(this,"afterDatasetDraw",[n]))},_drawTooltip:function(e){var t=this.tooltip,n={tooltip:t,easingValue:e};!1!==Ot.notify(this,"beforeTooltipDraw",[n])&&(t.draw(),Ot.notify(this,"afterTooltipDraw",[n]))},getElementAtEvent:function(e){return it.modes.single(this,e)},getElementsAtEvent:function(e){return it.modes.label(this,e,{intersect:!0})},getElementsAtXAxis:function(e){return it.modes["x-axis"](this,e,{intersect:!0})},getElementsAtEventForMode:function(e,t,n){var r=it.modes[t];return"function"==typeof r?r(this,e,n):[]},getDatasetAtEvent:function(e){return it.modes.dataset(this,e,{intersect:!0})},getDatasetMeta:function(e){var t=this.data.datasets[e];t._meta||(t._meta={});var n=t._meta[this.id];return n||(n=t._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t.order||0,index:e}),n},getVisibleDatasetCount:function(){for(var e=0,t=0,n=this.data.datasets.length;t3?n[2]-n[1]:n[1]-n[0];Math.abs(r)>1&&e!==Math.floor(e)&&(r=e-Math.floor(e));var a=W.log10(Math.abs(r)),i="";if(0!==e)if(Math.max(Math.abs(n[0]),Math.abs(n[n.length-1]))<1e-4){var o=W.log10(Math.abs(e)),s=Math.floor(o)-Math.floor(a);s=Math.max(Math.min(s,20),0),i=e.toExponential(s)}else{var u=-1*Math.floor(a);u=Math.max(Math.min(u,20),0),i=e.toFixed(u)}else i="0";return i},logarithmic:function(e,t,n){var r=e/Math.pow(10,Math.floor(W.log10(e)));return 0===e?"0":1===r||2===r||5===r||0===t||t===n.length-1?e.toExponential():""}}},nn=W.isArray,rn=W.isNullOrUndef,an=W.valueOrDefault,on=W.valueAtIndexOrDefault;function sn(e,t,n){var r,a=e.getTicks().length,i=Math.min(t,a-1),o=e.getPixelForTick(i),s=e._startPixel,u=e._endPixel;if(!(n&&(r=1===a?Math.max(o-s,u-o):0===t?(e.getPixelForTick(1)-o)/2:(o-e.getPixelForTick(i-1))/2,(o+=iu+1e-6)))return o}function un(e,t,n,r){var a,i,o,s,u,l,d,c,f,h,m,p,_,y=n.length,v=[],g=[],b=[],M=0,w=0;for(a=0;at){for(n=0;n=f||d<=1||!s.isHorizontal()?s.labelRotation=c:(t=(e=s._getLabelSizes()).widest.width,n=e.highest.height-e.highest.offset,r=Math.min(s.maxWidth,s.chart.width-t),t+6>(a=u.offset?s.maxWidth/d:r/(d-1))&&(a=r/(d-(u.offset?.5:1)),i=s.maxHeight-ln(u.gridLines)-l.padding-dn(u.scaleLabel),o=Math.sqrt(t*t+n*n),h=W.toDegrees(Math.min(Math.asin(Math.min((e.highest.height+6)/a,1)),Math.asin(Math.min(i/o,1))-Math.asin(n/o))),h=Math.max(c,Math.min(f,h))),s.labelRotation=h)},afterCalculateTickRotation:function(){W.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){W.callback(this.options.beforeFit,[this])},fit:function(){var e=this,t=e.minSize={width:0,height:0},n=e.chart,r=e.options,a=r.ticks,i=r.scaleLabel,o=r.gridLines,s=e._isVisible(),u="bottom"===r.position,l=e.isHorizontal();if(l?t.width=e.maxWidth:s&&(t.width=ln(o)+dn(i)),l?s&&(t.height=ln(o)+dn(i)):t.height=e.maxHeight,a.display&&s){var d=fn(a),c=e._getLabelSizes(),f=c.first,h=c.last,m=c.widest,p=c.highest,_=.4*d.minor.lineHeight,y=a.padding;if(l){var v=0!==e.labelRotation,g=W.toRadians(e.labelRotation),b=Math.cos(g),M=Math.sin(g),w=M*m.width+b*(p.height-(v?p.offset:0))+(v?0:_);t.height=Math.min(e.maxHeight,t.height+w+y);var L,x,k=e.getPixelForTick(0)-e.left,Y=e.right-e.getPixelForTick(e.getTicks().length-1);v?(L=u?b*f.width+M*f.offset:M*(f.height-f.offset),x=u?M*(h.height-h.offset):b*h.width+M*h.offset):(L=f.width/2,x=h.width/2),e.paddingLeft=Math.max((L-k)*e.width/(e.width-k),0)+3,e.paddingRight=Math.max((x-Y)*e.width/(e.width-Y),0)+3}else{var T=a.mirror?0:m.width+y+_;t.width=Math.min(e.maxWidth,t.width+T),e.paddingTop=f.height/2,e.paddingBottom=h.height/2}}e.handleMargins(),l?(e.width=e._length=n.width-e.margins.left-e.margins.right,e.height=t.height):(e.width=t.width,e.height=e._length=n.height-e.margins.top-e.margins.bottom)},handleMargins:function(){var e=this;e.margins&&(e.margins.left=Math.max(e.paddingLeft,e.margins.left),e.margins.top=Math.max(e.paddingTop,e.margins.top),e.margins.right=Math.max(e.paddingRight,e.margins.right),e.margins.bottom=Math.max(e.paddingBottom,e.margins.bottom))},afterFit:function(){W.callback(this.options.afterFit,[this])},isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(e){if(rn(e))return NaN;if(("number"==typeof e||e instanceof Number)&&!isFinite(e))return NaN;if(e)if(this.isHorizontal()){if(void 0!==e.x)return this.getRightValue(e.x)}else if(void 0!==e.y)return this.getRightValue(e.y);return e},_convertTicksToLabels:function(e){var t,n,r,a=this;for(a.ticks=e.map((function(e){return e.value})),a.beforeTickToLabelConversion(),t=a.convertTicksToLabels(e)||a.ticks,a.afterTickToLabelConversion(),n=0,r=e.length;nn-1?null:this.getPixelForDecimal(e*r+(t?r/2:0))},getPixelForDecimal:function(e){return this._reversePixels&&(e=1-e),this._startPixel+e*this._length},getDecimalForPixel:function(e){var t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var e=this.min,t=this.max;return this.beginAtZero?0:e<0&&t<0?t:e>0&&t>0?e:0},_autoSkip:function(e){var t,n,r,a,i=this.options.ticks,o=this._length,s=i.maxTicksLimit||o/this._tickSize()+1,u=i.major.enabled?function(e){var t,n,r=[];for(t=0,n=e.length;ts)return function(e,t,n){var r,a,i=0,o=t[0];for(n=Math.ceil(n),r=0;rl)return i;return Math.max(l,1)}(u,e,0,s),l>0){for(t=0,n=l-1;t1?(c-d)/(l-1):null,mn(e,r,W.isNullOrUndef(a)?0:d-a,d),mn(e,r,c,W.isNullOrUndef(a)?e.length:c+a),hn(e)}return mn(e,r),hn(e)},_tickSize:function(){var e=this.options.ticks,t=W.toRadians(this.labelRotation),n=Math.abs(Math.cos(t)),r=Math.abs(Math.sin(t)),a=this._getLabelSizes(),i=e.autoSkipPadding||0,o=a?a.widest.width+i:0,s=a?a.highest.height+i:0;return this.isHorizontal()?s*n>o*r?o/n:s/r:s*r=0&&(o=e),void 0!==i&&(e=n.indexOf(i))>=0&&(s=e),t.minIndex=o,t.maxIndex=s,t.min=n[o],t.max=n[s]},buildTicks:function(){var e=this._getLabels(),t=this.minIndex,n=this.maxIndex;this.ticks=0===t&&n===e.length-1?e:e.slice(t,n+1)},getLabelForIndex:function(e,t){var n=this.chart;return n.getDatasetMeta(t).controller._getValueScaleId()===this.id?this.getRightValue(n.data.datasets[t].data[e]):this._getLabels()[e]},_configure:function(){var e=this,t=e.options.offset,n=e.ticks;_n.prototype._configure.call(e),e.isHorizontal()||(e._reversePixels=!e._reversePixels),n&&(e._startValue=e.minIndex-(t?.5:0),e._valueRange=Math.max(n.length-(t?0:1),1))},getPixelForValue:function(e,t,n){var r,a,i,o=this;return yn(t)||yn(n)||(e=o.chart.data.datasets[n].data[t]),yn(e)||(r=o.isHorizontal()?e.x:e.y),(void 0!==r||void 0!==e&&isNaN(t))&&(a=o._getLabels(),e=W.valueOrDefault(r,e),t=-1!==(i=a.indexOf(e))?i:t,isNaN(t)&&(t=e)),o.getPixelForDecimal((t-o._startValue)/o._valueRange)},getPixelForTick:function(e){var t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e],e+this.minIndex)},getValueForPixel:function(e){var t=Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange);return Math.min(Math.max(t,0),this.ticks.length-1)},getBasePixel:function(){return this.bottom}}),gn={position:"bottom"};vn._defaults=gn;var bn=W.noop,Mn=W.isNullOrUndef,wn=_n.extend({getRightValue:function(e){return"string"==typeof e?+e:_n.prototype.getRightValue.call(this,e)},handleTickRangeOptions:function(){var e=this,t=e.options.ticks;if(t.beginAtZero){var n=W.sign(e.min),r=W.sign(e.max);n<0&&r<0?e.max=0:n>0&&r>0&&(e.min=0)}var a=void 0!==t.min||void 0!==t.suggestedMin,i=void 0!==t.max||void 0!==t.suggestedMax;void 0!==t.min?e.min=t.min:void 0!==t.suggestedMin&&(null===e.min?e.min=t.suggestedMin:e.min=Math.min(e.min,t.suggestedMin)),void 0!==t.max?e.max=t.max:void 0!==t.suggestedMax&&(null===e.max?e.max=t.suggestedMax:e.max=Math.max(e.max,t.suggestedMax)),a!==i&&e.min>=e.max&&(a?e.max=e.min+1:e.min=e.max-1),e.min===e.max&&(e.max++,t.beginAtZero||e.min--)},getTickLimit:function(){var e,t=this.options.ticks,n=t.stepSize,r=t.maxTicksLimit;return n?e=Math.ceil(this.max/n)-Math.floor(this.min/n)+1:(e=this._computeTickLimit(),r=r||11),r&&(e=Math.min(r,e)),e},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:bn,buildTicks:function(){var e=this,t=e.options.ticks,n=e.getTickLimit(),r={maxTicks:n=Math.max(2,n),min:t.min,max:t.max,precision:t.precision,stepSize:W.valueOrDefault(t.fixedStepSize,t.stepSize)},a=e.ticks=function(e,t){var n,r,a,i,o=[],s=e.stepSize,u=s||1,l=e.maxTicks-1,d=e.min,c=e.max,f=e.precision,h=t.min,m=t.max,p=W.niceNum((m-h)/l/u)*u;if(p<1e-14&&Mn(d)&&Mn(c))return[h,m];(i=Math.ceil(m/p)-Math.floor(h/p))>l&&(p=W.niceNum(i*p/l/u)*u),s||Mn(f)?n=Math.pow(10,W._decimalPlaces(p)):(n=Math.pow(10,f),p=Math.ceil(p*n)/n),r=Math.floor(h/p)*p,a=Math.ceil(m/p)*p,s&&(!Mn(d)&&W.almostWhole(d/p,p/1e3)&&(r=d),!Mn(c)&&W.almostWhole(c/p,p/1e3)&&(a=c)),i=(a-r)/p,i=W.almostEquals(i,Math.round(i),p/1e3)?Math.round(i):Math.ceil(i),r=Math.round(r*n)/n,a=Math.round(a*n)/n,o.push(Mn(d)?r:d);for(var _=1;_t.length-1?null:this.getPixelForValue(t[e])}}),Tn=Ln;Yn._defaults=Tn;var Dn=W.valueOrDefault,Sn=W.math.log10,On={position:"left",ticks:{callback:tn.formatters.logarithmic}};function En(e,t){return W.isFinite(e)&&e>=0?e:t}var jn=_n.extend({determineDataLimits:function(){var e,t,n,r,a,i,o=this,s=o.options,u=o.chart,l=u.data.datasets,d=o.isHorizontal();function c(e){return d?e.xAxisID===o.id:e.yAxisID===o.id}o.min=Number.POSITIVE_INFINITY,o.max=Number.NEGATIVE_INFINITY,o.minNotZero=Number.POSITIVE_INFINITY;var f=s.stacked;if(void 0===f)for(e=0;e0){var t=W.min(e),n=W.max(e);o.min=Math.min(o.min,t),o.max=Math.max(o.max,n)}}))}else for(e=0;e0?e.minNotZero=e.min:e.max<1?e.minNotZero=Math.pow(10,Math.floor(Sn(e.max))):e.minNotZero=1)},buildTicks:function(){var e=this,t=e.options.ticks,n=!e.isHorizontal(),r={min:En(t.min),max:En(t.max)},a=e.ticks=function(e,t){var n,r,a=[],i=Dn(e.min,Math.pow(10,Math.floor(Sn(t.min)))),o=Math.floor(Sn(t.max)),s=Math.ceil(t.max/Math.pow(10,o));0===i?(n=Math.floor(Sn(t.minNotZero)),r=Math.floor(t.minNotZero/Math.pow(10,n)),a.push(i),i=r*Math.pow(10,n)):(n=Math.floor(Sn(i)),r=Math.floor(i/Math.pow(10,n)));var u=n<0?Math.pow(10,Math.abs(n)):1;do{a.push(i),10==++r&&(r=1,u=++n>=0?1:u),i=Math.round(r*Math.pow(10,n)*u)/u}while(nt.length-1?null:this.getPixelForValue(t[e])},_getFirstTickValue:function(e){var t=Math.floor(Sn(e));return Math.floor(e/Math.pow(10,t))*Math.pow(10,t)},_configure:function(){var e=this,t=e.min,n=0;_n.prototype._configure.call(e),0===t&&(t=e._getFirstTickValue(e.minNotZero),n=Dn(e.options.ticks.fontSize,N.global.defaultFontSize)/e._length),e._startValue=Sn(t),e._valueOffset=n,e._valueRange=(Sn(e.max)-Sn(t))/(1-n)},getPixelForValue:function(e){var t=this,n=0;return(e=+t.getRightValue(e))>t.min&&e>0&&(n=(Sn(e)-t._startValue)/t._valueRange+t._valueOffset),t.getPixelForDecimal(n)},getValueForPixel:function(e){var t=this,n=t.getDecimalForPixel(e);return 0===n&&0===t.min?0:Math.pow(10,t._startValue+(n-t._valueOffset)*t._valueRange)}}),Pn=On;jn._defaults=Pn;var Cn=W.valueOrDefault,An=W.valueAtIndexOrDefault,Hn=W.options.resolve,Nn={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,borderDash:[],borderDashOffset:0},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:tn.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(e){return e}}};function Rn(e){var t=e.ticks;return t.display&&e.display?Cn(t.fontSize,N.global.defaultFontSize)+2*t.backdropPaddingY:0}function Fn(e,t,n,r,a){return e===r||e===a?{start:t-n/2,end:t+n/2}:ea?{start:t-n,end:t}:{start:t,end:t+n}}function In(e){return 0===e||180===e?"center":e<180?"left":"right"}function zn(e,t,n,r){var a,i,o=n.y+r/2;if(W.isArray(t))for(a=0,i=t.length;a270||e<90)&&(n.y-=t.h)}function Bn(e){return W.isNumber(e)?e:0}var Vn=wn.extend({setDimensions:function(){var e=this;e.width=e.maxWidth,e.height=e.maxHeight,e.paddingTop=Rn(e.options)/2,e.xCenter=Math.floor(e.width/2),e.yCenter=Math.floor((e.height-e.paddingTop)/2),e.drawingArea=Math.min(e.height-e.paddingTop,e.width)/2},determineDataLimits:function(){var e=this,t=e.chart,n=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;W.each(t.data.datasets,(function(a,i){if(t.isDatasetVisible(i)){var o=t.getDatasetMeta(i);W.each(a.data,(function(t,a){var i=+e.getRightValue(t);isNaN(i)||o.data[a].hidden||(n=Math.min(i,n),r=Math.max(i,r))}))}})),e.min=n===Number.POSITIVE_INFINITY?0:n,e.max=r===Number.NEGATIVE_INFINITY?0:r,e.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/Rn(this.options))},convertTicksToLabels:function(){var e=this;wn.prototype.convertTicksToLabels.call(e),e.pointLabels=e.chart.data.labels.map((function(){var t=W.callback(e.options.pointLabels.callback,arguments,e);return t||0===t?t:""}))},getLabelForIndex:function(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},fit:function(){var e=this.options;e.display&&e.pointLabels.display?function(e){var t,n,r,a=W.options._parseFont(e.options.pointLabels),i={l:0,r:e.width,t:0,b:e.height-e.paddingTop},o={};e.ctx.font=a.string,e._pointLabelSizes=[];var s,u,l,d=e.chart.data.labels.length;for(t=0;ti.r&&(i.r=h.end,o.r=c),m.starti.b&&(i.b=m.end,o.b=c)}e.setReductions(e.drawingArea,i,o)}(this):this.setCenterPoint(0,0,0,0)},setReductions:function(e,t,n){var r=this,a=t.l/Math.sin(n.l),i=Math.max(t.r-r.width,0)/Math.sin(n.r),o=-t.t/Math.cos(n.t),s=-Math.max(t.b-(r.height-r.paddingTop),0)/Math.cos(n.b);a=Bn(a),i=Bn(i),o=Bn(o),s=Bn(s),r.drawingArea=Math.min(Math.floor(e-(a+i)/2),Math.floor(e-(o+s)/2)),r.setCenterPoint(a,i,o,s)},setCenterPoint:function(e,t,n,r){var a=this,i=a.width-t-a.drawingArea,o=e+a.drawingArea,s=n+a.drawingArea,u=a.height-a.paddingTop-r-a.drawingArea;a.xCenter=Math.floor((o+i)/2+a.left),a.yCenter=Math.floor((s+u)/2+a.top+a.paddingTop)},getIndexAngle:function(e){var t=this.chart,n=(e*(360/t.data.labels.length)+((t.options||{}).startAngle||0))%360;return(n<0?n+360:n)*Math.PI*2/360},getDistanceFromCenterForValue:function(e){var t=this;if(W.isNullOrUndef(e))return NaN;var n=t.drawingArea/(t.max-t.min);return t.options.ticks.reverse?(t.max-e)*n:(e-t.min)*n},getPointPosition:function(e,t){var n=this.getIndexAngle(e)-Math.PI/2;return{x:Math.cos(n)*t+this.xCenter,y:Math.sin(n)*t+this.yCenter}},getPointPositionForValue:function(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))},getBasePosition:function(e){var t=this.min,n=this.max;return this.getPointPositionForValue(e||0,this.beginAtZero?0:t<0&&n<0?n:t>0&&n>0?t:0)},_drawGrid:function(){var e,t,n,r=this,a=r.ctx,i=r.options,o=i.gridLines,s=i.angleLines,u=Cn(s.lineWidth,o.lineWidth),l=Cn(s.color,o.color);if(i.pointLabels.display&&function(e){var t=e.ctx,n=e.options,r=n.pointLabels,a=Rn(n),i=e.getDistanceFromCenterForValue(n.ticks.reverse?e.min:e.max),o=W.options._parseFont(r);t.save(),t.font=o.string,t.textBaseline="middle";for(var s=e.chart.data.labels.length-1;s>=0;s--){var u=0===s?a/2:0,l=e.getPointPosition(s,i+u+5),d=An(r.fontColor,s,N.global.defaultFontColor);t.fillStyle=d;var c=e.getIndexAngle(s),f=W.toDegrees(c);t.textAlign=In(f),Wn(f,e._pointLabelSizes[s],l),zn(t,e.pointLabels[s],l,o.lineHeight)}t.restore()}(r),o.display&&W.each(r.ticks,(function(e,n){0!==n&&(t=r.getDistanceFromCenterForValue(r.ticksAsNumbers[n]),function(e,t,n,r){var a,i=e.ctx,o=t.circular,s=e.chart.data.labels.length,u=An(t.color,r-1),l=An(t.lineWidth,r-1);if((o||s)&&u&&l){if(i.save(),i.strokeStyle=u,i.lineWidth=l,i.setLineDash&&(i.setLineDash(t.borderDash||[]),i.lineDashOffset=t.borderDashOffset||0),i.beginPath(),o)i.arc(e.xCenter,e.yCenter,n,0,2*Math.PI);else{a=e.getPointPosition(0,n),i.moveTo(a.x,a.y);for(var d=1;d=0;e--)t=r.getDistanceFromCenterForValue(i.ticks.reverse?r.min:r.max),n=r.getPointPosition(e,t),a.beginPath(),a.moveTo(r.xCenter,r.yCenter),a.lineTo(n.x,n.y),a.stroke();a.restore()}},_drawLabels:function(){var e=this,t=e.ctx,n=e.options.ticks;if(n.display){var r,a,i=e.getIndexAngle(0),o=W.options._parseFont(n),s=Cn(n.fontColor,N.global.defaultFontColor);t.save(),t.font=o.string,t.translate(e.xCenter,e.yCenter),t.rotate(i),t.textAlign="center",t.textBaseline="middle",W.each(e.ticks,(function(i,u){(0!==u||n.reverse)&&(r=e.getDistanceFromCenterForValue(e.ticksAsNumbers[u]),n.showLabelBackdrop&&(a=t.measureText(i).width,t.fillStyle=n.backdropColor,t.fillRect(-a/2-n.backdropPaddingX,-r-o.size/2-n.backdropPaddingY,a+2*n.backdropPaddingX,o.size+2*n.backdropPaddingY)),t.fillStyle=s,t.fillText(i,0,-r))})),t.restore()}},_drawTitle:W.noop}),Un=Nn;Vn._defaults=Un;var qn=W._deprecated,Jn=W.options.resolve,Gn=W.valueOrDefault,$n=Number.MIN_SAFE_INTEGER||-9007199254740991,Kn=Number.MAX_SAFE_INTEGER||9007199254740991,Xn={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Qn=Object.keys(Xn);function Zn(e,t){return e-t}function er(e){return W.valueOrDefault(e.time.min,e.ticks.min)}function tr(e){return W.valueOrDefault(e.time.max,e.ticks.max)}function nr(e,t,n,r){var a=function(e,t,n){for(var r,a,i,o=0,s=e.length-1;o>=0&&o<=s;){if(a=e[(r=o+s>>1)-1]||null,i=e[r],!a)return{lo:null,hi:i};if(i[t]n))return{lo:a,hi:i};s=r-1}}return{lo:i,hi:null}}(e,t,n),i=a.lo?a.hi?a.lo:e[e.length-2]:e[0],o=a.lo?a.hi?a.hi:e[e.length-1]:e[1],s=o[t]-i[t],u=s?(n-i[t])/s:0,l=(o[r]-i[r])*u;return i[r]+l}function rr(e,t){var n=e._adapter,r=e.options.time,a=r.parser,i=a||r.format,o=t;return"function"==typeof a&&(o=a(o)),W.isFinite(o)||(o="string"==typeof i?n.parse(o,i):n.parse(o)),null!==o?+o:(a||"function"!=typeof i||(o=i(t),W.isFinite(o)||(o=n.parse(o))),o)}function ar(e,t){if(W.isNullOrUndef(t))return null;var n=e.options.time,r=rr(e,e.getRightValue(t));return null===r||n.round&&(r=+e._adapter.startOf(r,n.round)),r}function ir(e,t,n,r){var a,i,o,s=Qn.length;for(a=Qn.indexOf(e);a=0&&(t[i].major=!0);return t}(e,i,o,n):i}var sr=_n.extend({initialize:function(){this.mergeTicksOptions(),_n.prototype.initialize.call(this)},update:function(){var e=this,t=e.options,n=t.time||(t.time={}),r=e._adapter=new en._date(t.adapters.date);return qn("time scale",n.format,"time.format","time.parser"),qn("time scale",n.min,"time.min","ticks.min"),qn("time scale",n.max,"time.max","ticks.max"),W.mergeIf(n.displayFormats,r.formats()),_n.prototype.update.apply(e,arguments)},getRightValue:function(e){return e&&void 0!==e.t&&(e=e.t),_n.prototype.getRightValue.call(this,e)},determineDataLimits:function(){var e,t,n,r,a,i,o,s=this,u=s.chart,l=s._adapter,d=s.options,c=d.time.unit||"day",f=Kn,h=$n,m=[],p=[],_=[],y=s._getLabels();for(e=0,n=y.length;e1?function(e){var t,n,r,a={},i=[];for(t=0,n=e.length;t1e5*l)throw t+" and "+n+" are too far apart with stepSize of "+l+" "+u;for(a=c;a=a&&n<=i&&d.push(n);return r.min=a,r.max=i,r._unit=u.unit||(s.autoSkip?ir(u.minUnit,r.min,r.max,c):function(e,t,n,r,a){var i,o;for(i=Qn.length-1;i>=Qn.indexOf(n);i--)if(o=Qn[i],Xn[o].common&&e._adapter.diff(a,r,o)>=t-1)return o;return Qn[n?Qn.indexOf(n):0]}(r,d.length,u.minUnit,r.min,r.max)),r._majorUnit=s.major.enabled&&"year"!==r._unit?function(e){for(var t=Qn.indexOf(e)+1,n=Qn.length;tt&&s=0&&e0?s:1}}),ur={position:"bottom",distribution:"linear",bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}};sr._defaults=ur;var lr={category:vn,linear:Yn,logarithmic:jn,radialLinear:Vn,time:sr},dr={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};en._date.override("function"==typeof e?{_id:"moment",formats:function(){return dr},parse:function(t,n){return"string"==typeof t&&"string"==typeof n?t=e(t,n):t instanceof e||(t=e(t)),t.isValid()?t.valueOf():null},format:function(t,n){return e(t).format(n)},add:function(t,n,r){return e(t).add(n,r).valueOf()},diff:function(t,n,r){return e(t).diff(e(n),r)},startOf:function(t,n,r){return t=e(t),"isoWeek"===n?t.isoWeekday(r).valueOf():t.startOf(n).valueOf()},endOf:function(t,n){return e(t).endOf(n).valueOf()},_create:function(t){return e(t)}}:{}),N._set("global",{plugins:{filler:{propagate:!0}}});var cr={dataset:function(e){var t=e.fill,n=e.chart,r=n.getDatasetMeta(t),a=r&&n.isDatasetVisible(t)&&r.dataset._children||[],i=a.length||0;return i?function(e,t){return t=n)&&r;switch(i){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return i;default:return!1}}function hr(e){return(e.el._scale||{}).getPointPositionForValue?function(e){var t,n,r,a,i,o=e.el._scale,s=o.options,u=o.chart.data.labels.length,l=e.fill,d=[];if(!u)return null;for(t=s.ticks.reverse?o.max:o.min,n=s.ticks.reverse?o.min:o.max,r=o.getPointPositionForValue(0,t),a=0;a0;--i)W.canvas.lineTo(e,n[i],n[i-1],!0);else for(o=n[0].cx,s=n[0].cy,u=Math.sqrt(Math.pow(n[0].x-o,2)+Math.pow(n[0].y-s,2)),i=a-1;i>0;--i)e.arc(o,s,u,n[i].angle,n[i-1].angle,!0)}}function vr(e,t,n,r,a,i){var o,s,u,l,d,c,f,h,m=t.length,p=r.spanGaps,_=[],y=[],v=0,g=0;for(e.beginPath(),o=0,s=m;o=0;--n)(t=u[n].$filler)&&t.visible&&(a=(r=t.el)._view,i=r._children||[],o=t.mapper,s=a.backgroundColor||N.global.defaultColor,o&&s&&i.length&&(W.canvas.clipArea(l,e.chartArea),vr(l,i,o,a,s,r._loop),W.canvas.unclipArea(l)))}},br=W.rtl.getRtlAdapter,Mr=W.noop,wr=W.valueOrDefault;function Lr(e,t){return e.usePointStyle&&e.boxWidth>t?t:e.boxWidth}N._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(e,t){var n=t.datasetIndex,r=this.chart,a=r.getDatasetMeta(n);a.hidden=null===a.hidden?!r.data.datasets[n].hidden:null,r.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(e){var t=e.data.datasets,n=e.options.legend||{},r=n.labels&&n.labels.usePointStyle;return e._getSortedDatasetMetas().map((function(n){var a=n.controller.getStyle(r?0:void 0);return{text:t[n.index].label,fillStyle:a.backgroundColor,hidden:!e.isDatasetVisible(n.index),lineCap:a.borderCapStyle,lineDash:a.borderDash,lineDashOffset:a.borderDashOffset,lineJoin:a.borderJoinStyle,lineWidth:a.borderWidth,strokeStyle:a.borderColor,pointStyle:a.pointStyle,rotation:a.rotation,datasetIndex:n.index}}),this)}}},legendCallback:function(e){var t,n,r,a=document.createElement("ul"),i=e.data.datasets;for(a.setAttribute("class",e.id+"-legend"),t=0,n=i.length;tu.width)&&(c+=o+n.padding,d[d.length-(t>0?0:1)]=0),s[t]={left:0,top:0,width:r,height:o},d[d.length-1]+=r+n.padding})),u.height+=c}else{var f=n.padding,h=e.columnWidths=[],m=e.columnHeights=[],p=n.padding,_=0,y=0;W.each(e.legendItems,(function(e,t){var r=Lr(n,o)+o/2+a.measureText(e.text).width;t>0&&y+o+2*f>u.height&&(p+=_+n.padding,h.push(_),m.push(y),_=0,y=0),_=Math.max(_,r),y+=o+f,s[t]={left:0,top:0,width:r,height:o}})),p+=_,h.push(_),m.push(y),u.width+=p}e.width=u.width,e.height=u.height}else e.width=u.width=e.height=u.height=0},afterFit:Mr,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var e=this,t=e.options,n=t.labels,r=N.global,a=r.defaultColor,i=r.elements.line,o=e.height,s=e.columnHeights,u=e.width,l=e.lineWidths;if(t.display){var d,c=br(t.rtl,e.left,e.minSize.width),f=e.ctx,h=wr(n.fontColor,r.defaultFontColor),m=W.options._parseFont(n),p=m.size;f.textAlign=c.textAlign("left"),f.textBaseline="middle",f.lineWidth=.5,f.strokeStyle=h,f.fillStyle=h,f.font=m.string;var _=Lr(n,p),y=e.legendHitBoxes,v=function(e,r){switch(t.align){case"start":return n.padding;case"end":return e-r;default:return(e-r+n.padding)/2}},g=e.isHorizontal();d=g?{x:e.left+v(u,l[0]),y:e.top+n.padding,line:0}:{x:e.left+n.padding,y:e.top+v(o,s[0]),line:0},W.rtl.overrideTextDirection(e.ctx,t.textDirection);var b=p+n.padding;W.each(e.legendItems,(function(t,r){var h=f.measureText(t.text).width,m=_+p/2+h,M=d.x,w=d.y;c.setWidth(e.minSize.width),g?r>0&&M+m+n.padding>e.left+e.minSize.width&&(w=d.y+=b,d.line++,M=d.x=e.left+v(u,l[d.line])):r>0&&w+b>e.top+e.minSize.height&&(M=d.x=M+e.columnWidths[d.line]+n.padding,d.line++,w=d.y=e.top+v(o,s[d.line]));var L=c.x(M);!function(e,t,r){if(!(isNaN(_)||_<=0)){f.save();var o=wr(r.lineWidth,i.borderWidth);if(f.fillStyle=wr(r.fillStyle,a),f.lineCap=wr(r.lineCap,i.borderCapStyle),f.lineDashOffset=wr(r.lineDashOffset,i.borderDashOffset),f.lineJoin=wr(r.lineJoin,i.borderJoinStyle),f.lineWidth=o,f.strokeStyle=wr(r.strokeStyle,a),f.setLineDash&&f.setLineDash(wr(r.lineDash,i.borderDash)),n&&n.usePointStyle){var s=_*Math.SQRT2/2,u=c.xPlus(e,_/2),l=t+p/2;W.canvas.drawPoint(f,r.pointStyle,s,u,l,r.rotation)}else f.fillRect(c.leftForLtr(e,_),t,_,p),0!==o&&f.strokeRect(c.leftForLtr(e,_),t,_,p);f.restore()}}(L,w,t),y[r].left=c.leftForLtr(L,y[r].width),y[r].top=w,function(e,t,n,r){var a=p/2,i=c.xPlus(e,_+a),o=t+a;f.fillText(n.text,i,o),n.hidden&&(f.beginPath(),f.lineWidth=2,f.moveTo(i,o),f.lineTo(c.xPlus(i,r),o),f.stroke())}(L,w,t,h),g?d.x+=m+n.padding:d.y+=b})),W.rtl.restoreTextDirection(e.ctx,t.textDirection)}},_getLegendItemAt:function(e,t){var n,r,a,i=this;if(e>=i.left&&e<=i.right&&t>=i.top&&t<=i.bottom)for(a=i.legendHitBoxes,n=0;n=(r=a[n]).left&&e<=r.left+r.width&&t>=r.top&&t<=r.top+r.height)return i.legendItems[n];return null},handleEvent:function(e){var t,n=this,r=n.options,a="mouseup"===e.type?"click":e.type;if("mousemove"===a){if(!r.onHover&&!r.onLeave)return}else{if("click"!==a)return;if(!r.onClick)return}t=n._getLegendItemAt(e.x,e.y),"click"===a?t&&r.onClick&&r.onClick.call(n,e.native,t):(r.onLeave&&t!==n._hoveredItem&&(n._hoveredItem&&r.onLeave.call(n,e.native,n._hoveredItem),n._hoveredItem=t),r.onHover&&t&&r.onHover.call(n,e.native,t))}});function kr(e,t){var n=new xr({ctx:e.ctx,options:t,chart:e});pt.configure(e,n,t),pt.addBox(e,n),e.legend=n}var Yr={id:"legend",_element:xr,beforeInit:function(e){var t=e.options.legend;t&&kr(e,t)},beforeUpdate:function(e){var t=e.options.legend,n=e.legend;t?(W.mergeIf(t,N.global.legend),n?(pt.configure(e,n,t),n.options=t):kr(e,t)):n&&(pt.removeBox(e,n),delete e.legend)},afterEvent:function(e,t){var n=e.legend;n&&n.handleEvent(t)}},Tr=W.noop;N._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var Dr=$.extend({initialize:function(e){W.extend(this,e),this.legendHitBoxes=[]},beforeUpdate:Tr,update:function(e,t,n){var r=this;return r.beforeUpdate(),r.maxWidth=e,r.maxHeight=t,r.margins=n,r.beforeSetDimensions(),r.setDimensions(),r.afterSetDimensions(),r.beforeBuildLabels(),r.buildLabels(),r.afterBuildLabels(),r.beforeFit(),r.fit(),r.afterFit(),r.afterUpdate(),r.minSize},afterUpdate:Tr,beforeSetDimensions:Tr,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:Tr,beforeBuildLabels:Tr,buildLabels:Tr,afterBuildLabels:Tr,beforeFit:Tr,fit:function(){var e,t=this,n=t.options,r=t.minSize={},a=t.isHorizontal();n.display?(e=(W.isArray(n.text)?n.text.length:1)*W.options._parseFont(n).lineHeight+2*n.padding,t.width=r.width=a?t.maxWidth:e,t.height=r.height=a?e:t.maxHeight):t.width=r.width=t.height=r.height=0},afterFit:Tr,isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},draw:function(){var e=this,t=e.ctx,n=e.options;if(n.display){var r,a,i,o=W.options._parseFont(n),s=o.lineHeight,u=s/2+n.padding,l=0,d=e.top,c=e.left,f=e.bottom,h=e.right;t.fillStyle=W.valueOrDefault(n.fontColor,N.global.defaultFontColor),t.font=o.string,e.isHorizontal()?(a=c+(h-c)/2,i=d+u,r=h-c):(a="left"===n.position?c+u:h-u,i=d+(f-d)/2,r=f-d,l=Math.PI*("left"===n.position?-.5:.5)),t.save(),t.translate(a,i),t.rotate(l),t.textAlign="center",t.textBaseline="middle";var m=n.text;if(W.isArray(m))for(var p=0,_=0;_=0;r--){var a=e[r];if(t(a))return a}},W.isNumber=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},W.almostEquals=function(e,t,n){return Math.abs(e-t)=e},W.max=function(e){return e.reduce((function(e,t){return isNaN(t)?e:Math.max(e,t)}),Number.NEGATIVE_INFINITY)},W.min=function(e){return e.reduce((function(e,t){return isNaN(t)?e:Math.min(e,t)}),Number.POSITIVE_INFINITY)},W.sign=Math.sign?function(e){return Math.sign(e)}:function(e){return 0==(e=+e)||isNaN(e)?e:e>0?1:-1},W.toRadians=function(e){return e*(Math.PI/180)},W.toDegrees=function(e){return e*(180/Math.PI)},W._decimalPlaces=function(e){if(W.isFinite(e)){for(var t=1,n=0;Math.round(e*t)/t!==e;)t*=10,n++;return n}},W.getAngleFromPoint=function(e,t){var n=t.x-e.x,r=t.y-e.y,a=Math.sqrt(n*n+r*r),i=Math.atan2(r,n);return i<-.5*Math.PI&&(i+=2*Math.PI),{angle:i,distance:a}},W.distanceBetweenPoints=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},W.aliasPixel=function(e){return e%2==0?0:.5},W._alignPixel=function(e,t,n){var r=e.currentDevicePixelRatio,a=n/2;return Math.round((t-a)*r)/r+a},W.splineCurve=function(e,t,n,r){var a=e.skip?t:e,i=t,o=n.skip?t:n,s=Math.sqrt(Math.pow(i.x-a.x,2)+Math.pow(i.y-a.y,2)),u=Math.sqrt(Math.pow(o.x-i.x,2)+Math.pow(o.y-i.y,2)),l=s/(s+u),d=u/(s+u),c=r*(l=isNaN(l)?0:l),f=r*(d=isNaN(d)?0:d);return{previous:{x:i.x-c*(o.x-a.x),y:i.y-c*(o.y-a.y)},next:{x:i.x+f*(o.x-a.x),y:i.y+f*(o.y-a.y)}}},W.EPSILON=Number.EPSILON||1e-14,W.splineCurveMonotone=function(e){var t,n,r,a,i,o,s,u,l,d=(e||[]).map((function(e){return{model:e._model,deltaK:0,mK:0}})),c=d.length;for(t=0;t0?d[t-1]:null,(a=t0?d[t-1]:null,a=t=e.length-1?e[0]:e[t+1]:t>=e.length-1?e[e.length-1]:e[t+1]},W.previousItem=function(e,t,n){return n?t<=0?e[e.length-1]:e[t-1]:t<=0?e[0]:e[t-1]},W.niceNum=function(e,t){var n=Math.floor(W.log10(e)),r=e/Math.pow(10,n);return(t?r<1.5?1:r<3?2:r<7?5:10:r<=1?1:r<=2?2:r<=5?5:10)*Math.pow(10,n)},W.requestAnimFrame="undefined"==typeof window?function(e){e()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)},W.getRelativePosition=function(e,t){var n,r,a=e.originalEvent||e,i=e.target||e.srcElement,o=i.getBoundingClientRect(),s=a.touches;s&&s.length>0?(n=s[0].clientX,r=s[0].clientY):(n=a.clientX,r=a.clientY);var u=parseFloat(W.getStyle(i,"padding-left")),l=parseFloat(W.getStyle(i,"padding-top")),d=parseFloat(W.getStyle(i,"padding-right")),c=parseFloat(W.getStyle(i,"padding-bottom")),f=o.right-o.left-u-d,h=o.bottom-o.top-l-c;return{x:n=Math.round((n-o.left-u)/f*i.width/t.currentDevicePixelRatio),y:r=Math.round((r-o.top-l)/h*i.height/t.currentDevicePixelRatio)}},W.getConstraintWidth=function(e){return n(e,"max-width","clientWidth")},W.getConstraintHeight=function(e){return n(e,"max-height","clientHeight")},W._calculatePadding=function(e,t,n){return(t=W.getStyle(e,t)).indexOf("%")>-1?n*parseInt(t,10)/100:parseInt(t,10)},W._getParentNode=function(e){var t=e.parentNode;return t&&"[object ShadowRoot]"===t.toString()&&(t=t.host),t},W.getMaximumWidth=function(e){var t=W._getParentNode(e);if(!t)return e.clientWidth;var n=t.clientWidth,r=n-W._calculatePadding(t,"padding-left",n)-W._calculatePadding(t,"padding-right",n),a=W.getConstraintWidth(e);return isNaN(a)?r:Math.min(r,a)},W.getMaximumHeight=function(e){var t=W._getParentNode(e);if(!t)return e.clientHeight;var n=t.clientHeight,r=n-W._calculatePadding(t,"padding-top",n)-W._calculatePadding(t,"padding-bottom",n),a=W.getConstraintHeight(e);return isNaN(a)?r:Math.min(r,a)},W.getStyle=function(e,t){return e.currentStyle?e.currentStyle[t]:document.defaultView.getComputedStyle(e,null).getPropertyValue(t)},W.retinaScale=function(e,t){var n=e.currentDevicePixelRatio=t||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==n){var r=e.canvas,a=e.height,i=e.width;r.height=a*n,r.width=i*n,e.ctx.scale(n,n),r.style.height||r.style.width||(r.style.height=a+"px",r.style.width=i+"px")}},W.fontString=function(e,t,n){return t+" "+e+"px "+n},W.longestText=function(e,t,n,r){var a=(r=r||{}).data=r.data||{},i=r.garbageCollect=r.garbageCollect||[];r.font!==t&&(a=r.data={},i=r.garbageCollect=[],r.font=t),e.font=t;var o,s,u,l,d,c=0,f=n.length;for(o=0;on.length){for(o=0;or&&(r=i),r},W.numberOfLabelLines=function(e){var t=1;return W.each(e,(function(e){W.isArray(e)&&e.length>t&&(t=e.length)})),t},W.color=M?function(e){return e instanceof CanvasGradient&&(e=N.global.defaultColor),M(e)}:function(e){return console.error("Color.js not found!"),e},W.getHoverColor=function(e){return e instanceof CanvasPattern||e instanceof CanvasGradient?e:W.color(e).saturate(.5).darken(.1).rgbString()}}(),Xt._adapters=en,Xt.Animation=X,Xt.animationService=Q,Xt.controllers=Qe,Xt.DatasetController=re,Xt.defaults=N,Xt.Element=$,Xt.elements=we,Xt.Interaction=it,Xt.layouts=pt,Xt.platform=St,Xt.plugins=Ot,Xt.Scale=_n,Xt.scaleService=Et,Xt.Ticks=tn,Xt.Tooltip=Wt,Xt.helpers.each(lr,(function(e,t){Xt.scaleService.registerScaleType(t,e,e._defaults)})),Or)Or.hasOwnProperty(Cr)&&Xt.plugins.register(Or[Cr]);Xt.platform.initialize();var Ar=Xt;return"undefined"!=typeof window&&(window.Chart=Xt),Xt.Chart=Xt,Xt.Legend=Or.legend._element,Xt.Title=Or.title._element,Xt.pluginService=Xt.plugins,Xt.PluginBase=Xt.Element.extend({}),Xt.canvasHelpers=Xt.helpers.canvas,Xt.layoutService=Xt.layouts,Xt.LinearScaleBase=wn,Xt.helpers.each(["Bar","Bubble","Doughnut","Line","PolarArea","Radar","Scatter"],(function(e){Xt[e]=function(t,n){return new Xt(t,Xt.helpers.merge(n||{},{type:e.charAt(0).toLowerCase()+e.slice(1)}))}})),Ar}(function(){try{return n(5)}catch(e){}}())},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},a={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},i=function(e){return function(t,n,i,o){var s=r(t),u=a[e][r(t)];return 2===s&&(u=u[n?0:1]),u.replace(/%d/i,t)}},o=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar",{months:o,monthsShort:o,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -var t=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},n={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},r=function(e){return function(r,a,i,o){var s=t(r),u=n[e][t(r)];return 2===s&&(u=u[a?0:1]),u.replace(/%d/i,r)}},a=["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-dz",{months:a,monthsShort:a,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:0,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},r={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},a=function(e){return function(t,a,i,o){var s=n(t),u=r[e][n(t)];return 2===s&&(u=u[a?0:1]),u.replace(/%d/i,t)}},i=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-ly",{months:i,monthsShort:i,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:a("s"),ss:a("s"),m:a("m"),mm:a("m"),h:a("h"),hh:a("h"),d:a("d"),dd:a("d"),M:a("M"),MM:a("M"),y:a("y"),yy:a("y")},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};e.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:0,doy:6}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"bir neçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,t,n){return e<4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var n=e%10;return e+(t[n]||t[e%100-n]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -function t(e,t,n){var r,a;return"m"===n?t?"хвіліна":"хвіліну":"h"===n?t?"гадзіна":"гадзіну":e+" "+(r=+e,a={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:t?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"}[n].split("_"),r%10==1&&r%100!=11?a[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?a[1]:a[2])}e.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:t,mm:t,h:t,hh:t,d:"дзень",dd:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночы":e<12?"раніцы":e<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-ы":e+"-і";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Миналата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[Миналия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",w:"седмица",ww:"%d седмици",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};e.defineLocale("bn",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t&&e>=4||"দুপুর"===t&&e<5||"বিকাল"===t?e+12:e},meridiem:function(e,t,n){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};e.defineLocale("bn-bd",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t?e<4?e:e+12:"ভোর"===t||"সকাল"===t?e:"দুপুর"===t?e>=3?e:e+12:"বিকাল"===t||"সন্ধ্যা"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"রাত":e<6?"ভোর":e<12?"সকাল":e<15?"দুপুর":e<18?"বিকাল":e<20?"সন্ধ্যা":"রাত"},week:{dow:0,doy:6}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12".split("_"),monthsShortRegex:/^(ཟླ་\d{1,2})/,monthsParseExact:!0,weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,n){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -function t(e,t,n){return e+" "+function(e,t){return 2===t?function(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],e)}var n=[/^gen/i,/^c[ʼ\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],r=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,a=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];e.defineLocale("br",{months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:a,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[ʼ\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:a,monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warcʼhoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Decʼh da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(function e(t){return t>9?e(t%10):t}(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){return e+(1===e?"añ":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return"g.m."===e},meridiem:function(e,t,n){return e<12?"a.m.":"g.m."}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -function t(e,t,n){var r=e+" ";switch(n){case"ss":return r+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return r+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return r+=1===e?"dan":"dana";case"MM":return r+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return r+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -var t={format:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),standalone:"ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince".split("_")},n="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),r=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],a=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function i(e){return e>1&&e<5&&1!=~~(e/10)}function o(e,t,n,r){var a=e+" ";switch(n){case"s":return t||r?"pár sekund":"pár sekundami";case"ss":return t||r?a+(i(e)?"sekundy":"sekund"):a+"sekundami";case"m":return t?"minuta":r?"minutu":"minutou";case"mm":return t||r?a+(i(e)?"minuty":"minut"):a+"minutami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?a+(i(e)?"hodiny":"hodin"):a+"hodinami";case"d":return t||r?"den":"dnem";case"dd":return t||r?a+(i(e)?"dny":"dní"):a+"dny";case"M":return t||r?"měsíc":"měsícem";case"MM":return t||r?a+(i(e)?"měsíce":"měsíců"):a+"měsíci";case"y":return t||r?"rok":"rokem";case"yy":return t||r?a+(i(e)?"roky":"let"):a+"lety"}}e.defineLocale("cs",{months:t,monthsShort:n,monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(e){return e+(/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран")},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t="";return e>20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -function t(e,t,n,r){var a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?a[n][0]:a[n][1]}e.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -function t(e,t,n,r){var a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?a[n][0]:a[n][1]}e.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -function t(e,t,n,r){var a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?a[n][0]:a[n][1]}e.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -var t=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],n=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];e.defineLocale("dv",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(e){return"މފ"===e},meridiem:function(e,t,n){return e<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",ss:"d% ސިކުންތު",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:7,doy:12}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,n){return e>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,t){var n,r=this._calendarEl[e],a=t&&t.hours();return n=r,("undefined"!=typeof Function&&n instanceof Function||"[object Function]"===Object.prototype.toString.call(n))&&(r=r.apply(t)),r.replace("{}",a%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:6}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,n){return e>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4},invalidDate:"Fecha inválida"})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:4},invalidDate:"Fecha inválida"})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -function t(e,t,n,r){var a={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?a[n][2]?a[n][2]:a[n][1]:r?a[n][0]:a[n][1]}e.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -var t={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},n={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};e.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,n){return e<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"%d ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -var t="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),n=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",t[7],t[8],t[9]];function r(e,r,a,i){var o="";switch(a){case"s":return i?"muutaman sekunnin":"muutama sekunti";case"ss":o=i?"sekunnin":"sekuntia";break;case"m":return i?"minuutin":"minuutti";case"mm":o=i?"minuutin":"minuuttia";break;case"h":return i?"tunnin":"tunti";case"hh":o=i?"tunnin":"tuntia";break;case"d":return i?"päivän":"päivä";case"dd":o=i?"päivän":"päivää";break;case"M":return i?"kuukauden":"kuukausi";case"MM":o=i?"kuukauden":"kuukautta";break;case"y":return i?"vuoden":"vuosi";case"yy":o=i?"vuoden":"vuotta"}return o=function(e,r){return e<10?r?n[e]:t[e]:e}(e,i)+" "+o}e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -var t=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,n=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i];e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:t,monthsShortRegex:t,monthsStrictRegex:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,monthsShortStrictRegex:/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("ga",{months:["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","Márt","Aib","Beal","Meith","Iúil","Lún","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],weekdaysShort:["Domh","Luan","Máirt","Céad","Déar","Aoine","Sath"],weekdaysMin:["Do","Lu","Má","Cé","Dé","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Amárach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inné ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d míonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],monthsShort:["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],monthsParseExact:!0,weekdays:["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -function t(e,t,n,r){var a={s:["थोडया सॅकंडांनी","थोडे सॅकंड"],ss:[e+" सॅकंडांनी",e+" सॅकंड"],m:["एका मिणटान","एक मिनूट"],mm:[e+" मिणटांनी",e+" मिणटां"],h:["एका वरान","एक वर"],hh:[e+" वरांनी",e+" वरां"],d:["एका दिसान","एक दीस"],dd:[e+" दिसांनी",e+" दीस"],M:["एका म्हयन्यान","एक म्हयनो"],MM:[e+" म्हयन्यानी",e+" म्हयने"],y:["एका वर्सान","एक वर्स"],yy:[e+" वर्सांनी",e+" वर्सां"]};return r?a[n][0]:a[n][1]}e.defineLocale("gom-deva",{months:{standalone:"जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),format:"जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार".split("_"),weekdaysShort:"आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.".split("_"),weekdaysMin:"आ_सो_मं_बु_ब्रे_सु_शे".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [वाजतां]",LTS:"A h:mm:ss [वाजतां]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [वाजतां]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [वाजतां]",llll:"ddd, D MMM YYYY, A h:mm [वाजतां]"},calendar:{sameDay:"[आयज] LT",nextDay:"[फाल्यां] LT",nextWeek:"[फुडलो] dddd[,] LT",lastDay:"[काल] LT",lastWeek:"[फाटलो] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s आदीं",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(वेर)/,ordinal:function(e,t){switch(t){case"D":return e+"वेर";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/राती|सकाळीं|दनपारां|सांजे/,meridiemHour:function(e,t){return 12===e&&(e=0),"राती"===t?e<4?e:e+12:"सकाळीं"===t?e:"दनपारां"===t?e>12?e:e+12:"सांजे"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"राती":e<12?"सकाळीं":e<16?"दनपारां":e<20?"सांजे":"राती"}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -function t(e,t,n,r){var a={s:["thoddea sekondamni","thodde sekond"],ss:[e+" sekondamni",e+" sekond"],m:["eka mintan","ek minut"],mm:[e+" mintamni",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voramni",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disamni",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineamni",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsamni",e+" vorsam"]};return r?a[n][0]:a[n][1]}e.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokallim"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -var t={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},n={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"};e.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પહેલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(e){return e.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(e,t){return 12===e&&(e=0),"રાત"===t?e<4?e:e+12:"સવાર"===t?e:"બપોર"===t?e>=10?e:e+12:"સાંજ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"રાત":e<10?"સવાર":e<17?"બપોર":e<20?"સાંજ":"રાત"},week:{dow:0,doy:6}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10==0&&10!==e?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,n){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?n?'לפנה"צ':"לפני הצהריים":e<18?n?'אחה"צ':"אחרי הצהריים":"בערב"}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},r=[/^जन/i,/^फ़र|फर/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सितं|सित/i,/^अक्टू/i,/^नव|नवं/i,/^दिसं|दिस/i];e.defineLocale("hi",{months:{format:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),standalone:"जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर".split("_")},monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},monthsParse:r,longMonthsParse:r,shortMonthsParse:[/^जन/i,/^फ़र/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सित/i,/^अक्टू/i,/^नव/i,/^दिस/i],monthsRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsShortRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsStrictRegex:/^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,monthsShortStrictRegex:/^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i,calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात"===t?e<4?e:e+12:"सुबह"===t?e:"दोपहर"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -function t(e,t,n){var r=e+" ";switch(n){case"ss":return r+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return r+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return r+=1===e?"dan":"dana";case"MM":return r+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return r+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}e.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:return"[prošlu] [nedjelju] [u] LT";case 3:return"[prošlu] [srijedu] [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -var t="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function n(e,t,n,r){var a=e;switch(n){case"s":return r||t?"néhány másodperc":"néhány másodperce";case"ss":return a+(r||t)?" másodperc":" másodperce";case"m":return"egy"+(r||t?" perc":" perce");case"mm":return a+(r||t?" perc":" perce");case"h":return"egy"+(r||t?" óra":" órája");case"hh":return a+(r||t?" óra":" órája");case"d":return"egy"+(r||t?" nap":" napja");case"dd":return a+(r||t?" nap":" napja");case"M":return"egy"+(r||t?" hónap":" hónapja");case"MM":return a+(r||t?" hónap":" hónapja");case"y":return"egy"+(r||t?" év":" éve");case"yy":return a+(r||t?" év":" éve")}return""}function r(e){return(e?"":"[múlt] ")+"["+t[this.day()]+"] LT[-kor]"}e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,n){return e<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return r.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return r.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -function t(e){return e%100==11||e%10!=1}function n(e,n,r,a){var i=e+" ";switch(r){case"s":return n||a?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return t(e)?i+(n||a?"sekúndur":"sekúndum"):i+"sekúnda";case"m":return n?"mínúta":"mínútu";case"mm":return t(e)?i+(n||a?"mínútur":"mínútum"):n?i+"mínúta":i+"mínútu";case"hh":return t(e)?i+(n||a?"klukkustundir":"klukkustundum"):i+"klukkustund";case"d":return n?"dagur":a?"dag":"degi";case"dd":return t(e)?n?i+"dagar":i+(a?"daga":"dögum"):n?i+"dagur":i+(a?"dag":"degi");case"M":return n?"mánuður":a?"mánuð":"mánuði";case"MM":return t(e)?n?i+"mánuðir":i+(a?"mánuði":"mánuðum"):n?i+"mánuður":i+(a?"mánuð":"mánuði");case"y":return n||a?"ár":"ári";case"yy":return t(e)?i+(n||a?"ár":"árum"):i+(n||a?"ár":"ári")}}e.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){switch(this.day()){case 0:return"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT";default:return"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"}},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"令和",narrow:"㋿",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"平成",narrow:"㍻",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"昭和",narrow:"㍼",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"大正",narrow:"㍽",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"明治",narrow:"㍾",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"西暦",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"紀元前",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(元|\d+)年/,eraYearOrdinalParse:function(e,t){return"元"===t[1]?1:parseInt(t[1]||e,10)},months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:function(e,t,n){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(e){return e.week()!==this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(e){return this.week()!==e.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(e,t){switch(t){case"y":return 1===e?"元年":e+"年";case"d":case"D":case"DDD":return e+"日";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("ka",{months:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return e.replace(/(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/,(function(e,t,n){return"ი"===n?t+"ში":t+n+"ში"}))},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.replace(/წელი$/,"წლის წინ"):e},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20==0||e%100==0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -var t={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};e.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -var t={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},n={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"};e.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(e){return"ល្ងាច"===e},meridiem:function(e,t,n){return e<12?"ព្រឹក":"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(e){return e.replace(/[១២៣៤៥៦៧៨៩០]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -var t={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},n={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"};e.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(e){return e.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ರಾತ್ರಿ"===t?e<4?e:e+12:"ಬೆಳಿಗ್ಗೆ"===t?e:"ಮಧ್ಯಾಹ್ನ"===t?e>=10?e:e+12:"ಸಂಜೆ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ರಾತ್ರಿ":e<10?"ಬೆಳಿಗ್ಗೆ":e<17?"ಮಧ್ಯಾಹ್ನ":e<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(e){return e+"ನೇ"},week:{dow:0,doy:6}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"일";case"M":return e+"월";case"w":case"W":return e+"주";default:return e}},meridiemParse:/오전|오후/,isPM:function(e){return"오후"===e},meridiem:function(e,t,n){return e<12?"오전":"오후"}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"];e.defineLocale("ku",{months:r,monthsShort:r,weekdays:"یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌".split("_"),weekdaysShort:"یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره‌|به‌یانی/,isPM:function(e){return/ئێواره‌/.test(e)},meridiem:function(e,t,n){return e<12?"به‌یانی":"ئێواره‌"},calendar:{sameDay:"[ئه‌مرۆ كاتژمێر] LT",nextDay:"[به‌یانی كاتژمێر] LT",nextWeek:"dddd [كاتژمێر] LT",lastDay:"[دوێنێ كاتژمێر] LT",lastWeek:"dddd [كاتژمێر] LT",sameElse:"L"},relativeTime:{future:"له‌ %s",past:"%s",s:"چه‌ند چركه‌یه‌ك",ss:"چركه‌ %d",m:"یه‌ك خوله‌ك",mm:"%d خوله‌ك",h:"یه‌ك كاتژمێر",hh:"%d كاتژمێر",d:"یه‌ك ڕۆژ",dd:"%d ڕۆژ",M:"یه‌ك مانگ",MM:"%d مانگ",y:"یه‌ك ساڵ",yy:"%d ساڵ"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -var t={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};e.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кечээ саат] LT",lastWeek:"[Өткөн аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -function t(e,t,n,r){var a={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?a[n][0]:a[n][1]}function n(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10;return n(0===t?e/10:t)}if(e<1e4){for(;e>=10;)e/=10;return n(e)}return n(e/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(e){return n(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return n(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return"ຕອນແລງ"===e},meridiem:function(e,t,n){return e<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -var t={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function n(e,t,n,r){return t?a(n)[0]:r?a(n)[1]:a(n)[2]}function r(e){return e%10==0||e>10&&e<20}function a(e){return t[e].split("_")}function i(e,t,i,o){var s=e+" ";return 1===e?s+n(0,t,i[0],o):t?s+(r(e)?a(i)[1]:a(i)[0]):o?s+a(i)[1]:s+(r(e)?a(i)[1]:a(i)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:function(e,t,n,r){return t?"kelios sekundės":r?"kelių sekundžių":"kelias sekundes"},ss:i,m:n,mm:i,h:n,hh:i,d:n,dd:i,M:n,MM:i,y:n,yy:i},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -var t={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(e,t,n){return n?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function r(e,r,a){return e+" "+n(t[a],e,r)}function a(e,r,a){return n(t[a],e,r)}e.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:function(e,t){return t?"dažas sekundes":"dažām sekundēm"},ss:r,m:a,mm:r,h:a,hh:r,d:a,dd:r,M:a,MM:r,y:a,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -var t={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,r){var a=t.words[r];return 1===r.length?n?a[0]:a[1]:e+" "+t.correctGrammaticalCase(e,a)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"за %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"една минута",mm:"%d минути",h:"еден час",hh:"%d часа",d:"еден ден",dd:"%d дена",M:"еден месец",MM:"%d месеци",y:"една година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(e,t){return 12===e&&(e=0),"രാത്രി"===t&&e>=4||"ഉച്ച കഴിഞ്ഞ്"===t||"വൈകുന്നേരം"===t?e+12:e},meridiem:function(e,t,n){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -function t(e,t,n,r){switch(n){case"s":return t?"хэдхэн секунд":"хэдхэн секундын";case"ss":return e+(t?" секунд":" секундын");case"m":case"mm":return e+(t?" минут":" минутын");case"h":case"hh":return e+(t?" цаг":" цагийн");case"d":case"dd":return e+(t?" өдөр":" өдрийн");case"M":case"MM":return e+(t?" сар":" сарын");case"y":case"yy":return e+(t?" жил":" жилийн");default:return e}}e.defineLocale("mn",{months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),monthsParseExact:!0,weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(e){return"ҮХ"===e},meridiem:function(e,t,n){return e<12?"ҮӨ":"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" өдөр";default:return e}}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function r(e,t,n,r){var a="";if(t)switch(n){case"s":a="काही सेकंद";break;case"ss":a="%d सेकंद";break;case"m":a="एक मिनिट";break;case"mm":a="%d मिनिटे";break;case"h":a="एक तास";break;case"hh":a="%d तास";break;case"d":a="एक दिवस";break;case"dd":a="%d दिवस";break;case"M":a="एक महिना";break;case"MM":a="%d महिने";break;case"y":a="एक वर्ष";break;case"yy":a="%d वर्षे"}else switch(n){case"s":a="काही सेकंदां";break;case"ss":a="%d सेकंदां";break;case"m":a="एका मिनिटा";break;case"mm":a="%d मिनिटां";break;case"h":a="एका तासा";break;case"hh":a="%d तासां";break;case"d":a="एका दिवसा";break;case"dd":a="%d दिवसां";break;case"M":a="एका महिन्या";break;case"MM":a="%d महिन्यां";break;case"y":a="एका वर्षा";break;case"yy":a="%d वर्षां"}return a.replace(/%d/i,e)}e.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,meridiemHour:function(e,t){return 12===e&&(e=0),"पहाटे"===t||"सकाळी"===t?e:"दुपारी"===t||"सायंकाळी"===t||"रात्री"===t?e>=12?e:e+12:void 0},meridiem:function(e,t,n){return e>=0&&e<6?"पहाटे":e<12?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -var t={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},n={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};e.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};e.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(e,t){return 12===e&&(e=0),"राति"===t?e<4?e:e+12:"बिहान"===t?e:"दिउँसो"===t?e>=10?e:e+12:"साँझ"===t?e+12:void 0},meridiem:function(e,t,n){return e<3?"राति":e<12?"बिहान":e<16?"दिउँसो":e<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],a=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",w:"één week",ww:"%d weken",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],a=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._må._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_må_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("oc-lnc",{months:{standalone:"genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),format:"de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[uèi a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[ièr a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -var t={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},n={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};e.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ਰਾਤ"===t?e<4?e:e+12:"ਸਵੇਰ"===t?e:"ਦੁਪਹਿਰ"===t?e>=10?e:e+12:"ਸ਼ਾਮ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -var t="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),r=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^paź/i,/^lis/i,/^gru/i];function a(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function i(e,t,n){var r=e+" ";switch(n){case"ss":return r+(a(e)?"sekundy":"sekund");case"m":return t?"minuta":"minutę";case"mm":return r+(a(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return r+(a(e)?"godziny":"godzin");case"ww":return r+(a(e)?"tygodnie":"tygodni");case"MM":return r+(a(e)?"miesiące":"miesięcy");case"yy":return r+(a(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,r){return e?/D MMMM/.test(r)?n[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:i,m:i,mm:i,h:i,hh:i,d:"1 dzień",dd:"%d dni",w:"tydzień",ww:i,M:"miesiąc",MM:i,y:"rok",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"do_2ª_3ª_4ª_5ª_6ª_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",invalidDate:"Data inválida"})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -function t(e,t,n){var r=" ";return(e%100>=20||e>=100&&e%100==0)&&(r=" de "),e+r+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"săptămâni",MM:"luni",yy:"ani"}[n]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:t,m:"un minut",mm:t,h:"o oră",hh:t,d:"o zi",dd:t,w:"o săptămână",ww:t,M:"o lună",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -function t(e,t,n){var r,a;return"m"===n?t?"минута":"минуту":e+" "+(r=+e,a={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",ww:"неделя_недели_недель",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[n].split("_"),r%10==1&&r%100!=11?a[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?a[1]:a[2])}var n=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];e.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:t,m:t,mm:t,h:"час",hh:t,d:"день",dd:t,w:"неделя",ww:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -var t=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],n=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];e.defineLocale("sd",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(e){return e+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return"ප.ව."===e||"පස් වරු"===e},meridiem:function(e,t,n){return e>11?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -var t="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),n="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function r(e){return e>1&&e<5}function a(e,t,n,a){var i=e+" ";switch(n){case"s":return t||a?"pár sekúnd":"pár sekundami";case"ss":return t||a?i+(r(e)?"sekundy":"sekúnd"):i+"sekundami";case"m":return t?"minúta":a?"minútu":"minútou";case"mm":return t||a?i+(r(e)?"minúty":"minút"):i+"minútami";case"h":return t?"hodina":a?"hodinu":"hodinou";case"hh":return t||a?i+(r(e)?"hodiny":"hodín"):i+"hodinami";case"d":return t||a?"deň":"dňom";case"dd":return t||a?i+(r(e)?"dni":"dní"):i+"dňami";case"M":return t||a?"mesiac":"mesiacom";case"MM":return t||a?i+(r(e)?"mesiace":"mesiacov"):i+"mesiacmi";case"y":return t||a?"rok":"rokom";case"yy":return t||a?i+(r(e)?"roky":"rokov"):i+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:n,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -function t(e,t,n,r){var a=e+" ";switch(n){case"s":return t||r?"nekaj sekund":"nekaj sekundami";case"ss":return a+=1===e?t?"sekundo":"sekundi":2===e?t||r?"sekundi":"sekundah":e<5?t||r?"sekunde":"sekundah":"sekund";case"m":return t?"ena minuta":"eno minuto";case"mm":return a+=1===e?t?"minuta":"minuto":2===e?t||r?"minuti":"minutama":e<5?t||r?"minute":"minutami":t||r?"minut":"minutami";case"h":return t?"ena ura":"eno uro";case"hh":return a+=1===e?t?"ura":"uro":2===e?t||r?"uri":"urama":e<5?t||r?"ure":"urami":t||r?"ur":"urami";case"d":return t||r?"en dan":"enim dnem";case"dd":return a+=1===e?t||r?"dan":"dnem":2===e?t||r?"dni":"dnevoma":t||r?"dni":"dnevi";case"M":return t||r?"en mesec":"enim mesecem";case"MM":return a+=1===e?t||r?"mesec":"mesecem":2===e?t||r?"meseca":"mesecema":e<5?t||r?"mesece":"meseci":t||r?"mesecev":"meseci";case"y":return t||r?"eno leto":"enim letom";case"yy":return a+=1===e?t||r?"leto":"letom":2===e?t||r?"leti":"letoma":e<5?t||r?"leta":"leti":t||r?"let":"leti"}}e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,n){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?t[0]:t[1]:t[2]},translate:function(e,n,r,a){var i,o=t.words[r];return 1===r.length?"y"===r&&n?"jedna godina":a||n?o[0]:o[1]:(i=t.correctGrammaticalCase(e,o),"yy"===r&&n&&"godinu"===i?e+" godina":e+" "+i)}};e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -var t={words:{ss:["секунда","секунде","секунди"],m:["један минут","једног минута"],mm:["минут","минута","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],d:["један дан","једног дана"],dd:["дан","дана","дана"],M:["један месец","једног месеца"],MM:["месец","месеца","месеци"],y:["једну годину","једне године"],yy:["годину","године","година"]},correctGrammaticalCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?t[0]:t[1]:t[2]},translate:function(e,n,r,a){var i,o=t.words[r];return 1===r.length?"y"===r&&n?"једна година":a||n?o[0]:o[1]:(i=t.correctGrammaticalCase(e,o),"yy"===r&&n&&"годину"===i?e+" година":e+" "+i)}};e.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,n){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?":e":1===t||2===t?":a":":e")},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};e.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,n){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?e<2?e:e+12:"வைகறை"===t||"காலை"===t||"நண்பகல்"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(e,t){return 12===e&&(e=0),"రాత్రి"===t?e<4?e:e+12:"ఉదయం"===t?e:"మధ్యాహ్నం"===t?e>=10?e:e+12:"సాయంత్రం"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -var t={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"};e.defineLocale("tg",{months:{format:"январи_феврали_марти_апрели_майи_июни_июли_августи_сентябри_октябри_ноябри_декабри".split("_"),standalone:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_")},monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Имрӯз соати] LT",nextDay:"[Фардо соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(e,t){return 12===e&&(e=0),"шаб"===t?e<4?e:e+12:"субҳ"===t?e:"рӯз"===t?e>=11?e:e+12:"бегоҳ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"шаб":e<11?"субҳ":e<16?"рӯз":e<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function(e,t,n){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",w:"1 สัปดาห์",ww:"%d สัปดาห์",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -var t={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'ünji",4:"'ünji",100:"'ünji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};e.defineLocale("tk",{months:"Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr".split("_"),monthsShort:"Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek".split("_"),weekdays:"Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe".split("_"),weekdaysShort:"Ýek_Duş_Siş_Çar_Pen_Ann_Şen".split("_"),weekdaysMin:"Ýk_Dş_Sş_Çr_Pn_An_Şn".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[düýn] LT",lastWeek:"[geçen] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s soň",past:"%s öň",s:"birnäçe sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir gün",dd:"%d gün",M:"bir aý",MM:"%d aý",y:"bir ýyl",yy:"%d ýyl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'unjy";var r=e%10;return e+(t[r]||t[e%100-r]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -var t="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(e,n,r,a){var i=function(e){var n=Math.floor(e%1e3/100),r=Math.floor(e%100/10),a=e%10,i="";return n>0&&(i+=t[n]+"vatlh"),r>0&&(i+=(""!==i?" ":"")+t[r]+"maH"),a>0&&(i+=(""!==i?" ":"")+t[a]),""===i?"pagh":i}(e);switch(r){case"ss":return i+" lup";case"mm":return i+" tup";case"hh":return i+" rep";case"dd":return i+" jaj";case"MM":return i+" jar";case"yy":return i+" DIS"}}e.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"},past:function(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu’":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"},s:"puS lup",ss:n,m:"wa’ tup",mm:n,h:"wa’ rep",hh:n,d:"wa’ jaj",dd:n,M:"wa’ jar",MM:n,y:"wa’ DIS",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};e.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_Çar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),meridiem:function(e,t,n){return e<12?n?"öö":"ÖÖ":n?"ös":"ÖS"},meridiemParse:/öö|ÖÖ|ös|ÖS/,isPM:function(e){return"ös"===e||"ÖS"===e},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'ıncı";var r=e%10;return e+(t[r]||t[e%100-r]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -function t(e,t,n,r){var a={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return r||t?a[n][0]:a[n][1]}e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,n){return e>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(e,t){return 12===e&&(e=0),"يېرىم كېچە"===t||"سەھەر"===t||"چۈشتىن بۇرۇن"===t?e:"چۈشتىن كېيىن"===t||"كەچ"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"يېرىم كېچە":r<900?"سەھەر":r<1130?"چۈشتىن بۇرۇن":r<1230?"چۈش":r<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-كۈنى";case"w":case"W":return e+"-ھەپتە";default:return e}},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -function t(e,t,n){var r,a;return"m"===n?t?"хвилина":"хвилину":"h"===n?t?"година":"годину":e+" "+(r=+e,a={ss:t?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:t?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:t?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[n].split("_"),r%10==1&&r%100!=11?a[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?a[1]:a[2])}function n(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:function(e,t){var n={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===e?n.nominative.slice(1,7).concat(n.nominative.slice(0,1)):e?n[/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:n.nominative},weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:n("[Сьогодні "),nextDay:n("[Завтра "),lastDay:n("[Вчора "),nextWeek:n("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return n("[Минулої] dddd [").call(this);case 1:case 2:case 4:return n("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:t,m:t,mm:t,h:"годину",hh:t,d:"день",dd:t,M:"місяць",MM:t,y:"рік",yy:t},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -var t=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],n=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"];e.defineLocale("ur",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần trước lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",w:"một tuần",ww:"%d tuần",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:function(e){return e.week()!==this.week()?"[下]dddLT":"[本]dddLT"},lastDay:"[昨天]LT",lastWeek:function(e){return this.week()!==e.week()?"[上]dddLT":"[本]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s后",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",w:"1 周",ww:"%d 周",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1200?"上午":1200===r?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("zh-mo",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"D/M/YYYY",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(5))},function(e,t,n){!function(e){"use strict"; -//! moment.js locale configuration -e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(5))},function(e,t,n){var r=n(59),a=n(308),i=n(309),o=n(310),s=n(311),u=n(312);function l(e){var t=this.__data__=new r(e);this.size=t.size}l.prototype.clear=a,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=s,l.prototype.set=u,e.exports=l},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){var r=n(51),a=n(84);e.exports=function(e){if(!a(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(58))},function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,n){var r=n(331),a=n(334),i=n(335);e.exports=function(e,t,n,o,s,u){var l=1&n,d=e.length,c=t.length;if(d!=c&&!(l&&c>d))return!1;var f=u.get(e),h=u.get(t);if(f&&h)return f==t&&h==e;var m=-1,p=!0,_=2&n?new r:void 0;for(u.set(e,t),u.set(t,e);++m-1&&e%1==0&&e=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["history","location","match","staticContext","children","replace","to","exact","strict","activeClassName","className","activeStyle","style","isActive"]),y=n.createHref("string"==typeof s?{pathname:s}:s),v=o.default.Children.only(i);return o.default.createElement(u.Route,{path:"object"===(void 0===s?"undefined":a(s))?s.pathname:s,exact:l,strict:d,children:function(t){var n=t.location,a=t.match,i=!!(p?p(a,n):a);return o.default.cloneElement(v,r({},_,{className:[f,v.props.className,i?c:null].join(" ").trim(),style:i?r({},m,h):m,href:y,onClick:e.handleClick}))}})},t}(i.Component);h.propTypes={history:s.default.shape({push:s.default.func.isRequired,replace:s.default.func.isRequired,createHref:s.default.func.isRequired}).isRequired,location:s.default.object,match:s.default.object,staticContext:s.default.object,children:s.default.element.isRequired,onClick:s.default.func,replace:s.default.bool,to:s.default.oneOfType([s.default.string,s.default.object]).isRequired,exact:s.default.bool,strict:s.default.bool,className:s.default.string,activeClassName:s.default.string,style:s.default.object,activeStyle:s.default.object,isActive:s.default.func},h.defaultProps={replace:!1,exact:!1,strict:!1,activeClassName:"active"},t.default=(0,u.withRouter)(h)},function(e,t){e.exports=function(e,t,n,r,a,i,o,s){var u,l,d,c,f,h,m,p,_,y,v,g,b={x:0,y:0};if(y=(u=r-t)*o+(d=e-n)*s+(f=n*t-e*r),0!==(_=u*a+d*i+f)&&0!==y&&_>=0==y>=4)return null;if(p=(l=s-i)*n+(c=a-o)*r+(h=o*i-a*s),0!==(m=l*e+c*t+h)&&0!==p&&m>=0==p>=0)return null;if(0===(v=u*c-l*d))return null;return v<0?-v/2:v/2,0,g=d*h-c*f,b.x=(g<0?g-0:g+0)/v,g=l*f-u*h,b.y=(g<0?g-0:g+0)/v,b}},function(e,t,n){var r=n(261);e.exports=function(e){if(e.webglInputEvents)return e.webglInputEvents;var t,n,a=null,i=[],o=[],s=[],u=[],l=[],d=[],c=[];!function(e){var f={x:0,y:0},h=null,v=1,g=+new Date,b=function(e){y(l,[h,e]),f.x=e.clientX,f.y=e.clientY},M=function(){r.off("mousemove",b),r.off("mouseup",M)},w=function(){n=e.getBoundingClientRect()};window.addEventListener("resize",w),w(),e.addEventListener("mousemove",(function(e){if(!a){v++%7==0&&(w(),v=1);var t,r=!1;f.x=e.clientX-n.left,f.y=e.clientY-n.top,(t=m(f))&&h!==t?(h&&y(o,[h]),h=t,r=r||y(i,[h])):null===t&&h!==t&&(r=r||y(o,[h]),h=null),r&&p(e)}})),e.addEventListener("mousedown",(function(e){var a,i=!1;w(),f.x=e.clientX-n.left,f.y=e.clientY-n.top,(a=[m(f),e])[0]?(i=y(s,a),r.on("mousemove",b),r.on("mouseup",M),t=window.document.onselectstart,window.document.onselectstart=_,h=a[0]):h=null,i&&p(e)})),e.addEventListener("mouseup",(function(e){var r,a=+new Date;f.x=e.clientX-n.left,f.y=e.clientY-n.top;var i=m(f),o=i===h;(r=[i||h,e])[0]&&(window.document.onselectstart=t,y(a-g<400&&o?c:d,r),g=a,y(u,r)&&p(e))}))}(e.getGraphicsRoot());var f={mouseEnter:function(e){"function"==typeof e&&i.push(e);return f},mouseLeave:function(e){"function"==typeof e&&o.push(e);return f},mouseDown:function(e){"function"==typeof e&&s.push(e);return f},mouseUp:function(e){"function"==typeof e&&u.push(e);return f},mouseMove:function(e){"function"==typeof e&&l.push(e);return f},click:function(e){"function"==typeof e&&d.push(e);return f},dblClick:function(e){"function"==typeof e&&c.push(e);return f},mouseCapture:function(e){a=e},releaseMouseCapture:function(){a=null}};return e.webglInputEvents=f,f;function h(e,t,n){if(e&&e.size){var r=e.position,a=e.size;return r.x-a=0?i:-1,a);return h.push(o),o},getTotalMovement:function(){return 0},removeSpring:function(e){if(e){var t=h.indexOf(e);return t>-1?(h.splice(t,1),!0):void 0}},getBestNewBodyPosition:function(e){return p.getBestNewPosition(e)},getBBox:function(){return v&&(p.update(),v=!1),p.box},invalidateBBox:function(){v=!0},gravity:function(t){return void 0!==t?(e.gravity=t,m.options({gravity:t}),this):e.gravity},theta:function(t){return void 0!==t?(e.theta=t,m.options({theta:t}),this):e.theta}};return r(e,g),i(g),g}},function(e,t){e.exports=function(e,t,n,r){this.x1=e||0,this.y1=t||0,this.x2=n||0,this.y2=r||0}},function(e,t){e.exports=function(e){this.canvas=window.document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),this.isDirty=!1,this.canvas.width=this.canvas.height=e}},function(e,t,n){var r=n(271);e.exports=function(e){var t,n=Math.sqrt(e||1024)<<0,a=n,i=1,o={},s=0,u=[],l=[];if(d=e,0!=(d&d-1))throw"Tiles per texture should be power of two.";var d;var c={isDirty:!1,clearDirty:function(){var e;for(c.isDirty=!1,e=0;e=u.length&&(c=new r(n*a),u.push(c));var c;var h=u[s.textureNumber];h.ctx.drawImage(t,s.col*a,s.row*a,a,a),l[e]=t.src,o[t.src]=d,h.isDirty=!0,i(d)}(d,s,t)},s.src=e}}};return c;function f(t){var r=t%e;return{textureNumber:t/e<<0,row:r/n<<0,col:r%n}}function h(){c.isDirty=!0,s=0,t=null}function m(){t&&(window.clearTimeout(t),s+=1,t=null),s>10?h():t=window.setTimeout(h,400)}function p(e,t){var n=u[e.textureNumber].canvas,r=u[t.textureNumber].ctx,i=t.col*a,o=t.row*a;r.drawImage(n,e.col*a,e.row*a,a,a,i,o,a,a),u[e.textureNumber].isDirty=!0,u[t.textureNumber].isDirty=!0}}},function(e,t,n){var r=n(66);e.exports=function(){var e,t,n,a,i,o,s,u,l,d,c=2*(2*Float32Array.BYTES_PER_ELEMENT+Uint32Array.BYTES_PER_ELEMENT),f=["precision mediump float;","varying vec4 color;","void main(void) {"," gl_FragColor = color;","}"].join("\n"),h=["attribute vec2 a_vertexPos;","attribute vec4 a_color;","uniform vec2 u_screenSize;","uniform mat4 u_transform;","varying vec4 color;","void main(void) {"," gl_Position = u_transform * vec4(a_vertexPos/u_screenSize, 0.0, 1.0);"," color = a_color.abgr;","}"].join("\n"),m=0,p=new ArrayBuffer(16*c),_=new Float32Array(p),y=new Uint32Array(p);return{load:function(o){t=o,a=r(o),e=a.createProgram(h,f),t.useProgram(e),i=a.getLocations(e,["a_vertexPos","a_color","u_screenSize","u_transform"]),t.enableVertexAttribArray(i.vertexPos),t.enableVertexAttribArray(i.color),n=t.createBuffer()},position:function(e,t,n){var r=6*e.id;_[r]=t.x,_[r+1]=t.y,y[r+2]=e.color,_[r+3]=n.x,_[r+4]=n.y,y[r+5]=e.color},createLink:function(e){!function(){if((m+1)*c>p.byteLength){var e=new ArrayBuffer(2*p.byteLength),t=new Float32Array(e),n=new Uint32Array(e);n.set(y),_=t,y=n,p=e}}(),m+=1,o=e.id},removeLink:function(e){m>0&&(m-=1),e.id0&&a.copyArrayPart(y,6*e.id,6*m,6)},updateTransform:function(e){d=!0,l=e},updateSize:function(e,t){s=e,u=t,d=!0},render:function(){t.useProgram(e),t.bindBuffer(t.ARRAY_BUFFER,n),t.bufferData(t.ARRAY_BUFFER,p,t.DYNAMIC_DRAW),d&&(d=!1,t.uniformMatrix4fv(i.transform,!1,l),t.uniform2f(i.screenSize,s,u)),t.vertexAttribPointer(i.vertexPos,2,t.FLOAT,!1,3*Float32Array.BYTES_PER_ELEMENT,0),t.vertexAttribPointer(i.color,4,t.UNSIGNED_BYTE,!0,3*Float32Array.BYTES_PER_ELEMENT,8),t.drawArrays(t.LINES,0,2*m),o=m-1},bringToFront:function(e){o>e.id&&a.swapArrayPart(_,6*e.id,6*o,6),o>0&&(o-=1)},getFrontLinkId:function(){return o}}}},function(e,t,n){var r=n(66);e.exports=function(){var e,t,n,a,i,o,s,u,l,d=3*Float32Array.BYTES_PER_ELEMENT+Uint32Array.BYTES_PER_ELEMENT,c=["precision mediump float;","varying vec4 color;","void main(void) {"," gl_FragColor = color;","}"].join("\n"),f=["attribute vec3 a_vertexPos;","attribute vec4 a_color;","uniform vec2 u_screenSize;","uniform mat4 u_transform;","varying vec4 color;","void main(void) {"," gl_Position = u_transform * vec4(a_vertexPos.xy/u_screenSize, 0, 1);"," gl_PointSize = a_vertexPos.z * u_transform[0][0];"," color = a_color.abgr;","}"].join("\n"),h=new ArrayBuffer(16*d),m=new Float32Array(h),p=new Uint32Array(h),_=0;return{load:function(o){t=o,i=r(o),e=i.createProgram(f,c),t.useProgram(e),a=i.getLocations(e,["a_vertexPos","a_color","u_screenSize","u_transform"]),t.enableVertexAttribArray(a.vertexPos),t.enableVertexAttribArray(a.color),n=t.createBuffer()},position:function(e,t){var n=e.id;m[4*n]=t.x,m[4*n+1]=-t.y,m[4*n+2]=e.size,p[4*n+3]=e.color},updateTransform:function(e){l=!0,u=e},updateSize:function(e,t){o=e,s=t,l=!0},removeNode:function(e){_>0&&(_-=1);e.id<_&&_>0&&i.copyArrayPart(p,4*e.id,4*_,4)},createNode:function(){(function(){if((_+1)*d>=h.byteLength){var e=new ArrayBuffer(2*h.byteLength),t=new Float32Array(e),n=new Uint32Array(e);n.set(p),m=t,p=n,h=e}})(),_+=1},replaceProperties:function(){},render:function(){t.useProgram(e),t.bindBuffer(t.ARRAY_BUFFER,n),t.bufferData(t.ARRAY_BUFFER,h,t.DYNAMIC_DRAW),l&&(l=!1,t.uniformMatrix4fv(a.transform,!1,u),t.uniform2f(a.screenSize,o,s));t.vertexAttribPointer(a.vertexPos,3,t.FLOAT,!1,4*Float32Array.BYTES_PER_ELEMENT,0),t.vertexAttribPointer(a.color,4,t.UNSIGNED_BYTE,!0,4*Float32Array.BYTES_PER_ELEMENT,12),t.drawArrays(t.POINTS,0,_)}}}},function(e,t,n){var r=n(94);e.exports=function(e){return{color:r(e)}}},function(e,t,n){var r=n(94);e.exports=function(e,t){return{size:"number"==typeof e?e:10,color:r(t)}}},function(e,t,n){e.exports=function(){var e,t,n,o=0,s=0,u=1,l={},d={},c=function(e){return r("rect").attr("width",10).attr("height",10).attr("fill","#00a2e8")},f=function(e,t){e.attr("x",t.x-5).attr("y",t.y-5)},h=function(e){return r("line").attr("stroke","#999")},m=function(e,t,n){e.attr("x1",t.x).attr("y1",t.y).attr("x2",n.x).attr("y2",n.y)},p=function(e){e.fire("rescaled")},_={x:0,y:0},y={x:0,y:0},v={x:0,y:0},g=function(){if(e){var t="matrix("+u+", 0, 0,"+u+","+o+","+s+")";e.attr("transform",t)}};t=function(){var t=r("svg");return e=r("g").attr("buffered-rendering","dynamic"),t.appendChild(e),t}();var b={getNodeUI:function(e){return l[e]},getLinkUI:function(e){return d[e]},node:function(e){if("function"==typeof e)return c=e,this},link:function(e){if("function"==typeof e)return h=e,this},placeNode:function(e){return f=e,this},placeLink:function(e){return m=e,this},beginRender:function(){},endRender:function(){},graphCenterChanged:function(e,t){o=e,s=t,g()},inputManager:i,translateRel:function(n,r){var a=t.createSVGPoint(),i=e.getCTM(),o=t.createSVGPoint().matrixTransform(i.inverse());a.x=n,a.y=r,(a=a.matrixTransform(i.inverse())).x=(a.x-o.x)*i.a,a.y=(a.y-o.y)*i.d,i.e+=a.x,i.f+=a.y;var s="matrix("+i.a+", 0, 0,"+i.d+","+i.e+","+i.f+")";e.attr("transform",s)},scale:function(n,r){var a=t.createSVGPoint();a.x=r.x,a.y=r.y,a=a.matrixTransform(e.getCTM().inverse());var i=t.createSVGMatrix().translate(a.x,a.y).scale(n).translate(-a.x,-a.y),l=e.getCTM().multiply(i);u=l.a,o=l.e,s=l.f;var d="matrix("+l.a+", 0, 0,"+l.d+","+l.e+","+l.f+")";return e.attr("transform",d),p(this),u},resetScale:function(){u=1;return e.attr("transform","matrix(1, 0, 0, 1, 0, 0)"),p(this),this},init:function(e){e.appendChild(t),g(),"function"==typeof n&&n(t)},release:function(e){t&&e&&e.removeChild(t)},addLink:function(t,n){var r=h(t);if(r)return r.position=n,r.link=t,d[t.id]=r,e.childElementCount>0?e.insertBefore(r,e.firstChild):e.appendChild(r),r},releaseLink:function(t){var n=d[t.id];n&&(e.removeChild(n),delete d[t.id])},addNode:function(t,n){var r=c(t);if(r)return r.position=n,r.node=t,l[t.id]=r,e.appendChild(r),r},releaseNode:function(t){var n=l[t.id];n&&(e.removeChild(n),delete l[t.id])},renderNodes:function(){for(var e in l)if(l.hasOwnProperty(e)){var t=l[e];_.x=t.position.x,_.y=t.position.y,f(t,_,t.node)}},renderLinks:function(){for(var e in d)if(d.hasOwnProperty(e)){var t=d[e];y.x=t.position.from.x,y.y=t.position.from.y,v.x=t.position.to.x,v.y=t.position.to.y,m(t,y,v,t.link)}},getGraphicsRoot:function(e){return"function"==typeof e&&(t?e(t):n=e),t},getSvgRoot:function(){return t}};return a(b),b};var r=n(95),a=n(41),i=n(91)},function(e,t,n){"use strict";var r=n(257),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(e){return r.isMemo(e)?o:s[e.$$typeof]||a}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=o;var l=Object.defineProperty,d=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var a=h(n);a&&a!==m&&e(t,a,r)}var o=d(n);c&&(o=o.concat(c(n)));for(var s=u(t),p=u(n),_=0;_O.length&&O.push(e)}function P(e,t,n){return null==e?0:function e(t,n,r,a){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var u=!1;if(null===t)u=!0;else switch(s){case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case i:case o:u=!0}}if(u)return r(a,t,""===n?"."+C(t,0):n),1;if(u=0,n=""===n?".":n+":",Array.isArray(t))for(var l=0;l