diff --git a/.akala.json b/.akala.json new file mode 100644 index 0000000000..47012e876a --- /dev/null +++ b/.akala.json @@ -0,0 +1,39 @@ +{ + "plugins": [ + "./packages/config/dist/esm/akala.mjs", + "./packages/commands/dist/esm/akala.mjs", + "./packages/pm/dist/esm/akala.mjs" + ], + "pm": { + "containers": { + "pm": { + "commandable": true, + "stateless": false, + "path": "./packages/pm/commands.json" + }, + "server": { + "path": "./packages/server/commands.json", + "commandable": true, + "stateless": false + } + }, + "mapping": { + "pm": { + "cwd": "/home/nicolas/dev/akala", + "container": "pm", + "connect": { + "socket": [ + { + "port": 31416 + } + ], + "signal": {} + } + } + }, + "plugins": [] + }, + "commands": { + "meta": "./packages/commands/commands.json" + } +} \ No newline at end of file diff --git a/.eslintcache b/.eslintcache index fd72e2b700..c1d00a473b 100644 --- a/.eslintcache +++ b/.eslintcache @@ -1 +1 @@ -[{"/root/akala/.eslintrc.js":"1","/root/akala/packages/authentication/src/model/access-token.ts":"2","/root/akala/packages/authentication/src/model/authorization-code.ts":"3","/root/akala/packages/authentication/src/model/client.ts":"4","/root/akala/packages/authentication/src/model/user.ts":"5","/root/akala/packages/authentication/src/server/authentication-store.ts":"6","/root/akala/packages/authentication/src/server/commands/$init.ts":"7","/root/akala/packages/authentication/src/server/index.ts":"8","/root/akala/packages/authentication/src/server/master.ts":"9","/root/akala/packages/authentication/src/server/middlewares/Authorize401ChallengeFormatter.ts":"10","/root/akala/packages/authentication/src/server/middlewares/AuthorizeRedirectFormatter.ts":"11","/root/akala/packages/authentication/src/server/middlewares/authenticate.ts":"12","/root/akala/packages/authentication/src/server/middlewares/authorize.ts":"13","/root/akala/packages/authentication/src/server/middlewares/grant.ts":"14","/root/akala/packages/authentication/src/server/middlewares/token.ts":"15","/root/akala/packages/authentication/src/server/state.ts":"16","/root/akala/packages/cli/src/client.ts":"17","/root/akala/packages/cli/src/config/index.ts":"18","/root/akala/packages/cli/src/helpers/newmodule.ts":"19","/root/akala/packages/cli/src/helpers/repl.ts":"20","/root/akala/packages/cli/src/index.ts":"21","/root/akala/packages/cli/src/plugins.ts":"22","/root/akala/packages/cli/src/router/index.ts":"23","/root/akala/packages/cli/src/sdk.ts":"24","/root/akala/packages/cli/src/worker.ts":"25","/root/akala/packages/cli/test/repl/index.ts":"26","/root/akala/packages/cli/test/tserify/a.ts":"27","/root/akala/packages/cli/test/tserify/index.ts":"28","/root/akala/packages/client/akala.js":"29","/root/akala/packages/client/serviceworker.d.ts":"30","/root/akala/packages/client/src/clientify.ts":"31","/root/akala/packages/client/src/common.ts":"32","/root/akala/packages/client/src/component.ts":"33","/root/akala/packages/client/src/controls/click.ts":"34","/root/akala/packages/client/src/controls/control.ts":"35","/root/akala/packages/client/src/controls/controls.ts":"36","/root/akala/packages/client/src/controls/cssClass.ts":"37","/root/akala/packages/client/src/controls/event.ts":"38","/root/akala/packages/client/src/controls/foreach.ts":"39","/root/akala/packages/client/src/controls/href.ts":"40","/root/akala/packages/client/src/controls/json.ts":"41","/root/akala/packages/client/src/controls/markdown.ts":"42","/root/akala/packages/client/src/controls/name.ts":"43","/root/akala/packages/client/src/controls/options.ts":"44","/root/akala/packages/client/src/controls/part.ts":"45","/root/akala/packages/client/src/controls/popper.ts":"46","/root/akala/packages/client/src/controls/spinner.ts":"47","/root/akala/packages/client/src/controls/style.ts":"48","/root/akala/packages/client/src/controls/text.ts":"49","/root/akala/packages/client/src/controls/title.ts":"50","/root/akala/packages/client/src/controls/translate.ts":"51","/root/akala/packages/client/src/controls/value.ts":"52","/root/akala/packages/client/src/controls/visibility.ts":"53","/root/akala/packages/client/src/decorators/component.ts":"54","/root/akala/packages/client/src/hotkeytrigger.ts":"55","/root/akala/packages/client/src/index.ts":"56","/root/akala/packages/client/src/locationService.ts":"57","/root/akala/packages/client/src/part.ts":"58","/root/akala/packages/client/src/router.ts":"59","/root/akala/packages/client/src/scope.ts":"60","/root/akala/packages/client/src/service-workers/cache.ts":"61","/root/akala/packages/client/src/service-workers/immediate.ts":"62","/root/akala/packages/client/src/service-workers/router.ts":"63","/root/akala/packages/client/src/service-workers/shell.ts":"64","/root/akala/packages/client/src/template.ts":"65","/root/akala/packages/client/webpack.config.js":"66","/root/akala/packages/commands/src/cli/generate-declaration.ts":"67","/root/akala/packages/commands/src/cli/generate-metadata.ts":"68","/root/akala/packages/commands/src/cli/generate.ts":"69","/root/akala/packages/commands/src/cli/new.ts":"70","/root/akala/packages/commands/src/cli/register.ts":"71","/root/akala/packages/commands/src/cli/serve.ts":"72","/root/akala/packages/commands/src/cli.ts":"73","/root/akala/packages/commands/src/commands/$attach.ts":"74","/root/akala/packages/commands/src/commands/$metadata.ts":"75","/root/akala/packages/commands/src/commands/$serve.ts":"76","/root/akala/packages/commands/src/commands.ts":"77","/root/akala/packages/commands/src/decorators.ts":"78","/root/akala/packages/commands/src/generator.ts":"79","/root/akala/packages/commands/src/index.ts":"80","/root/akala/packages/commands/src/metadata/command.ts":"81","/root/akala/packages/commands/src/metadata/container.ts":"82","/root/akala/packages/commands/src/metadata/index.ts":"83","/root/akala/packages/commands/src/model/command.ts":"84","/root/akala/packages/commands/src/model/container.ts":"85","/root/akala/packages/commands/src/model/error-unknowncommand.ts":"86","/root/akala/packages/commands/src/model/processor.ts":"87","/root/akala/packages/commands/src/model/trigger.ts":"88","/root/akala/packages/commands/src/processors/event.ts":"89","/root/akala/packages/commands/src/processors/fs-browser.ts":"90","/root/akala/packages/commands/src/processors/fs.ts":"91","/root/akala/packages/commands/src/processors/http-client.ts":"92","/root/akala/packages/commands/src/processors/index.ts":"93","/root/akala/packages/commands/src/processors/jsonrpc.ts":"94","/root/akala/packages/commands/src/processors/local.ts":"95","/root/akala/packages/commands/src/processors/log.ts":"96","/root/akala/packages/commands/src/processors/pipe.ts":"97","/root/akala/packages/commands/src/serve-metadata.ts":"98","/root/akala/packages/commands/src/test/calculator/index.ts":"99","/root/akala/packages/commands/src/test/decorators.ts":"100","/root/akala/packages/commands/src/test/event.ts":"101","/root/akala/packages/commands/src/test/http.ts":"102","/root/akala/packages/commands/src/test/jsonrpc.ts":"103","/root/akala/packages/commands/src/test/local.ts":"104","/root/akala/packages/commands/src/test/log.ts":"105","/root/akala/packages/commands/src/test/metadata.ts":"106","/root/akala/packages/commands/src/triggers/index.ts":"107","/root/akala/packages/commands/src/triggers/jsonrpc.ts":"108","/root/akala/packages/configuration/src/cli.ts":"109","/root/akala/packages/configuration/src/commander.ts":"110","/root/akala/packages/configuration/src/commands/$init.ts":"111","/root/akala/packages/configuration/src/commands/commit.ts":"112","/root/akala/packages/configuration/src/commands/get.ts":"113","/root/akala/packages/configuration/src/commands/revert.ts":"114","/root/akala/packages/configuration/src/commands/set.ts":"115","/root/akala/packages/configuration/src/configuration.ts":"116","/root/akala/packages/configuration/src/index.ts":"117","/root/akala/packages/core/src/binder.ts":"118","/root/akala/packages/core/src/chain.ts":"119","/root/akala/packages/core/src/each.ts":"120","/root/akala/packages/core/src/eachAsync.ts":"121","/root/akala/packages/core/src/factory.ts":"122","/root/akala/packages/core/src/formatters/booleanize.ts":"123","/root/akala/packages/core/src/formatters/call.ts":"124","/root/akala/packages/core/src/formatters/common.ts":"125","/root/akala/packages/core/src/formatters/date.ts":"126","/root/akala/packages/core/src/formatters/identity.ts":"127","/root/akala/packages/core/src/formatters/index.ts":"128","/root/akala/packages/core/src/formatters/negate.ts":"129","/root/akala/packages/core/src/global-injector.ts":"130","/root/akala/packages/core/src/helpers.ts":"131","/root/akala/packages/core/src/http.ts":"132","/root/akala/packages/core/src/index.ts":"133","/root/akala/packages/core/src/injector.ts":"134","/root/akala/packages/core/src/interpolate.ts":"135","/root/akala/packages/core/src/module.ts":"136","/root/akala/packages/core/src/parser.ts":"137","/root/akala/packages/core/src/polymorph.ts":"138","/root/akala/packages/core/src/promiseHelpers.ts":"139","/root/akala/packages/core/src/queue.ts":"140","/root/akala/packages/core/src/reflect.ts":"141","/root/akala/packages/core/src/reflection-injector.ts":"142","/root/akala/packages/core/src/router/composite.ts":"143","/root/akala/packages/core/src/router/index.ts":"144","/root/akala/packages/core/src/router/route.ts":"145","/root/akala/packages/core/src/router/router.ts":"146","/root/akala/packages/core/src/router/shared.ts":"147","/root/akala/packages/core/src/service.ts":"148","/root/akala/packages/core/src/test/binder.ts":"149","/root/akala/packages/core/src/test/injector.ts":"150","/root/akala/packages/core/src/test/module.ts":"151","/root/akala/packages/core/src/test/parser.ts":"152","/root/akala/packages/core/src/test/polymorph.ts":"153","/root/akala/packages/core/src/test/router.ts":"154","/root/akala/packages/core/src/type-helper.ts":"155","/root/akala/packages/dashboard/src/client/index.ts":"156","/root/akala/packages/dashboard/src/server/index.ts":"157","/root/akala/packages/db/src/server/PersistenceEngine.ts":"158","/root/akala/packages/db/src/server/PersistenceQueryProvider.ts":"159","/root/akala/packages/db/src/server/Query.ts":"160","/root/akala/packages/db/src/server/cardinality.ts":"161","/root/akala/packages/db/src/server/commands/command-processor.ts":"162","/root/akala/packages/db/src/server/commands/command.ts":"163","/root/akala/packages/db/src/server/commands/create-command.ts":"164","/root/akala/packages/db/src/server/commands/delete-command.ts":"165","/root/akala/packages/db/src/server/commands/update-command.ts":"166","/root/akala/packages/db/src/server/common.ts":"167","/root/akala/packages/db/src/server/exceptions.ts":"168","/root/akala/packages/db/src/server/expression-executor.ts":"169","/root/akala/packages/db/src/server/expressions/apply-symbol-expression.ts":"170","/root/akala/packages/db/src/server/expressions/binary-expression.ts":"171","/root/akala/packages/db/src/server/expressions/binary-operator.ts":"172","/root/akala/packages/db/src/server/expressions/call-expression.ts":"173","/root/akala/packages/db/src/server/expressions/constant-expression.ts":"174","/root/akala/packages/db/src/server/expressions/expression-type.ts":"175","/root/akala/packages/db/src/server/expressions/expression-visitor.ts":"176","/root/akala/packages/db/src/server/expressions/expression.ts":"177","/root/akala/packages/db/src/server/expressions/index.ts":"178","/root/akala/packages/db/src/server/expressions/lambda-expression.ts":"179","/root/akala/packages/db/src/server/expressions/member-expression.ts":"180","/root/akala/packages/db/src/server/expressions/new-expression.ts":"181","/root/akala/packages/db/src/server/expressions/parameter-expression.ts":"182","/root/akala/packages/db/src/server/expressions/unary-expression.ts":"183","/root/akala/packages/db/src/server/expressions/unary-operator.ts":"184","/root/akala/packages/db/src/server/expressions/visitable.ts":"185","/root/akala/packages/db/src/server/index.ts":"186","/root/akala/packages/db/src/server/parser.ts":"187","/root/akala/packages/db/src/server/providers/file.ts":"188","/root/akala/packages/db/src/server/providers/vanilla.ts":"189","/root/akala/packages/db/src/server/shared.ts":"190","/root/akala/packages/db/src/server/string-builder.ts":"191","/root/akala/packages/db/src/test/modelTest1.ts":"192","/root/akala/packages/db/src/test/testFile.ts":"193","/root/akala/packages/db/src/test/testQuery.ts":"194","/root/akala/packages/json-rpc-ws/browser.js":"195","/root/akala/packages/json-rpc-ws/browser_test.js":"196","/root/akala/packages/json-rpc-ws/example/client.js":"197","/root/akala/packages/json-rpc-ws/example/server.js":"198","/root/akala/packages/json-rpc-ws/lib/base.d.ts":"199","/root/akala/packages/json-rpc-ws/lib/base.js":"200","/root/akala/packages/json-rpc-ws/lib/browser.d.ts":"201","/root/akala/packages/json-rpc-ws/lib/browser.js":"202","/root/akala/packages/json-rpc-ws/lib/connection.d.ts":"203","/root/akala/packages/json-rpc-ws/lib/connection.js":"204","/root/akala/packages/json-rpc-ws/lib/errors.d.ts":"205","/root/akala/packages/json-rpc-ws/lib/errors.js":"206","/root/akala/packages/json-rpc-ws/lib/index.d.ts":"207","/root/akala/packages/json-rpc-ws/lib/index.js":"208","/root/akala/packages/json-rpc-ws/lib/server.d.ts":"209","/root/akala/packages/json-rpc-ws/lib/server.js":"210","/root/akala/packages/json-rpc-ws/lib/shared-client.d.ts":"211","/root/akala/packages/json-rpc-ws/lib/shared-client.js":"212","/root/akala/packages/json-rpc-ws/lib/shared-connection.d.ts":"213","/root/akala/packages/json-rpc-ws/lib/shared-connection.js":"214","/root/akala/packages/json-rpc-ws/lib/ws/browser.d.ts":"215","/root/akala/packages/json-rpc-ws/lib/ws/browser.js":"216","/root/akala/packages/json-rpc-ws/lib/ws/client.d.ts":"217","/root/akala/packages/json-rpc-ws/lib/ws/client.js":"218","/root/akala/packages/json-rpc-ws/lib/ws/errors.d.ts":"219","/root/akala/packages/json-rpc-ws/lib/ws/errors.js":"220","/root/akala/packages/json-rpc-ws/lib/ws/index.d.ts":"221","/root/akala/packages/json-rpc-ws/lib/ws/index.js":"222","/root/akala/packages/json-rpc-ws/lib/ws/server.d.ts":"223","/root/akala/packages/json-rpc-ws/lib/ws/server.js":"224","/root/akala/packages/json-rpc-ws/lib/ws/shared-client.d.ts":"225","/root/akala/packages/json-rpc-ws/lib/ws/shared-client.js":"226","/root/akala/packages/json-rpc-ws/lib/ws/ws-socket-adapter.d.ts":"227","/root/akala/packages/json-rpc-ws/lib/ws/ws-socket-adapter.js":"228","/root/akala/packages/json-rpc-ws/src/base.ts":"229","/root/akala/packages/json-rpc-ws/src/browser.ts":"230","/root/akala/packages/json-rpc-ws/src/connection.ts":"231","/root/akala/packages/json-rpc-ws/src/errors.ts":"232","/root/akala/packages/json-rpc-ws/src/index.ts":"233","/root/akala/packages/json-rpc-ws/src/server.ts":"234","/root/akala/packages/json-rpc-ws/src/shared-client.ts":"235","/root/akala/packages/json-rpc-ws/src/shared-connection.ts":"236","/root/akala/packages/json-rpc-ws/src/ws/browser.ts":"237","/root/akala/packages/json-rpc-ws/src/ws/client.ts":"238","/root/akala/packages/json-rpc-ws/src/ws/errors.ts":"239","/root/akala/packages/json-rpc-ws/src/ws/index.ts":"240","/root/akala/packages/json-rpc-ws/src/ws/server.ts":"241","/root/akala/packages/json-rpc-ws/src/ws/shared-client.ts":"242","/root/akala/packages/json-rpc-ws/src/ws/ws-socket-adapter.ts":"243","/root/akala/packages/json-rpc-ws/test/index.js":"244","/root/akala/packages/json-rpc-ws/webpack.config.js":"245","/root/akala/packages/pages/src/server/index.ts":"246","/root/akala/packages/pm/src/cli-helper.ts":"247","/root/akala/packages/pm/src/cli.ts":"248","/root/akala/packages/pm/src/commands/$init.ts":"249","/root/akala/packages/pm/src/commands/alias.ts":"250","/root/akala/packages/pm/src/commands/config.ts":"251","/root/akala/packages/pm/src/commands/connect.ts":"252","/root/akala/packages/pm/src/commands/discover.ts":"253","/root/akala/packages/pm/src/commands/install.ts":"254","/root/akala/packages/pm/src/commands/link.ts":"255","/root/akala/packages/pm/src/commands/log.ts":"256","/root/akala/packages/pm/src/commands/ls.ts":"257","/root/akala/packages/pm/src/commands/map.ts":"258","/root/akala/packages/pm/src/commands/ready.ts":"259","/root/akala/packages/pm/src/commands/start.ts":"260","/root/akala/packages/pm/src/commands/status.ts":"261","/root/akala/packages/pm/src/commands/stop.ts":"262","/root/akala/packages/pm/src/commands/update.ts":"263","/root/akala/packages/pm/src/commands/version.ts":"264","/root/akala/packages/pm/src/container.ts":"265","/root/akala/packages/pm/src/fork.ts":"266","/root/akala/packages/pm/src/index.ts":"267","/root/akala/packages/pm/src/new-line-prefixer.ts":"268","/root/akala/packages/pm/src/npm-helper.ts":"269","/root/akala/packages/pm/src/state.ts":"270","/root/akala/packages/pm/src/test/pwet.ts":"271","/root/akala/packages/pm/src/yarn-helper.ts":"272","/root/akala/packages/server/src/commands/$init.ts":"273","/root/akala/packages/server/src/commands/asset.ts":"274","/root/akala/packages/server/src/commands/mode.ts":"275","/root/akala/packages/server/src/commands/remote-container.ts":"276","/root/akala/packages/server/src/commands/remote-route.ts":"277","/root/akala/packages/server/src/commands/remove-asset.ts":"278","/root/akala/packages/server/src/commands/require.ts":"279","/root/akala/packages/server/src/commands/route.ts":"280","/root/akala/packages/server/src/commands/webpack-alias.ts":"281","/root/akala/packages/server/src/commands/webpack-html.ts":"282","/root/akala/packages/server/src/commands/webpack.ts":"283","/root/akala/packages/server/src/commands.ts":"284","/root/akala/packages/server/src/config.ts":"285","/root/akala/packages/server/src/http.ts":"286","/root/akala/packages/server/src/index.ts":"287","/root/akala/packages/server/src/logger.ts":"288","/root/akala/packages/server/src/package.d.ts":"289","/root/akala/packages/server/src/queue.ts":"290","/root/akala/packages/server/src/router/cookieMiddleware.ts":"291","/root/akala/packages/server/src/router/index.ts":"292","/root/akala/packages/server/src/router/mimeMiddleware.ts":"293","/root/akala/packages/server/src/router/route.ts":"294","/root/akala/packages/server/src/router/router.ts":"295","/root/akala/packages/server/src/router/shared.ts":"296","/root/akala/packages/server/src/router/staticFileMiddleware.ts":"297","/root/akala/packages/server/src/router/upgradeMiddleware.ts":"298","/root/akala/packages/server/src/state.ts":"299","/root/akala/packages/server/src/translator.ts":"300","/root/akala/packages/server/src/triggers/http.ts":"301","/root/akala/packages/tacl/src/Configuration/Acl.ts":"302","/root/akala/packages/tacl/src/Configuration/AclConfiguration.ts":"303","/root/akala/packages/tacl/src/Configuration/ProviderCollection.ts":"304","/root/akala/packages/tacl/src/Configuration/ProviderElement.ts":"305","/root/akala/packages/tacl/src/Providers/IAclProvider.ts":"306","/root/akala/packages/tacl/src/Providers/hub-provider.ts":"307","/root/akala/packages/tacl/src/Providers/memory-provider.ts":"308","/root/akala/packages/tacl/src/Providers/router-provider.ts":"309","/root/akala/packages/tacl/src/access-rule.ts":"310","/root/akala/packages/tacl/src/acl-manager.ts":"311","/root/akala/packages/tacl/src/allow.ts":"312","/root/akala/packages/tacl/src/deny.ts":"313","/root/akala/packages/tacl/src/index.ts":"314","/root/akala/packages/tacl/src/ordered-list.ts":"315","/root/akala/packages/tacl/src/tests/Fixtures.ts":"316","/root/akala/packages/db/src/server/Enumerable.ts":"317"},{"size":520,"mtime":1615015860879,"results":"318","hashOfConfig":"319"},{"size":420,"mtime":1589355169344,"results":"320","hashOfConfig":"321"},{"size":396,"mtime":1589355169344,"results":"322","hashOfConfig":"321"},{"size":352,"mtime":1589355169344,"results":"323","hashOfConfig":"321"},{"size":349,"mtime":1589355169344,"results":"324","hashOfConfig":"321"},{"size":1223,"mtime":1615016304009,"results":"325","hashOfConfig":"321"},{"size":506,"mtime":1615016304009,"results":"326","hashOfConfig":"321"},{"size":588,"mtime":1615673231559,"results":"327","hashOfConfig":"321"},{"size":1740,"mtime":1616319680782,"results":"328","hashOfConfig":"321"},{"size":713,"mtime":1615925039737,"results":"329","hashOfConfig":"321"},{"size":978,"mtime":1615925039737,"results":"330","hashOfConfig":"321"},{"size":2219,"mtime":1616316034183,"results":"331","hashOfConfig":"321"},{"size":629,"mtime":1615669379887,"results":"332","hashOfConfig":"321"},{"size":3897,"mtime":1616318518789,"results":"333","hashOfConfig":"321"},{"size":0,"mtime":1615620548337,"results":"334","hashOfConfig":"321"},{"size":121,"mtime":1589355169344,"results":"335","hashOfConfig":"321"},{"size":1030,"mtime":1615016304009,"results":"336","hashOfConfig":"321"},{"size":2820,"mtime":1615016304009,"results":"337","hashOfConfig":"321"},{"size":3857,"mtime":1615016304009,"results":"338","hashOfConfig":"321"},{"size":3148,"mtime":1615016304009,"results":"339","hashOfConfig":"321"},{"size":8742,"mtime":1615016304009,"results":"340","hashOfConfig":"321"},{"size":375,"mtime":1589355169352,"results":"341","hashOfConfig":"321"},{"size":10668,"mtime":1617603297498,"results":"342","hashOfConfig":"321"},{"size":1501,"mtime":1617602449791,"results":"343","hashOfConfig":"321"},{"size":511,"mtime":1589355169352,"results":"344","hashOfConfig":"321"},{"size":608,"mtime":1589355169352,"results":"345","hashOfConfig":"321"},{"size":29,"mtime":1589355169352,"results":"346","hashOfConfig":"321"},{"size":228,"mtime":1589355169352,"results":"347","hashOfConfig":"321"},{"size":291085,"mtime":1615016304009,"results":"348","hashOfConfig":"319"},{"size":5254,"mtime":1615016304009,"results":"349","hashOfConfig":"321"},{"size":3149,"mtime":1615535237631,"results":"350","hashOfConfig":"321"},{"size":1113,"mtime":1617602305524,"results":"351","hashOfConfig":"321"},{"size":336,"mtime":1615016304009,"results":"352","hashOfConfig":"321"},{"size":288,"mtime":1594448382369,"results":"353","hashOfConfig":"321"},{"size":6405,"mtime":1617601741416,"results":"354","hashOfConfig":"321"},{"size":429,"mtime":1589355169352,"results":"355","hashOfConfig":"321"},{"size":3514,"mtime":1617601708413,"results":"356","hashOfConfig":"321"},{"size":2402,"mtime":1617601682861,"results":"357","hashOfConfig":"321"},{"size":5131,"mtime":1617601629109,"results":"358","hashOfConfig":"321"},{"size":346,"mtime":1594453348102,"results":"359","hashOfConfig":"321"},{"size":376,"mtime":1594453531860,"results":"360","hashOfConfig":"321"},{"size":533,"mtime":1594453675277,"results":"361","hashOfConfig":"321"},{"size":324,"mtime":1594453703161,"results":"362","hashOfConfig":"321"},{"size":6720,"mtime":1617601254327,"results":"363","hashOfConfig":"321"},{"size":2267,"mtime":1615532595578,"results":"364","hashOfConfig":"321"},{"size":972,"mtime":1615016304009,"results":"365","hashOfConfig":"321"},{"size":2162,"mtime":1615016304009,"results":"366","hashOfConfig":"321"},{"size":870,"mtime":1594472350186,"results":"367","hashOfConfig":"321"},{"size":1014,"mtime":1617601111244,"results":"368","hashOfConfig":"321"},{"size":370,"mtime":1594453405063,"results":"369","hashOfConfig":"321"},{"size":864,"mtime":1594453471887,"results":"370","hashOfConfig":"321"},{"size":2497,"mtime":1615016304009,"results":"371","hashOfConfig":"321"},{"size":1554,"mtime":1617601053329,"results":"372","hashOfConfig":"321"},{"size":214,"mtime":1590007483355,"results":"373","hashOfConfig":"321"},{"size":1105,"mtime":1615016304009,"results":"374","hashOfConfig":"321"},{"size":53,"mtime":1589355169352,"results":"375","hashOfConfig":"321"},{"size":7843,"mtime":1617601033257,"results":"376","hashOfConfig":"321"},{"size":3632,"mtime":1615534930733,"results":"377","hashOfConfig":"321"},{"size":2072,"mtime":1615538207932,"results":"378","hashOfConfig":"321"},{"size":2569,"mtime":1617601212952,"results":"379","hashOfConfig":"321"},{"size":1446,"mtime":1615538766384,"results":"380","hashOfConfig":"321"},{"size":302,"mtime":1617600950437,"results":"381","hashOfConfig":"321"},{"size":6932,"mtime":1615538223212,"results":"382","hashOfConfig":"321"},{"size":443,"mtime":1617600929433,"results":"383","hashOfConfig":"321"},{"size":12221,"mtime":1617600836258,"results":"384","hashOfConfig":"321"},{"size":1250,"mtime":1589355169352,"results":"385","hashOfConfig":"319"},{"size":215,"mtime":1615016304009,"results":"386","hashOfConfig":"321"},{"size":3210,"mtime":1616658831971,"results":"387","hashOfConfig":"321"},{"size":1300,"mtime":1617600767686,"results":"388","hashOfConfig":"321"},{"size":2328,"mtime":1615016304009,"results":"389","hashOfConfig":"321"},{"size":3661,"mtime":1617600747654,"results":"390","hashOfConfig":"321"},{"size":7237,"mtime":1615016304009,"results":"391","hashOfConfig":"321"},{"size":1515,"mtime":1616610783358,"results":"392","hashOfConfig":"321"},{"size":250,"mtime":1601202234275,"results":"393","hashOfConfig":"321"},{"size":625,"mtime":1604082209791,"results":"394","hashOfConfig":"321"},{"size":336,"mtime":1613907270732,"results":"395","hashOfConfig":"321"},{"size":765,"mtime":1616438004807,"results":"396","hashOfConfig":"321"},{"size":2695,"mtime":1615016304009,"results":"397","hashOfConfig":"321"},{"size":3660,"mtime":1616578835668,"results":"398","hashOfConfig":"321"},{"size":724,"mtime":1614198140655,"results":"399","hashOfConfig":"321"},{"size":1090,"mtime":1615016304009,"results":"400","hashOfConfig":"321"},{"size":111,"mtime":1589355169356,"results":"401","hashOfConfig":"321"},{"size":53,"mtime":1589355169356,"results":"402","hashOfConfig":"321"},{"size":2796,"mtime":1616522851196,"results":"403","hashOfConfig":"321"},{"size":10846,"mtime":1616612995320,"results":"404","hashOfConfig":"321"},{"size":211,"mtime":1589355169356,"results":"405","hashOfConfig":"321"},{"size":1381,"mtime":1616567663640,"results":"406","hashOfConfig":"321"},{"size":584,"mtime":1616321759547,"results":"407","hashOfConfig":"321"},{"size":2128,"mtime":1616567839432,"results":"408","hashOfConfig":"321"},{"size":1362,"mtime":1616567923279,"results":"409","hashOfConfig":"321"},{"size":12228,"mtime":1616656197210,"results":"410","hashOfConfig":"321"},{"size":5245,"mtime":1616567836992,"results":"411","hashOfConfig":"321"},{"size":202,"mtime":1589355169356,"results":"412","hashOfConfig":"321"},{"size":5217,"mtime":1616612495368,"results":"413","hashOfConfig":"321"},{"size":2005,"mtime":1616567763029,"results":"414","hashOfConfig":"321"},{"size":481,"mtime":1616567711362,"results":"415","hashOfConfig":"321"},{"size":601,"mtime":1616567702218,"results":"416","hashOfConfig":"321"},{"size":8082,"mtime":1616610940655,"results":"417","hashOfConfig":"321"},{"size":1040,"mtime":1616567839440,"results":"418","hashOfConfig":"321"},{"size":646,"mtime":1615016304009,"results":"419","hashOfConfig":"321"},{"size":1080,"mtime":1616578485910,"results":"420","hashOfConfig":"321"},{"size":3544,"mtime":1617600730311,"results":"421","hashOfConfig":"321"},{"size":2585,"mtime":1616578515558,"results":"422","hashOfConfig":"321"},{"size":628,"mtime":1589355169356,"results":"423","hashOfConfig":"321"},{"size":1111,"mtime":1616578580031,"results":"424","hashOfConfig":"321"},{"size":4246,"mtime":1615016304009,"results":"425","hashOfConfig":"321"},{"size":70,"mtime":1589355169356,"results":"426","hashOfConfig":"321"},{"size":585,"mtime":1616578599015,"results":"427","hashOfConfig":"321"},{"size":1466,"mtime":1615016304009,"results":"428","hashOfConfig":"321"},{"size":3765,"mtime":1614429642124,"results":"429","hashOfConfig":"321"},{"size":322,"mtime":1605363070988,"results":"430","hashOfConfig":"321"},{"size":206,"mtime":1605362494659,"results":"431","hashOfConfig":"321"},{"size":265,"mtime":1605362164694,"results":"432","hashOfConfig":"321"},{"size":237,"mtime":1615016304009,"results":"433","hashOfConfig":"321"},{"size":319,"mtime":1617600711131,"results":"434","hashOfConfig":"321"},{"size":1338,"mtime":1615016304009,"results":"435","hashOfConfig":"321"},{"size":356,"mtime":1614499402766,"results":"436","hashOfConfig":"321"},{"size":15439,"mtime":1617599972143,"results":"437","hashOfConfig":"321"},{"size":4035,"mtime":1617600634743,"results":"438","hashOfConfig":"321"},{"size":4871,"mtime":1615266395614,"results":"439","hashOfConfig":"321"},{"size":5675,"mtime":1616656161690,"results":"440","hashOfConfig":"321"},{"size":781,"mtime":1617600445388,"results":"441","hashOfConfig":"321"},{"size":146,"mtime":1589355169360,"results":"442","hashOfConfig":"321"},{"size":1069,"mtime":1617599708369,"results":"443","hashOfConfig":"321"},{"size":288,"mtime":1589355169360,"results":"444","hashOfConfig":"321"},{"size":6685,"mtime":1617599481866,"results":"445","hashOfConfig":"321"},{"size":54,"mtime":1589355169360,"results":"446","hashOfConfig":"321"},{"size":131,"mtime":1589355169360,"results":"447","hashOfConfig":"321"},{"size":137,"mtime":1589355169360,"results":"448","hashOfConfig":"321"},{"size":2057,"mtime":1617556101566,"results":"449","hashOfConfig":"321"},{"size":2657,"mtime":1615445259975,"results":"450","hashOfConfig":"321"},{"size":8033,"mtime":1617599465842,"results":"451","hashOfConfig":"321"},{"size":866,"mtime":1616321316949,"results":"452","hashOfConfig":"321"},{"size":12504,"mtime":1617601964139,"results":"453","hashOfConfig":"321"},{"size":3702,"mtime":1617599353515,"results":"454","hashOfConfig":"321"},{"size":8882,"mtime":1617600438208,"results":"455","hashOfConfig":"321"},{"size":24244,"mtime":1617556285451,"results":"456","hashOfConfig":"321"},{"size":1253,"mtime":1617555884677,"results":"457","hashOfConfig":"321"},{"size":1340,"mtime":1615016304009,"results":"458","hashOfConfig":"321"},{"size":1153,"mtime":1615016304009,"results":"459","hashOfConfig":"321"},{"size":462,"mtime":1617555838913,"results":"460","hashOfConfig":"321"},{"size":7292,"mtime":1617600189646,"results":"461","hashOfConfig":"321"},{"size":7017,"mtime":1615669921705,"results":"462","hashOfConfig":"321"},{"size":481,"mtime":1615451538918,"results":"463","hashOfConfig":"321"},{"size":3474,"mtime":1615453445063,"results":"464","hashOfConfig":"321"},{"size":3505,"mtime":1615453461851,"results":"465","hashOfConfig":"321"},{"size":827,"mtime":1615669693180,"results":"466","hashOfConfig":"321"},{"size":809,"mtime":1617555231959,"results":"467","hashOfConfig":"321"},{"size":714,"mtime":1617555169863,"results":"468","hashOfConfig":"321"},{"size":3057,"mtime":1617555169923,"results":"469","hashOfConfig":"321"},{"size":828,"mtime":1617555169923,"results":"470","hashOfConfig":"321"},{"size":1582,"mtime":1617555114259,"results":"471","hashOfConfig":"321"},{"size":2047,"mtime":1617555147575,"results":"472","hashOfConfig":"321"},{"size":2006,"mtime":1615440904419,"results":"473","hashOfConfig":"321"},{"size":3596,"mtime":1616321286356,"results":"474","hashOfConfig":"321"},{"size":2203,"mtime":1616611264561,"results":"475","hashOfConfig":"321"},{"size":596,"mtime":1617555066575,"results":"476","hashOfConfig":"321"},{"size":3455,"mtime":1617555047307,"results":"477","hashOfConfig":"321"},{"size":456,"mtime":1617553507342,"results":"478","hashOfConfig":"321"},{"size":10041,"mtime":1617554900695,"results":"479","hashOfConfig":"321"},{"size":1709,"mtime":1617554872123,"results":"480","hashOfConfig":"321"},{"size":735,"mtime":1617553507342,"results":"481","hashOfConfig":"321"},{"size":454,"mtime":1617553507342,"results":"482","hashOfConfig":"321"},{"size":443,"mtime":1617553507342,"results":"483","hashOfConfig":"321"},{"size":443,"mtime":1617553507342,"results":"484","hashOfConfig":"321"},{"size":443,"mtime":1617553507342,"results":"485","hashOfConfig":"321"},{"size":9575,"mtime":1617554834583,"results":"486","hashOfConfig":"321"},{"size":466,"mtime":1617553507342,"results":"487","hashOfConfig":"321"},{"size":12845,"mtime":1617554473773,"results":"488","hashOfConfig":"321"},{"size":635,"mtime":1617553507346,"results":"489","hashOfConfig":"321"},{"size":672,"mtime":1617553507346,"results":"490","hashOfConfig":"321"},{"size":222,"mtime":1617553507346,"results":"491","hashOfConfig":"321"},{"size":756,"mtime":1617553507346,"results":"492","hashOfConfig":"321"},{"size":486,"mtime":1617553507346,"results":"493","hashOfConfig":"321"},{"size":283,"mtime":1617553507346,"results":"494","hashOfConfig":"321"},{"size":6281,"mtime":1617553507346,"results":"495","hashOfConfig":"321"},{"size":4915,"mtime":1617553507346,"results":"496","hashOfConfig":"321"},{"size":524,"mtime":1617553507346,"results":"497","hashOfConfig":"321"},{"size":2900,"mtime":1617553507346,"results":"498","hashOfConfig":"321"},{"size":715,"mtime":1617553507346,"results":"499","hashOfConfig":"321"},{"size":653,"mtime":1617553507346,"results":"500","hashOfConfig":"321"},{"size":500,"mtime":1617553507346,"results":"501","hashOfConfig":"321"},{"size":587,"mtime":1617553507346,"results":"502","hashOfConfig":"321"},{"size":38,"mtime":1617553507346,"results":"503","hashOfConfig":"321"},{"size":70,"mtime":1617553507346,"results":"504","hashOfConfig":"321"},{"size":640,"mtime":1617553507346,"results":"505","hashOfConfig":"321"},{"size":13335,"mtime":1617554784111,"results":"506","hashOfConfig":"321"},{"size":19240,"mtime":1617554738730,"results":"507","hashOfConfig":"321"},{"size":4151,"mtime":1617553507346,"results":"508","hashOfConfig":"321"},{"size":7585,"mtime":1617554303175,"results":"509","hashOfConfig":"321"},{"size":3393,"mtime":1617553507346,"results":"510","hashOfConfig":"321"},{"size":353,"mtime":1617554724062,"results":"511","hashOfConfig":"321"},{"size":4091,"mtime":1617554701602,"results":"512","hashOfConfig":"321"},{"size":1826,"mtime":1617553507350,"results":"513","hashOfConfig":"321"},{"size":26537,"mtime":1592895524243,"results":"514","hashOfConfig":"319"},{"size":26790,"mtime":1592895524243,"results":"515","hashOfConfig":"319"},{"size":328,"mtime":1589355169368,"results":"516","hashOfConfig":"319"},{"size":520,"mtime":1589355169368,"results":"517","hashOfConfig":"319"},{"size":2376,"mtime":1616612548045,"results":"518","hashOfConfig":"321"},{"size":3061,"mtime":1615016319417,"results":"519","hashOfConfig":"319"},{"size":975,"mtime":1616612548049,"results":"520","hashOfConfig":"321"},{"size":8524,"mtime":1615016319421,"results":"521","hashOfConfig":"319"},{"size":672,"mtime":1616612548049,"results":"522","hashOfConfig":"321"},{"size":4717,"mtime":1615016319421,"results":"523","hashOfConfig":"319"},{"size":799,"mtime":1616612548045,"results":"524","hashOfConfig":"321"},{"size":1703,"mtime":1615016319417,"results":"525","hashOfConfig":"319"},{"size":732,"mtime":1616612548053,"results":"526","hashOfConfig":"321"},{"size":2432,"mtime":1615016319425,"results":"527","hashOfConfig":"319"},{"size":1895,"mtime":1616612548049,"results":"528","hashOfConfig":"321"},{"size":3102,"mtime":1615016319421,"results":"529","hashOfConfig":"319"},{"size":1638,"mtime":1616612548049,"results":"530","hashOfConfig":"321"},{"size":3073,"mtime":1615016319421,"results":"531","hashOfConfig":"319"},{"size":6466,"mtime":1616612548045,"results":"532","hashOfConfig":"321"},{"size":11966,"mtime":1615016319417,"results":"533","hashOfConfig":"319"},{"size":1091,"mtime":1616612548049,"results":"534","hashOfConfig":"321"},{"size":1700,"mtime":1615016319421,"results":"535","hashOfConfig":"319"},{"size":410,"mtime":1616612548053,"results":"536","hashOfConfig":"321"},{"size":808,"mtime":1615016319425,"results":"537","hashOfConfig":"319"},{"size":799,"mtime":1616612548053,"results":"538","hashOfConfig":"321"},{"size":1704,"mtime":1615016319425,"results":"539","hashOfConfig":"319"},{"size":528,"mtime":1616612548053,"results":"540","hashOfConfig":"321"},{"size":1329,"mtime":1615016319425,"results":"541","hashOfConfig":"319"},{"size":461,"mtime":1616612548049,"results":"542","hashOfConfig":"321"},{"size":1934,"mtime":1615016319425,"results":"543","hashOfConfig":"319"},{"size":255,"mtime":1616612548049,"results":"544","hashOfConfig":"321"},{"size":610,"mtime":1615016319421,"results":"545","hashOfConfig":"319"},{"size":766,"mtime":1616612548049,"results":"546","hashOfConfig":"321"},{"size":939,"mtime":1615016319425,"results":"547","hashOfConfig":"319"},{"size":3492,"mtime":1616481951528,"results":"548","hashOfConfig":"321"},{"size":8036,"mtime":1616480153768,"results":"549","hashOfConfig":"321"},{"size":4381,"mtime":1616480068995,"results":"550","hashOfConfig":"321"},{"size":1545,"mtime":1616477647562,"results":"551","hashOfConfig":"321"},{"size":732,"mtime":1590268182382,"results":"552","hashOfConfig":"321"},{"size":3203,"mtime":1616481743107,"results":"553","hashOfConfig":"321"},{"size":2871,"mtime":1616481691143,"results":"554","hashOfConfig":"321"},{"size":16081,"mtime":1616481520553,"results":"555","hashOfConfig":"321"},{"size":1703,"mtime":1616481546801,"results":"556","hashOfConfig":"321"},{"size":622,"mtime":1616481399092,"results":"557","hashOfConfig":"321"},{"size":1546,"mtime":1616480120396,"results":"558","hashOfConfig":"321"},{"size":776,"mtime":1616481361064,"results":"559","hashOfConfig":"321"},{"size":744,"mtime":1616481334020,"results":"560","hashOfConfig":"321"},{"size":384,"mtime":1589355169368,"results":"561","hashOfConfig":"321"},{"size":1000,"mtime":1616481320324,"results":"562","hashOfConfig":"321"},{"size":8648,"mtime":1607935323195,"results":"563","hashOfConfig":"319"},{"size":1148,"mtime":1589355169368,"results":"564","hashOfConfig":"319"},{"size":38,"mtime":1589355169368,"results":"565","hashOfConfig":"321"},{"size":714,"mtime":1616481171414,"results":"566","hashOfConfig":"321"},{"size":17187,"mtime":1616611096124,"results":"567","hashOfConfig":"321"},{"size":3216,"mtime":1616476096369,"results":"568","hashOfConfig":"321"},{"size":301,"mtime":1616481148994,"results":"569","hashOfConfig":"321"},{"size":666,"mtime":1616475876585,"results":"570","hashOfConfig":"321"},{"size":674,"mtime":1616475765517,"results":"571","hashOfConfig":"321"},{"size":3709,"mtime":1616475792993,"results":"572","hashOfConfig":"321"},{"size":705,"mtime":1616481061697,"results":"573","hashOfConfig":"321"},{"size":653,"mtime":1616481012893,"results":"574","hashOfConfig":"321"},{"size":220,"mtime":1616612495368,"results":"575","hashOfConfig":"321"},{"size":134,"mtime":1616480781827,"results":"576","hashOfConfig":"321"},{"size":604,"mtime":1616480354581,"results":"577","hashOfConfig":"321"},{"size":207,"mtime":1616480186020,"results":"578","hashOfConfig":"321"},{"size":8301,"mtime":1616611365850,"results":"579","hashOfConfig":"321"},{"size":382,"mtime":1616438218596,"results":"580","hashOfConfig":"321"},{"size":1581,"mtime":1616438377944,"results":"581","hashOfConfig":"321"},{"size":786,"mtime":1616438386632,"results":"582","hashOfConfig":"321"},{"size":681,"mtime":1616438517873,"results":"583","hashOfConfig":"321"},{"size":3038,"mtime":1616659523085,"results":"584","hashOfConfig":"321"},{"size":3325,"mtime":1616611135100,"results":"585","hashOfConfig":"321"},{"size":2953,"mtime":1616611163044,"results":"586","hashOfConfig":"321"},{"size":1507,"mtime":1616399967245,"results":"587","hashOfConfig":"321"},{"size":814,"mtime":1616399940117,"results":"588","hashOfConfig":"321"},{"size":728,"mtime":1616399887647,"results":"589","hashOfConfig":"321"},{"size":161,"mtime":1616399866030,"results":"590","hashOfConfig":"321"},{"size":1017,"mtime":1616399851086,"results":"591","hashOfConfig":"321"},{"size":5634,"mtime":1616399621662,"results":"592","hashOfConfig":"321"},{"size":1056,"mtime":1615527475111,"results":"593","hashOfConfig":"321"},{"size":402,"mtime":1616399599850,"results":"594","hashOfConfig":"321"},{"size":737,"mtime":1615526584954,"results":"595","hashOfConfig":"321"},{"size":3623,"mtime":1615620459753,"results":"596","hashOfConfig":"321"},{"size":409,"mtime":1616399549106,"results":"597","hashOfConfig":"321"},{"size":523,"mtime":1616399512674,"results":"598","hashOfConfig":"321"},{"size":1334,"mtime":1616399772154,"results":"599","hashOfConfig":"321"},{"size":470,"mtime":1616611017911,"results":"600","hashOfConfig":"321"},{"size":197,"mtime":1615267543806,"results":"601","hashOfConfig":"321"},{"size":1313,"mtime":1615115584497,"results":"602","hashOfConfig":"321"},{"size":2843,"mtime":1615531155537,"results":"603","hashOfConfig":"321"},{"size":1049,"mtime":1615098670209,"results":"604","hashOfConfig":"321"},{"size":653,"mtime":1615020746495,"results":"605","hashOfConfig":"321"},{"size":1032,"mtime":1616610949039,"results":"606","hashOfConfig":"321"},{"size":1986,"mtime":1615020694550,"results":"607","hashOfConfig":"321"},{"size":9242,"mtime":1615019574567,"results":"608","hashOfConfig":"321"},{"size":792,"mtime":1615019489719,"results":"609","hashOfConfig":"321"},{"size":512,"mtime":1615925127933,"results":"610","hashOfConfig":"321"},{"size":6742,"mtime":1615539134108,"results":"611","hashOfConfig":"321"},{"size":1736,"mtime":1615525156530,"results":"612","hashOfConfig":"321"},{"size":914,"mtime":1615522160737,"results":"613","hashOfConfig":"321"},{"size":4439,"mtime":1616315201027,"results":"614","hashOfConfig":"321"},{"size":1785,"mtime":1615925003652,"results":"615","hashOfConfig":"321"},{"size":4990,"mtime":1615526838431,"results":"616","hashOfConfig":"321"},{"size":1161,"mtime":1615453531080,"results":"617","hashOfConfig":"321"},{"size":502,"mtime":1615519822964,"results":"618","hashOfConfig":"321"},{"size":722,"mtime":1615017862160,"results":"619","hashOfConfig":"321"},{"size":4779,"mtime":1616398507378,"results":"620","hashOfConfig":"321"},{"size":115,"mtime":1607674671320,"results":"621","hashOfConfig":"321"},{"size":213,"mtime":1607674671320,"results":"622","hashOfConfig":"321"},{"size":113,"mtime":1607674671320,"results":"623","hashOfConfig":"321"},{"size":121,"mtime":1607674671320,"results":"624","hashOfConfig":"321"},{"size":1178,"mtime":1615016980191,"results":"625","hashOfConfig":"321"},{"size":2397,"mtime":1615016999476,"results":"626","hashOfConfig":"321"},{"size":4489,"mtime":1615016909522,"results":"627","hashOfConfig":"321"},{"size":7596,"mtime":1615016797094,"results":"628","hashOfConfig":"321"},{"size":425,"mtime":1607674671320,"results":"629","hashOfConfig":"321"},{"size":8327,"mtime":1615016700017,"results":"630","hashOfConfig":"321"},{"size":362,"mtime":1615016502829,"results":"631","hashOfConfig":"321"},{"size":360,"mtime":1615016737238,"results":"632","hashOfConfig":"321"},{"size":403,"mtime":1615015101988,"results":"633","hashOfConfig":"321"},{"size":2707,"mtime":1615016472001,"results":"634","hashOfConfig":"321"},{"size":6587,"mtime":1615016351529,"results":"635","hashOfConfig":"321"},{"size":4708,"mtime":1617553960888,"results":"636","hashOfConfig":"321"},{"filePath":"637","messages":"638","errorCount":1,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"639"},"1h86qyx",{"filePath":"640","messages":"641","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1vo0lwm",{"filePath":"642","messages":"643","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"644","messages":"645","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"646","messages":"647","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"648","messages":"649","errorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":"650"},{"filePath":"651","messages":"652","errorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":"653"},{"filePath":"654","messages":"655","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"656","messages":"657","errorCount":0,"warningCount":20,"fixableErrorCount":0,"fixableWarningCount":0,"source":"658"},{"filePath":"659","messages":"660","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"661"},{"filePath":"662","messages":"663","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"664"},{"filePath":"665","messages":"666","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"667","messages":"668","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"669","messages":"670","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"671"},{"filePath":"672","messages":"673","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"674","messages":"675","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"676","messages":"677","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"678","messages":"679","errorCount":0,"warningCount":5,"fixableErrorCount":0,"fixableWarningCount":0,"source":"680"},{"filePath":"681","messages":"682","errorCount":3,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"683"},{"filePath":"684","messages":"685","errorCount":1,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":"686"},{"filePath":"687","messages":"688","errorCount":8,"warningCount":6,"fixableErrorCount":0,"fixableWarningCount":0,"source":"689"},{"filePath":"690","messages":"691","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":"692"},{"filePath":"693","messages":"694","errorCount":1,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"695","messages":"696","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"697","messages":"698","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":"699"},{"filePath":"700","messages":"701","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"702","messages":"703","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"704","messages":"705","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":"706"},{"filePath":"707","messages":"708","errorCount":350,"warningCount":48,"fixableErrorCount":0,"fixableWarningCount":0,"source":"709"},{"filePath":"710","messages":"711","errorCount":1,"warningCount":8,"fixableErrorCount":0,"fixableWarningCount":0,"source":"712"},{"filePath":"713","messages":"714","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"715","messages":"716","errorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"717","messages":"718","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"719"},{"filePath":"720","messages":"721","errorCount":0,"warningCount":5,"fixableErrorCount":0,"fixableWarningCount":0,"source":"722"},{"filePath":"723","messages":"724","errorCount":0,"warningCount":44,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"725","messages":"726","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"727","messages":"728","errorCount":1,"warningCount":10,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"729","messages":"730","errorCount":0,"warningCount":9,"fixableErrorCount":0,"fixableWarningCount":0,"source":"731"},{"filePath":"732","messages":"733","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":"734"},{"filePath":"735","messages":"736","errorCount":0,"warningCount":6,"fixableErrorCount":0,"fixableWarningCount":0,"source":"737"},{"filePath":"738","messages":"739","errorCount":0,"warningCount":6,"fixableErrorCount":0,"fixableWarningCount":0,"source":"740"},{"filePath":"741","messages":"742","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":"743"},{"filePath":"744","messages":"745","errorCount":0,"warningCount":6,"fixableErrorCount":0,"fixableWarningCount":0,"source":"746"},{"filePath":"747","messages":"748","errorCount":0,"warningCount":12,"fixableErrorCount":0,"fixableWarningCount":0,"source":"749"},{"filePath":"750","messages":"751","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"752","messages":"753","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":"754"},{"filePath":"755","messages":"756","errorCount":0,"warningCount":6,"fixableErrorCount":0,"fixableWarningCount":0,"source":"757"},{"filePath":"758","messages":"759","errorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":"760"},{"filePath":"761","messages":"762","errorCount":0,"warningCount":5,"fixableErrorCount":0,"fixableWarningCount":0,"source":"763"},{"filePath":"764","messages":"765","errorCount":0,"warningCount":6,"fixableErrorCount":0,"fixableWarningCount":0,"source":"766"},{"filePath":"767","messages":"768","errorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":"769"},{"filePath":"770","messages":"771","errorCount":0,"warningCount":5,"fixableErrorCount":0,"fixableWarningCount":0,"source":"772"},{"filePath":"773","messages":"774","errorCount":0,"warningCount":14,"fixableErrorCount":0,"fixableWarningCount":0,"source":"775"},{"filePath":"776","messages":"777","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"778","messages":"779","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"780","messages":"781","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"782","messages":"783","errorCount":0,"warningCount":17,"fixableErrorCount":0,"fixableWarningCount":0,"source":"784"},{"filePath":"785","messages":"786","errorCount":0,"warningCount":10,"fixableErrorCount":0,"fixableWarningCount":0,"source":"787"},{"filePath":"788","messages":"789","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"790","messages":"791","errorCount":0,"warningCount":11,"fixableErrorCount":0,"fixableWarningCount":0,"source":"792"},{"filePath":"793","messages":"794","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"795","messages":"796","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"797"},{"filePath":"798","messages":"799","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"800","messages":"801","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"802"},{"filePath":"803","messages":"804","errorCount":1,"warningCount":29,"fixableErrorCount":0,"fixableWarningCount":0,"source":"805"},{"filePath":"806","messages":"807","errorCount":3,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"808"},{"filePath":"809","messages":"810","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"811"},{"filePath":"812","messages":"813","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":"814"},{"filePath":"815","messages":"816","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"817"},{"filePath":"818","messages":"819","errorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":"820"},{"filePath":"821","messages":"822","errorCount":0,"warningCount":5,"fixableErrorCount":0,"fixableWarningCount":0,"source":"823"},{"filePath":"824","messages":"825","errorCount":0,"warningCount":17,"fixableErrorCount":0,"fixableWarningCount":0,"source":"826"},{"filePath":"827","messages":"828","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"829","messages":"830","errorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":"831"},{"filePath":"832","messages":"833","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"834"},{"filePath":"835","messages":"836","errorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":"837"},{"filePath":"838","messages":"839","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"840","messages":"841","errorCount":0,"warningCount":9,"fixableErrorCount":0,"fixableWarningCount":0,"source":"842"},{"filePath":"843","messages":"844","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"845"},{"filePath":"846","messages":"847","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"848","messages":"849","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":"850"},{"filePath":"851","messages":"852","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"853","messages":"854","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"855","messages":"856","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"857","messages":"858","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"859","messages":"860","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"861","messages":"862","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"863","messages":"864","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"865","messages":"866","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"867","messages":"868","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"869","messages":"870","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"871","messages":"872","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"873","messages":"874","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"875","messages":"876","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"877","messages":"878","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"879","messages":"880","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"881","messages":"882","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"883","messages":"884","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"885","messages":"886","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"887","messages":"888","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"889","messages":"890","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"891","messages":"892","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"893"},{"filePath":"894","messages":"895","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"896","messages":"897","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"898","messages":"899","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"900"},{"filePath":"901","messages":"902","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"903"},{"filePath":"904","messages":"905","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"906","messages":"907","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"908","messages":"909","errorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":"910"},{"filePath":"911","messages":"912","errorCount":0,"warningCount":206,"fixableErrorCount":0,"fixableWarningCount":0,"source":"913"},{"filePath":"914","messages":"915","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"916"},{"filePath":"917","messages":"918","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"919"},{"filePath":"920","messages":"921","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"922"},{"filePath":"923","messages":"924","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"925"},{"filePath":"926","messages":"927","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":"928"},{"filePath":"929","messages":"930","errorCount":0,"warningCount":7,"fixableErrorCount":0,"fixableWarningCount":0,"source":"931"},{"filePath":"932","messages":"933","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"934"},{"filePath":"935","messages":"936","errorCount":0,"warningCount":53,"fixableErrorCount":0,"fixableWarningCount":0,"source":"937"},{"filePath":"938","messages":"939","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"940"},{"filePath":"941","messages":"942","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"943","messages":"944","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"945","messages":"946","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":"947"},{"filePath":"948","messages":"949","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":"950"},{"filePath":"951","messages":"952","errorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":"953"},{"filePath":"954","messages":"955","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"956"},{"filePath":"957","messages":"958","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"959"},{"filePath":"960","messages":"961","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"962","messages":"963","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"964","messages":"965","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":"966"},{"filePath":"967","messages":"968","errorCount":0,"warningCount":17,"fixableErrorCount":0,"fixableWarningCount":0,"source":"969"},{"filePath":"970","messages":"971","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"972","messages":"973","errorCount":0,"warningCount":26,"fixableErrorCount":0,"fixableWarningCount":0,"source":"974"},{"filePath":"975","messages":"976","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"977","messages":"978","errorCount":0,"warningCount":42,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"979","messages":"980","errorCount":0,"warningCount":5,"fixableErrorCount":0,"fixableWarningCount":0,"source":"981"},{"filePath":"982","messages":"983","errorCount":0,"warningCount":46,"fixableErrorCount":0,"fixableWarningCount":0,"source":"984"},{"filePath":"985","messages":"986","errorCount":0,"warningCount":40,"fixableErrorCount":0,"fixableWarningCount":0,"source":"987"},{"filePath":"988","messages":"989","errorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":"990"},{"filePath":"991","messages":"992","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":"993"},{"filePath":"994","messages":"995","errorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":"996"},{"filePath":"997","messages":"998","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"999"},{"filePath":"1000","messages":"1001","errorCount":0,"warningCount":24,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1002"},{"filePath":"1003","messages":"1004","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1005","messages":"1006","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1007","messages":"1008","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1009","messages":"1010","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1011"},{"filePath":"1012","messages":"1013","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1014","messages":"1015","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1016"},{"filePath":"1017","messages":"1018","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1019"},{"filePath":"1020","messages":"1021","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1022"},{"filePath":"1023","messages":"1024","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1025"},{"filePath":"1026","messages":"1027","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1028"},{"filePath":"1029","messages":"1030","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1031","messages":"1032","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1033","messages":"1034","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1035","messages":"1036","errorCount":0,"warningCount":5,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1037"},{"filePath":"1038","messages":"1039","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1040"},{"filePath":"1041","messages":"1042","errorCount":0,"warningCount":11,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1043"},{"filePath":"1044","messages":"1045","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1046"},{"filePath":"1047","messages":"1048","errorCount":0,"warningCount":10,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1049"},{"filePath":"1050","messages":"1051","errorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1052"},{"filePath":"1053","messages":"1054","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1055"},{"filePath":"1056","messages":"1057","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1058","messages":"1059","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1060"},{"filePath":"1061","messages":"1062","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1063"},{"filePath":"1064","messages":"1065","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1066"},{"filePath":"1067","messages":"1068","errorCount":0,"warningCount":41,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1069"},{"filePath":"1070","messages":"1071","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1072","messages":"1073","errorCount":0,"warningCount":23,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1074"},{"filePath":"1075","messages":"1076","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1077"},{"filePath":"1078","messages":"1079","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1080"},{"filePath":"1081","messages":"1082","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1083","messages":"1084","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1085"},{"filePath":"1086","messages":"1087","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1088"},{"filePath":"1089","messages":"1090","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1091","messages":"1092","errorCount":0,"warningCount":11,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1093"},{"filePath":"1094","messages":"1095","errorCount":0,"warningCount":15,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1096"},{"filePath":"1097","messages":"1098","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1099","messages":"1100","errorCount":0,"warningCount":26,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1101"},{"filePath":"1102","messages":"1103","errorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1104"},{"filePath":"1105","messages":"1106","errorCount":0,"warningCount":7,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1107"},{"filePath":"1108","messages":"1109","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1110"},{"filePath":"1111","messages":"1112","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1113"},{"filePath":"1114","messages":"1115","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1116","messages":"1117","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1118","messages":"1119","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1120","messages":"1121","errorCount":0,"warningCount":21,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1122"},{"filePath":"1123","messages":"1124","errorCount":0,"warningCount":20,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1125"},{"filePath":"1126","messages":"1127","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1128"},{"filePath":"1129","messages":"1130","errorCount":0,"warningCount":10,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1131"},{"filePath":"1132","messages":"1133","errorCount":0,"warningCount":10,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1134"},{"filePath":"1135","messages":"1136","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1137","messages":"1138","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1139"},{"filePath":"1140","messages":"1141","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1142"},{"filePath":"1143","messages":"1144","errorCount":39,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1145"},{"filePath":"1146","messages":"1147","errorCount":40,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1148"},{"filePath":"1149","messages":"1150","errorCount":4,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1151"},{"filePath":"1152","messages":"1153","errorCount":5,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1154"},{"filePath":"1155","messages":"1156","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1157","messages":"1158","errorCount":8,"warningCount":0,"fixableErrorCount":1,"fixableWarningCount":0,"source":"1159"},{"filePath":"1160","messages":"1161","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1162","messages":"1163","errorCount":23,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1164"},{"filePath":"1165","messages":"1166","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1167","messages":"1168","errorCount":11,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1169"},{"filePath":"1170","messages":"1171","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1172","messages":"1173","errorCount":6,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1174"},{"filePath":"1175","messages":"1176","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1177","messages":"1178","errorCount":27,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1179"},{"filePath":"1180","messages":"1181","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1182","messages":"1183","errorCount":10,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1184"},{"filePath":"1185","messages":"1186","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1187","messages":"1188","errorCount":7,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1189"},{"filePath":"1190","messages":"1191","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1192","messages":"1193","errorCount":14,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1194"},{"filePath":"1195","messages":"1196","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1197","messages":"1198","errorCount":16,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1199"},{"filePath":"1200","messages":"1201","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1202","messages":"1203","errorCount":10,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1204"},{"filePath":"1205","messages":"1206","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1207","messages":"1208","errorCount":6,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1209"},{"filePath":"1210","messages":"1211","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1212","messages":"1213","errorCount":23,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1214"},{"filePath":"1215","messages":"1216","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1217","messages":"1218","errorCount":7,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1219"},{"filePath":"1220","messages":"1221","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1222","messages":"1223","errorCount":6,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1224"},{"filePath":"1225","messages":"1226","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1227","messages":"1228","errorCount":4,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1229"},{"filePath":"1230","messages":"1231","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1232","messages":"1233","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1234","messages":"1235","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1236","messages":"1237","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1238","messages":"1239","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1240","messages":"1241","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1242","messages":"1243","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1244","messages":"1245","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1246","messages":"1247","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1248","messages":"1249","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1250","messages":"1251","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1252","messages":"1253","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1254","messages":"1255","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1256","messages":"1257","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1258","messages":"1259","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1260","messages":"1261","errorCount":31,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1262"},{"filePath":"1263","messages":"1264","errorCount":2,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1265"},{"filePath":"1266","messages":"1267","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1268"},{"filePath":"1269","messages":"1270","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1271","messages":"1272","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1273","messages":"1274","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1275","messages":"1276","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1277","messages":"1278","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1279","messages":"1280","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1281","messages":"1282","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1283","messages":"1284","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1285","messages":"1286","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1287","messages":"1288","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1289","messages":"1290","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1291","messages":"1292","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1293","messages":"1294","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1295","messages":"1296","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1297","messages":"1298","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1299","messages":"1300","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1301","messages":"1302","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1303","messages":"1304","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1305","messages":"1306","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1307","messages":"1308","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1309","messages":"1310","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1311","messages":"1312","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1313","messages":"1314","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1315","messages":"1316","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1317","messages":"1318","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1319","messages":"1320","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1321","messages":"1322","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1323","messages":"1324","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1325","messages":"1326","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1327","messages":"1328","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1329","messages":"1330","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1331","messages":"1332","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1333","messages":"1334","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1335","messages":"1336","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1337","messages":"1338","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1339","messages":"1340","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1341","messages":"1342","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1343","messages":"1344","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1345","messages":"1346","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1347","messages":"1348","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1349","messages":"1350","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1351","messages":"1352","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1353","messages":"1354","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1355","messages":"1356","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1357","messages":"1358","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1359","messages":"1360","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1361","messages":"1362","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1363","messages":"1364","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1365","messages":"1366","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1367","messages":"1368","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1369","messages":"1370","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1371","messages":"1372","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1373","messages":"1374","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1375","messages":"1376","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1377","messages":"1378","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1379","messages":"1380","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1381","messages":"1382","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1383","messages":"1384","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1385","messages":"1386","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1387","messages":"1388","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1389","messages":"1390","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1391","messages":"1392","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1393","messages":"1394","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1395","messages":"1396","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1397","messages":"1398","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1399","messages":"1400","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1401","messages":"1402","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1403","messages":"1404","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1405","messages":"1406","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1407","messages":"1408","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"1409","messages":"1410","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"1411"},"/root/akala/.eslintrc.js",["1412"],"module.exports = {\n root: true,\n parser: '@typescript-eslint/parser',\n plugins: [\n '@typescript-eslint',\n ],\n extends: [\n 'eslint:recommended',\n \"plugin:@typescript-eslint/eslint-recommended\",\n \"plugin:@typescript-eslint/recommended\",\n ],\n settings: {\n \"import/parsers\": {\n \"@typescript-eslint/parser\": [\n \".ts\",\n \".tsx\"\n ]\n },\n \"import/resolver\": {\n \"typescript\": {}\n }\n },\n};","/root/akala/packages/authentication/src/model/access-token.ts",[],"/root/akala/packages/authentication/src/model/authorization-code.ts",[],"/root/akala/packages/authentication/src/model/client.ts",[],"/root/akala/packages/authentication/src/model/user.ts",[],"/root/akala/packages/authentication/src/server/authentication-store.ts",["1413","1414","1415","1416"],"import { DbSet, StoreDefinition, PersistenceEngine, Store } from '@akala/storage';\nimport { AuthorizationCode } from '../model/authorization-code';\nimport { AccessToken } from '../model/access-token';\nimport { Client } from '../model/client';\nimport { User } from '../model/user';\nimport * as akala from '@akala/core';\nimport { providers } from '@akala/storage';\n\nexport class AuthenticationStore implements StoreDefinition\n{\n AuthorizationCode: DbSet;\n AccessToken: DbSet;\n Client: DbSet;\n User: DbSet;\n\n [key: string]: DbSet;\n public static async create(engine?: PersistenceEngine)\n {\n if (!engine)\n engine = await provider;\n return Store.create(engine, 'AuthorizationCode', 'AccessToken', 'Client', 'User');\n }\n}\n\nexport var provider = akala.defaultInjector.injectWithNameAsync(['$config.@akala-modules/authentication.storage.provider', '$config.@akala-modules/authentication.storage.options'], async function (providerConfig, options)\n{\n const provider = new (providers.resolve PersistenceEngine>(providerConfig));\n await provider.init(options);\n\n return provider;\n})\n\n","/root/akala/packages/authentication/src/server/commands/$init.ts",["1417","1418","1419","1420"],"import { Container } from \"@akala/commands\";\nimport { State } from \"../state\";\nimport { AuthenticationStore } from \"../authentication-store\";\nimport { PersistenceEngine, providers } from \"@akala/storage\";\n\nexport default async function (container: Container, providerName: string, options: any)\n{\n const provider = new (providers.resolve PersistenceEngine>(providerName));\n await provider.init(options);\n\n container.state.store = await AuthenticationStore.create(provider);\n}","/root/akala/packages/authentication/src/server/index.ts",[],"/root/akala/packages/authentication/src/server/master.ts",["1421","1422","1423","1424","1425","1426","1427","1428","1429","1430","1431","1432","1433","1434","1435","1436","1437","1438","1439","1440"],"import * as akala from '@akala/core'\nimport * as web from '@akala/server'\nimport * as oauth2orize from 'oauth2orize'\nimport { AuthorizationCode } from '../model/authorization-code';\nimport { expressions } from '@akala/storage';\nimport { AuthenticationStore } from './authentication-store'\nimport * as uuid from 'uuid'\nimport { Client } from '../model/client';\nimport { User } from '../model/user';\nimport { AccessToken } from '../model/access-token';\nimport * as passport from 'passport'\nimport { ensureLoggedIn } from 'connect-ensure-login'\nimport { promises as fs } from 'fs';\n\n\n\nimport * as crypto from 'crypto'\nimport * as bodyParser from 'co-body';\nimport '../model/authorization-code';\nimport '../model/access-token';\nimport '../model/client';\nimport '../model/user';\nimport { Middleware, MiddlewareComposite, MiddlewarePromise, MiddlewareRoute, Routable } from '@akala/core';\nimport { BasicAuthenticateMiddleware } from './middlewares/authenticate';\n\nconst hash = akala.defaultInjector.injectWithNameAsync(['$config.@akala-modules/authentication.secret'], function (secret)\n{\n return function hash(s: string)\n {\n const hash = crypto.createHmac('sha256', secret || 'pwet');\n hash.update(s);\n return hash.digest('hex');\n }\n});\n\ninterface LoginOptions\n{\n session?: boolean;\n}\n\ndeclare module '@akala/server'\n{\n interface Request\n {\n login(user: T, options?: LoginOptions): Promise;\n user?: { password?: string, id?: string };\n }\n}\n\nexport * from './middlewares/authenticate'\nexport * from './middlewares/authorize'\nexport * from './middlewares/Authorize401ChallengeFormatter'\nexport * from './middlewares/AuthorizeRedirectFormatter'\nexport * from './middlewares/grant'","/root/akala/packages/authentication/src/server/middlewares/Authorize401ChallengeFormatter.ts",["1441"],"import { ErrorMiddleware, MiddlewarePromise } from \"@akala/core\";\nimport { Request, Response } from \"@akala/server\";\nimport { AuthorizeErrorCode } from \"./authorize\";\n\n\nexport class Authorize401ChallengeFormatter implements ErrorMiddleware<[Request, Response]>\n{\n constructor(private authenticateChallenges: string[])\n {\n }\n\n handleError(error: Error & { code?: string; }, _req, res: Response): MiddlewarePromise\n {\n if (error && error.code === AuthorizeErrorCode)\n {\n res.writeHead(401, \"Unothorized\", { 'www-authenticate': this.authenticateChallenges });\n res.end();\n return Promise.reject(res);\n }\n return Promise.resolve();\n }\n}\n","/root/akala/packages/authentication/src/server/middlewares/AuthorizeRedirectFormatter.ts",["1442","1443"],"import { ErrorMiddleware, Middleware, MiddlewarePromise } from \"@akala/core\";\nimport { Response } from \"@akala/server\";\nimport { AuthorizeErrorCode } from \"./authorize\";\n\n\nexport class AuthorizeRedirectFormatter implements ErrorMiddleware<[unknown, Response]>\n{\n redirectUrl: URL;\n redirectQueryParameter: string;\n constructor(redirectUrl: URL | string)\n {\n if (typeof (redirectUrl) == 'string')\n this.redirectUrl = new URL(redirectUrl);\n\n else\n this.redirectUrl = redirectUrl;\n }\n\n handleError(error: Error & { code?: string; }, req, response: Response): MiddlewarePromise\n {\n if (error && error.code === AuthorizeErrorCode && !response.headersSent)\n {\n const url = new URL(this.redirectUrl.toString());\n url.searchParams[this.redirectQueryParameter] = req.url;\n return Promise.reject(response.redirect(url.toString()));\n }\n return Promise.resolve();\n }\n}\n","/root/akala/packages/authentication/src/server/middlewares/authenticate.ts",[],"/root/akala/packages/authentication/src/server/middlewares/authorize.ts",[],"/root/akala/packages/authentication/src/server/middlewares/grant.ts",["1444"],"import { ErrorMiddleware, Middleware, MiddlewareComposite, MiddlewarePromise } from '@akala/core';\nimport { Request, Response } from '@akala/server'\nimport { Client } from '../../model/client';\nimport { AuthenticateMiddleware, BasicAuthenticateMiddleware } from './authenticate';\n\nexport const EINVREQ = 'invalid_request';\nexport const EINVCLI = 'invalid_client';\nexport const EINVGRANT = 'invalid_grant';\nexport const EINVSCOPE = 'invalid_scope';\nexport const ENOCLIENT = 'unauthorized_client';\nexport const ENOGRANT = 'unsupported_grant_type';\n\ntype OAuthErrorCodes = typeof EINVREQ | typeof EINVCLI | typeof EINVGRANT | typeof EINVSCOPE | typeof ENOCLIENT | typeof ENOGRANT;\n\nexport class OAuthError extends Error\n{\n code = ENOGRANT;\n\n constructor(code: OAuthErrorCodes, message?: string)\n {\n super(message || code);\n }\n}\n\nexport interface TokenResponse\n{\n access_token: string;\n token_type: string;\n expires_in?: number;\n refresh_token?: string;\n scope: string[];\n}\n\n\nexport class OAuthErrorFormatter implements ErrorMiddleware<[unknown, Response]>\n{\n handleError(error: Error & { code?: string; }, _req, response: Response): MiddlewarePromise\n {\n if (error && error.code)\n {\n switch (error.code)\n {\n case EINVCLI:\n return Promise.reject(response.status(401).json({ error: error.code, error_description: error.message }));\n case EINVREQ:\n case EINVGRANT:\n case EINVSCOPE:\n case ENOCLIENT:\n case ENOGRANT:\n return Promise.reject(response.status(400).json({ error: error.code, error_description: error.message }));\n default:\n return Promise.resolve(error);\n }\n }\n }\n}\n\nexport class ExchangeMiddleware implements Middleware<[Request, Response]>\n{\n basicAuthenticator: AuthenticateMiddleware;\n\n constructor(private clientValidator: (clientId, clientSecret) => Promise)\n {\n this.basicAuthenticator = new BasicAuthenticateMiddleware(clientValidator);\n }\n\n static grants: { [key: string]: MiddlewareComposite<[string, string, Request]> };\n public static register(grantType: string, codeValidator: (code: string, clientId: string, req: Request) => Promise, tokenBuilder: (clientId: string) => Promise): void\n {\n this.grants[grantType] = this.grants[grantType] || new MiddlewareComposite<[string, string, Request]>(grantType);\n this.grants[grantType].useMiddleware({\n handle: (_code, _clientId, req) =>\n {\n return codeValidator(_code, _clientId, req).then(() =>\n tokenBuilder(_clientId).then(\n token => Promise.reject(token),\n (err) => Promise.resolve(err)\n ),\n (err) => Promise.resolve(err));\n }\n });\n }\n\n async handle(req: Request): MiddlewarePromise\n {\n const grantType = req.query.get('grant_type');\n if (!ExchangeMiddleware.grants[grantType])\n throw new OAuthError(ENOGRANT);\n return this.basicAuthenticator.validate(req).catch((err) =>\n {\n if (err)\n throw new OAuthError(EINVCLI);\n const clientId = req.query.get('client_id');\n const clientSecret = req.query.get('client_secret');\n return this.clientValidator(clientId, clientSecret);\n }).then(client =>\n {\n const code = req.query.get('code');\n return ExchangeMiddleware.grants[grantType].handle(code, client.id, req);\n }, (err) =>\n {\n if (err && !err.code)\n return Promise.resolve(new OAuthError(EINVCLI));\n return Promise.resolve(err)\n });\n }\n}","/root/akala/packages/authentication/src/server/middlewares/token.ts",[],"/root/akala/packages/authentication/src/server/state.ts",[],"/root/akala/packages/cli/src/client.ts",[],"/root/akala/packages/cli/src/config/index.ts",["1445","1446","1447","1448","1449"],"import program from '../router';\nimport * as fs from 'fs';\nimport { promisify } from 'util';\nimport * as akala from '@akala/core'\n\nasync function updateConfig(newConfig, key)\n{\n const config = await getConfig();\n const keys = key.split('.');\n keys.reduce(function (config, key, i)\n {\n if (keys.length == i + 1)\n {\n config[key] = newConfig;\n console.log(config);\n }\n else if (typeof (config[key]) == 'undefined')\n config[key] = {};\n\n return config[key];\n }, config);\n writeConfig(config);\n}\n\n\nvar updateConfigGetter = {\n get: function (updateConfig, key)\n {\n return new Proxy(function (newConfig, subKey)\n {\n return updateConfig(newConfig, key + '.' + subKey);\n }, updateConfigGetter);\n }\n}\n\nvar getConfigGetter = {\n get: function (getConfig: typeof getConfigWithKey, key: string)\n {\n return new Proxy(function (subKey?: string)\n {\n if (subKey)\n return getConfig(key + '.' + subKey);\n return getConfig(key);\n }, getConfigGetter);\n }\n}\n\nasync function getConfigWithKey(key?: string)\n{\n const config = await getConfig()\n if (key)\n {\n return key.split('.').reduce(function (config, key)\n {\n return config[key];\n }, config)\n }\n else\n return config;\n}\n\nconst getConfigProxy = new Proxy(getConfigWithKey, getConfigGetter);\n\nexport function init()\n{\n\n akala.register('$updateConfig', akala.chain(updateConfig, function (keys, config, key)\n {\n if (key)\n {\n keys.push(key);\n }\n return [config, keys.join('.')];\n }));\n akala.register('$getConfig', akala.chain(getConfig, function (keys, key)\n {\n if (key)\n {\n keys.push(key);\n }\n return [keys.join('.')];\n }));\n\n akala.registerFactory('$config', getConfigProxy);\n}\n\ninit();\n\nfunction writeConfig(config)\n{\n return promisify(fs.writeFile)('./config.json', JSON.stringify(config, null, 4), 'utf8').catch(function (err)\n {\n if (err)\n console.error(err);\n });\n}\n\nfunction getConfig()\n{\n return promisify(fs.readFile)('./config.json', 'utf8').then(function (content)\n {\n return JSON.parse(content);\n }, function (err)\n {\n writeConfig({}).then(function (config)\n {\n return {};\n })\n });\n}\n\nconst config = program.command('config');\nconfig.command('set [value]')\n .action(async function (context, next)\n {\n await updateConfig(context.params.value, context.params.key)\n });\n\nconfig.command('get [key]')\n .action(function (context, next)\n {\n return akala.resolve('$getConfig')(context.params.key);\n });","/root/akala/packages/cli/src/helpers/newmodule.ts",["1450","1451","1452","1453","1454"],"import program from '../router';\nimport * as fs from 'fs';\nimport { promisify } from 'util';\nimport * as path from 'path';\nimport mkdirp from 'mkdirp';\nimport { spawn as spawnOld, SpawnOptions } from 'child_process';\nimport { EOL } from 'os'\n\n\n\nconst writeFile = promisify(fs.writeFile);\nconst copyFile = promisify(fs.copyFile);\n\nfunction spawn(cmd: string, args: string[], options: SpawnOptions)\n{\n return new Promise((resolve, reject) =>\n {\n spawnOld(cmd, args, options).on('close', function (code, signal)\n {\n if (code == 0)\n resolve();\n else\n reject({ code: code, signal: signal });\n })\n })\n}\n\nconst config = program.command('module');\nconfig.command('new ')\n .action(async function (context, next)\n {\n function npm(...args: string[])\n {\n return spawn(/^win/.test(process.platform) ? 'npm.cmd' : 'npm', args, { stdio: 'inherit', cwd: context.params.name });\n }\n\n function yarn(...args: string[])\n {\n return spawn(/^win/.test(process.platform) ? 'yarn.cmd' : 'yarn', args, { stdio: 'inherit', cwd: context.params.name });\n }\n\n await mkdirp(context.params.name);\n await mkdirp(context.params.name + '/src');\n await mkdirp(context.params.name + '/src/server');\n await mkdirp(context.params.name + '/src/client');\n\n await spawn('git', ['init'], { stdio: 'inherit', cwd: context.params.name });\n\n await copyFile(path.join(__dirname, '../../templates/newmodule/.gitignore'), context.params.name + '/.gitignore');\n await copyFile(path.join(__dirname, '../../templates/newmodule/.npmignore'), context.params.name + '/.npmignore');\n await copyFile(path.join(__dirname, '../../templates/newmodule/src/tsconfig.json'), context.params.name + '/src/tsconfig.json');\n await copyFile(path.join(__dirname, '../../templates/newmodule/src/server/tsconfig.json'), context.params.name + '/src/server/tsconfig.json');\n await copyFile(path.join(__dirname, '../../templates/newmodule/src/client/tsconfig.json'), context.params.name + '/src/client/tsconfig.json');\n await copyFile(path.join(__dirname, '../../templates/newmodule/src/server/index.ts'), context.params.name + '/src/server/index.ts');\n\n if (/@[^\\/]+/.test(context.params.name))\n await npm('init', '-y', '--scope', /@[^\\/]+/.exec(context.params.name)[0]);\n else\n await npm('init', '-y');\n\n const packagejson = require(process.cwd() + '/' + context.params.name + '/package.json');\n packagejson.main = 'dist/server/index.js';\n packagejson.types = 'dist/server/index.d.ts';\n packagejson.scripts = {\n \"test\": \"echo \\\"Error: no test specified\\\"\",\n \"build:js\": \"tsc -p src\",\n \"build:js:routes\": \"browserify -x @akala/client -x @akala/core dist/client/routes.js -o dist/routes.js\",\n \"build:js:tile\": \"browserify -x @akala/client -x @akala/core -i @domojs/theme-default/dist/tile dist/client/tile.js -o dist/tile.js\",\n \"prepublishOnly\": \"npm run build\",\n \"build\": \"npm run build:js && npm run build:js:routes && npm run build:js:tile\"\n };\n packagejson.license = \"MIT\";\n await writeFile(context.params.name + '/package.json', JSON.stringify(packagejson, null, 4));\n\n let useYarn = true;\n try\n {\n await yarn('--version');\n }\n catch (e)\n {\n useYarn = false;\n }\n\n if (useYarn)\n {\n yarn('add', '@akala/server')\n yarn('add', '@domojs/theme-default', '--peer')\n }\n else\n {\n await npm('install', '@akala/server');\n await npm('install', '@domojs/theme-default', '--save-peer');\n }\n });","/root/akala/packages/cli/src/helpers/repl.ts",["1455","1456","1457","1458"],"import program from '../router';\nimport { resolve } from 'path';\nimport * as repl from 'repl'\n\nexport function replEval(input: string): string[] {\n const args: string[] = [];\n let match: RegExpExecArray;\n let arg = '';\n let indexOfDQuotes = -1, indexOfQuotes = -1, indexOfSpace = -1;\n const regex = /([\"' $])/g;\n while (match = regex.exec(input)) {\n switch (match[1]) {\n case '\\'':\n if (~indexOfDQuotes && indexOfDQuotes < indexOfQuotes) {\n arg += input.substring(indexOfQuotes + 1, match.index)\n indexOfQuotes = -1;\n }\n else if (!~indexOfQuotes) {\n indexOfQuotes = match.index;\n if (indexOfSpace + 1 < indexOfQuotes)\n arg += input.substring(Math.max(indexOfSpace, indexOfDQuotes) + 1, match.index);\n }\n else {\n arg += input.substring(indexOfQuotes + 1, match.index);\n indexOfQuotes = -1;\n }\n\n break;\n case '\"':\n if (~indexOfQuotes && indexOfQuotes < indexOfDQuotes) {\n arg += input.substring(indexOfDQuotes + 1, match.index);\n indexOfDQuotes = -1;\n }\n else if (!~indexOfDQuotes) {\n indexOfDQuotes = match.index;\n if (indexOfSpace + 1 < indexOfDQuotes)\n arg += input.substring(Math.max(indexOfSpace, indexOfQuotes) + 1, match.index);\n }\n else {\n arg += input.substring(indexOfDQuotes + 1, match.index);\n indexOfDQuotes = -1;\n }\n break;\n case ' ':\n if (!~indexOfQuotes && !~indexOfDQuotes) {\n if (!arg)\n arg = input.substring(indexOfSpace + 1, match.index);\n args.push(arg);\n indexOfSpace = match.index;\n arg = '';\n }\n else {\n arg += input[0];\n }\n break;\n }\n }\n if (!arg)\n arg = input.substring(indexOfSpace + 1);\n args.push(arg);\n\n return args;\n}\n\nlet replStarted = false;\n\nprogram.command('repl')\n .action(function (context) {\n\n if (replStarted) {\n console.log('repl is already started');\n return Promise.resolve(null);\n }\n\n replStarted = true;\n\n const server = repl.start(Object.assign(context as any || {}, {\n eval: function (input: string, context, file, cb) {\n\n try {\n const result = program.process(replEval(input));\n if (result && result.then) {\n result.then(function () {\n cb();\n }, cb);\n }\n else\n cb();\n }\n catch (e) {\n cb(e);\n }\n }\n }));\n })","/root/akala/packages/cli/src/index.ts",["1459","1460","1461","1462","1463","1464","1465","1466","1467","1468","1469","1470","1471","1472"],"#!/usr/bin/env node\nrequire('source-map-support').install();\nimport * as debug from 'debug';\ndebug.enable('*,-*:verbose');\n// debug.enable('*,-*:verbose,-router*');\nimport program, { CliContext, ICommandBuilder } from './router';\nimport './sdk';\nimport './client';\nimport './plugins';\nimport './helpers/newmodule';\nimport './helpers/repl';\nimport * as fs from 'fs'\nimport { promisify } from 'util'\nimport * as akala from '@akala/core'\nimport mock from 'mock-require'\nimport { join } from 'path';\nimport * as cluster from 'cluster'\nimport { EventEmitter } from 'events';\nexport default program;\nrequire.cache[module.filename] = module;\n\nmock('@akala/core', akala);\n\n\nprogram.command('run [cwd]').action(function (context)\n{\n mock('@akala/core', akala)\n mock('@akala/server', require('@akala/server'))\n // debugger;\n const pkg = require(join(process.cwd(), context.params.cwd, './package.json'));\n mock(pkg.name + '/package.json', pkg);\n\n if (context.params.cwd)\n process.chdir(context.params.cwd);\n\n akala.unregister('$resolveUrl');\n\n if (cluster.isWorker)\n {\n process.argv = context.argv;\n akala.register('$isModule', (m) => m == pkg.name);\n akala.register('$master', function (...args)\n {\n akala.onResolve('$worker').then(w => w.on('master', function (master: Function)\n {\n master.apply(this, args);\n }));\n });\n\n const dummyRouter = {};\n akala.register('$router', new Proxy(dummyRouter, {\n get: function (target, property)\n {\n if (property != 'all' &&\n property != 'checkout' &&\n property != 'connect' &&\n property != 'copy' &&\n property != 'delete' &&\n property != 'get' &&\n property != 'head' &&\n property != 'lock' &&\n property != 'm-search' &&\n property != 'merge' &&\n property != 'mkactivity' &&\n property != 'mkcalendar' &&\n property != 'mkcol' &&\n property != 'move' &&\n property != 'notify' &&\n property != 'options' &&\n property != 'patch' &&\n property != 'post' &&\n property != 'prop' &&\n property != 'find' &&\n property != 'proppatch' &&\n property != 'purge' &&\n property != 'put' &&\n property != 'report' &&\n property != 'search' &&\n property != 'subscribe' &&\n property != 'trace' &&\n property != 'unlock' &&\n property != 'unsubscribe' &&\n property != 'use')\n return target[property];\n return function (...args)\n {\n if (typeof (target[property] == 'undefined'))\n target[property] = []\n target[property].push(args);\n }\n }\n }));\n mock(pkg.name, require(process.cwd()));\n akala.unregister('$updateConfig');\n akala.unregister('$configFactory');\n // akala.unregister('$config');5\n akala.unregister('$isModule');\n akala.unregister('$master');\n akala.unregister('$router');\n\n if (Object.keys(dummyRouter).length)\n {\n akala.onResolve('$router').then(r =>\n {\n Object.keys(dummyRouter).forEach(method => dummyRouter[method].forEach(args => r[method].apply(r, args)))\n });\n }\n // config.init();\n require('@akala/server/dist/worker');\n }\n else\n {\n console.log('running ' + process.cwd());\n akala.register('$isModule', () => false);\n require('@akala/server/dist/master');\n }\n\n // if (fs.existsSync('./package.json'))\n // {\n // var pkg = JSON.parse(fs.readFileSync('./package.json', { encoding: 'utf8', flag: 'r' }));\n // process.argv.splice(2, process.argv.length - 2, pkg.name, 'http://localhost:5678')\n // require(require.resolve('@akala/server/dist/worker', Module['_nodeModulePaths'](process.cwd())));\n // }\n});\n\nexport interface CliConfig\n{\n command: string;\n param?: { [key in keyof T]: 'param' | 'args' | 'option' } | 'param' | 'args';\n type?: 'json' | 'xml';\n}\n\nakala.module('$api').register('cli', class Cli implements akala.IServerBuilder\n{\n constructor(public api: akala.Api)\n {\n\n }\n\n static buildParam(req: CliContext & akala.Request, config: CliConfig, di: akala.Injector)\n {\n switch (config.param)\n {\n case 'param':\n return req.params;\n case 'args':\n return req.args\n default:\n const result: any = {};\n akala.each(config.param, function (value, key)\n {\n switch (value)\n {\n case 'args':\n result[key] = req.args;\n break;\n case 'option':\n result[key] = req.options[key as string];\n break;\n case 'param':\n result[key] = req.params[key as string];\n break;\n default:\n result[key] = di.resolve(value);\n break;\n }\n })\n return result;\n }\n }\n\n createServer(client: boolean | string, impl: TServerOneWay & TServerTwoWay): Partial TClientOneWayProxy & TClientTwoWayProxy;\n }>\n {\n let router: ICommandBuilder = program;\n if (typeof (client) == 'string')\n {\n const indexOfColon = client.indexOf(':');\n if (~indexOfColon)\n router = router.command(client.substr(indexOfColon + 1)).config(client.substr(0, indexOfColon));\n else\n router = router.command(client).config(client);\n }\n akala.each(this.api.serverOneWayConfig, function (config: { cli?: CliConfig }, name)\n {\n if (config && config.cli && config.cli.command)\n {\n var cmd = router.command(config.cli.command).action(function (context)\n {\n Promise.resolve((impl[name] as any)(Cli.buildParam(context, config.cli, cmd))).then((value) =>\n {\n console.log(value)\n }, (reason) =>\n {\n console.error(reason);\n });\n });\n }\n });\n\n akala.each(this.api.serverTwoWayConfig, function (config: { cli?: CliConfig }, name)\n {\n if (config && config.cli && config.cli.command)\n {\n var cmd = router.command(config.cli.command).action(function (context)\n {\n Promise.resolve((impl[name] as any)(Cli.buildParam(context, config.cli, cmd))).then((value) =>\n {\n console.log(value)\n }, (reason) =>\n {\n console.error(reason);\n });\n });\n }\n });\n\n return impl;\n }\n\n});\n\n(async function ()\n{\n\n if (await promisify(fs.exists)('./config.json'))\n {\n const content = JSON.parse(await promisify(fs.readFile)('./config.json', 'utf-8'));\n if (content.plugins)\n {\n akala.each(content.plugins, function (plugin)\n {\n require(plugin);\n });\n }\n }\n\n program.process(process.argv.slice(2));\n})();","/root/akala/packages/cli/src/plugins.ts",["1473","1474","1475"],"import program from './router';\nimport * as akala from '@akala/core'\nimport * as fs from 'fs'\nimport { promisify } from 'util';\nimport { resolve } from 'path';\n\n\nprogram.command('plugins').command('add ')\n .action(async function (context)\n {\n program.process(['config', 'set', 'plugins.' + context.params.name, resolve(context.params.path)]);\n })","/root/akala/packages/cli/src/router/index.ts",["1476"],"/root/akala/packages/cli/src/sdk.ts",["1477","1478"],"/root/akala/packages/cli/src/worker.ts",["1479","1480","1481"],"import program from './router';\nimport * as akala from '@akala/core'\nimport * as fs from 'fs'\nimport { promisify } from 'util';\nimport Module = require('module');\nimport { fork } from 'child_process';\n\n\nprogram.command('worker').command('run ')\n .action(async function (context)\n {\n process.argv = process.argv.slice(0, 1).concat([context.params.module, context.params.url]);\n fork(require.resolve('@akala/server/dist/start', Module['_nodeModulePaths'](process.cwd())));\n })","/root/akala/packages/cli/test/repl/index.ts",[],"/root/akala/packages/cli/test/tserify/a.ts",[],"/root/akala/packages/cli/test/tserify/index.ts",["1482","1483","1484"],"import program from '../..';\nimport * as akala from '@akala/core'\nimport * as fs from 'fs'\nimport { promisify } from 'util';\n\n\nprogram.command('echo')\n .action(function (context)\n {\n console.log(context.args)\n })","/root/akala/packages/client/akala.js",["1485","1486","1487","1488","1489","1490","1491","1492","1493","1494","1495","1496","1497","1498","1499","1500","1501","1502","1503","1504","1505","1506","1507","1508","1509","1510","1511","1512","1513","1514","1515","1516","1517","1518","1519","1520","1521","1522","1523","1524","1525","1526","1527","1528","1529","1530","1531","1532","1533","1534","1535","1536","1537","1538","1539","1540","1541","1542","1543","1544","1545","1546","1547","1548","1549","1550","1551","1552","1553","1554","1555","1556","1557","1558","1559","1560","1561","1562","1563","1564","1565","1566","1567","1568","1569","1570","1571","1572","1573","1574","1575","1576","1577","1578","1579","1580","1581","1582","1583","1584","1585","1586","1587","1588","1589","1590","1591","1592","1593","1594","1595","1596","1597","1598","1599","1600","1601","1602","1603","1604","1605","1606","1607","1608","1609","1610","1611","1612","1613","1614","1615","1616","1617","1618","1619","1620","1621","1622","1623","1624","1625","1626","1627","1628","1629","1630","1631","1632","1633","1634","1635","1636","1637","1638","1639","1640","1641","1642","1643","1644","1645","1646","1647","1648","1649","1650","1651","1652","1653","1654","1655","1656","1657","1658","1659","1660","1661","1662","1663","1664","1665","1666","1667","1668","1669","1670","1671","1672","1673","1674","1675","1676","1677","1678","1679","1680","1681","1682","1683","1684","1685","1686","1687","1688","1689","1690","1691","1692","1693","1694","1695","1696","1697","1698","1699","1700","1701","1702","1703","1704","1705","1706","1707","1708","1709","1710","1711","1712","1713","1714","1715","1716","1717","1718","1719","1720","1721","1722","1723","1724","1725","1726","1727","1728","1729","1730","1731","1732","1733","1734","1735","1736","1737","1738","1739","1740","1741","1742","1743","1744","1745","1746","1747","1748","1749","1750","1751","1752","1753","1754","1755","1756","1757","1758","1759","1760","1761","1762","1763","1764","1765","1766","1767","1768","1769","1770","1771","1772","1773","1774","1775","1776","1777","1778","1779","1780","1781","1782","1783","1784","1785","1786","1787","1788","1789","1790","1791","1792","1793","1794","1795","1796","1797","1798","1799","1800","1801","1802","1803","1804","1805","1806","1807","1808","1809","1810","1811","1812","1813","1814","1815","1816","1817","1818","1819","1820","1821","1822","1823","1824","1825","1826","1827","1828","1829","1830","1831","1832","1833","1834","1835","1836","1837","1838","1839","1840","1841","1842","1843","1844","1845","1846","1847","1848","1849","1850","1851","1852","1853","1854","1855","1856","1857","1858","1859","1860","1861","1862","1863","1864","1865","1866","1867","1868","1869","1870","1871","1872","1873","1874","1875","1876","1877","1878","1879","1880","1881","1882"],"!function(e,t){\"object\"==typeof exports&&\"object\"==typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define([],t):\"object\"==typeof exports?exports[\"@akala/client\"]=t():e[\"@akala/client\"]=t()}(window,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(e,\"__esModule\",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&\"object\"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,\"default\",{enumerable:!0,value:e}),2&t&&\"string\"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,\"a\",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p=\"\",r(r.s=\"./src/index.ts\")}({\"../../node_modules/@akala/core/dist/api/base.js\":function(e,t,r){\"use strict\";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0}),t.DualApi=t.Api=void 0;const o=n(r(\"../../node_modules/@akala/core/node_modules/debug/src/browser.js\"));o.default(\"akala:metadata\"),o.default(\"akala:metadata:client\");class s{constructor(){this.serverOneWayConfig={},this.serverTwoWayConfig={},this.clientOneWayConfig={},this.clientTwoWayConfig={}}connection(){return this}clientToServerOneWay(){return e=>(this.serverOneWayConfig=Object.assign(this.serverOneWayConfig,e),this)}clientToServer(){return e=>(this.serverTwoWayConfig=Object.assign(this.serverTwoWayConfig,e),this)}serverToClientOneWay(){return e=>(this.clientOneWayConfig=Object.assign(this.clientOneWayConfig,e),this)}serverToClient(){return e=>(this.clientTwoWayConfig=Object.assign(this.clientTwoWayConfig,e),this)}}t.Api=s;t.DualApi=class extends s{constructor(e,t){super(),this.clientOneWayConfig=Object.assign(e.clientOneWayConfig,t.clientOneWayConfig),this.clientTwoWayConfig=Object.assign(e.clientTwoWayConfig,t.clientTwoWayConfig),this.serverOneWayConfig=Object.assign(e.serverOneWayConfig,t.serverOneWayConfig),this.serverTwoWayConfig=Object.assign(e.serverTwoWayConfig,t.serverTwoWayConfig)}}},\"../../node_modules/@akala/core/dist/api/index.js\":function(e,t,r){\"use strict\";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)\"default\"===r||t.hasOwnProperty(r)||n(t,e,r)};Object.defineProperty(t,\"__esModule\",{value:!0}),t.createClient=t.createServerProxy=t.buildClient=t.client=t.buildServer=t.server=t.api=void 0,o(r(\"../../node_modules/@akala/core/dist/api/base.js\"),t),r(\"../../node_modules/@akala/core/dist/api/rest.js\"),r(\"../../node_modules/@akala/core/dist/api/json-rpc-ws.js\");const s=r(\"../../node_modules/@akala/core/dist/helpers.js\");var a;function i(e,t,r){s.each(t,(function(t,n){if(!1!==t){var o=s.module(\"$api\").resolve(n);if(o){var a=new o(e);a.createServer&&a.createServer(t,r)}}}))}function c(e,t,r){s.each(t,(function(t,n){!1!==t&&l(n,e,t,r)}))}function l(e,t,r,n){var o=s.module(\"$api\").resolve(e);return o?new o(t).createClient(r,n):null}(a=t.api||(t.api={})).jsonrpcws=function(e){return new(s.module(\"$api\").resolve(\"jsonrpcws\"))(e)},a.rest=function(e){return new(s.module(\"$api\").resolve(\"rest\"))(e)},t.server=function(e,t){return function(r){var n=new r;return i(e,t,n),n}},t.buildServer=i,t.client=function(e,t){return function(r){var n=new r;return c(e,t,n),n}},t.buildClient=c,t.createServerProxy=function(e,t,r){var n=s.module(\"$api\").resolve(e);return n?new n(t).createServerProxy(r):null},t.createClient=l},\"../../node_modules/@akala/core/dist/api/json-rpc-ws.js\":function(e,t,r){\"use strict\";(function(e){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,\"default\",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0}),t.JsonRpcWs=void 0;const i=s(r(\"../../node_modules/@akala/json-rpc-ws/browser.js\")),c=r(\"../../node_modules/@akala/core/dist/each.js\"),l=r(\"../../node_modules/@akala/core/dist/helpers.js\"),u=a(r(\"../../node_modules/@akala/core/node_modules/debug/src/browser.js\"));var d=u.default(\"akala:metadata\");u.default(\"akala:metadata:client\");class f{constructor(e){this.api=e}createServerProxy(e){var t={};return c.each(this.api.serverOneWayConfig,(function(r,n){!1!==r.jsonrpcws&&(t[n]=function(t){return d(\"calling \"+n+\" with %o\",t),new Promise((r,o)=>{e.send(n,t,(function(e){e?o(e):r()}))})})})),c.each(this.api.serverTwoWayConfig,(function(r,n){!1!==r.jsonrpcws&&(t[n]=function(t){return d(\"calling \"+n+\" with %o\",t),new Promise((r,o)=>{e.send(n,t,(function(e,t){e?o(e):r(t)}))})})})),t}createClientProxy(e){var t={};return c.each(this.api.clientOneWayConfig,(function(r,n){!1!==r.jsonrpcws&&(t[n]=function(t){return d(\"calling \"+n+\" with %o\",t),new Promise((r,o)=>{e.sendMethod(n,t,(function(e,t){e?o(e):r(t)}))})})})),c.each(this.api.clientTwoWayConfig,(function(r,n){!1!==r.jsonrpcws&&(t[n]=function(t){return d(\"calling \"+n+\" with %o\",t),new Promise((r,o)=>{e.sendMethod(n,t,(function(e,t){e?o(e):r(t)}))})})})),t}createClientFromAbsoluteUrl(e,t,...r){var n=i.ws.createClient(),o=this.createClient(n,t);return new Promise((t,r)=>{n.connect(e,(function(){t(o)}))})}createLateBoundClient(e){var t=i.ws.createClient();return l.extend({$connect:function(e,r){t.connect(e,r)}},this.createClient(t,e))}createClient(t,r,...n){n.unshift(r),n.push({$proxy:()=>this.createServerProxy(t)});var o=l.extend.apply(this,n);return c.each(this.api.clientOneWayConfig,(function(r,n){!1!==r.jsonrpcws&&t.expose(n,(function(t,r){try{Promise.resolve(o[n](t)).then((function(e){r(null,e)}),(function(t){t instanceof Error?r({message:t.message,stack:t.stack,argv:e.argv}):r(t)}))}catch(t){r({message:t.message,stack:t.stack,argv:e.argv})}}))})),c.each(this.api.clientTwoWayConfig,(function(r,n){!1!==r.jsonrpcws&&t.expose(n,(function(t,r){try{Promise.resolve(o[n](t)).then((function(e){r(null,e)}),(function(t){t instanceof Error?r({message:t.message,stack:t.stack,argv:e.argv}):r(t)}))}catch(t){r({message:t.message,stack:t.stack,argv:e.argv})}}))})),o}}t.JsonRpcWs=f,l.module(\"$api\").register(\"jsonrpcws\",f)}).call(this,r(\"../../node_modules/process/browser.js\"))},\"../../node_modules/@akala/core/dist/api/rest.js\":function(e,t,r){\"use strict\";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,\"default\",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t};Object.defineProperty(t,\"__esModule\",{value:!0}),t.Rest=void 0;const a=r(\"../../node_modules/@akala/core/dist/each.js\"),i=r(\"../../node_modules/@akala/core/dist/global-injector.js\"),c=r(\"../../node_modules/@akala/core/dist/helpers.js\"),l=s(r(\"../../node_modules/path-to-regexp/dist.es2015/index.js\"));class u{constructor(e){this.api=e}static buildCall(e,t,r){var n=e.url;switch(\"/\"==n[0]&&(n=n.substr(1)),e.param){case\"body\":return{method:e.method,url:new URL(n,t).toString(),body:r,type:e.type||\"json\"};case\"query\":return{method:e.method,url:new URL(n,t).toString(),queryString:r,type:e.type||\"json\"};case\"route\":return{method:e.method,url:new URL(l.compile(n)(r),t).toString(),type:e.type||\"json\"};default:var o=null,s={method:e.method,url:t.toString(),type:e.type||\"json\"};if(\"string\"==typeof e.param)throw new Error(e.param+\" is not a valid value\");return null!==e.param&&void 0!==e.param&&(a.each(e.param,(function(e,t){switch(e){case\"body\":\"object\"==typeof r[t]?s.body=Object.assign(s.body||{},r[t]):(s.body||(s.body={}),s.body[t]=r[t]);break;case\"header\":\"object\"==typeof r[t]?s.headers=Object.assign(s.headers||{},r[t]):(s.headers||(s.headers={}),s.headers[t]=r[t]);break;case\"query\":\"object\"==typeof r[t]?s.queryString=Object.assign(s.queryString||{},r[t]):(s.queryString||(s.queryString={}),s.queryString[t]=r[t]);break;case\"route\":\"object\"==typeof r[t]?o=Object.assign(o||{},r[t]):(o||(o={}),o[t]=r[t]);break;default:var n=e.indexOf(\".\");if(~n){var a=e.substr(n+1);switch(e.substr(0,n)){case\"body\":s.body=s.body||{},s.body[a]=r[t];break;case\"header\":s.headers||(s.headers={}),s.headers[a]=r[t];break;case\"query\":s.queryString||(s.queryString={}),s.queryString[a]=r[t];break;case\"route\":o||(o={}),o[a]=r[t];break;default:console.log(\"ignoring \"+e)}break}console.log(\"ignoring \"+e)}})),s.url=o?new URL(l.compile(n)(o),t).toString():new URL(n,t).toString()),s}}createServerProxy(e){var t=i.resolve(\"$http\"),r=i.resolve(\"$resolveUrl\");(e=r(e)).endsWith(\"/\")||(e+=\"/\");var n={};return a.each(this.api.serverTwoWayConfig,(function(r,o){r.rest&&(n[o]=function(n){return t.call(u.buildCall(r.rest,e,n)).then(e=>{switch(r.rest.type){case\"raw\":return e;case\"text\":return e.text();case\"json\":default:return e.json()}})})})),a.each(this.api.serverOneWayConfig,(function(r,o){r.rest&&(n[o]=function(n){return t.call(u.buildCall(r.rest,e,n)).then(e=>{switch(r.rest.type){case\"raw\":return e;case\"text\":return e.text();case\"json\":default:return e.json()}})})})),n}createClient(e){return t=>Object.assign(t,{$proxy:()=>this.createServerProxy(e)})}}t.Rest=u,c.module(\"$api\").register(\"rest\",u)},\"../../node_modules/@akala/core/dist/binder.js\":function(e,t,r){\"use strict\";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,\"default\",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t};Object.defineProperty(t,\"__esModule\",{value:!0}),t.WatchBinding=t.ObservableArray=t.PromiseBinding=t.Binding=void 0;const a=r(\"../../node_modules/@akala/core/dist/parser.js\"),i=r(\"../../node_modules/events/events.js\"),c=r(\"../../node_modules/@akala/core/dist/promiseHelpers.js\"),l=s(r(\"../../node_modules/@akala/core/dist/formatters/index.js\")),u=r(\"../../node_modules/@akala/core/dist/eachAsync.js\"),d=r(\"../../node_modules/@akala/core/dist/each.js\");let f=(()=>{class e extends i.EventEmitter{constructor(e,t,r=!0){super(),this._expression=e,this._target=t,this.evaluator=a.Parser.evalAsFunction(this.expression),this.registeredBindings=[],this.formatter=l.identity,r?this.register():this.setMaxListeners(0)}static defineProperty(t,r,n){var o=new e(r.toString(),t);return Object.defineProperty(t,r,{get:()=>n,set(e){o.setValue(e,o)}}),o}static unbindify(t){return d.map(t,(function(t,r){return\"object\"==typeof t?t instanceof e?t.getValue():e.unbindify(t):t}))}get expression(){return this._expression}get target(){return this._target}set target(e){this._target=e,this.register()}onChanging(t){this.on(e.ChangingFieldEventName,t)}onChanged(t,r){this.on(e.ChangedFieldEventName,t),r||t({target:this.target,eventArgs:{fieldName:this.expression,value:this.getValue()},source:null})}onError(t){this.on(e.ErrorEventName,t)}pipe(t){if(!(this.registeredBindings.indexOf(t)>-1)){this.registeredBindings.push(t);this.onChanging((function(r){if(r.source!=t&&null!==r.source){var n=[e.ChangingFieldEventName,r];t.emit.apply(t,n)}})),this.onChanged((function(r){if(r.source!=t&&null!==r.source){var n=[e.ChangedFieldEventName,{source:r.source,target:r.target,eventArgs:{fieldName:r.eventArgs.fieldName,value:t.getValue()}}];t.emit.apply(t,n)}})),this.onError((function(r){if(r.source!=t&&null!==r.source){var n=[e.ChangedFieldEventName,r];t.emit.apply(t,n)}}))}}getValue(){return this.formatter(this.evaluator(this.target,!1))}register(){for(var t=this.target,r=a.Parser.parseBindable(this.expression);r.length>0;){var n=r.shift();if(null!=t&&\"object\"==typeof t){if(!t.hasOwnProperty(\"$$watchers\"))try{Object.defineProperty(t,\"$$watchers\",{enumerable:!1,writable:!1,value:{},configurable:!0})}catch(e){console.error(\"could not register watcher on \",t,\"this could lead to performance issues\")}var o=t.$$watchers&&t.$$watchers[n];if(!o){if(c.isPromiseLike(t)){var s=n;r.length>0&&(s+=\".\"+r.join(\".\")),o=new h(s,t)}else{if(t instanceof p){let o=!1;return t.on(\"collectionChanged\",(function(t){if(\"init\"==t.action){if(o)return;o=!0}var s=n;for(var a in r.length>0&&(s+=\".\"+r.join(\".\")),t.newItems)new e(s,t.newItems[a]).pipe(this)})),void t.init()}o=new e(n,t,!1)}t.$$watchers&&(t.$$watchers[n]=o)}if(o.pipe(this),o instanceof h)return;t=o.getValue()}}}apply(e,t){}static getSetter(t,r){var n=a.Parser.parseBindable(r);return function(r,o,s){for(;n.length>1;){if(!t&&\"\"!==t)return;t=t[n.shift()]}var i=t.$$watchers[n[0]],l=a.Parser.getSetter(n[0],t);if(null!==l){var d=new Promise((n,a)=>{try{if(s)return n(r);if(i){var d=i.listeners(e.ChangingFieldEventName);u.array(d,(function(e,r,n){c.Promisify(e({target:t,fieldName:l.expression,source:o})).then((function(){n()}),a)}),(function(){n(r)}))}else n(r)}catch(r){i.emit(e.ErrorEventName,{target:t,field:l.expression,Exception:r,source:o}),a(r)}});return d.then((function(r){l.set(r),i&&!s&&i.emit(e.ChangedFieldEventName,{target:t,eventArgs:{fieldName:l.expression,value:r},source:o})}),(function(r){i&&i.emit(e.ErrorEventName,{target:t,field:l.expression,Exception:r,source:o})})),d}}}setValue(t,r,n){this.target;var o=e.getSetter(this.target,this.expression);null!=o&&o(t,r||this,n)}}return e.ChangingFieldEventName=\"fieldChanging\",e.ChangedFieldEventName=\"fieldChanged\",e.ErrorEventName=\"bindingError\",e})();t.Binding=f;class h extends f{constructor(e,t){super(e,null,!1);var r=this,n=new f(e,null);n.pipe(r);var o=function(e){c.isPromiseLike(e)?e.then(o):(n.formatter=r.formatter,n.target=e,r.emit(f.ChangedFieldEventName,{target:e,eventArgs:{fieldName:r.expression,value:r.getValue()},source:n}))};t.then(o)}}t.PromiseBinding=h,void 0===Array.prototype.replace&&Object.defineProperty(Array.prototype,\"replace\",{value:function(e,t){this[e]=t},configurable:!0,writable:!0,enumerable:!1});class p extends i.EventEmitter{constructor(e){super(),this.array=e,this.unshift=function(e){this.array.unshift(e),this.emit(\"collectionChanged\",{action:\"unshift\",newItems:[e]})}}get length(){return this.array.length}push(...e){this.array.push.apply(this.array,e),this.emit(\"collectionChanged\",{action:\"push\",newItems:e})}shift(){var e=this.array.shift();this.emit(\"collectionChanged\",{action:\"shift\",oldItems:[e]})}pop(){var e=this.array.pop();this.emit(\"collectionChanged\",{action:\"pop\",oldItems:[e]})}replace(e,t){var r=this.array[e];this.array.replace(e,t),this.emit(\"collectionChanged\",{action:\"replace\",newItems:[t],oldItems:[r]})}init(){this.emit(\"collectionChanged\",{action:\"init\",newItems:this.array.slice(0)})}indexOf(){return this.array.indexOf.apply(this.array,arguments)}toString(){return this.array.toString()}}t.ObservableArray=p;t.WatchBinding=class extends f{constructor(e,t,r){super(e,t,!0),setInterval(this.check.bind(this),r)}check(){var e=this.getValue();this.lastValue!==e&&(this.lastValue=e,this.emit(f.ChangedFieldEventName,{target:this.target,eventArgs:{fieldName:this.expression,value:e},source:this}))}}},\"../../node_modules/@akala/core/dist/chain.js\":function(e,t,r){\"use strict\";(function(e){Object.defineProperty(t,\"__esModule\",{value:!0}),t.chain=void 0;var r=Proxy;e.Proxy=new r(r,{get:function(e,t){return\"symbol\"==typeof t&&t==Symbol.hasInstance?function(e){return e&&e[Symbol.for(\"isProxy\")]}:Reflect.get(e,t)}}),t.chain=function(e,t){var r={get:function(e,r){var n=[];if(\"symbol\"==typeof r)switch(r.toString()){case\"Symbol(util.inspect.custom)\":return()=>e;case\"Symbol(Symbol.toPrimitive)\":return e[Symbol.toPrimitive];case\"Symbol(isProxy)\":return!0;default:throw new Error(\"Not supported\")}switch(r){case\"then\":let o=e();return o.then.bind(o);case\"apply\":return e.apply;case\"length\":return e.length;case\"toString\":return e.toString.bind(e);default:n.push(r);let s=new Proxy((function(...r){return r||(r=[]),r.unshift(n),e.apply(this,t.apply(this,r))}),{get:function(r,o){if(\"symbol\"==typeof o)switch(o.toString()){case\"Symbol(util.inspect.custom)\":return()=>e;case\"Symbol(Symbol.toPrimitive)\":return e[Symbol.toPrimitive];case\"Symbol(isProxy)\":return!0;default:throw new Error(\"Not supported\")}switch(o){case\"then\":let o=e.apply(this,t(n));return o.then.bind(o);case\"apply\":return r.apply;case\"length\":return e.length;case\"toString\":return e.toString.bind(e)}return o&&n.push(o.toString()),s}});return s}}};return new Proxy(e,r)}}).call(this,r(\"../../node_modules/webpack/buildin/global.js\"))},\"../../node_modules/@akala/core/dist/each.js\":function(e,t,r){\"use strict\";function n(e,t){Array.prototype.forEach.call(e,t)}function o(e,t){n(Object.keys(e),(function(r){t(e[r],r)}))}function s(e,t){var r=[];return n(e,(function(e,n){t(e,n)&&r.push(e)})),r}function a(e,t,r){var n={},s=[];return o(e,(function(e,o){t(e,o)&&(r?s.push(e):n[o]=e)})),r?s:n}function i(e){return Array.isArray(e)||void 0!==e&&void 0!==e.length}function c(e,t){var r=[];return n(e,(function(e,n){r.push(t(e,n))})),r}function l(e,t,r){var n={},s=[];return o(e,(function(e,o){r?s.push(t(e,o)):n[o]=t(e,o)})),r?s:n}Object.defineProperty(t,\"__esModule\",{value:!0}),t.map=t.mapObject=t.mapArray=t.grep=t.grepObject=t.grepArray=t.each=t.object=t.array=void 0,t.array=n,t.object=o,t.each=function(e,t){return i(e)?n(e,t):o(e,t)},t.grepArray=s,t.grepObject=a,t.grep=function(e,t,r){return i(e)?s(e,t):a(e,t,r)},t.mapArray=c,t.mapObject=l,t.map=function(e,t,r){return i(e)?c(e,t):l(e,t,r)}},\"../../node_modules/@akala/core/dist/eachAsync.js\":function(e,t,r){\"use strict\";(function(e){Object.defineProperty(t,\"__esModule\",{value:!0}),t.each=t.object=t.array=void 0;const n=r(\"../../node_modules/@akala/core/dist/helpers.js\");function o(t,r,o){var s=function(a){if(a==t.length)o();else try{var i=r(t[a],a,(function(t){t?o(t):e(s,a+1)}));i&&n.isPromiseLike(i)&&i.then(()=>e(s,a+1),o)}catch(e){o(e)}};s(0)}function s(e,t,r){o(Object.keys(e),(function(r,n,o){t(e[r],r,o)}),r)}t.array=o,t.object=s,t.each=function(e,t,r){return r?Array.isArray(e)||void 0!==e.length?o(e,t,r):s(e,t,r):new Promise((r,n)=>Array.isArray(e)||void 0!==e.length?o(e,t,(function(e){e?n(e):r()})):s(e,t,(function(e){e?n(e):r()})))}}).call(this,r(\"../../node_modules/timers-browserify/main.js\").setImmediate)},\"../../node_modules/@akala/core/dist/factory.js\":function(e,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.factory=void 0;const n=r(\"../../node_modules/@akala/core/dist/global-injector.js\");t.factory=function(e,...t){return function(r){var o=null,s=function(){if(!o){var e=[null];for(var t in arguments)e.push(arguments[t]);o=new(r.bind.apply(r,e))}return o.build()};null==t||0==t.length?n.registerFactory(e,n.inject(s)):n.registerFactory(e,n.injectWithName(t,s))}}},\"../../node_modules/@akala/core/dist/formatters/booleanize.js\":function(e,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.booleanize=void 0;const n=r(\"../../node_modules/@akala/core/dist/helpers.js\");function o(e){return!!e}t.booleanize=o,n.module(\"$formatters\").register(\"#bool\",o)},\"../../node_modules/@akala/core/dist/formatters/call.js\":function(e,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.CallFormatterFactory=void 0;const n=r(\"../../node_modules/@akala/core/dist/helpers.js\"),o=r(\"../../node_modules/@akala/core/dist/parser.js\"),s=r(\"../../node_modules/@akala/core/dist/global-injector.js\"),a=r(\"../../node_modules/@akala/core/dist/binder.js\");class i{constructor(){}parse(e){return new o.ParsedString(e.substring(0,o.Parser.parseFunction(e).$$length))}build(e,t){function r(e){if(this.args&&e&&e[this.method])return e[this.method].apply(e,a.Binding.unbindify(this.args))}return t.value.startsWith(\"$formatters.\")?n.module(\"$formatters\").injectWithName([t.value.substring(\"$formatters.\".length)],r):s.injectWithName([t.value],r)}}t.CallFormatterFactory=i,n.module(\"$formatters\").register(\"#call\",new i)},\"../../node_modules/@akala/core/dist/formatters/date.js\":function(e,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.DateFormatter=t.formatParser=void 0;const n=r(\"../../node_modules/@akala/core/dist/parser.js\"),o=r(\"../../node_modules/@akala/core/dist/helpers.js\");var s={h:Date.prototype.getUTCHours,m:Date.prototype.getUTCMinutes,y:Date.prototype.getUTCFullYear,M:function(){return this.getUTCMonth()+1},d:Date.prototype.getDate,s:Date.prototype.getUTCSeconds};function a(e){return{format:function(t){for(var r,n=\"\",o=0,a=o;a{t.connect(r(e),(function(e){e?o(e):n(t)}))})}),(function(e,t){return e.push(t),e})))},\"../../node_modules/@akala/core/dist/http.js\":function(e,t,r){\"use strict\";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,\"default\",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__decorate||function(e,t,r,n){var o,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var i=e.length-1;i>=0;i--)(o=e[i])&&(a=(s<3?o(a):s>3?o(t,r,a):o(t,r))||a);return s>3&&a&&Object.defineProperty(t,r,a),a},a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t},i=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0}),t.HttpFormatterFactory=t.HttpCallFormatterFactory=t.FetchHttp=void 0;const c=r(\"../../node_modules/@akala/core/dist/global-injector.js\"),l=r(\"../../node_modules/@akala/core/dist/parser.js\"),u=r(\"../../node_modules/@akala/core/dist/each.js\"),d=r(\"../../node_modules/@akala/core/dist/helpers.js\"),f=r(\"../../node_modules/@akala/core/dist/service.js\"),h=a(r(\"../../node_modules/url/url.js\")),p=a(r(\"../../node_modules/querystring-es3/index.js\"));r(\"../../node_modules/isomorphic-fetch/fetch-npm-browserify.js\");let m=(()=>{var e;let t=e=class{constructor(){}get(e,t){return this.call({url:e,method:\"GET\",queryString:t})}post(e,t){return this.call({method:\"POST\",url:e,body:t}).then(e=>e.formData())}postJSON(e,t){return this.call({method:\"POST\",url:e,body:t,contentType:\"json\",type:\"json\"}).then(e=>e.json())}getJSON(e,t){return this.call({method:\"GET\",url:e,queryString:t,type:\"json\"}).then(e=>e.json())}invokeSOAP(e,t,r,n){var o='';return u.each(n,(function(e,t){o+=\"<\"+t+\">\"})),o+=\"\",this.call({method:\"POST\",url:r,type:\"xml\",headers:{SOAPAction:e+\"#\"+t},body:o})}call(t){var r={method:t.method||\"GET\",body:t.body};if(\"string\"==typeof t.url&&(t.url=h.parse(t.url,!0)),t.queryString&&(\"string\"==typeof t.queryString&&(t.queryString=p.parse(t.queryString)),t.url.query=d.extend(t.url.query,t.queryString)),t.headers&&(r.headers={},u.each(t.headers,(function(e,t){e instanceof Date?r.headers[t]=e.toJSON():r.headers[t]=e&&e.toString()}))),t.type)switch(r.headers=r.headers||{},t.type){case\"json\":r.headers.Accept=\"application/json, text/json\",t.contentType||\"string\"==typeof r.body||(r.body=JSON.stringify(r.body));break;case\"xml\":r.headers.Accept=\"text/xml\";break;case\"text\":r.headers.Accept=\"text/plain\"}if(t.contentType&&t.body)switch(r.headers=r.headers||{},t.contentType){case\"json\":r.headers[\"Content-Type\"]=\"application/json; charset=UTF-8\",\"string\"!=typeof r.body&&(r.body=JSON.stringify(r.body));break;case\"form\":r.headers[\"Content-Type\"]=\"multipart/form-data\",r.body instanceof FormData||void 0!==r.body||(r.body=e.serialize(r.body))}return fetch(h.format(t.url),r)}static serialize(t,r){return u.map(t,(function(t,n){if(\"object\"==typeof t){var o=r;return r&&(o=\"number\"==typeof n?r.substring(0,r.length-1)+\"[\"+n+\"].\":r+encodeURIComponent(n)+\".\"),e.serialize(t,o)}return(r||\"\")+encodeURIComponent(n)+\"=\"+encodeURIComponent(t)}),!0)}};return t=e=s([f.service(\"$http\"),i(\"design:paramtypes\",[])],t),t})();t.FetchHttp=m;class g{constructor(){}parse(e){var t=/^ *(\\w+)/.exec(e);return t?{method:t[1],$$length:t[0].length}:l.Parser.parseAny(e,!1)}build(e,t){return t||(t={method:\"getJSON\"}),function(r){var n=t;return t instanceof Function&&(n=t(r)),c.injectWithName([\"$http\"],(function(t){var o=e(r);return\"string\"==typeof o?t[n.method||\"getJSON\"](o,u.grep(n,(function(e,t){return\"method\"!=t}))):Array.isArray(o)?t[n.method||\"getJSON\"].apply(t,o):t[n.method||\"getJSON\"](o)}))}}}t.HttpCallFormatterFactory=g;class b extends g{constructor(){super()}build(e,t){return r=>super.build(e,t)(r)()}}t.HttpFormatterFactory=b,d.module(\"$formatters\").register(\"#http\",new b),d.module(\"$formatters\").register(\"#httpCall\",new g)},\"../../node_modules/@akala/core/dist/index.js\":function(e,t,r){\"use strict\";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,\"default\",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__exportStar||function(e,t){for(var r in e)\"default\"===r||t.hasOwnProperty(r)||n(t,e,r)},a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t};Object.defineProperty(t,\"__esModule\",{value:!0}),t.introspect=t.ExtendableEvent=t.Module=void 0,s(r(\"../../node_modules/@akala/core/dist/injector.js\"),t),s(r(\"../../node_modules/@akala/core/dist/global-injector.js\"),t),s(r(\"../../node_modules/@akala/core/dist/factory.js\"),t),s(r(\"../../node_modules/@akala/core/dist/http.js\"),t),s(r(\"../../node_modules/@akala/core/dist/service.js\"),t),s(r(\"../../node_modules/@akala/core/dist/binder.js\"),t),s(r(\"../../node_modules/@akala/core/dist/parser.js\"),t),s(r(\"../../node_modules/@akala/core/dist/helpers.js\"),t),s(r(\"../../node_modules/@akala/core/dist/router/index.js\"),t),s(r(\"../../node_modules/@akala/core/dist/queue.js\"),t);const i=r(\"../../node_modules/@akala/core/dist/module.js\");Object.defineProperty(t,\"Module\",{enumerable:!0,get:function(){return i.Module}}),Object.defineProperty(t,\"ExtendableEvent\",{enumerable:!0,get:function(){return i.ExtendableEvent}});var c=r(\"../../node_modules/@akala/core/dist/api/json-rpc-ws.js\");Object.defineProperty(t,\"JsonRpcWs\",{enumerable:!0,get:function(){return c.JsonRpcWs}});var l=r(\"../../node_modules/@akala/core/dist/api/rest.js\");Object.defineProperty(t,\"Rest\",{enumerable:!0,get:function(){return l.Rest}}),s(r(\"../../node_modules/@akala/core/dist/api/index.js\"),t),s(r(\"../../node_modules/@akala/core/dist/promiseHelpers.js\"),t);var u=r(\"../../node_modules/@akala/core/dist/eachAsync.js\");Object.defineProperty(t,\"eachAsync\",{enumerable:!0,get:function(){return u.each}});var d=r(\"../../node_modules/@akala/core/dist/each.js\");Object.defineProperty(t,\"each\",{enumerable:!0,get:function(){return d.each}}),Object.defineProperty(t,\"grep\",{enumerable:!0,get:function(){return d.grep}}),Object.defineProperty(t,\"map\",{enumerable:!0,get:function(){return d.map}}),s(r(\"../../node_modules/@akala/core/dist/interpolate.js\"),t);const f=a(r(\"../../node_modules/@akala/core/dist/reflect.js\"));t.introspect=f,s(r(\"../../node_modules/@akala/core/dist/chain.js\"),t),s(r(\"../../node_modules/@akala/core/dist/polymorph.js\"),t)},\"../../node_modules/@akala/core/dist/injector.js\":function(e,t,r){\"use strict\";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0}),t.defaultInjector=t.Injector=void 0;const o=r(\"../../node_modules/@akala/core/dist/reflect.js\"),s=n(r(\"../../node_modules/@akala/core/node_modules/debug/src/browser.js\")),a=r(\"../../node_modules/@akala/core/dist/promiseHelpers.js\"),i=r(\"../../node_modules/events/events.js\");var c=s.default(\"akala:core:injector\");function l(){for(var e=[null],t=0;t0&&this.notifier.emit(e,t),this.parent&&this.parent.notify(e,t)}onResolve(e,t){if(!t)return new Promise((t,r)=>{this.onResolve(e,t)});var r=this.resolve(e);null==r?(this.notifier.once(e,e=>{e.get?t(e.get()):t(e.value)}),this.parent&&this.parent.onResolve(e,t)):t(r)}inject(e,...t){if(\"function\"==typeof e)return this.injectWithName(e.$inject||o.getParamNames(e),e);var r=this;return function(n){void 0===t&&(t=[]),t.unshift(e);var o=r.injectWithName(t,n.value);n.value=function(){return o.apply(this,arguments)}}}injectAsync(e,...t){if(\"function\"==typeof e)return this.injectWithNameAsync(e.$inject||o.getParamNames(e),e);void 0===t&&(t=[]),t.unshift(e);var r=this;return function(e){var n=e.value;e.value=function(){return r.injectWithNameAsync(t,n)}}}injectNew(e){return this.inject(l.bind(e))}resolve(e){return c(\"resolving \"+e),void 0!==this.injectables[e]?(c(\"resolved \"+e),c.extend(\"verbose\")(`resolved ${e} to ${this.injectables[e]}`),this.injectables[e]):~e.indexOf(\".\")?e.split(\".\").reduce((e,t,r)=>e instanceof Proxy?e[t]:e instanceof u?e.resolve(t):a.isPromiseLike(e)?e.then(e=>e[t]):e===this.injectables&&void 0===e[t]&&this.parent?this.parent.resolve(t):e&&e[t],this.injectables):this.parent?(c(\"trying parent injector\"),this.parent.resolve(e)):null}resolveAsync(e){return this.onResolve(e)}inspect(){this.inspecting||(this.inspecting=!0,console.log(this.injectables),this.inspecting=!1)}toJSON(){console.log(arguments);var e=this.browsingForJSON;if(this.browsingForJSON=!0,!e)return this.injectables;this.browsingForJSON=e}injectNewWithName(e,t){return this.injectWithName(e,l.bind(t))}injectWithNameAsync(e,t){if(!e||0==e.length)return Promise.resolve(t());var r=o.getParamNames(t),n=this,s=!1;return new Promise((o,i)=>{if(r.length==e.length||0==r.length)if(e.length==r.length&&0==r.length)o(t.call(null));else{var c=[];for(var l of e)c[c.length]=n.resolveAsync(l),a.isPromiseLike(c[c.length-1])&&(s=!0);if(s)return Promise.all(c.map((function(e){return a.isPromiseLike(e)?e:Promise.resolve(e)}))).then(e=>{o(t.apply(null,e))});o(t.apply(null,c))}else i(\"the number of arguments does not match the number of injected parameters\")})}injectWithName(e,t){var r=this;if(e&&e.length>0){var n=o.getParamNames(t);if(n.length==e.length||0==n.length)return e.length==n.length&&0==n.length?t:function(n){var o=[];for(var s of e)o[o.length]=r.resolve(s);return t.apply(n,o)}}return function(o,...s){var a=[],i=0;for(var c of e){var l=r.resolve(c);l&&n&&n.indexOf(c)==a.length?a[a.length]=l:void 0!==s[i]?a[a.length]=s[i++]:a[a.length]=l}return s&&s.length>i&&a.concat(s.slice(i)),t.apply(o,a)}}exec(...e){var t=this;return function(r){return t.injectWithName(e,r)(this)}}unregister(e){Object.getOwnPropertyDescriptor(this.injectables,e)&&delete this.injectables[e]}register(e,t,r){return null!=t&&this.registerDescriptor(e,{value:t,enumerable:!0,configurable:!0},r),t}registerFactory(e,t,r){return this.register(e+\"Factory\",t,r),this.registerDescriptor(e,{get:function(){return t()},enumerable:!0,configurable:!0},r),t}factory(e,t){var r=this;return function(n){return r.registerFactory(e,n,t)}}service(e,t,...r){var n,o=this;return void 0===r&&(r=[]),\"string\"==typeof t&&(r.unshift(t),t=!1),function(t){o.registerDescriptor(e,{get:()=>n||(n=o.injectNewWithName(r,t)())})}}registerDescriptor(e,t,r){if(c(\"registering \"+e),!r&&void 0!==this.injectables[e])throw new Error(\"There is already a registered item for \"+e);void 0!==this.injectables[e]&&this.unregister(e),Object.defineProperty(this.injectables,e,t),this.notify(e,t)}}t.Injector=u,t.defaultInjector=new u},\"../../node_modules/@akala/core/dist/interpolate.js\":function(e,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.Interpolate=void 0;const n=r(\"../../node_modules/@akala/core/dist/binder.js\");let o=(()=>{class e{get startSymbol(){return e._startSymbol}set startSymbol(t){e._startSymbol=t}get endSymbol(){return e._endSymbol}set endSymbol(t){e._endSymbol=t}static unescapeText(t){return t.replace(this.escapedStartRegexp,e._startSymbol).replace(this.escapedEndRegexp,e._endSymbol)}static escape(e){return\"\\\\\\\\\\\\\"+e}static build(t,r,o,s){var a=e._startSymbol.length,i=e._endSymbol.length;if(!t.length||-1===t.indexOf(e._startSymbol))return r?void 0:function(e){return t};s=!!s;for(var c,l,u,d=0,f=[],h=[],p=t.length,m=[],g=[];dthis._done=!0)}get done(){return this._done}}t.ExtendableEvent=d;let f=(()=>{class e extends u.Injector{constructor(t,r){super(h),this.name=t,this.dep=r,this.emitter=new l.EventEmitter,this.activateEvent=new d,this.readyEvent=new d;var n=h.resolve(t);if(n&&void 0!==r)throw new Error(\"the module can be registered only once with dependencies\");if(n)return void 0!==r&&(delete e.o.tasks[t+\"#activate\"],delete e.o.tasks[t+\"#ready\"],delete e.o.tasks[t],n.dep=r,h.unregister(t),e.registerModule(n)),n;e.registerModule(this),this.emitter.setMaxListeners(0)}static registerModule(t){var r=t.emitter;void 0===t.dep&&(t.dep=[]),e.o.add(t.name+\"#activate\",t.dep.map(e=>e+\"#activate\"),(function(e){r.emit(\"activate\",t.activateEvent),t.activateEvent.complete().then(()=>{e()},e)})),e.o.add(t.name+\"#ready\",[t.name+\"#activate\"].concat(t.dep.map(e=>e+\"#ready\")),(function(e){r.emit(\"ready\",t.readyEvent),t.readyEvent.complete().then(()=>{e()},e)})),e.o.add(t.name,[t.name+\"#ready\"],(function(){})),h.register(t.name,t)}ready(e,t){return this.readyEvent.done?this.injectWithName(e,t)():this.emitter.on(\"ready\",this.injectWithName(e,t)),this}readyAsync(e,t){return this.readyEvent.done?this.injectWithNameAsync(e,t.bind(this.readyEvent)):(this.emitter.on(\"ready\",r=>{this.injectWithNameAsync(e,t.bind(r))}),this)}activate(e,t){return this.activateEvent.done?this.injectWithName(e,t)():this.emitter.on(\"activate\",this.injectWithName(e,t)),this}activateAsync(e,t){return this.readyEvent.done?this.injectWithNameAsync(e,t.bind(this.readyEvent)):(this.emitter.on(\"activate\",r=>{this.injectWithNameAsync(e,t.bind(r))}),this)}start(t,r){arguments.length>0?e.o.on(\"stop\",this.injectWithName(t,r)):e.o.start(this.name)}}return e.o=new c.default,e})();t.Module=f;var h=i.resolve(\"$modules\");h||(h=new u.Injector,i.register(\"$modules\",h))}).call(this,r(\"../../node_modules/process/browser.js\"))},\"../../node_modules/@akala/core/dist/parser.js\":function(e,t,r){\"use strict\";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,\"default\",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t};Object.defineProperty(t,\"__esModule\",{value:!0}),t.Parser=t.ParsedBoolean=t.ParsedNumber=t.ParsedString=t.ParsedBinary=void 0;const a=r(\"../../node_modules/@akala/core/dist/promiseHelpers.js\"),i=r(\"../../node_modules/@akala/core/dist/binder.js\"),c=s(r(\"../../node_modules/@akala/core/dist/formatters/index.js\")),l=r(\"../../node_modules/@akala/core/dist/helpers.js\");var u=/^ *(?:(?:\"([^\"]+)\")|(?:'([^']+)')|(?:([^\\: ]+)) *): */;class d{constructor(e,t,r){this.operator=e,this.left=t,this.right=r,this.$$length=this.left.$$length+this.operator.length+this.right.$$length}evaluate(e,t){var r=this;if(t){var n,o;r.left instanceof Function?n=r.left(e,t):r.left instanceof d?n=r.left.evaluate(e,t):r.left instanceof f||r.left instanceof h?n=r.left.value:(r.left instanceof Array||r.left instanceof Object)&&(n=r.left),r.right instanceof Function?o=r.right(e,t):r.right instanceof d?o=r.right.evaluate(e,t):r.right instanceof f||r.right instanceof h?o=r.right.value:(r.right instanceof Array||r.right instanceof Object)&&(o=r.right);var s=new i.Binding(null,null,!1);return n instanceof i.Binding&&n.pipe(s),o instanceof i.Binding&&o.pipe(s),s.$$length=r.$$length,s.getValue=function(){var e,t;return e=n instanceof i.Binding?n.getValue():n,t=o instanceof i.Binding?o.getValue():o,m.operate(r.operator,e,t)},s}return r.left instanceof Function?n=r.left(e,!1):r.left instanceof d?n=r.left.evaluate(e,t):r.left instanceof f||r.left instanceof h?n=r.left.value:(r.left instanceof Array||r.left instanceof Object)&&(n=r.left),r.right instanceof Function?o=r.right(e,!1):r.right instanceof d?o=r.right.evaluate(e,t):r.right instanceof f||r.right instanceof h?o=r.right.value:(r.right instanceof Array||r.right instanceof Object)&&(o=r.right),m.operate(r.operator,n,o)}static applyPrecedence(e){if(\"+\"!=e.operator&&\"-\"!=e.operator&&e.right instanceof Function&&e.right.$$ast){var t=d.applyPrecedence(e.right.$$ast);switch(t.operator){case\"+\":case\"-\":break;case\"*\":case\"/\":case\"&&\":case\"||\":case\".\":var r=e.left;e.right=t.right,e.left=new d(e.operator,r,t.left),e.operator=t.operator}}return e}toString(){return\"(\"+this.left.toString()+this.operator+this.right.toString()+\")\"}}t.ParsedBinary=d;class f{constructor(e){this.value=e,this.$$length=e.length+2}toString(){return this.value}}t.ParsedString=f;class h{constructor(e){this.value=Number(e),this.$$length=e.length}}t.ParsedNumber=h;class p{constructor(e){this.value=Boolean(e),void 0!==e&&(this.$$length=e.toString().length)}}t.ParsedBoolean=p;class m{static parse(e,t){e=e.trim();var r=m.parseAny(e,t);return!t&&r instanceof d?r.evaluate.bind(r):r}static parseAny(e,t){switch(e[0]){case\"{\":return m.parseObject(e,t);case\"[\":return m.parseArray(e,t);case'\"':case\"'\":return m.parseString(e,e[0]);case\"0\":case\"1\":case\"2\":case\"3\":case\"4\":case\"5\":case\"6\":case\"7\":case\"8\":case\"9\":case\".\":return m.parseNumber(e);default:return m.parseEval(e)}}static parseNumber(e){var t=new h(/^[0-9.]/.exec(e)[0]);return m.tryParseOperator(e.substring(t.$$length),t)}static parseBoolean(e){var t=c.identity;if(\"!\"==e[0]&&(t=c.negate,e=e.substring(1)),\"!\"==e[0]&&(t=c.booleanize,e=e.substring(1)),/^true|false|undefined/.exec(e)){var r=new p(/^true|false|undefined/.exec(e)[0]);return t!==c.identity&&(r.value=t(r.value)),r}return null}static parseEval(e){var t=m.parseBoolean(e);return t||m.parseFunction(e)}static parseFunction(e){var t=0,r=c.identity;\"!\"==e[0]&&(r=c.negate,e=e.substring(1),t++),\"!\"==e[0]&&(r=c.booleanize,e=e.substring(1),t++);var n=/^[\\w0-9\\.\\$]*/.exec(e)[0];t+=n.length;var o=m.parseBindable(n),s=function(e,t){var s;if(t)return a.isPromiseLike(e)?((s=new i.PromiseBinding(n,e)).$$length=n.length,s.formatter=r,s):((s=new i.Binding(n,e)).$$length=n.length,s.formatter=r,s);if(o.length>=1&&\"\"!=o[0])for(var c=0;c=!\\+\\-\\/\\*&\\|\\.#]+) */.exec(e);if(!r)return t;switch(r[1]){case\"#\":return m.parseFormatter(e,t);case\".\":default:e=e.substring(r[0].length);var n=m.parseAny(e,!1),o=new d(r[1],t,n);return o.$$length=t.$$length+r[0].length+n.$$length,d.applyPrecedence(o)}}static parseArray(e,t){var r=[];Object.defineProperty(r,\"$$length\",{value:0,enumerable:!1,configurable:!0,writable:!0});return m.parseCSV(e,(function(e){var t=m.parseAny(e,!1);return(t=m.tryParseOperator(e.substring(t.$$length),t))instanceof p||t instanceof f||t instanceof h?r.push(t):t instanceof d?r.push(t.evaluate.bind(t)):r.push(t),r.$$length+=t.$$length,t}),\"]\",r,t)}static parseString(e,t){var r=new RegExp(\"^\"+t+\"((?:[^\\\\\"+t+\"]|\\\\.)+)\"+t).exec(e),n=r[1],o=new f(n);return m.tryParseOperator(e.substring(r[0].length),o)}static operate(e,t,r){switch(e){case\"==\":return t==r;case\"===\":return t===r;case\"<\":return t\":return t>r;case\">=\":return t>=r;case\"!=\":return t!=r;case\"!==\":return t!==r;case\"+\":return t+r;case\"-\":return t-r;case\"/\":return t/r;case\"*\":return t*r;case\"||\":return t||r;case\"&&\":return t&&r;case\".\":return r instanceof Function?r(t):t[r];default:throw new Error(\"invalid operator\"+e)}}static parseCSV(e,t,r,n,o){e=e.substring(1),n.$$length++;var s,a=!1;do{var i=t(e);(i instanceof Function||i instanceof d)&&(a=!0),e=e.substring(i.$$length);var c=/^ *, */.exec(e);if(!c)break;e=e.substring(c[0].length),n.$$length+=c[0].length}while(e[0]!=r);if(n.$$length+=r.length,s=n instanceof Array?[]:{},a&&!o){var l=function(e,t){for(var r in n)n[r]instanceof Function?s[r]=n[r](e,t):s[r]=n[r];return s};return l.$$length=n.$$length,l}return n}static parseObject(e,t){var r={};Object.defineProperty(r,\"$$length\",{value:0,enumerable:!1,writable:!0,configurable:!0});var n=m.parseCSV(e,(function(e){var t=u.exec(e),n=t[1]||t[2]||t[3],o=t[0].length+t.index;e=e.substring(o);var s=m.parseAny(e,!1);return o+=s.$$length,r[n]=s instanceof p||s instanceof f||s instanceof h?s.value:s instanceof d?s.evaluate.bind(s):s,s.$$length=o,r.$$length+=o,s}),\"}\",r,t);return this.tryParseOperator(e.substring(n.$$length),n)}static parseBindable(e){return e.split(\".\")}static getSetter(e,t){for(var r=t,n=m.parseBindable(e);n.length>1&&void 0!==r;)r=m.eval(n[0],r),n.shift();return void 0===r?null:{expression:n[0],target:r,set:function(e){r[n[0]]=e}}}static evalAsFunction(e,t){if(!e&&\"string\"!=typeof e)return null;var r=m.parse(e,t);return r instanceof Array?m.parseFunction(e):r}static eval(e,t){return m.evalAsFunction(e,!1)(t,!1)}}t.Parser=m},\"../../node_modules/@akala/core/dist/polymorph.js\":function(e,t,r){\"use strict\";function n(e){return e.reduce((e,t,r)=>(e==t&&console.warn(`there might be a conflict in polymorphism since types at position ${r-1} and ${r} are identical`),t),\"\"),function(t){return function(...r){var n=[];let o=0;for(let t=0;t{var s=n.setTimeout((function(){!0,o(\"timeout\")}),t);e.then((function(e){n.clearTimeout(s),r(e)}),(function(e){n.clearTimeout(s),o(e)}))})},function(e){e[e.Pending=0]=\"Pending\",e[e.Resolved=1]=\"Resolved\",e[e.Rejected=2]=\"Rejected\"}(t.PromiseStatus||(t.PromiseStatus={}))},\"../../node_modules/@akala/core/dist/queue.js\":function(e,t,r){\"use strict\";(function(e){Object.defineProperty(t,\"__esModule\",{value:!0}),t.Queue=void 0;t.Queue=class{constructor(e,t){this.handler=e,this.processing=!1,this.pending=t||[]}enqueue(e){this.pending.push(e),this.save(),this.process()}save(e){if(e)throw new Error(\"You need to define where and how to save the queue.\")}process(){if(!this.processing){this.processing=!0;var t=this.pending.shift();if(this.current=t,!t)return this.processing=!1;this.handler(t,r=>{!1===r&&this.enqueue(t),this.save(),this.processing=!1,!1!==r&&e.nextTick(this.process.bind(this))})}}}}).call(this,r(\"../../node_modules/process/browser.js\"))},\"../../node_modules/@akala/core/dist/reflect.js\":function(e,t,r){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.escapeRegExp=t.getParamNames=void 0;var n=/((\\/\\/.*$)|(\\/\\*[\\s\\S]*?\\*\\/))/gm;t.getParamNames=function(e){var t=e.toString().replace(n,\"\"),r=t.slice(t.indexOf(\"(\")+1,t.indexOf(\")\")).match(/([^\\s,]+)/g);return null===r&&(r=[]),r},t.escapeRegExp=function(e){return e.replace(/[\\-\\[\\]\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]/g,\"\\\\$&\")}},\"../../node_modules/@akala/core/dist/router/index.js\":function(e,t,r){\"use strict\";(function(e,n){\n/*!\n * router\n * Copyright(c) 2013 Roman Shtylman\n * Copyright(c) 2014 Douglas Christopher Wilson\n * MIT Licensed\n */\nObject.defineProperty(t,\"__esModule\",{value:!0}),t.Router2=t.Router1=t.Router=t.Route=t.Layer=void 0;var o=r(\"../../node_modules/@akala/core/node_modules/debug/src/browser.js\")(\"router\");const s=r(\"../../node_modules/@akala/core/dist/router/layer.js\");Object.defineProperty(t,\"Layer\",{enumerable:!0,get:function(){return s.Layer}});const a=r(\"../../node_modules/@akala/core/dist/helpers.js\"),i=r(\"../../node_modules/url/url.js\"),c=r(\"../../node_modules/@akala/core/dist/router/route.js\");Object.defineProperty(t,\"Route\",{enumerable:!0,get:function(){return c.Route}});Array.prototype.slice;var l=\"function\"==typeof e?e:function(e,...t){n.nextTick(e.bind.apply(e,arguments))};class u{constructor(e){this.params={},this.stack=[],this.router=this.handle.bind(this);var t=e||{};this.caseSensitive=t.caseSensitive,this.mergeParams=t.mergeParams,this.separator=t.separator||\"/\",this.strict=t.strict,this.length=t.length||2}param(e,t){if(!e)throw new TypeError(\"argument name is required\");if(\"string\"!=typeof e)throw new TypeError(\"argument name must be a string\");if(!t)throw new TypeError(\"argument fn is required\");if(\"function\"!=typeof t)throw new TypeError(\"argument fn must be a function\");var r=this.params[e];return r||(r=this.params[e]=[]),r.push(t),this}handle(e,...t){return this.internalHandle.apply(this,[{},e].concat(t))}internalHandle(e,t,...r){var n=r[r.length-1];if(e&&!e.ensureCleanStart&&(e.ensureCleanStart=function(){t.url[0]!==f&&(t.url=f+t.url,c=!0)}),!n)throw new TypeError(\"argument callback is required\");o(\"dispatching %s %s\",t.method||\"\",t.url);var s=0,a=\"\",i=this,c=!1,d={},f=this.separator,h=this.stack,p=t.params,m=t.baseUrl||\"\",g=u.restore(n,t,\"baseUrl\",\"next\",\"params\");function b(n){var v=\"route\"===n?null:n;if(c&&t.url&&(t.url=t.url.substr(1),c=!1),0!==a.length&&(i.unshift(t,a,m),a=\"\"),\"router\"!==v)if(s>=h.length)l(g,v);else{var y,_,w,j=i.getPathname(t);if(null==j)return g(v);for(;!0!==_&&s=a.length?o():(h=0,c=a[f++],i=c.name,l=r.params[i],u=s[i],d=t[i],void 0!==l&&u?d&&(d.match===l||d.error&&\"route\"!==d.error)?(r.params[i]=d.value,p(d.error)):(t[i]=d={error:null,match:l,value:l},void m()):p())}function m(e){var t=u[h++];if(d.value=r.params[c.name],e)return d.error=e,void p(e);if(!t)return p();try{t(r,m,l,c.name,n.slice(0,n.length-1))}catch(e){m(e)}}p()}use(...e){var t=this.separator;\"function\"!=typeof e[0]&&\"string\"==typeof e[0]&&(1,t=e.shift());var r=e;if(0===r.length)throw new TypeError(\"argument handler is required\");for(var n=0;n\");var r=this.buildLayer(e,{sensitive:this.caseSensitive,strict:!1,end:!1,length:this.length},t);return r.route=void 0,this.stack.push(r),r}route(e){var t=this.buildRoute(e),r=this.buildLayer(e,{sensitive:this.caseSensitive,strict:this.strict,end:!0,length:this.length},t.dispatch.bind(t));return r.route=t,this.stack.push(r),t}getPathname(e){try{return i.parse(e.url).pathname}catch(e){return}}static matchLayer(e,t){try{return e.match(t)}catch(e){return e}}static mergeParams(e,t){if(\"object\"!=typeof t||!t)return e;var r=a.extend({},t);if(!(0 in e)||!(0 in t))return a.extend(r,e);for(var n=0,o=0;n in e;)n++;for(;o in t;)o++;for(n--;n>=0;n--)e[n+o]=e[n],n\",this.params=void 0,this.path=void 0,this.regexp=l(e,this.keys=[],n),this.regexp.fast_star=\"*\"===e,this.regexp.fast_slash=\"/\"===e&&!1===n.end,this.isErrorHandler=0==r.length||r.length>=(n.length||2)+2,this.isRequestHandler=0==r.length||r.length<(n.length||2)+2}isApplicable(e,t){return!0}handle_error(e,...t){var r=this.handler,n=t[t.length-1];if(!this.isErrorHandler)return u(\"skipping non error handler\"),n(e);try{r.apply(null,[e].concat(t))}catch(e){n(e)}}handle_request(...e){var t=this.handler,r=e[e.length-1];if(!this.isRequestHandler)return u(\"skipping non request handler\"),r();try{t.apply(null,e)}catch(e){r(e)}}match(e){var t;if(u(this.regexp),null!=e){if(this.regexp.fast_slash)return this.params={},this.path=\"\",!0;if(this.regexp.fast_star)return this.params={0:h(e)},this.path=e,!0;t=this.regexp.exec(e)}if(!t)return u(this.regexp),this.params=void 0,this.path=void 0,!1;this.params={},this.path=t[0];for(var r=this.keys,n=this.params,o=1;o=o.length)return r(t);for(var s,i;!0!==i&&n0)throw new Error(\"missing inject names\");n.registerFactory(e,(function(){return o||n.injectWithName(t,(function(){for(var e=[null],t=0;t{\"%%\"!==e&&(n++,\"%c\"===e&&(o=n))}),t.splice(o,0,r)},t.save=function(e){try{e?t.storage.setItem(\"debug\",e):t.storage.removeItem(\"debug\")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem(\"debug\")}catch(e){}!e&&void 0!==n&&\"env\"in n&&(e=n.env.DEBUG);return e},t.useColors=function(){if(\"undefined\"!=typeof window&&window.process&&(\"renderer\"===window.process.type||window.process.__nwjs))return!0;if(\"undefined\"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\\/(\\d+)/))return!1;return\"undefined\"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||\"undefined\"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||\"undefined\"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/)&&parseInt(RegExp.$1,10)>=31||\"undefined\"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=[\"#0000CC\",\"#0000FF\",\"#0033CC\",\"#0033FF\",\"#0066CC\",\"#0066FF\",\"#0099CC\",\"#0099FF\",\"#00CC00\",\"#00CC33\",\"#00CC66\",\"#00CC99\",\"#00CCCC\",\"#00CCFF\",\"#3300CC\",\"#3300FF\",\"#3333CC\",\"#3333FF\",\"#3366CC\",\"#3366FF\",\"#3399CC\",\"#3399FF\",\"#33CC00\",\"#33CC33\",\"#33CC66\",\"#33CC99\",\"#33CCCC\",\"#33CCFF\",\"#6600CC\",\"#6600FF\",\"#6633CC\",\"#6633FF\",\"#66CC00\",\"#66CC33\",\"#9900CC\",\"#9900FF\",\"#9933CC\",\"#9933FF\",\"#99CC00\",\"#99CC33\",\"#CC0000\",\"#CC0033\",\"#CC0066\",\"#CC0099\",\"#CC00CC\",\"#CC00FF\",\"#CC3300\",\"#CC3333\",\"#CC3366\",\"#CC3399\",\"#CC33CC\",\"#CC33FF\",\"#CC6600\",\"#CC6633\",\"#CC9900\",\"#CC9933\",\"#CCCC00\",\"#CCCC33\",\"#FF0000\",\"#FF0033\",\"#FF0066\",\"#FF0099\",\"#FF00CC\",\"#FF00FF\",\"#FF3300\",\"#FF3333\",\"#FF3366\",\"#FF3399\",\"#FF33CC\",\"#FF33FF\",\"#FF6600\",\"#FF6633\",\"#FF9900\",\"#FF9933\",\"#FFCC00\",\"#FFCC33\"],e.exports=r(\"../../node_modules/@akala/core/node_modules/debug/src/common.js\")(t);const{formatters:o}=e.exports;o.j=function(e){try{return JSON.stringify(e)}catch(e){return\"[UnexpectedJSONParseError]: \"+e.message}}}).call(this,r(\"../../node_modules/process/browser.js\"))},\"../../node_modules/@akala/core/node_modules/debug/src/common.js\":function(e,t,r){e.exports=function(e){function t(e){let t=0;for(let r=0;r{if(\"%%\"===r)return r;i++;const s=n.formatters[o];if(\"function\"==typeof s){const n=e[i];r=s.call(t,n),e.splice(i,1),i--}return r}),n.formatArgs.call(t,e),(t.log||n.log).apply(t,e)}return a.namespace=e,a.enabled=n.enabled(e),a.useColors=n.useColors(),a.color=t(e),a.destroy=o,a.extend=s,\"function\"==typeof n.init&&n.init(a),n.instances.push(a),a}function o(){const e=n.instances.indexOf(this);return-1!==e&&(n.instances.splice(e,1),!0)}function s(e,t){const r=n(this.namespace+(void 0===t?\":\":t)+e);return r.log=this.log,r}function a(e){return e.toString().substring(2,e.toString().length-2).replace(/\\.\\*\\?$/,\"*\")}return n.debug=n,n.default=n,n.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},n.disable=function(){const e=[...n.names.map(a),...n.skips.map(a).map(e=>\"-\"+e)].join(\",\");return n.enable(\"\"),e},n.enable=function(e){let t;n.save(e),n.names=[],n.skips=[];const r=(\"string\"==typeof e?e:\"\").split(/[\\s,]+/),o=r.length;for(t=0;t{n[t]=e[t]}),n.instances=[],n.names=[],n.skips=[],n.formatters={},n.selectColor=t,n.enable(n.load()),n}},\"../../node_modules/@akala/json-rpc-ws/browser.js\":function(e,t,r){(function(t){e.exports=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(e,\"__esModule\",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&\"object\"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,\"default\",{enumerable:!0,value:e}),2&t&&\"string\"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,\"a\",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p=\"\",r(r.s=\"./lib/browser.js\")}({\"../../node_modules/ms/index.js\":function(e,t){var r=1e3,n=6e4,o=60*n,s=24*o;function a(e,t,r,n){var o=t>=1.5*r;return Math.round(e/r)+\" \"+n+(o?\"s\":\"\")}e.exports=function(e,t){t=t||{};var i=typeof e;if(\"string\"===i&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var t=/^(-?(?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var a=parseFloat(t[1]);switch((t[2]||\"ms\").toLowerCase()){case\"years\":case\"year\":case\"yrs\":case\"yr\":case\"y\":return 315576e5*a;case\"weeks\":case\"week\":case\"w\":return 6048e5*a;case\"days\":case\"day\":case\"d\":return a*s;case\"hours\":case\"hour\":case\"hrs\":case\"hr\":case\"h\":return a*o;case\"minutes\":case\"minute\":case\"mins\":case\"min\":case\"m\":return a*n;case\"seconds\":case\"second\":case\"secs\":case\"sec\":case\"s\":return a*r;case\"milliseconds\":case\"millisecond\":case\"msecs\":case\"msec\":case\"ms\":return a;default:return}}}}(e);if(\"number\"===i&&isFinite(e))return t.long?function(e){var t=Math.abs(e);return t>=s?a(e,t,s,\"day\"):t>=o?a(e,t,o,\"hour\"):t>=n?a(e,t,n,\"minute\"):t>=r?a(e,t,r,\"second\"):e+\" ms\"}(e):function(e){var t=Math.abs(e);return t>=s?Math.round(e/s)+\"d\":t>=o?Math.round(e/o)+\"h\":t>=n?Math.round(e/n)+\"m\":t>=r?Math.round(e/r)+\"s\":e+\"ms\"}(e);throw new Error(\"val is not a non-empty string or a valid number. val=\"+JSON.stringify(e))}},\"./lib/base.js\":function(e,t,r){\"use strict\";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0});const o=n(r(\"./node_modules/debug/src/browser.js\")),s=r(\"./node_modules/uuid/dist/esm-browser/index.js\"),a=o.default(\"json-rpc-ws\");t.Base=class{constructor(e){this.type=e,this.id=s.v4(),this.browser=!1,this.requestHandlers={},this.connections={}}expose(e,t){if(a(\"registering handler for %s\",e),this.requestHandlers[e])throw Error(\"cannot expose handler, already exists \"+e);this.requestHandlers[e]=t}connected(e){var t=this.connection(e);a(\"%s connected with id %s\",this.type,t.id),this.connections[t.id]=t}disconnected(e){a(\"disconnected\"),delete this.connections[e.id]}hasHandler(e){return void 0!==this.requestHandlers[e]}getHandler(e){return this.requestHandlers[e]}getConnection(e){return this.connections[e]}hangup(){a(\"hangup\"),Object.keys(this.connections).forEach((function(e){this.connections[e].close(),delete this.connections[e]}),this)}}},\"./lib/browser.js\":function(e,t,r){\"use strict\";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0});const o=r(\"./lib/shared-connection.js\"),s=n(r(\"./lib/errors.js\"));t.Errors=s.default;const a=n(r(\"./node_modules/debug/src/browser.js\")).default(\"json-rpc-ws\"),i=n(r(\"./lib/ws/browser.js\"));t.Client=i.default,t.createClient=function(){return a(\"createClient\"),new i.default};class c{constructor(e){this.stream=e,this.reader=new l(e),this.reader.releaseLock()}emitError(e){this.reader.emitError(e)}get closed(){return this.reader.closed}cancel(e){return this.reader.cancel(e)}push(...e){this.reader.push(...e)}read(e){return this.reader.read().then(t=>(t.done||(e.byteOffset=t.value.byteOffset,e.byteLength=t.value.byteLength,e.buffer=t.value.buffer),{done:t.done,value:e}))}releaseLock(){this.stream.reader===this&&(this.stream.reader=void 0)}}class l{constructor(e){this.stream=e,this.closed=new o.Deferred}emitError(e){return this.next||(this.next=new o.Deferred),this.next.reject(e),this.next}push(...e){if(0!=e.length){var t=e.reduce((e,t)=>e+(null===t?0:t.byteLength-t.byteOffset),0);if(0===t)return this.next||(this.next=new o.Deferred),this.next.resolve({done:!0});var r=new Uint8Array(t),n=0,s=void 0;for(s of e){if(null===s)break;for(var a=s.byteOffset;aPromise.reject(e)):Promise.reject(e)}read(){return this.next||(this.next=new o.Deferred),this.next.finally(()=>this.next=void 0),this.next}releaseLock(){this.stream.reader===this&&(this.stream.reader=void 0)}}class u{constructor(){this.buffer=[]}get reader(){return this._reader}set reader(e){this._reader=e,e&&this.buffer.length&&e.push(...this.buffer)}get locked(){return!!this.reader&&!this.target}cancel(e){return this.reader?this.reader.cancel(e):this.target?this.target.abort(e):Promise.resolve()}emitError(e){return this.reader?this.reader.emitError(e):this.target?this.target.abort(e):void 0}push(e){this.reader?this.reader.push(e):this.buffer.push(e)}getReader(e){if(this.locked)throw new Error(\"stream is already locked\");return e&&\"byob\"===e.mode?this.reader=new c(this):this.reader=new l(this)}pipeThrough({writable:e,readable:t},r){return this.pipeTo(e,r),t}async pipeTo(e,t){this.target=e;for(var r,n=e.getWriter();void 0!==(r=this.buffer.shift());)r&&await n.write(r),null===r&&t&&t.preventClose&&await n.close()}tee(){throw new Error(\"Method not implemented.\")}}class d extends o.Connection{constructor(e,t){super(e,t)}async sendStream(e,t){var r=t.getReader(),n=await r.read();!n.done&&this.socket.open?this.sendRaw({id:e,result:{event:\"data\",isBuffer:!0,data:{type:\"Buffer\",data:n.value}}}):this.socket.open?this.sendRaw({id:e,result:{event:\"end\"},stream:!1}):a(\"socket was closed before end of stream\")}isStream(e){return void 0!==e&&!!e&&\"function\"==typeof e.getReader}buildStream(e,t){var r=t=new u,n=t;Object.getOwnPropertyNames(n).forEach((function(e){if(null==Object.getOwnPropertyDescriptor(t,e)){var r=Object.getOwnPropertyDescriptor(n,e);r&&Object.defineProperty(t,e,r)}}));var o=this.responseHandlers[e]=(t,n)=>{if(t)r.emitError(t);else switch(n.event){case\"data\":n.data&&r.push(Uint8Array.from(n.data.data)),this.responseHandlers[e]=o;break;case\"end\":r.push(null)}};return t}}t.Connection=d},\"./lib/errors.js\":function(e,t,r){\"use strict\";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0});const o=n(r(\"./node_modules/debug/src/browser.js\")).default(\"json-rpc-ws\");class s{constructor(){this.parseError={code:-32700,message:\"Parse error\"},this.invalidRequest={code:-32600,message:\"Invalid Request\"},this.methodNotFound={code:-32601,message:\"Method not found\"},this.invalidParams={code:-32602,message:\"Invalid params\"},this.internalError={code:-32603,message:\"Internal error\"},this.serverError={code:-32e3,message:\"Server error\"}}}t.Errors=s;var a=new s;t.default=function(e,t,r){if(a[e])throw new Error(\"Invalid error type \"+e);var n={error:a[e]};return\"string\"!=typeof t&&\"number\"!=typeof t||(n.id=t),void 0!==r&&(n.error.data=r),o(\"error %j\",n),n}},\"./lib/shared-client.js\":function(e,t,r){\"use strict\";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0});const o=r(\"./lib/base.js\"),s=n(r(\"./node_modules/debug/src/browser.js\")).default(\"json-rpc-ws\");class a extends o.Base{constructor(e){super(\"client\"),this.socketConstructor=e,s(\"new Client\")}connect(e,t){if(s(\"Client connect %s\",e),!this.isConnected())throw new Error(\"Already connected\");var r=this,n=!1,o=this.socket=this.socketConstructor(e);o.once(\"open\",(function(){r.connected(o),n=!0,t&&t.call(this)})),t&&this.socket.once(\"error\",(function(e){n||t.call(r,e)}))}isConnected(){return 0!==Object.keys(this.connections).length}getConnection(){var e=Object.keys(this.connections);return this.connections[e[0]]}disconnect(e){if(this.isConnected())throw new Error(\"Not connected\");this.getConnection().hangup(e)}send(e,t,r){if(s(\"send %s\",e),!this.isConnected())throw new Error(\"Not connected\");this.getConnection().sendMethod(e,t,r)}}t.default=a},\"./lib/shared-connection.js\":function(e,t,r){\"use strict\";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0});const o=r(\"./node_modules/uuid/dist/esm-browser/index.js\"),s=n(r(\"./node_modules/debug/src/browser.js\")),a=n(r(\"./lib/errors.js\")),i=s.default(\"json-rpc-ws\");t.Deferred=class extends Promise{constructor(){var e,t;super((r,n)=>{e=r,t=n}),this._resolve=e,this._reject=t}resolve(e){if(void 0===this._resolve)throw new Error(\"Not Implemented\");this._resolve(e)}reject(e){if(void 0===this._reject)throw new Error(\"Not Implemented\");this._reject(e)}};var c=function(e){var t;try{t=JSON.parse(e)}catch(e){i(e),t=null}return t},l=function(){i(\"emptycallback\")};t.Connection=class{constructor(e,t){if(this.socket=e,this.parent=t,this.id=o.v4(),this.responseHandlers={},!this.socket.send)throw new Error(\"socket.send is not defined\");i(\"new Connection to %s\",t.type),e.on(\"message\",this.message.bind(this)),this.once(\"close\",this.close.bind(this)),this.once(\"error\",this.close.bind(this))}on(e,t){this.socket.on(e,t)}once(e,t){this.socket.once(e,t)}sendRaw(e){e.jsonrpc=\"2.0\",this.socket.send(JSON.stringify(e))}processPayload(e){var t=e.jsonrpc,r=e.id,n=e.method,o=e.params,s=e.result,a=e.error;if(\"2.0\"!==t)return this.sendError(\"invalidRequest\",r,{info:'jsonrpc must be exactly \"2.0\"'});if(\"string\"==typeof n){var c=this.parent.getHandler(n);return c?null!=r&&\"string\"!=typeof r&&\"number\"!=typeof r?this.sendError(\"invalidRequest\",r,{info:\"id, if provided, must be one of: null, string, number\"}):null!=o&&\"object\"!=typeof o?this.sendError(\"invalidRequest\",r,{info:\"params, if provided, must be one of: null, object, array\"}):(i(\"message method %s\",e.method),null==r?c.call(this,o,l):(e.stream&&(o=this.buildStream(r,o)),c.call(this,o,function(e,t){return i(\"handler got callback %j, %j\",e,t),this.sendResult(r,e,t)}.bind(this)))):this.sendError(\"methodNotFound\",r,{info:\"no handler found for method \"+n})}if(void 0===s&&void 0===a)return this.sendError(\"invalidRequest\",r,{info:\"replies must have either a result or error\"});if(\"string\"==typeof r||\"number\"==typeof r){i(\"message id %s result %j error %j\",r,s,a);var u=this.responseHandlers[r];return u?(delete this.responseHandlers[r],e.stream&&(s=this.buildStream(r,s)),u.call(this,a,s)):this.sendError(\"invalidRequest\",r,{info:\"no response handler for id \"+r})}}sendResult(e,t,r,n){if(i(\"sendResult %s %s %j %j\",e,n,t,r),t&&r)throw new Error(\"Cannot have both an error and a result\");var o={id:e,stream:!!n||this.isStream(r)};if(r){var s={};if(Object.getOwnPropertyNames(r).forEach(e=>{\"_\"!=e[0]&&Object.defineProperty(s,e,Object.getOwnPropertyDescriptor(r,e))}),o.result=s,o.stream&&this.isStream(r)){if(void 0===e)throw new Error(\"streams are not supported without an id\");i(\"result is stream\"),this.sendStream(e,r)}}else o.error=t;this.sendRaw(o)}sendMethod(e,t,r){var n=o.v4();if(\"string\"!=typeof e||!e.length)throw new Error(\"method must be a non-empty string\");if(null!=t&&!(t instanceof Object))throw new Error(\"params, if provided, must be an array, object or null\");i(\"sendMethod %s\",e,n),this.responseHandlers[n]=r||l;var s={id:n,method:e};t&&(this.isStream(t)&&(s.stream=!0,this.sendStream(n,t)),s.params=t),this.sendRaw(s)}sendError(e,t,r){i(\"sendError %s\",e),this.sendRaw(a.default(e,t,r))}close(e){i(\"close\"),e&&1e3!==e&&i(\"close error %s\",e.stack||e),this.parent.disconnected(this),delete this.socket}hangup(e){if(i(\"hangup\"),!this.socket)throw new Error(\"Not connected\");if(\"function\"==typeof e){var t=this.socket;t.once(\"error\",e),t.once(\"close\",e)}this.socket.close()}message(e){var t;if(i(\"message %j\",e),\"string\"!=typeof e?t=c(e.data):\"string\"==typeof e&&(t=c(e)),null===t)return console.error(e),a.default(\"parseError\");t instanceof Array?t.forEach(this.processPayload,this):this.processPayload(t)}}},\"./lib/ws/browser.js\":function(e,t,r){\"use strict\";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0});const o=n(r(\"./lib/ws/shared-client.js\")),s=r(\"./lib/browser.js\");class a{constructor(e){this.socket=e}get open(){return this.socket.readyState==WebSocket.OPEN}close(){this.socket.close()}send(e){this.socket.send(e)}on(e,t){this.socket.addEventListener(e,t)}once(e,t){this.socket.addEventListener(e,t,{once:!0})}}t.WebSocketAdapter=a;class i extends o.default{connection(e){return new s.Connection(e,this)}constructor(){super((function(e){return new a(new WebSocket(e.replace(/^http/,\"ws\")))}))}}t.default=i},\"./lib/ws/shared-client.js\":function(e,t,r){\"use strict\";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0});const o=n(r(\"./lib/shared-client.js\")),s=n(r(\"./node_modules/debug/src/browser.js\")).default(\"json-rpc-ws\");class a extends o.default{constructor(e){super(e),s(\"new ws Client\")}}t.default=a},\"./node_modules/debug/src/browser.js\":function(e,r,n){r.log=function(...e){return\"object\"==typeof console&&console.log&&console.log(...e)},r.formatArgs=function(t){if(t[0]=(this.useColors?\"%c\":\"\")+this.namespace+(this.useColors?\" %c\":\" \")+t[0]+(this.useColors?\"%c \":\" \")+\"+\"+e.exports.humanize(this.diff),!this.useColors)return;const r=\"color: \"+this.color;t.splice(1,0,r,\"color: inherit\");let n=0,o=0;t[0].replace(/%[a-zA-Z%]/g,e=>{\"%%\"!==e&&(n++,\"%c\"===e&&(o=n))}),t.splice(o,0,r)},r.save=function(e){try{e?r.storage.setItem(\"debug\",e):r.storage.removeItem(\"debug\")}catch(e){}},r.load=function(){let e;try{e=r.storage.getItem(\"debug\")}catch(e){}return!e&&void 0!==t&&\"env\"in t&&(e=t.env.DEBUG),e},r.useColors=function(){return!(\"undefined\"==typeof window||!window.process||\"renderer\"!==window.process.type&&!window.process.__nwjs)||(\"undefined\"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\\/(\\d+)/))&&(\"undefined\"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||\"undefined\"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||\"undefined\"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/)&&parseInt(RegExp.$1,10)>=31||\"undefined\"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/))},r.storage=function(){try{return localStorage}catch(e){}}(),r.colors=[\"#0000CC\",\"#0000FF\",\"#0033CC\",\"#0033FF\",\"#0066CC\",\"#0066FF\",\"#0099CC\",\"#0099FF\",\"#00CC00\",\"#00CC33\",\"#00CC66\",\"#00CC99\",\"#00CCCC\",\"#00CCFF\",\"#3300CC\",\"#3300FF\",\"#3333CC\",\"#3333FF\",\"#3366CC\",\"#3366FF\",\"#3399CC\",\"#3399FF\",\"#33CC00\",\"#33CC33\",\"#33CC66\",\"#33CC99\",\"#33CCCC\",\"#33CCFF\",\"#6600CC\",\"#6600FF\",\"#6633CC\",\"#6633FF\",\"#66CC00\",\"#66CC33\",\"#9900CC\",\"#9900FF\",\"#9933CC\",\"#9933FF\",\"#99CC00\",\"#99CC33\",\"#CC0000\",\"#CC0033\",\"#CC0066\",\"#CC0099\",\"#CC00CC\",\"#CC00FF\",\"#CC3300\",\"#CC3333\",\"#CC3366\",\"#CC3399\",\"#CC33CC\",\"#CC33FF\",\"#CC6600\",\"#CC6633\",\"#CC9900\",\"#CC9933\",\"#CCCC00\",\"#CCCC33\",\"#FF0000\",\"#FF0033\",\"#FF0066\",\"#FF0099\",\"#FF00CC\",\"#FF00FF\",\"#FF3300\",\"#FF3333\",\"#FF3366\",\"#FF3399\",\"#FF33CC\",\"#FF33FF\",\"#FF6600\",\"#FF6633\",\"#FF9900\",\"#FF9933\",\"#FFCC00\",\"#FFCC33\"],e.exports=n(\"./node_modules/debug/src/common.js\")(r);const{formatters:o}=e.exports;o.j=function(e){try{return JSON.stringify(e)}catch(e){return\"[UnexpectedJSONParseError]: \"+e.message}}},\"./node_modules/debug/src/common.js\":function(e,t,r){e.exports=function(e){function t(e){let t=0;for(let r=0;r{if(\"%%\"===r)return r;i++;const s=n.formatters[o];if(\"function\"==typeof s){const n=e[i];r=s.call(t,n),e.splice(i,1),i--}return r}),n.formatArgs.call(t,e),(t.log||n.log).apply(t,e)}return a.namespace=e,a.enabled=n.enabled(e),a.useColors=n.useColors(),a.color=t(e),a.destroy=o,a.extend=s,\"function\"==typeof n.init&&n.init(a),n.instances.push(a),a}function o(){const e=n.instances.indexOf(this);return-1!==e&&(n.instances.splice(e,1),!0)}function s(e,t){const r=n(this.namespace+(void 0===t?\":\":t)+e);return r.log=this.log,r}function a(e){return e.toString().substring(2,e.toString().length-2).replace(/\\.\\*\\?$/,\"*\")}return n.debug=n,n.default=n,n.coerce=function(e){return e instanceof Error?e.stack||e.message:e},n.disable=function(){const e=[...n.names.map(a),...n.skips.map(a).map(e=>\"-\"+e)].join(\",\");return n.enable(\"\"),e},n.enable=function(e){let t;n.save(e),n.names=[],n.skips=[];const r=(\"string\"==typeof e?e:\"\").split(/[\\s,]+/),o=r.length;for(t=0;t{n[t]=e[t]}),n.instances=[],n.names=[],n.skips=[],n.formatters={},n.selectColor=t,n.enable(n.load()),n}},\"./node_modules/uuid/dist/esm-browser/index.js\":function(e,t,r){\"use strict\";r.r(t),r.d(t,\"v1\",(function(){return h})),r.d(t,\"v3\",(function(){return w})),r.d(t,\"v4\",(function(){return j})),r.d(t,\"v5\",(function(){return C}));var n=\"undefined\"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||\"undefined\"!=typeof msCrypto&&\"function\"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),o=new Uint8Array(16);function s(){if(!n)throw new Error(\"crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported\");return n(o)}for(var a=[],i=0;i<256;++i)a[i]=(i+256).toString(16).substr(1);var c,l,u=function(e,t){var r=t||0,n=a;return[n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]],\"-\",n[e[r++]],n[e[r++]],\"-\",n[e[r++]],n[e[r++]],\"-\",n[e[r++]],n[e[r++]],\"-\",n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]]].join(\"\")},d=0,f=0,h=function(e,t,r){var n=t&&r||0,o=t||[],a=(e=e||{}).node||c,i=void 0!==e.clockseq?e.clockseq:l;if(null==a||null==i){var h=e.random||(e.rng||s)();null==a&&(a=c=[1|h[0],h[1],h[2],h[3],h[4],h[5]]),null==i&&(i=l=16383&(h[6]<<8|h[7]))}var p=void 0!==e.msecs?e.msecs:(new Date).getTime(),m=void 0!==e.nsecs?e.nsecs:f+1,g=p-d+(m-f)/1e4;if(g<0&&void 0===e.clockseq&&(i=i+1&16383),(g<0||p>d)&&void 0===e.nsecs&&(m=0),m>=1e4)throw new Error(\"uuid.v1(): Can't create more than 10M uuids/sec\");d=p,f=m,l=i;var b=(1e4*(268435455&(p+=122192928e5))+m)%4294967296;o[n++]=b>>>24&255,o[n++]=b>>>16&255,o[n++]=b>>>8&255,o[n++]=255&b;var v=p/4294967296*1e4&268435455;o[n++]=v>>>8&255,o[n++]=255&v,o[n++]=v>>>24&15|16,o[n++]=v>>>16&255,o[n++]=i>>>8|128,o[n++]=255&i;for(var y=0;y<6;++y)o[n+y]=a[y];return t||u(o)},p=function(e,t,r){var n=function(e,n,o,s){var a=o&&s||0;if(\"string\"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));for(var t=new Array(e.length),r=0;r>16)+(t>>16)+(r>>16)<<16|65535&r}function g(e,t,r,n,o,s){return m((a=m(m(t,e),m(n,s)))<<(i=o)|a>>>32-i,r);var a,i}function b(e,t,r,n,o,s,a){return g(t&r|~t&n,e,t,o,s,a)}function v(e,t,r,n,o,s,a){return g(t&n|r&~n,e,t,o,s,a)}function y(e,t,r,n,o,s,a){return g(t^r^n,e,t,o,s,a)}function _(e,t,r,n,o,s,a){return g(r^(t|~n),e,t,o,s,a)}var w=p(\"v3\",48,(function(e){if(\"string\"==typeof e){var t=unescape(encodeURIComponent(e));e=new Array(t.length);for(var r=0;r>5]>>>t%32&255,n=parseInt(\"0123456789abcdef\".charAt(r>>>4&15)+\"0123456789abcdef\".charAt(15&r),16),o.push(n);return o}(function(e,t){var r,n,o,s,a;e[t>>5]|=128<>>9<<4)]=t;var i=1732584193,c=-271733879,l=-1732584194,u=271733878;for(r=0;r>2)-1]=void 0,t=0;t>5]|=(255&e[t/8])<>>32-t}var C=p(\"v5\",80,(function(e){var t=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if(\"string\"==typeof e){var n=unescape(encodeURIComponent(e));e=new Array(n.length);for(var o=0;o>>0;m=p,p=h,h=x(f,30)>>>0,f=d,d=b}r[0]=r[0]+d>>>0,r[1]=r[1]+f>>>0,r[2]=r[2]+h>>>0,r[3]=r[3]+p>>>0,r[4]=r[4]+m>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,255&r[0],r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,255&r[1],r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,255&r[2],r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,255&r[3],r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,255&r[4]]}))}})}).call(this,r(\"../../node_modules/process/browser.js\"))},\"../../node_modules/@popperjs/core/lib/popper.js\":function(e,t,r){\"use strict\";function n(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 o(e){if(\"[object Window]\"!==e.toString()){var t=e.ownerDocument;return t?t.defaultView:window}return e}function s(e){var t=o(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function a(e){return e instanceof o(e).Element||e instanceof Element}function i(e){return e instanceof o(e).HTMLElement||e instanceof HTMLElement}function c(e){return e?(e.nodeName||\"\").toLowerCase():null}function l(e){return(a(e)?e.ownerDocument:e.document).documentElement}function u(e){return n(l(e)).left+s(e).scrollLeft}function d(e,t,r){var a;void 0===r&&(r=!1);var d,f,h=n(e),p={scrollLeft:0,scrollTop:0},m={x:0,y:0};return r||(\"body\"!==c(t)&&(p=(d=t)!==o(d)&&i(d)?{scrollLeft:(f=d).scrollLeft,scrollTop:f.scrollTop}:s(d)),i(t)?((m=n(t)).x+=t.clientLeft,m.y+=t.clientTop):(a=l(t))&&(m.x=u(a))),{x:h.left+p.scrollLeft-m.x,y:h.top+p.scrollTop-m.y,width:h.width,height:h.height}}function f(e){return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}}function h(e){return\"html\"===c(e)?e:e.assignedSlot||e.parentNode||e.host||l(e)}function p(e){return o(e).getComputedStyle(e)}function m(e,t){void 0===t&&(t=[]);var r=function e(t){if([\"html\",\"body\",\"#document\"].indexOf(c(t))>=0)return t.ownerDocument.body;if(i(t)){var r=p(t),n=r.overflow,o=r.overflowX,s=r.overflowY;if(/auto|scroll|overlay|hidden/.test(n+s+o))return t}return e(h(t))}(e),n=\"body\"===c(r),s=o(r),a=n?[s].concat(s.visualViewport||[]):r,l=t.concat(a);return n?l:l.concat(m(h(a)))}function g(e){return[\"table\",\"td\",\"th\"].indexOf(c(e))>=0}function b(e){return i(e)&&\"fixed\"!==p(e).position?e.offsetParent:null}function v(e){for(var t=o(e),r=b(e);r&&g(r);)r=b(r);return r&&\"body\"===c(r)&&\"static\"===p(r).position?t:r||t}r.r(t),r.d(t,\"createPopper\",(function(){return te})),r.d(t,\"popperGenerator\",(function(){return A})),r.d(t,\"defaultModifiers\",(function(){return ee})),r.d(t,\"detectOverflow\",(function(){return K}));var y=\"top\",_=\"bottom\",w=\"right\",j=\"left\",k=[y,_,w,j],x=k.reduce((function(e,t){return e.concat([t+\"-start\",t+\"-end\"])}),[]),C=[].concat(k,[\"auto\"]).reduce((function(e,t){return e.concat([t,t+\"-start\",t+\"-end\"])}),[]),O=[\"beforeRead\",\"read\",\"afterRead\",\"beforeMain\",\"main\",\"afterMain\",\"beforeWrite\",\"write\",\"afterWrite\"];function P(e){var t=new Map,r=new Set,n=[];return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){r.has(e.name)||function e(o){r.add(o.name),[].concat(o.requires||[],o.requiresIfExists||[]).forEach((function(n){if(!r.has(n)){var o=t.get(n);o&&e(o)}})),n.push(o)}(e)})),n}var E={placement:\"bottom\",modifiers:[],strategy:\"absolute\"};function S(){for(var e=arguments.length,t=new Array(e),r=0;r=0?\"x\":\"y\"}function F(e){var t,r=e.reference,n=e.element,o=e.placement,s=o?T(o):null,a=o?R(o):null,i=r.x+r.width/2-n.width/2,c=r.y+r.height/2-n.height/2;switch(s){case y:t={x:i,y:r.y-n.height};break;case _:t={x:i,y:r.y+r.height};break;case w:t={x:r.x+r.width,y:c};break;case j:t={x:r.x-n.width,y:c};break;default:t={x:r.x,y:r.y}}var l=s?$(s):null;if(null!=l){var u=\"y\"===l?\"height\":\"width\";switch(a){case\"start\":t[l]=Math.floor(t[l])-Math.floor(r[u]/2-n[u]/2);break;case\"end\":t[l]=Math.floor(t[l])+Math.ceil(r[u]/2-n[u]/2)}}return t}var L={top:\"auto\",right:\"auto\",bottom:\"auto\",left:\"auto\"};function B(e){var t,r=e.popper,n=e.popperRect,s=e.placement,a=e.offsets,i=e.position,c=e.gpuAcceleration,u=e.adaptive,d=function(e){var t=e.x,r=e.y,n=window.devicePixelRatio||1;return{x:Math.round(t*n)/n||0,y:Math.round(r*n)/n||0}}(a),f=d.x,h=d.y,p=a.hasOwnProperty(\"x\"),m=a.hasOwnProperty(\"y\"),g=j,b=y,k=window;if(u){var x=v(r);x===o(r)&&(x=l(r)),s===y&&(b=_,h-=x.clientHeight-n.height,h*=c?1:-1),s===j&&(g=w,f-=x.clientWidth-n.width,f*=c?1:-1)}var C,O=Object.assign({position:i},u&&L);return c?Object.assign({},O,((C={})[b]=m?\"0\":\"\",C[g]=p?\"0\":\"\",C.transform=(k.devicePixelRatio||1)<2?\"translate(\"+f+\"px, \"+h+\"px)\":\"translate3d(\"+f+\"px, \"+h+\"px, 0)\",C)):Object.assign({},O,((t={})[b]=m?h+\"px\":\"\",t[g]=p?f+\"px\":\"\",t.transform=\"\",t))}var N={left:\"right\",right:\"left\",bottom:\"top\",top:\"bottom\"};function I(e){return e.replace(/left|right|bottom|top/g,(function(e){return N[e]}))}var z={start:\"end\",end:\"start\"};function D(e){return e.replace(/start|end/g,(function(e){return z[e]}))}function q(e){return parseFloat(e)||0}function H(e){var t=o(e),r=function(e){var t=i(e)?p(e):{};return{top:q(t.borderTopWidth),right:q(t.borderRightWidth),bottom:q(t.borderBottomWidth),left:q(t.borderLeftWidth)}}(e),n=\"html\"===c(e),s=u(e),a=e.clientWidth+r.right,l=e.clientHeight+r.bottom;return n&&t.innerHeight-e.clientHeight>50&&(l=t.innerHeight-r.bottom),{top:n?0:e.clientTop,right:e.clientLeft>r.left?r.right:n?t.innerWidth-a-s:e.offsetWidth-a,bottom:n?t.innerHeight-l:e.offsetHeight-l,left:n?s:e.clientLeft}}function U(e,t){var r=Boolean(t.getRootNode&&t.getRootNode().host);if(e.contains(t))return!0;if(r){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function W(e){return 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?W(function(e){var t=o(e),r=t.visualViewport,n=t.innerWidth,s=t.innerHeight;return r&&/iPhone|iPod|iPad/.test(navigator.platform)&&(n=r.width,s=r.height),{width:n,height:s,x:0,y:0}}(e)):i(t)?n(t):W(function(e){var t=o(e),r=s(e),n=d(l(e),t);return n.height=Math.max(n.height,t.innerHeight),n.width=Math.max(n.width,t.innerWidth),n.x=-r.scrollLeft,n.y=-r.scrollTop,n}(l(e)))}function G(e,t,r){var n=\"clippingParents\"===t?function(e){var t=m(e),r=[\"absolute\",\"fixed\"].indexOf(p(e).position)>=0&&i(e)?v(e):e;return a(r)?t.filter((function(e){return a(e)&&U(e,r)})):[]}(e):[].concat(t),o=[].concat(n,[r]),s=o[0],c=o.reduce((function(t,r){var n=V(e,r),o=H(i(r)?r:l(e));return t.top=Math.max(n.top+o.top,t.top),t.right=Math.min(n.right-o.right,t.right),t.bottom=Math.min(n.bottom-o.bottom,t.bottom),t.left=Math.max(n.left+o.left,t.left),t}),V(e,s));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}function J(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},{},e)}function Z(e,t){return t.reduce((function(t,r){return t[r]=e,t}),{})}function K(e,t){void 0===t&&(t={});var r=t,o=r.placement,s=void 0===o?e.placement:o,i=r.boundary,c=void 0===i?\"clippingParents\":i,u=r.rootBoundary,d=void 0===u?\"viewport\":u,f=r.elementContext,h=void 0===f?\"popper\":f,p=r.altBoundary,m=void 0!==p&&p,g=r.padding,b=void 0===g?0:g,v=J(\"number\"!=typeof b?b:Z(b,k)),j=\"popper\"===h?\"reference\":\"popper\",x=e.elements.reference,C=e.rects.popper,O=e.elements[m?j:h],P=G(a(O)?O:O.contextElement||l(e.elements.popper),c,d),E=n(x),S=F({reference:E,element:C,strategy:\"absolute\",placement:s}),A=W(Object.assign({},C,{},S)),M=\"popper\"===h?A:E,T={top:P.top-M.top+v.top,bottom:M.bottom-P.bottom+v.bottom,left:P.left-M.left+v.left,right:M.right-P.right+v.right},R=e.modifiersData.offset;if(\"popper\"===h&&R){var $=R[s];Object.keys(T).forEach((function(e){var t=[w,_].indexOf(e)>=0?1:-1,r=[y,_].indexOf(e)>=0?\"y\":\"x\";T[e]+=$[r]*t}))}return T}function Y(e,t,r){return Math.max(e,Math.min(t,r))}function X(e,t,r){return void 0===r&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Q(e){return[y,w,_,j].some((function(t){return e[t]>=0}))}var ee=[{name:\"eventListeners\",enabled:!0,phase:\"write\",fn:function(){},effect:function(e){var t=e.state,r=e.instance,n=e.options,s=n.scroll,a=void 0===s||s,i=n.resize,c=void 0===i||i,l=o(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach((function(e){e.addEventListener(\"scroll\",r.update,M)})),c&&l.addEventListener(\"resize\",r.update,M),function(){a&&u.forEach((function(e){e.removeEventListener(\"scroll\",r.update,M)})),c&&l.removeEventListener(\"resize\",r.update,M)}},data:{}},{name:\"popperOffsets\",enabled:!0,phase:\"read\",fn:function(e){var t=e.state,r=e.name;t.modifiersData[r]=F({reference:t.rects.reference,element:t.rects.popper,strategy:\"absolute\",placement:t.placement})},data:{}},{name:\"computeStyles\",enabled:!0,phase:\"beforeWrite\",fn:function(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=void 0===n||n,s=r.adaptive,a=void 0===s||s,i={placement:T(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,{},B(Object.assign({},i,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,{},B(Object.assign({},i,{offsets:t.modifiersData.arrow,position:\"absolute\",adaptive:!1})))),t.attributes.popper=Object.assign({},t.attributes.popper,{\"data-popper-placement\":t.placement})},data:{}},{name:\"applyStyles\",enabled:!0,phase:\"write\",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var r=t.styles[e]||{},n=t.attributes[e]||{},o=t.elements[e];i(o)&&c(o)&&(Object.assign(o.style,r),Object.keys(n).forEach((function(e){var t=n[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?\"\":t)})))}))},effect:function(e){var t=e.state,r={popper:{position:t.options.strategy,left:\"0\",top:\"0\",margin:\"0\"},arrow:{position:\"absolute\"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach((function(e){var n=t.elements[e],o=t.attributes[e]||{},s=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]).reduce((function(e,t){return e[t]=\"\",e}),{});i(n)&&c(n)&&(Object.assign(n.style,s),Object.keys(o).forEach((function(e){n.removeAttribute(e)})))}))}},requires:[\"computeStyles\"]},{name:\"offset\",enabled:!0,phase:\"main\",requires:[\"popperOffsets\"],fn:function(e){var t=e.state,r=e.options,n=e.name,o=r.offset,s=void 0===o?[0,0]:o,a=C.reduce((function(e,r){return e[r]=function(e,t,r){var n=T(e),o=[j,y].indexOf(n)>=0?-1:1,s=\"function\"==typeof r?r(Object.assign({},t,{placement:e})):r,a=s[0],i=s[1];return a=a||0,i=(i||0)*o,[j,w].indexOf(n)>=0?{x:i,y:a}:{x:a,y:i}}(r,t.rects,s),e}),{}),i=a[t.placement],c=i.x,l=i.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=l),t.modifiersData[n]=a}},{name:\"flip\",enabled:!0,phase:\"main\",fn:function(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.fallbackPlacements,s=r.padding,a=r.boundary,i=r.rootBoundary,c=r.altBoundary,l=r.flipVariations,u=void 0===l||l,d=r.allowedAutoPlacements,f=t.options.placement,h=T(f),p=o||(h===f||!u?[I(f)]:function(e){if(\"auto\"===T(e))return[];var t=I(e);return[D(e),t,D(t)]}(f)),m=[f].concat(p).reduce((function(e,r){return e.concat(\"auto\"===T(r)?function(e,t){void 0===t&&(t={});var r=t,n=r.placement,o=r.boundary,s=r.rootBoundary,a=r.padding,i=r.flipVariations,c=r.allowedAutoPlacements,l=void 0===c?C:c,u=R(n),d=(u?i?x:x.filter((function(e){return R(e)===u})):k).filter((function(e){return l.indexOf(e)>=0})).reduce((function(t,r){return t[r]=K(e,{placement:r,boundary:o,rootBoundary:s,padding:a})[T(r)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}(t,{placement:r,boundary:a,rootBoundary:i,padding:s,flipVariations:u,allowedAutoPlacements:d}):r)}),[]),g=t.rects.reference,b=t.rects.popper,v=new Map,O=!0,P=m[0],E=0;E=0,F=$?\"width\":\"height\",L=K(t,{placement:S,boundary:a,rootBoundary:i,altBoundary:c,padding:s}),B=$?M?w:j:M?_:y;g[F]>b[F]&&(B=I(B));var N=I(B),z=[L[A]<=0,L[B]<=0,L[N]<=0];if(z.every((function(e){return e}))){P=S,O=!1;break}v.set(S,z)}if(O)for(var q=function(e){var t=m.find((function(t){var r=v.get(t);if(r)return r.slice(0,e).every((function(e){return e}))}));if(t)return P=t,\"break\"},H=u?3:1;H>0;H--){if(\"break\"===q(H))break}t.placement!==P&&(t.modifiersData[n]._skip=!0,t.placement=P,t.reset=!0)}},requiresIfExists:[\"offset\"],data:{_skip:!1}},{name:\"preventOverflow\",enabled:!0,phase:\"main\",fn:function(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,s=void 0===o||o,a=r.altAxis,i=void 0!==a&&a,c=r.boundary,l=r.rootBoundary,u=r.altBoundary,d=r.padding,h=r.tether,p=void 0===h||h,m=r.tetherOffset,g=void 0===m?0:m,b=K(t,{boundary:c,rootBoundary:l,padding:d,altBoundary:u}),k=T(t.placement),x=R(t.placement),C=!x,O=$(k),P=\"x\"===O?\"y\":\"x\",E=t.modifiersData.popperOffsets,S=t.rects.reference,A=t.rects.popper,M=\"function\"==typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,F={x:0,y:0};if(E){if(s){var L=\"y\"===O?y:j,B=\"y\"===O?_:w,N=\"y\"===O?\"height\":\"width\",I=E[O],z=E[O]+b[L],D=E[O]-b[B],q=p?-A[N]/2:0,H=\"start\"===x?S[N]:A[N],U=\"start\"===x?-A[N]:-S[N],W=t.elements.arrow,V=p&&W?f(W):{width:0,height:0},G=t.modifiersData[\"arrow#persistent\"]?t.modifiersData[\"arrow#persistent\"].padding:{top:0,right:0,bottom:0,left:0},J=G[L],Z=G[B],X=Y(0,S[N],V[N]),Q=C?S[N]/2-q-X-J-M:H-X-J-M,ee=C?-S[N]/2+q+X+Z+M:U+X+Z+M,te=t.elements.arrow&&v(t.elements.arrow),re=te?\"y\"===O?te.clientTop||0:te.clientLeft||0:0,ne=t.modifiersData.offset?t.modifiersData.offset[t.placement][O]:0,oe=E[O]+Q-ne-re,se=E[O]+ee-ne,ae=Y(p?Math.min(z,oe):z,I,p?Math.max(D,se):D);E[O]=ae,F[O]=ae-I}if(i){var ie=\"x\"===O?y:j,ce=\"x\"===O?_:w,le=E[P],ue=Y(le+b[ie],le,le-b[ce]);E[P]=ue,F[P]=ue-le}t.modifiersData[n]=F}},requiresIfExists:[\"offset\"]},{name:\"arrow\",enabled:!0,phase:\"main\",fn:function(e){var t,r=e.state,n=e.name,o=r.elements.arrow,s=r.modifiersData.popperOffsets,a=T(r.placement),i=$(a),c=[j,w].indexOf(a)>=0?\"height\":\"width\";if(o&&s){var l=r.modifiersData[n+\"#persistent\"].padding,u=f(o),d=\"y\"===i?y:j,h=\"y\"===i?_:w,p=r.rects.reference[c]+r.rects.reference[i]-s[i]-r.rects.popper[c],m=s[i]-r.rects.reference[i],g=r.elements.arrow&&v(r.elements.arrow),b=g?\"y\"===i?g.clientHeight||0:g.clientWidth||0:0,k=p/2-m/2,x=l[d],C=b-u[c]-l[h],O=b/2-u[c]/2+k,P=Y(x,O,C),E=i;r.modifiersData[n]=((t={})[E]=P,t.centerOffset=P-O,t)}},effect:function(e){var t=e.state,r=e.options,n=e.name,o=r.element,s=void 0===o?\"[data-popper-arrow]\":o,a=r.padding,i=void 0===a?0:a;null!=s&&(\"string\"!=typeof s||(s=t.elements.popper.querySelector(s)))&&U(t.elements.popper,s)&&(t.elements.arrow=s,t.modifiersData[n+\"#persistent\"]={padding:J(\"number\"!=typeof i?i:Z(i,k))})},requires:[\"popperOffsets\"],requiresIfExists:[\"preventOverflow\"]},{name:\"hide\",enabled:!0,phase:\"main\",requiresIfExists:[\"preventOverflow\"],fn:function(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,s=t.modifiersData.preventOverflow,a=K(t,{elementContext:\"reference\"}),i=K(t,{altBoundary:!0}),c=X(a,n),l=X(i,o,s),u=Q(c),d=Q(l);t.modifiersData[r]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{\"data-popper-reference-hidden\":u,\"data-popper-escaped\":d})}}],te=A({defaultModifiers:ee})},\"../../node_modules/browser-process-hrtime/index.js\":function(e,t,r){(function(t,r){e.exports=t.hrtime||function(e){var t=.001*o.call(n),r=Math.floor(t),s=Math.floor(t%1*1e9);e&&(r-=e[0],(s-=e[1])<0&&(r--,s+=1e9));return[r,s]};var n=r.performance||{},o=n.now||n.mozNow||n.msNow||n.oNow||n.webkitNow||function(){return(new Date).getTime()}}).call(this,r(\"../../node_modules/process/browser.js\"),r(\"../../node_modules/webpack/buildin/global.js\"))},\"../../node_modules/es6-promise/dist/es6-promise.js\":function(e,t,r){(function(t,r){\n/*!\n * @overview es6-promise - a tiny implementation of Promises/A+.\n * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)\n * @license Licensed under MIT license\n * See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE\n * @version v4.2.8+1e68dce6\n */var n;n=function(){\"use strict\";function e(e){return\"function\"==typeof e}var n=Array.isArray?Array.isArray:function(e){return\"[object Array]\"===Object.prototype.toString.call(e)},o=0,s=void 0,a=void 0,i=function(e,t){p[o]=e,p[o+1]=t,2===(o+=2)&&(a?a(m):_())},c=\"undefined\"!=typeof window?window:void 0,l=c||{},u=l.MutationObserver||l.WebKitMutationObserver,d=\"undefined\"==typeof self&&void 0!==t&&\"[object process]\"==={}.toString.call(t),f=\"undefined\"!=typeof Uint8ClampedArray&&\"undefined\"!=typeof importScripts&&\"undefined\"!=typeof MessageChannel;function h(){var e=setTimeout;return function(){return e(m,1)}}var p=new Array(1e3);function m(){for(var e=0;e0&&a.length>o&&!a.warned){a.warned=!0;var c=new Error(\"Possible EventEmitter memory leak detected. \"+a.length+\" \"+String(t)+\" listeners added. Use emitter.setMaxListeners() to increase limit\");c.name=\"MaxListenersExceededWarning\",c.emitter=e,c.type=t,c.count=a.length,i=c,console&&console.warn&&console.warn(i)}return e}function f(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function h(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},o=f.bind(n);return o.listener=r,n.wrapFn=o,o}function p(e,t,r){var n=e._events;if(void 0===n)return[];var o=n[t];return void 0===o?[]:\"function\"==typeof o?r?[o.listener||o]:[o]:r?function(e){for(var t=new Array(e.length),r=0;r0&&(a=t[0]),a instanceof Error)throw a;var i=new Error(\"Unhandled error.\"+(a?\" (\"+a.message+\")\":\"\"));throw i.context=a,i}var c=o[e];if(void 0===c)return!1;if(\"function\"==typeof c)s(c,this,t);else{var l=c.length,u=g(c,l);for(r=0;r=0;s--)if(r[s]===t||r[s].listener===t){a=r[s].listener,o=s;break}if(o<0)return this;0===o?r.shift():function(e,t){for(;t+1=0;n--)this.removeListener(e,t[n]);return this},i.prototype.listeners=function(e){return p(this,e,!0)},i.prototype.rawListeners=function(e){return p(this,e,!1)},i.listenerCount=function(e,t){return\"function\"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},i.prototype.listenerCount=m,i.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},\"../../node_modules/isomorphic-fetch/fetch-npm-browserify.js\":function(e,t,r){r(\"../../node_modules/whatwg-fetch/fetch.js\"),e.exports=self.fetch.bind(self)},\"../../node_modules/ms/index.js\":function(e,t){var r=1e3,n=6e4,o=60*n,s=24*o;function a(e,t,r,n){var o=t>=1.5*r;return Math.round(e/r)+\" \"+n+(o?\"s\":\"\")}e.exports=function(e,t){t=t||{};var i=typeof e;if(\"string\"===i&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var a=parseFloat(t[1]);switch((t[2]||\"ms\").toLowerCase()){case\"years\":case\"year\":case\"yrs\":case\"yr\":case\"y\":return 315576e5*a;case\"weeks\":case\"week\":case\"w\":return 6048e5*a;case\"days\":case\"day\":case\"d\":return a*s;case\"hours\":case\"hour\":case\"hrs\":case\"hr\":case\"h\":return a*o;case\"minutes\":case\"minute\":case\"mins\":case\"min\":case\"m\":return a*n;case\"seconds\":case\"second\":case\"secs\":case\"sec\":case\"s\":return a*r;case\"milliseconds\":case\"millisecond\":case\"msecs\":case\"msec\":case\"ms\":return a;default:return}}(e);if(\"number\"===i&&isFinite(e))return t.long?function(e){var t=Math.abs(e);if(t>=s)return a(e,t,s,\"day\");if(t>=o)return a(e,t,o,\"hour\");if(t>=n)return a(e,t,n,\"minute\");if(t>=r)return a(e,t,r,\"second\");return e+\" ms\"}(e):function(e){var t=Math.abs(e);if(t>=s)return Math.round(e/s)+\"d\";if(t>=o)return Math.round(e/o)+\"h\";if(t>=n)return Math.round(e/n)+\"m\";if(t>=r)return Math.round(e/r)+\"s\";return e+\"ms\"}(e);throw new Error(\"val is not a non-empty string or a valid number. val=\"+JSON.stringify(e))}},\"../../node_modules/node-libs-browser/node_modules/punycode/punycode.js\":function(e,t,r){(function(e,n){var o;/*! https://mths.be/punycode v1.4.1 by @mathias */!function(s){t&&t.nodeType,e&&e.nodeType;var a=\"object\"==typeof n&&n;a.global!==a&&a.window!==a&&a.self;var i,c=2147483647,l=/^xn--/,u=/[^\\x20-\\x7E]/,d=/[\\x2E\\u3002\\uFF0E\\uFF61]/g,f={overflow:\"Overflow: input needs wider integers to process\",\"not-basic\":\"Illegal input >= 0x80 (not a basic code point)\",\"invalid-input\":\"Invalid input\"},h=Math.floor,p=String.fromCharCode;function m(e){throw new RangeError(f[e])}function g(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function b(e,t){var r=e.split(\"@\"),n=\"\";return r.length>1&&(n=r[0]+\"@\",e=r[1]),n+g((e=e.replace(d,\".\")).split(\".\"),t).join(\".\")}function v(e){for(var t,r,n=[],o=0,s=e.length;o=55296&&t<=56319&&o65535&&(t+=p((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=p(e)})).join(\"\")}function _(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function w(e,t,r){var n=0;for(e=r?h(e/700):e>>1,e+=h(e/t);e>455;n+=36)e=h(e/35);return h(n+36*e/(e+38))}function j(e){var t,r,n,o,s,a,i,l,u,d,f,p=[],g=e.length,b=0,v=128,_=72;for((r=e.lastIndexOf(\"-\"))<0&&(r=0),n=0;n=128&&m(\"not-basic\"),p.push(e.charCodeAt(n));for(o=r>0?r+1:0;o=g&&m(\"invalid-input\"),((l=(f=e.charCodeAt(o++))-48<10?f-22:f-65<26?f-65:f-97<26?f-97:36)>=36||l>h((c-b)/a))&&m(\"overflow\"),b+=l*a,!(l<(u=i<=_?1:i>=_+26?26:i-_));i+=36)a>h(c/(d=36-u))&&m(\"overflow\"),a*=d;_=w(b-s,t=p.length+1,0==s),h(b/t)>c-v&&m(\"overflow\"),v+=h(b/t),b%=t,p.splice(b++,0,v)}return y(p)}function k(e){var t,r,n,o,s,a,i,l,u,d,f,g,b,y,j,k=[];for(g=(e=v(e)).length,t=128,r=0,s=72,a=0;a=t&&fh((c-r)/(b=n+1))&&m(\"overflow\"),r+=(i-t)*b,t=i,a=0;ac&&m(\"overflow\"),f==t){for(l=r,u=36;!(l<(d=u<=s?1:u>=s+26?26:u-s));u+=36)j=l-d,y=36-d,k.push(p(_(d+j%y,0))),l=h(j/y);k.push(p(_(l,0))),s=w(r,b,n==o),r=0,++n}++r,++t}return k.join(\"\")}i={version:\"1.4.1\",ucs2:{decode:v,encode:y},decode:j,encode:k,toASCII:function(e){return b(e,(function(e){return u.test(e)?\"xn--\"+k(e):e}))},toUnicode:function(e){return b(e,(function(e){return l.test(e)?j(e.slice(4).toLowerCase()):e}))}},void 0===(o=function(){return i}.call(t,r,t,e))||(e.exports=o)}()}).call(this,r(\"../../node_modules/webpack/buildin/module.js\")(e),r(\"../../node_modules/webpack/buildin/global.js\"))},\"../../node_modules/orchestrator/index.js\":function(e,t,r){\"use strict\";var n=r(\"../../node_modules/util/util.js\"),o=(i=r(\"../../node_modules/events/events.js\")).EventEmitter,s=r(\"../../node_modules/orchestrator/lib/runTask.js\"),a=function(){o.call(this),this.doneCallback=void 0,this.seq=[],this.tasks={},this.isRunning=!1};n.inherits(a,o),a.prototype.reset=function(){return this.isRunning&&this.stop(null),this.tasks={},this.seq=[],this.isRunning=!1,this.doneCallback=void 0,this},a.prototype.add=function(e,t,r){if(r||\"function\"!=typeof t||(r=t,t=void 0),t=t||[],r=r||function(){},!e)throw new Error(\"Task requires a name\");if(\"string\"!=typeof e)throw new Error(\"Task requires a name that is a string\");if(\"function\"!=typeof r)throw new Error(\"Task \"+e+\" requires a function that is a function\");if(!Array.isArray(t))throw new Error(\"Task \"+e+\" can't support dependencies that is not an array of strings\");return t.forEach((function(t){if(\"string\"!=typeof t)throw new Error(\"Task \"+e+\" dependency \"+t+\" is not a string\")})),this.tasks[e]={fn:r,dep:t,name:e},this},a.prototype.task=function(e,t,r){if(!t&&!r)return this.tasks[e];this.add(e,t,r)},a.prototype.hasTask=function(e){return!!this.tasks[e]},a.prototype.start=function(){var e,t,r,n,o=[],s=[];if((e=Array.prototype.slice.call(arguments,0)).length)for(\"function\"==typeof(r=e[e.length-1])&&(this.doneCallback=r,e.pop()),n=0;n=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||95===c))break;a+=e[i++]}if(!a)throw new TypeError(\"Missing parameter name at \"+r);t.push({type:\"NAME\",index:r,value:a}),r=i}else t.push({type:\"CLOSE\",index:r,value:e[r++]});else t.push({type:\"OPEN\",index:r,value:e[r++]});else t.push({type:\"ESCAPED_CHAR\",index:r++,value:e[r++]});else t.push({type:\"MODIFIER\",index:r,value:e[r++]})}return t.push({type:\"END\",index:r,value:\"\"}),t}(e),n=t.prefixes,o=void 0===n?\"./\":n,s=\"[^\"+c(t.delimiter||\"/#?\")+\"]+?\",a=[],i=0,l=0,u=\"\",d=function(e){if(l-1:void 0===j;o||(m+=\"(?:\"+p+\"(?=\"+h+\"))?\"),k||(m+=\"(?=\"+p+\"|\"+h+\")\")}return new RegExp(m,l(r))}function d(e,t,r){return e instanceof RegExp?function(e,t){if(!t)return e;var r=e.source.match(/\\((?!\\?)/g);if(r)for(var n=0;n1)for(var r=1;r0&&l>c&&(l=c);for(var u=0;u=0?(d=m.substr(0,g),f=m.substr(g+1)):(d=m,f=\"\"),h=decodeURIComponent(d),p=decodeURIComponent(f),n(a,h)?o(a[h])?a[h].push(p):a[h]=[a[h],p]:a[h]=p}return a};var o=Array.isArray||function(e){return\"[object Array]\"===Object.prototype.toString.call(e)}},\"../../node_modules/querystring-es3/encode.js\":function(e,t,r){\"use strict\";var n=function(e){switch(typeof e){case\"string\":return e;case\"boolean\":return e?\"true\":\"false\";case\"number\":return isFinite(e)?e:\"\";default:return\"\"}};e.exports=function(e,t,r,i){return t=t||\"&\",r=r||\"=\",null===e&&(e=void 0),\"object\"==typeof e?s(a(e),(function(a){var i=encodeURIComponent(n(a))+r;return o(e[a])?s(e[a],(function(e){return i+encodeURIComponent(n(e))})).join(t):i+encodeURIComponent(n(e[a]))})).join(t):i?encodeURIComponent(n(i))+r+encodeURIComponent(n(e)):\"\"};var o=Array.isArray||function(e){return\"[object Array]\"===Object.prototype.toString.call(e)};function s(e,t){if(e.map)return e.map(t);for(var r=[],n=0;n-1){for(l in o.push(a),(c=new Error(\"Recursive dependencies detected: \"+o.join(\" -> \"))).recursiveTasks=o,c.taskList=[],e)e.hasOwnProperty(l)&&c.taskList.push(e[l].name);throw c}i.dep.length&&(o.push(a),n(e,i.dep,r,o),o.pop(a)),r.push(a)}};e.exports=n},\"../../node_modules/setimmediate/setImmediate.js\":function(e,t,r){(function(e,t){!function(e,r){\"use strict\";if(!e.setImmediate){var n,o,s,a,i,c=1,l={},u=!1,d=e.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(e);f=f&&f.setTimeout?f:e,\"[object process]\"==={}.toString.call(e.process)?n=function(e){t.nextTick((function(){p(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,r=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage(\"\",\"*\"),e.onmessage=r,t}}()?e.MessageChannel?((s=new MessageChannel).port1.onmessage=function(e){p(e.data)},n=function(e){s.port2.postMessage(e)}):d&&\"onreadystatechange\"in d.createElement(\"script\")?(o=d.documentElement,n=function(e){var t=d.createElement(\"script\");t.onreadystatechange=function(){p(e),t.onreadystatechange=null,o.removeChild(t),t=null},o.appendChild(t)}):n=function(e){setTimeout(p,0,e)}:(a=\"setImmediate$\"+Math.random()+\"$\",i=function(t){t.source===e&&\"string\"==typeof t.data&&0===t.data.indexOf(a)&&p(+t.data.slice(a.length))},e.addEventListener?e.addEventListener(\"message\",i,!1):e.attachEvent(\"onmessage\",i),n=function(t){e.postMessage(a+t,\"*\")}),f.setImmediate=function(e){\"function\"!=typeof e&&(e=new Function(\"\"+e));for(var t=new Array(arguments.length-1),r=0;r (GFM Style)\",type:\"boolean\"},requireSpaceBeforeHeadingText:{defaultValue:!1,description:\"Makes adding a space between `#` and the header text mandatory (GFM Style)\",type:\"boolean\"},ghMentions:{defaultValue:!1,description:\"Enables github @mentions\",type:\"boolean\"},ghMentionsLink:{defaultValue:\"https://github.com/{u}\",description:\"Changes the link generated by @mentions. Only applies if ghMentions option is enabled.\",type:\"string\"},encodeEmails:{defaultValue:!0,description:\"Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities\",type:\"boolean\"},openLinksInNewWindow:{defaultValue:!1,description:\"Open all links in new windows\",type:\"boolean\"},backslashEscapesHTMLTags:{defaultValue:!1,description:\"Support for HTML Tag escaping. ex:
foo
\",type:\"boolean\"},emoji:{defaultValue:!1,description:\"Enable emoji support. Ex: `this is a :smile: emoji`\",type:\"boolean\"},underline:{defaultValue:!1,description:\"Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `` and ``\",type:\"boolean\"},completeHTMLDocument:{defaultValue:!1,description:\"Outputs a complete html document, including ``, `` and `` tags\",type:\"boolean\"},metadata:{defaultValue:!1,description:\"Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).\",type:\"boolean\"},splitAdjacentBlockquotes:{defaultValue:!1,description:\"Split adjacent blockquote blocks\",type:\"boolean\"}};if(!1===e)return JSON.parse(JSON.stringify(t));var r={};for(var n in t)t.hasOwnProperty(n)&&(r[n]=t[n].defaultValue);return r}var s={},a={},i={},c=o(!0),l=\"vanilla\",u={github:{omitExtraWLInCodeBlocks:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,disableForced4SpacesIndentedSublists:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghCompatibleHeaderId:!0,ghMentions:!0,backslashEscapesHTMLTags:!0,emoji:!0,splitAdjacentBlockquotes:!0},original:{noHeaderId:!0,ghCodeBlocks:!1},ghost:{omitExtraWLInCodeBlocks:!0,parseImgDimensions:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,smoothLivePreview:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghMentions:!1,encodeEmails:!0},vanilla:o(!0),allOn:function(){\"use strict\";var e=o(!0),t={};for(var r in e)e.hasOwnProperty(r)&&(t[r]=!0);return t}()};function d(e,t){\"use strict\";var r=t?\"Error in \"+t+\" extension->\":\"Error in unnamed extension\",n={valid:!0,error:\"\"};s.helper.isArray(e)||(e=[e]);for(var o=0;o\").replace(/&/g,\"&\")};var h=function(e,t,r,n){\"use strict\";var o,s,a,i,c,l=n||\"\",u=l.indexOf(\"g\")>-1,d=new RegExp(t+\"|\"+r,\"g\"+l.replace(/g/g,\"\")),f=new RegExp(t,l.replace(/g/g,\"\")),h=[];do{for(o=0;a=d.exec(e);)if(f.test(a[0]))o++||(i=(s=d.lastIndex)-a[0].length);else if(o&&!--o){c=a.index+a[0].length;var p={left:{start:i,end:s},match:{start:s,end:a.index},right:{start:a.index,end:c},wholeMatch:{start:i,end:c}};if(h.push(p),!u)return h}}while(o&&(d.lastIndex=s));return h};s.helper.matchRecursiveRegExp=function(e,t,r,n){\"use strict\";for(var o=h(e,t,r,n),s=[],a=0;a0){var u=[];0!==i[0].wholeMatch.start&&u.push(e.slice(0,i[0].wholeMatch.start));for(var d=0;d=0?n+(r||0):n},s.helper.splitAtIndex=function(e,t){\"use strict\";if(!s.helper.isString(e))throw\"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string\";return[e.substring(0,t),e.substring(t)]},s.helper.encodeEmailAddress=function(e){\"use strict\";var t=[function(e){return\"&#\"+e.charCodeAt(0)+\";\"},function(e){return\"&#x\"+e.charCodeAt(0).toString(16)+\";\"},function(e){return e}];return e=e.replace(/./g,(function(e){if(\"@\"===e)e=t[Math.floor(2*Math.random())](e);else{var r=Math.random();e=r>.9?t[2](e):r>.45?t[1](e):t[0](e)}return e}))},s.helper.padEnd=function(e,t,r){\"use strict\";return t>>=0,r=String(r||\" \"),e.length>t?String(e):((t-=e.length)>r.length&&(r+=r.repeat(t/r.length)),String(e)+r.slice(0,t))},\"undefined\"==typeof console&&(console={warn:function(e){\"use strict\";alert(e)},log:function(e){\"use strict\";alert(e)},error:function(e){\"use strict\";throw e}}),s.helper.regexes={asteriskDashAndColon:/([*_:~])/g},s.helper.emojis={\"+1\":\"👍\",\"-1\":\"👎\",100:\"💯\",1234:\"🔢\",\"1st_place_medal\":\"🥇\",\"2nd_place_medal\":\"🥈\",\"3rd_place_medal\":\"🥉\",\"8ball\":\"🎱\",a:\"🅰️\",ab:\"🆎\",abc:\"🔤\",abcd:\"🔡\",accept:\"🉑\",aerial_tramway:\"🚡\",airplane:\"✈️\",alarm_clock:\"⏰\",alembic:\"⚗️\",alien:\"👽\",ambulance:\"🚑\",amphora:\"🏺\",anchor:\"⚓️\",angel:\"👼\",anger:\"💢\",angry:\"😠\",anguished:\"😧\",ant:\"🐜\",apple:\"🍎\",aquarius:\"♒️\",aries:\"♈️\",arrow_backward:\"◀️\",arrow_double_down:\"⏬\",arrow_double_up:\"⏫\",arrow_down:\"⬇️\",arrow_down_small:\"🔽\",arrow_forward:\"▶️\",arrow_heading_down:\"⤵️\",arrow_heading_up:\"⤴️\",arrow_left:\"⬅️\",arrow_lower_left:\"↙️\",arrow_lower_right:\"↘️\",arrow_right:\"➡️\",arrow_right_hook:\"↪️\",arrow_up:\"⬆️\",arrow_up_down:\"↕️\",arrow_up_small:\"🔼\",arrow_upper_left:\"↖️\",arrow_upper_right:\"↗️\",arrows_clockwise:\"🔃\",arrows_counterclockwise:\"🔄\",art:\"🎨\",articulated_lorry:\"🚛\",artificial_satellite:\"🛰\",astonished:\"😲\",athletic_shoe:\"👟\",atm:\"🏧\",atom_symbol:\"⚛️\",avocado:\"🥑\",b:\"🅱️\",baby:\"👶\",baby_bottle:\"🍼\",baby_chick:\"🐤\",baby_symbol:\"🚼\",back:\"🔙\",bacon:\"🥓\",badminton:\"🏸\",baggage_claim:\"🛄\",baguette_bread:\"🥖\",balance_scale:\"⚖️\",balloon:\"🎈\",ballot_box:\"🗳\",ballot_box_with_check:\"☑️\",bamboo:\"🎍\",banana:\"🍌\",bangbang:\"‼️\",bank:\"🏦\",bar_chart:\"📊\",barber:\"💈\",baseball:\"⚾️\",basketball:\"🏀\",basketball_man:\"⛹️\",basketball_woman:\"⛹️‍♀️\",bat:\"🦇\",bath:\"🛀\",bathtub:\"🛁\",battery:\"🔋\",beach_umbrella:\"🏖\",bear:\"🐻\",bed:\"🛏\",bee:\"🐝\",beer:\"🍺\",beers:\"🍻\",beetle:\"🐞\",beginner:\"🔰\",bell:\"🔔\",bellhop_bell:\"🛎\",bento:\"🍱\",biking_man:\"🚴\",bike:\"🚲\",biking_woman:\"🚴‍♀️\",bikini:\"👙\",biohazard:\"☣️\",bird:\"🐦\",birthday:\"🎂\",black_circle:\"⚫️\",black_flag:\"🏴\",black_heart:\"🖤\",black_joker:\"🃏\",black_large_square:\"⬛️\",black_medium_small_square:\"◾️\",black_medium_square:\"◼️\",black_nib:\"✒️\",black_small_square:\"▪️\",black_square_button:\"🔲\",blonde_man:\"👱\",blonde_woman:\"👱‍♀️\",blossom:\"🌼\",blowfish:\"🐡\",blue_book:\"📘\",blue_car:\"🚙\",blue_heart:\"💙\",blush:\"😊\",boar:\"🐗\",boat:\"⛵️\",bomb:\"💣\",book:\"📖\",bookmark:\"🔖\",bookmark_tabs:\"📑\",books:\"📚\",boom:\"💥\",boot:\"👢\",bouquet:\"💐\",bowing_man:\"🙇\",bow_and_arrow:\"🏹\",bowing_woman:\"🙇‍♀️\",bowling:\"🎳\",boxing_glove:\"🥊\",boy:\"👦\",bread:\"🍞\",bride_with_veil:\"👰\",bridge_at_night:\"🌉\",briefcase:\"💼\",broken_heart:\"💔\",bug:\"🐛\",building_construction:\"🏗\",bulb:\"💡\",bullettrain_front:\"🚅\",bullettrain_side:\"🚄\",burrito:\"🌯\",bus:\"🚌\",business_suit_levitating:\"🕴\",busstop:\"🚏\",bust_in_silhouette:\"👤\",busts_in_silhouette:\"👥\",butterfly:\"🦋\",cactus:\"🌵\",cake:\"🍰\",calendar:\"📆\",call_me_hand:\"🤙\",calling:\"📲\",camel:\"🐫\",camera:\"📷\",camera_flash:\"📸\",camping:\"🏕\",cancer:\"♋️\",candle:\"🕯\",candy:\"🍬\",canoe:\"🛶\",capital_abcd:\"🔠\",capricorn:\"♑️\",car:\"🚗\",card_file_box:\"🗃\",card_index:\"📇\",card_index_dividers:\"🗂\",carousel_horse:\"🎠\",carrot:\"🥕\",cat:\"🐱\",cat2:\"🐈\",cd:\"💿\",chains:\"⛓\",champagne:\"🍾\",chart:\"💹\",chart_with_downwards_trend:\"📉\",chart_with_upwards_trend:\"📈\",checkered_flag:\"🏁\",cheese:\"🧀\",cherries:\"🍒\",cherry_blossom:\"🌸\",chestnut:\"🌰\",chicken:\"🐔\",children_crossing:\"🚸\",chipmunk:\"🐿\",chocolate_bar:\"🍫\",christmas_tree:\"🎄\",church:\"⛪️\",cinema:\"🎦\",circus_tent:\"🎪\",city_sunrise:\"🌇\",city_sunset:\"🌆\",cityscape:\"🏙\",cl:\"🆑\",clamp:\"🗜\",clap:\"👏\",clapper:\"🎬\",classical_building:\"🏛\",clinking_glasses:\"🥂\",clipboard:\"📋\",clock1:\"🕐\",clock10:\"🕙\",clock1030:\"🕥\",clock11:\"🕚\",clock1130:\"🕦\",clock12:\"🕛\",clock1230:\"🕧\",clock130:\"🕜\",clock2:\"🕑\",clock230:\"🕝\",clock3:\"🕒\",clock330:\"🕞\",clock4:\"🕓\",clock430:\"🕟\",clock5:\"🕔\",clock530:\"🕠\",clock6:\"🕕\",clock630:\"🕡\",clock7:\"🕖\",clock730:\"🕢\",clock8:\"🕗\",clock830:\"🕣\",clock9:\"🕘\",clock930:\"🕤\",closed_book:\"📕\",closed_lock_with_key:\"🔐\",closed_umbrella:\"🌂\",cloud:\"☁️\",cloud_with_lightning:\"🌩\",cloud_with_lightning_and_rain:\"⛈\",cloud_with_rain:\"🌧\",cloud_with_snow:\"🌨\",clown_face:\"🤡\",clubs:\"♣️\",cocktail:\"🍸\",coffee:\"☕️\",coffin:\"⚰️\",cold_sweat:\"😰\",comet:\"☄️\",computer:\"💻\",computer_mouse:\"🖱\",confetti_ball:\"🎊\",confounded:\"😖\",confused:\"😕\",congratulations:\"㊗️\",construction:\"🚧\",construction_worker_man:\"👷\",construction_worker_woman:\"👷‍♀️\",control_knobs:\"🎛\",convenience_store:\"🏪\",cookie:\"🍪\",cool:\"🆒\",policeman:\"👮\",copyright:\"©️\",corn:\"🌽\",couch_and_lamp:\"🛋\",couple:\"👫\",couple_with_heart_woman_man:\"💑\",couple_with_heart_man_man:\"👨‍❤️‍👨\",couple_with_heart_woman_woman:\"👩‍❤️‍👩\",couplekiss_man_man:\"👨‍❤️‍💋‍👨\",couplekiss_man_woman:\"💏\",couplekiss_woman_woman:\"👩‍❤️‍💋‍👩\",cow:\"🐮\",cow2:\"🐄\",cowboy_hat_face:\"🤠\",crab:\"🦀\",crayon:\"🖍\",credit_card:\"💳\",crescent_moon:\"🌙\",cricket:\"🏏\",crocodile:\"🐊\",croissant:\"🥐\",crossed_fingers:\"🤞\",crossed_flags:\"🎌\",crossed_swords:\"⚔️\",crown:\"👑\",cry:\"😢\",crying_cat_face:\"😿\",crystal_ball:\"🔮\",cucumber:\"🥒\",cupid:\"💘\",curly_loop:\"➰\",currency_exchange:\"💱\",curry:\"🍛\",custard:\"🍮\",customs:\"🛃\",cyclone:\"🌀\",dagger:\"🗡\",dancer:\"💃\",dancing_women:\"👯\",dancing_men:\"👯‍♂️\",dango:\"🍡\",dark_sunglasses:\"🕶\",dart:\"🎯\",dash:\"💨\",date:\"📅\",deciduous_tree:\"🌳\",deer:\"🦌\",department_store:\"🏬\",derelict_house:\"🏚\",desert:\"🏜\",desert_island:\"🏝\",desktop_computer:\"🖥\",male_detective:\"🕵️\",diamond_shape_with_a_dot_inside:\"💠\",diamonds:\"♦️\",disappointed:\"😞\",disappointed_relieved:\"😥\",dizzy:\"💫\",dizzy_face:\"😵\",do_not_litter:\"🚯\",dog:\"🐶\",dog2:\"🐕\",dollar:\"💵\",dolls:\"🎎\",dolphin:\"🐬\",door:\"🚪\",doughnut:\"🍩\",dove:\"🕊\",dragon:\"🐉\",dragon_face:\"🐲\",dress:\"👗\",dromedary_camel:\"🐪\",drooling_face:\"🤤\",droplet:\"💧\",drum:\"🥁\",duck:\"🦆\",dvd:\"📀\",\"e-mail\":\"📧\",eagle:\"🦅\",ear:\"👂\",ear_of_rice:\"🌾\",earth_africa:\"🌍\",earth_americas:\"🌎\",earth_asia:\"🌏\",egg:\"🥚\",eggplant:\"🍆\",eight_pointed_black_star:\"✴️\",eight_spoked_asterisk:\"✳️\",electric_plug:\"🔌\",elephant:\"🐘\",email:\"✉️\",end:\"🔚\",envelope_with_arrow:\"📩\",euro:\"💶\",european_castle:\"🏰\",european_post_office:\"🏤\",evergreen_tree:\"🌲\",exclamation:\"❗️\",expressionless:\"😑\",eye:\"👁\",eye_speech_bubble:\"👁‍🗨\",eyeglasses:\"👓\",eyes:\"👀\",face_with_head_bandage:\"🤕\",face_with_thermometer:\"🤒\",fist_oncoming:\"👊\",factory:\"🏭\",fallen_leaf:\"🍂\",family_man_woman_boy:\"👪\",family_man_boy:\"👨‍👦\",family_man_boy_boy:\"👨‍👦‍👦\",family_man_girl:\"👨‍👧\",family_man_girl_boy:\"👨‍👧‍👦\",family_man_girl_girl:\"👨‍👧‍👧\",family_man_man_boy:\"👨‍👨‍👦\",family_man_man_boy_boy:\"👨‍👨‍👦‍👦\",family_man_man_girl:\"👨‍👨‍👧\",family_man_man_girl_boy:\"👨‍👨‍👧‍👦\",family_man_man_girl_girl:\"👨‍👨‍👧‍👧\",family_man_woman_boy_boy:\"👨‍👩‍👦‍👦\",family_man_woman_girl:\"👨‍👩‍👧\",family_man_woman_girl_boy:\"👨‍👩‍👧‍👦\",family_man_woman_girl_girl:\"👨‍👩‍👧‍👧\",family_woman_boy:\"👩‍👦\",family_woman_boy_boy:\"👩‍👦‍👦\",family_woman_girl:\"👩‍👧\",family_woman_girl_boy:\"👩‍👧‍👦\",family_woman_girl_girl:\"👩‍👧‍👧\",family_woman_woman_boy:\"👩‍👩‍👦\",family_woman_woman_boy_boy:\"👩‍👩‍👦‍👦\",family_woman_woman_girl:\"👩‍👩‍👧\",family_woman_woman_girl_boy:\"👩‍👩‍👧‍👦\",family_woman_woman_girl_girl:\"👩‍👩‍👧‍👧\",fast_forward:\"⏩\",fax:\"📠\",fearful:\"😨\",feet:\"🐾\",female_detective:\"🕵️‍♀️\",ferris_wheel:\"🎡\",ferry:\"⛴\",field_hockey:\"🏑\",file_cabinet:\"🗄\",file_folder:\"📁\",film_projector:\"📽\",film_strip:\"🎞\",fire:\"🔥\",fire_engine:\"🚒\",fireworks:\"🎆\",first_quarter_moon:\"🌓\",first_quarter_moon_with_face:\"🌛\",fish:\"🐟\",fish_cake:\"🍥\",fishing_pole_and_fish:\"🎣\",fist_raised:\"✊\",fist_left:\"🤛\",fist_right:\"🤜\",flags:\"🎏\",flashlight:\"🔦\",fleur_de_lis:\"⚜️\",flight_arrival:\"🛬\",flight_departure:\"🛫\",floppy_disk:\"💾\",flower_playing_cards:\"🎴\",flushed:\"😳\",fog:\"🌫\",foggy:\"🌁\",football:\"🏈\",footprints:\"👣\",fork_and_knife:\"🍴\",fountain:\"⛲️\",fountain_pen:\"🖋\",four_leaf_clover:\"🍀\",fox_face:\"🦊\",framed_picture:\"🖼\",free:\"🆓\",fried_egg:\"🍳\",fried_shrimp:\"🍤\",fries:\"🍟\",frog:\"🐸\",frowning:\"😦\",frowning_face:\"☹️\",frowning_man:\"🙍‍♂️\",frowning_woman:\"🙍\",middle_finger:\"🖕\",fuelpump:\"⛽️\",full_moon:\"🌕\",full_moon_with_face:\"🌝\",funeral_urn:\"⚱️\",game_die:\"🎲\",gear:\"⚙️\",gem:\"💎\",gemini:\"♊️\",ghost:\"👻\",gift:\"🎁\",gift_heart:\"💝\",girl:\"👧\",globe_with_meridians:\"🌐\",goal_net:\"🥅\",goat:\"🐐\",golf:\"⛳️\",golfing_man:\"🏌️\",golfing_woman:\"🏌️‍♀️\",gorilla:\"🦍\",grapes:\"🍇\",green_apple:\"🍏\",green_book:\"📗\",green_heart:\"💚\",green_salad:\"🥗\",grey_exclamation:\"❕\",grey_question:\"❔\",grimacing:\"😬\",grin:\"😁\",grinning:\"😀\",guardsman:\"💂\",guardswoman:\"💂‍♀️\",guitar:\"🎸\",gun:\"🔫\",haircut_woman:\"💇\",haircut_man:\"💇‍♂️\",hamburger:\"🍔\",hammer:\"🔨\",hammer_and_pick:\"⚒\",hammer_and_wrench:\"🛠\",hamster:\"🐹\",hand:\"✋\",handbag:\"👜\",handshake:\"🤝\",hankey:\"💩\",hatched_chick:\"🐥\",hatching_chick:\"🐣\",headphones:\"🎧\",hear_no_evil:\"🙉\",heart:\"❤️\",heart_decoration:\"💟\",heart_eyes:\"😍\",heart_eyes_cat:\"😻\",heartbeat:\"💓\",heartpulse:\"💗\",hearts:\"♥️\",heavy_check_mark:\"✔️\",heavy_division_sign:\"➗\",heavy_dollar_sign:\"💲\",heavy_heart_exclamation:\"❣️\",heavy_minus_sign:\"➖\",heavy_multiplication_x:\"✖️\",heavy_plus_sign:\"➕\",helicopter:\"🚁\",herb:\"🌿\",hibiscus:\"🌺\",high_brightness:\"🔆\",high_heel:\"👠\",hocho:\"🔪\",hole:\"🕳\",honey_pot:\"🍯\",horse:\"🐴\",horse_racing:\"🏇\",hospital:\"🏥\",hot_pepper:\"🌶\",hotdog:\"🌭\",hotel:\"🏨\",hotsprings:\"♨️\",hourglass:\"⌛️\",hourglass_flowing_sand:\"⏳\",house:\"🏠\",house_with_garden:\"🏡\",houses:\"🏘\",hugs:\"🤗\",hushed:\"😯\",ice_cream:\"🍨\",ice_hockey:\"🏒\",ice_skate:\"⛸\",icecream:\"🍦\",id:\"🆔\",ideograph_advantage:\"🉐\",imp:\"👿\",inbox_tray:\"📥\",incoming_envelope:\"📨\",tipping_hand_woman:\"💁\",information_source:\"ℹ️\",innocent:\"😇\",interrobang:\"⁉️\",iphone:\"📱\",izakaya_lantern:\"🏮\",jack_o_lantern:\"🎃\",japan:\"🗾\",japanese_castle:\"🏯\",japanese_goblin:\"👺\",japanese_ogre:\"👹\",jeans:\"👖\",joy:\"😂\",joy_cat:\"😹\",joystick:\"🕹\",kaaba:\"🕋\",key:\"🔑\",keyboard:\"⌨️\",keycap_ten:\"🔟\",kick_scooter:\"🛴\",kimono:\"👘\",kiss:\"💋\",kissing:\"😗\",kissing_cat:\"😽\",kissing_closed_eyes:\"😚\",kissing_heart:\"😘\",kissing_smiling_eyes:\"😙\",kiwi_fruit:\"🥝\",koala:\"🐨\",koko:\"🈁\",label:\"🏷\",large_blue_circle:\"🔵\",large_blue_diamond:\"🔷\",large_orange_diamond:\"🔶\",last_quarter_moon:\"🌗\",last_quarter_moon_with_face:\"🌜\",latin_cross:\"✝️\",laughing:\"😆\",leaves:\"🍃\",ledger:\"📒\",left_luggage:\"🛅\",left_right_arrow:\"↔️\",leftwards_arrow_with_hook:\"↩️\",lemon:\"🍋\",leo:\"♌️\",leopard:\"🐆\",level_slider:\"🎚\",libra:\"♎️\",light_rail:\"🚈\",link:\"🔗\",lion:\"🦁\",lips:\"👄\",lipstick:\"💄\",lizard:\"🦎\",lock:\"🔒\",lock_with_ink_pen:\"🔏\",lollipop:\"🍭\",loop:\"➿\",loud_sound:\"🔊\",loudspeaker:\"📢\",love_hotel:\"🏩\",love_letter:\"💌\",low_brightness:\"🔅\",lying_face:\"🤥\",m:\"Ⓜ️\",mag:\"🔍\",mag_right:\"🔎\",mahjong:\"🀄️\",mailbox:\"📫\",mailbox_closed:\"📪\",mailbox_with_mail:\"📬\",mailbox_with_no_mail:\"📭\",man:\"👨\",man_artist:\"👨‍🎨\",man_astronaut:\"👨‍🚀\",man_cartwheeling:\"🤸‍♂️\",man_cook:\"👨‍🍳\",man_dancing:\"🕺\",man_facepalming:\"🤦‍♂️\",man_factory_worker:\"👨‍🏭\",man_farmer:\"👨‍🌾\",man_firefighter:\"👨‍🚒\",man_health_worker:\"👨‍⚕️\",man_in_tuxedo:\"🤵\",man_judge:\"👨‍⚖️\",man_juggling:\"🤹‍♂️\",man_mechanic:\"👨‍🔧\",man_office_worker:\"👨‍💼\",man_pilot:\"👨‍✈️\",man_playing_handball:\"🤾‍♂️\",man_playing_water_polo:\"🤽‍♂️\",man_scientist:\"👨‍🔬\",man_shrugging:\"🤷‍♂️\",man_singer:\"👨‍🎤\",man_student:\"👨‍🎓\",man_teacher:\"👨‍🏫\",man_technologist:\"👨‍💻\",man_with_gua_pi_mao:\"👲\",man_with_turban:\"👳\",tangerine:\"🍊\",mans_shoe:\"👞\",mantelpiece_clock:\"🕰\",maple_leaf:\"🍁\",martial_arts_uniform:\"🥋\",mask:\"😷\",massage_woman:\"💆\",massage_man:\"💆‍♂️\",meat_on_bone:\"🍖\",medal_military:\"🎖\",medal_sports:\"🏅\",mega:\"📣\",melon:\"🍈\",memo:\"📝\",men_wrestling:\"🤼‍♂️\",menorah:\"🕎\",mens:\"🚹\",metal:\"🤘\",metro:\"🚇\",microphone:\"🎤\",microscope:\"🔬\",milk_glass:\"🥛\",milky_way:\"🌌\",minibus:\"🚐\",minidisc:\"💽\",mobile_phone_off:\"📴\",money_mouth_face:\"🤑\",money_with_wings:\"💸\",moneybag:\"💰\",monkey:\"🐒\",monkey_face:\"🐵\",monorail:\"🚝\",moon:\"🌔\",mortar_board:\"🎓\",mosque:\"🕌\",motor_boat:\"🛥\",motor_scooter:\"🛵\",motorcycle:\"🏍\",motorway:\"🛣\",mount_fuji:\"🗻\",mountain:\"⛰\",mountain_biking_man:\"🚵\",mountain_biking_woman:\"🚵‍♀️\",mountain_cableway:\"🚠\",mountain_railway:\"🚞\",mountain_snow:\"🏔\",mouse:\"🐭\",mouse2:\"🐁\",movie_camera:\"🎥\",moyai:\"🗿\",mrs_claus:\"🤶\",muscle:\"💪\",mushroom:\"🍄\",musical_keyboard:\"🎹\",musical_note:\"🎵\",musical_score:\"🎼\",mute:\"🔇\",nail_care:\"💅\",name_badge:\"📛\",national_park:\"🏞\",nauseated_face:\"🤢\",necktie:\"👔\",negative_squared_cross_mark:\"❎\",nerd_face:\"🤓\",neutral_face:\"😐\",new:\"🆕\",new_moon:\"🌑\",new_moon_with_face:\"🌚\",newspaper:\"📰\",newspaper_roll:\"🗞\",next_track_button:\"⏭\",ng:\"🆖\",no_good_man:\"🙅‍♂️\",no_good_woman:\"🙅\",night_with_stars:\"🌃\",no_bell:\"🔕\",no_bicycles:\"🚳\",no_entry:\"⛔️\",no_entry_sign:\"🚫\",no_mobile_phones:\"📵\",no_mouth:\"😶\",no_pedestrians:\"🚷\",no_smoking:\"🚭\",\"non-potable_water\":\"🚱\",nose:\"👃\",notebook:\"📓\",notebook_with_decorative_cover:\"📔\",notes:\"🎶\",nut_and_bolt:\"🔩\",o:\"⭕️\",o2:\"🅾️\",ocean:\"🌊\",octopus:\"🐙\",oden:\"🍢\",office:\"🏢\",oil_drum:\"🛢\",ok:\"🆗\",ok_hand:\"👌\",ok_man:\"🙆‍♂️\",ok_woman:\"🙆\",old_key:\"🗝\",older_man:\"👴\",older_woman:\"👵\",om:\"🕉\",on:\"🔛\",oncoming_automobile:\"🚘\",oncoming_bus:\"🚍\",oncoming_police_car:\"🚔\",oncoming_taxi:\"🚖\",open_file_folder:\"📂\",open_hands:\"👐\",open_mouth:\"😮\",open_umbrella:\"☂️\",ophiuchus:\"⛎\",orange_book:\"📙\",orthodox_cross:\"☦️\",outbox_tray:\"📤\",owl:\"🦉\",ox:\"🐂\",package:\"📦\",page_facing_up:\"📄\",page_with_curl:\"📃\",pager:\"📟\",paintbrush:\"🖌\",palm_tree:\"🌴\",pancakes:\"🥞\",panda_face:\"🐼\",paperclip:\"📎\",paperclips:\"🖇\",parasol_on_ground:\"⛱\",parking:\"🅿️\",part_alternation_mark:\"〽️\",partly_sunny:\"⛅️\",passenger_ship:\"🛳\",passport_control:\"🛂\",pause_button:\"⏸\",peace_symbol:\"☮️\",peach:\"🍑\",peanuts:\"🥜\",pear:\"🍐\",pen:\"🖊\",pencil2:\"✏️\",penguin:\"🐧\",pensive:\"😔\",performing_arts:\"🎭\",persevere:\"😣\",person_fencing:\"🤺\",pouting_woman:\"🙎\",phone:\"☎️\",pick:\"⛏\",pig:\"🐷\",pig2:\"🐖\",pig_nose:\"🐽\",pill:\"💊\",pineapple:\"🍍\",ping_pong:\"🏓\",pisces:\"♓️\",pizza:\"🍕\",place_of_worship:\"🛐\",plate_with_cutlery:\"🍽\",play_or_pause_button:\"⏯\",point_down:\"👇\",point_left:\"👈\",point_right:\"👉\",point_up:\"☝️\",point_up_2:\"👆\",police_car:\"🚓\",policewoman:\"👮‍♀️\",poodle:\"🐩\",popcorn:\"🍿\",post_office:\"🏣\",postal_horn:\"📯\",postbox:\"📮\",potable_water:\"🚰\",potato:\"🥔\",pouch:\"👝\",poultry_leg:\"🍗\",pound:\"💷\",rage:\"😡\",pouting_cat:\"😾\",pouting_man:\"🙎‍♂️\",pray:\"🙏\",prayer_beads:\"📿\",pregnant_woman:\"🤰\",previous_track_button:\"⏮\",prince:\"🤴\",princess:\"👸\",printer:\"🖨\",purple_heart:\"💜\",purse:\"👛\",pushpin:\"📌\",put_litter_in_its_place:\"🚮\",question:\"❓\",rabbit:\"🐰\",rabbit2:\"🐇\",racehorse:\"🐎\",racing_car:\"🏎\",radio:\"📻\",radio_button:\"🔘\",radioactive:\"☢️\",railway_car:\"🚃\",railway_track:\"🛤\",rainbow:\"🌈\",rainbow_flag:\"🏳️‍🌈\",raised_back_of_hand:\"🤚\",raised_hand_with_fingers_splayed:\"🖐\",raised_hands:\"🙌\",raising_hand_woman:\"🙋\",raising_hand_man:\"🙋‍♂️\",ram:\"🐏\",ramen:\"🍜\",rat:\"🐀\",record_button:\"⏺\",recycle:\"♻️\",red_circle:\"🔴\",registered:\"®️\",relaxed:\"☺️\",relieved:\"😌\",reminder_ribbon:\"🎗\",repeat:\"🔁\",repeat_one:\"🔂\",rescue_worker_helmet:\"⛑\",restroom:\"🚻\",revolving_hearts:\"💞\",rewind:\"⏪\",rhinoceros:\"🦏\",ribbon:\"🎀\",rice:\"🍚\",rice_ball:\"🍙\",rice_cracker:\"🍘\",rice_scene:\"🎑\",right_anger_bubble:\"🗯\",ring:\"💍\",robot:\"🤖\",rocket:\"🚀\",rofl:\"🤣\",roll_eyes:\"🙄\",roller_coaster:\"🎢\",rooster:\"🐓\",rose:\"🌹\",rosette:\"🏵\",rotating_light:\"🚨\",round_pushpin:\"📍\",rowing_man:\"🚣\",rowing_woman:\"🚣‍♀️\",rugby_football:\"🏉\",running_man:\"🏃\",running_shirt_with_sash:\"🎽\",running_woman:\"🏃‍♀️\",sa:\"🈂️\",sagittarius:\"♐️\",sake:\"🍶\",sandal:\"👡\",santa:\"🎅\",satellite:\"📡\",saxophone:\"🎷\",school:\"🏫\",school_satchel:\"🎒\",scissors:\"✂️\",scorpion:\"🦂\",scorpius:\"♏️\",scream:\"😱\",scream_cat:\"🙀\",scroll:\"📜\",seat:\"💺\",secret:\"㊙️\",see_no_evil:\"🙈\",seedling:\"🌱\",selfie:\"🤳\",shallow_pan_of_food:\"🥘\",shamrock:\"☘️\",shark:\"🦈\",shaved_ice:\"🍧\",sheep:\"🐑\",shell:\"🐚\",shield:\"🛡\",shinto_shrine:\"⛩\",ship:\"🚢\",shirt:\"👕\",shopping:\"🛍\",shopping_cart:\"🛒\",shower:\"🚿\",shrimp:\"🦐\",signal_strength:\"📶\",six_pointed_star:\"🔯\",ski:\"🎿\",skier:\"⛷\",skull:\"💀\",skull_and_crossbones:\"☠️\",sleeping:\"😴\",sleeping_bed:\"🛌\",sleepy:\"😪\",slightly_frowning_face:\"🙁\",slightly_smiling_face:\"🙂\",slot_machine:\"🎰\",small_airplane:\"🛩\",small_blue_diamond:\"🔹\",small_orange_diamond:\"🔸\",small_red_triangle:\"🔺\",small_red_triangle_down:\"🔻\",smile:\"😄\",smile_cat:\"😸\",smiley:\"😃\",smiley_cat:\"😺\",smiling_imp:\"😈\",smirk:\"😏\",smirk_cat:\"😼\",smoking:\"🚬\",snail:\"🐌\",snake:\"🐍\",sneezing_face:\"🤧\",snowboarder:\"🏂\",snowflake:\"❄️\",snowman:\"⛄️\",snowman_with_snow:\"☃️\",sob:\"😭\",soccer:\"⚽️\",soon:\"🔜\",sos:\"🆘\",sound:\"🔉\",space_invader:\"👾\",spades:\"♠️\",spaghetti:\"🍝\",sparkle:\"❇️\",sparkler:\"🎇\",sparkles:\"✨\",sparkling_heart:\"💖\",speak_no_evil:\"🙊\",speaker:\"🔈\",speaking_head:\"🗣\",speech_balloon:\"💬\",speedboat:\"🚤\",spider:\"🕷\",spider_web:\"🕸\",spiral_calendar:\"🗓\",spiral_notepad:\"🗒\",spoon:\"🥄\",squid:\"🦑\",stadium:\"🏟\",star:\"⭐️\",star2:\"🌟\",star_and_crescent:\"☪️\",star_of_david:\"✡️\",stars:\"🌠\",station:\"🚉\",statue_of_liberty:\"🗽\",steam_locomotive:\"🚂\",stew:\"🍲\",stop_button:\"⏹\",stop_sign:\"🛑\",stopwatch:\"⏱\",straight_ruler:\"📏\",strawberry:\"🍓\",stuck_out_tongue:\"😛\",stuck_out_tongue_closed_eyes:\"😝\",stuck_out_tongue_winking_eye:\"😜\",studio_microphone:\"🎙\",stuffed_flatbread:\"🥙\",sun_behind_large_cloud:\"🌥\",sun_behind_rain_cloud:\"🌦\",sun_behind_small_cloud:\"🌤\",sun_with_face:\"🌞\",sunflower:\"🌻\",sunglasses:\"😎\",sunny:\"☀️\",sunrise:\"🌅\",sunrise_over_mountains:\"🌄\",surfing_man:\"🏄\",surfing_woman:\"🏄‍♀️\",sushi:\"🍣\",suspension_railway:\"🚟\",sweat:\"😓\",sweat_drops:\"💦\",sweat_smile:\"😅\",sweet_potato:\"🍠\",swimming_man:\"🏊\",swimming_woman:\"🏊‍♀️\",symbols:\"🔣\",synagogue:\"🕍\",syringe:\"💉\",taco:\"🌮\",tada:\"🎉\",tanabata_tree:\"🎋\",taurus:\"♉️\",taxi:\"🚕\",tea:\"🍵\",telephone_receiver:\"📞\",telescope:\"🔭\",tennis:\"🎾\",tent:\"⛺️\",thermometer:\"🌡\",thinking:\"🤔\",thought_balloon:\"💭\",ticket:\"🎫\",tickets:\"🎟\",tiger:\"🐯\",tiger2:\"🐅\",timer_clock:\"⏲\",tipping_hand_man:\"💁‍♂️\",tired_face:\"😫\",tm:\"™️\",toilet:\"🚽\",tokyo_tower:\"🗼\",tomato:\"🍅\",tongue:\"👅\",top:\"🔝\",tophat:\"🎩\",tornado:\"🌪\",trackball:\"🖲\",tractor:\"🚜\",traffic_light:\"🚥\",train:\"🚋\",train2:\"🚆\",tram:\"🚊\",triangular_flag_on_post:\"🚩\",triangular_ruler:\"📐\",trident:\"🔱\",triumph:\"😤\",trolleybus:\"🚎\",trophy:\"🏆\",tropical_drink:\"🍹\",tropical_fish:\"🐠\",truck:\"🚚\",trumpet:\"🎺\",tulip:\"🌷\",tumbler_glass:\"🥃\",turkey:\"🦃\",turtle:\"🐢\",tv:\"📺\",twisted_rightwards_arrows:\"🔀\",two_hearts:\"💕\",two_men_holding_hands:\"👬\",two_women_holding_hands:\"👭\",u5272:\"🈹\",u5408:\"🈴\",u55b6:\"🈺\",u6307:\"🈯️\",u6708:\"🈷️\",u6709:\"🈶\",u6e80:\"🈵\",u7121:\"🈚️\",u7533:\"🈸\",u7981:\"🈲\",u7a7a:\"🈳\",umbrella:\"☔️\",unamused:\"😒\",underage:\"🔞\",unicorn:\"🦄\",unlock:\"🔓\",up:\"🆙\",upside_down_face:\"🙃\",v:\"✌️\",vertical_traffic_light:\"🚦\",vhs:\"📼\",vibration_mode:\"📳\",video_camera:\"📹\",video_game:\"🎮\",violin:\"🎻\",virgo:\"♍️\",volcano:\"🌋\",volleyball:\"🏐\",vs:\"🆚\",vulcan_salute:\"🖖\",walking_man:\"🚶\",walking_woman:\"🚶‍♀️\",waning_crescent_moon:\"🌘\",waning_gibbous_moon:\"🌖\",warning:\"⚠️\",wastebasket:\"🗑\",watch:\"⌚️\",water_buffalo:\"🐃\",watermelon:\"🍉\",wave:\"👋\",wavy_dash:\"〰️\",waxing_crescent_moon:\"🌒\",wc:\"🚾\",weary:\"😩\",wedding:\"💒\",weight_lifting_man:\"🏋️\",weight_lifting_woman:\"🏋️‍♀️\",whale:\"🐳\",whale2:\"🐋\",wheel_of_dharma:\"☸️\",wheelchair:\"♿️\",white_check_mark:\"✅\",white_circle:\"⚪️\",white_flag:\"🏳️\",white_flower:\"💮\",white_large_square:\"⬜️\",white_medium_small_square:\"◽️\",white_medium_square:\"◻️\",white_small_square:\"▫️\",white_square_button:\"🔳\",wilted_flower:\"🥀\",wind_chime:\"🎐\",wind_face:\"🌬\",wine_glass:\"🍷\",wink:\"😉\",wolf:\"🐺\",woman:\"👩\",woman_artist:\"👩‍🎨\",woman_astronaut:\"👩‍🚀\",woman_cartwheeling:\"🤸‍♀️\",woman_cook:\"👩‍🍳\",woman_facepalming:\"🤦‍♀️\",woman_factory_worker:\"👩‍🏭\",woman_farmer:\"👩‍🌾\",woman_firefighter:\"👩‍🚒\",woman_health_worker:\"👩‍⚕️\",woman_judge:\"👩‍⚖️\",woman_juggling:\"🤹‍♀️\",woman_mechanic:\"👩‍🔧\",woman_office_worker:\"👩‍💼\",woman_pilot:\"👩‍✈️\",woman_playing_handball:\"🤾‍♀️\",woman_playing_water_polo:\"🤽‍♀️\",woman_scientist:\"👩‍🔬\",woman_shrugging:\"🤷‍♀️\",woman_singer:\"👩‍🎤\",woman_student:\"👩‍🎓\",woman_teacher:\"👩‍🏫\",woman_technologist:\"👩‍💻\",woman_with_turban:\"👳‍♀️\",womans_clothes:\"👚\",womans_hat:\"👒\",women_wrestling:\"🤼‍♀️\",womens:\"🚺\",world_map:\"🗺\",worried:\"😟\",wrench:\"🔧\",writing_hand:\"✍️\",x:\"❌\",yellow_heart:\"💛\",yen:\"💴\",yin_yang:\"☯️\",yum:\"😋\",zap:\"⚡️\",zipper_mouth_face:\"🤐\",zzz:\"💤\",octocat:'\":octocat:\"',showdown:\"S\"},s.Converter=function(e){\"use strict\";var t={},r=[],n=[],o={},a=l,f={parsed:{},raw:\"\",format:\"\"};function h(e,t){if(t=t||null,s.helper.isString(e)){if(t=e=s.helper.stdExtName(e),s.extensions[e])return console.warn(\"DEPRECATION WARNING: \"+e+\" is an old extension that uses a deprecated loading method.Please inform the developer that the extension should be updated!\"),void function(e,t){\"function\"==typeof e&&(e=e(new s.Converter));s.helper.isArray(e)||(e=[e]);var o=d(e,t);if(!o.valid)throw Error(o.error);for(var a=0;a[ \\t]+¨NBSP;<\"),!t){if(!window||!window.document)throw new Error(\"HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM\");t=window.document}var r=t.createElement(\"div\");r.innerHTML=e;var n={preList:function(e){for(var t=e.querySelectorAll(\"pre\"),r=[],n=0;n'}else r.push(t[n].innerHTML),t[n].innerHTML=\"\",t[n].setAttribute(\"prenum\",n.toString());return r}(r)};!function e(t){for(var r=0;r? ?(['\"].*['\"])?\\)$/m)>-1)a=\"\";else if(!a){if(o||(o=n.toLowerCase().replace(/ ?\\n/g,\" \")),a=\"#\"+o,s.helper.isUndefined(r.gUrls[o]))return e;a=r.gUrls[o],s.helper.isUndefined(r.gTitles[o])||(l=r.gTitles[o])}var u='\"+n+\"\"};return e=(e=(e=(e=(e=r.converter._dispatch(\"anchors.before\",e,t,r)).replace(/\\[((?:\\[[^\\]]*]|[^\\[\\]])*)] ?(?:\\n *)?\\[(.*?)]()()()()/g,n)).replace(/\\[((?:\\[[^\\]]*]|[^\\[\\]])*)]()[ \\t]*\\([ \\t]?<([^>]*)>(?:[ \\t]*(([\"'])([^\"]*?)\\5))?[ \\t]?\\)/g,n)).replace(/\\[((?:\\[[^\\]]*]|[^\\[\\]])*)]()[ \\t]*\\([ \\t]??(?:[ \\t]*(([\"'])([^\"]*?)\\5))?[ \\t]?\\)/g,n)).replace(/\\[([^\\[\\]]+)]()()()()()/g,n),t.ghMentions&&(e=e.replace(/(^|\\s)(\\\\)?(@([a-z\\d]+(?:[a-z\\d.-]+?[a-z\\d]+)*))/gim,(function(e,r,n,o,a){if(\"\\\\\"===n)return r+o;if(!s.helper.isString(t.ghMentionsLink))throw new Error(\"ghMentionsLink option must be a string\");var i=t.ghMentionsLink.replace(/\\{u}/g,a),c=\"\";return t.openLinksInNewWindow&&(c=' rel=\"noopener noreferrer\" target=\"¨E95Eblank\"'),r+'\"+o+\"\"}))),e=r.converter._dispatch(\"anchors.after\",e,t,r)}));var p=/([*~_]+|\\b)(((https?|ftp|dict):\\/\\/|www\\.)[^'\">\\s]+?\\.[^'\">\\s]+?)()(\\1)?(?=\\s|$)(?![\"<>])/gi,m=/([*~_]+|\\b)(((https?|ftp|dict):\\/\\/|www\\.)[^'\">\\s]+\\.[^'\">\\s]+?)([.!?,()\\[\\]])?(\\1)?(?=\\s|$)(?![\"<>])/gi,g=/()<(((https?|ftp|dict):\\/\\/|www\\.)[^'\">\\s]+)()>()/gi,b=/(^|\\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\\.[-a-z0-9]+)*\\.[a-z]+)(?=$|\\s)/gim,v=/<()(?:mailto:)?([-.\\w]+@[-a-z0-9]+(\\.[-a-z0-9]+)*\\.[a-z]+)>/gi,y=function(e){\"use strict\";return function(t,r,n,o,a,i,c){var l=n=n.replace(s.helper.regexes.asteriskDashAndColon,s.helper.escapeCharactersCallback),u=\"\",d=\"\",f=r||\"\",h=c||\"\";return/^www\\./i.test(n)&&(n=n.replace(/^www\\./i,\"http://www.\")),e.excludeTrailingPunctuationFromURLs&&i&&(u=i),e.openLinksInNewWindow&&(d=' rel=\"noopener noreferrer\" target=\"¨E95Eblank\"'),f+'\"+l+\"\"+u+h}},_=function(e,t){\"use strict\";return function(r,n,o){var a=\"mailto:\";return n=n||\"\",o=s.subParser(\"unescapeSpecialChars\")(o,e,t),e.encodeEmails?(a=s.helper.encodeEmailAddress(a+o),o=s.helper.encodeEmailAddress(o)):a+=o,n+''+o+\"\"}};s.subParser(\"autoLinks\",(function(e,t,r){\"use strict\";return e=(e=(e=r.converter._dispatch(\"autoLinks.before\",e,t,r)).replace(g,y(t))).replace(v,_(t,r)),e=r.converter._dispatch(\"autoLinks.after\",e,t,r)})),s.subParser(\"simplifiedAutoLinks\",(function(e,t,r){\"use strict\";return t.simplifiedAutoLink?(e=r.converter._dispatch(\"simplifiedAutoLinks.before\",e,t,r),e=(e=t.excludeTrailingPunctuationFromURLs?e.replace(m,y(t)):e.replace(p,y(t))).replace(b,_(t,r)),e=r.converter._dispatch(\"simplifiedAutoLinks.after\",e,t,r)):e})),s.subParser(\"blockGamut\",(function(e,t,r){\"use strict\";return e=r.converter._dispatch(\"blockGamut.before\",e,t,r),e=s.subParser(\"blockQuotes\")(e,t,r),e=s.subParser(\"headers\")(e,t,r),e=s.subParser(\"horizontalRule\")(e,t,r),e=s.subParser(\"lists\")(e,t,r),e=s.subParser(\"codeBlocks\")(e,t,r),e=s.subParser(\"tables\")(e,t,r),e=s.subParser(\"hashHTMLBlocks\")(e,t,r),e=s.subParser(\"paragraphs\")(e,t,r),e=r.converter._dispatch(\"blockGamut.after\",e,t,r)})),s.subParser(\"blockQuotes\",(function(e,t,r){\"use strict\";e=r.converter._dispatch(\"blockQuotes.before\",e,t,r),e+=\"\\n\\n\";var n=/(^ {0,3}>[ \\t]?.+\\n(.+\\n)*\\n*)+/gm;return t.splitAdjacentBlockquotes&&(n=/^ {0,3}>[\\s\\S]*?(?:\\n\\n)/gm),e=e.replace(n,(function(e){return e=(e=(e=e.replace(/^[ \\t]*>[ \\t]?/gm,\"\")).replace(/¨0/g,\"\")).replace(/^[ \\t]+$/gm,\"\"),e=s.subParser(\"githubCodeBlocks\")(e,t,r),e=(e=(e=s.subParser(\"blockGamut\")(e,t,r)).replace(/(^|\\n)/g,\"$1 \")).replace(/(\\s*
[^\\r]+?<\\/pre>)/gm,(function(e,t){var r=t;return r=(r=r.replace(/^ {2}/gm,\"¨0\")).replace(/¨0/g,\"\")})),s.subParser(\"hashBlock\")(\"
\\n\"+e+\"\\n
\",t,r)})),e=r.converter._dispatch(\"blockQuotes.after\",e,t,r)})),s.subParser(\"codeBlocks\",(function(e,t,r){\"use strict\";e=r.converter._dispatch(\"codeBlocks.before\",e,t,r);return e=(e=(e+=\"¨0\").replace(/(?:\\n\\n|^)((?:(?:[ ]{4}|\\t).*\\n+)+)(\\n*[ ]{0,3}[^ \\t\\n]|(?=¨0))/g,(function(e,n,o){var a=n,i=o,c=\"\\n\";return a=s.subParser(\"outdent\")(a,t,r),a=s.subParser(\"encodeCode\")(a,t,r),a=(a=(a=s.subParser(\"detab\")(a,t,r)).replace(/^\\n+/g,\"\")).replace(/\\n+$/g,\"\"),t.omitExtraWLInCodeBlocks&&(c=\"\"),a=\"
\"+a+c+\"
\",s.subParser(\"hashBlock\")(a,t,r)+i}))).replace(/¨0/,\"\"),e=r.converter._dispatch(\"codeBlocks.after\",e,t,r)})),s.subParser(\"codeSpans\",(function(e,t,r){\"use strict\";return void 0===(e=r.converter._dispatch(\"codeSpans.before\",e,t,r))&&(e=\"\"),e=e.replace(/(^|[^\\\\])(`+)([^\\r]*?[^`])\\2(?!`)/gm,(function(e,n,o,a){var i=a;return i=(i=i.replace(/^([ \\t]*)/g,\"\")).replace(/[ \\t]*$/g,\"\"),i=n+\"\"+(i=s.subParser(\"encodeCode\")(i,t,r))+\"\",i=s.subParser(\"hashHTMLSpans\")(i,t,r)})),e=r.converter._dispatch(\"codeSpans.after\",e,t,r)})),s.subParser(\"completeHTMLDocument\",(function(e,t,r){\"use strict\";if(!t.completeHTMLDocument)return e;e=r.converter._dispatch(\"completeHTMLDocument.before\",e,t,r);var n=\"html\",o=\"\\n\",s=\"\",a='\\n',i=\"\",c=\"\";for(var l in void 0!==r.metadata.parsed.doctype&&(o=\"\\n\",\"html\"!==(n=r.metadata.parsed.doctype.toString().toLowerCase())&&\"html5\"!==n||(a='')),r.metadata.parsed)if(r.metadata.parsed.hasOwnProperty(l))switch(l.toLowerCase()){case\"doctype\":break;case\"title\":s=\"\"+r.metadata.parsed.title+\"\\n\";break;case\"charset\":a=\"html\"===n||\"html5\"===n?'\\n':'\\n';break;case\"language\":case\"lang\":i=' lang=\"'+r.metadata.parsed[l]+'\"',c+='\\n';break;default:c+='\\n'}return e=o+\"\\n\\n\"+s+a+c+\"\\n\\n\"+e.trim()+\"\\n\\n\",e=r.converter._dispatch(\"completeHTMLDocument.after\",e,t,r)})),s.subParser(\"detab\",(function(e,t,r){\"use strict\";return e=(e=(e=(e=(e=(e=r.converter._dispatch(\"detab.before\",e,t,r)).replace(/\\t(?=\\t)/g,\" \")).replace(/\\t/g,\"¨A¨B\")).replace(/¨B(.+?)¨A/g,(function(e,t){for(var r=t,n=4-r.length%4,o=0;o/g,\">\"),e=r.converter._dispatch(\"encodeAmpsAndAngles.after\",e,t,r)})),s.subParser(\"encodeBackslashEscapes\",(function(e,t,r){\"use strict\";return e=(e=(e=r.converter._dispatch(\"encodeBackslashEscapes.before\",e,t,r)).replace(/\\\\(\\\\)/g,s.helper.escapeCharactersCallback)).replace(/\\\\([`*_{}\\[\\]()>#+.!~=|-])/g,s.helper.escapeCharactersCallback),e=r.converter._dispatch(\"encodeBackslashEscapes.after\",e,t,r)})),s.subParser(\"encodeCode\",(function(e,t,r){\"use strict\";return e=(e=r.converter._dispatch(\"encodeCode.before\",e,t,r)).replace(/&/g,\"&\").replace(//g,\">\").replace(/([*_{}\\[\\]\\\\=~-])/g,s.helper.escapeCharactersCallback),e=r.converter._dispatch(\"encodeCode.after\",e,t,r)})),s.subParser(\"escapeSpecialCharsWithinTagAttributes\",(function(e,t,r){\"use strict\";return e=(e=(e=r.converter._dispatch(\"escapeSpecialCharsWithinTagAttributes.before\",e,t,r)).replace(/<\\/?[a-z\\d_:-]+(?:[\\s]+[\\s\\S]+?)?>/gi,(function(e){return e.replace(/(.)<\\/?code>(?=.)/g,\"$1`\").replace(/([\\\\`*_~=|])/g,s.helper.escapeCharactersCallback)}))).replace(/-]|-[^>])(?:[^-]|-[^-])*)--)>/gi,(function(e){return e.replace(/([\\\\`*_~=|])/g,s.helper.escapeCharactersCallback)})),e=r.converter._dispatch(\"escapeSpecialCharsWithinTagAttributes.after\",e,t,r)})),s.subParser(\"githubCodeBlocks\",(function(e,t,r){\"use strict\";return t.ghCodeBlocks?(e=r.converter._dispatch(\"githubCodeBlocks.before\",e,t,r),e=(e=(e+=\"¨0\").replace(/(?:^|\\n)(?: {0,3})(```+|~~~+)(?: *)([^\\s`~]*)\\n([\\s\\S]*?)\\n(?: {0,3})\\1/g,(function(e,n,o,a){var i=t.omitExtraWLInCodeBlocks?\"\":\"\\n\";return a=s.subParser(\"encodeCode\")(a,t,r),a=\"
\"+(a=(a=(a=s.subParser(\"detab\")(a,t,r)).replace(/^\\n+/g,\"\")).replace(/\\n+$/g,\"\"))+i+\"
\",a=s.subParser(\"hashBlock\")(a,t,r),\"\\n\\n¨G\"+(r.ghCodeBlocks.push({text:e,codeblock:a})-1)+\"G\\n\\n\"}))).replace(/¨0/,\"\"),r.converter._dispatch(\"githubCodeBlocks.after\",e,t,r)):e})),s.subParser(\"hashBlock\",(function(e,t,r){\"use strict\";return e=(e=r.converter._dispatch(\"hashBlock.before\",e,t,r)).replace(/(^\\n+|\\n+$)/g,\"\"),e=\"\\n\\n¨K\"+(r.gHtmlBlocks.push(e)-1)+\"K\\n\\n\",e=r.converter._dispatch(\"hashBlock.after\",e,t,r)})),s.subParser(\"hashCodeTags\",(function(e,t,r){\"use strict\";e=r.converter._dispatch(\"hashCodeTags.before\",e,t,r);return e=s.helper.replaceRecursiveRegExp(e,(function(e,n,o,a){var i=o+s.subParser(\"encodeCode\")(n,t,r)+a;return\"¨C\"+(r.gHtmlSpans.push(i)-1)+\"C\"}),\"]*>\",\"\",\"gim\"),e=r.converter._dispatch(\"hashCodeTags.after\",e,t,r)})),s.subParser(\"hashElement\",(function(e,t,r){\"use strict\";return function(e,t){var n=t;return n=(n=(n=n.replace(/\\n\\n/g,\"\\n\")).replace(/^\\n/,\"\")).replace(/\\n+$/g,\"\"),n=\"\\n\\n¨K\"+(r.gHtmlBlocks.push(n)-1)+\"K\\n\\n\"}})),s.subParser(\"hashHTMLBlocks\",(function(e,t,r){\"use strict\";e=r.converter._dispatch(\"hashHTMLBlocks.before\",e,t,r);var n=[\"pre\",\"div\",\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"blockquote\",\"table\",\"dl\",\"ol\",\"ul\",\"script\",\"noscript\",\"form\",\"fieldset\",\"iframe\",\"math\",\"style\",\"section\",\"header\",\"footer\",\"nav\",\"article\",\"aside\",\"address\",\"audio\",\"canvas\",\"figure\",\"hgroup\",\"output\",\"video\",\"p\"],o=function(e,t,n,o){var s=e;return-1!==n.search(/\\bmarkdown\\b/)&&(s=n+r.converter.makeHtml(t)+o),\"\\n\\n¨K\"+(r.gHtmlBlocks.push(s)-1)+\"K\\n\\n\"};t.backslashEscapesHTMLTags&&(e=e.replace(/\\\\<(\\/?[^>]+?)>/g,(function(e,t){return\"<\"+t+\">\"})));for(var a=0;a]*>)\",\"im\"),l=\"<\"+n[a]+\"\\\\b[^>]*>\",u=\"\";-1!==(i=s.helper.regexIndexOf(e,c));){var d=s.helper.splitAtIndex(e,i),f=s.helper.replaceRecursiveRegExp(d[1],o,l,u,\"im\");if(f===d[1])break;e=d[0].concat(f)}return e=e.replace(/(\\n {0,3}(<(hr)\\b([^<>])*?\\/?>)[ \\t]*(?=\\n{2,}))/g,s.subParser(\"hashElement\")(e,t,r)),e=(e=s.helper.replaceRecursiveRegExp(e,(function(e){return\"\\n\\n¨K\"+(r.gHtmlBlocks.push(e)-1)+\"K\\n\\n\"}),\"^ {0,3}\\x3c!--\",\"--\\x3e\",\"gm\")).replace(/(?:\\n\\n)( {0,3}(?:<([?%])[^\\r]*?\\2>)[ \\t]*(?=\\n{2,}))/g,s.subParser(\"hashElement\")(e,t,r)),e=r.converter._dispatch(\"hashHTMLBlocks.after\",e,t,r)})),s.subParser(\"hashHTMLSpans\",(function(e,t,r){\"use strict\";function n(e){return\"¨C\"+(r.gHtmlSpans.push(e)-1)+\"C\"}return e=(e=(e=(e=(e=r.converter._dispatch(\"hashHTMLSpans.before\",e,t,r)).replace(/<[^>]+?\\/>/gi,(function(e){return n(e)}))).replace(/<([^>]+?)>[\\s\\S]*?<\\/\\1>/g,(function(e){return n(e)}))).replace(/<([^>]+?)\\s[^>]+?>[\\s\\S]*?<\\/\\1>/g,(function(e){return n(e)}))).replace(/<[^>]+?>/gi,(function(e){return n(e)})),e=r.converter._dispatch(\"hashHTMLSpans.after\",e,t,r)})),s.subParser(\"unhashHTMLSpans\",(function(e,t,r){\"use strict\";e=r.converter._dispatch(\"unhashHTMLSpans.before\",e,t,r);for(var n=0;n]*>\\\\s*]*>\",\"^ {0,3}\\\\s*
\",\"gim\"),e=r.converter._dispatch(\"hashPreCodeTags.after\",e,t,r)})),s.subParser(\"headers\",(function(e,t,r){\"use strict\";e=r.converter._dispatch(\"headers.before\",e,t,r);var n=isNaN(parseInt(t.headerLevelStart))?1:parseInt(t.headerLevelStart),o=t.smoothLivePreview?/^(.+)[ \\t]*\\n={2,}[ \\t]*\\n+/gm:/^(.+)[ \\t]*\\n=+[ \\t]*\\n+/gm,a=t.smoothLivePreview?/^(.+)[ \\t]*\\n-{2,}[ \\t]*\\n+/gm:/^(.+)[ \\t]*\\n-+[ \\t]*\\n+/gm;e=(e=e.replace(o,(function(e,o){var a=s.subParser(\"spanGamut\")(o,t,r),i=t.noHeaderId?\"\":' id=\"'+c(o)+'\"',l=\"\"+a+\"\";return s.subParser(\"hashBlock\")(l,t,r)}))).replace(a,(function(e,o){var a=s.subParser(\"spanGamut\")(o,t,r),i=t.noHeaderId?\"\":' id=\"'+c(o)+'\"',l=n+1,u=\"\"+a+\"\";return s.subParser(\"hashBlock\")(u,t,r)}));var i=t.requireSpaceBeforeHeadingText?/^(#{1,6})[ \\t]+(.+?)[ \\t]*#*\\n+/gm:/^(#{1,6})[ \\t]*(.+?)[ \\t]*#*\\n+/gm;function c(e){var n,o;if(t.customizedHeaderId){var a=e.match(/\\{([^{]+?)}\\s*$/);a&&a[1]&&(e=a[1])}return n=e,o=s.helper.isString(t.prefixHeaderId)?t.prefixHeaderId:!0===t.prefixHeaderId?\"section-\":\"\",t.rawPrefixHeaderId||(n=o+n),n=t.ghCompatibleHeaderId?n.replace(/ /g,\"-\").replace(/&/g,\"\").replace(/¨T/g,\"\").replace(/¨D/g,\"\").replace(/[&+$,\\/:;=?@\"#{}|^¨~\\[\\]`\\\\*)(%.!'<>]/g,\"\").toLowerCase():t.rawHeaderId?n.replace(/ /g,\"-\").replace(/&/g,\"&\").replace(/¨T/g,\"¨\").replace(/¨D/g,\"$\").replace(/[\"']/g,\"-\").toLowerCase():n.replace(/[^\\w]/g,\"\").toLowerCase(),t.rawPrefixHeaderId&&(n=o+n),r.hashLinkCounts[n]?n=n+\"-\"+r.hashLinkCounts[n]++:r.hashLinkCounts[n]=1,n}return e=e.replace(i,(function(e,o,a){var i=a;t.customizedHeaderId&&(i=a.replace(/\\s?\\{([^{]+?)}\\s*$/,\"\"));var l=s.subParser(\"spanGamut\")(i,t,r),u=t.noHeaderId?\"\":' id=\"'+c(a)+'\"',d=n-1+o.length,f=\"\"+l+\"\";return s.subParser(\"hashBlock\")(f,t,r)})),e=r.converter._dispatch(\"headers.after\",e,t,r)})),s.subParser(\"horizontalRule\",(function(e,t,r){\"use strict\";e=r.converter._dispatch(\"horizontalRule.before\",e,t,r);var n=s.subParser(\"hashBlock\")(\"
\",t,r);return e=(e=(e=e.replace(/^ {0,2}( ?-){3,}[ \\t]*$/gm,n)).replace(/^ {0,2}( ?\\*){3,}[ \\t]*$/gm,n)).replace(/^ {0,2}( ?_){3,}[ \\t]*$/gm,n),e=r.converter._dispatch(\"horizontalRule.after\",e,t,r)})),s.subParser(\"images\",(function(e,t,r){\"use strict\";function n(e,t,n,o,a,i,c,l){var u=r.gUrls,d=r.gTitles,f=r.gDimensions;if(n=n.toLowerCase(),l||(l=\"\"),e.search(/\\(? ?(['\"].*['\"])?\\)$/m)>-1)o=\"\";else if(\"\"===o||null===o){if(\"\"!==n&&null!==n||(n=t.toLowerCase().replace(/ ?\\n/g,\" \")),o=\"#\"+n,s.helper.isUndefined(u[n]))return e;o=u[n],s.helper.isUndefined(d[n])||(l=d[n]),s.helper.isUndefined(f[n])||(a=f[n].width,i=f[n].height)}t=t.replace(/\"/g,\""\").replace(s.helper.regexes.asteriskDashAndColon,s.helper.escapeCharactersCallback);var h='\"'+t+'\"';return\"}return e=(e=(e=(e=(e=(e=r.converter._dispatch(\"images.before\",e,t,r)).replace(/!\\[([^\\]]*?)] ?(?:\\n *)?\\[([\\s\\S]*?)]()()()()()/g,n)).replace(/!\\[([^\\]]*?)][ \\t]*()\\([ \\t]??(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*(?:([\"'])([^\"]*?)\\6)?[ \\t]?\\)/g,(function(e,t,r,o,s,a,i,c){return n(e,t,r,o=o.replace(/\\s/g,\"\"),s,a,i,c)}))).replace(/!\\[([^\\]]*?)][ \\t]*()\\([ \\t]?<([^>]*)>(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*(?:(?:([\"'])([^\"]*?)\\6))?[ \\t]?\\)/g,n)).replace(/!\\[([^\\]]*?)][ \\t]*()\\([ \\t]??(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*(?:([\"'])([^\"]*?)\\6)?[ \\t]?\\)/g,n)).replace(/!\\[([^\\[\\]]+)]()()()()()/g,n),e=r.converter._dispatch(\"images.after\",e,t,r)})),s.subParser(\"italicsAndBold\",(function(e,t,r){\"use strict\";function n(e,t,r){return t+e+r}return e=r.converter._dispatch(\"italicsAndBold.before\",e,t,r),e=t.literalMidWordUnderscores?(e=(e=e.replace(/\\b___(\\S[\\s\\S]*?)___\\b/g,(function(e,t){return n(t,\"\",\"\")}))).replace(/\\b__(\\S[\\s\\S]*?)__\\b/g,(function(e,t){return n(t,\"\",\"\")}))).replace(/\\b_(\\S[\\s\\S]*?)_\\b/g,(function(e,t){return n(t,\"\",\"\")})):(e=(e=e.replace(/___(\\S[\\s\\S]*?)___/g,(function(e,t){return/\\S$/.test(t)?n(t,\"\",\"\"):e}))).replace(/__(\\S[\\s\\S]*?)__/g,(function(e,t){return/\\S$/.test(t)?n(t,\"\",\"\"):e}))).replace(/_([^\\s_][\\s\\S]*?)_/g,(function(e,t){return/\\S$/.test(t)?n(t,\"\",\"\"):e})),e=t.literalMidWordAsterisks?(e=(e=e.replace(/([^*]|^)\\B\\*\\*\\*(\\S[\\s\\S]*?)\\*\\*\\*\\B(?!\\*)/g,(function(e,t,r){return n(r,t+\"\",\"\")}))).replace(/([^*]|^)\\B\\*\\*(\\S[\\s\\S]*?)\\*\\*\\B(?!\\*)/g,(function(e,t,r){return n(r,t+\"\",\"\")}))).replace(/([^*]|^)\\B\\*(\\S[\\s\\S]*?)\\*\\B(?!\\*)/g,(function(e,t,r){return n(r,t+\"\",\"\")})):(e=(e=e.replace(/\\*\\*\\*(\\S[\\s\\S]*?)\\*\\*\\*/g,(function(e,t){return/\\S$/.test(t)?n(t,\"\",\"\"):e}))).replace(/\\*\\*(\\S[\\s\\S]*?)\\*\\*/g,(function(e,t){return/\\S$/.test(t)?n(t,\"\",\"\"):e}))).replace(/\\*([^\\s*][\\s\\S]*?)\\*/g,(function(e,t){return/\\S$/.test(t)?n(t,\"\",\"\"):e})),e=r.converter._dispatch(\"italicsAndBold.after\",e,t,r)})),s.subParser(\"lists\",(function(e,t,r){\"use strict\";function n(e,n){r.gListLevel++,e=e.replace(/\\n{2,}$/,\"\\n\");var o=/(\\n)?(^ {0,3})([*+-]|\\d+[.])[ \\t]+((\\[(x|X| )?])?[ \\t]*[^\\r]+?(\\n{1,2}))(?=\\n*(¨0| {0,3}([*+-]|\\d+[.])[ \\t]+))/gm,a=/\\n[ \\t]*\\n(?!¨0)/.test(e+=\"¨0\");return t.disableForced4SpacesIndentedSublists&&(o=/(\\n)?(^ {0,3})([*+-]|\\d+[.])[ \\t]+((\\[(x|X| )?])?[ \\t]*[^\\r]+?(\\n{1,2}))(?=\\n*(¨0|\\2([*+-]|\\d+[.])[ \\t]+))/gm),e=(e=e.replace(o,(function(e,n,o,i,c,l,u){u=u&&\"\"!==u.trim();var d=s.subParser(\"outdent\")(c,t,r),f=\"\";return l&&t.tasklists&&(f=' class=\"task-list-item\" style=\"list-style-type: none;\"',d=d.replace(/^[ \\t]*\\[(x|X| )?]/m,(function(){var e='\"}))),d=d.replace(/^([-*+]|\\d\\.)[ \\t]+[\\S\\n ]*/g,(function(e){return\"¨A\"+e})),n||d.search(/\\n{2,}/)>-1?(d=s.subParser(\"githubCodeBlocks\")(d,t,r),d=s.subParser(\"blockGamut\")(d,t,r)):(d=(d=s.subParser(\"lists\")(d,t,r)).replace(/\\n$/,\"\"),d=(d=s.subParser(\"hashHTMLBlocks\")(d,t,r)).replace(/\\n\\n+/g,\"\\n\\n\"),d=a?s.subParser(\"paragraphs\")(d,t,r):s.subParser(\"spanGamut\")(d,t,r)),d=\"\"+(d=d.replace(\"¨A\",\"\"))+\"\\n\"}))).replace(/¨0/g,\"\"),r.gListLevel--,n&&(e=e.replace(/\\s+$/,\"\")),e}function o(e,t){if(\"ol\"===t){var r=e.match(/^ *(\\d+)\\./);if(r&&\"1\"!==r[1])return' start=\"'+r[1]+'\"'}return\"\"}function a(e,r,s){var a=t.disableForced4SpacesIndentedSublists?/^ ?\\d+\\.[ \\t]/gm:/^ {0,3}\\d+\\.[ \\t]/gm,i=t.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \\t]/gm:/^ {0,3}[*+-][ \\t]/gm,c=\"ul\"===r?a:i,l=\"\";if(-1!==e.search(c))!function t(u){var d=u.search(c),f=o(e,r);-1!==d?(l+=\"\\n\\n<\"+r+f+\">\\n\"+n(u.slice(0,d),!!s)+\"\\n\",c=\"ul\"===(r=\"ul\"===r?\"ol\":\"ul\")?a:i,t(u.slice(d))):l+=\"\\n\\n<\"+r+f+\">\\n\"+n(u,!!s)+\"\\n\"}(e);else{var u=o(e,r);l=\"\\n\\n<\"+r+u+\">\\n\"+n(e,!!s)+\"\\n\"}return l}return e=r.converter._dispatch(\"lists.before\",e,t,r),e+=\"¨0\",e=(e=r.gListLevel?e.replace(/^(( {0,3}([*+-]|\\d+[.])[ \\t]+)[^\\r]+?(¨0|\\n{2,}(?=\\S)(?![ \\t]*(?:[*+-]|\\d+[.])[ \\t]+)))/gm,(function(e,t,r){return a(t,r.search(/[*+-]/g)>-1?\"ul\":\"ol\",!0)})):e.replace(/(\\n\\n|^\\n?)(( {0,3}([*+-]|\\d+[.])[ \\t]+)[^\\r]+?(¨0|\\n{2,}(?=\\S)(?![ \\t]*(?:[*+-]|\\d+[.])[ \\t]+)))/gm,(function(e,t,r,n){return a(r,n.search(/[*+-]/g)>-1?\"ul\":\"ol\",!1)}))).replace(/¨0/,\"\"),e=r.converter._dispatch(\"lists.after\",e,t,r)})),s.subParser(\"metadata\",(function(e,t,r){\"use strict\";if(!t.metadata)return e;function n(e){r.metadata.raw=e,(e=(e=e.replace(/&/g,\"&\").replace(/\"/g,\""\")).replace(/\\n {4}/g,\" \")).replace(/^([\\S ]+): +([\\s\\S]+?)$/gm,(function(e,t,n){return r.metadata.parsed[t]=n,\"\"}))}return e=(e=(e=(e=r.converter._dispatch(\"metadata.before\",e,t,r)).replace(/^\\s*«««+(\\S*?)\\n([\\s\\S]+?)\\n»»»+\\n/,(function(e,t,r){return n(r),\"¨M\"}))).replace(/^\\s*---+(\\S*?)\\n([\\s\\S]+?)\\n---+\\n/,(function(e,t,o){return t&&(r.metadata.format=t),n(o),\"¨M\"}))).replace(/¨M/g,\"\"),e=r.converter._dispatch(\"metadata.after\",e,t,r)})),s.subParser(\"outdent\",(function(e,t,r){\"use strict\";return e=(e=(e=r.converter._dispatch(\"outdent.before\",e,t,r)).replace(/^(\\t|[ ]{1,4})/gm,\"¨0\")).replace(/¨0/g,\"\"),e=r.converter._dispatch(\"outdent.after\",e,t,r)})),s.subParser(\"paragraphs\",(function(e,t,r){\"use strict\";for(var n=(e=(e=(e=r.converter._dispatch(\"paragraphs.before\",e,t,r)).replace(/^\\n+/g,\"\")).replace(/\\n+$/g,\"\")).split(/\\n{2,}/g),o=[],a=n.length,i=0;i=0?o.push(c):c.search(/\\S/)>=0&&(c=(c=s.subParser(\"spanGamut\")(c,t,r)).replace(/^([ \\t]*)/g,\"

\"),c+=\"

\",o.push(c))}for(a=o.length,i=0;i]*>\\s*]*>/.test(u)&&(d=!0)}o[i]=u}return e=(e=(e=o.join(\"\\n\")).replace(/^\\n+/g,\"\")).replace(/\\n+$/g,\"\"),r.converter._dispatch(\"paragraphs.after\",e,t,r)})),s.subParser(\"runExtension\",(function(e,t,r,n){\"use strict\";if(e.filter)t=e.filter(t,n.converter,r);else if(e.regex){var o=e.regex;o instanceof RegExp||(o=new RegExp(o,\"g\")),t=t.replace(o,e.replace)}return t})),s.subParser(\"spanGamut\",(function(e,t,r){\"use strict\";return e=r.converter._dispatch(\"spanGamut.before\",e,t,r),e=s.subParser(\"codeSpans\")(e,t,r),e=s.subParser(\"escapeSpecialCharsWithinTagAttributes\")(e,t,r),e=s.subParser(\"encodeBackslashEscapes\")(e,t,r),e=s.subParser(\"images\")(e,t,r),e=s.subParser(\"anchors\")(e,t,r),e=s.subParser(\"autoLinks\")(e,t,r),e=s.subParser(\"simplifiedAutoLinks\")(e,t,r),e=s.subParser(\"emoji\")(e,t,r),e=s.subParser(\"underline\")(e,t,r),e=s.subParser(\"italicsAndBold\")(e,t,r),e=s.subParser(\"strikethrough\")(e,t,r),e=s.subParser(\"ellipsis\")(e,t,r),e=s.subParser(\"hashHTMLSpans\")(e,t,r),e=s.subParser(\"encodeAmpsAndAngles\")(e,t,r),t.simpleLineBreaks?/\\n\\n¨K/.test(e)||(e=e.replace(/\\n+/g,\"
\\n\")):e=e.replace(/ +\\n/g,\"
\\n\"),e=r.converter._dispatch(\"spanGamut.after\",e,t,r)})),s.subParser(\"strikethrough\",(function(e,t,r){\"use strict\";return t.strikethrough&&(e=(e=r.converter._dispatch(\"strikethrough.before\",e,t,r)).replace(/(?:~){2}([\\s\\S]+?)(?:~){2}/g,(function(e,n){return function(e){return t.simplifiedAutoLink&&(e=s.subParser(\"simplifiedAutoLinks\")(e,t,r)),\"\"+e+\"\"}(n)})),e=r.converter._dispatch(\"strikethrough.after\",e,t,r)),e})),s.subParser(\"stripLinkDefinitions\",(function(e,t,r){\"use strict\";var n=function(e,n,o,a,i,c,l){return n=n.toLowerCase(),o.match(/^data:.+?\\/.+?;base64,/)?r.gUrls[n]=o.replace(/\\s/g,\"\"):r.gUrls[n]=s.subParser(\"encodeAmpsAndAngles\")(o,t,r),c?c+l:(l&&(r.gTitles[n]=l.replace(/\"|'/g,\""\")),t.parseImgDimensions&&a&&i&&(r.gDimensions[n]={width:a,height:i}),\"\")};return e=(e=(e=(e+=\"¨0\").replace(/^ {0,3}\\[(.+)]:[ \\t]*\\n?[ \\t]*?(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*\\n?[ \\t]*(?:(\\n*)[\"|'(](.+?)[\"|')][ \\t]*)?(?:\\n\\n|(?=¨0)|(?=\\n\\[))/gm,n)).replace(/^ {0,3}\\[(.+)]:[ \\t]*\\n?[ \\t]*\\s]+)>?(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*\\n?[ \\t]*(?:(\\n*)[\"|'(](.+?)[\"|')][ \\t]*)?(?:\\n+|(?=¨0))/gm,n)).replace(/¨0/,\"\")})),s.subParser(\"tables\",(function(e,t,r){\"use strict\";if(!t.tables)return e;function n(e,n){return\"\"+s.subParser(\"spanGamut\")(e,t,r)+\"\\n\"}function o(e){var o,a=e.split(\"\\n\");for(o=0;o\"+(c=s.subParser(\"spanGamut\")(c,t,r))+\"\\n\"));for(o=0;o\\n\\n\\n\",n=e.length,o=0;o\\n\\n\\n\",o=0;o\\n\";for(var s=0;s\\n\"}return r+=\"\\n\\n\"}(p,g)}return e=(e=(e=(e=r.converter._dispatch(\"tables.before\",e,t,r)).replace(/\\\\(\\|)/g,s.helper.escapeCharactersCallback)).replace(/^ {0,3}\\|?.+\\|.+\\n {0,3}\\|?[ \\t]*:?[ \\t]*(?:[-=]){2,}[ \\t]*:?[ \\t]*\\|[ \\t]*:?[ \\t]*(?:[-=]){2,}[\\s\\S]+?(?:\\n\\n|¨0)/gm,o)).replace(/^ {0,3}\\|.+\\|[ \\t]*\\n {0,3}\\|[ \\t]*:?[ \\t]*(?:[-=]){2,}[ \\t]*:?[ \\t]*\\|[ \\t]*\\n( {0,3}\\|.+\\|[ \\t]*\\n)*(?:\\n|¨0)/gm,o),e=r.converter._dispatch(\"tables.after\",e,t,r)})),s.subParser(\"underline\",(function(e,t,r){\"use strict\";return t.underline?(e=r.converter._dispatch(\"underline.before\",e,t,r),e=(e=t.literalMidWordUnderscores?(e=e.replace(/\\b___(\\S[\\s\\S]*?)___\\b/g,(function(e,t){return\"\"+t+\"\"}))).replace(/\\b__(\\S[\\s\\S]*?)__\\b/g,(function(e,t){return\"\"+t+\"\"})):(e=e.replace(/___(\\S[\\s\\S]*?)___/g,(function(e,t){return/\\S$/.test(t)?\"\"+t+\"\":e}))).replace(/__(\\S[\\s\\S]*?)__/g,(function(e,t){return/\\S$/.test(t)?\"\"+t+\"\":e}))).replace(/(_)/g,s.helper.escapeCharactersCallback),e=r.converter._dispatch(\"underline.after\",e,t,r)):e})),s.subParser(\"unescapeSpecialChars\",(function(e,t,r){\"use strict\";return e=(e=r.converter._dispatch(\"unescapeSpecialChars.before\",e,t,r)).replace(/¨E(\\d+)E/g,(function(e,t){var r=parseInt(t);return String.fromCharCode(r)})),e=r.converter._dispatch(\"unescapeSpecialChars.after\",e,t,r)})),s.subParser(\"makeMarkdown.blockquote\",(function(e,t){\"use strict\";var r=\"\";if(e.hasChildNodes())for(var n=e.childNodes,o=n.length,a=0;a \"+(r=r.trim()).split(\"\\n\").join(\"\\n> \")})),s.subParser(\"makeMarkdown.codeBlock\",(function(e,t){\"use strict\";var r=e.getAttribute(\"language\"),n=e.getAttribute(\"precodenum\");return\"```\"+r+\"\\n\"+t.preList[n]+\"\\n```\"})),s.subParser(\"makeMarkdown.codeSpan\",(function(e){\"use strict\";return\"`\"+e.innerHTML+\"`\"})),s.subParser(\"makeMarkdown.emphasis\",(function(e,t){\"use strict\";var r=\"\";if(e.hasChildNodes()){r+=\"*\";for(var n=e.childNodes,o=n.length,a=0;a\",e.hasAttribute(\"width\")&&e.hasAttribute(\"height\")&&(t+=\" =\"+e.getAttribute(\"width\")+\"x\"+e.getAttribute(\"height\")),e.hasAttribute(\"title\")&&(t+=' \"'+e.getAttribute(\"title\")+'\"'),t+=\")\"),t})),s.subParser(\"makeMarkdown.links\",(function(e,t){\"use strict\";var r=\"\";if(e.hasChildNodes()&&e.hasAttribute(\"href\")){var n=e.childNodes,o=n.length;r=\"[\";for(var a=0;a\",e.hasAttribute(\"title\")&&(r+=' \"'+e.getAttribute(\"title\")+'\"'),r+=\")\"}return r})),s.subParser(\"makeMarkdown.list\",(function(e,t,r){\"use strict\";var n=\"\";if(!e.hasChildNodes())return\"\";for(var o=e.childNodes,a=o.length,i=e.getAttribute(\"start\")||1,c=0;c\"+t.preList[r]+\"\"})),s.subParser(\"makeMarkdown.strikethrough\",(function(e,t){\"use strict\";var r=\"\";if(e.hasChildNodes()){r+=\"~~\";for(var n=e.childNodes,o=n.length,a=0;atr>th\"),c=e.querySelectorAll(\"tbody>tr\");for(r=0;rp&&(p=m)}for(r=0;r/g,\"\\\\$1>\")).replace(/^#/gm,\"\\\\#\")).replace(/^(\\s*)([-=]{3,})(\\s*)$/,\"$1\\\\$2$3\")).replace(/^( {0,3}\\d+)\\./gm,\"$1\\\\.\")).replace(/^( {0,3})([+-])/gm,\"$1\\\\$2\")).replace(/]([\\s]*)\\(/g,\"\\\\]$1\\\\(\")).replace(/^ {0,3}\\[([\\S \\t]*?)]:/gm,\"\\\\[$1]:\")}));void 0===(n=function(){\"use strict\";return s}.call(t,r,t,e))||(e.exports=n)}).call(this)},\"../../node_modules/stream-consume/index.js\":function(e,t){e.exports=function(e){if(e.readable&&\"function\"==typeof e.resume){var t=e._readableState;if(!t||0===t.pipesCount)try{e.resume()}catch(e){console.error(\"Got error: \"+e)}}}},\"../../node_modules/timers-browserify/main.js\":function(e,t,r){(function(e){var n=void 0!==e&&e||\"undefined\"!=typeof self&&self||window,o=Function.prototype.apply;function s(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new s(o.call(setTimeout,n,arguments),clearTimeout)},t.setInterval=function(){return new s(o.call(setInterval,n,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},s.prototype.unref=s.prototype.ref=function(){},s.prototype.close=function(){this._clearFn.call(n,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},r(\"../../node_modules/setimmediate/setImmediate.js\"),t.setImmediate=\"undefined\"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate=\"undefined\"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,r(\"../../node_modules/webpack/buildin/global.js\"))},\"../../node_modules/url/url.js\":function(e,t,r){\"use strict\";var n=r(\"../../node_modules/node-libs-browser/node_modules/punycode/punycode.js\"),o=r(\"../../node_modules/url/util.js\");function s(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=y,t.resolve=function(e,t){return y(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?y(e,!1,!0).resolveObject(t):t},t.format=function(e){o.isString(e)&&(e=y(e));return e instanceof s?e.format():s.prototype.format.call(e)},t.Url=s;var a=/^([a-z0-9.+-]+:)/i,i=/:[0-9]*$/,c=/^(\\/\\/?(?!\\/)[^\\?\\s]*)(\\?[^\\s]*)?$/,l=[\"{\",\"}\",\"|\",\"\\\\\",\"^\",\"`\"].concat([\"<\",\">\",'\"',\"`\",\" \",\"\\r\",\"\\n\",\"\\t\"]),u=[\"'\"].concat(l),d=[\"%\",\"/\",\"?\",\";\",\"#\"].concat(u),f=[\"/\",\"?\",\"#\"],h=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,\"javascript:\":!0},g={javascript:!0,\"javascript:\":!0},b={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,\"http:\":!0,\"https:\":!0,\"ftp:\":!0,\"gopher:\":!0,\"file:\":!0},v=r(\"../../node_modules/querystring-es3/index.js\");function y(e,t,r){if(e&&o.isObject(e)&&e instanceof s)return e;var n=new s;return n.parse(e,t,r),n}s.prototype.parse=function(e,t,r){if(!o.isString(e))throw new TypeError(\"Parameter 'url' must be a string, not \"+typeof e);var s=e.indexOf(\"?\"),i=-1!==s&&s127?R+=\"x\":R+=T[$];if(!R.match(h)){var L=A.slice(0,P),B=A.slice(P+1),N=T.match(p);N&&(L.push(N[1]),B.unshift(N[2])),B.length&&(y=\"/\"+B.join(\".\")+y),this.hostname=L.join(\".\");break}}}this.hostname.length>255?this.hostname=\"\":this.hostname=this.hostname.toLowerCase(),S||(this.hostname=n.toASCII(this.hostname));var I=this.port?\":\"+this.port:\"\",z=this.hostname||\"\";this.host=z+I,this.href+=this.host,S&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),\"/\"!==y[0]&&(y=\"/\"+y))}if(!m[j])for(P=0,M=u.length;P0)&&r.host.split(\"@\"))&&(r.auth=S.shift(),r.host=r.hostname=S.shift());return r.search=e.search,r.query=e.query,o.isNull(r.pathname)&&o.isNull(r.search)||(r.path=(r.pathname?r.pathname:\"\")+(r.search?r.search:\"\")),r.href=r.format(),r}if(!k.length)return r.pathname=null,r.search?r.path=\"/\"+r.search:r.path=null,r.href=r.format(),r;for(var C=k.slice(-1)[0],O=(r.host||e.host||k.length>1)&&(\".\"===C||\"..\"===C)||\"\"===C,P=0,E=k.length;E>=0;E--)\".\"===(C=k[E])?k.splice(E,1):\"..\"===C?(k.splice(E,1),P++):P&&(k.splice(E,1),P--);if(!w&&!j)for(;P--;P)k.unshift(\"..\");!w||\"\"===k[0]||k[0]&&\"/\"===k[0].charAt(0)||k.unshift(\"\"),O&&\"/\"!==k.join(\"/\").substr(-1)&&k.push(\"\");var S,A=\"\"===k[0]||k[0]&&\"/\"===k[0].charAt(0);x&&(r.hostname=r.host=A?\"\":k.length?k.shift():\"\",(S=!!(r.host&&r.host.indexOf(\"@\")>0)&&r.host.split(\"@\"))&&(r.auth=S.shift(),r.host=r.hostname=S.shift()));return(w=w||r.host&&k.length)&&!A&&k.unshift(\"\"),k.length?r.pathname=k.join(\"/\"):(r.pathname=null,r.path=null),o.isNull(r.pathname)&&o.isNull(r.search)||(r.path=(r.pathname?r.pathname:\"\")+(r.search?r.search:\"\")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},s.prototype.parseHost=function(){var e=this.host,t=i.exec(e);t&&(\":\"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},\"../../node_modules/url/util.js\":function(e,t,r){\"use strict\";e.exports={isString:function(e){return\"string\"==typeof e},isObject:function(e){return\"object\"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},\"../../node_modules/util/node_modules/inherits/inherits_browser.js\":function(e,t){\"function\"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}},\"../../node_modules/util/support/isBufferBrowser.js\":function(e,t){e.exports=function(e){return e&&\"object\"==typeof e&&\"function\"==typeof e.copy&&\"function\"==typeof e.fill&&\"function\"==typeof e.readUInt8}},\"../../node_modules/util/util.js\":function(e,t,r){(function(e){var n=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n=s)return e;switch(e){case\"%s\":return String(n[r++]);case\"%d\":return Number(n[r++]);case\"%j\":try{return JSON.stringify(n[r++])}catch(e){return\"[Circular]\"}default:return e}})),c=n[r];r=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),p(r)?n.showHidden=r:r&&t._extend(n,r),v(n.showHidden)&&(n.showHidden=!1),v(n.depth)&&(n.depth=2),v(n.colors)&&(n.colors=!1),v(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=c),u(n,e,n.depth)}function c(e,t){var r=i.styles[t];return r?\"\u001b[\"+i.colors[r][0]+\"m\"+e+\"\u001b[\"+i.colors[r][1]+\"m\":e}function l(e,t){return e}function u(e,r,n){if(e.customInspect&&r&&k(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var o=r.inspect(n,e);return b(o)||(o=u(e,o,n)),o}var s=function(e,t){if(v(t))return e.stylize(\"undefined\",\"undefined\");if(b(t)){var r=\"'\"+JSON.stringify(t).replace(/^\"|\"$/g,\"\").replace(/'/g,\"\\\\'\").replace(/\\\\\"/g,'\"')+\"'\";return e.stylize(r,\"string\")}if(g(t))return e.stylize(\"\"+t,\"number\");if(p(t))return e.stylize(\"\"+t,\"boolean\");if(m(t))return e.stylize(\"null\",\"null\")}(e,r);if(s)return s;var a=Object.keys(r),i=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(r)),j(r)&&(a.indexOf(\"message\")>=0||a.indexOf(\"description\")>=0))return d(r);if(0===a.length){if(k(r)){var c=r.name?\": \"+r.name:\"\";return e.stylize(\"[Function\"+c+\"]\",\"special\")}if(y(r))return e.stylize(RegExp.prototype.toString.call(r),\"regexp\");if(w(r))return e.stylize(Date.prototype.toString.call(r),\"date\");if(j(r))return d(r)}var l,_=\"\",x=!1,C=[\"{\",\"}\"];(h(r)&&(x=!0,C=[\"[\",\"]\"]),k(r))&&(_=\" [Function\"+(r.name?\": \"+r.name:\"\")+\"]\");return y(r)&&(_=\" \"+RegExp.prototype.toString.call(r)),w(r)&&(_=\" \"+Date.prototype.toUTCString.call(r)),j(r)&&(_=\" \"+d(r)),0!==a.length||x&&0!=r.length?n<0?y(r)?e.stylize(RegExp.prototype.toString.call(r),\"regexp\"):e.stylize(\"[Object]\",\"special\"):(e.seen.push(r),l=x?function(e,t,r,n,o){for(var s=[],a=0,i=t.length;a=0&&0,e+t.replace(/\\u001b\\[\\d\\d?m/g,\"\").length+1}),0)>60)return r[0]+(\"\"===t?\"\":t+\"\\n \")+\" \"+e.join(\",\\n \")+\" \"+r[1];return r[0]+t+\" \"+e.join(\", \")+\" \"+r[1]}(l,_,C)):C[0]+_+C[1]}function d(e){return\"[\"+Error.prototype.toString.call(e)+\"]\"}function f(e,t,r,n,o,s){var a,i,c;if((c=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?i=c.set?e.stylize(\"[Getter/Setter]\",\"special\"):e.stylize(\"[Getter]\",\"special\"):c.set&&(i=e.stylize(\"[Setter]\",\"special\")),E(n,o)||(a=\"[\"+o+\"]\"),i||(e.seen.indexOf(c.value)<0?(i=m(r)?u(e,c.value,null):u(e,c.value,r-1)).indexOf(\"\\n\")>-1&&(i=s?i.split(\"\\n\").map((function(e){return\" \"+e})).join(\"\\n\").substr(2):\"\\n\"+i.split(\"\\n\").map((function(e){return\" \"+e})).join(\"\\n\")):i=e.stylize(\"[Circular]\",\"special\")),v(a)){if(s&&o.match(/^\\d+$/))return i;(a=JSON.stringify(\"\"+o)).match(/^\"([a-zA-Z_][a-zA-Z_0-9]*)\"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,\"name\")):(a=a.replace(/'/g,\"\\\\'\").replace(/\\\\\"/g,'\"').replace(/(^\"|\"$)/g,\"'\"),a=e.stylize(a,\"string\"))}return a+\": \"+i}function h(e){return Array.isArray(e)}function p(e){return\"boolean\"==typeof e}function m(e){return null===e}function g(e){return\"number\"==typeof e}function b(e){return\"string\"==typeof e}function v(e){return void 0===e}function y(e){return _(e)&&\"[object RegExp]\"===x(e)}function _(e){return\"object\"==typeof e&&null!==e}function w(e){return _(e)&&\"[object Date]\"===x(e)}function j(e){return _(e)&&(\"[object Error]\"===x(e)||e instanceof Error)}function k(e){return\"function\"==typeof e}function x(e){return Object.prototype.toString.call(e)}function C(e){return e<10?\"0\"+e.toString(10):e.toString(10)}t.debuglog=function(r){if(v(s)&&(s=e.env.NODE_DEBUG||\"\"),r=r.toUpperCase(),!a[r])if(new RegExp(\"\\\\b\"+r+\"\\\\b\",\"i\").test(s)){var n=e.pid;a[r]=function(){var e=t.format.apply(t,arguments);console.error(\"%s %d: %s\",r,n,e)}}else a[r]=function(){};return a[r]},t.inspect=i,i.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},i.styles={special:\"cyan\",number:\"yellow\",boolean:\"yellow\",undefined:\"grey\",null:\"bold\",string:\"green\",date:\"magenta\",regexp:\"red\"},t.isArray=h,t.isBoolean=p,t.isNull=m,t.isNullOrUndefined=function(e){return null==e},t.isNumber=g,t.isString=b,t.isSymbol=function(e){return\"symbol\"==typeof e},t.isUndefined=v,t.isRegExp=y,t.isObject=_,t.isDate=w,t.isError=j,t.isFunction=k,t.isPrimitive=function(e){return null===e||\"boolean\"==typeof e||\"number\"==typeof e||\"string\"==typeof e||\"symbol\"==typeof e||void 0===e},t.isBuffer=r(\"../../node_modules/util/support/isBufferBrowser.js\");var O=[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"];function P(){var e=new Date,t=[C(e.getHours()),C(e.getMinutes()),C(e.getSeconds())].join(\":\");return[e.getDate(),O[e.getMonth()],t].join(\" \")}function E(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log(\"%s - %s\",P(),t.format.apply(t,arguments))},t.inherits=r(\"../../node_modules/util/node_modules/inherits/inherits_browser.js\"),t._extend=function(e,t){if(!t||!_(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var S=\"undefined\"!=typeof Symbol?Symbol(\"util.promisify.custom\"):void 0;function A(e,t){if(!e){var r=new Error(\"Promise was rejected with a falsy value\");r.reason=e,e=r}return t(e)}t.promisify=function(e){if(\"function\"!=typeof e)throw new TypeError('The \"original\" argument must be of type Function');if(S&&e[S]){var t;if(\"function\"!=typeof(t=e[S]))throw new TypeError('The \"util.promisify.custom\" argument must be of type Function');return Object.defineProperty(t,S,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise((function(e,n){t=e,r=n})),o=[],s=0;s-1};function u(e){if(\"string\"!=typeof e&&(e=String(e)),/[^a-z0-9\\-#$%&'*+.^_`|~]/i.test(e))throw new TypeError(\"Invalid character in header field name\");return e.toLowerCase()}function d(e){return\"string\"!=typeof e&&(e=String(e)),e}function f(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return o&&(t[Symbol.iterator]=function(){return t}),t}function h(e){this.map={},e instanceof h?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function p(e){if(e.bodyUsed)return Promise.reject(new TypeError(\"Already read\"));e.bodyUsed=!0}function m(e){return new Promise((function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}}))}function g(e){var t=new FileReader,r=m(t);return t.readAsArrayBuffer(e),r}function b(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function v(){return this.bodyUsed=!1,this._initBody=function(e){var t;this._bodyInit=e,e?\"string\"==typeof e?this._bodyText=e:s&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:a&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:n&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():i&&s&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=b(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i&&(ArrayBuffer.prototype.isPrototypeOf(e)||l(e))?this._bodyArrayBuffer=b(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText=\"\",this.headers.get(\"content-type\")||(\"string\"==typeof e?this.headers.set(\"content-type\",\"text/plain;charset=UTF-8\"):this._bodyBlob&&this._bodyBlob.type?this.headers.set(\"content-type\",this._bodyBlob.type):n&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set(\"content-type\",\"application/x-www-form-urlencoded;charset=UTF-8\"))},s&&(this.blob=function(){var e=p(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error(\"could not read FormData body as blob\");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?p(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(g)}),this.text=function(){var e,t,r,n=p(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,r=m(t),t.readAsText(e),r;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n-1?n:r),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,(\"GET\"===this.method||\"HEAD\"===this.method)&&o)throw new TypeError(\"Body not allowed for GET or HEAD requests\");this._initBody(o)}function w(e){var t=new FormData;return e.trim().split(\"&\").forEach((function(e){if(e){var r=e.split(\"=\"),n=r.shift().replace(/\\+/g,\" \"),o=r.join(\"=\").replace(/\\+/g,\" \");t.append(decodeURIComponent(n),decodeURIComponent(o))}})),t}function j(e,t){t||(t={}),this.type=\"default\",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=\"statusText\"in t?t.statusText:\"OK\",this.headers=new h(t.headers),this.url=t.url||\"\",this._initBody(e)}_.prototype.clone=function(){return new _(this,{body:this._bodyInit})},v.call(_.prototype),v.call(j.prototype),j.prototype.clone=function(){return new j(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},j.error=function(){var e=new j(null,{status:0,statusText:\"\"});return e.type=\"error\",e};var k=[301,302,303,307,308];j.redirect=function(e,t){if(-1===k.indexOf(t))throw new RangeError(\"Invalid status code\");return new j(null,{status:t,headers:{location:e}})};var x=self.DOMException;try{new x}catch(e){(x=function(e,t){this.message=e,this.name=t;var r=Error(e);this.stack=r.stack}).prototype=Object.create(Error.prototype),x.prototype.constructor=x}function C(e,t){return new Promise((function(r,n){var o=new _(e,t);if(o.signal&&o.signal.aborted)return n(new x(\"Aborted\",\"AbortError\"));var a=new XMLHttpRequest;function i(){a.abort()}a.onload=function(){var e,t,n={status:a.status,statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||\"\",t=new h,e.replace(/\\r?\\n[\\t ]+/g,\" \").split(/\\r?\\n/).forEach((function(e){var r=e.split(\":\"),n=r.shift().trim();if(n){var o=r.join(\":\").trim();t.append(n,o)}})),t)};n.url=\"responseURL\"in a?a.responseURL:n.headers.get(\"X-Request-URL\");var o=\"response\"in a?a.response:a.responseText;r(new j(o,n))},a.onerror=function(){n(new TypeError(\"Network request failed\"))},a.ontimeout=function(){n(new TypeError(\"Network request failed\"))},a.onabort=function(){n(new x(\"Aborted\",\"AbortError\"))},a.open(o.method,o.url,!0),\"include\"===o.credentials?a.withCredentials=!0:\"omit\"===o.credentials&&(a.withCredentials=!1),\"responseType\"in a&&s&&(a.responseType=\"blob\"),o.headers.forEach((function(e,t){a.setRequestHeader(t,e)})),o.signal&&(o.signal.addEventListener(\"abort\",i),a.onreadystatechange=function(){4===a.readyState&&o.signal.removeEventListener(\"abort\",i)}),a.send(void 0===o._bodyInit?null:o._bodyInit)}))}C.polyfill=!0,self.fetch||(self.fetch=C,self.Headers=h,self.Request=_,self.Response=j)},\"../../node_modules/wrappy/wrappy.js\":function(e,t){e.exports=function e(t,r){if(t&&r)return e(t)(r);if(\"function\"!=typeof t)throw new TypeError(\"need wrapper function\");return Object.keys(t).forEach((function(e){n[e]=t[e]})),n;function n(){for(var e=new Array(arguments.length),r=0;r{var n=document.getElementsByTagName(\"script\")[0];i.eachAsync(e,(function(e,t,r){var o=document.createElement(\"script\");n.parentNode.insertBefore(o,n),o.addEventListener(\"load\",(function(e){r()})),o.src=e}),(function(){t(null)}))})}f.use(o.serviceModule.register(\"$preRouter\",s.router()).router),f.use(o.serviceModule.register(\"$router\",s.router()).router),f.use((function(e){console.error(e)})),o.serviceModule.register(\"$location\",new a.LocationService),o.serviceModule.register(\"promisify\",i.Promisify),t.run=o.$$injector.ready.bind(o.$$injector),o.$$injector.activate([],(function(){var e=o.$$injector.register(\"$rootScope\",new c.Scope);u.applyTemplate([document.body],e)})),t.load=h,o.serviceModule.activate([\"$location\"],(function(e){e.on(\"change\",(function(e){f.handle(new Request(e),(function(e){e?console.error(e):console.warn(\"deadend\")}))})),e.start({hashbang:!1})}))},\"./src/common.ts\":function(e,t,r){\"use strict\";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(t,\"__esModule\",{value:!0});const o=n(r(\"../../node_modules/@akala/core/dist/index.js\"));t.$$injector=window.akala=o.extend(o.module(\"akala\",\"akala-services\",\"controls\"),{promisify:o.Promisify,isPromiseLike:o.isPromiseLike,Binding:o.Binding,ObservableArray:o.ObservableArray,map:o.map,each:o.each,eachAsync:o.eachAsync,extend:o.extend,api:o.api,Api:o.Api,DualApi:o.DualApi,module:o.module,Module:o.Module,service:o.service});var s=r(\"../../node_modules/@akala/core/dist/index.js\");function a(e){var t=document.head.querySelector(\"base\").href;return new URL(e,t).toString()}t.promisify=s.Promisify,t.isPromiseLike=s.isPromiseLike,t.map=s.map,t.each=s.each,t.eachAsync=s.eachAsync,t.extend=s.extend,t.Binding=s.Binding,t.ObservableArray=s.ObservableArray,t.inject=s.inject,t.injectNew=s.injectNew,t.injectNewWithName=s.injectNewWithName,t.injectWithName=s.injectWithName,t.injectWithNameAsync=s.injectWithNameAsync,t.Api=s.Api,t.DualApi=s.DualApi,t.api=s.api,t.module=s.module,t.Module=s.Module,t.serviceModule=o.module(\"akala-services\"),t.resolveUrl=a,o.register(\"$resolveUrl\",a),t.service=function(e,...r){return function(n){var o=null;if(null==r||0==r.length&&n.length>0)throw new Error(\"missing inject names\");t.serviceModule.registerFactory(e,(function(){return o||t.serviceModule.injectWithName(r,(function(){for(var e=[null],t=0;t=0;i--)(o=e[i])&&(a=(s<3?o(a):s>3?o(t,r,a):o(t,r))||a);return s>3&&a&&Object.defineProperty(t,r,a),a},o=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});const s=r(\"./src/controls/control.ts\"),a=r(\"./src/controls/event.ts\");let i=class extends a.Event{constructor(){super(\"click\")}};i=n([s.control(),o(\"design:paramtypes\",[])],i),t.Click=i},\"./src/controls/control.ts\":function(e,t,r){\"use strict\";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(t,\"__esModule\",{value:!0});const o=n(r(\"../../node_modules/@akala/core/dist/index.js\")),s=r(\"./src/template.ts\");t.control=function(...e){return function(t){a.injector.activate([],(function(){a.injector.injectNewWithName(e,t)()}))}};class a{constructor(e,t=500){this.$$name=e,this.priority=t,a.injector.register(e,this)}static apply(e,t,r){var n=[],i=!1;for(var c of(Object.keys(e).forEach((function(e){var t=a.injector.resolve(e);t?(n.push(t),t.scope&&(i=!0)):console.error(\"missing control \"+e)})),n.sort((function(e,t){return e.priority-t.priority})),r||(r=t.$scope),i&&(r=r.$new(),t.$scope=r),n)){var l=e[c.$$name];l instanceof Function&&(l=l(r,!0));var u=c.instanciate(r,t,l,e);if(u)return u}return o.each(t.querySelectorAll(\"[data-bind]\"),(function(e){e.parentElement.closest(\"[data-bind]\")==t&&s.applyTemplate([e],r,t)})),t}wrap(e,t,r){if(r){var n=o.Parser.parse(e.dataset.bind,!0),s=[];Object.keys(n).forEach((function(e){var t=a.injector.resolve(e);t?s.push(t):console.error(\"missing control \"+e)})),s.sort((function(e,t){return e.priority-t.priority})),s=s.slice(s.indexOf(this)+1),r={},s.forEach((function(e){r[e.$$name]=n[e.$$name]}))}return a.apply(r,e,t)}clone(e,t,r){var n=e.cloneNode(!0);return n.$scope=t,this.wrap(n,t,r),n}}t.Control=a,a.injector=o.module(\"controls\",\"akala-services\");t.BaseControl=class extends a{constructor(e,t){super(e,t)}link(e,t,r){r instanceof o.Binding?r.onChanged(r=>{o.isPromiseLike(r.eventArgs.value)?r.eventArgs.value.then(r=>this.apply(e,t,r)):this.apply(e,t,r.eventArgs.value)}):this.apply(e,t,r)}instanciate(e,t,r){var n=this;o.Promisify(e).then((function(e){o.Promisify(r).then((function(r){n.link(e,t,r)}))}))}}},\"./src/controls/controls.ts\":function(e,t,r){\"use strict\";function n(e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}Object.defineProperty(t,\"__esModule\",{value:!0}),n(r(\"./src/controls/click.ts\")),n(r(\"./src/controls/control.ts\")),n(r(\"./src/controls/cssClass.ts\")),n(r(\"./src/controls/foreach.ts\")),n(r(\"./src/controls/href.ts\")),n(r(\"./src/controls/json.ts\")),n(r(\"./src/controls/markdown.ts\")),n(r(\"./src/controls/options.ts\")),n(r(\"./src/controls/part.ts\")),n(r(\"./src/controls/popper.ts\")),n(r(\"./src/controls/spinner.ts\")),n(r(\"./src/controls/style.ts\")),n(r(\"./src/controls/text.ts\")),n(r(\"./src/controls/title.ts\")),n(r(\"./src/controls/translate.ts\")),n(r(\"./src/controls/value.ts\")),n(r(\"./src/controls/visibility.ts\"))},\"./src/controls/cssClass.ts\":function(e,t,r){\"use strict\";var n=this&&this.__decorate||function(e,t,r,n){var o,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var i=e.length-1;i>=0;i--)(o=e[i])&&(a=(s<3?o(a):s>3?o(t,r,a):o(t,r))||a);return s>3&&a&&Object.defineProperty(t,r,a),a},o=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(t,\"__esModule\",{value:!0});const a=s(r(\"../../node_modules/@akala/core/dist/index.js\")),i=r(\"./src/controls/control.ts\"),c=r(\"../../node_modules/@akala/core/dist/index.js\");function l(e,t){if(void 0!==t)if(\"string\"==typeof t)~t.indexOf(\" \")?l(e,t.split(\" \")):e.classList.remove(t);else{if(t instanceof c.ParsedString)return l(e,t.value);c.Binding}}function u(e,t){if(void 0!==t)if(\"string\"==typeof t){if(~t.indexOf(\" \"))return u(e,t.split(\" \"));e.classList.add(t)}else{if(t instanceof c.ParsedString)return u(e,t.value);if(t instanceof c.Binding){var r=null;t.onChanged((function(t){r&&l(e,r),c.isPromiseLike(t.eventArgs.value)?t.eventArgs.value.then((function(t){r=t,u(e,t)})):(u(e,t.eventArgs.value),r=t.eventArgs.value)}))}else a.each(t,(function(t,r){\"string\"!=typeof t||isNaN(Number(r))?t instanceof c.Binding?t.onChanged((function(t){t.eventArgs.value?u(e,r):l(e,r)})):t?u(e,r):l(e,r):u(e,t)}))}}let d=class extends i.BaseControl{constructor(){super(\"class\",400)}link(e,t,r){r instanceof Array&&(r=new c.ObservableArray(r)),r instanceof c.ObservableArray?r.on(\"collectionChanged\",(function(e){e.newItems&&e.newItems.forEach((function(e){u(t,e)})),e.oldItems&&e.oldItems.forEach((function(e){l(t,e)}))})).init():u(t,r)}apply(){}};d=n([i.control(),o(\"design:paramtypes\",[])],d),t.CssClass=d},\"./src/controls/event.ts\":function(e,t,r){\"use strict\";var n=this&&this.__decorate||function(e,t,r,n){var o,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var i=e.length-1;i>=0;i--)(o=e[i])&&(a=(s<3?o(a):s>3?o(t,r,a):o(t,r))||a);return s>3&&a&&Object.defineProperty(t,r,a),a},o=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(t,\"__esModule\",{value:!0});const a=s(r(\"../../node_modules/@akala/core/dist/index.js\")),i=r(\"./src/controls/control.ts\"),c=r(\"../../node_modules/@akala/core/dist/index.js\");let l=class extends i.BaseControl{constructor(){super(\"event\",400)}link(e,t,r){var n;n=r instanceof c.Binding?r.getValue():r,a.Promisify(n).then((function(r){a.each(r,(function(r,n){t.addEventListener(n,()=>{if(!(r instanceof c.Binding))return e.$inject(r);var t=r.getValue();return c.isPromiseLike(t)&&t.then((function(t){if(t instanceof Function)return e.$inject(t)})),t instanceof Function?e.$inject(t):void 0})}))}))}apply(e,t,r){if(r instanceof Function)return e.$inject(r);console.error(r+\" is not a function\")}};l=n([i.control(),o(\"design:paramtypes\",[])],l),t.Events=l;let u=class extends i.BaseControl{constructor(e){super(e,400),this.eventName=e}link(e,t,r){t.addEventListener(this.eventName,()=>{if(r instanceof c.Binding){var n=r.getValue();c.isPromiseLike(n)&&n.then(r=>this.apply(e,t,r)),this.apply(e,t,n)}else this.apply(e,t,r)})}apply(e,t,r){if(r instanceof Function)return e.$inject(r);console.error(r+\" is not a function\")}};u=n([i.control(),o(\"design:paramtypes\",[String])],u),t.Event=u},\"./src/controls/foreach.ts\":function(e,t,r){\"use strict\";var n,o=this&&this.__decorate||function(e,t,r,n){var o,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var i=e.length-1;i>=0;i--)(o=e[i])&&(a=(s<3?o(a):s>3?o(t,r,a):o(t,r))||a);return s>3&&a&&Object.defineProperty(t,r,a),a},s=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(t,\"__esModule\",{value:!0});const i=a(r(\"../../node_modules/@akala/core/dist/index.js\")),c=r(\"./src/controls/control.ts\");let l=n=class extends c.Control{constructor(e){super(e||\"each\",100)}instanciate(e,t,r){\"string\"==typeof r&&(r=this.parse(r));var n,o=r;n=r.in instanceof Function?r.in(e,!0):r.in;var s=this,a=t.parentElement;function c(r){return r instanceof i.ObservableArray&&(r.on(\"collectionChanged\",(function(n){switch(n.action){case\"init\":break;case\"shift\":a.removeChild(a.firstElementChild);break;case\"pop\":a.removeChild(a.lastElementChild);break;case\"push\":var i=e.$new();o.key&&(i[o.key]=r.length-1),o.value&&(i[o.value]=n.newItems[0]),a.appendChild(s.clone(t,i,!0));break;case\"unshift\":i=e.$new();o.key&&(i[o.key]=0),o.value&&(i[o.value]=n.newItems[0]),a.insertBefore(s.clone(t,i,!0),a.firstElementChild);break;case\"replace\":i=e.$new();o.key&&(i[o.key]=r.indexOf(n.newItems[0])),o.value&&(i[o.value]=n.newItems[0]),a.replaceChild(s.clone(t,i,!0),a.children[r.indexOf(n.newItems[0])])}})),r=r.array),r&&i.each(r,(function(r,n){var i=e.$new();o.key&&(i[o.key]=n),o.value&&(i[o.value]=r),a.appendChild(s.clone(t,i,!0))})),[]}return t.parentNode.removeChild(t),n.onChanged((function(e){Promise.resolve(e.eventArgs.value).then(c)}),!0),Promise.resolve(n.getValue()).then(c)}parse(e){var t=n.expRegex.exec(e);return{in:i.Parser.evalAsFunction(e.substring(t[0].length)),key:t[2]&&t[1],value:t[2]||t[1]}}};l.expRegex=/^\\s*\\(?(\\w+)(?:,\\s*(\\w+))?\\)?\\s+in\\s+/,l=n=o([c.control(),s(\"design:paramtypes\",[String])],l),t.ForEach=l},\"./src/controls/href.ts\":function(e,t,r){\"use strict\";var n=this&&this.__decorate||function(e,t,r,n){var o,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var i=e.length-1;i>=0;i--)(o=e[i])&&(a=(s<3?o(a):s>3?o(t,r,a):o(t,r))||a);return s>3&&a&&Object.defineProperty(t,r,a),a},o=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});const s=r(\"./src/controls/control.ts\"),a=r(\"./src/controls/text.ts\");let i=class extends a.Text{constructor(){super(\"href\")}setValue(e,t){e.attributes.href=t}};i=n([s.control(),o(\"design:paramtypes\",[])],i),t.Href=i},\"./src/controls/json.ts\":function(e,t,r){\"use strict\";var n=this&&this.__decorate||function(e,t,r,n){var o,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var i=e.length-1;i>=0;i--)(o=e[i])&&(a=(s<3?o(a):s>3?o(t,r,a):o(t,r))||a);return s>3&&a&&Object.defineProperty(t,r,a),a},o=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,\"__esModule\",{value:!0});const s=r(\"./src/controls/control.ts\"),a=r(\"./src/controls/text.ts\");let i=class extends a.Text{constructor(){super(\"json\")}setValue(e,t){e.textContent=JSON.stringify(t)}};i=n([s.control(),o(\"design:paramtypes\",[])],i),t.Json=i},\"./src/controls/markdown.ts\":function(e,t,r){\"use strict\";var n=this&&this.__decorate||function(e,t,r,n){var o,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var i=e.length-1;i>=0;i--)(o=e[i])&&(a=(s<3?o(a):s>3?o(t,r,a):o(t,r))||a);return s>3&&a&&Object.defineProperty(t,r,a),a},o=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(t,\"__esModule\",{value:!0});const a=r(\"./src/controls/control.ts\"),i=r(\"../../node_modules/@akala/core/dist/index.js\"),c=s(r(\"../../node_modules/showdown/dist/showdown.js\")),l=r(\"./src/controls/text.ts\");let u=class extends l.Text{constructor(){super(\"markdown\"),this.markdown=new c.Converter}link(e,t,r){r instanceof i.Binding&&(r.formatter=this.markdown.makeHtml.bind(this.markdown)),super.link(e,t,r)}setValue(e,t){e.innerHTML=this.markdown.makeHtml(t)}};u=n([a.control(),o(\"design:paramtypes\",[])],u),t.Markdown=u},\"./src/controls/options.ts\":function(e,t,r){\"use strict\";var n=this&&this.__decorate||function(e,t,r,n){var o,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var i=e.length-1;i>=0;i--)(o=e[i])&&(a=(s<3?o(a):s>3?o(t,r,a):o(t,r))||a);return s>3&&a&&Object.defineProperty(t,r,a),a},o=this&&this.__metadata||function(e,t){if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(t,\"__esModule\",{value:!0});const a=s(r(\"../../node_modules/@akala/core/dist/index.js\")),i=r(\"./src/controls/control.ts\"),c=r(\"./src/template.ts\");let l=class extends i.Control{constructor(){super(\"options\",350)}instanciate(e,t,r,n){var o,s=this,i=n.value;n.value instanceof Function&&(i=n.value(e,!0)),delete n.value,o=r.in instanceof a.Binding?r.in.getValue():r.in,a.Promisify(o).then((function(n){var o;if(r.text instanceof a.Binding&&(r.text=r.text.expression),r.textvalue instanceof a.Binding&&(r.textvalue=r.textvalue.expression),r.value instanceof a.Binding&&(r.value=r.value.expression),\"$\"!=r.text[0]&&(r.text=\"$item.\"+r.text),\"$\"!=r.value[0]&&(r.value=\"$item.\"+r.value),n instanceof a.ObservableArray){var l=t.childElementCount;n.on(\"collectionChanged\",(function(n){switch(n.action){case\"init\":break;case\"shift\":l?t.removeChild(t.children[0]):t.removeChild(t.firstElementChild);break;case\"pop\":t.removeChild(t.lastElementChild);break;case\"push\":(o=e.$new()).$key=this.length-1,o.$value=n.newItems[0],t.appendChild(s.clone(c.Template.buildElements('